PageSourceSearch

https://kaartjes-fabriek.nl/create/207.4cb46905e7af9ee0.js

js kaartjes-fabriek.nl collected 2026-09-27 14:39:18 UTC 25,313 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkangular_cli=self.webpackChunkangular_cli||[]).push([[207],{5207(me,yo,$){$.d(yo,{A:()=>W,B:()=>go,C:()=>_,D:()=>Lo,E:()=>Q,F:()=>no,G:()=>y,H:()=>Z,I:()=>bo,J:()=>de,K:()=>q,L:()=>To,M:()=>Xo,N:()=>io,O:()=>P,P:()=>se,Q:()=>Ro,R:()=>pe,S:()=>wo,T:()=>Co,U:()=>mo,V:()=>uo,W:()=>ae,X:()=>fo,Y:()=>ao,Z:()=>k,_:()=>z,a:()=>G,b:()=>K,c:()=>ie,d:()=>E,e:()=>No,f:()=>ho,g:()=>Wo,h:()=>n,i:()=>co,j:()=>Vo,k:()=>N,l:()=>j,m:()=>X,n:()=>Ho,o:()=>D,p:()=>ce,q:()=>Oo,r:()=>w,s:()=>le,t:()=>Y,u:()=>eo,v:()=>Qo,w:()=>lo,x:()=>oe,y:()=>jo,z:()=>I});var H=$(467),d=$(1098),B=function(o){return o.gold="gold",o.mattegold="mattegold",o.silver="silver",o.copper="copper",o.rose="rose",o.black="black",o.rainbow="rainbow",o}(B||{}),y=function(o){return o.back="gradientBack",o.closure="gradientClosure",o.foil="gradientFoil",o}(y||{});const Oo=[{color:"#8e6b46",offset:0,opacity:1},{color:"#fae6b5",offset:100,opacity:1}],g={attributeName:"gradientTransform",values:"0;1;0",dur:"10s",repeatCount:"indefinite",type:"translate"},_o=[{type:B.gold,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#ffe97a",offset:0,opacity:1},{color:"#ffe97a",offset:.1,opacity:1},{color:"#b08b15",offset:.9,opacity:1},{color:"#b08b15",offset:1,opacity:1}]},{type:B.mattegold,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#dabd7f",offset:0,opacity:1},{color:"#dabd7f",offset:.1,opacity:1},{color:"#a58149",offset:.9,opacity:1},{color:"#a58149",offset:1,opacity:1}]},{type:B.silver,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#787878",offset:0,opacity:1},{color:"#787878",offset:.1,opacity:1},{color:"#ececea",offset:.9,opacity:1},{color:"#ececea",offset:1,opacity:1}]},{type:B.copper,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#d17036",offset:0,opacity:1},{color:"#d17036",offset:.1,opacity:1},{color:"#f6be82",offset:.9,opacity:1},{color:"#f6be82",offset:1,opacity:1}]},{type:B.rose,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#e5a481",offset:0,opacity:1},{color:"#e5a481",offset:.1,opacity:1},{color:"#ffeadb",offset:.9,opacity:1},{color:"#ffeadb",offset:1,opacity:1}]},{type:B.black,idPrefix:y.foil,x1:0,x2:.5,y1:0,y2:.5,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:g,stops:[{color:"#000",offset:0,opacity:1},{color:"#000",offset:.1,opacity:1},{color:"#666",offset:.9,opacity:1},{color:"#666",offset:1,opacity:1}]},{type:B.rainbow,idPrefix:y.foil,x1:0,x2:.25,y1:.25,y2:1,suffix:1,stops:[{color:"#b5dfed",offset:.2,opacity:1,animate:{attributeName:"stop-color",values:"#b5dfed;#f9abe9;#b5dfed",dur:"5s",repeatCount:"indefinite"}},{color:"#a7a1eb",offset:.55,opacity:1,animate:{attributeName:"stop-color",values:"#a7a1eb;#a7a1eb;#a8c4ec;#a7a1eb",dur:"5s",repeatCount:"indefinite"}},{color:"#f9abe9",offset:1.5,opacity:1,animate:{attributeName:"stop-color",values:"#f9abe9;#b5dfed;#f9abe9",dur:"5s",repeatCount:"indefinite"}}]},{type:B.rainbow,idPrefix:y.foil,x1:.2,x2:1,y1:0,y2:.4,suffix:3,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:{attributeName:"gradientTransform",values:"0;2;0",dur:"10s",repeatCount:"indefinite",type:"translate"},stops:[{color:"#ffffff",offset:.1,opacity:0},{color:"#ffffff",offset:.3,opacity:.2},{color:"#ffffff",offset:.5,opacity:.3},{color:"#ffffff",offset:.8,opacity:0}
1]}];var z=function(o){return o.soft="Soft",o.softBottom="SoftBottom",o.softLeft="SoftLeft",o.softRight="SoftRight",o}(z||{});const Lo={size:2,brightness:.2},Ao=[{type:z.soft,width:130,height:130,dx:0,dy:0,deviation:.009,slope:.2},{type:z.softBottom,width:130,height:130,dx:0,dy:.003,deviation:.009,slope:.2},{type:z.softLeft,width:130,height:130,dx:-.003,dy:0,deviation:.009,slope:.2},{type:z.softRight,width:130,height:130,dx:.003,dy:0,deviation:.009,slope:.2}];function Ro(o,e){return[(0,d.h)("filter",{id:D+e},(0,d.h)("feGaussianBlur",{result:"blur",in:"SourceGraphic",stdDeviation:o}))]}const D="blur",Ho="blur-left",go="blur-top",wo="Gradient1",Vo="Gradient2",U="softGlow";var O=function(o){return o.frontAndBack="frontAndBack",o.innerLeft="innerLeft",o.innerRight="innerRight",o.innerTop="innerTop",o.innerBottom="innerBottom",o}(O||{});const T=[{color:"#000",offset:0,opacity:0},{color:"#000",offset:100,opacity:.1}],So=[{type:O.frontAndBack,idPrefix:U,x1:0,y1:0,x2:.5,y2:.5,stops:[{color:"#fff",offset:0,opacity:.1},{color:"#fff",offset:100,opacity:0}],suffix:1},{type:O.frontAndBack,idPrefix:U,x1:.5,y1:.5,x2:1,y2:1,stops:T,suffix:2},{type:O.innerLeft,idPrefix:U,x1:.7,y1:0,x2:1,y2:0,stops:T},{type:O.innerTop,idPrefix:U,x1:0,y1:.7,x2:0,y2:1,stops:T}];var k=function(o){return o.spotUv="spotUv",o}(k||{});const Uo=[{type:k.spotUv,idPrefix:"spotUv",x1:.2,x2:1,y1:0,y2:.4,spreadMethod:"reflect",gradientTransform:"translate(0)",animateTransformData:{attributeName:"gradientTransform",values:"0;2;0",dur:"10s",repeatCount:"indefinite",type:"translate"},stops:[{color:"#ffffff",offset:.1,opacity:0},{color:"#ffffff",offset:.3,opacity:.2},{color:"#ffffff",offset:.5,opacity:.3},{color:"#ffffff",offset:.8,opacity:0}
1]}];var _=function(o){return o.vertical="vertical",o.horizontal="horizontal",o}(_||{}),G=function(o){return o.portrait="portrait",o.landscape="landscape",o.square="square",o}(G||{}),I=function(o){return o.front="front",o.inside="inside",o.inside3d="inside3d",o.back="back",o}(I||{});const No=1.06,P=.05,oo=o=>{if("string"!=typeof o)return!1;try{return"object"==typeof JSON.parse(o)}catch{return!1}},eo=o=>{if("string"==typeof o&&!oo(o))return[o];if(!Array.isArray(o)&&"object"==typeof o&&Object.keys(o)?.length)return[o];if(Array.isArray(o)&&o.length)return o;if("string"==typeof o&&oo(o)){const e=JSON.parse(o);return Array.isArray(e)?e:[e]}return[]},$o=function(){var o=(0,H.A)(function*(e){try{return yield to(e.src)}catch{if(e.fallback)return yield to(e.fallback)}});return function(t){return o.apply(this,arguments)}}(),to=function(){var o=(0,H.A)(function*(e){try{const t=new Image;return t.src=e,yield t.decode(),{img:t,width:t.width,height:t.height,src:t.currentSrc}}catch(t){throw console.warn(`Failed to load image: ${e}`),t}});return function(t){return o.apply(this,arguments)}}(),no=function(){var o=(0,H.A)(function*(e){const t=M(eo(e)),r=yield Promise.all(t.map($o));return{imgSrcArray:r.map(l=>l&&l.src),preloadedData:r}});return function(t){return o.apply(this,arguments)}}(),M=o=>{const e=(()=>{const o=window.screen.width;return o<992?"mobile":o>=992?"desktop":void 0})();return o.map(t=>"object"==typeof t&&t[e]?t[e]:"object"==typeof t?t:{src:t,fallback:""})},W=function(){var o=(0,H.A)(function*(e){try{return(yield no(e)).preloadedData.map(r=>new Mo(r.src,r.width,r.height))}catch(t){return console.warn(t),[]}});return function(t){return o.apply(this,arguments)}}(),To=function(){var o=(0,H.A)(function*(e,t,r){const i=M(t),l=r?M(r):void 0,s=e.map(u=>so(i,u)),f=e.map(u=>l?so(l,u):void 0).filter(u=>u);return yield lo(s,f)});return function(t,r,i){return o.apply(this,arguments)}}();class Mo{constructor(e,t,r){this.image=e,this.width=t,this.height=r}}function ro(o,e){const t=e*Math.PI/180;return o*Math.tan(t)}function io(o,e,t,r,i,l){let s=0,f=0;const u=4===l;return u&&o===_.horizontal&&(f=ro(e,i)),u&&o===_.vertical&&(s=ro(t,r)),{height:s,width:f}}function Wo(o,e){return o===e?G.square:o>
1e?G.landscape:o<e?G.portrait:void 0}function Qo(o){return 4===o?[I.front,I.inside,I.back]:2===o?[I.front,I.back]:[I.front]}function Xo(o,e,t){return 4===e?o===I.inside?t===_.horizontal?[n.doubleCardOpenFoldedHorizontalInsideTop,n.doubleCardOpenFoldedHorizontalInsideBottom]:[n.doubleCardOpenFoldedVerticalInsideLeft,n.doubleCardOpenFoldedVerticalInsideRight]:o===I.back?t===_.horizontal?[n.doubleCardClosedFoldedHorizontalInsideTop,n.doubleCardClosedFoldedHorizontalBack]:[n.doubleCardClosedFoldedVerticalInsideLeft,n.doubleCardClosedFoldedVerticalBack]:t===_.horizontal?[n.doubleCardClosedFoldedHorizontalInsideBottom,n.doubleCardClosedFoldedHorizontalFront]:[n.doubleCardClosedFoldedVerticalInsideRight,n.doubleCardClosedFoldedVerticalFront]:o===I.back?[n.singleCardBack]:[n.singleCardFront]}function jo(o,e){return{width:o.marginLeft+(e===I.inside&&o.fold===_.vertical?2*o.width:o.width)+o.marginRight,height:o.marginTop+(e===I.inside&&o.fold===_.horizontal?2*o.height:o.height)+o.marginBottom}}const lo=function(){var o=(0,H.A)(function*(e,t){let r,i,l,s,f,u;if(e&&e.length){const C=yield W(e);r=C.map(h=>h.image),l=C[0].width,s=C[0].height,f=r.length,u=l*P}return t&&t.length&&(i=(yield W(t)).map(h=>h.image)),{preloadedImages:r,preloadedTopImages:i,width:l,height:s,sides:f,svgMargin:u}});return function(t,r){return o.apply(this,arguments)}}();function so(o,e){return 4===o.length?e===n.doubleCardClosedFoldedHorizontalBack||e===n.doubleCardClosedFoldedVerticalBack?o[3]:e===n.doubleCardClosedFoldedVerticalInsideRight||e===n.doubleCardClosedFoldedHorizontalInsideBottom||e===n.doubleCardOpenFoldedVerticalInsideRight||e===n.doubleCardOpenFoldedHorizontalInsideBottom?o[2]:e===n.doubleCardClosedFoldedVerticalInsideLeft||e===n.doubleCardClosedFoldedHorizontalInsideTop||e===n.doubleCardOpenFoldedVerticalInsideLeft||e===n.doubleCardOpenFoldedHorizontalInsideTop?o[1]:o[0]:e===n.singleCardBack?o[1]:o[0]}var x=function(o){return o.top="Top",o.right="Right",o.bottom="Bottom",o.left="Left",o.round="Round",o}(x||{});function fo(o,e){return(0,d.h)("clipPath",{id:e},(0,d.h)("path",{d:"M"+(o.left+o.roundedCorners)+" "+o.top+" L"+(o.right-o.roundedCorners)+" "+o.top+" Q"+o.right+" "+o.top+" "+o.right+" "+(o.top+o.roundedCorners)+" L"+o.right+" "+(o.bottom-o.roundedCorners)+" Q"+o.right+" "+o.bottom+" "+(o.right-o.roundedCorners)+" "+o.bottom+" L"+(o.left+o.roundedCorners)+" "+o.bottom+" Q"+o.left+" "+o.bottom+" "+o.left+" "+(o.bottom-o.roundedCorners)+" L"+o.left+" "+(o.top+o.roundedCorners)+" Q"+o.left+" "+o.top+" "+(o.left+o.roundedCorners)+" "+o.top+" Z"}))}var uo=function(o){return o.envelopeOpenAnimation="envelopeOpenAnimation",o.envelopeCloseAnimation="envelopeCloseAnimation",o.envelopeClosedCardIn="envelopeClosedCardIn",o.envelopeClosedOpenCardInAnimation="envelopeClosedOpenCardInAnimation",o.envelopeOpenCardIn="envelopeOpenCardIn",o.envelopeOpenCardHalfIn="envelopeOpenCardHalfIn",o.envelopeOpenCardInOutAnimation="envelopeOpenCardInOutAnimation",o.envelopeOpenCardOut="envelopeOpenCardOut",o.envelopeOpenCardOutInAnimation="envelopeOpenCardOutInAnimation",o.envelopeOpenCardInCloseAnimation="envelopeOpenCardInCloseAnimation",o.envelopeOpenCardOutAnimation="envelopeOpenCardOutAnimation",o.envelopeCloseCardInAnimation="envelopeCloseCardInAnimation",o}(uo||{}),co=function(o){return o.cardAnimation="cardAnimation",o.start="start",o}(co||{}),N=function(o){return o.cardImage="cardImage",o.cardRect="cardRect",o}(N||{}),Q=function(o){return o.foil="Foil",o.foilAnimated="FoilAnimated",o.softGlow="SoftGlow",o}(Q||{}),ho=function(o){return o.in="in",o.out="out",o}(ho||{});function po(o,e,t){const r=o.target.parentNode;e&&r.querySelector("."+e).setAttribute("opacity","1"),t&&r.querySelector("."+t).setAttribute("opacity","1")}function oe(o,e,t=!0,r=!0){const i=o.image?N.cardImage:N.cardRect,s=`url(#${j(o.clipPathType,e)})`,f=r?X(o.dropShadowType,e):void 0,u=r?`url(#${f})`:void 0,C=o.softGlowType&&t?K(o.softGlowType,e):void 0,h=o.softGlowType&&t?o.class+"-soft-glow":void 0,p=o.foilType||o.spotUvType?o.class+"-gradient":void 0;let b;o.spotUvType&&(b=o.image?(0,d.h)("image",{xlinkHref:o.image,x:o.x,y:o.y,width:o.width,height:o.height,"clip-path":s,transform:o.transform,onLoad:L=>po(L,h,p)}):(0,d.h)("rect",{x:o.x,y:o.y,width:o.width,height:o.height,"clip-path":s,fill:"#cdcdcd",transform:o.transform}));const F=o.foilType||o.spotUvType?"transparent":"#efefef",a=o.spotUvType&&o.topImage?o.topImage:o.image,m=a?(0,d.h)("image",{xlinkHref:a,x:o.x,y:o.y,width:o.width,height:o.height,"clip-path":s,transform:o.transform,onLoad:L=>po(L,h,p)}):(0,d.h)("rect",{x:o.x,y:o.y,width:o.width,height:o.height,"clip-path":s,fill:F,transform:o.transform});let c,V=u;if(o.foilType||o.spotUvType){const R=K(o.foilType?o.foilType:o.spotUvType?o.spotUvType:void 0,e);c=R?R.map(A=>(0,d.h)("rect",{x:o.x+1,y:o.y+1,width:o.width-2,height:o.height-2,fill:`url(#${A})`,"clip-path":s,transform:o.transform})):void 0,V=void 0}const S=C&&t?C.map((L,R)=>(0,d.h)("rect",{x:o.x,y:o.y,width:o.width,height:o.height,fill:`url(#${L})`,"clip-path":s,transform:o.transform,id:i+Q.softGlow+e+(R+1)})):void 0,J=S?(0,d.h)("g",{class:h,opacity:o.image?0:1},S):void 0;return(0,d.h)("g",{class:o.class},(0,d.h)("g",{filter:V},b,(0,d.h)("g",{class:p,opacity:o.image?0:1,filter:u},c),m,J))}function X(o,e){return"dropShadow"+o+e}function ao(o,e,t,r){return function vo(o,e,t,r){const i=Ao.find(p=>p.type===o),u=i.dx*r.size*t,C=i.dy*r.size*t,h=r.brightness?r.brightness:i.slope;return[(0,d.h)("filter",{id:e,height:`${i.height?i.height:130}%`,width:`${i.width?i.width:130}%`},(0,d.h)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:i.deviation*r.size*t}),(0,d.h)("feOffset",{dx:u,dy:C,result:"offsetBlur"}),(0,d.h)("feComponentTransfer",null,(0,d.h)("feFuncA",{type:"linear",slope:h})),(0,d.h)("feMerge",null,(0,d.h)("feMergeNode",null),(0,d.h)("feMergeNode",{in:"SourceGraphic"})))]}(o,X(o,e),t,r)}function j(o,e){return"clip"+o+e}function ne(o,e){return Array.from(new Set(o.map(r=>r.clipPathType))).map(r=>function te(o,e){return function Yo(o,e){let t;const r={left:o.x,right:o.x+o.width,top:o.y,bottom:o.y+o.height,roundedCorners:o.roun
1dedCorners};return o.clipPathType===x.round?t=fo(r,e):o.clipPathType===x.top?t=function Zo(o,e){return(0,d.h)("clipPath",{id:e},(0,d.h)("path",{d:"M"+o.left+" "+o.bottom+" L"+o.right+" "+o.bottom+" L"+o.right+" "+(o.top+o.roundedCorners)+" Q"+o.right+" "+o.top+" "+(o.right-o.roundedCorners)+" "+o.top+"  L"+(o.left+o.roundedCorners)+" "+o.top+" Q"+o.left+" "+o.top+" "+o.left+" "+(o.top+o.roundedCorners)+" Z"}))}(r,e):o.clipPathType===x.left?t=function Jo(o,e){return(0,d.h)("clipPath",{id:e},(0,d.h)("path",{d:"M"+o.right+" "+o.top+" L"+o.right+" "+o.bottom+" L"+(o.left+o.roundedCorners)+" "+o.bottom+" Q"+o.left+" "+o.bottom+" "+o.left+" "+(o.bottom-o.roundedCorners)+" L"+o.left+" "+(o.top+o.roundedCorners)+" Q"+o.left+" "+o.top+" "+(o.left+o.roundedCorners)+" "+o.top+" Z"}))}(r,e):o.clipPathType===x.right?t=function Do(o,e){return(0,d.h)("clipPath",{id:e},(0,d.h)("path",{d:"M"+o.left+" "+o.top+" L"+(o.right-o.roundedCorners)+" "+o.top+" Q"+o.right+" "+o.top+" "+o.right+" "+(o.top+o.roundedCorners)+" L"+o.right+" "+(o.bottom-o.roundedCorners)+" Q"+o.right+" "+o.bottom+" "+(o.right-o.roundedCorners)+" "+o.bottom+"  L"+o.left+" "+o.bottom+" Z"}))}(r,e):o.clipPathType===x.bottom&&(t=function Ko(o,e){return(0,d.h)("clipPath",{id:e},(0,d.h)("path",{d:"M"+o.left+" "+o.top+" L"+o.right+" "+o.top+" L"+o.right+" "+(o.bottom-o.roundedCorners)+" Q"+o.right+" "+o.bottom+" "+(o.right-o.roundedCorners)+" "+o.bottom+"  L"+(o.left+o.roundedCorners)+" "+o.bottom+" Q"+o.left+" "+o.bottom+" "+o.left+" "+(o.bottom-o.roundedCorners)+" L"+o.left+" "+o.top+" Z"}))}(r,e)),t}(o,j(o.clipPathType,e))}(o.find(l=>l.clipPathType===r),e))}function ie(o,e,t=!0){const r=[],i=ne(o,e),l=function re(o,e){return Array.from(new Set(o.map(r=>r.softGlowType))).map(r=>E(r,e))}(o,e),s=function ee(o,e){return Array.from(new Set(o.map(r=>r.dropShadowType))).map(r=>ao(r,e,o[0].width,o[0].dropShadowValues))}(o,e),f=E(o[0].foilType,e,t),u=E(o[0].spotUvType,e);return i.length&&r.push(i),l.length&&r.push(l),s.length&&r.push(s),f.length&&r.push(f),u.length&&r.push(u),r}var v=function(o){return o.inner="Inner",o.innerFlippedHorizontal="InnerFlippedHorizontal",o.innerFlippedVertical="InnerFlippedVertical",o.outer="Outer",o.outerFlippedHorizontal="OuterFlippedHorizontal",o.outerFlippedVertical="OuterFlippedVertical",o}(v||{});function q(o,e,t){return o&&e?Math.asin(o/e):t&&e?Math.acos(t/e):o&&t?Math.atan(o/t):void 0}function w(o,e,t){if(e&&t)return e*Math.tan(t);if(o&&t)return o*Math.sin(t);if(o&&e){const r=q(void 0,o,e);return o*Math.sin(r)}}function le(o,e,t){if(o&&t)return o/Math.tan(t);if(o&&e){const r=q(o,e,void 0);return o/Math.tan(r)}return e&&t?e*Math.cos(t):void 0}function de(o){return 180*o/Math.PI}function Y(o){return o*Math.PI/180}var n=function(o){return o.singleCardFront="singleCardFront",o.singleCardBack="singleCardBack",o.doubleCardClosedFoldedVerticalFront="doubleCardClosedFront",o.doubleCardClosedFoldedVerticalInsideLeft="doubleCardClosedInsideLeft",o.doubleCardClosedFoldedVerticalInsideRight="doubleCardClosedInsideRight",o.doubleCardClosedFoldedVerticalBack="doubleCardClosedBack",o.doubleCardClosedFoldedHorizontalFront="doubleCardClosedFoldedHorizontalFront",o.doubleCardClosedFoldedHorizontalInsideTop="doubleCardClosedFoldedHorizontalInsideTop",o.doubleCardClosedFoldedHorizontalInsideBottom="doubleCardClosedFoldedHorizontalInsideBottom",o.doubleCardClosedFoldedHorizontalBack="doubleCardClosedFoldedHorizontalBack",o.doubleCardOpenFoldedVerticalInsideLeft="doubleCardOpenFoldedVerticalInsideLeft",o.doubleCardOpenFoldedVerticalInsideRight="doubleCardOpenFoldedVerticalInsideRight",o.doubleCardOpenFoldedHorizontalInsideTop="doubleCardOpenFoldedHorizontalInsideTop",o.doubleCardOpenFoldedHorizontalInsideBottom="doubleCardOpenFoldedHorizontalInsideBottom",o}(n||{});class se{constructor(e,t,r,i,l,s,f,u=10,C=0,h=0,p,b,F=0,a,m,c,V,S=!0,J=!1,L=!1){this.cardPageType=e,this.fold=t,this.width=i,this.height=l,this.dropShadowValues=a;const R=io(t,i,l,h,C,r),A=function Po(o,e,t,r,i,l,s,f,u,C){let h=i,p=e===n.doubleCardOpenFoldedHorizontalInsideBottom?i+r:i,b=i,F=i,a=i,m=i;if(o===_.horizontal){if(f||u){if(f&&!u){const c=i+l;h=e===n.doubleCardOpenFoldedVerticalInsideRight?i+t:i,p=e===n.doubleCardOpenFoldedHorizontalInsideBottom?c+r:c,b=c,F=c,a=c,m=c}}else h=e===n.doubleCardClosedFoldedHorizontalBack||e===n.doubleCardClosedFoldedHorizontalInsideTop?i+l:i,p=e===n.doubleCardOpenFoldedHorizontalInsideBottom?i+r:i,F=e===n.doubleCardClosedFoldedHorizontalFront||e===n.doubleCardClosedFoldedHorizontalInsideBottom?i+l:i,m=i;u&&(e===n.doubleCardOpenFoldedHorizontalInsideTop||e===n.doubleCardOpenFoldedHorizontalInsideBottom?(p=e===n.doubleCardOpenFoldedHorizontalInsideBottom?i+r:i,a=i,m=i):(p+=r/2,a+=r/2,m+=r/2)),C&&(p=e===n.doubleCardOpenFoldedHorizontalInsideBottom?0:2*i,a=e===n.doubleCardOpenFoldedHorizontalInsideBottom?0:2*i,m=e===n.doubleCardOpenFoldedHorizontalInsideTop?0:2*i)}if(o===_.vertical){if(f||u)if(f&&!u){const c=i+s;h=e===n.doubleCardOpenFoldedVerticalInsideRight?c+t:c,p=c,b=c,F=c,a=c,m=c}else u&&(e===n.doubleCardOpenFoldedVerticalInsideLeft||e===n.doubleCardOpenFoldedVerticalInsideRight?(h=e===n.doubleCardOpenFoldedVerticalInsideRight?i+t:i,b=i,F=i):(h+=t/2,b+=t/2,F+=t/2));else p=e===n.doubleCardClosedFoldedVerticalFront||e===n.doubleCardClosedFoldedVerticalInsideRight||e===n.doubleCardClosedFoldedVerticalBack||e===n.doubleCardClosedFoldedVerticalInsideLeft?i+s:i,a=p,h=e===n.doubleCardOpenFoldedVerticalInsideRight?i+t:i;C&&(h=e===n.doubleCardOpenFoldedVerticalInsideRight?0:2*i,b=e===n.doubleCardOpenFoldedVerticalInsideRight?0:2*i,F=e===n.doubleCardOpenFoldedVerticalInsideLeft?0:2*i)}return{x:Math.round(h),y:Math.round(p),marginLeft:Math.round(b),marginRight:Math.round(F),marginTop:Math.round(a),marginBottom:Math.round(m)}}(t,e,i,l,u,R.width,R.height,S,J,L);this.x=s||A.x,this.y=f||A.y,this.marginLeft=A.marginLeft,this.marginRight=A.marginRight,this.marginTop=A.marginTop,this.marginBottom=A.marginBottom,this.roundedCorners=F,this.image=p,this.topImage=b,this.class=e.replace(/[A-Z]/g,Ce=>"-"+Ce.toLowerCase()),this.transform=this.getTransform(e,h,C,i,this.x,this.y),this.dropShadowType=this.getDropShadowType(e),this.clipPathType=this.getClipPathType(e),this.softGlowType=this.getSoftGlowType(e),this.foilType=m,this.spotUvType=c?k.spotUv:void 0,this.maskType=this.getMaskType(e,V)}getTransform(e,t,r,i,l,s){let f="",u="",C="";const p=.95*l,b=.95*s,F=.95*i;if(e===n.doubleCardClosedFoldedHorizontalInsideTop||e===n.doubleCardClosedFoldedHorizontalInsideBottom){f=`skewX(${r})`,u="scale(1 0.95)";const a=Y(r);let m=-w(void 0,s,a);const c=s-b;e===n.doubleCardClosedFoldedHorizontalInsideTop&&(f=`skewX(-${r})`,m=w(void 0,s,a)),C=`translate(${m}, ${c})`}else if(e===n.doubleCardClosedFoldedVerticalInsideLeft||e===n.doubleCardClosedFoldedVerticalInsideRight){f=`skewY(-${t})`,u="scale(0.95 1)";
1const a=Y(t);let m=w(void 0,l,a),c=l-p;if(e===n.doubleCardClosedFoldedVerticalInsideLeft){f=`skewY(${t})`,c=l-p+(i-F);const V=w(void 0,i,a);m=-(w(void 0,l,a)+V)}C=`translate(${c}, ${m})`}return[f,C,u].join(" ")}getDropShadowType(e){return e===n.doubleCardOpenFoldedHorizontalInsideBottom||e===n.doubleCardOpenFoldedHorizontalInsideTop||e===n.doubleCardClosedFoldedHorizontalFront||e===n.doubleCardClosedFoldedHorizontalInsideBottom||e===n.doubleCardClosedFoldedHorizontalBack?z.softBottom:e===n.doubleCardClosedFoldedVerticalBack||e===n.doubleCardClosedFoldedVerticalInsideLeft?z.softLeft:e===n.doubleCardOpenFoldedVerticalInsideRight||e===n.doubleCardClosedFoldedVerticalFront||e===n.doubleCardClosedFoldedVerticalInsideRight?z.softRight:z.soft}getClipPathType(e){return e===n.singleCardFront||e===n.singleCardBack?x.round:e===n.doubleCardClosedFoldedHorizontalFront||e===n.doubleCardClosedFoldedHorizontalBack||e===n.doubleCardClosedFoldedHorizontalInsideTop||e===n.doubleCardOpenFoldedHorizontalInsideBottom||e===n.doubleCardClosedFoldedHorizontalInsideBottom?x.bottom:e===n.doubleCardOpenFoldedHorizontalInsideTop?x.top:e===n.doubleCardClosedFoldedVerticalFront||e===n.doubleCardClosedFoldedVerticalInsideRight||e===n.doubleCardOpenFoldedVerticalInsideRight?x.right:e===n.doubleCardClosedFoldedVerticalInsideLeft||e===n.doubleCardOpenFoldedVerticalInsideLeft||e===n.doubleCardClosedFoldedVerticalBack?x.left:void 0}getSoftGlowType(e){return e===n.singleCardFront||e===n.singleCardBack||e===n.doubleCardClosedFoldedHorizontalFront||e===n.doubleCardClosedFoldedHorizontalBack||e===n.doubleCardClosedFoldedVerticalFront||e===n.doubleCardClosedFoldedVerticalBack?O.frontAndBack:e===n.doubleCardOpenFoldedHorizontalInsideTop||e===n.doubleCardClosedFoldedHorizontalInsideTop?O.innerTop:e===n.doubleCardOpenFoldedHorizontalInsideBottom||e===n.doubleCardClosedFoldedHorizontalInsideBottom?O.innerBottom:e===n.doubleCardClosedFoldedVerticalInsideRight||e===n.doubleCardOpenFoldedVerticalInsideRight?O.innerRight:e===n.doubleCardClosedFoldedVerticalInsideLeft||e===n.doubleCardOpenFoldedVerticalInsideLeft?O.innerLeft:void 0}getMaskType(e,t){return e===n.singleCardFront||e===n.doubleCardClosedFoldedVerticalFront||e===n.doubleCardClosedFoldedHorizontalFront?t?v.outer:v.inner:e===n.doubleCardOpenFoldedVerticalInsideLeft?t?v.outerFlippedHorizontal:v.innerFlippedHorizontal:e===n.doubleCardOpenFoldedHorizontalInsideTop?t?v.outerFlippedVertical:v.innerFlippedVertical:void 0}}const Co="DimensionalDropShadow",mo="DimensionalBackShadow",fe=[{type:O,data:So},{type:B,data:_o},{type:k,data:Uo}];function Z(o){return fe.filter(t=>Object.values(t.type).find(r=>r===o)).flatMap(t=>t.data.filter(r=>r.type===o))}function bo(o,e,t=!0){return e.map(r=>{const i=Io(r,o);let l;r.animateTransformData&&t&&(l=function ue(o){return(0,d.h)("animateTransform",{attributeName:o.attributeName,type:o.type,repeatCount:o.repeatCount,values:o.values,dur:o.dur})}(r.animateTransformData));const s=Fo(r.stops);return(0,d.h)("linearGradient",{id:`${i}`,x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2,spreadMethod:r.spreadMethod,gradientTransform:r.gradientTransform},l,s)})}function ce(o,e,t,r){const i=o===y.closure?.3*t.height+t.height/t.width*30:.35*t.height+t.height/t.width*35,s=void 0===i?"translate(0)":"skewX(20) translate(-"+i+")",f=Fo(e);return console.log("envelope data ",t),[(0,d.h)("linearGradient",{id:`${o}${r}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientUnits:"userSpaceOnUse",gradientTransform:s},f)]}function Fo(o){return o.map(e=>{let t;return e.animate&&(t=function he(o){return(0,d.h)("animate",{attributeName:o.attributeName,values:o.values,dur:o.dur,repeatCount:o.repeatCount})}(e.animate)),[(0,d.h)("stop",{offset:e.offset,style:{"stop-color":e.color,"stop-opacity":`${e.opacity}`}},t)]})}function E(o,e,t=!0){return bo(e,Z(o).filter(i=>i.type===o),t)}function K(o,e){return Z(o).map(r=>Io(r,e))}function Io(o,e){return`${o.idPrefix}${o.type}${o.suffix?o.suffix:""}${e}`}function pe(o){return(0,d.h)("linearGradient",{id:Co+o,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},(0,d.h)("stop",{offset:"0%",style:{stopColor:"rgb(0, 0, 0)",stopOpacity:"0"}}),(0,d.h)("stop",{offset:"100%",style:{stopColor:"rgb(0, 0, 0)",stopOpacity:".2"}}))}function ae(o,e){let r="100%",l="0%",s="0",f=".3";return o===n.doubleCardOpenFoldedVerticalInsideRight?(s=".3",f=".03"):o===n.doubleCardOpenFoldedHorizontalInsideTop?(r="0%",l="100%",s="0",f=".3"):o===n.doubleCardOpenFoldedHorizontalInsideBottom&&(r="0%",l="100%",s=".3",f=".03"),(0,d.h)("linearGradient",{id:mo+e,x1:"0%",y1:"0%",x2:r,y2:l},(0,d.h)("stop",{offset:"0%",style:{stopColor:"rgb(0, 0, 0)",stopOpacity:s}}),(0,d.h)("stop",{offset:"100%",style:{stopColor:"rgb(0, 0, 0)",stopOpacity:f}}))}}}]);

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.