"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8640],{27979:function(t,e,r){r.d(e,{mA:function(){return tF},pw:function(){return e$}});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},i={exports:{}};!function(t,e){var r,i="__lodash_hash_undefined__",o="[object Arguments]",s="[object Boolean]",a="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",h="[object Number]",d="[object Object]",f="[object Promise]",p="[object RegExp]",g="[object Set]",y="[object String]",_="[object Symbol]",v="[object WeakMap]",m="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",j="[object Int16Array]",O="[object Int32Array]",$="[object Uint8Array]",k="[object Uint8ClampedArray]",M="[object Uint16Array]",T="[object Uint32Array]",A=/\w*$/,E=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,L={};L[o]=L["[object Array]"]=L[m]=L[b]=L[s]=L[a]=L[w]=L[x]=L[S]=L[j]=L[O]=L[l]=L[h]=L[d]=L[p]=L[g]=L[y]=L[_]=L[$]=L[k]=L[M]=L[T]=!0,L["[object Error]"]=L[u]=L[v]=!1;var V="object"==typeof n&&n&&n.Object===Object&&n,P="object"==typeof self&&self&&self.Object===Object&&self,R=V||P||Function("return this")(),Q=e&&!e.nodeType&&e,q=Q&&t&&!t.nodeType&&t,F=q&&q.exports===Q;function I(t,e){return t.set(e[0],e[1]),t}function z(t,e){return t.add(e),t}function D(t,e,r,n){var i=-1,o=t?t.length:0;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}function J(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function U(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function N(t,e){return function(r){return t(e(r))}}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var G=Array.prototype,W=Function.prototype,H=Object.prototype,Y=R["__core-js_shared__"],X=(r=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Z=W.toString,K=H.hasOwnProperty,tt=H.toString,te=RegExp("^"+Z.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tr=F?R.Buffer:void 0,tn=R.Symbol,ti=R.Uint8Array,to=N(Object.getPrototypeOf,Object),ts=Object.create,ta=H.propertyIsEnumerable,tu=G.splice,tc=Object.getOwnPropertySymbols,tl=tr?tr.isBuffer:void 0,th=N(Object.keys,Object),td=tV(R,"DataView"),tf=tV(R,"Map"),tp=tV(R,"Promise"),tg=tV(R,"Set"),ty=tV(R,"WeakMap"),t_=tV(Object,"create"),tv=tq(td),tm=tq(tf),tb=tq(tp),tw=tq(tg),tx=tq(ty),tS=tn?tn.prototype:void 0,tj=tS?tS.valueOf:void 0;function tO(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function t$(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tk(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tM(t){this.__data__=new t$(t)}function tT(t,e,r){var n=t[e];K.call(t,e)&&tF(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function tA(t,e){for(var r=t.length;r--;)if(tF(t[r][0],e))return r;return -1}function tE(t){var e=new t.constructor(t.byteLength);return new ti(e).set(new ti(t)),e}function tC(t,e,r,n){r||(r={});for(var i=-1,o=e.length;++i<o;){var s=e[i],a=n?n(r[s],t[s],s,r,t):void 0;tT(r,s,void 0===a?t[s]:a)}return r}function tL(t,e){var r,n=t.__data__;return("string"==(r=typeof e)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function tV(t,e){var r=null==t?void 0:t[e];return!(!tU(r)||X&&X in r)&&(tJ(r)||J(r)?te:E).test(tq(r))?r:void 0}tO.prototype.clear=function(){this.__data__=t_?t_(null):{}},tO.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tO.prototype.get=function(t){var e=this.__data__;if(t_){var r=e[t];return r===i?void 0:r}return K.call(e,t)?e[t]:void 0},tO.prototype.has=function(t){var e=this.__data__;return t_?void 0!==e[t]:K.call(e,t)},tO.prototype.set=function(t,e){return this.__data__[t]=t_&&void 0===e?i:e,this},t$.prototype.clear=function(){this.__data__=[]},t$.prototype.delete=function(t){var e=this.__data__,r=tA(e,t);return!(r<0)&&(r==e.length-1?e.pop():tu.call(e,r,1),!0)},t$.prototype.get=function(t){var e=this.__data__,r=tA(e,t);return r<0?void 0:e[r][1]},t$.prototype.has=function(t){return tA(this.__data__,t)>-1},t$.prototype.set=function(t,e){var r=this.__data__,n=tA(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},tk.prototype.clear=function(){this.__data__={hash:new tO,map:new(tf||t$),string:new tO}},tk.prototype.delete=function(t){return tL(this,t).delete(t)},tk.prototype.get=function(t){return tL(this,t).get(t)},tk.prototype.has=function(t){return tL(this,t).has(t)},tk.prototype.set=function(t,e){return tL(this,t).set(t,e),this},tM.prototype.clear=function(){this.__data__=new t$},tM.prototype.delete=function(t){return this.__data__.delete(t)},tM.prototype.get=function(t){return this.__data__.get(t)},tM.prototype.has=function(t){return this.__data__.has(t)},tM.prototype.set=function(t,e){var r=this.__data__;if(r instanceof t$){var n=r.__data__;if(!tf||n.length<199)return n.push([t,e]),this;r=this.__data__=new tk(n)}return r.set(t,e),this};var tP=tc?N(tc,Object):function(){return[]},tR=function(t){return tt.call(t)};function tQ(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||H)}function tq(t){if(null!=t){try{return Z.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function tF(t,e){return t===e||t!=t&&e!=e}(td&&tR(new td(new ArrayBuffer(1)))!=b||tf&&tR(new tf)!=l||tp&&tR(tp.resolve())!=f||tg&&tR(new tg)!=g||ty&&tR(new ty)!=v)&&(tR=function(t){var e=tt.call(t),r=e==d?t.constructor:void 0,n=r?tq(r):void 0;if(n)switch(n){case tv:return b;case tm:return l;case tb:return f;case tw:return g;case tx:return v}return e});var tI=Array.isArray;function tz(t){var e;return null!=t&&"number"==typeof(e=t.length)&&e>-1&&e%1==0&&e<=9007199254740991&&!tJ(t)}var tD=tl||function(){return!1};function tJ(t){var e=tU(t)?tt.call(t):"";return e==u||e==c}function tU(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function tN(t){return tz(t)?function(t,e){var r,n=tI(t)||t&&"object"==typeof t&&tz(t)&&K.call(t,"callee")&&(!ta.call(t,"callee")||tt.call(t)==o)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],i=n.length,s=!!i;for(var a in t)K.call(t,a)&&!(s&&("length"==a||(r=null==(r=i)?9007199254740991:r)&&("number"==typeof a||C.test(a))&&a>-1&&a%1==0&&a<r))&&n.push(a);return n}(t):function(t){if(!tQ(t))return th(t);var e=[];for(var r in Object(t))K.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return function t(e,r,n,i,f,v,E){if(i&&(C=v?i(e,f,v,E):i(e)),void 0!==C)return C;if(!tU(e))return e;var C,V=tI(e);if(V){if(P=e.length,R=e.constructor(P),P&&"string"==typeof e[0]&&K.call(e,"index")&&(R.index=e.index,R.input=e.input),C=R,!r)return function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}(e,C)}else{var P,R,Q,q,F,N,G=tR(e),W=G==u||G==c;if(tD(e))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(e,r);if(G==d||G==o||W&&!v){if(J(e))return v?e:{};if(C="function"!=typeof(Q=W?{}:e).constructor||tQ(Q)?{}:tU(q=to(Q))?ts(q):{},!r)return F=(N=C)&&tC(e,tN(e),N),tC(e,tP(e),F)}else{if(!L[G])return v?e:{};C=function(t,e,r,n){var i,o,u,c=t.constructor;switch(e){case m:return tE(t);case s:case a:return new c(+t);case b:return i=n?tE(t.buffer):t.buffer,new t.constructor(i,t.byteOffset,t.byteLength);case w:case x:case S:case j:case O:case $:case k:case M:case T:return o=n?tE(t.buffer):t.buffer,new t.constructor(o,t.byteOffset,t.length);case l:return D(n?r(U(t),!0):U(t),I,new t.constructor);case h:case y:return new c(t);case p:return(u=new t.constructor(t.source,A.exec(t))).lastIndex=t.lastIndex,u;case g:return D(n?r(B(t),!0):B(t),z,new t.constructor);case _:return tj?Object(tj.call(t)):{}}}(e,G,t,r)}}E||(E=new tM);var H=E.get(e);if(H)return H;if(E.set(e,C),!V){var Y,X,Z=n?(X=tN(Y=e),tI(Y)?X:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(X,tP(Y))):tN(e)}return!function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(Z||e,function(o,s){Z&&(o=e[s=o]),tT(C,s,t(o,r,n,i,s,e,E))}),C}(t,!0,!0)}}(i,i.exports);var o=i.exports,s=function(){return(s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,r,n,i){var o,s,a,u;return o=this,s=void 0,a=void 0,u=function(){var o,s;return function(t,e){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(a){switch(a.label){case 0:if(void 0===r)return[2];s=0,a.label=1;case 1:if(!(s<r.length))return[3,4];return[4,r[s](t,e,n,i,r)];case 2:if("canceled"===(o=a.sent()))return[3,4];a.label=3;case 3:return s++,[3,1];case 4:if("canceled"!==o)return[2,o];return[2]}})},new(a||(a=Promise))(function(t,e){function r(t){try{i(u.next(t))}catch(t){e(t)}}function n(t){try{i(u.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):((i=e.value)instanceof a?i:new a(function(t){t(i)})).then(r,n)}i((u=u.apply(o,s||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var u=function(t,e){return void 0===e&&(e={}),t?{trackedAnalytics:s({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},c=function(){function t(t,e,r,n){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=o(e);a(t,s,r,this.htmlPluginState,n).then(function(t){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(t){t()});var e=u(n,t);i.imgElement.setAttribute("src",s.toURL(e))}})}return t.prototype.update=function(t,e,r){var n=this,i=o(t);a(this.imgElement,i,e,this.htmlPluginState).then(function(t){if(n.isMounted){var e=u(r,t);n.imgElement.setAttribute("src",i.toURL(e))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();class l{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return 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}}class h extends Error{constructor(t="Unsupported"){super(t)}}function d(){return this._qualifierModel||{error:new h(`unsupported qualifier ${this.constructor.name}`)}}class f{constructor(){this._qualifierModel={}}toJson(){return d.apply(this)}}class p extends f{constructor(t,e){super(),this.delimiter="_",this.key=t,e instanceof l?this.qualifierValue=e:(this.qualifierValue=new l,this.qualifierValue.addValue(e))}toString(){let{key:t,delimiter:e,qualifierValue:r}=this;return`${t}${e}${r.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class g extends p{constructor(t,e){super("fl",e?new l([t,`${e}`]).setDelimiter(":"):t),this.flagValue=e}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}}function y(){var t,e,r;let n=this._actionModel&&Object.keys(this._actionModel).length,i=null===(r=null===(e=null===(t=this._actionModel)||void 0===t?void 0:t.source)||void 0===e?void 0:e.transformation)||void 0===r?void 0:r.error;return i&&i instanceof Error?{error:i}:n?this._actionModel:{error:new h(`unsupported action ${this.constructor.name}`)}}class _{constructor(){this._actionModel={}}toJson(){return y.apply(this)}}class v extends _{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),(function(t,e){let r=Array.from(t.entries());return e.forEach(t=>{r.push(["fl",t])}),r.sort().map(t=>t[1])})(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if("string"==typeof t){let[e,r]=t.toLowerCase().split("_");"fl"===e?this.flags.push(new g(r)):this.qualifiers.set(e,new p(e,r))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return"string"==typeof t?this.flags.push(new g(t)):t instanceof g&&this.flags.push(t),this}addValueToQualifier(t,e){return this.qualifiers.get(t).addValue(e),this}}class m extends v{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class b extends m{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new p("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new p("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new p("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new p("h",t)),this}static fromJson(t){let e=new b;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 w(){return new m("faces")}class x extends v{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(){let t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(t=>this.addQualifier(t)),"custom"===this._region.regionType&&this.addQualifier(new p("e",`blur_region${t}`)),"ocr_text"===this._region.regionType&&(this.addQualifier(new p("e",`blur_region${t}`)),this.addQualifier(new p("g","ocr_text"))),"faces"===this._region.regionType&&this.addQualifier(new p("e",`blur_faces${t}`))):this.addQualifier(new p("e",`blur${t}`))}static fromJson(t){let{strength:e,region:r}=t,n=new this(e);return e&&n.strength(e),r&&"faces"===r.regionType&&n.region(w()),r&&"ocr_text"===r.regionType&&n.region(new m("ocr_text")),r&&"custom"===r.regionType&&n.region(b.fromJson(r)),n}}function S(t){let e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}let j={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},O={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},$={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},k={444:"CHROMA_444",420:"CHROMA_420"},M=S(k);S({noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"});let T=S(j),A=S({colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"}),E=S(O);S($),S({fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"});class C extends v{constructor(t,e){super(),this._actionModel={},this._actionModel.actionType=E[t]||t;let r=this.createEffectQualifier(t,e);this.addQualifier(r)}createEffectQualifier(t,e){return new p("e",e?new l([t,`${e}`]).setDelimiter(":"):new l(t))}static fromJson(t){let{actionType:e,level:r,strength:n}=t;return new this(O[e]||e,r||n)}}class L extends C{constructor(t,e){super(t,e),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=E[t]||t,e&&this.setLevel(e)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;let e=this.createEffectQualifier(this.effectType,t);return this.addQualifier(e),this}}function V(t){return t&&t.match(/^#/)?`rgb:${t.substr(1)}`:t}class P extends v{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 l(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new l(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new l(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new l(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new l(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new p("e",t))}static fromJson(t){let{actionType:e,paths:r,cornersLevel:n,despeckleLevel:i,detailLevel:o,numOfColors:s}=t,a=new this;return r&&a.paths(r),n&&a.cornersLevel(n),i&&a.despeckleLevel(i),o&&a.detailsLevel(o),s&&a.numOfColors(s),a}}class R extends L{level(t){return this._actionModel.level=t,this.setLevel(t)}}class Q extends v{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new p("e",new l("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new p("e",new l(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new p("e",new l(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){let{actionType:e,type:r,stripesStrength:n}=t,i=new this;return"xray"===r&&i.xray(),"stripes"===r&&n&&i.stripesStrength(n),i}}class q extends R{color(t){return this._actionModel.color=t,this.addQualifier(new p("co",new l(V(t))))}static fromJson(t){let{actionType:e,level:r,color:n}=t,i=new this(e,r);return n&&i.color(n),i}}class F extends v{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(){let t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(t=>this.addQualifier(t)),"custom"===this._region.regionType&&this.addQualifier(new p("e",`pixelate_region${t}`)),"ocr_text"===this._region.regionType&&(this.addQualifier(new p("e",`pixelate_region${t}`)),this.addQualifier(new p("g","ocr_text"))),"faces"===this._region.regionType&&this.addQualifier(new p("e",`pixelate_faces${t}`))):this.addQualifier(new p("e",`pixelate${t}`))}static fromJson(t){let{region:e,squareSize:r}=t,n=new this(r);return r&&n.squareSize(r),e&&"faces"===e.regionType&&n.region(w()),e&&"custom"===e.regionType&&n.region(new b),n}}function I(t){return new q("colorize",t)}class z extends v{constructor(t){super(),this._actionModel={},this.addQualifier(new p("b",new l(V(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){let{color:e}=t;return new this(e)}}class D{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:new h(`unsupported action ${this.constructor.name}`)}}}class J extends l{constructor(t){super(t),this.val=t}getValue(){return this.val}}class U extends v{constructor(t,e,r){let n;super(),this._actionModel={},n=e instanceof J?e.getValue():e,this._actionModel.actionType=A[t],this._actionModel[r]=n,this.addQualifier(new p(t,e))}}class N extends g{constructor(t){super("progressive",t)}}class B extends U{constructor(t,e){super(t,e,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(new g("lossy")),this}progressive(t){return t instanceof N?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(new g("progressive",t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(new g("preserve_transparency")),this}static fromJson(t){let e;let{formatType:r,lossy:n,progressive:i,preserveTransparency:o}=t;return e=r?new this("f",r):new this("f"),i&&(i.mode?e.progressive(i.mode):e.progressive()),n&&e.lossy(),o&&e.preserveTransparency(),e}}class G{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 D(t)}else e=t;return this.actions.push(e),this}addTransformation(t){return t instanceof G?this.actions=this.actions.concat(t.actions):this.actions.push(new D(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 B("q",t)),this}format(t){return this.addAction(new B("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 z(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){let e=new v,r=t;return"string"==typeof t&&(r=new g(t)),e.addQualifier(r),this.addAction(e)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){let t=[];for(let e of this.actions){let r=e.toJson();if("error"in r&&r.error)return r;t.push(r)}return{actions:t}}}function W(t){let 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:`${e}.0`}class H extends l{}class Y extends v{constructor(t,e,r){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=T[t]||t,this.addQualifier(new p("c",t)),e&&this.width(e),r&&this.height(r)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new p("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new p("w",t))}aspectRatio(t){return t instanceof H?(this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new p("ar",t))):"number"==typeof t||"string"==typeof t?(this._actionModel.dimensions.aspectRatio=W(t),this.addQualifier(new p("ar",W(t)))):t instanceof g?(this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)):void 0}relative(){return this._actionModel.relative=!0,this.addFlag(new g("relative"))}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(new g("region_relative"))}static fromJson(t){let{actionType:e,dimensions:r,relative:n,regionRelative:i}=t,{aspectRatio:o,width:s,height:a}=r,u=new this(j[e]||e,s,a);return o&&u.aspectRatio("ignore_aspect_ratio"===o?new g("ignore_aspect_ratio"):o),n&&u.relative(),i&&u.regionRelative(),u}}class X extends p{constructor(t){super("g",new l(t))}}class Z extends X{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class K extends X{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class tt extends X{constructor(t){super(t)}}function te(...t){return new K([...t])}class tr extends l{constructor(t){super(),this.name=t}toString(){return this.name}}function tn(t){return`${t}`.replace("g_","")}function ti(t){let e=t.toString().split("_"),r={object:e[0]};return e.length>1&&("avoid"===e[1]?r.avoid=!0:r.weight=+e[1]),r}function to(t){let e="auto"===t?new Z:t;return{gravityType:"auto",autoFocus:(`${t}`.startsWith("auto:")?`${t}`.split(":").filter(t=>"auto"!==t):e.qualifierValue.values.filter(t=>"auto"!==t)).map(ti)}}class ts extends l{constructor(t,e){super(),this._weight=e,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,e){return new ts(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}}class ta extends l{constructor(t){super(),this.val=t}toString(){return this.val}}function tu(t){let{object:e,weight:r,avoid:n}=t,i=new ts(new tr(e));return(r||0===r)&&i.weight(r),n&&i.avoid(),i}function tc(t){let e=(t.autoFocus||[]).map(tu);return new Z().autoFocus(...e)}class tl extends Y{gravity(t){var e;this._actionModel.gravity=["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(tn(e=t))?{compass:tn(e),gravityType:"direction"}:"ocr_text"===tn(e)?{gravityType:"ocr"}:e&&"auto"===`${e}`.split(":")[0]||"auto"===`${e.qualifierValue}`.split(":")[0]?to(e):function(t){let e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,n={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(t=>`${t}`)};if(e){let t=r[r.length-1].values.slice(1),e=new Z().autoFocus(...t);n.fallbackGravity=to(e)}return n}("string"==typeof e?new K(e.split(":").map(t=>new tr(t))):e);let r="string"==typeof t?new p("g",t):t;return this.addQualifier(r)}static fromJson(t){var e;let r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity("direction"===(e=t.gravity).gravityType?new tt(new ta(e.compass)):"ocr"===e.gravityType?te(new tr("ocr_text")):"auto"===e.gravityType?tc(e):function(t){let e=te(...(t.focusOnObjects||[]).map(t=>new tr(t)));if(t.fallbackGravity){let r=tc(t.fallbackGravity);e.fallbackGravity(r)}return e}(e)),r}}class th extends p{constructor(t){super("b"),t&&this.addValue(t)}}class td extends th{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){let t=void 0!==this.intensityLevel?`:${this.intensityLevel}`:"",e=void 0!==this.brightnessLevel?void 0!==this.intensityLevel?`:${this.brightnessLevel}`:`:100:${this.brightnessLevel}`:"";return`b_blurred${t}${e}`}}class tf extends th{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(t=>V(t)),this}}class tp extends tf{toString(){return`
    b_auto:border
    ${this._contrast?"_contrast":""}
    ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
    `.replace(/\s+/g,"")}}class tg extends tf{gradientColors(t){return this._gradientColors=t,this}gradientDirection(t){return this._gradientDirection=t,this}}class ty extends tg{toString(){return`
    b_auto:border_gradient
    ${this._contrast?"_contrast":""}
    ${this._gradientColors?`:${this._gradientColors}`:""}
    ${this._gradientDirection?`:${this._gradientDirection}`:""}
    ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
    `.replace(/\s+/g,"")}}class t_ extends tg{toString(){return`
    b_auto:predominant_gradient
    ${this._contrast?"_contrast":""}
    ${this._gradientColors?`:${this._gradientColors}`:""}
    ${this._gradientDirection?`:${this._gradientDirection}`:""}
    ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
    `.replace(/\s+/g,"")}}class tv extends tf{toString(){return`
    b_auto:predominant
    ${this._contrast?"_contrast":""}
    ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
    `.replace(/\s+/g,"")}}class tm extends th{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 tb(t){return`${t}`.replace("b_","")}function tw(t){let e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function tx(t){let e=t._gradientColors,r=`${t._gradientDirection}`,n=tw(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function tS(){return new J("auto")}function tj(){return new th("auto")}function tO(t,e){let{gradientColors:r,gradientDirection:n,contrast:i,palette:o}=e;return i&&t.contrast(),o&&t.palette(...o),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function t$(t,e){let{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}class tk extends tl{background(t){var e;return this._actionModel.background="auto"===tb(e=t)?{backgroundType:"auto"}:e instanceof td?function(t){let{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||0===e)&&(n.intensity=e),(r||0===r)&&(n.brightness=r),n}(e):e instanceof tp?Object.assign(Object.assign({},tw(e)),{backgroundType:"border"}):e instanceof ty?Object.assign(Object.assign({},tx(e)),{backgroundType:"borderGradient"}):e instanceof tv?Object.assign(Object.assign({},tw(e)),{backgroundType:"predominant"}):e instanceof t_?Object.assign(Object.assign({},tx(e)),{backgroundType:"predominantGradient"}):e instanceof tm?Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{}):{backgroundType:"color",color:tb(e)},this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new p("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new p("y",t))}static fromJson(t){let e=super.fromJson.apply(this,[t]);return t.background&&e.background(function(t){let{backgroundType:e}=t;switch(e){case"auto":return tj();case"blurred":return function(t){let{brightness:e,intensity:r}=t,n=new td;return n.brightness(null!=e?e:0),n.intensity(null!=r?r:100),n}(t);case"border":return t$(new tp,t);case"borderGradient":return tO(new ty,t);case"predominant":return t$(new tv,t);case"predominantGradient":return tO(new t_,t);case"generativeFill":return function(t,e){let{prompt:r}=e;return r&&t.prompt(r),t}(new tm,t);default:return new th(V(t.color))}}(t.background)),t.x&&e.offsetX(t.x),t.y&&e.offsetY(t.y),t.zoom&&e.zoom(t.zoom),e}}class tM extends tl{x(t){return this._actionModel.x=t,this.addQualifier(new p("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new p("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new p("z",t))}static fromJson(t){let e=super.fromJson.apply(this,[t]);return t.x&&e.x(t.x),t.y&&e.y(t.y),t.zoom&&e.zoom(t.zoom),e}}class tT extends tl{x(t){return this._actionModel.x=t,this.addQualifier(new p("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new p("y",t))}static fromJson(t){let e=super.fromJson.apply(this,[t]);return t.x&&e.x(t.x),t.y&&e.y(t.y),e}}class tA extends U{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=k[t];let e=new l([this._actionModel.level,t]);return e.setDelimiter(":"),this.addQualifier(new p("q",e))}quantization(t){this._actionModel.quantization=t;let e=new l([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new p("q",e))}static fromJson(t){let{level:e,chromaSubSampling:r,quantization:n}=t,i=new this($[e]||e);if(r){let t=M[r.toUpperCase()];t&&i.chromaSubSampling(+t)}return n&&i.quantization(n),i}}function tE(t){return new B("f",t)}function tC(t){return new tA(t)}I(70).color("black"),I(40).color("white"),new C("grayscale"),new Q,new G().effect(new P).delivery(tC("auto")).delivery(tE(new J("svg"))),new G().effect(new F(void 0)).delivery(tC("auto")).delivery(tE(tS())),new G().effect(new x(2e3)).delivery(tC("auto")).delivery(tE(tS())),new G().resize(new tk("pad","iw_div_2",void 0).aspectRatio(1).background(tj())).resize(new tM("crop",1,1).gravity(new tt(new ta("north_east")))).resize(new tT("fill",void 0,void 0).height("ih").width("iw")).delivery(tC("auto")).delivery(tE(tS()));var tL={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},tV="?_a=",tP=function(){function t(t,e,r,n,i,s,u){var c=this;this.mimeType="video",this.mimeSubTypes=tL,this.videoElement=t,this.originalVideo=e,this.videoOptions=u,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var l=o(e);a(t,e,n,this.htmlPluginState).then(function(){c.htmlPluginState.pluginEventSubscription.forEach(function(t){t()}),c.setVideoAttributes(i,s),c.handleSourceToVideo(l,r)})}return t.prototype.handleSourceToVideo=function(t,e){var r=this;e?this.generateUserSources(t,e):["webm","mp4","ogv"].forEach(function(e){r.appendSourceTag(o(t),e)})},t.prototype.generateUserSources=function(t,e){var r=this;e.map(function(e){var n=e.type,i=e.codecs,s=e.transcode;return r.appendSourceTag(o(t).transcode(s),n,r.buildMimeType(n,i))})},t.prototype.appendSourceTag=function(t,e,r){var n,i=document.createElement("source"),o=null===(n=this.videoOptions)||void 0===n?void 0:n.useFetchFormat;o&&t.format(e);var s=t.toURL().split(tV),a=s[1]?"".concat(tV).concat(s[1]):"",u=o?"":".".concat(e);i.src="".concat(s[0]).concat(u).concat(a),i.type=r||"video/".concat(tL[e]||e),this.videoElement.appendChild(i)},t.prototype.buildMimeType=function(t,e){var r="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return e&&(r+="; codecs="+(Array.isArray(e)?e.join(", "):e)),r},t.prototype.setVideoAttributes=function(t,e){var r;if(void 0===t&&(t={}),"auto"===e){var n=o(this.originalVideo);t.poster=n.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else e&&(t.poster=null===(r=e.toURL)||void 0===r?void 0:r.call(e));for(var i=0,s=Object.entries(t);i<s.length;i++){var a=s[i],u=a[0],c=a[1];c&&this.videoElement.setAttribute(u,"poster"===u?c:"")}},t.prototype.update=function(t,e,r,n,i){var o=this;if(t!==this.originalVideo){for(var s=this.videoElement.getElementsByTagName("SOURCE");s[0];)s[0].parentNode.removeChild(s[0]);a(this.videoElement,t,r,this.htmlPluginState).then(function(){o.setVideoAttributes(n,i),o.handleSourceToVideo(t,e),o.videoElement.load()})}},t}(),tR="object"==typeof n&&n&&n.Object===Object&&n,tQ="object"==typeof self&&self&&self.Object===Object&&self;function tq(){return"undefined"!=typeof window}function tF(t){var e=void 0===t?{}:t,r=e.rootMargin,n=e.threshold;return tI.bind(null,void 0===r?"0px":r,void 0===n?.1:n)}function tI(t,e,r,n,i,o){return void 0===t&&(t="0px"),void 0===e&&(e=.1),!!tq()&&new Promise(function(n){var o=function(t,e,r,n){try{if(!(window&&"IntersectionObserver"in window))return e(),function(){};var i=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(i.unobserve(t.target),e())})},{rootMargin:r,threshold:n});return i.observe(t),function(){t&&i.observe(t)}}catch(t){e()}}(r,function(){return n({lazyload:!0})},t,e);i.cleanupCallbacks.push(function(){o(),n("canceled")})})}function tz(t){t.cleanupCallbacks.forEach(function(t){t()})}tR||tQ||Function("return this")(),Object.prototype.toString;var tD=function(t,e){return(tD=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function tJ(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}tD(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var tU=function(){return(tU=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function tN(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}"function"==typeof SuppressedError&&SuppressedError;var tB={exports:{}},tG={},tW=Object.getOwnPropertySymbols,tH=Object.prototype.hasOwnProperty,tY=Object.prototype.propertyIsEnumerable,tX=!function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(t){return!1}}()?function(t,e){for(var r,n,i=function(t){if(null==t)throw TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),o=1;o<arguments.length;o++){for(var s in r=Object(arguments[o]))tH.call(r,s)&&(i[s]=r[s]);if(tW){n=tW(r);for(var a=0;a<n.length;a++)tY.call(r,n[a])&&(i[n[a]]=r[n[a]])}}return i}:Object.assign,tZ="function"==typeof Symbol&&Symbol.for,tK=tZ?Symbol.for("react.element"):60103,t0=tZ?Symbol.for("react.portal"):60106,t1=tZ?Symbol.for("react.fragment"):60107,t2=tZ?Symbol.for("react.strict_mode"):60108,t4=tZ?Symbol.for("react.profiler"):60114,t6=tZ?Symbol.for("react.provider"):60109,t3=tZ?Symbol.for("react.context"):60110,t9=tZ?Symbol.for("react.forward_ref"):60112,t7=tZ?Symbol.for("react.suspense"):60113,t5=tZ?Symbol.for("react.memo"):60115,t8=tZ?Symbol.for("react.lazy"):60116,et="function"==typeof Symbol&&Symbol.iterator;function ee(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var er={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},en={};function ei(t,e,r){this.props=t,this.context=e,this.refs=en,this.updater=r||er}function eo(){}function es(t,e,r){this.props=t,this.context=e,this.refs=en,this.updater=r||er}ei.prototype.isReactComponent={},ei.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(ee(85));this.updater.enqueueSetState(this,t,e,"setState")},ei.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},eo.prototype=ei.prototype;var ea=es.prototype=new eo;ea.constructor=es,tX(ea,ei.prototype),ea.isPureReactComponent=!0;var eu={current:null},ec=Object.prototype.hasOwnProperty,el={key:!0,ref:!0,__self:!0,__source:!0};function eh(t,e,r){var n,i={},o=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(o=""+e.key),e)ec.call(e,n)&&!el.hasOwnProperty(n)&&(i[n]=e[n]);var a=arguments.length-2;if(1===a)i.children=r;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(n in a=t.defaultProps)void 0===i[n]&&(i[n]=a[n]);return{$$typeof:tK,type:t,key:o,ref:s,props:i,_owner:eu.current}}function ed(t){return"object"==typeof t&&null!==t&&t.$$typeof===tK}var ef=/\/+/g,ep=[];function eg(t,e,r,n){if(ep.length){var i=ep.pop();return i.result=t,i.keyPrefix=e,i.func=r,i.context=n,i.count=0,i}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function ey(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>ep.length&&ep.push(t)}function e_(t,e,r){return null==t?0:function t(e,r,n,i){var o=typeof e;("undefined"===o||"boolean"===o)&&(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case tK:case t0:s=!0}}if(s)return n(i,e,""===r?"."+ev(e,0):r),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var a=0;a<e.length;a++){var u=r+ev(o=e[a],a);s+=t(o,u,n,i)}else if("function"==typeof(u=null===e||"object"!=typeof e?null:"function"==typeof(u=et&&e[et]||e["@@iterator"])?u:null))for(e=u.call(e),a=0;!(o=e.next()).done;)u=r+ev(o=o.value,a++),s+=t(o,u,n,i);else if("object"===o)throw Error(ee(31,"[object Object]"==(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}(t,"",e,r)}function ev(t,e){var r,n;return"object"==typeof t&&null!==t&&null!=t.key?(r=t.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,function(t){return n[t]})):e.toString(36)}function em(t,e){t.func.call(t.context,e,t.count++)}function eb(t,e,r){var n,i,o=t.result,s=t.keyPrefix;Array.isArray(t=t.func.call(t.context,e,t.count++))?ew(t,o,r,function(t){return t}):null!=t&&(ed(t)&&(n=t,i=s+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(ef,"$&/")+"/")+r,t={$$typeof:tK,type:n.type,key:i,ref:n.ref,props:n.props,_owner:n._owner}),o.push(t))}function ew(t,e,r,n,i){var o="";null!=r&&(o=(""+r).replace(ef,"$&/")+"/"),e_(t,eb,e=eg(e,o,n,i)),ey(e)}var ex={current:null};function eS(){var t=ex.current;if(null===t)throw Error(ee(321));return t}tG.Children={map:function(t,e,r){if(null==t)return t;var n=[];return ew(t,n,null,e,r),n},forEach:function(t,e,r){if(null==t)return t;e_(t,em,e=eg(null,null,e,r)),ey(e)},count:function(t){return e_(t,function(){return null},null)},toArray:function(t){var e=[];return ew(t,e,null,function(t){return t}),e},only:function(t){if(!ed(t))throw Error(ee(143));return t}},tG.Component=ei,tG.Fragment=t1,tG.Profiler=t4,tG.PureComponent=es,tG.StrictMode=t2,tG.Suspense=t7,tG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:ex,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:eu,IsSomeRendererActing:{current:!1},assign:tX},tG.cloneElement=function(t,e,r){if(null==t)throw Error(ee(267,t));var n=tX({},t.props),i=t.key,o=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(o=e.ref,s=eu.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(u in e)ec.call(e,u)&&!el.hasOwnProperty(u)&&(n[u]=void 0===e[u]&&void 0!==a?a[u]:e[u])}var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){a=Array(u);for(var c=0;c<u;c++)a[c]=arguments[c+2];n.children=a}return{$$typeof:tK,type:t.type,key:i,ref:o,props:n,_owner:s}},tG.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:t3,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:t6,_context:t},t.Consumer=t},tG.createElement=eh,tG.createFactory=function(t){var e=eh.bind(null,t);return e.type=t,e},tG.createRef=function(){return{current:null}},tG.forwardRef=function(t){return{$$typeof:t9,render:t}},tG.isValidElement=ed,tG.lazy=function(t){return{$$typeof:t8,_ctor:t,_status:-1,_result:null}},tG.memo=function(t,e){return{$$typeof:t5,type:t,compare:void 0===e?null:e}},tG.useCallback=function(t,e){return eS().useCallback(t,e)},tG.useContext=function(t,e){return eS().useContext(t,e)},tG.useDebugValue=function(){},tG.useEffect=function(t,e){return eS().useEffect(t,e)},tG.useImperativeHandle=function(t,e,r){return eS().useImperativeHandle(t,e,r)},tG.useLayoutEffect=function(t,e){return eS().useLayoutEffect(t,e)},tG.useMemo=function(t,e){return eS().useMemo(t,e)},tG.useReducer=function(t,e,r){return eS().useReducer(t,e,r)},tG.useRef=function(t){return eS().useRef(t)},tG.useState=function(t){return eS().useState(t)},tG.version="16.14.0",Function.call.bind(Object.prototype.hasOwnProperty),tB.exports=tG;var ej=tB.exports,eO={sdkSemver:"1.13.0",techVersion:ej.version,sdkCode:"J"},e$=function(t){function e(e){var r=t.call(this,e)||this;return r.imageRef=ej.createRef(),r}return tJ(e,t),e.prototype.componentDidMount=function(){this.htmlLayerInstance=new c(this.imageRef.current,this.props.cldImg,this.props.plugins,eO)},e.prototype.componentDidUpdate=function(){tz(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,eO)},e.prototype.componentWillUnmount=function(){tz(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var t=this.props;t.cldImg,t.plugins;var e=tN(t,["cldImg","plugins"]);if(tq())return ej.createElement("img",tU({suppressHydrationWarning:!0},e,{ref:this.imageRef}));var r=function(t,e,r){var n=o(e);if(t)for(var i=0;i<t.length&&t[i](null,n);i++);return n.toURL(r?{trackedAnalytics:r}:null)}(this.props.plugins,this.props.cldImg,eO);return ej.createElement("img",tU({},e,{src:r}))},e}(ej.Component),ek=["controls","loop","muted","poster","preload","autoplay","playsinline"];!function(t){function e(e){var r=t.call(this,e)||this;return r.videoRef=tB.exports.createRef(),r.attachRef=r.attachRef.bind(r),r}tJ(e,t),e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new tP(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},e.prototype.componentDidUpdate=function(){tz(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){tz(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var t=this,e={};return ek.forEach(function(r){r in t.props&&(e[r]=t.props[r])}),e},e.prototype.attachRef=function(t){this.videoRef.current=t;var e=this.props.innerRef;e&&(e instanceof Function?e(t):e.current=t)},e.prototype.render=function(){var t=this.props;t.cldVid,t.cldPoster,t.plugins,t.sources,t.innerRef,t.useFetchFormat;var e=tN(t,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return ej.createElement("video",tU({},e,{ref:this.attachRef}))}}(tB.exports.Component)}}]);