@tinkerlandai/indiana-sdk 0.8.3 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +73 -3
  3. package/README.zh-CN.md +40 -3
  4. package/dist/{ai-usage-BV-FlgWr.d.ts → ai-usage-DUlre7JC.d.ts} +1 -1
  5. package/dist/{api-B3FIE41b.d.ts → api-XDc4pRlN.d.ts} +63 -10
  6. package/dist/chunk-3KQHKRZJ.js +1 -0
  7. package/dist/chunk-6A5WWFNS.js +10 -0
  8. package/dist/{chunk-SHSNIJJM.js → chunk-A3XRIG53.js} +1 -1
  9. package/dist/chunk-BUDTHBFF.js +173 -0
  10. package/dist/{chunk-BNU6IG3F.js → chunk-FGIGKO7A.js} +1 -1
  11. package/dist/chunk-HEBQUICQ.js +4 -0
  12. package/dist/chunk-SSLZKIIU.js +1 -0
  13. package/dist/chunk-SUXAWRR6.js +1 -0
  14. package/dist/chunk-WWUUVURR.js +1 -0
  15. package/dist/{configuration-sync-DNvKXHk-.d.ts → configuration-sync-Ce3dShy7.d.ts} +6 -1
  16. package/dist/content-DDMDNRCV.js +1 -0
  17. package/dist/{customer-page-WUQVK_tp.d.ts → customer-page-9B97Qdt_.d.ts} +21 -1
  18. package/dist/{funnel-local-client-wbz-4gFx.d.ts → funnel-local-client-CUGavICI.d.ts} +43 -23
  19. package/dist/funnel-runtime-host-QK6WDRPS.js +1 -0
  20. package/dist/index.d.ts +76 -26
  21. package/dist/index.js +1 -1
  22. package/dist/native-shell.js +1 -1
  23. package/dist/openrouter.d.ts +2 -2
  24. package/dist/openrouter.js +1 -1
  25. package/dist/page.d.ts +1 -1
  26. package/dist/page.js +1 -1
  27. package/dist/paywall-4QT3JYD4.js +1 -0
  28. package/dist/popup.d.ts +14 -4
  29. package/dist/popup.js +1 -1
  30. package/dist/react-native.d.ts +1 -1
  31. package/dist/react-native.js +1 -1
  32. package/dist/screen-renderer-DLXDQQKK.js +1 -0
  33. package/dist/server.d.ts +13 -13
  34. package/dist/server.js +1 -1
  35. package/dist/src-EG7RWDDY.js +1 -0
  36. package/dist/visual.js +2 -2
  37. package/package.json +1 -1
  38. package/dist/chunk-2QPETWDX.js +0 -1
  39. package/dist/chunk-ANOOBDW5.js +0 -350
  40. package/dist/chunk-EXCPE2XH.js +0 -1
  41. package/dist/chunk-X747SY26.js +0 -4
  42. package/dist/chunk-Y32NPIYY.js +0 -1
  43. package/dist/chunk-ZT66RIFU.js +0 -10
  44. package/dist/content-J3FKZTGT.js +0 -1
  45. package/dist/funnel-runtime-host-C5P5JTV3.js +0 -1
  46. package/dist/paywall-3GIRKSHN.js +0 -1
  47. package/dist/screen-renderer-5FPYVSPW.js +0 -1
  48. package/dist/src-BMJCIMIF.js +0 -1
