iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
3,169 lines • 812 kB
JavaScript
/*! For license information please see authorize.2eb04c74.js.LICENSE.txt */
(()=>{var e,t,r={77323:e=>{"use strict";e.exports=JSON.parse('{"fragments":["config","history","logbook","mailbox","profile","shopping-list","page-authorize","page-demo","page-onboarding","developer-tools"],"translations":{"af":{"nativeName":"Afrikaans","hash":"fab8dec55a57b1923525e43e56caa344"},"ar":{"nativeName":"العربية","isRTL":true,"hash":"1ca3f9c8665361177f0f2c8987d8b7d9"},"bg":{"nativeName":"Български","hash":"f44252f20dd7d8dc8ba0bd8c9ab4b5bb"},"bs":{"nativeName":"Bosanski","hash":"cfdc8268abce6292d43a1ff4678aec4e"},"ca":{"nativeName":"Català","hash":"c4235a3c249a6d0314d0be87ad50644a"},"cs":{"nativeName":"Čeština","hash":"993b78fb5870bd902fc3a654b193cd08"},"cy":{"nativeName":"Cymraeg","hash":"7d85e4ad1764aa87fb5e8e2832796baf"},"da":{"nativeName":"Dansk","hash":"813b7d81b5f78815cbe0bfba54924f3e"},"de":{"nativeName":"Deutsch","hash":"ac594f04e138b45a88eff80fd5b9a92f"},"el":{"nativeName":"Ελληνικά","hash":"58f29c6983f7441d1e0682782af96091"},"en":{"nativeName":"English","hash":"ae531a418ad328a7da3b88470f1a7548"},"en-GB":{"nativeName":"English (GB)","hash":"ae531a418ad328a7da3b88470f1a7548"},"eo":{"nativeName":"Esperanto","hash":"3ff6979aec1b27893c6d778f63d4f817"},"es":{"nativeName":"Español","hash":"ec1c135e0cd87117c0f210bbf9003e5e"},"es-419":{"nativeName":"Español (Latin America)","hash":"2f062fa3603091bc58e2ab3f1e497714"},"et":{"nativeName":"Eesti","hash":"8faf137a887cf358657bb7b80e350505"},"eu":{"nativeName":"Euskara","hash":"e85dc26120a2d1ba389b254414ac39f5"},"fa":{"nativeName":"فارسی","isRTL":true,"hash":"c1ef4bb1b7a88dc412fbf51a1b05e8ca"},"fi":{"nativeName":"Suomi","hash":"58ef76194726db5d095c64b9485c41e9"},"fy":{"nativeName":"Frysk","hash":"d621a542b437c530b4a26a500bce19a4"},"fr":{"nativeName":"Français","hash":"b9bb7b1133f3ca6965dbd96d51fb7bbd"},"gl":{"nativeName":"Galego","hash":"ae531a418ad328a7da3b88470f1a7548"},"gsw":{"nativeName":"Schwiizerdütsch","hash":"505ea1de67916a78358a5a23c0050b3d"},"he":{"nativeName":"עברית","isRTL":true,"hash":"32332df10edcd3245f7b9fe4db783dc1"},"hi":{"nativeName":"हिन्दी","hash":"f50e372622cf5a2491afaa4182d9b42a"},"hr":{"nativeName":"Hrvatski","hash":"a7257bbd2f7743cd52071062cb7b0bd3"},"hu":{"nativeName":"Magyar","hash":"d2870b968a9a4ec768b921e0aa4286ea"},"hy":{"nativeName":"Հայերեն","hash":"3d04438c8d5b7bfa777ec841fa32deae"},"id":{"nativeName":"Indonesia","hash":"992f4ab0883c9c5a3b42317c6ad31bbf"},"it":{"nativeName":"Italiano","hash":"7d23e1a705481e35afe782ecf8e184c1"},"is":{"nativeName":"Íslenska","hash":"757e584c5a69f8286c7971505b5ff7de"},"ja":{"nativeName":"日本語","hash":"f856b49929d682c95c7a91edff4083b8"},"ko":{"nativeName":"한국어","hash":"e4a93d4b1debde7f08f4c7892a108bf5"},"lb":{"nativeName":"Lëtzebuergesch","hash":"21dc5e780a6998abfe4544bc7cfe9191"},"lt":{"nativeName":"Lietuvių","hash":"a95c78cb1f1be60d279366fde8b64acc"},"lv":{"nativeName":"Latviešu","hash":"1ef69dad4742cbe00e61df784a181e0b"},"nl":{"nativeName":"Nederlands","hash":"021c17f3920e62b34ce7e068a4d05c96"},"nb":{"nativeName":"Norsk Bokmål","hash":"866d2563a3f8d5b38b6122b3bda978df"},"nn":{"nativeName":"Norsk Nynorsk","hash":"807d4a7b038ababe1c4cf4816cac3d33"},"pl":{"nativeName":"Polski","hash":"480b0400a9d2ec1ed41e2bdec9f2d571"},"pt":{"nativeName":"Português","hash":"a6c1e2a9944ee8eeef9f58ca93d010ac"},"pt-BR":{"nativeName":"Português (BR)","hash":"62c4765b27517dd48e37c1d3bf8f2771"},"ro":{"nativeName":"Română","hash":"f46ab94f9891d1294b3e4eea32b7f9eb"},"ru":{"nativeName":"Русский","hash":"e53fb750dfa5bd7a04789098199e3e00"},"sk":{"nativeName":"Slovenčina","hash":"675881545023431fa69cfe56dedce046"},"sl":{"nativeName":"Slovenščina","hash":"677f3687ccb3cb1cc0e96abcc166f970"},"sr":{"nativeName":"Српски","hash":"81d7de9d4ea7fedde93fe397bf7725b0"},"sr-Latn":{"nativeName":"Srpski","hash":"8d7c7447dfc9300db2c0f57969b807e7"},"sv":{"nativeName":"Svenska","hash":"1db4f77900424a4eb2778a06effdbe40"},"ta":{"nativeName":"தமிழ்","hash":"6e7999e45214450d7af4d0e59d1f99a9"},"te":{"nativeName":"తెలుగు","hash":"1205107591f36d9410492acdf3b0cec9"},"th":{"nativeName":"ภาษาไทย","hash":"1e6988c09f2c66e08d841031a4d4a947"},"tr":{"nativeName":"Türkçe","hash":"c169dc045b5e348960f165cc8ef574c6"},"uk":{"nativeName":"Українська","hash":"447f241af564b0d7c0435c88428e5f6a"},"ur":{"nativeName":"اُردُو","hash":"a15c9a140ff87916cfdd423139e1c970"},"vi":{"nativeName":"Tiếng Việt","hash":"b04d1ace2d6e4bb9958d9798df5d5370"},"zh-Hans":{"nativeName":"简体中文","hash":"1d54351ee824980b43acd7d865de8e40"},"zh-Hant":{"nativeName":"繁體中文","hash":"f8eed850613a6c2a3000a244c187ebb2"},"test":{"nativeName":"Test","hash":"ae227cb86583fad02245afcaacb989eb"}}}')},39460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnicodeLanguageSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.parseUnicodeLanguageId=t.parseUnicodeLocaleId=t.getCanonicalLocales=void 0;var n=r(87480),i=r(36838),o=r(55946),a=r(73887);t.getCanonicalLocales=function(e){return function(e){if(void 0===e)return[];var t=[];"string"==typeof e&&(e=[e]);for(var r=0,n=e;r<n.length;r++){var s=n[r],l=o.emitUnicodeLocaleId(a.canonicalizeUnicodeLocaleId(i.parseUnicodeLocaleId(s)));t.indexOf(l)<0&&t.push(l)}return t}(e)};var s=r(36838);Object.defineProperty(t,"parseUnicodeLocaleId",{enumerable:!0,get:function(){return s.parseUnicodeLocaleId}}),Object.defineProperty(t,"parseUnicodeLanguageId",{enumerable:!0,get:function(){return s.parseUnicodeLanguageId}}),Object.defineProperty(t,"isStructurallyValidLanguageTag",{enumerable:!0,get:function(){return s.isStructurallyValidLanguageTag}}),Object.defineProperty(t,"isUnicodeRegionSubtag",{enumerable:!0,get:function(){return s.isUnicodeRegionSubtag}}),Object.defineProperty(t,"isUnicodeScriptSubtag",{enumerable:!0,get:function(){return s.isUnicodeScriptSubtag}}),Object.defineProperty(t,"isUnicodeLanguageSubtag",{enumerable:!0,get:function(){return s.isUnicodeLanguageSubtag}}),n.__exportStar(r(49126),t),n.__exportStar(r(55946),t)},7151:(e,t,r)=>{"use strict";var n=r(39460),i=r(16723);"undefined"==typeof Intl&&("undefined"!=typeof window?Object.defineProperty(window,"Intl",{value:{}}):"undefined"!=typeof global&&Object.defineProperty(global,"Intl",{value:{}})),i.shouldPolyfill()&&Object.defineProperty(Intl,"getCanonicalLocales",{value:n.getCanonicalLocales,writable:!0,enumerable:!1,configurable:!0})},16723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=void 0,t.shouldPolyfill=function(){return"undefined"==typeof Intl||!("getCanonicalLocales"in Intl)||"x-private"===Intl.getCanonicalLocales("und-x-private")[0]}},73887:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canonicalizeUnicodeLocaleId=t.canonicalizeUnicodeLanguageId=void 0;var n=r(87480),i=r(10879),o=r(36838),a=n.__importStar(r(16085)),s=r(55946);function l(e){for(var t={},r=[],n=0,i=e;n<i.length;n++){var o=i[n];o[0]in t||(t[o[0]]=1,o[1]&&"true"!==o[1]?r.push([o[0].toLowerCase(),o[1].toLowerCase()]):r.push([o[0].toLowerCase()]))}return r.sort(c)}function c(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}function u(e,t){return e.type<t.type?-1:e.type>t.type?1:0}function d(e,t){for(var r=n.__spreadArrays(e),i=0,o=t;i<o.length;i++){var a=o[i];e.indexOf(a)<0&&r.push(a)}return r}function p(e){var t=e;if(e.variants.length)for(var r="",n=0,l=e.variants;n<l.length;n++){var c=l[n];if(r=i.languageAlias[s.emitUnicodeLanguageId({lang:e.lang,variants:[c]})]){t={lang:(h=o.parseUnicodeLanguageId(r.split(o.SEPARATOR))).lang,script:t.script||h.script,region:t.region||h.region,variants:d(t.variants,h.variants)};break}}if(t.script&&t.region){var u=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,region:t.region,variants:[]})];if(u)t={lang:(h=o.parseUnicodeLanguageId(u.split(o.SEPARATOR))).lang,script:h.script,region:h.region,variants:t.variants}}if(t.region){var p=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,region:t.region,variants:[]})];if(p)t={lang:(h=o.parseUnicodeLanguageId(p.split(o.SEPARATOR))).lang,script:t.script||h.script,region:h.region,variants:t.variants}}var h,f=i.languageAlias[s.emitUnicodeLanguageId({lang:t.lang,variants:[]})];f&&(t={lang:(h=o.parseUnicodeLanguageId(f.split(o.SEPARATOR))).lang,script:t.script||h.script,region:t.region||h.region,variants:t.variants});if(t.region){var m=t.region.toUpperCase(),v=i.territoryAlias[m],y=void 0;if(v){var g=v.split(" ");y=g[0];var b=a.supplemental.likelySubtags[s.emitUnicodeLanguageId({lang:t.lang,script:t.script,variants:[]})];if(b){var _=o.parseUnicodeLanguageId(b.split(o.SEPARATOR)).region;_&&g.indexOf(_)>-1&&(y=_)}}y&&(t.region=y),t.region=t.region.toUpperCase()}if(t.script&&(t.script=t.script[0].toUpperCase()+t.script.slice(1).toLowerCase(),i.scriptAlias[t.script]&&(t.script=i.scriptAlias[t.script])),t.variants.length){for(var w=0;w<t.variants.length;w++){c=t.variants[w].toLowerCase();if(i.variantAlias[c]){var k=i.variantAlias[c];o.isUnicodeVariantSubtag(k)?t.variants[w]=k:o.isUnicodeLanguageSubtag(k)&&(t.lang=k)}}t.variants.sort()}return t}t.canonicalizeUnicodeLanguageId=p,t.canonicalizeUnicodeLocaleId=function(e){if(e.lang=p(e.lang),e.extensions){for(var t=0,r=e.extensions;t<r.length;t++){var n=r[t];switch(n.type){case"u":n.keywords=l(n.keywords),n.attributes&&(n.attributes=(i=n.attributes,Object.keys(i.reduce((function(e,t){return e[t.toLowerCase()]=1,e}),{})).sort()));break;case"t":n.lang&&(n.lang=p(n.lang)),n.fields=l(n.fields);break;default:n.value=n.value.toLowerCase()}}e.extensions.sort(u)}var i;return e}},10879:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.variantAlias=t.scriptAlias=t.territoryAlias=t.languageAlias=void 0,t.languageAlias={"aa-SAAHO":"ssy",aam:"aas",aar:"aa",abk:"ab",adp:"dz",afr:"af",aju:"jrb",aka:"ak",alb:"sq",als:"sq",amh:"am",ara:"ar",arb:"ar",arg:"an",arm:"hy","art-lojban":"jbo",asd:"snz",asm:"as",aue:"ktz",ava:"av",ave:"ae",aym:"ay",ayr:"ay",ayx:"nun","az-AZ":"az-Latn-AZ",aze:"az",azj:"az",bak:"ba",bam:"bm",baq:"eu",bcc:"bal",bcl:"bik",bel:"be",ben:"bn",bgm:"bcg",bh:"bho",bih:"bho",bis:"bi",bjd:"drl",bod:"bo",bos:"bs",bre:"br","bs-BA":"bs-Latn-BA",bul:"bg",bur:"my",bxk:"luy",bxr:"bua",cat:"ca",ccq:"rki","cel-gaulish":"xtg-x-cel-gaulish",ces:"cs",cha:"ch",che:"ce",chi:"zh",chu:"cu",chv:"cv",cjr:"mom",cka:"cmr",cld:"syr",cmk:"xch",cmn:"zh",cnr:"sr-ME",cor:"kw",cos:"co",coy:"pij",cqu:"quh",cre:"cr",cwd:"cr",cym:"cy",cze:"cs",dan:"da",deu:"de",dgo:"doi",dhd:"mwr",dik:"din",diq:"zza",dit:"dif",div:"dv",drh:"mn",drw:"fa-af",dut:"nl",dzo:"dz",ekk:"et",ell:"el",emk:"man",eng:"en",epo:"eo",esk:"ik",est:"et",eus:"eu",ewe:"ee",fao:"fo",fas:"fa",fat:"ak",fij:"fj",fin:"fi",fra:"fr",fre:"fr",fry:"fy",fuc:"ff",ful:"ff",gav:"dev",gaz:"om",gbo:"grb",geo:"ka",ger:"de",gfx:"vaj",ggn:"gvr",gla:"gd",gle:"ga",glg:"gl",glv:"gv",gno:"gon",gre:"el",grn:"gn",gti:"nyc",gug:"gn",guj:"gu",guv:"duz",gya:"gba","ha-Latn-GH":"ha-GH","ha-Latn-NE":"ha-NE","ha-Latn-NG":"ha-NG",hat:"ht",hau:"ha",hbs:"sr-Latn",hdn:"hai",hea:"hmn",heb:"he",her:"hz",him:"srx",hin:"hi",hmo:"ho",hrr:"jal",hrv:"hr",hun:"hu",hye:"hy","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","i-default":"en-x-i-default","i-enochian":"und-x-i-enochian","i-mingo":"see-x-i-mingo",ibi:"opa",ibo:"ig",ice:"is",ido:"io",iii:"ii",ike:"iu",iku:"iu",ile:"ie",ilw:"gal",in:"id",ina:"ia",ind:"id",ipk:"ik",isl:"is",ita:"it",iw:"he",jav:"jv",jeg:"oyb",ji:"yi",jpn:"ja",jw:"jv",kal:"kl",kan:"kn",kas:"ks",kat:"ka",kau:"kr",kaz:"kk",kgc:"tdf",kgh:"kml",khk:"mn",khm:"km",kik:"ki",kin:"rw",kir:"ky","kk-Cyrl-KZ":"kk-KZ",kmr:"ku",knc:"kr",kng:"kg",knn:"kok",koj:"kwv",kom:"kv",kon:"kg",kor:"ko",kpv:"kv",krm:"bmf","ks-Arab-IN":"ks-IN",ktr:"dtp",kua:"kj",kur:"ku",kvs:"gdj",kwq:"yam",kxe:"tvd","ky-Cyrl-KG":"ky-KG",kzj:"dtp",kzt:"dtp",lao:"lo",lat:"la",lav:"lv",lbk:"bnc",lii:"raq",lim:"li",lin:"ln",lit:"lt",llo:"ngt",lmm:"rmx",ltz:"lb",lub:"lu",lug:"lg",lvs:"lv",mac:"mk",mah:"mh",mal:"ml",mao:"mi",mar:"mr",may:"ms",meg:"cir",mhr:"chm",mkd:"mk",mlg:"mg",mlt:"mt","mn-Cyrl-MN":"mn-MN",mnk:"man",mo:"ro",mol:"ro",mon:"mn",mri:"mi","ms-Latn-BN":"ms-BN","ms-Latn-MY":"ms-MY","ms-Latn-SG":"ms-SG",msa:"ms",mst:"mry",mup:"raj",mwj:"vaj",mya:"my",myd:"aog",myt:"mry",nad:"xny",nau:"na",nav:"nv",nbl:"nr",ncp:"kdz",nde:"nd",ndo:"ng",nep:"ne",nld:"nl",nno:"nn",nns:"nbr",nnx:"ngv",no:"nb","no-bok":"nb","no-BOKMAL":"nb","no-nyn":"nn","no-NYNORSK":"nn",nob:"nb",nor:"nb",npi:"ne",nts:"pij",nya:"ny",oci:"oc",ojg:"oj",oji:"oj",ori:"or",orm:"om",ory:"or",oss:"os",oun:"vaj","pa-IN":"pa-Guru-IN","pa-PK":"pa-Arab-PK",pan:"pa",pbu:"ps",pcr:"adx",per:"fa",pes:"fa",pli:"pi",plt:"mg",pmc:"huw",pmu:"phr",pnb:"lah",pol:"pl",por:"pt",ppa:"bfy",ppr:"lcq",prs:"fa-AF",pry:"prt",pus:"ps",puz:"pub",que:"qu",quz:"qu",rmy:"rom",roh:"rm",ron:"ro",rum:"ro",run:"rn",rus:"ru",sag:"sg",san:"sa",sca:"hle",scc:"sr",scr:"hr","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg",sh:"sr-Latn","shi-MA":"shi-Tfng-MA",sin:"si",skk:"oyb",slk:"sk",slo:"sk",slv:"sl",sme:"se",smo:"sm",sna:"sn",snd:"sd",som:"so",sot:"st",spa:"es",spy:"kln",sqi:"sq","sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK",src:"sc",srd:"sc",srp:"sr",ssw:"ss",sun:"su",swa:"sw",swc:"sw-CD",swe:"sv",swh:"sw",tah:"ty",tam:"ta",tat:"tt",tdu:"dtp",tel:"te",tgk:"tg",tgl:"fil",tha:"th",thc:"tpo",thx:"oyb",tib:"bo",tie:"ras",tir:"ti",tkk:"twm",tl:"fil",tlw:"weo",tmp:"tyj",tne:"kak",tnf:"fa-af",ton:"to",tsf:"taj",tsn:"tn",tso:"ts",ttq:"tmh",tuk:"tk",tur:"tr",tw:"ak",twi:"ak","tzm-Latn-MA":"tzm-MA","ug-Arab-CN":"ug-CN",uig:"ug",ukr:"uk",umu:"del",uok:"ema",urd:"ur","uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ",uzb:"uz",uzn:"uz","vai-LR":"vai-Vaii-LR",ven:"ve",vie:"vi",vol:"vo",wel:"cy",wln:"wa",wol:"wo",xba:"cax",xho:"xh",xia:"acn",xkh:"waw",xpe:"kpe",xsj:"suj",xsl:"den",ybd:"rki",ydd:"yi",yid:"yi",yma:"lrr",ymt:"mtm",yor:"yo",yos:"zom","yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK",yuu:"yug",zai:"zap","zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min",zha:"za",zho:"zh",zsm:"ms",zul:"zu",zyb:"za"},t.territoryAlias={100:"BG",104:"MM",108:"BI",112:"BY",116:"KH",120:"CM",124:"CA",132:"CV",136:"KY",140:"CF",144:"LK",148:"TD",152:"CL",156:"CN",158:"TW",162:"CX",166:"CC",170:"CO",172:"RU AM AZ BY GE KG KZ MD TJ TM UA UZ",174:"KM",175:"YT",178:"CG",180:"CD",184:"CK",188:"CR",191:"HR",192:"CU",196:"CY",200:"CZ SK",203:"CZ",204:"BJ",208:"DK",212:"DM",214:"DO",218:"EC",222:"SV",226:"GQ",230:"ET",231:"ET",232:"ER",233:"EE",234:"FO",238:"FK",239:"GS",242:"FJ",246:"FI",248:"AX",249:"FR",250:"FR",254:"GF",258:"PF",260:"TF",262:"DJ",266:"GA",268:"GE",270:"GM",275:"PS",276:"DE",278:"DE",280:"DE",288:"GH",292:"GI",296:"KI",300:"GR",304:"GL",308:"GD",312:"GP",316:"GU",320:"GT",324:"GN",328:"GY",332:"HT",334:"HM",336:"VA",340:"HN",344:"HK",348:"HU",352:"IS",356:"IN",360:"ID",364:"IR",368:"IQ",372:"IE",376:"IL",380:"IT",384:"CI",388:"JM",392:"JP",398:"KZ",400:"JO",404:"KE",408:"KP",410:"KR",414:"KW",417:"KG",418:"LA",422:"LB",426:"LS",428:"LV",430:"LR",434:"LY",438:"LI",440:"LT",442:"LU",446:"MO",450:"MG",454:"MW",458:"MY",462:"MV",466:"ML",470:"MT",474:"MQ",478:"MR",480:"MU",484:"MX",492:"MC",496:"MN",498:"MD",499:"ME",500:"MS",504:"MA",508:"MZ",512:"OM",516:"NA",520:"NR",524:"NP",528:"NL",530:"CW SX BQ",531:"CW",532:"CW SX BQ",533:"AW",534:"SX",535:"BQ",536:"SA IQ",540:"NC",548:"VU",554:"NZ",558:"NI",562:"NE",566:"NG",570:"NU",574:"NF",578:"NO",580:"MP",581:"UM",582:"FM MH MP PW",583:"FM",584:"MH",585:"PW",586:"PK",591:"PA",598:"PG",600:"PY",604:"PE",608:"PH",612:"PN",616:"PL",620:"PT",624:"GW",626:"TL",630:"PR",634:"QA",638:"RE",642:"RO",643:"RU",646:"RW",652:"BL",654:"SH",659:"KN",660:"AI",662:"LC",663:"MF",666:"PM",670:"VC",674:"SM",678:"ST",682:"SA",686:"SN",688:"RS",690:"SC",694:"SL",702:"SG",703:"SK",704:"VN",705:"SI",706:"SO",710:"ZA",716:"ZW",720:"YE",724:"ES",728:"SS",729:"SD",732:"EH",736:"SD",740:"SR",744:"SJ",748:"SZ",752:"SE",756:"CH",760:"SY",762:"TJ",764:"TH",768:"TG",772:"TK",776:"TO",780:"TT",784:"AE",788:"TN",792:"TR",795:"TM",796:"TC",798:"TV",800:"UG",804:"UA",807:"MK",810:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",818:"EG",826:"GB",830:"JE GG",831:"GG",832:"JE",833:"IM",834:"TZ",840:"US",850:"VI",854:"BF",858:"UY",860:"UZ",862:"VE",876:"WF",882:"WS",886:"YE",887:"YE",890:"RS ME SI HR MK BA",891:"RS ME",894:"ZM",958:"AA",959:"QM",960:"QN",962:"QP",963:"QQ",964:"QR",965:"QS",966:"QT",967:"EU",968:"QV",969:"QW",970:"QX",971:"QY",972:"QZ",973:"XA",974:"XB",975:"XC",976:"XD",977:"XE",978:"XF",979:"XG",980:"XH",981:"XI",982:"XJ",983:"XK",984:"XL",985:"XM",986:"XN",987:"XO",988:"XP",989:"XQ",990:"XR",991:"XS",992:"XT",993:"XU",994:"XV",995:"XW",996:"XX",997:"XY",998:"XZ",999:"ZZ","004":"AF","008":"AL","010":"AQ","012":"DZ","016":"AS","020":"AD","024":"AO","028":"AG","031":"AZ","032":"AR","036":"AU","040":"AT","044":"BS","048":"BH","050":"BD","051":"AM","052":"BB","056":"BE","060":"BM","062":"034 143","064":"BT","068":"BO","070":"BA","072":"BW","074":"BV","076":"BR","084":"BZ","086":"IO","090":"SB","092":"VG","096":"BN",AAA:"AA",ABW:"AW",AFG:"AF",AGO:"AO",AIA:"AI",ALA:"AX",ALB:"AL",AN:"CW SX BQ",AND:"AD",ANT:"CW SX BQ",ARE:"AE",ARG:"AR",ARM:"AM",ASC:"AC",ASM:"AS",ATA:"AQ",ATF:"TF",ATG:"AG",AUS:"AU",AUT:"AT",AZE:"AZ",BDI:"BI",BEL:"BE",BEN:"BJ",BES:"BQ",BFA:"BF",BGD:"BD",BGR:"BG",BHR:"BH",BHS:"BS",BIH:"BA",BLM:"BL",BLR:"BY",BLZ:"BZ",BMU:"BM",BOL:"BO",BRA:"BR",BRB:"BB",BRN:"BN",BTN:"BT",BU:"MM",BUR:"MM",BVT:"BV",BWA:"BW",CAF:"CF",CAN:"CA",CCK:"CC",CHE:"CH",CHL:"CL",CHN:"CN",CIV:"CI",CMR:"CM",COD:"CD",COG:"CG",COK:"CK",COL:"CO",COM:"KM",CPT:"CP",CPV:"CV",CRI:"CR",CS:"RS ME",CT:"KI",CUB:"CU",CUW:"CW",CXR:"CX",CYM:"KY",CYP:"CY",CZE:"CZ",DD:"DE",DDR:"DE",DEU:"DE",DGA:"DG",DJI:"DJ",DMA:"DM",DNK:"DK",DOM:"DO",DY:"BJ",DZA:"DZ",ECU:"EC",EGY:"EG",ERI:"ER",ESH:"EH",ESP:"ES",EST:"EE",ETH:"ET",FIN:"FI",FJI:"FJ",FLK:"FK",FQ:"AQ TF",FRA:"FR",FRO:"FO",FSM:"FM",FX:"FR",FXX:"FR",GAB:"GA",GBR:"GB",GEO:"GE",GGY:"GG",GHA:"GH",GIB:"GI",GIN:"GN",GLP:"GP",GMB:"GM",GNB:"GW",GNQ:"GQ",GRC:"GR",GRD:"GD",GRL:"GL",GTM:"GT",GUF:"GF",GUM:"GU",GUY:"GY",HKG:"HK",HMD:"HM",HND:"HN",HRV:"HR",HTI:"HT",HUN:"HU",HV:"BF",IDN:"ID",IMN:"IM",IND:"IN",IOT:"IO",IRL:"IE",IRN:"IR",IRQ:"IQ",ISL:"IS",ISR:"IL",ITA:"IT",JAM:"JM",JEY:"JE",JOR:"JO",JPN:"JP",JT:"UM",KAZ:"KZ",KEN:"KE",KGZ:"KG",KHM:"KH",KIR:"KI",KNA:"KN",KOR:"KR",KWT:"KW",LAO:"LA",LBN:"LB",LBR:"LR",LBY:"LY",LCA:"LC",LIE:"LI",LKA:"LK",LSO:"LS",LTU:"LT",LUX:"LU",LVA:"LV",MAC:"MO",MAF:"MF",MAR:"MA",MCO:"MC",MDA:"MD",MDG:"MG",MDV:"MV",MEX:"MX",MHL:"MH",MI:"UM",MKD:"MK",MLI:"ML",MLT:"MT",MMR:"MM",MNE:"ME",MNG:"MN",MNP:"MP",MOZ:"MZ",MRT:"MR",MSR:"MS",MTQ:"MQ",MUS:"MU",MWI:"MW",MYS:"MY",MYT:"YT",NAM:"NA",NCL:"NC",NER:"NE",NFK:"NF",NGA:"NG",NH:"VU",NIC:"NI",NIU:"NU",NLD:"NL",NOR:"NO",NPL:"NP",NQ:"AQ",NRU:"NR",NT:"SA IQ",NTZ:"SA IQ",NZL:"NZ",OMN:"OM",PAK:"PK",PAN:"PA",PC:"FM MH MP PW",PCN:"PN",PER:"PE",PHL:"PH",PLW:"PW",PNG:"PG",POL:"PL",PRI:"PR",PRK:"KP",PRT:"PT",PRY:"PY",PSE:"PS",PU:"UM",PYF:"PF",PZ:"PA",QAT:"QA",QMM:"QM",QNN:"QN",QPP:"QP",QQQ:"QQ",QRR:"QR",QSS:"QS",QTT:"QT",QU:"EU",QUU:"EU",QVV:"QV",QWW:"QW",QXX:"QX",QYY:"QY",QZZ:"QZ",REU:"RE",RH:"ZW",ROU:"RO",RUS:"RU",RWA:"RW",SAU:"SA",SCG:"RS ME",SDN:"SD",SEN:"SN",SGP:"SG",SGS:"GS",SHN:"SH",SJM:"SJ",SLB:"SB",SLE:"SL",SLV:"SV",SMR:"SM",SOM:"SO",SPM:"PM",SRB:"RS",SSD:"SS",STP:"ST",SU:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUN:"RU AM AZ BY EE GE KZ KG LV LT MD TJ TM UA UZ",SUR:"SR",SVK:"SK",SVN:"SI",SWE:"SE",SWZ:"SZ",SXM:"SX",SYC:"SC",SYR:"SY",TAA:"TA",TCA:"TC",TCD:"TD",TGO:"TG",THA:"TH",TJK:"TJ",TKL:"TK",TKM:"TM",TLS:"TL",TMP:"TL",TON:"TO",TP:"TL",TTO:"TT",TUN:"TN",TUR:"TR",TUV:"TV",TWN:"TW",TZA:"TZ",UGA:"UG",UK:"GB",UKR:"UA",UMI:"UM",URY:"UY",USA:"US",UZB:"UZ",VAT:"VA",VCT:"VC",VD:"VN",VEN:"VE",VGB:"VG",VIR:"VI",VNM:"VN",VUT:"VU",WK:"UM",WLF:"WF",WSM:"WS",XAA:"XA",XBB:"XB",XCC:"XC",XDD:"XD",XEE:"XE",XFF:"XF",XGG:"XG",XHH:"XH",XII:"XI",XJJ:"XJ",XKK:"XK",XLL:"XL",XMM:"XM",XNN:"XN",XOO:"XO",XPP:"XP",XQQ:"XQ",XRR:"XR",XSS:"XS",XTT:"XT",XUU:"XU",XVV:"XV",XWW:"XW",XXX:"XX",XYY:"XY",XZZ:"XZ",YD:"YE",YEM:"YE",YMD:"YE",YU:"RS ME",YUG:"RS ME",ZAF:"ZA",ZAR:"CD",ZMB:"ZM",ZR:"CD",ZWE:"ZW",ZZZ:"ZZ"},t.scriptAlias={Qaai:"Zinh"},t.variantAlias={AALAND:"AX",arevela:"hy",arevmda:"hyw",heploc:"alalc97",HEPLOC:"ALALC97",POLYTONI:"POLYTON"}},55946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emitUnicodeLocaleId=t.emitUnicodeLanguageId=void 0;var n=r(87480);function i(e){return e?n.__spreadArrays([e.lang,e.script,e.region],e.variants||[]).filter(Boolean).join("-"):""}t.emitUnicodeLanguageId=i,t.emitUnicodeLocaleId=function(e){for(var t=e.lang,r=e.extensions,o=[i(t)],a=0,s=r;a<s.length;a++){var l=s[a];switch(o.push(l.type),l.type){case"u":o.push.apply(o,n.__spreadArrays(l.attributes,l.keywords.reduce((function(e,t){return e.concat(t)}),[])));break;case"t":o.push.apply(o,n.__spreadArrays([i(l.lang)],l.fields.reduce((function(e,t){return e.concat(t)}),[])));break;default:o.push(l.value)}}return o.filter(Boolean).join("-")}},36838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUnicodeLocaleId=t.parseUnicodeLanguageId=t.isUnicodeVariantSubtag=t.isUnicodeScriptSubtag=t.isUnicodeRegionSubtag=t.isStructurallyValidLanguageTag=t.isUnicodeLanguageSubtag=t.SEPARATOR=void 0;var n=r(87480),i=/^[a-z0-9]{1,8}$/i,o=/^[a-z0-9]{2,8}$/i,a=/^[a-z0-9]{3,8}$/i,s=/^[a-z0-9][a-z]$/i,l=/^[a-z0-9]{3,8}$/i,c=/^[a-z]{4}$/i,u=/^[0-9a-svwyz]$/i,d=/^([a-z]{2}|[0-9]{3})$/i,p=/^([a-z0-9]{5,8}|[0-9][a-z0-9]{3})$/i,h=/^([a-z]{2,3}|[a-z]{5,8})$/i,f=/^[a-z][0-9]$/i;function m(e){return h.test(e)}function v(e){return d.test(e)}function y(e){return c.test(e)}function g(e){return p.test(e)}function b(e){"string"==typeof e&&(e=e.split(t.SEPARATOR));var r,n,i=e.shift();if(!i)throw new RangeError("Missing unicode_language_subtag");if("root"===i)return{lang:"root",variants:[]};if(!m(i))throw new RangeError("Malformed unicode_language_subtag");y(e[0])&&(r=e.shift()),v(e[0])&&(n=e.shift());for(var o={};e.length&&g(e[0]);){var a=e.shift();if(a in o)throw new RangeError('Duplicate variant "'+a+'"');o[a]=1}return{lang:i,script:r,region:n,variants:Object.keys(o)}}function _(e){for(var t,r=[];e.length&&(t=w(e));)r.push(t);if(r.length)return{type:"u",keywords:r,attributes:[]};for(var n=[];e.length&&a.test(e[0]);)n.push(e.shift());for(;e.length&&(t=w(e));)r.push(t);if(r.length||n.length)return{type:"u",attributes:n,keywords:r};throw new RangeError("Malformed unicode_extension")}function w(e){var r;if(s.test(e[0])){r=e.shift();for(var n=[];e.length&&l.test(e[0]);)n.push(e.shift());var i="";return n.length&&(i=n.join(t.SEPARATOR)),[r,i]}}function k(e){var r;try{r=b(e)}catch(s){}for(var n=[];e.length&&f.test(e[0]);){for(var i=e.shift(),o=[];e.length&&a.test(e[0]);)o.push(e.shift());if(!o.length)throw new RangeError('Missing tvalue for tkey "'+i+'"');n.push([i,o.join(t.SEPARATOR)])}if(n.length)return{type:"t",fields:n,lang:r};throw new RangeError("Malformed transformed_extension")}function x(e){for(var r=[];e.length&&i.test(e[0]);)r.push(e.shift());if(r.length)return{type:"x",value:r.join(t.SEPARATOR)};throw new RangeError("Malformed private_use_extension")}function E(e){for(var r=[];e.length&&o.test(e[0]);)r.push(e.shift());return r.length?r.join(t.SEPARATOR):""}t.SEPARATOR="-",t.isUnicodeLanguageSubtag=m,t.isStructurallyValidLanguageTag=function(e){try{b(e.split(t.SEPARATOR))}catch(r){return!1}return!0},t.isUnicodeRegionSubtag=v,t.isUnicodeScriptSubtag=y,t.isUnicodeVariantSubtag=g,t.parseUnicodeLanguageId=b,t.parseUnicodeLocaleId=function(e){var r=e.split(t.SEPARATOR),i=b(r);return n.__assign({lang:i},function(e){if(!e.length)return{extensions:[]};var t,r,n,i=[],o={};do{var a=e.shift();switch(a){case"u":case"U":if(t)throw new RangeError("There can only be 1 -u- extension");t=_(e),i.push(t);break;case"t":case"T":if(r)throw new RangeError("There can only be 1 -t- extension");r=k(e),i.push(r);break;case"x":case"X":if(n)throw new RangeError("There can only be 1 -x- extension");n=x(e),i.push(n);break;default:if(!u.test(a))throw new RangeError("Malformed extension type");if(a in o)throw new RangeError("There can only be 1 -"+a+"- extension");var s={type:a,value:E(e)};o[s.type]=s,i.push(s)}}while(e.length);return{extensions:i}}(r))}},49126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},27815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=void 0,t.shouldPolyfill=function(){return"undefined"==typeof Intl||!("PluralRules"in Intl)||"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1)}},8621:(e,t,r)=>{"use strict";r.d(t,{G:()=>m});r(43437);var n={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},i={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},o={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},a=/[a-z0-9*]/,s=/U\+/,l=/^arrow/,c=/^space(bar)?/,u=/^escape$/;function d(e,t){var r="";if(e){var n=e.toLowerCase();" "===n||c.test(n)?r="space":u.test(n)?r="esc":1==n.length?t&&!a.test(n)||(r=n):r=l.test(n)?n.replace("arrow",""):"multiply"==n?"*":n}return r}function p(e,t){return e.key?d(e.key,t):e.detail&&e.detail.key?d(e.detail.key,t):(r=e.keyIdentifier,o="",r&&(r in n?o=n[r]:s.test(r)?(r=parseInt(r.replace("U+","0x"),16),o=String.fromCharCode(r).toLowerCase()):o=r.toLowerCase()),o||function(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var r,o}function h(e,t){return p(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function f(e){return e.trim().split(" ").map((function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce((function(e,t){var r=t.split(":"),n=r[0],i=r[1];return n in o?(e[o[n]]=!0,e.hasModifiers=!0):(e.key=n,e.event=i||"keydown"),e}),{combo:e.split(":").shift()})}(e)}))}const m={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var r=f(t),n=0;n<r.length;++n)if(h(r[n],e))return!0;return!1},_collectKeyBindings:function(){var e=this.behaviors.map((function(e){return e.keyBindings}));return-1===e.indexOf(this.keyBindings)&&e.push(this.keyBindings),e},_prepKeyBindings:function(){for(var e in this._keyBindings={},this._collectKeyBindings().forEach((function(e){for(var t in e)this._addKeyBinding(t,e[t])}),this),this._imperativeKeyBindings)this._addKeyBinding(e,this._imperativeKeyBindings[e]);for(var t in this._keyBindings)this._keyBindings[t].sort((function(e,t){var r=e[0].hasModifiers;return r===t[0].hasModifiers?0:r?-1:1}))},_addKeyBinding:function(e,t){f(e).forEach((function(e){this._keyBindings[e.event]=this._keyBindings[e.event]||[],this._keyBindings[e.event].push([e,t])}),this)},_resetKeyEventListeners:function(){this._unlistenKeyEventListeners(),this.isAttached&&this._listenKeyEventListeners()},_listenKeyEventListeners:function(){this.keyEventTarget&&Object.keys(this._keyBindings).forEach((function(e){var t=this._keyBindings[e],r=this._onKeyBindingEvent.bind(this,t);this._boundKeyHandlers.push([this.keyEventTarget,e,r]),this.keyEventTarget.addEventListener(e,r)}),this)},_unlistenKeyEventListeners:function(){for(var e,t,r,n;this._boundKeyHandlers.length;)t=(e=this._boundKeyHandlers.pop())[0],r=e[1],n=e[2],t.removeEventListener(r,n)},_onKeyBindingEvent:function(e,t){if(this.stopKeyboardEventPropagation&&t.stopPropagation(),!t.defaultPrevented)for(var r=0;r<e.length;r++){var n=e[r][0],i=e[r][1];if(h(n,t)&&(this._triggerKeyHandler(n,i,t),t.defaultPrevented))return}},_triggerKeyHandler:function(e,t,r){var n=Object.create(e);n.keyboardEvent=r;var i=new CustomEvent(e.event,{detail:n,cancelable:!0});this[t].call(this,i),i.defaultPrevented&&r.preventDefault()}}},51644:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,P:()=>a});r(43437),r(26110);var n=r(8621),i=r(87156);const o={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,r=(0,i.vz)(t).localTarget;this.isLightDescendant(r)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,r=(0,i.vz)(t).localTarget;this.isLightDescendant(r)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async((function(){this.click()}),1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},a=[n.G,o]},26110:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});r(43437),r(87156);const n={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){this._setFocused("focus"===e.type)},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.getAttribute("tabindex"),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute("tabindex"):this.setAttribute("tabindex",this._oldTabIndex))},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}}},65660:(e,t,r)=>{"use strict";r(43437);const n=r(50856).d`
<custom-style>
<style is="custom-style">
[hidden] {
display: none !important;
}
</style>
</custom-style>
<custom-style>
<style is="custom-style">
html {
--layout: {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
};
--layout-inline: {
display: -ms-inline-flexbox;
display: -webkit-inline-flex;
display: inline-flex;
};
--layout-horizontal: {
@apply --layout;
-ms-flex-direction: row;
-webkit-flex-direction: row;
flex-direction: row;
};
--layout-horizontal-reverse: {
@apply --layout;
-ms-flex-direction: row-reverse;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
};
--layout-vertical: {
@apply --layout;
-ms-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
};
--layout-vertical-reverse: {
@apply --layout;
-ms-flex-direction: column-reverse;
-webkit-flex-direction: column-reverse;
flex-direction: column-reverse;
};
--layout-wrap: {
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
};
--layout-wrap-reverse: {
-ms-flex-wrap: wrap-reverse;
-webkit-flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
};
--layout-flex-auto: {
-ms-flex: 1 1 auto;
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
};
--layout-flex-none: {
-ms-flex: none;
-webkit-flex: none;
flex: none;
};
--layout-flex: {
-ms-flex: 1 1 0.000000001px;
-webkit-flex: 1;
flex: 1;
-webkit-flex-basis: 0.000000001px;
flex-basis: 0.000000001px;
};
--layout-flex-2: {
-ms-flex: 2;
-webkit-flex: 2;
flex: 2;
};
--layout-flex-3: {
-ms-flex: 3;
-webkit-flex: 3;
flex: 3;
};
--layout-flex-4: {
-ms-flex: 4;
-webkit-flex: 4;
flex: 4;
};
--layout-flex-5: {
-ms-flex: 5;
-webkit-flex: 5;
flex: 5;
};
--layout-flex-6: {
-ms-flex: 6;
-webkit-flex: 6;
flex: 6;
};
--layout-flex-7: {
-ms-flex: 7;
-webkit-flex: 7;
flex: 7;
};
--layout-flex-8: {
-ms-flex: 8;
-webkit-flex: 8;
flex: 8;
};
--layout-flex-9: {
-ms-flex: 9;
-webkit-flex: 9;
flex: 9;
};
--layout-flex-10: {
-ms-flex: 10;
-webkit-flex: 10;
flex: 10;
};
--layout-flex-11: {
-ms-flex: 11;
-webkit-flex: 11;
flex: 11;
};
--layout-flex-12: {
-ms-flex: 12;
-webkit-flex: 12;
flex: 12;
};
/* alignment in cross axis */
--layout-start: {
-ms-flex-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
};
--layout-center: {
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
};
--layout-end: {
-ms-flex-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
};
--layout-baseline: {
-ms-flex-align: baseline;
-webkit-align-items: baseline;
align-items: baseline;
};
/* alignment in main axis */
--layout-start-justified: {
-ms-flex-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
};
--layout-center-justified: {
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
};
--layout-end-justified: {
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
};
--layout-around-justified: {
-ms-flex-pack: distribute;
-webkit-justify-content: space-around;
justify-content: space-around;
};
--layout-justified: {
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
};
--layout-center-center: {
@apply --layout-center;
@apply --layout-center-justified;
};
/* self alignment */
--layout-self-start: {
-ms-align-self: flex-start;
-webkit-align-self: flex-start;
align-self: flex-start;
};
--layout-self-center: {
-ms-align-self: center;
-webkit-align-self: center;
align-self: center;
};
--layout-self-end: {
-ms-align-self: flex-end;
-webkit-align-self: flex-end;
align-self: flex-end;
};
--layout-self-stretch: {
-ms-align-self: stretch;
-webkit-align-self: stretch;
align-self: stretch;
};
--layout-self-baseline: {
-ms-align-self: baseline;
-webkit-align-self: baseline;
align-self: baseline;
};
/* multi-line alignment in main axis */
--layout-start-aligned: {
-ms-flex-line-pack: start; /* IE10 */
-ms-align-content: flex-start;
-webkit-align-content: flex-start;
align-content: flex-start;
};
--layout-end-aligned: {
-ms-flex-line-pack: end; /* IE10 */
-ms-align-content: flex-end;
-webkit-align-content: flex-end;
align-content: flex-end;
};
--layout-center-aligned: {
-ms-flex-line-pack: center; /* IE10 */
-ms-align-content: center;
-webkit-align-content: center;
align-content: center;
};
--layout-between-aligned: {
-ms-flex-line-pack: justify; /* IE10 */
-ms-align-content: space-between;
-webkit-align-content: space-between;
align-content: space-between;
};
--layout-around-aligned: {
-ms-flex-line-pack: distribute; /* IE10 */
-ms-align-content: space-around;
-webkit-align-content: space-around;
align-content: space-around;
};
/*******************************
Other Layout
*******************************/
--layout-block: {
display: block;
};
--layout-invisible: {
visibility: hidden !important;
};
--layout-relative: {
position: relative;
};
--layout-fit: {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
};
--layout-scroll: {
-webkit-overflow-scrolling: touch;
overflow: auto;
};
--layout-fullbleed: {
margin: 0;
height: 100vh;
};
/* fixed position */
--layout-fixed-top: {
position: fixed;
top: 0;
left: 0;
right: 0;
};
--layout-fixed-right: {
position: fixed;
top: 0;
right: 0;
bottom: 0;
};
--layout-fixed-bottom: {
position: fixed;
right: 0;
bottom: 0;
left: 0;
};
--layout-fixed-left: {
position: fixed;
top: 0;
bottom: 0;
left: 0;
};
}
</style>
</custom-style>`;n.setAttribute("style","display: none;"),document.head.appendChild(n.content);var i=document.createElement("style");i.textContent="[hidden] { display: none !important; }",document.head.appendChild(i)},33760:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});r(43437);var n=r(51644),i=r(26110);const o=[n.P,i.a,{hostAttributes:{role:"option",tabindex:"0"}}]},97968:(e,t,r)=>{"use strict";r(65660),r(15495),r(1656),r(47686);const n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML="<dom-module id=\"paper-item-shared-styles\">\n <template>\n <style>\n :host, .paper-item {\n display: block;\n position: relative;\n min-height: var(--paper-item-min-height, 48px);\n padding: 0px 16px;\n }\n\n .paper-item {\n @apply --paper-font-subhead;\n border:none;\n outline: none;\n background: white;\n width: 100%;\n text-align: left;\n }\n\n :host([hidden]), .paper-item[hidden] {\n display: none !important;\n }\n\n :host(.iron-selected), .paper-item.iron-selected {\n font-weight: var(--paper-item-selected-weight, bold);\n\n @apply --paper-item-selected;\n }\n\n :host([disabled]), .paper-item[disabled] {\n color: var(--paper-item-disabled-color, var(--disabled-text-color));\n\n @apply --paper-item-disabled;\n }\n\n :host(:focus), .paper-item:focus {\n position: relative;\n outline: 0;\n\n @apply --paper-item-focused;\n }\n\n :host(:focus):before, .paper-item:focus:before {\n @apply --layout-fit;\n\n background: currentColor;\n content: '';\n opacity: var(--dark-divider-opacity);\n pointer-events: none;\n\n @apply --paper-item-focused-before;\n }\n </style>\n </template>\n</dom-module>",document.head.appendChild(n.content)},53973:(e,t,r)=>{"use strict";r(43437),r(65660),r(97968);var n=r(9672),i=r(50856),o=r(33760);(0,n.k)({_template:i.d`
<style include="paper-item-shared-styles">
:host {
@apply --layout-horizontal;
@apply --layout-center;
@apply --paper-font-subhead;
@apply --paper-item;
}
</style>
<slot></slot>
`,is:"paper-item",behaviors:[o.U]})},15495:(e,t,r)=>{"use strict";r(43437);const n=r(50856).d`
<custom-style>
<style is="custom-style">
html {
/* Material Design color palette for Google products */
--google-red-100: #f4c7c3;
--google-red-300: #e67c73;
--google-red-500: #db4437;
--google-red-700: #c53929;
--google-blue-100: #c6dafc;
--google-blue-300: #7baaf7;
--google-blue-500: #4285f4;
--google-blue-700: #3367d6;
--google-green-100: #b7e1cd;
--google-green-300: #57bb8a;
--google-green-500: #0f9d58;
--google-green-700: #0b8043;
--google-yellow-100: #fce8b2;
--google-yellow-300: #f7cb4d;
--google-yellow-500: #f4b400;
--google-yellow-700: #f09300;
--google-grey-100: #f5f5f5;
--google-grey-300: #e0e0e0;
--google-grey-500: #9e9e9e;
--google-grey-700: #616161;
/* Material Design color palette from online spec document */
--paper-red-50: #ffebee;
--paper-red-100: #ffcdd2;
--paper-red-200: #ef9a9a;
--paper-red-300: #e57373;
--paper-red-400: #ef5350;
--paper-red-500: #f44336;
--paper-red-600: #e53935;
--paper-red-700: #d32f2f;
--paper-red-800: #c62828;
--paper-red-900: #b71c1c;
--paper-red-a100: #ff8a80;
--paper-red-a200: #ff5252;
--paper-red-a400: #ff1744;
--paper-red-a700: #d50000;
--paper-pink-50: #fce4ec;
--paper-pink-100: #f8bbd0;
--paper-pink-200: #f48fb1;
--paper-pink-300: #f06292;
--paper-pink-400: #ec407a;
--paper-pink-500: #e91e63;
--paper-pink-600: #d81b60;
--paper-pink-700: #c2185b;
--paper-pink-800: #ad1457;
--paper-pink-900: #880e4f;
--paper-pink-a100: #ff80ab;
--paper-pink-a200: #ff4081;
--paper-pink-a400: #f50057;
--paper-pink-a700: #c51162;
--paper-purple-50: #f3e5f5;
--paper-purple-100: #e1bee7;
--paper-purple-200: #ce93d8;
--paper-purple-300: #ba68c8;
--paper-purple-400: #ab47bc;
--paper-purple-500: #9c27b0;
--paper-purple-600: #8e24aa;
--paper-purple-700: #7b1fa2;
--paper-purple-800: #6a1b9a;
--paper-purple-900: #4a148c;
--paper-purple-a100: #ea80fc;
--paper-purple-a200: #e040fb;
--paper-purple-a400: #d500f9;
--paper-purple-a700: #aa00ff;
--paper-deep-purple-50: #ede7f6;
--paper-deep-purple-100: #d1c4e9;
--paper-deep-purple-200: #b39ddb;
--paper-deep-purple-300: #9575cd;
--paper-deep-purple-400: #7e57c2;
--paper-deep-purple-500: #673ab7;
--paper-deep-purple-600: #5e35b1;
--paper-deep-purple-700: #512da8;
--paper-deep-purple-800: #4527a0;
--paper-deep-purple-900: #311b92;
--paper-deep-purple-a100: #b388ff;
--paper-deep-purple-a200: #7c4dff;
--paper-deep-purple-a400: #651fff;
--paper-deep-purple-a700: #6200ea;
--paper-indigo-50: #e8eaf6;
--paper-indigo-100: #c5cae9;
--paper-indigo-200: #9fa8da;
--paper-indigo-300: #7986cb;
--paper-indigo-400: #5c6bc0;
--paper-indigo-500: #3f51b5;
--paper-indigo-600: #3949ab;
--paper-indigo-700: #303f9f;
--paper-indigo-800: #283593;
--paper-indigo-900: #1a237e;
--paper-indigo-a100: #8c9eff;
--paper-indigo-a200: #536dfe;
--paper-indigo-a400: #3d5afe;
--paper-indigo-a700: #304ffe;
--paper-blue-50: #e3f2fd;
--paper-blue-100: #bbdefb;
--paper-blue-200: #90caf9;
--paper-blue-300: #64b5f6;
--paper-blue-400: #42a5f5;
--paper-blue-500: #2196f3;
--paper-blue-600: #1e88e5;
--paper-blue-700: #1976d2;
--paper-blue-800: #1565c0;
--paper-blue-900: #0d47a1;
--paper-blue-a100: #82b1ff;
--paper-blue-a200: #448aff;
--paper-blue-a400: #2979ff;
--paper-blue-a700: #2962ff;
--paper-light-blue-50: #e1f5fe;
--paper-light-blue-100: #b3e5fc;
--paper-light-blue-200: #81d4fa;
--paper-light-blue-300: #4fc3f7;
--paper-light-blue-400: #29b6f6;
--paper-light-blue-500: #03a9f4;
--paper-light-blue-600: #039be5;
--paper-light-blue-700: #0288d1;
--paper-light-blue-800: #0277bd;
--paper-light-blue-900: #01579b;
--paper-light-blue-a100: #80d8ff;
--paper-light-blue-a200: #40c4ff;
--paper-light-blue-a400: #00b0ff;
--paper-light-blue-a700: #0091ea;
--paper-cyan-50: #e0f7fa;
--paper-cyan-100: #b2ebf2;
--paper-cyan-200: #80deea;
--paper-cyan-300: #4dd0e1;
--paper-cyan-400: #26c6da;
--paper-cyan-500: #00bcd4;
--paper-cyan-600: #00acc1;
--paper-cyan-700: #0097a7;
--paper-cyan-800: #00838f;
--paper-cyan-900: #006064;
--paper-cyan-a100: #84ffff;
--paper-cyan-a200: #18ffff;
--paper-cyan-a400: #00e5ff;
--paper-cyan-a700: #00b8d4;
--paper-teal-50: #e0f2f1;
--paper-teal-100: #b2dfdb;
--paper-teal-200: #80cbc4;
--paper-teal-300: #4db6ac;
--paper-teal-400: #26a69a;
--paper-teal-500: #009688;
--paper-teal-600: #00897b;
--paper-teal-700: #00796b;
--paper-teal-800: #00695c;
--paper-teal-900: #004d40;
--paper-teal-a100: #a7ffeb;
--paper-teal-a200: #64ffda;
--paper-teal-a400: #1de9b6;
--paper-teal-a700: #00bfa5;
--paper-green-50: #e8f5e9;
--paper-green-100: #c8e6c9;
--paper-green-200: #a5d6a7;
--paper-green-300: #81c784;
--paper-green-400: #66bb6a;
--paper-green-500: #4caf50;
--paper-green-600: #43a047;
--paper-green-700: #388e3c;
--paper-green-800: #2e7d32;
--paper-green-900: #1b5e20;
--paper-green-a100: #b9f6ca;
--paper-green-a200: #69f0ae;
--paper-green-a400: #00e676;
--paper-green-a700: #00c853;
--paper-light-green-50: #f1f8e9;
--paper-light-green-100: #dcedc8;
--paper-light-green-200: #c5e1a5;
--paper-light-green-300: #aed581;
--paper-light-green-400: #9ccc65;
--paper-light-green-500: #8bc34a;
--paper-light-green-600: #7cb342;
--paper-light-green-700: #689f38;
--paper-light-green-800: #558b2f;
--paper-light-green-900: #33691e;
--paper-light-green-a100: #ccff90;
--paper-light-green-a200: #b2ff59;
--paper-light-green-a400: #76ff03;
--paper-light-green-a700: #64dd17;
--paper-lime-50: #f9fbe7;
--paper-lime-100: #f0f4c3;
--paper-lime-200: #e6ee9c;
--paper-lime-300: #dce775;
--paper-lime-400: #d4e157;
--paper-lime-500: #cddc39;
--paper-lime-600: #c0ca33;
--paper-lime-700: #afb42b;
--paper-lime-800: #9e9d24;
--paper-lime-900: #827717;
--paper-lime-a100: #f4ff81;
--paper-lime-a200: #eeff41;
--paper-lime-a400: #c6ff00;
--paper-lime-a700: #aeea00;
--paper-yellow-50: #fffde7;
--paper-yellow-100: #fff9c4;
--paper-yellow-200: #fff59d;
--paper-yellow-300: #fff176;
--paper-yellow-400: #ffee58;
--paper-yellow-500: #ffeb3b;
--paper-yellow-600: #fdd835;
--paper-yellow-700: #fbc02d;
--paper-yellow-800: #f9a825;
--paper-yellow-900: #f57f17;
--paper-yellow-a100: #ffff8d;
--paper-yellow-a200: #ffff00;
--paper-yellow-a400: #ffea00;
--paper-yellow-a700: #ffd600;
--paper-amber-50: #fff8e1;
--paper-amber-100: #ffecb3;
--paper-amber-200: #ffe082;
--paper-amber-300: #ffd54f;
--paper-amber-400: #ffca28;
--paper-amber-500: #ffc107;
--paper-amber-600: #ffb300;
--paper-amber-700: #ffa000;
--paper-amber-800: #ff8f00;
--paper-amber-900: #ff6f00;
--paper-amber-a100: #ffe57f;
--paper-amber-a200: #ffd740;
--paper-amber-a400: #ffc400;
--paper-amber-a700: #ffab00;
--paper-orange-50: #fff3e0;
--paper-orange-100: #ffe0b2;
--paper-orange-200: #ffcc80;
--paper-orange-300: #ffb74d;
--paper-orange-400: #ffa726;
--paper-orange-500: #ff9800;
--paper-orange-600: #fb8c00;
--paper-orange-700: #f57c00;
--paper-orange-800: #ef6c00;
--paper-orange-900: #e65100;
--paper-orange-a100: #ffd180;
--paper-orange-a200: #ffab40;
--paper-orange-a400: #ff9100;
--paper-orange-a700: #ff6500;
--paper-deep-orange-50: #fbe9e7;
--paper-deep-orange-100: #ffccbc;
--paper-deep-orange-200: #ffab91;
--paper-deep-orange-300: #ff8a65;
--paper-deep-orange-400: #ff7043;
--paper-deep-orange-500: #ff5722;
--paper-deep-orange-600: #f4511e;
--paper-deep-orange-700: #e64a19;
--paper-deep-orange-800: #d84315;
--paper-deep-orange-900: #bf360c;
--paper-deep-orange-a100: #ff9e80;
--paper-deep-orange-a200: #ff6e40;
--paper-deep-orange-a400: #ff3d00;
--paper-deep-orange-a700: #dd2c00;
--paper-brown-50: #efebe9;
--paper-brown-100: #d7ccc8;
--paper-brown-200: #bcaaa4;
--paper-brown-300: #a1887f;
--paper-brown-400: #8d6e63;
--paper-brown-500: #795548;
--paper-brown-600: #6d4c41;
--paper-brown-700: #5d4037;
--paper-brown-800: #4e342e;
--paper-brown-900: #3e2723;
--paper-grey-50: #fafafa;
--paper-grey-100: #f5f5f5;
--paper-grey-200: #eeeeee;
--paper-grey-300: #e0e0e0;
--paper-grey-400: #bdbdbd;
--paper-grey-500: #9e9e9e;
--paper-grey-600: #757575;
--paper-grey-700: #616161;
--paper-grey-800: #424242;
--paper-grey-900: #212121;
--paper-blue-grey-50: #eceff1;
--paper-blue-grey-100: #cfd8dc;
--paper-blue-grey-200: #b0bec5;
--paper-blue-grey-300: #90a4ae;
--paper-blue-grey-400: #78909c;
--paper-blue-grey-500: #607d8b;
--paper-blue-grey-600: #546e7a;
--paper-blue-grey-700: #455a64;
--paper-blue-grey-800: #37474f;
--paper-blue-grey-900: #263238;
/* opacity for dark text on a light background */
--dark-divider-opacity: 0.12;
--dark-disabled-opacity: 0.38; /* or hint text or icon */
--dark-secondary-opacity: 0.54;
--dark-primary-opacity: 0.87;
/* opacity for light text on a dark background */
--light-divider-opacity: 0.12;
--light-disabled-opacity: 0.3; /* or hint text or icon */
--light-secondary-opacity: 0.7;
--light-primary-opacity: 1.0;
}
</style>
</custom-style>
`;n.setAttribute("style","display: none;"),document.head.appendChild(n.content)},1656:(e,t,r)=>{"use strict";r(43437),r(15495);const n=r(50856).d`
<custom-style>
<style is="custom-style">
html {
/*
* You can use these generic variables in your elements for easy theming.
* For example, if all your elements use \`--primary-text-color\` as its main
* color, then switching from a light to a dark theme is just a matter of
* changing the value of \`--primary-text-color\` in your application.
*/
--primary-text-color: var(--light-theme-text-color);
--primary-background-color: var(--light-theme-background-color);
--secondary-text-color: var(--light-theme-secondary-color);
--disabled-text-color: var(--light-theme-disabled-color);
--divider-color: var(--light-theme-divider-color);
--error-color: var(--paper-deep-orange-a700);
/*
* Primary and accent colors. Also see color.js for more colors.
*/
--primary-color: var(--paper-indigo-500);
--light-primary-color: var(--paper-indigo-100);
--dark-primary-color: var(--paper-indigo-700);
--accent-color: var(--paper-pink-a200);
--light-accent-color: var(--paper-pink-a100);
--dark-accent-color: var(--paper-pink-a400);
/*
* Material Design Light background theme
*/
--light-theme-background-color: #ffffff;
--light-theme-base-color: #000000;
--light-theme-text-color: var(--paper-grey-900);
--light-theme-secondary-color: #737373; /* for secondary text and icons */
--light-theme-disabled-color: #9b9b9b; /* disabled/hint text */
--light-theme-divider-color: #dbdbdb;
/*
* Material Design Dark background theme
*/
--dark-theme-background-color: var(--paper-grey-900);
--dark-theme-base-color: #ffffff;
--dark-theme-text-color: #ffffff;
--dark-theme-secondary-color: #bcbcbc; /* for secondary text and icons */
--dark-theme-disabled-color: #646464; /* disabled/hint text */
--dark-theme-divider-color: #3c3c3c;
/*
* Deprecated values because of their confusing names.
*/
--text-primary-color: var(--dark-theme-text-color);
--default-primary-color: var(--primary-color);
}
</style>
</custom-style>`;n.setAttribute("style","display: none;"),document.head.appendChild(n.content)},47686:(e,t,r)=>{"use strict";r(43437);if(!window.polymerSkipLoadingFontRoboto){const e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.crossOrigin="anonymous",e.href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic",document.head.appendChild(e)}const n=r(50856).d`<custom-style>
<style is="custom-style">
html {
/* Shared Styles */
--paper-font-common-base: {
font-family: 'Roboto', 'Noto', sans-serif;
-webkit-font-smoothing: antialiased;
};
--paper-font-common-code: {
font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
-webkit-font-smoothing: antialiased;
};
--paper-font-common-expensive-kerning: {
text-rendering: optimizeLegibility;
};
--paper-font-common-nowrap: {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
};
/* Material Font Styles */
--paper-font-display4: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 112px;
font-weight: 300;
letter-spacing: -.044em;
line-height: 120px;
};
--paper-font-display3: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 56px;
font-weight: 400;
letter-spacing: -.026em;
line-height: 60px;
};
--paper-font-display2: {
@apply --paper-font-common-base;
font-size: 45px;
font-weight: 400;
letter-spacing: -.018em;
line-height: 48px;
};
--paper-font-display1: {
@apply --paper-font-common-base;
font-size: 34px;
font-weight: 400;
letter-spacing: -.01em;
line-height: 40px;
};
--paper-font-headline: {
@apply --paper-font-common-base;
font-size: 24px;
font-weight: 400;
letter-spacing: -.012em;
line-height: 32px;
};
--paper-font-title: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 20px;
font-weight: 500;
line-height: 28px;
};
--paper-font-subhead: {
@apply --paper-font-common-base;
font-size: 16px;
font-weight: 400;
line-height: 24px;
};
--paper-font-body2: {
@apply --paper-font-common-base;
font-size: 14px;
font-weight: 500;
line-height: 24px;
};
--paper-font-body1: {
@apply --paper-font-common-base;
font-size: 14px;
font-weight: 400;
line-height: 20px;
};
--paper-font-caption: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 12px;
font-weight: 400;
letter-spacing: 0.011em;
line-height: 20px;
};
--paper-font-menu: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 13px;
font-weight: 500;
line-height: 24px;
};
--paper-font-button: {
@apply --paper-font-common-base;
@apply --paper-font-common-nowrap;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.018em;
line-height: 24px;
text-transform: uppercase;
};
--paper-font-code2: {
@apply --paper-font-common-code;
font-size: 14px;
font-weight: 700;
line-height: 20px;
};
--paper-font-code1: {
@apply --paper-font-common-code;
font-size: 14px;
font-weight: 500;
line-height: 20px;
};
}
</style>
</custom-style>`;n.setAttribute("style","display: none;"),document.head.appendChild(n.content)},5618:(e,t,r)=>{"use strict";var n=r(34816),i=r(10868),o=r(26539);const a=new n.ZP;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,r){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,r){},styleSubtree(e,t){a.processStyles(),(0,i.wW)(e,t)},styleElement(e){a.processStyles()},styleDocument(e){a.processStyles(),(0,i.wW)(document.body,e)},getComputedStyleValue:(e,t)=>(0,i.B7)(e,t),flushCustomStyles(){},nativeCss:o.rd,nativeShadow:o.WA,cssBuild:o.Cp,disableRuntime:o.jF}),window.ShadyCSS.CustomStyleInterface=a;var s=r(15392);const l="include",c=window.ShadyCSS.CustomStyleInterface;class u extends HTMLElement{constructor(){super(),this._style=null,c.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;const t=e.getAttribute(l);return t&&(e.removeAttribute(l),e.textContent=(0,s.jv)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",u)},26047:(e,t,r)=>{"use strict";var n=r(28426),i=r(52521),o=r(78956),a=r(93252),s=r(21683),l=r(4059);class c extends n.H3{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"}}}constructor(){super(),this.__renderDebouncer=null,this.__invalidProps=null,this.__instance=null,this._lastIf=!1,this.__ctor=null,this.__hideTemplateChildren__=!1}__debounceRender(){this.__renderDebouncer=o.d.debounce(this.__renderDebouncer,s.YA,(()=>this.__render())),(0,a.E)(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback(),this.parentNode&&(this.parentNode.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||this.parentNode.host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),this.style.display="none",this.if&&this.__debounceRender()}render(){(0,a.y)()}__render(){if(this.if){if(!this.__ensureInstance())return;this._showHideChildren()}else this.restamp&&this.__teardownInstance();!this.restamp&&this.__instance&&this._showHideChildren(),this.if!=this._lastIf&&(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__ensureInstance(){let e=this.parentNode;if(e){if(!this.__ctor){let e=this.querySelector("template");if(!e){let e=new MutationObserver((()=>{if(!this.querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}this.__ctor=(0,i.Uv)(e,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[(0,l.Jz)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();let t=this.__instance.children;if(t&&t.length){if(this.previousSibling!==t[t.length-1])for(let r,n=0;n<t.length&&(r=t[n]);n++)e.insertBefore(r,this)}}else this.__instance=new this.__ctor,e.insertBefore(this.__instance.root,this)}return!0}__syncHostProperties(){let e=this.__invalidProps;if(e){for(let t in e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__invalidProps=null,this.__instance._flushProperties()}}__teardownInstance(){if(this.__instance){let e=this.__instance.children;if(e&&e.length){let t=e[0].parentNode;if(t)for(let r,n=0;n<e.length&&(r=e[n]);n++)t.removeChild(r)}this.__instance=null,this.__invalidProps=null}}_showHideChildren(){let e=this.__hideTemplateChildren__||!this.if;this.__instance&&this.__instance._showHideChildren(e)}}customElements.define(c.is,c)},21384:(e,t,r)=>{"use strict";r.d(t,{t:()=>c});r(56646);var n=r(42687),i=r(74460);let o={},a={};function s(e,t){o[e]=a[e.toLowerCase()]=t}function l(e){return o[e]||a[e.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){let r=l(e);return r&&t?r.querySelector(t):r}return null}attributeChangedCallback(e,t,r,n){t!==r&&this.register()}get assetpath(){if(!this.__assetpath){const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=(0,n.Kk)(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=(0,n.iY)(t)}return this.__assetpath}register(e){if(e=e||this.id){if(i.XN&&void 0!==l(e))throw s(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,s(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}c.prototype.modules=o,customElements.define("dom-module",c)},42173:(e,t,r)=>{"use strict";var n=r(28426),i=r(52521),o=r(78956),a=r(93252),s=r(18691),l=r(4059),c=r(21683);const u=(0,s.w)(n.H3);class d extends u{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"__initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__limit=1/0,this.__pool=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__lastChunkTime=null,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e)}connectedCallback(){if(super.connectedCallback(),this.style.display="none",this.__isDetached){this.__isDetached=!1;let e=this.parentNode;for(let t=0;t<this.__instances.length;t++)this.__attachInstance(t,e)}}__ensureTemplatized(){if(!this.__ctor){let e=this.template=this.querySelector("template");if(!e){let e=new MutationObserver((()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}let t={};t[this.as]=!0,t[this.indexAs]=!0,t[this.itemsIndexAs]=!0,this.__ctor=(0,i.Uv)(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:t,forwardHostProp:function(e,t){let r=this.__instances;for(let n,i=0;i<r.length&&(n=r[i]);i++)n.forwardHostProp(e,t)},notifyInstanceProp:function(e,t,r){if((0,l.wB)(this.as,t)){let n=e[this.itemsIndexAs];t==this.as&&(this.items[n]=r);let i=(0,l.Iu)(this.as,"items."+n,t);this.notifyPath(i,r)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(e){if("string"==typeof e){let t=e,r=this.__getMethodHost();return function(){return r[t].apply(r,arguments)}}return e}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__initializeChunking(){this.initialCount&&(this.__limit=this.initialCount,this.__chunkCount=this.initialCount,this.__lastChunkTime=performance.now())}__tryRenderChunk(){this.items&&this.__limit<this.items.length&&this.__debounceRender(this.__requestRenderChunk)}__requestRenderChunk(){requestAnimationFrame((()=>this.__renderChunk()))}__renderChunk(){let e=performance.now(),t=this._targetFrameTime/(e-this.__lastChunkTime);this.__chunkCount=Math.round(this.__chunkCount*t)||1,this.__limit+=this.__chunkCount,this.__lastChunkTime=e,this.__debounceRender(this.__render)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||(this.__initializeChunking(),this.__debounceRender(this.__render))}__handleObservedPaths(e){if(this.__sortFn||this.__filterFn)if(e){if(this.__observePaths){let t=this.__observePaths;for(let r=0;r<t.length;r++)0===e.indexOf(t[r])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__debounceRender(e,t=0){this.__renderDebouncer=o.d.debounce(this.__renderDebouncer,t>0?c.Wc.after(t):c.YA,e.bind(this)),(0,a.E)(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),(0,a.y)()}__render(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}__applyFullRefresh(){let e=this.items||[],t=new Array(e.length);for(let o=0;o<e.length;o++)t[o]=o;this.__filterFn&&(t=t.filter(((t,r,n)=>this.__filterFn(e[t],r,n)))),this.__sortFn&&t.sort(((t,r)=>this.__sortFn(e[t],e[r])));const r=this.__itemsIdxToInstIdx={};let n=0;const i=Math.min(t.length,this.__limit);for(;n<i;n++){let i=this.__instances[n],o=t[n],a=e[o];r[o]=n,i?(i._setPendingProperty(this.as,a),i._setPendingProperty(this.indexAs,n),i._setPendingProperty(this.itemsIndexAs,o),i._flushProperties()):this.__insertInstance(a,n,o)}for(let o=this.__instances.length-1;o>=n;o--)this.__detachAndRemoveInstance(o)}__detachInstance(e){let t=this.__instances[e];for(let r=0;r<t.children.length;r++){let e=t.children[r];t.root.appendChild(e)}return t}__attachInstance(e,t){let r=this.__instances[e];t.insertBefore(r.root,this)}__detachAndRemoveInstance(e){let t=this.__detachInstance(e);t&&this.__pool.push(t),this.__instances.splice(e,1)}__stampInstance(e,t,r){let n={};return n[this.as]=e,n[this.indexAs]=t,n[this.itemsIndexAs]=r,new this.__ctor(n)}__insertInstance(e,t,r){let n=this.__pool.pop();n?(n._setPendingProperty(this.as,e),n._setPendingProperty(this.indexAs,t),n._setPendingProperty(this.itemsIndexAs,r),n._flushProperties()):n=this.__stampInstance(e,t,r);let i=this.__instances[t+1],o=i?i.children[0]:this;return this.parentNode.insertBefore(n.root,o),this.__instances[t]=n,n}_showHideChildren(e){for(let t=0;t<this.__instances.length;t++)this.__instances[t]._showHideChildren(e)}__handleItemPath(e,t){let r=e.slice(6),n=r.indexOf("."),i=n<0?r:r.substring(0,n);if(i==parseInt(i,10)){let e=n<0?"":r.substring(n+1);this.__handleObservedPaths(e);let o=this.__itemsIdxToInstIdx[i],a=this.__instances[o];if(a){let r=this.as+(e?"."+e:"");a._setPendingPropertyOrPath(r,t,!1,!0),a._flushProperties()}return!0}}itemForElement(e){let t=this.modelForElement(e);return t&&t[this.as]}indexForElement(e){let t=this.modelForElement(e);return t&&t[this.indexAs]}modelForElement(e){return(0,i.GJ)(this.template,e)}}customElements.define(d.is,d)},33367:(e,t,r)=>{"use strict";r.d(t,{w:()=>c});var n=r(81850);let i={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0};function o(e,t){if(!e)return t=t;t=(0,n.x)(t),Array.isArray(e)||(e=[e]);let r=t.prototype.behaviors;return t=a(e=s(e,null,r),t),r&&(e=r.concat(e)),t.prototype.behaviors=e,t}function a(e,t){for(let r=0;r<e.length;r++){let n=e[r];n&&(t=Array.isArray(n)?a(n,t):l(n,t))}return t}function s(e,t,r){t=t||[];for(let n=e.length-1;n>=0;n--){let i=e[n];i?Array.isArray(i)?s(i,t):t.indexOf(i)<0&&(!r||r.indexOf(i)<0)&&t.unshift(i):console.warn("behavior is null, check for missing or 404 import")}return t}function l(e,t){class r extends t{static get properties(){return e.properties}static get observers(){return e.observers}created(){super.created(),e.created&&e.created.call(this)}_registered(){super._registered(),e.beforeRegister&&e.beforeRegister.call(Object.getPrototypeOf(this)),e.registered&&e.registered.call(Object.getPrototypeOf(this))}_applyListeners(){if(super._applyListeners(),e.listeners)for(let t in e.listeners)this._addMethodEventListenerToNode(this,t,e.listeners[t])}_ensureAttributes(){if(e.hostAttributes)for(let t in e.hostAttributes)this._ensureAttribute(t,e.hostAttributes[t]);super._ensureAttributes()}ready(){super.ready(),e.ready&&e.ready.call(this)}attached(){super.attached(),e.attached&&e.attached.call(this)}detached(){super.detached(),e.detached&&e.detached.call(this)}attributeChanged(t,r,n){super.attributeChanged(t,r,n),e.attributeChanged&&e.attributeChanged.call(this,t,r,n)}}r.generatedFrom=e;for(let n in e)if(!(n in i)){let t=Object.getOwnPropertyDescriptor(e,n);t&&Object.defineProperty(r.prototype,n,t)}return r}const c=function(e,t){e||console.warn("Polymer's Class function requires `info` argument");const r=e.behaviors?o(e.behaviors,HTMLElement):(0,n.x)(HTMLElement),i=l(e,t?t(r):r);return i.is=e.is,i}},81850:(e,t,r)=>{"use strict";r.d(t,{x:()=>he});var n=r(26539);class i{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function o(e){return a(function(e){let t=new i;t.start=0,t.end=e.length;let r=t;for(let n=0,o=e.length;n<o;n++)if(e[n]===c){r.rules||(r.rules=[]);let e=r,t=e.rules[e.rules.length-1]||null;r=new i,r.start=n+1,r.parent=e,r.previous=t,e.rules.push(r)}else e[n]===u&&(r.end=n+1,r=r.parent||t);return t}(e=e.replace(d.comments,"").replace(d.port,"")),e)}function a(e,t){let r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){let n=e.previous?e.previous.end:e.parent.start;r=t.substring(n,e.start-1),r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e}))}(r),r=r.replace(d.multipleSpaces," "),r=r.substring(r.lastIndexOf(";")+1);let i=e.parsedSelector=e.selector=r.trim();e.atRule=0===i.indexOf(f),e.atRule?0===i.indexOf(h)?e.type=l.MEDIA_RULE:i.match(d.keyframesRule)&&(e.type=l.KEYFRAMES_RULE,e.keyframesName=e.selector.split(d.multipleSpaces).pop()):0===i.indexOf(p)?e.type=l.MIXIN_RULE:e.type=l.STYLE_RULE}let n=e.rules;if(n)for(let i,o=0,s=n.length;o<s&&(i=n[o]);o++)a(i,t);return e}function s(e,t,r=""){let n="";if(e.cssText||e.rules){let r=e.rules;if(r&&!function(e){let t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(p)}(r))for(let e,i=0,o=r.length;i<o&&(e=r[i]);i++)n=s(e,t,n);else n=t?e.cssText:function(e){return function(e){return e.replace(d.mixinApply,"").replace(d.varApply,"")}(e=function(e){return e.replace(d.customProp,"").replace(d.mixinProp,"")}(e))}(e.cssText),n=n.trim(),n&&(n=" "+n+"\n")}return n&&(e.selector&&(r+=e.selector+" "+c+"\n"),r+=n,e.selector&&(r+=u+"\n\n")),r}const l={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},c="{",u="}",d={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},p="--",h="@media",f="@";var m=r(60309);const v=new Set;function y(e){const t=e.textContent;if(!v.has(t)){v.add(t);const e=document.createElement("style");e.setAttribute("shady-unscoped",""),e.textContent=t,document.head.appendChild(e)}}function g(e){return e.hasAttribute("shady-unscoped")}function b(e,t){return e?("string"==typeof e&&(e=o(e)),t&&w(e,t),s(e,n.rd)):""}function _(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function w(e,t,r,n){if(!e)return;let i=!1,o=e.type;if(n&&o===l.MEDIA_RULE){let t=e.selector.match(m.mA);t&&(window.matchMedia(t[1]).matches||(i=!0))}o===l.STYLE_RULE?t(e):r&&o===l.KEYFRAMES_RULE?r(e):o===l.MIXIN_RULE&&(i=!0);let a=e.rules;if(a&&!i)for(let s,l=0,c=a.length;l<c&&(s=a[l]);l++)w(s,t,r,n)}function k(e,t){let r=0;for(let n=t,i=e.length;n<i;n++)if("("===e[n])r++;else if(")"===e[n]&&0==--r)return n;return-1}function x(e,t){let r=e.indexOf("var(");if(-1===r)return t(e,"","","");let n=k(e,r+3),i=e.substring(r+4,n),o=e.substring(0,r),a=x(e.substring(n+1),t),s=i.indexOf(",");return-1===s?t(o,i.trim(),"",a):t(o,i.substring(0,s).trim(),i.substring(s+1).trim(),a)}window.ShadyDOM&&window.ShadyDOM.wrap;const E="css-build";function A(e){if(void 0!==n.Cp)return n.Cp;if(void 0===e.__cssBuild){const t=e.getAttribute(E);if(t)e.__cssBuild=t;else{const t=function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if(e[0]===E)return e[1]}return""}(e);""!==t&&function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}(e),e.__cssBuild=t}}return e.__cssBuild||""}function S(e){return""!==A(e)}var L=r(10868);const C=/;\s*/m,P=/^\s*(initial)|(inherit)\s*$/,T=/\s*!important/,I="_-_";class Z{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let O=null;class N{constructor(){this._currentElement=null,this._measureElement=null,this._map=new Z}detectMixin(e){return(0,L.OH)(e)}gatherStyles(e){const t=function(e){const t=[],r=e.querySelectorAll("style");for(let i=0;i<r.length;i++){const e=r[i];g(e)?n.WA||(y(e),e.parentNode.removeChild(e)):(t.push(e.textContent),e.parentNode.removeChild(e))}return t.join("").trim()}(e.content);if(t){const r=document.createElement("style");return r.textContent=t,e.content.insertBefore(r,e.content.firstChild),r}return null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));const r=e._gatheredStyle;return r?this.transformStyle(r,t):null}transformStyle(e,t=""){let r=_(e);return this.transformRules(r,t),e.textContent=b(r),r}transformCustomStyle(e){let t=_(e);return w(t,(e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)})),e.textContent=b(t),t}transformRules(e,t){this._currentElement=t,w(e,(e=>{this.transformRule(e)})),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,t){return e=e.replace(m.CN,((e,r,n,i)=>this._produceCssProperties(e,r,n,i,t))),this._consumeCssProperties(e,t)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(e){let t=e;for(;t.parent;)t=t.parent;const r={};let n=!1;return w(t,(t=>{n=n||t===e,n||t.selector===e.selector&&Object.assign(r,this._cssTextToMap(t.parsedCssText))})),r}_consumeCssProperties(e,t){let r=null;for(;r=m.$T.exec(e);){let n=r[0],i=r[1],o=r.index,a=o+n.indexOf("@apply"),s=o+n.length,l=e.slice(0,a),c=e.slice(s),u=t?this._fallbacksFromPreviousRules(t):{};Object.assign(u,this._cssTextToMap(l));let d=this._atApplyToCssProperties(i,u);e=`${l}${d}${c}`,m.$T.lastIndex=o+d.length}return e}_atApplyToCssProperties(e,t){e=e.replace(C,"");let r=[],n=this._map.get(e);if(n||(this._map.set(e,{}),n=this._map.get(e)),n){let i,o,a;this._currentElement&&(n.dependants[this._currentElement]=!0);const s=n.properties;for(i in s)a=t&&t[i],o=[i,": var(",e,I,i],a&&o.push(",",a.replace(T,"")),o.push(")"),T.test(s[i])&&o.push(" !important"),r.push(o.join(""))}return r.join("; ")}_replaceInitialOrInherit(e,t){let r=P.exec(t);return r&&(t=r[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}_cssTextToMap(e,t=!1){let r,n,i=e.split(";"),o={};for(let a,s,l=0;l<i.length;l++)a=i[l],a&&(s=a.split(":"),s.length>1&&(r=s[0].trim(),n=s.slice(1).join(":"),t&&(n=this._replaceInitialOrInherit(r,n)),o[r]=n));return o}_invalidateMixinEntry(e){if(O)for(let t in e.dependants)t!==this._currentElement&&O(t)}_produceCssProperties(e,t,r,n,i){if(r&&x(r,((e,t)=>{t&&this._map.get(t)&&(n=`@apply ${t};`)})),!n)return e;let o=this._consumeCssProperties(""+n,i),a=e.slice(0,e.indexOf("--")),s=this._cssTextToMap(o,!0),l=s,c=this._map.get(t),u=c&&c.properties;u?l=Object.assign(Object.create(u),s):this._map.set(t,l);let d,p,h=[],f=!1;for(d in l)p=s[d],void 0===p&&(p="initial"),u&&!(d in u)&&(f=!0),h.push(`${t}_-_${d}: ${p}`);return f&&this._invalidateMixinEntry(c),c&&(c.properties=l),r&&(a=`${e};${a}`),`${a}${h.join("; ")};`}}N.prototype.detectMixin=N.prototype.detectMixin,N.prototype.transformStyle=N.prototype.transformStyle,N.prototype.transformCustomStyle=N.prototype.transformCustomStyle,N.prototype.transformRules=N.prototype.transformRules,N.prototype.transformRule=N.prototype.transformRule,N.prototype.transformTemplate=N.prototype.transformTemplate,N.prototype._separator=I,Object.defineProperty(N.prototype,"invalidCallback",{get:()=>O,set(e){O=e}});const R=N,M={},z="_applyShimCurrentVersion",D="_applyShimNextVersion",j="_applyShimValidatingVersion",F=Promise.resolve();function B(e){let t=M[e];t&&function(e){e[z]=e[z]||0,e[j]=e[j]||0,e[D]=(e[D]||0)+1}(t)}function U(e){return e[z]===e[D]}function H(e){return!U(e)&&e[j]===e[D]}function G(e){e[j]=e[D],e._validating||(e._validating=!0,F.then((function(){e[z]=e[D],e._validating=!1})))}r(34816);const V=new R;class K{constructor(){this.customStyleInterface=null,V.invalidCallback=B}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{V.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame((()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()}))})}prepareTemplate(e,t){if(this.ensure(),S(e))return;M[t]=e;let r=V.transformTemplate(e,t);e._styleAst=r}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let t=0;t<e.length;t++){let r=e[t],n=this.customStyleInterface.getStyleForCustomStyle(r);n&&V.transformCustomStyle(n)}this.customStyleInterface.enqueued=!1}}styleSubtree(e,t){if(this.ensure(),t&&(0,L.wW)(e,t),e.shadowRoot){this.styleElement(e);let t=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}else{let t=e.children||e.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}}styleElement(e){this.ensure();let{is:t}=function(e){let t=e.localName,r="",n="";return t?t.indexOf("-")>-1?r=t:(n=t,r=e.getAttribute&&e.getAttribute("is")||""):(r=e.is,n=e.extends),{is:r,typeExtension:n}}(e),r=M[t];if((!r||!S(r))&&r&&!U(r)){H(r)||(this.prepareTemplate(r,t),G(r));let n=e.shadowRoot;if(n){let e=n.querySelector("style");e&&(e.__cssRules=r._styleAst,e.textContent=b(r._styleAst))}}}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const e=new K;let t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(t,r,n){e.flushCustomStyles(),e.prepareTemplate(t,r)},prepareTemplateStyles(e,t,r){window.ShadyCSS.prepareTemplate(e,t,r)},prepareTemplateDom(e,t){},styleSubtree(t,r){e.flushCustomStyles(),e.styleSubtree(t,r)},styleElement(t){e.flushCustomStyles(),e.styleElement(t)},styleDocument(t){e.flushCustomStyles(),e.styleDocument(t)},getComputedStyleValue:(e,t)=>(0,L.B7)(e,t),flushCustomStyles(){e.flushCustomStyles()},nativeCss:n.rd,nativeShadow:n.WA,cssBuild:n.Cp,disableRuntime:n.jF},t&&(window.ShadyCSS.CustomStyleInterface=t)}window.ShadyCSS.ApplyShim=V;var $=r(36608),q=r(60995),X=r(63933),W=r(76389);const Y=/:host\(:dir\((ltr|rtl)\)\)/g,J=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Q=[];let ee=null,te="";function re(){te=document.documentElement.getAttribute("dir")}function ne(e){if(!e.__autoDirOptOut){e.setAttribute("dir",te)}}function ie(){re(),te=document.documentElement.getAttribute("dir");for(let e=0;e<Q.length;e++)ne(Q[e])}const oe=(0,W.o)((e=>{ee||(re(),ee=new MutationObserver(ie),ee.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const t=(0,X.Q)(e);class r extends t{static _processStyleText(e,t){return e=super._processStyleText(e,t),e=this._replaceDirInCssText(e)}static _replaceDirInCssText(e){let t=e;return t=t.replace(Y,':host([dir="$1"])'),t=t.replace(J,':host([dir="$2"]) $1'),e!==t&&(this.__activateDir=!0),t}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){t.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(ee&&ee.takeRecords().length&&ie(),Q.push(this),ne(this))}disconnectedCallback(){if(t.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const e=Q.indexOf(this);e>-1&&Q.splice(e,1)}}}return r.__activateDir=!1,r}));r(87529);function ae(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?ae():window.addEventListener("DOMContentLoaded",ae);var se=r(87156),le=r(81668),ce=r(78956),ue=r(21683),de=r(4059);let pe=window.ShadyCSS;const he=(0,W.o)((e=>{const t=oe((0,q._)((0,$.SH)(e))),r={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class n extends t{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this._applyListeners()}static get importMeta(){return this.prototype.importMeta}created(){}connectedCallback(){super.connectedCallback(),this.isAttached=!0,this.attached()}attached(){}disconnectedCallback(){super.disconnectedCallback(),this.isAttached=!1,this.detached()}detached(){}attributeChangedCallback(e,t,r,n){t!==r&&(super.attributeChangedCallback(e,t,r,n),this.attributeChanged(e,t,r))}attributeChanged(e,t,r){}_initializeProperties(){let e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(e.__hasRegisterFinished=!0,this._registered()),super._initializeProperties(),this.root=this,this.created()}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,r){this._propertyToAttribute(e,t,r)}serializeValueToAttribute(e,t,r){this._valueToNodeAttribute(r||this,e,t)}extend(e,t){if(!e||!t)return e||t;let r=Object.getOwnPropertyNames(t);for(let n,i=0;i<r.length&&(n=r[i]);i++){let r=Object.getOwnPropertyDescriptor(t,n);r&&Object.defineProperty(e,n,r)}return e}mixin(e,t){for(let r in t)e[r]=t[r];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){let t=this.constructor._contentForTemplate(e);return document.importNode(t,!0)}fire(e,t,r){r=r||{},t=null==t?{}:t;let n=new Event(e,{bubbles:void 0===r.bubbles||r.bubbles,cancelable:Boolean(r.cancelable),composed:void 0===r.composed||r.composed});return n.detail=t,(r.node||this).dispatchEvent(n),n}listen(e,t,r){e=e||this;let n=this.__boundListeners||(this.__boundListeners=new WeakMap),i=n.get(e);i||(i={},n.set(e,i));let o=t+r;i[o]||(i[o]=this._addMethodEventListenerToNode(e,t,r,this))}unlisten(e,t,r){e=e||this;let n=this.__boundListeners&&this.__boundListeners.get(e),i=t+r,o=n&&n[i];o&&(this._removeEventListenerFromNode(e,t,o),n[i]=null)}setScrollDirection(e,t){(0,le.BP)(t||this,r[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){let e=this.getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){window.ShadyDOM&&this.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return(0,se.vz)(this).getEffectiveChildNodes()}queryDistributedElements(e){return(0,se.vz)(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}getEffectiveTextContent(){let e=this.getEffectiveChildNodes(),t=[];for(let r,n=0;r=e[n];n++)r.nodeType!==Node.COMMENT_NODE&&t.push(r.textContent);return t.join("")}queryEffectiveChildren(e){let t=this.queryDistributedElements(e);return t&&t[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){let t=this.root.querySelector(e||"slot");return t?(0,se.vz)(t).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}isLightDescendant(e){const t=this;return t!==e&&t.contains(e)&&t.getRootNode()===e.getRootNode()}isLocalDescendant(e){return this.root===e.getRootNode()}scopeSubtree(e,t){}getComputedStyleValue(e){return pe.getComputedStyleValue(this,e)}debounce(e,t,r){return this._debouncers=this._debouncers||{},this._debouncers[e]=ce.d.debounce(this._debouncers[e],r>0?ue.Wc.after(r):ue.YA,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];return!(!t||!t.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.cancel()}async(e,t){return t>0?ue.Wc.run(e.bind(this),t):~ue.YA.run(e.bind(this))}cancelAsync(e){e<0?ue.YA.cancel(~e):ue.Wc.cancel(e)}create(e,t){let r=document.createElement(e);if(t)if(r.setProperties)r.setProperties(t);else for(let n in t)r[n]=t[n];return r}elementMatches(e,t){return(0,se.Ku)(t||this,e)}toggleAttribute(e,t){let r=this;return 3===arguments.length&&(r=arguments[2]),1==arguments.length&&(t=!r.hasAttribute(e)),t?(r.setAttribute(e,""),!0):(r.removeAttribute(e),!1)}toggleClass(e,t,r){r=r||this,1==arguments.length&&(t=!r.classList.contains(e)),t?r.classList.add(e):r.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,r,n){n=n||this,this.transform("translate3d("+e+","+t+","+r+")",n)}arrayDelete(e,t){let r;if(Array.isArray(e)){if(r=e.indexOf(t),r>=0)return e.splice(r,1)}else{if(r=(0,de.U2)(this,e).indexOf(t),r>=0)return this.splice(e,r,1)}return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return n.prototype.is="",n}))},72419:(e,t,r)=>{"use strict";var n=r(18691);let i;i=n.E._mutablePropertyChange;Boolean},9672:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(33367);r(56646);const i=function(e){let t;return t="function"==typeof e?e:i.Class(e),customElements.define(t.is,t),t};i.Class=n.w},87156:(e,t,r)=>{"use strict";r.d(t,{Ku:()=>a,vz:()=>c});r(56646),r(74460);var n=r(20723);r(93252),r(78956);const i=Element.prototype,o=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector,a=function(e,t){return o.call(e,t)};class s{constructor(e){this.node=e}observeNodes(e){return new n.o(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if(this.node.contains(e))return!0;let t=e,r=e.ownerDocument;for(;t&&t!==r&&t!==this.node;)t=t.parentNode||t.host;return t===this.node}getOwnerRoot(){return this.node.getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?this.node.assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=this.node.assignedSlot;for(;t;)e.push(t),t=t.assignedSlot;return e}importNode(e,t){return(this.node instanceof Document?this.node:this.node.ownerDocument).importNode(e,t)}getEffectiveChildNodes(){return n.o.getFlattenedNodes(this.node)}queryDistributedElements(e){let t=this.getEffectiveChildNodes(),r=[];for(let n,i=0,o=t.length;i<o&&(n=t[i]);i++)n.nodeType===Node.ELEMENT_NODE&&a(n,e)&&r.push(n);return r}get activeElement(){let e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}class l{constructor(e){this.event=e}get rootTarget(){return this.event.composedPath()[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}s.prototype.cloneNode,s.prototype.appendChild,s.prototype.insertBefore,s.prototype.removeChild,s.prototype.replaceChild,s.prototype.setAttribute,s.prototype.removeAttribute,s.prototype.querySelector,s.prototype.querySelectorAll,s.prototype.parentNode,s.prototype.firstChild,s.prototype.lastChild,s.prototype.nextSibling,s.prototype.previousSibling,s.prototype.firstElementChild,s.prototype.lastElementChild,s.prototype.nextElementSibling,s.prototype.previousElementSibling,s.prototype.childNodes,s.prototype.children,s.prototype.classList,s.prototype.textContent,s.prototype.innerHTML,function(e,t){for(let r=0;r<t.length;r++){let n=t[r];e[n]=function(){return this.node[n].apply(this.node,arguments)}}}(s.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll"]),function(e,t){for(let r=0;r<t.length;r++){let n=t[r];Object.defineProperty(e,n,{get:function(){return this.node[n]},configurable:!0})}}(s.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList"]),function(e,t){for(let r=0;r<t.length;r++){let n=t[r];Object.defineProperty(e,n,{get:function(){return this.node[n]},set:function(e){this.node[n]=e},configurable:!0})}}(s.prototype,["textContent","innerHTML"]);const c=function(e){if(!(e=e||document).__domApi){let t;t=e instanceof Event?new l(e):new s(e),e.__domApi=t}return e.__domApi}},37692:(e,t,r)=>{"use strict";r(52521)},36608:(e,t,r)=>{"use strict";r.d(t,{SH:()=>d});r(56646);var n=r(74460),i=r(76389),o=r(15392),a=r(42687),s=r(21384),l=r(40729),c=r(24072);const u=(0,i.o)((e=>{const t=(0,c.e)(e);function r(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function n(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){const r=e.properties;r&&(t=function(e){const t={};for(let r in e){const n=e[r];t[r]="function"==typeof n?{type:n}:n}return t}(r))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){const e=this._properties;return e?Object.keys(e).map((e=>this.attributeNameForProperty(e))):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const e=r(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const e=n(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const e=r(this);this.__properties=Object.assign({},e&&e._properties,n(this))}return this.__properties}static typeForProperty(e){const t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i})),d=(0,i.o)((e=>{const t=u((0,l.q)(e));return class extends t{static get polymerElementVersion(){return"3.0.5"}static _finalizeClass(){var e;super._finalizeClass(),this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&this.is&&(e=this.prototype,p.push(e));const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties);let n=this.template;n&&("string"==typeof n?(console.error("template getter must return HTMLTemplateElement"),n=null):n=n.cloneNode(!0)),this.prototype._template=n}static createProperties(e){for(let o in e)t=this.prototype,r=o,n=e[o],i=e,n.computed&&(n.readOnly=!0),n.computed&&!t._hasReadOnlyEffect(r)&&t._createComputedProperty(r,n.computed,i),n.readOnly&&!t._hasReadOnlyEffect(r)&&t._createReadOnlyProperty(r,!n.computed),n.reflectToAttribute&&!t._hasReflectEffect(r)&&t._createReflectedProperty(r),n.notify&&!t._hasNotifyEffect(r)&&t._createNotifyingProperty(r),n.observer&&t._createPropertyObserver(r,n.observer,i[n.observer]),t._addPropertyToAttributeMap(r);var t,r,n,i}static createObservers(e,t){const r=this.prototype;for(let n=0;n<e.length;n++)r._createMethodObserver(e[n],t)}static get template(){return this.hasOwnProperty(JSCompiler_renameProperty("_template",this))||(this._template=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:function(e){let t=null;if(e&&(!n.XN||n.ZN)&&(t=s.t.import(e,"template"),n.XN&&!t))throw new Error("strictTemplatePolicy: expecting dom-module or null template for "+e);return t}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template),this._template}static set template(e){this._template=e}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const e=this.importMeta;if(e)this._importPath=(0,a.iY)(e.url);else{const e=s.t.import(this.is);this._importPath=e&&e.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=n.sM,this.importPath=this.constructor.importPath;let e=function(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",e))){e.__propertyDefaults=null;let t=e._properties;for(let r in t){let n=t[r];"value"in n&&(e.__propertyDefaults=e.__propertyDefaults||{},e.__propertyDefaults[r]=n)}}return e.__propertyDefaults}(this.constructor);if(e)for(let t in e){let r=e[t];if(!this.hasOwnProperty(t)){let e="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(t)?this._setPendingProperty(t,e,!0):this[t]=e}}}static _processStyleText(e,t){return(0,a.Rq)(e,t)}static _finalizeTemplate(e){const t=this.prototype._template;if(t&&!t.__polymerFinalized){t.__polymerFinalized=!0;const r=this.importPath;!function(e,t,r,n){const i=t.content.querySelectorAll("style"),a=(0,o.uT)(t),s=(0,o.lx)(r),l=t.content.firstElementChild;for(let o=0;o<s.length;o++){let r=s[o];r.textContent=e._processStyleText(r.textContent,n),t.content.insertBefore(r,l)}let c=0;for(let o=0;o<a.length;o++){let t=a[o],r=i[c];r!==t?(t=t.cloneNode(!0),r.parentNode.insertBefore(t,r)):c++,t.textContent=e._processStyleText(t.textContent,n)}window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,r)}(this,t,e,r?(0,a.Kk)(r):""),this.prototype._bindTemplate(t)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(e){if(this.attachShadow)return e?(this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(e),this.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(e){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,e)}resolveUrl(e,t){return!t&&this.importPath&&(t=(0,a.Kk)(this.importPath)),(0,a.Kk)(e,t)}static _parseTemplateContent(e,t,r){return t.dynamicFns=t.dynamicFns||this._properties,super._parseTemplateContent(e,t,r)}}}));const p=[]},60995:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});r(56646);var n=r(76389),i=r(81668);const o=(0,n.o)((e=>class extends e{_addEventListenerToNode(e,t,r){(0,i.NH)(e,t,r)||super._addEventListenerToNode(e,t,r)}_removeEventListenerFromNode(e,t,r){(0,i.ys)(e,t,r)||super._removeEventListenerFromNode(e,t,r)}}))},18691:(e,t,r)=>{"use strict";r.d(t,{E:()=>o,w:()=>a});var n=r(76389);function i(e,t,r,n,i){let o;i&&(o="object"==typeof r&&null!==r,o&&(n=e.__dataTemp[t]));let a=n!==r&&(n==n||r==r);return o&&a&&(e.__dataTemp[t]=r),a}const o=(0,n.o)((e=>class extends e{_shouldPropertyChange(e,t,r){return i(this,e,t,r,!0)}})),a=(0,n.o)((e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,r){return i(this,e,t,r,this.mutableData)}}));o._mutablePropertyChange=i},24072:(e,t,r)=>{"use strict";r.d(t,{e:()=>o});r(56646);var n=r(76389);const i=r(21683).YA,o=(0,n.o)((e=>class extends e{static createProperties(e){const t=this.prototype;for(let r in e)r in t||t._createPropertyAccessor(r)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){const t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,r){let n=this.__data[e],i=this._shouldPropertyChange(e,t,n);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=n),this.__data[e]=t,this.__dataPending[e]=t),i}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,i.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){const e=this.__data,t=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(e,t,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,r))}_shouldPropertiesChange(e,t,r){return Boolean(t)}_propertiesChanged(e,t,r){}_shouldPropertyChange(e,t,r){return r!==t&&(r==r||t==t)}attributeChangedCallback(e,t,r,n){t!==r&&this._attributeToProperty(e,r),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,r,n)}_attributeToProperty(e,t,r){if(!this.__serializing){const n=this.__dataAttributes,i=n&&n[e]||e;this[i]=this._deserializeValue(t,r||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,r){this.__serializing=!0,r=arguments.length<3?this[e]:r,this._valueToNodeAttribute(this,r,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,r){const n=this._serializeValue(t);void 0===n?e.removeAttribute(r):e.setAttribute(r,n)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}))},63933:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l});r(56646);var n=r(76389),i=r(67130),o=r(24072);const a={};let s=HTMLElement.prototype;for(;s;){let e=Object.getOwnPropertyNames(s);for(let t=0;t<e.length;t++)a[e[t]]=!0;s=Object.getPrototypeOf(s)}const l=(0,n.o)((e=>{const t=(0,o.e)(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t<e.length;t++)this.prototype._createPropertyAccessor((0,i.z)(e[t]))}static attributeNameForProperty(e){return(0,i.n)(e)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(e){for(let t in e)this._setProperty(t,e[t])}_ensureAttribute(e,t){const r=this;r.hasAttribute(e)||this._valueToNodeAttribute(r,t,e)}_serializeValue(e){switch(typeof e){case"object":if(e instanceof Date)return e.toString();if(e)try{return JSON.stringify(e)}catch(t){return""}default:return super._serializeValue(e)}}_deserializeValue(e,t){let r;switch(t){case Object:try{r=JSON.parse(e)}catch(n){r=e}break;case Array:try{r=JSON.parse(e)}catch(n){r=null,console.warn("Polymer::Attributes: couldn't decode Array as JSON: "+e)}break;case Date:r=isNaN(e)?String(e):Number(e),r=new Date(r);break;default:r=super._deserializeValue(e,t)}return r}_definePropertyAccessor(e,t){!function(e,t){if(!a[t]){let r=e[t];void 0!==r&&(e.__data?e._setPendingProperty(t,r):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=r))}}(this,e),super._definePropertyAccessor(e,t)}_hasAccessor(e){return this.__dataHasAccessor&&this.__dataHasAccessor[e]}_isPropertyPending(e){return Boolean(this.__dataPending&&e in this.__dataPending)}}}))},40729:(e,t,r)=>{"use strict";r.d(t,{q:()=>H});r(56646);var n=r(76389),i=r(4059),o=r(67130),a=r(63933);const s={"dom-if":!0,"dom-repeat":!0};function l(e){let t=e.getAttribute("is");if(t&&s[t]){let r=e;for(r.removeAttribute("is"),e=r.ownerDocument.createElement(t),r.parentNode.replaceChild(e,r),e.appendChild(r);r.attributes.length;)e.setAttribute(r.attributes[0].name,r.attributes[0].value),r.removeAttribute(r.attributes[0].name)}return e}function c(e,t){let r=t.parentInfo&&c(e,t.parentInfo);if(!r)return e;for(let n=r.firstChild,i=0;n;n=n.nextSibling)if(t.parentIndex===i++)return n}function u(e,t,r,n){n.id&&(t[n.id]=r)}function d(e,t,r){if(r.events&&r.events.length)for(let n,i=0,o=r.events;i<o.length&&(n=o[i]);i++)e._addMethodEventListenerToNode(t,n.name,n.value,e)}function p(e,t,r){r.templateInfo&&(t._templateInfo=r.templateInfo)}const h=(0,n.o)((e=>class extends e{static _parseTemplate(e,t){if(!e._templateInfo){let r=e._templateInfo={};r.nodeInfoList=[],r.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,r,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,r){return this._parseTemplateNode(e.content,t,r)}static _parseTemplateNode(e,t,r){let n,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):n=this._parseTemplateNestedTemplate(i,t,r)||n,i.firstChild&&(n=this._parseTemplateChildNodes(i,t,r)||n),i.hasAttributes&&i.hasAttributes()&&(n=this._parseTemplateNodeAttributes(i,t,r)||n),n}static _parseTemplateChildNodes(e,t,r){if("script"!==e.localName&&"style"!==e.localName)for(let n,i=e.firstChild,o=0;i;i=n){if("template"==i.localName&&(i=l(i)),n=i.nextSibling,i.nodeType===Node.TEXT_NODE){let r=n;for(;r&&r.nodeType===Node.TEXT_NODE;)i.textContent+=r.textContent,n=r.nextSibling,e.removeChild(r),r=n;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}let a={parentIndex:o,parentInfo:r};this._parseTemplateNode(i,t,a)&&(a.infoIndex=t.nodeInfoList.push(a)-1),i.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,r){let n=this._parseTemplate(e,t);return(n.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,r){let n=!1,i=Array.from(e.attributes);for(let o,a=i.length-1;o=i[a];a--)n=this._parseTemplateNodeAttribute(e,t,r,o.name,o.value)||n;return n}static _parseTemplateNodeAttribute(e,t,r,n,i){return"on-"===n.slice(0,3)?(e.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:i}),!0):"id"===n&&(r.id=i,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let t=this.constructor._parseTemplate(e),r=t.nodeInfoList,n=t.content||e.content,i=document.importNode(n,!0);i.__noInsertionPoint=!t.hasInsertionPoint;let o=i.nodeList=new Array(r.length);i.$={};for(let a,s=0,l=r.length;s<l&&(a=r[s]);s++){let e=o[s]=c(i,a);u(0,i.$,e,a),p(0,e,a),d(this,e,a)}return i=i,i}_addMethodEventListenerToNode(e,t,r,n){let i=function(e,t,r){return e=e._methodHost||e,function(t){e[r]?e[r](t,t.detail):console.warn("listener method `"+r+"` not defined")}}(n=n||e,0,r);return this._addEventListenerToNode(e,t,i),i}_addEventListenerToNode(e,t,r){e.addEventListener(t,r)}_removeEventListenerFromNode(e,t,r){e.removeEventListener(t,r)}}));var f=r(74460);let m=0;const v={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},y=/[A-Z]/;let g;function b(e,t){let r=e[t];if(r){if(!e.hasOwnProperty(t)){r=e[t]=Object.create(e[t]);for(let e in r){let t=r[e],n=r[e]=Array(t.length);for(let e=0;e<t.length;e++)n[e]=t[e]}}}else r=e[t]={};return r}function _(e,t,r,n,i,o){if(t){let a=!1,s=m++;for(let l in r)w(e,t,s,l,r,n,i,o)&&(a=!0);return a}return!1}function w(e,t,r,n,o,a,s,l){let c=!1,u=t[s?(0,i.Jz)(n):n];if(u)for(let i,d=0,p=u.length;d<p&&(i=u[d]);d++)i.info&&i.info.lastRun===r||s&&!k(n,i.trigger)||(i.info&&(i.info.lastRun=r),i.fn(e,n,o,a,i.info,s,l),c=!0);return c}function k(e,t){if(t){let r=t.name;return r==e||t.structured&&(0,i.jg)(r,e)||t.wildcard&&(0,i.SG)(r,e)}return!0}function x(e,t,r,n,i){let o="string"==typeof i.method?e[i.method]:i.method,a=i.property;o?o.call(e,e.__data[a],n[a]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function E(e,t,r){let n=(0,i.Jz)(t);if(n!==t){return A(e,(0,o.n)(n)+"-changed",r[t],t),!0}return!1}function A(e,t,r,n){let i={value:r,queueProperty:!0};n&&(i.path=n),e.dispatchEvent(new CustomEvent(t,{detail:i}))}function S(e,t,r,n,o,a){let s=(a?(0,i.Jz)(t):t)!=t?t:null,l=s?(0,i.U2)(e,s):e.__data[t];s&&void 0===l&&(l=r[t]),A(e,o.eventName,l,s)}function L(e,t,r,n,i){let o=e.__data[t];f.v1&&(o=(0,f.v1)(o,i.attrName,"attribute",e)),e._propertyToAttribute(t,i.attrName,o)}function C(e,t,r,n,i){let o=R(e,t,r,n,i),a=i.methodInfo;e.__dataHasAccessor&&e.__dataHasAccessor[a]?e._setPendingProperty(a,o,!0):e[a]=o}function P(e,t,r,n,i,a,s){r.bindings=r.bindings||[];let l={kind:n,target:i,parts:a,literal:s,isCompound:1!==a.length};if(r.bindings.push(l),function(e){return Boolean(e.target)&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode}(l)){let{event:e,negate:t}=l.parts[0];l.listenerEvent=e||(0,o.n)(i)+"-changed",l.listenerNegate=t}let c=t.nodeInfoList.length;for(let o=0;o<l.parts.length;o++){let r=l.parts[o];r.compoundIndex=o,T(e,t,l,r,c)}}function T(e,t,r,n,i){if(!n.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let o=n.dependencies,a={index:i,binding:r,part:n,evaluator:e};for(let r=0;r<o.length;r++){let n=o[r];"string"==typeof n&&(n=F(n),n.wildcard=!0),e._addTemplatePropertyEffect(t,n.rootProperty,{fn:I,info:a,trigger:n})}}}function I(e,t,r,n,o,a,s){let l=s[o.index],c=o.binding,u=o.part;if(a&&u.source&&t.length>u.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let n=r[t];t=(0,i.Iu)(u.source,c.target,t),l._setPendingPropertyOrPath(t,n,!1,!0)&&e._enqueueClient(l)}else{!function(e,t,r,n,i){i=function(e,t,r,n){if(r.isCompound){let i=e.__dataCompoundStorage[r.target];i[n.compoundIndex]=t,t=i.join("")}"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t));return t}(t,i,r,n),f.v1&&(i=(0,f.v1)(i,r.target,r.kind,t));if("attribute"==r.kind)e._valueToNodeAttribute(t,i,r.target);else{let n=r.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[n]?t[v.READ_ONLY]&&t[v.READ_ONLY][n]||t._setPendingProperty(n,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,n,i)}}(e,l,c,u,o.evaluator._evaluateBinding(e,u,t,r,n,a))}}function Z(e,t){if(t.isCompound){let r=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),n=t.parts,i=new Array(n.length);for(let e=0;e<n.length;e++)i[e]=n[e].literal;let o=t.target;r[o]=i,t.literal&&"property"==t.kind&&(e[o]=t.literal)}}function O(e,t,r){if(r.listenerEvent){let n=r.parts[0];e.addEventListener(r.listenerEvent,(function(e){!function(e,t,r,n,o){let a,s=e.detail,l=s&&s.path;l?(n=(0,i.Iu)(r,n,l),a=s&&s.value):a=e.currentTarget[r],a=o?!a:a,t[v.READ_ONLY]&&t[v.READ_ONLY][n]||!t._setPendingPropertyOrPath(n,a,!0,Boolean(l))||s&&s.queueProperty||t._invalidateProperties()}(e,t,r.target,n.source,n.negate)}))}}function N(e,t,r,n,i,o){o=t.static||o&&("object"!=typeof o||o[t.methodName]);let a={methodName:t.methodName,args:t.args,methodInfo:i,dynamicFn:o};for(let s,l=0;l<t.args.length&&(s=t.args[l]);l++)s.literal||e._addPropertyEffect(s.rootProperty,r,{fn:n,info:a,trigger:s});o&&e._addPropertyEffect(t.methodName,r,{fn:n,info:a})}function R(e,t,r,n,i){let o=e._methodHost||e,a=o[i.methodName];if(a){let n=e._marshalArgs(i.args,t,r);return a.apply(o,n)}i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const M=[],z=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");function D(e){let t="";for(let r=0;r<e.length;r++){t+=e[r].literal||""}return t}function j(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let e={methodName:t[1],static:!0,args:M};if(t[2].trim()){return function(e,t){return t.args=e.map((function(e){let r=F(e);return r.literal||(t.static=!1),r}),this),t}(t[2].replace(/\\,/g,",").split(","),e)}return e}return null}function F(e){let t=e.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),r={name:t,value:"",literal:!1},n=t[0];switch("-"===n&&(n=t[1]),n>="0"&&n<="9"&&(n="#"),n){case"'":case'"':r.value=t.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(t),r.literal=!0}return r.literal||(r.rootProperty=(0,i.Jz)(t),r.structured=(0,i.AZ)(t),r.structured&&(r.wildcard=".*"==t.slice(-2),r.wildcard&&(r.name=t.slice(0,-2)))),r}function B(e,t,r,n){let i=r+".splices";e.notifyPath(i,{indexSplices:n}),e.notifyPath(r+".length",t.length),e.__data[i]={indexSplices:null}}function U(e,t,r,n,i,o){B(e,t,r,[{index:n,addedCount:i,removed:o,object:t,type:"splice"}])}const H=(0,n.o)((e=>{const t=h((0,a.Q)(e));class r extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return v}_initializeProperties(){super._initializeProperties(),G.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[v.READ_ONLY];for(let r in e)t&&t[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=e[r])}_addPropertyEffect(e,t,r){this._createPropertyAccessor(e,t==v.READ_ONLY);let n=b(this,t)[e];n||(n=this[t][e]=[]),n.push(r)}_removePropertyEffect(e,t,r){let n=b(this,t)[e],i=n.indexOf(r);i>=0&&n.splice(i,1)}_hasPropertyEffect(e,t){let r=this[t];return Boolean(r&&r[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,v.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,v.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,v.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,v.COMPUTE)}_setPendingPropertyOrPath(e,t,r,n){if(n||(0,i.Jz)(Array.isArray(e)?e[0]:e)!==e){if(!n){let r=(0,i.U2)(this,e);if(!(e=(0,i.t8)(this,e,t))||!super._shouldPropertyChange(e,t,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,r))return function(e,t,r){let n=e.__dataLinkedPaths;if(n){let o;for(let a in n){let s=n[a];(0,i.SG)(a,t)?(o=(0,i.Iu)(a,s,t),e._setPendingPropertyOrPath(o,r,!0,!0)):(0,i.SG)(s,t)&&(o=(0,i.Iu)(s,a,t),e._setPendingPropertyOrPath(o,r,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,r);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,r){r===e[t]&&"object"!=typeof r||(e[t]=r)}_setPendingProperty(e,t,r){let n=this.__dataHasPaths&&(0,i.AZ)(e),o=n?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,o[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),n?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(n||this[v.NOTIFY]&&this[v.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=r),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t<e.length;t++){let r=e[t];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(e,t){for(let r in e)!t&&this[v.READ_ONLY]&&this[v.READ_ONLY][r]||this._setPendingPropertyOrPath(r,e[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(e,t,r){let n=this.__dataHasPaths;this.__dataHasPaths=!1,function(e,t,r,n){let i=e[v.COMPUTE];if(i){let o=t;for(;_(e,i,o,r,n);)Object.assign(r,e.__dataOld),Object.assign(t,e.__dataPending),o=e.__dataPending,e.__dataPending=null}}(this,t,r,n);let i=this.__dataToNotify;this.__dataToNotify=null,this._propagatePropertyChanges(t,r,n),this._flushClients(),_(this,this[v.REFLECT],t,r,n),_(this,this[v.OBSERVE],t,r,n),i&&function(e,t,r,n,i){let o,a,s=e[v.NOTIFY],l=m++;for(let c in t)t[c]&&(s&&w(e,s,l,c,r,n,i)||i&&E(e,c,r))&&(o=!0);o&&(a=e.__dataHost)&&a._invalidateProperties&&a._invalidateProperties()}(this,i,t,r,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,r){this[v.PROPAGATE]&&_(this,this[v.PROPAGATE],e,t,r);let n=this.__templateInfo;for(;n;)_(this,n.propertyEffects,e,t,r,n.nodeList),n=n.nextTemplateInfo}linkPaths(e,t){e=(0,i.Fv)(e),t=(0,i.Fv)(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=(0,i.Fv)(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let r={path:""};B(this,(0,i.U2)(this,e,r),r.path,t)}get(e,t){return(0,i.U2)(t||this,e)}set(e,t,r){r?(0,i.t8)(r,e,t):this[v.READ_ONLY]&&this[v.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let r={path:""},n=(0,i.U2)(this,e,r),o=n.length,a=n.push(...t);return t.length&&U(this,n,r.path,o,t.length,[]),a}pop(e){let t={path:""},r=(0,i.U2)(this,e,t),n=Boolean(r.length),o=r.pop();return n&&U(this,r,t.path,r.length,0,[o]),o}splice(e,t,r,...n){let o,a={path:""},s=(0,i.U2)(this,e,a);return t<0?t=s.length-Math.floor(-t):t&&(t=Math.floor(t)),o=2===arguments.length?s.splice(t):s.splice(t,r,...n),(n.length||o.length)&&U(this,s,a.path,t,n.length,o),o}shift(e){let t={path:""},r=(0,i.U2)(this,e,t),n=Boolean(r.length),o=r.shift();return n&&U(this,r,t.path,0,0,[o]),o}unshift(e,...t){let r={path:""},n=(0,i.U2)(this,e,r),o=n.unshift(...t);return t.length&&U(this,n,r.path,0,t.length,[]),o}notifyPath(e,t){let r;if(1==arguments.length){let n={path:""};t=(0,i.U2)(this,e,n),r=n.path}else r=Array.isArray(e)?(0,i.Fv)(e):e;this._setPendingPropertyOrPath(r,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var r;this._addPropertyEffect(e,v.READ_ONLY),t&&(this["_set"+(r=e,r[0].toUpperCase()+r.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,r){let n={property:e,method:t,dynamicFn:Boolean(r)};this._addPropertyEffect(e,v.OBSERVE,{fn:x,info:n,trigger:{name:e}}),r&&this._addPropertyEffect(t,v.OBSERVE,{fn:x,info:n,trigger:{name:t}})}_createMethodObserver(e,t){let r=j(e);if(!r)throw new Error("Malformed observer expression '"+e+"'");N(this,r,v.OBSERVE,R,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,v.NOTIFY,{fn:S,info:{eventName:(0,o.n)(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,v.REFLECT,{fn:L,info:{attrName:t}})}_createComputedProperty(e,t,r){let n=j(t);if(!n)throw new Error("Malformed computed expression '"+t+"'");N(this,n,v.COMPUTE,C,e,r)}_marshalArgs(e,t,r){const n=this.__data;let o=[];for(let a=0,s=e.length;a<s;a++){let s,l=e[a],c=l.name;if(l.literal?s=l.value:l.structured?(s=(0,i.U2)(n,c),void 0===s&&(s=r[c])):s=n[c],l.wildcard){let e=0===c.indexOf(t+"."),n=0===t.indexOf(c)&&!e;o[a]={path:n?t:c,value:n?r[t]:s,base:s}}else o[a]=s}return o}static addPropertyEffect(e,t,r){this.prototype._addPropertyEffect(e,t,r)}static createPropertyObserver(e,t,r){this.prototype._createPropertyObserver(e,t,r)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,r){this.prototype._createComputedProperty(e,t,r)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let r=this.constructor._parseTemplate(e),n=this.__templateInfo==r;if(!n)for(let i in r.propertyEffects)this._createPropertyAccessor(i);if(t&&(r=Object.create(r),r.wasPreBound=n,!n&&this.__templateInfo)){let e=this.__templateInfoLast||this.__templateInfo;return this.__templateInfoLast=e.nextTemplateInfo=r,r.previousTemplateInfo=e,r}return this.__templateInfo=r}static _addTemplatePropertyEffect(e,t,r){(e.hostProps=e.hostProps||{})[t]=!0;let n=e.propertyEffects=e.propertyEffects||{};(n[t]=n[t]||[]).push(r)}_stampTemplate(e){G.beginHosting(this);let t=super._stampTemplate(e);G.endHosting(this);let r=this._bindTemplate(e,!0);if(r.nodeList=t.nodeList,!r.wasPreBound){let e=r.childNodes=[];for(let r=t.firstChild;r;r=r.nextSibling)e.push(r)}return t.templateInfo=r,function(e,t){let{nodeList:r,nodeInfoList:n}=t;if(n.length)for(let i=0;i<n.length;i++){let t=n[i],o=r[i],a=t.bindings;if(a)for(let r=0;r<a.length;r++){let t=a[r];Z(o,t),O(o,e,t)}o.__dataHost=e}}(this,r),this.__dataReady&&_(this,r.propertyEffects,this.__data,null,!1,r.nodeList),t}_removeBoundDom(e){let t=e.templateInfo;t.previousTemplateInfo&&(t.previousTemplateInfo.nextTemplateInfo=t.nextTemplateInfo),t.nextTemplateInfo&&(t.nextTemplateInfo.previousTemplateInfo=t.previousTemplateInfo),this.__templateInfoLast==t&&(this.__templateInfoLast=t.previousTemplateInfo),t.previousTemplateInfo=t.nextTemplateInfo=null;let r=t.childNodes;for(let n=0;n<r.length;n++){let e=r[n];e.parentNode.removeChild(e)}}static _parseTemplateNode(e,t,r){let n=super._parseTemplateNode(e,t,r);if(e.nodeType===Node.TEXT_NODE){let i=this._parseBindings(e.textContent,t);i&&(e.textContent=D(i)||" ",P(this,t,r,"text","textContent",i),n=!0)}return n}static _parseTemplateNodeAttribute(e,t,r,n,i){let a=this._parseBindings(i,t);if(a){let i=n,s="property";y.test(n)?s="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),s="attribute");let l=D(a);return l&&"attribute"==s&&e.setAttribute(n,l),"input"===e.localName&&"value"===i&&e.setAttribute(i,""),e.removeAttribute(i),"property"===s&&(n=(0,o.z)(n)),P(this,t,r,s,n,a,l),!0}return super._parseTemplateNodeAttribute(e,t,r,n,i)}static _parseTemplateNestedTemplate(e,t,r){let n=super._parseTemplateNestedTemplate(e,t,r),i=r.templateInfo.hostProps;for(let o in i){P(this,t,r,"property","_host_"+o,[{mode:"{",source:o,dependencies:[o]}])}return n}static _parseBindings(e,t){let r,n=[],i=0;for(;null!==(r=z.exec(e));){r.index>i&&n.push({literal:e.slice(i,r.index)});let o=r[1][0],a=Boolean(r[2]),s=r[3].trim(),l=!1,c="",u=-1;"{"==o&&(u=s.indexOf("::"))>0&&(c=s.substring(u+2),s=s.substring(0,u),l=!0);let d=j(s),p=[];if(d){let{args:e,methodName:r}=d;for(let t=0;t<e.length;t++){let r=e[t];r.literal||p.push(r)}let n=t.dynamicFns;(n&&n[r]||d.static)&&(p.push(r),d.dynamicFn=!0)}else p.push(s);n.push({source:s,mode:o,negate:a,customEvent:l,signature:d,dependencies:p,event:c}),i=z.lastIndex}if(i&&i<e.length){let t=e.substring(i);t&&n.push({literal:t})}return n.length?n:null}static _evaluateBinding(e,t,r,n,o,a){let s;return s=t.signature?R(e,r,n,0,t.signature):r!=t.source?(0,i.U2)(e,t.source):a&&(0,i.AZ)(r)?(0,i.U2)(e,r):e.__data[r],t.negate&&(s=!s),s}}return g=r,r}));const G=new class{constructor(){this.stack=[]}registerHost(e){if(this.stack.length){this.stack[this.stack.length-1]._enqueueClient(e)}}beginHosting(e){this.stack.push(e)}endHosting(e){let t=this.stack.length;t&&this.stack[t-1]==e&&this.stack.pop()}}},4507:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});r(56646);function n(e,t,r){return{index:e,removed:t,addedCount:r}}function i(e,t,r,i,o,s){let l,c=0,u=0,d=Math.min(r-t,s-o);if(0==t&&0==o&&(c=function(e,t,r){for(let n=0;n<r;n++)if(!a(e[n],t[n]))return n;return r}(e,i,d)),r==e.length&&s==i.length&&(u=function(e,t,r){let n=e.length,i=t.length,o=0;for(;o<r&&a(e[--n],t[--i]);)o++;return o}(e,i,d-c)),o+=c,s-=u,(r-=u)-(t+=c)==0&&s-o==0)return[];if(t==r){for(l=n(t,[],0);o<s;)l.removed.push(i[o++]);return[l]}if(o==s)return[n(t,[],r-t)];let p=function(e){let t=e.length-1,r=e[0].length-1,n=e[t][r],i=[];for(;t>0||r>0;){if(0==t){i.push(2),r--;continue}if(0==r){i.push(3),t--;continue}let o,a=e[t-1][r-1],s=e[t-1][r],l=e[t][r-1];o=s<l?s<a?s:a:l<a?l:a,o==a?(a==n?i.push(0):(i.push(1),n=a),t--,r--):o==s?(i.push(3),t--,n=s):(i.push(2),r--,n=l)}return i.reverse(),i}(function(e,t,r,n,i,o){let s=o-i+1,l=r-t+1,c=new Array(s);for(let a=0;a<s;a++)c[a]=new Array(l),c[a][0]=a;for(let a=0;a<l;a++)c[0][a]=a;for(let u=1;u<s;u++)for(let r=1;r<l;r++)if(a(e[t+r-1],n[i+u-1]))c[u][r]=c[u-1][r-1];else{let e=c[u-1][r]+1,t=c[u][r-1]+1;c[u][r]=e<t?e:t}return c}(e,t,r,i,o,s));l=void 0;let h=[],f=t,m=o;for(let a=0;a<p.length;a++)switch(p[a]){case 0:l&&(h.push(l),l=void 0),f++,m++;break;case 1:l||(l=n(f,[],0)),l.addedCount++,f++,l.removed.push(i[m]),m++;break;case 2:l||(l=n(f,[],0)),l.addedCount++,f++;break;case 3:l||(l=n(f,[],0)),l.removed.push(i[m]),m++}return l&&h.push(l),h}function o(e,t){return i(e,0,e.length,t,0,t.length)}function a(e,t){return e===t}},21683:(e,t,r)=>{"use strict";r.d(t,{Wc:()=>l,YA:()=>c});r(56646);let n=0,i=0,o=[],a=0,s=document.createTextNode("");new window.MutationObserver((function(){const e=o.length;for(let r=0;r<e;r++){let e=o[r];if(e)try{e()}catch(t){setTimeout((()=>{throw t}))}}o.splice(0,e),i+=e})).observe(s,{characterData:!0});const l={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},c={run:e=>(s.textContent=a++,o.push(e),n++),cancel(e){const t=e-i;if(t>=0){if(!o[t])throw new Error("invalid async handle: "+e);o[t]=null}}}},56646:()=>{"use strict";window.JSCompiler_renameProperty=function(e,t){return e}},67130:(e,t,r)=>{"use strict";r.d(t,{z:()=>a,n:()=>s});r(56646);const n={},i=/-[a-z]/g,o=/([A-Z])/g;function a(e){return n[e]||(n[e]=e.indexOf("-")<0?e:e.replace(i,(e=>e[1].toUpperCase())))}function s(e){return n[e]||(n[e]=e.replace(o,"-$1").toLowerCase())}},78956:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});r(56646),r(76389),r(21683);class n{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run((()=>{this._timer=null,this._callback()}))}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,r){return e instanceof n?e.cancel():e=new n,e.setConfig(t,r),e}}},20723:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});r(56646);var n=r(4507),i=r(21683);function o(e){return"slot"===e.localName}class a{static getFlattenedNodes(e){return o(e)?(e=e).assignedNodes({flatten:!0}):Array.from(e.childNodes).map((e=>o(e)?(e=e).assignedNodes({flatten:!0}):[e])).reduce(((e,t)=>e.concat(t)),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){o(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,(e=>{this._processMutations(e)})):(this._nativeChildrenObserver=new MutationObserver((e=>{this._processMutations(e)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){o(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i.YA.run((()=>this.flush())))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(let t=0;t<e.length;t++){let r=e[t];r.addedNodes&&this._listenSlots(r.addedNodes),r.removedNodes&&this._unlistenSlots(r.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let e={target:this._target,addedNodes:[],removedNodes:[]},t=this.constructor.getFlattenedNodes(this._target),r=(0,n.c)(t,this._effectiveNodes);for(let n,o=0;o<r.length&&(n=r[o]);o++)for(let t,r=0;r<n.removed.length&&(t=n.removed[r]);r++)e.removedNodes.push(t);for(let n,o=0;o<r.length&&(n=r[o]);o++)for(let r=n.index;r<n.index+n.addedCount;r++)e.addedNodes.push(t[r]);this._effectiveNodes=t;let i=!1;return(e.addedNodes.length||e.removedNodes.length)&&(i=!0,this.callback.call(this._target,e)),i}_listenSlots(e){for(let t=0;t<e.length;t++){let r=e[t];o(r)&&r.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(e){for(let t=0;t<e.length;t++){let r=e[t];o(r)&&r.removeEventListener("slotchange",this._boundSchedule)}}}},93252:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,y:()=>a});r(56646),r(78956);let n=[];const i=function(e){n.push(e)};function o(){const e=Boolean(n.length);for(;n.length;)try{n.shift().flush()}catch(t){setTimeout((()=>{throw t}))}return e}const a=function(){let e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=o()}while(e||t)}},81668:(e,t,r)=>{"use strict";r.d(t,{NH:()=>I,ys:()=>Z,BP:()=>N,nJ:()=>B});r(56646);var n=r(21683),i=r(78956),o=r(74460);let a="string"==typeof document.head.style.touchAction,s="__polymerGestures",l="__polymerGesturesHandled",c="__polymerGesturesTouchAction",u=["mousedown","mousemove","mouseup","click"],d=[0,1,4,2],p=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function h(e){return u.indexOf(e)>-1}let f=!1;function m(e){if(!h(e)&&"touchend"!==e)return a&&f&&o.f6?{passive:!0}:void 0}!function(){try{let e=Object.defineProperty({},"passive",{get(){f=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();let v=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const y=[],g={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},b={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function _(e){let t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];let r=e.getRootNode();if(e.id){let n=r.querySelectorAll(`label[for = ${e.id}]`);for(let e=0;e<n.length;e++)t.push(n[e])}}return t}let w=function(e){let t=e.sourceCapabilities;var r;if((!t||t.firesTouchEvents)&&(e[l]={skip:!0},"click"===e.type)){let t=!1,n=e.composedPath&&e.composedPath();if(n)for(let e=0;e<n.length;e++){if(n[e].nodeType===Node.ELEMENT_NODE)if("label"===n[e].localName)y.push(n[e]);else if(r=n[e],g[r.localName]){let r=_(n[e]);for(let e=0;e<r.length;e++)t=t||y.indexOf(r[e])>-1}if(n[e]===E.mouse.target)return}if(t)return;e.preventDefault(),e.stopPropagation()}};function k(e){let t=v?["click"]:u;for(let r,n=0;n<t.length;n++)r=t[n],e?(y.length=0,document.addEventListener(r,w,!0)):document.removeEventListener(r,w,!0)}function x(e){let t=e.type;if(!h(t))return!1;if("mousemove"===t){let t=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!p&&(t=d[e.which]||0),Boolean(1&t)}return 0===(void 0===e.button?0:e.button)}let E={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function A(e,t,r){e.movefn=t,e.upfn=r,document.addEventListener("mousemove",t),document.addEventListener("mouseup",r)}function S(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}document.addEventListener("touchend",(function(e){E.mouse.mouseIgnoreJob||k(!0),E.mouse.target=e.composedPath()[0],E.mouse.mouseIgnoreJob=i.d.debounce(E.mouse.mouseIgnoreJob,n.Wc.after(2500),(function(){k(),E.mouse.target=null,E.mouse.mouseIgnoreJob=null}))}),!!f&&{passive:!0});const L={},C=[];function P(e){if(e.composedPath){const t=e.composedPath();return t.length>0?t[0]:e.target}return e.target}function T(e){let t,r=e.type,n=e.currentTarget[s];if(!n)return;let i=n[r];if(i){if(!e[l]&&(e[l]={},"touch"===r.slice(0,5))){let t=(e=e).changedTouches[0];if("touchstart"===r&&1===e.touches.length&&(E.touch.id=t.identifier),E.touch.id!==t.identifier)return;a||"touchstart"!==r&&"touchmove"!==r||function(e){let t=e.changedTouches[0],r=e.type;if("touchstart"===r)E.touch.x=t.clientX,E.touch.y=t.clientY,E.touch.scrollDecided=!1;else if("touchmove"===r){if(E.touch.scrollDecided)return;E.touch.scrollDecided=!0;let r=function(e){let t="auto",r=e.composedPath&&e.composedPath();if(r)for(let n,i=0;i<r.length;i++)if(n=r[i],n[c]){t=n[c];break}return t}(e),n=!1,i=Math.abs(E.touch.x-t.clientX),o=Math.abs(E.touch.y-t.clientY);e.cancelable&&("none"===r?n=!0:"pan-x"===r?n=o>i:"pan-y"===r&&(n=i>o)),n?e.preventDefault():M("track")}}(e)}if(t=e[l],!t.skip){for(let r,n=0;n<C.length;n++)r=C[n],i[r.name]&&!t[r.name]&&r.flow&&r.flow.start.indexOf(e.type)>-1&&r.reset&&r.reset();for(let n,o=0;o<C.length;o++)n=C[o],i[n.name]&&!t[n.name]&&(t[n.name]=!0,n[r](e))}}}function I(e,t,r){return!!L[t]&&(function(e,t,r){let n=L[t],i=n.deps,o=n.name,a=e[s];a||(e[s]=a={});for(let s,l,c=0;c<i.length;c++)s=i[c],v&&h(s)&&"click"!==s||(l=a[s],l||(a[s]=l={_count:0}),0===l._count&&e.addEventListener(s,T,m(s)),l[o]=(l[o]||0)+1,l._count=(l._count||0)+1);e.addEventListener(t,r),n.touchAction&&N(e,n.touchAction)}(e,t,r),!0)}function Z(e,t,r){return!!L[t]&&(function(e,t,r){let n=L[t],i=n.deps,o=n.name,a=e[s];if(a)for(let s,l,c=0;c<i.length;c++)s=i[c],l=a[s],l&&l[o]&&(l[o]=(l[o]||1)-1,l._count=(l._count||1)-1,0===l._count&&e.removeEventListener(s,T,m(s)));e.removeEventListener(t,r)}(e,t,r),!0)}function O(e){C.push(e);for(let t=0;t<e.emits.length;t++)L[e.emits[t]]=e}function N(e,t){a&&e instanceof HTMLElement&&n.YA.run((()=>{e.style.touchAction=t})),e[c]=t}function R(e,t,r){let n=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(n.detail=r,e.dispatchEvent(n),n.defaultPrevented){let e=r.preventer||r.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function M(e){let t=function(e){for(let t,r=0;r<C.length;r++){t=C[r];for(let r,n=0;n<t.emits.length;n++)if(r=t.emits[n],r===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}function z(e,t,r,n){t&&R(t,e,{x:r.clientX,y:r.clientY,sourceEvent:r,preventer:n,prevent:function(e){return M(e)}})}function D(e,t,r){if(e.prevent)return!1;if(e.started)return!0;let n=Math.abs(e.x-t),i=Math.abs(e.y-r);return n>=5||i>=5}function j(e,t,r){if(!t)return;let n,i=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],a=o.x-e.x,s=o.y-e.y,l=0;i&&(n=o.x-i.x,l=o.y-i.y),R(t,"track",{state:e.state,x:r.clientX,y:r.clientY,dx:a,dy:s,ddx:n,ddy:l,sourceEvent:r,hover:function(){return function(e,t){let r=document.elementFromPoint(e,t),n=r;for(;n&&n.shadowRoot&&!window.ShadyDOM;){let i=n;if(n=n.shadowRoot.elementFromPoint(e,t),i===n)break;n&&(r=n)}return r}(r.clientX,r.clientY)}})}function F(e,t,r){let n=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),o=P(r||t);!o||b[o.localName]&&o.hasAttribute("disabled")||(isNaN(n)||isNaN(i)||n<=25&&i<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;let t=P(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;let r=t.getBoundingClientRect(),n=e.pageX,i=e.pageY;return!(n>=r.left&&n<=r.right&&i>=r.top&&i<=r.bottom)}return!1}(t))&&(e.prevent||R(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:r}))}O({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){S(this.info)},mousedown:function(e){if(!x(e))return;let t=P(e),r=this;A(this.info,(function(e){x(e)||(z("up",t,e),S(r.info))}),(function(e){x(e)&&z("up",t,e),S(r.info)})),z("down",t,e)},touchstart:function(e){z("down",P(e),e.changedTouches[0],e)},touchend:function(e){z("up",P(e),e.changedTouches[0],e)}}),O({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,S(this.info)},mousedown:function(e){if(!x(e))return;let t=P(e),r=this,n=function(e){let n=e.clientX,i=e.clientY;D(r.info,n,i)&&(r.info.state=r.info.started?"mouseup"===e.type?"end":"track":"start","start"===r.info.state&&M("tap"),r.info.addMove({x:n,y:i}),x(e)||(r.info.state="end",S(r.info)),t&&j(r.info,t,e),r.info.started=!0)};A(this.info,n,(function(e){r.info.started&&n(e),S(r.info)})),this.info.x=e.clientX,this.info.y=e.clientY},touchstart:function(e){let t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){let t=P(e),r=e.changedTouches[0],n=r.clientX,i=r.clientY;D(this.info,n,i)&&("start"===this.info.state&&M("tap"),this.info.addMove({x:n,y:i}),j(this.info,t,r),this.info.state="track",this.info.started=!0)},touchend:function(e){let t=P(e),r=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:r.clientX,y:r.clientY}),j(this.info,t,r))}}),O({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){x(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){x(e)&&F(this.info,e)},touchstart:function(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){F(this.info,e.changedTouches[0],e)}});const B=P},50856:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});r(56646);class n{constructor(e){this.value=e.toString()}toString(){return this.value}}function i(e){if(e instanceof n)return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}const o=function(e,...t){const r=document.createElement("template");return r.innerHTML=t.reduce(((t,r,o)=>t+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof n)return i(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(r)+e[o+1]),e[0]),r}},76389:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});r(56646);let n=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;const o=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let r=n++;return function(n){let i=n.__mixinSet;if(i&&i[r])return n;let o=t,a=o.get(n);a||(a=e(n),o.set(n,a));let s=Object.create(a.__mixinSet||i||null);return s[r]=!0,a.__mixinSet=s,a}}},4059:(e,t,r)=>{"use strict";r.d(t,{AZ:()=>n,Jz:()=>i,jg:()=>o,SG:()=>a,Iu:()=>s,wB:()=>l,Fv:()=>c,U2:()=>d,t8:()=>p});r(56646);function n(e){return e.indexOf(".")>=0}function i(e){let t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function o(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,r){return t+r.slice(e.length)}function l(e,t){return e===t||o(e,t)||a(e,t)}function c(e){if(Array.isArray(e)){let t=[];for(let r=0;r<e.length;r++){let n=e[r].toString().split(".");for(let e=0;e<n.length;e++)t.push(n[e])}return t.join(".")}return e}function u(e){return Array.isArray(e)?c(e).split("."):e.toString().split(".")}function d(e,t,r){let n=e,i=u(t);for(let o=0;o<i.length;o++){if(!n)return;n=n[i[o]]}return r&&(r.path=i.join(".")),n}function p(e,t,r){let n=e,i=u(t),o=i[i.length-1];if(i.length>1){for(let e=0;e<i.length-1;e++){if(n=n[i[e]],!n)return}n[o]=r}else n[t]=r;return i.join(".")}},87529:(e,t,r)=>{"use strict";r.d(t,{T8:()=>c});r(56646);let n=!1,i=[],o=[];function a(){n=!0,requestAnimationFrame((function(){n=!1,s(i),setTimeout((function(){!function(e){for(let t=0,r=e.length;t<r;t++)l(e.shift())}(o)}))}))}function s(e){for(;e.length;)l(e.shift())}function l(e){const t=e[0],r=e[1],n=e[2];try{r.apply(t,n)}catch(i){setTimeout((()=>{throw i}))}}function c(e,t,r){n||a(),o.push([e,t,r])}},42687:(e,t,r)=>{"use strict";r.d(t,{Kk:()=>s,Rq:()=>l,iY:()=>c});r(56646);let n,i,o=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===n){n=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",n="http://a/c%20d"===e.href}catch(r){}}return t||(t=document.baseURI||window.location.href),n?new URL(e,t).href:(i||(i=document.implementation.createHTMLDocument("temp"),i.base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e)}function l(e,t){return e.replace(o,(function(e,r,n,i){return r+"'"+s(n.replace(/["']/g,""),t)+"'"+i}))}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},74460:(e,t,r)=>{"use strict";r.d(t,{my:()=>i,sM:()=>o,v1:()=>a,f6:()=>s,XN:()=>l,ZN:()=>c});r(56646);var n=r(42687);const i=!window.ShadyDOM;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback;let o=(0,n.iY)(document.baseURI||window.location.href);let a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;let s=!1;let l=!1;let c=!1},15392:(e,t,r)=>{"use strict";r.d(t,{uT:()=>u,lx:()=>d,jv:()=>h});var n=r(21384),i=r(42687);const o="shady-unscoped";function a(e){return n.t.import(e)}function s(e){let t=e.body?e.body:e;const r=(0,i.Rq)(t.textContent,e.baseURI),n=document.createElement("style");return n.textContent=r,n}function l(e){const t=e.trim().split(/\s+/),r=[];for(let n=0;n<t.length;n++)r.push(...c(t[n]));return r}function c(e){const t=a(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...p(t));const r=t.querySelector("template");r&&e.push(...u(r,t.assetpath)),t._styles=e}return t._styles}function u(e,t){if(!e._styles){const r=[],n=e.content.querySelectorAll("style");for(let e=0;e<n.length;e++){let o=n[e],a=o.getAttribute("include");a&&r.push(...l(a).filter((function(e,t,r){return r.indexOf(e)===t}))),t&&(o.textContent=(0,i.Rq)(o.textContent,t)),r.push(o)}e._styles=r}return e._styles}function d(e){let t=a(e);return t?p(t):[]}function p(e){const t=[],r=e.querySelectorAll("link[rel=import][type~=css]");for(let n=0;n<r.length;n++){let e=r[n];if(e.import){const r=e.import,n=e.hasAttribute(o);if(n&&!r._unscopedStyle){const e=s(r);e.setAttribute(o,""),r._unscopedStyle=e}else r._style||(r._style=s(r));t.push(n?r._unscopedStyle:r._style)}}return t}function h(e){let t=e.trim().split(/\s+/),r="";for(let n=0;n<t.length;n++)r+=f(t[n]);return r}function f(e){let t=a(e);if(t&&void 0===t._cssText){let e=m(t),r=t.querySelector("template");r&&(e+=function(e,t){let r="";const n=u(e,t);for(let i=0;i<n.length;i++){let e=n[i];e.parentNode&&e.parentNode.removeChild(e),r+=e.textContent}return r}(r,t.assetpath)),t._cssText=e||null}return t||console.warn("Could not find style data in module named",e),t&&t._cssText||""}function m(e){let t="",r=p(e);for(let n=0;n<r.length;n++)t+=r[n].textContent;return t}},52521:(e,t,r)=>{"use strict";r.d(t,{Uv:()=>g,GJ:()=>b});r(56646);var n=r(40729),i=r(18691),o=r(74460);let a=null;function s(){return a}s.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:s,writable:!0}});const l=(0,n.q)(s),c=(0,i.E)(l);const u=(0,n.q)(class{});class d extends u{constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);let t=this.children=[];for(let n=this.root.firstChild;n;n=n.nextSibling)t.push(n),n.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let r=this.__templatizeOptions;(e&&r.instanceProps||!r.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(let t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(let t in e)this._setPendingProperty(t,e[t])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,r){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,(e=>{e.model=this,r(e)}));else{let n=this.__dataHost.__dataHost;n&&n._addEventListenerToNode(e,t,r)}}_showHideChildren(e){let t=this.children;for(let r=0;r<t.length;r++){let n=t[r];if(Boolean(e)!=Boolean(n.__hideTemplateChildren__))if(n.nodeType===Node.TEXT_NODE)e?(n.__polymerTextContent__=n.textContent,n.textContent=""):n.textContent=n.__polymerTextContent__;else if("slot"===n.localName)if(e)n.__polymerReplaced__=document.createComment("hidden-slot"),n.parentNode.replaceChild(n.__polymerReplaced__,n);else{const e=n.__polymerReplaced__;e&&e.parentNode.replaceChild(n,e)}else n.style&&(e?(n.__polymerDisplay__=n.style.display,n.style.display="none"):n.style.display=n.__polymerDisplay__);n.__hideTemplateChildren__=e,n._showHideChildren&&n._showHideChildren(e)}}_setUnmanagedPropertyToNode(e,t,r){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=r:super._setUnmanagedPropertyToNode(e,t,r)}get parentModel(){let e=this.__parentModel;if(!e){let t;e=this;do{e=e.__dataHost.__dataHost}while((t=e.__templatizeOptions)&&!t.parentModel);this.__parentModel=e}return e}dispatchEvent(e){return!0}}d.prototype.__dataHost,d.prototype.__templatizeOptions,d.prototype._methodHost,d.prototype.__templatizeOwner,d.prototype.__hostProps;const p=(0,i.E)(d);function h(e){let t=e.__dataHost;return t&&t._methodHost||t}function f(e,t,r){let n=r.mutableData?p:d,i=class extends n{};return i.prototype.__templatizeOptions=r,i.prototype._bindTemplate(e),function(e,t,r,n){let i=r.hostProps||{};for(let o in n.instanceProps){delete i[o];let t=n.notifyInstanceProp;t&&e.prototype._addPropertyEffect(o,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:y(o,t)})}if(n.forwardHostProp&&t.__dataHost)for(let o in i)e.prototype._addPropertyEffect(o,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,r){e.__dataHost._setPendingPropertyOrPath("_host_"+t,r[t],!0,!0)}})}(i,e,t,r),i}function m(e,t,r){let n=r.forwardHostProp;if(n){let i=t.templatizeTemplateClass;if(!i){let e=r.mutableData?c:l;i=t.templatizeTemplateClass=class extends e{};let o=t.hostProps;for(let t in o)i.prototype._addPropertyEffect("_host_"+t,i.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:v(t,n)}),i.prototype._createNotifyingProperty("_host_"+t)}!function(e,t){a=e,Object.setPrototypeOf(e,t.prototype),new t,a=null}(e,i),e.__dataProto&&Object.assign(e.__data,e.__dataProto),e.__dataTemp={},e.__dataPending=null,e.__dataOld=null,e._enableProperties()}}function v(e,t){return function(e,r,n){t.call(e.__templatizeOwner,r.substring("_host_".length),n[r])}}function y(e,t){return function(e,r,n){t.call(e.__templatizeOwner,e,r,n[r])}}function g(e,t,r){if(o.XN&&!h(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(r=r||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");e.__templatizeOwner=t;let n=(t?t.constructor:d)._parseTemplate(e),i=n.templatizeInstanceClass;i||(i=f(e,n,r),n.templatizeInstanceClass=i),m(e,n,r);let a=class extends i{};return a.prototype._methodHost=h(e),a.prototype.__dataHost=e,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=n.hostProps,a=a,a}function b(e,t){let r;for(;t;)if(r=t.__templatizeInstance){if(r.__dataHost==e)return r;t=r.__dataHost}else t=t.parentNode;return null}},28426:(e,t,r)=>{"use strict";r.d(t,{H3:()=>i});var n=r(36608);r(50856);const i=(0,n.SH)(HTMLElement)},43437:(e,t,r)=>{"use strict";r.d(t,{XY:()=>v,dy:()=>m.d});var n=r(81850),i=(r(9672),r(37692),r(56646),r(40729)),o=r(18691),a=r(60995),s=r(74460);const l=(0,a._)((0,o.w)((0,i.q)(HTMLElement)));customElements.define("dom-bind",class extends l{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),s.XN)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(){this.mutableData=!0}connectedCallback(){this.style.display="none",this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){this.parentNode.insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let e;if(!this.__children){if(e=e||this.querySelector("template"),!e){let t=new MutationObserver((()=>{if(e=this.querySelector("template"),!e)throw new Error("dom-bind requires a <template> child");t.disconnect(),this.render()}));return void t.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});r(42173),r(26047);var c=r(28426),u=r(76389),d=r(4507),p=r(36608);let h=(0,u.o)((e=>{let t=(0,p.SH)(e);return class extends t{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){let r=t.path;if("items"==r){let r=t.base||[],n=this.__lastItems;if(e!==this.__lastMulti&&this.clearSelection(),n){let e=(0,d.c)(r,n);this.__applySplices(e)}this.__lastItems=r,this.__lastMulti=e}else if("items.splices"==t.path)this.__applySplices(t.value.indexSplices);else{let e=r.slice("items.".length),t=parseInt(e,10);e.indexOf(".")<0&&e==t&&this.__deselectChangedIdx(t)}}__applySplices(e){let t=this.__selectedMap;for(let n=0;n<e.length;n++){let r=e[n];t.forEach(((e,n)=>{e<r.index||(e>=r.index+r.removed.length?t.set(n,e+r.addedCount-r.removed.length):t.set(n,-1))}));for(let e=0;e<r.addedCount;e++){let n=r.index+e;t.has(this.items[n])&&t.set(this.items[n],n)}}this.__updateLinks();let r=0;t.forEach(((e,n)=>{e<0?(this.multi?this.splice("selected",r,1):this.selected=this.selectedItem=null,t.delete(n)):r++}))}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let e=0;this.__selectedMap.forEach((t=>{t>=0&&this.linkPaths("items."+t,"selected."+e++)}))}else this.__selectedMap.forEach((e=>{this.linkPaths("selected","items."+e),this.linkPaths("selectedItem","items."+e)}))}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let t=this.__selectedIndexForItemIndex(e);if(t>=0){let e=0;this.__selectedMap.forEach(((r,n)=>{t==e++&&this.deselect(n)}))}}__selectedIndexForItemIndex(e){let t=this.__dataLinkedPaths["items."+e];if(t)return parseInt(t.slice("selected.".length),10)}deselect(e){let t=this.__selectedMap.get(e);if(t>=0){let r;this.__selectedMap.delete(e),this.multi&&(r=this.__selectedIndexForItemIndex(t)),this.__updateLinks(),this.multi?this.splice("selected",r,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){let t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push("selected",t):this.selected=this.selectedItem=t)}}}))(c.H3);class f extends h{static get is(){return"array-selector"}}customElements.define(f.is,f);r(5618),r(72419);var m=r(50856);const v=(0,n.x)(HTMLElement).prototype},60309:(e,t,r)=>{"use strict";r.d(t,{CN:()=>n,$T:()=>i,mA:()=>o});const n=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/@media\s(.*)/},10868:(e,t,r)=>{"use strict";r.d(t,{wW:()=>i,B7:()=>o,OH:()=>a});var n=r(60309);function i(e,t){for(let r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function o(e,t){const r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}function a(e){const t=n.$T.test(e)||n.CN.test(e);return n.$T.lastIndex=0,n.CN.lastIndex=0,t}},34816:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>d});let n,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(e){requestAnimationFrame((function(){o?o(e):(i||(i=new Promise((e=>{n=e})),"complete"===document.readyState?n():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&n()}))),i.then((function(){e&&e()})))}))}const s="__seenByShadyCSS",l="__shadyCSSCachedStyle";let c=null,u=null;class d{constructor(){this.customStyles=[],this.enqueued=!1,a((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&u&&(this.enqueued=!0,a(u))}addCustomStyle(e){e[s]||(e[s]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){if(e[l])return e[l];let t;return t=e.getStyle?e.getStyle():e,t}processStyles(){const e=this.customStyles;for(let t=0;t<e.length;t++){const r=e[t];if(r[l])continue;const n=this.getStyleForCustomStyle(r);if(n){const e=n.__appliedElement||n;c&&c(e),r[l]=e}}return e}}d.prototype.addCustomStyle=d.prototype.addCustomStyle,d.prototype.getStyleForCustomStyle=d.prototype.getStyleForCustomStyle,d.prototype.processStyles=d.prototype.processStyles,Object.defineProperties(d.prototype,{transformCallback:{get:()=>c,set(e){c=e}},validateCallback:{get:()=>u,set(e){let t=!1;u||(t=!0),u=e,t&&this.enqueueDocumentValidation()}}})},26539:(e,t,r)=>{"use strict";r.d(t,{WA:()=>n,Cp:()=>o,jF:()=>s,rd:()=>l});const n=!(window.ShadyDOM&&window.ShadyDOM.inUse);let i,o;function a(e){i=(!e||!e.shimcssproperties)&&(n||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(o=window.ShadyCSS.cssBuild);const s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?i=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);const l=i},23609:(e,t,r)=>{r(97514),r(17789),r(73635),r(82866),r(19571),r(26411),r(74330),r(80679),r(78689),r(93926),r(14872),r(62785),r(15394),r(21724),r(71254),r(19425),r(81591),r(64832),r(27559),r(89064),r(75759),r(42612),r(20631),r(79556),r(87081),r(74419),r(74692),r(33149),r(32755),r(6775),r(97757),r(67783),r(61345),r(72451),r(29080),r(38465),r(66925),r(92354),r(56495),r(92825),r(23080),r(77441),r(45192),r(68428),r(36147),r(34364),r(41031),r(26268),r(68350),r(20635),r(42498),r(60306),r(9670),r(65750),r(30812),r(4304),r(25146),r(10304),r(40233),r(69911),r(28787),r(50472),r(45519),r(18843),r(64487),r(95452),r(50462),r(54070),r(80166),r(71025),r(29993),r(82519),r(43541),r(41261),r(87138),r(48839),r(84028),r(38310),r(90971),r(73291),r(6860),r(67599),r(40079),r(38494),r(63256),r(60836),r(6782),r(81505),r(94628),r(77234),r(56307),r(17214),r(90846),r(84240),r(54617),r(31410),r(41392),r(47388),r(87693),r(48632),r(37309),r(54805),r(34862),r(52439),r(76849),r(48775),r(69990),r(46037),r(96604),r(5364),r(96742),r(47265),r(3278),r(31917),r(10026),r(83069),r(96816),r(57022),r(89421),r(45725),r(26629),r(40694),r(89994),r(66805),r(84997),r(6423),r(33319),r(61134),r(47381),r(67316),r(68536),r(3563),r(5373),r(64039),r(72778),r(29309),r(63104),r(56379),r(59604),r(73387),r(25120),r(10084),r(71468),r(77026),r(74818),r(20836),r(38607),r(83438),r(36087),r(4769),r(48561),r(59099),r(8974),r(77650),r(38742),r(43554),r(45958),r(50266),r(72471),r(68678),r(6830),r(36014),r(57200),r(17607),r(74225),r(81829),r(73863),r(37280),r(9747),r(46562),r(15167),r(24062),r(82980),r(76991),r(87629),r(31708),r(27529),r(16444),r(26897),r(73196),r(9491),r(33811),r(61274),r(31010),r(19313),r(485),r(58491),r(24230),r(52826),r(80070),r(12376),r(11095),r(43888),r(58509),r(93693),r(90836),r(78621),r(8460),r(36334),r(3698),r(10613),r(1128),r(77880),r(94772),r(3260),r(50712),r(54829);var n=r(1035);e.exports=n},78977:(e,t,r)=>{r(23609),r(54367),r(67942);var n=r(1035);e.exports=n},80118:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},42193:(e,t,r)=>{var n=r(42521);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},29690:(e,t,r)=>{var n=r(1386),i=r(63571),o=r(67455),a=n("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},67675:(e,t,r)=>{"use strict";var n=r(73832).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},30680:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},86956:(e,t,r)=>{var n=r(42521);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},90251:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},44162:(e,t,r)=>{"use strict";var n,i=r(90251),o=r(37703),a=r(76121),s=r(42521),l=r(52766),c=r(79538),u=r(91471),d=r(62327),p=r(67455).f,h=r(99366),f=r(86594),m=r(1386),v=r(51735),y=a.Int8Array,g=y&&y.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=y&&h(y),k=g&&h(g),x=Object.prototype,E=x.isPrototypeOf,A=m("toStringTag"),S=v("TYPED_ARRAY_TAG"),L=i&&!!f&&"Opera"!==c(a.opera),C=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T=function(e){return s(e)&&l(P,c(e))};for(n in P)a[n]||(L=!1);if((!L||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},L))for(n in P)a[n]&&f(a[n],w);if((!L||!k||k===x)&&(k=w.prototype,L))for(n in P)a[n]&&f(a[n].prototype,k);if(L&&h(_)!==k&&f(_,k),o&&!l(k,A))for(n in C=!0,p(k,A,{get:function(){return s(this)?this[S]:void 0}}),P)a[n]&&u(a[n],S,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:C&&S,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f){if(E.call(w,e))return e}else for(var t in P)if(l(P,n)){var r=a[t];if(r&&(e===r||E.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r){if(o){if(r)for(var n in P){var i=a[n];i&&l(i.prototype,e)&&delete i.prototype[e]}k[e]&&!r||d(k,e,r?t:L&&g[e]||t)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(o){if(f){if(r)for(n in P)(i=a[n])&&l(i,e)&&delete i[e];if(w[e]&&!r)return;try{return d(w,e,r?t:L&&y[e]||t)}catch(s){}}for(n in P)!(i=a[n])||i[e]&&!r||d(i,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||l(P,t)},isTypedArray:T,TypedArray:w,TypedArrayPrototype:k}},75117:(e,t,r)=>{"use strict";var n=r(76121),i=r(37703),o=r(90251),a=r(91471),s=r(39757),l=r(72763),c=r(30680),u=r(25623),d=r(48331),p=r(35639),h=r(6601),f=r(99366),m=r(86594),v=r(2042).f,y=r(67455).f,g=r(6922),b=r(54849),_=r(2995),w=_.get,k=_.set,x="ArrayBuffer",E="DataView",A="Wrong index",S=n.ArrayBuffer,L=S,C=n.DataView,P=C&&C.prototype,T=Object.prototype,I=n.RangeError,Z=h.pack,O=h.unpack,N=function(e){return[255&e]},R=function(e){return[255&e,e>>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},D=function(e){return Z(e,23,4)},j=function(e){return Z(e,52,8)},F=function(e,t){y(e.prototype,t,{get:function(){return w(this)[t]}})},B=function(e,t,r,n){var i=p(r),o=w(e);if(i+t>o.byteLength)throw I(A);var a=w(o.buffer).bytes,s=i+o.byteOffset,l=a.slice(s,s+t);return n?l:l.reverse()},U=function(e,t,r,n,i,o){var a=p(r),s=w(e);if(a+t>s.byteLength)throw I(A);for(var l=w(s.buffer).bytes,c=a+s.byteOffset,u=n(+i),d=0;d<t;d++)l[c+d]=u[o?d:t-d-1]};if(o){if(!l((function(){S(1)}))||!l((function(){new S(-1)}))||l((function(){return new S,new S(1.5),new S(NaN),S.name!=x}))){for(var H,G=(L=function(e){return c(this,L),new S(p(e))}).prototype=S.prototype,V=v(S),K=0;V.length>K;)(H=V[K++])in L||a(L,H,S[H]);G.constructor=L}m&&f(P)!==T&&m(P,T);var $=new C(new L(2)),q=P.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||s(P,{setInt8:function(e,t){q.call(this,e,t<<24>>24)},setUint8:function(e,t){q.call(this,e,t<<24>>24)}},{unsafe:!0})}else L=function(e){c(this,L,x);var t=p(e);k(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},C=function(e,t,r){c(this,C,E),c(e,L,E);var n=w(e).byteLength,o=u(t);if(o<0||o>n)throw I("Wrong offset");if(o+(r=void 0===r?n-o:d(r))>n)throw I("Wrong length");k(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(F(L,"byteLength"),F(C,"buffer"),F(C,"byteLength"),F(C,"byteOffset")),s(C.prototype,{getInt8:function(e){return B(this,1,e)[0]<<24>>24},getUint8:function(e){return B(this,1,e)[0]},getInt16:function(e){var t=B(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=B(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return z(B(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return z(B(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(B(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(B(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,N,t)},setUint8:function(e,t){U(this,1,e,N,t)},setInt16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,j,t,arguments.length>2?arguments[2]:void 0)}});b(L,x),b(C,E),e.exports={ArrayBuffer:L,DataView:C}},24579:(e,t,r)=>{"use strict";var n=r(84766),i=r(11588),o=r(48331),a=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=o(r.length),l=i(e,s),c=i(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:i(u,s))-c,s-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in r?r[l]=r[c]:delete r[l],l+=p,c+=p;return r}},6922:(e,t,r)=>{"use strict";var n=r(84766),i=r(11588),o=r(48331);e.exports=function(e){for(var t=n(this),r=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),l=a>2?arguments[2]:void 0,c=void 0===l?r:i(l,r);c>s;)t[s++]=e;return t}},20702:(e,t,r)=>{"use strict";var n=r(25097).forEach,i=r(49719),o=r(76571),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},54513:(e,t,r)=>{"use strict";var n=r(43322),i=r(84766),o=r(95913),a=r(19439),s=r(48331),l=r(32385),c=r(85111);e.exports=function(e){var t,r,u,d,p,h,f=i(e),m="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,g=void 0!==y,b=c(f),_=0;if(g&&(y=n(y,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(r=new m(t=s(f.length));t>_;_++)h=g?y(f[_],_):f[_],l(r,_,h);else for(p=(d=b.call(f)).next,r=new m;!(u=p.call(d)).done;_++)h=g?o(d,y,[u.value,_],!0):u.value,l(r,_,h);return r.length=_,r}},59729:(e,t,r)=>{var n=r(19969),i=r(48331),o=r(11588),a=function(e){return function(t,r,a){var s,l=n(t),c=i(l.length),u=o(a,c);if(e&&r!=r){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},25097:(e,t,r)=>{var n=r(43322),i=r(23169),o=r(84766),a=r(48331),s=r(48347),l=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d;return function(h,f,m,v){for(var y,g,b=o(h),_=i(b),w=n(f,m,3),k=a(_.length),x=0,E=v||s,A=t?E(h,k):r?E(h,0):void 0;k>x;x++)if((p||x in _)&&(g=w(y=_[x],x,b),e))if(t)A[x]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:l.call(A,y)}else if(u)return!1;return d?-1:c||u?u:A}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},8139:(e,t,r)=>{"use strict";var n=r(19969),i=r(25623),o=r(48331),a=r(49719),s=r(76571),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),p=s("indexOf",{ACCESSORS:!0,1:0}),h=u||!d||!p;e.exports=h?function(e){if(u)return c.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=l(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},1566:(e,t,r)=>{var n=r(72763),i=r(1386),o=r(56962),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},49719:(e,t,r)=>{"use strict";var n=r(72763);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},76571:(e,t,r)=>{var n=r(37703),i=r(72763),o=r(52766),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var r=[][e],c=!!o(t,"ACCESSORS")&&t.ACCESSORS,u=o(t,0)?t[0]:l,d=o(t,1)?t[1]:void 0;return s[e]=!!r&&!i((function(){if(c&&!n)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,r.call(e,u,d)}))}},59856:(e,t,r)=>{var n=r(80118),i=r(84766),o=r(23169),a=r(48331),s=function(e){return function(t,r,s,l){n(r);var c=i(t),u=o(c),d=a(c.length),p=e?d-1:0,h=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in u&&(l=r(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},48347:(e,t,r)=>{var n=r(42521),i=r(43964),o=r(1386)("species");e.exports=function(e,t){var r;return i(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},13561:(e,t,r)=>{"use strict";var n=r(1035),i=r(80118),o=r(86956),a=r(63571),s=r(91471),l=r(39757),c=r(1386),u=r(2995),d=r(77642)("Promise"),p=u.set,h=u.get,f=c("toStringTag"),m=function(e){var t=h(this).iterator,r=t.return;return void 0===r?d.resolve({done:!0,value:e}):o(r.call(t,e))},v=function(e){var t=h(this).iterator,r=t.throw;return void 0===r?d.reject(e):r.call(t,e)};e.exports=function(e,t){var r=function(e){e.next=i(e.iterator.next),e.done=!1,p(this,e)};return r.prototype=l(a(n.AsyncIterator.prototype),{next:function(t){var r=h(this);if(r.done)return d.resolve({done:!0,value:void 0});try{return d.resolve(o(e.call(r,t,d)))}catch(n){return d.reject(n)}},return:m,throw:v}),t||s(r.prototype,f,"Generator"),r}},20877:(e,t,r)=>{"use strict";var n=r(80118),i=r(86956),o=r(77642)("Promise"),a=[].push,s=function(e){var t=0==e,r=1==e,s=2==e,l=3==e;return function(e,c){i(e);var u=n(e.next),d=t?[]:void 0;return t||n(c),new o((function(n,p){var h=function(){try{o.resolve(i(u.call(e))).then((function(e){try{if(i(e).done)n(t?d:!l&&(s||void 0));else{var u=e.value;t?(a.call(d,u),h()):o.resolve(c(u)).then((function(e){r?h():s?e?h():n(!1):e?n(l||u):h()}),p)}}catch(f){p(f)}}),p)}catch(f){p(f)}};h()}))}};e.exports={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)}},48199:(e,t,r)=>{var n,i,o=r(76121),a=r(4682),s=r(99366),l=r(52766),c=r(91471),u=r(1386),d=r(8451),p=u("asyncIterator"),h=o.AsyncIterator,f=a.AsyncIteratorPrototype;if(!d)if(f)n=f;else if("function"==typeof h)n=h.prototype;else if(a.USE_FUNCTION_CONSTRUCTOR||o.USE_FUNCTION_CONSTRUCTOR)try{i=s(s(s(Function("return async function*(){}()")()))),s(i)===Object.prototype&&(n=i)}catch(m){}n||(n={}),l(n,p)||c(n,p,(function(){return this})),e.exports=n},95913:(e,t,r)=>{var n=r(86956);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e.return;throw void 0!==o&&n(o.call(e)),a}}},4684:(e,t,r)=>{var n=r(1386)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(s){}return r}},42849:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},79538:(e,t,r)=>{var n=r(16395),i=r(42849),o=r(1386)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},20737:(e,t,r)=>{"use strict";var n=r(86956),i=r(80118);e.exports=function(){for(var e=n(this),t=i(e.add),r=0,o=arguments.length;r<o;r++)t.call(e,arguments[r]);return e}},50560:(e,t,r)=>{"use strict";var n=r(86956),i=r(80118);e.exports=function(){for(var e,t=n(this),r=i(t.delete),o=!0,a=0,s=arguments.length;a<s;a++)e=r.call(t,arguments[a]),o=o&&e;return!!o}},18735:(e,t,r)=>{"use strict";var n=r(80118),i=r(43322),o=r(64572);e.exports=function(e){var t,r,a,s,l=arguments.length,c=l>1?arguments[1]:void 0;return n(this),(t=void 0!==c)&&n(c),null==e?new this:(r=[],t?(a=0,s=i(c,l>2?arguments[2]:void 0,2),o(e,(function(e){r.push(s(e,a++))}))):o(e,r.push,r),new this(r))}},11171:e=>{"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},95365:(e,t,r)=>{"use strict";var n=r(67455).f,i=r(63571),o=r(39757),a=r(43322),s=r(30680),l=r(64572),c=r(94247),u=r(8395),d=r(37703),p=r(9154).fastKey,h=r(2995),f=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,r,c){var u=e((function(e,n){s(e,u,t),f(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=n&&l(n,e[c],e,r)})),h=m(t),v=function(e,t,r){var n,i,o=h(e),a=y(e,t);return a?a.value=r:(o.last=a={index:i=p(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var r,n=h(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return o(u.prototype,{clear:function(){for(var e=h(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,r=h(t),n=y(t,e);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=h(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(u.prototype,r?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&n(u.prototype,"size",{get:function(){return h(this).size}}),u},setStrong:function(e,t,r){var n=t+" Iterator",i=m(t),o=m(n);c(e,t,(function(e,t){f(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),u(t)}}},59285:(e,t,r)=>{"use strict";var n=r(39757),i=r(9154).getWeakData,o=r(86956),a=r(42521),s=r(30680),l=r(64572),c=r(25097),u=r(52766),d=r(2995),p=d.set,h=d.getterFor,f=c.find,m=c.findIndex,v=0,y=function(e){return e.frozen||(e.frozen=new g)},g=function(){this.entries=[]},b=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,c){var d=e((function(e,n){s(e,d,t),p(e,{type:t,id:v++,frozen:void 0}),null!=n&&l(n,e[c],e,r)})),f=h(t),m=function(e,t,r){var n=f(e),a=i(o(t),!0);return!0===a?y(n).set(t,r):a[n.id]=r,e};return n(d.prototype,{delete:function(e){var t=f(this);if(!a(e))return!1;var r=i(e);return!0===r?y(t).delete(e):r&&u(r,t.id)&&delete r[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var r=i(e);return!0===r?y(t).has(e):r&&u(r,t.id)}}),n(d.prototype,r?{get:function(e){var t=f(this);if(a(e)){var r=i(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},35246:(e,t,r)=>{"use strict";var n=r(7309),i=r(76121),o=r(20676),a=r(62327),s=r(9154),l=r(64572),c=r(30680),u=r(42521),d=r(72763),p=r(4684),h=r(54849),f=r(31985);e.exports=function(e,t,r){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),y=m?"set":"add",g=i[e],b=g&&g.prototype,_=g,w={},k=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(o(e,"function"!=typeof g||!(v||b.forEach&&!d((function(){(new g).entries().next()})))))_=r.getConstructor(t,e,m,y),s.REQUIRED=!0;else if(o(e,!0)){var x=new _,E=x[y](v?{}:-0,1)!=x,A=d((function(){x.has(1)})),S=p((function(e){new g(e)})),L=!v&&d((function(){for(var e=new g,t=5;t--;)e[y](t,t);return!e.has(-0)}));S||((_=t((function(t,r){c(t,_,e);var n=f(new g,t,_);return null!=r&&l(r,n[y],n,m),n}))).prototype=b,b.constructor=_),(A||L)&&(k("delete"),k("has"),m&&k("get")),(L||E)&&k(y),v&&b.clear&&delete b.clear}return w[e]=_,n({global:!0,forced:_!=g},w),h(_,e),v||r.setStrong(_,e,m),_}},49098:(e,t,r)=>{var n=r(8974),i=r(38742),o=r(63571),a=r(42521),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=o(null)};s.prototype.get=function(e,t){return this[e]||(this[e]=t())},s.prototype.next=function(e,t,r){var o=r?this.objectsByIndex[e]||(this.objectsByIndex[e]=new i):this.primitives||(this.primitives=new n),a=o.get(t);return a||o.set(t,a=new s),a};var l=new s;e.exports=function(){var e,t,r=l,n=arguments.length;for(e=0;e<n;e++)a(t=arguments[e])&&(r=r.next(e,t,!0));if(this===Object&&r===l)throw TypeError("Composite keys must contain a non-primitive component");for(e=0;e<n;e++)a(t=arguments[e])||(r=r.next(e,t,!1));return r}},94488:(e,t,r)=>{var n=r(52766),i=r(79593),o=r(38769),a=r(67455);e.exports=function(e,t){for(var r=i(t),s=a.f,l=o.f,c=0;c<r.length;c++){var u=r[c];n(e,u)||s(e,u,l(t,u))}}},10316:(e,t,r)=>{var n=r(1386)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(i){}}return!1}},54264:(e,t,r)=>{var n=r(72763);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},8757:(e,t,r)=>{var n=r(7263),i=/"/g;e.exports=function(e,t,r,o){var a=String(n(e)),s="<"+t;return""!==r&&(s+=" "+r+'="'+String(o).replace(i,""")+'"'),s+">"+a+"</"+t+">"}},34427:(e,t,r)=>{"use strict";var n=r(94109).IteratorPrototype,i=r(63571),o=r(5938),a=r(54849),s=r(23403),l=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,c,!1,!0),s[c]=l,e}},91471:(e,t,r)=>{var n=r(37703),i=r(67455),o=r(5938);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5938:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},32385:(e,t,r)=>{"use strict";var n=r(40687),i=r(67455),o=r(5938);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},59671:(e,t,r)=>{"use strict";var n=r(72763),i=r(25427).start,o=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;e.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-50000000000001))}))||!n((function(){l.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),r=e.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+i(o(t),n?6:4,0)+"-"+i(e.getUTCMonth()+1,2,0)+"-"+i(e.getUTCDate(),2,0)+"T"+i(e.getUTCHours(),2,0)+":"+i(e.getUTCMinutes(),2,0)+":"+i(e.getUTCSeconds(),2,0)+"."+i(r,3,0)+"Z"}:l},83976:(e,t,r)=>{"use strict";var n=r(86956),i=r(40687);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(n(this),"number"!==e)}},94247:(e,t,r)=>{"use strict";var n=r(7309),i=r(34427),o=r(99366),a=r(86594),s=r(54849),l=r(91471),c=r(62327),u=r(1386),d=r(8451),p=r(23403),h=r(94109),f=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=u("iterator"),y="keys",g="values",b="entries",_=function(){return this};e.exports=function(e,t,r,u,h,w,k){i(r,t,u);var x,E,A,S=function(e){if(e===h&&I)return I;if(!m&&e in P)return P[e];switch(e){case y:case g:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",C=!1,P=e.prototype,T=P[v]||P["@@iterator"]||h&&P[h],I=!m&&T||S(h),Z="Array"==t&&P.entries||T;if(Z&&(x=o(Z.call(new e)),f!==Object.prototype&&x.next&&(d||o(x)===f||(a?a(x,f):"function"!=typeof x[v]&&l(x,v,_)),s(x,L,!0,!0),d&&(p[L]=_))),h==g&&T&&T.name!==g&&(C=!0,I=function(){return T.call(this)}),d&&!k||P[v]===I||l(P,v,I),p[t]=I,h)if(E={values:S(g),keys:w?I:S(y),entries:S(b)},k)for(A in E)(m||C||!(A in P))&&c(P,A,E[A]);else n({target:t,proto:!0,forced:m||C},E);return E}},56316:(e,t,r)=>{var n=r(1035),i=r(52766),o=r(89103),a=r(67455).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},37703:(e,t,r)=>{var n=r(72763);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6004:(e,t,r)=>{var n=r(76121),i=r(42521),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},83729:e=>{e.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}},60987:(e,t,r)=>{var n=r(58635);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},58635:(e,t,r)=>{var n=r(77642);e.exports=n("navigator","userAgent")||""},56962:(e,t,r)=>{var n,i,o=r(76121),a=r(58635),s=o.process,l=s&&s.versions,c=l&&l.v8;c?i=(n=c.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},64731:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7309:(e,t,r)=>{var n=r(76121),i=r(38769).f,o=r(91471),a=r(62327),s=r(6565),l=r(94488),c=r(20676);e.exports=function(e,t){var r,u,d,p,h,f=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[f]||s(f,{}):(n[f]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(h=i(r,u))&&h.value:r[u],!c(m?u:f+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),a(r,u,p,e)}}},72763:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},1325:(e,t,r)=>{"use strict";r(48775);var n=r(62327),i=r(72763),o=r(1386),a=r(73546),s=r(91471),l=o("species"),c=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=o("replace"),p=!!/./[d]&&""===/./[d]("a","$0"),h=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,d){var f=o(e),m=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),v=m&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!m||!v||"replace"===e&&(!c||!u||p)||"split"===e&&!h){var y=/./[f],g=r(f,""[e],(function(e,t,r,n,i){return t.exec===a?m&&!i?{done:!0,value:y.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],_=g[1];n(String.prototype,e,b),n(RegExp.prototype,f,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}d&&s(RegExp.prototype[f],"sham",!0)}},25538:(e,t,r)=>{"use strict";var n=r(43964),i=r(48331),o=r(43322),a=function(e,t,r,s,l,c,u,d){for(var p,h=l,f=0,m=!!u&&o(u,d,3);f<s;){if(f in r){if(p=m?m(r[f],f,t):r[f],c>0&&n(p))h=a(e,t,p,i(p.length),h,c-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=p}h++}f++}return h};e.exports=a},91104:(e,t,r)=>{var n=r(72763);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},43322:(e,t,r)=>{var n=r(80118);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},48659:(e,t,r)=>{"use strict";var n=r(80118),i=r(42521),o=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),a=function(){var n=r.concat(o.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return i(t.prototype)&&(a.prototype=t.prototype),a}},91738:(e,t,r)=>{var n=r(85111),i=r(1386)("asyncIterator");e.exports=function(e){var t=e[i];return void 0===t?n(e):t}},77642:(e,t,r)=>{var n=r(1035),i=r(76121),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},85111:(e,t,r)=>{var n=r(79538),i=r(23403),o=r(1386)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},17773:(e,t,r)=>{var n=r(86956),i=r(85111);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},70153:(e,t,r)=>{var n=r(8451),i=r(17773);e.exports=n?i:function(e){return Map.prototype.entries.call(e)}},63490:(e,t,r)=>{var n=r(8451),i=r(17773);e.exports=n?i:function(e){return Set.prototype.values.call(e)}},76121:e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||Function("return this")()},52766:e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},32048:e=>{e.exports={}},94113:(e,t,r)=>{var n=r(76121);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},24174:(e,t,r)=>{var n=r(77642);e.exports=n("document","documentElement")},27226:(e,t,r)=>{var n=r(37703),i=r(72763),o=r(6004);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},6601:e=>{var t=1/0,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,s,l){var c,u,d,p=new Array(l),h=8*l-s-1,f=(1<<h)-1,m=f>>1,v=23===s?n(2,-24)-n(2,-77):0,y=e<0||0===e&&1/e<0?1:0,g=0;for((e=r(e))!=e||e===t?(u=e!=e?1:0,c=f):(c=i(o(e)/a),e*(d=n(2,-c))<1&&(c--,d*=2),(e+=c+m>=1?v/d:v*n(2,1-m))*d>=2&&(c++,d/=2),c+m>=f?(u=0,c=f):c+m>=1?(u=(e*d-1)*n(2,s),c+=m):(u=e*n(2,m-1)*n(2,s),c=0));s>=8;p[g++]=255&u,u/=256,s-=8);for(c=c<<s|u,h+=s;h>0;p[g++]=255&c,c/=256,h-=8);return p[--g]|=128*y,p},unpack:function(e,r){var i,o=e.length,a=8*o-r-1,s=(1<<a)-1,l=s>>1,c=a-7,u=o-1,d=e[u--],p=127&d;for(d>>=7;c>0;p=256*p+e[u],u--,c-=8);for(i=p&(1<<-c)-1,p>>=-c,c+=r;c>0;i=256*i+e[u],u--,c-=8);if(0===p)p=1-l;else{if(p===s)return i?NaN:d?-1/0:t;i+=n(2,r),p-=l}return(d?-1:1)*i*n(2,p-r)}}},23169:(e,t,r)=>{var n=r(72763),i=r(42849),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},31985:(e,t,r)=>{var n=r(42521),i=r(86594);e.exports=function(e,t,r){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},99835:(e,t,r)=>{var n=r(4682),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},9154:(e,t,r)=>{var n=r(32048),i=r(42521),o=r(52766),a=r(67455).f,s=r(51735),l=r(91104),c=s("meta"),u=0,d=Object.isExtensible||function(){return!0},p=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,c)){if(!d(e))return"F";if(!t)return"E";p(e)}return e[c].objectID},getWeakData:function(e,t){if(!o(e,c)){if(!d(e))return!0;if(!t)return!1;p(e)}return e[c].weakData},onFreeze:function(e){return l&&h.REQUIRED&&d(e)&&!o(e,c)&&p(e),e}};n[c]=!0},2995:(e,t,r)=>{var n,i,o,a=r(45546),s=r(76121),l=r(42521),c=r(91471),u=r(52766),d=r(52562),p=r(32048),h=s.WeakMap;if(a){var f=new h,m=f.get,v=f.has,y=f.set;n=function(e,t){return y.call(f,e,t),t},i=function(e){return m.call(f,e)||{}},o=function(e){return v.call(f,e)}}else{var g=d("state");p[g]=!0,n=function(e,t){return c(e,g,t),t},i=function(e){return u(e,g)?e[g]:{}},o=function(e){return u(e,g)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},19439:(e,t,r)=>{var n=r(1386),i=r(23403),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},43964:(e,t,r)=>{var n=r(42849);e.exports=Array.isArray||function(e){return"Array"==n(e)}},20676:(e,t,r)=>{var n=r(72763),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==c||r!=l&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},56038:(e,t,r)=>{var n=r(42521),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},42521:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},8451:e=>{e.exports=!1},16272:(e,t,r)=>{var n=r(42521),i=r(42849),o=r(1386)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},64572:(e,t,r)=>{var n=r(86956),i=r(19439),o=r(48331),a=r(43322),s=r(85111),l=r(95913),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,u,d){var p,h,f,m,v,y,g,b=a(t,r,u?2:1);if(d)p=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(f=0,m=o(e.length);m>f;f++)if((v=u?b(n(g=e[f])[0],g[1]):b(e[f]))&&v instanceof c)return v;return new c(!1)}p=h.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=l(p,b,g.value,u))&&v&&v instanceof c)return v;return new c(!1)}).stop=function(e){return new c(!0,e)}},36020:(e,t,r)=>{"use strict";var n=r(1035),i=r(80118),o=r(86956),a=r(63571),s=r(91471),l=r(39757),c=r(1386),u=r(2995),d=u.set,p=u.get,h=c("toStringTag"),f=function(e){var t=p(this).iterator,r=t.return;return void 0===r?{done:!0,value:e}:o(r.call(t,e))},m=function(e){var t=p(this).iterator,r=t.throw;if(void 0===r)throw e;return r.call(t,e)};e.exports=function(e,t){var r=function(e){e.next=i(e.iterator.next),e.done=!1,d(this,e)};return r.prototype=l(a(n.Iterator.prototype),{next:function(){var t=p(this),r=t.done?void 0:e.apply(t,arguments);return{done:t.done,value:r}},return:f,throw:m}),t||s(r.prototype,h,"Generator"),r}},94109:(e,t,r)=>{"use strict";var n,i,o,a=r(99366),s=r(91471),l=r(52766),c=r(1386),u=r(8451),d=c("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):p=!0),null==n&&(n={}),u||l(n,d)||s(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},23403:e=>{e.exports={}},7230:(e,t,r)=>{"use strict";var n=r(86956);e.exports=function(e,t){var r,i=n(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof o)throw TypeError("At least one callback required");return i.has(e)?(r=i.get(e),"function"==typeof t&&(r=t(r),i.set(e,r))):"function"==typeof o&&(r=o(),i.set(e,r)),r}},89188:e=>{var t=Math.expm1,r=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:t},63094:(e,t,r)=>{var n=r(4380),i=Math.abs,o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),c=o(2,-126);e.exports=Math.fround||function(e){var t,r,o=i(e),u=n(e);return o<c?u*(o/c/s+1/a-1/a)*c*s:(r=(t=(1+s/a)*o)-(t-o))>l||r!=r?u*(1/0):u*r}},39370:e=>{var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},50969:e=>{e.exports=Math.scale||function(e,t,r,n,i){return 0===arguments.length||e!=e||t!=t||r!=r||n!=n||i!=i?NaN:e===1/0||e===-1/0?e:(e-t)*(i-n)/(r-t)+n}},4380:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},26745:(e,t,r)=>{var n,i,o,a,s,l,c,u,d=r(76121),p=r(38769).f,h=r(42849),f=r(94825).set,m=r(60987),v=d.MutationObserver||d.WebKitMutationObserver,y=d.process,g=d.Promise,b="process"==h(y),_=p(d,"queueMicrotask"),w=_&&_.value;w||(n=function(){var e,t;for(b&&(e=y.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},b?a=function(){y.nextTick(n)}:v&&!m?(s=!0,l=document.createTextNode(""),new v(n).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):g&&g.resolve?(c=g.resolve(void 0),u=c.then,a=function(){u.call(c,n)}):a=function(){f.call(d,n)}),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},34860:(e,t,r)=>{var n=r(76121);e.exports=n.Promise},54020:(e,t,r)=>{var n=r(72763);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},50307:(e,t,r)=>{var n=r(72763),i=r(1386),o=r(8451),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[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}))},45546:(e,t,r)=>{var n=r(76121),i=r(99835),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},40500:(e,t,r)=>{"use strict";var n=r(80118),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},11330:(e,t,r)=>{var n=r(16272);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},30097:(e,t,r)=>{var n=r(76121).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},30706:(e,t,r)=>{var n=r(76121),i=r(36842).trim,o=r(82350),a=n.parseFloat,s=1/a(o+"-0")!=-1/0;e.exports=s?function(e){var t=i(String(e)),r=a(t);return 0===r&&"-"==t.charAt(0)?-0:r}:a},92437:(e,t,r)=>{var n=r(76121),i=r(36842).trim,o=r(82350),a=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(o+"08")||22!==a(o+"0x16");e.exports=l?function(e,t){var r=i(String(e));return a(r,t>>>0||(s.test(r)?16:10))}:a},81179:(e,t,r)=>{"use strict";var n=r(37703),i=r(72763),o=r(31792),a=r(92719),s=r(77751),l=r(84766),c=r(23169),u=Object.assign,d=Object.defineProperty;e.exports=!u||i((function(){if(n&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||o(u({},t)).join("")!=i}))?function(e,t){for(var r=l(e),i=arguments.length,u=1,d=a.f,p=s.f;i>u;)for(var h,f=c(arguments[u++]),m=d?o(f).concat(d(f)):o(f),v=m.length,y=0;v>y;)h=m[y++],n&&!p.call(f,h)||(r[h]=f[h]);return r}:u},63571:(e,t,r)=>{var n,i=r(86956),o=r(37532),a=r(64731),s=r(32048),l=r(24174),c=r(6004),u=r(52562),d=u("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},f=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(i){}var e,t;f=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete f.prototype[a[r]];return f()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=i(e),r=new p,p.prototype=null,r[d]=e):r=f(),void 0===t?r:o(r,t)}},37532:(e,t,r)=>{var n=r(37703),i=r(67455),o=r(86956),a=r(31792);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=n.length,l=0;s>l;)i.f(e,r=n[l++],t[r]);return e}},67455:(e,t,r)=>{var n=r(37703),i=r(27226),o=r(86956),a=r(40687),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},38769:(e,t,r)=>{var n=r(37703),i=r(77751),o=r(5938),a=r(19969),s=r(40687),l=r(52766),c=r(27226),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(r){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},2525:(e,t,r)=>{var n=r(19969),i=r(2042).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(n(e))}},2042:(e,t,r)=>{var n=r(83224),i=r(64731).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},92719:(e,t)=>{t.f=Object.getOwnPropertySymbols},99366:(e,t,r)=>{var n=r(52766),i=r(84766),o=r(52562),a=r(54264),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},54691:(e,t,r)=>{"use strict";var n=r(2995),i=r(34427),o=r(52766),a=r(31792),s=r(84766),l="Object Iterator",c=n.set,u=n.getterFor(l);e.exports=i((function(e,t){var r=s(e);c(this,{type:l,mode:t,object:r,keys:a(r),index:0})}),"Object",(function(){for(var e=u(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,{value:void 0,done:!0};var r=t[e.index++],n=e.object;if(o(n,r)){switch(e.mode){case"keys":return{value:r,done:!1};case"values":return{value:n[r],done:!1}}return{value:[r,n[r]],done:!1}}}}))},83224:(e,t,r)=>{var n=r(52766),i=r(19969),o=r(59729).indexOf,a=r(32048);e.exports=function(e,t){var r,s=i(e),l=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||c.push(r));return c}},31792:(e,t,r)=>{var n=r(83224),i=r(64731);e.exports=Object.keys||function(e){return n(e,i)}},77751:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},94926:(e,t,r)=>{"use strict";var n=r(8451),i=r(76121),o=r(72763);e.exports=n||!o((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete i[e]}))},86594:(e,t,r)=>{var n=r(86956),i=r(42193);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},90962:(e,t,r)=>{var n=r(37703),i=r(31792),o=r(19969),a=r(77751).f,s=function(e){return function(t){for(var r,s=o(t),l=i(s),c=l.length,u=0,d=[];c>u;)r=l[u++],n&&!a.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},5739:(e,t,r)=>{"use strict";var n=r(16395),i=r(79538);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},79593:(e,t,r)=>{var n=r(77642),i=r(2042),o=r(92719),a=r(86956);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},1035:(e,t,r)=>{var n=r(76121);e.exports=n},80224:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},3722:(e,t,r)=>{var n=r(86956),i=r(42521),o=r(40500);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},39757:(e,t,r)=>{var n=r(62327);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},62327:(e,t,r)=>{var n=r(76121),i=r(91471),o=r(52766),a=r(6565),s=r(99835),l=r(2995),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),u(r).source=d.join("string"==typeof t?t:"")),e!==n?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=r:i(e,t,r)):c?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},58948:(e,t,r)=>{var n=r(8974),i=r(38742),o=r(30896)("metadata"),a=o.store||(o.store=new i),s=function(e,t,r){var i=a.get(e);if(!i){if(!r)return;a.set(e,i=new n)}var o=i.get(t);if(!o){if(!r)return;i.set(t,o=new n)}return o};e.exports={store:a,getMap:s,has:function(e,t,r){var n=s(t,r,!1);return void 0!==n&&n.has(e)},get:function(e,t,r){var n=s(t,r,!1);return void 0===n?void 0:n.get(e)},set:function(e,t,r,n){s(r,n,!0).set(e,t)},keys:function(e,t){var r=s(e,t,!1),n=[];return r&&r.forEach((function(e,t){n.push(t)})),n},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},1750:(e,t,r)=>{var n=r(42849),i=r(73546);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},73546:(e,t,r)=>{"use strict";var n,i,o=r(1346),a=r(65443),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(n=/a/,i=/b*/g,s.call(n,"a"),s.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||d)&&(c=function(e){var t,r,n,i,a=this,c=d&&a.sticky,h=o.call(a),f=a.source,m=0,v=e;return c&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",v=" "+v,m++),r=new RegExp("^(?:"+f+")",h)),p&&(r=new RegExp("^"+f+"$(?!\\s)",h)),u&&(t=a.lastIndex),n=s.call(c?r:a,v),c?n?(n.input=n.input.slice(m),n[0]=n[0].slice(m),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:u&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),p&&n&&n.length>1&&l.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=c},1346:(e,t,r)=>{"use strict";var n=r(86956);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},65443:(e,t,r)=>{"use strict";var n=r(72763);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},7263:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},3675:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},17162:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},6565:(e,t,r)=>{var n=r(76121),i=r(91471);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},8395:(e,t,r)=>{"use strict";var n=r(77642),i=r(67455),o=r(1386),a=r(37703),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},54849:(e,t,r)=>{var n=r(67455).f,i=r(52766),o=r(1386)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},52562:(e,t,r)=>{var n=r(30896),i=r(51735),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},4682:(e,t,r)=>{var n=r(76121),i=r(6565),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},30896:(e,t,r)=>{var n=r(8451),i=r(4682);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},18159:(e,t,r)=>{var n=r(86956),i=r(80118),o=r(1386)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},53710:(e,t,r)=>{var n=r(72763);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},73832:(e,t,r)=>{var n=r(25623),i=r(7263),o=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},32411:(e,t,r)=>{var n=r(58635);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},25427:(e,t,r)=>{var n=r(48331),i=r(59549),o=r(7263),a=Math.ceil,s=function(e){return function(t,r,s){var l,c,u=String(o(t)),d=u.length,p=void 0===s?" ":String(s),h=n(r);return h<=d||""==p?u:(l=h-d,(c=i.call(p,a(l/p.length))).length>l&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},81025:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(n+36*e/(e+38))},c=function(e){var r,n,c=[],u=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,d=128,p=0,h=72;for(r=0;r<e.length;r++)(n=e[r])<128&&c.push(a(n));var f=c.length,m=f;for(f&&c.push("-");m<u;){var v=t;for(r=0;r<e.length;r++)(n=e[r])>=d&&n<v&&(v=n);var y=m+1;if(v-d>o((t-p)/y))throw RangeError(i);for(p+=(v-d)*y,d=v,r=0;r<e.length;r++){if((n=e[r])<d&&++p>t)throw RangeError(i);if(n==d){for(var g=p,b=36;;b+=36){var _=b<=h?1:b>=h+26?26:b-h;if(g<_)break;var w=g-_,k=36-_;c.push(a(s(_+w%k))),g=o(w/k)}c.push(a(s(g))),h=l(p,y,m==f),p=0,++m}}++p,++d}return c.join("")};e.exports=function(e){var t,i,o=[],a=e.toLowerCase().replace(n,".").split(".");for(t=0;t<a.length;t++)i=a[t],o.push(r.test(i)?"xn--"+c(i):i);return o.join(".")}},59549:(e,t,r)=>{"use strict";var n=r(25623),i=r(7263);e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},9756:(e,t,r)=>{var n=r(72763),i=r(82350);e.exports=function(e){return n((function(){return!!i[e]()||"
"!="
"[e]()||i[e].name!==e}))}},36842:(e,t,r)=>{var n=r(7263),i="["+r(82350)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(a,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},94825:(e,t,r)=>{var n,i,o,a=r(76121),s=r(72763),l=r(42849),c=r(43322),u=r(24174),d=r(6004),p=r(60987),h=a.location,f=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,_={},w="onreadystatechange",k=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){k(e)}},E=function(e){k(e.data)},A=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};f&&m||(f=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete _[e]},"process"==l(v)?n=function(e){v.nextTick(x(e))}:g&&g.now?n=function(e){g.now(x(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=E,n=c(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(A)||"file:"===h.protocol?n=w in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),k(e)}}:function(e){setTimeout(x(e),0)}:(n=A,a.addEventListener("message",E,!1))),e.exports={set:f,clear:m}},40262:(e,t,r)=>{var n=r(42849);e.exports=function(e){if("number"!=typeof e&&"Number"!=n(e))throw TypeError("Incorrect invocation");return+e}},11588:(e,t,r)=>{var n=r(25623),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},35639:(e,t,r)=>{var n=r(25623),i=r(48331);e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length or index");return r}},19969:(e,t,r)=>{var n=r(23169),i=r(7263);e.exports=function(e){return n(i(e))}},25623:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},48331:(e,t,r)=>{var n=r(25623),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},84766:(e,t,r)=>{var n=r(7263);e.exports=function(e){return Object(n(e))}},31085:(e,t,r)=>{var n=r(7006);e.exports=function(e,t){var r=n(e);if(r%t)throw RangeError("Wrong offset");return r}},7006:(e,t,r)=>{var n=r(25623);e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},40687:(e,t,r)=>{var n=r(42521);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},16395:(e,t,r)=>{var n={};n[r(1386)("toStringTag")]="z",e.exports="[object z]"===String(n)},31240:(e,t,r)=>{"use strict";var n=r(7309),i=r(76121),o=r(37703),a=r(87928),s=r(44162),l=r(75117),c=r(30680),u=r(5938),d=r(91471),p=r(48331),h=r(35639),f=r(31085),m=r(40687),v=r(52766),y=r(79538),g=r(42521),b=r(63571),_=r(86594),w=r(2042).f,k=r(21719),x=r(25097).forEach,E=r(8395),A=r(67455),S=r(38769),L=r(2995),C=r(31985),P=L.get,T=L.set,I=A.f,Z=S.f,O=Math.round,N=i.RangeError,R=l.ArrayBuffer,M=l.DataView,z=s.NATIVE_ARRAY_BUFFER_VIEWS,D=s.TYPED_ARRAY_TAG,j=s.TypedArray,F=s.TypedArrayPrototype,B=s.aTypedArrayConstructor,U=s.isTypedArray,H="BYTES_PER_ELEMENT",G="Wrong length",V=function(e,t){for(var r=0,n=t.length,i=new(B(e))(n);n>r;)i[r]=t[r++];return i},K=function(e,t){I(e,t,{get:function(){return P(this)[t]}})},$=function(e){var t;return e instanceof R||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},q=function(e,t){return U(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},X=function(e,t){return q(e,t=m(t,!0))?u(2,e[t]):Z(e,t)},W=function(e,t,r){return!(q(e,t=m(t,!0))&&g(r)&&v(r,"value"))||v(r,"get")||v(r,"set")||r.configurable||v(r,"writable")&&!r.writable||v(r,"enumerable")&&!r.enumerable?I(e,t,r):(e[t]=r.value,e)};o?(z||(S.f=X,A.f=W,K(F,"buffer"),K(F,"byteOffset"),K(F,"byteLength"),K(F,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:X,defineProperty:W}),e.exports=function(e,t,r){var o=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",l="get"+e,u="set"+e,m=i[s],v=m,y=v&&v.prototype,A={},S=function(e,t){I(e,t,{get:function(){return function(e,t){var r=P(e);return r.view[l](t*o+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=P(e);r&&(n=(n=O(n))<0?0:n>255?255:255&n),i.view[u](t*o+i.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};z?a&&(v=t((function(e,t,r,n){return c(e,v,s),C(g(t)?$(t)?void 0!==n?new m(t,f(r,o),n):void 0!==r?new m(t,f(r,o)):new m(t):U(t)?V(v,t):k.call(v,t):new m(h(t)),e,v)})),_&&_(v,j),x(w(m),(function(e){e in v||d(v,e,m[e])})),v.prototype=y):(v=t((function(e,t,r,n){c(e,v,s);var i,a,l,u=0,d=0;if(g(t)){if(!$(t))return U(t)?V(v,t):k.call(v,t);i=t,d=f(r,o);var m=t.byteLength;if(void 0===n){if(m%o)throw N(G);if((a=m-d)<0)throw N(G)}else if((a=p(n)*o)+d>m)throw N(G);l=a/o}else l=h(t),i=new R(a=l*o);for(T(e,{buffer:i,byteOffset:d,byteLength:a,length:l,view:new M(i)});u<l;)S(e,u++)})),_&&_(v,j),y=v.prototype=b(F)),y.constructor!==v&&d(y,"constructor",v),D&&d(y,D,s),A[s]=v,n({global:!0,forced:v!=m,sham:!z},A),H in v||d(v,H,o),H in y||d(y,H,o),E(s)}):e.exports=function(){}},87928:(e,t,r)=>{var n=r(76121),i=r(72763),o=r(4684),a=r(44162).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!a||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!o((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||i((function(){return 1!==new l(new s(2),1,void 0).length}))},21719:(e,t,r)=>{var n=r(84766),i=r(48331),o=r(85111),a=r(19439),s=r(43322),l=r(44162).aTypedArrayConstructor;e.exports=function(e){var t,r,c,u,d,p,h=n(e),f=arguments.length,m=f>1?arguments[1]:void 0,v=void 0!==m,y=o(h);if(null!=y&&!a(y))for(p=(d=y.call(h)).next,h=[];!(u=p.call(d)).done;)h.push(u.value);for(v&&f>2&&(m=s(m,arguments[2],2)),r=i(h.length),c=new(l(this))(r),t=0;r>t;t++)c[t]=v?m(h[t],t):h[t];return c}},51735:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},42020:(e,t,r)=>{var n=r(54020);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},89103:(e,t,r)=>{var n=r(1386);t.f=n},1386:(e,t,r)=>{var n=r(76121),i=r(30896),o=r(52766),a=r(51735),s=r(54020),l=r(42020),c=i("wks"),u=n.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)||(s&&o(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},82350:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},45958:(e,t,r)=>{"use strict";var n=r(7309),i=r(76121),o=r(75117),a=r(8395),s="ArrayBuffer",l=o.ArrayBuffer;n({global:!0,forced:i.ArrayBuffer!==l},{ArrayBuffer:l}),a(s)},50266:(e,t,r)=>{var n=r(7309),i=r(44162);n({target:"ArrayBuffer",stat:!0,forced:!i.NATIVE_ARRAY_BUFFER_VIEWS},{isView:i.isView})},72471:(e,t,r)=>{"use strict";var n=r(7309),i=r(72763),o=r(75117),a=r(86956),s=r(11588),l=r(48331),c=r(18159),u=o.ArrayBuffer,d=o.DataView,p=u.prototype.slice;n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==p&&void 0===t)return p.call(a(this),e);for(var r=a(this).byteLength,n=s(e,r),i=s(void 0===t?r:t,r),o=new(c(this,u))(l(i-n)),h=new d(this),f=new d(o),m=0;n<i;)f.setUint8(m++,h.getUint8(n++));return o}})},26268:(e,t,r)=>{"use strict";var n=r(7309),i=r(72763),o=r(43964),a=r(42521),s=r(84766),l=r(48331),c=r(32385),u=r(48347),d=r(1566),p=r(1386),h=r(56962),f=p("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",y=h>=51||!i((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),g=d("concat"),b=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!y||!g},{concat:function(e){var t,r,n,i,o,a=s(this),d=u(a,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(b(o=-1===t?a:arguments[t])){if(p+(i=l(o.length))>m)throw TypeError(v);for(r=0;r<i;r++,p++)r in o&&c(d,p,o[r])}else{if(p>=m)throw TypeError(v);c(d,p++,o)}return d.length=p,d}})},68350:(e,t,r)=>{var n=r(7309),i=r(24579),o=r(29690);n({target:"Array",proto:!0},{copyWithin:i}),o("copyWithin")},20635:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).every,o=r(49719),a=r(76571),s=o("every"),l=a("every");n({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},42498:(e,t,r)=>{var n=r(7309),i=r(6922),o=r(29690);n({target:"Array",proto:!0},{fill:i}),o("fill")},60306:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).filter,o=r(1566),a=r(76571),s=o("filter"),l=a("filter");n({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},65750:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).findIndex,o=r(29690),a=r(76571),s="findIndex",l=!0,c=a(s);s in[]&&Array(1).findIndex((function(){l=!1})),n({target:"Array",proto:!0,forced:l||!c},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},9670:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).find,o=r(29690),a=r(76571),s="find",l=!0,c=a(s);s in[]&&Array(1).find((function(){l=!1})),n({target:"Array",proto:!0,forced:l||!c},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},4304:(e,t,r)=>{"use strict";var n=r(7309),i=r(25538),o=r(84766),a=r(48331),s=r(80118),l=r(48347);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=o(this),n=a(r.length);return s(e),(t=l(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},30812:(e,t,r)=>{"use strict";var n=r(7309),i=r(25538),o=r(84766),a=r(48331),s=r(25623),l=r(48347);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),r=a(t.length),n=l(t,0);return n.length=i(n,t,t,r,0,void 0===e?1:s(e)),n}})},25146:(e,t,r)=>{"use strict";var n=r(7309),i=r(20702);n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},36147:(e,t,r)=>{var n=r(7309),i=r(54513);n({target:"Array",stat:!0,forced:!r(4684)((function(e){Array.from(e)}))},{from:i})},10304:(e,t,r)=>{"use strict";var n=r(7309),i=r(59729).includes,o=r(29690);n({target:"Array",proto:!0,forced:!r(76571)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},40233:(e,t,r)=>{"use strict";var n=r(7309),i=r(59729).indexOf,o=r(49719),a=r(76571),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:l||!c||!u},{indexOf:function(e){return l?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},34364:(e,t,r)=>{r(7309)({target:"Array",stat:!0},{isArray:r(43964)})},43541:(e,t,r)=>{"use strict";var n=r(19969),i=r(29690),o=r(23403),a=r(2995),s=r(94247),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},69911:(e,t,r)=>{"use strict";var n=r(7309),i=r(23169),o=r(19969),a=r(49719),s=[].join,l=i!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},28787:(e,t,r)=>{var n=r(7309),i=r(8139);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},50472:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).map,o=r(1566),a=r(76571),s=o("map"),l=a("map");n({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},41031:(e,t,r)=>{"use strict";var n=r(7309),i=r(72763),o=r(32385);n({target:"Array",stat:!0,forced:i((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,r=new("function"==typeof this?this:Array)(t);t>e;)o(r,e,arguments[e++]);return r.length=t,r}})},18843:(e,t,r)=>{"use strict";var n=r(7309),i=r(59856).right,o=r(49719),a=r(76571),s=o("reduceRight"),l=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!l},{reduceRight:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},45519:(e,t,r)=>{"use strict";var n=r(7309),i=r(59856).left,o=r(49719),a=r(76571),s=o("reduce"),l=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},64487:(e,t,r)=>{"use strict";var n=r(7309),i=r(43964),o=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},95452:(e,t,r)=>{"use strict";var n=r(7309),i=r(42521),o=r(43964),a=r(11588),s=r(48331),l=r(19969),c=r(32385),u=r(1386),d=r(1566),p=r(76571),h=d("slice"),f=p("slice",{ACCESSORS:!0,0:0,1:2}),m=u("species"),v=[].slice,y=Math.max;n({target:"Array",proto:!0,forced:!h||!f},{slice:function(e,t){var r,n,u,d=l(this),p=s(d.length),h=a(e,p),f=a(void 0===t?p:t,p);if(o(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[m])&&(r=void 0):r=void 0,r===Array||void 0===r))return v.call(d,h,f);for(n=new(void 0===r?Array:r)(y(f-h,0)),u=0;h<f;h++,u++)h in d&&c(n,u,d[h]);return n.length=u,n}})},50462:(e,t,r)=>{"use strict";var n=r(7309),i=r(25097).some,o=r(49719),a=r(76571),s=o("some"),l=a("some");n({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},54070:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(84766),a=r(72763),s=r(49719),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),p=s("sort");n({target:"Array",proto:!0,forced:u||!d||!p},{sort:function(e){return void 0===e?c.call(o(this)):c.call(o(this),i(e))}})},71025:(e,t,r)=>{r(8395)("Array")},80166:(e,t,r)=>{"use strict";var n=r(7309),i=r(11588),o=r(25623),a=r(48331),s=r(84766),l=r(48347),c=r(32385),u=r(1566),d=r(76571),p=u("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,m=Math.min,v=9007199254740991,y="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!p||!h},{splice:function(e,t){var r,n,u,d,p,h,g=s(this),b=a(g.length),_=i(e,b),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=b-_):(r=w-2,n=m(f(o(t),0),b-_)),b+r-n>v)throw TypeError(y);for(u=l(g,n),d=0;d<n;d++)(p=_+d)in g&&c(u,d,g[p]);if(u.length=n,r<n){for(d=_;d<b-n;d++)h=d+r,(p=d+n)in g?g[h]=g[p]:delete g[h];for(d=b;d>b-n+r;d--)delete g[d-1]}else if(r>n)for(d=b-n;d>_;d--)h=d+r-1,(p=d+n-1)in g?g[h]=g[p]:delete g[h];for(d=0;d<r;d++)g[d+_]=arguments[d+2];return g.length=b-n+r,u}})},82519:(e,t,r)=>{r(29690)("flatMap")},29993:(e,t,r)=>{r(29690)("flat")},68678:(e,t,r)=>{var n=r(7309),i=r(75117);n({global:!0,forced:!r(90251)},{DataView:i.DataView})},71468:(e,t,r)=>{r(7309)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},74818:(e,t,r)=>{var n=r(7309),i=r(59671);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},77026:(e,t,r)=>{"use strict";var n=r(7309),i=r(72763),o=r(84766),a=r(40687);n({target:"Date",proto:!0,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=o(this),r=a(t);return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},38607:(e,t,r)=>{var n=r(91471),i=r(83976),o=r(1386)("toPrimitive"),a=Date.prototype;o in a||n(a,o,i)},20836:(e,t,r)=>{var n=r(62327),i=Date.prototype,o="Invalid Date",a="toString",s=i.toString,l=i.getTime;new Date(NaN)+""!=o&&n(i,a,(function(){var e=l.call(this);return e==e?s.call(this):o}))},23080:(e,t,r)=>{r(7309)({target:"Function",proto:!0},{bind:r(48659)})},45192:(e,t,r)=>{"use strict";var n=r(42521),i=r(67455),o=r(99366),a=r(1386)("hasInstance"),s=Function.prototype;a in s||i.f(s,a,{value:function(e){if("function"!=typeof this||!n(e))return!1;if(!n(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},77441:(e,t,r)=>{var n=r(37703),i=r(67455).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";n&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},68428:(e,t,r)=>{r(7309)({global:!0},{globalThis:r(76121)})},83438:(e,t,r)=>{var n=r(7309),i=r(77642),o=r(72763),a=i("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,r){var n=r.charAt(t-1),i=r.charAt(t+1);return l.test(e)&&!c.test(i)||c.test(e)&&!l.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},d=o((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=a.apply(null,arguments);return"string"==typeof n?n.replace(s,u):n}})},36087:(e,t,r)=>{var n=r(76121);r(54849)(n.JSON,"JSON",!0)},8974:(e,t,r)=>{"use strict";var n=r(35246),i=r(95365);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},84997:(e,t,r)=>{var n=r(7309),i=r(39370),o=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;n({target:"Math",stat:!0,forced:!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:i(e-1+s(e-1)*s(e+1))}})},6423:(e,t,r)=>{var n=r(7309),i=Math.asinh,o=Math.log,a=Math.sqrt;n({target:"Math",stat:!0,forced:!(i&&1/i(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):o(t+a(t*t+1)):t}})},33319:(e,t,r)=>{var n=r(7309),i=Math.atanh,o=Math.log;n({target:"Math",stat:!0,forced:!(i&&1/i(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:o((1+e)/(1-e))/2}})},61134:(e,t,r)=>{var n=r(7309),i=r(4380),o=Math.abs,a=Math.pow;n({target:"Math",stat:!0},{cbrt:function(e){return i(e=+e)*a(o(e),1/3)}})},47381:(e,t,r)=>{var n=r(7309),i=Math.floor,o=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-i(o(e+.5)*a):32}})},67316:(e,t,r)=>{var n=r(7309),i=r(89188),o=Math.cosh,a=Math.abs,s=Math.E;n({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(e){var t=i(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},68536:(e,t,r)=>{var n=r(7309),i=r(89188);n({target:"Math",stat:!0,forced:i!=Math.expm1},{expm1:i})},3563:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{fround:r(63094)})},5373:(e,t,r)=>{var n=r(7309),i=Math.hypot,o=Math.abs,a=Math.sqrt;n({target:"Math",stat:!0,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,n,i=0,s=0,l=arguments.length,c=0;s<l;)c<(r=o(arguments[s++]))?(i=i*(n=c/r)*n+1,c=r):i+=r>0?(n=r/c)*n:r;return c===1/0?1/0:c*a(i)}})},64039:(e,t,r)=>{var n=r(7309),i=r(72763),o=Math.imul;n({target:"Math",stat:!0,forced:i((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(e,t){var r=65535,n=+e,i=+t,o=r&n,a=r&i;return 0|o*a+((r&n>>>16)*a+o*(r&i>>>16)<<16>>>0)}})},72778:(e,t,r)=>{var n=r(7309),i=Math.log,o=Math.LOG10E;n({target:"Math",stat:!0},{log10:function(e){return i(e)*o}})},29309:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{log1p:r(39370)})},63104:(e,t,r)=>{var n=r(7309),i=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},56379:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{sign:r(4380)})},59604:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(89188),a=Math.abs,s=Math.exp,l=Math.E;n({target:"Math",stat:!0,forced:i((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(o(e)-o(-e))/2:(s(e-1)-s(-e-1))*(l/2)}})},73387:(e,t,r)=>{var n=r(7309),i=r(89188),o=Math.exp;n({target:"Math",stat:!0},{tanh:function(e){var t=i(e=+e),r=i(-e);return t==1/0?1:r==1/0?-1:(t-r)/(o(e)+o(-e))}})},25120:(e,t,r)=>{r(54849)(Math,"Math",!0)},10084:(e,t,r)=>{var n=r(7309),i=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(e){return(e>0?o:i)(e)}})},3278:(e,t,r)=>{"use strict";var n=r(37703),i=r(76121),o=r(20676),a=r(62327),s=r(52766),l=r(42849),c=r(31985),u=r(40687),d=r(72763),p=r(63571),h=r(2042).f,f=r(38769).f,m=r(67455).f,v=r(36842).trim,y="Number",g=i.Number,b=g.prototype,_=l(p(b))==y,w=function(e){var t,r,n,i,o,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=v(c)).charCodeAt(0))||45===t){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,n)}return+c};if(o(y,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var k,x=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof x&&(_?d((function(){b.valueOf.call(r)})):l(r)!=y)?c(new g(w(t)),r,x):w(t)},E=n?h(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),A=0;E.length>A;A++)s(g,k=E[A])&&!s(x,k)&&m(x,k,f(g,k));x.prototype=b,b.constructor=x,a(i,y,x)}},31917:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},10026:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{isFinite:r(30097)})},83069:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{isInteger:r(56038)})},96816:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},57022:(e,t,r)=>{var n=r(7309),i=r(56038),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},89421:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},45725:(e,t,r)=>{r(7309)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},26629:(e,t,r)=>{var n=r(7309),i=r(30706);n({target:"Number",stat:!0,forced:Number.parseFloat!=i},{parseFloat:i})},40694:(e,t,r)=>{var n=r(7309),i=r(92437);n({target:"Number",stat:!0,forced:Number.parseInt!=i},{parseInt:i})},89994:(e,t,r)=>{"use strict";var n=r(7309),i=r(25623),o=r(40262),a=r(59549),s=r(72763),l=1..toFixed,c=Math.floor,u=function(e,t,r){return 0===t?r:t%2==1?u(e,t-1,r*e):u(e*e,t/2,r)};n({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,r,n,s,l=o(this),d=i(e),p=[0,0,0,0,0,0],h="",f="0",m=function(e,t){for(var r=-1,n=t;++r<6;)n+=e*p[r],p[r]=n%1e7,n=c(n/1e7)},v=function(e){for(var t=6,r=0;--t>=0;)r+=p[t],p[t]=c(r/e),r=r%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var r=String(p[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),r*=4503599627370496,(t=52-t)>0){for(m(0,r),n=d;n>=7;)m(1e7,0),n-=7;for(m(u(10,n,1),0),n=t-1;n>=23;)v(1<<23),n-=23;v(1<<n),m(1,1),v(2),f=y()}else m(0,r),m(1<<-t,0),f=y()+a.call("0",d);return f=d>0?h+((s=f.length)<=d?"0."+a.call("0",d-s)+f:f.slice(0,s-d)+"."+f.slice(s-d)):h+f}})},66805:(e,t,r)=>{"use strict";var n=r(7309),i=r(72763),o=r(40262),a=1..toPrecision;n({target:"Number",proto:!0,forced:i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(o(this)):a.call(o(this),e)}})},19425:(e,t,r)=>{var n=r(7309),i=r(81179);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},81591:(e,t,r)=>{r(7309)({target:"Object",stat:!0,sham:!r(37703)},{create:r(63571)})},66925:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(94926),a=r(84766),s=r(80118),l=r(67455);i&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(e,t){l.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},27559:(e,t,r)=>{var n=r(7309),i=r(37703);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:r(37532)})},64832:(e,t,r)=>{var n=r(7309),i=r(37703);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r(67455).f})},92354:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(94926),a=r(84766),s=r(80118),l=r(67455);i&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(e,t){l.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},89064:(e,t,r)=>{var n=r(7309),i=r(90962).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},75759:(e,t,r)=>{var n=r(7309),i=r(91104),o=r(72763),a=r(42521),s=r(9154).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!i},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},42612:(e,t,r)=>{var n=r(7309),i=r(64572),o=r(32385);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){o(t,e,r)}),void 0,!0),t}})},20631:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(19969),a=r(38769).f,s=r(37703),l=i((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},79556:(e,t,r)=>{var n=r(7309),i=r(37703),o=r(79593),a=r(19969),s=r(38769),l=r(32385);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),i=s.f,c=o(n),u={},d=0;c.length>d;)void 0!==(r=i(n,t=c[d++]))&&l(u,t,r);return u}})},87081:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(2525).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},74419:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(84766),a=r(99366),s=r(54264);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},33149:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(42521),a=Object.isExtensible;n({target:"Object",stat:!0,forced:i((function(){a(1)}))},{isExtensible:function(e){return!!o(e)&&(!a||a(e))}})},32755:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(42521),a=Object.isFrozen;n({target:"Object",stat:!0,forced:i((function(){a(1)}))},{isFrozen:function(e){return!o(e)||!!a&&a(e)}})},6775:(e,t,r)=>{var n=r(7309),i=r(72763),o=r(42521),a=Object.isSealed;n({target:"Object",stat:!0,forced:i((function(){a(1)}))},{isSealed:function(e){return!o(e)||!!a&&a(e)}})},74692:(e,t,r)=>{r(7309)({target:"Object",stat:!0},{is:r(17162)})},97757:(e,t,r)=>{var n=r(7309),i=r(84766),o=r(31792);n({target:"Object",stat:!0,forced:r(72763)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},56495:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(94926),a=r(84766),s=r(40687),l=r(99366),c=r(38769).f;i&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(e){var t,r=a(this),n=s(e,!0);do{if(t=c(r,n))return t.get}while(r=l(r))}})},92825:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(94926),a=r(84766),s=r(40687),l=r(99366),c=r(38769).f;i&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(e){var t,r=a(this),n=s(e,!0);do{if(t=c(r,n))return t.set}while(r=l(r))}})},67783:(e,t,r)=>{var n=r(7309),i=r(42521),o=r(9154).onFreeze,a=r(91104),s=r(72763),l=Object.preventExtensions;n({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&i(e)?l(o(e)):e}})},61345:(e,t,r)=>{var n=r(7309),i=r(42521),o=r(9154).onFreeze,a=r(91104),s=r(72763),l=Object.seal;n({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(e){return l&&i(e)?l(o(e)):e}})},72451:(e,t,r)=>{r(7309)({target:"Object",stat:!0},{setPrototypeOf:r(86594)})},38465:(e,t,r)=>{var n=r(16395),i=r(62327),o=r(5739);n||i(Object.prototype,"toString",o,{unsafe:!0})},29080:(e,t,r)=>{var n=r(7309),i=r(90962).values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},47265:(e,t,r)=>{var n=r(7309),i=r(30706);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},96742:(e,t,r)=>{var n=r(7309),i=r(92437);n({global:!0,forced:parseInt!=i},{parseInt:i})},48561:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(40500),a=r(80224),s=r(64572);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,c=a((function(){var r=i(t.resolve),o=[],a=0,l=1;s(e,(function(e){var i=a++,s=!1;o.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--l||n(o))}),(function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--l||n(o))}))})),--l||n(o)}));return c.error&&l(c.value),r.promise}})},59099:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(34860),a=r(72763),s=r(77642),l=r(18159),c=r(3722),u=r(62327);n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),i||"function"!=typeof o||o.prototype.finally||u(o.prototype,"finally",s("Promise").prototype.finally)},4769:(e,t,r)=>{"use strict";var n,i,o,a,s=r(7309),l=r(8451),c=r(76121),u=r(77642),d=r(34860),p=r(62327),h=r(39757),f=r(54849),m=r(8395),v=r(42521),y=r(80118),g=r(30680),b=r(42849),_=r(99835),w=r(64572),k=r(4684),x=r(18159),E=r(94825).set,A=r(26745),S=r(3722),L=r(94113),C=r(40500),P=r(80224),T=r(2995),I=r(20676),Z=r(1386),O=r(56962),N=Z("species"),R="Promise",M=T.get,z=T.set,D=T.getterFor(R),j=d,F=c.TypeError,B=c.document,U=c.process,H=u("fetch"),G=C.f,V=G,K="process"==b(U),$=!!(B&&B.createEvent&&c.dispatchEvent),q="unhandledrejection",X=I(R,(function(){if(!(_(j)!==String(j))){if(66===O)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!j.prototype.finally)return!0;if(O>=51&&/native code/.test(j))return!1;var e=j.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),W=X||!k((function(e){j.all(e).catch((function(){}))})),Y=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;A((function(){for(var i=t.value,o=1==t.state,a=0;n.length>a;){var s,l,c,u=n[a++],d=o?u.ok:u.fail,p=u.resolve,h=u.reject,f=u.domain;try{d?(o||(2===t.rejection&&re(e,t),t.rejection=1),!0===d?s=i:(f&&f.enter(),s=d(i),f&&(f.exit(),c=!0)),s===u.promise?h(F("Promise-chain cycle")):(l=Y(s))?l.call(s,p,h):p(s)):h(i)}catch(m){f&&!c&&f.exit(),h(m)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},Q=function(e,t,r){var n,i;$?((n=B.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},(i=c["on"+e])?i(n):e===q&&L("Unhandled promise rejection",r)},ee=function(e,t){E.call(c,(function(){var r,n=t.value;if(te(t)&&(r=P((function(){K?U.emit("unhandledRejection",n,e):Q(q,e,n)})),t.rejection=K||te(t)?2:1,r.error))throw r.value}))},te=function(e){return 1!==e.rejection&&!e.parent},re=function(e,t){E.call(c,(function(){K?U.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(i){e(t,r,i,n)}},ie=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,J(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw F("Promise can't be resolved itself");var i=Y(r);i?A((function(){var n={done:!1};try{i.call(r,ne(oe,e,n,t),ne(ie,e,n,t))}catch(o){ie(e,n,o,t)}})):(t.value=r,t.state=1,J(e,t,!1))}catch(o){ie(e,{done:!1},o,t)}}};X&&(j=function(e){g(this,j,R),y(e),n.call(this);var t=M(this);try{e(ne(oe,this,t),ne(ie,this,t))}catch(r){ie(this,t,r)}},(n=function(e){z(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(j.prototype,{then:function(e,t){var r=D(this),n=G(x(this,j));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=K?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&J(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=M(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(ie,e,t)},C.f=G=function(e){return e===j||e===o?new i(e):V(e)},l||"function"!=typeof d||(a=d.prototype.then,p(d.prototype,"then",(function(e,t){var r=this;return new j((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(j,H.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:j}),f(j,R,!1,!0),m(R),o=u(R),s({target:R,stat:!0,forced:X},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:l||X},{resolve:function(e){return S(l&&this===o?j:this,e)}}),s({target:R,stat:!0,forced:W},{all:function(e){var t=this,r=G(t),n=r.resolve,i=r.reject,o=P((function(){var r=y(t.resolve),o=[],a=0,s=1;w(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,i=P((function(){var i=y(t.resolve);w(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},93693:(e,t,r)=>{var n=r(7309),i=r(77642),o=r(80118),a=r(86956),s=r(72763),l=i("Reflect","apply"),c=Function.apply;n({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(e,t,r){return o(e),a(r),l?l(e,t,r):c.call(e,t,r)}})},90836:(e,t,r)=>{var n=r(7309),i=r(77642),o=r(80118),a=r(86956),s=r(42521),l=r(63571),c=r(48659),u=r(72763),d=i("Reflect","construct"),p=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),h=!u((function(){d((function(){}))})),f=p||h;n({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){o(e),a(t);var r=arguments.length<3?e:o(arguments[2]);if(h&&!p)return d(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(c.apply(e,n))}var i=r.prototype,u=l(s(i)?i:Object.prototype),f=Function.apply.call(e,u,t);return s(f)?f:u}})},78621:(e,t,r)=>{var n=r(7309),i=r(37703),o=r(86956),a=r(40687),s=r(67455);n({target:"Reflect",stat:!0,forced:r(72763)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!i},{defineProperty:function(e,t,r){o(e);var n=a(t,!0);o(r);try{return s.f(e,n,r),!0}catch(i){return!1}}})},8460:(e,t,r)=>{var n=r(7309),i=r(86956),o=r(38769).f;n({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var r=o(i(e),t);return!(r&&!r.configurable)&&delete e[t]}})},3698:(e,t,r)=>{var n=r(7309),i=r(37703),o=r(86956),a=r(38769);n({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(e,t){return a.f(o(e),t)}})},10613:(e,t,r)=>{var n=r(7309),i=r(86956),o=r(99366);n({target:"Reflect",stat:!0,sham:!r(54264)},{getPrototypeOf:function(e){return o(i(e))}})},36334:(e,t,r)=>{var n=r(7309),i=r(42521),o=r(86956),a=r(52766),s=r(38769),l=r(99366);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,c,u=arguments.length<3?t:arguments[2];return o(t)===u?t[r]:(n=s.f(t,r))?a(n,"value")?n.value:void 0===n.get?void 0:n.get.call(u):i(c=l(t))?e(c,r,u):void 0}})},1128:(e,t,r)=>{r(7309)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},77880:(e,t,r)=>{var n=r(7309),i=r(86956),o=Object.isExtensible;n({target:"Reflect",stat:!0},{isExtensible:function(e){return i(e),!o||o(e)}})},94772:(e,t,r)=>{r(7309)({target:"Reflect",stat:!0},{ownKeys:r(79593)})},3260:(e,t,r)=>{var n=r(7309),i=r(77642),o=r(86956);n({target:"Reflect",stat:!0,sham:!r(91104)},{preventExtensions:function(e){o(e);try{var t=i("Object","preventExtensions");return t&&t(e),!0}catch(r){return!1}}})},54829:(e,t,r)=>{var n=r(7309),i=r(86956),o=r(42193),a=r(86594);a&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e),o(t);try{return a(e,t),!0}catch(r){return!1}}})},50712:(e,t,r)=>{var n=r(7309),i=r(86956),o=r(42521),a=r(52766),s=r(72763),l=r(67455),c=r(38769),u=r(99366),d=r(5938);n({target:"Reflect",stat:!0,forced:s((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function e(t,r,n){var s,p,h=arguments.length<4?t:arguments[3],f=c.f(i(t),r);if(!f){if(o(p=u(t)))return e(p,r,n,h);f=d(0)}if(a(f,"value")){if(!1===f.writable||!o(h))return!1;if(s=c.f(h,r)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,l.f(h,r,s)}else l.f(h,r,d(0,n));return!0}return void 0!==f.set&&(f.set.call(h,n),!0)}})},76849:(e,t,r)=>{var n=r(37703),i=r(76121),o=r(20676),a=r(31985),s=r(67455).f,l=r(2042).f,c=r(16272),u=r(1346),d=r(65443),p=r(62327),h=r(72763),f=r(2995).set,m=r(8395),v=r(1386)("match"),y=i.RegExp,g=y.prototype,b=/a/g,_=/a/g,w=new y(b)!==b,k=d.UNSUPPORTED_Y;if(n&&o("RegExp",!w||k||h((function(){return _[v]=!1,y(b)!=b||y(_)==_||"/a/i"!=y(b,"i")})))){for(var x=function(e,t){var r,n=this instanceof x,i=c(e),o=void 0===t;if(!n&&i&&e.constructor===x&&o)return e;w?i&&!o&&(e=e.source):e instanceof x&&(o&&(t=u.call(e)),e=e.source),k&&(r=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(w?new y(e,t):y(e,t),n?this:g,x);return k&&r&&f(s,{sticky:r}),s},E=function(e){e in x||s(x,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},A=l(y),S=0;A.length>S;)E(A[S++]);g.constructor=x,x.prototype=g,p(i,"RegExp",x)}m("RegExp")},48775:(e,t,r)=>{"use strict";var n=r(7309),i=r(73546);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},69990:(e,t,r)=>{var n=r(37703),i=r(67455),o=r(1346),a=r(65443).UNSUPPORTED_Y;n&&("g"!=/./g.flags||a)&&i.f(RegExp.prototype,"flags",{configurable:!0,get:o})},46037:(e,t,r)=>{var n=r(37703),i=r(65443).UNSUPPORTED_Y,o=r(67455).f,a=r(2995).get,s=RegExp.prototype;n&&i&&o(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},96604:(e,t,r)=>{"use strict";r(48775);var n,i,o=r(7309),a=r(42521),s=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),l=/./.test;o({target:"RegExp",proto:!0,forced:!s},{test:function(e){if("function"!=typeof this.exec)return l.call(this,e);var t=this.exec(e);if(null!==t&&!a(t))throw new Error("RegExp exec method returned something other than an Object or null");return!!t}})},5364:(e,t,r)=>{"use strict";var n=r(62327),i=r(86956),o=r(72763),a=r(1346),s="toString",l=RegExp.prototype,c=l.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&n(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in l)?a.call(e):r)}),{unsafe:!0})},77650:(e,t,r)=>{"use strict";var n=r(35246),i=r(95365);e.exports=n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},17214:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},90846:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("big")},{big:function(){return i(this,"big","","")}})},84240:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("blink")},{blink:function(){return i(this,"blink","","")}})},54617:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("bold")},{bold:function(){return i(this,"b","","")}})},48839:(e,t,r)=>{"use strict";var n=r(7309),i=r(73832).codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},84028:(e,t,r)=>{"use strict";var n,i=r(7309),o=r(38769).f,a=r(48331),s=r(11330),l=r(7263),c=r(10316),u=r(8451),d="".endsWith,p=Math.min,h=c("endsWith");i({target:"String",proto:!0,forced:!!(u||h||(n=o(String.prototype,"endsWith"),!n||n.writable))&&!h},{endsWith:function(e){var t=String(l(this));s(e);var r=arguments.length>1?arguments[1]:void 0,n=a(t.length),i=void 0===r?n:p(a(r),n),o=String(e);return d?d.call(t,o,i):t.slice(i-o.length,i)===o}})},31410:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("fixed")},{fixed:function(){return i(this,"tt","","")}})},41392:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("fontcolor")},{fontcolor:function(e){return i(this,"font","color",e)}})},47388:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("fontsize")},{fontsize:function(e){return i(this,"font","size",e)}})},41261:(e,t,r)=>{var n=r(7309),i=r(11588),o=String.fromCharCode,a=String.fromCodePoint;n({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,a=0;n>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},38310:(e,t,r)=>{"use strict";var n=r(7309),i=r(11330),o=r(7263);n({target:"String",proto:!0,forced:!r(10316)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},87693:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("italics")},{italics:function(){return i(this,"i","","")}})},56307:(e,t,r)=>{"use strict";var n=r(73832).charAt,i=r(2995),o=r(94247),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},48632:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("link")},{link:function(e){return i(this,"a","href",e)}})},73291:(e,t,r)=>{"use strict";var n=r(7309),i=r(34427),o=r(7263),a=r(48331),s=r(80118),l=r(86956),c=r(42849),u=r(16272),d=r(1346),p=r(91471),h=r(72763),f=r(1386),m=r(18159),v=r(67675),y=r(2995),g=r(8451),b=f("matchAll"),_="RegExp String",w="RegExp String Iterator",k=y.set,x=y.getterFor(w),E=RegExp.prototype,A=E.exec,S="".matchAll,L=!!S&&!h((function(){"a".matchAll(/./)})),C=i((function(e,t,r,n){k(this,{type:w,regexp:e,string:t,global:r,unicode:n,done:!1})}),_,(function(){var e=x(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,r=e.string,n=function(e,t){var r,n=e.exec;if("function"==typeof n){if("object"!=typeof(r=n.call(e,t)))throw TypeError("Incorrect exec result");return r}return A.call(e,t)}(t,r);return null===n?{value:void 0,done:e.done=!0}:e.global?(""==String(n[0])&&(t.lastIndex=v(r,a(t.lastIndex),e.unicode)),{value:n,done:!1}):(e.done=!0,{value:n,done:!1})})),P=function(e){var t,r,n,i,o,s,c=l(this),u=String(e);return t=m(c,RegExp),void 0===(r=c.flags)&&c instanceof RegExp&&!("flags"in E)&&(r=d.call(c)),n=void 0===r?"":String(r),i=new t(t===RegExp?c.source:c,n),o=!!~n.indexOf("g"),s=!!~n.indexOf("u"),i.lastIndex=a(c.lastIndex),new C(i,u,o,s)};n({target:"String",proto:!0,forced:L},{matchAll:function(e){var t,r,n,i=o(this);if(null!=e){if(u(e)&&!~String(o("flags"in E?e.flags:d.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(L)return S.apply(i,arguments);if(void 0===(r=e[b])&&g&&"RegExp"==c(e)&&(r=P),null!=r)return s(r).call(e,i)}else if(L)return S.apply(i,arguments);return t=String(i),n=new RegExp(e,"g"),g?P.call(n,t):n[b](t)}}),g||b in E||p(E,b,P)},90971:(e,t,r)=>{"use strict";var n=r(1325),i=r(86956),o=r(48331),a=r(7263),s=r(67675),l=r(1750);n("match",1,(function(e,t,r){return[function(t){var r=a(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var a=i(e),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,p=[],h=0;null!==(d=l(a,c));){var f=String(d[0]);p[h]=f,""===f&&(a.lastIndex=s(c,o(a.lastIndex),u)),h++}return 0===h?null:p}]}))},6860:(e,t,r)=>{"use strict";var n=r(7309),i=r(25427).end;n({target:"String",proto:!0,forced:r(32411)},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},67599:(e,t,r)=>{"use strict";var n=r(7309),i=r(25427).start;n({target:"String",proto:!0,forced:r(32411)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},87138:(e,t,r)=>{var n=r(7309),i=r(19969),o=r(48331);n({target:"String",stat:!0},{raw:function(e){for(var t=i(e.raw),r=o(t.length),n=arguments.length,a=[],s=0;r>s;)a.push(String(t[s++])),s<n&&a.push(String(arguments[s]));return a.join("")}})},40079:(e,t,r)=>{r(7309)({target:"String",proto:!0},{repeat:r(59549)})},38494:(e,t,r)=>{"use strict";var n=r(1325),i=r(86956),o=r(84766),a=r(48331),s=r(25623),l=r(7263),c=r(67675),u=r(1750),d=Math.max,p=Math.min,h=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(r,n){var i=l(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!v&&y||"string"==typeof n&&-1===n.indexOf(g)){var o=r(t,e,this,n);if(o.done)return o.value}var l=i(e),h=String(this),f="function"==typeof n;f||(n=String(n));var m=l.global;if(m){var _=l.unicode;l.lastIndex=0}for(var w=[];;){var k=u(l,h);if(null===k)break;if(w.push(k),!m)break;""===String(k[0])&&(l.lastIndex=c(h,a(l.lastIndex),_))}for(var x,E="",A=0,S=0;S<w.length;S++){k=w[S];for(var L=String(k[0]),C=d(p(s(k.index),h.length),0),P=[],T=1;T<k.length;T++)P.push(void 0===(x=k[T])?x:String(x));var I=k.groups;if(f){var Z=[L].concat(P,C,h);void 0!==I&&Z.push(I);var O=String(n.apply(void 0,Z))}else O=b(L,h,C,P,I,n);C>=A&&(E+=h.slice(A,C)+O,A=C+L.length)}return E+h.slice(A)}];function b(e,r,n,i,a,s){var l=n+e.length,c=i.length,u=m;return void 0!==a&&(a=o(a),u=f),t.call(s,u,(function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>c){var d=h(u/10);return 0===d?t:d<=c?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):t}s=i[u-1]}return void 0===s?"":s}))}}))},63256:(e,t,r)=>{"use strict";var n=r(1325),i=r(86956),o=r(7263),a=r(17162),s=r(1750);n("search",1,(function(e,t,r){return[function(t){var r=o(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var o=i(e),l=String(this),c=o.lastIndex;a(c,0)||(o.lastIndex=0);var u=s(o,l);return a(o.lastIndex,c)||(o.lastIndex=c),null===u?-1:u.index}]}))},37309:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("small")},{small:function(){return i(this,"small","","")}})},60836:(e,t,r)=>{"use strict";var n=r(1325),i=r(16272),o=r(86956),a=r(7263),s=r(18159),l=r(67675),c=r(48331),u=r(1750),d=r(73546),p=r(72763),h=[].push,f=Math.min,m=4294967295,v=!p((function(){return!RegExp(m,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),o=void 0===r?m:r>>>0;if(0===o)return[];if(void 0===e)return[n];if(!i(e))return t.call(n,e,o);for(var s,l,c,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,v=new RegExp(e.source,p+"g");(s=d.call(v,n))&&!((l=v.lastIndex)>f&&(u.push(n.slice(f,s.index)),s.length>1&&s.index<n.length&&h.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=o));)v.lastIndex===s.index&&v.lastIndex++;return f===n.length?!c&&v.test("")||u.push(""):u.push(n.slice(f)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var i=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,r):n.call(String(i),t,r)},function(e,i){var a=r(n,e,this,i,n!==t);if(a.done)return a.value;var d=o(e),p=String(this),h=s(d,RegExp),y=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(v?"y":"g"),b=new h(v?d:"^(?:"+d.source+")",g),_=void 0===i?m:i>>>0;if(0===_)return[];if(0===p.length)return null===u(b,p)?[p]:[];for(var w=0,k=0,x=[];k<p.length;){b.lastIndex=v?k:0;var E,A=u(b,v?p:p.slice(k));if(null===A||(E=f(c(b.lastIndex+(v?0:k)),p.length))===w)k=l(p,k,y);else{if(x.push(p.slice(w,k)),x.length===_)return x;for(var S=1;S<=A.length-1;S++)if(x.push(A[S]),x.length===_)return x;k=w=E}}return x.push(p.slice(w)),x}]}),!v)},6782:(e,t,r)=>{"use strict";var n,i=r(7309),o=r(38769).f,a=r(48331),s=r(11330),l=r(7263),c=r(10316),u=r(8451),d="".startsWith,p=Math.min,h=c("startsWith");i({target:"String",proto:!0,forced:!!(u||h||(n=o(String.prototype,"startsWith"),!n||n.writable))&&!h},{startsWith:function(e){var t=String(l(this));s(e);var r=a(p(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},54805:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("strike")},{strike:function(){return i(this,"strike","","")}})},34862:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("sub")},{sub:function(){return i(this,"sub","","")}})},52439:(e,t,r)=>{"use strict";var n=r(7309),i=r(8757);n({target:"String",proto:!0,forced:r(53710)("sup")},{sup:function(){return i(this,"sup","","")}})},77234:(e,t,r)=>{"use strict";var n=r(7309),i=r(36842).end,o=r(9756)("trimEnd"),a=o?function(){return i(this)}:"".trimEnd;n({target:"String",proto:!0,forced:o},{trimEnd:a,trimRight:a})},94628:(e,t,r)=>{"use strict";var n=r(7309),i=r(36842).start,o=r(9756)("trimStart"),a=o?function(){return i(this)}:"".trimStart;n({target:"String",proto:!0,forced:o},{trimStart:a,trimLeft:a})},81505:(e,t,r)=>{"use strict";var n=r(7309),i=r(36842).trim;n({target:"String",proto:!0,forced:r(9756)("trim")},{trim:function(){return i(this)}})},17789:(e,t,r)=>{r(56316)("asyncIterator")},73635:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(76121),a=r(52766),s=r(42521),l=r(67455).f,c=r(94488),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(p,u);var h=p.prototype=u.prototype;h.constructor=p;var f=h.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=f.call(e);if(a(d,e))return"";var r=m?t.slice(7,-1):t.replace(v,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},82866:(e,t,r)=>{r(56316)("hasInstance")},19571:(e,t,r)=>{r(56316)("isConcatSpreadable")},26411:(e,t,r)=>{r(56316)("iterator")},97514:(e,t,r)=>{"use strict";var n=r(7309),i=r(76121),o=r(77642),a=r(8451),s=r(37703),l=r(54020),c=r(42020),u=r(72763),d=r(52766),p=r(43964),h=r(42521),f=r(86956),m=r(84766),v=r(19969),y=r(40687),g=r(5938),b=r(63571),_=r(31792),w=r(2042),k=r(2525),x=r(92719),E=r(38769),A=r(67455),S=r(77751),L=r(91471),C=r(62327),P=r(30896),T=r(52562),I=r(32048),Z=r(51735),O=r(1386),N=r(89103),R=r(56316),M=r(54849),z=r(2995),D=r(25097).forEach,j=T("hidden"),F="Symbol",B=O("toPrimitive"),U=z.set,H=z.getterFor(F),G=Object.prototype,V=i.Symbol,K=o("JSON","stringify"),$=E.f,q=A.f,X=k.f,W=S.f,Y=P("symbols"),J=P("op-symbols"),Q=P("string-to-symbol-registry"),ee=P("symbol-to-string-registry"),te=P("wks"),re=i.QObject,ne=!re||!re.prototype||!re.prototype.findChild,ie=s&&u((function(){return 7!=b(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=$(G,t);n&&delete G[t],q(e,t,r),n&&e!==G&&q(G,t,n)}:q,oe=function(e,t){var r=Y[e]=b(V.prototype);return U(r,{type:F,tag:e,description:t}),s||(r.description=t),r},ae=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},se=function(e,t,r){e===G&&se(J,t,r),f(e);var n=y(t,!0);return f(r),d(Y,n)?(r.enumerable?(d(e,j)&&e[j][n]&&(e[j][n]=!1),r=b(r,{enumerable:g(0,!1)})):(d(e,j)||q(e,j,g(1,{})),e[j][n]=!0),ie(e,n,r)):q(e,n,r)},le=function(e,t){f(e);var r=v(t),n=_(r).concat(pe(r));return D(n,(function(t){s&&!ce.call(r,t)||se(e,t,r[t])})),e},ce=function(e){var t=y(e,!0),r=W.call(this,t);return!(this===G&&d(Y,t)&&!d(J,t))&&(!(r||!d(this,t)||!d(Y,t)||d(this,j)&&this[j][t])||r)},ue=function(e,t){var r=v(e),n=y(t,!0);if(r!==G||!d(Y,n)||d(J,n)){var i=$(r,n);return!i||!d(Y,n)||d(r,j)&&r[j][n]||(i.enumerable=!0),i}},de=function(e){var t=X(v(e)),r=[];return D(t,(function(e){d(Y,e)||d(I,e)||r.push(e)})),r},pe=function(e){var t=e===G,r=X(t?J:v(e)),n=[];return D(r,(function(e){!d(Y,e)||t&&!d(G,e)||n.push(Y[e])})),n};(l||(C((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=Z(e),r=function(e){this===G&&r.call(J,e),d(this,j)&&d(this[j],t)&&(this[j][t]=!1),ie(this,t,g(1,e))};return s&&ne&&ie(G,t,{configurable:!0,set:r}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),C(V,"withoutSetter",(function(e){return oe(Z(e),e)})),S.f=ce,A.f=se,E.f=ue,w.f=k.f=de,x.f=pe,N.f=function(e){return oe(O(e),e)},s&&(q(V.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||C(G,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),D(_(te),(function(e){R(e)})),n({target:F,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Q,t))return Q[t];var r=V(t);return Q[t]=r,ee[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):le(b(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(m(e))}}),K)&&n({target:"JSON",stat:!0,forced:!l||u((function(){var e=V();return"[null]"!=K([e])||"{}"!=K({a:e})||"{}"!=K(Object(e))}))},{stringify:function(e,t,r){for(var n,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=t,(h(t)||void 0!==e)&&!ae(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),i[1]=t,K.apply(null,i)}});V.prototype[B]||L(V.prototype,B,V.prototype.valueOf),M(V,F),I[j]=!0},80679:(e,t,r)=>{r(56316)("matchAll")},74330:(e,t,r)=>{r(56316)("match")},78689:(e,t,r)=>{r(56316)("replace")},93926:(e,t,r)=>{r(56316)("search")},14872:(e,t,r)=>{r(56316)("species")},62785:(e,t,r)=>{r(56316)("split")},15394:(e,t,r)=>{r(56316)("toPrimitive")},21724:(e,t,r)=>{r(56316)("toStringTag")},71254:(e,t,r)=>{r(56316)("unscopables")},24062:(e,t,r)=>{"use strict";var n=r(44162),i=r(24579),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return i.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},82980:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).every,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},76991:(e,t,r)=>{"use strict";var n=r(44162),i=r(6922),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(e){return i.apply(o(this),arguments)}))},87629:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).filter,o=r(18159),a=n.aTypedArray,s=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("filter",(function(e){for(var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,l=t.length,c=new(s(r))(l);l>n;)c[n]=t[n++];return c}))},27529:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).findIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},31708:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).find,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},37280:(e,t,r)=>{r(31240)("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9747:(e,t,r)=>{r(31240)("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},16444:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).forEach,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},46562:(e,t,r)=>{"use strict";var n=r(87928);(0,r(44162).exportTypedArrayStaticMethod)("from",r(21719),n)},26897:(e,t,r)=>{"use strict";var n=r(44162),i=r(59729).includes,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},73196:(e,t,r)=>{"use strict";var n=r(44162),i=r(59729).indexOf,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},17607:(e,t,r)=>{r(31240)("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},81829:(e,t,r)=>{r(31240)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},6830:(e,t,r)=>{r(31240)("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9491:(e,t,r)=>{"use strict";var n=r(76121),i=r(44162),o=r(43541),a=r(1386)("iterator"),s=n.Uint8Array,l=o.values,c=o.keys,u=o.entries,d=i.aTypedArray,p=i.exportTypedArrayMethod,h=s&&s.prototype[a],f=!!h&&("values"==h.name||null==h.name),m=function(){return l.call(d(this))};p("entries",(function(){return u.call(d(this))})),p("keys",(function(){return c.call(d(this))})),p("values",m,!f),p(a,m,!f)},33811:(e,t,r)=>{"use strict";var n=r(44162),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].join;o("join",(function(e){return a.apply(i(this),arguments)}))},61274:(e,t,r)=>{"use strict";var n=r(44162),i=r(8139),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){return i.apply(o(this),arguments)}))},31010:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).map,o=r(18159),a=n.aTypedArray,s=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(o(e,e.constructor)))(t)}))}))},15167:(e,t,r)=>{"use strict";var n=r(44162),i=r(87928),o=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,r=new(o(this))(t);t>e;)r[e]=arguments[e++];return r}),i)},485:(e,t,r)=>{"use strict";var n=r(44162),i=r(59856).right,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},19313:(e,t,r)=>{"use strict";var n=r(44162),i=r(59856).left,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},58491:(e,t,r)=>{"use strict";var n=r(44162),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=this,r=i(t).length,n=a(r/2),o=0;o<n;)e=t[o],t[o++]=t[--r],t[r]=e;return t}))},24230:(e,t,r)=>{"use strict";var n=r(44162),i=r(48331),o=r(31085),a=r(84766),s=r(72763),l=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",(function(e){l(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(e),s=i(n.length),c=0;if(s+t>r)throw RangeError("Wrong length");for(;c<s;)this[t+c]=n[c++]}),s((function(){new Int8Array(1).set({})})))},52826:(e,t,r)=>{"use strict";var n=r(44162),i=r(18159),o=r(72763),a=n.aTypedArray,s=n.aTypedArrayConstructor,l=n.exportTypedArrayMethod,c=[].slice;l("slice",(function(e,t){for(var r=c.call(a(this),e,t),n=i(this,this.constructor),o=0,l=r.length,u=new(s(n))(l);l>o;)u[o]=r[o++];return u}),o((function(){new Int8Array(1).slice()})))},80070:(e,t,r)=>{"use strict";var n=r(44162),i=r(25097).some,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},12376:(e,t,r)=>{"use strict";var n=r(44162),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].sort;o("sort",(function(e){return a.call(i(this),e)}))},11095:(e,t,r)=>{"use strict";var n=r(44162),i=r(48331),o=r(11588),a=r(18159),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=s(this),n=r.length,l=o(e,n);return new(a(r,r.constructor))(r.buffer,r.byteOffset+l*r.BYTES_PER_ELEMENT,i((void 0===t?n:o(t,n))-l))}))},43888:(e,t,r)=>{"use strict";var n=r(76121),i=r(44162),o=r(72763),a=n.Int8Array,s=i.aTypedArray,l=i.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&o((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},58509:(e,t,r)=>{"use strict";var n=r(44162).exportTypedArrayMethod,i=r(72763),o=r(76121).Uint8Array,a=o&&o.prototype||{},s=[].toString,l=[].join;i((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;n("toString",s,c)},74225:(e,t,r)=>{r(31240)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},73863:(e,t,r)=>{r(31240)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},36014:(e,t,r)=>{r(31240)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},57200:(e,t,r)=>{r(31240)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},38742:(e,t,r)=>{"use strict";var n,i=r(76121),o=r(39757),a=r(9154),s=r(35246),l=r(59285),c=r(42521),u=r(2995).enforce,d=r(45546),p=!i.ActiveXObject&&"ActiveXObject"in i,h=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",f,l);if(d&&p){n=l.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var v=m.prototype,y=v.delete,g=v.has,b=v.get,_=v.set;o(v,{delete:function(e){if(c(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(c(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new n),g.call(this,e)||t.frozen.has(e)}return g.call(this,e)},get:function(e){if(c(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new n),g.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!h(e)){var r=u(this);r.frozen||(r.frozen=new n),g.call(this,e)?_.call(this,e,t):r.frozen.set(e,t)}else _.call(this,e,t);return this}})}},43554:(e,t,r)=>{"use strict";r(35246)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(59285))},38434:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(99366),a=r(86594),s=r(63571),l=r(67455),c=r(5938),u=r(64572),d=r(91471),p=r(2995),h=p.set,f=p.getterFor("AggregateError"),m=function(e,t){var r=this;if(!(r instanceof m))return new m(e,t);a&&(r=a(new Error(t),o(r)));var n=[];return u(e,n.push,n),i?h(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==t&&d(r,"message",String(t)),r};m.prototype=s(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),i&&l.f(m.prototype,"errors",{get:function(){return f(this).errors},configurable:!0}),n({global:!0},{AggregateError:m})},13230:(e,t,r)=>{var n=r(7309),i=r(43964),o=Object.isFrozen,a=function(e,t){if(!o||!i(e)||!o(e))return!1;for(var r,n=0,a=e.length;n<a;)if(!("string"==typeof(r=e[n++])||t&&void 0===r))return!1;return 0!==a};n({target:"Array",stat:!0},{isTemplateObject:function(e){if(!a(e,!0))return!1;var t=e.raw;return!(t.length!==e.length||!a(t,!1))}})},11248:(e,t,r)=>{"use strict";var n=r(37703),i=r(29690),o=r(84766),a=r(48331),s=r(67455).f;n&&!("lastIndex"in[])&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=o(this),t=a(e.length);return 0==t?0:t-1}}),i("lastIndex"))},22471:(e,t,r)=>{"use strict";var n=r(37703),i=r(29690),o=r(84766),a=r(48331),s=r(67455).f;n&&!("lastItem"in[])&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=o(this),t=a(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=o(this),r=a(t.length);return t[0==r?0:r-1]=e}}),i("lastItem"))},62398:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(13561)((function(e,t){var r=this,n=r.iterator;return t.resolve(i(r.next.call(n,e))).then((function(e){return i(e).done?(r.done=!0,{done:!0,value:void 0}):{done:!1,value:[r.index++,e.value]}}))}));n({target:"AsyncIterator",proto:!0,real:!0},{asIndexedPairs:function(){return new o({iterator:i(this),index:0})}})},86541:(e,t,r)=>{"use strict";var n=r(7309),i=r(30680),o=r(91471),a=r(52766),s=r(1386),l=r(48199),c=r(8451),u=s("toStringTag"),d=function(){i(this,d)};d.prototype=l,a(l,u)||o(l,u,"AsyncIterator"),a(l,"constructor")&&l.constructor!==Object||o(l,"constructor",d),n({global:!0,forced:c},{AsyncIterator:d})},94890:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(7006),a=r(13561)((function(e,t){var r=this;return new t((function(n,o){var a=function(){try{t.resolve(i(r.next.call(r.iterator,r.remaining?void 0:e))).then((function(e){try{i(e).done?(r.done=!0,n({done:!0,value:void 0})):r.remaining?(r.remaining--,a()):n({done:!1,value:e.value})}catch(t){o(t)}}),o)}catch(s){o(s)}};a()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:i(this),remaining:o(e)})}})},420:(e,t,r)=>{"use strict";var n=r(7309),i=r(20877).every;n({target:"AsyncIterator",proto:!0,real:!0},{every:function(e){return i(this,e)}})},4631:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(13561)((function(e,t){var r=this,n=r.filterer;return new t((function(i,a){var s=function(){try{t.resolve(o(r.next.call(r.iterator,e))).then((function(e){try{if(o(e).done)r.done=!0,i({done:!0,value:void 0});else{var l=e.value;t.resolve(n(l)).then((function(e){e?i({done:!1,value:l}):s()}),a)}}catch(c){a(c)}}),a)}catch(l){a(l)}};s()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{filter:function(e){return new a({iterator:o(this),filterer:i(e)})}})},65302:(e,t,r)=>{"use strict";var n=r(7309),i=r(20877).find;n({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return i(this,e)}})},2460:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(13561),s=r(91738),l=a((function(e,t){var r,n,a=this,l=a.mapper;return new t((function(c,u){var d=function(){try{t.resolve(o(a.next.call(a.iterator,e))).then((function(e){try{o(e).done?(a.done=!0,c({done:!0,value:void 0})):t.resolve(l(e.value)).then((function(e){try{if(void 0!==(n=s(e)))return a.innerIterator=r=o(n.call(e)),a.innerNext=i(r.next),p();u(TypeError(".flatMap callback should return an iterable object"))}catch(t){u(t)}}),u)}catch(d){u(d)}}),u)}catch(d){u(d)}},p=function(){if(r=a.innerIterator)try{t.resolve(o(a.innerNext.call(r))).then((function(e){try{o(e).done?(a.innerIterator=a.innerNext=null,d()):c({done:!1,value:e.value})}catch(t){u(t)}}),u)}catch(e){u(e)}else d()};p()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{flatMap:function(e){return new l({iterator:o(this),mapper:i(e),innerIterator:null,innerNext:null})}})},27917:(e,t,r)=>{"use strict";var n=r(7309),i=r(20877).forEach;n({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return i(this,e)}})},82512:(e,t,r)=>{var n=r(7309),i=r(1035),o=r(80118),a=r(86956),s=r(84766),l=r(13561),c=r(91738),u=i.AsyncIterator,d=l((function(e){return a(this.next.call(this.iterator,e))}),!0);n({target:"AsyncIterator",stat:!0},{from:function(e){var t,r=s(e),n=c(r);if(null!=n){if((t=o(n).call(r))instanceof u)return t}else t=r;return new d({iterator:t})}})},97121:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(13561)((function(e,t){var r=this,n=r.mapper;return t.resolve(o(r.next.call(r.iterator,e))).then((function(e){return o(e).done?(r.done=!0,{done:!0,value:void 0}):t.resolve(n(e.value)).then((function(e){return{done:!1,value:e}}))}))}));n({target:"AsyncIterator",proto:!0,real:!0},{map:function(e){return new a({iterator:o(this),mapper:i(e)})}})},81478:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(77642)("Promise");n({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(e){var t=o(this),r=i(t.next),n=arguments.length<2,s=n?void 0:arguments[1];return i(e),new a((function(i,l){var c=function(){try{a.resolve(o(r.call(t))).then((function(t){try{if(o(t).done)n?l(TypeError("Reduce of empty iterator with no initial value")):i(s);else{var r=t.value;n?(n=!1,s=r,c()):a.resolve(e(s,r)).then((function(e){s=e,c()}),l)}}catch(u){l(u)}}),l)}catch(u){l(u)}};c()}))}})},74108:(e,t,r)=>{"use strict";var n=r(7309),i=r(20877).some;n({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return i(this,e)}})},29295:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(7006),a=r(13561)((function(e){return this.remaining--?this.next.call(this.iterator,e):(this.done=!0,{done:!0,value:void 0})}));n({target:"AsyncIterator",proto:!0,real:!0},{take:function(e){return new a({iterator:i(this),remaining:o(e)})}})},12546:(e,t,r)=>{"use strict";var n=r(7309),i=r(20877).toArray;n({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this)}})},97211:(e,t,r)=>{var n=r(7309),i=r(49098),o=r(77642),a=r(63571),s=function(){var e=o("Object","freeze");return e?e(a(null)):a(null)};n({global:!0},{compositeKey:function(){return i.apply(Object,arguments).get("object",s)}})},69722:(e,t,r)=>{var n=r(7309),i=r(49098),o=r(77642);n({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?o("Symbol").for(arguments[0]):i.apply(null,arguments).get("symbol",o("Symbol"))}})},95447:(e,t,r)=>{r(68428)},11308:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(36020)((function(e){var t=i(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return[this.index++,t.value]}));n({target:"Iterator",proto:!0,real:!0},{asIndexedPairs:function(){return new o({iterator:i(this),index:0})}})},43265:(e,t,r)=>{"use strict";var n=r(7309),i=r(76121),o=r(30680),a=r(91471),s=r(72763),l=r(52766),c=r(1386),u=r(94109).IteratorPrototype,d=r(8451),p=c("iterator"),h=c("toStringTag"),f=i.Iterator,m=d||"function"!=typeof f||f.prototype!==u||!s((function(){f({})})),v=function(){o(this,v)};d&&a(u={},p,(function(){return this})),l(u,h)||a(u,h,"Iterator"),!m&&l(u,"constructor")&&u.constructor!==Object||a(u,"constructor",v),v.prototype=u,n({global:!0,forced:m},{Iterator:v})},31879:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(7006),a=r(36020)((function(e){for(var t,r=this.iterator,n=this.next;this.remaining;)if(this.remaining--,t=i(n.call(r)),this.done=!!t.done)return;if(t=i(n.call(r,e)),!(this.done=!!t.done))return t.value}));n({target:"Iterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:i(this),remaining:o(e)})}})},88082:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118),a=r(86956);n({target:"Iterator",proto:!0,real:!0},{every:function(e){return a(this),o(e),!i(this,(function(t){if(!e(t))return i.stop()}),void 0,!1,!0).stopped}})},84578:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(36020),s=r(95913),l=a((function(e){for(var t,r,n=this.iterator,i=this.filterer,a=this.next;;){if(t=o(a.call(n,e)),this.done=!!t.done)return;if(r=t.value,s(n,i,r))return r}}));n({target:"Iterator",proto:!0,real:!0},{filter:function(e){return new l({iterator:o(this),filterer:i(e)})}})},67143:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118),a=r(86956);n({target:"Iterator",proto:!0,real:!0},{find:function(e){return a(this),o(e),i(this,(function(t){if(e(t))return i.stop(t)}),void 0,!1,!0).result}})},78593:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(85111),s=r(36020),l=r(95913),c=s((function(e){for(var t,r,n,s,c=this.iterator;;){if(s=this.innerIterator){if(!(t=o(this.innerNext.call(s))).done)return t.value;this.innerIterator=this.innerNext=null}if(t=o(this.next.call(c,e)),this.done=!!t.done)return;if(r=l(c,this.mapper,t.value),void 0===(n=a(r)))throw TypeError(".flatMap callback should return an iterable object");this.innerIterator=s=o(n.call(r)),this.innerNext=i(s.next)}}));n({target:"Iterator",proto:!0,real:!0},{flatMap:function(e){return new c({iterator:o(this),mapper:i(e),innerIterator:null,innerNext:null})}})},76317:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(86956);n({target:"Iterator",proto:!0,real:!0},{forEach:function(e){i(o(this),e,void 0,!1,!0)}})},58537:(e,t,r)=>{var n=r(7309),i=r(1035),o=r(80118),a=r(86956),s=r(84766),l=r(36020),c=r(85111),u=i.Iterator,d=l((function(e){var t=a(this.next.call(this.iterator,e));if(!(this.done=!!t.done))return t.value}),!0);n({target:"Iterator",stat:!0},{from:function(e){var t,r=s(e),n=c(r);if(null!=n){if((t=o(n).call(r))instanceof u)return t}else t=r;return new d({iterator:t})}})},71403:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(86956),a=r(36020),s=r(95913),l=a((function(e){var t=this.iterator,r=o(this.next.call(t,e));if(!(this.done=!!r.done))return s(t,this.mapper,r.value)}));n({target:"Iterator",proto:!0,real:!0},{map:function(e){return new l({iterator:o(this),mapper:i(e)})}})},25470:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118),a=r(86956);n({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),o(e);var t=arguments.length<2,r=t?void 0:arguments[1];if(i(this,(function(n){t?(t=!1,r=n):r=e(r,n)}),void 0,!1,!0),t)throw TypeError("Reduce of empty iterator with no initial value");return r}})},61959:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118),a=r(86956);n({target:"Iterator",proto:!0,real:!0},{some:function(e){return a(this),o(e),i(this,(function(t){if(e(t))return i.stop()}),void 0,!1,!0).stopped}})},95443:(e,t,r)=>{"use strict";var n=r(7309),i=r(86956),o=r(7006),a=r(36020)((function(e){if(this.remaining--){var t=i(this.next.call(this.iterator,e));return(this.done=!!t.done)?void 0:t.value}this.done=!0}));n({target:"Iterator",proto:!0,real:!0},{take:function(e){return new a({iterator:i(this),remaining:o(e)})}})},523:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(86956),a=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return i(o(this),a,e,!1,!0),e}})},686:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(50560);n({target:"Map",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},80159:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(70153),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(r,(function(e,r){if(!n(r,e,t))return l.stop()}),void 0,!0,!0).stopped}})},5013:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(43322),c=r(18159),u=r(70153),d=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),r=u(t),n=l(e,arguments.length>1?arguments[1]:void 0,3),i=new(c(t,o("Map"))),p=s(i.set);return d(r,(function(e,r){n(r,e,t)&&p.call(i,e,r)}),void 0,!0,!0),i}})},68176:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(70153),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{findKey:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return l(r,(function(e,r){if(n(r,e,t))return l.stop(e)}),void 0,!0,!0).result}})},84607:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(70153),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return l(r,(function(e,r){if(n(r,e,t))return l.stop(r)}),void 0,!0,!0).result}})},58458:(e,t,r)=>{r(7309)({target:"Map",stat:!0},{from:r(18735)})},99411:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118);n({target:"Map",stat:!0},{groupBy:function(e,t){var r=new this;o(t);var n=o(r.has),a=o(r.get),s=o(r.set);return i(e,(function(e){var i=t(e);n.call(r,i)?a.call(r,i).push(e):s.call(r,i,[e])})),r}})},84391:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(70153),s=r(3675),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{includes:function(e){return l(a(o(this)),(function(t,r){if(s(r,e))return l.stop()}),void 0,!0,!0).stopped}})},34679:(e,t,r)=>{"use strict";var n=r(7309),i=r(64572),o=r(80118);n({target:"Map",stat:!0},{keyBy:function(e,t){var r=new this;o(t);var n=o(r.set);return i(e,(function(e){n.call(r,t(e),e)})),r}})},95388:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(70153),s=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{keyOf:function(e){return s(a(o(this)),(function(t,r){if(r===e)return s.stop(t)}),void 0,!0,!0).result}})},18636:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(43322),c=r(18159),u=r(70153),d=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{mapKeys:function(e){var t=a(this),r=u(t),n=l(e,arguments.length>1?arguments[1]:void 0,3),i=new(c(t,o("Map"))),p=s(i.set);return d(r,(function(e,r){p.call(i,n(r,e,t),r)}),void 0,!0,!0),i}})},58101:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(43322),c=r(18159),u=r(70153),d=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{mapValues:function(e){var t=a(this),r=u(t),n=l(e,arguments.length>1?arguments[1]:void 0,3),i=new(c(t,o("Map"))),p=s(i.set);return d(r,(function(e,r){p.call(i,e,n(r,e,t))}),void 0,!0,!0),i}})},56349:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118),s=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{merge:function(e){for(var t=o(this),r=a(t.set),n=0;n<arguments.length;)s(arguments[n++],r,t,!0);return t}})},22809:(e,t,r)=>{r(7309)({target:"Map",stat:!0},{of:r(11171)})},48754:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118),s=r(70153),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),r=s(t),n=arguments.length<2,i=n?void 0:arguments[1];if(a(e),l(r,(function(r,o){n?(n=!1,i=o):i=e(i,o,r,t)}),void 0,!0,!0),n)throw TypeError("Reduce of empty map with no initial value");return i}})},97783:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(70153),l=r(64572);n({target:"Map",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return l(r,(function(e,r){if(n(r,e,t))return l.stop()}),void 0,!0,!0).stopped}})},78912:(e,t,r)=>{"use strict";r(7309)({target:"Map",proto:!0,real:!0,forced:r(8451)},{updateOrInsert:r(7230)})},85767:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118);n({target:"Map",proto:!0,real:!0,forced:i},{update:function(e,t){var r=o(this),n=arguments.length;a(t);var i=r.has(e);if(!i&&n<3)throw TypeError("Updating absent value");var s=i?r.get(e):a(n>2?arguments[2]:void 0)(e,r);return r.set(e,t(s,e,r)),r}})},22423:(e,t,r)=>{"use strict";r(7309)({target:"Map",proto:!0,real:!0,forced:r(8451)},{upsert:r(7230)})},37197:(e,t,r)=>{var n=r(7309),i=Math.min,o=Math.max;n({target:"Math",stat:!0},{clamp:function(e,t,r){return i(r,o(t,e))}})},50640:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},39791:(e,t,r)=>{var n=r(7309),i=180/Math.PI;n({target:"Math",stat:!0},{degrees:function(e){return e*i}})},11022:(e,t,r)=>{var n=r(7309),i=r(50969),o=r(63094);n({target:"Math",stat:!0},{fscale:function(e,t,r,n,a){return o(i(e,t,r,n,a))}})},85362:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{iaddh:function(e,t,r,n){var i=e>>>0,o=r>>>0;return(t>>>0)+(n>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},66928:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{imulh:function(e,t){var r=65535,n=+e,i=+t,o=n&r,a=i&r,s=n>>16,l=i>>16,c=(s*a>>>0)+(o*a>>>16);return s*l+(c>>16)+((o*l>>>0)+(c&r)>>16)}})},97841:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{isubh:function(e,t,r,n){var i=e>>>0,o=r>>>0;return(t>>>0)-(n>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},69351:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},8751:(e,t,r)=>{var n=r(7309),i=Math.PI/180;n({target:"Math",stat:!0},{radians:function(e){return e*i}})},899:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{scale:r(50969)})},18489:(e,t,r)=>{var n=r(7309),i=r(86956),o=r(30097),a=r(34427),s=r(2995),l="Seeded Random",c="Seeded Random Generator",u=s.set,d=s.getterFor(c),p=a((function(e){u(this,{type:c,seed:e%2147483647})}),l,(function(){var e=d(this);return{value:(1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,done:!1}}));n({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=i(e).seed;if(!o(t))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new p(t)}})},63354:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},54689:(e,t,r)=>{r(7309)({target:"Math",stat:!0},{umulh:function(e,t){var r=65535,n=+e,i=+t,o=n&r,a=i&r,s=n>>>16,l=i>>>16,c=(s*a>>>0)+(o*a>>>16);return s*l+(c>>>16)+((o*l>>>0)+(c&r)>>>16)}})},46681:(e,t,r)=>{"use strict";var n=r(7309),i=r(25623),o=r(92437),a="Invalid number representation",s=/^[\da-z]+$/;n({target:"Number",stat:!0},{fromString:function(e,t){var r,n,l=1;if("string"!=typeof e)throw TypeError(a);if(!e.length)throw SyntaxError(a);if("-"==e.charAt(0)&&(l=-1,!(e=e.slice(1)).length))throw SyntaxError(a);if((r=void 0===t?10:i(t))<2||r>36)throw RangeError("Invalid radix");if(!s.test(e)||(n=o(e,r)).toString(r)!==e)throw SyntaxError(a);return l*n}})},52751:(e,t,r)=>{"use strict";var n=r(7309),i=r(54691);n({target:"Object",stat:!0},{iterateEntries:function(e){return new i(e,"entries")}})},56279:(e,t,r)=>{"use strict";var n=r(7309),i=r(54691);n({target:"Object",stat:!0},{iterateKeys:function(e){return new i(e,"keys")}})},95104:(e,t,r)=>{"use strict";var n=r(7309),i=r(54691);n({target:"Object",stat:!0},{iterateValues:function(e){return new i(e,"values")}})},43703:(e,t,r)=>{"use strict";var n=r(7309),i=r(37703),o=r(8395),a=r(80118),s=r(86956),l=r(42521),c=r(30680),u=r(67455).f,d=r(91471),p=r(39757),h=r(17773),f=r(64572),m=r(94113),v=r(1386),y=r(2995),g=v("observable"),b=y.get,_=y.set,w=function(e){return null==e?void 0:a(e)},k=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(r){m(r)}}},x=function(e){return void 0===e.observer},E=function(e,t){if(!i){e.closed=!0;var r=t.subscriptionObserver;r&&(r.closed=!0)}t.observer=void 0},A=function(e,t){var r,n=_(this,{cleanup:void 0,observer:s(e),subscriptionObserver:void 0});i||(this.closed=!1);try{(r=w(e.start))&&r.call(e,this)}catch(u){m(u)}if(!x(n)){var o=n.subscriptionObserver=new S(this);try{var l=t(o),c=l;null!=l&&(n.cleanup="function"==typeof l.unsubscribe?function(){c.unsubscribe()}:a(l))}catch(u){return void o.error(u)}x(n)&&k(n)}};A.prototype=p({},{unsubscribe:function(){var e=b(this);x(e)||(E(this,e),k(e))}}),i&&u(A.prototype,"closed",{configurable:!0,get:function(){return x(b(this))}});var S=function(e){_(this,{subscription:e}),i||(this.closed=!1)};S.prototype=p({},{next:function(e){var t=b(b(this).subscription);if(!x(t)){var r=t.observer;try{var n=w(r.next);n&&n.call(r,e)}catch(i){m(i)}}},error:function(e){var t=b(this).subscription,r=b(t);if(!x(r)){var n=r.observer;E(t,r);try{var i=w(n.error);i?i.call(n,e):m(e)}catch(o){m(o)}k(r)}},complete:function(){var e=b(this).subscription,t=b(e);if(!x(t)){var r=t.observer;E(e,t);try{var n=w(r.complete);n&&n.call(r)}catch(i){m(i)}k(t)}}}),i&&u(S.prototype,"closed",{configurable:!0,get:function(){return x(b(b(this).subscription))}});var L=function(e){c(this,L,"Observable"),_(this,{subscriber:a(e)})};p(L.prototype,{subscribe:function(e){var t=arguments.length;return new A("function"==typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},b(this).subscriber)}}),p(L,{from:function(e){var t="function"==typeof this?this:L,r=w(s(e)[g]);if(r){var n=s(r.call(e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}var i=h(e);return new t((function(e){f(i,(function(t){if(e.next(t),e.closed)return f.stop()}),void 0,!1,!0),e.complete()}))},of:function(){for(var e="function"==typeof this?this:L,t=arguments.length,r=new Array(t),n=0;n<t;)r[n]=arguments[n++];return new e((function(e){for(var n=0;n<t;n++)if(e.next(r[n]),e.closed)return;e.complete()}))}}),d(L.prototype,g,(function(){return this})),n({global:!0},{Observable:L}),o("Observable")},44849:(e,t,r)=>{r(48561)},62053:(e,t,r)=>{"use strict";var n=r(7309),i=r(80118),o=r(77642),a=r(40500),s=r(80224),l=r(64572),c="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,d=s((function(){var r=i(t.resolve),a=[],s=0,d=1,p=!1;l(e,(function(e){var i=s++,l=!1;a.push(void 0),d++,r.call(t,e).then((function(e){l||p||(p=!0,n(e))}),(function(e){l||p||(l=!0,a[i]=e,--d||u(new(o("AggregateError"))(a,c)))}))})),--d||u(new(o("AggregateError"))(a,c))}));return d.error&&u(d.value),r.promise}})},92865:(e,t,r)=>{"use strict";var n=r(7309),i=r(40500),o=r(80224);n({target:"Promise",stat:!0},{try:function(e){var t=i.f(this),r=o(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},84904:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.toKey,s=i.set;n({target:"Reflect",stat:!0},{defineMetadata:function(e,t,r){var n=arguments.length<4?void 0:a(arguments[3]);s(e,t,o(r),n)}})},31598:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.toKey,s=i.getMap,l=i.store;n({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var r=arguments.length<3?void 0:a(arguments[2]),n=s(o(t),r,!1);if(void 0===n||!n.delete(e))return!1;if(n.size)return!0;var i=l.get(t);return i.delete(r),!!i.size||l.delete(t)}})},50042:(e,t,r)=>{var n=r(7309),i=r(77650),o=r(58948),a=r(86956),s=r(99366),l=r(64572),c=o.keys,u=o.toKey,d=function(e,t){var r=c(e,t),n=s(e);if(null===n)return r;var o,a,u=d(n,t);return u.length?r.length?(o=new i(r.concat(u)),l(o,(a=[]).push,a),a):u:r};n({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:u(arguments[1]);return d(a(e),t)}})},21608:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=r(99366),s=i.has,l=i.get,c=i.toKey,u=function(e,t,r){if(s(e,t,r))return l(e,t,r);var n=a(t);return null!==n?u(e,n,r):void 0};n({target:"Reflect",stat:!0},{getMetadata:function(e,t){var r=arguments.length<3?void 0:c(arguments[2]);return u(e,o(t),r)}})},25660:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.keys,s=i.toKey;n({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return a(o(e),t)}})},35075:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.get,s=i.toKey;n({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var r=arguments.length<3?void 0:s(arguments[2]);return a(e,o(t),r)}})},24086:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=r(99366),s=i.has,l=i.toKey,c=function(e,t,r){if(s(e,t,r))return!0;var n=a(t);return null!==n&&c(e,n,r)};n({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var r=arguments.length<3?void 0:l(arguments[2]);return c(e,o(t),r)}})},13302:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.has,s=i.toKey;n({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var r=arguments.length<3?void 0:s(arguments[2]);return a(e,o(t),r)}})},29273:(e,t,r)=>{var n=r(7309),i=r(58948),o=r(86956),a=i.toKey,s=i.set;n({target:"Reflect",stat:!0},{metadata:function(e,t){return function(r,n){s(e,t,o(r),a(n))}}})},65266:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(20737);n({target:"Set",proto:!0,real:!0,forced:i},{addAll:function(){return o.apply(this,arguments)}})},42241:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(50560);n({target:"Set",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},10280:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(18159),c=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{difference:function(e){var t=a(this),r=new(l(t,o("Set")))(t),n=s(r.delete);return c(e,(function(e){n.call(r,e)})),r}})},22463:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(63490),l=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return!l(r,(function(e){if(!n(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},35955:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(43322),c=r(18159),u=r(63490),d=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),r=u(t),n=l(e,arguments.length>1?arguments[1]:void 0,3),i=new(c(t,o("Set"))),p=s(i.add);return d(r,(function(e){n(e,e,t)&&p.call(i,e)}),void 0,!1,!0),i}})},23062:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(63490),l=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return l(r,(function(e){if(n(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},49833:(e,t,r)=>{r(7309)({target:"Set",stat:!0},{from:r(18735)})},66380:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(18159),c=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{intersection:function(e){var t=a(this),r=new(l(t,o("Set"))),n=s(t.has),i=s(r.add);return c(e,(function(e){n.call(t,e)&&i.call(r,e)})),r}})},28809:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118),s=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:function(e){var t=o(this),r=a(t.has);return!s(e,(function(e){if(!0===r.call(t,e))return s.stop()})).stopped}})},36310:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(17773),c=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:function(e){var t=l(this),r=a(e),n=r.has;return"function"!=typeof n&&(r=new(o("Set"))(e),n=s(r.has)),!c(t,(function(e){if(!1===n.call(r,e))return c.stop()}),void 0,!1,!0).stopped}})},96949:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118),s=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:function(e){var t=o(this),r=a(t.has);return!s(e,(function(e){if(!1===r.call(t,e))return s.stop()})).stopped}})},54705:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(63490),s=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{join:function(e){var t=o(this),r=a(t),n=void 0===e?",":String(e),i=[];return s(r,i.push,i,!1,!0),i.join(n)}})},94495:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(43322),c=r(18159),u=r(63490),d=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{map:function(e){var t=a(this),r=u(t),n=l(e,arguments.length>1?arguments[1]:void 0,3),i=new(c(t,o("Set"))),p=s(i.add);return d(r,(function(e){p.call(i,n(e,e,t))}),void 0,!1,!0),i}})},56002:(e,t,r)=>{r(7309)({target:"Set",stat:!0},{of:r(11171)})},32870:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(80118),s=r(63490),l=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),r=s(t),n=arguments.length<2,i=n?void 0:arguments[1];if(a(e),l(r,(function(r){n?(n=!1,i=r):i=e(i,r,r,t)}),void 0,!1,!0),n)throw TypeError("Reduce of empty set with no initial value");return i}})},7457:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(86956),a=r(43322),s=r(63490),l=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return l(r,(function(e){if(n(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},32656:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(18159),c=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:function(e){var t=a(this),r=new(l(t,o("Set")))(t),n=s(r.delete),i=s(r.add);return c(e,(function(e){n.call(r,e)||i.call(r,e)})),r}})},69112:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(77642),a=r(86956),s=r(80118),l=r(18159),c=r(64572);n({target:"Set",proto:!0,real:!0,forced:i},{union:function(e){var t=a(this),r=new(l(t,o("Set")))(t);return c(e,s(r.add),r),r}})},65075:(e,t,r)=>{"use strict";var n=r(7309),i=r(73832).charAt;n({target:"String",proto:!0},{at:function(e){return i(this,e)}})},87305:(e,t,r)=>{"use strict";var n=r(7309),i=r(34427),o=r(7263),a=r(2995),s=r(73832),l=s.codeAt,c=s.charAt,u="String Iterator",d=a.set,p=a.getterFor(u),h=i((function(e){d(this,{type:u,string:e,index:0})}),"String",(function(){var e,t=p(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=c(r,n),t.index+=e.length,{value:{codePoint:l(e,0),position:n},done:!1})}));n({target:"String",proto:!0},{codePoints:function(){return new h(String(o(this)))}})},58431:(e,t,r)=>{r(73291)},74840:(e,t,r)=>{"use strict";var n=r(7309),i=r(7263),o=r(16272),a=r(1346),s=r(1386),l=r(8451),c=s("replace"),u=RegExp.prototype;n({target:"String",proto:!0},{replaceAll:function e(t,r){var n,s,d,p,h,f,m,v,y=i(this);if(null!=t){if((n=o(t))&&!~String(i("flags"in u?t.flags:a.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(s=t[c]))return s.call(t,y,r);if(l&&n)return String(y).replace(t,r)}if(d=String(y),""===(p=String(t)))return e.call(d,/(?:)/g,r);if(h=d.split(p),"function"!=typeof r)return h.join(String(r));for(m=(f=h[0]).length,v=1;v<h.length;v++)f+=String(r(p,m,d)),m+=p.length+h[v].length,f+=h[v];return f}})},25354:(e,t,r)=>{r(56316)("asyncDispose")},86265:(e,t,r)=>{r(56316)("dispose")},6243:(e,t,r)=>{r(56316)("observable")},51879:(e,t,r)=>{r(56316)("patternMatch")},4703:(e,t,r)=>{r(56316)("replaceAll")},92303:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(50560);n({target:"WeakMap",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},88:(e,t,r)=>{r(7309)({target:"WeakMap",stat:!0},{from:r(18735)})},93218:(e,t,r)=>{r(7309)({target:"WeakMap",stat:!0},{of:r(11171)})},35484:(e,t,r)=>{"use strict";r(7309)({target:"WeakMap",proto:!0,real:!0,forced:r(8451)},{upsert:r(7230)})},58882:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(20737);n({target:"WeakSet",proto:!0,real:!0,forced:i},{addAll:function(){return o.apply(this,arguments)}})},91819:(e,t,r)=>{"use strict";var n=r(7309),i=r(8451),o=r(50560);n({target:"WeakSet",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},53013:(e,t,r)=>{r(7309)({target:"WeakSet",stat:!0},{from:r(18735)})},35448:(e,t,r)=>{r(7309)({target:"WeakSet",stat:!0},{of:r(11171)})},3962:(e,t,r)=>{var n=r(76121),i=r(83729),o=r(20702),a=r(91471);for(var s in i){var l=n[s],c=l&&l.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(u){c.forEach=o}}},68835:(e,t,r)=>{var n=r(76121),i=r(83729),o=r(43541),a=r(91471),s=r(1386),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var d in i){var p=n[d],h=p&&p.prototype;if(h){if(h[l]!==u)try{a(h,l,u)}catch(m){h[l]=u}if(h[c]||a(h,c,d),i[d])for(var f in o)if(h[f]!==o[f])try{a(h,f,o[f])}catch(m){h[f]=o[f]}}}},81605:(e,t,r)=>{var n=r(7309),i=r(76121),o=r(94825);n({global:!0,bind:!0,enumerable:!0,forced:!i.setImmediate||!i.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},53928:(e,t,r)=>{var n=r(7309),i=r(76121),o=r(26745),a=r(42849),s=i.process,l="process"==a(s);n({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&s.domain;o(t?t.bind(e):e)}})},42113:(e,t,r)=>{var n=r(7309),i=r(76121),o=r(58635),a=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,i=n?a.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},52894:(e,t,r)=>{"use strict";r(43541);var n=r(7309),i=r(77642),o=r(50307),a=r(62327),s=r(39757),l=r(54849),c=r(34427),u=r(2995),d=r(30680),p=r(52766),h=r(43322),f=r(79538),m=r(86956),v=r(42521),y=r(63571),g=r(5938),b=r(17773),_=r(85111),w=r(1386),k=i("fetch"),x=i("Headers"),E=w("iterator"),A="URLSearchParams",S="URLSearchParamsIterator",L=u.set,C=u.getterFor(A),P=u.getterFor(S),T=/\+/g,I=Array(4),Z=function(e){return I[e-1]||(I[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},O=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(T," "),r=4;try{return decodeURIComponent(t)}catch(n){for(;r;)t=t.replace(Z(r--),O);return t}},R=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(e){return M[e]},D=function(e){return encodeURIComponent(e).replace(R,z)},j=function(e,t){if(t)for(var r,n,i=t.split("&"),o=0;o<i.length;)(r=i[o++]).length&&(n=r.split("="),e.push({key:N(n.shift()),value:N(n.join("="))}))},F=function(e){this.entries.length=0,j(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=c((function(e,t){L(this,{type:S,iterator:b(C(e).entries),kind:t})}),"Iterator",(function(){var e=P(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,A);var e,t,r,n,i,o,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,h=[];if(L(u,{type:A,entries:h,updateURL:function(){},updateSearchParams:F}),void 0!==c)if(v(c))if("function"==typeof(e=_(c)))for(r=(t=e.call(c)).next;!(n=r.call(t)).done;){if((a=(o=(i=b(m(n.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");h.push({key:a.value+"",value:s.value+""})}else for(l in c)p(c,l)&&h.push({key:l,value:c[l]+""});else j(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},G=H.prototype;s(G,{append:function(e,t){B(arguments.length,2);var r=C(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){B(arguments.length,1);for(var t=C(this),r=t.entries,n=e+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=C(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){B(arguments.length,1);for(var t=C(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){B(arguments.length,1);for(var t=C(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var r,n=C(this),i=n.entries,o=!1,a=e+"",s=t+"",l=0;l<i.length;l++)(r=i[l]).key===a&&(o?i.splice(l--,1):(o=!0,r.value=s));o||i.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=C(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=C(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(G,E,G.entries),a(G,"toString",(function(){for(var e,t=C(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(D(e.key)+"="+D(e.value));return r.join("&")}),{enumerable:!0}),l(H,A),n({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof k||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(v(t=arguments[1])&&(r=t.body,f(r)===A&&((n=t.headers?new x(t.headers):new x).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:g(0,String(r)),headers:g(0,n)}))),i.push(t)),k.apply(this,i)}}),e.exports={URLSearchParams:H,getState:C}},11425:(e,t,r)=>{"use strict";r(56307);var n,i=r(7309),o=r(37703),a=r(50307),s=r(76121),l=r(37532),c=r(62327),u=r(30680),d=r(52766),p=r(81179),h=r(54513),f=r(73832).codeAt,m=r(81025),v=r(54849),y=r(52894),g=r(2995),b=s.URL,_=y.URLSearchParams,w=y.getState,k=g.set,x=g.getterFor("URL"),E=Math.floor,A=Math.pow,S="Invalid scheme",L="Invalid host",C="Invalid port",P=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,I=/\d/,Z=/^(0x|0X)/,O=/^[0-7]+$/,N=/^\d+$/,R=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,z=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,j=/[\u0009\u000A\u000D]/g,F=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return L;if(!(r=U(t.slice(1,-1))))return L;e.host=r}else if(W(e)){if(t=m(t),M.test(t))return L;if(null===(r=B(t)))return L;e.host=r}else{if(z.test(t))return L;for(r="",n=h(t),i=0;i<n.length;i++)r+=q(n[i],G);e.host=r}},B=function(e){var t,r,n,i,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=l[n]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=Z.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?N:8==o?O:R).test(i))return e;a=parseInt(i,o)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=A(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*A(256,3-n);return s},U=function(e){var t,r,n,i,o,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&R.test(p());)t=16*t+parseInt(p(),16),d++,r++;if("."==p()){if(0==r)return;if(d-=r,c>6)return;for(n=0;p();){if(i=null,n>0){if(!("."==p()&&n<4))return;d++}if(!I.test(p()))return;for(;I.test(p());){if(o=parseInt(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}l[c]=256*l[c]+i,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},H=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=E(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},G={},V=p({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),K=p({},V,{"#":1,"?":1,"{":1,"}":1}),$=p({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),q=function(e,t){var r=f(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},W=function(e){return d(X,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var r;return 2==e.length&&P.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Q(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},ie={},oe={},ae={},se={},le={},ce={},ue={},de={},pe={},he={},fe={},me={},ve={},ye={},ge={},be={},_e={},we={},ke={},xe={},Ee=function(e,t,r,i){var o,a,s,l,c,u=r||ne,p=0,f="",m=!1,v=!1,y=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(j,""),o=h(t);p<=o.length;){switch(a=o[p],u){case ne:if(!a||!P.test(a)){if(r)return S;u=oe;continue}f+=a.toLowerCase(),u=ie;break;case ie:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(r)return S;f="",u=oe,p=0;continue}if(r&&(W(e)!=d(X,f)||"file"==f&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,r)return void(W(e)&&X[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?u=ve:W(e)&&i&&i.scheme==e.scheme?u=ae:W(e)?u=ue:"/"==o[p+1]?(u=se,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=we)}break;case oe:if(!i||i.cannotBeABaseURL&&"#"!=a)return S;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==i.scheme?ve:le;continue;case ae:if("/"!=a||"/"!=o[p+1]){u=le;continue}u=de,p++;break;case se:if("/"==a){u=pe;break}u=_e;continue;case le:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&W(e))u=ce;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=_e;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=xe}break;case ce:if(!W(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=_e;continue}u=pe}else u=de;break;case ue:if(u=de,"/"!=a||"/"!=f.charAt(p+1))continue;p++;break;case de:if("/"!=a&&"\\"!=a){u=pe;continue}break;case pe:if("@"==a){m&&(f="%40"+f),m=!0,s=h(f);for(var g=0;g<s.length;g++){var b=s[g];if(":"!=b||y){var _=q(b,$);y?e.password+=_:e.username+=_}else y=!0}f=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(m&&""==f)return"Invalid authority";p-=h(f).length+1,f="",u=he}else f+=a;break;case he:case fe:if(r&&"file"==e.scheme){u=ge;continue}if(":"!=a||v){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==f)return L;if(r&&""==f&&(Y(e)||null!==e.port))return;if(l=F(e,f))return l;if(f="",u=be,r)return;continue}"["==a?v=!0:"]"==a&&(v=!1),f+=a}else{if(""==f)return L;if(l=F(e,f))return l;if(f="",u=me,r==fe)return}break;case me:if(!I.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||r){if(""!=f){var w=parseInt(f,10);if(w>65535)return C;e.port=W(e)&&w===X[e.scheme]?null:w,f=""}if(r)return;u=be;continue}return C}f+=a;break;case ve:if(e.scheme="file","/"==a||"\\"==a)u=ye;else{if(!i||"file"!=i.scheme){u=_e;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){ee(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),te(e)),u=_e;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=xe}}break;case ye:if("/"==a||"\\"==a){u=ge;break}i&&"file"==i.scheme&&!ee(o.slice(p).join(""))&&(Q(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=_e;continue;case ge:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&Q(f))u=_e;else if(""==f){if(e.host="",r)return;u=be}else{if(l=F(e,f))return l;if("localhost"==e.host&&(e.host=""),r)return;f="",u=be}continue}f+=a;break;case be:if(W(e)){if(u=_e,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=_e,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=ke;break;case _e:if(a==n||"/"==a||"\\"==a&&W(e)||!r&&("?"==a||"#"==a)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):re(f)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(a==n||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=ke):"#"==a&&(e.fragment="",u=xe)}else f+=q(a,K);break;case we:"?"==a?(e.query="",u=ke):"#"==a?(e.fragment="",u=xe):a!=n&&(e.path[0]+=q(a,G));break;case ke:r||"#"!=a?a!=n&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,G)):(e.fragment="",u=xe);break;case xe:a!=n&&(e.fragment+=q(a,V))}p++}},Ae=function(e){var t,r,n=u(this,Ae,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=k(n,{type:"URL"});if(void 0!==i)if(i instanceof Ae)t=x(i);else if(r=Ee(t={},String(i)))throw TypeError(r);if(r=Ee(s,a,null,t))throw TypeError(r);var l=s.searchParams=new _,c=w(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},o||(n.href=Le.call(n),n.origin=Ce.call(n),n.protocol=Pe.call(n),n.username=Te.call(n),n.password=Ie.call(n),n.host=Ze.call(n),n.hostname=Oe.call(n),n.port=Ne.call(n),n.pathname=Re.call(n),n.search=Me.call(n),n.searchParams=ze.call(n),n.hash=De.call(n))},Se=Ae.prototype,Le=function(){var e=x(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",Y(e)&&(c+=r+(n?":"+n:"")+"@"),c+=H(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ce=function(){var e=x(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&W(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Pe=function(){return x(this).scheme+":"},Te=function(){return x(this).username},Ie=function(){return x(this).password},Ze=function(){var e=x(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},Oe=function(){var e=x(this).host;return null===e?"":H(e)},Ne=function(){var e=x(this).port;return null===e?"":String(e)},Re=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=x(this).query;return e?"?"+e:""},ze=function(){return x(this).searchParams},De=function(){var e=x(this).fragment;return e?"#"+e:""},je=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(Se,{href:je(Le,(function(e){var t=x(this),r=String(e),n=Ee(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:je(Ce),protocol:je(Pe,(function(e){var t=x(this);Ee(t,String(e)+":",ne)})),username:je(Te,(function(e){var t=x(this),r=h(String(e));if(!J(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=q(r[n],$)}})),password:je(Ie,(function(e){var t=x(this),r=h(String(e));if(!J(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=q(r[n],$)}})),host:je(Ze,(function(e){var t=x(this);t.cannotBeABaseURL||Ee(t,String(e),he)})),hostname:je(Oe,(function(e){var t=x(this);t.cannotBeABaseURL||Ee(t,String(e),fe)})),port:je(Ne,(function(e){var t=x(this);J(t)||(""==(e=String(e))?t.port=null:Ee(t,e,me))})),pathname:je(Re,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Ee(t,e+"",be))})),search:je(Me,(function(e){var t=x(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ee(t,e,ke)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:je(ze),hash:je(De,(function(e){var t=x(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ee(t,e,xe)):t.fragment=null}))}),c(Se,"toJSON",(function(){return Le.call(this)}),{enumerable:!0}),c(Se,"toString",(function(){return Le.call(this)}),{enumerable:!0}),b){var Fe=b.createObjectURL,Be=b.revokeObjectURL;Fe&&c(Ae,"createObjectURL",(function(e){return Fe.apply(b,arguments)})),Be&&c(Ae,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}v(Ae,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ae})},62793:(e,t,r)=>{"use strict";r(7309)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},45248:(e,t,r)=>{r(13230)},77770:(e,t,r)=>{r(11248),r(22471)},22797:(e,t,r)=>{r(99411),r(34679),r(686),r(80159),r(5013),r(84607),r(68176),r(84391),r(95388),r(18636),r(58101),r(56349),r(48754),r(97783),r(85767),r(65266),r(42241),r(22463),r(35955),r(23062),r(54705),r(94495),r(32870),r(7457),r(92303),r(58882),r(91819)},31641:(e,t,r)=>{r(58458),r(22809),r(49833),r(56002),r(88),r(93218),r(53013),r(35448)},59044:(e,t,r)=>{r(85362),r(97841),r(66928),r(54689)},86020:(e,t,r)=>{r(95447);var n=r(76121);e.exports=n},54367:(e,t,r)=>{r(51540)},64793:(e,t,r)=>{r(86541),r(62398),r(94890),r(420),r(4631),r(65302),r(2460),r(27917),r(82512),r(97121),r(81478),r(74108),r(29295),r(12546),r(43265),r(11308),r(31879),r(88082),r(84578),r(67143),r(78593),r(76317),r(58537),r(71403),r(25470),r(61959),r(95443),r(523)},29338:(e,t,r)=>{r(97211),r(69722)},16877:(e,t,r)=>{r(78912),r(22423),r(35484)},16137:(e,t,r)=>{r(37197),r(50640),r(39791),r(11022),r(69351),r(8751),r(899)},42577:(e,t,r)=>{r(63354)},75330:(e,t,r)=>{r(46681)},30243:(e,t,r)=>{r(52751),r(56279),r(95104)},18192:(e,t,r)=>{r(43703),r(6243)},18307:(e,t,r)=>{r(51879)},53021:(e,t,r)=>{r(44849)},71693:(e,t,r)=>{r(38434),r(62053)},93649:(e,t,r)=>{r(92865)},1797:(e,t,r)=>{r(84904),r(31598),r(21608),r(50042),r(35075),r(25660),r(24086),r(13302),r(29273)},49294:(e,t,r)=>{r(18489)},83416:(e,t,r)=>{r(10280),r(66380),r(28809),r(36310),r(96949),r(69112),r(32656)},98446:(e,t,r)=>{r(65075)},66245:(e,t,r)=>{r(87305)},54096:(e,t,r)=>{r(58431)},77677:(e,t,r)=>{r(74840),r(4703)},79572:(e,t,r)=>{r(11425),r(62793),r(52894)},59207:(e,t,r)=>{r(25354),r(86265)},44991:(e,t,r)=>{r(59044),r(98446),r(79572);var n=r(65817);e.exports=n},65817:(e,t,r)=>{r(77770),r(22797),r(31641),r(29338),r(16137),r(42577),r(75330),r(30243),r(18192),r(18307),r(93649),r(49294),r(66245);var n=r(58158);e.exports=n},58158:(e,t,r)=>{r(45248),r(64793),r(16877),r(83416),r(59207);var n=r(72882);e.exports=n},72882:(e,t,r)=>{r(71693),r(77677);var n=r(3723);e.exports=n},3723:(e,t,r)=>{r(86020),r(53021),r(54096);var n=r(1035);e.exports=n},51540:(e,t,r)=>{var n=r(10719);e.exports=n},10719:(e,t,r)=>{r(1797);var n=r(44991);e.exports=n},67942:(e,t,r)=>{r(3962),r(68835),r(81605),r(53928),r(42113),r(11425),r(62793),r(52894);var n=r(1035);e.exports=n},87466:(e,t,r)=>{"use strict";r.d(t,{Mo:()=>n,Cb:()=>o,sz:()=>a,IO:()=>s,GC:()=>l,hO:()=>d});const n=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:n}=t;return{kind:r,elements:n,finisher(t){window.customElements.define(e,t)}}})(e,t),i=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(r){r.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}};function o(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):i(e,t)}function a(e){return o({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})}function s(e,t){return(r,n)=>{const i={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof n?Symbol():"__"+n;i.get=function(){return void 0===this[t]&&(this[t]=this.renderRoot.querySelector(e)),this[t]}}return void 0!==n?c(i,r,n):u(i,r)}}function l(e){return(t,r)=>{const n={async get(){return await this.updateComplete,this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==r?c(n,t,r):u(n,t)}}const c=(e,t,r)=>{Object.defineProperty(t,r,e)},u=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e});function d(e){return(t,r)=>void 0!==r?((e,t,r)=>{Object.assign(t[r],e)})(e,t,r):((e,t)=>Object.assign(Object.assign({},t),{finisher(r){Object.assign(r.prototype[t.key],e)}}))(e,t)}const p=Element.prototype;p.msMatchesSelector||p.webkitMatchesSelector},15652:(e,t,r)=>{"use strict";r.d(t,{oi:()=>P,f4:()=>k,iv:()=>L,Mo:()=>x.Mo,hO:()=>x.hO,dy:()=>d.dy,sz:()=>x.sz,Cb:()=>x.Cb,IO:()=>x.IO,GC:()=>x.GC,YP:()=>d.YP});var n=r(50115),i=r(27283);function o(e,t){const{element:{content:r},parts:n}=e,i=document.createTreeWalker(r,133,null,!1);let o=s(n),a=n[o],l=-1,c=0;const u=[];let d=null;for(;i.nextNode();){l++;const e=i.currentNode;for(e.previousSibling===d&&(d=null),t.has(e)&&(u.push(e),null===d&&(d=e)),null!==d&&c++;void 0!==a&&a.index===l;)a.index=null!==d?-1:a.index-c,o=s(n,o),a=n[o]}u.forEach((e=>e.parentNode.removeChild(e)))}const a=e=>{let t=11===e.nodeType?0:1;const r=document.createTreeWalker(e,133,null,!1);for(;r.nextNode();)t++;return t},s=(e,t=-1)=>{for(let r=t+1;r<e.length;r++){const t=e[r];if((0,i.pC)(t))return r}return-1};var l=r(84677),c=r(92530),u=r(37581),d=r(94707);const p=(e,t)=>`${e}--${t}`;let h=!0;void 0===window.ShadyCSS?h=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),h=!1);const f=e=>t=>{const r=p(t.type,e);let n=c.r.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},c.r.set(r,n));let o=n.stringsArray.get(t.strings);if(void 0!==o)return o;const a=t.strings.join(i.Jw);if(o=n.keyString.get(a),void 0===o){const r=t.getTemplateElement();h&&window.ShadyCSS.prepareTemplateDom(r,e),o=new i.YS(t,r),n.keyString.set(a,o)}return n.stringsArray.set(t.strings,o),o},m=["html","svg"],v=new Set,y=(e,t,r)=>{v.add(e);const n=r?r.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:l}=i;if(0===l)return void window.ShadyCSS.prepareTemplateStyles(n,e);const u=document.createElement("style");for(let o=0;o<l;o++){const e=i[o];e.parentNode.removeChild(e),u.textContent+=e.textContent}(e=>{m.forEach((t=>{const r=c.r.get(p(t,e));void 0!==r&&r.keyString.forEach((e=>{const{element:{content:t}}=e,r=new Set;Array.from(t.querySelectorAll("style")).forEach((e=>{r.add(e)})),o(e,r)}))}))})(e);const d=n.content;r?function(e,t,r=null){const{element:{content:n},parts:i}=e;if(null==r)return void n.appendChild(t);const o=document.createTreeWalker(n,133,null,!1);let l=s(i),c=0,u=-1;for(;o.nextNode();)for(u++,o.currentNode===r&&(c=a(t),r.parentNode.insertBefore(t,r));-1!==l&&i[l].index===u;){if(c>0){for(;-1!==l;)i[l].index+=c,l=s(i,l);return}l=s(i,l)}}(r,u,d.firstChild):d.insertBefore(u,d.firstChild),window.ShadyCSS.prepareTemplateStyles(n,e);const h=d.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==h)t.insertBefore(h.cloneNode(!0),t.firstChild);else if(r){d.insertBefore(u,d.firstChild);const e=new Set;e.add(u),o(r,e)}};window.JSCompiler_renameProperty=(e,t)=>e;const g={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},b=(e,t)=>t!==e&&(t==t||e==e),_={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:b},w="finalized";class k extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach(((t,r)=>{const n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))})),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach(((e,t)=>this._classProperties.set(t,e)))}}static createProperty(e,t=_){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(n){const i=this[e];this[t]=n,this.requestUpdateInternal(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||_}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(w)||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=b){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,n=t.converter||g,i="function"==typeof n?n:n.fromAttribute;return i?i(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,n=t.converter;return(n&&n.toAttribute||g.toAttribute)(e,r)}initialize(){this._updateState=0,this._updatePromise=new Promise((e=>this._enableUpdatingResolver=e)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((e,t)=>this[t]=e)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=_){const n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){const e=n._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){const e=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}requestUpdateInternal(e,t,r){let n=!0;if(void 0!==e){const i=this.constructor;r=r||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,r.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==r.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,r))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(t){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{e=this.shouldUpdate(t),e?this.update(t):this._markUpdated()}catch(r){throw e=!1,this._markUpdated(),r}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((e,t)=>this._propertyToAttribute(t,this[t],e))),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}k.finalized=!0;var x=r(87466);const E=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,A=Symbol();class S{constructor(e,t){if(t!==A)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(E?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const L=(e,...t)=>{const r=t.reduce(((t,r,n)=>t+(e=>{if(e instanceof S)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(r)+e[n+1]),e[0]);return new S(r,A)};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const C={};class P extends k{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(Array.isArray(e)){const t=(e,r)=>e.reduceRight(((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e)),r),r=t(e,new Set),n=[];r.forEach((e=>n.unshift(e))),this._styles=n}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map((e=>{if(e instanceof CSSStyleSheet&&!E){const t=Array.prototype.slice.call(e.cssRules).reduce(((e,t)=>e+t.cssText),"");return new S(String(t),A)}return e}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?E?this.renderRoot.adoptedStyleSheets=e.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map((e=>e.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==C&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)})))}render(){return C}}P.finalized=!0,P.render=(e,t,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");const i=r.scopeName,o=l.L.has(t),a=h&&11===t.nodeType&&!!t.host,s=a&&!v.has(i),c=s?document.createDocumentFragment():t;if((0,l.s)(e,c,Object.assign({templateFactory:f(i)},r)),s){const e=l.L.get(c);l.L.delete(c);const r=e.value instanceof u.R?e.value.template:void 0;y(i,c,r),(0,n.r4)(t,t.firstChild),t.appendChild(c),l.L.set(t,e)}!o&&a&&window.ShadyCSS.styleElement(t.host)}},76747:(e,t,r)=>{"use strict";r.d(t,{X:()=>i,w:()=>o});const n=new WeakMap,i=e=>(...t)=>{const r=e(...t);return n.set(r,!0),r},o=e=>"function"==typeof e&&n.has(e)},50115:(e,t,r)=>{"use strict";r.d(t,{eC:()=>n,V:()=>i,r4:()=>o});const n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,i=(e,t,r=null,n=null)=>{for(;t!==r;){const r=t.nextSibling;e.insertBefore(t,n),t=r}},o=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}}},43401:(e,t,r)=>{"use strict";r.d(t,{J:()=>n,L:()=>i});const n={},i={}},28823:(e,t,r)=>{"use strict";r.d(t,{QG:()=>d,_l:()=>p,nt:()=>h,JG:()=>f,m:()=>m,sL:()=>v,K1:()=>g});var n=r(76747),i=r(50115),o=r(43401),a=r(37581),s=r(87842),l=r(27283);const c=e=>null===e||!("object"==typeof e||"function"==typeof e),u=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);class d{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let n=0;n<r.length-1;n++)this.parts[n]=this._createPart()}_createPart(){return new p(this)}_getValue(){const e=this.strings,t=e.length-1,r=this.parts;if(1===t&&""===e[0]&&""===e[1]){const e=r[0].value;if("symbol"==typeof e)return String(e);if("string"==typeof e||!u(e))return e}let n="";for(let i=0;i<t;i++){n+=e[i];const t=r[i];if(void 0!==t){const e=t.value;if(c(e)||!u(e))n+="string"==typeof e?e:String(e);else for(const t of e)n+="string"==typeof t?t:String(t)}}return n+=e[t],n}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class p{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===o.J||c(e)&&e===this.value||(this.value=e,(0,n.w)(e)||(this.committer.dirty=!0))}commit(){for(;(0,n.w)(this.value);){const e=this.value;this.value=o.J,e(this)}this.value!==o.J&&this.committer.commit()}}class h{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild((0,l.IW)()),this.endNode=e.appendChild((0,l.IW)())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=(0,l.IW)()),e.__insert(this.endNode=(0,l.IW)())}insertAfterPart(e){e.__insert(this.startNode=(0,l.IW)()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;(0,n.w)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=o.J,e(this)}const e=this.__pendingValue;e!==o.J&&(c(e)?e!==this.value&&this.__commitText(e):e instanceof s.j?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):u(e)?this.__commitIterable(e):e===o.L?(this.value=o.L,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof a.R&&this.value.template===t)this.value.update(e.values);else{const r=new a.R(t,e.processor,this.options),n=r._clone();r.update(e.values),this.__commitNode(n),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,n=0;for(const i of e)r=t[n],void 0===r&&(r=new h(this.options),t.push(r),0===n?r.appendIntoPart(this):r.insertAfterPart(t[n-1])),r.setValue(i),r.commit(),n++;n<t.length&&(t.length=n,this.clear(r&&r.endNode))}clear(e=this.startNode){(0,i.r4)(this.startNode.parentNode,e.nextSibling,this.endNode)}}class f{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;(0,n.w)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=o.J,e(this)}if(this.__pendingValue===o.J)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=o.J}}class m extends d{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new v(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class v extends p{}let y=!1;(()=>{try{const e={get capture(){return y=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();class g{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;(0,n.w)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=o.J,e(this)}if(this.__pendingValue===o.J)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),i=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=b(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=o.J}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}const b=e=>e&&(y?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},84677:(e,t,r)=>{"use strict";r.d(t,{L:()=>a,s:()=>s});var n=r(50115),i=r(28823),o=r(92530);const a=new WeakMap,s=(e,t,r)=>{let s=a.get(t);void 0===s&&((0,n.r4)(t,t.firstChild),a.set(t,s=new i.nt(Object.assign({templateFactory:o.t},r))),s.appendInto(t)),s.setValue(e),s.commit()}},92530:(e,t,r)=>{"use strict";r.d(t,{t:()=>i,r:()=>o});var n=r(27283);function i(e){let t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));let r=t.stringsArray.get(e.strings);if(void 0!==r)return r;const i=e.strings.join(n.Jw);return r=t.keyString.get(i),void 0===r&&(r=new n.YS(e,e.getTemplateElement()),t.keyString.set(i,r)),t.stringsArray.set(e.strings,r),r}const o=new Map},37581:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(50115),i=r(27283);class o{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const r of this.__parts)void 0!==r&&r.commit()}_clone(){const e=n.eC?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=[],r=this.template.parts,o=document.createTreeWalker(e,133,null,!1);let a,s=0,l=0,c=o.nextNode();for(;s<r.length;)if(a=r[s],(0,i.pC)(a)){for(;l<a.index;)l++,"TEMPLATE"===c.nodeName&&(t.push(c),o.currentNode=c.content),null===(c=o.nextNode())&&(o.currentNode=t.pop(),c=o.nextNode());if("node"===a.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(c.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(c,a.name,a.strings,this.options));s++}else this.__parts.push(void 0),s++;return n.eC&&(document.adoptNode(e),customElements.upgrade(e)),e}}},87842:(e,t,r)=>{"use strict";r.d(t,{j:()=>s,C:()=>l});var n=r(50115),i=r(27283);const o=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),a=` ${i.Jw} `;class s{constructor(e,t,r,n){this.strings=e,this.values=t,this.type=r,this.processor=n}getHTML(){const e=this.strings.length-1;let t="",r=!1;for(let n=0;n<e;n++){const e=this.strings[n],o=e.lastIndexOf("\x3c!--");r=(o>-1||r)&&-1===e.indexOf("--\x3e",o+1);const s=i.W5.exec(e);t+=null===s?e+(r?a:i.N):e.substr(0,s.index)+s[1]+s[2]+i.$E+s[3]+i.Jw}return t+=this.strings[e],t}getTemplateElement(){const e=document.createElement("template");let t=this.getHTML();return void 0!==o&&(t=o.createHTML(t)),e.innerHTML=t,e}}class l extends s{getHTML(){return`<svg>${super.getHTML()}</svg>`}getTemplateElement(){const e=super.getTemplateElement(),t=e.content,r=t.firstChild;return t.removeChild(r),(0,n.V)(t,r.firstChild),e}}},27283:(e,t,r)=>{"use strict";r.d(t,{Jw:()=>n,N:()=>i,$E:()=>a,YS:()=>s,pC:()=>c,IW:()=>u,W5:()=>d});const n=`{{lit-${String(Math.random()).slice(2)}}}`,i=`\x3c!--${n}--\x3e`,o=new RegExp(`${n}|${i}`),a="$lit$";class s{constructor(e,t){this.parts=[],this.element=t;const r=[],i=[],s=document.createTreeWalker(t.content,133,null,!1);let c=0,p=-1,h=0;const{strings:f,values:{length:m}}=e;for(;h<m;){const e=s.nextNode();if(null!==e){if(p++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let n=0;for(let e=0;e<r;e++)l(t[e].name,a)&&n++;for(;n-- >0;){const t=f[h],r=d.exec(t)[2],n=r.toLowerCase()+a,i=e.getAttribute(n);e.removeAttribute(n);const s=i.split(o);this.parts.push({type:"attribute",index:p,name:r,strings:s}),h+=s.length-1}}"TEMPLATE"===e.tagName&&(i.push(e),s.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(n)>=0){const n=e.parentNode,i=t.split(o),s=i.length-1;for(let t=0;t<s;t++){let r,o=i[t];if(""===o)r=u();else{const e=d.exec(o);null!==e&&l(e[2],a)&&(o=o.slice(0,e.index)+e[1]+e[2].slice(0,-a.length)+e[3]),r=document.createTextNode(o)}n.insertBefore(r,e),this.parts.push({type:"node",index:++p})}""===i[s]?(n.insertBefore(u(),e),r.push(e)):e.data=i[s],h+=s}}else if(8===e.nodeType)if(e.data===n){const t=e.parentNode;null!==e.previousSibling&&p!==c||(p++,t.insertBefore(u(),e)),c=p,this.parts.push({type:"node",index:p}),null===e.nextSibling?e.data="":(r.push(e),p--),h++}else{let t=-1;for(;-1!==(t=e.data.indexOf(n,t+1));)this.parts.push({type:"node",index:-1}),h++}}else s.currentNode=i.pop()}for(const n of r)n.parentNode.removeChild(n)}}const l=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t},c=e=>-1!==e.index,u=()=>document.createComment(""),d=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},94707:(e,t,r)=>{"use strict";r.d(t,{_l:()=>n._l,nt:()=>n.nt,sL:()=>n.sL,XM:()=>a.X,dy:()=>s,YP:()=>l});var n=r(28823);const i=new class{handleAttributeExpressions(e,t,r,i){const o=t[0];if("."===o){return new n.m(e,t.slice(1),r).parts}if("@"===o)return[new n.K1(e,t.slice(1),i.eventContext)];if("?"===o)return[new n.JG(e,t.slice(1),r)];return new n.QG(e,t,r).parts}handleTextExpression(e){return new n.nt(e)}};var o=r(87842),a=r(76747);r(50115),r(43401),r(84677),r(92530),r(37581),r(27283);"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");const s=(e,...t)=>new o.j(e,t,"html",i),l=(e,...t)=>new o.C(e,t,"svg",i)},58556:(e,t,r)=>{"use strict";var n;(n="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?global:self).Proxy||(n.Proxy=r(87082)(),n.Proxy.revocable=n.Proxy.revocable)},87082:e=>{e.exports=function(){let e,t=null;function r(e){return!!e&&("object"==typeof e||"function"==typeof e)}return e=function(e,n){if(!r(e)||!r(n))throw new TypeError("Cannot create proxy with a non-object as target or handler");let i=function(){};t=function(){e=null,i=function(e){throw new TypeError(`Cannot perform '${e}' on a proxy that has been revoked`)}},setTimeout((function(){t=null}),0);const o=n;n={get:null,set:null,apply:null,construct:null};for(let t in o){if(!(t in n))throw new TypeError(`Proxy polyfill does not support trap '${t}'`);n[t]=o[t]}"function"==typeof o&&(n.apply=o.apply.bind(o));let a=this,s=!1,l=!1;"function"==typeof e?(a=function(){const t=this&&this.constructor===a,r=Array.prototype.slice.call(arguments);if(i(t?"construct":"apply"),t&&n.construct)return n.construct.call(this,e,r);if(!t&&n.apply)return n.apply(e,this,r);if(t){r.unshift(e);return new(e.bind.apply(e,r))}return e.apply(this,r)},s=!0):e instanceof Array&&(a=[],l=!0);const c=n.get?function(e){return i("get"),n.get(this,e,a)}:function(e){return i("get"),this[e]},u=n.set?function(e,t){i("set");n.set(this,e,t,a)}:function(e,t){i("set"),this[e]=t},d=Object.getOwnPropertyNames(e),p={};d.forEach((function(t){if((s||l)&&t in a)return;const r={enumerable:!!Object.getOwnPropertyDescriptor(e,t).enumerable,get:c.bind(e,t),set:u.bind(e,t)};Object.defineProperty(a,t,r),p[t]=!0}));let h=!0;if(Object.setPrototypeOf?Object.setPrototypeOf(a,Object.getPrototypeOf(e)):a.__proto__?a.__proto__=e.__proto__:h=!1,n.get||!h)for(let t in e)p[t]||Object.defineProperty(a,t,{get:c.bind(e,t)});return Object.seal(e),Object.seal(a),a},e.revocable=function(r,n){return{proxy:new e(r,n),revoke:t}},e}},36760:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new L(n||[]);return o._invoke=function(e,t,r){var n=u;return function(i,o){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===i)throw o;return P()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=E(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,a),o}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",p="executing",h="completed",f={};function m(){}function v(){}function y(){}var g={};g[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==r&&n.call(_,o)&&(g=_);var w=y.prototype=m.prototype=Object.create(g);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e,t){function r(i,o,a,s){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return f;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var i=c(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return v.prototype=w.constructor=y,y.constructor=v,y[s]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new x(l(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=C,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},87480:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__extends:()=>i,__assign:()=>o,__rest:()=>a,__decorate:()=>s,__param:()=>l,__metadata:()=>c,__awaiter:()=>u,__generator:()=>d,__createBinding:()=>p,__exportStar:()=>h,__values:()=>f,__read:()=>m,__spread:()=>v,__spreadArrays:()=>y,__await:()=>g,__asyncGenerator:()=>b,__asyncDelegator:()=>_,__asyncValues:()=>w,__makeTemplateObject:()=>k,__importStar:()=>E,__importDefault:()=>A,__classPrivateFieldGet:()=>S,__classPrivateFieldSet:()=>L});var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function d(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var p=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function h(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||p(t,e,r)}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function b(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=i[e](t)).value instanceof g?Promise.resolve(r.value.v).then(l,c):u(o[0][2],r)}catch(n){u(o[0][3],n)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:g(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&p(t,e,r);return x(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function L(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},47181:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});const n=(e,t,r,n)=>{n=n||{},r=null==r?{}:r;const i=new Event(t,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});return i.detail=r,e.dispatchEvent(i),i}},35359:(e,t,r)=>{"use strict";var n,i;function o(e){return e.type===n.literal}function a(e){return e.type===n.argument}function s(e){return e.type===n.number}function l(e){return e.type===n.date}function c(e){return e.type===n.time}function u(e){return e.type===n.select}function d(e){return e.type===n.plural}function p(e){return e.type===n.pound}function h(e){return e.type===n.tag}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function m(e){return!(!e||"object"!=typeof e||1!==e.type)}r.d(t,{X:()=>Y}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(n||(n={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var v,y=(v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(){return(g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},b=function(e){function t(r,n,i,o){var a=e.call(this)||this;return a.message=r,a.expected=n,a.found=i,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return y(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?i(e[0])+"-"+i(e[1]):i(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+(((a=t)?'"'+n(a)+'"':"end of input")+" found.");var a},t}(Error);var _=function(e,t){t=void 0!==t?t:{};var r,i={},o={start:$e},a=$e,s=Fe("#",!1),l=Ue("tagElement"),c="<",u=Fe("<",!1),d="/>",p=Fe("/>",!1),h=">",f=Fe(">",!1),m=function(e){return mt.pop(),!0},v="</",y=Fe("</",!1),_=Ue("argumentElement"),w="{",k=Fe("{",!1),x="}",E=Fe("}",!1),A=Ue("numberSkeletonId"),S=/^['\/{}]/,L=Be(["'","/","{","}"],!1,!1),C={type:"any"},P=Ue("numberSkeletonTokenOption"),T=Fe("/",!1),I=Ue("numberSkeletonToken"),Z="::",O=Fe("::",!1),N=function(e){return mt.pop(),e.replace(/\s*$/,"")},R=",",M=Fe(",",!1),z="number",D=Fe("number",!1),j=function(e,t,r){return g({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},gt())},F="'",B=Fe("'",!1),U=/^[^']/,H=Be(["'"],!0,!1),G=/^[^a-zA-Z'{}]/,V=Be([["a","z"],["A","Z"],"'","{","}"],!0,!1),K=/^[a-zA-Z]/,$=Be([["a","z"],["A","Z"]],!1,!1),q="date",X=Fe("date",!1),W="time",Y=Fe("time",!1),J="plural",Q=Fe("plural",!1),ee="selectordinal",te=Fe("selectordinal",!1),re="offset:",ne=Fe("offset:",!1),ie="select",oe=Fe("select",!1),ae=Fe("=",!1),se=Ue("whitespace"),le=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ce=Be([["\t","\r"]," ","
"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),ue=Ue("syntax pattern"),de=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,pe=Be([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),he=Ue("optional whitespace"),fe=Ue("number"),me="-",ve=Fe("-",!1),ye=(Ue("apostrophe"),Ue("double apostrophes")),ge="''",be=Fe("''",!1),_e=Fe("\n",!1),we=Ue("argNameOrNumber"),ke=Ue("validTag"),xe=Ue("argNumber"),Ee=Fe("0",!1),Ae=/^[1-9]/,Se=Be([["1","9"]],!1,!1),Le=/^[0-9]/,Ce=Be([["0","9"]],!1,!1),Pe=Ue("argName"),Te=Ue("tagName"),Ie=0,Ze=0,Oe=[{line:1,column:1}],Ne=0,Re=[],Me=0;if(void 0!==t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=o[t.startRule]}function ze(){return e.substring(Ze,Ie)}function De(){return Ge(Ze,Ie)}function je(e,t){throw function(e,t){return new b(e,[],"",t)}(e,t=void 0!==t?t:Ge(Ze,Ie))}function Fe(e,t){return{type:"literal",text:e,ignoreCase:t}}function Be(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Ue(e){return{type:"other",description:e}}function He(t){var r,n=Oe[t];if(n)return n;for(r=t-1;!Oe[r];)r--;for(n={line:(n=Oe[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Oe[t]=n,n}function Ge(e,t){var r=He(e),n=He(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function Ve(e){Ie<Ne||(Ie>Ne&&(Ne=Ie,Re=[]),Re.push(e))}function Ke(e,t,r){return new b(b.buildMessage(e,t),e,t,r)}function $e(){return qe()}function qe(){var e,t;for(e=[],t=Xe();t!==i;)e.push(t),t=Xe();return e}function Xe(){var t;return(t=function(){var e,t;e=Ie,(t=We())!==i&&(Ze=e,r=t,t=g({type:n.literal,value:r},gt()));var r;return e=t}())===i&&(t=function(){var t,r,o,a;Me++,t=Ie,123===e.charCodeAt(Ie)?(r=w,Ie++):(r=i,0===Me&&Ve(k));r!==i&&at()!==i&&(o=dt())!==i&&at()!==i?(125===e.charCodeAt(Ie)?(a=x,Ie++):(a=i,0===Me&&Ve(E)),a!==i?(Ze=t,s=o,t=r=g({type:n.argument,value:s},gt())):(Ie=t,t=i)):(Ie=t,t=i);var s;Me--,t===i&&(r=i,0===Me&&Ve(_));return t}())===i&&(t=function(){var t;(t=function(){var t,r,n,o,a,s,l,c,u;t=Ie,123===e.charCodeAt(Ie)?(r=w,Ie++):(r=i,0===Me&&Ve(k));r!==i&&at()!==i&&(n=dt())!==i&&at()!==i?(44===e.charCodeAt(Ie)?(o=R,Ie++):(o=i,0===Me&&Ve(M)),o!==i&&at()!==i?(e.substr(Ie,6)===z?(a=z,Ie+=6):(a=i,0===Me&&Ve(D)),a!==i&&at()!==i?(s=Ie,44===e.charCodeAt(Ie)?(l=R,Ie++):(l=i,0===Me&&Ve(M)),l!==i&&(c=at())!==i&&(u=function(){var t,r,n;t=Ie,e.substr(Ie,2)===Z?(r=Z,Ie+=2):(r=i,0===Me&&Ve(O));r!==i&&(n=function(){var e,t,r;if(e=Ie,t=[],(r=Qe())!==i)for(;r!==i;)t.push(r),r=Qe();else t=i;t!==i&&(Ze=e,t=g({type:0,tokens:t},gt()));return e=t}())!==i?(Ze=t,t=r=n):(Ie=t,t=i);t===i&&(t=Ie,Ze=Ie,mt.push("numberArgStyle"),(r=(r=!0)?void 0:i)!==i&&(n=We())!==i?(Ze=t,t=r=N(n)):(Ie=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ie=s,s=i),s===i&&(s=null),s!==i&&(l=at())!==i?(125===e.charCodeAt(Ie)?(c=x,Ie++):(c=i,0===Me&&Ve(E)),c!==i?(Ze=t,t=r=j(n,a,s)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i);return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u;t=Ie,123===e.charCodeAt(Ie)?(r=w,Ie++):(r=i,0===Me&&Ve(k));r!==i&&at()!==i&&(n=dt())!==i&&at()!==i?(44===e.charCodeAt(Ie)?(o=R,Ie++):(o=i,0===Me&&Ve(M)),o!==i&&at()!==i?(e.substr(Ie,4)===q?(a=q,Ie+=4):(a=i,0===Me&&Ve(X)),a===i&&(e.substr(Ie,4)===W?(a=W,Ie+=4):(a=i,0===Me&&Ve(Y))),a!==i&&at()!==i?(s=Ie,44===e.charCodeAt(Ie)?(l=R,Ie++):(l=i,0===Me&&Ve(M)),l!==i&&(c=at())!==i&&(u=function(){var t,r,n;t=Ie,e.substr(Ie,2)===Z?(r=Z,Ie+=2):(r=i,0===Me&&Ve(O));r!==i&&(n=function(){var t,r,n,o;t=Ie,r=Ie,n=[],(o=et())===i&&(o=tt());if(o!==i)for(;o!==i;)n.push(o),(o=et())===i&&(o=tt());else n=i;r=n!==i?e.substring(r,Ie):n;r!==i&&(Ze=t,r=g({type:1,pattern:r},gt()));return t=r}())!==i?(Ze=t,t=r=n):(Ie=t,t=i);t===i&&(t=Ie,Ze=Ie,mt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:i)!==i&&(n=We())!==i?(Ze=t,t=r=N(n)):(Ie=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ie=s,s=i),s===i&&(s=null),s!==i&&(l=at())!==i?(125===e.charCodeAt(Ie)?(c=x,Ie++):(c=i,0===Me&&Ve(E)),c!==i?(Ze=t,t=r=j(n,a,s)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i);return t}());return t}())===i&&(t=function(){var t,r,o,a,s,l,c,u,d,p,h;t=Ie,123===e.charCodeAt(Ie)?(r=w,Ie++):(r=i,0===Me&&Ve(k));if(r!==i)if(at()!==i)if((o=dt())!==i)if(at()!==i)if(44===e.charCodeAt(Ie)?(a=R,Ie++):(a=i,0===Me&&Ve(M)),a!==i)if(at()!==i)if(e.substr(Ie,6)===J?(s=J,Ie+=6):(s=i,0===Me&&Ve(Q)),s===i&&(e.substr(Ie,13)===ee?(s=ee,Ie+=13):(s=i,0===Me&&Ve(te))),s!==i)if(at()!==i)if(44===e.charCodeAt(Ie)?(l=R,Ie++):(l=i,0===Me&&Ve(M)),l!==i)if(at()!==i)if(c=Ie,e.substr(Ie,7)===re?(u=re,Ie+=7):(u=i,0===Me&&Ve(ne)),u!==i&&(d=at())!==i&&(p=st())!==i?c=u=[u,d,p]:(Ie=c,c=i),c===i&&(c=null),c!==i)if((u=at())!==i){if(d=[],(p=nt())!==i)for(;p!==i;)d.push(p),p=nt();else d=i;d!==i&&(p=at())!==i?(125===e.charCodeAt(Ie)?(h=x,Ie++):(h=i,0===Me&&Ve(E)),h!==i?(Ze=t,t=r=function(e,t,r,i){return g({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:i.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&je('Duplicate option "'+r+'" in plural element: "'+ze()+'"',De()),e[r]={value:n,location:i},e}),{})},gt())}(o,s,c,d)):(Ie=t,t=i)):(Ie=t,t=i)}else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;return t}())===i&&(t=function(){var t,r,o,a,s,l,c,u,d;t=Ie,123===e.charCodeAt(Ie)?(r=w,Ie++):(r=i,0===Me&&Ve(k));if(r!==i)if(at()!==i)if((o=dt())!==i)if(at()!==i)if(44===e.charCodeAt(Ie)?(a=R,Ie++):(a=i,0===Me&&Ve(M)),a!==i)if(at()!==i)if(e.substr(Ie,6)===ie?(s=ie,Ie+=6):(s=i,0===Me&&Ve(oe)),s!==i)if(at()!==i)if(44===e.charCodeAt(Ie)?(l=R,Ie++):(l=i,0===Me&&Ve(M)),l!==i)if(at()!==i){if(c=[],(u=rt())!==i)for(;u!==i;)c.push(u),u=rt();else c=i;c!==i&&(u=at())!==i?(125===e.charCodeAt(Ie)?(d=x,Ie++):(d=i,0===Me&&Ve(E)),d!==i?(Ze=t,t=r=function(e,t){return g({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&je('Duplicate option "'+r+'" in select element: "'+ze()+'"',De()),e[r]={value:n,location:i},e}),{})},gt())}(o,c)):(Ie=t,t=i)):(Ie=t,t=i)}else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;else Ie=t,t=i;return t}())===i&&(t=function(){var t,r,o,a,s,b;Me++,t=Ie,r=Ie,60===e.charCodeAt(Ie)?(o="<",Ie++):(o=i,0===Me&&Ve(u));o!==i&&(a=pt())!==i&&(s=at())!==i?(e.substr(Ie,2)===d?(b=d,Ie+=2):(b=i,0===Me&&Ve(p)),b!==i?r=o=[o,a,s,b]:(Ie=r,r=i)):(Ie=r,r=i);r!==i&&(Ze=t,_=r,r=g({type:n.literal,value:_.join("")},gt()));var _;(t=r)===i&&(t=Ie,(r=function(){var t,r,n,o;t=Ie,60===e.charCodeAt(Ie)?(r=c,Ie++):(r=i,0===Me&&Ve(u));r!==i?(Ze=Ie,mt.push("openingTag"),(!0?void 0:i)!==i&&(n=pt())!==i?(62===e.charCodeAt(Ie)?(o=">",Ie++):(o=i,0===Me&&Ve(f)),o!==i?(Ze=Ie,(m()?void 0:i)!==i?(Ze=t,t=r=n):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i);return t}())!==i&&(o=qe())!==i&&(a=function(){var t,r,n,o;t=Ie,e.substr(Ie,2)===v?(r=v,Ie+=2):(r=i,0===Me&&Ve(y));r!==i?(Ze=Ie,mt.push("closingTag"),(!0?void 0:i)!==i&&(n=pt())!==i?(62===e.charCodeAt(Ie)?(o=h,Ie++):(o=i,0===Me&&Ve(f)),o!==i?(Ze=Ie,(m()?void 0:i)!==i?(Ze=t,t=r=n):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i);return t}())!==i?(Ze=t,k=o,(w=r)!==(x=a)&&je('Mismatch tag "'+w+'" !== "'+x+'"',De()),t=r=g({type:n.tag,value:w,children:k},gt())):(Ie=t,t=i));var w,k,x;Me--,t===i&&(r=i,0===Me&&Ve(l));return t}())===i&&(t=function(){var t,r;t=Ie,35===e.charCodeAt(Ie)?(r="#",Ie++):(r=i,0===Me&&Ve(s));r!==i&&(Ze=t,r=g({type:n.pound},gt()));return t=r}()),t}function We(){var e,t,r;if(e=Ie,t=[],(r=lt())===i&&(r=ct())===i&&(r=ut()),r!==i)for(;r!==i;)t.push(r),(r=lt())===i&&(r=ct())===i&&(r=ut());else t=i;return t!==i&&(Ze=e,t=t.join("")),e=t}function Ye(){var t,r,n,o,a;if(Me++,t=Ie,r=[],n=Ie,o=Ie,Me++,(a=it())===i&&(S.test(e.charAt(Ie))?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(L))),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ie,o=Ie,Me++,(a=it())===i&&(S.test(e.charAt(Ie))?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(L))),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i);else r=i;return t=r!==i?e.substring(t,Ie):r,Me--,t===i&&(r=i,0===Me&&Ve(A)),t}function Je(){var t,r,n;return Me++,t=Ie,47===e.charCodeAt(Ie)?(r="/",Ie++):(r=i,0===Me&&Ve(T)),r!==i&&(n=Ye())!==i?(Ze=t,t=r=n):(Ie=t,t=i),Me--,t===i&&(r=i,0===Me&&Ve(P)),t}function Qe(){var e,t,r,n;if(Me++,e=Ie,at()!==i)if((t=Ye())!==i){for(r=[],n=Je();n!==i;)r.push(n),n=Je();r!==i?(Ze=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(Ie=e,e=i)}else Ie=e,e=i;else Ie=e,e=i;return Me--,e===i&&(i,0===Me&&Ve(I)),e}function et(){var t,r,n,o;if(t=Ie,39===e.charCodeAt(Ie)?(r=F,Ie++):(r=i,0===Me&&Ve(B)),r!==i){if(n=[],(o=lt())===i&&(U.test(e.charAt(Ie))?(o=e.charAt(Ie),Ie++):(o=i,0===Me&&Ve(H))),o!==i)for(;o!==i;)n.push(o),(o=lt())===i&&(U.test(e.charAt(Ie))?(o=e.charAt(Ie),Ie++):(o=i,0===Me&&Ve(H)));else n=i;n!==i?(39===e.charCodeAt(Ie)?(o=F,Ie++):(o=i,0===Me&&Ve(B)),o!==i?t=r=[r,n,o]:(Ie=t,t=i)):(Ie=t,t=i)}else Ie=t,t=i;if(t===i)if(t=[],(r=lt())===i&&(G.test(e.charAt(Ie))?(r=e.charAt(Ie),Ie++):(r=i,0===Me&&Ve(V))),r!==i)for(;r!==i;)t.push(r),(r=lt())===i&&(G.test(e.charAt(Ie))?(r=e.charAt(Ie),Ie++):(r=i,0===Me&&Ve(V)));else t=i;return t}function tt(){var t,r;if(t=[],K.test(e.charAt(Ie))?(r=e.charAt(Ie),Ie++):(r=i,0===Me&&Ve($)),r!==i)for(;r!==i;)t.push(r),K.test(e.charAt(Ie))?(r=e.charAt(Ie),Ie++):(r=i,0===Me&&Ve($));else t=i;return t}function rt(){var t,r,n,o,a,s,l;return t=Ie,at()!==i&&(r=ft())!==i&&at()!==i?(123===e.charCodeAt(Ie)?(n=w,Ie++):(n=i,0===Me&&Ve(k)),n!==i?(Ze=Ie,mt.push("select"),(!0?void 0:i)!==i&&(o=qe())!==i?(125===e.charCodeAt(Ie)?(a=x,Ie++):(a=i,0===Me&&Ve(E)),a!==i?(Ze=t,s=r,l=o,mt.pop(),t=g({id:s,value:l},gt())):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i),t}function nt(){var t,r,n,o,a,s,l;return t=Ie,at()!==i&&(r=function(){var t,r,n,o;return t=Ie,r=Ie,61===e.charCodeAt(Ie)?(n="=",Ie++):(n=i,0===Me&&Ve(ae)),n!==i&&(o=st())!==i?r=n=[n,o]:(Ie=r,r=i),(t=r!==i?e.substring(t,Ie):r)===i&&(t=ft()),t}())!==i&&at()!==i?(123===e.charCodeAt(Ie)?(n=w,Ie++):(n=i,0===Me&&Ve(k)),n!==i?(Ze=Ie,mt.push("plural"),(!0?void 0:i)!==i&&(o=qe())!==i?(125===e.charCodeAt(Ie)?(a=x,Ie++):(a=i,0===Me&&Ve(E)),a!==i?(Ze=t,s=r,l=o,mt.pop(),t=g({id:s,value:l},gt())):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i)):(Ie=t,t=i),t}function it(){var t;return Me++,le.test(e.charAt(Ie))?(t=e.charAt(Ie),Ie++):(t=i,0===Me&&Ve(ce)),Me--,t===i&&(i,0===Me&&Ve(se)),t}function ot(){var t;return Me++,de.test(e.charAt(Ie))?(t=e.charAt(Ie),Ie++):(t=i,0===Me&&Ve(pe)),Me--,t===i&&(i,0===Me&&Ve(ue)),t}function at(){var t,r,n;for(Me++,t=Ie,r=[],n=it();n!==i;)r.push(n),n=it();return t=r!==i?e.substring(t,Ie):r,Me--,t===i&&(r=i,0===Me&&Ve(he)),t}function st(){var t,r,n,o,a;return Me++,t=Ie,45===e.charCodeAt(Ie)?(r="-",Ie++):(r=i,0===Me&&Ve(ve)),r===i&&(r=null),r!==i&&(n=ht())!==i?(Ze=t,o=r,t=r=(a=n)?o?-a:a:0):(Ie=t,t=i),Me--,t===i&&(r=i,0===Me&&Ve(fe)),t}function lt(){var t,r;return Me++,t=Ie,e.substr(Ie,2)===ge?(r=ge,Ie+=2):(r=i,0===Me&&Ve(be)),r!==i&&(Ze=t,r="'"),Me--,(t=r)===i&&(r=i,0===Me&&Ve(ye)),t}function ct(){var t,r,n,o,a,s;if(t=Ie,39===e.charCodeAt(Ie)?(r=F,Ie++):(r=i,0===Me&&Ve(B)),r!==i)if((n=function(){var t,r,n,o;t=Ie,r=Ie,e.length>Ie?(n=e.charAt(Ie),Ie++):(n=i,0===Me&&Ve(C));n!==i?(Ze=Ie,(o=(o="<"===(a=n)||">"===a||"{"===a||"}"===a||yt()&&"#"===a)?void 0:i)!==i?r=n=[n,o]:(Ie=r,r=i)):(Ie=r,r=i);var a;t=r!==i?e.substring(t,Ie):r;return t}())!==i){for(o=Ie,a=[],e.substr(Ie,2)===ge?(s=ge,Ie+=2):(s=i,0===Me&&Ve(be)),s===i&&(U.test(e.charAt(Ie))?(s=e.charAt(Ie),Ie++):(s=i,0===Me&&Ve(H)));s!==i;)a.push(s),e.substr(Ie,2)===ge?(s=ge,Ie+=2):(s=i,0===Me&&Ve(be)),s===i&&(U.test(e.charAt(Ie))?(s=e.charAt(Ie),Ie++):(s=i,0===Me&&Ve(H)));(o=a!==i?e.substring(o,Ie):a)!==i?(39===e.charCodeAt(Ie)?(a=F,Ie++):(a=i,0===Me&&Ve(B)),a===i&&(a=null),a!==i?(Ze=t,t=r=n+o.replace("''","'")):(Ie=t,t=i)):(Ie=t,t=i)}else Ie=t,t=i;else Ie=t,t=i;return t}function ut(){var t,r,n,o,a;return t=Ie,r=Ie,e.length>Ie?(n=e.charAt(Ie),Ie++):(n=i,0===Me&&Ve(C)),n!==i?(Ze=Ie,a=n,(o=(o=(bt()||"<"!==a)&&"{"!==a&&!(yt()&&"#"===a)&&!(vt()&&"}"===a)&&!(!bt()&&vt()&&">"===a))?void 0:i)!==i?r=n=[n,o]:(Ie=r,r=i)):(Ie=r,r=i),r===i&&(10===e.charCodeAt(Ie)?(r="\n",Ie++):(r=i,0===Me&&Ve(_e))),t=r!==i?e.substring(t,Ie):r}function dt(){var t,r;return Me++,t=Ie,(r=ht())===i&&(r=ft()),t=r!==i?e.substring(t,Ie):r,Me--,t===i&&(r=i,0===Me&&Ve(we)),t}function pt(){var t,r;return Me++,t=Ie,(r=ht())===i&&(r=function(){var t,r,n,o,a;Me++,t=Ie,r=[],45===e.charCodeAt(Ie)?(n=me,Ie++):(n=i,0===Me&&Ve(ve));n===i&&(n=Ie,o=Ie,Me++,(a=it())===i&&(a=ot()),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i));if(n!==i)for(;n!==i;)r.push(n),45===e.charCodeAt(Ie)?(n=me,Ie++):(n=i,0===Me&&Ve(ve)),n===i&&(n=Ie,o=Ie,Me++,(a=it())===i&&(a=ot()),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i));else r=i;t=r!==i?e.substring(t,Ie):r;Me--,t===i&&(r=i,0===Me&&Ve(Te));return t}()),t=r!==i?e.substring(t,Ie):r,Me--,t===i&&(r=i,0===Me&&Ve(ke)),t}function ht(){var t,r,n,o,a;if(Me++,t=Ie,48===e.charCodeAt(Ie)?(r="0",Ie++):(r=i,0===Me&&Ve(Ee)),r!==i&&(Ze=t,r=0),(t=r)===i){if(t=Ie,r=Ie,Ae.test(e.charAt(Ie))?(n=e.charAt(Ie),Ie++):(n=i,0===Me&&Ve(Se)),n!==i){for(o=[],Le.test(e.charAt(Ie))?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(Ce));a!==i;)o.push(a),Le.test(e.charAt(Ie))?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(Ce));o!==i?r=n=[n,o]:(Ie=r,r=i)}else Ie=r,r=i;r!==i&&(Ze=t,r=parseInt(r.join(""),10)),t=r}return Me--,t===i&&(r=i,0===Me&&Ve(xe)),t}function ft(){var t,r,n,o,a;if(Me++,t=Ie,r=[],n=Ie,o=Ie,Me++,(a=it())===i&&(a=ot()),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ie,o=Ie,Me++,(a=it())===i&&(a=ot()),Me--,a===i?o=void 0:(Ie=o,o=i),o!==i?(e.length>Ie?(a=e.charAt(Ie),Ie++):(a=i,0===Me&&Ve(C)),a!==i?n=o=[o,a]:(Ie=n,n=i)):(Ie=n,n=i);else r=i;return t=r!==i?e.substring(t,Ie):r,Me--,t===i&&(r=i,0===Me&&Ve(Pe)),t}var mt=["root"];function vt(){return mt.length>1}function yt(){return"plural"===mt[mt.length-1]}function gt(){return t&&t.captureLocation?{location:De()}:{}}function bt(){return t&&t.ignoreTag}if((r=a())!==i&&Ie===e.length)return r;throw r!==i&&Ie<e.length&&Ve({type:"end"}),Ke(Re,Ne<e.length?e.charAt(Ne):null,Ne<e.length?Ge(Ne,Ne+1):Ge(Ne,Ne))},w=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},k=/(^|[^\\])#/g;function x(e){e.forEach((function(e){(d(e)||u(e))&&Object.keys(e.options).forEach((function(t){for(var r,n=e.options[t],i=-1,a=void 0,s=0;s<n.value.length;s++){var l=n.value[s];if(o(l)&&k.test(l.value)){i=s,a=l;break}}if(a){var c=a.value.replace(k,"$1{"+e.value+", number}"),u=_(c);(r=n.value).splice.apply(r,w([i,1],u))}x(n.value)}))}))}function E(e,t){var r=_(e,t);return t&&!1===t.normalizeHashtagInPlural||x(r),r}var A=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};function S(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}const L=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=S(n),a=o&&t[o];return a||(a=new((r=e).bind.apply(r,A([void 0],n))),o&&(t[o]=a)),a}};var C=function(){return(C=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},P=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function T(e){var t={};return e.replace(P,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""})),t}var I=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Z=/^(@+)?(\+|#+)?$/g;function O(e){var t={};return e.replace(Z,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function N(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function R(e){var t=N(e);return t||{}}function M(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=C(C(C({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return C(C({},e),R(t))}),{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return C(C({},e),R(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(I.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(I,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),i.options.length&&(t=C(C({},t),O(i.options[0])))}else if(Z.test(i.stem))t=C(C({},t),O(i.stem));else{var o=N(i.stem);o&&(t=C(C({},t),o))}}return t}var z,D=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(z||(z={}));var j,F=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return D(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),B=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",i)||this}return D(t,e),t}(F),U=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return D(t,e),t}(F),H=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return D(t,e),t}(F);function G(e){return"function"==typeof e}function V(e,t,r,n,i,v,y){if(1===e.length&&o(e[0]))return[{type:0,value:e[0].value}];for(var g=[],b=0,_=e;b<_.length;b++){var w=_[b];if(o(w))g.push({type:0,value:w.value});else if(p(w))"number"==typeof v&&g.push({type:0,value:r.getNumberFormat(t).format(v)});else{var k=w.value;if(!i||!(k in i))throw new H(k,y);var x=i[k];if(a(w))x&&"string"!=typeof x&&"number"!=typeof x||(x="string"==typeof x||"number"==typeof x?String(x):""),g.push({type:"string"==typeof x?0:1,value:x});else if(l(w)){var E="string"==typeof w.style?n.date[w.style]:m(w.style)?T(w.style.pattern):void 0;g.push({type:0,value:r.getDateTimeFormat(t,E).format(x)})}else if(c(w)){E="string"==typeof w.style?n.time[w.style]:m(w.style)?T(w.style.pattern):void 0;g.push({type:0,value:r.getDateTimeFormat(t,E).format(x)})}else if(s(w)){E="string"==typeof w.style?n.number[w.style]:f(w.style)?M(w.style.tokens):void 0;g.push({type:0,value:r.getNumberFormat(t,E).format(x)})}else{if(h(w)){var A=w.children,S=w.value,L=i[S];if(!G(L))throw new U(S,"function",y);var C=V(A,t,r,n,i,v),P=L.apply(void 0,C.map((function(e){return e.value})));Array.isArray(P)||(P=[P]),g.push.apply(g,P.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(u(w)){if(!(I=w.options[x]||w.options.other))throw new B(w.value,x,Object.keys(w.options),y);g.push.apply(g,V(I.value,t,r,n,i))}else if(d(w)){var I;if(!(I=w.options["="+x])){if(!Intl.PluralRules)throw new F('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",y);var Z=r.getPluralRules(t,{type:w.pluralType}).select(x-(w.offset||0));I=w.options[Z]||w.options.other}if(!I)throw new B(w.value,x,Object.keys(w.options),y);g.push.apply(g,V(I.value,t,r,n,i,x-(w.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(g)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(j||(j={}));var K=function(){return(K=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function $(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?K(K(K({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=K(K({},i[t]),o[t]||{}),e}),{})):i),r}),K({},e)):e}const q=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return V(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=$(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:L(Intl.NumberFormat,o.number),getDateTimeFormat:L(Intl.DateTimeFormat,o.dateTime),getPluralRules:L(Intl.PluralRules,o.pluralRules)})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!0,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=E,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();let X=!(0,r(27815).shouldPolyfill)();const W=X?r.e(113).then(r.t.bind(r,50113,7)).then((()=>{X=!0})):void 0,Y=async(e,t,r,n)=>(X||await W,e._localizationCache={},(i,...o)=>{if(!(i&&r&&t&&r[t]))return"";const a=r[t][i];if(!a)return"";const s=i+a;let l=e._localizationCache[s];l||(l=new q(a,t,n),e._localizationCache[s]=l);const c={};for(let e=0;e<o.length;e+=2)c[o[e]]=o[e+1];try{return l.format(c)}catch(u){return"Translation "+u}})},52039:(e,t,r)=>{"use strict";r.d(t,{C:()=>p});var n=r(15652);function i(){i=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!s(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=u(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:c(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=c(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function o(e){var t,r=u(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function a(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function s(e){return e.decorators&&e.decorators.length}function l(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function c(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}let p=function(e,t,r,n){var c=i();if(n)for(var u=0;u<n.length;u++)c=n[u](c);var d=t((function(e){c.initializeInstanceElements(e,p.elements)}),r),p=c.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(l(o.descriptor)||l(i.descriptor)){if(s(o)||s(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(s(o)){if(s(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}a(o,i)}else t.push(o)}return t}(d.d.map(o)),e);return c.initializeClassElements(d.F,p.elements),c.runClassFinishers(d.F,p.finishers)}([(0,n.Mo)("ha-svg-icon")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,n.Cb)()],key:"path",value:void 0},{kind:"field",decorators:[(0,n.Cb)()],key:"viewBox",value:void 0},{kind:"method",key:"render",value:function(){return n.YP`
<svg
viewBox=${this.viewBox||"0 0 24 24"}
preserveAspectRatio="xMidYMid meet"
focusable="false">
<g>
${this.path?n.YP`<path d=${this.path}></path>`:""}
</g>
</svg>`}},{kind:"get",static:!0,key:"styles",value:function(){return n.iv`
:host {
display: var(--ha-icon-display, inline-flex);
align-items: center;
justify-content: center;
position: relative;
vertical-align: middle;
fill: currentcolor;
width: var(--mdc-icon-size, 24px);
height: var(--mdc-icon-size, 24px);
}
svg {
width: 100%;
height: 100%;
pointer-events: none;
display: block;
}
`}}]}}),n.oi)},60387:(e,t,r)=>{"use strict"},97730:(e,t,r)=>{"use strict";r(60387)},66477:(e,t,r)=>{"use strict";r(97730)},61271:(e,t,r)=>{"use strict";r.d(t,{o:()=>g});var n=r(15652),i=r(35359),o=r(53761);function a(e,t,r,n){var i=s();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,p.elements)}),r),p=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(d(o.descriptor)||d(i.descriptor)){if(u(o)||u(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(u(o)){if(u(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}c(o,i)}else t.push(o)}return t}(a.d.map(l)),e);return i.initializeClassElements(a.F,p.elements),i.runClassFinishers(a.F,p.finishers)}function s(){s=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!u(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=h(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function l(e){var t,r=h(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function c(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function u(e){return e.decorators&&e.decorators.length}function d(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function h(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t,r){return(m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const y=()=>"",g=e=>a(null,(function(e,t){class r extends t{constructor(...t){super(...t),e(this)}}return{F:r,d:[{kind:"field",decorators:[(0,n.Cb)()],key:"localize",value:()=>y},{kind:"field",decorators:[(0,n.Cb)()],key:"resources",value:void 0},{kind:"field",decorators:[(0,n.Cb)()],key:"language",value:()=>(0,o.sS)()},{kind:"field",decorators:[(0,n.Cb)()],key:"translationFragment",value:void 0},{kind:"method",key:"connectedCallback",value:function(){m(v(r.prototype),"connectedCallback",this).call(this),this._initializeLocalizeLite()}},{kind:"method",key:"updated",value:function(e){m(v(r.prototype),"updated",this).call(this,e),e.get("translationFragment")&&this._initializeLocalizeLite(),this.language&&this.resources&&(e.has("language")||e.has("resources"))&&(0,i.X)(this.constructor.prototype,this.language,this.resources).then((e=>{this.localize=e}))}},{kind:"method",key:"_initializeLocalizeLite",value:async function(){if(this.resources)return;if(!this.translationFragment)return void 0;const{language:e,data:t}=await(0,o.i0)(this.translationFragment,this.language);this.resources={[e]:t}}}]}}),e)},64702:()=>{const e=document.createElement("template");e.setAttribute("style","display: none;"),e.innerHTML='<style>\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Thin"),\n local("Roboto-Thin"),\n url(/static/fonts/roboto/Roboto-Thin.woff2) format("woff2");\nfont-weight: 100;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Thin Italic"),\n local("Roboto-ThinItalic"),\n url(/static/fonts/roboto/Roboto-ThinItalic.woff2) format("woff2");\nfont-weight: 100;\nfont-style: italic;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Light"),\n local("Roboto-Light"),\n url(/static/fonts/roboto/Roboto-Light.woff2) format("woff2");\nfont-weight: 300;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Light Italic"),\n local("Roboto-LightItalic"),\n url(/static/fonts/roboto/Roboto-LightItalic.woff2) format("woff2");\nfont-weight: 300;\nfont-style: italic;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Regular"),\n local("Roboto-Regular"),\n url(/static/fonts/roboto/Roboto-Regular.woff2) format("woff2");\nfont-weight: 400;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Italic"),\n local("Roboto-Italic"),\n url(/static/fonts/roboto/Roboto-RegularItalic.woff2) format("woff2");\nfont-weight: 400;\nfont-style: italic;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Medium"),\n local("Roboto-Medium"),\n url(/static/fonts/roboto/Roboto-Medium.woff2) format("woff2");\nfont-weight: 500;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Medium Italic"),\n local("Roboto-MediumItalic"),\n url(/static/fonts/roboto/Roboto-MediumItalic.woff2) format("woff2");\nfont-weight: 500;\nfont-style: italic;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Bold"),\n local("Roboto-Bold"),\n url(/static/fonts/roboto/Roboto-Bold.woff2) format("woff2");\nfont-weight: 700;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Bold Italic"),\n local("Roboto-BoldItalic"),\n url(/static/fonts/roboto/Roboto-BoldItalic.woff2) format("woff2");\nfont-weight: 700;\nfont-style: italic;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Black"),\n local("Roboto-Black"),\n url(/static/fonts/roboto/Roboto-Black.woff2) format("woff2");\nfont-weight: 900;\nfont-style: normal;\n}\n@font-face {\nfont-family: "Roboto";\nsrc:\n local("Roboto Black Italic"),\n local("Roboto-BlackItalic"),\n url(/static/fonts/roboto/Roboto-BlackItalic.woff2) format("woff2");\nfont-weight: 900;\nfont-style: italic;\n}\n</style>',document.head.appendChild(e.content)},37846:()=>{if(/^((?!chrome|android).)*version\/14\.0.*safari/i.test(navigator.userAgent)){const e=window.Element.prototype.attachShadow;window.Element.prototype.attachShadow=function(t){return t&&t.delegatesFocus&&delete t.delegatesFocus,e.apply(this,[t])}}},76661:(e,t,r)=>{"use strict";r.d(t,{o:()=>n});const n=r(77323)},53761:(e,t,r)=>{"use strict";r.d(t,{sS:()=>s,i0:()=>c});r(66477);var n=r(76661);const i=window.localStorage||{},o={"zh-cn":"zh-Hans","zh-sg":"zh-Hans","zh-my":"zh-Hans","zh-tw":"zh-Hant","zh-hk":"zh-Hant","zh-mo":"zh-Hant",zh:"zh-Hant"};function a(e){if(e in n.o.translations)return e;const t=e.toLowerCase();return t in o?o[t]:Object.keys(n.o.translations).find((e=>e.toLowerCase()===t))}function s(){let e=null;if(i.selectedLanguage)try{const t=JSON.parse(i.selectedLanguage);if(t&&(e=a(t),e))return e}catch(t){}if(navigator.languages)for(const r of navigator.languages)if(e=a(r),e)return e;return e=a(navigator.language),e||(navigator.language&&navigator.language.includes("-")&&(e=a(navigator.language.split("-")[0]),e)?e:"en")}const l={};async function c(e,t){const r=n.o.translations[t];if(!r){if("en"!==t)return c(e,"en");throw new Error("Language en is not found in metadata")}const i=`${e?e+"/":""}${t}-${r.hash}.json`;return l[i]||(l[i]=async function(e){const t=await fetch("/static/translations/"+e,{credentials:"same-origin"});if(!t.ok)throw new Error(`Fail to fetch translation ${e}: HTTP response status is ${t.status}`);return t.json()}(i).then((e=>({language:t,data:e}))).catch((r=>(delete l[i],"en"!==t?c(e,"en"):Promise.reject(r))))),l[i]}c(null,s())},16085:e=>{"use strict";e.exports=JSON.parse('{"supplemental":{"version":{"_unicodeVersion":"13.0.0","_cldrVersion":"37"},"likelySubtags":{"aa":"aa-Latn-ET","aai":"aai-Latn-ZZ","aak":"aak-Latn-ZZ","aau":"aau-Latn-ZZ","ab":"ab-Cyrl-GE","abi":"abi-Latn-ZZ","abq":"abq-Cyrl-ZZ","abr":"abr-Latn-GH","abt":"abt-Latn-ZZ","aby":"aby-Latn-ZZ","acd":"acd-Latn-ZZ","ace":"ace-Latn-ID","ach":"ach-Latn-UG","ada":"ada-Latn-GH","ade":"ade-Latn-ZZ","adj":"adj-Latn-ZZ","adp":"adp-Tibt-BT","ady":"ady-Cyrl-RU","adz":"adz-Latn-ZZ","ae":"ae-Avst-IR","aeb":"aeb-Arab-TN","aey":"aey-Latn-ZZ","af":"af-Latn-ZA","agc":"agc-Latn-ZZ","agd":"agd-Latn-ZZ","agg":"agg-Latn-ZZ","agm":"agm-Latn-ZZ","ago":"ago-Latn-ZZ","agq":"agq-Latn-CM","aha":"aha-Latn-ZZ","ahl":"ahl-Latn-ZZ","aho":"aho-Ahom-IN","ajg":"ajg-Latn-ZZ","ak":"ak-Latn-GH","akk":"akk-Xsux-IQ","ala":"ala-Latn-ZZ","ali":"ali-Latn-ZZ","aln":"aln-Latn-XK","alt":"alt-Cyrl-RU","am":"am-Ethi-ET","amm":"amm-Latn-ZZ","amn":"amn-Latn-ZZ","amo":"amo-Latn-NG","amp":"amp-Latn-ZZ","an":"an-Latn-ES","anc":"anc-Latn-ZZ","ank":"ank-Latn-ZZ","ann":"ann-Latn-ZZ","any":"any-Latn-ZZ","aoj":"aoj-Latn-ZZ","aom":"aom-Latn-ZZ","aoz":"aoz-Latn-ID","apc":"apc-Arab-ZZ","apd":"apd-Arab-TG","ape":"ape-Latn-ZZ","apr":"apr-Latn-ZZ","aps":"aps-Latn-ZZ","apz":"apz-Latn-ZZ","ar":"ar-Arab-EG","arc":"arc-Armi-IR","arc-Nbat":"arc-Nbat-JO","arc-Palm":"arc-Palm-SY","arh":"arh-Latn-ZZ","arn":"arn-Latn-CL","aro":"aro-Latn-BO","arq":"arq-Arab-DZ","ars":"ars-Arab-SA","ary":"ary-Arab-MA","arz":"arz-Arab-EG","as":"as-Beng-IN","asa":"asa-Latn-TZ","ase":"ase-Sgnw-US","asg":"asg-Latn-ZZ","aso":"aso-Latn-ZZ","ast":"ast-Latn-ES","ata":"ata-Latn-ZZ","atg":"atg-Latn-ZZ","atj":"atj-Latn-CA","auy":"auy-Latn-ZZ","av":"av-Cyrl-RU","avl":"avl-Arab-ZZ","avn":"avn-Latn-ZZ","avt":"avt-Latn-ZZ","avu":"avu-Latn-ZZ","awa":"awa-Deva-IN","awb":"awb-Latn-ZZ","awo":"awo-Latn-ZZ","awx":"awx-Latn-ZZ","ay":"ay-Latn-BO","ayb":"ayb-Latn-ZZ","az":"az-Latn-AZ","az-Arab":"az-Arab-IR","az-IQ":"az-Arab-IQ","az-IR":"az-Arab-IR","az-RU":"az-Cyrl-RU","ba":"ba-Cyrl-RU","bal":"bal-Arab-PK","ban":"ban-Latn-ID","bap":"bap-Deva-NP","bar":"bar-Latn-AT","bas":"bas-Latn-CM","bav":"bav-Latn-ZZ","bax":"bax-Bamu-CM","bba":"bba-Latn-ZZ","bbb":"bbb-Latn-ZZ","bbc":"bbc-Latn-ID","bbd":"bbd-Latn-ZZ","bbj":"bbj-Latn-CM","bbp":"bbp-Latn-ZZ","bbr":"bbr-Latn-ZZ","bcf":"bcf-Latn-ZZ","bch":"bch-Latn-ZZ","bci":"bci-Latn-CI","bcm":"bcm-Latn-ZZ","bcn":"bcn-Latn-ZZ","bco":"bco-Latn-ZZ","bcq":"bcq-Ethi-ZZ","bcu":"bcu-Latn-ZZ","bdd":"bdd-Latn-ZZ","be":"be-Cyrl-BY","bef":"bef-Latn-ZZ","beh":"beh-Latn-ZZ","bej":"bej-Arab-SD","bem":"bem-Latn-ZM","bet":"bet-Latn-ZZ","bew":"bew-Latn-ID","bex":"bex-Latn-ZZ","bez":"bez-Latn-TZ","bfd":"bfd-Latn-CM","bfq":"bfq-Taml-IN","bft":"bft-Arab-PK","bfy":"bfy-Deva-IN","bg":"bg-Cyrl-BG","bgc":"bgc-Deva-IN","bgn":"bgn-Arab-PK","bgx":"bgx-Grek-TR","bhb":"bhb-Deva-IN","bhg":"bhg-Latn-ZZ","bhi":"bhi-Deva-IN","bhl":"bhl-Latn-ZZ","bho":"bho-Deva-IN","bhy":"bhy-Latn-ZZ","bi":"bi-Latn-VU","bib":"bib-Latn-ZZ","big":"big-Latn-ZZ","bik":"bik-Latn-PH","bim":"bim-Latn-ZZ","bin":"bin-Latn-NG","bio":"bio-Latn-ZZ","biq":"biq-Latn-ZZ","bjh":"bjh-Latn-ZZ","bji":"bji-Ethi-ZZ","bjj":"bjj-Deva-IN","bjn":"bjn-Latn-ID","bjo":"bjo-Latn-ZZ","bjr":"bjr-Latn-ZZ","bjt":"bjt-Latn-SN","bjz":"bjz-Latn-ZZ","bkc":"bkc-Latn-ZZ","bkm":"bkm-Latn-CM","bkq":"bkq-Latn-ZZ","bku":"bku-Latn-PH","bkv":"bkv-Latn-ZZ","blt":"blt-Tavt-VN","bm":"bm-Latn-ML","bmh":"bmh-Latn-ZZ","bmk":"bmk-Latn-ZZ","bmq":"bmq-Latn-ML","bmu":"bmu-Latn-ZZ","bn":"bn-Beng-BD","bng":"bng-Latn-ZZ","bnm":"bnm-Latn-ZZ","bnp":"bnp-Latn-ZZ","bo":"bo-Tibt-CN","boj":"boj-Latn-ZZ","bom":"bom-Latn-ZZ","bon":"bon-Latn-ZZ","bpy":"bpy-Beng-IN","bqc":"bqc-Latn-ZZ","bqi":"bqi-Arab-IR","bqp":"bqp-Latn-ZZ","bqv":"bqv-Latn-CI","br":"br-Latn-FR","bra":"bra-Deva-IN","brh":"brh-Arab-PK","brx":"brx-Deva-IN","brz":"brz-Latn-ZZ","bs":"bs-Latn-BA","bsj":"bsj-Latn-ZZ","bsq":"bsq-Bass-LR","bss":"bss-Latn-CM","bst":"bst-Ethi-ZZ","bto":"bto-Latn-PH","btt":"btt-Latn-ZZ","btv":"btv-Deva-PK","bua":"bua-Cyrl-RU","buc":"buc-Latn-YT","bud":"bud-Latn-ZZ","bug":"bug-Latn-ID","buk":"buk-Latn-ZZ","bum":"bum-Latn-CM","buo":"buo-Latn-ZZ","bus":"bus-Latn-ZZ","buu":"buu-Latn-ZZ","bvb":"bvb-Latn-GQ","bwd":"bwd-Latn-ZZ","bwr":"bwr-Latn-ZZ","bxh":"bxh-Latn-ZZ","bye":"bye-Latn-ZZ","byn":"byn-Ethi-ER","byr":"byr-Latn-ZZ","bys":"bys-Latn-ZZ","byv":"byv-Latn-CM","byx":"byx-Latn-ZZ","bza":"bza-Latn-ZZ","bze":"bze-Latn-ML","bzf":"bzf-Latn-ZZ","bzh":"bzh-Latn-ZZ","bzw":"bzw-Latn-ZZ","ca":"ca-Latn-ES","cad":"cad-Latn-US","can":"can-Latn-ZZ","cbj":"cbj-Latn-ZZ","cch":"cch-Latn-NG","ccp":"ccp-Cakm-BD","ce":"ce-Cyrl-RU","ceb":"ceb-Latn-PH","cfa":"cfa-Latn-ZZ","cgg":"cgg-Latn-UG","ch":"ch-Latn-GU","chk":"chk-Latn-FM","chm":"chm-Cyrl-RU","cho":"cho-Latn-US","chp":"chp-Latn-CA","chr":"chr-Cher-US","cic":"cic-Latn-US","cja":"cja-Arab-KH","cjm":"cjm-Cham-VN","cjv":"cjv-Latn-ZZ","ckb":"ckb-Arab-IQ","ckl":"ckl-Latn-ZZ","cko":"cko-Latn-ZZ","cky":"cky-Latn-ZZ","cla":"cla-Latn-ZZ","cme":"cme-Latn-ZZ","cmg":"cmg-Soyo-MN","co":"co-Latn-FR","cop":"cop-Copt-EG","cps":"cps-Latn-PH","cr":"cr-Cans-CA","crh":"crh-Cyrl-UA","crj":"crj-Cans-CA","crk":"crk-Cans-CA","crl":"crl-Cans-CA","crm":"crm-Cans-CA","crs":"crs-Latn-SC","cs":"cs-Latn-CZ","csb":"csb-Latn-PL","csw":"csw-Cans-CA","ctd":"ctd-Pauc-MM","cu":"cu-Cyrl-RU","cu-Glag":"cu-Glag-BG","cv":"cv-Cyrl-RU","cy":"cy-Latn-GB","da":"da-Latn-DK","dad":"dad-Latn-ZZ","daf":"daf-Latn-ZZ","dag":"dag-Latn-ZZ","dah":"dah-Latn-ZZ","dak":"dak-Latn-US","dar":"dar-Cyrl-RU","dav":"dav-Latn-KE","dbd":"dbd-Latn-ZZ","dbq":"dbq-Latn-ZZ","dcc":"dcc-Arab-IN","ddn":"ddn-Latn-ZZ","de":"de-Latn-DE","ded":"ded-Latn-ZZ","den":"den-Latn-CA","dga":"dga-Latn-ZZ","dgh":"dgh-Latn-ZZ","dgi":"dgi-Latn-ZZ","dgl":"dgl-Arab-ZZ","dgr":"dgr-Latn-CA","dgz":"dgz-Latn-ZZ","dia":"dia-Latn-ZZ","dje":"dje-Latn-NE","dnj":"dnj-Latn-CI","dob":"dob-Latn-ZZ","doi":"doi-Arab-IN","dop":"dop-Latn-ZZ","dow":"dow-Latn-ZZ","drh":"drh-Mong-CN","dri":"dri-Latn-ZZ","drs":"drs-Ethi-ZZ","dsb":"dsb-Latn-DE","dtm":"dtm-Latn-ML","dtp":"dtp-Latn-MY","dts":"dts-Latn-ZZ","dty":"dty-Deva-NP","dua":"dua-Latn-CM","duc":"duc-Latn-ZZ","dud":"dud-Latn-ZZ","dug":"dug-Latn-ZZ","dv":"dv-Thaa-MV","dva":"dva-Latn-ZZ","dww":"dww-Latn-ZZ","dyo":"dyo-Latn-SN","dyu":"dyu-Latn-BF","dz":"dz-Tibt-BT","dzg":"dzg-Latn-ZZ","ebu":"ebu-Latn-KE","ee":"ee-Latn-GH","efi":"efi-Latn-NG","egl":"egl-Latn-IT","egy":"egy-Egyp-EG","eka":"eka-Latn-ZZ","eky":"eky-Kali-MM","el":"el-Grek-GR","ema":"ema-Latn-ZZ","emi":"emi-Latn-ZZ","en":"en-Latn-US","en-Shaw":"en-Shaw-GB","enn":"enn-Latn-ZZ","enq":"enq-Latn-ZZ","eo":"eo-Latn-001","eri":"eri-Latn-ZZ","es":"es-Latn-ES","esg":"esg-Gonm-IN","esu":"esu-Latn-US","et":"et-Latn-EE","etr":"etr-Latn-ZZ","ett":"ett-Ital-IT","etu":"etu-Latn-ZZ","etx":"etx-Latn-ZZ","eu":"eu-Latn-ES","ewo":"ewo-Latn-CM","ext":"ext-Latn-ES","fa":"fa-Arab-IR","faa":"faa-Latn-ZZ","fab":"fab-Latn-ZZ","fag":"fag-Latn-ZZ","fai":"fai-Latn-ZZ","fan":"fan-Latn-GQ","ff":"ff-Latn-SN","ff-Adlm":"ff-Adlm-GN","ffi":"ffi-Latn-ZZ","ffm":"ffm-Latn-ML","fi":"fi-Latn-FI","fia":"fia-Arab-SD","fil":"fil-Latn-PH","fit":"fit-Latn-SE","fj":"fj-Latn-FJ","flr":"flr-Latn-ZZ","fmp":"fmp-Latn-ZZ","fo":"fo-Latn-FO","fod":"fod-Latn-ZZ","fon":"fon-Latn-BJ","for":"for-Latn-ZZ","fpe":"fpe-Latn-ZZ","fqs":"fqs-Latn-ZZ","fr":"fr-Latn-FR","frc":"frc-Latn-US","frp":"frp-Latn-FR","frr":"frr-Latn-DE","frs":"frs-Latn-DE","fub":"fub-Arab-CM","fud":"fud-Latn-WF","fue":"fue-Latn-ZZ","fuf":"fuf-Latn-GN","fuh":"fuh-Latn-ZZ","fuq":"fuq-Latn-NE","fur":"fur-Latn-IT","fuv":"fuv-Latn-NG","fuy":"fuy-Latn-ZZ","fvr":"fvr-Latn-SD","fy":"fy-Latn-NL","ga":"ga-Latn-IE","gaa":"gaa-Latn-GH","gaf":"gaf-Latn-ZZ","gag":"gag-Latn-MD","gah":"gah-Latn-ZZ","gaj":"gaj-Latn-ZZ","gam":"gam-Latn-ZZ","gan":"gan-Hans-CN","gaw":"gaw-Latn-ZZ","gay":"gay-Latn-ID","gba":"gba-Latn-ZZ","gbf":"gbf-Latn-ZZ","gbm":"gbm-Deva-IN","gby":"gby-Latn-ZZ","gbz":"gbz-Arab-IR","gcr":"gcr-Latn-GF","gd":"gd-Latn-GB","gde":"gde-Latn-ZZ","gdn":"gdn-Latn-ZZ","gdr":"gdr-Latn-ZZ","geb":"geb-Latn-ZZ","gej":"gej-Latn-ZZ","gel":"gel-Latn-ZZ","gez":"gez-Ethi-ET","gfk":"gfk-Latn-ZZ","ggn":"ggn-Deva-NP","ghs":"ghs-Latn-ZZ","gil":"gil-Latn-KI","gim":"gim-Latn-ZZ","gjk":"gjk-Arab-PK","gjn":"gjn-Latn-ZZ","gju":"gju-Arab-PK","gkn":"gkn-Latn-ZZ","gkp":"gkp-Latn-ZZ","gl":"gl-Latn-ES","glk":"glk-Arab-IR","gmm":"gmm-Latn-ZZ","gmv":"gmv-Ethi-ZZ","gn":"gn-Latn-PY","gnd":"gnd-Latn-ZZ","gng":"gng-Latn-ZZ","god":"god-Latn-ZZ","gof":"gof-Ethi-ZZ","goi":"goi-Latn-ZZ","gom":"gom-Deva-IN","gon":"gon-Telu-IN","gor":"gor-Latn-ID","gos":"gos-Latn-NL","got":"got-Goth-UA","grb":"grb-Latn-ZZ","grc":"grc-Cprt-CY","grc-Linb":"grc-Linb-GR","grt":"grt-Beng-IN","grw":"grw-Latn-ZZ","gsw":"gsw-Latn-CH","gu":"gu-Gujr-IN","gub":"gub-Latn-BR","guc":"guc-Latn-CO","gud":"gud-Latn-ZZ","gur":"gur-Latn-GH","guw":"guw-Latn-ZZ","gux":"gux-Latn-ZZ","guz":"guz-Latn-KE","gv":"gv-Latn-IM","gvf":"gvf-Latn-ZZ","gvr":"gvr-Deva-NP","gvs":"gvs-Latn-ZZ","gwc":"gwc-Arab-ZZ","gwi":"gwi-Latn-CA","gwt":"gwt-Arab-ZZ","gyi":"gyi-Latn-ZZ","ha":"ha-Latn-NG","ha-CM":"ha-Arab-CM","ha-SD":"ha-Arab-SD","hag":"hag-Latn-ZZ","hak":"hak-Hans-CN","ham":"ham-Latn-ZZ","haw":"haw-Latn-US","haz":"haz-Arab-AF","hbb":"hbb-Latn-ZZ","hdy":"hdy-Ethi-ZZ","he":"he-Hebr-IL","hhy":"hhy-Latn-ZZ","hi":"hi-Deva-IN","hi-Latn":"hi-Latn-IN","hia":"hia-Latn-ZZ","hif":"hif-Latn-FJ","hig":"hig-Latn-ZZ","hih":"hih-Latn-ZZ","hil":"hil-Latn-PH","hla":"hla-Latn-ZZ","hlu":"hlu-Hluw-TR","hmd":"hmd-Plrd-CN","hmt":"hmt-Latn-ZZ","hnd":"hnd-Arab-PK","hne":"hne-Deva-IN","hnj":"hnj-Hmng-LA","hnn":"hnn-Latn-PH","hno":"hno-Arab-PK","ho":"ho-Latn-PG","hoc":"hoc-Deva-IN","hoj":"hoj-Deva-IN","hot":"hot-Latn-ZZ","hr":"hr-Latn-HR","hsb":"hsb-Latn-DE","hsn":"hsn-Hans-CN","ht":"ht-Latn-HT","hu":"hu-Latn-HU","hui":"hui-Latn-ZZ","hy":"hy-Armn-AM","hz":"hz-Latn-NA","ia":"ia-Latn-001","ian":"ian-Latn-ZZ","iar":"iar-Latn-ZZ","iba":"iba-Latn-MY","ibb":"ibb-Latn-NG","iby":"iby-Latn-ZZ","ica":"ica-Latn-ZZ","ich":"ich-Latn-ZZ","id":"id-Latn-ID","idd":"idd-Latn-ZZ","idi":"idi-Latn-ZZ","idu":"idu-Latn-ZZ","ife":"ife-Latn-TG","ig":"ig-Latn-NG","igb":"igb-Latn-ZZ","ige":"ige-Latn-ZZ","ii":"ii-Yiii-CN","ijj":"ijj-Latn-ZZ","ik":"ik-Latn-US","ikk":"ikk-Latn-ZZ","ikt":"ikt-Latn-CA","ikw":"ikw-Latn-ZZ","ikx":"ikx-Latn-ZZ","ilo":"ilo-Latn-PH","imo":"imo-Latn-ZZ","in":"in-Latn-ID","inh":"inh-Cyrl-RU","io":"io-Latn-001","iou":"iou-Latn-ZZ","iri":"iri-Latn-ZZ","is":"is-Latn-IS","it":"it-Latn-IT","iu":"iu-Cans-CA","iw":"iw-Hebr-IL","iwm":"iwm-Latn-ZZ","iws":"iws-Latn-ZZ","izh":"izh-Latn-RU","izi":"izi-Latn-ZZ","ja":"ja-Jpan-JP","jab":"jab-Latn-ZZ","jam":"jam-Latn-JM","jbo":"jbo-Latn-001","jbu":"jbu-Latn-ZZ","jen":"jen-Latn-ZZ","jgk":"jgk-Latn-ZZ","jgo":"jgo-Latn-CM","ji":"ji-Hebr-UA","jib":"jib-Latn-ZZ","jmc":"jmc-Latn-TZ","jml":"jml-Deva-NP","jra":"jra-Latn-ZZ","jut":"jut-Latn-DK","jv":"jv-Latn-ID","jw":"jw-Latn-ID","ka":"ka-Geor-GE","kaa":"kaa-Cyrl-UZ","kab":"kab-Latn-DZ","kac":"kac-Latn-MM","kad":"kad-Latn-ZZ","kai":"kai-Latn-ZZ","kaj":"kaj-Latn-NG","kam":"kam-Latn-KE","kao":"kao-Latn-ML","kbd":"kbd-Cyrl-RU","kbm":"kbm-Latn-ZZ","kbp":"kbp-Latn-ZZ","kbq":"kbq-Latn-ZZ","kbx":"kbx-Latn-ZZ","kby":"kby-Arab-NE","kcg":"kcg-Latn-NG","kck":"kck-Latn-ZW","kcl":"kcl-Latn-ZZ","kct":"kct-Latn-ZZ","kde":"kde-Latn-TZ","kdh":"kdh-Arab-TG","kdl":"kdl-Latn-ZZ","kdt":"kdt-Thai-TH","kea":"kea-Latn-CV","ken":"ken-Latn-CM","kez":"kez-Latn-ZZ","kfo":"kfo-Latn-CI","kfr":"kfr-Deva-IN","kfy":"kfy-Deva-IN","kg":"kg-Latn-CD","kge":"kge-Latn-ID","kgf":"kgf-Latn-ZZ","kgp":"kgp-Latn-BR","kha":"kha-Latn-IN","khb":"khb-Talu-CN","khn":"khn-Deva-IN","khq":"khq-Latn-ML","khs":"khs-Latn-ZZ","kht":"kht-Mymr-IN","khw":"khw-Arab-PK","khz":"khz-Latn-ZZ","ki":"ki-Latn-KE","kij":"kij-Latn-ZZ","kiu":"kiu-Latn-TR","kiw":"kiw-Latn-ZZ","kj":"kj-Latn-NA","kjd":"kjd-Latn-ZZ","kjg":"kjg-Laoo-LA","kjs":"kjs-Latn-ZZ","kjy":"kjy-Latn-ZZ","kk":"kk-Cyrl-KZ","kk-AF":"kk-Arab-AF","kk-Arab":"kk-Arab-CN","kk-CN":"kk-Arab-CN","kk-IR":"kk-Arab-IR","kk-MN":"kk-Arab-MN","kkc":"kkc-Latn-ZZ","kkj":"kkj-Latn-CM","kl":"kl-Latn-GL","kln":"kln-Latn-KE","klq":"klq-Latn-ZZ","klt":"klt-Latn-ZZ","klx":"klx-Latn-ZZ","km":"km-Khmr-KH","kmb":"kmb-Latn-AO","kmh":"kmh-Latn-ZZ","kmo":"kmo-Latn-ZZ","kms":"kms-Latn-ZZ","kmu":"kmu-Latn-ZZ","kmw":"kmw-Latn-ZZ","kn":"kn-Knda-IN","knf":"knf-Latn-GW","knp":"knp-Latn-ZZ","ko":"ko-Kore-KR","koi":"koi-Cyrl-RU","kok":"kok-Deva-IN","kol":"kol-Latn-ZZ","kos":"kos-Latn-FM","koz":"koz-Latn-ZZ","kpe":"kpe-Latn-LR","kpf":"kpf-Latn-ZZ","kpo":"kpo-Latn-ZZ","kpr":"kpr-Latn-ZZ","kpx":"kpx-Latn-ZZ","kqb":"kqb-Latn-ZZ","kqf":"kqf-Latn-ZZ","kqs":"kqs-Latn-ZZ","kqy":"kqy-Ethi-ZZ","kr":"kr-Latn-ZZ","krc":"krc-Cyrl-RU","kri":"kri-Latn-SL","krj":"krj-Latn-PH","krl":"krl-Latn-RU","krs":"krs-Latn-ZZ","kru":"kru-Deva-IN","ks":"ks-Arab-IN","ks-Deva":"ks-Deva-IN","ksb":"ksb-Latn-TZ","ksd":"ksd-Latn-ZZ","ksf":"ksf-Latn-CM","ksh":"ksh-Latn-DE","ksj":"ksj-Latn-ZZ","ksr":"ksr-Latn-ZZ","ktb":"ktb-Ethi-ZZ","ktm":"ktm-Latn-ZZ","kto":"kto-Latn-ZZ","ktr":"ktr-Latn-MY","ku":"ku-Latn-TR","ku-Arab":"ku-Arab-IQ","ku-LB":"ku-Arab-LB","ku-Yezi":"ku-Yezi-GE","kub":"kub-Latn-ZZ","kud":"kud-Latn-ZZ","kue":"kue-Latn-ZZ","kuj":"kuj-Latn-ZZ","kum":"kum-Cyrl-RU","kun":"kun-Latn-ZZ","kup":"kup-Latn-ZZ","kus":"kus-Latn-ZZ","kv":"kv-Cyrl-RU","kvg":"kvg-Latn-ZZ","kvr":"kvr-Latn-ID","kvx":"kvx-Arab-PK","kw":"kw-Latn-GB","kwj":"kwj-Latn-ZZ","kwo":"kwo-Latn-ZZ","kwq":"kwq-Latn-ZZ","kxa":"kxa-Latn-ZZ","kxc":"kxc-Ethi-ZZ","kxe":"kxe-Latn-ZZ","kxm":"kxm-Thai-TH","kxp":"kxp-Arab-PK","kxw":"kxw-Latn-ZZ","kxz":"kxz-Latn-ZZ","ky":"ky-Cyrl-KG","ky-Arab":"ky-Arab-CN","ky-CN":"ky-Arab-CN","ky-Latn":"ky-Latn-TR","ky-TR":"ky-Latn-TR","kye":"kye-Latn-ZZ","kyx":"kyx-Latn-ZZ","kzj":"kzj-Latn-MY","kzr":"kzr-Latn-ZZ","kzt":"kzt-Latn-MY","la":"la-Latn-VA","lab":"lab-Lina-GR","lad":"lad-Hebr-IL","lag":"lag-Latn-TZ","lah":"lah-Arab-PK","laj":"laj-Latn-UG","las":"las-Latn-ZZ","lb":"lb-Latn-LU","lbe":"lbe-Cyrl-RU","lbu":"lbu-Latn-ZZ","lbw":"lbw-Latn-ID","lcm":"lcm-Latn-ZZ","lcp":"lcp-Thai-CN","ldb":"ldb-Latn-ZZ","led":"led-Latn-ZZ","lee":"lee-Latn-ZZ","lem":"lem-Latn-ZZ","lep":"lep-Lepc-IN","leq":"leq-Latn-ZZ","leu":"leu-Latn-ZZ","lez":"lez-Cyrl-RU","lg":"lg-Latn-UG","lgg":"lgg-Latn-ZZ","li":"li-Latn-NL","lia":"lia-Latn-ZZ","lid":"lid-Latn-ZZ","lif":"lif-Deva-NP","lif-Limb":"lif-Limb-IN","lig":"lig-Latn-ZZ","lih":"lih-Latn-ZZ","lij":"lij-Latn-IT","lis":"lis-Lisu-CN","ljp":"ljp-Latn-ID","lki":"lki-Arab-IR","lkt":"lkt-Latn-US","lle":"lle-Latn-ZZ","lln":"lln-Latn-ZZ","lmn":"lmn-Telu-IN","lmo":"lmo-Latn-IT","lmp":"lmp-Latn-ZZ","ln":"ln-Latn-CD","lns":"lns-Latn-ZZ","lnu":"lnu-Latn-ZZ","lo":"lo-Laoo-LA","loj":"loj-Latn-ZZ","lok":"lok-Latn-ZZ","lol":"lol-Latn-CD","lor":"lor-Latn-ZZ","los":"los-Latn-ZZ","loz":"loz-Latn-ZM","lrc":"lrc-Arab-IR","lt":"lt-Latn-LT","ltg":"ltg-Latn-LV","lu":"lu-Latn-CD","lua":"lua-Latn-CD","luo":"luo-Latn-KE","luy":"luy-Latn-KE","luz":"luz-Arab-IR","lv":"lv-Latn-LV","lwl":"lwl-Thai-TH","lzh":"lzh-Hans-CN","lzz":"lzz-Latn-TR","mad":"mad-Latn-ID","maf":"maf-Latn-CM","mag":"mag-Deva-IN","mai":"mai-Deva-IN","mak":"mak-Latn-ID","man":"man-Latn-GM","man-GN":"man-Nkoo-GN","man-Nkoo":"man-Nkoo-GN","mas":"mas-Latn-KE","maw":"maw-Latn-ZZ","maz":"maz-Latn-MX","mbh":"mbh-Latn-ZZ","mbo":"mbo-Latn-ZZ","mbq":"mbq-Latn-ZZ","mbu":"mbu-Latn-ZZ","mbw":"mbw-Latn-ZZ","mci":"mci-Latn-ZZ","mcp":"mcp-Latn-ZZ","mcq":"mcq-Latn-ZZ","mcr":"mcr-Latn-ZZ","mcu":"mcu-Latn-ZZ","mda":"mda-Latn-ZZ","mde":"mde-Arab-ZZ","mdf":"mdf-Cyrl-RU","mdh":"mdh-Latn-PH","mdj":"mdj-Latn-ZZ","mdr":"mdr-Latn-ID","mdx":"mdx-Ethi-ZZ","med":"med-Latn-ZZ","mee":"mee-Latn-ZZ","mek":"mek-Latn-ZZ","men":"men-Latn-SL","mer":"mer-Latn-KE","met":"met-Latn-ZZ","meu":"meu-Latn-ZZ","mfa":"mfa-Arab-TH","mfe":"mfe-Latn-MU","mfn":"mfn-Latn-ZZ","mfo":"mfo-Latn-ZZ","mfq":"mfq-Latn-ZZ","mg":"mg-Latn-MG","mgh":"mgh-Latn-MZ","mgl":"mgl-Latn-ZZ","mgo":"mgo-Latn-CM","mgp":"mgp-Deva-NP","mgy":"mgy-Latn-TZ","mh":"mh-Latn-MH","mhi":"mhi-Latn-ZZ","mhl":"mhl-Latn-ZZ","mi":"mi-Latn-NZ","mif":"mif-Latn-ZZ","min":"min-Latn-ID","mis":"mis-Hatr-IQ","mis-Medf":"mis-Medf-NG","miw":"miw-Latn-ZZ","mk":"mk-Cyrl-MK","mki":"mki-Arab-ZZ","mkl":"mkl-Latn-ZZ","mkp":"mkp-Latn-ZZ","mkw":"mkw-Latn-ZZ","ml":"ml-Mlym-IN","mle":"mle-Latn-ZZ","mlp":"mlp-Latn-ZZ","mls":"mls-Latn-SD","mmo":"mmo-Latn-ZZ","mmu":"mmu-Latn-ZZ","mmx":"mmx-Latn-ZZ","mn":"mn-Cyrl-MN","mn-CN":"mn-Mong-CN","mn-Mong":"mn-Mong-CN","mna":"mna-Latn-ZZ","mnf":"mnf-Latn-ZZ","mni":"mni-Beng-IN","mnw":"mnw-Mymr-MM","mo":"mo-Latn-RO","moa":"moa-Latn-ZZ","moe":"moe-Latn-CA","moh":"moh-Latn-CA","mos":"mos-Latn-BF","mox":"mox-Latn-ZZ","mpp":"mpp-Latn-ZZ","mps":"mps-Latn-ZZ","mpt":"mpt-Latn-ZZ","mpx":"mpx-Latn-ZZ","mql":"mql-Latn-ZZ","mr":"mr-Deva-IN","mrd":"mrd-Deva-NP","mrj":"mrj-Cyrl-RU","mro":"mro-Mroo-BD","ms":"ms-Latn-MY","ms-CC":"ms-Arab-CC","ms-ID":"ms-Latn-ID","mt":"mt-Latn-MT","mtc":"mtc-Latn-ZZ","mtf":"mtf-Latn-ZZ","mti":"mti-Latn-ZZ","mtr":"mtr-Deva-IN","mua":"mua-Latn-CM","mur":"mur-Latn-ZZ","mus":"mus-Latn-US","mva":"mva-Latn-ZZ","mvn":"mvn-Latn-ZZ","mvy":"mvy-Arab-PK","mwk":"mwk-Latn-ML","mwr":"mwr-Deva-IN","mwv":"mwv-Latn-ID","mww":"mww-Hmnp-US","mxc":"mxc-Latn-ZW","mxm":"mxm-Latn-ZZ","my":"my-Mymr-MM","myk":"myk-Latn-ZZ","mym":"mym-Ethi-ZZ","myv":"myv-Cyrl-RU","myw":"myw-Latn-ZZ","myx":"myx-Latn-UG","myz":"myz-Mand-IR","mzk":"mzk-Latn-ZZ","mzm":"mzm-Latn-ZZ","mzn":"mzn-Arab-IR","mzp":"mzp-Latn-ZZ","mzw":"mzw-Latn-ZZ","mzz":"mzz-Latn-ZZ","na":"na-Latn-NR","nac":"nac-Latn-ZZ","naf":"naf-Latn-ZZ","nak":"nak-Latn-ZZ","nan":"nan-Hans-CN","nap":"nap-Latn-IT","naq":"naq-Latn-NA","nas":"nas-Latn-ZZ","nb":"nb-Latn-NO","nca":"nca-Latn-ZZ","nce":"nce-Latn-ZZ","ncf":"ncf-Latn-ZZ","nch":"nch-Latn-MX","nco":"nco-Latn-ZZ","ncu":"ncu-Latn-ZZ","nd":"nd-Latn-ZW","ndc":"ndc-Latn-MZ","nds":"nds-Latn-DE","ne":"ne-Deva-NP","neb":"neb-Latn-ZZ","new":"new-Deva-NP","nex":"nex-Latn-ZZ","nfr":"nfr-Latn-ZZ","ng":"ng-Latn-NA","nga":"nga-Latn-ZZ","ngb":"ngb-Latn-ZZ","ngl":"ngl-Latn-MZ","nhb":"nhb-Latn-ZZ","nhe":"nhe-Latn-MX","nhw":"nhw-Latn-MX","nif":"nif-Latn-ZZ","nii":"nii-Latn-ZZ","nij":"nij-Latn-ID","nin":"nin-Latn-ZZ","niu":"niu-Latn-NU","niy":"niy-Latn-ZZ","niz":"niz-Latn-ZZ","njo":"njo-Latn-IN","nkg":"nkg-Latn-ZZ","nko":"nko-Latn-ZZ","nl":"nl-Latn-NL","nmg":"nmg-Latn-CM","nmz":"nmz-Latn-ZZ","nn":"nn-Latn-NO","nnf":"nnf-Latn-ZZ","nnh":"nnh-Latn-CM","nnk":"nnk-Latn-ZZ","nnm":"nnm-Latn-ZZ","nnp":"nnp-Wcho-IN","no":"no-Latn-NO","nod":"nod-Lana-TH","noe":"noe-Deva-IN","non":"non-Runr-SE","nop":"nop-Latn-ZZ","nou":"nou-Latn-ZZ","nqo":"nqo-Nkoo-GN","nr":"nr-Latn-ZA","nrb":"nrb-Latn-ZZ","nsk":"nsk-Cans-CA","nsn":"nsn-Latn-ZZ","nso":"nso-Latn-ZA","nss":"nss-Latn-ZZ","ntm":"ntm-Latn-ZZ","ntr":"ntr-Latn-ZZ","nui":"nui-Latn-ZZ","nup":"nup-Latn-ZZ","nus":"nus-Latn-SS","nuv":"nuv-Latn-ZZ","nux":"nux-Latn-ZZ","nv":"nv-Latn-US","nwb":"nwb-Latn-ZZ","nxq":"nxq-Latn-CN","nxr":"nxr-Latn-ZZ","ny":"ny-Latn-MW","nym":"nym-Latn-TZ","nyn":"nyn-Latn-UG","nzi":"nzi-Latn-GH","oc":"oc-Latn-FR","ogc":"ogc-Latn-ZZ","okr":"okr-Latn-ZZ","okv":"okv-Latn-ZZ","om":"om-Latn-ET","ong":"ong-Latn-ZZ","onn":"onn-Latn-ZZ","ons":"ons-Latn-ZZ","opm":"opm-Latn-ZZ","or":"or-Orya-IN","oro":"oro-Latn-ZZ","oru":"oru-Arab-ZZ","os":"os-Cyrl-GE","osa":"osa-Osge-US","ota":"ota-Arab-ZZ","otk":"otk-Orkh-MN","ozm":"ozm-Latn-ZZ","pa":"pa-Guru-IN","pa-Arab":"pa-Arab-PK","pa-PK":"pa-Arab-PK","pag":"pag-Latn-PH","pal":"pal-Phli-IR","pal-Phlp":"pal-Phlp-CN","pam":"pam-Latn-PH","pap":"pap-Latn-AW","pau":"pau-Latn-PW","pbi":"pbi-Latn-ZZ","pcd":"pcd-Latn-FR","pcm":"pcm-Latn-NG","pdc":"pdc-Latn-US","pdt":"pdt-Latn-CA","ped":"ped-Latn-ZZ","peo":"peo-Xpeo-IR","pex":"pex-Latn-ZZ","pfl":"pfl-Latn-DE","phl":"phl-Arab-ZZ","phn":"phn-Phnx-LB","pil":"pil-Latn-ZZ","pip":"pip-Latn-ZZ","pka":"pka-Brah-IN","pko":"pko-Latn-KE","pl":"pl-Latn-PL","pla":"pla-Latn-ZZ","pms":"pms-Latn-IT","png":"png-Latn-ZZ","pnn":"pnn-Latn-ZZ","pnt":"pnt-Grek-GR","pon":"pon-Latn-FM","ppa":"ppa-Deva-IN","ppo":"ppo-Latn-ZZ","pra":"pra-Khar-PK","prd":"prd-Arab-IR","prg":"prg-Latn-001","ps":"ps-Arab-AF","pss":"pss-Latn-ZZ","pt":"pt-Latn-BR","ptp":"ptp-Latn-ZZ","puu":"puu-Latn-GA","pwa":"pwa-Latn-ZZ","qu":"qu-Latn-PE","quc":"quc-Latn-GT","qug":"qug-Latn-EC","rai":"rai-Latn-ZZ","raj":"raj-Deva-IN","rao":"rao-Latn-ZZ","rcf":"rcf-Latn-RE","rej":"rej-Latn-ID","rel":"rel-Latn-ZZ","res":"res-Latn-ZZ","rgn":"rgn-Latn-IT","rhg":"rhg-Arab-MM","ria":"ria-Latn-IN","rif":"rif-Tfng-MA","rif-NL":"rif-Latn-NL","rjs":"rjs-Deva-NP","rkt":"rkt-Beng-BD","rm":"rm-Latn-CH","rmf":"rmf-Latn-FI","rmo":"rmo-Latn-CH","rmt":"rmt-Arab-IR","rmu":"rmu-Latn-SE","rn":"rn-Latn-BI","rna":"rna-Latn-ZZ","rng":"rng-Latn-MZ","ro":"ro-Latn-RO","rob":"rob-Latn-ID","rof":"rof-Latn-TZ","roo":"roo-Latn-ZZ","rro":"rro-Latn-ZZ","rtm":"rtm-Latn-FJ","ru":"ru-Cyrl-RU","rue":"rue-Cyrl-UA","rug":"rug-Latn-SB","rw":"rw-Latn-RW","rwk":"rwk-Latn-TZ","rwo":"rwo-Latn-ZZ","ryu":"ryu-Kana-JP","sa":"sa-Deva-IN","saf":"saf-Latn-GH","sah":"sah-Cyrl-RU","saq":"saq-Latn-KE","sas":"sas-Latn-ID","sat":"sat-Olck-IN","sav":"sav-Latn-SN","saz":"saz-Saur-IN","sba":"sba-Latn-ZZ","sbe":"sbe-Latn-ZZ","sbp":"sbp-Latn-TZ","sc":"sc-Latn-IT","sck":"sck-Deva-IN","scl":"scl-Arab-ZZ","scn":"scn-Latn-IT","sco":"sco-Latn-GB","scs":"scs-Latn-CA","sd":"sd-Arab-PK","sd-Deva":"sd-Deva-IN","sd-Khoj":"sd-Khoj-IN","sd-Sind":"sd-Sind-IN","sdc":"sdc-Latn-IT","sdh":"sdh-Arab-IR","se":"se-Latn-NO","sef":"sef-Latn-CI","seh":"seh-Latn-MZ","sei":"sei-Latn-MX","ses":"ses-Latn-ML","sg":"sg-Latn-CF","sga":"sga-Ogam-IE","sgs":"sgs-Latn-LT","sgw":"sgw-Ethi-ZZ","sgz":"sgz-Latn-ZZ","shi":"shi-Tfng-MA","shk":"shk-Latn-ZZ","shn":"shn-Mymr-MM","shu":"shu-Arab-ZZ","si":"si-Sinh-LK","sid":"sid-Latn-ET","sig":"sig-Latn-ZZ","sil":"sil-Latn-ZZ","sim":"sim-Latn-ZZ","sjr":"sjr-Latn-ZZ","sk":"sk-Latn-SK","skc":"skc-Latn-ZZ","skr":"skr-Arab-PK","sks":"sks-Latn-ZZ","sl":"sl-Latn-SI","sld":"sld-Latn-ZZ","sli":"sli-Latn-PL","sll":"sll-Latn-ZZ","sly":"sly-Latn-ID","sm":"sm-Latn-WS","sma":"sma-Latn-SE","smj":"smj-Latn-SE","smn":"smn-Latn-FI","smp":"smp-Samr-IL","smq":"smq-Latn-ZZ","sms":"sms-Latn-FI","sn":"sn-Latn-ZW","snc":"snc-Latn-ZZ","snk":"snk-Latn-ML","snp":"snp-Latn-ZZ","snx":"snx-Latn-ZZ","sny":"sny-Latn-ZZ","so":"so-Latn-SO","sog":"sog-Sogd-UZ","sok":"sok-Latn-ZZ","soq":"soq-Latn-ZZ","sou":"sou-Thai-TH","soy":"soy-Latn-ZZ","spd":"spd-Latn-ZZ","spl":"spl-Latn-ZZ","sps":"sps-Latn-ZZ","sq":"sq-Latn-AL","sr":"sr-Cyrl-RS","sr-ME":"sr-Latn-ME","sr-RO":"sr-Latn-RO","sr-RU":"sr-Latn-RU","sr-TR":"sr-Latn-TR","srb":"srb-Sora-IN","srn":"srn-Latn-SR","srr":"srr-Latn-SN","srx":"srx-Deva-IN","ss":"ss-Latn-ZA","ssd":"ssd-Latn-ZZ","ssg":"ssg-Latn-ZZ","ssy":"ssy-Latn-ER","st":"st-Latn-ZA","stk":"stk-Latn-ZZ","stq":"stq-Latn-DE","su":"su-Latn-ID","sua":"sua-Latn-ZZ","sue":"sue-Latn-ZZ","suk":"suk-Latn-TZ","sur":"sur-Latn-ZZ","sus":"sus-Latn-GN","sv":"sv-Latn-SE","sw":"sw-Latn-TZ","swb":"swb-Arab-YT","swc":"swc-Latn-CD","swg":"swg-Latn-DE","swp":"swp-Latn-ZZ","swv":"swv-Deva-IN","sxn":"sxn-Latn-ID","sxw":"sxw-Latn-ZZ","syl":"syl-Beng-BD","syr":"syr-Syrc-IQ","szl":"szl-Latn-PL","ta":"ta-Taml-IN","taj":"taj-Deva-NP","tal":"tal-Latn-ZZ","tan":"tan-Latn-ZZ","taq":"taq-Latn-ZZ","tbc":"tbc-Latn-ZZ","tbd":"tbd-Latn-ZZ","tbf":"tbf-Latn-ZZ","tbg":"tbg-Latn-ZZ","tbo":"tbo-Latn-ZZ","tbw":"tbw-Latn-PH","tbz":"tbz-Latn-ZZ","tci":"tci-Latn-ZZ","tcy":"tcy-Knda-IN","tdd":"tdd-Tale-CN","tdg":"tdg-Deva-NP","tdh":"tdh-Deva-NP","tdu":"tdu-Latn-MY","te":"te-Telu-IN","ted":"ted-Latn-ZZ","tem":"tem-Latn-SL","teo":"teo-Latn-UG","tet":"tet-Latn-TL","tfi":"tfi-Latn-ZZ","tg":"tg-Cyrl-TJ","tg-Arab":"tg-Arab-PK","tg-PK":"tg-Arab-PK","tgc":"tgc-Latn-ZZ","tgo":"tgo-Latn-ZZ","tgu":"tgu-Latn-ZZ","th":"th-Thai-TH","thl":"thl-Deva-NP","thq":"thq-Deva-NP","thr":"thr-Deva-NP","ti":"ti-Ethi-ET","tif":"tif-Latn-ZZ","tig":"tig-Ethi-ER","tik":"tik-Latn-ZZ","tim":"tim-Latn-ZZ","tio":"tio-Latn-ZZ","tiv":"tiv-Latn-NG","tk":"tk-Latn-TM","tkl":"tkl-Latn-TK","tkr":"tkr-Latn-AZ","tkt":"tkt-Deva-NP","tl":"tl-Latn-PH","tlf":"tlf-Latn-ZZ","tlx":"tlx-Latn-ZZ","tly":"tly-Latn-AZ","tmh":"tmh-Latn-NE","tmy":"tmy-Latn-ZZ","tn":"tn-Latn-ZA","tnh":"tnh-Latn-ZZ","to":"to-Latn-TO","tof":"tof-Latn-ZZ","tog":"tog-Latn-MW","toq":"toq-Latn-ZZ","tpi":"tpi-Latn-PG","tpm":"tpm-Latn-ZZ","tpz":"tpz-Latn-ZZ","tqo":"tqo-Latn-ZZ","tr":"tr-Latn-TR","tru":"tru-Latn-TR","trv":"trv-Latn-TW","trw":"trw-Arab-ZZ","ts":"ts-Latn-ZA","tsd":"tsd-Grek-GR","tsf":"tsf-Deva-NP","tsg":"tsg-Latn-PH","tsj":"tsj-Tibt-BT","tsw":"tsw-Latn-ZZ","tt":"tt-Cyrl-RU","ttd":"ttd-Latn-ZZ","tte":"tte-Latn-ZZ","ttj":"ttj-Latn-UG","ttr":"ttr-Latn-ZZ","tts":"tts-Thai-TH","ttt":"ttt-Latn-AZ","tuh":"tuh-Latn-ZZ","tul":"tul-Latn-ZZ","tum":"tum-Latn-MW","tuq":"tuq-Latn-ZZ","tvd":"tvd-Latn-ZZ","tvl":"tvl-Latn-TV","tvu":"tvu-Latn-ZZ","twh":"twh-Latn-ZZ","twq":"twq-Latn-NE","txg":"txg-Tang-CN","ty":"ty-Latn-PF","tya":"tya-Latn-ZZ","tyv":"tyv-Cyrl-RU","tzm":"tzm-Latn-MA","ubu":"ubu-Latn-ZZ","udm":"udm-Cyrl-RU","ug":"ug-Arab-CN","ug-Cyrl":"ug-Cyrl-KZ","ug-KZ":"ug-Cyrl-KZ","ug-MN":"ug-Cyrl-MN","uga":"uga-Ugar-SY","uk":"uk-Cyrl-UA","uli":"uli-Latn-FM","umb":"umb-Latn-AO","und":"en-Latn-US","und-002":"en-Latn-NG","und-003":"en-Latn-US","und-005":"pt-Latn-BR","und-009":"en-Latn-AU","und-011":"en-Latn-NG","und-013":"es-Latn-MX","und-014":"sw-Latn-TZ","und-015":"ar-Arab-EG","und-017":"sw-Latn-CD","und-018":"en-Latn-ZA","und-019":"en-Latn-US","und-021":"en-Latn-US","und-029":"es-Latn-CU","und-030":"zh-Hans-CN","und-034":"hi-Deva-IN","und-035":"id-Latn-ID","und-039":"it-Latn-IT","und-053":"en-Latn-AU","und-054":"en-Latn-PG","und-057":"en-Latn-GU","und-061":"sm-Latn-WS","und-142":"zh-Hans-CN","und-143":"uz-Latn-UZ","und-145":"ar-Arab-SA","und-150":"ru-Cyrl-RU","und-151":"ru-Cyrl-RU","und-154":"en-Latn-GB","und-155":"de-Latn-DE","und-202":"en-Latn-NG","und-419":"es-Latn-419","und-AD":"ca-Latn-AD","und-Adlm":"ff-Adlm-GN","und-AE":"ar-Arab-AE","und-AF":"fa-Arab-AF","und-Aghb":"lez-Aghb-RU","und-Ahom":"aho-Ahom-IN","und-AL":"sq-Latn-AL","und-AM":"hy-Armn-AM","und-AO":"pt-Latn-AO","und-AQ":"und-Latn-AQ","und-AR":"es-Latn-AR","und-Arab":"ar-Arab-EG","und-Arab-CC":"ms-Arab-CC","und-Arab-CN":"ug-Arab-CN","und-Arab-GB":"ks-Arab-GB","und-Arab-ID":"ms-Arab-ID","und-Arab-IN":"ur-Arab-IN","und-Arab-KH":"cja-Arab-KH","und-Arab-MM":"rhg-Arab-MM","und-Arab-MN":"kk-Arab-MN","und-Arab-MU":"ur-Arab-MU","und-Arab-NG":"ha-Arab-NG","und-Arab-PK":"ur-Arab-PK","und-Arab-TG":"apd-Arab-TG","und-Arab-TH":"mfa-Arab-TH","und-Arab-TJ":"fa-Arab-TJ","und-Arab-TR":"az-Arab-TR","und-Arab-YT":"swb-Arab-YT","und-Armi":"arc-Armi-IR","und-Armn":"hy-Armn-AM","und-AS":"sm-Latn-AS","und-AT":"de-Latn-AT","und-Avst":"ae-Avst-IR","und-AW":"nl-Latn-AW","und-AX":"sv-Latn-AX","und-AZ":"az-Latn-AZ","und-BA":"bs-Latn-BA","und-Bali":"ban-Bali-ID","und-Bamu":"bax-Bamu-CM","und-Bass":"bsq-Bass-LR","und-Batk":"bbc-Batk-ID","und-BD":"bn-Beng-BD","und-BE":"nl-Latn-BE","und-Beng":"bn-Beng-BD","und-BF":"fr-Latn-BF","und-BG":"bg-Cyrl-BG","und-BH":"ar-Arab-BH","und-Bhks":"sa-Bhks-IN","und-BI":"rn-Latn-BI","und-BJ":"fr-Latn-BJ","und-BL":"fr-Latn-BL","und-BN":"ms-Latn-BN","und-BO":"es-Latn-BO","und-Bopo":"zh-Bopo-TW","und-BQ":"pap-Latn-BQ","und-BR":"pt-Latn-BR","und-Brah":"pka-Brah-IN","und-Brai":"fr-Brai-FR","und-BT":"dz-Tibt-BT","und-Bugi":"bug-Bugi-ID","und-Buhd":"bku-Buhd-PH","und-BV":"und-Latn-BV","und-BY":"be-Cyrl-BY","und-Cakm":"ccp-Cakm-BD","und-Cans":"cr-Cans-CA","und-Cari":"xcr-Cari-TR","und-CD":"sw-Latn-CD","und-CF":"fr-Latn-CF","und-CG":"fr-Latn-CG","und-CH":"de-Latn-CH","und-Cham":"cjm-Cham-VN","und-Cher":"chr-Cher-US","und-Chrs":"xco-Chrs-UZ","und-CI":"fr-Latn-CI","und-CL":"es-Latn-CL","und-CM":"fr-Latn-CM","und-CN":"zh-Hans-CN","und-CO":"es-Latn-CO","und-Copt":"cop-Copt-EG","und-CP":"und-Latn-CP","und-Cprt":"grc-Cprt-CY","und-CR":"es-Latn-CR","und-CU":"es-Latn-CU","und-CV":"pt-Latn-CV","und-CW":"pap-Latn-CW","und-CY":"el-Grek-CY","und-Cyrl":"ru-Cyrl-RU","und-Cyrl-AL":"mk-Cyrl-AL","und-Cyrl-BA":"sr-Cyrl-BA","und-Cyrl-GE":"ab-Cyrl-GE","und-Cyrl-GR":"mk-Cyrl-GR","und-Cyrl-MD":"uk-Cyrl-MD","und-Cyrl-RO":"bg-Cyrl-RO","und-Cyrl-SK":"uk-Cyrl-SK","und-Cyrl-TR":"kbd-Cyrl-TR","und-Cyrl-XK":"sr-Cyrl-XK","und-CZ":"cs-Latn-CZ","und-DE":"de-Latn-DE","und-Deva":"hi-Deva-IN","und-Deva-BT":"ne-Deva-BT","und-Deva-FJ":"hif-Deva-FJ","und-Deva-MU":"bho-Deva-MU","und-Deva-PK":"btv-Deva-PK","und-Diak":"dv-Diak-MV","und-DJ":"aa-Latn-DJ","und-DK":"da-Latn-DK","und-DO":"es-Latn-DO","und-Dogr":"doi-Dogr-IN","und-Dupl":"fr-Dupl-FR","und-DZ":"ar-Arab-DZ","und-EA":"es-Latn-EA","und-EC":"es-Latn-EC","und-EE":"et-Latn-EE","und-EG":"ar-Arab-EG","und-Egyp":"egy-Egyp-EG","und-EH":"ar-Arab-EH","und-Elba":"sq-Elba-AL","und-Elym":"arc-Elym-IR","und-ER":"ti-Ethi-ER","und-ES":"es-Latn-ES","und-ET":"am-Ethi-ET","und-Ethi":"am-Ethi-ET","und-EU":"en-Latn-GB","und-EZ":"de-Latn-EZ","und-FI":"fi-Latn-FI","und-FO":"fo-Latn-FO","und-FR":"fr-Latn-FR","und-GA":"fr-Latn-GA","und-GE":"ka-Geor-GE","und-Geor":"ka-Geor-GE","und-GF":"fr-Latn-GF","und-GH":"ak-Latn-GH","und-GL":"kl-Latn-GL","und-Glag":"cu-Glag-BG","und-GN":"fr-Latn-GN","und-Gong":"wsg-Gong-IN","und-Gonm":"esg-Gonm-IN","und-Goth":"got-Goth-UA","und-GP":"fr-Latn-GP","und-GQ":"es-Latn-GQ","und-GR":"el-Grek-GR","und-Gran":"sa-Gran-IN","und-Grek":"el-Grek-GR","und-Grek-TR":"bgx-Grek-TR","und-GS":"und-Latn-GS","und-GT":"es-Latn-GT","und-Gujr":"gu-Gujr-IN","und-Guru":"pa-Guru-IN","und-GW":"pt-Latn-GW","und-Hanb":"zh-Hanb-TW","und-Hang":"ko-Hang-KR","und-Hani":"zh-Hani-CN","und-Hano":"hnn-Hano-PH","und-Hans":"zh-Hans-CN","und-Hant":"zh-Hant-TW","und-Hatr":"mis-Hatr-IQ","und-Hebr":"he-Hebr-IL","und-Hebr-CA":"yi-Hebr-CA","und-Hebr-GB":"yi-Hebr-GB","und-Hebr-SE":"yi-Hebr-SE","und-Hebr-UA":"yi-Hebr-UA","und-Hebr-US":"yi-Hebr-US","und-Hira":"ja-Hira-JP","und-HK":"zh-Hant-HK","und-Hluw":"hlu-Hluw-TR","und-HM":"und-Latn-HM","und-Hmng":"hnj-Hmng-LA","und-Hmnp":"mww-Hmnp-US","und-HN":"es-Latn-HN","und-HR":"hr-Latn-HR","und-HT":"ht-Latn-HT","und-HU":"hu-Latn-HU","und-Hung":"hu-Hung-HU","und-IC":"es-Latn-IC","und-ID":"id-Latn-ID","und-IL":"he-Hebr-IL","und-IN":"hi-Deva-IN","und-IQ":"ar-Arab-IQ","und-IR":"fa-Arab-IR","und-IS":"is-Latn-IS","und-IT":"it-Latn-IT","und-Ital":"ett-Ital-IT","und-Jamo":"ko-Jamo-KR","und-Java":"jv-Java-ID","und-JO":"ar-Arab-JO","und-JP":"ja-Jpan-JP","und-Jpan":"ja-Jpan-JP","und-Kali":"eky-Kali-MM","und-Kana":"ja-Kana-JP","und-KE":"sw-Latn-KE","und-KG":"ky-Cyrl-KG","und-KH":"km-Khmr-KH","und-Khar":"pra-Khar-PK","und-Khmr":"km-Khmr-KH","und-Khoj":"sd-Khoj-IN","und-Kits":"zkt-Kits-CN","und-KM":"ar-Arab-KM","und-Knda":"kn-Knda-IN","und-Kore":"ko-Kore-KR","und-KP":"ko-Kore-KP","und-KR":"ko-Kore-KR","und-Kthi":"bho-Kthi-IN","und-KW":"ar-Arab-KW","und-KZ":"ru-Cyrl-KZ","und-LA":"lo-Laoo-LA","und-Lana":"nod-Lana-TH","und-Laoo":"lo-Laoo-LA","und-Latn-AF":"tk-Latn-AF","und-Latn-AM":"ku-Latn-AM","und-Latn-CN":"za-Latn-CN","und-Latn-CY":"tr-Latn-CY","und-Latn-DZ":"fr-Latn-DZ","und-Latn-ET":"en-Latn-ET","und-Latn-GE":"ku-Latn-GE","und-Latn-IR":"tk-Latn-IR","und-Latn-KM":"fr-Latn-KM","und-Latn-MA":"fr-Latn-MA","und-Latn-MK":"sq-Latn-MK","und-Latn-MM":"kac-Latn-MM","und-Latn-MO":"pt-Latn-MO","und-Latn-MR":"fr-Latn-MR","und-Latn-RU":"krl-Latn-RU","und-Latn-SY":"fr-Latn-SY","und-Latn-TN":"fr-Latn-TN","und-Latn-TW":"trv-Latn-TW","und-Latn-UA":"pl-Latn-UA","und-LB":"ar-Arab-LB","und-Lepc":"lep-Lepc-IN","und-LI":"de-Latn-LI","und-Limb":"lif-Limb-IN","und-Lina":"lab-Lina-GR","und-Linb":"grc-Linb-GR","und-Lisu":"lis-Lisu-CN","und-LK":"si-Sinh-LK","und-LS":"st-Latn-LS","und-LT":"lt-Latn-LT","und-LU":"fr-Latn-LU","und-LV":"lv-Latn-LV","und-LY":"ar-Arab-LY","und-Lyci":"xlc-Lyci-TR","und-Lydi":"xld-Lydi-TR","und-MA":"ar-Arab-MA","und-Mahj":"hi-Mahj-IN","und-Maka":"mak-Maka-ID","und-Mand":"myz-Mand-IR","und-Mani":"xmn-Mani-CN","und-Marc":"bo-Marc-CN","und-MC":"fr-Latn-MC","und-MD":"ro-Latn-MD","und-ME":"sr-Latn-ME","und-Medf":"mis-Medf-NG","und-Mend":"men-Mend-SL","und-Merc":"xmr-Merc-SD","und-Mero":"xmr-Mero-SD","und-MF":"fr-Latn-MF","und-MG":"mg-Latn-MG","und-MK":"mk-Cyrl-MK","und-ML":"bm-Latn-ML","und-Mlym":"ml-Mlym-IN","und-MM":"my-Mymr-MM","und-MN":"mn-Cyrl-MN","und-MO":"zh-Hant-MO","und-Modi":"mr-Modi-IN","und-Mong":"mn-Mong-CN","und-MQ":"fr-Latn-MQ","und-MR":"ar-Arab-MR","und-Mroo":"mro-Mroo-BD","und-MT":"mt-Latn-MT","und-Mtei":"mni-Mtei-IN","und-MU":"mfe-Latn-MU","und-Mult":"skr-Mult-PK","und-MV":"dv-Thaa-MV","und-MX":"es-Latn-MX","und-MY":"ms-Latn-MY","und-Mymr":"my-Mymr-MM","und-Mymr-IN":"kht-Mymr-IN","und-Mymr-TH":"mnw-Mymr-TH","und-MZ":"pt-Latn-MZ","und-NA":"af-Latn-NA","und-Nand":"sa-Nand-IN","und-Narb":"xna-Narb-SA","und-Nbat":"arc-Nbat-JO","und-NC":"fr-Latn-NC","und-NE":"ha-Latn-NE","und-Newa":"new-Newa-NP","und-NI":"es-Latn-NI","und-Nkoo":"man-Nkoo-GN","und-NL":"nl-Latn-NL","und-NO":"nb-Latn-NO","und-NP":"ne-Deva-NP","und-Nshu":"zhx-Nshu-CN","und-Ogam":"sga-Ogam-IE","und-Olck":"sat-Olck-IN","und-OM":"ar-Arab-OM","und-Orkh":"otk-Orkh-MN","und-Orya":"or-Orya-IN","und-Osge":"osa-Osge-US","und-Osma":"so-Osma-SO","und-PA":"es-Latn-PA","und-Palm":"arc-Palm-SY","und-Pauc":"ctd-Pauc-MM","und-PE":"es-Latn-PE","und-Perm":"kv-Perm-RU","und-PF":"fr-Latn-PF","und-PG":"tpi-Latn-PG","und-PH":"fil-Latn-PH","und-Phag":"lzh-Phag-CN","und-Phli":"pal-Phli-IR","und-Phlp":"pal-Phlp-CN","und-Phnx":"phn-Phnx-LB","und-PK":"ur-Arab-PK","und-PL":"pl-Latn-PL","und-Plrd":"hmd-Plrd-CN","und-PM":"fr-Latn-PM","und-PR":"es-Latn-PR","und-Prti":"xpr-Prti-IR","und-PS":"ar-Arab-PS","und-PT":"pt-Latn-PT","und-PW":"pau-Latn-PW","und-PY":"gn-Latn-PY","und-QA":"ar-Arab-QA","und-QO":"en-Latn-DG","und-RE":"fr-Latn-RE","und-Rjng":"rej-Rjng-ID","und-RO":"ro-Latn-RO","und-Rohg":"rhg-Rohg-MM","und-RS":"sr-Cyrl-RS","und-RU":"ru-Cyrl-RU","und-Runr":"non-Runr-SE","und-RW":"rw-Latn-RW","und-SA":"ar-Arab-SA","und-Samr":"smp-Samr-IL","und-Sarb":"xsa-Sarb-YE","und-Saur":"saz-Saur-IN","und-SC":"fr-Latn-SC","und-SD":"ar-Arab-SD","und-SE":"sv-Latn-SE","und-Sgnw":"ase-Sgnw-US","und-Shaw":"en-Shaw-GB","und-Shrd":"sa-Shrd-IN","und-SI":"sl-Latn-SI","und-Sidd":"sa-Sidd-IN","und-Sind":"sd-Sind-IN","und-Sinh":"si-Sinh-LK","und-SJ":"nb-Latn-SJ","und-SK":"sk-Latn-SK","und-SM":"it-Latn-SM","und-SN":"fr-Latn-SN","und-SO":"so-Latn-SO","und-Sogd":"sog-Sogd-UZ","und-Sogo":"sog-Sogo-UZ","und-Sora":"srb-Sora-IN","und-Soyo":"cmg-Soyo-MN","und-SR":"nl-Latn-SR","und-ST":"pt-Latn-ST","und-Sund":"su-Sund-ID","und-SV":"es-Latn-SV","und-SY":"ar-Arab-SY","und-Sylo":"syl-Sylo-BD","und-Syrc":"syr-Syrc-IQ","und-Tagb":"tbw-Tagb-PH","und-Takr":"doi-Takr-IN","und-Tale":"tdd-Tale-CN","und-Talu":"khb-Talu-CN","und-Taml":"ta-Taml-IN","und-Tang":"txg-Tang-CN","und-Tavt":"blt-Tavt-VN","und-TD":"fr-Latn-TD","und-Telu":"te-Telu-IN","und-TF":"fr-Latn-TF","und-Tfng":"zgh-Tfng-MA","und-TG":"fr-Latn-TG","und-Tglg":"fil-Tglg-PH","und-TH":"th-Thai-TH","und-Thaa":"dv-Thaa-MV","und-Thai":"th-Thai-TH","und-Thai-CN":"lcp-Thai-CN","und-Thai-KH":"kdt-Thai-KH","und-Thai-LA":"kdt-Thai-LA","und-Tibt":"bo-Tibt-CN","und-Tirh":"mai-Tirh-IN","und-TJ":"tg-Cyrl-TJ","und-TK":"tkl-Latn-TK","und-TL":"pt-Latn-TL","und-TM":"tk-Latn-TM","und-TN":"ar-Arab-TN","und-TO":"to-Latn-TO","und-TR":"tr-Latn-TR","und-TV":"tvl-Latn-TV","und-TW":"zh-Hant-TW","und-TZ":"sw-Latn-TZ","und-UA":"uk-Cyrl-UA","und-UG":"sw-Latn-UG","und-Ugar":"uga-Ugar-SY","und-UY":"es-Latn-UY","und-UZ":"uz-Latn-UZ","und-VA":"it-Latn-VA","und-Vaii":"vai-Vaii-LR","und-VE":"es-Latn-VE","und-VN":"vi-Latn-VN","und-VU":"bi-Latn-VU","und-Wara":"hoc-Wara-IN","und-Wcho":"nnp-Wcho-IN","und-WF":"fr-Latn-WF","und-WS":"sm-Latn-WS","und-XK":"sq-Latn-XK","und-Xpeo":"peo-Xpeo-IR","und-Xsux":"akk-Xsux-IQ","und-YE":"ar-Arab-YE","und-Yezi":"ku-Yezi-GE","und-Yiii":"ii-Yiii-CN","und-YT":"fr-Latn-YT","und-Zanb":"cmg-Zanb-MN","und-ZW":"sn-Latn-ZW","unr":"unr-Beng-IN","unr-Deva":"unr-Deva-NP","unr-NP":"unr-Deva-NP","unx":"unx-Beng-IN","uok":"uok-Latn-ZZ","ur":"ur-Arab-PK","uri":"uri-Latn-ZZ","urt":"urt-Latn-ZZ","urw":"urw-Latn-ZZ","usa":"usa-Latn-ZZ","utr":"utr-Latn-ZZ","uvh":"uvh-Latn-ZZ","uvl":"uvl-Latn-ZZ","uz":"uz-Latn-UZ","uz-AF":"uz-Arab-AF","uz-Arab":"uz-Arab-AF","uz-CN":"uz-Cyrl-CN","vag":"vag-Latn-ZZ","vai":"vai-Vaii-LR","van":"van-Latn-ZZ","ve":"ve-Latn-ZA","vec":"vec-Latn-IT","vep":"vep-Latn-RU","vi":"vi-Latn-VN","vic":"vic-Latn-SX","viv":"viv-Latn-ZZ","vls":"vls-Latn-BE","vmf":"vmf-Latn-DE","vmw":"vmw-Latn-MZ","vo":"vo-Latn-001","vot":"vot-Latn-RU","vro":"vro-Latn-EE","vun":"vun-Latn-TZ","vut":"vut-Latn-ZZ","wa":"wa-Latn-BE","wae":"wae-Latn-CH","waj":"waj-Latn-ZZ","wal":"wal-Ethi-ET","wan":"wan-Latn-ZZ","war":"war-Latn-PH","wbp":"wbp-Latn-AU","wbq":"wbq-Telu-IN","wbr":"wbr-Deva-IN","wci":"wci-Latn-ZZ","wer":"wer-Latn-ZZ","wgi":"wgi-Latn-ZZ","whg":"whg-Latn-ZZ","wib":"wib-Latn-ZZ","wiu":"wiu-Latn-ZZ","wiv":"wiv-Latn-ZZ","wja":"wja-Latn-ZZ","wji":"wji-Latn-ZZ","wls":"wls-Latn-WF","wmo":"wmo-Latn-ZZ","wnc":"wnc-Latn-ZZ","wni":"wni-Arab-KM","wnu":"wnu-Latn-ZZ","wo":"wo-Latn-SN","wob":"wob-Latn-ZZ","wos":"wos-Latn-ZZ","wrs":"wrs-Latn-ZZ","wsg":"wsg-Gong-IN","wsk":"wsk-Latn-ZZ","wtm":"wtm-Deva-IN","wuu":"wuu-Hans-CN","wuv":"wuv-Latn-ZZ","wwa":"wwa-Latn-ZZ","xav":"xav-Latn-BR","xbi":"xbi-Latn-ZZ","xco":"xco-Chrs-UZ","xcr":"xcr-Cari-TR","xes":"xes-Latn-ZZ","xh":"xh-Latn-ZA","xla":"xla-Latn-ZZ","xlc":"xlc-Lyci-TR","xld":"xld-Lydi-TR","xmf":"xmf-Geor-GE","xmn":"xmn-Mani-CN","xmr":"xmr-Merc-SD","xna":"xna-Narb-SA","xnr":"xnr-Deva-IN","xog":"xog-Latn-UG","xon":"xon-Latn-ZZ","xpr":"xpr-Prti-IR","xrb":"xrb-Latn-ZZ","xsa":"xsa-Sarb-YE","xsi":"xsi-Latn-ZZ","xsm":"xsm-Latn-ZZ","xsr":"xsr-Deva-NP","xwe":"xwe-Latn-ZZ","yam":"yam-Latn-ZZ","yao":"yao-Latn-MZ","yap":"yap-Latn-FM","yas":"yas-Latn-ZZ","yat":"yat-Latn-ZZ","yav":"yav-Latn-CM","yay":"yay-Latn-ZZ","yaz":"yaz-Latn-ZZ","yba":"yba-Latn-ZZ","ybb":"ybb-Latn-CM","yby":"yby-Latn-ZZ","yer":"yer-Latn-ZZ","ygr":"ygr-Latn-ZZ","ygw":"ygw-Latn-ZZ","yi":"yi-Hebr-001","yko":"yko-Latn-ZZ","yle":"yle-Latn-ZZ","ylg":"ylg-Latn-ZZ","yll":"yll-Latn-ZZ","yml":"yml-Latn-ZZ","yo":"yo-Latn-NG","yon":"yon-Latn-ZZ","yrb":"yrb-Latn-ZZ","yre":"yre-Latn-ZZ","yrl":"yrl-Latn-BR","yss":"yss-Latn-ZZ","yua":"yua-Latn-MX","yue":"yue-Hant-HK","yue-CN":"yue-Hans-CN","yue-Hans":"yue-Hans-CN","yuj":"yuj-Latn-ZZ","yut":"yut-Latn-ZZ","yuw":"yuw-Latn-ZZ","za":"za-Latn-CN","zag":"zag-Latn-SD","zdj":"zdj-Arab-KM","zea":"zea-Latn-NL","zgh":"zgh-Tfng-MA","zh":"zh-Hans-CN","zh-AU":"zh-Hant-AU","zh-BN":"zh-Hant-BN","zh-Bopo":"zh-Bopo-TW","zh-GB":"zh-Hant-GB","zh-GF":"zh-Hant-GF","zh-Hanb":"zh-Hanb-TW","zh-Hant":"zh-Hant-TW","zh-HK":"zh-Hant-HK","zh-ID":"zh-Hant-ID","zh-MO":"zh-Hant-MO","zh-MY":"zh-Hant-MY","zh-PA":"zh-Hant-PA","zh-PF":"zh-Hant-PF","zh-PH":"zh-Hant-PH","zh-SR":"zh-Hant-SR","zh-TH":"zh-Hant-TH","zh-TW":"zh-Hant-TW","zh-US":"zh-Hant-US","zh-VN":"zh-Hant-VN","zhx":"zhx-Nshu-CN","zia":"zia-Latn-ZZ","zkt":"zkt-Kits-CN","zlm":"zlm-Latn-TG","zmi":"zmi-Latn-MY","zne":"zne-Latn-ZZ","zu":"zu-Latn-ZA","zza":"zza-Latn-TR"}}}')}},n={};function i(e){if(n[e])return n[e].exports;var t=n[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.m=r,i.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);i.r(r);var n={};if(2&t&&"object"==typeof e&&e)for(const i in e)n[i]=()=>e[i];return n.default=()=>e,i.d(r,n),r},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"chunk."+{113:"5e1f869de09bdc515bec",1882:"022486ebdbac4b653567",2934:"d4e4a57200d9068a2233",4971:"9a031933e95ca63a52ea",6900:"5ce74d2553846ce1c5c6"}[e]+".js",i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="home-assistant-frontend:",i.l=(r,n,o)=>{if(e[r])e[r].push(n);else{var a,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",t+o),a.src=r),e[r]=[n];var d=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var i=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/frontend_latest/",(()=>{i.b=document.baseURI||self.location.href;var e={8818:0};i.f.j=(t,r)=>{var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>{n=e[t]=[r,i]}));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t)}};var t=self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[],r=t.push.bind(t);t.push=t=>{for(var n,o,[a,s,l]=t,c=0,u=[];c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&u.push(e[o][0]),e[o]=0;for(n in s)i.o(s,n)&&(i.m[n]=s[n]);for(l&&l(i),r(t);u.length;)u.shift()()}})(),(()=>{"use strict";i(78977),i(36760);self.fetch||(self.fetch=function(e,t){return t=t||{},new Promise(((r,n)=>{const i=new XMLHttpRequest,o=[],a=[],s={},l=()=>({ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:()=>Promise.resolve(i.responseText),json:()=>Promise.resolve(JSON.parse(i.responseText)),blob:()=>Promise.resolve(new Blob([i.response])),clone:l,headers:{keys:()=>o,entries:()=>a,get:e=>s[e.toLowerCase()],has:e=>e.toLowerCase()in s}});i.open(t.method||"get",e,!0),i.onload=()=>{i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,((e,t,r)=>{o.push(t=t.toLowerCase()),a.push([t,r]),s[t]=s[t]?`${s[t]},${r}`:r})),r(l())},i.onerror=n,i.withCredentials="include"==t.credentials;for(const e in t.headers)i.setRequestHeader(e,t.headers[e]);i.send(t.body||null)}))});i(58556),i(7151);[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(e){Object.prototype.hasOwnProperty.call(e,"append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){const t=document.createDocumentFragment();e.forEach((function(e){const r=e instanceof Node;t.appendChild(r?e:document.createTextNode(String(e)))})),this.appendChild(t)}})}));i(37846),i(26047),i(42173);var e=i(15652);location.protocol,location.host;var t=i(61271),r=i(47181);const n=async(e,t=!0)=>{if(!("serviceWorker"in navigator)||"https:"!==location.protocol&&"localhost"!==location.hostname)return;navigator.serviceWorker.addEventListener("controllerchange",(()=>{location.reload()}));const n=await navigator.serviceWorker.register("/service_worker.js");t&&n.addEventListener("updatefound",(()=>{const t=n.installing;t&&t.addEventListener("statechange",(()=>{var n,i;"installed"===t.state&&navigator.serviceWorker.controller&&(n=e,i={message:"A new version of the frontend is available.",action:{action:()=>t.postMessage({type:"skipWaiting"}),text:"reload"},duration:0,dismissable:!1},(0,r.B)(n,"hass-notification",i))}))}))};function o(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}const a=e.iv`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`;let s=class extends e.oi{render(){return e.dy`<slot></slot>`}};s.styles=a,s=function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}([(0,e.Mo)("mwc-icon")],s);function l(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}let c=!1;const u=()=>{},d={get passive(){return c=!0,!1}};document.addEventListener("x",u,d),document.removeEventListener("x",u);class p extends e.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}var h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var f=function(){return(f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var m=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}();var v={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},y={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},g={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var b=["touchstart","pointerdown","mousedown","keydown"],_=["touchend","pointerup","mouseup","contextmenu"],w=[];const k=function(e){function t(r){var n=e.call(this,f(f({},t.defaultAdapter),r))||this;return n.activationAnimationHasEnded_=!1,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.fgScale_="0",n.frame_={width:0,height:0},n.initialSize_=0,n.layoutFrame_=0,n.maxRadius_=0,n.unboundedCoords_={left:0,top:0},n.activationState_=n.defaultActivationState_(),n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n.activateHandler_=function(e){return n.activate_(e)},n.deactivateHandler_=function(){return n.deactivate_()},n.focusHandler_=function(){return n.handleFocus()},n.blurHandler_=function(){return n.handleBlur()},n.resizeHandler_=function(){return n.layout()},n}return function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return v},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple_();if(this.registerRootHandlers_(r),r){var n=t.cssClasses,i=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(o),e.layoutInternal_())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,n=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(n),e.adapter.removeClass(i),e.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},t.prototype.activate=function(e){this.activate_(e)},t.prototype.deactivate=function(){this.deactivate_()},t.prototype.layout=function(){var e=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){e.layoutInternal_(),e.layoutFrame_=0}))},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers_=function(e){var t=this;e&&(b.forEach((function(e){t.adapter.registerInteractionHandler(e,t.activateHandler_)})),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},t.prototype.registerDeactivationHandlers_=function(e){var t=this;"keydown"===e.type?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):_.forEach((function(e){t.adapter.registerDocumentInteractionHandler(e,t.deactivateHandler_)}))},t.prototype.deregisterRootHandlers_=function(){var e=this;b.forEach((function(t){e.adapter.deregisterInteractionHandler(t,e.activateHandler_)})),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},t.prototype.deregisterDeactivationHandlers_=function(){var e=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),_.forEach((function(t){e.adapter.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)}))},t.prototype.removeCssVars_=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activate_=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState_;if(!r.isActivated){var n=this.previousActivationEvent_;if(!(n&&void 0!==e&&n.type!==e.type))r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&w.length>0&&w.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState_():(void 0!==e&&(w.push(e.target),this.registerDeactivationHandlers_(e)),r.wasElementMadeActive=this.checkElementMadeActive_(e),r.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){w=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive_(e),r.wasElementMadeActive&&t.animateActivation_()),r.wasElementMadeActive||(t.activationState_=t.defaultActivationState_())})))}}},t.prototype.checkElementMadeActive_=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation_=function(){var e=this,r=t.strings,n=r.VAR_FG_TRANSLATE_START,i=r.VAR_FG_TRANSLATE_END,o=t.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,l=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var c="",u="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates_(),p=d.startPoint,h=d.endPoint;c=p.x+"px, "+p.y+"px",u=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(n,c),this.adapter.updateCssVariable(i,u),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer_=setTimeout((function(){return e.activationTimerCallback_()}),l)},t.prototype.getFgTranslationCoordinates_=function(){var e,t=this.activationState_,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,r){if(!e)return{x:0,y:0};var n,i,o=t.x,a=t.y,s=o+r.left,l=a+r.top;if("touchstart"===e.type){var c=e;n=c.changedTouches[0].pageX-s,i=c.changedTouches[0].pageY-l}else{var u=e;n=u.pageX-s,i=u.pageY-l}return{x:n,y:i}}(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:e.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},t.prototype.runDeactivationUXLogicIfReady_=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,n=this.activationState_,i=n.hasDeactivationUXRun,o=n.isActivated;(i||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer_=setTimeout((function(){e.adapter.removeClass(r)}),g.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses_=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState_=function(){var e=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return e.previousActivationEvent_=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivate_=function(){var e=this,t=this.activationState_;if(t.isActivated){var r=f({},t);t.isProgrammatic?(requestAnimationFrame((function(){return e.animateDeactivation_(r)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(r),e.resetActivationState_()})))}},t.prototype.animateDeactivation_=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&this.runDeactivationUXLogicIfReady_()},t.prototype.layoutInternal_=function(){var e=this;this.frame_=this.adapter.computeBoundingRect();var r=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(e.frame_.width,2)+Math.pow(e.frame_.height,2))+t.numbers.PADDING;var n=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&n%2!=0?this.initialSize_=n-1:this.initialSize_=n,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},t.prototype.updateLayoutCssVars_=function(){var e=t.strings,r=e.VAR_FG_SIZE,n=e.VAR_LEFT,i=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize_+"px"),this.adapter.updateCssVariable(o,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(n,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords_.top+"px"))},t}(m);var x=i(94707);class E{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;const t=(e.getAttribute("class")||"").split(/\s+/);for(const r of t)this.classes.add(r)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){let e="";this.classes.forEach((t=>e+=t+" ")),this.element.setAttribute("class",e)}}}const A=new WeakMap,S=(0,x.XM)((e=>t=>{if(!(t instanceof x._l)||t instanceof x.sL||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");const{committer:r}=t,{element:n}=r;let i=A.get(t);void 0===i&&(n.setAttribute("class",r.strings.join(" ")),A.set(t,i=new Set));const o=n.classList||new E(n);i.forEach((t=>{t in e||(o.remove(t),i.delete(t))}));for(const a in e){const t=e[a];t!=i.has(a)&&(t?(o.add(a),i.add(a)):(o.remove(a),i.delete(a)))}"function"==typeof o.commit&&o.commit()})),L=new WeakMap,C=(0,x.XM)((e=>t=>{if(!(t instanceof x._l)||t instanceof x.sL||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");const{committer:r}=t,{style:n}=r.element;let i=L.get(t);void 0===i&&(n.cssText=r.strings.join(" "),L.set(t,i=new Set)),i.forEach((t=>{t in e||(i.delete(t),-1===t.indexOf("-")?n[t]=null:n.removeProperty(t))}));for(const o in e)i.add(o),-1===o.indexOf("-")?n[o]=e[o]:n.setProperty(o,e[o])}));class P extends p{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=k}get isActive(){return(this.parentElement||this).matches(":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation((()=>{this.mdcFoundation.activate(e)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(e){this.mdcFoundation?e():this.updateComplete.then(e)}render(){const t={"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,hover:this.hovering,primary:this.primary,accent:this.accent,disabled:this.disabled,activated:this.activated,selected:this.selected};return e.dy`
<div class="mdc-ripple-surface mdc-ripple-upgraded ${S(t)}"
style="${C({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}l([(0,e.IO)(".mdc-ripple-surface")],P.prototype,"mdcRoot",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"primary",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"accent",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"unbounded",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"disabled",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"activated",void 0),l([(0,e.Cb)({type:Boolean})],P.prototype,"selected",void 0),l([(0,e.sz)()],P.prototype,"hovering",void 0),l([(0,e.sz)()],P.prototype,"bgFocused",void 0),l([(0,e.sz)()],P.prototype,"fgActivation",void 0),l([(0,e.sz)()],P.prototype,"fgDeactivation",void 0),l([(0,e.sz)()],P.prototype,"fgScale",void 0),l([(0,e.sz)()],P.prototype,"fgSize",void 0),l([(0,e.sz)()],P.prototype,"translateStart",void 0),l([(0,e.sz)()],P.prototype,"translateEnd",void 0),l([(0,e.sz)()],P.prototype,"leftPos",void 0),l([(0,e.sz)()],P.prototype,"topPos",void 0);const T=e.iv`:host{display:block;position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host .primary{--mdc-ripple-color: var(--mdc-theme-primary, #6200ee)}:host .accent{--mdc-ripple-color: var( --mdc-theme-secondary, #018786 )}:host .mdc-ripple-surface{top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden;--mdc-ripple-fg-opacity: var( --mdc-ripple-press-opacity, 0.12 )}:host .mdc-ripple-surface::before,:host .mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}:host .mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1}:host .mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:host .mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:host .mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}:host .mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:host .mdc-ripple-surface::before,:host .mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:host .mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded{overflow:visible}:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded::before,:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:host .mdc-ripple-surface.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:host .mdc-ripple-surface.hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:host .mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before{opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:host .mdc-ripple-surface::before,:host .mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:host .mdc-ripple-surface.activated{--mdc-ripple-press-opacity: calc( var(--mdc-ripple-press-opacity, 0.12) + 0.12 )}:host .mdc-ripple-surface.activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}:host .mdc-ripple-surface.activated.hover::before{opacity:.16;opacity:calc( var(--mdc-ripple-hover-opacity, 0.04) + var(--mdc-ripple-activated-opacity, 0.12) )}:host .mdc-ripple-surface.activated.mdc-ripple-upgraded--background-focused::before{opacity:.24;opacity:calc( var(--mdc-ripple-focus-opacity, 0.12) + var(--mdc-ripple-activated-opacity, 0.12) )}:host .mdc-ripple-surface.selected{--mdc-ripple-press-opacity: calc( var(--mdc-ripple-press-opacity, 0.12) + 0.08 )}:host .mdc-ripple-surface.selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}:host .mdc-ripple-surface.selected.hover::before{opacity:.12;opacity:calc( var(--mdc-ripple-hover-opacity, 0.04) + var(--mdc-ripple-selected-opacity, 0.08) )}:host .mdc-ripple-surface.selected.mdc-ripple-upgraded--background-focused::before{opacity:.2;opacity:calc( var(--mdc-ripple-focus-opacity, 0.12) + var(--mdc-ripple-selected-opacity, 0.08) )}:host .mdc-ripple-surface.disabled{--mdc-ripple-color: transparent}:host .mdc-ripple-surface::before{z-index:1;z-index:var(--m-ripple-z-index, 1)}:host .mdc-ripple-surface::after{z-index:0;z-index:var(--m-ripple-z-index, 0)}`;let I=class extends P{};I.styles=T,I=l([(0,e.Mo)("mwc-ripple")],I);class Z{constructor(e){this.startPress=t=>{e().then((e=>{e&&e.startPress(t)}))},this.endPress=()=>{e().then((e=>{e&&e.endPress()}))},this.startFocus=()=>{e().then((e=>{e&&e.startFocus()}))},this.endFocus=()=>{e().then((e=>{e&&e.endFocus()}))},this.startHover=()=>{e().then((e=>{e&&e.startHover()}))},this.endHover=()=>{e().then((e=>{e&&e.endHover()}))}}}class O extends e.oi{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new Z((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderRipple(){const t=this.raised||this.unelevated;return this.shouldRenderRipple?e.dy`<mwc-ripple .primary="${!t}" .disabled="${this.disabled}"></mwc-ripple>`:""}createRenderRoot(){return this.attachShadow({mode:"open",delegatesFocus:!0})}focus(){const e=this.buttonElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){const e=this.buttonElement;e&&(this.rippleHandlers.endFocus(),e.blur())}getRenderClasses(){return S({"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense})}render(){return e.dy`
<button
id="button"
class="mdc-button ${this.getRenderClasses()}"
?disabled="${this.disabled}"
aria-label="${this.label||this.icon}"
@focus="${this.handleRippleFocus}"
@blur="${this.handleRippleBlur}"
@mousedown="${this.handleRippleActivate}"
@mouseenter="${this.handleRippleMouseEnter}"
@mouseleave="${this.handleRippleMouseLeave}"
@touchstart="${this.handleRippleActivate}"
@touchend="${this.handleRippleDeactivate}"
@touchcancel="${this.handleRippleDeactivate}">
${this.renderRipple()}
<span class="leading-icon">
<slot name="icon">
${this.icon&&!this.trailingIcon?this.renderIcon():""}
</slot>
</span>
<span class="mdc-button__label">${this.label}</span>
<span class="slot-container ${S({flex:this.expandContent})}">
<slot></slot>
</span>
<span class="trailing-icon">
<slot name="trailingIcon">
${this.icon&&this.trailingIcon?this.renderIcon():""}
</slot>
</span>
</button>`}renderIcon(){return e.dy`
<mwc-icon class="mdc-button__icon">
${this.icon}
</mwc-icon>`}handleRippleActivate(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}o([(0,e.Cb)({type:Boolean})],O.prototype,"raised",void 0),o([(0,e.Cb)({type:Boolean})],O.prototype,"unelevated",void 0),o([(0,e.Cb)({type:Boolean})],O.prototype,"outlined",void 0),o([(0,e.Cb)({type:Boolean})],O.prototype,"dense",void 0),o([(0,e.Cb)({type:Boolean,reflect:!0})],O.prototype,"disabled",void 0),o([(0,e.Cb)({type:Boolean,attribute:"trailingicon"})],O.prototype,"trailingIcon",void 0),o([(0,e.Cb)({type:Boolean,reflect:!0})],O.prototype,"fullwidth",void 0),o([(0,e.Cb)({type:String})],O.prototype,"icon",void 0),o([(0,e.Cb)({type:String})],O.prototype,"label",void 0),o([(0,e.Cb)({type:Boolean})],O.prototype,"expandContent",void 0),o([(0,e.IO)("#button")],O.prototype,"buttonElement",void 0),o([(0,e.GC)("mwc-ripple")],O.prototype,"ripple",void 0),o([(0,e.sz)()],O.prototype,"shouldRenderRipple",void 0),o([(0,e.hO)({passive:!0})],O.prototype,"handleRippleActivate",null);const N=e.iv`.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);padding:0 8px 0 8px;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;border-radius:4px;border-radius:var(--mdc-shape-small, 4px);height:36px}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button .mdc-button__ripple{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-button:not(:disabled){background-color:transparent}.mdc-button:disabled{background-color:transparent}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__touch{position:absolute;top:50%;right:0;height:48px;left:0;transform:translateY(-50%)}.mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-button:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--raised .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon,.mdc-button--outlined .mdc-button__icon{margin-left:-4px;margin-right:8px}[dir=rtl] .mdc-button--raised .mdc-button__icon,.mdc-button--raised .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__icon,.mdc-button--unelevated .mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__icon,.mdc-button--outlined .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mdc-button--raised .mdc-button__label+.mdc-button__icon,.mdc-button--raised .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--unelevated .mdc-button__label+.mdc-button__icon,.mdc-button--unelevated .mdc-button__label+.mdc-button__icon[dir=rtl],[dir=rtl] .mdc-button--outlined .mdc-button__label+.mdc-button__icon,.mdc-button--outlined .mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mdc-button--raised,.mdc-button--unelevated{padding:0 16px 0 16px}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee)}.mdc-button--raised:not(:disabled),.mdc-button--unelevated:not(:disabled){color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{background-color:rgba(0, 0, 0, 0.12)}.mdc-button--raised:disabled,.mdc-button--unelevated:disabled{color:rgba(0, 0, 0, 0.38)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12)}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12)}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2),0px 0px 0px 0px rgba(0, 0, 0, 0.14),0px 0px 0px 0px rgba(0,0,0,.12)}.mdc-button--outlined{padding:0 15px 0 15px;border-width:1px;border-style:solid}.mdc-button--outlined .mdc-button__ripple{top:-1px;left:-1px;border:1px solid transparent}.mdc-button--outlined .mdc-button__touch{left:-1px;width:calc(100% + 2 * 1px)}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12)}.mdc-button--outlined:disabled{border-color:rgba(0, 0, 0, 0.12)}.mdc-button--touch{margin-top:6px;margin-bottom:6px}:host{display:inline-flex;outline:none;vertical-align:top}:host([fullwidth]){width:100%}:host([raised]),:host([unelevated]){--mdc-ripple-color: #fff;--mdc-ripple-focus-opacity: 0.24;--mdc-ripple-hover-opacity: 0.08;--mdc-ripple-press-opacity: 0.24}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon,.leading-icon ::slotted(*),.leading-icon .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;width:18px;height:18px;font-size:18px;vertical-align:top}[dir=rtl] .trailing-icon ::slotted(*),.trailing-icon ::slotted(*)[dir=rtl],[dir=rtl] .trailing-icon .mdc-button__icon,.trailing-icon .mdc-button__icon[dir=rtl],[dir=rtl] .leading-icon ::slotted(*),.leading-icon ::slotted(*)[dir=rtl],[dir=rtl] .leading-icon .mdc-button__icon,.leading-icon .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.trailing-icon ::slotted(*),.trailing-icon .mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .trailing-icon ::slotted(*),.trailing-icon ::slotted(*)[dir=rtl],[dir=rtl] .trailing-icon .mdc-button__icon,.trailing-icon .mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}.slot-container{display:inline-flex;align-items:center;justify-content:center}.slot-container.flex{flex:auto}.mdc-button{flex:auto;overflow:hidden;padding-left:8px;padding-left:var(--mdc-button-horizontal-padding, 8px);padding-right:8px;padding-right:var(--mdc-button-horizontal-padding, 8px)}.mdc-button--raised{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:hover,.mdc-button--raised:focus{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-hover, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised:active{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-active, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mdc-button--raised:disabled{box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-button-raised-box-shadow-disabled, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mdc-button--raised,.mdc-button--unelevated{padding-left:16px;padding-left:var(--mdc-button-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mdc-button-horizontal-padding, 16px)}.mdc-button--outlined{border-width:1px;border-width:var(--mdc-button-outline-width, 1px);padding-left:calc(16px - 1px);padding-left:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px));padding-right:calc(16px - 1px);padding-right:calc(var(--mdc-button-horizontal-padding, 16px) - var(--mdc-button-outline-width, 1px))}.mdc-button--outlined:not(:disabled){border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-outline-color, rgba(0, 0, 0, 0.12))}.mdc-button--outlined mwc-ripple{top:calc(-1 * 1px);top:calc(-1 * var(--mdc-button-outline-width, 1px));left:calc(-1 * 1px);left:calc(-1 * var(--mdc-button-outline-width, 1px));right:initial;border-width:1px;border-width:var(--mdc-button-outline-width, 1px);border-style:solid;border-color:transparent}[dir=rtl] .mdc-button--outlined mwc-ripple,.mdc-button--outlined mwc-ripple[dir=rtl]{left:initial;right:calc(-1 * 1px);right:calc(-1 * var(--mdc-button-outline-width, 1px))}.mdc-button--dense{height:28px;margin-top:0;margin-bottom:0}.mdc-button--dense .mdc-button__touch{display:none}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-button{color:rgba(0, 0, 0, 0.38);color:var(--mdc-button-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-button--raised,:host([disabled]) .mdc-button--unelevated{background-color:rgba(0, 0, 0, 0.12);background-color:var(--mdc-button-disabled-fill-color, rgba(0, 0, 0, 0.12))}:host([disabled]) .mdc-button--outlined{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}`;let R=class extends O{};R.styles=N,R=o([(0,e.Mo)("mwc-button")],R);const M=(0,x.XM)(((e,t)=>r=>{var n;if(!(r instanceof x.nt))throw new Error("dynamicElementDirective can only be used in content bindings");let i=r.value;e!==(null===(n=i)||void 0===n?void 0:n.localName)?(i=document.createElement(e),t&&Object.entries(t).forEach((([e,t])=>{i[e]=t})),r.setValue(i)):t&&Object.entries(t).forEach((([e,t])=>{i[e]=t}))}));var z=i(43437);i(1656);const D={properties:{name:{type:String},value:{notify:!0,type:String},required:{type:Boolean,value:!1}},attached:function(){},detached:function(){}};var j=i(9672);class F{constructor(e){F[" "](e),this.type=e&&e.type||"default",this.key=e&&e.key,e&&"value"in e&&(this.value=e.value)}get value(){var e=this.type,t=this.key;if(e&&t)return F.types[e]&&F.types[e][t]}set value(e){var t=this.type,r=this.key;t&&r&&(t=F.types[t]=F.types[t]||{},null==e?delete t[r]:t[r]=e)}get list(){if(this.type){var e=F.types[this.type];return e?Object.keys(e).map((function(e){return B[this.type][e]}),this):[]}}byKey(e){return this.key=e,this.value}}F[" "]=function(){},F.types={};var B=F.types;(0,j.k)({is:"iron-meta",properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(e,t,r){var n=new F({type:e,key:t});return void 0!==r&&r!==n.value?n.value=r:this.value!==n.value&&(this.value=n.value),n},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(e){e&&(this.value=this)},byKey:function(e){return new F({type:this.type,key:e}).value}});let U=null;const H={properties:{validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1,observer:"_invalidChanged"}},registered:function(){U=new F({type:"validator"})},_invalidChanged:function(){this.invalid?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")},get _validator(){return U&&U.byKey(this.validator)},hasValidator:function(){return null!=this._validator},validate:function(e){return void 0===e&&void 0!==this.value?this.invalid=!this._getValidity(this.value):this.invalid=!this._getValidity(e),!this.invalid},_getValidity:function(e){return!this.hasValidator()||this._validator.validate(e)}},G={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},_getValidity:function(e){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},_checkedChanged:function(){this.active=this.checked,this.fire("iron-change")},_valueChanged:function(){void 0!==this.value&&null!==this.value||(this.value="on")}},V=[D,H,G];var K=i(51644),$=i(26110),q=i(8621),X=i(87156),W=i(50856),Y={distance:function(e,t,r,n){var i=e-r,o=t-n;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function J(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function Q(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),(0,X.vz)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}J.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var r=Y.distance(e,t,0,0),n=Y.distance(e,t,this.width,0),i=Y.distance(e,t,0,this.height),o=Y.distance(e,t,this.width,this.height);return Math.max(r,n,i,o)}},Q.MAX_RADIUS=300,Q.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=Y.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?Y.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,r=1.1*Math.min(Math.sqrt(e+t),Q.MAX_RADIUS)+5,n=1.1-r/Q.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/n,o=r*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,Q.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,Q.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new J(this.element)},draw:function(){var e,t,r;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,r=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+r+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+r+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,r=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=Y.now(),this.center?(this.xStart=t,this.yStart=r,this.slideDistance=Y.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=r,this.slideDistance=Y.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=Y.now())},remove:function(){(0,X.vz)((0,X.vz)(this.waveContainer).parentNode).removeChild(this.waveContainer)}},(0,j.k)({_template:W.d`
<style>
:host {
display: block;
position: absolute;
border-radius: inherit;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* See PolymerElements/paper-behaviors/issues/34. On non-Chrome browsers,
* creating a node (with a position:absolute) in the middle of an event
* handler "interrupts" that event handler (which happens when the
* ripple is created on demand) */
pointer-events: none;
}
:host([animating]) {
/* This resolves a rendering issue in Chrome (as of 40) where the
ripple is not properly clipped by its parent (which may have
rounded corners). See: http://jsbin.com/temexa/4
Note: We only apply this style conditionally. Otherwise, the browser
will create a new compositing layer for every ripple element on the
page, and that would be bad. */
-webkit-transform: translate(0, 0);
transform: translate3d(0, 0, 0);
}
#background,
#waves,
.wave-container,
.wave {
pointer-events: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#background,
.wave {
opacity: 0;
}
#waves,
.wave {
overflow: hidden;
}
.wave-container,
.wave {
border-radius: 50%;
}
:host(.circle) #background,
:host(.circle) #waves {
border-radius: 50%;
}
:host(.circle) .wave-container {
overflow: hidden;
}
</style>
<div id="background"></div>
<div id="waves"></div>
`,is:"paper-ripple",behaviors:[q.G],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==(0,X.vz)(this).parentNode.nodeType?this.keyEventTarget=(0,X.vz)(this).getOwnerRoot().host:this.keyEventTarget=(0,X.vz)(this).parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e<this.ripples.length;++e)if(!this.ripples[e].isAnimationComplete)return!0;return!1},simulatedRipple:function(){this.downAction(null),this.async((function(){this.upAction()}),1)},uiDownAction:function(e){this.noink||this.downAction(e)},downAction:function(e){this.holdDown&&this.ripples.length>0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach((function(t){t.upAction(e)})),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor="",this.fire("transitionend")},addRipple:function(){var e=new Q(this);return(0,X.vz)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e<this.ripples.length;++e)(t=this.ripples[e]).draw(),this.$.background.style.opacity=t.outerOpacity,t.isOpacityFullyDecayed&&!t.isRestingAtMaxRadius&&this.removeRipple(t);this.shouldKeepAnimating||0!==this.ripples.length?window.requestAnimationFrame(this._boundAnimate):this.onAnimationComplete()}},animateRipple:function(){return this.animate()},_onEnterKeydown:function(){this.uiDownAction(),this.async(this.uiUpAction,1)},_onSpaceKeydown:function(){this.uiDownAction()},_onSpaceKeyup:function(){this.uiUpAction()},_holdDownChanged:function(e,t){void 0!==t&&(e?this.downAction():this.upAction())}});const ee={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},_downHandler:function(e){K.$._downHandler.call(this,e),this.pressed&&this.ensureRipple(e)},ensureRipple:function(e){if(!this.hasRipple()){this._ripple=this._createRipple(),this._ripple.noink=this.noink;var t=this._rippleContainer||this.root;if(t&&(0,X.vz)(t).appendChild(this._ripple),e){var r=(0,X.vz)(this._rippleContainer||this),n=(0,X.vz)(e).rootTarget;r.deepContains(n)&&this._ripple.uiDownAction(e)}}},getRipple:function(){return this.ensureRipple(),this._ripple},hasRipple:function(){return Boolean(this._ripple)},_createRipple:function(){return document.createElement("paper-ripple")},_noinkChanged:function(e){this.hasRipple()&&(this._ripple.noink=e)}},te={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.holdDown=e)},_createRipple:function(){var e=ee._createRipple();return e.id="ink",e.setAttribute("center",""),e.classList.add("circle"),e}},re=[K.P,$.a,ee,te],ne=[re,V,{_checkedChanged:function(){G._checkedChanged.call(this),this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},_buttonStateChanged:function(){ee._buttonStateChanged.call(this),this.disabled||this.isAttached&&(this.checked=this.active)}}];var ie=i(87529);const oe=W.d`<style>
:host {
display: inline-block;
white-space: nowrap;
cursor: pointer;
--calculated-paper-checkbox-size: var(--paper-checkbox-size, 18px);
/* -1px is a sentinel for the default and is replaced in \`attached\`. */
--calculated-paper-checkbox-ink-size: var(--paper-checkbox-ink-size, -1px);
@apply --paper-font-common-base;
line-height: 0;
-webkit-tap-highlight-color: transparent;
}
:host([hidden]) {
display: none !important;
}
:host(:focus) {
outline: none;
}
.hidden {
display: none;
}
#checkboxContainer {
display: inline-block;
position: relative;
width: var(--calculated-paper-checkbox-size);
height: var(--calculated-paper-checkbox-size);
min-width: var(--calculated-paper-checkbox-size);
margin: var(--paper-checkbox-margin, initial);
vertical-align: var(--paper-checkbox-vertical-align, middle);
background-color: var(--paper-checkbox-unchecked-background-color, transparent);
}
#ink {
position: absolute;
/* Center the ripple in the checkbox by negative offsetting it by
* (inkWidth - rippleWidth) / 2 */
top: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);
left: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);
width: var(--calculated-paper-checkbox-ink-size);
height: var(--calculated-paper-checkbox-ink-size);
color: var(--paper-checkbox-unchecked-ink-color, var(--primary-text-color));
opacity: 0.6;
pointer-events: none;
}
#ink:dir(rtl) {
right: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);
left: auto;
}
#ink[checked] {
color: var(--paper-checkbox-checked-ink-color, var(--primary-color));
}
#checkbox {
position: relative;
box-sizing: border-box;
height: 100%;
border: solid 2px;
border-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));
border-radius: 2px;
pointer-events: none;
-webkit-transition: background-color 140ms, border-color 140ms;
transition: background-color 140ms, border-color 140ms;
-webkit-transition-duration: var(--paper-checkbox-animation-duration, 140ms);
transition-duration: var(--paper-checkbox-animation-duration, 140ms);
}
/* checkbox checked animations */
#checkbox.checked #checkmark {
-webkit-animation: checkmark-expand 140ms ease-out forwards;
animation: checkmark-expand 140ms ease-out forwards;
-webkit-animation-duration: var(--paper-checkbox-animation-duration, 140ms);
animation-duration: var(--paper-checkbox-animation-duration, 140ms);
}
@-webkit-keyframes checkmark-expand {
0% {
-webkit-transform: scale(0, 0) rotate(45deg);
}
100% {
-webkit-transform: scale(1, 1) rotate(45deg);
}
}
@keyframes checkmark-expand {
0% {
transform: scale(0, 0) rotate(45deg);
}
100% {
transform: scale(1, 1) rotate(45deg);
}
}
#checkbox.checked {
background-color: var(--paper-checkbox-checked-color, var(--primary-color));
border-color: var(--paper-checkbox-checked-color, var(--primary-color));
}
#checkmark {
position: absolute;
width: 36%;
height: 70%;
border-style: solid;
border-top: none;
border-left: none;
border-right-width: calc(2/15 * var(--calculated-paper-checkbox-size));
border-bottom-width: calc(2/15 * var(--calculated-paper-checkbox-size));
border-color: var(--paper-checkbox-checkmark-color, white);
-webkit-transform-origin: 97% 86%;
transform-origin: 97% 86%;
box-sizing: content-box; /* protect against page-level box-sizing */
}
#checkmark:dir(rtl) {
-webkit-transform-origin: 50% 14%;
transform-origin: 50% 14%;
}
/* label */
#checkboxLabel {
position: relative;
display: inline-block;
vertical-align: middle;
padding-left: var(--paper-checkbox-label-spacing, 8px);
white-space: normal;
line-height: normal;
color: var(--paper-checkbox-label-color, var(--primary-text-color));
@apply --paper-checkbox-label;
}
:host([checked]) #checkboxLabel {
color: var(--paper-checkbox-label-checked-color, var(--paper-checkbox-label-color, var(--primary-text-color)));
@apply --paper-checkbox-label-checked;
}
#checkboxLabel:dir(rtl) {
padding-right: var(--paper-checkbox-label-spacing, 8px);
padding-left: 0;
}
#checkboxLabel[hidden] {
display: none;
}
/* disabled state */
:host([disabled]) #checkbox {
opacity: 0.5;
border-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));
}
:host([disabled][checked]) #checkbox {
background-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));
opacity: 0.5;
}
:host([disabled]) #checkboxLabel {
opacity: 0.65;
}
/* invalid state */
#checkbox.invalid:not(.checked) {
border-color: var(--paper-checkbox-error-color, var(--error-color));
}
</style>
<div id="checkboxContainer">
<div id="checkbox" class$="[[_computeCheckboxClass(checked, invalid)]]">
<div id="checkmark" class$="[[_computeCheckmarkClass(checked)]]"></div>
</div>
</div>
<div id="checkboxLabel"><slot></slot></div>`;function ae(){ae=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!ce(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return he(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?he(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=pe(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:de(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=de(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function se(e){var t,r=pe(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function le(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function ce(e){return e.decorators&&e.decorators.length}function ue(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function de(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function pe(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}oe.setAttribute("strip-whitespace",""),(0,j.k)({_template:oe,is:"paper-checkbox",behaviors:[ne],hostAttributes:{role:"checkbox","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},attached:function(){(0,ie.T8)(this,(function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-checkbox-ink-size").trim()){var e=this.getComputedStyleValue("--calculated-paper-checkbox-size").trim(),t="px",r=e.match(/[A-Za-z]+$/);null!==r&&(t=r[0]);var n=parseFloat(e),i=8/3*n;"px"===t&&(i=Math.floor(i))%2!=n%2&&i++,this.updateStyles({"--paper-checkbox-ink-size":i+t})}}))},_computeCheckboxClass:function(e,t){var r="";return e&&(r+="checked "),t&&(r+="invalid"),r},_computeCheckmarkClass:function(e){return e?"":"hidden"},_createRipple:function(){return this._rippleContainer=this.$.checkboxContainer,te._createRipple.call(this)}});!function(e,t,r,n){var i=ae();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(ue(o.descriptor)||ue(i.descriptor)){if(ce(o)||ce(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(ce(o)){if(ce(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}le(o,i)}else t.push(o)}return t}(a.d.map(se)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-boolean")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.IO)("paper-checkbox",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return e.dy`
<paper-checkbox .checked=${this.data} @change=${this._valueChanged}>
${this.label}
</paper-checkbox>
`}},{kind:"method",key:"_valueChanged",value:function(e){(0,r.B)(this,"value-changed",{value:e.target.checked})}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
paper-checkbox {
display: block;
padding: 22px 0;
}
`}}]}}),e.oi);const fe=(0,j.k)({_template:W.d`
<style>
:host {
display: inline-block;
position: fixed;
clip: rect(0px,0px,0px,0px);
}
</style>
<div aria-live$="[[mode]]">[[_text]]</div>
`,is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},timeout:{type:Number,value:150},_text:{type:String,value:""}},created:function(){fe.instance||(fe.instance=this),document.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(e){this._text="",this.async((function(){this._text=e}),this.timeout)},_onIronAnnounce:function(e){e.detail&&e.detail.text&&this.announce(e.detail.text)}});fe.instance=null,fe.requestAvailability=function(){fe.instance||(fe.instance=document.createElement("iron-a11y-announcer")),document.body?document.body.appendChild(fe.instance):document.addEventListener("load",(function(){document.body.appendChild(fe.instance)}))},(0,j.k)({_template:W.d`
<style>
:host {
display: inline-block;
}
</style>
<slot id="content"></slot>
`,is:"iron-input",behaviors:[H],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){fe.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=(0,X.vz)(this).observeNodes(function(e){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&((0,X.vz)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case"number":e=/[0-9.,e-]/}return e},_bindValueChanged:function(e,t){t&&(void 0===e?t.value=null:e!==t.value&&(this.inputElement.value=e),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:e}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,r=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&r)},_onKeypress:function(e){if(this.allowedPattern||"number"===this.inputElement.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var r=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(r)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+r+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t<this.inputElement.value.length;t++)if(!e.test(this.inputElement.value[t]))return!1;return!0},validate:function(){if(!this.inputElement)return this.invalid=!1,!0;var e=this.inputElement.checkValidity();return e&&(this.required&&""===this.bindValue?e=!1:this.hasValidator()&&(e=H.validate.call(this,this.bindValue))),this.invalid=!e,this.fire("iron-input-validate"),e},_announceInvalidCharacter:function(e){this.fire("iron-announce",{text:e})},_computeValue:function(e){return e}});i(47686);const me={attached:function(){this.fire("addon-attached")},update:function(e){}};(0,j.k)({_template:W.d`
<style>
:host {
display: inline-block;
float: right;
@apply --paper-font-caption;
@apply --paper-input-char-counter;
}
:host([hidden]) {
display: none !important;
}
:host(:dir(rtl)) {
float: left;
}
</style>
<span>[[_charCounterStr]]</span>
`,is:"paper-input-char-counter",behaviors:[me],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.toString().length.toString();e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}});i(65660);var ve=i(67130);const ye=W.d`
<custom-style>
<style is="custom-style">
html {
--paper-input-container-shared-input-style: {
position: relative; /* to make a stacking context */
outline: none;
box-shadow: none;
padding: 0;
margin: 0;
width: 100%;
max-width: 100%;
background: transparent;
border: none;
color: var(--paper-input-container-input-color, var(--primary-text-color));
-webkit-appearance: none;
text-align: inherit;
vertical-align: var(--paper-input-container-input-align, bottom);
@apply --paper-font-subhead;
};
}
</style>
</custom-style>
`;ye.setAttribute("style","display: none;"),document.head.appendChild(ye.content),(0,j.k)({_template:W.d`
<style>
:host {
display: block;
padding: 8px 0;
@apply --paper-input-container;
}
:host([inline]) {
display: inline-block;
}
:host([disabled]) {
pointer-events: none;
opacity: 0.33;
@apply --paper-input-container-disabled;
}
:host([hidden]) {
display: none !important;
}
[hidden] {
display: none !important;
}
.floated-label-placeholder {
@apply --paper-font-caption;
}
.underline {
height: 2px;
position: relative;
}
.focused-line {
@apply --layout-fit;
border-bottom: 2px solid var(--paper-input-container-focus-color, var(--primary-color));
-webkit-transform-origin: center center;
transform-origin: center center;
-webkit-transform: scale3d(0,1,1);
transform: scale3d(0,1,1);
@apply --paper-input-container-underline-focus;
}
.underline.is-highlighted .focused-line {
-webkit-transform: none;
transform: none;
-webkit-transition: -webkit-transform 0.25s;
transition: transform 0.25s;
@apply --paper-transition-easing;
}
.underline.is-invalid .focused-line {
border-color: var(--paper-input-container-invalid-color, var(--error-color));
-webkit-transform: none;
transform: none;
-webkit-transition: -webkit-transform 0.25s;
transition: transform 0.25s;
@apply --paper-transition-easing;
}
.unfocused-line {
@apply --layout-fit;
border-bottom: 1px solid var(--paper-input-container-color, var(--secondary-text-color));
@apply --paper-input-container-underline;
}
:host([disabled]) .unfocused-line {
border-bottom: 1px dashed;
border-color: var(--paper-input-container-color, var(--secondary-text-color));
@apply --paper-input-container-underline-disabled;
}
.input-wrapper {
@apply --layout-horizontal;
@apply --layout-center;
position: relative;
}
.input-content {
@apply --layout-flex-auto;
@apply --layout-relative;
max-width: 100%;
}
.input-content ::slotted(label),
.input-content ::slotted(.paper-input-label) {
position: absolute;
top: 0;
left: 0;
width: 100%;
font: inherit;
color: var(--paper-input-container-color, var(--secondary-text-color));
-webkit-transition: -webkit-transform 0.25s, width 0.25s;
transition: transform 0.25s, width 0.25s;
-webkit-transform-origin: left top;
transform-origin: left top;
/* Fix for safari not focusing 0-height date/time inputs with -webkit-apperance: none; */
min-height: 1px;
@apply --paper-font-common-nowrap;
@apply --paper-font-subhead;
@apply --paper-input-container-label;
@apply --paper-transition-easing;
}
.input-content ::slotted(label):before,
.input-content ::slotted(.paper-input-label):before {
@apply --paper-input-container-label-before;
}
.input-content ::slotted(label):after,
.input-content ::slotted(.paper-input-label):after {
@apply --paper-input-container-label-after;
}
.input-content.label-is-floating ::slotted(label),
.input-content.label-is-floating ::slotted(.paper-input-label) {
-webkit-transform: translateY(-75%) scale(0.75);
transform: translateY(-75%) scale(0.75);
/* Since we scale to 75/100 of the size, we actually have 100/75 of the
original space now available */
width: 133%;
@apply --paper-input-container-label-floating;
}
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(label),
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label) {
right: 0;
left: auto;
-webkit-transform-origin: right top;
transform-origin: right top;
}
.input-content.label-is-highlighted ::slotted(label),
.input-content.label-is-highlighted ::slotted(.paper-input-label) {
color: var(--paper-input-container-focus-color, var(--primary-color));
@apply --paper-input-container-label-focus;
}
.input-content.is-invalid ::slotted(label),
.input-content.is-invalid ::slotted(.paper-input-label) {
color: var(--paper-input-container-invalid-color, var(--error-color));
}
.input-content.label-is-hidden ::slotted(label),
.input-content.label-is-hidden ::slotted(.paper-input-label) {
visibility: hidden;
}
.input-content ::slotted(input),
.input-content ::slotted(iron-input),
.input-content ::slotted(textarea),
.input-content ::slotted(iron-autogrow-textarea),
.input-content ::slotted(.paper-input-input) {
@apply --paper-input-container-shared-input-style;
/* The apply shim doesn't apply the nested color custom property,
so we have to re-apply it here. */
color: var(--paper-input-container-input-color, var(--primary-text-color));
@apply --paper-input-container-input;
}
.input-content ::slotted(input)::-webkit-outer-spin-button,
.input-content ::slotted(input)::-webkit-inner-spin-button {
@apply --paper-input-container-input-webkit-spinner;
}
.input-content.focused ::slotted(input),
.input-content.focused ::slotted(iron-input),
.input-content.focused ::slotted(textarea),
.input-content.focused ::slotted(iron-autogrow-textarea),
.input-content.focused ::slotted(.paper-input-input) {
@apply --paper-input-container-input-focus;
}
.input-content.is-invalid ::slotted(input),
.input-content.is-invalid ::slotted(iron-input),
.input-content.is-invalid ::slotted(textarea),
.input-content.is-invalid ::slotted(iron-autogrow-textarea),
.input-content.is-invalid ::slotted(.paper-input-input) {
@apply --paper-input-container-input-invalid;
}
.prefix ::slotted(*) {
display: inline-block;
@apply --paper-font-subhead;
@apply --layout-flex-none;
@apply --paper-input-prefix;
}
.suffix ::slotted(*) {
display: inline-block;
@apply --paper-font-subhead;
@apply --layout-flex-none;
@apply --paper-input-suffix;
}
/* Firefox sets a min-width on the input, which can cause layout issues */
.input-content ::slotted(input) {
min-width: 0;
}
.input-content ::slotted(textarea) {
resize: none;
}
.add-on-content {
position: relative;
}
.add-on-content.is-invalid ::slotted(*) {
color: var(--paper-input-container-invalid-color, var(--error-color));
}
.add-on-content.is-highlighted ::slotted(*) {
color: var(--paper-input-container-focus-color, var(--primary-color));
}
</style>
<div class="floated-label-placeholder" aria-hidden="true" hidden="[[noLabelFloat]]"> </div>
<div class="input-wrapper">
<span class="prefix"><slot name="prefix"></slot></span>
<div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focused,invalid,_inputHasContent)]]" id="labelAndInputContainer">
<slot name="label"></slot>
<slot name="input"></slot>
</div>
<span class="suffix"><slot name="suffix"></slot></span>
</div>
<div class$="[[_computeUnderlineClass(focused,invalid)]]">
<div class="unfocused-line"></div>
<div class="focused-line"></div>
</div>
<div class$="[[_computeAddOnContentClass(focused,invalid)]]">
<slot name="add-on"></slot>
</div>
`,is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return(0,ve.z)(this.attrForValue)},get _inputElement(){return(0,X.vz)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(e){this._addons||(this._addons=[]);var t=e.target;-1===this._addons.indexOf(t)&&(this._addons.push(t),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(e){this._handleValueAndAutoValidate(e.target)},_onValueChanged:function(e){var t=e.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===t.value||""===t.value)||this._handleValueAndAutoValidate(e.target)},_handleValue:function(e){var t=this._inputElementValue;t||0===t||"number"===e.type&&!e.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:e,value:t,invalid:this.invalid})},_handleValueAndAutoValidate:function(e){var t;this.autoValidate&&e&&(t=e.validate?e.validate(this._inputElementValue):e.checkValidity(),this.invalid=!t);this._handleValue(e)},_onIronInputValidate:function(e){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(e){for(var t,r=0;t=this._addons[r];r++)t.update(e)},_computeInputContentClass:function(e,t,r,n,i){var o="input-content";if(e)i&&(o+=" label-is-hidden"),n&&(o+=" is-invalid");else{var a=this.querySelector("label");t||i?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",n?o+=" is-invalid":r&&(o+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),n&&(o+=" is-invalid"))}return r&&(o+=" focused"),o},_computeUnderlineClass:function(e,t){var r="underline";return t?r+=" is-invalid":e&&(r+=" is-highlighted"),r},_computeAddOnContentClass:function(e,t){var r="add-on-content";return t?r+=" is-invalid":e&&(r+=" is-highlighted"),r}}),(0,j.k)({_template:W.d`
<style>
:host {
display: inline-block;
visibility: hidden;
color: var(--paper-input-container-invalid-color, var(--error-color));
@apply --paper-font-caption;
@apply --paper-input-error;
position: absolute;
left:0;
right:0;
}
:host([invalid]) {
visibility: visible;
}
#a11yWrapper {
visibility: hidden;
}
:host([invalid]) #a11yWrapper {
visibility: visible;
}
</style>
<!--
If the paper-input-error element is directly referenced by an
\`aria-describedby\` attribute, such as when used as a paper-input add-on,
then applying \`visibility: hidden;\` to the paper-input-error element itself
does not hide the error.
For more information, see:
https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description
-->
<div id="a11yWrapper">
<slot></slot>
</div>
`,is:"paper-input-error",behaviors:[me],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});i(21384);var ge=i(28426);const be={NextLabelID:1,NextAddonID:1,NextInputID:1},_e={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!ge.H3&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=(0,X.vz)(e).rootTarget;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var r="paper-input-add-on-"+be.NextAddonID++;t.id=r,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,r)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){$.a._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async((function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1}),1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(r){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e,t=(0,X.vz)(this.root).querySelector("label");t?(t.id?e=t.id:(e="paper-input-label-"+be.NextLabelID++,t.id=e),this._ariaLabelledBy=e):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+be.NextInputID++)},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement;e instanceof HTMLElement&&e!==document.body&&e!==document.documentElement||this._focusableElement.focus()}}},we=[$.a,q.G,_e];function ke(){ke=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Ae(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Pe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pe(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Ce(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Le(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Le(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function xe(e){var t,r=Ce(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Ee(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ae(e){return e.decorators&&e.decorators.length}function Se(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Le(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Ce(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}(0,j.k)({is:"paper-input",_template:W.d`
<style>
:host {
display: block;
}
:host([focused]) {
outline: none;
}
:host([hidden]) {
display: none !important;
}
input {
/* Firefox sets a min-width on the input, which can cause layout issues */
min-width: 0;
}
/* In 1.x, the <input> is distributed to paper-input-container, which styles it.
In 2.x the <iron-input> is distributed to paper-input-container, which styles
it, but in order for this to work correctly, we need to reset some
of the native input's properties to inherit (from the iron-input) */
iron-input > input {
@apply --paper-input-container-shared-input-style;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
letter-spacing: inherit;
word-spacing: inherit;
line-height: inherit;
text-shadow: inherit;
color: inherit;
cursor: inherit;
}
input:disabled {
@apply --paper-input-container-input-disabled;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
@apply --paper-input-container-input-webkit-spinner;
}
input::-webkit-clear-button {
@apply --paper-input-container-input-webkit-clear;
}
input::-webkit-calendar-picker-indicator {
@apply --paper-input-container-input-webkit-calendar-picker-indicator;
}
input::-webkit-input-placeholder {
color: var(--paper-input-container-color, var(--secondary-text-color));
}
input:-moz-placeholder {
color: var(--paper-input-container-color, var(--secondary-text-color));
}
input::-moz-placeholder {
color: var(--paper-input-container-color, var(--secondary-text-color));
}
input::-ms-clear {
@apply --paper-input-container-ms-clear;
}
input::-ms-reveal {
@apply --paper-input-container-ms-reveal;
}
input:-ms-input-placeholder {
color: var(--paper-input-container-color, var(--secondary-text-color));
}
label {
pointer-events: none;
}
</style>
<paper-input-container id="container" no-label-float="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]">
<slot name="prefix" slot="prefix"></slot>
<label hidden$="[[!label]]" aria-hidden="true" for$="[[_inputId]]" slot="label">[[label]]</label>
<!-- Need to bind maxlength so that the paper-input-char-counter works correctly -->
<iron-input bind-value="{{value}}" slot="input" class="input-element" id$="[[_inputId]]" maxlength$="[[maxlength]]" allowed-pattern="[[allowedPattern]]" invalid="{{invalid}}" validator="[[validator]]">
<input aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title]]" type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" autocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabIndex]]" autosave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[multiple]]" role$="[[inputRole]]" aria-haspopup$="[[inputAriaHaspopup]]">
</iron-input>
<slot name="suffix" slot="suffix"></slot>
<template is="dom-if" if="[[errorMessage]]">
<paper-input-error aria-live="assertive" slot="add-on">[[errorMessage]]</paper-input-error>
</template>
<template is="dom-if" if="[[charCounter]]">
<paper-input-char-counter slot="add-on"></paper-input-char-counter>
</template>
</paper-input-container>
`,behaviors:[we,D],properties:{value:{type:String},inputRole:{type:String,value:void 0},inputAriaHaspopup:{type:String,value:void 0}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}});!function(e,t,r,n){var i=ke();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Se(o.descriptor)||Se(i.descriptor)){if(Ae(o)||Ae(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Ae(o)){if(Ae(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Ee(o,i)}else t.push(o)}return t}(a.d.map(xe)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-float")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.IO)("paper-input",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return e.dy`
<paper-input
.label=${this.label}
.value=${this._value}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
@value-changed=${this._valueChanged}
>
<span suffix="" slot="suffix">${this.suffix}</span>
</paper-input>
`}},{kind:"get",key:"_value",value:function(){return this.data||0}},{kind:"method",key:"_valueChanged",value:function(e){const t=Number(e.target.value);this._value!==t&&(0,r.B)(this,"value-changed",{value:t})}}]}}),e.oi);i(15495);const Te={properties:{value:{type:Number,value:0,notify:!0,reflectToAttribute:!0},min:{type:Number,value:0,notify:!0},max:{type:Number,value:100,notify:!0},step:{type:Number,value:1,notify:!0},ratio:{type:Number,value:0,readOnly:!0,notify:!0}},observers:["_update(value, min, max, step)"],_calcRatio:function(e){return(this._clampValue(e)-this.min)/(this.max-this.min)},_clampValue:function(e){return Math.min(this.max,Math.max(this.min,this._calcStep(e)))},_calcStep:function(e){if(e=parseFloat(e),!this.step)return e;var t=Math.round((e-this.min)/this.step);return this.step<1?t/(1/this.step)+this.min:t*this.step+this.min},_validateValue:function(){var e=this._clampValue(this.value);return this.value=this.oldValue=isNaN(e)?this.oldValue:e,this.value!==e},_update:function(){this._validateValue(),this._setRatio(100*this._calcRatio(this.value))}};(0,j.k)({_template:W.d`
<style>
:host {
display: block;
width: 200px;
position: relative;
overflow: hidden;
}
:host([hidden]), [hidden] {
display: none !important;
}
#progressContainer {
@apply --paper-progress-container;
position: relative;
}
#progressContainer,
/* the stripe for the indeterminate animation*/
.indeterminate::after {
height: var(--paper-progress-height, 4px);
}
#primaryProgress,
#secondaryProgress,
.indeterminate::after {
@apply --layout-fit;
}
#progressContainer,
.indeterminate::after {
background: var(--paper-progress-container-color, var(--google-grey-300));
}
:host(.transiting) #primaryProgress,
:host(.transiting) #secondaryProgress {
-webkit-transition-property: -webkit-transform;
transition-property: transform;
/* Duration */
-webkit-transition-duration: var(--paper-progress-transition-duration, 0.08s);
transition-duration: var(--paper-progress-transition-duration, 0.08s);
/* Timing function */
-webkit-transition-timing-function: var(--paper-progress-transition-timing-function, ease);
transition-timing-function: var(--paper-progress-transition-timing-function, ease);
/* Delay */
-webkit-transition-delay: var(--paper-progress-transition-delay, 0s);
transition-delay: var(--paper-progress-transition-delay, 0s);
}
#primaryProgress,
#secondaryProgress {
@apply --layout-fit;
-webkit-transform-origin: left center;
transform-origin: left center;
-webkit-transform: scaleX(0);
transform: scaleX(0);
will-change: transform;
}
#primaryProgress {
background: var(--paper-progress-active-color, var(--google-green-500));
}
#secondaryProgress {
background: var(--paper-progress-secondary-color, var(--google-green-100));
}
:host([disabled]) #primaryProgress {
background: var(--paper-progress-disabled-active-color, var(--google-grey-500));
}
:host([disabled]) #secondaryProgress {
background: var(--paper-progress-disabled-secondary-color, var(--google-grey-300));
}
:host(:not([disabled])) #primaryProgress.indeterminate {
-webkit-transform-origin: right center;
transform-origin: right center;
-webkit-animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
}
:host(:not([disabled])) #primaryProgress.indeterminate::after {
content: "";
-webkit-transform-origin: center center;
transform-origin: center center;
-webkit-animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;
}
@-webkit-keyframes indeterminate-bar {
0% {
-webkit-transform: scaleX(1) translateX(-100%);
}
50% {
-webkit-transform: scaleX(1) translateX(0%);
}
75% {
-webkit-transform: scaleX(1) translateX(0%);
-webkit-animation-timing-function: cubic-bezier(.28,.62,.37,.91);
}
100% {
-webkit-transform: scaleX(0) translateX(0%);
}
}
@-webkit-keyframes indeterminate-splitter {
0% {
-webkit-transform: scaleX(.75) translateX(-125%);
}
30% {
-webkit-transform: scaleX(.75) translateX(-125%);
-webkit-animation-timing-function: cubic-bezier(.42,0,.6,.8);
}
90% {
-webkit-transform: scaleX(.75) translateX(125%);
}
100% {
-webkit-transform: scaleX(.75) translateX(125%);
}
}
@keyframes indeterminate-bar {
0% {
transform: scaleX(1) translateX(-100%);
}
50% {
transform: scaleX(1) translateX(0%);
}
75% {
transform: scaleX(1) translateX(0%);
animation-timing-function: cubic-bezier(.28,.62,.37,.91);
}
100% {
transform: scaleX(0) translateX(0%);
}
}
@keyframes indeterminate-splitter {
0% {
transform: scaleX(.75) translateX(-125%);
}
30% {
transform: scaleX(.75) translateX(-125%);
animation-timing-function: cubic-bezier(.42,0,.6,.8);
}
90% {
transform: scaleX(.75) translateX(125%);
}
100% {
transform: scaleX(.75) translateX(125%);
}
}
</style>
<div id="progressContainer">
<div id="secondaryProgress" hidden\$="[[_hideSecondaryProgress(secondaryRatio)]]"></div>
<div id="primaryProgress"></div>
</div>
`,is:"paper-progress",behaviors:[Te],properties:{secondaryProgress:{type:Number,value:0},secondaryRatio:{type:Number,value:0,readOnly:!0},indeterminate:{type:Boolean,value:!1,observer:"_toggleIndeterminate"},disabled:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_disabledChanged"}},observers:["_progressChanged(secondaryProgress, value, min, max, indeterminate)"],hostAttributes:{role:"progressbar"},_toggleIndeterminate:function(e){this.toggleClass("indeterminate",e,this.$.primaryProgress)},_transformProgress:function(e,t){var r="scaleX("+t/100+")";e.style.transform=e.style.webkitTransform=r},_mainRatioChanged:function(e){this._transformProgress(this.$.primaryProgress,e)},_progressChanged:function(e,t,r,n,i){e=this._clampValue(e),t=this._clampValue(t);var o=100*this._calcRatio(e),a=100*this._calcRatio(t);this._setSecondaryRatio(o),this._transformProgress(this.$.secondaryProgress,o),this._transformProgress(this.$.primaryProgress,a),this.secondaryProgress=e,i?this.removeAttribute("aria-valuenow"):this.setAttribute("aria-valuenow",t),this.setAttribute("aria-valuemin",r),this.setAttribute("aria-valuemax",n)},_disabledChanged:function(e){this.setAttribute("aria-disabled",e?"true":"false")},_hideSecondaryProgress:function(e){return 0===e}});var Ie=i(81668);const Ze=z.dy`
<style>
:host {
@apply --layout;
@apply --layout-justified;
@apply --layout-center;
width: 200px;
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
--paper-progress-active-color: var(--paper-slider-active-color, var(--google-blue-700));
--paper-progress-secondary-color: var(--paper-slider-secondary-color, var(--google-blue-300));
--paper-progress-disabled-active-color: var(--paper-slider-disabled-active-color, var(--paper-grey-400));
--paper-progress-disabled-secondary-color: var(--paper-slider-disabled-secondary-color, var(--paper-grey-400));
--calculated-paper-slider-height: var(--paper-slider-height, 2px);
}
/* focus shows the ripple */
:host(:focus) {
outline: none;
}
/**
* NOTE(keanulee): Though :host-context is not universally supported, some pages
* still rely on paper-slider being flipped when dir="rtl" is set on body. For full
* compatibility, dir="rtl" must be explicitly set on paper-slider.
*/
:dir(rtl) #sliderContainer {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
/**
* NOTE(keanulee): This is separate from the rule above because :host-context may
* not be recognized.
*/
:host([dir="rtl"]) #sliderContainer {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
/**
* NOTE(keanulee): Needed to override the :host-context rule (where supported)
* to support LTR sliders in RTL pages.
*/
:host([dir="ltr"]) #sliderContainer {
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
#sliderContainer {
position: relative;
width: 100%;
height: calc(30px + var(--calculated-paper-slider-height));
margin-left: calc(15px + var(--calculated-paper-slider-height)/2);
margin-right: calc(15px + var(--calculated-paper-slider-height)/2);
}
#sliderContainer:focus {
outline: 0;
}
#sliderContainer.editable {
margin-top: 12px;
margin-bottom: 12px;
}
.bar-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow: hidden;
}
.ring > .bar-container {
left: calc(5px + var(--calculated-paper-slider-height)/2);
transition: left 0.18s ease;
}
.ring.expand.dragging > .bar-container {
transition: none;
}
.ring.expand:not(.pin) > .bar-container {
left: calc(8px + var(--calculated-paper-slider-height)/2);
}
#sliderBar {
padding: 15px 0;
width: 100%;
background-color: var(--paper-slider-bar-color, transparent);
--paper-progress-container-color: var(--paper-slider-container-color, var(--paper-grey-400));
--paper-progress-height: var(--calculated-paper-slider-height);
}
.slider-markers {
position: absolute;
/* slider-knob is 30px + the slider-height so that the markers should start at a offset of 15px*/
top: 15px;
height: var(--calculated-paper-slider-height);
left: 0;
right: -1px;
box-sizing: border-box;
pointer-events: none;
@apply --layout-horizontal;
}
.slider-marker {
@apply --layout-flex;
}
.slider-markers::after,
.slider-marker::after {
content: "";
display: block;
margin-left: -1px;
width: 2px;
height: var(--calculated-paper-slider-height);
border-radius: 50%;
background-color: var(--paper-slider-markers-color, #000);
}
.slider-knob {
position: absolute;
left: 0;
top: 0;
margin-left: calc(-15px - var(--calculated-paper-slider-height)/2);
width: calc(30px + var(--calculated-paper-slider-height));
height: calc(30px + var(--calculated-paper-slider-height));
}
.transiting > .slider-knob {
transition: left 0.08s ease;
}
.slider-knob:focus {
outline: none;
}
.slider-knob.dragging {
transition: none;
}
.snaps > .slider-knob.dragging {
transition: -webkit-transform 0.08s ease;
transition: transform 0.08s ease;
}
.slider-knob-inner {
margin: 10px;
width: calc(100% - 20px);
height: calc(100% - 20px);
background-color: var(--paper-slider-knob-color, var(--google-blue-700));
border: 2px solid var(--paper-slider-knob-color, var(--google-blue-700));
border-radius: 50%;
-moz-box-sizing: border-box;
box-sizing: border-box;
transition-property: -webkit-transform, background-color, border;
transition-property: transform, background-color, border;
transition-duration: 0.18s;
transition-timing-function: ease;
}
.expand:not(.pin) > .slider-knob > .slider-knob-inner {
-webkit-transform: scale(1.5);
transform: scale(1.5);
}
.ring > .slider-knob > .slider-knob-inner {
background-color: var(--paper-slider-knob-start-color, transparent);
border: 2px solid var(--paper-slider-knob-start-border-color, var(--paper-grey-400));
}
.slider-knob-inner::before {
background-color: var(--paper-slider-pin-color, var(--google-blue-700));
}
.pin > .slider-knob > .slider-knob-inner::before {
content: "";
position: absolute;
top: 0;
left: 50%;
margin-left: -13px;
width: 26px;
height: 26px;
border-radius: 50% 50% 50% 0;
-webkit-transform: rotate(-45deg) scale(0) translate(0);
transform: rotate(-45deg) scale(0) translate(0);
}
.slider-knob-inner::before,
.slider-knob-inner::after {
transition: -webkit-transform .18s ease, background-color .18s ease;
transition: transform .18s ease, background-color .18s ease;
}
.pin.ring > .slider-knob > .slider-knob-inner::before {
background-color: var(--paper-slider-pin-start-color, var(--paper-grey-400));
}
.pin.expand > .slider-knob > .slider-knob-inner::before {
-webkit-transform: rotate(-45deg) scale(1) translate(17px, -17px);
transform: rotate(-45deg) scale(1) translate(17px, -17px);
}
.pin > .slider-knob > .slider-knob-inner::after {
content: attr(value);
position: absolute;
top: 0;
left: 50%;
margin-left: -16px;
width: 32px;
height: 26px;
text-align: center;
color: var(--paper-slider-font-color, #fff);
font-size: 10px;
-webkit-transform: scale(0) translate(0);
transform: scale(0) translate(0);
}
.pin.expand > .slider-knob > .slider-knob-inner::after {
-webkit-transform: scale(1) translate(0, -17px);
transform: scale(1) translate(0, -17px);
}
/* paper-input */
.slider-input {
width: 50px;
overflow: hidden;
--paper-input-container-input: {
text-align: center;
@apply --paper-slider-input-container-input;
};
@apply --paper-slider-input;
}
/* disabled state */
#sliderContainer.disabled {
pointer-events: none;
}
.disabled > .slider-knob > .slider-knob-inner {
background-color: var(--paper-slider-disabled-knob-color, var(--paper-grey-400));
border: 2px solid var(--paper-slider-disabled-knob-color, var(--paper-grey-400));
-webkit-transform: scale3d(0.75, 0.75, 1);
transform: scale3d(0.75, 0.75, 1);
}
.disabled.ring > .slider-knob > .slider-knob-inner {
background-color: var(--paper-slider-knob-start-color, transparent);
border: 2px solid var(--paper-slider-knob-start-border-color, var(--paper-grey-400));
}
paper-ripple {
color: var(--paper-slider-knob-color, var(--google-blue-700));
}
</style>
<div id="sliderContainer" class\$="[[_getClassNames(disabled, pin, snaps, immediateValue, min, expand, dragging, transiting, editable)]]">
<div class="bar-container">
<paper-progress disabled\$="[[disabled]]" id="sliderBar" aria-hidden="true" min="[[min]]" max="[[max]]" step="[[step]]" value="[[immediateValue]]" secondary-progress="[[secondaryProgress]]" on-down="_bardown" on-up="_resetKnob" on-track="_bartrack" on-tap="_barclick">
</paper-progress>
</div>
<template is="dom-if" if="[[snaps]]">
<div class="slider-markers">
<template is="dom-repeat" items="[[markers]]">
<div class="slider-marker"></div>
</template>
</div>
</template>
<div id="sliderKnob" class="slider-knob" on-down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobTransitionEnd">
<div class="slider-knob-inner" value\$="[[immediateValue]]"></div>
</div>
</div>
<template is="dom-if" if="[[editable]]">
<paper-input id="input" type="number" step="[[step]]" min="[[min]]" max="[[max]]" class="slider-input" disabled\$="[[disabled]]" value="[[immediateValue]]" on-change="_changeValue" on-keydown="_inputKeyDown" no-label-float>
</paper-input>
</template>
`;Ze.setAttribute("strip-whitespace",""),(0,j.k)({_template:Ze,is:"paper-slider",behaviors:[q.G,D,re,Te],properties:{value:{type:Number,value:0},snaps:{type:Boolean,value:!1,notify:!0},pin:{type:Boolean,value:!1,notify:!0},secondaryProgress:{type:Number,value:0,notify:!0,observer:"_secondaryProgressChanged"},editable:{type:Boolean,value:!1},immediateValue:{type:Number,value:0,readOnly:!0,notify:!0},maxMarkers:{type:Number,value:0,notify:!0},expand:{type:Boolean,value:!1,readOnly:!0},ignoreBarTouch:{type:Boolean,value:!1},dragging:{type:Boolean,value:!1,readOnly:!0,notify:!0},transiting:{type:Boolean,value:!1,readOnly:!0},markers:{type:Array,readOnly:!0,value:function(){return[]}}},observers:["_updateKnob(value, min, max, snaps, step)","_valueChanged(value)","_immediateValueChanged(immediateValue)","_updateMarkers(maxMarkers, min, max, snaps)"],hostAttributes:{role:"slider",tabindex:0},keyBindings:{left:"_leftKey",right:"_rightKey","down pagedown home":"_decrementKey","up pageup end":"_incrementKey"},ready:function(){this.ignoreBarTouch&&(0,Ie.BP)(this.$.sliderBar,"auto")},increment:function(){this.value=this._clampValue(this.value+this.step)},decrement:function(){this.value=this._clampValue(this.value-this.step)},_updateKnob:function(e,t,r,n,i){this.setAttribute("aria-valuemin",t),this.setAttribute("aria-valuemax",r),this.setAttribute("aria-valuenow",e),this._positionKnob(100*this._calcRatio(e))},_valueChanged:function(){this.fire("value-change",{composed:!0})},_immediateValueChanged:function(){this.dragging?this.fire("immediate-value-change",{composed:!0}):this.value=this.immediateValue},_secondaryProgressChanged:function(){this.secondaryProgress=this._clampValue(this.secondaryProgress)},_expandKnob:function(){this._setExpand(!0)},_resetKnob:function(){this.cancelDebouncer("expandKnob"),this._setExpand(!1)},_positionKnob:function(e){this._setImmediateValue(this._calcStep(this._calcKnobPosition(e))),this._setRatio(100*this._calcRatio(this.immediateValue)),this.$.sliderKnob.style.left=this.ratio+"%",this.dragging&&(this._knobstartx=this.ratio*this._w/100,this.translate3d(0,0,0,this.$.sliderKnob))},_calcKnobPosition:function(e){return(this.max-this.min)*e/100+this.min},_onTrack:function(e){switch(e.stopPropagation(),e.detail.state){case"start":this._trackStart(e);break;case"track":this._trackX(e);break;case"end":this._trackEnd()}},_trackStart:function(e){this._setTransiting(!1),this._w=this.$.sliderBar.offsetWidth,this._x=this.ratio*this._w/100,this._startx=this._x,this._knobstartx=this._startx,this._minx=-this._startx,this._maxx=this._w-this._startx,this.$.sliderKnob.classList.add("dragging"),this._setDragging(!0)},_trackX:function(e){this.dragging||this._trackStart(e);var t=this._isRTL?-1:1,r=Math.min(this._maxx,Math.max(this._minx,e.detail.dx*t));this._x=this._startx+r;var n=this._calcStep(this._calcKnobPosition(this._x/this._w*100));this._setImmediateValue(n);var i=this._calcRatio(this.immediateValue)*this._w-this._knobstartx;this.translate3d(i+"px",0,0,this.$.sliderKnob)},_trackEnd:function(){var e=this.$.sliderKnob.style;this.$.sliderKnob.classList.remove("dragging"),this._setDragging(!1),this._resetKnob(),this.value=this.immediateValue,e.transform=e.webkitTransform="",this.fire("change",{composed:!0})},_knobdown:function(e){this._expandKnob(),e.preventDefault(),this.focus()},_bartrack:function(e){this._allowBarEvent(e)&&this._onTrack(e)},_barclick:function(e){this._w=this.$.sliderBar.offsetWidth;var t=this.$.sliderBar.getBoundingClientRect(),r=(e.detail.x-t.left)/this._w*100;this._isRTL&&(r=100-r);var n=this.ratio;this._setTransiting(!0),this._positionKnob(r),n===this.ratio&&this._setTransiting(!1),this.async((function(){this.fire("change",{composed:!0})})),e.preventDefault(),this.focus()},_bardown:function(e){this._allowBarEvent(e)&&(this.debounce("expandKnob",this._expandKnob,60),this._barclick(e))},_knobTransitionEnd:function(e){e.target===this.$.sliderKnob&&this._setTransiting(!1)},_updateMarkers:function(e,t,r,n){n||this._setMarkers([]);var i=Math.round((r-t)/this.step);i>e&&(i=e),(i<0||!isFinite(i))&&(i=0),this._setMarkers(new Array(i))},_mergeClasses:function(e){return Object.keys(e).filter((function(t){return e[t]})).join(" ")},_getClassNames:function(){return this._mergeClasses({disabled:this.disabled,pin:this.pin,snaps:this.snaps,ring:this.immediateValue<=this.min,expand:this.expand,dragging:this.dragging,transiting:this.transiting,editable:this.editable})},_allowBarEvent:function(e){return!this.ignoreBarTouch||e.detail.sourceEvent instanceof MouseEvent},get _isRTL(){return void 0===this.__isRTL&&(this.__isRTL="rtl"===window.getComputedStyle(this).direction),this.__isRTL},_leftKey:function(e){this._isRTL?this._incrementKey(e):this._decrementKey(e)},_rightKey:function(e){this._isRTL?this._decrementKey(e):this._incrementKey(e)},_incrementKey:function(e){this.disabled||("end"===e.detail.key?this.value=this.max:this.increment(),this.fire("change"),e.preventDefault())},_decrementKey:function(e){this.disabled||("home"===e.detail.key?this.value=this.min:this.decrement(),this.fire("change"),e.preventDefault())},_changeValue:function(e){this.value=e.target.value,this.fire("change",{composed:!0})},_inputKeyDown:function(e){e.stopPropagation()},_createRipple:function(){return this._rippleContainer=this.$.sliderKnob,te._createRipple.call(this)},_focusedChanged:function(e){e&&this.ensureRipple(),this.hasRipple()&&(this._ripple.style.display=e?"":"none",this._ripple.holdDown=e)}});const Oe=customElements.get("paper-slider");let Ne;function Re(){Re=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!De(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Be(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Fe(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Fe(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Me(e){var t,r=Be(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function ze(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function De(e){return e.decorators&&e.decorators.length}function je(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Fe(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Be(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}customElements.define("ha-slider",class extends Oe{static get template(){if(!Ne){Ne=Oe.template.cloneNode(!0);Ne.content.querySelector("style").appendChild(document.createTextNode('\n :host([dir="rtl"]) #sliderContainer.pin.expand > .slider-knob > .slider-knob-inner::after {\n -webkit-transform: scale(1) translate(0, -17px) scaleX(-1) !important;\n transform: scale(1) translate(0, -17px) scaleX(-1) !important;\n }\n\n .pin > .slider-knob > .slider-knob-inner {\n font-size: var(--ha-slider-pin-font-size, 10px);\n line-height: normal;\n cursor: pointer;\n }\n\n .disabled.ring > .slider-knob > .slider-knob-inner {\n background-color: var(--paper-slider-disabled-knob-color, var(--paper-grey-400));\n border: 2px solid var(--paper-slider-disabled-knob-color, var(--paper-grey-400));\n }\n\n .pin > .slider-knob > .slider-knob-inner::before {\n top: unset;\n margin-left: unset;\n\n bottom: calc(15px + var(--calculated-paper-slider-height)/2);\n left: 50%;\n width: 2.2em;\n height: 2.2em;\n\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n -webkit-transform: rotate(-45deg) scale(0) translate(0);\n transform: rotate(-45deg) scale(0) translate(0);\n }\n\n .pin.expand > .slider-knob > .slider-knob-inner::before {\n -webkit-transform: rotate(-45deg) scale(1) translate(7px, -7px);\n transform: rotate(-45deg) scale(1) translate(7px, -7px);\n }\n\n .pin > .slider-knob > .slider-knob-inner::after {\n top: unset;\n font-size: unset;\n\n bottom: calc(15px + var(--calculated-paper-slider-height)/2);\n left: 50%;\n margin-left: -1.1em;\n width: 2.2em;\n height: 2.1em;\n\n -webkit-transform-origin: center bottom;\n transform-origin: center bottom;\n -webkit-transform: scale(0) translate(0);\n transform: scale(0) translate(0);\n }\n\n .pin.expand > .slider-knob > .slider-knob-inner::after {\n -webkit-transform: scale(1) translate(0, -10px);\n transform: scale(1) translate(0, -10px);\n }\n\n .slider-input {\n width: 54px;\n }\n '))}return Ne}_calcStep(e){if(!this.step)return parseFloat(e);const t=Math.round((e-this.min)/this.step),r=this.step.toString(),n=r.indexOf(".");if(-1!==n){const e=10**(r.length-n-1);return Math.round((t*this.step+this.min)*e)/e}return t*this.step+this.min}});!function(e,t,r,n){var i=Re();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(je(o.descriptor)||je(i.descriptor)){if(De(o)||De(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(De(o)){if(De(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}ze(o,i)}else t.push(o)}return t}(a.d.map(Me)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-integer")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.IO)("paper-input ha-slider")],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return"valueMin"in this.schema&&"valueMax"in this.schema?e.dy`
<div>
${this.label}
<div class="flex">
${this.schema.optional&&void 0===this.schema.default?e.dy`
<ha-checkbox
@change=${this._handleCheckboxChange}
.checked=${void 0!==this.data}
></ha-checkbox>
`:""}
<ha-slider
pin
editable
.value=${this._value}
.min=${this.schema.valueMin}
.max=${this.schema.valueMax}
.disabled=${void 0===this.data&&this.schema.optional&&void 0===this.schema.default}
@value-changed=${this._valueChanged}
></ha-slider>
</div>
</div>
`:e.dy`
<paper-input
type="number"
.label=${this.label}
.value=${this._value}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
@value-changed=${this._valueChanged}
></paper-input>
`}},{kind:"get",key:"_value",value:function(){var e;return this.data||(null===(e=this.schema.description)||void 0===e?void 0:e.suggested_value)||this.schema.default||0}},{kind:"method",key:"_handleCheckboxChange",value:function(e){const t=e.target.checked;(0,r.B)(this,"value-changed",{value:t?this._value:void 0})}},{kind:"method",key:"_valueChanged",value:function(e){const t=Number(e.target.value);this._value!==t&&(0,r.B)(this,"value-changed",{value:t})}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
.flex {
display: flex;
}
ha-slider {
width: 100%;
margin-right: 16px;
}
`}}]}}),e.oi);i(97968);var He=i(33760);(0,j.k)({_template:W.d`
<style include="paper-item-shared-styles"></style>
<style>
:host {
@apply --layout-horizontal;
@apply --layout-center;
@apply --paper-font-subhead;
@apply --paper-item;
@apply --paper-icon-item;
}
.content-icon {
@apply --layout-horizontal;
@apply --layout-center;
width: var(--paper-item-icon-width, 56px);
@apply --paper-item-icon;
}
</style>
<div id="contentIcon" class="content-icon">
<slot name="item-icon"></slot>
</div>
<slot></slot>
`,is:"paper-icon-item",behaviors:[He.U]});class Ge{constructor(e){this.selection=[],this.selectCallback=e}get(){return this.multi?this.selection.slice():this.selection[0]}clear(e){this.selection.slice().forEach((function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)}),this)}isSelected(e){return this.selection.indexOf(e)>=0}setItemSelected(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var r=this.selection.indexOf(e);r>=0&&this.selection.splice(r,1)}this.selectCallback&&this.selectCallback(e,t)}}select(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}toggle(e){this.setItemSelected(e,!this.isSelected(e))}}const Ve={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new Ge(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&(0,X.vz)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=(0,X.vz)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,r=0;t=this.items[r];r++)if(this._valueForItem(t)==e)return r},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var r=e[(0,ve.z)(this.attrForSelected)];return null!=r?r:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return(0,X.vz)(e).observeNodes((function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})}))},_activateHandler:function(e){for(var t=e.target,r=this.items;t&&t!=this;){var n=r.indexOf(t);if(n>=0){var i=this._indexToValue(n);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}},Ke={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map((function(e){return this._indexToValue(this.indexOf(e))}),this).filter((function(e){return null!=e}),this)):Ve._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter((function(e){return null!=e}));this._selection.clear(t);for(var r=0;r<t.length;r++)this._selection.setItemSelected(t[r],!0);this.fallbackSelection&&!this._selection.get().length&&(this._valueToItem(this.fallbackSelection)&&this.select(this.fallbackSelection))},_selectionChange:function(){var e=this._selection.get();this.multi?(this._setSelectedItems(e),this._setSelectedItem(e.length?e[0]:null)):null!=e?(this._setSelectedItems([e]),this._setSelectedItem(e)):(this._setSelectedItems([]),this._setSelectedItem(null))},_toggleSelected:function(e){var t=this.selectedValues.indexOf(e);t<0?this.push("selectedValues",e):this.splice("selectedValues",t,1)},_valuesToItems:function(e){return null==e?null:e.map((function(e){return this._valueToItem(e)}),this)}},$e={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String},disabled:{type:Boolean,value:!1,observer:"_disabledChanged"}},_MODIFIER_KEYS:["Alt","AltGraph","CapsLock","Control","Fn","FnLock","Hyper","Meta","NumLock","OS","ScrollLock","Shift","Super","Symbol","SymbolLock"],_SEARCH_RESET_TIMEOUT_MS:1e3,_previousTabIndex:0,hostAttributes:{role:"menu"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown","iron-items-changed":"_onIronItemsChanged"},keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey","shift+tab:keydown":"_onShiftTabDown"},attached:function(){this._resetTabindices()},select:function(e){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var t=this._valueToItem(e);t&&t.hasAttribute("disabled")||(this._setFocusedItem(t),Ke.select.apply(this,arguments))},_resetTabindices:function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach((function(t){t.setAttribute("tabindex",t===e?"0":"-1"),t.setAttribute("aria-selected",this._selection.isSelected(t))}),this)},_updateMultiselectable:function(e){e?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},_focusWithKeyboardEvent:function(e){if(-1===this._MODIFIER_KEYS.indexOf(e.key)){this.cancelDebouncer("_clearSearchText");for(var t,r=this._searchText||"",n=(r+=(e.key&&1==e.key.length?e.key:String.fromCharCode(e.keyCode)).toLocaleLowerCase()).length,i=0;t=this.items[i];i++)if(!t.hasAttribute("disabled")){var o=this.attrForItemTitle||"textContent",a=(t[o]||t.getAttribute(o)||"").trim();if(!(a.length<n)&&a.slice(0,n).toLocaleLowerCase()==r){this._setFocusedItem(t);break}}this._searchText=r,this.debounce("_clearSearchText",this._clearSearchText,this._SEARCH_RESET_TIMEOUT_MS)}},_clearSearchText:function(){this._searchText=""},_focusPrevious:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),r=1;r<e+1;r++){var n=this.items[(t-r+e)%e];if(!n.hasAttribute("disabled")){var i=(0,X.vz)(n).getOwnerRoot()||document;if(this._setFocusedItem(n),(0,X.vz)(i).activeElement==n)return}}},_focusNext:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),r=1;r<e+1;r++){var n=this.items[(t+r)%e];if(!n.hasAttribute("disabled")){var i=(0,X.vz)(n).getOwnerRoot()||document;if(this._setFocusedItem(n),(0,X.vz)(i).activeElement==n)return}}},_applySelection:function(e,t){t?e.setAttribute("aria-selected","true"):e.setAttribute("aria-selected","false"),Ve._applySelection.apply(this,arguments)},_focusedItemChanged:function(e,t){t&&t.setAttribute("tabindex","-1"),!e||e.hasAttribute("disabled")||this.disabled||(e.setAttribute("tabindex","0"),e.focus())},_onIronItemsChanged:function(e){e.detail.addedNodes.length&&this._resetTabindices()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");$e._shiftTabPressed=!0,this._setFocusedItem(null),this.setAttribute("tabindex","-1"),this.async((function(){this.setAttribute("tabindex",t),$e._shiftTabPressed=!1}),1)},_onFocus:function(e){if(!$e._shiftTabPressed){var t=(0,X.vz)(e).rootTarget;(t===this||void 0===t.tabIndex||this.isLightDescendant(t))&&(this._defaultFocusAsync=this.async((function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this._setFocusedItem(null),e?this._setFocusedItem(e):this.items[0]&&this._focusNext()})))}},_onUpKey:function(e){this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onEscKey:function(e){var t=this.focusedItem;t&&t.blur()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down esc")||this._focusWithKeyboardEvent(e),e.stopPropagation()},_activateHandler:function(e){Ve._activateHandler.call(this,e),e.stopPropagation()},_disabledChanged:function(e){e?(this._previousTabIndex=this.hasAttribute("tabindex")?this.tabIndex:0,this.removeAttribute("tabindex")):this.hasAttribute("tabindex")||this.setAttribute("tabindex",this._previousTabIndex)},_shiftTabPressed:!1},qe=[[Ve,Ke],q.G,$e];(0,j.k)({_template:W.d`
<style>
:host {
display: block;
padding: 8px 0;
background: var(--paper-listbox-background-color, var(--primary-background-color));
color: var(--paper-listbox-color, var(--primary-text-color));
@apply --paper-listbox;
}
</style>
<slot></slot>
`,is:"paper-listbox",behaviors:[qe],hostAttributes:{role:"listbox"}});const Xe={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){return this.fitInto===window?this.fitInto.innerWidth:this.fitInto.getBoundingClientRect().width},get _fitHeight(){return this.fitInto===window?this.fitInto.innerHeight:this.fitInto.getBoundingClientRect().height},get _fitLeft(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().left},get _fitTop(){return this.fitInto===window?0:this.fitInto.getBoundingClientRect().top},get _defaultPositionTarget(){var e=(0,X.vz)(this).parentNode;return e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e=e.host),e},get _localeHorizontalAlign(){if(this._isRTL){if("right"===this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},get __shouldPosition(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},get _isRTL(){return void 0===this._memoizedIsRTL&&(this._memoizedIsRTL="rtl"==window.getComputedStyle(this).direction),this._memoizedIsRTL},attached:function(){this.positionTarget=this.positionTarget||this._defaultPositionTarget,this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},detached:function(){this.__deferredFit&&(clearTimeout(this.__deferredFit),this.__deferredFit=null)},fit:function(){this.position(),this.constrain(),this.center()},_discoverInfo:function(){if(!this._fitInfo){var e=window.getComputedStyle(this),t=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==e.top?"top":"auto"!==e.bottom?"bottom":null,horizontally:"auto"!==e.left?"left":"auto"!==e.right?"right":null},sizedBy:{height:"none"!==t.maxHeight,width:"none"!==t.maxWidth,minWidth:parseInt(t.minWidth,10)||0,minHeight:parseInt(t.minHeight,10)||0},margin:{top:parseInt(e.marginTop,10)||0,right:parseInt(e.marginRight,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0}}}},resetFit:function(){var e=this._fitInfo||{};for(var t in e.sizerInlineStyle)this.sizingTarget.style[t]=e.sizerInlineStyle[t];for(var t in e.inlineStyle)this.style[t]=e.inlineStyle[t];this._fitInfo=null},refit:function(){var e=this.sizingTarget.scrollLeft,t=this.sizingTarget.scrollTop;this.resetFit(),this.fit(),this.sizingTarget.scrollLeft=e,this.sizingTarget.scrollTop=t},position:function(){if(this.__shouldPosition){this._discoverInfo(),this.style.position="fixed",this.sizingTarget.style.boxSizing="border-box",this.style.left="0px",this.style.top="0px";var e=this.getBoundingClientRect(),t=this.__getNormalizedRect(this.positionTarget),r=this.__getNormalizedRect(this.fitInto),n=this._fitInfo.margin,i={width:e.width+n.left+n.right,height:e.height+n.top+n.bottom},o=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,i,e,t,r),a=o.left+n.left,s=o.top+n.top,l=Math.min(r.right-n.right,a+e.width),c=Math.min(r.bottom-n.bottom,s+e.height);a=Math.max(r.left+n.left,Math.min(a,l-this._fitInfo.sizedBy.minWidth)),s=Math.max(r.top+n.top,Math.min(s,c-this._fitInfo.sizedBy.minHeight)),this.sizingTarget.style.maxWidth=Math.max(l-a,this._fitInfo.sizedBy.minWidth)+"px",this.sizingTarget.style.maxHeight=Math.max(c-s,this._fitInfo.sizedBy.minHeight)+"px",this.style.left=a-e.left+"px",this.style.top=s-e.top+"px"}},constrain:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo;e.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px"),e.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px"),this.sizingTarget.style.boxSizing="border-box";var t=this.getBoundingClientRect();e.sizedBy.height||this.__sizeDimension(t,e.positionedBy.vertically,"top","bottom","Height"),e.sizedBy.width||this.__sizeDimension(t,e.positionedBy.horizontally,"left","right","Width")}},_sizeDimension:function(e,t,r,n,i){this.__sizeDimension(e,t,r,n,i)},__sizeDimension:function(e,t,r,n,i){var o=this._fitInfo,a=this.__getNormalizedRect(this.fitInto),s="Width"===i?a.width:a.height,l=t===n,c=l?s-e[n]:e[r],u=o.margin[l?r:n],d="offset"+i,p=this[d]-this.sizingTarget[d];this.sizingTarget.style["max"+i]=s-u-c-p+"px"},center:function(){if(!this.__shouldPosition){this._discoverInfo();var e=this._fitInfo.positionedBy;if(!e.vertically||!e.horizontally){this.style.position="fixed",e.vertically||(this.style.top="0px"),e.horizontally||(this.style.left="0px");var t=this.getBoundingClientRect(),r=this.__getNormalizedRect(this.fitInto);if(!e.vertically){var n=r.top-t.top+(r.height-t.height)/2;this.style.top=n+"px"}if(!e.horizontally){var i=r.left-t.left+(r.width-t.width)/2;this.style.left=i+"px"}}}},__getNormalizedRect:function(e){return e===document.documentElement||e===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect()},__getOffscreenArea:function(e,t,r){var n=Math.min(0,e.top)+Math.min(0,r.bottom-(e.top+t.height)),i=Math.min(0,e.left)+Math.min(0,r.right-(e.left+t.width));return Math.abs(n)*t.width+Math.abs(i)*t.height},__getPosition:function(e,t,r,n,i,o){var a,s=[{verticalAlign:"top",horizontalAlign:"left",top:i.top+this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"top",horizontalAlign:"right",top:i.top+this.verticalOffset,left:i.right-r.width-this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"left",top:i.bottom-r.height-this.verticalOffset,left:i.left+this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"right",top:i.bottom-r.height-this.verticalOffset,left:i.right-r.width-this.horizontalOffset}];if(this.noOverlap){for(var l=0,c=s.length;l<c;l++){var u={};for(var d in s[l])u[d]=s[l][d];s.push(u)}s[0].top=s[1].top+=i.height,s[2].top=s[3].top-=i.height,s[4].left=s[6].left+=i.width,s[5].left=s[7].left-=i.width}t="auto"===t?null:t,(e="auto"===e?null:e)&&"center"!==e||(s.push({verticalAlign:"top",horizontalAlign:"center",top:i.top+this.verticalOffset+(this.noOverlap?i.height:0),left:i.left-n.width/2+i.width/2+this.horizontalOffset}),s.push({verticalAlign:"bottom",horizontalAlign:"center",top:i.bottom-r.height-this.verticalOffset-(this.noOverlap?i.height:0),left:i.left-n.width/2+i.width/2+this.horizontalOffset})),t&&"middle"!==t||(s.push({verticalAlign:"middle",horizontalAlign:"left",top:i.top-n.height/2+i.height/2+this.verticalOffset,left:i.left+this.horizontalOffset+(this.noOverlap?i.width:0)}),s.push({verticalAlign:"middle",horizontalAlign:"right",top:i.top-n.height/2+i.height/2+this.verticalOffset,left:i.right-r.width-this.horizontalOffset-(this.noOverlap?i.width:0)})),"middle"===t&&"center"===e&&s.push({verticalAlign:"middle",horizontalAlign:"center",top:i.top-n.height/2+i.height/2+this.verticalOffset,left:i.left-n.width/2+i.width/2+this.horizontalOffset});for(l=0;l<s.length;l++){var p=s[l],h=p.verticalAlign===t,f=p.horizontalAlign===e;if(!this.dynamicAlign&&!this.noOverlap&&h&&f){a=p;break}var m=(!t||h)&&(!e||f);if(this.dynamicAlign||m){if(p.offscreenArea=this.__getOffscreenArea(p,r,o),0===p.offscreenArea&&m){a=p;break}a=a||p;var v=p.offscreenArea-a.offscreenArea;(v<0||0===v&&(h||f))&&(a=p)}}return a}};var We=i(74460),Ye=new Set;const Je={properties:{_parentResizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant:{type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIronRequestResizeNotifications"},created:function(){this._interestedResizables=[],this._boundNotifyResize=this.notifyResize.bind(this),this._boundOnDescendantIronResize=this._onDescendantIronResize.bind(this)},attached:function(){this._requestResizeNotifications()},detached:function(){this._parentResizable?this._parentResizable.stopResizeNotificationsFor(this):(Ye.delete(this),window.removeEventListener("resize",this._boundNotifyResize)),this._parentResizable=null},notifyResize:function(){this.isAttached&&(this._interestedResizables.forEach((function(e){this.resizerShouldNotify(e)&&this._notifyDescendant(e)}),this),this._fireResize())},assignParentResizable:function(e){this._parentResizable&&this._parentResizable.stopResizeNotificationsFor(this),this._parentResizable=e,e&&-1===e._interestedResizables.indexOf(this)&&(e._interestedResizables.push(this),e._subscribeIronResize(this))},stopResizeNotificationsFor:function(e){var t=this._interestedResizables.indexOf(e);t>-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():We.my||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=(0,X.vz)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",(function t(){document.removeEventListener("readystatechange",t),e()}))}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach((function(e){e!==this&&e._findParent()}),this):(Ye.forEach((function(e){e!==this&&e._findParent()}),this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?Ye.delete(this):Ye.add(this)}};var Qe=Element.prototype,et=Qe.matches||Qe.matchesSelector||Qe.mozMatchesSelector||Qe.msMatchesSelector||Qe.oMatchesSelector||Qe.webkitMatchesSelector;const tt=new class{getTabbableNodes(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t}isFocusable(e){return et.call(e,"input, select, textarea, button, object")?et.call(e,":not([disabled])"):et.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")}isTabbable(e){return this.isFocusable(e)&&et.call(e,':not([tabindex="-1"])')&&this._isVisible(e)}_normalizedTabIndex(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1}_collectTabbableNodes(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var r=e;if(!this._isVisible(r))return!1;var n,i=this._normalizedTabIndex(r),o=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?(0,X.vz)(r).getDistributedNodes():(0,X.vz)(r.root||r).children;for(var a=0;a<n.length;a++)o=this._collectTabbableNodes(n[a],t)||o;return o}_isVisible(e){var t=e.style;return"hidden"!==t.visibility&&"none"!==t.display&&("hidden"!==(t=window.getComputedStyle(e)).visibility&&"none"!==t.display)}_sortByTabIndex(e){var t=e.length;if(t<2)return e;var r=Math.ceil(t/2),n=this._sortByTabIndex(e.slice(0,r)),i=this._sortByTabIndex(e.slice(r));return this._mergeSortByTabIndex(n,i)}_mergeSortByTabIndex(e,t){for(var r=[];e.length>0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?r.push(t.shift()):r.push(e.shift());return r.concat(e,t)}_hasLowerTabOrder(e,t){var r=Math.max(e.tabIndex,0),n=Math.max(t.tabIndex,0);return 0===r||0===n?n>r:r>n}};(0,j.k)({_template:W.d`
<style>
:host {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--iron-overlay-backdrop-background-color, #000);
opacity: 0;
transition: opacity 0.2s;
pointer-events: none;
@apply --iron-overlay-backdrop;
}
:host(.opened) {
opacity: var(--iron-overlay-backdrop-opacity, 0.6);
pointer-events: auto;
@apply --iron-overlay-backdrop-opened;
}
</style>
<slot></slot>
`,is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&(0,X.vz)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||(0,X.vz)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});const rt=new class{constructor(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,Ie.NH(document.documentElement,"tap",(function(){})),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)}get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement}get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&(0,X.vz)(e.root).activeElement;)e=(0,X.vz)(e.root).activeElement;return e}_bringOverlayAtIndexToFront(e){var t=this._overlays[e];if(t){var r=this._overlays.length-1,n=this._overlays[r];if(n&&this._shouldBeBehindOverlay(t,n)&&r--,!(e>=r)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e<r;)this._overlays[e]=this._overlays[e+1],e++;this._overlays[r]=t}}}addOrRemoveOverlay(e){e.opened?this.addOverlay(e):this.removeOverlay(e)}addOverlay(e){var t=this._overlays.indexOf(e);if(t>=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var r=this._overlays.length,n=this._overlays[r-1],i=Math.max(this._getZ(n),this._minimumZ),o=this._getZ(e);if(n&&this._shouldBeBehindOverlay(e,n)){this._applyOverlayZ(n,i),r--;var a=this._overlays[r-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(r,0,e),this.trackBackdrop()}removeOverlay(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())}currentOverlay(){var e=this._overlays.length-1;return this._overlays[e]}currentOverlayZ(){return this._getZ(this.currentOverlay())}ensureMinimumZ(e){this._minimumZ=Math.max(this._minimumZ,e)}focusOverlay(){var e=this.currentOverlay();e&&e._applyFocus()}trackBackdrop(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())}getBackdrops(){for(var e=[],t=0;t<this._overlays.length;t++)this._overlays[t].withBackdrop&&e.push(this._overlays[t]);return e}backdropZ(){return this._getZ(this._overlayWithBackdrop())-1}_overlayWithBackdrop(){for(var e=this._overlays.length-1;e>=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]}_getZ(e){var t=this._minimumZ;if(e){var r=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);r==r&&(t=r)}return t}_setZ(e,t){e.style.zIndex=t}_applyOverlayZ(e,t){this._setZ(e,t+2)}_overlayInPath(e){e=e||[];for(var t=0;t<e.length;t++)if(e[t]._manager===this)return e[t]}_onCaptureClick(e){var t=this._overlays.length-1;if(-1!==t)for(var r,n=(0,X.vz)(e).path;(r=this._overlays[t])&&this._overlayInPath(n)!==r&&(r._onCaptureClick(e),r.allowClickThrough);)t--}_onCaptureFocus(e){var t=this.currentOverlay();t&&t._onCaptureFocus(e)}_onCaptureKeyDown(e){var t=this.currentOverlay();t&&(q.G.keyboardEventMatchesKeys(e,"esc")?t._onCaptureEsc(e):q.G.keyboardEventMatchesKeys(e,"tab")&&t._onCaptureTab(e))}_shouldBeBehindOverlay(e,t){return!e.alwaysOnTop&&t.alwaysOnTop}};var nt,it,ot={pageX:0,pageY:0},at=null,st=[],lt=["wheel","mousewheel","DOMMouseScroll","touchstart","touchmove"];function ct(e){dt.indexOf(e)>=0||(0===dt.length&&function(){nt=nt||ft.bind(void 0);for(var e=0,t=lt.length;e<t;e++)document.addEventListener(lt[e],nt,{capture:!0,passive:!1})}(),dt.push(e),it=dt[dt.length-1],pt=[],ht=[])}function ut(e){var t=dt.indexOf(e);-1!==t&&(dt.splice(t,1),it=dt[dt.length-1],pt=[],ht=[],0===dt.length&&function(){for(var e=0,t=lt.length;e<t;e++)document.removeEventListener(lt[e],nt,{capture:!0,passive:!1})}())}const dt=[];let pt=null,ht=null;function ft(e){if(e.cancelable&&function(e){var t=(0,X.vz)(e).rootTarget;"touchmove"!==e.type&&at!==t&&(at=t,st=function(e){for(var t=[],r=e.indexOf(it),n=0;n<=r;n++)if(e[n].nodeType===Node.ELEMENT_NODE){var i=e[n],o=i.style;"scroll"!==o.overflow&&"auto"!==o.overflow&&(o=window.getComputedStyle(i)),"scroll"!==o.overflow&&"auto"!==o.overflow||t.push(i)}return t}((0,X.vz)(e).path));if(!st.length)return!0;if("touchstart"===e.type)return!1;var r=function(e){var t={deltaX:e.deltaX,deltaY:e.deltaY};if("deltaX"in e);else if("wheelDeltaX"in e&&"wheelDeltaY"in e)t.deltaX=-e.wheelDeltaX,t.deltaY=-e.wheelDeltaY;else if("wheelDelta"in e)t.deltaX=0,t.deltaY=-e.wheelDelta;else if("axis"in e)t.deltaX=1===e.axis?e.detail:0,t.deltaY=2===e.axis?e.detail:0;else if(e.targetTouches){var r=e.targetTouches[0];t.deltaX=ot.pageX-r.pageX,t.deltaY=ot.pageY-r.pageY}return t}(e);return!function(e,t,r){if(!t&&!r)return;for(var n=Math.abs(r)>=Math.abs(t),i=0;i<e.length;i++){var o=e[i];if(n?r<0?o.scrollTop>0:o.scrollTop<o.scrollHeight-o.clientHeight:t<0?o.scrollLeft>0:o.scrollLeft<o.scrollWidth-o.clientWidth)return o}}(st,r.deltaX,r.deltaY)}(e)&&e.preventDefault(),e.targetTouches){var t=e.targetTouches[0];ot.pageX=t.pageX,ot.pageY=t.pageY}}const mt={properties:{opened:{observer:"_openedChanged",type:Boolean,value:!1,notify:!0},canceled:{observer:"_canceledChanged",readOnly:!0,type:Boolean,value:!1},withBackdrop:{observer:"_withBackdropChanged",type:Boolean},noAutoFocus:{type:Boolean,value:!1},noCancelOnEscKey:{type:Boolean,value:!1},noCancelOnOutsideClick:{type:Boolean,value:!1},closingReason:{type:Object},restoreFocusOnClose:{type:Boolean,value:!1},allowClickThrough:{type:Boolean},alwaysOnTop:{type:Boolean},scrollAction:{type:String},_manager:{type:Object,value:rt},_focusedChild:{type:Object}},listeners:{"iron-resize":"_onIronResize"},observers:["__updateScrollObservers(isAttached, opened, scrollAction)"],get backdropElement(){return this._manager.backdropElement},get _focusNode(){return this._focusedChild||(0,X.vz)(this).querySelector("[autofocus]")||this},get _focusableNodes(){return tt.getTabbableNodes(this)},ready:function(){this.__isAnimating=!1,this.__shouldRemoveTabIndex=!1,this.__firstFocusableNode=this.__lastFocusableNode=null,this.__rafs={},this.__restoreFocusNode=null,this.__scrollTop=this.__scrollLeft=null,this.__onCaptureScroll=this.__onCaptureScroll.bind(this),this.__rootNodes=null,this._ensureSetup()},attached:function(){this.opened&&this._openedChanged(this.opened),this._observer=(0,X.vz)(this).observeNodes(this._onNodesChange)},detached:function(){for(var e in this._observer&&(0,X.vz)(this).unobserveNodes(this._observer),this._observer=null,this.__rafs)null!==this.__rafs[e]&&cancelAnimationFrame(this.__rafs[e]);this.__rafs={},this._manager.removeOverlay(this),this.__isAnimating&&(this.opened?this._finishRenderOpened():(this._applyFocus(),this._finishRenderClosed()))},toggle:function(){this._setCanceled(!1),this.opened=!this.opened},open:function(){this._setCanceled(!1),this.opened=!0},close:function(){this._setCanceled(!1),this.opened=!1},cancel:function(e){this.fire("iron-overlay-canceled",e,{cancelable:!0}).defaultPrevented||(this._setCanceled(!0),this.opened=!1)},invalidateTabbables:function(){this.__firstFocusableNode=this.__lastFocusableNode=null},_ensureSetup:function(){this._overlaySetup||(this._overlaySetup=!0,this.style.outline="none",this.style.display="none")},_openedChanged:function(e){e?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true"),this.isAttached&&(this.__isAnimating=!0,this.__deraf("__openedChanged",this.__openedChanged))},_canceledChanged:function(){this.closingReason=this.closingReason||{},this.closingReason.canceled=this.canceled},_withBackdropChanged:function(){this.withBackdrop&&!this.hasAttribute("tabindex")?(this.setAttribute("tabindex","-1"),this.__shouldRemoveTabIndex=!0):this.__shouldRemoveTabIndex&&(this.removeAttribute("tabindex"),this.__shouldRemoveTabIndex=!1),this.opened&&this.isAttached&&this._manager.trackBackdrop()},_prepareRenderOpened:function(){this.__restoreFocusNode=this._manager.deepActiveElement,this._preparePositioning(),this.refit(),this._finishPositioning(),this.noAutoFocus&&document.activeElement===this._focusNode&&(this._focusNode.blur(),this.__restoreFocusNode.focus())},_renderOpened:function(){this._finishRenderOpened()},_renderClosed:function(){this._finishRenderClosed()},_finishRenderOpened:function(){this.notifyResize(),this.__isAnimating=!1,this.fire("iron-overlay-opened")},_finishRenderClosed:function(){this.style.display="none",this.style.zIndex="",this.notifyResize(),this.__isAnimating=!1,this.fire("iron-overlay-closed",this.closingReason)},_preparePositioning:function(){this.style.transition=this.style.webkitTransition="none",this.style.transform=this.style.webkitTransform="none",this.style.display=""},_finishPositioning:function(){this.style.display="none",this.scrollTop=this.scrollTop,this.style.transition=this.style.webkitTransition="",this.style.transform=this.style.webkitTransform="",this.style.display="",this.scrollTop=this.scrollTop},_applyFocus:function(){if(this.opened)this.noAutoFocus||this._focusNode.focus();else{if(this.restoreFocusOnClose&&this.__restoreFocusNode){var e=this._manager.deepActiveElement;(e===document.body||vt(this,e))&&this.__restoreFocusNode.focus()}this.__restoreFocusNode=null,this._focusNode.blur(),this._focusedChild=null}},_onCaptureClick:function(e){this.noCancelOnOutsideClick||this.cancel(e)},_onCaptureFocus:function(e){if(this.withBackdrop){var t=(0,X.vz)(e).path;-1===t.indexOf(this)?(e.stopPropagation(),this._applyFocus()):this._focusedChild=t[0]}},_onCaptureEsc:function(e){this.noCancelOnEscKey||this.cancel(e)},_onCaptureTab:function(e){if(this.withBackdrop){this.__ensureFirstLastFocusables();var t=e.shiftKey,r=t?this.__firstFocusableNode:this.__lastFocusableNode,n=t?this.__lastFocusableNode:this.__firstFocusableNode,i=!1;if(r===n)i=!0;else{var o=this._manager.deepActiveElement;i=o===r||o===this}i&&(e.preventDefault(),this._focusedChild=n,this._applyFocus())}},_onIronResize:function(){this.opened&&!this.__isAnimating&&this.__deraf("refit",this.refit)},_onNodesChange:function(){this.opened&&!this.__isAnimating&&(this.invalidateTabbables(),this.notifyResize())},__ensureFirstLastFocusables:function(){var e=this._focusableNodes;this.__firstFocusableNode=e[0],this.__lastFocusableNode=e[e.length-1]},__openedChanged:function(){this.opened?(this._prepareRenderOpened(),this._manager.addOverlay(this),this._applyFocus(),this._renderOpened()):(this._manager.removeOverlay(this),this._applyFocus(),this._renderClosed())},__deraf:function(e,t){var r=this.__rafs;null!==r[e]&&cancelAnimationFrame(r[e]),r[e]=requestAnimationFrame(function(){r[e]=null,t.call(this)}.bind(this))},__updateScrollObservers:function(e,t,r){e&&t&&this.__isValidScrollAction(r)?("lock"===r&&(this.__saveScrollPosition(),ct(this)),this.__addScrollListeners()):(ut(this),this.__removeScrollListeners())},__addScrollListeners:function(){if(!this.__rootNodes){if(this.__rootNodes=[],We.my)for(var e=this;e;)e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host&&this.__rootNodes.push(e),e=e.host||e.assignedSlot||e.parentNode;this.__rootNodes.push(document)}this.__rootNodes.forEach((function(e){e.addEventListener("scroll",this.__onCaptureScroll,{capture:!0,passive:!0})}),this)},__removeScrollListeners:function(){this.__rootNodes&&this.__rootNodes.forEach((function(e){e.removeEventListener("scroll",this.__onCaptureScroll,{capture:!0,passive:!0})}),this),this.isAttached||(this.__rootNodes=null)},__isValidScrollAction:function(e){return"lock"===e||"refit"===e||"cancel"===e},__onCaptureScroll:function(e){if(!(this.__isAnimating||(0,X.vz)(e).path.indexOf(this)>=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},vt=(e,t)=>{for(let n=t;n;n=(r=n).assignedSlot||r.parentNode||r.host)if(n===e)return!0;var r;return!1},yt=[Xe,Je,mt],gt=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var r in t)e[r]=t[r]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,r){var n;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(n=e?this.animationConfig[e]:this.animationConfig,Array.isArray(n)||(n=[n]),n)for(var i,o=0;i=n[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,r);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else r.push(i)},getAnimationConfig:function(e){var t={},r=[];for(var n in this._getAnimationConfigRecursive(e,t,r),t)r.push(t[n]);return r}},{_configureAnimations:function(e){var t=[],r=[];if(e.length>0)for(let o,a=0;o=e[a];a++){let e=document.createElement(o.name);if(e.isNeonAnimation){let t=null;e.configure||(e.configure=function(e){return null}),t=e.configure(o),r.push({result:t,config:o,neonAnimation:e})}else console.warn(this.is+":",o.name,"not found!")}for(var n=0;n<r.length;n++){let e=r[n].result,o=r[n].config,a=r[n].neonAnimation;try{"function"!=typeof e.cancel&&(e=document.timeline.play(e))}catch(i){e=null,console.warn("Couldnt play","(",o.name,").",i)}e&&t.push({neonAnimation:a,config:o,animation:e})}return t},_shouldComplete:function(e){for(var t=!0,r=0;r<e.length;r++)if("finished"!=e[r].animation.playState){t=!1;break}return t},_complete:function(e){for(var t=0;t<e.length;t++)e[t].neonAnimation.complete(e[t].config);for(t=0;t<e.length;t++)e[t].animation.cancel()},playAnimation:function(e,t){var r=this.getAnimationConfig(e);if(r){this._active=this._active||{},this._active[e]&&(this._complete(this._active[e]),delete this._active[e]);var n=this._configureAnimations(r);if(0!=n.length){this._active[e]=n;for(var i=0;i<n.length;i++)n[i].animation.onfinish=function(){this._shouldComplete(n)&&(this._complete(n),delete this._active[e],this.fire("neon-animation-finish",t,{bubbles:!1}))}.bind(this)}else this.fire("neon-animation-finish",t,{bubbles:!1})}},cancelAnimation:function(){for(var e in this._active){var t=this._active[e];for(var r in t)t[r].animation.cancel()}this._active={}}}];(0,j.k)({_template:W.d`
<style>
:host {
position: fixed;
}
#contentWrapper ::slotted(*) {
overflow: auto;
}
#contentWrapper.animating ::slotted(*) {
overflow: hidden;
pointer-events: none;
}
</style>
<div id="contentWrapper">
<slot id="content" name="dropdown-content"></slot>
</div>
`,is:"iron-dropdown",behaviors:[$.a,q.G,yt,gt],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=(0,X.vz)(this.$.content).getDistributedNodes(),t=0,r=e.length;t<r;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},ready:function(){this.scrollAction||(this.scrollAction=this.allowOutsideScroll?"refit":"lock"),this._readied=!0},attached:function(){this.sizingTarget&&this.sizingTarget!==this||(this.sizingTarget=this.containedElement||this)},detached:function(){this.cancelAnimation()},_openedChanged:function(){this.opened&&this.disabled?this.cancel():(this.cancelAnimation(),this._updateAnimationConfig(),mt._openedChanged.apply(this,arguments))},_renderOpened:function(){!this.noAnimations&&this.animationConfig.open?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("open")):mt._renderOpened.apply(this,arguments)},_renderClosed:function(){!this.noAnimations&&this.animationConfig.close?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("close")):mt._renderClosed.apply(this,arguments)},_onNeonAnimationFinish:function(){this.$.contentWrapper.classList.remove("animating"),this.opened?this._finishRenderOpened():this._finishRenderClosed()},_updateAnimationConfig:function(){for(var e=this.containedElement,t=[].concat(this.openAnimationConfig||[]).concat(this.closeAnimationConfig||[]),r=0;r<t.length;r++)t[r].node=e;this.animationConfig={open:this.openAnimationConfig,close:this.closeAnimationConfig}},_updateOverlayPosition:function(){this.isAttached&&this.notifyResize()},_allowOutsideScrollChanged:function(e){this._readied&&(e?this.scrollAction&&"lock"!==this.scrollAction||(this.scrollAction="refit"):this.scrollAction="lock")},_applyFocus:function(){var e=this.focusTarget||this.containedElement;e&&this.opened&&!this.noAutoFocus?e.focus():mt._applyFocus.apply(this,arguments)}});const bt={properties:{animationTiming:{type:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},isNeonAnimation:!0,created:function(){document.body.animate||console.warn("No web animations detected. This element will not function without a web animations polyfill.")},timingFromConfig:function(e){if(e.timing)for(var t in e.timing)this.animationTiming[t]=e.timing[t];return this.animationTiming},setPrefixedProperty:function(e,t,r){for(var n,i={transform:["webkitTransform"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]}[t],o=0;n=i[o];o++)e.style[n]=r;e.style[t]=r},complete:function(e){}};(0,j.k)({is:"fade-in-animation",behaviors:[bt],configure:function(e){var t=e.node;return this._effect=new KeyframeEffect(t,[{opacity:"0"},{opacity:"1"}],this.timingFromConfig(e)),this._effect}}),(0,j.k)({is:"fade-out-animation",behaviors:[bt],configure:function(e){var t=e.node;return this._effect=new KeyframeEffect(t,[{opacity:"1"},{opacity:"0"}],this.timingFromConfig(e)),this._effect}});const _t=W.d`
<custom-style>
<style is="custom-style">
html {
--shadow-transition: {
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
};
--shadow-none: {
box-shadow: none;
};
/* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */
--shadow-elevation-2dp: {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12),
0 3px 1px -2px rgba(0, 0, 0, 0.2);
};
--shadow-elevation-3dp: {
box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
0 1px 8px 0 rgba(0, 0, 0, 0.12),
0 3px 3px -2px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-4dp: {
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12),
0 2px 4px -1px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-6dp: {
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
0 1px 18px 0 rgba(0, 0, 0, 0.12),
0 3px 5px -1px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-8dp: {
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 5px 5px -3px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-12dp: {
box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14),
0 4px 22px 3px rgba(0, 0, 0, 0.12),
0 6px 7px -4px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-16dp: {
box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
0 6px 30px 5px rgba(0, 0, 0, 0.12),
0 8px 10px -5px rgba(0, 0, 0, 0.4);
};
--shadow-elevation-24dp: {
box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
0 9px 46px 8px rgba(0, 0, 0, 0.12),
0 11px 15px -7px rgba(0, 0, 0, 0.4);
};
}
</style>
</custom-style>`;_t.setAttribute("style","display: none;"),document.head.appendChild(_t.content),(0,j.k)({is:"paper-menu-grow-height-animation",behaviors:[bt],configure:function(e){var t=e.node,r=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:r/2+"px"},{height:r+"px"}],this.timingFromConfig(e)),this._effect}}),(0,j.k)({is:"paper-menu-grow-width-animation",behaviors:[bt],configure:function(e){var t=e.node,r=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:r/2+"px"},{width:r+"px"}],this.timingFromConfig(e)),this._effect}}),(0,j.k)({is:"paper-menu-shrink-width-animation",behaviors:[bt],configure:function(e){var t=e.node,r=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:r+"px"},{width:r-r/20+"px"}],this.timingFromConfig(e)),this._effect}}),(0,j.k)({is:"paper-menu-shrink-height-animation",behaviors:[bt],configure:function(e){var t=e.node,r=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:r+"px",transform:"translateY(0)"},{height:r/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var wt={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400};const kt=(0,j.k)({_template:W.d`
<style>
:host {
display: inline-block;
position: relative;
padding: 8px;
outline: none;
@apply --paper-menu-button;
}
:host([disabled]) {
cursor: auto;
color: var(--disabled-text-color);
@apply --paper-menu-button-disabled;
}
iron-dropdown {
@apply --paper-menu-button-dropdown;
}
.dropdown-content {
@apply --shadow-elevation-2dp;
position: relative;
border-radius: 2px;
background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));
@apply --paper-menu-button-content;
}
:host([vertical-align="top"]) .dropdown-content {
margin-bottom: 20px;
margin-top: -10px;
top: 10px;
}
:host([vertical-align="bottom"]) .dropdown-content {
bottom: 10px;
margin-bottom: -10px;
margin-top: 20px;
}
#trigger {
cursor: pointer;
}
</style>
<div id="trigger" on-tap="toggle">
<slot name="dropdown-trigger"></slot>
</div>
<iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled">
<div slot="dropdown-content" class="dropdown-content">
<slot id="content" name="dropdown-content"></slot>
</div>
</iron-dropdown>
`,is:"paper-menu-button",behaviors:[q.G,$.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:wt.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:wt.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:wt.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=(0,X.vz)(this.$.content).getDistributedNodes(),t=0,r=e.length;t<r;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},toggle:function(){this.opened?this.close():this.open()},open:function(){this.disabled||this.$.dropdown.open()},close:function(){this.$.dropdown.close()},_onIronSelect:function(e){this.ignoreSelect||this.close()},_onIronActivate:function(e){this.closeOnActivate&&this.close()},_openedChanged:function(e,t){e?(this._dropdownContent=this.contentElement,this.fire("paper-dropdown-open")):null!=t&&this.fire("paper-dropdown-close")},_disabledChanged:function(e){$.a._disabledChanged.apply(this,arguments),e&&this.opened&&this.close()},__onIronOverlayCanceled:function(e){var t=e.detail,r=this.$.trigger;(0,X.vz)(t).path.indexOf(r)>-1&&e.preventDefault()}});Object.keys(wt).forEach((function(e){kt[e]=wt[e]})),(0,j.k)({_template:W.d`
<style>
:host {
@apply --layout-inline;
@apply --layout-center-center;
position: relative;
vertical-align: middle;
fill: var(--iron-icon-fill-color, currentcolor);
stroke: var(--iron-icon-stroke-color, none);
width: var(--iron-icon-width, 24px);
height: var(--iron-icon-height, 24px);
@apply --iron-icon;
}
:host([hidden]) {
display: none;
}
</style>
`,is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:z.XY.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&(0,X.vz)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,(0,X.vz)(this.root).appendChild(this._img))}});i(52039);const xt=window;"customIconsets"in xt||(xt.customIconsets={});const Et=xt.customIconsets,At=JSON.parse('{"version":"5.6.55","parts":[{"file":"8f7750e029a6ef516f402ba2a18f770d535730f8"},{"start":"airp","file":"13eee1e899d282159a04ba352d1ed4feb53e5f28"},{"start":"application-","file":"5e09d9e60767da8826acfa939fc7a192c3017fdc"},{"start":"badge-account-horizontal-","file":"091c6419ea09577a2cd23f58a2d444da902922bd"},{"start":"beer","file":"c75f23577c68209caf2ee6d8abfa1e47f9fdd346"},{"start":"border-r","file":"4a163a7cb39874ec5e31fef5a16822d472ea9d75"},{"start":"camera-","file":"75c6554ce6c38218565310f31e330d29e610be14"},{"start":"cart-arrow-r","file":"526db7af6ed90ba5e29e520e8420886a387c6ec1"},{"start":"cir","file":"10f097705a1a3a9e15a4d5304588fcbf49e9cb1b"},{"start":"cog-o","file":"14893756d8a87eee5c25262d8d2cce84e343e9f7"},{"start":"cp","file":"43533c5a4e97f2dad8a4430e8fb2e998b77180e8"},{"start":"desktop-t","file":"d7593366adef7e12c6f7beb0125ae03250a623c1"},{"start":"earth-box-p","file":"897116495125bd02c7b5c74768fca0e4ef075556"},{"start":"eve","file":"25914e849cb9677609c2e17666c7dc8787276fec"},{"start":"file-download-","file":"393c2a9700198fd5d6ee360fec426dca07b824c1"},{"start":"flask-o","file":"21c916bdafa6c4bc802eb2f067d52eb43d46d63c"},{"start":"format-letter-e","file":"71adf4da7cf052ce2f72aafb39b5038640ae7eff"},{"start":"gh","file":"b52d69de085a5028ae417fc032b8fa962b929b2c"},{"start":"hand-wash-","file":"0fbcf56d8b33b97ba907a4aebeb8399bd200c71d"},{"start":"horizontal-rotate-co","file":"aaf1ddc91d8dc645b638d1cead1c3928be0d4ae2"},{"start":"ju","file":"5792fc856cff1ad97388d397c924b547dc5773ba"},{"start":"las","file":"8a4e57c53b91f036efd825ee3924ccb927394462"},{"start":"map-marker-m","file":"faf56ee66495fe62e00e421005abe5f362a15d5e"},{"start":"microsoft-xbox-controller-m","file":"cb9dda8c3ba589951ab20cae22899eee3f75aaa2"},{"start":"noo","file":"8d79d67bba34d4662998ebd3221a6f49f72d0cbd"},{"start":"pan-t","file":"5ff2e52aedaa0c398ec4a745219c00ac5b56c564"},{"start":"pig","file":"996e32533891ce2fcc2ed79a3fc3953057539e7c"},{"start":"qq","file":"8a9a74c567094a8e0c21288a4eaa28bdd315a3ac"},{"start":"roller-skate-","file":"855d84169183b3d513e65652ebd4619fbdacbfb0"},{"start":"set-c","file":"51836c70496c6d380859ef075c18363fac468891"},{"start":"skype-","file":"a64604d28b67e989f14df4cdd5fa33c18babb0e6"},{"start":"spotlight-","file":"fa89d8e056827e5e5a45002258155fdf636dba89"},{"start":"table-ro","file":"820c478bf9e136168cc68b98852a5ee1c6f57975"},{"start":"to","file":"d7a1decb8941bb6b39a53b22cf5d660c89acc059"},{"start":"upload-network-","file":"9bb9aae327973cf8230a9817e1e48eb6767d0601"},{"start":"water-well-","file":"b107c580b29fb39e4bfad9c85db944ac4d3297b4"},{"start":"wrap-","file":"0ec45795e55edbd7f9644bd3fa1943780d99a94d"}]}');class St{constructor(e="keyval-store",t="keyval"){this.storeName=t,this._dbp=new Promise(((r,n)=>{const i=indexedDB.open(e,1);i.onerror=()=>n(i.error),i.onsuccess=()=>r(i.result),i.onupgradeneeded=()=>{i.result.createObjectStore(t)}}))}_withIDBStore(e,t){return this._dbp.then((r=>new Promise(((n,i)=>{const o=r.transaction(this.storeName,e);o.oncomplete=()=>n(),o.onabort=o.onerror=()=>i(o.error),t(o.objectStore(this.storeName))}))))}}let Lt;function Ct(){return Lt||(Lt=new St),Lt}function Pt(e,t,r=Ct()){return r._withIDBStore("readwrite",(r=>{r.put(t,e)}))}const Tt=new St("hass-icon-db","mdi-icon-store"),It=["mdi","hass","hassio","hademo"];let Zt=[];function Ot(){Ot=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Mt(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ft(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ft(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=jt(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Dt(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Dt(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Nt(e){var t,r=jt(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Rt(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Mt(e){return e.decorators&&e.decorators.length}function zt(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Dt(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function jt(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const Bt={},Ut={};(function(e,t=Ct()){let r;return t._withIDBStore("readonly",(t=>{r=t.get(e)})).then((()=>r.result))})("_version",Tt).then((e=>{e?e!==At.version&&function(e=Ct()){return e._withIDBStore("readwrite",(e=>{e.clear()}))}(Tt).then((()=>Pt("_version",At.version,Tt))):Pt("_version",At.version,Tt)}));const Ht=((e,t,r=!1)=>{let n;return function(...i){const o=this,a=r&&!n;clearTimeout(n),n=setTimeout((()=>{n=null,r||e.apply(o,i)}),t),a&&e.apply(o,i)}})((()=>(async e=>{const t=Object.keys(e),r=await Promise.all(Object.values(e));Tt._withIDBStore("readwrite",(n=>{r.forEach(((r,i)=>{Object.entries(r).forEach((([e,t])=>{n.put(t,e)})),delete e[t[i]]}))}))})(Ut)),2e3),Gt={};!function(e,t,r,n){var i=Ot();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(zt(o.descriptor)||zt(i.descriptor)){if(Mt(o)||Mt(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Mt(o)){if(Mt(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Rt(o,i)}else t.push(o)}return t}(a.d.map(Nt)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-icon")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"icon",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_path",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_viewBox",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_legacy",value:()=>!1},{kind:"method",key:"updated",value:function(e){e.has("icon")&&(this._path=void 0,this._viewBox=void 0,this._loadIcon())}},{kind:"method",key:"render",value:function(){return this.icon?this._legacy?e.dy`<iron-icon .icon=${this.icon}></iron-icon>`:e.dy`<ha-svg-icon
.path=${this._path}
.viewBox=${this._viewBox}
></ha-svg-icon>`:e.dy``}},{kind:"method",key:"_loadIcon",value:async function(){if(!this.icon)return;const[e,t]=this.icon.split(":",2);let n,i=t;if(!e||!i)return;if(!It.includes(e)){if(e in Et){const t=Et[e];return void(t&&this._setCustomPath(t(i)))}return void(this._legacy=!0)}if(this._legacy=!1,i in Bt){const t=Bt[i];let n;t.newName?(n=`Icon ${e}:${i} was renamed to ${e}:${t.newName}, please change your config, it will be removed in version ${t.removeIn}.`,i=t.newName):n=`Icon ${e}:${i} was removed from MDI, please replace this icon with an other icon in your config, it will be removed in version ${t.removeIn}.`,console.warn(n),(0,r.B)(this,"write_log",{level:"warning",message:n})}if(i in Gt)return void(this._path=Gt[i]);try{n=await(e=>new Promise(((t,r)=>{if(Zt.push([e,t,r]),Zt.length>1)return;const n=[];Tt._withIDBStore("readonly",(e=>{for(const[t,r]of Zt)n.push([r,e.get(t)]);Zt=[]})).then((()=>{for(const[e,t]of n)e(t.result)})).catch((()=>{for(const[,,e]of Zt)e();Zt=[]}))})))(i)}catch(s){n=void 0}if(n)return this._path=n,void(Gt[i]=n);const o=(e=>{let t;for(const r of At.parts){if(void 0!==r.start&&e<r.start)break;t=r}return t.file})(i);if(o in Ut)return void this._setPath(Ut[o],i);const a=fetch(`/static/mdi/${o}.json`).then((e=>e.json()));Ut[o]=a,this._setPath(a,i),Ht()}},{kind:"method",key:"_setCustomPath",value:async function(e){const t=await e;this._path=t.path,this._viewBox=t.viewBox}},{kind:"method",key:"_setPath",value:async function(e,t){const r=await e;this._path=r[t],Gt[t]=r[t]}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
:host {
fill: currentcolor;
}
`}}]}}),e.oi);function Vt(){Vt=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!qt(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jt(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Yt(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Wt(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Wt(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Kt(e){var t,r=Yt(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function $t(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function qt(e){return e.decorators&&e.decorators.length}function Xt(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Wt(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Yt(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(e,t,r,n){var i=Vt();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Xt(o.descriptor)||Xt(i.descriptor)){if(qt(o)||qt(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(qt(o)){if(qt(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}$t(o,i)}else t.push(o)}return t}(a.d.map(Kt)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-multi_select")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_init",value:()=>!1},{kind:"field",decorators:[(0,e.IO)("paper-menu-button",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){const t=Array.isArray(this.schema.options)?this.schema.options:Object.entries(this.schema.options),r=this.data||[];return e.dy`
<paper-menu-button horizontal-align="right" vertical-offset="8">
<div class="dropdown-trigger" slot="dropdown-trigger">
<paper-ripple></paper-ripple>
<paper-input
id="input"
type="text"
readonly
value=${r.map((e=>this.schema.options[e]||e)).join(", ")}
label=${this.label}
input-role="button"
input-aria-haspopup="listbox"
autocomplete="off"
>
<ha-icon
icon="paper-dropdown-menu:arrow-drop-down"
suffix
slot="suffix"
></ha-icon>
</paper-input>
</div>
<paper-listbox
multi
slot="dropdown-content"
attr-for-selected="item-value"
.selectedValues=${r}
@selected-items-changed=${this._valueChanged}
@iron-select=${this._onSelect}
>
${t.map((t=>{const n=this._optionValue(t);return e.dy`
<paper-icon-item .itemValue=${n}>
<paper-checkbox
.checked=${r.includes(n)}
slot="item-icon"
></paper-checkbox>
${this._optionLabel(t)}
</paper-icon-item>
`}))}
</paper-listbox>
</paper-menu-button>
`}},{kind:"method",key:"firstUpdated",value:function(){this.updateComplete.then((()=>{var e,t,r;const n=null===(e=this.shadowRoot)||void 0===e||null===(t=e.querySelector("paper-input"))||void 0===t||null===(r=t.inputElement)||void 0===r?void 0:r.inputElement;n&&(n.style.textOverflow="ellipsis")}))}},{kind:"method",key:"_optionValue",value:function(e){return Array.isArray(e)?e[0]:e}},{kind:"method",key:"_optionLabel",value:function(e){return Array.isArray(e)?e[1]||e[0]:e}},{kind:"method",key:"_onSelect",value:function(e){e.stopPropagation()}},{kind:"method",key:"_valueChanged",value:function(e){e.detail.value&&this._init?(0,r.B)(this,"value-changed",{value:e.detail.value.map((e=>e.itemValue))},{bubbles:!1}):this._init=!0}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
paper-menu-button {
display: block;
padding: 0;
--paper-item-icon-width: 34px;
}
paper-ripple {
top: 12px;
left: 0px;
bottom: 8px;
right: 0px;
}
paper-input {
text-overflow: ellipsis;
}
`}}]}}),e.oi);(0,j.k)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new F({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map((function(e){return this.name+":"+e}),this)},applyIcon:function(e,t){this.removeIcon(e);var r=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(r){var n=(0,X.vz)(e.root||e);return n.insertBefore(r,n.childNodes[0]),e._svgIcon=r}return null},removeIcon:function(e){e._svgIcon&&((0,X.vz)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async((function(){this.fire("iron-iconset-added",this,{node:window})}))},_createIconMap:function(){var e=Object.create(null);return(0,X.vz)(this).querySelectorAll("[id]").forEach((function(t){e[t.id]=t})),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,r){if(e){var n=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=n.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return r&&n.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(n).removeAttribute("id"),i}return null}});const Qt=document.createElement("template");Qt.setAttribute("style","display: none;"),Qt.innerHTML='<iron-iconset-svg name="paper-dropdown-menu" size="24">\n<svg><defs>\n<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g>\n</defs></svg>\n</iron-iconset-svg>',document.head.appendChild(Qt.content);const er=document.createElement("template");er.setAttribute("style","display: none;"),er.innerHTML='<dom-module id="paper-dropdown-menu-shared-styles">\n <template>\n <style>\n :host {\n display: inline-block;\n position: relative;\n text-align: left;\n\n /* NOTE(cdata): Both values are needed, since some phones require the\n * value to be `transparent`.\n */\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n -webkit-tap-highlight-color: transparent;\n\n --paper-input-container-input: {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 100%;\n box-sizing: border-box;\n cursor: pointer;\n };\n\n @apply --paper-dropdown-menu;\n }\n\n :host([disabled]) {\n @apply --paper-dropdown-menu-disabled;\n }\n\n :host([noink]) paper-ripple {\n display: none;\n }\n\n :host([no-label-float]) paper-ripple {\n top: 8px;\n }\n\n paper-ripple {\n top: 12px;\n left: 0px;\n bottom: 8px;\n right: 0px;\n\n @apply --paper-dropdown-menu-ripple;\n }\n\n paper-menu-button {\n display: block;\n padding: 0;\n\n @apply --paper-dropdown-menu-button;\n }\n\n paper-input {\n @apply --paper-dropdown-menu-input;\n }\n\n iron-icon {\n color: var(--disabled-text-color);\n\n @apply --paper-dropdown-menu-icon;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(er.content),(0,j.k)({_template:W.d`
<style include="paper-dropdown-menu-shared-styles"></style>
<!-- this div fulfills an a11y requirement for combobox, do not remove -->
<span role="button"></span>
<paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]">
<!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via <content> -->
<div class="dropdown-trigger" slot="dropdown-trigger">
<paper-ripple></paper-ripple>
<!-- paper-input has type="text" for a11y, do not remove -->
<paper-input type="text" invalid="[[invalid]]" readonly disabled="[[disabled]]" value="[[value]]" placeholder="[[placeholder]]" error-message="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float="[[noLabelFloat]]" label="[[label]]">
<!-- support hybrid mode: user might be using paper-input 1.x which distributes via <content> -->
<iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix slot="suffix"></iron-icon>
</paper-input>
</div>
<slot id="content" name="dropdown-content" slot="dropdown-content"></slot>
</paper-menu-button>
`,is:"paper-dropdown-menu",behaviors:[K.P,$.a,D,H],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=(0,X.vz)(this.$.content).getDistributedNodes(),t=0,r=e.length;t<r;t++)if(e[t].nodeType===Node.ELEMENT_NODE)return e[t]},open:function(){this.$.menuButton.open()},close:function(){this.$.menuButton.close()},_onIronSelect:function(e){this._setSelectedItem(e.detail.item)},_onIronDeselect:function(e){this._setSelectedItem(null)},_onTap:function(e){Ie.nJ(e)===this&&this.open()},_selectedItemChanged:function(e){var t="";t=e?e.label||e.getAttribute("label")||e.textContent.trim():"",this.value=t,this._setSelectedItemLabel(t)},_computeMenuVerticalOffset:function(e,t){return t||(e?-4:8)},_getValidity:function(e){return this.disabled||!this.required||this.required&&!!this.value},_openedChanged:function(){var e=this.opened?"true":"false",t=this.contentElement;t&&t.setAttribute("aria-expanded",e)}});i(53973);class tr extends ge.H3{static get template(){return W.d`
<style>
:host {
display: block;
@apply --paper-font-common-base;
}
paper-input {
width: 30px;
text-align: center;
--paper-input-container-input: {
/* Damn you firefox
* Needed to hide spin num in firefox
* http://stackoverflow.com/questions/3790935/can-i-hide-the-html5-number-input-s-spin-box
*/
-moz-appearance: textfield;
@apply --paper-time-input-cotnainer;
}
--paper-input-container-input-webkit-spinner: {
-webkit-appearance: none;
margin: 0;
display: none;
}
--paper-input-container-shared-input-style_-_-webkit-appearance: textfield;
}
paper-dropdown-menu {
width: 55px;
padding: 0;
/* Force ripple to use the whole container */
--paper-dropdown-menu-ripple: {
color: var(
--paper-time-input-dropdown-ripple-color,
var(--primary-color)
);
}
--paper-input-container-input: {
@apply --paper-font-button;
text-align: center;
padding-left: 5px;
@apply --paper-time-dropdown-input-cotnainer;
}
--paper-input-container-underline: {
border-color: transparent;
}
--paper-input-container-underline-focus: {
border-color: transparent;
}
}
paper-item {
cursor: pointer;
text-align: center;
font-size: 14px;
}
paper-listbox {
padding: 0;
}
label {
@apply --paper-font-caption;
color: var(
--paper-input-container-color,
var(--secondary-text-color)
);
}
.time-input-wrap {
@apply --layout-horizontal;
@apply --layout-no-wrap;
}
[hidden] {
display: none !important;
}
</style>
<label hidden$="[[hideLabel]]">[[label]]</label>
<div class="time-input-wrap">
<!-- Hour Input -->
<paper-input
id="hour"
type="number"
value="{{hour}}"
label="[[hourLabel]]"
on-change="_shouldFormatHour"
on-focus="_onFocus"
required
prevent-invalid-input
auto-validate="[[autoValidate]]"
maxlength="2"
max="[[_computeHourMax(format)]]"
min="0"
no-label-float$="[[!floatInputLabels]]"
always-float-label$="[[alwaysFloatInputLabels]]"
disabled="[[disabled]]"
>
<span suffix="" slot="suffix">:</span>
</paper-input>
<!-- Min Input -->
<paper-input
id="min"
type="number"
value="{{min}}"
label="[[minLabel]]"
on-change="_formatMin"
on-focus="_onFocus"
required
auto-validate="[[autoValidate]]"
prevent-invalid-input
maxlength="2"
max="59"
min="0"
no-label-float$="[[!floatInputLabels]]"
always-float-label$="[[alwaysFloatInputLabels]]"
disabled="[[disabled]]"
>
<span hidden$="[[!enableSecond]]" suffix slot="suffix">:</span>
</paper-input>
<!-- Sec Input -->
<paper-input
id="sec"
type="number"
value="{{sec}}"
label="[[secLabel]]"
on-change="_formatSec"
on-focus="_onFocus"
required
auto-validate="[[autoValidate]]"
prevent-invalid-input
maxlength="2"
max="59"
min="0"
no-label-float$="[[!floatInputLabels]]"
always-float-label$="[[alwaysFloatInputLabels]]"
disabled="[[disabled]]"
hidden$="[[!enableSecond]]"
>
</paper-input>
<!-- Dropdown Menu -->
<paper-dropdown-menu
id="dropdown"
required=""
hidden$="[[_equal(format, 24)]]"
no-label-float=""
disabled="[[disabled]]"
>
<paper-listbox
attr-for-selected="name"
selected="{{amPm}}"
slot="dropdown-content"
>
<paper-item name="AM">AM</paper-item>
<paper-item name="PM">PM</paper-item>
</paper-listbox>
</paper-dropdown-menu>
</div>
`}static get properties(){return{label:{type:String,value:"Time"},autoValidate:{type:Boolean,value:!0},hideLabel:{type:Boolean,value:!1},floatInputLabels:{type:Boolean,value:!1},alwaysFloatInputLabels:{type:Boolean,value:!1},format:{type:Number,value:12},disabled:{type:Boolean,value:!1},hour:{type:String,notify:!0},min:{type:String,notify:!0},sec:{type:String,notify:!0},hourLabel:{type:String,value:""},minLabel:{type:String,value:":"},secLabel:{type:String,value:""},enableSecond:{type:Boolean,value:!1},noHoursLimit:{type:Boolean,value:!1},amPm:{type:String,notify:!0,value:"AM"},value:{type:String,notify:!0,readOnly:!0,computed:"_computeTime(min, hour, sec, amPm)"}}}validate(){let e=!0;return this.$.hour.validate()&&this.$.min.validate()||(e=!1),this.enableSecond&&!this.$.sec.validate()&&(e=!1),12!==this.format||this.$.dropdown.validate()||(e=!1),e}_computeTime(e,t,r,n){let i;return(t||e||r&&this.enableSecond)&&(r=r||"00",i=(t=t||"00")+":"+(e=e||"00"),this.enableSecond&&r&&(i=i+":"+r),12===this.format&&(i=i+" "+n)),i}_onFocus(e){e.target.inputElement.inputElement.select()}_formatSec(){1===this.sec.toString().length&&(this.sec=this.sec.toString().padStart(2,"0"))}_formatMin(){1===this.min.toString().length&&(this.min=this.min.toString().padStart(2,"0"))}_shouldFormatHour(){24===this.format&&1===this.hour.toString().length&&(this.hour=this.hour.toString().padStart(2,"0"))}_computeHourMax(e){return this.noHoursLimit?null:12===e?e:23}_equal(e,t){return e===t}}function rr(){rr=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!or(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return cr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cr(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=lr(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:sr(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=sr(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function nr(e){var t,r=lr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function ir(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function or(e){return e.decorators&&e.decorators.length}function ar(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function sr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function lr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}customElements.define("paper-time-input",tr);!function(e,t,r,n){var i=rr();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(ar(o.descriptor)||ar(i.descriptor)){if(or(o)||or(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(or(o)){if(or(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}ir(o,i)}else t.push(o)}return t}(a.d.map(nr)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-positive_time_period_dict")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.IO)("paper-time-input",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return e.dy`
<paper-time-input
.label=${this.label}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
error-message="Required"
enable-second
format="24"
.hour=${this._parseDuration(this._hours)}
.min=${this._parseDuration(this._minutes)}
.sec=${this._parseDuration(this._seconds)}
@hour-changed=${this._hourChanged}
@min-changed=${this._minChanged}
@sec-changed=${this._secChanged}
float-input-labels
no-hours-limit
always-float-input-labels
hour-label="hh"
min-label="mm"
sec-label="ss"
></paper-time-input>
`}},{kind:"get",key:"_hours",value:function(){return this.data&&this.data.hours?Number(this.data.hours):0}},{kind:"get",key:"_minutes",value:function(){return this.data&&this.data.minutes?Number(this.data.minutes):0}},{kind:"get",key:"_seconds",value:function(){return this.data&&this.data.seconds?Number(this.data.seconds):0}},{kind:"method",key:"_parseDuration",value:function(e){return e.toString().padStart(2,"0")}},{kind:"method",key:"_hourChanged",value:function(e){this._durationChanged(e,"hours")}},{kind:"method",key:"_minChanged",value:function(e){this._durationChanged(e,"minutes")}},{kind:"method",key:"_secChanged",value:function(e){this._durationChanged(e,"seconds")}},{kind:"method",key:"_durationChanged",value:function(e,t){let n=Number(e.detail.value);if(n===this["_"+t])return;let i=this._hours,o=this._minutes;"seconds"===t&&n>59&&(o+=Math.floor(n/60),n%=60),"minutes"===t&&n>59&&(i+=Math.floor(n/60),n%=60),(0,r.B)(this,"value-changed",{value:{hours:i,minutes:o,seconds:this._seconds,[t]:n}})}}]}}),e.oi);const ur=customElements.get("paper-dropdown-menu");function dr(){dr=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!fr(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return gr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gr(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=yr(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:vr(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=vr(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function pr(e){var t,r=yr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function hr(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function fr(e){return e.decorators&&e.decorators.length}function mr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function vr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function yr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}customElements.define("ha-paper-dropdown-menu",class extends ur{ready(){super.ready(),setTimeout((()=>{"rtl"===window.getComputedStyle(this).direction&&(this.style.textAlign="right")}),100)}});!function(e,t,r,n){var i=dr();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(mr(o.descriptor)||mr(i.descriptor)){if(fr(o)||fr(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(fr(o)){if(fr(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}hr(o,i)}else t.push(o)}return t}(a.d.map(pr)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-select")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.IO)("ha-paper-dropdown-menu",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return e.dy`
<ha-paper-dropdown-menu .label=${this.label}>
<paper-listbox
slot="dropdown-content"
attr-for-selected="item-value"
.selected=${this.data}
@selected-item-changed=${this._valueChanged}
>
${this.schema.options.map((t=>e.dy`
<paper-item .itemValue=${this._optionValue(t)}>
${this._optionLabel(t)}
</paper-item>
`))}
</paper-listbox>
</ha-paper-dropdown-menu>
`}},{kind:"method",key:"_optionValue",value:function(e){return Array.isArray(e)?e[0]:e}},{kind:"method",key:"_optionLabel",value:function(e){return Array.isArray(e)?e[1]||e[0]:e}},{kind:"method",key:"_valueChanged",value:function(e){e.detail.value&&(0,r.B)(this,"value-changed",{value:e.detail.value.itemValue})}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
ha-paper-dropdown-menu {
display: block;
}
`}}]}}),e.oi);function br(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}class _r extends e.oi{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.label="",this.shouldRenderRipple=!1,this.rippleHandlers=new Z((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderRipple(){return this.shouldRenderRipple?e.dy`
<mwc-ripple
.disabled="${this.disabled}"
unbounded>
</mwc-ripple>`:""}focus(){const e=this.buttonElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){const e=this.buttonElement;e&&(this.rippleHandlers.endFocus(),e.blur())}render(){return e.dy`<button
class="mdc-icon-button"
aria-label="${this.label||this.icon}"
?disabled="${this.disabled}"
@focus="${this.handleRippleFocus}"
@blur="${this.handleRippleBlur}"
@mousedown="${this.handleRippleMouseDown}"
@mouseenter="${this.handleRippleMouseEnter}"
@mouseleave="${this.handleRippleMouseLeave}"
@touchstart="${this.handleRippleTouchStart}"
@touchend="${this.handleRippleDeactivate}"
@touchcancel="${this.handleRippleDeactivate}">
${this.renderRipple()}
<i class="material-icons">${this.icon}</i>
<span class="default-slot-container">
<slot></slot>
</span>
</button>`}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}br([(0,e.Cb)({type:Boolean,reflect:!0})],_r.prototype,"disabled",void 0),br([(0,e.Cb)({type:String})],_r.prototype,"icon",void 0),br([(0,e.Cb)({type:String})],_r.prototype,"label",void 0),br([(0,e.IO)("button")],_r.prototype,"buttonElement",void 0),br([(0,e.GC)("mwc-ripple")],_r.prototype,"ripple",void 0),br([(0,e.sz)()],_r.prototype,"shouldRenderRipple",void 0),br([(0,e.hO)({passive:!0})],_r.prototype,"handleRippleMouseDown",null),br([(0,e.hO)({passive:!0})],_r.prototype,"handleRippleTouchStart",null);const wr=e.iv`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;font-size:24px;text-decoration:none;cursor:pointer;user-select:none;width:48px;height:48px;padding:12px}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}:host{display:inline-block;outline:none;--mdc-ripple-color: currentcolor}:host([disabled]){pointer-events:none}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc((var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2)}.mdc-icon-button>i{position:absolute;top:0;padding-top:inherit}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`;let kr=class extends _r{};function xr(){xr=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Sr(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Tr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tr(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Pr(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Cr(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Cr(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Er(e){var t,r=Pr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Ar(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Sr(e){return e.decorators&&e.decorators.length}function Lr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Cr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Pr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}kr.styles=wr,kr=br([(0,e.Mo)("mwc-icon-button")],kr);!function(e,t,r,n){var i=xr();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Lr(o.descriptor)||Lr(i.descriptor)){if(Sr(o)||Sr(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Sr(o)){if(Sr(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Ar(o,i)}else t.push(o)}return t}(a.d.map(Er)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-icon-button")],(function(t,r){return{F:class extends r{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[(0,e.Cb)({type:String})],key:"icon",value:()=>""},{kind:"field",decorators:[(0,e.Cb)({type:String})],key:"label",value:()=>""},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"render",value:function(){return e.dy`
<mwc-icon-button .label=${this.label} .disabled=${this.disabled}>
<ha-icon .icon=${this.icon}></ha-icon>
</mwc-icon-button>
`}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
:host {
display: inline-block;
outline: none;
}
:host([disabled]) {
pointer-events: none;
}
mwc-icon-button {
--mdc-theme-on-primary: currentColor;
--mdc-theme-text-disabled-on-light: var(--disabled-text-color);
}
ha-icon {
--ha-icon-display: inline;
}
`}}]}}),e.oi);function Ir(){Ir=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Nr(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Dr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dr(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=zr(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Mr(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Mr(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Zr(e){var t,r=zr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Or(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nr(e){return e.decorators&&e.decorators.length}function Rr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Mr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function zr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(e,t,r,n){var i=Ir();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Rr(o.descriptor)||Rr(i.descriptor)){if(Nr(o)||Nr(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Nr(o)){if(Nr(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Or(o,i)}else t.push(o)}return t}(a.d.map(Zr)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-string")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"suffix",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_unmaskedPassword",value:()=>!1},{kind:"field",decorators:[(0,e.IO)("paper-input")],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return this.schema.name.includes("password")?e.dy`
<paper-input
.type=${this._unmaskedPassword?"text":"password"}
.label=${this.label}
.value=${this.data}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
@value-changed=${this._valueChanged}
>
<ha-icon-button
toggles
slot="suffix"
.icon=${this._unmaskedPassword?"hass:eye-off":"hass:eye"}
id="iconButton"
title="Click to toggle between masked and clear password"
@click=${this._toggleUnmaskedPassword}
tabindex="-1"
>
</ha-icon-button>
</paper-input>
`:e.dy`
<paper-input
.type=${this._stringType}
.label=${this.label}
.value=${this.data}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
error-message="Required"
@value-changed=${this._valueChanged}
></paper-input>
`}},{kind:"method",key:"_toggleUnmaskedPassword",value:function(){this._unmaskedPassword=!this._unmaskedPassword}},{kind:"method",key:"_valueChanged",value:function(e){const t=e.target.value;this.data!==t&&(0,r.B)(this,"value-changed",{value:t})}},{kind:"get",key:"_stringType",value:function(){if(this.schema.format){if(["email","url"].includes(this.schema.format))return this.schema.format;if("fqdnurl"===this.schema.format)return"url"}return"text"}}]}}),e.oi);function jr(){jr=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Ur(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Kr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kr(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Vr(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Gr(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Gr(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Fr(e){var t,r=Vr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Br(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ur(e){return e.decorators&&e.decorators.length}function Hr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Gr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Vr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Kr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $r(e,t,r){return($r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qr(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function qr(e){return(qr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,r,n){var i=jr();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Hr(o.descriptor)||Hr(i.descriptor)){if(Ur(o)||Ur(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Ur(o)){if(Ur(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Br(o,i)}else t.push(o)}return t}(a.d.map(Fr)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form-constant")],(function(t,n){class i extends n{constructor(...e){super(...e),t(this)}}return{F:i,d:[{kind:"field",decorators:[(0,e.Cb)({attribute:!1})],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"label",value:void 0},{kind:"method",key:"firstUpdated",value:function(e){$r(qr(i.prototype),"firstUpdated",this).call(this,e),(0,r.B)(this,"value-changed",{value:this.schema.value})}},{kind:"method",key:"render",value:function(){return e.dy`<span class="label">${this.label}</span>: ${this.schema.value}`}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
:host {
display: block;
}
.label {
font-weight: 500;
}
`}}]}}),e.oi);function Xr(){Xr=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Jr(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return rn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=tn(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:en(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=en(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Wr(e){var t,r=tn(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Yr(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Jr(e){return e.decorators&&e.decorators.length}function Qr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function en(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function tn(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(e,t,r,n){var i=Xr();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Qr(o.descriptor)||Qr(i.descriptor)){if(Jr(o)||Jr(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Jr(o)){if(Jr(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Yr(o,i)}else t.push(o)}return t}(a.d.map(Wr)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-form")],(function(t,n){return{F:class extends n{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"data",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"schema",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"error",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"computeError",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"computeLabel",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"computeSuffix",value:void 0},{kind:"method",key:"focus",value:function(){const e=this.shadowRoot.getElementById("child-form")||this.shadowRoot.querySelector("ha-form");e&&e.focus()}},{kind:"method",key:"render",value:function(){return Array.isArray(this.schema)?e.dy`
${this.error&&this.error.base?e.dy`
<div class="error">
${this._computeError(this.error.base,this.schema)}
</div>
`:""}
${this.schema.map((t=>e.dy`
<ha-form
.data=${this._getValue(this.data,t)}
.schema=${t}
.error=${this._getValue(this.error,t)}
@value-changed=${this._valueChanged}
.computeError=${this.computeError}
.computeLabel=${this.computeLabel}
.computeSuffix=${this.computeSuffix}
></ha-form>
`))}
`:e.dy`
${this.error?e.dy`
<div class="error">
${this._computeError(this.error,this.schema)}
</div>
`:""}
${M("ha-form-"+this.schema.type,{schema:this.schema,data:this.data,label:this._computeLabel(this.schema),suffix:this._computeSuffix(this.schema),id:"child-form"})}
`}},{kind:"method",key:"_computeLabel",value:function(e){return this.computeLabel?this.computeLabel(e):e?e.name:""}},{kind:"method",key:"_computeSuffix",value:function(e){return this.computeSuffix?this.computeSuffix(e):e&&e.description?e.description.suffix:""}},{kind:"method",key:"_computeError",value:function(e,t){return this.computeError?this.computeError(e,t):e}},{kind:"method",key:"_getValue",value:function(e,t){return e?e[t.name]:null}},{kind:"method",key:"_valueChanged",value:function(e){e.stopPropagation();const t=e.target.schema,n=this.data;n[t.name]=e.detail.value,(0,r.B)(this,"value-changed",{value:{...n}})}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
.error {
color: var(--error-color);
}
`}}]}}),e.oi);const nn=Symbol("Comlink.proxy"),on=Symbol("Comlink.endpoint"),an=Symbol("Comlink.releaseProxy"),sn=Symbol("Comlink.thrown"),ln=e=>"object"==typeof e&&null!==e||"function"==typeof e,cn=new Map([["proxy",{canHandle:e=>ln(e)&&e[nn],serialize(e){const{port1:t,port2:r}=new MessageChannel;return un(e,t),[r,[r]]},deserialize:e=>(e.start(),pn(e))}],["throw",{canHandle:e=>ln(e)&&sn in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function un(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:o,path:a}=Object.assign({path:[]},n.data),s=(n.data.argumentList||[]).map(gn);let l;try{const t=a.slice(0,-1).reduce(((e,t)=>e[t]),e),r=a.reduce(((e,t)=>e[t]),e);switch(o){case 0:l=r;break;case 1:t[a.slice(-1)[0]]=gn(n.data.value),l=!0;break;case 2:l=r.apply(t,s);break;case 3:l=function(e){return Object.assign(e,{[nn]:!0})}(new r(...s));break;case 4:{const{port1:t,port2:r}=new MessageChannel;un(e,r),l=function(e,t){return vn.set(e,t),e}(t,[t])}break;case 5:l=void 0}}catch(c){l={value:c,[sn]:0}}Promise.resolve(l).catch((e=>({value:e,[sn]:0}))).then((e=>{const[n,a]=yn(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),a),5===o&&(t.removeEventListener("message",r),dn(t))}))})),t.start&&t.start()}function dn(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function pn(e,t){return fn(e,[],t)}function hn(e){if(e)throw new Error("Proxy has been released and is not useable")}function fn(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(hn(n),o===an)return()=>bn(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{dn(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=bn(e,{type:0,path:t.map((e=>e.toString()))}).then(gn);return r.then.bind(r)}return fn(e,[...t,o])},set(r,i,o){hn(n);const[a,s]=yn(o);return bn(e,{type:1,path:[...t,i].map((e=>e.toString())),value:a},s).then(gn)},apply(r,i,o){hn(n);const a=t[t.length-1];if(a===on)return bn(e,{type:4}).then(gn);if("bind"===a)return fn(e,t.slice(0,-1));const[s,l]=mn(o);return bn(e,{type:2,path:t.map((e=>e.toString())),argumentList:s},l).then(gn)},construct(r,i){hn(n);const[o,a]=mn(i);return bn(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},a).then(gn)}});return i}function mn(e){const t=e.map(yn);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const vn=new WeakMap;function yn(e){for(const[t,r]of cn)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},vn.get(e)||[]]}function gn(e){switch(e.type){case 3:return cn.get(e.name).deserialize(e.value);case 0:return e.value}}function bn(e,t,r){return new Promise((n=>{const i=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}let _n;function wn(){wn=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!En(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Cn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Ln(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Sn(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Sn(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function kn(e){var t,r=Ln(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function xn(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function En(e){return e.decorators&&e.decorators.length}function An(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Sn(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Ln(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pn(e,t,r){return(Pn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Tn(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function Tn(e){return(Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,r,n){var i=wn();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(An(o.descriptor)||An(i.descriptor)){if(En(o)||En(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(En(o)){if(En(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}xn(o,i)}else t.push(o)}return t}(a.d.map(kn)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-markdown-element")],(function(t,n){class o extends n{constructor(...e){super(...e),t(this)}}return{F:o,d:[{kind:"field",decorators:[(0,e.Cb)()],key:"content",value:void 0},{kind:"field",decorators:[(0,e.Cb)({type:Boolean})],key:"allowSvg",value:()=>!1},{kind:"field",decorators:[(0,e.Cb)({type:Boolean})],key:"breaks",value:()=>!1},{kind:"method",key:"update",value:function(e){Pn(Tn(o.prototype),"update",this).call(this,e),void 0!==this.content&&this._render()}},{kind:"method",key:"_render",value:async function(){this.innerHTML=await(async(e,t,r)=>(_n||(_n=pn(new Worker(new URL(i.p+i.u(4971),i.b)))),await _n.renderMarkdown(e,t,r)))(this.content,{breaks:this.breaks,gfm:!0},{allowSvg:this.allowSvg}),this._resize();const e=document.createTreeWalker(this,1,null,!1);for(;e.nextNode();){const t=e.currentNode;t instanceof HTMLAnchorElement&&t.host!==document.location.host?(t.target="_blank",t.rel="noreferrer",t.rel="noreferrer noopener"):t instanceof HTMLImageElement&&t.addEventListener("load",this._resize)}}},{kind:"field",key:"_resize",value(){return()=>(0,r.B)(this,"iron-resize")}}]}}),e.f4);function In(){In=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Nn(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Dn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=zn(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Mn(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Mn(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Zn(e){var t,r=zn(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function On(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nn(e){return e.decorators&&e.decorators.length}function Rn(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Mn(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function zn(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(e,t,r,n){var i=In();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Rn(o.descriptor)||Rn(i.descriptor)){if(Nn(o)||Nn(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Nn(o)){if(Nn(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}On(o,i)}else t.push(o)}return t}(a.d.map(Zn)),e);i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}([(0,e.Mo)("ha-markdown")],(function(t,r){return{F:class extends r{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[(0,e.Cb)()],key:"content",value:void 0},{kind:"field",decorators:[(0,e.Cb)({type:Boolean})],key:"allowSvg",value:()=>!1},{kind:"field",decorators:[(0,e.Cb)({type:Boolean})],key:"breaks",value:()=>!1},{kind:"method",key:"render",value:function(){return this.content?e.dy`<ha-markdown-element
.content=${this.content}
.allowSvg=${this.allowSvg}
.breaks=${this.breaks}
></ha-markdown-element>`:e.dy``}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
:host {
display: block;
}
ha-markdown-element {
-ms-user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
}
ha-markdown-element > *:first-child {
margin-top: 0;
}
ha-markdown-element > *:last-child {
margin-bottom: 0;
}
ha-markdown-element a {
color: var(--primary-color);
}
ha-markdown-element img {
max-width: 100%;
}
ha-markdown-element code,
pre {
background-color: var(--markdown-code-background-color, none);
border-radius: 3px;
}
ha-markdown-element svg {
background-color: var(--markdown-svg-background-color, none);
color: var(--markdown-svg-color, none);
}
ha-markdown-element code {
font-size: 85%;
padding: 0.2em 0.4em;
}
ha-markdown-element pre code {
padding: 0;
}
ha-markdown-element pre {
padding: 16px;
overflow: auto;
line-height: 1.45;
font-family: var(--code-font-family, monospace);
}
ha-markdown-element h2 {
font-size: 1.5em;
font-weight: bold;
}
`}}]}}),e.oi);function jn(){jn=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!Un(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Kn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=Vn(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Gn(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=Gn(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function Fn(e){var t,r=Vn(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Bn(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Un(e){return e.decorators&&e.decorators.length}function Hn(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Gn(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Vn(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $n(e,t,r){return($n="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qn(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function qn(e){return(qn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}let Xn=function(e,t,r,n){var i=jn();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(Hn(o.descriptor)||Hn(i.descriptor)){if(Un(o)||Un(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(Un(o)){if(Un(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}Bn(o,i)}else t.push(o)}return t}(a.d.map(Fn)),e);return i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}(null,(function(t,r){class n extends r{constructor(...e){super(...e),t(this)}}return{F:n,d:[{kind:"field",decorators:[(0,e.Cb)()],key:"authProvider",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"clientId",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"redirectUri",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"oauth2State",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_state",value:()=>"loading"},{kind:"field",decorators:[(0,e.sz)()],key:"_stepData",value:()=>({})},{kind:"field",decorators:[(0,e.sz)()],key:"_step",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_errorMessage",value:void 0},{kind:"method",key:"render",value:function(){return e.dy`
<form>
${this._renderForm()}
</form>
`}},{kind:"method",key:"firstUpdated",value:function(e){if($n(qn(n.prototype),"firstUpdated",this).call(this,e),null==this.clientId||null==this.redirectUri)return console.error("clientId and redirectUri must not be null",this.clientId,this.redirectUri),this._state="error",void(this._errorMessage=this._unknownError());this.addEventListener("keypress",(e=>{13===e.keyCode&&this._handleSubmit(e)}))}},{kind:"method",key:"updated",value:function(e){$n(qn(n.prototype),"updated",this).call(this,e),e.has("authProvider")&&this._providerChanged(this.authProvider)}},{kind:"method",key:"_renderForm",value:function(){switch(this._state){case"step":return null==this._step?e.dy``:e.dy`
${this._renderStep(this._step)}
<div class="action">
<mwc-button raised @click=${this._handleSubmit}
>${"form"===this._step.type?this.localize("ui.panel.page-authorize.form.next"):this.localize("ui.panel.page-authorize.form.start_over")}</mwc-button
>
</div>
`;case"error":return e.dy`
<div class="error">
${this.localize("ui.panel.page-authorize.form.error","error",this._errorMessage)}
</div>
`;case"loading":return e.dy` ${this.localize("ui.panel.page-authorize.form.working")} `;default:return e.dy``}}},{kind:"method",key:"_renderStep",value:function(t){switch(t.type){case"abort":return e.dy`
${this.localize("ui.panel.page-authorize.abort_intro")}:
<ha-markdown
allowsvg
breaks
.content=${this.localize(`ui.panel.page-authorize.form.providers.${t.handler[0]}.abort.${t.reason}`)}
></ha-markdown>
`;case"form":return e.dy`
${this._computeStepDescription(t)?e.dy`
<ha-markdown
breaks
.content=${this._computeStepDescription(t)}
></ha-markdown>
`:e.dy``}
<ha-form
.data=${this._stepData}
.schema=${t.data_schema}
.error=${t.errors}
.computeLabel=${this._computeLabelCallback(t)}
.computeError=${this._computeErrorCallback(t)}
@value-changed=${this._stepDataChanged}
></ha-form>
`;default:return e.dy``}}},{kind:"method",key:"_providerChanged",value:async function(e){if(this._step&&"form"===this._step.type&&fetch("/auth/login_flow/"+this._step.flow_id,{method:"DELETE",credentials:"same-origin"}).catch((e=>{console.error("Error delete obsoleted auth flow",e)})),null==e)return console.error("No auth provider"),this._state="error",void(this._errorMessage=this._unknownError());try{const t=await fetch("/auth/login_flow",{method:"POST",credentials:"same-origin",body:JSON.stringify({client_id:this.clientId,handler:[e.type,e.id],redirect_uri:this.redirectUri})}),r=await t.json();if(t.ok){if("create_entry"===r.type)return void this._redirect(r.result);await this._updateStep(r)}else this._state="error",this._errorMessage=r.message}catch(t){console.error("Error starting auth flow",t),this._state="error",this._errorMessage=this._unknownError()}}},{kind:"method",key:"_redirect",value:function(e){let t=this.redirectUri;t.includes("?")?t.endsWith("&")||(t+="&"):t+="?",t+="code="+encodeURIComponent(e),this.oauth2State&&(t+="&state="+encodeURIComponent(this.oauth2State)),document.location.assign(t)}},{kind:"method",key:"_updateStep",value:async function(e){let t=null;this._step&&(e.flow_id!==this._step.flow_id||"form"===e.type&&"form"===this._step.type&&e.step_id!==this._step.step_id)&&(t={}),this._step=e,this._state="step",null!=t&&(this._stepData=t),await this.updateComplete,setTimeout((()=>{const e=this.shadowRoot.querySelector("ha-form");e&&e.focus()}),100)}},{kind:"method",key:"_stepDataChanged",value:function(e){this._stepData=e.detail.value}},{kind:"method",key:"_computeStepDescription",value:function(e){const t=`ui.panel.page-authorize.form.providers.${e.handler[0]}.step.${e.step_id}.description`,r=[],n=e.description_placeholders||{};return Object.keys(n).forEach((e=>{r.push(e),r.push(n[e])})),this.localize(t,...r)}},{kind:"method",key:"_computeLabelCallback",value:function(e){return t=>this.localize(`ui.panel.page-authorize.form.providers.${e.handler[0]}.step.${e.step_id}.data.${t.name}`)}},{kind:"method",key:"_computeErrorCallback",value:function(e){return t=>this.localize(`ui.panel.page-authorize.form.providers.${e.handler[0]}.error.${t}`)}},{kind:"method",key:"_unknownError",value:function(){return this.localize("ui.panel.page-authorize.form.unknown_error")}},{kind:"method",key:"_handleSubmit",value:async function(e){if(e.preventDefault(),null==this._step)return;if("form"!==this._step.type)return void this._providerChanged(this.authProvider);this._state="loading",this.style.setProperty("min-height",this.offsetHeight+"px");const t={...this._stepData,client_id:this.clientId};try{const e=await fetch("/auth/login_flow/"+this._step.flow_id,{method:"POST",credentials:"same-origin",body:JSON.stringify(t)}),r=await e.json();if("create_entry"===r.type)return void this._redirect(r.result);await this._updateStep(r)}catch(r){console.error("Error submitting step",r),this._state="error",this._errorMessage=this._unknownError()}finally{this.style.setProperty("min-height","")}}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
:host {
/* So we can set min-height to avoid jumping during loading */
display: block;
}
.action {
margin: 24px 0 8px;
text-align: center;
}
.error {
color: red;
}
`}}]}}),(0,t.o)(e.oi));customElements.define("ha-auth-flow",Xn);const Wn=2147483647,Yn=36,Jn=/^xn--/,Qn=/[^\0-\x7E]/,ei=/[\x2E\u3002\uFF0E\uFF61]/g,ti={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ri=Math.floor,ni=String.fromCharCode;function ii(e){throw new RangeError(ti[e])}function oi(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const i=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(ei,".")).split("."),t).join(".");return n+i}function ai(e){const t=[];let r=0;const n=e.length;for(;r<n;){const i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}const si=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},li=function(e,t,r){let n=0;for(e=r?ri(e/700):e>>1,e+=ri(e/t);e>455;n+=Yn)e=ri(e/35);return ri(n+36*e/(e+38))},ci=function(e){const t=[],r=e.length;let n=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let l=0;l<a;++l)e.charCodeAt(l)>=128&&ii("not-basic"),t.push(e.charCodeAt(l));for(let l=a>0?a+1:0;l<r;){let a=n;for(let t=1,i=Yn;;i+=Yn){l>=r&&ii("invalid-input");const a=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:Yn;(a>=Yn||a>ri((Wn-n)/t))&&ii("overflow"),n+=a*t;const c=i<=o?1:i>=o+26?26:i-o;if(a<c)break;const u=Yn-c;t>ri(Wn/u)&&ii("overflow"),t*=u}const c=t.length+1;o=li(n-a,c,0==a),ri(n/c)>Wn-i&&ii("overflow"),i+=ri(n/c),n%=c,t.splice(n++,0,i)}var s;return String.fromCodePoint(...t)},ui=function(e){const t=[];let r=(e=ai(e)).length,n=128,i=0,o=72;for(const l of e)l<128&&t.push(ni(l));let a=t.length,s=a;for(a&&t.push("-");s<r;){let r=Wn;for(const t of e)t>=n&&t<r&&(r=t);const l=s+1;r-n>ri((Wn-i)/l)&&ii("overflow"),i+=(r-n)*l,n=r;for(const c of e)if(c<n&&++i>Wn&&ii("overflow"),c==n){let e=i;for(let r=Yn;;r+=Yn){const n=r<=o?1:r>=o+26?26:r-o;if(e<n)break;const i=e-n,a=Yn-n;t.push(ni(si(n+i%a,0))),e=ri(i/a)}t.push(ni(si(e,0))),o=li(i,l,s==a),i=0,++s}++i,++n}return t.join("")},di={version:"2.1.0",ucs2:{decode:ai,encode:e=>String.fromCodePoint(...e)},decode:ci,encode:ui,toASCII:function(e){return oi(e,(function(e){return Qn.test(e)?"xn--"+ui(e):e}))},toUnicode:function(e){return oi(e,(function(e){return Jn.test(e)?ci(e.slice(4).toLowerCase()):e}))}};function pi(){pi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!mi(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var c=l.extras;if(c){for(var u=0;u<c.length;u++)this.addElementPlacement(c[u],t);r.push.apply(r,c)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return bi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bi(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=gi(e.key),n=String(e.placement);if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:yi(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=yi(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function hi(e){var t,r=gi(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function fi(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function mi(e){return e.decorators&&e.decorators.length}function vi(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function yi(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function gi(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _i(e,t,r){return(_i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=wi(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function wi(e){return(wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Promise.all([i.e(2934),i.e(6900)]).then(i.bind(i,65222));let ki=function(e,t,r,n){var i=pi();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t((function(e){i.initializeInstanceElements(e,s.elements)}),r),s=i.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r)))if(vi(o.descriptor)||vi(i.descriptor)){if(mi(o)||mi(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(mi(o)){if(mi(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}fi(o,i)}else t.push(o)}return t}(a.d.map(hi)),e);return i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}(null,(function(t,r){class i extends r{constructor(){super(),t(this),this.translationFragment="page-authorize";const e=(()=>{const e={},t=new URLSearchParams(location.search);for(const[r,n]of t.entries())e[r]=n;return e})();e.client_id&&(this.clientId=e.client_id),e.redirect_uri&&(this.redirectUri=e.redirect_uri),e.state&&(this.oauth2State=e.state)}}return{F:i,d:[{kind:"field",decorators:[(0,e.Cb)()],key:"clientId",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"redirectUri",value:void 0},{kind:"field",decorators:[(0,e.Cb)()],key:"oauth2State",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_authProvider",value:void 0},{kind:"field",decorators:[(0,e.sz)()],key:"_authProviders",value:void 0},{kind:"method",key:"render",value:function(){if(!this._authProviders)return e.dy`
<p>${this.localize("ui.panel.page-authorize.initializing")}</p>
`;const t=document.createElement("div");t.innerText=this.localize("ui.panel.page-authorize.logging_in_with","authProviderName","NAME"),t.innerHTML=t.innerHTML.replace("**NAME**",`<b>${this._authProvider.name}</b>`);const r=this._authProviders.filter((e=>e!==this._authProvider));return e.dy`
<p>
${this.localize("ui.panel.page-authorize.authorizing_client","clientId",this.clientId?di.toASCII(this.clientId):this.clientId)}
</p>
${t}
<ha-auth-flow
.resources="${this.resources}"
.clientId="${this.clientId}"
.redirectUri="${this.redirectUri}"
.oauth2State="${this.oauth2State}"
.authProvider="${this._authProvider}"
></ha-auth-flow>
${r.length>0?e.dy`
<ha-pick-auth-provider
.resources="${this.resources}"
.clientId="${this.clientId}"
.authProviders="${r}"
@pick-auth-provider="${this._handleAuthProviderPick}"
></ha-pick-auth-provider>
`:""}
`}},{kind:"method",key:"firstUpdated",value:function(e){if(_i(wi(i.prototype),"firstUpdated",this).call(this,e),this._fetchAuthProviders(),!this.redirectUri)return;const t=document.createElement("a");t.href=this.redirectUri,t.host===location.host&&n(this,!1)}},{kind:"method",key:"updated",value:function(e){_i(wi(i.prototype),"updated",this).call(this,e),e.has("language")&&document.querySelector("html").setAttribute("lang",this.language)}},{kind:"method",key:"_fetchAuthProviders",value:async function(){try{const e=await(window.providersPromise||fetch("/auth/providers",{credentials:"same-origin"})),t=await e.json();if(400===e.status&&"onboarding_required"===t.code)return void(location.href="/onboarding.html"+location.search);if(0===t.length)return void alert("No auth providers returned. Unable to finish login.");this._authProviders=t,this._authProvider=t[0]}catch(e){console.error("Error loading auth providers",e)}}},{kind:"method",key:"_handleAuthProviderPick",value:async function(e){this._authProvider=e.detail}},{kind:"get",static:!0,key:"styles",value:function(){return e.iv`
ha-pick-auth-provider {
display: block;
margin-top: 48px;
}
`}}]}}),(0,t.o)(e.oi));customElements.define("ha-authorize",ki);i(5618);e.iv`
:host {
font-family: var(--paper-font-body1_-_font-family);
-webkit-font-smoothing: var(--paper-font-body1_-_-webkit-font-smoothing);
font-size: var(--paper-font-body1_-_font-size);
font-weight: var(--paper-font-body1_-_font-weight);
line-height: var(--paper-font-body1_-_line-height);
}
app-header-layout,
ha-app-layout {
background-color: var(--primary-background-color);
}
app-header,
app-toolbar {
background-color: var(--app-header-background-color);
font-weight: 400;
color: var(--app-header-text-color, white);
}
app-toolbar {
height: var(--header-height);
}
app-header div[sticky] {
height: 48px;
}
app-toolbar [main-title] {
margin-left: 20px;
}
h1 {
font-family: var(--paper-font-headline_-_font-family);
-webkit-font-smoothing: var(--paper-font-headline_-_-webkit-font-smoothing);
white-space: var(--paper-font-headline_-_white-space);
overflow: var(--paper-font-headline_-_overflow);
text-overflow: var(--paper-font-headline_-_text-overflow);
font-size: var(--paper-font-headline_-_font-size);
font-weight: var(--paper-font-headline_-_font-weight);
line-height: var(--paper-font-headline_-_line-height);
}
h2 {
font-family: var(--paper-font-title_-_font-family);
-webkit-font-smoothing: var(--paper-font-title_-_-webkit-font-smoothing);
white-space: var(--paper-font-title_-_white-space);
overflow: var(--paper-font-title_-_overflow);
text-overflow: var(--paper-font-title_-_text-overflow);
font-size: var(--paper-font-title_-_font-size);
font-weight: var(--paper-font-title_-_font-weight);
line-height: var(--paper-font-title_-_line-height);
}
h3 {
font-family: var(--paper-font-subhead_-_font-family);
-webkit-font-smoothing: var(--paper-font-subhead_-_-webkit-font-smoothing);
white-space: var(--paper-font-subhead_-_white-space);
overflow: var(--paper-font-subhead_-_overflow);
text-overflow: var(--paper-font-subhead_-_text-overflow);
font-size: var(--paper-font-subhead_-_font-size);
font-weight: var(--paper-font-subhead_-_font-weight);
line-height: var(--paper-font-subhead_-_line-height);
}
a {
color: var(--primary-color);
}
.secondary {
color: var(--secondary-text-color);
}
.error {
color: var(--error-color);
}
.warning {
color: var(--error-color);
}
mwc-button.warning {
--mdc-theme-primary: var(--error-color);
}
button.link {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
text-align: left;
text-decoration: underline;
cursor: pointer;
}
.card-actions a {
text-decoration: none;
}
.card-actions .warning {
--mdc-theme-primary: var(--error-color);
}
.layout.horizontal,
.layout.vertical {
display: flex;
}
.layout.inline {
display: inline-flex;
}
.layout.horizontal {
flex-direction: row;
}
.layout.vertical {
flex-direction: column;
}
.layout.wrap {
flex-wrap: wrap;
}
.layout.no-wrap {
flex-wrap: nowrap;
}
.layout.center,
.layout.center-center {
align-items: center;
}
.layout.bottom {
align-items: flex-end;
}
.layout.center-justified,
.layout.center-center {
justify-content: center;
}
.flex {
flex: 1;
flex-basis: 0.000000001px;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-none {
flex: none;
}
.layout.justified {
justify-content: space-between;
}
`,e.iv`
/* prevent clipping of positioned elements */
paper-dialog-scrollable {
--paper-dialog-scrollable: {
-webkit-overflow-scrolling: auto;
}
}
/* force smooth scrolling for iOS 10 */
paper-dialog-scrollable.can-scroll {
--paper-dialog-scrollable: {
-webkit-overflow-scrolling: touch;
}
}
.paper-dialog-buttons {
align-items: flex-end;
padding: 8px;
padding-bottom: max(env(safe-area-inset-bottom), 8px);
}
@media all and (min-width: 450px) and (min-height: 500px) {
ha-paper-dialog {
min-width: 400px;
}
}
@media all and (max-width: 450px), all and (max-height: 500px) {
paper-dialog,
ha-paper-dialog {
margin: 0;
width: calc(
100% - env(safe-area-inset-right) - env(safe-area-inset-left)
) !important;
min-width: calc(
100% - env(safe-area-inset-right) - env(safe-area-inset-left)
) !important;
max-width: calc(
100% - env(safe-area-inset-right) - env(safe-area-inset-left)
) !important;
max-height: calc(100% - var(--header-height));
position: fixed !important;
bottom: 0px;
left: env(safe-area-inset-left);
right: env(safe-area-inset-right);
overflow: scroll;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
}
/* mwc-dialog (ha-dialog) styles */
ha-dialog {
--mdc-dialog-min-width: 400px;
--mdc-dialog-max-width: 600px;
--mdc-dialog-heading-ink-color: var(--primary-text-color);
--mdc-dialog-content-ink-color: var(--primary-text-color);
--justify-action-buttons: space-between;
}
ha-dialog .form {
padding-bottom: 24px;
color: var(--primary-text-color);
}
a {
color: var(--primary-color);
}
/* make dialog fullscreen on small screens */
@media all and (max-width: 450px), all and (max-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: calc(
100vw - env(safe-area-inset-right) - env(safe-area-inset-left)
);
--mdc-dialog-max-width: calc(
100vw - env(safe-area-inset-right) - env(safe-area-inset-left)
);
--mdc-dialog-min-height: 100%;
--mdc-dialog-max-height: 100%;
--mdc-shape-medium: 0px;
--vertial-align-dialog: flex-end;
}
}
mwc-button.warning {
--mdc-theme-primary: var(--error-color);
}
.error {
color: var(--error-color);
}
`,e.iv`
.ha-scrollbar::-webkit-scrollbar {
width: 0.4rem;
height: 0.4rem;
}
.ha-scrollbar::-webkit-scrollbar-thumb {
-webkit-border-radius: 4px;
border-radius: 4px;
background: var(--scrollbar-thumb-color);
}
.ha-scrollbar {
overflow-y: auto;
scrollbar-color: var(--scrollbar-thumb-color) transparent;
scrollbar-width: thin;
}
`;const xi=document.createElement("template");xi.setAttribute("style","display: none;"),xi.innerHTML=`<custom-style>\n <style>\n /*\n ioBroker default styles.\n\n In Polymer 2.0, default styles should to be set on the html selector.\n (Setting all default styles only on body breaks shadyCSS polyfill.)\n See: https://github.com/home-assistant/home-assistant-polymer/pull/901\n */\n html {\n font-size: 14px;\n height: 100vh;\n\n /* text */\n --primary-text-color: #212121;\n --secondary-text-color: #727272;\n --text-primary-color: #ffffff;\n --text-light-primary-color: #212121;\n --disabled-text-color: #bdbdbd;\n\n /* main interface colors */\n --primary-color: #03a9f4;\n --dark-primary-color: #0288d1;\n --light-primary-color: #b3e5fC;\n --accent-color: #ff9800;\n --divider-color: rgba(0, 0, 0, .12);\n\n --scrollbar-thumb-color: rgb(194, 194, 194);\n\n --error-color: #db4437;\n --warning-color: #FF9800;\n --success-color: #0f9d58;\n --info-color: #4285f4;\n\n /* states and badges */\n --state-icon-color: #44739e;\n --state-icon-active-color: #FDD835;\n\n /* background and sidebar */\n --card-background-color: #ffffff;\n --primary-background-color: #fafafa;\n --secondary-background-color: #e5e5e5; /* behind the cards on state */\n\n /* for header */\n --header-height: 64px;\n\n /* for label-badge */\n --label-badge-red: #DF4C1E;\n --label-badge-blue: #039be5;\n --label-badge-green: #0DA035;\n --label-badge-yellow: #f4b400;\n\n /*\n Paper-styles color.html dependency is stripped on build.\n When a default paper-style color is used, it needs to be copied\n from paper-styles/color.html to here.\n */\n\n --paper-grey-50: #fafafa; /* default for: --mwc-switch-unchecked-button-color */\n --paper-grey-200: #eeeeee; /* for ha-date-picker-style */\n --paper-grey-500: #9e9e9e; /* --label-badge-grey */\n\n /* for paper-slider */\n --paper-green-400: #66bb6a;\n --paper-blue-400: #42a5f5;\n --paper-orange-400: #ffa726;\n\n /* opacity for dark text on a light background */\n --dark-divider-opacity: 0.12;\n --dark-disabled-opacity: 0.38; /* or hint text or icon */\n --dark-secondary-opacity: 0.54;\n --dark-primary-opacity: 0.87;\n\n /* opacity for light text on a dark background */\n --light-divider-opacity: 0.12;\n --light-disabled-opacity: 0.3; /* or hint text or icon */\n --light-secondary-opacity: 0.7;\n --light-primary-opacity: 1.0;\n\n /* set our slider style */\n --ha-slider-pin-font-size: 15px;\n\n /* rgb */\n --rgb-primary-color: 3, 169, 244;\n --rgb-accent-color: 255, 152, 0;\n --rgb-primary-text-color: 33, 33, 33;\n --rgb-secondary-text-color: 114, 114, 114;\n --rgb-text-primary-color: 255, 255, 255;\n --rgb-card-background-color: 255, 255, 255;\n\n ${Object.entries({"error-state-color":"var(--error-color)","state-icon-unavailable-color":"var(--disabled-text-color)","sidebar-text-color":"var(--primary-text-color)","sidebar-background-color":"var(--card-background-color)","sidebar-selected-text-color":"var(--primary-color)","sidebar-selected-icon-color":"var(--primary-color)","sidebar-icon-color":"rgba(var(--rgb-primary-text-color), 0.6)","switch-checked-color":"var(--primary-color)","switch-checked-button-color":"var(--switch-checked-color, var(--primary-background-color))","switch-checked-track-color":"var(--switch-checked-color, #000000)","switch-unchecked-button-color":"var(--switch-unchecked-color, var(--primary-background-color))","switch-unchecked-track-color":"var(--switch-unchecked-color, #000000)","slider-color":"var(--primary-color)","slider-secondary-color":"var(--light-primary-color)","slider-bar-color":"var(--disabled-text-color)","label-badge-grey":"var(--paper-grey-500)","label-badge-background-color":"var(--card-background-color)","label-badge-text-color":"rgba(var(--rgb-primary-text-color), 0.8)","paper-listbox-background-color":"var(--card-background-color)","paper-item-icon-color":"var(--state-icon-color)","paper-item-icon-active-color":"var(--state-icon-active-color)","table-row-background-color":"var(--primary-background-color)","table-row-alternative-background-color":"var(--secondary-background-color)","paper-slider-knob-color":"var(--slider-color)","paper-slider-knob-start-color":"var(--slider-color)","paper-slider-pin-color":"var(--slider-color)","paper-slider-pin-start-color":"var(--slider-color)","paper-slider-active-color":"var(--slider-color)","paper-slider-secondary-color":"var(--slider-secondary-color)","paper-slider-container-color":"var(--slider-bar-color)","data-table-background-color":"var(--card-background-color)","markdown-code-background-color":"var(--primary-background-color)","mdc-theme-primary":"var(--primary-color)","mdc-theme-secondary":"var(--accent-color)","mdc-theme-background":"var(--primary-background-color)","mdc-theme-surface":"var(--card-background-color)","mdc-theme-on-primary":"var(--text-primary-color)","mdc-theme-on-secondary":"var(--text-primary-color)","mdc-theme-on-surface":"var(--primary-text-color)","mdc-theme-text-primary-on-background":"var(--primary-text-color)","mdc-theme-text-secondary-on-background":"var(--secondary-text-color)","mdc-theme-text-icon-on-background":"var(--secondary-text-color)","app-header-text-color":"var(--text-primary-color)","app-header-background-color":"var(--primary-color)","material-body-text-color":"var(--primary-text-color)","material-background-color":"var(--card-background-color)","material-secondary-background-color":"var(--secondary-background-color)","material-secondary-text-color":"var(--secondary-text-color)","mdc-checkbox-unchecked-color":"rgba(var(--rgb-primary-text-color), 0.54)","mdc-checkbox-disabled-color":"var(--disabled-text-color)","mdc-radio-unchecked-color":"rgba(var(--rgb-primary-text-color), 0.54)","mdc-radio-disabled-color":"var(--disabled-text-color)","mdc-tab-text-label-color-default":"var(--primary-text-color)","mdc-button-disabled-ink-color":"var(--disabled-text-color)","mdc-button-outline-color":"var(--divider-color)","mdc-dialog-scroll-divider-color":"var(--divider-color)"}).map((([e,t])=>`--${e}: ${t};`)).join("")}\n }\n\n /*\n prevent clipping of positioned elements in a small scrollable\n force smooth scrolling if can scroll\n use non-shady selectors so this only targets iOS 9\n conditional mixin set in ha-style-dialog does not work with shadyCSS\n */\n paper-dialog-scrollable:not(.can-scroll) > .scrollable {\n -webkit-overflow-scrolling: auto !important;\n }\n\n paper-dialog-scrollable.can-scroll > .scrollable {\n -webkit-overflow-scrolling: touch !important;\n }\n </style>\n</custom-style>`,document.head.appendChild(xi.content);i(64702);setTimeout((()=>i.e(1882).then(i.t.bind(i,61740,7))),2e3)})()})();
//# sourceMappingURL=authorize.2eb04c74.js.map