// The Two Items Below Are For Back Compat Only
/*!
 * jQuery Cookie Plugin v1.4.1
 * https://github.com/carhartl/jquery-cookie
 *
 * Copyright 2006, 2014 Klaus Hartl
 * Released under the MIT license
 */
// Included for compatibility only
// Refactoring involves a lot of "old" Martini advertising
(function (factory) {
    factory(window.jQuery);
}(function ($) {

    var pluses = /\+/g;

    function encode(s) {
        return config.raw ? s : encodeURIComponent(s);
    }

    function decode(s) {
        return config.raw ? s : decodeURIComponent(s);
    }

    function stringifyCookieValue(value) {
        return encode(config.json ? JSON.stringify(value) : String(value));
    }

    function parseCookieValue(s) {
        if (s.indexOf('"') === 0) {
            // This is a quoted cookie as according to RFC2068, unescape...
            s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
        }

        try {
            // Replace server-side written pluses with spaces.
            // If we can't decode the cookie, ignore it, it's unusable.
            // If we can't parse the cookie, ignore it, it's unusable.
            s = decodeURIComponent(s.replace(pluses, ' '));
            return config.json ? JSON.parse(s) : s;
        } catch(e) {}
    }

    function read(s, converter) {
        var value = config.raw ? s : parseCookieValue(s);
        return $.isFunction(converter) ? converter(value) : value;
    }

    var config = $.cookie = function (key, value, options) {

        // Write

        if (arguments.length > 1 && !$.isFunction(value)) {
            options = $.extend({}, config.defaults, options);

            if (typeof options.expires === 'number') {
                var days = options.expires, t = options.expires = new Date();
                t.setMilliseconds(t.getMilliseconds() + days * 864e+5);
            }

            return (document.cookie = [
                encode(key), '=', stringifyCookieValue(value),
                options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
                options.path    ? '; path=' + options.path : '',
                options.domain  ? '; domain=' + options.domain : '',
                options.secure  ? '; secure' : ''
            ].join(''));
        }

        // Read

        var result = key ? undefined : {},
            // To prevent the for loop in the first place assign an empty array
            // in case there are no cookies at all. Also prevents odd result when
            // calling $.cookie().
            cookies = document.cookie ? document.cookie.split('; ') : [],
            i = 0,
            l = cookies.length;

        for (; i < l; i++) {
            var parts = cookies[i].split('='),
                name = decode(parts.shift()),
                cookie = parts.join('=');

            if (key === name) {
                // If second argument (value) is a function it's a converter...
                result = read(cookie, value);
                break;
            }

            // Prevent storing a cookie that we couldn't decode.
            if (!key && (cookie = read(cookie)) !== undefined) {
                result[name] = cookie;
            }
        }

        return result;
    };

    config.defaults = {};

    $.removeCookie = function (key, options) {
        // Must not alter options, thus extending a fresh object...
        $.cookie(key, '', $.extend({}, options, { expires: -1 }));
        return !$.cookie(key);
    };

}));


