PageSourceSearch

https://www.orderwerks.com/_next/static/chunks/commons-624c2ca3c17a5606.js

js orderwerks.com collected 2026-10-02 00:00:57 UTC 372,069 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4223],{22:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableHeaderCell","definitions":{"TableHeaderCell":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-header-cell"]},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},157:(e,t,n)=>{var r={"./asset-hyperlink.json":3316,"./blockquote.json":4828,"./document.json":8846,"./embedded-asset-block.json":1240,"./embedded-entry-block.json":2168,"./embedded-entry-inline.json":7924,"./embedded-resource-block.json":6534,"./embedded-resource-inline.json":7422,"./entry-hyperlink.json":9520,"./heading-1.json":4651,"./heading-2.json":9738,"./heading-3.json":1865,"./heading-4.json":8392,"./heading-5.json":6575,"./heading-6.json":3230,"./hr.json":3010,"./hyperlink.json":2469,"./list-item.json":3503,"./ordered-list.json":848,"./paragraph.json":9225,"./resource-hyperlink.json":8752,"./table-cell.json":2628,"./table-header-cell.json":22,"./table-row.json":1518,"./table.json":5179,"./text.json":9156,"./unordered-list.json":3556};function i(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=157},440:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1412),i=n(6284),o=n.n(i);class a{}a.maintenanceModeCheck=()=>new Promise(async(e,t)=>{try{let t="https://orderwerks-status.s3.us-east-2.amazonaws.com",n={url:t="".concat(t,"/").concat("status.json"),method:"GET",cache:"no-store",headers:{"Content-Type":"application/json"}};"undefined"!=typeof AbortSignal&&"function"==typeof AbortSignal.timeout&&(n.signal=AbortSignal.timeout(5e3));let r=await fetch(t,n),i=await r.json();if(i.maintenance_mode){let t=o()().isAfter(i.start_time),n=o()().isBefore(i.expected_end_time);if(t&&n){let t=i.message,n=o()(i.expected_end_time).format("HH:mm, MMM DD YYYY");e({maintenance_mode:!0,show_message:!1,message:t,endTime:n})}else e(o()().isBefore(i.start_time)?{maintenance_mode:!1,show_message:!0,message:i.message,className:i.className||"text-yellow-500",icon:i.icon||"fas fa-info",timeframe:a.formatTimeframe(i.start_time,i.expected_end_time)}:{maintenance_mode:!1,show_message:!1})}else if(i.show_message){let t=i.message;e({maintenance_mode:!1,show_message:i.show_message,message:t,className:i.className,icon:i.icon,timeframe:a.formatTimeframe(i.start_time,i.expected_end_time)})}else e({maintenance_mode:!1,show_message:!1})}catch(e){t(e)}}),a.formatTimeframe=(e,t)=>
1{if(!e||!t)return;let n=o()(e),r=o()(t);if(!(!n.isValid()||!r.isValid()||o()().isAfter(r)))return n.isSame(r,"day")?"".concat(n.format("MMM D, YYYY, h:mm A")," – ").concat(r.format("h:mm A")):"".concat(n.format("MMM D, YYYY, h:mm A")," – ").concat(r.format("MMM D, YYYY, h:mm A"))},a.generateMaintenanceModeHtml=e=>(0,r.jsx)("div",{className:"flex items-center justify-center px-4",children:(0,r.jsxs)("div",{className:"max-w-md w-full shadow-2xl rounded-lg p-8 text-center",style:{backgroundColor:"#44464a"},children:[(0,r.jsx)("div",{className:"mx-auto flex items-center justify-center h-16 w-16 rounded-full mb-6",style:{backgroundColor:"#363b41"},children:(0,r.jsx)("svg",{className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"#ea963c",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,r.jsx)("h1",{className:"text-2xl font-bold mb-2",style:{color:"#d8d8d8"},children:"Service Currently Unavailable"}),(0,r.jsx)("p",{className:"mb-6",style:{color:"#dddddd"},id:"maintenanceMessage",children:e.message||"We are performing scheduled maintenance on our system."}),(0,r.jsxs)("div",{className:"rounded-md p-4",style:{backgroundColor:"#363b41"},children:[(0,r.jsx)("p",{className:"text-sm",style:{color:"#dddddd"},children:"Expected to be back by"}),(0,r.jsx)("p",{className:"text-lg font-semibold",style:{color:"#ea963c"},id:"maintenanceEndTime",children:e.endTime})]}),(0,r.jsx)("p",{className:"mt-6 text-sm",style:{color:"#dddddd"},children:"We apologize for any inconvenience. Please check back later."})]})}),a.generateMessageHeadHtml=e=>(0,r.jsx)("div",{className:e.className+" mb-5 rounded-lg p-4",style:{border:"1px solid color-mix(in srgb, currentColor 35%, transparent)",backgroundColor:"color-mix(in srgb, currentColor 8%, transparent)"},children:(0,r.jsxs)("div",{className:"flex items-start",children:[e.icon&&(0,r.jsx)("i",{role:"presentation",className:e.icon+" mr-3 mt-1"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{id:"maintenanceMessage",children:e.message}),e.timeframe&&(0,r.jsxs)("p",{id:"maintenanceTimeframe",className:"text-sm mt-1 opacity-80",children:["Scheduled: ",e.timeframe]})]})]})})},570:(e,t,n)=>{"use strict";n.d(t,{C:()=>et,d:()=>O,i:()=>C});var r,i,o,a,s,l=Object.defineProperty,c=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>c(e,"symbol"!=typeof t?t+"":t,n),d={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},p={0:8203,1:8204,2:8205,3:65279},f=[,,,,].fill(String.fromCodePoint(p[0])).join(""),m=Object.fromEntries(Object.entries(p).map(e=>e.reverse())),h=Object.fromEntries(Object.entries(d).map(e=>e.reverse())),y=`${Object.values(d).map(e=>`\\u{${e.toString(16)}}`).join("")}`,g=RegExp(`[${y}]{4,}`,"gu");function v(e,t){return function(e,t,n="auto"){let r;return!0===n||"auto"===n&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${r=JSON.stringify(t),`${f}${Array.from(r).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${r} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(p[e])).join("")}).join("")}`}`}(e,t)}var b=function(){if(a)return o;a=1;var e=function(){if(i)return r;i=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return r=function(n,r,i){if("[object Function]"!==t.call(r))throw TypeError("iterator must be a function");var o=n.length;if(o===+o)for(var a=0;a<o;a++)r.call(i,n[a],a,n);else for(var s in n)e.call(n,s)&&r.call(i,n[s],s,n)}}();function t(e,n,r){if(3==arguments.length)return t.set(e,n,r);if(2==arguments.length)return t.get(e,n);var i=t.bind(t,e);
1for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o].bind(i,e));return i}return o=t,t.get=function(e,n){for(var r=Array.isArray(n)?n:t.parse(n),i=0;i<r.length;++i){var o=r[i];if(!("object"==typeof e&&o in e))throw Error("Invalid reference token: "+o);e=e[o]}return e},t.set=function(e,n,r){var i=Array.isArray(n)?n:t.parse(n),o=i[0];if(0===i.length)throw Error("Can not set the root object");for(var a=0;a<i.length-1;++a){var s=i[a];"string"!=typeof s&&"number"!=typeof s&&(s=String(s)),"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&("-"===s&&Array.isArray(e)&&(s=e.length),o=i[a+1],s in e||(o.match(/^(\d+|-)$/)?e[s]=[]:e[s]={}),e=e[s])}return"-"===o&&Array.isArray(e)&&(o=e.length),e[o]=r,this},t.remove=function(e,n){var r=Array.isArray(n)?n:t.parse(n),i=r[r.length-1];if(void 0===i)throw Error('Invalid JSON pointer for remove: "'+n+'"');var o=t.get(e,r.slice(0,-1));if(Array.isArray(o)){var a=+i;if(""===i&&isNaN(a))throw Error('Invalid array index: "'+i+'"');Array.prototype.splice.call(o,a,1)}else delete o[i]},t.dict=function(e,n){var r={};return t.walk(e,function(e,t){r[t]=e},n),r},t.walk=function(n,r,i){var o=[];i=i||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function n(a){e(a,function(e,a){o.push(String(a)),i(e)?n(e):r(e,t.compile(o)),o.pop()})}(n)},t.has=function(e,n){try{t.get(e,n)}catch{return!1}return!0},t.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},t.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},t.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(t.unescape)},t.compile=function(e){return 0===e.length?"":"/"+e.map(t.escape).join("/")},o}();let E=(e,t="")=>{let n=[],r=b.get(e,t);if(function(e){return"content"in e&&!!e.content}(r))for(let i=0;i<r.content.length;i++)"text"===r.content[i].nodeType?n.push(`${t}/content/${i}/value`):n.push(...E(e,`${t}/content/${i}`));return n},x={version:"4.6.29"},S=!1,_=e=>(...t)=>{S&&console[e](...t)},w={error:_("error"),warn:_("warn"),log:_("log")};function T(e,t,n){let r={...t,method:e,source:"live-preview-sdk",location:window.location.href,version:x.version};w.log("Send message",r),n.forEach(e=>{var t;null==(t=window.top)||t.postMessage(r,e)})}function O(e,t=100){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}var j="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},N={exports:{}};N.exports;let C=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((s||(s=1,function(e,t){var n,r,i,o="__lodash_hash_undefined__",a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",p="[object Map]",f="[object Number]",m="[object Object]",h="[object Promise]",y="[object RegExp]",g="[object Set]",v="[object String]",b="[object WeakMap]",E="[object ArrayBuffer]",x="[object DataView]",S=/^\[object .+?Constructor\]$/,_=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[a]=w[s]=w[E]=w[l]=w[x]=w[c]=w[u]=w[d]=w[p]=w[f]=w[m]=w[y]=w[g]=w[v]=w[b]=!1;var T="object"==typeof j&&j&&j.Object===Object&&j,O="object"==typeof self&&self&&self.Object===Object&&self,N=T||O||Function("return this")(),C=t&&!t.nodeType&&t,L=C&&e&&!e.nodeType&&e,k=L&&L.exports===C,I=k&&T.process,A=function(){try{return I&&I.binding&&I.binding("util")}catch{}}(),D=A&&A.isTypedArray;function R(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function P(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var M=Array.prototype,B=Function.prototype,$=Object.prototype,K=N["__core-js_shared__"],F=B.toString,U=$.hasOwnProperty,H=(n=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",q=$.toString,G=
1RegExp("^"+F.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=k?N.Buffer:void 0,Y=N.Symbol,V=N.Uint8Array,W=$.propertyIsEnumerable,J=M.splice,Z=Y?Y.toStringTag:void 0,Q=Object.getOwnPropertySymbols,X=z?z.isBuffer:void 0,ee=(r=Object.keys,i=Object,function(e){return r(i(e))}),et=eT(N,"DataView"),en=eT(N,"Map"),er=eT(N,"Promise"),ei=eT(N,"Set"),eo=eT(N,"WeakMap"),ea=eT(Object,"create"),es=eN(et),el=eN(en),ec=eN(er),eu=eN(ei),ed=eN(eo),ep=Y?Y.prototype:void 0,ef=ep?ep.valueOf:void 0;function em(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ey(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ey;++t<n;)this.add(e[t])}function ev(e){var t=this.__data__=new eh(e);this.size=t.size}function eb(e,t){for(var n=e.length;n--;)if(eC(e[n][0],t))return n;return -1}function eE(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":Z&&Z in Object(e)?function(e){var t=U.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0}catch{}var i=q.call(e);return r&&(t?e[Z]=n:delete e[Z]),i}(e):(t=e,q.call(t))}function ex(e){return eP(e)&&eE(e)==a}function eS(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,p=2&n?new eg:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var f=e[u],m=t[u];if(r)var h=a?r(m,f,u,t,e,o):r(f,m,u,e,t,o);if(void 0!==h){if(h)continue;d=!1;break}if(p){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!p.has(t)&&(f===e||i(f,e,n,r,o)))return p.push(t)})){d=!1;break}}else if(!(f===m||i(f,m,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function e_(e){var t;return t=eB(e),ek(e)?t:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(t,eO(e))}function ew(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function eT(e,t){var n,r=null==e?void 0:e[t];return!(!eR(r)||(n=r,H&&H in n))&&(eA(r)?G:S).test(eN(r))?r:void 0}em.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},em.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t},em.prototype.get=function(e){var t=this.__data__;if(ea){var n=t[e];return n===o?void 0:n}return U.call(t,e)?t[e]:void 0},em.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:U.call(t,e)},em.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ea&&void 0===t?o:t,this},eh.prototype.clear=function(){this.__data__=[],this.size=0},eh.prototype.delete=function(e){var t=this.__data__,n=eb(t,e);return!(n<0)&&(n==t.length-1?t.pop():J.call(t,n,1),--this.size,!0)},eh.prototype.get=function(e){var t=this.__data__,n=eb(t,e);return n<0?void 0:t[n][1]},eh.prototype.has=function(e){return eb(this.__data__,e)>-1},eh.prototype.set=function(e,t){var n=this.__data__,r=eb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ey.prototype.clear=function(){this.size=0,this.__data__={hash:new em,map:new(en||eh),string:new em}},ey.prototype.delete=function(e){var t=ew(this,e).delete(e);return this.size-=+!!t,t},ey.prototype.get=function(e){return ew(this,e).get(e)},ey.prototype.has=function(e){return ew(this,e).has(e)},ey.prototype.set=function(e,t){var n=ew(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},eg.prototype.add=eg.prototype.push=function(e){return this.__data__.set(e,o),this},eg.prototype.has=function(e){return this.__data__.has(e)},ev.prototype.clear=function(){this.__data__=new eh,this.size=0},ev.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ev.prototype.get=function(e){return this.__data__.get(e)},ev.prototype.has=function(e){return this.__data__.has(e)},ev.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eh){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ey(r)}return n.set(e,t),this.size=n.size,this};var eO=Q?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Q(e=Object(e)),function(t){return W.call(e,t)})}:function(){return[]},ej=eE;function eN(e){if(null!=e){try{return F.call(e)}catch{}try{return e+""}catch{}}return""}function eC(e,t){return e===t||e!=e&&t!=t}(et&&ej(new et(new ArrayBuffer(1)))!=x||en&&ej(new en)!=p||er&&ej(er.resolve())!=h||ei&&ej(new ei)!=g||eo&&ej(new eo)!=b)&&(ej=function(e){var t=eE(e),n=t==m?e.constructor:void 0,r=n?eN(n):"";if(r)switch(r){case es:return x;case el:return p;case ec:return h;case eu:return g;case ed:return b}return t});var eL=ex(function(){return arguments}())?ex:function(e){return eP(e)&&U.call(e,"callee")&&!W.call(e,"callee")},ek=Array.isArray,eI=X||function(){return!1};function eA(e){if(!eR(e))return!1;var t=eE(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eD(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eR(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eP(e){return null!=e&&"object"==typeof e}var eM=D?function(e){return D(e)}:function(e){return eP(e)&&eD(e.length)&&!!w[eE(e)]};function eB(e){return null!=e&&eD(e.length)&&!eA(e)?function(e,t){var n,r,i=ek(e),o=!i&&eL(e),a=!i&&!o&&eI(e),s=!i&&!o&&!a&&eM(e),l=i||o||a||s,c=l?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=c.length;for(var d in e){U.call(e,d)&&!(l&&("length"==d||a&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||(n=d,(r=(r=u)??0x1fffffffffffff)&&("number"==typeof n||_.test(n))&&n>-1&&n%1==0&&n<r)))&&c.push(d)}return c}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||$))return ee(e);var t,n,r=[];for(var i in Object(e))U.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}e.exports=function(e,t){return function e(t,n,r,i,o){return t===n||(null!=t&&null!=n&&(eP(t)||eP(n))?function(e,t,n,r,i,o){var d=ek(e),h=ek(t),b=d?s:ej(e),S=h?s:ej(t);b=b==a?m:b,S=S==a?m:S;var _=b==m,w=S==m,T=b==S;if(T&&eI(e)){if(!eI(t))return!1;d=!0,_=!1}if(T&&!_)return o||(o=new ev),d||eM(e)?eS(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!o(new V(e),new V(t)));case l:case c:case f:return eC(+e,+t);case u:return e.name==t.name&&e.message==t.message;case y:case v:return e==t+"";case p:var s=R;case g:var d=1&r;if(s||(s=P),e.size!=t.size&&!d)break;var m=a.get(e);if(m)return m==t;r|=2,a.set(e,t);var h=eS(s(e),s(t),r,i,o,a);return a.delete(e),h;case"[object Symbol]":if(ef)return ef.call(e)==ef.call(t)}return!1}(e,t,b,n,r,i,o);if(!(1&n)){var O=_&&U.call(e,"__wrapped__"),j=w&&U.call(t,"__wrapped__");
1if(O||j){var N=O?e.value():e,C=j?t.value():t;return o||(o=new ev),i(N,C,n,r,o)}}return!!T&&(o||(o=new ev),function(e,t,n,r,i,o){var a=1&n,s=e_(e),l=s.length;if(l!=e_(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:U.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var p=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var m=e[u=s[c]],h=t[u];if(r)var y=a?r(h,m,u,t,e,o):r(m,h,u,e,t,o);if(!(void 0===y?m===h||i(m,h,n,r,o):y)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var g=e.constructor,v=t.constructor;g!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v)&&(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o))}(t,n,r,i,e,o):t!=t&&n!=n)}(e,t)}}(N,N.exports)),N.exports));var L=(e=>(e.FIELD_ID="data-contentful-field-id",e.ENTRY_ID="data-contentful-entry-id",e.ASSET_ID="data-contentful-asset-id",e.LOCALE="data-contentful-locale",e.SPACE="data-contentful-space",e.ENVIRONMENT="data-contentful-environment",e))(L||{}),k=(e=>(e.MOUSE_MOVE="MOUSE_MOVE",e.SCROLL_START="SCROLL_START",e.SCROLL_END="SCROLL_END",e.RESIZE_START="RESIZE_START",e.RESIZE_END="RESIZE_END",e.TAGGED_ELEMENTS="TAGGED_ELEMENTS",e.INSPECTOR_MODE_CHANGED="INSPECTOR_MODE_CHANGED",e))(k||{}),I={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},A={0:8203,1:8204,2:8205,3:65279};[,,,,].fill(String.fromCodePoint(A[0])).join(""),Object.fromEntries(Object.entries(A).map(e=>e.reverse())),Object.fromEntries(Object.entries(I).map(e=>e.reverse()));var D=`${Object.values(I).map(e=>`\\u{${e.toString(16)}}`).join("")}`,R=RegExp(`[${D}]{4,}`,"gu");let P=e=>!!e&&e.nodeType===Node.ELEMENT_NODE&&!(!e.hasAttribute(L.FIELD_ID)||!e.hasAttribute(L.ENTRY_ID)&&!e.hasAttribute(L.ASSET_ID));function M(e,t){return e.href===t.href}function B({root:e=window.document,options:t}){var n,r;let i,o=[...t.ignoreManuallyTaggedElements?[]:e.querySelectorAll(`[${L.ASSET_ID}][${L.FIELD_ID}], [${L.ENTRY_ID}][${L.FIELD_ID}]`)].map(e=>({element:e,attributes:function(e,t){if(!P(e))return null;let n={fieldId:e.getAttribute(L.FIELD_ID),locale:e.getAttribute(L.LOCALE)??t.locale,environment:e.getAttribute(L.ENVIRONMENT)??t.environment,space:e.getAttribute(L.SPACE)??t.space,manuallyTagged:!0};if(!n.fieldId)return w.warn("Element is missing field ID attribute and cannot be tagged",{id:e.getAttribute(L.ENTRY_ID)??e.getAttribute(L.ASSET_ID),sharedProps:n}),null;let r=e.getAttribute(L.ENTRY_ID);if(r)return{...n,entryId:r};let i=e.getAttribute(L.ASSET_ID);return i?{...n,assetId:i}:null}(e,t)})).filter(({attributes:e})=>null!==e),a=[];for(let{node:t,text:r}of(n="body"in e?e.body:e,i=[],"function"==typeof n.matches&&n.matches("*")&&(i=[n]),[...i,...Array.from(n.querySelectorAll("*:not(script,style,meta,title)"))].map(e=>{var t;return{node:e,text:(t=e).matches("input[type=submit], input[type=button], input[type=reset]")?t.value:t.matches("img, video")?t.alt:Array.from(t.childNodes).filter(e=>e.nodeType===Node.TEXT_NODE&&!!e.textContent).map(e=>e.textContent).join("")}}).filter(({text:e})=>!!(e&&e.match(R))))){let e=function(e){let t=e.match(g);return t?function(e,t=!1){let n=Array.from(e);if(n.length%2==0){if(n.length%4||!e.startsWith(f))return function(e,t){var n;let r=[];for(let t=.5*e.length;t--;){let n=`${h[e[2*t].codePointAt(0)]}${h[e[2*t+1].codePointAt(0)]}`;r.unshift(String.fromCharCode(parseInt(n,16)))}let i=[],o=[r.join("")],a=10;for(;o.length;){let e=o.shift();try{if(i.push(JSON.parse(e)),t)break}catch(r){if(!a--)throw r;let t=+(null==(n=r.message.match(/\sposition\s(\d+)$/))?void 0:n[1]);if(!t)throw r;o.unshift(e.substring(0,t),e.substring(t))}}return i}(n,t)}else throw Error("Encoded data has invalid length");let r=[];for(let e=.25*n.length;e--;){let t=n.slice(4*e,4*e+4).map(e=>m[e.codePointAt(0)]).join("");r.unshift(String.fromCharCode(parseInt(t,4)))}if(t){r.shift();let e=r.indexOf("\0");return -1===e&&(e=r.length),[JSON.parse(r.slice(0,e).join(""))]}return r.join("").split("\0").filter(Boolean).map(e=>JSON.parse(e))}(t[0],!0)[0]:void 0}(r);if(!e||!e.origin.includes("contentful.com")){w.warn("Element has missing or invalid ContentSourceMap, please check if you have correctly enabled ContentSourceMaps and that the element's data originates from C
1ontentful",{node:t,sourceMap:e});continue}if(!(function(e,t){for(let n of t)if(n.element===e||n.element.contains(e))return!0;return!1}(t,o)||a.some(n=>n.element.contains(t)&&M(n.sourceMap,e)))){if(t.matches("img")){let n=t.closest("figure")||t.closest("picture")||t;a.push({element:n,sourceMap:e});continue}a.push({element:t,sourceMap:e})}}let s=a.filter((e,t)=>a.findIndex(t=>!(!M(e.sourceMap,t.sourceMap)||e.element!==t.element))===t);for(let{element:e,sourceMap:t}of s){let n=null;if(t.href){let r=function(e){try{let t,n,r=new URL(e),i=r.searchParams.get("focusedField"),o=r.searchParams.get("focusedLocale"),a=r.pathname.split("/").filter(Boolean),s=a.indexOf("spaces"),l=a.indexOf("environments"),c=-1!==s?a[s+1]:void 0,u=-1!==l?a[l+1]:void 0,d=a.indexOf("entries"),p=a.indexOf("assets");return -1!==d?(t="Entry",n=a[d+1]):-1!==p&&(t="Asset",n=a[p+1]),t&&n?i?o?c&&u?{entityId:n,entityType:t,fieldId:i,locale:o,space:c,environment:u}:(console.warn("Missing space or environment in href path",{href:e}),null):(console.warn("Missing focusedLocale query parameter in href",{href:e}),null):(console.warn("Missing focusedField query parameter in href",{href:e}),null):(console.warn("Unable to determine entityType or entityId from href",{href:e}),null)}catch(t){return console.warn("Invalid href URL",{href:e,error:t}),null}}(t.href);if(!r)continue;if("Asset"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,assetId:r.entityId};else if("Entry"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,entryId:r.entityId};else{w.warn("Unknown entityType",{element:e,sourceMap:t});continue}}else{if(t.contentful&&(r=t.contentful)&&"string"==typeof r.entity&&"string"==typeof r.field&&"string"==typeof r.locale&&"string"==typeof r.space&&"string"==typeof r.environment&&("Asset"===r.entityType||"Entry"===r.entityType)){let r=t.contentful;if(!r.entity||!r.field||!r.locale||!r.space||!r.environment){w.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameters in `contentful`)",{element:e,sourceMap:t});continue}let i={fieldId:r.field,locale:r.locale,space:r.space,environment:r.environment};if("Asset"===r.entityType)i.assetId=r.entity,n=i;else if("Entry"===r.entityType)i.entryId=r.entity,n=i;else{w.warn("Unknown entityType in contentful data",{element:e,sourceMap:t});continue}}else{w.warn("Element has neither href nor contentful data in their ContentSourceMap, unable to extract attributes.",{element:e,sourceMap:t});continue}}o.push({element:e,attributes:n})}let l=o.filter(({attributes:e})=>(null==e?void 0:e.manuallyTagged)===!1||!(null!=e&&e.manuallyTagged)).length;return{taggedElements:o,manuallyTaggedCount:o.length-l,automaticallyTaggedCount:l,autoTaggedElements:s}}function $({options:e}){return[...new Set(B({options:e}).taggedElements.map(e=>e.attributes&&"entryId"in e.attributes?e.attributes.entryId:null).filter(Boolean))]}let K=(e,t,n=window.document)=>{let{top:r,right:i,bottom:o,left:a}=t,s=n.elementFromPoint(a+1,r+1),l=n.elementFromPoint(i-1,r+1),c=n.elementFromPoint(a+1,o-1),u=n.elementFromPoint(i-1,o-1);return s!==e||l!==e||c!==e||u!==e},F=(e,t=window.document)=>e.map(e=>({...e,isVisible:e.element.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),isCoveredByOtherElement:K(e.element,e.coordinates,t)})),U=e=>e.map(({element:e,attributes:t})=>({element:e,coordinates:e.getBoundingClientRect(),attributes:t})),H=(e,t=window.document)=>F(U(e),t);class q{constructor(e){u(this,"delay",300),u(this,"isScrolling",!1),u(this,"scrollTimeout"),u(this,"isResizing",!1),u(this,"resizeTimeout"),u(this,"hoveredElement"),u(this,"taggedElements",[]),u(this,"manuallyTaggedCount",0),u(this,"automaticallyTaggedCount",0),u(this,"intersectionObserver"),u(this,"observersCB",[]),u(this,"cleanupCB",[]),u(this,"init",()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()}),u(this,"cleanup",()=>
1{this.observersCB.forEach(e=>e()),this.cleanupCB.forEach(e=>e())}),u(this,"receiveMessage",e=>{if(e.method===k.INSPECTOR_MODE_CHANGED){let{isInspectorActive:t}=e;t?this.init():this.cleanup()}}),u(this,"observe",e=>{this.intersectionObserver.observe(e);let t=this.addMutationListener(e);this.observersCB.push(t,()=>this.intersectionObserver.unobserve(e))}),u(this,"addScrollListener",()=>{let{targetOrigin:e}=this.options,t=()=>{this.isScrolling||(this.isScrolling=!0,T(k.SCROLL_START,{},e)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,T(k.SCROLL_END,{},e),this.updateElements()},this.delay)},n={capture:!0,passive:!0};return window.addEventListener("scroll",t,n),()=>window.removeEventListener("scroll",t,n)}),u(this,"addMutationListener",e=>{let t=new MutationObserver(()=>{this.updateElements()});return t.observe(e,{characterData:!0,attributes:!0,attributeFilter:[L.ENTRY_ID,L.FIELD_ID,L.LOCALE,L.SPACE,L.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>t.disconnect()}),u(this,"addResizeListener",()=>{let{targetOrigin:e}=this.options,t=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,T(k.RESIZE_START,{},e)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,T(k.RESIZE_END,{},e),this.updateElements()},this.delay)});return t.observe(document.body),()=>t.disconnect()}),u(this,"addHoverListener",()=>{let e=O(e=>{let t;for(let n of e){let e=n;if("BODY"===e.nodeName)break;let r=this.taggedElements.find(t=>t.element===e);if(r){t=r;break}}this.hoveredElement=null==t?void 0:t.element,this.updateElements()},this.delay),t=t=>{e(t.composedPath())};return window.addEventListener("mouseover",t,{passive:!0}),()=>window.removeEventListener("mouseover",t)}),u(this,"sendTaggedElements",()=>{T(k.TAGGED_ELEMENTS,{elements:this.taggedElements.map(e=>({coordinates:e.coordinates,isVisible:!!e.isVisible,attributes:e.attributes,isHovered:this.hoveredElement===e.element,isCoveredByOtherElement:!!e.isCoveredByOtherElement})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount},this.options.targetOrigin)}),u(this,"updateElements",()=>{let{taggedElements:e,manuallyTaggedCount:t,automaticallyTaggedCount:n}=B({options:this.options}),r=H(e);C(r,this.taggedElements)||(this.observersCB.forEach(e=>e()),this.observersCB=[],this.taggedElements=r,e.forEach(({element:e})=>this.observe(e)),this.manuallyTaggedCount=t,this.automaticallyTaggedCount=n)}),this.options=e,this.intersectionObserver=new IntersectionObserver(e=>{let t=this.taggedElements;for(let n of e)if(n.isIntersecting)for(let e of t)e.element===n.target&&(e.coordinates=n.intersectionRect,e.isVisible=n.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=t,this.sendTaggedElements()},{threshold:.15})}}let{stringify:G}=JSON,z=String,Y=(e,t)=>t,V=(e,t,n)=>{let r=z(t.push(n)-1);return e.set(n,r),r},W=(e,t,n)=>{let r=new Map,i=[],o=[],a=+V(r,i,Y.call({"":e},"",e)),s=!a;for(;a<i.length;)s=!0,o[a]=G(i[a++],l,n);return"["+o.join(",")+"]";function l(e,t){if(s)return s=!s,t;let n=Y.call(this,e,t);switch(typeof n){case"object":if(null===n)break;case"string":return r.get(n)||V(r,i,n)}return n}};var J=(e=>(e.CONNECTED="CONNECTED",e.DISCONNECTED="DISCONNECTED",e.ERROR="ERROR",e.TAGGED_FIELD_CLICKED="TAGGED_FIELD_CLICKED",e.URL_CHANGED="URL_CHANGED",e.SUBSCRIBED="SUBSCRIBED",e.UNSUBSCRIBED="UNSUBSCRIBED",e.ENTRY_UPDATED="ENTRY_UPDATED",e.ENTRY_SAVED="ENTRY_SAVED",e.DEBUG_MODE_ENABLED="DEBUG_MODE_ENABLED",e))(J||{});class Z{constructor({locale:e,targetOrigin:t}){u(this,"subscriptions",new Map),u(this,"defaultLocale"),u(this,"sendMessage"),this.defaultLocale=e,this.sendMessage=(e,n)=>T(e,n,t)}async receiveMessage(e){if(e.method===J.ENTRY_UPDATED){let{data:t,subscriptionId:n}=e,r=this.subscriptions.get(n);r?(r.callback(t),r.data=t,this.subscriptions.set(n,r)):w.error("Received an update for an unknown subscription",{subscriptionId:n,data:t,subscriptions:this.subscriptions})}}subscribe(e){let t=`${performance.now()}-${Math.random().toString(36).slice(2)}`,n=e.locale??this.defaultLocale;this.subscriptions.set(t,{...e});let r={locale:n,event:"edit",id:t,config:W(e)};return this.sendMessage(J.SUBSCRIBED,r),()=>{this.sendMessage(J.UNSUBSCRIBED,r),this.subscriptions.delete(t)}}}class Q{constructor({locale:e,options:t,inspectorModeEnabled:n}){u(this,"locale"),u(this,"options"),u(this,"inspectorModeEnabled"),u(this,"subscription"),this.locale=e,this.options=t,this.inspectorModeEnabled=n}subscribe(e){return this.subscription&&w.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=e,()=>{this.subscription=void 0}}receiveMessage(e){if(e.method===J.ENTRY_SAVED&&this.subscription){let{entity:t}=e;this.inspectorModeEnabled?$({options:this.options}).includes(t.sys.id)&&this.subscription(t):this.subscription(t)}}}x.version;let X=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"],ee=class e{static init(t){var n;if("object"!=typeof t||!(null!=t&&t.locale))throw Error("Init function has to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");let{debugMode:r,enableInspectorMode:i,enableLiveUpdates:o,locale:a,environment:s,space:l,targetOrigin:c}=t;if("u">typeof window){if(!function(){var e;try{return(null==(e=window.top)?void 0:e.location.href)!==window.location.href}catch{return!0}}())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(r&&(S=r),"boolean"==typeof i&&(this.inspectorModeEnabled=i),"boolean"==typeof o&&(this.liveUpdatesEnabled=o),this.locale=a,this.space=l,this.environment=s,this.initTargetOrigin(c),this.initialized)return w.log("You have already initialized the Live Preview SDK."),Promise.resolve(e.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new q({locale:a,space:l,environment:s,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:null==(n=t.experimental)?void 0:n.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new Z({locale:a,targetOrigin:this.targetOrigin}
1),this.saveEvent=new Q({locale:a,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin},inspectorModeEnabled:this.inspectorModeEnabled})),window.addEventListener("message",e=>{var t,n,r;if("object"==typeof e.data&&e.data&&"source"in e.data&&"live-preview-editor"===e.data.source){if(w.log("Received message",e.data),e.data.method===J.DEBUG_MODE_ENABLED){S=!0;return}this.inspectorModeEnabled&&(null==(t=this.inspectorMode)||t.receiveMessage(e.data)),this.liveUpdatesEnabled&&(null==(n=this.liveUpdates)||n.receiveMessage(e.data),null==(r=this.saveEvent)||r.receiveMessage(e.data))}}),function(e,t=500){let n=window.location.href,r=setInterval(()=>{let t=window.location.href;t!==n&&(n=t,e(t))},t)}(()=>{T(J.URL_CHANGED,{action:J.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${L.ENTRY_ID}]`).length},this.targetOrigin)});let{taggedElements:u,manuallyTaggedCount:d,automaticallyTaggedCount:p}=this.inspectorModeEnabled?B({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},f=u.length;return T(J.CONNECTED,{action:J.CONNECTED,connected:!0,tags:f,taggedElementCount:f,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:d,automaticallyTaggedElementCount:p},this.targetOrigin),this.initialized=!0,Promise.resolve(e.inspectorMode)}}static initTargetOrigin(e){if(e)this.targetOrigin=Array.isArray(e)?e:[e];else{let e=window.location.ancestorOrigins,t=e?X.find(t=>e.contains(t)):X.find(e=>document.referrer.includes(e));if(!t)throw Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[t]}}static subscribe(e,t){if(!this.liveUpdatesEnabled)return()=>{};let n="string"==typeof e?e:"edit",r="object"==typeof e?e:t;if("save"===n){if(!this.saveEvent)throw Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(r.callback)}if(!this.liveUpdates)throw Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(r)}static getProps(e){let{fieldId:t,locale:n,environment:r,space:i}=e;if(!this.inspectorModeEnabled)return null;if(t){let o={...n?{[L.LOCALE]:n}:{},...r?{[L.ENVIRONMENT]:r}:{},...i?{[L.SPACE]:i}:{},[L.FIELD_ID]:t};if(n&&(o[L.LOCALE]=n),void 0!==e.assetId)return{...o,[L.ASSET_ID]:e.assetId};if(void 0!==e.entryId)return{...o,[L.ENTRY_ID]:e.entryId}}return w.warn("Missing property for inspector mode",{...e}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(e){let t={locale:this.locale,environment:this.environment,space:this.space};if(void 0!==e.assetId&&e.fieldId||void 0!==e.entryId&&e.fieldId){var n,r;n={...t,...e},r=this.targetOrigin,T("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...n},r);return}w.error("Please provide field id and entry/asset id to openEntryInEditor.",{...e})}static getEntryList(){return $({options:{locale:this.locale,space:this.space,environment:this.environment}})}};u(ee,"initialized",!1),u(ee,"inspectorMode",null),u(ee,"liveUpdates",null),u(ee,"saveEvent",null),u(ee,"inspectorModeEnabled",!0),u(ee,"liveUpdatesEnabled",!0),u(ee,"locale"),u(ee,"space"),u(ee,"environment"),u(ee,"sendMessage"),u(ee,"targetOrigin");let et=ee},620:(e,t,n)=>{"use strict";n.d(t,{Kw:()=>nb,D0:()=>nd,lV:()=>np,l1:()=>ns});var r=function(e){var t,n,r;return!!(t=e)&&"object"==typeof t&&(n=e,"[object RegExp]"!==(r=Object.prototype.toString.call(n))&&"[object Date]"!==r&&n.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function a(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r;var i,l,c=Array.isArray(t);return c!==Array.isArray(e)?o(t,n):c?n.arrayMerge(e,t,n):(l={},(i=n).isMergeableObject(e)&&Object.keys(e).forEach(function(t){l[t]=o(e[t],i)}),Object.keys(t).forEach(function(n){i.isMergeableObject(t[n])&&e[n]?l[n]=s(e[n],t[n],i):l[n]=o(t[n],i)}),l)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};let l=s;var c="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=d.Symbol,f=Object.prototype,m=f.hasOwnProperty,h=f.toString,y=p?p.toStringTag:void 0;let g=function(e){var t=m.call(e,y),n=e[y];try{e[y]=void 0;var r=!0}catch(e){}var i=h.call(e);return r&&(t?e[y]=n:delete e[y]),i};var v=Object.prototype.toString,b=p?p.toStringTag:void 0;
1let E=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":b&&b in Object(e)?g(e):v.call(e)},x=function(e,t){return function(n){return e(t(n))}};var S=x(Object.getPrototypeOf,Object);let _=function(e){return null!=e&&"object"==typeof e};var w=Object.prototype,T=Function.prototype.toString,O=w.hasOwnProperty,j=T.call(Object);let N=function(e){if(!_(e)||"[object Object]"!=E(e))return!1;var t=S(e);if(null===t)return!0;var n=O.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&T.call(n)==j},C=function(e,t){return e===t||e!=e&&t!=t},L=function(e,t){for(var n=e.length;n--;)if(C(e[n][0],t))return n;return -1};var k=Array.prototype.splice;function I(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}I.prototype.clear=function(){this.__data__=[],this.size=0},I.prototype.delete=function(e){var t=this.__data__,n=L(t,e);return!(n<0)&&(n==t.length-1?t.pop():k.call(t,n,1),--this.size,!0)},I.prototype.get=function(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]},I.prototype.has=function(e){return L(this.__data__,e)>-1},I.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};let A=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},D=function(e){if(!A(e))return!1;var t=E(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var R=d["__core-js_shared__"],P=function(){var e=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),M=Function.prototype.toString;let B=function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var $=/^\[object .+?Constructor\]$/,K=Object.prototype,F=Function.prototype.toString,U=K.hasOwnProperty,H=RegExp("^"+F.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let q=function(e){return!!A(e)&&(!P||!(P in e))&&(D(e)?H:$).test(B(e))},G=function(e,t){var n=null==e?void 0:e[t];return q(n)?n:void 0};var z=G(d,"Map"),Y=G(Object,"create"),V=Object.prototype.hasOwnProperty,W=Object.prototype.hasOwnProperty;function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}J.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t},J.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:W.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this};let Z=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},Q=function(e,t){var n=e.__data__;return Z(t)?n["string"==typeof t?"string":"hash"]:n.map};function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=this.__data__=new I(e);this.size=t.size}X.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(z||I),string:new J}},X.prototype.delete=function(e){var t=Q(this,e).delete(e);return this.size-=+!!t,t},X.prototype.get=function(e){return Q(this,e).get(e)},X.prototype.has=function(e){return Q(this,e).has(e)},X.prototype.set=function(e,t){var n=Q(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},ee.prototype.clear=function(){this.__data__=new I,this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ee.prototype.get=function(e){return this.__data__.get(e)},ee.prototype.has=function(e){return this.__data__.has(e)},ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof I){var r=n.__data__;if(!z||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new X(r)}return n.set(e,t),this.size=n.size,this};let et=function(e,t){for(var n=-1,r=null==e?0:e.length;
1++n<r&&!1!==t(e[n],n,e););return e};var en=function(){try{var e=G(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();let er=function(e,t,n){"__proto__"==t&&en?en(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var ei=Object.prototype.hasOwnProperty;let eo=function(e,t,n){var r=e[t];ei.call(e,t)&&C(r,n)&&(void 0!==n||t in e)||er(e,t,n)},ea=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?er(n,s,l):eo(n,s,l)}return n},es=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},el=function(e){return _(e)&&"[object Arguments]"==E(e)};var ec=Object.prototype,eu=ec.hasOwnProperty,ed=ec.propertyIsEnumerable,ep=el(function(){return arguments}())?el:function(e){return _(e)&&eu.call(e,"callee")&&!ed.call(e,"callee")},ef=Array.isArray,em="object"==typeof exports&&exports&&!exports.nodeType&&exports,eh=em&&"object"==typeof module&&module&&!module.nodeType&&module,ey=eh&&eh.exports===em?d.Buffer:void 0;let eg=(ey?ey.isBuffer:void 0)||function(){return!1};var ev=/^(?:0|[1-9]\d*)$/;let eb=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&ev.test(e))&&e>-1&&e%1==0&&e<t},eE=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff};var ex={};ex["[object Float32Array]"]=ex["[object Float64Array]"]=ex["[object Int8Array]"]=ex["[object Int16Array]"]=ex["[object Int32Array]"]=ex["[object Uint8Array]"]=ex["[object Uint8ClampedArray]"]=ex["[object Uint16Array]"]=ex["[object Uint32Array]"]=!0,ex["[object Arguments]"]=ex["[object Array]"]=ex["[object ArrayBuffer]"]=ex["[object Boolean]"]=ex["[object DataView]"]=ex["[object Date]"]=ex["[object Error]"]=ex["[object Function]"]=ex["[object Map]"]=ex["[object Number]"]=ex["[object Object]"]=ex["[object RegExp]"]=ex["[object Set]"]=ex["[object String]"]=ex["[object WeakMap]"]=!1;let eS=function(e){return function(t){return e(t)}};var e_="object"==typeof exports&&exports&&!exports.nodeType&&exports,ew=e_&&"object"==typeof module&&module&&!module.nodeType&&module,eT=ew&&ew.exports===e_&&c.process,eO=function(){try{var e=ew&&ew.require&&ew.require("util").types;if(e)return e;return eT&&eT.binding&&eT.binding("util")}catch(e){}}(),ej=eO&&eO.isTypedArray,eN=ej?eS(ej):function(e){return _(e)&&eE(e.length)&&!!ex[E(e)]},eC=Object.prototype.hasOwnProperty;let eL=function(e,t){var n=ef(e),r=!n&&ep(e),i=!n&&!r&&eg(e),o=!n&&!r&&!i&&eN(e),a=n||r||i||o,s=a?es(e.length,String):[],l=s.length;for(var c in e)(t||eC.call(e,c))&&!(a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||eb(c,l)))&&s.push(c);return s};var ek=Object.prototype;let eI=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ek)};var eA=x(Object.keys,Object),eD=Object.prototype.hasOwnProperty;let eR=function(e){if(!eI(e))return eA(e);var t=[];for(var n in Object(e))eD.call(e,n)&&"constructor"!=n&&t.push(n);return t},eP=function(e){return null!=e&&eE(e.length)&&!D(e)},eM=function(e){return eP(e)?eL(e):eR(e)},eB=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var e$=Object.prototype.hasOwnProperty;let eK=function(e){if(!A(e))return eB(e);var t=eI(e),n=[];for(var r in e)"constructor"==r&&(t||!e$.call(e,r))||n.push(r);return n},eF=function(e){return eP(e)?eL(e,!0):eK(e)};var eU="object"==typeof exports&&exports&&!exports.nodeType&&exports,eH=eU&&"object"==typeof module&&module&&!module.nodeType&&module,eq=eH&&eH.exports===eU?d.Buffer:void 0,eG=eq?eq.allocUnsafe:void 0;let ez=function(e,t){if(t)return e.slice();var n=e.length,r=eG?eG(n):new e.constructor(n);return e.copy(r),r},eY=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},eV=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},eW=function(){return[]};var eJ=Object.prototype.propertyIsEnumerable,eZ=Object.getOwnPropertySymbols,eQ=eZ?function(e){return null==e?[]:eV(eZ(e=Object(e)),function(t){return eJ.call(e,t)})}:eW;let eX=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var e0=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)eX(t,eQ(e)),e=S(e);return t}:eW;let e1=function(e,t,n){var r=t(e);return ef(e)?r:eX(r,n(e))},e2=function(e){return e1(e,eM,eQ)},e4=function(e){return e1(e,eF,e0)};var e5=G(d,"DataView"),e8=G(d,"Promise"),e6=G(d,"Set"),e3=G(d,"WeakMap"),e7="[object Map]",e9="[object Promise]",te="[object Set]",tt="[object WeakMap]",tn="[object DataView]",tr=B(e5),ti=B(z),to=B(e8),ta=B(e6),ts=B(e3),tl=E;(e5&&tl(new e5(new ArrayBuffer(1)))!=tn||z&&tl(new z)!=e7||e8&&tl(e8.resolve())!=e9||e6&&tl(new e6)!=te||e3&&tl(new e3)!=tt)&&(tl=function(e){var t=E(e),n="[object Object]"==t?e.constructor:void 0,r=n?B(n):"";if(r)switch(r){case tr:return tn;case ti:return e7;case to:return e9;case ta:return te;case ts:return tt}return t});let tc=tl;var tu=Object.prototype.hasOwnProperty;let td=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&tu.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var tp=d.Uint8Array;let tf=function(e){var t=new e.constructor(e.byteLength);return new tp(t).set(new tp(e)),t},tm=function(e,t){var n=t?tf(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var th=/\w*$/;let ty=function(e){var t=new e.constructor(e.source,th.exec(e));return t.lastIndex=e.lastIndex,t};var tg=p?p.prototype:void 0,tv=tg?tg.valueOf:void 0;let tb=function(e,t){var n=t?tf(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},tE=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return tf(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return tm(e,n);
1case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return tb(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return ty(e);case"[object Symbol]":return tv?Object(tv.call(e)):{}}};var tx=Object.create,tS=function(){function e(){}return function(t){if(!A(t))return{};if(tx)return tx(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),t_=eO&&eO.isMap,tw=t_?eS(t_):function(e){return _(e)&&"[object Map]"==tc(e)},tT=eO&&eO.isSet,tO=tT?eS(tT):function(e){return _(e)&&"[object Set]"==tc(e)},tj="[object Arguments]",tN="[object Function]",tC="[object Object]",tL={};tL[tj]=tL["[object Array]"]=tL["[object ArrayBuffer]"]=tL["[object DataView]"]=tL["[object Boolean]"]=tL["[object Date]"]=tL["[object Float32Array]"]=tL["[object Float64Array]"]=tL["[object Int8Array]"]=tL["[object Int16Array]"]=tL["[object Int32Array]"]=tL["[object Map]"]=tL["[object Number]"]=tL[tC]=tL["[object RegExp]"]=tL["[object Set]"]=tL["[object String]"]=tL["[object Symbol]"]=tL["[object Uint8Array]"]=tL["[object Uint8ClampedArray]"]=tL["[object Uint16Array]"]=tL["[object Uint32Array]"]=!0,tL["[object Error]"]=tL[tN]=tL["[object WeakMap]"]=!1;let tk=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!A(t))return t;var d=ef(t);if(d){if(s=td(t),!l)return eY(t,s)}else{var p,f,m,h,y=tc(t),g=y==tN||"[object GeneratorFunction]"==y;if(eg(t))return ez(t,l);if(y==tC||y==tj||g&&!o){if(s=c||g?{}:"function"!=typeof t.constructor||eI(t)?{}:tS(S(t)),!l)return c?(f=(p=s)&&ea(t,eF(t),p),ea(t,e0(t),f)):(h=(m=s)&&ea(t,eM(t),m),ea(t,eQ(t),h))}else{if(!tL[y])return o?t:{};s=tE(t,y,l)}}a||(a=new ee);var v=a.get(t);if(v)return v;a.set(t,s),tO(t)?t.forEach(function(i){s.add(e(i,n,r,i,t,a))}):tw(t)&&t.forEach(function(i,o){s.set(o,e(i,n,r,o,t,a))});var b=u?c?e4:e2:c?eF:eM,E=d?void 0:b(t);return et(E||t,function(i,o){E&&(i=t[o=i]),eo(s,o,e(i,n,r,o,t,a))}),s},tI=function(e){return tk(e,5)};var tA=n(1608),tD=n(8968),tR=n.n(tD);let tP=function(e,t){},tM=function(e){return tk(e,4)},tB=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},t$=function(e){return"symbol"==typeof e||_(e)&&"[object Symbol]"==E(e)};function tK(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(tK.Cache||X),n}tK.Cache=X;var tF=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tU=/\\(\\)?/g,tH=function(e){var t=tK(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(tF,function(e,n,r,i){t.push(r?i.replace(tU,"$1"):n||e)}),t}),tq=1/0;let tG=function(e){if("string"==typeof e||t$(e))return e;var t=e+"";return"0"==t&&1/e==-tq?"-0":t};var tz=1/0,tY=p?p.prototype:void 0,tV=tY?tY.toString:void 0;let tW=function e(t){if("string"==typeof t)return t;if(ef(t))return tB(t,e)+"";if(t$(t))return tV?tV.call(t):"";var n=t+"";return"0"==n&&1/t==-tz?"-0":n},tJ=function(e){return ef(e)?tB(e,tG):t$(e)?[e]:eY(tH(null==e?"":tW(e)))};var tZ=n(7172),tQ=n.n(tZ);function tX(){return(tX=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function t1(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function t2(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var t4=(0,tA.createContext)(void 0);t4.displayName="FormikContext";var t5=t4.Provider,t8=t4.Consumer;function t6(){var e=(0,tA.useContext)(t4);return e||tP(!1),e}var t3=function(e){return Array.isArray(e)&&0===e.length},t7=function(e){return"function"==typeof e},t9=function(e){return null!==e&&"object"==typeof e},ne=function(e){return"[object String]"===Object.prototype.toString.call(e)},nt=function(e){return 0===tA.Children.count(e)},nn=function(e){return t9(e)&&t7(e.then)};function nr(e,t,n,r){void 0===r&&(r=0);for(var i=tJ(t);e&&r<i.length;)e=e[i[r++]];return r===i.length||e?void 0===e?n:e:n}function ni(e,t,n){for(var r=tM(e),i=r,o=0,a=tJ(t);o<a.length-1;o++){var s=a[o],l=nr(e,a.slice(0,o+1));if(l&&(t9(l)||Array.isArray(l)))i=i[s]=tM(l);else{var c=a[o+1];i=i[s]=String(Math.floor(Number(c)))===c&&Number(c)>=0?[]:{}}}return(0===o?e:i)[a[o]]===n?e:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}var no={},na={};function ns(e){var t,n,r,i,o,a,s,c,u,d,p,f,m,h,y,g,v,b,E,x,S,_,w,T,O,j,C,L,k,I,A,D,R,P,M,B,$,K,F,U,H,q,G,z,Y,V,W,J,Z,Q,X,ee,et,en,er,ei=(n=void 0===(t=e.validateOnChange)||t,i=void 0===(r=e.validateOnBlur)||r,a=void 0!==(o=e.validateOnMount)&&o,s=e.isInitialValid,u=void 0!==(c=e.enableReinitialize)&&c,d=e.onSubmit,p=t1(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),f=tX({validateOnChange:n,validateOnBlur:i,validateOnMount:a,onSubmit:d},p),m=(0,tA.useRef)(f.initialValues),h=(0,tA.useRef)(f.initialErrors||no),y=(0,tA.useRef)(f.initialTouched||na),g=(0,tA.useRef)(f.initialStatus),v=(0,tA.useRef)(!1),b=(0,tA.useRef)({}),(0,tA.useEffect)(function(){return v.current=!0,function(){v.current=!1}},[]),E=(0,tA.useState)(0)[1],S=(x=(0,tA.useRef)({values:tI(f.initialValues),errors:tI(f.initialErrors)||no,touched:tI(f.initialTouched)||na,status:tI(f.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0})).current,_=(0,tA.useCallback)(function(e){var t=x.current;x.current=function(e,t){switch(t.type){case"SET_VALUES":return tX({},e,{values:t.payload});case"SET_TOUCHED":return tX({},e,{touched:t.payload});case"SET_ERRORS":if(tR()(e.errors,t.payload))return e;return tX({},e,{errors:t.payload});case"SET_STATUS":return tX({},e,{status:t.payload});case"SET_ISSUBMITTING":return tX({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return tX({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return tX({},e,{values:ni(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return tX({},e,{touched:ni(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return tX({},e,{errors:ni(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return tX({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return tX({},e,{touched:function e(t,n,r,i){void 0===r&&(r=new WeakMap),void 0===i&&(i={});for(var o=0,a=Object.keys(t);o<a.length;o++){var s=a[o],l=t[s];t9(l)?r.get(l)||(r.set(l,!0),i[s]=Array.isArray(l)?[]:{},e(l,n,r,i[s])):i[s]=n}return i}(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return tX({},e,{isSubmitting:!1});default:return e}}(t,e),t!==x.current&&E(function(e){return e+1})},[]),w=(0,tA.useCallback)(function(e,t){return new Promise(function(n,r){var i=f.validate(e,t);null==i?n(no):nn(i)?i.then(function(e){n(e||no)},function(e){r(e)}):n(i)})},[f.validate]),T=(0,tA.useCallback)(function(e,t){var n,r,i,o,a,s=f.validationSchema,l=t7(s)?s(t):s,c=t&&l.validateAt?l.validateAt(t,e):(n=e,r=l,void 0===i&&(i=!1),a=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=String(r);!0===Array.isArray(t[i])?n[i]=t[i].map(function(t){return!0===Array.isArray(t)||N(t)?e(t):""!==t?t:void 0}):N(t[i])?n[i]=e(t[i]):n[i]=""!==t[i]?t[i]:void 0}return n}(n),r[i?"validateSync":"validate"](a,{abortEarly:!1,context:a}));return new Promise(function(e,t){c.then(function(){e(no)},function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return ni(t,e.path,e.message);for(var n=e.inner,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var o,a=o;nr(t,a.path)||(t=ni(t,a.path,a.message))}}return t}(n)):t(n)})})},[f.validationSchema]),O=(0,tA.useCallback)(function(e,t){return new Promise(function(n){return n(b.current[e].validate(t))})},[]),j=(0,tA.useCallback)(function(e){var t=Object.keys(b.current).filter(function(e){return t7(b.current[e].validate)});return Promise.all(t.length>0?t.map(function(t){return O(t,nr(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e){return e.reduce(function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=ni(e,t[r],n)),e},{})})},[O]),C=(0,tA.useCallback)(function(e){return Promise.all([j(e),f.validationSchema?T(e):{},f.validate?w(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return l.all([t,n,r],{arrayMerge:nl})})},[f.validate,f.validationSchema,j,w,T]),L=nu(function(e){return void 0===e&&(e=S.values),_({type:"SET_ISVALIDATING",payload:!0}),C(e).then(function(e){return v.current&&(_({type:"SET_ISVALIDATING",payload:!1}),_({type:"SET_ERRORS",payload:e})),e})}),(0,tA.useEffect)(function(){a&&!0===v.current&&tR()(m.current,f.initialValues)&&L(m.current)},[a,L]),k=(0,tA.useCallback)(function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:h.current?h.current:f.initialErrors||{},r=e&&e.touched?e.touched:y.current?y.current:f.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:f.initialStatus;m.current=t,h.current=n,y.current=r,g.current=i;var o=function(){_({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var a=f.onReset(S.values,J);nn(a)?a.then(o):o()}else o()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]),(0,tA.useEffect)(function(){!0===v.current&&!tR()(m.current,f.initialValues)&&u&&(m.current=f.initialValues,k(),a&&L(m.current))},[u,f.initialValues,k,a,L]),(0,tA.useEffect)(function(){u&&!0===v.current&&!tR()(h.current,f.initialErrors)&&(h.current=f.initialErrors||no,_({type:"SET_ERRORS",payload:f.initialErrors||no}))},[u,f.initialErrors]),(0,tA.useEffect)(function(){u&&!0===v.current&&!tR()(y.current,f.initialTouched)&&(y.current=f.initialTouched||na,_({type:"SET_TOUCHED",payload:f.initialTouched||na}))},[u,f.initialTouched]),(0,tA.useEffect)(function(){u&&!0===v.current&&!tR()(g.current,f.initialStatus)&&(g.current=f.initialStatus,_({type:"SET_STATUS",payload:f.initialStatus}))},[u,f.initialStatus,f.initialTouched]),I=nu(function(e){if(b.current[e]&&t7(b.current[e].validate)){var t=nr(S.values,e),n=b.current[e].validate(t);return nn(n)?(_({type:"SET_ISVALIDATING",payload:!0}),n.then(function(e){return e}).then(function(t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),_({type:"SET_ISVALIDATING",payload:!1})})):(_({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return f.validationSchema?(_({type:"SET_ISVALIDATING",payload:!0}),T(S.values,e).then(function(e){return e}).then(function(t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:nr(t,e)}}),_({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),A=(0,tA.useCallback)(function(e,t){var n=t.validate;b.current[e]={validate:n}},[]),D=(0,tA.useCallback)(function(e){delete b.current[e]},[]),R=nu(function(e,t){return _({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?L(S.values):Promise.resolve()}),P=(0,tA.useCallback)(function(e){_({type:"SET_ERRORS",payload:e})},[]),M=nu(function(e,t){var r=t7(e)?e(S.values):e;return _({type:"SET_VALUES",payload:r}
1),(void 0===t?n:t)?L(r):Promise.resolve()}),B=(0,tA.useCallback)(function(e,t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),$=nu(function(e,t,r){return _({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?L(ni(S.values,e,t)):Promise.resolve()}),K=(0,tA.useCallback)(function(e,t){var n,r=t,i=e;if(!ne(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,a=o.type,s=o.name,l=o.id,c=o.value,u=o.checked,d=(o.outerHTML,o.options),p=o.multiple;r=t||s||l,i=/number|range/.test(a)?isNaN(n=parseFloat(c))?"":n:/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return!!t;var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,i=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return!!t;return t&&n&&!i?r.concat(n):i?r.slice(0,o).concat(r.slice(o+1)):r}(nr(S.values,r),u,c):d&&p?Array.from(d).filter(function(e){return e.selected}).map(function(e){return e.value}):c}r&&$(r,i)},[$,S.values]),F=nu(function(e){if(ne(e))return function(t){return K(t,e)};K(e)}),U=nu(function(e,t,n){return void 0===t&&(t=!0),_({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?L(S.values):Promise.resolve()}),H=(0,tA.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id;n.outerHTML;U(t||r||i,!0)},[U]),q=nu(function(e){if(ne(e))return function(t){return H(t,e)};H(e)}),G=(0,tA.useCallback)(function(e){t7(e)?_({type:"SET_FORMIK_STATE",payload:e}):_({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),z=(0,tA.useCallback)(function(e){_({type:"SET_STATUS",payload:e})},[]),Y=(0,tA.useCallback)(function(e){_({type:"SET_ISSUBMITTING",payload:e})},[]),V=nu(function(){return _({type:"SUBMIT_ATTEMPT"}),L().then(function(e){var t,n=e instanceof Error;if(!n&&0===Object.keys(e).length){try{if(t=Z(),void 0===t)return}catch(e){throw e}return Promise.resolve(t).then(function(e){return v.current&&_({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(v.current)throw _({type:"SUBMIT_FAILURE"}),e})}if(v.current&&(_({type:"SUBMIT_FAILURE"}),n))throw e})}),W=nu(function(e){e&&e.preventDefault&&t7(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t7(e.stopPropagation)&&e.stopPropagation(),V().catch(function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)})}),J={resetForm:k,validateForm:L,validateField:I,setErrors:P,setFieldError:B,setFieldTouched:U,setFieldValue:$,setStatus:z,setSubmitting:Y,setTouched:R,setValues:M,setFormikState:G,submitForm:V},Z=nu(function(){return d(S.values,J)}),Q=nu(function(e){e&&e.preventDefault&&t7(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&t7(e.stopPropagation)&&e.stopPropagation(),k()}),X=(0,tA.useCallback)(function(e){return{value:nr(S.values,e),error:nr(S.errors,e),touched:!!nr(S.touched,e),initialValue:nr(m.current,e),initialTouched:!!nr(y.current,e),initialError:nr(h.current,e)}},[S.errors,S.touched,S.values]),ee=(0,tA.useCallback)(function(e){return{setValue:function(t,n){return $(e,t,n)},setTouched:function(t,n){return U(e,t,n)},setError:function(t){return B(e,t)}}},[$,U,B]),et=(0,tA.useCallback)(function(e){var t=t9(e),n=t?e.name:e,r=nr(S.values,n),i={name:n,value:r,onChange:F,onBlur:q};if(t){var o=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!!(Array.isArray(r)&&~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===s&&l&&(i.value=i.value||[],i.multiple=!0)}return i},[q,F,S.values]),en=(0,tA.useMemo)(function(){return!tR()(m.current,S.values)},[m.current,S.values]),er=(0,tA.useMemo)(function(){return void 0!==s?en?S.errors&&0===Object.keys(S.errors).length:!1!==s&&t7(s)?s(f):s:S.errors&&0===Object.keys(S.errors).length},[s,en,S.errors,f]),tX({},S,{initialValues:m.current,initialErrors:h.current,initialTouched:y.current,initialStatus:g.current,handleBlur:q,handleChange:F,handleReset:Q,handleSubmit:W,resetForm:k,setErrors:P,setFormikState:G,setFieldTouched:U,setFieldValue:$,setFieldError:B,setStatus:z,setSubmitting:Y,setTouched:R,setValues:M,submitForm:V,validateForm:L,validateField:I,isValid:er,dirty:en,unregisterField:D,registerField:A,getFieldProps:et,getFieldMeta:X,getFieldHelpers:ee,validateOnBlur:i,validateOnChange:n,validateOnMount:a})),eo=e.component,ea=e.children,es=e.render,el=e.innerRef;return(0,tA.useImperativeHandle)(el,function(){return ei}),(0,tA.createElement)(t5,{value:ei},eo?(0,tA.createElement)(eo,ei):es?es(ei):ea?t7(ea)?ea(ei):nt(ea)?null:tA.Children.only(ea):null)}function nl(e,t,n){var r=e.slice();return t.forEach(function(t,i){if(void 0===r[i]){var o=!1!==n.clone&&n.isMergeableObject(t);r[i]=o?l(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=l(e[i],t,n):-1===e.indexOf(t)&&r.push(t)}),r}var nc="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?tA.useLayoutEffect:tA.useEffect;function nu(e){var t=(0,tA.useRef)(e);return nc(function(){t.current=e}),(0,tA.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)},[])}
1function nd(e){var t=e.validate,n=e.name,r=e.render,i=e.children,o=e.as,a=e.component,s=e.className,l=t1(e,["validate","name","render","children","as","component","className"]),c=t1(t6(),["validate","validationSchema"]),u=c.registerField,d=c.unregisterField;(0,tA.useEffect)(function(){return u(n,{validate:t}),function(){d(n)}},[u,d,n,t]);var p=c.getFieldProps(tX({name:n},l)),f=c.getFieldMeta(n),m={field:p,form:c};if(r)return r(tX({},m,{meta:f}));if(t7(i))return i(tX({},m,{meta:f}));if(a){if("string"==typeof a){var h=l.innerRef,y=t1(l,["innerRef"]);return(0,tA.createElement)(a,tX({ref:h},p,y,{className:s}),i)}return(0,tA.createElement)(a,tX({field:p,form:c},l,{className:s}),i)}var g=o||"input";if("string"==typeof g){var v=l.innerRef,b=t1(l,["innerRef"]);return(0,tA.createElement)(g,tX({ref:v},p,b,{className:s}),i)}return(0,tA.createElement)(g,tX({},p,l,{className:s}),i)}var np=(0,tA.forwardRef)(function(e,t){var n=e.action,r=t1(e,["action"]),i=t6(),o=i.handleReset,a=i.handleSubmit;return(0,tA.createElement)("form",tX({onSubmit:a,ref:t,onReset:o,action:null!=n?n:"#"},r))});np.displayName="Form";var nf=function(e,t,n){var r=ng(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r},nm=function(e,t,n){var r=ng(e),i=r[t];return r[t]=r[n],r[n]=i,r},nh=function(e,t,n){var r=ng(e);return r.splice(t,0,n),r},ny=function(e,t,n){var r=ng(e);return r[t]=n,r},ng=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(tX({},e,{length:t+1}))},nv=function(e,t){var n="function"==typeof e?e:t;return function(e){return Array.isArray(e)||t9(e)?n(ng(e)):e}};(function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)(function(n){var i=nv(r,e),a=nv(t,e),s=ni(n.values,o,e(nr(n.values,o))),l=r?i(nr(n.errors,o)):void 0,c=t?a(nr(n.touched,o)):void 0;return t3(l)&&(l=void 0),t3(c)&&(c=void 0),tX({},n,{values:s,errors:r?ni(n.errors,o,l):n.errors,touched:t?ni(n.touched,o,c):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(ng(t),[tI(e)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return nm(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return nf(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return nh(n,e,t)},function(t){return nh(t,e,null)},function(t){return nh(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return ny(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var r=n?[e].concat(n):[e];return t=r.length,r},function(e){return e?[null].concat(e):[null]},function(e){return e?[null].concat(e):[null]}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(t2(n)),n.pop=n.pop.bind(t2(n)),n}t0(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!tR()(nr(e.formik.values,e.name),nr(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField(function(n){var r=n?ng(n):[];return t||(t=r[e]),t7(r.splice)&&r.splice(e,1),t7(r.every)&&r.every(function(e){return void 0===e})?[]:r},!0,!0),t},n.pop=function(){var e;return this.updateArrayField(function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n},!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,i=t.children,o=t.name,a=t1(t.formik,["validate","validationSchema"]),s=tX({},e,{form:a,name:o});return n?(0,tA.createElement)(n,s):r?r(s):i?"function"==typeof i?i(s):nt(i)?null:tA.Children.only(i):null},t})(tA.Component).defaultProps={validateOnChange:!0};var nb=function(e){var t=function(t){return(0,tA.createElement)(t8,null,function(n){return n||tP(!1),(0,tA.createElement)(e,tX({},t,{formik:n}))})},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",tQ()(t,e)}(function(e){function t(){return e.apply(this,arguments)||this}t0(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return nr(this.props.formik.errors,this.props.name)!==nr(e.formik.errors,this.props.name)||nr(this.props.formik.touched,this.props.name)!==nr(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,i=e.children,o=e.name,a=t1(e,["component","formik","render","children","name"]),s=nr(n.touched,o),l=nr(n.errors,o);return s&&l?r?t7(r)?r(l):null:i?t7(i)?i(l):null:t?(0,tA.createElement)(t,a,l):l:null},t}(tA.Component))},822:(e,t,n)=>{"use strict";e.exports=n(7525).style},828:()=>{},848:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/OrderedList","definitions":{"OrderedList":{"type":"object","properties":{"nodeType":{"type":"string","enum":["ordered-list"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItem"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},994:(e,t,n)=>{"use strict";n.d(t,{default:()=>T});var r=n(1412),i=n(1608),o=n(4588),a=n(1406),s=n(3252),l=n(3335);let c=[l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2];function u(e,t){if(!e||!Array.isArray(e.content)||0===e.content.length)return(0,s.i)(e,t);let n=[],i=[];
1return e.content.forEach(e=>{c.includes(e.nodeType)&&i.length>0&&(n.push(i),i=[]),i.push(e),e.nodeType===l.BLOCKS.HR&&(n.push(i),i=[])}),i.length>0&&n.push(i),n.map((n,i)=>(0,r.jsx)("section",{"data-print-section":"",children:(0,s.i)({...e,content:n},t)},i))}var d=function(e){return e.ACCORDION="accordion",e.ICON="icon",e.BUTTON="button",e.IMAGE="image",e.VIDEO_EMBED="videoEmbed",e.VIDEO_FILE="videoFile",e}(d||{});let p=e=>{let t=x.getContentfulContentType(),n=(0,s.i)(e.content,t),[o,a]=(0,i.useState)(!1),[l,c]=(0,i.useState)(!1);return(0,r.jsx)("div",{className:"accordion my-4 relative",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:(0,r.jsxs)("div",{className:"relative border overflow-hidden transition-all duration-200 rounded-lg transform ".concat(o?"border-gray-700 bg-gray-800/50":l?"border-gray-600 bg-gray-800/70 shadow-lg shadow-black/20 -translate-y-0.5":"border-gray-700 bg-gray-800/50"),children:[(0,r.jsx)("div",{className:"accordion-header cursor-pointer p-5",onClick:()=>a(!o),children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"accordion-icon mr-4 flex-shrink-0",children:(0,r.jsx)("div",{className:"w-8 h-8 rounded flex items-center justify-center transition-all duration-200 ".concat(o?"bg-blue-500/20 text-blue-400":l?"bg-gray-600 text-gray-300":"bg-gray-700 text-gray-400"),children:(0,r.jsx)("i",{className:"fas ".concat(o?"fa-minus":"fa-plus"," text-sm")})})}),e.leftIcon&&(0,r.jsx)("div",{className:"mr-3 flex-shrink-0",children:(0,r.jsx)("i",{className:"".concat(e.leftIcon," text-blue-400 text-lg")})}),(0,r.jsx)("h3",{className:"!my-0 text-white font-medium text-lg flex-1",children:e.title}),(0,r.jsxs)("span",{className:"accordion-hint text-sm ml-4 transition-colors duration-200 ".concat(l?"text-gray-400":"text-gray-500"),children:["Click to ",o?"collapse":"expand"]}),(0,r.jsx)("i",{className:"accordion-hint fas fa-chevron-down ml-2 transition-all duration-200 ".concat(o?"rotate-180":""," ").concat(l?"text-gray-400":"text-gray-500")})]})}),(0,r.jsx)("div",{className:"accordion-panel transition-all duration-300 ".concat(o?"max-h-[2000px] opacity-100":"max-h-0 opacity-0"),children:(0,r.jsx)("div",{className:"px-5 pb-6",children:(0,r.jsx)("div",{className:"border-t border-gray-700/50 pt-6",children:(0,r.jsx)("div",{className:"prose prose-invert max-w-none prose-p:text-gray-300 prose-headings:text-white",children:n})})})})]})})},f=e=>{var t;return(0,r.jsxs)("div",{className:"inline-flex flex-col items-center",children:[(0,r.jsx)("i",{className:"".concat(e.className),placeholder:e.title}),(null===(t=e.subtitle)||void 0===t?void 0:t.length)?(0,r.jsx)("div",{className:"flex",children:(0,r.jsx)("div",{className:"text-xs",children:e.subt
1itle})}):null]})};var m=n(4477),h=n.n(m);let y=e=>{let t=(0,r.jsxs)(r.Fragment,{children:[e.leftIcon?(0,r.jsx)("i",{className:"".concat(e.leftIcon," mr-2")}):null,e.centerIcon?(0,r.jsx)("i",{className:"".concat(e.centerIcon)}):e.label,e.rightIcon?(0,r.jsx)("i",{className:"".concat(e.rightIcon," ml-2")}):null]}),n=t=>e.wrapperClass?(0,r.jsx)("div",{className:e.wrapperClass,children:t}):t;if(e.src){let i=e.src.startsWith("http"),o={color:"inherit",textDecoration:"none"};return n(i?(0,r.jsx)("a",{href:e.src,className:e.className,title:e.title,style:o,target:"_blank",rel:"noopener noreferrer",children:t}):(0,r.jsx)(h(),{href:e.src,className:e.className,title:e.title,style:o,children:t}))}return n((0,r.jsx)("button",{className:e.className,title:e.title,children:t}))};var g=n(2269);let v=e=>{let t=e.image.fields.file.url.startsWith("//")?"https:".concat(e.image.fields.file.url):e.image.fields.file.url,n=(0,r.jsx)(g.default,{src:t,alt:e.title,width:e.image.fields.file.details.image.width,height:e.image.fields.file.details.image.height,className:e.customClasses||"max-w-sm",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loading:"lazy"});return e.wrapperClass?(0,r.jsx)("div",{className:e.wrapperClass,children:n}):n};var b=n(2216);let E=e=>{let{embedUrl:t,title:n,videoFile:o,width:a="100%",height:s="400px",className:l="",autoplay:c=!1,controls:u=!0,muted:d=!1,loop:p=!1}=e,f=(0,i.useRef)(!1);if(t){let e=(e=>{if(!e)return"";let t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);if(t){let e=t[1];return"https://www.youtube.com/embed/".concat(e,"?rel=0").concat(c?"&autoplay=1":"").concat(c||d?"&mute=1":"")}let n=e.match(/(?:https?:\/\/)?(?:www\.)?vimeo\.com\/(?:channels\/|groups\/|album\/\d+\/video\/|video\/|)(\d+)(?:$|\/|\?)/);if(n){let e=n[1];return"https://player.vimeo.com/video/".concat(e,"?").concat(c?"&autoplay=1":"").concat(c||d?"&muted=1":"")}return e})(t);return(0,r.jsxs)("div",{className:"video-embed ".concat(l),style:{width:a,height:s},onClick:()=>{f.current||(f.current=!0,(0,b.py)(n||"Untitled Video",t||""))},children:[n&&(0,r.jsx)("h4",{className:"text-lg font-semibold mb-2",children:n}),(0,r.jsx)("div",{className:"relative w-full h-full",children:(0,r.jsx)("iframe",{src:e,title:n||"Video",width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"rounded-lg",style:{minHeight:"300px"}})})]})}return(null==o?void 0:o.url)?(0,r.jsxs)("div",{className:"video-file ".concat(l),style:{width:a},children:[n&&(0,r.jsx)("h4",{className:"text-lg font-semibold mb-2",children:n}),(0,r.jsxs)("video",{width:"100%",height:s,controls:u,autoPlay:c,muted:d,loop:p,className:"rounded-lg",style:{maxWidth:"100%"},onPlay:()=>{f.current||(f.current=!0,(0,b.py)(n||o.fileName,o.url))},children:[(0,r.jsx)("source",{src:o.url,type:o.contentType}),"Your browser does not support the video tag."]})]}):(0,r.jsx)("div",{className:"video-placeholder bg-gray-200 flex items-center justify-center rounded-lg ".concat(l),style:{width:a,height:s},children:(0,r.jsx)("p",{className:"text-gray-500",children:"No video source provided"})})};class x{}x.getContentfulContentType=()=>({renderMark:{[l.MARKS.CODE]:e=>(0,r.jsx)("pre",{className:"bg-gray-900 text-green-400 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm leading-relaxed",children:e},Math.random())},renderNode:{[l.BLOCKS.EMBEDDED_ASSET]:e=>{var t,n,i,o,a,s;if(!(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(t=n.target)||void 0===t?void 0:t.fields))return null;let{file:l,title:c}=e.data.target.fields;if(!l||!l.url)return null;let u=l.url.startsWith("//")?"https:".concat(l.url):l.url,d=l.contentType||"";if(d.startsWith("video/"))return(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(E,{videoFile:{url:u,contentType:d,fileName:l.fileName||""},title:c,controls:!0,className:"w-full"})},e.data.target.sys.id);let p=c||"Image",f=(null===(o=l.details)||void 0===o?void 0:null===(i=o.image)||void 0===i?void 0:i.width)||800,m=(null===(s=l.details)||void 0===s?void 0:null===(a=s.image)||void 0===a?void 0:a.height)||600;return(0,r.jsx)("div",{className:"relative max-w-sm mb-4",children:(0,r.jsx)(g.default,{src:u,alt:p,width:f,height:m,className:"w-full h-auto",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loading:"lazy"})},e.data.target.sys.id)},[l.INLINES.EMBEDDED_ENTRY]:e=>{switch(e.data.target.sys.contentType.sys.id){case d.ICON:let t=e.data.target.fields;return(0,r.jsx)(f,{className:t.class,subtitle:t.subtitle,title:t.title});case d.BUTTON:let n=e.data.target.fields;return(0,r.jsx)(y,{className:n.class,title:n.title,label:n.label,leftIcon:n.leftIcon,centerIcon:n.centerIcon,rightIcon:n.rightIcon,src:n.src,wrapperClass:n.wrapperClass});default:return null}},[l.BLOCKS.EMBEDDED_ENTRY]:e=>{switch(e.data.target.sys.contentType.sys.id){case d.ACCORDION:let t=e.data.target.fields;return(0,r.jsx)(p,{leftIcon:t.leftIcon,title:t.title,content:t.content},e.data.target.sys.id);case d.BUTTON:let n=e.data.target.fields;return(0,r.jsx)(y,{className:n.class,title:n.title,label:n.label,leftIcon:n.leftIcon,centerIcon:n.centerIcon,rightIcon:n.rightIcon,src:n.src,wrapperClass:n.wrapperClass});case d.ICON:let i=e.data.target.fields;return(0,r.jsx)(f,{className:i.class,subtitle:i.subtitle,title:i.title});case d.IMAGE:let o=e.data.target.fields;return(0,r.jsx)(v,{image:o.image,customClasses:o.customClasses,subtitle:o.subtitle,title:o.title,allowModalPopup:o.allowModalPopup,wrapperClass:o.wrapperClass});case d.VIDEO_EMBED:let a=e.data.target.fields;return(0,r.jsx)(E,{embedUrl:a.embedUrl,title:a.title,className:a.customClasses,autoplay:a.autoplay,muted:a.muted},e.data.target.sys.id);case d.VIDEO_FILE:var s,l,c,u,m,h,g,b,x;let S=e.data.target.fields;return(0,r.jsx)(E,{videoFile:{url:(null===(c=S.videoFile)||void 0===c?void 0:null===(l=c.fields)||void 0===l?void 0:null===(s=l.file)||void 0===s?void 0:s.url)||"",contentType:(null===(h=S.videoFile)||void 0===h?void 0:null===(m=h.fields)||void 0===m?void 0:null===(u=m.file)||void 0===u?void 0:u.contentType)||"video/mp4",fileName:(null===(x=S.videoFile)||void 0===x?void 0:null===(b=x.fields)||void 0===b?void 0:null===(g=b.file)||void 0===g?void 0:g.fileName)||""},title:S.title,className:S.customClasses,autoplay:S.autoplay,controls:S.controls,muted:S.muted,loop:S.loop},e.data.target.sys.id);default:return null}},[l.BLOCKS.PARAGRAPH]:(e,t)=>1===e.content.length&&"text"===e.content[0].nodeType&&e.content[0].marks&&e.content[0].marks.some(e=>
1"code"===e.type)?(0,r.jsx)("pre",{className:"bg-gray-900 text-green-400 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm leading-relaxed",children:(0,r.jsx)("code",{children:e.content[0].value})},Math.random()):(0,r.jsx)("span",{className:"mb-3 block",children:t},Math.random()),[l.BLOCKS.HEADING_1]:(e,t)=>(0,r.jsx)("h1",{children:t},Math.random()),[l.BLOCKS.HEADING_2]:(e,t)=>(0,r.jsx)("h2",{children:t},Math.random()),[l.BLOCKS.HEADING_3]:(e,t)=>(0,r.jsx)("h3",{children:t},Math.random()),[l.BLOCKS.UL_LIST]:(e,t)=>(0,r.jsx)("ul",{className:"list-disc list-outside space-y-2 text-gray-300 my-4",children:t},Math.random()),[l.BLOCKS.OL_LIST]:(e,t)=>(0,r.jsx)("ol",{className:"list-decimal list-outside space-y-2 text-gray-300 my-4",children:t},Math.random()),[l.BLOCKS.LIST_ITEM]:(e,t)=>{let n=i.Children.map(t,e=>i.isValidElement(e)&&"object"==typeof e.props&&null!==e.props&&"string"==typeof e.props.className&&e.props.className.includes("block")?i.cloneElement(e,{className:e.props.className.replace("block","inline")}):e);return(0,r.jsx)("li",{className:"pl-2",children:n},Math.random())},[l.INLINES.HYPERLINK]:(e,t)=>(0,r.jsx)("a",{href:e.data.uri,children:t},Math.random()),[l.BLOCKS.HR]:(e,t)=>(0,r.jsx)("hr",{className:"my-10 border-t-2 border-gray-300"},Math.random()),[l.BLOCKS.TABLE]:(e,t)=>(0,r.jsx)("div",{className:"overflow-x-auto my-6",children:(0,r.jsx)("table",{className:"min-w-full border-collapse border border-gray-700",children:(0,r.jsx)("tbody",{children:t})})},Math.random()),[l.BLOCKS.TABLE_ROW]:(e,t)=>(0,r.jsx)("tr",{className:"border-b border-gray-700",children:t},Math.random()),[l.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>(0,r.jsx)("th",{className:"px-4 py-3 text-left font-semibold bg-gray-800 border border-gray-700",children:t},Math.random()),[l.BLOCKS.TABLE_CELL]:(e,t)=>(0,r.jsx)("td",{className:"px-4 py-3 border border-gray-700",children:t},Math.random())}});var S=n(5703);let _=e=>{var t;let{isPreviewMode:n,contentfulData:o}=e;(0,S.wi)();let s=(0,a.useSearchParams)(),[l,c]=(0,i.useState)({});if((0,i.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/api/debug-draft-mode"),t=await e.json();c(t)}catch(e){}};n&&e()},[n]),!n)return null;let u=(null==s?void 0:s.get("preview"))==="true",d=(null==s?void 0:s.get("previewSecret"))==="orderwerks-preview",p=l.draftMode,f=u&&d,m=f||p;return(0,r.jsxs)("div",{className:"bg-gradient-to-r from-indigo-50 to-blue-50 border border-indigo-200 rounded-lg shadow-sm my-4 overflow-hidden",children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-indigo-500 to-blue-600 px-4 py-3",children:(0,r.jsxs)("h3",{className:"font-semibold text-white text-sm flex items-center",children:[(0,r.jsx)("span",{className:"mr-2",children:"\uD83D\uDD27"}),"Live Preview Debug"]})}),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Preview Mode"}),(0,r.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800",children:"✓ Enabled"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Live Updates"}),(0,r.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800",children:"✓ Active"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Inspector Mode"}),(0,r.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800",children:"✓ Active"})]})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Preview System"}),(0,r.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800",children:f?"URL-based":p?"Next.js Draft Mode":"Unknown"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"API Host"}),(0,r.jsx)("code",{className:"text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded font-mono",children:m?"preview.contentful.com":"cdn.contentful.com"})]}),o&&(0,r.jsxs)("div",{className:"flex items-center justify-between p-2 bg-white rounded border border-gray-100",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Content ID"}),(0,r.jsx)("code",{className:"text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded font-mono",children:(null===(t=o.sys)||void 0===t?void 0:t.id)||"No ID"})]})]})]}),(0,r.jsxs)("details",{className:"mt-4",children:[(0,r.jsx)("summary",{className:"text-xs text-gray-500 cursor-pointer hover:text-gray-700 transition-colors",children:"Show advanced details"}),(0,r.jsxs)("div",{className:"mt-2 p-3 bg-gray-50 rounded border border-gray-200 space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,r.jsx)("span",{className:"text-gray-600",children:"Next.js Draft Mode:"}),(0,r.jsx)("span",{className:p?"text-green-600":"text-orange-600",children:p?"✓ Active":"⚠ Inactive (using URL fallback)"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,r.jsx)("span",{className:"text-gray-600",children:"URL Preview Mode:"}),(0,r.jsx)("span",{className:f?"text-green-600":"text-gray-600",children:f?"✓ Active":"✗ Inactive"})]})]})]}),(0,r.jsxs)("div",{className:"mt-4 p-3 bg-amber-50 border border-amber-200 rounded",children:[(0,r.jsx)("p",{className:"text-xs text-amber-800 font-medium mb-1",children:"How to test:"}),(0,r.jsxs)("ul",{className:"text-xs text-amber-700 space-y-1",children:[(0,r.jsx)("li",{children:"• Edit content in Contentful to see live updates"}),(0,r.jsx)("li",{children:"• Click on title or content areas to open the editor"}),(0,r.jsxs)("li",{children:["•"," ",m?"You're viewing draft content from Contentful":"You're viewing published content only"]})]})]}),l.error&&(0,r.jsx)("div",{className:"mt-4 p-3 bg-red-50 border border-red-200 rounded",children:(0,r.jsxs)("div",{className:"text-xs text-red-800",children:[(0,r.jsx)("strong",{children:"Error:"})," ",l.error]})})]})]})},w=e=>{var t,n,o,s;let l=(0,a.usePathname)(),[c,p]=(0,i.useState)(()=>{var t,n;if(null===(n=e.preloadedData)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:t.content){let t=x.getContentfulContentType();return u(e.preloadedData.fields.content,t)}return null}),[f,m]=(0,i.useState)(),[h,y]=(0,i.useState)((null===(n=e.preloadedData)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:t.t
1itle)||void 0),[g,v]=(0,i.useState)((null===(s=e.preloadedData)||void 0===s?void 0:null===(o=s.fields)||void 0===o?void 0:o.video)||null),[b,w]=(0,i.useState)(!e.preloadedData),[T,O]=(0,i.useState)(e.preloadedData),j=(0,i.useRef)(!!e.preloadedData),N=(0,i.useRef)(null),C=(0,i.useRef)(null),L=(0,S.qM)(T),k=e.isPreviewMode?L:T,I=(0,S.wi)(),A=e.initialPath||(l&&l.length>7?l.substring(7):"/");(0,i.useEffect)(()=>{e.setTitle&&h&&e.setTitle(h)},[h,e.setTitle]),(0,i.useEffect)(()=>{N.current!==l&&(j.current=!1,N.current=l)},[l]),(0,i.useEffect)(()=>{if(e.preloadedData&&!j.current){var t;let n=e.preloadedData;if(null==n?void 0:null===(t=n.fields)||void 0===t?void 0:t.content){let e=x.getContentfulContentType(),t=u(n.fields.content,e);y(n.fields.title||""),p(t),n.fields.video&&v(n.fields.video),j.current=!0,w(!1)}return}let n=new AbortController;return(async()=>{if((l||e.initialPath)&&!e.preloadedData){if(j.current&&N.current===l)return;w(!0),j.current=!1,N.current=l;let i="/api/content/post/".concat(A);if(e.isPreviewMode&&e.previewSecret){let t=new URLSearchParams({preview:"true",previewSecret:e.previewSecret});i+="?".concat(t.toString())}try{var t,r;let e=await fetch(i,{signal:n.signal});if(n.signal.aborted)return;let o=await e.json();if(null==o?void 0:null===(r=o.items[0])||void 0===r?void 0:null===(t=r.fields)||void 0===t?void 0:t.content){let e=o.items[0];O(e);let t=x.getContentfulContentType(),n=u(e.fields.content,t);y(e.fields.title||""),p(n),e.fields.video&&v(e.fields.video),j.current=!0}}catch(e){if("AbortError"===e.name)return;m("<div><h2>Error</h2>\n                <p>There was an error loading this content. Please contact support for assistance.</p>\n                </div>")}finally{n.signal.aborted||w(!1)}}})(),()=>{n.abort()}},[l,e.isPreviewMode,e.previewSecret,A,e.initialPath,e.preloadedData]),(0,i.useEffect)(()=>{var t,n,r;if(!e.isPreviewMode||!k||!k.fields)return;let i=C.current;if(i===k)return;let o=(null==i?void 0:null===(t=i.fields)||void 0===t?void 0:t.content)!==k.fields.content,a=(null==i?void 0:null===(n=i.fields)||void 0===n?void 0:n.title)!==k.fields.title,s=(null==i?void 0:null===(r=i.fields)||void 0===r?void 0:r.video)!==k.fields.video;if(!o&&!a&&!s){C.current=k;return}if(o){let e=x.getContentfulContentType();p(u(k.fields.content,e))}a&&y(k.fields.title||""),s&&(k.fields.video?v(k.fields.video):v(null)),C.current=k},[k,e.isPreviewMode]);let D=e.isPreviewMode&&T?I({entryId:T.sys.id,fieldId:"title"}):{},R=e.isPreviewMode&&T?I({entryId:T.sys.id,fieldId:"content"}):{},P=e.isPreviewMode&&T?I({entryId:T.sys.id,fieldId:"video"}):{};return(0,r.jsx)(r.Fragment,{children:b?(0,r.jsx)("div",{className:"flex items-center justify-center py-12",children:(0,r.jsxs)("div",{className:"text-gray-400",children:["Loading ",(0,r.jsx)("i",{className:"fas fa-spinner fa-spin ml-2"})]})}):(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-3xl font-bold text-white mb-6",...D,children:h}),g&&(0,r.jsx)("div",{className:"mb-6",...P,children:(()=>{if(!g)return null;if("Asset"===g.sys.type&&g.fields.file){let e=g.fields.file.url,t=e.startsWith("//")?"https:".concat(e):e;return(0,r.jsx)(E,{videoFile:{url:t,contentType:g.fields.file.contentType,fileName:g.fields.file.fileName},title:g.fields.title,controls:!0,className:"w-full"})}if("Entry"===g.sys.type){let u=g.fields,p=g.sys.contentType.sys.id;if(p===d.VIDEO_EMBED)return(0,r.jsx)(E,{embedUrl:u.embedUrl,title:u.title,className:u.customClasses,autoplay:u.autoplay,muted:u.muted});if(p===d.VIDEO_FILE){var e,t,n,i,o,a,s,l,c;return(0,r.jsx)(E,{videoFile:{url:(null===(n=u.videoFile)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.url)||"",contentType:(null===(a=u.videoFile)||void 0===a?void 0:null===(o=a.fields)||void 0===o?void 0:null===(i=o.file)||void 0===i?void 0:i.contentType)||"video/mp4",fileName:(null===(c=u.videoFile)||void 0===c?void 0:null===(l=c.fields)||void 0===l?void 0:null===(s=l.file)||void 0===s?void 0:s.fileName)||""},title:u.title,className:u.customClasses,autoplay:u.autoplay,controls:u.controls,muted:u.muted,loop:u.loop})}}return null})()}),(0,r.jsx)("div",{className:"prose prose-invert max-w-none",...R,children:c}),f&&!c?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:f}}):null,(0,r.jsx)(_,{isPreviewMode:e.isPreviewMode||!1,contentfulData:T})]})})};function T(e){let{initialPath:t,isPreviewMode:n=!1,previewSecret:i,preloadedData:a}=e;return(0,r.jsx)(o.Q,{isPreviewMode:n,children:(0,r.jsx)(w,{initialPath:t,isPreviewMode:n,previewSecret:i,preloadedData:a})})}}
1,1029:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(1608);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),a=e=>{let t=o(e);return t.charAt(0).toUpperCase()+t.slice(1)},s=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()},l=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:a,className:u="",children:d,iconNode:p,...f}=e;return(0,r.createElement)("svg",{ref:t,...c,width:i,height:i,stroke:n,strokeWidth:a?24*Number(o)/Number(i):o,className:s("lucide",u),...!d&&!l(f)&&{"aria-hidden":"true"},...f},[...p.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:l,...c}=n;return(0,r.createElement)(u,{ref:o,iconNode:t,className:s("lucide-".concat(i(a(e))),"lucide-".concat(e),l),...c})});return n.displayName=a(e),n}},1240:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/AssetLinkBlock","definitions":{"AssetLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-asset-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Asset\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Asset\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Asset"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},1460:(e,t,n)=>{"use strict";n.d(t,{Q3:()=>o,R3:()=>s,WE:()=>a,Yx:()=>l});let r="ow_utm",i=["gclid","msclkid"];function o(){let e=new URLSearchParams(window.location.search),t={};return e.forEach((e,n)=>{e&&(n.startsWith("utm_")||i.includes(n))&&(t[n]=e)}),t}function a(e){if("undefined"==typeof document||0===Object.keys(e).length)return;let t=encodeURIComponent(JSON.stringify(e)),n="".concat(r,"=").concat(t,"; path=/; Max-Age=").concat(2592e3,"; SameSite=Lax");-1!==window.location.hostname.indexOf("orderwerks.com")&&(n+="; Domain=orderwerks.com"),"https:"===window.location.protocol&&(n+="; Secure"),document.cookie=n}function s(){let e=o();if(Object.keys(e).length>0)return a(e),e;if("undefined"==typeof document)return{};let t=document.cookie.split("; ").find(e=>e.startsWith("".concat(r,"=")));if(t)try{return JSON.parse(decodeURIComponent(t.split("=").slice(1).join("=")))}catch(e){}return{}}function l(){let e=s();return{utm_source:e.utm_source||"",utm_medium:e.utm_medium||"",utm_campaign:e.utm_campaign||"",utm_content:e.utm_content||"",utm_term:e.utm_term||"",gclid:e.gclid||"",msclkid:e.msclkid||""}}},1518:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableRow","definitions":{"TableRow":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-row"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableCell"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"}
1,"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},1865:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading3","definitions":{"Heading3":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-3"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},1883:(e,t,n)=>{"use strict";var r;let i,o,a,s,l,c,u,d,p,f;n.d(t,{yf:()=>nl});let m={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},h=console,y={};Object.keys(m).forEach(e=>{y[e]=h[e]});let g="Datadog Browser SDK:",v={debug:y.debug.bind(h,g),log:y.log.bind(h,g),info:y.info.bind(h,g),warn:y.warn.bind(h,g),error:y.error.bind(h,g)},b="https://docs.datadoghq.com",E=`${b}/real_user_monitoring/browser/troubleshooting`,x="More details:";function S(e,t){return(...n)=>{try{return e(...n)}catch(e){v.error(t,e)}}}let _=!1;function w(e){_=e}function T(e){return function(){return O(e,this,arguments)}}function O(e,t,n){try{return e.apply(t,n)}catch(e){j(e)}}function j(e){if(N(e),i)try{i(e)}catch(e){N(e)}}function N(...e){_&&v.error("[MONITOR]",...e)}function C(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}class L{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:()=>{this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}}
1notify(e){this.observers.forEach(t=>t(e))}}function k(...e){return new L(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}let I={GRANTED:"granted",NOT_GRANTED:"not-granted"},A=/[^\u0000-\u007F]/;function D(e){return A.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function R(e,t){let n,r=C();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}function P(e,t){return R(C(),"setTimeout")(T(e),t)}function M(e){R(C(),"clearTimeout")(e)}function B(e,t){return R(C(),"setInterval")(T(e),t)}function $(e){R(C(),"clearInterval")(e)}function K(){}function F(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);let r=U(Object.prototype),i=U(Array.prototype),o=U(Object.getPrototypeOf(e)),a=U(e);try{return JSON.stringify(e,t,n)}catch(e){return"<error: unable to serialize object>"}finally{r(),i(),o(),a()}}function U(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):K}function H(e,t=225280){let n=U(Object.prototype),r=U(Array.prototype),i=[],o=new WeakMap,a=q(e,"$",void 0,i,o),s=JSON.stringify(a),l=s?s.length:0;if(l>t){G(t,"discarded",e);return}for(;i.length>0&&l<t;){let n=i.shift(),r=0;if(Array.isArray(n.source))for(let a=0;a<n.source.length;a++){let s=q(n.source[a],n.path,a,i,o);if(void 0!==s?l+=JSON.stringify(s).length:l+=4,l+=r,r=1,l>t){G(t,"truncated",e);break}n.target[a]=s}else for(let a in n.source)if(Object.prototype.hasOwnProperty.call(n.source,a)){let s=q(n.source[a],n.path,a,i,o);if(void 0!==s&&(l+=JSON.stringify(s).length+r+a.length+3,r=1),l>t){G(t,"truncated",e);break}n.target[a]=s}}return n(),r(),a}function q(e,t,n,r,i){let o=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!o||"object"!=typeof o){var a;return"bigint"==typeof(a=o)?`[BigInt] ${a.toString()}`:"function"==typeof a?`[Function] ${a.name||"unknown"}`:"symbol"==typeof a?`[Symbol] ${a.description||a.toString()}`:a}let s=function e(t){try{if(t instanceof Event){var n;return{type:(n=t).type,isTrusted:n.isTrusted,currentTarget:n.currentTarget?e(n.currentTarget):null,target:n.target?e(n.target):null}}if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let r=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(r&&r[1])return`[${r[1]}]`}catch(e){}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(e))return`[Reference seen at ${i.get(e)}]`;let l=void 0!==n?`${t}.${n}`:t,c=Array.isArray(o)?[]:{};return i.set(e,l),r.push({source:o,target:c,path:l}),c}function G(e,t,n){v.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}function z(e){var t,n;let r=[],i=et(e,"stack"),a=String(e);if(i&&i.startsWith(a)&&(i=i.slice(a.length)),i&&i.split("\n").forEach(e=>{let t=function(e){let t=W.exec(e);if(!t)return;let n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=J.exec(t[2]);return r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){let t=Z.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){let t=Q.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=X.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,r=ee.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func="?"),r.push(t))}),r.length>0&&function(){if(void 0!==o)return o;class e extends Error{constructor(){super(),this.name="Error"}}let[t,n]=[e,Error].map(e=>new e);return o=er(Object.getPrototypeOf(t))&&n.stack!==t.stack}()&&e instanceof Error){let i=[],o=e;for(;(o=Object.getPrototypeOf(o))&&er(o);){let e=(null===(t=o.constructor)||void 0===t?void 0:t.name)||"?";i.push(e)}for(let e=i.length-1;e>=0&&(null===(n=r[0])||void 0===n?void 0:n.func)===i[e];e--)r.shift()}return{message:et(e,"message"),name:et(e,"name"),stack:r}}let Y="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",V="(?::(\\d+))",W=RegExp(`^\\s*at (.*?) ?\\(${Y}${V}?${V}?\\)?\\s*$`,"i"),J=RegExp(`\\((\\S*)${V}${V}\\)`),Z=RegExp(`^\\s*at ?${Y}${V}?${V}??\\s*$`,"i"),Q=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,X=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?
1:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,ee=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function et(e,t){if("object"!=typeof e||!e||!(t in e))return;let n=e[t];return"string"==typeof n?n:void 0}let en=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function er(e){return String(e.constructor).startsWith("class ")}function ei(e){let t,n=Error(e);return n.name="HandlingStack",O(()=>{let e=z(n);e.stack=e.stack.slice(2),t=eo(e)}),t}function eo(e){let t=ea(e);return e.stack.forEach(e=>{let n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",i=e.line?`:${e.line}`:"",o=e.line&&e.column?`:${e.column}`:"";t+=`
2  at ${n}${r} @ ${e.url}${i}${o}`}),t}function ea(e){return`${e.name||"Error"}: ${e.message}`}let es="No stack, consider using an instance of Error";function el({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:o,useFallbackStack:a=!0,source:s,handling:l}){var c,u,d,p,f;let m=ec(t);return!e&&m&&(e=z(t)),{startClocks:i,source:s,handling:l,handlingStack:n,componentStack:r,originalError:t,type:e?e.name:void 0,message:(c=e,u=m,d=o,p=t,(null==c?void 0:c.message)&&(null==c?void 0:c.name)?c.message:u?"Empty message":`${d} ${F(H(p))}`),stack:e?eo(e):a?es:void 0,causes:m?function(e,t){let n=e,r=[];for(;ec(null==n?void 0:n.cause)&&r.length<10;){let e=z(n.cause);r.push({message:n.cause.message,source:t,type:null==e?void 0:e.name,stack:e&&eo(e)}),n=n.cause}return r.length?r:void 0}(t,s):void 0,fingerprint:ec(f=t)&&"dd_fingerprint"in f?String(f.dd_fingerprint):void 0,context:function(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}(t)}}function ec(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function eu(e,t){return Object.keys(e).some(n=>e[n]===t)}function ed(e){return 0===Object.keys(e).length}!function(e){e.TRACK_INTAKE_REQUESTS="track_intake_requests",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql"}(r||(r={}));let ep=new Set,ef="datadoghq.com",em=["ddsource","ddtags"],eh=31536e6;function ey(){return new Date().getTime()}function eg(){return performance.now()}function ev(){return{relative:eg(),timeStamp:ey()}}function eb(){return void 0===a&&(a=performance.timing.navigationStart),a}function eE(e,t){let n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function ex(e){return 0!==e&&100*Math.random()<=e}function eS(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function e_(e,t,n=function(){if("undefined"!=typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=e_(r[e],t[e],n);return r}let r="object"===eS(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=e_(r[e],t[e],n));return r}function ew(...e){let t;for(let n of e)null!=n&&(t=e_(t,n));return t}function eT(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function eO(){let e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{eT(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}function ej(){let e=C().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function eN(e){var t;void 0===e&&(e=null===(t=C().location)||void 0===t?void 0:t.hostname);let n=ej();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function eC(e){return Object.values(e)}function eL(e,t,n,r,{once:i,capture:o,passive:a}={}){let s=T(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&d(),r(t))}),l=a?{capture:o,passive:a}:o,c=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,u=R(c,"addEventListener");function d(){let e=R(c,"removeEventListener");
2n.forEach(n=>e.call(t,n,s,l))}return n.forEach(e=>u.call(t,e,s,l)),{stop:d}}let ek={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function eI({encoder:e,request:t,flushController:n,messageBytesLimit:r}){let i={},o=n.flushObservable.subscribe(n=>(function(n){var r;let o=eC(i).join("\n");i={};let a=(r=n.reason,eC(ek).includes(r)),s=a?t.sendOnExit:t.send;if(a&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&s(eA(t));let n=[t.pendingData,o].filter(Boolean).join("\n");n&&s({data:n,bytesCount:D(n)})}else o&&e.write(e.isEmpty?o:`
3${o}`),e.finish(e=>{s(eA(e))})})(n));function a(t,o){let a=F(t),s=e.estimateEncodedBytesCount(a);if(s>=r){v.warn(`Discarded a message whose size was bigger than the maximum allowed size ${r}KB. ${x} ${E}/#technical-limitations`);return}if(void 0!==o&&void 0!==i[o]){let t=i[o];delete i[o];let r=e.estimateEncodedBytesCount(t);n.notifyAfterRemoveMessage(r)}n.notifyBeforeAddMessage(s),void 0!==o?(i[o]=a,n.notifyAfterAddMessage()):e.write(e.isEmpty?a:`
4${a}`,e=>{n.notifyAfterAddMessage(e-s)})}return{flushController:n,add:a,upsert:a,stop:o.unsubscribe}}function eA(e){let t;return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}let eD={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},eR=3145728;function eP(e,t,n,r,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?eM(e,t,n,{onSuccess:()=>eB(0,t,n,r,i),onFailure:()=>{t.queuedPayloads.enqueue(e),function e(t,n,r,i){2===t.transportStatus&&P(()=>{eM(t.queuedPayloads.first(),t,n,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,eB(1,t,n,r,i)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,n,r,i)}})},t.currentBackoffTime)}(t,n,r,i)}}):t.queuedPayloads.enqueue(e)}function eM(e,t,n,{onSuccess:r,onFailure:i}){t.bandwidthMonitor.add(e),n(e,n=>{var o;t.bandwidthMonitor.remove(e),"opaque"!==(o=n).type&&(0===o.status&&!navigator.onLine||408===o.status||429===o.status||o.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},i()):(t.transportStatus=0,r())})}function eB(e,t,n,r,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${r} events size queued for upload: ${eR/1048576}MiB`,source:eD.AGENT,startClocks:ev()}),t.queueFullReported=!0);let o=t.queuedPayloads;for(t.queuedPayloads=e$();o.size()>0;)eP(o.dequeue(),t,n,r,i)}function e$(){let e=[];return{bytesCount:0,enqueue(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=eR}}}let eK=!1;function eF(e,t,n){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(T(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(T(()=>null==n?void 0:n({status:0})))}function eU(e,t,n,r,i,o,a=eI){let s=c(e,t),l=n&&c(e,n);function c(e,{endpoint:t,encoder:n}){return a({encoder:n,request:function(e,t,n){let r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:e$(),queueFullReported:!1},i=(n,r)=>{var i,o,a,s;return i=e,o=t,a=n,s=r,void(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}}()&&a.bytesCount<o?fetch(i.build("fetch-keepalive",a),{method:"POST",body:a.data,keepalive:!0,mode:"cors"}).then(T(e=>null==s?void 0:s({status:e.status,type:e.type}))).catch(T(()=>eF(i,a,s))):eF(i,a,s))};return{send:t=>{eP(t,r,i,e.trackType,n)},sendOnExit:n=>{!function(e,t,n){if(navigator.sendBeacon&&n.bytesCount<t)try{let t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){var r;r=e,eK||(eK=!0,j(r))}eF(e,n)}
4(e,t,n)}}}(t,e.batchBytesLimit,r),flushController:function({messagesLimit:e,bytesLimit:t,durationLimit:n,pageMayExitObservable:r,sessionExpireObservable:i}){let o,a=r.subscribe(e=>d(e.reason)),s=i.subscribe(()=>d("session_expire")),l=new L(()=>()=>{a.unsubscribe(),s.unsubscribe()}),c=0,u=0;function d(e){if(0===u)return;let t=u,n=c;u=0,c=0,p(),l.notify({reason:e,messagesCount:t,bytesCount:n})}function p(){M(o),o=void 0}return{flushObservable:l,get messagesCount(){return u},notifyBeforeAddMessage(e){c+e>=t&&d("bytes_limit"),u+=1,c+=e,void 0===o&&(o=P(()=>{d("duration_limit")},n))},notifyAfterAddMessage(n=0){c+=n,u>=e?d("messages_limit"):c>=t&&d("bytes_limit")},notifyAfterRemoveMessage(e){c-=e,0==(u-=1)&&p()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageMayExitObservable:i,sessionExpireObservable:o}),messageBytesLimit:e.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add(e,t=!0){s.add(e),l&&t&&l.add(n.transformMessage?n.transformMessage(e):e)},upsert:(e,t)=>{s.upsert(e,t),l&&l.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:()=>{s.stop(),l&&l.stop()}}}let eH={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},eq=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eG=["ddog-gov.com"],ez=eO(),eY=e=>{ez.add(()=>eY(e))};function eV(e,t){N(m.debug,e,t),eY({type:eH.LOG,message:e,status:"debug",...t})}function eW(e,t){eY({type:eH.LOG,status:"error",...function(e){if(ec(e)){var t;let n=z(e);return{error:{kind:n.name,stack:eo(((t=n).stack=t.stack.filter(e=>!e.url||eq.some(t=>e.url.startsWith(t))),t))},message:n.message}}return{error:{stack:es},message:`Uncaught ${F(e)}`}}(e),...t})}function eJ(e){eY({type:eH.USAGE,usage:e})}function eZ(e,t,n,r){return T((...i)=>(r&&eJ({feature:r}),e()[t][n](...i)))}function eQ(e,t,n){e.changeObservable.subscribe(()=>{let r=e.getContext();n.add(e=>e[t].setContext(r))})}let eX={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},e0={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"};function e1(e,t){t.silentMultipleInit||v.error(`${e} is already initialized.`)}function e2(e,t,n){let r={...e};for(let[e,{required:i,type:o}]of Object.entries(t))"string"!==o||e4(r[e])||(r[e]=String(r[e])),i&&e4(r[e])&&v.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function e4(e){return null==e||""===e}function e5(e="",{propertiesConfig:t={}}={}){let n={},r=new L,i={getContext:()=>e_(void 0,n),setContext:o=>{!function(e){let t="object"===eS(e);return t||v.error("Unsupported context:",e),t}(o)?i.clearContext():n=H(e2(o,t,e)),r.notify()},setContextProperty:(i,o)=>{n=H(e2({...n,[i]:o},t,e)),r.notify()},removeContextProperty:i=>{delete n[i],e2(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return i}function e8(e,t,n){let r=n.getHandler(),i=Array.isArray(r)?r:[r];return e3[e]>=e3[n.getLevel()]&&i.includes(t)}let e6={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},e3={[e6.ok]:0,[e6.debug]:1,[e6.info]:2,[e6.notice]:4,[e6.warn]:5,[e6.error]:6,[e6.critical]:7,[e6.alert]:8,[e6.emerg]:9};function e7(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}let e9={console:"console",http:"http"},te=Object.keys(e6);class tt{constructor(e,t,n=e9.http,r=e6.debug,i={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=e5("logger"),this.contextManager.setContext(i),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=e6.info,r,i){let o,a=H(t);if(null!=r){let e=el({originalError:r,nonErrorPrefix:"Provided",source:eD.LOGGER,handling:"handled",startClocks:ev()});o=ew({error:e7(e,{includeMessage:!0})},e.context,a)}else o=a;this.handleLogStrategy({message:H(e),context:o,status:n},this,i)}log(e,t,n=e6.info,r){let i;e8(n,e9.http,this)&&(i=ei("log")),this.logImplementation(e,t,n,r,i)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}
4removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function tn(e){return function(t,n,r){let i;e8(e,e9.http,this)&&(i=ei("log")),this.logImplementation(t,n,e,r,i)}}function tr(){return{view:{referrer:document.referrer,url:window.location.href}}}!function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([function(e,t,n){let r=n.value;n.value=function(...e){return(i?T(r):r).apply(this,e)}}],tt.prototype,"logImplementation",null),tt.prototype.ok=tn(e6.ok),tt.prototype.debug=tn(e6.debug),tt.prototype.info=tn(e6.info),tt.prototype.notice=tn(e6.notice),tt.prototype.warn=tn(e6.warn),tt.prototype.error=tn(e6.error),tt.prototype.critical=tn(e6.critical),tt.prototype.alert=tn(e6.alert),tt.prototype.emerg=tn(e6.emerg);let ti=[];function to(e,t,n,r){var i,o;let a=(i=n,o=r,`_dd_c_${i}_${o}`);ti.push(eL(e,window,["storage"],({key:e})=>{a===e&&t.setContext(l())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(a,JSON.stringify(t.getContext()))});let s=ew(l(),t.getContext());function l(){let e=localStorage.getItem(a);return e?JSON.parse(e):{}}ed(s)||t.setContext(s)}function ta(){return e5("global context")}let ts="DISCARDED",tl="SKIPPED";function tc(){return e5("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function tu(){return e5("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function td(e,t,n,{computeHandlingStack:r}={}){let i=e[t];if("function"!=typeof i)if(!(t in e&&t.startsWith("on")))return{stop:K};else i=K;let o=!1,a=function(){let e;if(o)return i.apply(this,arguments);let t=Array.from(arguments);O(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:r?ei("instrumented method"):void 0}]);let a=i.apply(this,t);return e&&O(e,null,[a]),a};return e[t]=a,{stop:()=>{o=!0,e[t]===a&&(e[t]=i)}}}function tp(e){return function(e,t){let n=function(){if(void 0===s)try{let e=new tf("http://test/path");s="http://test/path"===e.href}catch(e){s=!1}return s?tf:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(n){throw Error(`Failed to construct URL: ${String(n)} ${F({url:e,base:t})}`)}if(void 0===t&&!/:/.test(e))throw Error(`Invalid URL: '${e}'`);let r=document,i=r.createElement("a");if(void 0!==t){let e=(r=document.implementation.createHTMLDocument("")).createElement("base");e.href=t,r.head.appendChild(e),r.body.appendChild(i)}return i.href=e,i}(e,location.href).href}let tf=URL;function tm(){return l||(l=new L(e=>{if(!window.fetch)return;let{stop:t}=td(window,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},r){let[i,o]=e,a=o&&o.method;void 0===a&&i instanceof Request&&(a=i.method);let s=void 0!==a?String(a).toUpperCase():"GET",l=i instanceof Request?i.url:tp(String(i)),c={state:"start",init:o,input:i,method:s,startClocks:ev(),url:l,handlingStack:n};r.notify(c),e[0]=c.input,e[1]=c.init,t(e=>(function(e,t,n){function r(t){n.state="resolve",Object.assign(n,t),e.notify(n)}t.then(T(e=>{r({response:e,responseType:e.type,status:e.status,isAborted:!1})}),T(e=>{var t,i;r({status:0,isAborted:(null===(i=null===(t=n.init)||void 0===t?void 0:t.signal)||void 0===i?void 0:i.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))})(r,e,c))})(t,e),{computeHandlingStack:!0});return t})),l}function th(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,th)}let ty=/([\w-]+)\s*=\s*([^;]+)/g;function tg(e,t,n=0,r){let i=new Date;i.setTime(i.getTime()+n);let o=`expires=${i.toUTCString()}`,a=r&&r.crossSite?"none":"strict",s=r&&r.domain?`;domain=${r.domain}`:"",l=r&&r.secure?";secure":"",c=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${o};path=/;samesite=${a}${s}${l}${c}`}function tv(e){var t=document.cookie;for(ty.lastIndex=0;;){let n=ty.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function tb(e){return u||(u=function(e){let t=new Map;for(ty.lastIndex=0;;){let n=ty.exec(e);if(n)t.set(n[1],n[2]);else break}return t}(document.cookie)),u.get(e)}
4let tE="_dd_s",tx=144e5,tS=9e5,t_={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},tw=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tT(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&((null==e?void 0:e.anonymousId)?n.anonymousId=null==e?void 0:e.anonymousId:n.anonymousId=th()),n}function tO(e){return!ed(e)}function tj(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||ey()-Number(t.created)<tx)&&(void 0===t.expire||ey()<Number(t.expire)))}function tN(e){e.expire=String(ey()+tS)}function tC(e){return Object.entries(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function tL(e){let t={};return e&&(-1!==e.indexOf("&")||tw.test(e))&&e.split("&").forEach(e=>{let n=tw.exec(e);if(null!==n){let[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function tk(e){let t=function(e){let t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===d){let e=`dd_site_test_${th()}`,t=window.location.hostname.split("."),n=t.pop();for(;t.length&&!tv(e);)tg(e,"test",1e3,{domain:n=`${t.pop()}.${n}`});tg(e,"",0,{domain:n}),d=n}return d}()),t}(e);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${th()}`,n="test";tg(t,n,6e4,e);let r=tv(t)===n;return tg(t,"",0,e),r}catch(e){return v.error(e),!1}}(t)?void 0:{type:t_.COOKIE,cookieOptions:t}}function tI(e,t,n,r){tg(tE,tC(n),t.trackAnonymousUser?eh:r,e)}function tA(){return tL(tv(tE))}function tD(){try{let e=th(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:t_.LOCAL_STORAGE}:void 0}catch(e){return}}function tR(e){localStorage.setItem(tE,tC(e))}function tP(){return tL(localStorage.getItem(tE))}let tM=[];function tB(e,t,n=0){var r;let i,{isLockEnabled:o,persistSession:a,expireSession:s}=t,l=e=>a({...e,lock:i}),c=()=>{let{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!function(e){var t;let[,n]=e.split("--");return!n||(t=Number(n),ey()-t>1e3)}(e)?e:void 0}};if(p||(p=e),e!==p){tM.push(e);return}if(o&&n>=100){eV("Aborted session operation after max lock retries",{currentStore:c()}),tK(t);return}let u=c();if(o&&(u.lock||(i=th()+"--"+ey(),l(u.session),(u=c()).lock!==i))){t$(e,t,n);return}let d=e.process(u.session);if(o&&(u=c()).lock!==i){t$(e,t,n);return}if(d&&(tj(d)?s(d):(tN(d),o?l(d):a(d))),o&&!(d&&tj(d))){if((u=c()).lock!==i){t$(e,t,n);return}a(u.session),d=u.session}null===(r=e.after)||void 0===r||r.call(e,d||u.session),tK(t)}function t$(e,t,n){P(()=>{tB(e,t,n+1)},10)}function tK(e){p=void 0;let t=tM.shift();t&&tB(t,e)}let tF=["chrome-extension://","moz-extension://"];function tU(e){return tF.some(t=>e.includes(t))}function tH(e,t,n){let r=function(e,t){let n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){let e=tp(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});let i=function(e,t){let{site:n=ef,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===ef)return"pci.browser-intake-datadoghq.com";if(r&&n===ef)return`${r}.${ef}`;if("dd0g-gov.com"===n)return`http-intake.logs.${n}`;let i=n.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}(t,e);return e=>`https://${i}${n}?${e}`}(e,t);return{build:(i,o)=>r(function({clientToken:e,internalAnalyticsSubdomain:t},n,r,i,{retry:o,encoding:a}){let s=["sdk_version:6.13.0",`api:${i}`].concat(r);o&&s.push(`retry_count:${o.count}`,`retry_after:${o.lastFailureStatus}`);let l=["ddsource=browser",`ddtags=${encodeURIComponent(s.join(","))}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.13.0")}`,"dd-evp-origin=browser",`dd-request-id=${th()}`];return a&&l.push(`dd-evp-encoding=${a}`),"rum"===n&&l.push(`batch_time=${ey()}`),t&&l.reverse(),l.join("&")}(e,t,n,i,o)),tags:n,urlPrefix:r(""),trackType:t}}function tq(e,t){var n;let r=200-e.length-1;(t.length>r||(n=t,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&v.warn(`${e} value doesn't meet tag requirements and will be sanitized. ${x} ${b}/getting_started/tagging/#defining-tags`);let i=t.replace(/,/g,"_");return`${e}:${i}`}function tG(e,t){return null==e||"string"==typeof e||(v.error(`${t} must be defined as a string`),!1)}function tz(e,t){return!!(void 0===e||"number"==typeof e&&e>=0&&e<=100)||(v.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let tY={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function tV(e){return{startClocks:ev(),source:eD.REPORT,handling:"unhandled",...e}}function tW(e,t,n,r,i){return n?eo({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}function tJ(e,t,n){if(void 0===e)return[];if(!("all"===e||Array.isArray(e)&&e.every(e=>t.includes(e)))){v.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`);return}return"all"===e?t:function(e){let t=new Set;
4return e.forEach(e=>t.add(e)),Array.from(t)}(e)}function tZ(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){let i=D(n);t+=i,e+=n,r&&r(i)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}function tQ(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||tb("datadog-synthetics-injects-rum"))}function tX(){let e=window._DATADOG_SYNTHETICS_PUBLIC_ID||tb("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}function t0(){let e=window._DATADOG_SYNTHETICS_RESULT_ID||tb("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}let t1=1/0,t2=null,t4=new Set,t5=[];function t8(e,t){var n;return"0"===(n=t)||"1"===n?t:ex(e.sessionSampleRate)?"1":"0"}let t6={},t3={[m.log]:e6.info,[m.debug]:e6.debug,[m.info]:e6.info,[m.warn]:e6.warn,[m.error]:e6.error},t7=new WeakMap;function t9({target:e,parameters:[t,n]}){t7.set(e,{state:"open",method:String(t).toUpperCase(),url:tp(String(n))})}function ne({target:e}){let t=t7.get(e);t&&(t.isAborted=!0)}let nt={XHR:"xhr",FETCH:"fetch"},nn={FETCH:nt.FETCH,XHR:nt.XHR};function nr(e,t){return e.length>t.requestErrorResponseLengthLimit?`${e.substring(0,t.requestErrorResponseLengthLimit)}...`:e}class ni{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}let no={[e6.ok]:m.debug,[e6.debug]:m.debug,[e6.info]:m.info,[e6.notice]:m.info,[e6.warn]:m.warn,[e6.error]:m.error,[e6.critical]:m.error,[e6.alert]:m.error,[e6.emerg]:m.error},na=function(){let e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){let r=e[t]||[],i=[];for(let e of r){let t=e(n);if(t===ts)return ts;t!==tl&&i.push(t)}return ew(...i)}}},ns="logs",nl=function(e){let t=function(e){let t=new L;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===I.GRANTED,observable:t}}(),n=function(e,t,n){let i,o,a=eO(),s=ta();eQ(s,eX.globalContext,a);let l=tc();eQ(l,eX.accountContext,a);let c=tu();eQ(c,eX.userContext,a);let u=t.observable.subscribe(d);function d(){if(!o||!i||!t.isGranted())return;u.unsubscribe();let e=n(i,o);a.drain(e)}return{init(e){var n;if(!e){v.error("Missing configuration");return}if(Array.isArray(n=e.enableExperimentalFeatures)&&function(e){e.forEach(e=>{ep.add(e)})}(n.filter(e=>eu(r,e))),eN()&&(e={...e,clientToken:"empty"}),i=e,P(()=>{var t;t=function(e){let t={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackAnonymousUser,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins)};return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}(e),eY({type:eH.CONFIGURATION,configuration:t})}),o){e1("DD_LOGS",e);return}let a=function(e){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&v.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let t=function(e){var t,n,r,i,o,a,s;if(!e||!e.clientToken){v.error("Client Token is not configured, we will not send any data.");return}if(void 0!==e.allowedTrackingOrigins&&!Array.isArray(e.allowedTrackingOrigins)){v.error("Allowed Tracking Origins must be an array");return}if((!(s=e.site)||"string"!=typeof s||/(datadog|ddog|datad0g|dd0g)/.test(s)||(v.error(`Site should be a valid Datadog site. ${x} ${b}/getting_started/site/.`),0))&&tz(e.sessionSampleRate,"Session")&&tz(e.telemetrySampleRate,"Telemetry")&&tz(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&tz(e.telemetryUsageSampleRate,"Telemetry Usage")&&tG(e.version,"Version")&&tG(e.env,"Env")&&tG(e.service,"Service")&&function(e,t="undefined"!=typeof location?location.origin:"",n){let r=e.allowedTrackingOrigins;if(!r)return function(e,t=Error().stack){return!tU(e)&&tU(t||"")}(t,void 0)&&v.warn("Running the Browser SDK in a Web extension content script is discouraged and will be forbidden in a future major release unless the `allowedTrackingOrigins` option is provided."),!0;let i=function(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){v.error(e)}return!1})}(r,t);return i||v.error("SDK initialized on a non-allowed domain."),i}(e)){if(void 0!==e.trackingConsent&&!eu(I,e.trackingConsent)){v.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:e.beforeSend&&S(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case t_.COOKIE:return tk(e);case t_.LOCAL_STORAGE:return tD();case void 0:{let t=tk(e);return!t&&e.allowFallbackToLocalStorage&&(t=tD()),t}default:v.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=e.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(i=e.telemetryUsageSampleRate)&&void 0!==i?i:5,service:e.service||void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(o=e.trackingConsent)&&void 0!==o?o:I.GRANTED,trackAnonymousUser:null===(a=e.trackA
4nonymousUser)||void 0===a||a,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144,...function(e){var t,n;let r=e.site||ef,i=function(e){let{env:t,service:n,version:r,datacenter:i}=e,o=[];return t&&o.push(tq("env",t)),n&&o.push(tq("service",n)),r&&o.push(tq("version",r)),i&&o.push(tq("datacenter",i)),o}(e),o={logsEndpointBuilder:tH(t=e,"logs",n=i),rumEndpointBuilder:tH(t,"rum",n),profilingEndpointBuilder:tH(t,"profile",n),sessionReplayEndpointBuilder:tH(t,"replay",n)};return{replica:function(e,t){if(!e.replica)return;let n={...e,site:ef,clientToken:e.replica.clientToken},r={logsEndpointBuilder:tH(n,"logs",t),rumEndpointBuilder:tH(n,"rum",t)};return{applicationId:e.replica.applicationId,...r}}(e,i),site:r,...o}}(e)}}}(e),n=tJ(e.forwardConsoleLogs,eC(m),"Forward Console Logs"),r=tJ(e.forwardReports,eC(tY),"Forward Reports");if(t&&n&&r)return e.forwardErrorsToLogs&&!n.includes(m.error)&&n.push(m.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:32768,...t}}(e);a&&(o=a,tm().subscribe(K),t.tryToInit(a.trackingConsent),d())},get initConfiguration(){return i},globalContext:s,accountContext:l,userContext:c,getInternalContext:K,handleLog(t,n,r,i=e(),o=ey()){a.add(e=>e.handleLog(t,n,r,i,o))}}}(tr,t,(r,i)=>{let o=e(i,tr,t);return n={init:e=>{e1("DD_LOGS",e)},initConfiguration:r,...o},o}),i=()=>n,o={},a={version:"6.13.0",onReady(e){e()},logger:new tt((...e)=>n.handleLog(...e)),init:T(e=>n.init(e)),setTrackingConsent:T(e=>{t.update(e),eJ({feature:"set-tracking-consent",tracking_consent:e})}),getGlobalContext:eZ(i,eX.globalContext,e0.getContext),setGlobalContext:eZ(i,eX.globalContext,e0.setContext),setGlobalContextProperty:eZ(i,eX.globalContext,e0.setContextProperty),removeGlobalContextProperty:eZ(i,eX.globalContext,e0.removeContextProperty),clearGlobalContext:eZ(i,eX.globalContext,e0.clearContext),createLogger:T((e,t={})=>(o[e]=new tt((...e)=>n.handleLog(...e),H(e),t.handler,t.level,H(t.context)),o[e])),getLogger:T(e=>o[e]),getInitConfiguration:T(()=>e_(void 0,n.initConfiguration)),getInternalContext:T(e=>n.getInternalContext(e)),setUser:eZ(i,eX.userContext,e0.setContext),getUser:eZ(i,eX.userContext,e0.getContext),setUserProperty:eZ(i,eX.userContext,e0.setContextProperty),removeUserProperty:eZ(i,eX.userContext,e0.removeContextProperty),clearUser:eZ(i,eX.userContext,e0.clearContext),setAccount:eZ(i,eX.accountContext,e0.setContext),getAccount:eZ(i,eX.accountContext,e0.getContext),setAccountProperty:eZ(i,eX.accountContext,e0.setContextProperty),removeAccountProperty:eZ(i,eX.accountContext,e0.removeContextProperty),clearAccount:eZ(i,eX.accountContext,e0.clearContext)};return Object.defineProperty(a,"_setDebug",{get:()=>w,enumerable:!1}),a}(function(e,t,n){let r=new ni,o=na(),a=[];r.subscribe(1,e=>eE("logs",e));let s=e=>{r.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eD.AGENT,status:e6.error}}),eV("Error reported to customer",{"error.message":e.message})},l=new L(t=>{let{stop:n}=eL(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:ek.HIDDEN}):"freeze"===e.type&&t.notify({reason:ek.FROZEN})},{capture:!0}),r=eL(e,window,["beforeunload"],()=>{t.notify({reason:ek.UNLOADING})},void 0).stop;return()=>{n(),r()}}),u=function(e,t,n,r,o){let a=new L,{stop:s}=function(e,t,n,r,i){let o=[];if(eN()){let e=ej(),t=i.subscribe(t=>e.send("internal_telemetry",t));o.push(()=>t.unsubscribe())}else{let a=eU(e,{endpoint:e.rumEndpointBuilder,encoder:r(4)},e.replica&&{endpoint:e.replica.rumEndpointBuilder,encoder:r(5)},t,n,new L);o.push(()=>a.stop());let s=i.subscribe(t=>a.add(t,"datad0g.com"===e.site));o.push(()=>s.unsubscribe())}return{stop:()=>o.forEach(e=>e())}}(t,n,r,o,a),{enabled:l,setContextProvider:c}=function(e,t,n){let r=new Set,o=new Map,a=!eG.includes(t.site)&&ex(t.telemetrySampleRate),s={[eH.LOG]:a,[eH.CONFIGURATION]:a&&ex(t.telemetryConfigurationSampleRate),[eH.USAGE]:a&&ex(t.telemetryUsageSampleRate)},l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return eY=i=>{let a=F(i);if(s[i.type]&&r.size<t.maxTelemetryEventsPerPage&&!r.has(a)){let t=function(e,t,n){let r={type:"telemetry",date:ey(),service:e,version:"6.13.0",source:"browser",_dd:{format_version:2},telemetry:ew(t,{runtime_env:n,connectivity:function(){var e;let t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}(),sdk_setup:"npm"}),experimental_features:Array.from(ep)};for(let[e,t]of o)r[e]=t();return r}(e,i,l);n.notify(t),eE("telemetry",t),r.add(a)}},ez.drain(),i=eW,{setContextProvider:(e,t)=>o.set(e,t),enabled:a}}(e,t,a);return{setContextProvider:c,stop:s,enabled:l}}("browser-logs-sdk",e,s,l,tZ);a.push(u.stop);let d=!e.sessionStoreStrategyType||eN()||tQ()?function(e){let t="1"===t8(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new L}}(e):function(e,t){let n=function(e,t,n,r){let i=new L,o=new L,a=function(e,t,n,r){let i,o=new L,a=new L,s=new L,l=e.type===t_.COOKIE?function(e,t){let n={isLockEnabled:0===(null!=c?c:c=function(e=window){var t;let n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}()),persistSession:n=>tI(t,e,n,tS),retrieveSession:tA,expireSession:n=>tI(t,e,tT(n,e),tx)};if(!tb(tE)){let e=tb("_dd"),t=tb("_dd_r"),r=tb("_dd_l"),i={};e&&(i.id=e),r&&/^[01]$/.test(r)&&(i.logs=r),t&&/^[012]$/.test(t)&&(i.rum=t),ed(i)||(tN(i),n.persistSession(i))}return n}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:tR,retrieveSession:tP,expireSession:e=>{tR(tT(e,t))}},{expireSession:u}=l,d=B(function(){tB({process:e=>tj(e)?tT(e,t):void 0,after:m},l)},1e3);h();let{throttled:p,cancel:f}=function(e,t,n){let r,i,o=true,a=!1;return{throttled:(...t)=>{if(a){r=t;return}e(...t),a=!0,i=P(()=>{o&&r&&e(...r),a=!1,r=void 0},1e3)},cancel:()=>{M(i),a=!1,r=void 0}}}(()=>{tB({process:e=>{if(ed(e))return;let t=m(e);return function(e){if(ed(e))return;
4let t=r(e[n]);e[n]=t,delete e.isExpired,"0"===t||e.id||(e.id=th(),e.created=String(ey()))}(t),t},after:e=>{ed(e)||y()||(i=e,o.notify()),i=e}},l)},0);function m(e){var r;return tj(e)&&(e=tT(e,t)),y()&&((r=e,i.id!==r.id||i[n]!==r[n])?(i=tT(i,t),a.notify()):(s.notify({previousState:i,newState:e}),i=e)),e}function h(){tB({process:e=>{if(ed(e))return tT(e,t)},after:e=>{i=e}},l)}function y(){return(null==i?void 0:i[n])!==void 0}return{expandOrRenewSession:p,expandSession:function(){tB({process:e=>y()?m(e):void 0},l)},getSession:()=>i,renewObservable:o,expireObservable:a,sessionStateUpdateObservable:s,restartSession:h,expire:()=>{f(),u(i),m(tT(i,t))},stop:()=>{$(d)},updateSessionState:function(e){tB({process:t=>({...t,...e}),after:m},l)}}}(e.sessionStoreStrategyType,e,t,n);t5.push(()=>a.stop());let s=function({expireDelay:e,maxEntries:t}){let n=[];t2||(t2=B(()=>void t4.forEach(e=>e()),6e4));let r=()=>{let t=eg()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return t4.add(r),{add:function(e,r){let i={value:e,startTime:r,endTime:t1,remove:()=>{eT(n,i)},close:e=>{i.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(i),i},find:function(e=t1,t={returnInactive:!1}){for(let r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){let t=n[0];t&&t.endTime===t1&&t.close(e)},findAll:function(e=t1,t=0){let r=e+t;return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){t4.delete(r),0===t4.size&&t2&&($(t2),t2=null)}}}({expireDelay:tx});function l(){let e=a.getSession();if(!e){let e=tA(),t=document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith("_dd_s"));return eV("Unexpected session state",{session:e,isSyntheticsTest:!!(tX()&&t0()),createdTimestamp:null==e?void 0:e.created,expireTimestamp:null==e?void 0:e.expire,cookie:{count:t.length,...t}}),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0}}return{id:e.id,trackingType:e[t],isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId}}return t5.push(()=>s.stop()),a.renewObservable.subscribe(()=>{s.add(l(),eg()),i.notify()}),a.expireObservable.subscribe(()=>{o.notify(),s.closeActive(eg())}),a.expandOrRenewSession(),s.add(l(),{relative:0,timeStamp:eb()}.relative),r.observable.subscribe(()=>{r.isGranted()?a.expandOrRenewSession():a.expire()}),function(e,t){let{stop:n}=eL(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});t5.push(n)}(e,()=>{r.isGranted()&&a.expandOrRenewSession()}),function(e,t){let n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=eL(e,document,["visibilitychange"],n,void 0);t5.push(r);let i=B(n,6e4);t5.push(()=>{$(i)})}(e,()=>a.expandSession()),function(e,t){let{stop:n}=eL(e,window,["resume"],t,{capture:!0});t5.push(n)}(e,()=>a.restartSession()),{findSession:(e,t)=>s.find(e,t),renewObservable:i,expireObservable:o,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}(e,"logs",t=>t8(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{let r=n.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:n.expireObservable}}(e,n);u.setContextProvider("session.id",()=>{var e;return null===(e=d.findTrackedSession())||void 0===e?void 0:e.id}),function(e,t,n){e.register(0,({startTime:e})=>{let r=n.findTrackedSession(e);return n.findTrackedSession(e,{returnInactive:!0})?{service:t.service,session_id:r?r.id:void 0,session:r?{id:r.id}:void 0}:ts})}(o,e,d);let p=function(e,t,n){let r=tc();return t.storeContextsAcrossPages&&to(t,r,n,4),e.register(0,()=>{let e=r.getContext();return ed(e)||!e.id?tl:{account:e}}),r}(o,e,ns),g=function(e,t,n,r){let i=tu();return t.storeContextsAcrossPages&&to(t,i,r,1),e.register(0,({eventType:e,startTime:r})=>{let o=i.getContext(),a=n.findTrackedSession(r);return(a&&a.anonymousId&&!o.anonymous_id&&t.trackAnonymousUser&&(o.anonymous_id=a.anonymousId),ed(o))?tl:{type:e,usr:o}}),i}(o,e,d,ns),v=function(e,t,n,r){let i=ta();return t.storeContextsAcrossPages&&to(t,i,n,2),e.register(0,()=>{let e=i.getContext();return r?{context:e}:e}),i}(o,e,ns,!1),{stop:b,getRUMInternalContext:E}=function(e){let t=window,n=!1;function r(e){let r=tQ(),i=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,r?t.DD_RUM_SYNTHETICS:t.DD_RUM);if(i)return i;r&&!n&&(n=!0,eV("Logs sent before RUM is injected by the synthetics worker",{testId:tX(),resultId:t0()}))}return e.register(0,({startTime:e})=>{let t=r(e);return t||tl}),{getRUMInternalContext:r,stop:()=>{n=!1}}}(o);u.setContextProvider("application.id",()=>{var e;return null===(e=E())||void 0===e?void 0:e.application_id}),u.setContextProvider("view.id",()=>{var e,t;
4return null===(t=null===(e=E())||void 0===e?void 0:e.view)||void 0===t?void 0:t.id}),u.setContextProvider("action.id",()=>{var e,t;return null===(t=null===(e=E())||void 0===e?void 0:e.user_action)||void 0===t?void 0:t.id}),function(e,t){var n;if(e.forwardErrorsToLogs)(f||(n=e,f=new L(e=>{let{stop:t}=td(XMLHttpRequest.prototype,"open",t9),{stop:r}=td(XMLHttpRequest.prototype,"send",t=>{(function({target:e,handlingStack:t},n,r){let i=t7.get(e);if(!i)return;i.state="start",i.startClocks=ev(),i.isAborted=!1,i.xhr=e,i.handlingStack=t;let o=!1,{stop:a}=td(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&s()}),s=()=>{var t;l(),a(),o||(o=!0,i.state="complete",t=i.startClocks.timeStamp,i.duration=ey()-t,i.status=e.status,r.notify({...i}))},{stop:l}=eL(n,e,["loadend"],s,void 0);r.notify(i)})(t,n,e)},{computeHandlingStack:!0}),{stop:i}=td(XMLHttpRequest.prototype,"abort",ne);return()=>{t(),r(),i()}})),f).subscribe(e=>{"complete"===e.state&&r(nn.XHR,e)}),tm().subscribe(e=>{"resolve"===e.state&&r(nn.FETCH,e)});function r(n,r){var i,o,a,s,l,c;if(i=r.url,!em.every(e=>i.includes(e))&&(0===(o=r).status&&"opaque"!==o.responseType||r.status>=500)){"xhr"in r?(a=r.xhr,s=e,u("string"==typeof a.response?nr(a.response,s):a.response)):r.response?function(e,t,n){var r,i,o;let a=function(e){try{return e.clone()}catch(e){return}}(e);a&&a.body?window.TextDecoder?(r=a.body,i=t.requestErrorResponseLengthLimit,o=(e,t)=>{e?n(`Unable to retrieve response: ${e}`):n(t)},function(e,t,n){let r=e.getReader(),i=[],o=0;function a(){let e,a;if(r.cancel().catch(K),n.collectStreamBody){let t;if(1===i.length)t=i[0];else{t=new Uint8Array(o);let e=0;i.forEach(n=>{t.set(n,e),e+=n.length})}e=t.slice(0,n.bytesLimit),a=t.length>n.bytesLimit}t(void 0,e,a)}(function e(){r.read().then(T(t=>{if(t.done){a();return}n.collectStreamBody&&i.push(t.value),(o+=t.value.length)>n.bytesLimit?a():e()}),T(e=>t(e)))})()}(r,(e,t,n)=>{if(e)o(e);else{let e=new TextDecoder().decode(t);n&&(e+="..."),o(void 0,e)}},{bytesLimit:i,collectStreamBody:!0})):a.text().then(T(e=>n(nr(e,t))),T(e=>n(`Unable to retrieve response: ${e}`))):n()}(r.response,e,u):r.error&&(l=r.error,c=e,u(nr(eo(z(l)),c)))}function u(e){var i;let o={isAborted:r.isAborted,handlingStack:r.handlingStack};t.notify(0,{rawLogsEvent:{message:`${(i=n,nn.XHR===i?"XHR":"Fetch")} error ${r.method} ${r.url}`,date:r.startClocks.timeStamp,error:{stack:e||"Failed to load",handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:e6.error,origin:eD.NETWORK},domainContext:o})}}}(e,r),function(e,t){if(!e.forwardErrorsToLogs)return;let n=new L,{stop:r}=function(e){var t,n;let r=(t,n)=>{let r=el({stackTrace:n,originalError:t,startClocks:ev(),nonErrorPrefix:"Uncaught",source:eD.SOURCE,handling:"unhandled"});e.notify(r)},{stop:i}=(t=r,td(window,"onerror",({parameters:[e,n,r,i,o]})=>{let a;ec(o)||(a=function(e,t,n,r){var i;let o,a;if(void 0===t)return;let{name:s,message:l}=(i=e,"[object String]"===({}).toString.call(i)&&([,o,a]=en.exec(i)),{name:o,message:a});return{name:s,message:l,stack:[{url:t,column:r,line:n}]}}(e,n,r,i)),t(null!=o?o:e,a)})),{stop:o}=(n=r,td(window,"onunhandledrejection",({parameters:[e]})=>{n(e.reason||"Empty reason")}));return{stop:()=>{i(),o()}}}(n);n.subscribe(e=>{t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:e7(e),origin:eD.SOURCE,status:e6.error},messageContext:e.context})})}(e,r),function(e,t){k(...e.forwardConsoleLogs.map(e=>{var t;return t6[e]||(t6[e]=(t=e,new L(e=>{let n=h[t];return h[t]=(...r)=>{n.apply(console,r);let i=ei("console error");O(()=>{e.notify(function(e,t,n){let r=e.map(e=>{var t;return"string"==typeof(t=e)?H(t):ec(t)?ea(z(t)):F(H(t),void 0,2)}).join(" ");if(t===m.error){let i=el({originalError:e.find(ec),handlingStack:n,startClocks:ev(),source:eD.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return i.message=r,{api:t,message:r,handlingStack:n,error:i}}return{api:t,message:r,error:void 0,handlingStack:n}}(r,t,i))})},()=>{h[t]=n}}))),t6[e]})).subscribe(e=>{var n;let r={rawLogsEvent:{date:ey(),message:e.message,origin:eD.CONSOLE,error:e.error&&e7(e.error),status:t3[e.api]},messageContext:null===(n=e.error)||void 0===n?void 0:n.context,domainContext:{handlingStack:e.handlingStack}};t.notify(0,r)})}(e,r),function(e,t){(function(e,t){var n,r;let i=[];t.includes(tY.cspViolation)&&i.push((n=e,new L(e=>{let{stop:t}=eL(n,document,["securitypolicyviolation"],t=>{e.notify(function(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return tV({type:e.effectiveDirective,message:`${tY.cspViolation}: ${t}
4`,originalError:e,csp:{disposition:e.disposition},stack:tW(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${function(e,t,n=""){let r=e.charCodeAt(99),i=r>=55296&&r<=56319?101:100;return e.length<=i?e:`${e.slice(0,i)}${n}`}(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(t))},void 0);return t})));let o=t.filter(e=>e!==tY.cspViolation);return o.length&&i.push((r=o,new L(e=>{if(!window.ReportingObserver)return;let t=T((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return tV({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:tW(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),n=new window.ReportingObserver(t,{types:r,buffered:!0});return n.observe(),()=>{n.disconnect()}}))),k(...i)})(e,e.forwardReports).subscribe(e=>{let n,r=e.message,i="deprecation"===e.originalError.type?e6.warn:e6.error;if(i===e6.error)n=e7(e);else if(e.stack){var o,a;r+=` Found in ${o=e.stack,null===(a=/@ (.+)/.exec(o))||void 0===a?void 0:a[1]}`}t.notify(0,{rawLogsEvent:{date:ey(),message:r,origin:eD.REPORT,error:n,status:i}})})}(e,r);let{handleLog:x}={handleLog:function(e,t,n,i,o){let a=ew(t.getContext(),e.context);if(e8(e.status,e9.console,t)&&function({status:e,message:t},n){y[no[e]].call(h,t,n)}(e,a),e8(e.status,e9.http,t)){let t={rawLogsEvent:{date:o||ey(),message:e.message,status:e.status,origin:eD.LOGGER},messageContext:a,savedCommonContext:i};n&&(t.domainContext={handlingStack:n}),r.notify(0,t)}}};let S=te.concat(["custom"]),_={};if(S.forEach(t=>{var n;let r,i;_[t]=(n=e.eventRateLimiterThreshold,r=0,i=!1,{isLimitReached(){if(0===r&&P(()=>{r=0},6e4),(r+=1)<=n||i)return i=!1,!1;if(r===n+1){i=!0;try{s({message:`Reached max number of ${t}s by minute: ${n}`,source:eD.AGENT,startClocks:ev()})}finally{i=!1}}return!0}})}),r.subscribe(0,({rawLogsEvent:n,messageContext:i,savedCommonContext:a,domainContext:s})=>{var l,c;let u=n.date-eb(),d=a||t(),p=o.triggerHook(0,{startTime:u});if(p===ts)return;let f=ew({view:d.view},p,n,i);(null===(l=e.beforeSend)||void 0===l?void 0:l.call(e,f,s))===!1||f.origin!==eD.AGENT&&(null!==(c=_[f.status])&&void 0!==c?c:_.custom).isLimitReached()||r.notify(1,f)}),eN())!function(e){let t=ej();e.subscribe(1,e=>{t.send("log",e)})}(r);else{let{stop:t}=function(e,t,n,r,i){let o=eU(e,{endpoint:e.logsEndpointBuilder,encoder:tZ()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:tZ()},n,r,i.expireObservable);return t.subscribe(1,e=>{o.add(e)}),o}(e,r,s,l,d);a.push(()=>t())}return{handleLog:x,getInternalContext:e=>{let t=d.findTrackedSession(e);if(t)return{session_id:t.id}},accountContext:p,globalContext:v,userContext:g,stop:()=>{a.forEach(e=>e()),b()}}});!function(e,t,n){let r=e[t];r&&!r.q&&r.version&&v.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>S(e,"onReady callback threw an error:")())}(C(),"DD_LOGS",nl)},2063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DOCUMENT=void 0;var r=n(7475);t.EMPTY_DOCUMENT={nodeType:r.BLOCKS.DOCUMENT,data:{},content:[{nodeType:r.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}},2168:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryLinkBlock","definitions":{"EntryLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-entry-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},2210:function(e,t,n){"use strict";var r,i=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};
4Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0;var o=n(7475),a=n(8141),s=n(7793);t.TOP_LEVEL_BLOCKS=[o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE,o.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[o.BLOCKS.TABLE,o.BLOCKS.TABLE_ROW,o.BLOCKS.TABLE_CELL,o.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[o.BLOCKS.HR,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,o.BLOCKS.EMBEDDED_RESOURCE],(r={})[o.BLOCKS.OL_LIST]=[o.BLOCKS.LIST_ITEM],r[o.BLOCKS.UL_LIST]=[o.BLOCKS.LIST_ITEM],r[o.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,r[o.BLOCKS.QUOTE]=[o.BLOCKS.PARAGRAPH],r[o.BLOCKS.TABLE]=[o.BLOCKS.TABLE_ROW],r[o.BLOCKS.TABLE_ROW]=[o.BLOCKS.TABLE_CELL,o.BLOCKS.TABLE_HEADER_CELL],r[o.BLOCKS.TABLE_CELL]=[o.BLOCKS.PARAGRAPH,o.BLOCKS.UL_LIST,o.BLOCKS.OL_LIST],r[o.BLOCKS.TABLE_HEADER_CELL]=[o.BLOCKS.PARAGRAPH],t.CONTAINERS=r,t.HEADINGS=[o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=i([o.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[o.BLOCKS.DOCUMENT,o.BLOCKS.PARAGRAPH,o.BLOCKS.HEADING_1,o.BLOCKS.HEADING_2,o.BLOCKS.HEADING_3,o.BLOCKS.HEADING_4,o.BLOCKS.HEADING_5,o.BLOCKS.HEADING_6,o.BLOCKS.OL_LIST,o.BLOCKS.UL_LIST,o.BLOCKS.LIST_ITEM,o.BLOCKS.HR,o.BLOCKS.QUOTE,o.BLOCKS.EMBEDDED_ENTRY,o.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[s.MARKS.BOLD,s.MARKS.CODE,s.MARKS.ITALIC,s.MARKS.UNDERLINE]},2216:(e,t,n)=>{"use strict";n.d(t,{FE:()=>E,FU:()=>b,HD:()=>_,IZ:()=>j,Jb:()=>g,KB:()=>S,OQ:()=>f,Oq:()=>A,R:()=>C,R9:()=>u,Rk:()=>w,TR:()=>p,UA:()=>h,WD:()=>v,Zp:()=>O,_D:()=>l,aD:()=>m,bZ:()=>k,ed:()=>d,g4:()=>L,gV:()=>s,ic:()=>I,mo:()=>x,py:()=>y,qZ:()=>r,sx:()=>i,vg:()=>a,xC:()=>N,xX:()=>c,yA:()=>o,yd:()=>T});let r=e=>{window.gdmEvents&&window.gdmEvents.push(e)},i=e=>{let{action:t,category:n,label:r,value:i}=e;window.gtag&&window.gtag("event",t,{event_category:n,event_label:r,value:i})},o=()=>{i({action:"demo_request",category:"engagement",label:"header_cta"})},a=()=>{i({action:"view_pricing",category:"engagement"})},s=e=>{i({action:"feature_interest",category:"engagement",label:e})},l=e=>{i({action:"form_submit",category:"conversion",label:e})},c=(e,t)=>{i({action:"roi_calculated",category:"engagement",label:t,value:Math.round(e)})},u=(e,t)=>{i({action:"roi_email_request",category:"conversion",label:t,value:Math.round(e)})},d=(e,t)=>{i({action:"roi_demo_request",category:"conversion",label:t,value:Math.round(e)})},p=()=>{window.gtag&&window.gtag("event","conversion",{send_to:"AW-16645204951/Z99ZCLD-3Y4bENfXhoE-"})},f=()=>{window.uetq=window.uetq||[],window.uetq.push("event","book_demo",{event_category:"conversion",event_label:"book_demo"})},m=(e,t)=>{i({action:"scroll_depth",category:"engagement",label:t,value:e})},h=(e,t)=>{i({action:"cta_click",category:"engagement",label:"".concat(e,"|").concat(t)})},y=(e,t)=>{i({action:"video_play",category:"engagement",label:e||t})},g=(e,t)=>{i({action:"time_on_page",category:"engagement",label:t,value:e})},v=e=>{i({action:"exit_intent",category:"engagement",label:e})},b=(e,t)=>{i({action:"g2_landing_view",category:"landing_page",label:t||e||"direct"})},E=e=>{i({action:"g2_vertical_interest",category:"engagement",label:e})},x=e=>{i({action:"g2_product_interest",category:"engagement",label:e})},S=(e,t)=>{i({action:"smartsystem_landing_view",category:"landing_page",label:t||e||"direct"})},_=e=>{i({action:"smartsystem_demo_click",category:"conversion",label:e}),p(),f()},w=(e,t)=>{i({action:"aleran_landing_view",category:"landing_page",label:t||e||"direct"})},T=e=>{i({action:"aleran_demo_click",category:"conversion",label:e}),p(),f()},O=(e,t)=>{i({action:"bushel44_landing_view",category:"landing_page",label:t||e||"direct"})},j=e=>{i({action:"bushel44_demo_click",category:"conversion",label:e}),p(),f()},N=()=>{i({action:"pricing_cards_viewed",category:"engagement",label:"pricing_page"})},C=(e,t)=>{i({action:"review_star_clicked",category:"engagement",label:t,value:e})},L=e=>{i({action:"review_rating_submitted",category:"conversion",value:e})},k=e=>{i({action:"review_g2_redirect",category:"conversion",value:e})},I=e=>{i({action:"review_feedback_shown",category:"engagement",value:e})},A=(e,t)=>
4{i({action:"review_feedback_submitted",category:"conversion",label:t?"with_email":"no_email",value:e})}},2469:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Hyperlink","definitions":{"Hyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["hyperlink"]},"data":{"type":"object","properties":{"uri":{"type":"string"}},"additionalProperties":false,"required":["uri"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},2628:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableCell","definitions":{"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},2691:(e,t,n)=>{"use strict";n.d(t,{default:()=>v});var r=n(1412),i=n(620),o=n(5217),a=n(1608),s=n(1406),l=n(2216),c=n(5580),u=n(6168),d=n(9663),p=n(1460),f=n(9466);let m={"sales-app":"Sales App","sales-app-portal":"Sales App + Portal","full-platform":"Full Platform",onboarding:"Onboarding"},h=["Sales App","Sales App + Portal","Full Platform","Onboarding","Not Sure"],y=o.Ik({name:o.Yj().required("Full name is required"),email:o.Yj().email("Invalid email address").required("Email is required"),companyName:o.Yj().required("Company name is required"),whatAreYouInterestedIn:o.Yj().required("Please select what you are interested in"),anythingElseWeShouldKnow:o.Yj()}),g="block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6";function v(e){let{initialInterest:t}=e,n=(0,s.useSearchParams)(),[o,v]=(0,a.useState)(!1),{executeRecaptcha:b}=(0,d.lw)(),E=m[n.get("interest")||""]||"",x={name:"",email:"",companyName:"",whatAreYouInterestedIn:t||E,anythingElseWeShouldKnow:""},S=async(e,t)=>{let{setSubmitting:n}=t;try{(0,l._D)("get_quote");let t=await b("get_quote");if(!t)throw Error("Recaptcha token is required");let n={"g-recaptcha-response":t,recaptcha:t,invisibleRecaptcha:"true",name:e.name,email:e.email,companyName:e.companyName,whatAreYouInterestedIn:e.whatAreYouInterestedIn,anythingElseWeShouldKnow:e.anythingElseWeShouldKnow||void 0,...(0,p.Yx)()},r=(0,u.Y)(c.A.GET_QUOTE),i=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(200===i.status)(0,f.p)("get_quote"),v(!0),(0,l.TR)(),(0,l.OQ)(),(0,l.qZ)("book-a-demo");else throw Error("Failed to submit quote request")}catch(e){alert("There was an error submitting your request. Please try again.")}finally{n(!1)}};return o?(0,r.jsxs)("div",{className:"rounded-lg bg-green-900/20 p-8 text-center",children:[(0,r.jsx)("svg",{className:"mx-auto h-12 w-12 text-green-400",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,r.jsx)("h3",{className:"mt-4 text-lg font-semibold text-white",children:"Quote Request Received"}),(0,r.jsx)("p",{className:"mt-2 text-gray-300",children:"Thanks! We'll review your details and get back to you within one business day. If you'd prefer to talk sooner, give us a call."}),(0,r.jsx)("a",{href:"tel:+1-888-893-7574",className:"mt-4 inline-block font-semibold text-primary hover:text-primary/80",children:"+1-888-893-7574"})]}):(0,r.jsx)(i.l1,{initialValues:x,validationSchema:y,onSubmit:S,children:e=>{let{isSubmitting:t,values:n}=e;return(0,r.jsxs)(i.lV,{className:"space-y-6","data-hj-allow":!0,children:[(0,r.jsx)("input",{type:"hidden",name:"form_name",value:"get_quote"}),(0,r.jsx)(f.A,{formName:"get_quote",values:n,submitted:o,initialValues:x}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"name",className:"block text-sm font-semibold leading-6 text-white",children:["Full Name",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"text",name:"name",id:"name",autoComplete:"name",className:g}),(0,r.jsx)(i.Kw,{name:"name",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"email",className:"block text-sm font-semibold leading-6 text-white",children:["Email",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"email",name:"email",id:"email",autoComplete:"email",className:g}),(0,r.jsx)(i.Kw,{name:"email",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"companyName",className:"block text-sm font-semibold leading-6 text-white",children:["Company Name",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"text",name:"companyName",id:"companyName",autoComplete:"organization",className:g}),(0,r.jsx)(i.Kw,{name:"companyName",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"whatAreYouInterestedIn",className:"block text-sm font-semibold leading-6 text-white",children:["What are you interested in?",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsxs)(i.D0,{as:"select",name:"whatAreYouInterestedIn",id:"whatAreYouInterestedIn",className:g,children:[(0,r.jsx)("option",{value:"",children:"Select..."}),h.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]}),(0,r.jsx)(i.Kw,{name:"whatAreYouInterestedIn",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"anythingElseWeShouldKnow",className:"block text-sm font-semibold leading-6 text-white",children:"Anything else we should know?"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{as:"textarea",
4name:"anythingElseWeShouldKnow",id:"anythingElseWeShouldKnow",rows:3,className:g,placeholder:"Tell us about your team size, industry, or any specific needs..."}),(0,r.jsx)(i.Kw,{name:"anythingElseWeShouldKnow",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),(0,r.jsx)("div",{className:"mt-8",children:(0,r.jsx)("button",{type:"submit",disabled:t,className:"block w-full rounded-md bg-primary px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-sm hover:bg-primary/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:opacity-50 disabled:cursor-not-allowed",children:t?"Submitting...":"Get My Quote"})})]})}})}},2977:(e,t,n)=>{"use strict";n.d(t,{a:()=>I});var r=n(1608),i=n(8441),o=n(5796),a=n.n(o),s=!1;if("undefined"!=typeof window){var l={get passive(){s=!0;return}};window.addEventListener("testPassive",null,l),window.removeEventListener("testPassive",null,l)}var c="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),u=[],d=!1,p=-1,f=void 0,m=void 0,h=function(e){return u.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},y=function(e){var t=e||window.event;return!!h(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},g=function(e){if(void 0===m){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(m=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===f&&(f=document.body.style.overflow,document.body.style.overflow="hidden")},v=function(){void 0!==m&&(document.body.style.paddingRight=m,m=void 0),void 0!==f&&(document.body.style.overflow=f,f=void 0)},b=function(e,t){var n=e.targetTouches[0].clientY-p;return!h(e.target)&&(t&&0===t.scrollTop&&n>0?y(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?y(e):(e.stopPropagation(),!0))},E=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}u.some(function(t){return t.targetElement===e})||(u=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(u),[{targetElement:e,options:t||{}}]),c?(e.ontouchstart=function(e){1===e.targetTouches.length&&(p=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&b(t,e)},d||(document.addEventListener("touchmove",y,s?{passive:!1}:void 0),d=!0)):g(t))},x=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}u=u.filter(function(t){return t.targetElement!==e}),c?(e.ontouchstart=null,e.ontouchmove=null,d&&0===u.length&&(document.removeEventListener("touchmove",y,s?{passive:!1}:void 0),d=!1)):u.length||v()};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n(5538);var _=function(e){var t=e.classes,n=e.classNames,i=e.styles,o=e.id,s=e.closeIcon,l=e.onClick;return r.createElement("button",{id:o,className:a()(t.closeButton,null==n?void 0:n.closeButton),style:null==i?void 0:i.closeButton,onClick:l,"data-testid":"close-button"},s||r.createElement("svg",{className:null==n?void 0:n.closeIcon,style:null==i?void 0:i.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},r.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},w="undefined"!=typeof window,T=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function O(e){for(var t=document.activeElement,n=e.querySelectorAll(T.join(",")),r=[],i=0;i<n.length;i++){var o=n[i];(t===o||!o.disabled&&function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?e.getAttribute("contentEditable")?0:e.tabIndex:t}(o)>
4-1&&null!==o.offsetParent&&"hidden"!==getComputedStyle(o).visibility&&function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var t=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return n===e||void 0===n&&t[0]===e}(o))&&r.push(o)}return r}var j=function(e){var t=e.container,n=e.initialFocusRef,i=(0,r.useRef)();return(0,r.useEffect)(function(){var e=function(e){(null==t?void 0:t.current)&&function(e,t){if(e&&"Tab"===e.key){if(t&&t.contains&&t.contains(e.target)){var n=O(t),r=n[0],i=n[n.length-1];e.shiftKey&&e.target===r?(i.focus(),e.preventDefault()):e.shiftKey||e.target!==i||(r.focus(),e.preventDefault())}}}(e,t.current)};if(w&&document.addEventListener("keydown",e),w&&(null==t?void 0:t.current)){var r=function(){-1!==T.findIndex(function(e){var t;return null==(t=document.activeElement)?void 0:t.matches(e)})&&(i.current=document.activeElement)};if(n)r(),requestAnimationFrame(function(){var e;null==(e=n.current)||e.focus()});else{var o=O(t.current);o[0]&&(r(),o[0].focus())}}return function(){if(w){var t;document.removeEventListener("keydown",e),null==(t=i.current)||t.focus()}}},[t,n]),null},N=[],C={add:function(e){N.push(e)},remove:function(e){N=N.filter(function(t){return t!==e})},isTopModal:function(e){return!!N.length&&N[N.length-1]===e}},L=function(e,t,n,i,o){var a=(0,r.useRef)(null);(0,r.useEffect)(function(){return t&&e.current&&i&&(a.current=e.current,E(e.current,{reserveScrollBarGap:o})),function(){a.current&&(x(a.current),a.current=null)}},[t,n,e,i,o])},k={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},I=r.forwardRef(function(e,t){var n,o,s,l,c=e.open,u=e.center,d=e.blockScroll,p=e.closeOnEsc,f=void 0===p||p,m=e.closeOnOverlayClick,h=void 0===m||m,y=e.container,g=e.showCloseIcon,v=e.closeIconId,b=e.closeIcon,E=e.focusTrapped,x=e.initialFocusRef,T=e.animationDuration,O=void 0===T?300:T,N=e.classNames,I=e.styles,A=e.role,D=e.ariaDescribedby,R=e.ariaLabelledby,P=e.containerId,M=e.modalId,B=e.onClose,$=e.onEscKeyDown,K=e.onOverlayClick,F=e.onAnimationEnd,U=e.children,H=e.reserveScrollBarGap,q=function(e,t={isStateful:!0}){let n=function(e=null){let[t,n]=r.useState(e),{current:i}=r.useRef({current:t});return Object.defineProperty(i,"current",{get:()=>t,set:e=>{Object.is(t,e)||(t=e,n(e))}}),i}(null),i=(0,r.useRef)(null),o=t.isStateful?n:i;return r.useEffect(()=>{e&&("function"==typeof e?e(o.current):e.current=o.current)}),o}(t),G=(0,r.useRef)(null),z=(0,r.useRef)(null),Y=(0,r.useRef)(null);null===Y.current&&w&&(Y.current=document.createElement("div"));var V=(0,r.useState)(!1),W=V[0],J=V[1];(0,r.useEffect)(function(){return c&&C.add(G),function(){C.remove(G)}},[c,G]),L(G,c,W,void 0===d||d,H);var Z=function(){!Y.current||y||document.body.contains(Y.current)||document.body.appendChild(Y.current),document.addEventListener("keydown",X)},Q=function(){Y.current&&!y&&document.body.contains(Y.current)&&document.body.removeChild(Y.current),document.removeEventListener("keydown",X)},X=function(e){27===e.keyCode&&C.isTopModal(G)&&(null==$||$(e),f&&B())};(0,r.useEffect)(function(){return function(){W&&Q()}},[W]),(0,r.useEffect)(function(){c&&!W&&(J(!0),Z())},[c]);var ee=function(){z.current=!1},et=y||Y.current,en=c?null!=(n=null==N?void 0:N.overlayAnimationIn)?n:k.overlayAnimationIn:null!=(o=null==N?void 0:N.overlayAnimationOut)?o:k.overlayAnimationOut,er=c?null!=(s=null==N?void 0:N.modalAnimationIn)?s:k.modalAnimationIn:null!=(l=null==N?void 0:N.modalAnimationOut)?l:k.modalAnimationOut;return W&&et?i.createPortal(r.createElement("div",{className:a()(k.root,null==N?void 0:N.root),style:null==I?void 0:I.root,"data-testid":"root"},r.createElement("div",{className:a()(k.overlay,null==N?void 0:N.overlay),"data-testid":"overlay","aria-hidden":!0,style:S({animation:en+" "+O+"ms"},null==I?void 0:I.overlay)}),r.createElement("div",{ref:G,id:P,className:a()(k.modalContainer,u&&k.modalContainerCenter,null==N?void 0:N.modalContainer),style:null==I?void 0:I.modalContainer,"data-testid":"modal-container",onClick:function(e){if(null===z.current&&(z.current=!0),!z.current){z.current=null;return}null==K||K(e),h&&B(),z.current=null}},r.createElement("div",{ref:q,className:a()(k.modal,null==N?void 0:N.modal),style:S({animation:er+" "+O+"ms"},null==I?void 0:I.modal),onMouseDown:ee,onMouseUp:ee,onClick:ee,onAnimationEnd:function(){c||J(!1),null==F||F()},id:M,role:void 0===A?"dialog":A,"aria-modal":"true","aria-labelledby":R,"aria-describedby":D,"data-testid":"modal",tabIndex:-1},(void 0===E||E)&&r.createElement(j,{container:q,initialFocusRef:void 0===x?void 0:x}),U,(void 0===g||g)&&r.createElement(_,{classes:k,classNames:N,styles:I,closeIcon:b,onClick:B,id:v})))),et):null})},3010:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Hr","definitions":{"Hr":{"type":"object","properties":{"nodeType":{"type":"string","enum":["hr"]},"data":{"maxItems":0,"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')}
4,3148:(e,t,n)=>{"use strict";e.exports=n(5e3)},3167:()=>{},3230:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading6","definitions":{"Heading6":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-6"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},3238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInline=function(e){return o(i.INLINES,e.nodeType)},t.isBlock=function(e){return o(r.BLOCKS,e.nodeType)},t.isText=function(e){return"text"===e.nodeType};var r=n(7475),i=n(8141);function o(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}},3252:(e,t,n)=>{"use strict";n.d(t,{i:()=>r.i});var r=n(5399)},3274:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4477,23)),Promise.resolve().then(n.t.bind(n,1698,23))},3316:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/AssetHyperlink","definitions":{"AssetHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["asset-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Asset\\">"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Asset\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Asset"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},3335:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};
4Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaWithNodeType=t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0;var s=n(7475);Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}});var l=n(8141);Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return l.INLINES}});var c=n(7793);Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return c.MARKS}}),o(n(2210),t),o(n(5234),t),o(n(4354),t);var u=n(2063);Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return u.EMPTY_DOCUMENT}}),t.helpers=a(n(3238));var d=n(9152);Object.defineProperty(t,"getSchemaWithNodeType",{enumerable:!0,get:function(){return d.getSchemaWithNodeType}})},3503:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ListItem","definitions":{"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},3545:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var r=n(1608),i=n(1406),o=n(2216);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{trackScroll:t=!0,trackTime:n=!0,trackExit:a=!0,scrollThresholds:s=[25,50,75,90],timeThresholds:l=[30,60,120,300]}=e,c=(0,i.usePathname)(),u=(0,r.useRef)(new Set),d=(0,r.useRef)(new Set),p=(0,r.useRef)(Date.now()),f=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{u.current=new Set,d.current=new Set,p.current=Date.now(),f.current=!1},[c]),(0,r.useEffect)(()=>{if(!t)return;let e=()=>{let e=document.documentElement.scrollHeight-window.innerHeight;if(e<=0)return;let t=Math.round(window.scrollY/e*100);for(let e of s)t>=e&&!u.current.has(e)&&(u.current.add(e),(0,o.aD)(e,c))};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[c,t,s]),(0,r.useEffect)(()=>
4{if(!n)return;let e=setInterval(()=>{let e=Math.floor((Date.now()-p.current)/1e3);for(let t of l)e>=t&&!d.current.has(t)&&(d.current.add(t),(0,o.Jb)(t,c))},5e3);return()=>clearInterval(e)},[c,n,l]),(0,r.useEffect)(()=>{if(!a)return;let e=e=>{e.clientY<=0&&!f.current&&(f.current=!0,(0,o.WD)(c))};return document.addEventListener("mouseleave",e),()=>document.removeEventListener("mouseleave",e)},[c,a]),{trackCustomScrollDepth:(0,r.useCallback)(e=>{(0,o.aD)(e,c)},[c])}}},3556:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/UnorderedList","definitions":{"UnorderedList":{"type":"object","properties":{"nodeType":{"type":"string","enum":["unordered-list"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItem"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},3653:(e,t,n)=>{"use strict";n.d(t,{default:()=>a});var r=n(1412),i=n(1608),o=n(2216);function a(e){let{src:t,poster:n,title:a,className:s=""}=e,l=(0,i.useRef)(null),c=(0,i.useRef)(!1),[u,d]=(0,i.useState)(!1);return(0,r.jsxs)("div",{className:"relative cursor-pointer ".concat(s),style:{aspectRatio:"41/59"},onClick:()=>{let e=l.current;e&&(e.paused?(e.play(),d(!0),c.current||(c.current=!0,(0,o.py)(a,t))):(e.pause(),d(!1)))},children:[(0,r.jsx)("video",{ref:l,muted:!0,playsInline:!0,preload:"metadata",poster:n,controls:u,className:"w-full h-full object-contain rounded-lg bg-gray-950",onEnded:()=>d(!1),onPause:()=>d(!1),onPlay:()=>d(!0),children:(0,r.jsx)("source",{src:t,type:"video/mp4"})}),!u&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg",children:(0,r.jsx)("div",{className:"w-16 h-16 bg-black/60 rounded-full flex items-center justify-center backdrop-blur-sm transition-transform hover:scale-110",children:(0,r.jsx)("svg",{className:"w-7 h-7 text-white ml-1",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})}},3797:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1412),i=n(4477),o=n.n(i),a=n(2216);function s(e){let{ctaName:t,ctaLocation:n,isDemoRequest:i=!1,children:s,...l}=e;return(0,r.jsx)(o(),{...l,onClick:()=>{(0,a.UA)(t,n),i&&(0,a.yA)()},children:s})}},4354:(e,t)=>
4{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4588:(e,t,n)=>{"use strict";n.d(t,{Q:()=>c});var r=n(1412),i=n(1608),o=n(5703),a=n(570);let s=!1,l=()=>{!s&&(a.C.init({locale:"en-US",debugMode:!0,enableInspectorMode:!0,enableLiveUpdates:!0,targetOrigin:["https://app.contentful.com"]}),s=!0,window.__contentfulLivePreviewInitialized=!0)},c=e=>{let{children:t,isPreviewMode:n=!1,locale:a="en-US"}=e;return(0,i.useEffect)(()=>{n&&l()},[n]),(0,r.jsx)(o.UR,{locale:a,enableInspectorMode:n,enableLiveUpdates:n,debugMode:!0,targetOrigin:["https://app.contentful.com"],children:t})}},4651:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading1","definitions":{"Heading1":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-1"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},4828:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Quote","definitions":{"Quote":{"type":"object","properties":{"nodeType":{"type":"string","enum":["blockquote"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},5e3:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case h:case l:return e;default:return t}}case i:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=y,t.Memo=h,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===E||e.$$typeof===g)},t.typeOf=x},5068:(e,t,n)=>{"use strict";var r,i,o,a,s,l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},u={},d={};Object.defineProperty(d,"__esModule",{value:!0}),d.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(r||(d.BLOCKS=r={}));var p={};Object.defineProperty(p,"__esModule",{value:!0}),p.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(i||(p.INLINES=i={}));var f={};
4Object.defineProperty(f,"__esModule",{value:!0}),f.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(o||(f.MARKS=o={}));var m={};!function(e){var t,n=c&&c.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0,e.TOP_LEVEL_BLOCKS=[d.BLOCKS.PARAGRAPH,d.BLOCKS.HEADING_1,d.BLOCKS.HEADING_2,d.BLOCKS.HEADING_3,d.BLOCKS.HEADING_4,d.BLOCKS.HEADING_5,d.BLOCKS.HEADING_6,d.BLOCKS.OL_LIST,d.BLOCKS.UL_LIST,d.BLOCKS.HR,d.BLOCKS.QUOTE,d.BLOCKS.EMBEDDED_ENTRY,d.BLOCKS.EMBEDDED_ASSET,d.BLOCKS.EMBEDDED_RESOURCE,d.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[d.BLOCKS.PARAGRAPH,d.BLOCKS.HEADING_1,d.BLOCKS.HEADING_2,d.BLOCKS.HEADING_3,d.BLOCKS.HEADING_4,d.BLOCKS.HEADING_5,d.BLOCKS.HEADING_6,d.BLOCKS.OL_LIST,d.BLOCKS.UL_LIST,d.BLOCKS.HR,d.BLOCKS.QUOTE,d.BLOCKS.EMBEDDED_ENTRY,d.BLOCKS.EMBEDDED_ASSET,d.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[d.BLOCKS.TABLE,d.BLOCKS.TABLE_ROW,d.BLOCKS.TABLE_CELL,d.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[d.BLOCKS.HR,d.BLOCKS.EMBEDDED_ENTRY,d.BLOCKS.EMBEDDED_ASSET,d.BLOCKS.EMBEDDED_RESOURCE],(t={})[d.BLOCKS.OL_LIST]=[d.BLOCKS.LIST_ITEM],t[d.BLOCKS.UL_LIST]=[d.BLOCKS.LIST_ITEM],t[d.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,t[d.BLOCKS.QUOTE]=[d.BLOCKS.PARAGRAPH],t[d.BLOCKS.TABLE]=[d.BLOCKS.TABLE_ROW],t[d.BLOCKS.TABLE_ROW]=[d.BLOCKS.TABLE_CELL,d.BLOCKS.TABLE_HEADER_CELL],t[d.BLOCKS.TABLE_CELL]=[d.BLOCKS.PARAGRAPH,d.BLOCKS.UL_LIST,d.BLOCKS.OL_LIST],t[d.BLOCKS.TABLE_HEADER_CELL]=[d.BLOCKS.PARAGRAPH],e.CONTAINERS=t,e.HEADINGS=[d.BLOCKS.HEADING_1,d.BLOCKS.HEADING_2,d.BLOCKS.HEADING_3,d.BLOCKS.HEADING_4,d.BLOCKS.HEADING_5,d.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=n([d.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[d.BLOCKS.DOCUMENT,d.BLOCKS.PARAGRAPH,d.BLOCKS.HEADING_1,d.BLOCKS.HEADING_2,d.BLOCKS.HEADING_3,d.BLOCKS.HEADING_4,d.BLOCKS.HEADING_5,d.BLOCKS.HEADING_6,d.BLOCKS.OL_LIST,d.BLOCKS.UL_LIST,d.BLOCKS.LIST_ITEM,d.BLOCKS.HR,d.BLOCKS.QUOTE,d.BLOCKS.EMBEDDED_ENTRY,d.BLOCKS.EMBEDDED_ASSET,p.INLINES.HYPERLINK,p.INLINES.ENTRY_HYPERLINK,p.INLINES.ASSET_HYPERLINK,p.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[f.MARKS.BOLD,f.MARKS.CODE,f.MARKS.ITALIC,f.MARKS.UNDERLINE]}(m);var h={};Object.defineProperty(h,"__esModule",{value:!0});var y={};Object.defineProperty(y,"__esModule",{value:!0});var g={};Object.defineProperty(g,"__esModule",{value:!0}),g.EMPTY_DOCUMENT=void 0,g.EMPTY_DOCUMENT={nodeType:d.BLOCKS.DOCUMENT,data:{},content:[{nodeType:d.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var v={};function b(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}Object.defineProperty(v,"__esModule",{value:!0}),v.isInline=function(e){return b(p.INLINES,e.nodeType)},v.isBlock=function(e){return b(d.BLOCKS,e.nodeType)},v.isText=function(e){return"text"===e.nodeType};var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.getSchemaWithNodeType=function(e){try{throw Error('Could not dynamically require "'+"./generated/".concat(e,".json")+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}catch(t){throw Error('Schema for nodeType "'.concat(e,'" was not found.'))}},!function(e){var t=c&&c.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=c&&c.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=c&&c.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)}
4,i=c&&c.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0,Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return d.BLOCKS}}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return p.INLINES}}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return f.MARKS}}),r(m,e),r(h,e),r(y,e),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return g.EMPTY_DOCUMENT}}),e.helpers=i(v),Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return E.getSchemaWithNodeType}})}(u);var x=/["'&<>]/,S=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(function(e){var t,n=""+e,r=x.exec(n);if(!r)return n;var i="",o=0,a=0;for(o=r.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}a!==o&&(i+=n.substring(a,o)),a=o+1,i+=t}return a!==o?i+n.substring(a,o):i}),_=((a={})[u.BLOCKS.PARAGRAPH]=function(e,t){return"<p>".concat(t(e.content),"</p>")},a[u.BLOCKS.HEADING_1]=function(e,t){return"<h1>".concat(t(e.content),"</h1>")},a[u.BLOCKS.HEADING_2]=function(e,t){return"<h2>".concat(t(e.content),"</h2>")},a[u.BLOCKS.HEADING_3]=function(e,t){return"<h3>".concat(t(e.content),"</h3>")},a[u.BLOCKS.HEADING_4]=function(e,t){return"<h4>".concat(t(e.content),"</h4>")},a[u.BLOCKS.HEADING_5]=function(e,t){return"<h5>".concat(t(e.content),"</h5>")},a[u.BLOCKS.HEADING_6]=function(e,t){return"<h6>".concat(t(e.content),"</h6>")},a[u.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return"<div>".concat(t(e.content),"</div>")},a[u.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return"<div>".concat(t(e.content),"</div>")},a[u.BLOCKS.UL_LIST]=function(e,t){return"<ul>".concat(t(e.content),"</ul>")},a[u.BLOCKS.OL_LIST]=function(e,t){return"<ol>".concat(t(e.content),"</ol>")},a[u.BLOCKS.LIST_ITEM]=function(e,t){return"<li>".concat(t(e.content),"</li>")},a[u.BLOCKS.QUOTE]=function(e,t){return"<blockquote>".concat(t(e.content),"</blockquote>")},a[u.BLOCKS.HR]=function(){return"<hr/>"},a[u.BLOCKS.TABLE]=function(e,t){return"<table>".concat(t(e.content),"</table>")},a[u.BLOCKS.TABLE_ROW]=function(e,t){return"<tr>".concat(t(e.content),"</tr>")},a[u.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return"<th>".concat(t(e.content),"</th>")},a[u.BLOCKS.TABLE_CELL]=function(e,t){return"<td>".concat(t(e.content),"</td>")},a[u.INLINES.ASSET_HYPERLINK]=function(e){return T(u.INLINES.ASSET_HYPERLINK,e)},a[u.INLINES.ENTRY_HYPERLINK]=function(e){return T(u.INLINES.ENTRY_HYPERLINK,e)},a[u.INLINES.RESOURCE_HYPERLINK]=function(e){return O(u.INLINES.RESOURCE_HYPERLINK,e)},a[u.INLINES.EMBEDDED_ENTRY]=function(e){return T(u.INLINES.EMBEDDED_ENTRY,e)},a[u.INLINES.EMBEDDED_RESOURCE]=function(e){return O(u.INLINES.EMBEDDED_RESOURCE,e)},a[u.INLINES.HYPERLINK]=function(e,t){var n="string"==typeof e.data.uri?e.data.uri:"";return"<a href=".concat('"'.concat(n.replace(/"/g,"&quot;"),'"'),">").concat(t(e.content),"</a>")},a),w=((s={})[u.MARKS.BOLD]=function(e){return"<b>".concat(e,"</b>")},s[u.MARKS.ITALIC]=function(e){return"<i>".concat(e,"</i>")},s[u.MARKS.UNDERLINE]=function(e){return"<u>".concat(e,"</u>")},s[u.MARKS.CODE]=function(e){return"<code>".concat(e,"</code>")},s[u.MARKS.SUPERSCRIPT]=function(e){return"<sup>".concat(e,"</sup>")},s[u.MARKS.SUBSCRIPT]=function(e){return"<sub>".concat(e,"</sub>")},s[u.MARKS.STRIKETHROUGH]=function(e){return"<s>".concat(e,"</s>")},s),T=function(e,t){return"<span>type: ".concat(S(e)," id: ").concat(S(t.data.target.sys.id),"</span>")},O=function(e,t){return"<span>type: ".concat(S(e)," urn: ").concat(S(t.data.target.sys.urn),"</span>")};t.v=function(e,t){return(void 0===t&&(t={}),e&&e.content)?function e(t,n){var r=n.renderNode,i=n.renderMark,o=n.preserveWhitespace;return t.map(function(t){return function(t,n){var r=n.renderNode,i=n.renderMark,o=n.preserveWhitespace;if(u.helpers.isText(t)){var a=S(t.value);return(o&&(a=a.replace(/\n/g,"<br/>").replace(/ {2,}/g,function(e){return"&nbsp;".repeat(e.length)})),t.marks.length>0)?t.marks.reduce(function(e,t){return i[t.type]?i[t.type](e):e},a):a}return t.nodeType&&r[t.nodeType]?r[t.nodeType](t,function(t){return e(t,{renderMark:i,renderNode:r,preserveWhitespace:o})}):""}(t,{renderNode:r,renderMark:i,preserveWhitespace:o})}).join("")}(e.content,{renderNode:l(l({},_),t.renderNode),renderMark:l(l({},w),t.renderMark),preserveWhitespace:t.preserveWhitespace}):""}},5179:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Table","definitions":{"Table":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableRow"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableRow":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-row"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableCell"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"}
4,"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},5217:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{Ik:()=>ef,KR:()=>I,Yj:()=>Q,zM:()=>F});var a=n(6240),s=n(6226),l=n(8122),c=n.n(l);let u=Object.prototype.toString,d=Error.prototype.toString,p=RegExp.prototype.toString,f="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",m=/^Symbol\((.*)\)(.*)$/;function h(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return f.call(e).replace(m,"Symbol($1)");let r=u.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+d.call(e)+"]":"RegExp"===r?p.call(e):null}function y(e,t){let n=h(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=h(this[e],t);return null!==r?r:n},2)}function g(e){return null==e?[]:[].concat(e)}let v=/\$\{\s*(\w+)\s*\}/g;r=Symbol.toStringTag;class b{constructor(e,t,n,i){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[r]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=i,this.errors=[],this.inner=[],g(e).forEach(e=>{if(E.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}i=Symbol.hasInstance,o=Symbol.toStringTag;class E extends Error{static formatError(e,t){let n=t.label||t.path||"this";return(t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e)?e.replace(v,(e,n)=>y(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){let a=new b(e,t,n,r);if(i)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[o]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,E)}static[i](e){return b[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let x={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let i=null!=r&&r!==n?` (cast from the value \`${y(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${y(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${y(n,!0)}\``+i}},S={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},_={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},w={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},T={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path}
4 object contains unknown properties: ${properties}"},j={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},N={notType:e=>{let{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${y(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${y(n,!0)}\``}return E.formatError(x.notType,e)}};Object.assign(Object.create(null),{mixed:x,string:S,number:_,date:w,object:O,array:j,boolean:T,tuple:N});let C=e=>e&&e.__isYupSchema__;class L{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new L(e,(e,t)=>{var n;let a=o(...e)?r:i;return null!=(n=null==a?void 0:a(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!C(r))throw TypeError("conditions must return a schema object");return r.resolve(t)}}let k={context:"$",value:"."};function I(e,t){return new A(e,t)}class A{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===k.context,this.isValue=this.key[0]===k.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?k.context:this.isValue?k.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,a.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}A.prototype.__isYupRef=!0;let D=e=>null==e;function R(e){function t({value:t,path:n="",options:r,originalValue:i,schema:o},a,s){let l,{name:c,test:u,params:d,message:p,skipAbsent:f}=e,{parent:m,context:h,abortEarly:y=o.spec.abortEarly,disableStackTrace:g=o.spec.disableStackTrace}=r;function v(e){return A.isRef(e)?e.getValue(t,m,h):e}function b(e={}){let r=Object.assign({value:t,originalValue:i,label:o.spec.label,path:e.path||n,spec:o.spec,disableStackTrace:e.disableStackTrace||g},d,e.params);for(let e of Object.keys(r))r[e]=v(r[e]);let a=new E(E.formatError(e.message||p,r),t,r.path,e.type||c,r.disableStackTrace);return a.params=r,a}let x=y?a:s,S={path:n,parent:m,type:c,from:r.from,createError:b,resolve:v,options:r,originalValue:i,schema:o},_=e=>{E.isError(e)?x(e):e?s(null):x(b())},w=e=>{E.isError(e)?x(e):a(e)};if(f&&D(t))return _(!0);try{var T;if(l=u.call(S,t,S),"function"==typeof(null==(T=l)?void 0:T.then)){if(r.sync)throw Error(`Validation test of type: "${S.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(l).then(_,w)}}catch(e){w(e);return}_(l)}return t.OPTIONS=e,t}class P extends Set{describe(){let e=[];for(let t of this.values())e.push(A.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let n of this.values())t.push(e(n));return t}clone(){return new P(this.values())}merge(e,t){let n=this.clone();return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function M(e,t=new Map){let n;if(C(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=M(e[r],t)}else if(e instanceof Map)for(let[r,i]of(n=new Map,t.set(e,n),e.entries()))n.set(r,M(i,t));else if(e instanceof Set)for(let r of(n=new Set,t.set(e,n),e))n.add(M(r,t));else if(e instanceof Object)for(let[r,i]of(n={},t.set(e,n),Object.entries(e)))n[r]=M(i,t);else throw Error(`Unable to clone ${e}`);return n}class B{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new P,this._blacklist=new P,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(x.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));
4return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=M(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=Object.assign({},this.spec,t.spec);return t.spec=n,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!this.spec.nullable&&null===e||!!this.spec.optional&&void 0===e:this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&D(i))return i;let o=y(e),a=y(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 
5
6attempted value: ${o} 
7`+(a!==o?`result of cast: ${a}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((t,n)=>n.call(this,t,e,this),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:o=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let e of Object.values(this.internalTests))e&&l.push(e);this.runTests({path:i,value:s,originalValue:o,options:t,tests:l},n,e=>{if(e.length)return r(e,s);this.runTests({path:i,value:s,originalValue:o,options:t,tests:this.tests},n,r)})}runTests(e,t,n){let r=!1,{tests:i,value:o,originalValue:a,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,o))},u=e=>{r||(r=!0,n(e,o))},d=i.length,p=[];if(!d)return u([]);let f={value:o,originalValue:a,path:s,options:l,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(f,c,function(e){e&&(Array.isArray(e)?p.push(...e):p.push(e)),--d<=0&&u(p)})}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:o}){let a=null!=e?e:t;if(null==a)throw TypeError("Must include `key` or `index` for nested validations");let s="number"==typeof a,l=n[a],c=Object.assign({},o,{strict:!0,parent:n,value:l,originalValue:i[a],key:void 0,[s?"index":"key"]:a,path:s||a.includes(".")?`${r||""}[${s?a:`"${a}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(c)._validate(l,c,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise((n,o)=>r._validate(e,t,(e,t)=>{E.isError(e)&&(e.value=t),o(e)},(e,t)=>{e.length?o(new E(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw E.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new E(t,e,void 0,void 0,o);r=n}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(E.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(E.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):M(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let n=this.clone({nullable:e});return n.internalTests.nullable=R({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){let n=this.clone({optional:e});return n.internalTests.optionality=R({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=x.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=x.notNull){return this.nullability(!1,e)}required(e=x.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=x.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),r=R(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==r.OPTIONS.test),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=g(e).map(e=>new A(e));
7return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new L(r,t):L.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=R({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=x.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=R({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=x.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=R({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:o}=t.spec;return{meta:r,label:n,optional:i,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,n)=>n.findIndex(t=>t.name===e.name)===t)}}}for(let e of(B.prototype.__isYupSchema__=!0,["validate","validateSync"]))B.prototype[`${e}At`]=function(t,n,r={}){let{parent:i,parentPath:o,schema:s}=function(e,t,n,r=n){let i,o,s;return t?((0,a.forEach)(t,(a,l,c)=>{let u=l?a.slice(1,a.length-1):a,d="tuple"===(e=e.resolve({context:r,parent:i,value:n})).type,p=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&p>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=n,n=n&&n[u],e=e.fields[u]}o=u,s=l?"["+a+"]":"."+a}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}(this,t,n,r.context);return s[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(let e of["equals","is"])B.prototype[e]=B.prototype.oneOf;for(let e of["not","nope"])B.prototype[e]=B.prototype.notOneOf;let $=()=>!0;class K extends B{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:$},e))}}function F(){return new U}K.prototype;class U extends B{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e})})}isTrue(e=T.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>D(e)||!0===e})}isFalse(e=T.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>D(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}F.prototype=U.prototype;let H=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function q(e){var t,n;let r=H.exec(e);return r?{year:G(r[1]),month:G(r[2],1)-1,day:G(r[3],1),hour:G(r[4]),minute:G(r[5]),second:G(r[6]),millisecond:r[7]?G(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:G(r[10
7]),minuteOffset:G(r[11])}:null}function G(e,t=0){return Number(e)||t}let z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Y=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,V=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,W=RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),J=e=>D(e)||e===e.trim(),Z=({}).toString();function Q(){return new X}class X extends B{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce||n.isType(e)||Array.isArray(e))return e;let r=null!=e&&e.toString?e.toString():e;return r===Z?e:r})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||x.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=S.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=S.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=S.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:n,name:r}=t:n=t),this.test({name:r||"matches",message:n||S.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=S.email){return this.matches(z,{name:"email",message:e,excludeEmptyString:!0})}url(e=S.url){return this.matches(Y,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=S.uuid){return this.matches(V,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?{message:r="",allowOffset:t=!1,precision:n}=e:r=e),this.matches(W,{name:"datetime",message:r||S.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||S.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;let n=q(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||S.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||void 0==n)return!0;let t=q(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=S.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:J})}lowercase(e=S.lowercase){return this.transform(e=>D(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>D(e)||e===e.toLowerCase()})}uppercase(e=S.uppercase){return this.transform(e=>D(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>D(e)||e===e.toUpperCase()})}}Q.prototype=X.prototype;let ee=e=>e!=+e;class et extends B{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!ee(e))}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"==typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r*=1}return n.isType(r)||null===r?r:parseFloat(r)})})}min(e,t=_.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=_.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=_.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=_.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=_.positive){return this.moreThan(0,e)}negative(e=_.negative){return this.lessThan(0,e)}integer(e=_.integer){return this.test({name:"integer",message:e,ski
7pAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform(e=>D(e)?e:0|e)}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(t=>D(t)?t:Math[e](t))}}et.prototype;let en=new Date(""),er=e=>"[object Date]"===Object.prototype.toString.call(e);function ei(){return new eo}class eo extends B{constructor(){super({type:"date",check:e=>er(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:isNaN(e=function(e){let t=q(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e))?eo.INVALID_DATE:new Date(e))})}prepareParam(e,t){let n;if(A.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=w.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=w.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function ea(e,t){let n=1/0;return e.some((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0}),n}function es(e){return(t,n)=>ea(e,t)-ea(e,n)}eo.INVALID_DATE=en,ei.prototype=eo.prototype,ei.INVALID_DATE=en;let el=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e},ec=(e,t)=>{let n=[...(0,a.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,a.getter)((0,a.join)(n),!0)(e);return!!(i&&r in i)},eu=e=>"[object Object]"===Object.prototype.toString.call(e);function ed(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===n.indexOf(e))}let ep=es([]);function ef(e){return new em(e)}class em extends B{constructor(e){super({type:"object",check:e=>eu(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=ep,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter(e=>!this._nodes.includes(e))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(let e of a){let n=i[e],a=e in r;if(n){let i,o=r[e];l.path=(t.path?`${t.path}.`:"")+e;let a=(n=n.resolve({value:o,context:t.context,parent:s}))instanceof B?n.spec:void 0,u=null==a?void 0:a.strict;if(null!=a&&a.strip){c=c||e in r;continue}void 0!==(i=t.__validating&&u?r[e]:n.cast(r[e],l))&&(s[e]=i)}else a&&!o&&(s[e]=r[e]);(a!==e in s||s[e]!==r[e])&&(c=!0)}return c?s:r}_validate(e,t={},n,r){let{from:i=[],originalValue:o=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:o},...i],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,(e,i)=>{if(!a||!eu(i)){r(e,i);return}o=o||i;let s=[];for(let e of this._nodes){let n=this.fields[e];!n||A.isRef(n)||s.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:o}))}this.runTests({tests:s,value:i,originalValue:o,options:t},n,t=>{r(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){let r=n[e];n[e]=void 0===r?t:r}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};
7return this._nodes.forEach(n=>{var r;let i=this.fields[n],o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(o):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function o(e,t){let o=(0,a.split)(e)[0];r.add(o),i.has(`${t}-${o}`)||n.push([t,o])}for(let t of Object.keys(e)){let n=e[t];r.add(t),A.isRef(n)&&n.isSibling?o(n.path,t):C(n)&&"deps"in n&&n.deps.forEach(e=>o(e,t))}return c().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=es(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)})}partial(){let e={};for(let[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let n={};for(let[r,i]of Object.entries(t.fields))n[r]=e(i);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=e(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){let t=[];for(let n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,a.getter)(e,!0);return this.transform(i=>{if(!i)return i;let o=i;return ec(i,e)&&(o=Object.assign({},i),n||delete o[e],o[t]=r(i)),o})}json(){return this.transform(el)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||O.exact,test(e){if(null==e)return!0;let t=ed(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=O.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;let n=ed(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=O.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let n={};for(let r of Object.keys(t))n[e(r)]=t[r];return n})}camelCase(){return this.transformKeys(s.camelCase)}snakeCase(){return this.transformKeys(s.snakeCase)}constantCase(){return this.transformKeys(e=>(0,s.snakeCase)(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);for(let[i,o]of(n.fields={},Object.entries(t.fields))){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=o.describe(t)}return n}}ef.prototype=em.prototype;class eh extends B{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){let n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1,i=n.map((e,n)=>{let i=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return i!==e&&(r=!0),i});return r?i:n}_validate(e,t={},n,r){var i;let o=this.innerType,a=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,(i,s)=>{var l,c;if(!a||!o||!this._typeCheck(s)){r(i,s);return}let u=Array(s.length);for(let n=0;n<s.length;n++)u[n]=o.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e});this.runTests({value:s,tests:u,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,e=>r(e.concat(i),s))})}clone(e){let t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(el)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!C(e))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+y(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=j.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||j.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||j.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=t.innerType.describe(i)}return n}}eh.prototype;class ey extends B{constructor(e){super({type:"tuple",spec:{types:e},check(e){let t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation(()=>{this.typeError(N.notType)})}_cast(e,t){let{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let i=!1,o=n.map((e,n)=>{let o=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==r[n]&&(i=!0),o});return i?o:r}_validate(e,t={},n,r){let i=this.spec.types;super._validate(e,t,n,(o,a)=>{var s,l;if(!this._typeCheck(a)){r(o,a);return}let c=[];for(let[n,r]of i.entries())c[n]=r.asNestedTest({options:t,index:n,parent:a,parentPath:t.path,originalParent:null!=(l=t.originalValue)?l:e});this.runTests({value:a,tests:c,originalValue:null!=(s=t.originalValue)?s:e,options:t},n,e=>r(e.concat(o),a))})}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map((t,n)=>{var r;let i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)}),n}}function eg(e){try{return e()}catch(e){if(E.isError(e))return Promise.reject(e);throw e}}ey.prototype;class ev{constructor(e){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(e,t={})=>{let n=this.builder(e,t);if(!C(n))throw TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(n=n.optional()),n.resolve(t)},this.builder=e,this.spec={meta:void 0,optional:!1}}clone(e){let t=new ev(this.builder);return t.spec=Object.assign({},this.spec,e),t}optionality(e){return this.clone({optional:e})}optional(){return this.optionality(!0)}resolve(e){return this._resolve(e.value,e)}cast(e,t){return this._resolve(e,t).cast(e,t)}asNestedTest(e){let{key:t,index:n,parent:r,options:i}=e,o=r[null!=n?n:t];return this._resolve(o,Object.assign({},i,{value:o,parent:r})).asNestedTest(e)}validate(e,t){return eg(()=>this._resolve(e,t).validate(e,t))}validateSync(e,t){return this._resolve(e,t).validateSync(e,t)}validateAt(e,t,n){return eg(()=>this._resolve(t,n).validateAt(e,t,n))}validateSyncAt(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)}isValid(e,t){try{return this._resolve(e,t).isValid(e,t)}catch(e){if(E.isError(e))return Promise.resolve(!1);throw e}}isValidSync(e,t){return this._resolve(e,t).isValidSync(e,t)}describe(e){return e?this.resolve(e).describe(e):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}}},5234:(e,t)=>{"use strict";
7Object.defineProperty(t,"__esModule",{value:!0})},5322:(e,t,n)=>{Promise.resolve().then(n.bind(n,5426)),Promise.resolve().then(n.t.bind(n,4477,23)),Promise.resolve().then(n.t.bind(n,1698,23))},5399:(e,t,n)=>{"use strict";var r,i,o,a,s,l=n(1608),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},d={},p={};Object.defineProperty(p,"__esModule",{value:!0}),p.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(r||(p.BLOCKS=r={}));var f={};Object.defineProperty(f,"__esModule",{value:!0}),f.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(i||(f.INLINES=i={}));var m={};Object.defineProperty(m,"__esModule",{value:!0}),m.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(o||(m.MARKS=o={}));var h={};!function(e){var t,n=u&&u.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0,e.TOP_LEVEL_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE,p.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[p.BLOCKS.TABLE,p.BLOCKS.TABLE_ROW,p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[p.BLOCKS.HR,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],(t={})[p.BLOCKS.OL_LIST]=[p.BLOCKS.LIST_ITEM],t[p.BLOCKS.UL_LIST]=[p.BLOCKS.LIST_ITEM],t[p.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,t[p.BLOCKS.QUOTE]=[p.BLOCKS.PARAGRAPH],t[p.BLOCKS.TABLE]=[p.BLOCKS.TABLE_ROW],t[p.BLOCKS.TABLE_ROW]=[p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],t[p.BLOCKS.TABLE_CELL]=[p.BLOCKS.PARAGRAPH,p.BLOCKS.UL_LIST,p.BLOCKS.OL_LIST],t[p.BLOCKS.TABLE_HEADER_CELL]=[p.BLOCKS.PARAGRAPH],e.CONTAINERS=t,e.HEADINGS=[p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=n([p.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[p.BLOCKS.DOCUMENT,p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.LIST_ITEM,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,f.INLINES.HYPERLINK,f.INLINES.ENTRY_HYPERLINK,f.INLINES.ASSET_HYPERLINK,f.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[m.MARKS.BOLD,m.MARKS.CODE,m.MARKS.ITALIC,m.MARKS.UNDERLINE]}(h);var y={};Object.defineProperty(y,"__esModule",{value:!0});var g={};
7Object.defineProperty(g,"__esModule",{value:!0});var v={};Object.defineProperty(v,"__esModule",{value:!0}),v.EMPTY_DOCUMENT=void 0,v.EMPTY_DOCUMENT={nodeType:p.BLOCKS.DOCUMENT,data:{},content:[{nodeType:p.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var b={};function E(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}Object.defineProperty(b,"__esModule",{value:!0}),b.isInline=function(e){return E(f.INLINES,e.nodeType)},b.isBlock=function(e){return E(p.BLOCKS,e.nodeType)},b.isText=function(e){return"text"===e.nodeType};var x={};Object.defineProperty(x,"__esModule",{value:!0}),x.getSchemaWithNodeType=function(e){try{throw Error('Could not dynamically require "'+"./generated/".concat(e,".json")+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}catch(t){throw Error('Schema for nodeType "'.concat(e,'" was not found.'))}},!function(e){var t=u&&u.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=u&&u.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=u&&u.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},i=u&&u.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0,Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return p.BLOCKS}}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return f.INLINES}}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return m.MARKS}}),r(h,e),r(y,e),r(g,e),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return v.EMPTY_DOCUMENT}}),e.helpers=i(b),Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return x.getSchemaWithNodeType}})}(d);var S=((a={})[d.BLOCKS.DOCUMENT]=function(e,t){return t},a[d.BLOCKS.PARAGRAPH]=function(e,t){return l.createElement("p",null,t)},a[d.BLOCKS.HEADING_1]=function(e,t){return l.createElement("h1",null,t)},a[d.BLOCKS.HEADING_2]=function(e,t){return l.createElement("h2",null,t)},a[d.BLOCKS.HEADING_3]=function(e,t){return l.createElement("h3",null,t)},a[d.BLOCKS.HEADING_4]=function(e,t){return l.createElement("h4",null,t)},a[d.BLOCKS.HEADING_5]=function(e,t){return l.createElement("h5",null,t)},a[d.BLOCKS.HEADING_6]=function(e,t){return l.createElement("h6",null,t)},a[d.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return l.createElement("div",null,t)},a[d.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return l.createElement("div",null,t)},a[d.BLOCKS.UL_LIST]=function(e,t){return l.createElement("ul",null,t)},a[d.BLOCKS.OL_LIST]=function(e,t){return l.createElement("ol",null,t)},a[d.BLOCKS.LIST_ITEM]=function(e,t){return l.createElement("li",null,t)},a[d.BLOCKS.QUOTE]=function(e,t){return l.createElement("blockquote",null,t)},a[d.BLOCKS.HR]=function(){return l.createElement("hr",null)},a[d.BLOCKS.TABLE]=function(e,t){return l.createElement("table",null,l.createElement("tbody",null,t))},a[d.BLOCKS.TABLE_ROW]=function(e,t){return l.createElement("tr",null,t)},a[d.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return l.createElement("th",
7null,t)},a[d.BLOCKS.TABLE_CELL]=function(e,t){return l.createElement("td",null,t)},a[d.INLINES.ASSET_HYPERLINK]=function(e){return w(d.INLINES.ASSET_HYPERLINK,e)},a[d.INLINES.ENTRY_HYPERLINK]=function(e){return w(d.INLINES.ENTRY_HYPERLINK,e)},a[d.INLINES.RESOURCE_HYPERLINK]=function(e){return T(d.INLINES.RESOURCE_HYPERLINK,e)},a[d.INLINES.EMBEDDED_ENTRY]=function(e){return w(d.INLINES.EMBEDDED_ENTRY,e)},a[d.INLINES.EMBEDDED_RESOURCE]=function(e,t){return T(d.INLINES.EMBEDDED_RESOURCE,e)},a[d.INLINES.HYPERLINK]=function(e,t){return l.createElement("a",{href:e.data.uri},t)},a),_=((s={})[d.MARKS.BOLD]=function(e){return l.createElement("b",null,e)},s[d.MARKS.ITALIC]=function(e){return l.createElement("i",null,e)},s[d.MARKS.UNDERLINE]=function(e){return l.createElement("u",null,e)},s[d.MARKS.CODE]=function(e){return l.createElement("code",null,e)},s[d.MARKS.SUPERSCRIPT]=function(e){return l.createElement("sup",null,e)},s[d.MARKS.SUBSCRIPT]=function(e){return l.createElement("sub",null,e)},s[d.MARKS.STRIKETHROUGH]=function(e){return l.createElement("s",null,e)},s);function w(e,t){return l.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function T(e,t){return l.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t){return(void 0===t&&(t={}),e)?function e(t,n){var r=n.renderNode,i=n.renderMark,o=n.renderText,a=n.preserveWhitespace;if(d.helpers.isText(t)){var s=o?o(t.value):t.value;if(a&&!o){var c=(s=s.replace(/ {2,}/g,function(e){return"\xa0".repeat(e.length)})).split("\n"),u=[];c.forEach(function(e,t){u.push(e),t!==c.length-1&&u.push(l.createElement("br",null))}),s=u}return t.marks.reduce(function(e,t){return i[t.type]?i[t.type](e):e},s)}var p=t.content.map(function(t,r){var i;return i=e(t,n),l.isValidElement(i)&&null===i.key?l.cloneElement(i,{key:r}):i});return t.nodeType&&r[t.nodeType]?r[t.nodeType](t,p):l.createElement(l.Fragment,null,p)}(e,{renderNode:c(c({},S),t.renderNode),renderMark:c(c({},_),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace}):null}},5426:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1412),i=n(2269),o=n(4477),a=n.n(o);function s(e){let{iosUrl:t="https://apps.apple.com/us/app/orderwerks/id1044009305",androidUrl:n="https://play.google.com/store/apps/details?id=com.orderwerks.android&hl=en_US",size:o="medium",className:s=""}=e,l={small:{width:120,height:40},medium:{width:156,height:52},large:{width:180,height:60}}[o];return(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 ".concat(s),children:[t&&(0,r.jsx)(a(),{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",onClick:()=>{window.gtag&&window.gtag("event","app_download_clicked",{platform:"ios"})},children:(0,r.jsx)(i.default,{src:"/assets/images/apple-app-store-badge.svg",alt:"Download on the App Store",width:l.width,height:l.height,className:"h-auto"})}),n&&(0,r.jsx)(a(),{href:n,target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",onClick:()=>{window.gtag&&window.gtag("event","app_download_clicked",{platform:"android"})},children:(0,r.jsx)(i.default,{src:"/assets/images/google-play-badge.png",alt:"Get it on Google Play",width:l.width,height:l.height,className:"h-auto mt-1"})})]})}},5580:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=function(e){return e.REQUEST_DEMO_EMAIL="/forms/requestdemo/email",e.REQUEST_DEMO_FULL="/forms/requestdemo/full",e.RELEASE_NEWSLETTER_SIGNUP="/release-newsletter-signup",e.PARTNERS="/forms/partners",e.PARTNERS_NOTIFY="/forms/partners-notify",e.SUPPORT_TICKET="/forms/support-ticket",e.ROI_CALCULATOR="/forms/roi-calculator",e.ROI_CALCULATOR_PREVIEW="/forms/roi-calculator/preview",e.FEEDBACK="/forms/feedback",e.GET_QUOTE="/forms/get-quote",e.BOOK_DEMO_FORM_SIMPLIFIED="/forms/book-demo-form-simplified",e.ABANDONED_FORM="/forms/abandoned",e}(r||{});let i=r},5703:(e,t,n)=>{"use strict";n.d(t,{UR:()=>s,qM:()=>l,wi:()=>c});var r=n(1412),i=n(1608),o=n(570);let a=(0,i.createContext)(null);function s({children:e,locale:t,space:n,environment:s,debugMode:l=!1,enableInspectorMode:c=!0,enableLiveUpdates:u=!0,targetOrigin:d,experimental:p}){if(!t)throw Error('ContentfulLivePreviewProvider has to be called with a locale property (for example: `<ContentfulLivePreviewProvider locale="en-US">{children}</ContentfulLivePreviewProvider>`');o.C.init({locale:t,space:n,environment:s,debugMode:l,enableInspectorMode:c,enableLiveUpdates:u,targetOrigin:d,experimental:p});let f=(0,i.useMemo)(()=>({locale:t,space:n,environment:s,debugMode:l,enableInspectorMode:c,enableLiveUpdates:u,targetOrigin:d}),[t,n,s,l,c,u,d]);return(0,r.jsx)(a.Provider,{value:f,children:e})}function l(e,t,n=!1){var r;let[s,c]=(0,i.useState)({data:e,version:1}),u=(0,i.useRef)(e),d=(0,i.useRef)((0,o.d)(c)),p=(0,i.useContext)(a),f="object"==typeof t?t:{locale:t,skip:n},m=(0,i.useMemo)(()=>(!p||!!p.enableLiveUpdates)&&!f.skip&&!!(Array.isArray(e)&&e.length||e&&"object"==typeof e&&Object.keys(e).length),[p,f.skip,e]);return r=[e,m,f.locale,f.query],(0,i.useEffect)(()=>
7{if(u.current!==e&&(c({data:e,version:1}),u.current=e),m)return o.C.subscribe("edit",{data:e,locale:f.locale,query:f.query,callback:e=>{d.current(t=>({data:e,version:t.version+1}))}})},function(e){let t=(0,i.useRef)(e),n=(0,i.useRef)(0);return(0,o.i)(e,t.current)||(t.current=e,n.current+=1),(0,i.useMemo)(()=>t.current,[n.current])}(r)),s.data}function c(e){let t=(0,i.useContext)(a);return(0,i.useCallback)(n=>null!=t&&t.enableInspectorMode?o.C.getProps({...e,...n}):null,[null==t?void 0:t.enableInspectorMode,e])}},5796:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},6013:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1412),i=n(2269),o=n(1608),a=n(8714);let s=[{id:"best-results-sb",name:"Best Results - Small Business",imagePath:"/assets/images/g2-badges/OrderManagement_BestResults_Small-Business_Total.png",altText:"G2 Best Results Small Business Fall 2026",accentColor:"purple"},{id:"easiest-to-do-business-sb",name:"Easiest To Do Business With - Small Business",imagePath:"/assets/images/g2-badges/OrderManagement_EasiestToDoBusinessWith_Small-Business_EaseOfDoingBusinessWith.png",altText:"G2 Easiest To Do Business With Small Business Fall 2026",accentColor:"turquoise"},{id:"high-performer",name:"High Performer",imagePath:"/assets/images/g2-badges/OrderManagement_HighPerformer_HighPerformer.png",altText:"G2 High Performer Fall 2026",accentColor:"orange"},{id:"high-performer-sb",name:"High Performer - Small Business",imagePath:"/assets/images/g2-badges/OrderManagement_HighPerformer_Small-Business_HighPerformer.png",altText:"G2 High Performer Small Business Fall 2026",accentColor:"orange"},{id:"users-love-us",name:"Users Love Us",imagePath:"/assets/images/g2-badges/users-love-us.png",altText:"G2 Users Love Us",accentColor:"red"}];function l(e){let{className:t,badges:n,variant:l="wall",showHeading:c}=e,u=(0,o.useRef)(null),[d,p]=(0,o.useState)(!1),[f,m]=(0,o.useState)(new Set),[h,y]=(0,o.useState)(0),[g,v]=(0,a.A)({loop:!1,align:"start",skipSnaps:!1,containScroll:"trimSnaps"}),b=(0,o.useCallback)(()=>{v&&y(Math.floor(v.selectedScrollSnap()/2))},[v]);(0,o.useEffect)(()=>{if(v)return b(),v.on("select",b),v.on("reInit",b),()=>{v.off("select",b),v.off("reInit",b)}},[v,b]),(0,o.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&!d&&p(!0)},{threshold:.1});return u.current&&e.observe(u.current),()=>e.disconnect()},[d]);let E=e=>{m(t=>new Set(Array.from(t).concat(e)))},x=n?n.map(e=>s.find(t=>t.id===e)).filter(e=>void 0!==e):s,S=null!=c?c:"wall"===l;if(0===x.length)return null;if("hero"===l)return(0,r.jsxs)("div",{className:t,children:[S&&(0,r.jsx)("p",{className:"text-xs font-medium text-gray-400 tracking-wider uppercase mb-3",children:"Recognized by G2"}),(0,r.jsx)("div",{className:"flex items-center gap-3",children:x.map(e=>(0,r.jsx)(i.default,{src:e.imagePath,alt:e.altText,width:80,height:80,style:{width:"auto",height:"auto",maxWidth:"80px"}},e.id))})]});let _=e=>{switch(e){case"purple":return"hover:shadow-purple-500/20";case"yellow":return"hover:shadow-yellow-500/20";case"turquoise":return"hover:shadow-cyan-500/20";case"orange":return"hover:shadow-orange-500/20";case"red":return"hover:shadow-red-500/20";default:return"hover:shadow-blue-500/20"}};return(0,r.jsx)("section",{ref:u,className:null!=t?t:"relative bg-gradient-to-b from-gray-800 to-gray-700 py-16 sm:py-20",children:(0,r.jsxs)("div",{className:"container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[S&&(0,r.jsx)("div",{className:"text-center mb-10 transition-all duration-700 ".concat(d?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),children:(0,r.jsx)("h3",{className:"text-sm font-medium text-gray-300 tracking-wider up
7percase",children:"Recognized by G2 • Fall 2026"})}),(0,r.jsx)("div",{className:"hidden xl:flex justify-center items-center gap-6 2xl:gap-8 transition-all duration-1000 delay-200 ".concat(d?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),children:x.map((e,t)=>(0,r.jsx)("div",{className:"relative group transition-all duration-500 delay-".concat(100*t),style:{transitionDelay:"".concat(100*t+300,"ms")},children:(0,r.jsxs)("div",{className:"relative bg-gray-800/50 backdrop-blur-sm rounded-lg p-4 transition-all duration-300 hover:scale-105 hover:bg-gray-800/70 hover:shadow-lg ".concat(_(e.accentColor)),children:[!f.has(e.name)&&(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-700 rounded-lg animate-pulse"}),(0,r.jsx)(i.default,{src:e.imagePath,alt:e.altText,width:140,height:140,loading:"lazy",onLoad:()=>E(e.name),className:"transition-opacity duration-500 ".concat(f.has(e.name)?"opacity-100":"opacity-0"),style:{width:"auto",height:"auto",maxWidth:"140px"}})]})},e.name))}),(0,r.jsx)("div",{className:"hidden md:grid xl:hidden grid-cols-3 lg:grid-cols-4 gap-6 transition-all duration-1000 delay-200 ".concat(d?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),children:x.map((e,t)=>(0,r.jsx)("div",{className:"relative group transition-all duration-500",style:{transitionDelay:"".concat(100*t+300,"ms")},children:(0,r.jsxs)("div",{className:"relative bg-gray-800/50 backdrop-blur-sm rounded-lg p-4 transition-all duration-300 hover:scale-105 hover:bg-gray-800/70 hover:shadow-lg ".concat(_(e.accentColor)),children:[!f.has(e.name)&&(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-700 rounded-lg animate-pulse"}),(0,r.jsx)(i.default,{src:e.imagePath,alt:e.altText,width:120,height:120,loading:"lazy",onLoad:()=>E(e.name),className:"transition-opacity duration-500 mx-auto ".concat(f.has(e.name)?"opacity-100":"opacity-0"),style:{width:"auto",height:"auto",maxWidth:"120px"}})]})},e.name))}),(0,r.jsxs)("div",{className:"md:hidden",children:[(0,r.jsx)("div",{className:"overflow-hidden transition-all duration-1000 delay-200 ".concat(d?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),ref:g,children:(0,r.jsx)("div",{className:"flex gap-4",children:x.map(e=>(0,r.jsx)("div",{className:"flex-[0_0_calc(50%-8px)] min-w-0",children:(0,r.jsxs)("div",{className:"relative bg-gray-800/50 backdrop-blur-sm rounded-lg p-3 transition-all duration-300 ".concat(_(e.accentColor)),children:[!f.has(e.name)&&(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-700 rounded-lg animate-pulse"}),(0,r.jsx)(i.default,{src:e.imagePath,alt:e.altText,width:100,height:100,loading:"lazy",onLoad:()=>E(e.name),className:"transition-opacity duration-500 mx-auto ".concat(f.has(e.name)?"opacity-100":"opacity-0"),style:{width:"auto",height:"auto",maxWidth:"100px"}})]})},e.name))})}),(0,r.jsx)("div",{className:"flex justify-center gap-2 mt-4",children:Array.from({length:Math.ceil(x.length/2)}).map((e,t)=>(0,r.jsx)("button",{className:"transition-all duration-300 ".concat(t===h?"w-6 h-1.5 rounded-full bg-primary":"w-1.5 h-1.5 rounded-full bg-gray-500 hover:bg-gray-400"),onClick:()=>{null==v||v.scrollTo(2*t)},"aria-label":"Go to badges ".concat(2*t+1,"-").concat(Math.min(2*t+2,x.length))},t))})]})]})})}},6168:(e,t,n)=>{"use strict";function r(e){let t=window.location.hostname;return -1===t.indexOf("orderwerks")?"http://".concat(t,":").concat(3004).concat(e):"".concat("https://marketing-api.orderwerks.com").concat(e)}n.d(t,{Y:()=>r})},6209:(e,t,n)=>{"use strict";n.d(t,{PreviewWrapper:()=>o});var r=n(1412);n(1608);let i=e=>{let{isPreviewMode:t}=e;return t?(0,r.jsx)("div",{className:"sticky top-0 bg-yellow-400 border-b border-yellow-500 px-4 py-2 z-50 shadow-md",children:(0,r.jsxs)("div",{className:"container mx-auto flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)("span",{className:"inline-block w-2 h-2 bg-yellow-600 rounded-full animate-pulse"}),(0,r.jsx)("span",{className:"text-yellow-900 font-medium",children:"Preview Mode - You are viewing draft content"})]}),(0,r.jsx)("button",{onClick:()=>{window.location.href="/api/exit-preview"},className:"bg-yellow-600 hover:bg-yellow-700 text-white px-4 py-1 rounded text-sm font-medium transition-colors",children:"Exit Preview"})]})}):null};function o(e){let{isPreviewMode:t,children:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i,{isPreviewMode:t}),n]})}},6226:e=>{let t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),o=e=>n(e).reduce((e,t)=>
7`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:n,upperFirst:r,camelCase:o,pascalCase:e=>r(o(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},6240:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map(function(e){return e.replace(a,"$2")}))}function d(e){return e.match(n)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,function(e,n){for(var r=0,i=t.length,o=e;r<i-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;o=o[t[r++]]}o[t[r]]=n})},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,function(e){for(var r=0,i=n.length;r<i;)if(null==e&&t)return;else e=e[n[r++]];return e})},join:function(e){return e.reduce(function(e,t){return e+(p(t)||r.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,n){!function(e,t,n){var a,s,l,c,u=e.length;for(s=0;s<u;s++)(a=e[s])&&(function(e){return!p(e)&&(e.match(i)&&!e.match(r)||o.test(e))}(a)&&(a='"'+a+'"'),l=!(c=p(a))&&/^\d+$/.test(a),t.call(n,a,c,l,s,e))}(Array.isArray(e)?e:d(e),t,n)}}},6284:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},f="en",m={};m[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var h="$isDayjsObject",y=function(e){return e instanceof E||!(!e||!e[h])},g=function e(t,n,r){var i;if(!t)return f;if("string"==typeof t){var o=t.toLowerCase();m[o]&&(i=o),n&&(m[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;m[s]=t,i=s}return!r&&i&&(f=i),i||!r&&f},v=function(e,t){if(y(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},b={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,s=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:o,y:s,w:i,d:"day",D:l,h:r,m:n,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=g,b.i=y,b.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function p(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[h]=!0}var f=p.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(u);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return b},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(e,t){var n=v(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return v(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<v(e)},f.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,a){var c=this,u=!!b.u(a)||a,d=b.p(e),p=function(e,t){var n=b.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?n:n.endOf("day")},f=function(e,t){return b.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c
7)},m=this.$W,h=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case s:return u?p(1,0):p(31,11);case o:return u?p(1,h):p(0,h+1);case i:var v=this.$locale().weekStart||0,E=(m<v?m+7:m)-v;return p(u?y-E:y+(6-E),h);case"day":case l:return f(g+"Hours",0);case r:return f(g+"Minutes",1);case n:return f(g+"Seconds",2);case t:return f(g+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,a){var c,u=b.p(i),d="set"+(this.$u?"UTC":""),p=((c={}).day=d+"Date",c[l]=d+"Date",c[o]=d+"Month",c[s]=d+"FullYear",c[r]=d+"Hours",c[n]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],f="day"===u?this.$D+(a-this.$W):a;if(u===o||u===s){var m=this.clone().set(l,1);m.$d[p](f),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[b.p(e)]()},f.add=function(e,a){var l,c=this;e=Number(e);var u=b.p(a),d=function(t){var n=v(c);return b.w(n.date(n.date()+Math.round(t*e)),c)};if(u===o)return this.set(o,this.$M+e);if(u===s)return this.set(s,this.$y+e);if("day"===u)return d(1);if(u===i)return d(7);var p=((l={})[n]=6e4,l[r]=36e5,l[t]=1e3,l)[u]||1,f=this.$d.getTime()+e*p;return b.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,p=n.meridiem,f=function(e,n,i,o){return e&&(e[
7n]||e(t,r))||i[n].slice(0,o)},m=function(e){return b.s(o%12||12,e,"0")},h=p||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return s+1;case"MM":return b.s(s+1,2,"0");case"MMM":return f(n.monthsShort,s,u,3);case"MMMM":return f(u,s);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,l,2);case"ddd":return f(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return b.s(o,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return h(o,a,!0);case"A":return h(o,a,!1);case"m":return String(a);case"mm":return b.s(a,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,c){var u,d=this,p=b.p(l),f=v(e),m=(f.utcOffset()-this.utcOffset())*6e4,h=this-f,y=function(){return b.m(d,f)};switch(p){case s:u=y()/12;break;case o:u=y();break;case a:u=y()/3;break;case i:u=(h-m)/6048e5;break;case"day":u=(h-m)/864e5;break;case r:u=h/36e5;break;case n:u=h/6e4;break;case t:u=h/1e3;break;default:u=h}return c?u:b.a(u)},f.daysInMonth=function(){return this.endOf(o).$D},f.$locale=function(){return m[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=g(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return b.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},p}(),x=E.prototype;return v.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),v.extend=function(e,t){return e.$i||(e(t,E,v),e.$i=!0),v},v.locale=g,v.isDayjs=y,v.unix=function(e){return v(1e3*e)},v.en=m[f],v.Ls=m,v.p={},v}()},6534:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceLinkBlock","definitions":{"ResourceLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-resource-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},6575:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading5","definitions":{"Heading5":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-5"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},6645:(e,t,n)=>{Promise.resolve().then(n.bind(n,8257)),Promise.resolve().then(n.bind(n,7795)),Promise.resolve().then(n.bind(n,8808)),Promise.resolve().then(n.t.bind(n,4477,23)),Promise.resolve().then(n.t.bind(n,1698,23))}
7,7172:(e,t,n)=>{"use strict";var r=n(3148),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var i=f(n);i&&i!==m&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),h=l(n),y=0;y<a.length;++y){var g=a[y];if(!o[g]&&!(r&&r[g])&&!(h&&h[g])&&!(s&&s[g])){var v=p(n,g);try{c(t,g,v)}catch(e){}}}}return t}},7422:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceLinkInline","definitions":{"ResourceLinkInline":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-resource-inline"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},7475:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(n||(t.BLOCKS=n={}))},7525:(e,t,n)=>{"use strict";var r=n(5538);n(3170);var i=n(1608),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),a=void 0!==r&&r.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?a:i;c(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
7Sheet(),this._optimizeForSpeed||(this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(e){return -1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var n="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(t){n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if("undefined"==typeof window){this._serverSheet.deleteRule(e);return}if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
7h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},t.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+u(e+"-"+n)),d[r]}function f(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var m=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=p(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:p(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),h=i.createContext(null);h.displayName="StyleSheetContext";var y=o.default.useInsertionEffect||o.default.useLayoutEffect,g="undefined"!=typeof window?new m:void 0;function v(e){var t=g||i.useContext(h);return t&&("undefined"==typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=v},7793:(e,t)=>
7{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(n||(t.MARKS=n={}))},7795:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(1412),i=n(1608);function o(e){let{faqs:t}=e,[n,o]=(0,i.useState)(null);return(0,r.jsx)("div",{className:"space-y-4",children:t.map((e,t)=>{let i=n===t;return(0,r.jsxs)("div",{className:"rounded-lg bg-gray-800 px-6 py-4",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>o(i?null:t),className:"flex w-full items-start justify-between text-left","aria-expanded":i,"aria-controls":"faq-answer-".concat(t),id:"faq-question-".concat(t),children:[(0,r.jsx)("span",{className:"text-base font-semibold leading-7 text-white",children:e.question}),(0,r.jsx)("span",{className:"ml-6 flex h-7 items-center",children:(0,r.jsx)("i",{className:"fas fa-chevron-down text-primary transition-transform duration-200 ".concat(i?"rotate-180":""),"aria-hidden":"true"})})]}),(0,r.jsx)("div",{id:"faq-answer-".concat(t),role:"region","aria-labelledby":"faq-question-".concat(t),className:"overflow-hidden transition-all duration-200 ".concat(i?"max-h-96 opacity-100 mt-4":"max-h-0 opacity-0"),children:(0,r.jsx)("div",{className:"pr-12",children:(0,r.jsx)("p",{className:"text-base leading-7 text-gray-300",children:e.answer})})})]},t)})})}},7848:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4477,23)),Promise.resolve().then(n.t.bind(n,1698,23))},7924:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryLinkInline","definitions":{"EntryLinkInline":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-entry-inline"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},7976:(e,t,n)=>{"use strict";n.d(t,{LearningMenu:()=>b});var r=n(1412),i=n(822),o=n.n(i),a=n(1608),s=n(5068),l=n(5703),c=n(3335);function u(e){return e.map(e=>"text"===e.nodeType?e.value:"content"in e?u(e.content):"").join("")}var d=n(4477),p=n.n(d),f=n(1406);function m(e,t){return!!t&&(e.replace(/\/$/,"")||"/")===(t.replace(/\/$/,"")||"/")}function h(e,t){var n,r;return!!m(t,e.href)||null!==(r=null===(n=e.children)||void 0===n?void 0:n.some(e=>h(e,t)))&&void 0!==r&&r}function y(e,t){let n=new Set;for(let r of e)if(r.children&&h(r,t))for(let e of(n.add(r.id),r.children))e.children&&h(e,t)&&n.add(e.id);return n}function g(e){let{item:t,depth:n,pathname:i,expandedIds:o,toggleSection:a,searchQuery:s}=e,l=m(i,t.href),c=!!(t.children&&t.children.length>0),u=o.has(t.id);return s.trim().length>0&&!function e(t,n){var r,i;let o=n.toLowerCase();return!!t.label.toLowerCase().includes(o)||null!==(i=null===(r=t.children)||void 0===r?void 0:r.some(t=>e(t,o)))&&void 0!==i&&i}(t,s)?null:!t.href&&c?(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{onClick:()=>a(t.id),className:"flex items-center justify-between w-full text-left py-2 group","aria-expanded":u,style:{paddingLeft:16*n},children:[(0,r.jsx)("span",{className:0===n?"text-amber-400 font-semibold text-sm":"text-slate-400 uppercase text-xs tracking-wider font-medium",children:t.label}),(0,r.jsx)("i",{className:"fa-solid fa-chevron-right text-xs text-slate-500 transition-transform duration-200 flex-shrink-0 ".concat(u?"rotate-90":"")})]}),u&&t.children&&(0,r.jsx)("div",{children:t.children.map(e=>(0,r.jsx)(g,{item:e,depth:n+1,pathname:i,expandedIds:o,toggleSection:a,searchQuery:s},e.id))})]}):t.href&&c?(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between py-1.5",style:{paddingLeft:16*n},children:[(0,r.jsxs)(p(),{href:t.href,className:"text-sm underline transition-colors flex-1 ".concat(l?"text-amber-400 font-medium":0===n?"text-amber-400 font-semibold hover:text-amber-300":"text-gray-200 hover:text-amber-400"),children:[l&&(0,r.jsx)("span",{className:"inline-block w-1.5 h-1.5 bg-amber-400 rounded-full mr-2 align-middle"}),t.label]}),(0,r.jsx)("button",{onClick:()=>a(t.id),className:"p-1 -mr-1 text-slate-500 hover:text-slate-300","aria-expanded":u,"aria-label":"".concat(u?"Collapse":"Expand"," ").concat(t.label),children:(0,r.jsx)("i",{className:"fa-solid fa-chevron-right text-xs transition-transform duration-200 ".concat(u?"rotate-90":"")})})]}),u&&t.children&&(0,r.jsx)("div",{children:t.children.map(e=>(0,r.jsx)(g,{item:e,depth:n+1,pathname:i,expandedIds:o,toggleSection:a,searchQuery:s},e.id))})]}):t.href||c?(0,r.jsxs)(p(),{href:t.href,className:"block py-1.5 text-sm transition-colors ".concat(l?"text-amber-400 font-medium bg-amber-500/10 rounded -mx-2 px-2 border-l-2 border-amber-500":n<=1?"text-gray-200 underline hover:text-amber-400":"text-gray-400 underline hover:text-amber-400"),style:l?{paddingLeft:16*n+6}:{paddingLeft:16*n},children:[l&&(0,r.jsx)("span",{className:"inline-block w-1.5 h-1.5 bg-amber-400 rounded-full mr-2 align-middle"}),t.label]}):(0,r.jsx)("div",{className:"py-1.5 text-slate-400 uppercase text-xs tracking-wider font-medium",style:{paddingLeft:16*n},children:t.label})}function v(e){let{navItems:t}=e,n=(0,f.usePathname)(),[i,s]=(0,a.useState)(!1),[l,c]=(0,a.useState)(""),[u,d]=(0,a.useState)(()=>y(t,n)),[p,m]=(0,a.useState)(118),h=(0,a.useRef)(null),v=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=document.querySelector("header");if(!e)return;let t=()=>{m(Math.round(e.getBoundingClientRect().height))};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,a.useEffect)(()=>{d(y(t,n))},[n,t]),(0,a.useEffect)(()=>{s(!1)},[n]),(0,a.useEffect)(()=>(i?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[i]),(0,a.useEffect)(()=>
7{if(!i)return;let e=e=>{if("Escape"===e.key){var t;s(!1),null===(t=h.current)||void 0===t||t.focus()}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[i]),(0,a.useEffect)(()=>{i&&setTimeout(()=>{var e;return null===(e=v.current)||void 0===e?void 0:e.focus()},300)},[i]);let b=(0,a.useCallback)(e=>{d(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),E=(0,a.useCallback)(()=>{d(function(e){let t=new Set;for(let i of e){var n,r;if(null===(n=i.children)||void 0===n?void 0:n.length)for(let e of(t.add(i.id),i.children))(null===(r=e.children)||void 0===r?void 0:r.length)&&t.add(e.id)}return t}(t))},[t]),x=(0,a.useCallback)(()=>{d(new Set)},[]),S=(0,a.useCallback)(()=>{c("")},[]),_=(0,a.useMemo)(()=>{if(!l.trim())return u;let e=new Set,n=l.toLowerCase();return!function t(r,i){let o=!1;for(let a of r){let r=a.label.toLowerCase().includes(n),s=!!a.children&&t(a.children,[...i,a.id]);(r||s)&&(o=!0,i.forEach(t=>e.add(t)),s&&e.add(a.id))}return o}(t,[]),e},[l,t,u]),w=l.trim().length>0,T=(0,a.useMemo)(()=>w?(function e(t){return t.flatMap(t=>[...t.href?[t]:[],...t.children?e(t.children):[]])})(t).filter(e=>e.label.toLowerCase().includes(l.toLowerCase())).length:0,[w,l,t]);return 0===t.length?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed left-0 right-0 z-[35] flex justify-center items-center py-2 bg-slate-800 border-b border-slate-700 lg:hidden",style:{top:p},children:(0,r.jsxs)("button",{ref:h,onClick:()=>s(!0),className:"flex items-center gap-2 px-4 py-2 text-sm font-medium text-gray-300 hover:text-white bg-slate-700 border border-slate-600 rounded-lg transition-colors","aria-expanded":i,"aria-controls":"mobile-learn-drawer",children:[(0,r.jsx)("i",{className:"fa-solid fa-book-open text-sm"}),"Learn Menu",(0,r.jsx)("i",{className:"fa-solid fa-chevron-down text-xs"})]})}),(0,r.jsx)("div",{className:"fixed inset-0 z-[45] bg-black/60 backdrop-blur-sm lg:hidden",style:{opacity:+!!i,pointerEvents:i?"auto":"none",transition:"opacity 0.3s ease-out",top:p},onClick:()=>s(!1),"aria-hidden":"true"}),(0,r.jsxs)("div",{id:"mobile-learn-drawer",role:"dialog","aria-modal":"true","aria-label":"Learning menu",style:{top:p,height:"calc(100dvh - ".concat(p,"px)"),width:"min(85vw, 360px)",transform:i?"translateX(0)":"translateX(-100%)",transition:"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},className:"jsx-1eac8897a1804965 fixed left-0 z-[50] flex flex-col bg-slate-900 border-r border-slate-700 lg:hidden overflow-hidden",children:[(0,r.jsxs)("div",{className:"jsx-1eac8897a1804965 flex-shrink-0 border-b border-slate-700",children:[(0,r.jsxs)("div",{className:"jsx-1eac8897a1804965 flex items-center justify-between px-4 py-3",children:[(0,r.jsxs)("h3",{className:"jsx-1eac8897a1804965 text-base font-semibold text-white flex items-center gap-2",children:[(0,r.jsx)("i",{className:"jsx-1eac8897a1804965 fa-solid fa-book-open text-amber-400"}),"Learn"]}),(0,r.jsx)("button",{onClick:()=>s(!1),"aria-label":"Close learning menu",className:"jsx-1eac8897a1804965 p-1.5 text-slate-400 hover:text-white rounded-lg hover:bg-slate-800 transition-colors",children:(0,r.jsx)("i",{className:"jsx-1eac8897a1804965 fa-solid fa-xmark text-lg"})})]}),(0,r.jsx)("div",{className:"jsx-1eac8897a1804965 px-4 pb-3",children:(0,r.jsxs)("div",{className:"jsx-1eac8897a1804965 relative",children:[(0,r.jsx)("i",{className:"jsx-1eac8897a1804965 fa-solid fa-magnifying-glass absolute left-3 top-1/2 -translate-y-1/2 text-sm text-slate-500"}),(0,r.jsx)("input",{ref:v,type:"text",value:l,onChange:e=>c(e.target.value),placeholder:"Search topics...","aria-label":"Search learning articles",className:"jsx-1eac8897a1804965 w-full bg-slate-800 border border-slate-700 rounded-lg py-2 pl-9 pr-8 text-sm text-white placeholder-slate-500 focus:outline-none focus:border-amber-500 transition-colors"}),l&&(0,r.jsx)("button",{onClick:S,"aria-label":"Clear search",className:"jsx-1eac8897a1804965 absolute right-2.5 top-1/2 -translate-y-1/2 text-slate-500 hover:text-slate-300",children:(0,r.jsx)("i",{className:"jsx-1eac8897a1804965 fa-solid fa-xmark text-sm"})})]})}),!w&&(0,r.jsxs)("div",{className:"jsx-1eac8897a1804965 flex items-center gap-3 px-4 pb-3",children:[(0,r.jsx)("button",{onClick:E,className:"jsx-1eac8897a1804965 text-xs text-slate-400 hover:text-slate-300 underline",children:"Expand All"}),(0,r.jsx)("button",{onClick:x,className:"jsx-1eac8897a1804965 text-xs text-slate-400 hover:text-slate-300 underline",children:"Collapse All"})]})]}),(0,r.jsx)("div",{className:"jsx-1eac8897a1804965 flex-1 overflow-y-auto px-4 py-3 mobile-learn-drawer-scroll",children:w&&0===T?(0,r.jsx)("div",{className:"jsx-1eac8897a1804965 text-center py-8 text-slate-500 text-sm",children:"No topics foun
7d"}):t.map(e=>(0,r.jsx)(g,{item:e,depth:0,pathname:n,expandedIds:_,toggleSection:b,searchQuery:l},e.id))}),(0,r.jsx)(o(),{id:"1eac8897a1804965",children:".mobile-learn-drawer-scroll.jsx-1eac8897a1804965{scrollbar-width:thin;scrollbar-color:#374151#1e293b}.mobile-learn-drawer-scroll.jsx-1eac8897a1804965::-webkit-scrollbar{width:6px}.mobile-learn-drawer-scroll.jsx-1eac8897a1804965::-webkit-scrollbar-track{background:#1e293b}.mobile-learn-drawer-scroll.jsx-1eac8897a1804965::-webkit-scrollbar-thumb{background:#374151;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.mobile-learn-drawer-scroll.jsx-1eac8897a1804965::-webkit-scrollbar-thumb:hover{background:#4b5563}"})]})]})}let b=e=>{let{navData:t,isPreviewMode:n=!1}=e,i=(0,l.qM)(t,{locale:"en-US"}),d=(0,a.useMemo)(()=>{var e;return(null==i?void 0:null===(e=i.fields)||void 0===e?void 0:e.navLink)?(0,s.v)(i.fields.navLink):""},[i]),p=(0,a.useMemo)(()=>{var e;return(null==i?void 0:null===(e=i.fields)||void 0===e?void 0:e.navLink)?function(e){if(!(null==e?void 0:e.content))return[];let t=e.content.find(e=>e.nodeType===c.BLOCKS.UL_LIST);if(!t)return[];let n=new Map;return t.content.map(e=>(function e(t,n){var r;let i,o,a=t.content.find(e=>e.nodeType===c.BLOCKS.PARAGRAPH);if(!a)return null;let s="",l=a.content.find(e=>e.nodeType===c.INLINES.HYPERLINK);if(l?(s=u(l.content).trim(),i=l.data.uri):s=u(a.content).trim(),!s)return null;let d=s.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"");d||(d="item");let p=null!==(r=n.get(d))&&void 0!==r?r:0;n.set(d,p+1);let f=0===p?d:"".concat(d,"-").concat(p+1),m=t.content.find(e=>e.nodeType===c.BLOCKS.UL_LIST);if(m){let t=m.content.map(t=>e(t,n)).filter(Boolean);t.length>0&&(o=t)}return{id:f,label:s,href:i,children:o}})(e,n)).filter(Boolean)}(i.fields.navLink):[]},[i]);return t?(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"hidden lg:block",children:(0,r.jsx)("div",{className:"lg:sticky lg:top-24 lg:h-[calc(100vh-8rem)] lg:overflow-y-auto learning-menu-container",children:(0,r.jsxs)("div",{className:"jsx-88780927db01312e bg-gray-800 rounded-lg p-6",children:[(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:d},className:"jsx-88780927db01312e learning-menu"}),(0,r.jsx)(o(),{id:"88780927db01312e",children:".learning-menu-container.jsx-88780927db01312e{scrollbar-width:thin;scrollbar-color:#374151#1f2937}.learning-menu-container.jsx-88780927db01312e::-webkit-scrollbar{width:8px}.learning-menu-container.jsx-88780927db01312e::-webkit-scrollbar-track{background:#1f2937;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.learning-menu-container.jsx-88780927db01312e::-webkit-scrollbar-thumb{background:#374151;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.learning-menu-container.jsx-88780927db01312e::-webkit-scrollbar-thumb:hover{background:#4b5563}.learning-menu.jsx-88780927db01312e a{text-decoration:underline;color:#e5e7eb;-webkit-transition:color.2s;-moz-transition:color.2s;-o-transition:color.2s;transition:color.2s}.learning-menu.jsx-88780927db01312e a:hover{color:#fbbf24}.learning-menu.jsx-88780927db01312e ul{margin-left:1rem;list-style:none}.learning-menu.jsx-88780927db01312e ul:first-child{margin-left:0}.learning-menu.jsx-88780927db01312e ul:first-child>li{color:#fbbf24;margin-bottom:1rem;font-weight:600}.learning-menu.jsx-88780927db01312e ul:first-child>li ul{color:#e5e7eb;font-weight:400;margin-top:.5rem}.learning-menu.jsx-88780927db01312e ul:first-child>li ul li{margin-bottom:.5rem}"})]})})}),(0,r.jsx)("div",{className:"lg:hidden",children:(0,r.jsx)(v,{navItems:p})})]}):(0,r.jsx)("div",{className:"bg-gray-800 rounded-lg p-6",children:(0,r.jsxs)("div",{className:"animate-pulse",children:[(0,r.jsx)("div",{className:"h-4 bg-gray-700 rounded w-3/4 mb-4"}),(0,r.jsx)("div",{className:"h-4 bg-gray-700 rounded w-1/2 mb-4"}),(0,r.jsx)("div",{className:"h-4 bg-gray-700 rounded w-2/3"})]})})}},8032:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4477,23))},8111:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1412),i=n(1608),o=n(620),a=n(1029);let s=(0,a.A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),l=(0,a.A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);function c(e){let{id:t,name:n,placeholder:a,className:c,autoComplete:u,buttonClassName:d}=e,[p,f]=(0,i.useState)(!1);return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(o.D0,{type:p?"text":"password",id:t,name:n,placeholder:a,autoComplete:u,className:c}),(0,r.jsx)("button",{type:"button",onClick:()=>f(!p),"aria-label":p?"Hide password":"Show password",className:null!=d?d:"absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400 hover:text-gray-300 transition-colors",children:p?(0,r.jsx)(s,{className:"h-5 w-5"}):(0,r.jsx)(l,{className:"h-5 w-5"})})]})}},8122:e=>{function t(e,t){var n=e.length,r=Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!s.has(e[0])||!s.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)i[o]||function e(t,o,l){if(l.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(e){c=""}throw Error("Cyclic dependency"+c)}if(!s.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[o]){i[o]=!0;var u=a.get(t)||new Set;if(o=(u=Array.from(u)).length){l.add(t);do{var d=u[--o];e(d,s.get(d),l)}while(o);l.delete(t)}r[--n]=t}}(e[o],o,new Set);return r}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},8141:(e,t)=>{"use strict";var n;
7Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(n||(t.INLINES=n={}))},8257:(e,t,n)=>{"use strict";n.d(t,{default:()=>y});var r=n(1412),i=n(620),o=n(5217),a=n(1608),s=n(2216),l=n(5580),c=n(6168),u=n(9663),d=n(1460),p=n(9466);let f=o.Ik({name:o.Yj().required("Full name is required"),email:o.Yj().email("Invalid email address").required("Email is required"),phone:o.Yj(),stateCountry:o.Yj(),companyName:o.Yj().required("Company name is required"),companyWebsite:o.Yj().url("Invalid URL"),bringsToUs:o.Yj(),monthlyOrderVolume:o.Yj(),whatsYourBiggestChallenge:o.Yj(),mailingList:o.zM()}),m={name:"",email:"",phone:"",stateCountry:"",companyName:"",companyWebsite:"",bringsToUs:"",monthlyOrderVolume:"",whatsYourBiggestChallenge:"",mailingList:!1},h={name:!0,email:!0,phone:!0,stateCountry:!0,companyName:!0,companyWebsite:!0,bringsToUs:!0,monthlyOrderVolume:!0,whatsYourBiggestChallenge:!0,mailingList:!0};function y(){let{calendlyUrl:e,onSuccess:t,visibleFields:n,submitText:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},y={...h,...n},[g,v]=(0,a.useState)(!1),{executeRecaptcha:b}=(0,u.lw)(),E=async(e,n)=>{let{setSubmitting:r}=n;try{(0,s.yA)(),(0,s._D)("book_demo");let n=await b("book_demo");if(!n)throw Error("Recaptcha token is required");let r={formGuid:"book-demo-form",portalId:"orderwerks","g-recaptcha-response":n,recaptcha:n,invisibleRecaptcha:"true",email:e.email,name:e.name,phone:e.phone,stateCountry:e.stateCountry,companyName:e.companyName,companyWebsite:e.companyWebsite,bringsToUs:e.bringsToUs,monthlyOrderVolume:parseInt(e.monthlyOrderVolume),whatsYourBiggestChallenge:e.whatsYourBiggestChallenge,"mailing-list":e.mailingList?"yes":"no",...(0,d.Yx)()},i=(0,c.Y)(l.A.REQUEST_DEMO_FULL),o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)},a=await fetch(i,o);if(200===a.status)(0,p.p)("book_demo"),v(!0),(0,s.TR)(),(0,s.OQ)(),(0,s.qZ)("book-a-demo"),null==t||t();else throw Error("Failed to submit demo request")}catch(e){alert("There was an error submitting your request. Please try again.")}finally{r(!1)}};return g?(0,r.jsxs)("div",{className:"rounded-lg bg-green-900/20 p-8 text-center",children:[(0,r.jsx)("svg",{className:"mx-auto h-12 w-12 text-green-400",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,r.jsx)("h3",{className:"mt-4 text-lg font-semibold text-white",children:"Thank you for your interest!"}),(0,r.jsx)("p",{className:"mt-2 text-gray-300",children:e?"Now pick a time that works for you:":"We'll be in touch within 24 hours to schedule your demo."}),e&&(0,r.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"mt-6 inline-flex items-center rounded-md bg-primary px-8 py-3 text-base font-semibold text-white shadow-sm hover:bg-primary/90",children:["Schedule Your Call Now",(0,r.jsx)("i",{className:"fas fa-chevron-right ml-2 text-sm","aria-hidden":"true"})]})]}):(0,r.jsx)(i.l1,{initialValues:m,validationSchema:f,onSubmit:E,children:e=>{let{isSubmitting:t,values:n}=e;return(0,r.jsxs)(i.lV,{className:"space-y-6","data-hj-allow":!0,children:[(0,r.jsx)("input",{type:"hidden",name:"form_name",value:"book_demo"}),(0,r.jsx)(p.A,{formName:"book_demo",values:n,submitted:g,initialValues:m}),y.name&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"name",className:"block text-sm font-semibold leading-6 text-white",children:["Full Name",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"text",name:"name",id:"name",autoComplete:"name",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"name",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.email&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"email",className:"block text-sm font-semibold leading-6 text-white",children:["Email",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"email",name:"email",id:"email",autoComplete:"email",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"email",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.phone&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"phone",className:"block text-sm font-semibold leading-6 text-white",children:"Phone Number"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"tel",name:"phone",id:"phone",autoComplete:"tel",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"phone",component:"div",className:"mt-1 text-sm text-red-400"})]})]}
7),y.companyName&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:"companyName",className:"block text-sm font-semibold leading-6 text-white",children:["Company Name",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"text",name:"companyName",id:"companyName",autoComplete:"organization",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"companyName",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.companyWebsite&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"companyWebsite",className:"block text-sm font-semibold leading-6 text-white",children:"Company Website"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"url",name:"companyWebsite",id:"companyWebsite",autoComplete:"url",placeholder:"https://www.example.com",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"companyWebsite",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.stateCountry&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"stateCountry",className:"block text-sm font-semibold leading-6 text-white",children:"State/Country"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{type:"text",name:"stateCountry",id:"stateCountry",autoComplete:"address-level1",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6"}),(0,r.jsx)(i.Kw,{name:"stateCountry",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.monthlyOrderVolume&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"monthlyOrderVolume",className:"block text-sm font-semibold leading-6 text-white",children:"Monthly Order Volume"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsxs)(i.D0,{as:"select",name:"monthlyOrderVolume",id:"monthlyOrderVolume",className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6",children:[(0,r.jsx)("option",{value:"",children:"Select..."}),(0,r.jsx)("option",{value:"100",children:"Less than 100 orders"}),(0,r.jsx)("option",{value:"300",children:"100-500 orders"}),(0,r.jsx)("option",{value:"750",children:"500-1000 orders"}),(0,r.jsx)("option",{value:"3000",children:"1000-5000 orders"}),(0,r.jsx)("option",{value:"10000",children:"More than 5000 orders"})]}),(0,r.jsx)(i.Kw,{name:"monthlyOrderVolume",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.bringsToUs&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"bringsToUs",className:"block text-sm font-semibold leading-6 text-white",children:"What brings you to Orderwerks?"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{as:"textarea",name:"bringsToUs",id:"bringsToUs",rows:3,className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6",placeholder:"Tell us what brought you to Orderwerks..."}),(0,r.jsx)(i.Kw,{name:"bringsToUs",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.whatsYourBiggestChallenge&&(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"whatsYourBiggestChallenge",className:"block text-sm font-semibold leading-6 text-white",children:"What's your biggest challenge?"}),(0,r.jsxs)("div",{className:"mt-2.5",children:[(0,r.jsx)(i.D0,{as:"textarea",name:"whatsYourBiggestChallenge",id:"whatsYourBiggestChallenge",rows:4,className:"block w-full rounded-md border-0 bg-gray-800 px-3.5 py-2 text-white shadow-sm ring-1 ring-inset ring-gray-700 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary sm:text-sm sm:leading-6",placeholder:"Tell us about your current order management challenges..."}),(0,r.jsx)(i.Kw,{name:"whatsYourBiggestChallenge",component:"div",className:"mt-1 text-sm text-red-400"})]})]}),y.mailingList&&(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(i.D0,{type:"checkbox",name:"mailingList",id:"mailingList",className:"h-4 w-4 roun
7ded border-gray-700 bg-gray-800 text-primary focus:ring-2 focus:ring-primary"}),(0,r.jsx)("label",{htmlFor:"mailingList",className:"ml-2 block text-sm text-gray-300",children:"I'd like to receive updates and news from Orderwerks"})]}),(0,r.jsx)("div",{className:"mt-8",children:(0,r.jsx)("button",{type:"submit",disabled:t,className:"block w-full rounded-md bg-primary px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-sm hover:bg-primary/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:opacity-50 disabled:cursor-not-allowed",children:t?"Submitting...":o||"Schedule Demo"})})]})}})}},8392:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading4","definitions":{"Heading4":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-4"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},8426:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(1608),i=n(1460);function o(){let[e,t]=(0,r.useState)({});return(0,r.useEffect)(()=>{let e=(0,i.Q3)();Object.keys(e).length>0?((0,i.WE)(e),t(e)):t((0,i.R3)())},[]),e}},8543:(e,t,n)=>{"use strict";n.d(t,{vO:()=>i,vo:()=>r});let r={"web-portal":[{id:"uVSUjh84QAFbkyqyfU19",label:"Web Portal Demo",title:"Web Portal Demo"}],"sales-app":[{id:"rMHY3GrXffmHAnan5UPc",label:"Mobile App Demo",title:"Mobile App Demo"}],"b2b-portal":[{id:"hi2RmsWwDlmXUsO5sbjl",label:"B2B eCommerce Portal Demo",title:"B2B eCommerce Portal Demo"}],enroute:[{id:"MvyNTu16EMY6HQ4e3SjX",label:"Full Platform Demo",title:"Full Platform Demo"}]},i=[{slug:"all",label:"All Industries",callouts:[]},{slug:"wine-spirits",label:"Wine & Spirits",callouts:["Automated NY SLA compliance reporting","Instant Territory Price Sheets","Route-Based DSD & Van Sales"]},{slug:"firearms",label:"Firearms",callouts:["FastBound FFL","Serial number tracking per order","Multi-Channel + Compliance"]},{slug:"tobacco",label:"Tobacco",callouts:["Federal Tax Stamp Reporting","Regulated Pricing & Tax","Route-Based DSD, Van Sales & Territory"]},{slug:"wholesale-distribution",label:"Wholesale Distribution",callouts:["Customer-Specific Pricing","Purchase Orders & Vendor Source Management","Route-Based Delivery & Van Sales"]},{slug:"manufacturing",label:"Manufacturing",callouts:["Advanced B2B Pricing Engine","Inventory & Warehouse Operations","Commission & Rep Management"]}]},8714:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(1608);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>
7e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function l(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function p(e){return Math.sign(e)}function f(e){return g(e).map(Number)}function m(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function y(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function v(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function E(e=0,t=0){let n=d(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function x(e){let t=e;function n(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function S(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let a=Math.round(100*e.direction(t))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}let _={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function w(e,t,n){let r,i,o,a,T,O=e.ownerDocument,j=O.defaultView,N=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let i=t[r],o=n[r],a=u(i)&&u(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(j),C=(T=[],{init:function(e,t){return(T=t.filter(({options:e})=>!1!==N.optionsAtMedia(e).active)).forEach(t=>t.init(e,N)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){T=T.filter(e=>e.destroy())}}),L=b(),k=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:I,optionsAtMedia:A,optionsMediaQueries:D}=N,{on:R,off:P,emit:M}=k,B=!1,$=I(_,w.globalOptions),K=I($),F=[];function U(t,n){if(B)return;K=A($=I($,t)),F=n||F;let{container:u,slides:_}=K;o=(l(u)?e.querySelector(u):u)||e.children[0];let w=l(_)?o.querySelectorAll(_):_;a=[].slice.call(w||o.children),r=function t(n){let r=function(e,t,n,r,i,o,a){let u,_,{align:w,axis:T,direction:O,startIndex:j,loop:N,duration:C,dragFree:L,dragThreshold:k,inViewThreshold:I,slidesToScroll:A,skipSnaps:D,containScroll:R,watchResize:P,watchSlides:M,watchDrag:B,watchFocus:$}=o,K={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},F=K.measure(t),U=n.map(K.measure),H=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(T,O),q=H.measureSize(F),G={measure:function(e){return e/100*q}},z=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}}
7;return{measure:function(r,i){return l(e)?n[e](r):e(t,r,i)}}}(w,q),Y=!N&&!!R,{slideSizes:V,slideSizesWithGaps:W,startGap:J,endGap:Z}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:s,endEdge:l}=e,c=n[0]&&i,u=function(){if(!c)return 0;let e=n[0];return d(t[s]-e[s])}(),p=c?parseFloat(o.getComputedStyle(m(r)).getPropertyValue(`margin-${l}`)):0,f=n.map(a),y=n.map((e,t,n)=>{let r=t===h(n);return t?r?f[t]+p:n[t+1][s]-e[s]:f[t]+u}).map(d);return{slideSizes:f,slideSizesWithGaps:y,startGap:u,endGap:p}}(H,F,U,n,N||!!R,i),Q=function(e,t,n,r,i,o,a,l,c){let{startEdge:u,endEdge:p,direction:y}=e,g=s(n);return{groupSlides:function(e){return g?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,s,c)=>{let f=m(n)||0,g=s===h(e),v=i[u]-o[f][u],b=i[u]-o[s][p],E=r||0!==f?0:y(a),x=d(b-(!r&&g?y(l):0)-(v+E));return c&&x>t+2&&n.push(s),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(H,q,A,N,F,U,J,Z,0),{snaps:X,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,l=s(r).map(e=>m(e)[a]-e[0][o]).map(d).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-d(e)),u=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:u}}(H,z,F,U,Q),et=-m(X)+m(W),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=E(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),s=t===h(n);return t?s||function(e,t){return 1>=d(e-t)}(r,a)?r:function(e,t){return 1>=d(e-t)}(i,a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),s=function(){let e=a[0],t=m(a);return E(a.lastIndexOf(e),a.indexOf(t)+1)}();function l(e,t){return 1>=d(e-t)}return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=s;return a.slice(n,i)}(),scrollContainLimit:s}}(q,et,ee,R,0),ei=Y?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:E(n?r-e:m(t),r)}}(et,ei,N),ea=function e(t,n,r){let{constrain:i}=E(0,t),o=t+1,a=s(n);function s(e){return r?d((o+e)%o):i(e)}function l(){return e(t,a,r)}let c={get:function(){return a}
7,set:function(e){return a=s(e),c},add:function(e){return l().set(a+e)},clone:l};return c}(h(ei),j,N),es=ea.clone(),el=f(n),ec=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},eu=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},p)=>{let f=e.settled(),m=!u.shouldConstrain(),h=d?f:f&&m,y=h&&!s.pointerDown();y&&l.stop();let g=n.get()*p+i.get()*(1-p);r.set(g),d&&(o.loop(e.direction()),a.loop()),t.to(r.get()),y&&c.emit("settle"),h||c.emit("scroll")},ed=function(e,t,n,r){let i=b(),o=1e3/60,a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e,n(),n());let i=e-a;for(a=e,s+=i;s>=o;)n(),s-=o;r(s/o),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>ec(eT),e=>eu(eT,e)),ep=ei[ea.get()],ef=x(ep),em=x(ep),eh=x(ep),ey=x(ep),eg=function(e,t,n,r,i,o){let a=0,s=0,l=i,c=.68,u=e.get(),f=0;function m(e){return l=e,y}function h(e){return c=e,y}let y={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(){let t=r.get()-e.get(),i=0;return l?(n.set(e),a+=t/l,a*=c,u+=a,e.add(a),i=u-f):(a=0,n.set(r),e.set(r),i=t),s=p(i),f=u,y},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return m(i)},useFriction:h,useDuration:m};return y}(ef,eh,em,ey,C,.68),ev=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let o=i.filter(e=>p(e)===r);return o.length?l(o):m(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:u,distance:p}=function(n){let r=e?a(n):s(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:r}}(l),f=!e&&o(l);if(!r||f)return{index:u,distance:n};let m=n+c(t[u]-p,0);return{index:u,distance:m}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(N,ei,et,eo,ey),eb=function(e,t,n,r,i,o,a){function s(i){let s=i.distance,l=i.index!==t.get();
7o.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ed,ea,es,eg,ev,ey,a),eE=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ex=b(),eS=function(e,t,n,r){let i,o={},a=null,s=null,l=!1;return{init:function(){i=new IntersectionObserver(e=>{l||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;let t=g(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(s=t),t}}}(t,n,a,I),{slideRegistry:e_}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:s,max:l}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(s,l).map((e,t,n)=>{let r=t===h(n);return t?r?y(h(o)-m(n)[0]+1,m(n)[0]):e:y(m(n[0])+1)}):r}()}}(Y,R,ei,er,Q,el),ew=function(e,t,n,r,i,o,a,l){let u={passive:!0,capture:!0},d=0;function p(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(f){l&&(o.add(document,"keydown",p,!1),t.forEach((t,p)=>{o.add(t,"focus",t=>{(c(l)||l(f,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));s(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(p)},u)}))}}}(e,n,e_,eb,eg,ex,a,$),eT={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:F,slideRects:U,animation:ed,axis:H,dragHandler:function(e,t,n,r,i,o,a,s,l,u,f,m,h,y,g,x,S,_,w){let{cross:T,direction:O}=e,j=["INPUT","SELECT","TEXTAREA"],N={passive:!1},C=b(),L=b(),k=E(50,225).constrain(y.measure(20)),I={mouse:300,touch:400},A={mouse:500,touch:600},D=g?43:25,R=!1,P=0,M=0,B=!1,$=!1,K=!1,F=!1;function U(e){if(!v(e,r)&&e.touches.length>=2)return H(e);let t=o.readPoint(e),n=o.readPoint(e,T),a=d(t-P),l=d(n-M);if(!$&&!F&&(!e.cancelable||!($=a>l)))return H(e);let c=o.pointerMove(e);a>x&&(K=!0),u.useFriction(.3).useDuration(.75),s.start(),i.add(O(c)),e.preventDefault()}function H(e){let t=f.byDistance(0,!1).index!==m.get(),n=o.pointerUp(e)*(g?A:I)[F?"mouse":"touch"],r=function(e,t){let n=m.add(-+p(e)),r=f.byDistance(e,!g).distance;return g||d(e)<k?r:S&&t?.5*r:f.byIndex(n.get(),0).distance}(O(n),t),i=function(e,t){var n,r;if(0===e||0===t||d(e)<=d(t))return 0;let i=(n=d(e),r=d(t),d(n-r));return d(i/e)}(n,r);$=!1,B=!1,L.clear(),u.useDuration(D-10*i).useFriction(.68+i/50),l.distance(r,!g),F=!1,h.emit("pointerUp")}function q(e){K&&(e.stopPropagation(),e.preventDefault(),K=!1)}return{init:function(e){w&&C.add(t,"dragstart",e=>e.preventDefault(),N).add(t,"touchmove",()=>void 0,N).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",H).add(t,"contextmenu",H).add(t,"click",q,!0);function s(s){(c(w)||w(e,s))&&function(e){let s=v(e,r);if(F=s,K=g&&s&&!e.buttons&&R,R=d(i.get()-a.get())>=2,(!s||0===e.button)&&!function(e){let t=e.nodeName||"";return j.includes(t)}(e.target)){B=!0,o.pointerDown(e),u.useFriction(0).useDuration(0),i.set(a);let r=F?n:t;L.add(r,"touchmove",U,N).add(r,"touchend",H).add(r,"mousemove",U,N).add(r,"mouseup",H),P=o.readPoint(e),M=o.readPoint(e,T),h.emit("pointerDown")}}(s)}},destroy:function(){C.clear(),L.clear()},pointerDown:function(){return B}}}(H,e,r,i,ey,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(v(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),s=i(e)-i(r)>170,l=t/a;return a&&!s&&d(l)>.1?l:0},readPoint:o}}(H,i),ef,ed,eb,eg,ev,ea,a,G,L,k,D,0,B),eventStore:ex,percentOfView:G,index:ea,indexPrevious:es,limit:eo,location:ef,offsetLocation:eh,previousLocation:em,options:o,resizeHandler:function(e,t,n,r,i,o,a){let s,l,u=[e].concat(r),p=[],f=!1;function m(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(l=m(e),p=r.map(m),s=new ResizeObserver(n=>{(c(o)||o(i,n))&&function(n){for(let o of n){if(f)return;let n=o.target===e,a=r.indexOf(o.target),s=n?l:p[a];if(d(m(n?e:r[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
7{u.forEach(e=>s.observe(e))}))},destroy:function(){f=!0,s&&s.disconnect()}}}(t,a,i,n,H,P,K),scrollBody:eg,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),s=E(.1,.99),l=!1;function c(){return!!(!l&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(i){if(!c())return;let l=e.reachedMin(t.get())?"min":"max",u=d(e[l]-t.get()),p=n.get()-t.get(),f=s.constrain(u/a);n.subtract(p*f),!i&&d(p)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eo,eh,ey,eg,G),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=E(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-(e*+t);r.forEach(e=>e.add(a))}}}(et,eo,eh,[ef,eh,em,ey]),scrollProgress:eE,scrollSnapList:ei.map(eE.get),scrollSnaps:ei,scrollTarget:ev,scrollTo:eb,slideLooper:function(e,t,n,r,i,o,a,s,l){let c=f(i),u=f(i).reverse(),d=h(m(u,a[0]),n,!1).concat(h(m(c,t-a[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(i,a,c){let u=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=u[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:x(-1),translate:S(e,l[t]),target:()=>s.get()>o?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(c.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(H,q,et,V,W,X,ei,eh,n),slideFocus:ew,slidesHandler:(_=!1,{init:function(e){M&&(u=new MutationObserver(t=>{!_&&(c(M)||M(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){u&&u.disconnect(),_=!0}}),slidesInView:eS,slideIndexes:el,slideRegistry:e_,slidesToScroll:Q,target:ey,translate:S(H,t)};return eT}(e,o,a,O,j,n,k);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(K),D([$,...F.map(({options:e})=>e)]).forEach(e=>L.add(e,"change",H)),K.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(Y),r.eventHandler.init(Y),r.resizeHandler.init(Y),r.slidesHandler.init(Y),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init(Y),i=C.init(Y,F))}function H(e,t){let n=z();q(),U(I({startIndex:n},e),t),k.emit("reInit")}function q(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),C.destroy(),L.clear()}function G(e,t,n){K.active&&!B&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:K.duration),r.scrollTo.index(e,n||0))}function z(){return r.index.get()}let Y={canScrollNext:function(){return r.index.add(1).get()!==z()},canScrollPrev:function(){return r.index.add(-1).get()!==z()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){B||(B=!0,L.clear(),q(),k.emit("destroy"),k.clear())},off:P,on:R,emit:M,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:H,rootNode:function(){return e},scrollNext:function(e){G(r.index.add(1).get(),e,-1)},scrollPrev:function(e){G(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:G,selectedScrollSnap:z,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return U(t,n),setTimeout(()=>k.emit("init"),0),Y}function T(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[s,l]=(0,r.useState)(),[c,u]=(0,r.useState)(),d=(0,r.useCallback)(()=>{s&&s.reInit(n.current,i.current)},[s]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>
7{if("undefined"!=typeof window&&window.document&&window.document.createElement&&c){w.globalOptions=T.globalOptions;let e=w(c,n.current,i.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[u,s]}w.globalOptions=void 0,T.globalOptions=void 0},8752:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceHyperlink","definitions":{"ResourceHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["resource-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},8808:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1412),i=n(2269),o=n(1608);let a={g2:{rating:4.8,reviewCount:38,displayRating:"4.8/5",displayReviews:"38+ reviews",profileUrl:"https://www.g2.com/products/orderwerks/reviews",badgeCount:6,badgeSeason:"Summer 2026"}},s=[{name:"Capterra",href:"https://www.capterra.com/p/177956/Orderwerks/reviews/",imageSrc:"https://brand-assets.capterra.com/badge/b12b71e3-39d0-4582-a36b-313a8062c6f9.svg",alt:"Orderwerks reviews on Capterra",width:200,height:60},{name:"GetApp",href:"https://www.getapp.com/operations-management-software/a/orderwerks/reviews/",imageSrc:"https://brand-assets.getapp.com/badge/c294e889-e1a8-4fa1-8526-84718ba44f72.png",alt:"Orderwerks reviews on GetApp",width:200,height:60},{name:"Software Advice",href:"https://www.softwareadvice.com/scm/orderwerks-profile/reviews/",imageSrc:"https://brand-assets.softwareadvice.com/badge/3db0b16a-c141-4247-9cd1-2dc35453eca7.png",alt:"Orderwerks reviews on Software Advice",width:200,height:60}];function l(e){let{layout:t="horizontal",showAggregateRating:n=!0,className:l="",hideHeader:c=!1}=e,[u,d]=(0,o.useState)(new Set),p=e=>{d(t=>new Set(Array.from(t).concat(e)))};return(0,r.jsx)("section",{className:"py-12 ".concat(l),children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[!c&&(0,r.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-white text-start md:text-center mb-8",children:"Trusted by Growing B2B Companies"}),(0,r.jsx)("div",{className:"flex flex-col md:flex-row ".concat("horizontal"===t?"flex-row flex-wrap justify-center gap-6 md:gap-8":"flex-col items-center gap-6"," items-start md:items-center"),children:s.map(e=>(0,r.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"group relative","aria-label":"View ".concat(e.name," reviews"),children:(0,r.jsx)("div",{className:"relative overflow-hidden rounded-lg bg-gray-700/50 p-4 transition-all duration-300 hover:scale-105 hover:bg-gray-700 hover:shadow-lg hover:shadow-blue-500/20",children:(0,r.jsxs)("div",{className:"relative ".concat(u.has(e.name)?"":"animate-pulse"),children:[(0,r.jsx)(i.default,{src:e.imageSrc,alt:e.alt,width:e.width||200,height:e.height||60,loading:"lazy",onLoad:()=>p(e.name),className:"transition-opacity duration-300",style:{opacity:+!!u.has(e.name),maxWidth:"150px",height:"auto"}}),!u.has(e.name)&&(0,r.jsx)("div",{className:"absolute inset-0 bg-gray-600 rounded animate-pulse"})]})})},e.name))}),n&&(0,r.jsx)("div",{className:"mt-8 text-start md:text-center",children:(0,r.jsxs)("p",{className:"text-gray-300 text-lg",children:[(0,r.jsxs)("span",{className:"text-blue-400 font-semibold",children:[a.g2.rating,"+"]})," ","average rating across review platforms"]})})]})})}},8846:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Document","definitions":{"Document":{"type":"object","properties":{"nodeType":{"type":"string","enum":["document"]},"content":{"type":"array","items":{"$ref":"#/definitions/TopLevelBlock"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"TopLevelBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/TopLevelBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"TopLevelBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","table","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},8968:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,i="undefined"!=typeof Element;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;
7if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,c,u=t(o),d=t(a);if(u&&d){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(!e(o[s],a[s]))return!1;return!0}if(u!=d)return!1;var p=o instanceof Date,f=a instanceof Date;if(p!=f)return!1;if(p&&f)return o.getTime()==a.getTime();var m=o instanceof RegExp,h=a instanceof RegExp;if(m!=h)return!1;if(m&&h)return o.toString()==a.toString();var y=n(o);if((l=y.length)!==n(a).length)return!1;for(s=l;0!=s--;)if(!r.call(a,y[s]))return!1;if(i&&o instanceof Element&&a instanceof Element)return o===a;for(s=l;0!=s--;)if(("_owner"!==(c=y[s])||!o.$$typeof)&&!e(o[c],a[c]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-0x7ff5ffe4===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},9152:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaWithNodeType=function(e){try{return n(157)("./".concat(e,".json"))}catch(t){throw Error('Schema for nodeType "'.concat(e,'" was not found.'))}}},9154:(e,t,n)=>{"use strict";n.d(t,{QuickQuoteButton:()=>d,SeeItInActionButton:()=>u});var r=n(1412),i=n(1608);n(3167);var o=n(2977),a=n(2216),s=n(8543),l=n(2691);function c(e){let{open:t,onClose:n,demos:a}=e,s=(0,i.useRef)(null),[l,c]=(0,i.useState)(0),u=a[l]||a[0],d=a.length>1;return(0,i.useEffect)(()=>{t&&c(0)},[t]),(0,i.useEffect)(()=>{var e;if(!t)return;function n(e){if("https://demo.arcade.software"!==e.origin||!e.isTrusted)return;let t=s.current;(null==t?void 0:t.contentWindow)&&("arcade-init"===e.data.event&&t.contentWindow.postMessage({event:"register-popout-handler"},"*"),"arcade-popout-open"===e.data.event&&(t.style.position="fixed",t.style.zIndex="9999999"),"arcade-popout-close"===e.data.event&&(t.style.position="absolute",t.style.zIndex="auto"))}window.addEventListener("message",n);let r=s.current;return null==r||null===(e=r.contentWindow)||void 0===e||e.postMessage({event:"register-popout-handler"},"*"),()=>{var e;null==r||null===(e=r.contentWindow)||void 0===e||e.postMessage({event:"unregister-popout-handler"},"*"),window.removeEventListener("message",n)}},[t,l]),(0,r.jsx)(o.a,{open:t,onClose:n,center:!0,closeOnOverlayClick:!1,classNames:{overlay:"!bg-black/80",modal:"!bg-transparent !shadow-none !pt-12 !pb-0 !px-0 !w-[100vw] !h-[100vh] md:!w-[90vw] md:!h-auto !max-w-none !mx-0 !my-0 md:!my-auto",closeButton:"!bg-red-600 hover:!bg-red-700 !rounded-full !p-1.5 !top-0 !right-0 !fill-white"},children:(0,r.jsxs)("div",{className:"flex flex-col h-[calc(100vh-48px)] md:h-[85vh]",children:[d&&(0,r.jsx)("div",{className:"flex gap-2 justify-center pb-3 shrink-0",children:a.map((e,t)=>(0,r.jsx)("button",{type:"button",onClick:()=>c(t),className:"rounded-md px-4 py-2.5 text-sm font-semibold transition-colors min-h-[44px] ".concat(t===l?"bg-primary text-white":"border border-gray-500 text-gray-300 hover:border-gray-400 hover:text-white"),children:e.label},e.id))}),(0,r.jsx)("div",{className:"flex-1 min-h-0",children:(0,r.jsx)("iframe",{ref:s,src:"https://demo.arcade.software/".concat(u.id,"?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true"),title:u.title,frameBorder:"0",loading:"lazy",allowFullScreen:!0,allow:"clipboard-write",style:{width:"100%",height:"100%",colorScheme:"light"}},u.id)})]})})}function u(e){let{demoKey:t,label:n="Try Interactive Demo"}=e,[o,l]=(0,i.useState)(!1),u=s.vo[t];return u&&0!==u.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{(0,a.UA)("Try Interactive Demo","pricing-".concat(t)),l(!0)},className:"inline-flex items-center gap-2 rounded-lg border border-primary/30 bg-primary/10 px-4 py-2 text-sm font-semibold text-primary transition-all hover:bg-primary/20 hover:border-primary/50",children:[(0,r.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})}),n]}),o&&(0,r.jsx)(c,{open:o,onClose:()=>l(!1),demos:u})]}):null}function d(){let[e,t]=(0,i.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>{(0,a.UA)("Quick Quote Open","pricing-quick-quote"),t(!0)},className:"text-sm font-semibold text-gray-300 hover:text-white transition-colors",children:"Not ready for a call? Get a ballpark quote."}),(0,r.jsxs)(o.a,{open:e,onClose:()=>t(!1),center:!0,classNames:{overlay:"!bg-black/70",modal:"!bg-gray-800 !rounded-2xl !p-8 !max-w-lg !w-full !shadow-2xl",closeButton:"!bg-gray-700 hover:!bg-gray-600 !rounded-full !p-1.5 !fill-gray-300"},children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-white mb-1",children:"Get a Quick Quote"}),(0,r.jsx)("p",{className:"text-sm text-gray-400 mb-6",children:"Tell us what you're looking for and we'll get back to you within one business day."}),(0,r.jsx)(i.Suspense,{fallback:null,children:(0,r.jsx)(l.default,{})})]})]})}},9156:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Text","definitions":{"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},9225:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Paragraph","definitions":{"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},9466:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,p:()=>o});var r=n(1608);let i=new Set;function o(e){i.add(e)}function a(e,t,n){let r={};for(let[e,i]of Object.entries(t))n&&e in n&&n[e]===i||("string"==typeof i&&i.trim().length>0?r[e]=i.trim():"boolean"==typeof i&&!0===i?r[e]="true":"number"==typeof i&&0!==i&&(r[e]=String(i)));return 0===Object.keys(r).length?null:{formType:e,referrerUrl:document.referrer||void 0,fields:r,partial:!0,timestamp:new Date().toISOString(),pageUrl:window.location.href}}function s(e){let{formName:t,values:n,submitted:o,initialValues:s}=e,l=(0,r.useRef)(n),c=(0,r.useRef)(o),u=(0,r.useRef)(s);return l.current=n,c.current=o,u.current=s,(0,r.useEffect)(()=>{let e=()=>{if(!(c.current||i.has(t)))a(t,l.current,u.current)};return window.addEventListener("beforeunload",e),()=>{if(window.removeEventListener("beforeunload",e),c.current||i.has(t)){i.delete(t);return}a(t,l.current,u.current)}},[t]),null}},9478:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function i(e={}){let t,n,o,a,s=null,l=0,c=!1,u=!1,d=!1,p=!1;function f(){if(!o){if(y()){d=!0;return}c||n.emit("autoplay:play");let{ownerWindow:e}=n.internalEngine();e.clearTimeout(l),l=e.setTimeout(x,a[n.selectedScrollSnap()]),s=new Date().getTime(),n.emit("autoplay:timerset"),c=!0}}function m(){if(!o){c&&n.emit("autoplay:stop");let{ownerWindow:e}=n.internalEngine();e.clearTimeout(l),l=0,s=null,n.emit("autoplay:timerstopped"),c=!1}}function h(){if(y())return d=c,m();d&&f()}function y(){let{ownerDocument:e}=n.internalEngine();return"hidden"===e.visibilityState}function g(){u||m()}function v(){u||f()}function b(){u=!0,m()}function E(){u=!1,f()}function x(){let{index:e}=n.internalEngine(),r=e.clone().add(1).get(),i=n.scrollSnapList().length-1,o=t.stopOnLastSnap&&r===i;if(n.canScrollNext()?n.scrollNext(p):n.scrollTo(0,p),n.emit("autoplay:select"),o)return m();f()}return{name:"autoplay",options:e,init:function(s,l){n=s;let{mergeOptions:c,optionsAtMedia:u}=l,d=c(r,i.globalOptions);if(t=u(c(d,e)),n.scrollSnapList().length<=1)return;p=t.jump,o=!1,a=function(e,t){let n=e.scrollSnapList();return"number"==typeof t?n.map(()=>t):t(n,e)}(n,t.delay);let{eventStore:y,ownerDocument:x}=n.internalEngine(),S=!!n.internalEngine().options.watchDrag,_=function(e,t){let n=e.rootNode();return t&&t(n)||n}(n,t.rootNode);y.add(x,"visibilitychange",h),S&&n.on("pointerDown",g),S&&!t.stopOn
7Interaction&&n.on("pointerUp",v),t.stopOnMouseEnter&&y.add(_,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&y.add(_,"mouseleave",E),t.stopOnFocusIn&&n.on("slideFocusStart",m),t.stopOnFocusIn&&!t.stopOnInteraction&&y.add(n.containerNode(),"focusout",f),t.playOnInit&&f()},destroy:function(){n.off("pointerDown",g).off("pointerUp",v).off("slideFocusStart",m),m(),o=!0,c=!1},play:function(e){void 0!==e&&(p=e),f()},stop:function(){c&&m()},reset:function(){c&&f()},isPlaying:function(){return c},timeUntilNext:function(){return s?a[n.selectedScrollSnap()]-(new Date().getTime()-s):null}}}i.globalOptions=void 0},9520:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryHyperlink","definitions":{"EntryHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["entry-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},9663:(e,t,n)=>{"use strict";n.d(t,{L0:()=>u,lw:()=>d});var r=n(1608),i=n(4843);let o=function(){let{reCaptchaKey:e,language:t,useRecaptchaNet:n=!1,useEnterprise:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i="https://www.".concat(n?"recaptcha.net":"google.com","/recaptcha/").concat(r?"enterprise.js":"api.js","?");return e&&(i+="render=".concat(e)),t&&(i+="&hl=".concat(t)),i},a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var s=n(5538);let l=(0,r.createContext)({reCaptchaKey:null,grecaptcha:null,loaded:!1,error:!1}),c=()=>{let e=(0,r.useContext)(l);return(0,r.useDebugValue)("grecaptcha available: ".concat((null==e?void 0:e.loaded)?"Yes":"No")),(0,r.useDebugValue)("ReCaptcha Script: ".concat((null==e?void 0:e.loaded)?"Loaded":"Not Loaded")),(0,r.useDebugValue)("Failed to load Script: ".concat((null==e?void 0:e.error)?"Yes":"No")),e},u=e=>{let{reCaptchaKey:t,useEnterprise:n=!1,useRecaptchaNet:a=!1,language:c,children:u,id:d="google-recaptcha-v3",strategy:p="afterInteractive",src:f,onLoad:m,onError:h,...y}=e,[g,v]=(0,r.useState)(null),[b,E]=(0,r.useState)(!1),[x,S]=(0,r.useState)(!1),_=t||s.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY||null,w=f||o({reCaptchaKey:_,language:c,useRecaptchaNet:a,useEnterprise:n})||null,T=(0,r.useRef)(!1);(0,r.useEffect)(()=>{T.current&&(E(!1),S(!1)),T.current=!0},[w]);let O=(0,r.useCallback)(e=>{var t,r,i;let o=n?null===(r=window)||void 0===r?void 0:null===(t=r.grecaptcha)||void 0===t?void 0:t.enterprise:null===(i=window)||void 0===i?void 0:i.grecaptcha;o&&o.ready(()=>{v(o),E(!0),null==m||m(o,e)})},[m,n]);(0,r.useEffect)(()=>O(),[O]);let j=(0,r.useCallback)(e=>{S(!0),null==h||h(e)},[h]),N=(0,r.useMemo)(()=>({reCaptchaKey:_,grecaptcha:g,loaded:b,error:x}),[_,g,b,x]);return r.createElement(l.Provider,{value:N},u,r.createElement(i.default,{id:d,src:w,strategy:p,onLoad:O,onError:j,...y}))},d=e=>{let{grecaptcha:t,loaded:n,reCaptchaKey:i,...o}=c(),s=e||i,l=(0,r.useRef)(null==t?void 0:t.execute);a(()=>{l.current=null==t?void 0:t.execute},[n,null==t?void 0:t.execute]);let u=(0,r.useCallback)(async e=>{if("function"!=typeof l.current)throw Error("Recaptcha has not been loaded");if(!s)throw Error("ReCaptcha sitekey is not defined");return await l.current(s,{action:e})},[s]);return{...o,grecaptcha:t,loaded:n,reCaptchaKey:s,executeRecaptcha:u}}},9738:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading2","definitions":{"Heading2":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-2"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.