9 lines
94 KiB
JavaScript
9 lines
94 KiB
JavaScript
|
|
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26674,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(47527)._(e.r(27245)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:n}=e,r=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?`[${n}]`:n),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${r}${u}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},83854,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=e.r(62714);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=a(e,r)),t&&(o.current=a(t,r))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},85018,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isLocalURL",{enumerable:!0,get:function(){return a}});let r=e.r(29843),o=e.r(32623);function a(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},41511,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},68017,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return v},useLinkStatus:function(){return x}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let a=e.r(47527),i=e.r(1624),s=a._(e.r(62714)),l=e.r(26674),u=e.r(88132),c=e.r(83854),d=e.r(29843),f=e.r(12787);e.r(8550);let p=e.r(42049),h=e.r(78970),m=e.r(85018),g=e.r(71510);function v(t){var n,r;let o,a,v,[x,y]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),E=(0,s.useRef)(null),{href:R,as:S,children:w,prefetch:k=null,passHref:C,replace:M,shallow:T,scroll:O,onClick:I,onMouseEnter:N,onTouchStart:A,legacyBehavior:P=!1,onNavigate:j,transitionTypes:L,ref:F,unstable_dynamicOnHover:D,..._}=t;o=w,P&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let B=s.default.useContext(u.AppRouterContext),W=!1!==k,H=!1!==k?null===(r=k)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,U="string"==typeof(n=S||R)?n:(0,l.formatUrl)(n);if(P){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=s.default.Children.only(o)}let z=P?a&&"object"==typeof a&&a.ref:F,Y=s.default.useCallback(e=>(null!==B&&(E.current=(0,h.mountLinkInstance)(e,U,B,H,W,y)),()=>{E.current&&((0,h.unmountLinkForCurrentNavigation)(E.current),E.current=null),(0,h.unmo
|
||
|
|
[data-motion-pop-id="${l}"] {
|
||
|
|
position: absolute !important;
|
||
|
|
width: ${e}px !important;
|
||
|
|
height: ${o}px !important;
|
||
|
|
${v}px !important;
|
||
|
|
${b}px !important;
|
||
|
|
}
|
||
|
|
`),()=>{u.current?.removeAttribute("data-motion-pop-id"),y.contains(x)&&y.removeChild(x)}},[t]),(0,o.jsx)(v,{isPresent:t,childRef:u,sizeRef:c,pop:s,children:!1===s?e:h.cloneElement(e,{ref:f})})}let x=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:l,anchorX:u,anchorY:p,root:h})=>{let m=(0,c.useConstant)(y),g=(0,a.useId)(),v=(0,a.useRef)(n),x=(0,a.useRef)(r);(0,d.useIsomorphicLayoutEffect)(()=>{v.current=n,x.current=r});let E=!0,R=(0,a.useMemo)(()=>(E=!1,{id:g,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;r&&r()},register:e=>(m.set(e,!1),()=>{m.delete(e),v.current||m.size||x.current?.()})}),[n,m,r]);return s&&E&&(R={...R}),(0,a.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[n]),a.useEffect(()=>{n||m.size||!r||r()},[n]),e=(0,o.jsx)(b,{pop:"popLayout"===l,isPresent:n,anchorX:u,anchorY:p,root:h,children:e}),(0,o.jsx)(f.PresenceContext.Provider,{value:R,children:e})};function y(){return new Map}var E=e.i(97422);let R=e=>e.key||"";function S(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let w=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:l=!1,anchorX:f="left",anchorY:p="top",root:h})=>{let[m,g]=(0,E.usePresence)(l),v=(0,a.useMemo)(()=>S(e),[e]),b=l&&!m?[]:v.map(R),y=(0,a.useRef)(!0),w=(0,a.useRef)(v),k=(0,c.useConstant)(()=>new Map),C=(0,a.useRef)(new Set),[M,T]=(0,a.useState)(v),[O,I]=(0,a.useState)(v);(0,d.useIsomorphicLayoutEffect)(()=>{y.current=!1,w.current=v;for(let e=0;e<O.length;e++){let t=R(O[e]);b.includes(t)?(k.delete(t),C.current.delete(t)):!0!==k.get(t)&&k.set(t,!1)}},[O,b.length,b.join("-")]);let N=[];if(v!==M){let e=[...v];for(let t=0;t<O.length;t++){let n=O[t],r=R(n);b.includes(r)||(e.splice(t,0,n),N.push(n))}return"wait"===s&&N.length&&(e=N),I(S(e)),T(v),null}let{forceRender:A}=(0,a.useContext)(u.LayoutGroupContext);return(0,o.jsx)(o.Fragment,{children:O.map(e=>{let a=R(e),u=(!l||!!m)&&(v===O||b.includes(a));return(0,o.jsx)(x,{isPresent:u,initial:(!y.current||!!n)&&void 0,custom:t,presenceAffectsLayout:i,mode:s,root:h,onExitComplete:u?void 0:()=>{if(C.current.has(a)||!k.has(a))return;C.current.add(a),k.set(a,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(A?.(),I(w.current),l&&g?.(),r&&r())},anchorX:f,anchorY:p,children:e},a)})})};var k=e.i(64828);let C=(0,k.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),M=(0,k.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,M],71672);let T=(0,k.default)("landmark",[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]]);e.s(["Landmark",0,T],96849);let O=(0,k.default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["TrendingUp",0,O],53743);let I=(0,k.default)("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);e.s(["FolderKanban",0,I],99395);let N=(0,k.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.3
|