cortex-react-components 1.16.2 → 1.17.0
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/{chunk-WASENCYA.mjs → chunk-343CWVUF.mjs} +1 -1
- package/dist/chunk-52UEE46P.mjs +1 -0
- package/dist/{chunk-E7J5XS32.mjs → chunk-5M4ELXL3.mjs} +1 -1
- package/dist/{chunk-QETNP6ST.mjs → chunk-6MWJ4LJP.mjs} +1 -1
- package/dist/{chunk-TM4ETY55.mjs → chunk-ERWTLUYM.mjs} +1 -1
- package/dist/{chunk-HKHLTISI.mjs → chunk-G3JKNT32.mjs} +1 -1
- package/dist/chunk-H2JWQHUC.mjs +4 -0
- package/dist/chunk-HGT54DGN.mjs +1 -0
- package/dist/chunk-J3CPOHE6.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-MMBUMBDU.mjs +1 -0
- package/dist/chunk-NV7LUI3U.mjs +4 -0
- package/dist/{chunk-RFWJV4YU.mjs → chunk-PMSQWXAT.mjs} +1 -1
- package/dist/{chunk-4LYK6VPP.mjs → chunk-QCZZL6MD.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-QRV2F2XT.mjs} +1 -1
- package/dist/{chunk-ID2MGE2G.mjs → chunk-WASMU2IJ.mjs} +1 -1
- package/dist/{chunk-WZMQHIAK.mjs → chunk-XS2GYYRB.mjs} +1 -1
- package/dist/chunk-Y7INXZZZ.mjs +1 -0
- package/dist/chunk-YLVDYTR5.mjs +1 -0
- package/dist/common-types.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +9 -9
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +9 -9
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +9 -9
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +9 -9
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +9 -9
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.d.ts +3 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/ContactSection.d.ts +20 -0
- package/dist/sections/ContactSection.js +5 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ContactSection.stories.js +5 -0
- package/dist/sections/ContactSection.stories.mjs +1 -0
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.d.ts +15 -0
- package/dist/sections/form/index.js +5 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.d.ts +3 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +7 -3
- package/dist/chunk-7ZPEE4NV.mjs +0 -1
- package/dist/chunk-LZII3MF4.mjs +0 -1
|
@@ -208,24 +208,24 @@ ${T.description}`)},"showError"),showException:O(T=>{throw T},"showException"),f
|
|
|
208
208
|
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new ey(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function oy(e,t){for(let r of e)try{if(r.test(t))return r}catch(yP){throw new ey(yP.message,yP.stack)}return null}function hn(e,t,r,yP,o,i){let s=oy(t.plugins,e);if(s!==null)return ny(s,e,t,r,yP,o);let l=ty(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:ry(e,t,r,yP,o,i)}var Ec={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},iy=Object.keys(Ec),br={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ec};function wx(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(br,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Sx(){return iy.reduce((e,t)=>{let r=Ec[t],yP=r&&zr[r];if(yP&&typeof yP.close=="string"&&typeof yP.open=="string")e[t]=yP;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Ax(){return iy.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function ay(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:br.printFunctionName}function sy(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:br.escapeRegex}function ly(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:br.escapeString}function pg(e){var t,r,yP,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:br.callToJSON,colors:e!=null&&e.highlight?Sx():Ax(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:br.compareKeys,escapeRegex:sy(e),escapeString:ly(e),indent:e!=null&&e.min?"":Cx((r=e==null?void 0:e.indent)!=null?r:br.indent),maxDepth:(yP=e==null?void 0:e.maxDepth)!=null?yP:br.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:br.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:br.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:br.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:ay(e),spacingInner:e!=null&&e.min?" ":`
|
|
209
209
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
210
210
|
`}}function Cx(e){return Array.from({length:e+1}).join(" ")}function Dr(e,t){if(t&&(wx(t),t.plugins)){let yP=oy(t.plugins,e);if(yP!==null)return ny(yP,e,pg(t),"",0,[])}let r=ty(e,ay(t),sy(t),ly(t));return r!==null?r:ry(e,pg(t),"",0,[])}var uy={AsymmetricMatcher:wP,DOMCollection:xP,DOMElement:FP,Immutable:ex,ReactElement:sx,ReactTestComponent:px},fg={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Tx={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},oi="\u2026";function Rx(e,t){let r=fg[Tx[t]]||fg[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Px({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:yP=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!yP,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=Rx),p}function xx(e){return e>="\uD800"&&e<="\uDBFF"}function mn(e,t,r=oi){e=String(e);let yP=r.length,o=e.length;if(yP>t&&o>yP)return r;if(o>t&&o>yP){let i=t-yP;return i>0&&xx(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function vr(e,t,r,yP=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${oi}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:yP.length);let m=l||r(h,t)+(c?"":yP),g=s.length+m.length,y=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&y>i||(l=c?"":r(e[d+1],t)+(p?"":yP),!c&&p&&y>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${oi}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function Ox(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Qi([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ox(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Nx(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let yP=vr(e,t);t.truncate-=yP.length;let o="";return r.length&&(o=vr(r.map(i=>[i,e[i]]),t,Qi)),`[ ${yP}${o?`, ${o}`:""} ]`}var Mx=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Ur(e,t){let r=Mx(e);t.truncate-=r.length+4;let yP=Object.keys(e).slice(e.length);if(!e.length&&!yP.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(mn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${oi}(${e.length-e[s]+1})`;break}o+=l}let i="";return yP.length&&(i=vr(yP.map(s=>[s,e[s]]),t,Qi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function Ix(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let yP=r.split("T"),o=yP[0];return t.stylize(`${o}T${mn(yP[1],t.truncate-o.length-1)}`,"date")}function hg(e,t){let r=e[Symbol.toStringTag]||"Function",yP=e.name;return yP?t.stylize(`[${r} ${mn(yP,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Dx([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function qx(e){let t=[];return e.forEach((r,yP)=>{t.push([yP,r])}),t}function jx(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${vr(qx(e),t,Dx)} }`)}var Bx=Number.isNaN||(e=>e!==e);function mg(e,t){return Bx(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(mn(String(e),t.truncate),"number")}function gg(e,t){let r=mn(e.toString(),t.truncate-1);return r!==oi&&(r+="yP"),t.stylize(r,"bigint")}function kx(e,t){let r=e.toString().split("/")[2],yP=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${mn(o,yP)}/${r}`,"regexp")}function Fx(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Lx(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${vr(Fx(e),t)} }`)}var yg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),$x={"\b":"\\b"," ":"\\t","\yP":"\\yP","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Hx=16,Ux=4;function zx(e){return $x[e]||`\\u${`0000${e.charCodeAt(0).toString(Hx)}`.slice(-Ux)}`}function bg(e,t){return yg.test(e)&&(e=e.replace(yg,zx)),t.stylize(`'${mn(e,t.truncate-2)}'`,"string")}function vg(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var cy=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(cy=(yP,o)=>{let[i,s]=e(yP);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var Vx=cy;function Es(e,t){let r=Object.getOwnPropertyNames(e),yP=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&yP.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=vr(r.map(l=>[l,e[l]]),t,Qi),i=vr(yP.map(l=>[l,e[l]]),t,Qi);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var ec=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Gx(e,t){let r="";return ec&&ec in e&&(r=e[ec]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Es(e,t)}`}function Wx(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${vr(e,t)} ]`)}var Yx=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Kx(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>Yx.indexOf(s)===-1),yP=e.name;t.truncate-=yP.length;let o="";typeof e.message=="string"?o=mn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=vr(r.map(s=>[s,e[s]]),t,Qi);return`${yP}${o}${i?` { ${i} }`:""}`}function Jx([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function ic(e,t){return vr(e,t,dy,`
|
|
211
|
-
`)}function dy(e,t){let r=e.getAttributeNames(),yP=e.tagName.toLowerCase(),o=t.stylize(`<${yP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${yP}>`,"special");t.truncate-=yP.length*2+5;let l="";r.length>0&&(l+=" ",l+=vr(r.map(c=>[c,e.getAttribute(c)]),t,Jx," ")),t.truncate-=l.length;let u=t.truncate,d=ic(e.children,t);return d&&d.length>u&&(d=`${oi}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var Xx=typeof Symbol=="function"&&typeof Symbol.for=="function",tc=Xx?Symbol.for("chai/inspect"):"@@chai/inspect",ei=!1;try{let e=require("util");ei=e.inspect?e.inspect.custom:!1}catch{ei=!1}var Eg=new WeakMap,_g={},wg={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:mg,Number:mg,bigint:gg,BigInt:gg,string:bg,String:bg,function:hg,Function:hg,symbol:vg,Symbol:vg,Array:Nx,Date:Ix,Map:jx,Set:Lx,RegExp:kx,Promise:Vx,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Wx,Int8Array:Ur,Uint8Array:Ur,Uint8ClampedArray:Ur,Int16Array:Ur,Uint16Array:Ur,Int32Array:Ur,Uint32Array:Ur,Float32Array:Ur,Float64Array:Ur,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Kx,HTMLCollection:ic,NodeList:ic},Qx=(e,t,r)=>tc in e&&typeof e[tc]=="function"?e[tc](t):ei&&ei in e&&typeof e[ei]=="function"?e[ei](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Eg.has(e.constructor)?Eg.get(e.constructor)(e,t):_g[r]?_g[r](e,t):"",Zx=Object.prototype.toString;function ac(e,t={}){let r=Px(t,ac),{customInspect:yP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Zx.call(e).slice(8,-1)),o in wg)return wg[o](e,r);if(yP&&e){let s=Qx(e,r,o);if(s)return typeof s=="string"?s:ac(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Es(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?dy(e,r):"constructor"in e?e.constructor!==Object?Gx(e,r):Es(e,r):e===Object(e)?Es(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:eO,DOMCollection:tO,DOMElement:rO,Immutable:nO,ReactElement:oO,ReactTestComponent:iO}=uy,Sg=[iO,oO,rO,tO,nO,eO];function Zi(e,t=10,{maxLength:r,...yP}={}){let o=r!=null?r:1e4,i;try{i=Dr(e,{maxDepth:t,escapeString:!1,plugins:Sg,...yP})}catch{i=Dr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Sg,...yP})}return i.length>=o&&t>1?Zi(e,Math.floor(t/2)):i}var aO=/%[sdjifoOc%]/g;function sO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Ji(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,yP=e[0],o=String(yP).replace(aO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Ji(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ji(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ji(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Ji(i)}`;return o}function Ji(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ac(e,t)}function lO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function sc(e){return Object.prototype.toString.apply(e).slice(8,-1)}function cO(e,t){let r=typeof t=="function"?t:yP=>t.add(yP);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function py(e){let t=new Set;return uO(e)?[]:(cO(e,t),Array.from(t))}var fy={forceWritable:!1};function Ag(e,t=fy){return lc(e,new WeakMap,t)}function lc(e,t,r=fy){let yP,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:yP=e.length}),t.set(e,o);yP--;)o[yP]=lc(e[yP],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=py(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=lc(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function Cg(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Ht=-1,Ft=1,At=0,Et=class{constructor(e,t){vt(this,0);vt(this,1);this[0]=e,this[1]=t}},dO=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},hy=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},Tg=function(e,t){let r=e.length,yP=t.length;if(r===0||yP===0)return 0;r>yP?e=e.substring(r-yP):r<yP&&(t=t.substring(0,r));let o=Math.min(r,yP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},pO=function(e){let t=!1,r=[],yP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===At?(r[yP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ft?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[yP-1],0,new Et(Ht,o)),e[r[yP-1]+1][0]=Ft,yP--,yP--,i=yP>0?r[yP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&my(e),mO(e),i=1;i<e.length;){if(e[i-1][0]===Ht&&e[i][0]===Ft){let c=e[i-1][1],p=e[i][1],h=Tg(c,p),m=Tg(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new Et(At,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new Et(At,c.substring(0,m))),e[i-1][0]=Ft,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Ht,e[i+1][1]=c.substring(m),i++),i++}i++}},Rg=/[^a-z0-9]/i,Pg=/\s/,xg=/[\r\yP]/,fO=/\yP\r?\yP$/,hO=/^\r?\yP\r?\yP/;function mO(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===At&&e[t+1][0]===At){let r=e[t-1][1],yP=e[t][1],o=e[t+1][1],i=hy(r,yP);if(i){let c=yP.substring(yP.length-i);r=r.substring(0,r.length-i),yP=c+yP.substring(0,yP.length-i),o=c+o}let s=r,l=yP,u=o,d=bs(r,yP)+bs(yP,o);for(;yP.charAt(0)===o.charAt(0);){r+=yP.charAt(0),yP=yP.substring(1)+o.charAt(0),o=o.substring(1);let c=bs(r,yP)+bs(yP,o);c>=d&&(d=c,s=r,l=yP,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function my(e){e.push(new Et(At,""));let t=0,r=0,yP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ft:yP++,i+=e[t][1],t++;break;case Ht:r++,o+=e[t][1],t++;break;case At:r+yP>1?(r!==0&&yP!==0&&(s=dO(i,o),s!==0&&(t-r-yP>0&&e[t-r-yP-1][0]===At?e[t-r-yP-1][1]+=i.substring(0,s):(e.splice(0,0,new Et(At,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=hy(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+yP,e.splice(t,r+yP),o.length&&(e.splice(t,0,new Et(Ht,o)),t++),i.length&&(e.splice(t,0,new Et(Ft,i)),t++),t++):t!==0&&e[t-1][0]===At?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,yP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===At&&e[t+1][0]===At&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&my(e)}function bs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),yP=t.charAt(0),o=r.match(Rg),i=yP.match(Rg),s=o&&r.match(Pg),l=i&&yP.match(Pg),u=s&&r.match(xg),d=l&&yP.match(xg),c=u&&e.match(fO),p=d&&t.match(hO);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var gy="Compared values have no visual difference.",gO="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",vs={},Og;function yO(){if(Og)return vs;Og=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=h;let e="diff-sequences",t=0,r=(m,g,y,b,E)=>{let _=0;for(;m<g&&y<b&&E(m,y);)m+=1,y+=1,_+=1;return _},yP=(m,g,y,b,E)=>{let _=0;for(;m<=g&&y<=b&&E(g,b);)g-=1,b-=1,_+=1;return _},o=(m,g,y,b,E,_,x)=>{let A=0,w=-m,S=_[A],T=S;_[A]+=r(S+1,g,b+S-w+1,y,E);let C=m<x?m:x;for(A+=1,w+=2;A<=C;A+=1,w+=2){if(A!==m&&T<_[A])S=_[A];else if(S=T+1,g<=S)return A-1;T=_[A],_[A]=S+r(S+1,g,b+S-w+1,y,E)}return x},i=(m,g,y,b,E,_,x)=>{let A=0,w=m,S=_[A],T=S;_[A]-=yP(g,S-1,y,b+S-w-1,E);let C=m<x?m:x;for(A+=1,w-=2;A<=C;A+=1,w-=2){if(A!==m&&_[A]<T)S=_[A];else if(S=T-1,S<g)return A-1;T=_[A],_[A]=S-yP(g,S-1,y,b+S-w-1,E)}return x},s=(m,g,y,b,E,_,x,A,w,S,T)=>{let C=b-g,N=y-g,U=E-b-N,X=-U-(m-1),V=-U+(m-1),J=t,P=m<A?m:A;for(let B=0,K=-m;B<=P;B+=1,K+=2){let fe=B===0||B!==m&&J<x[B],ce=fe?x[B]:J,Se=fe?ce:ce+1,De=C+Se-K,Pe=r(Se+1,y,De+1,E,_),le=Se+Pe;if(J=x[B],x[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=C+ce-(fe?K+1:K-1),we=yP(g,ce,b,de,_),Oe=ce-we,Ne=de-we,Ge=Oe+1,xt=Ne+1;T.nChangePreceding=m-1,m-1===Ge+xt-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=Ge,T.bEndPreceding=xt),T.nCommonPreceding=we,we!==0&&(T.aCommonPreceding=Ge,T.bCommonPreceding=xt),T.nCommonFollowing=Pe,Pe!==0&&(T.aCommonFollowing=Se+1,T.bCommonFollowing=De+1);let Y=le+1,Re=De+Pe+1;return T.nChangeFollowing=m-1,m-1===y+E-Y-Re?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Re),!0}}}return!1},l=(m,g,y,b,E,_,x,A,w,S,T)=>{let C=E-y,N=y-g,U=E-b-N,X=U-m,V=U+m,J=t,P=m<S?m:S;for(let B=0,K=m;B<=P;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Se=fe?ce:ce-1,De=C+Se-K,Pe=yP(g,Se-1,b,De-1,_),le=Se-Pe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=A&&le-1<=x[se]){let de=De-Pe;if(T.nChangePreceding=m,m===le+de-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Pe,Pe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=y,T.bStartFollowing=E;else{let we=C+ce-(fe?K-1:K+1),Oe=r(ce,y,we,E,_);T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=we);let Ne=ce+Oe,Ge=we+Oe;m-1===y+E-Ne-Ge?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Ne,T.bStartFollowing=Ge)}return!0}}}return!1},u=(m,g,y,b,E,_,x,A,w)=>{let S=b-g,T=E-y,C=y-g,N=E-b,U=N-C,X=C,V=C;if(x[0]=g-1,A[0]=y,U%2===0){let J=(m||U)/2,P=(C+N)/2;for(let B=1;B<=P;B+=1)if(X=o(B,y,E,S,_,x,X),B<J)V=i(B,g,b,T,_,A,V);else if(l(B,g,y,b,E,_,x,X,A,V,w))return}else{let J=((m||U)+1)/2,P=(C+N+1)/2,B=1;for(X=o(B,y,E,S,_,x,X),B+=1;B<=P;B+=1)if(V=i(B-1,g,b,T,_,A,V),B<J)X=o(B,y,E,S,_,x,X);else if(s(B,g,y,b,E,_,x,X,A,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${y} bStart=${b} bEnd=${E}`)},d=(m,g,y,b,E,_,x,A,w,S)=>{if(E-b<y-g){if(_=!_,_&&x.length===1){let{foundSubsequence:se,isCommon:de}=x[0];x[1]={foundSubsequence:(we,Oe,Ne)=>{se(we,Ne,Oe)},isCommon:(we,Oe)=>de(Oe,we)}}let Pe=g,le=y;g=b,y=E,b=Pe,E=le}let{foundSubsequence:T,isCommon:C}=x[_?1:0];u(m,g,y,b,E,C,A,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:P,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Se,bStartFollowing:De}=S;g<U&&b<X&&d(N,g,U,b,X,_,x,A,w,S),V!==0&&T(V,J,P),B!==0&&T(B,K,fe),Se<y&&De<E&&d(ce,Se,y,De,E,_,x,A,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let y=typeof g;if(y!=="function")throw new TypeError(`${e}: ${m} typeof ${y} is not a function`)};function h(m,g,y,b){c("aLength",m),c("bLength",g),p("isCommon",y),p("foundSubsequence",b);let E=r(0,m,0,g,y);if(E!==0&&b(E,0,0),m!==E||g!==E){let _=E,x=E,A=yP(_,m-1,x,g-1,y),w=m-A,S=g-A,T=E+A;m!==T&&g!==T&&d(0,_,w,x,S,!1,[{foundSubsequence:b,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&b(A,w,S)}}return vs}var bO=yO(),yy=lO(bO);function vO(e,t){return e.replace(/\s+$/,r=>t(r))}function _c(e,t,r,yP,o,i){return e.length!==0?r(`${yP} ${vO(e,o)}`):yP!==" "?r(yP):t&&i.length!==0?r(`${yP} ${i}`):""}function by(e,t,{aColor:r,aIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function vy(e,t,{bColor:r,bIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function Ey(e,t,{commonColor:r,commonIndicator:yP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function Ng(e,t,r,yP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${yP-r} @@`)}function EO(e,t){let r=e.length,yP=t.contextLines,o=yP+yP,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===At;)u+=1;if(A!==u)if(A===0)u>yP&&(i-=u-yP,s=!0);else if(u===r){let w=u-A;w>yP&&(i-=w-yP,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==At;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(Ey(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(by(A,w===0||w===c,t)),y+=1},x=A=>{let w=p.length;p.push(vy(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===At;)u+=1;if(A!==u)if(A===0){u>yP&&(A=u-yP,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>yP?A+yP:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+yP;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=Ng(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-yP;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Ht;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ft;)x(e[u][1]),u+=1}return d&&(p[h]=Ng(m,y,g,b,t)),p.join(`
|
|
211
|
+
`)}function dy(e,t){let r=e.getAttributeNames(),yP=e.tagName.toLowerCase(),o=t.stylize(`<${yP}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${yP}>`,"special");t.truncate-=yP.length*2+5;let l="";r.length>0&&(l+=" ",l+=vr(r.map(c=>[c,e.getAttribute(c)]),t,Jx," ")),t.truncate-=l.length;let u=t.truncate,d=ic(e.children,t);return d&&d.length>u&&(d=`${oi}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var Xx=typeof Symbol=="function"&&typeof Symbol.for=="function",tc=Xx?Symbol.for("chai/inspect"):"@@chai/inspect",ei=!1;try{let e=require("util");ei=e.inspect?e.inspect.custom:!1}catch{ei=!1}var Eg=new WeakMap,_g={},wg={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:mg,Number:mg,bigint:gg,BigInt:gg,string:bg,String:bg,function:hg,Function:hg,symbol:vg,Symbol:vg,Array:Nx,Date:Ix,Map:jx,Set:Lx,RegExp:kx,Promise:Vx,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Wx,Int8Array:Ur,Uint8Array:Ur,Uint8ClampedArray:Ur,Int16Array:Ur,Uint16Array:Ur,Int32Array:Ur,Uint32Array:Ur,Float32Array:Ur,Float64Array:Ur,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Kx,HTMLCollection:ic,NodeList:ic},Qx=(e,t,r)=>tc in e&&typeof e[tc]=="function"?e[tc](t):ei&&ei in e&&typeof e[ei]=="function"?e[ei](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Eg.has(e.constructor)?Eg.get(e.constructor)(e,t):_g[r]?_g[r](e,t):"",Zx=Object.prototype.toString;function ac(e,t={}){let r=Px(t,ac),{customInspect:yP}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Zx.call(e).slice(8,-1)),o in wg)return wg[o](e,r);if(yP&&e){let s=Qx(e,r,o);if(s)return typeof s=="string"?s:ac(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Es(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?dy(e,r):"constructor"in e?e.constructor!==Object?Gx(e,r):Es(e,r):e===Object(e)?Es(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:eO,DOMCollection:tO,DOMElement:rO,Immutable:nO,ReactElement:oO,ReactTestComponent:iO}=uy,Sg=[iO,oO,rO,tO,nO,eO];function Zi(e,t=10,{maxLength:r,...yP}={}){let o=r!=null?r:1e4,i;try{i=Dr(e,{maxDepth:t,escapeString:!1,plugins:Sg,...yP})}catch{i=Dr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Sg,...yP})}return i.length>=o&&t>1?Zi(e,Math.floor(t/2)):i}var aO=/%[sdjifoOc%]/g;function sO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Ji(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,yP=e[0],o=String(yP).replace(aO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Ji(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ji(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ji(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Ji(i)}`;return o}function Ji(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ac(e,t)}function lO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function sc(e){return Object.prototype.toString.apply(e).slice(8,-1)}function cO(e,t){let r=typeof t=="function"?t:yP=>t.add(yP);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function py(e){let t=new Set;return uO(e)?[]:(cO(e,t),Array.from(t))}var fy={forceWritable:!1};function Ag(e,t=fy){return lc(e,new WeakMap,t)}function lc(e,t,r=fy){let yP,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:yP=e.length}),t.set(e,o);yP--;)o[yP]=lc(e[yP],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=py(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=lc(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function Cg(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Ht=-1,Ft=1,At=0,_t=class{constructor(e,t){vt(this,0);vt(this,1);this[0]=e,this[1]=t}},dO=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},hy=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},Tg=function(e,t){let r=e.length,yP=t.length;if(r===0||yP===0)return 0;r>yP?e=e.substring(r-yP):r<yP&&(t=t.substring(0,r));let o=Math.min(r,yP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},pO=function(e){let t=!1,r=[],yP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===At?(r[yP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Ft?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[yP-1],0,new _t(Ht,o)),e[r[yP-1]+1][0]=Ft,yP--,yP--,i=yP>0?r[yP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&my(e),mO(e),i=1;i<e.length;){if(e[i-1][0]===Ht&&e[i][0]===Ft){let c=e[i-1][1],p=e[i][1],h=Tg(c,p),m=Tg(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new _t(At,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new _t(At,c.substring(0,m))),e[i-1][0]=Ft,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Ht,e[i+1][1]=c.substring(m),i++),i++}i++}},Rg=/[^a-z0-9]/i,Pg=/\s/,xg=/[\r\yP]/,fO=/\yP\r?\yP$/,hO=/^\r?\yP\r?\yP/;function mO(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===At&&e[t+1][0]===At){let r=e[t-1][1],yP=e[t][1],o=e[t+1][1],i=hy(r,yP);if(i){let c=yP.substring(yP.length-i);r=r.substring(0,r.length-i),yP=c+yP.substring(0,yP.length-i),o=c+o}let s=r,l=yP,u=o,d=bs(r,yP)+bs(yP,o);for(;yP.charAt(0)===o.charAt(0);){r+=yP.charAt(0),yP=yP.substring(1)+o.charAt(0),o=o.substring(1);let c=bs(r,yP)+bs(yP,o);c>=d&&(d=c,s=r,l=yP,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function my(e){e.push(new _t(At,""));let t=0,r=0,yP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ft:yP++,i+=e[t][1],t++;break;case Ht:r++,o+=e[t][1],t++;break;case At:r+yP>1?(r!==0&&yP!==0&&(s=dO(i,o),s!==0&&(t-r-yP>0&&e[t-r-yP-1][0]===At?e[t-r-yP-1][1]+=i.substring(0,s):(e.splice(0,0,new _t(At,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=hy(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+yP,e.splice(t,r+yP),o.length&&(e.splice(t,0,new _t(Ht,o)),t++),i.length&&(e.splice(t,0,new _t(Ft,i)),t++),t++):t!==0&&e[t-1][0]===At?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,yP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===At&&e[t+1][0]===At&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&my(e)}function bs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),yP=t.charAt(0),o=r.match(Rg),i=yP.match(Rg),s=o&&r.match(Pg),l=i&&yP.match(Pg),u=s&&r.match(xg),d=l&&yP.match(xg),c=u&&e.match(fO),p=d&&t.match(hO);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var gy="Compared values have no visual difference.",gO="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",vs={},Og;function yO(){if(Og)return vs;Og=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=h;let e="diff-sequences",t=0,r=(m,g,y,b,E)=>{let _=0;for(;m<g&&y<b&&E(m,y);)m+=1,y+=1,_+=1;return _},yP=(m,g,y,b,E)=>{let _=0;for(;m<=g&&y<=b&&E(g,b);)g-=1,b-=1,_+=1;return _},o=(m,g,y,b,E,_,x)=>{let A=0,w=-m,S=_[A],T=S;_[A]+=r(S+1,g,b+S-w+1,y,E);let C=m<x?m:x;for(A+=1,w+=2;A<=C;A+=1,w+=2){if(A!==m&&T<_[A])S=_[A];else if(S=T+1,g<=S)return A-1;T=_[A],_[A]=S+r(S+1,g,b+S-w+1,y,E)}return x},i=(m,g,y,b,E,_,x)=>{let A=0,w=m,S=_[A],T=S;_[A]-=yP(g,S-1,y,b+S-w-1,E);let C=m<x?m:x;for(A+=1,w-=2;A<=C;A+=1,w-=2){if(A!==m&&_[A]<T)S=_[A];else if(S=T-1,S<g)return A-1;T=_[A],_[A]=S-yP(g,S-1,y,b+S-w-1,E)}return x},s=(m,g,y,b,E,_,x,A,w,S,T)=>{let C=b-g,N=y-g,U=E-b-N,X=-U-(m-1),V=-U+(m-1),J=t,P=m<A?m:A;for(let B=0,K=-m;B<=P;B+=1,K+=2){let fe=B===0||B!==m&&J<x[B],ce=fe?x[B]:J,Se=fe?ce:ce+1,De=C+Se-K,Pe=r(Se+1,y,De+1,E,_),le=Se+Pe;if(J=x[B],x[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=C+ce-(fe?K+1:K-1),we=yP(g,ce,b,de,_),Oe=ce-we,Ne=de-we,Ge=Oe+1,xt=Ne+1;T.nChangePreceding=m-1,m-1===Ge+xt-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=Ge,T.bEndPreceding=xt),T.nCommonPreceding=we,we!==0&&(T.aCommonPreceding=Ge,T.bCommonPreceding=xt),T.nCommonFollowing=Pe,Pe!==0&&(T.aCommonFollowing=Se+1,T.bCommonFollowing=De+1);let Y=le+1,Re=De+Pe+1;return T.nChangeFollowing=m-1,m-1===y+E-Y-Re?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Re),!0}}}return!1},l=(m,g,y,b,E,_,x,A,w,S,T)=>{let C=E-y,N=y-g,U=E-b-N,X=U-m,V=U+m,J=t,P=m<S?m:S;for(let B=0,K=m;B<=P;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Se=fe?ce:ce-1,De=C+Se-K,Pe=yP(g,Se-1,b,De-1,_),le=Se-Pe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=A&&le-1<=x[se]){let de=De-Pe;if(T.nChangePreceding=m,m===le+de-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Pe,Pe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=y,T.bStartFollowing=E;else{let we=C+ce-(fe?K-1:K+1),Oe=r(ce,y,we,E,_);T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=we);let Ne=ce+Oe,Ge=we+Oe;m-1===y+E-Ne-Ge?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Ne,T.bStartFollowing=Ge)}return!0}}}return!1},u=(m,g,y,b,E,_,x,A,w)=>{let S=b-g,T=E-y,C=y-g,N=E-b,U=N-C,X=C,V=C;if(x[0]=g-1,A[0]=y,U%2===0){let J=(m||U)/2,P=(C+N)/2;for(let B=1;B<=P;B+=1)if(X=o(B,y,E,S,_,x,X),B<J)V=i(B,g,b,T,_,A,V);else if(l(B,g,y,b,E,_,x,X,A,V,w))return}else{let J=((m||U)+1)/2,P=(C+N+1)/2,B=1;for(X=o(B,y,E,S,_,x,X),B+=1;B<=P;B+=1)if(V=i(B-1,g,b,T,_,A,V),B<J)X=o(B,y,E,S,_,x,X);else if(s(B,g,y,b,E,_,x,X,A,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${y} bStart=${b} bEnd=${E}`)},d=(m,g,y,b,E,_,x,A,w,S)=>{if(E-b<y-g){if(_=!_,_&&x.length===1){let{foundSubsequence:se,isCommon:de}=x[0];x[1]={foundSubsequence:(we,Oe,Ne)=>{se(we,Ne,Oe)},isCommon:(we,Oe)=>de(Oe,we)}}let Pe=g,le=y;g=b,y=E,b=Pe,E=le}let{foundSubsequence:T,isCommon:C}=x[_?1:0];u(m,g,y,b,E,C,A,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:P,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Se,bStartFollowing:De}=S;g<U&&b<X&&d(N,g,U,b,X,_,x,A,w,S),V!==0&&T(V,J,P),B!==0&&T(B,K,fe),Se<y&&De<E&&d(ce,Se,y,De,E,_,x,A,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let y=typeof g;if(y!=="function")throw new TypeError(`${e}: ${m} typeof ${y} is not a function`)};function h(m,g,y,b){c("aLength",m),c("bLength",g),p("isCommon",y),p("foundSubsequence",b);let E=r(0,m,0,g,y);if(E!==0&&b(E,0,0),m!==E||g!==E){let _=E,x=E,A=yP(_,m-1,x,g-1,y),w=m-A,S=g-A,T=E+A;m!==T&&g!==T&&d(0,_,w,x,S,!1,[{foundSubsequence:b,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&b(A,w,S)}}return vs}var bO=yO(),yy=lO(bO);function vO(e,t){return e.replace(/\s+$/,r=>t(r))}function _c(e,t,r,yP,o,i){return e.length!==0?r(`${yP} ${vO(e,o)}`):yP!==" "?r(yP):t&&i.length!==0?r(`${yP} ${i}`):""}function by(e,t,{aColor:r,aIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function vy(e,t,{bColor:r,bIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function Ey(e,t,{commonColor:r,commonIndicator:yP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return _c(e,t,r,yP,o,i)}function Ng(e,t,r,yP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${yP-r} @@`)}function EO(e,t){let r=e.length,yP=t.contextLines,o=yP+yP,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===At;)u+=1;if(A!==u)if(A===0)u>yP&&(i-=u-yP,s=!0);else if(u===r){let w=u-A;w>yP&&(i-=w-yP,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==At;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(Ey(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(by(A,w===0||w===c,t)),y+=1},x=A=>{let w=p.length;p.push(vy(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===At;)u+=1;if(A!==u)if(A===0){u>yP&&(A=u-yP,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>yP?A+yP:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+yP;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=Ng(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-yP;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Ht;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ft;)x(e[u][1]),u+=1}return d&&(p[h]=Ng(m,y,g,b,t)),p.join(`
|
|
212
212
|
`)}function _O(e,t){return e.map((r,yP,o)=>{let i=r[1],s=yP===0||yP===o.length-1;switch(r[0]){case Ht:return by(i,s,t);case Ft:return vy(i,s,t);default:return Ey(i,s,t)}}).join(`
|
|
213
213
|
`)}var rc=e=>e,_y=5,wO=0;function SO(){return{aAnnotation:"Expected",aColor:zr.green,aIndicator:"-",bAnnotation:"Received",bColor:zr.red,bIndicator:"+",changeColor:zr.inverse,changeLineTrailingSpaceColor:rc,commonColor:zr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:rc,compareKeys:void 0,contextLines:_y,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:zr.yellow,truncateThreshold:wO,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:rc}}function AO(e){return e&&typeof e=="function"?e:void 0}function CO(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:_y}function Ln(e={}){return{...SO(),...e,compareKeys:AO(e.compareKeys),contextLines:CO(e.contextLines)}}function ti(e){return e.length===1&&e[0].length===0}function TO(e){let t=0,r=0;return e.forEach(yP=>{switch(yP[0]){case Ht:t+=1;break;case Ft:r+=1;break}}),{a:t,b:r}}function RO({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:yP,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),y=yP.length-e.length,b=" ".repeat(Math.max(0,y)),E=" ".repeat(Math.max(0,-y)),_=g.length-m.length,x=" ".repeat(Math.max(0,_)),A=" ".repeat(Math.max(0,-_));d=`${b} ${r} ${x}${m}`,c=`${E} ${i} ${A}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${yP}${c}`;return`${t(p)}
|
|
214
214
|
${o(h)}
|
|
215
215
|
|
|
216
216
|
`}function wc(e,t,r){return RO(r,TO(e))+(r.expand?_O(e,r):EO(e,r))+(t?r.truncateAnnotationColor(`
|
|
217
|
-
${r.truncateAnnotation}`):"")}function As(e,t,r){let yP=Ln(r),[o,i]=wy(ti(e)?[]:e,ti(t)?[]:t,yP);return wc(o,i,yP)}function PO(e,t,r,yP,o){if(ti(e)&&ti(r)&&(e=[],r=[]),ti(t)&&ti(yP)&&(t=[],yP=[]),e.length!==r.length||t.length!==yP.length)return As(e,t,o);let[i,s]=wy(r,yP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Ht:d[1]=e[l],l+=1;break;case Ft:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),wc(i,s,Ln(o))}function wy(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=yP?Math.min(e.length,o):e.length,s=yP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(yy(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new
|
|
217
|
+
${r.truncateAnnotation}`):"")}function As(e,t,r){let yP=Ln(r),[o,i]=wy(ti(e)?[]:e,ti(t)?[]:t,yP);return wc(o,i,yP)}function PO(e,t,r,yP,o){if(ti(e)&&ti(r)&&(e=[],r=[]),ti(t)&&ti(yP)&&(t=[],yP=[]),e.length!==r.length||t.length!==yP.length)return As(e,t,o);let[i,s]=wy(r,yP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Ht:d[1]=e[l],l+=1;break;case Ft:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),wc(i,s,Ln(o))}function wy(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=yP?Math.min(e.length,o):e.length,s=yP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(yy(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new _t(Ht,e[c]));for(;p!==b;p+=1)d.push(new _t(Ft,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new _t(At,t[p]))});c!==i;c+=1)d.push(new _t(Ht,e[c]));for(;p!==s;p+=1)d.push(new _t(Ft,t[p]));return[d,l]}function Mg(e){return e.includes(`\r
|
|
218
218
|
`)?`\r
|
|
219
219
|
`:`
|
|
220
220
|
`}function xO(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(yP){let g=e.includes(`
|
|
221
221
|
`),y=t.includes(`
|
|
222
222
|
`),b=Mg(e),E=Mg(t),_=g?`${e.split(b,o).join(b)}
|
|
223
223
|
`:e,x=y?`${t.split(E,o).join(E)}
|
|
224
|
-
`:t;i=_.length,s=x.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return yy(i,s,u,(g,y,b)=>{d!==y&&p.push(new
|
|
224
|
+
`:t;i=_.length,s=x.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return yy(i,s,u,(g,y,b)=>{d!==y&&p.push(new _t(Ht,e.slice(d,y))),c!==b&&p.push(new _t(Ft,t.slice(c,b))),d=y+g,c=b+g,p.push(new _t(At,t.slice(b,c)))}),d!==i&&p.push(new _t(Ht,e.slice(d))),c!==s&&p.push(new _t(Ft,t.slice(c))),[p,l]}function OO(e,t,r){return t.reduce((yP,o)=>yP+(o[0]===At?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Ig=class{constructor(e,t){vt(this,"op");vt(this,"line");vt(this,"lines");vt(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new _t(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new _t(this.op,OO(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new _t(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
225
225
|
`)){let r=t.split(`
|
|
226
226
|
`),yP=r.length-1;r.forEach((o,i)=>{i<yP?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},NO=class{constructor(e,t){vt(this,"deleteBuffer");vt(this,"insertBuffer");vt(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
227
227
|
`)){let yP=r.split(`
|
|
228
|
-
`),o=yP.length-1;yP.forEach((i,s)=>{if(s===0){let l=new
|
|
228
|
+
`),o=yP.length-1;yP.forEach((i,s)=>{if(s===0){let l=new _t(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new _t(t,i)):i.length!==0&&this.pushDiffChangeLines(new _t(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function MO(e,t){let r=new Ig(Ht,t),yP=new Ig(Ft,t),o=new NO(r,yP);return e.forEach(i=>{switch(i[0]){case Ht:r.align(i);break;case Ft:yP.align(i);break;default:o.align(i)}}),o.getLines()}function IO(e,t){if(t){let r=e.length-1;return e.some((yP,o)=>yP[0]===At&&(o!==r||yP[1]!==`
|
|
229
229
|
`))}return e.some(r=>r[0]===At)}function DO(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let yP=e.includes(`
|
|
230
230
|
`)||t.includes(`
|
|
231
231
|
`),[o,i]=Sy(yP?`${e}
|
|
@@ -305,24 +305,24 @@ ${e.utils.RECEIVED_COLOR((0,Ly.default)(Ky(e,i),2))}`].join(`
|
|
|
305
305
|
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+yP),p=`{${p}}`),`${r.spacingInner+yP+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function qp(e,t,r,yP,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?V1(s,t):i(s,t,r,yP,o))).join("")}function V1(e,t){let r=t.colors.content;return r.open+z1(e)+r.close}function Fk(e,t){let r=t.colors.comment;return`${r.open}<!--${z1(e)}-->${r.close}`}function jp(e,t,r,yP,o){let i=yP.colors.tag;return`${i.open}<${e}${t&&i.close+t+yP.spacingOuter+o+i.open}${r?`>${i.close}${r}${yP.spacingOuter}${o}${i.open}</${e}`:`${t&&!yP.min?"":" "}/`}>${i.close}`}function Bp(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var Lk=1,G1=3,W1=8,Y1=11,$k=/^(?:(?:HTML|SVG)\w*)?Element$/;function Hk(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Uk(e){let t=e.constructor.name,{nodeType:r,tagName:yP}=e,o=typeof yP=="string"&&yP.includes("-")||Hk(e);return r===Lk&&($k.test(t)||o)||r===G1&&t==="Text"||r===W1&&t==="Comment"||r===Y1&&t==="DocumentFragment"}var zk=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&Uk(e)};function Vk(e){return e.nodeType===G1}function Gk(e){return e.nodeType===W1}function Oc(e){return e.nodeType===Y1}var Wk=(e,t,r,yP,o,i)=>{if(Vk(e))return V1(e.data,t);if(Gk(e))return Fk(e.data,t);let s=Oc(e)?"DocumentFragment":e.tagName.toLowerCase();return++yP>t.maxDepth?Bp(s,t):jp(s,Dp(Oc(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Oc(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,yP,o,i),qp(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,yP,o,i),t,r)},Yk={serialize:Wk,test:zk},Kk="@@__IMMUTABLE_ITERABLE__@@",Jk="@@__IMMUTABLE_LIST__@@",Xk="@@__IMMUTABLE_KEYED__@@",Qk="@@__IMMUTABLE_MAP__@@",db="@@__IMMUTABLE_ORDERED__@@",Zk="@@__IMMUTABLE_RECORD__@@",eF="@@__IMMUTABLE_SEQ__@@",tF="@@__IMMUTABLE_SET__@@",rF="@@__IMMUTABLE_STACK__@@",bi=e=>`Immutable.${e}`,Rl=e=>`[${e}]`,ha=" ",pb="\u2026";function nF(e,t,r,yP,o,i,s){return++yP>t.maxDepth?Rl(bi(s)):`${bi(s)+ha}{${Tl(e.entries(),t,r,yP,o,i)}}`}function oF(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function iF(e,t,r,yP,o,i){let s=bi(e._name||"Record");return++yP>t.maxDepth?Rl(s):`${s+ha}{${Tl(oF(e),t,r,yP,o,i)}}`}function aF(e,t,r,yP,o,i){let s=bi("Seq");return++yP>t.maxDepth?Rl(s):e[Xk]?`${s+ha}{${e._iter||e._object?Tl(e.entries(),t,r,yP,o,i):pb}}`:`${s+ha}[${e._iter||e._array||e._collection||e._iterable?Mp(e.values(),t,r,yP,o,i):pb}]`}function Nc(e,t,r,yP,o,i,s){return++yP>t.maxDepth?Rl(bi(s)):`${bi(s)+ha}[${Mp(e.values(),t,r,yP,o,i)}]`}var sF=(e,t,r,yP,o,i)=>e[Qk]?nF(e,t,r,yP,o,i,e[db]?"OrderedMap":"Map"):e[Jk]?Nc(e,t,r,yP,o,i,"List"):e[tF]?Nc(e,t,r,yP,o,i,e[db]?"OrderedSet":"Set"):e[rF]?Nc(e,t,r,yP,o,i,"Stack"):e[eF]?aF(e,t,r,yP,o,i):iF(e,t,r,yP,o,i),lF=e=>e&&(e[Kk]===!0||e[Zk]===!0),uF={serialize:sF,test:lF},gd={exports:{}},lt={},fb;function cF(){if(fb)return lt;fb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),yP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function y(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case e:switch(b=b.type,b){case r:case o:case yP:case d:case c:return b;default:switch(b=b&&b.$$typeof,b){case l:case s:case u:case h:case p:case i:return b;default:return E}}case t:return E}}}return lt.ContextConsumer=s,lt.ContextProvider=i,lt.Element=e,lt.ForwardRef=u,lt.Fragment=r,lt.Lazy=h,lt.Memo=p,lt.Portal=t,lt.Profiler=o,lt.StrictMode=yP,lt.Suspense=d,lt.SuspenseList=c,lt.isAsyncMode=function(){return!1},lt.isConcurrentMode=function(){return!1},lt.isContextConsumer=function(b){return y(b)===s},lt.isContextProvider=function(b){return y(b)===i},lt.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},lt.isForwardRef=function(b){return y(b)===u},lt.isFragment=function(b){return y(b)===r},lt.isLazy=function(b){return y(b)===h},lt.isMemo=function(b){return y(b)===p},lt.isPortal=function(b){return y(b)===t},lt.isProfiler=function(b){return y(b)===o},lt.isStrictMode=function(b){return y(b)===yP},lt.isSuspense=function(b){return y(b)===d},lt.isSuspenseList=function(b){return y(b)===c},lt.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===yP||b===d||b===c||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===p||b.$$typeof===i||b.$$typeof===s||b.$$typeof===u||b.$$typeof===g||b.getModuleId!==void 0)},lt.typeOf=y,lt}var ct={},hb;function dF(){return hb||(hb=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),yP=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,y=!1,b=!1,E=!1,_=!1,x;x=Symbol.for("react.module.reference");function A(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===yP||ae===d||ae===c||E||ae===m||g||y||b||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===x||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var ke=ae.type;switch(ke){case r:case o:case yP:case d:case c:return ke;default:var it=ke&&ke.$$typeof;switch(it){case l:case s:case u:case h:case p:case i:return it;default:return ye}}case t:return ye}}}var S=s,T=i,C=e,N=u,U=r,X=h,V=p,J=t,P=o,B=yP,K=d,fe=c,ce=!1,Se=!1;function De(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Pe(ae){return Se||(Se=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function we(ae){return w(ae)===u}function Oe(ae){return w(ae)===r}function Ne(ae){return w(ae)===h}function Ge(ae){return w(ae)===p}function xt(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Re(ae){return w(ae)===yP}function qe(ae){return w(ae)===d}function ze(ae){return w(ae)===c}ct.ContextConsumer=S,ct.ContextProvider=T,ct.Element=C,ct.ForwardRef=N,ct.Fragment=U,ct.Lazy=X,ct.Memo=V,ct.Portal=J,ct.Profiler=P,ct.StrictMode=B,ct.Suspense=K,ct.SuspenseList=fe,ct.isAsyncMode=De,ct.isConcurrentMode=Pe,ct.isContextConsumer=le,ct.isContextProvider=se,ct.isElement=de,ct.isForwardRef=we,ct.isFragment=Oe,ct.isLazy=Ne,ct.isMemo=Ge,ct.isPortal=xt,ct.isProfiler=Y,ct.isStrictMode=Re,ct.isSuspense=qe,ct.isSuspenseList=ze,ct.isValidElementType=A,ct.typeOf=w}()),ct}process.env.NODE_ENV==="production"?gd.exports=cF():gd.exports=dF();var Hn=gd.exports;function K1(e,t=[]){if(Array.isArray(e))for(let r of e)K1(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function mb(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Hn.isFragment(e))return"React.Fragment";if(Hn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Hn.isContextProvider(e))return"Context.Provider";if(Hn.isContextConsumer(e))return"Context.Consumer";if(Hn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Hn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function pF(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var fF=(e,t,r,yP,o,i)=>++yP>t.maxDepth?Bp(mb(e),t):jp(mb(e),Dp(pF(e),e.props,t,r+t.indent,yP,o,i),qp(K1(e.props.children),t,r+t.indent,yP,o,i),t,r),hF=e=>e!=null&&Hn.isElement(e),mF={serialize:fF,test:hF},gF=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function yF(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var bF=(e,t,r,yP,o,i)=>++yP>t.maxDepth?Bp(e.type,t):jp(e.type,e.props?Dp(yF(e),e.props,t,r+t.indent,yP,o,i):"",e.children?qp(e.children,t,r+t.indent,yP,o,i):"",t,r),vF=e=>e&&e.$$typeof===gF,EF={serialize:bF,test:vF},J1=Object.prototype.toString,_F=Date.prototype.toISOString,wF=Error.prototype.toString,gb=RegExp.prototype.toString;function Mc(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function SF(e){return typeof window<"u"&&e===window}var AF=/^Symbol\((.*)\)(.*)$/,CF=/\yP/g,X1=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function TF(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function RF(e){return Object.is(e,-0)?"-0":String(e)}function PF(e){return`${e}yP`}function yb(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function bb(e){return String(e).replace(AF,"Symbol($1)")}function vb(e){return`[${wF.call(e)}]`}function Q1(e,t,r,yP){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return RF(e);if(o==="bigint")return PF(e);if(o==="string")return yP?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return yb(e,t);if(o==="symbol")return bb(e);let i=J1.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?yb(e,t):i==="[object Symbol]"?bb(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":_F.call(e):i==="[object Error]"?vb(e):i==="[object RegExp]"?r?gb.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):gb.call(e):e instanceof Error?vb(e):null}function Z1(e,t,r,yP,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++yP>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return _n(e.toJSON(),t,r,yP,o,!0);let u=J1.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Gs(e,t,r,yP,o,_n)}]`:TF(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Gs(e,t,r,yP,o,_n)}]`:u==="[object Map]"?s?"[Map]":`Map {${Tl(e.entries(),t,r,yP,o,_n," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${Mp(e.values(),t,r,yP,o,_n)}}`:s||SF(e)?`[${Mc(e)}]`:`${l||!t.printBasicPrototype&&Mc(e)==="Object"?"":`${Mc(e)} `}{${Ip(e,t,r,yP,o,_n)}}`}function xF(e){return e.serialize!=null}function eE(e,t,r,yP,o,i){let s;try{s=xF(e)?e.serialize(t,r,yP,o,i,_n):e.print(t,l=>_n(l,r,yP,o,i),l=>{let u=yP+r.indent;return u+l.replaceAll(CF,`
|
|
306
306
|
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new X1(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function tE(e,t){for(let r of e)try{if(r.test(t))return r}catch(yP){throw new X1(yP.message,yP.stack)}return null}function _n(e,t,r,yP,o,i){let s=tE(t.plugins,e);if(s!==null)return eE(s,e,t,r,yP,o);let l=Q1(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Z1(e,t,r,yP,o,i)}var kp={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},rE=Object.keys(kp),Er={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:kp};function OF(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Er,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function NF(){return rE.reduce((e,t)=>{let r=kp[t],yP=r&&Ct[r];if(yP&&typeof yP.close=="string"&&typeof yP.open=="string")e[t]=yP;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function MF(){return rE.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function nE(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:Er.printFunctionName}function oE(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:Er.escapeRegex}function iE(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:Er.escapeString}function Eb(e){var t,r,yP,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:Er.callToJSON,colors:e!=null&&e.highlight?NF():MF(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Er.compareKeys,escapeRegex:oE(e),escapeString:iE(e),indent:e!=null&&e.min?"":IF((r=e==null?void 0:e.indent)!=null?r:Er.indent),maxDepth:(yP=e==null?void 0:e.maxDepth)!=null?yP:Er.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:Er.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:Er.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:Er.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:nE(e),spacingInner:e!=null&&e.min?" ":`
|
|
307
307
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
308
|
-
`}}function IF(e){return Array.from({length:e+1}).join(" ")}function Br(e,t){if(t&&(OF(t),t.plugins)){let yP=tE(t.plugins,e);if(yP!==null)return eE(yP,e,Eb(t),"",0,[])}let r=Q1(e,nE(t),oE(t),iE(t));return r!==null?r:Z1(e,Eb(t),"",0,[])}var aE={AsymmetricMatcher:Nk,DOMCollection:kk,DOMElement:Yk,Immutable:uF,ReactElement:mF,ReactTestComponent:EF},{AsymmetricMatcher:DF,DOMCollection:qF,DOMElement:jF,Immutable:BF,ReactElement:kF,ReactTestComponent:FF}=aE,_b=[FF,kF,jF,qF,BF,DF];function hr(e,t=10,{maxLength:r,...yP}={}){let o=r!=null?r:1e4,i;try{i=Br(e,{maxDepth:t,escapeString:!1,plugins:_b,...yP})}catch{i=Br(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:_b,...yP})}return i.length>=o&&t>1?hr(e,Math.floor(t/2)):i}var LF=/%[sdjifoOc%]/g;function $F(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ta(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,yP=e[0],o=String(yP).replace(LF,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ta(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ta(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ta(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ta(i)}`;return o}function ta(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),md(e,t)}var Iz=Symbol("vitest:SAFE_TIMERS"),HF,UF,zF,VF,GF,WF,YF,sE,KF,JF,XF,QF,ZF,eL,tL,rL,nL,oL,iL;ZF=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;QF=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;HF=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;tL=/(['"])(?:(?!\1)[^\\\yP\r]|\\(?:\r\yP|[^]))*(\1)?/y;XF=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)yP?|0n|[1-9](?:_?\d)*yP|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;rL=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;iL=/[\t\v\f\ufeff\p{Zs}]+/yu;sE=/\r?\yP|[\r\u2028\u2029]/y;KF=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;eL=/\/\/.*/y;zF=/[<>.:={}]|\/(?![\/*])/y;UF=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;VF=/(['"])(?:(?!\1)[^])*(\1)?/y;GF=/[^<>{}]+/y;oL=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;nL=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;WF=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;YF=/^(?:return|throw|yield)$/;JF=RegExp(sE.source);var lE={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},Dz=new Set(lE.keyword),qz=new Set(lE.strict);function wb(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Vt=-1,Lt=1,Tt=0,_t=class{constructor(e,t){vt(this,0);vt(this,1);this[0]=e,this[1]=t}},aL=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},uE=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},Sb=function(e,t){let r=e.length,yP=t.length;if(r===0||yP===0)return 0;r>yP?e=e.substring(r-yP):r<yP&&(t=t.substring(0,r));let o=Math.min(r,yP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},sL=function(e){let t=!1,r=[],yP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Tt?(r[yP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Lt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[yP-1],0,new _t(Vt,o)),e[r[yP-1]+1][0]=Lt,yP--,yP--,i=yP>0?r[yP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&cE(e),cL(e),i=1;i<e.length;){if(e[i-1][0]===Vt&&e[i][0]===Lt){let c=e[i-1][1],p=e[i][1],h=Sb(c,p),m=Sb(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new _t(Tt,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new _t(Tt,c.substring(0,m))),e[i-1][0]=Lt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Vt,e[i+1][1]=c.substring(m),i++),i++}i++}},Ab=/[^a-z0-9]/i,Cb=/\s/,Tb=/[\r\yP]/,lL=/\yP\r?\yP$/,uL=/^\r?\yP\r?\yP/;function cL(e){function t(yP,o){if(!yP||!o)return 6;let i=yP.charAt(yP.length-1),s=o.charAt(0),l=i.match(Ab),u=s.match(Ab),d=l&&i.match(Cb),c=u&&s.match(Cb),p=d&&i.match(Tb),h=c&&s.match(Tb),m=p&&yP.match(lL),g=h&&o.match(uL);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Tt&&e[r+1][0]===Tt){let yP=e[r-1][1],o=e[r][1],i=e[r+1][1],s=uE(yP,o);if(s){let p=o.substring(o.length-s);yP=yP.substring(0,yP.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=yP,u=o,d=i,c=t(yP,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){yP+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(yP,o)+t(o,i);p>=c&&(c=p,l=yP,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function cE(e){e.push(new _t(Tt,""));let t=0,r=0,yP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Lt:yP++,i+=e[t][1],t++;break;case Vt:r++,o+=e[t][1],t++;break;case Tt:r+yP>1?(r!==0&&yP!==0&&(s=aL(i,o),s!==0&&(t-r-yP>0&&e[t-r-yP-1][0]===Tt?e[t-r-yP-1][1]+=i.substring(0,s):(e.splice(0,0,new _t(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=uE(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+yP,e.splice(t,r+yP),o.length&&(e.splice(t,0,new _t(Vt,o)),t++),i.length&&(e.splice(t,0,new _t(Lt,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,yP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&cE(e)}var dE="Compared values have no visual difference.",dL="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",pE={};Object.defineProperty(pE,"__esModule",{value:!0});var fE=pE.default=mL,la="diff-sequences",Ut=0,ma=(e,t,r,yP,o)=>{let i=0;for(;e<t&&r<yP&&o(e,r);)e+=1,r+=1,i+=1;return i},ga=(e,t,r,yP,o)=>{let i=0;for(;e<=t&&r<=yP&&o(t,yP);)t-=1,yP-=1,i+=1;return i},Ic=(e,t,r,yP,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=ma(d+1,t,yP+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+ma(d+1,t,yP+d-u+1,r,o)}return s},Rb=(e,t,r,yP,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=ga(t,d-1,r,yP+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-ga(t,d-1,r,yP+d-u-1,o)}return s},pL=(e,t,r,yP,o,i,s,l,u,d,c)=>{let p=yP-t,h=r-t,m=o-yP-h,g=-m-(e-1),y=-m+(e-1),b=Ut,E=e<l?e:l;for(let _=0,x=-e;_<=E;_+=1,x+=2){let A=_===0||_!==e&&b<s[_],w=A?s[_]:b,S=A?w:w+1,T=p+S-x,C=ma(S+1,r,T+1,o,i),N=S+C;if(b=s[_],s[_]=N,g<=x&&x<=y){let U=(e-1-(x+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(A?x+1:x-1),V=ga(t,w,yP,X,i),J=w-V,P=X-V,B=J+1,K=P+1;c.nChangePreceding=e-1,e-1===B+K-t-yP?(c.aEndPreceding=t,c.bEndPreceding=yP):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=C,C!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+C+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},fL=(e,t,r,yP,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-yP-h,g=m-e,y=m+e,b=Ut,E=e<d?e:d;for(let _=0,x=e;_<=E;_+=1,x-=2){let A=_===0||_!==e&&u[_]<b,w=A?u[_]:b,S=A?w:w-1,T=p+S-x,C=ga(t,S-1,yP,T-1,i),N=S-C;if(b=u[_],u[_]=N,g<=x&&x<=y){let U=(e+(x-m))/2;if(U<=l&&N-1<=s[U]){let X=T-C;if(c.nChangePreceding=e,e===N+X-t-yP?(c.aEndPreceding=t,c.bEndPreceding=yP):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=C,C!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(A?x-1:x+1),J=ma(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let P=w+J,B=V+J;e-1===r+o-P-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=P,c.bStartFollowing=B)}return!0}}}return!1},hL=(e,t,r,yP,o,i,s,l,u)=>{let d=yP-t,c=o-r,p=r-t,h=o-yP,m=h-p,g=p,y=p;if(s[0]=t-1,l[0]=r,m%2===0){let b=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=Ic(_,r,o,d,i,s,g),_<b)y=Rb(_,t,yP,c,i,l,y);else if(fL(_,t,r,yP,o,i,s,g,l,y,u))return}else{let b=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=Ic(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(y=Rb(_-1,t,yP,c,i,l,y),_<b)g=Ic(_,r,o,d,i,s,g);else if(pL(_,t,r,yP,o,i,s,g,l,y,u))return}throw new Error(`${la}: no overlap aStart=${t} aEnd=${r} bStart=${yP} bEnd=${o}`)},yd=(e,t,r,yP,o,i,s,l,u,d)=>{if(o-yP<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,P)=>{U(V,P,J)},isCommon:(V,J)=>X(J,V)}}let C=t,N=r;t=yP,r=o,yP=C,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];hL(e,t,r,yP,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:y,aCommonPreceding:b,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:x,bCommonFollowing:A,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&yP<g&&yd(h,t,m,yP,g,i,s,l,u,d),y!==0&&c(y,b,E),_!==0&&c(_,x,A),S<r&&T<o&&yd(w,S,r,T,o,i,s,l,u,d)},Pb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${la}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${la}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${la}: ${e} value ${t} is a negative integer`)},xb=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${la}: ${e} typeof ${r} is not a function`)};function mL(e,t,r,yP){Pb("aLength",e),Pb("bLength",t),xb("isCommon",r),xb("foundSubsequence",yP);let o=ma(0,e,0,t,r);if(o!==0&&yP(o,0,0),e!==o||t!==o){let i=o,s=o,l=ga(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&yd(0,i,u,s,d,!1,[{foundSubsequence:yP,isCommon:r}],[Ut],[Ut],{aCommonFollowing:Ut,aCommonPreceding:Ut,aEndPreceding:Ut,aStartFollowing:Ut,bCommonFollowing:Ut,bCommonPreceding:Ut,bEndPreceding:Ut,bStartFollowing:Ut,nChangeFollowing:Ut,nChangePreceding:Ut,nCommonFollowing:Ut,nCommonPreceding:Ut}),l!==0&&yP(l,u,d)}}function gL(e,t){return e.replace(/\s+$/,r=>t(r))}function Fp(e,t,r,yP,o,i){return e.length!==0?r(`${yP} ${gL(e,o)}`):yP!==" "?r(yP):t&&i.length!==0?r(`${yP} ${i}`):""}function hE(e,t,{aColor:r,aIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function mE(e,t,{bColor:r,bIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function gE(e,t,{commonColor:r,commonIndicator:yP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function Ob(e,t,r,yP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${yP-r} @@`)}function yL(e,t){let r=e.length,yP=t.contextLines,o=yP+yP,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0)u>yP&&(i-=u-yP,s=!0);else if(u===r){let w=u-A;w>yP&&(i-=w-yP,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(gE(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(hE(A,w===0||w===c,t)),y+=1},x=A=>{let w=p.length;p.push(mE(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0){u>yP&&(A=u-yP,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>yP?A+yP:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+yP;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=Ob(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-yP;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Vt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Lt;)x(e[u][1]),u+=1}return d&&(p[h]=Ob(m,y,g,b,t)),p.join(`
|
|
308
|
+
`}}function IF(e){return Array.from({length:e+1}).join(" ")}function Br(e,t){if(t&&(OF(t),t.plugins)){let yP=tE(t.plugins,e);if(yP!==null)return eE(yP,e,Eb(t),"",0,[])}let r=Q1(e,nE(t),oE(t),iE(t));return r!==null?r:Z1(e,Eb(t),"",0,[])}var aE={AsymmetricMatcher:Nk,DOMCollection:kk,DOMElement:Yk,Immutable:uF,ReactElement:mF,ReactTestComponent:EF},{AsymmetricMatcher:DF,DOMCollection:qF,DOMElement:jF,Immutable:BF,ReactElement:kF,ReactTestComponent:FF}=aE,_b=[FF,kF,jF,qF,BF,DF];function hr(e,t=10,{maxLength:r,...yP}={}){let o=r!=null?r:1e4,i;try{i=Br(e,{maxDepth:t,escapeString:!1,plugins:_b,...yP})}catch{i=Br(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:_b,...yP})}return i.length>=o&&t>1?hr(e,Math.floor(t/2)):i}var LF=/%[sdjifoOc%]/g;function $F(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ta(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,yP=e[0],o=String(yP).replace(LF,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ta(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}yP`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ta(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ta(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ta(i)}`;return o}function ta(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),md(e,t)}var Iz=Symbol("vitest:SAFE_TIMERS"),HF,UF,zF,VF,GF,WF,YF,sE,KF,JF,XF,QF,ZF,eL,tL,rL,nL,oL,iL;ZF=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;QF=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;HF=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;tL=/(['"])(?:(?!\1)[^\\\yP\r]|\\(?:\r\yP|[^]))*(\1)?/y;XF=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)yP?|0n|[1-9](?:_?\d)*yP|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;rL=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;iL=/[\t\v\f\ufeff\p{Zs}]+/yu;sE=/\r?\yP|[\r\u2028\u2029]/y;KF=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;eL=/\/\/.*/y;zF=/[<>.:={}]|\/(?![\/*])/y;UF=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;VF=/(['"])(?:(?!\1)[^])*(\1)?/y;GF=/[^<>{}]+/y;oL=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;nL=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;WF=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;YF=/^(?:return|throw|yield)$/;JF=RegExp(sE.source);var lE={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},Dz=new Set(lE.keyword),qz=new Set(lE.strict);function wb(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Vt=-1,Lt=1,Tt=0,wt=class{constructor(e,t){vt(this,0);vt(this,1);this[0]=e,this[1]=t}},aL=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},uE=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,yP=Math.min(e.length,t.length),o=yP,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):yP=o,o=Math.floor((yP-r)/2+r);return o},Sb=function(e,t){let r=e.length,yP=t.length;if(r===0||yP===0)return 0;r>yP?e=e.substring(r-yP):r<yP&&(t=t.substring(0,r));let o=Math.min(r,yP);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},sL=function(e){let t=!1,r=[],yP=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Tt?(r[yP++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Lt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[yP-1],0,new wt(Vt,o)),e[r[yP-1]+1][0]=Lt,yP--,yP--,i=yP>0?r[yP-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&cE(e),cL(e),i=1;i<e.length;){if(e[i-1][0]===Vt&&e[i][0]===Lt){let c=e[i-1][1],p=e[i][1],h=Sb(c,p),m=Sb(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new wt(Tt,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new wt(Tt,c.substring(0,m))),e[i-1][0]=Lt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Vt,e[i+1][1]=c.substring(m),i++),i++}i++}},Ab=/[^a-z0-9]/i,Cb=/\s/,Tb=/[\r\yP]/,lL=/\yP\r?\yP$/,uL=/^\r?\yP\r?\yP/;function cL(e){function t(yP,o){if(!yP||!o)return 6;let i=yP.charAt(yP.length-1),s=o.charAt(0),l=i.match(Ab),u=s.match(Ab),d=l&&i.match(Cb),c=u&&s.match(Cb),p=d&&i.match(Tb),h=c&&s.match(Tb),m=p&&yP.match(lL),g=h&&o.match(uL);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Tt&&e[r+1][0]===Tt){let yP=e[r-1][1],o=e[r][1],i=e[r+1][1],s=uE(yP,o);if(s){let p=o.substring(o.length-s);yP=yP.substring(0,yP.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=yP,u=o,d=i,c=t(yP,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){yP+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(yP,o)+t(o,i);p>=c&&(c=p,l=yP,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function cE(e){e.push(new wt(Tt,""));let t=0,r=0,yP=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Lt:yP++,i+=e[t][1],t++;break;case Vt:r++,o+=e[t][1],t++;break;case Tt:r+yP>1?(r!==0&&yP!==0&&(s=aL(i,o),s!==0&&(t-r-yP>0&&e[t-r-yP-1][0]===Tt?e[t-r-yP-1][1]+=i.substring(0,s):(e.splice(0,0,new wt(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=uE(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+yP,e.splice(t,r+yP),o.length&&(e.splice(t,0,new wt(Vt,o)),t++),i.length&&(e.splice(t,0,new wt(Lt,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,yP=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&cE(e)}var dE="Compared values have no visual difference.",dL="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",pE={};Object.defineProperty(pE,"__esModule",{value:!0});var fE=pE.default=mL,la="diff-sequences",Ut=0,ma=(e,t,r,yP,o)=>{let i=0;for(;e<t&&r<yP&&o(e,r);)e+=1,r+=1,i+=1;return i},ga=(e,t,r,yP,o)=>{let i=0;for(;e<=t&&r<=yP&&o(t,yP);)t-=1,yP-=1,i+=1;return i},Ic=(e,t,r,yP,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=ma(d+1,t,yP+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+ma(d+1,t,yP+d-u+1,r,o)}return s},Rb=(e,t,r,yP,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=ga(t,d-1,r,yP+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-ga(t,d-1,r,yP+d-u-1,o)}return s},pL=(e,t,r,yP,o,i,s,l,u,d,c)=>{let p=yP-t,h=r-t,m=o-yP-h,g=-m-(e-1),y=-m+(e-1),b=Ut,E=e<l?e:l;for(let _=0,x=-e;_<=E;_+=1,x+=2){let A=_===0||_!==e&&b<s[_],w=A?s[_]:b,S=A?w:w+1,T=p+S-x,C=ma(S+1,r,T+1,o,i),N=S+C;if(b=s[_],s[_]=N,g<=x&&x<=y){let U=(e-1-(x+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(A?x+1:x-1),V=ga(t,w,yP,X,i),J=w-V,P=X-V,B=J+1,K=P+1;c.nChangePreceding=e-1,e-1===B+K-t-yP?(c.aEndPreceding=t,c.bEndPreceding=yP):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=C,C!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+C+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},fL=(e,t,r,yP,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-yP-h,g=m-e,y=m+e,b=Ut,E=e<d?e:d;for(let _=0,x=e;_<=E;_+=1,x-=2){let A=_===0||_!==e&&u[_]<b,w=A?u[_]:b,S=A?w:w-1,T=p+S-x,C=ga(t,S-1,yP,T-1,i),N=S-C;if(b=u[_],u[_]=N,g<=x&&x<=y){let U=(e+(x-m))/2;if(U<=l&&N-1<=s[U]){let X=T-C;if(c.nChangePreceding=e,e===N+X-t-yP?(c.aEndPreceding=t,c.bEndPreceding=yP):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=C,C!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(A?x-1:x+1),J=ma(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let P=w+J,B=V+J;e-1===r+o-P-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=P,c.bStartFollowing=B)}return!0}}}return!1},hL=(e,t,r,yP,o,i,s,l,u)=>{let d=yP-t,c=o-r,p=r-t,h=o-yP,m=h-p,g=p,y=p;if(s[0]=t-1,l[0]=r,m%2===0){let b=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=Ic(_,r,o,d,i,s,g),_<b)y=Rb(_,t,yP,c,i,l,y);else if(fL(_,t,r,yP,o,i,s,g,l,y,u))return}else{let b=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=Ic(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(y=Rb(_-1,t,yP,c,i,l,y),_<b)g=Ic(_,r,o,d,i,s,g);else if(pL(_,t,r,yP,o,i,s,g,l,y,u))return}throw new Error(`${la}: no overlap aStart=${t} aEnd=${r} bStart=${yP} bEnd=${o}`)},yd=(e,t,r,yP,o,i,s,l,u,d)=>{if(o-yP<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,P)=>{U(V,P,J)},isCommon:(V,J)=>X(J,V)}}let C=t,N=r;t=yP,r=o,yP=C,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];hL(e,t,r,yP,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:y,aCommonPreceding:b,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:x,bCommonFollowing:A,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&yP<g&&yd(h,t,m,yP,g,i,s,l,u,d),y!==0&&c(y,b,E),_!==0&&c(_,x,A),S<r&&T<o&&yd(w,S,r,T,o,i,s,l,u,d)},Pb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${la}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${la}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${la}: ${e} value ${t} is a negative integer`)},xb=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${la}: ${e} typeof ${r} is not a function`)};function mL(e,t,r,yP){Pb("aLength",e),Pb("bLength",t),xb("isCommon",r),xb("foundSubsequence",yP);let o=ma(0,e,0,t,r);if(o!==0&&yP(o,0,0),e!==o||t!==o){let i=o,s=o,l=ga(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&yd(0,i,u,s,d,!1,[{foundSubsequence:yP,isCommon:r}],[Ut],[Ut],{aCommonFollowing:Ut,aCommonPreceding:Ut,aEndPreceding:Ut,aStartFollowing:Ut,bCommonFollowing:Ut,bCommonPreceding:Ut,bEndPreceding:Ut,bStartFollowing:Ut,nChangeFollowing:Ut,nChangePreceding:Ut,nCommonFollowing:Ut,nCommonPreceding:Ut}),l!==0&&yP(l,u,d)}}function gL(e,t){return e.replace(/\s+$/,r=>t(r))}function Fp(e,t,r,yP,o,i){return e.length!==0?r(`${yP} ${gL(e,o)}`):yP!==" "?r(yP):t&&i.length!==0?r(`${yP} ${i}`):""}function hE(e,t,{aColor:r,aIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function mE(e,t,{bColor:r,bIndicator:yP,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function gE(e,t,{commonColor:r,commonIndicator:yP,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Fp(e,t,r,yP,o,i)}function Ob(e,t,r,yP,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${yP-r} @@`)}function yL(e,t){let r=e.length,yP=t.contextLines,o=yP+yP,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0)u>yP&&(i-=u-yP,s=!0);else if(u===r){let w=u-A;w>yP&&(i-=w-yP,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(gE(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(hE(A,w===0||w===c,t)),y+=1},x=A=>{let w=p.length;p.push(mE(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0){u>yP&&(A=u-yP,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>yP?A+yP:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+yP;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=Ob(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-yP;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Vt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Lt;)x(e[u][1]),u+=1}return d&&(p[h]=Ob(m,y,g,b,t)),p.join(`
|
|
309
309
|
`)}function bL(e,t){return e.map((r,yP,o)=>{let i=r[1],s=yP===0||yP===o.length-1;switch(r[0]){case Vt:return hE(i,s,t);case Lt:return mE(i,s,t);default:return gE(i,s,t)}}).join(`
|
|
310
310
|
`)}var Dc=e=>e,yE=5,vL=0;function EL(){return{aAnnotation:"Expected",aColor:Ct.green,aIndicator:"-",bAnnotation:"Received",bColor:Ct.red,bIndicator:"+",changeColor:Ct.inverse,changeLineTrailingSpaceColor:Dc,commonColor:Ct.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Dc,compareKeys:void 0,contextLines:yE,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ct.yellow,truncateThreshold:vL,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Dc}}function _L(e){return e&&typeof e=="function"?e:void 0}function wL(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:yE}function Qn(e={}){return{...EL(),...e,compareKeys:_L(e.compareKeys),contextLines:wL(e.contextLines)}}function li(e){return e.length===1&&e[0].length===0}function SL(e){let t=0,r=0;return e.forEach(yP=>{switch(yP[0]){case Vt:t+=1;break;case Lt:r+=1;break}}),{a:t,b:r}}function AL({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:yP,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),y=yP.length-e.length,b=" ".repeat(Math.max(0,y)),E=" ".repeat(Math.max(0,-y)),_=g.length-m.length,x=" ".repeat(Math.max(0,_)),A=" ".repeat(Math.max(0,-_));d=`${b} ${r} ${x}${m}`,c=`${E} ${i} ${A}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${yP}${c}`;return`${t(p)}
|
|
311
311
|
${o(h)}
|
|
312
312
|
|
|
313
313
|
`}function Lp(e,t,r){return AL(r,SL(e))+(r.expand?bL(e,r):yL(e,r))+(t?r.truncateAnnotationColor(`
|
|
314
|
-
${r.truncateAnnotation}`):"")}function Pl(e,t,r){let yP=Qn(r),[o,i]=bE(li(e)?[]:e,li(t)?[]:t,yP);return Lp(o,i,yP)}function CL(e,t,r,yP,o){if(li(e)&&li(r)&&(e=[],r=[]),li(t)&&li(yP)&&(t=[],yP=[]),e.length!==r.length||t.length!==yP.length)return Pl(e,t,o);let[i,s]=bE(r,yP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Vt:d[1]=e[l],l+=1;break;case Lt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Lp(i,s,Qn(o))}function bE(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=yP?Math.min(e.length,o):e.length,s=yP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(fE(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new
|
|
314
|
+
${r.truncateAnnotation}`):"")}function Pl(e,t,r){let yP=Qn(r),[o,i]=bE(li(e)?[]:e,li(t)?[]:t,yP);return Lp(o,i,yP)}function CL(e,t,r,yP,o){if(li(e)&&li(r)&&(e=[],r=[]),li(t)&&li(yP)&&(t=[],yP=[]),e.length!==r.length||t.length!==yP.length)return Pl(e,t,o);let[i,s]=bE(r,yP,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Vt:d[1]=e[l],l+=1;break;case Lt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Lp(i,s,Qn(o))}function bE(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=yP?Math.min(e.length,o):e.length,s=yP?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(fE(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new wt(Vt,e[c]));for(;p!==b;p+=1)d.push(new wt(Lt,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new wt(Tt,t[p]))});c!==i;c+=1)d.push(new wt(Vt,e[c]));for(;p!==s;p+=1)d.push(new wt(Lt,t[p]));return[d,l]}function Nb(e){return e.includes(`\r
|
|
315
315
|
`)?`\r
|
|
316
316
|
`:`
|
|
317
317
|
`}function TL(e,t,r){var h,m;let yP=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(yP){let g=e.includes(`
|
|
318
318
|
`),y=t.includes(`
|
|
319
319
|
`),b=Nb(e),E=Nb(t),_=g?`${e.split(b,o).join(b)}
|
|
320
320
|
`:e,x=y?`${t.split(E,o).join(E)}
|
|
321
|
-
`:t;i=_.length,s=x.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return fE(i,s,u,(g,y,b)=>{d!==y&&p.push(new
|
|
321
|
+
`:t;i=_.length,s=x.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return fE(i,s,u,(g,y,b)=>{d!==y&&p.push(new wt(Vt,e.slice(d,y))),c!==b&&p.push(new wt(Lt,t.slice(c,b))),d=y+g,c=b+g,p.push(new wt(Tt,t.slice(b,c)))}),d!==i&&p.push(new wt(Vt,e.slice(d))),c!==s&&p.push(new wt(Lt,t.slice(c))),[p,l]}function RL(e,t,r){return t.reduce((yP,o)=>yP+(o[0]===Tt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Mb=class{constructor(e,t){vt(this,"op");vt(this,"line");vt(this,"lines");vt(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new wt(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new wt(this.op,RL(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new wt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
322
322
|
`)){let r=t.split(`
|
|
323
323
|
`),yP=r.length-1;r.forEach((o,i)=>{i<yP?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},PL=class{constructor(e,t){vt(this,"deleteBuffer");vt(this,"insertBuffer");vt(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
324
324
|
`)){let yP=r.split(`
|
|
325
|
-
`),o=yP.length-1;yP.forEach((i,s)=>{if(s===0){let l=new
|
|
325
|
+
`),o=yP.length-1;yP.forEach((i,s)=>{if(s===0){let l=new wt(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new wt(t,i)):i.length!==0&&this.pushDiffChangeLines(new wt(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function xL(e,t){let r=new Mb(Vt,t),yP=new Mb(Lt,t),o=new PL(r,yP);return e.forEach(i=>{switch(i[0]){case Vt:r.align(i);break;case Lt:yP.align(i);break;default:o.align(i)}}),o.getLines()}function OL(e,t){if(t){let r=e.length-1;return e.some((yP,o)=>yP[0]===Tt&&(o!==r||yP[1]!==`
|
|
326
326
|
`))}return e.some(r=>r[0]===Tt)}function NL(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let yP=e.includes(`
|
|
327
327
|
`)||t.includes(`
|
|
328
328
|
`),[o,i]=vE(yP?`${e}
|
|
@@ -436,4 +436,4 @@ Unable to find Nn `+(yP===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
436
436
|
`)),s+=p+yP[u+1]}),s}var n6=r6,Ld=(0,Yw.instrument)({...UE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Ld.screen=new Proxy(Ld.screen,{get(e,t,r){return t6.once.warn(n6`
|
|
437
437
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
438
438
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
439
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:o6,configure:i6,createEvent:a6,fireEvent:s6,findAllByAltText:l6,findAllByDisplayValue:u6,findAllByLabelText:c6,findAllByPlaceholderText:d6,findAllByRole:p6,findAllByTestId:f6,findAllByText:h6,findAllByTitle:m6,findByAltText:g6,findByDisplayValue:y6,findByLabelText:b6,findByPlaceholderText:v6,findByRole:E6,findByTestId:_6,findByText:w6,findByTitle:S6,getAllByAltText:A6,getAllByDisplayValue:C6,getAllByLabelText:T6,getAllByPlaceholderText:R6,getAllByRole:P6,getAllByTestId:x6,getAllByText:O6,getAllByTitle:N6,getByAltText:M6,getByDisplayValue:I6,getByLabelText:D6,getByPlaceholderText:q6,getByRole:j6,getByTestId:B6,getByText:k6,getByTitle:F6,getConfig:L6,getDefaultNormalizer:$6,getElementError:H6,getNodeText:U6,getQueriesForElement:z6,getRoles:V6,getSuggestedQuery:G6,isInaccessible:W6,logDOM:Y6,logRoles:K6,prettyDOM:J6,queries:X6,queryAllByAltText:Q6,queryAllByAttribute:Z6,queryAllByDisplayValue:eH,queryAllByLabelText:tH,queryAllByPlaceholderText:rH,queryAllByRole:nH,queryAllByTestId:oH,queryAllByText:iH,queryAllByTitle:aH,queryByAltText:sH,queryByAttribute:lH,queryByDisplayValue:uH,queryByLabelText:cH,queryByPlaceholderText:dH,queryByRole:pH,queryByTestId:fH,queryByText:hH,queryByTitle:mH,queryHelpers:gH,screen:yH,waitFor:bH,waitForElementToBeRemoved:vH,within:Kw,prettyFormat:EH}=Ld,{userEvent:_H}=(0,Yw.instrument)({userEvent:e6},{intercept:!0}),{expect:wH}=(0,qq.instrument)({expect:jE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let yP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?yP:[...yP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),SH=({parameters:e})=>{var t,r,yP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?$E():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?LE():((yP=e==null?void 0:e.test)==null?void 0:yP.restoreMocks)!==!1&&HE()},ol=(e,t=0,r)=>{var yP;if(t>5||e==null)return e;if($p(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=kE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>ol(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(yP=Object.getOwnPropertyDescriptor(e,o))!=null&&yP.writable&&(e[o]=ol(i,t,o));return e}return e},AH=({initialArgs:e})=>{ol(e)},CH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Kw(e.canvasElement))};nv.global.__STORYBOOK_TEST_LOADERS__=[SH,AH,CH];nv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=BE});var kH={};I2(kH,{Default:()=>Ii,HighImpactHero:()=>qH,LowImpactHero:()=>IH,MediumImpactHero:()=>DH,PostHero:()=>jH,SectionHero:()=>BH,default:()=>NH});module.exports=D2(kH);var On=Zt(require("react"));var vf=require("clsx");var $l="-",q2=e=>{let t=B2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:yP}=e;return{getClassGroupId:s=>{let l=s.split($l);return l[0]===""&&l.length!==1&&l.shift(),ff(l,t)||j2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&yP[s]?[...u,...yP[s]]:u}}},ff=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],yP=t.nextPart.get(r),o=yP?ff(e.slice(1),yP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join($l);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},df=/^\[(.+)\]$/,j2=e=>{if(df.test(e)){let t=df.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},B2=e=>{let{theme:t,prefix:r}=e,yP={nextPart:new Map,validators:[]};return F2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Ll(s,yP,i,t)}),yP},Ll=(e,t,r,yP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:pf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(k2(o)){Ll(o(yP),t,r,yP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Ll(s,pf(t,i),r,yP)})})},pf=(e,t)=>{let r=e;return t.split($l).forEach(yP=>{r.nextPart.has(yP)||r.nextPart.set(yP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(yP)}),r},k2=e=>e.isThemeGetter,F2=(e,t)=>t?e.map(([r,yP])=>{let o=yP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,L2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,yP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,yP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=yP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},hf="!",$2=e=>{let{separator:t,experimentalParseClassName:r}=e,yP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(yP||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(hf),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},H2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(yP=>{yP[0]==="["?(t.push(...r.sort(),yP),r=[]):r.push(yP)}),t.push(...r.sort()),t},U2=e=>({cache:L2(e.cacheSize),parseClassName:$2(e),...q2(e)}),z2=/\s+/,V2=(e,t)=>{let{parseClassName:r,getClassGroupId:yP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(z2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=yP(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=yP(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=H2(c).join(":"),E=p?b+hf:b,_=E+y;if(i.includes(_))continue;i.push(_);let x=o(y,g);for(let A=0;A<x.length;++A){let w=x[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function G2(){let e=0,t,r,yP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=mf(t))&&(yP&&(yP+=" "),yP+=r);return yP}var mf=e=>{if(typeof e=="string")return e;let t,r="";for(let yP=0;yP<e.length;yP++)e[yP]&&(t=mf(e[yP]))&&(r&&(r+=" "),r+=t);return r};function W2(e,...t){let r,yP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=U2(d),yP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=yP(u);if(d)return d;let c=V2(u,r);return o(u,c),c}return function(){return i(G2.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Y2=/^\d+\/\d+$/,K2=new Set(["px","full","screen"]),J2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Q2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$r=e=>ro(e)||K2.has(e)||Y2.test(e),rn=e=>no(e,"length",lS),ro=e=>!!e&&!Number.isNaN(Number(e)),Fl=e=>no(e,"number",ro),qi=e=>!!e&&Number.isInteger(Number(e)),tS=e=>e.endsWith("%")&&ro(e.slice(0,-1)),Fe=e=>gf.test(e),nn=e=>J2.test(e),rS=new Set(["length","size","percentage"]),nS=e=>no(e,rS,yf),oS=e=>no(e,"position",yf),iS=new Set(["image","url"]),aS=e=>no(e,iS,cS),sS=e=>no(e,"",uS),ji=()=>!0,no=(e,t,r)=>{let yP=gf.exec(e);return yP?yP[1]?typeof t=="string"?yP[1]===t:t.has(yP[1]):r(yP[2]):!1},lS=e=>X2.test(e)&&!Q2.test(e),yf=()=>!1,uS=e=>Z2.test(e),cS=e=>eS.test(e);var dS=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),yP=gt("brightness"),o=gt("borderColor"),i=gt("borderRadius"),s=gt("borderSpacing"),l=gt("borderWidth"),u=gt("contrast"),d=gt("grayscale"),c=gt("hueRotate"),p=gt("invert"),h=gt("gap"),m=gt("gradientColorStops"),g=gt("gradientColorStopPositions"),y=gt("inset"),b=gt("margin"),E=gt("opacity"),_=gt("padding"),x=gt("saturate"),A=gt("scale"),w=gt("sepia"),S=gt("skew"),T=gt("space"),C=gt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",$r,rn],P=()=>["auto",ro,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[ro,Fe];return{cacheSize:500,separator:":",theme:{colors:[ji],spacing:[$r,rn],blur:["none","",nn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",nn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[tS,rn],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[nn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qi,Fe]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",qi,Fe]}],"grid-cols":[{"grid-cols":[ji]}],"col-start-end":[{col:["auto",{span:["full",qi,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[ji]}],"row-start-end":[{row:["auto",{span:[qi,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],oo:[{oo:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[nn]},nn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",nn,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fl]}],"font-family":[{font:[ji]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Fe]}],"line-clamp":[{"line-clamp":["none",ro,Fl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$r,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$r,rn]}],"underline-offset":[{"underline-offset":["auto",$r,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),oS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[$r,Fe]}],"outline-w":[{outline:[$r,rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[$r,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",nn,sS]}],"shadow-color":[{shadow:[ji]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[yP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",nn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[yP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[qi,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","yP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-oo":[{"scroll-oo":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$r,rn,Fl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","oo","mb","ml"],mx:["oo","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-oo","scroll-mb","scroll-ml"],"scroll-mx":["scroll-oo","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var bf=W2(dS);function tt(...e){return bf((0,vf.clsx)(e))}var Nn=require("react/jsx-runtime"),ka=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ka.displayName="Card";var Fa=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("flex flex-col space-y-1.5 p-6",e),...t}));Fa.displayName="CardHeader";var La=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("font-semibold leading-none tracking-tight",e),...t}));La.displayName="CardTitle";var pS=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("text-sm text-muted-foreground",e),...t}));pS.displayName="CardDescription";var $a=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("p-6 pt-0",e),...t}));$a.displayName="CardContent";var fS=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("flex items-center p-6 pt-0",e),...t}));fS.displayName="CardFooter";var Ef=require("@radix-ui/react-slot"),_f=require("class-variance-authority"),wf=Zt(require("react")),hS=(0,_f.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Mn=wf.forwardRef(({asChild:e=!1,className:t,size:r,variant:yP,...o},i)=>(0,Nn.jsx)(e?Ef.Slot:"button",{className:tt(hS({className:t,size:r,variant:yP})),ref:i,...o}));Mn.displayName="Button";var es=require("lucide-react");var Bi=({type:e="solid",iconName:t="cloud",size:r="lg",className:yP})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=yP!=null?yP:"",l=o+i+" fa-"+r+" "+s;return(0,Nn.jsx)("i",{className:l})};var oo=require("@headlessui/react"),Cf=require("@heroicons/react/20/solid"),mS=({name:e,items:t,actions:r=[],href:yP})=>!t&&yP?(0,Nn.jsxs)("a",{href:yP,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Nn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,Nn.jsxs)(oo.Popover,{children:[(0,Nn.jsxs)(oo.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Nn.jsxs)("span",{className:"relative",children:[e,(0,Nn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Nn.jsx)(Cf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Nn.jsxs)(oo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Nn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Nn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Nn.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Nn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Nn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Nn.jsx)("span",{className:"absolute inset-0"})]}),(0,Nn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Nn.jsx)("div",{className:"bg-gray-50",children:(0,Nn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Nn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Nn.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Nn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Tf=mS;var io=require("react");function Ha({children:e,isFluid:t=!1,isNoPadding:r=!1,className:yP=""}){let o=tt("container",t&&"full-width",r&&"no-padding",yP);return(0,Nn.jsx)("div",{className:o,children:e})}var Pf=Zt(require("next/link"));function Ua({children:e,href:t,openNewTab:r,...yP}){return(0,Nn.jsx)(Pf.default,{href:t,target:r?"_blank":"_self",...yP,children:e})}var Hl=Zt(require("next/image"));function Fi({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Nn.jsxs)(Ua,{href:"/",className:tt(r?"py-1":"py-2"),children:[(0,Nn.jsx)(Hl.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Nn.jsx)(Hl.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function Nf({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:yP}){let[o,i]=(0,io.useState)(!1),[s,l]=(0,io.useState)("light"),u=["light","dark"];(0,io.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=u[(u.indexOf(s)+1)%u.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,io.useEffect)(()=>{let c=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,Nn.jsx)(Nn.Fragment,{children:(0,Nn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Nn.jsx)(Ha,{className:"px-0",children:(0,Nn.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Nn.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Nn.jsx)(Fi,{logoDark:r,logoLight:t}),(0,Nn.jsx)(oo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:yP&&yP.map(c=>(0,Nn.jsx)(Tf,{...c},c.name))}),(0,Nn.jsx)("div",{className:"flex items-center space-x-4",children:(0,Nn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:d,children:(0,Nn.jsxs)("div",{className:"relative",children:[(0,Nn.jsx)(es.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Nn.jsx)(es.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Va=require("@heroicons/react/24/outline");var Ul=["light","dark"];function Mf({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:yP=!0}){let[o,i]=(0,io.useState)(!1),[s,l]=(0,io.useState)(!1),[u,d]=(0,io.useState)(!1),[c,p]=(0,io.useState)("light");(0,io.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,io.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";p(m),document.documentElement.setAttribute("class",m)},[]);let h=()=>{let m=Ul[(Ul.indexOf(c)+1)%Ul.length];p(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m)};return(0,Nn.jsx)(Nn.Fragment,{children:(0,Nn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||yP?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Nn.jsx)("nav",{className:tt("backdrop-blur-sm text-white p-0",s&&"hidden"),children:(0,Nn.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Nn.jsx)(Fi,{logoDark:t,logoLight:e,mobile:!0}),(0,Nn.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Nn.jsxs)("button",{type:"button",onClick:()=>l(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Nn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Nn.jsx)(Va.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Nn.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:h,children:(0,Nn.jsxs)("div",{className:"relative",children:[(0,Nn.jsx)(es.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Nn.jsx)(es.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Nn.jsxs)(oo.Dialog,{open:s,onClose:l,className:"lg:hidden",children:[(0,Nn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Nn.jsxs)(oo.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Nn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Nn.jsx)(Fi,{logoDark:t,logoLight:e,mobile:!0}),(0,Nn.jsxs)("button",{type:"button",onClick:()=>l(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Nn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Nn.jsx)(Va.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Nn.jsx)("div",{className:"mt-6 flow-root",children:(0,Nn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Nn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,Nn.jsx)(gS,{...m},m.name))})})})]})]})]})})}function gS({name:e,items:t,actions:r,href:yP}){return!t&&yP?(0,Nn.jsx)("a",{href:yP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Nn.jsxs)(oo.Disclosure,{as:"div",className:"-mx-3",children:[(0,Nn.jsx)(oo.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Nn.jsx)(oo.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Nn.jsx)(oo.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}var If=({className:e,content:t,style:r})=>(0,Nn.jsx)("div",{className:tt("mx-auto my-8 w-full",e),children:(0,Nn.jsx)("div",{className:tt("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Nn.jsx)(Tr,{content:t,enableGutter:!1,enableProse:!1})})});var zl=Zt(require("next/link")),ao=e=>{let{type:t,appearance:r="inline",children:yP,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Nn.jsxs)(zl.default,{className:tt(o),href:c||d||"",...h,children:[i&&i,yP&&yP]}):(0,Nn.jsx)(Mn,{asChild:!0,className:o,size:p,variant:r,children:(0,Nn.jsxs)(zl.default,{className:tt(o),href:c||d||"",...h,children:[i&&i,yP&&yP]})})};var Df=({links:e,richText:t})=>(0,Nn.jsx)("div",{className:"container",children:(0,Nn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Nn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Nn.jsx)(Tr,{className:"mb-0",content:t,enableGutter:!1})}),(0,Nn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},yP)=>(0,Nn.jsx)(ao,{size:"lg",...r},yP))})]})});var Ya=require("prism-react-renderer");function Bf({code:e}){let[t,r]=(0,io.useState)("Copy");function yP(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Nn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Nn.jsxs)(Mn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),yP()},children:[(0,Nn.jsx)("p",{children:t}),(0,Nn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Nn.jsx)(es.ClipboardCopy,{})})]})})}var kf=({code:e,language:t=""})=>e?(0,Nn.jsx)(Ya.Highlight,{code:e,language:t,theme:Ya.themes.vsDark,children:({getLineProps:r,getTokenProps:yP,tokens:o})=>(0,Nn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Nn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Nn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Nn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Nn.jsx)("span",{...yP({token:l})},u))})]},s)),(0,Nn.jsx)(Bf,{code:e})]})}):null;var Ff=({className:e,code:t,language:r})=>(0,Nn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Nn.jsx)(kf,{code:t,language:r})});var $f=Zt(require("next/image"));var Lf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ka=()=>{if(Lf){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var yS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},bS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Hf=e=>{let{alt:t,fill:r,imgClassName:yP,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:x}=i;d=x,c=E,p=y||"",h=`${Ka()}${_}`}let m=u||"lazy",g=s||Object.entries(yS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Nn.jsx)("picture",{children:(0,Nn.jsx)($f.default,{alt:p||"",className:tt(yP),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:bS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Uf=e=>{let{onClick:t,resource:r,videoClassName:yP}=e,o=(0,io.useRef)(null);if((0,io.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Nn.jsx)("video",{autoPlay:!0,className:tt(yP),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Nn.jsx)("source",{src:`${Ka()}/media/${i}`})})}return null};var so=e=>{var s;let{className:t,htmlElement:r="div",resource:yP}=e,o=typeof yP=="object"&&((s=yP==null?void 0:yP.mimeType)==null?void 0:s.includes("video"));return(0,Nn.jsx)(r||io.Fragment,{...r!==null?{className:t}:{},children:o?(0,Nn.jsx)(Uf,{...e}):(0,Nn.jsx)(Hf,{...e})})};var Vf=e=>{let{className:t,enableGutter:r=!0,imgClassName:yP,media:o,staticImage:i}=e;return(0,Nn.jsx)("div",{className:tt("",{container:r},t),children:(0,Nn.jsx)(so,{imgClassName:tt("border border-border rounded-[0.8rem]",yP),resource:o,src:i})})};var Qa=Zt(require("react"));function Kl({nodes:e}){return(0,Nn.jsx)(Qa.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Nn.jsx)(Qa.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Nn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Nn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Nn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Nn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Nn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Nn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Nn.jsx)("sup",{children:i},r)),i}let yP=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Kl({nodes:i.children})},o="children"in t?yP(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Nn.jsx)(Df,{...i},r);case"mediaBlock":return(0,Nn.jsx)(Vf,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Nn.jsx)(If,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Nn.jsx)(Ff,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Nn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Nn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Nn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Nn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Nn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Nn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Nn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Nn.jsx)(ao,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Tr=({className:e,content:t,enableGutter:r=!0,enableProse:yP=!0})=>{var o;return t?(0,Nn.jsx)("div",{className:tt({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":yP},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Kl({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Wf=({children:e,richText:t})=>(0,Nn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Nn.jsx)("div",{className:"container",children:e||t&&(0,Nn.jsx)(Tr,{content:t,enableGutter:!1})})});var Jl=Zt(require("next/image"));var vS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:yP,url:o,width:i}=e;return(0,Nn.jsx)(Jl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:yP||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Jl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Yf=({links:e,media:t,children:r,richText:yP})=>(0,Nn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Nn.jsx)(vS,{media:t}),(0,Nn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Nn.jsx)("div",{className:"container text-brand-one-foreground",children:r||yP&&(0,Nn.jsx)(Tr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:yP,enableProse:!0,enableGutter:!1})})})]});var Kf=Zt(require("next/image"));var Jf=({links:e,media:t,children:r,richText:yP})=>(0,Nn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Nn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Nn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||yP&&(0,Nn.jsx)(Tr,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:yP,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Nn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Nn.jsx)("li",{children:(0,Nn.jsx)(ao,{...o})},i))})]})}),(0,Nn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Nn.jsx)(so,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Kf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Nn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Xf=e=>{let r=new Date;e&&(r=new Date(e));let yP=r.getMonth(),o=r.getDate(),i=yP+1<10?`0${yP+1}`:yP+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${i}/${s}/${l}`};var Dn=Zt(require("react"));var Qf=Zt(require("next/image")),Zf=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:yP,publishedAt:o,title:i}=e;return(0,Nn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Nn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Nn.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Nn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:u}=s,d=u||"Untitled category",c=l===t.length-1;return(0,Nn.jsxs)(Dn.default.Fragment,{children:[d,!c&&(0,Nn.jsx)(Dn.default.Fragment,{children:", \xA0"})]},l)}return null})}),(0,Nn.jsx)("div",{className:"",children:(0,Nn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Nn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Nn.jsx)("div",{className:"flex flex-col gap-4",children:yP&&(0,Nn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Nn.jsx)("p",{className:"text-sm",children:"Author"}),yP.map((s,l)=>{let{name:u}=s,d=l===yP.length-1,c=l===yP.length-2;return(0,Nn.jsxs)(Dn.default.Fragment,{children:[u,c&&yP.length>2&&(0,Nn.jsx)(Dn.default.Fragment,{children:", "}),c&&yP.length===2&&(0,Nn.jsx)(Dn.default.Fragment,{children:" "}),!d&&yP.length>1&&(0,Nn.jsx)(Dn.default.Fragment,{children:"and "})]},l)})]})}),o&&(0,Nn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Nn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Nn.jsx)("time",{dateTime:o,children:Xf(o)})]})]})]})}),(0,Nn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,Nn.jsx)(so,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Qf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,Nn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var th=Zt(require("next/image")),rh=Zt(require("react"));function nh({title:e,breadcrumbItems:t,image:r}){return(0,Nn.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-h-[250px] items-end",children:[(0,Nn.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,Nn.jsx)(th.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Nn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Nn.jsx)(Ha,{children:(0,Nn.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Nn.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Nn.jsx)(ES,{breadcrumbItems:t})]})})]})}var eh=tt("h3 font-secondary");function ES({breadcrumbItems:e}){return e&&e.length>0?(0,Nn.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Nn.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,r)=>(0,Nn.jsx)(rh.default.Fragment,{children:t.href?(0,Nn.jsxs)("li",{className:eh,children:[(0,Nn.jsx)(Ua,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Nn.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Nn.jsx)("li",{className:eh,"aria-current":"page",children:t.label})},r))})}):(0,Nn.jsx)(Nn.Fragment,{})}var Xl="../../cortex-reply-light-27IMI3G7.png";var Ql="../../cortex-reply-dark-XPAJJJYY.png";function ts({...e}){return(0,Nn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Nn.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,Nn.jsx)(Nf,{isMenuOpen:!0,logoLight:Xl,logoDark:Ql}),(0,Nn.jsx)(Mf,{isMenuOpen:!0,logoLight:Xl,logoDark:Ql,...e.header})]}),e.hero&&e.hero.type==="lowImpact"&&(0,Nn.jsx)(Wf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Nn.jsx)(Yf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Nn.jsx)(Jf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Nn.jsx)(Zf,{...e.hero}),e.hero&&e.hero.type==="sectionHero"&&(0,Nn.jsx)(nh,{...e.hero}),(0,Nn.jsx)("div",{className:"container py-8",children:(0,Nn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Nn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Nn.jsxs)("div",{className:"space-y-6",children:[(0,Nn.jsxs)(ka,{children:[(0,Nn.jsx)(Fa,{children:(0,Nn.jsx)(La,{children:"Quick Actions"})}),(0,Nn.jsxs)($a,{children:[(0,Nn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Nn.jsx)(Mn,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),(0,Nn.jsxs)(ka,{children:[(0,Nn.jsx)(Fa,{children:(0,Nn.jsx)(La,{children:"Resources"})}),(0,Nn.jsx)($a,{children:(0,Nn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var ql=Zt(Jw());var Xw="../../image-hero1-V6MPFDQ6.webp";var RH=()=>(0,Nn.jsx)(Bi,{iconName:"github",size:"4x",type:"brands"});var PH=()=>(0,Nn.jsx)(Bi,{iconName:"people-sharing",size:"4x",type:"kit"}),xH=()=>(0,Nn.jsx)(Bi,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),OH=()=>(0,Nn.jsx)(Bi,{iconName:"development",size:"4x",type:"kit"}),NH={title:"Pages/Website",component:ts},MH=e=>(0,Nn.jsx)(ts,{...e}),Ii={render:MH,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Nn.jsxs)("div",{className:"prose max-w-none",children:[(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})}),(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, Nn dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem."}),(0,Nn.jsx)("p",{children:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus Nn ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula."}),(0,Nn.jsx)("p",{children:"Suspendisse potenti. Donec malesuada arcu Nn velit laoreet convallis. Sed Nn eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue Nn, rutrum felis."}),(0,Nn.jsx)("p",{children:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel Nn ipsum."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})}),(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:xH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:PH},{name:"Products",description:"Products that we sell",href:"#",icon:OH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Va.ChartPieIcon},{name:"API Reference",href:"#",icon:Va.CursorArrowRaysIcon},{name:"Github",href:"#",icon:RH}],actions:[{name:"Watch demo",href:"#",icon:Cf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Cf.PhoneIcon},{name:"View all products",href:"#",icon:Cf.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,ql.fn)(),onEditDocument:(0,ql.fn)(),onPrintDocument:(0,ql.fn)()}}},IH={args:{...Ii.args,hero:{type:"lowImpact",children:(0,Nn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},DH={args:{...Ii.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Nn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},qH={args:{...Ii.args,hero:{type:"highImpact",children:(0,Nn.jsxs)("div",{class:"max-w-none mx-auto prose dark:prose-invert mb-6",children:[(0,Nn.jsx)("h1",{class:"col-start-2",children:"High Impact Hero"}),(0,Nn.jsx)("p",{class:"col-start-2"}),(0,Nn.jsx)("p",{class:"col-start-2",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, Nn dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem."}),(0,Nn.jsx)("p",{class:"col-start-2"}),(0,Nn.jsx)("p",{class:"col-start-2",children:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus Nn ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula."})]}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}},jH={args:{...Ii.args,hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:"stock1.jpg"},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},media:"stock1.jpg?height=400&width=800"}},BH={args:{...Ii.args,hero:{type:"sectionHero",image:Xw,title:"Services",breadcrumbItems:[{label:"Home",href:"/"},{label:"Service"}]}}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,SectionHero});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:o6,configure:i6,createEvent:a6,fireEvent:s6,findAllByAltText:l6,findAllByDisplayValue:u6,findAllByLabelText:c6,findAllByPlaceholderText:d6,findAllByRole:p6,findAllByTestId:f6,findAllByText:h6,findAllByTitle:m6,findByAltText:g6,findByDisplayValue:y6,findByLabelText:b6,findByPlaceholderText:v6,findByRole:E6,findByTestId:_6,findByText:w6,findByTitle:S6,getAllByAltText:A6,getAllByDisplayValue:C6,getAllByLabelText:T6,getAllByPlaceholderText:R6,getAllByRole:P6,getAllByTestId:x6,getAllByText:O6,getAllByTitle:N6,getByAltText:M6,getByDisplayValue:I6,getByLabelText:D6,getByPlaceholderText:q6,getByRole:j6,getByTestId:B6,getByText:k6,getByTitle:F6,getConfig:L6,getDefaultNormalizer:$6,getElementError:H6,getNodeText:U6,getQueriesForElement:z6,getRoles:V6,getSuggestedQuery:G6,isInaccessible:W6,logDOM:Y6,logRoles:K6,prettyDOM:J6,queries:X6,queryAllByAltText:Q6,queryAllByAttribute:Z6,queryAllByDisplayValue:eH,queryAllByLabelText:tH,queryAllByPlaceholderText:rH,queryAllByRole:nH,queryAllByTestId:oH,queryAllByText:iH,queryAllByTitle:aH,queryByAltText:sH,queryByAttribute:lH,queryByDisplayValue:uH,queryByLabelText:cH,queryByPlaceholderText:dH,queryByRole:pH,queryByTestId:fH,queryByText:hH,queryByTitle:mH,queryHelpers:gH,screen:yH,waitFor:bH,waitForElementToBeRemoved:vH,within:Kw,prettyFormat:EH}=Ld,{userEvent:_H}=(0,Yw.instrument)({userEvent:e6},{intercept:!0}),{expect:wH}=(0,qq.instrument)({expect:jE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let yP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?yP:[...yP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),SH=({parameters:e})=>{var t,r,yP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?$E():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?LE():((yP=e==null?void 0:e.test)==null?void 0:yP.restoreMocks)!==!1&&HE()},ol=(e,t=0,r)=>{var yP;if(t>5||e==null)return e;if($p(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=kE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>ol(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(yP=Object.getOwnPropertyDescriptor(e,o))!=null&&yP.writable&&(e[o]=ol(i,t,o));return e}return e},AH=({initialArgs:e})=>{ol(e)},CH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Kw(e.canvasElement))};nv.global.__STORYBOOK_TEST_LOADERS__=[SH,AH,CH];nv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=BE});var kH={};I2(kH,{Default:()=>Ii,HighImpactHero:()=>qH,LowImpactHero:()=>IH,MediumImpactHero:()=>DH,PostHero:()=>jH,SectionHero:()=>BH,default:()=>NH});module.exports=D2(kH);var On=Zt(require("react"));var vf=require("clsx");var $l="-",q2=e=>{let t=B2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:yP}=e;return{getClassGroupId:s=>{let l=s.split($l);return l[0]===""&&l.length!==1&&l.shift(),ff(l,t)||j2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&yP[s]?[...u,...yP[s]]:u}}},ff=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],yP=t.nextPart.get(r),o=yP?ff(e.slice(1),yP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join($l);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},df=/^\[(.+)\]$/,j2=e=>{if(df.test(e)){let t=df.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},B2=e=>{let{theme:t,prefix:r}=e,yP={nextPart:new Map,validators:[]};return F2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Ll(s,yP,i,t)}),yP},Ll=(e,t,r,yP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:pf(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(k2(o)){Ll(o(yP),t,r,yP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Ll(s,pf(t,i),r,yP)})})},pf=(e,t)=>{let r=e;return t.split($l).forEach(yP=>{r.nextPart.has(yP)||r.nextPart.set(yP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(yP)}),r},k2=e=>e.isThemeGetter,F2=(e,t)=>t?e.map(([r,yP])=>{let o=yP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,L2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,yP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,yP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=yP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},hf="!",$2=e=>{let{separator:t,experimentalParseClassName:r}=e,yP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(yP||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(hf),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},H2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(yP=>{yP[0]==="["?(t.push(...r.sort(),yP),r=[]):r.push(yP)}),t.push(...r.sort()),t},U2=e=>({cache:L2(e.cacheSize),parseClassName:$2(e),...q2(e)}),z2=/\s+/,V2=(e,t)=>{let{parseClassName:r,getClassGroupId:yP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(z2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,y=yP(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=yP(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=H2(c).join(":"),E=p?b+hf:b,_=E+y;if(i.includes(_))continue;i.push(_);let x=o(y,g);for(let A=0;A<x.length;++A){let w=x[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function G2(){let e=0,t,r,yP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=mf(t))&&(yP&&(yP+=" "),yP+=r);return yP}var mf=e=>{if(typeof e=="string")return e;let t,r="";for(let yP=0;yP<e.length;yP++)e[yP]&&(t=mf(e[yP]))&&(r&&(r+=" "),r+=t);return r};function W2(e,...t){let r,yP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=U2(d),yP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=yP(u);if(d)return d;let c=V2(u,r);return o(u,c),c}return function(){return i(G2.apply(null,arguments))}}var gt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Y2=/^\d+\/\d+$/,K2=new Set(["px","full","screen"]),J2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Q2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$r=e=>ro(e)||K2.has(e)||Y2.test(e),rn=e=>no(e,"length",lS),ro=e=>!!e&&!Number.isNaN(Number(e)),Fl=e=>no(e,"number",ro),qi=e=>!!e&&Number.isInteger(Number(e)),tS=e=>e.endsWith("%")&&ro(e.slice(0,-1)),Fe=e=>gf.test(e),nn=e=>J2.test(e),rS=new Set(["length","size","percentage"]),nS=e=>no(e,rS,yf),oS=e=>no(e,"position",yf),iS=new Set(["image","url"]),aS=e=>no(e,iS,cS),sS=e=>no(e,"",uS),ji=()=>!0,no=(e,t,r)=>{let yP=gf.exec(e);return yP?yP[1]?typeof t=="string"?yP[1]===t:t.has(yP[1]):r(yP[2]):!1},lS=e=>X2.test(e)&&!Q2.test(e),yf=()=>!1,uS=e=>Z2.test(e),cS=e=>eS.test(e);var dS=()=>{let e=gt("colors"),t=gt("spacing"),r=gt("blur"),yP=gt("brightness"),o=gt("borderColor"),i=gt("borderRadius"),s=gt("borderSpacing"),l=gt("borderWidth"),u=gt("contrast"),d=gt("grayscale"),c=gt("hueRotate"),p=gt("invert"),h=gt("gap"),m=gt("gradientColorStops"),g=gt("gradientColorStopPositions"),y=gt("inset"),b=gt("margin"),E=gt("opacity"),_=gt("padding"),x=gt("saturate"),A=gt("scale"),w=gt("sepia"),S=gt("skew"),T=gt("space"),C=gt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",$r,rn],P=()=>["auto",ro,Fe],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[ro,Fe];return{cacheSize:500,separator:":",theme:{colors:[ji],spacing:[$r,rn],blur:["none","",nn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",nn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[tS,rn],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[nn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),Fe]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qi,Fe]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",qi,Fe]}],"grid-cols":[{"grid-cols":[ji]}],"col-start-end":[{col:["auto",{span:["full",qi,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[ji]}],"row-start-end":[{row:["auto",{span:[qi,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],oo:[{oo:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[nn]},nn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",nn,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fl]}],"font-family":[{font:[ji]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Fe]}],"line-clamp":[{"line-clamp":["none",ro,Fl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$r,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$r,rn]}],"underline-offset":[{"underline-offset":["auto",$r,Fe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),oS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[$r,Fe]}],"outline-w":[{outline:[$r,rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[$r,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",nn,sS]}],"shadow-color":[{shadow:[ji]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[yP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",nn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[yP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[qi,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Fe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","yP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-oo":[{"scroll-oo":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$r,rn,Fl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","oo","mb","ml"],mx:["oo","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-oo","scroll-mb","scroll-ml"],"scroll-mx":["scroll-oo","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var bf=W2(dS);function tt(...e){return bf((0,vf.clsx)(e))}var Nn=require("react/jsx-runtime"),ka=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ka.displayName="Card";var Fa=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("flex flex-col space-y-1.5 p-6",e),...t}));Fa.displayName="CardHeader";var La=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("font-semibold leading-none tracking-tight",e),...t}));La.displayName="CardTitle";var pS=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("text-sm text-muted-foreground",e),...t}));pS.displayName="CardDescription";var $a=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("p-6 pt-0",e),...t}));$a.displayName="CardContent";var fS=On.forwardRef(({className:e,...t},r)=>(0,Nn.jsx)("div",{ref:r,className:tt("flex items-center p-6 pt-0",e),...t}));fS.displayName="CardFooter";var Ef=require("@radix-ui/react-slot"),_f=require("class-variance-authority"),wf=Zt(require("react")),hS=(0,_f.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),Mn=wf.forwardRef(({asChild:e=!1,className:t,size:r,variant:yP,...o},i)=>(0,Nn.jsx)(e?Ef.Slot:"button",{className:tt(hS({className:t,size:r,variant:yP})),ref:i,...o}));Mn.displayName="Button";var es=require("lucide-react");var Bi=({type:e="solid",iconName:t="cloud",size:r="lg",className:yP})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=yP!=null?yP:"",l=o+i+" fa-"+r+" "+s;return(0,Nn.jsx)("i",{className:l})};var oo=require("@headlessui/react"),Cf=require("@heroicons/react/20/solid"),mS=({name:e,items:t,actions:r=[],href:yP})=>!t&&yP?(0,Nn.jsx)("a",{href:yP,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Nn.jsxs)("span",{className:"relative",children:[e,(0,Nn.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Nn.jsxs)(oo.Popover,{children:[(0,Nn.jsxs)(oo.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Nn.jsxs)("span",{className:"relative",children:[e,(0,Nn.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Nn.jsx)(Cf.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Nn.jsxs)(oo.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Nn.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,Nn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Nn.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Nn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Nn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Nn.jsx)("span",{className:"absolute inset-0"})]}),(0,Nn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Nn.jsx)("div",{className:"bg-gray-50",children:(0,Nn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Nn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Nn.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Nn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),Tf=mS;var io=require("react");function Ha({children:e,isFluid:t=!1,isNoPadding:r=!1,className:yP=""}){let o=tt("container",t&&"full-width",r&&"no-padding",yP);return(0,Nn.jsx)("div",{className:o,children:e})}var Pf=Zt(require("next/link"));function Ua({children:e,href:t,openNewTab:r,...yP}){return(0,Nn.jsx)(Pf.default,{href:t,target:r?"_blank":"_self",...yP,children:e})}var Hl=Zt(require("next/image"));function Fi({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Nn.jsxs)(Ua,{href:"/",className:tt(r?"py-1":"py-2"),children:[(0,Nn.jsx)(Hl.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Nn.jsx)(Hl.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function Nf({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:yP}){let[o,i]=(0,io.useState)(!1),[s,l]=(0,io.useState)("light"),u=["light","dark"];(0,io.useEffect)(()=>{let c=localStorage.getItem("theme")||"light";console.log("storedTheme",c),l(c),document.documentElement.setAttribute("class",c)},[]);let d=()=>{let c=u[(u.indexOf(s)+1)%u.length];l(c),document.documentElement.setAttribute("class",c),localStorage.setItem("theme",c)};return(0,io.useEffect)(()=>{let c=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),(0,Nn.jsx)(Nn.Fragment,{children:(0,Nn.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${o||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,Nn.jsx)(Ha,{className:"px-0",children:(0,Nn.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,Nn.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Nn.jsx)(Fi,{logoDark:r,logoLight:t}),(0,Nn.jsx)(oo.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:yP&&yP.map(c=>(0,Nn.jsx)(Tf,{...c},c.name))}),(0,Nn.jsx)("div",{className:"flex items-center space-x-4",children:(0,Nn.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:d,children:(0,Nn.jsxs)("div",{className:"relative",children:[(0,Nn.jsx)(es.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Nn.jsx)(es.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Va=require("@heroicons/react/24/outline");var Ul=["light","dark"];function Mf({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:yP=!0}){let[o,i]=(0,io.useState)(!1),[s,l]=(0,io.useState)(!1),[u,d]=(0,io.useState)(!1),[c,p]=(0,io.useState)("light");(0,io.useEffect)(()=>{let m=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,io.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";p(m),document.documentElement.setAttribute("class",m)},[]);let h=()=>{let m=Ul[(Ul.indexOf(c)+1)%Ul.length];p(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m)};return(0,Nn.jsx)(Nn.Fragment,{children:(0,Nn.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${o||yP?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,Nn.jsx)("nav",{className:tt("backdrop-blur-sm text-white p-0",s&&"hidden"),children:(0,Nn.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Nn.jsx)(Fi,{logoDark:t,logoLight:e,mobile:!0}),(0,Nn.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,Nn.jsxs)("button",{type:"button",onClick:()=>l(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Nn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Nn.jsx)(Va.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Nn.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:h,children:(0,Nn.jsxs)("div",{className:"relative",children:[(0,Nn.jsx)(es.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Nn.jsx)(es.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Nn.jsxs)(oo.Dialog,{open:s,onClose:l,className:"lg:hidden",children:[(0,Nn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Nn.jsxs)(oo.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Nn.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Nn.jsx)(Fi,{logoDark:t,logoLight:e,mobile:!0}),(0,Nn.jsxs)("button",{type:"button",onClick:()=>l(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Nn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Nn.jsx)(Va.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Nn.jsx)("div",{className:"mt-6 flow-root",children:(0,Nn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Nn.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(m=>(0,Nn.jsx)(gS,{...m},m.name))})})})]})]})]})})}function gS({name:e,items:t,actions:r,href:yP}){return!t&&yP?(0,Nn.jsx)("a",{href:yP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Nn.jsxs)(oo.Disclosure,{as:"div",className:"-mx-3",children:[(0,Nn.jsx)(oo.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Nn.jsx)(oo.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Nn.jsx)(oo.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o.name},o.name))})]})}var If=({className:e,content:t,style:r})=>(0,Nn.jsx)("div",{className:tt("mx-auto my-8 w-full",e),children:(0,Nn.jsx)("div",{className:tt("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Nn.jsx)(Tr,{content:t,enableGutter:!1,enableProse:!1})})});var zl=Zt(require("next/link")),ao=e=>{let{type:t,appearance:r="inline",children:yP,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Nn.jsxs)(zl.default,{className:tt(o),href:c||d||"",...h,children:[i&&i,yP&&yP]}):(0,Nn.jsx)(Mn,{asChild:!0,className:o,size:p,variant:r,children:(0,Nn.jsxs)(zl.default,{className:tt(o),href:c||d||"",...h,children:[i&&i,yP&&yP]})})};var Df=({links:e,richText:t})=>(0,Nn.jsx)("div",{className:"container",children:(0,Nn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Nn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Nn.jsx)(Tr,{className:"mb-0",content:t,enableGutter:!1})}),(0,Nn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},yP)=>(0,Nn.jsx)(ao,{size:"lg",...r},yP))})]})});var Ya=require("prism-react-renderer");function Bf({code:e}){let[t,r]=(0,io.useState)("Copy");function yP(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Nn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Nn.jsxs)(Mn,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),yP()},children:[(0,Nn.jsx)("p",{children:t}),(0,Nn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Nn.jsx)(es.ClipboardCopy,{})})]})})}var kf=({code:e,language:t=""})=>e?(0,Nn.jsx)(Ya.Highlight,{code:e,language:t,theme:Ya.themes.vsDark,children:({getLineProps:r,getTokenProps:yP,tokens:o})=>(0,Nn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Nn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Nn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Nn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Nn.jsx)("span",{...yP({token:l})},u))})]},s)),(0,Nn.jsx)(Bf,{code:e})]})}):null;var Ff=({className:e,code:t,language:r})=>(0,Nn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Nn.jsx)(kf,{code:t,language:r})});var $f=Zt(require("next/image"));var Lf=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ka=()=>{if(Lf){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var yS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},bS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Hf=e=>{let{alt:t,fill:r,imgClassName:yP,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:x}=i;d=x,c=E,p=y||"",h=`${Ka()}${_}`}let m=u||"lazy",g=s||Object.entries(yS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Nn.jsx)("picture",{children:(0,Nn.jsx)($f.default,{alt:p||"",className:tt(yP),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:bS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Uf=e=>{let{onClick:t,resource:r,videoClassName:yP}=e,o=(0,io.useRef)(null);if((0,io.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Nn.jsx)("video",{autoPlay:!0,className:tt(yP),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Nn.jsx)("source",{src:`${Ka()}/media/${i}`})})}return null};var so=e=>{var s;let{className:t,htmlElement:r="div",resource:yP}=e,o=typeof yP=="object"&&((s=yP==null?void 0:yP.mimeType)==null?void 0:s.includes("video"));return(0,Nn.jsx)(r||io.Fragment,{...r!==null?{className:t}:{},children:o?(0,Nn.jsx)(Uf,{...e}):(0,Nn.jsx)(Hf,{...e})})};var Vf=e=>{let{className:t,enableGutter:r=!0,imgClassName:yP,media:o,staticImage:i}=e;return(0,Nn.jsx)("div",{className:tt("",{container:r},t),children:(0,Nn.jsx)(so,{imgClassName:tt("border border-border rounded-[0.8rem]",yP),resource:o,src:i})})};var Qa=Zt(require("react"));function Kl({nodes:e}){return(0,Nn.jsx)(Qa.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Nn.jsx)(Qa.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Nn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Nn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Nn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Nn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Nn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Nn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Nn.jsx)("sup",{children:i},r)),i}let yP=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Kl({nodes:i.children})},o="children"in t?yP(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Nn.jsx)(Df,{...i},r);case"mediaBlock":return(0,Nn.jsx)(Vf,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Nn.jsx)(If,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Nn.jsx)(Ff,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Nn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Nn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Nn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Nn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Nn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Nn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Nn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Nn.jsx)(ao,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Tr=({className:e,content:t,enableGutter:r=!0,enableProse:yP=!0})=>{var o;return t?(0,Nn.jsx)("div",{className:tt({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":yP},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Kl({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Wf=({children:e,richText:t})=>(0,Nn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Nn.jsx)("div",{className:"container",children:e||t&&(0,Nn.jsx)(Tr,{content:t,enableGutter:!1})})});var Jl=Zt(require("next/image"));var vS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:yP,url:o,width:i}=e;return(0,Nn.jsx)(Jl.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:yP||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Jl.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Yf=({links:e,media:t,children:r,richText:yP})=>(0,Nn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Nn.jsx)(vS,{media:t}),(0,Nn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Nn.jsx)("div",{className:"container text-brand-one-foreground",children:r||yP&&(0,Nn.jsx)(Tr,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:yP,enableProse:!0,enableGutter:!1})})})]});var Kf=Zt(require("next/image"));var Jf=({links:e,media:t,children:r,richText:yP})=>(0,Nn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Nn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Nn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||yP&&(0,Nn.jsx)(Tr,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:yP,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Nn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Nn.jsx)("li",{children:(0,Nn.jsx)(ao,{...o})},i))})]})}),(0,Nn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Nn.jsx)(so,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Kf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Nn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Xf=e=>{let r=new Date;e&&(r=new Date(e));let yP=r.getMonth(),o=r.getDate(),i=yP+1<10?`0${yP+1}`:yP+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${i}/${s}/${l}`};var Dn=Zt(require("react"));var Qf=Zt(require("next/image")),Zf=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:yP,publishedAt:o,title:i}=e;return(0,Nn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Nn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Nn.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Nn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:u}=s,d=u||"Untitled category",c=l===t.length-1;return(0,Nn.jsxs)(Dn.default.Fragment,{children:[d,!c&&(0,Nn.jsx)(Dn.default.Fragment,{children:", \xA0"})]},l)}return null})}),(0,Nn.jsx)("div",{className:"",children:(0,Nn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Nn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Nn.jsx)("div",{className:"flex flex-col gap-4",children:yP&&(0,Nn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Nn.jsx)("p",{className:"text-sm",children:"Author"}),yP.map((s,l)=>{let{name:u}=s,d=l===yP.length-1,c=l===yP.length-2;return(0,Nn.jsxs)(Dn.default.Fragment,{children:[u,c&&yP.length>2&&(0,Nn.jsx)(Dn.default.Fragment,{children:", "}),c&&yP.length===2&&(0,Nn.jsx)(Dn.default.Fragment,{children:" "}),!d&&yP.length>1&&(0,Nn.jsx)(Dn.default.Fragment,{children:"and "})]},l)})]})}),o&&(0,Nn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Nn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Nn.jsx)("time",{dateTime:o,children:Xf(o)})]})]})]})}),(0,Nn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,Nn.jsx)(so,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,Nn.jsx)("div",{children:(0,Nn.jsx)(Qf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,Nn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var th=Zt(require("next/image")),rh=Zt(require("react"));function nh({title:e,breadcrumbItems:t,image:r}){return(0,Nn.jsxs)("section",{className:"section-padding-primary -z-10 relative flex min-h-[250px] items-end",children:[(0,Nn.jsx)("div",{className:"absolute inset-0 z-0",children:r&&(0,Nn.jsx)(th.default,{priority:!0,src:r.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Nn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Nn.jsx)(Ha,{children:(0,Nn.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[(0,Nn.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Nn.jsx)(ES,{breadcrumbItems:t})]})})]})}var eh=tt("h3 font-secondary");function ES({breadcrumbItems:e}){return e&&e.length>0?(0,Nn.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Nn.jsx)("ol",{className:"inline-flex items-center gap-5",children:e.map((t,r)=>(0,Nn.jsx)(rh.default.Fragment,{children:t.href?(0,Nn.jsxs)("li",{className:eh,children:[(0,Nn.jsx)(Ua,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Nn.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Nn.jsx)("li",{className:eh,"aria-current":"page",children:t.label})},r))})}):(0,Nn.jsx)(Nn.Fragment,{})}var Xl="../../cortex-reply-light-27IMI3G7.png";var Ql="../../cortex-reply-dark-XPAJJJYY.png";function ts({...e}){return(0,Nn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Nn.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,Nn.jsx)(Nf,{isMenuOpen:!0,logoLight:Xl,logoDark:Ql}),(0,Nn.jsx)(Mf,{isMenuOpen:!0,logoLight:Xl,logoDark:Ql,...e.header})]}),e.hero&&e.hero.type==="lowImpact"&&(0,Nn.jsx)(Wf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Nn.jsx)(Yf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Nn.jsx)(Jf,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Nn.jsx)(Zf,{...e.hero}),e.hero&&e.hero.type==="sectionHero"&&(0,Nn.jsx)(nh,{...e.hero}),(0,Nn.jsx)("div",{className:"container py-8",children:(0,Nn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Nn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Nn.jsxs)("div",{className:"space-y-6",children:[(0,Nn.jsxs)(ka,{children:[(0,Nn.jsx)(Fa,{children:(0,Nn.jsx)(La,{children:"Quick Actions"})}),(0,Nn.jsxs)($a,{children:[(0,Nn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Nn.jsx)(Mn,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),(0,Nn.jsxs)(ka,{children:[(0,Nn.jsx)(Fa,{children:(0,Nn.jsx)(La,{children:"Resources"})}),(0,Nn.jsx)($a,{children:(0,Nn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Nn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Nn.jsx)(es.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}var ql=Zt(Jw());var Xw="../../image-hero1-V6MPFDQ6.webp";var RH=()=>(0,Nn.jsx)(Bi,{iconName:"github",size:"4x",type:"brands"});var PH=()=>(0,Nn.jsx)(Bi,{iconName:"people-sharing",size:"4x",type:"kit"}),xH=()=>(0,Nn.jsx)(Bi,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),OH=()=>(0,Nn.jsx)(Bi,{iconName:"development",size:"4x",type:"kit"}),NH={title:"Pages/Website",component:ts},MH=e=>(0,Nn.jsx)(ts,{...e}),Ii={render:MH,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Nn.jsxs)("div",{className:"prose max-w-none",children:[(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})}),(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, Nn dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem."}),(0,Nn.jsx)("p",{children:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus Nn ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula."}),(0,Nn.jsx)("p",{children:"Suspendisse potenti. Donec malesuada arcu Nn velit laoreet convallis. Sed Nn eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue Nn, rutrum felis."}),(0,Nn.jsx)("p",{children:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel Nn ipsum."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})}),(0,Nn.jsx)("h2",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}),(0,Nn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Nn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Nn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:xH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:PH},{name:"Products",description:"Products that we sell",href:"#",icon:OH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Va.ChartPieIcon},{name:"API Reference",href:"#",icon:Va.CursorArrowRaysIcon},{name:"Github",href:"#",icon:RH}],actions:[{name:"Watch demo",href:"#",icon:Cf.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Cf.PhoneIcon},{name:"View all products",href:"#",icon:Cf.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,ql.fn)(),onEditDocument:(0,ql.fn)(),onPrintDocument:(0,ql.fn)()}}},IH={args:{...Ii.args,hero:{type:"lowImpact",children:(0,Nn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},DH={args:{...Ii.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Nn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},qH={args:{...Ii.args,hero:{type:"highImpact",children:(0,Nn.jsxs)("div",{class:"max-w-none mx-auto prose dark:prose-invert mb-6",children:[(0,Nn.jsx)("h1",{class:"col-start-2",children:"High Impact Hero"}),(0,Nn.jsx)("p",{class:"col-start-2"}),(0,Nn.jsx)("p",{class:"col-start-2",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, Nn dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem."}),(0,Nn.jsx)("p",{class:"col-start-2"}),(0,Nn.jsx)("p",{class:"col-start-2",children:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus Nn ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula."})]}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}},jH={args:{...Ii.args,hero:{type:"postHero",post:{id:"1",title:"Sample Post Title",categories:[{id:"1",title:"Category 1"},{id:"2",title:"Category 2"}],meta:{image:"stock1.jpg"},populatedAuthors:[{id:"1",name:"Author 1",avatar:{id:"1",url:"/path/to/avatar1.jpg",alt:"Author 1 Avatar"}},{id:"2",name:"Author 2",avatar:{id:"2",url:"/path/to/avatar2.jpg",alt:"Author 2 Avatar"}}],publishedAt:"2023-10-01T12:00:00Z",content:"Sample post content..."}},media:"stock1.jpg?height=400&width=800"}},BH={args:{...Ii.args,hero:{type:"sectionHero",image:Xw,title:"Services",breadcrumbItems:[{label:"Home",href:"/"},{label:"Service"}]}}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero,SectionHero});
|