!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e73deac7-0885-4183-9b72-1ff8ef640242",t._sentryDebugIdIdentifier="sentry-dbid-e73deac7-0885-4183-9b72-1ff8ef640242")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6406],{86015:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var r=i(86894),n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,r.Z)((function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}))},87944:function(t){function e(t){var i,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(i=0;i{i.push(["fl",t])})),i.sort().map((t=>t[1]))}(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if("string"===typeof t){const[e,i]=t.toLowerCase().split("_");"fl"===e?this.flags.push(new r.FlagQualifier(i)):this.qualifiers.set(e,new n.Qualifier(e,i))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return"string"===typeof t?this.flags.push(new r.FlagQualifier(t)):t instanceof r.FlagQualifier&&this.flags.push(t),this}addValueToQualifier(t,e){return this.qualifiers.get(t).addValue(e),this}},e.isString=function(t){return"string"===typeof t||t instanceof String}},45348:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{}e.AnimatedFormatQualifierValue=n},16245:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{}e.AspectRatioQualifierValue=n},61606:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new o.Qualifier("e",new n.QualifierValue("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:e,type:i,stripesStrength:r}=t,n=new this;return"xray"===i&&n.xray(),"stripes"===i&&r&&n.stripesStrength(r),n}}e.AssistColorBlindEffectAction=a},81354:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this._actionModel={actionType:"audioCodec"},this.addQualifier(new n.Qualifier("ac",t)),this._actionModel.audioCodec=t}static fromJson(t){const{audioCodec:e}=t;return new this(e)}}var a=o;e.AudioCodecAction=a},10436:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this._actionModel={actionType:"audioFrequency"},this.addQualifier(new n.Qualifier("af",t)),this._actionModel.audioFrequencyType=t}static fromJson(t){const{audioFrequencyType:e}=t;return new this(e.replace("freq",""))}}var a=o;e.AudioFrequencyAction=a},27239:function(t,e,i){"use strict";var r=i(58361);class n extends r.BaseSource{constructor(t){super(),this._qualifierModel={sourceType:"audio",publicId:t}}getOpenSourceString(t){return`${t}_audio:${this.encodeAssetPublicID(this._qualifierModel.publicId)}`}static fromJson(t,e){const{publicId:i,transformation:r}=t,n=new this(i);return r&&n.transformation(e(r)),n}}e.AudioSource=n},30079:function(t,e,i){"use strict";var r=i(66446);class n extends r.BaseCommonBackground{toString(){return`\n b_auto:border\n ${this._contrast?"_contrast":""}\n ${this._palette.length?`:palette_${this._palette.join("_")}`:""}\n `.replace(/\s+/g,"")}}e.BackgroundAutoBorderQualifier=n},91515:function(t,e,i){"use strict";var r=i(66446);class n extends r.BaseCommonBackground{toString(){return`\n b_auto:predominant\n ${this._contrast?"_contrast":""}\n ${this._palette.length?`:palette_${this._palette.join("_")}`:""}\n `.replace(/\s+/g,"")}}e.BackgroundAutoPredominantQualifier=n},13004:function(t,e,i){"use strict";var r=i(55259);class n extends r.BaseGradientBackground{toString(){return`\n b_auto:border_gradient\n ${this._contrast?"_contrast":""}\n ${this._gradientColors?`:${this._gradientColors}`:""}\n ${this._gradientDirection?`:${this._gradientDirection}`:""}\n ${this._palette.length?`:palette_${this._palette.join("_")}`:""}\n `.replace(/\s+/g,"")}}e.BackgroundBorderGradientQualifier=n},27016:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(95362);class s extends r.Action{constructor(t){super(),this._actionModel={},this.addQualifier(new o.Qualifier("b",new n.QualifierValue(a.prepareColor(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:e}=t;return new this(e)}}e.BackgroundColor=s},56043:function(t,e,i){"use strict";var r=i(55259);class n extends r.BaseGradientBackground{toString(){return`\n b_auto:predominant_gradient\n ${this._contrast?"_contrast":""}\n ${this._gradientColors?`:${this._gradientColors}`:""}\n ${this._gradientDirection?`:${this._gradientDirection}`:""}\n ${this._palette.length?`:palette_${this._palette.join("_")}`:""}\n `.replace(/\s+/g,"")}}e.BackgroundPredominantGradientQualifier=n},18694:function(t,e,i){"use strict";var r=i(76085);class n extends r.Qualifier{constructor(t){super("b"),t&&this.addValue(t)}}e.BackgroundQualifier=n},207:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(){super(),this._actionModel.actionType="backgroundRemoval"}fineEdges(t=!0){return this._fineEdges=t,this._actionModel.fineEdges=this._fineEdges,this}hints(...t){return 1===t.length&&Array.isArray(t[0])?this._hints=t[0]:t.length&&(this._hints=t),this._hints&&(this._actionModel.hints=this._hints),this}prepareQualifiers(){var t;let e="background_removal";const i=[];void 0!==this._fineEdges&&i.push(new n.QualifierValue("fineedges_"+(this._fineEdges?"y":"n")).toString()),(null===(t=this._hints)||void 0===t?void 0:t.length)&&i.push(new n.QualifierValue(`hints_(${this._hints.join(";")})`).toString()),i.length>0&&(e+=`:${i.join(";")}`),this.addQualifier(new o.Qualifier("e",e))}static fromJson(t){const{fineEdges:e,hints:i}=t,r=new this;return void 0!==e&&r.fineEdges(e),(null===i||void 0===i?void 0:i.length)&&r.hints(i),r}}e.BackgroundRemoval=a},66446:function(t,e,i){"use strict";var r=i(95362),n=i(18694);class o extends n.BackgroundQualifier{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map((t=>r.prepareColor(t))),this}}e.BaseCommonBackground=o},55259:function(t,e,i){"use strict";var r=i(66446);class n extends r.BaseCommonBackground{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}e.BaseGradientBackground=n},58361:function(t,e,i){"use strict";var r=i(28373);class n extends r.QualifierModel{encodeAssetPublicID(t){return t.replace(/\//g,":")}transformation(t){return this._qualifierModel.transformation=t.toJson(),this._transformation=t,this}getTransformation(){return this._transformation}}e.BaseSource=n},34823:function(t,e,i){"use strict";var r=i(58361),n=i(60063),o=i(15157),a=i(76085),s=i(95362);class u extends r.BaseSource{constructor(t,e){super(),this.type="text",this.text=t,this._textStyle=e,this._qualifierModel.sourceType="text",this._qualifierModel.text=t,e instanceof n.TextStyle&&(this._qualifierModel.textStyle=e.toJson())}encodeText(t){return n.serializeCloudinaryCharacters(t)}textColor(t){return this._textColor=t,this._qualifierModel.textColor=t,this}backgroundColor(t){return this._backgroundColor=t,this._qualifierModel.backgroundColor=t,this}textFit(t){return this._textFit=t,this}getOpenSourceString(t){const e=[this.type,this._textStyle&&this._textStyle.toString(),this.encodeText(this.text)].filter((t=>t)).join(":"),i=new o.Action;return i.addQualifier(new a.Qualifier(t,e)),this._textColor&&i.addQualifier(new a.Qualifier("co",s.prepareColor(this._textColor))),this._backgroundColor&&i.addQualifier(new a.Qualifier("b",s.prepareColor(this._backgroundColor))),this._textFit&&i.addQualifier(this._textFit),i.toString()}}e.BaseTextSource=u},66912:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t){super(),this.isConstant=!1,this._actionModel={actionType:"bitRate"},this.bitRate=t,this._actionModel.bitRate=t}constant(){return this.isConstant=!0,this._actionModel.constant=!0,this}prepareQualifiers(){let t;return t=this.isConstant?new o.QualifierValue([this.bitRate,"constant"]).setDelimiter(":"):new o.QualifierValue(this.bitRate),this.addQualifier(new n.Qualifier("br",t)),this}static fromJson(t){const{bitRate:e,constant:i}=t,r=new this(e);return i&&r.constant(),r}}var s=a;e.BitRateAction=s},43680:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{threshold(t){return this.setLevel(t)}}e.BlackwhiteEffectAction=n},50439:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t,e){super(),this.addQualifier(new n.Qualifier("e",new o.QualifierValue([t,e])))}}e.BlendModeQualifier=a},12070:function(t,e,i){"use strict";var r=i(76085),n=i(15157),o=i(62092);class a extends n.Action{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";if("_region"in this){this._region.qualifiers.forEach((t=>this.addQualifier(t))),"custom"===this._region.regionType&&this.addQualifier(new r.Qualifier("e",`blur_region${t}`)),"ocr_text"===this._region.regionType&&(this.addQualifier(new r.Qualifier("e",`blur_region${t}`)),this.addQualifier(new r.Qualifier("g","ocr_text"))),"faces"===this._region.regionType&&this.addQualifier(new r.Qualifier("e",`blur_faces${t}`))}else this.addQualifier(new r.Qualifier("e",`blur${t}`))}static fromJson(t){const{strength:e,region:i}=t,r=new this(e);return e&&r.strength(e),i&&"faces"===i.regionType&&r.region(o.faces()),i&&"ocr_text"===i.regionType&&r.region(o.ocr()),i&&"custom"===i.regionType&&r.region(o.CustomRegion.fromJson(i)),r}}e.BlurAction=a},51927:function(t,e,i){"use strict";var r=i(18694);class n extends r.BackgroundQualifier{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){return`b_blurred${void 0!==this.intensityLevel?`:${this.intensityLevel}`:""}${void 0!==this.brightnessLevel?void 0!==this.intensityLevel?`:${this.brightnessLevel}`:`:100:${this.brightnessLevel}`:""}`}}var o=n;e.BlurredBackgroundAction=o,e.DEFAULT_BRIGHTNESS=0,e.DEFAULT_INTENSITY=100},41030:function(t,e,i){"use strict";var r=i(15157);class n extends r.Action{constructor(t){super(),this.publicId=t}toString(){return`l_lut:${this.publicId}/fl_layer_apply`}}e.By3dLutAction=n},55694:function(t,e,i){"use strict";var r=i(76085),n=i(80146),o=i(15157);class a extends o.Action{constructor(t,e){super(),this._actionModel={},this.cartoonifyStrength=e,this.effectName=t,this._actionModel.actionType=t}lineStrength(t){return this.cartoonifyStrength=t,this._actionModel.lineStrength=t,this}blackwhite(){return this._actionModel.blackAndWhite=!0,this.colorReduction="bw",this}colorReductionLevel(t){return this._actionModel.colorReductionLevel=t,this.colorReduction=t,this}prepareQualifiers(){this.addQualifier(new r.Qualifier("e",new n.QualifierValue([this.effectName,this.cartoonifyStrength,this.colorReduction])))}static fromJson(t){const{actionType:e,lineStrength:i,blackAndWhite:r,colorReductionLevel:n}=t,o=new this(e,i);return r&&o.blackwhite(),n&&o.colorReductionLevel(n),i&&o.lineStrength(i),o}}e.CartoonifyEffect=a},15958:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146),a=i(97096);class s extends r.Action{constructor(){super(),this.isEvenOdd=!1}byName(t){return this.path=t,this}byIndex(t){return this.path=t,this}evenOdd(){return this.isEvenOdd=!0,this}prepareQualifiers(){let t;return t="string"===typeof this.path?new o.QualifierValue(["name",this.path]).setDelimiter(":"):new o.QualifierValue(this.path),this.isEvenOdd?this.addFlag(a.clipEvenOdd()):this.addFlag(a.clip()),this.addQualifier(new n.Qualifier("pg",t)),this}}e.ClipAction=s},13860:function(t,e,i){"use strict";var r=i(80146),n=i(76085),o=i(95362),a=i(13599);class s extends a.EffectActionWithLevel{color(t){return this._actionModel.color=t,this.addQualifier(new n.Qualifier("co",new r.QualifierValue(o.prepareColor(t))))}static fromJson(t){const{actionType:e,level:i,color:r}=t,n=new this(e,i);return r&&n.color(r),n}}e.ColorizeEffectAction=s},64863:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{constructor(t){super(),this.val=t}toString(){return this.val}}e.CompassQualifier=n},96986:function(t,e,i){"use strict";var r=i(15157),n=i(30455),o=i(79078),a=i(53958);class s extends r.Action{constructor(t){super(),this._actionModel={actionType:"concatenate",source:t.toJson()},this.concatSource=t}transition(t){return this._actionModel.transition=t.toJson(),this._transition=t,this}prepend(){return this._actionModel.prepend=!0,this._prepend=!0,this}duration(t){return this._actionModel.duration=t,this._duration=t,this}getTransitionString(){const t=this._transition.getTransformation();return[`e_transition,${this._transition.getOpenSourceString("l")}`,t&&t.toString(),"fl_layer_apply"].filter((t=>t)).join("/")}toString(){const t=[this._duration&&`du_${this._duration}`,!this._transition&&"fl_splice",`${this.concatSource.getOpenSourceString("l")}`].filter((t=>t)).join(","),e=["fl_layer_apply",this._prepend&&"so_0"].filter((t=>t)).join(",");let i;return i=this.concatSource.getTransformation()?this.concatSource.getTransformation():new n.Transformation,this._transition&&i.addTransformation(this.getTransitionString()),[t,i.toString(),e].filter((t=>t)).join("/")}static fromJson(t,e){const{source:i,transition:r,prepend:n,duration:s}=t,u=new this(a.createSourceFromModel(i,e));return r&&u.transition(o.VideoSource.fromJson(r,e)),n&&u.prepend(),s&&u.duration(s),u}}var u=s;e.ConcatenateAction=u},83269:function(t,e,i){"use strict";var r=i(15663),n=i(15157),o=i(80146),a=i(76085);class s extends n.Action{constructor(t){super(),this.fn=t}encodeCustomFunctionString(t){return r.base64Encode(t)}asWasm(){return this.mode="wasm",this}asRemote(){return this.mode="remote",this}prepareQualifiers(){return this.encodedFn=this.fn,"remote"===this.mode&&(this.encodedFn=this.encodeCustomFunctionString(this.fn)),this.addQualifier(new a.Qualifier("fn",new o.QualifierValue([this.pre,this.mode,this.encodedFn])))}toString(){return super.toString().replace(/\//g,":")}}var u=s;e.CustomFunctionAction=u},43454:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this.source=t}position(t){return this._position=t,this}toString(){var t;const e=new r.Action;return e.addQualifier(new n.Qualifier("fl","cutter,fl_layer_apply")),null===(t=this._position)||void 0===t||t.qualifiers.forEach((t=>{e.addQualifier(t)})),[this.source.getOpenSourceString("l"),this.source.getTransformation(),e].filter((t=>t)).join("/")}}var a=o;e.CutByImage=a},99664:function(t,e,i){"use strict";var r=i(15157),n=i(34442),o=i(76085),a=i(9631);class s extends r.Action{constructor(t,e,i){let r;super(),this._actionModel={},r=e instanceof n.FormatQualifier?e.getValue():e,this._actionModel.actionType=a.DELIVERY_MODE_TO_ACTION_TYPE_MAP[t],this._actionModel[i]=r,this.addQualifier(new o.Qualifier(t,e))}}e.DeliveryAction=s},75686:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(33903),a=i(9631);class s extends r.Action{constructor(t){super(),this._actionModel={},this._actionModel={actionType:"colorSpace",mode:a.COLOR_SPACE_MODE_TO_COLOR_SPACE_MODEL_MODE_MAP[t]||t},this.addQualifier(new n.Qualifier("cs",o.ColorSpace[t]?o.ColorSpace[t]():t))}static fromJson(t){const{mode:e}=t;return new this(a.COLOR_SPACE_MODEL_MODE_TO_COLOR_SPACE_MODE_MAP[e]||e)}}e.DeliveryColorSpaceAction=s},39214:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(t){super(),this._actionModel={},this._actionModel.actionType="colorSpaceFromICC",this._actionModel.publicId=t;const e=new n.QualifierValue(["icc",t]).setDelimiter(":");this.addQualifier(new o.Qualifier("cs",e))}static fromJson(t){const{publicId:e}=t;return new this(e)}}e.DeliveryColorSpaceFromICCAction=a},86277:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(63832);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"dpr"};const e=o.toFloatAsString(t);this._actionModel.dpr=e,this.addQualifier(new n.Qualifier("dpr",e))}static fromJson(t){const{dpr:e}=t;return new this(e)}}e.DeliveryDPRAction=a},92227:function(t,e,i){"use strict";var r=i(97096),n=i(99664),o=i(30910);class a extends n.DeliveryAction{constructor(t,e){super(t,e,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(r.lossy()),this}progressive(t){return t instanceof o.ProgressiveQualifier?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(r.progressive(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(r.preserveTransparency()),this}static fromJson(t){const{formatType:e,lossy:i,progressive:r,preserveTransparency:n}=t;let o;return o=e?new this("f",e):new this("f"),r&&(r.mode?o.progressive(r.mode):o.progressive()),i&&o.lossy(),n&&o.preserveTransparency(),o}}e.DeliveryFormatAction=a},70961:function(t,e,i){"use strict";var r=i(80146),n=i(76085),o=i(99664),a=i(9631);class s extends o.DeliveryAction{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=a.CHROMA_VALUE_TO_CHROMA_MODEL_ENUM[t];const e=new r.QualifierValue([this._actionModel.level,t]);return e.setDelimiter(":"),this.addQualifier(new n.Qualifier("q",e))}quantization(t){this._actionModel.quantization=t;const e=new r.QualifierValue([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new n.Qualifier("q",e))}static fromJson(t){const{level:e,chromaSubSampling:i,quantization:r}=t,n=new this(a.ACTION_TYPE_TO_QUALITY_MODE_MAP[e]||e);if(i){const t=a.CHROMA_MODEL_ENUM_TO_CHROMA_VALUE[i.toUpperCase()];t&&n.chromaSubSampling(+t)}return r&&n.quantization(r),n}}e.DeliveryQualityAction=s},55959:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{constructor(){super(...arguments),this._actionModel={actionType:"deshake"}}shakeStrength(t){this._actionModel.pixels=t;const e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}static fromJson(t){const{actionType:e,pixels:i}=t;return new this(e,i)}}e.DeshakeEffectAction=n},94697:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this.addQualifier(new n.Qualifier("e",`distort:${t.join(":")}`))}}e.DistortAction=o},46131:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this.addQualifier(new n.Qualifier("e",`distort:arc:${t}`))}}e.DistortArcAction=o},5600:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{constructor(){super(...arguments),this._actionModel={actionType:"dither"}}type(t){this._actionModel.type=t;const e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}static fromJson(t){const{actionType:e,type:i}=t,r=new this(e);return i&&r.type(i),r}}e.DitherEffectAction=n},43183:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(){super(),this._actionModel={},this._actionModel.actionType="dropshadow"}azimuth(t){return this._actionModel.azimuth=t,this._azimuth=t,this}elevation(t){return this._actionModel.elevation=t,this._elevation=t,this}spread(t){return this._actionModel.spread=t,this._spread=t,this}prepareQualifiers(){const t=["azimuth","elevation","spread"],e=[this._azimuth,this._elevation,this._spread].map(((e,i)=>void 0!==e?`${t[i]}_${e}`:"")).filter(Boolean).join(";");this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["dropshadow",e]).setDelimiter(":")))}static fromJson(t){const{azimuth:e,elevation:i,spread:r}=t,n=new this;return e&&n.azimuth(e),i&&n.elevation(i),r&&n.spread(r),n}}e.DropShadow=a},23538:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{blend(t){return this.setLevel(t)}}e.EffectActionWithBlend=n},13599:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{level(t){return this._actionModel.level=t,this.setLevel(t)}}e.EffectActionWithLevel=n},8068:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{constructor(){super(...arguments),this.LEVEL_NAME="strength"}strength(t){return this.setLevel(t)}}e.EffectActionWithStrength=n},933:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{constructor(t){super(),this.value=t}toString(){return this.value}}e.ExpressionQualifier=n},48759:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(30111);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"fps"},this._actionModel.fps=t,this.addQualifier(new n.Qualifier("fps",t))}static fromJson(t){const{fps:e}=t;let i;return i="object"===typeof e?new o.FPSRangeAction(e.from,e.to):new this(e),i}}var s=a;e.FPSAction=s},30111:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t,e){super(),this._actionModel={},this.from=t,this._actionModel={actionType:"fps",fps:{from:t}},null!=e&&(this.to=e,this._actionModel.fps.to=e)}prepareQualifiers(){let t;return t=this.from&&this.to?new o.QualifierValue(`${this.from}-${this.to}`):new o.QualifierValue(`${this.from}-`),this.addQualifier(new n.Qualifier("fps",t)),this}}var s=a;e.FPSRangeAction=s},59251:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"fadeIn"},this.addQualifier(new n.Qualifier("e",new o.QualifierValue(["fade",`${t}`]).setDelimiter(":"))),t&&(this._actionModel.length=t)}duration(t){return this._actionModel.length=t,this.addQualifier(new n.Qualifier("e",new o.QualifierValue(["fade",`${t}`]).setDelimiter(":")))}static fromJson(t){const{length:e}=t;if(void 0===e)return new this(1e3);return new this(e)}}e.FadeInEffectAction=a},13297:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"fadeOut"},this.addQualifier(new n.Qualifier("e",new o.QualifierValue(["fade",`-${t}`]).setDelimiter(":"))),t&&(this._actionModel.length=t)}duration(t){return this._actionModel.length=t,this.addQualifier(new n.Qualifier("e",new o.QualifierValue(["fade",`-${t}`]).setDelimiter(":")))}static fromJson(t){const{length:e}=t;if(void 0===e)return new this(1e3);return new this(e)}}e.FadeOutEffectAction=a},83291:function(t,e,i){"use strict";var r=i(58361),n=i(34442),o=i(15663);class a extends r.BaseSource{constructor(t){super(),this._qualifierModel={sourceType:"fetch",url:t},this._remoteURL=t}getOpenSourceString(t){return this._format?`${t}_fetch:${o.base64Encode(this._remoteURL)}.${this._format.toString()}`:`${t}_fetch:${o.base64Encode(this._remoteURL)}`}format(t){return this._qualifierModel.format=t.toString(),this._format=t,this}static fromJson(t,e){const{url:i,transformation:r,format:o}=t,a=new this(i);return r&&a.transformation(e(r)),o&&a.format(new n.FormatQualifier(o)),a}}e.FetchSource=a},76676:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(){super()}blend(t){return this.lvl=t,this}bias(t){return this.biasLvl=t,this}prepareQualifiers(){const t=new n.QualifierValue(["fill_light",this.lvl,this.biasLvl]).setDelimiter(":");return this.addQualifier(new o.Qualifier("e",t)),this}}e.FillLightAction=a},49780:function(t,e,i){"use strict";var r=i(80146),n=i(76085);class o extends n.Qualifier{constructor(t,e){let i;i=e?new r.QualifierValue([t,`${e}`]).setDelimiter(":"):t,super("fl",i),this.flagValue=e}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}}e.FlagQualifier=o},69268:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{constructor(t){super(),this.name=t}toString(){return this.name}}e.FocusOnValue=n},34442:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{constructor(t){super(t),this.val=t}getValue(){return this.val}}e.FormatQualifier=n},60360:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(t,e){super(),this._prompts=[],this._detectMultiple=!1,this.multiple=this.detectMultiple.bind(this),this._prompts=Array.isArray(t)?t:[t],this._toColor=e,this._actionModel.actionType="generativeRecolor",this._actionModel.prompts=this._prompts,this._actionModel.toColor=this._toColor}detectMultiple(t=!0){return this._detectMultiple=t,this._detectMultiple&&(this._actionModel.detectMultiple=this._detectMultiple),this}prepareQualifiers(){const t=(new n.QualifierValue).setDelimiter(";");if(this._prompts.length&&t.addValue(this.preparePromptValue()),this._toColor){const e=this._toColor.match(/^#/)?this._toColor.substr(1):this._toColor;t.addValue(`to-color_${e}`)}this._detectMultiple&&t.addValue("multiple_true"),this.addQualifier(new o.Qualifier("e",`gen_recolor:${t.toString()}`))}preparePromptValue(){const t=this._prompts,e=(new n.QualifierValue).setDelimiter(";");return 1===t.length?e.addValue(`prompt_${t[0]}`):e.addValue(`prompt_(${t.join(";")})`),e}static fromJson(t){const{prompts:e,detectMultiple:i,toColor:r}=t,n=new this(e,r);return i&&n.detectMultiple(i),n}}e.GenerativeRecolor=a},57057:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(35597);class s extends r.Action{constructor(){super(),this._prompts=[],this._regions=[],this._detectMultiple=!1,this._removeShadow=!1,this._actionModel.actionType="generativeRemove"}prompt(...t){return this._prompts=t,this._prompts.length>0&&(this._actionModel.prompts=this._prompts),this}region(...t){return this._regions=t,this._regions.length>0&&(this._actionModel.regions=this._regions.map((t=>t.toJson()))),this}detectMultiple(t=!0){return this._detectMultiple=t,this._detectMultiple&&(this._actionModel.detectMultiple=this._detectMultiple),this}removeShadow(t=!0){return this._removeShadow=t,this._removeShadow&&(this._actionModel.removeShadow=this._removeShadow),this}prepareQualifiers(){const t=(new n.QualifierValue).setDelimiter(";");switch(!0){case this._prompts.length>0:t.addValue(this.preparePromptValue());break;case this._regions.length>0:t.addValue(this.prepareRegionValue())}this._detectMultiple&&t.addValue("multiple_true"),this._removeShadow&&t.addValue("remove-shadow_true"),this.addQualifier(new o.Qualifier("e",`gen_remove:${t.toString()}`))}preparePromptValue(){const t=this._prompts,e=(new n.QualifierValue).setDelimiter(";");return 1===t.length?e.addValue(`prompt_${t[0]}`):e.addValue(`prompt_(${t.join(";")})`),e}prepareRegionValue(){const t=this._regions,e=new n.QualifierValue;if(1===t.length){const i=t[0].toString();e.addValue(`region_${i}`)}else{const i=t.map((t=>t.toString()));e.addValue(`region_(${i.join(";")})`)}return e}static fromJson(t){const{prompts:e,regions:i,detectMultiple:r,removeShadow:n}=t,o=new this;return i&&o.region(...i.map((({x:t,y:e,width:i,height:r})=>new a.RectangleRegion(t,e,i,r)))),e&&o.prompt(...e),r&&o.detectMultiple(r),n&&o.removeShadow(n),o}}e.GenerativeRemove=s},54835:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(){super(),this._preserveGeometry=!1,this._detectMultiple=!1,this._actionModel.actionType="generativeReplace"}from(t){return this._from=t,this._actionModel.from=t,this}to(t){return this._to=t,this._actionModel.to=t,this}preserveGeometry(t=!0){return this._preserveGeometry=t,t&&(this._actionModel.preserveGeometry=!0),this}detectMultiple(t=!0){return this._detectMultiple=t,this._detectMultiple&&(this._actionModel.detectMultiple=this._detectMultiple),this}prepareQualifiers(){let t=`gen_replace:from_${this._from};to_${this._to}`;this._preserveGeometry&&(t+=";preserve-geometry_true"),this._detectMultiple&&(t+=";multiple_true"),this.addQualifier(new n.Qualifier("e",t))}static fromJson(t){const{from:e,to:i,preserveGeometry:r,detectMultiple:n}=t,o=new this;return o.from(e),o.to(i),r&&o.preserveGeometry(),n&&o.detectMultiple(),o}}e.GenerativeReplace=o},33830:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(){super(),this.qualifierValue=new o.QualifierValue,this.qualifierValue.delimiter=";"}byIndex(t){return this.qualifierValue.addValue(t),this}byRange(t,e){const i=new o.QualifierValue(t);return i.addValue(e),i.delimiter="-",this.qualifierValue.addValue(i),this}byName(t){return this.name=t,this.qualifierValue.addValue(t),this}prepareQualifiers(){let t=this.qualifierValue;return this.name&&(t=new o.QualifierValue(["name",this.qualifierValue]).setDelimiter(":")),this.addQualifier(new n.Qualifier("pg",t)),this}}e.GetLayerAction=a},86297:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{}e.GradientDirectionQualifierValue=n},58464:function(t,e){"use strict";function i(){return"symmetric"}function r(){return"symmetric_pad"}const n={symmetric:i,symmetricPad:r};e.GradientFade=n,e.symmetric=i,e.symmetricPad=r},79440:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(){super(...arguments),this._actionModel={actionType:"gradientFade"}}strength(t){return this._actionModel.strength=t,this._strength=t,this}type(t){return this._actionModel.type=t,this._type=t,this}horizontalStartPoint(t){return this._actionModel.horizontalStartPoint=t,this.addQualifier(new n.Qualifier("x",t))}verticalStartPoint(t){return this._actionModel.verticalStartPoint=t,this.addQualifier(new n.Qualifier("y",t))}prepareQualifiers(){let t="gradient_fade";this._type&&(t+=`:${this._type}`),this._strength&&(t+=`:${this._strength}`),this.addQualifier(new n.Qualifier("e",t))}static fromJson(t){const{actionType:e,verticalStartPoint:i,horizontalStartPoint:r,type:n,strength:o}=t,a=new this;return i&&a.verticalStartPoint(i),r&&a.horizontalStartPoint(r),n&&a.type(n),o&&a.strength(o),a}}e.GradientFadeEffectAction=o},77486:function(t,e,i){"use strict";var r=i(76085),n=i(80146);class o extends r.Qualifier{constructor(t){super("g",new n.QualifierValue(t))}}e.GravityQualifier=o},67602:function(t,e,i){"use strict";var r=i(58361);class n extends r.BaseSource{constructor(t){super(),this._publicID=t,this._qualifierModel={publicId:t,sourceType:"image"}}getOpenSourceString(t){const e=this.encodeAssetPublicID(this._publicID);return this._format?`${t}_${e}.${this._format.toString()}`:`${t}_${e}`}format(t){return this._format=t,this}toJson(){const t=super.toJson();return t.publicId&&this._format&&(t.publicId=`${t.publicId}.${this._format.toString()}`),t}static fromJson(t,e){const{publicId:i,transformation:r}=t,n=new this(i);return r&&n.transformation(e(r)),n}}e.ImageSource=n},68191:function(t,e,i){"use strict";var r=i(30455);class n extends r.Transformation{}e.ImageTransformation=n},1741:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(){super(),this._actionModel={actionType:"improve"}}mode(t){return this.modeValue=t,this._actionModel.mode=t,this}blend(t){return this.blendValue=t,this._actionModel.blend=t,this}prepareQualifiers(){const t=new n.QualifierValue(["improve",this.modeValue,this.blendValue]).setDelimiter(":");return this.addQualifier(new o.Qualifier("e",t)),this}static fromJson(t){const{mode:e,blend:i}=t,r=new this;return e&&r.mode(e),i&&r.blend(i),r}}e.ImproveAction=a},39762:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(63832);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"keyframeInterval"},this._actionModel.interval=t,this.addQualifier(new n.Qualifier("ki",o.toFloatAsString(t)))}static fromJson(t){const{interval:e}=t;return new this(e)}}var s=a;e.KeyframeIntervalsAction=s},64014:function(t,e,i){"use strict";var r=i(15157),n=i(50439),o=i(49780),a=i(76085),s=i(53958),u=i(82355),c=i(61583),l=i(14990),f=i(9631);class d extends r.Action{constructor(t){super(),this.source=t,this._actionModel={actionType:"overlay",source:t.toJson()}}setLayerType(t){return this.layerType=t,this._actionModel.actionType="u"===t?"underlay":"overlay",this}timeline(t){return this._timelinePosition=t,this._actionModel.timelinePosition=t.toJson(),this}position(t){return this._position=t,this._actionModel.position=t.toJson(),this}blendMode(t){this._blendMode=t;const[e,i]=`${t}`.replace("e_","").split(":");return this._actionModel.blendMode="anti_removal"===e?i?{blendModeType:"antiRemoval",level:i}:{blendModeType:"antiRemoval"}:{blendModeType:e},this}closeLayer(){var t,e,i,n;const s=(new r.Action).addFlag(new o.FlagQualifier("layer_apply"));return null===(t=this._position)||void 0===t||t.qualifiers.forEach((t=>{s.addQualifier(t)})),null===(e=this._position)||void 0===e||e.flags.forEach((t=>{s.addFlag(t)})),"string"===typeof this._blendMode?s.addQualifier(new a.Qualifier("e",this._blendMode)):null===(i=this._blendMode)||void 0===i||i.qualifiers.forEach((t=>{s.addQualifier(t)})),null===(n=this._timelinePosition)||void 0===n||n.qualifiers.forEach((t=>{s.addQualifier(t)})),s}openLayer(){return`${this.source.getOpenSourceString(this.layerType)}`}toString(){return[this.openLayer(),this.source.getTransformation()&&this.source.getTransformation().toString(),this.closeLayer()].filter((t=>t)).join("/")}static fromJson(t,e){const{source:i,actionType:r,position:o,timelinePosition:a,blendMode:d}=t,h=new this(s.createSourceFromModel(i,e)),p="overlay"===r?"l":"u";if(h.setLayerType(p),o&&h.position(function(t){const{offsetX:e,offsetY:i,tiled:r,allowOverflow:n,gravity:o}=t,a=new u.PositionQualifier;return e&&a.offsetX(e),i&&a.offsetY(i),r&&a.tiled(),null!=n&&a.allowOverflow(n),o&&a.gravity(c.createGravityFromModel(o)),a}(o)),a&&h.timeline(function(t){const{startOffset:e,endOffset:i,duration:r}=t,n=new l.TimelinePosition;return e&&n.startOffset(e),i&&n.endOffset(i),r&&n.duration(r),n}(a)),d){const t=f.ACTION_TYPE_TO_BLEND_MODE_MAP[d.blendModeType]||d.blendModeType;(null===d||void 0===d?void 0:d.level)?h.blendMode(new n.BlendModeQualifier(t,d.level)):h.blendMode(new n.BlendModeQualifier(t))}return h}}e.LayerAction=d},61553:function(t,e,i){"use strict";var r=i(22450),n=i(9631);class o extends r.SimpleEffectAction{constructor(t,e){super(t,e),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=n.EFFECT_MODE_TO_ACTION_TYPE_MAP[t]||t,e&&this.setLevel(e)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}}e.LeveledEffectAction=o},27381:function(t,e,i){"use strict";var r=i(61553);class n extends r.LeveledEffectAction{additionalIterations(t){this._actionModel.iterations=t;const e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}static fromJson(t){const{actionType:e,iterations:i}=t;return new this(e,i)}}e.LoopEffectAction=n},52600:function(t,e,i){"use strict";var r=i(61553),n=i(76085),o=i(80146),a=i(95362),s=i(9631);class u extends r.LeveledEffectAction{constructor(){super(...arguments),this._actionModel={actionType:"makeTransparent"}}tolerance(t){this._actionModel.tolerance=t;const e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}colorToReplace(t){return this._actionModel.color=t,this.addQualifier(new n.Qualifier("co",new o.QualifierValue(a.prepareColor(t))))}static fromJson(t){const{actionType:e,tolerance:i,color:r}=t,n=new this(s.ACTION_TYPE_TO_EFFECT_MODE_MAP[e],i);return i&&n.tolerance(i),r&&n.colorToReplace(r),n}}e.MakeTransparentEffectAction=u},67921:function(t,e,i){"use strict";var r=i(15157);class n extends r.Action{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}e.NamedRegion=n},3555:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this.addQualifier(new n.Qualifier("t",t))}}e.NamedTransformationAction=o},28883:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(t){super(),this._actionModel={actionType:"opacity"},this.level=t,this._actionModel.level=t,this.addQualifier(new n.Qualifier("o",t))}static fromJson(t){const{level:e}=t;return new this(e)}}e.OpacityAdjustAction=o},42305:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(95362);class s extends r.Action{constructor(){super(),this._actionModel={},this._actionModel.actionType="outline"}mode(t){return this._actionModel.mode=t,this._mode=t,this}width(t){return this._actionModel.width=t,this._width=t,this}blurLevel(t){return this._actionModel.blurLevel=t,this._blurLevel=t,this}color(t){return this._actionModel.color=t,this.addQualifier(new o.Qualifier("co",a.prepareColor(t)))}prepareQualifiers(){this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["outline",this._mode,this._width,this._blurLevel]).setDelimiter(":")))}static fromJson(t){const{actionType:e,mode:i,color:r,blurLevel:n,width:o}=t,a=new this;return i&&a.mode(i),r&&a.color(r),n&&a.blurLevel(n),o&&a.width(o),a}}e.EffectOutline=s},9093:function(t,e,i){"use strict";var r=i(76085),n=i(15157),o=i(62092);class a extends n.Action{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";if("_region"in this){this._region.qualifiers.forEach((t=>this.addQualifier(t))),"custom"===this._region.regionType&&this.addQualifier(new r.Qualifier("e",`pixelate_region${t}`)),"ocr_text"===this._region.regionType&&(this.addQualifier(new r.Qualifier("e",`pixelate_region${t}`)),this.addQualifier(new r.Qualifier("g","ocr_text"))),"faces"===this._region.regionType&&this.addQualifier(new r.Qualifier("e",`pixelate_faces${t}`))}else this.addQualifier(new r.Qualifier("e",`pixelate${t}`))}static fromJson(t){const{region:e,squareSize:i}=t,r=new this(i);return i&&r.squareSize(i),e&&"faces"===e.regionType&&r.region(o.faces()),e&&"custom"===e.regionType&&r.region(o.custom()),r}}e.Pixelate=a},82355:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(97096),a=i(25254);class s extends r.Action{constructor(){super(),this._actionModel={}}gravity(t){return this.addQualifier(t),this._actionModel.gravity=a.createGravityModel(t),this}tiled(){return this.addFlag(o.tiled()),this._actionModel.tiled=!0,this}allowOverflow(t=!0){return!1===t&&this.addFlag(o.noOverflow()),this._actionModel.allowOverflow=t,this}offsetX(t){return this.addQualifier(new n.Qualifier("x",t)),this._actionModel.offsetX=t,this}offsetY(t){return this.addQualifier(new n.Qualifier("y",t)),this._actionModel.offsetY=t,this}}e.PositionQualifier=s},58158:function(t,e,i){"use strict";var r=i(15157),n=i(63832);class o extends r.Action{constructor(){super(),this._actionModel={actionType:"preview"}}minimumSegmentDuration(t){return this._actionModel.minimumSegmentDuration=+t,this._minSeg=t,this}maximumSegments(t){return this._actionModel.maximumSegments=+t,this._maxSeg=t,this}duration(t){return this._actionModel.duration=+t,this._duration=t,this}toString(){return["e_preview",this._duration&&`duration_${n.toFloatAsString(this._duration)}`,this._maxSeg&&`max_seg_${this._maxSeg}`,this._minSeg&&`min_seg_dur_${n.toFloatAsString(this._minSeg)}`].filter((t=>t)).join(":")}static fromJson(t){const{duration:e,maximumSegments:i,minimumSegmentDuration:r}=t,n=new this;return null!=e&&n.duration(e),null!=i&&n.maximumSegments(i),null!=r&&n.minimumSegmentDuration(r),n}}e.PreviewAction=o},76085:function(t,e,i){"use strict";var r=i(80146),n=i(28373);class o extends n.QualifierModel{constructor(t,e){super(),this.delimiter="_",this.key=t,e instanceof r.QualifierValue?this.qualifierValue=e:(this.qualifierValue=new r.QualifierValue,this.qualifierValue.addValue(e))}toString(){const{key:t,delimiter:e,qualifierValue:i}=this;return`${t}${e}${i.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}e.Qualifier=o},28373:function(t,e,i){"use strict";var r=i(42055);function n(){return this._qualifierModel||{error:r.createUnsupportedError(`unsupported qualifier ${this.constructor.name}`)}}e.QualifierModel=class{constructor(){this._qualifierModel={}}toJson(){return n.apply(this)}}},80146:function(t,e){"use strict";e.QualifierValue=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return"undefined"!==typeof t&&null!==t&&""!==t}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter((t=>this.hasValue(t))),this}setDelimiter(t){return this.delimiter=t,this}}},75024:function(t,e,i){"use strict";var r=i(42055);e.RawAction=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:r.createUnsupportedError(`unsupported action ${this.constructor.name}`)}}}},94073:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085);class a extends r.Action{constructor(t){super(),this.matrix=t;const e=[];for(let r=0;rvoid 0!==t));return this._radius=s,this._actionModel.radius=s,this.addQualifier(new n.Qualifier("r").addValue(a)),this}max(){return this._radius="max",this._actionModel.radius="max",this.addQualifier(new n.Qualifier("r","max"))}getRadius(){return this._radius}static fromJson(t){const{radius:e}=t,i=new this;return Array.isArray(e)&&i.radius(e[0],e[1],e[2],e[3]),"max"===e&&i.max(),i}}var s=a;e.RoundCornersAction=s},47480:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(95362);class s extends r.Action{constructor(t,e){super(),this._actionModel={},this._actionModel.actionType=t,this.effectType=t,this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["shadow",e])))}strength(t){return this._actionModel.strength=t,this.addQualifier(new o.Qualifier("e",new n.QualifierValue(["shadow",t])))}offsetX(t){return this._actionModel.offsetX=t,this.addQualifier(new o.Qualifier("x",new n.QualifierValue(t)))}offsetY(t){return this._actionModel.offsetY=t,this.addQualifier(new o.Qualifier("y",new n.QualifierValue(t)))}color(t){return this._actionModel.color=t,this.addQualifier(new o.Qualifier("co",new n.QualifierValue(a.prepareColor(t))))}static fromJson(t){const{actionType:e,strength:i,offsetX:r,offsetY:n,color:o}=t,a=new this(e,i);return r&&a.offsetX(r),n&&a.offsetY(n),o&&a.color(o),a}}e.ShadowEffectAction=s},76925:function(t,e,i){"use strict";var r=i(15157);class n extends r.Action{constructor(t,e){super(),this.skewX(t),this.skewY(e)}skewX(t){return this._x=t,this}skewY(t){return this._y=t,this}toString(){return["e_shear",this._x,this._y].filter((t=>t)).join(":")}}e.ShearAction=n},22450:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(9631);class s extends r.Action{constructor(t,e){super(),this._actionModel={},this._actionModel.actionType=a.EFFECT_MODE_TO_ACTION_TYPE_MAP[t]||t;const i=this.createEffectQualifier(t,e);this.addQualifier(i)}createEffectQualifier(t,e){let i;return i=e?new n.QualifierValue([t,`${e}`]).setDelimiter(":"):new n.QualifierValue(t),new o.Qualifier("e",i)}static fromJson(t){const{actionType:e,level:i,strength:r}=t;return new this(a.ACTION_TYPE_TO_EFFECT_MODE_MAP[e]||e,i||r)}}e.SimpleEffectAction=s},6377:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(){super(),this._actionModel={},this._actionModel.actionType="simulateColorblind",this.addQualifier(new n.Qualifier("e","simulate_colorblind"))}setQualifier(t){const e=`:${t}`;return t&&this.addQualifier(new n.Qualifier("e",`simulate_colorblind${e}`)),this}condition(t){return this._actionModel.condition=t,this.setQualifier(t)}static fromJson(t){const{actionType:e,condition:i}=t,r=new this;return i&&r.condition(i),r}}e.SimulateColorBlindEffectAction=o},97947:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(){super(),this.qualifierValue=new o.QualifierValue,this.useName=!1,this.qualifierValue.delimiter=";"}byIndex(t){return this.smartObjectValue=t,this.qualifierValue.addValue(t),this}byLayerName(t){return this.useName=!0,this.qualifierValue.addValue(t),this}prepareQualifiers(){let t;t=this.useName?new o.QualifierValue(["embedded:name",this.qualifierValue]):new o.QualifierValue(["embedded",this.qualifierValue]),this.addQualifier(new n.Qualifier("pg",t))}}e.SmartObjectAction=a},18953:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(9631);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"streamingProfile"},this.addQualifier(new n.Qualifier("sp",t)),this._actionModel.profile=o.STREAMING_PROFILE_TO_ACTION_TYPE_MAP[t]||t}static fromJson(t){const{profile:e}=t;return new this(o.ACTION_TYPE_TO_STREAMING_PROFILE_MODE_MAP[e]||e)}}var s=a;e.StreamingProfileAction=s},20016:function(t,e,i){"use strict";var r=i(80146),n=i(15157),o=i(76085);class a extends n.Action{constructor(t){super(),this.imageSource=t}strength(t=null){return this.effectStrength=t,this}preserveColor(t=!0){return this.preserve=t,this}toString(){const t=this.preserve?"preserve_color":null,e=this.effectStrength,i=new o.Qualifier("e",new r.QualifierValue(["style_transfer",t,e])),n=this.imageSource.getOpenSourceString("l"),a=this.imageSource.getTransformation();return[n,a?a.toString():"",`${i},fl_layer_apply`].filter((t=>t)).join("/")}}e.StyleTransfer=a},73619:function(t,e,i){"use strict";var r=i(34823);class n extends r.BaseTextSource{constructor(t){super(t),this.type="subtitles",this._qualifierModel={sourceType:"subtitles",publicId:t}}textStyle(t){return this._textStyle=t,this._qualifierModel.textStyle=t.toJson(),this}encodeText(t){return t.replace(/\//g,":")}}e.SubtitlesSource=n},81888:function(t,e,i){"use strict";var r=i(34823),n=i(60063),o=i(8980);function a(t){const{fontFamily:e,fontSize:i,fontWeight:r,fontStyle:a,fontAntialias:s,fontHinting:u,textDecoration:c,textAlignment:l,stroke:f,letterSpacing:d,lineSpacing:h}=t,p=new n.TextStyle(e,i);return r&&p.fontWeight(r),a&&p.fontStyle(a),s&&p.fontAntialias(s),u&&p.fontHinting(u),c&&p.textDecoration(c),l&&p.textAlignment(l),f&&(p.stroke(),"boolean"!==typeof f&&p.stroke(o.solid(f.width,f.color))),d&&p.letterSpacing(d),h&&p.lineSpacing(h),p}class s extends r.BaseTextSource{constructor(t,e){super(t,e)}static fromJson(t,e){const{text:i,textStyle:r,textColor:n,backgroundColor:o,transformation:s}=t,u=new this(i,r?a(r):void 0);return s&&u.transformation(e(s)),n&&u.textColor(n),o&&u.backgroundColor(o),u}}e.TextSource=s},9346:function(t,e,i){"use strict";var r=i(76085),n=i(80146),o=i(15157);class a extends o.Action{constructor(t){super(),this.effectName="theme",this.color=t}photosensitivity(t){return this._photosensitivity=t,this}prepareQualifiers(){const t=this._photosensitivity?`:photosensitivity_${this._photosensitivity}`:"",e=`${this.effectName}:color_${this.color.replace("#","")}${t}`;this.addQualifier(new r.Qualifier("e",new n.QualifierValue(e)))}}e.ThemeEffect=a},13462:function(t,e,i){"use strict";var r=i(76085),n=i(52668);class o extends n.ResizeAdvancedAction{zoom(t){return this._actionModel.zoom=t,this.addQualifier(new r.Qualifier("z",t))}static fromJson(t){const e=super.fromJson.apply(this,[t]);return t.zoom&&e.zoom(t.zoom),e}}e.ThumbResizeAction=o},14990:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(){super(),this._actionModel={}}startOffset(t){const e=new n.Qualifier("so",t);return this.addQualifier(e),this._actionModel.startOffset=e.qualifierValue.toString(),this}endOffset(t){const e=new n.Qualifier("eo",t);return this.addQualifier(e),this._actionModel.endOffset=e.qualifierValue.toString(),this}duration(t){const e=new n.Qualifier("du",t);return this.addQualifier(e),this._actionModel.duration=e.qualifierValue.toString(),this}}e.TimelinePosition=o},74068:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(97096);class a extends r.Action{constructor(t=""){super(),this._actionModel={actionType:"toAnimated"},"webp"===t.toString()&&this.addFlag(o.animatedWebP()),this.addFlag(o.animated()),t&&this.addQualifier(new n.Qualifier("f",t)),this._actionModel.animatedFormat=t}delay(t){return this.addQualifier(new n.Qualifier("dl",t)),this._actionModel.delay=t,this}sampling(t){return this.addQualifier(new n.Qualifier("vs",t)),this._actionModel.sampling=t,this}static fromJson(t){const{animatedFormat:e,sampling:i,delay:r}=t,n=new this(e);return i&&n.sampling(i),r&&n.delay(r),n}}var s=a;e.ToAnimatedAction=s},30455:function(t,e,i){"use strict";var r=i(15157),n=i(27016),o=i(49780),a=i(75024),s=i(92227);class u{constructor(){this.actions=[]}addAction(t){let e;if("string"===typeof t){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";e=new a.RawAction(t)}else e=t;return this.actions.push(e),this}addTransformation(t){return t instanceof u?this.actions=this.actions.concat(t.actions):this.actions.push(new a.RawAction(t)),this}toString(){return this.actions.map((t=>t.toString())).filter((t=>t)).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new s.DeliveryFormatAction("q",t)),this}format(t){return this.addAction(new s.DeliveryFormatAction("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new n.BackgroundColor(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const e=new r.Action;let i=t;return"string"===typeof t&&(i=new o.FlagQualifier(t)),e.addQualifier(i),this.addAction(e)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const i of this.actions){const r=i.toJson();if("error"in(e=r)&&e.error)return r;t.push(r)}var e;return{actions:t}}}e.Transformation=u},44576:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{constructor(){super(),this._actionModel={actionType:"trimVideo"}}parseVal(t){return"number"===typeof t?t:t.replace("%","p")}startOffset(t){return this._actionModel.startOffset=a(t)||+t,this.addQualifier(new n.Qualifier("so",this.parseVal(t)))}endOffset(t){return this._actionModel.endOffset=a(t)||+t,this.addQualifier(new n.Qualifier("eo",this.parseVal(t)))}duration(t){return this._actionModel.duration=t,this.addQualifier(new n.Qualifier("du",this.parseVal(t)))}static fromJson(t){const{duration:e,startOffset:i,endOffset:r}=t,n=new this;return null!=e&&n.duration(e),null!=i&&n.startOffset(i),null!=r&&n.endOffset(r),n}}const a=t=>"auto"===t?t:null;var s=o;e.TrimAction=s},60441:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new o.QualifierValue(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new o.QualifierValue(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new o.QualifierValue(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new o.QualifierValue(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new o.QualifierValue(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new n.Qualifier("e",t))}static fromJson(t){const{actionType:e,paths:i,cornersLevel:r,despeckleLevel:n,detailLevel:o,numOfColors:a}=t,s=new this;return i&&s.paths(i),r&&s.cornersLevel(r),n&&s.despeckleLevel(n),o&&s.detailsLevel(o),a&&s.numOfColors(a),s}}e.VectorizeEffectAction=a},76954:function(t,e,i){"use strict";var r=i(15157),n=i(91321),o=i(3764);class a extends r.Action{constructor(t){super(),this._actionModel={actionType:"videoCodec"},this._actionModel.videoCodec={videoCodecName:t.getType()},t instanceof n.AdvVideoCodecType&&(t.getProfile()&&(this._actionModel.videoCodec=Object.assign({profile:t.getProfile()},this._actionModel.videoCodec)),t.getLevel()&&(this._actionModel.videoCodec=Object.assign({level:t.getLevel()},this._actionModel.videoCodec))),this.addQualifier(t)}static fromJson(t){const{videoCodec:e}=t,i=new this(o.VIDEO_CODEC_TO_TRANSFORMATION[e.videoCodecName]);return e.profile&&new this(o.VIDEO_CODEC_TO_TRANSFORMATION[e.videoCodecName].profile(e.profile)),e.level&&new this(o.VIDEO_CODEC_TO_TRANSFORMATION[e.videoCodecName].level(e.level)),i}}e.VideoCodecAction=a},91321:function(t,e,i){"use strict";var r=i(76085);class n extends r.Qualifier{constructor(t){super("vc"),this._type=t,this.addValue(t)}getType(){return this._type}}class o extends r.Qualifier{constructor(t){super("vc"),this._type=t}getType(){return this._type}profile(t){return this._prof=t,this}getProfile(){return this._prof}level(t){return this._lvl=t,this}getLevel(){return this._lvl}toString(){return`vc_${this._type}:${this._prof}:${this._lvl}`}}e.AdvVideoCodecType=o,e.VideoCodecType=n},79078:function(t,e,i){"use strict";var r=i(58361);class n extends r.BaseSource{constructor(t){super(),this._publicID=t,this._qualifierModel={publicId:t,sourceType:"video"}}getOpenSourceString(t){return`${t}_video:${this.encodeAssetPublicID(this._publicID)}`}static fromJson(t,e){const{publicId:i,transformation:r}=t,n=new this(i);return r&&n.transformation(e(r)),n}}e.VideoSource=n},56710:function(t,e,i){"use strict";var r=i(30455);class n extends r.Transformation{}e.VideoTransformation=n},89260:function(t,e,i){"use strict";var r=i(15157),n=i(76085);class o extends r.Action{noRedEye(){return this._noRedEye=!0,this}skinSaturation(t){return this._skinSaturation=!0,t&&(this._skinSaturationLevel=t),this}prepareQualifiers(){let t="viesus_correct";this._noRedEye&&(t+=":no_redeye"),this._skinSaturation&&(t+=":skin_saturation","undefined"!==typeof this._skinSaturationLevel&&(t+=`_${this._skinSaturationLevel}`)),this.addQualifier(new n.Qualifier("e",t))}}e.ViesusCorrectAdjustAction=o},23178:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(t){super();let e={mode:"mute"};"mute"!==t&&(e={mode:`${t}`.endsWith("db")?"decibels":"percent",value:+`${t}`.replace("db","")}),this._actionModel={actionType:"volume",volumeValue:e};const i=new o.QualifierValue(["volume",t]).setDelimiter(":");this.addQualifier(new n.Qualifier("e",i))}static fromJson(t){const{volumeValue:e}=t,{mode:i}=e;return new this(`${"mute"===i?i:e.value}${"mute"===i||"percent"===i?"":"db"}`)}}var s=a;e.VolumeAction=s},90778:function(t,e,i){"use strict";var r=i(92061),n=i(88730),o=i(78586),a=i(39848),s=i(44850),u=i(86407),c=i(7468),l=i(48349),f=i(7685),d=i(82795),h=i(77030),p=i(91430),g=i(28798),y=i(6018),m=i(39165),_=Object.freeze({__proto__:null,Resize:r.Resize,Border:n.Border,RoundCorners:o.RoundCorners,Effect:a.Effect,Rotate:s.Rotate,Adjust:u.Adjust,Overlay:c.Overlay,Underlay:l.Underlay,NamedTransformation:f.NamedTransformation,Delivery:d.Delivery,CustomFunction:h.CustomFunction,VideoEdit:p.VideoEdit,Transcode:g.Transcode,PSDTools:y.PSDTools,Animated:m.Animated});e.actions=_},51614:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(82795);i(92227),i(97096),i(49780),i(80146),i(76085),i(28373),i(42055),i(99664),i(15157),i(34442),i(9631),i(30910),i(70961),i(39214),i(75686),i(33903),i(86277),i(63832),e.Delivery=r.Delivery,e.colorSpace=r.colorSpace,e.colorSpaceFromICC=r.colorSpaceFromICC,e.defaultImage=r.defaultImage,e.density=r.density,e.dpr=r.dpr,e.format=r.format,e.quality=r.quality},22255:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(7468);i(64014),i(15157),i(49780),i(80146),i(76085),i(28373),i(42055),i(50439),i(53958),i(67602),i(58361),i(83291),i(34442),i(15663),i(79078),i(81888),i(34823),i(60063),i(59167),i(29370),i(20833),i(8980),i(95362),i(27239),i(82355),i(97096),i(25254),i(87271),i(77486),i(69268),i(61583),i(16406),i(17822),i(64863),i(14990),i(9631),e.Overlay=r.Overlay,e.source=r.source},64601:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(43454),n=i(46131),o=i(76925),a=i(94697),s=i(15157);i(76085),i(80146),i(28373),i(42055),i(49780);class u extends s.Action{colorSimilarity(t){return this._tolerance=t,this}colorOverride(t){return this._color=t,this}toString(){return["e_trim",this._tolerance,this._color].filter((t=>t)).join(":")}}function c(t){return new r.CutByImage(t)}function l(t){return new n.DistortArcAction(t)}function f(t){return new a.DistortAction(t)}function d(t,e){return new o.ShearAction(t,e)}function h(){return new u}const p={cutByImage:c,distortArc:l,distort:f,shear:d,trim:h};e.Reshape=p,e.cutByImage=c,e.distort=f,e.distortArc=l,e.shear=d,e.trim=h},56276:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(92061);i(31075),i(76085),i(80146),i(28373),i(42055),i(52668),i(2499),i(15157),i(49780),i(63832),i(16245),i(97096),i(9631),i(25254),i(87271),i(77486),i(69268),i(61583),i(16406),i(17822),i(64863),i(51927),i(18694),i(30079),i(66446),i(95362),i(13004),i(55259),i(56043),i(91515),i(6077),i(62375),i(13462),i(43924),i(3706),i(97269),i(82760),i(19963),i(22638),e.Resize=r.Resize,e.auto=r.auto,e.autoPad=r.autoPad,e.crop=r.crop,e.fill=r.fill,e.fillPad=r.fillPad,e.fit=r.fit,e.imaggaCrop=r.imaggaCrop,e.imaggaScale=r.imaggaScale,e.limitFill=r.limitFill,e.limitFit=r.limitFit,e.limitPad=r.limitPad,e.minimumFit=r.minimumFit,e.minimumPad=r.minimumPad,e.pad=r.pad,e.scale=r.scale,e.thumbnail=r.thumbnail},86407:function(t,e,i){"use strict";var r=i(76676),n=i(94073),o=i(28883),a=i(41030),s=i(1741),u=i(78378),c=i(13599),l=i(8068),f=i(23538),d=i(89260),h=i(22450);function p(t=""){return new h.SimpleEffectAction("tint",t)}function g(t){return new c.EffectActionWithLevel("brightness",t)}function y(){return new d.ViesusCorrectAdjustAction}function m(t){return new c.EffectActionWithLevel("red",t)}function _(t){return new l.EffectActionWithStrength("sharpen",t)}function v(t){return new c.EffectActionWithLevel("saturation",t)}function A(t){return new c.EffectActionWithLevel("contrast",t)}function E(t){return new c.EffectActionWithLevel("gamma",t)}function w(t){return new c.EffectActionWithLevel("blue",t)}function R(t){return new c.EffectActionWithLevel("brightness_hsb",t)}function b(t){return new c.EffectActionWithLevel("opacity_threshold",t)}function O(t){return new f.EffectActionWithBlend("auto_color",t)}function S(t){return new f.EffectActionWithBlend("auto_brightness",t)}function M(t){return new c.EffectActionWithLevel("hue",t)}function T(t){return new c.EffectActionWithLevel("green",t)}function Q(t){return new l.EffectActionWithStrength("unsharp_mask",t)}function L(t){return new l.EffectActionWithStrength("vibrance",t)}function C(t){return new f.EffectActionWithBlend("auto_contrast",t)}function x(t){return new o.OpacityAdjustAction(t)}function F(){return new s.ImproveAction}function I(t){return new u.ReplaceColorAction(t)}function D(t){return new n.RecolorAction(t)}function k(){return new r.FillLightAction}function G(t){return new a.By3dLutAction(t)}const P={brightness:g,viesusCorrect:y,opacity:x,red:m,sharpen:_,improve:F,saturation:v,contrast:A,gamma:E,green:T,blue:w,brightnessHSB:R,hue:M,autoBrightness:S,autoColor:O,autoContrast:C,vibrance:L,unsharpMask:Q,opacityThreshold:b,replaceColor:I,recolor:D,fillLight:k,by3dLut:G,tint:p};e.Adjust=P,e.autoBrightness=S,e.autoColor=O,e.autoContrast=C,e.blue=w,e.brightness=g,e.brightnessHSB=R,e.by3dLut=G,e.contrast=A,e.fillLight=k,e.gamma=E,e.green=T,e.hue=M,e.improve=F,e.opacity=x,e.opacityThreshold=b,e.recolor=D,e.red=m,e.replaceColor=I,e.saturation=v,e.sharpen=_,e.tint=p,e.unsharpMask=Q,e.vibrance=L,e.viesusCorrect=y},39165:function(t,e,i){"use strict";var r=i(15157),n=i(76085),o=i(80146);class a extends r.Action{constructor(){super()}delay(t){return this.addQualifier(new n.Qualifier("dl",t)),this}loop(t){const e=new o.QualifierValue(["loop",t]).setDelimiter(":");return this.addQualifier(new n.Qualifier("e",e)),this}}function s(){return new a}const u={edit:s};e.Animated=u,e.AnimatedAction=a,e.edit=s},21115:function(t,e,i){"use strict";var r=i(45348);function n(){return new r.AnimatedFormatQualifierValue("auto")}function o(){return new r.AnimatedFormatQualifierValue("gif")}function a(){return new r.AnimatedFormatQualifierValue("webp")}function s(){return new r.AnimatedFormatQualifierValue("png")}const u={auto:n,gif:o,webp:a,png:s};e.AnimatedFormat=u,e.auto=n,e.gif=o,e.png=s,e.webp=a},54543:function(t,e){"use strict";function i(){return"al_dente"}function r(){return"athena"}function n(){return"audrey"}function o(){return"aurora"}function a(){return"daguerre"}function s(){return"eucalyptus"}function u(){return"fes"}function c(){return"frost"}function l(){return"hairspray"}function f(){return"hokusai"}function d(){return"incognito"}function h(){return"linen"}function p(){return"peacock"}function g(){return"primavera"}function y(){return"quartz"}function m(){return"red_rock"}function _(){return"refresh"}function v(){return"sizzle"}function A(){return"sonnet"}function E(){return"ukulele"}function w(){return"zorro"}const R={alDente:i,athena:r,audrey:n,aurora:o,daguerre:a,eucalyptus:s,hairspray:l,hokusai:f,peacock:p,primavera:g,quartz:y,incognito:d,redRock:m,sizzle:v,fes:u,linen:h,refresh:_,sonnet:A,ukulele:E,frost:c,zorro:w};e.ArtisticFilter=R,e.alDente=i,e.athena=r,e.audrey=n,e.aurora=o,e.daguerre=a,e.eucalyptus=s,e.fes=u,e.frost=c,e.hairspray=l,e.hokusai=f,e.incognito=d,e.linen=h,e.peacock=p,e.primavera=g,e.quartz=y,e.redRock=m,e.refresh=_,e.sizzle=v,e.sonnet=A,e.ukulele=E,e.zorro=w},63632:function(t,e,i){"use strict";var r=i(16245),n=i(97096);function o(){return new r.AspectRatioQualifierValue("1:1")}function a(){return new r.AspectRatioQualifierValue("5:4")}function s(){return new r.AspectRatioQualifierValue("4:3")}function u(){return new r.AspectRatioQualifierValue("3:2")}function c(){return new r.AspectRatioQualifierValue("16:9")}function l(){return new r.AspectRatioQualifierValue("3:1")}function f(){return n.ignoreInitialAspectRatio()}const d={ar1X1:o,ar5X4:a,ar3X1:l,ar3X2:u,ar4X3:s,ar16X9:c,ignoreInitialAspectRatio:f};e.AspectRatio=d,e.ar16X9=c,e.ar1X1=o,e.ar3X1=l,e.ar3X2=u,e.ar4X3=s,e.ar5X4=a,e.ignoreInitialAspectRatio=f},9447:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(49171),n=i(9746),o=i(89670);i(56278),i(11011),i(81816),i(54908),i(92752),i(81312),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687);var a={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},s=function(){function t(t,e,i){void 0===e&&(e={}),this.setPublicID(t),this.setCloudConfig(e),this.setURLConfig(i)}return t.prototype.setURLConfig=function(t){return this.urlConfig=new n(t),this},t.prototype.setCloudConfig=function(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this},t.prototype.setPublicID=function(t){return this.publicID=t?t.toString():"",this},t.prototype.setDeliveryType=function(t){return this.deliveryType=t,this},t.prototype.setSuffix=function(t){return this.suffix=t,this},t.prototype.setSignature=function(t){return this.signature=t,this},t.prototype.setVersion=function(t){return t&&(this.version=t),this},t.prototype.setAssetType=function(t){return t&&(this.assetType=t),this},t.prototype.sign=function(){return this},t.prototype.toURL=function(t){return void 0===t&&(t={}),this.createCloudinaryURL(null,t.trackedAnalytics)},t.prototype.validateAssetForURLCreation=function(){if("undefined"===typeof this.cloudName)throw"You must supply a cloudName when initializing the asset";var t=this.suffix&&this.suffix.indexOf(".")>=0,e=this.suffix&&this.suffix.indexOf("/")>=0;if(t||e)throw"`suffix`` should not include . or /"},t.prototype.getResourceType=function(){var t=r.handleAssetType(this.assetType),e=r.handleDeliveryType(this.deliveryType),i=!!this.suffix,n="".concat(t,"/").concat(e),o=a["".concat(t,"/").concat(e)],s=this.urlConfig.useRootPath,u=this.urlConfig.shorten;if(s){if("image/upload"===n)return"";throw new Error("useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ".concat(n," instead"))}if(u&&"image/upload"===n)return"iu";if(i){if(o)return o;throw new Error("URL Suffix only supported for ".concat(Object.keys(a).join(", "),", Provided: ").concat(n," instead"))}return n},t.prototype.getSignature=function(){return this.signature?"s--".concat(this.signature,"--"):""},t.prototype.createCloudinaryURL=function(t,e){if(!this.publicID)return"";this.validateAssetForURLCreation();var i=r.getUrlPrefix(this.cloudName,this.urlConfig),n=t?t.toString():"",a=r.getUrlVersion(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if("string"===typeof t)return[i,this.getResourceType(),this.getSignature(),n,a,s.replace(/,/g,"%2C"),this.suffix].filter((function(t){return t})).join("/");var u=[encodeURI(i),this.getResourceType(),this.getSignature(),encodeURI(n),a,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter((function(t){return t})).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),c=!1!==this.urlConfig.analytics&&!s.includes("?"),l="";if("object"===typeof this.urlConfig.queryParams)try{var f=new URLSearchParams(this.urlConfig.queryParams);c&&f.set("_a",o.getSDKAnalyticsSignature(e)),l=f.toString()}catch(d){console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else l=this.urlConfig.queryParams||"",c&&(l+="".concat(l.length>0?"&":"","_a=").concat(o.getSDKAnalyticsSignature(e)));return l?"".concat(u,"?").concat(l):u},t}();e.CloudinaryFile=s,e.SEO_TYPES=a},40028:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(54908),n=i(68191),o=i(8689);i(30455),i(15157),i(49780),i(80146),i(76085),i(28373),i(42055),i(27016),i(95362),i(75024),i(92227),i(97096),i(99664),i(34442),i(9631),i(30910),i(9447),i(49171),i(56278),i(11011),i(81816),i(9746),i(92752),i(81312),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687);var a=function(t){function e(e,i,r){return t.call(this,e,i,r,new n.ImageTransformation)||this}return r.__extends(e,t),e}(o.CloudinaryTransformable);e.CloudinaryImage=a},4403:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(54908),n=i(8689),o=i(71235),a=i(30455);i(9447),i(49171),i(56278),i(11011),i(81816),i(9746),i(92752),i(81312),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687),i(92227),i(97096),i(49780),i(80146),i(76085),i(28373),i(42055),i(99664),i(15157),i(34442),i(9631),i(30910),i(27016),i(95362),i(75024);var s=function(t){function e(e,i,r){return t.call(this,e,i,r,new a.Transformation)||this}return r.__extends(e,t),e.prototype.transcode=function(t){return this.transformation.transcode(t),this},e.prototype.videoEdit=function(t){return this.transformation.videoEdit(t),this},e.prototype.underlay=function(t){return this.transformation.underlay(t),this},e.prototype.clone=function(){return o.cloneDeep(this)},e}(n.CloudinaryTransformable);e.CloudinaryMedia=s},8689:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(54908),n=i(9447),o=i(92227);i(49171),i(56278),i(11011),i(81816),i(9746),i(92752),i(81312),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687),i(97096),i(49780),i(80146),i(76085),i(28373),i(42055),i(99664),i(15157),i(34442),i(9631),i(30910);var a=function(t){function e(e,i,r,n){var o=t.call(this,e,i,r)||this;return o.transformation=n,o}return r.__extends(e,t),e.prototype.animated=function(t){return this.transformation.animated(t),this},e.prototype.border=function(t){return this.transformation.border(t),this},e.prototype.reshape=function(t){return this.transformation.reshape(t),this},e.prototype.resize=function(t){return this.transformation.resize(t),this},e.prototype.quality=function(t){return this.addAction(new o.DeliveryFormatAction("q",t)),this},e.prototype.format=function(t){return this.addAction(new o.DeliveryFormatAction("f",t)),this},e.prototype.roundCorners=function(t){return this.transformation.roundCorners(t),this},e.prototype.overlay=function(t){return this.transformation.overlay(t),this},e.prototype.addVariable=function(t){return this.transformation.addVariable(t),this},e.prototype.conditional=function(t){return this.transformation.conditional(t),this},e.prototype.effect=function(t){return this.transformation.effect(t),this},e.prototype.adjust=function(t){return this.transformation.adjust(t),this},e.prototype.rotate=function(t){return this.transformation.rotate(t),this},e.prototype.namedTransformation=function(t){return this.transformation.namedTransformation(t),this},e.prototype.delivery=function(t){return this.transformation.delivery(t),this},e.prototype.backgroundColor=function(t){return this.transformation.backgroundColor(t),this},e.prototype.psdTools=function(t){return this.transformation.psdTools(t),this},e.prototype.extract=function(t){return this.transformation.extract(t),this},e.prototype.addFlag=function(t){return this.transformation.addFlag(t),this},e.prototype.customFunction=function(t){return this.transformation.customFunction(t),this},e.prototype.addAction=function(t){return this.transformation.addAction(t),this},e.prototype.addTransformation=function(t){return this.transformation.addTransformation(t),this},e.prototype.toString=function(){return this.transformation.toString()},e.prototype.underlay=function(t){return this.transformation.underlay(t),this},e.prototype.toURL=function(t){return void 0===t&&(t={}),this.createCloudinaryURL(this.transformation,null===t||void 0===t?void 0:t.trackedAnalytics)},e}(n.CloudinaryFile);e.CloudinaryTransformable=a},87408:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(54908),n=i(8689),o=i(56710);i(9447),i(49171),i(56278),i(11011),i(81816),i(9746),i(92752),i(81312),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687),i(92227),i(97096),i(49780),i(80146),i(76085),i(28373),i(42055),i(99664),i(15157),i(34442),i(9631),i(30910),i(30455),i(27016),i(95362),i(75024);var a=function(t){function e(e,i,r){var n=t.call(this,e,i,r,new o.VideoTransformation)||this;return n.assetType="video",n}return r.__extends(e,t),e.prototype.transcode=function(t){return this.transformation.transcode(t),this},e.prototype.videoEdit=function(t){return this.transformation.videoEdit(t),this},e}(n.CloudinaryTransformable);e.CloudinaryVideo=a},19760:function(t,e){"use strict";function i(){return"none"}function r(){return"aac"}function n(){return"vorbis"}function o(){return"mp3"}function a(){return"opus"}const s={aac:r,mp3:o,opus:a,none:i,vorbis:n};e.AudioCodec=s,e.aac=r,e.mp3=o,e.none=i,e.opus=a,e.vorbis=n},75604:function(t,e){"use strict";function i(){return"iaf"}function r(){return 192e3}function n(){return 176400}function o(){return 96e3}function a(){return 88200}function s(){return 48e3}function u(){return 8e3}function c(){return 11025}function l(){return 16e3}function f(){return 22050}function d(){return 32e3}function h(){return 37800}function p(){return 44056}function g(){return 44100}function y(){return 47250}const m={FREQ8000:u,FREQ11025:c,FREQ16000:l,FREQ22050:f,FREQ32000:d,FREQ37800:h,FREQ44056:p,FREQ44100:g,FREQ47250:y,FREQ48000:s,FREQ88200:a,FREQ96000:o,FREQ176400:n,FREQ192000:r,ORIGINAL:i};e.AudioFrequency=m,e.FREQ11025=c,e.FREQ16000=l,e.FREQ176400=n,e.FREQ192000=r,e.FREQ22050=f,e.FREQ32000=d,e.FREQ37800=h,e.FREQ44056=p,e.FREQ44100=g,e.FREQ47250=y,e.FREQ48000=s,e.FREQ8000=u,e.FREQ88200=a,e.FREQ96000=o,e.ORIGINAL=i},17822:function(t,e,i){"use strict";var r=i(80146);class n extends r.QualifierValue{constructor(t,e){super(),this._weight=e,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,e){return new n(t,e)}shouldAddWeight(){return"number"===typeof this._weight||"string"===typeof this._weight||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}const o=n.focusOn;e.AutoFocus=n,e.focusOn=o},6077:function(t,e,i){"use strict";var r=i(95362),n=i(30079),o=i(13004),a=i(91515),s=i(56043),u=i(51927),c=i(18694);class l extends c.BackgroundQualifier{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return"b_gen_fill"+(this._prompt?`:prompt_${this._prompt}`:"")}}function f(){return new n.BackgroundAutoBorderQualifier}function d(){return new c.BackgroundQualifier("auto")}function h(){return new o.BackgroundBorderGradientQualifier}function p(){return new s.BackgroundPredominantGradientQualifier}function g(){return new a.BackgroundAutoPredominantQualifier}function y(t){return new c.BackgroundQualifier(r.prepareColor(t))}function m(){return new u.BlurredBackgroundAction}function _(){return new l}const v={auto:d,border:f,borderGradient:h,predominantGradient:p,predominant:g,color:y,blurred:m,generativeFill:_};e.Background=v,e.BackgroundGenerativeFillQualifier=l,e.auto=d,e.blurred=m,e.border=f,e.borderGradient=h,e.color=y,e.generativeFill=_,e.predominant=g,e.predominantGradient=p},81461:function(t,e,i){"use strict";var r=i(54908),n=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype.height=function(t,e){return this.predicate("h",t,e)},e.prototype.width=function(t,e){return this.predicate("w",t,e)},e.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)},e.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},e.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},e.prototype.duration=function(t,e){return this.predicate("du",t,e)},e.prototype.initialDuration=function(t,e){return this.predicate("idu",t,e)},e}(i(5797));t.exports=n},49233:function(t,e,i){"use strict";var r=i(34406);Object.defineProperty(e,"__esModule",{value:!0});var n=i(71235),o=i(74999),a=function(){function t(t){this.configuration=null==t?{}:n.cloneDeep(t),function(t){for(var e=[],i=1;i":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},e.LEGACY_PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",initial_duration:"idu",initialDuration:"idu",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},e.NUMBER_PATTERN=r,e.OFFSET_ANY_PATTERN=n,e.OFFSET_ANY_PATTERN_RE=a,e.OLD_AKAMAI_SHARED_CDN="cloudinary-a.akamaihd.net",e.RANGE_VALUE_RE=o,e.SHARED_CDN="res.cloudinary.com"},28476:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(40229),n=i(27799),o=i(71831),a=i(51355),s=i(71235);i(11167),i(74999),i(11741),i(59948),i(26496),i(55804),i(54908),i(69140),i(23975),i(19328),i(32258),i(80038),i(31068),i(90998),i(68438),i(88018),i(30568),i(99598),i(95595),i(92934),i(76893),i(81461),i(5797),i(49233),i(84079),i(20378),i(59063),i(58392),i(2778),i(89639),e.createCloudinaryLegacyURL=function(t,e){var i,u,c;"fetch"===e.type&&null==e.fetch_format&&(e.fetch_format=e.format);var l=e.type,f=e.resource_type||"image",d=e.version,h="boolean"!==typeof e.force_version||e.force_version;e.long_url_signature;var p=e.format,g=e.cloud_name;if(!g)throw"cloud_name must be provided in the configuration";var y=e.private_cdn,m=e.secure_distribution,_=e.secure,v=e.cdn_subdomain,A=e.secure_cdn_subdomain,E=e.cname,w=e.shorten,R=e.sign_url;e.api_secret;var b=e.url_suffix,O=e.use_root_path,S=e.auth_token,M=/^(image|raw)\/([a-z0-9_]+)\/v(\d+)\/([^#]+)$/.exec(t);M&&(f=M[1],l=M[2],d=M[3],t=M[4]);var T=t;if(null==t)return T;if(t=t.toString(),null===l&&t.match(/^https?:\//i))return T;f=(i=n.finalize_resource_type(f,l,b,O,w))[0],l=i[1],t=(u=o.finalize_source(t,p,b))[0],c=u[1],null==d&&h&&c.indexOf("/")>=0&&!c.match(/^v[0-9]+/)&&!c.match(/^https?:\//)&&(d=1),d=null!=d?"v".concat(d):null;var Q=r.generateTransformationString(s.cloneDeep(e)).replace(/([^:])\/\//g,"$1/");if(R&&!S){var L=[Q,c].filter((function(t){return null!=t&&""!==t})).join("/");try{for(var C=0;L!==decodeURIComponent(L)&&C<10;C++)L=decodeURIComponent(L)}catch(x){}}return[a.unsigned_url_prefix(t,g,y,v,A,E,_,m),f,l,Q,d,t].filter((function(t){return null!=t&&""!==t})).join("/").replace(" ","%20")}},5797:function(t){"use strict";var e=function(){function t(e){this.expressions=[],null!=e&&this.expressions.push(t.normalize(e))}return t.new=function(t){return new this(t)},t.normalize=function(t){var e,n,o;return null==t?t:(t=String(t),"\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^","((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))",e=new RegExp("((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))","g"),t=t.replace(e,(function(t){return i[t]})),n="("+Object.keys(r).join("|")+")",o=new RegExp(n,"g"),(t=t.replace(o,(function(e,i,n){return"$"===t[n-1]?e:r[e]}))).replace(/[ _]+/g,"_"))},t.prototype.serialize=function(){return t.normalize(this.expressions.join("_"))},t.prototype.toString=function(){return this.serialize()},t.prototype.getParent=function(){return this.parent},t.prototype.setParent=function(t){return this.parent=t,this},t.prototype.predicate=function(t,e,r){return null!=i[e]&&(e=i[e]),this.expressions.push("".concat(t,"_").concat(e,"_").concat(r)),this},t.prototype.and=function(){return this.expressions.push("and"),this},t.prototype.or=function(){return this.expressions.push("or"),this},t.prototype.then=function(){return this.getParent().if(this.toString())},t.prototype.height=function(t,e){return this.predicate("h",t,e)},t.prototype.width=function(t,e){return this.predicate("w",t,e)},t.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)},t.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},t.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},t.prototype.value=function(t){return this.expressions.push(t),this},t.variable=function(t,e){return new this(t).value(e)},t.width=function(){return new this("width")},t.height=function(){return new this("height")},t.initialWidth=function(){return new this("initialWidth")},t.initialHeight=function(){return new this("initialHeight")},t.aspectRatio=function(){return new this("aspectRatio")},t.initialAspectRatio=function(){return new this("initialAspectRatio")},t.pageCount=function(){return new this("pageCount")},t.faceCount=function(){return new this("faceCount")},t.currentPage=function(){return new this("currentPage")},t.tags=function(){return new this("tags")},t.pageX=function(){return new this("pageX")},t.pageY=function(){return new this("pageY")},t}(),i={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},r={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp","preview:duration":"preview:duration",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_duration:"idu",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"};t.exports=e},40229:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(11167),n=i(80038),o=i(90998),a=i(68438),s=i(74999),u=i(88018),c=i(30568),l=i(99598),f=i(31068),d=i(95595),h=i(92934),p=i(76893),g=i(89639),y=i(32258);function m(t){if("string"===typeof t)return t;if(t instanceof p.default)return t.toString();if(Array.isArray(t))return t.map((function(t){return m(t)})).filter((function(t){return t})).join("/");var e,i,_=t.size,v=t.overlay||t.underlay,A=t.crop,E=o.toArray(t.angle).join("."),w=(t.background||"").replace(/^#/,"rgb:"),R=(t.color||"").replace(/^#/,"rgb:"),b=o.toArray(t.flags||[]).join("."),O=void 0===t.dpr?t.dpr:g.processDpr(t.dpr),S=r.processLayer(t.overlay),M=a.processRadius(t.radius),T=r.processLayer(t.underlay),Q=n.process_if(t.if),L=u.processCustomFunction(t.custom_function),C=c.processCustomPreFunction(t.custom_pre_function),x=t.fps,F=[],I=o.toArray(t.transformation||[]),D=t.effect,k=v||E||"fit"===A||"limit"===A;if(_){var G=_.split("x");e=G[0],i=G[1]}else e=t.width,i=t.height;e&&(0===e.toString().indexOf("auto")||k||parseFloat(e.toString())<1)&&delete t.width,i&&(k||parseFloat(i.toString())<1)&&delete t.height,I.some((function(t){return"object"===typeof t}))?I=I.map((function(t){return s.isObject(t)?m(t):m({transformation:t})})).filter((function(t){return t})):(F=I.join("."),I=[]),Array.isArray(D)?D=D.join(":"):s.isObject(D)&&(D=Object.entries(D).map((function(t){var e=t[0],i=t[1];return"".concat(e,":").concat(i)})));var P=t.border;s.isObject(P)?P="".concat(null!=P.width?P.width:2,"px_solid_").concat((null!=P.color?P.color:"black").replace(/^#/,"rgb:")):/^\d+$/.exec(P)&&(t.border=P,P=void 0),Array.isArray(x)&&(x=x.join("-"));var V={a:f.legacyNormalizeExpression(E),ar:f.legacyNormalizeExpression(t.aspect_ratio),b:w,bo:P,c:A,co:R,dpr:f.legacyNormalizeExpression(O),e:f.legacyNormalizeExpression(D),fl:b,fn:L||C,fps:x,h:f.legacyNormalizeExpression(i),ki:f.legacyNormalizeExpression(t.keyframe_interval),l:S,o:f.legacyNormalizeExpression(t.opacity),q:f.legacyNormalizeExpression(t.quality),r:M,t:F,u:T,w:f.legacyNormalizeExpression(e),x:f.legacyNormalizeExpression(t.x),y:f.legacyNormalizeExpression(t.y),z:f.legacyNormalizeExpression(t.zoom),ac:t.audio_codec,af:t.audio_frequency,br:t.bit_rate,cs:t.color_space,d:t.default_image,dl:t.delay,dn:t.density,du:d.normRangeValues(t.duration),eo:d.normRangeValues(t.end_offset||y.isNumberLike(t.end_offset)?t.end_offset:l.splitRange(t.offset)[1]),f:t.fetch_format,g:t.gravity,pg:t.page,p:t.prefix,so:d.normRangeValues(t.start_offset||y.isNumberLike(t.start_offset)?t.start_offset:l.splitRange(t.offset)[0]),sp:t.streaming_profile,vc:h.processVideoParams(t.video_codec),vs:t.video_sampling},N=Object.entries(t).filter((function(t){var e=t[0];return t[1],e.startsWith("$")})).map((function(t){var e=t[0],i=t[1];return"".concat(e,"_").concat(f.legacyNormalizeExpression(i))})).sort().concat((t.variables||[]).map((function(t){var e=t[0],i=t[1];return"".concat(e,"_").concat(f.legacyNormalizeExpression(i))}))).join(","),Y=Object.entries(V).filter((function(t){t[0];var e=t[1];return"undefined"!==typeof e&&null!==e&&(("string"!==typeof e||0!==e.length)&&(!Array.isArray(e)||0!==e.length))})).map((function(t){var e=t[0],i=t[1];return"".concat(e,"_").concat(i)})).sort().join(","),j=[Q,N,Y,t.raw_transformation].filter((function(t){return t})).join(",");return j&&I.push(j),I.join("/")}i(11741),i(59948),i(26496),i(55804),i(54908),i(69140),i(23975),i(19328),i(81461),i(5797),i(49233),i(71235),i(84079),i(20378),i(59063),i(58392),i(2778);var _=m;e.generateTransformationString=m,e.transformationStringFromObject=_},59063:function(t,e,i){"use strict";var r=i(54908),n=i(69140),o=i(58392),a=i(11741);i(23975);var s=function(t){function e(e){var i=t.call(this,e)||this;return o.isString(e)?i.options.url=e:(null!=e?e.url:void 0)&&(i.options.url=e.url),i}return r.__extends(e,t),e.prototype.url=function(t){return this.options.url=t,this},e.prototype.toString=function(){return"fetch:".concat(a.base64Encode(this.options.url))},e}(n);t.exports=s},69140:function(t,e,i){"use strict";var r=i(23975),n=function(){function t(t){var e=this;this.options={},null!=t&&["resourceType","type","publicId","format"].forEach((function(i){var n;return e.options[i]=null!=(n=t[i])?n:t[r.snakeCase(i)]}))}return t.prototype.resourceType=function(t){return this.options.resourceType=t,this},t.prototype.type=function(t){return this.options.type=t,this},t.prototype.publicId=function(t){return this.options.publicId=t,this},t.prototype.getPublicId=function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0},t.prototype.getFullPublicId=function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()},t.prototype.format=function(t){return this.options.format=t,this},t.prototype.toString=function(){var t=[];if(null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.push(this.getFullPublicId()),t.filter((function(t){return!!t})).join(":")},t.prototype.clone=function(){return new t(this.options)},t}();t.exports=n},20378:function(t,e,i){"use strict";var r=i(54908),n=i(55804);i(69140),i(23975),i(19328),i(26496),i(32258);var o=function(t){function e(e){var i=t.call(this,e)||this;return i.options.resourceType="subtitles",i}return r.__extends(e,t),e}(n);t.exports=o},55804:function(t,e,i){"use strict";var r=i(54908),n=i(69140),o=i(23975),a=i(19328),s=i(26496),u=i(32258),c=function(t){function e(e){var i=this;return i=t.call(this,e)||this,null!=e&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","fontHinting","fontAntialiasing","text"].forEach((function(t){var r;return i.options[t]=null!=(r=e[t])?r:e[o.snakeCase(t)]})),i.options.resourceType="text",i}return r.__extends(e,t),e.prototype.resourceType=function(t){throw"Cannot modify resourceType for text layers"},e.prototype.type=function(t){throw"Cannot modify type for text layers"},e.prototype.format=function(t){throw"Cannot modify format for text layers"},e.prototype.fontFamily=function(t){return this.options.fontFamily=t,this},e.prototype.fontSize=function(t){return this.options.fontSize=t,this},e.prototype.fontWeight=function(t){return this.options.fontWeight=t,this},e.prototype.fontStyle=function(t){return this.options.fontStyle=t,this},e.prototype.textDecoration=function(t){return this.options.textDecoration=t,this},e.prototype.textAlign=function(t){return this.options.textAlign=t,this},e.prototype.stroke=function(t){return this.options.stroke=t,this},e.prototype.letterSpacing=function(t){return this.options.letterSpacing=t,this},e.prototype.lineSpacing=function(t){return this.options.lineSpacing=t,this},e.prototype.fontHinting=function(t){return this.options.fontHinting=t,this},e.prototype.fontAntialiasing=function(t){return this.options.fontAntialiasing=t,this},e.prototype.text=function(t){return this.options.text=t,this},e.prototype.toString=function(){var t,e,i,r,n,o,u,c,l;if(u=this.textStyleIdentifier(),null!=this.options.publicId&&(i=this.getFullPublicId()),null!=this.options.text){if(t=!a.isEmpty(i),e=!a.isEmpty(u),t&&e||!t&&!e)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";for(r=/\$\([a-zA-Z]\w*\)/g,o=0,l=s.smartEscape(this.options.text,/[,\/]/g),c="";n=r.exec(l);)c+=s.smartEscape(l.slice(o,n.index)),c+=n[0],o=n.index+n[0].length;c+=s.smartEscape(l.slice(o))}return[this.options.resourceType,u,i,c].filter((function(t){return!!t})).join(":")},e.prototype.textStyleIdentifier=function(){var t;if(t=[],"normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),a.isEmpty(this.options.letterSpacing)&&!u.isNumberLike(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),a.isEmpty(this.options.lineSpacing)&&!u.isNumberLike(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),a.isEmpty(this.options.fontAntialiasing)||t.push("antialias_"+this.options.fontAntialiasing),a.isEmpty(this.options.fontHinting)||t.push("hinting_"+this.options.fontHinting),!a.isEmpty(t.filter((function(t){return!!t})))){if(a.isEmpty(this.options.fontFamily))throw"Must supply fontFamily. ".concat(t);if(a.isEmpty(this.options.fontSize)&&!u.isNumberLike(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=t.filter((function(t){return!!t})).join("_")},e}(n);t.exports=c},76893:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(54908),n=i(81461),o=i(49233),a=i(71235),s=i(84079),u=i(23975),c=i(5797),l=i(69140),f=i(55804),d=i(20378),h=i(59063),p=i(74999),g=i(58392),y=i(19328),m=i(2778);i(26496),i(32258),i(11741);var _=["accessibility","api_secret","auth_token","cdn_subdomain","cloud_name","cname","format","placeholder","private_cdn","resource_type","secure","secure_cdn_subdomain","secure_distribution","shorten","sign_url","signature","ssl_detected","type","url_suffix","use_root_path","version"];function v(t){for(var e=[],i=1;i=1&&null==i.width&&(i.width=a),parseFloat(e)>=1&&null==i.height&&(i.height=e)),i},t.isValidParamName=function(t){return F.indexOf(s.camelCase(t))>=0},t.prototype.toHtml=function(){var t;return null!=(t=this.getParent())&&"function"===typeof t.toHtml?t.toHtml():void 0},t.prototype.toString=function(){return this.serialize()},t.prototype.clone=function(){return new t(this.toOptions(!0))},t}(),M=/^\$[a-zA-Z0-9]+$/,T="/",Q=",";function L(t){var e;return e=null!=t?t[t.length-1]:void 0,m.isFunction(e)?e:void 0}function C(t){var e=t.function_type,i=t.source;return"remote"===e?[e,btoa(i)].join(":"):"wasm"===e?[e,i].join(":"):void 0}var x=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.new=function(t){return new e(t)},e.prototype.angle=function(t){return this.arrayParam(t,"angle","a",".",c.normalize),this},e.prototype.audioCodec=function(t){return this.param(t,"audio_codec","ac"),this},e.prototype.audioFrequency=function(t){return this.param(t,"audio_frequency","af"),this},e.prototype.aspectRatio=function(t){return this.param(t,"aspect_ratio","ar",c.normalize),this},e.prototype.background=function(t){return this.param(t,"background","b",A.norm_color),this},e.prototype.bitRate=function(t){return this.param(t,"bit_rate","br"),this},e.prototype.border=function(t){return this.param(t,"border","bo",(function(t){return p.isObject(t)?(t=Object.assign({},{color:"black",width:2},t),"".concat(t.width,"px_solid_").concat(A.norm_color(t.color))):t}))},e.prototype.color=function(t){return this.param(t,"color","co",A.norm_color),this},e.prototype.colorSpace=function(t){return this.param(t,"color_space","cs"),this},e.prototype.crop=function(t){return this.param(t,"crop","c"),this},e.prototype.customFunction=function(t){return this.param(t,"custom_function","fn",(function(){return C(t)}))},e.prototype.customPreFunction=function(t){if(!this.get("custom_function"))return this.rawParam(t,"custom_function","",(function(){return(t=C(t))?"fn_pre:".concat(t):t}))},e.prototype.defaultImage=function(t){return this.param(t,"default_image","d"),this},e.prototype.delay=function(t){return this.param(t,"delay","dl"),this},e.prototype.density=function(t){return this.param(t,"density","dn"),this},e.prototype.duration=function(t){return this.rangeParam(t,"duration","du"),this},e.prototype.dpr=function(t){return this.param(t,"dpr","dpr",(function(t){return(null!=(t=t.toString())?t.match(/^\d+$/):void 0)?t+".0":c.normalize(t)}))},e.prototype.effect=function(t){return this.arrayParam(t,"effect","e",":",c.normalize),this},e.prototype.else=function(){return this.if("else")},e.prototype.endIf=function(){return this.if("end")},e.prototype.endOffset=function(t){return this.rangeParam(t,"end_offset","eo"),this},e.prototype.fallbackContent=function(t){return this.param(t,"fallback_content"),this},e.prototype.fetchFormat=function(t){return this.param(t,"fetch_format","f"),this},e.prototype.format=function(t){return this.param(t,"format"),this},e.prototype.flags=function(t){return this.arrayParam(t,"flags","fl","."),this},e.prototype.gravity=function(t){return this.param(t,"gravity","g"),this},e.prototype.fps=function(t){return this.param(t,"fps","fps",(function(t){return g.isString(t)?t:Array.isArray(t)?t.join("-"):t}))},e.prototype.height=function(t){var e=this;return this.param(t,"height","h",(function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?c.normalize(t):null}))},e.prototype.htmlHeight=function(t){return this.param(t,"html_height"),this},e.prototype.htmlWidth=function(t){return this.param(t,"html_width"),this},e.prototype.if=function(t){var i,r,o,a,s;switch(void 0===t&&(t=""),t){case"else":return this.chain(),this.param(t,"if","if");case"end":for(this.chain(),i=o=this.chained.length-1;o>=0&&"end"!==(r=this.chained[i].getValue("if"))&&(null==r||(a=e.new().if(r),this.chained[i].remove("if"),s=this.chained[i],this.chained[i]=e.new().transformation([a,s]),"else"===r));i=o+=-1);return this.param(t,"if","if");case"":return n.new().setParent(this);default:return this.param(t,"if","if",(function(t){return n.new(t).toString()}))}},e.prototype.keyframeInterval=function(t){return this.param(t,"keyframe_interval","ki"),this},e.prototype.ocr=function(t){return this.param(t,"ocr","ocr"),this},e.prototype.offset=function(t){var e,i,r;if(r=(e=m.isFunction(null!=t?t.split:void 0)?t.split(".."):Array.isArray(t)?t:[null,null])[0],i=e[1],null!=r&&this.startOffset(r),null!=i)return this.endOffset(i)},e.prototype.opacity=function(t){return this.param(t,"opacity","o",c.normalize),this},e.prototype.overlay=function(t){return this.layerParam(t,"overlay","l"),this},e.prototype.page=function(t){return this.param(t,"page","pg"),this},e.prototype.poster=function(t){return this.param(t,"poster"),this},e.prototype.prefix=function(t){return this.param(t,"prefix","p"),this},e.prototype.quality=function(t){return this.param(t,"quality","q",c.normalize),this},e.prototype.radius=function(t){return this.arrayParam(t,"radius","r",":",c.normalize),this},e.prototype.rawTransformation=function(t){return this.rawParam(t,"raw_transformation"),this},e.prototype.size=function(t){var e,i,r;if(m.isFunction(null!=t?t.split:void 0))return r=(e=t.split("x"))[0],i=e[1],this.width(r),this.height(i)},e.prototype.sourceTypes=function(t){return this.param(t,"source_types"),this},e.prototype.sourceTransformation=function(t){return this.param(t,"source_transformation")},e.prototype.startOffset=function(t){return this.rangeParam(t,"start_offset","so"),this},e.prototype.streamingProfile=function(t){return this.param(t,"streaming_profile","sp"),this},e.prototype.transformation=function(t){return this.transformationParam(t,"transformation","t"),this},e.prototype.underlay=function(t){return this.layerParam(t,"underlay","u"),this},e.prototype.variable=function(t,e){return this.param(e,t,t),this},e.prototype.variables=function(t){return this.arrayParam(t,"variables"),this},e.prototype.videoCodec=function(t){return this.param(t,"video_codec","vc",A.process_video_params),this},e.prototype.videoSampling=function(t){return this.param(t,"video_sampling","vs"),this},e.prototype.width=function(t){var e=this;return this.param(t,"width","w",(function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?c.normalize(t):null})),this},e.prototype.x=function(t){return this.param(t,"x","x",c.normalize),this},e.prototype.y=function(t){return this.param(t,"y","y",c.normalize),this},e.prototype.zoom=function(t){return this.param(t,"zoom","z",c.normalize),this},e}(S),F=["angle","audioCodec","audioFrequency","aspectRatio","background","bitRate","border","color","colorSpace","crop","customFunction","customPreFunction","defaultImage","delay","density","duration","dpr","effect","else","endIf","endOffset","fallbackContent","fetchFormat","format","flags","gravity","fps","height","htmlHeight","htmlWidth","if","keyframeInterval","ocr","offset","opacity","overlay","page","poster","prefix","quality","radius","rawTransformation","size","sourceTypes","sourceTransformation","startOffset","streamingProfile","transformation","underlay","variable","variables","videoCodec","videoSampling","width","x","y","zoom"],I=F.map(u.snakeCase).concat(o.CONFIG_PARAMS);e.URL_KEYS=_,e.default=x},88018:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(11741),n=i(74999);e.processCustomFunction=function(t){if(!n.isObject(t))return t;if("remote"===t.function_type){var e=r.base64Encode(t.source).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[t.function_type,e].join(":")}return[t.function_type,t.source].join(":")}},30568:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(88018);i(11741),i(74999),e.processCustomPreFunction=function(t){var e=r.processCustomFunction(t);return"string"===typeof e?"pre:".concat(e):null}},89639:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(5797);e.processDpr=function(t){var e=t.toString();return(null!=e?e.match(/^\d+$/):void 0)?e+".0":r.normalize(e)}},80038:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(31068);i(59948),e.process_if=function(t){return t?"if_"+r.legacyNormalizeExpression(t):t}},11167:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(74999),n=i(11741),o=i(59948),a=i(26496),s=i(55804),u=i(69140);function c(t){var e=[],i="";if(Object.keys(o.LAYER_KEYWORD_PARAMS).forEach((function(i){var r=o.LAYER_KEYWORD_PARAMS[i],n=t[i]||r;n!==r&&e.push(n)})),Object.keys(t).forEach((function(i){"letter_spacing"!==i&&"line_spacing"!==i||e.push("".concat(i,"_").concat(t[i])),"font_hinting"===i&&e.push("".concat(i.split("_").pop(),"_").concat(t[i])),"font_antialiasing"===i&&e.push("antialias_".concat(t[i]))})),t.hasOwnProperty("font_size")||!e||0===e.length){if(!t.font_size)throw"Must supply font_size for text in overlay/underlay";if(!t.font_family)throw"Must supply font_family for text in overlay/underlay";e.unshift(t.font_size),e.unshift(t.font_family),i=e.filter((function(t){return t})).join("_")}return i}i(54908),i(23975),i(19328),i(32258),e.processLayer=function(t){if(t instanceof s||t instanceof u)return t.toString();var e="";if(r.isObject(t))if("fetch"===t.resource_type||null!=t.url)e="fetch:".concat(n.base64Encode(t.url));else{var i=t.public_id,o=t.format,l=t.resource_type||"image",f=t.type||"upload",d=t.text,h=null,p=[],g=!i||0===i.length;if(g||(i=i.replace(new RegExp("/","g"),":"),null!=o&&(i="".concat(i,".").concat(o))),d&&0!==d.length||"text"===l){if(l="text",f=null,h=c(t),d&&d.length>=0){var y=!h;if(!g&&!y||g&&y)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay";var m=/\$\([a-zA-Z]\w*\)/g,_=0,v=a.smartEscape(decodeURIComponent(d),/[,\/]/g);d="";for(var A=m.exec(v);A;A=m.exec(v))d+=a.smartEscape(v.slice(_,A.index)),d+=A[0],_=A.index+A[0].length;d+=encodeURIComponent(v.slice(_))}}else{if(g)throw"Must supply public_id for resource_type layer_parameter";"subtitles"===l&&(h=c(t))}"image"!==l&&p.push(l),"upload"!==f&&p.push(f),p.push(h),p.push(i),p.push(d),e=p.filter((function(t){return t})).join(":")}else e=/^fetch:.+/.test(t)?"fetch:".concat(n.base64Encode(t.substr(6))):t;return e},e.textStyle=c},68438:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(31068);i(59948),e.processRadius=function(t){var e=t;if(!e)return e;if(Array.isArray(e)||(e=[e]),0===e.length||e.length>4)throw new Error("Radius array should contain between 1 and 4 values");if(e.findIndex((function(t){return null===t}))>=0)throw new Error("Corner: Cannot be null");return e.map(r.legacyNormalizeExpression).join(":")}},92934:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processVideoParams=function(t){switch(t&&t.constructor){case Object:var e="";return"codec"in t&&(e=t.codec,"profile"in t&&(e+=":"+t.profile,"level"in t&&(e+=":"+t.level))),e;case String:return t;default:return null}}},27799:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.finalize_resource_type=function(t,e,i,r,n){if(null==e&&(e="upload"),null!=i)if("image"===t&&"upload"===e)t="images",e=null;else if("image"===t&&"private"===e)t="private_images",e=null;else if("image"===t&&"authenticated"===e)t="authenticated_images",e=null;else if("raw"===t&&"upload"===e)t="files",e=null;else{if("video"!==t||"upload"!==e)throw new Error("URL Suffix only supported for image/upload, image/private, image/authenticated, video/upload and raw/upload");t="videos",e=null}if(r){if(!("image"===t&&"upload"===e||"images"===t&&null==e))throw new Error("Root path only supported for image/upload");t=null,e=null}return n&&"image"===t&&"upload"===e&&(t="iu",e=null),[t,e]}},71831:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(26496);e.finalize_source=function(t,e,i){var n;if((t=t.replace(/([^:])\/\//g,"$1/")).match(/^https?:\//i))n=t=r.smartEscape(t);else{if(n=t=encodeURIComponent(decodeURIComponent(t)).replace(/%3A/g,":").replace(/%2F/g,"/"),i){if(i.match(/[\.\/]/))throw new Error("url_suffix should not include . or /");t=t+"/"+i}null!=e&&(t=t+"."+e,n=n+"."+e)}return[t,n]}},19328:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=function(t){return void 0===t||null===t||"object"===typeof t&&0===Object.keys(t).length||"string"===typeof t&&0===t.trim().length}},2778:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return t instanceof Function}},32258:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.isNumberLike=function(t){return null!=t&&!isNaN(parseFloat(t))}},74999:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return"object"===typeof t&&null!==t}},84079:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(19328),n=function(t){var e=t.match(a);return(e=e.map((function(t){return t.charAt(0).toLocaleUpperCase()+t.slice(1).toLocaleLowerCase()})))[0]=e[0].toLocaleLowerCase(),e.join("")},o=function(t,e){var i,n;for(var o in i={},t)n=t[o],e&&(o=e(o)),r.isEmpty(o)||(i[o]=n);return i},a=RegExp("[A-Z]+(?=[A-Z][a-z]+)|[A-Z]?[a-z]+|[A-Z]+|[0-9]+","g");e.camelCase=n,e.contains=function(t,e){for(var i=0;i=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))","g");t=t.replace(e,(function(t){return r.LEGACY_CONDITIONAL_OPERATORS[t]}));var i="("+Object.keys(r.LEGACY_PREDEFINED_VARS).join("|")+")",n=new RegExp("".concat("(\\$_*[^_ ]+)","|").concat(i),"g");return(t=t.replace(n,(function(t){return r.LEGACY_PREDEFINED_VARS[t]||t}))).replace(/[ _]+/g,"_")}},95595:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(59948);e.normRangeValues=function(t){var e=String(t).match(r.RANGE_VALUE_RE);if(e){var i=e[5]?"p":"";return"".concat(e[1]||e[4]).concat(i)}return t}},26496:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.smartEscape=function(t,e){return void 0===e&&(e=/([^a-zA-Z0-9_.\-\/:]+)/g),t.replace(e,(function(t){return t.split("").map((function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})).join("")}))}},23975:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.snakeCase=function(t){return t.replace(/[A-Z]/g,(function(t){return"_".concat(t.toLowerCase())}))}},99598:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(59948);e.splitRange=function(t){switch(t&&t.constructor){case String:return r.OFFSET_ANY_PATTERN_RE.test(t)?t.split(".."):t;case Array:return[[t],t[t.length-1]];default:return[null,null]}}},90998:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toArray=function(t){switch(!0){case null==t:return[];case Array.isArray(t):return t;default:return[t]}}},51355:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(59948);e.unsigned_url_prefix=function(t,e,i,n,o,a,s,u){var c;if(0===e.indexOf("/"))return"/res"+e;var l=!i;if(s)null!=u&&u!==r.OLD_AKAMAI_SHARED_CDN||(u=i?e+"-res.cloudinary.com":r.SHARED_CDN),null==l&&(l=u===r.SHARED_CDN),c="https://"+u;else if(a)c="http://"+a;else{c="http://"+[i?e+"-":"","res",".cloudinary.com"].join("")}return l&&(c+="/"+e),c}},15663:function(t,e,i){"use strict";e.base64Encode=function(t){let e="";return e="undefined"!==typeof window?btoa(encodeURI(decodeURI(t))):i.g.Buffer.from(t).toString("base64"),e.replace(/\+/g,"-").replace(/\//g,"_")}},88730:function(t,e,i){"use strict";var r=i(15157),n=i(80146),o=i(76085),a=i(95362),s=i(39080);class u extends r.Action{constructor(t,e,i){super(),this._actionModel={},this.borderType=t,this.borderColor=a.prepareColor(e),this.borderWidth=i,this._actionModel={color:a.prepareColor(e),width:i,actionType:"border"}}width(t){return this.borderWidth=t,this._actionModel.width=t,this}color(t){return this.borderColor=a.prepareColor(t),this._actionModel.color=a.prepareColor(t),this}roundCorners(t){return this._roundCorners=t,this._actionModel.radius=t.getRadius(),this}solid(t,e){return this.borderType="solid",this.borderColor=a.prepareColor(e),this.borderWidth=t,this._actionModel.color=a.prepareColor(e),this._actionModel.width=t,this}prepareQualifiers(){const t=new n.QualifierValue([`${this.borderWidth}px`,this.borderType,`${this.borderColor}`]).setDelimiter("_");this.addQualifier(new o.Qualifier("bo",t)),this._roundCorners&&this.addQualifier(this._roundCorners.qualifiers.get("r"))}static fromJson(t){const{width:e,color:i,radius:r}=t,n=new this("solid",i,e);if(r){const t="max"===r?(new s.RoundCornersAction).max():Array.isArray(r)?(new s.RoundCornersAction).radius(...r):void 0;t&&n.roundCorners(t)}return n}}function c(t,e){return new u("solid",e,t)}const l={solid:c,roundCorners:function(t){const e=new u("solid","transparent",0);return e.roundCorners(t),e}};e.Border=l,e.BorderAction=u,e.solid=c},84116:function(t,e){"use strict";function i(){return 444}function r(){return 420}const n={chroma444:i,chroma420:r};e.ChromaSubSampling=n,e.chroma420=r,e.chroma444=i},56597:function(t,e){"use strict";e.Color={SNOW:"snow",SNOW1:"snow1",SNOW2:"snow2",ROSYBROWN1:"rosybrown1",ROSYBROWN2:"rosybrown2",SNOW3:"snow3",LIGHTCORAL:"lightcoral",INDIANRED1:"indianred1",ROSYBROWN3:"rosybrown3",INDIANRED2:"indianred2",ROSYBROWN:"rosybrown",BROWN1:"brown1",FIREBRICK1:"firebrick1",BROWN2:"brown2",INDIANRED:"indianred",INDIANRED3:"indianred3",FIREBRICK2:"firebrick2",SNOW4:"snow4",BROWN3:"brown3",RED:"red",RED1:"red1",ROSYBROWN4:"rosybrown4",FIREBRICK3:"firebrick3",RED2:"red2",FIREBRICK:"firebrick",BROWN:"brown",RED3:"red3",INDIANRED4:"indianred4",BROWN4:"brown4",FIREBRICK4:"firebrick4",DARKRED:"darkred",RED4:"red4",LIGHTPINK1:"lightpink1",LIGHTPINK3:"lightpink3",LIGHTPINK4:"lightpink4",LIGHTPINK2:"lightpink2",LIGHTPINK:"lightpink",PINK:"pink",CRIMSON:"crimson",PINK1:"pink1",PINK2:"pink2",PINK3:"pink3",PINK4:"pink4",PALEVIOLETRED4:"palevioletred4",PALEVIOLETRED:"palevioletred",PALEVIOLETRED2:"palevioletred2",PALEVIOLETRED1:"palevioletred1",PALEVIOLETRED3:"palevioletred3",LAVENDERBLUSH:"lavenderblush",LAVENDERBLUSH1:"lavenderblush1",LAVENDERBLUSH3:"lavenderblush3",LAVENDERBLUSH2:"lavenderblush2",LAVENDERBLUSH4:"lavenderblush4",MAROON:"maroon",HOTPINK3:"hotpink3",VIOLETRED3:"violetred3",VIOLETRED1:"violetred1",VIOLETRED2:"violetred2",VIOLETRED4:"violetred4",HOTPINK2:"hotpink2",HOTPINK1:"hotpink1",HOTPINK4:"hotpink4",HOTPINK:"hotpink",DEEPPINK:"deeppink",DEEPPINK1:"deeppink1",DEEPPINK2:"deeppink2",DEEPPINK3:"deeppink3",DEEPPINK4:"deeppink4",MAROON1:"maroon1",MAROON2:"maroon2",MAROON3:"maroon3",MAROON4:"maroon4",MEDIUMVIOLETRED:"mediumvioletred",VIOLETRED:"violetred",ORCHID2:"orchid2",ORCHID:"orchid",ORCHID1:"orchid1",ORCHID3:"orchid3",ORCHID4:"orchid4",THISTLE1:"thistle1",THISTLE2:"thistle2",PLUM1:"plum1",PLUM2:"plum2",THISTLE:"thistle",THISTLE3:"thistle3",PLUM:"plum",VIOLET:"violet",PLUM3:"plum3",THISTLE4:"thistle4",FUCHSIA:"fuchsia",MAGENTA:"magenta",MAGENTA1:"magenta1",PLUM4:"plum4",MAGENTA2:"magenta2",MAGENTA3:"magenta3",DARKMAGENTA:"darkmagenta",MAGENTA4:"magenta4",PURPLE:"purple",MEDIUMORCHID:"mediumorchid",MEDIUMORCHID1:"mediumorchid1",MEDIUMORCHID2:"mediumorchid2",MEDIUMORCHID3:"mediumorchid3",MEDIUMORCHID4:"mediumorchid4",DARKVIOLET:"darkviolet",DARKORCHID:"darkorchid",DARKORCHID1:"darkorchid1",DARKORCHID3:"darkorchid3",DARKORCHID2:"darkorchid2",DARKORCHID4:"darkorchid4",INDIGO:"indigo",BLUEVIOLET:"blueviolet",PURPLE2:"purple2",PURPLE3:"purple3",PURPLE4:"purple4",PURPLE1:"purple1",MEDIUMPURPLE:"mediumpurple",MEDIUMPURPLE1:"mediumpurple1",MEDIUMPURPLE2:"mediumpurple2",MEDIUMPURPLE3:"mediumpurple3",MEDIUMPURPLE4:"mediumpurple4",DARKSLATEBLUE:"darkslateblue",LIGHTSLATEBLUE:"lightslateblue",MEDIUMSLATEBLUE:"mediumslateblue",SLATEBLUE:"slateblue",SLATEBLUE1:"slateblue1",SLATEBLUE2:"slateblue2",SLATEBLUE3:"slateblue3",SLATEBLUE4:"slateblue4",GHOSTWHITE:"ghostwhite",LAVENDER:"lavender",BLUE:"blue",BLUE1:"blue1",BLUE2:"blue2",BLUE3:"blue3",MEDIUMBLUE:"mediumblue",BLUE4:"blue4",DARKBLUE:"darkblue",MIDNIGHTBLUE:"midnightblue",NAVY:"navy",NAVYBLUE:"navyblue",ROYALBLUE:"royalblue",ROYALBLUE1:"royalblue1",ROYALBLUE2:"royalblue2",ROYALBLUE3:"royalblue3",ROYALBLUE4:"royalblue4",CORNFLOWERBLUE:"cornflowerblue",LIGHTSTEELBLUE:"lightsteelblue",LIGHTSTEELBLUE1:"lightsteelblue1",LIGHTSTEELBLUE2:"lightsteelblue2",LIGHTSTEELBLUE3:"lightsteelblue3",LIGHTSTEELBLUE4:"lightsteelblue4",SLATEGRAY4:"slategray4",SLATEGRAY1:"slategray1",SLATEGRAY2:"slategray2",SLATEGRAY3:"slategray3",LIGHTSLATEGRAY:"lightslategray",LIGHTSLATEGREY:"lightslategrey",SLATEGRAY:"slategray",SLATEGREY:"slategrey",DODGERBLUE:"dodgerblue",DODGERBLUE1:"dodgerblue1",DODGERBLUE2:"dodgerblue2",DODGERBLUE4:"dodgerblue4",DODGERBLUE3:"dodgerblue3",ALICEBLUE:"aliceblue",STEELBLUE4:"steelblue4",STEELBLUE:"steelblue",STEELBLUE1:"steelblue1",STEELBLUE2:"steelblue2",STEELBLUE3:"steelblue3",SKYBLUE4:"skyblue4",SKYBLUE1:"skyblue1",SKYBLUE2:"skyblue2",SKYBLUE3:"skyblue3",LIGHTSKYBLUE:"lightskyblue",LIGHTSKYBLUE4:"lightskyblue4",LIGHTSKYBLUE1:"lightskyblue1",LIGHTSKYBLUE2:"lightskyblue2",LIGHTSKYBLUE3:"lightskyblue3",SKYBLUE:"skyblue",LIGHTBLUE3:"lightblue3",DEEPSKYBLUE:"deepskyblue",DEEPSKYBLUE1:"deepskyblue1",DEEPSKYBLUE2:"deepskyblue2",DEEPSKYBLUE4:"deepskyblue4",DEEPSKYBLUE3:"deepskyblue3",LIGHTBLUE1:"lightblue1",LIGHTBLUE2:"lightblue2",LIGHTBLUE:"lightblue",LIGHTBLUE4:"lightblue4",POWDERBLUE:"powderblue",CADETBLUE1:"cadetblue1",CADETBLUE2:"cadetblue2",CADETBLUE3:"cadetblue3",CADETBLUE4:"cadetblue4",TURQUOISE1:"turquoise1",TURQUOISE2:"turquoise2",TURQUOISE3:"turquoise3",TURQUOISE4:"turquoise4",CADETBLUE:"cadetblue",DARKTURQUOISE:"darkturquoise",AZURE:"azure",AZURE1:"azure1",LIGHTCYAN1:"lightcyan1",LIGHTCYAN:"lightcyan",AZURE2:"azure2",LIGHTCYAN2:"lightcyan2",PALETURQUOISE1:"paleturquoise1",PALETURQUOISE:"paleturquoise",PALETURQUOISE2:"paleturquoise2",DARKSLATEGRAY1:"darkslategray1",AZURE3:"azure3",LIGHTCYAN3:"lightcyan3",DARKSLATEGRAY2:"darkslategray2",PALETURQUOISE3:"paleturquoise3",DARKSLATEGRAY3:"darkslategray3",AZURE4:"azure4",LIGHTCYAN4:"lightcyan4",AQUA:"aqua",CYAN:"cyan",CYAN1:"cyan1",PALETURQUOISE4:"paleturquoise4",CYAN2:"cyan2",DARKSLATEGRAY4:"darkslategray4",CYAN3:"cyan3",CYAN4:"cyan4",DARKCYAN:"darkcyan",TEAL:"teal",DARKSLATEGRAY:"darkslategray",DARKSLATEGREY:"darkslategrey",MEDIUMTURQUOISE:"mediumturquoise",LIGHTSEAGREEN:"lightseagreen",TURQUOISE:"turquoise",AQUAMARINE4:"aquamarine4",AQUAMARINE:"aquamarine",AQUAMARINE1:"aquamarine1",AQUAMARINE2:"aquamarine2",AQUAMARINE3:"aquamarine3",MEDIUMAQUAMARINE:"mediumaquamarine",MEDIUMSPRINGGREEN:"mediumspringgreen",MINTCREAM:"mintcream",SPRINGGREEN:"springgreen",SPRINGGREEN1:"springgreen1",SPRINGGREEN2:"springgreen2",SPRINGGREEN3:"springgreen3",SPRINGGREEN4:"springgreen4",MEDIUMSEAGREEN:"mediumseagreen",SEAGREEN:"seagreen",SEAGREEN3:"seagreen3",SEAGREEN1:"seagreen1",SEAGREEN4:"seagreen4",SEAGREEN2:"seagreen2",MEDIUMFORESTGREEN:"mediumforestgreen",HONEYDEW:"honeydew",HONEYDEW1:"honeydew1",HONEYDEW2:"honeydew2",DARKSEAGREEN1:"darkseagreen1",DARKSEAGREEN2:"darkseagreen2",PALEGREEN1:"palegreen1",PALEGREEN:"palegreen",HONEYDEW3:"honeydew3",LIGHTGREEN:"lightgreen",PALEGREEN2:"palegreen2",DARKSEAGREEN3:"darkseagreen3",DARKSEAGREEN:"darkseagreen",PALEGREEN3:"palegreen3",HONEYDEW4:"honeydew4",GREEN1:"green1",LIME:"lime",LIMEGREEN:"limegreen",DARKSEAGREEN4:"darkseagreen4",GREEN2:"green2",PALEGREEN4:"palegreen4",GREEN3:"green3",FORESTGREEN:"forestgreen",GREEN4:"green4",GREEN:"green",DARKGREEN:"darkgreen",LAWNGREEN:"lawngreen",CHARTREUSE:"chartreuse",CHARTREUSE1:"chartreuse1",CHARTREUSE2:"chartreuse2",CHARTREUSE3:"chartreuse3",CHARTREUSE4:"chartreuse4",GREENYELLOW:"greenyellow",DARKOLIVEGREEN3:"darkolivegreen3",DARKOLIVEGREEN1:"darkolivegreen1",DARKOLIVEGREEN2:"darkolivegreen2",DARKOLIVEGREEN4:"darkolivegreen4",DARKOLIVEGREEN:"darkolivegreen",OLIVEDRAB:"olivedrab",OLIVEDRAB1:"olivedrab1",OLIVEDRAB2:"olivedrab2",OLIVEDRAB3:"olivedrab3",YELLOWGREEN:"yellowgreen",OLIVEDRAB4:"olivedrab4",IVORY:"ivory",IVORY1:"ivory1",LIGHTYELLOW:"lightyellow",LIGHTYELLOW1:"lightyellow1",BEIGE:"beige",IVORY2:"ivory2",LIGHTGOLDENRODYELLOW:"lightgoldenrodyellow",LIGHTYELLOW2:"lightyellow2",IVORY3:"ivory3",LIGHTYELLOW3:"lightyellow3",IVORY4:"ivory4",LIGHTYELLOW4:"lightyellow4",YELLOW:"yellow",YELLOW1:"yellow1",YELLOW2:"yellow2",YELLOW3:"yellow3",YELLOW4:"yellow4",OLIVE:"olive",DARKKHAKI:"darkkhaki",KHAKI2:"khaki2",LEMONCHIFFON4:"lemonchiffon4",KHAKI1:"khaki1",KHAKI3:"khaki3",KHAKI4:"khaki4",PALEGOLDENROD:"palegoldenrod",LEMONCHIFFON:"lemonchiffon",LEMONCHIFFON1:"lemonchiffon1",KHAKI:"khaki",LEMONCHIFFON3:"lemonchiffon3",LEMONCHIFFON2:"lemonchiffon2",MEDIUMGOLDENROD:"mediumgoldenrod",CORNSILK4:"cornsilk4",GOLD:"gold",GOLD1:"gold1",GOLD2:"gold2",GOLD3:"gold3",GOLD4:"gold4",LIGHTGOLDENROD:"lightgoldenrod",LIGHTGOLDENROD4:"lightgoldenrod4",LIGHTGOLDENROD1:"lightgoldenrod1",LIGHTGOLDENROD3:"lightgoldenrod3",LIGHTGOLDENROD2:"lightgoldenrod2",CORNSILK3:"cornsilk3",CORNSILK2:"cornsilk2",CORNSILK:"cornsilk",CORNSILK1:"cornsilk1",GOLDENROD:"goldenrod",GOLDENROD1:"goldenrod1",GOLDENROD2:"goldenrod2",GOLDENROD3:"goldenrod3",GOLDENROD4:"goldenrod4",DARKGOLDENROD:"darkgoldenrod",DARKGOLDENROD1:"darkgoldenrod1",DARKGOLDENROD2:"darkgoldenrod2",DARKGOLDENROD3:"darkgoldenrod3",DARKGOLDENROD4:"darkgoldenrod4",FLORALWHITE:"floralwhite",WHEAT2:"wheat2",OLDLACE:"oldlace",WHEAT:"wheat",WHEAT1:"wheat1",WHEAT3:"wheat3",ORANGE:"orange",ORANGE1:"orange1",ORANGE2:"orange2",ORANGE3:"orange3",ORANGE4:"orange4",WHEAT4:"wheat4",MOCCASIN:"moccasin",PAPAYAWHIP:"papayawhip",NAVAJOWHITE3:"navajowhite3",BLANCHEDALMOND:"blanchedalmond",NAVAJOWHITE:"navajowhite",NAVAJOWHITE1:"navajowhite1",NAVAJOWHITE2:"navajowhite2",NAVAJOWHITE4:"navajowhite4",ANTIQUEWHITE4:"antiquewhite4",ANTIQUEWHITE:"antiquewhite",TAN:"tan",BISQUE4:"bisque4",BURLYWOOD:"burlywood",ANTIQUEWHITE2:"antiquewhite2",BURLYWOOD1:"burlywood1",BURLYWOOD3:"burlywood3",BURLYWOOD2:"burlywood2",ANTIQUEWHITE1:"antiquewhite1",BURLYWOOD4:"burlywood4",ANTIQUEWHITE3:"antiquewhite3",DARKORANGE:"darkorange",BISQUE2:"bisque2",BISQUE:"bisque",BISQUE1:"bisque1",BISQUE3:"bisque3",DARKORANGE1:"darkorange1",LINEN:"linen",DARKORANGE2:"darkorange2",DARKORANGE3:"darkorange3",DARKORANGE4:"darkorange4",PERU:"peru",TAN1:"tan1",TAN2:"tan2",TAN3:"tan3",TAN4:"tan4",PEACHPUFF:"peachpuff",PEACHPUFF1:"peachpuff1",PEACHPUFF4:"peachpuff4",PEACHPUFF2:"peachpuff2",PEACHPUFF3:"peachpuff3",SANDYBROWN:"sandybrown",SEASHELL4:"seashell4",SEASHELL2:"seashell2",SEASHELL3:"seashell3",CHOCOLATE:"chocolate",CHOCOLATE1:"chocolate1",CHOCOLATE2:"chocolate2",CHOCOLATE3:"chocolate3",CHOCOLATE4:"chocolate4",SADDLEBROWN:"saddlebrown",SEASHELL:"seashell",SEASHELL1:"seashell1",SIENNA4:"sienna4",SIENNA:"sienna",SIENNA1:"sienna1",SIENNA2:"sienna2",SIENNA3:"sienna3",LIGHTSALMON3:"lightsalmon3",LIGHTSALMON:"lightsalmon",LIGHTSALMON1:"lightsalmon1",LIGHTSALMON4:"lightsalmon4",LIGHTSALMON2:"lightsalmon2",CORAL:"coral",ORANGERED:"orangered",ORANGERED1:"orangered1",ORANGERED2:"orangered2",ORANGERED3:"orangered3",ORANGERED4:"orangered4",DARKSALMON:"darksalmon",SALMON1:"salmon1",SALMON2:"salmon2",SALMON3:"salmon3",SALMON4:"salmon4",CORAL1:"coral1",CORAL2:"coral2",CORAL3:"coral3",CORAL4:"coral4",TOMATO4:"tomato4",TOMATO:"tomato",TOMATO1:"tomato1",TOMATO2:"tomato2",TOMATO3:"tomato3",MISTYROSE4:"mistyrose4",MISTYROSE2:"mistyrose2",MISTYROSE:"mistyrose",MISTYROSE1:"mistyrose1",SALMON:"salmon",MISTYROSE3:"mistyrose3",WHITE:"white",GRAY100:"gray100",GREY100:"grey100",GRAY99:"gray99",GREY99:"grey99",GRAY98:"gray98",GREY98:"grey98",GRAY97:"gray97",GREY97:"grey97",GRAY96:"gray96",GREY96:"grey96",WHITESMOKE:"whitesmoke",GRAY95:"gray95",GREY95:"grey95",GRAY94:"gray94",GREY94:"grey94",GRAY93:"gray93",GREY93:"grey93",GRAY92:"gray92",GREY92:"grey92",GRAY91:"gray91",GREY91:"grey91",GRAY90:"gray90",GREY90:"grey90",GRAY89:"gray89",GREY89:"grey89",GRAY88:"gray88",GREY88:"grey88",GRAY87:"gray87",GREY87:"grey87",GAINSBORO:"gainsboro",GRAY86:"gray86",GREY86:"grey86",GRAY85:"gray85",GREY85:"grey85",GRAY84:"gray84",GREY84:"grey84",GRAY83:"gray83",GREY83:"grey83",LIGHTGRAY:"lightgray",LIGHTGREY:"lightgrey",GRAY82:"gray82",GREY82:"grey82",GRAY81:"gray81",GREY81:"grey81",GRAY80:"gray80",GREY80:"grey80",GRAY79:"gray79",GREY79:"grey79",GRAY78:"gray78",GREY78:"grey78",GRAY77:"gray77",GREY77:"grey77",GRAY76:"gray76",GREY76:"grey76",SILVER:"silver",GRAY75:"gray75",GREY75:"grey75",GRAY74:"gray74",GREY74:"grey74",GRAY73:"gray73",GREY73:"grey73",GRAY72:"gray72",GREY72:"grey72",GRAY71:"gray71",GREY71:"grey71",GRAY70:"gray70",GREY70:"grey70",GRAY69:"gray69",GREY69:"grey69",GRAY68:"gray68",GREY68:"grey68",GRAY67:"gray67",GREY67:"grey67",DARKGRAY:"darkgray",DARKGREY:"darkgrey",GRAY66:"gray66",GREY66:"grey66",GRAY65:"gray65",GREY65:"grey65",GRAY64:"gray64",GREY64:"grey64",GRAY63:"gray63",GREY63:"grey63",GRAY62:"gray62",GREY62:"grey62",GRAY61:"gray61",GREY61:"grey61",GRAY60:"gray60",GREY60:"grey60",GRAY59:"gray59",GREY59:"grey59",GRAY58:"gray58",GREY58:"grey58",GRAY57:"gray57",GREY57:"grey57",GRAY56:"gray56",GREY56:"grey56",GRAY55:"gray55",GREY55:"grey55",GRAY54:"gray54",GREY54:"grey54",GRAY53:"gray53",GREY53:"grey53",GRAY52:"gray52",GREY52:"grey52",GRAY51:"gray51",GREY51:"grey51",FRACTAL:"fractal",GRAY50:"gray50",GREY50:"grey50",GRAY:"gray",GREY:"grey",GRAY49:"gray49",GREY49:"grey49",GRAY48:"gray48",GREY48:"grey48",GRAY47:"gray47",GREY47:"grey47",GRAY46:"gray46",GREY46:"grey46",GRAY45:"gray45",GREY45:"grey45",GRAY44:"gray44",GREY44:"grey44",GRAY43:"gray43",GREY43:"grey43",GRAY42:"gray42",GREY42:"grey42",DIMGRAY:"dimgray",DIMGREY:"dimgrey",GRAY41:"gray41",GREY41:"grey41",GRAY40:"gray40",GREY40:"grey40",GRAY39:"gray39",GREY39:"grey39",GRAY38:"gray38",GREY38:"grey38",GRAY37:"gray37",GREY37:"grey37",GRAY36:"gray36",GREY36:"grey36",GRAY35:"gray35",GREY35:"grey35",GRAY34:"gray34",GREY34:"grey34",GRAY33:"gray33",GREY33:"grey33",GRAY32:"gray32",GREY32:"grey32",GRAY31:"gray31",GREY31:"grey31",GRAY30:"gray30",GREY30:"grey30",GRAY29:"gray29",GREY29:"grey29",GRAY28:"gray28",GREY28:"grey28",GRAY27:"gray27",GREY27:"grey27",GRAY26:"gray26",GREY26:"grey26",GRAY25:"gray25",GREY25:"grey25",GRAY24:"gray24",GREY24:"grey24",GRAY23:"gray23",GREY23:"grey23",GRAY22:"gray22",GREY22:"grey22",GRAY21:"gray21",GREY21:"grey21",GRAY20:"gray20",GREY20:"grey20",GRAY19:"gray19",GREY19:"grey19",GRAY18:"gray18",GREY18:"grey18",GRAY17:"gray17",GREY17:"grey17",GRAY16:"gray16",GREY16:"grey16",GRAY15:"gray15",GREY15:"grey15",GRAY14:"gray14",GREY14:"grey14",GRAY13:"gray13",GREY13:"grey13",GRAY12:"gray12",GREY12:"grey12",GRAY11:"gray11",GREY11:"grey11",GRAY10:"gray10",GREY10:"grey10",GRAY9:"gray9",GREY9:"grey9",GRAY8:"gray8",GREY8:"grey8",GRAY7:"gray7",GREY7:"grey7",GRAY6:"gray6",GREY6:"grey6",GRAY5:"gray5",GREY5:"grey5",GRAY4:"gray4",GREY4:"grey4",GRAY3:"gray3",GREY3:"grey3",GRAY2:"gray2",GREY2:"grey2",GRAY1:"gray1",GREY1:"grey1",BLACK:"black",GRAY0:"gray0",GREY0:"grey0",OPAQUE:"opaque",NONE:"none",TRANSPARENT:"transparent"}},33903:function(t,e){"use strict";function i(){return"srgb"}function r(){return"srgb:truecolor"}function n(){return"tinysrgb"}function o(){return"cmyk"}function a(){return"no_cmyk"}function s(){return"keep_cmyk"}const u={cmyk:o,keepCmyk:s,noCmyk:a,srgb:i,tinySrgb:n,trueColor:r};e.ColorSpace=u,e.cmyk=o,e.keepCmyk=s,e.noCmyk=a,e.srgb=i,e.tinySrgb=n,e.trueColor=r},92752:function(t){"use strict";var e=function(){function t(){}return t.prototype.filterOutNonSupportedKeys=function(t,e){var i,r=Object.create({});return"object"!==typeof(i=t)||i instanceof Array?Object.create({}):(Object.keys(t).forEach((function(i){e.indexOf(i)>=0?r[i]=t[i]:console.warn("Warning - unsupported key provided to configuration: ",i)})),r)},t}();t.exports=e},50526:function(t,e,i){"use strict";var r=i(54908),n=i(81312),o=function(t){function e(e){var i=t.call(this)||this,r=i.filterOutNonSupportedKeys(e,n.ALLOWED_CLOUD_CONFIG);if(Object.assign(i,r),!i.cloudName)throw"Missing mandatory field cloudName";return i}return r.__extends(e,t),e.prototype.extend=function(t){var i=this.filterOutNonSupportedKeys(t,n.ALLOWED_CLOUD_CONFIG);return new e(Object.assign({},this,i))},e.prototype.setCloudName=function(t){return this.cloudName=t,this},e.prototype.setApiKey=function(t){return this.apiKey=t,this},e.prototype.setApiSecret=function(t){return this.apiSecret=t,this},e}(i(92752));t.exports=o},57728:function(t,e,i){"use strict";var r=i(50526),n=i(9746);i(54908),i(81312),i(92752);var o=function(){function t(t){void 0===t&&(t={}),this.cloud=new r(t.cloud),this.url=new n(t.url||{})}return t.prototype.setCloudConfig=function(t){return this.cloud=new r(t),this},t.prototype.setURLConfig=function(t){return this.url=new n(t),this},t.prototype.extend=function(t){return this.cloud=this.cloud.extend(t.cloud||{}),this.url=this.url.extend(t.url||{}),this},t}();t.exports=o},9746:function(t,e,i){"use strict";var r=i(54908),n=i(92752),o=i(81312),a=function(t){function e(e){var i=t.call(this)||this,r=i.filterOutNonSupportedKeys(e,o.ALLOWED_URL_CONFIG);return Object.assign(i,{secure:!0},r),i}return r.__extends(e,t),e.prototype.extend=function(t){var i=this.filterOutNonSupportedKeys(t,o.ALLOWED_URL_CONFIG);return new e(Object.assign({},this,i))},e.prototype.setCname=function(t){return this.cname=t,this},e.prototype.setSecureDistribution=function(t){return this.secureDistribution=t,this},e.prototype.setPrivateCdn=function(t){return this.privateCdn=t,this},e.prototype.setSignUrl=function(t){return this.signUrl=t,this},e.prototype.setLongUrlSignature=function(t){return this.longUrlSignature=t,this},e.prototype.setShorten=function(t){return this.shorten=t,this},e.prototype.setUseRootPath=function(t){return this.useRootPath=t,this},e.prototype.setSecure=function(t){return this.secure=t,this},e.prototype.setForceVersion=function(t){return this.forceVersion=t,this},e.prototype.setQueryParams=function(t){return this.queryParams=t,this},e}(n);t.exports=a},61583:function(t,e,i){"use strict";var r=i(87271),n=i(16406),o=i(17822),a=i(64863),s=i(69268);function u(t){const{object:e,weight:i,avoid:r}=t,n=new o.AutoFocus(new s.FocusOnValue(e));return(i||0===i)&&n.weight(i),r&&n.avoid(),n}function c(t){const e=(t.autoFocus||[]).map(u);return r.autoGravity().autoFocus(...e)}e.createGravityFromModel=function(t){return function(t){return"direction"===t.gravityType}(t)?new r.CompassGravity(new a.CompassQualifier(t.compass)):function(t){return"ocr"===t.gravityType}(t)?r.focusOn(n.ocr()):function(t){return"auto"===t.gravityType}(t)?c(t):function(t){const e=(t.focusOnObjects||[]).map((t=>new s.FocusOnValue(t))),i=r.focusOn(...e);if(t.fallbackGravity){const e=c(t.fallbackGravity);i.fallbackGravity(e)}return i}(t)}},25254:function(t,e,i){"use strict";var r=i(87271),n=i(69268);function o(t){return`${t}`.replace("g_","")}function a(t){const e=t.toString().split("_"),i={object:e[0]};return e.length>1&&("avoid"===e[1]?i.avoid=!0:i.weight=+e[1]),i}function s(t){let e;const i="auto"===t?new r.AutoGravity:t;e=`${t}`.startsWith("auto:")?`${t}`.split(":").filter((t=>"auto"!==t)):i.qualifierValue.values.filter((t=>"auto"!==t));return{gravityType:"auto",autoFocus:e.map(a)}}function u(t){const e=`${t}`.split(":").includes("auto"),i=t.qualifierValue.values,n={gravityType:"object",focusOnObjects:(e?i.slice(0,i.length-1):i).map((t=>`${t}`))};if(e){const t=i[i.length-1].values.slice(1),e=r.autoGravity().autoFocus(...t);n.fallbackGravity=s(e)}return n}function c(t){const e=t.split(":").map((t=>new n.FocusOnValue(t)));return new r.FocusOnGravity(e)}e.createGravityModel=function(t){return function(t){const e=o(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}(t)?function(t){return{compass:o(t),gravityType:"direction"}}(t):function(t){return"ocr_text"===o(t)}(t)?{gravityType:"ocr"}:function(t){return t&&"auto"===`${t}`.split(":")[0]}(t)||function(t){return"auto"===`${t.qualifierValue}`.split(":")[0]}(t)?s(t):u("string"===typeof t?c(t):t)}},53958:function(t,e,i){"use strict";var r=i(67602),n=i(83291),o=i(79078),a=i(81888),s=i(27239);e.createSourceFromModel=function(t,e){return(i=t)&&"text"===i.sourceType?a.TextSource.fromJson(t,e):function(t){return t&&"image"===t.sourceType}(t)?r.ImageSource.fromJson(t,e):function(t){return t&&"fetch"===t.sourceType}(t)?n.FetchSource.fromJson(t,e):function(t){return t&&"audio"===t.sourceType}(t)?s.AudioSource.fromJson(t,e):o.VideoSource.fromJson(t,e);var i}},77030:function(t,e,i){"use strict";var r=i(83269),n=i(16993);function o(t){return new n.RemoteAction(t).asRemote()}function a(t){return new r.CustomFunctionAction(t).asWasm()}const s={remote:o,wasm:a};e.CustomFunction=s,e.remote=o,e.wasm=a},82795:function(t,e,i){"use strict";var r=i(92227),n=i(70961),o=i(39214),a=i(99664),s=i(75686),u=i(86277);function c(t){return new r.DeliveryFormatAction("f",t)}function l(t){return new u.DeliveryDPRAction(t)}function f(t){return new n.DeliveryQualityAction(t)}function d(t){return new a.DeliveryAction("dn",t,"density")}function h(t){return new a.DeliveryAction("d",t,"defaultImage")}function p(t){return new s.DeliveryColorSpaceAction(t)}function g(t){return new o.DeliveryColorSpaceFromICCAction(t)}const y={format:c,dpr:l,density:d,defaultImage:h,colorSpace:p,colorSpaceFromICC:g,quality:f};e.Delivery=y,e.colorSpace=p,e.colorSpaceFromICC=g,e.defaultImage=h,e.density=d,e.dpr=l,e.format=c,e.quality=f},44859:function(t,e){"use strict";function i(){return 0}function r(){return 1}function n(){return 2}function o(){return 3}function a(){return 4}function s(){return 5}function u(){return 6}function c(){return 7}function l(){return 8}function f(){return 9}function d(){return 10}function h(){return 11}function p(){return 12}function g(){return 13}function y(){return 14}function m(){return 15}function _(){return 16}function v(){return 17}function A(){return 18}const E={checkerboard2x1Dither:r,circles5x5Black:g,circles5x5White:y,circles6x6Black:m,circles6x6White:_,circles7x7Black:v,circles7x7White:A,halftone4x4Angled:u,halftone4x4Orthogonal:f,halftone6x6Angled:c,halftone6x6Orthogonal:d,halftone8x8Angled:l,halftone8x8Orthogonal:h,halftone16x16Orthogonal:p,ordered2x2Dispersed:n,ordered3x3Dispersed:o,ordered4x4Dispersed:a,ordered8x8Dispersed:s,threshold1x1Nondither:i};e.Dither=E,e.checkerboard2x1Dither=r,e.circles5x5Black=g,e.circles5x5White=y,e.circles6x6Black=m,e.circles6x6White=_,e.circles7x7Black=v,e.circles7x7White=A,e.halftone16x16Orthogonal=p,e.halftone4x4Angled=u,e.halftone4x4Orthogonal=f,e.halftone6x6Angled=c,e.halftone6x6Orthogonal=d,e.halftone8x8Angled=l,e.halftone8x8Orthogonal=h,e.ordered2x2Dispersed=n,e.ordered3x3Dispersed=o,e.ordered4x4Dispersed=a,e.ordered8x8Dispersed=s,e.threshold1x1Nondither=i},46050:function(t,e){"use strict";function i(){return"auto"}const r={auto:i};e.Dpr=r,e.auto=i},39848:function(t,e,i){"use strict";var r=i(12070),n=i(82817),o=i(27381),a=i(55694),s=i(42305),u=i(22450),c=i(52600),l=i(60441),f=i(6377),d=i(13599),h=i(61606),p=i(79440),g=i(13297),y=i(13860),m=i(47480),_=i(20016),v=i(5600),A=i(55959),E=i(9093),w=i(8068),R=i(43680),b=i(59251),O=i(13808),S=i(9346),M=i(207),T=i(43183),Q=i(57057),L=i(54835),C=i(60360);function x(t){return new r.BlurAction(t)}function F(){return new u.SimpleEffectAction("grayscale")}function I(t){return new d.EffectActionWithLevel("sepia",t)}function D(t){return new m.ShadowEffectAction("shadow",t)}function k(t){return new y.ColorizeEffectAction("colorize",t)}function G(t){return new w.EffectActionWithStrength("oil_paint",t)}function P(t){return new u.SimpleEffectAction("art",t)}function V(t){return new a.CartoonifyEffect("cartoonify",t)}function N(){return new s.EffectOutline}function Y(t){return new _.StyleTransfer(t)}function j(){return new u.SimpleEffectAction("boomerang")}function U(){return new u.SimpleEffectAction("adv_redeye")}function B(t){return new R.BlackwhiteEffectAction("blackwhite",t)}function z(){return new u.SimpleEffectAction("negate")}function H(){return new u.SimpleEffectAction("redeye")}function q(){return new u.SimpleEffectAction("reverse")}function $(t){return new n.AccelerationEffectAction(t)}function W(t){return new b.FadeInEffectAction(t)}function K(t){return new g.FadeOutEffectAction(t)}function J(t){return new o.LoopEffectAction("loop",t)}function X(t){return new c.MakeTransparentEffectAction("make_transparent",t)}function Z(t){return new d.EffectActionWithLevel("noise",t)}function tt(t){return new w.EffectActionWithStrength("vignette",t)}function et(t){return new v.DitherEffectAction("ordered_dither",t)}function it(){return new l.VectorizeEffectAction}function rt(){return new p.GradientFadeEffectAction}function nt(){return new h.AssistColorBlindEffectAction}function ot(){return new f.SimulateColorBlindEffectAction}function at(t){return new A.DeshakeEffectAction("deshake",t)}function st(){return new u.SimpleEffectAction("transition")}function ut(t){return new E.Pixelate(t)}function ct(){return new O.RemoveBackgroundAction}function lt(){return new M.BackgroundRemoval}function ft(){return new T.DropShadow}function dt(){return new Q.GenerativeRemove}function ht(){return new L.GenerativeReplace}function pt(t,e){return new C.GenerativeRecolor(t,e)}function gt(){return new u.SimpleEffectAction("gen_restore")}function yt(){return new u.SimpleEffectAction("upscale")}function mt(t){return new S.ThemeEffect(t)}function _t(){return new u.SimpleEffectAction("enhance")}const vt={pixelate:ut,deshake:at,boomerang:j,advancedRedEye:U,blackwhite:B,negate:z,redEye:H,reverse:q,accelerate:$,fadeIn:W,fadeOut:K,loop:J,makeTransparent:X,noise:Z,vignette:tt,blur:x,grayscale:F,sepia:I,shadow:D,colorize:k,oilPaint:G,artisticFilter:P,cartoonify:V,outline:N,styleTransfer:Y,gradientFade:rt,vectorize:it,assistColorBlind:nt,simulateColorBlind:ot,transition:st,dither:et,removeBackground:ct,backgroundRemoval:lt,dropShadow:ft,generativeRemove:dt,generativeReplace:ht,generativeRecolor:pt,generativeRestore:gt,upscale:yt,theme:mt,enhance:_t};e.Effect=vt,e.accelerate=$,e.advancedRedEye=U,e.artisticFilter=P,e.assistColorBlind=nt,e.backgroundRemoval=lt,e.blackwhite=B,e.blur=x,e.boomerang=j,e.cartoonify=V,e.colorize=k,e.deshake=at,e.dither=et,e.dropShadow=ft,e.enhance=_t,e.fadeIn=W,e.fadeOut=K,e.generativeRecolor=pt,e.generativeRemove=dt,e.generativeReplace=ht,e.generativeRestore=gt,e.gradientFade=rt,e.grayscale=F,e.loop=J,e.makeTransparent=X,e.negate=z,e.noise=Z,e.oilPaint=G,e.outline=N,e.pixelate=ut,e.redEye=H,e.removeBackground=ct,e.reverse=q,e.sepia=I,e.shadow=D,e.simulateColorBlind=ot,e.styleTransfer=Y,e.theme=mt,e.transition=st,e.upscale=yt,e.vectorize=it,e.vignette=tt},59066:function(t,e,i){"use strict";var r=i(9631),n=i(933);function o(t){const e=Object.keys(r.CONDITIONAL_OPERATORS).map((t=>`\\s${t.replace(/(\*|\+|\^|\|)/g,"\\$1")}\\s`)).join("|"),i=new RegExp(`(${e})`,"g"),o=t.toString().replace(i,(t=>`_${r.CONDITIONAL_OPERATORS[t.trim()]}_`)),a=Object.keys(r.RESERVED_NAMES).join("|"),s=new RegExp(`(\\$_*[^_ ]+)|${a}`,"g"),u=o.replace(s,(t=>t.startsWith("$")?t:r.RESERVED_NAMES[t]||t)).replace(/\s/g,"_");return new n.ExpressionQualifier(u)}const a={expression:o};e.Expression=a,e.expression=o},97096:function(t,e,i){"use strict";var r=i(49780);function n(){return new r.FlagQualifier("animated")}function o(){return new r.FlagQualifier("awebp")}function a(){return new r.FlagQualifier("any_format")}function s(){return new r.FlagQualifier("apng")}function u(){return new r.FlagQualifier("clip")}function c(){return new r.FlagQualifier("clip_evenodd")}function l(){return new r.FlagQualifier("force_strip")}function f(t){return new r.FlagQualifier(t)}function d(){return new r.FlagQualifier("force_icc")}function h(t){return new r.FlagQualifier("attachment",t)}function p(){return new r.FlagQualifier("getinfo")}function g(){return new r.FlagQualifier("hlsv3")}function y(){return new r.FlagQualifier("immutable_cache")}function m(){return new r.FlagQualifier("ignore_aspect_ratio")}function _(){return new r.FlagQualifier("keep_attribution")}function v(){return new r.FlagQualifier("keep_dar")}function A(){return new r.FlagQualifier("keep_iptc")}function E(){return new r.FlagQualifier("layer_apply")}function w(){return new r.FlagQualifier("lossy")}function R(){return new r.FlagQualifier("mono")}function b(){return new r.FlagQualifier("no_overflow")}function O(){return new r.FlagQualifier("no_stream")}function S(){return new r.FlagQualifier("png24")}function M(){return new r.FlagQualifier("png32")}function T(){return new r.FlagQualifier("png8")}function Q(){return new r.FlagQualifier("preserve_transparency")}function L(t){return new r.FlagQualifier("progressive",t)}function C(){return new r.FlagQualifier("region_relative")}function x(){return new r.FlagQualifier("rasterize")}function F(){return new r.FlagQualifier("relative")}function I(){return new r.FlagQualifier("sanitize")}function D(){return new r.FlagQualifier("splice")}function k(){return new r.FlagQualifier("strip_profile")}function G(t){return new r.FlagQualifier("streaming_attachment",t)}function P(){return new r.FlagQualifier("tiff8_lzw")}function V(){return new r.FlagQualifier("tiled")}function N(){return new r.FlagQualifier("truncate_ts")}function Y(){return new r.FlagQualifier("waveform")}function j(){return new r.FlagQualifier("ignore_mask_channels")}const U={animated:n,anyFormat:a,animatedPng:s,animatedWebP:o,clipEvenOdd:c,lossy:w,preserveTransparency:Q,png8:T,png24:S,png32:M,progressive:L,rasterize:x,sanitize:I,stripProfile:k,tiff8Lzw:P,attachment:h,forceIcc:d,forceStrip:l,getInfo:p,immutableCache:y,keepAttribution:_,keepIptc:A,custom:f,streamingAttachment:G,hlsv3:g,keepDar:v,noStream:O,mono:R,layerApply:E,relative:F,regionRelative:C,splice:D,truncateTS:N,waveform:Y,ignoreInitialAspectRatio:m,clip:u,tiled:V,noOverflow:b,ignoreMaskChannels:j};e.Flag=U,e.animated=n,e.animatedPng=s,e.animatedWebP=o,e.anyFormat=a,e.attachment=h,e.clip=u,e.clipEvenOdd=c,e.custom=f,e.forceIcc=d,e.forceStrip=l,e.getInfo=p,e.hlsv3=g,e.ignoreInitialAspectRatio=m,e.ignoreMaskChannels=j,e.immutableCache=y,e.keepAttribution=_,e.keepDar=v,e.keepIptc=A,e.layerApply=E,e.lossy=w,e.mono=R,e.noOverflow=b,e.noStream=O,e.png24=S,e.png32=M,e.png8=T,e.preserveTransparency=Q,e.progressive=L,e.rasterize=x,e.regionRelative=C,e.relative=F,e.sanitize=I,e.splice=D,e.streamingAttachment=G,e.stripProfile=k,e.tiff8Lzw=P,e.tiled=V,e.truncateTS=N,e.waveform=Y},16406:function(t,e,i){"use strict";var r=i(69268);function n(){return new r.FocusOnValue("bird")}function o(){return new r.FocusOnValue("dog")}function a(){return new r.FocusOnValue("cat")}function s(){return new r.FocusOnValue("microwave")}function u(){return new r.FocusOnValue("refrigerator")}function c(){return new r.FocusOnValue("bottle")}function l(){return new r.FocusOnValue("sink")}function f(){return new r.FocusOnValue("skateboard")}function d(){return new r.FocusOnValue("person")}function h(){return new r.FocusOnValue("adv_face")}function p(){return new r.FocusOnValue("adv_faces")}function g(){return new r.FocusOnValue("adv_eyes")}function y(){return new r.FocusOnValue("face")}function m(){return new r.FocusOnValue("faces")}function _(){return new r.FocusOnValue("background")}function v(){return new r.FocusOnValue("aeroplane")}function A(){return new r.FocusOnValue("bicycle")}function E(){return new r.FocusOnValue("boat")}function w(){return new r.FocusOnValue("bus")}function R(){return new r.FocusOnValue("car")}function b(){return new r.FocusOnValue("chair")}function O(){return new r.FocusOnValue("cow")}function S(){return new r.FocusOnValue("diningtable")}function M(){return new r.FocusOnValue("horse")}function T(){return new r.FocusOnValue("motorbike")}function Q(){return new r.FocusOnValue("pottedplant")}function L(){return new r.FocusOnValue("sheep")}function C(){return new r.FocusOnValue("sofa")}function x(){return new r.FocusOnValue("train")}function F(){return new r.FocusOnValue("tvmonitor")}function I(){return new r.FocusOnValue("ocr_text")}const D={person:d,cat:a,microwave:s,refrigerator:u,skateboard:f,bird:n,bottle:c,dog:o,sink:l,face:y,train:x,sofa:C,sheep:L,pottedplant:Q,horse:M,faces:m,cow:O,bus:w,boat:E,advancedEyes:g,advancedFace:h,advancedFaces:p,aeroplane:v,background:_,bicycle:A,car:R,chair:b,diningtable:S,tvmonitor:F,motorbike:T,ocr:I};e.FocusOn=D,e.advancedEyes=g,e.advancedFace=h,e.advancedFaces=p,e.aeroplane=v,e.background=_,e.bicycle=A,e.bird=n,e.boat=E,e.bottle=c,e.bus=w,e.car=R,e.cat=a,e.chair=b,e.cow=O,e.diningtable=S,e.dog=o,e.face=y,e.faces=m,e.horse=M,e.microwave=s,e.motorbike=T,e.ocr=I,e.person=d,e.pottedplant=Q,e.refrigerator=u,e.sheep=L,e.sink=l,e.skateboard=f,e.sofa=C,e.train=x,e.tvmonitor=F},6017:function(t,e){"use strict";function i(){return""}function r(){return"slight"}function n(){return"medium"}function o(){return"full"}const a={full:o,none:i,medium:n,slight:r};e.FontHinting=a,e.full=o,e.medium=n,e.none=i,e.slight=r},29370:function(t,e){"use strict";function i(){return"normal"}function r(){return"italic"}const n={normal:i,italic:r};e.FontStyle=n,e.italic=r,e.normal=i},59167:function(t,e){"use strict";function i(){return"thin"}function r(){return"light"}function n(){return"normal"}function o(){return"bold"}const a={bold:o,light:r,normal:n,thin:i};e.FontWeight=a,e.bold=o,e.light=r,e.normal=n,e.thin=i},84865:function(t,e,i){"use strict";var r=i(34442);function n(){return new r.FormatQualifier("heic")}function o(){return new r.FormatQualifier("flif")}function a(){return new r.FormatQualifier("ai")}function s(){return new r.FormatQualifier("wdp")}function u(){return new r.FormatQualifier("svg")}function c(){return new r.FormatQualifier("webp")}function l(){return new r.FormatQualifier("psd")}function f(){return new r.FormatQualifier("jp2")}function d(){return new r.FormatQualifier("jpc")}function h(){return new r.FormatQualifier("eps")}function p(){return new r.FormatQualifier("tiff")}function g(){return new r.FormatQualifier("pdf")}function y(){return new r.FormatQualifier("ico")}function m(){return new r.FormatQualifier("bmp")}function _(){return new r.FormatQualifier("png")}function v(){return new r.FormatQualifier("gif")}function A(){return new r.FormatQualifier("auto")}function E(){return new r.FormatQualifier("jpg")}function w(){return new r.FormatQualifier("djvu")}function R(){return new r.FormatQualifier("ps")}function b(){return new r.FormatQualifier("ept")}function O(){return new r.FormatQualifier("eps3")}function S(){return new r.FormatQualifier("fxb")}function M(){return new r.FormatQualifier("gltf")}function T(){return new r.FormatQualifier("heif")}function Q(){return new r.FormatQualifier("indd")}function L(){return new r.FormatQualifier("jpe")}function C(){return new r.FormatQualifier("jpeg")}function x(){return new r.FormatQualifier("jxr")}function F(){return new r.FormatQualifier("hdp")}function I(){return new r.FormatQualifier("spd")}function D(){return new r.FormatQualifier("arw")}function k(){return new r.FormatQualifier("cr2")}function G(){return new r.FormatQualifier("tga")}function P(){return new r.FormatQualifier("tif")}function V(){return new r.FormatQualifier("avif")}function N(){return new r.FormatQualifier("usdz")}function Y(){return new r.FormatQualifier("3g2")}function j(){return new r.FormatQualifier("3gp")}function U(){return new r.FormatQualifier("avi")}function B(){return new r.FormatQualifier("flv")}function z(){return new r.FormatQualifier("m3u8")}function H(){return new r.FormatQualifier("ts")}function q(){return new r.FormatQualifier("mov")}function $(){return new r.FormatQualifier("mkv")}function W(){return new r.FormatQualifier("mp4")}function K(){return new r.FormatQualifier("mpeg")}function J(){return new r.FormatQualifier("mpd")}function X(){return new r.FormatQualifier("mxf")}function Z(){return new r.FormatQualifier("ogv")}function tt(){return new r.FormatQualifier("webm")}function et(){return new r.FormatQualifier("wmv")}function it(){return new r.FormatQualifier("m2ts")}function rt(){return new r.FormatQualifier("mts")}function nt(){return new r.FormatQualifier("aac")}function ot(){return new r.FormatQualifier("aiff")}function at(){return new r.FormatQualifier("amr")}function st(){return new r.FormatQualifier("flac")}function ut(){return new r.FormatQualifier("m4a")}function ct(){return new r.FormatQualifier("mp3")}function lt(){return new r.FormatQualifier("ogg")}function ft(){return new r.FormatQualifier("opus")}function dt(){return new r.FormatQualifier("wav")}function ht(){return new r.FormatQualifier("glb")}const pt={usdz:N,jp2:f,ai:a,auto:A,bmp:m,eps:h,flif:o,gif:v,heic:n,ico:y,jpc:d,jpg:E,pdf:g,png:_,psd:l,svg:u,tiff:p,wdp:s,webp:c,arw:D,audioAac:nt,audioAiff:ot,audioAmr:at,audioFlac:st,audioM4a:ut,audioMp3:ct,audioOgg:lt,audioOpus:ft,audioWav:dt,avif:V,cr2:k,djvu:w,eps3:O,ept:b,fxb:S,gltf:M,hdp:F,heif:T,indd:Q,jpe:L,jpeg:C,jxr:x,ps:R,spd:I,tga:G,tif:P,video3g2:Y,video3gp:j,videoAvi:U,videoFlv:B,videoM2ts:it,videoM3u8:z,videoMkv:$,videoMov:q,videoMp4:W,videoMpd:J,videoMpeg:K,videoMts:rt,videoMxf:X,videoOgv:Z,videoTs:H,videoWebm:tt,videoWmv:et,glb:ht};e.Format=pt,e.ai=a,e.arw=D,e.audioAac=nt,e.audioAiff=ot,e.audioAmr=at,e.audioFlac=st,e.audioM4a=ut,e.audioMp3=ct,e.audioOgg=lt,e.audioOpus=ft,e.audioWav=dt,e.auto=A,e.avif=V,e.bmp=m,e.cr2=k,e.djvu=w,e.eps=h,e.eps3=O,e.ept=b,e.flif=o,e.fxb=S,e.gif=v,e.glb=ht,e.gltf=M,e.hdp=F,e.heic=n,e.heif=T,e.ico=y,e.indd=Q,e.jp2=f,e.jpc=d,e.jpe=L,e.jpeg=C,e.jpg=E,e.jxr=x,e.pdf=g,e.png=_,e.ps=R,e.psd=l,e.spd=I,e.svg=u,e.tga=G,e.tif=P,e.tiff=p,e.usdz=N,e.video3g2=Y,e.video3gp=j,e.videoAvi=U,e.videoFlv=B,e.videoM2ts=it,e.videoM3u8=z,e.videoMkv=$,e.videoMov=q,e.videoMp4=W,e.videoMpd=J,e.videoMpeg=K,e.videoMts=rt,e.videoMxf=X,e.videoOgv=Z,e.videoTs=H,e.videoWebm=tt,e.videoWmv=et,e.wdp=s,e.webp=c},10382:function(t,e,i){"use strict";var r=i(86297);function n(){return new r.GradientDirectionQualifierValue("horizontal")}function o(){return new r.GradientDirectionQualifierValue("vertical")}function a(){return new r.GradientDirectionQualifierValue("diagonal_desc")}function s(){return new r.GradientDirectionQualifierValue("diagonal_asc")}const u={horizontal:n,vertical:o,diagonalDesc:a,diagonalAsc:s};e.GradientDirection=u,e.diagonalAsc=s,e.diagonalDesc=a,e.horizontal=n,e.vertical=o},87271:function(t,e,i){"use strict";var r=i(77486);class n extends r.GravityQualifier{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class o extends r.GravityQualifier{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class a extends r.GravityQualifier{constructor(t){super(t)}}class s extends r.GravityQualifier{constructor(){super("xy_center")}}function u(t){return new a(t)}function c(...t){const e=[...t];return new o(e)}function l(){return new n}function f(){return new s}const d={compass:u,autoGravity:l,focusOn:c,xyCenter:f};e.AutoGravity=n,e.CompassGravity=a,e.FocusOnGravity=o,e.Gravity=d,e.autoGravity=l,e.compass=u,e.focusOn=c,e.xyCenter=f},20801:function(t,e){"use strict";function i(){return"outdoor"}function r(){return"indoor"}const n={indoor:r,outdoor:i};e.ImproveMode=n,e.indoor=r,e.outdoor=i},9790:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(9746),n=i(50526),o=i(57728),a=i(40028),s=i(87408),u=i(9447),c=i(4403),l=i(65666),f=i(28476),d=i(40229),h=i(90778),p=i(35038),g=i(30455),y=i(68191),m=i(56710);i(54908),i(92752),i(81312),i(8689),i(92227),i(97096),i(49780),i(80146),i(76085),i(28373),i(42055),i(99664),i(15157),i(34442),i(9631),i(30910),i(49171),i(56278),i(11011),i(81816),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687),i(71235),i(27799),i(71831),i(26496),i(51355),i(59948),i(11167),i(74999),i(11741),i(55804),i(69140),i(23975),i(19328),i(32258),i(80038),i(31068),i(90998),i(68438),i(88018),i(30568),i(99598),i(95595),i(92934),i(76893),i(81461),i(5797),i(49233),i(84079),i(20378),i(59063),i(58392),i(2778),i(89639),i(92061),i(31075),i(52668),i(2499),i(63832),i(16245),i(25254),i(87271),i(77486),i(69268),i(61583),i(16406),i(17822),i(64863),i(51927),i(18694),i(30079),i(66446),i(95362),i(13004),i(55259),i(56043),i(91515),i(6077),i(62375),i(13462),i(43924),i(3706),i(97269),i(82760),i(19963),i(22638),i(88730),i(39080),i(78586),i(39848),i(12070),i(62092),i(67921),i(35597),i(82817),i(27381),i(61553),i(22450),i(55694),i(42305),i(52600),i(60441),i(6377),i(13599),i(61606),i(79440),i(13297),i(13860),i(47480),i(20016),i(5600),i(55959),i(9093),i(8068),i(43680),i(59251),i(13808),i(9346),i(207),i(43183),i(57057),i(54835),i(60360),i(44850),i(54795),i(86407),i(76676),i(94073),i(28883),i(41030),i(1741),i(78378),i(23538),i(89260),i(7468),i(64014),i(50439),i(53958),i(67602),i(58361),i(83291),i(15663),i(79078),i(81888),i(34823),i(60063),i(59167),i(29370),i(20833),i(8980),i(27239),i(82355),i(14990),i(48349),i(7685),i(3555),i(82795),i(70961),i(39214),i(75686),i(33903),i(86277),i(77030),i(83269),i(16993),i(91430),i(44576),i(96986),i(23178),i(58158),i(28798),i(66912),i(81354),i(10436),i(48759),i(30111),i(39762),i(18953),i(74068),i(76954),i(91321),i(3764),i(6018),i(15958),i(33830),i(97947),i(39165),i(74719),i(9255),i(58778),i(43986),i(96118),i(36290),i(42793),i(20801),i(10382),i(86297),i(84865),i(6017),i(59066),i(933),i(44859),i(56597),i(75604),i(19760),i(63632),i(54543),i(21115),i(45348),i(84116),i(46050),i(17183),i(73619),i(58464),i(27016),i(75024),e.URLConfig=r,e.CloudConfig=n,e.CloudinaryConfig=o,e.CloudinaryImage=a.CloudinaryImage,e.CloudinaryVideo=s.CloudinaryVideo,e.CloudinaryFile=u.CloudinaryFile,e.CloudinaryMedia=c.CloudinaryMedia,e.Cloudinary=l.Cloudinary,e.createCloudinaryLegacyURL=f.createCloudinaryLegacyURL,e.transformationStringFromObject=d.transformationStringFromObject,e.Actions=h.actions,e.Qualifiers=p.qualifiers,e.Transformation=g.Transformation,e.ImageTransformation=y.ImageTransformation,e.VideoTransformation=m.VideoTransformation},65666:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(40028),n=i(87408);i(54908),i(68191),i(30455),i(15157),i(49780),i(80146),i(76085),i(28373),i(42055),i(27016),i(95362),i(75024),i(92227),i(97096),i(99664),i(34442),i(9631),i(30910),i(8689),i(9447),i(49171),i(56278),i(11011),i(81816),i(9746),i(92752),i(81312),i(89670),i(11855),i(72238),i(56762),i(62127),i(76657),i(63427),i(97765),i(85687),i(56710);var o=function(){function t(t){t&&(this.cloudinaryConfig=t)}return t.prototype.image=function(t){return new r.CloudinaryImage(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)},t.prototype.video=function(t){return new n.CloudinaryVideo(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)},t.prototype.setConfig=function(t){return this.cloudinaryConfig=t,this},t.prototype.getConfig=function(){return this.cloudinaryConfig},t.prototype.extendConfig=function(){},t}();e.Cloudinary=o},81312:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.ALLOWED_CLOUD_CONFIG=["cloudName","apiKey","apiSecret","authToken"],e.ALLOWED_URL_CONFIG=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"]},49171:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(56278),n=i(11011),o=i(81816);e.getUrlPrefix=function(t,e){var i=e.secure,r=e.privateCdn,n=e.cname,o=e.secureDistribution;return i||n?i&&!o&&r?"https://".concat(t,"-res.cloudinary.com"):i&&!o?"https://res.cloudinary.com/".concat(t):i&&o&&r?"https://".concat(o):i&&o?"https://".concat(o,"/").concat(t):!i&&n?"http://".concat(n,"/").concat(t):"ERROR":"http://res.cloudinary.com/".concat(t)},e.getUrlVersion=function(t,e,i){var a=!1!==i;return e?"v".concat(e):o.publicIDContainsVersion(t)||r.isUrl(t)||n.isFileName(t)?"":a?"v1":""},e.handleAssetType=function(t){return t||"image"},e.handleDeliveryType=function(t){return t||"upload"}},11011:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFileName=function(t){return t.indexOf("/")<0}},56278:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isUrl=function(t){return t.match(/^https?:\//)}},81816:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.publicIDContainsVersion=function(t){return t.match(/^v[0-9]+/)}},11741:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.base64Encode=function(t){return("undefined"!==typeof window?btoa(encodeURI(decodeURI(t))):i.g.Buffer.from(t).toString("base64")).replace(/\+/g,"-").replace(/\//g,"_")}},71235:function(t,e,i){"use strict";t=i.nmd(t),Object.defineProperty(e,"__esModule",{value:!0});var r="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",f="[object Number]",d="[object Object]",h="[object Promise]",p="[object RegExp]",g="[object Set]",y="[object String]",m="[object Symbol]",_="[object WeakMap]",v="[object ArrayBuffer]",A="[object DataView]",E="[object Float32Array]",w="[object Float64Array]",R="[object Int8Array]",b="[object Int16Array]",O="[object Int32Array]",S="[object Uint8Array]",M="[object Uint8ClampedArray]",T="[object Uint16Array]",Q="[object Uint32Array]",L=/\w*$/,C=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,F={};F[o]=F["[object Array]"]=F[v]=F[A]=F[a]=F[s]=F[E]=F[w]=F[R]=F[b]=F[O]=F[l]=F[f]=F[d]=F[p]=F[g]=F[y]=F[m]=F[S]=F[M]=F[T]=F[Q]=!0,F["[object Error]"]=F[u]=F[_]=!1;var I="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,D="object"==typeof self&&self&&self.Object===Object&&self,k=I||D||Function("return this")(),G=e&&!e.nodeType&&e,P=G&&t&&!t.nodeType&&t,V=P&&P.exports===G;function N(t,e){return t.set(e[0],e[1]),t}function Y(t,e){return t.add(e),t}function j(t,e,i,r){var n=-1,o=t?t.length:0;for(r&&o&&(i=t[++n]);++n-1},St.prototype.set=function(t,e){var i=this.__data__,r=Ct(i,t);return r<0?i.push([t,e]):i[r][1]=e,this},Mt.prototype.clear=function(){this.__data__={hash:new Ot,map:new(ht||St),string:new Ot}},Mt.prototype.delete=function(t){return kt(this,t).delete(t)},Mt.prototype.get=function(t){return kt(this,t).get(t)},Mt.prototype.has=function(t){return kt(this,t).has(t)},Mt.prototype.set=function(t,e){return kt(this,t).set(t,e),this},Tt.prototype.clear=function(){this.__data__=new St},Tt.prototype.delete=function(t){return this.__data__.delete(t)},Tt.prototype.get=function(t){return this.__data__.get(t)},Tt.prototype.has=function(t){return this.__data__.has(t)},Tt.prototype.set=function(t,e){var i=this.__data__;if(i instanceof St){var r=i.__data__;if(!ht||r.length<199)return r.push([t,e]),this;i=this.__data__=new Mt(r)}return i.set(t,e),this};var Pt=ct?z(ct,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Nt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||x.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=n}(t.length)&&!qt(t)}var Ht=lt||function(){return!1};function qt(t){var e=$t(t)?tt.call(t):"";return e==u||e==c}function $t(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Wt(t){return zt(t)?Qt(t):function(t){if(!Yt(t))return ft(t);var e=[];for(var i in Object(t))Z.call(t,i)&&"constructor"!=i&&e.push(i);return e}(t)}e.cloneDeep=function(t){return xt(t,!0,!0)}},58392:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isString=function(t){return"string"===typeof t||t instanceof String},e.mapToSortedArray=function(t,e){var i=Array.from(t.entries());return e.forEach((function(t){i.push(["fl",t])})),i.sort().map((function(t){return t[1]}))}},97765:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.packageVersion="1.19.0"},9631:function(t,e){"use strict";function i(t){const e={};return Object.keys(t).forEach((i=>{e[t[i]]=i})),e}const r={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},n={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},o={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},a={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},s={444:"CHROMA_444",420:"CHROMA_420"},u={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},c=i(s),l=i(u),f=i(r),d=i({colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"}),h=i(n);i(o);const p=i(a);e.ACTION_TYPE_TO_BLEND_MODE_MAP={antiRemoval:"anti_removal"},e.ACTION_TYPE_TO_CROP_MODE_MAP=r,e.ACTION_TYPE_TO_EFFECT_MODE_MAP=n,e.ACTION_TYPE_TO_QUALITY_MODE_MAP=o,e.ACTION_TYPE_TO_STREAMING_PROFILE_MODE_MAP=a,e.CHROMA_MODEL_ENUM_TO_CHROMA_VALUE=c,e.CHROMA_VALUE_TO_CHROMA_MODEL_ENUM=s,e.COLOR_SPACE_MODEL_MODE_TO_COLOR_SPACE_MODE_MAP=u,e.COLOR_SPACE_MODE_TO_COLOR_SPACE_MODEL_MODE_MAP=l,e.CONDITIONAL_OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},e.CROP_MODE_TO_ACTION_TYPE_MAP=f,e.DELIVERY_MODE_TO_ACTION_TYPE_MAP=d,e.EFFECT_MODE_TO_ACTION_TYPE_MAP=h,e.RESERVED_NAMES={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",initial_duration:"idu",initialDuration:"idu",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w",trimmed_aspect_ratio:"tar",current_public_id:"cpi",initial_density:"idn",page_names:"pgnames"},e.STREAMING_PROFILE_TO_ACTION_TYPE_MAP=p},7685:function(t,e,i){"use strict";var r=i(3555);function n(t){return new r.NamedTransformationAction(t)}const o={name:n};e.NamedTransformation=o,e.name=n},42793:function(t,e){"use strict";function i(){return"fill"}function r(){return"inner"}function n(){return"inner_fill"}function o(){return"outer"}const a={outer:o,inner:r,innerFill:n,fill:i};e.OutlineMode=a,e.fill=i,e.inner=r,e.innerFill=n,e.outer=o},7468:function(t,e,i){"use strict";var r=i(64014);function n(t){return new r.LayerAction(t).setLayerType("l")}const o={source:n};e.Overlay=o,e.source=n},95362:function(t,e){"use strict";e.prepareColor=function(t){return t&&t.match(/^#/)?`rgb:${t.substr(1)}`:t}},30910:function(t,e,i){"use strict";var r=i(49780);class n extends r.FlagQualifier{constructor(t){super("progressive",t)}}function o(){return new n("none")}function a(){return new n("semi")}function s(){return new n("steep")}function u(){return new n}const c={semi:a,none:o,steep:s,progressive:u,ProgressiveQualifier:n};e.Progressive=c,e.ProgressiveQualifier=n,e.none=o,e.progressive=u,e.semi=a,e.steep=s},6018:function(t,e,i){"use strict";var r=i(15958),n=i(33830),o=i(97947);function a(){return new r.ClipAction}function s(){return new n.GetLayerAction}function u(){return new o.SmartObjectAction}const c={clip:a,getLayer:s,smartObject:u};e.PSDTools=c,e.clip=a,e.getLayer=s,e.smartObject=u},35038:function(t,e,i){"use strict";var r=i(20833),n=i(74719),o=i(8980),a=i(9255),s=i(58778),u=i(43986),c=i(62092),l=i(36290),f=i(82355),d=i(42793),h=i(20801),p=i(10382),g=i(84865),y=i(59167),m=i(29370),_=i(6017),v=i(59066),A=i(44859),E=i(33903),w=i(56597),R=i(6077),b=i(75604),O=i(19760),S=i(63632),M=i(54543),T=i(21115),Q=i(87271),L=i(84116),C=i(46050),x=i(17183),F=i(58464),I=Object.freeze({__proto__:null,TextDecoration:r.TextDecoration,TextAlignment:n.TextAlignment,Stroke:o.Stroke,StreamingProfile:a.StreamingProfile,SimulateColorBlind:s.SimulateColorBlind,RotationMode:u.RotationMode,Region:c.Region,Quality:l.Quality,Position:f.PositionQualifier,OutlineMode:d.OutlineMode,ImproveMode:h.ImproveMode,GradientDirection:p.GradientDirection,Format:g.Format,FontWeight:y.FontWeight,FontStyle:m.FontStyle,FontHinting:_.FontHinting,Expression:v.Expression,Dither:A.Dither,ColorSpace:E.ColorSpace,Color:w.Color,Background:R.Background,AudioFrequency:b.AudioFrequency,AudioCodec:O.AudioCodec,AspectRatio:S.AspectRatio,ArtisticFilter:M.ArtisticFilter,AnimatedFormat:T.AnimatedFormat,Gravity:Q.Gravity,ChromaSubSampling:L.ChromaSubSampling,Dpr:C.Dpr,Source:x.Source,GradientFade:F.GradientFade});e.qualifiers=I},3748:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(6077);i(95362),i(30079),i(66446),i(18694),i(76085),i(80146),i(28373),i(42055),i(13004),i(55259),i(91515),i(56043),i(51927),e.Background=r.Background,e.auto=r.auto,e.blurred=r.blurred,e.border=r.border,e.borderGradient=r.borderGradient,e.color=r.color,e.generativeFill=r.generativeFill,e.predominant=r.predominant,e.predominantGradient=r.predominantGradient},11032:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(46050);e.Dpr=r.Dpr,e.auto=r.auto},99367:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(82355);i(15157),i(49780),i(80146),i(76085),i(28373),i(42055),i(97096),i(25254),i(87271),i(77486),i(69268),e.Position=r.PositionQualifier},81786:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(17183);i(79078),i(58361),i(28373),i(42055),i(67602),i(73619),i(34823),i(60063),i(59167),i(29370),i(20833),i(8980),i(15157),i(49780),i(80146),i(76085),i(95362),i(83291),i(34442),i(15663),i(81888),i(27239),e.Source=r.Source,e.audio=r.audio,e.fetch=r.fetch,e.image=r.image,e.subtitles=r.subtitles,e.text=r.text,e.video=r.video},36290:function(t,e){"use strict";function i(){return"auto"}function r(){return"auto:best"}function n(){return"auto:eco"}function o(){return"auto:good"}function a(){return"auto:low"}function s(){return"jpegmini"}function u(){return"jpegmini:0"}function c(){return"jpegmini:1"}function l(){return"jpegmini:2"}const f={auto:i,autoBest:r,autoEco:n,autoGood:o,autoLow:a,jpegmini:s,jpegminiBest:u,jpegminiHigh:c,jpegminiMedium:l};e.Quality=f,e.auto=i,e.autoBest=r,e.autoEco=n,e.autoGood=o,e.autoLow=a,e.jpegmini=s,e.jpegminiBest=u,e.jpegminiHigh=c,e.jpegminiMedium=l},62092:function(t,e,i){"use strict";var r=i(67921),n=i(76085),o=i(35597);class a extends r.NamedRegion{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new n.Qualifier("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new n.Qualifier("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new n.Qualifier("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new n.Qualifier("h",t)),this}static fromJson(t){const e=new a;return t.width&&e.width(t.width),t.height&&e.height(t.height),t.x&&e.x(t.x),t.y&&e.y(t.y),e}}function s(){return new a}function u(){return new r.NamedRegion("faces")}function c(){return new r.NamedRegion("ocr_text")}function l(t,e,i,r){return new o.RectangleRegion(t,e,i,r)}const f={ocr:c,faces:u,custom:s,rectangle:l};e.CustomRegion=a,e.Region=f,e.custom=s,e.faces=u,e.ocr=c,e.rectangle=l},92061:function(t,e,i){"use strict";var r=i(31075),n=i(2499),o=i(62375),a=i(13462),s=i(43924),u=i(3706),c=i(97269),l=i(82760),f=i(19963),d=i(22638),h=i(52668),p=i(76085);class g extends n.ResizeSimpleAction{constructor(t,e,i){super(t,e,i),this.addQualifier(new p.Qualifier("g","auto"))}background(t){return this._actionModel.background=r.createBackgroundModel(t),this.addQualifier(t)}gravity(t){return this}static fromJson(t){const e=super.fromJson.apply(this,[t]);return t.background&&e.background(r.createBackgroundFromModel(t.background)),e}}function y(t,e){return new o.ResizeScaleAction("scale",t,e)}function m(t,e){return new n.ResizeSimpleAction("imagga_scale",t,e)}function _(t,e){return new n.ResizeSimpleAction("imagga_crop",t,e)}function v(t,e){return new s.ResizeCropAction("crop",t,e)}function A(t,e){return new u.ResizeFillAction("fill",t,e)}function E(t,e){return new n.ResizeSimpleAction("fit",t,e)}function w(t,e){return new r.ResizePadAction("pad",t,e)}function R(t,e){return new l.ResizeLimitFillAction("lfill",t,e)}function b(t,e){return new c.ResizeLimitFitAction("limit",t,e)}function O(t,e){return new d.ResizeMinimumPadAction("mpad",t,e)}function S(t,e){return new n.ResizeSimpleAction("mfit",t,e)}function M(t,e){return new r.ResizePadAction("fill_pad",t,e)}function T(t,e){return new a.ThumbResizeAction("thumb",t,e)}function Q(t,e){return new h.ResizeAdvancedAction("auto",t,e)}function L(t,e){return new f.ResizeLimitPadAction("lpad",t,e)}function C(t,e){return new g("auto_pad",t,e)}const x={imaggaScale:m,imaggaCrop:_,crop:v,fill:A,scale:y,minimumPad:O,fit:E,pad:w,limitFit:b,thumbnail:T,limitFill:R,minimumFit:S,limitPad:L,fillPad:M,auto:Q,autoPad:C};e.Resize=x,e.auto=Q,e.autoPad=C,e.crop=v,e.fill=A,e.fillPad=M,e.fit=E,e.imaggaCrop=_,e.imaggaScale=m,e.limitFill=R,e.limitFit=b,e.limitPad=L,e.minimumFit=S,e.minimumPad=O,e.pad=w,e.scale=y,e.thumbnail=T},44850:function(t,e,i){"use strict";var r=i(54795);function n(t){return(new r.RotateAction).mode(t)}function o(t){return new r.RotateAction(t)}const a={byAngle:o,mode:n};e.Rotate=a,e.byAngle=o,e.mode=n},43986:function(t,e,i){"use strict";var r=i(96118);function n(){return new r.RotationModeQualifierValue("auto_right")}function o(){return new r.RotationModeQualifierValue("auto_left")}function a(){return new r.RotationModeQualifierValue("vflip")}function s(){return new r.RotationModeQualifierValue("hflip")}function u(){return new r.RotationModeQualifierValue("ignore")}const c={autoLeft:o,autoRight:n,horizontalFlip:s,ignore:u,verticalFlip:a};e.RotationMode=c,e.autoLeft=o,e.autoRight=n,e.horizontalFlip=s,e.ignore=u,e.verticalFlip=a},78586:function(t,e,i){"use strict";var r=i(39080);function n(){return(new r.RoundCornersAction).max()}function o(t,e,i,n){return(new r.RoundCornersAction).radius(t,e,i,n)}const a={byRadius:o,max:n};e.RoundCorners=a,e.byRadius=o,e.max=n},72238:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(56762),n={},o=0;"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(t){var e=o.toString(2);e=r.stringPad(e,6,"0"),n[e]=t,o++})),e.base64Map=n},85687:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(72238);i(56762),e.encodeOSVersion=function(t){var e=t.split("."),i=e[0],n=e[1],o=parseInt(i).toString(2),a=parseInt(n).toString(2),s=o.padStart(6,"0"),u=a.padStart(6,"0");return r.base64Map[s]+r.base64Map[u]}},11855:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(72238),n=i(56762),o=i(62127),a=i(76657);e.encodeVersion=function(t){var e="",i=6*t.split(".").length,s=o.reverseVersion(t),u=a.padVersion(s),c=parseInt(u.split(".").join("")).toString(2);if((c=n.stringPad(c,i,"0")).length%6!==0)throw"Version must be smaller than 43.21.26)";return c.match(/.{1,6}/g).forEach((function(t){e+=r.base64Map[t]})),e}},63427:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAnalyticsOptions=function(t){var e={sdkSemver:t.sdkSemver,techVersion:t.techVersion,sdkCode:t.sdkCode,product:t.product,feature:"0",osType:t.osType,osVersion:t.osVersion};return t.accessibility&&(e.feature="D"),t.lazyload&&(e.feature="C"),t.responsive&&(e.feature="A"),t.placeholder&&(e.feature="B"),e}},89670:function(t,e,i){"use strict";var r=i(34406);Object.defineProperty(e,"__esModule",{value:!0});var n=i(54908),o=i(11855),a=i(63427),s=i(97765),u=i(85687);function c(){var t="0.0.0";if("undefined"!==typeof window)return t;try{return r.versions.node||t}catch(e){return t}}i(72238),i(56762),i(62127),i(76657),e.getSDKAnalyticsSignature=function(t){var e=function(t){var e={techVersion:c(),sdkCode:"T",sdkSemver:s.packageVersion.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?n.__assign(n.__assign({},e),t):e}(t),i=a.getAnalyticsOptions(e);try{var r=function(t){var e=t.split(".");return"".concat(e[0],".").concat(e[1])}(i.techVersion),l=o.encodeVersion(i.sdkSemver),f=o.encodeVersion(r),d=u.encodeOSVersion(i.osVersion),h=i.feature,p=i.sdkCode,g=i.product,y=i.osType;return"".concat("D").concat(g).concat(p).concat(l).concat(f).concat(y).concat(d).concat(h)}catch(m){return"E"}}},76657:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(56762);e.padVersion=function(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map((function(t){var e=+t;if(isNaN(e)||e<0)throw"Invalid version number provided";return r.stringPad(t,2,"0")})).join(".")}},62127:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.reverseVersion=function(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}},56762:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringPad=function(t,e,i){var r=e>>0,n=String("undefined"!==typeof i?i:" ");return t.length>r?String(t):((r-=t.length)>n.length&&(n+=function(t,e){var i=e,r="";for(;i>0;)r+=t,i--;return r}(n,r/n.length)),n.slice(0,r)+String(t))}},58778:function(t,e){"use strict";function i(){return"deuteranopia"}function r(){return"protanopia"}function n(){return"tritanopia"}function o(){return"tritanomaly"}function a(){return"deuteranomaly"}function s(){return"cone_monochromacy"}function u(){return"rod_monochromacy"}const c={coneMonochromacy:s,deuteranomaly:a,deuteranopia:i,protanopia:r,rodMonochromacy:u,tritanomaly:o,tritanopia:n};e.SimulateColorBlind=c,e.coneMonochromacy=s,e.deuteranomaly=a,e.deuteranopia=i,e.protanopia=r,e.rodMonochromacy=u,e.tritanomaly=o,e.tritanopia=n},17183:function(t,e,i){"use strict";var r=i(79078),n=i(67602),o=i(73619),a=i(83291),s=i(81888),u=i(27239);function c(t){return new n.ImageSource(t)}function l(t,e){return new s.TextSource(t,e)}function f(t){return new r.VideoSource(t)}function d(t){return new u.AudioSource(t)}function h(t){return new o.SubtitlesSource(t)}function p(t){return new a.FetchSource(t)}const g={image:c,text:l,video:f,subtitles:h,fetch:p,audio:d};e.Source=g,e.audio=d,e.fetch=p,e.image=c,e.subtitles=h,e.text=l,e.video=f},9255:function(t,e){"use strict";function i(){return"full_hd"}function r(){return"hd"}function n(){return"sd"}function o(){return"full_hd_wifi"}function a(){return"full_hd_lean"}function s(){return"hd_lean"}const u={hd:r,sd:n,hdLean:s,fullHd:i,fullHdLean:a,fullHdWifi:o};e.StreamingProfile=u,e.fullHd=i,e.fullHdLean=a,e.fullHdWifi=o,e.hd=r,e.hdLean=s,e.sd=n},74719:function(t,e){"use strict";function i(){return"left"}function r(){return"right"}function n(){return"center"}function o(){return"start"}function a(){return"end"}function s(){return"justify"}const u={left:i,right:r,center:n,end:a,justify:s,start:o};e.TextAlignment=u,e.center=n,e.end=a,e.justify=s,e.left=i,e.right=r,e.start=o},20833:function(t,e){"use strict";function i(){return""}function r(){return"underline"}function n(){return"strikethrough"}const o={normal:i,underline:r,strikethrough:n};e.TextDecoration=o,e.normal=i,e.strikethrough=n,e.underline=r},8980:function(t,e){"use strict";function i(t,e){return`bo_${t}px_solid_${e}`}const r={solid:i};e.Stroke=r,e.solid=i},60063:function(t,e,i){"use strict";var r=i(59167),n=i(29370),o=i(20833),a=i(28373),s=i(8980);function u(t=""){return t.replace(/,/g,"%2C").replace(/\//g,"%2F")}class c extends a.QualifierModel{constructor(t,e){if(super(),!t||!e)throw"You must provide a fontFamily and fontSize to a TextStyle";this._qualifierModel.fontFamily=t,this._qualifierModel.fontSize=e}lineSpacing(t){return this._qualifierModel.lineSpacing=t,this}letterSpacing(t){return this._qualifierModel.letterSpacing=t,this}fontAntialias(t){return this._qualifierModel.fontAntialias=t,this}fontFamily(t){return this._qualifierModel.fontFamily=t,this}fontSize(t){return this._qualifierModel.fontSize=t,this}fontWeight(t){return this._qualifierModel.fontWeight=t,this}fontStyle(t){return this._qualifierModel.fontStyle=t,this}fontHinting(t){return this._qualifierModel.fontHinting=t,this}textDecoration(t){return this._qualifierModel.textDecoration=t,this}textAlignment(t){return this._qualifierModel.textAlignment=t,this}stroke(t){if(t){const e=t.split("_");this._qualifierModel.stroke={width:+e[1].replace("px",""),color:e[e.length-1]}}else this._qualifierModel.stroke=!0;return this}toString(){const{stroke:t}=this._qualifierModel;let e="";var i;return t&&(e="object"===typeof(i=t)&&null!=i.width&&null!=i.color?`stroke_${s.solid(t.width,t.color)}`:"stroke"),[`${u(this._qualifierModel.fontFamily)}_${this._qualifierModel.fontSize}`,this._qualifierModel.fontWeight!==r.normal()&&this._qualifierModel.fontWeight,this._qualifierModel.fontStyle!==n.normal()&&this._qualifierModel.fontStyle,this._qualifierModel.textDecoration!==o.normal()&&this._qualifierModel.textDecoration,this._qualifierModel.textAlignment,e,this._qualifierModel.letterSpacing&&`letter_spacing_${this._qualifierModel.letterSpacing}`,this._qualifierModel.lineSpacing&&`line_spacing_${this._qualifierModel.lineSpacing}`,this._qualifierModel.fontAntialias&&`antialias_${this._qualifierModel.fontAntialias}`,this._qualifierModel.fontHinting&&`hinting_${this._qualifierModel.fontHinting}`].filter((t=>t)).join("_")}}e.TextStyle=c,e.serializeCloudinaryCharacters=u},63832:function(t,e){"use strict";e.toFloatAsString=function(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&"0"===e[0]?e:!isNaN(parseFloat(e))&&-1===e.indexOf(":")&&-1===e.indexOf(".")?`${e}.0`:e}},28798:function(t,e,i){"use strict";var r=i(66912),n=i(81354),o=i(10436),a=i(48759),s=i(30111),u=i(39762),c=i(18953),l=i(74068),f=i(76954);function d(t){return new o.AudioFrequencyAction(t)}function h(t){return new n.AudioCodecAction(t)}function p(t){return new r.BitRateAction(t)}function g(t){return new a.FPSAction(t)}function y(t,e){return new s.FPSRangeAction(t,e)}function m(t){return new u.KeyframeIntervalsAction(t)}function _(t){return new c.StreamingProfileAction(t)}function v(t=""){return new l.ToAnimatedAction(t)}function A(t){return new f.VideoCodecAction(t)}const E={bitRate:p,audioCodec:h,audioFrequency:d,fps:g,fpsRange:y,keyframeInterval:m,streamingProfile:_,toAnimated:v,videoCodec:A};e.Transcode=E,e.audioCodec=h,e.audioFrequency=d,e.bitRate=p,e.fps=g,e.fpsRange=y,e.keyframeInterval=m,e.streamingProfile=_,e.toAnimated=v,e.videoCodec=A},54908:function(t,e){"use strict";var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},i(t,e)};e.__assign=function(){return e.__assign=Object.assign||function(t){for(var e,i=1,r=arguments.length;i{if(e&&"object"===typeof e||"function"===typeof e)for(let n of s(e))c.call(t,n)||n===i||o(t,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return t},f=(t,e,i)=>(i=null!=t?n(u(t)):{},l(!e&&t&&t.__esModule?i:o(i,"default",{value:t,enumerable:!0}),t)),d=(t,e,i)=>(((t,e,i)=>{e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i})(t,"symbol"!==typeof e?e+"":e,i),i),h={};((t,e)=>{for(var i in e)o(t,i,{get:e[i],enumerable:!0})})(h,{InView:()=>w,defaultFallbackInView:()=>v,observe:()=>E,useInView:()=>b}),t.exports=(r=h,l(o({},"__esModule",{value:!0}),r));var p=f(i(2784)),g=new Map,y=new WeakMap,m=0,_=void 0;function v(t){_=t}function A(t){return Object.keys(t).sort().filter((e=>void 0!==t[e])).map((e=>{return`${e}_${"root"===e?(i=t.root,i?(y.has(i)||(m+=1,y.set(i,m.toString())),y.get(i)):"0"):t[e]}`;var i})).toString()}function E(t,e,i={},r=_){if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const n=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"===typeof i.threshold?i.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}const{id:n,observer:o,elements:a}=function(t){const e=A(t);let i=g.get(e);if(!i){const r=new Map;let n;const o=new IntersectionObserver((e=>{e.forEach((e=>{var i;const o=e.isIntersecting&&n.some((t=>e.intersectionRatio>=t));t.trackVisibility&&"undefined"===typeof e.isVisible&&(e.isVisible=o),null==(i=r.get(e.target))||i.forEach((t=>{t(o,e)}))}))}),t);n=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),i={id:e,observer:o,elements:r},g.set(e,i)}return i}(i),s=a.get(t)||[];return a.has(t)||a.set(t,s),s.push(e),o.observe(t),function(){s.splice(s.indexOf(e),1),0===s.length&&(a.delete(t),o.unobserve(t)),0===a.size&&(o.disconnect(),g.delete(n))}}var w=class extends p.Component{constructor(t){super(t),d(this,"node",null),d(this,"_unobserveCb",null),d(this,"handleNode",(t=>{this.node&&(this.unobserve(),t||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=t||null,this.observeNode()})),d(this,"handleChange",((t,e)=>{t&&this.props.triggerOnce&&this.unobserve(),function(t){return"function"!==typeof t.children}(this.props)||this.setState({inView:t,entry:e}),this.props.onChange&&this.props.onChange(t,e)})),this.state={inView:!!t.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;const{threshold:t,root:e,rootMargin:i,trackVisibility:r,delay:n,fallbackInView:o}=this.props;this._unobserveCb=E(this.node,this.handleChange,{threshold:t,root:e,rootMargin:i,trackVisibility:r,delay:n},o)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){const{children:t}=this.props;if("function"===typeof t){const{inView:e,entry:i}=this.state;return t({inView:e,entry:i,ref:this.handleNode})}const{as:e,triggerOnce:i,threshold:r,root:n,rootMargin:o,onChange:a,skip:s,trackVisibility:u,delay:c,initialInView:l,fallbackInView:f,...d}=this.props;return p.createElement(e||"div",{ref:this.handleNode,...d},t)}},R=f(i(2784));function b({threshold:t,delay:e,trackVisibility:i,rootMargin:r,root:n,triggerOnce:o,skip:a,initialInView:s,fallbackInView:u,onChange:c}={}){var l;const[f,d]=R.useState(null),h=R.useRef(),[p,g]=R.useState({inView:!!s,entry:void 0});h.current=c,R.useEffect((()=>{if(a||!f)return;let s;return s=E(f,((t,e)=>{g({inView:t,entry:e}),h.current&&h.current(t,e),e.isIntersecting&&o&&s&&(s(),s=void 0)}),{root:n,rootMargin:r,threshold:t,trackVisibility:i,delay:e},u),()=>{s&&s()}}),[Array.isArray(t)?t.toString():t,f,n,r,o,a,i,u,e]);const y=null==(l=p.entry)?void 0:l.target,m=R.useRef();f||!y||o||a||m.current===y||(m.current=y,g({inView:!!s,entry:void 0}));const _=[d,p.inView,p.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}}}]); //# sourceMappingURL=6406-ac01680bdcf3129d.js.map