@saasquatch/vanilla-components 1.2.4-2 → 1.2.4-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/cjs/{WidgetHost-71b013eb.js → WidgetHost-cee741d8.js} +772 -615
- package/dist/cjs/{en-a49a5ef5.js → en-3a7cb52e.js} +2 -2
- package/dist/cjs/{index-deb40352.js → index-09a04159.js} +54 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/sqh-close-button.cjs.entry.js +26 -26
- package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +2362 -1121
- package/dist/cjs/sqh-referral-code.cjs.entry.js +23 -23
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +27 -27
- package/dist/cjs/widget-components.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/close-button/close-button.js +70 -70
- package/dist/collection/components/copy-button/copy-button.js +380 -389
- package/dist/collection/components/copy-link-button/copy-link-button.js +230 -233
- package/dist/collection/components/cta-component/cta-component.css +6 -0
- package/dist/collection/components/cta-component/cta-component.js +396 -0
- package/dist/collection/components/global-container/global-container.js +158 -170
- package/dist/collection/components/image-component/image-component.js +175 -175
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +196 -186
- package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +557 -0
- package/dist/collection/components/referral-code/referral-code.js +36 -34
- package/dist/collection/components/referral-component/referral-component.js +255 -255
- package/dist/collection/components/referral-list/referral-list.js +911 -930
- package/dist/collection/components/rewards-actions/rewards-actions.js +105 -105
- package/dist/collection/components/share-button/share-button.js +301 -310
- package/dist/collection/components/share-button-container/share-button-container.js +2384 -2470
- package/dist/collection/components/stat-component/stat-component.js +197 -186
- package/dist/collection/components/stats-container/stats-container.js +210 -205
- package/dist/collection/components/text-component/text-component.js +301 -280
- package/dist/collection/entrypoint.js +36 -32
- package/dist/collection/global/global.js +4 -4
- package/dist/collection/services/FormatJs.js +15 -15
- package/dist/collection/services/WidgetHost.js +778 -621
- package/dist/collection/utilities.js +81 -81
- package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-6cd6c29a.js} +772 -615
- package/dist/esm/{en-be593af0.js → en-a652ab83.js} +1 -1
- package/dist/esm/{index-8ea8b6d8.js → index-342d7c26.js} +54 -3
- package/dist/esm/loader.mjs +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/sqh-close-button.entry.js +26 -26
- package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +2361 -1122
- package/dist/esm/sqh-referral-code.entry.js +23 -23
- package/dist/esm/sqh-rewards-actions.entry.js +27 -27
- package/dist/esm/widget-components.mjs +3 -3
- package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-6cd6c29a.js} +9524 -9432
- package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
- package/dist/esm-es5/css-shim-a659079f.js +122 -122
- package/dist/esm-es5/dom-4061ceba.js +468 -468
- package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1471 -1471
- package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +1808 -1758
- package/dist/esm-es5/loader.mjs +11 -11
- package/dist/esm-es5/sqh-close-button.entry.js +35 -35
- package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +10677 -9571
- package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
- package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -31
- package/dist/esm-es5/widget-components.mjs +6 -6
- package/dist/types/components/close-button/close-button.d.ts +18 -18
- package/dist/types/components/copy-button/copy-button.d.ts +90 -107
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +53 -62
- package/dist/types/components/cta-component/cta-component.d.ts +95 -0
- package/dist/types/components/global-container/global-container.d.ts +39 -47
- package/dist/types/components/image-component/image-component.d.ts +45 -51
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +51 -49
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +94 -0
- package/dist/types/components/referral-code/referral-code.d.ts +12 -10
- package/dist/types/components/referral-component/referral-component.d.ts +46 -46
- package/dist/types/components/referral-list/referral-list.d.ts +234 -249
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -25
- package/dist/types/components/share-button/share-button.d.ts +77 -82
- package/dist/types/components/share-button-container/share-button-container.d.ts +593 -684
- package/dist/types/components/stat-component/stat-component.d.ts +49 -48
- package/dist/types/components/stats-container/stats-container.d.ts +47 -45
- package/dist/types/components/text-component/text-component.d.ts +73 -81
- package/dist/types/components.d.ts +646 -548
- package/dist/types/global/global.d.ts +4 -4
- package/dist/types/saasquatch.d.ts +105 -103
- package/dist/types/services/FormatJs.d.ts +7 -7
- package/dist/types/services/WidgetHost.d.ts +51 -45
- package/dist/types/utilities.d.ts +7 -7
- package/dist/widget-components/entrypoint.js +36 -32
- package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
- package/dist/widget-components/{p-54ea7a00.entry.js → p-1dfd20e2.entry.js} +1 -1
- package/dist/widget-components/p-24fc4ba9.js +1 -1
- package/dist/widget-components/p-46109683.js +3 -3
- package/dist/widget-components/{p-edd43dbc.js → p-4b1ab75c.js} +68 -3
- package/dist/widget-components/{p-b17efca4.system.entry.js → p-599e6d35.system.entry.js} +1 -1
- package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
- package/dist/widget-components/p-9fcf9906.entry.js +233 -0
- package/dist/widget-components/{p-366f1663.entry.js → p-9ffe6e46.entry.js} +1 -1
- package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
- package/dist/widget-components/p-ad5121cf.system.js +1 -0
- package/dist/widget-components/{p-8e232564.system.js → p-b67d3319.system.js} +2 -2
- package/dist/widget-components/p-cdc72d95.system.entry.js +10 -0
- package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
- package/dist/widget-components/p-eeb2bfd4.system.entry.js +1 -0
- package/dist/widget-components/{p-9746ae26.entry.js → p-fb528be6.entry.js} +1 -1
- package/dist/widget-components/p-fbf0c7fe.js +1 -0
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/dist/widget-components/widget-components.js +1 -1
- package/docs/raisins.json +1 -1
- package/package.json +98 -96
- package/readme.md +52 -52
- package/dist/widget-components/p-485eaf44.js +0 -1
- package/dist/widget-components/p-c8bc8c77.system.entry.js +0 -1
- package/dist/widget-components/p-d416634a.entry.js +0 -148
- package/dist/widget-components/p-d97c955d.system.entry.js +0 -8
- package/dist/widget-components/p-e61a8100.system.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,p as n,w as t,a as r,d as o,N as a,H as i}from"./p-485eaf44.js";import{c as s,u,a as h}from"./p-b18ab5ec.js";const l="undefined"!=typeof Deno,m=!(l||"undefined"==typeof global||"function"!=typeof require||!global.process||"string"!=typeof __filename||global.origin&&"string"==typeof global.origin),c=(l&&Deno,m?process:l&&Deno,m?process:l&&Deno,()=>e&&e.supports&&e.supports("color","var(--c)")?r():__sc_import_widget_components("./p-24fc4ba9.js").then(()=>(n.t=t.__cssshim)?(!1).i():0)),f=()=>{n.t=t.__cssshim,y(i.prototype);const e=Array.from(o.querySelectorAll("script")).find(e=>RegExp(`/${a}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===a),s=e["data-opts"]||{};return s.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,t.location.href)).href,g(s.resourcesUrl,e),t.customElements?r(s):__sc_import_widget_components("./p-46109683.js").then(()=>s)},g=(e,n)=>{const r="__sc_import_"+a.replace(/\s|-/g,"_");try{t[r]=Function("w","return import(w);//"+Math.random())}catch(a){const i=new Map;t[r]=a=>{const s=new URL(a,e).href;let u=i.get(s);if(!u){const e=o.createElement("script");e.type="module",e.crossOrigin=n.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${r}.m = m;`],{type:"application/javascript"})),u=new Promise(n=>{e.onload=()=>{n(t[r].m),e.remove()}}),i.set(s,u),o.head.appendChild(e)}return u}}},y=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const t=n.call(this,!1),r=this.childNodes;if(e)for(let e=0;e<r.length;e++)2!==r[e].nodeType&&t.appendChild(r[e].cloneNode(!0));return t}};var p=function(){return(p=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},w={second:45,minute:45,hour:22,day:5};const d={"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"},b={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","zh-Hant-MO":"zh-Hant-HK"};function v(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}function k(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function q(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return e+""}function M(e,n,t,r,o){var a=e[n];if(void 0!==a){if("boolean"!==t&&"string"!==t)throw new TypeError("invalid type");if("boolean"===t&&(a=!!a),"string"===t&&(a=q(a)),void 0!==r&&!r.filter((function(e){return e==a})).length)throw new RangeError(a+" is not within "+r.join(", "));return a}return o}function S(e,n,t,r){if(void 0!==e){if(isNaN(e=Number(e))||e<n||e>t)throw new RangeError(e+" is outside of range ["+n+", "+t+"]");return Math.floor(e)}return r}function j(e,n,t,r,o){return S(e[n],t,r,o)}function x(e,n,t,r){e.get(n)||e.set(n,Object.create(null)),e.get(n)[t]=r}function T(e,n,t){return I(e,n,t)[t]}function I(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var o=e.get(n);if(!o)throw new TypeError(n+" InternalSlot has not been initialized");return t.reduce((function(e,n){return e[n]=o[n],e}),Object.create(null))}var N=/[^A-Z]/;function G(e){var n=Intl.getCanonicalLocales;return"function"==typeof n?n(e):Intl.DateTimeFormat.supportedLocalesOf(e)}var O=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),C=function(){return(C=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function z(e,n){v(2===n.length,"key must have 2 elements");var t=e.length,r="-"+n+"-",o=e.indexOf(r);if(-1!==o){for(var a=o+4,i=a,s=a,u=!1;!u;){var h=e.indexOf("-",s);2==(-1===h?t-s:h-s)?u=!0:-1===h?(i=t,u=!0):(i=h,s=h+1)}return e.slice(a,i)}if(-1!==(o=e.indexOf(r="-"+n))&&o+3===t)return""}var E=/-u(?:-[0-9a-z]{2,8})+/gi;function A(e,n){for(var t=n;;){if(~e.indexOf(t))return t;var r=t.lastIndexOf("-");if(!~r)return;r>=2&&"-"===t[r-2]&&(r-=2),t=t.slice(0,r)}}function L(e,n,t){var r=[e];n[e]&&r.push(e=n[e]);var o=t[e];o&&r.push(o);for(var a=e.split("-"),i=a.length;i>1;i--)r.push(a.slice(0,i-1).join("-"));return r}var D,K=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type="MISSING_LOCALE_DATA",n}return O(n,e),n}(Error);!function(e){e.compactName="compactName",e.compactSymbol="compactSymbol",e.currencyCode="currencyCode",e.currencyName="currencyName",e.currencyNarrowSymbol="currencyNarrowSymbol",e.currencySymbol="currencySymbol",e.minusSign="minusSign",e.number="number",e.percentSign="percentSign",e.plusSign="plusSign",e.scientificExponent="scientificExponent",e.scientificSeparator="scientificSeparator",e.unitName="unitName",e.unitNarrowSymbol="unitNarrowSymbol",e.unitSymbol="unitSymbol"}(D||(D={}));const R=Object.freeze({__proto__:null,selectUnit:function(e,n,t){void 0===n&&(n=Date.now()),void 0===t&&(t={});var r=p(p({},w),t||{}),o=(+e-+n)/1e3;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var a=o/60;if(Math.abs(a)<r.minute)return{value:Math.round(a),unit:"minute"};var i=o/3600;if(Math.abs(i)<r.hour)return{value:Math.round(i),unit:"hour"};var s=o/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var u=new Date(e),h=new Date(n),l=u.getFullYear()-h.getFullYear();if(Math.round(Math.abs(l))>0)return{value:Math.round(l),unit:"year"};var m=12*l+u.getMonth()-h.getMonth();return Math.round(Math.abs(m))>0?{value:Math.round(m),unit:"month"}:{value:Math.round(o/604800),unit:"week"}},defaultNumberOption:S,getAliasesByLang:function(e){return Object.keys(d).reduce((function(n,t){return t.split("-")[0]===e&&(n[t]=d[t]),n}),{})},getInternalSlot:T,getMultiInternalSlots:I,getNumberOption:j,getOption:M,getParentLocalesByLang:function(e){return Object.keys(b).reduce((function(n,t){return t.split("-")[0]===e&&(n[t]=b[t]),n}),{})},isLiteralPart:function(e){return"literal"===e.type},partitionPattern:function(e){for(var n=[],t=e.indexOf("{"),r=0,o=0,a=e.length;t<e.length&&t>-1;)v((r=e.indexOf("}",t))>t,"Invalid pattern "+e),t>o&&n.push({type:"literal",value:e.substring(o,t)}),n.push({type:e.substring(t+1,r),value:void 0}),t=e.indexOf("{",o=r+1);return o<a&&n.push({type:"literal",value:e.substring(o,a)}),n},setInternalSlot:x,setMultiInternalSlots:function(e,n,t){for(var r=0,o=Object.keys(t);r<o.length;r++){var a=o[r];x(e,n,a,t[a])}},setNumberFormatDigitOptions:function(e,n,t,r,o){var a=j(t,"minimumIntegerDigits",1,21,1),i=t.minimumFractionDigits,s=t.maximumFractionDigits,u=t.minimumSignificantDigits,h=t.maximumSignificantDigits;x(e,n,"minimumIntegerDigits",a),void 0!==u||void 0!==h?(x(e,n,"roundingType","significantDigits"),u=S(u,1,21,1),h=S(h,u,21,21),x(e,n,"minimumSignificantDigits",u),x(e,n,"maximumSignificantDigits",h)):void 0!==i||void 0!==s?(x(e,n,"roundingType","fractionDigits"),i=S(i,0,20,r),s=S(s,i,20,Math.max(i,o)),x(e,n,"minimumFractionDigits",i),x(e,n,"maximumFractionDigits",s)):"compact"===T(e,n,"notation")?x(e,n,"roundingType","compactRounding"):(x(e,n,"roundingType","fractionDigits"),x(e,n,"minimumFractionDigits",r),x(e,n,"maximumFractionDigits",o))},toObject:k,objectIs:function(e,n){return Object.is?Object.is(e,n):e===n?0!==e||1/e==1/n:e!=e&&n!=n},isWellFormedCurrencyCode:function(e){return 3===(e=function(e){return e.replace(/([a-z])/g,(function(e,n){return n.toUpperCase()}))}(e)).length&&!N.test(e)},toString:q,createResolveLocale:function(e){var n=function(e){return function(n,t){for(var r={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(E,""),u=A(n,s);if(u)return r.locale=u,i!==s&&(r.extension=i.slice(s.length+1,i.length)),r}return r.locale=e(),r}}(e),t=function(e){return function(n,t){for(var r={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(E,""),u=A(n,s);if(u)return r.locale=u,i!==s&&(r.extension=i.slice(s.length+1,i.length)),r}return r.locale=e(),r}}(e);return function(e,r,o,a,i){for(var s,u=(s="lookup"===o.localeMatcher?n(e,r):t(e,r)).locale,h={locale:"",dataLocale:u},l="-u",m=0,c=a;m<c.length;m++){var f=c[m],g=i[u];v("object"==typeof g&&null!==g,"locale data "+f+" must be an object");var y=g[f];v(Array.isArray(y),"keyLocaleData for "+f+" must be an array");var p=y[0];v("string"==typeof p||null===p,"value must be string or null");var w="";if(s.extension){var d=z(s.extension,f);void 0!==d&&(""!==d?~y.indexOf(d)&&(w="-"+f+"-"+(p=d)):~d.indexOf("true")&&(p="true",w="-"+f))}if(f in o){var b=o[f];v("string"==typeof b||null==b,"optionsValue must be String, Undefined or Null"),~y.indexOf(b)&&b!==p&&(p=b,w="")}h[f]=p,l+=w}if(l.length>2){var k=u.indexOf("-x-");if(-1===k)u+=l;else{var q=u.slice(0,k),M=u.slice(k,u.length);u=q+l+M}u=G(u)[0]}return h.locale=u,h}},getLocaleHierarchy:L,supportedLocales:function(e,n,t){return void 0!==t&&M(t=k(t),"localeMatcher","string",["lookup","best fit"],"best fit"),function(e,n){for(var t=[],r=0,o=n;r<o.length;r++){var a=A(e,o[r].replace(E,""));a&&t.push(a)}return t}(e,n)},unpackData:function(e,n,t){void 0===t&&(t=function(e,n){return C(C({},e),n)});var r=L(e,n.aliases,n.parentLocales),o=r.map((function(e){return n.data[e]})).filter(Boolean);if(!o.length)throw new K('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce(t,{})},isMissingLocaleDataError:function(e){return"MISSING_LOCALE_DATA"===e.type},getCanonicalLocales:G,invariant:v,SANCTIONED_UNITS:["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"],removeUnitNamespace:function(e){return e.replace(/^(.*?)-/,"")},get InternalSlotToken(){return D}});var B=s((function(e,n){var t=h&&h.__assign||function(){return(t=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},r=h&&h.__values||function(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},o=h&&h.__read||function(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i},a=h&&h.__spread||function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(o(arguments[n]));return e};function i(e,n){var r=R.getLocaleHierarchy(e,n.aliases,n.parentLocales),o=r.map((function(e){return n.data[e]})).filter(Boolean);if(!o.length)throw Error('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce((function(e,n){return t(t({},e),n)}),{nu:[]})}Object.defineProperty(n,"__esModule",{value:!0});var s=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function u(e){return e+""}function l(e,n,t,o){if(R.invariant("number"==typeof t,"value must be number, instead got "+typeof t,TypeError),R.invariant("string"==typeof o,"unit must be number, instead got "+typeof t,TypeError),isNaN(t)||t===1/0||t===-1/0)throw new RangeError("Invalid value "+t);var a=function(e){if(R.invariant("string"==typeof e,"unit must be a string, instead got "+typeof e,TypeError),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("Invalid unit "+e);return e}(o),i=R.getInternalSlot(e,n,"fields"),s=R.getInternalSlot(e,n,"style"),h=a;"short"===s?h=o+"-short":"narrow"===s&&(h=o+"-narrow"),h in i||(h=o);var l=i[h];if("auto"===R.getInternalSlot(e,n,"numeric")&&u(t)in l)return[{type:"literal",value:l[u(t)]}];var m="future";(function(e){return Object.is?Object.is(e,-0):-0===e?0!==e||1/e==-1/0:e!=e&&!1}(t)||t<0)&&(m="past");var c=l[m],f=R.getInternalSlot(e,n,"pluralRules"),g=R.getInternalSlot(e,n,"numberFormat"),y="function"==typeof g.formatToParts?g.formatToParts(Math.abs(t)):[{type:"literal",value:g.format(Math.abs(t)),unit:o}];return function(e,n,t){var o,a,i,s,u=R.partitionPattern(e),h=[];try{for(var l=r(u),m=l.next();!m.done;m=l.next()){var c=m.value;if(R.isLiteralPart(c))h.push({type:"literal",value:c.value});else{R.invariant("0"===c.type,"Malformed pattern "+e);try{for(var f=(i=void 0,r(t)),g=f.next();!g.done;g=f.next()){var y=g.value;h.push({type:y.type,value:y.value,unit:n})}}catch(e){i={error:e}}finally{try{g&&!g.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return h}(c[f.select(t)],a,y)}var m=function(){function e(n,t){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat",!0);var r=R.getCanonicalLocales(n),o=Object.create(null),a=void 0===t?Object.create(null):R.toObject(t),i=R.getOption(a,"localeMatcher","string",["best fit","lookup"],"best fit");o.localeMatcher=i;var u=R.getOption(a,"numberingSystem","string",void 0,void 0);if(void 0!==u&&!s.test(u))throw new RangeError("Invalid numbering system "+u);o.nu=u;var h=R.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,o,e.relevantExtensionKeys,e.localeData),l=h.locale,m=h.nu;R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",l),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style",R.getOption(a,"style","string",["long","narrow","short"],"long")),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric",R.getOption(a,"numeric","string",["always","auto"],"always")),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"fields",e.localeData[l]),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberFormat",new Intl.NumberFormat(n)),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"pluralRules",new Intl.PluralRules(n)),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem",m)}return e.prototype.format=function(n,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("format was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(n),u(t)).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(n,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("formatToParts was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(n),u(t))},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("resolvedOptions was called on a invalid context");return{locale:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),style:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style"),numeric:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric"),numberingSystem:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem")}},e.supportedLocalesOf=function(n,t){return R.supportedLocales(e.availableLocales,R.getCanonicalLocales(n),t)},e.__addLocaleData=function(){for(var n,t,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=function(n){Object.keys(a(n.availableLocales,Object.keys(n.aliases),Object.keys(n.parentLocales)).reduce((function(e,n){return e[n]=!0,e}),{})).forEach((function(t){try{e.localeData[t]=i(t,n)}catch(e){}}))};try{for(var h=r(o),l=h.next();!l.done;l=h.next()){var m=l.value;u(m)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(t=h.return)&&t.call(h)}finally{if(n)throw n.error}}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();n.default=m;try{"undefined"!=typeof Symbol&&Object.defineProperty(m.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(m.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}));u(B),u(s((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),"RelativeTimeFormat"in Intl||Object.defineProperty(Intl,"RelativeTimeFormat",{value:B.default,writable:!0,enumerable:!1,configurable:!0})}))),Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{"en-001":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-150":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-AU":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"in {0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}},"en-CA":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}},"en-SG":{"quarter-short":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr"},"quarter-narrow":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr"},"month-short":{0:"this mth",1:"next mth",future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"},"-1":"last mth"}},en:{nu:["latn"],year:{0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"},"-1":"last year"},"year-short":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},"year-narrow":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},quarter:{0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},month:{0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"},"-1":"last month"},"month-short":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},"month-narrow":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},week:{0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"},"-1":"last week"},"week-short":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},"week-narrow":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},day:{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-short":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-narrow":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}},availableLocales:["en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US-POSIX","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","en"],aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"}});var P=s((function(e,n){var t=h&&h.__spreadArrays||function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),o=0;for(n=0;n<t;n++)for(var a=arguments[n],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r};function r(e,n){if(!(e instanceof o))throw new TypeError("Method Intl.PluralRules.prototype."+n+" called on incompatible receiver "+e)}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(n,t){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");var r=R.getCanonicalLocales(n),o=Object.create(null),a=void 0===t?Object.create(null):R.toObject(t);R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedPluralRules",!0);var i=R.getOption(a,"localeMatcher","string",["best fit","lookup"],"best fit");o.localeMatcher=i,R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type",R.getOption(a,"type","string",["cardinal","ordinal"],"cardinal")),R.setNumberFormatDigitOptions(e.__INTERNAL_SLOT_MAP__,this,a,0,3);var s=R.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,o,e.relevantExtensionKeys,e.localeData);R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",s.locale)}return e.prototype.resolvedOptions=function(){var n=this;r(this,"resolvedOptions");var o=Object.create(null);return o.locale=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),o.type=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type"),["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach((function(t){var r=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,n,t);void 0!==r&&(o[t]=r)})),o.pluralCategories=t(e.localeData[o.locale].categories[o.type]),o},e.prototype.select=function(n){r(this,"select");var t=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),o=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type");return e.localeData[t].fn(function(e,n,t){var r=R.getInternalSlot(e,n,"minimumSignificantDigits"),o=R.getInternalSlot(e,n,"maximumSignificantDigits");return void 0!==r&&void 0!==o?function(e,n,t){var r=e.toPrecision(t);if(~r.indexOf(".")&&t>n){for(var o=t-n;o>0&&"0"===r[r.length-1];)r=r.slice(0,r.length-1),o--;if("."===r[r.length-1])return r.slice(0,r.length-1)}return r}(t,r,o):function(e,n,t,r){for(var o=r-t,a=e.toFixed(r);o>0&&"0"===a[a.length-1];)a=a.slice(0,a.length-1),o--;"."===a[a.length-1]&&(a=a.slice(0,a.length-1));var i=a.split(".")[0].length;if(i<n){for(var s="";s.length<n-i;s+="0");a=s+a}return a}(t,R.getInternalSlot(e,n,"minimumIntegerDigits"),R.getInternalSlot(e,n,"minimumFractionDigits"),R.getInternalSlot(e,n,"maximumFractionDigits"))}(e.__INTERNAL_SLOT_MAP__,this,Math.abs(Number(n))),"ordinal"==o)},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(n,t){return R.supportedLocales(e.availableLocales,R.getCanonicalLocales(n),t)},e.__addLocaleData=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var o=function(n){Object.keys(t(n.availableLocales,Object.keys(n.aliases),Object.keys(n.parentLocales)).reduce((function(e,n){return e[n]=!0,e}),{})).forEach((function(t){try{e.localeData[t]=R.unpackData(t,n)}catch(e){if(R.isMissingLocaleDataError(e))return;throw e}}))},a=0,i=n;a<i.length;a++){var s=i[a];o(s)}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=[],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();n.PluralRules=o;try{Object.defineProperty(o,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(o.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}));u(P),u(s((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),(void 0===Intl.PluralRules||!Intl.PluralRules.polyfilled&&"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1))&&Object.defineProperty(Intl,"PluralRules",{value:P.PluralRules,writable:!0,enumerable:!1,configurable:!0})}))),Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,n){var t=(e+"").split("."),r=!t[1],o=Number(t[0])==e,a=o&&t[0].slice(-1),i=o&&t[0].slice(-2);return n?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"one":"other"}}},aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"},availableLocales:["en"]});export{c as a,f as p}
|
|
1
|
+
import{C as e,p as n,w as t,a as r,d as o,N as a,H as i}from"./p-fbf0c7fe.js";import{c as s,u,a as h}from"./p-b18ab5ec.js";const l="undefined"!=typeof Deno,m=!(l||"undefined"==typeof global||"function"!=typeof require||!global.process||"string"!=typeof __filename||global.origin&&"string"==typeof global.origin),c=(l&&Deno,m?process:l&&Deno,m?process:l&&Deno,()=>e&&e.supports&&e.supports("color","var(--c)")?r():__sc_import_widget_components("./p-24fc4ba9.js").then(()=>(n.t=t.__cssshim)?(!1).i():0)),f=()=>{n.t=t.__cssshim,y(i.prototype);const e=Array.from(o.querySelectorAll("script")).find(e=>RegExp(`/${a}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===a),s=e["data-opts"]||{};return s.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,t.location.href)).href,g(s.resourcesUrl,e),t.customElements?r(s):__sc_import_widget_components("./p-46109683.js").then(()=>s)},g=(e,n)=>{const r="__sc_import_"+a.replace(/\s|-/g,"_");try{t[r]=Function("w","return import(w);//"+Math.random())}catch(a){const i=new Map;t[r]=a=>{const s=new URL(a,e).href;let u=i.get(s);if(!u){const e=o.createElement("script");e.type="module",e.crossOrigin=n.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${s}'; window.${r}.m = m;`],{type:"application/javascript"})),u=new Promise(n=>{e.onload=()=>{n(t[r].m),e.remove()}}),i.set(s,u),o.head.appendChild(e)}return u}}},y=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const t=n.call(this,!1),r=this.childNodes;if(e)for(let e=0;e<r.length;e++)2!==r[e].nodeType&&t.appendChild(r[e].cloneNode(!0));return t}};var p=function(){return(p=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},w={second:45,minute:45,hour:22,day:5};const d={"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"},b={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","zh-Hant-MO":"zh-Hant-HK"};function v(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}function k(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function q(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return e+""}function M(e,n,t,r,o){var a=e[n];if(void 0!==a){if("boolean"!==t&&"string"!==t)throw new TypeError("invalid type");if("boolean"===t&&(a=!!a),"string"===t&&(a=q(a)),void 0!==r&&!r.filter((function(e){return e==a})).length)throw new RangeError(a+" is not within "+r.join(", "));return a}return o}function S(e,n,t,r){if(void 0!==e){if(isNaN(e=Number(e))||e<n||e>t)throw new RangeError(e+" is outside of range ["+n+", "+t+"]");return Math.floor(e)}return r}function j(e,n,t,r,o){return S(e[n],t,r,o)}function x(e,n,t,r){e.get(n)||e.set(n,Object.create(null)),e.get(n)[t]=r}function T(e,n,t){return I(e,n,t)[t]}function I(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var o=e.get(n);if(!o)throw new TypeError(n+" InternalSlot has not been initialized");return t.reduce((function(e,n){return e[n]=o[n],e}),Object.create(null))}var N=/[^A-Z]/;function G(e){var n=Intl.getCanonicalLocales;return"function"==typeof n?n(e):Intl.DateTimeFormat.supportedLocalesOf(e)}var O=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),C=function(){return(C=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function z(e,n){v(2===n.length,"key must have 2 elements");var t=e.length,r="-"+n+"-",o=e.indexOf(r);if(-1!==o){for(var a=o+4,i=a,s=a,u=!1;!u;){var h=e.indexOf("-",s);2==(-1===h?t-s:h-s)?u=!0:-1===h?(i=t,u=!0):(i=h,s=h+1)}return e.slice(a,i)}if(-1!==(o=e.indexOf(r="-"+n))&&o+3===t)return""}var E=/-u(?:-[0-9a-z]{2,8})+/gi;function A(e,n){for(var t=n;;){if(~e.indexOf(t))return t;var r=t.lastIndexOf("-");if(!~r)return;r>=2&&"-"===t[r-2]&&(r-=2),t=t.slice(0,r)}}function L(e,n,t){var r=[e];n[e]&&r.push(e=n[e]);var o=t[e];o&&r.push(o);for(var a=e.split("-"),i=a.length;i>1;i--)r.push(a.slice(0,i-1).join("-"));return r}var D,K=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type="MISSING_LOCALE_DATA",n}return O(n,e),n}(Error);!function(e){e.compactName="compactName",e.compactSymbol="compactSymbol",e.currencyCode="currencyCode",e.currencyName="currencyName",e.currencyNarrowSymbol="currencyNarrowSymbol",e.currencySymbol="currencySymbol",e.minusSign="minusSign",e.number="number",e.percentSign="percentSign",e.plusSign="plusSign",e.scientificExponent="scientificExponent",e.scientificSeparator="scientificSeparator",e.unitName="unitName",e.unitNarrowSymbol="unitNarrowSymbol",e.unitSymbol="unitSymbol"}(D||(D={}));const R=Object.freeze({__proto__:null,selectUnit:function(e,n,t){void 0===n&&(n=Date.now()),void 0===t&&(t={});var r=p(p({},w),t||{}),o=(+e-+n)/1e3;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var a=o/60;if(Math.abs(a)<r.minute)return{value:Math.round(a),unit:"minute"};var i=o/3600;if(Math.abs(i)<r.hour)return{value:Math.round(i),unit:"hour"};var s=o/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var u=new Date(e),h=new Date(n),l=u.getFullYear()-h.getFullYear();if(Math.round(Math.abs(l))>0)return{value:Math.round(l),unit:"year"};var m=12*l+u.getMonth()-h.getMonth();return Math.round(Math.abs(m))>0?{value:Math.round(m),unit:"month"}:{value:Math.round(o/604800),unit:"week"}},defaultNumberOption:S,getAliasesByLang:function(e){return Object.keys(d).reduce((function(n,t){return t.split("-")[0]===e&&(n[t]=d[t]),n}),{})},getInternalSlot:T,getMultiInternalSlots:I,getNumberOption:j,getOption:M,getParentLocalesByLang:function(e){return Object.keys(b).reduce((function(n,t){return t.split("-")[0]===e&&(n[t]=b[t]),n}),{})},isLiteralPart:function(e){return"literal"===e.type},partitionPattern:function(e){for(var n=[],t=e.indexOf("{"),r=0,o=0,a=e.length;t<e.length&&t>-1;)v((r=e.indexOf("}",t))>t,"Invalid pattern "+e),t>o&&n.push({type:"literal",value:e.substring(o,t)}),n.push({type:e.substring(t+1,r),value:void 0}),t=e.indexOf("{",o=r+1);return o<a&&n.push({type:"literal",value:e.substring(o,a)}),n},setInternalSlot:x,setMultiInternalSlots:function(e,n,t){for(var r=0,o=Object.keys(t);r<o.length;r++){var a=o[r];x(e,n,a,t[a])}},setNumberFormatDigitOptions:function(e,n,t,r,o){var a=j(t,"minimumIntegerDigits",1,21,1),i=t.minimumFractionDigits,s=t.maximumFractionDigits,u=t.minimumSignificantDigits,h=t.maximumSignificantDigits;x(e,n,"minimumIntegerDigits",a),void 0!==u||void 0!==h?(x(e,n,"roundingType","significantDigits"),u=S(u,1,21,1),h=S(h,u,21,21),x(e,n,"minimumSignificantDigits",u),x(e,n,"maximumSignificantDigits",h)):void 0!==i||void 0!==s?(x(e,n,"roundingType","fractionDigits"),i=S(i,0,20,r),s=S(s,i,20,Math.max(i,o)),x(e,n,"minimumFractionDigits",i),x(e,n,"maximumFractionDigits",s)):"compact"===T(e,n,"notation")?x(e,n,"roundingType","compactRounding"):(x(e,n,"roundingType","fractionDigits"),x(e,n,"minimumFractionDigits",r),x(e,n,"maximumFractionDigits",o))},toObject:k,objectIs:function(e,n){return Object.is?Object.is(e,n):e===n?0!==e||1/e==1/n:e!=e&&n!=n},isWellFormedCurrencyCode:function(e){return 3===(e=function(e){return e.replace(/([a-z])/g,(function(e,n){return n.toUpperCase()}))}(e)).length&&!N.test(e)},toString:q,createResolveLocale:function(e){var n=function(e){return function(n,t){for(var r={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(E,""),u=A(n,s);if(u)return r.locale=u,i!==s&&(r.extension=i.slice(s.length+1,i.length)),r}return r.locale=e(),r}}(e),t=function(e){return function(n,t){for(var r={locale:""},o=0,a=t;o<a.length;o++){var i=a[o],s=i.replace(E,""),u=A(n,s);if(u)return r.locale=u,i!==s&&(r.extension=i.slice(s.length+1,i.length)),r}return r.locale=e(),r}}(e);return function(e,r,o,a,i){for(var s,u=(s="lookup"===o.localeMatcher?n(e,r):t(e,r)).locale,h={locale:"",dataLocale:u},l="-u",m=0,c=a;m<c.length;m++){var f=c[m],g=i[u];v("object"==typeof g&&null!==g,"locale data "+f+" must be an object");var y=g[f];v(Array.isArray(y),"keyLocaleData for "+f+" must be an array");var p=y[0];v("string"==typeof p||null===p,"value must be string or null");var w="";if(s.extension){var d=z(s.extension,f);void 0!==d&&(""!==d?~y.indexOf(d)&&(w="-"+f+"-"+(p=d)):~d.indexOf("true")&&(p="true",w="-"+f))}if(f in o){var b=o[f];v("string"==typeof b||null==b,"optionsValue must be String, Undefined or Null"),~y.indexOf(b)&&b!==p&&(p=b,w="")}h[f]=p,l+=w}if(l.length>2){var k=u.indexOf("-x-");if(-1===k)u+=l;else{var q=u.slice(0,k),M=u.slice(k,u.length);u=q+l+M}u=G(u)[0]}return h.locale=u,h}},getLocaleHierarchy:L,supportedLocales:function(e,n,t){return void 0!==t&&M(t=k(t),"localeMatcher","string",["lookup","best fit"],"best fit"),function(e,n){for(var t=[],r=0,o=n;r<o.length;r++){var a=A(e,o[r].replace(E,""));a&&t.push(a)}return t}(e,n)},unpackData:function(e,n,t){void 0===t&&(t=function(e,n){return C(C({},e),n)});var r=L(e,n.aliases,n.parentLocales),o=r.map((function(e){return n.data[e]})).filter(Boolean);if(!o.length)throw new K('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce(t,{})},isMissingLocaleDataError:function(e){return"MISSING_LOCALE_DATA"===e.type},getCanonicalLocales:G,invariant:v,SANCTIONED_UNITS:["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"],removeUnitNamespace:function(e){return e.replace(/^(.*?)-/,"")},get InternalSlotToken(){return D}});var B=s((function(e,n){var t=h&&h.__assign||function(){return(t=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},r=h&&h.__values||function(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},o=h&&h.__read||function(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i},a=h&&h.__spread||function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(o(arguments[n]));return e};function i(e,n){var r=R.getLocaleHierarchy(e,n.aliases,n.parentLocales),o=r.map((function(e){return n.data[e]})).filter(Boolean);if(!o.length)throw Error('Missing locale data for "'+e+'", lookup hierarchy: '+r.join(", "));return o.reverse(),o.reduce((function(e,n){return t(t({},e),n)}),{nu:[]})}Object.defineProperty(n,"__esModule",{value:!0});var s=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;function u(e){return e+""}function l(e,n,t,o){if(R.invariant("number"==typeof t,"value must be number, instead got "+typeof t,TypeError),R.invariant("string"==typeof o,"unit must be number, instead got "+typeof t,TypeError),isNaN(t)||t===1/0||t===-1/0)throw new RangeError("Invalid value "+t);var a=function(e){if(R.invariant("string"==typeof e,"unit must be a string, instead got "+typeof e,TypeError),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("Invalid unit "+e);return e}(o),i=R.getInternalSlot(e,n,"fields"),s=R.getInternalSlot(e,n,"style"),h=a;"short"===s?h=o+"-short":"narrow"===s&&(h=o+"-narrow"),h in i||(h=o);var l=i[h];if("auto"===R.getInternalSlot(e,n,"numeric")&&u(t)in l)return[{type:"literal",value:l[u(t)]}];var m="future";(function(e){return Object.is?Object.is(e,-0):-0===e?0!==e||1/e==-1/0:e!=e&&!1}(t)||t<0)&&(m="past");var c=l[m],f=R.getInternalSlot(e,n,"pluralRules"),g=R.getInternalSlot(e,n,"numberFormat"),y="function"==typeof g.formatToParts?g.formatToParts(Math.abs(t)):[{type:"literal",value:g.format(Math.abs(t)),unit:o}];return function(e,n,t){var o,a,i,s,u=R.partitionPattern(e),h=[];try{for(var l=r(u),m=l.next();!m.done;m=l.next()){var c=m.value;if(R.isLiteralPart(c))h.push({type:"literal",value:c.value});else{R.invariant("0"===c.type,"Malformed pattern "+e);try{for(var f=(i=void 0,r(t)),g=f.next();!g.done;g=f.next()){var y=g.value;h.push({type:y.type,value:y.value,unit:n})}}catch(e){i={error:e}}finally{try{g&&!g.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return h}(c[f.select(t)],a,y)}var m=function(){function e(n,t){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat",!0);var r=R.getCanonicalLocales(n),o=Object.create(null),a=void 0===t?Object.create(null):R.toObject(t),i=R.getOption(a,"localeMatcher","string",["best fit","lookup"],"best fit");o.localeMatcher=i;var u=R.getOption(a,"numberingSystem","string",void 0,void 0);if(void 0!==u&&!s.test(u))throw new RangeError("Invalid numbering system "+u);o.nu=u;var h=R.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,o,e.relevantExtensionKeys,e.localeData),l=h.locale,m=h.nu;R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",l),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style",R.getOption(a,"style","string",["long","narrow","short"],"long")),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric",R.getOption(a,"numeric","string",["always","auto"],"always")),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"fields",e.localeData[l]),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberFormat",new Intl.NumberFormat(n)),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"pluralRules",new Intl.PluralRules(n)),R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem",m)}return e.prototype.format=function(n,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("format was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(n),u(t)).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(n,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("formatToParts was called on a invalid context");return l(e.__INTERNAL_SLOT_MAP__,this,Number(n),u(t))},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");if(!R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedRelativeTimeFormat"))throw new TypeError("resolvedOptions was called on a invalid context");return{locale:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),style:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"style"),numeric:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numeric"),numberingSystem:R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"numberingSystem")}},e.supportedLocalesOf=function(n,t){return R.supportedLocales(e.availableLocales,R.getCanonicalLocales(n),t)},e.__addLocaleData=function(){for(var n,t,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=function(n){Object.keys(a(n.availableLocales,Object.keys(n.aliases),Object.keys(n.parentLocales)).reduce((function(e,n){return e[n]=!0,e}),{})).forEach((function(t){try{e.localeData[t]=i(t,n)}catch(e){}}))};try{for(var h=r(o),l=h.next();!l.done;l=h.next()){var m=l.value;u(m)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(t=h.return)&&t.call(h)}finally{if(n)throw n.error}}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();n.default=m;try{"undefined"!=typeof Symbol&&Object.defineProperty(m.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(m.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}));u(B),u(s((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),"RelativeTimeFormat"in Intl||Object.defineProperty(Intl,"RelativeTimeFormat",{value:B.default,writable:!0,enumerable:!1,configurable:!0})}))),Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{"en-001":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-150":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wk"},past:{one:"{0} wk ago",other:"{0} wk ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}},"second-short":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}},"en-AU":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"in {0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk",other:"in {0} wks"},past:{one:"{0} wk ago",other:"{0} wks ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}},"en-CA":{"year-short":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"year-narrow":{0:"this yr",1:"next yr",future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"},"-1":"last yr"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"month-short":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"month-narrow":{0:"this mo",1:"next mo",future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"},"-1":"last mo"},"week-short":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"week-narrow":{0:"this wk",1:"next wk",future:{one:"in {0} wk.",other:"in {0} wks."},past:{one:"{0} wk. ago",other:"{0} wks. ago"},"-1":"last wk"},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}},"en-SG":{"quarter-short":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtrs"},past:{one:"{0} qtr ago",other:"{0} qtrs ago"},"-1":"last qtr"},"quarter-narrow":{0:"this qtr",1:"next qtr",future:{one:"in {0} qtr",other:"in {0} qtr"},past:{one:"{0} qtr ago",other:"{0} qtr ago"},"-1":"last qtr"},"month-short":{0:"this mth",1:"next mth",future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"},"-1":"last mth"}},en:{nu:["latn"],year:{0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"},"-1":"last year"},"year-short":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},"year-narrow":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},quarter:{0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},month:{0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"},"-1":"last month"},"month-short":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},"month-narrow":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},week:{0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"},"-1":"last week"},"week-short":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},"week-narrow":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},day:{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-short":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-narrow":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}},availableLocales:["en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US-POSIX","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","en"],aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"}});var P=s((function(e,n){var t=h&&h.__spreadArrays||function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),o=0;for(n=0;n<t;n++)for(var a=arguments[n],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r};function r(e,n){if(!(e instanceof o))throw new TypeError("Method Intl.PluralRules.prototype."+n+" called on incompatible receiver "+e)}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(n,t){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");var r=R.getCanonicalLocales(n),o=Object.create(null),a=void 0===t?Object.create(null):R.toObject(t);R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"initializedPluralRules",!0);var i=R.getOption(a,"localeMatcher","string",["best fit","lookup"],"best fit");o.localeMatcher=i,R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type",R.getOption(a,"type","string",["cardinal","ordinal"],"cardinal")),R.setNumberFormatDigitOptions(e.__INTERNAL_SLOT_MAP__,this,a,0,3);var s=R.createResolveLocale(e.getDefaultLocale)(e.availableLocales,r,o,e.relevantExtensionKeys,e.localeData);R.setInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale",s.locale)}return e.prototype.resolvedOptions=function(){var n=this;r(this,"resolvedOptions");var o=Object.create(null);return o.locale=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),o.type=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type"),["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach((function(t){var r=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,n,t);void 0!==r&&(o[t]=r)})),o.pluralCategories=t(e.localeData[o.locale].categories[o.type]),o},e.prototype.select=function(n){r(this,"select");var t=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"locale"),o=R.getInternalSlot(e.__INTERNAL_SLOT_MAP__,this,"type");return e.localeData[t].fn(function(e,n,t){var r=R.getInternalSlot(e,n,"minimumSignificantDigits"),o=R.getInternalSlot(e,n,"maximumSignificantDigits");return void 0!==r&&void 0!==o?function(e,n,t){var r=e.toPrecision(t);if(~r.indexOf(".")&&t>n){for(var o=t-n;o>0&&"0"===r[r.length-1];)r=r.slice(0,r.length-1),o--;if("."===r[r.length-1])return r.slice(0,r.length-1)}return r}(t,r,o):function(e,n,t,r){for(var o=r-t,a=e.toFixed(r);o>0&&"0"===a[a.length-1];)a=a.slice(0,a.length-1),o--;"."===a[a.length-1]&&(a=a.slice(0,a.length-1));var i=a.split(".")[0].length;if(i<n){for(var s="";s.length<n-i;s+="0");a=s+a}return a}(t,R.getInternalSlot(e,n,"minimumIntegerDigits"),R.getInternalSlot(e,n,"minimumFractionDigits"),R.getInternalSlot(e,n,"maximumFractionDigits"))}(e.__INTERNAL_SLOT_MAP__,this,Math.abs(Number(n))),"ordinal"==o)},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(n,t){return R.supportedLocales(e.availableLocales,R.getCanonicalLocales(n),t)},e.__addLocaleData=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var o=function(n){Object.keys(t(n.availableLocales,Object.keys(n.aliases),Object.keys(n.parentLocales)).reduce((function(e,n){return e[n]=!0,e}),{})).forEach((function(t){try{e.localeData[t]=R.unpackData(t,n)}catch(e){if(R.isMissingLocaleDataError(e))return;throw e}}))},a=0,i=n;a<i.length;a++){var s=i[a];o(s)}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=[],e.polyfilled=!0,e.__INTERNAL_SLOT_MAP__=new WeakMap,e}();n.PluralRules=o;try{Object.defineProperty(o,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(o.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}));u(P),u(s((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),(void 0===Intl.PluralRules||!Intl.PluralRules.polyfilled&&"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1))&&Object.defineProperty(Intl,"PluralRules",{value:P.PluralRules,writable:!0,enumerable:!1,configurable:!0})}))),Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,n){var t=(e+"").split("."),r=!t[1],o=Number(t[0])==e,a=o&&t[0].slice(-1),i=o&&t[0].slice(-2);return n?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"one":"other"}}},aliases:{},parentLocales:{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"},availableLocales:["en"]});export{c as a,f as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as
|
|
1
|
+
import{r as s,h as t,g as e}from"./p-fbf0c7fe.js";import"./p-b18ab5ec.js";import{A as o,w as a}from"./p-4b1ab75c.js";const r=class{constructor(t){s(this,t),this.text="Close"}handleClick(){o.ui.close()}componentDidLoad(){const s=a();s&&"POPUP"!=s.engagementMedium&&this.closeButton.setAttribute("style","display:none")}render(){return t("span",{class:"close squatch-header-close","data-close-panel":"#squatch-panel"},this.text)}get closeButton(){return e(this)}};r.style="sqh-close-button .squatch-header-close{position:absolute;top:4px;right:6px;background:transparent;border:0;color:#4486e1;font-size:12px}sqh-close-button .squatch-header-close:hover{text-decoration:underline}";export{r as sqh_close_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=function(){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=""};var t={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},r="{",i="}",
|
|
1
|
+
var n=function(){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=""};var t={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},r="{",i="}",e={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},u="--",o="@media",f="@";function s(n,t,r){n.lastIndex=0;var i=t.substring(r).match(n);if(i){var e=r+i.index;return{start:e,end:e+i[0].length}}return null}var a=/\bvar\(/,c=/\B--[\w-]+\s*:/,v=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,h=/^[\t ]+\n/gm;function l(n,t,r){var i=function(n,t){var r=s(a,n,t);if(!r)return null;var i=function(n,t){for(var r=0,i=t;i<n.length;i++){var e=n[i];if("("===e)r++;else if(")"===e&&--r<=0)return i+1}return i}(n,r.start),e=n.substring(r.end,i-1).split(","),u=e[0],o=e.slice(1);return{start:r.start,end:i,propName:u.trim(),fallback:o.length>0?o.join(",").trim():void 0}}(n,r);if(!i)return t.push(n.substring(r,n.length)),n.length;var e=i.propName,u=null!=i.fallback?d(i.fallback):void 0;return t.push(n.substring(r,i.start),(function(n){return function(n,t,r){return n[t]?n[t]:r?m(r,n):""}(n,e,u)})),i.end}function m(n,t){for(var r="",i=0;i<n.length;i++){var e=n[i];r+="string"==typeof e?e:e(t)}return r}function p(n,t){for(var r=!1,i=!1,e=t;e<n.length;e++){var u=n[e];if(r)i&&'"'===u&&(r=!1),i||"'"!==u||(r=!1);else if('"'===u)r=!0,i=!0;else if("'"===u)r=!0,i=!1;else{if(";"===u)return e+1;if("}"===u)return e}}return e}function d(n){var t=0;n=function(n){for(var t="",r=0;;){var i=s(c,n,r),e=i?i.start:n.length;if(t+=n.substring(r,e),!i)break;r=p(n,e)}return t}(n=n.replace(v,"")).replace(h,"");for(var r=[];t<n.length;)t=l(n,r,t);return r}function y(n){var t={};n.forEach((function(n){n.declarations.forEach((function(n){t[n.prop]=n.value}))}));for(var r={},i=Object.entries(t),e=function(){var n=!1;if(i.forEach((function(t){var i=t[0],e=m(t[1],r);e!==r[i]&&(r[i]=e,n=!0)})),!n)return"break"},u=0;u<10&&"break"!==e();u++);return r}function g(n,r){if(void 0===r&&(r=0),!n.rules)return[];var i=[];return n.rules.filter((function(n){return n.type===t.STYLE_RULE})).forEach((function(n){var t=function(n){for(var t,r=[];t=w.exec(n.trim());){var i=b(t[2]),e=i.value,u=i.important;r.push({prop:t[1].trim(),value:d(e),important:u})}return r}(n.cssText);t.length>0&&n.parsedSelector.split(",").forEach((function(n){n=n.trim(),i.push({selector:n,declarations:t,specificity:1,nu:r})})),r++})),i}var w=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function b(n){var t=(n=n.replace(/\s+/gim," ").trim()).endsWith("!important");return t&&(n=n.substr(0,n.length-"!important".length).trim()),{value:n,important:t}}function E(n){var t=[];return n.forEach((function(n){t.push.apply(t,n.selectors)})),t}function k(s){var a=function(s){return function n(r,i){var s=i.substring(r.start,r.end-1);if(r.parsedCssText=r.cssText=s.trim(),r.parent){s=(s=(s=function(n){return n.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var n=arguments[1],t=6-n.length;t--;)n="0"+n;return"\\"+n}))}(s=i.substring(r.previous?r.previous.end:r.parent.start,r.start-1))).replace(e.multipleSpaces," ")).substring(s.lastIndexOf(";")+1);var a=r.parsedSelector=r.selector=s.trim();r.atRule=0===a.indexOf(f),r.atRule?0===a.indexOf(o)?r.type=t.MEDIA_RULE:a.match(e.keyframesRule)&&(r.type=t.KEYFRAMES_RULE,r.keyframesName=r.selector.split(e.multipleSpaces).pop()):r.type=0===a.indexOf(u)?t.MIXIN_RULE:t.STYLE_RULE}var c=r.rules;if(c)for(var v=0,h=c.length,l=void 0;v<h&&(l=c[v]);v++)n(l,i);return r}(function(t){var e=new n;e.start=0,e.end=t.length;for(var u=e,o=0,f=t.length;o<f;o++)if(t[o]===r){u.rules||(u.rules=[]);var s=u,a=s.rules[s.rules.length-1]||null;(u=new n).start=o+1,u.parent=s,u.previous=a,s.rules.push(u)}else t[o]===i&&(u.end=o+1,u=u.parent||e);return e}(s=function(n){return n.replace(e.comments,"").replace(e.port,"")}(s)),s)}(s),c=d(s);return{original:s,template:c,selectors:g(a),usesCssVars:c.length>1}}function M(n,t){if(n.some((function(n){return n.styleEl===t})))return!1;var r=k(t.textContent);return r.styleEl=t,n.push(r),!0}function O(n){var t=y(E(n));n.forEach((function(n){n.usesCssVars&&(n.styleEl.textContent=m(n.template,t))}))}function R(n,t,r){return function(n,t,r){return n.replace(new RegExp(t,"g"),r)}(n,"\\."+t,"."+r)}function A(n,t){return Array.from(n.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(n){return M(t,n)})).some(Boolean)}function L(n,t,r){var i=r.href;return fetch(i).then((function(n){return n.text()})).then((function(e){if(function(n){return n.indexOf("var(")>-1||j.test(n)}(e)&&r.parentNode){(function(n){return P.lastIndex=0,P.test(n)})(e)&&(e=function(n,t){var r=t.replace(/[^/]*$/,"");return n.replace(P,(function(n,t){return n.replace(t,r+t)}))}(e,i));var u=n.createElement("style");u.setAttribute("data-styles",""),u.textContent=e,M(t,u),r.parentNode.insertBefore(u,r),r.remove()}})).catch((function(n){console.error(n)}))}var $,j=/[\s;{]--[-a-zA-Z0-9]+\s*:/m,P=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim,I=function(){function n(n,t){this.win=n,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return n.prototype.i=function(){var n=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){n.win.requestAnimationFrame((function(){(function(n,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){A(n,t)&&O(t)})).observe(document.head,{childList:!0})})(n.doc,n.globalScopes),function(n,t){return A(n,t),function(n,t){for(var r=[],i=n.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),e=0;e<i.length;e++)r.push(L(n,t,i[e]));return Promise.all(r)}(n,t).then((function(){O(t)}))}(n.doc,n.globalScopes).then((function(){return t()}))}))})))},n.prototype.addLink=function(n){var t=this;return L(this.doc,this.globalScopes,n).then((function(){t.updateGlobal()}))},n.prototype.addGlobalStyle=function(n){M(this.globalScopes,n)&&this.updateGlobal()},n.prototype.createHostStyle=function(n,t,r,i){if(this.hostScopeMap.has(n))throw new Error("host style already created");var e=this.registerHostTemplate(r,t,i),u=this.doc.createElement("style");return u.setAttribute("data-no-shim",""),e.usesCssVars?i?(u["s-sc"]=t=e.scopeId+"-"+this.count,u.textContent="/*needs update*/",this.hostStyleMap.set(n,u),this.hostScopeMap.set(n,function(n,t){var r=n.template.map((function(r){return"string"==typeof r?R(r,n.scopeId,t):r})),i=n.selectors.map((function(r){return Object.assign(Object.assign({},r),{selector:R(r.selector,n.scopeId,t)})}));return Object.assign(Object.assign({},n),{template:r,selectors:i,scopeId:t})}(e,t)),this.count++):(e.styleEl=u,e.usesCssVars||(u.textContent=m(e.template,{})),this.globalScopes.push(e),this.updateGlobal(),this.hostScopeMap.set(n,e)):u.textContent=r,u},n.prototype.removeHost=function(n){var t=this.hostStyleMap.get(n);t&&t.remove(),this.hostStyleMap.delete(n),this.hostScopeMap.delete(n)},n.prototype.updateHost=function(n){var t=this.hostScopeMap.get(n);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(n);if(r){var i=y(function(n,t,r){var i=[],e=function(n,t){for(var r=[];t;){var i=n.get(t);i&&r.push(i),t=t.parentElement}return r}(t,n);return r.forEach((function(n){return i.push(n)})),e.forEach((function(n){return i.push(n)})),function(n){return n.sort((function(n,t){return n.specificity===t.specificity?n.nu-t.nu:n.specificity-t.specificity})),n}(E(i).filter((function(t){return function(n,t){return":root"===t||"html"===t||n.matches(t)}(n,t.selector)})))}(n,this.hostScopeMap,this.globalScopes));r.textContent=m(t.template,i)}}},n.prototype.updateGlobal=function(){O(this.globalScopes)},n.prototype.registerHostTemplate=function(n,t,r){var i=this.scopesMap.get(t);return i||((i=k(n)).scopeId=t,i.isScoped=r,this.scopesMap.set(t,i)),i},n}();!($="undefined"!=typeof window&&window)||$.__cssshim||$.CSS&&$.CSS.supports&&$.CSS.supports("color","var(--c)")||($.__cssshim=new I($,$.document));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
self,function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function c(t,n){t.b&&o(n,(function(n){return u(t,n)}))}function u(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function s(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)u(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),c=o("disconnectedCallback"),u=o("adoptedCallback"),s=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:c,adoptedCallback:u,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i||(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i)),i.c},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,N=window.Node.prototype.appendChild,A=window.Node.prototype.insertBefore,O=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,k=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),L=window.Element.prototype.attachShadow,S=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var tt=new f;!function(){var t=tt;window.HTMLElement=function(){function n(){var n=this.constructor,i=t.g.get(n);if(!i)throw Error("The custom element being constructed was not registered with `customElements`.");var e=i.constructionStack;if(0===e.length)return e=E.call(document,i.localName),Object.setPrototypeOf(e,n.prototype),e.__CE_state=1,e.__CE_definition=i,u(t,e),e;var o=e[i=e.length-1];if(o===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return e[i]=X,Object.setPrototypeOf(o,n.prototype),u(t,o),o}return Object.defineProperty(n.prototype=J.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),n}()}(),function(){var t=tt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),u(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):c(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),u(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(tt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=tt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t,e),i(this))for(e=0;e<o.length;e++)s(n,o[e]);return t}return o=i(t),e=A.call(this,t,e),o&&a(n,t),i(this)&&s(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=N.call(this,t),i(this))for(var o=0;o<e.length;o++)s(n,e[o]);return t}return e=i(t),o=N.call(this,t),e&&a(n,t),i(this)&&s(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=D.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):c(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=O.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=M.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)s(n,o[e]);return t}o=i(t);var r=M.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&s(n,t),r})),k&&k.get?t(Node.prototype,k):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)O.call(this,this.firstChild);null!=t&&""!==t&&N.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var u=0;u<r.length;u++){var s=r[u];1===s.__CE_state&&f.disconnectedCallback(s)}return this.ownerDocument.__CE_hasRegistry?h(f,this):c(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&s(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+t+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=tt;L&&r(Element.prototype,"attachShadow",(function(t){t=L.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),S&&S.get?t(Element.prototype,S):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)O.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)N.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];if(c instanceof Element&&i(c)&&r.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&s(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var nt=new b(tt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:nt})}}(),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),function(t,n,i){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path})}(Event.prototype,document,window),
|
|
1
|
+
var t,n,i,e,o;(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function c(t,n){t.b&&o(n,(function(n){return s(t,n)}))}function s(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function u(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)s(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),c=o("disconnectedCallback"),s=o("adoptedCallback"),u=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:c,adoptedCallback:s,attributeChangedCallback:u,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i||(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i)),i.c},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,N=window.Node.prototype.appendChild,A=window.Node.prototype.insertBefore,O=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,S=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),k=window.Element.prototype.attachShadow,L=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var s=o[c];if(s instanceof Element&&i(s)&&f.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&u(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z,tt=window.customElements;if(!tt||tt.forcePolyfill||"function"!=typeof tt.define||"function"!=typeof tt.get){var nt=new f;Z=nt,window.HTMLElement=function(){function t(){var t=this.constructor,n=Z.g.get(t);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var i=n.constructionStack;if(0===i.length)return i=E.call(document,n.localName),Object.setPrototypeOf(i,t.prototype),i.__CE_state=1,i.__CE_definition=n,s(Z,i),i;var e=i[n=i.length-1];if(e===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return i[n]=X,Object.setPrototypeOf(e,t.prototype),s(Z,e),e}return t.prototype=J.prototype,Object.defineProperty(t.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),t}(),function(){var t=nt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),s(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):c(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),s(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(nt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=nt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t,e),i(this))for(e=0;e<o.length;e++)u(n,o[e]);return t}return o=i(t),e=A.call(this,t,e),o&&a(n,t),i(this)&&u(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=N.call(this,t),i(this))for(var o=0;o<e.length;o++)u(n,e[o]);return t}return e=i(t),o=N.call(this,t),e&&a(n,t),i(this)&&u(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=D.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):c(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=O.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=M.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)u(n,o[e]);return t}o=i(t);var r=M.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&u(n,t),r})),S&&S.get?t(Node.prototype,S):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)O.call(this,this.firstChild);null!=t&&""!==t&&N.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var s=0;s<r.length;s++){var u=r[s];1===u.__CE_state&&f.disconnectedCallback(u)}return this.ownerDocument.__CE_hasRegistry?h(f,this):c(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&u(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=nt;k&&r(Element.prototype,"attachShadow",(function(t){t=k.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),L&&L.get?t(Element.prototype,L):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)O.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)N.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var s=o[c];if(s instanceof Element&&i(s)&&f.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&u(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];if(c instanceof Element&&i(c)&&r.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&u(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var it=new b(nt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:it})}}).call(self),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),t=Event.prototype,n=document,i=window,t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path}),"function"!=typeof(
|
|
2
2
|
/*!
|
|
3
3
|
Element.closest and Element.matches
|
|
4
4
|
https://github.com/jonathantneal/closest
|
|
5
5
|
Creative Commons Zero v1.0 Universal
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
e=window.Element.prototype).matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]}),"function"!=typeof e.closest&&(e.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null}),
|
|
8
8
|
/*!
|
|
9
9
|
Element.getRootNode()
|
|
10
10
|
*/
|
|
@@ -12,7 +12,7 @@ function(t){function n(t){return t&&t.parentNode?n(t.parentNode):t}"function"!=t
|
|
|
12
12
|
/*!
|
|
13
13
|
Element.isConnected()
|
|
14
14
|
*/
|
|
15
|
-
function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})}(Element.prototype),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),
|
|
15
|
+
function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})}(Element.prototype),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),"classList"in(o=Element.prototype)||Object.defineProperty(o,"classList",{get:function(){var t=this,n=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function i(){n.length>0?t.setAttribute("class",n.join(" ")):t.removeAttribute("class")}return""===n[0]&&n.splice(0,1),n.toggle=function(t,e){void 0!==e?e?n.add(t):n.remove(t):-1!==n.indexOf(t)?n.splice(n.indexOf(t),1):n.push(t),i()},n.add=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1===n.indexOf(t[e])&&n.push(t[e]);i()},n.remove=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1!==n.indexOf(t[e])&&n.splice(n.indexOf(t[e]),1);i()},n.item=function(t){return n[t]},n.contains=function(t){return-1!==n.indexOf(t)},n.replace=function(t,e){-1!==n.indexOf(t)&&n.splice(n.indexOf(t),1,e),i()},n.value=t.getAttribute("class")||"",n}}),
|
|
16
16
|
/*!
|
|
17
17
|
DOMTokenList
|
|
18
18
|
*/
|