@purpurds/modal 5.4.0 → 5.4.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/LICENSE.txt +6 -6
- package/dist/modal-content.d.ts +4 -0
- package/dist/modal-content.d.ts.map +1 -1
- package/dist/modal.cjs.js +11 -11
- package/dist/modal.cjs.js.map +1 -1
- package/dist/modal.es.js +431 -429
- package/dist/modal.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +9 -9
- package/src/modal-content.module.scss +9 -6
- package/src/modal-content.stories.tsx +1 -15
- package/src/modal-content.tsx +7 -1
- package/src/modal.stories.tsx +8 -1
package/dist/LICENSE.txt
CHANGED
|
@@ -398,42 +398,42 @@ Homepage: https://radix-ui.com/primitives
|
|
|
398
398
|
---
|
|
399
399
|
|
|
400
400
|
Name: @purpurds/button
|
|
401
|
-
Version: 5.
|
|
401
|
+
Version: 5.4.1
|
|
402
402
|
License: AGPL-3.0-only
|
|
403
403
|
Private: false
|
|
404
404
|
|
|
405
405
|
---
|
|
406
406
|
|
|
407
407
|
Name: @purpurds/heading
|
|
408
|
-
Version: 5.
|
|
408
|
+
Version: 5.4.1
|
|
409
409
|
License: AGPL-3.0-only
|
|
410
410
|
Private: false
|
|
411
411
|
|
|
412
412
|
---
|
|
413
413
|
|
|
414
414
|
Name: @purpurds/icon
|
|
415
|
-
Version: 5.
|
|
415
|
+
Version: 5.4.1
|
|
416
416
|
License: AGPL-3.0-only
|
|
417
417
|
Private: false
|
|
418
418
|
|
|
419
419
|
---
|
|
420
420
|
|
|
421
421
|
Name: @purpurds/paragraph
|
|
422
|
-
Version: 5.
|
|
422
|
+
Version: 5.4.1
|
|
423
423
|
License: AGPL-3.0-only
|
|
424
424
|
Private: false
|
|
425
425
|
|
|
426
426
|
---
|
|
427
427
|
|
|
428
428
|
Name: @purpurds/tokens
|
|
429
|
-
Version: 5.
|
|
429
|
+
Version: 5.4.1
|
|
430
430
|
License: AGPL-3.0-only
|
|
431
431
|
Private: false
|
|
432
432
|
|
|
433
433
|
---
|
|
434
434
|
|
|
435
435
|
Name: @purpurds/visually-hidden
|
|
436
|
-
Version: 5.
|
|
436
|
+
Version: 5.4.1
|
|
437
437
|
License: AGPL-3.0-only
|
|
438
438
|
Private: false
|
|
439
439
|
|
package/dist/modal-content.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["../src/modal-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAA+D,MAAM,OAAO,CAAC;AAUpF,OAAO,+BAA+B,CAAC;AAEvC,eAAO,MAAM,qBAAqB,mDAAoD,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB;;SAEK;IACL,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;SAEK;IACL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;SAEK;IACL,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;SAEK;IACL,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;SAEK;IACL,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;SAEK;IACL,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;SAEK;IACL,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;SAEK;IACL,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;SAEK;IACL,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["../src/modal-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAA+D,MAAM,OAAO,CAAC;AAUpF,OAAO,+BAA+B,CAAC;AAEvC,eAAO,MAAM,qBAAqB,mDAAoD,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB;;SAEK;IACL,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;SAEK;IACL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;SAEK;IACL,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;SAEK;IACL,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;SAEK;IACL,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;SAEK;IACL,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;SAEK;IACL,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;SAEK;IACL,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;SAEK;IACL,KAAK,EAAE,MAAM,CAAC;IACd;;SAEK;IACL,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB;;SAEK;IACL,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B;;SAEK;IACL,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB;;SAEK;IACL,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;SAEK;IACL,eAAe,EAAE,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,CAAC;AASvF,eAAO,MAAM,YAAY,0FA+KxB,CAAC;AA0BF,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,YAAY,qDAItB,KAAK,iBAAiB,EAAE,SAAS,GAAG,sBAAsB,GAAG,cAAc,CAAC,6BAiC9E,CAAC"}
|
package/dist/modal.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),i=require("react"),we=require("react-dom");function bt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const _=bt(i);function O(){return O=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},O.apply(this,arguments)}function I(e,n,{checkForDefaultPrevented:t=!0}={}){return function(a){if(e==null||e(a),t===!1||!a.defaultPrevented)return n==null?void 0:n(a)}}function yt(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function Ve(...e){return n=>e.forEach(t=>yt(t,n))}function H(...e){return i.useCallback(Ve(...e),e)}function $t(e,n=[]){let t=[];function o(r,u){const c=i.createContext(u),l=t.length;t=[...t,u];function f(d){const{scope:v,children:h,...y}=d,s=(v==null?void 0:v[e][l])||c,m=i.useMemo(()=>y,Object.values(y));return i.createElement(s.Provider,{value:m},h)}function p(d,v){const h=(v==null?void 0:v[e][l])||c,y=i.useContext(h);if(y)return y;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${r}\``)}return f.displayName=r+"Provider",[f,p]}const a=()=>{const r=t.map(u=>i.createContext(u));return function(c){const l=(c==null?void 0:c[e])||r;return i.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return a.scopeName=e,[o,Et(a,...n)]}function Et(...e){const n=e[0];if(e.length===1)return n;const t=()=>{const o=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(r){const u=o.reduce((c,{useScope:l,scopeName:f})=>{const d=l(r)[`__scope${f}`];return{...c,...d}},{});return i.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}const _e=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{},xt=_.useId||(()=>{});let wt=0;function de(e){const[n,t]=_.useState(xt());return _e(()=>{e||t(o=>o??String(wt++))},[e]),e||(n?`radix-${n}`:"")}function U(e){const n=i.useRef(e);return i.useEffect(()=>{n.current=e}),i.useMemo(()=>(...t)=>{var o;return(o=n.current)===null||o===void 0?void 0:o.call(n,...t)},[])}function Ct({prop:e,defaultProp:n,onChange:t=()=>{}}){const[o,a]=St({defaultProp:n,onChange:t}),r=e!==void 0,u=r?e:o,c=U(t),l=i.useCallback(f=>{if(r){const d=typeof f=="function"?f(e):f;d!==e&&c(d)}else a(f)},[r,e,a,c]);return[u,l]}function St({defaultProp:e,onChange:n}){const t=i.useState(e),[o]=t,a=i.useRef(o),r=U(n);return i.useEffect(()=>{a.current!==o&&(r(o),a.current=o)},[o,a,r]),t}const Ce=i.forwardRef((e,n)=>{const{children:t,...o}=e,a=i.Children.toArray(t),r=a.find(Pt);if(r){const u=r.props.children,c=a.map(l=>l===r?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:l);return i.createElement(be,O({},o,{ref:n}),i.isValidElement(u)?i.cloneElement(u,void 0,c):null)}return i.createElement(be,O({},o,{ref:n}),t)});Ce.displayName="Slot";const be=i.forwardRef((e,n)=>{const{children:t,...o}=e;return i.isValidElement(t)?i.cloneElement(t,{...Nt(o,t.props),ref:n?Ve(n,t.ref):t.ref}):i.Children.count(t)>1?i.Children.only(null):null});be.displayName="SlotClone";const Ot=({children:e})=>i.createElement(i.Fragment,null,e);function Pt(e){return i.isValidElement(e)&&e.type===Ot}function Nt(e,n){const t={...n};for(const o in n){const a=e[o],r=n[o];/^on[A-Z]/.test(o)?a&&r?t[o]=(...c)=>{r(...c),a(...c)}:a&&(t[o]=a):o==="style"?t[o]={...a,...r}:o==="className"&&(t[o]=[a,r].filter(Boolean).join(" "))}return{...e,...t}}const Rt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],L=Rt.reduce((e,n)=>{const t=i.forwardRef((o,a)=>{const{asChild:r,...u}=o,c=r?Ce:n;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(c,O({},u,{ref:a}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function At(e,n){e&&we.flushSync(()=>e.dispatchEvent(n))}function Tt(e,n=globalThis==null?void 0:globalThis.document){const t=U(e);i.useEffect(()=>{const o=a=>{a.key==="Escape"&&t(a)};return n.addEventListener("keydown",o),()=>n.removeEventListener("keydown",o)},[t,n])}const ye="dismissableLayer.update",Dt="dismissableLayer.pointerDownOutside",jt="dismissableLayer.focusOutside";let Pe;const Mt=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kt=i.forwardRef((e,n)=>{var t;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:r,onFocusOutside:u,onInteractOutside:c,onDismiss:l,...f}=e,p=i.useContext(Mt),[d,v]=i.useState(null),h=(t=d==null?void 0:d.ownerDocument)!==null&&t!==void 0?t:globalThis==null?void 0:globalThis.document,[,y]=i.useState({}),s=H(n,b=>v(b)),m=Array.from(p.layers),[$]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),C=m.indexOf($),E=d?m.indexOf(d):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,w=E>=C,T=It(b=>{const D=b.target,j=[...p.branches].some(K=>K.contains(D));!w||j||(r==null||r(b),c==null||c(b),b.defaultPrevented||l==null||l())},h),R=Lt(b=>{const D=b.target;[...p.branches].some(K=>K.contains(D))||(u==null||u(b),c==null||c(b),b.defaultPrevented||l==null||l())},h);return Tt(b=>{E===p.layers.size-1&&(a==null||a(b),!b.defaultPrevented&&l&&(b.preventDefault(),l()))},h),i.useEffect(()=>{if(d)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Pe=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(d)),p.layers.add(d),Ne(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Pe)}},[d,h,o,p]),i.useEffect(()=>()=>{d&&(p.layers.delete(d),p.layersWithOutsidePointerEventsDisabled.delete(d),Ne())},[d,p]),i.useEffect(()=>{const b=()=>y({});return document.addEventListener(ye,b),()=>document.removeEventListener(ye,b)},[]),i.createElement(L.div,O({},f,{ref:s,style:{pointerEvents:x?w?"auto":"none":void 0,...e.style},onFocusCapture:I(e.onFocusCapture,R.onFocusCapture),onBlurCapture:I(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:I(e.onPointerDownCapture,T.onPointerDownCapture)}))});function It(e,n=globalThis==null?void 0:globalThis.document){const t=U(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{const r=c=>{if(c.target&&!o.current){let f=function(){He(Dt,t,l,{discrete:!0})};const l={originalEvent:c};c.pointerType==="touch"?(n.removeEventListener("click",a.current),a.current=f,n.addEventListener("click",a.current,{once:!0})):f()}else n.removeEventListener("click",a.current);o.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",r),n.removeEventListener("click",a.current)}},[n,t]),{onPointerDownCapture:()=>o.current=!0}}function Lt(e,n=globalThis==null?void 0:globalThis.document){const t=U(e),o=i.useRef(!1);return i.useEffect(()=>{const a=r=>{r.target&&!o.current&&He(jt,t,{originalEvent:r},{discrete:!1})};return n.addEventListener("focusin",a),()=>n.removeEventListener("focusin",a)},[n,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ne(){const e=new CustomEvent(ye);document.dispatchEvent(e)}function He(e,n,t,{discrete:o}){const a=t.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});n&&a.addEventListener(e,n,{once:!0}),o?At(a,r):a.dispatchEvent(r)}const fe="focusScope.autoFocusOnMount",pe="focusScope.autoFocusOnUnmount",Re={bubbles:!1,cancelable:!0},Ft=i.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:r,...u}=e,[c,l]=i.useState(null),f=U(a),p=U(r),d=i.useRef(null),v=H(n,s=>l(s)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let s=function(E){if(h.paused||!c)return;const x=E.target;c.contains(x)?d.current=x:k(d.current,{select:!0})},m=function(E){if(h.paused||!c)return;const x=E.relatedTarget;x!==null&&(c.contains(x)||k(d.current,{select:!0}))},$=function(E){if(document.activeElement===document.body)for(const w of E)w.removedNodes.length>0&&k(c)};document.addEventListener("focusin",s),document.addEventListener("focusout",m);const C=new MutationObserver($);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",s),document.removeEventListener("focusout",m),C.disconnect()}}},[o,c,h.paused]),i.useEffect(()=>{if(c){Te.add(h);const s=document.activeElement;if(!c.contains(s)){const $=new CustomEvent(fe,Re);c.addEventListener(fe,f),c.dispatchEvent($),$.defaultPrevented||(Bt(Vt(Ke(c)),{select:!0}),document.activeElement===s&&k(c))}return()=>{c.removeEventListener(fe,f),setTimeout(()=>{const $=new CustomEvent(pe,Re);c.addEventListener(pe,p),c.dispatchEvent($),$.defaultPrevented||k(s??document.body,{select:!0}),c.removeEventListener(pe,p),Te.remove(h)},0)}}},[c,f,p,h]);const y=i.useCallback(s=>{if(!t&&!o||h.paused)return;const m=s.key==="Tab"&&!s.altKey&&!s.ctrlKey&&!s.metaKey,$=document.activeElement;if(m&&$){const C=s.currentTarget,[E,x]=Ut(C);E&&x?!s.shiftKey&&$===x?(s.preventDefault(),t&&k(E,{select:!0})):s.shiftKey&&$===E&&(s.preventDefault(),t&&k(x,{select:!0})):$===C&&s.preventDefault()}},[t,o,h.paused]);return i.createElement(L.div,O({tabIndex:-1},u,{ref:v,onKeyDown:y}))});function Bt(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(k(o,{select:n}),document.activeElement!==t)return}function Ut(e){const n=Ke(e),t=Ae(n,e),o=Ae(n.reverse(),e);return[t,o]}function Ke(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function Ae(e,n){for(const t of e)if(!Wt(t,{upTo:n}))return t}function Wt(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function zt(e){return e instanceof HTMLInputElement&&"select"in e}function k(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&zt(e)&&n&&e.select()}}const Te=qt();function qt(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=De(e,n),e.unshift(n)},remove(n){var t;e=De(e,n),(t=e[0])===null||t===void 0||t.resume()}}}function De(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Vt(e){return e.filter(n=>n.tagName!=="A")}const Ht=i.forwardRef((e,n)=>{var t;const{container:o=globalThis==null||(t=globalThis.document)===null||t===void 0?void 0:t.body,...a}=e;return o?we.createPortal(i.createElement(L.div,O({},a,{ref:n})),o):null});function Kt(e,n){return i.useReducer((t,o)=>{const a=n[t][o];return a??t},e)}const ie=e=>{const{present:n,children:t}=e,o=Gt(n),a=typeof t=="function"?t({present:o.isPresent}):i.Children.only(t),r=H(o.ref,a.ref);return typeof t=="function"||o.isPresent?i.cloneElement(a,{ref:r}):null};ie.displayName="Presence";function Gt(e){const[n,t]=i.useState(),o=i.useRef({}),a=i.useRef(e),r=i.useRef("none"),u=e?"mounted":"unmounted",[c,l]=Kt(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const f=J(o.current);r.current=c==="mounted"?f:"none"},[c]),_e(()=>{const f=o.current,p=a.current;if(p!==e){const v=r.current,h=J(f);e?l("MOUNT"):h==="none"||(f==null?void 0:f.display)==="none"?l("UNMOUNT"):l(p&&v!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),_e(()=>{if(n){const f=d=>{const h=J(o.current).includes(d.animationName);d.target===n&&h&&we.flushSync(()=>l("ANIMATION_END"))},p=d=>{d.target===n&&(r.current=J(o.current))};return n.addEventListener("animationstart",p),n.addEventListener("animationcancel",f),n.addEventListener("animationend",f),()=>{n.removeEventListener("animationstart",p),n.removeEventListener("animationcancel",f),n.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[n,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:i.useCallback(f=>{f&&(o.current=getComputedStyle(f)),t(f)},[])}}function J(e){return(e==null?void 0:e.animationName)||"none"}let ve=0;function Xt(){i.useEffect(()=>{var e,n;const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=t[0])!==null&&e!==void 0?e:je()),document.body.insertAdjacentElement("beforeend",(n=t[1])!==null&&n!==void 0?n:je()),ve++,()=>{ve===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),ve--}},[])}function je(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var A=function(){return A=Object.assign||function(n){for(var t,o=1,a=arguments.length;o<a;o++){t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},A.apply(this,arguments)};function Ge(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)n.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t}function Yt(e,n,t){if(t||arguments.length===2)for(var o=0,a=n.length,r;o<a;o++)(r||!(o in n))&&(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}var ue="right-scroll-bar-position",ce="width-before-scroll-bar",Zt="with-scroll-bars-hidden",Qt="--removed-body-scroll-bar-size";function Jt(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function en(e,n){var t=i.useState(function(){return{value:e,callback:n,facade:{get current(){return t.value},set current(o){var a=t.value;a!==o&&(t.value=o,t.callback(o,a))}}}})[0];return t.callback=n,t.facade}function tn(e,n){return en(null,function(t){return e.forEach(function(o){return Jt(o,t)})})}function nn(e){return e}function rn(e,n){n===void 0&&(n=nn);var t=[],o=!1,a={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(r){var u=n(r,o);return t.push(u),function(){t=t.filter(function(c){return c!==u})}},assignSyncMedium:function(r){for(o=!0;t.length;){var u=t;t=[],u.forEach(r)}t={push:function(c){return r(c)},filter:function(){return t}}},assignMedium:function(r){o=!0;var u=[];if(t.length){var c=t;t=[],c.forEach(r),u=t}var l=function(){var p=u;u=[],p.forEach(r)},f=function(){return Promise.resolve().then(l)};f(),t={push:function(p){u.push(p),f()},filter:function(p){return u=u.filter(p),t}}}};return a}function on(e){e===void 0&&(e={});var n=rn(null);return n.options=A({async:!0,ssr:!1},e),n}var Xe=function(e){var n=e.sideCar,t=Ge(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return _.createElement(o,A({},t))};Xe.isSideCarExport=!0;function an(e,n){return e.useMedium(n),Xe}var Ye=on(),he=function(){},se=_.forwardRef(function(e,n){var t=_.useRef(null),o=_.useState({onScrollCapture:he,onWheelCapture:he,onTouchMoveCapture:he}),a=o[0],r=o[1],u=e.forwardProps,c=e.children,l=e.className,f=e.removeScrollBar,p=e.enabled,d=e.shards,v=e.sideCar,h=e.noIsolation,y=e.inert,s=e.allowPinchZoom,m=e.as,$=m===void 0?"div":m,C=Ge(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=v,x=tn([t,n]),w=A(A({},C),a);return _.createElement(_.Fragment,null,p&&_.createElement(E,{sideCar:Ye,removeScrollBar:f,shards:d,noIsolation:h,inert:y,setCallbacks:r,allowPinchZoom:!!s,lockRef:t}),u?_.cloneElement(_.Children.only(c),A(A({},w),{ref:x})):_.createElement($,A({},w,{className:l,ref:x}),c))});se.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};se.classNames={fullWidth:ce,zeroRight:ue};var un=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=un();return n&&e.setAttribute("nonce",n),e}function sn(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function ln(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var dn=function(){var e=0,n=null;return{add:function(t){e==0&&(n=cn())&&(sn(n,t),ln(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},fn=function(){var e=dn();return function(n,t){_.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},Ze=function(){var e=fn(),n=function(t){var o=t.styles,a=t.dynamic;return e(o,a),null};return n},pn={left:0,top:0,right:0,gap:0},me=function(e){return parseInt(e||"",10)||0},vn=function(e){var n=window.getComputedStyle(document.body),t=n[e==="padding"?"paddingLeft":"marginLeft"],o=n[e==="padding"?"paddingTop":"marginTop"],a=n[e==="padding"?"paddingRight":"marginRight"];return[me(t),me(o),me(a)]},hn=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return pn;var n=vn(e),t=document.documentElement.clientWidth,o=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,o-t+n[2]-n[0])}},mn=Ze(),gn=function(e,n,t,o){var a=e.left,r=e.top,u=e.right,c=e.gap;return t===void 0&&(t="margin"),`
|
|
2
|
-
.`.concat(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),i=require("react"),we=require("react-dom");function yt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const _=yt(i);function O(){return O=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},O.apply(this,arguments)}function L(e,n,{checkForDefaultPrevented:t=!0}={}){return function(a){if(e==null||e(a),t===!1||!a.defaultPrevented)return n==null?void 0:n(a)}}function $t(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function Ve(...e){return n=>e.forEach(t=>$t(t,n))}function H(...e){return i.useCallback(Ve(...e),e)}function Et(e,n=[]){let t=[];function o(r,u){const c=i.createContext(u),l=t.length;t=[...t,u];function p(d){const{scope:m,children:v,...E}=d,s=(m==null?void 0:m[e][l])||c,h=i.useMemo(()=>E,Object.values(E));return i.createElement(s.Provider,{value:h},v)}function f(d,m){const v=(m==null?void 0:m[e][l])||c,E=i.useContext(v);if(E)return E;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${r}\``)}return p.displayName=r+"Provider",[p,f]}const a=()=>{const r=t.map(u=>i.createContext(u));return function(c){const l=(c==null?void 0:c[e])||r;return i.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return a.scopeName=e,[o,xt(a,...n)]}function xt(...e){const n=e[0];if(e.length===1)return n;const t=()=>{const o=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(r){const u=o.reduce((c,{useScope:l,scopeName:p})=>{const d=l(r)[`__scope${p}`];return{...c,...d}},{});return i.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}const _e=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{},wt=_.useId||(()=>{});let Ct=0;function de(e){const[n,t]=_.useState(wt());return _e(()=>{e||t(o=>o??String(Ct++))},[e]),e||(n?`radix-${n}`:"")}function U(e){const n=i.useRef(e);return i.useEffect(()=>{n.current=e}),i.useMemo(()=>(...t)=>{var o;return(o=n.current)===null||o===void 0?void 0:o.call(n,...t)},[])}function St({prop:e,defaultProp:n,onChange:t=()=>{}}){const[o,a]=Ot({defaultProp:n,onChange:t}),r=e!==void 0,u=r?e:o,c=U(t),l=i.useCallback(p=>{if(r){const d=typeof p=="function"?p(e):p;d!==e&&c(d)}else a(p)},[r,e,a,c]);return[u,l]}function Ot({defaultProp:e,onChange:n}){const t=i.useState(e),[o]=t,a=i.useRef(o),r=U(n);return i.useEffect(()=>{a.current!==o&&(r(o),a.current=o)},[o,a,r]),t}const Ce=i.forwardRef((e,n)=>{const{children:t,...o}=e,a=i.Children.toArray(t),r=a.find(Nt);if(r){const u=r.props.children,c=a.map(l=>l===r?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:l);return i.createElement(be,O({},o,{ref:n}),i.isValidElement(u)?i.cloneElement(u,void 0,c):null)}return i.createElement(be,O({},o,{ref:n}),t)});Ce.displayName="Slot";const be=i.forwardRef((e,n)=>{const{children:t,...o}=e;return i.isValidElement(t)?i.cloneElement(t,{...Rt(o,t.props),ref:n?Ve(n,t.ref):t.ref}):i.Children.count(t)>1?i.Children.only(null):null});be.displayName="SlotClone";const Pt=({children:e})=>i.createElement(i.Fragment,null,e);function Nt(e){return i.isValidElement(e)&&e.type===Pt}function Rt(e,n){const t={...n};for(const o in n){const a=e[o],r=n[o];/^on[A-Z]/.test(o)?a&&r?t[o]=(...c)=>{r(...c),a(...c)}:a&&(t[o]=a):o==="style"?t[o]={...a,...r}:o==="className"&&(t[o]=[a,r].filter(Boolean).join(" "))}return{...e,...t}}const At=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],k=At.reduce((e,n)=>{const t=i.forwardRef((o,a)=>{const{asChild:r,...u}=o,c=r?Ce:n;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(c,O({},u,{ref:a}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function Tt(e,n){e&&we.flushSync(()=>e.dispatchEvent(n))}function Dt(e,n=globalThis==null?void 0:globalThis.document){const t=U(e);i.useEffect(()=>{const o=a=>{a.key==="Escape"&&t(a)};return n.addEventListener("keydown",o),()=>n.removeEventListener("keydown",o)},[t,n])}const ye="dismissableLayer.update",jt="dismissableLayer.pointerDownOutside",Mt="dismissableLayer.focusOutside";let Pe;const It=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lt=i.forwardRef((e,n)=>{var t;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:r,onFocusOutside:u,onInteractOutside:c,onDismiss:l,...p}=e,f=i.useContext(It),[d,m]=i.useState(null),v=(t=d==null?void 0:d.ownerDocument)!==null&&t!==void 0?t:globalThis==null?void 0:globalThis.document,[,E]=i.useState({}),s=H(n,x=>m(x)),h=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),C=h.indexOf(b),$=d?h.indexOf(d):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,w=$>=C,j=kt(x=>{const N=x.target,Q=[...f.branches].some(T=>T.contains(N));!w||Q||(r==null||r(x),c==null||c(x),x.defaultPrevented||l==null||l())},v),R=Ft(x=>{const N=x.target;[...f.branches].some(T=>T.contains(N))||(u==null||u(x),c==null||c(x),x.defaultPrevented||l==null||l())},v);return Dt(x=>{$===f.layers.size-1&&(a==null||a(x),!x.defaultPrevented&&l&&(x.preventDefault(),l()))},v),i.useEffect(()=>{if(d)return o&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Pe=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),Ne(),()=>{o&&f.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Pe)}},[d,v,o,f]),i.useEffect(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),Ne())},[d,f]),i.useEffect(()=>{const x=()=>E({});return document.addEventListener(ye,x),()=>document.removeEventListener(ye,x)},[]),i.createElement(k.div,O({},p,{ref:s,style:{pointerEvents:y?w?"auto":"none":void 0,...e.style},onFocusCapture:L(e.onFocusCapture,R.onFocusCapture),onBlurCapture:L(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:L(e.onPointerDownCapture,j.onPointerDownCapture)}))});function kt(e,n=globalThis==null?void 0:globalThis.document){const t=U(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{const r=c=>{if(c.target&&!o.current){let p=function(){He(jt,t,l,{discrete:!0})};const l={originalEvent:c};c.pointerType==="touch"?(n.removeEventListener("click",a.current),a.current=p,n.addEventListener("click",a.current,{once:!0})):p()}else n.removeEventListener("click",a.current);o.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",r),n.removeEventListener("click",a.current)}},[n,t]),{onPointerDownCapture:()=>o.current=!0}}function Ft(e,n=globalThis==null?void 0:globalThis.document){const t=U(e),o=i.useRef(!1);return i.useEffect(()=>{const a=r=>{r.target&&!o.current&&He(Mt,t,{originalEvent:r},{discrete:!1})};return n.addEventListener("focusin",a),()=>n.removeEventListener("focusin",a)},[n,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ne(){const e=new CustomEvent(ye);document.dispatchEvent(e)}function He(e,n,t,{discrete:o}){const a=t.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});n&&a.addEventListener(e,n,{once:!0}),o?Tt(a,r):a.dispatchEvent(r)}const pe="focusScope.autoFocusOnMount",fe="focusScope.autoFocusOnUnmount",Re={bubbles:!1,cancelable:!0},Bt=i.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:r,...u}=e,[c,l]=i.useState(null),p=U(a),f=U(r),d=i.useRef(null),m=H(n,s=>l(s)),v=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let s=function($){if(v.paused||!c)return;const y=$.target;c.contains(y)?d.current=y:I(d.current,{select:!0})},h=function($){if(v.paused||!c)return;const y=$.relatedTarget;y!==null&&(c.contains(y)||I(d.current,{select:!0}))},b=function($){if(document.activeElement===document.body)for(const w of $)w.removedNodes.length>0&&I(c)};document.addEventListener("focusin",s),document.addEventListener("focusout",h);const C=new MutationObserver(b);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",s),document.removeEventListener("focusout",h),C.disconnect()}}},[o,c,v.paused]),i.useEffect(()=>{if(c){Te.add(v);const s=document.activeElement;if(!c.contains(s)){const b=new CustomEvent(pe,Re);c.addEventListener(pe,p),c.dispatchEvent(b),b.defaultPrevented||(Ut(Ht(Ke(c)),{select:!0}),document.activeElement===s&&I(c))}return()=>{c.removeEventListener(pe,p),setTimeout(()=>{const b=new CustomEvent(fe,Re);c.addEventListener(fe,f),c.dispatchEvent(b),b.defaultPrevented||I(s??document.body,{select:!0}),c.removeEventListener(fe,f),Te.remove(v)},0)}}},[c,p,f,v]);const E=i.useCallback(s=>{if(!t&&!o||v.paused)return;const h=s.key==="Tab"&&!s.altKey&&!s.ctrlKey&&!s.metaKey,b=document.activeElement;if(h&&b){const C=s.currentTarget,[$,y]=Wt(C);$&&y?!s.shiftKey&&b===y?(s.preventDefault(),t&&I($,{select:!0})):s.shiftKey&&b===$&&(s.preventDefault(),t&&I(y,{select:!0})):b===C&&s.preventDefault()}},[t,o,v.paused]);return i.createElement(k.div,O({tabIndex:-1},u,{ref:m,onKeyDown:E}))});function Ut(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(I(o,{select:n}),document.activeElement!==t)return}function Wt(e){const n=Ke(e),t=Ae(n,e),o=Ae(n.reverse(),e);return[t,o]}function Ke(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function Ae(e,n){for(const t of e)if(!zt(t,{upTo:n}))return t}function zt(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qt(e){return e instanceof HTMLInputElement&&"select"in e}function I(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&qt(e)&&n&&e.select()}}const Te=Vt();function Vt(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=De(e,n),e.unshift(n)},remove(n){var t;e=De(e,n),(t=e[0])===null||t===void 0||t.resume()}}}function De(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function Ht(e){return e.filter(n=>n.tagName!=="A")}const Kt=i.forwardRef((e,n)=>{var t;const{container:o=globalThis==null||(t=globalThis.document)===null||t===void 0?void 0:t.body,...a}=e;return o?we.createPortal(i.createElement(k.div,O({},a,{ref:n})),o):null});function Gt(e,n){return i.useReducer((t,o)=>{const a=n[t][o];return a??t},e)}const ie=e=>{const{present:n,children:t}=e,o=Xt(n),a=typeof t=="function"?t({present:o.isPresent}):i.Children.only(t),r=H(o.ref,a.ref);return typeof t=="function"||o.isPresent?i.cloneElement(a,{ref:r}):null};ie.displayName="Presence";function Xt(e){const[n,t]=i.useState(),o=i.useRef({}),a=i.useRef(e),r=i.useRef("none"),u=e?"mounted":"unmounted",[c,l]=Gt(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const p=J(o.current);r.current=c==="mounted"?p:"none"},[c]),_e(()=>{const p=o.current,f=a.current;if(f!==e){const m=r.current,v=J(p);e?l("MOUNT"):v==="none"||(p==null?void 0:p.display)==="none"?l("UNMOUNT"):l(f&&m!==v?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,l]),_e(()=>{if(n){const p=d=>{const v=J(o.current).includes(d.animationName);d.target===n&&v&&we.flushSync(()=>l("ANIMATION_END"))},f=d=>{d.target===n&&(r.current=J(o.current))};return n.addEventListener("animationstart",f),n.addEventListener("animationcancel",p),n.addEventListener("animationend",p),()=>{n.removeEventListener("animationstart",f),n.removeEventListener("animationcancel",p),n.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[n,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:i.useCallback(p=>{p&&(o.current=getComputedStyle(p)),t(p)},[])}}function J(e){return(e==null?void 0:e.animationName)||"none"}let ve=0;function Yt(){i.useEffect(()=>{var e,n;const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=t[0])!==null&&e!==void 0?e:je()),document.body.insertAdjacentElement("beforeend",(n=t[1])!==null&&n!==void 0?n:je()),ve++,()=>{ve===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(o=>o.remove()),ve--}},[])}function je(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var D=function(){return D=Object.assign||function(n){for(var t,o=1,a=arguments.length;o<a;o++){t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},D.apply(this,arguments)};function Ge(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)n.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t}function Zt(e,n,t){if(t||arguments.length===2)for(var o=0,a=n.length,r;o<a;o++)(r||!(o in n))&&(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||Array.prototype.slice.call(n))}var ue="right-scroll-bar-position",ce="width-before-scroll-bar",Qt="with-scroll-bars-hidden",Jt="--removed-body-scroll-bar-size";function en(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function tn(e,n){var t=i.useState(function(){return{value:e,callback:n,facade:{get current(){return t.value},set current(o){var a=t.value;a!==o&&(t.value=o,t.callback(o,a))}}}})[0];return t.callback=n,t.facade}function nn(e,n){return tn(null,function(t){return e.forEach(function(o){return en(o,t)})})}function rn(e){return e}function on(e,n){n===void 0&&(n=rn);var t=[],o=!1,a={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(r){var u=n(r,o);return t.push(u),function(){t=t.filter(function(c){return c!==u})}},assignSyncMedium:function(r){for(o=!0;t.length;){var u=t;t=[],u.forEach(r)}t={push:function(c){return r(c)},filter:function(){return t}}},assignMedium:function(r){o=!0;var u=[];if(t.length){var c=t;t=[],c.forEach(r),u=t}var l=function(){var f=u;u=[],f.forEach(r)},p=function(){return Promise.resolve().then(l)};p(),t={push:function(f){u.push(f),p()},filter:function(f){return u=u.filter(f),t}}}};return a}function an(e){e===void 0&&(e={});var n=on(null);return n.options=D({async:!0,ssr:!1},e),n}var Xe=function(e){var n=e.sideCar,t=Ge(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return _.createElement(o,D({},t))};Xe.isSideCarExport=!0;function un(e,n){return e.useMedium(n),Xe}var Ye=an(),he=function(){},se=_.forwardRef(function(e,n){var t=_.useRef(null),o=_.useState({onScrollCapture:he,onWheelCapture:he,onTouchMoveCapture:he}),a=o[0],r=o[1],u=e.forwardProps,c=e.children,l=e.className,p=e.removeScrollBar,f=e.enabled,d=e.shards,m=e.sideCar,v=e.noIsolation,E=e.inert,s=e.allowPinchZoom,h=e.as,b=h===void 0?"div":h,C=Ge(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),$=m,y=nn([t,n]),w=D(D({},C),a);return _.createElement(_.Fragment,null,f&&_.createElement($,{sideCar:Ye,removeScrollBar:p,shards:d,noIsolation:v,inert:E,setCallbacks:r,allowPinchZoom:!!s,lockRef:t}),u?_.cloneElement(_.Children.only(c),D(D({},w),{ref:y})):_.createElement(b,D({},w,{className:l,ref:y}),c))});se.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};se.classNames={fullWidth:ce,zeroRight:ue};var cn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function sn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=cn();return n&&e.setAttribute("nonce",n),e}function ln(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function dn(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var pn=function(){var e=0,n=null;return{add:function(t){e==0&&(n=sn())&&(ln(n,t),dn(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},fn=function(){var e=pn();return function(n,t){_.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},Ze=function(){var e=fn(),n=function(t){var o=t.styles,a=t.dynamic;return e(o,a),null};return n},vn={left:0,top:0,right:0,gap:0},me=function(e){return parseInt(e||"",10)||0},hn=function(e){var n=window.getComputedStyle(document.body),t=n[e==="padding"?"paddingLeft":"marginLeft"],o=n[e==="padding"?"paddingTop":"marginTop"],a=n[e==="padding"?"paddingRight":"marginRight"];return[me(t),me(o),me(a)]},mn=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return vn;var n=hn(e),t=document.documentElement.clientWidth,o=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,o-t+n[2]-n[0])}},gn=Ze(),_n=function(e,n,t,o){var a=e.left,r=e.top,u=e.right,c=e.gap;return t===void 0&&(t="margin"),`
|
|
2
|
+
.`.concat(Qt,` {
|
|
3
3
|
overflow: hidden `).concat(o,`;
|
|
4
4
|
padding-right: `).concat(c,"px ").concat(o,`;
|
|
5
5
|
}
|
|
@@ -33,34 +33,34 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
body {
|
|
36
|
-
`).concat(
|
|
36
|
+
`).concat(Jt,": ").concat(c,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},bn=function(e){var n=e.noRelative,t=e.noImportant,o=e.gapMode,a=o===void 0?"margin":o,r=_.useMemo(function(){return mn(a)},[a]);return _.createElement(gn,{styles:_n(r,!n,a,t?"":"!important")})},$e=!1;if(typeof window<"u")try{var ee=Object.defineProperty({},"passive",{get:function(){return $e=!0,!0}});window.addEventListener("test",ee,ee),window.removeEventListener("test",ee,ee)}catch{$e=!1}var W=$e?{passive:!1}:!1,yn=function(e){return e.tagName==="TEXTAREA"},Qe=function(e,n){var t=window.getComputedStyle(e);return t[n]!=="hidden"&&!(t.overflowY===t.overflowX&&!yn(e)&&t[n]==="visible")},$n=function(e){return Qe(e,"overflowY")},En=function(e){return Qe(e,"overflowX")},Me=function(e,n){var t=n;do{typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&(t=t.host);var o=Je(e,t);if(o){var a=et(e,t),r=a[1],u=a[2];if(r>u)return!0}t=t.parentNode}while(t&&t!==document.body);return!1},xn=function(e){var n=e.scrollTop,t=e.scrollHeight,o=e.clientHeight;return[n,t,o]},wn=function(e){var n=e.scrollLeft,t=e.scrollWidth,o=e.clientWidth;return[n,t,o]},Je=function(e,n){return e==="v"?$n(n):En(n)},et=function(e,n){return e==="v"?xn(n):wn(n)},Cn=function(e,n){return e==="h"&&n==="rtl"?-1:1},Sn=function(e,n,t,o,a){var r=Cn(e,window.getComputedStyle(n).direction),u=r*o,c=t.target,l=n.contains(c),p=!1,f=u>0,d=0,m=0;do{var v=et(e,c),E=v[0],s=v[1],h=v[2],b=s-h-r*E;(E||b)&&Je(e,c)&&(d+=b,m+=E),c=c.parentNode}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return(f&&(d===0||!a)||!f&&(m===0||!a))&&(p=!0),p},te=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ie=function(e){return[e.deltaX,e.deltaY]},Le=function(e){return e&&"current"in e?e.current:e},On=function(e,n){return e[0]===n[0]&&e[1]===n[1]},Pn=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},
|
|
41
|
+
`)},Nn=0,z=[];function Rn(e){var n=_.useRef([]),t=_.useRef([0,0]),o=_.useRef(),a=_.useState(Nn++)[0],r=_.useState(function(){return Ze()})[0],u=_.useRef(e);_.useEffect(function(){u.current=e},[e]),_.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var s=Zt([e.lockRef.current],(e.shards||[]).map(Le),!0).filter(Boolean);return s.forEach(function(h){return h.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),s.forEach(function(h){return h.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=_.useCallback(function(s,h){if("touches"in s&&s.touches.length===2)return!u.current.allowPinchZoom;var b=te(s),C=t.current,$="deltaX"in s?s.deltaX:C[0]-b[0],y="deltaY"in s?s.deltaY:C[1]-b[1],w,j=s.target,R=Math.abs($)>Math.abs(y)?"h":"v";if("touches"in s&&R==="h"&&j.type==="range")return!1;var x=Me(R,j);if(!x)return!0;if(x?w=R:(w=R==="v"?"h":"v",x=Me(R,j)),!x)return!1;if(!o.current&&"changedTouches"in s&&($||y)&&(o.current=w),!w)return!0;var N=o.current||w;return Sn(N,h,s,N==="h"?$:y,!0)},[]),l=_.useCallback(function(s){var h=s;if(!(!z.length||z[z.length-1]!==r)){var b="deltaY"in h?Ie(h):te(h),C=n.current.filter(function(w){return w.name===h.type&&w.target===h.target&&On(w.delta,b)})[0];if(C&&C.should){h.cancelable&&h.preventDefault();return}if(!C){var $=(u.current.shards||[]).map(Le).filter(Boolean).filter(function(w){return w.contains(h.target)}),y=$.length>0?c(h,$[0]):!u.current.noIsolation;y&&h.cancelable&&h.preventDefault()}}},[]),p=_.useCallback(function(s,h,b,C){var $={name:s,delta:h,target:b,should:C};n.current.push($),setTimeout(function(){n.current=n.current.filter(function(y){return y!==$})},1)},[]),f=_.useCallback(function(s){t.current=te(s),o.current=void 0},[]),d=_.useCallback(function(s){p(s.type,Ie(s),s.target,c(s,e.lockRef.current))},[]),m=_.useCallback(function(s){p(s.type,te(s),s.target,c(s,e.lockRef.current))},[]);_.useEffect(function(){return z.push(r),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,W),document.addEventListener("touchmove",l,W),document.addEventListener("touchstart",f,W),function(){z=z.filter(function(s){return s!==r}),document.removeEventListener("wheel",l,W),document.removeEventListener("touchmove",l,W),document.removeEventListener("touchstart",f,W)}},[]);var v=e.removeScrollBar,E=e.inert;return _.createElement(_.Fragment,null,E?_.createElement(r,{styles:Pn(a)}):null,v?_.createElement(bn,{gapMode:"margin"}):null)}const An=un(Ye,Rn);var tt=_.forwardRef(function(e,n){return _.createElement(se,D({},e,{ref:n,sideCar:An}))});tt.classNames=se.classNames;var Tn=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},q=new WeakMap,ne=new WeakMap,re={},ge=0,nt=function(e){return e&&(e.host||nt(e.parentNode))},Dn=function(e,n){return n.map(function(t){if(e.contains(t))return t;var o=nt(t);return o&&e.contains(o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return!!t})},jn=function(e,n,t,o){var a=Dn(n,Array.isArray(e)?e:[e]);re[t]||(re[t]=new WeakMap);var r=re[t],u=[],c=new Set,l=new Set(a),p=function(d){!d||c.has(d)||(c.add(d),p(d.parentNode))};a.forEach(p);var f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(c.has(m))f(m);else{var v=m.getAttribute(o),E=v!==null&&v!=="false",s=(q.get(m)||0)+1,h=(r.get(m)||0)+1;q.set(m,s),r.set(m,h),u.push(m),s===1&&E&&ne.set(m,!0),h===1&&m.setAttribute(t,"true"),E||m.setAttribute(o,"true")}})};return f(n),c.clear(),ge++,function(){u.forEach(function(d){var m=q.get(d)-1,v=r.get(d)-1;q.set(d,m),r.set(d,v),m||(ne.has(d)||d.removeAttribute(o),ne.delete(d)),v||d.removeAttribute(t)}),ge--,ge||(q=new WeakMap,q=new WeakMap,ne=new WeakMap,re={})}},Mn=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),a=Tn(e);return a?(o.push.apply(o,Array.from(a.querySelectorAll("[aria-live]"))),jn(o,a,t,"aria-hidden")):function(){return null}};const rt="Dialog",[ot,no]=Et(rt),[In,A]=ot(rt),Ln=e=>{const{__scopeDialog:n,children:t,open:o,defaultOpen:a,onOpenChange:r,modal:u=!0}=e,c=i.useRef(null),l=i.useRef(null),[p=!1,f]=St({prop:o,defaultProp:a,onChange:r});return i.createElement(In,{scope:n,triggerRef:c,contentRef:l,contentId:de(),titleId:de(),descriptionId:de(),open:p,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(d=>!d),[f]),modal:u},t)},kn="DialogTrigger",Fn=i.forwardRef((e,n)=>{const{__scopeDialog:t,...o}=e,a=A(kn,t),r=H(n,a.triggerRef);return i.createElement(k.button,O({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Se(a.open)},o,{ref:r,onClick:L(e.onClick,a.onOpenToggle)}))}),at="DialogPortal",[Bn,ut]=ot(at,{forceMount:void 0}),Un=e=>{const{__scopeDialog:n,forceMount:t,children:o,container:a}=e,r=A(at,n);return i.createElement(Bn,{scope:n,forceMount:t},i.Children.map(o,u=>i.createElement(ie,{present:t||r.open},i.createElement(Kt,{asChild:!0,container:a},u))))},Ee="DialogOverlay",Wn=i.forwardRef((e,n)=>{const t=ut(Ee,e.__scopeDialog),{forceMount:o=t.forceMount,...a}=e,r=A(Ee,e.__scopeDialog);return r.modal?i.createElement(ie,{present:o||r.open},i.createElement(zn,O({},a,{ref:n}))):null}),zn=i.forwardRef((e,n)=>{const{__scopeDialog:t,...o}=e,a=A(Ee,t);return i.createElement(tt,{as:Ce,allowPinchZoom:!0,shards:[a.contentRef]},i.createElement(k.div,O({"data-state":Se(a.open)},o,{ref:n,style:{pointerEvents:"auto",...o.style}})))}),Z="DialogContent",qn=i.forwardRef((e,n)=>{const t=ut(Z,e.__scopeDialog),{forceMount:o=t.forceMount,...a}=e,r=A(Z,e.__scopeDialog);return i.createElement(ie,{present:o||r.open},r.modal?i.createElement(Vn,O({},a,{ref:n})):i.createElement(Hn,O({},a,{ref:n})))}),Vn=i.forwardRef((e,n)=>{const t=A(Z,e.__scopeDialog),o=i.useRef(null),a=H(n,t.contentRef,o);return i.useEffect(()=>{const r=o.current;if(r)return Mn(r)},[]),i.createElement(ct,O({},e,{ref:a,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:L(e.onCloseAutoFocus,r=>{var u;r.preventDefault(),(u=t.triggerRef.current)===null||u===void 0||u.focus()}),onPointerDownOutside:L(e.onPointerDownOutside,r=>{const u=r.detail.originalEvent,c=u.button===0&&u.ctrlKey===!0;(u.button===2||c)&&r.preventDefault()}),onFocusOutside:L(e.onFocusOutside,r=>r.preventDefault())}))}),Hn=i.forwardRef((e,n)=>{const t=A(Z,e.__scopeDialog),o=i.useRef(!1),a=i.useRef(!1);return i.createElement(ct,O({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var u;if((u=e.onCloseAutoFocus)===null||u===void 0||u.call(e,r),!r.defaultPrevented){var c;o.current||(c=t.triggerRef.current)===null||c===void 0||c.focus(),r.preventDefault()}o.current=!1,a.current=!1},onInteractOutside:r=>{var u,c;(u=e.onInteractOutside)===null||u===void 0||u.call(e,r),r.defaultPrevented||(o.current=!0,r.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const l=r.target;((c=t.triggerRef.current)===null||c===void 0?void 0:c.contains(l))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&a.current&&r.preventDefault()}}))}),ct=i.forwardRef((e,n)=>{const{__scopeDialog:t,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:r,...u}=e,c=A(Z,t),l=i.useRef(null),p=H(n,l);return Yt(),i.createElement(i.Fragment,null,i.createElement(Bt,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:r},i.createElement(Lt,O({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Se(c.open)},u,{ref:p,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Kn="DialogTitle",Gn=i.forwardRef((e,n)=>{const{__scopeDialog:t,...o}=e,a=A(Kn,t);return i.createElement(k.h2,O({id:a.titleId},o,{ref:n}))}),Xn="DialogDescription",Yn=i.forwardRef((e,n)=>{const{__scopeDialog:t,...o}=e,a=A(Xn,t);return i.createElement(k.p,O({id:a.descriptionId},o,{ref:n}))}),Zn="DialogClose",Qn=i.forwardRef((e,n)=>{const{__scopeDialog:t,...o}=e,a=A(Zn,t);return i.createElement(k.button,O({type:"button"},o,{ref:n,onClick:L(e.onClick,()=>a.onOpenChange(!1))}))});function Se(e){return e?"open":"closed"}const Jn=Ln,er=Fn,tr=Un,nr=Wn,rr=qn,or=Gn,ke=Yn,ar=Qn,Fe={SM:"sm",MD:"md",LG:"lg"};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var it={exports:{}};/*!
|
|
42
42
|
Copyright (c) 2018 Jed Watson.
|
|
43
43
|
Licensed under the MIT License (MIT), see
|
|
44
44
|
http://jedwatson.github.io/classnames
|
|
45
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(it);var
|
|
45
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(it);var cr=it.exports;const Be=ur(cr),ir="_rotate_1xozj_1",sr="_dash_1xozj_1",K={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:ir,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:sr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},G="purpur-spinner",lr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},dr=({["data-testid"]:e,disabled:n=!1,negative:t=!1,size:o=lr.SM,...a})=>g.jsx("div",{className:Be([K[G],K[`${G}--${o}`]]),"data-testid":e,...a,children:g.jsx("svg",{viewBox:"0 0 50 50",children:g.jsx("circle",{className:Be(K[`${G}__circle`],{[K[`${G}__circle--disabled`]]:n,[K[`${G}__circle--negative`]]:t}),cx:"25",cy:"25",r:"20"})})});function pr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var st={exports:{}};/*!
|
|
46
46
|
Copyright (c) 2018 Jed Watson.
|
|
47
47
|
Licensed under the MIT License (MIT), see
|
|
48
48
|
http://jedwatson.github.io/classnames
|
|
49
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(st);var fr=st.exports;const pr
|
|
49
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(st);var fr=st.exports;const vr=pr(fr),F={"purpur-button":"_purpur-button_u2yv5_1","purpur-button--sm":"_purpur-button--sm_u2yv5_33","purpur-button--icon-only":"_purpur-button--icon-only_u2yv5_36","purpur-button--md":"_purpur-button--md_u2yv5_39","purpur-button--lg":"_purpur-button--lg_u2yv5_45","purpur-button--full-width":"_purpur-button--full-width_u2yv5_51","purpur-button--primary":"_purpur-button--primary_u2yv5_54","purpur-button--disabled":"_purpur-button--disabled_u2yv5_58","purpur-button--primary-negative":"_purpur-button--primary-negative_u2yv5_64","purpur-button--secondary":"_purpur-button--secondary_u2yv5_76","purpur-button--secondary-negative":"_purpur-button--secondary-negative_u2yv5_87","purpur-button--expressive":"_purpur-button--expressive_u2yv5_98","purpur-button--expressive-negative":"_purpur-button--expressive-negative_u2yv5_108","purpur-button--negative":"_purpur-button--negative_u2yv5_120","purpur-button--destructive":"_purpur-button--destructive_u2yv5_127","purpur-button--destructive-negative":"_purpur-button--destructive-negative_u2yv5_137","purpur-button--tertiary-purple":"_purpur-button--tertiary-purple_u2yv5_147","purpur-button--tertiary-purple-negative":"_purpur-button--tertiary-purple-negative_u2yv5_160","purpur-button--text-negative":"_purpur-button--text-negative_u2yv5_175","purpur-button--text":"_purpur-button--text_u2yv5_175"},B="purpur-button",hr=({children:e,className:n,["data-testid"]:t,disabled:o=!1,fullWidth:a=!1,iconOnly:r,loading:u=!1,negative:c=!1,onClick:l,size:p=Fe.MD,variant:f,type:d="button",...m},v)=>{if(r&&f==="destructive")return null;const E=vr([F[B],F[`${B}--${c?`${f}-negative`:f}`],F[`${B}--${p}`]],{[F[`${B}--icon-only`]]:r,[F[`${B}--negative`]]:c,[F[`${B}--full-width`]]:a,[F[`${B}--disabled`]]:o||u},n),s=h=>{o||u?h.preventDefault():l&&l(h)};return g.jsxs("button",{className:E,"data-testid":t,type:d,ref:v,"aria-disabled":m["aria-disabled"]||o||u,onClick:s,...m,children:[u&&g.jsx(dr,{size:p===Fe.LG?"xs":"xxs",negative:c,disabled:o})," ",e]})},Oe=i.forwardRef(hr);Oe.displayName="Button";function mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lt={exports:{}};/*!
|
|
50
50
|
Copyright (c) 2018 Jed Watson.
|
|
51
51
|
Licensed under the MIT License (MIT), see
|
|
52
52
|
http://jedwatson.github.io/classnames
|
|
53
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(lt);var
|
|
53
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(lt);var gr=lt.exports;const _r=mr(gr),oe={"purpur-heading":"_purpur-heading_k9fhq_1","purpur-heading--hyphens":"_purpur-heading--hyphens_k9fhq_8","purpur-heading--negative":"_purpur-heading--negative_k9fhq_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_k9fhq_14","purpur-heading--title-100":"_purpur-heading--title-100_k9fhq_20","purpur-heading--title-200":"_purpur-heading--title-200_k9fhq_26","purpur-heading--title-300":"_purpur-heading--title-300_k9fhq_32","purpur-heading--title-400":"_purpur-heading--title-400_k9fhq_38","purpur-heading--title-500":"_purpur-heading--title-500_k9fhq_44","purpur-heading--title-600":"_purpur-heading--title-600_k9fhq_50","purpur-heading--title-700":"_purpur-heading--title-700_k9fhq_56","purpur-heading--display-25":"_purpur-heading--display-25_k9fhq_62","purpur-heading--display-50":"_purpur-heading--display-50_k9fhq_68","purpur-heading--display-100":"_purpur-heading--display-100_k9fhq_74","purpur-heading--display-200":"_purpur-heading--display-200_k9fhq_80"},br={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},ae="purpur-heading",yr=({["data-testid"]:e,children:n,className:t="",enableHyphenation:o=!1,negative:a=!1,tag:r,variant:u=br.TITLE100,...c})=>{const l=r,p=_r([t,oe[ae],oe[`${ae}--${u}`],{[oe[`${ae}--hyphens`]]:o,[oe[`${ae}--negative`]]:a}]);return g.jsx(l,{...c,className:p,"data-testid":e,children:n})};function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dt={exports:{}};/*!
|
|
54
54
|
Copyright (c) 2018 Jed Watson.
|
|
55
55
|
Licensed under the MIT License (MIT), see
|
|
56
56
|
http://jedwatson.github.io/classnames
|
|
57
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o.call(this,c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,this&&this[c]||c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(dt);var
|
|
57
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o.call(this,c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,this&&this[c]||c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(dt);var Er=dt.exports;const xr=$r(Er),wr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Cr={name:"close",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',keywords:["close"],category:"utility"},pt=e=>g.jsx(Ar,{...e,svg:Cr});pt.displayName="IconClose";const Sr=xr.bind(wr),Ue="purpur-icon",Or="md",Pr=e=>e.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),Nr=({content:e="",title:n}={})=>{const t=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],o=n?`<title>${n}</title>`:"";return`<svg ${Pr(t)}>${o}${e}</svg>`},Rr=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim(),Ar=({["data-testid"]:e,svg:n,allyTitle:t,className:o="",size:a=Or,...r})=>{const u=Nr({content:Rr(n.svg),title:t}),c=Sr(o,Ue,`${Ue}--${a}`);return g.jsx("span",{"aria-label":t,className:c,"data-testid":e,dangerouslySetInnerHTML:{__html:u},...r})};function Tr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ft={exports:{}};/*!
|
|
58
58
|
Copyright (c) 2018 Jed Watson.
|
|
59
59
|
Licensed under the MIT License (MIT), see
|
|
60
60
|
http://jedwatson.github.io/classnames
|
|
61
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(
|
|
61
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o(c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(ft);var Dr=ft.exports;const jr=Tr(Dr),X={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},Mr={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},Y="purpur-paragraph",Ir=({["data-testid"]:e,children:n,className:t="",disabled:o,enableHyphenation:a=!1,negative:r=!1,variant:u=Mr.PARAGRAPH100,...c})=>{const l=jr([t,X[Y],X[`${Y}--${u}`],{[X[`${Y}--hyphens`]]:a,[X[`${Y}--disabled`]]:o,[X[`${Y}--negative`]]:r}]);return g.jsx("p",{...c,className:l,"data-testid":e,children:n})},Lr="600px";function V(){return V=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},V.apply(this,arguments)}function kr(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function Fr(...e){return n=>e.forEach(t=>kr(t,n))}const vt=i.forwardRef((e,n)=>{const{children:t,...o}=e,a=i.Children.toArray(t),r=a.find(Ur);if(r){const u=r.props.children,c=a.map(l=>l===r?i.Children.count(u)>1?i.Children.only(null):i.isValidElement(u)?u.props.children:null:l);return i.createElement(xe,V({},o,{ref:n}),i.isValidElement(u)?i.cloneElement(u,void 0,c):null)}return i.createElement(xe,V({},o,{ref:n}),t)});vt.displayName="Slot";const xe=i.forwardRef((e,n)=>{const{children:t,...o}=e;return i.isValidElement(t)?i.cloneElement(t,{...Wr(o,t.props),ref:n?Fr(n,t.ref):t.ref}):i.Children.count(t)>1?i.Children.only(null):null});xe.displayName="SlotClone";const Br=({children:e})=>i.createElement(i.Fragment,null,e);function Ur(e){return i.isValidElement(e)&&e.type===Br}function Wr(e,n){const t={...n};for(const o in n){const a=e[o],r=n[o];/^on[A-Z]/.test(o)?a&&r?t[o]=(...u)=>{r(...u),a(...u)}:a&&(t[o]=a):o==="style"?t[o]={...a,...r}:o==="className"&&(t[o]=[a,r].filter(Boolean).join(" "))}return{...e,...t}}const zr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],qr=zr.reduce((e,n)=>{const t=i.forwardRef((o,a)=>{const{asChild:r,...u}=o,c=r?vt:n;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(c,V({},u,{ref:a}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{}),Vr=i.forwardRef((e,n)=>i.createElement(qr.span,V({},e,{ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Hr=Vr,Kr=({asChild:e,children:n,className:t="",["data-testid"]:o})=>g.jsx(Hr,{asChild:e,"data-testid":o,className:t,children:n});function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ht={exports:{}};/*!
|
|
62
62
|
Copyright (c) 2018 Jed Watson.
|
|
63
63
|
Licensed under the MIT License (MIT), see
|
|
64
64
|
http://jedwatson.github.io/classnames
|
|
65
|
-
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o.call(this,c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,this&&this[c]||c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(ht);var
|
|
65
|
+
*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r="",u=0;u<arguments.length;u++){var c=arguments[u];c&&(r=a(r,o.call(this,c)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return t.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var u="";for(var c in r)n.call(r,c)&&r[c]&&(u=a(u,this&&this[c]||c));return u}function a(r,u){return u?r?r+" "+u:r+u:r}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(ht);var Xr=ht.exports;const Yr=Gr(Xr),Zr="_fadeIn_rblrn_1",Qr={"purpur-modal-content":"_purpur-modal-content_rblrn_1",fadeIn:Zr,"purpur-modal-content__overlay":"_purpur-modal-content__overlay_rblrn_30","purpur-modal-content__close-button":"_purpur-modal-content__close-button_rblrn_37","purpur-modal-content__wrapper":"_purpur-modal-content__wrapper_rblrn_48","purpur-modal-content__wrapper-inner":"_purpur-modal-content__wrapper-inner_rblrn_59","purpur-modal-content__image-wrapper":"_purpur-modal-content__image-wrapper_rblrn_68","purpur-modal-content__header":"_purpur-modal-content__header_rblrn_91","purpur-modal-content__title":"_purpur-modal-content__title_rblrn_105","purpur-modal-content__description":"_purpur-modal-content__description_rblrn_108","purpur-modal-content__body":"_purpur-modal-content__body_rblrn_111","purpur-modal-content__body-inner":"_purpur-modal-content__body-inner_rblrn_121","purpur-modal-content__actions-buttons":"_purpur-modal-content__actions-buttons_rblrn_133","purpur-modal-content__actions-button":"_purpur-modal-content__actions-button_rblrn_133","purpur-modal-content__notification":"_purpur-modal-content__notification_rblrn_156","purpur-modal-content--with-image":"_purpur-modal-content--with-image_rblrn_159","purpur-modal-content--overflow":"_purpur-modal-content--overflow_rblrn_159","purpur-modal-content__actions":"_purpur-modal-content__actions_rblrn_133","purpur-modal-content__actions-separator":"_purpur-modal-content__actions-separator_rblrn_190","purpur-modal-content--sticky-footer":"_purpur-modal-content--sticky-footer_rblrn_200"},We=e=>e.showCloseButton===!0,P=Yr.bind(Qr),S="purpur-modal-content",Jr=i.forwardRef(({["data-testid"]:e,actions:n,children:t,className:o,description:a,disableCloseOnClickOutside:r,hideDescription:u,image:c,primaryActionVariant:l="primary",stickyButtons:p=!0,title:f,notification:d=void 0,zIndex:m,...v},E)=>{const{closeButtonAllyLabel:s,showCloseButton:h,...b}=v,[C,$]=i.useState(!1),y=i.useRef(null),w=i.useRef(null),j=i.useRef(null),R=i.useRef(null),x=P([S,{[`${S}--with-image`]:!!c},{[`${S}--overflow`]:C},{[`${S}--sticky-footer`]:p},o]),N=M=>e?`${e} ${M}`:void 0,Q=M=>{r&&M.preventDefault()},T=i.useCallback(()=>{if(!y.current||!w.current||!j.current||!R.current)return;const M=window.innerWidth<parseInt(Lr),gt=window.getComputedStyle(M?y.current:j.current,null),_t=parseFloat(gt.getPropertyValue("height")),bt=M?w.current.offsetHeight:R.current.offsetHeight;$(_t<bt)},[]),mt=M=>{r&&!h&&M.preventDefault()};return i.useEffect(()=>(window.addEventListener("resize",T),()=>{window.removeEventListener("resize",T)}),[T]),i.useEffect(()=>{T()},[d,T]),g.jsxs(tr,{children:[g.jsx(nr,{className:P(`${S}__overlay`),style:{zIndex:m}}),g.jsxs(rr,{...b,className:x,"data-testid":e,ref:E,...!a&&{"aria-describedby":void 0},onPointerDownOutside:Q,onOpenAutoFocus:T,onEscapeKeyDown:mt,style:{zIndex:`calc(${m} + 1)`},children:[g.jsxs("div",{ref:y,className:P(`${S}__wrapper`),children:[We(v)&&s&&c&&g.jsx(ze,{allyLabel:s,hasImage:!0,"data-testid":N("close-button")}),g.jsxs("div",{ref:w,className:P(`${S}__wrapper-inner`),children:[g.jsxs("div",{className:P(`${S}__header`),children:[We(v)&&s&&!c&&g.jsx(ze,{allyLabel:s,"data-testid":N("close-button")}),g.jsx(or,{asChild:!0,className:P(`${S}__title`),"data-testid":N("title"),children:g.jsx(yr,{tag:"h2",variant:"title-200",children:f})})]}),c&&g.jsx("div",{className:P(`${S}__image-wrapper`),"data-testid":N("image"),children:c}),g.jsx("div",{ref:j,className:P(`${S}__body`),children:g.jsxs("div",{ref:R,className:P(`${S}__body-inner`),children:[a&&u&&g.jsx(Kr,{asChild:!0,children:g.jsx(ke,{"data-testid":N("description"),children:a})}),a&&!u&&g.jsx(ke,{asChild:!0,className:P(`${S}__description`),"data-testid":N("description"),children:g.jsx(Ir,{variant:"paragraph-100",children:a})}),g.jsx("div",{children:t}),!p&&g.jsx(qe,{actions:n,primaryActionVariant:l,notification:d})]})})]})]}),p&&g.jsx(qe,{actions:n,primaryActionVariant:l,notification:d})]})]})}),ze=({allyLabel:e,hasImage:n,["data-testid"]:t})=>g.jsx(ar,{asChild:!0,children:g.jsx(Oe,{variant:n?"primary":"tertiary-purple",negative:n,size:"sm",iconOnly:!0,"aria-label":e,className:P(`${S}__close-button`),"data-testid":t,children:g.jsx(pt,{})})}),eo=3,qe=({actions:e,primaryActionVariant:n,notification:t})=>{const o=i.useRef(null),a=[n,"secondary","text"];return i.useEffect(()=>{var r,u;t&&((u=(r=o==null?void 0:o.current)==null?void 0:r.scrollIntoView)==null||u.call(r,!1))},[t]),e&&e.length>0?g.jsxs("div",{className:P(`${S}__actions`),children:[g.jsx("div",{className:P(`${S}__actions-buttons`),"data-testid":"modal actions",children:e.slice(0,eo).map(({label:r,onClick:u},c)=>g.jsx(Oe,{"data-testid":"modal actions button",variant:a[c]||"",onClick:u,className:P(`${S}__actions-button`),children:r},r))}),t&&g.jsx("div",{className:P(`${S}__notification`),ref:o,children:t}),g.jsx("span",{className:P(`${S}__actions-separator`)})]}):null},to=i.forwardRef(({["data-testid"]:e,children:n,className:t,...o},a)=>g.jsx(er,{asChild:!0,ref:a,"data-testid":e,className:t,...o,children:n})),le=({["data-testid"]:e,children:n,open:t,onOpenChange:o})=>g.jsx(Jn,{open:t,onOpenChange:o,"data-testid":e,children:n});le.Trigger=to;le.Content=Jr;le.displayName="Modal";exports.Modal=le;
|
|
66
66
|
//# sourceMappingURL=modal.cjs.js.map
|