1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,451263,e=>{"use strict";var t=e.i(923197),r=e.i(24891),o=e.i(260830),l=e.i(294237),n=e.i(308474);let i="bg-ink-0 border border-ink-200/70 hover:bg-ink-50 hover:text-ink-950 hover:border-ink-300/70 dark:border-ink-800 dark:bg-ink-900 dark:text-ink-100 dark:hover:border-ink-700 dark:hover:bg-ink-800 dark:hover:text-ink-50 dark:data-[state=open]:border-ink-700 dark:data-[state=open]:bg-ink-800 dark:aria-expanded:border-ink-700 dark:aria-expanded:bg-ink-800",a=(0,l.cva)("relative inline-flex w-full touch-manipulation select-none items-center justify-center gap-1 whitespace-nowrap rounded-lg text-sm transition-[color,background-color,border-color,box-shadow,transform,opacity] duration-150 ease-[var(--ease-ui-out)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-tide-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-ink-50 disabled:pointer-events-none disabled:opacity-50 aria-busy:cursor-wait [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 cursor-pointer active:scale-[0.97] dark:focus-visible:ring-offset-ink-950 motion-reduce:transform-none motion-reduce:transition-none",{variants:{variant:{highlight:[i,"[&_.button-highlight-label]:text-tide-600 dark:[&_.button-highlight-label]:text-tide-400 [&_svg]:text-tide-600 hover:[&_svg]:text-tide-700 dark:[&_svg]:text-tide-400 dark:hover:[&_svg]:text-tide-300"].join(" "),default:"border border-transparent bg-ink-950 text-ink-50 hover:bg-ink-800 dark:bg-ink-50 dark:text-ink-950 dark:hover:bg-ink-200 font-medium shadow-[0_0px_1px_rgba(0,0,0,0.45),0_2px_3px_rgba(0,0,0,0.05),0_0px_1px_rgba(0,0,0,0.07)]",destructive:"border border-transparent bg-rose-600 text-ink-50 hover:bg-rose-500/90 dark:bg-rose-700 dark:text-ink-50 dark:hover:bg-rose-600","destructive-light":"border border-rose-200 bg-rose-50 text-rose-700 hover:bg-rose-100 dark:border-rose-900/70 dark:bg-rose-950/60 dark:text-rose-200 dark:hover:bg-rose-900/80",outline:i,secondary:"border border-transparent bg-ink-100 text-ink-900 hover:bg-ink-200 active:bg-ink-200 focus-visible:ring-0 focus-visible:ring-offset-0 dark:bg-ink-800 dark:text-white dark:hover:bg-ink-700 dark:active:bg-ink-700",ghost:"text-ink-800 hover:bg-ink-100 hover:text-ink-950 dark:text-ink-100 dark:hover:bg-ink-800 dark:hover:text-white",link:"text-ink-900 dark:text-ink-100 underline-offset-4 hover:underline",studio:"border-0 shadow-none bg-neutral-50 ring-1 ring-neutral-200/80 text-neutral-900 hover:ring-neutral-300 focus-visible:ring-1 focus-visible:ring-tide-500 dark:bg-neutral-800/50 dark:ring-neutral-700/50 dark:text-neutral-100 dark:hover:ring-neutral-600/70 dark:focus-visible:ring-tide-500"},size:{default:"h-10 px-4 py-2 rounded-lg","2xs":"h-5 rounded px-1 [&>svg]:size-3.5",xs:"h-6 rounded-lg px-2 text-xs",sm:"h-7 rounded-lg px-3",md:"h-9 rounded-lg px-4",lg:"h-11 rounded-lg px-8",xl:"h-12 rounded-lg px-10",icon:"h-10 w-10 rounded-lg",studio:"h-8 rounded-lg px-3 text-sm"}},defaultVariants:{variant:"default",size:"default"}}),s=r.forwardRef((e,l)=>{let{className:i,variant:s,size:d,asChild:u=!1,...c}=e,m=e=>r.Children.map(e,(e,r)=>"string"==typeof e||"number"==typeof e?(0,t.jsx)("span",{className:"button-highlight-label",children:e},`highlight-label-${r}`):e),h="highlight"!==s?c.children:u&&r.isValidElement(c.children)?r.cloneElement(c.children,{...c.children.props,children:m(c.children.props?.children)}):m(c.children),p=u?o.Slot:"button";return(0,t.jsx)(p,{ref:l,...c,className:(0,n.cn)(a({variant:s,size:d,className:i})),children:h})});s.displayName="Button",e.s(["Button",0,s,"buttonVariants",0,a])},111245,e=>{"use strict";let t={appName:"Orshot â Automated Image Generation for Marketing and Design",appDescription:"Create and automate marketing assets at scale. Generate Images, PDFs and more with API and integrations. Your entire creative workflow, automated and ready",domainName:"orshot.com",fullDomainName:"https://orshot.com",workspacePrefix:"workspace",cdnPrefix:"https://cdn.orshot.com",stripe:{plans:e.i(539062).PLANS},partner:{tiers:[{id:"starter",title:"Starter",description:"Begin your partner journey",clientsMin:0,clientsMax:19,revenueSharePercentage:0,sandboxWorkspacesLimit:null,allowedRequestsPerMonth:5e4,rateLimitPerMinute:200},{id:"bronze",title:"Bronze",description:"Growing partners",clientsMin:20,clientsMax:49,revenueSharePercentage:5,sandboxWorkspacesLimit:null,allowedRequestsPerMonth:8e4,rateLimitPerMinute:300},{id:"silver",title:"Silver",description:"Established partners",clientsMin:50,clientsMax:89,revenueSharePercentage:10,sandboxWorkspacesLimit:null,allowedRequestsPerMonth:1e5,rateLimitPerMinute:400},{id:"gold",title:"Gold",description:"Elite partners",clientsMin:90,clientsMax:-1,revenueSharePercentage:15,sandboxWorkspacesLimit:null,allowedRequestsPerMonth:2e5,rateLimitPerMinute:500}]},aws:{bucket:"bucket-name",bucketUrl:"https://bucket-name.s3.amazonaws.com/",cdn:"https://cdn-id.cloudfront.net/"},mailgun:{subdomain:"mg",fromNoReply:"Orshot <[email protected]>",fromAdmin:"Orshot <[email protected]>",supportEmail:"[email protected]",forwardRepliesTo:"[email protected]"},colors:{theme:"",main:"#605dff"},auth:{loginUrl:"/login",signupUrl:"/signup",signupCallbackUrl:"/get-started",loginCallbackUrl:"/workspace",dashboardUrl:"/workspace",onboardingUrl:"/get-started"}};e.s(["default",0,t],111245)},36411,844484,e=>{"use strict";var t=e.i(24891),r=e.i(165481),o=e.i(213515),l=e.i(260830),n=e.i(923197),i=Object.defineProperty,a=(e,t)=>i(e,"name",{value:t,configurable:!0});function s(e){let i=e+"CollectionProvider",[s,d]=(0,r.createContextScope)(i),[u,c]=s(i,{collectionRef:{current:null},itemMap:new Map}),m=a(e=>{let{scope:r,children:o}=e,l=t.useRef(null),i=t.useRef(new Map).current;return(0,n.jsx)(u,{scope:r,itemMap:i,collectionRef:l,children:o})},"CollectionProvider");m.displayName=i;let h=e+"CollectionSlot",p=(0,l.createSlot)(h),w=t.forwardRef((e,t)=>
1{let{scope:r,children:l}=e,i=c(h,r),a=(0,o.useComposedRefs)(t,i.collectionRef);return(0,n.jsx)(p,{ref:a,children:l})});w.displayName=h;let v=e+"CollectionItemSlot",f="data-radix-collection-item",b=(0,l.createSlot)(v),g=t.forwardRef((e,r)=>{let{scope:l,children:i,...a}=e,s=t.useRef(null),d=(0,o.useComposedRefs)(r,s),u=c(v,l);return t.useEffect(()=>(u.itemMap.set(s,{ref:s,...a}),()=>void u.itemMap.delete(s))),(0,n.jsx)(b,{...{[f]:""},ref:d,children:i})});function y(r){let o=c(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=o.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(o.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[o.collectionRef,o.itemMap])}return g.displayName=v,a(y,"useCollection"),[{Provider:m,Slot:w,ItemSlot:g},y,d]}a(s,"createCollection");var d=new WeakMap,u=class e extends Map{static #e=a(this,"OrderedDict");#t;constructor(e){super(e),this.#t=[...super.keys()],d.set(this,!0)}set(e,t){return d.get(this)&&(this.has(e)?this.#t[this.#t.indexOf(e)]=e:this.#t.push(e)),super.set(e,t),this}insert(e,t,r){let o,l=this.has(t),n=this.#t.length,i=h(e),a=i>=0?i:n+i,s=a<0||a>=n?-1:a;if(s===this.size||l&&s===this.size-1||-1===s)return this.set(t,r),this;let d=this.size+ +!l;i<0&&a++;let u=[...this.#t],c=!1;for(let e=a;e<d;e++)if(a===e){let n=u[e];u[e]===t&&(n=u[e+1]),l&&this.delete(t),o=this.get(n),this.set(t,r)}else{c||u[e-1]!==t||(c=!0);let r=u[c?e:e-1],l=o;o=this.get(r),this.delete(r),this.set(r,l)}return this}with(t,r,o){let l=new e(this);return l.insert(t,r,o),l}before(e){let t=this.#t.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let o=this.#t.indexOf(e);return -1===o?this:this.insert(o,t,r)}after(e){let t=this.#t.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let o=this.#t.indexOf(e);return -1===o?this:this.insert(o+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#t=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#t.splice(this.#t.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#t,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#t,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#t.indexOf(e)}keyAt(e){return c(this.#t,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let o=r+t;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.at(o)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let o=r+t;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.keyAt(o)}find(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return o;r++}}findIndex(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return r;r++}return -1}filter(t,r){let o=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&o.push(e),l++;return new e(o)}map(t,r){let o=[],l=0;for(let e of this)o.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(o)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[o,l]=t,n=0,i=l??this.at(0);for(let e of this)i=0===n&&1===t.length?e:Reflect.apply(o,this,[i,e,n,this]),n++;return i}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[o,l]=t,n=l??this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);n=e===this.size-1&&1===t.length?r:Reflect.apply(o,this,[n,r,e,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),o=this.get(r);t.set(r,o)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];let l=[...this.entries()];return l.splice(...r),new e(l)}slice(t,r){let o=new e,l=this.size-1;if(void 0===t)return o;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);o.set(t,r)}return o}every(e,t){let r=0;for(let o of this){if(!Reflect.apply(e,t,[o,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return!0;r++}return!1}};function c(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=m(e,t);return -1===r?void 0:e[r]}function m(e,t){let r=e.length,o=h(t),l=o>=0?o:r+o;return l<0||l>=r?-1:l}function h(e){return e!=e||0===e?0:Math.trunc(e)}function p(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let o of r)if(!Object.prototype.hasOwnProperty.call(t,o)||e[o]!==t[o])return!1;return!0}function w(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function v(e,t){return e[1].element&&t[1].element?w(e[1].element,t[1].element)?-1:1:0}function f(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}a(c,"at"),a(m,"toSafeIndex"),a(h,"toSafeInteger"),a(function(e){let i=e+"CollectionProvider",[s,d]=(0,r.createContextScope)(i),[c,m]=s(i,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new u,setItemMap:a(()=>void 0,"setItemMap")}),h=a(e=>{let{state:t,...r}=e;return t?(0,n.jsx)(b,{...r,state:t}):(0,n.jsx)(w,{...r})},"CollectionProvider");h.displayName=i;let w=a(e=>{let t=R();return(0,n.jsx)(b,{...e,state:t})},"CollectionInit");w.displayName=i+"Init";let b=a(e=>{let{scope:r,children:l,state:i}=e,a=t.useRef(null),[s,d]=t.useState(null),u=(0,o.useComposedRefs)(a,d),[m,h]=i;return t.useEffect(()=>{if(!s)return;let e=f(()=>{});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s]),(0,n.jsx)(c,{scope:r,itemMap:m,setItemMap:h,collectionRef:u,collectionRefObject:a,collectionElement:s,children:l})},"CollectionProviderImpl");b.displayName=i+"Impl";let g=e+"CollectionSlot",y=(0,l.createSlot)(g),x=t.forwardRef((e,t)=>{let{scope:r,children:l}=e,i=m(g,r),a=(0,o.useComposedRefs)(t,i.collectionRef);return(0,n.jsx)(y,{ref:a,children:l})});x.displayName=g;let k=e+"CollectionItemSlot",A=(0,l.createSlot)(k),P=t.forwardRef((e,r)=>{let{scope:l,children:i,...a}=e,s=t.useRef(null),[d,c]=t.useState(null),h=(0,o.useComposedRefs)(r,s,c),{setItemMap:w}=m(k,l),f=t.useRef(a);p(f.current,a)||(f.current=a);let b=f.current;return t.useEffect(()=>(w(e=>d?e.has(d)?e.set(d,{...b,element:d}).toSorted(v):(e.set(d,{...b,element:d}),e.toSorted(v)):e),()=>{w(e=>d&&e.has(d)?(e.delete(d),new u(e)):e)}),[d,b,w]),(0,n.jsx)(A,{"data-radix-collection-item":"",ref:h,children:i})});function R(){return t.useState(new u)}function S(t){let{itemMap:r}=m(e+"CollectionConsumer",t);return r}return P.displayName=k,a(R,"useInitCollection"),a(S,"useCollection"),[{Provider:h,Slot:x,ItemSlot:P},{createCollectionScope:d,useCollection:S,useInitCollection:R}]},"createCollection"),a(p,"shallowEqual"),a(w,"isElementPreceding"),a(v,"sortByDocumentPosition"),a(f,"getChildListObserver"),e.s(["createCollection",0,s],36411);var b=Object.defineProperty,g=t.createContext(void 0);function y(e){let r=t.useContext(g);return e||r||"ltr"}b(y,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,y],844484)},970862,e=>{"use strict";var t=e.i(24891),r=e.i(543836),o=e.i(36411),l=e.i(213515),n=e.i(165481),i=e.i(135186),a=e.i(325468),s=e.i(229431),d=e.i(831779),u=e.i(844484),c=e.i(319751),m=Object.defineProperty,h=(e,t)=>m(e,"name",{value:t,configurable:!0}),p=!1;function w(){let[e,r]=t.useState(p);return t.useEffect(()=>{p||(p=!0,r(!0))},[]),e}h(w,"useIsHydrated");var v=t[" useSyncExternalStore ".trim().toString()];function f(){return()=>{}}function b(){return v(f,()=>!0,()=>!1)}h(f,"subscribe"),h(b,"useIsHydratedModern");var g="function"==typeof v?b:w,y=e.i(923197),x=Object.defineProperty,k=(e,t)=>x(e,"name",{value:t,configurable:!0}),A="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},R="RovingFocusGroup",[S,C,V]=(0,o.createCollection)(R),[E,O]=(0,n.createContextScope)(R,[V]),[B,_]=E(R),T=t.forwardRef(k(function(e,t){return(0,y.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(M,{...e,ref:t})})})},"RovingFocusGroup")),M=t.forwardRef(k(function(e,o){let{__scopeRovingFocusGroup:n,orientation:i,loop:c=!1,dir:m,currentTabStopId:h,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:w,onEntryFocus:v,preventScrollOnEntryFocus:f=!1,...b}=e,g=t.useRef(null),x=(0,l.useComposedRefs)(o,g),k=(0,u.useDirection)(m),[S,V]=(0,d.useControllableState)({prop:h,defaultProp:p??null,onChange:w,caller:R}),[E,O]=t.useState(!1),_=(0,s.useCallbackRef)(v),T=C(n),M=t.useRef(!1),[I,L]=t.useState(0);return t.useEffect(()=>{let e=g.current;if(e)return e.addEventListener(A,_),()=>e.removeEventListener(A,_)},[_]),(0,y.jsx)(B,{scope:n,orientation:i,dir:k,loop:c,currentTabStopId:S,onItemFocus:t.useCallback(e=>V(e),[V]),onItemShiftTab:t.useCallback(()=>O(!0),[]),onFocusableItemAdd:t.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>L(e=>e-1),[]),children:(0,y.jsx)(a.Primitive.div,{tabIndex:E||0===I?-1:0,"data-orientation":i,...b,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(A,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=T().filter(e=>
1e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),f)}}M.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>O(!1))})})},"RovingFocusGroupImpl")),I=t.forwardRef(k(function(e,o){let{__scopeRovingFocusGroup:l,focusable:n=!0,active:s=!1,tabStopId:d,children:u,...m}=e,h=(0,i.useId)(),p=d||h,w=_("RovingFocusGroupItem",l),v=w.currentTabStopId===p,f=C(l),{onFocusableItemAdd:b,onFocusableItemRemove:x,currentTabStopId:k}=w,A=g();return(0,c.useLayoutEffect)(()=>{if(A&&n)return b(),()=>x()},[A,n,b,x]),t.useEffect(()=>{if(!A&&n)return b(),()=>x()},[A,n,b,x]),(0,y.jsx)(S.ItemSlot,{scope:l,id:p,focusable:n,active:s,children:(0,y.jsx)(a.Primitive.span,{tabIndex:v?0:-1,"data-orientation":w.orientation,...m,ref:o,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{n?w.onItemFocus(p):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>w.onItemFocus(p)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void w.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=U(e,w.orientation,w.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=f().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let o=r.indexOf(e.currentTarget);r=w.loop?j(r,o+1):r.slice(o+1)}setTimeout(()=>D(r))}}),children:"function"==typeof u?u({isCurrentTabStop:v,hasTabStop:null!=k}):u})})},"RovingFocusGroupItem")),L={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function U(e,t,r){let o=F(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return L[o]}function D(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let o of e)if(o===r||(o.focus({preventScroll:t}),document.activeElement!==r))return}function j(e,t){return e.map((r,o)=>e[(t+o)%e.length])}k(F,"getDirectionAwareKey"),k(U,"getFocusIntent"),k(D,"focusFirst"),k(j,"wrapArray"),e.s(["Item",0,I,"Root",0,T,"createRovingFocusGroupScope",0,O],970862)},294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=t.clsx;e.s(["cva",0,(e,t)=>l=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(e=>{let t=null==l?void 0:l[e],o=null==a?void 0:a[e];if(null===t)return null;let n=r(t)||r(o);return i[e][n]}),d=l&&Object.entries(l).reduce((e,t)=>{let[r,o]=t;return void 0===o||(e[r]=o),e},{});return o(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:o,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...d}[t]):({...a,...d})[t]===r})?[...e,r,o]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},539062,e=>{"use strict";e.i(725690);var t=e.i(750008);let r={3159:{label:"Incubeta - M&S",events:!0},3186:{label:"Incubeta - Statics",events:!0},4260:{label:"Incubeta - SAP",events:!0},4264:{label:"Incubeta - Harrods",events:!0},4841:{label:"Incubeta - Sandbox",events:!0},4620:{label:"Menuchat",events:!0,download:!0}},o={allowed:!0,credits:{included:15,renews:!1},maxSteps:5,maxActiveWorkflows:1,concurrentRuns:1};function l(e){return e&&e.workflows||o}let n={visible:15,restorable:3,named:1},i={visible:15,restorable:8,named:3},a={visible:15,restorable:12,named:6};function s(e){let t=e&&e.versionHistory;return t&&"object"==typeof t?{...a,...t}:a}let d={launch:"Launch",grow:"Grow",scale:"Scale",enterprise:"Enterprise"};function u(e){return d[e?.type]||null}let c={maxEmbedUsers:e=>"number"==typeof e&&e>0,hasOrshotBranding:e=>!1===e},m=[{title:"Free",description:"100 render credits every month",workspacesLimit:1,membersLimit:1,rateLimitPerMinute:100,allowedRequests:t.FREE_MONTHLY_RENDERS,aiCredits:50,aiMedia:{video:!0,speech:!1,maxClipSeconds:6},workflows:{allowed:!0,credits:{included:15,renews:!1},maxSteps:5,maxActiveWorkflows:1,concurrentRuns:1},versionHistory:{visible:5,restorable:0,named:0},amountUsd:{monthly:"Free",annually:"Free"},priceId:{monthly:null,annually:null},overageRate:null,overagePriceId:null,features:{variantGeneration:!0},video:{allowed:!1,rendersPerSecond:null,overageRendersPerSecond:null,maxAudioTracksPerPage:0},audio:{allowed:!1,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:0,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCu
1stomButtonsAllowed:!1,allowed:!1,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:2,hasOrshotBranding:!0}},{hide:!0,title:"Launch",type:"launch",description:"For solo projects and side projects",workspacesLimit:1,membersLimit:1,rateLimitPerMinute:100,allowedRequests:400,aiCredits:50,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:45},workflows:{allowed:!0,credits:{included:200,renews:!0},maxSteps:5,maxActiveWorkflows:3,concurrentRuns:1},versionHistory:n,amountUsd:{monthly:9,annually:90},priceId:{monthly:"price_1TdYlkBialVVohY8hhQI1JaJ",annually:"price_1TdYluBialVVohY8s0I7eHO7"},overageRate:null,overagePriceId:null,features:{variantGeneration:!1},video:{allowed:!1,rendersPerSecond:null,overageRendersPerSecond:null,maxAudioTracksPerPage:0},audio:{allowed:!1,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:0,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCustomButtonsAllowed:!1,allowed:!1,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:2,hasOrshotBranding:!0}},{hide:!0,title:"1x",type:"launch",description:"Solo-projects and hobbyists",workspacesLimit:1,membersLimit:1,rateLimitPerMinute:100,allowedRequests:1e3,aiCredits:50,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:45},workflows:{allowed:!0,credits:{included:200,renews:!0},maxSteps:5,maxActiveWorkflows:3,concurrentRuns:1},versionHistory:n,amountUsd:{monthly:20,annually:200},priceId:{monthly:"price_1RsPVEBialVVohY81fUHoZIt",annually:"price_1RsPVaBialVVohY8CYjTbRXu"},overageRate:null,overagePriceId:null,features:{variantGeneration:!0},video:{allowed:!1,rendersPerSecond:null,overageRendersPerSecond:null,maxAudioTracksPerPage:0},audio:{allowed:!1,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:0,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCustomButtonsAllowed:!1,allowed:!1,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:5,hasOrshotBranding:!0}},{hide:!0,title:"2x",type:"launch",description:"For early products and side projects",workspacesLimit:2,membersLimit:2,rateLimitPerMinute:100,allowedRequests:3e3,aiCredits:300,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:60},workflows:{allowed:!0,credits:{included:200,renews:!0},maxSteps:5,maxActiveWorkflows:3,concurrentRuns:1},versionHistory:n,amountUsd:{monthly:30,annually:300},priceId:{monthly:"price_1R6hdHBialVVohY8l5SrwAhM",annually:"price_1R6hdHBialVVohY88X0sUHrZ"},overageRate:.018,overagePriceId:"price_1SZUWdBialVVohY8S7dKpqbe",overageMeterEventName:"2x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:180,maxAudioTracksPerPage:1},audio:{allowed:!0,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCustomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:5,hasOrshotBranding:!0}},{title:"2x",type:"launch",description:"For early products and side projects",workspacesLimit:1,membersLimit:2,rateLimitPerMinute:100,allowedRequests:3e3,aiCredits:300,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:60},workflows:{allowed:!0,credits:{included:200,renews:!0},maxSteps:5,maxActiveWorkflows:3,concurrentRuns:1},versionHistory:n,amountUsd:{monthly:39,annually:390},priceId:{monthly:"price_1TdR0KBialVVohY8KQ0GHPRy",annually:"price_1TdR0WBialVVohY8XiePXYVE"},overageRate:.018,overagePriceId:"price_1SZUWdBialVVohY8S7dKpqbe",overageMeterEventName:"2x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:180,maxAudioTracksPerPage:1},audio:{allowed:!0,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCu
1stomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:5,hasOrshotBranding:!0}},{hide:!0,title:"2x",type:"launch",description:"For early products and side projects",workspacesLimit:1,membersLimit:2,rateLimitPerMinute:100,allowedRequests:3e3,aiCredits:300,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:60},workflows:{allowed:!0,credits:{included:200,renews:!0},maxSteps:5,maxActiveWorkflows:3,concurrentRuns:1},versionHistory:n,amountUsd:{monthly:49,annually:490},priceId:{monthly:"price_1TbnBSBialVVohY8e6bG7ULk",annually:"price_1TbnBlBialVVohY8rhJ3P74H"},overageRate:.018,overagePriceId:"price_1SZUWdBialVVohY8S7dKpqbe",overageMeterEventName:"2x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:180,maxAudioTracksPerPage:1},audio:{allowed:!0,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCustomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:5,hasOrshotBranding:!0}},{hide:!0,title:"3x",type:"grow",description:"For growing teams and products",workspacesLimit:3,membersLimit:5,rateLimitPerMinute:100,allowedRequests:8e3,aiCredits:750,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:90},workflows:{allowed:!0,credits:{included:500,renews:!0},maxSteps:6,maxActiveWorkflows:10,concurrentRuns:3},versionHistory:i,amountUsd:{monthly:75,annually:750},priceId:{monthly:"price_1R6hdHBialVVohY8jLTiuNEZ",annually:"price_1R6hdHBialVVohY8X2Zr29ME"},overageRate:.015,overagePriceId:"price_1STtQOBialVVohY8f0oUUivR",overageMeterEventName:"3x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:180,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:5,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCustomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!0,isEventsAllowed:!0,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!1,maxEmbedUsers:10,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:50,hasOrshotBranding:!0}},{title:"3x",type:"launch",description:"For early products and side projects",workspacesLimit:2,membersLimit:4,rateLimitPerMinute:100,allowedRequests:1e4,aiCredits:750,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:90},workflows:{allowed:!0,credits:{included:500,renews:!0},maxSteps:6,maxActiveWorkflows:5,concurrentRuns:2},versionHistory:n,amountUsd:{monthly:99,annually:990},priceId:{monthly:"price_1TbqPBBialVVohY8aFR2SkBn",annually:"price_1TbqPKBialVVohY8XWjxkx2f"},overageRate:.018,overagePriceId:"price_1SZUWdBialVVohY8S7dKpqbe",overageMeterEventName:"2x_overage_renders",features:{variantGeneration:!1},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:180,maxAudioTracksPerPage:1},audio:{allowed:!0,premiumVoicesAllowed:!1,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:2,allowFullTemplateWebhookPayload:!1,webhookAllowed:!1,isCustomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!1,isEventsAllowed:!1,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!0,maxEmbedUsers:null,canPreventTemplatesOverride:!1},embedPlayground:{enabled:!0,maxGenerators:30,hasOrshotBranding:!0}},{title:"4x",type:"grow",description:"For growing teams and products",workspacesLimit:4,membersLimit:6,rateLimitPerMinute:200,allowedRequests:4e4,aiCredits:1200,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:90},workflows:{allowed:!0,credits:{included:800,renews:!0},maxSteps:6,maxActiveWorkflows:10,concurrentRuns:3},versionHistory:i,amountUsd:{monthly:160,annually:1600},priceId:{monthly:"price_1RMsmGBialVVohY8F3bYdGtz",annually:"price_1RMsmWBialVVohY8hMVAoPEf"},overageRate:.015,overagePriceId:"price_1STtQOBialVVohY8f0oUUivR",overageMeterEventName:"3x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:300,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:5,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCu
1stomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!0,isEventsAllowed:!0,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!1,maxEmbedUsers:50,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:50,hasOrshotBranding:!0}},{title:"5x",type:"grow",description:"For growing teams and products",workspacesLimit:5,membersLimit:8,rateLimitPerMinute:200,allowedRequests:8e4,aiCredits:1700,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:120},workflows:{allowed:!0,credits:{included:1500,renews:!0},maxSteps:8,maxActiveWorkflows:15,concurrentRuns:5},versionHistory:i,amountUsd:{monthly:280,annually:2800},priceId:{monthly:"price_1R6hdHBialVVohY8pFCKRT42",annually:"price_1R6hdVBialVVohY8UfwhZSek"},overageRate:.015,overagePriceId:"price_1STtQOBialVVohY8f0oUUivR",overageMeterEventName:"3x_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:300,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:5,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCustomButtonsAllowed:!1,allowed:!0,isDownloadAllowed:!0,isEventsAllowed:!0,isPostEventsAllowed:!1,isCustomAssetPickerAllowed:!1,hasOrshotBranding:!1,maxEmbedUsers:100,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:50,hasOrshotBranding:!0}},{title:"6x",type:"scale",description:"For teams and pipelines at scale",workspacesLimit:10,membersLimit:14,rateLimitPerMinute:200,allowedRequests:15e4,aiCredits:2100,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:150},workflows:{allowed:!0,credits:{included:2500,renews:!0},maxSteps:10,maxActiveWorkflows:30,concurrentRuns:10},versionHistory:a,amountUsd:{monthly:349,annually:3490},priceId:{monthly:"price_1S92a8BialVVohY8zvA9icIL",annually:"price_1S92aLBialVVohY8pOlb4txq"},overageRate:.012,overagePriceId:"price_1SZUXJBialVVohY8FkZkEteF",overageMeterEventName:"enterprise_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:600,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:8,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCustomButtonsAllowed:!0,allowed:!0,isDownloadAllowed:!0,isEventsAllowed:!0,isPostEventsAllowed:!0,isCustomAssetPickerAllowed:!0,smartResize:!0,hasOrshotBranding:!1,maxEmbedUsers:500,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:null,hasOrshotBranding:!1}},{title:"7x",type:"scale",description:"For teams and pipelines at scale",workspacesLimit:15,membersLimit:18,rateLimitPerMinute:200,allowedRequests:3e5,aiCredits:2900,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:180},workflows:{allowed:!0,credits:{included:4e3,renews:!0},maxSteps:10,maxActiveWorkflows:40,concurrentRuns:10},versionHistory:a,amountUsd:{monthly:480,annually:4800},priceId:{monthly:"price_1RMsviBialVVohY8IL1f7euk",annually:"price_1RMsvsBialVVohY8vWpVFdMd"},overageRate:.012,overagePriceId:"price_1SZUXJBialVVohY8FkZkEteF",overageMeterEventName:"enterprise_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:600,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:8,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCustomButtonsAllowed:!0,allowed:!0,isDownloadAllowed:!0,isPostEventsAllowed:!0,isEventsAllowed:!0,isCustomAssetPickerAllowed:!0,smartResize:!0,hasOrshotBranding:!1,maxEmbedUsers:800,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:null,hasOrshotBranding:!1}},{title:"8x",type:"scale",description:"For teams and pipelines at scale",workspacesLimit:18,membersLimit:24,rateLimitPerMinute:200,allowedRequests:6e5,aiCredits:3600,aiMedia:{video:!0,speech:!0,maxClipSeconds:15,maxSpeechSeconds:180},workflows:{allowed:!0,credits:{included:6e3,renews:!0},maxSteps:10,maxActiveWorkflows:50,concurrentRuns:15},versionHistory:a,amountUsd:{monthly:600,annually:6e3},priceId:{monthly:"price_1SniLFBialVVohY8YpTyW8yr",annually:"price_1SniLWBialVVohY8JlZc7zEU"},overageRate:.012,overagePriceId:"price_1SZUXJBialVVohY8FkZkEteF",overageMeterEventName:"enterprise_overage_renders",features:{variantGeneration:!0},video:{allowed:!0,rendersPerSecond:2,overageRendersPerSecond:16,maxVideoLengthAllowed:600,maxAudioTracksPerPage:2},audio:{allowed:!0,premiumVoicesAllowed:!0,maxVoiceCharsPerRender:5e3,byokAllowed:!1},embed:{maxAllowedDomains:8,allowFullTemplateWebhookPayload:!1,webhookAllowed:!0,isCu
1stomButtonsAllowed:!0,allowed:!0,isPostEventsAllowed:!0,isDownloadAllowed:!0,isEventsAllowed:!0,isCustomAssetPickerAllowed:!0,smartResize:!0,hasOrshotBranding:!1,maxEmbedUsers:1500,canPreventTemplatesOverride:!0},embedPlayground:{enabled:!0,maxGenerators:null,hasOrshotBranding:!1}}];e.s(["AI_CREDIT_ADDON",0,{id:"ai_addon_200",monthlyCredits:200,amountUsd:11,maxQuantity:25,priceId:{monthly:"price_1UDURABialVVohY88liZHKOX",annually:"price_1UDURVBialVVohY8OFBuUi8r"}},"ENTERPRISE_FEATURES",0,{api:{templateCreation:!1,bulkTemplateCreation:!1,variantGeneration:!1,updateModifications:!1,templateUpdate:!1,workflows:!1,versionHistory:!1},embed:{allowFullTemplateWebhookPayload:!1,isCustomButtonsAllowed:!1,maxAllowedDomains:null}},"PLANS",0,m,"RETENTION_CONFIG",0,{pauseCooldownDays:30,discountCooldownDays:180,maxPauseMonths:3,cancelReasons:[{label:"Too expensive",save:"discount"},{label:"Budget cuts",save:"discount"},{label:"Not using it enough",save:"pause"},{label:"Switched to another tool",save:"chat"},{label:"Missing features I need",save:"chat"},{label:"Too difficult to use",save:"chat"},{label:"Taking a break",save:"pause"},{label:"Project ended",save:"pause"}],discountEligibleTypes:["launch","grow","scale"],pauseEligibleTypes:["launch","grow","scale"]},"RETENTION_DISCOUNTS",0,{launch:{percentOff:40,durationInMonths:4},grow:{percentOff:30,durationInMonths:4},scale:{percentOff:20,durationInMonths:4}},"WORKFLOW_ADDON",0,{id:"workflow_addon_100",monthlyCredits:100,amountUsd:11,maxQuantity:50,priceId:{monthly:"price_1TpdNTBialVVohY8aQye3ja4",annually:"price_1TpdNiBialVVohY81zfW2r2C"}},"embedDomainLimit",0,function(e){let t=e?.embed?.maxAllowedDomains;return void 0===t?null:t},"embedFeaturePlanLabel",0,function(e){let t,r,o=(t=c[e]||(e=>!0===e),(r=m.find(r=>!r.hide&&r.type&&r.embed&&t(r.embed[e])))?{plan:r,label:u(r)||"a paid",monthly:r.amountUsd?.monthly}:null);return o?"number"==typeof o.monthly?`${o.label} ($${o.monthly}/mo)`:o.label:"a higher plan"},"getPlanCode",0,function(e){let{isMonthly:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";let r=t?e.amountUsd?.monthly:e.amountUsd?.annually;if("Free"===r||0===r)return"Free";let o=d[e.type]||"Plan";return`${o}${r}`},"getPlanVersionHistory",0,s,"getPlanWorkflows",0,l,"planTypeLabel",0,u,"resolvePlanForWorkspace",0,function(e,t){if(!e||!t)return e;let o=e=>{if(!e||"object"!=typeof e||Array.isArray(e))return e;let r={};for(let[o,l]of Object.entries(e))r[o]=Array.isArray(l)?function(e,t){if("boolean"==typeof e)return e;if(Array.isArray(e)&&t){let r=e.find(e=>void 0!==e[t]);return!!r&&!!r[t]}return!1}(l,t):l;return r},n={...e};e.embed&&(n.embed=o(e.embed));let i=function(e){if(null==e)return null;let t=r[String(e)];if(!t)return null;let o={};return t.events&&(o.isEventsAllowed=!0,o.isPostEventsAllowed=!0),t.download&&(o.isDownloadAllowed=!0),Object.keys(o).length>0?o:null}(t);return i&&(n.embed={...n.embed||{},...i}),e.enterpriseFeatures&&(n.enterpriseFeatures={...e.enterpriseFeatures},e.enterpriseFeatures.embed&&(n.enterpriseFeatures.embed=o(e.enterpriseFeatures.embed)),e.enterpriseFeatures.api&&(n.enterpriseFeatures.api=o(e.enterpriseFeatures.api))),n.workflows=l(e),n.versionHistory=s(e),n}])}]);
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.