@elliemae/pui-app-bridge 2.9.1 → 2.9.2

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/umd/index.js CHANGED
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
- */var e=Symbol.for("react.element"),a=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),D=Symbol.iterator;function G(A){return A===null||typeof A!="object"?null:(A=D&&A[D]||A["@@iterator"],typeof A=="function"?A:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,j={};function $(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}$.prototype.isReactComponent={},$.prototype.setState=function(A,F){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,F,"setState")},$.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function V(){}V.prototype=$.prototype;function X(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}var L=X.prototype=new V;L.constructor=X,T(L,$.prototype),L.isPureReactComponent=!0;var ge=Array.isArray,P=Object.prototype.hasOwnProperty,se={current:null},ie={key:!0,ref:!0,__self:!0,__source:!0};function ve(A,F,te){var le,ue={},Ee=null,ee=null;if(F!=null)for(le in F.ref!==void 0&&(ee=F.ref),F.key!==void 0&&(Ee=""+F.key),F)P.call(F,le)&&!ie.hasOwnProperty(le)&&(ue[le]=F[le]);var xe=arguments.length-2;if(xe===1)ue.children=te;else if(1<xe){for(var be=Array(xe),De=0;De<xe;De++)be[De]=arguments[De+2];ue.children=be}if(A&&A.defaultProps)for(le in xe=A.defaultProps,xe)ue[le]===void 0&&(ue[le]=xe[le]);return{$$typeof:e,type:A,key:Ee,ref:ee,props:ue,_owner:se.current}}function Ae(A,F){return{$$typeof:e,type:A.type,key:F,ref:A.ref,props:A.props,_owner:A._owner}}function Ie(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function Te(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(te){return F[te]})}var W=/\/+/g;function ke(A,F){return typeof A=="object"&&A!==null&&A.key!=null?Te(""+A.key):F.toString(36)}function Le(A,F,te,le,ue){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var ee=!1;if(A===null)ee=!0;else switch(Ee){case"string":case"number":ee=!0;break;case"object":switch(A.$$typeof){case e:case a:ee=!0}}if(ee)return ee=A,ue=ue(ee),A=le===""?"."+ke(ee,0):le,ge(ue)?(te="",A!=null&&(te=A.replace(W,"$&/")+"/"),Le(ue,F,te,"",function(De){return De})):ue!=null&&(Ie(ue)&&(ue=Ae(ue,te+(!ue.key||ee&&ee.key===ue.key?"":(""+ue.key).replace(W,"$&/")+"/")+A)),F.push(ue)),1;if(ee=0,le=le===""?".":le+":",ge(A))for(var xe=0;xe<A.length;xe++){Ee=A[xe];var be=le+ke(Ee,xe);ee+=Le(Ee,F,te,be,ue)}else if(be=G(A),typeof be=="function")for(A=be.call(A),xe=0;!(Ee=A.next()).done;)Ee=Ee.value,be=le+ke(Ee,xe++),ee+=Le(Ee,F,te,be,ue);else if(Ee==="object")throw F=String(A),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return ee}function ye(A,F,te){if(A==null)return A;var le=[],ue=0;return Le(A,le,"","",function(Ee){return F.call(te,Ee,ue++)}),le}function Ct(A){if(A._status===-1){var F=A._result;F=F(),F.then(function(te){(A._status===0||A._status===-1)&&(A._status=1,A._result=te)},function(te){(A._status===0||A._status===-1)&&(A._status=2,A._result=te)}),A._status===-1&&(A._status=0,A._result=F)}if(A._status===1)return A._result.default;throw A._result}var $e={current:null},it={transition:null},vt={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:it,ReactCurrentOwner:se};function yt(){throw Error("act(...) is not supported in production builds of React.")}h.Children={map:ye,forEach:function(A,F,te){ye(A,function(){F.apply(this,arguments)},te)},count:function(A){var F=0;return ye(A,function(){F++}),F},toArray:function(A){return ye(A,function(F){return F})||[]},only:function(A){if(!Ie(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},h.Component=$,h.Fragment=p,h.Profiler=g,h.PureComponent=X,h.StrictMode=d,h.Suspense=S,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vt,h.act=yt,h.cloneElement=function(A,F,te){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var le=T({},A.props),ue=A.key,Ee=A.ref,ee=A._owner;if(F!=null){if(F.ref!==void 0&&(Ee=F.ref,ee=se.current),F.key!==void 0&&(ue=""+F.key),A.type&&A.type.defaultProps)var xe=A.type.defaultProps;for(be in F)P.call(F,be)&&!ie.hasOwnProperty(be)&&(le[be]=F[be]===void 0&&xe!==void 0?xe[be]:F[be])}var be=arguments.length-2;if(be===1)le.children=te;else if(1<be){xe=Array(be);for(var De=0;De<be;De++)xe[De]=arguments[De+2];le.children=xe}return{$$typeof:e,type:A.type,key:ue,ref:Ee,props:le,_owner:ee}},h.createContext=function(A){return A={$$typeof:b,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:v,_context:A},A.Consumer=A},h.createElement=ve,h.createFactory=function(A){var F=ve.bind(null,A);return F.type=A,F},h.createRef=function(){return{current:null}},h.forwardRef=function(A){return{$$typeof:w,render:A}},h.isValidElement=Ie,h.lazy=function(A){return{$$typeof:R,_payload:{_status:-1,_result:A},_init:Ct}},h.memo=function(A,F){return{$$typeof:C,type:A,compare:F===void 0?null:F}},h.startTransition=function(A){var F=it.transition;it.transition={};try{A()}finally{it.transition=F}},h.unstable_act=yt,h.useCallback=function(A,F){return $e.current.useCallback(A,F)},h.useContext=function(A){return $e.current.useContext(A)},h.useDebugValue=function(){},h.useDeferredValue=function(A){return $e.current.useDeferredValue(A)},h.useEffect=function(A,F){return $e.current.useEffect(A,F)},h.useId=function(){return $e.current.useId()},h.useImperativeHandle=function(A,F,te){return $e.current.useImperativeHandle(A,F,te)},h.useInsertionEffect=function(A,F){return $e.current.useInsertionEffect(A,F)},h.useLayoutEffect=function(A,F){return $e.current.useLayoutEffect(A,F)},h.useMemo=function(A,F){return $e.current.useMemo(A,F)},h.useReducer=function(A,F,te){return $e.current.useReducer(A,F,te)},h.useRef=function(A){return $e.current.useRef(A)},h.useState=function(A){return $e.current.useState(A)},h.useSyncExternalStore=function(A,F,te){return $e.current.useSyncExternalStore(A,F,te)},h.useTransition=function(){return $e.current.useTransition()},h.version="18.3.1"},2155:(u,h,e)=>{"use strict";u.exports=e(6018)},162:u=>{u.exports=function(e,a,p,d){var g=p?p.call(d,e,a):void 0;if(g!==void 0)return!!g;if(e===a)return!0;if(typeof e!="object"||!e||typeof a!="object"||!a)return!1;var v=Object.keys(e),b=Object.keys(a);if(v.length!==b.length)return!1;for(var w=Object.prototype.hasOwnProperty.bind(a),S=0;S<v.length;S++){var C=v[S];if(!w(C))return!1;var R=e[C],D=a[C];if(g=p?p.call(d,R,D,C):void 0,g===!1||g===void 0&&R!==D)return!1}return!0}}},kt={};function q(u){var h=kt[u];if(h!==void 0)return h.exports;var e=kt[u]={id:u,loaded:!1,exports:{}};return sr[u].call(e.exports,e,e.exports,q),e.loaded=!0,e.exports}q.n=u=>{var h=u&&u.__esModule?()=>u.default:()=>u;return q.d(h,{a:h}),h},q.d=(u,h)=>{for(var e in h)q.o(h,e)&&!q.o(u,e)&&Object.defineProperty(u,e,{enumerable:!0,get:h[e]})},q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),q.o=(u,h)=>Object.prototype.hasOwnProperty.call(u,h),q.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},q.nmd=u=>(u.paths=[],u.children||(u.children=[]),u),q.nc=void 0;var Ht={};return(()=>{"use strict";q.r(Ht),q.d(Ht,{CAppBridge:()=>In,Event:()=>h,ScriptingObject:()=>v,SecurityContext:()=>u});var u=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(u||{});class h{scriptingObject;name;objectId;requiresFeedback;id;constructor(n){const{name:o,requiresFeedback:f=!1,so:y}=n;if(!o)throw new Error("Event name is required");if(!y)throw new Error("Scripting object is required");this.scriptingObject=y,this.objectId=y.id,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase(),this.requiresFeedback=f}}class e{static[Symbol.hasInstance](n){return n.getType?.()==="ProxyEvent"}objectId;name;id;getType(){return"ProxyEvent"}constructor(n){const{name:o,objectId:f}=n;this.objectId=f,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}const a=t=>t instanceof h,p=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,d="function",g=(t,n)=>typeof t===d&&!!n&&!n.startsWith("_");class v{#e;#t="Object";constructor(n,o){this.#e=n,this.#t=o||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const n=[],o=[];return Object.keys(this).forEach(f=>{const y=this[f];a(y)?o.push(f):g(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var b=q(9442);const w="module";var S=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(S||{});class C{#e=new Map;#t=new Map;#r=n=>{const{so:o,guestId:f}=n,y=o.id.toLowerCase(),x=this.#t.get(f);if(!x)this.#t.set(f,new Map([[y,n]]));else{if(x.has(y))throw new Error(`Scripting Object ${o.id} already exists for guest ${f}`);x.set(y,n)}};#n=({so:n})=>{n._dispose&&typeof n._dispose=="function"&&n._dispose()};#o=({objectId:n,guestId:o})=>{if(n===w&&!o)for(const[,y]of this.#t){const x=y.get(n);if(x)return x}const f=o?this.#t.get(o):null;return f?f.get(n)??null:null};#s=({objectId:n,guestId:o}={})=>{if(o){if(!n){const y=this.#t.get(o);y&&y.forEach(this.#n),this.#t.delete(o);return}const f=this.#t.get(o);if(f){const y=f.get(n);y&&this.#n(y),f.delete(n)}}else n&&this.#t.forEach(f=>{const y=f.get(n);y&&this.#n(y),f.delete(n)})};#i=({so:n,guest:o})=>new Proxy(n,{get(f,y,x){const O=f[y];return O instanceof Function&&y!=="constructor"?function(...I){const N=this;return Object.defineProperty(O,"callContext",{value:o,enumerable:!1,writable:!0}),O.apply(N===x?f:N,I)}:O}});addScriptingObject=(n,o)=>{const{guestId:f}=o||{};if(!n?.id||!n?._toJSON)throw new Error("Object is not derived from ScriptingObject");const y=n.id.toLowerCase();if(y.trim().toLowerCase()===w&&!f)throw new Error("Guest id is required to add Module scripting object");if(f){this.#r({so:n,...o,guestId:f});return}if(this.#e.has(y))throw new Error(`Scripting Object ${n.id} already exists`);this.#e.set(y,{so:n,...o})};getObject=(n,o)=>{const f=n.trim().toLowerCase();let y=this.#o({objectId:f,guestId:o?.id});y=y??this.#e.get(f)??null;const{so:x}=y||{};if(!x)return null;if(!o)return x;const O=this.#i({so:x,guest:o});return Object.defineProperty(O,"target",{value:x,enumerable:!1,configurable:!1,writable:!0}),O};removeScriptingObject=(n,o)=>{const f=n.toLowerCase();if(o)this.#s({objectId:f,guestId:o});else{this.#s({objectId:f});const y=this.#e.get(f);y&&this.#n(y),this.#e.delete(f)}};removeAllScriptingObjects=n=>{n?this.#s({guestId:n}):(this.#e.forEach(this.#n),this.#e.clear())}}const D={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let G;const H=new Uint8Array(16);function T(){if(!G&&(G=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!G))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return G(H)}const j=[];for(let t=0;t<256;++t)j.push((t+256).toString(16).slice(1));function $(t,n=0){return j[t[n+0]]+j[t[n+1]]+j[t[n+2]]+j[t[n+3]]+"-"+j[t[n+4]]+j[t[n+5]]+"-"+j[t[n+6]]+j[t[n+7]]+"-"+j[t[n+8]]+j[t[n+9]]+"-"+j[t[n+10]]+j[t[n+11]]+j[t[n+12]]+j[t[n+13]]+j[t[n+14]]+j[t[n+15]]}function V(t,n=0){const o=$(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const X=null;function L(t,n,o){if(D.randomUUID&&!n&&!t)return D.randomUUID();t=t||{};const f=t.random||(t.rng||T)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,n){o=o||0;for(let y=0;y<16;++y)n[o+y]=f[y];return n}return $(f)}const ge=L,P=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{P(f,o)}):typeof t<"u"&&o.push(t),o};class se{#e=new Map;#t=(n,o)=>{const f=new Promise(y=>{setTimeout(()=>{y()},o)});return Promise.race([n,f])};#r=n=>{const{eventName:o,scriptingObject:f,eventParams:y,listeners:x}=n;x.map(async O=>{try{await O.callback({obj:f,eventName:o,eventParams:y})}catch{}})};#n=async({eventId:n,eventName:o,scriptingObject:f,eventParams:y,feedbackWaitTime:x})=>{const I=(this.#e.get(n)||[]).map(k=>this.#t(k.callback({obj:f,eventName:o,eventParams:y}),x)),N=await Promise.all(I);return P(N)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:x},eventParams:O,feedbackWaitTime:I=1e3}=n;if(!o)throw new Error("Event Id is required");const N=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:x,eventParams:O,feedbackWaitTime:I}):(this.#r({eventName:f,scriptingObject:x,eventParams:O,listeners:N}),Promise.resolve())};subscribe=n=>{const{eventId:o,listener:f}=n;if(!o)throw new Error("eventId is required");if(!f)throw new Error("Listener is required");const y=this.#e.get(o)||[],x=ge();return y.push({subscriptionId:x,callback:f}),this.#e.set(o,y),x};unsubscribe=n=>{const{eventId:o,subscriptionId:f}=n;if(!o)throw new Error("eventId id is required");if(f){const y=this.#e.get(o)||[],x=y.findIndex(O=>O.subscriptionId===f);x>-1&&(y.splice(x,1),this.#e.set(o,y))}else this.#e.delete(o)};unsubscribeAll=()=>{this.#e.clear()}}const ie="pui-iframe-container-",ve="pui-app-container-",W={create:(t,n)=>new Promise((o,f)=>{const y=document.createElement("div");y.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const x=document.createElement("iframe");x.setAttribute("id",`${ie}${t}`),x.setAttribute("title",n.title),x.setAttribute("allowfullscreen","true"),x.setAttribute("allowtransparency","true"),x.setAttribute("allow","microphone; camera"),n.sandbox&&x.setAttribute("sandbox",n.sandbox),x.setAttribute("style",n.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),x.setAttribute("src",n.src??"./frame.html"),x.addEventListener("load",()=>{if(!x.contentDocument){f(new Error("Frame content window is null"));return}const k=x.contentDocument.getElementById(ve);k&&(k.id=`${k.id}${t}`),o(x)}),y.appendChild(x);const{containerId:O}=n;(document.getElementById(O??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${ie}${t}`);n&&n.remove()},get:t=>document.getElementById(`${ie}${t}`)},ke=()=>({breakpoints:["512px","768px","1024px"],spaces:["0","4px","8px","12px","16px","32px","48px","56px","64px","72px"],fontSizes:["0.8461rem","0.9230rem","1rem","1.0769rem","1.2307rem","1.3846rem","1.8461rem","2.7692rem"],fontWeights:[100,200,300,400,500,600,700,800,900],lineHeights:["1rem","1.15rem","1.25rem","1.5rem"],letterSpacings:["normal","0.1rem","-0.05rem","0.25rem"],fonts:["proxima-nova, Arial, sans-serif"],colors:{neutral:["#FFFFFF","#F6F7F9","#EBEDF0","#E0E3E8","#CBCFD7","#B0B9C8","#8C93A6","#697489","#464F5C","#353C46","#25292F"],brand:["#F6FBFF","#EBF6FF","#A3D6FF","#52A6EC","#1394E5","#1E79C2","#006AA9","#005181"],success:["#E1F4ED","#E1F4ED","#289F6B","#207E56","#185D44"],warning:["#FFEFD8","#E06C29","#B25119","#853C12"],danger:["#FBEBED","#FBEBED","#ED5A64","#C64252","#A11B2B"]},shadows:["0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2)","0 6px 20px 0 rgba(0, 0, 0, 0.24), 0 8px 17px 0 rgba(0, 0, 0, 0.19)","0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)","0 16px 28px 0 rgba(0, 0, 0, 0.24), 0 25px 55px 0 rgba(0, 0, 0, 0.19)","0 27px 24px 0 rgba(0, 0, 0, 0.24), 0 40px 77px 0 rgba(0, 0, 0, 0.19)"],zIndex:[1e3,2e3,3e3,500,4e3],states:[null,"@media (prefers-reduced-motion: no-preference)","@media (prefers-reduced-motion: reduce)","&:first-child","&:last-child","&:odd","&:even","&:visited","&:checked","&:focus-within","&:hover","&:focus","&:focus-visible","&:active","&:disabled, &[aria-disabled=true]","&::placeholder"]});var Le=q(7020),ye=q(2155),Ct=q(162),$e=q.n(Ct);function it(t){function n(B,z,U,Z,E){for(var fe=0,M=0,je=0,de=0,me,J,Ne=0,Ve=0,oe,Ge=oe=me=0,he=0,ze=0,Ft=0,Ue=0,Gt=U.length,Mt=Gt-1,Qe,Y="",Re="",nr="",or="",dt;he<Gt;){if(J=U.charCodeAt(he),he===Mt&&M+de+je+fe!==0&&(M!==0&&(J=M===47?10:47),de=je=fe=0,Gt++,Mt++),M+de+je+fe===0){if(he===Mt&&(0<ze&&(Y=Y.replace(ce,"")),0<Y.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:Y+=U.charAt(he)}J=59}switch(J){case 123:for(Y=Y.trim(),me=Y.charCodeAt(0),oe=1,Ue=++he;he<Gt;){switch(J=U.charCodeAt(he)){case 123:oe++;break;case 125:oe--;break;case 47:switch(J=U.charCodeAt(he+1)){case 42:case 47:e:{for(Ge=he+1;Ge<Mt;++Ge)switch(U.charCodeAt(Ge)){case 47:if(J===42&&U.charCodeAt(Ge-1)===42&&he+2!==Ge){he=Ge+1;break e}break;case 10:if(J===47){he=Ge+1;break e}}he=Ge}}break;case 91:J++;case 40:J++;case 34:case 39:for(;he++<Mt&&U.charCodeAt(he)!==J;);}if(oe===0)break;he++}switch(oe=U.substring(Ue,he),me===0&&(me=(Y=Y.replace(Q,"").trim()).charCodeAt(0)),me){case 64:switch(0<ze&&(Y=Y.replace(ce,"")),J=Y.charCodeAt(1),J){case 100:case 109:case 115:case 45:ze=z;break;default:ze=Pt}if(oe=n(z,ze,oe,J,E+1),Ue=oe.length,0<Xe&&(ze=o(Pt,Y,Ft),dt=I(3,oe,ze,z,Ze,We,Ue,J,E,Z),Y=ze.join(""),dt!==void 0&&(Ue=(oe=dt.trim()).length)===0&&(J=0,oe="")),0<Ue)switch(J){case 115:Y=Y.replace(pt,O);case 100:case 109:case 45:oe=Y+"{"+oe+"}";break;case 107:Y=Y.replace(ne,"$1 $2"),oe=Y+"{"+oe+"}",oe=He===1||He===2&&x("@"+oe,3)?"@-webkit-"+oe+"@"+oe:"@"+oe;break;default:oe=Y+oe,Z===112&&(oe=(Re+=oe,""))}else oe="";break;default:oe=n(z,o(z,Y,Ft),oe,Z,E+1)}nr+=oe,oe=Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he);break;case 125:case 59:if(Y=(0<ze?Y.replace(ce,""):Y).trim(),1<(Ue=Y.length))switch(Ge===0&&(me=Y.charCodeAt(0),me===45||96<me&&123>me)&&(Ue=(Y=Y.replace(" ",":")).length),0<Xe&&(dt=I(1,Y,z,B,Ze,We,Re.length,Z,E,Z))!==void 0&&(Ue=(Y=dt.trim()).length)===0&&(Y="\0\0"),me=Y.charCodeAt(0),J=Y.charCodeAt(1),me){case 0:break;case 64:if(J===105||J===99){or+=Y+U.charAt(he);break}default:Y.charCodeAt(Ue-1)!==58&&(Re+=y(Y,me,J,Y.charCodeAt(2)))}Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he)}}switch(J){case 13:case 10:M===47?M=0:1+me===0&&Z!==107&&0<Y.length&&(ze=1,Y+="\0"),0<Xe*Ot&&I(0,Y,z,B,Ze,We,Re.length,Z,E,Z),We=1,Ze++;break;case 59:case 125:if(M+de+je+fe===0){We++;break}default:switch(We++,Qe=U.charAt(he),J){case 9:case 32:if(de+fe+M===0)switch(Ne){case 44:case 58:case 9:case 32:Qe="";break;default:J!==32&&(Qe=" ")}break;case 0:Qe="\\0";break;case 12:Qe="\\f";break;case 11:Qe="\\v";break;case 38:de+M+fe===0&&(ze=Ft=1,Qe="\f"+Qe);break;case 108:if(de+M+fe+ot===0&&0<Ge)switch(he-Ge){case 2:Ne===112&&U.charCodeAt(he-3)===58&&(ot=Ne);case 8:Ve===111&&(ot=Ve)}break;case 58:de+M+fe===0&&(Ge=he);break;case 44:M+je+de+fe===0&&(ze=1,Qe+="\r");break;case 34:case 39:M===0&&(de=de===J?0:de===0?J:de);break;case 91:de+M+je===0&&fe++;break;case 93:de+M+je===0&&fe--;break;case 41:de+M+fe===0&&je--;break;case 40:if(de+M+fe===0){if(me===0)switch(2*Ne+3*Ve){case 533:break;default:me=1}je++}break;case 64:M+je+de+fe+Ge+oe===0&&(oe=1);break;case 42:case 47:if(!(0<de+fe+je))switch(M){case 0:switch(2*J+3*U.charCodeAt(he+1)){case 235:M=47;break;case 220:Ue=he,M=42}break;case 42:J===47&&Ne===42&&Ue+2!==he&&(U.charCodeAt(Ue+2)===33&&(Re+=U.substring(Ue,he+1)),Qe="",M=0)}}M===0&&(Y+=Qe)}Ve=Ne,Ne=J,he++}if(Ue=Re.length,0<Ue){if(ze=z,0<Xe&&(dt=I(2,Re,ze,B,Ze,We,Ue,Z,E,Z),dt!==void 0&&(Re=dt).length===0))return or+Re+nr;if(Re=ze.join(",")+"{"+Re+"}",He*ot!==0){switch(He!==2||x(Re,2)||(ot=0),ot){case 111:Re=Re.replace(Ce,":-moz-$1")+Re;break;case 112:Re=Re.replace(Me,"::-webkit-input-$1")+Re.replace(Me,"::-moz-$1")+Re.replace(Me,":-ms-input-$1")+Re}ot=0}}return or+Re+nr}function o(B,z,U){var Z=z.trim().split(_);z=Z;var E=Z.length,fe=B.length;switch(fe){case 0:case 1:var M=0;for(B=fe===0?"":B[0]+" ";M<E;++M)z[M]=f(B,z[M],U).trim();break;default:var je=M=0;for(z=[];M<E;++M)for(var de=0;de<fe;++de)z[je++]=f(B[de]+" ",Z[M],U).trim()}return z}function f(B,z,U){var Z=z.charCodeAt(0);switch(33>Z&&(Z=(z=z.trim()).charCodeAt(0)),Z){case 38:return z.replace(Se,"$1"+B.trim());case 58:return B.trim()+z.replace(Se,"$1"+B.trim());default:if(0<1*U&&0<z.indexOf("\f"))return z.replace(Se,(B.charCodeAt(0)===58?"":"$1")+B.trim())}return B+z}function y(B,z,U,Z){var E=B+";",fe=2*z+3*U+4*Z;if(fe===944){B=E.indexOf(":",9)+1;var M=E.substring(B,E.length-1).trim();return M=E.substring(0,B).trim()+M+";",He===1||He===2&&x(M,1)?"-webkit-"+M+M:M}if(He===0||He===2&&!x(E,1))return E;switch(fe){case 1015:return E.charCodeAt(10)===97?"-webkit-"+E+E:E;case 951:return E.charCodeAt(3)===116?"-webkit-"+E+E:E;case 963:return E.charCodeAt(5)===110?"-webkit-"+E+E:E;case 1009:if(E.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+E+E;case 978:return"-webkit-"+E+"-moz-"+E+E;case 1019:case 983:return"-webkit-"+E+"-moz-"+E+"-ms-"+E+E;case 883:if(E.charCodeAt(8)===45)return"-webkit-"+E+E;if(0<E.indexOf("image-set(",11))return E.replace(Et,"$1-webkit-$2")+E;break;case 932:if(E.charCodeAt(4)===45)switch(E.charCodeAt(5)){case 103:return"-webkit-box-"+E.replace("-grow","")+"-webkit-"+E+"-ms-"+E.replace("grow","positive")+E;case 115:return"-webkit-"+E+"-ms-"+E.replace("shrink","negative")+E;case 98:return"-webkit-"+E+"-ms-"+E.replace("basis","preferred-size")+E}return"-webkit-"+E+"-ms-"+E+E;case 964:return"-webkit-"+E+"-ms-flex-"+E+E;case 1023:if(E.charCodeAt(8)!==99)break;return M=E.substring(E.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+M+"-webkit-"+E+"-ms-flex-pack"+M+E;case 1005:return re.test(E)?E.replace(Oe,":-webkit-")+E.replace(Oe,":-moz-")+E:E;case 1e3:switch(M=E.substring(13).trim(),z=M.indexOf("-")+1,M.charCodeAt(0)+M.charCodeAt(z)){case 226:M=E.replace(Pe,"tb");break;case 232:M=E.replace(Pe,"tb-rl");break;case 220:M=E.replace(Pe,"lr");break;default:return E}return"-webkit-"+E+"-ms-"+M+E;case 1017:if(E.indexOf("sticky",9)===-1)break;case 975:switch(z=(E=B).length-10,M=(E.charCodeAt(z)===33?E.substring(0,z):E).substring(B.indexOf(":",7)+1).trim(),fe=M.charCodeAt(0)+(M.charCodeAt(7)|0)){case 203:if(111>M.charCodeAt(8))break;case 115:E=E.replace(M,"-webkit-"+M)+";"+E;break;case 207:case 102:E=E.replace(M,"-webkit-"+(102<fe?"inline-":"")+"box")+";"+E.replace(M,"-webkit-"+M)+";"+E.replace(M,"-ms-"+M+"box")+";"+E}return E+";";case 938:if(E.charCodeAt(5)===45)switch(E.charCodeAt(6)){case 105:return M=E.replace("-items",""),"-webkit-"+E+"-webkit-box-"+M+"-ms-flex-"+M+E;case 115:return"-webkit-"+E+"-ms-flex-item-"+E.replace(Ye,"")+E;default:return"-webkit-"+E+"-ms-flex-line-pack"+E.replace("align-content","").replace(Ye,"")+E}break;case 973:case 989:if(E.charCodeAt(3)!==45||E.charCodeAt(4)===122)break;case 931:case 953:if(ft.test(B)===!0)return(M=B.substring(B.indexOf(":")+1)).charCodeAt(0)===115?y(B.replace("stretch","fill-available"),z,U,Z).replace(":fill-available",":stretch"):E.replace(M,"-webkit-"+M)+E.replace(M,"-moz-"+M.replace("fill-",""))+E;break;case 962:if(E="-webkit-"+E+(E.charCodeAt(5)===102?"-ms-"+E:"")+E,U+Z===211&&E.charCodeAt(13)===105&&0<E.indexOf("transform",10))return E.substring(0,E.indexOf(";",27)+1).replace(pe,"$1-webkit-$2")+E}return E}function x(B,z){var U=B.indexOf(z===1?":":"{"),Z=B.substring(0,z!==3?U:10);return U=B.substring(U+1,B.length-1),Rt(z!==2?Z:Z.replace(nt,"$1"),U,z)}function O(B,z){var U=y(z,z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2));return U!==z+";"?U.replace(At," or ($1)").substring(4):"("+z+")"}function I(B,z,U,Z,E,fe,M,je,de,me){for(var J=0,Ne=z,Ve;J<Xe;++J)switch(Ve=Je[J].call(K,B,Ne,U,Z,E,fe,M,je,de,me)){case void 0:case!1:case!0:case null:break;default:Ne=Ve}if(Ne!==z)return Ne}function N(B){switch(B){case void 0:case null:Xe=Je.length=0;break;default:if(typeof B=="function")Je[Xe++]=B;else if(typeof B=="object")for(var z=0,U=B.length;z<U;++z)N(B[z]);else Ot=!!B|0}return N}function k(B){return B=B.prefix,B!==void 0&&(Rt=null,B?typeof B!="function"?He=1:(He=2,Rt=B):He=0),k}function K(B,z){var U=B;if(33>U.charCodeAt(0)&&(U=U.trim()),$t=U,U=[$t],0<Xe){var Z=I(-1,z,U,U,Ze,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(z=Z)}var E=n(Pt,U,z,0,0);return 0<Xe&&(Z=I(-2,E,U,U,Ze,We,E.length,0,0,0),Z!==void 0&&(E=Z)),$t="",ot=0,We=Ze=1,E}var Q=/^\0+/g,ce=/[\0\r\f]/g,Oe=/: */g,re=/zoo|gra/,pe=/([,: ])(transform)/g,_=/,\r+?/g,Se=/([\t\r\n ])*\f?&/g,ne=/@(k\w+)\s*(\S*)\s*/,Me=/::(place)/g,Ce=/:(read-only)/g,Pe=/[svh]\w+-[tblr]{2}/,pt=/\(\s*(.*)\s*\)/g,At=/([\s\S]*?);/g,Ye=/-self|flex-/g,nt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ft=/stretch|:\s*\w+\-(?:conte|avail)/,Et=/([^-])(image-set\()/,We=1,Ze=1,ot=0,He=1,Pt=[],Je=[],Xe=0,Rt=null,Ot=0,$t="";return K.use=N,K.set=k,t!==void 0&&k(t),K}const vt=it;var yt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const A=yt;function F(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var te=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,le=F(function(t){return te.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ue=q(4674),Ee=q.n(ue);function ee(){return(ee=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(t[f]=o[f])}return t}).apply(this,arguments)}var xe=function(t,n){for(var o=[t[0]],f=0,y=n.length;f<y;f+=1)o.push(n[f],t[f+1]);return o},be=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,Le.typeOf)(t)},De=Object.freeze([]),_e=Object.freeze({});function at(t){return typeof t=="function"}function Tt(t){return t.displayName||t.name||"Component"}function jt(t){return t&&typeof t.styledComponentId=="string"}var qe=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="5.3.11",ct=typeof window<"u"&&"HTMLElement"in window,ae=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY)),lt={},ht={};function ir(){for(var t=arguments.length<=0?void 0:arguments[0],n=[],o=1,f=arguments.length;o<f;o+=1)n.push(o<0||arguments.length<=o?void 0:arguments[o]);return n.forEach(function(y){t=t.replace(/%[a-z]/,y)}),t}function Be(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var et=function(){function t(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}var n=t.prototype;return n.indexOfGroup=function(o){for(var f=0,y=0;y<o;y++)f+=this.groupSizes[y];return f},n.insertRules=function(o,f){if(o>=this.groupSizes.length){for(var y=this.groupSizes,x=y.length,O=x;o>=O;)(O<<=1)<0&&Be(16,""+o);this.groupSizes=new Uint32Array(O),this.groupSizes.set(y),this.length=O;for(var I=x;I<O;I++)this.groupSizes[I]=0}for(var N=this.indexOfGroup(o+1),k=0,K=f.length;k<K;k++)this.tag.insertRule(N,f[k])&&(this.groupSizes[o]++,N++)},n.clearGroup=function(o){if(o<this.length){var f=this.groupSizes[o],y=this.indexOfGroup(o),x=y+f;this.groupSizes[o]=0;for(var O=y;O<x;O++)this.tag.deleteRule(y)}},n.getGroup=function(o){var f="";if(o>=this.length||this.groupSizes[o]===0)return f;for(var y=this.groupSizes[o],x=this.indexOfGroup(o),O=x+y,I=x;I<O;I++)f+=this.tag.getRule(I)+`/*!sc*/
16
+ */var e=Symbol.for("react.element"),a=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),D=Symbol.iterator;function G(A){return A===null||typeof A!="object"?null:(A=D&&A[D]||A["@@iterator"],typeof A=="function"?A:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,j={};function $(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}$.prototype.isReactComponent={},$.prototype.setState=function(A,F){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,F,"setState")},$.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function V(){}V.prototype=$.prototype;function X(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}var L=X.prototype=new V;L.constructor=X,T(L,$.prototype),L.isPureReactComponent=!0;var ge=Array.isArray,P=Object.prototype.hasOwnProperty,se={current:null},ie={key:!0,ref:!0,__self:!0,__source:!0};function ve(A,F,te){var le,ue={},Ee=null,ee=null;if(F!=null)for(le in F.ref!==void 0&&(ee=F.ref),F.key!==void 0&&(Ee=""+F.key),F)P.call(F,le)&&!ie.hasOwnProperty(le)&&(ue[le]=F[le]);var xe=arguments.length-2;if(xe===1)ue.children=te;else if(1<xe){for(var be=Array(xe),De=0;De<xe;De++)be[De]=arguments[De+2];ue.children=be}if(A&&A.defaultProps)for(le in xe=A.defaultProps,xe)ue[le]===void 0&&(ue[le]=xe[le]);return{$$typeof:e,type:A,key:Ee,ref:ee,props:ue,_owner:se.current}}function Ae(A,F){return{$$typeof:e,type:A.type,key:F,ref:A.ref,props:A.props,_owner:A._owner}}function Ie(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function Te(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(te){return F[te]})}var W=/\/+/g;function ke(A,F){return typeof A=="object"&&A!==null&&A.key!=null?Te(""+A.key):F.toString(36)}function Le(A,F,te,le,ue){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var ee=!1;if(A===null)ee=!0;else switch(Ee){case"string":case"number":ee=!0;break;case"object":switch(A.$$typeof){case e:case a:ee=!0}}if(ee)return ee=A,ue=ue(ee),A=le===""?"."+ke(ee,0):le,ge(ue)?(te="",A!=null&&(te=A.replace(W,"$&/")+"/"),Le(ue,F,te,"",function(De){return De})):ue!=null&&(Ie(ue)&&(ue=Ae(ue,te+(!ue.key||ee&&ee.key===ue.key?"":(""+ue.key).replace(W,"$&/")+"/")+A)),F.push(ue)),1;if(ee=0,le=le===""?".":le+":",ge(A))for(var xe=0;xe<A.length;xe++){Ee=A[xe];var be=le+ke(Ee,xe);ee+=Le(Ee,F,te,be,ue)}else if(be=G(A),typeof be=="function")for(A=be.call(A),xe=0;!(Ee=A.next()).done;)Ee=Ee.value,be=le+ke(Ee,xe++),ee+=Le(Ee,F,te,be,ue);else if(Ee==="object")throw F=String(A),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return ee}function ye(A,F,te){if(A==null)return A;var le=[],ue=0;return Le(A,le,"","",function(Ee){return F.call(te,Ee,ue++)}),le}function Ct(A){if(A._status===-1){var F=A._result;F=F(),F.then(function(te){(A._status===0||A._status===-1)&&(A._status=1,A._result=te)},function(te){(A._status===0||A._status===-1)&&(A._status=2,A._result=te)}),A._status===-1&&(A._status=0,A._result=F)}if(A._status===1)return A._result.default;throw A._result}var $e={current:null},it={transition:null},vt={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:it,ReactCurrentOwner:se};function yt(){throw Error("act(...) is not supported in production builds of React.")}h.Children={map:ye,forEach:function(A,F,te){ye(A,function(){F.apply(this,arguments)},te)},count:function(A){var F=0;return ye(A,function(){F++}),F},toArray:function(A){return ye(A,function(F){return F})||[]},only:function(A){if(!Ie(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},h.Component=$,h.Fragment=p,h.Profiler=g,h.PureComponent=X,h.StrictMode=d,h.Suspense=S,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vt,h.act=yt,h.cloneElement=function(A,F,te){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var le=T({},A.props),ue=A.key,Ee=A.ref,ee=A._owner;if(F!=null){if(F.ref!==void 0&&(Ee=F.ref,ee=se.current),F.key!==void 0&&(ue=""+F.key),A.type&&A.type.defaultProps)var xe=A.type.defaultProps;for(be in F)P.call(F,be)&&!ie.hasOwnProperty(be)&&(le[be]=F[be]===void 0&&xe!==void 0?xe[be]:F[be])}var be=arguments.length-2;if(be===1)le.children=te;else if(1<be){xe=Array(be);for(var De=0;De<be;De++)xe[De]=arguments[De+2];le.children=xe}return{$$typeof:e,type:A.type,key:ue,ref:Ee,props:le,_owner:ee}},h.createContext=function(A){return A={$$typeof:b,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:v,_context:A},A.Consumer=A},h.createElement=ve,h.createFactory=function(A){var F=ve.bind(null,A);return F.type=A,F},h.createRef=function(){return{current:null}},h.forwardRef=function(A){return{$$typeof:w,render:A}},h.isValidElement=Ie,h.lazy=function(A){return{$$typeof:R,_payload:{_status:-1,_result:A},_init:Ct}},h.memo=function(A,F){return{$$typeof:C,type:A,compare:F===void 0?null:F}},h.startTransition=function(A){var F=it.transition;it.transition={};try{A()}finally{it.transition=F}},h.unstable_act=yt,h.useCallback=function(A,F){return $e.current.useCallback(A,F)},h.useContext=function(A){return $e.current.useContext(A)},h.useDebugValue=function(){},h.useDeferredValue=function(A){return $e.current.useDeferredValue(A)},h.useEffect=function(A,F){return $e.current.useEffect(A,F)},h.useId=function(){return $e.current.useId()},h.useImperativeHandle=function(A,F,te){return $e.current.useImperativeHandle(A,F,te)},h.useInsertionEffect=function(A,F){return $e.current.useInsertionEffect(A,F)},h.useLayoutEffect=function(A,F){return $e.current.useLayoutEffect(A,F)},h.useMemo=function(A,F){return $e.current.useMemo(A,F)},h.useReducer=function(A,F,te){return $e.current.useReducer(A,F,te)},h.useRef=function(A){return $e.current.useRef(A)},h.useState=function(A){return $e.current.useState(A)},h.useSyncExternalStore=function(A,F,te){return $e.current.useSyncExternalStore(A,F,te)},h.useTransition=function(){return $e.current.useTransition()},h.version="18.3.1"},2155:(u,h,e)=>{"use strict";u.exports=e(6018)},162:u=>{u.exports=function(e,a,p,d){var g=p?p.call(d,e,a):void 0;if(g!==void 0)return!!g;if(e===a)return!0;if(typeof e!="object"||!e||typeof a!="object"||!a)return!1;var v=Object.keys(e),b=Object.keys(a);if(v.length!==b.length)return!1;for(var w=Object.prototype.hasOwnProperty.bind(a),S=0;S<v.length;S++){var C=v[S];if(!w(C))return!1;var R=e[C],D=a[C];if(g=p?p.call(d,R,D,C):void 0,g===!1||g===void 0&&R!==D)return!1}return!0}}},kt={};function q(u){var h=kt[u];if(h!==void 0)return h.exports;var e=kt[u]={id:u,loaded:!1,exports:{}};return sr[u].call(e.exports,e,e.exports,q),e.loaded=!0,e.exports}q.n=u=>{var h=u&&u.__esModule?()=>u.default:()=>u;return q.d(h,{a:h}),h},q.d=(u,h)=>{for(var e in h)q.o(h,e)&&!q.o(u,e)&&Object.defineProperty(u,e,{enumerable:!0,get:h[e]})},q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),q.o=(u,h)=>Object.prototype.hasOwnProperty.call(u,h),q.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},q.nmd=u=>(u.paths=[],u.children||(u.children=[]),u),q.nc=void 0;var Ht={};return(()=>{"use strict";q.r(Ht),q.d(Ht,{CAppBridge:()=>In,Event:()=>h,ScriptingObject:()=>v,SecurityContext:()=>u});var u=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(u||{});class h{scriptingObject;name;objectId;requiresFeedback;id;constructor(n){const{name:o,requiresFeedback:f=!1,so:y}=n;if(!o)throw new Error("Event name is required");if(!y)throw new Error("Scripting object is required");this.scriptingObject=y,this.objectId=y.id,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase(),this.requiresFeedback=f}}class e{static[Symbol.hasInstance](n){return n.getType?.()==="ProxyEvent"}objectId;name;id;getType(){return"ProxyEvent"}constructor(n){const{name:o,objectId:f}=n;this.objectId=f,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}const a=t=>t instanceof h,p=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,d="function",g=(t,n)=>typeof t===d&&!!n&&!n.startsWith("_");class v{#e;#t="Object";constructor(n,o){this.#e=n,this.#t=o||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const n=[],o=[];return Object.keys(this).forEach(f=>{const y=this[f];a(y)?o.push(f):g(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var b=q(9442);const w="module";var S=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(S||{});class C{#e=new Map;#t=new Map;#r=n=>{const{so:o,guestId:f}=n,y=o.id.toLowerCase(),x=this.#t.get(f);if(!x)this.#t.set(f,new Map([[y,n]]));else{if(x.has(y))throw new Error(`Scripting Object ${o.id} already exists for guest ${f}`);x.set(y,n)}};#n=({so:n})=>{n._dispose&&typeof n._dispose=="function"&&n._dispose()};#o=({objectId:n,guestId:o})=>{if(n===w&&!o)for(const[,y]of this.#t){const x=y.get(n);if(x)return x}const f=o?this.#t.get(o):null;return f?f.get(n)??null:null};#s=({objectId:n,guestId:o}={})=>{if(o){if(!n){const y=this.#t.get(o);y&&y.forEach(this.#n),this.#t.delete(o);return}const f=this.#t.get(o);if(f){const y=f.get(n);y&&this.#n(y),f.delete(n)}}else n&&this.#t.forEach(f=>{const y=f.get(n);y&&this.#n(y),f.delete(n)})};#i=({so:n,guest:o})=>new Proxy(n,{get(f,y,x){const O=f[y];return O instanceof Function&&y!=="constructor"?function(...I){const N=this;return Object.defineProperty(O,"callContext",{value:o,enumerable:!1,writable:!0}),O.apply(N===x?f:N,I)}:O}});addScriptingObject=(n,o)=>{const{guestId:f}=o||{};if(!n?.id||!n?._toJSON)throw new Error("Object is not derived from ScriptingObject");const y=n.id.toLowerCase();if(y.trim().toLowerCase()===w&&!f)throw new Error("Guest id is required to add Module scripting object");if(f){this.#r({so:n,...o,guestId:f});return}if(this.#e.has(y))throw new Error(`Scripting Object ${n.id} already exists`);this.#e.set(y,{so:n,...o})};getObject=(n,o)=>{const f=n.trim().toLowerCase();let y=this.#o({objectId:f,guestId:o?.id});y=y??this.#e.get(f)??null;const{so:x}=y||{};if(!x)return null;if(!o)return x;const O=this.#i({so:x,guest:o});return Object.defineProperty(O,"target",{value:x,enumerable:!1,configurable:!1,writable:!0}),O};removeScriptingObject=(n,o)=>{const f=n.toLowerCase();if(o)this.#s({objectId:f,guestId:o});else{this.#s({objectId:f});const y=this.#e.get(f);y&&this.#n(y),this.#e.delete(f)}};removeAllScriptingObjects=n=>{n?this.#s({guestId:n}):(this.#e.forEach(this.#n),this.#e.clear())}}const D={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let G;const H=new Uint8Array(16);function T(){if(!G&&(G=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!G))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return G(H)}const j=[];for(let t=0;t<256;++t)j.push((t+256).toString(16).slice(1));function $(t,n=0){return j[t[n+0]]+j[t[n+1]]+j[t[n+2]]+j[t[n+3]]+"-"+j[t[n+4]]+j[t[n+5]]+"-"+j[t[n+6]]+j[t[n+7]]+"-"+j[t[n+8]]+j[t[n+9]]+"-"+j[t[n+10]]+j[t[n+11]]+j[t[n+12]]+j[t[n+13]]+j[t[n+14]]+j[t[n+15]]}function V(t,n=0){const o=$(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const X=null;function L(t,n,o){if(D.randomUUID&&!n&&!t)return D.randomUUID();t=t||{};const f=t.random||(t.rng||T)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,n){o=o||0;for(let y=0;y<16;++y)n[o+y]=f[y];return n}return $(f)}const ge=L,P=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{P(f,o)}):typeof t<"u"&&o.push(t),o};class se{#e=new Map;#t=(n,o)=>{const f=new Promise(y=>{setTimeout(()=>{y()},o)});return Promise.race([n,f])};#r=n=>{const{eventName:o,scriptingObject:f,eventParams:y,listeners:x}=n;x.map(async O=>{try{await O.callback({obj:f,eventName:o,eventParams:y})}catch{}})};#n=async({eventId:n,eventName:o,scriptingObject:f,eventParams:y,feedbackWaitTime:x})=>{const I=(this.#e.get(n)||[]).map(k=>this.#t(k.callback({obj:f,eventName:o,eventParams:y}),x)),N=await Promise.all(I);return P(N)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:x},eventParams:O,feedbackWaitTime:I=1e3}=n;if(!o)throw new Error("Event Id is required");const N=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:x,eventParams:O,feedbackWaitTime:I}):(this.#r({eventName:f,scriptingObject:x,eventParams:O,listeners:N}),Promise.resolve())};subscribe=n=>{const{eventId:o,listener:f}=n;if(!o)throw new Error("eventId is required");if(!f)throw new Error("Listener is required");const y=this.#e.get(o)||[],x=ge();return y.push({subscriptionId:x,callback:f}),this.#e.set(o,y),x};unsubscribe=n=>{const{eventId:o,subscriptionId:f}=n;if(!o)throw new Error("eventId id is required");if(f){const y=this.#e.get(o)||[],x=y.findIndex(O=>O.subscriptionId===f);x>-1&&(y.splice(x,1),this.#e.set(o,y))}else this.#e.delete(o)};unsubscribeAll=()=>{this.#e.clear()}}const ie="pui-iframe-container-",ve="pui-app-container-",W={create:(t,n)=>new Promise((o,f)=>{const y=document.createElement("div");y.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const x=document.createElement("iframe");x.setAttribute("id",`${ie}${t}`),x.setAttribute("title",n.title),x.setAttribute("allowfullscreen","true"),x.setAttribute("allowtransparency","true"),x.setAttribute("allow","microphone; camera"),n.sandbox&&x.setAttribute("sandbox",n.sandbox),x.setAttribute("style",n.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),x.setAttribute("src",n.src??"./frame.html"),x.addEventListener("load",()=>{if(!x.contentDocument){f(new Error("Frame content window is null"));return}const k=x.contentDocument.getElementById(ve);k&&(k.id=`${k.id}${t}`),o(x)}),y.appendChild(x);const{containerId:O}=n;(document.getElementById(O??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${ie}${t}`);n&&n.remove()},get:t=>document.getElementById(`${ie}${t}`)},ke=()=>({breakpoints:["512px","768px","1024px"],spaces:["0","4px","8px","12px","16px","32px","48px","56px","64px","72px"],fontSizes:["0.8461rem","0.9230rem","1rem","1.0769rem","1.2307rem","1.3846rem","1.8461rem","2.7692rem"],fontWeights:[100,200,300,400,500,600,700,800,900],lineHeights:["1rem","1.15rem","1.25rem","1.5rem"],letterSpacings:["normal","0.1rem","-0.05rem","0.25rem"],fonts:["proxima-nova, Arial, sans-serif"],colors:{neutral:["#FFFFFF","#F6F7F9","#EBEDF0","#E0E3E8","#CBCFD7","#B0B9C8","#8C93A6","#697489","#464F5C","#353C46","#25292F"],brand:["#F6FBFF","#EBF6FF","#A3D6FF","#52A6EC","#1394E5","#1E79C2","#006AA9","#005181"],success:["#E1F4ED","#E1F4ED","#289F6B","#207E56","#185D44"],warning:["#FFEFD8","#E06C29","#B25119","#853C12"],danger:["#FBEBED","#FBEBED","#ED5A64","#C64252","#A11B2B"]},shadows:["0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2)","0 6px 20px 0 rgba(0, 0, 0, 0.24), 0 8px 17px 0 rgba(0, 0, 0, 0.19)","0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)","0 16px 28px 0 rgba(0, 0, 0, 0.24), 0 25px 55px 0 rgba(0, 0, 0, 0.19)","0 27px 24px 0 rgba(0, 0, 0, 0.24), 0 40px 77px 0 rgba(0, 0, 0, 0.19)"],zIndex:[1e3,2e3,3e3,500,4e3],states:[null,"@media (prefers-reduced-motion: no-preference)","@media (prefers-reduced-motion: reduce)","&:first-child","&:last-child","&:odd","&:even","&:visited","&:checked","&:focus-within","&:hover","&:focus","&:focus-visible","&:active","&:disabled, &[aria-disabled=true]","&::placeholder"]});var Le=q(7020),ye=q(2155),Ct=q(162),$e=q.n(Ct);function it(t){function n(B,z,U,Z,E){for(var fe=0,M=0,je=0,de=0,me,J,Ne=0,Ve=0,oe,Ge=oe=me=0,he=0,ze=0,Ft=0,Ue=0,Gt=U.length,Mt=Gt-1,Qe,Y="",Re="",nr="",or="",dt;he<Gt;){if(J=U.charCodeAt(he),he===Mt&&M+de+je+fe!==0&&(M!==0&&(J=M===47?10:47),de=je=fe=0,Gt++,Mt++),M+de+je+fe===0){if(he===Mt&&(0<ze&&(Y=Y.replace(ce,"")),0<Y.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:Y+=U.charAt(he)}J=59}switch(J){case 123:for(Y=Y.trim(),me=Y.charCodeAt(0),oe=1,Ue=++he;he<Gt;){switch(J=U.charCodeAt(he)){case 123:oe++;break;case 125:oe--;break;case 47:switch(J=U.charCodeAt(he+1)){case 42:case 47:e:{for(Ge=he+1;Ge<Mt;++Ge)switch(U.charCodeAt(Ge)){case 47:if(J===42&&U.charCodeAt(Ge-1)===42&&he+2!==Ge){he=Ge+1;break e}break;case 10:if(J===47){he=Ge+1;break e}}he=Ge}}break;case 91:J++;case 40:J++;case 34:case 39:for(;he++<Mt&&U.charCodeAt(he)!==J;);}if(oe===0)break;he++}switch(oe=U.substring(Ue,he),me===0&&(me=(Y=Y.replace(Q,"").trim()).charCodeAt(0)),me){case 64:switch(0<ze&&(Y=Y.replace(ce,"")),J=Y.charCodeAt(1),J){case 100:case 109:case 115:case 45:ze=z;break;default:ze=Pt}if(oe=n(z,ze,oe,J,E+1),Ue=oe.length,0<Xe&&(ze=o(Pt,Y,Ft),dt=I(3,oe,ze,z,Ze,We,Ue,J,E,Z),Y=ze.join(""),dt!==void 0&&(Ue=(oe=dt.trim()).length)===0&&(J=0,oe="")),0<Ue)switch(J){case 115:Y=Y.replace(pt,O);case 100:case 109:case 45:oe=Y+"{"+oe+"}";break;case 107:Y=Y.replace(ne,"$1 $2"),oe=Y+"{"+oe+"}",oe=He===1||He===2&&x("@"+oe,3)?"@-webkit-"+oe+"@"+oe:"@"+oe;break;default:oe=Y+oe,Z===112&&(oe=(Re+=oe,""))}else oe="";break;default:oe=n(z,o(z,Y,Ft),oe,Z,E+1)}nr+=oe,oe=Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he);break;case 125:case 59:if(Y=(0<ze?Y.replace(ce,""):Y).trim(),1<(Ue=Y.length))switch(Ge===0&&(me=Y.charCodeAt(0),me===45||96<me&&123>me)&&(Ue=(Y=Y.replace(" ",":")).length),0<Xe&&(dt=I(1,Y,z,B,Ze,We,Re.length,Z,E,Z))!==void 0&&(Ue=(Y=dt.trim()).length)===0&&(Y="\0\0"),me=Y.charCodeAt(0),J=Y.charCodeAt(1),me){case 0:break;case 64:if(J===105||J===99){or+=Y+U.charAt(he);break}default:Y.charCodeAt(Ue-1)!==58&&(Re+=y(Y,me,J,Y.charCodeAt(2)))}Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he)}}switch(J){case 13:case 10:M===47?M=0:1+me===0&&Z!==107&&0<Y.length&&(ze=1,Y+="\0"),0<Xe*Ot&&I(0,Y,z,B,Ze,We,Re.length,Z,E,Z),We=1,Ze++;break;case 59:case 125:if(M+de+je+fe===0){We++;break}default:switch(We++,Qe=U.charAt(he),J){case 9:case 32:if(de+fe+M===0)switch(Ne){case 44:case 58:case 9:case 32:Qe="";break;default:J!==32&&(Qe=" ")}break;case 0:Qe="\\0";break;case 12:Qe="\\f";break;case 11:Qe="\\v";break;case 38:de+M+fe===0&&(ze=Ft=1,Qe="\f"+Qe);break;case 108:if(de+M+fe+ot===0&&0<Ge)switch(he-Ge){case 2:Ne===112&&U.charCodeAt(he-3)===58&&(ot=Ne);case 8:Ve===111&&(ot=Ve)}break;case 58:de+M+fe===0&&(Ge=he);break;case 44:M+je+de+fe===0&&(ze=1,Qe+="\r");break;case 34:case 39:M===0&&(de=de===J?0:de===0?J:de);break;case 91:de+M+je===0&&fe++;break;case 93:de+M+je===0&&fe--;break;case 41:de+M+fe===0&&je--;break;case 40:if(de+M+fe===0){if(me===0)switch(2*Ne+3*Ve){case 533:break;default:me=1}je++}break;case 64:M+je+de+fe+Ge+oe===0&&(oe=1);break;case 42:case 47:if(!(0<de+fe+je))switch(M){case 0:switch(2*J+3*U.charCodeAt(he+1)){case 235:M=47;break;case 220:Ue=he,M=42}break;case 42:J===47&&Ne===42&&Ue+2!==he&&(U.charCodeAt(Ue+2)===33&&(Re+=U.substring(Ue,he+1)),Qe="",M=0)}}M===0&&(Y+=Qe)}Ve=Ne,Ne=J,he++}if(Ue=Re.length,0<Ue){if(ze=z,0<Xe&&(dt=I(2,Re,ze,B,Ze,We,Ue,Z,E,Z),dt!==void 0&&(Re=dt).length===0))return or+Re+nr;if(Re=ze.join(",")+"{"+Re+"}",He*ot!==0){switch(He!==2||x(Re,2)||(ot=0),ot){case 111:Re=Re.replace(Ce,":-moz-$1")+Re;break;case 112:Re=Re.replace(Me,"::-webkit-input-$1")+Re.replace(Me,"::-moz-$1")+Re.replace(Me,":-ms-input-$1")+Re}ot=0}}return or+Re+nr}function o(B,z,U){var Z=z.trim().split(_);z=Z;var E=Z.length,fe=B.length;switch(fe){case 0:case 1:var M=0;for(B=fe===0?"":B[0]+" ";M<E;++M)z[M]=f(B,z[M],U).trim();break;default:var je=M=0;for(z=[];M<E;++M)for(var de=0;de<fe;++de)z[je++]=f(B[de]+" ",Z[M],U).trim()}return z}function f(B,z,U){var Z=z.charCodeAt(0);switch(33>Z&&(Z=(z=z.trim()).charCodeAt(0)),Z){case 38:return z.replace(Se,"$1"+B.trim());case 58:return B.trim()+z.replace(Se,"$1"+B.trim());default:if(0<1*U&&0<z.indexOf("\f"))return z.replace(Se,(B.charCodeAt(0)===58?"":"$1")+B.trim())}return B+z}function y(B,z,U,Z){var E=B+";",fe=2*z+3*U+4*Z;if(fe===944){B=E.indexOf(":",9)+1;var M=E.substring(B,E.length-1).trim();return M=E.substring(0,B).trim()+M+";",He===1||He===2&&x(M,1)?"-webkit-"+M+M:M}if(He===0||He===2&&!x(E,1))return E;switch(fe){case 1015:return E.charCodeAt(10)===97?"-webkit-"+E+E:E;case 951:return E.charCodeAt(3)===116?"-webkit-"+E+E:E;case 963:return E.charCodeAt(5)===110?"-webkit-"+E+E:E;case 1009:if(E.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+E+E;case 978:return"-webkit-"+E+"-moz-"+E+E;case 1019:case 983:return"-webkit-"+E+"-moz-"+E+"-ms-"+E+E;case 883:if(E.charCodeAt(8)===45)return"-webkit-"+E+E;if(0<E.indexOf("image-set(",11))return E.replace(Et,"$1-webkit-$2")+E;break;case 932:if(E.charCodeAt(4)===45)switch(E.charCodeAt(5)){case 103:return"-webkit-box-"+E.replace("-grow","")+"-webkit-"+E+"-ms-"+E.replace("grow","positive")+E;case 115:return"-webkit-"+E+"-ms-"+E.replace("shrink","negative")+E;case 98:return"-webkit-"+E+"-ms-"+E.replace("basis","preferred-size")+E}return"-webkit-"+E+"-ms-"+E+E;case 964:return"-webkit-"+E+"-ms-flex-"+E+E;case 1023:if(E.charCodeAt(8)!==99)break;return M=E.substring(E.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+M+"-webkit-"+E+"-ms-flex-pack"+M+E;case 1005:return re.test(E)?E.replace(Oe,":-webkit-")+E.replace(Oe,":-moz-")+E:E;case 1e3:switch(M=E.substring(13).trim(),z=M.indexOf("-")+1,M.charCodeAt(0)+M.charCodeAt(z)){case 226:M=E.replace(Pe,"tb");break;case 232:M=E.replace(Pe,"tb-rl");break;case 220:M=E.replace(Pe,"lr");break;default:return E}return"-webkit-"+E+"-ms-"+M+E;case 1017:if(E.indexOf("sticky",9)===-1)break;case 975:switch(z=(E=B).length-10,M=(E.charCodeAt(z)===33?E.substring(0,z):E).substring(B.indexOf(":",7)+1).trim(),fe=M.charCodeAt(0)+(M.charCodeAt(7)|0)){case 203:if(111>M.charCodeAt(8))break;case 115:E=E.replace(M,"-webkit-"+M)+";"+E;break;case 207:case 102:E=E.replace(M,"-webkit-"+(102<fe?"inline-":"")+"box")+";"+E.replace(M,"-webkit-"+M)+";"+E.replace(M,"-ms-"+M+"box")+";"+E}return E+";";case 938:if(E.charCodeAt(5)===45)switch(E.charCodeAt(6)){case 105:return M=E.replace("-items",""),"-webkit-"+E+"-webkit-box-"+M+"-ms-flex-"+M+E;case 115:return"-webkit-"+E+"-ms-flex-item-"+E.replace(Ye,"")+E;default:return"-webkit-"+E+"-ms-flex-line-pack"+E.replace("align-content","").replace(Ye,"")+E}break;case 973:case 989:if(E.charCodeAt(3)!==45||E.charCodeAt(4)===122)break;case 931:case 953:if(ft.test(B)===!0)return(M=B.substring(B.indexOf(":")+1)).charCodeAt(0)===115?y(B.replace("stretch","fill-available"),z,U,Z).replace(":fill-available",":stretch"):E.replace(M,"-webkit-"+M)+E.replace(M,"-moz-"+M.replace("fill-",""))+E;break;case 962:if(E="-webkit-"+E+(E.charCodeAt(5)===102?"-ms-"+E:"")+E,U+Z===211&&E.charCodeAt(13)===105&&0<E.indexOf("transform",10))return E.substring(0,E.indexOf(";",27)+1).replace(pe,"$1-webkit-$2")+E}return E}function x(B,z){var U=B.indexOf(z===1?":":"{"),Z=B.substring(0,z!==3?U:10);return U=B.substring(U+1,B.length-1),Rt(z!==2?Z:Z.replace(nt,"$1"),U,z)}function O(B,z){var U=y(z,z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2));return U!==z+";"?U.replace(At," or ($1)").substring(4):"("+z+")"}function I(B,z,U,Z,E,fe,M,je,de,me){for(var J=0,Ne=z,Ve;J<Xe;++J)switch(Ve=Je[J].call(K,B,Ne,U,Z,E,fe,M,je,de,me)){case void 0:case!1:case!0:case null:break;default:Ne=Ve}if(Ne!==z)return Ne}function N(B){switch(B){case void 0:case null:Xe=Je.length=0;break;default:if(typeof B=="function")Je[Xe++]=B;else if(typeof B=="object")for(var z=0,U=B.length;z<U;++z)N(B[z]);else Ot=!!B|0}return N}function k(B){return B=B.prefix,B!==void 0&&(Rt=null,B?typeof B!="function"?He=1:(He=2,Rt=B):He=0),k}function K(B,z){var U=B;if(33>U.charCodeAt(0)&&(U=U.trim()),$t=U,U=[$t],0<Xe){var Z=I(-1,z,U,U,Ze,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(z=Z)}var E=n(Pt,U,z,0,0);return 0<Xe&&(Z=I(-2,E,U,U,Ze,We,E.length,0,0,0),Z!==void 0&&(E=Z)),$t="",ot=0,We=Ze=1,E}var Q=/^\0+/g,ce=/[\0\r\f]/g,Oe=/: */g,re=/zoo|gra/,pe=/([,: ])(transform)/g,_=/,\r+?/g,Se=/([\t\r\n ])*\f?&/g,ne=/@(k\w+)\s*(\S*)\s*/,Me=/::(place)/g,Ce=/:(read-only)/g,Pe=/[svh]\w+-[tblr]{2}/,pt=/\(\s*(.*)\s*\)/g,At=/([\s\S]*?);/g,Ye=/-self|flex-/g,nt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ft=/stretch|:\s*\w+\-(?:conte|avail)/,Et=/([^-])(image-set\()/,We=1,Ze=1,ot=0,He=1,Pt=[],Je=[],Xe=0,Rt=null,Ot=0,$t="";return K.use=N,K.set=k,t!==void 0&&k(t),K}const vt=it;var yt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const A=yt;function F(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var te=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,le=F(function(t){return te.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ue=q(4674),Ee=q.n(ue);function ee(){return(ee=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(t[f]=o[f])}return t}).apply(this,arguments)}var xe=function(t,n){for(var o=[t[0]],f=0,y=n.length;f<y;f+=1)o.push(n[f],t[f+1]);return o},be=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,Le.typeOf)(t)},De=Object.freeze([]),_e=Object.freeze({});function at(t){return typeof t=="function"}function Tt(t){return t.displayName||t.name||"Component"}function jt(t){return t&&typeof t.styledComponentId=="string"}var qe=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="5.3.11",ct=typeof window<"u"&&"HTMLElement"in window,ae=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY)),lt={},ht={};function ir(){for(var t=arguments.length<=0?void 0:arguments[0],n=[],o=1,f=arguments.length;o<f;o+=1)n.push(o<0||arguments.length<=o?void 0:arguments[o]);return n.forEach(function(y){t=t.replace(/%[a-z]/,y)}),t}function Be(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var et=function(){function t(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}var n=t.prototype;return n.indexOfGroup=function(o){for(var f=0,y=0;y<o;y++)f+=this.groupSizes[y];return f},n.insertRules=function(o,f){if(o>=this.groupSizes.length){for(var y=this.groupSizes,x=y.length,O=x;o>=O;)(O<<=1)<0&&Be(16,""+o);this.groupSizes=new Uint32Array(O),this.groupSizes.set(y),this.length=O;for(var I=x;I<O;I++)this.groupSizes[I]=0}for(var N=this.indexOfGroup(o+1),k=0,K=f.length;k<K;k++)this.tag.insertRule(N,f[k])&&(this.groupSizes[o]++,N++)},n.clearGroup=function(o){if(o<this.length){var f=this.groupSizes[o],y=this.indexOfGroup(o),x=y+f;this.groupSizes[o]=0;for(var O=y;O<x;O++)this.tag.deleteRule(y)}},n.getGroup=function(o){var f="";if(o>=this.length||this.groupSizes[o]===0)return f;for(var y=this.groupSizes[o],x=this.indexOfGroup(o),O=x+y,I=x;I<O;I++)f+=this.tag.getRule(I)+`/*!sc*/
17
17
  `;return f},t}(),Fe=new Map,st=new Map,tt=1,bt=function(t){if(Fe.has(t))return Fe.get(t);for(;st.has(tt);)tt++;var n=tt++;return Fe.set(t,n),st.set(n,t),n},Dt=function(t){return st.get(t)},ut=function(t,n){n>=tt&&(tt=n+1),Fe.set(t,n),st.set(n,t)},Lt="style["+qe+'][data-styled-version="5.3.11"]',Nt=new RegExp("^"+qe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Vt=function(t,n,o){for(var f,y=o.split(","),x=0,O=y.length;x<O;x++)(f=y[x])&&t.registerName(n,f)},zt=function(t,n){for(var o=(n.textContent||"").split(`/*!sc*/
18
18
  `),f=[],y=0,x=o.length;y<x;y++){var O=o[y].trim();if(O){var I=O.match(Nt);if(I){var N=0|parseInt(I[1],10),k=I[2];N!==0&&(ut(k,N),Vt(t,k,I[3]),t.getTag().insertRules(N,f)),f.length=0}else f.push(O)}}},Ke=function(){return q.nc},rt=function(t){var n=document.head,o=t||n,f=document.createElement("style"),y=function(I){for(var N=I.childNodes,k=N.length;k>=0;k--){var K=N[k];if(K&&K.nodeType===1&&K.hasAttribute(qe))return K}}(o),x=y!==void 0?y.nextSibling:null;f.setAttribute(qe,"active"),f.setAttribute("data-styled-version","5.3.11");var O=Ke();return O&&f.setAttribute("nonce",O),o.insertBefore(f,x),f},Ir=function(){function t(o){var f=this.element=rt(o);f.appendChild(document.createTextNode("")),this.sheet=function(y){if(y.sheet)return y.sheet;for(var x=document.styleSheets,O=0,I=x.length;O<I;O++){var N=x[O];if(N.ownerNode===y)return N}Be(17)}(f),this.length=0}var n=t.prototype;return n.insertRule=function(o,f){try{return this.sheet.insertRule(f,o),this.length++,!0}catch{return!1}},n.deleteRule=function(o){this.sheet.deleteRule(o),this.length--},n.getRule=function(o){var f=this.sheet.cssRules[o];return f!==void 0&&typeof f.cssText=="string"?f.cssText:""},t}(),Pr=function(){function t(o){var f=this.element=rt(o);this.nodes=f.childNodes,this.length=0}var n=t.prototype;return n.insertRule=function(o,f){if(o<=this.length&&o>=0){var y=document.createTextNode(f),x=this.nodes[o];return this.element.insertBefore(y,x||null),this.length++,!0}return!1},n.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},n.getRule=function(o){return o<this.length?this.nodes[o].textContent:""},t}(),Rr=function(){function t(o){this.rules=[],this.length=0}var n=t.prototype;return n.insertRule=function(o,f){return o<=this.length&&(this.rules.splice(o,0,f),this.length++,!0)},n.deleteRule=function(o){this.rules.splice(o,1),this.length--},n.getRule=function(o){return o<this.length?this.rules[o]:""},t}(),ar=ct,$r={isServer:!ct,useCSSOMInjection:!ae},wt=function(){function t(o,f,y){o===void 0&&(o=_e),f===void 0&&(f={}),this.options=ee({},$r,{},o),this.gs=f,this.names=new Map(y),this.server=!!o.isServer,!this.server&&ct&&ar&&(ar=!1,function(x){for(var O=document.querySelectorAll(Lt),I=0,N=O.length;I<N;I++){var k=O[I];k&&k.getAttribute(qe)!=="active"&&(zt(x,k),k.parentNode&&k.parentNode.removeChild(k))}}(this))}t.registerId=function(o){return bt(o)};var n=t.prototype;return n.reconstructWithOptions=function(o,f){return f===void 0&&(f=!0),new t(ee({},this.options,{},o),this.gs,f&&this.names||void 0)},n.allocateGSInstance=function(o){return this.gs[o]=(this.gs[o]||0)+1},n.getTag=function(){return this.tag||(this.tag=(y=(f=this.options).isServer,x=f.useCSSOMInjection,O=f.target,o=y?new Rr(O):x?new Ir(O):new Pr(O),new et(o)));var o,f,y,x,O},n.hasNameForId=function(o,f){return this.names.has(o)&&this.names.get(o).has(f)},n.registerName=function(o,f){if(bt(o),this.names.has(o))this.names.get(o).add(f);else{var y=new Set;y.add(f),this.names.set(o,y)}},n.insertRules=function(o,f,y){this.registerName(o,f),this.getTag().insertRules(bt(o),y)},n.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},n.clearRules=function(o){this.getTag().clearGroup(bt(o)),this.clearNames(o)},n.clearTag=function(){this.tag=void 0},n.toString=function(){return function(o){for(var f=o.getTag(),y=f.length,x="",O=0;O<y;O++){var I=Dt(O);if(I!==void 0){var N=o.names.get(I),k=f.getGroup(O);if(N&&k&&N.size){var K=qe+".g"+O+'[id="'+I+'"]',Q="";N!==void 0&&N.forEach(function(ce){ce.length>0&&(Q+=ce+",")}),x+=""+k+K+'{content:"'+Q+`"}/*!sc*/
19
19
  `}}}return x}(this)},t}(),Fr=/(a)(d)/gi,cr=function(t){return String.fromCharCode(t+(t>25?39:97))};function Wt(t){var n,o="";for(n=Math.abs(t);n>52;n=n/52|0)o=cr(n%52)+o;return(cr(n%52)+o).replace(Fr,"$1-$2")}var xt=function(t,n){for(var o=n.length;o;)t=33*t^n.charCodeAt(--o);return t},lr=function(t){return xt(5381,t)};function ur(t){for(var n=0;n<t.length;n+=1){var o=t[n];if(at(o)&&!jt(o))return!1}return!0}var Mr=lr("5.3.11"),kr=function(){function t(n,o,f){this.rules=n,this.staticRulesId="",this.isStatic=(f===void 0||f.isStatic)&&ur(n),this.componentId=o,this.baseHash=xt(Mr,o),this.baseStyle=f,wt.registerId(o)}return t.prototype.generateAndInjectStyles=function(n,o,f){var y=this.componentId,x=[];if(this.baseStyle&&x.push(this.baseStyle.generateAndInjectStyles(n,o,f)),this.isStatic&&!f.hash)if(this.staticRulesId&&o.hasNameForId(y,this.staticRulesId))x.push(this.staticRulesId);else{var O=gt(this.rules,n,o,f).join(""),I=Wt(xt(this.baseHash,O)>>>0);if(!o.hasNameForId(y,I)){var N=f(O,"."+I,void 0,y);o.insertRules(y,I,N)}x.push(I),this.staticRulesId=I}else{for(var k=this.rules.length,K=xt(this.baseHash,f.hash),Q="",ce=0;ce<k;ce++){var Oe=this.rules[ce];if(typeof Oe=="string")Q+=Oe;else if(Oe){var re=gt(Oe,n,o,f),pe=Array.isArray(re)?re.join(""):re;K=xt(K,pe+ce),Q+=pe}}if(Q){var _=Wt(K>>>0);if(!o.hasNameForId(y,_)){var Se=f(Q,"."+_,void 0,y);o.insertRules(y,_,Se)}x.push(_)}}return x.join(" ")},t}(),Dr=/^\s*\/\/.*$/gm,Lr=[":","[",".","#"];function pr(t){var n,o,f,y,x=t===void 0?_e:t,O=x.options,I=O===void 0?_e:O,N=x.plugins,k=N===void 0?De:N,K=new vt(I),Q=[],ce=function(pe){function _(Se){if(Se)try{pe(Se+"}")}catch{}}return function(Se,ne,Me,Ce,Pe,pt,At,Ye,nt,ft){switch(Se){case 1:if(nt===0&&ne.charCodeAt(0)===64)return pe(ne+";"),"";break;case 2:if(Ye===0)return ne+"/*|*/";break;case 3:switch(Ye){case 102:case 112:return pe(Me[0]+ne),"";default:return ne+(ft===0?"/*|*/":"")}case-2:ne.split("/*|*/}").forEach(_)}}}(function(pe){Q.push(pe)}),Oe=function(pe,_,Se){return _===0&&Lr.indexOf(Se[o.length])!==-1||Se.match(y)?pe:"."+n};function re(pe,_,Se,ne){ne===void 0&&(ne="&");var Me=pe.replace(Dr,""),Ce=_&&Se?Se+" "+_+" { "+Me+" }":Me;return n=ne,o=_,f=new RegExp("\\"+o+"\\b","g"),y=new RegExp("(\\"+o+"\\b){2,}"),K(Se||!_?"":_,Ce)}return K.use([].concat(k,[function(pe,_,Se){pe===2&&Se.length&&Se[0].lastIndexOf(o)>0&&(Se[0]=Se[0].replace(f,Oe))},ce,function(pe){if(pe===-2){var _=Q;return Q=[],_}}])),re.hash=k.length?k.reduce(function(pe,_){return _.name||Be(15),xt(pe,_.name)},5381).toString():"",re}var Kt=ye.createContext(),Pn=Kt.Consumer,Yt=ye.createContext(),fr=(Yt.Consumer,new wt),Xt=pr();function Zt(){return(0,ye.useContext)(Kt)||fr}function dr(){return(0,ye.useContext)(Yt)||Xt}function Nr(t){var n=(0,ye.useState)(t.stylisPlugins),o=n[0],f=n[1],y=Zt(),x=(0,ye.useMemo)(function(){var I=y;return t.sheet?I=t.sheet:t.target&&(I=I.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(I=I.reconstructWithOptions({useCSSOMInjection:!1})),I},[t.disableCSSOMInjection,t.sheet,t.target]),O=(0,ye.useMemo)(function(){return pr({options:{prefix:!t.disableVendorPrefixes},plugins:o})},[t.disableVendorPrefixes,o]);return(0,ye.useEffect)(function(){$e()(o,t.stylisPlugins)||f(t.stylisPlugins)},[t.stylisPlugins]),ye.createElement(Kt.Provider,{value:x},ye.createElement(Yt.Provider,{value:O},t.children))}var hr=function(){function t(n,o){var f=this;this.inject=function(y,x){x===void 0&&(x=Xt);var O=f.name+x.hash;y.hasNameForId(f.id,O)||y.insertRules(f.id,O,x(f.rules,O,"@keyframes"))},this.toString=function(){return Be(12,String(f.name))},this.name=n,this.id="sc-keyframes-"+n,this.rules=o}return t.prototype.getName=function(n){return n===void 0&&(n=Xt),this.name+n.hash},t}(),zr=/([A-Z])/,Ur=/([A-Z])/g,Br=/^ms-/,Gr=function(t){return"-"+t.toLowerCase()};function gr(t){return zr.test(t)?t.replace(Ur,Gr).replace(Br,"-ms-"):t}var mr=function(t){return t==null||t===!1||t===""};function gt(t,n,o,f){if(Array.isArray(t)){for(var y,x=[],O=0,I=t.length;O<I;O+=1)(y=gt(t[O],n,o,f))!==""&&(Array.isArray(y)?x.push.apply(x,y):x.push(y));return x}if(mr(t))return"";if(jt(t))return"."+t.styledComponentId;if(at(t)){if(typeof(k=t)!="function"||k.prototype&&k.prototype.isReactComponent||!n)return t;var N=t(n);return gt(N,n,o,f)}var k;return t instanceof hr?o?(t.inject(o,f),t.getName(f)):t:be(t)?function K(Q,ce){var Oe,re,pe=[];for(var _ in Q)Q.hasOwnProperty(_)&&!mr(Q[_])&&(Array.isArray(Q[_])&&Q[_].isCss||at(Q[_])?pe.push(gr(_)+":",Q[_],";"):be(Q[_])?pe.push.apply(pe,K(Q[_],_)):pe.push(gr(_)+": "+(Oe=_,(re=Q[_])==null||typeof re=="boolean"||re===""?"":typeof re!="number"||re===0||Oe in A||Oe.startsWith("--")?String(re).trim():re+"px")+";"));return ce?[ce+" {"].concat(pe,["}"]):pe}(t):t.toString()}var vr=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function It(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];return at(t)||be(t)?vr(gt(xe(De,[t].concat(o)))):o.length===0&&t.length===1&&typeof t[0]=="string"?t:vr(gt(xe(t,o)))}var Rn=/invalid hook call/i,$n=new Set,Fn=function(t,n){if(0)var o,f,y},Jt=function(t,n,o){return o===void 0&&(o=_e),t.theme!==o.theme&&t.theme||n||o.theme},Hr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vr=/(^-|-$)/g;function Qt(t){return t.replace(Hr,"-").replace(Vr,"")}var _t=function(t){return Wt(lr(t)>>>0)};function Ut(t){return typeof t=="string"&&!0}var qt=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Wr=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function Kr(t,n,o){var f=t[o];qt(n)&&qt(f)?yr(f,n):t[o]=n}function yr(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];for(var y=0,x=o;y<x.length;y++){var O=x[y];if(qt(O))for(var I in O)Wr(I)&&Kr(t,O[I],I)}return t}var mt=ye.createContext(),Mn=mt.Consumer;function kn(t){var n=s(mt),o=i(function(){return function(f,y){if(!f)return Be(14);if(at(f)){var x=f(y);return x}return Array.isArray(f)||typeof f!="object"?Be(8):y?ee({},y,{},f):f}(t.theme,n)},[t.theme,n]);return t.children?r.createElement(mt.Provider,{value:o},t.children):null}var er={};function br(t,n,o){var f=jt(t),y=!Ut(t),x=n.attrs,O=x===void 0?De:x,I=n.componentId,N=I===void 0?function(ne,Me){var Ce=typeof ne!="string"?"sc":Qt(ne);er[Ce]=(er[Ce]||0)+1;var Pe=Ce+"-"+_t("5.3.11"+Ce+er[Ce]);return Me?Me+"-"+Pe:Pe}(n.displayName,n.parentComponentId):I,k=n.displayName,K=k===void 0?function(ne){return Ut(ne)?"styled."+ne:"Styled("+Tt(ne)+")"}(t):k,Q=n.displayName&&n.componentId?Qt(n.displayName)+"-"+n.componentId:n.componentId||N,ce=f&&t.attrs?Array.prototype.concat(t.attrs,O).filter(Boolean):O,Oe=n.shouldForwardProp;f&&t.shouldForwardProp&&(Oe=n.shouldForwardProp?function(ne,Me,Ce){return t.shouldForwardProp(ne,Me,Ce)&&n.shouldForwardProp(ne,Me,Ce)}:t.shouldForwardProp);var re,pe=new kr(o,Q,f?t.componentStyle:void 0),_=pe.isStatic&&O.length===0,Se=function(ne,Me){return function(Ce,Pe,pt,At){var Ye=Ce.attrs,nt=Ce.componentStyle,ft=Ce.defaultProps,Et=Ce.foldedComponentIds,We=Ce.shouldForwardProp,Ze=Ce.styledComponentId,ot=Ce.target,He=function(Z,E,fe){Z===void 0&&(Z=_e);var M=ee({},E,{theme:Z}),je={};return fe.forEach(function(de){var me,J,Ne,Ve=de;for(me in at(Ve)&&(Ve=Ve(M)),Ve)M[me]=je[me]=me==="className"?(J=je[me],Ne=Ve[me],J&&Ne?J+" "+Ne:J||Ne):Ve[me]}),[M,je]}(Jt(Pe,(0,ye.useContext)(mt),ft)||_e,Pe,Ye),Pt=He[0],Je=He[1],Xe=function(Z,E,fe,M){var je=Zt(),de=dr(),me=E?Z.generateAndInjectStyles(_e,je,de):Z.generateAndInjectStyles(fe,je,de);return me}(nt,At,Pt,void 0),Rt=pt,Ot=Je.$as||Pe.$as||Je.as||Pe.as||ot,$t=Ut(Ot),B=Je!==Pe?ee({},Pe,{},Je):Pe,z={};for(var U in B)U[0]!=="$"&&U!=="as"&&(U==="forwardedAs"?z.as=B[U]:(We?We(U,le,Ot):!$t||le(U))&&(z[U]=B[U]));return Pe.style&&Je.style!==Pe.style&&(z.style=ee({},Pe.style,{},Je.style)),z.className=Array.prototype.concat(Et,Ze,Xe!==Ze?Xe:null,Pe.className,Je.className).filter(Boolean).join(" "),z.ref=Rt,(0,ye.createElement)(Ot,z)}(re,ne,Me,_)};return Se.displayName=K,(re=ye.forwardRef(Se)).attrs=ce,re.componentStyle=pe,re.displayName=K,re.shouldForwardProp=Oe,re.foldedComponentIds=f?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):De,re.styledComponentId=Q,re.target=f?t.target:t,re.withComponent=function(ne){var Me=n.componentId,Ce=function(pt,At){if(pt==null)return{};var Ye,nt,ft={},Et=Object.keys(pt);for(nt=0;nt<Et.length;nt++)Ye=Et[nt],At.indexOf(Ye)>=0||(ft[Ye]=pt[Ye]);return ft}(n,["componentId"]),Pe=Me&&Me+"-"+(Ut(ne)?ne:Qt(Tt(ne)));return br(ne,ee({},Ce,{attrs:ce,componentId:Pe}),o)},Object.defineProperty(re,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(ne){this._foldedDefaultProps=f?yr({},t.defaultProps,ne):ne}}),Object.defineProperty(re,"toString",{value:function(){return"."+re.styledComponentId}}),y&&Ee()(re,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),re}var wr=function(t){return function n(o,f,y){if(y===void 0&&(y=_e),!(0,Le.isValidElementType)(f))return Be(1,String(f));var x=function(){return o(f,y,It.apply(void 0,arguments))};return x.withConfig=function(O){return n(o,f,ee({},y,{},O))},x.attrs=function(O){return n(o,f,ee({},y,{attrs:Array.prototype.concat(y.attrs,O).filter(Boolean)}))},x}(br,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){wr[t]=wr(t)});var Yr=function(){function t(o,f){this.rules=o,this.componentId=f,this.isStatic=ur(o),wt.registerId(this.componentId+1)}var n=t.prototype;return n.createStyles=function(o,f,y,x){var O=x(gt(this.rules,f,y,x).join(""),""),I=this.componentId+o;y.insertRules(I,I,O)},n.removeStyles=function(o,f){f.clearRules(this.componentId+o)},n.renderStyles=function(o,f,y,x){o>2&&wt.registerId(this.componentId+o),this.removeStyles(o,y),this.createStyles(o,f,y,x)},t}();function Dn(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];var y=It.apply(void 0,[t].concat(o)),x="sc-global-"+_t(JSON.stringify(y)),O=new Yr(y,x);function I(k){var K=Zt(),Q=dr(),ce=s(mt),Oe=c(K.allocateGSInstance(x)).current;return K.server&&N(Oe,k,K,ce,Q),l(function(){if(!K.server)return N(Oe,k,K,ce,Q),function(){return O.removeStyles(Oe,K)}},[Oe,k,K,ce,Q]),null}function N(k,K,Q,ce,Oe){if(O.isStatic)O.renderStyles(k,lt,Q,Oe);else{var re=ee({},K,{theme:Jt(K,ce,I.defaultProps)});O.renderStyles(k,re,Q,Oe)}}return r.memo(I)}function Ln(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];var y=It.apply(void 0,[t].concat(o)).join(""),x=_t(y);return new hr(x,y)}var Nn=function(){function t(){var o=this;this._emitSheetCSS=function(){var f=o.instance.toString();if(!f)return"";var y=Ke();return"<style "+[y&&'nonce="'+y+'"',qe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+f+"</style>"},this.getStyleTags=function(){return o.sealed?Be(2):o._emitSheetCSS()},this.getStyleElement=function(){var f;if(o.sealed)return Be(2);var y=((f={})[qe]="",f["data-styled-version"]="5.3.11",f.dangerouslySetInnerHTML={__html:o.instance.toString()},f),x=Ke();return x&&(y.nonce=x),[ye.createElement("style",ee({},y,{key:"sc-0-0"}))]},this.seal=function(){o.sealed=!0},this.instance=new wt({isServer:!0}),this.sealed=!1}var n=t.prototype;return n.collectStyles=function(o){return this.sealed?Be(2):ye.createElement(Nr,{sheet:this.instance},o)},n.interleaveWithNodeStream=function(o){return Be(3)},t}(),zn=function(t){var n=r.forwardRef(function(o,f){var y=s(mt),x=t.defaultProps,O=Jt(o,y,x);return r.createElement(t,ee({},o,{theme:O,ref:f}))});return m(n,t),n.displayName="WithTheme("+Tt(t)+")",n},Un=function(){return s(mt)},Bn={StyleSheet:wt,masterSheet:fr};const Gn=null,Xr=t=>Object.keys(t).reduce((n,o)=>(n[o]=(f,...y)=>It`
Binary file
Binary file