This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
cloudinary-jquery-file-upload.min.js
1 lines (1 loc) · 78.3 KB
/
cloudinary-jquery-file-upload.min.js
1
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.cloudinary=e():t.cloudinary=e()}(this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"getData",function(){return S}),n.d(r,"setData",function(){return P}),n.d(r,"getAttribute",function(){return x}),n.d(r,"setAttribute",function(){return T}),n.d(r,"removeAttribute",function(){return R}),n.d(r,"setAttributes",function(){return z}),n.d(r,"hasClass",function(){return Q}),n.d(r,"addClass",function(){return I}),n.d(r,"width",function(){return V}),n.d(r,"isString",function(){return N}),n.d(r,"merge",function(){return L}),n.d(r,"compact",function(){return M}),n.d(r,"cloneDeep",function(){return H}),n.d(r,"contains",function(){return U}),n.d(r,"difference",function(){return q}),n.d(r,"functions",function(){return W}),n.d(r,"identity",function(){return $}),n.d(r,"isArray",function(){return X}),n.d(r,"assign",function(){return Y}),n.d(r,"isPlainObject",function(){return Z}),n.d(r,"trim",function(){return K}),n.d(r,"allStrings",function(){return c}),n.d(r,"without",function(){return s}),n.d(r,"isNumberLike",function(){return l}),n.d(r,"smartEscape",function(){return f}),n.d(r,"defaults",function(){return p}),n.d(r,"objectProto",function(){return h}),n.d(r,"objToString",function(){return y}),n.d(r,"isObject",function(){return d}),n.d(r,"funcTag",function(){return v}),n.d(r,"isFunction",function(){return m}),n.d(r,"reWords",function(){return g}),n.d(r,"camelCase",function(){return b}),n.d(r,"snakeCase",function(){return _}),n.d(r,"convertKeys",function(){return D}),n.d(r,"withCamelCaseKeys",function(){return B}),n.d(r,"withSnakeCaseKeys",function(){return w}),n.d(r,"base64Encode",function(){return A}),n.d(r,"base64EncodeURL",function(){return E}),n.d(r,"extractUrlParams",function(){return k}),n.d(r,"patchFetchFormat",function(){return F}),n.d(r,"optionConsume",function(){return O}),n.d(r,"isEmpty",function(){return j});var o={};n.r(o),n.d(o,"VERSION",function(){return le}),n.d(o,"CF_SHARED_CDN",function(){return fe}),n.d(o,"OLD_AKAMAI_SHARED_CDN",function(){return pe}),n.d(o,"AKAMAI_SHARED_CDN",function(){return he}),n.d(o,"SHARED_CDN",function(){return ye}),n.d(o,"DEFAULT_POSTER_OPTIONS",function(){return de}),n.d(o,"DEFAULT_VIDEO_SOURCE_TYPES",function(){return ve}),n.d(o,"SEO_TYPES",function(){return me}),n.d(o,"DEFAULT_IMAGE_PARAMS",function(){return ge}),n.d(o,"DEFAULT_VIDEO_PARAMS",function(){return be});var i=function(t){var e,n,r,o,i,u,a,c;if(null==t)return"";for(c="",i=void 0,r=void 0,0,i=r=0,a=(u=t+"").length,o=0;o<a;)n=null,(e=u.charCodeAt(o))<128?r++:n=e>127&&e<2048?String.fromCharCode(e>>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==n&&(r>i&&(c+=u.slice(i,r)),c+=n,i=r=o+1),o++;return r>i&&(c+=u.slice(i,a)),c},u=function(t){var e,n,r,o;for("00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D",e=0,0,o=0,e^=-1,n=0,r=(t=i(t)).length;n<r;)o=255&(e^t.charCodeAt(n)),e=e>>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*o,8),n++;return(e^=-1)<0&&(e+=4294967296),e};function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=function(t){return t.length&&t.every(function(t){return"string"==typeof t})},s=function(t,e){return t.filter(function(t){return t!==e})},l=function(t){return null!=t&&!isNaN(parseFloat(t))},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/([^a-zA-Z0-9_.\-\/:]+)/g;return t.replace(e,function(t){return t.split("").map(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}).join("")})},p=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.reduce(function(t,e){var n,r;for(n in e)r=e[n],void 0===t[n]&&(t[n]=r);return t},t)},h=Object.prototype,y=h.toString,d=function(t){var e;return e=a(t),!!t&&("object"===e||"function"===e)},v="[object Function]",m=function(t){return d(t)&&y.call(t)===v},g=RegExp("[A-Z]+(?=[A-Z][a-z]+)|[A-Z]?[a-z]+|[A-Z]+|[0-9]+","g"),b=function(t){var e=t.match(g);return(e=e.map(function(t){return t.charAt(0).toLocaleUpperCase()+t.slice(1).toLocaleLowerCase()}))[0]=e[0].toLocaleLowerCase(),e.join("")},_=function(t){var e=t.match(g);return(e=e.map(function(t){return t.toLocaleLowerCase()})).join("_")},D=function(t,e){var n,r;for(var o in n={},t)r=t[o],e&&(o=e(o)),j(o)||(n[o]=r);return n},B=function(t){return D(t,b)},w=function(t){return D(t,_)},A="undefined"!=typeof btoa&&m(btoa)?btoa:"undefined"!=typeof Buffer&&m(Buffer)?function(t){return t instanceof Buffer||(t=new Buffer.from(String(t),"binary")),t.toString("base64")}:function(t){throw new Error("No base64 encoding function found")},E=function(t){try{t=decodeURI(t)}finally{t=encodeURI(t)}return A(t)},C=["api_secret","auth_token","cdn_subdomain","cloud_name","cname","format","private_cdn","resource_type","secure","secure_cdn_subdomain","secure_distribution","shorten","sign_url","ssl_detected","type","url_suffix","use_root_path","version"];function k(t){return C.reduce(function(e,n){return null!=t[n]&&(e[n]=t[n]),e},{})}function F(t){null==t&&(t={}),"fetch"===t.type&&null==t.fetch_format&&(t.fetch_format=O(t,"format"))}function O(t,e,n){var r=t[e];return delete t[e],null!=r?r:n}function j(t){if(null==t)return!0;if("number"==typeof t.length)return 0===t.length;if("number"==typeof t.size)return 0===t.size;if("object"==a(t)){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}return!0}var S=function(t,e){return jQuery(t).data(e)},P=function(t,e,n){return jQuery(t).data(e,n)},x=function(t,e){return jQuery(t).attr(e)},T=function(t,e,n){return jQuery(t).attr(e,n)},R=function(t,e){return jQuery(t).removeAttr(e)},z=function(t,e){return jQuery(t).attr(e)},Q=function(t,e){return jQuery(t).hasClass(e)},I=function(t,e){return jQuery(t).addClass(e)},V=function(t){return jQuery(t).width()},N=function(t){return"string"==typeof t||"[object String]"===(null!=t?t.toString():void 0)},L=function(){var t,e;return(t=function(){var t,n,r;for(r=[],t=0,n=arguments.length;t<n;t++)e=arguments[t],r.push(e);return r}.apply(this,arguments)).unshift(!0),jQuery.extend.apply(this,t)},M=function(t){var e,n,r,o;for(o=[],n=0,r=t.length;n<r;n++)(e=t[n])&&o.push(e);return o},H=function(){var t;return(t=jQuery.makeArray(arguments)).unshift({}),t.unshift(!0),jQuery.extend.apply(this,t)},U=function(t,e){var n,r;for(n=0,r=t.length;n<r;n++)if(t[n]===e)return!0;return!1},q=function(t,e){var n,r,o,i;for(i=[],r=0,o=t.length;r<o;r++)n=t[r],U(e,n)||i.push(n);return i},W=function(t){var e,n;for(e in n=[],t)jQuery.isFunction(t[e])&&n.push(e);return n},$=function(t){return t},X=jQuery.isArray,Y=jQuery.extend,Z=jQuery.isPlainObject,K=jQuery.trim;function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var J=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.expressions=[],null!=e&&this.expressions.push(t.normalize(e))}var e,n,r;return e=t,r=[{key:"new",value:function(t){return new this(t)}},{key:"normalize",value:function(e){var n,r;return null==e?e:(e=String(e),"\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*",n="((\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*)(?=[ _])|"+Object.keys(t.PREDEFINED_VARS).join("|")+")",r=new RegExp(n,"g"),(e=e.replace(r,function(e){return t.OPERATORS[e]||t.PREDEFINED_VARS[e]})).replace(/[ _]+/g,"_"))}},{key:"variable",value:function(t,e){return new this(t).value(e)}},{key:"width",value:function(){return new this("width")}},{key:"height",value:function(){return new this("height")}},{key:"initialWidth",value:function(){return new this("initialWidth")}},{key:"initialHeight",value:function(){return new this("initialHeight")}},{key:"aspectRatio",value:function(){return new this("aspectRatio")}},{key:"initialAspectRatio",value:function(){return new this("initialAspectRatio")}},{key:"pageCount",value:function(){return new this("pageCount")}},{key:"faceCount",value:function(){return new this("faceCount")}},{key:"currentPage",value:function(){return new this("currentPage")}},{key:"tags",value:function(){return new this("tags")}},{key:"pageX",value:function(){return new this("pageX")}},{key:"pageY",value:function(){return new this("pageY")}}],(n=[{key:"serialize",value:function(){return t.normalize(this.expressions.join("_"))}},{key:"toString",value:function(){return this.serialize()}},{key:"getParent",value:function(){return this.parent}},{key:"setParent",value:function(t){return this.parent=t,this}},{key:"predicate",value:function(e,n,r){return null!=t.OPERATORS[n]&&(n=t.OPERATORS[n]),this.expressions.push("".concat(e,"_").concat(n,"_").concat(r)),this}},{key:"and",value:function(){return this.expressions.push("and"),this}},{key:"or",value:function(){return this.expressions.push("or"),this}},{key:"then",value:function(){return this.getParent().if(this.toString())}},{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}},{key:"value",value:function(t){return this.expressions.push(t),this}}])&&G(e.prototype,n),r&&G(e,r),t}();J.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub"},J.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},J.BOUNDRY="[ _]+";var tt=J;function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var ut=function(t){function Condition(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Condition),rt(this,ot(Condition).call(this,t))}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(Condition,tt),e=Condition,(n=[{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}}])&&nt(e.prototype,n),r&&nt(e,r),Condition}();function at(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var st=function(){function Configuration(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Configuration),this.configuration=null==t?{}:H(t),p(this.configuration,lt)}var t,e,n;return t=Configuration,(e=[{key:"init",value:function(){return this.fromEnvironment(),this.fromDocument(),this}},{key:"set",value:function(t,e){return this.configuration[t]=e,this}},{key:"get",value:function(t){return this.configuration[t]}},{key:"merge",value:function(t){return Y(this.configuration,H(t)),this}},{key:"fromDocument",value:function(){var t,e,n,r;if(r="undefined"!=typeof document&&null!==document?document.querySelectorAll('meta[name^="cloudinary_"]'):void 0)for(e=0,n=r.length;e<n;e++)t=r[e],this.configuration[t.getAttribute("name").replace("cloudinary_","")]=t.getAttribute("content");return this}},{key:"fromEnvironment",value:function(){var t,e,n,r=this;return"undefined"!=typeof process&&null!==process&&process.env&&process.env.CLOUDINARY_URL&&(t=process.env.CLOUDINARY_URL,(n=/cloudinary:\/\/(?:(\w+)(?:\:([\w-]+))?@)?([\w\.-]+)(?:\/([^?]*))?(?:\?(.+))?/.exec(t))&&(null!=n[3]&&(this.configuration.cloud_name=n[3]),null!=n[1]&&(this.configuration.api_key=n[1]),null!=n[2]&&(this.configuration.api_secret=n[2]),null!=n[4]&&(this.configuration.private_cdn=null!=n[4]),null!=n[4]&&(this.configuration.secure_distribution=n[4]),null!=(e=n[5])&&e.split("&").forEach(function(t){var e=at(t.split("="),2),n=e[0],o=e[1];null==o&&(o=!0),r.configuration[n]=o}))),this}},{key:"config",value:function(t,e){switch(!1){case void 0===e:return this.set(t,e),this.configuration;case!N(t):return this.get(t);case!Z(t):return this.merge(t),this.configuration;default:return this.configuration}}},{key:"toOptions",value:function(){return H(this.configuration)}}])&&ct(t.prototype,e),n&&ct(t,n),Configuration}(),lt={responsive_class:"cld-responsive",responsive_use_breakpoints:!0,round_dpr:!0,secure:"https:"===("undefined"!=typeof window&&null!==window&&window.location?window.location.protocol:void 0)};st.CONFIG_PARAMS=["api_key","api_secret","callback","cdn_subdomain","cloud_name","cname","private_cdn","protocol","resource_type","responsive","responsive_class","responsive_use_breakpoints","responsive_width","round_dpr","secure","secure_cdn_subdomain","secure_distribution","shorten","type","upload_preset","url_suffix","use_root_path","version"];var ft=st;function pt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ht=function(){function Layer(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Layer),this.options={},null!=t&&["resourceType","type","publicId","format"].forEach(function(n){var r;return e.options[n]=null!=(r=t[n])?r:t[_(n)]})}var t,e,n;return t=Layer,(e=[{key:"resourceType",value:function(t){return this.options.resourceType=t,this}},{key:"type",value:function(t){return this.options.type=t,this}},{key:"publicId",value:function(t){return this.options.publicId=t,this}},{key:"getPublicId",value:function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0}},{key:"getFullPublicId",value:function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()}},{key:"format",value:function(t){return this.options.format=t,this}},{key:"toString",value:function(){var t;if(t=[],null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.push(this.getFullPublicId()),M(t).join(":")}}])&&pt(t.prototype,e),n&&pt(t,n),Layer}();function yt(t){return(yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function vt(t,e){return!e||"object"!==yt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function mt(t){return(mt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function gt(t,e){return(gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var bt=function(t){function TextLayer(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,TextLayer),e=vt(this,mt(TextLayer).call(this,t)),null!=t&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","text"].forEach(function(n){var r;return e.options[n]=null!=(r=t[n])?r:t[_(n)]}),e.options.resourceType="text",e}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}(TextLayer,ht),e=TextLayer,(n=[{key:"resourceType",value:function(t){throw"Cannot modify resourceType for text layers"}},{key:"type",value:function(t){throw"Cannot modify type for text layers"}},{key:"format",value:function(t){throw"Cannot modify format for text layers"}},{key:"fontFamily",value:function(t){return this.options.fontFamily=t,this}},{key:"fontSize",value:function(t){return this.options.fontSize=t,this}},{key:"fontWeight",value:function(t){return this.options.fontWeight=t,this}},{key:"fontStyle",value:function(t){return this.options.fontStyle=t,this}},{key:"textDecoration",value:function(t){return this.options.textDecoration=t,this}},{key:"textAlign",value:function(t){return this.options.textAlign=t,this}},{key:"stroke",value:function(t){return this.options.stroke=t,this}},{key:"letterSpacing",value:function(t){return this.options.letterSpacing=t,this}},{key:"lineSpacing",value:function(t){return this.options.lineSpacing=t,this}},{key:"text",value:function(t){return this.options.text=t,this}},{key:"toString",value:function(){var t,e,n,r,o,i,u,a,c,s;if(a=this.textStyleIdentifier(),null!=this.options.publicId&&(r=this.getFullPublicId()),null!=this.options.text){if(e=!j(r),n=!j(a),e&&n||!e&&!n)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";for(o=/\$\([a-zA-Z]\w*\)/g,u=0,s=f(this.options.text,/[,\/]/g),c="";i=o.exec(s);)c+=f(s.slice(u,i.index)),c+=i[0],u=i.index+i[0].length;c+=f(s.slice(u))}return t=[this.options.resourceType,a,r,c],M(t).join(":")}},{key:"textStyleIdentifier",value:function(){var t;if(t=[],"normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),j(this.options.letterSpacing)&&!l(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),j(this.options.lineSpacing)&&!l(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),!j(M(t))){if(j(this.options.fontFamily))throw"Must supply fontFamily. ".concat(t);if(j(this.options.fontSize)&&!l(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=M(t).join("_")}}])&&dt(e.prototype,n),r&&dt(e,r),TextLayer}();function _t(t){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){return!e||"object"!==_t(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wt(t,e){return(wt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var At=function(t){function SubtitlesLayer(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,SubtitlesLayer),(e=Dt(this,Bt(SubtitlesLayer).call(this,t))).options.resourceType="subtitles",e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wt(t,e)}(SubtitlesLayer,bt),SubtitlesLayer}();function Et(t){return(Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function kt(t,e){return!e||"object"!==Et(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ot(t,e){return(Ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var jt=function(t){function FetchLayer(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,FetchLayer),e=kt(this,Ft(FetchLayer).call(this,t)),N(t)?e.options.url=t:(null!=t?t.url:void 0)&&(e.options.url=t.url),e}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}(FetchLayer,ht),e=FetchLayer,(n=[{key:"url",value:function(t){return this.options.url=t,this}},{key:"toString",value:function(){return"fetch:".concat(E(this.options.url))}}])&&Ct(e.prototype,n),r&&Ct(e,r),FetchLayer}();function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pt(t,e){return!e||"object"!==St(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function xt(t,e,n){return(xt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Tt(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zt(t,e)}function zt(t,e){return(zt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Qt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function It(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Vt(t,e,n){return e&&It(t.prototype,e),n&&It(t,n),t}var Nt=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$;Qt(this,t),this.name=e,this.shortName=n,this.process=r}return Vt(t,[{key:"set",value:function(t){return this.origValue=t,this}},{key:"serialize",value:function(){var t,e;return t=this.value(),e=X(t)||Z(t)||N(t)?!j(t):null!=t,null!=this.shortName&&e?"".concat(this.shortName,"_").concat(t):""}},{key:"value",value:function(){return this.process(this.origValue)}},{key:"build_array",value:function(t){return null==t?[]:X(t)?t:[t]}}],[{key:"norm_color",value:function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0}},{key:"process_video_params",value:function(t){var e;switch(t.constructor){case Object:return e="","codec"in t&&(e=t.codec,"profile"in t&&(e+=":"+t.profile,"level"in t&&(e+=":"+t.level))),e;case String:return t;default:return null}}}]),t}(),Lt=function(t){function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3?arguments[3]:void 0;return Qt(this,e),(r=Pt(this,Tt(e).call(this,t,n,i))).sep=o,r}return Rt(e,Nt),Vt(e,[{key:"serialize",value:function(){if(null!=this.shortName){var t=this.value();if(j(t))return"";if(N(t))return"".concat(this.shortName,"_").concat(t);var e=t.map(function(t){return m(t.serialize)?t.serialize():t}).join(this.sep);return"".concat(this.shortName,"_").concat(e)}return""}},{key:"value",value:function(){var t=this;return X(this.origValue)?this.origValue.map(function(e){return t.process(e)}):this.process(this.origValue)}},{key:"set",value:function(t){return null==t||X(t)?xt(Tt(e.prototype),"set",this).call(this,t):xt(Tt(e.prototype),"set",this).call(this,[t])}}]),e}(),Mt=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"t",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",i=arguments.length>3?arguments[3]:void 0;return Qt(this,e),(n=Pt(this,Tt(e).call(this,t,r,i))).sep=o,n}return Rt(e,Nt),Vt(e,[{key:"serialize",value:function(){var t=this;if(j(this.value()))return"";if(c(this.value())){var e=this.value().join(this.sep);return j(e)?"":"".concat(this.shortName,"_").concat(e)}return this.value().map(function(e){return N(e)&&!j(e)?"".concat(t.shortName,"_").concat(e):m(e.serialize)?e.serialize():Z(e)&&!j(e)?new ie(e).serialize():void 0}).filter(function(t){return t})}},{key:"set",value:function(t){return this.origValue=t,X(this.origValue)?xt(Tt(e.prototype),"set",this).call(this,this.origValue):xt(Tt(e.prototype),"set",this).call(this,[this.origValue])}}]),e}(),Ht=function(t){function e(t,n,r){var o;return Qt(this,e),(o=Pt(this,Tt(e).call(this,t,n,r))).process||(o.process=o.norm_range_value),o}return Rt(e,Nt),Vt(e,null,[{key:"norm_range_value",value:function(t){var e,n;return(n=String(t).match(new RegExp("^"+offset_any_pattern+"$")))&&(e=null!=n[5]?"p":"",t=(n[1]||n[4])+e),t}}]),e}(),Ut=function(t){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$;return Qt(this,e),Pt(this,Tt(e).call(this,t,n,r))}return Rt(e,Nt),Vt(e,[{key:"serialize",value:function(){return this.value()}}]),e}(),qt=function(t){function e(){return Qt(this,e),Pt(this,Tt(e).apply(this,arguments))}return Rt(e,Nt),Vt(e,[{key:"value",value:function(){var t=this.origValue;return Z(t)?"text"===(t=B(t)).resourceType||null!=t.text?new bt(t).toString():"subtitles"===t.resourceType?new At(t).toString():"fetch"===t.resourceType||null!=t.url?new jt(t).toString():new ht(t).toString():N(t)&&/^fetch:.+/.test(t)?new jt(t.substr(6)).toString():t}},{key:"textStyle",value:function(t){return new bt(t).textStyleIdentifier()}}]),e}();function Wt(t){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $t(t,e){return!e||"object"!==Wt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Xt(t){return(Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Yt(t,e){return(Yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Kt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Jt(t,e,n){return e&&Gt(t.prototype,e),n&&Gt(t,n),t}function te(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.forEach(function(e){Object.keys(e).forEach(function(n){null!=e[n]&&(t[n]=e[n])})}),t}var ee=function(){function t(e){var n,r;Kt(this,t),n=void 0,r={},this.toOptions=function(t){var e={};if(null==t&&(t=!0),Object.keys(r).forEach(function(t){return e[t]=r[t].origValue}),te(e,this.otherOptions),t&&!j(this.chained)){var n=this.chained.map(function(t){return t.toOptions()});n.push(e),te(e={},this.otherOptions),e.transformation=n}return e},this.setParent=function(t){return n=t,null!=t&&this.fromOptions("function"==typeof t.toOptions?t.toOptions():void 0),this},this.getParent=function(){return n},this.param=function(t,e,n,o,i){return null==i&&(i=m(o)?o:$),r[e]=new Nt(e,n,i).set(t),this},this.rawParam=function(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i=re(arguments),r[e]=new Ut(e,n,i).set(t),this},this.rangeParam=function(t,e,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i=re(arguments),r[e]=new Ht(e,n,i).set(t),this},this.arrayParam=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:":",i=(arguments.length>4&&void 0!==arguments[4]&&arguments[4],arguments.length>5&&void 0!==arguments[5]&&arguments[5]);return i=re(arguments),r[e]=new Lt(e,n,o,i).set(t),this},this.transformationParam=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=(arguments.length>4&&arguments[4],arguments.length>5&&void 0!==arguments[5]&&arguments[5]);return i=re(arguments),r[e]=new Mt(e,n,o,i).set(t),this},this.layerParam=function(t,e,n){return r[e]=new qt(e,n).set(t),this},this.getValue=function(t){var e=r[t]&&r[t].value();return null!=e?e:this.otherOptions[t]},this.get=function(t){return r[t]},this.remove=function(t){var e;switch(!1){case null==r[t]:return e=r[t],delete r[t],e.origValue;case null==this.otherOptions[t]:return e=this.otherOptions[t],delete this.otherOptions[t],e;default:return null}},this.keys=function(){var t;return function(){var e;for(t in e=[],r)null!=t&&e.push(t.match(ne)?t:_(t));return e}().sort()},this.toPlainObject=function(){var t,e,n;for(e in t={},r)t[e]=r[e].value(),Z(t[e])&&(t[e]=H(t[e]));return j(this.chained)||((n=this.chained.map(function(t){return t.toPlainObject()})).push(t),t={transformation:n}),t},this.chain=function(){var t;return 0!==Object.getOwnPropertyNames(r).length&&(t=new this.constructor(this.toOptions(!1)),this.resetTransformations(),this.chained.push(t)),this},this.resetTransformations=function(){return r={},this},this.otherOptions={},this.chained=[],this.fromOptions(e)}return Jt(t,[{key:"fromOptions",value:function(e){if(!j(e))if(e instanceof t)this.fromTransformation(e);else for(var n in e||(e={}),(N(e)||X(e))&&(e={transformation:e}),(e=H(e,function(e){if(e instanceof t)return new e.constructor(e.toOptions())})).if&&(this.set("if",e.if),delete e.if),e){var r=e[n];n.match(ne)?"$attr"!==n&&this.set("variable",n,r):this.set(n,r)}return this}},{key:"fromTransformation",value:function(e){var n=this;return e instanceof t&&e.keys().forEach(function(t){return n.set(t,e.get(t).origValue)}),this}},{key:"set",value:function(t){var e;e=b(t);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return U(oe.methods,e)?this[e].apply(this,r):this.otherOptions[t]=r[0],this}},{key:"hasLayer",value:function(){return this.getValue("overlay")||this.getValue("underlay")}},{key:"serialize",value:function(){var t,e,n,r,o,i,u,a,c,s,l,f,p,h,y,d,v;for(s=this.chained.map(function(t){return t.serialize()}),r=this.keys(),h=null!=(o=this.get("transformation"))?o.serialize():void 0,t=null!=(i=this.get("if"))?i.serialize():void 0,d=function(t){var e,n,r,o,i;if(X(t)){for(o=[],e=0,n=t.length;e<n;e++){var u=Zt(t[e],2);r=u[0],i=u[1],o.push("".concat(r,"_").concat(tt.normalize(i)))}return o}return t}(null!=(u=this.get("variables"))?u.value():void 0),r=q(r,["transformation","if","variables"]),v=[],f=[],e=0,n=r.length;e<n;e++)(l=r[e]).match(ne)?v.push(l+"_"+tt.normalize(null!=(a=this.get(l))?a.value():void 0)):f.push(null!=(c=this.get(l))?c.serialize():void 0);switch(!1){case!N(h):f.push(h);break;case!X(h):s=s.concat(h)}return f=function(){var t,e,n;for(n=[],t=0,e=f.length;t<e;t++)y=f[t],(X(y)&&!j(y)||!X(y)&&y)&&n.push(y);return n}(),f=v.sort().concat(d).concat(f.sort()),"if_end"===t?f.push(t):j(t)||f.unshift(t),j(p=M(f).join(this.param_separator))||s.push(p),M(s).join(this.trans_separator)}},{key:"listNames",value:function(){return oe.methods}},{key:"toHtmlAttributes",value:function(){var t,e,n,r,o,i,u,a,c=this;for(n in r={},this.otherOptions)u=this.otherOptions[n],U(oe.PARAM_NAMES,_(n))||(t=/^html_/.test(n)?n.slice(5):n,r[t]=u);return this.keys().forEach(function(t){/^html_/.test(t)&&(r[b(t.slice(5))]=c.getValue(t))}),this.hasLayer()||this.getValue("angle")||U(["fit","limit","lfill"],this.getValue("crop"))||(a=null!=(o=this.get("width"))?o.origValue:void 0,e=null!=(i=this.get("height"))?i.origValue:void 0,parseFloat(a)>=1&&null==r.width&&(r.width=a),parseFloat(e)>=1&&null==r.height&&(r.height=e)),r}},{key:"isValidParamName",value:function(t){return oe.methods.indexOf(b(t))>=0}},{key:"toHtml",value:function(){var t;return null!=(t=this.getParent())&&"function"==typeof t.toHtml?t.toHtml():void 0}},{key:"toString",value:function(){return this.serialize()}}]),t}(),ne=/^\$[a-zA-Z0-9]+$/;function re(t){var e;return e=null!=t?t[t.length-1]:void 0,m(e)?e:void 0}ee.prototype.trans_separator="/",ee.prototype.param_separator=",";var oe=function(t){function Transformation(t){return Kt(this,Transformation),$t(this,Xt(Transformation).call(this,t))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yt(t,e)}(Transformation,ee),Jt(Transformation,[{key:"angle",value:function(t){return this.arrayParam(t,"angle","a",".",tt.normalize)}},{key:"audioCodec",value:function(t){return this.param(t,"audio_codec","ac")}},{key:"audioFrequency",value:function(t){return this.param(t,"audio_frequency","af")}},{key:"aspectRatio",value:function(t){return this.param(t,"aspect_ratio","ar",tt.normalize)}},{key:"background",value:function(t){return this.param(t,"background","b",Nt.norm_color)}},{key:"bitRate",value:function(t){return this.param(t,"bit_rate","br")}},{key:"border",value:function(t){return this.param(t,"border","bo",function(t){return Z(t)?(t=Y({},{color:"black",width:2},t),"".concat(t.width,"px_solid_").concat(Nt.norm_color(t.color))):t})}},{key:"color",value:function(t){return this.param(t,"color","co",Nt.norm_color)}},{key:"colorSpace",value:function(t){return this.param(t,"color_space","cs")}},{key:"crop",value:function(t){return this.param(t,"crop","c")}},{key:"defaultImage",value:function(t){return this.param(t,"default_image","d")}},{key:"delay",value:function(t){return this.param(t,"delay","dl")}},{key:"density",value:function(t){return this.param(t,"density","dn")}},{key:"duration",value:function(t){return this.rangeParam(t,"duration","du")}},{key:"dpr",value:function(t){return this.param(t,"dpr","dpr",function(t){return(null!=(t=t.toString())?t.match(/^\d+$/):void 0)?t+".0":tt.normalize(t)})}},{key:"effect",value:function(t){return this.arrayParam(t,"effect","e",":",tt.normalize)}},{key:"else",value:function(){return this.if("else")}},{key:"endIf",value:function(){return this.if("end")}},{key:"endOffset",value:function(t){return this.rangeParam(t,"end_offset","eo")}},{key:"fallbackContent",value:function(t){return this.param(t,"fallback_content")}},{key:"fetchFormat",value:function(t){return this.param(t,"fetch_format","f")}},{key:"format",value:function(t){return this.param(t,"format")}},{key:"flags",value:function(t){return this.arrayParam(t,"flags","fl",".")}},{key:"gravity",value:function(t){return this.param(t,"gravity","g")}},{key:"fps",value:function(t){return this.param(t,"fps","fps",function(t){return N(t)?t:X(t)?t.join("-"):t})}},{key:"height",value:function(t){var e=this;return this.param(t,"height","h",function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?tt.normalize(t):null})}},{key:"htmlHeight",value:function(t){return this.param(t,"html_height")}},{key:"htmlWidth",value:function(t){return this.param(t,"html_width")}},{key:"if",value:function(){var t,e,n,r,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(i){case"else":return this.chain(),this.param(i,"if","if");case"end":for(this.chain(),t=n=this.chained.length-1;n>=0&&"end"!==(e=this.chained[t].getValue("if"))&&(null==e||(r=Transformation.new().if(e),this.chained[t].remove("if"),o=this.chained[t],this.chained[t]=Transformation.new().transformation([r,o]),"else"===e));t=n+=-1);return this.param(i,"if","if");case"":return ut.new().setParent(this);default:return this.param(i,"if","if",function(t){return ut.new(t).toString()})}}},{key:"keyframeInterval",value:function(t){return this.param(t,"keyframe_interval","ki")}},{key:"offset",value:function(t){var e,n,r=Zt(m(null!=t?t.split:void 0)?t.split(".."):X(t)?t:[null,null],2);if(n=r[0],e=r[1],null!=n&&this.startOffset(n),null!=e)return this.endOffset(e)}},{key:"opacity",value:function(t){return this.param(t,"opacity","o",tt.normalize)}},{key:"overlay",value:function(t){return this.layerParam(t,"overlay","l")}},{key:"page",value:function(t){return this.param(t,"page","pg")}},{key:"poster",value:function(t){return this.param(t,"poster")}},{key:"prefix",value:function(t){return this.param(t,"prefix","p")}},{key:"quality",value:function(t){return this.param(t,"quality","q",tt.normalize)}},{key:"radius",value:function(t){return this.arrayParam(t,"radius","r",":",tt.normalize)}},{key:"rawTransformation",value:function(t){return this.rawParam(t,"raw_transformation")}},{key:"size",value:function(t){var e,n;if(m(null!=t?t.split:void 0)){var r=Zt(t.split("x"),2);return n=r[0],e=r[1],this.width(n),this.height(e)}}},{key:"sourceTypes",value:function(t){return this.param(t,"source_types")}},{key:"sourceTransformation",value:function(t){return this.param(t,"source_transformation")}},{key:"startOffset",value:function(t){return this.rangeParam(t,"start_offset","so")}},{key:"streamingProfile",value:function(t){return this.param(t,"streaming_profile","sp")}},{key:"transformation",value:function(t){return this.transformationParam(t,"transformation","t")}},{key:"underlay",value:function(t){return this.layerParam(t,"underlay","u")}},{key:"variable",value:function(t,e){return this.param(e,t,t)}},{key:"variables",value:function(t){return this.arrayParam(t,"variables")}},{key:"videoCodec",value:function(t){return this.param(t,"video_codec","vc",Nt.process_video_params)}},{key:"videoSampling",value:function(t){return this.param(t,"video_sampling","vs")}},{key:"width",value:function(t){var e=this;return this.param(t,"width","w",function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?tt.normalize(t):null})}},{key:"x",value:function(t){return this.param(t,"x","x",tt.normalize)}},{key:"y",value:function(t){return this.param(t,"y","y",tt.normalize)}},{key:"zoom",value:function(t){return this.param(t,"zoom","z",tt.normalize)}}],[{key:"new",value:function(t){return new Transformation(t)}}]),Transformation}();oe.methods=["angle","audioCodec","audioFrequency","aspectRatio","background","bitRate","border","color","colorSpace","crop","defaultImage","delay","density","duration","dpr","effect","else","endIf","endOffset","fallbackContent","fetchFormat","format","flags","gravity","fps","height","htmlHeight","htmlWidth","if","keyframeInterval","offset","opacity","overlay","page","poster","prefix","quality","radius","rawTransformation","size","sourceTypes","sourceTransformation","startOffset","streamingProfile","transformation","underlay","variable","variables","videoCodec","videoSampling","width","x","y","zoom"],oe.PARAM_NAMES=oe.methods.map(_).concat(ft.CONFIG_PARAMS);var ie=oe;function ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ae(t,e){return e?!0===e?t:"".concat(t,'="').concat(e,'"'):void 0}function ce(t){return N(t)?t.replace('"',""").replace("'","'"):t}var se=function(){function HtmlTag(t,e,n){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,HtmlTag),this.name=t,this.publicId=e,null==n&&(Z(e)?(n=e,this.publicId=void 0):n={}),(r=new ie(n)).setParent(this),this.transformation=function(){return r}}var t,e,n;return t=HtmlTag,n=[{key:"new",value:function(t,e,n){return new this(t,e,n)}},{key:"isResponsive",value:function(t,e){var n;return n=S(t,"src-cache")||S(t,"src"),Q(t,e)&&/\bw_auto\b/.exec(n)}}],(e=[{key:"htmlAttrs",value:function(t){var e,n;return function(){var r;for(e in r=[],t)(n=ce(t[e]))&&r.push(ae(e,n));return r}().sort().join(" ")}},{key:"getOptions",value:function(){return this.transformation().toOptions()}},{key:"getOption",value:function(t){return this.transformation().getValue(t)}},{key:"attributes",value:function(){var t=this.transformation().toHtmlAttributes();return Object.keys(t).forEach(function(e){Z(t[e])&&delete t[e]}),t.attributes&&(L(t,t.attributes),delete t.attributes),t}},{key:"setAttr",value:function(t,e){return this.transformation().set("html_".concat(t),e),this}},{key:"getAttr",value:function(t){return this.attributes()["html_".concat(t)]||this.attributes()[t]}},{key:"removeAttr",value:function(t){var e;return null!=(e=this.transformation().remove("html_".concat(t)))?e:this.transformation().remove(t)}},{key:"content",value:function(){return""}},{key:"openTag",value:function(){var t="<"+this.name,e=this.htmlAttrs(this.attributes());return e&&e.length>0&&(t+=" "+e),t+">"}},{key:"closeTag",value:function(){return"</".concat(this.name,">")}},{key:"toHtml",value:function(){return this.openTag()+this.content()+this.closeTag()}},{key:"toDOM",value:function(){var t,e,n,r;if(!m("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),n=this.attributes())r=n[e],t.setAttribute(e,r);return t}}])&&ue(t.prototype,e),n&&ue(t,n),HtmlTag}(),le="2.5.0",fe="d3jpl91pxevbkh.cloudfront.net",pe="cloudinary-a.akamaihd.net",he="res.cloudinary.com",ye=he,de={format:"jpg",resource_type:"video"},ve=["webm","mp4","ogv"],me={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},ge={resource_type:"image",transformation:[],type:"upload"},be={fallback_content:"",resource_type:"video",source_transformation:{},source_types:ve,transformation:[],type:"upload"};function _e(t,e){var n,r,o,i,a,c;return 0===(null!=(a=e.cloud_name)?a.indexOf("/"):void 0)?"/res"+e.cloud_name:(i="http://",n="",c="res",r=".cloudinary.com",o="/"+e.cloud_name,e.protocol&&(i=e.protocol+"//"),e.private_cdn&&(n=e.cloud_name+"-",o=""),e.cdn_subdomain&&(c="res-"+function(t){return u(t)%5+1}(t)),e.secure?(i="https://",!1===e.secure_cdn_subdomain&&(c="res"),null!=e.secure_distribution&&e.secure_distribution!==pe&&e.secure_distribution!==ye&&(n="",c="",r=e.secure_distribution)):e.cname&&(i="http://",n="",c=e.cdn_subdomain?"a"+(u(t)%5+1)+".":"",r=e.cname),[i,n,c,r,o].join(""))}function De(t){var e,n,r,o,i,u,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return t;if(a instanceof ie&&(a=a.toOptions()),"fetch"===(a=p({},a,c,ge)).type&&(a.fetch_format=a.fetch_format||a.format,t=function(t){var e;return t.match(/^https?:\//)||(e=document.location.protocol+"//"+document.location.host,"?"===t[0]?e+=document.location.pathname:"/"!==t[0]&&(e+=document.location.pathname.replace(/\/[^\/]*$/,"/")),t=e+t),t}(t)),o=new ie(a).serialize(),!a.cloud_name)throw"Unknown cloud_name";if(t.search("/")>=0&&!t.match(/^v[0-9]+/)&&!t.match(/^https?:\//)&&!(null!=(n=a.version)?n.toString():void 0)&&(a.version=1),t.match(/^https?:/))"upload"===a.type||"asset"===a.type?i=t:t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/");else{try{t=decodeURIComponent(t)}catch(s){s}if(t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/"),a.url_suffix){if(a.url_suffix.match(/[\.\/]/))throw"url_suffix should not include . or /";t=t+"/"+a.url_suffix}a.format&&(a.trust_public_id||(t=t.replace(/\.(jpg|png|gif|webp)$/,"")),t=t+"."+a.format)}return e=_e(t,a),r=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"image",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"upload",r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(n=null==n?"upload":n,Z(e=null==e?"image":e)&&(e=(t=e).resource_type,n=t.type,r=t.url_suffix,o=t.use_root_path,i=t.shorten),null==n&&(n="upload"),null!=r&&(e=me["".concat(e,"/").concat(n)],n=null,null==e))throw new Error("URL Suffix only supported for ".concat(Object.keys(me).join(", ")));if(o){if(("image"!==e||"upload"!==n)&&"images"!==e)throw new Error("Root path only supported for image/upload");e=null,n=null}return i&&"image"===e&&"upload"===n&&(e="iu",n=null),[e,n].join("/")}(a.resource_type,a.type,a.url_suffix,a.use_root_path,a.shorten),u=a.version?"v"+a.version:"",i||M([e,r,o,u,t]).join("/").replace(/([^:])\/+/g,"$1/")}function Be(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var we=j;function Ae(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=k(r);return n=n||r,o.raw_transformation=new ie([L({},n),{crop:"scale",width:e}]).toString(),De(t,o)}function Ee(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(t){var e=t.breakpoints||[];if(e.length)return e;var n=Be([t.min_width,t.max_width,t.max_images].map(Number),3),r=n[0],o=n[1],i=n[2];if([r,o,i].some(isNaN))throw"Either (min_width, max_width, max_images) or breakpoints must be provided to the image srcset attribute";if(r>o)throw"min_width must be less than max_width";if(i<=0)throw"max_images must be a positive integer";1===i&&(r=o);for(var u=Math.ceil((o-r)/Math.max(i-1,1)),a=r;a<o;a+=u)e.push(a);return e.push(o),e}(e)}function Ce(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={};if(we(n))return o;var i=!e.sizes&&!0===n.sizes,u=!e.srcset;if(u||i){var a=Ee(t,n,r);if(u){var c=function(t,e,n,r){return F(r=H(r)),e.map(function(e){return"".concat(Ae(t,e,n,r)," ").concat(e,"w")}).join(", ")}(t,a,n.transformation,r);we(c)||(o.srcset=c)}if(i){var s=function(t){return null==t?"":t.map(function(t){return"(max-width: ".concat(t,"px) ").concat(t,"px")}).join(", ")}(a);we(s)||(o.sizes=s)}}return o}function ke(t){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Fe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oe(t,e){return!e||"object"!==ke(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function je(t,e,n){return(je="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Se(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Se(t){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pe(t,e){return(Pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var xe=function(t){function ImageTag(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ImageTag),Oe(this,Se(ImageTag).call(this,"img",t,e))}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pe(t,e)}(ImageTag,se),e=ImageTag,(n=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t,e,n;t=je(Se(ImageTag.prototype),"attributes",this).call(this)||{},e=this.getOptions();var r=this.getOption("srcset"),o=this.getOption("attributes")||{},i={};return N(r)?i.srcset=r:i=Ce(this.publicId,o,r,e),j(i)||(delete e.width,delete e.height),L(t,i),null==t[n=e.responsive&&!e.client_hints?"data-src":"src"]&&(t[n]=De(this.publicId,this.getOptions())),t}}])&&Fe(e.prototype,n),r&&Fe(e,r),ImageTag}();function Te(t){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ze(t,e){return!e||"object"!==Te(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Qe(t,e,n){return(Qe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ie(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Ie(t){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ve(t,e){return(Ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ne=function(t){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),ze(this,Ie(e).call(this,"source",t,n))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ve(t,e)}(e,se),n=e,(r=[{key:"closeTag",value:function(){return""}},{key:"attributes",value:function(){var t=this.getOption("srcset"),n=Qe(Ie(e.prototype),"attributes",this).call(this)||{},r=this.getOptions();return L(n,Ce(this.publicId,n,t,r)),n.srcset||(n.srcset=De(this.publicId,r)),!n.media&&r.media&&(n.media=function(t){var e=[];return null!=t&&(null!=t.min_width&&e.push("(min-width: ".concat(t.min_width,"px)")),null!=t.max_width&&e.push("(max-width: ".concat(t.max_width,"px)"))),e.join(" and ")}(r.media)),n}}])&&Re(n.prototype,r),o&&Re(n,o),e}();function Le(t){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Me(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function He(t,e){return!e||"object"!==Le(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ue(t,e,n){return(Ue="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=qe(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function qe(t){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function We(t,e){return(We=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var $e=function(t){function PictureTag(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,PictureTag),(e=He(this,qe(PictureTag).call(this,"picture",t,n))).widthList=r,e}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&We(t,e)}(PictureTag,se),e=PictureTag,(n=[{key:"content",value:function(){var t=this;return this.widthList.map(function(e){var n=e.min_width,r=e.max_width,o=e.transformation,i=t.getOptions(),u=new ie(i);return u.chain().fromOptions("string"==typeof o?{raw_transformation:o}:o),(i=k(i)).media={min_width:n,max_width:r},i.transformation=u,new Ne(t.publicId,i).toHtml()}).join("")+new xe(this.publicId,this.getOptions()).toHtml()}},{key:"attributes",value:function(){var t=Ue(qe(PictureTag.prototype),"attributes",this).call(this);return delete t.width,delete t.height,t}},{key:"closeTag",value:function(){return"</"+this.name+">"}}])&&Me(e.prototype,n),r&&Me(e,r),PictureTag}();function Xe(t){return(Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ze(t,e){return!e||"object"!==Xe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ke(t,e,n){return(Ke="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ge(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tn=["source_types","source_transformation","fallback_content","poster"],en={format:"jpg",resource_type:"video"},nn=function(t){function VideoTag(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,VideoTag),e=p({},e,be),Ze(this,Ge(VideoTag).call(this,"video",t.replace(/\.(mp4|ogv|webm)$/,""),e))}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(VideoTag,se),e=VideoTag,(n=[{key:"setSourceTransformation",value:function(t){return this.transformation().sourceTransformation(t),this}},{key:"setSourceTypes",value:function(t){return this.transformation().sourceTypes(t),this}},{key:"setPoster",value:function(t){return this.transformation().poster(t),this}},{key:"setFallbackContent",value:function(t){return this.transformation().fallbackContent(t),this}},{key:"content",value:function(){var t,e,n,r,o,i,u,a;if(o=this.transformation().getValue("source_types"),r=this.transformation().getValue("source_transformation"),t=this.transformation().getValue("fallback_content"),X(o)){var c=this.getOptions();e=function(){var t,e,s;for(s=[],t=0,e=o.length;t<e;t++)u=o[t],a=r[u]||{},i=De("".concat(this.publicId),p({},a,{resource_type:"video",format:u},c)),n="video/"+("ogv"===u?"ogg":u),s.push("<source ".concat(this.htmlAttrs({src:i,type:n}),">"));return s}.call(this)}else e=[];return e.join("")+t}},{key:"attributes",value:function(){var t,e,n,r,o,i,u,a,c;for(c=this.getOption("source_types"),i=null!=(u=this.getOption("poster"))?u:{},Z(i)&&(n=null!=i.public_id?ge:en,i=De(null!=(a=i.public_id)?a:this.publicId,p({},i,n,this.getOptions()))),r=0,o=(e=Ke(Ge(VideoTag.prototype),"attributes",this).call(this)||[]).length;r<o;r++)t=e[r],U(tn)||(e=t);return X(c)||(e.src=De(this.publicId,this.getOptions(),{resource_type:"video",format:c})),null!=i&&(e.poster=i),e}}])&&Ye(e.prototype,n),r&&Ye(e,r),VideoTag}();function rn(t){return(rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function on(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function un(t,e){return!e||"object"!==rn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function an(t){return(an=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cn(t,e){return(cn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var sn,ln,fn,pn,hn,yn,dn=function(t){function ClientHintsMetaTag(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,ClientHintsMetaTag),un(this,an(ClientHintsMetaTag).call(this,"meta",void 0,Y({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t)))}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cn(t,e)}(ClientHintsMetaTag,se),e=ClientHintsMetaTag,(n=[{key:"closeTag",value:function(){return""}}])&&on(e.prototype,n),r&&on(e,r),ClientHintsMetaTag}();function vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}fn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return e*Math.ceil(t/e)},ln=function(t,e){var n;for(n=t.length-2;n>=0&&t[n]>=e;)n--;return t[n+1]},sn=function(t,e,n,r){var o,i,u,a;return!(a=null!=(o=null!=(i=null!=(u=r.responsive_use_breakpoints)?u:r.responsive_use_stoppoints)?i:this.config("responsive_use_breakpoints"))?o:this.config("responsive_use_stoppoints"))||"resize"===a&&!r.resizing?e:this.calc_breakpoint(t,e,n)},pn=function(t){var e,n;for(e=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!e;)n=window.getComputedStyle(t),/^inline/.test(n.display)||(e=V(t));return e},yn=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},hn=function(t,e){var n;return t>(n=S(e,"width")||0)&&(n=t,P(e,"width",t)),n};var mn=function(){function Cloudinary(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Cloudinary),this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,e=new ft(t),this.config=function(t,n){return e.config(t,n)},this.fromDocument=function(){return e.fromDocument(),this},this.fromEnvironment=function(){return e.fromEnvironment(),this},this.init=function(){return e.init(),this}}var t,e,n;return t=Cloudinary,n=[{key:"new",value:function(t){return new this(t)}}],(e=[{key:"url",value:function(t){return De(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},this.config())}},{key:"video_url",value:function(t,e){return e=Y({resource_type:"video"},e),this.url(t,e)}},{key:"video_thumbnail_url",value:function(t,e){return e=Y({},de,e),this.url(t,e)}},{key:"transformation_string",value:function(t){return new ie(t).serialize()}},{key:"image",value:function(t){var e,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=this.imageTag(t,o),e=null!=(r=null!=o.client_hints?o.client_hints:this.config("client_hints"))&&r,null!=o.src||e||n.setAttr("src",""),n=n.toDOM(),e||(P(n,"src-cache",this.url(t,o)),this.cloudinary_update(n,o)),n}},{key:"imageTag",value:function(t,e){var n;return(n=new xe(t,this.config())).transformation().fromOptions(e),n}},{key:"pictureTag",value:function(t,e){var n;return(n=new $e(t,this.config())).transformation().fromOptions(e),n}},{key:"sourceTag",value:function(t,e){var n;return(n=new Ne(t,this.config())).transformation().fromOptions(e),n}},{key:"video_thumbnail",value:function(t,e){return this.image(t,L({},de,e))}},{key:"facebook_profile_image",value:function(t,e){return this.image(t,Y({type:"facebook"},e))}},{key:"twitter_profile_image",value:function(t,e){return this.image(t,Y({type:"twitter"},e))}},{key:"twitter_name_profile_image",value:function(t,e){return this.image(t,Y({type:"twitter_name"},e))}},{key:"gravatar_image",value:function(t,e){return this.image(t,Y({type:"gravatar"},e))}},{key:"fetch_image",value:function(t,e){return this.image(t,Y({type:"fetch"},e))}},{key:"video",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.videoTag(t,e).toHtml()}},{key:"videoTag",value:function(t,e){return e=p({},e,this.config()),new nn(t,e)}},{key:"sprite_css",value:function(t,e){return e=Y({type:"sprite"},e),t.match(/.css$/)||(e.format="css"),this.url(t,e)}},{key:"responsive",value:function(t){var e,n,r,o,i,u=this,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.responsiveConfig=L(this.responsiveConfig||{},t),o=null!=(e=this.responsiveConfig.responsive_class)?e:this.config("responsive_class"),a&&this.cloudinary_update("img.".concat(o,", img.cld-hidpi"),this.responsiveConfig),(null==(n=null!=(r=this.responsiveConfig.responsive_resize)?r:this.config("responsive_resize"))||n)&&!this.responsiveResizeInitialized)return this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,i=null,window.addEventListener("resize",function(){var t,e,n,r,a,c;return t=null!=(e=null!=(n=u.responsiveConfig.responsive_debounce)?n:u.config("responsive_debounce"))?e:100,r=function(){if(i)return clearTimeout(i),i=null},a=function(){return u.cloudinary_update("img.".concat(o),u.responsiveConfig)},c=function(){return r(),a()},t?function(){return r(),i=setTimeout(c,t)}():a()})}},{key:"calc_breakpoint",value:function(t,e,n){var r=S(t,"breakpoints")||S(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||fn;return m(r)?r(e,n):(N(r)&&(r=r.split(",").map(function(t){return parseInt(t)}).sort(function(t,e){return t-e})),ln(r,e))}},{key:"calc_stoppoint",value:function(t,e,n){return this.calc_breakpoint(t,e,n)}},{key:"device_pixel_ratio",value:function(t){t=null==t||t;var e=("undefined"!=typeof window&&null!==window?window.devicePixelRatio:void 0)||1;t&&(e=Math.ceil(e)),(e<=0||NaN===e)&&(e=1);var n=e.toString();return n.match(/^\d+$/)&&(n+=".0"),n}},{key:"processImageTags",value:function(t,e){if(j(t))return this;e=p({},e||{},this.config());var n=t.filter(function(t){return/^img$/i.test(t.tagName)}).map(function(t){var n=Y({width:t.getAttribute("width"),height:t.getAttribute("height"),src:t.getAttribute("src")},e),r=n.source||n.src;delete n.source,delete n.src;var o=new ie(n).toHtmlAttributes();return P(t,"src-cache",De(r,n)),t.setAttribute("width",o.width),t.setAttribute("height",o.height),t});return this.cloudinary_update(n,e),this}},{key:"cloudinary_update",value:function(t,e){var n,r,o,i,u=this;if(null===t)return this;null==e&&(e={});var a,c=null!=e.responsive?e.responsive:this.config("responsive");t=function(){switch(!1){case!X(t):case"NodeList"!==t.constructor.name:return t;case!N(t):return document.querySelectorAll(t);default:return[t]}}(),a=this.responsiveConfig&&null!=this.responsiveConfig.responsive_class?this.responsiveConfig.responsive_class:null!=e.responsive_class?e.responsive_class:this.config("responsive_class");var s=null!=e.round_dpr?e.round_dpr:this.config("round_dpr");return t.forEach(function(t){if(/img/i.test(t.tagName)){var l=!0;if(c&&I(t,a),!j(r=S(t,"src-cache")||S(t,"src"))){if(r=yn.call(u,r,s),se.isResponsive(t,a))if(0!==(n=pn(t))){switch(!1){case!/w_auto:breakpoints/.test(r):i=hn(n,t),r=r.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:".concat(i));break;case!(o=/w_auto(:(\d+))?/.exec(r)):i=sn.call(u,t,n,o[2],e),i=hn(i,t),r=r.replace(/w_auto[^,\/]*/g,"w_".concat(i))}R(t,"width"),e.responsive_preserve_height||R(t,"height")}else l=!1;l&&T(t,"src",r)}}}),this}},{key:"transformation",value:function(t){return ie.new(this.config()).fromOptions(t).setParent(this)}}])&&vn(t.prototype,e),n&&vn(t,n),Cloudinary}();Y(mn,o);var gn,bn=mn,_n=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(;e&&e.length>0;){var r=e.shift();if(null!=r)return r}return null};function Dn(t){return(Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Bn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wn(t,e){return!e||"object"!==Dn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function An(t){return(An=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function En(t,e){return(En=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Cn=function(t){function CloudinaryJQuery(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,CloudinaryJQuery),wn(this,An(CloudinaryJQuery).call(this,t))}var e,n,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&En(t,e)}(CloudinaryJQuery,bn),e=CloudinaryJQuery,(n=[{key:"image",value:function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=this.imageTag(t,r),e=_n(r.client_hints,this.config("client_hints"),!1),null!=r.src||e||n.setAttr("src",""),n=jQuery(n.toHtml()),e||n.data("src-cache",this.url(t,r)).cloudinary_update(r),n}},{key:"responsive",value:function(t){var e,n,r,o,i=this;if(n=jQuery.extend(n||{},t),e=this.responsiveConfig.responsive_class||this.config("responsive_class"),jQuery("img.".concat(e,", img.cld-hidpi")).cloudinary_update(n),_n(n.responsive_resize,this.config("responsive_resize"),!0)&&!r)return n.resizing=r=!0,o=null,jQuery(window).on("resize",function(){var t=_n(n.responsive_debounce,i.config("responsive_debounce"),100),r=function(){if(o)return clearTimeout(o),o=null},u=function(){return jQuery("img.".concat(e)).cloudinary_update(n)};return t?(r(),setTimeout(function(){return r(),u()},t)):u()})}}])&&Bn(e.prototype,n),r&&Bn(e,r),CloudinaryJQuery}();jQuery.fn.cloudinary=function(t){return this.filter("img").each(function(){var e,n,r;return n=(e=jQuery.extend({width:jQuery(this).attr("width"),height:jQuery(this).attr("height"),src:jQuery(this).attr("src")},jQuery(this).data(),t)).source||e.src,delete e.source,delete e.src,r=jQuery.cloudinary.url(n,e),e=new ie(e).toHtmlAttributes(),jQuery(this).data("src-cache",r).attr({width:e.width,height:e.height})}).cloudinary_update(t),this},jQuery.fn.cloudinary_update=function(t){return jQuery.cloudinary.cloudinary_update(this.filter("img").toArray(),t),this},gn=null,jQuery.fn.webpify=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return t=this,r=null!=r?r:n,gn||(gn=jQuery.Deferred(),(e=new Image).onerror=gn.reject,e.onload=gn.resolve,e.src="data:image/webp;base64,UklGRi4AAABXRUJQVlA4TCEAAAAvAUAAEB8wAiMwAgSSNtse/cXjxyCCmrYNWPwmHRH9jwMA"),jQuery(function(){return gn.done(function(){return jQuery(t).cloudinary(jQuery.extend({},r,{format:"webp"}))}).fail(function(){return jQuery(t).cloudinary(n)})}),this},jQuery.fn.fetchify=function(t){return this.cloudinary(jQuery.extend(t,{type:"fetch"}))},jQuery.cloudinary=new Cn,jQuery.cloudinary.fromDocument();var kn=Cn;kn.prototype.delete_by_token=function(t,e){var n,r;return(r=(e=e||{}).url)||(r="https://api.cloudinary.com/v1_1/"+(e.cloud_name||jQuery.cloudinary.config().cloud_name)+"/delete_by_token"),n=jQuery.support.xhrFileUpload?"json":"iframe json",jQuery.ajax({url:r,method:"POST",data:{token:t},headers:{"X-Requested-With":"XMLHttpRequest"},dataType:n})},kn.prototype.unsigned_upload_tag=function(t,e,n){return jQuery("<input/>").attr({type:"file",name:"file"}).unsigned_cloudinary_upload(t,e,n)},jQuery.fn.cloudinary_fileupload=function(t){var e,n;return m(jQuery.fn.fileupload)?((e=!this.data("blueimpFileupload"))&&(t=jQuery.extend({maxFileSize:2e7,dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest"}},t)),this.fileupload(t),e&&(this.bind("fileuploaddone",function(t,e){var n,r,o;if(!e.result.error)return e.result.path=["v",e.result.version,"/",e.result.public_id,e.result.format?"."+e.result.format:""].join(""),e.cloudinaryField&&e.form.length>0&&(o=[e.result.resource_type,e.result.type,e.result.path].join("/")+"#"+e.result.signature,n=function(){return jQuery("<input/>").attr({type:"hidden",name:e.cloudinaryField}).val(o).appendTo(e.form)},jQuery(t.target).prop("multiple")?n():(r=jQuery(e.form).find('input[name="'+e.cloudinaryField+'"]')).length>0?r.val(o):n()),jQuery(t.target).trigger("cloudinarydone",e)}),this.bind("fileuploadsend",function(t,e){return e.headers=jQuery.extend({},e.headers,{"X-Unique-Upload-Id":(1e10*Math.random()).toString(16)}),!0}),this.bind("fileuploadstart",function(t){return jQuery(t.target).trigger("cloudinarystart")}),this.bind("fileuploadstop",function(t){return jQuery(t.target).trigger("cloudinarystop")}),this.bind("fileuploadprogress",function(t,e){return jQuery(t.target).trigger("cloudinaryprogress",e)}),this.bind("fileuploadprogressall",function(t,e){return jQuery(t.target).trigger("cloudinaryprogressall",e)}),this.bind("fileuploadfail",function(t,e){return jQuery(t.target).trigger("cloudinaryfail",e)}),this.bind("fileuploadalways",function(t,e){return jQuery(t.target).trigger("cloudinaryalways",e)}),this.fileupload("option").url||(n="https://api.cloudinary.com/v1_1/"+(t.cloud_name||jQuery.cloudinary.config().cloud_name)+"/"+(t.resource_type||"auto")+"/"+(t.type||"upload"),this.fileupload("option","url",n))),this):this},jQuery.fn.cloudinary_upload_url=function(t){return m(jQuery.fn.fileupload)?(this.fileupload("option","formData").file=t,this.fileupload("add",{files:[t]}),delete this.fileupload("option","formData").file,this):this},jQuery.fn.unsigned_cloudinary_upload=function(t){var e,n,r,o,i,u,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(a=H(a),c=H(c),n=["cloud_name","resource_type","type"],o=0;o<n.length;)a[e=n[o]]&&(c[e]=a[e],delete a[e]),o++;for(i in a)u=a[i],Z(u)?a[i]=jQuery.map(u,function(t,e){return N(t)&&(t=t.replace(/[\|=]/g,"\\$&")),e+"="+t}).join("|"):X(u)&&(u.length>0&&jQuery.isArray(u[0])?a[i]=jQuery.map(u,function(t){return t.join(",")}).join("|"):a[i]=u.join(","));return a.callback||(a.callback="/cloudinary_cors.html"),a.upload_preset=t,c.formData=a,c.cloudinary_field&&(c.cloudinaryField=c.cloudinary_field,delete c.cloudinary_field),(r=c.html||{}).class=K("cloudinary_fileupload ".concat(r.class||"")),c.multiple&&(r.multiple=!0),this.attr(r).cloudinary_fileupload(c),this},jQuery.cloudinary=new kn;var Fn=kn;n.d(e,"ClientHintsMetaTag",function(){return dn}),n.d(e,"Cloudinary",function(){return bn}),n.d(e,"CloudinaryJQuery",function(){return Fn}),n.d(e,"Condition",function(){return ut}),n.d(e,"Configuration",function(){return ft}),n.d(e,"crc32",function(){return u}),n.d(e,"FetchLayer",function(){return jt}),n.d(e,"HtmlTag",function(){return se}),n.d(e,"ImageTag",function(){return xe}),n.d(e,"Layer",function(){return ht}),n.d(e,"PictureTag",function(){return $e}),n.d(e,"SubtitlesLayer",function(){return At}),n.d(e,"TextLayer",function(){return bt}),n.d(e,"Transformation",function(){return ie}),n.d(e,"utf8_encode",function(){return i}),n.d(e,"Util",function(){return r}),n.d(e,"VideoTag",function(){return nn});e.default={ClientHintsMetaTag:dn,Cloudinary:bn,CloudinaryJQuery:Fn,Condition:ut,Configuration:ft,crc32:u,FetchLayer:jt,HtmlTag:se,ImageTag:xe,Layer:ht,PictureTag:$e,SubtitlesLayer:At,TextLayer:bt,Transformation:ie,utf8_encode:i,Util:r,VideoTag:nn}}])});