@maggioli-design-system/mds-input-otp 1.0.1
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/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-3ce43d21.js +1360 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/mds-input-otp.cjs.entry.js +101 -0
- package/dist/cjs/mds-input-otp.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/common/aria.js +45 -0
- package/dist/collection/common/browser.js +7 -0
- package/dist/collection/common/date.js +13 -0
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/file.js +48 -0
- package/dist/collection/common/floating-controller.js +201 -0
- package/dist/collection/common/icon.js +15 -0
- package/dist/collection/common/keyboard-manager.js +46 -0
- package/dist/collection/common/locale.js +66 -0
- package/dist/collection/common/slot.js +28 -0
- package/dist/collection/common/string.js +30 -0
- package/dist/collection/common/unit.js +22 -0
- package/dist/collection/common/yugop/core.js +16 -0
- package/dist/collection/common/yugop/index.js +3 -0
- package/dist/collection/common/yugop/random-text.js +59 -0
- package/dist/collection/common/yugop/utils/math.js +11 -0
- package/dist/collection/common/yugop/utils/noop.js +1 -0
- package/dist/collection/common/yugop/utils/prng.js +21 -0
- package/dist/collection/common/yugop/utils/string.js +2 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.css +16 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +159 -0
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +56 -0
- package/dist/collection/dictionary/animation.js +5 -0
- package/dist/collection/dictionary/autocomplete.js +59 -0
- package/dist/collection/dictionary/button.js +39 -0
- package/dist/collection/dictionary/color.js +19 -0
- package/dist/collection/dictionary/file-extensions.js +69 -0
- package/dist/collection/dictionary/floating-ui.js +19 -0
- package/dist/collection/dictionary/icon.js +10 -0
- package/dist/collection/dictionary/input.js +37 -0
- package/dist/collection/dictionary/keyboard.js +84 -0
- package/dist/collection/dictionary/loading.js +5 -0
- package/dist/collection/dictionary/text.js +65 -0
- package/dist/collection/dictionary/tree.js +13 -0
- package/dist/collection/dictionary/typography.js +67 -0
- package/dist/collection/dictionary/variant.js +116 -0
- package/dist/collection/fixtures/cities.js +110 -0
- package/dist/collection/fixtures/filenames.js +118 -0
- package/dist/collection/type/animation.js +1 -0
- package/dist/collection/type/autocomplete.js +1 -0
- package/dist/collection/type/button.js +1 -0
- package/dist/collection/type/date.js +1 -0
- package/dist/collection/type/file-types.js +1 -0
- package/dist/collection/type/floating-ui.js +1 -0
- package/dist/collection/type/form-rel.js +1 -0
- package/dist/collection/type/header-bar.js +1 -0
- package/dist/collection/type/input-tip.js +1 -0
- package/dist/collection/type/input.js +1 -0
- package/dist/collection/type/keyboard.js +1 -0
- package/dist/collection/type/loading.js +1 -0
- package/dist/collection/type/preference.js +1 -0
- package/dist/collection/type/text.js +1 -0
- package/dist/collection/type/tree.js +1 -0
- package/dist/collection/type/typography.js +1 -0
- package/dist/collection/type/variant-file-format.js +91 -0
- package/dist/collection/type/variant.js +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +1 -0
- package/dist/components/mds-input-otp.d.ts +11 -0
- package/dist/components/mds-input-otp.js +113 -0
- package/dist/documentation.d.ts +443 -0
- package/dist/documentation.json +105 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-7080a0cd.js +1332 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/mds-input-otp.entry.js +97 -0
- package/dist/esm/mds-input-otp.js +20 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/index-7080a0cd.js +1 -0
- package/dist/esm-es5/index.js +0 -0
- package/dist/esm-es5/loader.js +1 -0
- package/dist/esm-es5/mds-input-otp.entry.js +1 -0
- package/dist/esm-es5/mds-input-otp.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mds-input-otp/index.esm.js +0 -0
- package/dist/mds-input-otp/mds-input-otp.esm.js +1 -0
- package/dist/mds-input-otp/mds-input-otp.js +127 -0
- package/dist/mds-input-otp/p-0b4b7d22.system.js +1 -0
- package/dist/mds-input-otp/p-50ea2036.system.js +1 -0
- package/dist/mds-input-otp/p-56ba5cbf.system.js +1 -0
- package/dist/mds-input-otp/p-6fa28cad.entry.js +1 -0
- package/dist/mds-input-otp/p-8d749fc9.system.entry.js +1 -0
- package/dist/mds-input-otp/p-9c3d33cc.system.js +2 -0
- package/dist/mds-input-otp/p-dea9d1b9.js +2 -0
- package/dist/mds-input-otp/p-e1255160.js +1 -0
- package/dist/stats.json +588 -0
- package/dist/types/common/aria.d.ts +7 -0
- package/dist/types/common/browser.d.ts +2 -0
- package/dist/types/common/date.d.ts +4 -0
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +11 -0
- package/dist/types/common/floating-controller.d.ts +47 -0
- package/dist/types/common/icon.d.ts +5 -0
- package/dist/types/common/keyboard-manager.d.ts +12 -0
- package/dist/types/common/locale.d.ts +20 -0
- package/dist/types/common/slot.d.ts +4 -0
- package/dist/types/common/string.d.ts +4 -0
- package/dist/types/common/unit.d.ts +3 -0
- package/dist/types/common/yugop/core.d.ts +10 -0
- package/dist/types/common/yugop/index.d.ts +1 -0
- package/dist/types/common/yugop/random-text.d.ts +31 -0
- package/dist/types/common/yugop/utils/math.d.ts +3 -0
- package/dist/types/common/yugop/utils/noop.d.ts +1 -0
- package/dist/types/common/yugop/utils/prng.d.ts +8 -0
- package/dist/types/common/yugop/utils/string.d.ts +1 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +27 -0
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +21 -0
- package/dist/types/components.d.ts +61 -0
- package/dist/types/dictionary/animation.d.ts +2 -0
- package/dist/types/dictionary/autocomplete.d.ts +2 -0
- package/dist/types/dictionary/button.d.ts +7 -0
- package/dist/types/dictionary/color.d.ts +3 -0
- package/dist/types/dictionary/file-extensions.d.ts +12 -0
- package/dist/types/dictionary/floating-ui.d.ts +3 -0
- package/dist/types/dictionary/icon.d.ts +4 -0
- package/dist/types/dictionary/input.d.ts +5 -0
- package/dist/types/dictionary/keyboard.d.ts +2 -0
- package/dist/types/dictionary/loading.d.ts +2 -0
- package/dist/types/dictionary/text.d.ts +4 -0
- package/dist/types/dictionary/tree.d.ts +4 -0
- package/dist/types/dictionary/typography.d.ts +11 -0
- package/dist/types/dictionary/variant.d.ts +13 -0
- package/dist/types/fixtures/cities.d.ts +2 -0
- package/dist/types/fixtures/filenames.d.ts +63 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/type/animation.d.ts +1 -0
- package/dist/types/type/autocomplete.d.ts +2 -0
- package/dist/types/type/button.d.ts +5 -0
- package/dist/types/type/date.d.ts +5 -0
- package/dist/types/type/file-types.d.ts +1 -0
- package/dist/types/type/floating-ui.d.ts +2 -0
- package/dist/types/type/form-rel.d.ts +1 -0
- package/dist/types/type/header-bar.d.ts +2 -0
- package/dist/types/type/input-tip.d.ts +1 -0
- package/dist/types/type/input.d.ts +7 -0
- package/dist/types/type/keyboard.d.ts +12 -0
- package/dist/types/type/loading.d.ts +1 -0
- package/dist/types/type/preference.d.ts +2 -0
- package/dist/types/type/text.d.ts +3 -0
- package/dist/types/type/tree.d.ts +3 -0
- package/dist/types/type/typography.d.ts +10 -0
- package/dist/types/type/variant-file-format.d.ts +11 -0
- package/dist/types/type/variant.d.ts +13 -0
- package/documentation.json +703 -0
- package/loader/cdn.js +2 -0
- package/loader/index.cjs.js +2 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +2 -0
- package/loader/index.js +3 -0
- package/loader/package.json +11 -0
- package/package.json +54 -0
- package/readme.md +41 -0
- package/src/common/aria.ts +59 -0
- package/src/common/browser.ts +10 -0
- package/src/common/date.ts +21 -0
- package/src/common/device.ts +9 -0
- package/src/common/file.ts +62 -0
- package/src/common/floating-controller.ts +286 -0
- package/src/common/icon.ts +25 -0
- package/src/common/keyboard-manager.ts +51 -0
- package/src/common/locale.ts +90 -0
- package/src/common/slot.ts +35 -0
- package/src/common/string.ts +42 -0
- package/src/common/unit.ts +33 -0
- package/src/common/yugop/core.ts +47 -0
- package/src/common/yugop/index.ts +4 -0
- package/src/common/yugop/random-text.ts +95 -0
- package/src/common/yugop/utils/math.ts +21 -0
- package/src/common/yugop/utils/noop.ts +1 -0
- package/src/common/yugop/utils/prng.ts +35 -0
- package/src/common/yugop/utils/string.ts +4 -0
- package/src/components/mds-input-otp/.gitlab-ci.yml +20 -0
- package/src/components/mds-input-otp/mds-input-otp.css +16 -0
- package/src/components/mds-input-otp/mds-input-otp.tsx +123 -0
- package/src/components/mds-input-otp/readme.md +19 -0
- package/src/components/mds-input-otp/test/mds-input-otp.e2e.ts +11 -0
- package/src/components/mds-input-otp/test/mds-input-otp.stories.tsx +90 -0
- package/src/components.d.ts +61 -0
- package/src/dictionary/animation.ts +8 -0
- package/src/dictionary/autocomplete.ts +62 -0
- package/src/dictionary/button.ts +52 -0
- package/src/dictionary/color.ts +24 -0
- package/src/dictionary/file-extensions.ts +88 -0
- package/src/dictionary/floating-ui.ts +25 -0
- package/src/dictionary/icon.ts +15 -0
- package/src/dictionary/input.ts +48 -0
- package/src/dictionary/keyboard.ts +87 -0
- package/src/dictionary/loading.ts +9 -0
- package/src/dictionary/text.ts +73 -0
- package/src/dictionary/tree.ts +21 -0
- package/src/dictionary/typography.ts +88 -0
- package/src/dictionary/variant.ts +141 -0
- package/src/fixtures/cities.ts +116 -0
- package/src/fixtures/filenames.ts +123 -0
- package/src/fixtures/icons.json +447 -0
- package/src/fixtures/iconsauce.json +306 -0
- package/src/meta/file-format/locale.el.json +44 -0
- package/src/meta/file-format/locale.en.json +44 -0
- package/src/meta/file-format/locale.es.json +44 -0
- package/src/meta/file-format/locale.it.json +44 -0
- package/src/meta/keyboard/keys.json +83 -0
- package/src/tailwind/components.css +51 -0
- package/src/tailwind/fouc.css +118 -0
- package/src/tailwind/index.css +4 -0
- package/src/type/animation.ts +3 -0
- package/src/type/autocomplete.ts +68 -0
- package/src/type/button.ts +32 -0
- package/src/type/date.ts +10 -0
- package/src/type/file-types.ts +61 -0
- package/src/type/floating-ui.ts +17 -0
- package/src/type/form-rel.ts +11 -0
- package/src/type/header-bar.ts +11 -0
- package/src/type/input-tip.ts +11 -0
- package/src/type/input.ts +33 -0
- package/src/type/keyboard.ts +93 -0
- package/src/type/loading.ts +3 -0
- package/src/type/preference.ts +11 -0
- package/src/type/text.ts +63 -0
- package/src/type/tree.ts +12 -0
- package/src/type/typography.ts +65 -0
- package/src/type/variant-file-format.ts +126 -0
- package/src/type/variant.ts +119 -0
- package/www/build/index.esm.js +0 -0
- package/www/build/mds-input-otp.esm.js +1 -0
- package/www/build/mds-input-otp.js +127 -0
- package/www/build/p-0b4b7d22.system.js +1 -0
- package/www/build/p-50ea2036.system.js +1 -0
- package/www/build/p-56ba5cbf.system.js +1 -0
- package/www/build/p-6fa28cad.entry.js +1 -0
- package/www/build/p-8d749fc9.system.entry.js +1 -0
- package/www/build/p-9c3d33cc.system.js +2 -0
- package/www/build/p-dea9d1b9.js +2 -0
- package/www/build/p-e1255160.js +1 -0
- package/www/host.config.json +15 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function i(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(t.next(e))}catch(e){a(e)}}function f(e){try{u(t["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):i(e.value).then(o,f)}u((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(e){return function(r){return u([e,r])}}function u(f){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,f[0]&&(n=0)),n)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:n.label++;return{value:f[1],done:false};case 5:n.label++;i=f[1];f=[0];continue;case 7:f=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){n.label=f[1];break}if(f[0]===6&&n.label<a[1]){n.label=a[1];a=f;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(f);break}if(a[2])n.ops.pop();n.trys.pop();continue}f=r.call(e,n)}catch(e){f=[6,e];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return e.concat(a||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="mds-input-otp";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:true,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:false,lifecycleDOMEvents:false,member:true,method:false,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:false,slotChildNodesFix:false,slotRelocation:false,state:false,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:false};var a=Object.defineProperty;var o=function(e,r){for(var n in r)a(e,n,{get:r[n],enumerable:true})};var f=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var u=e("r",(function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e}));var l=function(e,r){var n={i:0,$hostElement$:e,o:r,u:new Map};{n.l=new Promise((function(e){return n.v=e}));e["s-p"]=[];e["s-rc"]=[]}var t=n;e.__stencil__getHostRef=function(){return t};return t};var s=function(e,r){return r in e};var c=function(e,r){return(0,console.error)(e,r)};var v=new Map;var d=function(e,n,t){var i=e.h.replace(/-/g,"_");var a=e.p;if(!a){return void 0}var o=v.get(a);if(o){return o[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(e){{v.set(a,e)}return e[i]}),(function(e){c(e,n.$hostElement$)}))};var h=new Map;var p="sty-id";var m="{visibility:hidden}[hydrated]{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var b=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var w=typeof window!=="undefined"?window:{};var S={i:0,m:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var g=e("p",(function(e){return Promise.resolve(e)}));var _=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var $=false;var k=[];var j=[];var C=function(e,r){return function(n){e.push(n);if(!$){$=true;if(r&&S.i&4){x(O)}else{S.raf(O)}}}};var A=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){c(e)}}e.length=0};var O=function(){A(k);{A(j);if($=k.length>0){S.raf(O)}}};var x=function(e){return g().then(e)};var E=C(j,true);var T=function(e){e=typeof e;return e==="object"||e==="function"};function D(e){var r,n,t;return(t=(n=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var M={};o(M,{err:function(){return P},map:function(){return R},ok:function(){return L},unwrap:function(){return F},unwrapErr:function(){return N}});var L=function(e){return{isOk:true,isErr:false,value:e}};var P=function(e){return{isOk:false,isErr:true,value:e}};function R(e,r){if(e.isOk){var n=r(e.value);if(n instanceof Promise){return n.then((function(e){return L(e)}))}else{return L(n)}}if(e.isErr){var t=e.value;return P(t)}throw"should never get here"}var F=function(e){if(e.isOk){return e.value}else{throw e.value}};var N=function(e){if(e.isErr){return e.value}else{throw e.value}};var U=function(e,r){if(r===void 0){r=""}{return function(){return}}};var W=function(e,r){{return function(){return}}};var z=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var o=false;var f=false;var u=[];var l=function(r){for(var n=0;n<r.length;n++){i=r[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!T(i)){i=String(i)}if(o&&f){u[u.length-1].S+=i}else{u.push(o?H(null,i):i)}f=o}}};l(n);if(r){if(r.key){a=r.key}{var s=r.className||r.class;if(s){r.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}var c=H(e,null);c._=r;if(u.length>0){c.$=u}{c.k=a}return c}));var H=function(e,r){var n={i:0,j:e,S:r,C:null,$:null};{n._=null}{n.k=null}return n};var B=e("H",{});var G=function(e){return e&&e.j===B};var I=function(e,r){if(e!=null&&!T(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var Q=e("g",(function(e){return f(e).$hostElement$}));var V=function(e,r,n){var t=S.ce(r,n);e.dispatchEvent(t);return t};var q=new WeakMap;var K=function(e,r,n){var t=h.get(e);if(_&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}h.set(e,t)};var X=function(e,r,n){var t;var i=J(r);var a=h.get(i);if(!w.document){return i}e=e.nodeType===11?e:w.document;if(a){if(typeof a==="string"){e=e.head||e;var o=q.get(e);var f=void 0;if(!o){q.set(e,o=new Set)}if(!o.has(i)){{f=document.querySelector("[".concat(p,'="').concat(i,'"]'))||w.document.createElement("style");f.innerHTML=a;var u=(t=S.A)!=null?t:D(w.document);if(u!=null){f.setAttribute("nonce",u)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(f,(s==null?void 0:s.parentNode)===e?s:null)}else if("host"in e){if(_){var c=new CSSStyleSheet;c.replaceSync(a);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{e.prepend(f)}}}else{e.append(f)}}if(r.i&1){e.insertBefore(f,null)}}if(r.i&4){f.innerHTML+=y}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var Y=function(e){var r=e.o;var n=e.$hostElement$;var t=r.i;var i=U("attachStyles",r.h);var a=X(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10&&t&2||t&128){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var J=function(e,r){return"sc-"+e.h};var Z=function(e,r,n,t,i,a,o){if(n===t){return}var f=s(e,r);var u=r.toLowerCase();if(r==="class"){var l=e.classList;var c=re(n);var v=re(t);{l.remove.apply(l,c.filter((function(e){return e&&!v.includes(e)})));l.add.apply(l,v.filter((function(e){return e&&!c.includes(e)})))}}else if(r==="key");else if(!f&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(s(w,u)){r=u.slice(2)}else{r=u[2]+r.slice(3)}if(n||t){var d=r.endsWith(ne);r=r.replace(te,"");if(n){S.rel(e,r,n,d)}if(t){S.ael(e,r,t,d)}}}else{var h=T(t);if((f||h&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var p=t==null?"":t;if(r==="list"){f=false}else if(n==null||e[r]!=p){if(typeof e.__lookupSetter__(r)==="function"){e[r]=p}else{e.setAttribute(r,p)}}}else if(e[r]!==t){e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!f||a&4||i)&&!h&&e.nodeType===1){t=t===true?"":t;{e.setAttribute(r,t)}}}};var ee=/\s/;var re=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(ee)};var ne="Capture";var te=new RegExp(ne+"$");var ie=function(e,r,n,t){var i=r.C.nodeType===11&&r.C.host?r.C.host:r.C;var a=e&&e._||{};var o=r._||{};{for(var f=0,u=ae(Object.keys(a));f<u.length;f++){var l=u[f];if(!(l in o)){Z(i,l,a[l],void 0,n,r.i)}}}for(var s=0,c=ae(Object.keys(o));s<c.length;s++){var l=c[s];Z(i,l,a[l],o[l],n,r.i)}};function ae(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var oe;var fe=false;var ue=false;var le=function(e,r,n){var t=r.$[n];var a=0;var o;var f;if(t.S!==null){o=t.C=w.document.createTextNode(t.S)}else{if(!w.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}o=t.C=w.document.createElement(!fe&&i.slotRelocation&&t.i&2?"slot-fb":t.j);{ie(null,t,ue)}if(t.$){for(a=0;a<t.$.length;++a){f=le(e,t,a);if(f){o.appendChild(f)}}}}o["s-hn"]=oe;return o};var se=function(e,r,n,t,i,a){var o=e;var f;if(o.shadowRoot&&o.tagName===oe){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){f=le(null,n,i);if(f){t[i].C=f;pe(o,f,r)}}}};var ce=function(e,r,n){for(var t=r;t<=n;++t){var i=e[t];if(i){var a=i.C;if(a){a.remove()}}}};var ve=function(e,r,n,t,i){if(i===void 0){i=false}var a=0;var o=0;var f=0;var u=0;var l=r.length-1;var s=r[0];var c=r[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(a<=l&&o<=v){if(s==null){s=r[++a]}else if(c==null){c=r[--l]}else if(d==null){d=t[++o]}else if(h==null){h=t[--v]}else if(de(s,d,i)){he(s,d,i);s=r[++a];d=t[++o]}else if(de(c,h,i)){he(c,h,i);c=r[--l];h=t[--v]}else if(de(s,h,i)){he(s,h,i);pe(e,s.C,c.C.nextSibling);s=r[++a];h=t[--v]}else if(de(c,d,i)){he(c,d,i);pe(e,c.C,s.C);c=r[--l];d=t[++o]}else{f=-1;{for(u=a;u<=l;++u){if(r[u]&&r[u].k!==null&&r[u].k===d.k){f=u;break}}}if(f>=0){m=r[f];if(m.j!==d.j){p=le(r&&r[o],n,f)}else{he(m,d,i);r[f]=void 0;p=m.C}d=t[++o]}else{p=le(r&&r[o],n,o);d=t[++o]}if(p){{pe(s.C.parentNode,p,s.C)}}}}if(a>l){se(e,t[v+1]==null?null:t[v+1].C,n,t,o,v)}else if(o>v){ce(r,a,l)}};var de=function(e,r,n){if(n===void 0){n=false}if(e.j===r.j){if(!n){return e.k===r.k}if(n&&!e.k&&r.k){e.k=r.k}return true}return false};var he=function(e,r,n){if(n===void 0){n=false}var t=r.C=e.C;var a=e.$;var o=r.$;var f=r.S;if(f===null){{ie(e,r,ue)}if(a!==null&&o!==null){ve(t,a,r,o,n)}else if(o!==null){if(e.S!==null){t.textContent=""}se(t,null,r,o,0,o.length-1)}else if(!n&&i.updatable&&a!==null){ce(a,0,a.length-1)}}else if(e.S!==f){t.data=f}};var pe=function(e,r,n){{return e==null?void 0:e.insertBefore(r,n)}};var me=function(e,r,n){if(n===void 0){n=false}var t=e.$hostElement$;var i=e.o;var a=e.O||H(null,null);var o=G(r)?r:z(null,null,r);oe=t.tagName;if(i.T){o._=o._||{};i.T.map((function(e){var r=e[0],n=e[1];return o._[n]=t[r]}))}if(n&&o._){for(var f=0,u=Object.keys(o._);f<u.length;f++){var l=u[f];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o._[l]=t[l]}}}o.j=null;o.i|=4;e.O=o;o.C=a.C=t.shadowRoot||t;fe=!!(i.i&1)&&!(i.i&128);he(a,o,n)};var ye=function(e,r){if(r&&!e.D&&r["s-p"]){var n=r["s-p"].push(new Promise((function(t){return e.D=function(){r["s-p"].splice(n-1,1);t()}})))}};var be=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}ye(e,e.M);var n=function(){return we(e,r)};return E(n)};var we=function(e,r){var n=e.$hostElement$;var t=U("scheduleUpdate",e.o.h);var i=e.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(r){a=Ce(i,"componentWillLoad",void 0,n)}else{a=Ce(i,"componentWillUpdate",void 0,n)}a=Se(a,(function(){return Ce(i,"componentWillRender",void 0,n)}));t();return Se(a,(function(){return _e(e,i,r)}))};var Se=function(e,r){return ge(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var ge=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var _e=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,f,u,l;return __generator(this,(function(s){i=e.$hostElement$;a=U("update",e.o.h);o=i["s-rc"];if(t){Y(e)}f=U("render",e.o.h);{$e(e,r,i,t)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}f();a();{u=(n=i["s-p"])!=null?n:[];l=function(){return ke(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.i|=4;u.length=0}}return[2]}))}))};var $e=function(e,r,n,t){try{r=r.render();{e.i&=~16}{e.i|=2}{{{me(e,r,t)}}}}catch(r){c(r,e.$hostElement$)}return null};var ke=function(e){var r=e.o.h;var n=e.$hostElement$;var t=U("postUpdate",r);var i=e.t;var a=e.M;Ce(i,"componentDidRender",void 0,n);if(!(e.i&64)){e.i|=64;{Ae(n)}Ce(i,"componentDidLoad",void 0,n);t();{e.v(n);if(!a){je()}}}else{Ce(i,"componentDidUpdate",void 0,n);t()}{if(e.D){e.D();e.D=void 0}if(e.i&512){x((function(){return be(e,false)}))}e.i&=~(4|512)}};var je=function(e){x((function(){return V(w,"appload",{detail:{namespace:t}})}))};var Ce=function(e,r,n,t){if(e&&e[r]){try{return e[r](n)}catch(e){c(e,t)}}return void 0};var Ae=function(e){var r;return e.setAttribute((r=i.hydratedSelectorName)!=null?r:"hydrated","")};var Oe=function(e,r){return f(e).u.get(r)};var xe=function(e,r,n,t){var i=f(e);if(!i){throw new Error("Couldn't find host element for \"".concat(t.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var a=i.u.get(r);var o=i.i;var u=i.t;n=I(n,t.L[r][0]);var l=Number.isNaN(a)&&Number.isNaN(n);var s=n!==a&&!l;if((!(o&8)||a===void 0)&&s){i.u.set(r,n);if(u){if((o&(2|16))===2){if(u.componentShouldUpdate){if(u.componentShouldUpdate(n,a,r)===false){return}}be(i,false)}}}};var Ee=function(e,r,n){var t,a;var o=e.prototype;if(r.i&64&&n&1){b.forEach((function(e){Object.defineProperty(o,e,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var t=f(this);var i=t.t;if(!i){t.l.then((function(n){var t=n[e];typeof t==="function"&&t.call.apply(t,__spreadArray([n],r,false))}))}else{var a=i[e];typeof a==="function"&&a.call.apply(a,__spreadArray([i],r,false))}}})}))}if(r.L||i.watchCallback){var u=Object.entries((t=r.L)!=null?t:{});u.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(o,t)||{},u=a.get,l=a.set;if(u)r.L[t][0]|=2048;if(l)r.L[t][0]|=4096;if(n&1||!u){Object.defineProperty(o,t,{get:function(){{if((r.L[t][0]&2048)===0){return Oe(this,t)}var e=f(this);var n=e?e.t:o;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(e){var a=this;var o=f(this);if(l){var u=i&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.u.get(t)){e=o.u.get(t)}else if(!o.u.get(t)&&u){o.u.set(t,u)}l.apply(this,[I(e,i)]);e=i&32?this[t]:o.$hostElement$[t];xe(this,t,e,r);return}{if((n&1)===0||(r.L[t][0]&4096)===0){xe(this,t,e,r);if(n&1&&!o.t){o.l.then((function(){if(r.L[t][0]&4096&&o.t[t]!==o.u.get(t)){o.t[t]=e}}))}return}var s=function(){var n=o.t[t];if(!o.u.get(t)&&n){o.u.set(t,n)}o.t[t]=I(e,i);xe(a,t,o.t[t],r)};if(o.t){s()}else{o.l.then((function(){return s()}))}}}})}}));if(n&1){var l=new Map;o.attributeChangedCallback=function(e,n,t){var a=this;S.jmp((function(){var u;var s=l.get(e);if(a.hasOwnProperty(s)&&i.lazyLoad){t=a[s];delete a[s]}else if(o.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var c=f(a);var v=c==null?void 0:c.i;if(v&&!(v&8)&&v&128&&t!==n){var d=c.t;var h=(u=r.P)==null?void 0:u[e];h==null?void 0:h.forEach((function(r){if(d[r]!=null){d[r].call(d,t,n,e)}}))}return}var p=Object.getOwnPropertyDescriptor(o,s);t=t===null&&typeof a[s]==="boolean"?false:t;if(t!==a[s]&&(!p.get||!!p.set)){a[s]=t}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.P)!=null?a:{}),true),u.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],t=e[1];var i;var a=t[1]||n;l.set(a,n);if(t[0]&512){(i=r.T)==null?void 0:i.push([n,a])}return a})),true)))}}return e};var Te=function(e,r,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,f,u,l,s,v,p,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((r.i&32)===0))return[3,6];r.i|=32;i=t.p;if(!i)return[3,4];a=d(t,r);if(!(a&&"then"in a))return[3,2];o=W();return[4,a];case 1:n=y.sent();o();return[3,3];case 2:n=a;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.R,'" was not found'))}if(!n.isProxied){Ee(n,t,2);n.isProxied=true}f=U("createInstance",t.h);{r.i|=8}try{new n(r)}catch(r){c(r,e)}{r.i&=~8}f();De(r.t,e);return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return r.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=J(t);if(!h.has(s)){v=U("registerStyles",t.h);K(s,l,!!(t.i&1));v()}}y.label=6;case 6:p=r.M;m=function(){return be(r,true)};if(p&&p["s-rc"]){p["s-rc"].push(m)}else{m()}return[2]}}))}))};var De=function(e,r){{Ce(e,"connectedCallback",void 0,r)}};var Me=function(e){if((S.i&1)===0){var r=f(e);var n=r.o;var t=U("connectedCallback",n.h);if(!(r.i&1)){r.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){ye(r,r.M=i);break}}}if(n.L){Object.entries(n.L).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var i=e[n];delete e[n];e[n]=i}}))}{Te(e,r,n)}}else{if(r==null?void 0:r.t){De(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return De(r.t,e)}))}}t()}};var Le=function(e,r){{Ce(e,"disconnectedCallback",void 0,r||e)}};var Pe=function(e){return __awaiter(n,void 0,void 0,(function(){var r;return __generator(this,(function(n){if((S.i&1)===0){r=f(e);if(r==null?void 0:r.t){Le(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return Le(r.t,e)}))}}if(q.has(e)){q.delete(e)}if(e.shadowRoot&&q.has(e.shadowRoot)){q.delete(e.shadowRoot)}return[2]}))}))};var Re=e("b",(function(e,r){if(r===void 0){r={}}var n;if(!w.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=U();var i=[];var a=r.exclude||[];var o=w.customElements;var u=w.document.head;var s=u.querySelector("meta[charset]");var c=w.document.createElement("style");var v=[];var d;var h=true;Object.assign(S,r);S.m=new URL(r.resourcesUrl||"./",w.document.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var n={i:r[0],h:r[1],L:r[2],F:r[3]};if(n.i&4){p=true}{n.L=r[2]}{n.T=[]}var t=n.h;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;l(r,n);if(n.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;f(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{S.jmp((function(){return Me(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return Pe(e)}));S.raf((function(){var r;var n=f(e);var t=v.findIndex((function(r){return r===e}));if(t>-1){v.splice(t,1)}if(((r=n==null?void 0:n.O)==null?void 0:r.C)instanceof Node&&!n.O.C.isConnected){delete n.O.C}}))};r.prototype.componentOnReady=function(){return f(this).l};return r}(HTMLElement);if(n.i&64){u.formAssociated=true}n.p=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,Ee(u,n,1))}}))}));if(i.length>0){if(p){c.textContent+=y}{c.textContent+=i.sort()+m}if(c.innerHTML.length){c.setAttribute("data-styles","");var b=(n=S.A)!=null?n:D(w.document);if(b!=null){c.setAttribute("nonce",b)}u.insertBefore(c,s?s.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{S.jmp((function(){return d=setTimeout(je,30)}))}}t()}));var Fe=e("s",(function(e){return S.A=e}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],u="undefined"!=typeof window?window:{},a={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,h=[],m=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&a.o?w(b):a.raf(b))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},b=()=>{v(h),v(m),(p=h.length>0)&&a.raf(b)},w=e=>f().then(e),$=y(m,!0),S=e=>"object"==(e=typeof e)||"function"===e;function g(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>O,ok:()=>j,unwrap:()=>E,unwrapErr:()=>M});var j=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>j(e))):j(n)}if(e.isErr)return k(e.value);throw"should never get here"}var C,E=e=>{if(e.isOk)return e.value;throw e.value},M=e=>{if(e.isErr)return e.value;throw e.value},P=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!S(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?R(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=R(e,null);return u.u=t,r.length>0&&(u.p=r),u.h=l,u},R=(e,t)=>({o:0,m:e,i:t,v:null,p:null,u:null,h:null}),x={},D=(e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e,A=e=>t(e).$hostElement$,U=new WeakMap,W=e=>"sc-"+e.$,N=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n);let i=L(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const o=S(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(T);t=t.replace(F,""),n&&a.rel(e,t,n,o),l&&a.ael(e,t,l,o)}},H=/\s/,L=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(H):[]),T="Capture",F=RegExp(T+"$"),z=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of V(Object.keys(l)))e in i||N(o,e,l[e],void 0,n,t.o);for(const e of V(Object.keys(i)))N(o,e,l[e],i[e],n,t.o)};function V(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=(e,t,n)=>{const o=t.p[n];let l,i,s=0;if(null!==o.i)l=o.v=u.document.createTextNode(o.i);else{if(!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=u.document.createElement(o.m),z(null,o,q),o.p)for(s=0;s<o.p.length;++s)i=G(e,o,s),i&&l.appendChild(i)}return l["s-hn"]=C,l},I=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=G(null,n,l),s&&(o[l].v=s,J(r,s,t)))},Y=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},_=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.h&&t.h&&(e.h=t.h),!0):e.h===t.h),B=(e,t,n=!1)=>{const o=t.v=e.v,l=e.p,i=t.p,s=t.i;null===s?(z(e,t,q),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],p=t[f],h=o.length-1,m=o[0],y=o[h];for(;r<=f&&c<=h;)if(null==d)d=t[++r];else if(null==p)p=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--h];else if(_(d,m,l))B(d,m,l),d=t[++r],m=o[++c];else if(_(p,y,l))B(p,y,l),p=t[--f],y=o[--h];else if(_(d,y,l))B(d,y,l),J(e,d.v,p.v.nextSibling),d=t[++r],y=o[--h];else if(_(p,m,l))B(p,m,l),J(e,p.v,d.v),p=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].h&&t[a].h===m.h){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=G(t&&t[c],n,u):(B(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=G(t&&t[c],n,c),m=o[++c]),i&&J(d.v.parentNode,i,d.v)}r>f?I(e,null==o[h+1]?null:o[h+1].v,n,o,c,h):c>h&&Y(t,r,f)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),I(o,null,t,i,0,i.length-1)):!n&&null!==l&&Y(l,0,l.length-1)):e.i!==s&&(o.data=s)},J=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),K=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Q=(e,t)=>{if(e.o|=16,!(4&e.o))return K(e,e.j),$((()=>X(e,t)));e.o|=512},X=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=ie(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=Z(l,(()=>ie(o,"componentWillRender",void 0,n))),Z(l,(()=>te(e,o,t)))},Z=(e,t)=>ee(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ee=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,te=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=W(t),l=s.get(o);if(!u.document)return o;if(e=11===e.nodeType?e:u.document,l)if("string"==typeof l){let i,s=U.get(e=e.head||e);if(s||U.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||u.document.createElement("style"),i.innerHTML=l;const s=null!=(n=a.O)?n:g(u.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ne(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ne=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,i=e.C||R(null,null),s=(e=>e&&e.m===x)(t)?t:P(null,null,t);if(C=o.tagName,l.M&&(s.u=s.u||{},l.M.map((([e,t])=>s.u[t]=o[e]))),n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,B(i,s,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},oe=e=>{const t=e.$hostElement$,n=e.t,o=e.j;ie(n,"componentDidRender",void 0,t),64&e.o?ie(n,"componentDidUpdate",void 0,t):(e.o|=64,se(t),ie(n,"componentDidLoad",void 0,t),e.P(t),o||le()),e.S&&(e.S(),e.S=void 0),512&e.o&&w((()=>Q(e,!1))),e.o&=-517},le=()=>{w((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"mds-input-otp"}});return e.dispatchEvent(t),t})(u)))},ie=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},se=e=>e.setAttribute("hydrated",""),re=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.R.get(n),r=i.o,c=i.t;if(o=D(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.R.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;Q(i,!1)}},ce=(e,n,o)=>{var l,i;const s=e.prototype;if(64&n.o&&1&o&&c.forEach((e=>{Object.defineProperty(s,e,{value(...n){const o=t(this),l=o.t;if(l){const t=l[e];"function"==typeof t&&t.call(l,...n)}else o.A.then((t=>{const o=t[e];"function"==typeof o&&o.call(t,...n)}))}})})),n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).R.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.R.get(e)?i=s.R.get(e):!s.R.get(e)&&t&&s.R.set(e,t),r.call(this,D(i,l)),void re(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return re(this,e,i,n),void(1&o&&!s.t&&s.A.then((()=>{4096&n.D[e][0]&&s.t[e]!==s.R.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.R.get(e)&&t&&s.R.set(e,t),s.t[e]=D(i,l),re(this,e,s.t[e],n)};s.t?t():s.A.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.U)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.U)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{var l;const i=t[1]||e;return o.set(i,e),512&t[0]&&(null==(l=n.M)||l.push([e,i])),i}))]))}}return e},ue=(e,t)=>{ie(e,"connectedCallback",void 0,t)},ae=(e,t)=>{ie(e,"disconnectedCallback",void 0,t||e)},fe=(e,n={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],f=n.exclude||[],p=u.customElements,h=u.document.head,m=h.querySelector("meta[charset]"),y=u.document.createElement("style"),v=[];let b,w=!0;Object.assign(a,n),a.l=new URL(n.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],D:n[2],W:n[3]};4&o.o&&($=!0),o.D=n[2],o.M=[];const r=o.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,R:new Map};n.A=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),w?v.push(this):a.jmp((()=>(e=>{if(!(1&a.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ue(n.t,e):(null==n?void 0:n.A)&&n.A.then((()=>ue(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){K(n,n.j=t);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.N){const s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.N;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.H}" was not found`);o.isProxied||(ce(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),ue(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=W(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>Q(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){a.jmp((()=>(async e=>{if(!(1&a.o)){const n=t(e);(null==n?void 0:n.t)?ae(n.t,e):(null==n?void 0:n.A)&&n.A.then((()=>ae(n.t,e)))}U.has(e)&&U.delete(e),e.shadowRoot&&U.has(e.shadowRoot)&&U.delete(e.shadowRoot)})(this))),a.raf((()=>{var e;const n=t(this),o=v.findIndex((e=>e===this));o>-1&&v.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).A}};64&o.o&&(u.formAssociated=!0),o.N=e[0],f.includes(r)||p.get(r)||(c.push(r),p.define(r,ce(u,o,1)))}))})),c.length>0&&($&&(y.textContent+=r),y.textContent+=c.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(o=a.O)?o:g(u.document);null!=e&&y.setAttribute("nonce",e),h.insertBefore(y,m?m.nextSibling:h.firstChild)}w=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(le,30)))},de=e=>a.O=e;export{x as H,fe as b,A as g,P as h,f as p,n as r,de as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|