PageSourceSearch

https://carabao.net/_assets/19959e86ed0c04aa.js

js carabao.net collected 2026-09-25 01:55:11 UTC 10,566 bytes, 25 lines download raw bytes

1(globalThis["webpackChunk_canva_web"] = globalThis["webpackChunk_canva_web"] || []).push([[94260],{
2
3/***/ 286663:
4function(_, __, __webpack_require__) {__webpack_require__.n_x = __webpack_require__.n;const __web_req__ = __webpack_require__;__web_req__(905716);__web_req__(214065);globalThis._5f74ec40302898c5a55451c9fbd04240 = globalThis._5f74ec40302898c5a55451c9fbd04240 || {};(function(__c) {var i5=function(a,b){var c=a.xsb.get(b);if(c!=null)return c;c={value:a.schema.Tw(b)};a.xsb.set(b,c);a.qsb.set(c,b);return c},j5=function(a,b){a=a.qsb.get(b);if(a==null)throw new t5c("ref does not exists");return a},u5c=function(){const a=b=>{if(b?.type!=="text2")throw new k5("text2",b);return b.value};return{Tn:b=>({type:"text2",value:b}),Uw:b=>{if(b?.type!=="text2")throw new l5("text2",b);return b.value},Tw:a,zB:a}},v5c=__webpack_require__(186901).EW;var w5c=class{static G(a){__c.M(a,{v7a:v5c})}get v7a(){const a=[];for(const b of this.list.value){const c=i5(this,b);if(c===void 0)throw new t5c("undefined value found when deserializing list.");a.push(c)}return a}count(){return this.list.value.count()}toArray(){return this.v7a.map(({value:a})=>a)}first(a){const b=this.list.value.first(a?c=>a(i5(this,c)):void 0);if(b!=null)return i5(this,b)}last(a){const b=this.list.value.last(a?c=>a(i5(this,c)):void 0);if(b!=null)return i5(this,b)}next(a,b){var c=
5b?d=>b(i5(this,d)):void 0;a=j5(this,a);c=this.list.value.next(a,c);if(c!=null)return i5(this,c)}previous(a,b){var c=b?d=>b(i5(this,d)):void 0;a=j5(this,a);c=this.list.value.previous(a,c);if(c!=null)return i5(this,c)}map(a){return this.list.value.map((b,c)=>a(i5(this,b),c))}filter(a){return this.list.value.filter((b,c)=>a(i5(this,b),c)).map(b=>i5(this,b))}forEach(a){return this.list.value.forEach((b,c)=>a(i5(this,b),c))}some(a){return this.list.value.some(b=>a(i5(this,b)))}constructor(a,b){this.schema=
6b;this.xsb=(w5c.G(this),new WeakMap);this.qsb=new WeakMap;__c.x(a.type==="list");this.list=a}},x5c=class extends w5c{replace(a,b){a=j5(this,a);b=this.list.value.replace(a,this.schema.Tn(b));return i5(this,b)}xS(a,b){a=a!=null?j5(this,a):void 0;b=this.list.value.xS(a,this.schema.Tn(b));return i5(this,b)}AN(a,b){a=a!=null?j5(this,a):void 0;return this.list.value.AN(a,b.map(c=>this.schema.Tn(c))).map(c=>i5(this,c))}insertBefore(a,b){a=a!=null?j5(this,a):void 0;b=this.list.value.insertBefore(a,this.schema.Tn(b));
7return i5(this,b)}append(a){a=this.list.value.append(this.schema.Tn(a));return i5(this,a)}prepend(a){a=this.list.value.prepend(this.schema.Tn(a));return i5(this,a)}delete(a){a=j5(this,a);this.list.value.delete(a)}zM(a){this.list.value.zM(a?b=>a(i5(this,b)):void 0)}moveBefore(a,b){a=a==null?void 0:j5(this,a);b=j5(this,b);this.list.value.moveBefore(a,b)}};var n5=class{static string(a){const b=(c,d)=>
7{if(c==null&&a!=null)return a;if(c?.type!=="string")throw d==="toWidgetData"?new k5("string",c):new l5("string",c);return c.value};return{Tn:c=>({type:"string",value:c}),Uw:c=>b(c,"toWidgetState"),Tw:c=>b(c,"toWidgetData"),zB:c=>b(c,"toWidgetData")}}static literal(a,b){if(a.length===0)throw new m5("At least one value must be provided for literal types.");const c=new Set(a),d=(e,f)=>{if(e==null&&b!=null)return b;if(e?.type!=="string"||!c.has(e.value))throw f===
8"toWidgetData"?new k5("literal",e):new l5("literal",e);return e.value};return{Tn:e=>({type:"string",value:e}),Uw:e=>d(e,"toWidgetState"),Tw:e=>d(e,"toWidgetData"),zB:e=>d(e,"toWidgetData")}}static integer(a){const b=(c,d)=>{if(c==null&&a!=null)return a;if(c?.type!=="int32"||!Number.isFinite(c.value)||!Number.isInteger(c.value))throw d==="toWidgetData"?new k5("integer",c):new l5("integer",c);return c.value};return{Tn:c=>{if(!Number.isFinite(c)||!Number.isInteger(c))throw new y5c("integer",c);return{type:"int32",
9value:c}},Uw:c=>b(c,"toWidgetState"),Tw:c=>b(c,"toWidgetData"),zB:c=>b(c,"toWidgetData")}}static double(a){const b=(c,d)=>
9{if(c==null&&a!=null)return a;if(c?.type!=="double"||!Number.isFinite(c.value))throw d==="toWidgetData"?new k5("double",c):new l5("double",c);return c.value};return{Tn:c=>{if(!Number.isFinite(c))throw new y5c("double",c);return{type:"double",value:c}},Uw:c=>b(c,"toWidgetState"),Tw:c=>b(c,"toWidgetData"),zB:c=>b(c,"toWidgetData")}}static boolean(a){const b=(c,d)=>{if(c==null&&a!=
10null)return a;if(c?.type!=="boolean")throw d==="toWidgetData"?new k5("boolean",c):new l5("boolean",c);return c.value};return{Tn:c=>({type:"boolean",value:c}),Uw:c=>b(c,"toWidgetState"),Tw:c=>b(c,"toWidgetData"),zB:c=>b(c,"toWidgetData")}}static fill(){const a=b=>{if(b?.type!=="fill")throw new k5("fill",b);return b.value};return{Tn:b=>({type:"fill",value:b}),Uw:b=>{if(b?.type!=="fill")throw new l5("fill",b);return b.value},Tw:a,zB:a}}static stroke(){const a=b=>{if(b?.type!=="stroke")throw new k5("stroke",
11b);return b.value};return{Tn:b=>({type:"stroke",value:b}),Uw:b=>{if(b?.type!=="stroke")throw new l5("stroke",b);return b.value},Tw:a,zB:a}}static N(a){const b=new Set;for(const d of Object.keys(a)){const [e]=a[d];if(b.has(e))throw new m5(`Duplicate serialized keys "${e}" found in record schema.`);b.add(e)}const c=(d,e)=>{if(e?.type!=="dict")throw new k5("record",e);const f={};for(const g of Object.keys(a)){const [h,k]=a[g],l=v5c(()=>{const m=e.value.get(h);return k.Tw(m)},{keepAlive:!0});Object.defineProperty(f,
12g,{get(){return l.get()},set(m){d!=="readonly"&&(m=k.Tn(m),m==null?e.value.delete(h):e.value.set(h,m))},enumerable:!0})}return f};return{Tn:d=>{const e={};for(const f of Object.keys(a)){const [g,h]=a[f],k=h.Tn(d[f]);k!=null&&(e[g]=k)}return{type:"dict",value:new Map(Object.entries(e))}},Uw:d=>{if(d?.type!=="dict")throw new l5("record",d);const e={};for(const f of Object.keys(a)){const [g,h]=a[f],k=h.Uw(d.value.get(g));k!=null&&(e[f]=k)}return e},Tw:d=>c("editable",d),zB:d=>c("readonly",d),Tb:d=>n5.N({...a,
13...d})}}static list(a){return{Tn:b=>({type:"list",value:b.map(c=>a.Tn(c))}),Uw:b=>{if(b?.type!=="list")throw new l5("list",b);return b.value.filter(__c.Db).map(c=>a.Uw(c))},Tw:b=>{if(b?.type!=="list")throw new k5("list",b);return new x5c(b,a)},zB:b=>{if(b?.type!=="list")throw new k5("list",b);return new w5c(b,a)}}}static optional(a){return{Tn:b=>{if(b!=null)return a.Tn(b)},Uw:b=>{if(b!=null)return a.Uw(b)},Tw:b=>{if(b!=null)return a.Tw(b)},zB:b=>{if(b!=null)return a.zB(b)}}}static union(a,b){const c=
14new Set(Object.keys(a)),d=e=>{if(e?.type!=="dict")throw new k5("union",e);const f=e.value.get("k")?.value,g=e.value.get("v");if(f==null||g==null||typeof f!=="string"||!c.has(f))throw new k5("union",e);return{yoa:a[f],zoa:g}};return{Tn:e=>{const f=b(e);return{type:"dict",value:new Map([["k",{type:"string",value:f}],["v",a[f].Tn(e)]])}},Uw:e=>{if(e?.type!=="dict")throw new l5("union",e);const f=e.value.get("k")?.value,g=e.value.get("v");if(f==null||g==null||typeof f!=="string"||!c.has(f))throw new l5("union",
15e);const {yoa:h,zoa:k}={yoa:a[f],zoa:g};return h.Uw(k)},Tw:e=>{const {yoa:f,zoa:g}=d(e);return f.Tw(g)},zB:e=>{const {yoa:f,zoa:g}=d(e);return f.zB(g)}}}},m5=class extends Error{constructor(a){super(a);this.name="SchemaError"}},t5c=class extends m5{constructor(a){super(`ListError: ${a}`)}},k5=class extends m5{constructor(a,b){super(`Error transforming ${b} into type ${a} of widget data`)}},l5=class extends m5{constructor(a,b){super(`Error transforming ${b} into type ${a} of widget state`)}},y5c=class extends m5{constructor(a,
16b){super(`Error transforming ${b} into type ${a} of document state`)}};var z5c={settings:{status:2},RAc:new Map,SAc:0,Emc:void 0,Ycc:void 0,DMa:!1,bnc:"unchecked",qZ:!1,mp:!1};var A5c=n5.N({type:["t",n5.literal(["text2"],"text2"),"readonly"],text:["te",u5c()]}),B5c=n5.union({text2:A5c},a=>a.type),C5c=n5.N({id:["i",n5.string("")],label:["l",B5c]}),D5c=n5.list(C5c),E5c=n5.list(n5.string("")),F5c=n5.N({id:["i",n5.string("")],label:["l",B5c],QN:["tl",n5.literal(["c","u"],"c")],GOa:["k",n5.optional(n5.double(1))],required:["rq",n5.boolean(!1)],W:["c",n5.double(0)]}),G5c=n5.N({type:["t",n5.literal(["r"],"r"),"readonly"]}),H5c=n5.N({type:["t",n5.literal(["p"],"p"),"readonly"]}),
17I5c=n5.N({type:["t",n5.literal(["q"],"q"),"readonly"]}),J5c=n5.union({r:G5c,p:H5c,q:I5c},a=>a.type),K5c=F5c.Tb({type:["t",n5.literal(["select"],"select"),"readonly"],variant:["v",n5.optional(J5c)],options:["o",D5c],T7:["m",n5.optional(n5.integer(1))],uHa:["co",E5c]}),L5c=n5.N({type:["t",n5.literal(["e"],"e"),"readonly"]}),M5c=n5.N({type:["t",n5.literal(["f"],"f"),"readonly"],lT:["n",n5.integer(1)]}),N5c=n5.union({e:L5c,f:M5c},a=>a.type),O5c=F5c.Tb({type:["t",n5.literal(["text"],"text"),"readonly"],
18placeholder:["p",n5.string("")],variant:["v",N5c]}),P5c=n5.N({type:["t",n5.literal(["a"],"a"),"readonly"]}),Q5c=n5.N({type:["t",n5.literal(["b"],"b"),"readonly"]}),R5c=n5.N({type:["t",n5.literal(["c"],"c"),"readonly"]}),S5c=n5.N({type:["t",n5.literal(["d"],"d"),"readonly"]}),T5c=n5.union({a:P5c,b:Q5c,c:R5c,d:S5c},a=>a.type),U5c=F5c.Tb({type:["t",n5.literal(["number"],"number"),"readonly"],variant:["v",T5c],min:["a",n5.optional(n5.double())],max:["b",n5.optional(n5.double())]}),V5c=n5.union({select:K5c,
19text:O5c,number:U5c},a=>a.type),W5c=n5.list(V5c),X5c=n5.N({nt:["A",n5.optional(n5.double(1))],ot:["B",n5.optional(n5.double(1))],tw:["C",n5.optional(n5.double(1))]}),Y5c=n5.N({label:["l",B5c],QN:["B",n5.optional(n5.literal(["c","u"]))],tw:["C",n5.optional(n5.double(1))],ot:["E",n5.optional(n5.double(1))],nt:["D",n5.optional(n5.double(1))],uia:["F",n5.optional(n5.double(1))]}),Z5c=n5.N({}),$5c=n5.N({tia:["A",n5.double(1.25)],tw:["B",n5.double(1)],ot:["C",n5.double(1.25)],nt:["D",n5.double(1.25)],background:["E",
20n5.optional(n5.fill())]}),a6c=n5.N({label:["A",u5c()],QN:["tl",n5.literal(["c","u"])]}),b6c=n5.literal(["l","r"],"l"),c6c=n5.N({minHeight:["mh",n5.double(1)],minWidth:["mw",n5.double(1)],type:["t",n5.literal(["poll","quiz"],"poll"),"readonly"],id:["i",n5.string()],Uu:["s",n5.string()],Hw:["a",n5.optional(n5.string())],direction:["r",b6c],eqa:["d",n5.string("")],Tia:["pf",n5.fill()],Eja:["sf",n5.fill()],border:["b",n5.stroke()],W:["c",n5.double(0)],hk:["D",n5.optional(n5.double(16))],Bl:["E",n5.optional(n5.double(16))],
21dY:["F",n5.optional(X5c)],J6:["hh",n5.boolean(!1)],QMa:["I",n5.optional(n5.boolean(!1))],Fza:["z",n5.boolean(!0)],w6a:["h",n5.optional(Z5c)],title:["j",n5.optional(a6c)],header:["A",n5.optional($5c)],fields:["f",W5c],footer:["fo",n5.optional(Y5c)]}),d6c=n5.union({poll:c6c,quiz:c6c},a=>a.type);__c.cOa={cFb:function(){return{anc:z5c,schema:d6c}}};
22}).call(globalThis, globalThis._5f74ec40302898c5a55451c9fbd04240);}
23
24}])
25//# sourceMappingURL=sourcemaps/19959e86ed0c04aa.js.map

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