/*!mobile-detect v1.3.5 2016-11-14*/
/*global module:false, define:false*/
/*jshint latedef:false*/
/*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/
(function () {
    'use strict';

    var impl = {};

    impl.mobileDetectRules = {
    "phones": {
        "iPhone": "\\biPhone\\b|\\biPod\\b",
        "BlackBerry": "BlackBerry|\\bBB10\\b|rim[0-9]+",
        "HTC": "HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",
        "Nexus": "Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",
        "Dell": "Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",
        "Motorola": "Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",
        "Samsung": "\\bSamsung\\b|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F",
        "LG": "\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",
        "Sony": "SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",
        "Asus": "Asus.*Galaxy|PadFone.*Mobile",
        "NokiaLumia": "Lumia [0-9]{3,4}",
        "Micromax": "Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",
        "Palm": "PalmSource|Palm",
        "Vertu": "Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",
        "Pantech": "PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",
        "Fly": "IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",
        "Wiko": "KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",
        "iMobile": "i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",
        "SimValley": "\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",
        "Wolfgang": "AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",
        "Alcatel": "Alcatel",
        "Nintendo": "Nintendo 3DS",
        "Amoi": "Amoi",
        "INQ": "INQ",
        "GenericPhone": "Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"
    },
    "tablets": {
        "iPad": "iPad|iPad.*Mobile",
        "NexusTablet": "Android.*Nexus[\\s]+(7|9|10)",
        "SamsungTablet": "SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y|SM-T280",
        "Kindle": "Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI)\\b",
        "SurfaceTablet": "Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",
        "HPTablet": "HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",
        "AsusTablet": "^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z",
        "BlackBerryTablet": "PlayBook|RIM Tablet",
        "HTCtablet": "HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",
        "MotorolaTablet": "xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",
        "NookTablet": "Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",
        "AcerTablet": "Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",
        "ToshibaTablet": "Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",
        "LGTablet": "\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",
        "FujitsuTablet": "Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",
        "PrestigioTablet": "PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",
        "LenovoTablet": "Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",
        "DellTablet": "Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",
        "YarvikTablet": "Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",
        "MedionTablet": "Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",
        "ArnovaTablet": "97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",
        "IntensoTablet": "INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",
        "IRUTablet": "M702pro",
        "MegafonTablet": "MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",
        "EbodaTablet": "E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",
        "AllViewTablet": "Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",
        "ArchosTablet": "\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",
        "AinolTablet": "NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",
        "NokiaLumiaTablet": "Lumia 2520",
        "SonyTablet": "Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",
        "PhilipsTablet": "\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",
        "CubeTablet": "Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",
        "CobyTablet": "MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",
        "MIDTablet": "M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",
        "MSITablet": "MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",
        "SMiTTablet": "Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",
        "RockChipTablet": "Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",
        "FlyTablet": "IQ310|Fly Vision",
        "bqTablet": "Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris [E|M]10)|Maxwell.*Lite|Maxwell.*Plus",
        "HuaweiTablet": "MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",
        "NecTablet": "\\bN-06D|\\bN-08D",
        "PantechTablet": "Pantech.*P4100",
        "BronchoTablet": "Broncho.*(N701|N708|N802|a710)",
        "VersusTablet": "TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",
        "ZyncTablet": "z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",
        "PositivoTablet": "TB07STA|TB10STA|TB07FTA|TB10FTA",
        "NabiTablet": "Android.*\\bNabi",
        "KoboTablet": "Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",
        "DanewTablet": "DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",
        "TexetTablet": "NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",
        "PlaystationTablet": "Playstation.*(Portable|Vita)",
        "TrekstorTablet": "ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",
        "PyleAudioTablet": "\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",
        "AdvanTablet": "Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",
        "DanyTechTablet": "Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",
        "GalapadTablet": "Android.*\\bG1\\b",
        "MicromaxTablet": "Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",
        "KarbonnTablet": "Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",
        "AllFineTablet": "Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",
        "PROSCANTablet": "\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",
        "YONESTablet": "BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",
        "ChangJiaTablet": "TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",
        "GUTablet": "TX-A1301|TX-M9002|Q702|kf026",
        "PointOfViewTablet": "TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",
        "OvermaxTablet": "OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",
        "HCLTablet": "HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",
        "DPSTablet": "DPS Dream 9|DPS Dual 7",
        "VistureTablet": "V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",
        "CrestaTablet": "CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",
        "MediatekTablet": "\\bMT8125|MT8389|MT8135|MT8377\\b",
        "ConcordeTablet": "Concorde([ ]+)?Tab|ConCorde ReadMan",
        "GoCleverTablet": "GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",
        "ModecomTablet": "FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",
        "VoninoTablet": "\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",
        "ECSTablet": "V07OT2|TM105A|S10OT1|TR10CS1",
        "StorexTablet": "eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",
        "VodafoneTablet": "SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",
        "EssentielBTablet": "Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",
        "RossMoorTablet": "RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",
        "iMobileTablet": "i-mobile i-note",
        "TolinoTablet": "tolino tab [0-9.]+|tolino shine",
        "AudioSonicTablet": "\\bC-22Q|T7-QC|T-17B|T-17P\\b",
        "AMPETablet": "Android.* A78 ",
        "SkkTablet": "Android.* (SKYPAD|PHOENIX|CYCLOPS)",
        "TecnoTablet": "TECNO P9",
        "JXDTablet": "Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",
        "iJoyTablet": "Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",
        "FX2Tablet": "FX2 PAD7|FX2 PAD10",
        "XoroTablet": "KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",
        "ViewsonicTablet": "ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",
        "OdysTablet": "LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",
        "CaptivaTablet": "CAPTIVA PAD",
        "IconbitTablet": "NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",
        "TeclastTablet": "T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",
        "OndaTablet": "\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",
        "JaytechTablet": "TPC-PA762",
        "BlaupunktTablet": "Endeavour 800NG|Endeavour 1010",
        "DigmaTablet": "\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",
        "EvolioTablet": "ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",
        "LavaTablet": "QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",
        "AocTablet": "MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",
        "MpmanTablet": "MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",
        "CelkonTablet": "CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",
        "WolderTablet": "miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",
        "MiTablet": "\\bMI PAD\\b|\\bHM NOTE 1W\\b",
        "NibiruTablet": "Nibiru M1|Nibiru Jupiter One",
        "NexoTablet": "NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",
        "LeaderTablet": "TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",
        "UbislateTablet": "UbiSlate[\\s]?7C",
        "PocketBookTablet": "Pocketbook",
        "KocasoTablet": "\\b(TB-1207)\\b",
        "HisenseTablet": "\\b(F5281|E2371)\\b",
        "Hudl": "Hudl HT7S3|Hudl 2",
        "TelstraTablet": "T-Hub2",
        "GenericTablet": "Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b"
    },
    "oss": {
        "AndroidOS": "Android",
        "BlackBerryOS": "blackberry|\\bBB10\\b|rim tablet os",
        "PalmOS": "PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",
        "SymbianOS": "Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",
        "WindowsMobileOS": "Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",
        "WindowsPhoneOS": "Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",
        "iOS": "\\biPhone.*Mobile|\\biPod|\\biPad",
        "MeeGoOS": "MeeGo",
        "MaemoOS": "Maemo",
        "JavaOS": "J2ME\/|\\bMIDP\\b|\\bCLDC\\b",
        "webOS": "webOS|hpwOS",
        "badaOS": "\\bBada\\b",
        "BREWOS": "BREW"
    },
    "uas": {
        "Chrome": "\\bCrMo\\b|CriOS|Android.*Chrome\/[.0-9]* (Mobile)?",
        "Dolfin": "\\bDolfin\\b",
        "Opera": "Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+",
        "Skyfire": "Skyfire",
        "Edge": "Mobile Safari\/[.0-9]* Edge",
        "IE": "IEMobile|MSIEMobile",
        "Firefox": "fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",
        "Bolt": "bolt",
        "TeaShark": "teashark",
        "Blazer": "Blazer",
        "Safari": "Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",
        "UCBrowser": "UC.*Browser|UCWEB",
        "baiduboxapp": "baiduboxapp",
        "baidubrowser": "baidubrowser",
        "DiigoBrowser": "DiigoBrowser",
        "Puffin": "Puffin",
        "Mercury": "\\bMercury\\b",
        "ObigoBrowser": "Obigo",
        "NetFront": "NF-Browser",
        "GenericBrowser": "NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",
        "PaleMoon": "Android.*PaleMoon|Mobile.*PaleMoon"
    },
    "props": {
        "Mobile": "Mobile\/[VER]",
        "Build": "Build\/[VER]",
        "Version": "Version\/[VER]",
        "VendorID": "VendorID\/[VER]",
        "iPad": "iPad.*CPU[a-z ]+[VER]",
        "iPhone": "iPhone.*CPU[a-z ]+[VER]",
        "iPod": "iPod.*CPU[a-z ]+[VER]",
        "Kindle": "Kindle\/[VER]",
        "Chrome": [
            "Chrome\/[VER]",
            "CriOS\/[VER]",
            "CrMo\/[VER]"
        ],
        "Coast": [
            "Coast\/[VER]"
        ],
        "Dolfin": "Dolfin\/[VER]",
        "Firefox": [
            "Firefox\/[VER]",
            "FxiOS\/[VER]"
        ],
        "Fennec": "Fennec\/[VER]",
        "Edge": "Edge\/[VER]",
        "IE": [
            "IEMobile\/[VER];",
            "IEMobile [VER]",
            "MSIE [VER];",
            "Trident\/[0-9.]+;.*rv:[VER]"
        ],
        "NetFront": "NetFront\/[VER]",
        "NokiaBrowser": "NokiaBrowser\/[VER]",
        "Opera": [
            " OPR\/[VER]",
            "Opera Mini\/[VER]",
            "Version\/[VER]"
        ],
        "Opera Mini": "Opera Mini\/[VER]",
        "Opera Mobi": "Version\/[VER]",
        "UC Browser": "UC Browser[VER]",
        "MQQBrowser": "MQQBrowser\/[VER]",
        "MicroMessenger": "MicroMessenger\/[VER]",
        "baiduboxapp": "baiduboxapp\/[VER]",
        "baidubrowser": "baidubrowser\/[VER]",
        "SamsungBrowser": "SamsungBrowser\/[VER]",
        "Iron": "Iron\/[VER]",
        "Safari": [
            "Version\/[VER]",
            "Safari\/[VER]"
        ],
        "Skyfire": "Skyfire\/[VER]",
        "Tizen": "Tizen\/[VER]",
        "Webkit": "webkit[ \/][VER]",
        "PaleMoon": "PaleMoon\/[VER]",
        "Gecko": "Gecko\/[VER]",
        "Trident": "Trident\/[VER]",
        "Presto": "Presto\/[VER]",
        "Goanna": "Goanna\/[VER]",
        "iOS": " \\bi?OS\\b [VER][ ;]{1}",
        "Android": "Android [VER]",
        "BlackBerry": [
            "BlackBerry[\\w]+\/[VER]",
            "BlackBerry.*Version\/[VER]",
            "Version\/[VER]"
        ],
        "BREW": "BREW [VER]",
        "Java": "Java\/[VER]",
        "Windows Phone OS": [
            "Windows Phone OS [VER]",
            "Windows Phone [VER]"
        ],
        "Windows Phone": "Windows Phone [VER]",
        "Windows CE": "Windows CE\/[VER]",
        "Windows NT": "Windows NT [VER]",
        "Symbian": [
            "SymbianOS\/[VER]",
            "Symbian\/[VER]"
        ],
        "webOS": [
            "webOS\/[VER]",
            "hpwOS\/[VER];"
        ]
    },
    "utils": {
        "Bot": "Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",
        "MobileBot": "Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker\/M1A1-R2D2",
        "DesktopMode": "WPDesktop",
        "TV": "SonyDTV|HbbTV",
        "WebKit": "(webkit)[ \/]([\\w.]+)",
        "Console": "\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",
        "Watch": "SM-V700"
    }
};

    // following patterns come from http://detectmobilebrowsers.com/
    impl.detectMobileBrowsers = {
        fullPattern: /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,
        shortPattern: /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,
        tabletPattern: /android|ipad|playbook|silk/i
    };

    var hasOwnProp = Object.prototype.hasOwnProperty,
        isArray;

    impl.FALLBACK_PHONE = 'UnknownPhone';
    impl.FALLBACK_TABLET = 'UnknownTablet';
    impl.FALLBACK_MOBILE = 'UnknownMobile';

    isArray = ('isArray' in Array) ?
        Array.isArray : function (value) { return Object.prototype.toString.call(value) === '[object Array]'; };

    function equalIC(a, b) {
        return a != null && b != null && a.toLowerCase() === b.toLowerCase();
    }

    function containsIC(array, value) {
        var valueLC, i, len = array.length;
        if (!len || !value) {
            return false;
        }
        valueLC = value.toLowerCase();
        for (i = 0; i < len; ++i) {
            if (valueLC === array[i].toLowerCase()) {
                return true;
            }
        }
        return false;
    }

    function convertPropsToRegExp(object) {
        for (var key in object) {
            if (hasOwnProp.call(object, key)) {
                object[key] = new RegExp(object[key], 'i');
            }
        }
    }

    (function init() {
        var key, values, value, i, len, verPos, mobileDetectRules = impl.mobileDetectRules;
        for (key in mobileDetectRules.props) {
            if (hasOwnProp.call(mobileDetectRules.props, key)) {
                values = mobileDetectRules.props[key];
                if (!isArray(values)) {
                    values = [values];
                }
                len = values.length;
                for (i = 0; i < len; ++i) {
                    value = values[i];
                    verPos = value.indexOf('[VER]');
                    if (verPos >= 0) {
                        value = value.substring(0, verPos) + '([\\w._\\+]+)' + value.substring(verPos + 5);
                    }
                    values[i] = new RegExp(value, 'i');
                }
                mobileDetectRules.props[key] = values;
            }
        }
        convertPropsToRegExp(mobileDetectRules.oss);
        convertPropsToRegExp(mobileDetectRules.phones);
        convertPropsToRegExp(mobileDetectRules.tablets);
        convertPropsToRegExp(mobileDetectRules.uas);
        convertPropsToRegExp(mobileDetectRules.utils);

        // copy some patterns to oss0 which are tested first (see issue#15)
        mobileDetectRules.oss0 = {
            WindowsPhoneOS: mobileDetectRules.oss.WindowsPhoneOS,
            WindowsMobileOS: mobileDetectRules.oss.WindowsMobileOS
        };
    }());

    /**
     * Test userAgent string against a set of rules and find the first matched key.
     * @param {Object} rules (key is String, value is RegExp)
     * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
     * @returns {String|null} the matched key if found, otherwise <tt>null</tt>
     * @private
     */
    impl.findMatch = function(rules, userAgent) {
        for (var key in rules) {
            if (hasOwnProp.call(rules, key)) {
                if (rules[key].test(userAgent)) {
                    return key;
                }
            }
        }
        return null;
    };

    /**
     * Test userAgent string against a set of rules and return an array of matched keys.
     * @param {Object} rules (key is String, value is RegExp)
     * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
     * @returns {Array} an array of matched keys, may be empty when there is no match, but not <tt>null</tt>
     * @private
     */
    impl.findMatches = function(rules, userAgent) {
        var result = [];
        for (var key in rules) {
            if (hasOwnProp.call(rules, key)) {
                if (rules[key].test(userAgent)) {
                    result.push(key);
                }
            }
        }
        return result;
    };

    /**
     * Check the version of the given property in the User-Agent.
     *
     * @param {String} propertyName
     * @param {String} userAgent
     * @return {String} version or <tt>null</tt> if version not found
     * @private
     */
    impl.getVersionStr = function (propertyName, userAgent) {
        var props = impl.mobileDetectRules.props, patterns, i, len, match;
        if (hasOwnProp.call(props, propertyName)) {
            patterns = props[propertyName];
            len = patterns.length;
            for (i = 0; i < len; ++i) {
                match = patterns[i].exec(userAgent);
                if (match !== null) {
                    return match[1];
                }
            }
        }
        return null;
    };

    /**
     * Check the version of the given property in the User-Agent.
     * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31)
     *
     * @param {String} propertyName
     * @param {String} userAgent
     * @return {Number} version or <tt>NaN</tt> if version not found
     * @private
     */
    impl.getVersion = function (propertyName, userAgent) {
        var version = impl.getVersionStr(propertyName, userAgent);
        return version ? impl.prepareVersionNo(version) : NaN;
    };

    /**
     * Prepare the version number.
     *
     * @param {String} version
     * @return {Number} the version number as a floating number
     * @private
     */
    impl.prepareVersionNo = function (version) {
        var numbers;

        numbers = version.split(/[a-z._ \/\-]/i);
        if (numbers.length === 1) {
            version = numbers[0];
        }
        if (numbers.length > 1) {
            version = numbers[0] + '.';
            numbers.shift();
            version += numbers.join('');
        }
        return Number(version);
    };

    impl.isMobileFallback = function (userAgent) {
        return impl.detectMobileBrowsers.fullPattern.test(userAgent) ||
            impl.detectMobileBrowsers.shortPattern.test(userAgent.substr(0,4));
    };

    impl.isTabletFallback = function (userAgent) {
        return impl.detectMobileBrowsers.tabletPattern.test(userAgent);
    };

    impl.prepareDetectionCache = function (cache, userAgent, maxPhoneWidth) {
        if (cache.mobile !== undefined) {
            return;
        }
        var phone, tablet, phoneSized;

        // first check for stronger tablet rules, then phone (see issue#5)
        tablet = impl.findMatch(impl.mobileDetectRules.tablets, userAgent);
        if (tablet) {
            cache.mobile = cache.tablet = tablet;
            cache.phone = null;
            return; // unambiguously identified as tablet
        }

        phone = impl.findMatch(impl.mobileDetectRules.phones, userAgent);
        if (phone) {
            cache.mobile = cache.phone = phone;
            cache.tablet = null;
            return; // unambiguously identified as phone
        }

        // our rules haven't found a match -> try more general fallback rules
        if (impl.isMobileFallback(userAgent)) {
            phoneSized = MobileDetect.isPhoneSized(maxPhoneWidth);
            if (phoneSized === undefined) {
                cache.mobile = impl.FALLBACK_MOBILE;
                cache.tablet = cache.phone = null;
            } else if (phoneSized) {
                cache.mobile = cache.phone = impl.FALLBACK_PHONE;
                cache.tablet = null;
            } else {
                cache.mobile = cache.tablet = impl.FALLBACK_TABLET;
                cache.phone = null;
            }
        } else if (impl.isTabletFallback(userAgent)) {
            cache.mobile = cache.tablet = impl.FALLBACK_TABLET;
            cache.phone = null;
        } else {
            // not mobile at all!
            cache.mobile = cache.tablet = cache.phone = null;
        }
    };

    // t is a reference to a MobileDetect instance
    impl.mobileGrade = function (t) {
        // impl note:
        // To keep in sync w/ Mobile_Detect.php easily, the following code is tightly aligned to the PHP version.
        // When changes are made in Mobile_Detect.php, copy this method and replace:
        //     $this-> / t.
        //     self::MOBILE_GRADE_(.) / '$1'
        //     , self::VERSION_TYPE_FLOAT / (nothing)
        //     isIOS() / os('iOS')
        //     [reg] / (nothing)   <-- jsdelivr complaining about unescaped unicode character U+00AE
        var $isMobile = t.mobile() !== null;

        if (
            // Apple iOS 3.2-5.1 - Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3), iPad 3 (5.1), original iPhone (3.1), iPhone 3 (3.2), 3GS (4.3), 4 (4.3 / 5.0), and 4S (5.1)
            t.os('iOS') && t.version('iPad')>=4.3 ||
            t.os('iOS') && t.version('iPhone')>=3.1 ||
            t.os('iOS') && t.version('iPod')>=3.1 ||

            // Android 2.1-2.3 - Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5)
            // Android 3.1 (Honeycomb)  - Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM
            // Android 4.0 (ICS)  - Tested on a Galaxy Nexus. Note: transition performance can be poor on upgraded devices
            // Android 4.1 (Jelly Bean)  - Tested on a Galaxy Nexus and Galaxy 7
            ( t.version('Android')>2.1 && t.is('Webkit') ) ||

            // Windows Phone 7-7.5 - Tested on the HTC Surround (7.0) HTC Trophy (7.5), LG-E900 (7.5), Nokia Lumia 800
            t.version('Windows Phone OS')>=7.0 ||

            // Blackberry 7 - Tested on BlackBerry Torch 9810
            // Blackberry 6.0 - Tested on the Torch 9800 and Style 9670
            t.is('BlackBerry') && t.version('BlackBerry')>=6.0 ||
            // Blackberry Playbook (1.0-2.0) - Tested on PlayBook
            t.match('Playbook.*Tablet') ||

            // Palm WebOS (1.4-2.0) - Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0)
            ( t.version('webOS')>=1.4 && t.match('Palm|Pre|Pixi') ) ||
            // Palm WebOS 3.0  - Tested on HP TouchPad
            t.match('hp.*TouchPad') ||

            // Firefox Mobile (12 Beta) - Tested on Android 2.3 device
            ( t.is('Firefox') && t.version('Firefox')>=12 ) ||

            // Chrome for Android - Tested on Android 4.0, 4.1 device
            ( t.is('Chrome') && t.is('AndroidOS') && t.version('Android')>=4.0 ) ||

            // Skyfire 4.1 - Tested on Android 2.3 device
            ( t.is('Skyfire') && t.version('Skyfire')>=4.1 && t.is('AndroidOS') && t.version('Android')>=2.3 ) ||

            // Opera Mobile 11.5-12: Tested on Android 2.3
            ( t.is('Opera') && t.version('Opera Mobi')>11 && t.is('AndroidOS') ) ||

            // Meego 1.2 - Tested on Nokia 950 and N9
            t.is('MeeGoOS') ||

            // Tizen (pre-release) - Tested on early hardware
            t.is('Tizen') ||

            // Samsung Bada 2.0 - Tested on a Samsung Wave 3, Dolphin browser
            // @todo: more tests here!
            t.is('Dolfin') && t.version('Bada')>=2.0 ||

            // UC Browser - Tested on Android 2.3 device
            ( (t.is('UC Browser') || t.is('Dolfin')) && t.version('Android')>=2.3 ) ||

            // Kindle 3 and Fire  - Tested on the built-in WebKit browser for each
            ( t.match('Kindle Fire') ||
                t.is('Kindle') && t.version('Kindle')>=3.0 ) ||

            // Nook Color 1.4.1 - Tested on original Nook Color, not Nook Tablet
            t.is('AndroidOS') && t.is('NookTablet') ||

            // Chrome Desktop 11-21 - Tested on OS X 10.7 and Windows 7
            t.version('Chrome')>=11 && !$isMobile ||

            // Safari Desktop 4-5 - Tested on OS X 10.7 and Windows 7
            t.version('Safari')>=5.0 && !$isMobile ||

            // Firefox Desktop 4-13 - Tested on OS X 10.7 and Windows 7
            t.version('Firefox')>=4.0 && !$isMobile ||

            // Internet Explorer 7-9 - Tested on Windows XP, Vista and 7
            t.version('MSIE')>=7.0 && !$isMobile ||

            // Opera Desktop 10-12 - Tested on OS X 10.7 and Windows 7
            // @reference: http://my.opera.com/community/openweb/idopera/
            t.version('Opera')>=10 && !$isMobile

            ){
            return 'A';
        }

        if (
            t.os('iOS') && t.version('iPad')<4.3 ||
            t.os('iOS') && t.version('iPhone')<3.1 ||
            t.os('iOS') && t.version('iPod')<3.1 ||

            // Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770
            t.is('Blackberry') && t.version('BlackBerry')>=5 && t.version('BlackBerry')<6 ||

            //Opera Mini (5.0-6.5) - Tested on iOS 3.2/4.3 and Android 2.3
            ( t.version('Opera Mini')>=5.0 && t.version('Opera Mini')<=6.5 &&
                (t.version('Android')>=2.3 || t.is('iOS')) ) ||

            // Nokia Symbian^3 - Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1)
            t.match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') ||

            // @todo: report this (tested on Nokia N71)
            t.version('Opera Mobi')>=11 && t.is('SymbianOS')
            ){
            return 'B';
        }

        if (
        // Blackberry 4.x - Tested on the Curve 8330
            t.version('BlackBerry')<5.0 ||
            // Windows Mobile - Tested on the HTC Leo (WinMo 5.2)
            t.match('MSIEMobile|Windows CE.*Mobile') || t.version('Windows Mobile')<=5.2

            ){
            return 'C';
        }

        //All older smartphone platforms and featurephones - Any device that doesn't support media queries
        //will receive the basic, C grade experience.
        return 'C';
    };

    impl.detectOS = function (ua) {
        return impl.findMatch(impl.mobileDetectRules.oss0, ua) ||
            impl.findMatch(impl.mobileDetectRules.oss, ua);
    };

    impl.getDeviceSmallerSide = function () {
        return window.screen.width < window.screen.height ?
            window.screen.width :
            window.screen.height;
    };

    /**
     * Constructor for MobileDetect object.
     * <br>
     * Such an object will keep a reference to the given user-agent string and cache most of the detect queries.<br>
     * <div style="background-color: #d9edf7; border: 1px solid #bce8f1; color: #3a87ad; padding: 14px; border-radius: 2px; margin-top: 20px">
     *     <strong>Find information how to download and install:</strong>
     *     <a href="https://github.com/hgoebl/mobile-detect.js/">github.com/hgoebl/mobile-detect.js/</a>
     * </div>
     *
     * @example <pre>
     *     var md = new MobileDetect(window.navigator.userAgent);
     *     if (md.mobile()) {
     *         location.href = (md.mobileGrade() === 'A') ? '/mobile/' : '/lynx/';
     *     }
     * </pre>
     *
     * @param {string} userAgent typically taken from window.navigator.userAgent or http_header['User-Agent']
     * @param {number} [maxPhoneWidth=600] <strong>only for browsers</strong> specify a value for the maximum
     *        width of smallest device side (in logical "CSS" pixels) until a device detected as mobile will be handled
     *        as phone.
     *        This is only used in cases where the device cannot be classified as phone or tablet.<br>
     *        See <a href="http://developer.android.com/guide/practices/screens_support.html">Declaring Tablet Layouts
     *        for Android</a>.<br>
     *        If you provide a value < 0, then this "fuzzy" check is disabled.
     * @constructor
     * @global
     */
    function MobileDetect(userAgent, maxPhoneWidth) {
        this.ua = userAgent || '';
        this._cache = {};
        //600dp is typical 7" tablet minimum width
        this.maxPhoneWidth = maxPhoneWidth || 600;
    }

    MobileDetect.prototype = {
        constructor: MobileDetect,

        /**
         * Returns the detected phone or tablet type or <tt>null</tt> if it is not a mobile device.
         * <br>
         * For a list of possible return values see {@link MobileDetect#phone} and {@link MobileDetect#tablet}.<br>
         * <br>
         * If the device is not detected by the regular expressions from Mobile-Detect, a test is made against
         * the patterns of <a href="http://detectmobilebrowsers.com/">detectmobilebrowsers.com</a>. If this test
         * is positive, a value of <code>UnknownPhone</code>, <code>UnknownTablet</code> or
         * <code>UnknownMobile</code> is returned.<br>
         * When used in browser, the decision whether phone or tablet is made based on <code>screen.width/height</code>.<br>
         * <br>
         * When used server-side (node.js), there is no way to tell the difference between <code>UnknownTablet</code>
         * and <code>UnknownMobile</code>, so you will get <code>UnknownMobile</code> here.<br>
         * Be aware that since v1.0.0 in this special case you will get <code>UnknownMobile</code> only for:
         * {@link MobileDetect#mobile}, not for {@link MobileDetect#phone} and {@link MobileDetect#tablet}.
         * In versions before v1.0.0 all 3 methods returned <code>UnknownMobile</code> which was tedious to use.
         * <br>
         * In most cases you will use the return value just as a boolean.
         *
         * @returns {String} the key for the phone family or tablet family, e.g. "Nexus".
         * @function MobileDetect#mobile
         */
        mobile: function () {
            impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
            return this._cache.mobile;
        },

        /**
         * Returns the detected phone type/family string or <tt>null</tt>.
         * <br>
         * The returned tablet (family or producer) is one of following keys:<br>
         * <br><tt>iPhone, BlackBerry, HTC, Nexus, Dell, Motorola, Samsung, LG, Sony, Asus,
         * NokiaLumia, Micromax, Palm, Vertu, Pantech, Fly, Wiko, iMobile, SimValley,
         * Wolfgang, Alcatel, Nintendo, Amoi, INQ, GenericPhone</tt><br>
         * <br>
         * If the device is not detected by the regular expressions from Mobile-Detect, a test is made against
         * the patterns of <a href="http://detectmobilebrowsers.com/">detectmobilebrowsers.com</a>. If this test
         * is positive, a value of <code>UnknownPhone</code> or <code>UnknownMobile</code> is returned.<br>
         * When used in browser, the decision whether phone or tablet is made based on <code>screen.width/height</code>.<br>
         * <br>
         * When used server-side (node.js), there is no way to tell the difference between <code>UnknownTablet</code>
         * and <code>UnknownMobile</code>, so you will get <code>null</code> here, while {@link MobileDetect#mobile}
         * will return <code>UnknownMobile</code>.<br>
         * Be aware that since v1.0.0 in this special case you will get <code>UnknownMobile</code> only for:
         * {@link MobileDetect#mobile}, not for {@link MobileDetect#phone} and {@link MobileDetect#tablet}.
         * In versions before v1.0.0 all 3 methods returned <code>UnknownMobile</code> which was tedious to use.
         * <br>
         * In most cases you will use the return value just as a boolean.
         *
         * @returns {String} the key of the phone family or producer, e.g. "iPhone"
         * @function MobileDetect#phone
         */
        phone: function () {
            impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
            return this._cache.phone;
        },

        /**
         * Returns the detected tablet type/family string or <tt>null</tt>.
         * <br>
         * The returned tablet (family or producer) is one of following keys:<br>
         * <br><tt>iPad, NexusTablet, SamsungTablet, Kindle, SurfaceTablet, HPTablet, AsusTablet,
         * BlackBerryTablet, HTCtablet, MotorolaTablet, NookTablet, AcerTablet,
         * ToshibaTablet, LGTablet, FujitsuTablet, PrestigioTablet, LenovoTablet,
         * DellTablet, YarvikTablet, MedionTablet, ArnovaTablet, IntensoTablet, IRUTablet,
         * MegafonTablet, EbodaTablet, AllViewTablet, ArchosTablet, AinolTablet,
         * NokiaLumiaTablet, SonyTablet, PhilipsTablet, CubeTablet, CobyTablet, MIDTablet,
         * MSITablet, SMiTTablet, RockChipTablet, FlyTablet, bqTablet, HuaweiTablet,
         * NecTablet, PantechTablet, BronchoTablet, VersusTablet, ZyncTablet,
         * PositivoTablet, NabiTablet, KoboTablet, DanewTablet, TexetTablet,
         * PlaystationTablet, TrekstorTablet, PyleAudioTablet, AdvanTablet,
         * DanyTechTablet, GalapadTablet, MicromaxTablet, KarbonnTablet, AllFineTablet,
         * PROSCANTablet, YONESTablet, ChangJiaTablet, GUTablet, PointOfViewTablet,
         * OvermaxTablet, HCLTablet, DPSTablet, VistureTablet, CrestaTablet,
         * MediatekTablet, ConcordeTablet, GoCleverTablet, ModecomTablet, VoninoTablet,
         * ECSTablet, StorexTablet, VodafoneTablet, EssentielBTablet, RossMoorTablet,
         * iMobileTablet, TolinoTablet, AudioSonicTablet, AMPETablet, SkkTablet,
         * TecnoTablet, JXDTablet, iJoyTablet, FX2Tablet, XoroTablet, ViewsonicTablet,
         * OdysTablet, CaptivaTablet, IconbitTablet, TeclastTablet, OndaTablet,
         * JaytechTablet, BlaupunktTablet, DigmaTablet, EvolioTablet, LavaTablet,
         * AocTablet, MpmanTablet, CelkonTablet, WolderTablet, MiTablet, NibiruTablet,
         * NexoTablet, LeaderTablet, UbislateTablet, PocketBookTablet, KocasoTablet,
         * HisenseTablet, Hudl, TelstraTablet, GenericTablet</tt><br>
         * <br>
         * If the device is not detected by the regular expressions from Mobile-Detect, a test is made against
         * the patterns of <a href="http://detectmobilebrowsers.com/">detectmobilebrowsers.com</a>. If this test
         * is positive, a value of <code>UnknownTablet</code> or <code>UnknownMobile</code> is returned.<br>
         * When used in browser, the decision whether phone or tablet is made based on <code>screen.width/height</code>.<br>
         * <br>
         * When used server-side (node.js), there is no way to tell the difference between <code>UnknownTablet</code>
         * and <code>UnknownMobile</code>, so you will get <code>null</code> here, while {@link MobileDetect#mobile}
         * will return <code>UnknownMobile</code>.<br>
         * Be aware that since v1.0.0 in this special case you will get <code>UnknownMobile</code> only for:
         * {@link MobileDetect#mobile}, not for {@link MobileDetect#phone} and {@link MobileDetect#tablet}.
         * In versions before v1.0.0 all 3 methods returned <code>UnknownMobile</code> which was tedious to use.
         * <br>
         * In most cases you will use the return value just as a boolean.
         *
         * @returns {String} the key of the tablet family or producer, e.g. "SamsungTablet"
         * @function MobileDetect#tablet
         */
        tablet: function () {
            impl.prepareDetectionCache(this._cache, this.ua, this.maxPhoneWidth);
            return this._cache.tablet;
        },

        /**
         * Returns the (first) detected user-agent string or <tt>null</tt>.
         * <br>
         * The returned user-agent is one of following keys:<br>
         * <br><tt>Chrome, Dolfin, Opera, Skyfire, Edge, IE, Firefox, Bolt, TeaShark, Blazer,
         * Safari, UCBrowser, baiduboxapp, baidubrowser, DiigoBrowser, Puffin, Mercury,
         * ObigoBrowser, NetFront, GenericBrowser, PaleMoon</tt><br>
         * <br>
         * In most cases calling {@link MobileDetect#userAgent} will be sufficient. But there are rare
         * cases where a mobile device pretends to be more than one particular browser. You can get the
         * list of all matches with {@link MobileDetect#userAgents} or check for a particular value by
         * providing one of the defined keys as first argument to {@link MobileDetect#is}.
         *
         * @returns {String} the key for the detected user-agent or <tt>null</tt>
         * @function MobileDetect#userAgent
         */
        userAgent: function () {
            if (this._cache.userAgent === undefined) {
                this._cache.userAgent = impl.findMatch(impl.mobileDetectRules.uas, this.ua);
            }
            return this._cache.userAgent;
        },

        /**
         * Returns all detected user-agent strings.
         * <br>
         * The array is empty or contains one or more of following keys:<br>
         * <br><tt>Chrome, Dolfin, Opera, Skyfire, Edge, IE, Firefox, Bolt, TeaShark, Blazer,
         * Safari, UCBrowser, baiduboxapp, baidubrowser, DiigoBrowser, Puffin, Mercury,
         * ObigoBrowser, NetFront, GenericBrowser, PaleMoon</tt><br>
         * <br>
         * In most cases calling {@link MobileDetect#userAgent} will be sufficient. But there are rare
         * cases where a mobile device pretends to be more than one particular browser. You can get the
         * list of all matches with {@link MobileDetect#userAgents} or check for a particular value by
         * providing one of the defined keys as first argument to {@link MobileDetect#is}.
         *
         * @returns {Array} the array of detected user-agent keys or <tt>[]</tt>
         * @function MobileDetect#userAgents
         */
        userAgents: function () {
            if (this._cache.userAgents === undefined) {
                this._cache.userAgents = impl.findMatches(impl.mobileDetectRules.uas, this.ua);
            }
            return this._cache.userAgents;
        },

        /**
         * Returns the detected operating system string or <tt>null</tt>.
         * <br>
         * The operating system is one of following keys:<br>
         * <br><tt>AndroidOS, BlackBerryOS, PalmOS, SymbianOS, WindowsMobileOS, WindowsPhoneOS,
         * iOS, MeeGoOS, MaemoOS, JavaOS, webOS, badaOS, BREWOS</tt><br>
         *
         * @returns {String} the key for the detected operating system.
         * @function MobileDetect#os
         */
        os: function () {
            if (this._cache.os === undefined) {
                this._cache.os = impl.detectOS(this.ua);
            }
            return this._cache.os;
        },

        /**
         * Get the version (as Number) of the given property in the User-Agent.
         * <br>
         * Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31)
         *
         * @param {String} key a key defining a thing which has a version.<br>
         *        You can use one of following keys:<br>
         * <br><tt>Mobile, Build, Version, VendorID, iPad, iPhone, iPod, Kindle, Chrome, Coast,
         * Dolfin, Firefox, Fennec, Edge, IE, NetFront, NokiaBrowser, Opera, Opera Mini,
         * Opera Mobi, UC Browser, MQQBrowser, MicroMessenger, baiduboxapp, baidubrowser,
         * SamsungBrowser, Iron, Safari, Skyfire, Tizen, Webkit, PaleMoon, Gecko, Trident,
         * Presto, Goanna, iOS, Android, BlackBerry, BREW, Java, Windows Phone OS, Windows
         * Phone, Windows CE, Windows NT, Symbian, webOS</tt><br>
         *
         * @returns {Number} the version as float or <tt>NaN</tt> if User-Agent doesn't contain this version.
         *          Be careful when comparing this value with '==' operator!
         * @function MobileDetect#version
         */
        version: function (key) {
            return impl.getVersion(key, this.ua);
        },

        /**
         * Get the version (as String) of the given property in the User-Agent.
         * <br>
         *
         * @param {String} key a key defining a thing which has a version.<br>
         *        You can use one of following keys:<br>
         * <br><tt>Mobile, Build, Version, VendorID, iPad, iPhone, iPod, Kindle, Chrome, Coast,
         * Dolfin, Firefox, Fennec, Edge, IE, NetFront, NokiaBrowser, Opera, Opera Mini,
         * Opera Mobi, UC Browser, MQQBrowser, MicroMessenger, baiduboxapp, baidubrowser,
         * SamsungBrowser, Iron, Safari, Skyfire, Tizen, Webkit, PaleMoon, Gecko, Trident,
         * Presto, Goanna, iOS, Android, BlackBerry, BREW, Java, Windows Phone OS, Windows
         * Phone, Windows CE, Windows NT, Symbian, webOS</tt><br>
         *
         * @returns {String} the "raw" version as String or <tt>null</tt> if User-Agent doesn't contain this version.
         *
         * @function MobileDetect#versionStr
         */
        versionStr: function (key) {
            return impl.getVersionStr(key, this.ua);
        },

        /**
         * Global test key against userAgent, os, phone, tablet and some other properties of userAgent string.
         *
         * @param {String} key the key (case-insensitive) of a userAgent, an operating system, phone or
         *        tablet family.<br>
         *        For a complete list of possible values, see {@link MobileDetect#userAgent},
         *        {@link MobileDetect#os}, {@link MobileDetect#phone}, {@link MobileDetect#tablet}.<br>
         *        Additionally you have following keys:<br>
         * <br><tt>Bot, MobileBot, DesktopMode, TV, WebKit, Console, Watch</tt><br>
         *
         * @returns {boolean} <tt>true</tt> when the given key is one of the defined keys of userAgent, os, phone,
         *                    tablet or one of the listed additional keys, otherwise <tt>false</tt>
         * @function MobileDetect#is
         */
        is: function (key) {
            return containsIC(this.userAgents(), key) ||
                   equalIC(key, this.os()) ||
                   equalIC(key, this.phone()) ||
                   equalIC(key, this.tablet()) ||
                   containsIC(impl.findMatches(impl.mobileDetectRules.utils, this.ua), key);
        },

        /**
         * Do a quick test against navigator::userAgent.
         *
         * @param {String|RegExp} pattern the pattern, either as String or RegExp
         *                        (a string will be converted to a case-insensitive RegExp).
         * @returns {boolean} <tt>true</tt> when the pattern matches, otherwise <tt>false</tt>
         * @function MobileDetect#match
         */
        match: function (pattern) {
            if (!(pattern instanceof RegExp)) {
                pattern = new RegExp(pattern, 'i');
            }
            return pattern.test(this.ua);
        },

        /**
         * Checks whether the mobile device can be considered as phone regarding <code>screen.width</code>.
         * <br>
         * Obviously this method makes sense in browser environments only (not for Node.js)!
         * @param {number} [maxPhoneWidth] the maximum logical pixels (aka. CSS-pixels) to be considered as phone.<br>
         *        The argument is optional and if not present or falsy, the value of the constructor is taken.
         * @returns {boolean|undefined} <code>undefined</code> if screen size wasn't detectable, else <code>true</code>
         *          when screen.width is less or equal to maxPhoneWidth, otherwise <code>false</code>.<br>
         *          Will always return <code>undefined</code> server-side.
         */
        isPhoneSized: function (maxPhoneWidth) {
            return MobileDetect.isPhoneSized(maxPhoneWidth || this.maxPhoneWidth);
        },

        /**
         * Returns the mobile grade ('A', 'B', 'C').
         *
         * @returns {String} one of the mobile grades ('A', 'B', 'C').
         * @function MobileDetect#mobileGrade
         */
        mobileGrade: function () {
            if (this._cache.grade === undefined) {
                this._cache.grade = impl.mobileGrade(this);
            }
            return this._cache.grade;
        }
    };

    // environment-dependent
    if (typeof window !== 'undefined' && window.screen) {
        MobileDetect.isPhoneSized = function (maxPhoneWidth) {
            return maxPhoneWidth < 0 ? undefined : impl.getDeviceSmallerSide() <= maxPhoneWidth;
        };
    } else {
        MobileDetect.isPhoneSized = function () {};
    }

    // should not be replaced by a completely new object - just overwrite existing methods
    MobileDetect._impl = impl;

    MobileDetect.version = '1.3.5 2016-11-14';

    window.MobileDetect = MobileDetect;
})();
!function(){var t={9669:function(t,e,r){t.exports=r(51609)},55448:function(t,e,r){"use strict";var n=r(64867),o=r(36026),i=r(4372),a=r(15327),s=r(94097),c=r(84109),u=r(67985),l=r(85061),f=r(45655),d=r(65263);t.exports=function(t){return new Promise((function(e,r){var p,h=t.data,v=t.headers,g=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}n.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+b)}var x=s(t.baseURL,t.url);function S(){if(y){var n="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};o((function(t){e(t),m()}),(function(t){r(t),m()}),i),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(r(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(l(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var E=(t.withCredentials||u(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;E&&(v[t.xsrfHeaderName]=E)}"setRequestHeader"in y&&n.forEach(v,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),g&&"json"!==g&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){y&&(r(!t||t&&t.type?new d("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},51609:function(t,e,r){"use strict";var n=r(64867),o=r(91849),i=r(30321),a=r(47185);var s=function t(e){var r=new i(e),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return t(a(e,r))},s}(r(45655));s.Axios=i,s.Cancel=r(65263),s.CancelToken=r(14972),s.isCancel=r(26502),s.VERSION=r(97288).version,s.all=function(t){return Promise.all(t)},s.spread=r(8713),s.isAxiosError=r(16268),t.exports=s,t.exports.default=s},65263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},14972:function(t,e,r){"use strict";var n=r(65263);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},26502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},30321:function(t,e,r){"use strict";var n=r(64867),o=r(15327),i=r(80782),a=r(13572),s=r(47185),c=r(54875),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t,e){if("string"==typeof t?(e=e||{}).url=t:e=t||{},!e.url)throw new Error("Provided config url is not valid");(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(l),i=Promise.resolve(e);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=e;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(v){h(v);break}}try{i=a(d)}catch(v){return Promise.reject(v)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},l.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=l},80782:function(t,e,r){"use strict";var n=r(64867);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},94097:function(t,e,r){"use strict";var n=r(91793),o=r(7303);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},85061:function(t,e,r){"use strict";var n=r(80481);t.exports=function(t,e,r,o,i){var a=new Error(t);return n(a,e,r,o,i)}},13572:function(t,e,r){"use strict";var n=r(64867),o=r(18527),i=r(26502),a=r(45655),s=r(65263);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},80481:function(t){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},47185:function(t,e,r){"use strict";var n=r(64867);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function a(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function s(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function c(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);n.isUndefined(o)&&e!==c||(r[t]=o)})),r}},36026:function(t,e,r){"use strict";var n=r(85061);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},18527:function(t,e,r){"use strict";var n=r(64867),o=r(45655);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},45655:function(t,e,r){"use strict";var n=r(64867),o=r(16016),i=r(80481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(55448)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||u.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw i(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){u.headers[t]=n.merge(a)})),t.exports=u},97288:function(t){t.exports={version:"0.25.0"}},91849:function(t){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},15327:function(t,e,r){"use strict";var n=r(64867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!=t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,r){"use strict";var n=r(64867);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},16268:function(t,e,r){"use strict";var n=r(64867);t.exports=function(t){return n.isObject(t)&&!0===t.isAxiosError}},67985:function(t,e,r){"use strict";var n=r(64867);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},16016:function(t,e,r){"use strict";var n=r(64867);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},84109:function(t,e,r){"use strict";var n=r(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},54875:function(t,e,r){"use strict";var n=r(97288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={};o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,a){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,a)}},t.exports={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],a=e[i];if(a){var s=t[i],c=void 0===s||a(s,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},64867:function(t,e,r){"use strict";var n=r(91849),o=Object.prototype.toString;function i(t){return Array.isArray(t)}function a(t){return void 0===t}function s(t){return"[object ArrayBuffer]"===o.call(t)}function c(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:s,isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===o.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&s(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:l,isStream:function(t){return c(t)&&l(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===o.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function t(){var e={};function r(r,n){u(e[n])&&u(r)?e[n]=t(e[n],r):u(r)?e[n]=t({},r):i(r)?e[n]=r.slice():e[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return e},extend:function(t,e,r){return f(e,(function(e,o){t[o]=r&&"function"==typeof e?n(e,r):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},35129:function(t){t.exports=window.jQuery},19662:function(t,e,r){var n=r(60614),o=r(66330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},39483:function(t,e,r){var n=r(4411),o=r(66330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},96077:function(t,e,r){var n=r(60614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},51223:function(t,e,r){var n=r(5112),o=r(70030),i=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},31530:function(t,e,r){"use strict";var n=r(28710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},25787:function(t,e,r){var n=r(47976),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation")}},19670:function(t,e,r){var n=r(70111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},18533:function(t,e,r){"use strict";var n=r(42092).forEach,o=r(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},41318:function(t,e,r){var n=r(45656),o=r(51400),i=r(26244),a=function(t){return function(e,r,a){var s,c=n(e),u=i(c),l=o(a,u);if(t&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},42092:function(t,e,r){var n=r(49974),o=r(1702),i=r(68361),a=r(47908),s=r(26244),c=r(65417),u=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,d=7==t,p=5==t||f;return function(h,v,g,m){for(var y,w,b=a(h),x=i(b),S=n(v,g),E=s(x),O=0,_=m||c,T=e?_(h,E):r||d?_(h,0):void 0;E>O;O++)if((p||O in x)&&(w=S(y=x[O],O,b),t))if(e)T[O]=w;else if(w)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:u(T,y)}else switch(t){case 4:return!1;case 7:u(T,y)}return f?-1:o||l?l:T}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},86583:function(t,e,r){"use strict";var n=r(22104),o=r(45656),i=r(19303),a=r(26244),s=r(9341),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),d=l||!f;t.exports=d?function(t){if(l)return n(u,this,arguments)||0;var e=o(this),r=a(e),s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:u},81194:function(t,e,r){var n=r(47293),o=r(5112),i=r(7392),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,r){"use strict";var n=r(47293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},41589:function(t,e,r){var n=r(51400),o=r(26244),i=r(86135),a=Array,s=Math.max;t.exports=function(t,e,r){for(var c=o(t),u=n(e,c),l=n(void 0===r?c:r,c),f=a(s(l-u,0)),d=0;u<l;u++,d++)i(f,d,t[u]);return f.length=d,f}},50206:function(t,e,r){var n=r(1702);t.exports=n([].slice)},94362:function(t,e,r){var n=r(41589),o=Math.floor,i=function(t,e){var r=t.length,c=o(r/2);return r<8?a(t,e):s(t,i(n(t,0,c),e),i(n(t,c),e),e)},a=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},s=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,s=0;a<o||s<i;)t[a+s]=a<o&&s<i?n(e[a],r[s])<=0?e[a++]:r[s++]:a<o?e[a++]:r[s++];return t};t.exports=i},77475:function(t,e,r){var n=r(43157),o=r(4411),i=r(70111),a=r(5112)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},65417:function(t,e,r){var n=r(77475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},17072:function(t,e,r){var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(s){}return r}},84326:function(t,e,r){var n=r(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},70648:function(t,e,r){var n=r(51694),o=r(60614),i=r(84326),a=r(5112)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=s(t),a))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},99920:function(t,e,r){var n=r(92597),o=r(53887),i=r(31236),a=r(3070);t.exports=function(t,e,r){for(var s=o(e),c=a.f,u=i.f,l=0;l<s.length;l++){var f=s[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},49920:function(t,e,r){var n=r(47293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},76178:function(t){t.exports=function(t,e){return{value:t,done:e}}},68880:function(t,e,r){var n=r(19781),o=r(3070),i=r(79114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},79114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},86135:function(t,e,r){"use strict";var n=r(34948),o=r(3070),i=r(79114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},47045:function(t,e,r){var n=r(56339),o=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},98052:function(t,e,r){var n=r(60614),o=r(3070),i=r(56339),a=r(13072);t.exports=function(t,e,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(n(r)&&i(r,u,s),s.global)c?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},89190:function(t,e,r){var n=r(98052);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},13072:function(t,e,r){var n=r(17854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},85117:function(t,e,r){"use strict";var n=r(66330),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw o("Cannot delete property "+n(e)+" of "+n(t))}},19781:function(t,e,r){var n=r(47293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},80317:function(t,e,r){var n=r(17854),o=r(70111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},48324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:function(t,e,r){var n=r(80317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},68886:function(t,e,r){var n=r(88113).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},7871:function(t,e,r){var n=r(83823),o=r(35268);t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},83823:function(t){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:function(t,e,r){var n=r(88113);t.exports=/MSIE|Trident/.test(n)},71528:function(t,e,r){var n=r(88113),o=r(17854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},6833:function(t,e,r){var n=r(88113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},35268:function(t,e,r){var n=r(84326),o=r(17854);t.exports="process"==n(o.process)},71036:function(t,e,r){var n=r(88113);t.exports=/web0s(?!.*chrome)/i.test(n)},88113:function(t,e,r){var n=r(35005);t.exports=n("navigator","userAgent")||""},7392:function(t,e,r){var n,o,i=r(17854),a=r(88113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},98008:function(t,e,r){var n=r(88113).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},80748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(t,e,r){var n=r(17854),o=r(31236).f,i=r(68880),a=r(98052),s=r(13072),c=r(99920),u=r(54705);t.exports=function(t,e){var r,l,f,d,p,h=t.target,v=t.global,g=t.stat;if(r=v?n:g?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in e){if(d=e[l],f=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!u(v?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,t)}}},47293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},27007:function(t,e,r){"use strict";r(74916);var n=r(21470),o=r(98052),i=r(22261),a=r(47293),s=r(5112),c=r(68880),u=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),h=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!p||!h||r){var v=n(/./[d]),g=e(d,""[t],(function(t,e,r,o,a){var s=n(t),c=e.exec;return c===i||c===l.exec?p&&!a?{done:!0,value:v(e,r,o)}:{done:!0,value:s(r,e,o)}:{done:!1}}));o(String.prototype,t,g[0]),o(l,d,g[1])}f&&c(l[d],"sham",!0)}},22104:function(t,e,r){var n=r(34374),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},49974:function(t,e,r){var n=r(21470),o=r(19662),i=r(34374),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},34374:function(t,e,r){var n=r(47293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},46916:function(t,e,r){var n=r(34374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},76530:function(t,e,r){var n=r(19781),o=r(92597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},21470:function(t,e,r){var n=r(84326),o=r(1702);t.exports=function(t){if("Function"===n(t))return o(t)}},1702:function(t,e,r){var n=r(34374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},35005:function(t,e,r){var n=r(17854),o=r(60614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},71246:function(t,e,r){var n=r(70648),o=r(58173),i=r(68554),a=r(97497),s=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)]}},18554:function(t,e,r){var n=r(46916),o=r(19662),i=r(19670),a=r(66330),s=r(71246),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw c(a(t)+" is not iterable")}},58173:function(t,e,r){var n=r(19662),o=r(68554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},10647:function(t,e,r){var n=r(1702),o=r(47908),i=Math.floor,a=n("".charAt),s=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var p=r+t.length,h=n.length,v=l;return void 0!==f&&(f=o(f),v=u),s(d,v,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,r);case"'":return c(e,p);case"<":u=f[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var d=i(l/10);return 0===d?o:d<=h?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):o}u=n[l-1]}return void 0===u?"":u}))}},17854:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},92597:function(t,e,r){var n=r(1702),o=r(47908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},842:function(t,e,r){var n=r(17854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))}},60490:function(t,e,r){var n=r(35005);t.exports=n("document","documentElement")},64664:function(t,e,r){var n=r(19781),o=r(47293),i=r(80317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:function(t,e,r){var n=r(1702),o=r(47293),i=r(84326),a=Object,s=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},79587:function(t,e,r){var n=r(60614),o=r(70111),i=r(27674);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},42788:function(t,e,r){var n=r(1702),o=r(60614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},29909:function(t,e,r){var n,o,i,a=r(94811),s=r(17854),c=r(70111),u=r(68880),l=r(92597),f=r(5465),d=r(6200),p=r(3501),h="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw v(h);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var y=d("state");p[y]=!0,n=function(t,e){if(l(t,y))throw v(h);return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},97659:function(t,e,r){var n=r(5112),o=r(97497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},43157:function(t,e,r){var n=r(84326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},60614:function(t,e,r){var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4411:function(t,e,r){var n=r(1702),o=r(47293),i=r(60614),a=r(70648),s=r(35005),c=r(42788),u=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(u),v=function(t){if(!i(t))return!1;try{return f(u,l,t),!0}catch(e){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,c(t))}catch(e){return!0}};g.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?g:v},54705:function(t,e,r){var n=r(47293),o=r(60614),i=/#|\.prototype\./,a=function(t,e){var r=c[s(t)];return r==l||r!=u&&(o(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},68554:function(t){t.exports=function(t){return null==t}},70111:function(t,e,r){var n=r(60614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},31913:function(t){t.exports=!1},47850:function(t,e,r){var n=r(70111),o=r(84326),i=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},52190:function(t,e,r){var n=r(35005),o=r(60614),i=r(47976),a=r(43307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t))}},20408:function(t,e,r){var n=r(49974),o=r(46916),i=r(19670),a=r(66330),s=r(97659),c=r(26244),u=r(47976),l=r(18554),f=r(71246),d=r(99212),p=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var g,m,y,w,b,x,S,E=r&&r.that,O=!(!r||!r.AS_ENTRIES),_=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),P=n(e,E),j=function(t){return g&&d(g,"normal",t),new h(!0,t)},A=function(t){return O?(i(t),k?P(t[0],t[1],j):P(t[0],t[1])):k?P(t,j):P(t)};if(_)g=t.iterator;else if(T)g=t;else{if(!(m=f(t)))throw p(a(t)+" is not iterable");if(s(m)){for(y=0,w=c(t);w>y;y++)if((b=A(t[y]))&&u(v,b))return b;return new h(!1)}g=l(t,m)}for(x=_?t.next:g.next;!(S=o(x,g)).done;){try{b=A(S.value)}catch(R){d(g,"throw",R)}if("object"==typeof b&&b&&u(v,b))return b}return new h(!1)}},99212:function(t,e,r){var n=r(46916),o=r(19670),i=r(58173);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(c){s=!0,a=c}if("throw"===e)throw r;if(s)throw a;return o(a),r}},63061:function(t,e,r){"use strict";var n=r(13383).IteratorPrototype,o=r(70030),i=r(79114),a=r(58003),s=r(97497),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),a(t,l,!1,!0),s[l]=c,t}},51656:function(t,e,r){"use strict";var n=r(82109),o=r(46916),i=r(31913),a=r(76530),s=r(60614),c=r(63061),u=r(79518),l=r(27674),f=r(58003),d=r(68880),p=r(98052),h=r(5112),v=r(97497),g=r(13383),m=a.PROPER,y=a.CONFIGURABLE,w=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=h("iterator"),S="keys",E="values",O="entries",_=function(){return this};t.exports=function(t,e,r,a,h,g,T){c(r,e,a);var k,P,j,A=function(t){if(t===h&&N)return N;if(!b&&t in L)return L[t];switch(t){case S:case E:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},R=e+" Iterator",C=!1,L=t.prototype,I=L[x]||L["@@iterator"]||h&&L[h],N=!b&&I||A(h),D="Array"==e&&L.entries||I;if(D&&(k=u(D.call(new t)))!==Object.prototype&&k.next&&(i||u(k)===w||(l?l(k,w):s(k[x])||p(k,x,_)),f(k,R,!0,!0),i&&(v[R]=_)),m&&h==E&&I&&I.name!==E&&(!i&&y?d(L,"name",E):(C=!0,N=function(){return o(I,this)})),h)if(P={values:A(E),keys:g?N:A(S),entries:A(O)},T)for(j in P)(b||C||!(j in L))&&p(L,j,P[j]);else n({target:e,proto:!0,forced:b||C},P);return i&&!T||L[x]===N||p(L,x,N,{name:h}),v[e]=N,P}},13383:function(t,e,r){"use strict";var n,o,i,a=r(47293),s=r(60614),c=r(70111),u=r(70030),l=r(79518),f=r(98052),d=r(5112),p=r(31913),h=d("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):v=!0),!c(n)||a((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=u(n)),s(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},97497:function(t){t.exports={}},26244:function(t,e,r){var n=r(17466);t.exports=function(t){return n(t.length)}},56339:function(t,e,r){var n=r(47293),o=r(60614),i=r(92597),a=r(19781),s=r(76530).CONFIGURABLE,c=r(42788),u=r(29909),l=u.enforce,f=u.get,d=Object.defineProperty,p=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&r&&i(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=l(t);return i(n,"source")||(n.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return o(this)&&f(this).source||c(this)}),"toString")},74758:function(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},95948:function(t,e,r){var n,o,i,a,s,c,u,l,f=r(17854),d=r(49974),p=r(31236).f,h=r(20261).set,v=r(6833),g=r(71528),m=r(71036),y=r(35268),w=f.MutationObserver||f.WebKitMutationObserver,b=f.document,x=f.process,S=f.Promise,E=p(f,"queueMicrotask"),O=E&&E.value;O||(n=function(){var t,e;for(y&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(r){throw o?a():i=void 0,r}}i=void 0,t&&t.enter()},v||y||m||!w||!b?!g&&S&&S.resolve?((u=S.resolve(void 0)).constructor=S,l=d(u.then,u),a=function(){l(n)}):y?a=function(){x.nextTick(n)}:(h=d(h,f),a=function(){h(n)}):(s=!0,c=b.createTextNode(""),new w(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=O||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},78523:function(t,e,r){"use strict";var n=r(19662),o=TypeError,i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw o("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},70030:function(t,e,r){var n,o=r(19670),i=r(36048),a=r(80748),s=r(3501),c=r(60490),u=r(80317),l=r(6200),f=l("IE_PROTO"),d=function(){},p=function(t){return"<script>"+t+"</"+"script>"},h=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(o){}var t,e;v="undefined"!=typeof document?document.domain&&n?h(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):h(n);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=o(t),r=new d,d.prototype=null,r[f]=t):r=v(),void 0===e?r:i.f(r,e)}},36048:function(t,e,r){var n=r(19781),o=r(3353),i=r(3070),a=r(19670),s=r(45656),c=r(81956);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},3070:function(t,e,r){var n=r(19781),o=r(64664),i=r(3353),a=r(19670),s=r(34948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r.writable){var n=l(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:d in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},31236:function(t,e,r){var n=r(19781),o=r(46916),i=r(55296),a=r(79114),s=r(45656),c=r(34948),u=r(92597),l=r(64664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},1156:function(t,e,r){var n=r(84326),o=r(45656),i=r(8006).f,a=r(41589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==n(t)?function(t){try{return i(t)}catch(e){return a(s)}}(t):i(o(t))}},8006:function(t,e,r){var n=r(16324),o=r(80748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},25181:function(t,e){e.f=Object.getOwnPropertySymbols},79518:function(t,e,r){var n=r(92597),o=r(60614),i=r(47908),a=r(6200),s=r(49920),c=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},47976:function(t,e,r){var n=r(1702);t.exports=n({}.isPrototypeOf)},16324:function(t,e,r){var n=r(1702),o=r(92597),i=r(45656),a=r(41318).indexOf,s=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~a(l,r)||c(l,r));return l}},81956:function(t,e,r){var n=r(16324),o=r(80748);t.exports=Object.keys||function(t){return n(t,o)}},55296:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},27674:function(t,e,r){var n=r(1702),o=r(19670),i=r(96077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(a){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},44699:function(t,e,r){var n=r(19781),o=r(1702),i=r(81956),a=r(45656),s=o(r(55296).f),c=o([].push),u=function(t){return function(e){for(var r,o=a(e),u=i(o),l=u.length,f=0,d=[];l>f;)r=u[f++],n&&!s(o,r)||c(d,t?[r,o[r]]:o[r]);return d}};t.exports={entries:u(!0),values:u(!1)}},90288:function(t,e,r){"use strict";var n=r(51694),o=r(70648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},92140:function(t,e,r){var n=r(46916),o=r(60614),i=r(70111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw a("Can't convert object to primitive value")}},53887:function(t,e,r){var n=r(35005),o=r(1702),i=r(8006),a=r(25181),s=r(19670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?c(e,r(t)):e}},40857:function(t,e,r){var n=r(17854);t.exports=n},12534:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},63702:function(t,e,r){var n=r(17854),o=r(2492),i=r(60614),a=r(54705),s=r(42788),c=r(5112),u=r(7871),l=r(83823),f=r(31913),d=r(7392),p=o&&o.prototype,h=c("species"),v=!1,g=i(n.PromiseRejectionEvent),m=a("Promise",(function(){var t=s(o),e=t!==String(o);if(!e&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[h]=n,!(v=r.then((function(){}))instanceof n))return!0}return!e&&(u||l)&&!g}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:g,SUBCLASSING:v}},2492:function(t,e,r){var n=r(17854);t.exports=n.Promise},69478:function(t,e,r){var n=r(19670),o=r(70111),i=r(78523);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},80612:function(t,e,r){var n=r(2492),o=r(17072),i=r(63702).CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}))}))},2626:function(t,e,r){var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},18572:function(t){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=e},97651:function(t,e,r){var n=r(46916),o=r(19670),i=r(60614),a=r(84326),s=r(22261),c=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var u=n(r,t,e);return null!==u&&o(u),u}if("RegExp"===a(t))return n(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},22261:function(t,e,r){"use strict";var n,o,i=r(46916),a=r(1702),s=r(41340),c=r(67066),u=r(52999),l=r(72309),f=r(70030),d=r(29909).get,p=r(9441),h=r(38173),v=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,m=g,y=a("".charAt),w=a("".indexOf),b=a("".replace),x=a("".slice),S=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),E=u.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(S||O||E||p||h)&&(m=function(t){var e,r,n,o,a,u,l,p=this,h=d(p),_=s(t),T=h.raw;if(T)return T.lastIndex=p.lastIndex,e=i(m,T,_),p.lastIndex=T.lastIndex,e;var k=h.groups,P=E&&p.sticky,j=i(c,p),A=p.source,R=0,C=_;if(P&&(j=b(j,"y",""),-1===w(j,"g")&&(j+="g"),C=x(_,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(_,p.lastIndex-1))&&(A="(?: "+A+")",C=" "+C,R++),r=new RegExp("^(?:"+A+")",j)),O&&(r=new RegExp("^"+A+"$(?!\\s)",j)),S&&(n=p.lastIndex),o=i(g,P?r:p,C),P?o?(o.input=x(o.input,R),o[0]=x(o[0],R),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),O&&o&&o.length>1&&i(v,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=u=f(null),a=0;a<k.length;a++)u[(l=k[a])[0]]=o[l[1]];return o}),t.exports=m},67066:function(t,e,r){"use strict";var n=r(19670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},34706:function(t,e,r){var n=r(46916),o=r(92597),i=r(47976),a=r(67066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||o(t,"flags")||!i(s,t)?e:n(a,t)}},52999:function(t,e,r){var n=r(47293),o=r(17854).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),s=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:function(t,e,r){var n=r(47293),o=r(17854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},38173:function(t,e,r){var n=r(47293),o=r(17854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},84488:function(t,e,r){var n=r(68554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},81150:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},96340:function(t,e,r){"use strict";var n=r(35005),o=r(3070),i=r(5112),a=r(19781),s=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},58003:function(t,e,r){var n=r(3070).f,o=r(92597),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},6200:function(t,e,r){var n=r(72309),o=r(69711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,r){var n=r(17854),o=r(13072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},72309:function(t,e,r){var n=r(31913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:function(t,e,r){var n=r(19670),o=r(39483),i=r(68554),a=r(5112)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||i(r=n(s)[a])?e:o(r)}},28710:function(t,e,r){var n=r(1702),o=r(19303),i=r(41340),a=r(84488),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),d=o(r),p=f.length;return d<0||d>=p?t?"":void 0:(n=c(f,d))<55296||n>56319||d+1===p||(l=c(f,d+1))<56320||l>57343?t?s(f,d):n:t?u(f,d,d+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},76091:function(t,e,r){var n=r(76530).PROPER,o=r(47293),i=r(81361);t.exports=function(t){return o((function(){return!!i[t]()||"​᠎"!=="​᠎"[t]()||n&&i[t].name!==t}))}},53111:function(t,e,r){var n=r(1702),o=r(84488),i=r(41340),a=r(81361),s=n("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},36293:function(t,e,r){var n=r(7392),o=r(47293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},56532:function(t,e,r){var n=r(46916),o=r(35005),i=r(5112),a=r(98052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},2015:function(t,e,r){var n=r(36293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},20261:function(t,e,r){var n,o,i,a,s=r(17854),c=r(22104),u=r(49974),l=r(60614),f=r(92597),d=r(47293),p=r(60490),h=r(50206),v=r(80317),g=r(48053),m=r(6833),y=r(35268),w=s.setImmediate,b=s.clearImmediate,x=s.process,S=s.Dispatch,E=s.Function,O=s.MessageChannel,_=s.String,T=0,k={},P="onreadystatechange";try{n=s.location}catch(L){}var j=function(t){if(f(k,t)){var e=k[t];delete k[t],e()}},A=function(t){return function(){j(t)}},R=function(t){j(t.data)},C=function(t){s.postMessage(_(t),n.protocol+"//"+n.host)};w&&b||(w=function(t){g(arguments.length,1);var e=l(t)?t:E(t),r=h(arguments,1);return k[++T]=function(){c(e,void 0,r)},o(T),T},b=function(t){delete k[t]},y?o=function(t){x.nextTick(A(t))}:S&&S.now?o=function(t){S.now(A(t))}:O&&!m?(a=(i=new O).port2,i.port1.onmessage=R,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(C)?(o=C,s.addEventListener("message",R,!1)):o=P in v("script")?function(t){p.appendChild(v("script")).onreadystatechange=function(){p.removeChild(this),j(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:w,clear:b}},51400:function(t,e,r){var n=r(19303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},45656:function(t,e,r){var n=r(68361),o=r(84488);t.exports=function(t){return n(o(t))}},19303:function(t,e,r){var n=r(74758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},17466:function(t,e,r){var n=r(19303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},47908:function(t,e,r){var n=r(84488),o=Object;t.exports=function(t){return o(n(t))}},57593:function(t,e,r){var n=r(46916),o=r(70111),i=r(52190),a=r(58173),s=r(92140),c=r(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=a(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},34948:function(t,e,r){var n=r(57593),o=r(52190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},51694:function(t,e,r){var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},41340:function(t,e,r){var n=r(70648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},66330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},69711:function(t,e,r){var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},85143:function(t,e,r){var n=r(47293),o=r(5112),i=r(31913),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},43307:function(t,e,r){var n=r(36293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,r){var n=r(19781),o=r(47293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:function(t){var e=TypeError;t.exports=function(t,r){if(t<r)throw e("Not enough arguments");return t}},94811:function(t,e,r){var n=r(17854),o=r(60614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},26800:function(t,e,r){var n=r(40857),o=r(92597),i=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},6061:function(t,e,r){var n=r(5112);e.f=n},5112:function(t,e,r){var n=r(17854),o=r(72309),i=r(92597),a=r(69711),s=r(36293),c=r(43307),u=o("wks"),l=n.Symbol,f=l&&l.for,d=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&i(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):d(e)}return u[t]}},81361:function(t){t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},92222:function(t,e,r){"use strict";var n=r(82109),o=r(47293),i=r(43157),a=r(70111),s=r(47908),c=r(26244),u=r(7207),l=r(86135),f=r(65417),d=r(81194),p=r(5112),h=r(7392),v=p("isConcatSpreadable"),g=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),m=d("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!g||!m},{concat:function(t){var e,r,n,o,i,a=s(this),d=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?a:arguments[e]))for(o=c(i),u(p+o),r=0;r<o;r++,p++)r in i&&l(d,p,i[r]);else u(p+1),l(d,p++,i);return d.length=p,d}})},57327:function(t,e,r){"use strict";var n=r(82109),o=r(42092).filter;n({target:"Array",proto:!0,forced:!r(81194)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},82772:function(t,e,r){"use strict";var n=r(82109),o=r(21470),i=r(41318).indexOf,a=r(9341),s=o([].indexOf),c=!!s&&1/s([1],1,-0)<0,u=a("indexOf");n({target:"Array",proto:!0,forced:c||!u},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?s(this,t,e)||0:i(this,t,e)}})},66992:function(t,e,r){"use strict";var n=r(45656),o=r(51223),i=r(97497),a=r(29909),s=r(3070).f,c=r(51656),u=r(76178),l=r(31913),f=r(19781),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=c(Array,"Array",(function(t,e){p(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(g){}},94986:function(t,e,r){var n=r(82109),o=r(86583);n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},21249:function(t,e,r){"use strict";var n=r(82109),o=r(42092).map;n({target:"Array",proto:!0,forced:!r(81194)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},47042:function(t,e,r){"use strict";var n=r(82109),o=r(43157),i=r(4411),a=r(70111),s=r(51400),c=r(26244),u=r(45656),l=r(86135),f=r(5112),d=r(81194),p=r(50206),h=d("slice"),v=f("species"),g=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var r,n,f,d=u(this),h=c(d),y=s(t,h),w=s(void 0===e?h:e,h);if(o(d)&&(r=d.constructor,(i(r)&&(r===g||o(r.prototype))||a(r)&&null===(r=r[v]))&&(r=void 0),r===g||void 0===r))return p(d,y,w);for(n=new(void 0===r?g:r)(m(w-y,0)),f=0;y<w;y++,f++)y in d&&l(n,f,d[y]);return n.length=f,n}})},2707:function(t,e,r){"use strict";var n=r(82109),o=r(1702),i=r(19662),a=r(47908),s=r(26244),c=r(85117),u=r(41340),l=r(47293),f=r(94362),d=r(9341),p=r(68886),h=r(30256),v=r(7392),g=r(98008),m=[],y=o(m.sort),w=o(m.push),b=l((function(){m.sort(void 0)})),x=l((function(){m.sort(null)})),S=d("sort"),E=!l((function(){if(v)return v<70;if(!(p&&p>3)){if(h)return!0;if(g)return g<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:e+n,v:r})}for(m.sort((function(t,e){return e.v-t.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:b||!x||!S||!E},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(E)return void 0===t?y(e):y(e,t);var r,n,o=[],l=s(e);for(n=0;n<l;n++)n in e&&w(o,e[n]);for(f(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:u(e)>u(r)?1:-1}}(t)),r=s(o),n=0;n<r;)e[n]=o[n++];for(;n<l;)c(e,n++);return e}})},38862:function(t,e,r){var n=r(82109),o=r(35005),i=r(22104),a=r(46916),s=r(1702),c=r(47293),u=r(43157),l=r(60614),f=r(70111),d=r(52190),p=r(50206),h=r(36293),v=o("JSON","stringify"),g=s(/./.exec),m=s("".charAt),y=s("".charCodeAt),w=s("".replace),b=s(1..toString),x=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,O=!h||c((function(){var t=o("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),_=c((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),T=function(t,e){var r=p(arguments),n=e;if((f(e)||void 0!==t)&&!d(t))return u(e)||(e=function(t,e){if(l(n)&&(e=a(n,this,t,e)),!d(e))return e}),r[1]=e,i(v,null,r)},k=function(t,e,r){var n=m(r,e-1),o=m(r,e+1);return g(S,t)&&!g(E,o)||g(E,t)&&!g(S,n)?"\\u"+b(y(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:O||_},{stringify:function(t,e,r){var n=p(arguments),o=i(O?T:v,null,n);return _&&"string"==typeof o?w(o,x,k):o}})},69720:function(t,e,r){var n=r(82109),o=r(44699).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},49337:function(t,e,r){var n=r(82109),o=r(19781),i=r(53887),a=r(45656),s=r(31236),c=r(86135);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=a(t),o=s.f,u=i(n),l={},f=0;u.length>f;)void 0!==(r=o(n,e=u[f++]))&&c(l,e,r);return l}})},29660:function(t,e,r){var n=r(82109),o=r(36293),i=r(47293),a=r(25181),s=r(47908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},41539:function(t,e,r){var n=r(51694),o=r(98052),i=r(90288);n||o(Object.prototype,"toString",i,{unsafe:!0})},70821:function(t,e,r){"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,u=r.reject,l=s((function(){var r=i(e.resolve),a=[],s=0,l=1;c(t,(function(t){var i=s++,c=!1;l++,o(r,e,t).then((function(t){c||(c=!0,a[i]=t,--l||n(a))}),u)})),--l||n(a)}));return l.error&&u(l.value),r.promise}})},94164:function(t,e,r){"use strict";var n=r(82109),o=r(31913),i=r(63702).CONSTRUCTOR,a=r(2492),s=r(35005),c=r(60614),u=r(98052),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&c(a)){var f=s("Promise").prototype.catch;l.catch!==f&&u(l,"catch",f,{unsafe:!0})}},43401:function(t,e,r){"use strict";var n,o,i,a=r(82109),s=r(31913),c=r(35268),u=r(17854),l=r(46916),f=r(98052),d=r(27674),p=r(58003),h=r(96340),v=r(19662),g=r(60614),m=r(70111),y=r(25787),w=r(36707),b=r(20261).set,x=r(95948),S=r(842),E=r(12534),O=r(18572),_=r(29909),T=r(2492),k=r(63702),P=r(78523),j="Promise",A=k.CONSTRUCTOR,R=k.REJECTION_EVENT,C=k.SUBCLASSING,L=_.getterFor(j),I=_.set,N=T&&T.prototype,D=T,M=N,U=u.TypeError,F=u.document,V=u.process,q=P.f,B=q,G=!!(F&&F.createEvent&&u.dispatchEvent),H="unhandledrejection",z=function(t){var e;return!(!m(t)||!g(e=t.then))&&e},W=function(t,e){var r,n,o,i=e.value,a=1==e.state,s=a?t.ok:t.fail,c=t.resolve,u=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===t.promise?u(U("Promise-chain cycle")):(n=z(r))?l(n,r,c,u):c(r)):u(i)}catch(d){f&&!o&&f.exit(),u(d)}},$=function(t,e){t.notified||(t.notified=!0,x((function(){for(var r,n=t.reactions;r=n.get();)W(r,t);t.notified=!1,e&&!t.rejection&&K(t)})))},J=function(t,e,r){var n,o;G?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!R&&(o=u["on"+t])?o(n):t===H&&S("Unhandled promise rejection",r)},K=function(t){l(b,u,(function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=E((function(){c?V.emit("unhandledRejection",n,r):J(H,r,n)})),t.rejection=c||Y(t)?2:1,e.error))throw e.value}))},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){l(b,u,(function(){var e=t.facade;c?V.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,$(t,!0))},tt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw U("Promise can't be resolved itself");var n=z(e);n?x((function(){var r={done:!1};try{l(n,e,Q(tt,r,t),Q(Z,r,t))}catch(o){Z(r,o,t)}})):(t.value=e,t.state=1,$(t,!1))}catch(o){Z({done:!1},o,t)}}};if(A&&(M=(D=function(t){y(this,M),v(t),l(n,this);var e=L(this);try{t(Q(tt,e),Q(Z,e))}catch(r){Z(e,r)}}).prototype,(n=function(t){I(this,{type:j,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:void 0})}).prototype=f(M,"then",(function(t,e){var r=L(this),n=q(w(this,D));return r.parent=!0,n.ok=!g(t)||t,n.fail=g(e)&&e,n.domain=c?V.domain:void 0,0==r.state?r.reactions.add(n):x((function(){W(n,r)})),n.promise})),o=function(){var t=new n,e=L(t);this.promise=t,this.resolve=Q(tt,e),this.reject=Q(Z,e)},P.f=q=function(t){return t===D||undefined===t?new o(t):B(t)},!s&&g(T)&&N!==Object.prototype)){i=N.then,C||f(N,"then",(function(t,e){var r=this;return new D((function(t,e){l(i,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete N.constructor}catch(et){}d&&d(N,M)}a({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:D}),p(D,j,!1,!0),h(j)},88674:function(t,e,r){r(43401),r(70821),r(94164),r(6027),r(60683),r(96294)},6027:function(t,e,r){"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{race:function(t){var e=this,r=a.f(e),n=r.reject,u=s((function(){var a=i(e.resolve);c(t,(function(t){o(a,e,t).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},60683:function(t,e,r){"use strict";var n=r(82109),o=r(46916),i=r(78523);n({target:"Promise",stat:!0,forced:r(63702).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return o(e.reject,void 0,t),e.promise}})},96294:function(t,e,r){"use strict";var n=r(82109),o=r(35005),i=r(31913),a=r(2492),s=r(63702).CONSTRUCTOR,c=r(69478),u=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(t){return c(l&&this===u?a:this,t)}})},24603:function(t,e,r){var n=r(19781),o=r(17854),i=r(1702),a=r(54705),s=r(79587),c=r(68880),u=r(8006).f,l=r(47976),f=r(47850),d=r(41340),p=r(34706),h=r(52999),v=r(2626),g=r(98052),m=r(47293),y=r(92597),w=r(29909).enforce,b=r(96340),x=r(5112),S=r(9441),E=r(38173),O=x("match"),_=o.RegExp,T=_.prototype,k=o.SyntaxError,P=i(T.exec),j=i("".charAt),A=i("".replace),R=i("".indexOf),C=i("".slice),L=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,N=/a/g,D=new _(I)!==I,M=h.MISSED_STICKY,U=h.UNSUPPORTED_Y,F=n&&(!D||M||S||E||m((function(){return N[O]=!1,_(I)!=I||_(N)==N||"/a/i"!=_(I,"i")})));if(a("RegExp",F)){for(var V=function(t,e){var r,n,o,i,a,u,h=l(T,this),v=f(t),g=void 0===e,m=[],b=t;if(!h&&v&&g&&t.constructor===V)return t;if((v||l(T,t))&&(t=t.source,g&&(e=p(b))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),b=t,S&&"dotAll"in I&&(n=!!e&&R(e,"s")>-1)&&(e=A(e,/s/g,"")),r=e,M&&"sticky"in I&&(o=!!e&&R(e,"y")>-1)&&U&&(e=A(e,/y/g,"")),E&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a={},s=!1,c=!1,u=0,l="";n<=r;n++){if("\\"===(e=j(t,n)))e+=j(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:P(L,C(t,n+1))&&(n+=2,c=!0),o+=e,u++;continue;case">"===e&&c:if(""===l||y(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,u],c=!1,l="";continue}c?l+=e:o+=e}return[o,i]}(t),t=i[0],m=i[1]),a=s(_(t,e),h?this:T,V),(n||o||m.length)&&(u=w(a),n&&(u.dotAll=!0,u.raw=V(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=j(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+j(t,++n);return o}(t),r)),o&&(u.sticky=!0),m.length&&(u.groups=m)),t!==b)try{c(a,"source",""===b?"(?:)":b)}catch(x){}return a},q=u(_),B=0;q.length>B;)v(V,_,q[B++]);T.constructor=V,V.prototype=T,g(o,"RegExp",V,{constructor:!0})}b("RegExp")},74916:function(t,e,r){"use strict";var n=r(82109),o=r(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},88386:function(t,e,r){var n=r(19781),o=r(52999).MISSED_STICKY,i=r(84326),a=r(47045),s=r(29909).get,c=RegExp.prototype,u=TypeError;n&&o&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!s(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},77601:function(t,e,r){"use strict";r(74916);var n,o,i=r(82109),a=r(46916),s=r(60614),c=r(19670),u=r(41340),l=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=c(this),r=u(t),n=e.exec;if(!s(n))return a(f,e,r);var o=a(n,e,r);return null!==o&&(c(o),!0)}})},39714:function(t,e,r){"use strict";var n=r(76530).PROPER,o=r(98052),i=r(19670),a=r(41340),s=r(47293),c=r(34706),u="toString",l=RegExp.prototype.toString,f=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=n&&l.name!=u;(f||d)&&o(RegExp.prototype,u,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(c(t))}),{unsafe:!0})},4723:function(t,e,r){"use strict";var n=r(46916),o=r(27007),i=r(19670),a=r(68554),s=r(17466),c=r(41340),u=r(84488),l=r(58173),f=r(31530),d=r(97651);o("match",(function(t,e,r){return[function(e){var r=u(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](c(r))},function(t){var n=i(this),o=c(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return d(n,o);var u=n.unicode;n.lastIndex=0;for(var l,p=[],h=0;null!==(l=d(n,o));){var v=c(l[0]);p[h]=v,""===v&&(n.lastIndex=f(o,s(n.lastIndex),u)),h++}return 0===h?null:p}]}))},15306:function(t,e,r){"use strict";var n=r(22104),o=r(46916),i=r(1702),a=r(27007),s=r(47293),c=r(19670),u=r(60614),l=r(68554),f=r(19303),d=r(17466),p=r(41340),h=r(84488),v=r(31530),g=r(58173),m=r(10647),y=r(97651),w=r(5112)("replace"),b=Math.max,x=Math.min,S=i([].concat),E=i([].push),O=i("".indexOf),_=i("".slice),T="$0"==="a".replace(/./,"$0"),k=!!/./[w]&&""===/./[w]("a","$0");a("replace",(function(t,e,r){var i=k?"$":"$0";return[function(t,r){var n=h(this),i=l(t)?void 0:g(t,w);return i?o(i,t,n,r):o(e,p(n),t,r)},function(t,o){var a=c(this),s=p(t);if("string"==typeof o&&-1===O(o,i)&&-1===O(o,"$<")){var l=r(e,a,s,o);if(l.done)return l.value}var h=u(o);h||(o=p(o));var g=a.global;if(g){var w=a.unicode;a.lastIndex=0}for(var T=[];;){var k=y(a,s);if(null===k)break;if(E(T,k),!g)break;""===p(k[0])&&(a.lastIndex=v(s,d(a.lastIndex),w))}for(var P,j="",A=0,R=0;R<T.length;R++){for(var C=p((k=T[R])[0]),L=b(x(f(k.index),s.length),0),I=[],N=1;N<k.length;N++)E(I,void 0===(P=k[N])?P:String(P));var D=k.groups;if(h){var M=S([C],I,L,s);void 0!==D&&E(M,D);var U=p(n(o,void 0,M))}else U=m(C,s,L,I,D,o);L>=A&&(j+=_(s,A,L)+U,A=L+C.length)}return j+_(s,A)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!T||k)},64765:function(t,e,r){"use strict";var n=r(46916),o=r(27007),i=r(19670),a=r(68554),s=r(84488),c=r(81150),u=r(41340),l=r(58173),f=r(97651);o("search",(function(t,e,r){return[function(e){var r=s(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](u(r))},function(t){var n=i(this),o=u(t),a=r(e,n,o);if(a.done)return a.value;var s=n.lastIndex;c(s,0)||(n.lastIndex=0);var l=f(n,o);return c(n.lastIndex,s)||(n.lastIndex=s),null===l?-1:l.index}]}))},23123:function(t,e,r){"use strict";var n=r(22104),o=r(46916),i=r(1702),a=r(27007),s=r(19670),c=r(68554),u=r(47850),l=r(84488),f=r(36707),d=r(31530),p=r(17466),h=r(41340),v=r(58173),g=r(41589),m=r(97651),y=r(22261),w=r(52999),b=r(47293),x=w.UNSUPPORTED_Y,S=4294967295,E=Math.min,O=[].push,_=i(/./.exec),T=i(O),k=i("".slice),P=!b((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=h(l(this)),a=void 0===r?S:r>>>0;if(0===a)return[];if(void 0===t)return[i];if(!u(t))return o(e,i,t,a);for(var s,c,f,d=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=new RegExp(t.source,p+"g");(s=o(y,m,i))&&!((c=m.lastIndex)>v&&(T(d,k(i,v,s.index)),s.length>1&&s.index<i.length&&n(O,d,g(s,1)),f=s[0].length,v=c,d.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return v===i.length?!f&&_(m,"")||T(d,""):T(d,k(i,v)),d.length>a?g(d,0,a):d}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:o(e,this,t,r)}:e,[function(e,r){var n=l(this),a=c(e)?void 0:v(e,t);return a?o(a,e,n,r):o(i,h(n),e,r)},function(t,n){var o=s(this),a=h(t),c=r(i,o,a,n,i!==e);if(c.done)return c.value;var u=f(o,RegExp),l=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(x?"g":"y"),g=new u(x?"^(?:"+o.source+")":o,v),y=void 0===n?S:n>>>0;if(0===y)return[];if(0===a.length)return null===m(g,a)?[a]:[];for(var w=0,b=0,O=[];b<a.length;){g.lastIndex=x?0:b;var _,P=m(g,x?k(a,b):a);if(null===P||(_=E(p(g.lastIndex+(x?b:0)),a.length))===w)b=d(a,b,l);else{if(T(O,k(a,w,b)),O.length===y)return O;for(var j=1;j<=P.length-1;j++)if(T(O,P[j]),O.length===y)return O;b=w=_}}return T(O,k(a,w)),O}]}),!P,x)},73210:function(t,e,r){"use strict";var n=r(82109),o=r(53111).trim;n({target:"String",proto:!0,forced:r(76091)("trim")},{trim:function(){return o(this)}})},4032:function(t,e,r){"use strict";var n=r(82109),o=r(17854),i=r(46916),a=r(1702),s=r(31913),c=r(19781),u=r(36293),l=r(47293),f=r(92597),d=r(47976),p=r(19670),h=r(45656),v=r(34948),g=r(41340),m=r(79114),y=r(70030),w=r(81956),b=r(8006),x=r(1156),S=r(25181),E=r(31236),O=r(3070),_=r(36048),T=r(55296),k=r(98052),P=r(72309),j=r(6200),A=r(3501),R=r(69711),C=r(5112),L=r(6061),I=r(26800),N=r(56532),D=r(58003),M=r(29909),U=r(42092).forEach,F=j("hidden"),V="Symbol",q=M.set,B=M.getterFor(V),G=Object.prototype,H=o.Symbol,z=H&&H.prototype,W=o.TypeError,$=o.QObject,J=E.f,K=O.f,Y=x.f,X=T.f,Q=a([].push),Z=P("symbols"),tt=P("op-symbols"),et=P("wks"),rt=!$||!$.prototype||!$.prototype.findChild,nt=c&&l((function(){return 7!=y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=J(G,e);n&&delete G[e],K(t,e,r),n&&t!==G&&K(G,e,n)}:K,ot=function(t,e){var r=Z[t]=y(z);return q(r,{type:V,tag:t,description:e}),c||(r.description=e),r},it=function(t,e,r){t===G&&it(tt,e,r),p(t);var n=v(e);return p(r),f(Z,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=y(r,{enumerable:m(0,!1)})):(f(t,F)||K(t,F,m(1,{})),t[F][n]=!0),nt(t,n,r)):K(t,n,r)},at=function(t,e){p(t);var r=h(e),n=w(r).concat(lt(r));return U(n,(function(e){c&&!i(st,r,e)||it(t,e,r[e])})),t},st=function(t){var e=v(t),r=i(X,this,e);return!(this===G&&f(Z,e)&&!f(tt,e))&&(!(r||!f(this,e)||!f(Z,e)||f(this,F)&&this[F][e])||r)},ct=function(t,e){var r=h(t),n=v(e);if(r!==G||!f(Z,n)||f(tt,n)){var o=J(r,n);return!o||!f(Z,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},ut=function(t){var e=Y(h(t)),r=[];return U(e,(function(t){f(Z,t)||f(A,t)||Q(r,t)})),r},lt=function(t){var e=t===G,r=Y(e?tt:h(t)),n=[];return U(r,(function(t){!f(Z,t)||e&&!f(G,t)||Q(n,Z[t])})),n};u||(H=function(){if(d(z,this))throw W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=R(t),r=function(t){this===G&&i(r,tt,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),nt(this,e,m(1,t))};return c&&rt&&nt(G,e,{configurable:!0,set:r}),ot(e,t)},k(z=H.prototype,"toString",(function(){return B(this).tag})),k(H,"withoutSetter",(function(t){return ot(R(t),t)})),T.f=st,O.f=it,_.f=at,E.f=ct,b.f=x.f=ut,S.f=lt,L.f=function(t){return ot(C(t),t)},c&&(K(z,"description",{configurable:!0,get:function(){return B(this).description}}),s||k(G,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),U(w(et),(function(t){I(t)})),n({target:V,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?y(t):at(y(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ut}),N(),D(H,V),A[F]=!0},40763:function(t,e,r){var n=r(82109),o=r(35005),i=r(92597),a=r(41340),s=r(72309),c=r(2015),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(i(u,e))return u[e];var r=o("Symbol")(e);return u[e]=r,l[r]=e,r}})},82526:function(t,e,r){r(4032),r(40763),r(26620),r(38862),r(29660)},26620:function(t,e,r){var n=r(82109),o=r(92597),i=r(52190),a=r(66330),s=r(72309),c=r(2015),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t]}})},54747:function(t,e,r){var n=r(17854),o=r(48324),i=r(98509),a=r(18533),s=r(68880),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&c(n[u]&&n[u].prototype);c(i)},33948:function(t,e,r){var n=r(17854),o=r(48324),i=r(98509),a=r(66992),s=r(68880),c=r(5112),u=c("iterator"),l=c("toStringTag"),f=a.values,d=function(t,e){if(t){if(t[u]!==f)try{s(t,u,f)}catch(n){t[u]=f}if(t[l]||s(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(n){t[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},65556:function(t,e,r){"use strict";r(66992);var n=r(82109),o=r(17854),i=r(46916),a=r(1702),s=r(19781),c=r(85143),u=r(98052),l=r(89190),f=r(58003),d=r(63061),p=r(29909),h=r(25787),v=r(60614),g=r(92597),m=r(49974),y=r(70648),w=r(19670),b=r(70111),x=r(41340),S=r(70030),E=r(79114),O=r(18554),_=r(71246),T=r(48053),k=r(5112),P=r(94362),j=k("iterator"),A="URLSearchParams",R="URLSearchParamsIterator",C=p.set,L=p.getterFor(A),I=p.getterFor(R),N=Object.getOwnPropertyDescriptor,D=function(t){if(!s)return o[t];var e=N(o,t);return e&&e.value},M=D("fetch"),U=D("Request"),F=D("Headers"),V=U&&U.prototype,q=F&&F.prototype,B=o.RegExp,G=o.TypeError,H=o.decodeURIComponent,z=o.encodeURIComponent,W=a("".charAt),$=a([].join),J=a([].push),K=a("".replace),Y=a([].shift),X=a([].splice),Q=a("".split),Z=a("".slice),tt=/\+/g,et=Array(4),rt=function(t){return et[t-1]||(et[t-1]=B("((?:%[\\da-f]{2}){"+t+"})","gi"))},nt=function(t){try{return H(t)}catch(e){return t}},ot=function(t){var e=K(t,tt," "),r=4;try{return H(e)}catch(n){for(;r;)e=K(e,rt(r--),nt);return e}},it=/[!'()~]|%20/g,at={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return at[t]},ct=function(t){return K(z(t),it,st)},ut=d((function(t,e){C(this,{type:R,iterator:O(L(t).entries),kind:e})}),"Iterator",(function(){var t=I(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),!0),lt=function(t){this.entries=[],this.url=null,void 0!==t&&(b(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===W(t,0)?Z(t,1):t:x(t)))};lt.prototype={type:A,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,a,s,c,u=_(t);if(u)for(r=(e=O(t,u)).next;!(n=i(r,e)).done;){if(a=(o=O(w(n.value))).next,(s=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw G("Expected sequence with length 2");J(this.entries,{key:x(s.value),value:x(c.value)})}else for(var l in t)g(t,l)&&J(this.entries,{key:l,value:x(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=Q(t,"&"),o=0;o<n.length;)(e=n[o++]).length&&(r=Q(e,"="),J(this.entries,{key:ot(Y(r)),value:ot($(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],J(r,ct(t.key)+"="+ct(t.value));return $(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ft=function(){h(this,dt);var t=arguments.length>0?arguments[0]:void 0;C(this,new lt(t))},dt=ft.prototype;if(l(dt,{append:function(t,e){T(arguments.length,2);var r=L(this);J(r.entries,{key:x(t),value:x(e)}),r.updateURL()},delete:function(t){T(arguments.length,1);for(var e=L(this),r=e.entries,n=x(t),o=0;o<r.length;)r[o].key===n?X(r,o,1):o++;e.updateURL()},get:function(t){T(arguments.length,1);for(var e=L(this).entries,r=x(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){T(arguments.length,1);for(var e=L(this).entries,r=x(t),n=[],o=0;o<e.length;o++)e[o].key===r&&J(n,e[o].value);return n},has:function(t){T(arguments.length,1);for(var e=L(this).entries,r=x(t),n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){T(arguments.length,1);for(var r,n=L(this),o=n.entries,i=!1,a=x(t),s=x(e),c=0;c<o.length;c++)(r=o[c]).key===a&&(i?X(o,c--,1):(i=!0,r.value=s));i||J(o,{key:a,value:s}),n.updateURL()},sort:function(){var t=L(this);P(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=L(this).entries,n=m(t,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new ut(this,"keys")},values:function(){return new ut(this,"values")},entries:function(){return new ut(this,"entries")}},{enumerable:!0}),u(dt,j,dt.entries,{name:"entries"}),u(dt,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),f(ft,A),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:ft}),!c&&v(F)){var pt=a(q.has),ht=a(q.set),vt=function(t){if(b(t)){var e,r=t.body;if(y(r)===A)return e=t.headers?new F(t.headers):new F,pt(e,"content-type")||ht(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(t,{body:E(0,x(r)),headers:E(0,e)})}return t};if(v(M)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return M(t,arguments.length>1?vt(arguments[1]):{})}}),v(U)){var gt=function(t){return h(this,V),new U(t,arguments.length>1?vt(arguments[1]):{})};V.constructor=gt,gt.prototype=V,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:gt})}}t.exports={URLSearchParams:ft,getState:L}},41637:function(t,e,r){r(65556)},17061:function(t,e,r){var n=r(18698).default;function o(){"use strict";t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(R){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),s=new P(n||[]);return a(i,"_invoke",{value:O(t,r,s)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=d;var h={};function v(){}function g(){}function m(){}var y={};f(y,c,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(j([])));b&&b!==r&&i.call(b,c)&&(y=b);var x=m.prototype=v.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,s,c){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=p(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=p(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return g.prototype=m,a(x,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:g,configurable:!0}),g.displayName=f(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,f(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),f(E.prototype,u,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=j,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},18698:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},64687:function(t,e,r){var n=r(17061)();t.exports=n;try{regeneratorRuntime=n}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";r(82526),r(57327),r(49337);function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r(74916),r(23123),r(64765),r(41539),r(82772),r(47042),r(92222),r(21249),r(2707),r(38862),r(94986),r(54747),r(88674);function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(r){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach((function(e){t(r,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}))}return r}var o="AudienceProjectData",i="@audienceproject/data-web",a="1.3.1",s={},c="INITIAL",u="RUNNING",l="READY",f="FAILED",d={state:c},p={moduleName:o,packageName:i,packageVersion:a,fetchCache:s,fetchStateInitial:c,fetchStateRunning:u,fetchStateReady:l,fetchStateFailed:f,fetchStatus:d,fetch:function(t,e,r){if("string"!=typeof t||!t)throw new Error("Invalid customer ID");var c,p,h=n(n({allowStorageAccess:!0,allowPersonalisation:!0,gdprApplies:null,consentString:"",integrateWithCmp:!1,waitForCmpConsent:!1,requestParams:{},timeout:1e3,addStatusKey:!1,cacheType:"",cacheKey:"url,allowPersonalisation,requestParams",cacheTime:86400,requestDomains:{regular:"pdw-usr.userreport.com",nonPersonalised:"dnt-userreport.com"},debug:!1},e),(p="__audienceProjectDataFetchOptions=",window.location.search.split(/[?&]/).some((function(t){var e=0===t.indexOf(p);if(e){var r=t.slice(p.length);try{c=JSON.parse(decodeURIComponent(r))}catch(n){}}return e})),c)),v=function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return h.debug&&(null===(t=console)||void 0===t?void 0:t.log.apply(t,["[".concat(o,"]")].concat(r)))};v("Fetch called…"),v("Version:",a),v("Customer ID:",t),v("Customer options:",e),v("Fetch options:",h);var g,m=function(t){try{return JSON.parse(t)}catch(e){return}},y=function(){return function(t){for(var e=0,r=t.length,n=0;n<r;n+=1)e=(e<<5)-e+t.charCodeAt(n),e&=e;return e}(h.cacheKey.split(/\s*,\s*/).sort().map((function(t){if("url"===t)return window.location.pathname.slice(1)+window.location.search;if("allowPersonalisation"===t)return h.allowPersonalisation?"":0;if("requestParams"===t){var e=JSON.stringify(h.requestParams);return"{}"===e?"":e}return""})).join(""))},w=localStorage,b="apr_sref",x="apr_data_cache",S=function(t){if(h.allowStorageAccess){var e;try{e=w[t]}catch(r){}return e&&0===e.indexOf("{")&&e.lastIndexOf("}")===e.length-1?m(e):e}},E=function(t,e){if(h.allowStorageAccess){var r="object"==typeof e?JSON.stringify(e):e;try{w[t]=r}catch(n){}}},O=Math.round((new Date).getTime()/1e3),_=function(){return"localStorage"!==h.cacheType||function(){if(!h.allowStorageAccess)return!1;var t="apr_check_access@".concat(Math.random());try{w[t]=t;var e=w[t]===t;return delete w[t],e}catch(r){}return!1}()?h.cacheType:"memory"},T=new XMLHttpRequest,k=function(e,r){v("Reading prediction from API…");var n=["med",window.location.href];document.referrer&&n.push("ref",document.referrer);var o=S(b);if(o&&n.push("sref",o),h.allowPersonalisation){var s=S("apr_dsu");s&&n.push("dsu",s)}"boolean"==typeof h.gdprApplies&&n.push("gdpr",Number(h.gdprApplies)),h.consentString&&n.push("gdpr_consent",h.consentString),n.push("appid","".concat(i,":").concat(a));!function t(e,r){Object.keys(e).forEach((function(o){var i=e[o];if(void 0!==i){var a,s=r+o;a=i,"[object Array]"===Object.prototype.toString.call(a)?i.forEach((function(t){n.push(s,t)})):"object"==typeof i?t(i,"".concat(s,"_")):n.push(s,i)}}))}(h.requestParams,"");var c=h.allowPersonalisation?h.requestDomains.regular:h.requestDomains.nonPersonalised,u="https://".concat(c,"/api/v2/partner/").concat(encodeURIComponent(t),"/uid");return n.forEach((function(t,e){u+=(e%2?"=":e?"&":"?")+encodeURIComponent(t)})),function(t,e,r){v("API request:",t),T.onreadystatechange=function(){if(T.readyState===XMLHttpRequest.DONE)if(200===T.status){var t=m(T.responseText);v("API response:",t),e(t)}else v("API failed with code:",T.status),r()},T.open("GET",t,!0),T.withCredentials=h.allowPersonalisation,T.send()}(u,e,r)},P=[];return"function"==typeof r&&P.push(r),function(){var t;d.state=u,delete d.result,delete d.options;var e=!1,r=function(r,o){if(!e){e=!0,function(t,e){h.addStatusKey&&(v("Updating status fields…"),t.keyValues=t.keyValues||{},t.keyValues.ap_ds=String(e))}(r,o.code);var i=n({type:o.value},r);d.state=parseInt(o.code,10)>0?l:f,d.result=i,d.options=h,function(t){clearTimeout(t);var e=(new Date).getTime()-g;v("Timeout ended:",e,"ms")}(t),T.abort(),v("Callback result:",i),P.forEach((function(t){t(i)}))}};!function(t){if(h.integrateWithCmp)if(v("Checking CMP…"),"function"==typeof __tcfapi){v("Using TCF 2.0 API…");var e=function(t){if(h.gdprApplies=Boolean(t.gdprApplies),h.consentString=t.tcString||"",h.gdprApplies){var e,r,n,o,i,a,s=null===(e=t.vendor)||void 0===e||null===(r=e.consents)||void 0===r?void 0:r[394];h.allowStorageAccess=Boolean(s&&(null===(n=t.purpose)||void 0===n||null===(o=n.consents)||void 0===o?void 0:o[1])),h.allowPersonalisation=Boolean(s&&(null===(i=t.purpose)||void 0===i||null===(a=i.consents)||void 0===a?void 0:a[3]))}v("Options after CMP override:",h)},r=function(t,e){__tcfapi(t,2,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];v.apply(void 0,["TCF response:"].concat(r)),e.apply(void 0,r)}),[394])},n=function n(o){"tcloaded"!==o.eventStatus&&"useractioncomplete"!==o.eventStatus||(r("removeEventListener",n),e(o),t())};r("getTCData",(function(o){if(!h.waitForCmpConsent||!o.gdprApplies||"tcloaded"===o.eventStatus||"useractioncomplete"===o.eventStatus)return e(o),void t();v("Adding TCF consent listener…"),r("addEventListener",n)}))}else v("No TCF 2.0 API found…");else t()}((function(){var e={value:"TIMEOUT",code:-2},n={value:"BACKEND_ERROR",code:-1},o=h.allowPersonalisation?{value:"RETURNED",code:1}:{value:"RETURNED_ANONYMOUS",code:"1a"},i=h.allowPersonalisation?{value:"RETURNED_FROM_CACHE",code:2}:{value:"RETURNED_ANONYMOUS_FROM_CACHE",code:"2a"};return t=function(t){if(h.timeout)return v("Timeout started…"),g=(new Date).getTime(),setTimeout(t,h.timeout)}((function(){r({},e)})),function(){if(h.allowPersonalisation){v("Checking session referrer…");var t="".concat(window.location.protocol,"//").concat(window.location.host,"/");document.referrer&&0!==document.referrer.indexOf(t)&&(v("Session referrer updated:",document.referrer),E(b,document.referrer))}}(),function(t,e){var r,n=_();if(!n)return e();v("Reading prediction from cache…");var o=y();return"localStorage"===n?(v("Reading prediction from local storage key:",o),r=S(x)):"memory"===n&&(v("Reading prediction from memory key:",o),r=s[o]),"object"!=typeof r?e():r.ttl+h.cacheTime<O||r.hash!==o?(v("Cached prediction expired…"),e()):(v("Cached prediction:",r.data),t(r.data))}((function(t){r(t,i)}),(function(){return k((function(t){!function(t){var e=_();if(e){v("Saving prediction to cache…");var r=y(),n={data:t,ttl:O,hash:r};"localStorage"===e?E(x,n):"memory"===e&&(s[r]=n)}}(t),r(t,o)}),(function(){r({},n)}))}))}))}(),{promise:function(){return new Promise((function(t){v("Promise called…"),P.push(t)}))}}},utils:{sendDataToGooglePublisherTag:function(t){window.googletag=window.googletag||{cmd:[]};var e=function(){Object.keys(t.keyValues).forEach((function(e){window.googletag.pubads().setTargeting(e,t.keyValues[e])}))};window.googletag.cmd.unshift?window.googletag.cmd.unshift(e):window.googletag.cmd.push(e)}}},h={log(){if(1===parseInt(this.getCookie("debug"),10)){for(var t,e=["color: #fff","font-weight: 800","background-color: #976F2A","font-size: 120%","padding: 2px 0 2px 2px"].join("; "),r=["color: black","font-weight: normal","background-color: white","font-size: 100%","padding: 0"].join("; "),n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];(t=console).log.apply(t,["%cMartini%c",e,r].concat(o))}},getCookie(t){for(var e="".concat(t,"="),r=document.cookie.split(";"),n=0;n<r.length;n+=1){for(var o=r[n];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return""}},v={runningTimers:{},timerPositions:{},timerCount:{},advertRefreshTime:16,acceptableViewability:50,browserFocus:!0,browserSetup:!1,timer(t,e){this.browserSetup||(this.browserSetup=!0,this.setFocusListeners()),this.checkName(t)?this.checkFocus()?(h.log("DFP - running for ".concat(t," at ").concat(e," percent")),e>=this.acceptableViewability?this.startTimer(t):this.pauseTimer(t)):h.log("DFP - Browser is not focused, ignoring ".concat(t)):h.log("DFP - Ignoring ".concat(t))},pauseTimer(t){h.log("DFP - pausing timer for ".concat(t)),clearTimeout(this.runningTimers[t]),this.runningTimers[t]=null},startTimer(t){var e=this;t in this.timerPositions||(this.timerPositions[t]=0),t in this.runningTimers||(this.runningTimers[t]=null),t in this.timerCount||(this.timerCount[t]=1),"number"!=typeof this.runningTimers[t]?(h.log("DFP - (re)starting a timer for ".concat(t)),this.runningTimers[t]=window.setTimeout((function(){e.updateTimer(t)}),1e3)):h.log("DFP - Timer for ".concat(t," already running"))},updateTimer(t){var e=this;if(!this.checkFocus())return h.log("DFP - Browser is not focused, pausing timer for ".concat(t)),void this.pauseTimer(t);if(!this.checkRefresh(t))return h.log("DFP - advert has no-refresh dom attribute, pausing timer for ".concat(t)),void this.pauseTimer(t);var r=this.timerPositions[t];if(r+=1,h.log("DFP - updating ".concat(t," to ").concat(r," seconds")),r>this.advertRefreshTime)return this.resetTimer(t),void this.refreshAdvert(t);this.timerPositions[t]=r,this.runningTimers[t]=window.setTimeout((function(){e.updateTimer(t)}),1e3)},refreshAdvert(t){h.log("DFP - Refreshing ".concat(t));var e=this.timerCount[t];h.log("DFP - setting rfs to ".concat(e," for ").concat(t)),window.dfpHolder[t].setTargeting("rfs",e),window.pbjs.rp.requestBids({callback:this.refreshAdvertCallback,gptSlotObjects:[window.dfpHolder[t]]}),this.timerCount[t]+=1},refreshAdvertCallback(t){window.googletag.pubads().refresh(t)},resetTimer(t){this.pauseTimer(t),this.timerPositions[t]=0},checkName(t){switch(t){case"DFP_top_leaderboard":case"DFP_article_fluid_1":case"DFP_teads":case"DFP_out_of_page":case"DFP_on_scroll":case"DFP_standard_mpu_3":case"DFP_standard_mpu_4":case"DFP_standard_mpu_5":case"DFP_standard_mpu_6":case"DFP_standard_mpu_7":case"DFP_gallery_mpu":case"DFP_gallery_interstitial":return!1;default:return!0}},checkFocus(){return this.browserFocus},setFocusListeners(){var t=this;window.addEventListener("focus",(function(){t.setFocused()}),!1),window.addEventListener("blur",(function(){t.setBlurred()}),!1)},setFocused(){h.log("DFP - Browser focused"),this.browserFocus=!0},setBlurred(){h.log("DFP - Browser blurred"),this.browserFocus=!1},checkRefresh(t){h.log("Checking DOM for no-refresh on ".concat(t));var e=document.getElementById(t).classList.contains("no-refresh");return h.log("Does ".concat(t," contain 'no-refresh'? ").concat(e)),!e}};function g(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(u){return void r(u)}s.done?e(c):Promise.resolve(c).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,s,"next",t)}function s(t){g(i,n,o,a,s,"throw",t)}a(void 0)}))}}r(69720),r(15306);var y=r(64687),w=r.n(y),b=(r(35129),r(35129),r(39714),r(24603),r(88386),r(73210),{modalSelector:{container:"mar-modal-container",inner:"mar-modal",dialog:"mar-modal__dialog",header:"mar-modal__header",title:"mar-modal__title",body:"mar-modal__body",actions:"mar-modal__actions",animateOut:"mar-modal-container--animate-out",animateOutLayout:"mar-modal-container--animate-out-layout",submitBtn:'[data-uses-js="modal-submit"]',cancelBtn:'[data-uses-js="modal-cancel"]'},hiddenSelector:"visually-hidden",noScrollSelector:"no-scroll",bodyContentSelector:"takeover",openSelector:'[data-uses-js="open-modal"]',closeSelector:'[data-uses-js="close-modal"]',modalVariants:["sm","md","lg"],sourceContent:null,customClass:null,init(){h.log("modal has been inititated"),document.querySelector(this.openSelector)&&this.bind()},bind(){var t=this;document.addEventListener("click",(function(e){e.target.closest(t.openSelector)&&(t.toggleModal(!0),t.renderModalSize({btnElement:e.target.closest(t.openSelector),open:!0}),t.toggleModalName({btnElement:e.target.closest(t.openSelector),add:!0})),e.target.closest(t.closeSelector)&&t.close(),e.target.closest(t.modalSelector.cancelBtn)&&t.close()}))},open(t){var e=this;return m(w().mark((function r(){var n,o,i,a,s,c,u;return w().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=t.size,o=t.heading,i=t.source,a=t.content,s=t.btnElement,c=t.btnSecondary,u=t.customClass,e.toggleModal(!0),e.renderModalSize({open:!0,btnElement:s,size:n}),e.renderContent({heading:o,source:i,content:a,btnElement:s,btnSecondary:c,customClass:u}),i&&(document.querySelector(".".concat(e.modalSelector.container)).dataset.source=i);case 5:case"end":return r.stop()}}),r)})))()},close(){this.toggleModal(!1),this.renderModalSize({open:!1}),this.toggleModalName({add:!1}),this.destroyContent(document.querySelector(".".concat(this.modalSelector.container)).dataset.source)},toggleModal(t){var e=this,r=document.querySelector("body"),n=document.querySelector(".".concat(this.modalSelector.container)),o=document.getElementById(this.bodyContentSelector);t?(requestAnimationFrame((function(){n.classList.remove(e.hiddenSelector)})),n.classList.remove(this.modalSelector.animateOut),r.classList.add(this.noScrollSelector)):(n.classList.add(this.modalSelector.animateOut),r.classList.remove(this.noScrollSelector),o.classList.add(this.modalSelector.animateOutLayout),requestAnimationFrame((function(){o.classList.remove(e.modalSelector.animateOutLayout),n.classList.add(e.hiddenSelector)})))},renderModalSize(t){var e=this,r=t.btnElement,n=t.open,o=t.variants,i=void 0===o?this.modalVariants:o,a=t.size,s=document.querySelector(".".concat(this.modalSelector.container)),c=s.querySelector(".".concat(this.modalSelector.inner));if(n){if(!s)return;var u=a||r.dataset.modalSize,l="".concat(this.modalSelector.inner,"--").concat(u);c.classList.contains(l)||c.classList.add(l)}else{if(!i.length)return;i.forEach((function(t){var r="".concat(e.modalSelector.inner,"--").concat(t);c.classList.contains(r)&&c.classList.remove(r)}))}},renderContent(t){var e=t.heading,r=t.source,n=t.content,o=t.btnElement,i=t.btnSecondary,a=t.customClass,s=document.querySelector(".".concat(this.modalSelector.container)),c=s.querySelector(".".concat(this.modalSelector.header)),u=s.querySelector(".".concat(this.modalSelector.title)),l=s.querySelector(".".concat(this.modalSelector.body)),f=s.querySelector(this.modalSelector.submitBtn),d=s.querySelector(this.modalSelector.cancelBtn);if(a&&(s.classList.add(a),this.customClass=a),e?(c.classList.remove("hidden"),u.innerHTML=e):(c.classList.add("hidden"),u.innerHTML=""),n?l.innerHTML=n:r?(this.sourceContent=document.querySelector(r).innerHTML,document.querySelector(r).innerHTML="",l.innerHTML=this.sourceContent):l.innerHTML="",f&&f.classList.remove("hidden"),o&&d.classList.remove("hidden"),o){var p=o.text,h=o.addEventListener,v=o.dataUsesJs;p&&f&&(f.textContent=p),"function"==typeof h&&f&&f.addEventListener("click",h),v&&f.setAttribute("data-uses-js",v)}else f&&f.classList.add("hidden");if(i){var g=i.text;g&&(d.textContent=g)}else d.classList.add("hidden");o||i||document.querySelector(".".concat(this.modalSelector.actions)).classList.add("hidden")},destroyContent(t){if(t){var e=document.querySelector(".".concat(this.modalSelector.container));e.querySelector(".".concat(this.modalSelector.body)).innerHTML="",e.dataset.source=null,e.classList.remove(this.customClass),this.customClass=null,document.querySelector(t).innerHTML=this.sourceContent}},toggleModalName(t){var e=t.btnElement,r=t.add,n=document.querySelector(".".concat(this.modalSelector.container));if(r){var o=e.dataset.modalName;o&&n.setAttribute("data-modal-name",o)}else n.removeAttribute("data-modal-name")}}),x={trackSubscribe(){try{var t=window.s;t.events="event85",t.eVar99="+1",t.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar27,eVar43,eVar61,eVar63,eVar99,prop62,list3,events",t.suppressPageView=!0,t.linkTrackEvents="event85",t.tl(!0,"o","Newsletter Sign Up"),t.events="",h.log("Track: Newsletter subscription, event85")}catch(e){h.log(e)}},trackUnsubscribe(){try{var t=window.s;t.events="event86",t.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar27,eVar43,eVar61,eVar63,prop62,list3,events",t.suppressPageView=!0,t.linkTrackEvents="event86",t.tl(!0,"o","Newsletter Sign Up"),t.events="",h.log("Track: Newsletter unubscription, event86")}catch(e){h.log(e)}}},S=r(9669),E=r.n(S),O=r(35129),_={eventSent:!1,registrationSent:!1,loginSent:!1,height:500,width:460,isNewsletterSignup:!1,init(){var t=this;window.screen.width<460&&(this.width=window.screen.width),O(document).on("click",".piano-id__register",(function(e){e.preventDefault(),t.isNewsletterSignup=!0,O.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax",domain:window.data_layer.site.cookie_domain}),t.register()})),O(document).on("click",".piano-id__login",(function(e){e.preventDefault(),t.login()})),O(document).on("click",".piano-id__logout",(function(e){e.preventDefault(),t.logout()})),O("#piano-id-logout").on("click",(function(e){e.preventDefault(),t.logout()})),O(document).on("click",".header-top-navigation__user-link",(function(){t.isNewsletterSignup=!0,O.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax",domain:window.data_layer.site.cookie_domain})})),window.addEventListener("load",(function(){t.migrateUser()})),-1!==document.cookie.indexOf("newsletterSignUpBulletins")&&(this.isNewsletterSignup=!0),O(document).on("click",".newsletter-option",(function(){t.checkNewsletters()})),-1!==document.cookie.indexOf("reg_newsletters")&&(this.isNewsletterSignup=!0)},migrateUser(){return m(w().mark((function t(){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/my/"===window.location.pathname.substring(0,4)||!O.cookie("nql")||O.cookie("__utp")){t.next=4;break}return t.next=4,E().post("/api/user/login-migration/");case 4:case"end":return t.stop()}}),t)})))()},reloadPage(){h.log("AA: Would reload this page"),window.setTimeout((function(){window.location.reload()}),1e3)},login(){var t=this;h.log("TPM: login function called"),window.tp.pianoId.show({screen:"login",displayMode:"modal",loggedIn:function(){h.log("TPM: login callback called"),t.loggedIn()},loggedOut:function(){},registrationSuccess:function(){h.log("TPM: registeredSuccess callback called"),t.registered()},width:this.width,height:this.height})},register(){var t=this;window.tp.pianoId.show({screen:"register",displayMode:"modal",loggedIn:function(){h.log("TPM: logloggedInin callback called"),t.loggedIn(!0)},loggedOut:function(){},registrationSuccess:function(){h.log("TPM: registrationSuccess callback called"),t.registered()},width:this.width,height:this.height})},logout(){try{window.tp.pianoId.logout(),this.reloadPage()}catch(t){h.log("Error piano-id.logout",t)}},loggedIn(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];h.log("AA: login method triggered, have we sent a login event already? ".concat(this.loginSent,"\n            Is this from a registration? ").concat(t)),this.loginSent?this.redirectUser(!0):(this.raiseLaunchEvent("user-has-logged-in"),this.loginSent=!0,this.sendToAdobe("event8"),t||(this.loginUser(),this.redirectUser(!0)))},registered(){h.log("AA: registered method triggered, have we sent a registration event already? ".concat(this.registrationSent)),this.registrationSent||(this.sendToAdobe("event3"),this.raiseLaunchEvent("user-has-registered"),this.registerUser(),this.registrationSent=!0,this.redirectUser())},registerUser(){return m(w().mark((function t(){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,E().get("/api/user/create-id/");case 2:case"end":return t.stop()}}),t)})))()},loginUser(){return m(w().mark((function t(){return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,E().get("/api/user/login-id/");case 2:case"end":return t.stop()}}),t)})))()},sendToAdobe(t){if(h.log("AA: sending ".concat(t)),!this.eventSent){var e=window.s;e.eVar2=window.location.href,e.pageName="(www) ".concat(window.location.pathname),e.events=t,e.linkTrackEvents=t;try{e.tl()}catch(r){}e.ignoreNext=!0}},redirectToPage(t){h.log("AA: Would redirect to ".concat(t)),window.setTimeout((function(){window.location=t}),1e3)},checkNewsletters(){var t="";document.querySelectorAll(".newsletter-option:checked").forEach((function(e){""!==t&&(t+=","),t+=O(e).val()})),""!==t&&O.cookie("newsletterSignUpBulletins",t,{expires:1,path:"/",domain:window.data_layer.site.cookie_domain})},redirectUser(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("yes"===window.data_layer.site.disable_newsletters)return document.location.pathname.indexOf("account/login")>0?void this.redirectToPage("/"):void this.reloadPage();!0!==this.isNewsletterSignup&&!0!==this.isTopNavigation||!1!==t?document.location.pathname.indexOf("account/register")>0&&!1===t?this.redirectToPage("/my/account/profile/#emails"):document.location.pathname.indexOf("account/login")>0?this.redirectToPage("/"):this.reloadPage():this.redirectToPage("/my/account/profile/#emails")},raiseLaunchEvent(t){h.log("launch:piano:".concat(t," has been dispatched"));var e=new Event("launch:piano:".concat(t));window.dispatchEvent(e)}},T=r(35129),k={commentsModalSelector:"article-comments__interrupt-modal-content",init(){var t=this;window.addEventListener("message",(function(e){var r=e.data;switch(r.src){case"send-email":t.handleEmail(r);break;case"expand-window":t.expandWindow();break;case"close-bottom-banner":case"close-fixed-banner":t.closeBottomBanner();break;case"login":t.login(r);break;case"register":t.register(r);break;case"open-comments-modal":t.showCommentsModal();break;case"sign-up":t.signUp(r);break;case"login-modal":t.loginModal();break;case"register-modal":t.registerModal()}}))},closeBottomBanner(){T("#piano-message").hide(),T("#bottom-expandable-wrapper").hide(),T("#piano-floating-bottom-banner").hide()},handleEmail(t){return m(w().mark((function e(){var r,n,o;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"email=".concat(t.email)},e.next=3,fetch("/api/user/register-with-email/",r);case 3:return n=e.sent,e.next=6,n.json();case 6:if(void 0===(o=e.sent).success||!0!==o.success){e.next=11;break}return _.sendToAdobe("event3"),window.location="/my/account/profile/#emails",e.abrupt("return");case 11:if(void 0===o.redirect){e.next=14;break}return window.location=o.redirect,e.abrupt("return");case 14:window.location="/my/account/log-in/?newsletter_signup=1";case 15:case"end":return e.stop()}}),e)})))()},expandWindow(){window.$("#bottom-expandable-wrapper").toggleClass("open")},login(t){T.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax"}),window.location="/my/account/log-in/?cmpid=".concat(t.cmpid)},register(t){T.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax"}),T.cookie("reg_newsletters",!0,{expires:1,path:"/"}),window.location="/my/account/register/?cmpid=".concat(t.cmpid,"&newsletter_signup=1")},showCommentsModal(){var t=this;return m(w().mark((function e(){var r,n;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Subscriber Comments",!(r=document.getElementById(t.commentsModalSelector))){e.next=7;break}return n=r.innerHTML,e.next=6,b.open({size:b.modalVariants[1],heading:"Subscriber Comments",content:n,btnElement:null});case 6:b.bind();case 7:case"end":return e.stop()}}),e)})))()},signUp(t){var e=this;return m(w().mark((function r(){var n,o,i;return w().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("yes"!==window.data_layer.user.is_logged_in){r.next=3;break}return e.signUpLoggedIn(t.newsletter_id),r.abrupt("return");case 3:if(n=t.email,o=t.newsletter_id,!n){r.next=16;break}return r.prev=6,i={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"email=".concat(n,"&newsletter_id=").concat(o)},r.next=10,fetch("/api/user/register-with-newsletter/",i);case 10:x.trackSubscribe(),r.next=16;break;case 13:r.prev=13,r.t0=r.catch(6),h.log(r.t0);case 16:case"end":return r.stop()}}),r,null,[[6,13]])})))()},signUpLoggedIn(t){return m(w().mark((function e(){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"bulletin_id=".concat(t)},e.next=4,fetch("/api/user/bulletin-subscription/",r);case 4:x.trackSubscribe(),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),h.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()},loginModal(){_.login()},registerModal(){_.register()},setLts(t){var e=window.s;e.events="event89",e.eVar79=t,e.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar7,eVar16,eVar19,eVar25,eVar26,eVar28,eVar59,eVar60,eVar61,eVar62,eVar79,eVar80,prop63,list3,events",e.suppressPageView=!0,e.linkTrackEvents="event89",e.tl(!0,"o","Non Meter LtS Score")},setLtsHighShowingGate(){var t=window.s;t.eVar59="T1 / Inline / Interrupt for Premium Content / 2021 (1)",t.events="event5",t.linkTrackVars="eVar2,eVar3,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,prop63,eVar80,eVar79,list3, events",t.linkTrackEvents="event5",t.tl(document,"o","Metered Access Notice")}},P=(r(77601),r(66992),r(33948),r(41637),{queryString:null,get(t){return null===this.queryString&&this.decode(),t.indexOf("[")>1?this.queryString.getAll(t):this.queryString.get(t)},decode(t){var e=t;return void 0===e&&(e=window.location.search.slice(1)),this.queryString=new URLSearchParams(e),this.queryString},encode(){return this.queryString.toString()},stringify(t){return"?".concat(Object.entries(t).map((function(t){return t.join("=")})).join("&"))},set(t,e){t.indexOf("[")>1?this.queryString.append(t,e):this.queryString.set(t,e)},delete(t){this.queryString.delete(t)}}),j={subscriptions:null,showcaseDomain:"",templateId:"",templateVariantId:"",uniqueId:"",registeredTimestamp:"",load(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;this.subscriptions=t,this.showcaseDomain=e,this.templateId=r,this.templateVariantId=n,this.uniqueId=o,this.registeredTimestamp=i,h.log("Extended Metering: Loaded for ".concat(e,":showcase")),t.init("".concat(e,":showcase")),t.setOnLoginRequest((function(){_.login()})),t.setOnNativeSubscribeRequest((function(){document.location="/subscribe/?ref=extendedmetering"}))},showGoogleRegWall(){var t=this;h.log("Extended Metering: Showing Reg Wall with an iframe of https://www.".concat(this.showcaseDomain,"/showcase.html")),window.GaaMeteringRegwall.show({iframeUrl:"https://www.".concat(this.showcaseDomain,"/showcase.html")}).then((function(e){t.registerShowcaseUser(e)})).catch((function(t){h.log("Extended Metering: Reg wall failed with an error object of ",t)}))},userIsSubscriber(){h.log("Extended Metering: User is Subbed"),this.subscriptions.setShowcaseEntitlement({entitlement:"EVENT_SHOWCASE_UNLOCKED_BY_SUBSCRIPTION",isUserRegister:!0})},userHasGateAccess(){h.log("Extended Metering: Meter not expired"),this.subscriptions.setShowcaseEntitlement({entitlement:"EVENT_SHOWCASE_UNLOCKED_BY_METER",isUserRegister:"yes"===window.data_layer.user.is_logged_in})},articleNotGated(){h.log("Extended Metering: Article is not gated"),this.subscriptions.setShowcaseEntitlement({entitlement:"EVENT_SHOWCASE_UNLOCKED_FREE_PAGE",isUserRegister:"yes"===window.data_layer.user.is_logged_in})},triggerGoogleGate(){var t=this;if(h.log("Extended Metering: Loading Google Gate"),"yes"===window.data_layer.user.is_logged_in){var e=this.getUserStateObj();h.log("Extended Metering: UserState",e),this.subscriptions.getEntitlements(e).then((function(e){h.log("Extended Metering: Entitlements object",e),e.enablesThisWithGoogleMetering()?e.consume((function(){})):t.subscriptions.setShowcaseEntitlement({entitlement:"EVENT_SHOWCASE_NO_ENTITLEMENTS_PAYWALL",isUserRegister:!0})}))}else this.showGoogleRegWall()},registerShowcaseUser(t){var e=this;return m(w().mark((function r(){var n,o,i;return w().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return h.log("Extended Metering: User data:",t),n={headers:{"content-type":"application/x-www-form-urlencoded;charset=utf-8"}},(o=new FormData).set("google_id",t.idToken),i=null,r.prev=5,r.next=8,E().post("/api/user/google/showcase/create/",o,n);case 8:i=r.sent,r.next=15;break;case 11:return r.prev=11,r.t0=r.catch(5),h.log("Creation failed",r.t0),r.abrupt("return");case 15:e.uniqueId=i.unique_id,e.registeredTimestamp=i.date_registered,window.data_layer.user.is_logged_in="yes";case 18:case"end":return r.stop()}}),r,null,[[5,11]])})))()},getUserStateObj(){return{metering:{state:{id:this.uniqueId,standardAttributes:{registered_user:{timestamp:this.registeredTimestamp}}}}}},checkShowcaseReferrer(){if(!P.get("gaa_at"))return!1;if(!P.get("gaa_n"))return h.log("SwG Entitlements: The `gaa_n` URL param is missing."),!1;if(!P.get("gaa_sig"))return h.log("SwG Entitlements: The `gaa_sig` URL param is missing."),!1;if(!P.get("gaa_ts"))return h.log("SwG Entitlements: The `gaa_ts` URL param is missing."),!1;if(parseInt(P.get("gaa_ts"),16)<Date.now()/1e3)return h.log("SwG Entitlements: The `gaa_ts` URL param should contain a hex string timestamp which points to the future."),!1;var t=document.createElement("a");t.href=document.referrer;var e=t.hostname;return"https"===e.protocol&&/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/.test(e.hostname)||h.log("SwG Entitlements: This page's referrer (\"".concat(e.origin,"\") can't\n                grant Google Article Access. Real publications should bail if this\n                referrer check fails.")),!0},showPianoPaywall(){h.log("Extended Metering: Show piano paywall");var t={templateId:this.templateId,displayMode:"inline",containerSelector:"#subscription-content"};""!==this.templateVariantId&&(t.templateVariantId=this.templateVariantId),window.tp.template.show(t)}},A=(r(4723),r(35129)),R={isArticleState:!1,cookieDomain:null,moduleType:"",localInfoVirtualFolder:"",homesData:"",primaryDomain:"",path:"",googleNetworkCode:0,articleTimestamp:0,setModuleType(t){this.moduleType=t},setLocalInfoFolder(t){this.localInfoVirtualFolder=t},setHomesData(t,e,r,n){var o={hmsbmn:t,hmsl:n,hmspmn:e,hmspmx:r};this.homesData=o},setIsArticle(t){this.isArticleState=t},setCookieDomain(t){this.cookieDomain=t},setPrimaryDomain(t){this.primaryDomain=t},setPath(t){this.path=t},setArticleTimestamp(t){Number.isNaN(parseInt(t,10))||(this.articleTimestamp=t)},setGoogleNetworkCode(t){this.googleNetworkCode=t},storeCurrentPageName(t){var e=new Date;e.setMinutes(e.getMinutes()+30),A.cookie("nq_prev_page",t,{expires:e,path:"/",domain:this.cookieDomain})},getReferrerHostName(){var t=document.referrer,e=document.createElement("a");return e.href=t,e.hostname},getAccount(){return 0===document.location.pathname.indexOf("/admin")?"newsquestgroupadmindev":"newsquestgroupprod"},isMobileScreen(){return window.screen.width<728},isArticle(){return this.isArticleState},itemFromObject(t,e){return"object"==typeof e&&void 0!==e[t]?decodeURIComponent(e[t]):""},getGoogleId(){var t="/".concat(this.googleNetworkCode,"/").concat(this.primaryDomain).concat(this.path);return"/"===t.charAt(t.length-1)&&(t=t.slice(0,-1)),t},getPathFragment(t,e){var r=this.moduleType,n=this.localInfoVirtualFolder,o=document.location.pathname.toString();(r.indexOf("Block")>-1||"NationalNewsModule"===r)&&(r="ArticleModule");var i=o.substring(1,o.length-1),a=i.split("/");if(!0===e){if("/"===i)return 0===t?"homepage":"";for(var s=[],c=0;c<4;c++)void 0===a[c]||a[c].match(/[0-9]+\./)||s.push(a[c]);return void 0===s[t]?"":s[t]}a[-1]="";for(var u=0;u<4;u++)void 0===a[u]&&(a[u]=""),""===a[u]||"ArticleModule"===r&&a[u].match(/[0-9]+\./)&&this.isArticleState?a[u]=a[u-1]:u>0&&(a[u]="".concat(a[u-1],"/").concat(a[u]));"/"===o&&(a[0]="homepage",a[1]="homepage",a[2]="homepage",a[3]="homepage");var l=o.match(/(\w+)\.(in|near|compare)\.([,a-zA-Z0-9 _-]+)[/]?$/),f=o.match(/(\w+)\.detail\.(.*)$/);return null!==f&&f.length>1&&(l=f),null!==l&&l.length>1&&(a[0]="li",a[1]="li/".concat(n),a[2]="li/".concat(n,"/").concat(l[1]),a[3]="li/".concat(n,"/").concat(l[1])),a[t].toLowerCase()},getOmniturePath(){return 1===A("#gallery-base-url").length?A("#gallery-base-url").val():window.location.pathname},getTrackingFromCookie(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=this.getCookie(t);return r||e},getConsentString(){var t=[];return this.getCookie("consentUUID")?t.push("yes"):t.push("no"),"true"===this.getCookie("_sp_enable_dfp_personalized_ads")?t.push("yes"):"false"===this.getCookie("_sp_enable_dfp_personalized_ads")?t.push("no"):t.push("none"),t.join(",")},getDayOfWeek(){var t=new Date,e=[];return e[0]="Sunday",e[1]="Monday",e[2]="Tuesday",e[3]="Wednesday",e[4]="Thursday",e[5]="Friday",e[6]="Saturday",e[t.getDay()]},getAutoPlay(t){return"yes"===t&&"/"!==window.location.pathname?"yes":"no"},getArticleAge(){var t=this.articleTimestamp;if(0===t)return"";var e=parseInt(t,10),r=(new Date).getTime()/1e3;return Math.round((r-e)/60)},getSource(t){if(""===t)return"martini";switch(parseInt(t,10)){case"6":return"knowledge";case"8":return"press association";case"17":return"uefa";case"18":return"jpi";default:return"martini"}},getCookie(t){var e=A.cookie(t);return e||""},getDevice(){var t=new MobileDetect(window.navigator.userAgent);return null!==t.phone()?"phone":null!==t.tablet()?"tablet":"desktop"},getMobileDevice(){return null!==new MobileDetect(window.navigator.userAgent).phone()?"yes":"no"},getTabletDevice(){return null!==new MobileDetect(window.navigator.userAgent).tablet()?"yes":"no"},getSourcepointAdbockStatus(){return void 0===A.cookie("nqab")?"unknown":"true"===A.cookie("nqab")?"yes":"no"},getSubscriptionGateway(t,e){return t?"sagepay":e?"piano":""},getSubscriptionLevel(t,e){return t?"subscribed":e?"registered":"annonymous"},getPianoTags(t,e,r,n,o,i,a,s,c,u,l,f,d,p,h,v,g,m,y){var w=this.moduleType,b=[];return b.push("martini"),b.push(w),b.push(t),""!==e&&b.push("master_".concat(e)),r&&b.push("content_is_breaking"),n&&b.push("content_is_editorial_opinion"),o&&b.push("free_subscriber"),i&&b.push("content_has_video"),a&&(b.push("content_is_article"),""!==s&&b.push("content_level_".concat(s)),c&&b.push("content_level_openaccess_override"),u>0&&b.push("content_has_gallery")),l&&"yes"!==A.cookie("nq-show-piano-viewer")&&b.push("user_is_newsquest"),f&&b.push("user_is_logged_in"),d&&b.push("user_has_newsletter"),p&&b.push("content_is_live_article"),""!==h&&b.push(h),g&&b.push("headline_has_covid"),m&&b.push("article_has_covid"),m&&g&&b.push("content_is_covid"),y&&b.push("has-audio"),b.push("user_".concat(this.getDevice())),v.length>0&&v.forEach((function(t){b.push(t)})),b},loadScript(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=document.createElement("script"),o=document.getElementsByTagName("body")[0];n.type="text/javascript",n.async=e,n.src=t,"string"==typeof r&&(n.id=r),o.parentNode.insertBefore(n,o)},getCmpDate(){var t=new Date,e=t.getDate().toString();1===e.length&&(e="0".concat(e));var r=(t.getMonth()+1).toString();return 1===r.length&&(r="0".concat(r)),e+r+t.getFullYear().toString()},getRestrictedContent(t,e,r,n){return 0===parseInt(t,10)||229===parseInt(e,10)||229===parseInt(r,10)||n.length>1?"no":"yes"}};window.AudienceProjectData=p,window.advertisingTimer=v,window.data_layer_helper=R,window.qs=P,window.extendedMetering=j,window.pianoListener=k}()}();