vendor: 8,688 bytes, lines 1-11
1/*! 2 * 3 * js-cloudimage-360-view v3.0.3 4 * https://github.com/scaleflex/js-cloudimage-360-view 5 * 6 * Copyright (c) 2019 scaleflex 7 * Released under the MIT license 8 * 9 * Date: 2022-05-04T16:38:02.418Z 10 * 11 */!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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=121)}([function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(64))},function(t,e,n){var i=n(18),r=Function.prototype,o=r.bind,a=r.call,s=i&&o.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e,n){t.exports=n(114)},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}t.exports=function(t){return function(){var e=this,i=arguments;return new Promise((function(r,o){var a=t.apply(e,i);function s(t){n(a,r,o,s,c,"next",t)}function c(t){n(a,r,o,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(4);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(1),r=n(38),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},function(t,e,n){var i=n(3);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},function(t,e,n){var i=n(0),r=n(37),o=n(8),a=n(39),s=n(34),c=n(33),u=r("wks"),l=i.Symbol,f=l&&l.for,d=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):d(e)}return u[t]}},function(t,e,n){var i=n(0),r=n(3),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},function(t,e,n){var i=n(29),r=n(30);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(0),r=n(7),o=n(40),a=n(42),s=n(14),c=n(31),u=i.TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor;e.f=r?a?function(t,e,n){if(s(t),e=c(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var i=f(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:i.configurable,enumerable:"enumerable"in n?n.enumerable:i.enumerable,writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=c(e),s(n),o)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(0),r=n(9),o=i.String,a=i.TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not an object")}},function(t,e){function n(e){return t.exports=n="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.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(0),r=n(27).f,o=n(22),a=n(73),s=n(21),c=n(77),u=n(83);t.exports=function(t,e){var n,l,f,d,h,p=t.target,m=t.global,v=t.stat;if(n=m?i:v?i[p]||s(p,{}):(i[p]||{}).prototype)for(l in e){if(d=e[l],f=t.noTargetGet?(h=r(n,l))&&h.value:n[l],!u(m?l:p+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(n,l,d,t)}}},function(t,e,n){var i=n(18),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},function(t,e,n){var i=n(4);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){var i=n(1),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},function(t,e,n){var i=n(0),r=n(21),o=i["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=o},function(t,e,n){var i=n(0),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(7),r=n(13),o=n(28);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(1),r=n(3),o=n(20),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},function(t,e){t.exports={}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var i=n(0),r=n(1);t.exports=function(t,e){return r(i[t].prototype[e])}},function(t,e,n){var i=n(7),r=n(17),o=n(65),a=n(28),s=n(12),c=n(31),u=n(8),l=n(40),f=Object.getOwnPropertyDescriptor;e.f=i?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(0),r=n(1),o=n(4),a=n(19),s=i.Object,c=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?c(t,""):s(t)}:s},function(t,e,n){var i=n(0).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},function(t,e,n){var i=n(66),r=n(32);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},function(t,e,n){var i=n(0),r=n(11),o=n(3),a=n(67),s=n(33),c=i.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,c(t))}},function(t,e,n){var i=n(34);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(35),r=n(4);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},function(t,e,n){var i,r,o=n(0),a=n(68),s=o.process,c=o.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=(i=l.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},function(t,e,n){var i=n(0),r=n(3),o=n(70),a=i.TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a function")}},function(t,e,n){var i=n(72),r=n(20);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.0",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var i=n(0),r=n(30),o=i.Object;t.exports=function(t){return o(r(t))}},function(t,e,n){var i=n(1),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},function(t,e,n){var i=n(7),r=n(4),o=n(41);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(0),r=n(9),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var i=n(7),r=n(4);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var i=n(37),r=n(39),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,e,n){var i=n(1),r=n(8),o=n(12),a=n(45).indexOf,s=n(24),c=i([].push);t.exports=function(t,e){var n,i=o(t),u=0,l=[];for(n in i)!r(s,n)&&r(i,n)&&c(l,n);for(;e.length>u;
11)r(i,n=e[u++])&&(~a(l,n)||c(l,n));return l}},function(t,e,n){var i=n(12),r=n(80),o=n(47),a=function(t){return function(e,n,a){var s,c=i(e),u=o(c),l=r(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?i:n)(e)}},function(t,e,n){var i=n(81);t.exports=function(t){return i(t.length)}},function(t,e,n){var i=n(85),r=n(1),o=n(29),a=n(38),s=n(47),c=n(86),u=r([].push),l=function(t){var e=1==t,n=2==t,r=3==t,l=4==t,f=6==t,d=7==t,h=5==t||f;return function(p,m,v,g){for(var y,b,w=a(p),x=o(w),I=i(m,v),O=s(x),k=0,E=g||c,S=e?E(p,O):n||d?E(p,0):void 0;O>k;k++)if((h||k in x)&&(b=I(y=x[k],k,w),t))if(e)S[k]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return k;case 2:u(S,y)}else switch(t){case 4:return!1;case 7:u(S,y)}return f?-1:r||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(o).concat([r]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];null!=a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){var i,r,o={},a=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=i.apply(this,arguments)),r}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var i=s.call(this,t,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),u=null,l=0,f=[],d=n(111);function h(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=o[i.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](i.parts[a]);for(;a<i.parts.length;a++)r.parts.push(b(i.parts[a],e))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(b(i.parts[a],e));o[i.id]={id:i.id,refs:1,parts:s}}}}function p(t,e){for(var n=[],i={},r=0;r<t.length;
vendor: 4,142 bytes, line 11
11r++){var o=t[r],a=e.base?o[0]+e.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}function m(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=f[f.length-1];if("top"===t.insertAt)i?i.nextSibling?n.insertBefore(e,i.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),f.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=c(t.insertAt.before,n);n.insertBefore(e,r)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=f.indexOf(t);e>=0&&f.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return y(e,t.attrs),m(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function b(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=l++;n=u||(u=g(e)),i=I.bind(null,n,a,!1),r=I.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),m(t,e),e}(e),i=k.bind(null,n,e),r=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),i=O.bind(null,n),r=function(){v(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return h(n,e),function(t){for(var i=[],r=0;r<n.length;r++){var a=n[r];(s=o[a.id]).refs--,i.push(s)}t&&h(p(t,e),e);for(r=0;r<i.length;r++){var s;if(0===(s=i[r]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete o[s.id]}}}};var w,x=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function I(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function O(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function k(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=d(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(51);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}
vendor: 5,064 bytes, line 11
11,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t.exports=function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(115),r=n(116),o=n(52),a=n(117);t.exports=function(t){return i(t)||r(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(118),r=n(119),o=n(52),a=n(120);t.exports=function(t,e){return i(t)||r(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,n){var i=n(60);t.exports=i},function(t,e,n){var i=n(61);t.exports=i},function(t,e,n){var i=n(62);t.exports=i},function(t,e,n){n(63);var i=n(26);t.exports=i("Array","forEach")},function(t,e,n){"use strict";var i=n(16),r=n(84);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(0),r=n(17),o=n(9),a=n(32),s=n(69),c=n(71),u=n(10),l=i.TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,i=s(t,f);if(i){if(void 0===e&&(e="default"),n=r(i,t,e),!o(n)||a(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},function(t,e,n){var i=n(1);t.exports=i({}.isPrototypeOf)},function(t,e,n){var i=n(11);t.exports=i("navigator","userAgent")||""},function(t,e,n){var i=n(36);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},function(t,e,n){var i=n(0).String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},function(t,e,n){var i=n(0),r=n(17),o=n(3),a=n(9),s=i.TypeError;t.exports=function(t,e){var n,i;if("string"===e&&o(n=t.toString)&&!a(i=r(n,t)))return i;if(o(n=t.valueOf)&&!a(i=r(n,t)))return i;if("string"!==e&&o(n=t.toString)&&!a(i=r(n,t)))return i;throw s("Can't convert object to primitive value")}},function(t,e){t.exports=!1},function(t,e,n){var i=n(0),r=n(3),o=n(8),a=n(22),s=n(21),c=n(23),u=n(74),l=n(76).CONFIGURABLE,f=u.get,d=u.enforce,h=String(String).split("String");(t.exports=function(t,e,n,c){var u,f=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,v=c&&void 0!==c.name?c.name:e;r(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||l&&n.name!==v)&&a(n,"name",v),(u=d(n)).source||(u.source=h.join("string"==typeof v?v:""))),t!==i?(f?!m&&t[e]&&(p=!0):delete t[e],p?t[e]=n:a(t,e,n)):p?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return r(this)&&f(this).source||c(this)}))},function(t,e,n){var i,r,o,a=n(75),s=n(0),c=n(1),u=n(9),l=n(22),f=n(8),d=n(20),h=n(43),p=n(24),m=s.TypeError,v=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new v),y=c(g.get),b=c(g.has),w=c(g.set);i=function(t,e){if(b(g,t))throw new m("Object already initialized");return e.facade=t,w(g,t,e),e},r=function(t){return y(g,t)||{}},o=function(t){return b(g,t)}}else{var x=h("state");p[x]=!0,i=function(t,e){if(f(t,x))throw new m("Object already initialized");return e.facade=t,l(t,x,e),e},r=function(t){return f(t,x)?t[x]:{}},o=function(t){return f(t,x)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var i=n(0),r=n(3),o=n(23),a=i.WeakMap;t.exports=r(a)&&/native code/.test(o(a))},function(t,e,n){var i=n(7),r=n(8),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),c=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(t,e,n){var i=n(8),r=n(78),o=n(27),a=n(13);t.exports=function(t,e,n){for(var s=r(e),c=a.f,u=o.f,l=0;l<s.length;l++){var f=s[l];i(t,f)||n&&i(n,f)||c(t,f,u(e,f))}}},function(t,e,n){var i=n(11),r=n(1),o=n(79),a=n(82),s=n(14),c=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},function(t,e,n){var i=n(44),r=n(25).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(46),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},function(t,e,n){var i=n(46),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(4),r=n(3),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){"use strict";
vendor: 5,687 bytes, line 11
11var i=n(48).forEach,r=n(92)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var i=n(1),r=n(36),o=n(18),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(87);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},function(t,e,n){var i=n(0),r=n(88),o=n(89),a=n(9),s=n(10)("species"),c=i.Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(o(e)&&(e===c||r(e.prototype))||a(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?c:e}},function(t,e,n){var i=n(19);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(1),r=n(4),o=n(3),a=n(90),s=n(11),c=n(23),u=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=i(d.exec),p=!d.exec(u),m=function(t){if(!o(t))return!1;try{return f(u,l,t),!0}catch(t){return!1}},v=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,c(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||r((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?v:m},function(t,e,n){var i=n(0),r=n(91),o=n(3),a=n(19),s=n(10)("toStringTag"),c=i.Object,u="Arguments"==a(function(){return arguments}());t.exports=r?a:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?n:u?a(e):"Object"==(i=a(e))&&o(e.callee)?"Arguments":i}},function(t,e,n){var i={};i[n(10)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){"use strict";var i=n(4);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var i=n(94);t.exports=i},function(t,e,n){var i=n(95);t.exports=i},function(t,e,n){var i=n(96);t.exports=i},function(t,e,n){n(97);var i=n(26);t.exports=i("Array","filter")},function(t,e,n){"use strict";var i=n(16),r=n(48).filter;i({target:"Array",proto:!0,forced:!n(98)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(4),r=n(10),o=n(35),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var i=n(100);t.exports=i},function(t,e,n){var i=n(101);t.exports=i},function(t,e,n){var i=n(102);t.exports=i},function(t,e,n){n(103);var i=n(26);t.exports=i("Array","includes")},function(t,e,n){"use strict";var i=n(16),r=n(45).includes,o=n(104);i({target:"Array",proto:!0},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(t,e,n){var i=n(10),r=n(105),o=n(13),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var i,r=n(14),o=n(106),a=n(25),s=n(24),c=n(108),u=n(41),l=n(43),f=l("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;m="undefined"!=typeof document?document.domain&&i?p(i):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(i);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=r(t),n=new d,d.prototype=null,n[f]=t):n=m(),void 0===e?n:o.f(n,e)}},function(t,e,n){var i=n(7),r=n(42),o=n(13),a=n(14),s=n(12),c=n(107);e.f=i&&!r?Object.defineProperties:function(t,e){a(t);for(var n,i=s(e),r=c(e),u=r.length,l=0;u>l;)o.f(t,n=r[l++],i[n]);return t}},function(t,e,n){var i=n(44),r=n(25);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(11);t.exports=i("document","documentElement")},function(t,e,n){var i=n(110);"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(50)(i,r);i.locals&&(t.exports=i.locals)},function(t,e,n){(t.exports=n(49)(!1)).push([t.i,".cloudimage-360-icons-container {\r\n position: absolute;\r\n display: flex;\r\n top: 5px;\r\n right: 5px;\r\n width: 30px;\r\n height: 95%;\r\n flex-direction: column;\r\n align-items: center;\r\n z-index: 101;\r\n}\r\n\r\n.cloudimage-360-magnifier-icon {\r\n width: 25px;\r\n height: 25px;\r\n margin-bottom: 5px;\r\n cursor: pointer;\r\n background: url('https://scaleflex.cloudimg.io/v7/filerobot/js-cloudimage-360-view/loupe.svg') 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360-fullscreen-icon {\r\n width: 25px;\r\n height: 25px;\r\n margin-bottom: 5px;\r\n cursor: pointer;\r\n background: url('https://scaleflex.cloudimg.io/v7/filerobot/js-cloudimage-360-view/full_screen.svg') 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360-reset-zoom-icon {\r\n display: none;\r\n width: 30px;\r\n height: 30px;\r\n margin-top: auto;\r\n cursor: pointer;\r\n background: url('https://scaleflex.cloudimg.io/v7/filerobot/js-cloudimage-360-view/ic-resize.svg?vh=248986') 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360-close-fullscreen-icon {\r\n width: 25px;\r\n height: 25px;\r\n cursor: pointer;\r\n background: url('https://scaleflex.cloudimg.io/v7/filerobot/js-cloudimage-360-view/cross.svg') 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360-loader {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n width: 0%;\r\n height: 8px;\r\n background-color: rgb(165, 175, 184);\r\n z-index: 100;\r\n}
11\r\n\r\n.cloudimage-360-box-shadow {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: 99;\r\n}\r\n\r\n.cloudimage-360-view-360-icon {\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n width: 100px;\r\n height: 100px;\r\n margin: auto;\r\n background-color: rgba(255, 255, 255, 0.8);\r\n border-radius: 50%;\r\n box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 4px;\r\n transition: 0.5s all;\r\n color: rgb(80, 80, 80);\r\n text-align: center;\r\n line-height: 100px;\r\n z-index: 2;\r\n}\r\n\r\n.cloudimage-360-view-360-circle {\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n width: 80%;\r\n height: auto;\r\n margin: auto;\r\n pointer-events: none;\r\n user-select: none;\r\n transition: 0.5s all;\r\n z-index: 2;\r\n}\r\n\r\n.cloudimage-360-fullscreen-modal {\r\n position: fixed;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: 999;\r\n background-color: #FFF;\r\n}\r\n\r\n.cloudimage-360-img-magnifier-glass {\r\n background-color: #FFF;\r\n background-repeat: no-repeat;\r\n position: absolute;\r\n border: 3px solid #000;\r\n border-radius: 50%;\r\n cursor: wait;\r\n line-height: 200px;\r\n text-align: center;\r\n z-index: 1000;\r\n width: 250px;\r\n height: 250px;\r\n top: -75px;\r\n right: -85px;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left,\r\n.cloudimage-360 .cloudimage-360-right {\r\n padding: 8px;\r\n background: rgb(244, 244, 244);\r\n border: none;\r\n border-radius: 4px;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left:focus,\r\n.cloudimage-360 .cloudimage-360-right:focus {\r\n outline: none;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left {\r\n display: none;\r\n position: absolute;\r\n z-index: 100;\r\n top: calc(50% - 15px);\r\n left: 20px;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-right {\r\n display: none;\r\n position: absolute;\r\n z-index: 100;\r\n top: calc(50% - 15px);\r\n right: 20px;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left:before,\r\n.cloudimage-360 .cloudimage-360-right:before {\r\n content: '';\r\n display: block;\r\n width: 30px;\r\n height: 30px;\r\n background: 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left:before {\r\n background-image: url('https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-left.svg');\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-right:before {\r\n background-image: url('https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-right.svg');\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-left.not-active,\r\n.cloudimage-360 .cloudimage-360-right.not-active {\r\n opacity: 0.4;\r\n cursor: default;\r\n pointer-events: none;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top,\r\n.cloudimage-360 .cloudimage-360-bottom {\r\n padding: 8px;\r\n background: rgb(244, 244, 244);\r\n border: none;\r\n border-radius: 4px;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top:focus,\r\n.cloudimage-360 .cloudimage-360-bottom:focus {\r\n outline: none;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top {\r\n display: none;\r\n position: absolute;\r\n z-index: 100;\r\n left: calc(50% - 15px);\r\n top: 20px;\r\n transform: rotate(90deg);\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-bottom {\r\n display: none;\r\n position: absolute;\r\n z-index: 100;\r\n left: calc(50% - 15px);\r\n bottom: 20px;\r\n transform: rotate(90deg);\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top:before,\r\n.cloudimage-360 .cloudimage-360-bottom:before {\r\n content: '';\r\n display: block;\r\n width: 30px;\r\n height: 30px;\r\n background: 50% 50% / cover no-repeat;\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top:before {\r\n background-image: url('https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-left.svg');\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-bottom:before {\r\n background-image: url('https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/assets/img/arrow-right.svg');\r\n}\r\n\r\n.cloudimage-360 .cloudimage-360-top.not-active,\r\n.cloudimage-360 .cloudimage-360-bottom.not-active {\r\n opacity: 0.4;\r\n cursor: default;\r\n}",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,o=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(t,e,n){var i=n(113);"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(50)(i,r);i.locals&&(t.exports=i.locals)},function(t,e,n){(t.exports=n(49)(!1)).push([t.i,".cloudimage-360-hotspot-link-icon {\r\n width: 42px;\r\n height: 42px;\r\n background: rgba(12, 109, 199, 0.2);\r\n border: 1px solid rgba(255, 255, 255, 0.2);\r\n border-radius: 50%;\r\n box-sizing: border-box;\r\n transition: opacity 600ms ease-in-out;\r\n cursor: auto;\r\n}\r\n\r\n.cloudimage-360-hotspot-link-icon::before {\r\n content: '';\r\n position: absolute;\r\n width: 16px;\r\n height: 16px;\r\n background-image: url('https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/assets/img/link-hotspot.svg');\r\n background-color: #0C6DC7;\r\n background-repeat: no-repeat;\r\n background-size: 17px 7px;\r\n background-position: center;\r\n left: 50%;\r\n top: 50%;\r\n transform: translate(-50%, -50%);\r\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);\r\n border-radius: 50%;\r\n\tanimation: pulse 2s infinite;\r\n cursor: auto;\r\n}\r\n\r\n.cloudimage-360-hotspot-custom-icon {\r\n width: 42px;\r\n height: 42px;\r\n background: #76AD0133;\r\n border: 1px solid #FFFFFF33;\r\n border-radius: 50%;\r\n box-sizing: border-box;\r\n transition: opacity 300ms ease-in-out;\r\n cursor: auto;\r\n}\r\n\r\n.cloudimage-360-hotspot-custom-icon::before {\r\n content: '';\r\n position: absolute;\r\n width: 16px;\r\n height: 16px;\r\n background-image: url('https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/assets/img/plus.svg');\r\n background-color: #76AD01;\r\n background-repeat: no-repeat;\r\n background-size: 17px 7px;\r\n background-position: center;\r\n left: 50%;\r\n top: 50%;\r\n transform: translate(-50%, -50%);\r\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);\r\n border-radius: 50%;\r\n\tanimation: pulse 2s infinite;\r\n cursor: auto;\r\n}\r\n\r\n.cloudimage-360-hotspot-popup {\r\n visibility: hidden;\r\n opacity: 0;\r\n background-color: #FFFFFF;\r\n padding: 6px;\r\n border-radius: 2px;\r\n box-shadow: 0px 4px 4px 0px #00000040;\r\n z-index: 999;\r\n}\r\n\r\n.cloudimage-360-hotspot-popup[data-show] {\r\n visibility: visible;\r\n opacity: 1;\r\n}\r\n\r\n.cloudimage-360-popup-arrow,\r\n.cloudimage-360-popup-arrow::before {\r\n position: absolute;\r\n width: 8px;\r\n height: 8px;\r\n background: inherit;\r\n cursor: 'auto';\r\n}\r\n\r\n.cloudimage-360-popup-arrow {\r\n visibility: hidden;\r\n}\r\n\r\n.cloudimage-360-popup-arrow::before {\r\n visibility: visible;\r\n content: '';\r\n transform: rotate(45deg);\r\n}\r\n\r\n.cloudimage-360-hotspot-popup[data-popper-placement^='top']\r\n > .cloudimage-360-popup-arrow {\r\n bottom: -4px;\r\n}\r\n\r\n.cloudimage-360-hotspot-popup[data-popper-placement^='bottom']\r\n > .cloudimage-360-popup-arrow {\r\n top: -4px;\r\n}\r\n\r\n.cloudimage-360-hotspot-popup[data-popper-placement^='left']\r\n > .cloudimage-360-popup-arrow {\r\n right: -4px;\r\n}\r\n\r\n.cloudimage-360-hotspot-popup[data-popper-placement^='right']\r\n > .cloudimage-360-popup-arrow {\r\n left: -4px;\r\n}\r\n\r\n.cloudimage-360-modal-wrapper {\r\n max-width: 222px;\r\n}\r\n\r\n.cloudimage-360-images-carousel-wrapper {\r\n margin: 0 auto;\r\n}\r\n\r\n.cloudimage-360-images-carousel {\r\n background-color: #f5f4f4;\r\n border-radius: 2px;\r\n}\r\n\r\n.cloudimage-360-images-carousel .cloudimage-360-carousel-image {\r\n display: none;\r\n object-fit: contain;\r\n min-height: 187px;\r\n max-width: 100%;\r\n max-height: 100%;\r\n}\r\n\r\n.cloudimage-360-images-carousel .cloudimage-360-carousel-image.active-image {\r\n display: block;\r\n animation-name: fade-active-image;\r\n animation-duration: 1.5s;\r\n}\r\n\r\n.cloudimage-360-carousel-dots {\r\n display: flex;\r\n column-gap: 6px;\r\n justify-content: center;\r\n flex-wrap: wrap;\r\n margin: 5px auto;\r\n row-gap: 3px;\r\n padding: 0 6px;\r\n width: 50%;\r\n}\r\n\r\n.cloudimage-360-carousel-dot {\r\n width: 6px;\r\n height: 6px;\r\n background-color: #C9D0DE;\r\n border-radius: 50%;\r\n cursor: pointer;\r\n transition: background-color 0.6s ease;\r\n border: 0;\r\n padding: 0;\r\n}\r\n\r\n.cloudimage-360-carousel-dot.active-dot {\r\n background-color: #76AD01;\r\n}\r\n\r\n.cloudimage-360-carousel-dot:focus,\r\n.cloudimage-360-carousel-dot:focus-visible {\r\n border: 0;\r\n outline: 0;\r\n}\r\n\r\n.cloudimage-360-modal-title {\r\n font-size: 12px;\r\n font-weight: 700;\r\n line-height: 16px;\r\n margin: 4px 0;\r\n}\r\n\r\n.cloudimage-360-modal-description {\r\n font-size: 10px;\r\n font-weight: 400;\r\n line-height: 16px;\r\n margin: 4px 0;\r\n}\r\n\r\n.cloudimage-360-modal-more-details {\r\n color: #76AD01;\r\n background-color: #ECFAE6;\r\n font-size: 10px;\r\n line-height: 16px;\r\n font-weight: 400;\r\n padding: 4px 8px;\r\n transition: background-color 200ms ease-in-out;\r\n border-radius: 2px;\r\n text-decoration: none;\r\n}\r\n\r\n.cloudimage-360-modal-more-details:hover {\r\n color: #76AD01;\r\n background-color: #e1f5d8;\r\n}\r\n\r\n@keyframes pulse {\r\n\t0% {\r\n\t\tbox-shadow: 0 0 0 0 rgba(99, 99, 99, 0.7);\r\n\t}\r\n\r\n\t70% {\r\n\t\tbox-shadow: 0 0 0 10px rgba(99, 99, 99, 0);\r\n\t}\r\n\r\n\t100% {\r\n\t\tbox-shadow: 0 0 0 0 rgba(99, 99, 99, 0);\r\n\t}\r\n}\r\n\r\n@keyframes fade-active-image {\r\n from { opacity: 0.7 }\r\n to { opacity: 1 }\r\n}",""])},function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var r=e&&e.prototype instanceof f?e:f,o=Object.create(r.prototype),a=new O(i||[]);return o._invoke=function(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");
vendor: 3,103 bytes, line 11
11if("completed"===i){if("throw"===r)throw o;return E()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=u(t,e,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function d(){}function h(){}var p={};s(p,r,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(k([])));v&&v!==e&&n.call(v,r)&&(p=v);var g=h.prototype=f.prototype=Object.create(p);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var i;this._invoke=function(r,o){function a(){return new e((function(i,a){!function i(r,o,a,s){var c=u(t[r],t,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return i("throw",t,a,s)}))}s(c.arg)}(r,o,i,a)}))}return i=i?i.then(a,a):a()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var i=u(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,l;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,s(g,"constructor",h),s(h,"constructor",d),d.displayName=s(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,s(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}}
vendor: 4,134 bytes, line 11
11,y(b.prototype),s(b.prototype,o,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new b(c(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),s(g,a,"Generator"),s(g,r,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;I(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},function(t,e,n){var i=n(51);t.exports=function(t){if(Array.isArray(t))return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
11,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";n.r(e);n(59),n(93),n(99);var i=n(5),r=n.n(i),o=n(53),a=n.n(o),s=n(54),c=n.n(s),u="spin-x",l="spin-y",f="spin-xy",d="spin-yx",h=[!1,0,null,void 0,"false","0","null","undefined"],p="x-axis",m="y-axis",v="center",g=/width=\d+|w=\d+|h=\d+|&width=\d+|&w=\d+|&h=\d+|func=\w+|\?$/g,y=/\?&/g,b=function(t){return{folder:x(t,"folder")||x(t,"data-folder")||"/",apiVersion:x(t,"api-version")||x(t,"data-api-version")||x(t,"apiVersion")||x(t,"data-apiVersion")||"v7",filenameX:x(t,"filename")||x(t,"data-filename")||x(t,"filename-x")||x(t,"data-filename-x")||"image-{index}.jpg",filenameY:x(t,"filename-y")||x(t,"data-filename-y")||"image-y-{index}.jpg",imageListX:x(t,"image-list-x")||x(t,"data-image-list-x")||null,imageListY:x(t,"image-list-y")||x(t,"data-image-list-y")||null,indexZeroBase:parseInt(x(t,"index-zero-base")||x(t,"data-index-zero-base")||0,10),amountX:parseInt(x(t,"amount")||x(t,"data-amount")||x(t,"amount-x")||x(t,"data-amount-x")||36,10),amountY:parseInt(x(t,"amount-y")||x(t,"data-amount-y")||0,10),speed:parseInt(x(t,"speed")||x(t,"data-speed")||80,10),dragSpeed:parseInt(x(t,"drag-speed")||x(t,"data-drag-speed")||150,10),keys:w(t,"keys"),keysReverse:w(t,"keys-reverse"),boxShadow:x(t,"box-shadow")||x(t,"data-box-shadow"),autoplay:w(t,"autoplay"),autoplayBehavior:x(t,"autoplay-behavior")||x(t,"data-autoplay-behavior")||u,playOnce:w(t,"play-once"),autoplayReverse:w(t,"autoplay-reverse"),pointerZoom:parseFloat(x(t,"pointer-zoom")||x(t,"data-pointer-zoom")||0,10),bottomCircle:w(t,"bottom-circle"),disableDrag:w(t,"disable-drag"),fullscreen:w(t,"fullscreen")||w(t,"full-screen"),magnifier:(null!==x(t,"magnifier")||null!==x(t,"data-magnifier"))&&parseFloat(x(t,"magnifier")||x(t,"data-magnifier"),10),bottomCircleOffset:parseInt(x(t,"bottom-circle-offset")||x(t,"data-bottom-circle-offset")||5,10),ciToken:x(t,"responsive")||x(t,"data-responsive"),ciFilters:x(t,"filters")||x(t,"data-filters"),ciTransformation:x(t,"transformation")||x(t,"data-transformation"),lazyload:w(t,"lazyload"),lazySelector:x(t,"lazyload-selector")||x(t,"data-lazyload-selector")||"lazyload",spinReverse:w(t,"spin-reverse"),controlReverse:w(t,"control-reverse"),stopAtEdges:w(t,"stop-at-edges"),hide360Logo:w(t,"hide-360-logo"),logoSrc:x(t,"logo-src")||"https://scaleflex.cloudimg.io/v7/filerobot/js-cloudimage-360-view/360_view.svg",ratio:x(t,"ratio")||x(t,"data-ratio"),imageInfo:x(t,"info")||x(t,"data-info")||w(t,"info")}},w=function(t,e){var n=x(t,e),i=x(t,"data-".concat(e));return null!==n&&"false"!==n||null!==i&&"false"!==i},x=function(t,e){return t.getAttribute(e)},I=function(t,e){t.style.background="rgba(255,255,255,0.8) url('".concat(e,"') 50% 50% / contain no-repeat")},O=(n(109),n(112),["folder","filenameX","filenameY","apiVersion","imageListX","imageListY","indexZeroBase","lazySelector","keys","stopAtEdges","disableDrag","controlReverse","disableDrag"]),k=function(t){return(e=t)<=25?"25":e<=50?"50":(100*Math.ceil(e/100)).toString();var e},E=function(t,e){var n,i,r,o=t.container,a=t.folder,s=t.apiVersion,c=t.filename,u=void 0===c?"":c,l=t.ciParams||{},f=l.ciToken,d=l.ciFilters,p=l.ciTransformation,m="".concat(a).concat(u);if(f){var v=o.offsetWidth,g=-1===h.indexOf(s)?s:null,y=g?"".concat(g,"/"):"",b=(n=k(v),i=n.toString().split("x"),r=[],[].forEach.call(i,(function(t){r.push(t*Math.round(window.devicePixelRatio||1))})),r.join("x")),w=-1!==new URL(m).origin.indexOf("cloudimg")?m:"https://".concat(f,".cloudimg.io/").concat(y).concat(m);m="".concat(w,"?").concat(p||"".concat(e?"":"width=".concat(b)," ")).concat(d?"&f=".concat(d):"")}return m},S=n(6),C=n.n(S),j=n(2),L=n.n(j),A=function(){var t=C()(L.a.mark((function t(e,n,i){var r;return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new Image).src=e,t.abrupt("return",new Promise((function(t){r.onload=function(){t(r),i&&i(r,n)},r.onerror=function(){t(r),i&&i(r,n)}})));case 3:case"end":return t.stop()}}),t)})));return function(e,n,i){return t.apply(this,arguments)}}(),P=function(){var t=C()(L.a.mark((function t(e,n){return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.map(function(){var t=C()(L.a.mark((function t(e,i){return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A(e,i,n);case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Y=n(55),D=n.n(Y),R=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t+="").length>=e?t:new Array(e-t.length+1).join("0")+t},M=function(t,e,n){var i=e||{},r=i.amount,o=i.indexZeroBase;return D()(new Array(r)).map((function(e,i){var r=R(i+1,o),a=t.replace("{index}",r);return n?a.replace(g,"").replace(y,"?"):a}))};function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var X=function(t,e,n){var i=e.folder;return t.map((function(t){var o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
11e%2?T(Object(n),!0).forEach((function(e){r()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return o.folder=/(http(s?)):\/\//gi.test(t)?"":i,o.filename=t,E(o,n)}))},F=function(t,e,n){var i=(t||{}).imageList,r=[];if(i)try{var o=JSON.parse(i);r=X(o,t)}catch(t){console.error("Wrong format in image-list attribute: ".concat(t.message))}else r=M(e,t);P(r,n)},z=function(){var t=C()(L.a.mark((function t(e,n){return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.map(function(){var t=C()(L.a.mark((function t(e,i){return L.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A(e,i,n);case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),_=function(t,e,n){var i=(t||{}).imageList,r=[];if(i)try{var o=JSON.parse(i);r=X(o,t,!0)}catch(t){console.error("Wrong format in image-list attribute: ".concat(t.message))}else r=M(e,t,!0);z(r,n)};function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var B=function(t,e){var n=e.folder,i=t[0],o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){r()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return o.folder=/(http(s?)):\/\//gi.test(i)?"":n,o.filename=i,E(o)},V=function(t,e,n){var i,r=e||{},o=r.imageList,a=r.lazySelector,s=r.innerBox;if(o)try{var c=JSON.parse(o);i=B(c,e)}catch(t){console.error("Wrong format in image-list attribute: ".concat(t.message))}else i=function(t,e){var n=(e||{}).indexZeroBase,i=R(1,n);return t.replace("{index}",i)}(t,e);var u=new Image;u.setAttribute("data-src",i),u.style.position="absolute",u.style.top=0,u.style.left=0,u.style.width="100%",u.style.maxWidth="100%",u.style.maxHeight="100%",a&&(u.className=a),s.appendChild(u),n&&(u.onload=function(){return n(u)})},W=function(t){return function(e,n,i,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:.5,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:.5,c=i/r,u=e/n,l=e*o,f=n*o;return(t?c>u:c<u)?f=l/c:l=f*c,{width:l,height:f,offsetX:(e-l)*a,offsetY:(n-f)*s}}}(!0),U=n(15),H=n.n(U),q=function(t,e,n){var i,r,o=e.container,a=e.w,s=e.h,c=e.zoom,u=e.bw,l=e.offsetX,f=e.offsetY,d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event,e=arguments.length>1?arguments[1]:void 0,n=0,i=0,r=e.getBoundingClientRect();return n=t.pageX-r.left,i=t.pageY-r.top,{x:n-=window.pageXOffset,y:i-=window.pageYOffset}}(t,o);i=d.x,r=d.y,i>o.offsetWidth-a/c&&(i=o.offsetWidth-a/c),i<a/c&&(i=a/c),r>o.offsetHeight-s/c&&(r=o.offsetHeight-s/c),r<s/c&&(r=s/c),n.style.left="".concat(i-a,"px"),n.style.top="".concat(r-s,"px");var h=(i-l)*c-a+u,p=(r-f)*c-s+u;n.style.backgroundPosition="-".concat(h,"px -").concat(p,"px")},Z=function(t,e,n){var i=t/150*(36/e)*25*(Math.max(n,600)/1500)||1;return Math.floor(i)},G=function(t,e){var n=t||{};n.classList?n.classList.add(e):n.className+=" ".concat(e)},J=function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)".concat(e.split(" ").join("|"),"(\\b|$)"),"gi")," ")},$=function(t,e,n,i,r){var o=v;if(t)return r;var a=Math.abs(n.x-i.x),s=Math.abs(n.y-i.y);return a>10&&(o=p),s>10&&e&&(o=m),o},K=function(t,e,n){return Math.floor((t-e)/n)||1},Q=function(t){var e=document.createElement("canvas");return e.style.width="100%",e.style.fontSize="0",t.appendChild(e),e},tt=function(t){var e=document.createElement("div");
11return e.className="cloudimage-360-icons-container",t.appendChild(e),e},et=function(t){var e=document.createElement("div");return e.className="cloudimage-360-inner-box",t.appendChild(e),e},nt=function(t,e){var n=document.createElement("div");return n.className="cloudimage-360-box-shadow",n.style.boxShadow=t,e.appendChild(n),n},it=function(t){var e=document.createElement("div");return e.className="cloudimage-360-loader",t.appendChild(e),e},rt=function(t){t.style.position="relative",t.style.width="100%",t.style.cursor="wait",t.setAttribute("draggable","false"),t.className="".concat(t.className," initialized")},ot=function(t,e){if(t&&e)try{t.removeChild(e)}catch(t){}},at=function(t,e,n){for(var i=new Array(e).length-1;i>-1;i--){var r,o=null===(r=t[i])||void 0===r?void 0:r[n];if(o)return o}return"0%"},st=function(t){return t.reduce((function(e,n,i){var r=!(null==n||!n.xCoord),o=!(null==n||!n.yCoord);return r||(n.xCoord=at(t,i,"xCoord")),o||(n.yCoord=at(t,i,"yCoord")),e.push(n),e}),[])},ct=function(t){var e="[data-hotspot-icon-id=".concat(t,"]");return document.querySelector(e)},ut=function(t,e,n,i,r){n.style.visibility="visible",n.style.opacity=1,n.style.zIndex=100,n.style.left="".concat(-n.offsetWidth/2,"px"),n.style.top="".concat(-n.offsetHeight/2,"px");var o=t.offsetWidth/e[0],a=t.offsetHeight/e[1],s="".concat(o*i,"px"),c="".concat(a*r,"px");n.style.transform="translate3d(".concat(s,", ").concat(c,", 0)")},lt=function(t){t.style.visibility="hidden",t.style.opacity=0},ft=function(t){switch(t.toLowerCase()){case"x-axis":return"x";case"y-axis":return"y";default:return"x"}},dt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"x-axis";e.forEach((function(e){var o=e.positions,a=e.initialDimensions,s=e.orientation,c=e.variant.anchorId,u=ft(r),l="x"===s?n:i,f=st(o).find((function(t){return t.imageIndex===l})),d=ct(c);if(f&&u===s){var h=f.xCoord,p=void 0===h?0:h,m=f.yCoord;ut(t,a,d,p,void 0===m?0:m)}else lt(d)}))};function ht(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function pt(t){return t instanceof ht(t).Element||t instanceof Element}function mt(t){return t instanceof ht(t).HTMLElement||t instanceof HTMLElement}function vt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ht(t).ShadowRoot||t instanceof ShadowRoot)}var gt=Math.max,yt=Math.min,bt=Math.round;function wt(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,r=1;if(mt(t)&&e){var o=t.offsetHeight,a=t.offsetWidth;a>0&&(i=bt(n.width)/a||1),o>0&&(r=bt(n.height)/o||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function xt(t){var e=ht(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function It(t){return t?(t.nodeName||"").toLowerCase():null}function Ot(t){return((pt(t)?t.ownerDocument:t.document)||window.document).documentElement}function kt(t){return wt(Ot(t)).left+xt(t).scrollLeft}function Et(t){return ht(t).getComputedStyle(t)}function St(t){var e=Et(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Ct(t,e,n){void 0===n&&(n=!1);var i,r,o=mt(e),a=mt(e)&&function(t){var e=t.getBoundingClientRect(),n=bt(e.width)/t.offsetWidth||1,i=bt(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),s=Ot(e),c=wt(t,a),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==It(e)||St(s))&&(u=(i=e)!==ht(i)&&mt(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:xt(i)),mt(e)?((l=wt(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=kt(s))),{x:c.left+u.scrollLeft-l.x,y:c.top+u.scrollTop-l.y,width:c.width,height:c.height}}function jt(t){var e=wt(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Lt(t){return"html"===It(t)?t:t.assignedSlot||t.parentNode||(vt(t)?t.host:null)||Ot(t)}function At(t,e){var n;void 0===e&&(e=[]);var i=function t(e){return["html","body","#document"].indexOf(It(e))>=0?e.ownerDocument.body:mt(e)&&St(e)?e:t(Lt(e))}(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=ht(i),a=r?[o].concat(o.visualVie
11wport||[],St(i)?i:[]):i,s=e.concat(a);return r?s:s.concat(At(Lt(a)))}function Pt(t){return["table","td","th"].indexOf(It(t))>=0}function Yt(t){return mt(t)&&"fixed"!==Et(t).position?t.offsetParent:null}function Dt(t){for(var e=ht(t),n=Yt(t);n&&Pt(n)&&"static"===Et(n).position;)n=Yt(n);return n&&("html"===It(n)||"body"===It(n)&&"static"===Et(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&mt(t)&&"fixed"===Et(t).position)return null;for(var n=Lt(t);mt(n)&&["html","body"].indexOf(It(n))<0;){var i=Et(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var Rt="top",Mt="bottom",Tt="right",Xt="left",Ft=[Rt,Mt,Tt,Xt],zt=Ft.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),_t=[].concat(Ft,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),Nt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Bt(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var Vt={placement:"bottom",modifiers:[],strategy:"absolute"};function Wt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Ut(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?Vt:r;return function(t,e,n){void 0===n&&(n=o);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],u=!1,l={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,r),s.scrollParents={reference:pt(t)?At(t):t.contextElement?At(t.contextElement):[],popper:At(e)};var a=function(t){var e=Bt(t);return Nt.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,s.options.modifiers)));return s.orderedModifiers=a.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:s,name:e,instance:l,options:i});c.push(o||function(){})}})),l.update()},forceUpdate:function(){if(!u){var t=s.elements,e=t.reference,n=t.popper;if(Wt(e,n)){s.rects={reference:Ct(e,Dt(n),"fixed"===s.options.strategy),popper:jt(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var r=s.orderedModifiers[i],o=r.fn,a=r.options,c=void 0===a?{}:a,f=r.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:l})||s)}else s.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){l.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(r())}))}))),a}),destroy:function(){f(),u=!0}};if(!Wt(t,e))return l;function f(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var Ht={passive:!0};function qt(t){return t.split("-")[0]}function Zt(t){return t.split("-")[1]}function Gt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Jt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?qt(r):null,a=r?Zt(r):null,s=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(o){case Rt:e={x:s,y:n.y-i.height};break;case Mt:e={x:s,y:n.y+n.height};break;case Tt:e={x:n.x+n.width,y:c};break;case Xt:e={x:n.x-i.width,y:c};break;default:e={x:n.x,y:n.y}}var u=o?Gt(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case"start":e[u]=e[u]-(n[l]/2-i[l]/2);break;case"end":e[u]=e[u]+(n[l]/2-i[l]/2)}}return e}var $t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kt(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,u=t.adaptive,l=t.roundOffsets,f=t.isFixed,d=a.x,h=void 0===d?0:d,p=a.y,m=void 0===p?0:p,v="function"==typeof l?l({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Xt,w=Rt,x=window;if(u){var I=Dt(n),O="clientHeight",k="clientWidth";if(I===ht(n)&&"static"!==Et(I=Ot(n)).position&&"absolute"===s&&(O="scrollHeight",k="scrollWidth"),I=I,r===Rt||(r===Xt||r===Tt)&&"end"===o)w=Mt,m-=(f&&x.visualVie
11wport?x.visualViewport.height:I[O])-i.height,m*=c?1:-1;if(r===Xt||(r===Rt||r===Mt)&&"end"===o)b=Tt,h-=(f&&x.visualViewport?x.visualViewport.width:I[k])-i.width,h*=c?1:-1}var E,S=Object.assign({position:s},u&&$t),C=!0===l?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:bt(e*i)/i||0,y:bt(n*i)/i||0}}({x:h,y:m}):{x:h,y:m};return h=C.x,m=C.y,c?Object.assign({},S,((E={})[w]=y?"0":"",E[b]=g?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E)):Object.assign({},S,((e={})[w]=y?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}var Qt={left:"right",right:"left",bottom:"top",top:"bottom"};function te(t){return t.replace(/left|right|bottom|top/g,(function(t){return Qt[t]}))}var ee={start:"end",end:"start"};function ne(t){return t.replace(/start|end/g,(function(t){return ee[t]}))}function ie(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&vt(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function re(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function oe(t,e){return"viewport"===e?re(function(t){var e=ht(t),n=Ot(t),i=e.visualVie
vendor: 4,286 bytes, line 11
11wport,r=n.clientWidth,o=n.clientHeight,a=0,s=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:r,height:o,x:a+kt(t),y:s}}(t)):pt(e)?function(t){var e=wt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):re(function(t){var e,n=Ot(t),i=xt(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=gt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=gt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+kt(t),c=-i.scrollTop;return"rtl"===Et(r||n).direction&&(s+=gt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(Ot(t)))}function ae(t,e,n){var i="clippingParents"===e?function(t){var e=At(Lt(t)),n=["absolute","fixed"].indexOf(Et(t).position)>=0&&mt(t)?Dt(t):t;return pt(n)?e.filter((function(t){return pt(t)&&ie(t,n)&&"body"!==It(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],a=r.reduce((function(e,n){var i=oe(t,n);return e.top=gt(i.top,e.top),e.right=yt(i.right,e.right),e.bottom=yt(i.bottom,e.bottom),e.left=gt(i.left,e.left),e}),oe(t,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function se(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ce(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ue(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,c=void 0===s?"viewport":s,u=n.elementContext,l=void 0===u?"popper":u,f=n.altBoundary,d=void 0!==f&&f,h=n.padding,p=void 0===h?0:h,m=se("number"!=typeof p?p:ce(p,Ft)),v="popper"===l?"reference":"popper",g=t.rects.popper,y=t.elements[d?v:l],b=ae(pt(y)?y:y.contextElement||Ot(t.elements.popper),a,c),w=wt(t.elements.reference),x=Jt({reference:w,element:g,strategy:"absolute",placement:r}),I=re(Object.assign({},g,x)),O="popper"===l?I:w,k={top:b.top-O.top+m.top,bottom:O.bottom-b.bottom+m.bottom,left:b.left-O.left+m.left,right:O.right-b.right+m.right},E=t.modifiersData.offset;if("popper"===l&&E){var S=E[r];Object.keys(k).forEach((function(t){var e=[Tt,Mt].indexOf(t)>=0?1:-1,n=[Rt,Mt].indexOf(t)>=0?"y":"x";k[t]+=S[n]*e}))}return k}function le(t,e,n){return gt(t,yt(e,n))}function fe(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function de(t){return[Rt,Tt,Mt,Xt].some((function(e){return t[e]>=0}))}var he=Ut({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,c=ht(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",n.update,Ht)})),s&&c.addEventListener("resize",n.update,Ht),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",n.update,Ht)})),s&&c.removeEventListener("resize",n.update,Ht)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Jt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:qt(e.placement),variation:Zt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Kt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Kt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;
vendor: 4,536 bytes, line 11
11Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];mt(r)&&It(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});mt(i)&&It(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,a=_t.reduce((function(t,n){return t[n]=function(t,e,n){var i=qt(t),r=[Xt,Rt].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[Xt,Tt].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],c=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,v=e.options.placement,g=qt(v),y=c||(g===v||!p?[te(v)]:function(t){if("auto"===qt(t))return[];var e=te(t);return[ne(t),e,ne(e)]}(v)),b=[v].concat(y).reduce((function(t,n){return t.concat("auto"===qt(n)?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?_t:c,l=Zt(i),f=l?s?zt:zt.filter((function(t){return Zt(t)===l})):Ft,d=f.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=f);var h=d.reduce((function(e,n){return e[n]=ue(t,{placement:n,boundary:r,rootBoundary:o,padding:a})[qt(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),w=e.rects.reference,x=e.rects.popper,I=new Map,O=!0,k=b[0],E=0;E<b.length;E++){var S=b[E],C=qt(S),j="start"===Zt(S),L=[Rt,Mt].indexOf(C)>=0,A=L?"width":"height",P=ue(e,{placement:S,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),Y=L?j?Tt:Xt:j?Mt:Rt;w[A]>x[A]&&(Y=te(Y));var D=te(Y),R=[];if(o&&R.push(P[C]<=0),s&&R.push(P[Y]<=0,P[D]<=0),R.every((function(t){return t}))){k=S,O=!1;break}I.set(S,R)}if(O)for(var M=function(t){var e=b.find((function(e){var n=I.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},T=p?3:1;T>0;T--){if("break"===M(T))break}e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,p=n.tetherOffset,m=void 0===p?0:p,v=ue(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),g=qt(e.placement),y=Zt(e.placement),b=!y,w=Gt(g),x="x"===w?"y":"x",I=e.modifiersData.popperOffsets,O=e.rects.reference,k=e.rects.popper,E="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,S="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(I){if(o){var L,A="y"===w?Rt:Xt,P="y"===w?Mt:Tt,Y="y"===w?"height":"width",D=I[w],R=D+v[A],M=D-v[P],T=h?-k[Y]/2:0,X="start"===y?O[Y]:k[Y],F="start"===y?-k[Y]:-O[Y],z=e.elements.arrow,_=h&&z?jt(z):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=N[A],V=N[P],W=le(0,O[Y],_[Y]),U=b?O[Y]/2-T-W-B-S.mainAxis:X-W-B-S.mainAxis,H=b?-O[Y]/2+T+W+V+S.mainAxis:F+W+V+S.mainAxis,q=e.elements.arrow&&Dt(e.elements.arrow),Z=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,G=null!=(L=null==C?void 0:C[w])?L:0,J=D+
11H-G,$=le(h?yt(R,D+U-G-Z):R,D,h?gt(M,J):M);I[w]=$,j[w]=$-D}if(s){var K,Q="x"===w?Rt:Xt,tt="x"===w?Mt:Tt,et=I[x],nt="y"===x?"height":"width",it=et+v[Q],rt=et-v[tt],ot=-1!==[Rt,Xt].indexOf(g),at=null!=(K=null==C?void 0:C[x])?K:0,st=ot?it:et-O[nt]-k[nt]-at+S.altAxis,ct=ot?et+O[nt]+k[nt]-at-S.altAxis:rt,ut=h&&ot?function(t,e,n){var i=le(t,e,n);return i>n?n:i}(st,et,ct):le(h?st:it,et,h?ct:rt);I[x]=ut,j[x]=ut-et}e.modifiersData[i]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=qt(n.placement),c=Gt(s),u=[Xt,Tt].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(t,e){return se("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ce(t,Ft))}(r.padding,n),f=jt(o),d="y"===c?Rt:Xt,h="y"===c?Mt:Tt,p=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],v=Dt(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=p/2-m/2,b=l[d],w=g-f[u]-l[h],x=g/2-f[u]/2+y,I=le(b,x,w),O=c;n.modifiersData[i]=((e={})[O]=I,e.centerOffset=I-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&ie(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=ue(e,{elementContext:"reference"}),s=ue(e,{altBoundary:!0}),c=fe(a,i),u=fe(s,r,o),l=de(c),f=de(u);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),pe=function(t,e){e||(t.removeAttribute("data-show"),t.removeAttribute("data-cloudimage-360-show"))},me=n(56),ve=n.n(me),ge=function(t,e,n){var i=document.createElement("div"),r=document.createElement("div");return i.className="cloudimage-360-images-carousel",i.style.maxWidth="".concat(n.offsetWidth,"px"),r.className="cloudimage-360-carousel-dots",t.forEach((function(t,n){var o=function(t,e){var n=document.createElement("img");return n.className="cloudimage-360-carousel-image",n.setAttribute("src",t.src||""),n.setAttribute("alt",t.alt||"more-info"),e||(n.setAttribute("data-active-image",""),n.className+=" active-image"),n}(t,n),a=function(t,e,n){var i=document.createElement("button");return i.className="cloudimage-360-carousel-dot",i.onclick=function(){return function(t,e,n){var i=n.querySelector("[data-active-dot]"),r=n.querySelector("[data-active-image]");i.classList.remove("active-dot"),i.removeAttribute("data-active-dot"),r.classList.remove("active-image"),r.removeAttribute("data-active-image"),t.className+=" active-image",t.setAttribute("data-active-image",""),e.className+=" active-dot",e.setAttribute("data-active-dot","")}(t,i,n)},e||(i.className+=" active-dot",i.setAttribute("data-active-dot","")),i}(o,n,e);r.appendChild(a),i.appendChild(o)})),[i,r]},ye=function(t,e,n){var i=t.images,r=t.title,o=t.description,a=t.moreDetailsUrl,s=t.moreDetailsTitle,c=void 0===s?"Read more":s,u=document.createElement("div");if(u.className="cloudimage-360-modal-wrapper",i){var l=document.createElement("div"),f=ge(i,n,e),d=ve()(f,2),h=d[0],p=d[1];l.appendChild(h),i.length>1&&l.appendChild(p),u.appendChild(l),l.className="cloudimage-360-images-carousel-wrapper"}if(r){var m=function(t){var e=document.createElement("h4");return e.innerText=t,e.className="cloudimage-360-modal-title",e}(r);u.appendChild(m)}if(o){var v=function(t){var e=document.createElement("p");return e.innerText=t,e.className="cloudimage-360-modal-description",e}(o);u.appendChild(v)}if(a){var g=function(t,e){var n=document.createElement("a");return n.href=t,n.innerText=e,n.className="cloudimage-360-modal-more-details",n.target="_blank",n}(a,c);u.appendChild(g)}n.appendChild(u)},be=function(t,e,n){var i,r=e.variant,o=n.popupSelector,a=n.arrow,s=r.url,c=r.images,u=r.title,l=r.anchorId,f=r.description,d=r.moreDetailsUrl,h=document.createElement("div");
11if(h.className="cloudimage-360-hotspot-popup ".concat(o),h.setAttribute("data-hotspot-popup-id",l),h.setAttribute("data-cloudimage-360-hotspot",""),h.style.minHeight=16,h.style.minWidth=16,h.style.cursor="default",h.onclick=function(t){return t.stopPropagation()},"object"===H()(r)&&c||f||d||u&&!s)ye(r,t,h);else if(s){var p=function(t){var e=t.url,n=t.title,i=t.newTab,r=document.createElement("a");return r.href=e,r.innerText=n,i&&(r.target="_blank"),r}(r);h.appendChild(p)}else if("string"==typeof r)try{var m=(i=r,document.querySelector("[".concat("data-cloudimage-360-hotspots","=").concat(i,"]"))),v=m.cloneNode(!0);h.appendChild(v),m.parentNode.removeChild(m)}catch(t){console.error("Cloudimage-360: Element with anchorId '".concat(l,"' not exist in the DOM"))}if(a){var g=function(){var t=document.createElement("div");return t.setAttribute("data-popper-arrow",""),t.setAttribute("data-cloudimage-360-hotspot",""),t.className="cloudimage-360-popup-arrow",t}();h.appendChild(g)}return t.appendChild(h),h},we=function(t,e){e.forEach((function(e){var n=e.popupProps,i=be(t,e,n),r=function(t,e,n){var i=e.placement,r=e.offset,o=document.createElement("div"),a=he(o,t);return a.setOptions({placement:i,modifiers:[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{boundary:n}}]}),a}(i,n,t),o=function(t,e,n,i){var r,o=e.indicatorSelector,a=e.variant,s=a.url,c=a.anchorId,u=e.popupProps.open,l=void 0!==u&&u,f=document.createElement("div");f.style.position="absolute",f.className="cloudimage-360-hotspot-".concat(s?"link":"custom","-icon ").concat(o),f.setAttribute("data-hotspot-icon-id",c),f.setAttribute("data-cloudimage-360-hotspot","");f.onclick=function(t){return t.stopPropagation()};return["mouseenter","touchstart","focus"].forEach((function(t){f.addEventListener(t,(function(){return function(t,e){t.setAttribute("data-show",""),t.setAttribute("data-cloudimage-360-show",""),e.update()}(n,i)}))})),l||["mouseleave","blur"].forEach((function(t){f.addEventListener(t,(function(){return setTimeout((function(){return pe(n,r)}),160)}))})),n.addEventListener("mouseenter",(function(){r=!0})),n.addEventListener("mouseleave",(function(){r=!1,!l&&pe(n,r)})),lt(f),t.appendChild(f),f}
11(t,e,i,r);r.state.elements.reference=o,r.update()}))};function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(n),!0).forEach((function(e){r()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oe=function(t){return t.map((function(t){var e=t.variant,n=void 0===e?{}:e,i=t.positions,r=void 0===i?[]:i,o=t.indicatorSelector,a=void 0===o?"":o,s=t.popupProps,c=void 0===s?{}:s,u=t.orientation,l=void 0===u?"x":u,f=t.initialDimensions,d=void 0===f?[500,500]:f;!function(t){var e=t.variant,n=void 0===e?{}:e,i=n.url,r=n.title,o=n.anchorId,a=n.images,s=n.description,c=n.moreDetailsUrl;i&&!r&&console.error("Cloudimage-360: Hotspot config with variant link must have title for the link"),r||i||o||a||s||c||console.error("Cloudimage-360: Hotspot config with custom variant must provide anchorId")}(t);var h=function(t){var e=t.popupSelector,n=void 0===e?"":e,i=t.arrow,r=void 0===i||i,o=t.offset,a=void 0===o?[0,10]:o,s=t.placement,c=void 0===s?"auto":s,u=t.open;return{popupSelector:n,arrow:r,offset:a,placement:c,open:void 0!==u&&u}}(c),p=null==n?void 0:n.anchorId;if(!p){var m=Math.floor(1e4*Math.random());p="cloudimage-360-".concat(m)}return{variant:Ie(Ie({},n),{},{anchorId:p}),popupProps:h,positions:r,indicatorSelector:a,initialDimensions:d,orientation:l.toLowerCase()}}))},ke=function(){return!!document.querySelectorAll("[data-cloudimage-360-show]").length},Ee=function(t,e,n){e&&w(e.target,"data-cloudimage-360-hotspot")||t.forEach((function(t){var e=t.variant.anchorId;ct(e).style.pointerEvents=n?"none":"all"}))};function Se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach((function(e){r()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var je=function(){function t(e,n,i){a()(this,t),this.container=e,this.movementStart={x:0,y:0},this.isStartSpin=!1,this.movingDirection=v,this.isClicked=!1,this.loadedImagesX=0,this.loadedImagesY=0,this.imagesLoaded=!1,this.reversed=!1,this.fullscreenView=!!n,this.imagesX=[],this.imagesY=[],this.originalImagesX=[],this.originalImagesY=[],this.resizedImagesX=[],this.resizedImagesY=[],this.devicePixelRatio=Math.round(window.devicePixelRatio||1),this.isMobile=!(!("ontouchstart"in window)&&!navigator.msMaxTouchPoints),this.id=e.id,this.hotspotsConfigs=i&&Oe(i),this.isMagnifyOpen=!1,this.isDragged=!1,this.startPointerZoom=!1,this.zoomIntensity=0,this.mouseTracked=!1,this.intialPositions={x:0,y:0},this.pointerCurrentPosition={x:0,y:0},this.isStartedLoadOriginalImages=!1,this.init(e)}return c()(t,[{key:"isReady",value:function(){var t=this.imagesX.filter((function(t){return t})),e=this.imagesY.filter((function(t){return t})),n=this.amountX+this.amountY;return t.length+e.length===n}},{key:"mouseDown",value:function(t){if(this.imagesLoaded){var e=ke(),n=t.pageX,i=t.pageY;this.hideInitialIcons(),(this.autoplay||this.loopTimeoutId)&&(this.stop(),this.autoplay=!1,this.isZoomReady=!0),this.intialPositions={x:n,y:i},this.movementStart={x:n,y:i},this.isClicked=!0,this.isDragged=!1,this.hotspotsConfigs&&Ee(this.hotspotsConfigs,t,!0),e&&(this.isClicked=!1),this.hotspotsConfigs&&dt(this.container,this.hotspotsConfigs,this.activeImageX,this.activeImageY,this.movingDirection)}}},{key:"mouseUp",value:function(){var t=this;this.imagesLoaded&&this.isClicked&&(this.movementStart={x:0,y:0},this.isStartSpin=!1,this.isClicked=!1,this.bottomCircle&&!this.mouseTracked&&this.show360ViewCircleIcon(),this.hotspotsConfigs&&Ee(this.hotspotsConfigs),this.pointerZoom&&!this.fullscreenView?(setTimeout((function(){t.isZoomReady=!0}),50),this.mouseTracked?this.container.style.cursor="zoom-out":this.container.style.cursor="zoom-in"):this.container.style.cursor="grab")}},{key:"mouseClick",value:function(t){this.pointerZoom&&!this.fullscreenView&&(this.setCursorPosition(t),this.hideInitialIcons(),this.isStartedLoadOriginalImages||this.isDragged||!this.isZoomReady||this.prepareOriginalImages(t),this.isAllOriginalImagesLoaded&&!this.isDragged&&this.isZoomReady&&this.togglePointerZoom(t))}},{key:"mouseMove",value:function(t){if(this.imagesLoaded){var e=t.pageX,n=t.pageY;if(this.mouseTracked&&(this.setCursorPosition(t),this.isClicked||this.update()),this.isClicked){var i={x:e,y:n};this.container.style.cursor="grabbing",this.isDragged=!0,this.movingDirection=$(this.isStartSpin,this.allowSpinY,this.intialPositions,i,this.movingDirection),this.onMoveHandler(t)}}}},{key:"mouseLeave",value:function(){this.imagesLoaded&&(this.pointerZoom&&this.mouseTracked&&this.togglePointerZoom(),this.isMagnifyOpen&&this.closeMagnifier())}},{key:"togglePointerZoom",value:function(){var t,e=this;if((this.autoplay||this.loopTimeoutId)&&(this.stop(),this.autoplay=!1),this.mouseTracked){var n=(t=this.pointerZoom,Array.from(Array(20)).reduce((function(e,n,i){var r=+((i-1<0?t:e[i-1])-(t-1)/20).toFixed(2);return(e||[]).push(r),e}),[]));
11this.container.style.cursor="zoom-in",n.forEach((function(t,i){setTimeout((function(){e.zoomIntensity=t,e.update(),i===n.length-1&&(e.mouseTracked=!1,e.update())}),200*(e.pointerZoom-t))}))}else{this.bottomCircle&&this.hide360ViewCircleIcon();var i=function(t){return Array.from(Array(20)).reduce((function(e,n,i){var r=+((i-1<0?1:e[i-1])+(t-1)/20).toFixed(2);return(e||[]).push(r),e}),[])}(this.pointerZoom);this.hotspotsConfigs&&(document.querySelectorAll("[data-hotspot-icon-id]")||[]).forEach((function(t){lt(t)})),i.forEach((function(t){setTimeout((function(){e.zoomIntensity=t,e.update()}),200*t)})),this.mouseTracked=!0,this.container.style.cursor="zoom-out"}}},{key:"onOriginalImageLoad",value:function(t,e,n,i){t===m?this.originalImagesY[i]=n:this.originalImagesX[i]=n;var r=this.originalImagesX.filter((function(t){return t})),o=this.originalImagesY.filter((function(t){return t})),a=this.amountX+this.amountY,s=r.length+o.length,c=r.length+o.length===this.amountX+this.amountY,u=Math.round(s/a*100);this.updatePercentageInLoader(u),c&&(this.removeLoader(),this.togglePointerZoom(e),this.mouseTracked=!0,this.isAllOriginalImagesLoaded=!0)}},{key:"prepareOriginalImages",value:function(t){var e=E(this.srcXConfig);if(this.isStartedLoadOriginalImages=!0,this.loader=it(this.innerBox),this.container.style.cursor="wait",_(this.srcXConfig,e,this.onOriginalImageLoad.bind(this,p,t)),this.allowSpinY){var n=E(this.srcYConfig);_(this.srcYConfig,n,this.onOriginalImageLoad.bind(this,m,t))}}},{key:"touchStart",value:function(t){if(this.imagesLoaded){var e=ke();this.hideInitialIcons(),(this.autoplay||this.loopTimeoutId)&&(this.stop(),this.autoplay=!1),this.intialPositions={x:t.touches[0].clientX,y:t.touches[0].clientY},this.movementStart={x:t.touches[0].clientX,y:t.touches[0].clientY},this.isClicked=!0,e&&(this.isClicked=!1)}}},{key:"touchEnd",value:function(){this.imagesLoaded&&(this.bottomCircle&&this.show360ViewCircleIcon(),this.movementStart={x:0,y:0},this.isStartSpin=!1,this.isClicked=!1)}},{key:"touchMove",value:function(t){if(this.isClicked&&this.imagesLoaded){t.cancelable&&t.preventDefault();var e={x:t.touches[0].clientX,y:t.touches[0].clientY};this.movingDirection=$(this.isStartSpin,this.allowSpinY,this.intialPositions,e,this.movingDirection),this.onMoveHandler(t)}}},{key:"keyDownGeneral",value:function(t){this.imagesLoaded&&(this.glass&&this.closeMagnifier(),27===t.keyCode&&this.mouseTracked&&this.togglePointerZoom())}},{key:"hideInitialIcons",value:function(){this.glass&&this.closeMagnifier(),this.view360Icon&&this.remove360ViewIcon()}},{key:"setCursorPosition",value:function(t){this.mousePositions={x:t.clientX,y:t.clientY}}},{key:"getCursorPositionInCanvas",value:function(){var t=this.canvas.getBoundingClientRect();return this.pointerCurrentPosition={x:this.mousePositions.x-t.left,y:this.mousePositions.y-t.top},this.pointerCurrentPosition}},{key:"keyDown",value:function(t){this.imagesLoaded&&(this.glass&&this.closeMagnifier(),37===t.keyCode&&(this.keysReverse?this.left():this.right(),this.onSpin()),39===t.keyCode&&(this.keysReverse?this.right():this.left(),this.onSpin()),this.allowSpinY&&(t.preventDefault(),38===t.keyCode&&(this.keysReverse?this.top():this.bottom(),this.onSpin()),40===t.keyCode&&(this.keysReverse?this.bottom():this.top(),this.onSpin())))}},{key:"onSpin",value:function(){this.bottomCircle&&this.hide360ViewCircleIcon(),this.view360Icon&&this.remove360ViewIcon(),(this.autoplay||this.loopTimeoutId)&&(this.stop(),this.autoplay=!1)}},{key:"keyUp",value:function(t){this.imagesLoaded&&-1!==[37,39].indexOf(t.keyCode)&&this.onFinishSpin()}},{key:"onFinishSpin",value:function(){this.bottomCircle&&this.show360ViewCircleIcon()}},{key:"moveActiveIndexUp",value:function(t){var e=this.controlReverse?!this.spinReverse:this.spinReverse;this.stopAtEdges?this.activeImageX+t>=this.amountX?(this.activeImageX=this.amountX,(e?this.leftElem:this.rightElem)&&G(e?this.leftElem:this.rightElem,"not-active")):(this.activeImageX+=t,this.rightElem&&J(this.rightElem,"not-active"),this.leftElem&&J(this.leftElem,"not-active")):(this.activeImageX=(this.activeImageX+t)%this.amountX||this.amountX,this.activeImageX===this.amountX&&this.allowSpinY&&(this.spinY=!0))}},{key:"moveActiveIndexDown",value:function(t){var e=this.controlReverse?!this.spinReverse:this.spinReverse;this.stopAtEdges?this.activeImageX-t<=1?(this.activeImageX=1,(e?this.rightElem:this.leftElem)&&G(e?this.rightElem:this.leftElem,"not-active")):(this.activeImageX-=t,this.leftElem&&J(this.leftElem,"not-active"),this.rightElem&&J(this.rightElem,"not-active")):this.activeImageX-t<1?(this.activeImageX=this.amountX+(this.activeImageX-t),this.spinY=!0):this.activeImageX-=t}},{key:"moveActiveYIndexUp",value:function(t){var e=this.controlReverse?!this.spinReverse:this.spinReverse;this.stopAtEdges?this.activeImageY+t>=this.amountY?(this.activeImageY=this.amountY,(e?this.bottomElem:this.topElem)&&G(e?this.bottomElem:this.topElem,"not-active")):(this.activeImageY+=t,this.topElem&&J(this.topElem,"not-active"),this.bottomElem&&J(this.bottomElem,"not-active")):(this.activeImageY=(this.activeImageY+t)%this.amountY||this.amountY,this.activeImageY===this.amountY&&(this.spinY=!1))}},{key:"moveActiveYIndexDown",value:function(t){var e=this.controlReverse?!this.spinReverse:this.spinReverse;this.stopAtEdges?this.activeImageY-t<=1?(this.activeImageY=1,(e?this.topElem:this.bottomElem)&&G(e?this.topElem:this.bottomElem,"not-active")):(this.activeImageY-=t,this.bottomElem&&J(this.bottomElem,"not-active"),this.topElem&&J(this.topElem,"not-active")):this.activeImageY-t<1?(this.activeImageY=this.amountY+(this.activeImageY-t),this.spinY=!1):this.activeImageY-=t}},{key:"moveRight",value:function(t){var e=K(t,this.movementStart.x,this.speedFactor);this.spinReverse?this.moveActiveIndexDown(e):this.moveActiveIndexUp(e),this.movementStart.x=t,this.activeImageY=1,this.update()}},{key:"moveLeft",value:function(t){var e=K(this.movementStart.x,t,this.speedFactor);this.spinReverse?this.moveActiveIndexUp(e):this.moveActiveIndexDown(e),this.activeImageY=1,this.movementStart.x=t,this.update()}},{key:"moveTop",value:function(t){var e=K(this.movementStart.y,t,this.speedFactor);this.spinReverse?this.moveActiveYIndexUp(e):this.moveActiveYIndexDown(e),this.activeImageX=1,this.movementStart.y=t,this.update()}},{key:"moveBottom",value:function(t){var e=K(t,this.movementStart.y,this.speedFactor);this.spinReverse?this.moveActiveYIndexDown(e):this.moveActiveYIndexUp(e),this.activeImageX=1,this.movementStart.y=t,this.update()}},{key:"onMoveHandler",value:function(t){var e=this.isMobile?t.touches[0].clientX:t.pageX,n=this.isMobile?t.touches[0].clientY:t.pageY,i=e-this.movementStart.x>=this.speedFactor,r=this.movementStart.x-e>=this.speedFactor,o=this.movementStart.y-n>=this.speedFactor,a=n-this.movementStart.y>=this.speedFactor;this.bottomCircle&&this.hide360ViewCircleIcon(),i&&this.movingDirection===p?(this.moveRight(e),this.isStartSpin=!0):r&&this.movingDirection===p?(this.moveLeft(e),this.isStartSpin=!0):o&&this.movingDirection===m?(this.moveTop(n),this.isStartSpin=!0):a&&this.movingDirection===m&&(this.moveBottom(n),this.isStartSpin=!0)}},{key:"left",value:function(){this.movingDirection=p,this.activeImageY=this.reversed?this.amountY:1,this.moveActiveIndexDown(1),this.update()}},{key:"right",value:function(){this.movingDirection=p,this.activeImageY=this.reversed?this.amountY:1,this.moveActiveIndexUp(1),this.update()}},{key:"top",value:function(){this.movingDirection=m,this.activeImageX=this.reversed?this.amountX:1,this.moveActiveYIndexUp(1),this.update()}},{key:"bottom",value:function(){this.movingDirection=m,this.activeImageX=this.reversed?this.amountX:1,this.moveActiveYIndexDown(1),this.update()}},{key:"loop",value:function(t){var e={left:this.left.bind(this),right:this.right.bind(this),top:this.top.bind(this),bottom:this.bottom.bind(this)};!function(t,e,n,i){var r=i.bottom,o=i.top,a=i.left,s=i.right;switch(t){case l:n?r():o();break;case f:case d:e?n?r():o():n?a():s();break;case u:default:n?a():s()}}(this.autoplayBehavior,this.spinY,t,e)}},{key:"updateContainerAndCanvasSize",value:function(t){var e=function(t,e){try{var n=t.
11width/t.height;if("number"==typeof e&&(n=e),e&&"object"===H()(e)){var i=Object.keys(e).sort((function(t,e){return t-e})).find((function(t){return window.innerWidth<=parseInt(t,10)}));i&&(n=e[i])}return n}catch(t){return 1}}(t,this.ratio);if(this.fullscreenView)return this.container.width=window.innerWidth*this.devicePixelRatio,this.container.style.width=window.innerWidth+"px",this.container.height=window.innerHeight*this.devicePixelRatio,this.container.style.height=window.innerHeight+"px",this.container.style.maxWidth="unset",this.canvas.width=window.innerWidth*this.devicePixelRatio,this.canvas.style.width=window.innerWidth+"px",this.canvas.height=window.innerHeight*this.devicePixelRatio,void(this.canvas.style.height=window.innerHeight+"px");this.canvas.width=this.container.offsetWidth*this.devicePixelRatio,this.canvas.style.width=this.container.offsetWidth+"px",this.canvas.height=this.container.offsetWidth/e*this.devicePixelRatio,this.canvas.style.height=this.container.offsetWidth/e+"px"}},{key:"onResizedImageLoad",value:function(t,e,n){t===m?this.resizedImagesY[n]=e:this.resizedImagesX[n]=e;var i=this.resizedImagesX.filter((function(t){return t})),r=this.resizedImagesY.filter((function(t){return t}));i.length+r.length===this.amountX+this.amountY&&(this.imagesX=this.resizedImagesX,this.imagesY=this.resizedImagesY,this.update())}},{key:"showImageInfo",value:function(t){t.font="".concat(this.fullscreenView?28:14,"px serif"),t.fillStyle="white"===this.info?"#FFF":"#000";var e="image-dimension: ".concat(this.container.offsetWidth,"x").concat(this.container.offsetHeight,"px"),n=["active-index-x: "+this.activeImageX,"active-index-y: "+this.activeImageY].join(" | ");t.fillText(e,20,this.container.offsetHeight-35),t.fillText(n,20,this.container.offsetHeight-10)}},{key:"requestResizedImages",value:function(){if(this.isReady()){var t=this.ciParams.ciToken,e=this.imagesX[0];if(this.update(),t&&!(this.container.offsetWidth<1.5*e.width)){this.speedFactor=Z(this.dragSpeed,this.amountX,this.container.offsetWidth);var n=E(this.srcXConfig);if(F(this.srcXConfig,n,this.onResizedImageLoad.bind(this,p)),this.allowSpinY){var i=E(this.srcYConfig);F(this.srcYConfig,i,this.onResizedImageLoad.bind(this,m))}}}}},{key:"update",value:function(){var t=this.imagesX[this.activeImageX-1];if(this.movingDirection===m&&(t=this.imagesY[this.activeImageY-1]),t){var e=this.canvas.getContext("2d");if(e.scale(this.devicePixelRatio,this.devicePixelRatio),this.updateContainerAndCanvasSize(t),this.fullscreenView){var n=W(this.canvas.width,this.canvas.height,t.width,t.height),i=n.width,r=n.height,o=n.offsetX,a=n.offsetY;e.drawImage(t,o,a,i,r)}else this.mouseTracked?this.updateImageScale(e):(this.hotspotsConfigs&&!this.autoplay&&dt(this.container,this.hotspotsConfigs,this.activeImageX,this.activeImageY,this.movingDirection,this.isClicked),e.drawImage(t,0,0,this.canvas.width,this.canvas.height));this.info&&this.showImageInfo(e)}}},{key:"updateImageScale",value:function(t){var e=this.originalImagesX[this.activeImageX-1];this.movingDirection===m&&(e=this.originalImagesY[this.activeImageY-1]);var n=this.getCursorPositionInCanvas(),i=this.canvas.width,r=this.canvas.height,o=this.canvas.width*this.zoomIntensity,a=this.canvas.height*this.zoomIntensity,s=0-n.x/i*(o-this.canvas.width),c=0-n.y/r*(a-this.canvas.height);t.drawImage(e,s,c,o,a)}},{key:"updatePercentageInLoader",value:function(t){this.loader&&(this.loader.style.width=t+"%"),this.view360Icon&&(this.view360Icon.innerText=t+"%")}},{key:"onFirstImageLoaded",value:function(t){this.add360ViewIcon();var e=this.canvas.getContext("2d");if(e.scale(this.devicePixelRatio,this.devicePixelRatio),this.updateContainerAndCanvasSize(t),this.fullscreenView){var n=W(this.canvas.width,this.canvas.height,t.width,t.height),i=n.offsetX,r=n.offsetY,o=n.width,a=n.height;this.offset={x:i,y:r},this.addCloseFullscreenView(),e.drawImage(t,i,r,o,a)}else e.drawImage(t,0,0,this.canvas.width,this.canvas.height);this.info&&this.showImageInfo(e),this.magnifier&&this.addMagnifier(),this.boxShadow&&!this.fullscreenView&&(this.boxShadowEl=nt(this.boxShadow,this.innerBox)),this.bottomCircle&&!this.fullscreenView&&this.add360ViewCircleIcon(),this.fullscreen&&!this.fullscreenView&&this.addFullscreenIcon()}},{key:"onAllImagesLoaded",value:function(){if(this.removeLoader(),this.imagesLoaded=!0,this.autoplay&&this.pointerZoom?this.container.style.cursor="zoom-in":this.container.style.cursor="grab",this.speedFactor=Z(this.dragSpeed,this.amountX,this.container.offsetWidth),this.autoplay&&this.play(),this.disableDrag&&(this.container.style.cursor="default"),this.view360Icon){if(this.hide360Logo)return this.remove360ViewIcon();this.view360Icon.innerText="",this.logoSrc&&I(this.view360Icon,this.logoSrc)}this.initControls()}},{key:"magnify",value:function(t){var e=this;t.stopPropagation(),this.mouseTracked&&this.togglePointerZoom();var n,i,r,o,a,s,c,u,l=(n=this.movingDirection,i=this.imagesX,r=this.imagesY,o=this.activeImageX,a=this.activeImageY,s=new Image,c=i.map((function(t){return t.src.replace(g,"").replace(y,"?")})),u=r.map((function(t){return t.src.replace(g,"").replace(y,"?")})),s.src=c[o-1],n===m&&(s.src=u[a-1]),s);this.isMagnifyOpen=!0,l.onload=function(){e.glass&&(e.glass.style.cursor="none")},this.glass=document.createElement("div"),this.container.style.overflow="hidden",function(t,e,n,i,r){var o=e||{},a=o.x,s=void 0===a?0:a,c=o.y,u=void 0===c?0:c,l=(t.offsetWidth-2*s)*r,f=(t.offsetHeight-2*u)*r;i.setAttribute("class","cloudimage-360-img-magnifier-glass"),t.prepend(i),i.style.backgroundImage="url('".concat(n.src,"')"),i.style.backgroundSize="".concat(l,"px ").concat(f,"px");var d={container:t,w:i.offsetWidth/2,h:i.offsetHeight/2,zoom:r,bw:3,offsetX:s,offsetY:u},h=function(t){q(t,d,i)},p=function(t){q(t,d,i)};i.addEventListener("mousemove",h),t.addEventListener("mousemove",h),i.addEventListener("touchmove",p,{passive:!0}),t.addEventListener("touchmove",p,{passive:!0})}(this.container,this.offset,l,this.glass,this.magnifier||3)}},{key:"closeMagnifier",value:function(){this.glass&&(this.container.style.overflow="visible",this.container.removeChild(this.glass),this.glass=null,this.isMagnifyOpen=!1)}},{key:"openFullscreenModal",value:function(e){e.stopPropagation(),this.mouseTracked&&this.togglePointerZoom(),new t(function(t){var e=document.createElement("div");
11e.className="cloudimage-360-fullscreen-modal";var n=t.cloneNode();return n.style.height="100%",n.style.maxHeight="100%",e.appendChild(n),window.document.body.style.overflow="hidden",window.document.body.appendChild(e),n}(this.container),!0,this.hotspotsConfigs)}},{key:"setFullscreenEvents",value:function(t,e){if("click"===e.type)return this.closeFullscreenModal(e);"Escape"===e.key&&this.container.parentNode.parentNode===document.body&&this.closeFullscreenModalOnEsc(e)}},{key:"closeFullscreenModalOnEsc",value:function(t){this.closeFullscreenModal(t)}},{key:"play",value:function(){var t=this;this.bottomCircle&&this.hide360ViewCircleIcon(),this.remove360ViewIcon(),this.loopTimeoutId=window.setInterval((function(){t.loop(t.reversed);var e=function(t,e,n,i,r,o){switch(t){case f:case l:return!!(o?1===n:n===r);case u:case d:default:return!!(o?1===e:e===i)}}(t.autoplayBehavior,t.activeImageX,t.activeImageY,t.amountX,t.amountY,t.reversed);t.playOnce&&e&&(window.clearTimeout(t.loopTimeoutId),t.autoplay=!1,t.hotspotsConfigs&&dt(t.container,t.hotspotsConfigs,t.activeImageX,t.activeImageY,t.movingDirection,t.isClicked))}),this.autoplaySpeed)}},{key:"stop",value:function(){this.bottomCircle&&this.show360ViewCircleIcon(),window.clearTimeout(this.loopTimeoutId)}},{key:"updateView",value:function(e,n){var i,r,o=this,a=this.container,s=b(a);if((i=this,r=s,Object.keys(r).reduce((function(t,e){var n=i[e]!==r[e];return-1!==O.indexOf(e)&&n&&(t=!0),t}),!1))||e){var c=this.container,u=n.findIndex((function(t){return t.id===o.container.id}));return a.removeChild(this.innerBox),(a=a.cloneNode(!0)).className=a.className.replace(" initialized",""),c.parentNode.replaceChild(a,c),n.splice(u,1,new t(a))}a.style.position="relative",a.style.width="100%",a.style.cursor="default",a.setAttribute("draggable","false"),this.stop(),this.init(a,!0)}},{key:"destroy",value:function(){stop();var t=this.container,e=t.cloneNode(!0),n=e.querySelector(".cloudimage-360-inner-box");e.className=e.className.replace(" initialized",""),e.style.position="relative",e.style.width="100%",e.style.cursor="default",e.setAttribute("draggable","false"),e.style.minHeight="auto",e.removeChild(n),t.parentNode.replaceChild(e,t)}},{key:"addCloseFullscreenView",value:function(t){var e=function(){var t=document.createElement("div");return t.className="cloudimage-360-close-fullscreen-icon",t}();e.onclick=this.setFullscreenEvents.bind(this,t),window.onkeyup=this.setFullscreenEvents.bind(this,t),this.iconsContainer.appendChild(e)}},{key:"add360ViewIcon",value:function(){var t;this.view360Icon=((t=document.createElement("div")).className="cloudimage-360-view-360-icon",t.innerText="0%",t),this.innerBox.appendChild(this.view360Icon)}},{key:"addFullscreenIcon",value:function(){var t;this.fullscreenIcon=((t=document.createElement("div")).className="cloudimage-360-fullscreen-icon",t),this.fullscreenIcon.onclick=this.openFullscreenModal.bind(this),this.iconsContainer.appendChild(this.fullscreenIcon)}},{key:"showFullscreenIcon",value:function(){this.fullscreenIcon&&(this.fullscreenIcon.style.display="block",this.fullscreenIcon.style.pointerEvents="auto")}},{key:"hideFullscreenIcon",value:function(){this.fullscreenIcon&&(this.fullscreenIcon.style.display="none",this.fullscreenIcon.style.pointerEvents="none")}},{key:"addMagnifier",value:function(){var t;this.magnifierIcon=((t=document.createElement("div")).className="cloudimage-360-magnifier-icon",t),this.magnifierIcon.onclick=this.magnify.bind(this),this.iconsContainer.appendChild(this.magnifierIcon)}},{key:"enableMagnifierIcon",value:function(){this.magnifierIcon&&(this.magnifierIcon.style.display="block",this.magnifierIcon.style.pointerEvents="auto")}},{key:"disableMagnifierIcon",value:function(){this.magnifierIcon&&(this.magnifierIcon.style.display="none",this.magnifierIcon.style.pointerEvents="none")}},{key:"closeFullscreenModal",value:function(t){t.stopPropagation(),document.body.removeChild(this.container.parentNode),window.document.body.style.overflow="visible"}},{key:"add360ViewCircleIcon",value:function(){var t,e;this.view360CircleIcon=(t=this.bottomCircleOffset,(e=new Image).src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-360-view/assets/img/360.svg",e.style.bottom="".concat(t,"%"),e.className="
11cloudimage-360-view-360-circle",e),this.innerBox.appendChild(this.view360CircleIcon)}},{key:"show360ViewCircleIcon",value:function(){this.view360CircleIcon&&(this.view360CircleIcon.style.opacity="1")}},{key:"hide360ViewCircleIcon",value:function(){this.view360CircleIcon&&(this.view360CircleIcon.style.opacity="0")}},{key:"remove360ViewCircleIcon",value:function(){this.view360CircleIcon&&(this.innerBox.removeChild(this.view360CircleIcon),this.view360CircleIcon=null)}},{key:"removeLoader",value:function(){this.loader&&(this.innerBox.removeChild(this.loader),this.loader=null)}},{key:"remove360ViewIcon",value:function(){if(this.view360Icon)try{this.innerBox.removeChild(this.view360Icon),this.view360Icon=null}catch(t){}}},{key:"initControls",value:function(){var t=this,e=function(t,e){var n=t.container,i=t.controlReverse,r=t.spinReverse,o=t.stopAtEdges,a=e.onRightStart,s=e.onLeftStart,c=e.onTopStart,u=e.onBottomStart,l=e.onEventEnd,f={},d=i?!r:r,h=n.querySelectorAll(".cloudimage-360-left, .cloudimage-360-prev")[0],p=n.querySelectorAll(".cloudimage-360-right, .cloudimage-360-next")[0],m=n.querySelector(".cloudimage-360-top"),v=n.querySelector(".cloudimage-360-bottom");return h&&(h.style.display="block",h.addEventListener("mousedown",d?a:s),h.addEventListener("touchstart",d?a:s,{passive:!0}),h.addEventListener("mouseup",l),h.addEventListener("touchend",l),f.left=h),p&&(p.style.display="block",p.addEventListener("mousedown",d?s:a),p.addEventListener("touchstart",d?s:a,{passive:!0}),p.addEventListener("mouseup",l),p.addEventListener("touchend",l),f.right=p),m&&(m.style.display="block",m.addEventListener("mousedown",d?u:c),m.addEventListener("touchstart",d?u:c),m.addEventListener("mouseup",l),m.addEventListener("touchend",l),f.top=m),v&&(v.style.display="block",v.addEventListener("mousedown",d?c:u),v.addEventListener("touchstart",d?c:u),v.addEventListener("mouseup",l),v.addEventListener("touchend",l),f.bottom=v),(d?p:h)&&o&&(G(d?p:h,"not-active"),G(d?m:v,"not-active")),f}({container:this.container,controlReverse:this.controlReverse,spinReverse:this.spinReverse,stopAtEdges:this.stopAtEdges},{onLeftStart:function(e){e.stopPropagation(),t.onSpin(),t.left(),t.loopTimeoutId=window.setInterval(t.left.bind(t),t.autoplaySpeed)},onRightStart:function(e){e.stopPropagation(),t.onSpin(),t.right(),t.loopTimeoutId=window.setInterval(t.right.bind(t),t.autoplaySpeed)},onTopStart:function(e){e.stopPropagation(),t.onSpin(),t.top(),t.loopTimeoutId=window.setInterval(t.top.bind(t),t.autoplaySpeed)},onBottomStart:function(e){e.stopPropagation(),t.onSpin(),t.bottom(),t.loopTimeoutId=window.setInterval(t.bottom.bind(t),t.autoplaySpeed)},onEventEnd:function(){t.onFinishSpin(),window.clearTimeout(t.loopTimeoutId)}});this.topElem=e.top,this.bottomElem=e.bottom,this.leftElem=e.left,this.rightElem=e.right}},{key:"attachEvents",value:function(t,e,n){window.addEventListener("resize",this.requestResizedImages.bind(this)),t&&!this.disableDrag&&(this.container.addEventListener("click",this.mouseClick.bind(this)),this.container.addEventListener("mousedown",this.mouseDown.bind(this)),this.container.addEventListener("mousemove",this.mouseMove.bind(this)),this.container.addEventListener("mouseleave",this.mouseLeave.bind(this)),document.addEventListener("mouseup",this.mouseUp.bind(this))),e&&!this.disableDrag&&(this.container.addEventListener("touchstart",this.touchStart.bind(this),{passive:!0}),this.container.addEventListener("touchend",this.touchEnd.bind(this)),this.container.addEventListener("touchmove",this.touchMove.bind(this))),n&&(document.addEventListener("keydown",this.keyDown.bind(this)),document.addEventListener("keyup",this.keyUp.bind(this))),document.addEventListener("keydown",this.keyDownGeneral.bind(this))}},{key:"init",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=b(t),r=i.folder,o=i.apiVersion,a=i.filenameX,s=i.filenameY,c=i.imageListX,u=i.imageListY,l=i.indexZeroBase,f=i.amountX,h=i.amountY,v=i.draggable,g=void 0===v||v,y=i.swipeable,w=void 0===y||y,x=i.keys,O=i.keysReverse,k=i.bottomCircle,S=i.bottomCircleOffset,C=i.boxShadow,j=i.autoplay,L=i.autoplayBehavior,A=i.playOnce,P=i.speed,Y=i.autoplayReverse,D=i.disableDrag,R=void 0===D||D,M=i.fullscreen,T=i.magnifier,X=i.ciToken,z=i.ciFilters,_=i.ciTransformation,N=i.lazyload,B=i.lazySelector,W=i.spinReverse,U=i.dragSpeed,H=i.stopAtEdges,q=i.controlReverse,Z=i.hide360Logo,G=i.logoSrc,J=i.pointerZoom,$=i.ratio,K=i.imageInfo,at=void 0===K?"black":K,st={ciToken:X,ciFilters:z,ciTransformation:_};if(this.folder=r,this.apiVersion=o,this.filenameX=a,this.filenameY=s,this.imageListX=c,this.imageListY=u,this.indexZeroBase=l,this.amountX=c?JSON.parse(c).length:f,this.amountY=u?JSON.parse(u).length:h,this.allowSpinY=!!this.amountY,this.activeImageX=Y?this.amountX:1,this.activeImageY=Y?this.amountY:1,this.spinY=L===d,this.bottomCircle=k,this.bottomCircleOffset=S,this.boxShadow=C,this.autoplay=j,this.autoplayBehavior=L,this.playOnce=A,this.speed=P,this.reversed=Y,this.disableDrag=R,this.fullscreen=M,this.magnifier=!this.isMobile&&T>1?Math.min(T,5):0,this.lazySelector=B,this.spinReverse=W,this.controlReverse=q,this.dragSpeed=Math.max(U,50),this.autoplaySpeed=36*this.speed/this.amountX,this.stopAtEdges=H,this.hide360Logo=Z,this.logoSrc=G,this.ciParams=st,this.apiVersion=o,this.pointerZoom=J>1?Math.min(J,3):0,this.keysReverse=O,this.info=at,this.keys=x,this.ratio=$&&JSON.parse($),n)return ot(this.innerBox,this.iconsContainer),ot(this.innerBox,this.boxShadowEl),ot(this.innerBox,this.view360Icon),this.remove360ViewCircleIcon(),this.iconsContainer=tt(this.innerBox),this.hide360Logo||this.lazyload||!this.logoSrc||(this.add360ViewIcon(),I(this.view360Icon,this.logoSrc)),this.magnifier&&this.addMagnifier(),this.bottomCircle&&!this.fullscreenView&&this.add360ViewCircleIcon(),this.fullscreen&&!this.fullscreenView&&this.addFullscreenIcon(),this.boxShadow&&!this.fullscreenView&&(this.boxShadowEl=nt(this.boxShadow,this.innerBox)),this.onAllImagesLoaded();this.innerBox=et(this.container),this.iconsContainer=tt(this.innerBox),this.canvas=Q(this.innerBox),this.loader=it(this.innerBox),this.hotspotsConfigs&&
11!this.fullscreenView&&we(t,this.hotspotsConfigs),rt(this.container),this.srcXConfig={folder:r,filename:a,imageList:c,container:t,innerBox:this.innerBox,apiVersion:o,ciParams:st,lazySelector:B,amount:this.amountX,indexZeroBase:l,fullscreen:this.fullscreenView},this.srcYConfig=Ce(Ce({},this.srcXConfig),{},{filename:s,orientation:m,imageList:u,amount:this.amountY});var ct=E(this.srcXConfig),ut=function(t,n,i){t!==m?e.imagesX[i]=n:e.imagesY[i]=n;var r=e.imagesX.filter((function(t){return t})),o=e.imagesY.filter((function(t){return t})),a=e.amountX+e.amountY,s=r.length+o.length,c=!i&&t!==m,u=Math.round(s/a*100);e.updatePercentageInLoader(u),c&&e.onFirstImageLoaded(n),e.isReady()&&e.onAllImagesLoaded()},lt=function(){if(F(e.srcXConfig,ct,ut.bind(e,p)),e.allowSpinY){var t=E(e.srcYConfig);F(e.srcYConfig,t,ut.bind(e,m))}};if(N){var ft=function(t){e.innerBox.removeChild(t),lt()};V(ct,this.srcXConfig,ft)}else lt();this.attachEvents(g,w,x)}}]),t}();function Le(){var t=[],e=document.querySelectorAll(".cloudimage-360:not(.initialized)");[].slice.call(e).forEach((function(e){var n=function(t){if(!t.id){var e=Math.floor(1e4*Math.random()),n="cloudimage-360-view-".concat(e);t.id=n}return t}(e);w(n,"hotspots")||t.push(new je(n))})),window.CI360._viewers=t}function Ae(){return!(window.CI360._viewers&&window.CI360._viewers.length>0)}window.CI360=window.CI360||{},window.CI360.init=Le,window.CI360.destroy=function(){Ae()||(window.CI360._viewers.forEach((function(t){t.destroy()})),window.CI360._viewers=[])},window.CI360.getActiveIndexByID=function(t,e){if(!Ae()){var n=window.CI360._viewers.filter((function(e){return e.id===t}))[0];return"y"===e?n&&n.activeImageY-1:n&&n.activeImageX-1}},window.CI360.update=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){var n=window.CI360._viewers.filter((function(e){return e.id===t}))[0];n.updateView(e,window.CI360._viewers)}else window.CI360._viewers.forEach((function(t){t.updateView(e,window.CI360._viewers)}))},window.CI360.add=function(t){var e=Array.from(document.querySelectorAll(".cloudimage-360:not(.initialized)"));if(e.length&&t){var n=e.filter((function(e){return e.id===t}))[0];n&&window.CI360._viewers.push(new je(n))}},window.CI360.addHotspots=function(t,e){var n=document.querySelectorAll(".cloudimage-360:not(.initialized)"),i=Array.from(n).find((function(e){return e.id===t}));i&&window.CI360._viewers.push(new je(i,!1,e))},window.CI360.notInitOnLoad||Le()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.