@@ -1 +0,0 @@
1
- import{h as H}from"./chunk-ANOOBDW5.js";import{a as b}from"./chunk-DSPLGTQI.js";import"./chunk-2QPETWDX.js";import{Pc as D}from"./chunk-ZT66RIFU.js";import{a as f}from"./chunk-SOQO2RDZ.js";import{Eb as T,Mb as L,Ob as j,tb as k}from"./chunk-LMR2TM3X.js";import"./chunk-OBYJWIRB.js";import"./chunk-EXCPE2XH.js";import{a as I}from"./chunk-RRII2DMC.js";import"./chunk-KQCTDXVD.js";import{z as l}from"zod";var x=new WeakMap;function P(o){let t={string:l.string(),number:l.number().finite(),boolean:l.boolean(),strings:l.array(l.string()),json:I}[o.type];return o.nullable?t.nullable():t}async function J(o,t){let S=D.parse(t.content),r=S.document;if(x.has(o))throw new f("CONFLICT","Content is already mounted in this container");let u=l.record(l.string(),I).parse(t.inputs??{});if(Object.keys(u).length>40)throw new f("INVALID_REQUEST","Too many content inputs");for(let[e,i]of Object.entries(u))L.parse({[e]:i});if(Object.keys(u).some(e=>!Object.hasOwn(r.contract.inputs,e)))throw new f("INVALID_REQUEST","Undeclared content input");for(let[e,i]of Object.entries(r.contract.inputs))if(Object.hasOwn(u,e))P(i).parse(u[e]);else if(i.required)throw new f("INVALID_REQUEST",`Missing content input ${e}`);for(let e of Object.keys(r.contract.outputs))if(typeof t.actions[e]!="function")throw new f("INVALID_REQUEST",`Missing host handler for ${e}`);let R=j.parse(t.bindings??[]),d=o.ownerDocument,v=d.activeElement,A=r.kind==="popup",n=A?d.createElement("dialog"):null,s=d.createElement("div");if(s.dataset.indianaContent=r.kind,s.setAttribute("aria-label",r.name),s.style.cssText="width:100%;min-width:0",n){n.setAttribute("aria-label",r.name);let e=r.screen.presentation;n.style.cssText="box-sizing:border-box;padding:0;border:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto",e.type==="modal"||e.type==="sheet"?(n.style.width=`${k[e.size]}px`,e.type==="sheet"&&(n.style.margin="auto auto 0")):n.style.width="100vw",n.append(s),o.append(n)}else o.append(s);let m=!1,g=!1,a=null,w=structuredClone(r.screen);w.actions=w.actions.map(e=>e.type==="event"?{...e,close:!1}:e);let h;function E(){m||(m=!0,h?.destroy(),n?.close(),n?.remove(),s.remove(),x.delete(o),n&&v instanceof HTMLElement&&v.isConnected&&v.focus())}let C=()=>{E(),b(t.onDismiss)};if(n){let e=d.createElement("button");e.type="button",e.textContent="\xD7",e.setAttribute("aria-label",t.locale?.startsWith("zh")?"\u5173\u95ED":"Close"),e.style.cssText="position:absolute;right:8px;top:8px;width:30px;height:30px;z-index:1",e.addEventListener("click",C),n.prepend(e)}n?.addEventListener("cancel",e=>{e.preventDefault(),C()});async function V(){if(m||g||!a)return;let e=a;g=!0,s.setAttribute("aria-busy","true");try{await t.actions[e.actionId](structuredClone(e)),a=null}catch(i){b(t.onError,i)}finally{g=!1,m||s.removeAttribute("aria-busy")}}try{n?.showModal(),h=H(s,{mode:"live",title:r.name,viewportHeight:r.kind==="page"?o.clientHeight||d.defaultView?.innerHeight||800:void 0,onError:c=>b(t.onError,new Error(c)),onEscape:A?C:void 0,onAction:(c,U,M)=>{if(m||g||a)return;let p=r.screen.actions.find(y=>y.id===c),O=r.contract.outputs[c];if(!(p?.type!=="event"||!O))try{let y=P(O).parse(Object.hasOwn(p.properties,"value")?p.properties.value:p.properties);a={requestId:crypto.randomUUID(),contentVersionId:S.id,actionId:c,event:p.event,value:y,selection:U??{},answers:M??{},requestedClose:p.close},V()}catch(y){b(t.onError,y)}}});let e={destroy:E,get pendingAction(){return a?structuredClone(a):null},retryAction:V,updateCapabilities:c=>h?.updateCapabilities(c)};x.set(o,e);let i=T(w,[t.locale,...d.defaultView?.navigator.languages??[]]);return h.update(w,i,{capabilities:t.capabilities,serverInput:{bindings:R,answers:{},values:u}}),await h.ready,e}catch(e){throw E(),e}}export{J as mountContent};
@@ -1 +0,0 @@
1
- import{a as X}from"./chunk-DSPLGTQI.js";import{a as le,b as ue,d as de}from"./chunk-GRLMT5PR.js";import"./chunk-2QPETWDX.js";import{Hg as re,ue as ae}from"./chunk-ZT66RIFU.js";import{a as u}from"./chunk-SOQO2RDZ.js";import{Hb as se}from"./chunk-LMR2TM3X.js";import"./chunk-OBYJWIRB.js";import"./chunk-EXCPE2XH.js";import"./chunk-RRII2DMC.js";import"./chunk-KQCTDXVD.js";function ce(e){let C=e.view;if(!C?.paywall)throw new u("INVALID_REQUEST","The current node is not a Paywall");let n=C.paywall.receiptId,P=C.nodeId,h=C.visit,o=C.paywall.resolution,k=o,s="document"in o?o:null;function v(i){if(!le(i,o))throw new u("INVALID_RESPONSE","The pinned Paywall binding changed")}let a=C.paywall.quote,R=C.paywall.operation,S=!1,T=new AbortController,l=C.paywall.purchaseRequestId,r=0,f=C.paywall.selectionGeneration??0,E=C.paywall.canReselect===!0,y=null,O=new Map,U=new Map;function G(i){if(i.purchase&&i.purchase.receiptId!==n)throw new u("INVALID_RESPONSE","Purchase receipt changed");let w=i.run.paywall;return i.purchase??(w?.receiptId===n?w:null)}function F(){if(S)throw new u("IDENTITY_CHANGED","Paywall presentation has closed")}function _(i,w,c){if(F(),w!==r||c!==void 0&&a?.operationId!==c)return!1;let I=f,d=i.run.paywall;if(d?.receiptId===n){if((d.selectionGeneration??0)<f)return!1;f=d.selectionGeneration??0,E=d.canReselect===!0,v(d.resolution)}let m=G(i),p=f>I,N=p?m?.quote??null:m?.quote??a,q=m?.operation??(N?.operationId===a?.operationId?R:null);return N&&q&&ue(q,{operationId:N.operationId},"Purchase operation changed"),d?.receiptId===n&&(k=d.resolution,s="document"in k?k:s?{...k,document:s.document,offering:s.offering}:null),(p||N?.operationId!==a?.operationId)&&(r++,d?.receiptId===n&&(l=d.purchaseRequestId)),a=N,R=de(R,q,!0),!0}function $(i,w,c){return new Promise((I,d)=>{let m=!1,p=()=>{clearTimeout(D),T.signal.removeEventListener("abort",J)},N=z=>{m||(m=!0,p(),I(z))},q=z=>{m||(m=!0,p(),d(z))},J=()=>q(new u("IDENTITY_CHANGED","Paywall presentation has closed")),D=setTimeout(()=>q(new u("COMMAND_PENDING","The purchase command is still pending; retry the original request",202,c)),Math.max(0,w-Date.now()));T.signal.addEventListener("abort",J,{once:!0}),T.signal.aborted&&J(),i.then(N,q)})}function j(i){return new Promise(w=>{let c=()=>{clearTimeout(I),T.signal.removeEventListener("abort",c),w()},I=setTimeout(c,i);T.signal.addEventListener("abort",c,{once:!0}),T.signal.aborted&&c()})}async function A(i,w,c){F();let I=O.get(i);if(!I){let p=e.pendingCommands?.find(N=>N.requestId===i)??e.pendingCommand;if(p?.operation==="submit"&&p.requestId===i&&p.nodeId===P&&p.visit===h){w.type==="paywall_quote"&&p.input.type==="paywall_quote"&&p.input.predecessor&&!w.predecessor&&(w={...w,predecessor:p.input.predecessor});let N=re.parse(p),q=re.parse({...p,input:w});if(q.operation!=="submit"||N.operation!=="submit"||JSON.stringify(q.input)!==JSON.stringify(N.input))throw new u("CONFLICT","A restored purchase request cannot change its input");w=q.input,I=N,O.set(i,I)}}if(I){if(JSON.stringify(I.input)!==JSON.stringify(w))throw new u("CONFLICT","A purchase request cannot change its input")}else{let p=e.view;if(!p||p.nodeId!==P||p.visit!==h||p.paywall?.receiptId!==n)throw new u("PRECONDITION_FAILED","The Paywall visit has changed");I={operation:"submit",requestId:i,nodeId:P,visit:h,revision:p.revision,input:w},O.set(i,I)}let d=Date.now()+3e4,m=await $(e.submit(I),d,i);for(;m.run.pendingRequest?.requestId===i&&Date.now()<d&&!S&&(await j(Math.min(1e3,d-Date.now())),!(S||Date.now()>=d));)m=await $(e.resume(i),d,i);if(S)throw new u("IDENTITY_CHANGED","Paywall presentation has closed");if(m.run.pendingRequest?.requestId===i)throw new u("COMMAND_PENDING","The purchase command is still pending; retry the original request",202,i);if(!_(m,c,w.type==="paywall_confirm"||w.type==="paywall_cancel"?w.operationId:void 0))throw new u("PRECONDITION_FAILED","The purchase selection has changed")}async function Q(i){if(!a)throw new u("INVALID_REQUEST","A quoted purchase is required");let w=`${i}:${a.operationId}`,c=U.get(w);if(!c){let I=i==="confirm"?"paywall_confirm":"paywall_cancel",d=e.pendingCommands?.find(m=>m.operation==="submit"&&m.input.type===I&&"operationId"in m.input&&m.input.operationId===a.operationId)??e.pendingCommand;c=d?.operation==="submit"&&d.input.type===I&&"operationId"in d.input&&d.input.operationId===a.operationId?d.requestId:crypto.randomUUID(),U.set(w,c)}if(await A(c,{type:i==="confirm"?"paywall_confirm":"paywall_cancel",operationId:a.operationId},r),!R)throw new u("INVALID_RESPONSE","The accepted purchase result is missing");return structuredClone(R)}return{get view(){return structuredClone(s)},get quote(){return a?structuredClone(a):null},get operation(){return R?structuredClone(R):null},get webViewUrl(){return e.webViewUrl},get canReselect(){return E},async refresh(){F();let i=r,w=await e.get();if(_(w,i),w.run.paywall?.receiptId!==n)throw new u("PRECONDITION_FAILED","Paywall presentation has changed");if(!s){if("document"in k||!e.resolvePaywall)throw new u("INVALID_RESPONSE","Public Paywall reader is unavailable");let c=await e.resolvePaywall(k);F(),v(c),s={...k,document:c.document,offering:c.offering}}return structuredClone(s)},preview(i){if(!s)return Promise.reject(new u("PRECONDITION_FAILED","Load the Paywall presentation first"));if(l&&l!==i.requestId&&(y||!E))return Promise.reject(new u("COMMAND_PENDING","Retry the original purchase before starting another"));if(l===i.requestId&&y)return y;let w=s.document.buttons[i.actionId],c=w?.type==="checkout"?ae(w.product,i.selection,s.capabilities):null;if(!c)return Promise.reject(new u("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area"));let I=l!==i.requestId&&f>0?{operationId:a?.operationId??null,generation:f}:void 0;if(I&&(!E||f<=0))return Promise.reject(new u("COMMAND_PENDING","Original purchase requires authoritative termination"));l!==i.requestId&&r++;let d=r;l=i.requestId;let m=(async()=>{if(await A(i.requestId,{type:"paywall_quote",actionId:i.actionId,productVersionId:c,...I?{predecessor:I}:{},...i.offerId?{offerId:i.offerId}:{},...i.nativeOffer?{nativeOffer:i.nativeOffer}:{}},d),!a)throw new u("INVALID_RESPONSE","The accepted quote is missing");return structuredClone(a)})();return y=m,m.then(()=>{y===m&&(y=null)},p=>{y===m&&(y=null),l===i.requestId&&e.pendingCommand?.requestId!==i.requestId&&p instanceof u&&p.status!==void 0&&p.status<500&&![401,425].includes(p.status)&&(l=null)}),m},confirm:()=>Q("confirm"),cancel:()=>Q("cancel"),async read(){if(F(),!a)throw new u("INVALID_REQUEST","A quoted purchase is required");let i=a.operationId,w=r,c=e.pendingCommands?.find(p=>p.operation==="submit"&&(p.input.type==="paywall_confirm"||p.input.type==="paywall_cancel")&&p.input.operationId===i)??e.pendingCommand;c?.operation==="submit"&&(c.input.type==="paywall_confirm"||c.input.type==="paywall_cancel")&&c.input.operationId===i&&await e.settle?.(c.requestId);let I=await e.get(void 0,{receiptId:n,operationId:i});F();let d=G(I);if(d?.quote&&d.quote.operationId!==i||d?.operation&&d.operation.operationId!==i)throw new u("INVALID_RESPONSE","Purchase operation changed");let m=_(I,w,i)?R:d?.operation;if(!m)throw new u("INVALID_RESPONSE","The current purchase result is missing");return structuredClone(m)},destroy(){S=!0,T.abort(),O.clear(),U.clear()}}}function pe(e){let C=new Set,n=new Set,P=null;function h(o){if(e.reviewing||C.has(o)||n.has(o)||e.stopped)return;n.add(o);let k=async()=>{if(e.reviewing||e.stopped||e.key!==o){n.delete(o);return}if(e.busy||e.client.pendingCommand){setTimeout(()=>{k()},250);return}let s=(async()=>{let a=e.client.view,R=e.expected(),S=R.requestId,T=!1;try{await e.client.submit({operation:"shown",...R})}catch(l){if(!(l instanceof u)||l.code!=="CONFLICT"||l.status!==409||e.client.pendingCommand)throw l;await e.client.get();let r=e.client.view;if(e.stopped||e.reviewing||e.key!==o||!r||!a||r.id!==a.id||r.source.versionId!==a.source.versionId||r.nodeId!==R.nodeId||r.visit!==R.visit||r.revision<=R.revision||r.stopped||!r.screen||!["running","waiting"].includes(r.status)||e.client.pendingCommand)throw l;let f=e.expected();S=f.requestId,await e.client.submit({operation:"shown",...f})}for(;!e.stopped&&e.key===o&&e.client.pendingCommand?.requestId===S;){if(!e.client.settle)throw new u("COMMAND_PENDING","The original display acknowledgement is still pending");await e.client.settle(S),T=!0,e.client.pendingCommand?.requestId===S&&await new Promise(l=>setTimeout(l,1500))}e.stopped||e.key!==o||(T&&await e.client.get(),!(e.stopped||e.key!==o)&&C.add(o))})();P=s;let v=()=>{P===s&&(P=null),n.delete(o)};s.then(v,a=>{v(),e.busy||e.fail(a)})};k()}return{report:h,get inFlight(){return P}}}function fe(e){let C={},n=new Map;async function P(h){let o=e.client.view,k=o?.screen,s=k?.customerData.nodes[h.nodeId];if(e.stopped||e.busy||!o||!k||!s)return;if(!["refresh","next","previous","filter","sources_next","sources_previous"].includes(h.action)){let r=e.document,f=r?se(r,h.nodeId):null,E=f?.type==="customer_data"?f.data.outputs?.[h.action]:void 0;E&&k.outputs.includes(E)?await e.perform(()=>e.client.submit({operation:"submit",...e.expected(),input:{type:"screen",output:E,answers:e.answers,selection:h.value?{[h.nodeId]:h.value}:{}}})):await e.onIntent?.(h,o);return}let a=h.action.startsWith("sources_")?s.resources.find(r=>r.key===h.value):null;if(h.action.startsWith("sources_")&&!a)throw new u("INVALID_REQUEST","Choose a current resource");let R=`${o.visit}:${h.nodeId}:${a?.key??""}`,S=n.get(R)??[null],l=C[h.nodeId]??{page:1,after:null,filter:"all",...a?{resourceKey:a.key}:{}};if(h.action==="filter"){let r=h.value;if(!r||!(s.source==="offer_history"?["all","issued","reserved","redeemed","expired","revoked"]:["all","purchase","refund","source","usage","debt","settlement"]).includes(r))throw new u("INVALID_REQUEST","Unknown data filter");l={page:1,after:null,filter:r},S.splice(0,S.length,null)}else if(h.action==="next"||h.action==="sources_next"){let r=a?.sources.at(-1),f=a?r?{kind:"ledger",cursor:{at:r.detail[0],id:r.id,type:"source"}}:null:k.dataCursors[h.nodeId];if(!f||!a&&!s.hasNext)return;S[l.page]=f,l={...l,page:l.page+1,after:f}}else if(h.action==="previous"||h.action==="sources_previous"){if(l.page<=1)return;l={...l,page:l.page-1,after:S[l.page-2]??null}}n.set(R,S),C={...C,[h.nodeId]:l},await e.perform(()=>e.client.get({nodeId:o.nodeId,visit:o.visit,revision:o.revision,components:C}))}return{get queries(){return C},intent:P,reset(){C={},n.clear()}}}function we(e){let{doc:C,holder:n,reviewHolder:P,mountScreenPreview:h}=e,o=!1,k,s=0,v=null,a="",R=new Map,S=r=>r?`${r.id}:${r.nodeId}:${r.visit}:${r.revision}:${r.paywall?.quote?.operationId??""}`:"";async function T(r){if(e.stopped||!e.client.review)return;o||(a=S(e.client.view),R.set(a,structuredClone(e.answers))),o=!0,k=r,n.hidden=!0,e.suspend(!0),P.hidden=!1;let f=++s;try{let E=await e.client.review(r);if(e.stopped||f!==s||!o)return;if(!E.review)throw new u("INVALID_RESPONSE","Historical projection is missing");v?.destroy(),v=null,P.replaceChildren();let y=E.run.locale.startsWith("zh"),O=C.createElement("p");O.textContent=y?"\u53EA\u8BFB\u56DE\u770B":"Read-only history",P.append(O);for(let[F,_]of E.review.pages.entries()){let $=C.createElement("button");$.type="button",$.textContent=y?`\u7B2C ${F+1} \u9875`:`Page ${F+1}`,$.onclick=()=>{T(_.receiptId)},P.append($)}if(E.review.page){let F=E.review.page,_=C.createElement("div");if(_.inert=!0,P.append(_),v=h(_,{mode:"live",rendererUrl:e.client.webViewUrl,title:F.document.name,onAction:()=>{},onAnswers:()=>{},onCustomerDataIntent:()=>{},onRendered:()=>{},onEscape:()=>{l()}}),v.update(F.document,E.run.locale,{serverInput:{bindings:F.inputs,answers:F.answers,values:F.values}}),await v.ready,e.stopped||f!==s||!o)return}let U=y?{issued:"\u5DF2\u9886\u53D6",reserved:"\u5DF2\u9884\u7559",redeemed:"\u5DF2\u4F7F\u7528",expired:"\u5DF2\u8FC7\u671F",revoked:"\u5DF2\u64A4\u9500",unknown:"\u72B6\u6001\u5F85\u786E\u8BA4"}:{issued:"Issued",reserved:"Reserved",redeemed:"Used",expired:"Expired",revoked:"Revoked",unknown:"Status unconfirmed"},G=y?{pending:"\u5904\u7406\u4E2D",complete:"\u5DF2\u5B8C\u6210",cancelled:"\u5DF2\u53D6\u6D88",failed:"\u5931\u8D25",unknown:"\u72B6\u6001\u5F85\u786E\u8BA4"}:{pending:"Processing",complete:"Completed",cancelled:"Cancelled",failed:"Failed",unknown:"Status unconfirmed"};for(let F of[...E.review.coupons.map((_,$)=>`${y?"\u4F18\u60E0\u5238":"Coupon"} ${$+1}: ${U[_.status]}`),...E.review.purchases.map((_,$)=>`${y?"\u8D2D\u4E70":"Purchase"} ${$+1}: ${G[_.status]}`)]){let _=C.createElement("p");_.textContent=F,P.append(_)}e.client.view&&await e.enqueue(e.client.view)}catch(E){if(f!==s||e.stopped)return;v?.destroy(),v=null,P.replaceChildren(),e.fail(E)}}async function l(){if(!o||e.stopped||!e.client.review)return;let r=++s;try{if(await e.client.review(),e.stopped||r!==s)return;o=!1,s++,v?.destroy(),v=null,P.replaceChildren(),P.hidden=!0,n.hidden=!1;let f=e.client.view;S(f)!==a?(R.set(a,structuredClone(e.answers)),e.resetScreen()):(R.delete(a),e.suspend(!1)),f&&await e.enqueue(f)}catch(f){if(r!==s||e.stopped)return;v?.destroy(),v=null,P.replaceChildren(),e.fail(f)}}return{get active(){return o},get receipt(){return k},open:T,exit:l,get drafts(){return new Map([...R].map(([r,f])=>[r,structuredClone(f)]))},stop(){o=!1,s++,v?.destroy(),v=null,P.replaceChildren(),P.hidden=!0,n.hidden=!1}}}async function Ue(e,C){let n=C,{mountScreenPreview:P}=await import("./screen-renderer-5FPYVSPW.js"),{showPaywall:h}=await import("./paywall-3GIRKSHN.js"),o=e.ownerDocument,k=o.activeElement,s=o.createElement("section"),v=o.createElement("div"),a=o.createElement("div"),R=o.createElement("div"),S=o.createElement("button");R.hidden=!0,S.type="button";let T=o.createElement("p"),l=o.createElement("p"),r=o.createElement("button"),f=o.createElement("button"),E=o.createElement("button"),y=o.createElement("dialog");s.dataset.indianaFunnel="",s.setAttribute("aria-busy","false"),s.style.cssText="box-sizing:border-box;width:100%;min-width:0;font:14px/1.5 system-ui,sans-serif;color:#172033;background:#fff",a.style.cssText="display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 20px",T.setAttribute("role","status"),l.setAttribute("role","alert"),l.hidden=!0,r.type=f.type=E.type="button",a.append(r,T,l,E,S,f),s.append(v,R,a),e.append(s);let O=null,U=null,G=null,F="",_="",$="",j="",A=!1,Q=0,i=!1,w="",c=null,I=Promise.resolve(),d=null,m=null,p=new Set,N={},q=(t,g=null)=>{A||(m=g,l.textContent=t instanceof Error?t.message:"Request failed",l.hidden=!1,E.hidden=n.client.pendingCommand===null,X(n.onError,t))};function J(){let t=n.client.view;if(!t)throw new u("INVALID_REQUEST","No current Run is available");return{requestId:crypto.randomUUID(),nodeId:t.nodeId,visit:t.visit,revision:t.revision}}let D=we({client:n.client,doc:o,holder:v,reviewHolder:R,mountScreenPreview:P,get stopped(){return A},get answers(){return N},suspend(t){U?.setSuspended(t)},resetScreen(){F="",_=""},enqueue:W,fail:q}),z=pe({client:n.client,expected:J,fail:q,get stopped(){return A},get reviewing(){return D.active},get key(){return F},get busy(){return Q}}),Z=fe({client:n.client,expected:J,perform:B,onIntent:n.onCustomerDataIntent,get stopped(){return A},get busy(){return Q},get document(){return O?.document},get answers(){return N}});async function B(t,g=!1){if(!(Q&&!g||A||D.active&&!g)){Q++,s.setAttribute("aria-busy","true"),l.hidden=!0,m=null;try{if(!g&&z.inFlight){let b=n.client.view;await z.inFlight;let L=n.client.view;if(!b||!L||L.id!==b.id||L.nodeId!==b.nodeId||L.visit!==b.visit||L.stopped||!["running","waiting"].includes(L.status))throw new u("PRECONDITION_FAILED","The screen changed while its display was acknowledged")}if(A)return;let M=await t();A||await W(n.client.view??M.run)}catch(M){q(M,n.client.pendingCommand?.requestId??null)}finally{Q=Math.max(0,Q-1),s.setAttribute("aria-busy",String(Q>0)),A||(E.hidden=n.client.pendingCommand===null,r.disabled=Q>0||!!n.client.pendingCommand||!n.client.view?.canBack)}}}function x(){c&&clearTimeout(c),!(A||!G||!["running","waiting"].includes(G.status)&&!n.client.pendingCommand)&&(c=setTimeout(()=>{c=null,oe().finally(x)},G.pendingRequest||n.client.pendingCommand?1500:5e3))}async function oe(){if(!(A||i||Q)){if(D.active){await D.open(D.receipt);return}i=!0;try{let t=n.client.pendingCommand;t&&n.client.settle&&await n.client.settle(t.requestId);let g=n.client.view,M=Z.queries,b=await n.client.get(g?.screen&&Object.keys(M).length?{nodeId:g.nodeId,visit:g.visit,revision:g.revision,components:M}:void 0);!A&&M===Z.queries&&await W(n.client.view??b.run)}catch(t){q(t)}finally{i=!1}}}function me(t){let g=t.screen?.presentation;if(!g||g.type==="inline"){y.open&&y.close(),s.parentElement!==e&&e.append(s);return}s.parentElement!==y&&(y.append(s),e.append(y));let M={sm:420,md:640,lg:900};y.style.cssText=`padding:0;border:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;width:${"size"in g?M[g.size]+"px":"100vw"}`,y.setAttribute("aria-label",O?.document?.name??t.screen?.content.document.name??"Funnel"),y.open||y.showModal()}async function ye(t){if(A)return;G=t,m&&n.client.pendingCommand?.requestId!==m&&(l.hidden=!0,m=null);let g=t.locale.startsWith("zh");if(S.textContent=g?"\u56DE\u770B":"History",S.hidden=!n.client.review,r.textContent=D.active?g?"\u8FD4\u56DE\u5F53\u524D":"Return to current":g?"\u8FD4\u56DE":"Back",f.textContent=g?"\u5173\u95ED":"Close",E.textContent=g?"\u91CD\u8BD5":"Retry",r.disabled=!D.active&&(Q>0||!!n.client.pendingCommand||!t.canBack),E.hidden=n.client.pendingCommand===null,T.textContent=t.pendingRequest?g?"\u6B63\u5728\u5904\u7406":"Processing":t.instruction?.type==="wait"?g?"\u7B49\u5F85\u4E2D":"Waiting":"",w!==`${t.revision}:${t.visit}:${t.status}:${t.stopped}`&&(w=`${t.revision}:${t.visit}:${t.status}:${t.stopped}`,X(n.onState,structuredClone(t))),t.stopped||n.client.configurationReady===!1){D.stop(),O?.destroy(),O=null,U?.destroy(),U=null,v.replaceChildren(),F="",_="",j="",y.open&&y.close(),s.hidden=!0,x();return}if(s.hidden=!1,D.active){x();return}let M=t.screen||t.paywall?`${t.id}:${t.nodeId}:${t.visit}`:"";if(M!==F&&(O?.destroy(),O=null,U?.destroy(),U=null,v.replaceChildren(),F=M,_="",j="",N={...t.answers},Z.reset()),me(t),t.screen){let L=t.screen.content;O||(O=P(v,{mode:"live",rendererUrl:n.client.webViewUrl,title:L.document.name,onAction(H,te={},ie={}){if(D.active)return;N={...N,...ie};let Ie=Object.fromEntries((t.screen?.inputs??[]).filter(({variable:ne})=>Object.hasOwn(N,ne)).map(({variable:ne})=>[ne,N[ne]]));B(()=>n.client.submit({operation:"submit",...J(),input:{type:"screen",output:H,answers:Ie,selection:te}}))},onAnswers:H=>{D.active||(N={...N,...H})},onCustomerDataIntent:H=>{D.active||Z.intent(H).catch(q)},onEscape:()=>{D.active||K()},onError:H=>q(new Error(H)),onRendered:()=>z.report(M)}));let V={capabilities:t.screen.capabilities,customerData:t.screen.customerData,parameters:t.parameters,serverInput:{bindings:t.screen.inputs,answers:N,values:t.screen.values}},Y=JSON.stringify([L,t.locale,V.parameters,t.screen.inputs,t.screen.values]);if(Y!==_)O.update(L.document,t.locale,V),_=Y,$=JSON.stringify(V.capabilities),j=JSON.stringify(V.customerData);else{let H=JSON.stringify(V.capabilities);H!==$&&(O.updateCapabilities(V.capabilities),$=H),JSON.stringify(V.customerData)!==j&&(O.updateCustomerData(V.customerData),j=JSON.stringify(V.customerData))}await O.ready}else if(t.paywall&&!U){let L=await h(v,{canInteract:()=>!D.active&&!A,start:async()=>ce(n.client),onPurchase:n.onPurchase,onCheckoutUrl:n.onCheckoutUrl,resolveOfferId:n.resolveOfferId,onEvent:n.onEvent,onOpenUrl:V=>n.onOpenUrl?n.onOpenUrl({receiptId:t.paywall.receiptId,url:V,openIn:"same_window"}):o.defaultView?.location.assign(V),onAction:async V=>{if(D.active)return;let Y=await n.client.submit({operation:"submit",requestId:crypto.randomUUID(),nodeId:t.nodeId,visit:t.visit,revision:t.revision,input:{type:"screen",output:V,answers:{}}});await W(n.client.view??Y.run)},onError:q,onDismiss:()=>{!D.active&&!A&&n.client.view?.visit===t.visit&&K()}});A?L.host?.destroy():(U=L.host,U?.setSuspended(D.active)),z.report(M)}let b=t.instruction;if(b&&(b.type==="open_url"||b.type==="event")&&!p.has(b.receiptId)){let L=o.createElement("button");L.type="button",L.textContent=b.type==="open_url"?`${g?"\u524D\u5F80":"Continue to"} ${new URL(b.url).host}`:g?"\u7EE7\u7EED":"Continue",L.onclick=()=>{let V=J(),Y=b.type==="open_url"&&!n.onOpenUrl&&b.openIn==="new_window"?he(b.url):null;B(async()=>{let H="success";if(b.type==="open_url")if(n.onOpenUrl)try{H=await n.onOpenUrl({receiptId:b.receiptId,url:b.url,openIn:b.openIn})===!1?"failed":"opened"}catch(ie){X(n.onError,ie),H="failed"}else H=b.openIn==="new_window"&&!Y?"failed":"opened";if(b.type==="event"){if(!n.onEvent)throw new u("EVENT_HANDLER_REQUIRED","Provide the event handler");await n.onEvent(b.event)}if(A||n.client.view?.nodeId!==V.nodeId||n.client.view.visit!==V.visit)throw new u("PRECONDITION_FAILED","The client action visit changed");let te=await n.client.submit({operation:"submit",...V,input:{type:"client_action",receiptId:b.receiptId,outcome:H}});return p.add(b.receiptId),b.type==="open_url"&&!n.onOpenUrl&&b.openIn==="same_window"&&o.defaultView?.location.assign(b.url),te})},v.replaceChildren(L)}!t.pendingRequest&&t.status==="completed"&&!p.has(`complete:${t.id}`)&&(p.add(`complete:${t.id}`),X(n.onComplete,structuredClone(t))),x()}function he(t){let g=o.defaultView?.open(t,"_blank")??null;return g&&(g.opener=null),g}function W(t){return I=I.catch(()=>{}).then(()=>ye(t)),I}let ve=n.client.subscribe(t=>{n.client.configurationReady===!1&&(s.hidden=!0,O?.destroy(),O=null,U?.destroy(),U=null,v.replaceChildren(),F="",_="",j="",y.open&&y.close()),W(t).catch(q)}),ge=n.client.subscribeError?.(q);function K(){return d||(A?Promise.resolve():n.client.view&&!["running","waiting"].includes(n.client.view.status)?(ee(),Promise.resolve()):(d=B(()=>n.client.submit({operation:"close",...J()}),!0).then(()=>{n.client.view?.status==="closed"&&ee()}).finally(()=>{d=null}),d))}function ee(){A||(A=!0,c&&clearTimeout(c),ve(),ge?.(),O?.destroy(),D.stop(),U?.destroy(),y.close(),y.remove(),s.remove(),k instanceof HTMLElement&&k.isConnected&&k.focus(),X(n.onDismiss,G?structuredClone(G):null))}r.onclick=()=>{if(D.active){D.exit();return}B(()=>n.client.submit({operation:"back",...J()}))},S.onclick=()=>{D.open()},f.onclick=()=>{K()},E.onclick=()=>{B(()=>n.client.retry())},y.addEventListener("cancel",t=>{t.preventDefault(),K()});try{let t=await n.client.get();await W(n.client.view??t.run)}catch(t){throw ee(),t}return{destroy:ee,refresh:oe,review:D.open,exitReview:D.exit,get unappliedDrafts(){return D.drafts}}}export{Ue as showFunnelRun};
@@ -1 +0,0 @@
1
- import{a as z}from"./chunk-DSPLGTQI.js";import"./chunk-2QPETWDX.js";import{Sj as j,ue as q}from"./chunk-ZT66RIFU.js";import{a as w}from"./chunk-SOQO2RDZ.js";import{ka as N,v as $}from"./chunk-LMR2TM3X.js";import"./chunk-OBYJWIRB.js";import"./chunk-EXCPE2XH.js";import"./chunk-RRII2DMC.js";import"./chunk-KQCTDXVD.js";async function W(b,n,h){if(n.status!=="complete")throw new w("INVALID_RESPONSE","A verified completed purchase is required");if(await h.onComplete?.(n),!b||!h.check)return;let t=N.parse(await h.check());if(t.internal_feature_id!==b.internal_feature_id||t.quantity!==b.quantity)throw new w("INVALID_RESPONSE","The access requirement changed");t.allowed&&await h.onAccessGranted?.(t)}async function ie(b,n){let h=n.check?N.parse(await n.check()):null;if(h?.allowed)return await n.onAccessGranted?.(h),{check:h,host:null};let t=await n.start(),y=t.view??await t.refresh();if(!y)throw new w("INVALID_RESPONSE","Paywall presentation is missing");let{mountScreenPreview:J}=await import("./screen-renderer-5FPYVSPW.js"),a=b.ownerDocument,S=new AbortController,v=a.createElement("section"),Q=a.createElement("div"),O=a.createElement("div"),P=a.createElement("p"),c=a.createElement("button"),L=a.createElement("button"),u=a.createElement("dialog"),_=a.activeElement,p=y.document.screen.strings.defaultLocale.startsWith("zh");v.dataset.indianaPaywall="",v.setAttribute("aria-label",y.document.name),v.style.cssText="width:100%;box-sizing:border-box;background:#fff;color:#172033;font:14px/1.5 system-ui,sans-serif",O.style.cssText="display:flex;gap:12px;padding:12px 20px;align-items:center;flex-wrap:wrap",P.setAttribute("role","status"),L.textContent=p?"\u5173\u95ED":"Close",c.textContent=p?"\u91CD\u8BD5":"Retry",c.hidden=!0,O.append(P,c,L),v.append(Q,O);let D=y.document.presentation,A,d=!1,T=!1,f=null,G=!1,m=()=>!G&&n.canInteract?.()!==!1,M=!1,r=null,I=null,U=e=>{P.textContent=e instanceof Error?e.message:p?"\u8BF7\u6C42\u5931\u8D25":"Request failed",z(n.onError,e),c.hidden=r===null};async function k(e){if(!(T||d||!m())){T=!0,c.hidden=!0,P.textContent="";try{await e()}catch(s){d||U(s)}finally{T=!1}}}async function K(e){await W(h,e,n)}async function E(e){if(d)return;if(!m()){r=async()=>E(await t.read()),c.hidden=!1;return}if(P.textContent=e.status,e.status==="complete"){r=null,await K(e);return}if(e.status!=="pending"){if(t.canReselect===!1){P.textContent=p?"\u6B63\u5728\u6838\u5BF9\u539F\u8D2D\u4E70\u7ED3\u679C":"Checking the original purchase result",c.textContent=p?"\u67E5\u8BE2\u7ED3\u679C":"Check result",r=async()=>E(await t.read()),c.hidden=!1;return}c.textContent=p?"\u91CD\u8BD5":"Retry",r=null,f=null;return}let s=Date.now()+6e5,l=2e3;for(;!d&&Date.now()<s;){if(await new Promise(C=>{let R=()=>{clearTimeout(x),C()},x=setTimeout(()=>{S.signal.removeEventListener("abort",R),C()},l);S.signal.addEventListener("abort",R,{once:!0})}),d)return;if(!m()){r=async()=>E(await t.read()),c.hidden=!1;return}let i=await t.read();if(i.status!=="pending"){await E(i);return}l=Math.min(l*1.5,3e4)}r=async()=>E(await t.read()),c.hidden=!1}async function V(){I?.remove(),I=null,r=V;let e=await t.confirm();if(!m()){r=V,c.hidden=!1;return}if(e.status==="pending"){if(e.checkoutUrl)n.onCheckoutUrl?await n.onCheckoutUrl(e.checkoutUrl):a.defaultView?.location.assign(e.checkoutUrl);else if(e.execution||e.nativePurchase){if(!n.onPurchase)throw new w("PURCHASE_HANDLER_REQUIRED","Provide the merchant or native purchase handler");await n.onPurchase({operation:e,signal:S.signal})}}r=async()=>E(await t.read()),await E(e)}function X(e){I?.remove();let s=a.createElement("div"),l=a.createElement("button"),i=a.createElement("button"),C=a.createElement("p");C.textContent=e.lines.map(o=>o.productName).join(", ")+" \xB7 "+$(e.charge?.totalMinor??e.catalogAmountMinor-(e.discount?.amountMinor??0),e.currency),l.textContent=p?"\u786E\u8BA4\u8D2D\u4E70":"Confirm purchase",i.textContent=p?"\u53D6\u6D88":"Cancel",l.onclick=()=>{k(V)};let R=async()=>{let o=await t.cancel();d||(s.remove(),I=null,await E(o))};i.onclick=()=>{r=R,k(R)};let x=a.createElement("div");for(let o of e.lines){let B=a.createElement("p");if(B.textContent=`${o.productName} \xB7 ${$(o.catalogAmountMinor,e.currency)}${j(o.interval,p?"zh-CN":"en",o.intervalCount??1)}`,x.append(B),o.trial){let F=a.createElement("p");F.textContent=p?`\u8BD5\u7528 ${o.trial.days} \u5929\uFF1B${o.trial.cardRequired?"\u9700\u8981\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F":"\u65E0\u9700\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F"}`:`Trial days: ${o.trial.days}; ${o.trial.cardRequired?"a payment method is required":"no payment method is required"}`,x.append(F)}}if(!e.charge){let o=a.createElement("p");o.textContent=p?"\u76EE\u5F55\u4EF7\u683C\uFF1B\u6700\u7EC8\u91D1\u989D\u4EE5\u7ED3\u8D26\u65F6\u7A0E\u8D39\u548C\u8BD5\u7528\u89C4\u5219\u4E3A\u51C6\u3002":"Catalog price; the final charge depends on checkout taxes and trial terms.",x.append(o)}s.append(C,x,l,i),O.prepend(s),I=s,r=null}async function H(){if(!f)return;if(r=H,!M){let s=t.view,l=s?.document.buttons[f.actionId],i=s&&l?.type==="checkout"?q(l.product,f.selection,s.capabilities):null;if(!i)throw new w("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area");let C=await n.resolveOfferId?.({actionId:f.actionId,productVersionId:i});if(d)return;C!==void 0&&(f.offerId=C),M=!0}if(!m()){c.hidden=!1;return}let e=await t.preview(f);d||X(e)}function g(e="destroy"){d||(d=!0,S.abort(),A?.destroy(),t.destroy(),u.open&&u.close(),u.remove(),v.remove(),_ instanceof HTMLElement&&_.isConnected&&_.focus(),e==="dismiss"&&z(n.onDismiss))}L.onclick=()=>{m()&&g("dismiss")},u.addEventListener("cancel",e=>{e.preventDefault(),m()&&g("dismiss")}),c.onclick=()=>{r&&k(r)};try{if(D.type==="inline")b.append(v);else{let e={sm:420,md:640,lg:900};u.style.cssText=`padding:0;border:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;width:${"size"in D?e[D.size]+"px":"100vw"}`,u.setAttribute("aria-label",y.document.name),u.append(v),b.append(u),m()&&u.showModal()}A=J(Q,{mode:"live",rendererUrl:t.webViewUrl,title:y.document.name,onAction(e,s={}){if(!m())return;let l=t.view,i=l?.document.buttons[e];if(i){if(i.type==="close"){k(async()=>{await n.onAction?.(e),g(n.onAction?"action":"dismiss")});return}if(i.type==="action"){r=async()=>{if(i.action.type==="event"){if(!n.onEvent)throw new w("EVENT_HANDLER_REQUIRED","Provide the event handler");await n.onEvent(i.action.event)}else n.onOpenUrl?await n.onOpenUrl(i.action.url):a.defaultView?.location.assign(i.action.url);await n.onAction?.(e),r=null},k(r);return}if((t.quote||f)&&t.canReselect===!1){r=t.quote?async()=>E(await t.read()):H,k(r);return}if(!l||!q(i.product,s,l.capabilities)){U(new w("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area"));return}if(f&&f.actionId!==e){U(new w("COMMAND_PENDING","Finish the current purchase"));return}f||(f={requestId:crypto.randomUUID(),actionId:e,selection:s},M=!1),k(H)}},onEscape:()=>{m()&&g("dismiss")},onError:e=>U(new Error(e))}),A.update(y.document.screen,y.document.screen.strings.defaultLocale,{capabilities:y.capabilities,serverInput:{bindings:[],answers:{}}}),await A.ready}catch(e){throw g(),e}return{check:h,host:{setSuspended(e){G=e,v.hidden=e,e&&u.open?u.close():!e&&!d&&D.type!=="inline"&&!u.open&&u.showModal()},destroy:g,refresh:async()=>{if(!m()){if(t.view)return t.view;throw new w("PRECONDITION_FAILED","Paywall presentation is suspended")}let e=await t.refresh();return d||A?.updateCapabilities(e.capabilities),e}}}}export{ie as showPaywall};
@@ -1 +0,0 @@
1
- import{a,b,c,d,e,f,g,h}from"./chunk-ANOOBDW5.js";import"./chunk-DSPLGTQI.js";import"./chunk-SOQO2RDZ.js";import"./chunk-LMR2TM3X.js";import"./chunk-RRII2DMC.js";import"./chunk-KQCTDXVD.js";export{f as formatCustomerDecimal,b as hostedRendererScript,a as hostedRendererShell,d as inspectCustomHtml,h as mountScreenPreview,e as prepareScreen,c as sanitizeCustomHtml,g as showPopup};
@@ -1 +0,0 @@
1
- import{$ as Ha,$a as lc,$b as Dd,$c as lg,$d as lh,$e as xi,$f as xj,$g as xk,$h as xl,$i as xm,$j as Dn,A as Y,Aa as Mb,Ab as Mc,Ac as Mf,Ad as Mg,Ae as Mh,Af as Yi,Ag as Yj,Ah as Yk,Ai as Yl,Aj as Ym,B as Z,Ba as Nb,Bb as Nc,Bc as Nf,Bd as Ng,Be as Nh,Bf as Zi,Bg as Zj,Bh as Zk,Bi as Zl,Bj as Zm,C as _,Ca as Ob,Cb as Oc,Cc as Of,Cd as Og,Ce as Oh,Cf as _i,Cg as _j,Ch as _k,Ci as _l,Cj as _m,D as $,Da as Pb,Db as Pc,Dc as Pf,Dd as Pg,De as Ph,Df as $i,Dg as $j,Dh as $k,Di as $l,Dj as $m,E as aa,Ea as Qb,Eb as Qc,Ec as Qf,Ed as Qg,Ee as Qh,Ef as aj,Eg as ak,Eh as al,Ei as am,Ej as an,F as ba,Fa as Rb,Fb as Rc,Fc as Rf,Fd as Rg,Fe as Rh,Ff as bj,Fg as bk,Fh as bl,Fi as bm,Fj as bn,G as ma,Ga as Sb,Gb as Sc,Gc as Sf,Gd as Sg,Ge as Sh,Gf as cj,Gg as ck,Gh as cl,Gi as cm,Gj as cn,H as na,Ha as Tb,Hb as Tc,Hc as Tf,Hd as Tg,He as Th,Hf as dj,Hg as dk,Hh as dl,Hi as dm,Hj as dn,I as oa,Ia as Ub,Ib as Uc,Ic as Uf,Id as Ug,Ie as Uh,If as ej,Ig as ek,Ih as el,Ii as em,Ij as en,J as pa,Ja as Vb,Jb as bd,Jc as Vf,Jd as Vg,Je as Vh,Jf as fj,Jg as fk,Jh as fl,Ji as fm,Jj as fn,K as qa,Ka as Wb,Kb as cd,Kc as Wf,Kd as Wg,Ke as Wh,Kf as gj,Kg as gk,Kh as gl,Ki as gm,Kj as gn,L as ra,La as Xb,Lb as dd,Lc as Xf,Ld as Xg,Le as Xh,Lf as hj,Lg as hk,Lh as hl,Li as hm,Lj as hn,M as sa,Ma as Yb,Mb as ed,Mc as Yf,Md as Yg,Me as ci,Mf as ij,Mg as ik,Mh as il,Mi as im,Mj as jn,N as ta,Na as Zb,Nb as fd,Nc as Zf,Nd as Zg,Ne as di,Nf as jj,Ng as jk,Nh as jl,Ni as jm,Nj as kn,O as ua,Oa as _b,Ob as gd,Oc as _f,Od as _g,Oe as ei,Of as kj,Og as kk,Oh as kl,Oi as km,Oj as ln,P as va,Pa as $b,Pb as hd,Pc as $f,Pd as $g,Pe as fi,Pf as lj,Pg as lk,Ph as ll,Pi as lm,Pj as mn,Q as wa,Qa as ac,Qb as id,Qc as ag,Qd as ah,Qe as gi,Qf as mj,Qg as mk,Qh as ml,Qi as mm,Qj as nn,R as xa,Ra as bc,Rb as jd,Rc as bg,Rd as bh,Re as hi,Rf as nj,Rg as nk,Rh as nl,Ri as nm,Rj as on,S as ya,Sa as cc,Sb as kd,Sc as cg,Sd as ch,Se as ii,Sf as oj,Sg as ok,Sh as ol,Si as om,Sj as pn,T as za,Ta as dc,Tb as vd,Tc as dg,Td as dh,Te as ji,Tf as pj,Tg as pk,Th as pl,Ti as pm,Tj as qn,U as Aa,Ua as ec,Ub as wd,Uc as eg,Ud as eh,Ue as ki,Uf as qj,Ug as qk,Uh as ql,Ui as qm,Uj as rn,V as Ba,Va as fc,Vb as xd,Vc as fg,Vd as fh,Ve as li,Vf as rj,Vg as rk,Vh as rl,Vi as rm,Vj as sn,W as Ca,Wa as gc,Wb as yd,Wc as gg,Wd as gh,We as mi,Wf as sj,Wg as sk,Wh as sl,Wi as sm,Wj as tn,X as Da,Xa as hc,Xb as zd,Xc as hg,Xd as hh,Xe as ni,Xf as tj,Xg as tk,Xh as tl,Xi as tm,Xj as un,Y as Ea,Ya as ic,Yb as Ad,Yc as ig,Yd as ih,Ye as oi,Yf as uj,Yg as uk,Yh as ul,Yi as um,Yj as vn,Z as Fa,Za as jc,Zb as Bd,Zc as jg,Zd as jh,Ze as pi,Zf as vj,Zg as vk,Zh as vl,Zi as vm,Zj as wn,_ as Ga,_a as kc,_b as Cd,_c as kg,_d as kh,_e as wi,_f as wj,_g as wk,_h as wl,_i as wm,_j as xn,a as c,aa as Ia,ab as mc,ac as Ed,ad as mg,ae as mh,af as yi,ag as yj,ah as yk,ai as yl,aj as ym,ak as En,b as d,ba as Ja,bb as nc,bc as Fd,bd as ng,be as nh,bf as zi,bg as zj,bh as zk,bi as zl,bj as zm,bk as Fn,c as e,ca as Ka,cb as oc,cc as Gd,cd as og,ce as oh,cf as Ai,cg as Aj,ch as Ak,ci as Al,cj as Am,ck as Gn,d as f,da as La,db as pc,dc as Hd,dd as pg,de as ph,df as Bi,dg as Bj,dh as Bk,di as Bl,dj as Bm,dk as Hn,e as g,ea as Ma,eb as qc,ec as Id,ed as qg,ee as qh,ef as Ci,eg as Cj,eh as Ck,ei as Cl,ej as Cm,ek as In,f as h,fa as Na,fb as rc,fc as Jd,fd as rg,fe as rh,ff as Di,fg as Dj,fh as Dk,fi as Dl,fj as Dm,fk as Jn,g as i,ga as Oa,gb as sc,gc as Kd,gd as sg,ge as sh,gf as Ei,gg as Ej,gh as Ek,gi as El,gj as Em,gk as Kn,h as j,ha as Pa,hb as tc,hc as Ld,hd as tg,he as th,hf as Fi,hg as Fj,hh as Fk,hi as Fl,hj as Fm,hk as Ln,i as k,ia as Qa,ib as uc,ic as Md,id as ug,ie as uh,if as Gi,ig as Gj,ih as Gk,ii as Gl,ij as Gm,ik as Mn,j as l,ja as Ra,jb as vc,jc as Nd,jd as vg,je as vh,jf as Hi,jg as Hj,jh as Hk,ji as Hl,jj as Hm,jk as Nn,k as m,ka as Sa,kb as wc,kc as Od,kd as wg,ke as wh,kf as Ii,kg as Ij,kh as Ik,ki as Il,kj as Im,kk as On,l as n,la as Ta,lb as xc,lc as Pd,ld as xg,le as xh,lf as Ji,lg as Jj,lh as Jk,li as Jl,lj as Jm,lk as Pn,m as o,ma as Ua,mb as yc,mc as yf,md as yg,me as yh,mf as Ki,mg as Kj,mh as Kk,mi as Kl,mj as Km,mk as Qn,n as p,na as Va,nb as zc,nc as zf,nd as zg,ne as zh,nf as Li,ng as Lj,nh as Lk,ni as Ll,nj as Lm,nk as Rn,o as G,oa as Wa,ob as Ac,oc as Af,od as Ag,oe as Ah,of as Mi,og as Mj,oh as Mk,oi as Ml,oj as Mm,ok as Sn,p as H,pa as Xa,pb as Bc,pc as Bf,pd as Bg,pe as Bh,pf as Ni,pg as Nj,ph as Nk,pi as Nl,pj as Nm,q as I,qa as Ya,qb as Cc,qc as Cf,qd as Cg,qe as Ch,qf as Oi,qg as Oj,qh as Ok,qi as Ol,qj as Om,r as J,ra as Za,rb as Dc,rc as Df,rd as Dg,re as Dh,rf as Pi,rg as Pj,rh as Pk,ri as Pl,rj as Pm,s as K,sa as _a,sb as Ec,sc as Ef,sd as Eg,se as Eh,sf as Qi,sg as Qj,sh as Qk,si as Ql,sj as Qm,t as L,ta as Fb,tb as Fc,tc as Ff,td as Fg,te as Fh,tf as Ri,tg as Rj,th as Rk,ti as Rl,tj as Rm,u as M,ua as Gb,ub as Gc,uc as Gf,ud as Gg,ue as Gh,uf as Si,ug as Sj,uh as Sk,ui as Sl,uj as Sm,v as N,va as Hb,vb as Hc,vc as Hf,vd as Hg,ve as Hh,vf as Ti,vg as Tj,vh as Tk,vi as Tl,vj as Tm,w as O,wa as Ib,wb as Ic,wc as If,wd as Ig,we as Ih,wf as Ui,wg as Uj,wh as Uk,wi as Ul,wj as Um,x as P,xa as Jb,xb as Jc,xc as Jf,xd as Jg,xe as Jh,xf as Vi,xg as Vj,xh as Vk,xi as Vl,xj as Vm,y as Q,ya as Kb,yb as Kc,yc as Kf,yd as Kg,ye as Kh,yf as Wi,yg as Wj,yh as Wk,yi as Wl,yj as Wm,z as R,za as Lb,zb as Lc,zc as Lf,zd as Lg,ze as Lh,zf as Xi,zg as Xj,zh as Xk,zi as Xl,zj as Xm}from"./chunk-ZT66RIFU.js";import{$ as td,$a as Oe,A as ga,Aa as ne,Ab as of,B as ha,Ba as oe,Bb as pf,C as ia,Ca as pe,Cb as qf,D as ja,Da as qe,Db as rf,E as ka,Ea as re,Eb as sf,F as la,Fa as se,Fb as tf,G as Ab,Ga as te,Gb as uf,H as Bb,Ha as ue,Hb as vf,I as Cb,Ia as ve,Ib as wf,J as Db,Ja as we,Jb as xf,K as Eb,Ka as xe,Kb as qi,L as Vc,La as ye,Lb as ri,M as Wc,Ma as ze,Mb as si,N as Xc,Na as Ae,Nb as ti,O as Yc,Oa as Be,Ob as ui,P as Zc,Pa as Ce,Pb as vi,Q as _c,Qa as De,R as $c,Ra as Ee,S as ad,Sa as Fe,T as ld,Ta as Ge,U as md,Ua as He,V as nd,Va as Ie,W as od,Wa as Je,X as pd,Xa as Ke,Y as qd,Ya as Le,Z as rd,Za as Me,_ as sd,_a as Ne,a as q,aa as ud,ab as Pe,b as r,ba as Qd,bb as Qe,c as s,ca as Rd,cb as Re,d as t,da as Sd,db as Se,e as u,ea as Td,eb as Te,f as v,fa as Ud,fb as Ue,g as w,ga as Vd,gb as Ve,h as x,ha as Wd,hb as We,i as y,ia as Xd,ib as Xe,j as z,ja as Yd,jb as Ye,k as A,ka as Zd,kb as Ze,l as B,la as _d,lb as _e,m as C,ma as $d,mb as $e,n as D,na as ae,nb as af,o as E,oa as be,ob as bf,p as F,pa as ce,pb as cf,q as S,qa as de,qb as df,r as T,ra as ee,rb as ef,s as U,sa as fe,sb as ff,t as V,ta as ge,tb as gf,u as W,ua as he,ub as hf,v as X,va as ie,vb as jf,w as ca,wa as je,wb as kf,x as da,xa as ke,xb as lf,y as ea,ya as le,yb as mf,z as fa,za as me,zb as nf}from"./chunk-LMR2TM3X.js";import{a,b,c as Yh,d as Zh,e as _h,f as $h,g as ai,h as bi,j as yn,k as zn,l as An,m as Bn,n as Cn}from"./chunk-OBYJWIRB.js";import{a as hb,b as ib,c as jb,d as kb,e as lb,f as mb,g as nb,h as ob,i as pb,j as qb,k as rb,l as sb,m as tb,n as ub,o as vb,p as wb,q as xb,r as yb,s as zb}from"./chunk-RRII2DMC.js";import{c as $a,d as ab,e as bb,h as cb,i as db,j as eb,k as fb,l as gb}from"./chunk-KQCTDXVD.js";export{yl as CODE_REFERENCE_LIMITS,Db as COMMON_LOCALES,qk as CONFIGURATION_POLICY,Sf as CONTENT_DOCUMENT_BYTES,Fb as COUPON_TERM_LOCALES,me as CUSTOMER_DATA_SOURCES,ng as CreateInvoiceParamsSchema,mg as CreateInvoicePreviewSchema,Bi as DEFAULT_FUNNEL_EXECUTION_POLICY,vj as FUNNEL_API_CAPABILITIES,Ij as FUNNEL_EXECUTION_LIMITS,Ji as FUNNEL_LIMITS,Jj as FUNNEL_RECORDING_LIMITS,Fn as FUNNEL_SEGMENT_BYTES,En as FUNNEL_SEGMENT_LIMIT,ym as FUNNEL_SERVER_KEY_HEADER,Lj as FUNNEL_TRANSITION_BUDGET_MESSAGE,mm as FunnelCalculationError,Nn as FunnelLocalCalculationError,kg as InvoiceModeParamsSchema,lg as InvoiceTemplateSchema,Dd as MSG_CHANNEL_METERS,Ad as MSG_CHANNEL_PROVIDERS,mh as OFFERING_MAX_DEPTH,oh as OFFERING_MAX_ITEMS,nh as OFFERING_MAX_PRODUCTS,gf as POPUP_WIDTHS,hk as PUBLIC_PAYWALL_UNSUPPORTED_NODES,jg as ReissueInvoiceParamsSchema,xe as SCREEN_LIMITS,we as SCREEN_SCHEMA_VERSION,G as SDK_PROTOCOL_HEADER,I as SDK_SUPPORT_HEADER,J as SDK_SUPPORT_POLICY,H as SDK_VERSION_HEADER,ef as SURFACE_PATHS,$d as SURFACE_VARIABLES,P as SdkProtocolError,Ki as UNBOUND_PRODUCT_VERSION_ID,N as addSupportMonths,Ra as aiCreditSystemConfigSchema,Nk as aiMarkupSchema,Mk as aiModelIdSchema,Ok as aiModelRatesSchema,Pk as aiPricingConfigurationSchema,Lk as aiTokenPools,V as amountToMinor,Vh as analyticsConfigSchema,Xh as analyticsEventEnabled,v as apiErrorCatalog,w as apiErrorCodeForStatus,q as apiErrorCodeSchema,gm as apiOperations,$l as apiPermissionSchema,lm as archiveSurfaceTemplateSchema,ec as autoTopupPurchaseLimitSchema,qc as autoTopupStateSchema,vn as autumnAmountToMinor,Vm as autumnCustomerAutoTopupSchema,_m as autumnCustomerControlsSchema,an as autumnCustomerMetadataSchema,Zm as autumnCustomerOverageAllowedSchema,cn as autumnCustomerProductSummarySchema,bn as autumnCustomerProfileRecordSchema,Wm as autumnCustomerSpendLimitSchema,Ym as autumnCustomerUsageAlertSchema,Xm as autumnCustomerUsageLimitSchema,$m as autumnEntityControlsSchema,wn as autumnMinorToAmount,xn as autumnUsageUnitAmountDecimal,Gk as balanceAdjustmentCommandSchema,Hk as balanceAdjustmentStateSchema,Zc as balanceAllocationSchema,Wc as balanceCommandSchema,cd as balanceGrantCommandSchema,bd as balanceGrantCreateSchema,fd as balanceGrantPageSchema,ed as balanceGrantReadSchema,dd as balanceGrantSchema,ad as balanceOperationSchema,Xc as balancePricingSegmentSchema,$c as balanceQuoteSchema,Yc as balanceReceiptUnitsSchema,_c as balanceRejectionReasonSchema,Ik as balanceSourceStateSchema,Mm as bannerVersionReferenceSchema,Zb as billingAccruedMinorSchema,Yb as billingAmountMinorSchema,hc as billingAuthorizationSchema,gc as billingAuthorizationTermsSchema,_b as billingBudgetMinorSchema,rc as billingControlInputSchema,sc as billingControlsSchema,Ac as billingCouponsSchema,Y as billingCurrencies,tc as billingInvoiceLineSchema,uc as billingInvoiceSchema,xc as billingInvoicesSchema,lc as billingLimitSchema,aa as billingSettingsMutationSchema,_ as billingSettingsSchema,$ as billingSettingsScopeSchema,pc as billingUsageWindowSchema,Le as borderSchema,Re as buttonNodeSchema,nm as calculateFunnelNode,Qn as calculateLocalFunnelEvaluation,Rn as calculateLocalFunnelSegment,Bb as canonicalLocale,ae as capabilityBindingSchema,cc as cashPriceSchema,ac as cashPricingSchema,$b as cashPricingTiersSchema,Xb as cashUnitAmountMinorSchema,ol as claimRewardProductRequestSchema,Bl as codeReferenceBranchSchema,Hl as codeReferenceConfigRequestSchema,Gl as codeReferenceConfigureSchema,Nl as codeReferenceFeatureSummarySchema,zl as codeReferenceKeySchema,Cl as codeReferencePathSchema,Kl as codeReferenceReceiptSchema,Al as codeReferenceRepoSchema,Jl as codeReferenceReportSchema,El as codeReferenceRepositoryInputSchema,Fl as codeReferenceRepositorySchema,Il as codeReferenceScanConfigSchema,Ll as codeReferenceScanSchema,Ml as codeReferenceSettingsSchema,Ol as codeReferenceSummarySchema,Sd as commerceAccessSchema,Ud as commerceContextSchema,Zg as commerceCursorSchema,_g as commerceListQuerySchema,Td as commerceMoneySchema,mn as commerceProductKind,Rd as commerceProductKindSchema,Qd as commerceProviderSchema,sb as compileGrowthFeatures,tk as configurationArtifactSchema,zk as configurationDependencies,sk as configurationDependenciesSchema,xk as configurationDigest,uk as configurationFunnelSchema,yk as configurationGeneration,wk as configurationJson,pk as configurationPaywallSchema,rk as configurationScopeSchema,vc as confirmBillingAdjustmentInputSchema,jc as confirmBillingAuthorizationInputSchema,s as consoleErrorCodeSchema,E as consoleErrorResponseSchema,Jg as consoleRefundRequestSchema,_f as contentCollectionSchema,Uf as contentContractSchema,Vf as contentDocumentDraftSchema,Xf as contentDocumentSchema,Rf as contentKindSchema,Zf as contentRecordSchema,Yf as contentSummarySchema,Wf as contentValueMatches,Tf as contentValueSchema,$f as contentVersionSchema,ag as contentVersionSummarySchema,bg as contentWriteSchema,Ye as countdownNodeSchema,Mb as couponAppliesToSchema,Rb as couponChangeErrors,Xe as couponCodeNodeSchema,Th as couponContentDigestSchema,Kb as couponDiscountSchema,fk as couponDisplaySchema,Lb as couponDurationSchema,Nb as couponEligibilitySchema,Ob as couponInputSchema,Pl as couponRedemptionCommandSchema,Ql as couponRedemptionReceiptSchema,Jb as couponStatusSchema,Ub as couponWindow,cm as createCustomerRequestSchema,dm as createCustomerResponseSchema,ql as createReferralCodeRequestSchema,ca as creditAmountSchema,Sk as creditAnalyticsFilterSchema,Uk as creditAnalyticsPageSchema,Tk as creditAnalyticsQuerySchema,Qk as creditAnalyticsRangeSchema,Rk as creditAnalyticsTimezoneSchema,ia as creditDimensionSchema,ja as creditMultiplierSchema,ea as creditPriceAdjustmentSchema,ka as creditPricingSchema,ga as creditPropertiesSchema,da as creditQuantitySchema,la as creditRateSchema,Cc as creditResetCountSchema,Bc as creditResetSchema,fa as creditResourceKeySchema,Dc as creditRolloverSchema,Ka as creditSchemaItemSchema,jd as creditStatementInputSchema,kd as creditStatementSchema,Qa as creditSystemConfigSchema,ha as creditTiersSchema,S as currencies,Z as currencyAmountOptionsSchema,U as currencyDecimals,T as currencySchema,hm as currentApiOperations,Ve as customHtmlNodeSchema,Ha as customerActivitySchema,Ti as customerAttributesSchema,oe as customerDataConfigSchema,re as customerDataIntentSchema,Te as customerDataNodeSchema,Zi as customerDataReferenceMessage,Yi as customerDataReferenced,Xi as customerDataSchema,ne as customerDataSourceSchema,fm as customerEntitlementsSchema,ej as customerFiltersSchema,Ui as customerFingerprintSchema,cj as customerGetSchema,pd as customerHoldingsSchema,Vi as customerInputSchema,td as customerLedgerEntrySchema,ud as customerLedgerPageSchema,sd as customerLedgerQuerySchema,aj as customerLookupSchema,$i as customerMutationSchema,qe as customerPageDataSchema,pe as customerPageNodeStateSchema,fj as customerPageSchema,bj as customerPatchSchema,Ga as customerPlanSchema,_i as customerProfileSchema,Wi as customerReferenceSchema,Si as customerTagsSchema,dj as customerUpdateRequestSchema,Dl as defaultCodeReferenceMethods,xm as deliveredFunnelResponse,Ek as deliveredPaywall,ki as deliveredScreenDocument,Sb as describeCoupon,Oc as diffProductVariant,Se as dividerNodeSchema,se as emptyCustomerPageNode,Wd as entitlementCheckInputSchema,Xd as entitlementCheckReasonSchema,Zd as entitlementCheckResultSchema,Vd as entitlementRequirementSchema,Da as entitlementSnapshotSchema,em as entitlementStatusSchema,a as environmentSchema,z as errorCodeMatchesStatus,F as errorMetadata,B as errorMetadataSchema,y as errorPolicy,u as errorReasonSchema,t as errorRecoverySchema,C as errorResponseSchema,ue as escapeHtmlText,Tm as estimateMsgSmsSegments,db as evalCondition,gb as evalFeature,ei as evaluateFeaturesRequestSchema,gi as evaluateFeaturesResultSchema,Pn as evaluateLocalFunnelNode,tm as executionSourceSchema,Mn as expandFunnelSegment,rb as experimentConfigurationSchema,qb as experimentPhaseSchema,vb as experimentSnapshotSchema,Va as featureCollectionSchema,Oa as featureConfigOverrideSchema,Sa as featureDefinitionSchema,ci as featureDeliveryPayloadSchema,Ia as featureIdSchema,wa as featureInputSchema,Na as featureMarkupsOverrideSchema,Wa as featureOptionsSchema,bi as featurePayloadSchema,Ua as featureRecordSchema,xa as featureSchema,Ta as featureUpdateRulesSchema,ld as featureUsageReadSchema,md as featureUsageSetSchema,nd as featureUsageStateSchema,Ja as featureUsageTypeSchema,Xa as featureWriteSchema,nf as fieldValue,Je as fillSchema,od as financialAmountSchema,rd as financialCursorSchema,qd as financialEntryTypeSchema,vf as findDocumentNode,uf as findNode,Sm as formatCouponConditions,Hb as formatCouponDiscount,Gb as formatCouponMoney,Ib as formatCouponTerms,X as formatCurrencyMinor,pn as formatProductBillingPeriod,Tb as formatUsd,wj as funnelApiBindingSchema,tj as funnelApiProjectionSchema,Om as funnelAuthorDraftSchema,mj as funnelBundleDefinitionSchema,qj as funnelBundleLiterals,pj as funnelBundleResultSchema,nj as funnelBundleSelectionSchema,Cm as funnelCampaignCommandSchema,Em as funnelCampaignStartDeliverySchema,Dm as funnelCampaignStartResponseSchema,xj as funnelCapabilitySchema,dk as funnelCommandSchema,Gm as funnelConfigurationSchema,Nj as funnelConsumedVariables,Nm as funnelContentDraftSchema,Pm as funnelContentPublishedSchema,Lm as funnelContentReferenceSchema,Ln as funnelContextDelta,zm as funnelCredentialCommandSchema,Bm as funnelCredentialDeliverySchema,Am as funnelCredentialResponseSchema,ck as funnelDataQueriesSchema,ij as funnelDecideShape,jj as funnelDecisionCommandSchema,Oi as funnelDecisionEvaluationSchema,gj as funnelDecisionOutputSchema,kj as funnelDecisionResponseSchema,hj as funnelDecisionSchema,Ri as funnelDecisionSegmentEvaluationSchema,lj as funnelDecisionUsedResponseSchema,Wj as funnelDocumentDraftSchema,_j as funnelDocumentSchema,ni as funnelEvaluationAttributes,Ni as funnelEvaluationInstructionSchema,Li as funnelEvaluationModeSchema,Mi as funnelEvaluationResultSchema,Ai as funnelExecutionPolicySchema,Tj as funnelExecutionStateSchema,zj as funnelExternalPageUrlSchema,zi as funnelExternalTaskSchema,Cj as funnelGraphDraftSchema,Bj as funnelGraphNodeSchema,Dj as funnelGraphSchema,Ej as funnelGraphTargets,sm as funnelInstructionSchema,om as funnelInvocationId,Hm as funnelLocalConfigurationSchema,pm as funnelLocalScreenCommandSchema,qm as funnelLocalScreenResponseSchema,Qi as funnelLocalSegmentStepSchema,Rj as funnelNodeInputSchema,Pj as funnelNodeKindSchema,Ef as funnelNodeProjections,Sj as funnelNodeResultSchema,Mj as funnelNodeVisitAllowed,Bf as funnelNodeWritesSchema,Aj as funnelOpenInSchema,Fi as funnelOrchestrationCommandSchema,ti as funnelParametersFromUrl,bk as funnelPresentationSubmissionSchema,rj as funnelProjectionFilterValueSchema,sj as funnelProjectionWhereSchema,ak as funnelPublicationDraftSchema,Yj as funnelPublicationRules,$j as funnelPublicationSchema,Zj as funnelPublishableDraftSchema,Gn as funnelPureNode,Qj as funnelResourceReferenceSchema,dn as funnelResultsCursorSchema,en as funnelResultsQuerySchema,Ii as funnelResultsResponseSchema,fn as funnelResultsSchema,um as funnelRunViewSchema,wm as funnelRuntimeDeliverySchema,vm as funnelRuntimeResponseSchema,rm as funnelRuntimeStatusSchema,Nf as funnelScreenReads,Mf as funnelScreenTokens,Of as funnelScreenValues,Sn as funnelSegmentConfigurationSchema,Pi as funnelSegmentEvaluationInstructionSchema,Hn as funnelSegmentPositionSchema,Jn as funnelSegmentSchema,In as funnelSegmentStepSchema,Gi as funnelSignalResponseSchema,Kn as funnelStepId,yi as funnelTaskBindingSchema,wi as funnelTaskDataSchema,xi as funnelTaskOutputsSchema,Ci as funnelTaskResponseSchema,Hi as funnelTaskResultsSchema,Im as funnelTopology,Fm as funnelTopologySchema,Uj as funnelTraceEventSchema,Hf as funnelValueBindingSchema,yf as funnelValueDeclarationSchema,Cf as funnelValueMatches,Gf as funnelValuePathSchema,mi as funnelValueSchema,zf as funnelVariableDeclarationSchema,Af as funnelVariableDeclarationsSchema,Lf as funnelVariableRead,Df as funnelVariableValues,Kj as funnelVisitAllowed,Oj as funnelWaitKindSchema,Zh as gbRuntimeExperimentResultSchema,Yh as gbRuntimeExperimentSchema,_h as gbRuntimeFeatureRuleSchema,$h as gbRuntimeFeatureSchema,ai as gbRuntimeSavedGroupsSchema,$a as getQueryStringOverride,eb as getStickyBucketAttributes,ib as growthAttributesSchema,lb as growthConditionGroupIds,pi as growthConditionPaths,jb as growthConditionSchema,tb as growthExperimentStop,ub as growthFeatureExpiry,nb as growthFeatureRuleSchema,ob as growthFeatureSchema,pb as growthFeaturesSchema,kb as growthGroupSchema,yb as growthRuleContextSchema,mb as growthSavedGroupsSchema,wb as growthSnapshotSchema,zb as growthSplitResultSchema,te as htmlVariableErrors,Fk as hydratePaywall,ze as identifierSchema,Qe as imageNodeSchema,Ie as imagePositionSchema,Ge as insetsSchema,Vl as invoiceCommandSchema,gd as invoiceDetailInputSchema,id as invoiceDetailSchema,Yl as invoiceOperationSchema,hd as invoiceProductItemSchema,Ig as invoiceRefundsSchema,Ul as invoiceTemplateCommandSchema,Tl as invoiceTemplatePageSchema,Rl as invoiceTemplateValuesSchema,dc as isInvoiceCreditPrice,he as isProductGroup,ln as isRecurringMembership,wf as isRtlLocale,M as isStableSdkProtocol,bb as isURLTargeted,bc as itemBillingCycleSchema,Qf as jsonStorageBytes,hb as jsonValueSchema,ba as licenseOfferSchema,wc as listBillingInvoicesInputSchema,x as localErrorRecovery,Eb as localeLabel,Ab as localeSchema,of as localeStatuses,tf as localizeScreen,nc as manageBillingLimitsInputSchema,mc as manageOveragePolicyInputSchema,Xl as managedInvoiceDetailSchema,Zl as managedInvoicePageSchema,Wl as managedInvoiceSchema,Sl as managedInvoiceTemplateSchema,r as managementErrorCodeSchema,D as managementErrorResponseSchema,He as marginSchema,Cb as matchLocale,oi as matchesGrowthCondition,Qm as materializeFunnelContent,qa as membershipActionSchema,nn as membershipBillingCount,ra as membershipChangeSchema,sa as membershipHoldingSchema,oa as membershipRulesSchema,ta as membershipStateSchema,pa as membershipTimingSchema,n as messagingPreferenceSchema,o as messagingPreferenceSetSchema,va as metadataSchema,Pa as meteredConfigSchema,W as minorToAmount,Ma as modelMarkupsSchema,Kd as msgAudienceSchema,Ld as msgBroadcastDraftSchema,yd as msgChannelSchema,Id as msgContentSchema,Nd as msgDispatchStateSchema,Ed as msgEmailContentSchema,Cd as msgMeterSchema,Bd as msgPhoneSchema,Md as msgPreferenceInputSchema,zd as msgProviderSchema,Hd as msgPushContentSchema,Od as msgReceiptKindSchema,Jd as msgSendInputSchema,Fd as msgSmsContentSchema,Pd as msgUsageSummarySchema,Um as msgVoiceBillableSeconds,Gd as msgVoiceContentSchema,hn as nativeCompletionSchema,cg as nativeCouponStoreOfferLinkWriteSchema,dg as nativeCouponStoreOfferLinksSchema,gn as nativeProofSchema,ig as nativePurchaseInstructionSchema,jn as nativeReceiptCommandSchema,kn as nativeReceiptResponseSchema,ih as nativeRestoreCommandSchema,jh as nativeRestoreResultSchema,gg as nativeStoreOfferForProduct,eg as nativeStoreOfferSelectionSchema,fg as nativeStoreOfferSelectionsSchema,hg as nativeStoreSelectionMatches,Ag as nativeSubscriptionUpdatePreviewSchema,Bg as nativeSubscriptionUpdateResultSchema,Qb as newCouponInput,Wh as newEnvironmentAnalyticsConfig,ye as nodeIdSchema,Xj as offerCopyUnscoped,Vb as offerSchema,Wb as offerUnavailableReasonSchema,xh as offeringCollectionSchema,th as offeringDocumentSchema,ph as offeringItemSchema,qh as offeringItemsSchema,lh as offeringMetadataSchema,uh as offeringProductEvidenceSchema,kh as offeringProductIdSchema,rh as offeringProductIds,Bh as offeringProductOptionSchema,sh as offeringProductPaths,Dh as offeringPublicationIssues,vh as offeringRecordSchema,Ah as offeringSelectorSchema,Eh as offeringValueSchema,wh as offeringVersionSchema,Ch as offeringWorkspaceSchema,zh as offeringWriteResultSchema,yh as offeringWriteSchema,Vc as overageBehaviorSchema,oc as overagePolicySchema,Vj as ownedFunnelScreenSchema,sn as pageExperimentEventSchema,tn as pageExperimentEventsRequestSchema,un as pageExperimentEventsResponseSchema,rn as pageExperimentPayloadSchema,qn as pageExperimentSchema,Ee as paintColorSchema,Ak as parsePublicFunnel,A as parseRetryAfter,Tg as paymentSetupCommandSchema,Ug as paymentSetupReadSchema,Wg as paymentSetupSchema,Yd as paywallCandidateSchema,Jh as paywallClientActionSchema,Ph as paywallCollectionSchema,Dk as paywallDeliverySchema,Kh as paywallDocumentDraftSchema,Lh as paywallDocumentSchema,Nh as paywallFlowIssues,Sh as paywallLibrarySchema,Mh as paywallProductIssues,Fh as paywallProductsSchema,Oh as paywallRecordSchema,_d as paywallRequestSchema,Ck as paywallResolutionSchema,Bk as paywallResolveInputSchema,Qh as paywallSummarySchema,Rh as paywallWriteSchema,Aa as planConfigSchema,Ba as planInputSchema,za as planItemSchema,Ze as planPickerNodeSchema,Ca as planSchema,Ea as planVersionSchema,Tc as prepaidAllowanceAmount,Za as prepaidPriceAmount,_a as prepaidQuantityAmount,Uc as prepaidQuantitySchema,Ya as prepaidTierPricingSchema,fc as prepareBillingAuthorizationInputSchema,On as prepareLocalFunnelNodes,cb as prepareSavedGroups,ic as preparedBillingAuthorizationSchema,ff as presentationSchema,We as priceNodeSchema,ya as priceSchema,Gc as productAllowanceSchema,Rc as productCollectionSchema,Jc as productConfigurationSchema,Mc as productDefinitionSchema,Sc as productEditorOptionsSchema,le as productGroupingMatches,ke as productGroupingSchema,Ic as productLicenseSchema,Pc as productOptionsSchema,Fc as productPrepaidPriceSchema,Ec as productPricesSchema,Qc as productRecordSchema,Hh as productSelectionSchema,Hc as productTrialSchema,Kc as productVariantOverridesSchema,Lc as productVariantSchema,uj as projectFunnelApiOutputs,Jm as projectFunnelConfiguration,Km as projectFunnelLocalConfiguration,Pb as promotionCodeInputSchema,L as protocolForSdkVersion,La as providerMarkupsSchema,Uh as publicCouponScreenDataSchema,di as publicFeatureConfigurationSchema,Dn as publicFunnelDocument,jk as publicPaywallBenefitSchema,nk as publicPaywallButtonSchema,kk as publicPaywallChannelsSchema,mk as publicPaywallCouponSchema,ik as publicPaywallPriceSchema,lk as publicPaywallProductSchema,ok as publicPaywallSchema,li as publicScreenDocument,ji as publicScreenIssues,pf as publishChecks,ah as purchaseListItemSchema,gh as purchaseListPageSchema,i as pushAddressRequestSchema,f as pushBindRequestSchema,h as pushDetachRequestSchema,e as pushInstallationProofSchema,m as pushInstallationStateSchema,c as pushPermissionSchema,d as pushPlatformSchema,p as pushProofPayload,g as pushReadRequestSchema,k as pushRecoveryConfirmSchema,j as pushRecoveryRequestSchema,l as pushRecoveryRequestedSchema,Be as radiusSchema,If as readFunnelValuePath,nl as redeemRewardRequestSchema,rl as referralCodeSchema,tl as referralProgramCollectionSchema,gl as referralProgramInputSchema,il as referralProgramRecordSchema,ll as referralProgramWriteSchema,fi as remoteFeatureResultSchema,Pf as renameFunnelScreenVariable,jf as replaceFirstPageRoot,gk as resolveCouponDisplay,oj as resolveFunnelBundle,yj as resolveFunnelCapabilityInputs,Ei as resolveFunnelTaskInputs,Jf as resolveFunnelValueBinding,Kf as resolveFunnelValueBindings,Nc as resolveProductVariant,sf as resolveScreenLocale,Q as resolveSdkProtocol,bm as responseMetaSchema,kc as revokeBillingAuthorizationInputSchema,vl as rewardActivityRedemptionSchema,wl as rewardActivitySchema,fl as rewardCodeInputSchema,ul as rewardCodeSchema,xl as rewardCodeWriteSchema,sl as rewardCollectionSchema,cl as rewardConfigurationSchema,al as rewardGrantExpirySchema,bl as rewardGrantSchema,el as rewardInputSchema,dl as rewardKeySchema,jl as rewardOptionSchema,pl as rewardProductCheckoutSchema,hl as rewardRecordSchema,ml as rewardRedemptionSchema,$k as rewardStatusSchema,_k as rewardTypeSchema,kl as rewardWriteSchema,fb as runExperiment,on as sameMembershipBillingCycle,km as saveSurfaceTemplateSchema,b as scopeSchema,bf as screenActionSchema,ri as screenAnswersSchema,qi as screenDataCursorSchema,kf as screenDocumentSchema,Ce as screenImageSourceSchema,ui as screenInputBindingsSchema,af as screenNodeSchema,si as screenParametersSchema,Ih as screenPresentationSchema,ie as screenProductScopes,je as screenProductSelections,vi as screenRendererInputSchema,xf as screenSelections,cf as screenStringsSchema,vk as sdkConfigurationManifestSchema,K as sdkProtocolRegistry,R as sdkProtocolResponseHeaders,wd as seatCommandSchema,vd as seatReadSchema,xd as seatsStateSchema,Gj as selectFunnelCondition,Gh as selectedPaywallProduct,ge as selectedSurfaceValue,rf as servableLocales,zc as setBillingCouponsInputSchema,Me as shadowSchema,Ke as shapeSchema,Fe as sizeSchema,Ae as spaceSchema,Ue as spacerNodeSchema,ua as stableKeySchema,_e as stackInteractionSchema,$e as stackNodeSchema,xb as stickyAssignmentDocumentSchema,rg as stripeAppendContextSchema,qg as stripeCouponTermsSchema,sg as stripePurchaseExecutionSchema,Fg as stripeRefundExecutionSchema,Vg as stripeSetupExecutionSchema,xg as stripeSubscriptionUpdateExecutionSchema,yg as stripeSubscriptionUpdatePreviewSchema,zg as stripeSubscriptionUpdateResultSchema,Qg as stripeTrialExecutionSchema,Oe as styleSchema,og as subscriptionAttachCommandSchema,tg as subscriptionAttachQuoteSchema,Kg as subscriptionBatchCommandSchema,Mg as subscriptionBatchGroupSchema,Lg as subscriptionBatchReadSchema,Ng as subscriptionBatchSchema,vg as subscriptionCarryOptionsSchema,hh as subscriptionConflictPageSchema,ch as subscriptionConflictQuerySchema,eh as subscriptionConflictRetryResultSchema,dh as subscriptionConflictRetrySchema,bh as subscriptionConflictSchema,yc as subscriptionCouponExecutionSchema,_l as subscriptionInvoiceModeSchema,$g as subscriptionListItemSchema,fh as subscriptionListPageSchema,pg as subscriptionOperationInputSchema,ug as subscriptionOperationSchema,Eg as subscriptionRefundCommandSchema,Gg as subscriptionRefundPreviewSchema,Hg as subscriptionRefundResultSchema,Og as subscriptionTrialCommandSchema,Sg as subscriptionTrialPolicySchema,Pg as subscriptionTrialReadSchema,Rg as subscriptionTrialResultSchema,wg as subscriptionUpdateCommandSchema,Cg as subscriptionUpdatePreviewSchema,Dg as subscriptionUpdateResultSchema,Xg as subscriptionVerificationInputSchema,Yg as subscriptionVerificationSchema,ve as substituteHtmlVariables,fe as substituteSurfaceVariables,ce as surfaceDataSchema,df as surfaceSchema,jm as surfaceTemplateSchema,be as surfaceValueSchema,de as surfaceVariableNames,qf as templateChecks,im as templateCoverImageSchema,Pe as textNodeSchema,Ne as textStyleSchema,De as themeSchema,ab as toAttributeString,hi as trackEventsRequestSchema,ii as trackEventsResultSchema,Hj as transitionFunnelGraph,mf as translatableFields,ma as trialPolicySchema,na as trialRecordSchema,ee as unknownSurfaceVariables,Wk as usageAnalyticsPageSchema,Vk as usageAnalyticsQuerySchema,Zk as usageBatchPageSchema,Yk as usageBatchReadSchema,Xk as usageBatchSubmitSchema,Jk as usageEntityCommandSchema,Kk as usageEntitySchema,Rm as validateFunnelContentPublication,Fj as validateFunnelGraph,Ff as validateFunnelProjections,Di as validateFunnelTaskData,ek as validateScreenAnswers,O as validateSdkProtocolRegistry,Fa as validitySchema,am as verifiedPrincipalSchema,zn as visualChangeSchema,Cn as visualExperimentPayloadSchema,Bn as visualExperimentSchema,yn as visualMutationSchema,An as visualVariationSchema,hf as walkDocument,lf as walkScreen};