/*! For license information please see main.5ea4b4b8.js.LICENSE.txt */ (globalThis.webpackChunkactra_docs=globalThis.webpackChunkactra_docs||[]).push([[8792],{8328(e,t,n){"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,9158)),"@theme/BlogTagsListPage",9158],"0480b142":[()=>n.e(8070).then(n.bind(n,7208)),"@site/docs/faq.md",7208],"0a56acc9":[()=>n.e(4351).then(n.t.bind(n,618,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-authors-amit-493.json",618],"17146de8":[()=>n.e(9889).then(n.bind(n,1231)),"@site/docs/dsl/governance.md",1231],17896441:[()=>Promise.all([n.e(1869),n.e(5159),n.e(8401)]).then(n.bind(n,8310)),"@theme/DocItem",8310],"19b13caf":[()=>n.e(909).then(n.bind(n,5391)),"@site/docs/javascript-sdk/runtime-api.md",5391],"1a61b4ad":[()=>n.e(887).then(n.bind(n,5409)),"@site/docs/getting-started/your-first-policy.mdx",5409],"1d59372c":[()=>n.e(137).then(n.bind(n,946)),"@site/docs/python-sdk/observability-audit.md",946],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(5159),n.e(6061)]).then(n.bind(n,7973)),"@theme/MDXPage",7973],"22dd74f7":[()=>n.e(1567).then(n.t.bind(n,5226,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5226],"23b48f17":[()=>Promise.all([n.e(1869),n.e(2666)]).then(n.bind(n,7138)),"@site/docs/examples/core-sdk/custom-action-builder.mdx",7138],"33afa5ed":[()=>n.e(4489).then(n.bind(n,3968)),"@site/docs/javascript-sdk/observability-audit.md",3968],"33fc5bb8":[()=>Promise.all([n.e(1869),n.e(5159),n.e(9785),n.e(867)]).then(n.bind(n,778)),"@theme/Blog/Pages/BlogAuthorsPostsPage",778],"35155c61":[()=>Promise.all([n.e(1869),n.e(5110)]).then(n.bind(n,8863)),"@site/docs/getting-started/quickstart.mdx",8863],"35f6d9df":[()=>n.e(896).then(n.bind(n,9656)),"@site/docs/python-sdk/actor-resolver.md",9656],"36994c47":[()=>n.e(9858).then(n.t.bind(n,5516,19)),"@generated/docusaurus-plugin-content-blog/default/__plugin.json",5516],"3931d34b":[()=>n.e(6638).then(n.bind(n,8524)),"@site/docs/dsl/snapshot.md",8524],"393be207":[()=>n.e(4134).then(n.bind(n,591)),"@site/src/pages/markdown-page.md",591],"3a2db09e":[()=>n.e(8121).then(n.t.bind(n,8070,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-df9.json",8070],"4334ea39":[()=>n.e(8563).then(n.bind(n,1669)),"@site/docs/getting-started/sdk-overview.md",1669],"529cbd62":[()=>n.e(2692).then(n.bind(n,2853)),"@site/docs/python-sdk/testing-policies.md",2853],"54f44165":[()=>n.e(7924).then(n.bind(n,5287)),"@site/docs/getting-started/installation.md",5287],"56da4498":[()=>n.e(4328).then(n.bind(n,5782)),"@site/docs/javascript-sdk/explain-debug.md",5782],"5ac8bcaa":[()=>n.e(4635).then(n.bind(n,4058)),"@site/docs/python-sdk/runtime-api.md",4058],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"621db11d":[()=>Promise.all([n.e(1869),n.e(9785),n.e(4212)]).then(n.bind(n,3250)),"@theme/Blog/Pages/BlogAuthorsListPage",3250],"655b28a4":[()=>Promise.all([n.e(1869),n.e(8644)]).then(n.bind(n,6026)),"@site/docs/examples/core-sdk/build-action.mdx",6026],"6721dcc2":[()=>n.e(849).then(n.bind(n,8590)),"@site/docs/javascript-sdk/testing-policies.md",8590],"6875c492":[()=>Promise.all([n.e(1869),n.e(5159),n.e(9785),n.e(4813)]).then(n.bind(n,3069)),"@theme/BlogTagsPostsPage",3069],"6a64818d":[()=>n.e(731).then(n.bind(n,6413)),"@site/docs/dsl/overview.md",6413],"778fcb25":[()=>n.e(2491).then(n.t.bind(n,3625,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-actra-2f2.json",3625],"814f3328":[()=>n.e(7472).then(n.t.bind(n,5513,19)),"~blog/default/blog-post-list-prop-default.json",5513],"8348d2e7":[()=>Promise.all([n.e(1869),n.e(5946)]).then(n.bind(n,4482)),"@site/docs/examples/core-sdk/basic-refund.mdx",4482],"83cdcd65":[()=>n.e(9131).then(n.bind(n,2703)),"@site/docs/references/builtins.md",2703],"857c2e3e":[()=>n.e(35).then(n.bind(n,4879)),"@site/docs/javascript-sdk/actor-resolver.md",4879],"880a2d06":[()=>n.e(9442).then(n.bind(n,7445)),"@site/docs/python-sdk/snapshot-resolver.md",7445],"8b9c740d":[()=>n.e(3212).then(n.bind(n,2453)),"@site/docs/getting-started/core-concepts.md",2453],"90c100c8":[()=>n.e(1285).then(n.bind(n,9077)),"@site/docs/dsl/policy.md",9077],"9c58f004":[()=>n.e(590).then(n.bind(n,3769)),"@site/docs/dsl/action.md",3769],"9d459cb8":[()=>n.e(2471).then(n.bind(n,5297)),"@site/docs/references/error-codes.md",5297],"9e4087bc":[()=>n.e(2711).then(n.bind(n,9331)),"@theme/BlogArchivePage",9331],"9ff4038f":[()=>n.e(5289).then(n.bind(n,213)),"@site/docs/getting-started/introduction.md",213],a136345f:[()=>n.e(8226).then(n.bind(n,9219)),"@site/docs/python-sdk/overview.md",9219],a3996077:[()=>n.e(1117).then(n.bind(n,6434)),"@site/docs/examples/core-sdk/overview.md",6434],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(5159),n.e(9785),n.e(7643)]).then(n.bind(n,5124)),"@theme/BlogListPage",5124],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,1723)),"@theme/DocVersionRoot",1723],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,8115)),"@theme/DocRoot",8115],a951fea5:[()=>n.e(3074).then(n.bind(n,2450)),"@site/blog/welcome.md",2450],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],acecf23e:[()=>n.e(1903).then(n.t.bind(n,1912,19)),"~blog/default/blogMetadata-default.json",1912],acf87bcd:[()=>n.e(9279).then(n.bind(n,6393)),"@site/blog/welcome.md?truncated=true",6393],b2230432:[()=>n.e(5701).then(n.bind(n,3051)),"@site/docs/python-sdk/explain-debug.md",3051],b4c87333:[()=>n.e(3240).then(n.bind(n,19)),"@site/docs/javascript-sdk/policy-api.md",19],c15d9823:[()=>n.e(8146).then(n.t.bind(n,9328,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-bd9.json",9328],c835310f:[()=>n.e(6536).then(n.t.bind(n,7068,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-governance-8f2.json",7068],c968c9ce:[()=>n.e(5129).then(n.bind(n,2114)),"@site/docs/python-sdk/compiler-api.md",2114],ccc49370:[()=>Promise.all([n.e(1869),n.e(5159),n.e(9785),n.e(3249)]).then(n.bind(n,3858)),"@theme/BlogPostPage",3858],cd5c4b87:[()=>n.e(4423).then(n.bind(n,5892)),"@site/docs/references/schema.md",5892],d60d4051:[()=>n.e(7519).then(n.bind(n,4988)),"@site/docs/dsl/actor.md",4988],ddacc2f0:[()=>n.e(285).then(n.bind(n,2840)),"@site/docs/python-sdk/policy-api.md",2840],e28f3246:[()=>n.e(845).then(n.bind(n,7663)),"@site/docs/javascript-sdk/overview.md",7663],ee44a6ef:[()=>n.e(6109).then(n.bind(n,1007)),"@site/docs/javascript-sdk/snapshot-resolver.md",1007],ef1764cf:[()=>n.e(1975).then(n.bind(n,2143)),"@site/docs/dsl/schema.md",2143],ef8b811a:[()=>n.e(8947).then(n.t.bind(n,6600,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-authors-790.json",6600],f4e589ea:[()=>n.e(4176).then(n.t.bind(n,5920,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-dsl-865.json",5920],f62fac87:[()=>n.e(7460).then(n.bind(n,2020)),"@site/docs/javascript-sdk/compiler-api.md",2020],f81c1134:[()=>n.e(8130).then(n.t.bind(n,7735,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-archive-f05.json",7735],f9ef5b20:[()=>n.e(7582).then(n.bind(n,6712)),"@site/docs/references/operators.md",6712]};var l=n(4848);function s({error:e,retry:t,pastDelay:n}){return e?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(e)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,l.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,c.A)(r);return Object.entries(m).forEach(([e,t])=>{const n=i[t];n&&(d[e]=n[0],p.push(n[1]),f.push(n[2]))}),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach(([t,n])=>{const r=n.default;if(!r)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof r&&"function"!=typeof r||Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let o=a;const i=t.split(".");i.slice(0,-1).forEach(e=>{o=o[e]}),o[i[i.length-1]]=r});const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const s=a.__props;return delete a.__props,(0,l.jsx)(u.W,{value:i,children:(0,l.jsx)(o,{...a,...s,...n})})}})}const p=[{path:"/blog",component:d("/blog","d10"),exact:!0},{path:"/blog/",component:d("/blog/","843"),exact:!0},{path:"/blog/archive",component:d("/blog/archive","182"),exact:!0},{path:"/blog/authors",component:d("/blog/authors","0b7"),exact:!0},{path:"/blog/authors/amit",component:d("/blog/authors/amit","5cb"),exact:!0},{path:"/blog/tags",component:d("/blog/tags","287"),exact:!0},{path:"/blog/tags/actra",component:d("/blog/tags/actra","c7e"),exact:!0},{path:"/blog/tags/dsl",component:d("/blog/tags/dsl","027"),exact:!0},{path:"/blog/tags/governance",component:d("/blog/tags/governance","940"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","3d7"),exact:!0},{path:"/",component:d("/","06e"),routes:[{path:"/",component:d("/","a70"),routes:[{path:"/",component:d("/","cd6"),routes:[{path:"/dsl/action",component:d("/dsl/action","7ce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/actor",component:d("/dsl/actor","b44"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/governance",component:d("/dsl/governance","c09"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/overview",component:d("/dsl/overview","a19"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/policy",component:d("/dsl/policy","540"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/schema",component:d("/dsl/schema","7cd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dsl/snapshot",component:d("/dsl/snapshot","8ad"),exact:!0,sidebar:"tutorialSidebar"},{path:"/examples/core-sdk/basic-refund",component:d("/examples/core-sdk/basic-refund","272"),exact:!0,sidebar:"tutorialSidebar"},{path:"/examples/core-sdk/build-action",component:d("/examples/core-sdk/build-action","57b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/examples/core-sdk/custom-action-builder",component:d("/examples/core-sdk/custom-action-builder","e08"),exact:!0,sidebar:"tutorialSidebar"},{path:"/examples/core-sdk/overview",component:d("/examples/core-sdk/overview","2bf"),exact:!0},{path:"/faq",component:d("/faq","255"),exact:!0},{path:"/getting-started/core-concepts",component:d("/getting-started/core-concepts","a8e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/installation",component:d("/getting-started/installation","654"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/quickstart",component:d("/getting-started/quickstart","fca"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/sdk-overview",component:d("/getting-started/sdk-overview","0b7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/your-first-policy",component:d("/getting-started/your-first-policy","5ab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/actor-resolver",component:d("/javascript-sdk/actor-resolver","f84"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/compiler-api",component:d("/javascript-sdk/compiler-api","c8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/explain-debug",component:d("/javascript-sdk/explain-debug","7ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/observability-audit",component:d("/javascript-sdk/observability-audit","706"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/overview",component:d("/javascript-sdk/overview","cf0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/policy-api",component:d("/javascript-sdk/policy-api","3e1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/runtime-api",component:d("/javascript-sdk/runtime-api","646"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/snapshot-resolver",component:d("/javascript-sdk/snapshot-resolver","942"),exact:!0,sidebar:"tutorialSidebar"},{path:"/javascript-sdk/testing-policies",component:d("/javascript-sdk/testing-policies","5d1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/actor-resolver",component:d("/python-sdk/actor-resolver","8d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/compiler-api",component:d("/python-sdk/compiler-api","341"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/explain-debug",component:d("/python-sdk/explain-debug","327"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/observability-audit",component:d("/python-sdk/observability-audit","ede"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/overview",component:d("/python-sdk/overview","49a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/policy-api",component:d("/python-sdk/policy-api","918"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/runtime-api",component:d("/python-sdk/runtime-api","9df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/snapshot-resolver",component:d("/python-sdk/snapshot-resolver","6da"),exact:!0,sidebar:"tutorialSidebar"},{path:"/python-sdk/testing-policies",component:d("/python-sdk/testing-policies","516"),exact:!0,sidebar:"tutorialSidebar"},{path:"/references/builtins",component:d("/references/builtins","d1e"),exact:!0},{path:"/references/error-codes",component:d("/references/error-codes","9f9"),exact:!0},{path:"/references/operators",component:d("/references/operators","8aa"),exact:!0},{path:"/references/schema",component:d("/references/schema","71c"),exact:!0},{path:"/",component:d("/","408"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"*",component:d("*")}]},6125(e,t,n){"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i({children:e}){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{n(!0)},[]),(0,a.jsx)(o.Provider,{value:t,children:e})}},8600(e,t,n){"use strict";var r=n(6540),a=n(5338),o=n(545),i=n(4625),l=n(4784),s=n(8193);const c=[n(3001),n(119),n(6134),n(6294),n(1043)];var u=n(8328),d=n(6347),p=n(2831),f=n(4848);function m({children:e}){return(0,f.jsx)(f.Fragment,{children:e})}var h=n(4563);const g=e=>e.defaultFormatter(e);function y({children:e}){return(0,f.jsx)(h.AL,{formatter:g,children:e})}function b({children:e}){return(0,f.jsx)(y,{children:e})}var v=n(5260),w=n(4586),k=n(6025),x=n(6342),S=n(5500),E=n(2131),_=n(4090);var C=n(440),A=n(1463);function T(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,w.A)(),r=(0,E.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(v.A,{children:[Object.entries(n).map(([e,{htmlLang:t}])=>(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e)),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter(e=>a!==e.htmlLang).map(e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`))]})}function j({permalink:e}){const{siteConfig:{url:t}}=(0,w.A)(),n=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,w.A)(),{pathname:r}=(0,d.zy)();return e+(0,C.Ks)((0,k.Ay)(r),{trailingSlash:n,baseUrl:t})}(),r=e?`${t}${e}`:n;return(0,f.jsxs)(v.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:r}),(0,f.jsx)("link",{rel:"canonical",href:r})]})}function P(){const{i18n:{currentLocale:e}}=(0,w.A)(),{metadata:t,image:n}=(0,x.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(v.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:_.w})]}),n&&(0,f.jsx)(S.be,{image:n}),(0,f.jsx)(j,{}),(0,f.jsx)(T,{}),(0,f.jsx)(A.A,{tag:"default",locale:e}),(0,f.jsx)(v.A,{children:t.map((e,t)=>(0,f.jsx)("meta",{...e},t))})]})}const L=new Map;var N=n(6125),O=n(6988),R=n(205);function D(e,...t){const n=c.map(n=>{const r=n.default?.[e]??n[e];return r?.(...t)});return()=>n.forEach(e=>e?.())}const I=function({children:e,location:t,previousLocation:n}){return(0,R.A)(()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;const n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;const{hash:o}=e;if(o){const e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),D("onRouteDidUpdate",{previousLocation:n,location:t}))},[n,t]),e};function F(e){const t=Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.u)(u.A,e)).flat();return Promise.all(t.map(e=>e.route.component.preload?.()))}class M extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?D("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=D("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),F(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(I,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const z=M,B="__docusaurus-base-url-issue-banner-suggestion-container";function $(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '__docusaurus-base-url-issue-banner-container';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n`}(e)).replace(/!0===e.exact))return L.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return L.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(z,{location:e,children:Q})}function Y(){return(0,f.jsx)(G.A,{children:(0,f.jsx)(O.l,{children:(0,f.jsxs)(N.x,{children:[(0,f.jsx)(m,{children:(0,f.jsxs)(b,{children:[(0,f.jsx)(H,{}),(0,f.jsx)(P,{}),(0,f.jsx)(q,{}),(0,f.jsx)(K,{})]})}),(0,f.jsx)(W,{})]})})})}var X=n(4054);const Z=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})};var J=n(6921);const ee=new Set,te=new Set,ne=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,re={prefetch:e=>{if(!(e=>!ne()&&!te.has(e)&&!ee.has(e))(e))return!1;ee.add(e);const t=(0,p.u)(u.A,e).flatMap(e=>{return t=e.route.path,Object.entries(X).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,J.A)(e)));var t});return Promise.all(t.map(e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Z(t).catch(()=>{}):Promise.resolve()}))},preload:e=>!!(e=>!ne()&&!te.has(e))(e)&&(te.add(e),F(e))},ae=Object.freeze(re);function oe({children:e}){return"hash"===l.A.future.experimental_router?(0,f.jsx)(i.I9,{children:e}):(0,f.jsx)(i.Kd,{children:e})}const ie=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=ae;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(oe,{children:(0,f.jsx)(Y,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ie)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};F(window.location.pathname).then(()=>{(0,r.startTransition)(i)})}},6988(e,t,n){"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"getting-started/introduction","docs":[{"id":"dsl/action","path":"/dsl/action","sidebar":"tutorialSidebar"},{"id":"dsl/actor","path":"/dsl/actor","sidebar":"tutorialSidebar"},{"id":"dsl/governance","path":"/dsl/governance","sidebar":"tutorialSidebar"},{"id":"dsl/overview","path":"/dsl/overview","sidebar":"tutorialSidebar"},{"id":"dsl/policy","path":"/dsl/policy","sidebar":"tutorialSidebar"},{"id":"dsl/schema","path":"/dsl/schema","sidebar":"tutorialSidebar"},{"id":"dsl/snapshot","path":"/dsl/snapshot","sidebar":"tutorialSidebar"},{"id":"examples/core-sdk/basic-refund","path":"/examples/core-sdk/basic-refund","sidebar":"tutorialSidebar"},{"id":"examples/core-sdk/build-action","path":"/examples/core-sdk/build-action","sidebar":"tutorialSidebar"},{"id":"examples/core-sdk/custom-action-builder","path":"/examples/core-sdk/custom-action-builder","sidebar":"tutorialSidebar"},{"id":"examples/core-sdk/overview","path":"/examples/core-sdk/overview"},{"id":"faq","path":"/faq"},{"id":"getting-started/core-concepts","path":"/getting-started/core-concepts","sidebar":"tutorialSidebar"},{"id":"getting-started/installation","path":"/getting-started/installation","sidebar":"tutorialSidebar"},{"id":"getting-started/introduction","path":"/","sidebar":"tutorialSidebar"},{"id":"getting-started/quickstart","path":"/getting-started/quickstart","sidebar":"tutorialSidebar"},{"id":"getting-started/sdk-overview","path":"/getting-started/sdk-overview","sidebar":"tutorialSidebar"},{"id":"getting-started/your-first-policy","path":"/getting-started/your-first-policy","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/actor-resolver","path":"/javascript-sdk/actor-resolver","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/compiler-api","path":"/javascript-sdk/compiler-api","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/explain-debug","path":"/javascript-sdk/explain-debug","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/observability-audit","path":"/javascript-sdk/observability-audit","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/overview","path":"/javascript-sdk/overview","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/policy-api","path":"/javascript-sdk/policy-api","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/runtime-api","path":"/javascript-sdk/runtime-api","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/snapshot-resolver","path":"/javascript-sdk/snapshot-resolver","sidebar":"tutorialSidebar"},{"id":"javascript-sdk/testing-policies","path":"/javascript-sdk/testing-policies","sidebar":"tutorialSidebar"},{"id":"python-sdk/actor-resolver","path":"/python-sdk/actor-resolver","sidebar":"tutorialSidebar"},{"id":"python-sdk/compiler-api","path":"/python-sdk/compiler-api","sidebar":"tutorialSidebar"},{"id":"python-sdk/explain-debug","path":"/python-sdk/explain-debug","sidebar":"tutorialSidebar"},{"id":"python-sdk/observability-audit","path":"/python-sdk/observability-audit","sidebar":"tutorialSidebar"},{"id":"python-sdk/overview","path":"/python-sdk/overview","sidebar":"tutorialSidebar"},{"id":"python-sdk/policy-api","path":"/python-sdk/policy-api","sidebar":"tutorialSidebar"},{"id":"python-sdk/runtime-api","path":"/python-sdk/runtime-api","sidebar":"tutorialSidebar"},{"id":"python-sdk/snapshot-resolver","path":"/python-sdk/snapshot-resolver","sidebar":"tutorialSidebar"},{"id":"python-sdk/testing-policies","path":"/python-sdk/testing-policies","sidebar":"tutorialSidebar"},{"id":"references/builtins","path":"/references/builtins"},{"id":"references/error-codes","path":"/references/error-codes"},{"id":"references/operators","path":"/references/operators"},{"id":"references/schema","path":"/references/schema"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/","label":"getting-started/introduction"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://docs.actra.dev","baseUrl":"/"}}}');var l=n(2654);const s=JSON.parse('{"docusaurusVersion":"3.9.2","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-css-cascade-layers":{"type":"package","name":"@docusaurus/plugin-css-cascade-layers","version":"3.9.2"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.9.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.9.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.9.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.9.2"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.9.2"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.9.2"}}}');var c=n(4848);const u={siteConfig:a.A,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(u);function p({children:e}){return(0,c.jsx)(d.Provider,{value:u,children:e})}},7489(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n(6540),a=n(8193),o=n(5260),i=n(440),l=n(1656),s=n(3102),c=n(4848);function u({error:e,tryAgain:t}){return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:e})]})}function d({error:e}){const t=(0,i.rA)(e).map(e=>e.message).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function p({children:e}){return(0,c.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function f({error:e,tryAgain:t}){return(0,c.jsx)(p,{children:(0,c.jsxs)(h,{fallback:()=>(0,c.jsx)(u,{error:e,tryAgain:t}),children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(l.A,{children:(0,c.jsx)(u,{error:e,tryAgain:t})})]})})}const m=e=>(0,c.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},8193(e,t,n){"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260(e,t,n){"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(6540),a=n(4625),o=n(440),i=n(4586),l=n(6654),s=n(8193),c=n(3427),u=n(6025),d=n(4848);function p({isNavLink:e,to:t,href:n,activeClassName:p,isActive:f,"data-noBrokenLinkCheck":m,autoAddBaseUrl:h=!0,...g},y){const{siteConfig:b}=(0,i.A)(),{trailingSlash:v,baseUrl:w}=b,k=b.future.experimental_router,{withBaseUrl:x}=(0,u.hH)(),S=(0,c.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(y,()=>E.current);const _=t||n;const C=(0,l.A)(_),A=_?.replace("pathname://","");let T=void 0!==A?(j=A,h&&(e=>e.startsWith("/"))(j)?x(j):j):void 0;var j;"hash"===k&&T?.startsWith("./")&&(T=T?.slice(1)),T&&C&&(T=(0,o.Ks)(T,{trailingSlash:v,baseUrl:w}));const P=(0,r.useRef)(!1),L=e?a.k2:a.N_,N=s.A.canUseIntersectionObserver,O=(0,r.useRef)(),R=()=>{P.current||null==T||(window.docusaurus.preload(T),P.current=!0)};(0,r.useEffect)(()=>(!N&&C&&s.A.canUseDOM&&null!=T&&window.docusaurus.prefetch(T),()=>{N&&O.current&&O.current.disconnect()}),[O,T,N,C]);const D=T?.startsWith("#")??!1,I=!g.target||"_self"===g.target,F=!T||!C||!I||D&&"hash"!==k;m||!D&&F||S.collectLink(T),g.id&&S.collectAnchor(g.id);const M={};return F?(0,d.jsx)("a",{ref:E,href:T,..._&&!C&&{target:"_blank",rel:"noopener noreferrer"},...g,...M}):(0,d.jsx)(L,{...g,onMouseEnter:R,onTouchStart:R,innerRef:e=>{E.current=e,N&&e&&C&&(O.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))})}),O.current.observe(e))},to:T,...e&&{isActive:f,activeClassName:p},...M})}const f=r.forwardRef(p)},418(e,t,n){"use strict";n.d(t,{A:()=>r});const r=()=>null},1312(e,t,n){"use strict";n.d(t,{A:()=>c,T:()=>s});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,r.isValidElement)(e))?n.map((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n(2654);function l({id:e,message:t}){if(void 0===e&&void 0===t)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function s({message:e,id:t},n){return o(l({message:e,id:t}),n)}function c({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722(e,t,n){const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter(e=>"meta"!=e):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load(e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)})}i.silent=!1,e.exports=i},9700(){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s{const{plain:n}=e,r=e.styles.reduce((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach(t=>{const n=S(S({},e[t]),a);e[t]=n}),e},{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},te=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=ee(r,o),l=(e=>(0,u.useCallback)(t=>{var n=t,{className:r,style:a,line:o}=n,i=_(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l},[e]))(i),s=(e=>{const t=(0,u.useCallback)(({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))},[e]);return(0,u.useCallback)(e=>{var n=e,{token:r,className:a,style:o}=n,i=_(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l},[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>(0,u.useMemo)(()=>{if(null==n)return J([t]);const a={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",a),J(a.tokens)},[t,n,r,e]))({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:c,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ne=e=>(0,u.createElement)(te,E(S({},e),{prism:e.prism||A,theme:e.theme||U,code:e.code,language:e.language}))},1561(e,t,n){"use strict";n.d(t,{A:()=>a});var r="Invariant failed";function a(e,t){if(!e)throw new Error(r)}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>_,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>m,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>F,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>L,__importStar:()=>P,__makeTemplateObject:()=>A,__metadata:()=>f,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>M,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n