@fluidattacks/design 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/design.js ADDED
@@ -0,0 +1,77 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Gt=require("react");var Ir={exports:{}},Bt={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var bn;function Qi(){if(bn)return Bt;bn=1;var t=Gt,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(v,y,m){var E,Q={},Y=null,pe=null;m!==void 0&&(Y=""+m),y.key!==void 0&&(Y=""+y.key),y.ref!==void 0&&(pe=y.ref);for(E in y)n.call(y,E)&&!c.hasOwnProperty(E)&&(Q[E]=y[E]);if(v&&v.defaultProps)for(E in y=v.defaultProps,y)Q[E]===void 0&&(Q[E]=y[E]);return{$$typeof:e,type:v,key:Y,ref:pe,props:Q,_owner:s.current}}return Bt.Fragment=r,Bt.jsx=d,Bt.jsxs=d,Bt}var Yt={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var wn;function Bi(){return wn||(wn=1,process.env.NODE_ENV!=="production"&&function(){var t=Gt,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),v=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),Re=Symbol.iterator,we="@@iterator";function Qe(a){if(a===null||typeof a!="object")return null;var p=Re&&a[Re]||a[we];return typeof p=="function"?p:null}var J=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function q(a){{for(var p=arguments.length,_=new Array(p>1?p-1:0),T=1;T<p;T++)_[T-1]=arguments[T];yt("error",a,_)}}function yt(a,p,_){{var T=J.ReactDebugCurrentFrame,$=T.getStackAddendum();$!==""&&(p+="%s",_=_.concat([$]));var j=_.map(function(R){return String(R)});j.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,j)}}var tt=!1,rt=!1,Be=!1,nt=!1,it=!1,ot;ot=Symbol.for("react.module.reference");function z(a){return!!(typeof a=="string"||typeof a=="function"||a===n||a===c||it||a===s||a===m||a===E||nt||a===pe||tt||rt||Be||typeof a=="object"&&a!==null&&(a.$$typeof===Y||a.$$typeof===Q||a.$$typeof===d||a.$$typeof===v||a.$$typeof===y||a.$$typeof===ot||a.getModuleId!==void 0))}function Ye(a,p,_){var T=a.displayName;if(T)return T;var $=p.displayName||p.name||"";return $!==""?_+"("+$+")":_}function st(a){return a.displayName||"Context"}function K(a){if(a==null)return null;if(typeof a.tag=="number"&&q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case n:return"Fragment";case r:return"Portal";case c:return"Profiler";case s:return"StrictMode";case m:return"Suspense";case E:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case v:var p=a;return st(p)+".Consumer";case d:var _=a;return st(_._context)+".Provider";case y:return Ye(a,a.render,"ForwardRef");case Q:var T=a.displayName||null;return T!==null?T:K(a.type)||"Memo";case Y:{var $=a,j=$._payload,R=$._init;try{return K(R(j))}catch{return null}}}return null}var se=Object.assign,Ee=0,W,ge,Te,ve,M,Ge,Pe;function P(){}P.__reactDisabledLog=!0;function at(){{if(Ee===0){W=console.log,ge=console.info,Te=console.warn,ve=console.error,M=console.group,Ge=console.groupCollapsed,Pe=console.groupEnd;var a={configurable:!0,enumerable:!0,value:P,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Ee++}}function ut(){{if(Ee--,Ee===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},a,{value:W}),info:se({},a,{value:ge}),warn:se({},a,{value:Te}),error:se({},a,{value:ve}),group:se({},a,{value:M}),groupCollapsed:se({},a,{value:Ge}),groupEnd:se({},a,{value:Pe})})}Ee<0&&q("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xe=J.ReactCurrentDispatcher,We;function Oe(a,p,_){{if(We===void 0)try{throw Error()}catch($){var T=$.stack.trim().match(/\n( *(at )?)/);We=T&&T[1]||""}return`
18
+ `+We+a}}var re=!1,Se;{var _t=typeof WeakMap=="function"?WeakMap:Map;Se=new _t}function ze(a,p){if(!a||re)return"";{var _=Se.get(a);if(_!==void 0)return _}var T;re=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var j;j=xe.current,xe.current=null,at();try{if(p){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(oe){T=oe}Reflect.construct(a,[],R)}else{try{R.call()}catch(oe){T=oe}a.call(R.prototype)}}else{try{throw Error()}catch(oe){T=oe}a()}}catch(oe){if(oe&&T&&typeof oe.stack=="string"){for(var A=oe.stack.split(`
19
+ `),B=T.stack.split(`
20
+ `),L=A.length-1,F=B.length-1;L>=1&&F>=0&&A[L]!==B[F];)F--;for(;L>=1&&F>=0;L--,F--)if(A[L]!==B[F]){if(L!==1||F!==1)do if(L--,F--,F<0||A[L]!==B[F]){var V=`
21
+ `+A[L].replace(" at new "," at ");return a.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",a.displayName)),typeof a=="function"&&Se.set(a,V),V}while(L>=1&&F>=0);break}}}finally{re=!1,xe.current=j,ut(),Error.prepareStackTrace=$}var fe=a?a.displayName||a.name:"",ht=fe?Oe(fe):"";return typeof a=="function"&&Se.set(a,ht),ht}function bt(a,p,_){return ze(a,!1)}function He(a){var p=a.prototype;return!!(p&&p.isReactComponent)}function me(a,p,_){if(a==null)return"";if(typeof a=="function")return ze(a,He(a));if(typeof a=="string")return Oe(a);switch(a){case m:return Oe("Suspense");case E:return Oe("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case y:return bt(a.render);case Q:return me(a.type,p,_);case Y:{var T=a,$=T._payload,j=T._init;try{return me(j($),p,_)}catch{}}}return""}var Ce=Object.prototype.hasOwnProperty,Ae={},ct=J.ReactDebugCurrentFrame;function je(a){if(a){var p=a._owner,_=me(a.type,a._source,p?p.type:null);ct.setExtraStackFrame(_)}else ct.setExtraStackFrame(null)}function $e(a,p,_,T,$){{var j=Function.call.bind(Ce);for(var R in a)if(j(a,R)){var A=void 0;try{if(typeof a[R]!="function"){var B=Error((T||"React class")+": "+_+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw B.name="Invariant Violation",B}A=a[R](p,R,T,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){A=L}A&&!(A instanceof Error)&&(je($),q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",T||"React class",_,R,typeof A),je(null)),A instanceof Error&&!(A.message in Ae)&&(Ae[A.message]=!0,je($),q("Failed %s type: %s",_,A.message),je(null))}}}var Me=Array.isArray;function ke(a){return Me(a)}function lt(a){{var p=typeof Symbol=="function"&&Symbol.toStringTag,_=p&&a[Symbol.toStringTag]||a.constructor.name||"Object";return _}}function ae(a){try{return Ie(a),!1}catch{return!0}}function Ie(a){return""+a}function wt(a){if(ae(a))return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(a)),Ie(a)}var ue=J.ReactCurrentOwner,Et={key:!0,ref:!0,__self:!0,__source:!0},ft,Tt,ce;ce={};function Ot(a){if(Ce.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function $t(a){if(Ce.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function St(a,p){if(typeof a.ref=="string"&&ue.current&&p&&ue.current.stateNode!==p){var _=K(ue.current.type);ce[_]||(q('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',K(ue.current.type),a.ref),ce[_]=!0)}}function Ct(a,p){{var _=function(){ft||(ft=!0,q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",p))};_.isReactWarning=!0,Object.defineProperty(a,"key",{get:_,configurable:!0})}}function Mt(a,p){{var _=function(){Tt||(Tt=!0,q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",p))};_.isReactWarning=!0,Object.defineProperty(a,"ref",{get:_,configurable:!0})}}var Je=function(a,p,_,T,$,j,R){var A={$$typeof:e,type:a,key:p,ref:_,props:R,_owner:j};return A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(A,"_self",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.defineProperty(A,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A};function Le(a,p,_,T,$){{var j,R={},A=null,B=null;_!==void 0&&(wt(_),A=""+_),$t(p)&&(wt(p.key),A=""+p.key),Ot(p)&&(B=p.ref,St(p,$));for(j in p)Ce.call(p,j)&&!Et.hasOwnProperty(j)&&(R[j]=p[j]);if(a&&a.defaultProps){var L=a.defaultProps;for(j in L)R[j]===void 0&&(R[j]=L[j])}if(A||B){var F=typeof a=="function"?a.displayName||a.name||"Unknown":a;A&&Ct(R,F),B&&Mt(R,F)}return Je(a,A,B,$,T,ue.current,R)}}var le=J.ReactCurrentOwner,Fe=J.ReactDebugCurrentFrame;function ne(a){if(a){var p=a._owner,_=me(a.type,a._source,p?p.type:null);Fe.setExtraStackFrame(_)}else Fe.setExtraStackFrame(null)}var ie;ie=!1;function De(a){return typeof a=="object"&&a!==null&&a.$$typeof===e}function Ke(){{if(le.current){var a=K(le.current.type);if(a)return`
22
+
23
+ Check the render method of \``+a+"`."}return""}}function kt(a){return""}var At={};function It(a){{var p=Ke();if(!p){var _=typeof a=="string"?a:a.displayName||a.name;_&&(p=`
24
+
25
+ Check the top-level render call using <`+_+">.")}return p}}function Ve(a,p){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var _=It(p);if(At[_])return;At[_]=!0;var T="";a&&a._owner&&a._owner!==le.current&&(T=" It was passed a child from "+K(a._owner.type)+"."),ne(a),q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,T),ne(null)}}function dt(a,p){{if(typeof a!="object")return;if(ke(a))for(var _=0;_<a.length;_++){var T=a[_];De(T)&&Ve(T,p)}else if(De(a))a._store&&(a._store.validated=!0);else if(a){var $=Qe(a);if(typeof $=="function"&&$!==a.entries)for(var j=$.call(a),R;!(R=j.next()).done;)De(R.value)&&Ve(R.value,p)}}}function ye(a){{var p=a.type;if(p==null||typeof p=="string")return;var _;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===y||p.$$typeof===Q))_=p.propTypes;else return;if(_){var T=K(p);$e(_,a.props,"prop",T,a)}else if(p.PropTypes!==void 0&&!ie){ie=!0;var $=K(p);q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Lt(a){{for(var p=Object.keys(a.props),_=0;_<p.length;_++){var T=p[_];if(T!=="children"&&T!=="key"){ne(a),q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",T),ne(null);break}}a.ref!==null&&(ne(a),q("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}}function Rt(a,p,_,T,$,j){{var R=z(a);if(!R){var A="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var B=kt();B?A+=B:A+=Ke();var L;a===null?L="null":ke(a)?L="array":a!==void 0&&a.$$typeof===e?(L="<"+(K(a.type)||"Unknown")+" />",A=" Did you accidentally export a JSX literal instead of a component?"):L=typeof a,q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,A)}var F=Le(a,p,_,$,j);if(F==null)return F;if(R){var V=p.children;if(V!==void 0)if(T)if(ke(V)){for(var fe=0;fe<V.length;fe++)dt(V[fe],a);Object.freeze&&Object.freeze(V)}else q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else dt(V,a)}return a===n?Lt(F):ye(F),F}}function Ft(a,p,_){return Rt(a,p,_,!0)}function Dt(a,p,_){return Rt(a,p,_,!1)}var Vt=Dt,X=Ft;Yt.Fragment=n,Yt.jsx=Vt,Yt.jsxs=X}()),Yt}process.env.NODE_ENV==="production"?Ir.exports=Qi():Ir.exports=Bi();var Yi=Ir.exports,Xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lr={exports:{}};(function(t,e){var r=200,n="__lodash_hash_undefined__",s=9007199254740991,c="[object Arguments]",d="[object Array]",v="[object Boolean]",y="[object Date]",m="[object Error]",E="[object Function]",Q="[object GeneratorFunction]",Y="[object Map]",pe="[object Number]",Re="[object Object]",we="[object Promise]",Qe="[object RegExp]",J="[object Set]",q="[object String]",yt="[object Symbol]",tt="[object WeakMap]",rt="[object ArrayBuffer]",Be="[object DataView]",nt="[object Float32Array]",it="[object Float64Array]",ot="[object Int8Array]",z="[object Int16Array]",Ye="[object Int32Array]",st="[object Uint8Array]",K="[object Uint8ClampedArray]",se="[object Uint16Array]",Ee="[object Uint32Array]",W=/[\\^$.*+?()[\]{}|]/g,ge=/\w*$/,Te=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,M={};M[c]=M[d]=M[rt]=M[Be]=M[v]=M[y]=M[nt]=M[it]=M[ot]=M[z]=M[Ye]=M[Y]=M[pe]=M[Re]=M[Qe]=M[J]=M[q]=M[yt]=M[st]=M[K]=M[se]=M[Ee]=!0,M[m]=M[E]=M[tt]=!1;var Ge=typeof Xe=="object"&&Xe&&Xe.Object===Object&&Xe,Pe=typeof self=="object"&&self&&self.Object===Object&&self,P=Ge||Pe||Function("return this")(),at=e&&!e.nodeType&&e,ut=at&&!0&&t&&!t.nodeType&&t,xe=ut&&ut.exports===at;function We(o,l){return o.set(l[0],l[1]),o}function Oe(o,l){return o.add(l),o}function re(o,l){for(var h=-1,w=o?o.length:0;++h<w&&l(o[h],h,o)!==!1;);return o}function Se(o,l){for(var h=-1,w=l.length,G=o.length;++h<w;)o[G+h]=l[h];return o}function _t(o,l,h,w){for(var G=-1,ee=o?o.length:0;++G<ee;)h=l(h,o[G],G,o);return h}function ze(o,l){for(var h=-1,w=Array(o);++h<o;)w[h]=l(h);return w}function bt(o,l){return o==null?void 0:o[l]}function He(o){var l=!1;if(o!=null&&typeof o.toString!="function")try{l=!!(o+"")}catch{}return l}function me(o){var l=-1,h=Array(o.size);return o.forEach(function(w,G){h[++l]=[G,w]}),h}function Ce(o,l){return function(h){return o(l(h))}}function Ae(o){var l=-1,h=Array(o.size);return o.forEach(function(w){h[++l]=w}),h}var ct=Array.prototype,je=Function.prototype,$e=Object.prototype,Me=P["__core-js_shared__"],ke=function(){var o=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),lt=je.toString,ae=$e.hasOwnProperty,Ie=$e.toString,wt=RegExp("^"+lt.call(ae).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ue=xe?P.Buffer:void 0,Et=P.Symbol,ft=P.Uint8Array,Tt=Ce(Object.getPrototypeOf,Object),ce=Object.create,Ot=$e.propertyIsEnumerable,$t=ct.splice,St=Object.getOwnPropertySymbols,Ct=ue?ue.isBuffer:void 0,Mt=Ce(Object.keys,Object),Je=S(P,"DataView"),Le=S(P,"Map"),le=S(P,"Promise"),Fe=S(P,"Set"),ne=S(P,"WeakMap"),ie=S(Object,"create"),De=gt(Je),Ke=gt(Le),kt=gt(le),At=gt(Fe),It=gt(ne),Ve=Et?Et.prototype:void 0,dt=Ve?Ve.valueOf:void 0;function ye(o){var l=-1,h=o?o.length:0;for(this.clear();++l<h;){var w=o[l];this.set(w[0],w[1])}}function Lt(){this.__data__=ie?ie(null):{}}function Rt(o){return this.has(o)&&delete this.__data__[o]}function Ft(o){var l=this.__data__;if(ie){var h=l[o];return h===n?void 0:h}return ae.call(l,o)?l[o]:void 0}function Dt(o){var l=this.__data__;return ie?l[o]!==void 0:ae.call(l,o)}function Vt(o,l){var h=this.__data__;return h[o]=ie&&l===void 0?n:l,this}ye.prototype.clear=Lt,ye.prototype.delete=Rt,ye.prototype.get=Ft,ye.prototype.has=Dt,ye.prototype.set=Vt;function X(o){var l=-1,h=o?o.length:0;for(this.clear();++l<h;){var w=o[l];this.set(w[0],w[1])}}function a(){this.__data__=[]}function p(o){var l=this.__data__,h=pt(l,o);if(h<0)return!1;var w=l.length-1;return h==w?l.pop():$t.call(l,h,1),!0}function _(o){var l=this.__data__,h=pt(l,o);return h<0?void 0:l[h][1]}function T(o){return pt(this.__data__,o)>-1}function $(o,l){var h=this.__data__,w=pt(h,o);return w<0?h.push([o,l]):h[w][1]=l,this}X.prototype.clear=a,X.prototype.delete=p,X.prototype.get=_,X.prototype.has=T,X.prototype.set=$;function j(o){var l=-1,h=o?o.length:0;for(this.clear();++l<h;){var w=o[l];this.set(w[0],w[1])}}function R(){this.__data__={hash:new ye,map:new(Le||X),string:new ye}}function A(o){return O(this,o).delete(o)}function B(o){return O(this,o).get(o)}function L(o){return O(this,o).has(o)}function F(o,l){return O(this,o).set(o,l),this}j.prototype.clear=R,j.prototype.delete=A,j.prototype.get=B,j.prototype.has=L,j.prototype.set=F;function V(o){this.__data__=new X(o)}function fe(){this.__data__=new X}function ht(o){return this.__data__.delete(o)}function oe(o){return this.__data__.get(o)}function br(o){return this.__data__.has(o)}function Zt(o,l){var h=this.__data__;if(h instanceof X){var w=h.__data__;if(!Le||w.length<r-1)return w.push([o,l]),this;h=this.__data__=new j(w)}return h.set(o,l),this}V.prototype.clear=fe,V.prototype.delete=ht,V.prototype.get=oe,V.prototype.has=br,V.prototype.set=Zt;function wr(o,l){var h=xr(o)||Li(o)?ze(o.length,String):[],w=h.length,G=!!w;for(var ee in o)ae.call(o,ee)&&!(G&&(ee=="length"||de(ee,w)))&&h.push(ee);return h}function Ut(o,l,h){var w=o[l];(!(ae.call(o,l)&&hn(w,h))||h===void 0&&!(l in o))&&(o[l]=h)}function pt(o,l){for(var h=o.length;h--;)if(hn(o[h][0],l))return h;return-1}function er(o,l){return o&&g(l,jr(l),o)}function Nt(o,l,h,w,G,ee,Ne){var te;if(w&&(te=ee?w(o,G,ee,Ne):w(o)),te!==void 0)return te;if(!or(o))return o;var vn=xr(o);if(vn){if(te=Z(o),!l)return f(o,te)}else{var Pt=N(o),mn=Pt==E||Pt==Q;if(Di(o))return Or(o,l);if(Pt==Re||Pt==c||mn&&!ee){if(He(o))return ee?o:{};if(te=H(mn?{}:o),!l)return b(o,er(te,o))}else{if(!M[Pt])return ee?o:{};te=Ue(o,Pt,Nt,l)}}Ne||(Ne=new V);var yn=Ne.get(o);if(yn)return yn;if(Ne.set(o,te),!vn)var _n=h?x(o):jr(o);return re(_n||o,function($r,sr){_n&&(sr=$r,$r=o[sr]),Ut(te,sr,Nt($r,l,h,w,sr,o,Ne))}),te}function tr(o){return or(o)?ce(o):{}}function rr(o,l,h){var w=l(o);return xr(o)?w:Se(w,h(o))}function Er(o){return Ie.call(o)}function Tr(o){if(!or(o)||ir(o))return!1;var l=gn(o)||He(o)?wt:Te;return l.test(gt(o))}function nr(o){if(!Qt(o))return Mt(o);var l=[];for(var h in Object(o))ae.call(o,h)&&h!="constructor"&&l.push(h);return l}function Or(o,l){if(l)return o.slice();var h=new o.constructor(o.length);return o.copy(h),h}function qt(o){var l=new o.constructor(o.byteLength);return new ft(l).set(new ft(o)),l}function Sr(o,l){var h=l?qt(o.buffer):o.buffer;return new o.constructor(h,o.byteOffset,o.byteLength)}function Cr(o,l,h){var w=l?h(me(o),!0):me(o);return _t(w,We,new o.constructor)}function Ar(o){var l=new o.constructor(o.source,ge.exec(o));return l.lastIndex=o.lastIndex,l}function Rr(o,l,h){var w=l?h(Ae(o),!0):Ae(o);return _t(w,Oe,new o.constructor)}function i(o){return dt?Object(dt.call(o)):{}}function u(o,l){var h=l?qt(o.buffer):o.buffer;return new o.constructor(h,o.byteOffset,o.length)}function f(o,l){var h=-1,w=o.length;for(l||(l=Array(w));++h<w;)l[h]=o[h];return l}function g(o,l,h,w){h||(h={});for(var G=-1,ee=l.length;++G<ee;){var Ne=l[G],te=void 0;Ut(h,Ne,te===void 0?o[Ne]:te)}return h}function b(o,l){return g(o,U(o),l)}function x(o){return rr(o,jr,U)}function O(o,l){var h=o.__data__;return Pr(l)?h[typeof l=="string"?"string":"hash"]:h.map}function S(o,l){var h=bt(o,l);return Tr(h)?h:void 0}var U=St?Ce(St,Object):Ni,N=Er;(Je&&N(new Je(new ArrayBuffer(1)))!=Be||Le&&N(new Le)!=Y||le&&N(le.resolve())!=we||Fe&&N(new Fe)!=J||ne&&N(new ne)!=tt)&&(N=function(o){var l=Ie.call(o),h=l==Re?o.constructor:void 0,w=h?gt(h):void 0;if(w)switch(w){case De:return Be;case Ke:return Y;case kt:return we;case At:return J;case It:return tt}return l});function Z(o){var l=o.length,h=o.constructor(l);return l&&typeof o[0]=="string"&&ae.call(o,"index")&&(h.index=o.index,h.input=o.input),h}function H(o){return typeof o.constructor=="function"&&!Qt(o)?tr(Tt(o)):{}}function Ue(o,l,h,w){var G=o.constructor;switch(l){case rt:return qt(o);case v:case y:return new G(+o);case Be:return Sr(o,w);case nt:case it:case ot:case z:case Ye:case st:case K:case se:case Ee:return u(o,w);case Y:return Cr(o,w,h);case pe:case q:return new G(o);case Qe:return Ar(o);case J:return Rr(o,w,h);case yt:return i(o)}}function de(o,l){return l=l??s,!!l&&(typeof o=="number"||ve.test(o))&&o>-1&&o%1==0&&o<l}function Pr(o){var l=typeof o;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?o!=="__proto__":o===null}function ir(o){return!!ke&&ke in o}function Qt(o){var l=o&&o.constructor,h=typeof l=="function"&&l.prototype||$e;return o===h}function gt(o){if(o!=null){try{return lt.call(o)}catch{}try{return o+""}catch{}}return""}function Ii(o){return Nt(o,!0,!0)}function hn(o,l){return o===l||o!==o&&l!==l}function Li(o){return Fi(o)&&ae.call(o,"callee")&&(!Ot.call(o,"callee")||Ie.call(o)==c)}var xr=Array.isArray;function pn(o){return o!=null&&Vi(o.length)&&!gn(o)}function Fi(o){return Ui(o)&&pn(o)}var Di=Ct||qi;function gn(o){var l=or(o)?Ie.call(o):"";return l==E||l==Q}function Vi(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=s}function or(o){var l=typeof o;return!!o&&(l=="object"||l=="function")}function Ui(o){return!!o&&typeof o=="object"}function jr(o){return pn(o)?wr(o):nr(o)}function Ni(){return[]}function qi(){return!1}t.exports=Ii})(Lr,Lr.exports);var Ze=Lr.exports,Fr=function(){return Fr=Object.assign||function(e){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c])}return e},Fr.apply(this,arguments)};function Gi(t,e,r,n){function s(c){return c instanceof r?c:new r(function(d){d(c)})}return new(r||(r=Promise))(function(c,d){function v(E){try{m(n.next(E))}catch(Q){d(Q)}}function y(E){try{m(n.throw(E))}catch(Q){d(Q)}}function m(E){E.done?c(E.value):s(E.value).then(v,y)}m((n=n.apply(t,[])).next())})}function Wi(t,e){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,s,c,d;return d={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function v(m){return function(E){return y([m,E])}}function y(m){if(n)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(r=0)),r;)try{if(n=1,s&&(c=m[0]&2?s.return:m[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,m[1])).done)return c;switch(s=0,c&&(m=[m[0]&2,c.value]),m[0]){case 0:case 1:c=m;break;case 4:return r.label++,{value:m[1],done:!1};case 5:r.label++,s=m[1],m=[0];continue;case 7:m=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(m[0]===6||m[0]===2)){r=0;continue}if(m[0]===3&&(!c||m[1]>c[0]&&m[1]<c[3])){r.label=m[1];break}if(m[0]===6&&r.label<c[1]){r.label=c[1],c=m;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(m);break}c[2]&&r.ops.pop(),r.trys.pop();continue}m=e.call(t,r)}catch(E){m=[6,E],s=0}finally{n=c=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function ar(t,e,r,n,s){return Gi(this,void 0,void 0,function(){var c,d;return Wi(this,function(v){switch(v.label){case 0:if(r===void 0)return[2];d=0,v.label=1;case 1:return d<r.length?[4,r[d](t,e,n,s,r)]:[3,4];case 2:if(c=v.sent(),c==="canceled")return[3,4];v.label=3;case 3:return d++,[3,1];case 4:return c!=="canceled"?[2,c]:[2]}})})}var Dr=function(t,e){return e===void 0&&(e={}),t?{trackedAnalytics:Fr({sdkCode:t.sdkCode,sdkSemver:t.sdkSemver,techVersion:t.techVersion},e)}:null},zi=function(){function t(e,r,n,s){var c=this;this.isMounted=!0,this.imgElement=e,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=Ze(r);ar(e,d,n,this.htmlPluginState,s).then(function(v){if(c.isMounted){c.htmlPluginState.pluginEventSubscription.forEach(function(m){m()});var y=Dr(s,v);c.imgElement.setAttribute("src",d.toURL(y))}})}return t.prototype.update=function(e,r,n){var s=this,c=Ze(e);ar(this.imgElement,c,r,this.htmlPluginState).then(function(d){if(s.isMounted){var v=Dr(n,d);s.imgElement.setAttribute("src",c.toURL(v))}})},t.prototype.unmount=function(){this.isMounted=!1},t}();let D=class{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}},Hi=class extends Error{constructor(e="Unsupported"){super(e)}};function Gr(t){return new Hi(t)}function Ji(){return this._qualifierModel||{error:Gr(`unsupported qualifier ${this.constructor.name}`)}}let Ki=class{constructor(){this._qualifierModel={}}toJson(){return Ji.apply(this)}},C=class extends Ki{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof D?this.qualifierValue=r:(this.qualifierValue=new D,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}},he=class extends C{constructor(e,r){let n;r?n=new D([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Xi(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Zi(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,s=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return s&&s instanceof Error?{error:s}:n?this._actionModel:{error:Gr(`unsupported action ${this.constructor.name}`)}}let eo=class{constructor(){this._actionModel={}}toJson(){return Zi.apply(this)}},_e=class extends eo{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),Xi(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new he(n)):this.qualifiers.set(r,new C(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new he(e)):e instanceof he&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}};class Wr extends _e{constructor(e){super(),this.regionType=e,this._actionModel.regionType=e}}class dr extends Wr{constructor(){super("custom")}x(e){return this._actionModel.x=e,this.addQualifier(new C("x",e)),this}y(e){return this._actionModel.y=e,this.addQualifier(new C("y",e)),this}width(e){return this._actionModel.width=e,this.addQualifier(new C("w",e)),this}height(e){return this._actionModel.height=e,this.addQualifier(new C("h",e)),this}static fromJson(e){const r=new dr;return e.width&&r.width(e.width),e.height&&r.height(e.height),e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function to(){return new dr}function Vn(){return new Wr("faces")}function ro(){return new Wr("ocr_text")}class no extends _e{constructor(e){super(),this._actionModel={},this._strength=e,this._actionModel.actionType="blur",this._actionModel.strength=e}region(e){return this._region=e,this._actionModel.region=e.toJson(),this}strength(e){return this._strength=e,this._actionModel.strength=e,this}prepareQualifiers(){const e=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new C("e",`blur_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new C("e",`blur_region${e}`)),this.addQualifier(new C("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new C("e",`blur_faces${e}`))):this.addQualifier(new C("e",`blur${e}`))}static fromJson(e){const{strength:r,region:n}=e,s=new this(r);return r&&s.strength(r),n&&n.regionType==="faces"&&s.region(Vn()),n&&n.regionType==="ocr_text"&&s.region(ro()),n&&n.regionType==="custom"&&s.region(dr.fromJson(n)),s}}function vt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Un={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},io={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Nn={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},qn={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},oo={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Qn={444:"CHROMA_444",420:"CHROMA_420"},so={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},ao=vt(Qn);vt(so);const uo=vt(Un),co=vt(io),Bn=vt(Nn);vt(qn);vt(oo);class Yn extends _e{constructor(e,r){super(),this._actionModel={},this._actionModel.actionType=Bn[e]||e;const n=this.createEffectQualifier(e,r);this.addQualifier(n)}createEffectQualifier(e,r){let n;return r?n=new D([e,`${r}`]).setDelimiter(":"):n=new D(e),new C("e",n)}static fromJson(e){const{actionType:r,level:n,strength:s}=e,c=Nn[r]||r;return new this(c,n||s)}}class lo extends Yn{constructor(e,r){super(e,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=e,this._actionModel.actionType=Bn[e]||e,r&&this.setLevel(r)}setLevel(e){this._actionModel[this.LEVEL_NAME]=e;const r=this.createEffectQualifier(this.effectType,e);return this.addQualifier(r),this}}function hr(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class fo extends _e{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(e){return this._actionModel.numOfColors=e,this._numOfColors=e,this}detailsLevel(e){return this._actionModel.detailLevel=e,this._detailsLevel=e,this}despeckleLevel(e){return this._actionModel.despeckleLevel=e,this._despeckleLevel=e,this}cornersLevel(e){return this._actionModel.cornersLevel=e,this._cornersLevel=e,this}paths(e){return this._actionModel.paths=e,this._paths=e,this}prepareQualifiers(){let e="vectorize";this._numOfColors&&(e+=`:${new D(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(e+=`:${new D(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(e+=`:${new D(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(e+=`:${new D(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(e+=`:${new D(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new C("e",e))}static fromJson(e){const{actionType:r,paths:n,cornersLevel:s,despeckleLevel:c,detailLevel:d,numOfColors:v}=e,y=new this;return n&&y.paths(n),s&&y.cornersLevel(s),c&&y.despeckleLevel(c),d&&y.detailsLevel(d),v&&y.numOfColors(v),y}}class ho extends lo{level(e){return this._actionModel.level=e,this.setLevel(e)}}class po extends _e{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new C("e",new D("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new C("e",new D(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(e){return this._actionModel.type="stripes",this._actionModel.stripesStrength=e,this.addQualifier(new C("e",new D(["assist_colorblind",e]).setDelimiter(":")))}static fromJson(e){const{actionType:r,type:n,stripesStrength:s}=e,c=new this;return n==="xray"&&c.xray(),n==="stripes"&&s&&c.stripesStrength(s),c}}class go extends ho{color(e){return this._actionModel.color=e,this.addQualifier(new C("co",new D(hr(e))))}static fromJson(e){const{actionType:r,level:n,color:s}=e,c=new this(r,n);return s&&c.color(s),c}}class vo extends _e{constructor(e){super(),this._actionModel={},this._squareSize=e,this._actionModel.actionType="pixelate",this._actionModel.squareSize=e}region(e){return this._region=e,this._actionModel.region={regionType:this._region.regionType},this}squareSize(e){return this._squareSize=e,this._actionModel.squareSize=e,this}prepareQualifiers(){const e=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new C("e",`pixelate_region${e}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new C("e",`pixelate_region${e}`)),this.addQualifier(new C("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new C("e",`pixelate_faces${e}`))):this.addQualifier(new C("e",`pixelate${e}`))}static fromJson(e){const{region:r,squareSize:n}=e,s=new this(n);return n&&s.squareSize(n),r&&r.regionType==="faces"&&s.region(Vn()),r&&r.regionType==="custom"&&s.region(to()),s}}function mo(t){return new no(t)}function yo(){return new Yn("grayscale")}function En(t){return new go("colorize",t)}function _o(){return new fo}function bo(){return new po}function wo(t){return new vo(t)}let Eo=class extends _e{constructor(e){super(),this._actionModel={},this.addQualifier(new C("b",new D(hr(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}},Tn=class{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:Gr(`unsupported action ${this.constructor.name}`)}}};function To(t){const e=t;return"error"in e&&!!e.error}function Oo(){return new he("ignore_aspect_ratio")}function So(){return new he("lossy")}function Co(){return new he("preserve_transparency")}function Ao(t){return new he("progressive",t)}function Ro(){return new he("region_relative")}function Po(){return new he("relative")}let zr=class extends D{constructor(e){super(e),this.val=e}getValue(){return this.val}},Gn=class extends _e{constructor(e,r,n){super(),this._actionModel={};let s;r instanceof zr?s=r.getValue():s=r,this._actionModel.actionType=co[e],this._actionModel[n]=s,this.addQualifier(new C(e,r))}},xo=class extends he{constructor(e){super("progressive",e)}},Vr=class extends Gn{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(So()),this}progressive(e){return e instanceof xo?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(Ao(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Co()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:s,preserveTransparency:c}=e;let d;return r?d=new this("f",r):d=new this("f"),s&&(s.mode?d.progressive(s.mode):d.progressive()),n&&d.lossy(),c&&d.preserveTransparency(),d}},pr=class Wn{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Tn(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof Wn?this.actions=this.actions.concat(e.actions):this.actions.push(new Tn(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new Vr("q",e)),this}format(e){return this.addAction(new Vr("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new Eo(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new _e;let n=e;return typeof e=="string"&&(n=new he(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(To(n))return n;e.push(n)}return{actions:e}}};function On(t){const e=t.toString();return e.match(/[A-Z]/gi)||e.length>1&&e[0]==="0"?e:!isNaN(parseFloat(e))&&e.indexOf(":")===-1&&e.indexOf(".")===-1?`${e}.0`:e}class jo extends D{}class $o extends _e{constructor(e,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=uo[e]||e,this.addQualifier(new C("c",e)),r&&this.width(r),n&&this.height(n)}height(e){return this._actionModel.dimensions.height=e,this.addQualifier(new C("h",e))}width(e){return this._actionModel.dimensions.width=e,this.addQualifier(new C("w",e))}aspectRatio(e){if(e instanceof jo)return this._actionModel.dimensions.aspectRatio=`${e}`,this.addQualifier(new C("ar",e));if(typeof e=="number"||typeof e=="string")return this._actionModel.dimensions.aspectRatio=On(e),this.addQualifier(new C("ar",On(e)));if(e instanceof he)return this._actionModel.dimensions.aspectRatio=`${e.qualifierValue}`,this.addFlag(e)}relative(){return this._actionModel.relative=!0,this.addFlag(Po())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Ro())}static fromJson(e){const{actionType:r,dimensions:n,relative:s,regionRelative:c}=e,{aspectRatio:d,width:v,height:y}=n,m=Un[r]||r,E=new this(m,v,y);return d&&E.aspectRatio(d==="ignore_aspect_ratio"?Oo():d),s&&E.relative(),c&&E.regionRelative(),E}}class Hr extends C{constructor(e){super("g",new D(e))}}class zn extends Hr{constructor(){super("auto")}autoFocus(...e){return this.addValue(e),this}}class Hn extends Hr{constructor(e){super(e)}fallbackGravity(e){return this.addValue(e.qualifierValue),this}}class Jn extends Hr{constructor(e){super(e)}}function Mo(t){return new Jn(t)}function Kn(...t){const e=[...t];return new Hn(e)}function Xn(){return new zn}class gr extends D{constructor(e){super(),this.name=e}toString(){return this.name}}function ko(){return new gr("ocr_text")}function Io(t){return t&&`${t}`.split(":")[0]==="auto"}function Lo(t){const e=Jr(t);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(e)}function Jr(t){return`${t}`.replace("g_","")}function Fo(t){return{compass:Jr(t),gravityType:"direction"}}function Do(t){return Jr(t)==="ocr_text"}function Vo(){return{gravityType:"ocr"}}function Uo(t){return`${t.qualifierValue}`.split(":")[0]==="auto"}function No(t){const r=t.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function Zn(t){let e;const r=t==="auto"?new zn:t;return`${t}`.startsWith("auto:")?e=`${t}`.split(":").filter(s=>s!=="auto"):e=r.qualifierValue.values.filter(s=>s!=="auto"),{gravityType:"auto",autoFocus:e.map(No)}}function qo(t){const e=`${t}`.split(":").includes("auto"),r=t.qualifierValue.values,s={gravityType:"object",focusOnObjects:(e?r.slice(0,r.length-1):r).map(c=>`${c}`)};if(e){const c=r[r.length-1].values.slice(1),d=Xn().autoFocus(...c);s.fallbackGravity=Zn(d)}return s}function Qo(t){const r=t.split(":").map(n=>new gr(n));return new Hn(r)}function Bo(t){return Lo(t)?Fo(t):Do(t)?Vo():Io(t)||Uo(t)?Zn(t):qo(typeof t=="string"?Qo(t):t)}class Kr extends D{constructor(e,r){super(),this._weight=r,this.focusOn=e,this.shouldAvoid=!1}static focusOn(e,r){return new Kr(e,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||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(e){return this._weight=e,this}avoid(){return this.shouldAvoid=!0,this}}class ei extends D{constructor(e){super(),this.val=e}toString(){return this.val}}function Yo(t){return t.gravityType==="direction"}function Go(t){return t.gravityType==="ocr"}function Wo(t){return t.gravityType==="auto"}function zo(t){const{object:e,weight:r,avoid:n}=t,s=new Kr(new gr(e));return(r||r===0)&&s.weight(r),n&&s.avoid(),s}function ti(t){const r=(t.autoFocus||[]).map(zo);return Xn().autoFocus(...r)}function Ho(t){const e=(t.focusOnObjects||[]).map(n=>new gr(n)),r=Kn(...e);if(t.fallbackGravity){const n=ti(t.fallbackGravity);r.fallbackGravity(n)}return r}function Jo(t){return Yo(t)?new Jn(new ei(t.compass)):Go(t)?Kn(ko()):Wo(t)?ti(t):Ho(t)}class Xr extends $o{gravity(e){this._actionModel.gravity=Bo(e);const r=typeof e=="string"?new C("g",e):e;return this.addQualifier(r)}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.gravity&&r.gravity(Jo(e.gravity)),r}}class Jt extends C{constructor(e){super("b"),e&&this.addValue(e)}}const ri=100,Ko=0;class Xo extends Jt{intensity(e){return this.intensityLevel=e,this}brightness(e){return this.brightnessLevel=e,this}toString(){const e=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${ri}:${this.brightnessLevel}`:"";return`b_blurred${e}${r}`}}var ni=Xo;class Zr extends Jt{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...e){return this._palette=e.map(r=>hr(r)),this}}class ii extends Zr{toString(){return`
26
+ b_auto:border
27
+ ${this._contrast?"_contrast":""}
28
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
29
+ `.replace(/\s+/g,"")}}class oi extends Zr{gradientColors(e){return this._gradientColors=e,this}gradientDirection(e){return this._gradientDirection=e,this}}class si extends oi{toString(){return`
30
+ b_auto:border_gradient
31
+ ${this._contrast?"_contrast":""}
32
+ ${this._gradientColors?`:${this._gradientColors}`:""}
33
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
34
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
35
+ `.replace(/\s+/g,"")}}class ai extends oi{toString(){return`
36
+ b_auto:predominant_gradient
37
+ ${this._contrast?"_contrast":""}
38
+ ${this._gradientColors?`:${this._gradientColors}`:""}
39
+ ${this._gradientDirection?`:${this._gradientDirection}`:""}
40
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
41
+ `.replace(/\s+/g,"")}}class ui extends Zr{toString(){return`
42
+ b_auto:predominant
43
+ ${this._contrast?"_contrast":""}
44
+ ${this._palette.length?`:palette_${this._palette.join("_")}`:""}
45
+ `.replace(/\s+/g,"")}}class ci extends Jt{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(e){return this._prompt=e,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function li(t){return`${t}`.replace("b_","")}function Zo(){return{backgroundType:"auto"}}function es(t){const{intensityLevel:e,brightnessLevel:r}=t,n={backgroundType:"blurred"};return(e||e===0)&&(n.intensity=e),(r||r===0)&&(n.brightness=r),n}function en(t){const e=t._contrast,r=t._palette,n={backgroundType:""};return e&&(n.contrast=!0),r&&(n.palette=r),n}function ts(t){return Object.assign(Object.assign({},en(t)),{backgroundType:"border"})}function fi(t){const e=t._gradientColors,r=`${t._gradientDirection}`,n=en(t);return e&&(n.gradientColors=e),r&&(n.gradientDirection=r),n}function rs(t){return Object.assign(Object.assign({},fi(t)),{backgroundType:"borderGradient"})}function ns(t){return{backgroundType:"color",color:li(t)}}function is(t){return Object.assign(Object.assign({},en(t)),{backgroundType:"predominant"})}function os(t){return Object.assign(Object.assign({},fi(t)),{backgroundType:"predominantGradient"})}function ss(t){return Object.assign({backgroundType:t.getBackgroundType()},t.getPrompt()?{prompt:t.getPrompt()}:{})}function as(t){return li(t)==="auto"?Zo():t instanceof ni?es(t):t instanceof ii?ts(t):t instanceof si?rs(t):t instanceof ui?is(t):t instanceof ai?os(t):t instanceof ci?ss(t):ns(t)}function us(){return new zr("svg")}function tn(){return new zr("auto")}function di(){return new ii}function hi(){return new Jt("auto")}function pi(){return new si}function gi(){return new ai}function vi(){return new ui}function mi(t){return new Jt(hr(t))}function cs(){return new ni}function yi(){return new ci}const _i={auto:hi,border:di,borderGradient:pi,predominantGradient:gi,predominant:vi,color:mi,blurred:cs,generativeFill:yi};function ls(t){const{brightness:e,intensity:r}=t,n=_i.blurred();return n.brightness(e??Ko),n.intensity(r??ri),n}function Sn(t,e){const{gradientColors:r,gradientDirection:n,contrast:s,palette:c}=e;return s&&t.contrast(),c&&t.palette(...c),r&&t.gradientColors(+r),n&&t.gradientDirection(n),t}function Cn(t,e){const{contrast:r,palette:n}=e;return r&&t.contrast(),n&&t.palette(...n),t}function fs(t,e){const{prompt:r}=e;return r&&t.prompt(r),t}function ds(t){const{backgroundType:e}=t;switch(e){case"auto":return hi();case"blurred":return ls(t);case"border":return Cn(di(),t);case"borderGradient":return Sn(pi(),t);case"predominant":return Cn(vi(),t);case"predominantGradient":return Sn(gi(),t);case"generativeFill":return fs(yi(),t);default:return mi(t.color)}}class hs extends Xr{background(e){return this._actionModel.background=as(e),this.addQualifier(e)}offsetX(e){return this._actionModel.x=e,this.addQualifier(new C("x",e))}offsetY(e){return this._actionModel.y=e,this.addQualifier(new C("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.background&&r.background(ds(e.background)),e.x&&r.offsetX(e.x),e.y&&r.offsetY(e.y),e.zoom&&r.zoom(e.zoom),r}}class ps extends Xr{x(e){return this._actionModel.x=e,this.addQualifier(new C("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new C("y",e))}zoom(e){return this._actionModel.zoom=e,this.addQualifier(new C("z",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),e.zoom&&r.zoom(e.zoom),r}}class gs extends Xr{x(e){return this._actionModel.x=e,this.addQualifier(new C("x",e))}y(e){return this._actionModel.y=e,this.addQualifier(new C("y",e))}static fromJson(e){const r=super.fromJson.apply(this,[e]);return e.x&&r.x(e.x),e.y&&r.y(e.y),r}}function vs(t,e){return new ps("crop",t,e)}function ms(t,e){return new gs("fill",t,e)}function ys(t,e){return new hs("pad",t,e)}class _s extends Gn{constructor(e){super("q",e.toString(),"level")}chromaSubSampling(e){this._actionModel.chromaSubSampling=Qn[e];const r=new D([this._actionModel.level,e]);return r.setDelimiter(":"),this.addQualifier(new C("q",r))}quantization(e){this._actionModel.quantization=e;const r=new D([this._actionModel.level,`qmax_${e}`]).setDelimiter(":");return this.addQualifier(new C("q",r))}static fromJson(e){const{level:r,chromaSubSampling:n,quantization:s}=e,c=qn[r]||r,d=new this(c);if(n){const v=ao[n.toUpperCase()];v&&d.chromaSubSampling(+v)}return s&&d.quantization(s),d}}function vr(t){return new Vr("f",t)}function mr(t){return new _s(t)}function bs(){return new ei("north_east")}En(70).color("black"),En(40).color("white"),yo(),bo();var ws=new pr().effect(_o()).delivery(mr("auto")).delivery(vr(us())),Es=new pr().effect(wo()).delivery(mr("auto")).delivery(vr(tn())),Ts=new pr().effect(mo(2e3)).delivery(mr("auto")).delivery(vr(tn())),Os=new pr().resize(ys("iw_div_2").aspectRatio(1).background(_i.auto())).resize(vs(1,1).gravity(Mo(bs()))).resize(ms().height("ih").width("iw")).delivery(mr("auto")).delivery(vr(tn())),An={vectorize:ws,pixelate:Es,blur:Ts,"predominant-color":Os},Rn="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Pn={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},xn="?_a=",Ss=function(){function t(e,r,n,s,c,d,v){var y=this;this.mimeType="video",this.mimeSubTypes=Pn,this.videoElement=e,this.originalVideo=r,this.videoOptions=v,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var m=Ze(r);ar(e,r,s,this.htmlPluginState).then(function(){y.htmlPluginState.pluginEventSubscription.forEach(function(E){E()}),y.setVideoAttributes(c,d),y.handleSourceToVideo(m,n)})}return t.prototype.handleSourceToVideo=function(e,r){var n=this;if(r)this.generateUserSources(e,r);else{var s=["webm","mp4","ogv"];s.forEach(function(c){n.appendSourceTag(Ze(e),c)})}},t.prototype.generateUserSources=function(e,r){var n=this;r.map(function(s){var c=s.type,d=s.codecs,v=s.transcode;return n.appendSourceTag(Ze(e).transcode(v),c,n.buildMimeType(c,d))})},t.prototype.appendSourceTag=function(e,r,n){var s,c=document.createElement("source"),d=(s=this.videoOptions)===null||s===void 0?void 0:s.useFetchFormat;d&&e.format(r);var v=e.toURL(),y=v.split(xn),m=y[1]?"".concat(xn).concat(y[1]):"",E=d?"":".".concat(r);c.src="".concat(y[0]).concat(E).concat(m),c.type=n||"video/".concat(Pn[r]||r),this.videoElement.appendChild(c)},t.prototype.buildMimeType=function(e,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[e]||e);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},t.prototype.setVideoAttributes=function(e,r){var n;if(e===void 0&&(e={}),r==="auto"){var s=Ze(this.originalVideo);e.poster=s.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(e.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var c=0,d=Object.entries(e);c<d.length;c++){var v=d[c],y=v[0],m=v[1];m&&this.videoElement.setAttribute(y,y==="poster"?m:"")}},t.prototype.update=function(e,r,n,s,c){var d=this;if(e!==this.originalVideo){for(var v=this.videoElement.getElementsByTagName("SOURCE");v[0];)v[0].parentNode.removeChild(v[0]);ar(this.videoElement,e,n,this.htmlPluginState).then(function(){d.setVideoAttributes(s,c),d.handleSourceToVideo(e,r),d.videoElement.load()})}},t}(),Cs=typeof Xe=="object"&&Xe&&Xe.Object===Object&&Xe,As=typeof self=="object"&&self&&self.Object===Object&&self;Cs||As||Function("return this")();function rn(){return typeof window<"u"}function Rs(t){return t instanceof HTMLImageElement}function Ps(t){var e={},r=e.rootMargin,n=r===void 0?"0px":r,s=e.threshold,c=s===void 0?.1:s;return xs.bind(null,n,c)}function xs(t,e,r,n,s,c){return t===void 0&&(t="0px"),e===void 0&&(e=.1),rn()?new Promise(function(d){var v=function(){return d({lazyload:!0})},y=$s(r,v,t,e);s.cleanupCallbacks.push(function(){y(),d("canceled")})}):!1}function js(){return window&&"IntersectionObserver"in window}function $s(t,e,r,n){try{if(!js())return e(),function(){};var s=new IntersectionObserver(function(c){c.forEach(function(d){d.isIntersecting&&(s.unobserve(d.target),e())})},{rootMargin:r,threshold:n});return s.observe(t),function(){t&&s.observe(t)}}catch{e()}}function Ms(t){var e={},r=e.mode,n=r===void 0?"vectorize":r;return ks.bind(null,n)}function ks(t,e,r,n,s,c){An[t]||(t="vectorize");var d=An[t].actions,v=Ze(r);if(d.forEach(function(m){v.addAction(m)}),!rn())return r.transformation=v.transformation,!0;if(Rs(e)){v.transformation.actions.forEach(function(m,E){m instanceof _e&&m.getActionTag()==="responsive"&&delete v.transformation.actions[E]});var y=Dr(s,{placeholder:!0});return e.src=v.toURL(y),e.onerror=function(){e.src=Rn},new Promise(function(m){e.onload=function(){m()}}).then(function(){return new Promise(function(m){n.cleanupCallbacks.push(function(){e.src=Rn,m("canceled")});var E=new Image;E.src=r.toURL(y),E.onload=function(){m({placeholder:!0})},E.onerror=function(){m({placeholder:!0})}})})}}function Is(t,e,r){var n=Ze(e);if(t)for(var s=0;s<t.length;s++){var c=t[s](null,n);if(!c)break}return n.toURL(r?{trackedAnalytics:r}:null)}function ur(t){t.cleanupCallbacks.forEach(function(e){e()})}var Ur=function(t,e){return Ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])},Ur(t,e)};function bi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ur(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Wt=function(){return Wt=Object.assign||function(e){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c])}return e},Wt.apply(this,arguments)};function wi(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(r[n[s]]=t[n[s]]);return r}var zt={exports:{}},I={};/*
46
+ object-assign
47
+ (c) Sindre Sorhus
48
+ @license MIT
49
+ */var jn=Object.getOwnPropertySymbols,Ls=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable;function Ds(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function Vs(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(c){return e[c]});if(n.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(c){s[c]=c}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Ei=Vs()?Object.assign:function(t,e){for(var r,n=Ds(t),s,c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var d in r)Ls.call(r,d)&&(n[d]=r[d]);if(jn){s=jn(r);for(var v=0;v<s.length;v++)Fs.call(r,s[v])&&(n[s[v]]=r[s[v]])}}return n};/** @license React v16.14.0
50
+ * react.production.min.js
51
+ *
52
+ * Copyright (c) Facebook, Inc. and its affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */var nn=Ei,be=typeof Symbol=="function"&&Symbol.for,Kt=be?Symbol.for("react.element"):60103,Us=be?Symbol.for("react.portal"):60106,Ns=be?Symbol.for("react.fragment"):60107,qs=be?Symbol.for("react.strict_mode"):60108,Qs=be?Symbol.for("react.profiler"):60114,Bs=be?Symbol.for("react.provider"):60109,Ys=be?Symbol.for("react.context"):60110,Gs=be?Symbol.for("react.forward_ref"):60112,Ws=be?Symbol.for("react.suspense"):60113,zs=be?Symbol.for("react.memo"):60115,Hs=be?Symbol.for("react.lazy"):60116,$n=typeof Symbol=="function"&&Symbol.iterator;function Xt(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 Ti={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oi={};function jt(t,e,r){this.props=t,this.context=e,this.refs=Oi,this.updater=r||Ti}jt.prototype.isReactComponent={};jt.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error(Xt(85));this.updater.enqueueSetState(this,t,e,"setState")};jt.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Si(){}Si.prototype=jt.prototype;function on(t,e,r){this.props=t,this.context=e,this.refs=Oi,this.updater=r||Ti}var sn=on.prototype=new Si;sn.constructor=on;nn(sn,jt.prototype);sn.isPureReactComponent=!0;var an={current:null},Ci=Object.prototype.hasOwnProperty,Ai={key:!0,ref:!0,__self:!0,__source:!0};function Ri(t,e,r){var n,s={},c=null,d=null;if(e!=null)for(n in e.ref!==void 0&&(d=e.ref),e.key!==void 0&&(c=""+e.key),e)Ci.call(e,n)&&!Ai.hasOwnProperty(n)&&(s[n]=e[n]);var v=arguments.length-2;if(v===1)s.children=r;else if(1<v){for(var y=Array(v),m=0;m<v;m++)y[m]=arguments[m+2];s.children=y}if(t&&t.defaultProps)for(n in v=t.defaultProps,v)s[n]===void 0&&(s[n]=v[n]);return{$$typeof:Kt,type:t,key:c,ref:d,props:s,_owner:an.current}}function Js(t,e){return{$$typeof:Kt,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function un(t){return typeof t=="object"&&t!==null&&t.$$typeof===Kt}function Ks(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(r){return e[r]})}var Pi=/\/+/g,cr=[];function xi(t,e,r,n){if(cr.length){var s=cr.pop();return s.result=t,s.keyPrefix=e,s.func=r,s.context=n,s.count=0,s}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function ji(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>cr.length&&cr.push(t)}function Nr(t,e,r,n){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var c=!1;if(t===null)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case Kt:case Us:c=!0}}if(c)return r(n,t,e===""?"."+Mr(t,0):e),1;if(c=0,e=e===""?".":e+":",Array.isArray(t))for(var d=0;d<t.length;d++){s=t[d];var v=e+Mr(s,d);c+=Nr(s,v,r,n)}else if(t===null||typeof t!="object"?v=null:(v=$n&&t[$n]||t["@@iterator"],v=typeof v=="function"?v:null),typeof v=="function")for(t=v.call(t),d=0;!(s=t.next()).done;)s=s.value,v=e+Mr(s,d++),c+=Nr(s,v,r,n);else if(s==="object")throw r=""+t,Error(Xt(31,r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return c}function qr(t,e,r){return t==null?0:Nr(t,"",e,r)}function Mr(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Ks(t.key):e.toString(36)}function Xs(t,e){t.func.call(t.context,e,t.count++)}function Zs(t,e,r){var n=t.result,s=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?Qr(t,n,r,function(c){return c}):t!=null&&(un(t)&&(t=Js(t,s+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(Pi,"$&/")+"/")+r)),n.push(t))}function Qr(t,e,r,n,s){var c="";r!=null&&(c=(""+r).replace(Pi,"$&/")+"/"),e=xi(e,c,n,s),qr(t,Zs,e),ji(e)}var $i={current:null};function qe(){var t=$i.current;if(t===null)throw Error(Xt(321));return t}var ea={ReactCurrentDispatcher:$i,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:an,IsSomeRendererActing:{current:!1},assign:nn};I.Children={map:function(t,e,r){if(t==null)return t;var n=[];return Qr(t,n,null,e,r),n},forEach:function(t,e,r){if(t==null)return t;e=xi(null,null,e,r),qr(t,Xs,e),ji(e)},count:function(t){return qr(t,function(){return null},null)},toArray:function(t){var e=[];return Qr(t,e,null,function(r){return r}),e},only:function(t){if(!un(t))throw Error(Xt(143));return t}};I.Component=jt;I.Fragment=Ns;I.Profiler=Qs;I.PureComponent=on;I.StrictMode=qs;I.Suspense=Ws;I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ea;I.cloneElement=function(t,e,r){if(t==null)throw Error(Xt(267,t));var n=nn({},t.props),s=t.key,c=t.ref,d=t._owner;if(e!=null){if(e.ref!==void 0&&(c=e.ref,d=an.current),e.key!==void 0&&(s=""+e.key),t.type&&t.type.defaultProps)var v=t.type.defaultProps;for(y in e)Ci.call(e,y)&&!Ai.hasOwnProperty(y)&&(n[y]=e[y]===void 0&&v!==void 0?v[y]:e[y])}var y=arguments.length-2;if(y===1)n.children=r;else if(1<y){v=Array(y);for(var m=0;m<y;m++)v[m]=arguments[m+2];n.children=v}return{$$typeof:Kt,type:t.type,key:s,ref:c,props:n,_owner:d}};I.createContext=function(t,e){return e===void 0&&(e=null),t={$$typeof:Ys,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:Bs,_context:t},t.Consumer=t};I.createElement=Ri;I.createFactory=function(t){var e=Ri.bind(null,t);return e.type=t,e};I.createRef=function(){return{current:null}};I.forwardRef=function(t){return{$$typeof:Gs,render:t}};I.isValidElement=un;I.lazy=function(t){return{$$typeof:Hs,_ctor:t,_status:-1,_result:null}};I.memo=function(t,e){return{$$typeof:zs,type:t,compare:e===void 0?null:e}};I.useCallback=function(t,e){return qe().useCallback(t,e)};I.useContext=function(t,e){return qe().useContext(t,e)};I.useDebugValue=function(){};I.useEffect=function(t,e){return qe().useEffect(t,e)};I.useImperativeHandle=function(t,e,r){return qe().useImperativeHandle(t,e,r)};I.useLayoutEffect=function(t,e){return qe().useLayoutEffect(t,e)};I.useMemo=function(t,e){return qe().useMemo(t,e)};I.useReducer=function(t,e,r){return qe().useReducer(t,e,r)};I.useRef=function(t){return qe().useRef(t)};I.useState=function(t){return qe().useState(t)};I.version="16.14.0";var k={},ta="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ra=ta,na=Function.call.bind(Object.prototype.hasOwnProperty),Br=function(){};if(process.env.NODE_ENV!=="production"){var ia=ra,Yr={},oa=na;Br=function(t){var e="Warning: "+t;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}}}function Mi(t,e,r,n,s){if(process.env.NODE_ENV!=="production"){for(var c in t)if(oa(t,c)){var d;try{if(typeof t[c]!="function"){var v=Error((n||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}d=t[c](e,c,n,r,null,ia)}catch(m){d=m}if(d&&!(d instanceof Error)&&Br((n||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in Yr)){Yr[d.message]=!0;var y=s?s():"";Br("Failed "+r+" type: "+d.message+(y??""))}}}}Mi.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Yr={})};var sa=Mi;/** @license React v16.14.0
57
+ * react.development.js
58
+ *
59
+ * Copyright (c) Facebook, Inc. and its affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */process.env.NODE_ENV!=="production"&&function(){var t=Ei,e=sa,r="16.14.0",n=typeof Symbol=="function"&&Symbol.for,s=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,d=n?Symbol.for("react.fragment"):60107,v=n?Symbol.for("react.strict_mode"):60108,y=n?Symbol.for("react.profiler"):60114,m=n?Symbol.for("react.provider"):60109,E=n?Symbol.for("react.context"):60110,Q=n?Symbol.for("react.concurrent_mode"):60111,Y=n?Symbol.for("react.forward_ref"):60112,pe=n?Symbol.for("react.suspense"):60113,Re=n?Symbol.for("react.suspense_list"):60120,we=n?Symbol.for("react.memo"):60115,Qe=n?Symbol.for("react.lazy"):60116,J=n?Symbol.for("react.block"):60121,q=n?Symbol.for("react.fundamental"):60117,yt=n?Symbol.for("react.responder"):60118,tt=n?Symbol.for("react.scope"):60119,rt=typeof Symbol=="function"&&Symbol.iterator,Be="@@iterator";function nt(i){if(i===null||typeof i!="object")return null;var u=rt&&i[rt]||i[Be];return typeof u=="function"?u:null}var it={current:null},ot={suspense:null},z={current:null},Ye=/^(.*)[\\\/]/;function st(i,u,f){var g="";if(u){var b=u.fileName,x=b.replace(Ye,"");if(/^index\./.test(x)){var O=b.match(Ye);if(O){var S=O[1];if(S){var U=S.replace(Ye,"");x=U+"/"+x}}}g=" (at "+x+":"+u.lineNumber+")"}else f&&(g=" (created by "+f+")");return`
64
+ in `+(i||"Unknown")+g}var K=1;function se(i){return i._status===K?i._result:null}function Ee(i,u,f){var g=u.displayName||u.name||"";return i.displayName||(g!==""?f+"("+g+")":f)}function W(i){if(i==null)return null;if(typeof i.tag=="number"&&P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case d:return"Fragment";case c:return"Portal";case y:return"Profiler";case v:return"StrictMode";case pe:return"Suspense";case Re:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case E:return"Context.Consumer";case m:return"Context.Provider";case Y:return Ee(i,i.render,"ForwardRef");case we:return W(i.type);case J:return W(i.render);case Qe:{var u=i,f=se(u);if(f)return W(f);break}}return null}var ge={},Te=null;function ve(i){Te=i}ge.getCurrentStack=null,ge.getStackAddendum=function(){var i="";if(Te){var u=W(Te.type),f=Te._owner;i+=st(u,Te._source,f&&W(f.type))}var g=ge.getCurrentStack;return g&&(i+=g()||""),i};var M={current:!1},Ge={ReactCurrentDispatcher:it,ReactCurrentBatchConfig:ot,ReactCurrentOwner:z,IsSomeRendererActing:M,assign:t};t(Ge,{ReactDebugCurrentFrame:ge,ReactComponentTreeHook:{}});function Pe(i){{for(var u=arguments.length,f=new Array(u>1?u-1:0),g=1;g<u;g++)f[g-1]=arguments[g];at("warn",i,f)}}function P(i){{for(var u=arguments.length,f=new Array(u>1?u-1:0),g=1;g<u;g++)f[g-1]=arguments[g];at("error",i,f)}}function at(i,u,f){{var g=f.length>0&&typeof f[f.length-1]=="string"&&f[f.length-1].indexOf(`
65
+ in`)===0;if(!g){var b=Ge.ReactDebugCurrentFrame,x=b.getStackAddendum();x!==""&&(u+="%s",f=f.concat([x]))}var O=f.map(function(N){return""+N});O.unshift("Warning: "+u),Function.prototype.apply.call(console[i],console,O);try{var S=0,U="Warning: "+u.replace(/%s/g,function(){return f[S++]});throw new Error(U)}catch{}}}var ut={};function xe(i,u){{var f=i.constructor,g=f&&(f.displayName||f.name)||"ReactClass",b=g+"."+u;if(ut[b])return;P("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",u,g),ut[b]=!0}}var We={isMounted:function(i){return!1},enqueueForceUpdate:function(i,u,f){xe(i,"forceUpdate")},enqueueReplaceState:function(i,u,f,g){xe(i,"replaceState")},enqueueSetState:function(i,u,f,g){xe(i,"setState")}},Oe={};Object.freeze(Oe);function re(i,u,f){this.props=i,this.context=u,this.refs=Oe,this.updater=f||We}re.prototype.isReactComponent={},re.prototype.setState=function(i,u){if(!(typeof i=="object"||typeof i=="function"||i==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,u,"setState")},re.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};{var Se={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},_t=function(i,u){Object.defineProperty(re.prototype,i,{get:function(){Pe("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})};for(var ze in Se)Se.hasOwnProperty(ze)&&_t(ze,Se[ze])}function bt(){}bt.prototype=re.prototype;function He(i,u,f){this.props=i,this.context=u,this.refs=Oe,this.updater=f||We}var me=He.prototype=new bt;me.constructor=He,t(me,re.prototype),me.isPureReactComponent=!0;function Ce(){var i={current:null};return Object.seal(i),i}var Ae=Object.prototype.hasOwnProperty,ct={key:!0,ref:!0,__self:!0,__source:!0},je,$e,Me;Me={};function ke(i){if(Ae.call(i,"ref")){var u=Object.getOwnPropertyDescriptor(i,"ref").get;if(u&&u.isReactWarning)return!1}return i.ref!==void 0}function lt(i){if(Ae.call(i,"key")){var u=Object.getOwnPropertyDescriptor(i,"key").get;if(u&&u.isReactWarning)return!1}return i.key!==void 0}function ae(i,u){var f=function(){je||(je=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",u))};f.isReactWarning=!0,Object.defineProperty(i,"key",{get:f,configurable:!0})}function Ie(i,u){var f=function(){$e||($e=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",u))};f.isReactWarning=!0,Object.defineProperty(i,"ref",{get:f,configurable:!0})}function wt(i){if(typeof i.ref=="string"&&z.current&&i.__self&&z.current.stateNode!==i.__self){var u=W(z.current.type);Me[u]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',W(z.current.type),i.ref),Me[u]=!0)}}var ue=function(i,u,f,g,b,x,O){var S={$$typeof:s,type:i,key:u,ref:f,props:O,_owner:x};return S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(S,"_self",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.defineProperty(S,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S};function Et(i,u,f){var g,b={},x=null,O=null,S=null,U=null;if(u!=null){ke(u)&&(O=u.ref,wt(u)),lt(u)&&(x=""+u.key),S=u.__self===void 0?null:u.__self,U=u.__source===void 0?null:u.__source;for(g in u)Ae.call(u,g)&&!ct.hasOwnProperty(g)&&(b[g]=u[g])}var N=arguments.length-2;if(N===1)b.children=f;else if(N>1){for(var Z=Array(N),H=0;H<N;H++)Z[H]=arguments[H+2];Object.freeze&&Object.freeze(Z),b.children=Z}if(i&&i.defaultProps){var Ue=i.defaultProps;for(g in Ue)b[g]===void 0&&(b[g]=Ue[g])}if(x||O){var de=typeof i=="function"?i.displayName||i.name||"Unknown":i;x&&ae(b,de),O&&Ie(b,de)}return ue(i,x,O,S,U,z.current,b)}function ft(i,u){var f=ue(i.type,u,i.ref,i._self,i._source,i._owner,i.props);return f}function Tt(i,u,f){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var g,b=t({},i.props),x=i.key,O=i.ref,S=i._self,U=i._source,N=i._owner;if(u!=null){ke(u)&&(O=u.ref,N=z.current),lt(u)&&(x=""+u.key);var Z;i.type&&i.type.defaultProps&&(Z=i.type.defaultProps);for(g in u)Ae.call(u,g)&&!ct.hasOwnProperty(g)&&(u[g]===void 0&&Z!==void 0?b[g]=Z[g]:b[g]=u[g])}var H=arguments.length-2;if(H===1)b.children=f;else if(H>1){for(var Ue=Array(H),de=0;de<H;de++)Ue[de]=arguments[de+2];b.children=Ue}return ue(i.type,x,O,S,U,N,b)}function ce(i){return typeof i=="object"&&i!==null&&i.$$typeof===s}var Ot=".",$t=":";function St(i){var u=/[=:]/g,f={"=":"=0",":":"=2"},g=(""+i).replace(u,function(b){return f[b]});return"$"+g}var Ct=!1,Mt=/\/+/g;function Je(i){return(""+i).replace(Mt,"$&/")}var Le=10,le=[];function Fe(i,u,f,g){if(le.length){var b=le.pop();return b.result=i,b.keyPrefix=u,b.func=f,b.context=g,b.count=0,b}else return{result:i,keyPrefix:u,func:f,context:g,count:0}}function ne(i){i.result=null,i.keyPrefix=null,i.func=null,i.context=null,i.count=0,le.length<Le&&le.push(i)}function ie(i,u,f,g){var b=typeof i;(b==="undefined"||b==="boolean")&&(i=null);var x=!1;if(i===null)x=!0;else switch(b){case"string":case"number":x=!0;break;case"object":switch(i.$$typeof){case s:case c:x=!0}}if(x)return f(g,i,u===""?Ot+Ke(i,0):u),1;var O,S,U=0,N=u===""?Ot:u+$t;if(Array.isArray(i))for(var Z=0;Z<i.length;Z++)O=i[Z],S=N+Ke(O,Z),U+=ie(O,S,f,g);else{var H=nt(i);if(typeof H=="function"){H===i.entries&&(Ct||Pe("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Ct=!0);for(var Ue=H.call(i),de,Pr=0;!(de=Ue.next()).done;)O=de.value,S=N+Ke(O,Pr++),U+=ie(O,S,f,g)}else if(b==="object"){var ir="";ir=" If you meant to render a collection of children, use an array instead."+ge.getStackAddendum();var Qt=""+i;throw Error("Objects are not valid as a React child (found: "+(Qt==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":Qt)+")."+ir)}}return U}function De(i,u,f){return i==null?0:ie(i,"",u,f)}function Ke(i,u){return typeof i=="object"&&i!==null&&i.key!=null?St(i.key):u.toString(36)}function kt(i,u,f){var g=i.func,b=i.context;g.call(b,u,i.count++)}function At(i,u,f){if(i==null)return i;var g=Fe(null,null,u,f);De(i,kt,g),ne(g)}function It(i,u,f){var g=i.result,b=i.keyPrefix,x=i.func,O=i.context,S=x.call(O,u,i.count++);Array.isArray(S)?Ve(S,g,f,function(U){return U}):S!=null&&(ce(S)&&(S=ft(S,b+(S.key&&(!u||u.key!==S.key)?Je(S.key)+"/":"")+f)),g.push(S))}function Ve(i,u,f,g,b){var x="";f!=null&&(x=Je(f)+"/");var O=Fe(u,x,g,b);De(i,It,O),ne(O)}function dt(i,u,f){if(i==null)return i;var g=[];return Ve(i,g,null,u,f),g}function ye(i){return De(i,function(){return null},null)}function Lt(i){var u=[];return Ve(i,u,null,function(f){return f}),u}function Rt(i){if(!ce(i))throw Error("React.Children.only expected to receive a single React element child.");return i}function Ft(i,u){u===void 0?u=null:u!==null&&typeof u!="function"&&P("createContext: Expected the optional second argument to be a function. Instead received: %s",u);var f={$$typeof:E,_calculateChangedBits:u,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null};f.Provider={$$typeof:m,_context:f};var g=!1,b=!1;{var x={$$typeof:E,_context:f,_calculateChangedBits:f._calculateChangedBits};Object.defineProperties(x,{Provider:{get:function(){return b||(b=!0,P("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),f.Provider},set:function(O){f.Provider=O}},_currentValue:{get:function(){return f._currentValue},set:function(O){f._currentValue=O}},_currentValue2:{get:function(){return f._currentValue2},set:function(O){f._currentValue2=O}},_threadCount:{get:function(){return f._threadCount},set:function(O){f._threadCount=O}},Consumer:{get:function(){return g||(g=!0,P("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),f.Consumer}}}),f.Consumer=x}return f._currentRenderer=null,f._currentRenderer2=null,f}function Dt(i){var u={$$typeof:Qe,_ctor:i,_status:-1,_result:null};{var f,g;Object.defineProperties(u,{defaultProps:{configurable:!0,get:function(){return f},set:function(b){P("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),f=b,Object.defineProperty(u,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return g},set:function(b){P("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),g=b,Object.defineProperty(u,"propTypes",{enumerable:!0})}}})}return u}function Vt(i){return i!=null&&i.$$typeof===we?P("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?P("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&P("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&(i.defaultProps!=null||i.propTypes!=null)&&P("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:Y,render:i}}function X(i){return typeof i=="string"||typeof i=="function"||i===d||i===Q||i===y||i===v||i===pe||i===Re||typeof i=="object"&&i!==null&&(i.$$typeof===Qe||i.$$typeof===we||i.$$typeof===m||i.$$typeof===E||i.$$typeof===Y||i.$$typeof===q||i.$$typeof===yt||i.$$typeof===tt||i.$$typeof===J)}function a(i,u){return X(i)||P("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),{$$typeof:we,type:i,compare:u===void 0?null:u}}function p(){var i=it.current;if(i===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
66
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
67
+ 2. You might be breaking the Rules of Hooks
68
+ 3. You might have more than one copy of React in the same app
69
+ See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return i}function _(i,u){var f=p();if(u!==void 0&&P("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",u,typeof u=="number"&&Array.isArray(arguments[2])?`
70
+
71
+ Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),i._context!==void 0){var g=i._context;g.Consumer===i?P("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):g.Provider===i&&P("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return f.useContext(i,u)}function T(i){var u=p();return u.useState(i)}function $(i,u,f){var g=p();return g.useReducer(i,u,f)}function j(i){var u=p();return u.useRef(i)}function R(i,u){var f=p();return f.useEffect(i,u)}function A(i,u){var f=p();return f.useLayoutEffect(i,u)}function B(i,u){var f=p();return f.useCallback(i,u)}function L(i,u){var f=p();return f.useMemo(i,u)}function F(i,u,f){var g=p();return g.useImperativeHandle(i,u,f)}function V(i,u){{var f=p();return f.useDebugValue(i,u)}}var fe;fe=!1;function ht(){if(z.current){var i=W(z.current.type);if(i)return`
72
+
73
+ Check the render method of \``+i+"`."}return""}function oe(i){if(i!==void 0){var u=i.fileName.replace(/^.*[\\\/]/,""),f=i.lineNumber;return`
74
+
75
+ Check your code at `+u+":"+f+"."}return""}function br(i){return i!=null?oe(i.__source):""}var Zt={};function wr(i){var u=ht();if(!u){var f=typeof i=="string"?i:i.displayName||i.name;f&&(u=`
76
+
77
+ Check the top-level render call using <`+f+">.")}return u}function Ut(i,u){if(!(!i._store||i._store.validated||i.key!=null)){i._store.validated=!0;var f=wr(u);if(!Zt[f]){Zt[f]=!0;var g="";i&&i._owner&&i._owner!==z.current&&(g=" It was passed a child from "+W(i._owner.type)+"."),ve(i),P('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',f,g),ve(null)}}}function pt(i,u){if(typeof i=="object"){if(Array.isArray(i))for(var f=0;f<i.length;f++){var g=i[f];ce(g)&&Ut(g,u)}else if(ce(i))i._store&&(i._store.validated=!0);else if(i){var b=nt(i);if(typeof b=="function"&&b!==i.entries)for(var x=b.call(i),O;!(O=x.next()).done;)ce(O.value)&&Ut(O.value,u)}}}function er(i){{var u=i.type;if(u==null||typeof u=="string")return;var f=W(u),g;if(typeof u=="function")g=u.propTypes;else if(typeof u=="object"&&(u.$$typeof===Y||u.$$typeof===we))g=u.propTypes;else return;g?(ve(i),e(g,i.props,"prop",f,ge.getStackAddendum),ve(null)):u.PropTypes!==void 0&&!fe&&(fe=!0,P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")),typeof u.getDefaultProps=="function"&&!u.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nt(i){{ve(i);for(var u=Object.keys(i.props),f=0;f<u.length;f++){var g=u[f];if(g!=="children"&&g!=="key"){P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",g);break}}i.ref!==null&&P("Invalid attribute `ref` supplied to `React.Fragment`."),ve(null)}}function tr(i,u,f){var g=X(i);if(!g){var b="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=br(u);x?b+=x:b+=ht();var O;i===null?O="null":Array.isArray(i)?O="array":i!==void 0&&i.$$typeof===s?(O="<"+(W(i.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):O=typeof i,P("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",O,b)}var S=Et.apply(this,arguments);if(S==null)return S;if(g)for(var U=2;U<arguments.length;U++)pt(arguments[U],i);return i===d?Nt(S):er(S),S}var rr=!1;function Er(i){var u=tr.bind(null,i);return u.type=i,rr||(rr=!0,Pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(u,"type",{enumerable:!1,get:function(){return Pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:i}),i}}),u}function Tr(i,u,f){for(var g=Tt.apply(this,arguments),b=2;b<arguments.length;b++)pt(arguments[b],g.type);return er(g),g}try{var nr=Object.freeze({}),Or=new Map([[nr,null]]),qt=new Set([nr]);Or.set(0,0),qt.add(0)}catch{}var Sr=tr,Cr=Tr,Ar=Er,Rr={map:dt,forEach:At,count:ye,toArray:Lt,only:Rt};k.Children=Rr,k.Component=re,k.Fragment=d,k.Profiler=y,k.PureComponent=He,k.StrictMode=v,k.Suspense=pe,k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ge,k.cloneElement=Cr,k.createContext=Ft,k.createElement=Sr,k.createFactory=Ar,k.createRef=Ce,k.forwardRef=Vt,k.isValidElement=ce,k.lazy=Dt,k.memo=a,k.useCallback=B,k.useContext=_,k.useDebugValue=V,k.useEffect=R,k.useImperativeHandle=F,k.useLayoutEffect=A,k.useMemo=L,k.useReducer=$,k.useRef=j,k.useState=T,k.version=r}();process.env.NODE_ENV==="production"?zt.exports=I:zt.exports=k;var xt=zt.exports,kr={sdkSemver:"1.13.0",techVersion:xt.version,sdkCode:"J"},aa=function(t){bi(e,t);function e(r){var n=t.call(this,r)||this;return n.imageRef=xt.createRef(),n}return e.prototype.componentDidMount=function(){this.htmlLayerInstance=new zi(this.imageRef.current,this.props.cldImg,this.props.plugins,kr)},e.prototype.componentDidUpdate=function(){ur(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,kr)},e.prototype.componentWillUnmount=function(){ur(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},e.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=wi(r,["cldImg","plugins"]);if(rn())return xt.createElement("img",Wt({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var s=Is(this.props.plugins,this.props.cldImg,kr);return xt.createElement("img",Wt({},n,{src:s}))},e}(xt.Component),ua=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(t){bi(e,t);function e(r){var n=t.call(this,r)||this;return n.videoRef=zt.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return e.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Ss(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(){ur(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},e.prototype.componentWillUnmount=function(){ur(this.htmlVideoLayerInstance.htmlPluginState)},e.prototype.getVideoAttributes=function(){var r=this,n={};return ua.forEach(function(s){s in r.props&&(n[s]=r.props[s])}),n},e.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},e.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=wi(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return xt.createElement("video",Wt({},n,{ref:this.attachRef}))},e})(zt.exports.Component);function ca(t){return!(typeof t!="object"||t instanceof Array)}class la{filterOutNonSupportedKeys(e,r){const n=Object.create({});return ca(e)?(Object.keys(e).forEach(s=>{r.indexOf(s)>=0?n[s]=e[s]:console.warn("Warning - unsupported key provided to configuration: ",s)}),n):Object.create({})}}const Mn=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class cn extends la{constructor(e){super();const r=this.filterOutNonSupportedKeys(e,Mn);Object.assign(this,{secure:!0},r)}extend(e){const r=this.filterOutNonSupportedKeys(e,Mn);return new cn(Object.assign({},this,r))}setCname(e){return this.cname=e,this}setSecureDistribution(e){return this.secureDistribution=e,this}setPrivateCdn(e){return this.privateCdn=e,this}setSignUrl(e){return this.signUrl=e,this}setLongUrlSignature(e){return this.longUrlSignature=e,this}setShorten(e){return this.shorten=e,this}setUseRootPath(e){return this.useRootPath=e,this}setSecure(e){return this.secure=e,this}setForceVersion(e){return this.forceVersion=e,this}setQueryParams(e){return this.queryParams=e,this}}class Ht{constructor(e){this.values=[],this.delimiter=":",this.hasValue(e)&&this.addValue(e)}toString(){return this.values.join(this.delimiter)}hasValue(e){return typeof e<"u"&&e!==null&&e!==""}addValue(e){return Array.isArray(e)?this.values=this.values.concat(e):this.values.push(e),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(e){return this.delimiter=e,this}}class fa extends Error{constructor(e="Unsupported"){super(e)}}function ln(t){return new fa(t)}function da(){return this._qualifierModel||{error:ln(`unsupported qualifier ${this.constructor.name}`)}}class ha{constructor(){this._qualifierModel={}}toJson(){return da.apply(this)}}class yr extends ha{constructor(e,r){super(),this.delimiter="_",this.key=e,r instanceof Ht?this.qualifierValue=r:(this.qualifierValue=new Ht,this.qualifierValue.addValue(r))}toString(){const{key:e,delimiter:r,qualifierValue:n}=this;return`${e}${r}${n.toString()}`}addValue(e){return this.qualifierValue.addValue(e),this}}class et extends yr{constructor(e,r){let n;r?n=new Ht([e,`${r}`]).setDelimiter(":"):n=e,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function pa(t,e){const r=Array.from(t.entries());return e.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function ga(){var t,e,r;const n=this._actionModel&&Object.keys(this._actionModel).length,s=(r=(e=(t=this._actionModel)===null||t===void 0?void 0:t.source)===null||e===void 0?void 0:e.transformation)===null||r===void 0?void 0:r.error;return s&&s instanceof Error?{error:s}:n?this._actionModel:{error:ln(`unsupported action ${this.constructor.name}`)}}class va{constructor(){this._actionModel={}}toJson(){return ga.apply(this)}}class fn extends va{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(e){return this.actionTag=e,this}toString(){return this.prepareQualifiers(),pa(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(e){if(typeof e=="string"){const[r,n]=e.toLowerCase().split("_");r==="fl"?this.flags.push(new et(n)):this.qualifiers.set(r,new yr(r,n))}else this.qualifiers.set(e.key,e);return this}addFlag(e){return typeof e=="string"?this.flags.push(new et(e)):e instanceof et&&this.flags.push(e),this}addValueToQualifier(e,r){return this.qualifiers.get(e).addValue(r),this}}function ma(t){return t&&(t.match(/^#/)?`rgb:${t.substr(1)}`:t)}class ya extends fn{constructor(e){super(),this._actionModel={},this.addQualifier(new yr("b",new Ht(ma(e)).setDelimiter("_"))),this._actionModel.color=e,this._actionModel.actionType="backgroundColor"}static fromJson(e){const{color:r}=e;return new this(r)}}class kn{constructor(e){this.raw=e}toString(){return this.raw}toJson(){return{error:ln(`unsupported action ${this.constructor.name}`)}}}function _a(t){const e=t;return"error"in e&&!!e.error}function ba(){return new et("lossy")}function wa(){return new et("preserve_transparency")}function Ea(t){return new et("progressive",t)}class Ta extends Ht{constructor(e){super(e),this.val=e}getValue(){return this.val}}function mt(t){const e={};return Object.keys(t).forEach(r=>{e[t[r]]=r}),e}const Oa={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Sa={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},Ca={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Aa={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Ra={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Pa={444:"CHROMA_444",420:"CHROMA_420"},xa={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};mt(Pa);mt(xa);mt(Oa);const ja=mt(Sa);mt(Ca);mt(Aa);mt(Ra);class $a extends fn{constructor(e,r,n){super(),this._actionModel={};let s;r instanceof Ta?s=r.getValue():s=r,this._actionModel.actionType=ja[e],this._actionModel[n]=s,this.addQualifier(new yr(e,r))}}class Ma extends et{constructor(e){super("progressive",e)}}class lr extends $a{constructor(e,r){super(e,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(ba()),this}progressive(e){return e instanceof Ma?(this._actionModel.progressive={mode:e.getFlagValue()},this.addFlag(e)):(this._actionModel.progressive={mode:e},this.addFlag(Ea(e))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(wa()),this}static fromJson(e){const{formatType:r,lossy:n,progressive:s,preserveTransparency:c}=e;let d;return r?d=new this("f",r):d=new this("f"),s&&(s.mode?d.progressive(s.mode):d.progressive()),n&&d.lossy(),c&&d.preserveTransparency(),d}}class _r{constructor(){this.actions=[]}addAction(e){let r;if(typeof e=="string"){if(e.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new kn(e)}else r=e;return this.actions.push(r),this}addTransformation(e){return e instanceof _r?this.actions=this.actions.concat(e.actions):this.actions.push(new kn(e)),this}toString(){return this.actions.map(e=>e.toString()).filter(e=>e).join("/")}animated(e){return this.addAction(e)}border(e){return this.addAction(e)}reshape(e){return this.addAction(e)}resize(e){return this.addAction(e)}quality(e){return this.addAction(new lr("q",e)),this}format(e){return this.addAction(new lr("f",e)),this}roundCorners(e){return this.addAction(e)}overlay(e){return this.addAction(e)}underlay(e){return e.setLayerType("u"),this.addAction(e)}addVariable(e){return this.addAction(e)}conditional(e){return this.addAction(e)}effect(e){return this.addAction(e)}adjust(e){return this.addAction(e)}rotate(e){return this.addAction(e)}namedTransformation(e){return this.addAction(e)}delivery(e){return this.addAction(e)}backgroundColor(e){return this.addAction(new ya(e))}psdTools(e){return this.addAction(e)}extract(e){return this.addAction(e)}addFlag(e){const r=new fn;let n=e;return typeof e=="string"&&(n=new et(e)),r.addQualifier(n),this.addAction(r)}customFunction(e){return this.addAction(e)}transcode(e){return this.addAction(e)}videoEdit(e){return this.addAction(e)}toJson(){const e=[];for(const r of this.actions){const n=r.toJson();if(_a(n))return n;e.push(n)}return{actions:e}}}class ka extends _r{}class Ia extends _r{}function La(t){return t.match(/^https?:\//)}function Fa(t){return t.indexOf("/")<0}function Da(t){return t.match(/^v[0-9]+/)}function Va(t,e){const r=e.secure,n=e.privateCdn,s=e.cname,c=e.secureDistribution;return!r&&!s?`http://res.cloudinary.com/${t}`:r&&!c&&n?`https://${t}-res.cloudinary.com`:r&&!c?`https://res.cloudinary.com/${t}`:r&&c&&n?`https://${c}`:r&&c?`https://${c}/${t}`:!r&&s?`http://${s}/${t}`:"ERROR"}function Ua(t){return t||"image"}function Na(t){return t||"upload"}function qa(t,e,r){const n=r!==!1;return e?`v${e}`:Da(t)||La(t)||Fa(t)?"":n?"v1":""}function dn(t,e,r){let n=e>>0,s=String(r);return t.length>n?String(t):(n=n-t.length,n>s.length&&(s+=Qa(s,n/s.length)),s.slice(0,n)+String(t))}function Qa(t,e){let r=e,n="";for(;r>0;)n+=t,r--;return n}const Ba="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fr={};let In=0;Ba.split("").forEach(t=>{let e=In.toString(2);e=dn(e,6,"0"),fr[e]=t,In++});function Ya(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").reverse().join(".")}function Ga(t){if(t.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return t.split(".").map(e=>{const r=+e;if(isNaN(r)||r<0)throw"Invalid version number provided";return dn(e,2,"0")}).join(".")}function Ln(t){let e="";const n=t.split(".").length*6,s=Ya(t),c=Ga(s);let v=parseInt(c.split(".").join("")).toString(2);if(v=dn(v,n,"0"),v.length%6!==0)throw"Version must be smaller than 43.21.26)";return v.match(/.{1,6}/g).forEach(y=>{e+=fr[y]}),e}function Wa(t){const 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}const za="1.21.0";function Ha(t){const[e,r]=t.split("."),n=parseInt(e).toString(2),s=parseInt(r).toString(2),c=n.padStart(6,"0"),d=s.padStart(6,"0");return fr[c]+fr[d]}function Ja(){const t="0.0.0";if(typeof window<"u")return t;try{return process.versions.node||t}catch{return t}}function Ka(t){const e={techVersion:Ja(),sdkCode:"T",sdkSemver:za.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return t?Object.assign(Object.assign({},e),t):e}function Fn(t){const e=Ka(t),r=Wa(e);try{const n=Xa(r.techVersion),s=Ln(r.sdkSemver),c=Ln(n),d=Ha(r.osVersion),v=r.feature,y=r.sdkCode,{product:m,osType:E}=r;return`D${m}${y}${s}${c}${E}${d}${v}`}catch{return"E"}}function Xa(t){const e=t.split(".");return`${e[0]}.${e[1]}`}const Dn={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Za{constructor(e,r={},n){this.setPublicID(e),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(e){return this.urlConfig=new cn(e),this}setCloudConfig(e){return this.cloudName=e.cloudName,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.authToken=e.authToken,this}setPublicID(e){return this.publicID=e?e.toString():"",this}setDeliveryType(e){return this.deliveryType=e,this}setSuffix(e){return this.suffix=e,this}setSignature(e){return this.signature=e,this}setVersion(e){return e&&(this.version=e),this}setAssetType(e){return e&&(this.assetType=e),this}sign(){return this}toURL(e={}){return this.createCloudinaryURL(null,e.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const e=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(e||r)throw"`suffix`` should not include . or /"}getResourceType(){const e=Ua(this.assetType),r=Na(this.deliveryType),n=!!this.suffix,s=`${e}/${r}`,c=Dn[`${e}/${r}`],d=this.urlConfig.useRootPath,v=this.urlConfig.shorten;if(d){if(s==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${s} instead`)}if(v&&s==="image/upload")return"iu";if(n){if(c)return c;throw new Error(`URL Suffix only supported for ${Object.keys(Dn).join(", ")}, Provided: ${s} instead`)}return s}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(e,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Va(this.cloudName,this.urlConfig),s=e?e.toString():"",c=qa(this.publicID,this.version,this.urlConfig.forceVersion),d=this.publicID;if(typeof e=="string")return[n,this.getResourceType(),this.getSignature(),s,c,d.replace(/,/g,"%2C"),this.suffix].filter(y=>y).join("/");{const v=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(s),c,encodeURI(d).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(E=>E).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),y=this.urlConfig.analytics!==!1&&!d.includes("?");let m="";if(typeof this.urlConfig.queryParams=="object")try{const E=new URLSearchParams(this.urlConfig.queryParams);y&&E.set("_a",Fn(r)),m=E.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else m=this.urlConfig.queryParams||"",y&&(m+=`${m.length>0?"&":""}_a=${Fn(r)}`);return m?`${v}?${m}`:v}}}class ki extends Za{constructor(e,r,n,s){super(e,r,n),this.transformation=s}animated(e){return this.transformation.animated(e),this}border(e){return this.transformation.border(e),this}reshape(e){return this.transformation.reshape(e),this}resize(e){return this.transformation.resize(e),this}quality(e){return this.addAction(new lr("q",e)),this}format(e){return this.addAction(new lr("f",e)),this}roundCorners(e){return this.transformation.roundCorners(e),this}overlay(e){return this.transformation.overlay(e),this}addVariable(e){return this.transformation.addVariable(e),this}conditional(e){return this.transformation.conditional(e),this}effect(e){return this.transformation.effect(e),this}adjust(e){return this.transformation.adjust(e),this}rotate(e){return this.transformation.rotate(e),this}namedTransformation(e){return this.transformation.namedTransformation(e),this}delivery(e){return this.transformation.delivery(e),this}backgroundColor(e){return this.transformation.backgroundColor(e),this}psdTools(e){return this.transformation.psdTools(e),this}extract(e){return this.transformation.extract(e),this}addFlag(e){return this.transformation.addFlag(e),this}customFunction(e){return this.transformation.customFunction(e),this}addAction(e){return this.transformation.addAction(e),this}addTransformation(e){return this.transformation.addTransformation(e),this}toString(){return this.transformation.toString()}underlay(e){return this.transformation.underlay(e),this}toURL(e={}){return this.createCloudinaryURL(this.transformation,e==null?void 0:e.trackedAnalytics)}}class eu extends ki{constructor(e,r,n){super(e,r,n,new ka)}}class tu extends ki{constructor(e,r,n){super(e,r,n,new Ia),this.assetType="video"}transcode(e){return this.transformation.transcode(e),this}videoEdit(e){return this.transformation.videoEdit(e),this}}class ru{constructor(e){e&&(this.cloudinaryConfig=e)}image(e){return new eu(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(e){return new tu(e,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(e){return this.cloudinaryConfig=e,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const nu=({publicId:t,format:e="webp"})=>{const r=Gt.useMemo(()=>new ru({cloud:{cloudName:"fluid-attacks"}}),[]);return Gt.useMemo(()=>r.image(t).format(e),[r,t,e])},iu=({alt:t,height:e,publicId:r,width:n,plugins:s=[Ps(),Ms()]})=>{const c=nu({publicId:r});return Yi.jsx(aa,{alt:t??"img",cldImg:c,height:e??"",plugins:s,width:n??""})},ou=Gt.memo(iu);exports.CloudImage=ou;