try { (function() { 
var requirejs,require,define;
(function(){function J(d){return ia.call(d)==="[object Function]"}function X(d){return ia.call(d)==="[object Array]"}function Y(d,f,l){for(var j in f)if(!(j in F)&&(!(j in d)||l))d[j]=f[j];return h}function K(d,f,l){d=new Error(f+"\nhttp://requirejs.org/docs/errors.html#"+d);if(l)d.originalError=l;return d}function ja(d,f,l){var j,q,o;for(j=0;o=f[j];j++){o=typeof o==="string"?{name:o}:o;q=o.location;if(l&&(!q||q.indexOf("/")!==0&&q.indexOf(":")===-1))q=l+"/"+(q||o.name);d[o.name]={name:o.name,location:q||
o.name,main:(o.main||"main").replace(ua,"").replace(ka,"")}}}function Z(d,f){if(d.holdReady)d.holdReady(f);else if(f)d.readyWait+=1;else d.ready(true)}function va(d){function f(a){var b,c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&&(a[2]===".."||a[0]===".."))break;else if(b>0){a.splice(b-1,2);b-=2}}function l(a,b){var c;if(a.charAt(0)===".")if(b){if(r.pkgs[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=r.pkgs[b=a[0]];a=a.join("/");
if(c&&a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,e=null,g=b?b.name:null,k=a,n,m;if(c!==-1){e=a.substring(0,c);a=a.substring(c+1,a.length)}if(e)e=l(e,g);if(a){if(e)n=(c=p[e])?c.normalize?c.normalize(a,function(u){return l(u,g)}):l(a,g):"__$p"+g+"@"+a;else n=l(a,g);m=$[n];if(!m){m=h.toModuleUrl?h.toModuleUrl(i,n,b):i.nameToUrl(n,null,b);$[n]=m}}return{prefix:e,name:n,parentMap:b,url:m,originalName:k,fullName:e?e+"!"+n:n}}function q(){var a=true,b=r.priorityWait,c,e;if(b){for(e=
0;c=b[e];e++)if(!v[c]){a=false;break}a&&delete r.priorityWait}return a}function o(a){return function(b){a.exports=b}}function L(a,b,c){return function(){var e=[].concat(wa.call(arguments,0)),g;if(c&&J(g=e[e.length-1]))g.__requireJsBuild=true;e.push(b);return a.apply(null,e)}}function la(a,b){b=L(i.require,a,b);Y(b,{nameToUrl:L(i.nameToUrl,a),toUrl:L(i.toUrl,a),defined:L(i.requireDefined,a),specified:L(i.requireSpecified,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}
function xa(a){var b,c,e,g,k,n,m,u=T[a];if(u)for(g=0;c=u[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;e=w[b]||[];k=w[c];if(c!==b){if(b in y){delete y[b];y[c]=true}w[c]=k?k.concat(e):e;delete w[b];for(k=0;k<e.length;k++){m=e[k].depArray;for(n=0;n<m.length;n++)if(m[n]===b)m[n]=c}}}delete T[a]}function ma(a){var b=a.prefix,c=a.fullName;if(!(y[c]||c in p)){if(b&&!G[b]){G[b]=undefined;(T[b]||(T[b]=[])).push(a);(w[b]||(w[b]=[])).push({onDep:function(e){e===b&&xa(b)}});ma(j(b))}i.paused.push(a)}}
function aa(a){var b,c,e;b=a.callback;var g=a.fullName,k=[],n=a.depArray;if(b&&J(b)){if(n)for(b=0;b<n.length;b++)k.push(a.deps[n[b]]);try{c=h.execCb(g,a.callback,k,p[g])}catch(m){e=m}if(g)if(a.cjsModule&&a.cjsModule.exports!==undefined)c=p[g]=a.cjsModule.exports;else if(c===undefined&&a.usingExports)c=p[g];else p[g]=c}else if(g)c=p[g]=b;if(B[a.waitId]){delete B[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ba=[]}if(e){e=K("defineerror",'Error evaluating module "'+g+'" at location "'+(g?
j(g).url:"")+'":\n'+e+"\nfileName:"+(e.fileName||e.sourceURL)+"\nlineNumber: "+(e.lineNumber||e.line),e);e.moduleName=g;return h.onError(e)}if(g)if(a=w[g]){for(b=0;b<a.length;b++)a[b].onDep(g,c);delete w[g]}}function na(a,b,c,e){a=j(a,e);var g=a.name,k=a.fullName,n={},m={waitId:g||ya+za++,depCount:0,depMax:0,prefix:a.prefix,name:g,fullName:k,deps:{},depArray:b,callback:c,onDep:function(oa,Aa){if(!(oa in m.deps)){m.deps[oa]=Aa;m.depCount+=1;m.depCount===m.depMax&&aa(m)}}},u,t;if(k){if(k in p||v[k]===
true||k==="jquery"&&r.jQuery&&r.jQuery!==c().fn.jquery)return;y[k]=true;v[k]=true;k==="jquery"&&c&&U(c())}for(c=0;c<b.length;c++)if(u=b[c]){u=j(u,g?a:e);t=u.fullName;b[c]=t;if(t==="require")m.deps[t]=la(a);else if(t==="exports"){m.deps[t]=p[k]={};m.usingExports=true}else if(t==="module"){m.cjsModule=u=m.deps[t]={id:g,uri:g?i.nameToUrl(g,null,e):undefined,exports:p[k]};u.setExports=o(u)}else if(t in p&&!(t in B))m.deps[t]=p[t];else if(!n[t]){m.depMax+=1;ma(u);(w[t]||(w[t]=[])).push(m);n[t]=true}}if(m.depCount===
m.depMax)aa(m);else{B[m.waitId]=m;ba.push(m);i.waitCount+=1}}function M(a){na.apply(null,a);v[a[0]]=true}function pa(a,b){if(!a.isDone){var c=a.fullName,e=a.depArray,g,k;if(c){if(b[c])return p[c];b[c]=true}for(k=0;k<e.length;k++)(g=e[k])&&!a.deps[g]&&B[g]&&a.onDep(g,pa(B[g],b));return c?p[c]:undefined}}function ca(){var a=r.waitSeconds*1E3,b=a&&i.startTime+a<(new Date).getTime();a="";var c=false,e=false,g;if(!(i.pausedCount>0)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
if(!v[g])if(b)a+=g+" ";else{e=true;break}}if(c||i.waitCount){if(b&&a){g=K("timeout","Load timeout for modules: "+a);g.requireType="timeout";g.requireModules=a;return h.onError(g)}if(e||i.scriptCount){if((A||qa)&&!da)da=setTimeout(function(){da=0;ca()},50)}else{if(i.waitCount){for(D=0;a=ba[D];D++)pa(a,{});if(ea<5){ea+=1;ca()}}ea=0;h.checkReadyState()}}}}function ra(a,b){var c=b.name,e=b.fullName,g;if(!(e in p||e in v)){G[a]||(G[a]=p[a]);v[e]||(v[e]=false);g=function(k){h.onPluginLoad&&h.onPluginLoad(i,
a,c,k);aa({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:function(){return k}});v[e]=true};g.fromText=function(k,n){var m=N;i.loaded[k]=false;i.scriptCount+=1;if(m)N=false;h.exec(n);if(m)N=true;i.completeLoad(k)};G[a].load(c,la(b.parentMap,true),g,r)}}function Ba(a){if(a.prefix&&a.name.indexOf("__$p")===0&&p[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName,e=i.urlFetched;if(!(y[c]||v[c])){y[c]=true;if(b)if(p[b])ra(b,a);else{if(!O[b]){O[b]=[];(w[b]||(w[b]=[])).push({onDep:function(g){if(g===
b){var k,n=O[b];for(g=0;g<n.length;g++){k=n[g];ra(b,j(k.originalName,k.parentMap))}delete O[b]}}})}O[b].push(a)}else if(!e[a.url]){h.load(i,c,a.url);e[a.url]=true}}}var i,C,r={waitSeconds:7,baseUrl:s.baseUrl||"./",paths:{},pkgs:{}},P=[],y={require:true,exports:true,module:true},$={},p={},v={},B={},ba=[],za=0,w={},G={},O={},fa=0,T={};U=function(a){if(!i.jQuery)if(a=a||(typeof jQuery!=="undefined"?jQuery:null))if(!(r.jQuery&&a.fn.jquery!==r.jQuery))if("holdReady"in a||"readyWait"in a){i.jQuery=a;M(["jquery",
[],function(){return jQuery}]);if(i.scriptCount){Z(a,true);i.jQueryIncremented=true}}};C=function(){var a,b,c;fa+=1;if(i.scriptCount<=0)i.scriptCount=0;for(;P.length;){a=P.shift();if(a[0]===null)return h.onError(K("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));else M(a)}if(!r.priorityWait||q())for(;i.paused.length;){c=i.paused;i.pausedCount+=c.length;i.paused=[];for(b=0;a=c[b];b++)Ba(a);i.startTime=(new Date).getTime();i.pausedCount-=c.length}fa===1&&ca();fa-=1};i={contextName:d,
config:r,defQueue:P,waiting:B,waitCount:0,specified:y,loaded:v,urlMap:$,scriptCount:0,urlFetched:{},defined:p,paused:[],pausedCount:0,plugins:G,managerCallbacks:w,makeModuleMap:j,normalize:l,configure:function(a){var b,c,e;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=r.paths;e=r.pkgs;Y(r,a,true);if(a.paths){for(c in a.paths)c in F||(b[c]=a.paths[c]);r.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(c in b)c in F||ja(e,b[c],c);a.packages&&ja(e,a.packages);r.pkgs=
e}if(a.priority){c=i.requireWait;i.requireWait=false;i.takeGlobalQueue();C();i.require(a.priority);C();i.requireWait=c;r.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&&h.ready(a.ready)},requireDefined:function(a,b){return j(a,b).fullName in p},requireSpecified:function(a,b){return j(a,b).fullName in y},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=b.fullName;if(!(a in p))return h.onError(K("notloaded","Module name '"+
b.fullName+"' has not been loaded yet for context: "+d));return p[a]}na(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&&i.paused.length;){i.takeGlobalQueue();C()}},takeGlobalQueue:function(){if(V.length){Ca.apply(i.defQueue,[i.defQueue.length-1,0].concat(V));V=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();P.length;){b=P.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{M(b);b=null}}b?M(b):M([a,[],a==="jquery"&&typeof jQuery!=="undefined"?function(){return jQuery}:null]);
v[a]=true;U();if(h.isAsync)i.scriptCount-=1;C();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),e=null;if(c!==-1){e=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,e,b)},nameToUrl:function(a,b,c){var e,g,k,n,m=i.config;a=l(a,c&&c.fullName);if(h.jsExtRegExp.test(a))b=a+(b?b:"");else{e=m.paths;g=m.pkgs;c=a.split("/");for(n=c.length;n>0;n--){k=c.slice(0,n).join("/");if(e[k]){c.splice(0,n,e[k]);break}else if(k=g[k]){a=a===k.name?k.location+"/"+k.main:k.location;
c.splice(0,n,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":m.baseUrl)+b}return m.urlArgs?b+((b.indexOf("?")===-1?"?":"&")+m.urlArgs):b}};i.jQueryCheck=U;i.resume=C;return i}function Da(){var d,f,l;if(Q&&Q.readyState==="interactive")return Q;d=document.getElementsByTagName("script");for(f=d.length-1;f>-1&&(l=d[f]);f--)if(l.readyState==="interactive")return Q=l;return null}var Ea=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,Fa=/require\(["']([^'"\s]+)["']\)/g,ua=/^\.\//,ka=/\.js$/,
ia=Object.prototype.toString,x=Array.prototype,wa=x.slice,Ca=x.splice,A=!!(typeof window!=="undefined"&&navigator&&document),qa=!A&&typeof importScripts!=="undefined",Ga=A&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,sa=typeof opera!=="undefined"&&opera.toString()==="[object Opera]",ya="_r@@",F={},H={},V=[],Q=null,Ha=false,ea=0,N=false,h;x={};var ga,s,I,W,z,R,S,D,ha,ta,E,U,da;if(typeof define==="undefined"){if(typeof requirejs!=="undefined")if(J(requirejs))return;else{x=
requirejs;requirejs=undefined}if(typeof require!=="undefined"&&!J(require)){x=require;require=undefined}h=requirejs=function(d,f,l){var j="_",q;if(!X(d)&&typeof d!=="string"){q=d;if(X(f)){d=f;f=l}else d=[]}if(q&&q.context)j=q.context;l=H[j]||(H[j]=va(j));q&&l.configure(q);return l.require(d,f)};if(typeof require==="undefined")require=h;h.toUrl=function(d){return H._.toUrl(d)};h.version="0.25.0";h.isArray=X;h.isFunction=J;h.mixin=Y;h.jsExtRegExp=/^\/|:|\?|\.js$/;s=h.s={contexts:H,skipAsync:{},isPageLoaded:!A,
readyCalls:[]};if(h.isAsync=h.isBrowser=A){I=s.head=document.getElementsByTagName("head")[0];if(W=document.getElementsByTagName("base")[0])I=s.head=W.parentNode}h.onError=function(d){throw d;};h.load=function(d,f,l){var j=d.loaded;Ha=false;j[f]||(j[f]=false);d.scriptCount+=1;h.attach(l,d,f);if(d.jQuery&&!d.jQueryIncremented){Z(d.jQuery,true);d.jQueryIncremented=true}};define=h.def=function(d,f,l){var j;if(typeof d!=="string"){l=f;f=d;d=null}if(!h.isArray(f)){l=f;f=[]}if(!d&&!f.length&&h.isFunction(l))if(l.length){l.toString().replace(Ea,
"").replace(Fa,function(q,o){f.push(o)});f=(l.length===1?["require"]:["require","exports","module"]).concat(f)}if(N){j=ga||Da();if(!j)return h.onError(K("interactive","No matching script interactive for "+l));d||(d=j.getAttribute("data-requiremodule"));j=H[j.getAttribute("data-requirecontext")]}(j?j.defQueue:V).push([d,f,l])};define.amd={multiversion:true,plugins:true,jQuery:true};h.exec=function(d){return eval(d)};h.execCb=function(d,f,l,j){return f.apply(j,l)};h.onScriptLoad=function(d){var f=d.currentTarget||
d.srcElement,l;if(d.type==="load"||Ga.test(f.readyState)){Q=null;d=f.getAttribute("data-requirecontext");l=f.getAttribute("data-requiremodule");H[d].completeLoad(l);f.detachEvent&&!sa?f.detachEvent("onreadystatechange",h.onScriptLoad):f.removeEventListener("load",h.onScriptLoad,false)}};h.attach=function(d,f,l,j,q){var o;if(A){j=j||h.onScriptLoad;o=f&&f.config&&f.config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");o.type=q||"text/javascript";
o.charset="utf-8";o.async=!s.skipAsync[d];f&&o.setAttribute("data-requirecontext",f.contextName);o.setAttribute("data-requiremodule",l);if(o.attachEvent&&!sa){N=true;o.attachEvent("onreadystatechange",j)}else o.addEventListener("load",j,false);o.src=d;ga=o;W?I.insertBefore(o,W):I.appendChild(o);ga=null;return o}else if(qa){j=f.loaded;j[l]=false;importScripts(d);f.completeLoad(l)}return null};if(A){z=document.getElementsByTagName("script");for(D=z.length-1;D>-1&&(R=z[D]);D--){if(!I)I=R.parentNode;
if(S=R.getAttribute("data-main")){if(!x.baseUrl){z=S.split("/");R=z.pop();z=z.length?z.join("/")+"/":"./";x.baseUrl=z;S=R.replace(ka,"")}x.deps=x.deps?x.deps.concat(S):[S];break}}}s.baseUrl=x.baseUrl;h.pageLoaded=function(){if(!s.isPageLoaded){s.isPageLoaded=true;ha&&clearInterval(ha);if(ta)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var d=s.contexts,f;for(f in d)if(!(f in F))if(d[f].waitCount)return;s.isDone=true;h.callReady()};h.callReady=function(){var d=s.readyCalls,
f,l,j;if(s.isPageLoaded&&s.isDone){if(d.length){s.readyCalls=[];for(f=0;l=d[f];f++)l()}d=s.contexts;for(j in d)if(!(j in F)){f=d[j];if(f.jQueryIncremented){Z(f.jQuery,false);f.jQueryIncremented=false}}}};h.ready=function(d){s.isPageLoaded&&s.isDone?d():s.readyCalls.push(d);return h};if(A){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
h.pageLoaded);if(self===self.top)ha=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(d){}},30)}document.readyState==="complete"&&h.pageLoaded()}h(x);if(h.isAsync&&typeof setTimeout!=="undefined"){E=s.contexts[x.context||"_"];E.requireWait=true;setTimeout(function(){E.requireWait=false;E.takeGlobalQueue();E.jQueryCheck();E.scriptCount||E.resume();h.checkReadyState()},0)}}})();/*
 jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==
typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,
t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,
t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=
S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),
isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n;r++){if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},
makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],
o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,
t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+
M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>
10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\x00"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,
r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1])if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else{if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,
e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=
[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?
1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,
le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&
(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),
d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=
function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===
n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||
v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||
a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},
j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,
t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||
e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),
e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i)if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else{if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&
(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,
r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":
"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]=
{}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,
r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),
lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||
~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();
return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),
gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,
p];if(n)while(e=e[u]){if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,
r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],
i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,
e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),
n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=
e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=
se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||
t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?
1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=
d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=
0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&
3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,
D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,
e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,
"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=
e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e;}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,
t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?
r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||
(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),
this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");
t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,
m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,
r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+
e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e;})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&
!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}
function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):
e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};
var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,
t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==
(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,
i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,
e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,
e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,
t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),
o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;
ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],
tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||
(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=
""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,
s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i])if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();
else{if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,we)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,
i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),
namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||
{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,
"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&
!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=
[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,
t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==
e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=
e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=
this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),
S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Se(this,e,Ce),!1},trigger:function(){return Se(this,e),!0},_default:function(){return!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,
arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});
var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,
"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),De)).length;c<f;c++)u=
e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&&
(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<
i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return $(this,function(e){return void 0===e?
S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,
function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===
e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Me=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},
Ie=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,i,o,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Pe.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",
l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip=
"content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",
t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a}}))}();var Be=["Webkit","Moz","ms"],$e=E.createElement("div").style,_e={};function ze(e){var t=S.cssProps[e]||_e[e];return t||(e in $e?e:_e[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Be.length;
while(n--)if((e=Be[n]+t)in $e)return e}(e)||e)}var Ue=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"};function Ye(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,
"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Je(e,t,n){var r=Re(e),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&
A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Qe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,
gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Xe.test(t),l=e.style;if(u||(t=ze(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==
o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Xe.test(t)||(t=ze(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,
t,n){if(t)return!Ue.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,u,n):Me(e,Ve,function(){return Je(e,u,n)})},set:function(e,t,n){var r,i=Re(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Qe(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Qe(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Ye(0,t,s)}}}),S.cssHooks.marginLeft=
Fe(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Me(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Ye)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,
i,o={},a=0;if(Array.isArray(t)){for(r=Re(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=Ke).prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,
n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ke.propHooks._default.set(this),this}}).init.prototype=Ke.prototype,(Ke.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,
e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[ze(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=Ke.prototype.init,S.fx.step={};var Ze,et,tt,nt,rt=/^(?:toggle|show|hide)$/,
it=/queueHooks$/;function ot(){et&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(ot):C.setTimeout(ot,S.fx.interval),S.fx.tick())}function at(){return C.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(o,e,
t){var n,a,r=0,i=lt.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=Ze||at(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ze||at(),duration:t.duration,
tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=
a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=lt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ut,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,
t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,
S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],rt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===
c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ut(g?v[r]:0,r,p),r in v||(v[r]=u.start,
g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),
r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=lt(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||
"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&it.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,
!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(st(r,!0),e,t,n)}}),S.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,
r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(Ze=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),Ze=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){et||(et=!0,ot())},S.fx.stop=function(){et=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=
C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},tt=E.createElement("input"),nt=E.createElement("select").appendChild(E.createElement("option")),tt.type="checkbox",y.checkOn=""!==tt.value,y.optSelected=nt.selected,(tt=E.createElement("input")).value="t",tt.type="radio",y.radioValue="t"===tt.value;var ct,ft=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,
t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",
t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),ct={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ft[t]||S.find.attr;ft[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=ft[o],ft[o]=r,r=null!=a(e,t,n)?o:null,ft[o]=i),r}});var pt=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;function ht(e){return(e.match(P)||
[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,
n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex",
"readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,gt(this)))});if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,
n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,gt(this)))});if(!arguments.length)return this.attr("class","");if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):
m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,gt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=vt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=gt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+ht(gt(n))+" ").indexOf(t))return!0;return!1}});
var yt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,
"value"))?e:"string"==typeof(e=t.value)?e.replace(yt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:ht(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,
i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};
S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!mt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=
void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,mt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&
(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,xt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,xt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,
t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,
r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var bt=C.location,wt={guid:Date.now()},Tt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;
function At(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||Ct.test(n)?i(n,t):At(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)At(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)At(n,e[n],
t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&kt.test(this.nodeName)&&!St.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Et,"\r\n")}}):
{name:t.name,value:n.replace(Et,"\r\n")}}).get()}});var Nt=/%20/g,jt=/#.*$/,Dt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Ot={},Pt={},Rt="*/".concat("*"),Mt=E.createElement("a");function It(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Wt(t,i,o,a){var s={},u=t===Pt;function l(e){var r;return s[e]=!0,
S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Ft(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Mt.href=bt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bt.protocol),global:!0,
processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,
S.ajaxSettings),t):Ft(S.ajaxSettings,e)},ajaxPrefilter:It(Ot),ajaxTransport:It(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=qt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=
n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||bt.href)+"").replace(Ht,
bt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Mt.protocol+"//"+Mt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Wt(Ot,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),
v.hasContent=!Lt.test(v.type),f=v.url.replace(jt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Nt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Tt.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Dt,"$1"),o=(Tt.test(f)?"&":"?")+"_="+wt.guid++ +o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&
T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Rt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Wt(Pt,v,
t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));
if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&S.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=
t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&
(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,
t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},
dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},
wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},$t=S.ajaxSettings.xhr();
y.cors=!!$t&&"withCredentials"in $t,y.ajax=$t=!!$t,S.ajaxTransport(function(i){var o,a;if(y.cors||$t&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=
r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Bt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&
i.data||null)}catch(e){if(o)throw e;}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,
i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&
(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===
i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=
N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=ht(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,
e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&
(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();
else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;
return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},
function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),
S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=
X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Vt=C.jQuery,Gt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Gt),e&&C.jQuery===S&&(C.jQuery=Vt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});var ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,h){if(a==Array.prototype||a==Object.prototype)return a;a[e]=h.value;return a};function ka(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<a.length;++e){var h=a[e];if(h&&h.Math==Math)return h}throw Error("Cannot find global object");}var la=ka(this);
function ma(a,e){if(e)a:{var h=la;a=a.split(".");for(var m=0;m<a.length-1;m++){var k=a[m];if(!(k in h))break a;h=h[k]}a=a[a.length-1];m=h[a];e=e(m);e!=m&&null!=e&&ja(h,a,{configurable:!0,writable:!0,value:e})}}
ma("String.prototype.matchAll",function(a){return a?a:function(e){if(e instanceof RegExp&&!e.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var h=new RegExp(e,e instanceof RegExp?void 0:"g"),m=this,k=!1,b={next:function(){if(k)return{value:void 0,done:!0};var g=h.exec(m);if(!g)return k=!0,{value:void 0,done:!0};""===g[0]&&(h.lastIndex+=1);return{value:g,done:!1}}};b[Symbol.iterator]=function(){return b};return b}});
(function(){function a(c){this.Lo=c;this.Tr=null;this.Jc={}}function e(){this.cl={};this.cl[e.SCRIPT_URL]=[];this.cl[e.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.cl[e.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.cl[e.HLS_URL]="lib/Hls.js";this.cl[e.Sea]="lib/basis/";this.cl[e.Zea]="lib/draco/";this.cl[e.CURSORS_DIR_URL]="lib/cursors";this.cl[e.SERVICE_WORKER_URL]="tdvplayersw.js";this.cl[e.BACKGROUND_PRELOAD_ENABLED]=void 0}function h(){this.GM=[];this.kW=[];this.FNa=[];this.hR=null}function m(c){return"[object Array]"==
Object.prototype.toString.call(c)}function k(c){return 0<=g.search(c.toLowerCase())}var b=window.TDV=window.TDV||{},g=navigator.userAgent.toLowerCase();h.prototype.getVersion=h.prototype.$va=function(){return{MAJOR:"0",MINOR:"1892"}};h.prototype.getClassByName=function(){};h.prototype.Mpa=function(){if(this.hR)for(;0<this.GM.length;){var c=this.GM[0];this.GM=this.GM.slice(1);this.kW.push(c);this.vHa(c)}};h.prototype.Tma=function(c){var f=document.createElement("a");f.href=
c;return f.href};h.prototype.QJa=function(){var c=document.currentScript;c||(c=document.getElementsByTagName("head")[0].getElementsByTagName("script"),c=c[c.length-1]);return this.Tma(c.src)};h.prototype.vHa=function(c){var f=this,l=c.Lo.get(e.SELECTED_SCRIPT_URL);setTimeout(function(){var p=document.createElement("script");p.type="text/javascript";p.src=l;document.getElementsByTagName("head")[0].appendChild(p);f.hR.M_a(c)},1)};h.prototype.defineScript=function(c){for(var f=[],l=this.QJa(),p=0;p<
this.kW.length;p++){var q=this.kW[p],n=this.Tma(q.Lo.get(e.SELECTED_SCRIPT_URL));n==l?(q.Lo.set(e.SCRIPT_DATA,c),q.yZa(new this.hR(q,q.Lo)),this.FNa.push(q)):f.push(n)}this.kW=f};h.prototype.create=h.prototype.create=function(c){var f=c.get(e.SCRIPT_URL);f=m(f)?this.AOa(f):"string"===typeof f?f:"script.js";c.set(e.SELECTED_SCRIPT_URL,f);c=new b.dga(c);this.GM.push(c);this.Mpa();return c};h.prototype.setPlayerClass=h.prototype.xZa=function(c){this.hR=c;this.Mpa();this.trigger({name:"classesReady",
source:this})};h.prototype.bind=h.prototype.bind=function(c,f,l,p){this.Jc=this.Jc||{};this.Jc[c]=this.Jc[c]||[];this.Jc[c].push({handler:f,context:l,immediate:p||!1})};h.prototype.unbind=h.prototype.unbind=function(c,f,l,p){this.Jc&&c in this.Jc&&(this.Jc[c]=this.Jc[c].filter(function(q){return q.handler!=f||q.context!=l||q.immediate!=p}))};h.prototype.trigger=function(c){this.Jc&&c.name in this.Jc&&(this.ax(c,!0),setTimeout(function(){this.ax(c,!1)}.bind(this),0))};h.prototype.ax=function(c,f){c.unbindCurrentHandler=
function(){}.bind(this);for(var l=this.Jc[c.name],p=0;p<l.length;p++)if(l[p].immediate==f)try{l[p].handler.call(l[p].context||window,c)}catch(q){setTimeout(function(){throw q;},0)}};h.prototype.getOrientation=h.prototype.Fq=function(){var c=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==c||"portrait-secondary"==c||0===c||180==c?b.pb.S0:"landscape-primary"==c||"landscape-secondary"==c||90==c||-90==c?b.pb.R0:window.innerWidth<window.innerHeight?b.pb.S0:b.pb.R0};
h.prototype.AOa=function(c){if(0<c.length){for(var f=0;f<c.length;f++){var l=c[f];if(m(l)){if(this.isa(l[0]))return l[1]}else if("string"===typeof l)return l}return c[0][1]}return"script.js"};h.prototype.isa=function(c){if("string"===typeof c){var f=c.match(/^\s*default\s*$/);if(f)return!0;if(f=c.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.fe==f[1].toLowerCase();if(f=c.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==f[1].toLowerCase();if(f=c.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.iz==
f[1].toLowerCase();if(f=c.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){c=parseInt(f[2]);var l=parseInt(f[3]);switch(f[1]){case "<":var p=function(q,n){return q<n};break;case ">":p=function(q,n){return q>n};break;case "=":p=function(q,n){return q==n};break;case "<=":p=function(q,n){return q<=n};break;case ">=":p=function(q,n){return q>=n}}return p(screen.width,c)&&p(screen.height,l)||this.mobile&&p(screen.width,l)&&p(screen.height,c)}return!1}if(m(c)){for(f=0;f<c.length;f++)if(!this.isa(c[f]))return!1;
return!0}return!1};h.prototype.ORIENTATION_LANDSCAPE=h.prototype.R0="landscape";h.prototype.ORIENTATION_PORTRAIT=h.prototype.S0="portrait";h.prototype.OS_IOS=h.prototype.WQ="ios";h.prototype.OS_ANDROID=h.prototype.T0="android";h.prototype.OS_WINDOWS=h.prototype.Wfa="windows";h.prototype.OS_WINDOWS_PHONE=h.prototype.X0="windows_phone";h.prototype.OS_MACOSX=h.prototype.U0="osx";h.prototype.OS_LINUX=h.prototype.Vfa="linux";h.prototype.OS_QNX=h.prototype.W0="qnx";h.prototype.OS_OTHER=h.prototype.V0="other";
h.prototype.BROWSER_TYPE_WEBKIT=h.prototype.aJ="webkit";h.prototype.BROWSER_TYPE_OPERA=h.prototype.M_="opera";h.prototype.BROWSER_TYPE_MSIE=h.prototype.L_="msie";h.prototype.BROWSER_TYPE_MOZILLA=h.prototype.K_="mozilla";h.prototype.BROWSER_TYPE_OTHER=h.prototype.N_="other";h.prototype.BROWSER_SAFARI_IOS=h.prototype.Xh="safari_ios";h.prototype.BROWSER_OPERA=h.prototype.EQ="opera";h.prototype.BROWSER_SAFARI=h.prototype.dm="safari";h.prototype.BROWSER_CHROME=h.prototype.Uk="chrome";h.prototype.BROWSER_EDGE=
h.prototype.eE="edge";h.prototype.BROWSER_MSIE=h.prototype.tw="msie";h.prototype.BROWSER_ANDROID=h.prototype.DQ="android";h.prototype.BROWSER_MOZILLA=h.prototype.Oz="mozilla";h.prototype.BROWSER_OTHER=h.prototype.I_="other";h.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=h.prototype.$I="samsunginternet";h.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=h.prototype.Uq="oculusbrowser";h.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=h.prototype.IQ="samsunginternetgearvr";h.prototype.BROWSER_SUBTYPE_MI_BROWSER=
h.prototype.J_="mibrowser";h.prototype.BROWSER_SUBTYPE_CHROME_IOS=h.prototype.FQ="chromeios";h.prototype.BROWSER_SUBTYPE_SAFARI_IOS=h.prototype.YI="safari_ios";h.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=h.prototype.fE="chrome_webview";h.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=h.prototype.ZI="safari_webview";h.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=h.prototype.Pz="tour_launcher";h.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=h.prototype.fE="chromium_edge";h.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=h.prototype.$s=
"firefox_reality";h.prototype.BROWSER_SUBTYPE_VR_APP=h.prototype.bt="vrapp";h.prototype.BROWSER_SUBTYPE_XR_APP=h.prototype.gE="xrapp";h.prototype.BROWSER_SUBTYPE_FACEBOOK_IOS_WEBVIEW=h.prototype.GQ="facebook_ios_webview";h.prototype.BROWSER_SUBTYPE_OTHER=h.prototype.HQ="other";h.prototype.BROWSER_VERSION_UNKNOWN=h.prototype.O_=-1;h.prototype.DEVICE_IPHONE=h.prototype.R_="iphone";h.prototype.DEVICE_IPAD=h.prototype.iE="ipad";h.prototype.DEVICE_IPOD=h.prototype.S_="ipod";h.prototype.DEVICE_OTHER=h.prototype.T_=
"other";h.prototype.os=h.prototype.fe=k("iphone")||k("ipad")||k("ipod")?h.prototype.WQ:k("qnx")?h.prototype.W0:k("android")||k("oculusbrowser")&&k("linux")?h.prototype.T0:k("windows phone")?h.prototype.X0:k("windows")?h.prototype.Wfa:k("mac_powerpc")?h.prototype.U0:k("macintosh")?1<navigator.maxTouchPoints?h.prototype.WQ:h.prototype.U0:k("linux")||k("x11")?h.prototype.Vfa:h.prototype.V0;h.prototype.browser=h.prototype.browser=k("ipad")||k("iphone")||k("ipod")||k("macintosh")&&1<navigator.maxTouchPoints?
h.prototype.Xh:k("opera")?h.prototype.EQ:k("edge")?h.prototype.eE:k("chrome")||k("crmo")?h.prototype.Uk:k("android")?h.prototype.DQ:k("safari")?h.prototype.dm:k("trident")||k("msie")?h.prototype.tw:!k("compatible")&&k("mozilla")?h.prototype.Oz:h.prototype.I_;h.prototype.browserType=h.prototype.LH=h.prototype.browser==h.prototype.Xh||h.prototype.browser==h.prototype.Uk||h.prototype.browser==h.prototype.DQ||h.prototype.browser==h.prototype.dm||k("webkit")?h.prototype.aJ:h.prototype.browser==h.prototype.EQ||
k("opera")?h.prototype.M_:k("trident")||k("msie")?h.prototype.L_:!k("compatible")&&k("mozilla")?h.prototype.K_:h.prototype.N_;h.prototype.browserSubtype=h.prototype.hd=window.location.hash&&0<=window.location.hash.indexOf("xrapp")?h.prototype.gE:window.location.hash&&0<=window.location.hash.indexOf("vrapp")?h.prototype.bt:k("oculusbrowser")?h.prototype.Uq:k("xiaomi")||k("miui")?h.prototype.J_:k("samsungbrowser")&&k("android")?k("mobile vr")?h.prototype.IQ:h.prototype.$I:k("ipad")||k("iphone")||k("ipod")?
k("crios")?h.prototype.FQ:k("fban")||k("fbav")?h.prototype.GQ:k("safari")&&k("version")&&!navigator.standalone?h.prototype.YI:h.prototype.ZI:k("electron")?h.prototype.Pz:k("chrome")&&k("wv")?h.prototype.fE:k("edg/")?h.prototype.Tea:!k("compatible")&&k("mozilla")&&k("mobile vr")?h.prototype.$s:h.prototype.HQ;h.prototype.browserVersion=h.prototype.wua=function(){if(h.prototype.browser==h.prototype.tw){var c=g.match(RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"));if(null!=c)return parseFloat(c[1]);c=g.match(RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"));
if(null!=c)return parseFloat(c[1])}return h.prototype.O_}();h.prototype.device=h.prototype.iz=k("ipad")||k("macintosh")&&1<navigator.maxTouchPoints?h.prototype.iE:k("iphone")?h.prototype.R_:k("ipod")?h.prototype.S_:h.prototype.T_;a:{switch(h.prototype.fe){case h.prototype.T0:case h.prototype.WQ:case h.prototype.X0:case h.prototype.W0:var d=!0;break a}d=!1}h.prototype.mobile=h.prototype.mobile=d;b.PlayerAPI=b.pb=new h;e.prototype.append=e.prototype.append=function(c,f,l){c==e.SCRIPT_URL&&("undefined"==
typeof l&&(l=f,f="default"),f=[f,l]);m(this.cl[c])||(this.cl[c]=[]);this.cl[c].push(f)};e.prototype.set=e.prototype.set=function(c,f){this.cl[c]=f};e.prototype.get=e.prototype.get=function(c){return this.cl[c]};e.SCRIPT_URL=e.SCRIPT_URL="ScriptURL";e.SCRIPT_DATA=e.SCRIPT_DATA="ScriptData";e.FLASH_EXPRESS_INSTALLER_URL=e.FLASH_EXPRESS_INSTALLER_URL="FlashExpressInstallerURL";e.FLASH_AUDIO_PLAYER_URL=e.FLASH_AUDIO_PLAYER_URL="FlashAudioPlayerURL";e.FLASH_VIDEO_PLAYER_URL=e.FLASH_VIDEO_PLAYER_URL="FlashVideoPlayerURL";
e.FLASH_PANORAMA_PLAYER_URL=e.FLASH_PANORAMA_PLAYER_URL="FlashPanoramaPlayerURL";e.THREE_JS_WEBGL_URL=e.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";e.WEBVR_POLYFILL_URL=e.WEBVR_POLYFILL_URL="WebVRPolyfillURL";e.CAPTURA_VIEWER_URL=e.CAPTURA_VIEWER_URL="CapturaViewerURL";e.DASH_URL=e.DASH_URL="DashURL";e.HLS_URL=e.HLS_URL="HlsURL";e.BASIS_URL=e.Sea="BasisURL";e.DRACO_URL=e.Zea="DRACOURL";e.CONTAINER=e.CONTAINER="Container";e.SELECTED_SCRIPT_URL=e.SELECTED_SCRIPT_URL="SelectedScriptURL";e.BASE_DIR_URL=e.BASE_DIR_URL=
"BaseDirURL";e.QUERY_STRING_PARAMETERS=e.QUERY_STRING_PARAMETERS="QueryStringParameters";e.CURSORS_DIR_URL=e.CURSORS_DIR_URL="CursorsDirURL";e.BACKGROUND_PRELOAD_ENABLED=e.BACKGROUND_PRELOAD_ENABLED="BackgroundPreloadEnabled";e.ACTIVE_VIDEO_ELEMENT=e.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";e.SERVICE_WORKER_URL=e.SERVICE_WORKER_URL="ServiceWorkerURL";e.PINCH_TO_ZOOM_ENABLED=e.pCa="PinchToZoomEnabled";b.PlayerSettings=b.PlayerSettings=e;b.PlayerEvent=b.YQ=function(c,f,l,p){this.name=c;this.data=this.originalEvent=
f;this.sourceClassName=l[l.length-1];this.sourceClassPath=l;this.sourceId=p};a.prototype.yZa=function(c){this.Tr=c};a.prototype["delete"]=function(){this.Tr&&(this.Tr.clear(),this.Tr=null)};a.prototype.getById=a.prototype.kz=function(c){return this.Tr?this.Tr.CVa(c):null};a.prototype.getByClassName=a.prototype.Ij=function(c){return this.Tr?this.Tr.Ij(c):[]};a.prototype.createInstance=a.prototype.gn=function(c){return this.Tr.gn(c)};a.prototype.disposeInstance=a.prototype.UH=function(c){return this.Tr.UH(c)};
a.prototype.bind=a.prototype.bind=function(c,f,l,p){var q=c.split(":");c=q[0];q=1<q.length?q[1]:"*";this.Jc[c]=this.Jc[c]||{};this.Jc[c][q]=this.Jc[c][q]||[];this.Jc[c][q].push({handler:f,context:l,immediate:p});return this};a.prototype.unbind=a.prototype.unbind=function(c,f,l,p){var q=c.split(":");c=q[0];q=1<q.length?q[1]:"*";if(c in this.Jc&&q in this.Jc[c]){for(var n=[],r=this.Jc[c][q],t=0;t<r.length;t++){var u=r[t];u.handler==f&&u.context==l&&u.immediate==p||n.push(u)}this.Jc[c][q]=n}};a.prototype.bindOnObject=
function(c,f,l,p,q){return this.bind(f+":"+this.e5(c),l,p,q)};a.prototype.unbindOnObject=function(c,f,l,p,q){return this.unbind(f+":"+this.e5(c),l,p,q)};a.prototype.bindOnObjectsOf=function(c,f,l,p,q){return this.bind(f+":"+this.U4(c),l,p,q)};a.prototype.unbindOnObjectsOf=function(c,f,l,p,q){return this.unbind(f+":"+this.U4(c),l,p,q)};a.prototype.cookiesEnabled=a.prototype.fUa=!1;a.DEFAULT_PANORAMA_HFOV=a.kBa=h.prototype.mobile?90:110;a.prototype.trigger=function(c){if(c.name in this.Jc){this.ax(c,
!0);var f=this;setTimeout(function(){f.ax(c,!1)},0)}};a.prototype.ax=function(c,f){f=this.aJa(c,f);for(var l=0;l<f.length;l++)try{f[l].handler.call(f[l].context||window,c)}catch(p){console.log("Exception handling event "+(c&&c.name),p.message,p.stack)}};a.prototype.aJa=function(c,f){var l=[];if(c.name in this.Jc){for(var p=[],q=0;q<c.sourceClassPath.length;q++)p.push(this.U4(c.sourceClassPath[q]));c.sourceId&&p.push(this.e5(c.sourceId));p.push("*");c=this.Jc[c.name];for(q=0;q<p.length;q++)for(var n=
c[p[q]]||[],r=0;r<n.length;r++)!!n[r].immediate==!!f&&l.push(n[r])}return l};a.prototype.e5=function(c){return"instance("+c+")"};a.prototype.U4=function(c){return"className("+c+")"};b.Player=b.dga=a})();
var Z=this&&this.P0a||function(){function a(e,h){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,k){m.__proto__=k}||function(m,k){for(var b in k)Object.prototype.hasOwnProperty.call(k,b)&&(m[b]=k[b])};return a(e,h)}return function(e,h){function m(){this.constructor=e}if("function"!==typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");a(e,h);e.prototype=null===h?Object.create(h):(m.prototype=h.prototype,new m)}}();
define("jquery.mod",["require","jquery"],function(a){return a("jquery").noConflict(!0)});
(function(){var a=window.TDV||(window.TDV={});(function(){(function(){function e(E,K){return E.qFa?r(K).chain():K}function h(E){return"\\"+Y[E]}function m(E){function K(M){return E[M]}var P="(?:"+r.keys(E).join("|")+")",T=RegExp(P),J=RegExp(P,"g");return function(M){return M=null==M?"":""+M,T.test(M)?M.replace(J,K):M}}function k(E,K,P,T){if(E===K)return 0!==E||1/E===1/K;if(null==E||null==K)return E===K;E instanceof r&&(E=E.bD);K instanceof r&&(K=K.bD);var J=D.call(E);if(J!==D.call(K))return!1;switch(J){case "[object RegExp]":case "[object String]":return""+
E==""+K;case "[object Number]":return+E!==+E?+K!==+K:0===+E?1/+E===1/K:+E===+K;case "[object Date]":case "[object Boolean]":return+E===+K}J="[object Array]"===J;if(!J){if("object"!=typeof E||"object"!=typeof K)return!1;var M=E.constructor,X=K.constructor;if(M!==X&&!(r.isFunction(M)&&M instanceof M&&r.isFunction(X)&&X instanceof X)&&"constructor"in E&&"constructor"in K)return!1}P=P||[];T=T||[];for(M=P.length;M--;)if(P[M]===E)return T[M]===K;if(P.push(E),T.push(K),J){if(M=E.length,M!==K.length)return!1;
for(;M--;)if(!k(E[M],K[M],P,T))return!1}else{var aa;J=r.keys(E);if(M=J.length,r.keys(K).length!==M)return!1;for(;M--;)if(aa=J[M],!r.has(K,aa)||!k(E[aa],K[aa],P,T))return!1}return P.pop(),T.pop(),!0}function b(E,K,P,T,J){if(!(T instanceof K))return E.apply(P,J);K=l(E.prototype);E=E.apply(K,J);return r.rI(E)?E:K}function g(E,K,P,T){var J=[],M=0;T=T||0;for(var X=W(E);X>T;T++){var aa=E[T];if(c(aa)&&(r.isArray(aa)||r.isArguments(aa))){K||(aa=g(aa,K,P));var ba=0,da=aa.length;for(J.length+=da;da>ba;)J[M++]=
aa[ba++]}else P||(J[M++]=aa)}return J}function d(E){return function(K,P,T){var J={};return P=q(P,T),r.each(K,function(M,X){X=P(M,X,K);E(J,M,X)}),J}}function c(E){E=W(E);return"number"==typeof E&&0<=E&&R>=E}function f(E){return function(K){return null==K?void 0:K[E]}}function l(E){if(!r.rI(E))return{};if(Q)return Q(E);t.prototype=E;E=new t;return t.prototype=null,E}function p(E,K){return function(P){var T=arguments.length;if(2>T||null==P)return P;for(var J=1;T>J;J++)for(var M=arguments[J],X=E(M),aa=
X.length,ba=0;aa>ba;ba++){var da=X[ba];K&&void 0!==P[da]||(P[da]=M[da])}return P}}function q(E,K,P){return null==E?r.identity:r.isFunction(E)?n(E,K,P):r.rI(E)?r.PWa(E):r.Sya(E)}function n(E,K,P){if(void 0===K)return E;switch(null==P?3:P){case 1:return function(T){return E.call(K,T)};case 2:return function(T,J){return E.call(K,T,J)};case 3:return function(T,J,M){return E.call(K,T,J,M)};case 4:return function(T,J,M,X){return E.call(K,T,J,M,X)}}return function(){return E.apply(K,arguments)}}function r(E){return E instanceof
r?E:this instanceof r?void(this.bD=E):new r(E)}function t(){}function u(E){return function(K,P,T,J){P=n(P,J,4);var M=!c(K)&&r.keys(K),X=(M||K).length,aa=0<E?0:X-1;3>arguments.length&&(T=K[M?M[aa]:aa],aa+=E);for(var ba=P,da=T;0<=aa&&X>aa;aa+=E){var ea=M?M[aa]:aa;da=ba(da,K[ea],ea,K)}return da}}function v(E){return function(K,P,T){P=q(P,T);T=W(K);for(var J=0<E?0:T-1;0<=J&&T>J;J+=E)if(P(K[J],J,K))return J;return-1}}function w(E,K,P){return function(T,J,M){var X=0,aa=W(T);if("number"==typeof M)0<E?X=
0<=M?M:Math.max(M+aa,X):aa=0<=M?Math.min(M+1,aa):M+aa+1;else if(P&&M&&aa)return M=P(T,J),T[M]===J?M:-1;if(J!==J)return M=K(H.call(T,X,aa),r.isNaN),0<=M?M+X:-1;for(M=0<E?X:aa-1;0<=M&&aa>M;M+=E)if(T[M]===J)return M;return-1}}function x(E,K){var P=L.length,T=E.constructor;T=r.isFunction(T)&&T.prototype||z;var J="constructor";for(r.has(E,J)&&!r.contains(K,J)&&K.push(J);P--;)J=L[P],J in E&&E[J]!==T[J]&&!r.contains(K,J)&&K.push(J)}var y=this,A=y._,B=Array.prototype,z=Object.prototype,C=B.push,H=B.slice,
D=z.toString,I=z.hasOwnProperty,F=Array.isArray,N=Object.keys,S=Function.prototype.bind,Q=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=r),exports._=r):y._=r;r.VERSION="1.8.3";var R=Math.pow(2,53)-1,W=f("length");r.each=r.forEach=function(E,K,P){K=n(K,P);var T;if(c(E))for(P=0,T=E.length;T>P;P++)K(E[P],P,E);else{var J=r.keys(E);P=0;for(T=J.length;T>P;P++)K(E[J[P]],J[P],E)}return E};r.map=function(E,K,P){K=q(K,P);P=!c(E)&&r.keys(E);for(var T=
(P||E).length,J=Array(T),M=0;T>M;M++){var X=P?P[M]:M;J[M]=K(E[X],X,E)}return J};r.reduce=u(1);r.reduceRight=u(-1);r.find=r.detect=function(E,K,P){var T;return T=c(E)?r.findIndex(E,K,P):r.GUa(E,K,P),void 0!==T&&-1!==T?E[T]:void 0};r.filter=r.select=function(E,K,P){var T=[];return K=q(K,P),r.each(E,function(J,M,X){K(J,M,X)&&T.push(J)}),T};r.reject=function(E,K,P){return r.filter(E,r.negate(q(K)),P)};r.every=r.all=function(E,K,P){K=q(K,P);P=!c(E)&&r.keys(E);for(var T=(P||E).length,J=0;T>J;J++){var M=
P?P[J]:J;if(!K(E[M],M,E))return!1}return!0};r.some=r.any=function(E,K,P){K=q(K,P);P=!c(E)&&r.keys(E);for(var T=(P||E).length,J=0;T>J;J++){var M=P?P[J]:J;if(K(E[M],M,E))return!0}return!1};r.contains=r.includes=r.include=function(E,K,P,T){return c(E)||(E=r.values(E)),("number"!=typeof P||T)&&(P=0),0<=r.indexOf(E,K,P)};r.invoke=function(E,K){var P=H.call(arguments,2),T=r.isFunction(K);return r.map(E,function(J){var M=T?K:J[K];return null==M?M:M.apply(J,P)})};r.pluck=function(E,K){return r.map(E,r.Sya(K))};
r.max=function(E,K,P){var T,J=-1/0,M=-1/0;if(null==K&&null!=E){E=c(E)?E:r.values(E);for(var X=0,aa=E.length;aa>X;X++)P=E[X],P>J&&(J=P)}else K=q(K,P),r.each(E,function(ba,da,ea){T=K(ba,da,ea);(T>M||T===-1/0&&J===-1/0)&&(J=ba,M=T)});return J};r.min=function(E,K,P){var T,J=1/0,M=1/0;if(null==K&&null!=E){E=c(E)?E:r.values(E);for(var X=0,aa=E.length;aa>X;X++)P=E[X],J>P&&(J=P)}else K=q(K,P),r.each(E,function(ba,da,ea){T=K(ba,da,ea);(M>T||1/0===T&&1/0===J)&&(J=ba,M=T)});return J};r.j_a=function(E){for(var K=
c(E)?E:r.values(E),P=K.length,T=Array(P),J=0;P>J;J++)E=r.random(0,J),E!==J&&(T[J]=T[E]),T[E]=K[J];return T};r.sample=function(E,K,P){return null==K||P?(c(E)||(E=r.values(E)),E[r.random(E.length-1)]):r.j_a(E).slice(0,Math.max(0,K))};r.sortBy=function(E,K,P){return K=q(K,P),r.pluck(r.map(E,function(T,J,M){return{value:T,index:J,Mua:K(T,J,M)}}).sort(function(T,J){var M=T.Mua,X=J.Mua;if(M!==X){if(M>X||void 0===M)return 1;if(X>M||void 0===X)return-1}return T.index-J.index}),"value")};r.groupBy=d(function(E,
K,P){r.has(E,P)?E[P].push(K):E[P]=[K]});d(function(E,K,P){E[P]=K});d(function(E,K,P){r.has(E,P)?E[P]++:E[P]=1});r.toArray=function(E){return E?r.isArray(E)?H.call(E):c(E)?r.map(E,r.identity):r.values(E):[]};r.size=function(E){return null==E?0:c(E)?E.length:r.keys(E).length};r.first=r.head=function(E,K,P){return null==E?void 0:null==K||P?E[0]:r.initial(E,E.length-K)};r.initial=function(E,K,P){return H.call(E,0,Math.max(0,E.length-(null==K||P?1:K)))};r.last=function(E,K,P){return null==E?void 0:null==
K||P?E[E.length-1]:r.rest(E,Math.max(0,E.length-K))};r.rest=function(E,K,P){return H.call(E,null==K||P?1:K)};r.compact=function(E){return r.filter(E,r.identity)};r.flatten=function(E,K){return g(E,K,!1)};r.without=function(E){return r.difference(E,H.call(arguments,1))};r.uniq=r.unique=function(E,K,P,T){r.isBoolean(K)||(T=P,P=K,K=!1);null!=P&&(P=q(P,T));T=[];for(var J=[],M=0,X=W(E);X>M;M++){var aa=E[M],ba=P?P(aa,M,E):aa;K?(M&&J===ba||T.push(aa),J=ba):P?r.contains(J,ba)||(J.push(ba),T.push(aa)):r.contains(T,
aa)||T.push(aa)}return T};r.union=function(){return r.uniq(g(arguments,!0,!0))};r.intersection=function(E){for(var K=[],P=arguments.length,T=0,J=W(E);J>T;T++){var M=E[T];if(!r.contains(K,M)){for(var X=1;P>X&&r.contains(arguments[X],M);X++);X===P&&K.push(M)}}return K};r.difference=function(E){var K=g(arguments,!0,!0,1);return r.filter(E,function(P){return!r.contains(K,P)})};r.zip=function(){return r.P_a(arguments)};r.P_a=function(E){for(var K=E&&r.max(E,W).length||0,P=Array(K),T=0;K>T;T++)P[T]=r.pluck(E,
T);return P};r.object=function(E,K){for(var P={},T=0,J=W(E);J>T;T++)K?P[E[T]]=K[T]:P[E[T][0]]=E[T][1];return P};r.findIndex=v(1);r.HUa=v(-1);r.sortedIndex=function(E,K,P,T){P=q(P,T,1);K=P(K);T=0;for(var J=W(E);J>T;){var M=Math.floor((T+J)/2);P(E[M])<K?T=M+1:J=M}return T};r.indexOf=w(1,r.findIndex,r.sortedIndex);r.lastIndexOf=w(-1,r.HUa);r.range=function(E,K,P){null==K&&(K=E||0,E=0);P=P||1;K=Math.max(Math.ceil((K-E)/P),0);for(var T=Array(K),J=0;K>J;J++,E+=P)T[J]=E;return T};r.bind=function(E,K){function P(){return b(E,
P,K,this,T.concat(H.call(arguments)))}if(S&&E.bind===S)return S.apply(E,H.call(arguments,1));if(!r.isFunction(E))throw new TypeError("Bind must be called on a function");var T=H.call(arguments,2);return P};r.fda=function(E){function K(){for(var T=0,J=P.length,M=Array(J),X=0;J>X;X++)M[X]=P[X]===r?arguments[T++]:P[X];for(;T<arguments.length;)M.push(arguments[T++]);return b(E,K,this,this,M)}var P=H.call(arguments,1);return K};r.bindAll=function(E){var K,P=arguments.length;if(1>=P)throw Error("bindAll must be passed function names");
for(K=1;P>K;K++){var T=arguments[K];E[T]=r.bind(E[T],E)}return E};r.memoize=function(E,K){function P(T){var J=P.cache,M=""+(K?K.apply(this,arguments):T);return r.has(J,M)||(J[M]=E.apply(this,arguments)),J[M]}return P.cache={},P};r.delay=function(E,K){var P=H.call(arguments,2);return setTimeout(function(){return E.apply(null,P)},K)};r.defer=r.fda(r.delay,r,1);r.throttle=function(E,K,P){function T(){ba=!1===P.MWa?0:r.now();aa=null;X=E.apply(J,M);aa||(J=M=null)}var J,M,X,aa=null,ba=0;P||(P={});return function(){var da=
r.now();ba||!1!==P.MWa||(ba=da);var ea=K-(da-ba);return J=this,M=arguments,0>=ea||ea>K?(aa&&(clearTimeout(aa),aa=null),ba=da,X=E.apply(J,M),aa||(J=M=null)):aa||!1===P.E1a||(aa=setTimeout(T,ea)),X}};r.debounce=function(E,K,P){function T(){var da=r.now()-aa;K>da&&0<=da?J=setTimeout(T,K-da):(J=null,P||(ba=E.apply(X,M),J||(X=M=null)))}var J,M,X,aa,ba;return function(){X=this;M=arguments;aa=r.now();var da=P&&!J;return J||(J=setTimeout(T,K)),da&&(ba=E.apply(X,M),X=M=null),ba}};r.wrap=function(E,K){return r.fda(K,
E)};r.negate=function(E){return function(){return!E.apply(this,arguments)}};r.compose=function(){var E=arguments,K=E.length-1;return function(){for(var P=K,T=E[K].apply(this,arguments);P--;)T=E[P].call(this,T);return T}};r.after=function(E,K){return function(){return 1>--E?K.apply(this,arguments):void 0}};r.before=function(E,K){var P;return function(){return 0<--E&&(P=K.apply(this,arguments)),1>=E&&(K=null),P}};r.once=r.fda(r.before,2);var G=!{toString:null}.propertyIsEnumerable("toString"),L="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" ");
r.keys=function(E){if(!r.rI(E))return[];if(N)return N(E);var K=[],P;for(P in E)r.has(E,P)&&K.push(P);return G&&x(E,K),K};r.kba=function(E){if(!r.rI(E))return[];var K=[],P;for(P in E)K.push(P);return G&&x(E,K),K};r.values=function(E){for(var K=r.keys(E),P=K.length,T=Array(P),J=0;P>J;J++)T[J]=E[K[J]];return T};r.invert=function(E){for(var K={},P=r.keys(E),T=0,J=P.length;J>T;T++)K[E[P[T]]]=P[T];return K};r.functions=r.methods=function(E){var K=[],P;for(P in E)r.isFunction(E[P])&&K.push(P);return K.sort()};
r.extend=p(r.kba);r.dva=r.assign=p(r.keys);r.GUa=function(E,K,P){K=q(K,P);var T;P=r.keys(E);for(var J=0,M=P.length;M>J;J++)if(T=P[J],K(E[T],T,E))return T};r.OZ=function(E,K,P){var T,J,M={},X=E;if(null==X)return M;r.isFunction(K)?(J=r.kba(X),T=n(K,P)):(J=g(arguments,!1,!1,1),T=function(ia,fa,ha){return fa in ha},X=Object(X));for(var aa=0,ba=J.length;ba>aa;aa++){var da=J[aa],ea=X[da];T(ea,da,X)&&(M[da]=ea)}return M};r.defaults=p(r.kba,!0);r.create=function(E,K){E=l(E);return K&&r.dva(E,K),E};r.clone=
function(E){return r.rI(E)?r.isArray(E)?E.slice():r.extend({},E):E};r.tap=function(E,K){return K(E),E};r.AWa=function(E,K){var P=r.keys(K),T=P.length;if(null==E)return!T;E=Object(E);for(var J=0;T>J;J++){var M=P[J];if(K[M]!==E[M]||!(M in E))return!1}return!0};r.isEqual=function(E,K){return k(E,K)};r.isEmpty=function(E){return null==E?!0:c(E)&&(r.isArray(E)||r.isString(E)||r.isArguments(E))?0===E.length:0===r.keys(E).length};r.isElement=function(E){return!(!E||1!==E.nodeType)};r.isArray=F||function(E){return"[object Array]"===
D.call(E)};r.rI=function(E){var K=typeof E;return"function"===K||"object"===K&&!!E};r.each("Arguments Function String Number Date RegExp Error".split(" "),function(E){r["is"+E]=function(K){return D.call(K)==="[object "+E+"]"}});r.isArguments(arguments)||(r.isArguments=function(E){return r.has(E,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(r.isFunction=function(E){return"function"==typeof E||!1});r.isFinite=function(E){return isFinite(E)&&!isNaN(parseFloat(E))};r.isNaN=function(E){return r.isNumber(E)&&
E!==+E};r.isBoolean=function(E){return!0===E||!1===E||"[object Boolean]"===D.call(E)};r.isNull=function(E){return null===E};r.isUndefined=function(E){return void 0===E};r.has=function(E,K){return null!=E&&I.call(E,K)};r.noConflict=function(){return y._=A,this};r.identity=function(E){return E};r.constant=function(E){return function(){return E}};r.noop=function(){};r.Sya=f;r.PWa=r.matches=function(E){return E=r.dva({},E),function(K){return r.AWa(K,E)}};r.times=function(E,K,P){var T=Array(Math.max(0,
E));K=n(K,P,1);for(P=0;E>P;P++)T[P]=K(P);return T};r.random=function(E,K){return null==K&&(K=E,E=0),E+Math.floor(Math.random()*(K-E+1))};r.now=Date.now||function(){return(new Date).getTime()};F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};var U=r.invert(F);r.escape=m(F);r.unescape=m(U);r.result=function(E,K,P){K=null==E?void 0:E[K];return void 0===K&&(K=P),r.isFunction(K)?K.call(E):K};var O=0;r.uniqueId=function(E){var K=++O+"";return E?E+K:K};r.H_a={evaluate:/<%([\s\S]+?)%>/g,
rWa:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var V=/(.)^/,Y={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ca=/\\|'|\r|\n|\u2028|\u2029/g;r.template=function(E,K,P){function T(aa){return X.call(this,aa,r)}!K&&P&&(K=P);K=r.defaults({},K,r.H_a);var J=0,M="__p+='";E.replace(RegExp([(K.escape||V).source,(K.rWa||V).source,(K.evaluate||V).source].join("|")+"|$","g"),function(aa,ba,da,ea,ia){return M+=E.slice(J,ia).replace(ca,h),J=ia+aa.length,ba?M+="'+\n((__t=("+ba+"))==null?'':_.escape(__t))+\n'":
da?M+="'+\n((__t=("+da+"))==null?'':__t)+\n'":ea&&(M+="';\n"+ea+"\n__p+='"),aa});M+="';\n";K.UAa||(M="with(obj||{}){\n"+M+"}\n");M="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+M+"return __p;\n";try{var X=new Function(K.UAa||"obj","_",M)}catch(aa){throw aa.source=M,aa;}return T.source="function("+(K.UAa||"obj")+"){\n"+M+"}",T};r.chain=function(E){E=r(E);return E.qFa=!0,E};r.mixin=function(E){r.each(r.functions(E),function(K){var P=r[K]=E[K];r.prototype[K]=
function(){var T=[this.bD];return C.apply(T,arguments),e(this,P.apply(r,T))}})};r.mixin(r);r.each("pop push reverse shift sort splice unshift".split(" "),function(E){var K=B[E];r.prototype[E]=function(){var P=this.bD;return K.apply(P,arguments),"shift"!==E&&"splice"!==E||0!==P.length||delete P[0],e(this,P)}});r.each(["concat","join","slice"],function(E){var K=B[E];r.prototype[E]=function(){return e(this,K.apply(this.bD,arguments))}});r.prototype.value=function(){return this.bD};r.prototype.valueOf=
r.prototype.toJSON=r.prototype.value;r.prototype.toString=function(){return""+this.bD};"function"==typeof define&&define.h1a&&define("oW",[],function(){return r})}).call(this)}).call(a)})();define("underscore-min",function(){});define("eg",["require","underscore-min"],function(a){a("underscore-min");return window.TDV._.noConflict()});
define("oH",["require","exports"],function(){return{G:function(a){return a+"_change"},He:"default",ub:"mouseDown",jc:"mouseMove",Zb:"mouseUp",$q:"mouseWheel",qa:"click",hm:"doubleClick",Wc:"rollOver",ac:"rollOut",mA:"mouseEnter",$o:"mouseLeave",im:"pointerOver",v0a:"pointerOut",$0:"pointerDown",a1:"pointerUp",Uj:"pointerClick",FBa:"focusIn",GBa:"focusOut",Bw:"gestureStart",J0:"gestureChange",kE:"gestureEnd",LBa:"gestureRotate",lE:"gestureScale",ec:"progress",hE:"close",OPEN:"open",zn:"select",kc:"resize",
JQ:"changing",pa:"change",ne:"stateChange",Wk:"cueChange",nJ:"preloaded",Z:"loaded",tc:"loadingError",An:"start",Kf:"stop",Jw:"play",tE:"pause",gA:"frame",Vc:"ready",Tq:"begin",sb:"end",i0a:"cancel",Vj:"press",jm:"release",fr:"repeatEnd",cp:"scroll",Cfa:"movementChange",h0a:"beforeShow",dBa:"beforeHide",INIT:"init",kd:"show",sd:"hide",pJ:"showEnd",hJ:"hideEnd",SBa:"loadingScript",tCa:"processingScript",jE:"enableCookies",aBa:"applicationSet",vE:"userInteraction",Bga:"userInteractionStart",Aga:"userInteractionEnd",
p1:"transitionEnd",HCa:"toolTipShow",pga:"toolTipHide",st:"positionSet",hga:"sizeSet"}});define("cy",["require","exports"],function(){return function(){return function(a,e){void 0===e&&(e=void 0);this.name=a;this.data=e;this.source=void 0}}()});
define("bo",["require"],function(){return[123,34,70,97,100,101,73,110,69,102,102,101,99,116,34,58,32,256,112,114,111,112,101,114,116,105,101,115,270,272,125,44,32,34,112,97,114,101,110,269,271,34,264,266,268,34,286,288,80,104,111,116,111,65,108,98,117,109,80,108,97,121,76,105,115,116,73,116,101,109,284,273,275,277,279,281,283,271,256,109,101,100,105,97,326,34,116,121,277,284,34,304,306,308,310,312,301,287,289,315,121,278,340,342,344,296,347,307,309,311,313,355,357,125,302,289,291,293,295,303,355,
318,320,322,324,352,375,97,110,101,77,111,260,108,51,68,79,98,106,267,374,327,276,278,280,282,340,293,99,387,105,110,103,340,260,102,97,117,108,374,34,115,114,103,98,34,353,359,101,345,293,312,91,108,406,101,291,287,417,419,93,381,34,260,112,116,104,84,282,396,438,101,411,413,374,116,114,117,101,422,343,424,296,98,111,111,108,437,104,101,105,103,104,445,423,345,110,312,98,368,353,119,105,100,441,358,456,471,473,475,288,117,112,90,481,360,288,472,109,474,114,437,487,88,490,457,492,484,496,370,487,
89,500,483,494,485,34,97,116,116,97,99,442,111,80,372,294,409,447,412,414,284,411,108,115,454,288,470,458,460,462,370,110,111,114,109,97,108,499,333,341,482,296,493,495,437,538,540,542,507,545,533,502,510,504,353,552,541,108,489,556,547,558,550,370,115,478,501,256,410,525,415,102,275,522,455,491,34,426,109,91,100,111,117,98,108,531,578,111,294,287,98,516,107,436,369,353,290,292,522,296,69,120,323,114,110,542,386,388,390,392,394,300,370,81,117,259,72,306,115,112,306,520,552,97,541,79,118,278,355,77,
97,112,340,274,398,330,401,333,370,603,373,345,620,622,624,626,116,628,539,630,97,632,634,316,73,541,103,101,66,97,530,437,86,572,111,51,54,48,82,282,588,114,99,573,289,328,399,331,340,115,589,280,116,591,115,85,82,76,508,296,320,114,406,408,353,319,85,114,462,271,451,453,370,591,633,529,695,288,291,114,316,91,669,260,671,673,675,115,677,679,76,101,711,600,353,103,97,406,523,448,526,271,49,581,501,34,549,511,104,666,65,117,337,111,735,576,284,707,531,546,582,459,461,301,645,521,415,719,101,721,674,
676,117,678,101,727,711,437,314,316,597,99,107,665,496,545,640,329,400,332,272,34,597,114,665,778,103,275,117,110,100,67,461,539,68,105,292,268,105,594,713,583,493,91,305,698,122,594,515,108,287,633,330,99,542,730,288,320,101,112,83,745,587,119,807,758,536,353,530,591,268,336,83,323,826,828,111,830,566,757,535,437,112,355,464,259,791,107,793,588,796,798,108,539,82,513,805,786,256,557,512,114,716,121,91,743,114,822,416,101,836,323,100,839,825,87,478,480,845,741,539,871,503,287,329,679,294,874,789,
66,539,260,114,861,337,117,864,756,741,872,848,850,431,879,842,119,83,274,909,807,906,570,840,896,114,898,900,105,902,916,503,437,824,112,853,855,795,797,799,114,801,803,280,806,885,425,809,811,105,813,294,542,817,683,820,108,874,835,395,838,840,827,259,843,79,290,99,105,342,926,559,928,876,955,879,919,897,278,83,945,680,866,917,834,969,837,971,825,958,829,623,812,814,542,727,407,884,787,978,927,570,981,878,880,930,598,932,857,935,861,939,903,866,715,717,872,874,100,769,862,940,994,567,742,996,602,
908,259,985,960,962,964,121,966,569,834,957,911,913,292,259,1030,511,929,1025,119,86,950,990,293,103,993,865,1019,979,823,840,961,516,1028,1038,560,288,849,316,851,100,920,922,259,924,1008,1050,1021,1059,1023,910,959,119,858,539,807,404,859,1058,875,877,956,984,911,66,108,769,923,925,941,548,1070,788,291,1064,278,1076,781,1018,582,1079,1077,645,1072,1041,1043,819,1045,992,104,1057,968,1083,983,930,973,114,1099,1078,935,928,1033,1074,987,945,989,108,991,1047,1112,1092,568,511,789,1054,963,965,1133,
1020,967,1105,1061,909,1041,1126,946,815,1130,1048,904,509,1031,1052,881,883,1132,1101,886,114,888,559,890,278,892,116,874,1060,121,1062,1097,1119,1122,1140,1103,1081,1169,1062,882,479,1158,1049,582,887,872,1164,770,893,437,895,1118,975,122,977,1069,1142,353,895,1002,794,1004,1080,1006,863,807,1010,870,1012,907,1144,852,1192,976,1113,997,1115,1E3,1215,1032,1085,1074,1120,1175,1122,1216,970,1E3,931,1201,934,1080,807,887,1207,91,1176,93,287,1237,1190,1096,1200,856,1231,1077,1140,1234,868,717,1237,1239,
935,953,919,1243,933,1223,1159,345,1248,869,1236,1253,1252,1080,1168,1106,911,831,847,1143,1170,909,72,465,467,469,1019,1185,889,32,891,373,1254,825,1229,1244,1099,1204,111,1068,582,1235,1209,918,825,1275,466,468,1233,1161,1186,1282,1165,1284,1114,1227,972,921,278,1090,1292,905,1094,954,982,1228,1256,1202,800,802,395,805,110,807,584,810,539,1127,947,816,32,818,280,951,1285,841,1074,1087,1089,1066,1091,1259,1093,1197,1155,1338,829,1137,1056,1140,1051,1082,1308,1221,829,1035,915,1352,1094,1178,909,
1350,1139,1344,1134,1177,1268,1339,1088,899,1342,1313,1153,1039,998,1084,112,1298,1277,1301,1162,495,1187,1166,1267,1211,1063,1319,1245,936,1322,804,1017,1183,741,1327,944,1148,948,1333,1044,952,1123,1286,1118,1258,1396,345,1176,1405,1117,1310,114,1193,1195,582,1353,1316,999,1124,829,1408,1152,296,1411,1272,1171,1390,1424,866,1261,1250,1264,32,1240,1296,112,1374,1345,1154,1354,1317,1422,843,1108,1335,1110,1131,1219,1059,1291,964,1324,1451,1443,1421,825,1364,1029,1360,1142,761,604,415,85,73,798,109,
626,384,522,370,764,766,723,725,771,728,876,639,682,642,864,1464,647,296,1475,1477,769,726,1480,833,382,317,319,321,323,325,545,1480,294,903,320,276,340,319,68,447,278,292,100,753,452,101,918,291,445,1508,1510,868,336,1514,708,1198,101,103,734,545,1520,266,1522,1513,706,1515,370,293,1534,787,1531,1511,1523,1535,708,1486,605,288,665,530,616,395,421,1059,1483,785,340,335,337,339,1140,77,336,338,1123,513,1417,1397,809,1505,112,277,100,433,515,330,407,890,355,699,1574,276,112,699,874,315,474,705,1366,
416,451,699,760,370,913,464,292,613,876,615,393,1552,782,1555,684,545,1411,545,575,449,345,35,265,1613,102,1553,1425,288,1427,353,716,901,903,1609,737,32,53,740,1375,1081,541,120,1312,1456,439,441,443,320,751,1610,1544,755,866,832,437,109,406,1633,1462,569,1546,415,607,609,611,108,1598,389,391,1601,618,353,661,97,663,775,384,1657,1600,617,445,783,683,643,1540,662,1567,345,1663,663,1490,770,437,403,405,407,1639,1625,416,418,420,1628,296,1327,429,384,432,32,434,98,600,1651,345,1666,385,387,1599,1659,
1670,437,649,100,623,116,625,627,383,655,631,818,355,1482,641,1556,644,602,762,345,1713,1715,653,1717,716,1719,659,1029,619,621,1712,651,1716,629,1734,704,660,1676,1549,680,1502,1714,340,104,572,1507,115,1509,1532,1512,1524,1516,834,305,844,1540,1755,1521,1758,1641,601,1059,1727,296,1747,1551,300,602,1604,1674,256,276,1055,1365,574,524,1640,32,739,532,1196,1442,337,320,383,679,1456,105,1676,807,1679,101,1681,1794,1272,777,107,80,1453,939,110,1440,714,1249,870,1711,654,1733,657,1720,316,775,121,1804,
1806,571,1808,874,1334,105,679,1810,867,1262,1815,656,1806,406,1167,1593,353,84,104,473,611,105,1129,1497,402,633,1503,340,517,383,663,1754,1756,1542,1539,754,1769,371,1465,345,1467,1469,1471,647,1776,1723,1605,787,275,108,108,658,114,379,313,259,337,407,84,1506,1649,511,964,324,76,97,1587,70,814,87,1276,1300,1140,1327,459,108,1573,32,1897,898,287,429,1277,278,287,49,48,48,287,50,1909,287,51,1913,32,52,1916,53,1916,673,1910,32,55,1916,56,1916,57,1916,562,821,437,1885,1877,100,1879,103,1881,638,1883,
1081,1420,336,1876,1287,1257,1005,1016,1830,1294,503,874,1871,1873,818,1876,1887,1587,443,608,1041,1460,1795,1499,1958,876,1960,116,1107,1403,1150,1182,1617,1141,1442,1954,1874,1945,1118,727,102,116,1648,1589,1353,1977,1956,1499,1172,896,514,111,109,82,1299,1983,1373,1456,355,588,1278,582,1327,1827,951,287,1399,1128,874,1934,1172,1995,1277,1431,1019,1619,823,1377,100,1979,1414,1991,307,1994,1996,1984,1409,1441,511,1987,278,1957,1888,1967,101,1961,911,2015,1102,1225,980,1115,1876,1840,1842,733,108,
1962,1027,1782,1974,1419,2019,2021,898,1939,2027,2052,1315,2054,1989,1118,2013,468,2039,741,2017,34,2031,1875,2062,1414,2064,1969,1214,1941,1933,1499,1041,1270,759,370,2070,1945,1430,1174,1589,1433,870,1251,1436,1253,437,2084,2072,2056,276,1416,1964,1886,2034,108,1968,2049,1781,1461,1985,1094,1934,520,1936,699,2074,1456,1943,2020,1499,2045,494,1843,2048,911,1447,1828,1449,1151,995,1346,2069,461,1955,2032,2096,278,1939,1981,1997,1622,2115,2061,2101,1959,2036,1969,911,1963,2077,2083,2131,1978,2134,
114,2137,2066,1410,2041,2018,2043,1499,2111,1937,2137,2100,109,1172,1939,2099,2148,701,1989,2086,1232,1247,1161,1235,2091,1437,2170,324,1990,306,2024,2155,1426,2157,1457,1944,2152,2057,2026,1998,2169,288,2011,1980,447,116,2184,1618,2186,1934,2119,98,2121,636,120,1380,1894,2108,2129,115,99,1954,780,2147,2210,1442,2212,2214,291,1180,2127,1789,1376,2159,324,2161,699,2023,1993,2164,2181,1992,109,2168,2217,2225,970,2085,792,1230,1099,937,1323,1395,1974,1398,1329,1400,1332,2005,1932,1272,377,2002,741,1820,
2255,2078,324,2203,2121,2208,2256,1629,2260,109,2262,2047,1146,2249,1128,1972,1456,2095,2180,2196,1982,2236,2028,1367,2267,2012,1996,2280,2059,2211,2141,2165,2063,2285,2076,2237,1081,2110,1878,2229,2182,2231,2193,2187,2117,2261,1841,2120,2047,1172,2199,34,2068,2195,2073,2191,2139,2301,2116,2055,1098,2087,2281,2310,2201,1965,2102,2104,911,1147,2273,1046,2223,1418,2060,2226,2268,2305,2204,2270,1034,914,1037,2301,2276,2290,1414,2286,2128,2218,2289,1946,796,2216,2321,1353,2312,898,2230,1994,2192,2294,
2267,1966,108,1823,1454,2246,866,1694,2197,287,307,112,287,698,1277,596,2299,109,953,2289,2269,1844,2271,988,1331,2274,2316,2289,2352,2287,2348,2334,2233,2183,2320,1974,2311,2189,276,2309,2068,2343,2381,2122,1074,2081,1494,34,1934,2124,951,309,466,1325,1895,809,459,2234,287,1646,1936,591,2370,276,1953,2150,1988,2277,2022,2377,2346,2224,1942,2213,2131,780,2328,1331,636,418,1529,2360,370,2202,2336,2121,2080,1140,1644,2443,2171,2241,1244,2389,2347,2238,982,2033,1889,814,2431,1184,1302,1281,571,1194,
436,701,115,2236,1858,1620,2426,2133,2304,2046,1844,2454,2432,2094,2473,2071,2142,2035,2037,1125,2272,2385,2330,1973,2455,1081,1752,260,83,2434,1872,66,117,1992,1809,2406,2283,1118,2136,2197,2058,2491,2361,2102,70,795,1394,2414,1589,42,2267,2403,1172,2461,1314,2288,2334,2403,2478,2332,2129,1934,2362,2326,1222,2395,866,2401,2481,2458,876,1890,294,2400,2186,2252,108,2412,103,2514,2321,1896,2377,2419,478,100,2422,32,2371,2379,2392,2504,276,2137,2507,2479,2450,2428,898,2540,1232,2563,109,2362,2437,815,
2544,2546,2247,809,1166,1906,32,591,1982,2373,1996,2010,2118,2445,2307,2063,2359,2353,2109,2324,1587,71,637,2115,2496,108,780,669,571,590,1677,1693,809,2070,287,542,119,316,115,2425,1872,2151,2564,2319,2173,1589,2534,2613,2427,2165,2172,860,1949,1206,1812,1383,278,2612,2132,2482,2569,2510,1891,1893,2265,2604,427,1901,2376,1898,2578,1904,468,2578,1908,1923,1912,1923,1915,1923,1918,1923,1920,1923,1922,287,1925,1923,1927,1923,1929,1923,1931,1404,2149,2620,2474,2622,2452,1947,1080,2244,2513,1326,943,
2487,815,949,1109,2666,2179,2344,2356,2377,2074,2561,2526,1976,2535,1499,2525,2521,1442,2528,2634,294,839,121,591,2676,427,964,542,1828,287,2665,2584,2475,2306,2382,2146,2050,2107,2590,2129,2343,2228,407,2357,2164,2524,2714,2722,2586,1844,2222,2490,2562,2042,2239,2585,2476,2404,1423,2532,2016,2186,2343,2012,2589,2390,2456,878,1876,2719,1938,1882,2442,2731,2457,2592,2537,814,2566,1104,1198,2499,307,110,2495,1954,85,1940,2088,2175,2627,887,1747,2498,2500,287,73,404,110,2771,2760,93,1238,32,2769,666,
664,2759,594,2773,2775,2777,594,2779,1307,2752,324,2447,1589,2449,2683,2350,1391,1290,1950,2627,1295,2798,2278,2075,1194,1456,2008,1331,2573,2702,585,2577,114,1903,2369,32,2374,468,953,2597,780,2756,2295,2733,2711,2048,951,1705,260,2813,871,594,592,1844,1332,102,964,95,406,571,260,287,2839,116,95,2001,2843,2836,2847,307,95,477,1181,2845,2840,2853,464,2583,2792,2745,2152,2357,2520,2266,1226,2793,2684,278,2154,2737,2040,2567,2805,1414,2190,1277,2688,2694,2030,2691,2794,1269,2448,1271,2876,1065,2315,
2750,288,2402,2726,2735,843,1340,1372,2890,2716,2391,2732,2615,790,2377,2560,2742,2508,2667,2631,2318,2904,2234,2825,2503,2877,276,2880,2867,2683,2529,2144,1509,404,716,1808,2833,933,634,430,287,111,1720,2930,2579,430,45,441,794,467,2707,2835,894,2785,2761,2597,2114,2174,91,1235,2782,530,2789,110,2787,594,2953,2779,2931,1161,2770,2944,2955,2776,2944,2791,370,732,2765,2900,2882,2668,2632,2747,2163,2342,2883,2633,2143,2485,829,2410,2126,2729,2689,2744,2188,2710,2337,1844,2519,2293,2970,2433,2220,114,
2439,1528,2574,2908,2472,2972,2536,108,2538,1969,342,2701,2415,2703,815,2706,32,2708,2517,2894,1970,2681,2386,2891,2302,3003,2530,829,2897,2918,2029,2826,324,1598,1687,415,2665,1616,2367,809,2665,2370,2894,45,594,108,121,1903,2102,3040,110,3042,2709,2670,854,2242,935,2674,2926,3009,585,2810,2679,1402,2681,3049,2403,1041,2914,2868,2863,2483,2103,2144,2383,1330,1149,2489,2140,2392,2623,1100,2321,2089,1263,1266,1265,539,3062,2894,2308,2873,2067,2739,2977,2166,2399,3088,2156,2875,2892,3091,2558,112,3026,
2282,2909,2614,2870,899,2314,1067,2596,2995,2982,1656,291,2998,2275,2977,2747,2947,3020,2317,2152,2906,2899,2743,1081,2893,2734,1041,1358,2341,3020,3126,2828,2991,2808,2976,3002,2753,3069,2980,2896,1371,3101,1975,2986,2303,3105,3143,1986,2977,3063,2713,2106,2164,2362,3005,2866,296,1280,1163,1698,976,2467,2194,2469,2293,2471,3097,3137,2903,2357,3148,2591,324,2693,2919,3168,2910,2827,2989,2598,1407,3094,2185,3096,3021,3121,2197,3157,3102,2683,2403,2206,2728,3075,2902,3147,3107,1343,2993,2915,898,3189,
3144,1081,2775,323,294,1054,113,453,2502,3066,2987,2978,2754,294,1892,1996,2833,2640,1900,461,1902,2935,1905,2816,1786,1916,2649,1914,1916,2653,287,2655,287,2657,1924,1926,1928,1930,539,563,3049,3155,814,258,1646,3042,807,697,1592,3103,2621,2284,2014,3183,2200,3185,2696,2979,2145,1370,1341,3123,3E3,288,311,2500,2762,2131,2975,2766,2949,2768,2960,2783,2953,2963,2957,2780,2951,2784,2772,32,2774,2956,2965,2556,3196,3092,826,2992,3124,2862,3214,3291,3065,2751,3067,3215,3139,3262,2736,2617,2321,2619,3178,
2988,2446,2327,2678,2983,3195,2869,3245,2698,3007,2603,288,1327,2704,429,99,2941,553,2682,2158,3196,2921,608,2923,655,3055,1589,1327,2928,704,2934,2932,2929,384,1903,2936,2938,588,2940,3013,2942,3295,3146,3117,3219,2387,2523,3016,2885,2796,2887,3328,2869,3151,3263,2898,3108,2301,3260,3216,2198,3257,2322,3259,1499,2571,542,2812,3056,1236,373,2643,2818,2820,1837,3253,2669,3330,116,3332,2925,1455,3377,3337,1695,531,3340,3338,3342,2935,384,2937,104,2939,104,2941,384,2630,3104,3316,2807,3319,34,3159,1384,
3161,2466,1616,319,2470,1536,2758,3269,2597,68,843,2999,1279,2767,1262,3282,3278,3285,2788,3288,2959,91,2961,3284,3286,2964,2500,2966,2683,2974,2197,2232,1118,2357,3122,3365,3119,2289,3386,3017,1448,1129,3074,3136,3308,2335,3127,2123,1971,3456,3020,2444,3460,1074,3129,1539,3200,2568,1172,3448,3199,3294,3384,2632,3362,3304,1246,2618,3090,3169,3050,1003,100,3175,3027,3350,2911,3171,2907,2730,3177,3104,2393,1993,3473,1830,2354,3179,3310,3363,3172,2717,3098,2916,3100,3198,3499,2333,3290,1213,3135,2442,
1859,1833,541,67,630,278,1560,787,1672,1484,326,1702,296,82,306,1016,1655,3519,335,716,774,305,307,2258,1846,1603,1868,1778,2408,1499,2802,1832,3537,519,376,1497,1876,1701,1726,1861,361,3550,1638,370,798,111,107,331,1806,3323,2715,681,3542,903,769,1588,2321,3251,1686,2468,703,1588,3167,34,663,111,793,637,1752,99,65,1036,1382,1235,3573,103,2780,3590,3553,1770,3555,1548,2783,1774,269,370,1729,652,3517,1817,1735,1799,1722,784,1869,123,3527,288,3602,1741,1718,3605,1744,121,1799,1747,437,636,112,3539,
378,1499,3608,1673,903,1558,1564,1561,2595,1272,357,3633,3624,367,504,3612,346,3557,1498,380,1474,670,67,3211,1501,1848,1750,545,474,3114,1530,1765,1757,1543,2554,3419,3320,796,1854,1766,3659,1858,3641,1773,1660,269,1867,3609,3543,1538,84,1796,3410,1419,1575,116,3676,335,1215,1859,669,101,119,278,3586,431,1557,101,441,387,903,1169,3526,1726,902,573,918,2749,3611,1620,444,1518,3526,3641,1863,1993,1865,580,1554,3568,685,687,964,690,3023,843,3298,1071,776,598,780,80,275,793,282,115,3487,3190,288,109,
1706,2103,519,1732,656,84,716,115,315,1808,68,1015,3334,1783,736,374,49,3235,1788,2985,1368,3724,778,2436,2636,1382,1303,1283,1189,570,3717,689,282,3064,3370,2068,451,383,1824,1324,3030,3377,2602,796,1580,32,411,260,2848,2499,95,3782,101,2841,110,1826,114,2594,1194,1835,294,278,72,572,3682,3678,1361,3728,292,115,115,2799,3732,3204,437,1791,461,633,3741,3773,2365,110,3746,3389,2366,3493,3567,3729,3805,3134,3801,2129,3268,2760,723,3680,3588,3275,3435,3277,2962,3431,3287,3440,3281,3276,2952,3836,3438,
3280,848,3803,3730,780,2799,2309,3080,2177,2093,3765,98,688,690,2721,2948,3762,1305,3764,1022,3757,779,291,318,633,68,716,103,2998,408,2886,2082,3864,1821,3725,291,3529,2972,801,625,1721,3875,2407,3778,1937,3814,1809,3816,3818,3531,1456,1169,1804,3849,3077,3832,1262,3853,1266,437,820,921,459,291,100,3795,609,3722,788,2944,1820,520,3700,3900,717,3429,3843,3432,3839,3434,3436,2760,3279,3288,1210,3878,3758,291,1275,1024,1086,3142,3492,3755,3929,3897,3932,909,3850,3370,3852,1435,2178,288,118,114,3910,
974,998,1324,1424,1624,415,1612,102,54,1922,3034,2738,3185,3896,3879,2153,3444,3860,1281,3763,3383,3877,3940,3950,3847,3824,3077,3054,3390,3335,2677,2384,3059,2542,2943,2500,1881,3872,591,83,3766,690,3918,870,3920,3437,3922,2778,3840,3834,3842,3997,3838,3999,437,102,111,99,902,3690,97,2495,542,680,3956,284,48,46,1627,3754,2881,1942,769,411,679,675,1335,3990,3953,594,3955,1784,1688,3958,1614,239,3962,2874,2757,3723,3930,3866,3975,3581,3804,3806,3513,3826,2218,3992,282,3825,1456,3828,594,1820,3994,
91,3996,3926,3837,3439,3999,3924,3835,4003,4062,2790,953,4024,516,1800,3693,1828,591,2389,4016,271,4018,54,1692,3733,416,4050,4046,1414,3912,686,3856,3718,282,1968,3388,3894,3391,796,3341,3394,2933,3397,3393,3400,3402,3404,101,1387,4041,3898,2671,1320,1392,938,3980,2547,3982,3072,1401,3985,1190,2944,839,3703,1974,3080,4059,2786,4061,3280,4064,4002,4060,3844,3928,1803,3966,3933,1073,829,3212,3973,4135,1145,2038,3770,2186,1791,1169,1881,461,280,112,262,3991,114,4025,101,83,4030,2574,4077,3660,453,4081,
788,3359,354,3865,3849,2588,3265,3821,4088,3857,282,3443,1982,3895,355,3974,3118,3079,2463,3160,3971,4069,4089,3767,2469,3357,2321,2797,3714,3823,115,2264,3761,3970,3862,3972,4040,3974,3727,4044,3848,3077,2801,2626,1262,2804,823,4084,69,611,2602,3469,446,3750,1759,4163,4191,34,3949,3951,1173,3305,4216,752,296,4035,1613,4037,3089,3185,686,4154,4071,4027,4074,4156,4158,4076,4033,3751,4163,1353,640,4193,3272,4181,2628,3227,4184,3939,3966,3859,3273,3861,1188,4199,3822,4045,4108,3051,1288,1948,1007,4207,
1011,1952,437,4222,111,1836,278,3883,515,110,1794,1608,4242,284,50,4244,1315,4084,2747,4255,3470,353,2144,278,1655,1820,3974,807,4293,3966,4253,3931,114,4136,2741,4170,3938,4134,4299,4136,3194,3969,4183,4198,4106,3974,4136,3808,1419,4084,3720,119,3025,3937,4022,3846,4203,3824,3182,4225,2533,2541,3950,4272,3796,114,1874,4032,4217,4228,1909,55,516,99,4231,3095,4039,4260,3848,4169,3449,4288,4200,4254,1390,4315,1094,4290,610,542,4202,4193,780,4295,3976,3806,291,4298,4042,4136,3071,2250,3019,4349,2310,
3908,3907,921,4223,4275,1793,4048,511,4246,4261,291,4353,2129,3965,4299,4052,2301,4271,4273,1415,4158,3800,3031,284,49,3230,4021,3176,34,2839,114,320,3890,3774,594,3893,3748,3475,834,4285,2297,1880,4122,3266,4345,3977,4109,2800,2625,1140,1951,559,4312,3966,4358,4261,4347,3474,4416,4386,4042,4308,4256,4197,4258,4425,4299,4384,4049,4186,690,4368,2329,1111,2115,4084,2594,2969,4410,532,588,517,1874,4011,4013,3008,787,4160,1787,4451,341,716,1809,3744,1324,4405,3816,913,101,3659,4371,3905,100,4374,3909,
4331,609,4157,877,3954,4144,4233,4317,3070,3311,3983,3313,2301,4381,4204,2904,2073,4321,4400,4172,4090,4363,4419,4440,4380,4362,3943,2673,1393,4409,3035,427,3058,4117,1403,4185,4173,115,3005,3247,1844,3566,866,3590,928,4084,1041,4320,4303,4322,3855,4514,4504,3480,3306,2186,4432,3759,1212,4086,4483,4344,3772,4465,3531,4468,3745,3747,4113,4462,290,1742,97,1881,1657,3814,3743,3531,4408,4546,4460,1909,1923,4462,4497,4187,4501,3756,4107,3941,852,3978,4506,4546,4508,3057,3312,2251,4512,4365,4535,4137,1446,
3462,4446,4490,4362,4564,4577,291,4427,4204,4419,3851,3427,1434,3082,2092,3903,4528,4498,3453,2125,3455,4582,3119,4084,3111,3376,3981,427,2371,2550,2421,531,2417,2024,4069,4235,4026,4073,99,591,4335,4227,288,4229,265,4342,3184,4344,4146,355,4148,414,105,4151,110,1881,117,517,2762,4471,2501,3886,4323,4359,1242,4590,3053,4570,3820,2003,4115,2250,2680,3454,1168,4362,4180,4123,4182,3413,4252,370,4054,110,3916,667,2948,2950,3841,3283,4131,3998,4068,4129,4670,4126,4132,3839,4586,4300,1274,3760,4309,4660,
4311,437,4540,4406,3817,4545,4649,4527,4411,4442,3768,3152,1138,4519,4171,4084,3374,2543,1904,3425,4650,427,2580,116,1239,3379,3227,3382,874,4687,4466,594,4543,1324,4212,1888,591,4215,1643,4165,4562,3719,4486,1074,4585,4305,107,839,1566,2833,1570,1572,1578,316,3780,290,3700,100,1013,588,2602,67,3323,107,65,2675,4279,4336,4452,3989,3788,102,413,529,2213,4640,4626,3662,4608,3581,103,591,3786,4757,2219,4640,4104,4513,4498,3352,1381,2316,4084,3156,3293,1432,4659,2578,2465,4105,4643,4382,4646,4327,3426,
3274,3901,3946,3854,1867,4644,4493,2565,4538,4565,4313,4142,3467,2340,4722,4699,4694,115,4318,3111,4370,4547,4503,2377,4196,4310,4437,3904,4373,111,3908,4223,4480,2245,4635,3677,3895,4503,1096,4047,4447,4806,3005,3912,4534,4567,1389,4787,2624,4266,4422,2803,4269,4730,4578,4388,3020,4834,4680,3934,4728,2724,4490,4178,4426,4812,4537,4788,4038,4023,4806,1939,4814,4684,4816,4597,4187,3005,3218,4775,4607,585,3221,1901,2643,1996,2646,3229,1916,2651,287,3233,1626,1921,1916,2659,287,2661,287,2663,3325,3243,
4522,4831,2460,3318,2833,3322,3012,3014,4843,4828,4856,4531,2396,1225,1859,3676,4721,1799,1801,1479,773,3541,3673,903,275,1075,856,2637,4082,1079,798,795,4919,3809,1859,646,1547,34,4909,768,770,772,1481,1594,429,260,79,2499,298,1602,3523,1777,1008,750,3377,4707,2423,2372,2819,1996,2376,2234,3594,1860,1487,288,4940,1661,1548,111,120,1668,1708,4941,256,1749,3696,1807,1324,4157,1519,3657,1856,1759,570,976,4971,3664,3658,1857,1536,3641,1653,4291,612,3736,1669,1552,3672,3629,409,3871,732,2602,88,798,294,
1871,115,4621,1785,34,3958,4559,48,4761,3371,4344,3393,4434,3749,4622,4461,4416,4155,5001,4034,1614,4625,4163,2068,1646,110,5011,4462,3393,4241,4752,5014,3821,5023,4195,2301,100,4993,4720,101,89,4997,451,461,5E3,2395,4160,5003,1909,265,1909,5007,2068,1635,442,444,4395,1641,4219,4165,5035,1664,4994,591,90,5040,4999,5017,3957,5005,5020,4399,4627,1081,5059,3872,5037,3586,4916,4810,4160,1920,4283,2129,2855,1151,4460,5081,1790,825,5084,4280,738,5086,511,5023,1509,440,2984,4692,288,3393,5066,1611,5019,
1615,5021,4145,5036,2602,1595,278,1800,2742,5079,5092,2492,4682,4459,5090,1786,5114,848,4969,4407,5107,4458,5012,1785,528,530,5057,3876,823,976,3870,5060,5037,5055,3781,542,5129,5070,3267,4165,4155,5028,4622,4560,2908,1859,3614,116,3623,1874,635,2595,4913,4991,1725,3595,4956,34,5150,5152,1818,3619,1746,2783,3622,4987,68,4910,3628,3525,782,5122,110,565,5117,4752,5147,3821,626,4688,544,5178,5146,5120,645,5175,555,5185,1785,5180,4304,2472,515,1808,5177,5126,1625,5193,5098,2130,5196,1324,5190,5199,374,
5201,4400,275,5204,594,5184,5207,4017,5187,353,3570,3250,1591,3574,3164,3576,4975,5195,3531,79,1414,5137,34,88,89,489,4163,1327,5232,90,287,88,90,89,287,89,5240,5243,90,88,287,5247,5242,32,5241,88,1585,1493,1623,5118,91,2780,1974,1235,4963,4910,4933,3327,416,2830,5137,5030,5194,532,4464,4554,1808,5214,4226,5192,5217,5272,3773,4715,110,5206,5277,5200,5279,4463,5281,3531,5198,5285,5208,5187,3641,5263,4931,1492,773,4935,572,262,4958,1671,4943,340,593,1500,4870,428,2818,4609,4950,2375,3222,4953,760,3554,
5160,5303,437,70,3744,3604,5153,1819,4853,778,2364,4409,3524,1724,787,1780,4697,1456,280,335,1792,1470,1456,121,97,1763,4371,1954,3895,964,517,3684,5318,4928,3669,1709,370,5322,513,5150,5324,5164,3620,5167,3650,373,903,2493,680,1541,1533,5225,823,1762,4979,4974,1768,3668,3598,3670,1616,5331,3610,3411,4851,5191,1625,5270,5202,1791,4276,4278,3119,5268,4751,5013,5287,4432,5329,1324,3546,717,5356,1731,4549,5325,121,4296,5328,5175,2010,1797,1140,4930,724,1491,424,370,111,265,530,116,5276,4416,5417,102,
5419,5284,4416,2860,4869,4371,4510,4702,2413,2833,2815,2817,2581,5313,2821,437,5083,5097,4400,1583,116,5349,4389,1403,4606,4114,2639,2549,32,2420,2552,531,2555,928,2830,3776,5309,2839,1872,2857,2847,2842,572,5464,3784,1714,5467,3781,2858,111,2854,1157,5468,2859,2636,4771,437,5342,5344,4462,5346,2148,1859,1814,3739,1743,355,5406,1805,5175,5172,5332,1779,5383,4371,5337,3706,5340,5447,819,3543,1009,2627,3604,3910,4954,4927,415,5353,1552,370,3604,3533,3521,3883,1169,5397,2246,5380,1778,3641,3529,5212,
3532,3520,716,5519,5491,5494,370,5228,98,964,318,5429,3567,4914,685,911,1881,591,4464,5390,5215,4078,4019,5287,1607,5384,3957,5103,5050,2186,5482,5137,5209,3488,370,820,320,2795,5548,5138,529,1642,1019,4220,115,911,2058,4160,56,5287,4273,3891,2051,5085,5141,4925,353,3735,2832,5393,5002,2839,120,336,95,2853,1575,663,3671,5582,1327,5589,5591,2853,820,3534,97,2857,5590,100,5592,5474,5594,3693,214,1168,5348,1973,4160,5560,4082,5572,1339,338,5257,5179,5287,5618,829,3623,2286,4160,1918,57,4080,5582,917,
3641,5538,1300,370,4377,4277,101,5516,5529,97,386,633,335,1547,397,5541,5158,4955,4928,5638,4026,3530,1808,542,5517,716,5644,324,647,370,991,4515,315,292,5359,1735,5495,5381,5558,4490,5613,4053,591,516,1752,1686,5587,5286,5632,1094,2602,5677,699,5653,4015,5118,4018,52,5294,5351,415,5668,3618,668,670,3604,1847,5364,402,3663,3656,1855,5369,1768,353,4009,101,67,745,407,5367,4973,5706,4161,1516,3641,5699,4990,5173,787,5709,5399,870,1475,3648,4784,709,460,4450,4160,5128,5569,846,5131,512,2499,276,3885,
5553,4218,5582,2449,5149,1740,5151,637,5404,5361,4666,4942,3715,545,2542,5449,5292,345,5454,2701,5235,2416,5452,5760,5456,2424,1933,5410,1589,5412,1478,437,5423,5419,5276,5615,5287,5774,3693,5284,5777,5682,2129,5428,2209,5566,5616,5583,288,5431,5757,5045,2815,5007,1327,5435,2579,3381,2861,370,5441,5559,5287,3566,5782,4462,120,5803,5783,2218,5459,1706,5230,5462,462,5762,427,538,3397,5815,5468,5466,2844,5472,2847,2849,5471,2846,5608,5475,140,2856,5825,5830,5785,3383,5376,1550,5378,5515,276,487,5695,
5741,5648,5157,4459,291,107,293,2799,5137,754,5130,2407,5396,5175,5725,91,1806,112,5842,5489,3617,5491,5327,5493,4688,5409,1664,3410,5771,5414,4270,319,105,2602,5137,5734,5854,5874,720,807,1489,5297,5415,602,5674,4490,5841,112,5687,3115,5527,5291,4416,5211,3531,5426,3821,5897,5275,5341,5343,1999,460,4748,2609,121,1881,3798,260,4394,5680,374,2649,5788,3679,4733,5914,345,4735,1523,5817,585,5922,1899,1169,4739,412,530,4742,5121,5861,112,2206,5033,4435,1163,4661,353,5366,69,666,1592,5920,296,3393,4364,
5924,428,430,1697,3210,259,3789,287,5954,5607,2001,5957,1738,3789,5469,1239,589,1828,5956,1436,5966,99,5964,5969,5536,5971,406,5972,5954,279,5968,5978,5826,2499,5961,1518,5963,5960,32,3210,1836,5980,117,5990,5987,5989,294,5986,2499,1585,5906,65,5908,5910,1753,5946,5717,5880,570,1762,5943,571,5679,5742,5947,5952,496,5950,5948,3227,5958,5991,5955,5994,5962,5976,5987,4009,5974,5968,6027,5967,6026,5970,5997,4708,5988,621,5979,406,5984,5979,6023,5985,6025,5983,6036,5990,6039,6046,5996,6023,6047,110,5469,
874,5366,4556,2246,4558,1916,4547,5890,3193,1157,4862,1906,5940,5371,843,6057,4159,5118,2647,5917,1094,104,4007,118,5905,4415,5570,4165,412,2371,5844,1974,5745,4289,3651,5365,572,4212,4215,5368,1767,5717,1517,323,5711,1852,5714,5705,6095,3578,1538,5373,5716,3578,4619,1828,107,6106,6095,5734,6008,843,6092,6112,3666,4982,5693,1703,5863,5404,1616,335,3694,100,1504,2371,3698,4040,6131,371,3917,5650,5366,6133,5572,843,3708,1594,112,1596,1828,3604,70,1733,680,5523,1504,6143,5110,1382,5872,770,287,1475,
672,767,5413,770,1285,292,111,5109,292,6154,1676,4910,6157,670,6159,4910,5510,1771,303,5863,6147,3520,3622,426,1876,5700,1849,545,1977,2499,6118,4981,1525,3494,818,6189,5370,2310,4747,6194,271,6114,5837,101,3599,5379,5305,1606,1752,1898,604,4267,870,1562,472,3552,437,1586,1481,1140,4521,369,1594,4070,4617,4028,2831,1707,6203,5156,5722,574,1497,4378,5809,4462,5431,5878,5139,5735,741,4220,5052,1637,445,4160,5853,5744,1271,4983,608,4985,1656,5169,6203,5515,3548,747,749,5670,5524,6121,296,1562,1559,6256,
805,3536,348,5658,97,5521,2574,6150,340,4698,5271,34,5808,2301,813,1993,258,268,4903,5148,6260,3597,5838,5354,353,5358,6123,5164,4011,6184,3652,787,3735,3700,727,97,633,6198,6096,5584,588,530,2764,6302,6114,6304,3700,3423,119,2574,6094,3659,6309,3494,6188,5704,3665,6190,1760,6192,3636,1764,6102,6119,6191,6196,6110,6308,6237,370,6297,530,4212,609,6302,3667,6285,34,5513,1775,3714,5649,4459,319,4147,535,4150,262,4636,4638,4759,293,5621,4622,6245,6086,4165,541,112,4591,3081,539,44,3321,1676,44,4687,5511,
44,383,121,3441,486,530,72,383,797,769,724,3078,6360,5737,307,461,3676,4450,4520,5221,408,6220,353,1711,6290,5403,5360,5769,5845,6229,3641,6396,5747,5843,1745,5870,3621,5534,114,5536,5151,5169,6268,6258,903,406,1454,542,5892,6005,5386,4400,1631,6421,3020,5094,6231,5639,5350,5159,4928,4963,6415,5663,2102,6416,5306,4894,2700,3410,3321,3011,3324,3348,3326,1826,5448,4703,2833,5312,5765,4952,4614,4686,2922,267,3333,4571,1019,3336,4096,3396,4098,4097,3343,3399,3345,117,3347,5819,5729,353,4007,294,4517,
3249,6218,6392,6456,608,5220,698,1686,370,323,3140,1042,4581,1450,2301,6487,3303,3141,3264,4348,6234,4574,5757,4572,5310,5437,5797,4712,4006,2635,3353,5309,4872,3223,4874,3226,1907,4877,2650,3232,1919,4883,1923,4885,32,4887,32,4889,6446,4891,370,6475,3409,6065,3227,4783,3163,2408,3165,3514,3578,6493,3769,4857,4232,4539,4727,1349,5498,4462,6529,3912,6539,4487,4116,4601,6491,3515,6341,3710,1470,2835,1473,353,3599,390,6294,903,859,259,4472,6535,6327,6322,4926,6176,34,6557,3712,5596,5540,5846,256,578,
3520,5858,6155,679,874,5672,3515,5355,3744,6397,3616,6124,6228,5496,3641,6591,1816,6124,370,262,384,2996,6252,5378,6594,5381,803,465,633,5565,6385,2407,111,3670,73,4804,582,6219,5708,666,6494,5483,4723,2082,5295,6604,6288,288,5163,5669,6606,6259,6432,5512,5377,6628,6342,4065,2760,6564,1482,3730,6339,3661,2069,969,5362,6326,6321,6195,6109,778,6332,5568,6572,3596,6574,1468,3711,6559,6577,6272,1603,3730,336,3881,2631,4530,4111,4823,2833,5431,4653,4600,4655,6665,100,4808,6490,2331,5202,914,3805,6666,
2481,4092,6458,3819,4704,1568,427,3392,3339,4099,531,4101,6469,6471,3349,6486,6544,3721,4798,3846,6677,2362,6483,3252,353,6216,3571,1974,6619,1554,6677,6667,1874,4778,3514,4249,1303,6533,3416,6536,501,3578,2070,2105,5335,2301,2E3,6319,5309,6673,3060,4654,6481,3387,6688,4094,5309,6693,3397,3395,3393,6467,101,4102,3346,3403,3348,3405,6705,6684,100,6717,818,4867,5116,5450,4871,3223,2641,3224,2644,609,6514,2648,4878,6517,2654,6519,2658,3239,2662,3241,6447,2480,2972,4832,6704,645,4045,6685,2972,4318,4525,
6497,4431,6784,6756,2481,3496,109,4833,6791,4516,630,4518,6708,6485,701,2775,5025,4780,4250,1385,1306,6783,6716,6793,2291,1277,3203,4245,6791,3438,5937,6721,4436,1386,6754,5931,6611,6624,5855,6791,6757,278,3291,6815,1094,2070,4318,4729,1776,6677,6831,4779,3821,6550,2486,4488,6553,6681,5443,6828,2535,6804,6064,4683,2578,6067,681,6811,6780,3246,6799,6478,1589,6714,341,6702,4319,3936,4526,5210,2481,3156,4895,3377,4897,6445,4899,6837,6755,4845,5345,2481,6540,6283,3963,4344,5585,6442,809,5861,5572,2423,
4754,6676,6755,6829,1415,3461,3018,3463,6879,2972,3255,2065,6782,3001,2631,6825,6081,5737,6683,5931,6894,6679,6897,4602,4371,6909,336,3472,2197,6549,6864,6836,288,6548,6903,6324,6895,3503,4495,5561,6876,6910,6686,6921,6546,6790,6856,6668,3099,6796,6677,3438,6805,4789,4257,6822,3476,6669,4206,4840,4208,4842,6931,6785,2910,2775,6819,4658,6807,1304,4864,6953,6792,6900,6813,6902,6541,4343,1177,6797,6507,5539,6501,6510,2642,3227,6766,4876,6769,6516,2652,6518,2656,4884,6775,4888,6777,6527,6962,6794,3912,
6529,3203,3412,4782,3162,6724,3418,6329,6916,6678,6864,4701,4810,6936,6893,6869,6440,5125,2575,3010,2705,6874,3242,2253,6962,6881,6384,4328,3964,6848,6964,2429,2234,6832,3505,7022,898,2137,7025,2690,6786,6864,4809,6898,4811,6937,1874,6918,2279,6840,6275,2070,6719,3410,6994,6532,6996,2468,6998,6323,4401,7008,6886,7011,3323,4890,7015,6715,7006,2972,7017,1121,7020,6838,4352,6935,3821,6529,4868,5786,7010,6762,1898,6764,6512,2645,3227,2647,1911,6770,6981,6772,6983,6520,6985,6524,6987,7058,6855,6877,2806,
7030,4502,7037,818,4318,7003,7035,7005,5931,6835,7067,6275,7E3,6894,6948,4421,1589,4423,495,6892,5931,3087,6967,5071,6823,6917,6965,3369,7115,3258,4344,6728,6551,4369,7099,5181,6970,2539,6925,6863,6488,7034,6914,7036,7060,6905,3935,6496,4430,7128,6838,3446,2430,7041,5202,7124,1074,7134,6554,6899,6938,7023,2394,7121,5008,6969,7095,278,6781,7156,2068,7105,6812,1414,2872,7162,3482,2631,7097,4574,7004,5900,7165,2685,7024,7146,4400,5791,6450,3377,5797,4947,5438,4259,7E3,6901,6530,2301,4663,71,794,6390,
1019,6862,7164,6900,3899,4667,2627,3902,3084,7117,7001,3331,6740,4507,6461,809,6743,6465,6464,6747,6749,6470,6751,6472,3406,818,3807,7103,6682,6791,7107,4839,7109,4841,4424,437,2968,4826,7159,4796,974,7178,6930,6926,3297,7131,7E3,6870,6441,4896,6444,7057,5266,5756,7181,6509,5764,2551,2553,5457,3476,6818,6760,6958,6945,6809,7016,6896,3454,7173,7104,7224,4569,4112,4691,942,4509,4574,6674,1336,1933,2788,447,539,771,6437,4642,6810,6755,4524,6866,6789,7142,7137,1874,6906,5736,2407,6834,6864,3912,7293,
7206,2924,6741,6761,91,7211,2931,6695,7214,6698,7217,6700,6962,4139,6926,3128,4803,3115,7027,2871,6919,7240,7021,7153,4797,7168,7064,7288,7096,7294,7131,2070,6839,6720,7136,6824,7125,4445,7151,6547,6858,3248,6274,741,6862,7328,4326,6882,4858,7204,4318,6940,7324,6830,7066,3153,4583,6677,6787,7285,7141,7042,6793,7199,3273,2176,4792,4596,6904,7038,4829,3457,1874,7355,7140,3510,4385,6791,7312,1036,6617,7223,7233,7375,1359,4846,7319,1874,6922,7090,5931,7385,7197,7138,6843,6552,7264,7378,6877,7360,4249,
7362,4594,3947,7386,838,4696,1351,3131,7359,4837,6670,4750,6734,7272,6736,6675,7204,6894,6729,7404,7152,7366,2313,6814,7236,4082,2084,6850,1181,6531,6808,3863,7059,5931,7044,7427,3414,4784,7049,3166,22,6645,7187,6939,7327,7007,6476,6859,7339,5921,6480,2443,6956,7257,6806,7259,7429,2130,6857,3217,7450,7209,5451,7074,3222,6975,3343,6513,3228,6979,3231,7082,3234,6773,3238,2660,3240,2664,7014,2666,3685,2413,3693,323,4963,1823,116,640,1829,6011,3874,5753,6346,256,5552,5566,5046,5005,5006,5105,3259,110,
6602,5574,5689,46,55,5778,6546,5615,46,51,5778,2499,1311,5112,6072,5692,6634,345,7481,1291,7483,275,7485,6709,288,3870,276,6312,2574,4967,1850,5712,1853,6320,4980,4975,3709,6659,6558,1472,6662,6205,1870,6880,4189,6612,3929,2259,1140,3625,3600,1867,1470,4924,6862,2116,5860,2764,6669,7063,4344,626,112,2764,2747,4861,5889,7561,1348,1026,7352,4846,276,2764,4449,7232,6755,5076,6703,7322,4344,6529,6477,7445,696,7447,422,7326,7578,1177,7571,1001,4500,7222,4400,715,2896,7277,292,6707,7281,6474,2755,7240,
7589,4302,7286,7104,7589,4444,2488,7135,5896,7406,4263,2672,7344,1160,4790,4593,3084,3083,873,6738,4093,7208,4705,585,7302,2781,7304,3398,6748,7306,5480,5188,7566,7284,7371,7314,6668,4205,7108,2321,7110,2629,6738,4599,951,7393,4400,6711,6801,6393,5941,6499,7249,7300,7184,6504,5800,602,7603,7396,4904,3185,6992,7422,3411,4781,7047,3415,7436,6537,7438,7383,818,7576,4917,7587,437,7594,119,6943,7265,7233,7557,7200,4791,7399,4793,7430,6917,7662,6806,7398,7619,4595,7203,7634,2764,7290,6239,4165,7560,7562,
4413,103,4657,4416,6842,6545,7569,6915,7266,7407,6949,7227,6951,7229,370,7680,7573,7353,7283,7543,6826,5933,7699,7262,4600,7648,7237,3579,5155,3020,7069,7457,7625,91,6974,6765,4875,7078,6515,7467,4880,6982,3236,6984,7472,6776,7474,6778,3213,4477,7566,7161,7615,6968,6779,2631,7555,7590,7613,4110,7558,7588,7635,4143,7678,6701,6488,7098,7610,7068,7053,7244,7012,7246,1168,7589,4175,4924,4245,7589,7756,7018,6883,7158,7349,6927,4138,7599,1452,7767,4802,7376,7638,4455,868,7577,7757,7116,7770,6622,6788,7357,
5202,7680,6957,4416,7680,7348,6932,7198,7714,7641,5261,7228,7111,7726,3624,7705,4287,5484,2481,7761,7785,7765,1838,3613,5747,6630,3618,3607,6632,1485,6341,5162,5749,6399,6408,5167,3601,84,77,694,7835,6439,3317,7243,6872,7245,6526,7089,6493,7623,6460,7737,7627,6745,2934,6697,3401,6750,7633,7600,7443,7338,7651,7645,7728,7647,7127,6275,7709,6495,3364,7806,4400,3206,4956,3572,7584,6923,6971,7071,6973,6763,7461,7740,7464,7079,32,4398,4879,1917,7746,32,3237,6521,6523,6525,6875,7884,2698,7666,7046,433,7048,
3164,7050,7803,7062,1224,3185,7875,119,7385,6924,7769,7585,608,6500,7458,2814,4710,287,106,902,280,102,3043,5798,5437,6505,7912,7333,7609,7335,6284,7515,296,6575,6661,774,5863,3910,6438,545,6587,6915,5888,6555,7941,6286,6202,5839,353,1892,98,6179,3683,545,6126,305,6128,340,292,578,282,1182,6656,5160,7943,7538,6204,5754,787,5219,6479,6484,700,5223,704,6195,2219,2131,4719,4214,7310,34,795,6566,100,87,464,110,5911,260,6690,345,4220,2842,3693,1172,3212,7477,5882,5363,6185,787,6105,7532,5374,6303,1618,
453,6099,5713,6644,1545,6341,6262,1564,5721,5496,34,7180,5433,6005,2310,4710,5795,2576,7926,7933,6035,7935,5708,453,5858,5727,453,874,4009,1522,294,5913,6427,7510,6236,5568,6007,5708,7863,541,1840,3804,305,1898,2809,7736,5202,517,275,3518,7131,5802,2316,5196,7054,585,5928,1577,1282,5930,336,1581,1571,336,1826,670,5883,670,5171,4662,591,3779,6012,5787,5287,1014,6689,1456,7248,8029,6013,3734,7252,424,5950,4613,1993,4610,5455,4948,2822,4014,5460,7492,5829,5823,8100,5597,3036,2835,5822,3891,5824,5829,
5827,8119,5473,5831,441,5477,5474,5835,874,6083,5740,316,5852,1515,8053,5099,5731,8051,5140,7544,5562,8055,4012,3735,306,5678,7487,3470,1859,65,494,281,3208,99,4619,902,3775,5169,7482,7484,3730,5945,7488,6579,5267,4014,5269,6060,5422,2499,5861,6243,5118,5758,5950,3956,2607,111,2010,3796,5579,5805,7513,5810,1135,5620,6233,4416,590,7637,6005,5691,8184,1081,431,7486,6070,5137,3753,4462,5849,610,876,7500,4752,50,4020,4462,5023,1477,1088,4409,5806,7940,5651,415,7517,320,8160,3805,7522,346,5863,6268,4157,
3210,403,6149,7540,3704,7954,34,5526,3531,5657,5642,8225,453,6430,5515,7946,3643,6183,7847,7963,1563,3522,2321,5699,5562,5642,4295,8223,8251,3635,7786,582,5508,3639,5317,8231,7548,6183,1594,538,119,6406,3566,6663,787,1792,279,8197,6005,5916,6074,2211,2371,8273,8097,8275,5623,8070,5230,8073,7982,7072,91,8285,8078,1572,8179,6419,2048,8283,8030,8285,8033,427,8289,1698,2371,8291,1565,279,4732,323,2833,8300,5926,8179,3207,1824,8182,5179,5550,8193,928,277,6568,7506,8206,7514,8215,6122,6398,5669,5663,6508,
6401,6595,6341,6343,7549,288,5401,6597,656,5404,6293,8244,285,7837,6405,6291,1735,6293,5637,6429,5654,5527,8235,5603,5660,5646,5304,7977,256,6076,2932,1509,414,8247,4462,5482,8361,515,5347,5445,104,8366,8363,8214,5511,345,8233,5656,108,6268,8354,5662,353,2953,7948,7541,3002,2775,692,7846,6861,6480,3575,7984,5707,2194,8387,693,7869,8392,3577,7673,6941,8396,8389,7882,7981,6724,5224,8394,7401,6963,6955,594,8388,8398,7983,8400,8021,8231,3925,806,8240,4549,6264,4945,8163,6402,8022,8246,8424,437,4011,7838,
112,6593,8426,8331,8231,8433,6599,353,3648,5974,6146,6148,8384,7490,589,5871,6169,5885,1190,4813,5411,8450,6161,1802,422,6080,582,6584,5886,3267,598,1798,8455,5772,1296,6164,8442,8449,5870,8085,1620,8329,1974,8461,4006,579,4924,8477,709,3968,5770,8466,5873,7972,4928,8444,6180,5515,3639,6212,117,8243,8011,6089,1850,6197,8013,5716,6200,8332,6636,4989,6345,8164,7650,7980,3252,5487,1738,7961,5640,8345,5696,8009,6295,334,6305,1479,6300,6101,6650,8409,6137,8500,6103,6645,6139,5483,6315,6571,7600,4009,3731,
6733,256,8532,527,6333,7365,8537,6569,8524,8015,7052,8535,262,6654,530,3476,8020,7051,6652,6111,8527,6316,8541,3734,8520,6337,6325,8538,5715,8528,8418,8324,361,8515,1721,8025,5381,5856,4688,5858,5488,8326,3618,5492,6270,874,3700,6379,857,6382,7801,5142,5737,8068,3020,7979,8390,8406,8399,6195,4629,316,4631,6351,4635,4453,104,4639,6356,7990,293,5037,4215,6244,8134,6246,5737,2005,5505,1019,1235,5508,4478,4713,535,6389,7869,370,5835,1795,4332,516,1808,7988,4721,8133,4162,8612,2407,7880,294,262,609,8628,
105,6301,6005,5879,8634,5768,5870,8465,8472,8451,6486,5273,8374,8643,6237,6007,3516,3548,8446,34,8590,4371,1796,8647,8454,8649,8456,8462,8027,8062,4400,102,429,4151,1676,4701,6860,4190,5058,4690,8E3,7731,412,749,5858,362,308,748,805,6175,6657,8023,339,6600,6400,583,8497,1606,8499,6649,7533,6199,6333,7535,1864,7944,8572,3543,8028,2545,5434,8035,7184,8038,486,8393,8593,1592,8595,8409,2212,8108,5813,3377,6472,2857,5463,5833,8112,5468,8121,2851,5830,5441,8126,95,8128,4270,6449,8096,7300,8102,109,8104,
7253,5767,6394,288,65,110,8663,2745,8485,1682,8341,256,292,277,513,8187,7068,6148,8279,4371,2839,1655,8513,5230,315,1638,5950,4402,320,3044,320,2425,4917,4923,2115,8295,8097,1590,1582,5923,8114,427,5926,4737,121,5929,4741,8044,461,4922,5647,4462,118,5875,2602,79,2761,6130,6005,6359,7725,6528,6148,8794,7782,1094,8130,3697,8803,8611,8140,1537,8697,8270,3831,8557,8533,3662,6093,8565,6328,7051,8757,431,116,6117,8820,7534,6341,8477,5584,3693,7965,3696,5844,761,6135,8342,1052,3703,8747,34,84,3113,3693,
8376,1324,8352,5518,6348,635,3340,8355,8659,5610,3006,5110,4044,3583,1828,6281,307,8256,5202,8859,72,6077,5336,8848,116,89,5904,4490,513,5442,2638,585,8713,4951,1698,811,323,8773,2579,594,663,8775,1405,6164,3582,6143,8864,8628,539,4470,6568,7708,8873,80,7952,8148,6341,8850,594,8852,5659,8856,8381,303,4827,6384,8269,256,1199,7407,3979,7269,8880,1328,6844,7273,7089,8918,7763,1391,4057,7202,7621,4662,4901,2889,7605,6682,4198,4053,8934,2616,8587,7157,1241,4333,7592,7731,1191,2345,7666,1353,8927,3485,
1289,7816,5506,7717,7819,8487,1466,7536,6576,437,72,7844,76,1968,8659,7986,2497,2221,6851,5391,2995,4087,2823,291,2997,2441,4371,8969,2598,4383,8946,5617,8976,114,2600,5876,7009,6501,2606,32,2608,2610,6055,116,109,6712,6391,8406,570,8986,3111,8978,8681,4082,3395,8672,6140,3377,8981,2007,2551,293,817,8798,591,2822,2995,4701,9005,6431,8568,288,7974,8912,34,1711,1475,8267,8659,8574,3816,8576,1738,8267,8580,5408,1683,4213,4908,110,86,82,8632,6238,8001,4165,8064,1993,4550,3401,7970,3223,1634,8854,8598,
6350,4633,6352,8602,8604,4641,3358,5737,3787,4938,3387,8680,5137,4398,8796,950,8615,1293,5507,7946,8619,9040,8608,4152,4276,100,3908,9046,8135,4221,8082,1140,5884,8667,1190,8087,1937,8760,6275,5724,6210,718,3647,8043,5881,765,8988,8799,8801,8459,7701,5737,9050,8066,7920,1052,5919,8781,5926,8298,5925,8302,8077,1282,1579,8074,4740,5931,5869,7531,8484,8666,8467,353,5334,7417,5758,5091,8317,6486,8621,4633,8623,701,8627,2513,8630,8320,5118,8804,6907,2407,8607,4214,262,3519,3906,4819,921,9086,8645,8141,
8065,8143,460,441,8162,4371,5388,6232,2301,8583,6380,3648,4403,8942,4220,9151,8631,8813,8633,8140,6474,6567,262,8763,9135,7893,8168,3821,859,9108,9048,5737,8811,6085,8805,8816,5701,7963,8520,6299,8642,8700,8014,3578,1792,6098,7530,8523,8701,8546,8526,9202,6107,8529,5372,8831,8409,4007,8535,9068,8550,7051,8271,4972,6570,6651,8017,9207,8553,3103,8543,8539,8409,8012,9212,8566,7051,9218,902,8549,9216,5567,8551,7365,6193,9241,6108,8699,8564,9225,8702,6655,6310,6336,4332,9229,5719,8570,8132,8835,6127,8838,
8132,5650,9125,3701,1032,8844,1859,318,1667,6627,4965,6578,6229,5382,7711,9185,6423,7731,7491,9185,5003,5555,7496,4628,5088,5053,1638,9178,9047,534,8589,8972,5566,9279,4082,8859,5291,8213,6841,8873,5776,5689,5287,8859,5781,9304,9137,6248,1654,4986,614,4964,4959,8846,8873,6434,5642,8380,8795,8916,341,8873,6426,5499,8873,8875,6623,3821,5482,520,5089,4752,416,8885,5054,6017,5799,5314,6139,279,444,1903,8889,444,4713,8873,5895,9301,418,3693,5421,9350,5595,5899,7874,8873,1890,6078,6492,8902,8904,3475,6626,
9313,8379,8911,6560,6629,306,1324,2897,8217,7519,4008,8161,8089,9274,8026,5578,8313,5269,5623,630,849,3543,4160,1912,8323,8653,9370,9313,8159,7520,9377,7652,7830,1714,652,7832,355,8340,8496,9197,8385,1873,9231,8824,8821,7454,2631,9229,5708,9248,8544,9209,8502,8419,8504,6344,9379,5381,6362,6364,1176,6367,809,8663,663,6370,8652,762,6373,110,6375,8582,6378,9171,8586,8867,9191,2407,6387,2103,9140,8509,6485,8007,765,5264,1493,8659,8592,8405,8718,8416,6195,557,9455,6802,714,108,6143,5643,637,8414,9447,
8286,702,8716,3578,5182,609,9467,8717,5222,6535,8408,8546,6581,5603,8307,2316,678,6227,2515,463,8670,7731,8661,4462,404,260,4341,3377,104,50,54,4020,9497,54,52,894,964,2925,4379,3640,8503,6287,5514,353,9318,5603,8237,8227,8659,8827,8759,6422,5287,541,796,513,539,8314,4622,8644,9180,2892,3706,279,9320,116,8800,85,530,1875,9143,8212,5118,9528,8805,3705,9223,9533,8361,9263,6427,9368,321,4096,6277,9549,5645,9405,7642,2627,9513,3521,9533,4954,7528,545,9205,5710,9228,9246,6645,9234,9249,8545,6727,825,8828,
8830,9235,8825,8959,345,8333,6125,8836,3695,639,8839,3699,5752,8230,8782,2969,8845,8847,9351,5402,3616,9367,9555,9321,8229,3641,9593,5595,8907,5528,8353,9550,437,4677,6640,8517,3696,4045,9413,9530,5676,9588,9416,9203,6645,8555,9221,9579,7942,8961,8706,8506,9275,7424,8413,8397,9468,8407,9471,8401,6755,3438,9475,9460,9469,691,9634,6329,8095,8710,3777,7251,4611,8106,7414,2481,7388,7674,2032,8403,9141,5790,7654,8740,8287,7657,8035,8714,2408,9655,9632,8719,8546,6885,8308,902,6751,307,6891,4119,2500,7192,
588,7194,6618,7883,9411,7384,8984,5789,5288,1809,4927,99,121,4749,280,9201,8678,6908,6791,9652,6677,8006,370,8692,8430,8755,5738,6084,9548,9694,536,3641,8430,370,9604,8909,5643,9607,9611,5702,8823,9250,6096,6201,6203,8707,1623,9070,2301,8195,9165,9660,6015,5984,5607,6048,6020,6042,9732,6053,6032,6028,6048,6030,5971,9738,5967,6044,6035,5981,6021,6041,6045,9747,9745,5961,6052,9753,6050,9750,5992,5996,9745,6586,5343,8899,7377,7179,6077,9763,8368,4638,8319,9764,5561,3516,8241,316,8563,9422,3543,4663,
4056,7686,3919,4669,3430,9609,4673,2781,9783,3921,4004,4068,9675,2760,9154,4475,9156,100,3686,9329,2462,7617,3995,9788,4066,4128,9787,4001,4675,2954,4127,4133,353,7680,75,101,121,115,9691,4557,8173,5901,8113,8287,9821,2370,5273,3744,531,7218,4522,4616,4239,4481,594,4605,407,8990,3821,4663,90,460,109,9240,7361,3833,8420,9809,9785,3790,4E3,9846,3927,4678,4662,2944,5660,7707,4789,4668,9807,9784,4672,9849,4674,9861,9790,9849,3810,9057,5405,355,8435,5566,9542,9149,9792,594,4121,9679,7616,9859,9851,9810,
3923,9806,9882,9848,6376,8027,8871,7190,3914,8076,4057,4125,9847,9862,2958,9885,6639,4676,9897,8081,8008,1589,6158,673,2480,5527,9145,9771,8588,5855,9363,8188,2944,3830,3707,9781,9802,9860,9789,4067,9863,9899,4130,9901,9866,9888,5849,1821,9796,4405,9827,4822,2513,8749,4765,5688,4752,1929,9521,637,1820,9776,866,3623,9944,1081,8797,3687,3689,3587,9090,281,3688,114,8347,6710,8641,8514,4549,5531,5326,4167,291,1E3,1830,4220,6279,109,9910,7990,914,7993,9972,9290,9087,6885,1658,9948,807,7481,8259,370,7950,
8796,5698,5863,9963,9870,9965,9441,9292,2407,4234,4155,9935,1808,4701,9937,9837,6275,8628,621,108,72,70,79,86,8779,9115,7300,8787,9122,4738,9124,8076,5932,8250,5603,8252,4549,6435,8458,4637,104,5064,461,8109,8287,5073,95,4340,969,6689,287,10032,5901,1324,8129,97,9976,9065,2407,429,633,3604,9990,5492,4360,7792,512,268,10005,86,10008,10010,2301,104,5035,10048,9869,10050,4364,10052,587,589,4620,4747,9818,6058,8173,406,6144,6577,6501,9673,9938,4767,1872,4769,9015,3660,5289,323,287,10074,278,964,874,9669,
3377,411,8887,5954,429,342,874,103,121,275,2212,398,3111,5134,3872,699,10043,9707,9876,8601,4754,71,10101,1291,404,491,7397,9845,9900,9896,9928,9850,10121,9852,4005,9854,2500,1820,9857,9800,9881,10125,9883,4063,9925,9808,10126,9791,10128,2760,3915,9893,9919,4058,9803,4671,10123,9864,9922,3845,6528,120,97,10042,9041,8900,9875,370,8597,9991,4566,9993,9912,8304,3681,4825,2301,8045,1465,8048,4371,9779,355,7526,9894,10147,9927,9923,9898,9895,10139,9867,10141,4055,355,6307,10145,10182,10135,9786,10190,
9887,3986,2760,9063,6139,4924,4124,10178,10122,10180,10124,9926,10202,10152,4411,9831,9998,4718,10157,9911,4164,5737,6335,5710,814,1871,10030,6501,10032,10034,5545,3531,10037,3871,95,10039,2790,10111,2258,8483,10119,3428,10201,10183,10181,10236,10191,10184,3420,2760,3988,9938,5150,1830,10200,9921,9804,3433,10137,9865,10203,10111,5660,4248,6958,10133,10205,10237,10204,10138,10240,9888,4663,9044,9798,10177,10249,10148,10203,10150,10250,9853,7653,9399,624,10109,9185,9148,7291,3904,10070,7409,7492,6472,
9118,8288,355,95,9265,7865,3267,2944,9840,1993,9220,10189,10239,10194,10273,10271,10207,3177,4053,9855,3340,10188,9844,10235,10270,10179,9805,10193,9902,5874,3687,10220,7924,91,1792,9523,921,1239,4818,3908,817,8932,10242,594,5660,10176,10299,10312,10206,10251,10315,10123,848,5863,10022,3616,10111,10244,3990,6222,9832,6671,10334,9886,9902,10302,10313,9811,714,100,106,4071,294,8618,8575,10279,9543,288,10100,10102,10117,101,10363,10159,5941,10061,9989,10063,5866,780,9967,8006,6088,9556,9088,10318,1706,
8018,9128,9571,9209,3578,3735,9598,2198,9567,9577,9410,9565,10385,9208,9619,6329,3631,97,5911,10398,9213,10400,8246,827,9010,10394,6195,3700,9538,8639,9144,5703,10410,8409,9974,4819,100,8692,10408,8531,9409,6651,5642,6270,10397,9614,34,7993,699,4588,3805,10430,10412,8638,3521,2513,4732,279,9256,9509,7956,1709,9260,8837,1557,3340,1881,639,291,3520,609,786,91,3200,561,6180,296,5558,302,10458,492,10460,1059,5674,10463,3294,10459,7962,10305,10469,2508,10471,741,8359,6078,125,93,6334,3340,10333,8842,34,
9970,10298,10485,10390,1800,8329,997,101,8556,3523,10453,6126,278,10456,10464,742,10466,289,5533,10481,9587,9266,8560,633,10309,9589,115,8522,10197,3537,6133,9265,6415,9264,9586,2018,116,8513,9038,4688,10452,6148,10455,284,10457,10470,10465,10472,10504,10526,10480,1272,4180,3702,9591,3877,10511,997,653,5494,782,10497,3693,10499,10530,10501,611,10534,10462,287,10552,10503,5444,5349,10474,2479,10476,345,5346,10561,3938,10563,296,10478,301,10506,10522,8513,4717,4055,10546,10496,10528,10550,271,10531,
10475,10533,741,5182,3816,10571,2083,9531,396,10482,633,4248,2967,3693,9063,6270,7967,3693,769,9064,341,115,58,123,120,271,1303,121,10608,503,125,47,10606,58,1923,10610,48,125,5379,10548,10529,10581,10557,10554,5904,10566,4322,10568,10467,8369,10588,3877,10594,731,3693,10361,10587,6186,10600,610,786,10603,10605,5482,10611,4183,5613,10647,495,10613,123,10646,1923,10559,104,10616,10620,3554,10454,10580,32,10582,10562,10584,345,5808,10628,2266,10630,34,1736,10572,6646,686,335,10519,10485,1169,10484,
9589,9970,9843,3611,8149,8688,111,5171,9703,9067,2499,10172,9185,8276,1442,732,8979,9278,5778,3872,9479,9639,9633,8417,7051,1470,51,10702,6713,8391,9457,5375,10444,6253,353,9037,5866,10598,9703,9133,2051,7611,5527,9356,7147,5655,1324,9353,7874,3677,5339,9879,4400,9986,5427,9890,4846,9914,3821,118,10737,7152,9023,9391,6638,9510,9315,7548,6641,6206,1852,9728,9232,9242,8554,10393,10387,10399,5718,10714,5378,9723,685,2054,9552,2164,8685,8242,1499,1701,8422,9596,9319,9715,8436,3610,5525,10727,8908,8378,
10774,10391,437,3519,7821,8578,6085,9563,6296,9199,431,9693,9618,10405,8826,2150,9408,9719,6727,2481,10430,9621,9241,6317,34,10216,8562,6384,10754,6340,8261,9258,1029,10763,1608,8349,9507,9908,10012,9185,9874,10282,7719,9836,9939,5186,9137,5218,9438,8585,9173,10164,10214,2407,9429,8471,1680,8650,5941,10742,4462,430,330,8363,5733,8655,9159,1859,4963,8749,8751,4546,9322,406,260,9553,4371,383,10852,4407,4648,6071,9334,3033,5950,3037,8993,414,4985,323,874,10553,3410,6862,10170,373,10693,5015,406,542,
8767,8030,8769,10076,10320,8772,6035,10884,8044,769,1465,8920,9006,808,427,4007,114,2609,10324,1900,598,10899,10019,1032,10820,5045,9117,5950,10014,8300,9265,10904,288,8092,7299,5026,8137,8654,8052,9159,9812,5739,8812,8097,10822,9109,9708,10380,8010,256,10396,10757,10794,6113,8559,808,9718,8545,10805,9518,8829,10416,10758,8501,8703,10761,10446,3734,9583,7966,782,10521,6134,9588,10540,6133,292,818,10955,9773,10023,10427,10577,8330,10777,8906,10779,9605,3521,10598,370,5320,9703,10915,7624,5202,9727,
9378,6501,6018,9731,6021,5959,9757,5955,9752,5973,9744,9809,9741,5972,10991,10987,9751,9809,9747,6042,6038,9737,9757,9754,6049,5982,9746,9758,5465,11E3,4259,10859,541,3745,10862,2833,10867,542,9311,10871,6215,10918,10044,8260,8696,10381,9223,9622,6474,8445,10804,10936,10958,10499,10369,10943,10934,8558,9252,8822,11026,9530,10959,4156,8819,10417,10755,9623,7955,9722,10949,9261,1850,4378,3571,1272,6138,8802,10485,11031,4403,10508,3579,10637,10964,6646,116,10601,10643,5633,3646,720,6159,8262,3627,9703,
10401,8083,11070,9907,10020,3521,807,9712,10781,10021,1517,279,10878,5181,8259,7547,9774,356,9508,8261,10769,3645,6289,7831,7839,6631,10776,3543,6362,807,8439,5164,3623,7759,1874,9990,7990,9170,10831,6383,8138,9291,10165,7255,8695,866,11105,3606,1797,3476,11107,1140,11121,3618,11107,2443,11119,1019,11127,355,3607,7753,11115,9087,9176,9146,4752,10281,10927,3489,11131,582,11133,6407,1853,7753,11125,1589,11147,121,11129,9812,1036,5858,11153,4011,8690,5160,9401,8132,370,3741,4633,387,10785,9031,8755,
3641,11169,10813,437,9602,8849,10968,9713,9533,9032,8878,2833,8882,9340,9336,8887,859,5713,8891,6486,9362,10632,9361,9594,8870,2932,8872,9594,9328,10744,6573,11082,9597,5661,9369,8222,4549,8659,6362,76,4008,3531,6357,1785,5259,4163,8617,5863,3623,11211,820,1825,1645,3736,11221,11213,5137,11216,5582,11218,4549,4963,11226,11223,1464,280,542,7990,10478,77,10698,7451,889,6854,10656,9096,5202,10570,10169,10326,921,8493,9982,426,7679,10687,8685,5863,8424,1826,10841,5015,6148,11258,4549,8513,8129,10357,
10359,9595,1816,5858,65,11269,1166,3604,6055,6077,2206,9056,10322,679,1881,5322,460,6384,4460,7502,5287,8672,9060,8675,4574,8677,9529,4221,2996,11255,1561,11255,5416,5164,11265,6592,5164,11161,6433,8246,5697,720,11170,11101,9262,4041,6270,11304,6598,5164,10525,3816,874,11139,2020,9043,9045,9977,27,10921,1618,8142,8057,9054,8060,5034,9869,8599,9060,8601,10026,10197,7990,3888,9728,9300,6275,10691,9069,8093,8274,9187,11345,9182,4689,11348,8280,11350,10977,10212,9082,6380,9085,11327,11296,8797,9904,2321,
9091,9131,10631,5446,5391,8722,5586,5461,2837,8117,2850,8730,2499,11377,5833,2853,8734,11381,8127,5479,6752,6473,3948,11262,3821,9098,6950,717,8042,11388,5203,5898,5893,3531,10729,5202,10836,8648,10838,9092,370,11364,9104,9017,6202,9107,10733,9994,3904,8142,4087,8780,7492,10908,8785,9119,8783,5927,9123,103,890,10018,2630,1456,10721,9526,1785,9296,9685,9444,8622,9632,2443,9539,10211,8608,9158,11296,11323,9153,11251,8609,9147,8814,10364,2310,8142,83,8144,9164,10979,3821,9167,6430,9169,10830,6381,10832,
8606,10212,11443,11451,11249,3020,10735,9188,11020,10110,7719,10923,9194,10159,9196,10930,10806,10791,8522,10430,10932,6100,10430,9211,10944,9236,6115,10424,10799,6645,9238,8536,9224,10939,10936,11025,9568,6329,5709,10429,11501,10796,2613,10798,9572,9569,11034,10810,11494,4008,9239,6314,10425,9251,9243,6926,10802,9415,10754,10805,10807,9255,11505,11046,11207,11305,5669,10447,9584,10952,9706,8840,10955,9267,9591,9449,766,8659,11408,8425,4249,9906,6160,1478,2607,2627,11546,6174,9903,765,880,6164,1382,
11551,5885,11549,1262,11558,8667,2966,3641,9030,10341,9700,9943,11089,11313,1557,7733,2321,11155,10294,2500,8376,5710,859,778,477,9617,7693,10120,10260,10264,10262,10253,10304,11481,10391,10319,7737,2775,697,733,384,1899,7969,3788,5073,2845,292,11601,10227,6380,10228,10968,433,121,4277,5475,441,3786,281,1898,2848,102,95,9950,119,10195,594,11578,8808,1098,11580,107,11582,7045,4592,9920,10351,10149,10252,10151,10355,3913,2500,10296,109,10488,10234,9782,10335,10261,10353,10336,10275,11576,2760,11641,
10684,10258,11585,10263,10301,11636,10274,10127,353,11621,9952,3691,9954,9951,9957,3587,1859,10789,8519,10391,11504,11044,10811,9024,10746,10445,8505,10806,10950,903,10487,8537,370,10683,2546,10956,5650,9821,11626,1119,11628,11630,10957,5655,11579,4008,11629,319,3701,10849,11299,9404,11480,6187,11497,10388,6645,2070,11521,6331,11029,6655,5295,6182,3627,10815,5333,9684,1353,11459,5547,9185,4282,10828,7238,7692,7787,11108,6758,7601,9113,7052,7867,6800,11438,3299,7691,7407,7828,8933,11741,7914,7123,
9651,11721,3511,982,7827,11745,1081,7919,8942,1427,4906,68,4907,282,5296,9092,9703,7993,975,590,699,11214,1625,11142,9442,431,1325,1537,7799,114,11176,8172,4752,5631,4547,291,530,2206,74,6614,11768,374,7508,11727,10431,452,3519,517,385,406,5627,5118,3237,4462,1511,539,11331,6139,11333,3020,108,11792,5677,385,97,120,11797,4752,6523,4462,829,3047,10420,11784,11786,5137,11780,4416,6425,9287,11201,8691,5169,8473,9398,1730,11312,4966,8817,6580,11514,115,11654,11523,10936,11495,11643,11035,1539,9418,11677,
9031,11719,397,1670,11140,9527,10847,11296,2070,11110,10052,11445,11325,11137,11328,10806,637,11787,10530,5260,8956,11645,8336,8344,10787,316,3623,287,8337,5490,11873,637,287,6404,10277,11271,8338,11106,637,9888,1934,11865,10581,11867,8616,3833,11870,11882,8267,1799,11875,11871,11530,7833,6369,32,11881,11832,10813,1799,9888,11859,4153,9997,4158,11467,10371,3662,11442,11362,11451,447,299,4924,5320,3476,10973,1589,11922,9181,260,9183,9725,11355,10695,511,11909,9083,11361,8097,11770,11414,11439,10414,
8629,11466,11917,11914,9682,2621,11889,10663,11891,9076,10311,11894,11905,11872,5165,5870,11898,11895,11906,11902,11904,3603,11960,5870,9888,11112,11463,11114,10052,2815,11109,9869,11465,9081,110,9794,4476,11861,11296,11346,9184,9388,11356,6868,2972,3623,11948,11229,7817,11952,6590,11899,11318,1735,11874,32,11876,5864,11878,4949,11962,3615,11994,11128,11886,8129,11157,11228,11950,741,9859,11953,11963,11955,4011,11958,11954,11900,9402,1036,11880,1738,11998,8339,1036,11564,9711,11178,11083,3521,9515,
11460,11571,10640,8758,8809,2129,9522,9084,8866,7582,11117,9544,3680,9533,9535,9537,10438,716,10285,11855,10590,9546,876,9706,8208,9550,262,10856,1456,10490,8355,5858,11203,10782,11205,5836,10929,8518,10937,10430,10941,9576,11489,9578,9721,10762,11049,10448,11534,2715,11536,11702,6589,5357,11993,11884,11995,11573,9777,7836,8231,12013,12003,12088,11901,7841,667,9700,8158,4478,9776,11671,11481,3700,5660,10430,10216,10681,11844,6651,11522,11517,8546,10067,4745,12113,11493,10400,8520,10511,12111,10713,
9419,10747,7539,8357,7667,466,406,10725,4400,1329,2998,11401,12133,2374,406,9349,6275,337,7268,5176,9056,12143,12132,7731,12142,4823,12136,9772,11165,2894,7192,478,10750,5723,10933,11512,8567,10745,9026,3713,12091,7967,3116,7705,7564,3464,3138,6759,8475,7887,7460,4873,6976,7741,6768,7080,6980,7745,7083,7747,7085,7749,6986,7751,6988,2194,2160,12168,9190,7731,3120,2180,7640,7226,9557,8957,7644,7255,3138,7102,9277,4416,3367,3302,7646,4489,7405,3483,7039,2138,8936,11985,3458,6794,2687,6929,4082,2355,
1311,1996,4087,2349,7144,2234,12219,6867,7731,2343,3452,7768,11755,2186,12195,3459,2828,7416,10722,4171,12226,3507,3504,2901,2869,7188,7295,3506,922,2292,7330,12206,2079,7724,11945,2740,11729,10132,7201,7363,7697,9244,2669,7329,10818,2568,12233,4850,12205,3821,2296,2112,407,10131,5202,12237,3478,4580,6913,7939,7174,12212,3099,3498,3314,3300,12269,7710,6730,12211,12217,2806,12225,2334,7781,3445,3507,7093,3028,3484,3052,7156,3945,7688,7364,12190,3170,2377,12295,3512,12244,3509,12298,7028,7317,11734,
3465,2828,5936,9489,8985,2995,7385,3132,3180,7700,9442,5458,2995,7682,12277,2289,4286,8453,12170,12309,7177,12253,12242,3076,8919,11013,9496,7411,4118,2254,3540,1589,10749,2568,2403,7809,12272,3501,2338,7391,7126,7773,6275,1934,12332,1260,7668,7428,4259,12222,3106,7421,12340,6275,12237,7188,12300,2267,12335,2234,12287,3214,2518,7343,10833,2397,2903,12229,12215,12194,12243,7321,12235,3372,3068,7171,6844,7730,5617,2380,3356,7795,7381,7418,3254,7367,3450,12342,8928,7385,12368,3491,12230,12221,3138,10719,
5309,7184,5312,3382,6454,1993,3289,3361,12399,986,7172,7873,12333,2334,7385,12373,12227,7155,12391,4344,12368,1939,3912,1934,11241,5024,9294,10842,1499,4605,7655,8287,8742,8744,5766,112,7219,12265,12431,1993,12375,9002,9020,4574,9022,3366,12356,2712,2405,10052,2011,7351,12291,8980,3451,2697,7189,5938,3413,6723,7671,6726,11710,3150,2894,12325,2977,12289,843,7772,12282,6275,5366,3270,2497,2944,9968,4165,12435,2559,2506,12220,9685,12319,3180,6878,4561,12398,2734,12408,12203,7586,12433,3125,12481,12470,
3912,9644,10894,2548,2418,5453,8099,9649,7753,2911,2505,1982,12245,1884,3373,12322,7667,6959,6854,12368,12437,3138,1E4,12445,6501,7183,9339,5439,12352,3086,4429,7372,2695,3138,7721,8973,2435,291,9105,10002,6691,585,8992,8994,9816,12451,2632,7114,12507,11731,12265,12197,1205,11393,1208,6952,6926,3003,57,12172,6972,10320,7739,7076,6767,7465,12180,7744,7896,12183,7898,7748,4886,7473,7778,12560,12557,7267,10349,7410,8924,7412,7274,3471,12453,2025,2879,12496,3149,3483,12504,3068,7242,12550,7270,585,6873,
12584,12539,3466,12290,9134,7611,3483,12377,2024,2725,12503,11748,2527,12461,108,12363,12388,3355,12609,7800,12383,7169,3495,12541,12379,3351,12192,11413,12397,2334,3408,3912,4663,32,12488,108,12122,11584,10311,11634,10272,11659,10303,11638,12237,12328,11939,2798,12562,1291,9099,4209,3544,2903,7029,8950,6075,9658,9645,5309,12536,7934,7659,823,8986,12531,3068,6063,7426,12460,3309,2270,5812,11373,7300,8725,5472,8727,8111,8118,8732,8731,8735,11383,5829,5478,12668,3186,12338,2024,12455,11739,3146,12213,
12671,3105,2878,468,12523,12508,3483,12651,12043,12308,3147,12597,6833,12478,12625,6865,8190,12405,12312,7176,2024,12286,7368,12403,7154,1993,12700,3291,12704,2509,3261,7856,8921,4762,7626,6463,6746,7628,6466,7630,7215,6699,6753,12519,12620,7636,7877,12542,511,7231,12722,2669,12297,12750,2632,12482,6489,12281,6846,12623,3196,12381,8949,12371,11402,1499,12321,12173,12283,3458,3408,2699,12603,8922,12606,7853,5266,9008,859,9799,12551,10321,2597,9013,1936,10083,8797,2601,9018,3015,12714,7150,12758,12635,
3329,2325,6864,7805,12747,12301,11593,12780,10867,441,2734,3046,3042,3044,1587,12805,6375,2283,12587,12051,6501,6735,12347,3191,12423,12626,11742,12697,3022,7002,12425,12360,12427,3290,12259,9880,12261,12306,12263,12709,12761,12390,12627,3185,2740,7440,11734,12838,7166,3188,12661,7026,12293,12244,12711,12845,12629,7420,12703,12848,12543,3029,406,12354,12372,9003,1403,12459,12292,3104,4774,7886,12355,3029,11811,12622,12793,12247,2806,12728,12202,12676,12462,1357,7313,12753,2044,12540,12762,12267,12264,
12754,12795,6488,12797,12631,2911,12873,12884,12880,12714,12600,3301,7432,6852,7669,7435,7910,7437,6329,12841,12719,1993,12891,12709,12480,3483,12834,8941,12836,4344,12430,12842,7040,12763,4400,12498,2205,12868,12441,4416,12915,12251,12596,12411,12497,2152,12696,2200,8180,9534,290,8226,7990,12237,3408,7070,4924,2548,12175,6511,12177,7891,7743,32,7895,4881,3753,7899,7086,7902,7475,9019,12547,2996,3113,11242,12866,12896,7337,11737,9476,9397,11946,12452,12851,7120,12559,12268,12886,7804,7356,12798,3489,
2398,3292,12918,12759,12871,3507,12311,3315,12973,7913,3481,12837,12713,12239,7937,3073,12825,4496,12469,2459,7849,12772,12733,91,12774,7903,12693,3301,6687,7298,10976,12604,7301,12735,6694,12738,7862,4103,11387,12421,3300,12864,12037,12246,3300,12279,12779,12329,12972,12997,12970,12913,12301,12533,9659,12535,8712,12537,4259,12232,12973,12731,12513,7210,13011,6744,7629,13014,7864,13016,12585,12568,2460,7906,12365,7434,6534,3417,12902,7051,12639,3422,3424,10269,12645,10314,10300,10316,2568,12752,12337,
3105,3447,12495,12928,2053,12636,12986,7871,12210,12402,2669,13023,12791,8879,12412,12875,2895,912,12878,13068,12213,12907,12967,3477,12818,7677,12971,12892,2451,12407,12618,13021,3296,12594,13090,12904,6830,2905,13071,12387,13083,12238,12327,7139,12746,7797,12723,2097,3508,12927,13108,9685,12925,7235,12980,3102,9269,9960,5699,9703,6418,11237,3004,6148,12059,2036,1456,9481,101,10575,4824,10472,8764,8762,11335,10168,7953,11847,11567,1662,8753,11724,9322,710,876,6583,13149,4911,876,11307,6635,12126,
11175,1888,628,6217,11705,12070,1851,8019,11527,11172,989,10843,7976,7489,2302,8847,98,7347,7131,515,98,4515,11733,13095,3360,878,13176,11751,12988,7559,5870,7563,12193,9297,1888,115,6911,12506,13029,4686,13195,6894,12602,8071,13001,7852,13003,13180,13196,6933,12887,12975,8872,13181,13006,6459,12732,10895,12734,898,12736,7860,4100,3344,7863,7216,10293,371,1665,7822,12336,12468,1115,13176,7221,12271,9357,13181,13197,6488,7385,13208,12394,7392,12426,4400,13208,12897,12472,6995,7670,12901,7672,6329,
13208,13202,13183,13199,11191,13181,12414,7656,5311,276,2582,5314,8742,9347,13181,13235,12467,12501,13233,1888,7685,3273,9426,8993,12830,3084,13268,13209,7032,7133,6680,13082,11435,13195,6798,7868,11738,532,13288,7885,12941,5763,12943,7462,3225,7077,12179,9186,12181,12578,7469,7084,6774,12186,7087,12188,7089,2116,13234,12654,5858,12657,13208,13275,4249,13277,7694,873,13017,336,13187,13050,13123,12527,6722,7909,6535,7911,422,13195,7225,12563,7716,4268,7718,12697,13176,13215,11354,7300,7859,13044,13224,
13015,9829,13259,6725,13213,4807,7033,13285,13352,7370,13113,9361,13238,7612,8953,3944,1161,13320,13279,13322,3350,13341,6934,13236,8868,13195,12204,13271,12924,2019,13325,7456,12767,7737,12572,12945,13300,12575,13302,12577,12950,7470,7900,12583,12775,13281,2747,13352,13239,6739,13007,7857,12780,13345,13013,13347,13046,13349,1726,13229,12274,103,10257,8901,13360,7455,12471,6820,3160,12474,13252,12476,6329,2317,10766,13359,13182,12998,13204,13002,12955,10340,8890,9099,13176,13163,2363,11965,13200,
13412,7639,7591,13371,12995,13273,13177,12823,12395,13245,12981,13186,1888,6912,7263,13446,13194,13214,13198,12820,13185,13324,13449,12796,13212,13423,7106,13314,12656,12566,9323,13181,12545,9326,13437,6718,13294,3220,7888,12176,7463,13384,7892,7894,6771,13305,12184,13307,12582,7750,12607,13406,8514,13408,12276,13246,13201,13210,6622,12484,12792,13120,13377,1888,13203,7776,7056,13392,13436,9817,12534,10320,10867,406,11041,4709,4332,10771,1839,13162,383,876,520,10386,12165,545,8508,12965,11022,10745,
5040,11597,511,8686,11072,380,11074,11309,7547,8658,11079,3535,13535,6267,8254,5719,11095,325,8348,11282,6225,1658,11204,8857,9703,8365,876,8367,11334,13546,8371,13135,8360,13553,8372,5181,5613,13557,2301,120,13564,3020,122,13567,4371,121,13570,9364,8022,6414,12066,8857,12085,116,12024,7840,13520,8916,3641,12094,11883,11877,11956,663,6409,9512,13534,12034,994,2894,10709,9E3,9456,9478,9642,7051,13523,10703,11528,9581,6142,698,7480,9272,300,9716,5174,4688,4978,11527,834,4977,3693,10443,8231,4984,4356,
6251,9313,11048,13521,994,9826,3531,9270,10217,4225,5045,4624,5104,5582,3771,13629,1808,13631,5145,11433,5395,5175,10106,5061,10826,5127,11854,11451,4783,65,514,426,10916,10846,10920,11444,4277,1685,8147,9282,1699,10288,10981,1698,1690,9127,10837,4072,11406,353,5073,13647,13631,5025,5581,11816,9287,6242,11913,10823,5941,12526,11722,5124,771,430,13642,5385,8091,13687,4996,10218,5042,5101,4228,5048,4559,5556,4233,5392,8097,11434,1353,9491,4416,13674,5037,5063,13695,529,13697,4623,5068,13636,7663,4539,
13639,1324,13631,12549,13648,1625,10926,13025,13673,13687,6166,13632,4903,13634,9284,13637,5106,5135,2602,13631,13714,9283,5019,13701,13719,10085,13721,430,13677,8183,11816,13687,5039,13712,5043,13633,8173,35,5047,102,5049,9285,1081,4714,13630,13452,9685,13709,5108,6152,292,8204,4622,8207,7708,13720,594,9299,9308,4462,13763,1808,9307,5622,11790,13780,10728,11247,7593,4277,811,9303,8315,13773,3821,1793,811,13782,5146,8316,13750,13737,591,7676,5078,5118,5080,11790,4783,13646,5136,10919,8139,9195,5840,
5934,10717,3865,13261,13627,8756,10968,12140,10726,10724,11399,5902,6492,10731,515,5502,11470,8876,3020,11469,7951,11193,13145,10745,13606,10716,11174,11171,10947,9511,8335,6148,11833,11023,11480,10216,9200,10404,11490,5941,6004,11675,9214,10409,12075,9410,11842,11508,9417,11030,10797,11708,10759,6528,11837,11839,12114,10940,10801,13616,1618,12118,11498,11037,12105,9254,6338,13169,6341,11848,9627,8026,10741,11197,4852,13817,5857,9099,13816,11315,9039,505,11462,9172,11969,11021,2149,13824,2976,5527,
12151,4082,9454,10710,8594,10712,8546,5485,3020,10161,11336,4634,6353,8603,6355,9064,11474,4289,11943,11937,11450,11945,13834,13779,9139,12634,1590,9001,13684,13380,11402,11440,594,10279,8610,9179,11451,13707,9330,13832,13835,11370,4473,814,373,12049,8640,10793,13657,13812,11945,11403,8665,11405,11368,9686,625,6176,9873,13650,11478,11069,765,11071,11570,10965,6633,13146,4549,9981,13966,3549,9775,8915,8229,11639,10142,11477,12260,12644,10134,11658,10338,10254,10160,10375,316,9872,10821,13964,13683,
11651,10186,1819,10144,10310,11645,13062,10337,13064,10339,5562,10891,10877,13144,4473,10284,9540,10864,2835,10288,1169,10291,8076,13227,12639,11056,11644,11633,13985,10352,12647,10354,11650,13980,4055,13999,14022,10146,11646,11587,11648,10261,1565,9483,5309,10910,11425,11427,8791,9103,11544,1974,1475,9868,3884,9964,10163,11111,530,1475,8513,1006,13724,450,13925,13995,14029,110,9917,10442,10350,14024,11635,13987,11590,11663,11668,11665,9905,9955,11664,8693,11479,12070,11485,13168,13856,10406,1559,
10403,12108,10407,9215,14082,10760,12125,11679,9421,7964,11533,8818,8844,3877,10517,14031,10493,10495,273,10622,10662,10664,10567,10666,296,10586,2926,10537,12044,9918,285,10961,3616,11220,11212,5330,13979,12042,9685,11103,3637,7679,10825,1456,10857,9987,12787,3410,6087,14091,10715,6177,4549,83,611,1439,10516,9703,14110,13399,8325,10773,5603,10971,701,11145,741,8481,12077,6637,11761,1478,5265,9453,8716,10703,9667,6538,1664,11988,12010,12364,9801,91,1327,3735,5536,9018,2780,14169,6614,1844,4105,13158,
9580,9420,8334,4929,13155,14157,9703,515,103,10247,11632,14168,6887,292,7993,44,14170,14176,44,4633,259,640,44,11514,1088,115,103,111,14194,14175,710,2816,14195,14209,50,663,2954,594,260,12039,9898,1327,10419,259,14207,14171,454,14198,100,14200,14202,902,14205,14223,14176,3949,14232,14212,14214,14201,4096,14218,8582,14159,13908,13599,9470,10705,2967,869,8721,12999,10834,9488,13934,4400,13942,7683,109,449,4633,429,336,309,9464,10379,14134,7957,288,67,465,1695,103,11173,11955,8446,11172,9943,11174,
3601,5170,13127,13594,256,1088,5023,4378,10397,11087,6275,1631,1796,312,76,312,10880,12033,4371,1631,14292,14284,5639,10397,9767,2301,5023,14290,2569,14293,611,14295,13574,10812,11208,3601,12087,13588,11151,13970,12092,11677,13581,11122,12098,8668,9374,8219,7486,8659,1791,11916,10925,13994,11143,13989,10513,2602,7995,14176,5644,11343,9541,14331,13727,11915,7989,11944,14061,14328,14335,6207,101,9536,2032,11440,9378,13953,11116,14251,13605,14180,10784,859,10205,8659,1828,594,13676,12923,7287,5931,3438,
14366,12674,7382,7233,3438,7812,6954,1978,2775,14371,13497,12598,8412,110,14380,13286,2354,2775,14376,2020,14388,7441,8386,4031,6782,6201,8383,3559,13171,6602,3692,11050,9564,2597,8638,111,10268,10547,10579,4403,10551,1974,12163,6577,10873,1410,6207,1513,14112,12669,1954,10451,14408,10661,14410,10624,10532,10502,10534,10668,10556,14427,14415,10461,10588,8704,6660,7975,11849,5267,3110,11410,2833,12553,108,5908,2611,12330,12957,9021,12959,10894,1353,6732,13295,427,13195,461,7510,8925,1332,5431,12956,
8970,4224,13184,2322,12933,3209,3649,13900,8054,1844,5035,293,13950,10415,14329,13921,14420,12957,12869,13120,8986,12861,8980,8986,7385,12749,13833,12663,13040,427,12666,8037,12692,12512,13474,12515,6453,2554,8746,834,12859,2681,14485,4462,12777,13858,8287,9012,32,2493,7999,9016,14131,8044,14417,6209,12564,91,14413,8044,1036,1808,3564,1828,14122,3321,110,11274,118,4378,10037,12055,356,10019,1859,14413,12157,8519,6298,10792,13852,8825,4163,386,3700,69,3651,4686,13929,10423,11487,13855,13859,8540,13878,
8530,11039,13879,14350,4450,12160,14356,14547,6336,14550,9138,6388,4633,14085,13874,2408,8750,13866,10795,10482,6311,13060,11505,14546,8561,14568,13673,4744,10069,11713,14089,14582,14548,14584,6318,14576,9236,14590,14567,9027,11711,14581,5582,14566,10369,14592,6330,6653,14600,1974,14602,14549,14598,282,3293,14564,14578,13880,9776,14564,14596,14603,5662,14153,11680,9322,11436,4633,13019,4053,13102,12314,6492,13929,13357,13090,459,12969,13090,14625,7821,13408,7823,7810,10054,542,12857,5202,1804,3485,
1799,13597,7195,10711,13600,14246,8458,14570,112,13248,13415,12473,13330,13055,13253,7051,14638,12569,12865,13381,13475,12944,13477,12574,13479,7081,12182,13482,12580,12185,13485,12187,13487,8098,12440,14372,5499,13929,9990,14287,8063,4710,13905,9685,2815,12147,5617,12256,14061,10004,542,14482,8951,12294,13179,13929,13289,12964,13604,1198,12812,13008,8922,12815,4576,4662,12404,10173,3099,13090,8530,11924,2321,11926,4452,14656,13501,7851,7777,13504,2083,14253,3158,13052,12529,9043,9955,12937,2339,
7796,7190,12594,12721,3020,14635,13116,12931,4164,12916,12214,7878,8947,13231,7258,6821,7260,14723,9445,14639,3889,13193,9685,290,13408,12169,14716,12313,13118,14749,14695,2531,11734,14647,12303,8942,12305,7695,7400,14638,13450,7729,13765,1353,14638,13031,12664,13262,6503,9662,12692,14743,12223,12370,12883,5142,12724,2358,13072,1094,14638,9656,14746,12905,2235,12844,1442,14638,7604,14767,14760,328,1664,1566,4746,14588,14479,14574,8155,11928,14384,316,2001,9973,7705,13410,6841,14552,12234,13258,1761,
7149,13355,14631,14656,13243,12359,12485,8868,14825,14829,12757,14386,1315,7403,12241,6275,14789,13358,14742,7119,3912,8625,12898,12366,8081,14131,7990,14665,13257,13456,1095,13439,13375,14824,14656,12745,14634,12382,14858,14761,1937,14641,14824,13930,7907,6960,6946,476,14367,9800,7452,4259,14805,12828,14166,13277,1327,6371,762,9888,2070,7385,5032,13685,2109,13936,263,13923,14814,5624,12483,12824,14835,13246,13929,12500,4416,8045,13899,7300,8176,14512,6380,8620,14656,12558,14827,14755,6389,13178,
11734,14898,12715,14846,14764,13116,14741,5430,6091,265,9273,866,14722,341,14837,12424,13445,12994,7731,14856,1872,843,14602,7990,1631,14700,5683,13464,14520,12657,14845,12436,14703,14913,12466,12611,14862,14756,7380,3130,14685,14656,7385,11431,5336,14933,7568,14861,7874,13929,13067,14923,7316,12917,14792,14800,13105,2913,14951,14756,13374,14954,14288,11811,14645,5443,7705,13491,7731,4707,7433,4661,1859,10893,4357,11259,10687,8659,11471,14981,120,14305,10001,14973,11246,5486,13883,14994,6257,12100,
9313,8659,1684,9095,8030,13664,6017,9730,13667,435,9830,4155,4237,4619,11795,14063,12853,1135,1390,3604,9638,14243,9477,14245,6195,319,11211,6567,11448,4752,13726,12652,8463,5849,7205,11065,3804,11979,11451,10975,14144,7731,626,4391,9982,12101,15052,14569,14756,14799,6766,5858,5635,4259,9565,5230,11420,8287,10911,10018,8290,8080,4817,10021,1561,13576,11084,13922,8797,579,8355,10438,8181,9383,11790,5563,6622,12937,10347,10210,13937,14896,13993,13658,13651,15087,4158,798,447,5137,11789,4462,14771,4264,
12304,13364,935,287,14885,9432,1465,9888,9009,2624,3123,4558,5287,14532,698,383,7552,9681,6608,9960,12707,14357,9812,8750,724,5041,1583,99,70,1844,609,699,14184,8097,11932,11753,10880,13131,10466,7492,10884,10288,10887,8774,4259,6614,1670,14164,11217,9558,13610,15062,10347,15021,591,2206,13090,11010,11227,14520,10850,8750,11011,10040,4006,9189,4680,8475,11344,14646,1390,14649,9631,13524,14161,9620,14007,8047,14009,6547,15168,13690,4243,11790,1631,78,431,3804,9534,3670,115,13723,13787,9490,539,1898,
85,14575,4551,10549,14425,7570,8218,9395,8220,14354,5258,14165,296,5262,12101,15205,9376,15207,3591,15019,4236,4618,591,13771,13643,11790,293,15077,594,8355,15029,13598,15031,9641,14654,6923,15168,9425,15105,32,15107,3773,5511,9888,9979,15053,9313,11830,10431,11473,11296,9193,12056,14355,8656,12069,903,10803,14589,14601,8520,4963,14610,11206,12116,14587,14606,15257,14608,15259,5169,15261,3600,11716,1559,9582,14402,787,119,15197,100,10893,1881,11226,6712,292,15044,10602,1043,6282,114,51,10621,14409,
10500,14047,395,539,15290,10671,12149,2675,10669,6261,513,698,120,52,1616,14433,3734,15303,105,120,87,15278,10633,6132,9264,14100,476,15278,6270,15281,11212,15283,10641,15286,15295,15289,15291,14424,15293,866,15287,8866,15297,14108,1452,10536,14431,9946,15310,15305,15307,10503,11011,15304,15313,704,14418,10674,5595,10597,11063,15284,11066,345,1714,10605,10607,3013,1281,10610,15360,3160,12786,8989,101,271,832,11772,125,124,472,1872,15329,10498,15203,14106,741,15333,15296,15343,10534,14143,8421,15339,
4789,3590,287,2928,8765,15070,10671,15148,5514,10674,1570,6133,5595,5687,11284,15168,10599,15285,10643,14873,15390,430,5932,10660,15376,15331,1019,15380,15328,10671,15384,11773,10674,15129,14102,11064,15355,14731,91,4963,14602,12049,530,2513,15389,4096,15391,15409,3595,15330,14411,10583,14428,741,14430,2360,10671,10673,6701,378,4332,15429,4409,15354,10642,14166,832,15431,410,15408,6534,603,15436,14426,15332,15327,15335,15439,345,15417,49,381,11366,15462,15382,10585,5175,50,15315,11061,5748,1591,15312,
15314,10640,15404,14166,636,15478,8192,15407,11598,15457,14104,15377,4249,15388,32,15487,15392,15336,2408,15349,8845,5711,14473,4963,9486,14317,1557,406,15347,1898,1881,8903,5590,2829,8166,2301,8765,10881,11028,8781,15143,8771,802,11187,6621,2010,115,15035,260,15037,11853,15092,11945,597,15042,1968,769,9387,14340,15531,14346,11930,14486,15514,13704,5287,10229,12144,6005,15137,10819,13781,15195,7423,10968,13791,10827,4561,11418,13663,9120,1513,5950,15067,4741,15069,10913,4372,5564,14696,14332,7660,
4688,13777,13783,6061,5183,15552,14760,5189,15577,3149,5527,5228,898,5230,5237,10288,5237,5239,5241,5243,5245,32,5233,5248,5252,5232,5249,5244,1826,291,338,8795,15230,12966,15394,268,15150,11230,15152,13625,3670,8129,15164,15161,13337,6211,5169,10851,15165,10230,7719,514,5677,15510,13962,15091,13954,14061,13785,13776,15580,14797,13775,5283,15632,2129,10876,15180,13140,13779,15634,15555,5278,11790,9189,13930,4220,14943,15278,15510,15311,876,4457,14973,15243,15073,15245,10839,9530,679,15122,15569,14342,
9704,8131,11432,13725,14341,11939,9310,6250,15503,14266,34,71,460,9938,11987,390,11759,115,14155,5873,14142,11782,11810,120,11785,13181,8167,5287,637,105,9814,14122,6862,11801,11776,8873,9071,15549,5730,407,964,748,14973,15698,11803,8059,15529,11433,15702,6710,11808,11794,2206,11813,13772,4559,5287,4466,11065,12679,11816,3424,7993,11820,15690,6005,1915,15721,15715,464,12439,15718,1785,2651,15702,9601,11758,14176,15682,11829,15659,15675,698,934,947,13172,13128,12765,15507,14877,12277,8986,14450,2440,
14452,1094,14497,9646,14499,12517,14501,12450,14448,14464,3912,8636,12934,97,12936,11970,14518,14475,14894,10370,14061,8981,780,14944,12619,324,14983,15424,14879,14463,8982,12958,15758,3109,12957,14488,12090,5427,14491,8711,4332,5436,14495,1277,3049,14482,14873,12529,12765,14982,14892,15783,109,12439,15785,12323,12957,15194,3377,14444,14446,15788,2599,12860,14451,11430,818,9009,13024,8922,14511,14513,12785,11410,3049,12673,14381,1094,517,14473,14519,15616,14521,9625,7538,14523,8828,1324,14526,9689,
4896,14530,100,14532,5639,14534,367,14537,6556,15842,9027,882,796,14509,9322,4619,1291,9808,3727,6677,7385,15864,10205,13335,12655,14947,13466,15870,15866,7224,14866,11752,9488,6567,790,14882,15424,13321,2780,7400,15876,2953,12614,2300,13833,909,7350,14860,14980,11248,15894,7234,2912,12432,14915,6196,15865,2953,13463,12343,12143,6672,12346,14713,422,4090,14799,15889,9916,7175,12912,14858,4173,13188,4532,3185,1062,15895,8928,2243,12344,12589,6552,14460,6448,1844,8954,12198,11990,13338,8958,9414,15905,
2944,15813,9685,15925,15900,14745,15945,14914,14858,15916,11577,13361,14772,10833,14774,873,7620,894,387,121,12374,14803,1135,15960,13270,15897,7179,15899,7239,11734,4007,306,13105,12969,15769,14361,15877,7065,11744,14E3,2090,12262,10329,3948,14269,10403,14720,1974,14931,459,100,5405,13230,12378,15515,9163,15974,14801,12638,15965,12594,16E3,15992,13318,11655,7687,14775,7689,8669,15882,14627,10169,15977,15890,7713,15927,4647,15909,12345,12590,12816,7884,15973,15883,15980,14032,8931,8044,16014,2944,
7256,14730,4082,15945,15891,5308,8764,15997,15900,12660,13327,14701,16004,15879,13189,1081,15991,15961,3099,14745,16048,13192,13930,14781,4090,14658,14752,13416,94,14661,13351,8409,15951,2760,6942,15754,15968,15882,12213,14745,15972,609,12266,1456,16063,594,14375,7131,16052,14985,16033,14692,16030,10129,14822,10233,15100,15965,14946,15840,14948,16001,14794,14745,4173,14979,14843,15898,16011,12633,8061,16068,16050,15963,1630,387,11238,10052,16048,12699,7131,633,15934,16018,12588,7300,14712,3061,10283,
15941,15952,7814,16017,1203,8955,11892,12200,15984,341,16056,13473,9646,13297,7890,13478,12947,12949,7897,12952,13308,12954,7752,7600,16024,15962,16042,15836,16083,10142,15878,12882,14628,16044,16151,16013,16120,3829,15918,1415,16104,16119,10205,16053,16101,2685,12969,16070,16039,15970,14466,16075,4664,16016,13362,16124,15936,11868,12565,13339,13875,16156,2956,16045,15923,4344,15948,16089,12199,15938,12201,15913,3767,13342,10916,6501,13401,7213,12739,7632,13047,8624,15899,15943,16055,3767,14783,14492,
8881,2818,7658,15802,16161,15866,16080,12570,9097,16148,594,15782,14804,4090,14918,14466,16109,12839,14466,16112,8378,13363,14167,16028,8452,16153,12316,14972,13558,16144,14702,14770,15960,14969,16087,16233,14790,6966,14466,4173,16241,5427,15899,16248,11391,16217,16172,8402,14365,13747,16066,14937,4090,16163,13827,16192,13444,13244,14936,4920,16253,14806,12976,6486,16221,13354,14839,16074,16268,15884,288,15956,15887,16009,16071,15926,3485,7385,16227,13241,16130,13425,13502,4898,13428,16271,16263,
13211,12716,5499,16260,15994,12615,10059,15969,14848,7131,15945,12444,13032,12571,9647,8105,15765,16029,16181,16254,9636,14391,11734,16171,6894,14370,16257,14684,9492,16253,15907,13098,13440,14750,16004,14709,15049,13E3,16117,6737,5562,16324,6849,14394,16317,16253,16320,384,16219,511,16282,15900,15976,16313,15867,7395,15896,16097,7879,16276,15908,16115,8287,16333,7413,11407,14269,10423,15988,14930,14928,9315,16345,6794,16167,16024,16203,16147,16313,6894,7385,15948,16238,16170,16268,14715,6234,16302,
16093,16160,16293,591,14705,11295,15604,6506,16144,16187,15937,16178,15939,16023,16072,16330,13217,2248,16021,15912,16396,15998,13122,14973,16247,16214,14667,8063,16253,15869,16354,16326,14966,4527,14078,15255,15977,10430,474,10897,101,14572,14089,11528,13527,13172,11532,10951,787,11488,11491,10527,15459,10663,2321,16427,14400,15416,1727,15301,10165,10671,2815,1523,10537,10849,15153,14540,8027,14555,12123,8546,14559,14573,10216,12122,14614,9253,101,12110,16459,14593,12072,13873,16425,9414,14813,16453,
11676,13838,14359,14439,14962,9520,11790,14221,15711,15668,15539,15570,5790,572,1747,3486,3817,10817,15046,11945,11967,13898,13732,11449,13940,11945,14886,1465,4011,9818,13952,15538,15628,16482,808,14478,10280,14060,16504,11919,14929,1019,14931,2070,16363,16512,16365,14181,5366,14336,15157,2932,14339,15038,15669,12708,3371,4936,13810,13924,16495,14061,16519,14349,14351,10413,10439,280,15208,16524,16481,15664,14798,13291,13091,13938,16494,14356,4220,8555,16546,11141,16508,13025,1859,9581,10974,513,
13561,582,2516,2443,10213,572,294,105,2839,368,8657,348,364,351,13612,8011,11511,12114,16471,6573,8692,13173,8164,1169,7546,12350,3548,12351,6710,15248,11451,8683,13336,16188,870,8686,16571,109,11260,7829,297,6249,13623,15673,1709,13551,15636,1442,14129,15171,4400,122,16605,4380,762,6616,8623,9365,6226,15674,9533,8686,10678,15505,1608,15541,11800,5944,11457,7737,13666,6020,9733,5962,9735,6034,5965,9739,10990,6033,9743,5975,11008,6040,11007,16642,5977,6037,11007,16645,11002,5995,11004,9755,16647,2001,
8292,13130,13818,866,16620,10963,15338,13292,9594,16657,1019,16659,14147,5533,5719,3548,10024,8748,8151,373,15061,8659,9281,13733,13742,13761,1933,8180,9382,187,16476,14310,11677,16675,6589,121,1874,9559,13538,14281,34,5849,1297,7257,13939,16548,5058,16488,15548,9521,12856,15809,1790,14586,11579,6110,10071,10863,4622,10486,9841,10288,9970,7633,16616,13548,8254,13840,11266,15518,16622,13595,2734,14650,9680,13909,14653,6195,6745,2610,13892,10813,953,14139,10198,11317,656,14138,11864,3537,14178,1772,
14359,370,11653,8695,12104,10437,15777,16575,12119,13602,10420,6568,16463,14859,15927,13876,11709,6329,16751,11941,4970,11043,14556,8720,2830,11674,16768,9720,15857,8705,14438,13885,5381,10836,14823,12858,15543,8662,1676,16492,10833,1327,14909,5712,15566,13956,9129,13958,8486,8039,1505,109,15943,7907,6854,8535,2024,15804,12365,12529,8675,16705,1884,1676,16343,2295,1676,14763,4561,12678,13204,12684,11380,8120,11379,5828,8123,12689,8123,5835,5965,16796,13514,288,11367,15684,16693,3688,98,109,16727,
7340,14652,15032,8720,4084,15229,14651,16729,16839,9668,112,52,16836,7446,16844,15232,6195,745,9817,14995,14345,16504,14850,3020,14255,5202,4764,16849,7583,16851,9479,3578,13152,712,14520,16830,4932,1493,10099,11597,15082,16685,16472,13160,9711,11597,13847,9322,16475,15136,46,8322,13807,3680,11982,5118,8281,16889,7525,16624,11983,15720,15083,5044,13756,13734,13718,1942,15558,5045,8297,15562,14042,8301,11423,16655,338,8294,10906,8173,16907,11421,10289,10016,11426,16910,8079,15566,9223,8306,13204,8309,
15560,8311,6356,9134,7506,13793,12372,9770,5559,13799,8373,6573,9031,15008,1707,16621,13819,11863,120,13822,6424,11811,14691,1353,1631,14694,12497,5455,12032,11724,9946,15074,12031,101,8226,8239,980,16963,1829,12009,15151,1262,16691,4012,16962,8238,6585,1645,406,9359,5336,3677,1881,6616,14250,4245,10739,14998,8903,13836,16038,9360,13831,15827,12221,14575,16913,16957,3410,16971,16996,14038,14058,7446,11423,14015,16909,10912,15565,8129,5739,15188,291,258,11287,16502,16699,10215,406,16951,1094,5023,
16954,16952,12139,5336,15634,14302,15544,15186,406,16987,13946,8208,12131,13944,8208,11811,16978,3366,16994,10881,13888,8097,55,16934,5202,411,17013,5029,11984,8682,17009,15189,17012,5544,3521,14309,16608,12231,10968,17026,9295,5577,17039,543,16611,2295,17063,13797,15644,10842,17063,15573,15556,4416,9930,4476,16551,6358,16553,15040,14574,8293,11200,16702,11790,11723,14973,13129,16913,17030,5614,13778,11824,8561,15090,16698,9978,11811,17083,3020,1696,17047,13798,48,13705,1094,14122,1353,14129,4416,
16610,15004,3320,11835,10535,4469,13619,14573,16764,16537,10211,10938,16762,7051,17119,12050,1808,10441,14594,12076,13843,14093,11682,9585,11535,10507,11055,14097,10522,4121,1512,13818,15458,15411,15437,1019,2516,15416,10505,8845,6818,11098,8434,5164,14274,8343,11882,11163,1736,9512,16960,8910,10783,16573,6580,16723,16470,11510,17122,13867,14622,9421,9322,121,17060,5807,17175,4431,5613,17177,7068,6567,6147,1993,9184,5015,6567,1881,17185,3821,122,17180,11345,2932,17192,17045,17187,111,4833,11063,17057,
4082,15048,13217,1353,10978,13662,10980,15016,16630,10996,16632,10985,9736,10992,6033,9740,16638,6045,10993,16641,6036,6043,17211,5985,10998,16653,11001,9759,17211,5993,17228,17227,4259,3787,17183,6795,7131,5482,17195,4400,17086,17240,12152,17160,9393,13543,11209,13593,11574,5169,3929,9945,1019,9983,13977,13525,16940,17247,13975,13531,16037,16945,11075,9954,5882,11085,10167,15640,4431,13969,14047,5698,9984,13542,316,2255,8263,6395,12023,14314,11999,9690,9953,14281,6596,17281,12025,3691,12028,8351,
12030,716,17142,13979,824,8893,716,8895,15130,8897,10833,1353,14997,11248,11390,7104,16985,16416,17131,14181,1562,666,15536,16602,9273,12104,17086,16771,17167,12120,260,17319,14614,15671,16601,16449,14439,372,97,12770,13051,6959,6723,709,2102,15184,4396,8091,10817,12637,7131,17086,2362,7385,6241,5054,13811,17015,2407,17329,17337,4078,13644,1836,15158,15025,1081,17329,2362,16005,7019,7559,4478,13740,13635,13743,17358,1036,3408,7581,14799,603,13130,5687,17360,16277,8943,7719,17284,8090,16477,1518,16913,
17375,17336,13099,511,5027,7505,13749,4431,4478,10106,4833,17383,6420,17340,12470,17371,16544,795,964,11948,11681,1591,4341,5950,6126,698,6445,1796,329,16913,7779,1836,4334,13179,567,11419,699,5761,16918,7486,2553,14257,4632,9386,1013,17398,13027,17400,13524,14333,5520,17396,108,17385,1587,13682,16504,17359,17386,16327,4082,6711,16057,4460,11726,16058,14660,13251,13331,13056,17335,17431,7444,14799,17442,13027,17199,17355,1647,17357,14049,5389,7279,1587,17361,11730,5188,1836,13090,17373,17384,17430,
3368,3912,17086,17065,6215,12510,16900,9334,17366,16680,17455,876,16005,13634,7494,7495,13735,3185,10161,17438,13164,5566,11938,16526,17329,17365,16902,17362,5072,9869,4011,7598,14330,16541,17080,17474,17397,13546,17331,13327,14873,17334,7660,1836,15608,16393,15425,8195,17314,15153,5509,11224,15724,12535,14524,531,1563,6035,11621,1585,430,17502,16679,17493,4628,17476,3004,13326,11631,17333,6996,709,16321,9333,5394,9309,14313,11959,11955,5751,1748,17114,11488,17320,9222,14088,16772,16577,6657,9581,
16474,17390,5029,17339,13546,2596,16782,10699,16477,10718,13891,14520,13893,1822,13895,5226,15551,13903,11400,1795,14150,1678,13155,463,17306,5202,17304,7179,15797,7182,13034,12667,16211,645,17308,4400,15761,7250,15763,9648,16311,5458,11372,16816,11375,8728,12685,11378,5470,8122,2852,5474,16823,17617,8736,11386,13405,11389,17041,10743,5486,11568,4450,9322,14304,14257,109,11641,8865,8942,1353,16732,9816,9099,17158,874,16567,1898,79,102,9798,5750,12685,7385,16861,12919,17071,9841,17635,17302,2109,17587,
296,8481,13933,16215,17045,11616,3486,17646,9955,5404,1312,15654,13135,17664,17645,17647,5360,12685,6991,8673,1799,8676,14122,4220,17643,17665,17674,1735,9068,2850,8975,17609,11014,8116,17612,16818,2840,12687,11384,8124,6751,12690,11385,12692,14289,17632,17634,17301,17671,876,17684,17667,5164,17687,572,4729,15272,1564,6254,16570,350,16596,16856,17285,8428,6263,14995,370,11274,10358,11276,10341,17164,1457,9622,17171,12127,13174,17479,8877,11208,11090,14312,13922,11975,11910,4071,15088,16711,1785,17499,
15124,14343,9177,16530,17349,5481,17034,8188,10902,3908,17099,8148,17290,8234,17292,97,10049,11063,9322,17296,765,8894,3584,17655,11827,5160,12065,16667,16661,346,6255,17719,9981,9703,10174,12056,12643,14001,14067,12646,14069,11638,10216,13138,3220,9094,3780,8981,11623,110,15188,6482,14066,11586,13986,14004,13988,10330,4664,5491,14031,16006,17787,17803,14025,17790,14028,14071,9403,11366,14075,14072,8693,10025,517,17793,3777,17795,8074,17797,10111,9878,13061,17788,13063,14034,10194,10231,17810,17786,
14023,17813,14068,17805,11590,15063,9011,15560,8788,8790,9126,11224,3700,13138,17189,14844,9916,10590,17832,17841,17789,17843,11638,6143,17718,365,4295,17780,17865,10185,16254,8797,6305,17858,11657,17814,17861,14028,307,10026,17853,16624,8214,12104,14080,13520,16758,10401,16424,17563,6645,10401,14553,13882,14265,10948,17405,12080,3523,10953,9265,17137,10541,492,2144,10957,17857,9264,10958,805,3199,8845,16666,11080,9703,14249,6225,17691,5820,2840,8729,5833,17696,17700,17698,75,8735,8737,14358,16880,
353,9702,16693,17845,9116,15560,10288,14041,16920,14043,17850,11475,6257,1140,8424,15246,15646,16489,10823,16417,685,16767,17560,6097,9566,11486,14573,9570,17951,17734,15274,17897,273,17899,15318,8843,11539,5355,6567,9068,15988,13584,6341,14931,9030,315,9271,15611,16603,13165,903,17956,16758,11503,12159,16576,6120,11094,13517,17315,17172,13979,11392,15840,11395,10890,8046,17268,15655,8050,17348,9087,16791,2321,17660,3662,9493,16523,16712,15014,16918,13666,1699,14517,9161,15709,9055,10169,11416,7131,
17932,7300,15563,5931,17007,14045,11076,9450,15745,11342,16539,17073,11458,17881,13794,11476,15251,17014,9087,17945,17999,11862,9111,9162,8145,9728,5148,17762,8377,16944,9322,8130,15165,99,9604,17175,15114,11790,478,4029,16966,3410,17776,16961,18059,16681,8293,16664,582,18061,17293,5533,9142,8293,16999,1140,18068,16972,18063,10160,4993,699,17773,16684,13708,9869,9533,5858,11777,18075,9990,9561,11256,2024,862,99,11641,18054,6072,15713,10914,9869,5228,12130,4664,11063,866,18088,10063,18070,3662,609,
3910,699,5910,2487,17946,16504,9522,10005,18053,16936,6422,11815,17074,4471,4634,18065,5175,8800,9933,13656,18036,11862,530,18059,12064,12029,8224,16973,8227,10091,383,10005,18095,18120,17027,6498,6758,17706,17084,13779,16980,111,16982,12267,17958,9700,17524,1597,17526,4478,14996,14128,1456,17111,13837,6573,13839,14136,14117,5169,11234,10853,14121,17756,7774,770,1657,15527,18006,13649,17510,16526,15003,11470,18162,14303,3736,15244,1707,437,18164,8905,17894,13844,257,15522,653,10499,10331,17161,8363,
9322,16695,1379,16697,16547,17097,11812,840,16371,15637,2131,5875,4407,10549,12051,17096,11862,15263,16708,778,16710,5230,13780,9822,10077,13639,9828,7308,8136,778,14941,18039,8815,13575,9366,16720,1495,14617,15193,2705,6792,306,5743,16945,4271,3042,5815,17670,14631,10026,1509,8797,16958,11945,1329,373,16194,10320,626,279,716,964,3044,796,8721,277,17798,15199,14257,14039,14032,17815,10136,18273,10140,5584,17998,14471,1618,11447,65,14532,1844,16529,14814,4756,10081,13919,15778,16504,9996,17745,4158,
18282,2047,18285,11296,4663,77,18278,18272,17876,18274,18303,18276,2200,3561,3563,461,14527,4057,3560,3562,4174,18310,9689,2780,18313,18309,3565,8620,10026,18290,15664,5646,117,13892,8492,11717,324,17798,10345,385,18301,17811,17840,17874,17842,17835,13065,14585,6313,9975,17095,18131,18298,15027,14192,10420,17077,17748,17079,16526,4663,10808,2511,18288,11604,10894,10248,14002,9884,18275,10241,10365,10115,10103,277,18295,18284,5877,12464,15743,14224,7990,3956,9044,4223,8768,2783,6016,16918,732,1194,
8774,16190,5790,666,13286,6862,2609,609,541,114,15421,18217,11296,14211,11795,112,6362,1583,407,18324,17080,11628,336,18101,18257,14710,13E3,18260,3772,18263,2579,6380,18266,11396,18355,14999,10523,4768,13919,17873,11589,14003,18340,14005,17807,18333,18357,4758,18359,18425,11637,18363,18305,18365,4401,18423,18359,258,1872,1804,5230,2001,11618,3786,8445,5950,18447,5417,18449,3520,13227,3949,18370,1586,14250,15648,8429,804,14532,1808,10030,5045,477,15861,830,5950,18468,829,596,2965,4006,18441,4640,
18458,18297,15047,447,17088,594,5858,8333,6534,1118,4017,10160,282,107,2371,11241,18401,637,18403,103,18405,16526,10216,7995,4471,108,18351,11769,18353,17750,5292,11253,14520,5598,18477,10083,18270,531,15546,11564,15254,17949,14114,16772,10805,18256,947,1808,17323,13871,10936,17125,8640,2246,11840,11715,6341,16438,357,16429,903,5595,65,13181,14458,323,10709,15450,10602,4521,15410,15202,15412,16728,13599,15308,7991,7984,14419,10053,9692,1566,17930,14103,15292,17145,582,15357,40,41,32,61,62,1333,4272,
15561,15497,951,310,8464,18557,4759,1566,262,17571,15481,15423,11047,12078,1860,16435,15378,16850,18553,10503,4619,666,115,78,8490,10674,319,18582,17466,17645,4746,18595,15403,18585,14251,18549,10623,16436,15030,8286,18554,18594,3805,18597,3683,16442,11678,13626,18554,2842,17466,15475,4146,15865,18601,9168,10578,18589,2321,17566,15497,18623,6232,18557,5595,66,121,18604,18616,15141,15422,15451,15211,2627,18486,15375,18550,18564,16837,16729,18614,8769,18596,18598,8845,3746,320,16883,13979,16885,5787,
46,17105,2129,17737,16886,17044,4496,8278,16896,16892,5005,8282,1518,16891,8205,18675,16899,13755,17484,17503,17470,10905,18271,9282,16917,15066,16909,8310,18064,13130,16926,8284,11425,17004,17937,16922,8303,17267,18695,3377,16928,16911,16681,8312,16932,7501,18666,2218,18144,18664,17449,16939,6657,16941,10716,275,11851,10421,1566,15117,13624,16617,17977,16724,10931,1478,17760,4561,1478,6281,9075,12829,3901,383,14532,2611,11560,717,1796,3591,9347,9594,18734,14188,16230,18738,666,2780,1235,18743,9888,
9306,18174,9357,9594,16948,14937,9302,11198,9355,2115,1478,18760,4082,15417,17480,570,1478,17018,2211,18730,17774,4928,13622,1655,17988,17311,8158,17271,9322,17784,14122,18361,17833,18427,18362,11661,13996,17808,13998,8841,18302,18428,17860,18797,11590,4663,18333,1035,1885,18748,10259,18338,18798,18790,18306,2310,15179,17996,10306,3269,14021,18336,14033,18809,9924,18364,10265,9892,18795,18817,18821,11588,18436,18791,1590,10820,6501,17936,8789,10017,14044,17434,5865,9992,12937,274,18804,18505,14059,
16531,16504,4663,14064,10199,14189,18826,14036,11587,17528,17497,15267,15009,11407,17820,17818,17272,11667,8347,17948,545,13136,14560,16478,10422,17562,17951,18686,17953,14081,17889,14083,338,17888,18871,10949,1559,17892,16425,17958,18538,17134,12082,17136,5650,5595,1657,15511,15653,13703,8756,15325,11067,1315,14021,8250,440,15536,17188,16558,15029,18546,10643,7553,10514,13919,10198,17905,11500,14115,17726,16565,2705,666,14324,15206,14326,17914,10513,4012,9385,591,15135,5566,18715,5031,8723,9116,
18923,17935,18923,44,102,10154,97,16744,9392,1707,9394,15215,14326,369,18691,16428,15804,7182,12314,12386,5356,3781,5578,17677,11076]});
define("ii",["require","eg","oH"],function(a){function e(l){var p=c[l];if(p)return p;if("string"!=typeof l)return c[l]=function(){return l};var q=(p=f.exec(l))&&parseFloat(p[1]);switch(p&&p[4]&&p[4].toLowerCase()){case "vw":return c[l]=function(n){return n*q};case "vh":return c[l]=function(n,r){return r*q};case "vmin":return c[l]=function(n,r,t){return t*q};case "vmax":return c[l]=function(n,r,t,u){return u*q};default:return c[l]=function(){return l}}}function h(l){this.fb=l;this.PH=this.PH.bind(this);
this.fb.bind(b.kc,this.hc,this,!0);this.S9=new Map;this.Rt=[];this.hc()}function m(l,p,q,n){var r={};r.instance=l;r.h_a=p;r.name=q;r.value=n;g.push(r);d||(d=setTimeout(function(){d=null;k()},100))}function k(){d&&(clearTimeout(d),d=null);var l=g;g=[];l.forEach(function(p){h.SX(p.instance,p.h_a,p.name,p.value)})}a("eg");var b=a("oH");h.prototype.hc=function(){this.VSa();this.S9.forEach(function(l){for(var p in l)this.PH(l[p])}.bind(this));this.Rt.forEach(this.PH)};h.prototype.VSa=function(){var l=
this.fb.xb();this.KX=.01*this.fb.Xa();this.EX=.01*l;this.Nta=Math.min(this.KX,this.EX);this.Mta=Math.max(this.KX,this.EX)};h.prototype.PH=function(l){l(this.KX,this.EX,this.Nta,this.Mta)};h.prototype.uTa=function(l){this.Rt.push(l)};h.prototype.UXa=function(l){l=this.Rt.indexOf(l);0<=l&&this.Rt.splice(l,1)};h.prototype.SX=function(l,p,q,n){function r(u,v,w,x){p.call(l,q,t(u,v,w,x))}var t=e(n);(n=this.S9.get(l))||this.S9.set(l,n={});n[q]=r;r(this.KX,this.EX,this.Nta,this.Mta)};h.Xc=new Map;h.get=function(l){var p=
h.Xc.get(l);p||(p=new h(l),h.Xc.set(l,p));return p};h.SX=function(l,p,q,n){var r=l.get&&l.get("application")||l.Jb&&l.Jb();r?(k(),h.get(r).SX(l,p,q,n)):m(l,p,q,n)};var g=[],d=null,c={},f=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return h});
define("mj",["require","exports"],function(){return function(){function a(){}a.yca=function(e){if(this.Wh("crossorigin",!1)||this.ZY(e)){var h=window.location.protocol+"//"+window.location.hostname;window.location.port&&(h+=":"+window.location.port);return e.substring(0,h.length)!=h}return!1};a.nw=function(e,h){if(this.FWa(e))e=window.location.protocol+e;else if(!this.ZY(e)&&!this.qz(e)){if(h)if(0==e.indexOf("/")){var m=h.indexOf("//"),k="";0<=m&&(k=h.substr(0,m+2),h=h.substr(m+2));m=h.indexOf("/");
0<m&&(h=h.substr(0,m));e=k+h+e}else e=h+e;this.Im.href=e;e=this.Im.href}return e};a.wWa=function(){switch(window.location.protocol){case "http:":case "https:":return!0;default:return!1}};a.FWa=function(e){return 0===e.indexOf("//")};a.ZY=function(e){if(!e)return!1;var h=e.indexOf("://");return 3<=h&&5>=h?!0:0==e.indexOf("filesystem:")};a.getDirectory=function(e){e=this.nw(e);e=e.split("?")[0];e=e.split("/");1<e.length&&e.splice(e.length-1,1);return e.join("/")+"/"};a.cj=function(e){this.uG||(this.uG=
this.cla());return void 0!==this.uG[e]};a.getQueryParameter=function(e){this.uG||(this.uG=this.cla());return this.uG[e]};a.fAa=function(e,h){var m=e.split(h);e=m[0];(m=m.slice(1).join(h))&&(m=h+m);return[e,m]};a.cz=function(e,h){if(!h)return e;var m=this.fAa(e,"#"),k=m[1];m=this.fAa(m[0],"?");var b=m[0];m=m[1];return 0<=m.indexOf(h)?e:b+(m+(m?"&":"?")+h)+k};a.parse=function(e){this.Im.href=e;e={};e.protocol=this.Im.protocol;e.hostname=this.Im.hostname;e.port=this.Im.port;e.pathname=this.Im.pathname;
e.search=this.Im.search;e.hash=this.Im.hash;e.host=this.Im.host;var h=e.pathname?e.pathname.lastIndexOf("."):-1;e.BUa=0<=h?e.pathname.substr(h).toLowerCase():"";return e};a.getExtension=function(e){e=this.parse(e).pathname;var h=e.lastIndexOf(".");return 0<=h?e.substr(h,e.length):""};a.Wh=function(e,h){e=(this.getQueryParameter(e)||"").toLowerCase();return this.BXa(e,h)};a.BXa=function(e,h){switch(e){case "false":case "0":case "no":case "n":return!1;case "true":case "1":case "yes":case "y":return!0;
default:return h}};a.Eva=function(e,h){e=parseInt(this.getQueryParameter(e));return isNaN(e)?h:e};a.CY=function(e){e=parseFloat(this.getQueryParameter(e));return isNaN(e)?void 0:e};a.cla=function(){for(var e={},h=window.location.hash.substring(1).split("&").concat(window.location.search.substring(1).split("&")),m=0;m<h.length;m++){var k=h[m].split("="),b=decodeURIComponent(k[0]);k=1<k.length?decodeURIComponent(k[1]):null;e[b]=k}return e};a.Im=document.createElement("a");a.uG=null;a.qz=function(e){return e&&
0==e.indexOf("data:")};return a}()});
define("lo",["require","exports"],function(){function a(d,c){function f(){}f.prototype=c.prototype;d.prototype=new f;d.prototype.constructor=d}function e(d,c){c.forEach(function(f){Object.getOwnPropertyNames(f).forEach(function(l){d.prototype[l]=f[l]})})}function h(d){setTimeout(function(){try{d()}catch(c){k("Deferred callback failed",c)}},1)}function m(d){if(d!=g){g=d;try{if(b){var c=document.createElement("div");c.innerText=d;b.insertBefore(c,b.childNodes[0]||null)}else console.log(d)}catch(f){}}}
function k(d,c){var f=[];f.push("Exception: "+d);c.message?(f.push(c.message),f.push(c.stack)):f.push(c);m(f.join("\n"))}var b,g;return{XX:e,sUa:function(d){for(;;){var c=d.pop();if(!c)break;if(c==d.length)break;d.splice(c,1)}c=[];for(var f=0;256>f;f+=1)c[f]=String.fromCharCode(f);var l=256,p=String.fromCharCode(d[0]),q=p;for(f=1;f<d.length;f+=1){var n=d[f];n=c[n]?c[n]:p+p.charAt(0);q+=n;c[l++]=p+n.charAt(0);p=n}return JSON.parse(q)},defer:h,deferred:function(d,c){return function(){var f=arguments;
h(function(){d.apply(c||window,f)})}},extend:function(){var d=arguments[arguments.length-1],c=Array.prototype.slice.call(arguments,1,arguments.length-1);a(d,arguments[0]);e(d,c);return d},zUa:function(d){b=document.createElement("div");b.style.overflow="auto";b.style.position="absolute";b.style.bottom="0";b.style.left="0";b.style.right="0";b.style.padding="20px";b.style.fontFamily="Verdana";b.style.backgroundColor="#FFFFFF";b.style.color="#000000";b.style.zIndex="100";d?b.style.top="0":(b.style.width=
"40%",b.style.right="0",b.style.left="auto",b.style.height="50%",b.style.filter="alpha(opacity=60)",b.style.opacity="0.6");document.body.appendChild(b);console.log=function(c){m(c)}},log:m,yP:k,Io:function(d,c){var f=!1;return function(){f||(f=!0,h(function(){f=!1;d.apply(c||window)}))}},OXa:function(d){for(var c=[],f=0;f<d;f++)c.push(Math.floor(16*Math.random()).toString(16));return c.join("")},toArray:function(d){return void 0===d||null===d?[]:Array.isArray(d)?d:[d]},cWa:function(d,c){if(d.length!=
c.length)return!1;for(var f=0;f<d.length;f++)if(d[f]!=c[f])return!1;return!0},isString:function(d){var c="[object "+d+"]";return function(f){return Object.prototype.toString.call(f)===c}}("String")}});
define("nx","require jquery.mod eg bo ii mj lo".split(" "),function(a){function e(c,f,l){this.TA=c;this.WJ=l;this.mV=f.parent;this.mLa=f.isValidRoot||!1;this.a8={};this.U7=[];this.mpa=[];this.lpa=[];this.pS={};c=f.properties||{};for(var p in c)l=c[p],this.a8[p]=l.type,l.isUrl&&this.mpa.push(p),l.isSize&&this.lpa.push(p),void 0!==l.order&&(this.U7[l.order]=p),void 0!==l["default"]&&(this.pS[p]=l["default"]);this.jpa=[];this.kpa=[];f=f.events||{};for(var q in f)f[q].isDeferred?this.jpa.push(q):this.kpa.push(q);
this.Px=this.wx=this.wK=this.DW=this.MC=this.xX=this.YC=this.gF=this.HE=this.HJ=void 0;this.ama=!1}var h=a("jquery.mod"),m=a("eg"),k=a("bo"),b=a("ii"),g=a("mj"),d=a("lo");k=d.sUa(k);e.prototype.sVa=function(){if(this.mV)return e.Ij(this.mV)};e.prototype.oD=function(){return this.TA};e.prototype.aP=function(){return this.Lx()?this.pu().aP().concat(this.TA):[this.TA]};e.prototype.hasAttributes=function(){return 0<this.getAttributeNames().length};e.prototype.hasAttribute=function(c){return this.Qba(c)?
!0:!1};e.prototype.getAttributeNames=function(){void 0==this.HJ&&this.Zia();return this.HJ};e.prototype.Pva=function(){if(this.U7)return this.U7;if(this.Lx())this.pu().Pva();else return[]};e.prototype.vva=function(){if(this.gF)return this.gF;this.gF={};if(this.Lx()){var c=this.pu().vva(),f;for(f in c)this.gF[f]=c[f]}if(this.pS)for(f in this.pS)this.gF[f]=this.pS[f];return this.gF};e.prototype.Qba=function(c){void 0==this.HE&&this.Zia();return this.HE[c]};e.prototype.aWa=function(){return 0<this.Yva().length};
e.prototype.Yva=function(){void 0==this.YC&&this.gja();return this.YC};e.prototype.GVa=function(){void 0==this.xX&&this.gja();return this.xX};e.prototype.$Va=function(){return 0<this.Wva().length};e.prototype.Wva=function(){void 0==this.MC&&this.fja();return this.MC};e.prototype.EVa=function(){void 0==this.DW&&this.fja();return this.DW};e.prototype.QVa=function(){return 0<this.Vba().length};e.prototype.jwa=function(c){void 0==this.wx&&this.YE();return-1!=this.wx.indexOf(c)};e.prototype.Vba=function(){void 0==
this.wx&&this.YE();return this.wx};e.prototype.UVa=function(){return 0<this.$ba().length};e.prototype.kwa=function(c){void 0==this.Px&&this.YE();return-1!=this.Px.indexOf(c)};e.prototype.$ba=function(){void 0==this.Px&&this.YE();return this.Px};e.prototype.RVa=function(c){void 0==this.wK&&this.YE();return-1!=this.wK.indexOf(c)};e.prototype.bVa=function(){void 0==this.wK&&this.YE();return this.wK};e.prototype.Fva=function(){return this.mLa||this.Lx()&&this.pu().Fva()};e.prototype.gn=function(c,f,l,
p){this.BNa(f,l);var q=this.WJ;var n=p&&0<p.length?new (d.extend(q,function(){q.apply(this,p)})):new q;n.set("application",c);n.set("baseDirectoy",f);n.set("queryStringParameters",l);n.set("class",this.oD());return n};e.prototype.BNa=function(c,f){this.ama||(this.ama=!0,this.ZGa(c,f),this.QHa(),this.rDa())};e.prototype.ZGa=function(c,f){if(this.aWa()||this.$Va()){var l=this.WJ.prototype,p=this.GVa(),q=this.EVa(),n=l.set;l.set=function(r,t){p[r]?(!t||g.qz(t)||g.ZY(t)||(t=g.cz(g.nw(t,c),f)),n.call(this,
r,t)):q[r]?b.SX(this,n,r,t):n.call(this,r,t)}}};e.prototype.rDa=function(){var c=this.WJ.prototype;this.getAttributeNames().forEach(function(f){Object.defineProperty(c,f,{get:function(){return this.get(f)},set:function(l){this.set(f,l)},enumerable:!0,configurable:!0})})};e.prototype.QHa=function(){var c=this.WJ.prototype,f=this;this.hasAttributes()&&(c.set=c.set,c.get=c.get);if(this.QVa()||this.UVa())c.bind=c.bind,c.getBindings=c.bI,c.hasBindings=c.hwa,c.trigger=c.trigger,c.unbind=c.unbind;c.getClassName=
function(){return f.oD()};c.getClassPath=function(){return f.aP()};c.getAttributeNames=function(){return f.getAttributeNames()};c.getEventNames=function(){return f.bVa()};c.hasEvent=function(l){return f.RVa(l)}};e.prototype.Zia=function(){this.HJ=[];this.HE={};for(var c in this.a8)this.HJ.push(c),this.HE[c]=e.Z4(this.a8[c]);if(this.Lx())for(var f=this.pu(),l=f.getAttributeNames(),p=0;p<l.length;p++)c=l[p],this.HE[c]||(this.HJ.push(c),this.HE[c]=f.Qba(c))};e.prototype.gja=function(){this.YC=this.mpa.slice();
this.Lx()&&(this.YC=m(this.YC).union(this.pu().Yva()));this.xX={};for(var c=0;c<this.YC.length;c++)this.xX[this.YC[c]]=!0};e.prototype.fja=function(){this.MC=this.lpa.slice();this.Lx()&&(this.MC=m(this.MC).union(this.pu().Wva()));this.DW={};for(var c=0;c<this.MC.length;c++)this.DW[this.MC[c]]=!0};e.prototype.YE=function(){this.wx=this.jpa.slice();this.Px=this.kpa.slice();this.Lx()&&(this.wx=m(this.wx).union(this.pu().Vba()),this.Px=m(this.Px).union(this.pu().$ba()));this.wK=m(this.wx).union(this.Px)};
e.prototype.Lx=function(){return this.mV?!0:!1};e.prototype.pu=function(){return e.Ij(this.mV)};e.P2=new Map;e.Cia=new Map;e.define=function(c,f,l){f=d.extend(f,function(){l.apply(this,arguments);var q=p.vva(),n;for(n in q)this.set(n,q[n])});var p=new e(c,k[c],f);e.P2.set(c,p);e.Cia.set(f,p);return f};e.getAll=function(){var c=[];e.P2.forEach(function(f){c.push(f)});return c};e.Ij=function(c){return e.P2.get(c)};e.PUa=function(c){return e.Cia.get(c)};e.Na=function(c,f){c=e.Ij(c);if(m(f).isNull())return!0;
if(f&&f.constructor)for(f=e.PUa(f.constructor);f;){if(f==c)return!0;f=f.sVa()}return!1};e.Z4=function(c){switch(c){case "string":case "code":return e.NQa;case "number":return e.JLa;case "bool":return e.NEa;case "color":return e.PFa;case "percent":return e.lNa;case "size":return e.gQa;case "identifier":return e.xKa;case "array":return e.Dha;case "canvas":return e.oFa;case "img":return e.AKa;case "dict":return e.mNa;case "*":return e.EHa;default:if(e.VKa(c))switch(e.IIa(c)){case "array":var f=e.Z4(e.rka(c));
return function(q,n){q=e.Dha(q,n);for(var r=0;r<q.length;r++)q[r]=f(q[r],n);return q};case "enum":var l=e.ska(c);return e.KIa(l);case "or":l=e.ska(c);var p=m(l).map(function(q){return e.Z4(q)});return function(q,n){for(var r=0;r<p.length;r++)try{return p[r](q,n)}catch(t){}throw"Invalid value";};default:throw"Invalid type validator definition: "+c;}else return e.xm(function(q){return e.Na(c,q)})}};e.VKa=function(c){return 0<=c.indexOf("[")&&c.lastIndexOf("]")==c.length-1};e.IIa=function(c){return c.substring(0,
c.indexOf("["))};e.rka=function(c){return c.substring(c.indexOf("[")+1,c.lastIndexOf("]"))};e.ska=function(c){c=e.rka(c);for(var f=[],l="",p=0,q=0;q<c.length;q++){var n=c.charAt(q);l+=n;switch(n){case "[":p++;break;case "]":p--;break;case ",":0==p&&(f.push(l.substr(0,l.length-1)),l="")}}""!=l&&f.push(l);return m(f).map(function(r){return e.GRa(r)})};e.GRa=function(c){return c.replace(/^\s+|\s+$/g,"")};e.xm=function(c){return function(f,l){if(!c(f)){if("string"!=typeof f)throw"Invalid value";f=e.OHa(f,
l);if(!c(f))throw"Invalid value";}return f}};e.OHa=function(c,f){return function(){return eval(c)}.call(f)};e.EHa=function(c){return c};e.JLa=e.xm(function(c){return"[object Number]"==Object.prototype.toString.call(c)});e.NQa=e.xm(function(c){return"string"==typeof c||null===c});e.NEa=e.xm(function(c){return!0===c||!1===c});e.Dha=e.xm(function(c){return"[object Array]"==Object.prototype.toString.call(c)});e.oFa=e.xm(function(c){return c&&"CANVAS"==c.tagName});e.AKa=e.xm(function(c){return c&&"IMG"==
c.tagName});e.KIa=function(c){return e.xm(function(f){return-1!=c.indexOf(f)})};e.NS=function(c,f){return m(c).isString()&&f.test(c)};e.xKa=e.xm(function(c){return e.NS(c,RegExp("^[a-z][a-z0-9_]*$","i"))});e.lNa=e.xm(function(c){return e.NS(c,RegExp("^\\s*([+-]?\\d+\\.?\\d*)%\\s*$","i"))});e.gQa=e.xm(function(c){return e.NS(c,RegExp("^\\s*([+-]?\\d+\\.?\\d*)\\s*((vw)|(vh)|(vmin)|(vmax)|(px))\\s*$","i"))});e.PFa=e.xm(function(c){return e.NS(c,RegExp("^#[0-9a-f]{6}$","i"))});e.mNa=e.xm(function(c){try{return h.isPlainObject(c)}catch(f){return!1}});
window.TDV.PlayerAPI.getClassByName=function(c){return e.Ij(c).WJ};return e});
define("iE",["require"],function(){function a(){b[0]=b[1]=b[2]=b[3]=b[4]=b[5]=b[6]=b[7]=b[8]=b[9]=b[10]=b[11]=b[12]=b[13]=b[14]=b[15]=b[16]=0;this.qba=b;this.hP=1779033703;this.iP=3144134277;this.jP=1013904242;this.kP=2773480762;this.lP=1359893119;this.mP=2600822924;this.nP=528734635;this.oP=1541459225;this.block=this.start=this.fz=this.mca=0;this.Oba=this.RY=!1;this.first=!0}var e="0123456789abcdef".split(""),h=[-2147483648,8388608,32768,128],m=[24,16,8,0],k=[1116352408,1899447441,3049323471,3921009573,
961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,
883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],b=[];a.prototype.update=function(g){if(!this.Oba){for(var d,c=0,f,l=g.length,p=this.qba;c<l;){this.RY&&(this.RY=!1,p[0]=this.block,p[16]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0);for(f=this.start;c<l&&64>f;++c)d=g.charCodeAt(c),128>d?p[f>>2]|=d<<m[f++&3]:(2048>d?p[f>>2]|=(192|d>>6)<<m[f++&3]:(55296>d||57344<=d?p[f>>
2]|=(224|d>>12)<<m[f++&3]:(d=65536+((d&1023)<<10|g.charCodeAt(++c)&1023),p[f>>2]|=(240|d>>18)<<m[f++&3],p[f>>2]|=(128|d>>12&63)<<m[f++&3]),p[f>>2]|=(128|d>>6&63)<<m[f++&3]),p[f>>2]|=(128|d&63)<<m[f++&3]);this.LWa=f;this.fz+=f-this.start;64<=f?(this.block=p[16],this.start=f-64,this.hash(),this.RY=!0):this.start=f}4294967295<this.fz&&(this.mca+=this.fz/4294967296<<0,this.fz%=4294967296);return this}};a.prototype.fva=function(){if(!this.Oba){this.Oba=!0;var g=this.qba,d=this.LWa;g[16]=this.block;g[d>>
2]|=h[d&3];this.block=g[16];56<=d&&(this.RY||this.hash(),g[0]=this.block,g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0);g[14]=this.mca<<3|this.fz>>>29;g[15]=this.fz<<3;this.hash()}};a.prototype.hash=function(){var g=this.hP,d=this.iP,c=this.jP,f=this.kP,l=this.lP,p=this.mP,q=this.nP,n=this.oP,r=this.qba,t;for(t=16;64>t;++t){var u=r[t-15];var v=(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3;u=r[t-2];u=(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10;r[t]=r[t-16]+v+r[t-7]+u<<0}var w=
d&c;for(t=0;64>t;t+=4){if(this.first){var x=704751109;u=r[0]-210244248;n=u-1521486534<<0;f=u+143694565<<0;this.first=!1}else{v=(g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10);u=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7);x=g&d;var y=x^g&c^w;var A=l&p^~l&q;u=n+u+A+k[t]+r[t];v+=y;n=f+u<<0;f=u+v<<0}v=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10);u=(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7);w=f&g;y=w^f&d^x;A=n&l^~n&p;u=q+u+A+k[t+1]+r[t+1];v+=y;q=c+u<<0;c=u+v<<0;v=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10);
u=(q>>>6|q<<26)^(q>>>11|q<<21)^(q>>>25|q<<7);x=c&f;y=x^c&g^w;A=q&n^~q&l;u=p+u+A+k[t+2]+r[t+2];v+=y;p=d+u<<0;d=u+v<<0;v=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10);u=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7);w=d&c;y=w^d&f^x;A=p&q^~p&n;u=l+u+A+k[t+3]+r[t+3];v+=y;l=g+u<<0;g=u+v<<0}this.hP=this.hP+g<<0;this.iP=this.iP+d<<0;this.jP=this.jP+c<<0;this.kP=this.kP+f<<0;this.lP=this.lP+l<<0;this.mP=this.mP+p<<0;this.nP=this.nP+q<<0;this.oP=this.oP+n<<0};a.prototype.dWa=function(){this.fva();var g=this.hP,
d=this.iP,c=this.jP,f=this.kP,l=this.lP,p=this.mP,q=this.nP,n=this.oP;return e[g>>28&15]+e[g>>24&15]+e[g>>20&15]+e[g>>16&15]+e[g>>12&15]+e[g>>8&15]+e[g>>4&15]+e[g&15]+e[d>>28&15]+e[d>>24&15]+e[d>>20&15]+e[d>>16&15]+e[d>>12&15]+e[d>>8&15]+e[d>>4&15]+e[d&15]+e[c>>28&15]+e[c>>24&15]+e[c>>20&15]+e[c>>16&15]+e[c>>12&15]+e[c>>8&15]+e[c>>4&15]+e[c&15]+e[f>>28&15]+e[f>>24&15]+e[f>>20&15]+e[f>>16&15]+e[f>>12&15]+e[f>>8&15]+e[f>>4&15]+e[f&15]+e[l>>28&15]+e[l>>24&15]+e[l>>20&15]+e[l>>16&15]+e[l>>12&15]+e[l>>
8&15]+e[l>>4&15]+e[l&15]+e[p>>28&15]+e[p>>24&15]+e[p>>20&15]+e[p>>16&15]+e[p>>12&15]+e[p>>8&15]+e[p>>4&15]+e[p&15]+e[q>>28&15]+e[q>>24&15]+e[q>>20&15]+e[q>>16&15]+e[q>>12&15]+e[q>>8&15]+e[q>>4&15]+e[q&15]+e[n>>28&15]+e[n>>24&15]+e[n>>20&15]+e[n>>16&15]+e[n>>12&15]+e[n>>8&15]+e[n>>4&15]+e[n&15]};a.prototype.digest=function(){this.fva();var g=this.hP,d=this.iP,c=this.jP,f=this.kP,l=this.lP,p=this.mP,q=this.nP,n=this.oP;return[g>>24&255,g>>16&255,g>>8&255,g&255,d>>24&255,d>>16&255,d>>8&255,d&255,c>>
24&255,c>>16&255,c>>8&255,c&255,f>>24&255,f>>16&255,f>>8&255,f&255,l>>24&255,l>>16&255,l>>8&255,l&255,p>>24&255,p>>16&255,p>>8&255,p&255,q>>24&255,q>>16&255,q>>8&255,q&255,n>>24&255,n>>16&255,n>>8&255,n&255]};return function(g){return(new a(!0)).update(g).dWa()}});
define("bW",["require","iE"],function(a){function e(){var b=Array.apply(null,Array(1024)).map((g,d)=>String.fromCharCode(d%256)).join("");return"cbab1f6d618e723188cfdb1c7c3f47146e46da4da56030386d85055016afd5d9"==k(b)}function h(b){var g=Array.isArray(b)?"array":null===b?"null":typeof b;switch(g){case "array":return"["+b.map(h).join(",")+"]";case "object":return"{"+Object.keys(b).sort().map(function(d){return h(d)+":"+h(b[d])}).join(",")+"}";case "boolean":return b?"true":"false";case "number":return b.toFixed(3);
case "string":return'"'+b.split('"').join('\\"')+'"';case "null":case "undefined":return g;case "function":return"<"+g+">"}return""}function m(b){return b.map(function(g){return String.fromCharCode(g)}).join("")}var k=a("iE");return{validate:function(b){var g=[104,97,115,104],d=b[m(g)];delete b[m(g)];b=m([116,100,118])+h(b);return k(b)==d||!e()}}});
define("lr",["require","exports","lo"],function(a,e,h){function m(){var f=g.length,l=g.splice(0,f);b+=f;for(var p=0;p<f;p++){var q=l[p];if(q)try{q()}catch(n){h.yP("Error in async task",n)}}}var k=0,b=0,g=[],d,c=new Promise(function(f){f()});setInterval(function(){0<g.length&&100<(new Date).getTime()-d&&m()},100);return{zz:function(f,l){void 0===l&&(l=void 0);if(void 0!==l&&0<l)return-1-setTimeout(f,l||1);0==g.length&&(c.then(m),d=(new Date).getTime());k++;g.push(f);return k-1},cancel:function(f){if(0>
f)clearTimeout(-1-f);else{var l=f-b;if(0<=l){if(!g[l])throw"invalid async handle: "+f;g[l]=null}}}}});
define("gi",["require","exports","cy","lr","lo"],function(a,e,h,m,k){var b=function(){return function(){}}();return function(){function g(){this.Jc={}}g.prototype.ITa=function(d,c,f){this.Wha(d,c,f,!0,c,!0)};g.prototype.bind=function(d,c,f,l,p){return this.Wha(d,c,f,l,p||c,!1)};g.prototype.Wha=function(d,c,f,l,p,q){if(void 0===d)throw"Event name undefined";if(void 0===c)throw"Event handler undefined";f=f||this;l=l?!0:!1;d in this.Jc||(this.Jc[d]=[]);var n=new b;n.pP=c;n.NVa=p||c;n.context=f;n.Ewa=
l;d=this.Jc[d];q?d.unshift(n):d.push(n);return this};g.prototype.unbind=function(d,c,f){d in this.Jc&&(f=f||this,this.Jc[d]=this.Jc[d].filter(function(l){return l.pP!=c||l.context!=f}),0==this.Jc[d].length&&delete this.Jc[d]);return this};g.prototype.O_a=function(d){d in this.Jc&&delete this.Jc[d]};g.prototype.Hea=function(){this.Jc={}};g.prototype.trigger=function(d,c){void 0===c&&(c=void 0);"string"==typeof d&&(d=new h(d,c));d.name in this.Jc&&(d.source=this,this.ax(d,!0),d.name in this.Jc&&this.$Ga(d));
return this};g.prototype.$Ga=function(d){g.qS.push({caller:this,event:d});g.O3||(g.O3=!0,m.zz(g.oja))};g.oja=function(){for(var d=(new Date).getTime()+1E3;g.qS.length;){var c=g.qS.shift();g.prototype.ax.call(c.caller,c.event,!1);if((new Date).getTime()>d)break}0<g.qS.length?m.zz(g.oja,1):g.O3=!1};g.prototype.hwa=function(d){return d in this.Jc};g.prototype.bI=function(d,c){var f=[];d=this.Jc[d]||[];for(var l=0;l<d.length;l++){var p=d[l];void 0!==c&&p.Ewa!=c||f.push(p.NVa)}return f};g.prototype.ax=
function(d,c){var f=this;d.unbindCurrentHandler=function(){q&&f.unbind(d.name,q.pP,q.context)};if(d.name in this.Jc)for(var l=this.Jc[d.name],p=0;p<l.length;p++){var q=l[p];if(q.Ewa==c)try{q.pP.call(q.context,d)}catch(n){k.yP("Exception handling event "+d.name,n)}}};g.qS=[];g.O3=!1;return g}()});
define("lP",["require","exports","oH","cy","gi"],function(a,e,h,m,k){return function(b){function g(){var d=b.call(this)||this;d.Lt={};return d}Z(g,b);g.prototype.set=function(d,c){this.Lt[d]!=c&&(this.Lt[d]=c,this.Isa(d))};g.prototype.Isa=function(d){d=new m(h.G(d));this.trigger(d)};g.prototype.copy=function(d){this.Lt={};for(var c in d.Lt)this.Lt[c]=d.Lt[c];return this};g.prototype.get=function(d,c){void 0===c&&(c=void 0);d=this.Lt[d];return void 0!==d?d:c};return g}(k)});
define("fc",["require"],function(){function a(e,h,m){this.set("undefined"!=typeof e?e:0,"undefined"!=typeof h?h:0,"undefined"!=typeof m?m:0)}a.prototype.set=function(e,h,m){this.x=e;this.y=h;this.z=m;return this};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(e){e.JH(this)};a.prototype.project=function(e){e.project(this)};return a});
define("a",["require","lo","fc"],function(a){var e=a("lo"),h=a("fc"),m=e.extend(h,function(k,b,g){h.call(this,k,b,g)});m.prototype.clone=function(){return new m(this.x,this.y,this.z)};m.prototype.Tc=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};m.prototype.Oc=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};m.prototype.bca=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};m.prototype.II=function(k){k/=
this.bca();this.x*=k;this.y*=k;this.z*=k;return this};m.prototype.normalize=function(){return this.II(1)};m.prototype.jD=function(k){return this.x*k.x+this.y*k.y+this.z*k.z};m.prototype.fY=function(k){var b=this.z*k.x-this.x*k.z,g=this.x*k.y-this.y*k.x;this.x=this.y*k.z-this.z*k.y;this.y=b;this.z=g;return this};m.jz=function(k,b){return new m(b.x-k.x,b.y-k.y,b.z-k.z)};m.AY=function(k,b,g,d,c,f){k=d-k;b=c-b;g=f-g;return Math.sqrt(k*k+b*b+g*g)};m.Ds=function(k,b){return new m(Math.cos(b)*Math.sin(k),
Math.sin(b),Math.cos(b)*Math.cos(k))};return m});
define("jj",["require","lP","nx","a"],function(a){var e=a("lP"),h=a("nx"),m=a("a");a=h.define("AdjacentPanorama",e,function(){e.call(this);this.Naa=this.cu=void 0});a.prototype.xva=function(){if(void 0===this.cu){for(this.cu=this.Kka()-this.get("yaw");180<this.cu;)this.cu-=360;for(;-180>this.cu;)this.cu+=360}return this.cu};a.prototype.aVa=function(){void 0===this.Naa&&(this.Naa=m.Ds(this.Kka()*Math.PI/180,0));return this.Naa};a.prototype.OTa=function(){return void 0!==this.get("yaw")&&void 0!==this.get("backwardYaw")};
a.prototype.Kka=function(){return this.get("backwardYaw")-180};return a});define("hV",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("AmbientLight",e,function(){e.call(this)})});
define("ff",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("Model3DPostprocessing",e,function(){e.call(this)});a.prototype.lQ=function(h){this.Ph!==h&&(this.Ph=h,this.Wsa())};a.prototype.fw=function(h){this.bG!==h&&(this.bG=h,this.Wsa())};a.prototype.Wsa=function(){this.set("disabled",this.bG&&this.get("disableWhileMoving")||this.Ph&&this.get("disableWhileUserInteracting"))};return a});
define("nF",["require","nx","ff"],function(a){var e=a("nx"),h=a("ff");return e.define("AmbientOcclusionModel3DPostprocessing",h,function(){h.call(this)})});define("kO",["require"],function(){return{T:"stopped",X:"playing",Eb:"paused"}});define("fe",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("ImageResource",e,function(){e.call(this)})});
define("eq","require lo oH kO nx fe".split(" "),function(a){a("lo");var e=a("oH"),h=a("kO"),m=a("nx"),k=a("fe");a=m.define("AnimatedImageResource",k,function(){k.call(this)});a.prototype.play=a.prototype.play=function(){this.set("state",h.X)};a.prototype.pause=a.prototype.pause=function(){this.set("state",h.Eb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",h.T)};a.prototype.set=function(b,g){switch(b){case "state":(this.get("state")||h.T)==h.T&&g==h.X&&this.trigger(e.An)}k.prototype.set.call(this,
b,g)};a.prototype.Jj=function(b,g,d){g||(g=1);d||(d=1);return k.prototype.Jj.call(this,b,g*this.get("colCount",1),d*this.get("rowCount",1))};return a});define("ec",["require","nx","ff"],function(a){var e=a("nx"),h=a("ff");return e.define("AntialiasModel3DPostprocessing",h,function(){h.call(this)})});
define("ij",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("HotspotMapOverlay",e,function(h){e.call(this);this.OG=void 0===h?!0:h;this.SF=this.jq=this.iq=this.wa=void 0});a.prototype.getItem=function(){if(void 0===this.wa){var h=this.get("image");this.wa=h?h.eY(this.OG):null}return this.wa};a.prototype.Uva=function(){if(void 0===this.iq){var h=this.get("rollOverImage");this.iq=h?h.eY(this.OG):null}return this.iq};a.prototype.Vva=function(){if(void 0===this.jq){var h=this.get("selectedImage");
this.jq=h?h.eY(this.OG):null}return this.jq};a.prototype.mVa=function(){if(void 0===this.SF){this.SF=[];var h=this.getItem();h&&this.SF.push(h);(h=this.Uva())&&this.SF.push(h);(h=this.Vva())&&this.SF.push(h)}return this.SF};return a});define("eP",["require","nx","ij"],function(a){var e=a("nx"),h=a("ij");return e.define("AreaHotspotMapOverlay",h,function(){h.call(this,!0)})});define("og",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("AudioResource",e,function(){e.call(this)})});
define("cN",["require"],function(){return{kA:"inAdvance",Xea:"delayed"}});
define("bc",["require","exports"],function(){return function(){function a(){}a.jA="grab";a.Zh="grabbing";a.ZBa="move";a.Mfa="move-n";a.Nfa="move-ne";a.Dfa="move-e";a.Qfa="move-se";a.Pfa="move-s";a.Rfa="move-sw";a.Sfa="move-w";a.Ofa="move-nw";a.$Ba="move-ew";a.bCa="move-ns";a.aCa="move-nesw";a.cCa="move-nwse";a.Ffa="move-fast-n";a.Gfa="move-fast-ne";a.Efa="move-fast-e";a.Jfa="move-fast-se";a.Ifa="move-fast-s";a.Kfa="move-fast-sw";a.Lfa="move-fast-w";a.Hfa="move-fast-nw";a.df="hand";a.sA="transparent";
a.He="default";a.lt="inherit";return a}()});
define("hn",["require","oH"],function(a){function e(){this.Ki=[]}var h=a("oH");e.prototype.register=function(m){this.sDa(m);this.Ki.push(m);m.get("pressed")&&this.Uqa(m)};e.prototype.unregister=function(m){this.RNa(m)};e.prototype.sDa=function(m){m.bind(h.Vj,this.ona,this,!0)};e.prototype.RNa=function(m){m.unbind(h.Vj,this.ona,this)};e.prototype.ona=function(m){this.Uqa(m.source)};e.prototype.Uqa=function(m){this.Ki.forEach(function(k){k.set("pressed",k==m)})};e.register=function(m,k){this.unregister(m);
k=this.di(k);m.K1=k;k.register(m)};e.unregister=function(m){m.K1&&(m.K1.unregister(m),delete m.K1)};e.di=function(m){return this.Lla[m]||(this.Lla[m]=new e)};e.Lla={};return e});define("ed",["require"],function(){return{Ie:"push",Xj:"toggle"}});define("hH",["require"],function(){return{wE:"visible",nfa:"hidden",cp:"scroll"}});define("gJ",["require"],function(){return{He:void 0,U:"over",ob:"pressed",$b:"pressedOver",ca:"selected"}});
define("mQ",["require"],function(){return{Pa:"left",hb:"right",Ge:"center",uc:"top",pc:"bottom",he:"middle"}});define("fB",["require"],function(){return{Wc:"rollOver",ALWAYS:"always"}});
define("v",["require","exports","lo","mj"],function(a,e,h,m){function k(d){return!!(window.location.hash&&0<=window.location.hash.indexOf("device="+d))}var b={};b.Hi=TDV.pb.WQ;b.aE=TDV.pb.T0;b.u1=TDV.pb.Wfa;b.L0a=TDV.pb.X0;b.tfa=TDV.pb.U0;b.RBa=TDV.pb.Vfa;b.y0a=TDV.pb.W0;b.V0=TDV.pb.V0;b.aJ=TDV.pb.aJ;b.M_=TDV.pb.M_;b.L_=TDV.pb.L_;b.K_=TDV.pb.K_;b.N_=TDV.pb.N_;b.Xh=TDV.pb.Xh;b.EQ=TDV.pb.EQ;b.dm=TDV.pb.dm;b.Uk=TDV.pb.Uk;b.eE=TDV.pb.eE;b.tw=TDV.pb.tw;b.DQ=TDV.pb.DQ;b.Oz=TDV.pb.Oz;b.I_=TDV.pb.I_;b.$I=
TDV.pb.$I;b.Uq=TDV.pb.Uq;b.IQ=TDV.pb.IQ;b.J_=TDV.pb.J_;b.YI=TDV.pb.YI;b.FQ=TDV.pb.FQ;b.fE=TDV.pb.fE;b.ZI=TDV.pb.ZI;b.Pz=TDV.pb.Pz;b.Tea=TDV.pb.Tea;b.$s=TDV.pb.$s;b.bt=TDV.pb.bt;b.gE=TDV.pb.gE;b.GQ=TDV.pb.GQ;b.HQ=TDV.pb.HQ;b.O_=TDV.pb.O_;b.R_=TDV.pb.R_;b.iE=TDV.pb.iE;b.S_=TDV.pb.S_;b.T_=TDV.pb.T_;b.Fx=function(d){d="force_"+d;if(m.cj("debug")&&m.cj(d))return m.getQueryParameter(d)};b.iIa=b.Fx("os");b.fe=function(){return b.iIa||TDV.pb.fe};b.dIa=b.Fx("browser");b.browser=function(){return b.dIa||TDV.pb.browser};
b.eIa=b.Fx("browser_type");b.LH=function(){return b.eIa||TDV.pb.LH};b.eka=b.Fx("browser_subtype");b.hd=function(){return b.eka?b.eka:TDV.pb.hd};b.fIa=b.Fx("browser_version");b.wua=function(){return b.fIa||TDV.pb.wua};b.hIa=b.Fx("device");b.iz=function(){return b.hIa||TDV.pb.iz};b.kb=function(){return TDV.pb.mobile};b.RHa=function(){for(var d=navigator.userAgent.toLowerCase(),c=["SM-G960","SM-G965"],f=0;f<c.length;f++)if(0<=d.indexOf(c[f].toLowerCase()))return!0;return!1}();b.nIa=function(){for(var d=
navigator.userAgent.toLowerCase(),c="SM-G920 SM-G925 SM-G928 SM-N920 SM-G930 SM-G935 SC-02H SM-G950 SM-G955 SM-N950 SM-G960 SM-G965 SM-N960 SM-G970 SM-G973 SM-G975 SM-G977 SM-N970 SM-N975".split(" "),f=0;f<c.length;f++)if(0<=d.indexOf(c[f].toLowerCase()))return!0;return!1}();b.fka=b.Fx("gearvrcompatible");b.YO=function(){return void 0!==b.fka?"true"==b.fka:b.nIa};b.tFa=b.browser()!=b.Uk||0>navigator.userAgent.indexOf("; wv")?!1:!0;b.gIa=!!b.Fx("chromewebview");b.Fua=function(){return b.gIa||b.tFa};
b.Rf=function(){return b.hd()==b.Uq||b.hd()==b.IQ||b.hd()==b.bt||b.hd()==b.gE||b.hd()==b.$s};b.bZ=function(){return b.wP()||b.BWa()||b.JWa()||b.DWa()};b.aZ=function(){return b.hd()==b.bt};b.Vaa=void 0;b.XAa=function(){if(void 0===b.Vaa){var d=void 0;b.tI()&&(window.location.hash.split("&").forEach(function(c){"app-version"==c.split("=")[0]&&(d=c.split("=")[1])}),d&&(d=parseInt(d)));d=d||0;b.Vaa=d}return b.Vaa};b.tI=function(){return b.dZ()||b.aZ()};b.dZ=function(){return b.hd()==b.gE};b.r1a=function(){return k("picog2")};
b.q1a=function(){return k("piconeo2")};b.BWa=function(){return k("piconeo3")};b.DWa=function(){return k("picoxr")};b.JWa=function(){return k("vivefocus")};b.wP=function(){return k("oculusquest")||k("other")?!0:b.hd()==b.Uq&&0<=navigator.userAgent.indexOf("Quest 2")};b.GWa=function(){return b.hd()==b.Uq&&0<=navigator.userAgent.indexOf("Quest")&&0>navigator.userAgent.indexOf("Quest 2")};b.n1a=function(){return b.hd()==b.Uq&&0>navigator.userAgent.indexOf("Quest")};b.Mwa=function(){return b.Rf()&&b.YO()};
b.oC=void 0;b.KXa=function(){void 0===b.oC&&(b.oC=parseInt(m.getQueryParameter("sts")),isNaN(b.oC)&&(b.Rf()&&!b.RHa?b.oC=512:b.kb()&&b.fe()==b.Hi?b.oC=512:b.oC=b.kb()?256:1024));return b.oC};b.vOa=function(){if(b.browser()==b.dm||b.browser()==b.Xh)try{var d=/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent);if(d)return parseFloat(d[1])}catch(c){}}();b.TP=function(){return b.vOa};b.uKa=function(){try{var d=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||
[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||!1}catch(c){}d||(d=b.TP());return d}();b.yD=function(){return b.uKa};b.TDa=function(){if(b.fe()==b.aE)try{var d=/Android ([0-9]+\.?[0-9]*)/i.exec(navigator.userAgent);if(d)return parseFloat(d[1])}catch(c){}}();b.FTa=function(){return b.TDa};b.rla=function(){var d={cwa:"unknown",qxa:1},c=document.createElement("canvas");if(c&&(c=c.getContext("webgl")||c.getContext("experimental-webgl"))){var f=c.getExtension("WEBGL_debug_renderer_info");
f&&(d.cwa=c.getParameter(f.UNMASKED_RENDERER_WEBGL));d.maxTextureSize=c.getParameter(c.MAX_TEXTURE_SIZE);if(f=c.getExtension("EXT_texture_filter_anisotropic")||c.getExtension("MOZ_EXT_texture_filter_anisotropic")||c.getExtension("WEBKIT_EXT_texture_filter_anisotropic"))d.qxa=c.getParameter(f.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}return d}();b.bwa=function(){return b.rla};b.VDa=function(){var d=b.rla.cwa.match(/Apple\s+(.+)\s+GPU/);return d?d[1].toUpperCase():"unknown"}();b.i1a=function(){return b.VDa};
b.eLa=b.iz()==b.iE?!0:!1;b.Sv=function(){return b.eLa};b.vba=function(){return b.browser()==b.dm&&14<=b.TP()};var g=!1;try{g="true"==window.localStorage.getItem("tdvp_video_drift_2")}catch(d){}b.rwa=function(){return g};b.LZa=function(){g=!0;try{window.localStorage.setItem("tdvp_video_drift_2","true")}catch(d){}};b.lLa="ontouchstart"in window||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&0<navigator.maxTouchPoints?!0:!1;b.Dea=function(){return b.lLa};b.Qn=
m.cj("touchenabled")?m.Wh("touchenabled"):"ontouchstart"in window?b.fe()==b.u1?!1:!0:!1;b.u_=function(){return b.Qn};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.LH(),"browserSubtype: "+b.hd(),"device: "+b.iz(),"isMobile: "+b.kb(),"gearVRCompatibleDevice: "+b.YO(),"chromeWebView: "+b.Fua(),"touchDevice"+b.Dea(),"touchEnabled"+b.u_()].join(", ")};b.log=function(){h.log("browser: "+b.browser());h.log("browserType: "+b.LH());h.log("browserSubtype: "+b.hd());h.log("device: "+
b.iz());h.log("isMobile: "+b.kb());h.log("gearVRCompatibleDevice: "+b.YO());h.log("chromeWebView: "+b.Fua());h.log("touchDevice: "+b.Dea());h.log("touchEnabled: "+b.u_())};return b});
define("lU",["require","v"],function(a){function e(){for(;f.length;)f.shift()();document.body.removeEventListener("click",e,!0);document.body.removeEventListener("touchstart",k,!0);document.body.removeEventListener("touchmove",m,!0);document.body.removeEventListener("touchend",h,!0);d=!1}function h(){c&&e()}function m(){c=!1}function k(){c=!0;g.fe()==g.Hi&&e()}function b(){document.body.addEventListener("click",e,!0);document.body.addEventListener("touchstart",k,!0);document.body.addEventListener("touchmove",
m,!0);document.body.addEventListener("touchend",h,!0)}var g=a("v"),d=!1,c=!1,f=[];return{A_:function(){e()},wait:function(l){f.push(l);d||(d=!0,document.body?b():document.addEventListener("DOMContentLoaded",b))},C1a:function(l){l=f.indexOf(l);0<=l&&f.splice(l,1)}}});define("hT",["require","exports"],function(){return{XBa:7,H_:6,wfa:5,Xk:4,iga:3,mJ:2,Y0:1,s0a:0,zfa:3,lA:2,oCa:1,nCa:2,kCa:2,Bn:2,JCa:3,I0a:4}});define("bh",["require"],function(){return{M0:"horizontal",n1:"vertical"}});
define("pd",["require"],function(){return{PCa:"1",OCa:"auto",yCa:"1",iCa:"2",hCa:"auto",H_:"2",gBa:"3",fBa:"auto",xCa:"5",ICa:"100",l0a:"101",HBa:999998,K0a:999999,QBa:1E6}});define("gz",["require"],function(){var a=1,e={};return{css:function(h,m){var k=h.__duqid;void 0===k&&(k=a.toString(),h.__duqid=k,a++);h=e[k]||(e[k]={e:h,s:{}});for(var b in m)h.s[b]=m[b]},process:function(){for(var h in e){var m=e[h],k=m.e.style;m=m.s;for(var b in m)k[b]=m[b]}e={}}}});
define("bP",["require"],function(){return{SVa:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},aua:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},JUa:function(a,e,h){var m=document.createElement("canvas");m.width=e;m.height=h;h=m.getContext("2d");h.translate(e,0);h.scale(-1,1);h.drawImage(a,0,0);a.src=m.toDataURL()}}});
define("I",["require","exports"],function(){return function(){function a(e,h,m,k,b,g){this.queue=e;this.url=h;this.priority=m;this.time=k;this.r_a=b;this.PTa=g}a.prototype.loaded=function(){this.queue.dQ(this.url);this.queue.remove(this)};a.prototype.cancel=function(){this.queue.remove(this)};return a}()});
define("iq","require exports v mj lr I".split(" "),function(a,e,h,m,k,b){var g=h.hd()===h.Pz,d=!(m.cj("debug")&&m.Wh("disable-cache"));return function(){function c(){}c.add=function(f,l,p,q){f=new b(this,f,l,(new Date).getTime(),p,q);this.cv.push(f);this.ea();return f};c.z_a=function(f){this.gH.push(f);this.ea()};c.y_a=function(f){f=this.gH.indexOf(f);0<=f&&this.gH.splice(f,1);this.ea()};c.e0a=function(f){var l;return g?!0:d?null!==(l=this.mma[f])&&void 0!==l?l:!1:!1};c.dQ=function(f){g||d&&(this.mma[f]=
!0)};c.ea=function(){this.Caa||(this.Caa=k.zz(c.cSa.bind(this)))};c.cSa=function(){this.Caa=null;for(var f=this.COa(),l=0,p=this.Zx;l<p.length;l++){var q=p[l];f.includes(q)||q.PTa()}l=this.Zx;this.Zx=f;f=0;for(p=this.Zx;f<p.length;f++)q=p[f],l.includes(q)||q.r_a()};c.hQa=function(){this.cv.sort(function(f,l){return f.priority-l.priority||l.time-f.time});this.gH.sort(function(f,l){return f-l})};c.COa=function(){this.hQa();var f=[];if(this.cv.length)for(var l=this.gH.length?this.gH[0]:this.cv[0].priority,
p=0;10>p&&p<this.cv.length&&this.cv[p].priority<=l;p++)f.push(this.cv[p]);return f};c.remove=function(f){f=this.cv.indexOf(f);0<=f&&this.cv.splice(f,1);this.ea()};c.cv=[];c.Zx=[];c.gH=[];c.Caa=null;c.mma={};return c}()});
define("ku","require lo cy gi oH hT mj bP iq".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("oH"),b=a("hT"),g=a("mj"),d=a("bP"),c=a("iq");a=e.extend(m,function(l){m.call(this);this.Vr=l||b.XBa;this.ua=this.ia=this.Wb=this.Fd=null;this.Xx=!1;this.NG=this.Un=null;this.XV=0;this.Y5=[];this.qT=this.qT.bind(this);this.rT=this.rT.bind(this)});a.prototype.load=function(l){this.cancel();this.Fd=l;this.XV=0;this.mqa()};a.prototype.mqa=function(){this.Un=c.add(this.Fd,this.Vr,this.rQa.bind(this),
this.mFa.bind(this))};a.prototype.cancel=function(){this.Un&&(this.Un.cancel(),this.Un=null);this.Dia();this.Fd=null};a.prototype.yWa=function(){return!!this.Wb&&!this.Xx||this.NG};a.prototype.dj=function(){return this.Xx};a.prototype.sf=function(l){return l?(l=this.Wb.cloneNode(!0),this.Y5.push(l),l):this.Wb};a.prototype.rd=function(){return this.ia};a.prototype.ee=function(){return this.ua};a.prototype.wi=function(){return this.Fd};a.prototype.rQa=function(){this.Wb=this.BGa(this.Fd)};a.prototype.mFa=
function(){this.yWa()&&this.Dia()};a.prototype.Dia=function(){if(this.Wb){this.NG&&(clearTimeout(this.NG),this.NG=null);for(this.Xx=!1;this.Y5.length;)this.Aja(this.Y5.shift());this.Aja(this.Wb);this.Wb=null}};a.prototype.wDa=function(l){l.addEventListener("load",this.qT);l.addEventListener("error",this.rT)};a.prototype.dqa=function(l){l.removeEventListener("load",this.qT);l.removeEventListener("error",this.rT)};a.prototype.qT=function(){this.Wb.width&&this.Wb.height||!(-1<this.Fd.indexOf(".svg"))||
this.VHa();this.Un.loaded();this.Un=null;this.dqa(this.Wb);this.Xx=!0;this.ia=this.Wb.width;this.ua=this.Wb.height;d.SVa(this.Fd)&&d.JUa(this.Wb,this.ia,this.ua);this.trigger(new h(k.Z))};a.prototype.rT=function(){this.cancel();this.XV<f?(this.XV++,this.NG=setTimeout(function(){this.NG=null;this.mqa()}.bind(this),1E3*Math.pow(2,this.XV))):this.trigger(new h(k.tc))};a.prototype.VHa=function(){var l=new XMLHttpRequest;l.open("GET",this.Fd,!1);l.send();var p=document.createElement("div");p.innerHTML=
l.responseText;l=p.children[0];this.Wb.width=l.width.baseVal.value;this.Wb.height=l.height.baseVal.value};a.prototype.BGa=function(l){var p=document.createElement("img");g.yca(l)?p.setAttribute("crossOrigin","Anonymous"):p.removeAttribute("crossOrigin");p.setAttribute("draggable","false");p.style.position="static";p.style.border="none";p.style.display="none";this.wDa(p);p.src=l;return p};a.prototype.Aja=function(l){this.dqa(l);l.parentNode&&l.parentNode.removeChild(l);l.src=""};var f=5;a.r_=function(l){return c.e0a(l)};
return a});
define("gs","require eg jquery.mod oH hT bh pd gz ku".split(" "),function(a){function e(){this.kp=this.mp=this.np=this.lp=this.Nt=this.Mt=this.Pt=this.Ot=0;this.yR=this.AR=this.BR=this.zR="";this.wb=1;this.wc=void 0;this.YA=[];this.Z2=[];this.W2=g.n1;this.SR=!1;this.nT=void 0;this.Gh=null;this.w5=this.Yaa=0;this.bc=document.createElement("canvas");this.bc.setAttribute("tdvlayer","background");this.na=m(this.bc);c.css(this.bc,{position:"absolute",left:0,top:0,"z-index":d.H_,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.tg=!0}var h=a("eg"),m=a("jquery.mod"),k=a("oH"),b=a("hT"),g=a("bh"),d=a("pd"),c=a("gz"),f=a("ku");e.prototype.setSize=function(l,p){if(this.Yaa!=l||this.w5!=p)this.Yaa=l||0,this.w5=p||0,this.tg=!0};e.prototype.Iza=function(l){this.Cp!=l&&(this.Cp=l,this.tg=!0)};e.prototype.Ac=function(){return this.na};e.prototype.fI=function(){return this.bc};e.prototype.UYa=function(l){if(this.nT!=l){this.Gh&&(this.Gh.unbind(k.Z,this.WK,this),this.Gh.cancel(),
this.Gh=null);if(this.nT=l)this.Gh=new f(b.iga),this.Gh.bind(k.Z,this.WK,this),this.Gh.load(this.nT);this.tg=!0}};e.prototype.Gda=function(l){this.Ot!=l&&(this.Ot=l,this.tg=!0)};e.prototype.Hda=function(l){this.Pt!=l&&(this.Pt=l,this.tg=!0)};e.prototype.Bda=function(l){this.Mt!=l&&(this.Mt=l,this.tg=!0)};e.prototype.Cda=function(l){this.Nt!=l&&(this.Nt=l,this.tg=!0)};e.prototype.Eda=function(l){this.lp!=l&&(this.lp=l,this.tg=!0)};e.prototype.Ida=function(l){this.np!=l&&(this.np=l,this.tg=!0)};e.prototype.Fda=
function(l){this.mp!=l&&(this.mp=l,this.tg=!0)};e.prototype.Dda=function(l){this.kp!=l&&(this.kp=l,this.tg=!0)};e.prototype.uYa=function(l){this.zR!=l&&(this.zR=l,this.tg=!0)};e.prototype.wYa=function(l){this.BR!=l&&(this.BR=l,this.tg=!0)};e.prototype.vYa=function(l){this.AR!=l&&(this.AR=l,this.tg=!0)};e.prototype.tYa=function(l){this.yR!=l&&(this.yR=l,this.tg=!0)};e.prototype.fj=function(l){this.wb!=l&&(this.wb=l,this.tg=!0)};e.prototype.Pk=function(){return this.wb};e.prototype.setColor=function(l){h.isEqual(this.wc,
l)||(this.wc=l,h(l).isArray()||(l=[l]),l=h(l).filter(function(p){return h(p).isString()}),this.wza(l))};e.prototype.wza=function(l){h.isEqual(this.YA,l)||(this.YA=l,this.tg=!0)};e.prototype.AYa=function(l){this.U0a!=l&&(this.Z2=l,this.tg=!0)};e.prototype.zYa=function(l){this.W2!=l&&(this.W2=l,this.tg=!0)};e.prototype.WK=function(){this.tg=!0;this.Vg()};e.prototype.Vg=function(){this.tg&&(this.ea(),this.tg=!1)};e.prototype.ea=function(){var l=Math.max(0,this.Yaa-(this.lp+this.mp)),p=Math.max(0,this.w5-
(this.np+this.kp)),q=this.na.get(0);q.width=l;q.height=p;q=q.getContext("2d");var n=this.hFa(),r=0<n.length,t=this.Gh&&this.Gh.dj(),u=0<this.lp&&this.zR||0<this.np&&this.BR||0<this.mp&&this.AR||0<this.kp&&this.yR;u=r||t||u;if(r){var v=this.W2==g.M0?q.createLinearGradient(0,0,l,0):q.createLinearGradient(0,0,0,p);h(n).forEach(function(w){v.addColorStop(w.ratio,w.color)});q.fillStyle=v;q.fillRect(0,0,l,p);this.SR=!0}else this.SR&&(q.clearRect(0,0,l,p),this.SR=!1);t&&(q.drawImage(this.Gh.sf(),0,0,l,p),
this.SR=!0);this.bc.style.opacity=this.wb;this.bc.style.filter="alpha(opacity="+Math.round(100*this.wb)+")";this.bc.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.wb)+")";this.bc.style.borderTopLeftRadius=this.Ot+"px";this.bc.style.borderTopRightRadius=this.Pt+"px";this.bc.style.borderBottomLeftRadius=this.Mt+"px";this.bc.style.borderBottomRightRadius=this.Nt+"px";this.bc.style.borderLeft=this.WS(this.lp,this.zR);this.bc.style.borderTop=this.WS(this.np,this.BR);this.bc.style.borderRight=
this.WS(this.mp,this.AR);this.bc.style.borderBottom=this.WS(this.kp,this.yR);this.bc.style.width=l+"px";this.bc.style.height=p+"px";this.bc.style.cursor="inherit";this.bc.style.display=u?"block":"none";0===this.bc.clientWidth&&0!==l&&(this.bc.style.width=0,this.bc.style.width=l+"px")};e.prototype.WS=function(l,p){return 0<l?p?l+"px solid "+p:l+"px solid transparent":"none"};e.prototype.hFa=function(){var l=[];if(0<this.YA.length){var p=this.YA.slice();p=[].concat([p[0]],p,[p[p.length-1]]);var q=this.gFa();
q=[].concat([0],q,[1]);for(var n=0;n<p.length;n++){var r=q[n];0<=r&&l.push({color:p[n],ratio:r})}for(n=0;n<l.length-1;)l[n].ratio==l[n+1].ratio&&l[n].color==l[n+1].color?l.splice(n,1):n++;for(n=1;n<l.length-1;)l[n-1].ratio==l[n+1].ratio?l.splice(n,1):n++}return l};e.prototype.gFa=function(){var l=this.YA.length,p;for(p=0<this.Z2.length?h(this.Z2).map(function(q){return Math.min(1,Math.max(0,q))}):1==l?[.5]:h(h.range(l)).map(function(q,n){return 1*n/(l-1)});p.length<l;)p.push(1);p.length>l&&p.splice(l,
p.length-l);return p};return e});
define("eG",["require","jquery.mod","pd","gz"],function(a){function e(){this.eV=this.gV=this.hV=this.fV=this.kp=this.mp=this.np=this.lp=0;this.CM=this.Cp=!0;this.Raa=this.S5=0;this.va=!0;this.hN=document.createElement("div");this.hN.setAttribute("tdvlayer","content");this.Iqa=h(this.hN);k.css(this.hN,{position:"absolute"});this.ZJ=document.createElement("div");this.h3=h(this.ZJ);k.css(this.ZJ,{position:"absolute"});this.Iqa.append(this.h3)}var h=a("jquery.mod"),m=a("pd"),k=a("gz");e.prototype.append=
function(b){this.h3.append(b)};e.prototype.prepend=function(b){this.h3.prepend(b)};e.prototype.WX=function(b){this.ZJ.appendChild(b)};e.prototype.Yya=function(b){this.ZJ.removeChild(b)};e.prototype.Ac=function(){return this.Iqa};e.prototype.fI=function(){return this.hN};e.prototype.RYa=function(b){this.S5!=b&&(this.S5=b,this.va=!0)};e.prototype.e_a=function(b){this.Raa!=b&&(this.Raa=b,this.va=!0)};e.prototype.gI=function(){return this.fV+this.lp};e.prototype.lI=function(){return this.hV+this.np};
e.prototype.jI=function(){return this.gV+this.mp};e.prototype.cI=function(){return this.eV+this.kp};e.prototype.JI=function(b){this.CM!=b&&(this.CM=b,this.va=!0)};e.prototype.rZa=function(b){this.fV!=b&&(this.fV=b,this.va=!0)};e.prototype.tZa=function(b){this.hV!=b&&(this.hV=b,this.va=!0)};e.prototype.sZa=function(b){this.gV!=b&&(this.gV=b,this.va=!0)};e.prototype.qZa=function(b){this.eV!=b&&(this.eV=b,this.va=!0)};e.prototype.Eda=function(b){this.lp!=b&&(this.lp=b,this.va=!0)};e.prototype.Ida=function(b){this.np!=
b&&(this.np=b,this.va=!0)};e.prototype.Fda=function(b){this.mp!=b&&(this.mp=b,this.va=!0)};e.prototype.Dda=function(b){this.kp!=b&&(this.kp=b,this.va=!0)};e.prototype.Iza=function(b){this.Cp!=b&&(this.Cp=b,this.va=!0)};e.prototype.Vg=function(){this.va&&(this.ea(),this.va=!1)};e.prototype.ea=function(){k.css(this.hN,{overflow:this.CM?"visible":"hidden","z-index":this.Cp?m.gBa:m.fBa,left:this.gI()+"px",top:this.lI()+"px",right:this.jI()+"px",bottom:this.cI()+"px",cursor:"inherit"});k.css(this.ZJ,{left:-this.S5+
"px",top:-this.Raa+"px",right:this.CM?0:"initial",bottom:this.CM?0:"initial",cursor:"inherit"})};return e});
define("jT","require eg jquery.mod lo pd gz".split(" "),function(a){function e(){this.ua=this.ia=this.Ka=this.Ha=void 0;this.Nt=this.Mt=this.Pt=this.Ot=0;this.Ib=!1;this.R5=0;this.Qaa=4;this.C2=6;this.c$=0;this.wc="#000000";this.wb=1;this.bc=document.createElement("div");this.bc.setAttribute("tdvlayer","shadow");this.na=h(this.bc);k.css(this.bc,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.va=!1}a("eg");var h=a("jquery.mod");a("lo");var m=a("pd"),k=a("gz");e.prototype.Ac=function(){return this.na};
e.prototype.fI=function(){return this.bc};e.prototype.Gda=function(b){this.Ot!=b&&(this.Ot=b,this.va=!0)};e.prototype.Hda=function(b){this.Pt!=b&&(this.Pt=b,this.va=!0)};e.prototype.Bda=function(b){this.Mt!=b&&(this.Mt=b,this.va=!0)};e.prototype.Cda=function(b){this.Nt!=b&&(this.Nt=b,this.va=!0)};e.prototype.fj=function(b){this.wb!=b&&(this.wb=b,this.va=!0)};e.prototype.Pk=function(){return this.wb};e.prototype.wf=function(b){this.Ib!=b&&(this.Ib=b,this.va=!0)};e.prototype.QYa=function(b){this.R5!=
b&&(this.R5=b,this.va=!0)};e.prototype.d_a=function(b){this.Qaa!=b&&(this.Qaa=b,this.va=!0)};e.prototype.sYa=function(b){this.C2!=b&&(this.C2=b,this.va=!0)};e.prototype.NZa=function(b){this.c$!=b&&(this.c$=b,this.va=!0)};e.prototype.setColor=function(b){this.wc!=b&&(this.wc=b,this.va=!0)};e.prototype.Vg=function(){this.va&&(this.ea(),this.va=!1)};e.prototype.ea=function(){var b=this.R5+"px "+this.Qaa+"px "+this.C2+"px "+this.c$+"px "+this.wc;this.bc.style.display=this.Ib?"block":"none";this.bc.style.boxShadow=
b;this.bc.style["-webkit-box-shadow"]=b;this.bc.style["-moz-box-shadow"]=b;this.bc.style.borderTopLeftRadius=this.Ot+"px";this.bc.style.borderTopRightRadius=this.Pt+"px";this.bc.style.borderBottomLeftRadius=this.Mt+"px";this.bc.style.borderBottomRightRadius=this.Nt+"px";this.bc.style.filter="alpha(opacity="+Math.round(100*this.wb)+")";this.bc.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.wb)+")";this.bc.style.opacity=this.wb;this.bc.style.zIndex=m.yCa};return e});
define("mV","require jquery.mod eg lo lP bc oH gs eG jT pd cy gz v".split(" "),function(a){var e=a("jquery.mod");a("eg");var h=a("lo"),m=a("lP"),k=a("bc"),b=a("oH"),g=a("gs"),d=a("eG"),c=a("jT"),f=a("pd"),l=a("cy"),p=a("gz");a("v");var q=h.extend(m,function(){m.call(this);this.EF=q.EF++;this.g3=this.ie=this.Y7=this.BM=this.U9=this.na=this.bc=null;this.Ksa=this.Rla=!1;this.ka=this.fb=null;this.ua=this.ia=this.Iu=this.Hu=0;this.Qx=this.Ib=!1;this.Fla=!0;this.zL=this.AL=this.pl=this.ql=0;this.wb=1;this.Bh=
k.He;this.set("inView",!1);this.set("toolTip",void 0);this.HC(!0);this.J9(!0)});q.prototype.Be=function(n){this.TA=n};q.prototype.toString=function(){return"["+this.na.attr("tdvclass")+"::"+this.EF+"]"};q.prototype.log=function(n){h.log(n+" "+this.toString()+" "+(new Date).getTime().toString())};q.prototype.Jb=function(){return this.fb};q.prototype.cs=function(n){(this.fb=n)&&this.f6();this.qH();this.trigger(b.aBa)};q.prototype.Ac=function(){this.na=e(this.Br());this.Ac=function(){return this.na};
return this.na};q.prototype.Tza=function(n){(n=n||this.TA)?this.bc.setAttribute("tdvclass",n):this.bc.removeAttribute("tdvclass")};q.prototype.iYa=function(){this.Tza()};q.prototype.Br=function(){this.bc=document.createElement("div");this.bc.setAttribute("id",this.EF);this.TA&&this.bc.setAttribute("tdvclass",this.TA);p.css(this.bc,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Br=function(){return this.bc};return this.bc};q.prototype.gl=function(){this.U9=new c;
this.gl=function(){return this.U9};return this.U9};q.prototype.Qc=function(){this.ie=new g;this.Qc=function(){return this.ie};return this.ie};q.prototype.zF=function(){this.BM=document.createElement("div");this.BM.setAttribute("tdvlayer","overShadow");p.css(this.BM,{position:"absolute",left:0,top:0,cursor:"inherit"});this.zF=function(){return this.BM};return this.BM};q.prototype.l5=function(){this.Y7=e(this.zF());this.l5=function(){return this.Y7};return this.Y7};q.prototype.Bb=function(){this.g3=
new d;this.Bb=function(){return this.g3};return this.g3};q.prototype.getParent=function(){return this.ka};q.prototype.Xa=function(){return this.ia};q.prototype.xb=function(){return this.ua};q.prototype.PVa=function(){return void 0!==this.ia&&void 0!==this.ua};q.prototype.rf=function(){return this.ia-this.Bb().gI()-this.Bb().jI()};q.prototype.qf=function(){return this.ua-this.Bb().lI()-this.Bb().cI()};q.prototype.Rl=function(){return this.Bb().gI()};q.prototype.Fs=function(){return this.Bb().lI()};
q.prototype.Es=function(){return this.Bb().jI()};q.prototype.dI=function(){return this.Bb().cI()};q.prototype.wf=function(n){this.Ib!=n&&(this.Ib=n,this.le(),this.ka&&(this.ka.Vb(),this.ka.Hd()),this.qH())};q.prototype.qH=function(){var n=!1;this.fb&&this.Ib&&0<this.Pk()&&(this==this.fb?n=!0:this.ka&&(n=this.ka.Qx));this.Qx!=n&&this.i2(n)};q.prototype.i2=function(n){this.Qx=n;this.set("inView",n);this.Qx?this.trigger(new l(b.kd)):this.trigger(new l(b.sd))};q.prototype.uPa=function(n){this.Fla!=n&&
(this.Fla=n,this.ka&&this.ka.Hd())};q.prototype.mPa=function(n){this.rF!=n&&(this.rF=n,this.Vb())};q.prototype.lPa=function(n){this.qF!=n&&(this.qF=n,this.Vb())};q.prototype.kPa=function(n){this.pF!=n&&(this.pF=n,this.Vb())};q.prototype.jPa=function(n){this.oF!=n&&(this.oF=n,this.Vb())};q.prototype.nPa=function(n){this.ym!=n&&(this.ym=n,void 0!=this.ym&&(this.Um=void 0),this.Vb())};q.prototype.iPa=function(n){this.kB!=n&&(this.kB=n,void 0!=this.kB&&(this.Tm=void 0),this.Vb())};q.prototype.HPa=function(n){this.Um!=
n&&(this.Um=n,void 0!=this.Um&&(this.ym=void 0),this.Vb())};q.prototype.DPa=function(n){this.Tm!=n&&(this.Tm=n,void 0!=this.Tm&&(this.kB=void 0),this.Vb())};q.prototype.wPa=function(n){this.Bu!=n&&(void 0!=n&&(this.uV=void 0),this.Bu=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.VPa=function(n){this.oq!=n&&(void 0!=n&&(this.wV=void 0),this.oq=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.JPa=function(n){this.dN!=n&&(void 0!=n&&(this.vV=void 0),this.dN=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.$Oa=
function(n){this.MJ!=n&&(void 0!=n&&(this.tV=void 0),this.MJ=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.EPa=function(n){this.uV!=n&&(void 0!=n&&(this.Bu=void 0),this.uV=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.GPa=function(n){this.wV!=n&&(void 0!=n&&(this.oq=void 0),this.wV=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.FPa=function(n){this.vV!=n&&(void 0!=n&&(this.dN=void 0),this.vV=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.CPa=function(n){this.tV!=n&&(void 0!=n&&(this.MJ=void 0),
this.tV=n,this.ka&&this.ka.Hd(),this.Vb())};q.prototype.dPa=function(n){this.ex!=n&&(this.ex=n,this.ka&&this.ka.Hd())};q.prototype.ePa=function(n){this.gx!=n&&(this.gx=n,this.ka&&this.ka.Hd())};q.prototype.Ks=function(){return isNaN(this.ym)?this.ql:this.ym};q.prototype.Js=function(){return isNaN(this.kB)?this.pl:this.kB};q.prototype.CJa=function(){return isNaN(this.PHa)?this.vma:this.PHa};q.prototype.Is=function(){return isNaN(this.rF)?this.AL:this.rF};q.prototype.Ov=function(){return isNaN(this.qF)?
this.zL:this.qF};q.prototype.IY=function(){return isNaN(this.pF)?1E4:this.pF};q.prototype.HY=function(){return isNaN(this.oF)?1E4:this.oF};q.prototype.lra=function(n){this.o5()!=n&&(this.Bb().rZa(n),this.Vb())};q.prototype.o5=function(){return this.Bb().fV};q.prototype.nra=function(n){this.q5()!=n&&(this.Bb().tZa(n),this.Vb())};q.prototype.q5=function(){return this.Bb().hV};q.prototype.mra=function(n){this.p5()!=n&&(this.Bb().sZa(n),this.Vb())};q.prototype.p5=function(){return this.Bb().gV};q.prototype.kra=
function(n){this.n5()!=n&&(this.Bb().qZa(n),this.Vb())};q.prototype.n5=function(){return this.Bb().eV};q.prototype.gQ=function(n){if(this.Hu!=n){var r=0==this.Hu!=(0==n);this.Hu=n;this.Rk();r&&this.ka&&this.ka.Hd()}};q.prototype.hQ=function(n){if(this.Iu!=n){var r=0==this.Iu!=(0==n);this.Iu=n;this.Rk();r&&this.ka&&this.ka.Hd()}};q.prototype.XVa=function(){return 0!=this.Hu||0!=this.Iu};q.prototype.fj=function(n){this.wb!=n&&(this.wb=n,p.css(this.zF(),{filter:"alpha(opacity="+Math.round(100*this.wb)+
") ",opacity:this.wb}),this.qH(),this.Rk())};q.prototype.Pk=function(){return this.wb};q.prototype.XOa=function(n){this.Qc().Ot!=n&&(this.gl().Gda(n),this.Qc().Gda(n))};q.prototype.CIa=function(){return this.Qc().Ot};q.prototype.YOa=function(n){this.Qc().Pt!=n&&(this.gl().Hda(n),this.Qc().Hda(n))};q.prototype.DIa=function(){return this.Qc().Pt};q.prototype.POa=function(n){this.Qc().Mt!=n&&(this.gl().Bda(n),this.Qc().Bda(n))};q.prototype.AIa=function(){return this.Qc().Mt};q.prototype.QOa=function(n){this.Qc().Nt!=
n&&(this.gl().Cda(n),this.Qc().Cda(n))};q.prototype.BIa=function(){return this.Qc().Nt};q.prototype.TOa=function(n){this.Qc().lp!=n&&(this.Qc().Eda(n),this.Bb().Eda(n),this.Vb())};q.prototype.wka=function(){return this.Qc().lp};q.prototype.ZOa=function(n){this.Qc().np!=n&&(this.Qc().Ida(n),this.Bb().Ida(n),this.Vb())};q.prototype.yka=function(){return this.Qc().np};q.prototype.VOa=function(n){this.Qc().mp!=n&&(this.Qc().Fda(n),this.Bb().Fda(n),this.Vb())};q.prototype.xka=function(){return this.Qc().mp};
q.prototype.ROa=function(n){this.Qc().kp!=n&&(this.Qc().Dda(n),this.Bb().Dda(n),this.Vb())};q.prototype.vka=function(){return this.Qc().kp};q.prototype.SOa=function(n){this.Qc().uYa(n)};q.prototype.WOa=function(n){this.Qc().wYa(n)};q.prototype.UOa=function(n){this.Qc().vYa(n)};q.prototype.OOa=function(n){this.Qc().tYa(n)};q.prototype.wW=function(n){this.gl().wf(n)};q.prototype.PPa=function(n){this.gl().QYa(n)};q.prototype.SPa=function(n){this.gl().d_a(n)};q.prototype.NPa=function(n){this.gl().sYa(n)};
q.prototype.RPa=function(n){this.gl().NZa(n)};q.prototype.QPa=function(n){this.gl().fj(n)};q.prototype.OPa=function(n){this.gl().setColor(n)};q.prototype.KOa=function(n){this.wIa()!=n&&this.Qc().fj(n)};q.prototype.wIa=function(){return this.Qc().Pk()};q.prototype.GOa=function(n){this.vIa()!=n&&this.Qc().setColor(n)};q.prototype.vIa=function(){return this.Qc().wc};q.prototype.IOa=function(n){this.Qc().AYa(n)};q.prototype.HOa=function(n){this.Qc().zYa(n)};q.prototype.JOa=function(n){this.Qc().UYa(n)};
q.prototype.Jy=function(n){this.Bh!=n&&(this.Bh=n,this.Rk())};q.prototype.HC=function(n){this.Cp!=n&&(this.Cp=n,p.css(this.zF(),{"z-index":this.Cp?f.iCa:f.hCa}),this.Bb().Iza(this.Cp),this.Rk())};q.prototype.J9=function(n){this.rpa!=n&&(this.rpa=n,p.css(this.Br(),{"z-index":this.rpa?f.PCa:f.OCa}),this.Rk())};q.prototype.gp=function(){this.qH();this.rP()};q.prototype.Wm=function(){this.qH()};q.prototype.g9=function(){};q.prototype.f6=function(){this.rP();this.le();this.Vb();this.Hd();this.Rk()};q.prototype.Gu=
function(){this.zL=this.AL=this.pl=this.ql=0;this.vma=void 0};q.prototype.rP=function(){var n=this.Jb();n&&n.EE.rP(this)};q.prototype.le=function(){var n=this.Jb();n&&n.EE.le(this)};q.prototype.Vb=function(){var n=this.Jb();n&&n.EE.Vb(this)};q.prototype.Hd=function(){var n=this.Jb();n&&n.EE.Hd(this)};q.prototype.Rk=function(){var n=this.Jb();n&&n.EE.Rk(this)};q.prototype.D5=function(){var n=isNaN(this.uV)&&isNaN(this.Bu),r=isNaN(this.vV)&&isNaN(this.dN);return isNaN(this.ym)&&isNaN(this.Um)&&(n||
r)?!0:!1};q.prototype.sla=function(){var n=isNaN(this.wV)&&isNaN(this.oq),r=isNaN(this.tV)&&isNaN(this.MJ);return isNaN(this.kB)&&isNaN(this.Tm)&&(n||r)?!0:!1};q.prototype.DSa=function(){this.Gu();var n=this.CJa();if(n){var r=this.D5(),t=this.sla();r&&!t?(r=this.qf(),0!=r&&(this.ql=r*n+this.Rl()+this.Es(),this.pl=r+this.Fs()+this.dI())):!r&&t&&(r=this.rf(),0!=r&&(this.pl=r/n+this.Rl()+this.Es(),this.ql=r+this.Rl()+this.Es()))}!isNaN(this.rF)&&this.ql<this.rF&&(this.ql=this.rF);!isNaN(this.pF)&&this.ql>
this.pF&&(this.ql=this.pF);!isNaN(this.qF)&&this.pl<this.qF&&(this.pl=this.qF);!isNaN(this.oF)&&this.pl>this.oF&&(this.pl=this.oF)};q.prototype.Ab=function(){if(!this.Ksa){this.Ksa=!0;var n=this.Br(),r=this.zF();n.appendChild(this.gl().fI());n.appendChild(r);r.appendChild(this.Qc().fI());r.appendChild(this.Bb().fI())}};q.prototype.V_a=function(){this.DSa();var n=this.Ks(),r=this.Js(),t=this.Is(),u=this.Ov();return n!=this.QLa||r!=this.PLa||t!=this.MLa||u!=this.LLa||this.Um!=this.OLa||this.Tm!=this.NLa?
(this.QLa=n,this.PLa=r,this.MLa=t,this.LLa=u,this.OLa=this.Um,this.NLa=this.Tm,!0):!1};q.prototype.Va=function(){this.Rk()};q.prototype.am=function(){};q.prototype.vza=function(n,r,t,u){if(this.Ha!=n||this.Ka!=r||this.ia!=t||this.ua!=u)this.Ha=n,this.Ka=r,this.ia=t,this.ua=u,this.Qc().setSize(this.ia,this.ua),this.Hd(),this.Rk(),this.trigger(new l(b.kc))};q.prototype.Vg=function(){var n=this.Br(),r=this.zF();this.Ib?(r.style.width=this.ia+"px",r.style.height=this.ua+"px",n.style.left=this.Ha+this.Hu+
"px",n.style.top=this.Ka+this.Iu+"px",n.style.width=this.ia+"px",n.style.height=this.ua+"px",n.style.visibility="inherit",n.style.overflow="visible",n.style.cursor=this.fb&&this.fb.K3.sva(this.Bh),0===r.clientWidth&&0!==this.ia&&(n.style.width=0,n.style.width=this.ia+"px")):(n.style.visibility="hidden",n.style.width=0,n.style.height=0,n.style.overflow="hidden",r.style.width=0,r.style.height=0);this.gl().Vg();this.Qc().Vg();this.Bb().Vg();!this.Rla&&this.fb&&(this.Rla=!0,this.fb.Qra?this.g6():this.fb.bind(b.An,
this.g6,this,!0))};q.prototype.g6=function(){this.trigger(b.INIT)};q.prototype.AVa=function(n){n=n.Ac().offset();var r=this.Ac().offset(),t={};t.left=r.left-n.left;t.top=r.top-n.top;this.fb&&(t.left/=this.fb.uy,t.top/=this.fb.uy);return t};q.EF=0;return q});
define("S","require eg lo oH cy gJ mV".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("gJ"),g=a("mV"),d=h.extend(g,function(){this.m={};this.bv=this.gka=void 0;this.Cy={};this.cka=!0;this.Rra={};g.call(this);this.aHa();this.nb();this.Be("UICustomizable");this.le()});d.vc={visible:!0,includeInLayout:!0,state:void 0,left:void 0,right:void 0,top:void 0,bottom:void 0,centerX:void 0,centerY:void 0,width:void 0,height:void 0,minWidth:void 0,minHeight:void 0,maxWidth:void 0,maxHeight:void 0,
actualWidth:void 0,actualHeight:void 0,paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:void 0,borderBottomRadius:void 0,borderLeftRadius:void 0,borderRightRadius:void 0,borderTopLeftRadius:void 0,borderTopRightRadius:void 0,borderBottomLeftRadius:void 0,borderBottomRightRadius:void 0,borderSize:0,borderLeftSize:void 0,borderTopSize:void 0,borderRightSize:void 0,borderBottomSize:void 0,borderColor:void 0,borderLeftColor:void 0,borderTopColor:void 0,
borderRightColor:void 0,borderBottomColor:void 0,shadow:!1,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:void 0,backgroundOpacity:1,backgroundColor:void 0,backgroundColorRatios:void 0,backgroundColorDirection:void 0,backgroundImageUrl:void 0,hideEffect:void 0,showEffect:void 0};d.prototype.aHa=function(){this.Rra[b.$b]=b.ob};d.prototype.nb=function(){this.Kn(d.vc)};d.prototype.Kn=function(c){for(var f in c){var l=c[f],p=l&&l.length;
p&&"string"!=typeof l?1==p?this.h(f,l[0]):2==p?this.u(f,l[0],l[1]):3==p&&this.u(f,l[0],l[1],l[2]):this.h(f,l)}};d.prototype.h=function(c,f){this.m[c]={i:!0,d:f}};d.prototype.IJa=function(){var c=[],f;for(f in this.m)c.push(f);return c};d.prototype.u=function(c,f,l,p){this.Cy[f]||(this.Cy[f]={});this.h(c,p);this.Cy[f][l]=c};d.prototype.YG=function(c,f){if(f)this.gka=c;else if(void 0!=this.gka)return;if(this.bv!=c){if(f=this.Cy[this.bv])for(var l in f)(this.m[l]||(this.m[l]={})).i=!0;this.bv=c;if(f=
this.Cy[this.bv])for(l in f)(this.m[l]||(this.m[l]={})).i=!0;this.le()}};d.prototype.ja=function(c){if(e(c).isString())this.set(c,void 0);else{var f=c;for(c in f)this.set(c,f[c])}};d.prototype.set=function(c,f){var l=this.m[c];l?(void 0==f&&(f=l.d),e.isEqual(this.get(c),f)||("state"==c&&this.YG(f,!0),g.prototype.set.call(this,c,f),l.i=!0,this.le())):g.prototype.set.call(this,c,f)};d.prototype.get=function(c,f){switch(c){case "actualWidth":return this.Xa();case "actualHeight":return this.xb();default:var l=
g.prototype.get.call(this,c);void 0===l&&((c=this.m[c])&&(l=c.d),void 0===l&&(l=f));return l}};d.prototype.Cha=function(){for(var c="paddingLeft paddingTop paddingRight paddingBottom borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize".split(" "),f=0;f<c.length;f++)if(this.I(c[f]))return!0;return!1};d.prototype.I=
function(c){if((this.m[c]||{}).i)return!0;if(void 0!==this.bv)return c=this.Cy[this.bv][c],!!(this.m[c]||{}).i};d.prototype.JC=function(c){(this.m[c]||(this.m[c]={})).i=!0;this.le()};d.prototype.P=function(c){(this.m[c]||(this.m[c]={})).i=!1;void 0!=this.bv&&(c=this.Cy[this.bv][c])&&((this.m[c]||(this.m[c]={})).i=!1)};d.prototype.B=function(){for(var c,f=0;f<arguments.length;f++){for(var l=arguments[f],p=this.bv;p;){if(c=this.Cy[p][l])if(c=this.get(c),void 0!=c&&null!=c)return c;p=this.Rra[p]}c=this.get(l);
if(void 0!=c&&null!=c)return c}};d.prototype.V9=function(c){c.source.unbind(m.sb,this.V9,this);this.trigger(new k(m.pJ))};d.prototype.O5=function(c){c.source.unbind(m.sb,this.O5,this);this.trigger(new k(m.hJ))};d.prototype.Va=function(){if(this.cka)this.cka=!1;else if(this.I("visible")){var c=this.B("visible"),f=this.get(c?"hideEffect":"showEffect");f&&f.sI(this)&&(f.unbind(m.sb,c?this.O5:this.V9,this),f.end());(f=this.get(c?"showEffect":"hideEffect"))?f.sI(this)||(this.P("visible"),f.bind(m.sb,c?
this.V9:this.O5,this),f.play(this)):this.trigger(new k(c?m.pJ:m.hJ))}this.I("visible")&&(this.wf(this.B("visible")),this.P("visible"));this.I("includeInLayout")&&(this.uPa(this.B("includeInLayout")),this.P("includeInLayout"));this.I("left")&&(f=this.B("left"),c=d.Jo(f),f=void 0===c?f:void 0,this.EPa(c),this.wPa(f),this.P("left"));this.I("top")&&(f=this.B("top"),c=d.Jo(f),f=void 0===c?f:void 0,this.GPa(c),this.VPa(f),this.P("top"));this.I("right")&&(f=this.B("right"),c=d.Jo(f),f=void 0===c?f:void 0,
this.FPa(c),this.JPa(f),this.P("right"));this.I("bottom")&&(f=this.B("bottom"),c=d.Jo(f),f=void 0===c?f:void 0,this.CPa(c),this.$Oa(f),this.P("bottom"));this.I("centerX")&&(this.dPa(this.B("centerX")),this.P("centerX"));this.I("centerY")&&(this.ePa(this.B("centerY")),this.P("centerY"));this.I("width")&&(f=this.B("width"),c=d.Jo(f),f=void 0===c?f:void 0,this.HPa(c),this.nPa(f),this.P("width"));this.I("height")&&(f=this.B("height"),c=d.Jo(f),f=void 0===c?f:void 0,this.DPa(c),this.iPa(f),this.P("height"));
this.I("minWidth")&&(f=this.B("minWidth"),this.mPa(f),this.P("minWidth"));this.I("minHeight")&&(f=this.B("minHeight"),this.lPa(f),this.P("minHeight"));this.I("maxWidth")&&(f=this.B("maxWidth"),this.kPa(f),this.P("maxWidth"));this.I("maxHeight")&&(f=this.B("maxHeight"),this.jPa(f),this.P("maxHeight"));this.I("paddingLeft")&&(this.lra(this.B("paddingLeft")),this.P("paddingLeft"));this.I("paddingTop")&&(this.nra(this.B("paddingTop")),this.P("paddingTop"));this.I("paddingRight")&&(this.mra(this.B("paddingRight")),
this.P("paddingRight"));this.I("paddingBottom")&&(this.kra(this.B("paddingBottom")),this.P("paddingBottom"));c=!1;this.I("borderRadius")&&(this.P("borderRadius"),c=!0);f=!1;this.I("borderLeftRadius")&&(this.P("borderLeftRadius"),f=!0);var l=!1;this.I("borderTopRadius")&&(this.P("borderTopRadius"),l=!0);var p=!1;this.I("borderRightRadius")&&(this.P("borderRightRadius"),p=!0);var q=!1;this.I("borderBottomRadius")&&(this.P("borderBottomRadius"),q=!0);if(this.I("borderTopLeftRadius")||l||f||c)this.XOa(this.B("borderTopLeftRadius",
"borderLeftRadius","borderTopRadius","borderRadius")),this.P("borderTopLeftRadius");if(this.I("borderTopRightRadius")||l||p||c)this.YOa(this.B("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius")),this.P("borderTopRightRadius");if(this.I("borderBottomLeftRadius")||q||f||c)this.POa(this.B("borderBottomLeftRadius","borderLeftRadius","borderBottomRadius","borderRadius")),this.P("borderBottomLeftRadius");if(this.I("borderBottomRightRadius")||q||p||c)this.QOa(this.B("borderBottomRightRadius",
"borderRightRadius","borderBottomRadius","borderRadius")),this.P("borderBottomRightRadius");c=!1;this.I("borderSize")&&(this.P("borderSize"),c=!0);if(this.I("borderLeftSize")||c)this.TOa(this.B("borderLeftSize","borderSize")),this.P("borderLeftSize");if(this.I("borderTopSize")||c)this.ZOa(this.B("borderTopSize","borderSize")),this.P("borderTopSize");if(this.I("borderRightSize")||c)this.VOa(this.B("borderRightSize","borderSize")),this.P("borderRightSize");if(this.I("borderBottomSize")||c)this.ROa(this.B("borderBottomSize",
"borderSize")),this.P("borderBottomSize");c=!1;this.I("borderColor")&&(this.P("borderColor"),c=!0);if(this.I("borderLeftColor")||c)this.SOa(this.B("borderLeftColor","borderColor")),this.P("borderLeftColor");if(this.I("borderTopColor")||c)this.WOa(this.B("borderTopColor","borderColor")),this.P("borderTopColor");if(this.I("borderRightColor")||c)this.UOa(this.B("borderRightColor","borderColor")),this.P("borderRightColor");if(this.I("borderBottomColor")||c)this.OOa(this.B("borderBottomColor","borderColor")),
this.P("borderBottomColor");this.I("shadow")&&(this.wW(this.B("shadow")),this.P("shadow"));this.I("shadowHorizontalLength")&&(this.PPa(this.B("shadowHorizontalLength")),this.P("shadowHorizontalLength"));this.I("shadowVerticalLength")&&(this.SPa(this.B("shadowVerticalLength")),this.P("shadowVerticalLength"));this.I("shadowBlurRadius")&&(this.NPa(this.B("shadowBlurRadius")),this.P("shadowBlurRadius"));this.I("shadowSpread")&&(this.RPa(this.B("shadowSpread")),this.P("shadowSpread"));this.I("shadowColor")&&
(this.OPa(this.B("shadowColor")),this.P("shadowColor"));c=!1;this.I("opacity")&&(this.fj(this.B("opacity")),this.P("opacity"),c=!0);if(this.I("shadowOpacity")||c)this.QPa(this.B("shadowOpacity","opacity")),this.P("shadowOpacity");this.I("backgroundOpacity")&&(this.KOa(this.B("backgroundOpacity")),this.P("backgroundOpacity"));this.I("backgroundColor")&&(this.GOa(this.B("backgroundColor")),this.P("backgroundColor"));this.I("backgroundColorRatios")&&(this.IOa(this.B("backgroundColorRatios")),this.P("backgroundColorRatios"));
this.I("backgroundColorDirection")&&(this.HOa(this.B("backgroundColorDirection")),this.P("backgroundColorDirection"));this.I("backgroundImageUrl")&&(this.JOa(this.B("backgroundImageUrl")),this.P("backgroundImageUrl"));g.prototype.Va.call(this)};d.Jo=function(c){if(e(c).isString()&&(c=c.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&2<=c.length)return parseFloat(c[1])};return d});
define("jA",["require","eg","lo","cy"],function(a){var e=a("eg"),h=a("lo"),m=a("cy");return h.extend(m,function(k,b,g,d,c,f,l,p){e.isNumber(b)||(b=1);e.isNumber(g)||(g=0);m.call(this,k);this.scale=b;this.rotation=g;this.x=d;this.y=c;this.pageX=f;this.pageY=l;this.touches=p||[]})});
define("oL",["require","exports","cy"],function(a,e,h){return function(m){function k(b,g,d,c,f,l,p,q){b=m.call(this,b)||this;b.x=g;b.y=d;b.pageX=c;b.pageY=f;b.delta=l;b.hY=p;b.originalEvent=q;b.movementX=q?q.movementX:0;b.movementY=q?q.movementY:0;return b}Z(k,m);return k}(h)});
define("e","require jquery.mod eg lo oH gJ lU S jA oL gz v mj".split(" "),function(a){var e=a("jquery.mod"),h=a("eg"),m=a("lo"),k=a("oH"),b=a("gJ"),g=a("lU"),d=a("S"),c=a("jA"),f=a("oL");a("gz");var l=a("v");a=a("mj");var p=m.extend(d,function(){d.call(this);this.Be("UIComponent");this.FS=[];this.Jma=0;this.uHa=500;this.Cc=1;this.Qn=l.u_();this.bL=this.wu=this.ET=!1;this.set("propagateClick",!0)});p.vc={autoRolledOver:!1,autoPressed:!1,contentOpaque:!0,cursor:void 0,inheritedCursor:void 0,inheritedInteractionEnabled:!0,
interactionEnabled:!0,rollOverOpacity:[b.U,"opacity"],rollOverShadow:[b.U,"shadow"],toolTipFollowMouse:!1};h.defaults(p.vc,d.vc);p.prototype.nb=function(){this.Kn(p.vc)};p.prototype.Vha=function(){this.rra(!0)};p.prototype.Uha=function(){this.rra(!1)};p.prototype.Sha=function(){this.XG(!0)};p.prototype.Tha=function(){this.XG(!1)};p.prototype.sN=function(n){this.wu!=n&&(this.wu=n,this.mg())};p.prototype.XG=function(n){this.bL!=n&&(this.bL=n,this.mg())};p.prototype.rra=function(n){this.ET!=n&&(this.ET=
n,this.mg())};p.prototype.mg=function(){this.wu?this.YG(b.ca):this.bL&&this.ET?this.YG(b.$b):this.bL?this.YG(b.ob):this.ET?this.YG(b.U):this.YG(b.He)};p.prototype.trigger=function(){d.prototype.trigger.apply(this,arguments)};p.prototype.Bsa=function(n,r){this.trigger(new f(k.ub,n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.Csa=function(n,r){this.trigger(new f(k.jc,n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.Dsa=function(n,r){this.trigger(new f(k.Zb,
n.x,n.y,n.pageX,n.pageY,void 0,void 0,r&&r.originalEvent))};p.prototype.yRa=function(n,r,t){this.trigger(new f(k.$q,n.x,n.y,n.pageX,n.pageY,r.delta,r.hY,t&&t.originalEvent))};p.prototype.ysa=function(n){this.trigger(new f(k.qa,n.x,n.y,n.pageX,n.pageY))};p.prototype.zsa=function(n){this.trigger(new f(k.hm,n.x,n.y,n.pageX,n.pageY))};p.prototype.BRa=function(){this.trigger(new f(k.Wc))};p.prototype.ARa=function(){this.trigger(new f(k.ac))};p.prototype.wRa=function(){this.trigger(new f(k.mA))};p.prototype.xRa=
function(){this.trigger(new f(k.$o))};p.prototype.vRa=function(n,r,t){this.trigger(new c(k.Bw,n,r,t.x,t.y,t.pageX,t.pageY,t.touches))};p.prototype.rRa=function(n,r,t){this.trigger(new c(k.J0,n,r,t.x,t.y,t.pageX,t.pageY,t.touches))};p.prototype.sRa=function(n,r,t){this.trigger(new c(k.kE,n,r,t.x,t.y,t.pageX,t.pageY,t.touches))};p.prototype.tRa=function(n){this.trigger(new c(k.LBa,void 0,n))};p.prototype.uRa=function(n){this.trigger(new c(k.lE,n))};p.prototype.F$=function(n){n.stopImmediatePropagation();
this.kF(["touchend"]);this.Wla(n)?this.M8(n):this.Upa(n,!0)};p.prototype.Upa=function(n,r){var t=this.BF(n);r&&this.kRa(t);this.Bsa(t,n);this.ka&&this.ka.Upa(n,r&&this.get("propagateClick"))};p.prototype.E$=function(n){n.preventDefault();n.stopImmediatePropagation();this.Wla(n)?this.K8(n):this.Tpa(n)};p.prototype.Tpa=function(n){var r=this.BF(n);this.jRa(r);this.Csa(r,n);this.ka&&this.ka.Tpa(n)};p.prototype.Cka=function(n,r){var t=n.pageX-r.pageX;n=n.pageY-r.pageY;return Math.sqrt(t*t+n*n)};p.prototype.Ry=
function(n,r){this.lK(["touchend"]);!1!==r&&n.preventDefault();n.stopImmediatePropagation();this.DG?this.L8(n):(this.Spa(n,this.Vla()),this.Jla());this.DG=null;this.GJ()};p.prototype.Spa=function(n,r){var t=this.BF(n);this.Dsa(t,n);this.iRa(r);this.ka&&this.ka.Spa(n,r)};p.prototype.kRa=function(n){this.bind(k.ac,this.rsa,this,!0);this.RC=n};p.prototype.jRa=function(n){if(this.RC){n=this.Cka(this.RC,n);if(l.kb()){var r=this.Jb();r=.01*p.gDa*Math.min(r.Xa(),r.xb())}else r=p.mDa;n>r&&this.eX()}};p.prototype.iRa=
function(n){this.RC&&(this.ysa(this.RC),n&&this.zsa(this.RC),this.eX())};p.prototype.eX=function(){this.RC&&(this.unbind(k.ac,this.rsa,this),this.RC=void 0)};p.prototype.rsa=function(){this.eX()};p.prototype.S4=function(n){this.kF(["gesturechange","gestureend"]);n.preventDefault();n.stopImmediatePropagation();this.M8(n)};p.prototype.M8=function(n){var r=this.d5(n);this.DG=r;this.vRa(r.scale,r.rotation,r.coordinates);this.ka&&this.ka.M8(n)};p.prototype.kka=function(n){n.preventDefault();n.stopImmediatePropagation();
this.K8(n)};p.prototype.K8=function(n){var r=this.d5(n,this.DG),t=r.rotation-this.DG.rotation,u=r.scale/this.DG.scale;this.DG=r;this.Cc*=u;for(this.Ck+=t;180<this.Ck;)this.Ck-=360;for(;-180>this.Ck;)this.Ck+=360;this.rRa(this.Cc,this.Ck,r.coordinates);0!=t&&this.tRa(this.Ck);1!=u&&this.uRa(this.Cc);this.eX();this.ka&&this.ka.K8(n)};p.prototype.mka=function(n){this.lK(["gesturechange","gestureend"]);n.preventDefault();n.stopImmediatePropagation();this.L8(n)};p.prototype.L8=function(n){var r=this.d5(n);
this.sRa(this.Cc,this.Ck,r.coordinates);this.ka&&this.ka.L8(n)};p.prototype.d7=function(n){this.kF(["mouseup"]);n.stopImmediatePropagation();this.Opa(n,!0);q&&this.zLa(n.ctrlKey)};p.prototype.Opa=function(n,r){var t=this.uB(n);r&&this.MFa(t);this.Bsa(t,n);this.ka&&this.ka.Opa(n,r&&this.get("propagateClick"))};p.prototype.h7=function(n){n.preventDefault();n.stopImmediatePropagation();this.Jb().MD(this);this.Ppa(n)};p.prototype.Ppa=function(n){var r=this.uB(n);this.LFa(r);this.Csa(r,n);this.ka&&this.ka.Ppa(n)};
p.prototype.oU=function(n){this.lK(["mouseup"]);n.preventDefault();n.stopImmediatePropagation();this.Qpa(n,this.Vla());this.Jla()};p.prototype.Qpa=function(n,r){var t=this.uB(n);this.Dsa(t);this.KFa(r);this.ka&&this.ka.Qpa(n,r)};p.prototype.MFa=function(n){this.bind(k.ac,this.Jia,this,!0);this.XA=n};p.prototype.LFa=function(n){this.XA&&this.Cka(this.XA,n)>p.bDa&&this.V2()};p.prototype.KFa=function(n){this.XA&&(this.ysa(this.XA),n&&this.zsa(this.XA),this.V2())};p.prototype.V2=function(){this.XA&&(this.unbind(k.ac,
this.Jia,this),this.XA=void 0)};p.prototype.Jia=function(){this.V2()};p.prototype.Lma=function(n){this.fb.Kma&&(n.preventDefault(),n.stopImmediatePropagation(),this.Rpa(n))};p.prototype.qia=function(){return!1};p.prototype.Rpa=function(n){var r=this.uB(n),t=this.qJa(n);this.ka&&!this.qia(t.delta)&&this.ka.Rpa(n);this.yRa(r,t,n)};p.prototype.uB=function(n){return this.YS(n.pageX,n.pageY)};p.prototype.qJa=function(n){n=window.event||n.originalEvent||n;var r={};r.delta=Math.max(-1,Math.min(1,n.wheelDelta||
-n.detail));r.hY=n.wheelDelta?.01*n.wheelDelta:r.delta;return r};p.prototype.BF=function(n){var r=this.b5(n);if(void 0===r){var t=void 0!==n.pageX?this.YS(n.pageX,n.pageY):this.YS(n.originalEvent.pageX,n.originalEvent.pageY);t.touches=[t]}else 0==r.length?t=this.ENa:(t={x:0,y:0,pageX:0,pageY:0,wz:0,xz:0,touches:[]},Array.from(r).forEach(function(u){u||(u=r[0]);u=this.YS(u.pageX,u.pageY);t.x+=u.x;t.y+=u.y;t.pageX+=u.pageX;t.pageY+=u.pageY;t.wz+=u.wz;t.xz+=u.xz;t.touches.push(u)}.bind(this)),t.x/=r.length,
t.y/=r.length,t.pageX/=r.length,t.pageY/=r.length,t.wz/=r.length,t.xz/=r.length);return this.ENa=t};p.prototype.Wla=function(n){if((n=this.b5(n))&&1<n.length)for(var r=0,t=0;t<n.length;t++)if(this.WKa(n[t].target)&&(r++,1<r))return!0;return!1};p.prototype.WKa=function(n){for(;n;){if(n==this.bc)return!0;n=n.parentNode}return!1};p.prototype.b5=function(n){return n.originalEvent.touches||n.originalEvent.targetTouches||n.originalEvent.changedTouches};p.prototype.YS=function(n,r){var t=this.Ac().offset(),
u=this.fb?this.fb.uy:1,v={};v.x=(n-t.left)/u;v.y=(r-t.top)/u;v.pageX=n/u;v.pageY=r/u;v.wz=n;v.xz=r;return v};p.prototype.d5=function(n,r){var t=this.BF(n);return void 0!==n.originalEvent.scale||void 0!==n.originalEvent.rotation?{coordinates:t,scale:n.originalEvent.scale,rotation:n.originalEvent.rotation}:r?(n=this.Mka(n),{coordinates:t,scale:r.scale*n/r.touchesDistance,rotation:0,touchesDistance:n}):{coordinates:t,scale:1,rotation:0,touchesDistance:this.Mka(n)}};p.prototype.Mka=function(n){var r=
this.b5(n);return r&&1<r.length?(n=Math.abs(r[0].pageX-r[1].pageX),r=Math.abs(r[0].pageY-r[1].pageY),Math.sqrt(n*n+r*r)):0};p.prototype.kF=function(n){this.FS=h(this.FS).union(n);n=this.Lka(n);for(var r=0;r<n.length;r++){var t=n[r];t.target.bind(t.name,t.handler)}};p.prototype.Jla=function(){this.Jma=(new Date).getTime()};p.prototype.Vla=function(){return(new Date).getTime()-this.Jma<=this.uHa};p.prototype.lK=function(n){this.FS=h(this.FS).difference(n);n=this.Lka(n);for(var r=0;r<n.length;r++){var t=
n[r];t.target.unbind(t.name,t.handler)}};p.prototype.Lka=function(n){this.Zja||(this.Zja=this.a5());for(var r=[],t=0;t<n.length;t++)r=r.concat(this.Zja[n[t]]);return r};p.prototype.a5=function(){var n=this.Ac(),r=e(document),t=e(window);return{touchstart:[{target:n,name:"touchstart",handler:this.lh(this.F$)}],touchmove:[{target:n,name:"touchmove",handler:this.lh(this.E$)}],touchend:[{target:n,name:"touchend",handler:this.lh(this.Ry,!0)},{target:r,name:"touchend",handler:this.lh(this.Ry,!0)},{target:n,
name:"touchcancel",handler:this.lh(this.Ry,!0)},{target:r,name:"touchcancel",handler:this.lh(this.Ry,!0)}],gesturestart:[{target:n,name:"gesturestart",handler:this.lh(this.S4)}],gesturechange:[{target:n,name:"gesturechange",handler:this.lh(this.kka)}],gestureend:[{target:n,name:"gestureend",handler:this.lh(this.mka)}],mousedown:[{target:n,name:"mousedown",handler:this.lh(this.d7)}],mousemove:[{target:n,name:"mousemove",handler:this.lh(this.h7)}],mouseup:[{target:n,name:"mouseup",handler:this.lh(this.oU,
!0)},{target:t,name:"mouseup",handler:this.lh(this.oU,!0)}],mousewheel:[{target:n,name:"mousewheel",handler:this.lh(this.Lma)},{target:n,name:"DOMMouseScroll",handler:this.lh(this.Lma)}]}};p.prototype.lh=function(n,r){var t=this;return function(){r&&g.A_();p.zX+=1;var u=n.apply(t,arguments);--p.zX;return u}};p.prototype.Va=function(){this.I("autoRolledOver")&&(this.unbind(k.Wc,this.Vha,this),this.unbind(k.ac,this.Uha,this),this.B("autoRolledOver")&&(this.bind(k.Wc,this.Vha,this),this.bind(k.ac,this.Uha,
this)),this.P("autoRolledOver"));this.I("autoPressed")&&(this.unbind(k.ub,this.Sha),this.unbind(k.Zb,this.Tha),this.B("autoPressed")&&(this.bind(k.ub,this.Sha),this.bind(k.Zb,this.Tha)),this.P("autoPressed"));var n=!1;this.I("contentOpaque")&&(n=!0,this.P("contentOpaque"));this.I("inheritedInteractionEnabled")&&(n=!0,this.P("inheritedInteractionEnabled"));this.I("interactionEnabled")&&(n=!0,this.P("interactionEnabled"));if(this.I("backgroundOpacity")||this.I("backgroundColor"))n=!0;d.prototype.Va.call(this);
if(n){var r=this.Qc();r=0<r.Pk()&&0<r.YA.length;var t=this.B("contentOpaque"),u=this.B("inheritedInteractionEnabled"),v=this.B("interactionEnabled");this.GC(u&&v&&(t||r))}if(n||this.I("cursor")||this.I("inheritedCursor"))this.P("cursor"),this.P("inheritedCursor"),this.oR?this.Jy(this.B("cursor")):this.Jy(this.B("inheritedCursor"))};p.prototype.GC=function(n){this.oR!=n&&((this.oR=n)?this.kF(p.oha):this.lK(p.oha),this.GJ())};p.prototype.GJ=function(){this.Br().style["pointer-events"]=this.gla()};p.prototype.gla=
function(){return this.oR?"auto":"none"};p.prototype.zLa=function(n){if(n){n=[];for(var r=this;r;)n.push(r),r=r.getParent();console.log(n.map(function(t){return t.Lt}))}else console.log(this.Lt)};p.uP=function(){return 0<p.zX};p.oha=function(){var n=[];n=n.concat(["touchstart","touchmove"]);l.fe()!=l.Hi&&(n=n.concat(["mousedown","mousemove","mousewheel"]));return n}();p.zX=0;p.O0a=1E3;p.mDa=10;p.gDa=5;p.bDa=10;var q=a.Wh("debug");return p});
define("d",["require"],function(){return{CQ:"absolute",Dg:"horizontal",Cw:"grid",uh:"vertical"}});define("cz",["require"],function(){return function(a){this.xd=a;this.height=this.width=this.y=this.x=0}});define("dE",["require"],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("ce",["require","mQ","cz","dE"],function(a){function e(){this.Mc=null;this.Ol=h.uc;this.kl=h.Pa;this.ZC=this.su=0}var h=a("mQ"),m=a("cz"),k=a("dE");e.prototype.Hza=function(b){this.su!=b&&(this.su=b,this.Ve())};e.prototype.j_=function(b){this.ZC!=b&&(this.ZC=b,this.Ve())};e.prototype.Uza=function(b){this.Mc=b;this.Ve()};e.prototype.HI=function(b){this.kl!=b&&(this.kl=b,this.Ve())};e.prototype.OI=function(b){this.Ol!=b&&(this.Ol=b,this.Ve())};e.prototype.measure=function(){return new k};e.prototype.update=
function(){var b=this.lGa();this.nH(b);this.gPa(b)};e.prototype.nH=function(b){this.fO(b);this.eO(b)};e.prototype.aT=function(){for(var b=this.pla(),g=[],d=0;d<b.length;d++){var c=b[d];c.get("includeInLayout")&&g.push(c)}return g};e.prototype.pla=function(){for(var b=this.Mc.Kb(),g=[],d=0;d<b.length;d++){var c=b[d];c.get("visible")&&g.push(c)}return g};e.prototype.lGa=function(){for(var b=this.pla(),g=[],d=0;d<b.length;d++)g.push(new m(b[d]));return g};e.prototype.gPa=function(b){for(var g=0;g<b.length;g++){var d=
b[g];d.xd.vza(d.x,d.y,d.width,d.height)}};e.prototype.Ve=function(){this.Mc&&(this.Mc.Vb(),this.Mc.Hd())};return e});
define("dx",["require","lo","mQ","ce","dE"],function(a){var e=a("lo");a("mQ");var h=a("ce"),m=a("dE");a=e.extend(h,function(){h.call(this)});a.prototype.measure=function(){for(var k=new m,b=this.aT(),g=0;g<b.length;g++){var d=b[g],c=d.Bu,f=d.dN,l=0;isNaN(c)||(l+=c);isNaN(f)||(l+=f);k.width=Math.max(l+d.Ks(),k.width);k.minWidth=Math.max(l+d.Is(),k.minWidth);c=d.oq;f=d.MJ;l=0;isNaN(c)||(l+=c);isNaN(f)||(l+=f);k.height=Math.max(l+d.Js(),k.height);k.minHeight=Math.max(l+d.Ov(),k.minHeight)}b=this.Mc.Rl()+
this.Mc.Es();k.width+=b;k.minWidth+=b;b=this.Mc.Fs()+this.Mc.dI();k.height+=b;k.minHeight+=b;return k};a.prototype.nH=function(k){this.fO(k);this.eO(k)};a.prototype.nH=function(k){for(var b=this.Mc.rf(),g=this.Mc.qf(),d=0;d<k.length;d++){var c=k[d],f=c.xd,l=f.Bu;if(isNaN(l)){var p=f.uV;isNaN(p)||(l=Math.round(p*b*.01))}p=f.dN;if(isNaN(p)){var q=f.vV;isNaN(q)||(p=Math.round(q*b*.01))}q=f.ex;var n=f.ym;if(isNaN(n)){var r=f.Um;isNaN(r)?isNaN(l)||isNaN(p)||(n=b-l-p):n=Math.round(r*b*.01)}r=f.oq;if(isNaN(r)){var t=
f.wV;isNaN(t)||(r=Math.round(t*g*.01))}t=f.MJ;if(isNaN(t)){var u=f.tV;isNaN(u)||(t=Math.round(u*g*.01))}u=f.gx;var v=f.kB;if(isNaN(v)){var w=f.Tm;isNaN(w)?isNaN(r)||isNaN(t)||(v=g-r-t):v=Math.round(w*g*.01)}c.width=isNaN(n)?f.Ks():Math.max(f.Is(),Math.min(f.IY(),n));c.height=isNaN(v)?f.Js():Math.max(f.Ov(),Math.min(f.HY(),v));c.x=isNaN(l)||isNaN(p)?isNaN(l)?isNaN(p)?isNaN(q)?0:.5*b+q-.5*c.width:b-p-c.width:l:Math.round(l+.5*(b-p-l-c.width));c.y=isNaN(r)||isNaN(t)?isNaN(r)?isNaN(t)?isNaN(u)?0:.5*g+
u-.5*c.height:g-t-c.height:r:Math.round(r+.5*(g-t-r-c.height))}};return a});
define("ki",["require","lo","mQ","ce","dE"],function(a){var e=a("lo"),h=a("mQ"),m=a("ce"),k=a("dE");a=e.extend(m,function(){m.call(this);this.dL=this.eL=this.fL=this.KB=this.xu=this.yu=this.hL=this.Sx=this.ym=void 0});a.prototype.LYa=function(b){this.ym!=b&&(this.ym=b,this.Ve())};a.prototype.YYa=function(b){this.yu!=b&&(this.yu=b,void 0!=this.yu&&(this.Sx=void 0),this.Ve())};a.prototype.XYa=function(b){this.xu!=b&&(this.xu=b,void 0!=this.xu&&(this.hL=void 0),this.Ve())};a.prototype.fZa=function(b){this.Sx!=
b&&(this.Sx=b,void 0!=this.yu&&(this.yu=void 0),this.Ve())};a.prototype.eZa=function(b){this.hL!=b&&(this.hL=b,void 0!=this.xu&&(this.xu=void 0),this.Ve())};a.prototype.cZa=function(b){this.KB!=b&&(this.KB=b,this.Ve())};a.prototype.bZa=function(b){this.fL!=b&&(this.fL=b,this.Ve())};a.prototype.aZa=function(b){this.eL!=b&&(this.eL=b,this.Ve())};a.prototype.$Ya=function(b){this.dL!=b&&(this.dL=b,this.Ve())};a.prototype.measure=function(){for(var b=new k,g=this.aT(),d=0,c=0;c<g.length;c++)g[c].get("includeInLayout")&&
d++;if(!isNaN(this.Sx))for(isNaN(this.KB)||(b.minWidth=this.KB),c=0;c<g.length;c++){var f=g[c].Is();isNaN(f)||(b.minWidth=Math.max(f,b.minWidth))}if(isNaN(this.yu))for(c=0;c<g.length;c++)f=g[c].Ks(),isNaN(f)||(b.width=Math.max(f,b.width));else b.width=this.yu;if(isNaN(this.xu))for(c=0;c<g.length;c++)f=g[c].Js(),isNaN(f)||(b.height=Math.max(f,b.height));else b.height=this.xu;isNaN(this.Sx)?isNaN(this.ym)?g=Math.ceil(Math.sqrt(d)):(g=this.ym-this.Mc.Rl()-this.Mc.Es(),g=Math.max(1,Math.floor((g+this.su)/
(b.width+this.su)))):g=Math.max(1,Math.floor(100/this.Sx));d=Math.ceil(d/g);b.width=b.width*g+Math.max(0,g-1)*this.su+this.Mc.Rl()+this.Mc.Es();b.minWidth=b.minWidth+this.Mc.Rl()+this.Mc.Es();b.height=b.height*d+Math.max(0,d-1)*this.ZC+this.Mc.Fs()+this.Mc.dI();b.minHeight=0;return b};a.prototype.nH=function(b){for(var g,d,c=[],f=[],l=0;l<b.length;l++)d=b[l].xd,d.get("includeInLayout")?c.push(b[l]):f.push(b[l]);var p=c.length,q=this.Mc.rf(),n=this.su;if(isNaN(this.yu))if(isNaN(this.Sx)){for(l=b=0;l<
c.length;l++)d=c[l].xd,b=Math.max(d.Is(),d.Ks(),b);b=Math.min(q,b)}else b=Math.max(1,Math.floor(100/this.Sx)),b=(q-(b-1)*n)/b,l=!1,!isNaN(this.eL)&&this.eL<b&&(b=this.eL,l=!0),!isNaN(this.KB)&&this.KB>b&&(b=this.KB,l=!0),l&&(b=Math.max(1,Math.floor((q+n)/(b+n))),b=(q-(b-1)*n)/b);else b=this.yu;b=Math.max(1,b);var r=Math.max(1,Math.floor(.001+(q+n)/(b+n)));l=r*b;var t=r*(b+n)-n,u=0;if(q>=t)switch(this.kl){case h.hb:u=q-t;break;case h.Ge:u=Math.round(.5*(q-t));break;default:u=0}q=[];t=[];for(var v=
0;v<r;v++)d=Math.round(l/(r-v)),l-=d,t.push(u),u+=d+n,q.push(d);u=this.Mc.qf();v=this.ZC;if(isNaN(this.xu))if(isNaN(this.hL))for(n=1,l=0;l<c.length;l++)d=c[l].xd,n=Math.max(d.Ov(),d.Js(),n);else n=Math.max(1,100/this.hL),n=(u-(n-1)*v)/n,l=!1,!isNaN(this.dL)&&this.dL<n&&(n=this.dL,l=!0),!isNaN(this.fL)&&this.fL>n&&(n=this.fL,l=!0),l&&(n=Math.max(1,Math.floor((u+v)/(n+v))),n=(u-(n-1)*v)/n);else n=this.xu;l=Math.max(1,Math.ceil(p/r));g=l*n;p=l*(n+v)-v;var w=0;if(u>=p)switch(this.Ol){case h.pc:w=u-p;
break;case h.he:w=Math.round(.5*(u-p))}p=[];u=[];for(d=0;d<l;d++){var x=Math.round(g/(l-d));g-=x;u.push(w);w+=x+v;p.push(x)}for(l=0;l<c.length;l++)g=c[l],v=l%r,d=Math.floor(l/r),g.x=t[v],g.width=q[v],g.y=u[d],g.height=p[d];for(l=0;l<f.length;l++)g=f[l],g.x=0,g.width=Math.round(b),g.y=0,g.height=Math.round(n)};return a});
define("lm",["require","lo","mQ","ce","dE"],function(a){var e=a("lo"),h=a("mQ"),m=a("ce"),k=a("dE");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var b=new k,g=this.aT(),d=0;d<g.length;d++){var c=g[d];b.height=Math.max(c.Js(),b.height);b.minHeight=Math.max(c.Ov(),b.minHeight);b.width+=c.Ks();b.minWidth+=c.Is()}g=Math.max(0,g.length-1)*this.su+this.Mc.Rl()+this.Mc.Es();b.width+=g;b.minWidth+=g;g=this.Mc.Fs()+this.Mc.dI();b.height+=g;b.minHeight+=g;return b};a.prototype.nH=
function(b){this.fO(b);this.eO(b)};a.prototype.fO=function(b){for(var g=0,d=0;d<b.length;d++)b[d].xd.get("includeInLayout")&&g++;d=Math.max(0,g-1)*this.su;var c=this.Mc.rf()-d,f=this.Mc.qf();g=c;var l=0,p=[];for(d=0;d<b.length;d++){var q=b[d],n=q.xd,r=n.Tm;q.height=isNaN(r)?n.Js():Math.max(n.Ov(),Math.min(n.HY(),Math.round(f*r*.01)));r=n.Um;isNaN(r)?(q.width=n.Ks(),g-=q.width):n.get("includeInLayout")?(l+=r,p.push(q)):q.width=Math.max(n.Is(),Math.min(n.IY(),Math.round(c*r*.01)))}g-=Math.max(0,g-c*
l*.01);do{b=!1;c=Math.max(0,0<l?g/l:0);f=[];for(d=l=0;d<p.length;d++){q=p[d];n=q.xd;r=Math.round(n.Um*c);var t=n.Is(),u=n.IY();r<t?(q.width=t,g-=q.width,b=!0):r>u?(q.width=u,g-=q.width,b=!0):(l+=n.Um,f.push(q))}p=f}while(b);for(d=0;d<p.length;d++)q=p[d],n=q.xd,c=Math.max(0,0<l?g/l:0),q.width=Math.round(n.Um*c),g-=q.width,l-=n.Um};a.prototype.eO=function(b){for(var g=this.su,d=this.Mc.rf(),c=this.Mc.qf(),f=0,l=0,p=0;p<b.length;p++){var q=b[p];q.xd.get("includeInLayout")&&(f+=b[p].width,l++)}f+=g*(l-
1);if(d>=f)switch(this.kl){case h.hb:d-=f;break;case h.Ge:d=Math.round(.5*(d-f));break;default:d=0}else d=0;for(p=0;p<b.length;p++)if(q=b[p],q.xd.get("includeInLayout")){if(c>=q.height)switch(this.Ol){case h.pc:q.y=c-q.height;break;case h.he:q.y=Math.round(.5*(c-q.height));break;default:q.y=0}else q.y=0;q.x=d;d+=q.width+g}else q.x=0,q.y=0};return a});
define("db",["require","lo","mQ","ce","dE"],function(a){var e=a("lo"),h=a("mQ"),m=a("ce"),k=a("dE");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var b=new k,g=this.aT(),d=0;d<g.length;d++){var c=g[d];b.width=Math.max(c.Ks(),b.width);b.minWidth=Math.max(c.Is(),b.minWidth);b.height+=c.Js();b.minHeight+=c.Ov()}g=Math.max(0,g.length-1)*this.ZC+this.Mc.Fs()+this.Mc.dI();b.height+=g;b.minHeight+=g;g=this.Mc.Rl()+this.Mc.Es();b.width+=g;b.minWidth+=g;return b};a.prototype.nH=
function(b){this.fO(b);this.eO(b)};a.prototype.fO=function(b){for(var g=0,d=0;d<b.length;d++)b[d].xd.get("includeInLayout")&&g++;d=Math.max(0,g-1)*this.ZC;var c=this.Mc.rf(),f=this.Mc.qf()-d;g=f;var l=0,p=[];for(d=0;d<b.length;d++){var q=b[d],n=q.xd,r=n.Um;q.width=isNaN(r)?n.Ks():Math.max(n.Is(),Math.min(n.IY(),Math.round(c*r*.01)));r=n.Tm;isNaN(r)?(q.height=n.Js(),g-=q.height):n.get("includeInLayout")?(l+=r,p.push(q)):q.height=Math.max(n.Ov(),Math.min(n.HY(),Math.round(f*r*.01)))}g-=Math.max(0,g-
f*l*.01);do{b=!1;c=Math.max(0,0<l?g/l:0);f=[];for(d=l=0;d<p.length;d++){q=p[d];n=q.xd;r=Math.round(n.Tm*c);var t=n.Ov(),u=n.HY();r<t?(q.height=t,g-=q.height,b=!0):r>u?(q.height=u,g-=q.height,b=!0):(l+=n.Tm,f.push(q))}p=f}while(b);for(d=0;d<p.length;d++)q=p[d],n=q.xd,c=Math.max(0,0<l?g/l:0),q.height=Math.round(n.Tm*c),g-=q.height,l-=n.Tm};a.prototype.eO=function(b){for(var g=this.ZC,d=this.Mc.rf(),c=this.Mc.qf(),f=0,l=0,p=0;p<b.length;p++){var q=b[p];q.xd.get("includeInLayout")&&(f+=q.height,q.width>
d&&(d=q.width),l++)}f+=g*(l-1);if(c>=f)switch(this.Ol){case h.pc:c-=f;break;case h.he:c=Math.round(.5*(c-f));break;default:c=0}else c=0;for(p=0;p<b.length;p++)if(q=b[p],q.xd.get("includeInLayout")){switch(this.kl){case h.hb:q.x=d-q.width;break;case h.Ge:q.x=Math.round(.5*(d-q.width));break;default:q.x=0}q.y=c;c+=q.height+g}else q.x=0,q.y=0};return a});
define("m","require lo eg e S mQ cN d dx ki lm db".split(" "),function(a){var e=a("lo"),h=a("eg"),m=a("e"),k=a("S"),b=a("mQ"),g=a("cN"),d=a("d"),c=a("dx"),f=a("ki"),l=a("lm"),p=a("db"),q=e.extend(m,function(){m.call(this);this.Be("BaseContainer");this.Sn=null;this.Ld=[];this.qp=[];this.hK=g.Xea;this.set("contentOpaque",!1)});q.vc={children:[[]],childrenInteractionEnabled:!0,gap:0,horizontalAlign:b.Pa,itemHeight:void 0,itemMaxHeight:void 0,itemMaxWidth:void 0,itemMinHeight:void 0,itemMinWidth:void 0,
itemWidth:void 0,layout:d.CQ,verticalAlign:b.uc};h.defaults(q.vc,m.vc);q.prototype.nb=function(){this.Kn(q.vc)};q.prototype.set=function(n,r){"children"==n?this.Tg(r):"creationPolicy"==n?this.CYa(r):m.prototype.set.call(this,n,r)};q.prototype.get=function(n,r){return"children"==n?this.Kb():"creationPolicy"==n?this.hK:m.prototype.get.call(this,n,r)};q.prototype.CYa=function(n){this.hK!=n&&(this.hK=n,this.Y$())};q.prototype.Tg=function(n){var r=this.Kb();n=n||[];for(var t=h(r).difference(n),u=0;u<t.length;u++)this.removeChild(t[u]);
r=h(n).difference(r);for(u=0;u<r.length;u++)this.Wa(r[u]);for(u=0;u<n.length;u++)this.pn(n[u],u)};q.prototype.Kb=function(){return this.Ld};q.prototype.Wa=function(n){n.getParent()&&n.getParent().removeChild(n);this.Ld.push(n);n.ka=this;this.Kha(n);n.J9(this.Cp);this.qp.push(n);this.Y$();n.gp()};q.prototype.removeChild=function(n){n.getParent()==this&&(n.Wm(),n.ka=null,h(this.qp).contains(n)?this.qp=h.without(this.qp,n):(n.Ac().detach(),n.cs(null),this.Vb(),this.Hd()),this.Ld=h.without(this.Ld,n),
n.g9())};q.prototype.Uya=function(){h(this.Kb()).forEach(function(n){this.removeChild(n)})};q.prototype.Tba=function(n){return h(this.Ld).indexOf(n)};q.prototype.pn=function(n,r){var t=this.Tba(n);if(0>t)throw"Can't set index. This is not a child of this container";var u=this.Ld.slice();u.splice(t,1);u.splice(r,0,n);if(!h.isEqual(this.Ld,u)&&(this.Ld=u,!h(this.qp).contains(n))){r=this.Tba(n);n.Ac().detach();u=t=null;for(var v=r-1;0<=v&&!t;v--)h(this.qp).contains(this.Ld[v])||(t=this.Ld[v]);for(v=
r+1;v<this.Ld.length&&!u&&!t;v++)h(this.qp).contains(this.Ld[v])||(u=this.Ld[v]);t?n.Ac().insertAfter(t.Ac()):u?n.Ac().insertBefore(u.Ac()):this.Bb().WX(n.Br());this.Hd()}};q.prototype.GC=function(n){m.prototype.GC.call(this,n);this.Rsa()};q.prototype.Rsa=function(){h(this.Ld).forEach(function(n){this.Kha(n)},this)};q.prototype.Kha=function(n){n.set("inheritedInteractionEnabled",this.B("interactionEnabled")&&this.B("inheritedInteractionEnabled")&&this.B("childrenInteractionEnabled"))};q.prototype.GJ=
function(){m.prototype.GJ.call(this);this.Ld.forEach(function(n){n.GJ()})};q.prototype.HC=function(n){m.prototype.HC.call(this,n);h(this.Ld).forEach(function(r){r.J9(this.Cp)},this)};q.prototype.i2=function(n){m.prototype.i2.call(this,n);h(this.Kb()).forEach(function(r){r.qH()});this.Y$()};q.prototype.cs=function(n){m.prototype.cs.call(this,n);h(this.Kb()).forEach(function(r){h(this.qp).contains(r)||r.cs(n)},this)};q.prototype.Y$=function(){(this.hK==g.Xea&&this.Qx||this.hK==g.kA)&&0<this.qp.length&&
(h(this.qp).forEach(function(n){this.Bb().WX(n.Br());n.cs(this.Jb())},this),this.qp=[],this.Vb(),this.Hd())};q.prototype.bQ=function(n){this.Sn!=n&&(this.Sn&&this.Sn.Uza(null),(this.Sn=n)&&this.Sn.Uza(this))};q.prototype.Va=function(){var n=!1,r=this.B("layout");if(this.I("layout")){switch(r){case d.Cw:this.bQ(new f);break;case d.Dg:this.bQ(new l);break;case d.uh:this.bQ(new p);break;default:this.bQ(new c)}this.P("layout");n=!0}var t=this.Sn;if(this.I("horizontalAlign")||n)t.HI(this.B("horizontalAlign")),
this.P("horizontalAlign");if(this.I("verticalAlign")||n)t.OI(this.B("verticalAlign")),this.P("verticalAlign");if(this.I("gap")||n)r==d.Cw?(t.Hza(this.B("gap")),t.j_(this.B("gap"))):r==d.Dg?t.Hza(this.B("gap")):r==d.uh&&t.j_(this.B("gap")),this.P("gap");if(r==d.Cw){if(this.I("itemWidth")||n){var u=this.B("itemWidth"),v=k.Jo(u);void 0!==v?t.fZa(v):t.YYa(u);this.P("itemWidth")}if(this.I("itemHeight")||n)u=this.B("itemHeight"),v=k.Jo(u),void 0!==v?t.eZa(v):t.XYa(u),this.P("itemHeight");this.I("itemMinWidth")&&
(t.cZa(this.B("itemMinWidth")),this.P("itemMinWidth"));this.I("itemMinHeight")&&(t.bZa(this.B("itemMinHeight")),this.P("itemMinHeight"));this.I("itemMaxWidth")&&(t.aZa(this.B("itemMaxWidth")),this.P("itemMaxWidth"));this.I("itemMaxHeight")&&(t.$Ya(this.B("itemMaxHeight")),this.P("itemMaxHeight"))}this.I("childrenInteractionEnabled")&&(this.P("childrenInteractionEnabled"),this.Rsa());this.lc(["cursor"],{cursor:"inheritedCursor"},this.Ld,!0,!1);m.prototype.Va.call(this);r==d.Cw&&t.LYa(this.ym)};q.prototype.lc=
function(n,r,t,u,v){for(var w=0;w<n.length;w++){var x=n[w];if(!u||this.I(x)){for(var y=0;y<t.length;y++)t[y].set(r[x]?r[x]:x,this.B(x));v&&this.P(x)}}};q.prototype.Gu=function(){if(this.Sn){var n=this.Sn.measure();this.ql=n.width;this.pl=n.height;this.AL=n.minWidth;this.zL=n.minHeight}else m.prototype.Gu.call(this)};q.prototype.am=function(){this.Sn&&this.Sn.update(this);m.prototype.am.call(this)};return q});
define("lW",["require","jquery.mod","lo","pd","gz"],function(a){function e(b,g){this.hF=b;this.wc="#000000";this.wb=.5;this.ia=10;this.sO=this.OK=5;this.yf=g;this.eS=this.c8=this.Za=0;this.Bha=this.Ib=this.CR=!1;this.va=!0;this.VE=document.createElement("div");this.VE.setAttribute("tdvlayer","scrollbar");this.YJ=h(this.VE);k.css(this.VE,{position:"absolute","z-index":m.xCa});this.JJ=document.createElement("div");this.u2=h(this.JJ);k.css(this.JJ,{position:"absolute",left:0,top:0});this.YJ.append(this.u2)}
var h=a("jquery.mod");a("lo");var m=a("pd"),k=a("gz");e.prototype.rd=function(){return this.YJ.width()};e.prototype.ee=function(){return this.YJ.height()};e.prototype.setPosition=function(b){this.Za!=b&&(this.Za=b,this.yqa(),this.va=!0)};e.prototype.Qk=function(){return this.Za};e.prototype.setSize=function(b,g){this.c8=b;this.eS=g;this.yqa();this.va=!0};e.prototype.wf=function(b){this.Ib!=b&&(this.Ib=b,this.va=!0)};e.prototype.uza=function(b){this.CR!=b&&(this.CR=b,this.va=!0)};e.prototype.setColor=
function(b){this.wc!=b&&(this.wc=b,this.va=!0)};e.prototype.fj=function(b){this.wb!=b&&(this.wb=b,this.va=!0)};e.prototype.mQ=function(b){this.ia!=b&&(this.ia=b,this.va=!0)};e.prototype.Fza=function(b){this.OK!=b&&(this.OK=b,this.va=!0)};e.prototype.Wza=function(b){this.sO!=b&&(this.sO=b,this.va=!0)};e.prototype.Vg=function(){this.va&&(this.Bha!=this.Ib&&(this.Ib?this.yf.append(this.YJ):this.YJ.detach(),this.Bha=this.Ib),this.ea(),this.va=!1)};e.prototype.ea=function(){var b=Math.round(100*this.c8/
this.eS),g=Math.round(100*this.Za/this.eS);k.css(this.VE,{filter:"alpha(opacity="+Math.round(100*this.wb)+")",opacity:this.wb,display:this.Ib?"block":"none"});k.css(this.JJ,{backgroundColor:this.wc,"border-radius":Math.floor(this.ia/2)+"px"});this.hF==e.Dg?(k.css(this.VE,{left:this.OK+"px",right:(this.CR?this.ia:0)+this.OK+"px",height:this.ia+"px",bottom:this.sO+"px"}),k.css(this.JJ,{left:g+"%",width:b+"%",height:this.ia+"px"})):(k.css(this.VE,{top:this.sO+"px",right:this.OK+"px",width:this.ia+"px",
bottom:(this.CR?this.ia:0)+this.sO+"px"}),k.css(this.JJ,{top:g+"%",width:this.ia+"px",height:b+"%"}))};e.prototype.yqa=function(){var b=this.eS-this.c8;0>this.Za?this.Za=0:this.Za>b&&(this.Za=b)};e.Dg="horizontal";e.uh="vertical";return e});define("jN",["require","lo","lW"],function(a){var e=a("lo"),h=a("lW");return e.extend(h,function(m){h.call(this,h.Dg,m)})});define("er",["require","lo","lW"],function(a){var e=a("lo"),h=a("lW");return e.extend(h,function(m){h.call(this,h.uh,m)})});
define("hd","require exports oH cy gi mj".split(" "),function(a,e,h,m,k,b){return new (function(g){function d(){var c=g.call(this)||this;c.visible=!0;c.Cb=!1;c.C_=!1;c.visible=!0;c.Cb=!1;c.C_=!1;c.Tya=b.getQueryParameter("redirect-when-hidden")||"";c.QXa=b.Wh("reload-when-hidden",!1);document.addEventListener("visibilitychange",c.onChange.bind(c),!1);c.onChange();return c}Z(d,g);d.prototype.b_=function(c){if(this.Cb=c)this.C_=!1;this.onChange()};d.prototype.nea=function(c){this.C_=c;this.onChange()};
d.prototype.onChange=function(){var c=this.Cb?!this.C_:!document.hidden;this.visible!=c&&((this.visible=c)&&this.vXa(),this.trigger(new m(h.pa)))};d.prototype.vXa=function(){this.Tya?window.location.href=this.Tya:this.QXa&&window.location.reload()};return d}(k))});
define("mv",["require","exports","mj"],function(a,e,h){a={};a.dJ=h.Wh("debug",!1);a.NBa=h.cj("hqhls");a.Rea=h.Wh("audiocontext",!0);a.F0a=h.Wh("testhash",!1);a.EBa=h.Wh("exitvronblur",!1);a.oBa=h.Wh("download",!0);a.LCa=h.Wh("updatewhilehidden",!1);return a});
define("bg",["require","exports","lo","hd","mv"],function(a,e,h,m,k){var b=window.requestAnimationFrame.bind(window),g=window.cancelAnimationFrame.bind(window),d=function(){function f(){}f.requestFrame=function(l,p,q){for(var n=0;n<f.Iq.length;n++)if(f.Iq[n].is(l,p))return;n=f.iZ;void 0!==q&&(n+=q);f.Iq.push(new c(l,p,n));f.paused||void 0!==f.Ts||(f.Ts=f.RP(f.tY))};f.RTa=function(l){for(var p=0;p<f.Iq.length;p++)if(f.Iq[p].is(l,void 0)){f.Iq.splice(p,1);break}};f.Zda=function(l){f.paused!=l&&(f.paused=
l,f.paused?void 0!==f.Ts&&(f.wba(f.Ts),f.Ts=void 0):0<f.Iq.length&&(f.Ts=f.RP(f.tY)))};f.g_=function(l,p){f.RP!=l&&(void 0!==f.Ts&&(f.wba(f.Ts),f.Ts=l(f.tY)),f.RP=l,f.wba=p)};f.wda=function(){f.g_(b,g)};f.tY=function(l){f.cva(l);f.Ts=0<f.Iq.length?f.RP(f.tY):void 0};f.cva=function(l){l<f.De&&(f.startTime=l-f.iZ*f.G0,f.De=l);var p=0;void 0===f.startTime?f.startTime=l:p=Math.round((l-f.startTime)/f.G0);var q=(p-f.iZ)*f.G0,n=f.Iq;f.Iq=[];f.uca=!0;f.iZ=p;q=1<q?100>q?q:100:1;f.De=l;for(l=0;l<n.length;l++){var r=
n[l];p<r.vxa?f.Iq.push(r):r.call(q)}f.uca=!1};f.De=(new Date).getTime();f.uca=!1;f.RP=b;f.wba=g;f.Iq=[];f.Ts=void 0;f.paused=!1;f.G0=1E3/60;f.iZ=0;f.startTime=void 0;return f}();k.LCa&&setInterval(function(){m.visible||d.cva(d.De+100)},100);var c=function(){function f(l,p,q){this.vxa=0;this.Ao=l;this.context=p;this.vxa=q}f.prototype.is=function(l,p){return this.Ao==l&&this.context==p};f.prototype.call=function(l){try{this.Ao.call(this.context,l)}catch(p){h.yP("Error in animation frame",p)}};return f}();
return d});define("bF",["require"],function(){return function(a,e,h,m){this.name=a;this.from=e;this.Gz=h;this.QWa=m}});
define("oj",["require","bF"],function(a){function e(d){var c={Pba:function(f,l,p,q){p=0>=p?0:p>=q?1:p/q;.5>p?p=Math.pow(2*p,d):(p=1-Math.pow(1-(2*p-1),d),p+=1);return f+.5*(l-f)*p}};c.Oca=k(d);return c}function h(d){var c={Pba:function(f,l,p,q){return f+(l-f)*(1-Math.pow(1-(0>=p?0:p>=q?1:p/q),d))}};c.Oca=k(d);return c}function m(d){var c={Pba:function(f,l,p,q){return f+(l-f)*Math.pow(0>=p?0:p>=q?1:p/q,d)}};c.Oca=k(d);return c}function k(d){return function(c,f,l){c=Math.abs(f-c);return 1>c/l?0:1/(1-
Math.pow((c-l)/c,1/d))}}function b(d,c,f){this.bk=null;switch(d){case "quad_in":this.bk=m(2);break;case "quad_out":this.bk=h(2);break;case "quad_in_out":this.bk=e(2);break;case "cubic_in":this.bk=m(3);break;case "cubic_out":this.bk=h(3);break;case "cubic_in_out":this.bk=e(3);break;case "quart_in":this.bk=m(4);break;case "quart_out":this.bk=h(4);break;case "quart_in_out":this.bk=e(4);break;case "quint_in":this.bk=m(5);break;case "quint_out":this.bk=h(5);break;case "quint_in_out":this.bk=e(5);break;
default:this.bk=m(1)}this.du=c.slice();this.Ed=0;this.qb=this.Ex(c,f);this.R3={};for(d=0;d<this.du.length;d++)this.R3[this.du[d].name]=c[d].from}var g=a("bF");b.prototype.Wba=function(d){for(var c=0;c<this.du.length;c++)if(this.du[c].name==d)return this.du[c];return null};b.prototype.cb=function(d){return this.R3[d]};b.prototype.Re=function(){return this.Ed>=this.qb};b.prototype.bj=function(){return this.qb};b.prototype.Qk=function(){return this.Ed/this.qb};b.prototype.getTime=function(){return this.Ed};
b.prototype.setTime=function(d){this.Ed=Math.min(Math.max(0,d),this.qb);for(d=0;d<this.du.length;d++){var c=this.du[d];this.R3[c.name]=this.bk.Pba(c.from,c.Gz,this.Ed,this.qb)}};b.prototype.zb=function(d){this.setTime(this.Ed+d)};b.prototype.Ex=function(d,c,f){for(var l=[],p=0;p<this.du.length;p++){var q=this.du[p],n=f?f:q.QWa;void 0!==n&&0<n&&l.push(this.bk.Oca(q.from,q.Gz,n/1E3))}if(0<l.length){d=l[0];for(p=1;p<l.length;p++)d=Math.max(d,l[p]);return 0<c?Math.max(c,d):d}return void 0!==c?Math.max(c,
.001):this.Ex(d,c,1E3)};b.bj=function(){return(new b(void 0,[new g("",void 0,void 0,void 0)])).bj()};return b});
define("oc","require eg lo oH cy mQ hH fB m jN er bg oj bF".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("mQ"),g=a("hH"),d=a("fB"),c=a("m"),f=a("jN"),l=a("er"),p=a("bg"),q=a("oj"),n=a("bF"),r=h.extend(c,function(){c.call(this);this.Be("Container");this.jd=this.Nd=this.Xf=this.vg=this.Tb=this.Gb=this.Wia=this.Via=0;this.k6=this.r6=this.sl=this.rl=!1;this.Qia=0;this.d3=this.c3=void 0;this.f3=this.e3=0;this.Hy=null;this.Z7=g.nfa;this.Kx=!1;this.eT=null;this.ss=!1;this.AX=null});
r.vc={overflow:g.wE,scrollBarColor:"#000000",scrollBarWidth:10,scrollBarMargin:5,scrollBarHorizontalMargin:void 0,scrollBarVerticalMargin:void 0,scrollBarOpacity:.5,scrollBarVisible:d.Wc};e.defaults(r.vc,c.vc);r.prototype.Ln=function(){this.eT=new f(this.l5());this.eT.u2.bind("mousedown touchstart",e.bind(this.hKa,this));this.Ln=function(){return this.eT};return this.eT};r.prototype.Mn=function(){this.AX=new l(this.l5());this.AX.u2.bind("mousedown touchstart",e.bind(this.aTa,this));this.Mn=function(){return this.AX};
return this.AX};r.prototype.scrollIntoView=function(t){var u=t.Ha,v=t.Ka;this.scrollTo(Math.min(u,Math.max(u+t.Xa()-this.vg,this.Nd)),Math.min(v,Math.max(v+t.xb()-this.Xf,this.jd)))};r.prototype.scrollTo=function(t,u){var v=this.Nd;t>this.Nd?this.PR()&&(v=Math.min(t,this.Gb-this.vg)):t<this.Nd&&this.OR()&&(v=Math.max(t,0));t=this.jd;u>this.jd?this.NR()&&(t=Math.min(u,this.Tb-this.Xf)):u<this.jd&&this.QR()&&(t=Math.max(u,0));this.HN(v,t)};r.prototype.kza=function(){if(this.NR()){for(var t=Math.max(0,
this.Tb-this.Xf),u=Math.min(t,this.jd+.5*this.Xf),v=t=Math.min(t,this.jd+this.Xf),w=this.Kb().slice(),x=w.shift();w.length;x=w.shift())if(x.get("visible")){var y=x.Ka;y+x.xb()>this.jd+this.Xf&&y>=u&&y<t&&y<v&&(v=y)}this.HN(this.Nd,v)}};r.prototype.NR=function(){return this.oia()&&this.jd+this.Xf<this.Tb};r.prototype.mza=function(){if(this.QR()){for(var t=Math.max(0,this.jd-this.Xf),u=Math.max(0,this.jd-.5*this.Xf),v=t,w=this.Kb().slice(),x=w.shift();w.length;x=w.shift())if(x.get("visible")){var y=
x.Ka;x=y+x.xb();y<this.jd&&x>=t+this.Xf&&x<u+this.Xf&&x>v+this.Xf&&(v=x-this.Xf)}this.HN(this.Nd,v)}};r.prototype.QR=function(){return this.oia()&&0<this.jd};r.prototype.lza=function(){if(this.PR()){for(var t=Math.max(0,this.Gb-this.vg),u=Math.min(t,this.Nd+.5*this.vg),v=t=Math.min(t,this.Nd+this.vg),w=this.Kb().slice(),x=w.shift();w.length;x=w.shift())if(x.get("visible")){var y=x.Ha;y+x.Xa()>this.Nd+this.vg&&y>=u&&y<t&&y<v&&(v=y)}this.HN(v,this.jd)}};r.prototype.PR=function(){return this.nia()&&
this.Nd+this.vg<this.Gb};r.prototype.scrollLeft=function(){if(this.OR()){for(var t=Math.max(0,this.Nd-this.vg),u=Math.max(0,this.Nd-.5*this.vg),v=t,w=this.Kb().slice(),x=w.shift();w.length;x=w.shift())if(x.get("visible")){var y=x.Ha;x=y+x.Xa();y<this.Nd&&x>=t+this.vg&&x<u+this.vg&&x>v+this.vg&&(v=x-this.vg)}this.HN(v,this.jd)}};r.prototype.OR=function(){return this.nia()&&0<this.Nd};r.prototype.HN=function(t,u){this.rl=this.Nd!=t;this.sl=this.jd!=u;this.ps();this.Hy=new q("cubic_in_out",[new n("hScrollPosition",
this.Nd,t),new n("vScrollPosition",this.jd,u)],500);p.requestFrame(this.Y1,this)};r.prototype.oia=function(){return this.ss&&this.Xf<this.Tb};r.prototype.nia=function(){return this.Kx&&this.vg<this.Gb};r.prototype.nb=function(){this.Kn(r.vc)};r.prototype.XFa=function(){this.r6=!0;this.ps()};r.prototype.WFa=function(){this.r6=!1;this.ps()};r.prototype.hKa=function(){this.rl=!0};r.prototype.aTa=function(){this.sl=!0};r.prototype.TFa=function(t){this.rl||this.sl?(this.Jb().bind(m.jc,this.Oia,this),this.Jb().bind(m.Zb,
this.Pia,this),this.kx=t.pageX,this.lx=t.pageY,this.ps()):this.Ria(t)};r.prototype.Oia=function(t){if(this.rl){var u=(t.pageX-this.kx)*this.Gb/this.Ln().rd();this.Nd+=u}else this.sl&&(u=(t.pageY-this.lx)*this.Tb/this.Mn().ee(),this.jd+=u);this.kx=t.pageX;this.lx=t.pageY;this.Bv()};r.prototype.Pia=function(){this.Jb().unbind(m.jc,this.Oia,this);this.Jb().unbind(m.Zb,this.Pia,this);this.sl=this.rl=!1;this.ps()};r.prototype.qia=function(t){return this.ss&&(0<t&&0<this.jd||0>t&&this.jd<this.Tb-this.Xf)?
!0:!1};r.prototype.VFa=function(t){this.ss&&(this.jd-=t.delta*this.Xf*.1,this.Bv())};r.prototype.Ria=function(t){if(this.Kx||this.ss)this.Jb().bind(m.jc,this.Sia,this),this.Jb().bind(m.Zb,this.Tia,this),this.k6=!0,this.kx=t.pageX,this.lx=t.pageY,this.ps(),this.BKa()};r.prototype.Sia=function(t){var u=t.pageX-this.kx,v=t.pageY-this.lx;!this.rl&&!this.sl&&25<u*u+v*v&&(this.rl=this.Kx,this.sl=this.ss,this.ps());if(this.rl||this.sl)this.Nd-=u,this.jd-=v,this.kx=t.pageX,this.lx=t.pageY,this.Bv(),this.YRa()};
r.prototype.Tia=function(){this.Jb().unbind(m.jc,this.Sia,this);this.Jb().unbind(m.Zb,this.Tia,this);this.k6=!1;this.ps();var t=Math.max(Math.abs(this.e3/.001),Math.abs(this.f3/.001));this.Hy=new q("linear",[new n("hScrollPosition",this.Nd,this.Nd-.5*this.e3*t),new n("vScrollPosition",this.jd,this.jd-.5*this.f3*t)],t);p.requestFrame(this.Y1,this)};r.prototype.BKa=function(){this.c3=this.kx;this.d3=this.lx};r.prototype.YRa=function(){var t=(new Date).getTime(),u=t-this.Qia;10<u&&(this.Qia=t,this.e3=
(this.kx-this.c3)/u,this.f3=(this.lx-this.d3)/u,this.c3=this.kx,this.d3=this.lx)};r.prototype.Y1=function(t){this.Hy&&!this.Hy.Re()&&(this.rl||this.sl)?(this.Hy.zb(t),this.rl&&(this.Nd=this.Hy.cb("hScrollPosition"),0>this.Nd||this.Nd>this.Gb-this.vg)&&(this.rl=!1),this.sl&&(this.jd=this.Hy.cb("vScrollPosition"),0>this.jd||this.jd>this.Tb-this.Xf)&&(this.sl=!1),this.Bv(),p.requestFrame(this.Y1,this)):(this.sl=this.rl=!1,this.Hy=null,this.ps())};r.prototype.Bv=function(t){if(t){if(!this.Kx)switch(this.B("horizontalAlign")){case b.hb:this.Nd=
this.Gb-this.vg;break;case b.Ge:this.Nd=(this.Gb-this.vg)/2;break;default:this.Nd=0}if(!this.ss)switch(this.B("verticalAlign")){case b.pc:this.jd=this.Tb-this.Xf;break;case b.he:this.jd=(this.Tb-this.Xf)/2;break;default:this.jd=0}}this.Nd=Math.max(0,Math.min(this.Gb-this.vg,this.Nd));this.jd=Math.max(0,Math.min(this.Tb-this.Xf,this.jd));this.Ln().setPosition(this.Nd);this.Mn().setPosition(this.jd);this.Bb().RYa(this.Nd);this.Bb().e_a(this.jd);this.Rk();if(this.Gpa!=this.Nd||this.Hpa!=this.jd)void 0!==
this.Gpa&&void 0!==this.Hpa&&this.trigger(new k(m.cp)),this.Gpa=this.Nd,this.Hpa=this.jd};r.prototype.ps=function(){var t=this.get("scrollBarVisible")==d.ALWAYS?!0:this.Qn?this.rl||this.sl||this.k6:this.rl||this.sl||this.r6;this.Ln().wf(this.Kx&&t);this.Mn().wf(this.ss&&t);this.Rk()};r.prototype.Ab=function(){c.prototype.Ab.call(this);this.UFa||(this.UFa=!0,this.Qn?this.bind(m.ub,this.Ria,this):(this.bind(m.ub,this.TFa,this),this.bind(m.Wc,this.XFa,this),this.bind(m.ac,this.WFa,this),this.bind(m.$q,
this.VFa,this)))};r.prototype.Va=function(){this.I("overflow")&&(this.Z7=this.B("overflow"),this.P("overflow"),this.Hd());this.I("scrollBarColor")&&(this.Ln().setColor(this.B("scrollBarColor")),this.Mn().setColor(this.B("scrollBarColor")),this.P("scrollBarColor"));this.I("scrollBarWidth")&&(this.Ln().mQ(this.B("scrollBarWidth")),this.Mn().mQ(this.B("scrollBarWidth")),this.P("scrollBarWidth"));if(this.I("scrollBarMargin")||this.I("scrollBarVerticalMargin")||this.I("scrollBarHorizontalMargin")){var t=
this.B("scrollBarHorizontalMargin","scrollBarMargin"),u=this.B("scrollBarVerticalMargin","scrollBarMargin");this.Ln().Fza(t);this.Ln().Wza(u);this.Mn().Fza(t);this.Mn().Wza(u);this.P("scrollBarMargin");this.P("scrollBarVerticalMargin");this.P("scrollBarHorizontalMargin")}this.I("scrollBarOpacity")&&(this.Ln().fj(this.B("scrollBarOpacity")),this.Mn().fj(this.B("scrollBarOpacity")),this.P("scrollBarOpacity"));c.prototype.Va.call(this)};r.prototype.am=function(){c.prototype.am.call(this);this.aSa();
this.wSa();this.uSa();this.ps();this.Rk()};r.prototype.aSa=function(){for(var t=0,u=0,v=0,w=0,x=this.Kb(),y=0;y<x.length;y++){var A=x[y];A.get("visible")&&(w=Math.min(w,A.Ha),v=Math.min(v,A.Ka),t=Math.max(t,A.Ha+A.Xa()),u=Math.max(u,A.Ka+A.xb()))}this.Via=w;this.Wia=v;this.Gb=t;this.Tb=u};r.prototype.wSa=function(){this.vg=Math.min(this.rf(),this.Gb);this.Xf=Math.min(this.qf(),this.Tb)};r.prototype.uSa=function(){var t=this.Ld.some(function(w){return w.XVa()}),u=0>this.Via||0>this.Wia||this.Gb>this.vg||
this.Tb>this.Xf;if(this.Z7==g.cp){this.Kx=this.vg<this.Gb;var v=(this.ss=this.Xf<this.Tb)&&this.Kx;this.Ln().setSize(this.vg,this.Gb);this.Ln().uza(v);this.Mn().setSize(this.Xf,this.Tb);this.Mn().uza(v);this.Bb().JI(!u&&!t)}else this.ss=this.Kx=!1,this.Z7==g.wE?this.Bb().JI(!0):this.Bb().JI(!u&&!t);this.Bv(!0)};r.prototype.Vg=function(){this.Mn().Vg();this.Ln().Vg();c.prototype.Vg.call(this)};return r});define("W",["require"],function(){return{uh:"vertical",Dg:"horizontal"}});
define("hs",["require"],function(){return{Jv:function(a){return a?a.split(",").map(function(e){return e.trim()}).filter(function(e){return""!=e}).map(function(e){"'"!=e[0]&&'"'!=e[0]&&(e="'"+e+"'");return e}).join(", "):""}}});
define("iQ","require jquery.mod eg lo mQ W e gz hs".split(" "),function(a){function e(l){var p=l.Ym.width(),q=l.Ym.height();"italic"==l.get("fontStyle")&&(p+=1*q/5);return Math.round(p)}var h=a("jquery.mod"),m=a("eg"),k=a("lo"),b=a("mQ"),g=a("W"),d=a("e");a("gz");var c=a("hs");a=k.extend(d,function(){d.call(this);this.Be("Label");this.Ym=this.CN=null});a.vc={};a.prototype.nb=function(){d.prototype.nb.call(this);this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");
this.h("horizontalAlign",b.Pa);this.h("verticalAlign",b.he);this.h("direction",g.Dg);this.h("text","");this.h("textDecoration");this.h("textShadowBlurRadius",3);this.h("textShadowColor","#000000");this.h("textShadowHorizontalLength",0);this.h("textShadowOpacity",0);this.h("textShadowVerticalLength",0)};a.prototype.Ab=function(){d.prototype.Ab.call(this);if(!this.Ym){this.CN=document.createElement("span");this.Ym=h(this.CN);this.b$({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var l=this.Bb();l.JI(!1);l.append(this.Ym)}};a.prototype.Gu=function(){d.prototype.Gu.call(this);var l=this.Bb();this.ql=e(this)+l.gI()+l.jI();this.pl=this.Ym.height()+l.lI()+l.cI();f(this)};a.prototype.Va=function(){var l={};if(this.I("direction")||this.I("text")){switch(this.B("direction")){case g.uh:l["line-height"]="100%";this.Ym.html(this.Ym.text(this.B("text")).text().split("").join("<br/>"));break;default:l["line-height"]="normal",this.Ym.text(this.B("text")),
this.Ym.html(this.Ym.html().split(" ").join("&nbsp;"))}this.P("direction");this.P("text");setTimeout(function(){this.Vb();this.Hd()}.bind(this),0)}if(this.I("fontFamily")){var p=this.B("fontFamily");m(p).isString()||(p="");l.fontFamily=c.Jv(p);this.P("fontFamily");this.Vb();this.Hd()}this.I("fontSize")&&(p=this.B("fontSize"),m(p).isNumber()?p+="px":m(p).isString()||(p=""),l.fontSize=p,this.P("fontSize"),this.Vb(),this.Hd());this.I("fontColor")&&(p=this.B("fontColor"),m(p).isString()||(p=""),l.color=
p,this.P("fontColor"));if(this.I("fontWeight")){p=this.B("fontWeight");switch(p){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;default:p="normal"}l.fontWeight=p;this.P("fontWeight");this.Vb();this.Hd()}if(this.I("fontStyle")){p=this.B("fontStyle");switch(p){case "italic":case "normal":break;default:p="normal"}l.fontStyle=p;this.P("fontStyle");this.Vb();this.Hd()}if(this.I("textDecoration")){p=
this.B("textDecoration");switch(p){case "underline":case "overline":case "line-through":case "none":break;default:p="none"}l.textDecoration=p;this.P("textDecoration");this.Vb();this.Hd()}this.I("horizontalAlign")&&(this.Hd(),this.P("horizontalAlign"));this.I("verticalAlign")&&(this.Hd(),this.P("verticalAlign"));p=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(m(p).any(function(n){return this.I(n)},this)){var q={};m(p).each(function(n){q[n]=
this.B(n);this.P(n)},this);l["-moz-text-shadow"]=l["-webkit-text-shadow"]=l["text-shadow"]=[q.textShadowHorizontalLength+"px",q.textShadowVerticalLength+"px",q.textShadowBlurRadius+"px","rgba("+parseInt("0x"+q.textShadowColor.substr(1,2))+", "+parseInt("0x"+q.textShadowColor.substr(3,2))+", "+parseInt("0x"+q.textShadowColor.substr(5,2))+", "+q.textShadowOpacity+")"].join(" ");p=0==q.textShadowVerticalLength&&0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(q.textShadowHorizontalLength,
-q.textShadowVerticalLength)/Math.PI);l.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*q.textShadowOpacity).toString(16)).slice(-2)+q.textShadowColor.substr(1,6)+",direction="+p+")";this.Bb().JI((0<q.textShadowHorizontalLength||0<q.textShadowVerticalLength||0<q.textShadowBlurRadius)&&0<q.textShadowOpacity)}this.b$(l);d.prototype.Va.call(this)};a.prototype.am=function(){var l={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.B("horizontalAlign")){case b.Pa:l.left=
"0";break;case b.hb:this.Vg();l.left=this.rf()-e(this)+"px";break;case b.Ge:this.Vg(),l.left=Math.max(0,Math.round(.5*(this.rf()-e(this))))+"px"}switch(this.B("verticalAlign")){case b.uc:l.top="0";break;case b.pc:this.Vg();l.top=this.qf()-this.CN.clientHeight+"px";break;case b.he:this.Vg(),l.top=Math.max(0,Math.round(.5*(this.qf()-this.CN.clientHeight)))+"px"}this.b$(l)};a.prototype.b$=function(l){var p=this.CN.style,q;for(q in l)p[q]=l[q]};var f=function(){function l(){r||p()&&(r=setTimeout(function(){r=
null;var t=(new Date).getTime()-5E3,u;for(u in n){var v=n[u];v.timestamp<t&&delete n[u];var w=v.label;if(v.width!=e(w)||v.height!=w.Ym.height())w.Vb(),w.Hd()}l()},500))}function p(){for(var t in n)return!0;return!1}var q=1,n={},r=null;return function(t){t.Pma||(t.Pma=q++);n[t.Pma]={label:t,timestamp:(new Date).getTime(),width:e(t),height:t.Ym.height()};l()}}();return a});
define("lN","require lo eg cN bc oH cy hn ed hH gJ oc iQ".split(" "),function(a){var e=a("lo"),h=a("eg"),m=a("cN"),k=a("bc"),b=a("oH"),g=a("cy"),d=a("hn"),c=a("ed"),f=a("hH"),l=a("gJ"),p=a("oc"),q=a("iQ"),n=e.extend(p,function(){this.Be("Button");p.call(this);this.fi=this.Ta=null;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",m.kA);this.set("overflow",f.nfa);this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("cursor",k.df)});n.prototype.nb=
function(){p.prototype.nb.call(this);this.h("label");this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowBlurRadius");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowOpacity");this.h("textShadowVerticalLength");this.h("layout","horizontal");this.h("iconWidth");this.h("iconHeight");this.h("iconBeforeLabel");this.h("gap",5);this.h("mode",c.Ie);this.h("buttonGroup");this.h("paddingLeft",
5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",5);this.h("pressed");this.u("rollOverOpacity",l.U,"opacity");this.u("rollOverIconWidth",l.U,"iconWidth");this.u("rollOverIconHeight",l.U,"iconHeight");this.u("rollOverFontSize",l.U,"fontSize");this.u("rollOverFontColor",l.U,"fontColor");this.u("rollOverFontWeight",l.U,"fontWeight");this.u("rollOverFontStyle",l.U,"fontStyle");this.u("rollOverTextDecoration",l.U,"textDecoration");this.u("rollOverTextShadowBlurRadius",l.U,"textShadowBlurRadius");
this.u("rollOverTextShadowColor",l.U,"textShadowColor");this.u("rollOverTextShadowHorizontalLength",l.U,"textShadowHorizontalLength");this.u("rollOverTextShadowOpacity",l.U,"textShadowOpacity");this.u("rollOverTextShadowVerticalLength",l.U,"textShadowVerticalLength");this.u("rollOverBorderSize",l.U,"borderSize");this.u("rollOverBorderLeftSize",l.U,"borderLeftSize");this.u("rollOverBorderTopSize",l.U,"borderTopSize");this.u("rollOverBorderRightSize",l.U,"borderRightSize");this.u("rollOverBorderBottomSize",
l.U,"borderBottomSize");this.u("rollOverBorderColor",l.U,"borderColor");this.u("rollOverBorderLeftColor",l.U,"borderLeftColor");this.u("rollOverBorderTopColor",l.U,"borderTopColor");this.u("rollOverBorderRightColor",l.U,"borderRightColor");this.u("rollOverBorderBottomColor",l.U,"borderBottomColor");this.u("rollOverShadow",l.U,"shadow");this.u("rollOverShadowHorizontalLength",l.U,"shadowHorizontalLength");this.u("rollOverShadowVerticalLength",l.U,"shadowVerticalLength");this.u("rollOverShadowBlurRadius",
l.U,"shadowBlurRadius");this.u("rollOverShadowSpread",l.U,"shadowSpread");this.u("rollOverShadowOpacity",l.U,"shadowOpacity");this.u("rollOverShadowColor",l.U,"shadowColor");this.u("rollOverBackgroundOpacity",l.U,"backgroundOpacity");this.u("rollOverBackgroundColor",l.U,"backgroundColor");this.u("rollOverBackgroundColorRatios",l.U,"backgroundColorRatios");this.u("rollOverBackgroundColorDirection",l.U,"backgroundColorDirection");this.u("pressedLabel",l.ob,"label");this.u("pressedOpacity",l.ob,"opacity");
this.u("pressedIconWidth",l.ob,"iconWidth");this.u("pressedIconHeight",l.ob,"iconHeight");this.u("pressedFontSize",l.ob,"fontSize");this.u("pressedFontColor",l.ob,"fontColor");this.u("pressedFontWeight",l.ob,"fontWeight");this.u("pressedFontStyle",l.ob,"fontStyle");this.u("pressedTextDecoration",l.ob,"textDecoration");this.u("pressedTextShadowBlurRadius",l.ob,"textShadowBlurRadius");this.u("pressedTextShadowColor",l.ob,"textShadowColor");this.u("pressedTextShadowHorizontalLength",l.ob,"textShadowHorizontalLength");
this.u("pressedTextShadowOpacity",l.ob,"textShadowOpacity");this.u("pressedTextShadowVerticalLength",l.ob,"textShadowVerticalLength");this.u("pressedBorderSize",l.ob,"borderSize");this.u("pressedBorderLeftSize",l.ob,"borderLeftSize");this.u("pressedBorderTopSize",l.ob,"borderTopSize");this.u("pressedBorderRightSize",l.ob,"borderRightSize");this.u("pressedBorderBottomSize",l.ob,"borderBottomSize");this.u("pressedBorderColor",l.ob,"borderColor");this.u("pressedBorderLeftColor",l.ob,"borderLeftColor");
this.u("pressedBorderTopColor",l.ob,"borderTopColor");this.u("pressedBorderRightColor",l.ob,"borderRightColor");this.u("pressedBorderBottomColor",l.ob,"borderBottomColor");this.u("pressedShadow",l.ob,"shadow");this.u("pressedShadowHorizontalLength",l.ob,"shadowHorizontalLength");this.u("pressedShadowVerticalLength",l.ob,"shadowVerticalLength");this.u("pressedShadowBlurRadius",l.ob,"shadowBlurRadius");this.u("pressedShadowSpread",l.ob,"shadowSpread");this.u("pressedShadowOpacity",l.ob,"shadowOpacity");
this.u("pressedShadowColor",l.ob,"shadowColor");this.u("pressedBackgroundOpacity",l.ob,"backgroundOpacity");this.u("pressedBackgroundColor",l.ob,"backgroundColor");this.u("pressedBackgroundColorRatios",l.ob,"backgroundColorRatios");this.u("pressedBackgroundColorDirection",l.ob,"backgroundColorDirection");this.u("pressedLabel",l.$b,"label");this.u("pressedRollOverOpacity",l.$b,"opacity");this.u("pressedRollOverIconWidth",l.$b,"iconWidth");this.u("pressedRollOverIconHeight",l.$b,"iconHeight");this.u("pressedRollOverFontSize",
l.$b,"fontSize");this.u("pressedRollOverFontColor",l.$b,"fontColor");this.u("pressedRollOverFontWeight",l.$b,"fontWeight");this.u("pressedRollOverFontStyle",l.$b,"fontStyle");this.u("pressedRollOverTextDecoration",l.$b,"textDecoration");this.u("pressedRollOverTextShadowBlurRadius",l.$b,"textShadowBlurRadius");this.u("pressedRollOverTextShadowColor",l.$b,"textShadowColor");this.u("pressedRollOverTextShadowHorizontalLength",l.$b,"textShadowHorizontalLength");this.u("pressedRollOverTextShadowOpacity",
l.$b,"textShadowOpacity");this.u("pressedRollOverTextShadowVerticalLength",l.$b,"textShadowVerticalLength");this.u("pressedRollOverBorderSize",l.$b,"borderSize");this.u("pressedRollOverBorderLeftSize",l.$b,"borderLeftSize");this.u("pressedRollOverBorderTopSize",l.$b,"borderTopSize");this.u("pressedRollOverBorderRightSize",l.$b,"borderRightSize");this.u("pressedRollOverBorderBottomSize",l.$b,"borderBottomSize");this.u("pressedRollOverBorderColor",l.$b,"borderColor");this.u("pressedRollOverBorderLeftColor",
l.$b,"borderLeftColor");this.u("pressedRollOverBorderTopColor",l.$b,"borderTopColor");this.u("pressedRollOverBorderRightColor",l.$b,"borderRightColor");this.u("pressedRollOverBorderBottomColor",l.$b,"borderBottomColor");this.u("pressedRollOverShadow",l.$b,"shadow");this.u("pressedRollOverShadowHorizontalLength",l.$b,"shadowHorizontalLength");this.u("pressedRollOverShadowVerticalLength",l.$b,"shadowVerticalLength");this.u("pressedRollOverShadowBlurRadius",l.$b,"shadowBlurRadius");this.u("pressedRollOverShadowSpread",
l.$b,"shadowSpread");this.u("pressedRollOverShadowOpacity",l.$b,"shadowOpacity");this.u("pressedRollOverShadowColor",l.$b,"shadowColor");this.u("pressedRollOverBackgroundOpacity",l.$b,"backgroundOpacity");this.u("pressedRollOverBackgroundColor",l.$b,"backgroundColor");this.u("pressedRollOverBackgroundColorRatios",l.$b,"backgroundColorRatios");this.u("pressedRollOverBackgroundColorDirection",l.$b,"backgroundColorDirection")};n.prototype.s3=function(){};n.prototype.Ab=function(){p.prototype.Ab.call(this);
this.fi||(this.fi=this.s3(),this.Wa(this.fi));this.Ta||(this.Ta=new q,this.Wa(this.Ta))};n.prototype.OJ=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new g(b.jm))):(this.set("pressed",!0),this.trigger(new g(b.Vj)))};n.prototype.Va=function(){var r=!1;this.I("mode")&&(this.B("mode")==c.Ie?(this.unbind(b.qa,this.OJ,this,!0),this.set("autoPressed",!0)):(this.bind(b.qa,this.OJ,this,!0),this.set("autoPressed",!1)),this.P("mode"),r=!0);if(r||this.I("pressed"))this.B("mode")==c.Xj?
this.XG(1==this.B("pressed")):r&&this.XG(!1);this.I("label")&&(r=this.B("label"),this.Ta.set("text",r),this.Ta.set("visible",r?!0:!1),this.P("label"));this.lc(n.Vga,n.Wga,[this.Ta],!0,!0);this.I("iconBeforeLabel")&&(0==this.B("iconBeforeLabel")?this.pn(this.Ta,0):this.pn(this.fi,0),this.P("iconBeforeLabel"));this.I("iconWidth")&&(this.fi.set("width",this.B("iconWidth")),this.P("iconWidth"));this.I("iconHeight")&&(this.fi.set("height",this.B("iconHeight")),this.P("iconHeight"));this.I("buttonGroup")&&
((r=this.B("buttonGroup"))?d.register(this,r):d.unregister(this),this.P("buttonGroup"));this.lc(["horizontalAlign","verticalAlign"],{},[this.fi],!0,!1);p.prototype.Va.call(this)};n.Vga="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");n.Wga={};h(n.Vga).each(function(r){n.Wga[r]=r});return n});
define("jB",["require","nx","lN"],function(a){var e=a("nx"),h=a("lN");return e.define("BaseButton",h,function(){h.call(this)})});define("jl",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("BaseObject",e,function(){e.call(this)})});
define("es","require lo lP oH cy bg oj bF".split(" "),function(a){var e=a("lo"),h=a("lP");a("oH");var m=a("cy"),k=a("bg"),b=a("oj"),g=a("bF"),d={},c=e.extend(h,function(){h.call(this);this.qb=void 0;this.so=[];this.A="stopped";this.set("easing","linear");this.set("duration",1E3);this.set("loop",!1);this.set("animationDirection","normal")});c.prototype.play=function(f){f||(f=d);this.sI(f)||("stopped"==this.A||0>this.so.indexOf(f)?(this.A="playing",this.so.push(f),this.Le=0,this.qb=Math.max(this.get("duration",
1E3),1),this.gg=new b(this.get("easing","linear"),[new g("pos",0,1)],this.qb),this.gg.setTime(this.Le),this.aH(),this.nv(),this.QM()):this.A="playing")};c.prototype.reverse=function(f){f||(f=d);this.EWa(f)||("stopped"==this.A||0>this.so.indexOf(f)?(this.A="playingReverse",this.so.push(f),this.Le=this.qb=Math.max(this.get("duration",1E3),0),this.gg=new b(this.get("easing","linear"),[new g("pos",0,1)],this.qb),this.gg.setTime(this.Le),this.aH(),this.nv(),this.QM()):this.A="playingReverse")};c.prototype.stop=
function(){"stopped"!=this.A&&(this.A="stopped",0!==this.Le&&(this.Le=0,this.gg.setTime(this.Le),this.nv(),this.QM()))};c.prototype.end=function(){"stopped"!=this.A&&(this.Le=this.qb,this.gg.setTime(this.Le),this.nv(),this.QM())};c.prototype.cancel=function(){this.A="stopped";this.Le=0;this.so=[]};c.prototype.sI=function(f){return"playing"==this.A&&0<=this.so.indexOf(f)};c.prototype.EWa=function(f){return"playingReverse"==this.A&&0<=this.so.indexOf(f)};c.prototype.yj=function(f){"stopped"!=this.A&&
(this.Le="playing"==this.A?Math.min(this.qb,this.Le+f):Math.max(0,this.Le-f),this.gg.setTime(this.Le),this.nv(),this.QM())};c.prototype.Qk=function(){return this.gg&&this.gg.cb("pos")||0};c.prototype.Ax=function(f){if(this.so)for(var l=0;l<this.so.length;l++)f.call(this,this.so[l],l)};c.prototype.aH=function(){this.trigger(new m("playingReverse"==this.A?c.zBa:c.BBa))};c.prototype.nv=function(){this.trigger(new m(c.d0))};c.prototype.ZG=function(){this.trigger(new m(c.Qj))};c.prototype.$G=function(){this.trigger(new m(c.gt))};
c.prototype.QM=function(){"playingReverse"==this.A&&0>=this.Le?(this.Le=0,this.$G(),this.so=[],"stopped"!=this.A&&(this.A="stopped",this.get("loop")&&this.play())):"playing"==this.A&&this.Le>=this.qb?(this.Le=this.qb,this.ZG(),this.so=[],"stopped"!=this.A&&(this.A="stopped","alternate"==this.get("animationDirection")?this.reverse():this.get("loop")&&this.play())):"stopped"!=this.A&&k.requestFrame(this.yj,this)};c.BBa="start";c.d0="frame";c.Qj="end";c.zBa="reverseStart";c.gt="reverseEnd";return c});
define("gG",["require","oH","es"],function(a){var e=a("oH"),h=a("es");return{GHa:function(){this.ck=this.Je=null;this.bind(e.kd,this.Tja,this,!0);this.bind(e.sd,this.Oja,this,!0);this.bind(e.Wc,this.Qja,this,!0);this.bind(e.ac,this.Pja,this,!0);this.bind(e.G("effect"),this.Mja,this,!0);this.bind(e.G("rollOverEffect"),this.Rja,this,!0);this.gB=!1},V0a:function(){this.unbind(e.kd,this.Tja,this,!0);this.unbind(e.sd,this.Oja,this,!0);this.unbind(e.Wc,this.Qja,this,!0);this.unbind(e.ac,this.Pja,this,!0);
this.unbind(e.G("effect"),this.Mja,this,!0);this.unbind(e.G("rollOverEffect"),this.Rja,this,!0)},Tja:function(){this.Je&&this.Je.play()},Oja:function(){this.Je&&this.Je.stop();this.ck&&this.ck.stop();this.gB=!1},Qja:function(){this.gB||(this.gB=!0,this.ck&&(this.Je&&this.Je.get("loop")&&0<this.Je.Qk()?this.Je.reverse():this.Je&&0!=this.Je.Qk()&&1!=this.Je.Qk()||(this.Je&&this.Je.stop(),this.ck.play())))},Pja:function(){this.gB&&(this.gB=!1,this.ck&&(0<this.ck.Qk()?this.ck.reverse():this.Je&&this.Je.get("loop")&&
this.Je.play()))},Nja:function(){this.p4()},p4:function(){this.gB&&this.ck&&(this.Je.stop(),this.ck.play())},Sja:function(){this.gB||(this.ck.stop(),this.Je&&this.Je.get("loop")&&this.Je.play())},Mja:function(){this.Je&&this.Je.unbind(h.Qj,this.Nja,this,!0);this.Je&&this.Je.unbind(h.gt,this.p4,this,!0);(this.Je=this.get("effect"))&&this.Je.bind(h.Qj,this.Nja,this,!0);this.Je&&this.Je.bind(h.gt,this.p4,this,!0)},Rja:function(){this.ck&&this.ck.unbind(h.gt,this.Sja,this,!0);(this.ck=this.get("rollOverEffect"))&&
this.ck.bind(h.gt,this.Sja,this,!0)}}});
define("iy",["require","lo","lP","nx","gG"],function(a){var e=a("lo"),h=a("lP"),m=a("nx");a=a("gG");m=m.define("Model3DObject",h,function(){h.call(this);this.set("hidden",!1);this.GHa();this.Ph=this.bG=this.L5=this.K5=!1});e.XX(m,[a]);m.prototype.set=function(k,b){h.prototype.set.call(this,k,b);"hideBasedOnDistance"!=k&&"hideWhileUserInteracting"!=k&&"hideWhileMoving"!=k||this.gO()};m.prototype.Rda=function(k){this.L5!==k&&(this.L5=k,this.gO())};m.prototype.lQ=function(k){this.Ph!==k&&(this.Ph=k,
this.gO())};m.prototype.fw=function(k){this.bG!==k&&(this.bG=k,this.gO())};m.prototype.Qda=function(k){this.K5!==k&&(this.K5=k,this.gO())};m.prototype.gO=function(){this.set("hidden",this.L5||this.K5||this.bG&&this.get("hideWhileMoving")||this.Ph&&this.get("hideWhileUserInteracting"))};return m});define("ge",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("BoxModel3DObject",h,function(){h.call(this)})});
define("md",["require"],function(){return{NONE:"none",Aw:"fill",rh:"fit_inside",Wq:"fit_outside",Xo:"fit_to_width",Tj:"fit_to_height",hBa:"custom"}});
define("mw","require eg jquery.mod lo oH hT v mQ md e gz ku".split(" "),function(a){function e(r){this.I2=r;this.md=[];this.bl=null}var h=a("eg"),m=a("jquery.mod"),k=a("lo"),b=a("oH"),g=a("hT"),d=a("v"),c=a("mQ"),f=a("md"),l=a("e"),p=a("gz"),q=a("ku");e.Im=document.createElement("a");e.prototype.RFa=function(r){e.Im.href=r;return e.Im.href};e.prototype.load=function(r,t,u){r=this.RFa(r);this.bl&&!this.bl.dj()&&(this.bl.cancel(),this.md=h(this.md).without(this.bl));(this.bl=h(this.md).find(function(x){return x.wi()==
r}))?this.md=h(this.md).without(this.bl):(this.bl=new q(g.iga),this.bl.load(r));for(this.md.splice(0,0,this.bl);this.md.length>this.I2;)this.md.pop().cancel();if(t){var v=this.bl,w=function(){t.call(u||window,v.sf(),v.rd(),v.ee())};this.bl.dj()?w():this.bl.bind(b.Z,w)}};e.prototype.clear=function(){this.md.forEach(function(r){r.cancel()});this.bl=null};a=k.extend(l,function(r){l.call(this);this.Be("Image");this.I2=r||1;this.Gaa=!1;this.kl=c.Pa;this.gT=!1;this.Ol=c.uc;this.DX=!1;this.Df=f.NONE;this.s9=
!1;this.pG=this.qG=0;this.X5=this.W7=!1;this.Tb=this.Gb=0;this.Ut=!1;this.be=this.ll=this.Wb=this.pT=this.oT=null;this.bind(b.kc,this.yKa,this);this.bind(b.kd,this.zKa,this)});a.prototype.k5=function(){this.be=new e(this.I2);this.k5=function(){return this.be};return this.be};a.prototype.nb=function(){l.prototype.nb.call(this);this.h("horizontalAlign",c.Pa);this.h("verticalAlign",c.uc);this.h("scaleMode",f.NONE)};a.prototype.set=function(r,t){"url"==r&&this.get("url")!=t&&(this.Gaa=!0,this.le());l.prototype.set.call(this,
r,t)};a.prototype.HI=function(r){this.kl!=r&&(this.kl=r,this.gT=!0,this.le())};a.prototype.OI=function(r){this.Ol!=r&&(this.Ol=r,this.DX=!0,this.le())};a.prototype.Fz=function(r){this.Df!=r&&(this.Df=r,this.s9=!0,this.le(),this.Vb())};a.prototype.yKa=function(){this.Ut=!0;this.le()};a.prototype.zKa=function(){this.wta()};var n={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"none",
"-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};d.browser()==d.Uk&&d.kb()&&(n.transform="translate3d(0,0,0)");a.prototype.Lha=function(r,t,u){this.qG=t?t:0;this.pG=u?u:0;this.Wb&&(this.Wb.remove(),this.Wb=null);if(this.ll=r)this.Wb=m(this.ll),p.css(this.ll,n),this.oT.append(this.Wb);this.W7=this.X5=!0;this.le();this.Vb();this.Wb&&this.trigger(b.Z)};a.prototype.Ab=function(){l.prototype.Ab.call(this);this.oT||(this.pT=document.createElement("div"),this.oT=m(this.pT),
p.css(this.pT,{position:"static",overflow:"hidden",cursor:"inherit"}),this.Bb().append(this.oT))};a.prototype.Gu=function(){this.ql=this.qG+this.Rl()+this.Es();this.pl=this.pG+this.Fs()+this.dI();this.vma=0==this.qG&&0==this.pG?0:this.qG/this.pG;this.zL=this.AL=0};a.prototype.Va=function(){this.I("scaleMode")&&(this.Fz(this.B("scaleMode")),this.P("scaleMode"));this.I("horizontalAlign")&&(this.HI(this.B("horizontalAlign")),this.P("horizontalAlign"));this.I("verticalAlign")&&(this.OI(this.B("verticalAlign")),
this.P("verticalAlign"));this.Cha()&&(this.Ut=!0);l.prototype.Va.call(this);this.wta();if(this.PVa()){var r=!1;if(this.s9||this.W7||this.Ut){var t=this.rf(),u=this.qf(),v=this.qG,w=this.pG,x;if(0==v||0==w)var y=x=0;else switch(this.Df){case f.NONE:x=v;y=w;break;case f.Aw:x=t;y=u;break;case f.rh:v*u>w*t?(x=t,y=w*t/v):(x=v*u/w,y=u);break;case f.Wq:v*u>w*t?(x=v*u/w,y=u):(x=t,y=w*t/v);break;case f.Xo:x=t;y=w*t/v;break;case f.Tj:x=v*u/w,y=u}if(this.Gb!=x||this.Tb!=y)this.Gb=x,this.Tb=y,r=!0;this.W7=this.s9=
!1}if(r||this.Ut||this.X5)this.DX=this.gT=!0,this.ll&&p.css(this.ll,{width:this.Gb+"px",height:this.Tb+"px",visibility:"inherit"}),p.css(this.pT,{width:this.rf()+"px",height:this.qf()+"px","border-top-left-radius":this.cT(this.CIa(),this.yka(),this.wka())+"px","border-top-right-radius":this.cT(this.DIa(),this.yka(),this.xka())+"px","border-bottom-left-radius":this.cT(this.AIa(),this.vka(),this.wka())+"px","border-bottom-right-radius":this.cT(this.BIa(),this.vka(),this.xka())+"px"}),this.Vb(),this.X5=
this.Ut=!1;if(this.gT&&this.ll){switch(this.kl){case c.Pa:p.css(this.ll,{"margin-left":0,"margin-right":this.rf()-this.Gb+"px"});break;case c.hb:p.css(this.ll,{"margin-left":this.rf()-this.Gb+"px","margin-right":0});break;case c.Ge:p.css(this.ll,{"margin-left":Math.floor(.5*(this.rf()-this.Gb))+"px","margin-right":Math.ceil(.5*(this.rf()-this.Gb))+"px"})}this.gT=!1}if(this.DX&&this.ll){switch(this.Ol){case c.uc:p.css(this.ll,{"margin-top":0,"margin-bottom":this.qf()-this.Tb+"px"});break;case c.pc:p.css(this.ll,
{"margin-top":this.qf()-this.Tb+"px","margin-bottom":0});break;case c.he:p.css(this.ll,{"margin-top":Math.floor(.5*(this.qf()-this.Tb))+"px","margin-bottom":Math.ceil(.5*(this.qf()-this.Tb))+"px"})}this.DX=!1}}};a.prototype.wta=function(){if(this.Gaa){var r=this.get("url");r?this.k5().load(r,this.Lha,this):(this.k5().clear(),this.Lha(null,0,0));this.Gaa=!1}};a.prototype.cT=function(r,t,u){if(!r)return 0;var v=0;t&&(v=Math.max(v,t));u&&(v=Math.max(v,u));return Math.max(0,r-v)};return a});
define("fO","require lo md gJ lN mw".split(" "),function(a){var e=a("lo"),h=a("md"),m=a("gJ"),k=a("lN"),b=a("mw");a=e.extend(k,function(){k.call(this)});a.prototype.nb=function(){k.prototype.nb.call(this);this.h("iconURL");this.u("rollOverIconURL",m.U,"iconURL");this.u("pressedIconURL",m.ob,"iconURL");this.u("pressedRollOverIconURL",m.$b,"iconURL")};a.prototype.s3=function(){var g=new b(3);g.set("scaleMode",h.rh);return g};a.prototype.Va=function(){if(this.I("iconURL")){var g=this.B("iconURL");this.fi.set("url",
g);this.fi.set("visible",g?!0:!1);this.P("iconURL")}k.prototype.Va.call(this)};return a});define("fN",["require","nx","fO"],function(a){var e=a("nx"),h=a("fO");return e.define("Button",h,function(){h.call(this)})});define("hY",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("CapPanoramaOverlay",e,function(){e.call(this)})});define("hN",["require","nx","hY"],function(a){var e=a("nx"),h=a("hY");return e.define("CeilingCapPanoramaOverlay",h,function(){h.call(this)})});
define("k",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("ChildModel3DObject",h,function(){h.call(this)})});
define("cx","require eg jquery.mod lo oH cy e".split(" "),function(a){a("eg");var e=a("jquery.mod"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("e");a=h.extend(b,function(){b.call(this);this.Be("Canvas");this.l4=!0;this.O=null;this.bind(m.kc,this.pFa,this)});a.prototype.pFa=function(){this.VY()};a.prototype.VY=function(){this.l4=!0;this.Rk()};a.prototype.Ab=function(){b.prototype.Ab.call(this);this.O||(this.O=e("<canvas/>"),this.O.css({position:"absolute",left:0,top:0,cursor:"inherit"}),this.Bb().append(this.O))};
a.prototype.Va=function(){this.Cha()&&this.VY();b.prototype.Va.call(this)};a.prototype.Vg=function(){if(this.l4){this.l4=!1;var g=this.O.get(0);g.width=this.rf();g.height=this.qf();this.T_a()}b.prototype.Vg.call(this)};a.prototype.$Ua=function(){return this.O.get(0).width};a.prototype.ZUa=function(){return this.O.get(0).height};a.prototype.YUa=function(){return this.O.get(0).getContext("2d")};a.prototype.T_a=function(){this.trigger(new k(m.pa))};return a});
define("jW","require lo oH gJ lN cx".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("gJ"),k=a("lN"),b=a("cx");a=e.extend(k,function(){k.call(this)});a.prototype.am=function(){k.prototype.am.call(this)};a.prototype.nb=function(){k.prototype.nb.call(this);this.h("iconColor");this.u("rollOverIconColor",m.U,"iconColor");this.u("pressedIconColor",m.ob,"iconColor");this.u("pressedRollOverIconColor",m.$b,"iconColor")};a.prototype.s3=function(){var g=new b;g.bind(h.pa,this.MAa,this,!0);return g};a.prototype.Va=
function(){this.I("iconColor")&&(this.fi.VY(),this.P("iconColor"));k.prototype.Va.call(this)};a.prototype.cJa=function(){return this.B("iconColor")};a.prototype.dJa=function(){return this.fi.YUa()};a.prototype.fJa=function(){return this.fi.$Ua()};a.prototype.eJa=function(){return this.fi.ZUa()};a.prototype.MAa=function(){};return a});
define("fX",["require","lo","jW","mQ","gJ"],function(a){var e=a("lo"),h=a("jW"),m=a("mQ"),k=a("gJ");a=e.extend(h,function(){h.call(this);this.ja({horizontalAlign:m.Ge,verticalAlign:m.he})});a.prototype.nb=function(){h.prototype.nb.call(this);this.h("iconLineWidth");this.u("rollOverIconLineWidth",k.U,"iconLineWidth");this.u("pressedIconLineWidth",k.ob,"iconLineWidth");this.u("pressedRollOverIconLineWidth",k.$b,"iconLineWidth")};a.prototype.mJa=function(){return this.B("iconLineWidth")};a.prototype.Va=
function(){this.I("iconLineWidth")&&(this.fi.VY(),this.P("iconLineWidth"));h.prototype.Va.call(this)};a.prototype.MAa=function(){var b=this.dJa(),g=this.cJa(),d=this.fJa(),c=this.eJa(),f=this.mJa();b.clearRect(0,0,d,c);b.lineWidth=f||1;b.strokeStyle=g||"#000000";b.beginPath();b.moveTo(0,0);b.lineTo(d,c);b.moveTo(0,c);b.lineTo(d,0);b.closePath();b.stroke()};return a});define("ji",["require","nx","fX"],function(a){var e=a("nx"),h=a("fX");return e.define("CloseButton",h,function(){h.call(this)})});
define("jY",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("CookiesPolicy",e,function(){e.call(this)})});define("lO",["require","lr","nx","oc"],function(a){var e=a("lr"),h=a("nx"),m=a("oc");a=h.define("Container",m,function(){m.call(this)});a.prototype.scrollTo=function(k,b){m.prototype.scrollTo.call(this,k,b)};a.prototype.scrollIntoView=function(k){e.zz(function(){m.prototype.scrollIntoView.call(this,k)}.bind(this))};return a});
define("lw",["require","lP","nx"],function(a){var e=a("lP"),h=a("nx");a=h.define("PanoramaFrame",e,function(){e.call(this);this.la=null});a.prototype.get=function(m,k){switch(m){case "overlays":return this.m5();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":case "minFaceSize":if(this.la)return this.la.get(m,k)}return e.prototype.get.call(this,m,k)};a.prototype.m5=function(){var m=e.prototype.get.call(this,"overlays");m||(m=[]);return this.Z9(m)};a.prototype.Z9=function(m){if(void 0===
this.bH||this.QT!=m){var k=function(g){return h.Na("PopupPanoramaOverlay",g)},b=function(g){return h.Na("LensFlarePanoramaOverlay",g)};this.QT=m;this.bH=[].concat(m.filter(function(g){return!(k(g)||b(g))}),m.filter(b),m.filter(k))}return this.bH};a.prototype.GTa=function(m){this.la=m};a.prototype.oz=function(){return this.la};a.prototype.Tl=function(){return!1};return a});define("op",["require","nx","lw"],function(a){var e=a("nx"),h=a("lw");return e.define("CubicPanoramaFrame",h,function(){h.call(this)})});
define("il",["require"],function(){return{"bg-bg":{mute:"\u0417\u0430\u0433\u043b\u0443\u0448\u0430\u0432\u0430\u043d\u0435","cardboard-v1":"\u0410\u043a\u043e \u043d\u0435 \u0441\u0442\u0435 \u0441\u0438\u0433\u0443\u0440\u043d\u0438 \u043a\u043e\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 Cardboard \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435. \u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0449\u0435 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0449\u0435 \u0438\u0437\u0447\u0430\u043a\u0430\u0442\u0435, \u0434\u043e\u043a\u0430\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u0441\u0435 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0430.",
"download-tour":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0442\u0443\u0440\u0430 \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d","change-to-drag-and-release":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041f\u043b\u044a\u0437\u0433\u0430\u043d\u0435 \u0438 \u041f\u0443\u0441\u043a\u0430\u043d\u0435",
accept:"\u041f\u0440\u0438\u0435\u043c\u0435\u0442\u0435",cancel:"\u041e\u0442\u043a\u0430\u0437","storage-not-provided-bookmark":"\u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0442\u043e \u0441\u044a\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432 \u043e\u0442\u043c\u0435\u0442\u043a\u0438 \u0438 \u0434\u0430 \u044f \u043f\u0440\u0435\u0437\u0430\u0440\u0435\u0434\u0438\u0442\u0435.",
"dont-display-again":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0439 \u0442\u0430\u0437\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0442\u043d\u043e\u0432\u043e","web-server-required":"\u0422\u043e\u0437\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u0435\u043b\u0435\u043d \u0442\u0443\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u0443\u0441\u043d\u0430\u0442 \u043e\u0442 \u043b\u043e\u043a\u0430\u043b\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e. \u041c\u043e\u043b\u044f, \u043a\u0430\u0447\u0435\u0442\u0435 \u0433\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.\n\u0410\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0442\u0435, \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u0442\u0435 htm \u0444\u0430\u0439\u043b\u0430 (\u0438\u043b\u0438 \u0446\u044f\u043b\u0430\u0442\u0430 \u043f\u0430\u043f\u043a\u0430 \u043d\u0430 \u0442\u0443\u0440\u0430) \u0432\u044a\u0440\u0445\u0443 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e TourViewer.",
download:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","change-to-click-and-move":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041a\u043b\u0438\u043a\u0432\u0430\u043d\u0435 \u0438 \u041f\u0440\u0435\u043c\u0435\u0441\u0442\u0432\u0430\u043d\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435","use-safari-for-vr":"\u041f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0432\u0430\u043c\u0435 Safari, \u0437\u0430 \u0434\u0430 \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0442\u0435 \u0442\u043e\u0437\u0438 \u0442\u0443\u0440 \u0432 \u0440\u0435\u0436\u0438\u043c VR",
"exit-fullscreen":"\u0418\u0437\u043b\u0435\u0437\u0442\u0435 \u043e\u0442 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",no:"\u043d\u0435","download-failed":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435\u0442\u043e \u0441\u0435 \u043f\u0440\u043e\u0432\u0430\u043b\u0438","giroscope-disabled-http":"\u0418\u043c\u0430\u0442\u0435 \u0434\u043e\u0441\u0442\u044a\u043f \u0434\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0447\u0440\u0435\u0437 http, \u0442\u0430\u043a\u0430 \u0447\u0435 \u0434\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0434\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438, \u043c\u043e\u043b\u044f, \u043e\u0442\u0432\u043e\u0440\u0435\u0442\u0435 \u0433\u043e \u0447\u0440\u0435\u0437 https, \u0437\u0430 \u0434\u0430 \u0433\u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435.",
"cookies-notice":"\u0422\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438 \u0437\u0430 \u0441\u044a\u0431\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0430\u043d\u043d\u0438 \u0437\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435\u0442\u043e. \u0417\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043c\u043e\u043b\u044f, \u043f\u043e\u0441\u0435\u0442\u0435\u0442\u0435 <a> \u041f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438\u0442\u0435 </a>.",
"use-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard","launch-default-browser":"\u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","rotate-device":"\u041c\u043e\u043b\u044f \u0437\u0430\u0432\u044a\u0440\u0442\u0435\u0442\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0418\u0437\u043b\u0438\u0437\u0430\u043d\u0435 \u043e\u0442 \u0440\u0435\u0436\u0438\u043c VR","storage-not-provided-launch-from-desktop":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.",
"disable-measure":"Stop measuring",downloading:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","cardboard-v2":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Cardboard v2, \u043a\u043e\u0438\u0442\u043e \u0440\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442 \u0441 \u0431\u0443\u0442\u043e\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0434\u0430 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430, \u0437\u0430 \u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u043c\u0443.",
"enable-video-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?",reject:"\u041e\u0442\u0445\u0432\u044a\u0440\u043b\u0435\u0442\u0435",downloaded:"\u0422\u043e\u0437\u0438 \u0442\u0443\u0440 \u0435 \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u043d \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d.","samsung-internet-vr-app-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0422\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u0435 Samsung Internet \u0431\u0440\u0430\u0443\u0437\u044a\u0440 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435.",
"samsung-internet-vr-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0421\u0435\u0433\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u043b\u043e\u0436\u0438\u0442\u0435 \u043c\u043e\u0431\u0438\u043b\u043d\u0438\u044f \u0441\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0432 \u043e\u0447\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0430 \u0440\u0435\u0430\u043b\u043d\u043e\u0441\u0442.",
"enable-video-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0437\u0430 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438 \u0437\u0430 \u0442\u043e\u0437\u0438 \u0441\u0430\u0439\u0442.",
"\u0417\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043d\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u043c\u043e\u043b\u044f, \u043a\u043b\u0438\u043a\u043d\u0435\u0442\u0435 \u0432\u044a\u0440\u0445\u0443 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0435\u0442\u0435 \u0438\u0441\u043a\u0430\u043d\u0435\u0442\u043e \u0437\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435."],
"storage-not-provided-launch-from-homescreen":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043d\u0438\u044f \u0435\u043a\u0440\u0430\u043d, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.","enter-fullscreen":"\u0412\u043b\u0435\u0437\u0442\u0435 \u0432 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",
"use-cardboard-v2":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard v2",unmute:"\u041f\u0443\u0441\u043a\u0430\u043d\u0435 \u0437\u0432\u0443\u043a","enter-vr":"\u0412\u043b\u0435\u0437 \u0432\u044a\u0432 VR \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435","enable-measure":"Start measuring","use-cardboard-info":"\u041c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0441\u044f\u043a\u0430\u043a\u0432\u0438 \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 Google Cardboard \u043e\u0447\u0438\u043b\u0430, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435","use-default-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","enable-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0443\u0434\u0438\u043e?"},"fi-fi":{mute:"Poista \u00e4\u00e4ni k\u00e4yt\u00f6st\u00e4","cardboard-v1":"Mik\u00e4li et ole varma, mit\u00e4 Cardboard-versiota k\u00e4yt\u00e4t, valitse oletusarvoinen hotspot-hallinta. T\u00e4m\u00e4n j\u00e4lkeen katsomalla hotspotia, toiminto k\u00e4ynnistyy.",
"download-tour":"Lataa t\u00e4m\u00e4 sis\u00e4lt\u00f6 offline-toistoa varten","change-to-drag-and-release":"Muuta ohjaustilaa vet\u00e4m\u00e4ll\u00e4 ja vapauttamalla",accept:"Hyv\u00e4ksy",download:"Lataa","storage-not-provided-bookmark":"Tallennus ep\u00e4onnistui. Kokeile lis\u00e4t\u00e4 t\u00e4m\u00e4 verkkosivu kirjanmerkkeihin ja suorita lataus uudelleen.","dont-display-again":"\u00c4l\u00e4 n\u00e4yt\u00e4 t\u00e4t\u00e4 ilmoitusta uudelleen","web-server-required":"T\u00e4t\u00e4 sis\u00e4lt\u00f6\u00e4 ei voi toistaa paikalliselta asemalta. Lataa sis\u00e4lt\u00f6 internet-palvelimelle ja yrit\u00e4 uudelleen.\nVoit my\u00f6s vet\u00e4\u00e4 htm-tiedoston (tai koko kansion) TourViewer-sovelluskuvakkeen p\u00e4\u00e4lle.",
cancel:"Sulje","change-to-click-and-move":"Muuta ohjaustilaa klikkaamalla ja siirt\u00e4m\u00e4ll\u00e4",yes:"Kyll\u00e4","delete-downloaded":"Poista","use-safari-for-vr":"Suosittelemme Safari-selainta t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa.","exit-fullscreen":"Sulje koko n\u00e4yt\u00f6n n\u00e4kym\u00e4",no:"Ei","download-failed":"Lataus ep\u00e4onnistui","giroscope-disabled-http":"K\u00e4yt\u00e4t t\u00e4t\u00e4 verkkosivua http:n kautta, joten laitteesi liiketunnistimet sek\u00e4 VR-tila on poistettu k\u00e4yt\u00f6st\u00e4. Ota ne k\u00e4ytt\u00f6\u00f6n siirtym\u00e4ll\u00e4 sivulle https:n kautta.",
"cookies-notice":"T\u00e4m\u00e4 verkkosivu k\u00e4ytt\u00e4\u00e4 ev\u00e4steit\u00e4 k\u00e4ytt\u00f6tilastojen ker\u00e4\u00e4miseen. Lis\u00e4tietoja <a>ev\u00e4stek\u00e4yt\u00e4nn\u00f6st\u00e4</a>.","use-cardboard":"K\u00e4yt\u00e4 Cardboardia","launch-default-browser":"K\u00e4ynnist\u00e4 oletusselaimessa","rotate-device":"K\u00e4\u00e4nn\u00e4 laitettasi","exit-vr":"Poistu VR-tilasta",reject:"Hylk\u00e4\u00e4","disable-measure":"Lopeta mittaaminen",downloading:"Ladataan","cardboard-v2":"Mik\u00e4li sinulla on Cardboard v2 -virtuaalilasit, joissa on painike, voit katsoa hotspotia ja aktivoida sen painamalla painiketta.",
"enable-video-audio-prompt":"Otetaanko \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?","storage-not-provided-launch-from-desktop":"Uudelleenk\u00e4ynnist\u00e4 t\u00e4m\u00e4 sis\u00e4lt\u00f6 ty\u00f6p\u00f6yd\u00e4n kuvakkeesta aloittaaksesi lataamisen.",downloaded:"T\u00e4m\u00e4 sis\u00e4lt\u00f6 on ladattu offline-toistoa varten","samsung-internet-vr-app-info":"Mik\u00e4li sinulla on t\u00e4m\u00e4n laitteen kanssa yhteensopivat Gear VR -virtuaalilasit ja olet asentanut Samsung Internet for VR:n, voit k\u00e4ytt\u00e4\u00e4 virtuaalilaseja t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa. Sinun on lis\u00e4ksi m\u00e4\u00e4ritett\u00e4v\u00e4 Samsung Internet oletusselaimeksi.",
"samsung-internet-vr-info":"Mik\u00e4li sinulla on t\u00e4m\u00e4n laitteen kanssa yhteensopivat Gear VR -virtuaalilasit ja olet asentanut Samsung Internet for VR:n, voit k\u00e4ytt\u00e4\u00e4 virtuaalilaseja t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa. Aseta \u00e4lypuhelin virtuaalilaseihin aloittaaksesi.","enable-video-prompt":"Otetaanko video k\u00e4ytt\u00f6\u00f6n?","giroscope-disabled-safari-request-permission":["Laitteesi liiketunnistimen k\u00e4ytt\u00f6oikeus ja VR-tila on poistettu k\u00e4yt\u00f6st\u00e4 t\u00e4ll\u00e4 sivustolla.",
"N\u00e4hd\u00e4ksesi t\u00e4m\u00e4n verkkosivun oikein, valitse jatka ja hyv\u00e4ksy lupapyynt\u00f6 pyydett\u00e4ess\u00e4."],"storage-not-provided-launch-from-homescreen":"Uudelleenk\u00e4ynnist\u00e4 t\u00e4m\u00e4 sis\u00e4lt\u00f6 kotin\u00e4yt\u00f6n kuvakkeesta aloittaaksesi lataamisen","enter-fullscreen":"Avaa koko n\u00e4yt\u00f6n n\u00e4kym\u00e4","use-cardboard-v2":"K\u00e4yt\u00e4 Cardboard v2:sta",unmute:"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n","enter-vr":"Siirry VR-tilaan","enable-measure":"Aloita mittaaminen",
"use-cardboard-info":"Voit k\u00e4ytt\u00e4\u00e4 mit\u00e4 tahansa yhteensopivia Google Cardboard -virtuaalilaseja katsellaksesi t\u00e4t\u00e4 sis\u00e4lt\u00f6\u00e4 VR-tilassa.","refresh-downloaded":"P\u00e4ivit\u00e4","use-default-cardboard":"K\u00e4yt\u00e4 oletuksena","enable-audio-prompt":"Otetaanko \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?"},"sk-sk":{mute:"St\u00ed\u0161i\u0165","cardboard-v1":"Ak ste si nie ist\u00ed, ktor\u00fa verziu Cardboardu pou\u017e\u00edvate, vyberte si predvolen\u00e9 ovl\u00e1danie hotspotu. Potom sa jednoducho pozriete na hotspot a po\u010dkajte, k\u00fdm sa akcia nespust\u00ed.",
"download-tour":"Stiahnu\u0165 prehliadku na hranie v offline re\u017eime","change-to-drag-and-release":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Presun\u00fa\u0165 a Uvo\u013eni\u0165",accept:"s\u00fahlasi\u0165",cancel:"Zru\u0161i\u0165","storage-not-provided-bookmark":"Trval\u00e9 \u00falo\u017eisko odmietnut\u00e9. Sk\u00faste si t\u00fato webov\u00fa str\u00e1nku ulo\u017ei\u0165 a na\u010d\u00edta\u0165 ju znova.","dont-display-again":"Tieto inform\u00e1cie u\u017e nezobrazova\u0165","web-server-required":"T\u00e1to virtu\u00e1lna prehliadka sa ned\u00e1 prehra\u0165 z lok\u00e1lneho disku. Nahrajte ju na internet a sk\u00faste to znova.\nAk chcete, potiahnite s\u00fabor htm (alebo cel\u00fd prie\u010dinok prehliadky) na ikonu aplik\u00e1cie TourViewer.",
download:"Stiahnu\u0165","change-to-click-and-move":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Klikn\u00fa\u0165 a Presun\u00fa\u0165",yes:"\u00e1no","delete-downloaded":"Zmaza\u0165","use-safari-for-vr":"Odpor\u00fa\u010dame pou\u017e\u00edva\u0165 Safari prehliada\u010d pre t\u00fato prehliadku v re\u017eime VR","exit-fullscreen":"Ukon\u010di\u0165 cel\u00fa obrazovku",no:"nie","download-failed":"S\u0165ahovanie zlyhalo","giroscope-disabled-http":"Na t\u00fato webov\u00fa str\u00e1nku pristupujete cez http protokol, preto pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR s\u00fa deaktivovan\u00e9. Ak ich chcete povoli\u0165, nav\u0161t\u00edvte str\u00e1nku cez https.",
"cookies-notice":"T\u00e1to webov\u00e1 str\u00e1nka pou\u017e\u00edva s\u00fabory cookie na zhroma\u017e\u010fovanie \u0161tatist\u00edk pou\u017e\u00edvania. \u010eal\u0161ie inform\u00e1cie n\u00e1jdete v <a> pravidl\u00e1ch pou\u017e\u00edvania s\u00faborov cookie </a>.","use-cardboard":"Pou\u017eite Cardboard okuliare.","launch-default-browser":"Spusti\u0165 v predvolenom prehliada\u010di","rotate-device":"Oto\u010dte svoje zariadenie","exit-vr":"Ukon\u010denie VR","storage-not-provided-launch-from-desktop":"Znovu na\u010d\u00edtajte prehliadku pomocou desktop ikony pre jej stiahnite.",
"disable-measure":"Ukon\u010di\u0165 meranie",downloading:"S\u0165ahovanie","cardboard-v2":"Ak m\u00e1te n\u00e1hlavn\u00fa s\u00fapravu Cardboard v2, ktor\u00e1 je dod\u00e1van\u00e1 s tla\u010didlom, m\u00f4\u017eete sa pozrie\u0165 na hotspot a stla\u010den\u00edm tla\u010didla spusti\u0165 akciu.","enable-video-audio-prompt":"Povoli\u0165 video a zvuk?",reject:"Odmietnu\u0165",downloaded:"T\u00e1to prehliadka je stiahnut\u00e1 na hranie v offline re\u017eime.","samsung-internet-vr-app-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Mus\u00edte si nastavi\u0165 Samsung Internet ako predvolen\u00fd prehliada\u010d.",
"samsung-internet-vr-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Sta\u010d\u00ed teraz vlo\u017ei\u0165 mobiln\u00fd telef\u00f3n do n\u00e1hlavnej s\u00fapravy.","enable-video-prompt":"Povoli\u0165 video?","giroscope-disabled-safari-request-permission":["Pre t\u00fato str\u00e1nku s\u00fa pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR deaktivovan\u00e9.",
"Aby ste korektne videli t\u00fato webov\u00fa str\u00e1nku, pros\u00edm kliknite pokra\u010dova\u0165 a akceptujte po\u017eadovan\u00e9 povolenie."],"storage-not-provided-launch-from-homescreen":"Znovu na\u010d\u00edtajte prehliadku pomocou ikony na ploche pre jej stiahnite.","enter-fullscreen":"Prejs\u0165 na cel\u00fa obrazovku","use-cardboard-v2":"Pou\u017eite Cardboard v2",unmute:"Zapn\u00fa\u0165 zvuk","enter-vr":"Vlo\u017ei\u0165 VR obsah","enable-measure":"Za\u010da\u0165 meranie","use-cardboard-info":"Na zobrazenie tohto obsahu vo VR m\u00f4\u017eete pou\u017ei\u0165 \u013eubovo\u013en\u00fa kompatibiln\u00fa n\u00e1hlavn\u00fa s\u00fapravu Google Cardboard.",
"refresh-downloaded":"Obnovi\u0165","use-default-cardboard":"Pou\u017ei\u0165 predvolen\u00e9","enable-audio-prompt":"Povoli\u0165 zvuk?"},"uk-ua":{mute:"\u0412\u0438\u043c\u043a\u043d\u0443\u0442\u0438 \u0437\u0432\u0443\u043a","cardboard-v1":"\u042f\u043a\u0449\u043e \u0432\u0438 \u043d\u0435 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456, \u044f\u043a\u0443 \u0432\u0435\u0440\u0441\u0456\u044e Cardboard \u0432\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u0435, \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0442\u043e\u0447\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c. \u041f\u043e\u0442\u0456\u043c \u0432\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0438\u0432\u0438\u0442\u0435\u0441\u044f \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 \u0442\u0430 \u043f\u043e\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0434\u043e\u043a\u0438 \u0434\u0456\u044f \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u0441\u044f.",
"download-tour":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0442\u0443\u0440 \u0434\u043b\u044f \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0432 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0456","change-to-drag-and-release":"\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0456 \u0432\u0456\u0434\u043f\u0443\u0441\u0442\u0456\u0442\u044c",
accept:"\u041f\u0440\u0438\u0439\u043c\u0456\u0442\u044c",cancel:"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438","storage-not-provided-bookmark":"\u041f\u043e\u0441\u0442\u0456\u0439\u043d\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0437\u0430\u0431\u043e\u0440\u043e\u043d\u0435\u043d\u043e. \u0421\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0434\u0430\u0442\u0438 \u0446\u044e \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0442\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0457\u0457.",
"dont-display-again":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u0443\u0439\u0442\u0435 \u0446\u044e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0437\u043d\u043e\u0432\u0443","web-server-required":"\u0426\u0435\u0439 \u0432\u0456\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0438\u0439 \u0442\u0443\u0440 \u043d\u0435 \u043c\u043e\u0436\u043d\u0430 \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0439\u043e\u0433\u043e \u0432 \u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0456 \u043f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c \u0441\u043f\u0440\u043e\u0431\u0443.\n\u042f\u043a\u0449\u043e \u0431\u0430\u0436\u0430\u0454\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b htm (\u0430\u0431\u043e \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0443) \u043d\u0430 \u043f\u0456\u043a\u0442\u043e\u0433\u0440\u0430\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 TourViewer.",
download:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","change-to-click-and-move":"\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u041a\u043b\u0430\u0446\u043d\u0456\u0442\u044c \u0456 \u043f\u0435\u0440\u0435\u043c\u0456\u0441\u0442\u0456\u0442\u044c",yes:"\u0442\u0430\u043a","delete-downloaded":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438","use-safari-for-vr":"\u041c\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u043c\u043e Safari \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0442\u0443\u0440\u0443 \u0432 \u0440\u0435\u0436\u0438\u043c\u0456 VR",
"exit-fullscreen":"\u0412\u0438\u0439\u0442\u0438 \u0437 \u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0443",no:"\u043d\u0456","download-failed":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","giroscope-disabled-http":"\u0412\u0438 \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0446\u0456\u0454\u0457 \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 http, \u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0440\u0443\u0445\u0443 \u0442\u0430 \u043e\u0440\u0456\u0454\u043d\u0442\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u043e\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044e \u0442\u0430 \u0440\u0435\u0436\u0438\u043c VR \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e. \u0429\u043e\u0431 \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0457\u0445, \u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0434\u043e \u043d\u0438\u0445 \u0447\u0435\u0440\u0435\u0437 https.",
"cookies-notice":"\u0426\u044f \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0444\u0430\u0439\u043b\u0438 cookie \u0434\u043b\u044f \u0437\u0431\u043e\u0440\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f. \u0414\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u0432\u0456\u0434\u0432\u0456\u0434\u0430\u0439\u0442\u0435 <a> \u041f\u043e\u043b\u0456\u0442\u0438\u043a\u0443 \u0449\u043e\u0434\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 cookie</a>.",
"use-cardboard":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","rotate-device":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0441\u0432\u0456\u0439 \u043f\u0440\u0438\u0441\u0442\u0440\u0456\u0439",
"exit-vr":"\u0412\u0438\u0439\u0434\u0456\u0442\u044c \u0456\u0437 VR","storage-not-provided-launch-from-desktop":"\u0429\u043e\u0431 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u043e\u0433\u043b\u044f\u0434 \u0456\u0437 \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0440\u043e\u0431\u043e\u0447\u043e\u043c\u0443 \u0441\u0442\u043e\u043b\u0456.","disable-measure":"\u041f\u0440\u0438\u043f\u0438\u043d\u0456\u0442\u044c \u0432\u0438\u043c\u0456\u0440\u044e\u0432\u0430\u043d\u043d\u044f",
downloading:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","cardboard-v2":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Cardboard v2, \u044f\u043a\u0430 \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u043a\u043d\u043e\u043f\u043a\u043e\u044e, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0438\u0432\u0438\u0442\u0438\u0441\u044f \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 \u0442\u0430 \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0442\u0438 \u043a\u043d\u043e\u043f\u043a\u0443, \u0449\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0457\u0457.",
"enable-video-audio-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0432\u0456\u0434\u0435\u043e \u0442\u0430 \u0430\u0443\u0434\u0456\u043e?",reject:"\u0412\u0456\u0434\u0445\u0438\u043b\u0438\u0442\u0438",downloaded:"\u0426\u0435\u0439 \u0442\u0443\u0440 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043e \u0434\u043b\u044f \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0432 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0456.",
"samsung-internet-vr-app-info":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Gear VR, \u0441\u0443\u043c\u0456\u0441\u043d\u0430 \u0437 \u0446\u0438\u043c \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0454\u043c, \u0456 \u0432\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0457 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR, \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u0440\u043e\u0431\u0438\u0442\u0438 Samsung Internet \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c.",
"samsung-internet-vr-info":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Gear VR, \u0441\u0443\u043c\u0456\u0441\u043d\u0430 \u0437 \u0446\u0438\u043c \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0454\u043c, \u0456 \u0432\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f \u0432\u0456\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0457 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0456, \u0432\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0457 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0440\u0430\u0437 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u0456\u0434\u2019\u0454\u0434\u043d\u0430\u0442\u0438 \u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0438\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0434\u043e \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0438.",
"enable-video-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0432\u0456\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0440\u0443\u0445\u0443 \u0442\u0430 \u043e\u0440\u0456\u0454\u043d\u0442\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u043e\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044e, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0440\u0435\u0436\u0438\u043c VR \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443.",
"\u0429\u043e\u0431 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0446\u044e \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443, \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u00ab\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438\u00bb \u0442\u0430 \u043f\u0440\u0438\u0439\u043c\u0456\u0442\u044c \u0437\u0430\u043f\u0438\u0442 \u043d\u0430 \u0434\u043e\u0437\u0432\u0456\u043b, \u044f\u043a\u0449\u043e \u0437\u2019\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0437\u0430\u043f\u0438\u0442."],
"storage-not-provided-launch-from-homescreen":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0442\u0443\u0440 \u0437\u0456 \u0437\u043d\u0430\u0447\u043a\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u0435\u043a\u0440\u0430\u043d\u0430, \u0449\u043e\u0431 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438.","enter-fullscreen":"\u041f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0443 \u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u0438\u0439 \u0440\u0435\u0436\u0438\u043c",
"use-cardboard-v2":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 Cardboard v2",unmute:"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0437\u0432\u0443\u043a","enter-vr":"\u041e\u0431\u0435\u0440\u0456\u0442\u044c \u0432\u043c\u0456\u0441\u0442 VR","enable-measure":"\u041f\u043e\u0447\u043d\u0456\u0442\u044c \u0432\u0438\u043c\u0456\u0440\u044e\u0432\u0430\u0442\u0438","use-cardboard-info":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0443 \u0441\u0443\u043c\u0456\u0441\u043d\u0443 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR.",
"refresh-downloaded":"\u041e\u043d\u043e\u0432\u0438\u0442\u0438","use-default-cardboard":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","enable-audio-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0430\u0443\u0434\u0456\u043e?"},"en-us":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Accept",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"This web page uses cookies to collect usage statistics. For more information, please visit the <a>Cookie Policy</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Enable video and audio?",
reject:"Reject",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"sv-se":{mute:"Inaktivera ljud","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa",accept:"Acceptera",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta",yes:"ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Avsluta fullsk\u00e4rmen",no:"Nej","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Denna webbsida anv\u00e4nder cookies f\u00f6r att samla in anv\u00e4ndningsstatistik. F\u00f6r mer information, bes\u00f6k <a>Cookie Policy</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Avvisa","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Aktivera ljud och video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Aktivera video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Ange fullsk\u00e4rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktivera ljud","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktivera ljud?"},"id-id":{mute:"Mute","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Menerima",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",download:"Download",
"change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Halaman web ini menggunakan cookie untuk mengumpulkan statistik penggunaan. Untuk informasi lebih lanjut, silakan kunjungi <a>Kebijakan Cookie</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Enable video and audio?",
reject:"Menolak",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"pt-br":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.",
"download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",
download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.",
"cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a <a>Pol\u00edtica de cookies</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",
downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.",
"samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.","enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],
"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar tela cheia","use-cardboard-v2":"Use Cardboard v2",unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o",
"enable-audio-prompt":"Ativar \u00e1udio?"},"it-it":{mute:"Disabilita audio","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Cambia la modalit\u00e0 di controllo per trascinare e rilasciare",accept:"Accettare",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.",
"dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare",yes:"s\u00ec","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode",
"exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",no:"no","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Questa pagina web utilizza i cookie per raccogliere statistiche sull'utilizzo. Per ulteriori informazioni, visita la <a>Cookie Policy</a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser",
"rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Rifiutare","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Abilita audio e video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.",
"samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Abilita il video?",
"giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Entra a schermo intero","use-cardboard-v2":"Use Cardboard v2",unmute:"Abilita audio","enter-vr":"Enter VR content","enable-measure":"Start measuring",
"use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Abilita l'audio?"},"zh-tw":{mute:"\u975c\u97f3","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e",
"change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88dd\u7f6e\u5167\u6c38\u4e45\u5b58\u5132\u88ab\u62d2\u7d55\u3002\u8acb\u5617\u8a66\u5c07\u6b64\u7db2\u9801\u65b0\u589e\u70ba\u66f8\u7c64\uff0c\u4e26\u91cd\u65b0\u8f09\u5165\u3002","dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f","web-server-required":"\u672c\u865b\u64ec\u5c0e\u89bd\u7121\u6cd5\u5728\u672c\u5730\u96fb\u8166\u4e0a\u64ad\u653e\u3002 \u8acb\u5c07\u5176\u4e0a\u50b3\u5230\u7db2\u969b\u7db2\u8def\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u91cd\u8a66\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9810\u89bd\uff0c\u8acb\u5c07htm\u6a94\u6848\uff08\u6216\u865b\u64ec\u5c0e\u89bd\u7684\u6574\u500b\u8cc7\u6599\u593e\uff09\u62d6\u653e\u5230TourViewer\u61c9\u7528\u7a0b\u793a\u7684\u5716\u793a\u4e0a\u3002",
download:"\u4e0b\u8f09","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",yes:"\u662f","delete-downloaded":"\u522a\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",no:"\u5426","download-failed":"\u4e0b\u8f09\u5931\u6557","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u904ehttp(\u672a\u52a0\u5bc6)\u700f\u89bd\u672c\u7db2\u9801\uff0c\u56e0\u6b64\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0c\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8acb\u53e6\u901a\u904ehttps(\u52a0\u5bc6)\u7db2\u5740\u5c0d\u5176\u9032\u884c\u555f\u7528\u3002",
"cookies-notice":"\u8a72\u7db2\u9801\u4f7f\u7528cookie\u4f86\u6536\u96c6\u4f7f\u7528\u60c5\u6cc1\u7d71\u8a08\u4fe1\u606f\u3002 \u6709\u95dc\u66f4\u591a\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f<a> Cookie\u653f\u7b56</a>\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"\u8acb\u5f9e\u684c\u9762\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f09","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u5141\u8a31\u5f71\u7247\u53ca\u8072\u97f3\u64ad\u653e?",reject:"\u62d2\u7d55",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","giroscope-disabled-safari-request-permission":["\u8a72\u7db2\u7ad9\u5df2\u7981\u7528\u60a8\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u78ba\u67e5\u770b\u672c\u7db2\u9801\uff0c\u8acb\u55ae\u64ca\u7e7c\u7e8c\uff0c\u4e26\u5728\u51fa\u73fe\u63d0\u793a\u6642\u63a5\u53d7\u8a31\u53ef\u8acb\u6c42\u3002"],"storage-not-provided-launch-from-homescreen":"\u8acb\u4e3b\u9801\u9762\u87a2\u5e55\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u975c\u97f3",
"enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u91cd\u65b0\u6574\u7406","use-default-cardboard":"Use Default","enable-audio-prompt":"\u5141\u8a31\u8072\u97f3\u64ad\u653e?"},"nb-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
"download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","use-cardboard":"Bruk Cardboard","launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned",
"cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.",
"samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],
"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard",
"enable-audio-prompt":"Aktivere audio?"},"pt-pt":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.","download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar",
"storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",
yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.","cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a <a>Pol\u00edtica de cookies</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.",
"enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.","samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.",
"enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar tela cheia","use-cardboard-v2":"Use Cardboard v2",
unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o","enable-audio-prompt":"Ativar \u00e1udio?"},"hr-hr":{mute:"nijem","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Promijenite na\u010din upravljanja u povla\u010denje i otpu\u0161tanje",accept:"Prihvatiti",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti",yes:"Da","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Iza\u0111ite s punog zaslona",no:"Ne","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Ova web stranica koristi kola\u010di\u0107e za prikupljanje statistike upotrebe. Za vi\u0161e informacija posjetite <a>Pravila o kola\u010di\u0107ima</a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Odbiti","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Omogu\u0107iti videozapis i zvuk?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Omogu\u0107ite videozapis?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Unesite cijeli zaslon","use-cardboard-v2":"Use Cardboard v2",unmute:"Uklju\u010di mikrofon",
"enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?"},"ja-jp":{mute:"\u30df\u30e5\u30fc\u30c8","cardboard-v1":"\u4f7f\u7528\u3057\u3066\u3044\u308bCardboard\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\u3002\uff08\u4e00\u90e8\u52d5\u4f5c\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","change-to-drag-and-release":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30ea\u30ea\u30fc\u30b9\u306b\u5909\u66f4",accept:"\u53d7\u3051\u5165\u308c\u308b",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","storage-not-provided-bookmark":"\u6c38\u7d9a\u7684\u306a\u4fdd\u5b58\u304c\u62d2\u5426\u3055\u308c\u305f\u3002\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3001\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044",
"dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044","web-server-required":"\u3053\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c4\u30a2\u30fc\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30c9\u30e9\u30a4\u30d6\u304b\u3089\u518d\u751f\u3067\u304d\u307e\u305b\u3093\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3001\u3082\u3046\u4e00\u5ea6\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001htm\u30d5\u30a1\u30a4\u30eb\uff08\u307e\u305f\u306f\u30c4\u30a2\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u5168\u4f53\uff09\u3092\u300eTourViewer\u300f\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059",
download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","change-to-click-and-move":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30af\u30ea\u30c3\u30af\uff06\u30e0\u30fc\u30d6\u306b\u5909\u66f4",yes:"\u306f\u3044","delete-downloaded":"\u524a\u9664","use-safari-for-vr":"\u3053\u306e\u30c4\u30a2\u30fc\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001Safari\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u3092\u304a\u52e7\u3081\u3057\u307e\u3059","exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b",
no:"\u3044\u3044\u3048","download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","giroscope-disabled-http":"\u3053\u306eWeb\u30da\u30fc\u30b8\u306b\u300ehttp\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300ehttps\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044",
"cookies-notice":"\u3053\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306fCookie\u3092\u4f7f\u7528\u3057\u3066\u4f7f\u7528\u7d71\u8a08\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a>Cookie\u30dd\u30ea\u30b7\u30fc</a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002","use-cardboard":"Cardboard\u5229\u7528","launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044",
"exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","storage-not-provided-launch-from-desktop":"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","disable-measure":"Stop measuring",downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d","cardboard-v2":"\u30dc\u30bf\u30f3\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u308bCardboard v2\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u304a\u6301\u3061\u306e\u5834\u5408\u306f\u3053\u3061\u3089\u3002",
"enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",reject:"\u62d2\u5426\u3059\u308b",downloaded:"\u3053\u306e\u30c4\u30a2\u30fc\u306f\u3001\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u518d\u751f\u3059\u308b\u305f\u3081\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u3059\u308b","samsung-internet-vr-app-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u300eSamsung Internet\u300f\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059",
"samsung-internet-vr-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u306b\u88c5\u7740\u3059\u308b\u3060\u3051\u3067\u3059",
"enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","giroscope-disabled-safari-request-permission":["\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002","\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u6b63\u3057\u304f\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u300eOK\u300f\u3092\u30af\u30ea\u30c3\u30af\u3057\u300e\u8a31\u53ef\u300f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u5165\u308c\u3066\u304f\u3060\u3055\u3044"],
"storage-not-provided-launch-from-homescreen":"\u30db\u30fc\u30e0\u753b\u9762\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b","use-cardboard-v2":"Cardboard v2\u5229\u7528",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","enable-measure":"Start measuring",
"use-cardboard-info":"\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u4efb\u610f\u306eGoogle Cardboard\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u5229\u7528\u3067\u304d\u307e\u3059","refresh-downloaded":"\u66f4\u65b0","use-default-cardboard":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528","enable-audio-prompt":"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f"},"zh-cn":{mute:"\u9759\u97f3",
"cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e","change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","storage-not-provided-bookmark":"\u88c5\u7f6e\u5185\u6c38\u4e45\u5b58\u50a8\u88ab\u62d2\u7edd\u3002\u5c1d\u8bd5\u5c06\u6b64\u7f51\u9875\u6dfb\u52a0\u4e3a\u4e66\u7b7e\uff0c \u5e76\u91cd\u65b0\u52a0\u8f7d\u3002",
"dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f","web-server-required":"\u6b64\u5168\u666f\u6f2b\u6e38\u65e0\u6cd5\u4ece\u672c\u5730\u9a71\u52a8\u5668\u4e0a\u64ad\u653e\u3002 \u8bf7\u5c06\u5176\u4e0a\u4f20\u5230\u4e92\u8054\u7f51\u670d\u52a1\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9884\u89c8\uff0c\u53ef\u4ee5\u5c06htm\u6587\u4ef6\uff08\u6216\u5168\u666f\u6f2b\u6e38\u7684\u6574\u4e2a\u6587\u4ef6\u5939\uff09\u62d6\u5230TourViewer\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u4e0a\u3002",
download:"\u4e0b\u8f7d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d",yes:"\u662f","delete-downloaded":"\u5220\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",no:"\u5426","download-failed":"\u4e0b\u8f7d\u5931\u8d25","giroscope-disabled-http":"\u60a8\u6b63\u5728\u901a\u8fc7http(\u672a\u52a0\u5bc6)\u8bbf\u95ee\u6b64\u7f51\u9875\uff0c\u56e0\u6b64\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8bf7\u901a\u8fc7https(\u52a0\u5bc6)\u5bf9\u5176\u8fdb\u884c\u542f\u7528\u3002",
"cookies-notice":"\u8be5\u7f51\u9875\u4f7f\u7528cookie\u6765\u6536\u96c6\u4f7f\u7528\u60c5\u51b5\u7edf\u8ba1\u4fe1\u606f\u3002 \u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee<a>Cookie\u653f\u7b56</a>\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"\u8bf7\u4ece\u684c\u9762\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f7d","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u542f\u7528\u89c6\u9891\u548c\u97f3\u9891\uff1f",reject:"\u62d2\u7edd",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","giroscope-disabled-safari-request-permission":["\u8be5\u7ad9\u70b9\u5df2\u7981\u7528\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\u8981\u6b63\u786e\u67e5\u770b\u6b64\u7f51\u9875\uff0c\u8bf7\u5355\u51fb\u7ee7\u7eed\uff0c\u5e76\u5728\u51fa\u73b0\u63d0\u793a\u65f6\u63a5\u53d7\u8bb8\u53ef\u8bf7\u6c42"],"storage-not-provided-launch-from-homescreen":"\u8bf7\u4ece\u4e3b\u5c4f\u5e55\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u9759\u97f3","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u5237\u65b0","use-default-cardboard":"Use Default","enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f"},"nl-nl":{mute:"Schakel audio uit","cardboard-v1":"Als u niet weet wat voor versie van Cardboard u gebruikt, selecteer dan de default hotspot control. Dan zult u moeten wachten op een hotspot tot er een bepaald actie is gestart.","download-tour":"Download Tour voor offline afspelen",
"change-to-drag-and-release":"Verander de besturingsmodus om te slepen en los te laten",accept:"Aanvaarden",download:"Download","storage-not-provided-bookmark":"Aanhoudende inhoud geweigerd. Probeer deze pagina als bookmark op te slaan en te verversen.","dont-display-again":"Niet meer laten zien","web-server-required":"Deze virtuele tour kan niet worden afgespeeld vanaf een lokale schijf. Upload dit alstublieft op het internet. Je kan ook de htm bestand slepen naar het icoon van de TourViewer app.",
cancel:"Annuleren","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen",yes:"Ja","delete-downloaded":"Verwijderen","use-safari-for-vr":"We raden aan om in Safari deze tour te bekijken in VR mode","exit-fullscreen":"Volledig scherm verlaten",no:"Nee","download-failed":"Download mislukt","giroscope-disabled-http":"Jij betreedt deze pagina door http, dus uw toestel's motion en orientation access en VR modus zijn uitgeschakeld. Betreed deze pagina door https om ze weer aan te schakelen.",
"cookies-notice":"Deze webpagina maakt gebruik van cookies om gebruiksstatistieken te verzamelen. Raadpleeg het <a>Cookiebeleid</a> voor meer informatie.","use-cardboard":"Gebruik Cardboard","launch-default-browser":"Start op in standaard browser","rotate-device":"Draai uw toestel om, alstublieft","exit-vr":"VR verlaten",reject:"Weigeren","disable-measure":"Stop meten",downloading:"Downloaden","cardboard-v2":"Als u een Cardboard v2 headset heeft, wat met een knop komt, kunt u wachten op een hotspot en een op een knop drukken om een actie te starten.",
"enable-video-audio-prompt":"Audio en video inschakelen?","storage-not-provided-launch-from-desktop":"Start de tour alstublieft opnieuw up vanaf het bureaublad om te kunnen downloaden.",downloaded:"Deze tour is gedownload voor offline afspelen.","samsung-internet-vr-app-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR. U moet alleen Samsung Internet instellen als uw standaard browser.","samsung-internet-vr-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR, u moet alleen uw mobiele toestel op uw headset zetten.",
"enable-video-prompt":"Video inschakelen?","giroscope-disabled-safari-request-permission":["Uw toestel's motion en orientation access en VR modus zijn uitgeschakeld voor deze site..","Om deze pagina goed te kunnen zien, druk op doorgaan en geef toestemming als dat gevraagd wordt."],"storage-not-provided-launch-from-homescreen":"Start de tour alstublieft opnieuw up vanaf het homescherm om te kunnen downloaden.","enter-fullscreen":"Volledig scherm inschakelen","use-cardboard-v2":"Gebruik Cardboard v2",
unmute:"Schakel audio in","enter-vr":"Voer VR inhoud in","enable-measure":"Begin meten","use-cardboard-info":"U kunt elk werkend Google Cardboard headset gebruiken om dit te bekijken.","refresh-downloaded":"Verversen","use-default-cardboard":"Standaard gebruiken","enable-audio-prompt":"Audio inschakelen?"},"hu-hu":{mute:"N\u00e9m\u00edt\u00e1s","cardboard-v1":"Ha nem vagy biztos benne, hogy milyen VR eszk\u00f6zt haszn\u00e1lsz, akkor v\u00e1laszd az alap\u00e9rtelmezettet \u00e9s az egyes hotspot-ok megtekint\u00e9s\u00e9hez csak tartsd ott a jel\u00f6l\u0151t.",
"download-tour":"T\u00fara let\u00f6lt\u00e9se offline megtekint\u00e9shez","change-to-drag-and-release":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa: megfog \u00e9s mozgat m\u00f3dra",accept:"Elfogad",cancel:"M\u00e9gsem","storage-not-provided-bookmark":"Pr\u00f3b\u00e1lja meg az oldalt megjel\u00f6lni \u00e9s \u00fajrat\u00f6lteni!","dont-display-again":"Ne mutasd \u00fajra","web-server-required":"Ez a t\u00fara nem j\u00e1tszat\u00f3 le helyi futtat\u00e1ssal, k\u00e9rlek t\u00f6lsd fel az internetre \u00e9s pr\u00f3b\u00e1ld meg \u00fajra\nM\u00e1sik megold\u00e1s, ha a Tourviewer applik\u00e1ci\u00f3ra h\u00fazod a t\u00fara f\u00e1jlt, vagy az azt tartalmaz\u00f3 t\u00fara mapp\u00e1t.",
download:"Let\u00f6lt\u00e9s","change-to-click-and-move":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa kattint \u00e9s k\u00f6rben\u00e9z m\u00f3dra",yes:"igen","delete-downloaded":"T\u00f6rl\u00e9s","use-safari-for-vr":"Azt javasoljuk, hogy haszn\u00e1lj Safari b\u00f6ng\u00e9sz\u0151t a VR n\u00e9zet megtekint\u00e9s\u00e9hez","exit-fullscreen":"Kil\u00e9p\u00e9s a teljesk\u00e9perny\u0151 m\u00f3db\u00f3l",no:"nem","download-failed":"Let\u00f6lt\u00e9s sikertelen","giroscope-disabled-http":"Az oldalt https el\u0151taggal sz\u00fcks\u00e9ges megnyitnod ahhoz, hogy a k\u00e9sz\u00fcl\u00e9ked mozg\u00e1s\u00e1t \u00e9rz\u00e9kelni tudja.",
"cookies-notice":"Ez a weboldal s\u00fctiket haszn\u00e1l a haszn\u00e1lati statisztik\u00e1k gy\u0171jt\u00e9s\u00e9hez. Tov\u00e1bbi inform\u00e1ci\u00f3\u00e9rt l\u00e1togasson el a <a>s\u00fctikre vonatkoz\u00f3 ir\u00e1nyelvekbe</a>.","use-cardboard":"Cardboard haszn\u00e1lata","launch-default-browser":"Futtat\u00e1s az alap\u00e9rtelmezett b\u00f6ng\u00e9sz\u0151ben","rotate-device":"Forgasd el a telefont!","exit-vr":"Kil\u00e9p\u00e9s a VR m\u00f3db\u00f3l","storage-not-provided-launch-from-desktop":"K\u00e9rlek ind\u00edtsd \u00fajra az oldalt az asztalon tal\u00e1lhat\u00f3 iconra kattintva.",
"disable-measure":"Stop measuring",downloading:"Let\u00f6lt\u00e9s","cardboard-v2":"Ha Cardboard 2.0 t\u00edpus\u00fa eszk\u00f6zt haszn\u00e1lsz, akkor a kapcsol\u00f3kkal ir\u00e1ny\u00edthatod a t\u00far\u00e1t, kattinthatsz az egyes hotspotokra","enable-video-audio-prompt":"Hang \u00e9s vide\u00f3 enged\u00e9lyez\u00e9se",reject:"Elutas\u00edt",downloaded:"Let\u00f6ltve offline megtekint\u00e9shez","samsung-internet-vr-app-info":"Ha Samsung Gear VR szem\u00fcveget szeretn\u00e9l haszn\u00e1lni, akkor nyisd meg a Samsung internetb\u00f6ng\u00e9sz\u0151ben a t\u00far\u00e1t.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Vide\u00f3 enged\u00e9lyez\u00e9se","giroscope-disabled-safari-request-permission":["A megjelen\u00edt\u0151 eszk\u00f6z\u00f6d nem adott hozz\u00e1f\u00e9r\u00e9st a mozg\u00e1s \u00e9rz\u00e9kel\u00e9s\u00e9hez ezen az oldalon.","Ahhoz hogy megfelel\u0151en l\u00e1sd az oldalt k\u00e9rlek enged\u00e9lyezd a hozz\u00e1f\u00e9r\u00e9st."],
"storage-not-provided-launch-from-homescreen":"Ind\u00edtsd \u00fajra a t\u00far\u00e1t a home ikonra kattintva.","enter-fullscreen":"Teljesk\u00e9perny\u0151","use-cardboard-v2":"Cardboard 2.0 haszn\u00e1lata",unmute:"N\u00e9m\u00edt\u00e1s kikapcsol\u00e1sa","enter-vr":"VR tartalom megtekint\u00e9se","enable-measure":"Start measuring","use-cardboard-info":"Haszn\u00e1lhatsz b\u00e1rmilyen google cardboard-ot ahhoz, hogy VR m\u00f3dban l\u00e1sd a t\u00far\u00e1t.","refresh-downloaded":"Friss\u00edt\u00e9s",
"use-default-cardboard":"Alap\u00e9rtelmezett haszn\u00e1lata","enable-audio-prompt":"Hang enged\u00e9lyez\u00e9se"},"ar-ar":{mute:"\u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u0635\u0648\u062a","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0633\u062d\u0628 \u0648\u0627\u0644\u0625\u0641\u0631\u0627\u062c",
accept:"\u0642\u0628\u0648\u0644",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0646\u0642\u0631 \u0648\u0627\u0644\u062a\u062d\u0631\u0643",
yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",no:"\u0644\u0627","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"\u062a\u0633\u062a\u062e\u062f\u0645 \u0635\u0641\u062d\u0629 \u0627\u0644\u0648\u064a\u0628 \u0647\u0630\u0647 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 \u0644\u062c\u0645\u0639 \u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645. \u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u060c \u064a\u0631\u062c\u0649 \u0632\u064a\u0627\u0631\u0629 <a> \u0633\u064a\u0627\u0633\u0629 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 </a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"\u064a\u0631\u0641\u0636","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a \u0648\u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a\u061f"},"ca-es":{mute:"Silenciar","cardboard-v1":"Si no esteu segurs de quina versi\u00f3 de cartr\u00f3 utilitzeu, seleccioneu el control de punt d'acc\u00e9s per defecte. Despr\u00e9s, simplement veureu un punt d'acc\u00e9s i espereu fins que s'activi l'acci\u00f3.",
"download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia","change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar",accept:"Accepta",cancel:"Cancel\u00b7lar","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.","dont-display-again":"No tornis a mostrar aquesta informaci\u00f3","web-server-required":"Aquesta visita virtual no es pot reproduir des d'una unitat local. Carregueu-lo a Internet i torneu-ho a provar.\nSi ho preferiu, arrossegueu el fitxer htm (o tota la carpeta de la visita virtual) a la icona de l'aplicaci\u00f3 TourViewer.",
download:"Descarregar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu",yes:"s\u00ed","delete-downloaded":"Suprimeix","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR","exit-fullscreen":"Surt de pantalla completa",no:"no","download-failed":"Error de desc\u00e0rrega","giroscope-disabled-http":"Accediu a aquesta p\u00e0gina web a trav\u00e9s de http de manera que el moviment i l\u2019orientaci\u00f3 del dispositiu i el mode VR estan desactivats, accediu-hi mitjan\u00e7ant https per habilitar-les.",
"cookies-notice":"Aquesta p\u00e0gina web utilitza cookies per recopilar estad\u00edstiques d\u2019\u00fas. Per obtenir m\u00e9s informaci\u00f3, visiteu la <a>Pol\u00edtica de cookies</a>.","use-cardboard":"Utilitzeu Cardboard","launch-default-browser":"Inicieu el navegador per defecte","rotate-device":"Gireu el dispositiu","exit-vr":"Surt de VR","storage-not-provided-launch-from-desktop":"Torneu a iniciar la visita virtual des de la icona de l'escriptori per a descarregar-la.","disable-measure":"Stop measuring",
downloading:"Baixant","cardboard-v2":"Si teniu unes Cardboard v2, que venen amb un bot\u00f3, podeu mirar cap a un punt de vista i pr\u00e9mer el bot\u00f3 per activar-lo.","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",reject:"Rebutjar",downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.","samsung-internet-vr-app-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, heu de fer que Samsung Internet sigui el vostre navegador predeterminat.",
"samsung-internet-vr-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, nom\u00e9s heu de posar el tel\u00e8fon m\u00f2bil als auriculars.","enable-video-prompt":"Activar v\u00eddeo?","giroscope-disabled-safari-request-permission":["Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.","Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana."],
"storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.","enter-fullscreen":"Entra a pantalla completa","use-cardboard-v2":"Utilitzeu Cardboard v2",unmute:"No activa","enter-vr":"Introdu\u00efu contingut de VR","enable-measure":"Start measuring","use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","refresh-downloaded":"Actualitzaci\u00f3","use-default-cardboard":"\u00das per defecte",
"enable-audio-prompt":"Activar \u00e0udio?"},"ru-ru":{mute:"\u0411\u0435\u0437 \u0437\u0432\u0443\u043a\u0430","cardboard-v1":"\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Cardboard \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0417\u0430\u0442\u0435\u043c \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"download-tour":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0440  \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435",
accept:"\u041f\u0440\u0438\u043d\u044f\u0442\u044c",download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","storage-not-provided-bookmark":"\u0412 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0435.",
"dont-display-again":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e","web-server-required":"\u042d\u0442\u043e\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0443\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.\n\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 htm-\u0444\u0430\u0439\u043b (\u0438\u043b\u0438 \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0430) \u043d\u0430 \u0437\u043d\u0430\u0447\u043e\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f TourViewer.",
cancel:"\u041e\u0442\u043c\u0435\u043d\u0430","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0430\u0436\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","use-safari-for-vr":"\u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c Safari \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0443\u0440\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 VR.",
"exit-fullscreen":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",no:"\u043d\u0435\u0442","download-failed":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","giroscope-disabled-http":"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u0442\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0447\u0435\u0440\u0435\u0437 http, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 https, \u0447\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445.",
"cookies-notice":"\u042d\u0442\u0430 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b cookie \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\u043c. <a>\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 cookie</a>.",
"use-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","rotate-device":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 VR",reject:"\u041e\u0442\u043a\u043b\u043e\u043d\u0438\u0442\u044c","disable-measure":"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f",downloading:"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435","cardboard-v2":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Cardboard v2 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?","storage-not-provided-launch-from-desktop":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435..",
downloaded:"\u042d\u0442\u043e\u0442 \u0442\u0443\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.","samsung-internet-vr-app-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c Samsung Internet \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.",
"samsung-internet-vr-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0434\u0435\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 \u0441\u0435\u0439\u0447\u0430\u0441.",
"enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430.",
"\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c\u00bb \u0438 \u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e."],
"storage-not-provided-launch-from-homescreen":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435.","enter-fullscreen":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c",
"use-cardboard-v2":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard v2",unmute:"\u0421\u043e \u0437\u0432\u0443\u043a\u043e\u043c","enter-vr":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c VR \u043a\u043e\u043d\u0442\u0435\u043d\u0442","enable-measure":"\u041d\u0430\u0447\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f","use-cardboard-info":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0443\u044e \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","use-default-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e?"},"nn-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
"download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k <a>retningslinjer for informasjonskapsler</a>.","use-cardboard":"Bruk Cardboard","launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned",
"cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.",
"samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],
"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard",
"enable-audio-prompt":"Aktivere audio?"},"es-es":{mute:"Silenciar","cardboard-v1":"Si no esta seguro de que versi\u00f3n de Cardboard debe usar escoja la selecci\u00f3n de hotspot por defecto. Solo tendr\u00e1 que apuntar al hotspot y esperar para que se ejecute la acci\u00f3n.","download-tour":"Descargar el tour para reproducirlo sin conexi\u00f3n","change-to-drag-and-release":"Cambiar el modo de control a arrastrar y soltar",accept:"Aceptar","use-cardboard-v2":"Usar Cardboard v2","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.",
"dont-display-again":"No volver a mostrar esta informaci\u00f3n","web-server-required":"Este tour virtual no puede reproducirse desde una unidad local. Por favor s\u00fabalo a internet y pruebe de nuevo.\nSi lo prefiere puede arrastrar el archivo html o la carpeta con el tour sobre el icono de la aplicaci\u00f3n Tour Viewer de su escritorio.",download:"Descargar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover",yes:"si","delete-downloaded":"Borrar","use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR",
"exit-fullscreen":"Salir de pantalla completa",no:"no","download-failed":"La descarga ha fallado","giroscope-disabled-http":"Est\u00e1 accediendo a esta p\u00e1gina web por http por lo que el acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabilitado, por favor acceda por https.","cookies-notice":"Esta p\u00e1gina usa cookies para recolectar estad\u00edsticas de uso. Para m\u00e1s informaci\u00f3n, visite la <a>Pol\u00edtica de Cookies</a>.","use-cardboard":"Usar Cardboard",
"launch-default-browser":"Lanzar en el navegador por defecto","rotate-device":"Por favor, gire el dispositivo","exit-vr":"Salir de VR","storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.","disable-measure":"Stop measuring",cancel:"Cancel",downloading:"Descargando","cardboard-v2":"Si tiene unas gafas Cardboard v2, que vienen con un bot\u00f3n, puede apuntar al hotspot y pulsar el bot\u00f3n para que se ejecute su acci\u00f3n.","enable-video-audio-prompt":"\u00bfActivar v\u00eddeo y audio?",
reject:"Rechazar",downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.","samsung-internet-vr-app-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, necesita hacer Samsung Internet su navegador por defecto.","samsung-internet-vr-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, solo tiene que poner ahora el dispositivo en las gafas.",
"enable-video-prompt":"\u00bfActivar v\u00eddeo?","giroscope-disabled-safari-request-permission":["El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.","Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra."],"storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa",
unmute:"Habilitar sonido","enter-vr":"Entrar al contenido VR","enable-measure":"Start measuring","use-cardboard-info":"Puede usar unas gafas compatibles con Google Cardboard para ver este contenido en VR.","refresh-downloaded":"Actualizar","use-default-cardboard":"Usar versi\u00f3n por defecto","enable-audio-prompt":"\u00bfActivar audio?"},"el-gr":{mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b1\u03c0\u03b5\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03ce\u03c3\u03b5\u03c4\u03b5",accept:"\u0391\u03c0\u03bf\u03b4\u03ad\u03c7\u03bf\u03bc\u03b1\u03b9",download:"Download",
"storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03ba\u03b9\u03bd\u03b7\u03b8\u03b5\u03af\u03c4\u03b5",
yes:"\u039d\u03b1\u03af","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",no:"\u03cc\u03c7\u03b9","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"\u0391\u03c5\u03c4\u03ae \u03b7 \u03b9\u03c3\u03c4\u03bf\u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af cookie \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c3\u03c5\u03bb\u03bb\u03bf\u03b3\u03ae \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ce\u03bd \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03c9\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7\u03c2. \u0393\u03b9\u03b1 \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2, \u03b5\u03c0\u03b9\u03c3\u03ba\u03b5\u03c6\u03b8\u03b5\u03af\u03c4\u03b5 \u03c4\u03b7\u03bd <a> \u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae cookie </a>.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"\u0391\u03c0\u03bf\u03c1\u03c1\u03af\u03c0\u03c4\u03c9","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5;"},
"da-dk":{mute:"Deaktiver lyd","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe",accept:"Acceptere",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",cancel:"Cancel","change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte",yes:"Ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Afslut fuldsk\u00e6rm",no:"ingen","download-failed":"Download failed",
"giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.","cookies-notice":"Denne webside bruger cookies til at indsamle brugsstatistikker. For mere information, se venligst <a> Cookiepolitik </a>.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Afvise","disable-measure":"Stop measuring",
downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.","enable-video-prompt":"Aktiv\u00e9r video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Indtast fuldsk\u00e6rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktiv\u00e9r lyd","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktiv\u00e9r lyd?"},"pl-pl":{mute:"Wycisz",
"cardboard-v1":"Je\u015bli nie masz pewno\u015bci, kt\u00f3rej wersji Cardboard u\u017cywasz, wybierz domy\u015blne sterowanie hotspotem. Nast\u0119pnie skieruj wzrok na hotspot i poczekaj na uruchomienie ich dzia\u0142ania.","download-tour":"Pobierz spacer do odtwarzania w trybie offline","change-to-drag-and-release":"Zmie\u0144 tryb na Przeci\u0105gnij i Upu\u015b\u0107",accept:"Zaakceptowa\u0107",cancel:"Anuluj","storage-not-provided-bookmark":"Odmowa zapisu w pami\u0119ci sta\u0142ej. Spr\u00f3buj doda\u0107 stron\u0119 do zak\u0142adek i za\u0142aduj j\u0105 ponownie.",
"dont-display-again":"Nie wy\u015bwietlaj tego ponownie","web-server-required":"Nie mo\u017cna odtworzy\u0107 tego spaceru z dysku lokalnego. Prze\u015blij go do internetu i spr\u00f3buj ponownie.\nMo\u017cesz te\u017c przeci\u0105gn\u0105\u0107 plik htm (lub ca\u0142y folder spaceru) na ikon\u0119 aplikacji TourViewer.",download:"Pobierz","change-to-click-and-move":"Zmie\u0144 tryb na to Kliknij i Przenie\u015b",yes:"tak","delete-downloaded":"Usu\u0144","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR",
"exit-fullscreen":"Wyjd\u017a z trybu pe\u0142nego ekranu",no:"nie","download-failed":"Pobieranie nie powiod\u0142o si\u0119","giroscope-disabled-http":"To jest dost\u0119p za po\u015brednictwem protoko\u0142u http, wi\u0119c dost\u0119p do ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone. Prze\u0142\u0105cz si\u0119\u00a0na protok\u00f3\u0142 https, aby je w\u0142\u0105czy\u0107.","cookies-notice":"Ta strona u\u017cywa plik\u00f3w cookie do zbierania statystyk u\u017cytkowania. Aby uzyska\u0107 wi\u0119cej informacji, odwied\u017a <a>Zasady dotycz\u0105ce plik\u00f3w cookie</a>.",
"use-cardboard":"U\u017cyj Cardboard","launch-default-browser":"Uruchom w domy\u015blnej przegl\u0105darce","rotate-device":"Obr\u00f3\u0107 urz\u0105dzenie","exit-vr":"Wyjd\u017a z VR","storage-not-provided-launch-from-desktop":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 pulpitu.","disable-measure":"Stop measuring",downloading:"Pobieranie","cardboard-v2":"Je\u015bli masz okulary Cardboard v2, kt\u00f3re maj\u0105 przycisk, mo\u017cesz spojrze\u0107 na hotspot i nacisn\u0105\u0107 przycisk, aby uruchomi\u0107 ich dzia\u0142anie.",
"enable-video-audio-prompt":"W\u0142\u0105czy\u0107 video i d\u017awi\u0119k?",reject:"Odrzuca\u0107",downloaded:"Spacer jest pobierany do odtwarzania w trybie offline.","samsung-internet-vr-app-info":"Je\u015bli masz okulary zgodne z Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, mo\u017cesz je u\u017cy\u0107 do przegl\u0105dania zawarto\u015bci w VR. Musisz w tym przypadku ustawi\u0107 Samsung Internet jako domy\u015bln\u0105 przegl\u0105dark\u0119.","samsung-internet-vr-info":"Je\u015bli masz okulary Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, to mo\u017cesz u\u017cy\u0107 ich do przegl\u0105dania zawarto\u015bci w VR. Umie\u015b\u0107 teraz telefon w okularach Gear VR.",
"enable-video-prompt":"W\u0142\u0105czy\u0107 video?","giroscope-disabled-safari-request-permission":["Dost\u0119p do funkcji ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone dla tej strony.","Aby poprawnie wy\u015bwietli\u0107 stron\u0119, kliknij kontynuuj i zaakceptuj wszystkie zgody."],"storage-not-provided-launch-from-homescreen":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 strony g\u0142\u00f3wnej.","enter-fullscreen":"Uruchom pe\u0142ny ekran","use-cardboard-v2":"U\u017cyj Cardboard v2",
unmute:"Wy\u0142\u0105cz Wycisz","enter-vr":"Wejd\u017a do VR","enable-measure":"Start measuring","use-cardboard-info":"Do wy\u015bwietlania w VR mo\u017cesz u\u017cy\u0107 oklular\u00f3w zgodnych z Google Cardboard.","refresh-downloaded":"Od\u015bwie\u017c","use-default-cardboard":"U\u017cyj Domy\u015blnych","enable-audio-prompt":"W\u0142\u0105czy\u0107 d\u017awi\u0119k?"},"fr-fr":{mute:"Couper le son","cardboard-v1":"Si vous n'\u00eates pas s\u00fbr de la version de votre Cardboard, s\u00e9lectionnez le contr\u00f4le de hotspot par d\u00e9faut. Ensuite, vous n'aurez qu'\u00e0 fixer un hotspot du regard et attendre que l'action se d\u00e9clenche.",
"download-tour":"T\u00e9l\u00e9charger la visite pour jouer hors ligne","change-to-drag-and-release":"Changer le mode de contr\u00f4le en glisser-d\u00e9poser",accept:"Accepter",cancel:"Annuler","storage-not-provided-bookmark":"Stockage persistant refus\u00e9. Essayez de mettre cette page Web en signet et de la recharger.","dont-display-again":"Ne plus afficher ces informations","web-server-required":"Cette visite virtuelle ne peut pas \u00eatre lue \u00e0 partir d'un lecteur local. Veuillez la t\u00e9l\u00e9charger sur Internet et r\u00e9essayer.\nSi vous pr\u00e9f\u00e9rez, faites glisser le fichier htm (ou l'int\u00e9gralit\u00e9 du dossier de la visite) sur l'ic\u00f4ne de l'application TourViewer.",
download:"T\u00e9l\u00e9charger","change-to-click-and-move":"Changer le mode de contr\u00f4le pour cliquer et d\u00e9placer",yes:"Oui","delete-downloaded":"Supprimer","use-safari-for-vr":"Nous recommandons Safari pour visionner cette visite en mode VR","exit-fullscreen":"Quitter le mode plein \u00e9cran",no:"Non","download-failed":"\u00c9chec du t\u00e9l\u00e9chargement","giroscope-disabled-http":"Vous acc\u00e9dez \u00e0 cette page Web via http, donc l'acc\u00e8s au mouvement et \u00e0 l'orientation de votre appareil et le mode VR sont d\u00e9sactiv\u00e9s, veuillez y acc\u00e9der via https pour les activer.",
"cookies-notice":"Cette page Web utilise des cookies pour collecter des statistiques d'utilisation. Pour plus d'informations, veuillez consulter la <a>Politique en mati\u00e8re de cookies</a>.","use-cardboard":"Utiliser le Cardboard","launch-default-browser":"Lancer dans le navigateur par d\u00e9faut","rotate-device":"Veuillez faire pivoter votre appareil","exit-vr":"Quitter la r\u00e9alit\u00e9 virtuelle","storage-not-provided-launch-from-desktop":"Veuillez relancer la visite \u00e0 partir de l'ic\u00f4ne du bureau pour t\u00e9l\u00e9charger.",
"disable-measure":"Arr\u00eatez de mesurer",downloading:"T\u00e9l\u00e9chargement","cardboard-v2":"Si vous disposez d'un casque Cardboard v2, qui est \u00e9quip\u00e9 d'un bouton, vous pouvez fixer un hotspot du regard et appuyer sur le bouton pour d\u00e9clencher son action.","enable-video-audio-prompt":"Activer la vid\u00e9o et l'audio?",reject:"Rejeter",downloaded:"Cette visite est t\u00e9l\u00e9charg\u00e9e pour jouer hors ligne.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.",
"samsung-internet-vr-info":"Si vous disposez d'un casque Gear VR compatible avec cet appareil et que vous avez install\u00e9 Samsung Internet pour VR, vous pouvez \u00e9galement l'utiliser pour visualiser ce contenu en r\u00e9alit\u00e9 virtuelle. Il vous suffit de placer maintenant le t\u00e9l\u00e9phone mobile sur le casque.","enable-video-prompt":"Activer la vid\u00e9o?","giroscope-disabled-safari-request-permission":["L'acc\u00e8s au mouvement et \u00e0 l'orientation de votre appareil et le mode VR sont d\u00e9sactiv\u00e9s pour ce site.",
"Pour voir correctement cette page Web, veuillez cliquer sur Continuer et accepter la demande d'autorisation si vous y \u00eates invit\u00e9."],"storage-not-provided-launch-from-homescreen":"Veuillez relancer la visite \u00e0 partir de l'ic\u00f4ne de l'\u00e9cran d'accueil pour t\u00e9l\u00e9charger.","enter-fullscreen":"Passer en mode plein \u00e9cran","use-cardboard-v2":"Utiliser le Cardboard v2",unmute:"R\u00e9tablir le son","enter-vr":"Entrez le contenu VR","enable-measure":"Commencer \u00e0 mesurer",
"use-cardboard-info":"Vous pouvez utiliser n'importe quel casque Google Cardboard compatible pour visualiser ce contenu en r\u00e9alit\u00e9 virtuelle.","refresh-downloaded":"Rafra\u00eechir","use-default-cardboard":"Utiliser par d\u00e9faut","enable-audio-prompt":"Activer le son?"},"de-de":{mute:"Deaktiviere Audio","cardboard-v1":"Wenn Sie sich nicht sicher sind, welche Cardboard-Version Sie verwenden, w\u00e4hlen Sie die Standard-Hotspot-Steuerung. Sie schauen dann einfach auf einen Hotspot und warten, bis die jeweilige Aktion ausgel\u00f6st wird.",
"download-tour":"Tour zum Offline-Abspielen herunterladen","giroscope-disabled-safari-request-permission":["Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts ist f\u00fcr diese Seite deaktiviert.","Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden."],accept:"Akzeptieren",download:"Download",downloading:"Downloading","dont-display-again":"Diese Info nicht mehr anzeigen","web-server-required":"Diese Virtual Tour kann nicht von einem lokalen Laufwerk abgespielt werden. Laden Sie Ihre Tour ins Internet und versuchen Sie es erneut.\nAlternativ, ziehen Sie die htm Datei (oder den ganzen Tour Ordner) auf das Icon der Tour Viewer App, um die Tour direkt lokal abzuspielen.",
cancel:"Abbrechen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu drehen",yes:"ja","delete-downloaded":"L\u00f6schen","use-safari-for-vr":"Wir empfehlen Safari, um diese Tour im VR-Modus zu sehen","exit-fullscreen":"Vollbild verlassen",no:"nein","storage-not-provided-bookmark":"Dauerhafte Speicherung verweigert. Versuchen Sie, diese Seite als Lesezeichen zu speichern und erneut zu laden.","download-failed":"Download fehlgeschlagen","giroscope-disabled-http":"Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.",
"cookies-notice":"Diese Webseite verwendet Cookies, um Nutzungsstatistiken zu sammeln. Weitere Informationen finden Sie in der <a>Cookie-Richtlinie</a>.","use-cardboard":"Cardboard verwenden","launch-default-browser":"Im Standardbrowser starten","rotate-device":"Bitte drehen Sie Ihr Ger\u00e4t","exit-vr":"VR verlassen",reject:"Ablehnen","disable-measure":"Messung beenden","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zu Ziehen und Loslassen","cardboard-v2":"Wenn Sie ein Cardboard v2-Headset haben, das mit einer Taste ausgestattet ist, k\u00f6nnen Sie auf einen Hotspot blicken und die Taste dr\u00fccken, um dessen Aktion auszul\u00f6sen.",
"enable-video-audio-prompt":"Video und Audio aktivieren?","storage-not-provided-launch-from-desktop":"Bitte starten Sie die Tour erneut \u00fcber das Desktop-Symbol, um sie herunterzuladen.",downloaded:"Diese Tour ist zum Offline-Abspielen heruntergeladen.","samsung-internet-vr-app-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR anzusehen. Machen Sie dazu Samsung Internet zu Ihrem Standardbrowser.",
"samsung-internet-vr-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR zu sehen. Setzen Sie dazu nun das Mobiltelefon auf das Headset.","enable-video-prompt":"Video aktivieren?","storage-not-provided-launch-from-homescreen":"Bitte starten Sie die Tour erneut \u00fcber das Symbol auf dem Startbildschirm, um sie herunterzuladen.","enter-fullscreen":"Vollbildmodus aktivieren",
"use-cardboard-v2":"Cardboard v2 verwenden",unmute:"Audio aktivieren","enter-vr":"VR Inhalt eingeben","enable-measure":"Messung beginnen","use-cardboard-info":"Sie k\u00f6nnen jedes kompatible Google Cardboard-Headset verwenden, um diese Inhalte in VR zu sehen.","refresh-downloaded":"Aktualisieren","use-default-cardboard":"Standard verwenden","enable-audio-prompt":"Audio aktivieren?"},"tr-tr":{mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin",accept:"Kabul etmek",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.",
cancel:"Cancel","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin",yes:"evet","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",no:"hay\u0131r","download-failed":"Download failed","giroscope-disabled-http":"You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.",
"cookies-notice":"Bu web sayfas\u0131, kullan\u0131m istatistiklerini toplamak i\u00e7in tan\u0131mlama bilgileri kullan\u0131r. Daha fazla bilgi i\u00e7in l\u00fctfen <a>\u00c7erez Politikas\u0131n\u0131</a> ziyaret edin.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Reddet","disable-measure":"Stop measuring",downloading:"Downloading","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.",
"enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you need to make Samsung Internet your default browser.","samsung-internet-vr-info":"If you have a Gear VR headset compatible with this device and you have installed Samsung Internet for VR you can also use it to view this content in VR, you just need to put the mobile phone on the headset now.",
"enable-video-prompt":"Video aktif edilsin mi?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Tam ekran yap","use-cardboard-v2":"Use Cardboard v2",unmute:"Sesi etkinle\u015ftir","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Ses aktif edilsin mi?"}}});
define("oF",["require","lo","il","mj"],function(a){function e(f){return m[c][f]||m.en[f]||f}var h=a("lo"),m=a("il"),k=a("mj"),b;for(b in m)m[b.substr(0,2)]=m[b];m.en["giroscope-disabled-safari-toggle-on"]='<div>Your device\'s motion and orientation access and VR mode are disabled for this site.</div>\n<div>To properly see this webpage, please enable it:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Access you device\'s settings: "Settings > Safari > Privacy & Security" and toggle on: "Motion & Orientation Access".</li>\n<li>Refresh the browser.</li>\n</ul>';m["zh-hk"]=
m["zh-mo"]=m["zh-tw"];m.no=m.nn;var g=function(){var f=window.navigator,l=["language","browserLanguage","systemLanguage","userLanguage"],p,q,n=[];(p=k.getQueryParameter("language"))&&n.push(p.toLowerCase());var r=f.languages;if(Array.isArray(r))for(p=0;p<r.length;p++)(q=r[p])&&q.length&&(q=q.toLowerCase(),-1==n.indexOf(q)&&n.push(q));for(p=0;p<l.length;p++)(q=f[l[p]])&&q.length&&(q=q.toLowerCase(),-1==n.indexOf(q)&&n.push(q));return n}(),d=Object.keys(m),c=function(){for(var f=0;f<g.length;f++){var l=
g[f];if(0<=d.indexOf(l))return l;l=l.substr(0,2);if(0<=d.indexOf(l))return l}return"en"}();e.log=function(){h.log("translation lang: "+c);h.log("browser lang: "+g.join(", "))};return e});
define("oT",["require"],function(){var a={};a.src=a.z1a="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=";return a});
define("dZ",["require","oT","v"],function(a){function e(q){var n=document.createElement("video");n.setAttribute("webkit-playsinline","true");n.setAttribute("playsinline","true");n.src=g.src;var r=n.play();if(r){var t=!1;r.then(function(){t=!0;n.pause();q(!1)})["catch"](function(){t||q(!0)})}else n.pause(),q(!1)}function h(q){var n=!1,r=document.createElement("video");r.setAttribute("webkit-playsinline","true");r.setAttribute("playsinline","true");r.src="";(r=r.play())?r["catch"](function(t){n="NotAllowedError"!==
t.name}).then(function(){q(!n)}):q(!0)}function m(q){p=q;f=!0;k()}function k(){for(;l.length;)l.shift().call(window,p)}function b(){c||(c=!0,d.browser()==d.dm&&11<=d.TP()?m(!0):d.browser()==d.Xh?e(m):h(function(q){q?e(m):m(!1)}))}var g=a("oT"),d=a("v"),c=!1,f=!1,l=[],p;return{test:function(q){f||c||b();l.push(q);f&&k()}}});
define("bE",["require","oF","lU","dZ"],function(a){function e(g,d){this.gD=g;this.Ao=d;this.fq=this.fq.bind(this);this.gq=!1}function h(){this.fq=this.fq.bind(this);this.Haa=this.Haa.bind(this);this.A="not tested";this.nha=[];this.Ht=[];this.qV=!1;k.wait(this.Haa)}var m=a("oF"),k=a("lU"),b=a("dZ");h.prototype.K_a=function(){"not tested"==this.A&&(this.A="testing",b.test(function(g){this.A=g?"requires action":"allowed";this.VLa()}.bind(this)))};h.prototype.VLa=function(){"allowed"==this.A?this.fq(!0):
this.qV&&(this.qV=!1,this.Ht.forEach(function(g){g.request()}))};h.prototype.Qea=function(g){"allowed"==this.A?g.call(this,!0):this.nha.push(g)};h.prototype.request=function(g){this.Xr(g)};h.prototype.cancel=function(g){this.PA(g)};h.prototype.active=function(){return"allowed"==this.A};h.prototype.FZa=function(){"allowed"==this.A&&(this.A="requires action")};h.prototype.Haa=function(){setTimeout(this.nFa.bind(this),300);this.mr(!0)};h.prototype.nFa=function(){for(;this.Ht.length;)this.Ht.pop().cancel()};
h.prototype.Xr=function(g){"testing"==this.A||"not tested"==this.A?(this.P1(g),this.qV=!0):"requires action"==this.A&&this.P1(g).request()};h.prototype.PA=function(g){"testing"==this.A||"not tested"==this.A?this.qV=!1:"requires action"==this.A&&this.P1(g).cancel()};h.prototype.fq=function(g){var d=this.Ht;this.Ht=[];d.forEach(function(c){g||c.gD.set("mute",!0);c.cancel()});this.mr(g)};h.prototype.mr=function(g){this.A="allowed";this.nha.forEach(function(d){d.call(window,g)})};h.prototype.P1=function(g){for(var d=
null,c=0;c<this.Ht.length&&!d;c++)this.Ht[c].gD==g&&(d=this.Ht[c]);d||(d=new e(g,this.fq),this.Ht.push(d));return d};e.prototype.request=function(){this.gq||(this.gq=!0,"button"==this.gD.get("mediaActivationMode")?this.gD.uH.eYa(this.fq):this.gD.WF.show(m("enable-audio-prompt"),this.fq))};e.prototype.cancel=function(){this.gD.uH.TTa(this.fq);this.gD.WF.hide(this.fq)};e.prototype.fq=function(g){this.Ao(!1!==g);this.gq=!1};return new h});
define("fS",["require","oH","mv","bE","hd"],function(a){var e=a("oH"),h=a("mv"),m=a("bE"),k=a("hd");if(!h.Rea||!1==="AudioContext"in window)return null;var b=new AudioContext;m.Qea(function(){"running"!==b.state&&b.resume()});k.bind(e.pa,function(){k.visible&&"interrupted"==b.state&&b.resume()});return b});
define("ef","require fS oH v mj mv hd".split(" "),function(a){function e(d){this.mi=this.mi.bind(this);this.Nr=this.Nr.bind(this);this.jf=!1;this.yq=this.US=1;this.fT=!0;this.Dx=this.JE=null;this.R=d;this.R.addEventListener("play",this.mi,!0);this.R.addEventListener("playing",this.Nr,!0);this.zra();this.WC()}var h=a("fS");a("oH");var m=a("v"),k=a("mj"),b=a("mv");a("hd");var g;e.prototype.clear=function(){this.R&&(this.UQa(),this.R.removeEventListener("play",this.mi,!0),this.R.removeEventListener("playing",
this.Nr,!0),this.R=null)};e.prototype.zra=function(){b.Rea&&m.browser()==m.Xh&&h&&!this.JE&&this.Hx()&&(g||(g=h.createDelay(),g.delayTime.value=.3,g.connect(h.destination)),this.JE=h.createMediaElementSource(this.R),this.Dx=h.createGain(),this.JE.connect(this.Dx),this.Dx.connect(g))};e.prototype.UQa=function(){this.JE&&(this.JE.disconnect(),this.JE=null);this.Dx&&(this.Dx.disconnect(),this.Dx=null)};e.prototype.PYa=function(d){this.fT!=d&&(this.R.log("AudioController","set hasAudio: "+d),this.fT=
d,this.WC())};e.prototype.Hf=function(d){this.jf!=d&&(this.R.log("AudioController","set muted: "+d),this.jf=d,this.WC())};e.prototype.jw=function(d){this.yq!=d&&(this.R.log("AudioController","set volume: "+d),this.yq=d,this.WC())};e.prototype.XP=function(d){this.US!=d&&(this.R.log("AudioController","set gain: "+d),this.US=Math.max(0,Math.min(1,d)),this.WC())};e.prototype.mi=function(){this.WC()};e.prototype.Nr=function(){this.WC()};e.prototype.WC=function(){this.R.log("AudioController","updateVolume paused: "+
this.R.paused+" outputVolume: "+(!this.fT||this.jf?0:this.yq*this.US));if(!this.R.paused){var d=!this.fT||this.jf?0:this.yq*this.US;0<d&&1>d&&this.zra();this.Dx?(this.Dx.gain.value=d,this.R.volume=1):this.R.volume=d;this.R.muted=0==d}};e.prototype.Hx=function(){var d=this.R.currentSrc||this.R.children.length&&this.R.children[0].src||"";k.qz(d)&&(d=void 0);return d};return e});define("oe",["require"],function(){return{Bn:"video",bBa:"audio"}});
define("nb","require lo oH kO hT cy gi v mj iq hd".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("kO"),k=a("hT"),b=a("cy"),g=a("gi"),d=a("v"),c=a("mj"),f=a("iq"),l=a("hd"),p=e.extend(g,function(q){g.call(this);this.R=q;this.WB=this.WB.bind(this);this.Ju=this.Ju.bind(this);this.tl=this.tl.bind(this);this.aC=this.aC.bind(this);this.zj=this.zj.bind(this);this.wl=this.wl.bind(this);this.mi=this.mi.bind(this);this.Nr=this.Nr.bind(this);this.lO=this.lO.bind(this);this.R.addEventListener("ended",this.tl,
!0);this.R.addEventListener("pause",this.wl,!1);this.R.addEventListener("stalled",this.wl,!1);this.R.addEventListener("waiting",this.wl,!1);this.R.addEventListener("canplay",this.WB,!0);this.R.addEventListener("canplaythrough",this.Ju,!1);this.R.addEventListener("loadedmetadata",this.zj,!0);this.R.addEventListener("play",this.mi,!1);this.R.addEventListener("playing",this.Nr,!1);this.R.addEventListener("error",this.aC,!1);this.g4=!1;this.A=m.T;this.wG=this.Th=null;l.bind(h.pa,this.fTa,this)});p.prototype.clear=
function(){this.R&&(this.R.removeEventListener("ended",this.tl,!0),this.R.removeEventListener("pause",this.wl,!1),this.R.removeEventListener("stalled",this.wl,!1),this.R.removeEventListener("waiting",this.wl,!1),this.R.removeEventListener("canplay",this.WB,!0),this.R.removeEventListener("canplaythrough",this.Ju,!1),this.R.removeEventListener("loadedmetadata",this.zj,!0),this.R.removeEventListener("play",this.mi,!1),this.R.removeEventListener("error",this.aC,!1),this.R=null)};p.prototype.play=function(){this.R.log("PlaybackController",
"play");this.wG=m.X;this.VM()};p.prototype.stop=function(){this.R.log("PlaybackController","stop");this.wG=m.T;this.VM()};p.prototype.getState=function(){return this.Th||this.A};p.prototype.wD=function(){return this.R.readyState==this.R.HAVE_NOTHING||this.R.readyState==this.R.HAVE_METADATA||0===this.R.currentTime?!1:!0};p.prototype.VM=function(){!this.Th&&this.wG&&(this.Th=this.wG,this.wG=null,this.Th==m.X?this.g$():this.f$())};p.prototype.fTa=function(){if(l.visible)this.R.log("PlaybackController",
"visibile changed to true, setting state to "+this.A),this.Th=this.A,this.Th==m.X?this.g$():this.f$();else if(!this.R.paused){this.R.log("PlaybackController","paused by visibile changed to false");var q=this.R.pause();q&&q["catch"](this.aC)}};p.prototype.Hx=function(){return this.R.currentSrc||this.R.children.length&&this.R.children[0].src||""};p.prototype.g$=function(){var q=this.Hx();this.nW(q&&!c.qz(q));this.uR=d.browser()==d.Xh;this.R.paused?(this.R.log("PlaybackController","startPlaying calling play"),
this.R.muted=!0,this.R.log("PlaybackController","this._media.play()"),(q=this.R.play())&&q["catch"](this.aC)):(this.R.log("PlaybackController","startPlaying already playing"),this.mi())};p.prototype.Nr=function(){this.R.log("PlaybackController","onPlaying event received. Visible: "+l.visible)};p.prototype.mi=function(){this.Th==m.X?(this.R.log("PlaybackController","onPlay event received when waiting to play"),this.Th=null,this.A=m.X,this.trigger(new b(p.y0)),this.VM()):this.R.log("PlaybackController",
"onPlay event received. Visible: "+l.visible)};p.prototype.f$=function(){this.nW(!1);this.uR=!1;if(this.R.paused)this.R.log("PlaybackController","startPausing already paused"),this.wl();else{this.R.log("PlaybackController","startPausing calling pause");var q=this.R.pause();q&&q["catch"](this.aC)}};p.prototype.wl=function(){this.Th==m.T?(this.R.log("PlaybackController","onPause event received when waiting to stop"),this.Th=null,this.A=m.T,this.VM()):l.visible?(this.R.log("PlaybackController","onPause event received without calling to pause"),
(this.A==m.X&&!this.Th||this.Th==m.X)&&!this.R.hasAttribute("loop")&&!isNaN(this.R.duration)&&this.R.currentTime==this.R.duration&&0<this.R.duration&&this.tl(),this.lO()):this.R.log("PlaybackController","onPause event received when not visible")};p.prototype.WB=function(){this.R.log("PlaybackController","on can play");this.lO()};p.prototype.Ju=function(){this.R.log("PlaybackController","can play through");this.lO();this.nW(!1)};p.prototype.lO=function(){if(this.Cra()){if(this.uR&&0==this.R.currentTime){this.R.log("PlaybackController",
"updatePlaying applying ios hack");this.uR=!1;try{this.R.currentTime=.3}catch(q){}}d.browser()!=d.eE&&this.uqa()}};p.prototype.Cra=function(){return this.A==m.X&&l.visible&&this.R.paused&&3<=this.R.readyState};p.prototype.uqa=function(q){this.vqa||(q?this.Cra()&&(this.R.log("PlaybackController","updatePlaying retrying play"),this.Th=m.X,this.g$()):this.vqa=setTimeout(function(){this.vqa=null;this.uqa(!0)}.bind(this),500))};p.prototype.aC=function(){this.Th==m.X&&(this.R.log("PlaybackController","onError waiting to play"),
this.Th=null,this.wG?this.VM():d.browser()==d.Xh?this.trigger(new b(p.c0)):this.Th=m.X)};p.prototype.zj=function(){this.R.log("PlaybackController","on loaded metadata");!isNaN(this.R.duration)&&this.R.currentTime==this.R.duration&&0<this.R.duration&&this.tl()};p.prototype.tl=function(){this.R.log("PlaybackController","onEnded");this.uR=!1;if(this.A==m.X&&!this.Th||this.Th==m.T)this.R.log("PlaybackController","onEnded finalizing video"),this.nW(!1),this.Th=m.T,this.f$(),this.trigger(new b(p.Qj))};
p.prototype.nW=function(q){this.g4!=q&&(this.R.log("PlaybackController","downloading changed to: "+q),(this.g4=q)?f.z_a(k.wfa):f.y_a(k.wfa))};p.c0="deactivated";p.Qj="end";p.y0="play";return p});
define("B",["require","lo","oH","cy","gi"],function(a){var e=a("lo"),h=a("oH");a("cy");var m=a("gi");a=e.extend(m,function(k){m.call(this);this.zj=this.zj.bind(this);this.q7=this.q7.bind(this);this.ki=this.ki.bind(this);this.R=k;this.Hk=null;this.ve=[];this.R.addEventListener("loadedmetadata",this.zj,!0);this.R.textTracks.addEventListener("addtrack",this.q7,!1)});a.prototype.set=function(k){k&&this.NDa(k)};a.prototype.clear=function(){this.kOa()};a.prototype.ZO=function(){var k=this.Hk&&this.Hk.track.activeCues;
k&&(k=Array.prototype.slice.call(k,0));return k||[]};a.prototype.zj=function(){this.uta()};a.prototype.q7=function(){this.uta()};a.prototype.ki=function(){this.Qqa(this.Hk.track.activeCues)};a.prototype.Qqa=function(k){k||(k=[]);if(0!=this.ve.length||0!=k.length)this.ve=Array.prototype.slice.call(k),this.trigger(h.Wk,this.ve)};a.prototype.NDa=function(k){this.R.log("TextTracksController","add text track src: "+k);this.Hk=document.createElement("track");this.Hk.kind="subtitles";this.Hk.src=k;this.R.appendChild(this.Hk)};
a.prototype.kOa=function(){this.Hk&&(this.R.log("TextTracksController","remove text track"),this.Hk.track.removeEventListener("cuechange",this.ki),this.Hk.track.mode="disabled",this.Hk.src="",this.R.removeChild(this.Hk),this.Hk=null,this.Qqa([]))};a.prototype.uta=function(){for(var k=0;k<this.R.textTracks.length;k++){var b=this.R.textTracks[k];b.removeEventListener("cuechange",this.ki);b.mode=this.Hk&&b==this.Hk.track?"hidden":"disabled";"hidden"==b.mode&&b.addEventListener("cuechange",this.ki)}};
return a});
define("ia",["require","exports","mj"],function(a,e,h){return function(){function m(){}m.is=function(k,b){k=h.parse(k).BUa;return-1!=b.indexOf(k)};m.qz=function(k,b){return!!k&&b.some(function(g){return 0===k.indexOf(g)})};m.Tfa=[".mp4",".m4v",".m4p"];m.MBa=[".hevc"];m.Bfa=[".mov"];m.VCa=[".webm"];m.gCa=[".ogv",".ogg"];m.HLS=[".m3u8"];m.YCa=[".json"];m.OBa=".jpg .jpeg .png .webp .gif .avif .apng .bmp".split(" ");m.Bn=".m3u8 .mpd .mp4 .m4v .m4p .webm .ogv .ogg .mpg .mpeg .m3u8 .mpd".split(" ");m.PBa=
["data:image/"];return m}()});
define("ew","require lo oH cy gi v ia".split(" "),function(a){var e=a("lo");a("oH");var h=a("cy"),m=a("gi"),k=a("v"),b=a("ia"),g=e.extend(m,function(d){m.call(this);this.R=d;this.Ju=this.Ju.bind(this);this.wl=this.wl.bind(this);this.mi=this.mi.bind(this);this.zj=this.zj.bind(this);this.tl=this.tl.bind(this);this.YU=this.YU.bind(this);this.Ye=this.Ye.bind(this);this.I6=this.cG=this.PC=void 0;this.A$=0;this.R.addEventListener("ended",this.tl,!0);this.R.addEventListener("pause",this.wl,!1);this.R.addEventListener("canplaythrough",
this.Ju,!1);this.R.addEventListener("timeupdate",this.YU,!1);this.R.addEventListener("play",this.mi,!1);this.R.addEventListener("playing",this.Nr,!1)});g.prototype.clear=function(){this.R&&(this.R.removeEventListener("ended",this.tl,!0),this.R.removeEventListener("pause",this.wl,!1),this.R.removeEventListener("canplaythrough",this.Ju,!1),this.R.removeEventListener("timeupdate",this.YU,!1),this.R.removeEventListener("play",this.mi,!1),this.R.removeEventListener("playing",this.Nr,!1),this.R=null,this.PC&&
clearInterval(this.PC))};g.prototype.setTime=function(d){if(!this.R.srcObject){this.A$=0;this.RT=void 0;this.R.log("TimeController","setTime: "+d);k.vba()&&!b.is(this.Hx(),b.HLS)?this.FJ=d||0:this.FJ=void 0;try{this.R.currentTime=d}catch(c){}k.browser()==k.tw||k.browser()==k.eE||k.hd()==k.$I&&0==d||(this.cG=d,this.Usa())}};g.prototype.getTime=function(){return this.cG||this.R.currentTime||0};g.prototype.bj=function(){return this.R.duration||0};g.prototype.mi=function(){this.N9(!0)};g.prototype.wl=
function(){this.N9(!1);this.RT=void 0};g.prototype.Ju=function(){this.R.log("TimeController","on can play through");this.Usa()};g.prototype.tl=function(){this.FJ=void 0;this.N9(!1)};g.prototype.zj=function(){this.trigger(new h(g.Ei))};g.prototype.Usa=function(){if(this.R.readyState>=this.R.HAVE_ENOUGH_DATA&&void 0!==this.cG){this.R.log("TimeController","updateCurrentTime when can play through set time to: "+this.cG);try{this.R.currentTime=this.cG}catch(d){}this.cG=void 0}};g.prototype.Ye=function(){this.trigger(new h(g.Jf))};
g.prototype.YU=function(){if(k.vba()&&!k.rwa()&&!this.R.paused&&this.R.readyState>=this.R.HAVE_ENOUGH_DATA){var d=(new Date).getTime();this.RT||(this.RT=d);this.I6&&500<d-this.I6&&(this.A$++,.4<this.A$/(.001*(d-this.RT))&&k.LZa());this.I6=d}if(void 0!==this.FJ&&this.R.currentTime>this.FJ){this.FJ=void 0;try{this.R.currentTime-=.01}catch(c){}}this.Ye()};g.prototype.N9=function(d){!!this.PC!=d&&(this.PC?(clearInterval(this.PC),this.PC=null):this.PC=setInterval(this.Ye,16))};g.prototype.Hx=function(){return this.R.currentSrc||
this.R.children.length&&this.R.children[0].src||""};g.Jf="time update";g.Ei="duration update";return g});
define("lH","require jquery.mod lo fS v mj".split(" "),function(a){function e(){}a("jquery.mod");var h=a("lo"),m=a("fS"),k=a("v");a=a("mj");e.Waa=!1;e.b_a=function(){e.Waa=!0};e.jKa=function(){window.MediaSource=window.MediaSource||window.M0a;return window.MediaSource&&"function"===typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};e.vKa=function(){if(k.browser()==k.Xh){var d=k.yD();if(10<=d&&11>d||11.3<=d)return!0}return!1};
e.kKa=function(){return k.browser()==k.dm||k.browser()==k.Xh?!0:!1};var b;e.Aua=function(d){try{return b||(b=document.createElement("audio")),!!b.canPlayType(d).replace(/^no$/,"")}catch(c){}return!1};var g;e.QH=function(d){try{return g||(g=document.createElement("video"),g.setAttribute("webkit-playsinline","true"),g.setAttribute("playsinline","true")),!!g.canPlayType(d).replace(/^no$/,"")}catch(c){}return!1};e.KTa=function(){return k.browser()==k.Xh?15<=k.yD()||m?!0:!1:!0};e.lKa=function(){try{if(document.createElement("canvas").getContext("webgl"))return!0}catch(d){}try{if(document.createElement("canvas").getContext("experimental-webgl"))return!0}catch(d){}return!1};
e.uAa=function(d,c,f,l){if(k.fe()==k.Hi)if(!f||30<f){if(3168>=d&&1584>=c)return!0}else{if(4096>=d&&2048>=c)return!0}else if(k.wP()&&!k.tI())if("h264"==l){if(4400>=d&&4400>=c||6200>=d&&3100>=c)return!0}else{if(5760>=d&&5760>=c||8192>=d&&4096>=c)return!0}else if(k.GWa()&&!k.tI())if(!f||30<f){if(2880>=d&&2880>=c||4096>=d&&2048>=c)return!0}else{if(4096>=d&&4096>=c||5760>=d&&2880>=c||2880>=d&&5760>=c)return!0}else if(k.wP()&&k.aZ()){if("h264"==l&&(5760>=d&&5760>=c||7680>=d&&3840>=c)||3840>=d&&2160>=c)return!0}else if(k.dZ())if("h264"==
l){if(5760>=d&&5760>=c||7680>=d&&3840>=c)return!0}else{if(4400>=d&&2200>=c)return!0}else if(k.kb()){if(3840>=d&&2160>=c)return!0}else if(4096>=d&&2048>=c)return!0;return!1};e.MTa=function(){return k.dZ()||k.wP()&&k.hd()==k.Uq||!k.kb()&&e.Waa&&k.browser()==k.Uk?!0:!1};e.tAa=function(d){return e.uAa(d.get("width"),d.get("height"),d.get("framerate"),d.get("codec"))};e.LTa=function(){return e.Waa?!0:!1};e.NTa=function(){return k.wP()||k.dZ()||!k.Rf()?!0:!1};e.I_a=function(d,c){return e.uAa(d,c,30)};e.log=
function(){h.log("webgl: "+e.Xs);h.log("html5 audio: "+e.zwa);h.log("html5 video: "+e.Cwa)};e.OQa=function(){return["webgl:"+e.Xs,"html5audio:"+e.zwa,"html5video:"+e.Cwa].join(" ")};e.Bwa=e.Aua('audio/ogg; codecs="vorbis"');e.Awa=e.Aua("audio/mpeg");e.zwa=e.Bwa||e.Awa;e.pca=e.QH('video/ogg; codecs="theora"');e.QH('video/mp4; codecs="avc1.42E01E"');e.qca=e.QH('video/webm; codecs="vp8, vorbis"');e.fWa=e.QH('video/mp4; codecs="hev1"');e.SY=e.QH("video/mp4");e.gWa=e.QH("video/quicktime");e.Dwa=e.vKa();
e.lwa=e.kKa();e.TVa=e.lwa||e.SY&&e.jKa();e.Cwa=e.pca||e.SY||e.qca;e.Xs=e.lKa();a.cj("debug")&&a.cj("capabilities")&&e.log();e.summary=e.OQa();return e});
define("cv",["require","mj"],function(a){function e(){this.VT=this.L6=null;this.Rt=[];this.Zx=!1;this.Tx=void 0}var h=a("mj");e.prototype.initialize=function(m,k){this.L6=h.nw(m);this.VT=k;this.ea()};e.prototype.load=function(m,k){var b={};b.call=m;b.context=k||window;this.Rt.push(b);this.Tx||(this.Tx=this.Wka());this.ea()};e.prototype.dj=function(){return void 0!==this.Tx};e.prototype.ea=function(){0<this.Rt.length&&(void 0!==this.Tx?this.fHa():this.L6&&this.rL())};e.prototype.rL=function(){if(!this.Zx&&
void 0===this.Tx){this.Zx=!0;var m=document.createElement("script");m.type="text/javascript";m.src=this.L6;document.getElementsByTagName("head")[0].appendChild(m);this.Pta()}};e.prototype.Pta=function(){var m=this.Wka();if(void 0===m){var k=this;setTimeout(function(){k.Pta()},250)}else this.Tx=m,this.Zx=!1,this.ea()};e.prototype.Wka=function(){if(this.VT){for(var m=window,k=0;k<this.VT.length&&void 0!==m;k++)m=m[this.VT[k]];return m}};e.prototype.fHa=function(){for(;0<this.Rt.length;){var m=this.Rt.pop();
m.call.call(m.context,this.Tx)}};return{Fga:new e,HLS:new e,initialize:function(m){this.HLS.initialize(m.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.Fga.initialize(m.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("dt",["require"],function(){var a={Cxa:"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU2LjM2LjEwMAAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAAEAAABIADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV6urq6urq6urq6urq6urq6urq6urq6urq6v////////////////////////////////8AAAAATGF2YzU2LjQxAAAAAAAAAAAAAAAAJAAAAAAAAAAAASDs90hvAAAAAAAAAAAAAAAAAAAA//MUZAAAAAGkAAAAAAAAA0gAAAAATEFN//MUZAMAAAGkAAAAAAAAA0gAAAAARTMu//MUZAYAAAGkAAAAAAAAA0gAAAAAOTku//MUZAkAAAGkAAAAAAAAA0gAAAAANVVV"};a.src=
a.Cxa;return a});
define("dB","require lo oH cy gi lH mj mv ia cv dt".split(" "),function(a){function e(q,n,r){this.src=q||"";this.un=n||"";this.startTime=r||0}var h=a("lo"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("lH"),d=a("mj"),c=a("mv"),f=a("ia"),l=a("cv"),p=a("dt");a=h.extend(b,function(q,n){b.call(this);this.R=q;this.an=n;this.Q6=!1;this.HW=[];this.hf=this.re=this.fF=null});a.prototype.set=function(q,n,r){this.R.log("SrcSetter","set: "+q+" subtitles: "+n+" startTime: "+r);q=new e(q,n,r);this.re&&this.re.isEqual(q)||(!this.re&&
this.fF&&this.fF.isEqual(q)?this.kX():(this.re=q,this.uLa()))};a.prototype.clear=function(){this.hf&&(this.hf.destroy(),this.hf=null);this.fF=null;this.jOa();this.an.clear()};a.prototype.YVa=function(){return!!this.re};a.prototype.uLa=function(){this.Q6=!0;this.pqa(this.re.src)&&!l.HLS.dj()?(this.R.log("SrcSetter","hls lib required"),l.HLS.load(this.ima,this)):this.ima()};a.prototype.ima=function(){this.Q6&&(this.Q6=!1,this.sEa())};a.prototype.sEa=function(){this.clear();this.hPa(this.nOa(this.re.src));
this.pqa(this.re.src)?this.gEa():this.p6(this.re.src)?this.tEa():this.uEa()};a.prototype.gEa=function(){var q=l.HLS.Tx,n=1048576*(navigator.connection?Math.max(navigator.connection.downlink,2):2),r=.66*n;this.hf=new q({debug:c.dJ,startPosition:0===this.re.startTime?-1:this.re.startTime,levelLoadingTimeOut:6E4,startLevel:-1,maxMaxBufferLength:12,autoStartLoad:!1,abrEwmaDefaultEstimate:n});this.hf.loadSource(this.re.src);this.hf.attachMedia(this.R);var t=function(){this.hf.off(q.Events.MANIFEST_PARSED,
t);if(navigator.connection){var u=this.hf.levels.filter(function(w){return w.bitrate<=n});if(u.length){u.sort(function(w,x){return x.width-w.width});var v=this.hf.levels.indexOf(u[0]);this.hf.startLevel=v}u=this.hf.levels.filter(function(w){return w.bitrate<=r});u.length&&(u.sort(function(w,x){return x.width-w.width}),this.hf.config.minAutoBitrate=u[0].bitrate-1);u=this.hf.levels.filter(function(w){return g.I_a(w.width,w.height)});c.NBa&&(u.sort(function(w,x){return x.width-w.width}),v=this.hf.levels.indexOf(u[0]),
this.hf.startLevel=v);u.length&&u.length<this.hf.levels.length&&(u.sort(function(w,x){return x.width-w.width}),this.hf.autoLevelCapping=this.hf.levels.indexOf(u[0]));this.R.log("SrcSetter","bandwidth: "+n+" lowBandwidth: "+r);this.R.log("SrcSetter","levels: "+this.hf.levels);this.R.log("SrcSetter","startLevel: "+this.hf.levels[this.hf.startLevel]);this.R.log("SrcSetter","minLevel: "+this.hf.levels[this.hf.minAutoLevel])}this.hf.startLoad(0===this.re.startTime?-1:this.re.startTime);0!=this.re.startTime&&
this.ds(this.re.startTime);this.re.un&&this.an.set(this.re.un);this.fF=this.re;this.re=null;this.kX()}.bind(this);this.hf.on(q.Events.MANIFEST_PARSED,t);this.hf.on(q.Events.o0a,function(u,v){v.fatal&&v.type==q.ErrorTypes.t0a&&this.hf.recoverMediaError()}.bind(this))};a.prototype.uEa=function(){this.re.src?this.zha(this.re.src):this.zha(p.Cxa,"audio/mpeg");this.re.un&&this.an.set(this.re.un);this.R.load();0!=this.re.startTime&&this.ds(this.re.startTime);this.fF=this.re;this.re=null;this.kX()};a.prototype.tEa=
function(){this.R.srcObject=this.re.src;this.fF=this.re;this.re=null;this.kX()};a.prototype.kX=function(){this.R.log("SrcSetter","src ready");this.trigger(new k(m.Vc))};a.prototype.pqa=function(q){return!!q&&!this.p6(q)&&f.is(q,f.HLS)&&!g.lwa};a.prototype.nOa=function(q){return!!q&&!this.p6(q)&&d.yca(q)};a.prototype.hPa=function(q){q&&!this.R.hasAttribute("crossorigin")?this.R.setAttribute("crossorigin","anonymous"):!q&&this.R.hasAttribute("crossorigin")&&this.R.removeAttribute("crossorigin")};a.prototype.p6=
function(q){return q instanceof MediaStream};a.prototype.ds=function(q){try{this.R.currentTime=q}catch(n){}};a.prototype.zha=function(q,n){var r=document.createElement("source");n||(n=this.gKa(q));n&&(r.type=n);d.qz(q)||(q=d.cz(q,"swbypass=true"));r.src=q;this.R.appendChild(r);this.HW.push(r)};a.prototype.jOa=function(){for(;this.HW&&this.HW.length;){var q=this.HW.shift();q.src="";this.R.removeChild(q)}this.R.srcObject=null};a.prototype.gKa=function(q){switch(d.getExtension(q).toLowerCase()){case ".mp3":return"audio/mpeg";
case ".ogg":return"audio/ogg";case ".m4v":case ".mp4":return"video/mp4";case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL";case ".mov":return"video/quicktime"}};e.prototype.isEqual=function(q){return this.src==q.src&&this.un==q.un};return a});
define("nZ","require lo oH cy gi v mv e bE lU ef oe nb B ew dB".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("v"),g=a("mv"),d=a("e"),c=a("bE"),f=a("lU"),l=a("ef"),p=a("oe"),q=a("nb"),n=a("B"),r=a("ew"),t=a("dB"),u=0,v=e.extend(k,function(w,x){k.call(this);this.Ce=w;this.hTa=x;this.zj=this.zj.bind(this);this.mr=this.mr.bind(this);this.L7=this.L7.bind(this);this.Xp=this.dF=null;this.rV=void 0;this.fc=this.fb=null;this.km="inactive";this.uo=this.Ja=this.Kd=this.pv=this.an=null;
this.jf=!1;this.Ara(document.createElement(this.Ce));x&&f.wait(this.mr)});v.prototype.Ara=function(w){this.gsa();this.fc=w;for(this.fc.parentNode&&this.fc.parentNode.removeChild(this.fc);this.fc.children.length;)this.fc.removeChild(this.fc.children[0]);this.cQa();this.fc.autoplay=!1;this.fc.autobuffer="autobuffer";this.fc.preload=b.browser()==b.Xh?"metadata":"none";this.fc.setAttribute("preload",b.browser()==b.Xh?"metadata":"none");this.fc.setAttribute("webkit-playsinline","true");this.fc.setAttribute("playsinline",
"true");this.fc.addEventListener("loadedmetadata",this.zj,!0);this.an=new n(this.fc);this.an.bind(h.Wk,this.ki,this,!0);this.pv=new t(this.fc,this.an);this.pv.bind(h.Vc,this.Woa,this,!0);this.Kd=new l(this.fc);this.Ja=new q(this.fc);this.Ja.bind(q.c0,this.una,this,!0);this.Ja.bind(q.Qj,this.tl,this,!0);this.Ja.bind(q.y0,this.mi,this,!0);this.uo=new r(this.fc);this.uo.bind(r.Jf,this.Ye,this,!0);this.uo.bind(r.Ei,this.Lm,this,!0)};v.prototype.cQa=function(){if(g.dJ){var w="["+this.Ce+" "+u++ +"]";this.fc.log=
function(x,y){console.log(w+"["+(new Date).toISOString().split("T")[1]+"] "+x+" "+y)}}else this.fc.log=function(){}};v.prototype.gsa=function(){this.fc&&(this.fc.removeEventListener("loadedmetadata",this.zj,!0),this.pv&&(this.pv.unbind(h.Vc,this.Woa,this,!0),this.pv.clear(),this.pv=null),this.an&&(this.an.unbind(h.Wk,this.ki,this,!0),this.an.clear(),this.an=null),this.Kd&&(this.Kd.clear(),this.Kd=null),this.Ja&&(this.Ja.unbind(q.c0,this.una,this,!0),this.Ja.unbind(q.Qj,this.tl,this,!0),this.Ja.unbind(q.y0,
this.mi,this,!0),this.Ja.clear(),this.Ja=null),this.uo&&(this.uo.unbind(r.Jf,this.Ye,this,!0),this.uo.unbind(r.Ei,this.Lm,this,!0),this.uo.clear(),this.uo=null),this.fc=null)};v.prototype.clear=function(){this.gsa()};v.prototype.VH=function(w,x,y){if(this.Tl()&&this.wD())try{return w.drawImage(this.fc,0,0,x,y),!0}catch(A){}w.fillRect(0,0,x,y);return!1};v.prototype.play=function(w,x,y){this.fc.log("HTMLMediaPlayer","play src: "+x.src+" subtitlesSrc: "+x.un+" hasAudio: "+x.pz+" gain: "+x.gain);this.fb=
w;this.dF=null;this.Xp=x.clone();this.rV=y||0;this.$Da()};v.prototype.$Y=function(){return"activated"==this.km};v.prototype.D_=function(){return this.hTa};v.prototype.stop=function(){this.fc.log("HTMLMediaPlayer","stop");this.Ja.stop();this.Xp=null};v.prototype.getState=function(){return this.Ja.getState()};v.prototype.wD=function(){return this.pv.YVa()?!1:this.Ja.wD()};v.prototype.Hf=function(w){this.Kd.Hf(w);this.jf=w;this.fb&&"requested"==this.km&&(this.jf?c.cancel(this.fb):c.request(this.fb))};
v.prototype.jw=function(w){this.Kd.jw(w)};v.prototype.XP=function(w){this.Kd.XP(w)};v.prototype.setLoop=function(w){this.oEa(w)};v.prototype.getCurrentTime=function(){return this.uo.getTime()};v.prototype.setCurrentTime=function(w){return this.uo.setTime(w)};v.prototype.bj=function(){return this.uo.bj()};v.prototype.Tl=function(){return this.Ce==p.Bn};v.prototype.getType=function(){return this.Ce};v.prototype.rd=function(){return this.fc&&this.Tl()&&this.fc.videoWidth||0};v.prototype.ee=function(){return this.fc&&
this.Tl()&&this.fc.videoHeight||0};v.prototype.ZO=function(){return this.an.ZO()};v.prototype.$Da=function(){this.fc.log("HTMLMediaPlayer","assert can play");"activated"!=this.km&&this.Xp.pz?"inactive"==this.km&&(this.fc.log("HTMLMediaPlayer","needs activation"),this.fb&&this.Ce==p.Bn&&this.iKa()?this.pDa():this.fb&&d.uP()?this.mr():this.fb&&this.ZDa()):(this.fc.log("HTMLMediaPlayer","can play activationState: "+this.km+" pending media has audio: "+this.Xp.pz),this.WB())};v.prototype.iKa=function(){var w=
this.pka();return!w||w.currentSrc&&!w.paused||w.muted?!1:!0};v.prototype.pka=function(){return this.fb.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};v.prototype.pDa=function(){this.fc.log("HTMLMediaPlayer","activate with application parameter");this.Ara(this.pka());this.mr()};v.prototype.ZDa=function(){this.fc.log("HTMLMediaPlayer","ask for activation");this.km="requested";c.Qea(this.mr);this.fb&&!this.jf&&c.request(this.fb)};v.prototype.mr=function(){if("inactive"==this.km||"requested"==
this.km)this.fc.log("HTMLMediaPlayer","activate received when state: "+this.km+" and has media: "+!!this.dF),this.dF?setTimeout(function(){f.wait(this.mr)}.bind(this),0):(this.km="activating",this.pv.set("","",0))};v.prototype.WB=function(){this.fc.log("HTMLMediaPlayer","media can play. Has pending properties: "+!!this.Xp);this.Xp&&this.pv.set(this.Xp.src,this.Xp.un,this.rV)};v.prototype.Woa=function(){"activating"==this.km?this.OMa():this.Xp&&this.xMa()};v.prototype.OMa=function(){this.fc.log("HTMLMediaPlayer",
"on src ready activating");this.Ja.play()};v.prototype.mi=function(){"activating"==this.km&&(this.fc.log("HTMLMediaPlayer","on play activating"),this.Ja.stop(),this.km="activated",this.WB())};v.prototype.xMa=function(){this.fc.log("HTMLMediaPlayer","on pending src ready");this.dF=this.Xp;this.Xp=null;this.hEa(this.dF.pz);this.fEa(this.dF.gain);this.uo.setTime(this.rV);this.rV=void 0;this.Ja.play()};v.prototype.hEa=function(w){this.Kd.PYa(w)};v.prototype.fEa=function(w){this.Kd.XP(w)};v.prototype.oEa=
function(w){w&&!this.fc.hasAttribute("loop")?this.fc.setAttribute("loop",""):!w&&this.fc.hasAttribute("loop")&&this.fc.removeAttribute("loop")};v.prototype.una=function(){this.fc.log("HTMLMediaPlayer","on deactivated");c.FZa();f.wait(this.L7);this.fb&&setTimeout(function(){c.request(this.fb)}.bind(this),0)};v.prototype.L7=function(){this.fc.log("HTMLMediaPlayer","on reactivated");this.Ja.play()};v.prototype.ki=function(){this.trigger(h.Wk,this.an.ZO())};v.prototype.zj=function(){this.trigger(new m(v.ABa))};
v.prototype.Ye=function(){this.trigger(new m(v.Jf))};v.prototype.Lm=function(){this.trigger(new m(v.Ei))};v.prototype.tl=function(){this.trigger(new m(v.Qj))};v.Jf="time update";v.Ei="duration update";v.ABa="size update";v.Qj="end";return v});define("dz",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
define("mS",["require"],function(){function a(){this.un=this.src=void 0;this.pz=!1;this.gain=1}a.prototype.clone=function(){var e=new a;e.src=this.src;e.un=this.un;e.pz=this.pz;e.gain=this.gain;return e};return a});
define("bU","require lo eg oH kO cy gi lH v mj nZ oe".split(" "),function(a){function e(u){this.wR=u;this.wa=null;this.PB=(new Date).getTime()}var h=a("lo"),m=a("eg"),k=a("oH"),b=a("kO"),g=a("cy"),d=a("gi"),c=a("lH"),f=a("v"),l=a("mj"),p=a("nZ"),q=a("oe");e.prototype.zca=function(){return null==this.wa};e.prototype.$Y=function(){return this.wR.$Y()};e.prototype.D_=function(){return this.wR.D_()};e.prototype.item=function(){return this.wa};e.prototype.LUa=function(){this.wa.Zwa();this.wa=null};e.prototype.use=
function(u){this.wa=u;this.wa.Zua(this.wR);this.PB=(new Date).getTime()};var n=h.extend(d,function(){d.call(this);this.fs=[];for(var u=l.Eva("avs",10),v=l.Eva("avpas",c.KTa()?4:1),w=0;w<u;w++)this.fs.push(new e(new p(q.Bn,w<v)));this.Oe=[];this.A=b.T});n.prototype.sI=function(){return 0<this.jla().length};n.prototype.UZ=function(u){this.Oe=[u].concat(m(this.Oe).without(u));this.m8();t()};n.prototype.appendItem=function(u){this.Oe.push(u);this.m8();t()};n.prototype.NP=function(u){this.Oe=m(this.Oe).without(u);
this.m8()};n.prototype.m8=function(){var u=this.HJa();if(n.uwa())for(;this.fs.length<u.length;)this.fs.push(new e(new p(q.Bn,!1)));this.jla().forEach(function(v){0>u.indexOf(v.item())&&v.LUa()});this.zc(0<u.length?b.X:b.T);u.forEach(function(v){if(!this.gJa(v)){var w=this.WIa(v.getType(),v.uda());w||v.uda()||this.fs.push(w=new e(new p(q.Bn,!1)));w&&w.use(v)}}.bind(this));this.XIa().forEach(function(v){v.wR.stop()})};n.prototype.HJa=function(){return this.Oe.map(function(u,v){var w={};w.index=v;w.priority=
u.Sva();w.item=u;return w}).sort(function(u,v){return u.priority-v.priority||u.index-v.index}).map(function(u){return u.item})};n.prototype.zc=function(u){this.A!=u&&(this.A=u,this.trigger(new g(this.A==b.T?k.Kf:k.An)))};n.prototype.WIa=function(u,v){u=this.fs.filter(function(w){return w.zca()});return u.length?(v?(v=u.filter(function(w){return w.$Y()}),v.length||(v=u.filter(function(w){return w.D_()}))):(v=u.filter(function(w){return!w.D_()}),v.length||(v=u.filter(function(w){return!w.$Y()}))),v.length&&
(u=v),f.browser()==f.dm?(u.sort(function(w,x){return x.PB-w.PB}),u[Math.min(2,u.length-1)]):u[0]):null};n.prototype.XIa=function(){return this.fs.filter(function(u){return u.zca()})};n.prototype.jla=function(){return this.fs.filter(function(u){return!u.zca()})};n.prototype.gJa=function(u){for(var v=0;v<this.fs.length;v++)if(this.fs[v].item()==u)return this.fs[v];return null};n.h6=null;n.bind=function(){var u=n.di();u.bind.apply(u,arguments)};n.unbind=function(){var u=n.di();u.unbind.apply(u,arguments)};
var r=0<=[f.$s,f.bt].indexOf(f.hd());n.uwa=function(){return r};n.sI=function(){return n.di().sI()};n.appendItem=function(u){n.di().appendItem(u)};n.UZ=function(u){n.di().UZ(u)};n.NP=function(u){n.di().NP(u)};n.Wt=function(){null===n.h6&&(n.h6=new n);return n.h6};n.di=n.Wt;n.Wt();var t=function(){if(0<=[f.$s,f.bt].indexOf(f.hd())){var u=document.createElement("video");u.muted=!1;u.setAttribute("loop","");u.src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9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a8AAAXCAAAFyAAABdsAAAXyAAAF+AAABg0AAAYgAAAGJgAABjkAAAZQAAAGZQAABmsAAAZ+AAAGkQAABpcAAAauAAAGwwAABskAAAbcAAAG7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=";
return function(){try{u.pause(),setTimeout(function(){u.play()["catch"](function(){})},0)}catch(v){}}}return function(){}}();return n});
define("F","require lo cy gi oH kO nZ dz mS oe bU bg lH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("oH"),b=a("kO"),g=a("nZ"),d=a("dz"),c=a("mS"),f=a("oe"),l=a("bU"),p=a("bg"),q=a("lH"),n=e.extend(m,function(r,t,u){m.call(this);this.fb=r;this.v=t;this.Vr=u;this.m=null;this.wN();this.AU=this.AU.bind(this);this.v.bind(k.G("gain"),this.fG,this,!0);this.v.bind(k.G("mp3Url"),this.Nm,this,!0);this.v.bind(k.G("oggUrl"),this.Nm,this,!0);this.A=b.T;this.ml=!1;this.qx=this.qb=0;this.jf=!1;
this.yq=1;this.yK=!1;this.sF=1;this.qd=null;this.nr=[]});n.prototype.Jb=function(){return this.fb};n.prototype.Jd=function(r){this.A==r||r==b.Eb&&this.A!=b.X||(this.A=r,this.A==b.X?(this.lFa(),l.UZ(this)):this.oQa(),this.Q$())};n.prototype.oQa=function(){this.yK||(this.yK=!0,this.$ja=this.v.get("fadeOutTime"),0==this.$ja?this.$ra():this.AU(0))};n.prototype.AU=function(r){this.qd&&0!=this.sF&&this.yK&&!this.UKa()?(this.sF=Math.max(0,this.sF-r/this.$ja),this.vR(),p.requestFrame(this.AU)):this.$ra()};
n.prototype.lFa=function(){this.yK=!1;this.sF=1;this.vR()};n.prototype.$ra=function(){this.yK=!1;this.sF=1;this.qd&&(l.NP(this),this.A==b.T&&this.M9())};n.prototype.getState=function(){return this.A};n.prototype.bj=function(){return this.qb};n.prototype.setCurrentTime=function(r){this.qx=r;this.qd&&this.qd.play(this.fb,this.m,this.qx)};n.prototype.getCurrentTime=function(){return this.qx};n.prototype.jw=function(r){this.yq=r;this.vR()};n.prototype.vR=function(){this.qd&&this.qd.jw(this.yq*this.sF)};
n.prototype.Hf=function(r){this.jf=r;this.qd&&this.qd.Hf(r)};n.prototype.setLoop=function(r){this.ml=r;this.qd&&this.qd.setLoop(r)};n.prototype.uda=function(){return!this.jf};n.prototype.getType=function(){return f.bBa};n.prototype.Sva=function(){return this.Vr};n.prototype.Zua=function(r){this.qd=r;setTimeout(function(){this.qd&&this.qd.bind(g.Qj,this.SL,this,!0)}.bind(this),0);this.wN();this.qd.bind(g.Jf,this.Ye,this,!0);this.qd.bind(g.Ei,this.Lm,this,!0);this.qd.bind(k.Wk,this.ki,this,!0);this.qd.Hf(this.jf);
this.vR();this.qd.setLoop(this.ml);this.qd.play(this.fb,this.m,this.qx)};n.prototype.Zwa=function(){this.qx=this.qd.getCurrentTime();this.qd.unbind(g.Qj,this.SL,this,!0);this.qd.unbind(g.Jf,this.Ye,this,!0);this.qd.unbind(g.Ei,this.Lm,this,!0);this.qd.unbind(k.Wk,this.ki,this,!0);this.qd=null};n.prototype.clear=function(){this.Jd(b.T);this.v&&(this.v.unbind(k.G("gain"),this.fG,this,!0),this.v.unbind(k.G("mp3Url"),this.Nm,this,!0),this.v.unbind(k.G("oggUrl"),this.Nm,this,!0),this.v=null)};n.prototype.Nm=
function(){this.rC&&clearTimeout(this.rC);this.rC=setTimeout(function(){this.rC=null;this.qd&&(this.m.src=this.Hx(this.v),this.qd.play(this.fb,this.m,this.qx))}.bind(this),10)};n.prototype.fG=function(){if(this.qd){var r=this.v.get("gain");this.m.gain!=r&&(this.m.gain=r,this.qd.XP(this.m.gain))}};n.prototype.wN=function(){this.m=new c;this.m.src=this.Hx(this.v);this.m.pz=!0;this.m.gain=this.v.get("gain")};n.prototype.Hx=function(r){var t=r.get("mp3Url");return t&&q.Awa?t:(r=r.get("oggUrl"))&&q.Bwa?
r:t||r};n.prototype.Lm=function(){this.qb=this.qd.bj();this.M$()};n.prototype.Ye=function(){this.qb!=this.qd.bj()&&this.Lm();this.qx=this.qd.getCurrentTime();this.cO()};n.prototype.ki=function(){this.nr=this.qd.ZO().map(function(r){for(var t=null,u=0;u<this.nr.length&&!t;u++)this.nr[u].cue==r&&(t=this.nr[u]);t||(t=new d(r));return t}.bind(this));this.trigger(new h(k.Wk))};n.prototype.SL=function(){this.Jd(b.T);this.N$()};n.prototype.UKa=function(){return this.qd&&this.qd.getCurrentTime()&&this.qd.getCurrentTime()==
this.qd.bj()};n.prototype.M9=function(){this.qx=0;this.cO()};n.prototype.cO=function(){this.trigger(new h(n.Jf))};n.prototype.M$=function(){this.trigger(new h(n.Ei))};n.prototype.N$=function(){this.trigger(new h(k.sb))};n.prototype.Q$=function(){this.trigger(new h(k.ne))};n.Jf="time update";n.Ei="duration update";return n});
define("ja","require oH hT kO lP cy nx F".split(" "),function(a){var e=a("oH"),h=a("hT"),m=a("kO"),k=a("lP"),b=a("cy"),g=a("nx"),d=a("F");a=g.define("Audio",k,function(c){k.call(this);this.Vr=c||h.JCa;this.hp=void 0});a.prototype.nD=function(){if(void 0==this.hp){var c=this.get("audio");c?(this.hp=new d(this.get("application"),c,this.Vr),c=function(){this.hp.setLoop(this.get("loop",!1))},c.call(this),this.bind(e.G("loop"),c,this),c=function(){this.hp.Hf(this.get("application").get("mute",!1))},c.call(this),
this.get("application").bind(e.G("mute"),c,this,!0),c=function(){this.set("state",this.hp.getState())},c.call(this),this.hp.bind(e.ne,c,this,!0),this.hp.bind(e.sb,this.ULa,this,!0)):this.hp=null}return this.hp};a.prototype.set=function(c,f){if("state"==c){var l=this.get("state")||m.T,p=this.hp&&this.hp.getState()||m.T;p!=l&&(l==m.T&&p==m.X&&this.trigger(e.An),this.trigger(new b(e.ne,{oldState:l,state:p})))}k.prototype.set.call(this,c,f)};a.prototype.Ls=function(){return[]};a.prototype.ULa=function(){this.trigger(new b(e.sb))};
a.prototype.play=a.prototype.uk=function(){var c=this.nD();c&&c.Jd(m.X)};a.prototype.stop=a.prototype.qo=function(){var c=this.nD();c&&c.Jd(m.T)};a.prototype.pause=a.prototype.Vp=function(){var c=this.nD();c&&c.Jd(m.Eb)};return a});define("iO",["require","nx","ja"],function(a){var e=a("nx"),h=a("ja");return e.define("MediaAudio",h,function(m){h.call(this,m)})});
define("pf",["require","hT","nx","iO"],function(a){var e=a("hT"),h=a("nx"),m=a("iO");return h.define("PanoramaAudio",m,function(){m.call(this,e.kCa)})});define("hi",["require","nx","pf"],function(a){var e=a("nx"),h=a("pf");return e.define("DirectionalPanoramaAudio",h,function(){h.call(this)})});define("fk",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("Model3DCameraMovement",e,function(){e.call(this)})});
define("ie",["require","nx","fk"],function(a){var e=a("nx"),h=a("fk");return e.define("DistanceModel3DCameraMovement",h,function(){h.call(this)})});define("kT",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("DistancePanoramaCameraMovement",e,function(){e.call(this)})});define("gM",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("DistanceRotationalCameraMovement",e,function(){e.call(this)})});
define("y",["require","exports","oH","lo"],function(a,e,h,m){return function(){function k(b,g,d,c,f){this.Ap=null;this.m7=b;this.gf=h.G(this.m7);this.y5=g;this.xa=d||window;this.Z5=c;this.Sma=f;this.l6=!1}k.prototype.Iz=function(){this.l9(null)};k.prototype.l9=function(b){var g=this;m.toArray(this.Ap).forEach(function(d){d&&d.unbind(this.gf,g.xia,g)}.bind(this));this.Ap=b;m.toArray(this.Ap).forEach(function(d){d&&d.bind(this.gf,this.xia,g,g.Z5)}.bind(this));this.qqa()};k.prototype.qqa=function(){this.Sma&&
this.Sma.l9(this.bJa())};k.prototype.bJa=function(){return null==this.Ap?null:Array.isArray(this.Ap)?this.Ap.map(function(b){return b?b.get(this.m7):null}.bind(this)):this.Ap.get(this.m7)};k.prototype.xia=function(b){if(!this.l6){try{this.l6=!0,this.qqa(),this.y5.call(this.xa,b)}catch(g){m.yP("ChangeWatcher._changeHandler",g)}this.l6=!1}};k.Ws=function(b,g,d,c,f){void 0===f&&(f=!1);m.isString(g)&&(g=g.split("."));return 0<g.length?(g=new k(g[0],d,c,f,k.Ws(null,g.slice(1),d,c,f)),g.l9(b),g):null};
return k}()});
define("oZ",["require","jquery.mod","lo","oH","e"],function(a){var e=a("jquery.mod"),h=a("lo"),m=a("oH"),k=a("e"),b=h.extend(k,function(){k.call(this);this.Be("DropDownArrow");this.O=null;this.Ut=!0;this.bind(m.kc,this.DHa,this)});b.prototype.nb=function(){k.prototype.nb.call(this);this.h("color","#000000");this.h("direction",b.U_)};b.prototype.DHa=function(){this.Ut=!0;this.le()};b.prototype.Ab=function(){k.prototype.Ab.call(this);this.O||(this.O=e("<canvas/>"),this.O.css({position:"absolute",left:0,
top:0}),this.Bb().append(this.O))};b.prototype.Va=function(){var g=!1;this.I("color")&&(g=!0,this.P("color"));this.I("direction")&&(g=!0,this.P("direction"));this.Ut&&(g=!0,this.Ut=!1);if(g){g=this.rf();var d=this.qf(),c=this.B("color"),f=this.B("direction"),l=[.5*g,0,g];f=f==b.U_?[d,0,0]:[0,d,d];var p=this.O.get(0);p.width=g;p.height=d;p=p.getContext("2d");p.clearRect(0,0,g,d);p.beginPath();p.moveTo(l[0],f[0]);p.lineTo(l[1],f[1]);p.lineTo(l[2],f[2]);p.fillStyle=c;p.fill()}k.prototype.Va.call(this)};
b.U_="down";b.m0a="up";return b});
define("hA","require lo cy mQ bc oH d gJ oc oZ iQ".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("mQ"),k=a("bc"),b=a("oH"),g=a("d"),d=a("gJ"),c=a("oc"),f=a("oZ"),l=a("iQ");a=e.extend(c,function(){c.call(this);this.Be("DropDownButton");this.Qw=this.Ta=null;this.E6=!0;this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("cursor",k.df);this.bind(b.qa,this.m4,this)});a.prototype.nb=function(){c.prototype.nb.call(this);
this.h("arrowColor","#000000");this.h("arrowBeforeLabel");this.h("arrowWidth",9);this.h("arrowHeight",5);this.h("arrowGap",5);this.h("shadow",!1);this.h("layout",g.Dg);this.h("verticalAlign",m.he);this.h("borderRadius",5);this.h("borderColor","#AAAAAA");this.h("borderSize",1);this.h("backgroundColor",["#FAFAFA","#E5E5E5"]);this.h("backgroundColorRatios",[0,1]);this.h("backgroundColorDirection","vertical");this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",
5);this.h("fontFamily");this.h("fontSize");this.h("fontColor","#555555");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.u("rollOverBorderColor",d.U,"borderColor");this.u("rollOverArrowColor",d.U,"arrowColor");this.u("rollOverBackgroundColor",d.U,"backgroundColor");this.u("rollOverBackgroundColorRatios",d.U,"backgroundColorRatios");
this.u("rollOverShadow",d.U,"shadow");this.u("pressedBorderColor",d.ob,"borderColor");this.u("pressedArrowColor",d.ob,"arrowColor");this.u("pressedBackgroundColor",d.ob,"backgroundColor");this.u("pressedBackgroundColorRatios",d.ob,"backgroundColorRatios");this.u("pressedShadow",d.ob,"shadow");this.u("pressedRollOverBorderColor",d.$b,"borderColor");this.u("pressedRollOverArrowColor",d.$b,"arrowColor");this.u("pressedRollOverBackgroundColor",d.$b,"backgroundColor");this.u("pressedRollOverBackgroundColorRatios",
d.$b,"backgroundColorRatios");this.u("pressedRollOverShadow",d.$b,"shadow");this.u("pressedBorderColor",d.ca,"borderColor");this.u("pressedArrowColor",d.ca,"arrowColor");this.u("pressedBackgroundColor",d.ca,"backgroundColor");this.u("pressedBackgroundColorRatios",d.ca,"backgroundColorRatios");this.u("pressedShadow",d.ca,"shadow")};a.prototype.set=function(p,q){"label"==p&&this.get("label")!=q&&(this.E6=!0,this.le());c.prototype.set.call(this,p,q)};a.prototype.Ab=function(){c.prototype.Ab.call(this);
this.Ta||(this.Ta=new l,this.Ta.set("width","100%"),this.Wa(this.Ta));this.Qw||(this.Qw=new f,this.Qw.set("direction",f.U_),this.Wa(this.Qw))};a.prototype.m4=function(){this.open();this.trigger(new h(b.OPEN))};a.prototype.open=function(){this.unbind(b.qa,this.m4,this);this.sN(!0)};a.prototype.close=function(){this.bind(b.qa,this.m4,this);this.sN(!1)};a.prototype.Va=function(){if(this.E6){var p=this.get("label");this.Ta.set("text",p);this.E6=!1}this.lc("horizontalAlign fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),
{},[this.Ta],!0,!0);this.I("arrowGap")&&(this.set("gap",this.B("arrowGap")),this.P("arrowGap"));this.I("arrowColor")&&(this.Qw.set("color",this.B("arrowColor")),this.P("arrowColor"));this.I("arrowBeforeLabel")&&(1==this.B("arrowBeforeLabel")?this.pn(this.Qw,0):this.pn(this.Ta,0),this.P("arrowBeforeLabel"));this.I("arrowWidth")&&(this.Qw.set("width",this.B("arrowWidth")),this.P("arrowWidth"));this.I("arrowHeight")&&(this.Qw.set("height",this.B("arrowHeight")),this.P("arrowHeight"));c.prototype.Va.call(this)};
return a});define("hp",["require","eg","lo","oc","d"],function(a){var e=a("eg"),h=a("lo"),m=a("oc");a=a("d");var k=h.extend(m,function(){m.call(this)});k.vc={layout:a.uh};e.defaults(k.vc,m.vc);k.prototype.nb=function(){this.Kn(k.vc)};return k});
define("lv","require lo cy mQ bc hH oH oc hp iQ".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("mQ"),k=a("bc"),b=a("hH"),g=a("oH"),d=a("oc"),c=a("hp"),f=a("iQ");a=e.extend(d,function(){d.call(this);this.Be("DropDownPopup");this.Zd=null;this.ER=!1;this.vb=null;this.mL=[];this.Qy=!0});a.prototype.open=function(l){this.Zd=l;this.ER=!0;this.Jb().pn(this,this.Jb().Kb().length-1);this.set("overIndex",-1);this.set("visible",!0);this.bind(g.ub,this.Od,this);this.Jb().bind(g.Zb,this.Jr,this);this.Jb().bind(g.kc,
this.hc,this)};a.prototype.close=function(){this.Zd=null;this.ER=!0;this.set("visible",!1);this.vb.set("overflow",b.wE);this.vb.set("contentOpaque",!0);this.unbind(g.ub,this.Od,this);this.Jb().unbind(g.Zb,this.Jr,this);this.Jb().bind(g.kc,this.hc,this)};a.prototype.Ab=function(){d.prototype.Ab.call(this);this.vb||(this.vb=new c,this.vb.set("overflow",b.wE),this.vb.bind(g.kc,this.hc,this),this.vb.bind(g.cp,this.Gy,this),this.Wa(this.vb))};a.prototype.hc=function(){this.ita()};a.prototype.Od=function(){this.t9=
!1};a.prototype.Gy=function(){this.t9=!0};a.prototype.Jr=function(){-1!=this.get("overIndex")||this.t9&&this.Qn||this.trigger(new h(g.hE));this.t9=!1};a.prototype.hMa=function(l){this.set("overIndex",this.j5(l.source))};a.prototype.iMa=function(l){l=this.j5(l.source);this.get("overIndex")==l&&this.set("overIndex",-1)};a.prototype.gMa=function(l){l=this.j5(l.source);this.set("overIndex",l);this.set("selectedIndex",l);this.trigger(new h(g.zn))};a.prototype.j5=function(l){for(var p=0;p<this.mL.length;p++)if(this.mL[p]==
l)return p;return-1};a.prototype.nb=function(){d.prototype.nb.call(this);this.h("visible",!1);this.h("width","100%");this.h("height","100%");this.h("includeInLayout",!1);this.h("items",[]);this.h("selectedIndex",-1);this.h("overIndex",-1);this.h("popUpGap",0);this.h("popUpBackgroundColor");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");this.h("selectedPopUpBackgroundColor");this.h("popUpFontColor");this.h("rollOverPopUpFontColor");this.h("selectedPopUpFontColor");this.h("popUpShadow",
!0);this.h("popUpShadowBlurRadius");this.h("popUpShadowColor");this.h("popUpShadowHorizontalLength");this.h("popUpShadowOpacity");this.h("popUpShadowSpread");this.h("popUpShadowVerticalLength");this.h("fontFamily");this.h("fontSize");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.h("buttonWidth")};a.prototype.Va=function(){var l=
!1,p=!1;if(this.I("items")){l=this.B("items")||[];for(var q=this.mL.length;q<l.length;q++){var n=new f;n.ja({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:k.df});n.bind(g.mA,this.hMa,this);n.bind(g.$o,this.iMa,this);n.bind(g.qa,this.gMa,this);this.mL.push(n)}n=this.vb.Kb();for(q=l.length;q<n.length;q++)this.vb.removeChild(n[q]);for(q=n.length;q<l.length;q++)this.vb.Wa(this.mL[q]);for(q=0;q<l.length;q++)n[q].set("text",l[q]);this.P("items");p=l=!0}this.I("selectedIndex")&&
(this.P("selectedIndex"),l=!0);var r="horizontalAlign popUpBackgroundOpacity popUpPaddingBottom popUpPaddingLeft popUpPaddingRight popUpPaddingTop fontFamily fontSize fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");for(q=0;q<r.length;q++)n=r[q],this.I(n)&&(this.P(n),p=!0);if(p)for(r={fontFamily:this.B("fontFamily"),fontSize:this.B("fontSize"),fontWeight:this.B("fontWeight"),fontStyle:this.B("fontStyle"),
horizontalAlign:this.B("horizontalAlign"),textDecoration:this.B("textDecoration"),textShadowColor:this.B("textShadowColor"),textShadowHorizontalLength:this.B("textShadowHorizontalLength"),textShadowVerticalLength:this.B("textShadowVerticalLength"),textShadowBlurRadius:this.B("textShadowBlurRadius"),textShadowOpacity:this.B("textShadowOpacity"),paddingBottom:this.B("popUpPaddingBottom"),paddingLeft:this.B("popUpPaddingLeft"),paddingRight:this.B("popUpPaddingRight"),paddingTop:this.B("popUpPaddingTop"),
backgroundOpacity:this.B("popUpBackgroundOpacity")},n=this.vb.Kb(),q=0;q<n.length;q++)n[q].ja(r);r="selectedIndex overIndex popUpBackgroundColor rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor".split(" ");for(q=0;q<r.length;q++)n=r[q],this.I(n)&&(this.P(n),l=!0);if(l){l=this.B("popUpBackgroundColor");r=this.B("rollOverPopUpBackgroundColor")||l;p=this.B("selectedPopUpBackgroundColor")||l;var t=this.B("popUpFontColor"),u=this.B("rollOverPopUpFontColor")||
t,v=this.B("selectedPopUpFontColor")||t,w=this.B("selectedIndex"),x=this.B("overIndex");n=this.vb.Kb();for(q=0;q<n.length;q++)q==w?n[q].ja({fontColor:v,backgroundColor:p}):q==x?n[q].ja({fontColor:u,backgroundColor:r}):n[q].ja({fontColor:t,backgroundColor:l})}if(this.ER||this.I("popUpGap")||this.I("buttonWidth"))this.Zd&&this.vb.set("minWidth",this.Zd.Xa()),this.P("popUpGap"),this.ita(),this.ER=!1;this.lc("popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),
{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.vb],!0,!0);this.Qsa();d.prototype.Va.call(this)};a.prototype.ita=function(){if(this.Zd){var l=this.Jb(),p=this.Zd.AVa(l),q=this.Zd.Xa(),n=this.Zd.xb(),r=this.B("popUpGap"),t=this.vb.Gb,u=this.vb.Tb,v=l.xb()-(p.top+n+r)-5,w=p.top-5-
r,x=this.B("horizontalAlign");u<=v?(this.Qy=!0,this.vb.set("top",p.top+n+r),this.vb.set("maxHeight",void 0),this.vb.set("overflow",b.wE)):u<=w?(this.Qy=!1,this.vb.set("top",p.top-u-r),this.vb.set("maxHeight",void 0),this.vb.set("overflow",b.wE)):(v>=w?(this.Qy=!0,this.vb.set("top",p.top+n+r),this.vb.set("maxHeight",v)):(this.Qy=!1,this.vb.set("top",p.top-w+r),this.vb.set("maxHeight",w)),this.vb.set("overflow",b.cp));n=x==m.Ge?p.left+Math.round(.5*(q-t)):x==m.hb?p.left+q-t:p.left;0>n?n=p.left:p.left+
t>l.Xa()&&(n=p.left+q-t);this.vb.set("left",n);this.Qsa()}};a.prototype.Qsa=function(){var l=this.B("popUpBorderRadius");this.vb.ja({borderTopRadius:this.Qy?0:l,borderBottomRadius:this.Qy?l:0});for(var p=this.vb.Kb(),q=0;q<p.length;q++){var n=0==q,r=q==p.length-1;p[q].ja({borderTopRadius:!this.Qy&&n?l:0,borderBottomRadius:this.Qy&&r?l:0})}};return a});
define("oR","require lo cy oH oc hA lv".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("oH"),k=a("oc"),b=a("hA"),g=a("lv");a=e.extend(k,function(){k.call(this);this.Be("DropDown");this.bL=!1;this.Zd=this.Aj=null;this.Hra=!0;this.nf=-1;this.wo=!1});a.prototype.nb=function(){k.prototype.nb.call(this);this.h("prompt","");this.h("label","");this.h("items",[]);this.h("selectedIndex",-1);this.h("arrowBeforeLabel");this.h("arrowWidth",9);this.h("arrowHeight",5);this.h("arrowGap",5);this.h("borderRadius",
5);this.h("borderSize",1);this.h("backgroundColorDirection","vertical");this.h("horizontalAlign","left");this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",5);this.h("fontFamily");this.h("fontSize");this.h("fontColor","#555555");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.h("popUpGap",
0);this.h("popUpBorderRadius");this.h("popUpPaddingBottom",2);this.h("popUpPaddingLeft",5);this.h("popUpPaddingRight",5);this.h("popUpPaddingTop",2);this.h("popUpShadow",!0);this.h("popUpShadowBlurRadius");this.h("popUpShadowColor");this.h("popUpShadowHorizontalLength");this.h("popUpShadowOpacity");this.h("popUpShadowSpread");this.h("popUpShadowVerticalLength");this.h("popUpBackgroundColor","#FFFFFF");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");this.h("selectedPopUpBackgroundColor");
this.h("popUpFontColor","#555555");this.h("rollOverPopUpFontColor");this.h("selectedPopUpFontColor");this.h("borderColor","#AAAAAA");this.h("arrowColor","#000000");this.h("backgroundColor",["#FAFAFA","#E5E5E5"]);this.h("backgroundColorRatios",[0,1]);this.h("shadow",!1);this.h("rollOverBorderColor");this.h("rollOverArrowColor");this.h("rollOverBackgroundColor");this.h("rollOverBackgroundColorRatios");this.h("rollOverShadow");this.h("pressedBorderColor");this.h("pressedArrowColor");this.h("pressedBackgroundColor");
this.h("pressedBackgroundColorRatios");this.h("pressedShadow");this.h("pressedRollOverBorderColor");this.h("pressedRollOverArrowColor");this.h("pressedRollOverBackgroundColor");this.h("pressedRollOverBackgroundColorRatios");this.h("pressedRollOverShadow")};a.prototype.Ab=function(){k.prototype.Ab.call(this);this.Zd||(this.Zd=new b,this.Zd.bind(m.kc,this.ZLa,this),this.Zd.bind(m.OPEN,this.vMa,this),this.Zd.bind(m.hE,this.u7,this),this.Zd.bind(m.sd,this.YLa,this),this.Zd.set("width","100%"),this.Zd.set("height",
"100%"),this.Wa(this.Zd));this.Aj||(this.Aj=new g,this.Aj.bind(m.hE,this.u7,this),this.Aj.bind(m.zn,this.KMa,this),this.Jb().Wa(this.Aj))};a.prototype.ZLa=function(){this.Hra=!0;this.le()};a.prototype.vMa=function(){this.Zd.open();this.Aj.set("selectedIndex",this.get("selectedIndex"));this.Aj.open(this.Zd)};a.prototype.u7=function(){this.Zd.close();this.Aj.close()};a.prototype.YLa=function(){this.Zd.close();this.Aj.close()};a.prototype.KMa=function(){this.set("selectedIndex",this.Aj.get("selectedIndex"));
this.u7();this.wo=!0};a.prototype.Va=function(){var d=!1;if(this.I("prompt")||this.I("label"))d=!0,this.P("label"),this.P("prompt");if(this.I("selectedIndex")||this.I("items")){d=!0;var c=this.B("selectedIndex"),f=this.B("items");0<=c&&c>=f.length&&(c=-1);this.set("selectedIndex",c);this.Aj.set("items",this.B("items"));this.Aj.set("selectedIndex",this.B("selectedIndex"));this.P("items");this.P("selectedIndex");this.wo&&(this.wo=!1,this.trigger(new h(m.pa)))}d&&(d=this.B("label"),d||(c=this.B("selectedIndex"),
d=0>c?this.B("prompt"):this.B("items")[c]),this.Zd.set("label",d));this.Hra&&(this.Aj.set("minWidth",this.Zd.Xa()),this.Aj.set("buttonWidth",this.Zd.Xa()));this.lc("fontFamily fontSize fontColor fontWeight fontStyle textDecoration horizontalAlign textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),{},[this.Zd,this.Aj],!0,!0);this.lc("popUpBorderRadius popUpGap popUpPaddingBottom popUpPaddingLeft popUpPaddingRight popUpPaddingTop popUpBackgroundColor popUpBackgroundOpacity rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),
{},[this.Aj],!0,!0);this.lc("arrowBeforeLabel arrowWidth arrowHeight arrowColor rollOverArrowColor pressedArrowColor pressedRollOverArrowColor arrowGap shadow shadowBlurRadius shadowColor shadowHorizontalLength shadowOpacity shadowSpread shadowVerticalLength borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize borderColor borderLeftColor borderTopColor borderRightColor borderBottomColor rollOverBorderColor pressedBorderColor pressedRollOverBorderColor backgroundColor backgroundColorRatios backgroundColorDirection backgroundOpacity rollOverBackgroundColor rollOverBackgroundColorRatios rollOverShadow pressedBackgroundColor pressedBackgroundColorRatios pressedShadow pressedRollOverBackgroundColor pressedRollOverBackgroundColorRatios pressedRollOverShadow paddingLeft paddingTop paddingRight paddingBottom".split(" "),
{},[this.Zd],!0,!0);k.prototype.Va.call(this)};return a});
define("fF",["require","y","oH","nx","oR"],function(a){var e=a("y"),h=a("oH"),m=a("nx"),k=a("oR");a=m.define("DropDown",k,function(){k.call(this);this.od=null;this.cma=[];this.bind(h.pa,this.bMa,this)});a.prototype.set=function(b,g){if("playList"==b){if(this.od)for(this.od.unbind("change",this.Qu,this);this.cma.length;)this.cma.shift().Iz();(this.od=g)?(e.Ws(this.od,"items.label",this.oX,this),e.Ws(this.od,"items.media.label",this.oX,this),this.oX(),this.od.bind("change",this.Qu,this),this.Qu()):
this.oX()}k.prototype.set.call(this,b,g)};a.prototype.oX=function(){this.od?this.set("items",this.od.get("items").map(function(b){return b.get("label")||b.get("media")&&b.get("media").get("label")})):this.set("items",[])};a.prototype.Qu=function(){this.set("selectedIndex",this.od.get("selectedIndex"))};a.prototype.bMa=function(){this.od&&this.od.set("selectedIndex",this.get("selectedIndex"))};return a});
define("do",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("DustPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(h,m){"startState"==h&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,h,m)};return a});
define("bB",["require","nx","es"],function(a){var e=a("nx"),h=a("es");a=e.define("Effect",h,function(){h.call(this)});a.prototype.cancel=function(){return h.prototype.cancel.apply(this,arguments)};a.prototype.getPosition=function(){return h.prototype.Qk.apply(this,arguments)};a.prototype.play=function(){return h.prototype.play.apply(this,arguments)};a.prototype.reverse=function(){return h.prototype.reverse.apply(this,arguments)};a.prototype.stop=function(){return h.prototype.stop.apply(this,arguments)};
return a});define("jK",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("ExternalModel3DObject",h,function(){h.call(this)})});
define("bn",["require","lo","es"],function(a){var e=a("lo"),h=a("es");a=e.extend(h,function(){h.call(this);this.U1=this.S1=null});a.prototype.aH=function(){h.prototype.aH.call(this);this.S1=[];this.U1=[];this.Ax(function(m){this.S1.push(this.get("alphaFrom",m.Pk()));this.U1.push(this.get("alphaTo",m.Pk()))});this.QV()};a.prototype.nv=function(){h.prototype.nv.call(this);this.QV()};a.prototype.QV=function(){this.Ax(function(m,k){var b=this.S1[k];k=b+(this.U1[k]-b)*this.Qk();!(0<m.Pk()&&m.Ib)&&0<k?
(m.fj(0),m.wf(!0),m.fj(k)):0==k?(m.wf(!1),m.fj(1)):m.fj(k)})};a.prototype.ZG=function(){this.QV();h.prototype.ZG.call(this)};a.prototype.$G=function(){this.QV();h.prototype.$G.call(this)};return a});define("np",["require","lo","bn"],function(a){var e=a("lo"),h=a("bn");return e.extend(h,function(){h.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("nB",["require","nx","np"],function(a){var e=a("nx"),h=a("np");return e.define("FadeInEffect",h,function(){h.call(this)})});
define("nK",["require","lo","bn"],function(a){var e=a("lo"),h=a("bn");return e.extend(h,function(){h.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("jE",["require","nx","nK"],function(a){var e=a("nx"),h=a("nK");return e.define("FadeOutEffect",h,function(){h.call(this)})});
define("fV","require lP oH kO nx lr".split(" "),function(a){var e=a("lP"),h=a("oH"),m=a("kO"),k=a("nx"),b=a("lr");a=k.define("Model3DCamera",e,function(){e.call(this);this.set("userInteracting",!1);this.set("moving",!1);this.set("mouseDisabled",!1);this.set("doubleClickDisabled",!1);this.d4=!1;"distance fov yaw pitch x y z".split(" ").forEach(function(g){this.bind(h.G(g),this.DMa,this,!0)}.bind(this))});a.prototype.x_a=function(){this.VW={x:this.get("x"),y:this.get("y"),z:this.get("z"),yaw:this.get("yaw"),
pitch:this.get("pitch"),distance:this.get("distance"),fov:this.get("fov")}};a.prototype.TPa=function(g){this.VW||(this.VW={});for(var d in g)this.VW[d]=g[d]};a.prototype.HYa=function(g){this.d4!==g&&(this.d4=g,this.dSa())};a.prototype.dSa=function(){this.set("doubleClickDisabled",this.d4)};a.prototype.DMa=function(){this.tpa||(this.tpa=!0,b.zz(function(){this.tpa=!1;this.zRa()}.bind(this)))};a.prototype.zRa=function(){this.trigger(h.st)};a.w0a=100;a.prototype.setStoredPosition=function(g){this.TPa(g)};
a.prototype.play=function(){this.set("state",m.X)};a.prototype.pause=function(){this.set("state",m.Eb)};a.prototype.stop=function(){this.set("state",m.T)};return a});define("kF",["require","nx","fV"],function(a){var e=a("nx"),h=a("fV");return e.define("FirstPersonModel3DCamera",h,function(){h.call(this);this.set("distance",0)})});
define("cL",["require","lP","oH","nx","es"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("es");a=m.define("HotspotPanoramaOverlay",e,function(){e.call(this);this.bind(h.kd,this.rk,this,!0);this.bind(h.sd,this.lk,this,!0);this.ai=[];this.Ib=!1});a.prototype.set=function(b,g){switch(b){case "enabledInCardboard":this.set("enabledInVR",g);break;case "effect":case "rollOverEffect":case "areas":this.VNa(),this.ai=[]}e.prototype.set.call(this,b,g);switch(b){case "enabledInCardboard":this.set("enabledInVR",
g);break;case "effect":case "rollOverEffect":case "areas":this.vDa()}};a.prototype.vDa=function(){this.get("effect")&&this.get("effect").bind(k.gt,this.wna,this,!0);this.get("rollOverEffect")&&this.get("rollOverEffect").bind(k.gt,this.Koa,this,!0);this.get("areas",[]).forEach(function(b){b.bind(h.Wc,this.lna,this,!0);b.bind(h.ac,this.kna,this,!0)}.bind(this))};a.prototype.VNa=function(){this.get("effect")&&this.get("effect").unbind(k.gt,this.wna,this,!0);this.get("rollOverEffect")&&this.get("rollOverEffect").unbind(k.gt,
this.Koa,this,!0);this.get("areas",[]).forEach(function(b){b.unbind(h.Wc,this.lna,this,!0);b.unbind(h.ac,this.kna,this,!0)}.bind(this))};a.prototype.lna=function(b){0>this.ai.indexOf(b.source)&&(this.ai.push(b.source),1==this.ai.length&&this.oG())};a.prototype.kna=function(b){b=this.ai.indexOf(b.source);0<=b&&(this.ai.splice(b,1),0==this.ai.length&&this.Om())};a.prototype.oG=function(){var b=this.get("effect"),g=this.get("rollOverEffect");g&&(b&&0<b.Qk()?b.reverse():g.play())};a.prototype.Om=function(){var b=
this.get("rollOverEffect");if(b){var g=this.get("effect");0<b.Qk()?b.reverse():g&&g.get("loop")&&g.play()}};a.prototype.wna=function(){if(0<this.ai.length){var b=this.get("rollOverEffect");b&&(this.get("effect").stop(),b.play())}};a.prototype.Koa=function(){if(0==this.ai.length){this.get("rollOverEffect").stop();var b=this.get("effect");b&&b.get("loop")&&b.play()}};a.prototype.rk=function(){var b=this.get("effect");b&&b.play()};a.prototype.lk=function(){var b=this.get("effect");b&&b.stop();(b=this.get("rollOverEffect"))&&
b.stop()};return a});define("my",["require","nx","cL"],function(a){var e=a("nx"),h=a("cL");return e.define("FlatHotspotPanoramaOverlay",h,function(){h.call(this)})});define("u",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("HotspotPanoramaOverlayArea",e,function(){e.call(this);this.set("displayTooltipInTouchScreens",!0)})});define("fz",["require","nx","u"],function(a){var e=a("nx"),h=a("u");return e.define("FlatHotspotPanoramaOverlayArea",h,function(){h.call(this)})});
define("hR",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("QuadPanoramaOverlayPlaybackPosition",e,function(h,m,k){e.call(this);void 0!==h&&this.set("vertices",h);this.set("opacity",void 0!==m?m:1);void 0!==k&&this.set("timestamp",k)})});
define("eb",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("FlatPanoramaOverlayPlaybackPosition",e,function(h,m,k,b,g){e.call(this);void 0!==h&&this.set("yaw",h);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("roll",k);this.set("opacity",void 0!==b?b:1);void 0!==g&&this.set("timestamp",g)})});
define("gh",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaOverlayPlaybackPosition",e,function(h,m,k,b,g,d,c,f,l){e.call(this);void 0!==h&&this.set("yaw",h);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("rotationX",k);void 0!==b&&this.set("rotationY",b);void 0!==g&&this.set("roll",g);void 0!==d&&this.set("hfov",d);void 0!==c&&this.set("vfov",c);this.set("opacity",void 0!==f?f:1);void 0!==l&&this.set("timestamp",l)})});
define("cB",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaPoint",e,function(h,m){e.call(this);this.set("yaw",h);this.set("pitch",m)})});
define("U",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PopupPanoramaOverlayPlaybackPosition",e,function(h,m,k,b,g,d,c){e.call(this);void 0!==h&&this.set("yaw",h);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("rotationX",k);void 0!==b&&this.set("rotationY",b);void 0!==g&&this.set("rotationZ",g);void 0!==d&&this.set("hfov",d);void 0!==c&&this.set("timestamp",c)})});
define("kk","require lP hR eb gh cB U".split(" "),function(a){var e=a("lP"),h=a("hR"),m=a("eb"),k=a("gh"),b=a("cB"),g=a("U");return{dVa:function(d){return this.bT(d,this.aIa)},hca:function(d){return this.bT(d,this.rNa)},xVa:function(d){return this.bT(d,this.yNa)},ica:function(d){return this.bT(d,this.INa)},aIa:function(d){return new m(e.prototype.get.call(d,"yaw",0),e.prototype.get.call(d,"pitch",0),e.prototype.get.call(d,"roll",0),e.prototype.get.call(d,"opacity",1),0)},INa:function(d){var c=e.prototype.get.call(d,
"vertices",[null,null,null,null]);return new h([c[0]||new b(0,0),c[1]||new b(0,0),c[2]||new b(0,0),c[3]||new b(0,0)],e.prototype.get.call(d,"opacity",1),0)},rNa:function(d){function c(f,l){return e.prototype.get.call(d,f,l)}return new k(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",void 0===c("vfov")?45:void 0),c("vfov"),c("opacity",1),0)},yNa:function(d){function c(f,l){return e.prototype.get.call(d,f,l)}return new g(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",
0),c("rotationZ",0),c("hfov",45),0)},bT:function(d,c){var f=e.prototype.get.call(d,"playbackPositions")||[];return 0<f.length?f.slice().sort(function(l,p){return l.get("timestamp")-p.get("timestamp")||f.indexOf(l)-f.indexOf(p)}):[c(d)]}}});
define("jf",["require","lP","oH","nx","kk"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("kk");a=m.define("FlatHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.dd=void 0});a.prototype.get=function(b,g){switch(b){case "playbackPositions":return void 0===this.dd&&(this.dd=k.dVa(this)),this.dd}return e.prototype.get.call(this,b,g)};a.prototype.set=function(b,g){var d=!1;switch(b){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.dd=void 0,
d=!0}e.prototype.set.call(this,b,g);d&&"playbackPositions"!=b&&this.trigger(h.G("playbackPositions"))};return a});define("q",["require","nx","jf"],function(a){var e=a("nx"),h=a("jf");return e.define("FlatHotspotPanoramaOverlayImage",h,function(){h.call(this)})});define("dV",["require","nx","jf"],function(a){var e=a("nx"),h=a("jf");return e.define("FlatHotspotPanoramaOverlayMap",h,function(){h.call(this)})});
define("ox",["require","nx","fV"],function(a){var e=a("nx"),h=a("fV");return e.define("FlyOverModel3DCamera",h,function(){h.call(this)})});
define("mM",["require","lP","oH","nx","kk"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("kk");a=m.define("FramePanoramaOverlay",e,function(){e.call(this);this.dd=void 0});a.prototype.set=function(b,g){var d=!1;switch(b){case "hfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.dd=void 0,d=!0}e.prototype.set.call(this,b,g);d&&"playbackPositions"!=b&&this.trigger(h.G("playbackPositions"))};a.prototype.get=function(b,g){switch(b){case "playbackPositions":return void 0===
this.dd&&(this.dd=k.hca(this)),this.dd}return e.prototype.get.call(this,b,g)};return a});define("jM",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("Model3DResource",e,function(){e.call(this)});a.prototype.get=function(h,m){switch(h){case "levels":m=[this];break;case "url":for(var k=e.prototype.get.call(this,h),b=this.get("levels"),g=0;b&&g<b.length&&void 0===k;g++){var d=b[g];d!=this&&(k=d.get(h))}return void 0!==k?k:m}return e.prototype.get.call(this,h,m)};return a});
define("co",["require","jM","nx"],function(a){var e=a("jM");return a("nx").define("TDTilesModel3DResource",e,function(){e.call(this)})});
define("ml",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("Model3DResourceLevel",e,function(){e.call(this)});a.bR="mobile";a.prototype.get=function(h,m){switch(h){case "levels":m=[this];break;case "url":for(var k=e.prototype.get.call(this,h),b=this.get("levels"),g=0;b&&g<b.length&&void 0===k;g++){var d=b[g];d!=this&&(k=d.get(h))}return void 0!==k?k:m}return e.prototype.get.call(this,h,m)};return a});
define("cT",["require","co","ml","nx"],function(a){var e=a("co"),h=a("ml");a=a("nx").define("GoogleMaps3DTilesModel3DResource",e,function(){e.call(this)});a.prototype.set=function(b,g){e.prototype.set.call(this,b,g);switch(b){case "latitude":case "longitude":this.pf();break;case "apiKey":this.oSa()}};a.prototype.pf=function(){var b=this.get("latitude"),g=this.get("longitude");if(void 0!==b&&void 0!==g){b=this.Dka(b,g);g=(new THREE.Vector3).crossVectors(b,(new THREE.Vector3).crossVectors(this.Dka(90,
0),b));var d=new THREE.Vector3(0,0,0);g=(new THREE.Matrix4).lookAt(b,d,g).invert();g=(new THREE.Matrix4).makeRotationX(-Math.PI/2).multiply(g);g=(new THREE.Euler).setFromRotationMatrix(g,"XYZ");this.set("rotationOrder",g.order);this.set("rotationX",g.x*k);this.set("rotationY",g.y*k);this.set("rotationZ",g.z*k);this.set("positionX",-b.x);this.set("positionY",-b.y);this.set("positionZ",-b.z)}};a.prototype.Dka=function(b,g){b*=m;g*=m;var d=1/298.257223563;const c=Math.sin(b);b=Math.cos(b);d=2*d-d*d;
const f=6378137/Math.sqrt(1-d*c*c);return new THREE.Vector3((f+0)*b*Math.cos(g),(f+0)*b*Math.sin(g),f*(1-d)*c)};a.prototype.oSa=function(){var b=this.get("apiKey");if(void 0!==b){var g=new h;g.set("url","https://tile.googleapis.com/v1/3dtiles/root.json?key="+b);this.set("levels",[g])}};var m=Math.PI/180,k=180/Math.PI;return a});
define("dl",["require","eg","lo","oc","d"],function(a){var e=a("eg"),h=a("lo"),m=a("oc");a=a("d");var k=h.extend(m,function(){m.call(this)});k.vc={layout:a.Cw};e.defaults(k.vc,m.vc);k.prototype.nb=function(){this.Kn(k.vc)};return k});define("jJ",["require","nx","dl"],function(a){var e=a("nx"),h=a("dl");return e.define("GridContainer",h,function(){h.call(this)})});
define("jo","require eg jquery.mod cy gi oH hT mj ku iq lo".split(" "),function(a){function e(){}function h(q){this.PXa=q;this.items=[];this.priority=0}var m=a("eg");a("jquery.mod");var k=a("cy"),b=a("gi"),g=a("oH"),d=a("hT"),c=a("mj"),f=a("ku"),l=a("iq"),p=a("lo").extend(b,function(q){b.call(this);this.url=q;this.qda=this.priority=0;this.status=p.f1;this.qw=null});p.prototype.Rca=function(q){this.qda+=q};p.prototype.xI=function(q){this.priority+=q};p.prototype.start=function(){this.status=p.aR;f.r_(this.url)?
this.Xx():this.Un=l.add(this.url,d.H_,this.FOa.bind(this),this.pia.bind(this))};p.prototype.FOa=function(){this.qw=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.qw.open("GET",this.url);this.qw.onreadystatechange=function(){3<this.qw.readyState&&this.Xx()}.bind(this);this.qw.send()};p.prototype.pia=function(){this.qw&&(this.qw.abort(),this.qw=null)};p.prototype.stop=function(){this.status==p.aR&&(this.status=p.f1,this.pia(),this.Un&&this.Un.cancel())};p.prototype.Xx=
function(){this.qw=null;this.Un&&(this.Un.loaded(),this.Un=null);this.status=p.ACa;this.trigger(new k(g.Z))};p.f1="not loaded";p.aR="loading";p.ACa="loaded";h.prototype.BTa=function(q){q.forEach(function(n){0>this.items.indexOf(n)&&(this.items.push(n),n.xI(this.priority),n.Rca(1))}.bind(this))};h.prototype.ZXa=function(q){var n=this.items;this.items=[];n.forEach(function(r){0>q.indexOf(r)?this.items.push(r):(r.xI(-this.priority),r.Rca(-1))}.bind(this))};h.prototype.RXa=function(){this.items.forEach(function(q){q.xI(-this.priority);
q.Rca(-1)}.bind(this));this.items=[];this.priority=0};h.prototype.xI=function(q){this.priority+=q;this.items.forEach(function(n){n.xI(q)})};e.ae=[];e.$pa=[];e.jIa=0;e.dua=function(q,n){this.MV(q).BTa(n.map(function(r){return this.wa(r)}.bind(this)));this.GW();this.ea()};e.cYa=function(q,n){this.MV(q).ZXa(n.map(function(r){return this.wa(r)}.bind(this)));this.GW();this.ea()};e.SXa=function(q){this.MV(q).RXa();this.GW();this.ea()};e.tZ=function(q,n){this.MV(q).xI(n);this.GW();this.ea()};e.GW=function(){this.ae.sort(function(q,
n){return n.priority-q.priority})};e.ea=function(q){if(this.enabled()&&(q||!this.qs))if(q){this.qs&&clearTimeout(this.qs);this.qs=null;q=this.iJa();var n=this.jJa();m(q).difference(n).forEach(function(r){r.stop()});m(n).difference(q).forEach(function(r){r.start()})}else this.qs=setTimeout(function(){this.qs=null;this.ea(!0)}.bind(this),1E3)};e.qs=null;e.iJa=function(){return this.ae.filter(function(q){return q.status==p.aR})};e.jJa=function(){for(var q=this.kJa(),n=[],r=0;r<this.ae.length&&n.length<
q;r++){var t=this.ae[r];0<t.qda&&(t.status==p.f1||t.status==p.aR)&&n.push(t)}return n};e.kJa=function(){return 0<this.jIa?0:5};e.MV=function(q){var n=m(this.$pa).find(function(r){return r.PXa==q});n||(n=new h(q),this.$pa.push(n));return n};e.wa=function(q){var n=m(this.ae).find(function(r){return r.url==q});n||(n=new p(q),n.bind(g.Z,this.ea,this),this.ae.push(n));return n};e.enabled=function(q){if(void 0===q)return e.dHa||e.eHa?!1:void 0!==e.r4?e.r4:e.W;e.W=q};e.W=!0;e.gea=function(q){e.r4=q.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
e.r4=void 0;e.eHa=c.Wh("disable-background-preload",!1);e.dHa=!1;return e});define("en",["require","lo","lP","nx","jo"],function(a){var e=a("lo"),h=a("lP"),m=a("nx"),k=a("jo");a=m.define("Media",h,function(){h.call(this);this.raa=e.Io(this.raa,this)});a.prototype.raa=function(){k.dua(this,this.Ls())};a.prototype.Ls=function(){return[]};a.prototype.aYa=function(){k.SXa(this)};a.prototype.set=function(b,g){h.prototype.set.call(this,b,g);this.raa()};return a});
define("eZ",["require","nx","en"],function(a){var e=a("nx"),h=a("en");a=e.define("Panorama",h,function(){h.call(this);this.QT=this.bH=void 0;this.set("minFaceSize",void 0)});a.prototype.get=function(m,k){switch(m){case "overlays":return this.m5();case "frames":return this.Qka();case "partial":if(359.9>this.get("hfov"))return!0}return h.prototype.get.call(this,m,k)};a.prototype.set=function(m,k){switch(m){case "cardboardMenu":this.set("vrMenu",k)}h.prototype.set.call(this,m,k)};a.prototype.m5=function(){var m=
h.prototype.get.call(this,"overlays");m||(m=[]);return this.Z9(m)};a.prototype.Z9=function(m){if(void 0===this.bH||this.QT!=m){var k=function(g){return e.Na("PopupPanoramaOverlay",g)},b=function(g){return e.Na("LensFlarePanoramaOverlay",g)};this.QT=m;this.bH=[].concat(m.filter(function(g){return!(k(g)||b(g))}),m.filter(b),m.filter(k))}return this.bH};a.prototype.twa=function(){return 0<this.get("overlays").filter(function(m){return e.Na("TripodCapPanoramaOverlay",m)}).length};a.prototype.iwa=function(){return 0<
this.get("overlays").filter(function(m){return e.Na("CeilingCapPanoramaOverlay",m)}).length};a.prototype.Iwa=function(){if(!this.xca())return!1;var m=this.get("pitch",0),k=this.get("vfov",180);if(179.9<=k)return!0;var b=this.iwa()?90:m+.5*k;m=this.twa()?-90:m-.5*k;return 179.9<=b-m?!0:!1};a.prototype.xca=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.Tl=function(){var m=this.Qka();return 0<m.length&&m[0].Tl()};a.prototype.DY=function(){return 0};a.prototype.Qka=function(){var m=
h.prototype.get.call(this,"frames",[]);m.forEach(function(k){k.GTa(this)}.bind(this));return m};return a});define("ng",["require","nx","eZ"],function(a){var e=a("nx"),h=a("eZ");a=e.define("HDRPanorama",h,function(){h.call(this)});a.prototype.DY=function(){var m=this.get("frames")||[];return Math.floor((m.length-1)/2)};return a});define("lV",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("HotspotMapOverlayArea",e,function(){e.call(this)})});
define("lZ",["require","lP","nx"],function(a){var e=a("lP"),h=a("nx").define("ImageResourceLevel",e,function(){e.call(this)});h.prototype.get=function(m,k){switch(m){case "tags":return(m=e.prototype.get.call(this,m))||(m=[]),Array.isArray(m)||(m=[m]),0>m.indexOf(h.kr)&&e.prototype.get.call(this,"grayscale")&&(m=m.concat([h.kr])),m}return e.prototype.get.call(this,m,k)};h.prototype.swa=function(m){return 0<=this.get("tags").indexOf(m)};h.kr="preload";h.bR="mobile";h.nga="ipadpro";h.cR="mobilevr";h.l1=
"mobilevr2gen";h.m1="ondemand";return h});
define("ga",["require","lZ","v","mj"],function(a){var e=a("lZ"),h=a("v"),m=a("mj");return{Eq:function(k){return this.Jj(k,"load")},rD:function(k){return this.Jj(k,"preload")},nI:function(k){return this.Eq(k)!=this.rD(k)},Jj:function(k,b){k=k.get("levels")||[];var g=this.tIa(k);g=this.FJa(b,g);k=this.XHa(k,b);(b=this.ala(k,g[0],g[1],this.DJa(b)))||(b=this.ala(k,g[0],g[1],void 0));return b},XHa:function(k,b){"preload"==b?k=this.zK(k,e.kr):"load"==b&&(k=this.WHa(k,e.kr));h.Sv()&&(k=this.zK(k,e.nga));
h.bZ()&&(k=this.zK(k,e.l1));h.Rf()&&(k=this.zK(k,e.cR));h.kb()&&(k=this.zK(k,e.bR));return k},tIa:function(k){if(0==k.length)return 1;k.sort(function(b,g){return g.get("width")-b.get("width")});return k[0].get("width")/k[0].get("height")},FJa:function(k,b){if("preload"==k)return[0,0];k=1E4;this.cIa()||(h.Rf()?k=2048:h.Sv()?k=2048:h.kb()&&(k=1024));return 1>b?[k*b,k]:[k,k/b]},DJa:function(k){if("load"==k)return!1},cIa:function(){return h.Sv()&&m.Wh("recent_ipad_use_max_res",!1)},zK:function(k,b){var g=
k.filter(function(d){return d.swa(b)});0==g.length&&(g=k);return g},WHa:function(k,b){var g=k.filter(function(d){return!d.swa(b)});0==g.length&&(g=k);return g},ala:function(k,b,g,d){function c(f){return Math.abs(f.get("width")*f.get("height")-b*g)}k=k.filter(function(f){return void 0!==d&&d!=f.get("grayscale",!1)?!1:!0});if(0==k.length)return null;k.sort(function(f,l){return c(f)-c(l)});return k[0]}}});
define("L",["require","lP","nx","ga"],function(a){var e=a("lP"),h=a("nx"),m=a("ga");a=h.define("HotspotMapOverlayImageBase",e,function(){e.call(this)});a.prototype.Eq=function(){return this.get("image")?m.Eq(this.get("image")):null};a.prototype.rD=function(){return this.get("image")?m.rD(this.get("image")):null};return a});define("lp",["require","lo","cy"],function(a){var e=a("lo"),h=a("cy");return e.extend(h,function(m,k){h.call(this,m);this.Sg=k})});
define("cq",["require","lo","lP","oH","lp"],function(a){var e=a("lo"),h=a("lP"),m=a("oH"),k=a("lp");a=e.extend(h,function(){h.call(this);this.pO=[];this.Yf=void 0;this.A="initial"});a.prototype.Ns=function(){return this.pO};a.prototype.MI=function(b){this.pO!=b&&(this.pO=b,this.Xx=this.Yf=void 0)};a.prototype.jZa=function(b){this.Yf!==b&&(this.A="loading",this.Yf=b,this.trigger(new k(m.ec,this.Yf)))};a.prototype.dQ=function(){"loaded"!==this.A&&(this.A="loaded",this.trigger(m.Z))};a.prototype.JYa=
function(){"loaded"!==this.A&&(this.A="error",this.trigger(m.tc))};return a});define("dk",["require","lo","cq"],function(a){var e=a("lo"),h=a("cq");a=e.extend(h,function(m){h.call(this);this.Ce=m;this.v=void 0});a.prototype.getType=function(){return this.Ce};a.prototype.ZVa=function(m){return void 0!==this.v&&this.v===m.v};a.xga="map";a.yga="overlay";return a});
define("jP",["require","lo","dk"],function(a){var e=a("lo"),h=a("dk");a=e.extend(h,function(m,k,b){h.call(this,h.yga);this.gNa=m;this.Ha=k;this.Ka=b});a.prototype.getX=function(){return this.Ha};a.prototype.getY=function(){return this.Ka};a.wga="image";a.uga="fov";return a});
define("lT",["require","lo","jP"],function(a){var e=a("lo"),h=a("jP");a=e.extend(h,function(m,k,b,g,d,c,f,l,p,q,n,r){h.call(this,h.wga,b,g);this.v=m;this.Fd=k;this.Bqa=d;this.Hu=c;this.Iu=f;this.ia=l;this.ua=p;this.Df=q;this.kl=n;this.Ol=r;this.pO=[k]});a.prototype.wi=function(){return this.Fd};a.prototype.rd=function(){return this.ia};a.prototype.ee=function(){return this.ua};return a});
define("he",["require","nx","L","ga","lT"],function(a){var e=a("nx"),h=a("L"),m=a("ga"),k=a("lT");a=e.define("HotspotMapOverlayImage",h,function(){h.call(this);this.Du=void 0});a.prototype.getItem=function(){return this.Kj()};a.prototype.Kj=function(){void 0===this.Du&&(this.Du=this.eY());return this.Du};a.prototype.eY=function(b){var g=this.get("image");return g?(g=m.Eq(g),new k(this,g.get("url"),this.get("x"),this.get("y"),b,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),
this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))):null};return a});define("O",["require","nx","L"],function(a){var e=a("nx"),h=a("L");return e.define("HotspotMapOverlayMap",h,function(){h.call(this)})});
define("gg",["require","lP","oH","nx","kk"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("kk");a=m.define("HotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.dd=void 0});a.prototype.get=function(b,g){switch(b){case "playbackPositions":return void 0===this.dd&&(this.dd=k.hca(this)),this.dd}return e.prototype.get.call(this,b,g)};a.prototype.set=function(b,g){var d=!1;switch(b){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.dd=
void 0,d=!0}e.prototype.set.call(this,b,g);d&&"playbackPositions"!=b&&this.trigger(h.G("playbackPositions"))};return a});define("lD",["require","nx","gg"],function(a){var e=a("nx"),h=a("gg");return e.define("HotspotPanoramaOverlayImage",h,function(){h.call(this)})});define("Y",["require","nx","gg"],function(a){var e=a("nx"),h=a("gg");return e.define("HotspotPanoramaOverlayMap",h,function(){h.call(this)})});
define("lq",["require"],function(){function a(l){var p={};l=l.split(",");for(var q=0;q<l.length;q++)p[l[q]]=!0;return p}var e=/^<([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,h=/^<\/([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)[^>]*>/,m=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,k=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),b=a("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"),
g=a("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),d=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),c=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=a("script,style");return function(l,p){function q(w,x,y,A){x=x.toLowerCase();if(b[x])for(;r.last()&&g[r.last()];)n("",r.last());d[x]&&
r.last()==x&&n("",x);(A=k[x]||!!A)||r.push(x);if(p.start){var B=[];y.replace(m,function(z,C,H,D,I){z=H?H:D?D:I?I:c[C]?C:"";B.push({name:C,value:z,Mba:z.replace(/(^|[^\\])"/g,'$1\\"')})});p.start&&p.start(x,B,A)}}function n(w,x){if(x)for(x=x.toLowerCase(),w=r.length-1;0<=w&&r[w]!=x;w--);else w=0;if(0<=w){for(x=r.length-1;x>=w;x--)p.end&&p.end(r[x]);r.length=w}}var r=[],t=l;for(r.last=function(){return this[this.length-1]};l;){var u=!0;if(r.last()&&f[r.last()])l=l.replace(new RegExp("(.*?)</"+r.last()+
"[^>]*>"),function(w,x){x=x.replace(/\x3c!--(.*?)--\x3e/g,"$1").replace(/<!\[CDATA\[(.*?)]]\x3e/g,"$1");p.IO&&p.IO(x);return""}),n("",r.last());else{if(0==l.indexOf("\x3c!--")){var v=l.indexOf("--\x3e");0<=v&&(p.cUa&&p.cUa(l.substring(4,v)),l=l.substring(v+3),u=!1)}else if(0==l.indexOf("</")){if(v=l.match(h))l=l.substring(v[0].length),v[0].replace(h,n),u=!1}else 0==l.indexOf("<")&&(v=l.match(e))&&(l=l.substring(v[0].length),v[0].replace(e,q),u=!1);u&&(v=l.indexOf("<"),u=0>v?l:l.substring(0,v),l=0>
v?"":l.substring(v),p.IO&&p.IO(u))}if(l==t)throw"Parse Error: "+l;t=l}n()}});
define("fs","require jquery.mod eg lo oH cy gi v lq".split(" "),function(a){var e=a("jquery.mod");a("eg");var h=a("lo"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("v"),d=a("lq"),c=h.extend(b,function(f){b.call(this);this.yf=e(f);this.gN=[];this.tx=null});c.prototype.qWa=function(f){f&&0<=f.toLowerCase().indexOf("<script")?g.LH()==g.aJ?this.FKa(f):this.EKa(f):this.DKa(f)};c.prototype.DKa=function(f){this.yf.empty();f&&this.yf.append(f);this.Asa()};c.prototype.FKa=function(f){this.yf.empty();var l=this.yf,p=
null,q=[],n=null;new d(f,{start:function(r,t,u){if("script"==r){u=void 0;for(var v=0;v<t.length&&void 0===u;v++){var w=t[v];"src"==w.name&&(u=w.value)}n={parent:l,previousSibling:p,src:u,content:""}}else{var x={};for(v=0;v<t.length;v++)w=t[v],x[w.name]=w.value;t=e("<"+r+"/>");t.attr(x);l.append(t);u?p=t:(l=t,p=null)}},IO:function(r){n?n.content+=r:l.append(r)},end:function(r){"script"==r?(q.push(n),n=null):(p=l,l=l.parent())}});this.gN=q;this.XT()};c.prototype.EKa=function(f){function l(){q++;return p+
q}this.yf.empty();var p="fragment_"+h.OXa(6)+"_",q=0,n=l(),r=[n],t=void 0,u=[],v=null,w="";new d(f,{start:function(A,B,z){if("script"==A){z=void 0;for(A=0;A<B.length&&void 0===z;A++){var C=B[A];"src"==C.name&&(z=C.value)}v={parentClsName:r[r.length-1],previousSiblingClsName:t,src:z,content:""}}else{w+="<"+A;var H=l(),D=!1;for(A=0;A<B.length;A++)C=B[A],"class"==C.name&&(C.Mba+=" "+H,D=!0),w+=" "+C.name+'="'+C.Mba+'"';D||(w+=' class="'+H+'"');z?(w+="/>",t=H):(w+=">",r.push(H),t=void 0)}},IO:function(A){v?
v.content+=A:w+=A},end:function(A){"script"==A?(u.push(v),v=null):(t=r[r.length-1],r.pop())}});this.yf.get(0).innerHTML=w;this.yf.addClass(n);for(f=0;f<u.length;f++){var x=u[f],y=x.parentClsName;delete x.parentClsName;t=x.previousSiblingClsName;delete x.previousSiblingClsName;x.parent=e("."+y);x.previousSibling=t?e("."+t):null}this.yf.removeClass(n);this.gN=u;this.XT()};c.prototype.XT=function(){if(!this.tx)if(0<this.gN.length){this.tx=this.gN[0];this.gN.splice(0,1);var f=this.tx.src;if(f){var l=
this;c.rLa(f,function(){l.nma()},function(){l.yLa()})}else{var p=this.tx.parent;f=this.tx.previousSibling;var q=f?f.next():p.children(":first");f=document.write;document.write=q.length?function(n){q.before(n)}:function(n){p.append(n)};e.globalEval(this.tx.content);document.write=f;this.nma()}}else this.Asa()};c.prototype.yLa=function(){this.tx=null;this.XT()};c.prototype.nma=function(){this.tx=null;this.XT()};c.prototype.Asa=function(){this.trigger(new k(m.sb))};c.lma={};c.rLa=function(f,l,p){c.lma[f]?
l.call(window):e.ajax({url:f,async:!1,dataType:"script",error:p,success:function(){c.lma[f]=!0;l.call(window)}})};return c});
define("mE",["require","lo","oH","cy","gi"],function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi");a=e.extend(k,function(b,g){k.call(this);this.OKa=b;this.W=g;this.$i=null});a.prototype.bind=function(){var b=k.prototype.bind.apply(this,arguments);this.mO();return b};a.prototype.unbind=function(){var b=k.prototype.unbind.apply(this,arguments);this.mO();return b};a.prototype.start=function(){this.W=!0;this.mO()};a.prototype.stop=function(){this.W=!1;this.mO()};a.prototype.tM=function(){this.trigger(new m(h.He))};
a.prototype.mO=function(){if(this.W&&this.hwa(h.He)){if(null==this.$i){var b=this;this.$i=setTimeout(function(){b.$i=null;b.tM();b.mO()},this.OKa)}}else null!=this.$i&&(clearTimeout(this.$i),this.$i=null)};return a});
define("ln","require jquery.mod eg lo oH ii mQ e fs hs mE".split(" "),function(a){var e=a("jquery.mod"),h=a("eg"),m=a("lo"),k=a("oH"),b=a("ii"),g=a("mQ"),d=a("e"),c=a("fs"),f=a("hs");a=a("mE");var l=m.extend(d,function(){d.call(this);this.Be("HTML");this.SA=l.gR;this.Jpa=this.Kpa=0;this.Ira=(new Date).getTime();this.vS=this.nj=null;this.FE=this.FE.bind(this);this.b2=[]});l.prototype.nb=function(){d.prototype.nb.call(this);this.h("content");this.h("horizontalAlign",g.Pa);this.h("verticalAlign",g.he);
this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");this.h("textAlign");this.h("textDecoration");this.h("textShadowBlurRadius",3);this.h("textShadowColor","#000000");this.h("textShadowHorizontalLength",0);this.h("textShadowOpacity",0);this.h("textShadowVerticalLength",0)};l.prototype.cs=function(q){this.fb&&b.get(this.fb).UXa(this.FE);d.prototype.cs.call(this,q);this.fb&&(b.get(this.fb).uTa(this.FE),b.get(this.fb).PH(this.FE))};l.prototype.Ab=function(){d.prototype.Ab.call(this);
if(!this.vS){this.nj=document.createElement("div");this.vS=e(this.nj);this.Y3({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var q=this.Bb();q.JI(!1);q.append(this.vS);this.yla=new c(this.vS);this.yla.bind(k.sb,this.sKa,this,!0);this.bind(k.kc,this.zla,this)}};l.prototype.Va=function(){var q={},n=!1;this.I("visible")&&(n=!0);this.I("content")&&(n=this.B("content"),this.yla.qWa(n),this.P("content"),n=!0);if(this.I("width")||this.I("height"))n=!0;this.I("fontFamily")&&
(n=this.B("fontFamily"),h(n).isString()||(n=""),q.fontFamily=f.Jv(n),this.P("fontFamily"),n=!0);this.I("fontSize")&&(n=this.B("fontSize"),h(n).isNumber()?n+="px":h(n).isString()||(n=""),q.fontSize=n,this.P("fontSize"),n=!0);this.I("fontColor")&&(n=this.B("fontColor"),h(n).isString()||(n=""),q.color=n,this.P("fontColor"),n=!0);if(this.I("fontWeight")){n=this.B("fontWeight");switch(n){case "bold":case "bolder":case "lighter":case "100":case "200":case "300":case "400":case "500":case "600":case "700":case "800":case "900":case "normal":break;
default:n="normal"}q.fontWeight=n;this.P("fontWeight");n=!0}if(this.I("fontStyle")){n=this.B("fontStyle");switch(n){case "italic":case "normal":break;default:n="normal"}q.fontStyle=n;this.P("fontStyle");n=!0}if(this.I("textDecoration")){n=this.B("textDecoration");switch(n){case "underline":case "overline":case "line-through":case "none":break;default:n="none"}q.textDecoration=n;this.P("textDecoration");n=!0}if(this.I("textAlign")){n=this.B("textAlign");switch(n){case "left":case "right":case "center":case "justify":break;
default:n=""}q["text-align"]=n;this.P("textAlign");n=!0}var r=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(h(r).any(function(u){return this.I(u)},this)){var t={};h(r).each(function(u){t[u]=this.B(u);this.P(u)},this);q["-moz-text-shadow"]=q["-webkit-text-shadow"]=q["text-shadow"]=[t.textShadowHorizontalLength+"px",t.textShadowVerticalLength+"px",t.textShadowBlurRadius+"px","rgba("+parseInt("0x"+t.textShadowColor.substr(1,
2))+", "+parseInt("0x"+t.textShadowColor.substr(3,2))+", "+parseInt("0x"+t.textShadowColor.substr(5,2))+", "+t.textShadowOpacity+")"].join(" ");r=0==t.textShadowVerticalLength&&0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(t.textShadowHorizontalLength,-t.textShadowVerticalLength)/Math.PI);q.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*t.textShadowOpacity).toString(16)).slice(-2)+t.textShadowColor.substr(1,6)+",direction="+r+")"}h(["paddingTop","paddingRight",
"paddingBottom","paddingLeft"]).any(function(u){return this.I(u)},this)&&(n=!0);this.Y3(q);d.prototype.Va.call(this);n&&this.Rma()};l.prototype.Rma=function(){this.zla();this.Vb();this.B("visible")&&this.B("content")?this.kN(l.Kga):this.kN(l.gR)};l.prototype.Ry=function(q,n){for(n=q.target;n&&"A"!=n.tagName&&"BUTTON"!=n.tagName;)n=n.parentElement;n=!n;d.prototype.Ry.call(this,q,n)};l.prototype.Gu=function(){d.prototype.Gu.call(this);var q=this.Bb();this.ql=this.nj.clientWidth+q.gI()+q.jI();this.pl=
this.nj.clientHeight+q.lI()+q.cI()};l.prototype.lra=function(q){this.o5()!=q&&(this.nj.style.paddingLeft=q+"px",this.Vb())};l.prototype.o5=function(){return parseInt(this.nj.style.paddingLeft)||0};l.prototype.nra=function(q){this.q5()!=q&&(this.nj.style.paddingTop=q+"px",this.Vb())};l.prototype.q5=function(){return parseInt(this.nj.style.paddingTop)||0};l.prototype.mra=function(q){this.p5!=q&&(this.nj.style.paddingRight=q+"px",this.Vb())};l.prototype.p5=function(){return parseInt(this.nj.style.paddingRight)||
0};l.prototype.kra=function(q){this.n5()!=q&&(this.nj.style.paddingBottom=q+"px",this.Vb())};l.prototype.n5=function(){return parseInt(this.nj.style.paddingBottom)||0};l.prototype.sKa=function(){this.b2=Array.prototype.slice.call(this.nj.querySelectorAll("*[style]")).map(function(q){var n={};n.WH=q;n.style=q.getAttribute("style");return n}).filter(function(q){return p.test(q.style)}).map(function(q){for(var n=q.style,r=[];;){var t=p.exec(n);if(t)r.push(function(u){return function(){return u}}(n.substr(0,
t.index+1))),r.push(function(u,v){switch(v){case "vw":return function(w){return Math.round(w*u)+"px"};case "vh":return function(w,x){return Math.round(x*u)+"px"};case "vmin":return function(w,x,y){return Math.round(y*u)+"px"};case "vmax":return function(w,x,y){return Math.round(y*u)+"px"}}}(parseFloat(t[1]),t[3].toLowerCase())),n=n.substr(t.index+t[0].length);else return r.push(function(u){return function(){return u}}(n)),q.functions=r,q}});this.fb&&b.get(this.fb).PH(this.FE)};l.prototype.FE=function(q,
n,r,t){0!=this.b2.length&&(this.b2.forEach(function(u){var v=u.functions.map(function(w){return w(q,n,r,t)}).join("");u.WH.setAttribute("style",v)}),this.Rma())};l.prototype.zla=function(){var q={width:"auto",height:"auto"},n=this.Bb();if(!this.D5()){this.ql!=this.ia&&this.Vb();var r=this.ia-(n.gI()+n.jI());0<r&&(q.width=r+"px")}this.sla()||(this.pl!=this.ua&&this.Vb(),n=this.ua-(n.lI()+n.cI()),0<n&&(q.height=n+"px"));this.Y3(q)};l.prototype.qna=function(){var q=this.nj.clientWidth,n=this.nj.clientHeight;
this.Kpa!=q||this.Jpa!=n?(this.Kpa=q,this.Jpa=n,this.Vb(),this.kN(l.Kga)):(q=(new Date).getTime()-this.Ira,q>l.lDa?this.kN(l.aDa):q>l.kDa&&this.kN(l.$Ca))};l.prototype.rOa=function(){this.Ira=(new Date).getTime()};l.prototype.kN=function(q){this.SA==l.k0a&&this.rOa();this.SA!=q&&(this.SA!=l.gR&&l.Aia[this.SA].unbind(k.He,this.qna,this),this.SA=q,this.SA!=l.gR&&l.Aia[this.SA].bind(k.He,this.qna,this,!0))};l.prototype.Y3=function(q){var n=this.nj.style,r;for(r in q)n[r]=q[r]};var p=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
l.gR="stopped";l.aDa="slow";l.$Ca="normal";l.Kga="fast";l.lDa=3E4;l.kDa=5E3;l.Aia={slow:new a(2E3,!0),normal:new a(500,!0),fast:new a(100,!0)};return l});define("ke",["require","ln","nx"],function(a){var e=a("ln");return a("nx").define("HTML",e,function(){e.call(this)})});define("b",["require","eg","lo","oc","d"],function(a){var e=a("eg"),h=a("lo"),m=a("oc");a=a("d");var k=h.extend(m,function(){m.call(this)});k.vc={layout:a.CQ};e.defaults(k.vc,m.vc);k.prototype.nb=function(){this.Kn(k.vc)};return k});
define("iJ",["require","lo","hH","b","ln"],function(a){var e=a("lo"),h=a("hH"),m=a("b"),k=a("ln");a=e.extend(m,function(){m.call(this);this.Nx=null;this.set("contentOpaque",!0)});a.prototype.nb=function(){m.prototype.nb.call(this);this.h("overflow",h.cp);this.h("html")};a.prototype.Ab=function(){m.prototype.Ab.call(this);null==this.Nx&&(this.Nx=new k,this.Nx.ja({left:0}),this.Wa(this.Nx))};a.prototype.Va=function(){this.I("html")&&(this.Nx.set("content",this.B("html")),this.P("html"));this.lc(["paddingLeft",
"paddingTop","paddingRight","paddingBottom"],{},[this.Nx],!0,!0);this.lc(["cursor"],{},[this.Nx],!0,!1);m.prototype.Va.call(this);this.Nx.set("width",this.D5()?void 0:"100%")};return a});define("bx",["require","iJ","nx"],function(a){var e=a("iJ");return a("nx").define("HTMLText",e,function(){e.call(this)})});
define("ka","require jquery.mod lo oH cy mj hn bc md gJ ed mw".split(" "),function(a){function e(r,t,u){return function(v){var w="mouse"==t?this.uB(v):this.BF(v);this.Ula(w)?r.call(this,v):"release"==u?r.call(this,v):this.kIa(w,v)}}var h=a("jquery.mod"),m=a("lo"),k=a("oH"),b=a("cy"),g=a("mj"),d=a("hn"),c=a("bc"),f=a("md"),l=a("gJ"),p=a("ed"),q=a("mw"),n=g.cj("debug");a=m.extend(q,function(){this.Be("Button");q.call(this,3);this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("cursor",
c.df);this.set("scaleMode",f.rh);this.X2=document.createElement("canvas");this.X2.width=1;this.X2.height=1;this.Y2=this.X2.getContext("2d");this.Y2.globalCompositeOperation="copy";this.J4=!1;this.bind(k.ac,this.wKa,this)});a.prototype.nb=function(){q.prototype.nb.call(this);this.h("buttonGroup");this.h("mode",p.Ie);this.h("pressed");this.h("iconURL");this.h("transparencyActive");this.u("rollOverOpacity",l.U,"opacity");this.u("rollOverIconURL",l.U,"iconURL");this.u("pressedOpacity",l.ob,"opacity");
this.u("pressedIconURL",l.ob,"iconURL");this.u("pressedRollOverOpacity",l.$b,"opacity");this.u("pressedRollOverIconURL",l.$b,"iconURL")};a.prototype.S4=e(q.prototype.S4,"touch","capture");a.prototype.kka=e(q.prototype.pIa,"touch");a.prototype.mka=e(q.prototype.pIa,"touch","release");a.prototype.F$=e(q.prototype.F$,"touch","capture");a.prototype.E$=e(q.prototype.E$,"touch");a.prototype.Ry=e(q.prototype.Ry,"touch","release");a.prototype.d7=e(q.prototype.d7,"mouse","capture");a.prototype.h7=function(r){var t=
this.uB(r);if(this.Ula(t)||this.J4)q.prototype.h7.call(this,r),q.prototype.set.call(this,"cursor",this.nja);else{this.J4=!0;if(t=this.Pka(t))h(t).trigger(this.Kia(r)),r.preventDefault(),r.stopImmediatePropagation();"pointer"==this.Jka(t)?q.prototype.set.call(this,"cursor",c.df):q.prototype.set.call(this,"cursor",c.He);this.J4=!1}};a.prototype.wKa=function(){q.prototype.set.call(this,"cursor",this.nja)};a.prototype.oU=e(q.prototype.oU,"mouse","release");a.prototype.Ula=function(r){if(!this.Wb)return!1;
if(this.get("transparencyActive"))return!0;var t=this.fb?this.fb.uy:1,u=this.Wb.offset(),v=(r.wz-u.left)/t,w=this.Wb.width();r=(r.xz-u.top)/t;t=this.Wb.height();if(0<=v&&0<=r&&v<w&&r<t){if(n)return!0;v=v*this.qG/w;w=r*this.pG/t;this.Y2.drawImage(this.Wb.get(0),v,w,1,1,0,0,1,1);if(0<this.Y2.getImageData(0,0,1,1).data[3])return!0}return!1};a.prototype.kIa=function(r,t){if(r=this.Pka(r))h(r).trigger(this.Kia(t)),t.preventDefault(),t.stopImmediatePropagation()};a.prototype.Pka=function(r){this.Br().style.pointerEvents=
"none";r=document.elementFromPoint(r.wz,r.xz);setTimeout(function(){this.Br().style.pointerEvents=this.gla()}.bind(this),0);return r};a.prototype.Kia=function(r){return h.extend(h.Event(r.type),{originalEvent:r.originalEvent,wheelDelta:r.wheelDelta,detail:r.detail,which:1,clientX:r.clientX,clientY:r.clientY,pageX:r.pageX,pageY:r.pageY,screenX:r.screenX,screenY:r.screenY})};a.prototype.Jka=function(r){if(r){var t=r.style.cursor;"inherit"==t&&(t=this.Jka(r.parentElement))}else t="default";return t};
a.prototype.OJ=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new b(k.jm))):(this.set("pressed",!0),this.trigger(new b(k.Vj)))};a.prototype.set=function(r,t){"cursor"===r&&(this.nja=t);return q.prototype.set.call(this,r,t)};a.prototype.Va=function(){var r=!1;if(this.I("backgroundOpacityy")||this.I("backgroundColor"))r=!0;if(this.I("iconURL")){var t=this.B("iconURL");this.set("url",t);this.P("iconURL")}t=!1;this.I("mode")&&(this.B("mode")==p.Ie?(this.unbind(k.qa,this.OJ,this,!0),
this.set("autoPressed",!0)):(this.bind(k.qa,this.OJ,this,!0),this.set("autoPressed",!1)),this.P("mode"),t=!0);if(t||this.I("pressed"))this.B("mode")==p.Xj?this.XG(1==this.B("pressed")):t&&this.XG(!1);this.I("buttonGroup")&&((t=this.B("buttonGroup"))?d.register(this,t):d.unregister(this),this.P("buttonGroup"));q.prototype.Va.call(this);r&&(r=this.Qc(),0==r.Pk()||0==r.YA.length)&&(r.fj(.001),r.wza(["#000000"]))};return a});
define("bl",["require","ka","nx"],function(a){var e=a("ka");return a("nx").define("IconButton",e,function(){e.call(this)})});define("nf",["require","nx","ij"],function(a){var e=a("nx"),h=a("ij");return e.define("IconHotspotMapOverlay",h,function(){h.call(this,!1)})});define("oa",["require","mw","nx"],function(a){var e=a("mw");a=a("nx").define("Image",e,function(){e.call(this)});a.prototype.set=function(h,m){e.prototype.set.call(this,h,m)};return a});
define("oY",["require","nx","jK"],function(a){var e=a("nx"),h=a("jK");return e.define("PlaneModel3DObject",h,function(){h.call(this)})});define("iX",["require","nx","oY"],function(a){var e=a("nx"),h=a("oY");return e.define("ImagePlaneModel3DObject",h,function(){h.call(this)})});define("lA",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("InnerModel3DObject",h,function(){h.call(this)})});
define("jb",["require","iQ","nx"],function(a){var e=a("iQ");return a("nx").define("Label",e,function(){e.call(this)})});define("bL",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("LensFlarePanoramaOverlay",e,function(){e.call(this)})});define("cG",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("LineModel3DObject",h,function(){h.call(this)})});
define("oh",["require","nx","eZ"],function(a){var e=a("nx"),h=a("eZ");a=e.define("LivePanorama",h,function(){h.call(this)});a.prototype.DY=function(){return this.get("initialFrameIndex",0)};return a});define("jr",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("Light",e,function(){e.call(this)})});
define("cV",["require","lo","dk"],function(a){var e=a("lo"),h=a("dk");a=e.extend(h,function(m,k,b,g,d,c,f){h.call(this,h.xga);this.v=m;this.Fd=k;this.ia=b;this.ua=g;this.Df=d;this.E4=c;this.Zn=f.slice()});a.prototype.Ns=function(){for(var m=[this.Fd],k=0;k<this.Zn.length;k++)m=m.concat(this.Zn[k].Ns());return m};a.prototype.wi=function(){return this.Fd};a.prototype.rd=function(){return this.ia};a.prototype.ee=function(){return this.ua};return a});
define("nc","require nx md en ga cV".split(" "),function(a){var e=a("nx"),h=a("md"),m=a("en"),k=a("ga"),b=a("cV");a=e.define("Map",m,function(){m.call(this);this.Du=this.RM=void 0});a.prototype.hYa=function(){this.Du=this.RM=void 0};a.prototype.nI=function(){return!(!this.get("image")||!k.nI(this.get("image")))};a.prototype.rD=function(){return this.get("image")&&k.rD(this.get("image"))};a.prototype.Eq=function(){return this.get("image")&&k.Eq(this.get("image"))};a.prototype.Rva=function(){void 0==
this.RM&&(this.nI()?this.RM=new b(this,this.rD().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",h.Qz),this.get("flipImageHorizontally",!1),[]):this.RM=null);return this.RM};a.prototype.Kj=function(){if(void 0==this.Du)if(this.get("image")){var g=Array.prototype.concat.apply([],this.get("overlays",[]).map(function(d){return d.mVa()}));this.Du=new b(this,this.Eq().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",h.Qz),this.get("flipImageHorizontally",!1),g)}else this.Du=
null;return this.Du};a.prototype.Ls=function(){return[].concat(this.$S(this.Rva()),this.$S(this.Kj()))};a.prototype.$S=function(g){return g?g.Ns():[]};return a});define("kX",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("MapOverlay",e,function(){e.call(this)})});
define("jD","require lo eg oH cy gi ed gJ".split(" "),function(a){var e=a("lo"),h=a("eg"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("ed"),d=a("gJ");a=e.extend(b,function(c,f,l){b.call(this);this.Nia=c;this.GNa=f;this.cia=l||g.Ie;this.Ki=[];this.OA=[];this.Zw={};this.Zw.mode=this.cia;this.cia==g.Xj&&(this.Zw.pressed=!1);this.Nia.bind(m.G(f),this.Vpa,this);this.Vpa()});a.prototype.Vpa=function(){var c=this.Nia.get(this.GNa);c||(c=[]);h.isArray(c)||(c=[c]);this.aPa(c)};a.prototype.aPa=function(c){var f=h.difference(this.Ki,
c);h(f).each(function(l){l.unbind(m.Vj,this.gia,this,!0);l.unbind(m.jm,this.hia,this,!0);l.unbind(m.qa,this.bia,this,!0);l.unbind(m.ub,this.dia,this,!0);l.unbind(m.Zb,this.eia,this,!0);l.unbind(m.Wc,this.jia,this,!0);l.unbind(m.ac,this.iia,this,!0)},this);f=h.difference(c,this.Ki);h(f).each(function(l){l.ja(this.Zw);l.bind(m.Vj,this.gia,this,!0);l.bind(m.jm,this.hia,this,!0);l.bind(m.qa,this.bia,this,!0);l.bind(m.ub,this.dia,this,!0);l.bind(m.Zb,this.eia,this,!0);l.bind(m.Wc,this.jia,this,!0);l.bind(m.ac,
this.iia,this,!0)},this);this.Ki=c;this.OA=this.OA.filter(function(l){return 0<=this.Ki.indexOf(l)}.bind(this))};a.prototype.gia=function(){this.trigger(new k(m.Vj))};a.prototype.hia=function(){this.trigger(new k(m.jm))};a.prototype.bia=function(){this.trigger(new k(m.qa))};a.prototype.dia=function(){this.trigger(new k(m.ub))};a.prototype.eia=function(){this.trigger(new k(m.Zb))};a.prototype.jia=function(c){this.OA.push(c.source);this.Ik()};a.prototype.iia=function(c){this.OA=this.OA.filter(function(f){return f!=
c.source});this.Ik()};a.prototype.set=function(c,f){this.Zw[c]=f;this.Ki.forEach(function(l){l.ja(this.Zw)}.bind(this));this.Ik()};a.prototype.Ik=function(){this.Ki.forEach(function(c){c.get("state")==d.ob&&0<=this.OA.indexOf(c)?c.set("state",d.$b):c.get("state")==d.$b&&0>this.OA.indexOf(c)&&c.set("state",d.ob)}.bind(this))};return a});
define("gn","require eg lo oH cy gJ bc b e np nK".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("gJ"),g=a("bc"),d=a("b"),c=a("e");a("np");a("nK");var f=h.extend(d,function(){d.call(this);this.Be("PlaybackBar");this.Dl=this.Yf=null;this.Og=[];this.BV=!1;this.u8=this.mC=void 0;this.k$=!1});f.vc={cursor:g.df,overflow:"visible",height:20,position:0,duration:100,steps:void 0,selectedStep:void 0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:void 0,
barBackgroundColorRatios:void 0,barBorderColor:void 0,barBorderRadius:void 0,barBorderSize:void 0,barOpacity:void 0,liveDragging:void 0,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:void 0,playheadBackgroundColorRatios:void 0,playheadBorderColor:void 0,playheadBorderRadius:void 0,playheadBorderSize:void 0,playheadOpacity:void 0,playheadWidth:5,playheadHeight:30,playheadShadow:!0,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:void 0,
playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",stepBackgroundColorDirection:void 0,stepBackgroundColorRatios:void 0,stepBorderColor:void 0,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:!0,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:void 0,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:void 0,selectedStepBackgroundColorRatios:void 0,
selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:!0,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:void 0,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};e.defaults(f.vc,d.vc);f.prototype.nb=function(){this.Kn(f.vc)};f.prototype.Ab=function(){d.prototype.Ab.call(this);this.Yf&&this.Dl||
this.bind(m.kc,this.sNa,this,!0);null==this.Yf&&(this.Yf=new c,this.Yf.ja({left:"0",height:"100%",cursor:g.df}),this.Wa(this.Yf));null==this.Dl&&(this.Dl=new c,this.Dl.ja({left:"0",cursor:g.df}),this.Dl.bind(m.kc,this.vNa,this,!0),this.Dl.bind(m.ub,this.tNa,this,!0),this.Jb().bind(m.jc,this.zpa,this,!0),this.bind(m.qa,this.qNa,this,!0),this.Dl.bind(m.Zb,this.uNa,this,!0),this.Wa(this.Dl));var p=this.get("steps")||0;if(this.Og.length!=p){for(;this.Og.length>p;)this.cHa(this.Og.pop());for(;this.Og.length<
p;)this.Og.push(this.UGa());this.lc(f.gha,f.G1,this.Og,!1,!0);this.qta();this.waa();this.pn(this.Dl,this.Kb().length-1)}};f.prototype.UGa=function(){var p=new l;p.ja({cursor:g.df});p.bind(m.qa,this.Sra,this,!0);p.bind(m.kc,this.Tra,this,!0);this.Wa(p);return p};f.prototype.cHa=function(p){p.unbind(m.qa,this.Sra,this,!0);p.unbind(m.kc,this.Tra,this,!0);this.removeChild(p)};f.prototype.Va=function(){var p=!1;if(this.I("position")||this.I("duration"))this.P("position"),this.P("duration"),p=!0;this.I("selectedStep")&&
(this.P("selectedStep"),this.qta());this.I("steps")&&(this.P("steps"),this.rP());this.lc(f.z1,f.vJ,[this.Yf],!0,!0);this.lc(f.hDa,f.cha,[this.Dl],!0,!0);this.lc(f.gha,f.G1,this.Og,!0,!0);d.prototype.Va.call(this);p&&this.uX()};f.prototype.qta=function(){var p=this.get("selectedStep");this.Og.forEach(function(q,n){q.kQ(n===p)});this.Dl.set("visible",void 0===p)};f.prototype.uX=function(){var p=this.Xa(),q=this.Dl.Xa(),n=this.Dl.xb(),r=this.Ex(),t=this.yp(),u=t*p/r;p=Math.round((this.BV?this.mC:t)*
p/r-.5*q);p=Math.max(0,Math.min(p,this.rf()-q));q=Math.round(.5*this.qf()-.5*n);this.Dl.ja({left:p,top:q});this.Yf.set("width",Math.round(u))};f.prototype.vNa=function(){this.uX()};f.prototype.tNa=function(p){this.BV=!0;this.u8=p.pageX;this.mC=this.B("position")};f.prototype.zpa=function(p){if(this.BV){var q=p.pageX-this.u8;this.u8=p.pageX;p=this.Xa();var n=this.Ex();this.mC=Math.max(0,Math.min(n,this.mC+n*q/p));this.uX();this.get("liveDragging")&&(this.set("position",this.mC),this.trigger(new k(m.pa)))}};
f.prototype.uNa=function(p){this.zpa(p);this.BV=!1;this.get("liveDragging")||(this.set("position",this.mC),this.trigger(new k(m.pa)));this.mC=void 0};f.prototype.qNa=function(p){if(!this.k$){var q=this.Xa(),n=this.Ex();this.set("position",n*p.x/q);this.trigger(new k(m.pa))}};f.prototype.Tra=function(){this.waa()};f.prototype.sNa=function(){this.waa();this.uX()};f.prototype.waa=function(){for(var p=this.Xa(),q=this.xb(),n=this.Ha,r=this.getParent().Xa()-(n+p),t=0,u=this.Og.length;t<u;t++){var v=this.Og[t],
w=v.Xa();v.ja({left:0==t&&0==n?0:t==u-1&&0==r?p-w:Math.round(p*t/(u-1)-.5*w),top:Math.round(.5*q-.5*v.xb())})}};f.prototype.Sra=function(p){p=this.Og.indexOf(p.source);var q=this.Ex();this.set("position",q*p/(this.Og.length-1));this.k$=!0;this.trigger(new k(m.pa));setTimeout(function(){this.k$=!1}.bind(this),0)};f.prototype.Ex=function(){var p=this.B("duration");return p?p:1};f.prototype.yp=function(){return Math.max(0,Math.min(this.Ex(),this.B("position")))};f.vJ={barBackgroundColor:"backgroundColor",
barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};f.z1=e(f.vJ).keys();f.cha={playheadBackgroundColor:"backgroundColor",playheadBackgroundColorDirection:"backgroundColorDirection",playheadBackgroundColorRatios:"backgroundColorRatios",playheadBorderColor:"borderColor",playheadBorderRadius:"borderRadius",playheadBorderSize:"borderSize",playheadOpacity:"opacity",
playheadWidth:"width",playheadHeight:"height",playheadShadow:"shadow",playheadShadowBlurRadius:"shadowBlurRadius",playheadShadowColor:"shadowColor",playheadShadowHorizontalLength:"shadowHorizontalLength",playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};f.hDa=e(f.cha).keys();f.G1={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",
stepBorderColor:"borderColor",stepBorderRadius:"borderRadius",stepBorderSize:"borderSize",stepOpacity:"opacity",stepWidth:"width",stepHeight:"height",stepShadow:"shadow",stepShadowBlurRadius:"shadowBlurRadius",stepShadowColor:"shadowColor",stepShadowHorizontalLength:"shadowHorizontalLength",stepShadowOpacity:"shadowOpacity",stepShadowSpread:"shadowSpread",stepShadowVerticalLength:"shadowVerticalLength",selectedStepBackgroundColor:"selectedBackgroundColor",selectedStepBackgroundColorDirection:"selectedBackgroundColorDirection",
selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",
selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};f.gha=e(f.G1).keys();var l=h.extend(c,function(){c.call(this)});l.prototype.kQ=function(p){this.sN(p)};l.prototype.nb=function(){c.prototype.nb.call(this);this.h("backgroundColor");this.h("backgroundColorDirection");this.h("backgroundColorRatios");this.h("borderColor");this.h("borderRadius");this.h("borderSize");this.h("opacity");this.h("width");
this.h("height");this.h("shadow");this.h("shadowBlurRadius");this.h("shadowColor");this.h("shadowHorizontalLength");this.h("shadowOpacity");this.h("shadowSpread");this.h("shadowVerticalLength");this.u("selectedBackgroundColor",b.ca,"backgroundColor");this.u("selectedBackgroundColorDirection",b.ca,"backgroundColorDirection");this.u("selectedBackgroundColorRatios",b.ca,"backgroundColorRatios");this.u("selectedBorderColor",b.ca,"borderColor");this.u("selectedBorderRadius",b.ca,"borderRadius");this.u("selectedBorderSize",
b.ca,"borderSize");this.u("selectedOpacity",b.ca,"opacity");this.u("selectedWidth",b.ca,"width");this.u("selectedHeight",b.ca,"height");this.u("selectedShadow",b.ca,"shadow");this.u("selectedShadowBlurRadius",b.ca,"shadowBlurRadius");this.u("selectedShadowColor",b.ca,"shadowColor");this.u("selectedShadowHorizontalLength",b.ca,"shadowHorizontalLength");this.u("selectedShadowOpacity",b.ca,"shadowOpacity");this.u("selectedShadowSpread",b.ca,"shadowSpread");this.u("selectedShadowVerticalLength",b.ca,
"shadowVerticalLength")};l.prototype.Va=function(){c.prototype.Va.call(this)};return f});
define("A",["require","eg","lo","b","e"],function(a){var e=a("eg"),h=a("lo"),m=a("b"),k=a("e"),b=h.extend(m,function(){m.call(this);this.Be("ProgressBar")});b.vc={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:void 0,barBackgroundColorRatios:void 0,barBorderColor:void 0,barBorderRadius:void 0,barBorderSize:void 0,barOpacity:void 0};e.defaults(b.vc,m.vc);b.prototype.nb=function(){this.Kn(b.vc)};b.prototype.Ab=function(){m.prototype.Ab.call(this);null==
this.Yf&&(this.Yf=new k,this.Yf.ja({left:"0",width:"0%",height:"100%"}),this.Wa(this.Yf))};b.prototype.Va=function(){this.I("percent")&&(this.Yf.set("width",Math.round(this.B("percent"))+"%"),this.P("percent"));this.lc(b.z1,b.vJ,[this.Yf],!0,!0);m.prototype.Va.call(this)};b.vJ={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};b.z1=e(b.vJ).keys();return b});
define("fP",["require","exports","oH","gi","v"],function(a,e,h,m,k){return function(b){function g(d,c){var f=b.call(this)||this;f.enabled=!1;f.wZ=0;f.xZ=0;f.parentElement=null;f.vi=null;f.Tk=null;f.SI=null;f.ue=d;f.parentElement=c;return f}Z(g,b);g.prototype.dispose=function(){this.nc(!1);this.parentElement=this.ue=null};g.prototype.nc=function(d){this.enabled!=d&&((this.enabled=d)?(this.ue.Tza("Button"),this.ETa()):(this.ue.iYa(),this.zba(),this.stop(),this.dYa()))};g.prototype.getX=function(){return this.wZ};
g.prototype.getY=function(){return this.xZ};g.prototype.aya=function(d){this.BZ(d);this.enabled&&(this.Uca=this.Sca=d.x,this.Vca=this.Tca=d.y,this.OZa())};g.prototype.bya=function(d){this.Uca=d.x;this.Vca=d.y;this.SI?this.J_a():this.vi&&this.RAa()};g.prototype.BZ=function(){this.zba();this.stop()};g.prototype.Txa=function(){this.BZ()};g.prototype.cda=function(){this.B_=Math.min(this.ue.Xa(),this.ue.xb())/100};g.prototype.start=function(){this.hUa();this.trigger(h.An);this.RAa()};g.prototype.stop=
function(){this.vi&&(this.uUa(),this.trigger(h.Kf))};g.prototype.J_a=function(){var d=this.Uca-this.Sca,c=this.Vca-this.Tca;Math.sqrt(d*d+c*c)>this.B_*g.mBa&&this.zba()};g.prototype.OZa=function(){this.SI=window.setTimeout(this.t_a.bind(this),g.nBa)};g.prototype.zba=function(){this.SI&&(clearTimeout(this.SI),this.SI=null)};g.prototype.hUa=function(){this.vi=document.createElement("div");this.vi.setAttribute("tdvclass","Button");this.vi.style.position="absolute";this.vi.style.width=this.vi.style.height=
Math.round(2*g.Vea*this.B_)+"px";this.vi.style.borderRadius="50%";this.vi.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.vi.style.transform="translate(-50%, -50%)";this.vi.style.zIndex="1000";this.vi.style.left=this.Sca+"px";this.vi.style.top=this.Tca+"px";this.parentElement.appendChild(this.vi);this.Tk=document.createElement("div");this.Tk.setAttribute("tdvclass","Button");this.Tk.style.position="absolute";this.Tk.style.width=this.Tk.style.height=Math.round(2*g.sCa*this.B_)+"px";this.Tk.style.borderRadius=
"50%";this.Tk.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.Tk.style.transform="translate(-50%, -50%)";this.Tk.style.zIndex="1000";this.vi.appendChild(this.Tk)};g.prototype.RAa=function(){var d=this.Uca-this.Sca,c=this.Vca-this.Tca;if(0==d&&0==c)this.xZ=this.wZ=0;else{var f=Math.atan2(-c,d);d=Math.min(Math.sqrt(d*d+c*c)/(this.B_*g.Vea),g.VBa);this.wZ=Math.cos(f)*d;this.xZ=Math.sin(f)*d}this.Tk.style.left=(50+50*this.wZ).toFixed(2)+"%";this.Tk.style.top=(50-50*this.xZ).toFixed(2)+"%";this.trigger(h.pa)};
g.prototype.uUa=function(){var d,c;null===(d=this.Tk.parentNode)||void 0===d?void 0:d.removeChild(this.Tk);this.Tk=null;null===(c=this.vi.parentNode)||void 0===c?void 0:c.removeChild(this.vi);this.vi=null};g.prototype.t_a=function(){this.SI=null;this.start()};g.prototype.ETa=function(){this.ue.bind(h.ub,this.aya,this,!0);this.ue.bind(h.jc,this.bya,this,!0);this.ue.bind(h.Zb,this.BZ,this,!0);this.ue.bind(h.kc,this.cda,this,!0);this.ue.bind(h.Bw,this.Txa,this,!0);this.cda()};g.prototype.dYa=function(){this.ue.unbind(h.ub,
this.aya,this);this.ue.unbind(h.jc,this.bya,this);this.ue.unbind(h.Zb,this.BZ,this);this.ue.unbind(h.kc,this.cda,this);this.ue.unbind(h.Bw,this.Txa,this)};g.mBa=k.kb()?5:.5;g.nBa=k.kb()?300:600;g.Vea=k.kb()?10:6.6;g.sCa=k.kb()?5:3.3;g.VBa=6;return g}(m)});
define("bz","require eg lo oH kO cy nx jD gn A fP v ed bc cN gJ oc e".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("kO"),b=a("cy"),g=a("nx"),d=a("jD"),c=a("gn"),f=a("A"),l=a("fP"),p=a("v"),q=a("ed"),n=a("bc"),r=a("cN"),t=a("gJ"),u=a("oc"),v=a("e"),w=g.define("ViewerArea",u,function(){u.call(this);this.set("childrenInteractionEnabled",!0);this.set("contentOpaque",!0);this.set("creationPolicy",r.kA);this.set("subtitlesEnabled",!0);this.set("checkToolTipOcclusion",!0);this.set("isKeyboardTarget",
!1);this.jL=this.Rn=this.yr=this.Qd=this.IS=this.Mh=null;this.r8=this.Sr=!1;this.oi=k.T;this.lm=this.$j=null;this.Pn=!1;this.k9=[];this.bind(w.bga,this.CMa,this,!0);this.bind(w.aga,this.BMa,this,!0);this.bind(m.ub,this.uoa,this);this.bind(m.ub,this.uoa,this);this.bind(m.Wc,this.XMa,this);this.bind(m.ac,this.WMa,this);this.bind(m.kd,this.aV,this,!0);this.bind(m.sd,this.UMa,this,!0);this.ME=new d(this,"buttonPause",q.Xj);this.ME.bind(m.qa,this.gC,this);this.ME.set("state",t.He);this.NE=new d(this,"buttonPlay",
q.Xj);this.NE.bind(m.qa,this.hC,this);this.NE.set("state",t.He);this.MA=new d(this,"buttonPlayPause",q.Xj);this.MA.bind(m.qa,this.yMa,this);this.MA.set("state",t.He);this.PE=new d(this,"buttonStop",q.Xj);this.PE.bind(m.qa,this.qy,this);this.PE.set("state",t.ob);this.aFa=new d(this,"buttonRestart",q.Ie);this.aFa.bind(m.qa,this.ny,this);this.JR=new d(this,"buttonToggleSubtitles",q.Xj);this.JR.bind(m.Vj,function(){this.set("subtitlesEnabled",!0)},this,!0);this.JR.bind(m.jm,function(){this.set("subtitlesEnabled",
!1)},this,!0);this.bind(m.G("subtitlesEnabled"),function(){this.JR.set("pressed",this.get("subtitlesEnabled"))},this);this.JR.set("pressed",this.get("subtitlesEnabled"));this.RKa=h.Io(this.YSa,this);this.bind(m.hm,this.TMa,this,!0);this.bind(w.ZQ,this.VMa,this,!0)});w.prototype.play=function(){this.hC()};w.prototype.pause=function(){this.gC()};w.prototype.stop=function(){this.qy()};w.prototype.restart=function(){this.ny()};w.vc={progressBackgroundColor:void 0,progressBackgroundColorDirection:void 0,
progressBackgroundColorRatios:void 0,progressBackgroundOpacity:void 0,progressBarBackgroundColor:void 0,progressBarBackgroundColorDirection:void 0,progressBarBackgroundColorRatios:void 0,progressBarBorderColor:void 0,progressBarBorderRadius:void 0,progressBarBorderSize:void 0,progressBarOpacity:void 0,progressBorderColor:void 0,progressBorderRadius:void 0,progressBorderSize:void 0,progressBottom:0,progressHeight:20,progressLeft:0,progressOpacity:void 0,progressPercent:0,progressRight:0,progressVisible:!1,
externalPlaybackBar:void 0,externalProgressBar:void 0,playbackBarBackgroundColor:void 0,playbackBarBackgroundColorDirection:void 0,playbackBarBackgroundOpacity:void 0,playbackBarBorderColor:void 0,playbackBarBorderRadius:void 0,playbackBarBorderSize:void 0,playbackBarBottom:10,playbackBarHeight:void 0,playbackBarWidth:void 0,playbackBarLeft:void 0,playbackBarOpacity:void 0,playbackBarRight:void 0,playbackBarLiveDragging:void 0,playbackBarDuration:100,playbackBarPosition:0,playbackBarRollOverDisplay:!1,
plabackBarSteps:void 0,plabackBarSelectedStep:void 0,playbackBarVisible:!1,playbackBarProgressBackgroundColor:void 0,playbackBarProgressBackgroundColorDirection:void 0,playbackBarProgressBackgroundColorRatios:void 0,playbackBarProgressBorderColor:void 0,playbackBarProgressBorderRadius:void 0,playbackBarProgressBorderSize:void 0,playbackBarProgressOpacity:void 0,playbackBarHeadBackgroundColor:void 0,playbackBarHeadBackgroundColorDirection:void 0,playbackBarHeadBackgroundColorRatios:void 0,playbackBarHeadBorderColor:void 0,
playbackBarHeadBorderRadius:void 0,playbackBarHeadBorderSize:void 0,playbackBarHeadOpacity:void 0,playbackBarHeadWidth:void 0,playbackBarHeadHeight:void 0,playbackBarHeadShadow:void 0,playbackBarHeadShadowBlurRadius:void 0,playbackBarHeadShadowColor:void 0,playbackBarHeadShadowHorizontalLength:void 0,playbackBarHeadShadowOpacity:void 0,playbackBarHeadShadowSpread:void 0,playbackBarHeadShadowVerticalLength:void 0,playbackBarStepBackgroundColor:void 0,playbackBarStepBackgroundColorDirection:void 0,
playbackBarStepBackgroundColorRatios:void 0,playbackBarStepBorderColor:void 0,playbackBarStepBorderRadius:void 0,playbackBarStepBorderSize:void 0,playbackBarStepOpacity:void 0,playbackBarStepWidth:void 0,playbackBarStepHeight:void 0,playbackBarStepShadow:void 0,playbackBarStepShadowBlurRadius:void 0,playbackBarStepShadowColor:void 0,playbackBarStepShadowHorizontalLength:void 0,playbackBarStepShadowOpacity:void 0,playbackBarStepShadowSpread:void 0,playbackBarStepShadowVerticalLength:void 0,playbackBarStepSelectedBackgroundColor:void 0,
playbackBarStepSelectedBackgroundColorDirection:void 0,playbackBarStepSelectedBackgroundColorRatios:void 0,playbackBarStepSelectedBorderColor:void 0,playbackBarStepSelectedBorderRadius:void 0,playbackBarStepSelectedBorderSize:void 0,playbackBarStepSelectedOpacity:void 0,playbackBarStepSelectedWidth:void 0,playbackBarStepSelectedHeight:void 0,playbackBarStepSelectedShadow:void 0,playbackBarStepSelectedShadowBlurRadius:void 0,playbackBarStepSelectedShadowColor:void 0,playbackBarStepSelectedShadowHorizontalLength:void 0,
playbackBarStepSelectedShadowOpacity:void 0,playbackBarStepSelectedShadowSpread:void 0,playbackBarStepSelectedShadowVerticalLength:void 0,subtitlesBackgroundColor:"#000000",subtitlesBackgroundOpacity:1,subtitlesBorderColor:void 0,subtitlesBorderSize:0,subtitlesBottom:"10%",subtitlesFontFamily:void 0,subtitlesFontColor:"#ffffff",subtitlesFontSize:"12px",subtitlesFontStyle:void 0,subtitlesFontWeight:void 0,subtitlesGap:10,subtitlesHorizontalAlign:"center",subtitlesOpacity:1,subtitlesPaddingTop:5,subtitlesPaddingBottom:5,
subtitlesPaddingLeft:5,subtitlesPaddingRight:5,subtitlesShadow:!1,subtitlesShadowBlurRadius:void 0,subtitlesShadowHorizontalLength:0,subtitlesShadowVerticalLength:0,subtitlesShadowColor:"#000000",subtitlesShadowOpacity:0,subtitlesTextDecoration:void 0,subtitlesTextShadowBlurRadius:void 0,subtitlesTextShadowColor:"#000000",subtitlesTextShadowHorizontalLength:0,subtitlesTextShadowOpacity:0,subtitlesTextShadowVerticalLength:0,subtitlesTop:void 0,subtitlesVerticalAlign:"bottom",transitionDuration:500,
blendingTransitionDuration:void 0,disolveTransitionDuration:void 0,translationTransitionDuration:void 0,translationTransitionEnabled:!0,toolTipEnabled:!0};e.defaults(w.vc,u.vc);w.prototype.set=function(x,y){"playbackState"==x&&(y=this.oi,this.get(x)!=y&&(this.r8=!0,this.RKa()));switch(x){case "toolTipEnabled":this.set("toolTipDisabled",!1===y);break;case "cardboardPointerDistance":this.set("vrPointerDistance",y);break;case "cardboardPointerColor":this.set("vrPointerColor",y);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",
y);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",y);break;case "playbackBarVisible":case "playbackBarRollOverDisplay":this.kO()}u.prototype.set.call(this,x,y)};w.prototype.nb=function(){this.Kn(w.vc)};w.prototype.Ab=function(){u.prototype.Ab.call(this);null==this.Rn&&(this.Rn=new v,this.Rn.set("width","100%"),this.Rn.set("height","100%"),this.Rn.set("toolTipDisabled",!0),this.Rn.set("interactionEnabled",!1),this.Rn.set("content"),this.Wa(this.Rn),h.defer(function(){this.Rn.set("cursor",
n.lt)}.bind(this)),this.jL=new l(this,this.Rn.Bb().fI()),this.jL.nc(!1));null==this.Mh&&(this.Mh=new f,this.Wa(this.Mh));null==this.Qd&&(this.Qd=new c,this.Qd.bind(m.pa,this.o8,this,!0),this.Wa(this.Qd),this.kO())};w.prototype.iVa=function(){return this.Qd};w.prototype.am=function(){u.prototype.am.call(this);for(var x=[],y=this.k9.length-1;0<=y;y--)x.push(this.k9[y].j);this.Rn&&x.push(this.Rn);this.Qd&&x.push(this.Qd);this.Mh&&x.push(this.Mh);var A=this.Kb();x=x.filter(function(B){return 0<=A.indexOf(B)});
A=A.filter(function(B){return-1==x.indexOf(B)}).concat(x);A.forEach(function(B,z){B&&this.Tba(B)!=z&&this.pn(B,z)}.bind(this))};w.prototype.Va=function(){this.I("externalProgressBar")&&((this.IS=this.B("externalProgressBar"))?this.removeChild(this.Mh):this.Wa(this.Mh),this.P("externalProgressBar"),e(w.eha).each(function(y){this.JC(y)},this));this.lc(w.dDa,w.Uga,[this.Mh],!0,!0);var x=[this.Mh];this.IS&&x.push(this.IS);this.lc(w.eha,w.fha,x,!0,!0);this.I("externalPlaybackBar")&&(this.yr&&this.yr.unbind(m.pa,
this.o8,this,!0),(this.yr=this.B("externalPlaybackBar"))?this.removeChild(this.Qd):this.Wa(this.Qd),this.kO(),this.yr&&this.yr.bind(m.pa,this.o8,this,!0),this.P("externalPlaybackBar"),e(w.aha).each(function(y){this.JC(y)},this));this.lc(w.cDa,w.Tga,[this.Qd],!0,!0);x=[this.Qd];this.yr&&x.push(this.yr);this.lc(w.aha,w.bha,x,!0,!0);u.prototype.Va.call(this)};w.prototype.YSa=function(){this.r8&&(this.r8=!1,this.ME.set("state",this.oi==k.Eb?t.ob:t.He),this.NE.set("state",this.oi==k.X||this.oi==k.Eb?t.ob:
t.He),this.MA.set("state",this.oi==k.X?t.ob:t.He),this.PE.set("state",this.oi==k.T?t.ob:t.He))};w.prototype.zc=function(x){this.oi=x;this.set("playbackState",x)};w.prototype.aV=function(){w.rk(this)};w.prototype.UMa=function(){w.lk(this)};w.prototype.gC=function(){this.oi==k.Eb?this.uk():this.Vp()};w.prototype.hC=function(){this.uk()};w.prototype.yMa=function(){this.oi==k.X?this.Vp():this.uk()};w.prototype.qy=function(){this.qo()};w.prototype.ny=function(){this.qo();this.uk()};w.prototype.TMa=function(){if(!this.$j||
!this.$j.Cua())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var x=this.Jb().Qi;x&&x.zg()&&x.toggle()}};w.prototype.VMa=function(x){this.k9=x.data.players;this.Hd()};w.prototype.uk=function(){this.lm&&this.lm.play()};w.prototype.Vp=function(){this.lm&&this.lm.pause()};w.prototype.qo=function(){this.lm&&this.lm.stop()};w.prototype.CMa=function(x){this.Rqa(x.data.player)};w.prototype.BMa=function(x){this.$j==x.data.player&&this.Rqa(null)};w.prototype.uoa=function(){w.Pq(this)};w.prototype.XMa=
function(){this.Pn=!0;this.kO()};w.prototype.WMa=function(){this.Pn=!1;this.kO()};w.prototype.kO=function(){this.Qd&&this.Qd.set("visible",this.get("playbackBarVisible")&&(this.Pn||!this.get("playbackBarRollOverDisplay")||p.u_()))};w.prototype.Rqa=function(x){this.$j!=x&&(this.set("playbackBarVisible",!1),this.$j&&this.$j.Pq(!1),this.lm&&this.lm.unbind(m.G("state"),this.M1,this),this.CNa=this.$j,(this.$j=x)&&this.$j.Pq(!!this.LF),(this.lm=this.$j&&this.$j.jFa?this.$j:null)&&this.lm.bind(m.G("state"),
this.M1,this,!0),this.M1())};w.prototype.Pq=function(x){this.LF=x;this.set("isKeyboardTarget",x);this.$j&&this.$j.Pq(!!this.LF)};w.prototype.d0a=function(){return!this.CNa};w.prototype.M1=function(){this.lm?this.zc(this.lm.get("state")):this.zc(k.T)};w.prototype.o8=function(){var x=(this.yr?this.yr:this.Qd).get("position");this.trigger(new b(w.z0,{position:x}))};w.Uga={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",progressBackgroundColorRatios:"backgroundColorRatios",
progressBackgroundOpacity:"backgroundOpacity",progressBarBackgroundColor:"barBackgroundColor",progressBarBackgroundColorDirection:"barBackgroundColorDirection",progressBarBackgroundColorRatios:"barBackgroundColorRatios",progressBarBorderColor:"barBorderColor",progressBarBorderRadius:"barBorderRadius",progressBarBorderSize:"barBorderSize",progressBarOpacity:"barOpacity",progressBorderColor:"borderColor",progressBorderRadius:"borderRadius",progressBorderSize:"borderSize",progressHeight:"height",progressOpacity:"opacity",
progressBottom:"bottom",progressLeft:"left",progressRight:"right"};w.dDa=e(w.Uga).keys();w.fha={progressPercent:"percent",progressVisible:"visible"};w.eha=e(w.fha).keys();w.Tga={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",playbackBarBackgroundOpacity:"backgroundOpacity",playbackBarBorderColor:"borderColor",playbackBarBorderRadius:"borderRadius",playbackBarBorderSize:"borderSize",playbackBarBottom:"bottom",playbackBarHeight:"height",playbackBarWidth:"width",
playbackBarLeft:"left",playbackBarOpacity:"opacity",playbackBarRight:"right",playbackBarLiveDragging:"liveDragging",playbackBarProgressBackgroundColor:"barBackgroundColor",playbackBarProgressBackgroundColorDirection:"barBackgroundColorDirection",playbackBarProgressBackgroundColorRatios:"barBackgroundColorRatios",playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",
playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",
playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",
playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",
playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",
playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};
w.cDa=e(w.Tga).keys();w.bha={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};w.aha=e(w.bha).keys();w.ZQ="requestByPlayer";w.bga="playerShow";w.aga="playerHide";w.z0="playbackBarPositionChange";w.MB=null;w.Pq=function(x){w.MB!=x&&(w.MB&&w.MB.Pq(!1),w.MB=x,w.MB&&w.MB.Pq(!0))};w.Zy=[];w.rk=function(x){var y=w.Zy.indexOf(x);-1<y&&w.Zy.splice(y,1);w.Zy.push(x);this.Pq(x)};w.lk=function(x){var y=
w.Zy.indexOf(x);-1<y&&w.Zy.splice(y,1);w.MB==x&&w.Pq(w.Zy.length?w.Zy[w.Zy.length-1]:null)};return w});
define("da",["require","lo","lP","cy","bz"],function(a){var e=a("lo"),h=a("lP"),m=a("cy"),k=a("bz"),b=e.extend(h,function(g){h.call(this);this.jFa=g;this.zN=this.ay=null});b.Wg="mediaShow";b.fm="mediaHide";b.prototype.Pq=function(){};b.prototype.Cua=function(){return!1};b.prototype.vN=function(g){this.ay!=g&&(this.ay&&this.V$(this.ay),(this.ay=g)&&this.B2(this.ay))};b.prototype.B2=function(g){g.bind(k.ZQ,this.Lta,this,!0);g.bind(k.z0,this.KM,this)};b.prototype.V$=function(g){g.unbind(k.ZQ,this.Lta,
this);g.unbind(k.z0,this.KM,this)};b.prototype.EI=function(g){this.ay.trigger(new m(k.ZQ,{players:g||[this]}))};b.prototype.Lta=function(g){0>g.data.players.indexOf(this)&&this.eH()};b.prototype.KM=function(){};b.prototype.eH=function(){};b.prototype.CL=function(g){this.trigger(new m(b.Wg,{media:g}));this.zN=this.ay;this.zN.trigger(new m(k.bga,{player:this}))};b.prototype.BL=function(g){this.trigger(new m(b.fm,{media:g}));this.zN&&(this.zN.trigger(new m(k.aga,{player:this})),this.zN=null)};return b});
define("jU",["require"],function(){return{Qz:"constrained",IBa:"free_drag",q0a:"free_drag_and_rotation",h1:"sync_with_field_of_view"}});
define("kz",["require","lo","jU","md"],function(a){function e(){this.va=!0;this.Ka=this.Ha=.5;this.bd=0;this.ib=1;this.Df=m.rh;this.Km=h.Qz;this.V6=this.Y6=1;this.ze=this.Ae=this.mm=this.nm=100;this.Xm=e.wA}a("lo");var h=a("jU"),m=a("md");e.prototype.owa=function(){return this.Xm!==e.wA};e.prototype.nwa=function(){return this.Xm&e.yE?!0:!1};e.prototype.pwa=function(){return this.Xm&e.zE?!0:!1};e.prototype.qwa=function(){return this.Xm&e.AA?!0:!1};e.prototype.mwa=function(){return this.Xm&e.vA?!0:
!1};e.prototype.getX=function(){this.bn();return this.Ha};e.prototype.getY=function(){this.bn();return this.Ka};e.prototype.Gq=function(){this.bn();return this.ib};e.prototype.aI=function(){this.bn();return this.bd};e.prototype.setConfiguration=function(k,b,g,d,c){this.Ae=k;this.ze=b;this.Df=g;this.Y6=d;this.V6=c;this.Ka=this.Ha=.5;this.bd=0;this.ib=d;this.va=!0};e.prototype.setPosition=function(k,b,g,d){this.Ha=k;this.Ka=b;this.bd=g;this.ib=d;this.va=!0};e.prototype.Qq=function(k){this.Km=k;this.va=
!0};e.prototype.setSize=function(k,b){this.nm=k;this.mm=b;this.va=!0};e.prototype.bn=function(){if(this.va){this.va=!1;var k=e.wA;this.ib>this.V6?(this.ib=this.V6,k|=e.eDa):this.ib<this.Y6&&(this.ib=this.Y6,k|=e.fDa);if(this.Km==h.Qz){switch(this.Df){case m.NONE:var b=this.Ae;var g=this.ze;break;case m.Xo:b=this.nm;g=this.ze*this.nm/this.Ae;break;case m.Tj:b=this.Ae*this.mm/this.ze;g=this.mm;break;case m.Wq:this.Ae*this.mm>this.ze*this.nm?(b=this.Ae*this.mm/this.ze,g=this.mm):(b=this.nm,g=this.ze*
this.nm/this.Ae);break;default:case m.rh:this.Ae*this.mm>this.ze*this.nm?(b=this.nm,g=this.ze*this.nm/this.Ae):(b=this.Ae*this.mm/this.ze,g=this.mm)}b*=this.ib;g*=this.ib;var d=Math.min(.5*this.nm/b,.5);b=Math.max(1-.5*this.nm/b,.5);var c=Math.min(.5*this.mm/g,.5);g=Math.max(1-.5*this.mm/g,.5)}else d=0,b=1,c=0,g=1;this.Ha<d?(this.Ha=d,k|=e.yE):this.Ha>b&&(this.Ha=b,k|=e.zE);this.Ka<c?(this.Ka=c,k|=e.AA):this.Ka>g&&(this.Ka=g,k|=e.vA);this.Km!=h.Qz&&this.Km!=h.IBa||0==this.bd||(this.bd=0,k|=e.jDa);
this.Xm=k}};e.wA=0;e.yE=1;e.zE=2;e.AA=4;e.vA=8;e.fDa=16;e.eDa=32;e.jDa=64;return e});
define("gm",["require"],function(){function a(){this.tK=.1;this.oS=this.y3=this.B3=this.A3=this.I3=this.x3=this.G3=this.F3=this.DO=this.iba=this.CA=this.X1=this.BO=this.fba=this.zO=this.dba=0}a.prototype.$Z=function(e){this.tK=e};a.prototype.Pza=function(e,h,m,k,b,g,d,c){this.dba=e;this.fba=h;this.X1=m;this.iba=k;this.zO+=b;this.BO+=g;this.CA+=d;this.DO+=c};a.prototype.af=function(){return 0!=this.F3||0!=this.G3||0!=this.x3||0!=this.I3||0!=this.dba||0!=this.fba||0!=this.X1||0!=this.iba||0!=this.zO||
0!=this.BO||0!=this.CA||0!=this.DO};a.prototype.zb=function(e){e=1E3/e;this.A3=this.CS(this.F3/e,this.dba/e+this.zO,this.tK);this.B3=this.CS(this.G3/e,this.fba/e+this.BO,this.tK);this.y3=this.CS(this.x3/e,this.X1/e+this.CA,this.tK);this.oS=this.CS(this.I3/e,this.iba/e+this.DO,this.tK);this.F3=this.A3*e;this.G3=this.B3*e;this.x3=this.y3*e;this.I3=this.oS*e;this.DO=this.CA=this.BO=this.zO=0};a.prototype.CS=function(e,h,m){return 0==h?this.gg(e,h,m):h};a.prototype.gg=function(e,h,m){e=(h-e)*(1-m);.01>
Math.abs(e)&&(e=0);return h-e};return a});
define("gr","require lo oH cy gi md".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi");a("md");var b=e.extend(k,function(){k.call(this);this.sK=7;this.qU=this.q6=!1;this.sU=void 0;this.bd=0;this.ib=1;this.ze=this.Ae=100;this.NT=1;this.w8=!0;this.x8=!1;this.rTa=!0;this.hba=!1;this.ab=null});b.prototype.WP=function(g){this.sK=g};b.prototype.Jd=function(g,d,c,f){this.bd=g;this.ib=d;this.Ae=c;this.ze=f};b.prototype.DZa=function(g){this.w8=g;this.tW(this.w8&&!!this.ab)};b.prototype.Mq=
function(g){this.ab!=g&&(this.tW(!1),this.R9(!1),this.Ql(),this.ab=g,this.tW(this.w8&&!!this.ab),this.R9(this.rTa&&!!this.ab))};b.prototype.Ql=function(){this.tW(!1);this.R9(!1);this.ab=null};b.prototype.tW=function(g){this.x8!=g&&((this.x8=g)?this.IEa():this.JRa())};b.prototype.R9=function(g){this.hba!=g&&((this.hba=g)?this.JEa():this.KRa())};b.prototype.IEa=function(){this.ab.bind(h.ub,this.Od,this,!0);this.ab.bind(h.jc,this.vj,this,!0);this.ab.bind(h.Zb,this.wj,this,!0)};b.prototype.JRa=function(){this.ab.unbind(h.ub,
this.Od,this);this.ab.unbind(h.jc,this.vj,this);this.ab.unbind(h.Zb,this.wj,this)};b.prototype.JEa=function(){this.ab.bind(h.$q,this.UB,this,!0);this.ab.bind(h.lE,this.rB,this,!0)};b.prototype.KRa=function(){this.ab.unbind(h.$q,this.UB,this);this.ab.unbind(h.lE,this.rB,this)};b.prototype.Od=function(g){this.tQa(g)};b.prototype.vj=function(g){this.hta(g)};b.prototype.wj=function(){this.t4()};b.prototype.UB=function(g){this.Eaa(g)};b.prototype.rB=function(g){this.Faa(g)};b.prototype.tQa=function(g){this.q6=
!0;this.qU=!1;this.sU=g;this.hta(g)};b.prototype.hta=function(g){if(this.q6){var d=g.pageX-this.sU.pageX,c=g.pageY-this.sU.pageY;this.qU||(Math.sqrt(d*d+c*c)>this.sK?this.qU=!0:d=c=0);this.qU&&(this.sU=g);g=this.bd*Math.PI/180;this.trigger(new m(b.So,{xDelta:-((d*Math.cos(g)+c*Math.sin(g))/this.Ae),yDelta:-((c*Math.cos(g)-d*Math.sin(g))/this.ze)}))}};b.prototype.t4=function(){this.q6=!1};b.prototype.Faa=function(g){if(this.NT!=g.scale){this.t4();var d=this.NT;this.NT=g.scale;this.trigger(new m(b.Wo,
{zoomDelta:this.ib*this.NT/d-this.ib}))}};b.prototype.Eaa=function(g){0!=g.delta&&(this.t4(),this.trigger(new m(b.Wo,{zoomDelta:this.ib*g.hY*.1})))};b.So="position change";b.Wo="zoom change";b.C0a="vieport navigation";b.B0a="relative navigation";b.A0a="relative exponential navigation";b.z0a="dragging";return b});define("jC",["require"],function(){return{b1:"rotateClockwise",c1:"rotateCounterClockwise",Ct:"zoomIn",Dt:"zoomOut",Kf:"stop"}});
define("nu","require lo cy gi md gm gr jC oH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("md"),b=a("gm"),g=a("gr"),d=a("jC");a("oH");var c=e.extend(m,function(f,l){m.call(this);this.j=f;this.ga=l;this.Er=this.LV=this.W=!1;this.Ka=this.Ha=.5;this.bd=0;this.ib=1;this.ze=this.Ae=100;this.Df=k.Qz;this.cc=new b;this.lb=new g;this.j.Qn?(this.lb.WP(c.H1),this.cc.$Z(c.I1)):(this.lb.WP(0),this.cc.$Z(1));this.lb.bind(g.So,this.oMa,this,!0);this.lb.bind(g.Wo,this.jy,this,!0)});c.prototype.clear=
function(){this.lb.unbind(g.So,this.A1a,this,!0);this.lb.unbind(g.Wo,this.jy,this,!0);this.lb.Ql();this.j=this.ga=this.cc=this.lb=null};c.prototype.Pj=function(f){switch(f){case d.b1:this.Kc(0,0,+c.C1,0,0,0,0,0);break;case d.c1:this.Kc(0,0,-c.C1,0,0,0,0,0);break;case d.Ct:this.Kc(0,0,0,+c.wJ,0,0,0,0);break;case d.Dt:this.Kc(0,0,0,-c.wJ,0,0,0,0);break;case d.Kf:this.Kc(0,0,0,0,0,0,0,0)}};c.prototype.setPosition=function(f,l,p,q,n,r){this.Ha=f;this.Ka=l;this.bd=p;this.ib=q;this.Ae=n;this.ze=r;this.lb.Jd(this.bd,
this.ib,this.Ae,this.ze)};c.prototype.af=function(){return this.W&&this.cc.af()};c.prototype.zb=function(f){this.cc.zb(f);this.ga.setPosition(this.Ha+this.cc.A3,this.Ka+this.cc.B3,this.bd+this.cc.y3,this.ib+this.cc.oS);this.Ha=this.ga.getX();this.Ka=this.ga.getY();this.bd=this.ga.aI();this.ib=this.ga.Gq()};c.prototype.$P=function(f){this.Er=f;this.lb.DZa(!this.Er)};c.prototype.nc=function(f){(this.W=f)?this.lb.Mq(this.j.getParent()):this.lb.Ql()};c.prototype.oMa=function(f){this.Kc(0,0,0,0,f.data.xDelta,
f.data.yDelta,0,0)};c.prototype.jy=function(f){this.Kc(0,0,0,0,0,0,0,f.data.zoomDelta)};c.prototype.Kc=function(f,l,p,q,n,r,t,u){this.cc.Pza(f,l,p,q,n,r,t,u);this.Oh()};c.prototype.Oh=function(){this.trigger(new h(c.qh))};c.qh="position change request";c.H1=7;c.I1=.2;c.wJ=.5;c.C1=30;return c});
define("mJ","require lo cy gi oj bF gm gr jC oH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("oj"),b=a("bF"),g=a("gm"),d=a("gr"),c=a("jC");a("oH");var f=e.extend(m,function(l,p){m.call(this);this.j=l;this.ga=p;this.W=!1;this.Ka=this.Ha=.5;this.bd=0;this.ib=1;this.ze=this.Ae=100;this.V=null;this.o4=!0;this.Sc=null;this.kV=0;this.ls=this.Gk=this.tv=void 0;this.cc=new g;this.lb=new d;this.j.Qn?(this.lb.WP(f.H1),this.cc.$Z(f.I1)):(this.lb.WP(0),this.cc.$Z(1));this.lb.bind(d.Wo,this.jy,
this,!0)});f.prototype.kZa=function(l,p){this.Ae=l;this.ze=p;this.sH()};f.prototype.gw=function(l){this.Sc!=l&&(this.Sc=l,this.kV=void 0,this.sH())};f.prototype.rn=function(l,p){this.Sc==l&&(this.kV=p,this.sH())};f.prototype.sH=function(){if(this.Sc&&void 0!=this.kV){var l=this.Sc.get("x",0)/this.Ae;var p=this.Sc.get("y",0)/this.ze;var q=-(this.kV+this.Sc.get("angle",0))}else q=p=l=void 0;this.ls!=q&&(this.ls=q,this.Oh());if(this.tv!=l||this.Gk!=p)this.tv=l,this.Gk=p,this.QKa(),this.Oh()};f.prototype.QKa=
function(){this.o4=!0;this.Oh()};f.prototype.SC=function(){if(this.o4||this.V&&this.V.Re())if(this.o4=!1,this.V=null,void 0!=this.tv&&void 0!=this.Gk&&void 0!=this.ls){for(var l=this.ls-this.bd;180<l;)l-=360;for(;-180>l;)l+=360;this.Ha!=this.tv||this.Ka!=this.Gk?this.V=new k("quad_in_out",[new b("x",this.Ha,this.tv,1),new b("y",this.Ka,this.Gk,1),new b("angleDif",l,l,360)],500):this.ls!=this.bd&&(this.V=new k("quad_in_out",[new b("x",this.Ha,this.Ha,1),new b("y",this.Ka,this.Ka,1),new b("angleDif",
l,0,360)],500))}};f.prototype.clear=function(){this.lb.unbind(d.Wo,this.jy,this,!0);this.lb.Ql();this.j=this.ga=this.V=this.cc=this.lb=null};f.prototype.Pj=function(l){switch(l){case c.Ct:this.Kc(+f.wJ,0);break;case c.Dt:this.Kc(-f.wJ,0);break;case c.Kf:this.Kc(0,0)}};f.prototype.setPosition=function(l,p,q,n,r,t){this.Ha=l;this.Ka=p;this.bd=q;this.ib=n;this.lb.Jd(this.bd,this.ib,r,t)};f.prototype.af=function(){return this.W&&(this.V||this.cc.af()||void 0!=this.tv&&this.Ha!=this.tv||void 0!=this.Gk&&
this.Ka!=this.Gk||void 0!=this.ls&&this.bd!=this.ls)?!0:!1};f.prototype.zb=function(l){this.SC();this.V?(this.V.zb(l),this.Ha=this.V.cb("x"),this.Ka=this.V.cb("y"),this.bd=this.ls-this.V.cb("angleDif")):(void 0!=this.tv&&(this.Ha=this.tv),void 0!=this.Gk&&(this.Ka=this.Gk),void 0!=this.ls&&(this.bd=this.ls));this.cc.zb(l);this.ga.setPosition(this.Ha,this.Ka,this.bd,this.ib+this.cc.oS);this.Ha=this.ga.getX();this.Ka=this.ga.getY();this.bd=this.ga.aI();this.ib=this.ga.Gq()};f.prototype.nc=function(l){(this.W=
l)?(this.lb.Mq(this.j.getParent()),this.sH()):this.lb.Ql()};f.prototype.jy=function(l){this.Kc(0,l.data.zoomDelta)};f.prototype.Kc=function(l,p){this.cc.Pza(0,0,0,l,0,0,0,p);this.Oh()};f.prototype.Oh=function(){this.trigger(new h(f.qh))};f.qh="position change request";f.H1=7;f.I1=.2;f.wJ=.5;f.C1=30;return f});
define("nR","require lo cy gi jU md kz nu mJ oH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("jU"),b=a("md"),g=a("kz"),d=a("nu"),c=a("mJ"),f=a("oH"),l=e.extend(m,function(p){m.call(this);this.j=p;this.j.bind(f.kc,this.hc,this);this.Km=k.Qz;this.Sc=null;this.Ka=this.Ha=.5;this.bd=0;this.ib=1;this.Qa=null;this.bW=this.aW=this.ws=this.vs=!1;this.Zm=!0;this.W=!1;this.ga=new g;this.ga.Qq(this.Km);this.Ub=new d(this.j,this.ga);this.Ub.bind(d.qh,this.Pp,this,!0);this.ui=new c(this.j,this.ga);
this.ui.bind(c.qh,this.Pp,this,!0);this.NV()});l.prototype.clear=function(){this.Ub.unbind(d.qh,this.Pp,this);this.Ub.clear();this.Ub=null;this.ui.unbind(c.qh,this.Pp,this);this.ui.clear();this.Qa=this.ga=this.ui=null;this.j.unbind(f.kc,this.hc,this);this.j=null};l.prototype.stop=function(){this.ce=this.Qa=null;this.W=!1;this.Ub.nc(!1);this.ui.nc(!1);this.kv(0,0,0)};l.prototype.start=function(p){var q=p.Qa,n=q.get("width",100),r=q.get("height",100),t=q.get("scaleMode",b.rh),u=q.get("minimumZoomFactor",
1),v=q.get("maximumZoomFactor",1),w=q.get("initialZoomFactor",1);this.Qa=q;this.W=!0;this.ce=p.getItem();this.kv(0,0,0);this.ui.kZa(n,r);this.ga.setConfiguration(n,r,t,u,v);this.ga.setPosition(.5,.5,0,w);this.j.aQ(this.ce,this.ga.getX(),this.ga.getY(),this.ga.aI(),this.ga.Gq());this.NV()};l.prototype.Pj=function(p){this.Ub.Pj(p);this.ui.Pj(p)};l.prototype.Qq=function(p){this.Km!=p&&(this.Km=p,this.ga.Qq(p),this.NV())};l.prototype.gw=function(p){this.Sc!=p&&(this.Sc=p,this.ui.gw(p),this.NV())};l.prototype.$P=
function(p){this.Ub&&this.Ub.$P(p)};l.prototype.rn=function(p,q,n,r){this.ui.rn(p,q,n,r)};l.prototype.Yv=function(p){this.W&&(this.ui.af()?(this.ui.zb(p),this.Hl(this.ui.Ha,this.ui.Ka,this.ui.bd,this.ui.ib),this.Ma()):this.Ub.af()?(this.Ub.zb(p),this.Hl(this.Ub.Ha,this.Ub.Ka,this.Ub.bd,this.Ub.ib),this.Ma()):this.kv(0,0,0))};l.prototype.wd=function(){if(this.ce){var p=this.j.dP(this.ce),q=this.j.eP(this.ce),n=this.j.EY(this.ce),r=this.j.Gva(this.ce),t=this.j.cP(this.ce),u=this.j.bP(this.ce),v=p-this.Ha,
w=q-this.Ka,x=r-this.ib;this.Ha=p;this.Ka=q;this.bd=n;this.ib=r;this.kv(v,w,x);this.ui.setPosition(p,q,n,r,t,u);this.Ub.setPosition(p,q,n,r,t,u)}};l.prototype.NV=function(){this.Km==k.h1&&null!=this.Sc&&this.Sc.get("map")==this.Qa?(this.Ub.nc(!1),this.ui.nc(!0)):(this.Ub.nc(!0),this.ui.nc(!1))};l.prototype.Pp=function(){this.Ma()};l.prototype.hc=function(){this.ga.setSize(this.j.Xa(),this.j.xb());this.Ma()};l.prototype.Ma=function(){this.trigger(new h(l.Db))};l.prototype.Hl=function(p,q,n,r){this.j.aQ(this.ce,
p,q,n,r)};l.prototype.kv=function(p,q,n){p=!1;this.ws!=0>n&&(this.ws=!this.ws,p=!0);this.vs!=0<n&&(this.vs=!this.vs,p=!0);this.aW!=0<this.CA&&(this.aW=!this.aW,p=!0);this.bW!=0>this.CA&&(this.bW=!this.bW,p=!0);this.Zm!=(0==n)&&(this.Zm=!this.Zm,p=!0);p&&this.trigger(new h(l.Rj,{rotatingClockwise:this.aW,rotatingCounterClockwise:this.bW,zoomingIn:this.vs,zoomingOut:this.ws,stopped:this.Zm}))};l.Db="request frame";l.Rj="movement change";return l});
define("jG","require lo cy gi md kz".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("md"),b=a("kz"),g=e.extend(m,function(d,c){m.call(this);this.M=d;this.j=c;this.ga=new b;this.wg=[];this.oa=g.vh;this.vp=this.lj=this.dl=null;this.Pg=this.M.get("transitionDuration");this.yg=void 0});g.prototype.Qq=function(d){this.ga.Qq(d)};g.prototype.QO=function(d){d.tP()&&this.T2();this.wg.push(d);this.QU()};g.prototype.hide=function(){this.T2();this.wg.push(null);this.QU()};g.prototype.clear=function(){this.oa=
g.vh;this.T2();this.SNa();this.Y8();this.j=null};g.prototype.wd=function(d){this.oa==g.vh||this.oa!=g.Dn&&this.oa!=g.Nw||(this.yg+=d,d=Math.min(1,this.yg/this.Pg),this.oa==g.Dn?this.j.Oq(this.vp,d):this.j.Oq(this.sS,1-d),this.yg<this.Pg?this.Ma():this.oa==g.Dn?this.IHa():this.KHa())};g.prototype.QU=function(){if(this.oa==g.vh){for(;0<this.wg.length&&this.YDa(this.wg[0],this.lj);)this.wg.shift();0<this.wg.length&&this.jp()}};g.prototype.YDa=function(d,c){return d==c||!!d&&!!c&&d.isEqual(c)};g.prototype.jp=
function(){!this.lj||this.wg[0]&&!this.wg[0].tP()||this.lj.Qa==(this.wg[0]&&this.wg[0].Qa)||this.trigger(new h(g.Tz,{map:this.lj.Qa}));"fade_out_fade_in"!=this.M.get("transitionMode","blending")||!this.lj||this.wg[0]&&!this.wg[0].tP()?(this.vp=(this.dl=this.wg.shift())&&this.dl.getItem(),this.dl?this.KJ():this.lj&&this.Vw()):this.Vw()};g.prototype.KJ=function(){this.uDa();this.dl.tP()&&this.NOa();this.yg=0;this.oa=g.Dn;this.Ma()};g.prototype.IHa=function(){this.Y8();this.lj=this.dl;this.sS=this.vp;
this.vp=this.dl=null;this.Bx()};g.prototype.Vw=function(){this.yg=0;this.oa=g.Nw;this.Ma()};g.prototype.KHa=function(){this.Y8();this.lj=null;this.Bx()};g.prototype.Bx=function(){this.oa=g.vh;this.lj&&this.lj.tP()&&this.trigger(new h(g.Uz,{map:this.lj.Qa}));0==this.wg.length?this.lj?this.trigger(new h(g.m0,{level:this.lj})):this.trigger(new h(g.Y_)):this.jp()};g.prototype.NOa=function(){var d=this.dl.Qa;this.dl.Jj();this.ga.setConfiguration(d.get("width",100),d.get("height",100),d.get("scaleMode",
k.rh),d.get("minimumZoomFactor",1),d.get("maximumZoomFactor",1));this.ga.setPosition(.5,.5,0,d.get("initialZoomFactor",1));this.j.aQ(this.vp,this.ga.getX(),this.ga.getY(),this.ga.aI(),this.ga.Gq())};g.prototype.Ma=function(){this.trigger(new h(g.Db))};g.prototype.T2=function(){for(;0<this.wg.length;){var d=this.wg.shift();d&&this.j.gj(d.getItem())}};g.prototype.uDa=function(){this.dl&&(this.j.jba(this.vp),this.j.uba(this.vp),this.j.Oq(this.vp,0),this.trigger(new h(g.l0,{level:this.dl})))};g.prototype.Y8=
function(){this.lj&&(this.j.removeItem(this.sS),this.trigger(new h(g.MQ,{level:this.lj})),this.j.gj(this.sS),this.sS=this.lj=null)};g.prototype.SNa=function(){this.dl&&(this.j.removeItem(this.vp),this.trigger(new h(g.MQ,{level:this.dl})),this.j.gj(this.vp),this.vp=this.dl=null)};g.vh="stopped";g.Dn="blending";g.Nw="disolving";g.Db="request frame";g.l0="level added";g.MQ="level removed";g.m0="level fully displayed";g.Y_="all pending maps hidden";g.Uz="map show";g.Tz="map hide";return g});
define("ky",["require","exports","lo","y"],function(a,e,h,m){var k=function(){return function(){}}();return function(){function b(){}b.fa=function(g,d,c,f){this.qha(g,d,c,f,!1)};b.eD=function(g,d,c,f){this.qha(g,d,c,f,!0)};b.qha=function(g,d,c,f,l){function p(){for(var r=[],t=0;t<d.length;t++)try{r.push(g.get(d[t]))}catch(u){r.push(void 0),h.yP("BindingsHandler._addBinding",u)}c.apply(this,r)}d=h.toArray(d);l&&(p=h.Io(p));var q=[];d.forEach(function(r){(r=m.Ws(g,r,p,this,!l))&&q.push(r)},this);var n=
new k;n.f0a=q;n.host=g;n.Yb=d;n.pP=c;this.pba.push(n);f&&p()};b.ba=function(g,d,c){var f=[];this.pba.forEach(function(l){l.pP==c&&l.host==g&&h.cWa(l.Yb,h.toArray(d))?l.f0a.forEach(function(p){p.Iz()}):f.push(l)});this.pba=f};b.pba=[];return b}()});
define("kY",["require"],function(){function a(e,h){this.Qa=e;this.Ra=e.get("image");this.Ce=h;this.m6=void 0}a.prototype.getItem=function(){switch(this.Ce){case a.XQ:return this.Qa.Rva();default:return this.Qa.Kj()}};a.prototype.Jj=function(){switch(this.Ce){case a.XQ:return this.Qa.rD();default:return this.Qa.Eq()}};a.prototype.tP=function(){return void 0===this.m6?0==this.getIndex():this.m6};a.prototype.WYa=function(e){this.m6=e};a.prototype.vP=function(){return this.Ce==a.sfa};a.prototype.isEqual=
function(e){return e&&this.Qa==e.map&&this.Ce==e.type};a.prototype.getIndex=function(){return this.Ce==a.XQ||this.Qa.nI()?0:1};a.prototype.uva=function(){return this.Qa.nI()?2:1};a.XQ="preload";a.sfa="load";return a});
define("iN","require lo ky oH cy gi kY v".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("kY"),d=a("v"),c=e.extend(b,function(f){b.call(this);this.j=f;this.wg=[];this.jK=this.QB=this.Fg=null;this.HB=!1;this.PT=null;this.IU=e.Io(this.IU,this)});c.prototype.clear=function(){this.stop();this.j=null};c.prototype.kxa=function(f,l){if(this.PT!=f||l)this.stop(),this.Qa=f,this.Qa.hYa(),h.eD(this.Qa,"image.levels.url",this.IU),l=[],f.nI()&&d.kb()&&l.push(new g(f,g.XQ)),l.push(new g(f,
g.sfa)),l=l.filter(function(p){return p.getItem().wi()}),l.length&&(this.wg=this.wg.concat(l),this.QU())};c.prototype.IU=function(){this.reload()};c.prototype.reload=function(){this.kxa(this.Qa,!0)};c.prototype.stop=function(){h.ba(this.Qa,"image.levels.url",this.IU);this.PT=this.Qa=null;this.wg=[];this.Yra();this.HB&&(this.HB=!1,this.R$(),this.j.gj(this.Fg.getItem()),this.Fg=null,this.trigger(new k(c.NQ)))};c.prototype.QU=function(){this.HB||this.P6()};c.prototype.P6=function(){0<this.wg.length?
(this.Fg=this.wg.shift(),this.HB||(this.HB=!0,this.trigger(new k(c.LQ,{level:this.Fg,percent:0}))),this.CEa(),this.j.ln(this.Fg.getItem()),this.j.s_(this.Fg.getItem())&&this.v7()):this.HB&&(this.HB=!1,this.trigger(new k(c.NQ)))};c.prototype.v7=function(){this.R$();this.kQa();this.Fg=null;this.P6()};c.prototype.kQa=function(){this.Yra();this.QB=this.Fg;var f=this;this.jK=setTimeout(function(){f.jK=null;f.aMa()},500)};c.prototype.aMa=function(){var f=this.QB.Qa;this.QB.WYa(f!=this.PT);this.PT=f;this.trigger(new k(c.n0,
{level:this.QB}));this.QB=null};c.prototype.Yra=function(){null!=this.jK&&(clearTimeout(this.jK),this.jK=null,this.j.gj(this.QB.getItem()),this.QB=null)};c.prototype.sna=function(){this.R$();this.Fg=null;this.P6()};c.prototype.tna=function(f){this.trigger(new k(c.LQ,{level:this.Fg,percent:f.Sg}))};c.prototype.CEa=function(){var f=this.Fg.getItem();f.bind(m.Z,this.v7,this);f.bind(m.tc,this.sna,this);f.bind(m.ec,this.tna,this)};c.prototype.R$=function(){var f=this.Fg.getItem();f.unbind(m.Z,this.v7,
this);f.unbind(m.tc,this.sna,this);f.unbind(m.ec,this.tna,this)};c.LQ="level loading progress";c.n0="level loaded";c.NQ="load stopped";return c});
define("nz",["require"],function(){function a(k){return k&&0==k.indexOf("#")}function e(k){return[parseInt(k.substr(1,2),16),parseInt(k.substr(3,2),16),parseInt(k.substr(5,2),16)]}function h(k,b){return Math.max(Math.abs(k[0]-b[0]),Math.abs(k[1]-b[1]),Math.abs(k[2]-b[2]))}var m={mYa:function(k,b,g){if(a(k)){var d=e(k),c=void 0,f=256;b.forEach(function(l){if(a(l)){var p=e(l);p=h(d,p);p<f&&(c=l,f=p)}});if(c&&f<=g)return c}return k},AY:function(k,b){return h(e(k),e(b))}};m.JP=e;m.YD=function(k){k=e(k);
return k[0]<<16|k[1]<<8|k[2]<<0};m.s1a=a;return m});define("cJ",["require"],function(){function a(e,h){this.x=e;this.y=h}a.prototype.rotate=function(e){var h=Math.cos(e);e=Math.sin(e);var m=this.x*e+this.y*h;this.x=this.x*h-this.y*e;this.y=m;return this};a.prototype.translate=function(e,h){this.x+=e;this.y+=h;return this};a.prototype.scale=function(e,h){this.x*=e;this.y*=h;return this};return a});
define("mB",["require","md","mQ"],function(a){function e(k,b,g){this.xg=k;this.Lra=b;this.Jra=g;this.Df=h.Aw;this.kl=m.Ge;this.Ol=m.he}var h=a("md"),m=a("mQ");e.prototype.Fz=function(k){this.Df=k};e.prototype.HI=function(k){this.kl=k};e.prototype.OI=function(k){this.Ol=k};e.prototype.VH=function(k,b,g){var d=this.Lra,c=this.Jra,f;switch(this.Df){case h.NONE:var l=f=1;break;case h.rh:f=l=Math.min(b/d,g/c);break;case h.Wq:f=l=Math.max(b/d,g/c);break;case h.Xo:f=l=b/d;break;case h.Tj:f=l=g/c;break;default:f=
b/d,l=g/c}var p=Math.min(this.Lra*f,b);f=Math.min(b/f,d);switch(this.kl){case m.Pa:d=b=0;break;case m.hb:b-=p;d-=f;break;default:b=.5*(b-p),d=.5*(d-f)}var q=Math.min(this.Jra*l,g);l=Math.min(g/l,c);switch(this.Ol){case m.uc:c=g=0;break;case m.pc:g-=q;c-=l;break;default:g=.5*(g-q),c=.5*(c-l)}k.drawImage(this.xg,Math.round(d),Math.round(c),Math.round(f+d-Math.round(d)),Math.round(l+c-Math.round(c)),Math.round(b),Math.round(g),Math.round(p+b-Math.round(b)),Math.round(q+g-Math.round(g)))};return e});
define("mk","require oH hT cJ ku mB".split(" "),function(a){function e(d,c,f,l){this.j=d;this.Qa=c;this.Ae=this.Qa.get("width");this.ze=this.Qa.get("height");this.ce=this.Qa.Kj();this.wla=f;this.Nn=l;this.wB=null;if(this.Nn){if(this.OG=this.wla.OG,this.ia=this.Nn.get("width"),this.ua=this.Nn.get("height"),this.Ha=this.Nn.get("x",0),this.Ka=this.Nn.get("y",0),this.Hu=this.Nn.get("offsetX",0),this.Iu=this.Nn.get("offsetY",0),this.Ya=this.Nn.Eq())this.Gh=new b(m.Xk),this.Gh.load(this.Ya.get("url")),
this.Gh.bind(h.Z,this.aoa,this)}else this.Gh=null}var h=a("oH"),m=a("hT"),k=a("cJ"),b=a("ku"),g=a("mB");e.prototype.clear=function(){this.Nn=this.wla=this.ce=this.Qa=this.j=null;this.Gh&&(this.Gh.unbind(h.Z,this.aoa,this),this.Gh.cancel(),this.Gh=null);this.wB=null};e.prototype.Iva=function(d,c){this.xla=void 0;if(this.wB&&void 0!=d&&void 0!=c){var f=.5*this.j.Xa(),l=.5*this.j.xb(),p=this.j.EY(this.ce)*Math.PI/180,q=this.j.cP(this.ce),n=this.j.bP(this.ce),r=this.j.dP(this.ce),t=this.j.eP(this.ce);
d=new k(d,c);d.translate(-f,-l);d.rotate(-p);d.scale(1/q,1/n);d.translate(r,t);d.scale(this.Ae,this.ze);d.translate(-this.Ha,-this.Ka);this.OG||(d.rotate(p),d.scale(q/this.Ae,n/this.ze));d.translate(this.Hu,this.Iu);f=Math.round(d.x);l=Math.round(d.y);0<=f&&f<this.wB.width&&0<=l&&l<this.wB.height&&(f=4*(this.wB.width*l+f),l=this.wB.data,this.xla=0<l[f+3]?"#"+this.H2(l[f+0])+this.H2(l[f+1])+this.H2(l[f+2]):"transparent")}return this.xla};e.prototype.aoa=function(){var d=new g(this.Gh.sf(),this.Ya.get("width"),
this.Ya.get("height"));d.Fz(this.Nn.get("scaleMode"));d.HI(this.Nn.get("horizontalAlign"));d.OI(this.Nn.get("verticalAlign"));var c=document.createElement("canvas");c.width=Math.round(this.ia);c.height=Math.round(this.ua);var f=c.getContext("2d");d.VH(f,c.width,c.height);this.wB=f.getImageData(0,0,c.width,c.height);c.width=c.height=0};e.prototype.H2=function(d){for(d=d.toString(16);2>d.length;)d="0"+d;return d};return e});
define("kS","require eg lo oH cy gi nz mk bc oj bF".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("nz"),d=a("mk"),c=a("bc"),f=a("oj"),l=a("bF"),p=h.extend(b,function(q,n,r){b.call(this);this.j=q;this.Qa=n;this.dc=r;this.wa=this.dc.getItem();this.iq=this.dc.Uva();this.jq=this.dc.Vva();this.wu=this.Pn=void 0;this.M=this.j.getParent();this.M.bind(m.jc,this.kf,this);this.M.bind(m.ac,this.eM,this);this.M.bind(m.ub,this.mk,this);this.M.bind(m.Zb,this.Wn,this);this.M.bind(m.qa,
this.Mr,this);r.bind(m.G("selected"),this.Ooa,this);r.bind(m.G("enabled"),this.Mp,this);this.ZT=new d(this.j,this.Qa,this.dc,this.dc.get("map",null));this.aU=new d(this.j,this.Qa,this.dc,this.dc.get("rollOverMap",this.dc.get("map",null)));this.bU=new d(this.j,this.Qa,this.dc,this.dc.get("selectedMap",this.dc.get("rollOverMap",this.dc.get("map",null))));this.kT=new d(this.j,this.Qa,this.dc,this.dc.get("image",null));this.lT=new d(this.j,this.Qa,this.dc,this.dc.get("rollOverImage",this.dc.get("image",
null)));this.mT=new d(this.j,this.Qa,this.dc,this.dc.get("selectedImage",this.dc.get("rollOverImage",this.dc.get("image",null))));this.Zc=this.Yc=void 0;this.mH=null;this.It=[];this.qr=[];this.VJ=[];this.xh={};this.rma=[];this.ru=!1;this.rs=this.dc.get("useHandCursor");this.V=null;this.dH=void 0;this.lW=this.ZV=this.GT=0;q=this.dc.get("areas",[]);for(n=0;n<q.length;n++){r=q[n];var t=r.get("mapColor");t&&(t=t.toLowerCase(),void 0===this.xh[t]&&(this.xh[t]=[],this.rma.push(t)),this.xh[t].push(r))}this.wa&&
(this.j.RX(this.Qa.Kj(),this.wa),this.j.Oq(this.wa,this.GT));this.iq&&(this.j.RX(this.Qa.Kj(),this.iq),this.j.Oq(this.iq,this.ZV));this.jq&&(this.j.RX(this.Qa.Kj(),this.jq),this.j.Oq(this.jq,this.lW));this.uN("none");this.daa();this.bra(!1);this.cra(this.dc.get("selected"))});p.prototype.clear=function(){this.M.unbind(m.jc,this.kf,this);this.M.unbind(m.ac,this.eM,this);this.M.unbind(m.ub,this.mk,this);this.M.unbind(m.Zb,this.Wn,this);this.M.unbind(m.qa,this.Mr,this);this.M=null;this.ZT&&this.ZT.clear();
this.ZT=null;this.aU&&this.aU.clear();this.aU=null;this.bU&&this.bU.clear();this.bU=null;this.kT&&this.kT.clear();this.kT=null;this.lT&&this.lT.clear();this.lT=null;this.mT&&this.mT.clear();this.mT=null;this.It=[];this.Pn=!1;this.daa();this.qr=[];this.VJ=[];this.xh={};this.csa();this.nO();this.Qa=this.j=null;this.dc.unbind(m.G("selected"),this.Ooa,this);this.jq=this.iq=this.wa=this.dc=null};p.prototype.match=function(q){return this.dc==q};p.prototype.wd=function(q){this.IF(!1);this.V&&(this.V.zb(q),
this.GT=this.V.cb("itemAlpha"),this.ZV=this.V.cb("rollOverItemAlpha"),this.lW=this.V.cb("selectedItemAlpha"),this.wa&&this.j.Oq(this.wa,this.GT),this.iq&&this.j.Oq(this.iq,this.ZV),this.jq&&this.j.Oq(this.jq,this.lW),this.V.Re()?this.V=null:this.Ma())};p.prototype.mk=function(q){this.Yc=q.x-this.M.Rl();this.Zc=q.y-this.M.Fs();this.IF(!0);this.qr=this.It.slice()};p.prototype.kf=function(q){this.Yc=q.x-this.M.Rl();this.Zc=q.y-this.M.Fs();this.IF(!0)};p.prototype.Wn=function(q){this.Yc=q.x-this.M.Rl();
this.Zc=q.y-this.M.Fs();this.IF(!0);this.VJ=e.intersection(this.qr,this.It);this.qr=[]};p.prototype.Mr=function(){this.VJ&&(this.L$(this.VJ,"click"),this.VJ=[])};p.prototype.eM=function(){this.Zc=this.Yc=void 0;this.IF(!0);this.qr=this.It.slice()};p.prototype.Ooa=function(){this.cra(this.dc.get("selected"))};p.prototype.Mp=function(){this.IF(!0);this.mg();this.Ma()};p.prototype.IF=function(q){this.Nla=!0;q?this.lH():this.fLa()||this.FQa()};p.prototype.FQa=function(){this.csa();var q=this;this.mH=
setTimeout(function(){q.mH=null;q.lH()},200)};p.prototype.fLa=function(){return this.mH?!0:!1};p.prototype.csa=function(){this.mH&&(clearTimeout(this.mH),this.mH=null)};p.prototype.lH=function(){if(this.Nla){this.Nla=!1;var q=this.It,n=this.sIa();this.It=n;this.M.Qn||(this.L$(e.difference(n,q),"rollOver"),this.bra(0<n.length),this.L$(e.difference(q,n),"rollOut"),this.nO())}};p.prototype.nO=function(){for(var q="",n=0;n<this.It.length&&!q;n++){var r=this.It[n];r.get("toolTip")&&(q=r.get("toolTip"))}this.Nb!=
q&&(this.Nb&&this.j.HXa(this.Nb),(this.Nb=q)&&this.j.NXa(this.Nb))};p.prototype.daa=function(){var q=this.Pn&&(!1!==this.rs||e(this.It).any(function(n){return!0===n.get("useHandCursor")}));this.ru!=q&&((this.ru=q)?this.j.TZ(c.df):this.j.AI(c.df))};p.prototype.sIa=function(){if(!1===this.dc.get("enabled"))return[];var q=[],n=this.wu?this.bU:this.Pn?this.aU:this.ZT;n&&(n=n.Iva(this.Yc,this.Zc))&&(this.xh.any&&(q=q.concat(this.xh.any)),"transparent"==n&&this.xh.transparent&&(q=q.concat(this.xh.transparent)),
"transparent"!=n&&(q=this.xh[n]?q.concat(this.xh[n]):q.concat(this.xh[g.mYa(n,this.rma,5)]||[]),this.xh.image&&(q=q.concat(this.xh.image))));if(n=this.wu?this.mT:this.Pn?this.lT:this.kT)if(n=n.Iva(this.Yc,this.Zc))this.xh.any&&(q=q.concat(this.xh.any)),"transparent"==n&&this.xh.transparent&&(q=q.concat(this.xh.transparent)),"transparent"!=n&&this.xh.image&&(q=q.concat(this.xh.image));n=[];for(var r=0;r<q.length;r++){var t=q[r];0>n.indexOf(t)&&n.push(t)}return n};p.prototype.L$=function(q,n){if(q)for(var r=
0;r<q.length;r++)q[r].trigger(new k(n))};p.prototype.bra=function(q){this.Pn!=q&&(this.Pn=q,this.trigger(new k(p.h0)),this.mg(),this.daa(),this.Ma())};p.prototype.cra=function(q){this.wu!=q&&(this.wu=q,this.mg(),this.Ma())};p.prototype.mg=function(){!this.Pn&&1==this.dc.get("rollOverDisplay")||!1===this.dc.get("enabled")?this.uN("none"):this.wu?this.uN("selected"):this.Pn?this.uN("roll over"):this.uN("visible")};p.prototype.uN=function(q){if(this.dH!=q){this.dH=q;var n;if(e(["selected"]).contains(this.dH)&&
this.jq){var r=1;q=n=0}else e(["selected","roll over"]).contains(this.dH)&&this.iq?(n=1,q=r=0):e(["selected","roll over","visible"]).contains(this.dH)?(q=1,r=n=0):q=r=n=0;var t=this.GT,u=this.ZV,v=this.lW,w=Math.max(200*Math.abs(q-t),200*Math.abs(n-u),200*Math.abs(r-v));this.V=new f("none"==this.dH?"quad_out":"quad_in",[new l("itemAlpha",t,q),new l("rollOverItemAlpha",u,n),new l("selectedItemAlpha",v,r)],w)}};p.prototype.Ma=function(){this.trigger(new k(p.Db))};p.Db="request frame";p.h0="is over update";
return p});define("mP",["require","lo","jP"],function(a){var e=a("lo"),h=a("jP");a=e.extend(h,function(m,k,b,g,d,c,f){h.call(this,h.uga,m,k);this.GKa=b;this.HKa=g;this.dNa=d;this.eNa=c;this.Cc=f;this.pO=[]});a.prototype.tD=function(){return this.Cc};return a});
define("bV","require lo oH cy gi cJ mP".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("cJ"),g=a("mP"),d=e.extend(k,function(c,f,l){k.call(this);this.j=c;this.M=this.j.getParent();this.M.bind(h.ub,this.mk,this,!0);this.M.bind(h.jc,this.kf,this,!0);this.M.bind(h.$o,this.eM,this,!0);this.Qa=f;this.Ae=this.Qa.get("width");this.ze=this.Qa.get("height");this.JNa=Math.sqrt(this.Ae*this.Ae+this.ze*this.ze)*this.Qa.get("fieldOfViewOverlayRadiusScale",1);this.ce=this.Qa.Kj();this.Sc=
l;this.sG=this.Sc.get("x",0);this.tG=this.Sc.get("y",0);this.jV=this.Sc.get("angle",0);this.wa=this.DGa();this.Er=!1;this.Da=0;this.La=.5*Math.PI;this.Od=!1;this.Zc=this.Yc=void 0;this.j.RX(this.Qa.Kj(),this.wa)});d.prototype.Qza=function(c,f){this.Da=c+this.jV-90;this.La=f;this.Ma()};d.prototype.clear=function(){this.M.unbind(h.ub,this.mk,this);this.M.unbind(h.jc,this.kf,this);this.M.unbind(h.$o,this.eM,this);this.M=null;this.j.VXa(this.Qa.Kj(),this.wa);this.wa=this.Sc=this.ce=this.Qa=this.j=null};
d.prototype.wd=function(){this.j.ZYa(this.wa,this.Da,this.La)};d.prototype.DGa=function(){return new g(this.sG,this.tG,this.Qa.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.Qa.get("fieldOfViewOverlayInsideOpacity",0),this.Qa.get("fieldOfViewOverlayOutsideColor","#000000"),this.Qa.get("fieldOfViewOverlayOutsideOpacity",0),this.Qa.get("fieldOfViewOverlayRadiusScale",1))};d.prototype.Ma=function(){this.trigger(new m(d.Db))};d.prototype.gaa=function(){var c=!1;if(void 0!=this.Yc&&void 0!=this.Zc){var f=
.5*this.j.Xa(),l=.5*this.j.xb(),p=this.j.EY(this.ce)*Math.PI/180,q=this.j.cP(this.ce),n=this.j.bP(this.ce),r=this.j.dP(this.ce),t=this.j.eP(this.ce);c=new b(this.Yc,this.Zc);c.translate(-f,-l);c.rotate(-p);c.scale(1/q,1/n);c.translate(r,t);c.scale(this.Ae,this.ze);c.translate(-this.sG,-this.tG);c.rotate(-this.Da*Math.PI/180);f=Math.round(180*Math.atan2(c.y,c.x)/Math.PI);c=Math.round(Math.sqrt(c.x*c.x+c.y*c.y))<=this.JNa&&Math.abs(f)<.5*this.La}this.Er!=c&&(this.Er=c,this.trigger(new m(d.Q0,{inFOV:this.Er})))};
d.prototype.iWa=function(){return this.Er};d.prototype.mk=function(c){this.Yc=c.x;this.Zc=c.y;this.Od=!0;this.gaa()};d.prototype.kf=function(c){this.Od||(this.Yc=c.x,this.Zc=c.y,this.gaa())};d.prototype.eM=function(){this.Zc=this.Yc=void 0;this.Od=!1;this.gaa()};d.Db="request frame";d.Q0="mouse in fov change";return d});
define("ot","require eg lo cy gi ij kS bV".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("cy"),k=a("gi"),b=a("ij"),g=a("kS"),d=a("bV"),c=h.extend(k,function(f){k.call(this);this.j=f;this.wL=[];this.tu=[];this.zm=[];this.Qm=this.Sc=null});c.prototype.clear=function(){for(var f=0;f<this.tu.length;f++)this.tu[f].clear();for(f=0;f<this.zm.length;f++)this.zm[f].clear();this.j=this.wL=this.Sc=this.zm=this.tu=null};c.prototype.QO=function(f){f.vP()&&this.FDa(f.Qa)};c.prototype.oca=function(f){f.vP()&&
this.bOa(f.Qa)};c.prototype.gw=function(f){this.Sc!=f&&(this.Sc&&this.a9(this.Sc.get("map")),this.Sc=f,this.Qm=null,this.Sc&&(f=this.Sc.get("map"),this.o6(f)&&this.tha(f)))};c.prototype.rn=function(f,l,p,q){this.Qm={yaw:l,pitch:p,hfov:q};for(p=0;p<this.zm.length;p++){var n=this.zm[p];if(n.Sc==f){n.Qza(l,q);break}}};c.prototype.FDa=function(f){this.o6(f)&&(this.fqa(f),this.a9(f));this.wL.push(f);this.xDa(f);this.tha(f)};c.prototype.bOa=function(f){var l=this.wL.indexOf(f);0<=l&&this.wL.splice(l,1);
this.o6(f)||(this.fqa(f),this.a9(f))};c.prototype.o6=function(f){return 0<=e(this.wL).indexOf(f)};c.prototype.wd=function(f){for(var l=0;l<this.tu.length;l++)this.tu[l].wd(f);for(l=0;l<this.zm.length;l++)this.zm[l].wd(f)};c.prototype.xDa=function(f){for(var l=f.get("overlays",[]),p=0;p<l.length;p++){var q=l[p];q instanceof b&&(q=new g(this.j,f,q),q.bind(g.Db,this.Ma,this,!0),q.bind(g.h0,this.Yla,this,!0),this.tu.push(q))}};c.prototype.tha=function(f){this.Sc&&this.Sc.get("map")==f&&!1!==this.Sc.get("visible")&&
(f=new d(this.j,f,this.Sc),f.bind(d.Db,this.Ma,this,!0),f.bind(d.Q0,this.DU,this,!0),this.zm.push(f),this.Qm&&f.Qza(this.Qm.yaw,this.Qm.hfov));this.DU()};c.prototype.fqa=function(f){f=f.get("overlays",[]);for(var l=0;l<f.length;l++)for(var p=f[l],q=0;q<this.tu.length;q++){var n=this.tu[q];if(n.match(p)){n.unbind(g.Db,this.Ma,this);n.unbind(g.h0,this.Yla,this);n.clear();this.tu.splice(q,1);break}}};c.prototype.a9=function(f){for(var l=0;l<this.zm.length;l++){var p=this.zm[l];if(p.Qa==f){p.unbind(d.Db,
this.Ma,this);p.unbind(d.Q0,this.DU,this);p.clear();this.zm.splice(l,1);break}}this.DU()};c.prototype.Yla=function(){};c.prototype.Ma=function(){this.trigger(new m(c.Db))};c.prototype.DU=function(){for(var f=!1,l=0;l<this.zm.length;l++)this.zm[l].iWa()&&(f=!0);this.trigger(new m(c.g0,{inFOV:f}))};c.Db="request frame";c.g0="in fov change";return c});
define("J","require lo oH cy gi jU cJ".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("jU"),g=a("cJ"),d=e.extend(k,function(c){k.call(this);this.j=c;this.M=this.j.getParent();this.M.bind(h.jc,this.kf,this,!0);this.M.bind(h.ub,this.mk,this,!0);this.M.bind(h.Zb,this.Wn,this,!0);this.Qa=null;this.ce=this.ze=this.Ae=void 0;this.Sc=null;this.jV=this.tG=this.sG=void 0;this.Er=!1;this.Zc=this.Yc=this.Km=void 0;this.Od=!1;this.Da=0});d.prototype.clear=function(){this.M.unbind(h.jc,
this.kf,this);this.M.unbind(h.ub,this.mk,this);this.M.unbind(h.Zb,this.Wn,this);this.j=this.Sc=this.ce=this.Qa=this.M=null};d.prototype.$P=function(c){this.Er=c;this.$$()};d.prototype.QO=function(c){c.vP()&&this.gra(c.Qa)};d.prototype.oca=function(c){c.vP()&&this.Qa==c.Qa&&this.gra(null)};d.prototype.gra=function(c){this.Qa!=c&&((this.Qa=c)?(this.Ae=this.Qa.get("width"),this.ze=this.Qa.get("height"),this.ce=this.Qa.Kj()):(this.ze=this.Ae=void 0,this.ce=null))};d.prototype.gw=function(c){this.Sc!=
c&&((this.Sc=c)?(this.sG=this.Sc.get("x",0),this.tG=this.Sc.get("y",0),this.jV=this.Sc.get("angle",0)):this.jV=this.tG=this.sG=void 0)};d.prototype.rn=function(c,f){this.Sc==c&&(this.Da=f)};d.prototype.Qq=function(c){this.Km=c};d.prototype.mk=function(c){this.Yc=c.x;this.Zc=c.y;this.Od=!0;this.$$()};d.prototype.kf=function(c){this.Yc=c.x;this.Zc=c.y;this.ci&&(c=this.$ka(),this.trigger(new m(d.Sj,{yawDelta:c-this.bd})),this.bd=c)};d.prototype.Wn=function(c){this.Yc=c.x;this.Zc=c.y;this.Od=!1;this.$$()};
d.prototype.$$=function(){var c=this.Od&&this.Sc&&this.Qa&&(this.Km==b.h1||this.Er);this.ci!=c&&(this.ci=c)&&(this.bd=this.$ka())};d.prototype.$ka=function(){var c=.5*this.j.Xa(),f=.5*this.j.xb(),l=new g(this.Yc,this.Zc);l.translate(-c,-f);if(this.Km==b.h1)return 180*-Math.atan2(l.y,l.x)/Math.PI;c=this.j.EY(this.ce)*Math.PI/180;f=this.j.cP(this.ce);var p=this.j.bP(this.ce),q=this.j.dP(this.ce),n=this.j.eP(this.ce);l.rotate(-c);l.scale(1/f,1/p);l.translate(q,n);l.scale(this.Ae,this.ze);l.translate(-this.sG,
-this.tG);return 180*Math.atan2(l.y,l.x)/Math.PI};d.Sj="request yaw change";return d});
define("mI",["require","lo","cy","gi","bg"],function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("bg"),b=e.extend(m,function(g){m.call(this);this.W=!0;this.oB=!1;this.j=g});b.prototype.clear=function(){this.W=!1;this.j=null};b.prototype.requestFrame=function(){this.oB||(this.oB=!0,k.requestFrame(this.yj,this))};b.prototype.yj=function(g){this.W&&(this.oB=!1,this.trigger(new h(b.To,{frameTime:g})),this.trigger(new h(b.Uo,{frameTime:g})),this.j.render())};b.To="frameStart";b.Uo="positionSet";return b});
define("dv","require lo oH cy gi nR jG iN ot J mI".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("nR"),g=a("jG"),d=a("iN"),c=a("ot"),f=a("J"),l=a("mI"),p=e.extend(k,function(q,n){k.call(this);this.M=q;this.j=n;this.j.set("visible",!1);this.pV=null;this.kg=new l(this.j);this.pe=new d(this.j);this.Ia=new g(this.M,this.j);this.bb=new b(this.j);this.Up=new c(this.j);this.Qr=new f(this.j);this.M.bind(h.kd,this.aV,this,!0);this.kg.bind(l.To,this.ly,this,!0);this.kg.bind(l.Uo,this.my,
this,!0);this.pe.bind(d.NQ,this.aM,this);this.pe.bind(d.n0,this.Pna,this);this.pe.bind(d.LQ,this.Qna,this);this.Ia.bind(g.Db,this.Me,this,!0);this.Ia.bind(g.l0,this.Nna,this,!0);this.Ia.bind(g.MQ,this.Rna,this,!0);this.Ia.bind(g.m0,this.Ona,this,!0);this.Ia.bind(g.Tz,this.Ku,this,!0);this.Ia.bind(g.Uz,this.hy,this,!0);this.Ia.bind(g.Y_,this.$ma,this,!0);this.bb.bind(b.Db,this.Me,this,!0);this.bb.bind(b.Rj,this.Np,this);this.Up.bind(c.Db,this.Me,this,!0);this.Up.bind(c.g0,this.Cna,this,!0);this.Qr.bind(f.Sj,
this.rM,this,!0);this.Vja=!1});p.prototype.Qq=function(q){this.bb.Qq(q);this.Ia.Qq(q);this.Qr.Qq(q)};p.prototype.clear=function(){this.Vja=!0;this.pe.clear();this.kg.clear();this.bb.clear();this.Ia.clear();this.Up.clear();this.Qr.clear();this.M.unbind(h.kd,this.aV,this);this.pe.unbind(d.NQ,this.aM,this);this.pe.unbind(d.n0,this.Pna,this);this.pe.unbind(d.LQ,this.Qna,this);this.kg.unbind(l.To,this.ly,this);this.kg.unbind(l.Uo,this.my,this);this.Ia.unbind(g.Db,this.Me,this);this.Ia.unbind(g.l0,this.Nna,
this);this.Ia.unbind(g.MQ,this.Rna,this);this.Ia.unbind(g.m0,this.Ona,this);this.Ia.unbind(g.Tz,this.Ku,this);this.Ia.unbind(g.Uz,this.hy,this);this.Ia.unbind(g.Y_,this.$ma,this);this.bb.unbind(b.DBa,this.Me,this);this.bb.unbind(b.Rj,this.Np,this);this.Up.unbind(c.Db,this.Me,this);this.Up.unbind(c.g0,this.Cna,this);this.Qr.unbind(f.Sj,this.rM,this);this.M=this.j=this.Qr=this.Up=this.Ia=this.bb=this.kg=this.pe=null};p.prototype.aV=function(){this.pV&&(this.Lza(this.pV),this.pV=null)};p.prototype.Lza=
function(q){this.j.set("visible",!0);this.M.Qx?this.pe.kxa(q):(this.pe.stop(),this.bb.stop(),this.Ia.hide(),this.pV=q)};p.prototype.cw=function(){this.pe.stop();this.bb.stop();this.Ia.hide()};p.prototype.Pj=function(q){this.bb.Pj(q)};p.prototype.gw=function(q){this.Vja||(this.bb.gw(q),this.Up.gw(q),this.Qr.gw(q))};p.prototype.rn=function(q,n,r,t){this.bb.rn(q,n,r,t);this.Up.rn(q,n,r,t);this.Qr.rn(q,n,r,t)};p.prototype.Qna=function(q){var n=q.data.level;q=(q.data.percent+100*n.getIndex())/n.uva();
this.trigger(new m(p.ft,{percent:q}))};p.prototype.Pna=function(q){this.j.set("visible",!0);q=q.data.level;this.bb.stop();this.Ia.QO(q)};p.prototype.aM=function(){this.trigger(new m(p.Sz))};p.prototype.Me=function(){this.kg.requestFrame()};p.prototype.ly=function(q){this.bb.Yv(q.data.frameTime)};p.prototype.my=function(q){q=q.data.frameTime;this.Ia.wd(q);this.bb.wd(q);this.Up.wd(q)};p.prototype.Nna=function(q){q=q.data.level;this.Up.QO(q);this.Qr.QO(q)};p.prototype.Rna=function(q){q=q.data.level;
this.Up.oca(q);this.Qr.oca(q)};p.prototype.Ona=function(q){q=q.data.level;q.vP()&&this.bb.start(q)};p.prototype.$ma=function(){this.j.set("visible",!1)};p.prototype.Cna=function(q){q=q.data.inFOV;this.bb.$P(q);this.Qr.$P(q)};p.prototype.hy=function(q){this.trigger(new m(p.Uz,{map:q.data.map}))};p.prototype.Ku=function(q){this.trigger(new m(p.Tz,{map:q.data.map}))};p.prototype.Np=function(q){this.trigger(new m(p.Rj,q.data))};p.prototype.rM=function(q){this.trigger(new m(p.Sj,{yawDelta:q.data.yawDelta}))};
p.Rj="movementChange";p.Sz="loadingEnd";p.ft="loadingProgress";p.Uz="mapShow";p.Tz="mapHide";p.Sj="requestYawChange";return p});define("kH",["require","hT"],function(a){function e(){this.status=e.VQ;this.progress=this.KD=0;this.oda=[]}a("hT");e.LOADING="loading";e.Z="loaded";e.VQ="not loaded";return e});
define("ll","require eg lo cy oH ku kH".split(" "),function(a){function e(){this.Xja={};this.ae=[];this.$x=[];this.md={}}var h=a("eg"),m=a("lo");a("cy");var k=a("oH"),b=a("ku"),g=a("kH");e.prototype.s_=function(d){d=d.Ns();for(var c=0,f=d.length;c<f;c++)if(this.FK(d[c]).status!=g.Z)return!1;return!0};e.prototype.ln=function(d,c){this.ae.push(d);this.ADa(d,c)};e.prototype.gj=function(d,c){var f=h(this.ae).indexOf(d);0>f&&m.log("Unloading item not loaded");this.ae.splice(f,1);this.ZNa(d,c)};e.prototype.sf=
function(d,c){return this.md[d].sf(c)};e.prototype.ADa=function(d,c){this.$x.push(d);d=d.Ns();for(var f=0,l=d.length;f<l;f++){var p=d[f],q=this.FK(p);q.KD++;q.oda.push(c);q.status==g.VQ&&(q.status=g.LOADING,this.wLa(p,Math.min.apply(Math,q.oda)))}this.cta()};e.prototype.ZNa=function(d,c){this.$x=h(this.$x).without(d);d=d.Ns();for(var f=0,l=d.length;f<l;f++){var p=d[f],q=this.FK(p);q.KD--;var n=q.oda,r=n.indexOf(c);0<=r&&n.splice(r,1);0==q.KD&&q.status!=g.VQ&&(q.status=g.VQ,q.progress=0,this.ORa(p))}};
e.prototype.cta=function(d){d=(void 0==d?this.$x:this.Yka(d)).slice();for(var c=0;c<d.length;c++){for(var f=d[c],l=f.Ns(),p=0,q=0,n=l.length,r=0;r<l.length;r++){var t=this.FK(l[r]);p+=t.progress;t.status==g.Z&&q++}f.jZa(p/n);q==n&&(f.dQ(),this.$x=h(this.$x).without(f))}};e.prototype.FK=function(d){var c=this.Xja[d];c||(this.Xja[d]=c=new g);return c};e.prototype.Yka=function(d){for(var c=[],f=0;f<this.$x.length;f++){var l=this.$x[f];h(l.Ns()).contains(d)&&c.push(l)}return c};e.prototype.wLa=function(d,
c){c=new b(c);this.md[d]=c;c.bind(k.Z,this.bM,this,!0);c.bind(k.tc,this.cM,this,!0);c.load(d)};e.prototype.ORa=function(d){var c=this.md[d];delete this.md[d];c.unbind(k.Z,this.bM,this);c.unbind(k.tc,this.cM,this);c.cancel()};e.prototype.bM=function(d){d=d.source.wi();var c=this.FK(d);c.progress=100;c.status=g.Z;this.cta(d)};e.prototype.cM=function(d){d=d.source.wi();for(var c=this.Yka(d),f=0;f<c.length;f++){var l=c[f];this.gj(l);l.JYa()}m.log("Error loading: "+d)};return e.instance=new e});
define("hw",["require","jquery.mod","v"],function(a){function e(m,k){this.wa=m;this.ka=k;this.qL=0;this.$r=this.Zr=.5;this.Ck=0;this.wb=1;this.oq=this.Bu=this.ua=this.ia=0;this.Cc=1;this.yT=this.AT=!0;this.na=h("<canvas/>");this.O=this.na.get(0);this.xa=this.O.getContext("2d")}var h=a("jquery.mod");a=a("v");e.prototype.getItem=function(){return this.wa};e.prototype.UO=function(m){return this.wa==m?this:null};e.prototype.nY=function(m){return this.wa==m?[this]:[]};e.prototype.Uh=function(){this.ka&&
this.ka.tba(this)};e.prototype.uf=function(m){this.zPa(m)};e.prototype.dra=function(m){this.qL!=m&&(this.qL=m,this.ka&&this.ka.XY())};e.prototype.zPa=function(m){this.wb!=m&&(this.wb=m,this.WY())};e.prototype.uW=function(m){this.Ck!=m&&(this.Ck=m,this.WY())};e.prototype.tN=function(m,k){if(this.ia!=m||this.ua!=k)this.ia=m,this.ua=k,this.TY()};e.prototype.Hl=function(m,k){if(this.Bu!=m||this.oq!=k)this.Bu=m,this.oq=k,this.WY()};e.prototype.WY=function(){this.ka&&this.ka.UY()};e.prototype.le=function(){this.AT=
!0};e.prototype.Va=function(){this.AT&&(this.AT=!1,this.Qg())};e.prototype.Qg=function(){};e.prototype.TY=function(){this.yT=!0;this.WY()};e.prototype.v_=function(){if(this.yT){this.yT=!1;if(this.O.width!=this.ia||this.O.height!=this.ua)this.O.width=Math.round(this.ia),this.O.height=Math.round(this.ua);this.xa.clearRect(0,0,this.O.width,this.O.height);this.lg()}};e.prototype.lg=function(){};e.prototype.yUa=function(m){if(0<this.wb&&1<=this.ia&&1<=this.ua){m.save();var k=Math.round(this.Bu),b=Math.round(this.oq),
g=Math.round(this.ia*this.Zr),d=Math.round(this.ua*this.$r);m.scale(this.Cc,this.Cc);m.translate(k+g,b+d);m.rotate(this.Ck*Math.PI/180);m.globalAlpha=this.wb;m.drawImage(this.O,-g,-d);m.restore()}};e.prototype.uY=function(){this.O.width=this.O.height=1;this.AT=this.yT=!0};e.ufa=window.devicePixelRatio||1;e.Oj=e.ufa;e.UBa=a.fe()==a.Hi?16E6:256E6;return e});
define("mH",["require","eg","lo","hw"],function(a){var e=a("eg"),h=a("lo"),m=a("hw");a=h.extend(m,function(k,b){m.call(this,k,b);this.qc=[];this.OX=null;this.Ev=!0});a.prototype.$ta=function(k){k=this.n3(k);if(!k)throw"Container renderer can't create child renderer for an item";this.qc.push(k);this.XY();this.UY()};a.prototype.n3=function(){};a.prototype.Xya=function(k){if(k=this.Bs(k))this.qc=e.without(this.qc,k),this.XY(),this.UY()};a.prototype.UO=function(k){for(var b=m.prototype.UO.call(this,k),
g=0;g<this.qc.length&&!b;g++)b=this.qc[g].UO(k);return b};a.prototype.nY=function(k){for(var b=m.prototype.nY.call(this,k),g=0;g<this.qc.length;g++)b=b.concat(this.qc[g].nY(k));return b};a.prototype.Bs=function(k){for(var b=null,g=0;g<this.qc.length&&!b;g++)this.qc[g].getItem()==k&&(b=this.qc[g]);for(g=0;g<this.qc.length&&!b;g++)this.qc[g].getItem().ZVa(k)&&(b=this.qc[g]);return b};a.prototype.tba=function(k){this.qc=e.without(this.qc,k);this.qc.push(k);this.XY();this.UY()};a.prototype.XY=function(){this.Ev=
!0;this.le()};a.prototype.UY=function(){this.TY()};a.prototype.Va=function(){m.prototype.Va.call(this);for(var k=0;k<this.qc.length;k++)this.qc[k].Va()};a.prototype.Qg=function(){if(this.Ev){this.Ev=!1;for(var k=[],b=0;b<this.qc.length;b++){var g=this.qc[b];k.push({l:g.qL,z:b,r:g})}k.sort(function(d,c){return d.l==c.l?d.z-c.z:d.l-c.l});this.OX=[];for(b=0;b<k.length;b++)this.OX.push(k[b].r);this.TY()}m.prototype.Qg.call(this)};a.prototype.v_=function(){for(var k=0;k<this.qc.length;k++)this.qc[k].v_();
m.prototype.v_.call(this)};a.prototype.lg=function(){for(var k=0;k<this.OX.length;k++)this.OX[k].yUa(this.xa);m.prototype.lg.call(this)};a.prototype.uY=function(){for(var k=0;k<this.qc.length;k++)this.qc[k].uY();m.prototype.uY.call(this)};return a});define("Q",["require","lo","hw"],function(a){var e=a("lo"),h=a("hw");a=e.extend(h,function(m,k){h.call(this,m,k)});a.prototype.c_=function(){};return a});
define("iA",["require","lo","Q","v"],function(a){var e=a("lo"),h=a("Q"),m=a("v");a=e.extend(h,function(k,b){h.call(this,k,b);this.oV=this.ka.getItem().rd();this.nV=this.ka.getItem().ee();this.Cc=2;this.hF=0;this.La=.5*Math.PI;this.i6=this.j6=!0;this.ol=1;this.zT=!0;this.dra(1)});a.prototype.c_=function(k,b){this.ol!=b&&(this.ol=b,this.zT=!0,this.le())};a.prototype.Nda=function(k,b){this.La!=b&&(this.La=b,this.j6=!0,this.le());this.hF!=k&&(this.hF=k,this.i6=!0,this.le())};a.prototype.Qg=function(){this.j6&&
(this.j6=!1,this.TY());if(this.zT||this.i6){this.i6=this.zT=!1;this.Cc=Math.max(1,Math.ceil(Math.sqrt(this.oV*this.oV+this.nV*this.nV))/(m.fe()==m.Hi?1024:4096));var k=this.ol/this.Cc,b=this.wa.getX()*k,g=this.wa.getY()*k,d=Math.max(b,k*this.oV-b);k=Math.max(g,k*this.nV-g);d=2*Math.ceil(Math.sqrt(d*d+k*k));var c=this.hF*Math.PI/180;k=Math.cos(c);c=Math.sin(c);b=b-this.Zr*d-(.5-this.Zr)*d*k+(.5-this.$r)*d*c;g=g-this.$r*d-(.5-this.$r)*d*k-(.5-this.Zr)*d*c;this.zT=!1;this.Hl(b,g);this.tN(d,d);this.uW(this.hF)}h.prototype.Qg.call(this)};
a.prototype.lg=function(){var k=this.wa.HKa,b=this.wa.eNa;if(0<b||0<k){var g=this.ol*this.oV,d=this.ol*this.nV;g=Math.ceil(Math.sqrt(g*g+d*d))*this.wa.tD()/this.Cc;d=Math.round(.5*this.ia);var c=Math.round(.5*this.ua),f=this.La*Math.PI/180,l=.5*-f;f=l+f;0<b&&(this.xa.fillStyle=this.wa.dNa,this.xa.globalAlpha=b,this.xa.rect(0,0,this.ia,this.ua),this.xa.fill(),this.xa.globalCompositeOperation="destination-out",this.xa.fillStyle="#FFFFFF",this.xa.globalAlpha=1,this.xa.beginPath(),this.xa.moveTo(d,c),
this.xa.arc(d,c,g,l,f,!1),this.xa.lineTo(d,c),this.xa.closePath(),this.xa.fill(),this.xa.globalCompositeOperation="source-over");0<k&&(this.xa.fillStyle=this.wa.GKa,this.xa.globalAlpha=k,this.xa.beginPath(),this.xa.moveTo(d,c),this.xa.arc(d,c,g,l,f,!1),this.xa.lineTo(d,c),this.xa.closePath(),this.xa.fill())}h.prototype.lg.call(this)};return a});
define("j","require lo hw Q ll mB".split(" "),function(a){var e=a("lo"),h=a("hw"),m=a("Q"),k=a("ll"),b=a("mB");a=e.extend(m,function(g,d){m.call(this,g,d);this.dra(this.wa.Bqa?0:2);this.Wb=k.sf(this.wa.wi());this.fW=new b(this.Wb,this.Wb.width,this.Wb.height);this.fW.Fz(this.wa.Df);this.fW.OI(this.wa.Ol);this.fW.HI(this.wa.kl);this.uL=0;this.ol=1;this.T6=!0});a.prototype.c_=function(g,d){if(this.uL!=g||this.ol!=d)this.uL=g,this.ol=d,this.T6=!0,this.le()};a.prototype.Qg=function(){if(this.T6){this.T6=
!1;var g=this.wa.getX(),d=this.wa.getY(),c=this.wa.rd(),f=this.wa.ee(),l=this.wa.Hu,p=this.wa.Iu;if(this.wa.Bqa)this.uW(0),this.Hl((g-l)*this.ol,(d-p)*this.ol),this.tN(c*this.ol,f*this.ol);else{c*=h.Oj;f*=h.Oj;l*=h.Oj;p*=h.Oj;var q=Math.cos(-this.uL*Math.PI/180),n=Math.sin(-this.uL*Math.PI/180);g=g*this.ol-this.Zr*c-(l-this.Zr*c)*q+(p-this.$r*f)*n;d=d*this.ol-this.$r*f-(p-this.$r*f)*q-(l-this.Zr*c)*n;this.uW(-this.uL);this.Hl(g,d);this.tN(c,f)}}m.prototype.Qg.call(this)};a.prototype.lg=function(){this.fW.VH(this.xa,
this.O.width,this.O.height);m.prototype.lg.call(this)};return a});
define("ig","require lo md ll dk jP iA j mH".split(" "),function(a){var e=a("lo"),h=a("md"),m=a("ll"),k=a("dk"),b=a("jP"),g=a("iA"),d=a("j"),c=a("mH");a=e.extend(c,function(f,l){c.call(this,f,l,f.Zn);this.Gb=this.wa.rd();this.Tb=this.wa.ee();this.Df=this.wa.Df;this.LS=this.wa.E4;this.Ad=this.td=100;this.b3=!0;this.Ka=this.Ha=.5;this.bd=0;this.ib=1;this.PM=!0;this.mf=1;this.Wb=m.sf(this.wa.wi())});a.prototype.n3=function(f){if(f.getType()!=k.yga)throw"Invalid item type";switch(f.gNa){case b.uga:f=
new g(f,this);break;case b.wga:f=new d(f,this);break;default:f=null}f&&f.c_(this.bd,this.mf*this.ib);return f};a.prototype.getX=function(){return this.Ha};a.prototype.getY=function(){return this.Ka};a.prototype.aI=function(){return this.bd};a.prototype.Gq=function(){return this.ib};a.prototype.Xa=function(){return Math.round(this.Gb*this.ib*this.mf)};a.prototype.xb=function(){return Math.round(this.Tb*this.ib*this.mf)};a.prototype.ND=function(f,l){if(this.td!=f||this.Ad!=l)this.td=f,this.Ad=l,this.b3=
!0,this.le()};a.prototype.setPosition=function(f,l,p,q){if(this.Ha!=f||this.Ka!=l||this.bd!=p||this.ib!=q)this.Ha=f,this.Ka=l,this.bd=p,this.ib=q,this.PM=!0,this.le()};a.prototype.Qg=function(){if(this.b3){this.b3=!1;switch(this.Df){case h.NONE:this.mf=1;break;case h.Xo:this.mf=this.td/this.Gb;break;case h.Tj:this.mf=this.Ad/this.Tb;break;case h.Wq:this.mf=this.Gb*this.Ad>this.Tb*this.td?this.Ad/this.Tb:this.td/this.Gb;break;default:this.mf=this.Gb*this.Ad>this.Tb*this.td?this.td/this.Gb:this.Ad/
this.Tb}this.PM=!0}if(this.PM){this.PM=!1;var f=this.Xa(),l=this.xb(),p=Math.cos(this.bd*Math.PI/180),q=Math.sin(this.bd*Math.PI/180);this.Hl(.5*this.td-this.Zr*f+(this.Zr-this.Ha)*p*f-(this.$r-this.Ka)*q*l,.5*this.Ad-this.$r*l+(this.$r-this.Ka)*p*l+(this.Zr-this.Ha)*q*f);this.uW(this.bd);this.tN(f,l);for(f=0;f<this.qc.length;f++)this.qc[f].c_(this.bd,this.mf*this.ib)}c.prototype.Qg.call(this)};a.prototype.lg=function(){var f=Math.round(this.ia),l=Math.round(this.ua);this.LS?(this.xa.save(),this.xa.translate(f,
0),this.xa.scale(-1,1),this.xa.drawImage(this.Wb,0,0,f,l),this.xa.restore()):this.xa.drawImage(this.Wb,0,0,f,l);c.prototype.lg.call(this)};return a});
define("gS","require eg lo dk mH ig".split(" "),function(a){a("eg");var e=a("lo"),h=a("dk"),m=a("mH"),k=a("ig");a=e.extend(m,function(){m.call(this,null,null);this.O2=!0});a.prototype.Ac=function(){return this.na};a.prototype.render=function(){this.Va();this.v_()};a.prototype.pVa=function(){for(var b=1,g=0;g<this.qc.length;g++){var d=this.qc[g];d=d.Xa()*d.xb();b<d&&(b=d)}return b};a.prototype.n3=function(b){if(b.getType()!=h.xga)throw"Invalid item type";b=new k(b,this);b.ND(this.ia,this.ua);b.setPosition(.5,
.5,0,1);return b};a.prototype.setSize=function(b,g){this.tN(b,g);this.O2=!0;this.le()};a.prototype.Qg=function(){if(this.O2){this.O2=!1;for(var b=0;b<this.qc.length;b++)this.qc[b].ND(this.ia,this.ua)}m.prototype.Qg.call(this)};return a});
define("nt",["require"],function(){var a=Math.PI/180,e=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},pva:function(h,m,k){m*=a;h=-h*a;var b=k*a;k=Math.cos(h/2);h=Math.sin(h/2);var g=Math.cos(b/2);b=Math.sin(b/2);var d=Math.cos(m/2);m=Math.sin(m/2);var c={};c.w=k*g*d-h*b*m;c.x=k*g*m+h*b*d;c.y=h*g*d+k*b*m;c.z=k*b*d-h*g*m;return c},Cea:function(h){var m=h.x*h.y+h.z*h.w,k={};if(.499<m)k.Sa=-2*Math.atan2(h.x,h.w),k.bf=-Math.PI/2,k.pitch=0;else if(-.499>m)k.Sa=2*Math.atan2(h.x,h.w),k.bf=
Math.PI/2,k.pitch=0;else{var b=h.x*h.x,g=h.z*h.z;k.Sa=-Math.atan2(2*h.y*h.w-2*h.x*h.z,1-2*h.y*h.y-2*g);k.bf=-Math.asin(2*m);k.pitch=Math.atan2(2*h.x*h.w-2*h.y*h.z,1-2*b-2*g);k.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,k.pitch))}k.Sa*=e;k.pitch*=e;k.bf*=-e;return k},Sa:function(h){var m=h.x*h.y+h.z*h.w;return.499<m?-2*Math.atan2(h.x,h.w)*e:-.499>m?2*Math.atan2(h.x,h.w)*e:-Math.atan2(2*h.y*h.w-2*h.x*h.z,1-2*h.y*h.y-2*h.z*h.z)*e}}});
define("nG",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(e,h){this.x=e||0;this.y=h||0};a.Vector2.prototype={constructor:a.Vector2,set:function(e,h){this.x=e;this.y=h;return this},copy:function(e){this.x=e.x;this.y=e.y;return this},subVectors:function(e,h){this.x=e.x-h.x;this.y=e.y-h.y;return this}};a.Vector3=function(e,h,m){this.x=e||0;this.y=h||0;this.z=m||0};a.Vector3.prototype={constructor:a.Vector3,set:function(e,h,m){this.x=e;this.y=h;this.z=
m;return this},copy:function(e){this.x=e.x;this.y=e.y;this.z=e.z;return this},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var e=this.length();0!==e?this.multiplyScalar(1/e):this.z=this.y=this.x=0;return this},multiplyScalar:function(e){this.x*=e;this.y*=e;this.z*=e},applyQuaternion:function(e){var h=this.x,m=this.y,k=this.z,b=e.x,g=e.y,d=e.z;e=e.w;var c=e*h+g*k-d*m,f=e*m+d*h-b*k,l=e*k+b*m-g*h;h=-b*h-g*m-d*k;this.x=c*e+h*-b+f*-d-l*-g;this.y=f*
e+h*-g+l*-b-c*-d;this.z=l*e+h*-d+c*-g-f*-b;return this},dot:function(e){return this.x*e.x+this.y*e.y+this.z*e.z},crossVectors:function(e,h){var m=e.x,k=e.y;e=e.z;var b=h.x,g=h.y;h=h.z;this.x=k*h-e*g;this.y=e*b-m*h;this.z=m*g-k*b;return this}};a.Quaternion=function(e,h,m,k){this.x=e||0;this.y=h||0;this.z=m||0;this.w=void 0!==k?k:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(e,h,m,k){this.x=e;this.y=h;this.z=m;this.w=k;return this},copy:function(e){this.x=e.x;this.y=e.y;this.z=e.z;
this.w=e.w;return this},Dza:function(e,h,m){var k=Math.cos(e/2),b=Math.cos(h/2),g=Math.cos(m/2);e=Math.sin(e/2);h=Math.sin(h/2);m=Math.sin(m/2);this.x=e*b*g+k*h*m;this.y=k*h*g-e*b*m;this.z=k*b*m-e*h*g;this.w=k*b*g+e*h*m;return this},setFromAxisAngle:function(e,h){h/=2;var m=Math.sin(h);this.x=e.x*m;this.y=e.y*m;this.z=e.z*m;this.w=Math.cos(h);return this},multiply:function(e){return this.multiplyQuaternions(this,e)},multiplyQuaternions:function(e,h){var m=e.x,k=e.y,b=e.z;e=e.w;var g=h.x,d=h.y,c=h.z;
h=h.w;this.x=m*h+e*g+k*c-b*d;this.y=k*h+e*d+b*g-m*c;this.z=b*h+e*c+m*d-k*g;this.w=e*h-m*g-k*d-b*c;return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=-1;this.normalize();return this},normalize:function(){var e=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===e?(this.z=this.y=this.x=0,this.w=1):(e=1/e,this.x*=e,this.y*=e,this.z*=e,this.w*=e);return this},slerp:function(e,h){if(0===h)return this;if(1===h)return this.copy(e);var m=this.x,k=this.y,b=this.z,g=this.w,d=g*
e.w+m*e.x+k*e.y+b*e.z;0>d?(this.w=-e.w,this.x=-e.x,this.y=-e.y,this.z=-e.z,d=-d):this.copy(e);if(1<=d)return this.w=g,this.x=m,this.y=k,this.z=b,this;e=Math.acos(d);var c=Math.sqrt(1-d*d);if(.001>Math.abs(c))return this.w=.5*(g+this.w),this.x=.5*(m+this.x),this.y=.5*(k+this.y),this.z=.5*(b+this.z),this;d=Math.sin((1-h)*e)/c;h=Math.sin(h*e)/c;this.w=g*d+this.w*h;this.x=m*d+this.x*h;this.y=k*d+this.y*h;this.z=b*d+this.z*h;return this},setFromUnitVectors:function(){var e,h;return function(m,k){void 0===
e&&(e=new a.Vector3);h=m.dot(k)+1;1E-6>h?(h=0,Math.abs(m.x)>Math.abs(m.z)?e.set(-m.y,m.x,0):e.set(0,-m.z,m.y)):e.crossVectors(m,k);this.x=e.x;this.y=e.y;this.z=e.z;this.w=h;this.normalize();return this}}()};return a});
define("fo",["require","oH","cy","gi","nG"],function(a){function e(){f||(f=!0,n=new c.Vector3(0,0,1),r=new c.Quaternion,t=new c.Quaternion(-Math.sqrt(.5),0,0,Math.sqrt(.5)),u=new c.Quaternion,m(),window.addEventListener("orientationchange",m,!1),window.addEventListener("deviceorientation",k,!1),h())}function h(){if(v&&void 0!==p&&void 0!==q){v=!1;var y=c.degToRad*q;u.Dza(c.degToRad*p.beta,c.degToRad*p.alpha,-(c.degToRad*p.gamma));u.multiply(t);u.multiply(r.setFromAxisAngle(n,-y));w||(x++,5<=x&&(w=
!0,l.trigger(new g(b.Vc))));l.trigger(new g(b.pa))}}function m(){q=window.orientation||0;v=!0;h()}function k(y){p=y;v=!0;h()}var b=a("oH"),g=a("cy"),d=a("gi"),c=a("nG"),f=!1,l=new d,p,q,n,r,t,u,v,w=!1,x=0;e.prototype.Fq=function(){h();return u};e.prototype.bind=function(){l.bind.apply(l,arguments)};e.prototype.unbind=function(){l.unbind.apply(l,arguments)};e.prototype.stop=function(){window.removeEventListener("orientationchange",m,!1);window.removeEventListener("deviceorientation",k,!1)};return e});
define("iP","require oH cy gi v nG".split(" "),function(a){function e(q){this.KWa=q;this.Cba=new k;this.gY=new k;this.nda=new k;this.mD=new f.Quaternion;this.mda=new f.Quaternion;this.Vta=new f.Quaternion;this.Rwa=!1;this.kY=new f.Vector3;this.Mca=new f.Vector3;this.LVa=new f.Quaternion}function h(){this.deviceId="webvr-polyfill:fused";this.zxa=!1;this.yxa=0;this.EO=new f.Vector3;this.OY=new f.Vector3;this.filter=new e(.98);this.IXa=new m(.04);this.qI=p.qI();this.kn=p.kn();p.Uba();this.Dca=p.uWa();
this.mY=new f.Quaternion;p.kn()?this.mY.setFromAxisAngle(new f.Vector3(1,0,0),Math.PI/2):this.mY.setFromAxisAngle(new f.Vector3(1,0,0),-Math.PI/2);this.YY=new f.Quaternion;this.WI=new f.Quaternion;this.sya=new f.Quaternion;this.sya.setFromAxisAngle(new f.Vector3(0,0,1),-window.orientation*Math.PI/180);this.Sza();p.Owa()&&this.mY.multiply(this.YY);this.Us=new f.Quaternion;this.qI=p.qI();this.kn=p.kn();this.tWa=66<=p.Uba();this.ED=this.ED.bind(this);this.GP=this.GP.bind(this);this.FP=this.FP.bind(this);
screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",this.ED):window.addEventListener("orientationchange",this.ED);this.Dca?window.addEventListener("deviceorientation",this.GP):window.addEventListener("devicemotion",this.FP)}function m(q){this.JXa=q;this.QZ=new f.Quaternion;this.CI=null;this.Oua=new f.Quaternion;this.IP=new f.Quaternion}function k(q,n){this.set(q,n)}var b=a("oH"),g=a("cy"),d=a("gi"),c=a("v"),f=a("nG"),l=new d;e.prototype.tTa=
function(q,n){this.Cba.set(q,n)};e.prototype.yTa=function(q,n){this.gY.set(q,n);p.HWa(n-this.nda.t_)&&this.kYa();this.nda.copy(this.gY)};e.prototype.kYa=function(){if(this.Rwa){var q=this.MVa(this.gY.sample,this.gY.t_-this.nda.t_);this.LVa.multiply(q);this.mD.copy(this.mda);this.mD.multiply(q);q=new f.Quaternion;q.copy(this.mD);q.inverse();this.kY.set(0,0,-1);this.kY.applyQuaternion(q);this.kY.normalize();this.Mca.copy(this.Cba.sample);this.Mca.normalize();q=new f.Quaternion;q.setFromUnitVectors(this.kY,
this.Mca);q.inverse();var n=new f.Quaternion;n.copy(this.mD);n.multiply(q);this.mD.slerp(n,1-this.KWa);this.mda.copy(this.mD)}else this.Vta=this.sTa(this.Cba.sample),this.mda.copy(this.Vta),this.Rwa=!0};e.prototype.Fq=function(){return this.mD};e.prototype.sTa=function(q){var n=new f.Vector3;n.copy(q);n.normalize();q=new f.Quaternion;q.setFromUnitVectors(new f.Vector3(0,0,-1),n);q.inverse();return q};e.prototype.MVa=function(q,n){var r=new f.Quaternion,t=new f.Vector3;t.copy(q);t.normalize();r.setFromAxisAngle(t,
q.length()*n);return r};h.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",this.ED);window.removeEventListener("orientationchange",this.ED);window.removeEventListener("deviceorientation",this.GP);window.removeEventListener("devicemotion",this.FP)};h.prototype.Qk=function(){return null};h.prototype.Fq=function(){var q=void 0;if(this.Dca&&this.rS){this.Qua=this.Qua||function(){var r=(new f.Quaternion).setFromAxisAngle(new f.Vector3(0,
0,-1),0),t=new f.Quaternion;"landscape-secondary"==this.jW?t.setFromAxisAngle(new f.Vector3(0,1,0),Math.PI/-2):t.setFromAxisAngle(new f.Vector3(0,1,0),Math.PI/2);return r.multiply(t)}();this.Pua=this.Pua||function(){var r=new f.Quaternion;r.setFromAxisAngle(new f.Vector3(1,0,0),-Math.PI/2);return r}();q=this.rS;var n=new f.Quaternion;n.copy(q);n.multiply(this.Pua);n.multiply(this.Us);n.multiply(this.WI);n.multiplyQuaternions(this.Qua,n);this.G1a&&(n.x=0,n.z=0,n.normalize());this.KZ[0]=n.x;this.KZ[1]=
n.y;this.KZ[2]=n.z;this.KZ[3]=n.w;return this.KZ}q=this.filter.Fq();q=this.IXa.yVa(q,this.OY,this.CI);n=new f.Quaternion;n.copy(this.mY);n.multiply(this.Us);n.multiply(q);n.multiply(this.WI);return n};h.prototype.resetPose=function(){this.Us.copy(this.filter.Fq());this.Us.x=0;this.Us.y=0;this.Us.z*=-1;this.Us.normalize();p.Owa()&&this.Us.multiply(this.YY);this.Us.multiply(this.sya)};h.prototype.GP=function(q){this.rS=this.rS||new f.Quaternion;var n=q.alpha,r=q.beta;q=q.gamma;n=(n||0)*Math.PI/180;
r=(r||0)*Math.PI/180;q=(q||0)*Math.PI/180;this.rS.Dza(r,n,-q)};h.prototype.FP=function(q){var n=q.rotationRate;if(n){var r=q.accelerationIncludingGravity;q=q.timeStamp/1E3;this.qI&&(q/=1E3);var t=q-this.CI;t<=p.yfa||t>p.vfa?this.CI=q:(this.EO.set(-r.x,-r.y,-r.z),this.OY.set(n.alpha,n.beta,n.gamma),(this.kn||this.qI||this.tWa)&&this.OY.multiplyScalar(Math.PI/180),this.filter.tTa(this.EO,q),this.filter.yTa(this.OY,q),this.CI=q,this.zxa||(this.yxa++,5<=this.yxa&&(this.zxa=!0,l.trigger(new g(b.Vc)))),
this.jW!=this.tva()&&this.ED(),l.trigger(new g(b.pa)))}else this.Dca=!0,window.addEventListener("deviceorientation",this.GP),window.removeEventListener("devicemotion",this.FP)};h.prototype.bind=function(){l.bind.apply(l,arguments)};h.prototype.unbind=function(){l.unbind.apply(l,arguments)};h.prototype.ED=function(){this.Sza();l.trigger(new g(b.pa))};h.prototype.Sza=function(){this.WI.set(0,0,0,1);this.jW=this.tva();switch(this.jW){case "landscape-primary":this.WI.setFromAxisAngle(new f.Vector3(0,
0,1),-Math.PI/2);break;case "landscape-secondary":this.WI.setFromAxisAngle(new f.Vector3(0,0,1),Math.PI/2)}this.YY.copy(this.WI);this.YY.inverse()};h.prototype.tva=function(){var q=screen.orientation&&screen.orientation.type;if(!q)switch(window.orientation){case 0:q="portrait-primary";break;case 90:q="landscape-primary";break;case -90:q="landscape-secondary";break;case 180:q="portrait-secondary"}"landscape-primary"==q&&(4.9<this.EO.z||-4.9>this.EO.z?q=this.jW||q:0<this.EO.x&&(q="landscape-secondary"));
return q};m.prototype.yVa=function(q,n,r){if(!this.CI)return this.QZ.copy(q),this.CI=r,q;r=new f.Vector3;r.copy(n);r.normalize();n=n.length();if(n<20*f.degToRad)return this.IP.copy(q),this.QZ.copy(q),this.IP;this.Oua.setFromAxisAngle(r,n*this.JXa);this.IP.copy(this.QZ);this.IP.multiply(this.Oua);this.QZ.copy(q);return this.IP};k.prototype.set=function(q,n){this.sample=q;this.t_=n};k.prototype.copy=function(q){this.set(q.sample,q.t_)};var p={yfa:.001,vfa:1,HWa:function(q){return isNaN(q)||q<=p.yfa||
q>p.vfa?!1:!0}};p.kn=function(){var q=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return q}}();p.t1a=function(){var q=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return q}}();p.qI=function(){var q=-1!==navigator.userAgent.indexOf("Firefox")&&-1!==navigator.userAgent.indexOf("Android");return function(){return q}}();p.Uba=function(){var q=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),n=q?parseInt(q[1],10):null;return function(){return n}}();p.uWa=
function(){var q=!1;if(65===p.Uba()){var n=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(n){n=n[1].split(".");var r=n[3];q=3325===parseInt(n[2],10)&&148>parseInt(r,10)}}else"getVRDisplays"in navigator&&c.browser()==c.Uk&&c.YO()&&c.hd()==c.HQ&&(q=!0);return function(){return q}}();p.Owa=function(){return 90==window.orientation||-90==window.orientation};return h});
define("hF","require lo oH cy gi nt v fo iP mj".split(" "),function(a){function e(){function w(){q=!0;l.trigger(new m(h.pa))}function x(){var H;!C||!y&&B?B&&(H=A):H=z;n!=H&&(n&&(n.unbind(h.pa,w),n.stop()),n=H)&&(n.bind(h.pa,w,this,!0),w())}var y=g.fe()==g.Hi||f.cj("debug")&&"deviceorientation"==f.getQueryParameter("sensor"),A=new c,B=!1;A.bind(h.Vc,function(){B=!0;x()},this,!0);var z=new d,C=!1;z.bind(h.Vc,function(){C=!0;x()},this,!0)}a("lo");var h=a("oH"),m=a("cy"),k=a("gi"),b=a("nt"),g=a("v"),
d=a("fo"),c=a("iP"),f=a("mj"),l=new k,p={},q=!1,n,r=[],t=!1,u=!1;p.sda=function(w){w&&r.push(w);if(!p.disabled)for(;r.length;)r.pop()();else if(g.fe()==g.Hi&&window.DeviceMotionEvent&&DeviceMotionEvent.requestPermission){DeviceOrientationEvent.requestPermission().then(function(y){"granted"===y&&(u=!0,x())})["catch"](function(){});DeviceMotionEvent.requestPermission().then(function(y){"granted"===y&&(t=!0,x())})["catch"](function(){});var x=function(){if(p.disabled&&t&&u)for(p.disabled=!1,e();r.length;)r.pop()()};
x()}};p.bind=function(w,x){l.bind(h.pa,w,x)};p.unbind=function(w,x){l.unbind(h.pa,w,x)};p.wXa=function(){return q};p.Fq=function(){q=!1;if(n){var w=n.Fq();w=b.Cea(w);return{yaw:w.Sa,pitch:w.pitch,roll:w.bf}}return{yaw:0,pitch:0,roll:0}};if(g.fe()==g.u1||g.fe()==g.tfa)p.zg=!1,p.disabled=!1;else if(g.fe()==g.aE&&g.browser()==g.Uk&&"https:"!=window.location.protocol&&"localhost"!=window.location.hostname)p.zg=!0,p.disabled=!0;else if(g.fe()==g.Hi)if(p.zg=!0,p.disabled=!0,window.DeviceMotionEvent&&DeviceMotionEvent.requestPermission)p.sda();
else{var v=function(){window.removeEventListener("deviceorientation",v,!1);p.disabled=!1;e()};window.addEventListener("deviceorientation",v,!1)}else p.zg=void 0!=window.DeviceMotionEvent,p.disabled=!1;p.zg&&!p.disabled&&e();return p});define("mD",["require"],function(){return{E0a:"single",FRONT:"front",Pa:"left",BACK:"back",hb:"right",uc:"top",pc:"bottom"}});
define("gU",["require","mD"],function(a){a=a("mD");var e={},h=Math.PI/180,m=new THREE.Matrix4;new THREE.Matrix4;var k=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];e.If=Math.pow(10,3);e.Q_=.5*e.If;e.zCa=e.If;e.oga=[a.FRONT,a.hb,a.BACK,a.Pa,a.uc,a.pc];e.Kua=function(b,g){for(var d=e.If,c=e.Q_,f=b*g,l=this.Wt(),p=[],q=0,n=6*f;q<n;q++)p.push(q);q=[];var r=f;q.push(this.DE(l,b,g,-c,+c,-c,+d,0,-d,0,p.slice(0,r)));n=r;r+=f;q.push(this.DE(l,
b,g,+c,+c,-c,0,+d,-d,0,p.slice(n,r)));n=r;r+=f;q.push(this.DE(l,b,g,+c,+c,+c,-d,0,-d,0,p.slice(n,r)));n=r;r+=f;q.push(this.DE(l,b,g,-c,+c,+c,0,-d,-d,0,p.slice(n,r)));n=r;r+=f;q.push(this.DE(l,b,g,-c,+c,+c,+d,0,0,-d,p.slice(n,r)));q.push(this.DE(l,b,g,-c,-c,-c,+d,0,0,+d,p.slice(r,r+f)));l.mergeVertices();l.computeFaceNormals();l.userData.type="cube";l.userData.ywa=b;l.userData.VAa=g;l.userData.EXa=q;return e.TN(l)};e.RH=function(){var b=this.Wt();this.yha(b,-.5,.5,0,1,0,0,0,-1,0,0);b.mergeVertices();
b.computeFaceNormals();b.userData.type="plane";return e.TN(b)};e.Jua=function(b,g,d,c,f,l,p,q,n,r,t,u){var v=this.Wt();v.vertices.push(new THREE.Vector3(b,g,d));v.vertices.push(new THREE.Vector3(c,f,l));v.vertices.push(new THREE.Vector3(p,q,n));v.vertices.push(new THREE.Vector3(r,t,u));v.faces.push(new THREE.Face3(0,2,1,null,null,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)]);v.faces.push(new THREE.Face3(0,3,2,null,null,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,
1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);v.mergeVertices();v.computeFaceNormals();v.userData.type="quad";return e.TN(v)};e.Rza=function(b,g,d,c,f){b=e.D$(b);var l=b.faceVertexUvs[0][0];l[0].x=g;l[0].y=d+f;l[1].x=g;l[1].y=d;l[2].x=g+c;l[2].y=d;l=b.faceVertexUvs[0][1];l[0].x=g;l[0].y=d+f;l[1].x=g+c;l[1].y=d;l[2].x=g+c;l[2].y=d+f;b.uvsNeedUpdate=!0;return e.TN(b,!0)};e.Mv=function(){return e.Q_};e.fca=function(b,g){return 2*b*Math.tan(.5*g*h)};e.gca=function(b,g){return 2*b*Math.tan(.5*g*h)};
e.qD=function(b){return Math.max(Math.min(3.539647*b-6.669366*b*b+4.7454*b*b*b,e.Q_),.1)};e.Wt=function(){var b=new THREE.Geometry;b.userData={};return b};e.dispose=function(b){b&&(b.isBufferGeometry&&b.userData&&b.userData.geometry&&b.userData.geometry.dispose(),b.isGeometry&&b.userData&&b.userData.MH&&b.userData.MH.dispose(),b.dispose())};e.TN=function(b,g){if(b.isBufferGeometry)return b;if(b.isGeometry){if(!b.userData.MH||g)b.userData.MH&&b.userData.MH.dispose(),g=b.toBufferGeometry(),(g.userData=
{}).geometry=b,b.userData.MH=g;return b.userData.MH}return null};e.D$=function(b){return b.isGeometry?b:b.isBufferGeometry&&b.userData&&b.userData.geometry?b.userData.geometry:null};e.DE=function(b,g,d,c,f,l,p,q,n,r,t){for(var u={},v=0,w=0;w<d;w++){u[w]={};for(var x=0;x<g;x++)this.yha(b,c+p*x/g+0*w/d,f+0*x/g+n*w/d,l+q*x/g+r*w/d,p/g,0/g,q/g,0/d,n/d,r/d,t[v]),u[w][x]=b.faces.slice(b.faces.length-2,b.faces.length),v+=1}return u};e.m1a=function(b,g,d){g=.5*g/Math.tan(.5*d);m.copy(b);b=k[0];b.x=0;b.y=
0;b.z=0;b.applyMatrix4(m);d=Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z);var c=g/b.z,f=k[1];f.x=b.x*c;f.y=b.y*c;f.z=g;return d/Math.sqrt(f.x*f.x+f.y*f.y+f.z*f.z)};e.nVa=function(b,g,d){b=e.D$(b);m.copy(g.matrixWorldInverse).multiply(d);switch(b.userData.type){case "cube":return e.VJa(b,m,g.projectionMatrix);default:return e.WJa(b)}};e.jVa=function(b,g,d){b=e.D$(b);switch(b.userData.type){case "plane":return e.yJa(b,g,d);case "quad":return e.Nka(b,1,g,d)||e.Nka(b,0,g,d);default:return null}};e.yha=function(b,
g,d,c,f,l,p,q,n,r,t){var u=b.vertices.length;b.vertices.push(new THREE.Vector3(g,d,c));b.vertices.push(new THREE.Vector3(g+q,d+n,c+r));b.vertices.push(new THREE.Vector3(g+f+q,d+l+n,c+p+r));b.vertices.push(new THREE.Vector3(g+f,d+l,c+p));b.faces.push(new THREE.Face3(u,u+1,u+2,null,null,t));b.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);b.faces.push(new THREE.Face3(u,u+2,u+3,null,null,t));b.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,
0),new THREE.Vector2(1,1)])};e.yJa=function(b,g,d){var c=b.faces[0],f=b.faces[1],l=k[0],p=k[1],q=k[2];l.copy(b.vertices[c.a]).applyMatrix4(g);p.copy(b.vertices[f.c]).applyMatrix4(g);q.copy(b.vertices[c.b]).applyMatrix4(g);g=p.x-l.x;f=p.y-l.y;var n=p.z-l.z;p=q.x-l.x;var r=q.y-l.y;q=q.z-l.z;var t=f*q-n*r,u=n*p-g*q,v=g*r-f*p,w=d.direction.x*t+d.direction.y*u+d.direction.z*v;if(0!=w&&(v=-(t*(d.origin.x-l.x)+u*(d.origin.y-l.y)+v*(d.origin.z-l.z))/w,!(0>=v||(t=d.origin.x+d.direction.x*v-l.x,u=d.origin.y+
d.direction.y*v-l.y,l=d.origin.z+d.direction.z*v-l.z,d=(g*t+f*u+n*l)/(g*g+f*f+n*n),l=(p*t+r*u+q*l)/(p*p+r*r+q*q),g=b.faceVertexUvs[0][0][0],f=b.faceVertexUvs[0][1][2],b=b.faceVertexUvs[0][0][1],0>d||1<d||0>l||1<l))))return{HAa:g.x+(f.x-g.x)*d+(b.x-g.x)*l,TAa:g.y+(f.y-g.y)*d+(b.y-g.y)*l,materialIndex:c.materialIndex}};e.Nka=function(b,g,d,c){var f=b.faces[g],l=k[0],p=k[1],q=k[2];l.copy(b.vertices[f.a]).applyMatrix4(d);p.copy(b.vertices[f.b]).applyMatrix4(d);q.copy(b.vertices[f.c]).applyMatrix4(d);
d=p.x-l.x;var n=p.y-l.y,r=p.z-l.z;p=q.x-l.x;var t=q.y-l.y;q=q.z-l.z;var u=n*q-r*t,v=r*p-d*q,w=d*t-n*p,x=c.direction.x*u+c.direction.y*v+c.direction.z*w;if(0!=x&&(w=-(u*(c.origin.x-l.x)+v*(c.origin.y-l.y)+w*(c.origin.z-l.z))/x,!(0>=w))){u=c.origin.x+c.direction.x*w-l.x;v=c.origin.y+c.direction.y*w-l.y;c=c.origin.z+c.direction.z*w-l.z;if(0!=(l=t*d-p*n))d=(v*d-u*n)/l,n=(v*p-u*t)/-l;else if(0!=(l=q*d-p*r))d=(v*d-u*n)/l,n=(v*p-u*t)/-l;else if(0!=(l=q*n-t*r))d=(c*n-v*r)/l,n=(c*t-v*q)/-l;else return;if(!(0>
n||1<n||0>d||1<d||1<n+d))return p=b.faceVertexUvs[0][g][0],t=b.faceVertexUvs[0][g][1],b=b.faceVertexUvs[0][g][2],{HAa:p.x+(t.x-p.x)*n+(b.x-p.x)*d,TAa:p.y+(t.y-p.y)*n+(b.y-p.y)*d,materialIndex:f.materialIndex}}};e.VJa=function(b,g,d){var c=Array.prototype.concat.apply([],b.userData.EXa.map(function(f){return e.ela(g,d,f,b.vertices,0,0,b.userData.ywa,b.userData.VAa).map(function(l){return l.materialIndex})}));return e.ola(c)};e.WJa=function(b){b=b.faces.map(function(g){return g.materialIndex});return e.ola(b)};
e.ola=function(b){var g={};b.forEach(function(c){g[c]=!0});b=[];for(var d in g)b.push(d);return b};e.ela=function(b,g,d,c,f,l,p,q){var n=[];if(e.ZQa(b,g,c[d[l][f][0].a],c[d[l+q-1][f][0].b],c[d[l+q-1][f+p-1][0].c],c[d[l][f+p-1][1].c]))if(1==p&&1==q)n.push(d[l][f][0]);else for(l=1<q?[l,l+Math.ceil(.5*q),l+q]:[l,l+q],f=1<p?[f,f+Math.ceil(.5*p),f+p]:[f,f+p],p=1;p<l.length;p++){q=l[p-1];for(var r=l[p]-q,t=1;t<f.length;t++){var u=f[t-1];n=n.concat(e.ela(b,g,d,c,u,q,f[t]-u,r))}}return n};e.ZQa=function(b,
g,d,c,f,l){var p=[null,null,null,null,null];k[0].copy(d).applyMatrix4(b);k[1].copy(c).applyMatrix4(b);k[2].copy(f).applyMatrix4(b);k[3].copy(l).applyMatrix4(b);d=0;c=4;for(b=0;4>b;b++){f=k[(b+3)%4];l=k[b];var q=k[(b+1)%4];if(0>=l.z)p[d++]=l;else{if(0>=f.z){var n=k[c++],r=f.z/(f.z-l.z);n.x=f.x+(l.x-f.x)*r;n.y=f.y+(l.y-f.y)*r;n.z=-1E-5;p[d++]=n}0>=q.z&&(n=k[c++],r=l.z/(l.z-q.z),n.x=l.x+(q.x-l.x)*r,n.y=l.y+(q.y-l.y)*r,n.z=-1E-5,p[d++]=n)}}if(2<d){for(b=0;b<d;b++)p[b].applyMatrix4(g);b=0;for(g=d-2;b<
g;b++)if(d=p[b],c=p[b+1],f=p[b+2],!(1<d.x&&1<c.x&&1<f.x||-1>d.x&&-1>c.x&&-1>f.x||1<d.y&&1<c.y&&1<f.y||-1>d.y&&-1>c.y&&-1>f.y))return!0}return!1};e.Lua=function(b,g,d,c,f,l,p,q,n){var r=b*h,t=.5*-r+.5*Math.PI,u=g*h,v=.5*(Math.PI-u)-d*h,w=.5*e.zCa,x=64/Math.PI,y=Math.max(2,Math.ceil(r/c*x));x=Math.max(2,Math.ceil(u/f*x));for(var A=c*y,B=f*x,z=this.Wt(),C=0,H=[],D=0;D<=B;D++){for(var I=[],F=v+D*u/B,N=0;N<=A;N++){var S=-(t+N*r/A);z.vertices.push(new THREE.Vector3(-w*Math.cos(S)*Math.sin(F),+w*Math.cos(F),
+w*Math.sin(S)*Math.sin(F)));I.push(C++)}H.push(I)}for(t=r=0;t<f;t++)for(u=t*x,v=0;v<c;v++){w=v*y;for(D=0;D<x;D++)for(A=p+(1-D/x)*n,B=p+(1-(D+1)/x)*n,N=0;N<y;N++){C=l+N/y*q;I=l+(N+1)/y*q;F=H[u+D][w+N];S=H[u+D+1][w+N+1];var Q=H[u+D][w+N+1];z.faces.push(new THREE.Face3(F,H[u+D+1][w+N],S,null,null,r));z.faceVertexUvs[0].push([new THREE.Vector2(C,A),new THREE.Vector2(C,B),new THREE.Vector2(I,B)]);z.faces.push(new THREE.Face3(F,S,Q,null,null,r));z.faceVertexUvs[0].push([new THREE.Vector2(C,A),new THREE.Vector2(I,
B),new THREE.Vector2(I,A)])}r++}z.mergeVertices();z.computeFaceNormals();z.userData.type="sphere";z.userData.Ee=b;z.userData.Sq=g;z.userData.pitch=d;z.userData.ywa=c;z.userData.VAa=f;return e.TN(z)};return e});
define("cc",["require"],function(){return{Vk:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1Cs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MqCitM0J+DvWNxNj3SQK/3LfxT0I2zLTg4jj/Ht50TC0y0TQtHoaGLfxJPhRvagQbH4F8O95/F2LsyK8ARqCW6+CcRTZB2mrIE38P/SdHkKcnVTtnrnL+3UfPS85/Gc577rbmA70gvf3syQhW+oEIXZ6Msfm+eAbo4IUHxOzkf6OKkcK4En+Fbl3Wem0SxUr3jeViH51VdqI0cXZyfLHiERiuv0RrhI+eulaGLi4uLi4uLi/8dfwG1HApczIfKrQAAAABJRU5ErkJggg==",
vCa:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAAFLCAMAAABoaV6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pO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qqqqqqqqqoKe3AgAAAAAADk/9oIqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrCHhwIAAAAAAD5vzaCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwBwcCAAAAAED+r42gqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqirswYEAAAAAAJD/ayOoqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkp7cEgAAAAAIOj/a2dYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgEv6MVrR60c73AAAAAElFTkSuQmCC",
sA:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}});
define("mZ","require jquery.mod lo oH cy gi v".split(" "),function(a){var e=a("jquery.mod"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("gi");a=a("v");if(a.hd()!=a.ZI){var g=function(r){return r.requestFullscreen||r.msRequestFullscreen||r.mozRequestFullScreen||r.webkitRequestFullscreen},d=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},c=document.createElement("div");if(!(a=!(!g(c)&&!d())))try{a=window.self===window.top}catch(r){a=
!1}if(a){var f=h.extend(b,function(r){b.call(this);this.na=r;this.Xr=g(r);this.PA=d(r);this.W=this.X4();var t=this;e(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){t.s$()});e(window).bind("resize",function(){t.s$()})});f.Mda=function(){};f.prototype.zg=function(){return!(!g(this.na||c)&&!d())};f.prototype.Nk=function(){this.enabled()||this.toggle()};f.prototype.$f=function(){this.enabled()&&this.toggle()};f.prototype.toggle=function(){this.enabled()?
this.PA.call(document):this.Xr.call(this.na);this.s$()};f.prototype.enabled=function(){return this.W&&this.X4()};f.prototype.X4=function(){return this.na===f.fullscreenElement()};f.prototype.s$=function(){var r=this.X4();this.W!=r&&(this.W=r,this.trigger(new k(m.pa)))};f.enabled=function(){return!!f.fullscreenElement()};f.fullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};f.$f=function(){f.enabled()&&
d().call(document)}}else{f=h.extend(b,function(r){b.call(this);this.na=r});var l=!0;f.Mda=function(r){l="out_of_frame"==r};f.prototype.zg=function(){return l};f.prototype.Nk=function(){this.toggle()};f.prototype.$f=function(){};f.prototype.toggle=function(){l&&window.open(window.self.location.href,"_blank")};f.prototype.enabled=function(){return f.enabled()};f.enabled=function(){return!1};f.fullscreenElement=function(){return null};f.$f=function(){}}}else{f=h.extend(b,function(r){b.call(this);this.na=
r});f.prototype.zg=function(){return!0};f.prototype.Nk=function(){this.enabled()||this.toggle()};f.prototype.$f=function(){this.enabled()&&this.toggle()};f.prototype.toggle=function(){if(this.enabled())p("fullscreen"),f.Cx=null;else{f.Cx&&f.Cx.$f();p("fullscreen");var r=q();r.push("fullscreen");n(r);f.Cx=this}this.trigger(new k(m.pa))};f.prototype.enabled=function(){return this==f.Cx};f.enabled=function(){return!!f.fullscreenElement()};f.fullscreenElement=function(){return f.Cx&&f.Cx.na};f.$f=function(){f.enabled()&&
f.Cx.$f()};f.Mda=function(){};f.Cx=null;var p=function(r){for(var t=q(),u=[],v=0;v<t.length;v++)t[v]!=r&&u.push(t[v]);n(u)},q=function(){var r=window.location.hash.substring(1);return r.length?r.split("&"):[]},n=function(r){window.location.hash="#"+(r.length?r.join("&"):"")}}return f});
define("ds",["require"],function(){var a={};a:{try{if("localStorage"in window&&(window.localStorage.setItem("test","test"),"test"==window.localStorage.getItem("test"))){var e=!0;break a}}catch(m){}e=!1}if(e)a.setItem=function(m,k){window.localStorage.setItem(m,k)},a.getItem=function(m){return window.localStorage.getItem(m)},a.removeItem=function(m){return window.localStorage.removeItem(m)},a.clear=function(){try{window.localStorage.clear()}catch(m){}};else{var h={};a.setItem=function(m,k){h[m]=k};
a.getItem=function(m){return h[m]};a.removeItem=function(m){delete h[m]};a.clear=function(){h={}}}return a});
define("iL","require jquery.mod lo oF v mj pd cc mZ ds".split(" "),function(a){function e(R,W){this.kTa=R;this.YFa=W;this.o$=[];this.jj=null;this.yN=!1}var h=a("jquery.mod"),m=a("lo"),k=a("oF"),b=a("v"),g=a("mj"),d=a("pd"),c=a("cc"),f=a("mZ"),l=a("ds"),p="color:#000; font-family:Arial, Helvetica, sans-serif;",q="",n="border-color:#b2b2b2;",r=n,t="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",u=
"vertical-align:middle; padding:0;",v='<img style="width:33vmin;" src="'+c.Vk+'"/>',w='<img style="width:24vmin;" src="'+c.Vk+'"/>',x='<img style="width:34vmin;" src="'+c.P_+'"/>',y='<img style="width:34vmin;" src="'+c.KBa+'"/>',A='<img style="width:24vmin;" src="'+c.vCa+'"/>';b.kb()?(t+=" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;",p+=" font-size:3.6vmin; line-height:4.3vmin;",q+=" margin:5vmin 0;",n+="  margin:5vmin 0;",r+="  margin:3vmin 0;",
u+=" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"):t+=" font-size:19px; padding:17px 34px;";q+=p;e.prototype.r3=function(){this.jj||(this.jj=h("<div/>"),this.jj.css({position:"fixed","z-index":d.QBa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),this.jj.html(this.YFa),h(this.jj).find("button").on("click",function(R){this.XLa(h(R.currentTarget).attr("id"))}.bind(this)))};e.prototype.D9=function(R,W){var G={},L;for(L in W)G[L]=R.css(L);
this.o$.push({$el:R,css:G});R.css(W)};e.prototype.sOa=function(){for(;this.o$.length;){var R=this.o$.pop();R.$el.css(R.css)}};e.prototype.show=function(R,W,G){R||(R=function(){});W||(W=function(){});if(this.yN){var L=this.gS;this.gS=function(){L();R()};var U=this.RR;this.RR=function(){U();W()}}else{this.r3();this.gS=R;this.RR=W;var O=this.SIa();if(void 0===O){this.yN=!0;var V=this;O=f.fullscreenElement()||document.body;O=h(O);!0!==G?O.children().each(function(){V.D9(h(this),{visibility:"hidden"})}):
(this.D9(O,{overflow:"hidden"}),O.children().each(function(){V.D9(h(this),{position:"absolute","z-index":0})}));O.append(this.jj)}else this.yN=!1,O?this.gS():this.RR()}};e.prototype.hide=function(){this.yN&&(this.yN=!1,this.jj.detach(),this.sOa())};e.prototype.SIa=function(){var R=l.getItem(this.Hka());if("true"==R)return!0;if("false"==R)return!1};e.prototype.Xqa=function(R){l.setItem(this.Hka(),R?"true":"false")};e.prototype.Hka=function(){return this.kTa+"DontDisplay:"+window.location.pathname};
e.prototype.XLa=function(R){var W=h("#tdvvriw_dontdisplay").is(":checked");this.hide();"tdvvriw_continue"==R?(this.gS(),W&&this.Xqa(!0)):"tdvvriw_cancel"==R&&(this.RR(),W&&this.Xqa(!1))};a=m.extend(e,function(){var R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+k("use-cardboard-info")+"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">'+
k("use-cardboard")+"</button></div>","</div>",'<hr style="'+n+'">',"<div>",'<div style="'+q+'">','<div style="margin-bottom:2vmin;">'+k("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+t+'" id="tdvvriw_cancel">'+k("launch-default-browser")+"</button></div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+
k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"ChromeAppInfoWindow",R)});var B=m.extend(e,function(){var R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+q+'">'+k("use-cardboard-info")+"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+n+'">',"<div>",'<div style="'+q+'">',
'<div style="margin-bottom:2vmin;">'+k("samsung-internet-vr-info")+"</div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"SamsungInternetInfoWindow",R)}),z=m.extend(e,function(){e.call(this,"SamsungInternetForGearVRInfoWindow",
['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',y,'<div style="'+q+'">This content requires access to the WebVR API.<br>To enable WebVR open the "More" menu you\'ll find above this window and then click on the "Labs" item.</div>','<div><button style="'+t+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),C=m.extend(e,function(){var R=
['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+q+'"></div>','<div style="text-align:center;"><button style="'+t+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+k("exit-vr")+"</button></div>","</div></div>"].join("\n");e.call(this,"ExternalVRDisplayVRInfoWindow",R)});C.prototype.r3=function(){e.prototype.r3.call(this);!0===g.Wh("vrv")&&
this.jj.css({background:"none"})};var H=m.extend(e,function(){var R=b.browser()==b.Xh?"https:"!=window.location.protocol?"<div>"+k("giroscope-disabled-http")+"</div>":window.DeviceMotionEvent.requestPermission?k("giroscope-disabled-safari-request-permission").map(function(W){return"<div>"+W+"</div>"}).join("\n"):k("giroscope-disabled-safari-toggle-on"):"<div>"+k("giroscope-disabled-http")+"</div>";R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
'<div style="'+q+'">',R,"</div>",'<div><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"GiroscopeDisabledInfoWindow",R)}),D=m.extend(e,function(){var R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',
v,'<div style="'+q+'">'+k("use-cardboard-info")+'</div><div><button style="'+t+'" id="tdvvriw_continue">'+k("use-cardboard")+"</button></div>","</div>",'<hr style="'+n+'">',"<div>",y,'<div style="'+q+'">It looks like this device is compatible with Gear VR. If you have a Gear VR headset you can view this content using the Carmel Web Browser (by Oculus).</div>','<div><button style="'+t+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");e.call(this,"CarmelInstallationPromptVRInfoWindow",
R)}),I=m.extend(e,function(){var R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">\n<div>',v,'<div style="'+p+' margin:2vmin 0;">'+k("cardboard-v1")+"</div>",'<div><button style="'+t+'" id="tdvvriw_cancel">'+k("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",'<div style="'+p+' margin-bottom:2vmin;">'+k("cardboard-v2")+"</div>",'<div><button style="'+
t+'" id="tdvvriw_continue">'+k("use-cardboard-v2")+"</button></div>",x,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"CardboardV2InfoWindow",R)}),F=m.extend(e,function(){var R=['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<div style="'+q+'"></div>','<div style="text-align:center;"><button style="'+t+'" id="tdvvriw_continue">'+k("enter-vr")+"</button></div>","</div></div>"].join("\n");e.call(this,"EnterVRInfoWindow",R)}),N=m.extend(e,function(){e.call(this,"PreparingVRInfoWindow",['<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">','<div style="'+q+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),
S=m.extend(e,function(){var R=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',w,'</div>\n<div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"><div style="vertical-align:middle; text-align:center; display:table-cell;">',A,'<div style="'+q+'">'+k("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+t+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
q+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"><label for="tdvvriw_dontdisplay">'+k("dont-display-again")+"</label>","</div>"].join("\n");e.call(this,"UseSafariVRInfoWindow",R)});m=m.extend(e,function(){var R=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+c.Vk+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">',
'<img style="width:22vmin" src="'+c.oJ+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+k("rotate-device")+"</div>","</div>\n</div>"].join("\n");e.call(this,"RotateVRInfoWindow",R)});var Q={};Q.wCa=new B;Q.D0a=new z;Q.ifa=new C;Q.j0a=new D;Q.n0a=new F;Q.x0a=new N;Q.Cga=new S;Q.oJ=new m;Q.mfa=new H;Q.eBa=new a;Q.P_=new I;return Q});
define("dd",["require"],function(){return{Vk:"Cardboard",WCa:"WebVR",XCa:"WebXR"}});
define("ht","require lH v ia mj bg".split(" "),function(a){var e=a("lH"),h=a("v"),m=a("ia"),k=a("mj");a("bg");var b={IWa:function(f){return this.uI(f)||this.Vwa(f)?!0:!1},zt:function(){var f=h.KXa();b.zt=function(){return f};return f},Vwa:function(f){return"string"==typeof f&&m.is(f,m.Bn)?!0:!1},o1a:function(f){return this.Aca(f)||this.Bca(f)?!0:!1},Bca:function(f){return"string"==typeof f&&(m.is(f,m.OBa)||m.qz(f,m.PBa))?!0:!1},uI:function(f){return!!f&&!!f.tagName&&"VIDEO"==f.tagName},rz:function(f){return"string"==
typeof f&&m.is(f,m.HLS)||this.uI(f)&&m.is(f.currentSrc,m.HLS)?!0:!1},Tl:function(f){return"string"==typeof f&&m.is(f,m.Bn)||this.uI(f)&&m.is(f.currentSrc,m.Bn)?!0:!1},Aca:function(f){return!!f&&!!f.tagName&&"IMG"==f.tagName},Jwa:function(f){return!!f&&!!f.tagName&&"CANVAS"==f.tagName},Qva:function(f){return Math.pow(2,Math.round(Math.log(f)/Math.LN2))},Twa:function(f){return 0!==f&&0===(f&f-1)},Lwa:function(){return h.browser()==h.dm},zWa:function(){return h.browser()==h.tw},kn:function(){return h.fe()==
h.Hi}},g=h.fe()==h.aE&&!h.Rf()&&11>h.FTa();b.WAa=function(f){if(c)return!0;if(h.vba()&&15.1>h.TP())if(15<=h.TP()){if(h.rwa())return!0}else if(b.rz(f))return!0;if(b.zWa())return!0;if(b.kn()){if(h.iz()==h.iE&&15<=h.yD())return!1;if(b.rz(f)){if(!e.Dwa||14<=h.yD()&&14.6>h.yD())return!0}else if(12>h.yD()||f&&f.videoWidth&&f.videoHeight&&262144>=f.videoWidth*f.videoHeight)return!0}return g&&f&&.2>f.currentTime?!0:!1};b.wwa=function(){return b.Lwa()||b.kn()};b.vwa=function(){return b.kn()&&e.Dwa&&11>h.yD()};
var d=!1;b.Hwa=function(){d=!1};b.sWa=function(){return d};b.xYa=function(){d=!0};var c=k.cj("vic");b.GXa=function(){b.kn()&&(c=!0)};b.Tva=function(f){return{alpha:!0,depth:!0,stencil:!0,antialias:e.NTa()?f||!1:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!1,powerPreference:"default",failIfMajorPerformanceCaveat:!1,xrCompatible:!b.Lwa()}};b.Bba=function(f,l){l=b.Tva(l);return f.getContext("webgl",l)||f.getContext("experimental-webgl",l)};b.qUa=function(f){var l=b.Tva(!0);return f.getContext("webgl2",
l)};b.getPixelRatio=function(){if(h.kb()){var f=0,l=0;try{f=window.top.innerWidth,l=window.top.innerHeight}catch(q){if(h.fe()==h.aE&&1<window.devicePixelRatio)return window.devicePixelRatio}var p=window.devicePixelRatio||1;f=[Math.max(document.documentElement.clientWidth,f),Math.max(document.documentElement.clientHeight,l)].sort(function(q,n){return n-q});p=[screen.width*p,screen.height*p].sort(function(q,n){return n-q});p=[p[0]/f[0],p[1]/f[1]].sort()[0];if(Infinity!==p)return p}else if(h.fe()==h.RBa&&
h.browser()==h.Uk)return 1;return window.devicePixelRatio};return b});
define("dQ","require lo jquery.mod eg oF cc oH v e np nK".split(" "),function(a){function e(){this.Ib=!1;this.QN=null;this.ua=this.ia=100;this.U5=this.fi=void 0;this.V5=100;this.na=document.createElement("div");this.na.style.opacity=0;this.na.style.display="none";this.na.style.transition="opacity 0.3s";this.na.addEventListener("transitionend",this.J$.bind(this));this.ie=document.createElement("div");this.sza(!0);this.ie.style.position="absolute";this.ie.style.left=0;this.ie.style.top=0;this.ie.style.right=
0;this.ie.style.bottom=0;this.na.appendChild(this.ie);this.Wb=document.createElement("img");this.Wb.style.cursor="pointer";this.Wb.style.position="absolute";this.Wb.style.left="50%";this.Wb.style.top="50%";this.Wb.style.transform="translate(-50%, -50%)";this.na.appendChild(this.Wb);this.v1=k(this.na)}function h(t,u){this.reason=t;this.Ao=u}var m=a("lo"),k=a("jquery.mod");a("eg");a("oF");var b=a("cc"),g=a("oH"),d=a("v"),c=a("e"),f=a("np"),l=a("nK"),p=m.extend(c,function(){c.call(this);this.Be("UserInteractionWindow");
this.dc=null;this.Yr=[];var t=new f;t.set("duration",500);t.set("easing","cubic_in");var u=new l;u.set("duration",500);u.set("easing","cubic_out");this.ja({contentOpaque:!0,left:0,top:0,right:0,bottom:0,hideEffect:u,showEffect:t,visible:!1});this.bind(g.kc,this.Jaa,this,!0);this.bind(g.qa,this.$Sa,this,!0)});p.prototype.Jaa=function(){this.dc&&this.dc.setSize(this.rf(),this.qf())};p.prototype.$Sa=function(){var t=this.Yr.slice();this.Yr=[];this.vX();t.forEach(function(u){u.Ao.call(u.context)})};p.prototype.Ab=
function(){c.prototype.Ab.call(this);this.dc||(this.dc=new e,this.dc.setSize(this.rf(),this.qf()),this.dc.wf(!0),this.Bb().append(this.dc.Ac().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"})),this.vX())};p.prototype.gp=function(){c.prototype.gp.call(this);this.getParent().bind(g.kc,this.Jaa,this,!0);p.zDa(this)};p.prototype.Wm=function(){this.getParent().unbind(g.kc,this.Jaa,this,!0);c.prototype.Wm.call(this);p.YNa(this)};p.prototype.eYa=function(t){this.Xr(n,t)};p.prototype.tda=
function(t){this.Xr(q,t)};p.prototype.Xr=function(t,u){this.Yr.push(new h(t,u));this.Yr.sort(function(v,w){return r[v.reason]-r[w.reason]});this.vX()};p.prototype.TTa=function(t){this.cancel(n,t)};p.prototype.QTa=function(){this.cancel(q,void 0)};p.prototype.cancel=function(t,u){t=this.LJa(t,u);0<=t&&this.iOa(t)};p.prototype.fia=function(){this.tR(!0)};p.prototype.DR=function(){this.tR(!1)};p.prototype.LJa=function(t,u){for(var v=0;v<this.Yr.length;v++){var w=this.Yr[v];if(w.reason==t&&w.Ao==u)return v}return-1};
p.prototype.vX=function(){if(this.dc){var t=this.XJa();if(t){switch(t.reason){case q:this.dc.Sda(e.ofa);break;case n:this.dc.Sda(e.K0)}this.set("visible",!0)}else this.set("visible",!1)}};p.prototype.iOa=function(t){this.Yr.splice(t,1);t==this.Yr.length&&this.vX()};p.prototype.XJa=function(){return 0<this.Yr.length?this.Yr[0]:null};var q="vr",n="play",r={};r[q]=0;r[n]=1;e.prototype.Ac=function(){return this.v1};e.prototype.setSize=function(t,u){if(this.ia!==t||this.ua!==u)this.ia=t,this.ua=u,this.wX()};
e.prototype.sza=function(t){this.ie.style.backdropFilter=t?"blur(8px)":"none"};e.prototype.wf=function(t){this.Ib!=t&&(this.Ib=t,this.QN&&(clearTimeout(this.QN),this.QN=null),this.Ib?(this.na.style.display="block",this.na.style.opacity=0,this.QN=setTimeout(function(){this.QN=null;this.na.style.opacity=1}.bind(this),30)):this.na.style.opacity=0)};e.prototype.Sda=function(t){this.fi!=t&&(this.fi=t,this.lSa())};e.prototype.J$=function(){this.Ib||(this.na.style.display="none")};e.prototype.lSa=function(){switch(this.fi){case e.K0:this.U5=
b.Jw;this.V5=b.Z0;break;case e.ofa:this.U5=b.QCa,this.V5=b.SCa}this.Wb.src=this.U5;this.wX()};e.prototype.wX=function(){d.kb()?(this.Wb.style.maxWidth=Math.round(.5*this.ia)+"px",this.Wb.style.width="20vmin"):(this.Wb.style.maxWidth=Math.round(.33*this.ia)+"px",this.Wb.style.width=this.V5+"px")};e.K0="play";e.ofa="vr";p.Yfa=e;p.Xc=[];p.i8=[];p.zDa=function(t){p.Xc.push(t);p.i8.forEach(function(u){p.Kla(t,u)});p.i8=[]};p.YNa=function(t){p.Xc.splice(p.Xc.indexOf(t),1)};p.ready=function(){return 0<p.Xc.length};
p.tda=function(t){p.Xc.length?p.Xc.forEach(function(u){p.Kla(u,t)}):p.i8.push(t)};p.Kla=function(t,u){t.tda(function(){p.Xc.forEach(function(v){v!=t&&v.QTa()});u()})};return p});
define("oq",["require"],function(){var a={yn:{}};a.yn.NONE="none";a.yn.Pa="left";a.yn.hb="right";a.Zj=function(){this.y=this.x=0;this.height=this.width=1};a.Dga=function(){this.eye=a.yn.NONE;this.viewport=new a.Zj;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.JBa=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.wY=[]};a.TBa=function(){this.XO=null;this.Co=200;this.hn=100;this.rY=1};
return a});define("dX",["require"],function(){return{SQ:"gaze",H0:"gaze_click"}});
define("hg","require lo oH ht gi dQ oq v iL mj dX".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("ht"),k=a("gi"),b=a("dQ"),g=a("oq"),d=a("v"),c=a("iL"),f=a("mj"),l=a("dX");a=e.extend(k,function(){k.call(this);this.Mqa=l.SQ;this.ho=[];this.Cd=new g.JBa;this.Si=new g.Dga;this.Si.eye=g.yn.Pa;this.Xi=new g.Dga;this.Xi.eye=g.yn.hb;this.Cd.views=[this.Si,this.Xi];this.xe=new g.TBa;this.bind(h.pa,this.XB,this,!1)});a.prototype.initialize=function(){};a.prototype.Nk=function(){};a.prototype.$f=function(){};
a.prototype.FY=function(){return this.xe};a.prototype.Hs=function(){return this.Cd};a.prototype.requestFrame=function(){};a.prototype.isPresenting=function(){};a.prototype.getType=function(){};a.prototype.MY=function(){return this.Mqa};a.prototype.sD=function(){};a.prototype.GH=function(p){0>this.ho.indexOf(p)&&this.ho.push(p)};a.prototype.VZ=function(p){this.ho.splice(this.ho.indexOf(p),1);this.sD()==p&&this.$f()};a.prototype.f_=function(p){var q=this.ho.indexOf(p);0>q||q==this.ho.length-1||(this.ho.splice(q,
1),this.ho.splice(this.ho.length,0,p))};a.prototype.EJa=function(){return 0<this.ho.length?this.ho[this.ho.length-1]:null};a.prototype.u9=function(){var p=this.EJa();null==p&&(p=m.Bba(document.createElement("canvas")),this.GH(p));return p};a.prototype.TV=function(p){b.tda(p)};a.prototype.W9=function(p){d.hd()==d.fE?(this.b9(),c.eBa.show(p,function(){this.uha()}.bind(this))):d.YO()&&d.hd()==d.$I?c.wCa.show(p):d.hd()==d.FQ?c.Cga.show(p):d.hd()==d.GQ?c.Cga.show():p()};a.prototype.v9=function(p){var q=
function(n){this.Mqa=n;p()}.bind(this);!d.kb()||d.Rf()?q(l.SQ):"1"==f.getQueryParameter("cardboard_version")?q(l.SQ):"2"==f.getQueryParameter("cardboard_version")?q(l.H0):c.P_.show(function(){q(l.H0)}.bind(this),function(){q(l.SQ)}.bind(this))};a.prototype.XB=function(){d.kb()||(this.isPresenting()?c.ifa.show(this.$f.bind(this)):c.ifa.hide())};a.prototype.uha=function(){this.b9();var p=this.tla();p.push("vr");this.Eha(p)};a.prototype.b9=function(){var p=this.tla().filter(function(q){return"vr"!=q});
this.Eha(p)};a.prototype.tla=function(){var p=window.location.hash.substring(1);return p.length?p.split("&"):[]};a.prototype.Eha=function(p){window.location.hash="#"+(p.length?p.join("&"):"")};return a});
define("t",["require","jquery.mod","mZ"],function(a){function e(){l.get(0)==document.body&&g.height(window.innerHeight)}function h(n,r){var t={},u;for(u in r)t[u]=n.css(u);p.push({$el:n,css:t});n.css(r)}function m(n){this.na=n}var k=a("jquery.mod"),b=a("mZ");m.prototype.Nk=function(){this.enabled()||this.toggle()};m.prototype.$f=function(){this.enabled()&&this.toggle()};m.prototype.toggle=function(){this.enabled()?m.cancel():m.request(this.na)};m.prototype.enabled=function(){return m.enabled(this.na)};
var g=k("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),d=k("<div/>"),c=null,f=null,l=null,p=[],q=null;m.request=function(n){if(n!==c){m.cancel();c=n;var r=b.fullscreenElement()||document.body;f=k(n);l=k(r);d.insertAfter(f);f.appendTo(g);l.children().each(function(){h(k(this),{visibility:"hidden"})});h(f,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});r==document.body?h(g,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,
padding:0}):h(g,{position:"absolute",left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});g.appendTo(l);e();q=setInterval(e,300)}};m.cancel=function(){if(c){g.detach();f.insertBefore(d);for(d.detach();p.length;){var n=p.pop();n.$el.css(n.css)}l=f=c=null;p=[];clearInterval(q)}};m.enabled=function(n){return c==n};return m});
define("lh","require lo oH cy gi oF cc".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("oF");a=a("cc");var g=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.Vk+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">'].join("\n"),d=g+['<img style="width:22vmin" src="'+a.oJ+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
b("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",c=g+['<img style="width:13vmin; vertical-align:middle;" src="'+a.ECa+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; text-align:left; display:inline-block; vertical-align:middle; margin:5vmin 0 0 2vmin;">Please, swipe up to<br>enter Fullscreen Mode</div>'].join("\n")+"</div>\n</div>";e=e.extend(k,function(){k.call(this);this.xl=this.$g=this.Jn=this.nL=this.oL=this.G6=this.H6=void 0;
this.tT=!1;this.Gy=this.v8=this.F6=this.yf=null;this.jka=[];this.g6=this.gq=!1;this.hc=this.hc.bind(this)});e.prototype.request=function(){this.gq||(this.gq=!0,this.q3(),window.addEventListener("resize",this.hc),document.body.appendChild(this.yf),document.body.appendChild(this.Gy),this.MQa=document.documentElement.style.overflow,this.LQa=document.body.style.overflow,document.documentElement.style.overflow="auto",document.body.style.overflow="auto",this.sM())};e.prototype.cancel=function(){this.gq&&
(this.gq=!1,window.removeEventListener("resize",this.hc),document.body.style.overflow=this.LQa,document.documentElement.style.overflow=this.MQa,document.body.removeChild(this.yf),document.body.removeChild(this.Gy),this.ara(!1))};e.prototype.enabled=function(){return this.tT};e.prototype.q3=function(){this.yf||(this.yf=this.kS({position:"fixed",top:0,left:0,zIndex:9999998},!0),this.yf.id="tdvminuictr",this.v8=this.kS({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,d),this.yf.appendChild(this.v8),
this.F6=this.kS({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,c),this.yf.appendChild(this.F6),this.Gy=this.kS({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},!1),this.Gy.id="tdvminuiscrl",this.Gy.addEventListener("touchend",this.hc))};e.prototype.kS=function(f,l,p){var q=document.createElement("div");this.lN(q,f);void 0!==p&&this.sPa(q,p);l&&this.jka.push(q);return q};e.prototype.hc=function(){[0,250,1E3,2E3].forEach(function(f){setTimeout(this.M7.bind(this),
f)}.bind(this))};e.prototype.M7=function(){this.Jn==window.innerWidth&&this.$g==window.innerHeight||this.sM()};e.prototype.sM=function(){this.Jn=window.innerWidth;this.$g=window.innerHeight;this.xl=this.Jn>this.$g?"landscape":"portrait";if("landscape"==this.xl){this.H6&&this.G6&&this.iLa(this.H6,this.G6)&&(!this.oL&&!this.nL||this.jLa(this.oL,this.nL))&&(this.oL=this.Jn,this.nL=this.$g);this.dLa()&&(this.oL=this.Jn,this.nL=this.$g);this.H6=this.Jn;this.G6=this.$g;var f=this.oL==this.Jn&&this.nL==
this.$g}else f=!1;this.jka.forEach(function(n){n.style.height=this.$g+"px";n.style.width=this.Jn+"px"}.bind(this));var l=this.gq&&"portrait"==this.xl,p=this.gq&&"landscape"==this.xl&&!f,q=this.gq&&"landscape"==this.xl;this.lN(this.yf,{display:l||p?"block":"none"});this.lN(this.v8,{display:l?"block":"none"});this.lN(this.F6,{display:p?"block":"none"});this.lN(this.Gy,{display:q?"block":"none",right:p?0:"99.9%"});this.ara(f)};e.prototype.ara=function(f){null!=this.oW&&(clearTimeout(this.oW),this.oW=
null);this.tT!=f&&(this.oW=setTimeout(function(){this.oW=null;(this.tT=f)?this.trigger(new m(h.Tq)):this.trigger(new m(h.sb));this.trigger(new m(h.pa))}.bind(this),f?1E3:0))};e.prototype.dLa=function(){var f=window.innerWidth,l=window.innerHeight,p=Infinity;[[480,320],[960,640],[1136,640],[1334,750],[1920,1080],[2001,1125],[2048,1536],[2172,1125],[2208,1242],[2732,2048],[2436,1125]].forEach(function(q){p=Math.min(p,Math.abs(100-100*f*q[1]/(l*q[0])))});return 1>=p?!0:!1};e.prototype.iLa=function(f,
l){return f*window.innerHeight>l*window.innerWidth};e.prototype.jLa=function(f,l){return f*window.innerHeight>=l*window.innerWidth};e.prototype.lN=function(f,l){for(var p in l)f.style[p]=l[p]};e.prototype.sPa=function(f,l){f.innerHTML=l};return new e});
define("oM",["require"],function(){if("wakeLock"in navigator){var a=null;var e={enable:function(){null===a&&navigator.wakeLock.request("screen").then(function(h){a=h})},disable:function(){null!==a&&(a.release(),a=null)}}}else e={enable:function(){},disable:function(){}};return e});
define("kr",["require","jquery.mod","oF","cc"],function(a){function e(){this.jj=null;this.W=!1;this.hc=this.hc.bind(this);this.$g=this.Jn=this.xl=void 0}var h=a("jquery.mod"),m=a("oF"),k=a("cc");e.prototype.Wt=function(){this.jj||(this.jj=h("<div/>"),this.jj.css({position:"fixed","z-index":1E6,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),this.jj.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
k.Vk+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+k.oJ+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+m("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};e.prototype.show=function(b){this.W||(this.W=!0,this.Wt(),
h(b).append(this.jj),h(window).on("resize",this.hc),this.sM())};e.prototype.hide=function(){this.W&&(this.W=!1,h(window).off("resize",this.hc),this.jj.detach())};e.prototype.hc=function(){[0,250,1E3,2E3].forEach(function(b){setTimeout(this.M7.bind(this),b)}.bind(this))};e.prototype.M7=function(){this.Jn==window.innerWidth&&this.$g==window.innerHeight||this.sM()};e.prototype.sM=function(){this.Jn=window.innerWidth;this.$g=window.innerHeight;this.xl=this.Jn>this.$g?"landscape":"portrait";this.jj.toggle("landscape"!=
this.xl)};return new e});
define("kN","require lo oH cy gU lH v hF iL cv dd hg e bg mZ t lh oM kr".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gU"),b=a("lH"),g=a("v"),d=a("hF"),c=a("iL"),f=a("cv"),l=a("dd"),p=a("hg"),q=a("e"),n=a("bg"),r=a("mZ"),t=a("t"),u=a("lh"),v=a("oM"),w=a("kr"),x=e.extend(p,function(){p.call(this);this.Bj=this.Ng=this.Sh=this.eN=this.Cu=this.Kk=this.Gd=null;this.Ce=l.Vk;this.requestFrame=this.requestFrame.bind(this)});x.prototype.initialize=function(B){if(this.$K()){var z=function(H){if(this.Gd=
H.length?H[0]:null)this.Gd.depthNear=.1,this.Gd.depthFar=2*k.If,this.Kk="VRFrameData"in window?new VRFrameData:null,window.addEventListener("vrdisplaypresentchange",this.B8.bind(this),!1),u.bind(h.sb,this.$f.bind(this));B(!!this.Gd)}.bind(this),C=window.WebVRConfig||(window.WebVRConfig={});C.BUFFER_SCALE=x.NH;C.ALWAYS_APPEND_POLYFILL_DISPLAY=!0;C.LOCK_ORIENTATION=!1;f.Fga.load(function(){navigator.getVRDisplays().then(z)["catch"](function(){z([])})}.bind(this))}else B(!1)};x.prototype.Nk=function(){this.isPresenting()||
this.Ng||this.KC(function(){this.W9(function(){this.v9(function(){this.isPresenting()||this.Ng||(this.Ng=this.u9(),this.T9(),this.Gd.requestPresent([{source:this.Ng.canvas}]).then(function(){this.Bj=this.Ng;this.Ng=null;g.hd()!=g.YI&&w.show(r.fullscreenElement());this.HG();this.yO()}.bind(this))["catch"](function(){this.Ng=null;this.PN()}.bind(this)))}.bind(this))}.bind(this))}.bind(this))};x.prototype.$f=function(){this.isPresenting()&&this.Gd.exitPresent()};x.prototype.requestFrame=function(B){return this.Gd.requestAnimationFrame(function(z){var C=
this.HG();C&&this.cD();B(z);C&&this.Gd.submitFrame()}.bind(this))};x.prototype.isPresenting=function(){return!!this.Gd&&this.Gd.isPresenting};x.prototype.sD=function(){return this.Bj};x.prototype.getType=function(){return this.Ce};x.prototype.B8=function(){this.isPresenting()?n.g_(this.requestFrame,this.Gd.cancelAnimationFrame.bind(this.Gd)):(n.wda(),(this.Bj||this.Ng)&&this.PN());this.trigger(new m(h.pa))};x.prototype.$K=function(){return d.zg&&b.Xs&&g.kb()&&g.iz()!=g.iE};x.prototype.KC=function(B){d.disabled?
c.mfa.show(function(){d.sda(function(){this.KC(B)}.bind(this))}):r.enabled()||!q.uP()?(r.$f(),this.TV(function(){this.KC(B)}.bind(this))):B()};x.prototype.T9=function(){t.request(this.Ng.canvas);g.hd()==g.ZI?this.uha():v.enable();g.hd()==g.YI&&u.request()};x.prototype.HG=function(){this.Gd.getFrameData(this.Kk);if(!this.Kk.pose||!this.Kk.pose.orientation)return!1;this.Cu=this.Gd.getEyeParameters("left");this.eN=this.Gd.getEyeParameters("right");var B=this.Gd.getLayers();return(this.Sh=B&&B.length&&
B[0]||null)?!0:!1};x.prototype.yO=function(){this.xe.XO=null;this.xe.Co=2*this.Cu.renderWidth;this.xe.hn=this.Cu.renderHeight;this.xe.rY=1};x.prototype.cD=function(){var B=this.Kk.pose;this.Cd.orientation.fromArray(B&&B.orientation||y);this.Cd.position.fromArray(B&&B.position||A);this.cba()};x.prototype.cba=function(){this.Si.position.fromArray(this.Cu.offset);this.Si.orientation.fromArray(y);this.Si.projectionMatrix.fromArray(this.Kk.leftProjectionMatrix);this.Si.viewport.x=Math.round(this.xe.Co*
this.Sh.leftBounds[0]);this.Si.viewport.y=Math.round(this.xe.hn*this.Sh.leftBounds[1]);this.Si.viewport.width=Math.round(this.xe.Co*this.Sh.leftBounds[2]);this.Si.viewport.height=Math.round(this.xe.hn*this.Sh.leftBounds[3]);this.Xi.position.fromArray(this.eN.offset);this.Xi.orientation.fromArray(y);this.Xi.projectionMatrix.fromArray(this.Kk.rightProjectionMatrix);this.Xi.viewport.x=Math.round(this.xe.Co*this.Sh.rightBounds[0]);this.Xi.viewport.y=Math.round(this.xe.hn*this.Sh.rightBounds[1]);this.Xi.viewport.width=
Math.round(this.xe.Co*this.Sh.rightBounds[2]);this.Xi.viewport.height=Math.round(this.xe.hn*this.Sh.rightBounds[3])};x.prototype.PN=function(){this.b9();this.Bj=this.Ng=null;u.cancel();t.cancel();v.disable();w.hide()};x.NH=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var y=[0,0,0,1],A=[0,0,0];return x});
define("iT","require lo cy oH v dd hg gU e bg t".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("oH"),k=a("v"),b=a("dd"),g=a("hg"),d=a("gU"),c=a("e"),f=a("bg"),l=a("t");a=e.extend(g,function(){g.call(this);this.Bj=this.Ng=this.Sh=this.eN=this.Cu=this.Kk=this.Gd=null;this.requestFrame=this.requestFrame.bind(this)});a.prototype.initialize=function(t){if(this.$K()){var u=function(v){if(this.Gd=v.length?v[0]:null)this.Gd.depthNear=.1,this.Gd.depthFar=2*d.If,this.Kk="VRFrameData"in window?new VRFrameData:
null,window.addEventListener("vrdisplaypresentchange",this.B8.bind(this),!1),window.addEventListener("vrdisplayactivate",this.Epa.bind(this)),window.addEventListener("vrdisplaydeactivate",this.$f.bind(this));t(!!this.Gd)}.bind(this);navigator.getVRDisplays().then(u)["catch"](function(){u([])})}else t(!1)};a.prototype.Nk=function(t){this.isPresenting()||this.Ng||this.KC(t,function(){this.W9(function(){this.v9(function(){this.isPresenting()||this.Ng||this.Epa()}.bind(this))}.bind(this))}.bind(this))};
a.prototype.$f=function(){this.isPresenting()&&this.Gd.exitPresent()};a.prototype.requestFrame=function(t){return this.Gd.requestAnimationFrame(function(u){var v=this.HG();v&&this.cD();t(u);v&&this.Gd.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Gd&&this.Gd.isPresenting};a.prototype.sD=function(){return this.Bj};a.prototype.getType=function(){return b.WCa};a.prototype.$K=function(){return"getVRDisplays"in navigator&&!window.WebVRConfig};a.prototype.B8=function(){this.isPresenting()?
(f.g_(this.requestFrame,this.Gd.cancelAnimationFrame.bind(this.Gd)),this.HG()&&this.cD()):(f.wda(),(this.Bj||this.Ng)&&this.PN());this.trigger(new h(m.pa))};a.prototype.KC=function(t,u){t||c.uP()?u():this.TV(function(){u()})};a.prototype.Epa=function(){this.Ng=this.u9();this.T9();this.Gd.requestPresent([{source:this.Ng.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Bj=this.Ng;this.Ng=null;this.HG()&&this.cD()}.bind(this))["catch"](function(){this.Ng=null;this.PN()}.bind(this))};a.prototype.T9=
function(){l.request(this.Ng.canvas)};a.prototype.HG=function(){this.Gd.getFrameData(this.Kk);if(!this.Kk.pose||!this.Kk.pose.orientation)return!1;this.Cu=this.Gd.getEyeParameters("left");this.eN=this.Gd.getEyeParameters("right");var t=this.Gd.getLayers();return(this.Sh=t&&t.length&&t[0]||null)?!0:!1};a.prototype.cD=function(){this.yO();var t=this.Kk.pose;this.Cd.orientation.fromArray(t&&t.orientation||p);this.Cd.position.fromArray(t&&t.position||q);this.cba()};a.prototype.yO=function(){this.xe.XO=
null;this.xe.Co=2*this.Cu.renderWidth;this.xe.hn=this.Cu.renderHeight;this.xe.rY=k.Rf()?2048/this.xe.hn:1};a.prototype.cba=function(){this.Si.position.fromArray(this.Cu.offset);this.Si.orientation.fromArray(p);this.Si.projectionMatrix.fromArray(this.Kk.leftProjectionMatrix);var t=this.Sh.leftBounds&&4==this.Sh.leftBounds.length?this.Sh.leftBounds:n;this.Si.viewport.x=Math.round(this.xe.Co*t[0]);this.Si.viewport.y=Math.round(this.xe.hn*t[1]);this.Si.viewport.width=Math.round(this.xe.Co*t[2]);this.Si.viewport.height=
Math.round(this.xe.hn*t[3]);this.Xi.position.fromArray(this.eN.offset);this.Xi.orientation.fromArray(p);this.Xi.projectionMatrix.fromArray(this.Kk.rightProjectionMatrix);t=this.Sh.rightBounds&&4==this.Sh.rightBounds.length?this.Sh.rightBounds:r;this.Xi.viewport.x=Math.round(this.xe.Co*t[0]);this.Xi.viewport.y=Math.round(this.xe.hn*t[1]);this.Xi.viewport.width=Math.round(this.xe.Co*t[2]);this.Xi.viewport.height=Math.round(this.xe.hn*t[3])};a.prototype.PN=function(){this.Bj=this.Ng=null;l.cancel()};
var p=[0,0,0,1],q=[0,0,0],n=[0,0,.5,1],r=[.5,0,.5,1];return a});
define("kB","require lo cy oH v mv dd hg gU e bg t lU hd".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("oH"),k=a("v"),b=a("mv"),g=a("dd"),d=a("hg"),c=a("gU"),f=a("e"),l=a("bg"),p=a("t"),q=a("lU"),n=a("hd"),r=e.extend(d,function(){d.call(this);this.dD=this.AO=this.aj=this.Bj=null;this.WG="stopped";this.requestFrame=this.requestFrame.bind(this);this.z9=this.z9.bind(this);this.A9=this.A9.bind(this);this.B9=this.B9.bind(this);this.Yy=!1;q.wait(function(){setTimeout(function(){this.Yy=!0}.bind(this),
10)}.bind(this))});r.prototype.initialize=function(v){if(this.$K())this.bRa().then(function(w){w?v(!0):v(!1)})["catch"](function(){v(!1)});else v(!1)};r.prototype.Nk=function(){"stopped"==this.WG&&this.KC(function(){this.W9(function(){this.v9(function(){setTimeout(function(){this.DQa()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};r.prototype.DQa=function(){"stopped"==this.WG&&(this.WG="starting",this.trigger(new h(m.pa)),l.Zda(!0),navigator.xr.requestSession("immersive-vr").then(function(v){this.aj=
v;this.aj.addEventListener("end",this.z9);this.aj.addEventListener("select",this.A9);this.aj.addEventListener("visibilitychange",this.B9);return this.aj.requestReferenceSpace("local")}.bind(this)).then(function(v){this.AO=v;this.Bj=this.u9();return this.Bj.makeXRCompatible()}.bind(this)).then(function(){k.kb()&&p.request(this.Bj.canvas);var v=XRWebGLLayer.getNativeFramebufferScaleFactor(this.aj);v=Math.max(v,1);v=k.Mwa()?1*v:k.tI()||k.hd()==k.$s?1*v:k.Rf()?1.4222222222*v:k.kb()?v*r.NH:void 0;var w=
{antialias:!1};v&&(w.framebufferScaleFactor=v);this.dD=new XRWebGLLayer(this.aj,this.Bj,w);this.aj.updateRenderState({baseLayer:this.dD,depthNear:.1,depthFar:2*c.If});this.yO();this.WG="started";l.g_(this.requestFrame,this.aj.cancelAnimationFrame.bind(this.aj));l.Zda(!1)}.bind(this))["catch"](function(){l.Zda(!1);this.Pqa();this.trigger(new h(m.pa))}.bind(this)))};r.prototype.$f=function(){this.isPresenting()&&this.aj.end()};r.prototype.requestFrame=function(v){return this.aj.requestAnimationFrame(function(w,
x){this.eba=x;this.cD();v(w)}.bind(this))};r.prototype.isPresenting=function(){return"stopped"!=this.WG};r.prototype.getType=function(){return g.XCa};r.prototype.sD=function(){return this.Bj};r.prototype.$K=function(){return"xr"in navigator};r.prototype.bRa=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};r.prototype.KC=function(v){k.tI()?v():k.hd()==
k.Uq?this.Yy?v():f.uP()?setTimeout(v,10):this.TV(function(){setTimeout(v,10)}):f.uP()?v():this.TV(function(){v()})};r.prototype.z9=function(){l.wda();this.Pqa();this.trigger(new h(m.pa))};r.prototype.A9=function(){this.trigger(new h(m.zn))};r.prototype.B9=function(){n.nea(!this.aj||"visible"!=this.aj.visibilityState);b.EBa&&"visible"!=this.aj.visibilityState&&this.$f()};r.prototype.Pqa=function(){this.dD=this.AO=this.aj=this.Bj=null;this.WG="stopped";p.cancel()};r.prototype.yO=function(){this.xe.XO=
this.dD.framebuffer;this.xe.Co=this.dD.framebufferWidth;this.xe.hn=(k.hd()==k.Uq?2:1)*this.dD.framebufferHeight;this.xe.rY=1};r.prototype.cD=function(){var v=this.eba.getViewerPose(this.AO);if(v){var w=v&&v.transform.orientation||t;this.Cd.orientation.set(w.x,w.y,w.z,w.w);w=v&&v.transform.position||u;this.Cd.position.set(w.x,w.y,w.z);v=this.eba.getViewerPose(this.AO.getOffsetReferenceSpace(v.transform));for(var x=0;x<v.views.length;x++){var y=v.views[x];if("left"==y.eye)var A=this.Si;else if("right"==
y.eye)A=this.Xi;else continue;w=y.transform.position;A.position.set(w.x,w.y,w.z);w=y.transform.orientation;A.orientation.set(w.x,w.y,w.z,w.w);A.projectionMatrix.fromArray(y.projectionMatrix);y=this.dD.getViewport(y);A.viewport.x=y.x;A.viewport.y=y.y;A.viewport.width=y.width;A.viewport.height=y.height}var B=[];this.aj.inputSources.forEach(function(z){if("tracked-pointer"==z.targetRayMode&&z.gamepad){var C=z.gamepad;C.pose&&C.pose.orientation||(C.vca=this.eba.getPose(z.targetRaySpace,this.AO));C.PY||
(C.oWa=z.handedness);C.id||(C.pWa=C.mapping+" "+z.handedness);B.push(C)}}.bind(this));this.Cd.wY=B}};r.NH=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var t={x:0,y:0,z:0,w:1},u={x:0,y:0,z:0};return r});
define("bv","require lo oH gi lH v hF mj kN dX dd oq iT kB hd".split(" "),function(a){function e(y,A){if(y.length){var B=new y[0];B.initialize(function(z){z?A(B):e(y.slice(1),A)})}else A(null)}var h=a("lo"),m=a("oH"),k=a("gi"),b=a("lH"),g=a("v"),d=a("hF"),c=a("mj"),f=a("kN"),l=a("dX"),p=a("dd"),q=a("oq"),n=a("iT"),r=a("kB"),t=a("hd"),u=!1,v=[],w=new k;w.yn=q.yn;w.FCa=l;w.uA=p;w.zg=function(){return!0};w.Hs=function(){return null};w.FY=function(){return null};w.isPresenting=function(){return!1};w.Nk=
function(){u=!0};w.$f=function(){u=!1};w.l1a=function(){return null};w.GH=function(y){0>v.indexOf(y)&&v.push(y)};w.VZ=function(y){y=v.indexOf(y);-1==y||v.splice(y,1)};w.f_=function(){};w.CZa=function(y){f.NH=y;r.NH=y};w.vVa=function(){return f.NH};w.getType=function(){return null};w.MY=function(){return null};w.log=function(){w.zg()?w.getType()?h.log("VR: "+w.getType()):h.log("VR: not ready"):h.log("VR: not available");h.log("gyroscope: "+d.zg)};var x="cardboard"==c.getQueryParameter("vr_mode")?[f]:
g.Mwa()?[r,n]:g.browser()==g.Uk?[r,n,f]:g.aZ()&&1>g.XAa()?[n,r]:g.tI()||g.hd()==g.$s?[r,n]:[n,r,f];w.initialize=function(y){var A=setTimeout(function(){A=null;y()},250);e(x,function(B){B?(b.b_a(),B.bind(m.pa,function(){w.trigger(m.pa)},w,!0),B.bind(m.zn,function(){w.trigger(m.zn)},w,!0),w.zg=function(){return!0},w.FY=function(){return B.FY()},w.Hs=function(){return B.Hs()},w.isPresenting=function(){return B.isPresenting()},w.Nk=function(){B.Nk()},w.$f=function(){B.$f()},w.sD=function(){return B.sD()},
w.GH=function(z){B.GH(z)},w.VZ=function(z){B.VZ(z)},w.f_=function(z){B.f_(z)},w.getType=function(){return B.getType()},w.MY=function(){return B.MY()},v.forEach(function(z){B.GH(z)}),-1<[g.bt,g.gE].indexOf(g.hd())?function(){function z(){D++;H=setTimeout(C,1E3*D)}function C(){H=null;5<D?window.location.reload():document.hidden||B.isPresenting()||(B.Nk(!0),z())}document.addEventListener("visibilitychange",function(){document.hidden||(H&&(clearTimeout(H),H=null),D=0,z())},!1);if(H){clearTimeout(H);var H=
null}var D=0;z()}():u&&B.Nk()):w.zg=function(){return!1};A&&(clearTimeout(A),A=null,y())})};w.bind(m.pa,function(){t.b_(w.isPresenting())},window,!0);window.addEventListener("vrdisplayblur",function(){t.nea(!0)},!0);window.addEventListener("vrdisplayfocus",function(){t.nea(!1)},!0);return w});
define("ks","require eg lo oH hT ll hw gS bv bc e".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("hT"),b=a("ll"),g=a("hw"),d=a("gS"),c=a("bv"),f=a("bc"),l=a("e");a=h.extend(l,function(){l.call(this);this.Be("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",f.lt);this.vx=[];this.QC=[];this.Nb="";this.gh=new d;this.Bb().append(this.gh.Ac());this.bind(m.kc,this.hc,this,!0);this.bind(m.kd,this.rk,this,!0);this.bind(m.sd,this.lk,this,!0);c.bind(m.pa,this.saa,this,!0);this.xC=
this.h9=!1});a.prototype.ln=function(p){b.ln(p,k.Xk)};a.prototype.s_=function(p){return b.s_(p)};a.prototype.gj=function(p){b.gj(p,k.Xk)};a.prototype.jba=function(p){this.gh.$ta(p)};a.prototype.removeItem=function(p){this.gh.Xya(p)};a.prototype.RX=function(p,q){this.gh.Bs(p).$ta(q);this.paa()};a.prototype.VXa=function(p,q){(p=this.gh.Bs(p))&&p.Xya(q)};a.prototype.uba=function(p){this.gh.UO(p).Uh()};a.prototype.Oq=function(p,q){this.gh.nY(p).forEach(function(n){n.uf(q)})};a.prototype.aQ=function(p,
q,n,r,t){this.gh.Bs(p).setPosition(q,n,r,t);this.paa()};a.prototype.paa=function(){var p=this.gh.pVa();p&&(g.Oj=Math.min(g.ufa,g.Oj*Math.sqrt(g.UBa/p)),this.dta())};a.prototype.ZYa=function(p,q,n){this.gh.UO(p).Nda(q,n)};a.prototype.dP=function(p){return this.gh.Bs(p).getX()};a.prototype.eP=function(p){return this.gh.Bs(p).getY()};a.prototype.EY=function(p){return this.gh.Bs(p).aI()};a.prototype.Gva=function(p){return this.gh.Bs(p).Gq()};a.prototype.cP=function(p){return this.gh.Bs(p).Xa()/g.Oj};
a.prototype.bP=function(p){return this.gh.Bs(p).xb()/g.Oj};a.prototype.render=function(){this.xC&&this.gh.render()};a.prototype.TZ=function(p){this.vx.push(p);this.Vsa()};a.prototype.AI=function(p){p=e(this.vx).lastIndexOf(p);0<=p&&this.vx.splice(p,1);this.Vsa()};a.prototype.Vsa=function(){var p=0<this.vx.length?this.vx[this.vx.length-1]:f.He;this.getParent().set("cursor",p)};a.prototype.ZR=function(){0<this.vx.length&&(this.getParent().set("cursor",f.He),this.vx=[])};a.prototype.NXa=function(p){this.QC.push(p);
this.nO()};a.prototype.HXa=function(p){p=e(this.QC).lastIndexOf(p);0<=p&&this.QC.splice(p,1);this.nO()};a.prototype.nO=function(){var p=0==this.QC.length?"":this.QC[this.QC.length-1]||"";this.Nb!=p&&(this.Nb=p,this.getParent().set("toolTip",this.Nb))};a.prototype.HFa=function(){this.Nb&&this.getParent().set("toolTip","");this.Nb="";this.QC=[]};a.prototype.Wm=function(){this.HFa();this.ZR();l.prototype.Wm.call(this)};a.prototype.hc=function(){this.dta();this.paa()};a.prototype.dta=function(){this.gh.Ac().css({transform:1!=
g.Oj?"scale("+(1/g.Oj).toFixed(3)+")":"none","transform-origin":"0% 0%"});this.gh.setSize(this.Xa()*g.Oj,this.xb()*g.Oj);this.render()};a.prototype.rk=function(){this.h9=!0;this.saa()};a.prototype.lk=function(){this.h9=!1;this.saa()};a.prototype.saa=function(){var p=this.h9&&!c.isPresenting();this.xC!=p&&((this.xC=p)?this.render():this.gh.uY())};return a});
define("R","require lo cy nx jD da dv jC ks oH ed gJ".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("nx"),k=a("jD"),b=a("da"),g=a("dv"),d=a("jC"),c=a("ks"),f=a("oH"),l=a("ed"),p=a("gJ"),q=m.define("MapPlayer",b,function(){b.call(this,"map");this.rU=this.S6=this.Rh=!1;this.Qm=this.Sc=this.L=this.j=null;this.Zw={};for(var n in q.Et)this.Zw[n]=this.hGa(n);this.$d=e.Io(this.Qg,this)});q.prototype.stop=function(){this.Kc(d.Kf)};q.prototype.rotateClockwise=function(){this.Kc(d.b1)};q.prototype.rotateCounterClockwise=
function(){this.Kc(d.c1)};q.prototype.zoomIn=function(){this.Kc(d.Ct)};q.prototype.zoomOut=function(){this.Kc(d.Dt)};q.prototype.set=function(n,r){if(this.get(n)!=r){switch(n){case "map":this.S6=!0;this.$d();break;case "viewerArea":this.Rh=!0;this.$d();break;case "panoramaMapLocation":this.h8=!0;this.$d();break;case "movementMode":this.rU=!0,this.$d()}b.prototype.set.call(this,n,r)}};q.prototype.hGa=function(n){var r=q.Et[n];n=new k(this,n,l.Ie);n.bind(f.ub,function(){this.Kc(r.movement)},this);r.stopOnRelease&&
n.bind(f.Zb,function(){this.Kc(d.Kf)},this);return n};q.prototype.CTa=function(n){this.Qm=null;this.set("map",n.get("map"));this.set("panoramaMapLocation",n)};q.prototype.$Xa=function(n){this.get("panoramaMapLocation")==n&&(this.set("panoramaMapLocation",null),this.Qm=null)};q.prototype.rn=function(n,r,t,u){this.L&&this.L.rn(n,r,t,u);this.Qm={yaw:r,pitch:t,hfov:u}};q.prototype.Qg=function(){this.Rh&&(this.Rh=!1,this.bu(),this.get("viewerArea")&&this.Zt(),this.vN(this.get("viewerArea")));if(this.L){if(this.S6){this.S6=
!1;var n=this.get("map");n?(this.EI(),this.L.Lza(n)):this.L.cw();this.h8=this.rU=!0}this.h8&&(this.h8=!1,n=this.get("panoramaMapLocation"),this.L.gw(n),n&&this.Qm&&this.L.rn(n,this.Qm.yaw,this.Qm.pitch,this.Qm.hfov));this.rU&&(this.rU=!1,this.L.Qq(this.get("movementMode")))}};q.prototype.eH=function(){this.set("map",null)};q.prototype.Zt=function(){var n=this.get("viewerArea");this.j=new c;this.j.ja({left:0,top:0,bottom:0,right:0});n.Wa(this.j);this.L=new g(n,this.j);this.L.bind(g.Rj,this.Np,this);
this.L.bind(g.ft,this.li,this);this.L.bind(g.Sz,this.iG,this);this.L.bind(g.Uz,this.hy,this);this.L.bind(g.Tz,this.Ku,this);this.L.bind(g.Sj,this.rM,this,!0)};q.prototype.bu=function(){this.j&&(this.L.unbind(g.Rj,this.Np,this),this.L.unbind(g.ft,this.li,this),this.L.unbind(g.Sz,this.iG,this),this.L.unbind(g.Uz,this.hy,this),this.L.unbind(g.Tz,this.Ku,this),this.L.unbind(g.Sj,this.rM,this),this.L.clear(),this.j.getParent().removeChild(this.j),this.j=null)};q.prototype.hy=function(n){this.CL(n.data.map)};
q.prototype.Ku=function(n){this.BL(n.data.map)};q.prototype.Np=function(n){for(var r in q.Et)this.Zw[r].set("state",n.data[q.Et[r].pressedOn]?p.ob:p.He);this.trigger(new h(f.Cfa,n.data))};q.prototype.rM=function(n){this.trigger(new h(q.Sj,{yawDelta:n.data.yawDelta}))};q.prototype.li=function(n){this.j.getParent().ja({progressPercent:n.data.percent,progressVisible:!0})};q.prototype.iG=function(){this.j.getParent().set("progressVisible",!1)};q.prototype.Kc=function(n){this.L&&this.L.Pj(n)};q.Et={buttonRotateClockwise:{movement:d.b1,
pressedOn:"rotatingClockwise",stopOnRelease:!0},buttonRotateCounterClockwise:{movement:d.c1,pressedOn:"rotatingCounterClockwise",stopOnRelease:!0},buttonZoomIn:{movement:d.Ct,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:d.Dt,pressedOn:"zoomingOut",stopOnRelease:!0}};q.Sj="requestYawChange";return q});
define("ih",["require","lP","oH","cy","nx"],function(a){var e=a("lP"),h=a("oH"),m=a("cy");a=a("nx").define("PlayListItem",e,function(){e.call(this);this.A="stopped"});a.prototype.get=function(k,b){return"state"==k?this.A:e.prototype.get.call(this,k,b)};a.prototype.start=function(){this.N_a()};a.prototype.N_a=function(){if("stopped"==this.A||"stopping"==this.A)this.A="starting",this.trigger(new m(h.An))};a.prototype.dz=function(){this.FAa()};a.prototype.FAa=function(){if("starting"==this.A||"stopping"==
this.A)this.A="playing",this.trigger(new m(h.Tq))};a.prototype.stop=function(){this.VI()};a.prototype.VI=function(){if("playing"==this.A||"starting"==this.A)this.A="stopping",this.trigger(new m(h.Kf))};a.prototype.end=function(){this.GAa()};a.prototype.GAa=function(){if("stopping"==this.A||"starting"==this.A)this.A="stopped",this.trigger(new m(h.sb))};return a});
define("pi",["require","nx","da","ih"],function(a){var e=a("nx"),h=a("da"),m=a("ih");a=e.define("MapPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(h.Wg,this.hy,this),k.set("map",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&&k.get("map")==this.get("media")&&k.set("map",null);m.prototype.stop.call(this)};a.prototype.hy=function(){this.get("player").unbind(h.Wg,this.hy,this);this.get("player").bind(h.fm,
this.Ku,this);this.dz();this.get("player").get("map")!=this.get("media")&&this.Ku()};a.prototype.Ku=function(){this.get("player").unbind(h.fm,this.Ku,this);this.stop();this.end()};return a});
define("fY",["require","oH","nx","jK"],function(a){var e=a("oH"),h=a("nx"),m=a("jK"),k=h.define("MeasureModel3DObject",m,function(){m.call(this);this.bind(e.G("mode"),function(){this.trigger(k.wBa)},this,!0);this.bind(e.G("distance"),function(){this.trigger(k.sBa)},this,!0)});k.wBa="modeChange";k.sBa="distanceChange";return k});define("E",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("MeasureModel3DObjectPoint",e,function(){e.call(this)})});
define("ee",["require","nx","fV"],function(a){var e=a("nx"),h=a("fV");return e.define("OrbitModel3DCamera",h,function(){h.call(this)})});
define("pa",["require","exports","oH","gi"],function(a,e,h,m){var k=function(){return function(b){this.Hua=b;this.Sg=0;this.finished=!1}}();return function(b){function g(d){var c=b.call(this)||this;c.Dm=new Map;c.nF=d||c;return c}Z(g,b);g.prototype.KYa=function(d){if(this.nF=d)this.Fj(),this.kaa()};g.prototype.Gua=function(){this.Dm.forEach(function(d,c){this.OV(c)}.bind(this));this.Dm=new Map};g.prototype.dj=function(){var d=0;this.Dm.forEach(function(c){c.finished&&d++});return d==this.Dm.size};
g.prototype.dispose=function(){this.Gua();this.Dm.clear();this.nF=void 0};g.prototype.FH=function(d,c){void 0===c&&(c=1);if(this.Dm.has(d))return d;this.Dm.set(d,new k(c));this.CDa(d);return d};g.prototype.DI=function(d){this.Dm.has(d)&&(this.Dm["delete"](d),this.OV(d))};g.prototype.gz=function(d){void 0===d&&(d=1);var c=new m;return this.FH(c,d)};g.prototype.nd=function(d){d=d.source;var c=this.Dm.get(d);c&&(this.OV(d),c.Sg=100,c.finished=!0,this.Fj(),this.kaa())};g.prototype.li=function(d){this.Dm.get(d.source).Sg=
d.data.percent;this.Fj()};g.prototype.Pf=function(d){d=d.source;this.OV(d);d=this.Dm.get(d);d.finished=!0;d.Sg=100;this.nF.trigger(h.tc);this.Fj();this.kaa()};g.prototype.Fj=function(){var d=0,c=0;this.Dm.forEach(function(f){c+=f.Hua;d+=f.Sg*f.Hua});this.nF.trigger(h.ec,{percent:d/c})};g.prototype.kaa=function(){this.dj()&&this.nF.trigger(h.Z)};g.prototype.CDa=function(d){d.bind(h.Z,this.nd,this,!0);d.bind(h.ec,this.li,this,!0);d.bind(h.tc,this.Pf,this,!0)};g.prototype.OV=function(d){d.unbind(h.Z,
this.nd,this);d.unbind(h.ec,this.li,this);d.unbind(h.tc,this.Pf,this)};return g}(m)});
define("fD","require oH kO nx en ee pa".split(" "),function(a){function e(r,t){Array.isArray(t)?r.fromArray(t):r.copy(t);return r}function h(r,t){Array.isArray(t)?r.fromArray(t):r.copy(t);return r}function m(r,t){if(Array.isArray(t))return r.toArray(t);t.x=r.x;t.y=r.y;t.z=r.z;return t}var k=a("oH"),b=a("kO"),g=a("nx"),d=a("en"),c=a("ee"),f=a("pa");a=g.define("Model3D",d,function(){d.call(this);this.set("camera",new c);this.set("geometryQuery",void 0);this.set("objectQuery",void 0);this.set("preload",
!0)});a.prototype.vda=function(){this.si&&(this.si.unbind(k.Z,this.qM,this),this.si.dispose());this.si=new f;this.si.bind(k.Z,this.qM,this,!0);this.ye&&this.ye.dispose();this.ye=new f(this)};a.prototype.qM=function(){this.trigger(k.nJ)};a.prototype.GY=function(){this.ye||this.vda();return this.ye};a.prototype.KY=function(){this.si||this.vda();return this.si};a.prototype.pause=function(){this.get("state")==b.X&&this.set("state",b.Eb)};a.prototype.play=function(){this.set("state",b.X)};a.prototype.stop=
function(){this.set("state",b.T)};a.prototype.worldPositionToLocal=function(r,t){h(l,r);e(q,t);q.invert();l.applyMatrix4(q);return m(l,r)};a.prototype.getMatrixWorld=function(r){var t=this.get("objectQuery");return t&&t.Kva(r)};a.prototype.worldDirectionToLocal=function(r,t){h(l,r);e(n,t);q.extractRotation(n);q.invert();l.applyMatrix4(q);return m(l,r)};a.prototype.testIntersection=function(r,t){var u=this.get("geometryQuery");if(u)return h(l,r),h(p,t),u.sAa(l,p)};a.prototype.getDistanceToFloor=function(r){var t=
this.get("geometryQuery");if(t)return h(l,r),t.XUa(l)};a.prototype.pick=function(r,t){var u=this.get("picker");if(u)return u.OZ(r,t)};a.prototype.getScreenPosition=function(r,t){var u=this.get("projectionQuery");if(u)return u.jca(h(l,r),t)};var l=new THREE.Vector3,p=new THREE.Vector3,q=new THREE.Matrix4,n=new THREE.Matrix4;a.prototype.Ls=function(){return[]};return a});
define("be",["require","lP","kO","oH","nx"],function(a){var e=a("lP"),h=a("kO"),m=a("oH");a=a("nx").define("Model3DAnimation",e,function(){e.call(this);this.bind(m.G("state"),function(){this.trigger(m.ne)},this,!0)});a.prototype.pause=function(){this.get("state")==h.X&&this.set("state",h.Eb)};a.prototype.play=function(){this.set("currentDirection","forward");this.set("state",h.X)};a.prototype.reverse=function(){this.set("currentDirection","backward");this.set("state",h.X)};a.prototype.stop=function(){this.set("currentTime",
0);this.set("state",h.T)};return a});
define("gO",["require","lP","kO","nx","oH"],function(a){var e=a("lP"),h=a("kO"),m=a("nx"),k=a("oH");a=m.define("Model3DCameraSequence",e,function(){e.call(this);this.set("state",h.T);this.bind(k.G("state"),function(){this.trigger(k.ne)},this,!0)});a.prototype.play=a.prototype.play=function(){this.set("state",h.X)};a.prototype.pause=a.prototype.pause=function(){this.get("state")==h.X&&this.set("state",h.Eb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",h.T)};return a});
define("it","require lo oH cy jD da kO ed gJ".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("jD"),b=a("da"),g=a("kO"),d=a("ed"),c=a("gJ");a=e.extend(b,function(){b.call(this,!0);this.Sr=!1;this.cH=!0;this.A=g.T;this.MA=new k(this,"buttonPlayPause",d.Xj);this.MA.bind(h.Vj,this.zMa,this,!0);this.MA.bind(h.jm,this.AMa,this,!0);this.ME=new k(this,"buttonPause",d.Ie);this.ME.bind(h.qa,this.gC,this,!0);this.NE=new k(this,"buttonPlay",d.Ie);this.NE.bind(h.qa,this.hC,this,!0);this.PE=new k(this,
"buttonStop",d.Ie);this.PE.bind(h.qa,this.qy,this,!0);this.bFa=new k(this,"buttonRestart",d.Ie);this.bFa.bind(h.qa,this.ny,this,!0);this.Ola=e.Io(this.ASa,this);this.Ola()});a.prototype.set=function(f,l){"state"!=f&&b.prototype.set.call(this,f,l)};a.prototype.get=function(f,l){switch(f){case "state":return this.A}return b.prototype.get.call(this,f,l)};a.prototype.ASa=function(){this.cH&&(this.cH=!1,this.ME.set("state",this.A==g.Eb?c.ob:c.He),this.NE.set("state",this.A==g.X||this.A==g.Eb?c.ob:c.He),
this.MA.set("pressed",this.A==g.X),this.PE.set("state",this.A==g.T?c.ob:c.He))};a.prototype.Ly=function(f){this.Sr!=f&&((this.Sr=f)||this.zc(g.T))};a.prototype.zc=function(f){var l=this.A;this.A=f;b.prototype.set.call(this,"state",f);l!=this.A&&(this.cH=!0,this.Ola(),this.trigger(new m(h.ne,{oldState:l,state:this.A})))};a.prototype.gC=function(){this.Sr&&(this.A==g.Eb?this.uk():this.Vp())};a.prototype.hC=function(){this.Sr&&this.uk()};a.prototype.zMa=function(){this.Sr&&this.uk()};a.prototype.AMa=
function(){this.Sr&&this.Vp()};a.prototype.qy=function(){this.Sr&&this.qo()};a.prototype.ny=function(){this.Sr&&(this.qo(),this.uk())};a.prototype.uk=function(){};a.prototype.Vp=function(){};a.prototype.qo=function(){};return a});
define("eI",["require","lo","bg","cy","gi"],function(a){var e=a("lo"),h=a("bg"),m=a("cy"),k=a("gi"),b=e.extend(k,function(g,d){k.call(this);this.M=g;this.j=d;this.Wp=null;this.oa=b.vh;this.Gg=this.bh=null;this.yg=this.Pg=void 0;this.A7=[]});b.prototype.display=function(g){this.Wp=null;if(this.Gg!=g||this.oa!=b.vh)this.Wp=g,this.ooa()};b.prototype.hide=function(){this.Wp="none";this.ooa()};b.prototype.clear=function(){this.oa=b.vh;this.Wp=null;this.TNa();this.bqa();this.j=null};b.prototype.mh=function(g){for(;this.A7.length;)this.A7.shift()();
this.oa==b.vh||this.oa!=b.Dn&&this.oa!=b.Nw&&this.oa!=b.zA||(this.yg+=g,g=Math.min(1,this.yg/this.Pg),this.oa==b.Dn?this.bh.set("opacity",g):this.oa==b.zA?(this.bh.set("opacity",Math.min(1,2*g)),this.Gg.set("opacity",Math.min(1,2*(1-g)))):this.Gg.set("opacity",1-g),this.yg<this.Pg?this.Ma():this.Bx())};b.prototype.fP=function(){return this.Gg&&this.j.fP(this.Gg)||void 0};b.prototype.ooa=function(){this.Wp&&this.oa==b.vh&&this.jp()};b.prototype.jp=function(){this.Gg&&this.trigger(new m(b.Vz,{model:this.Gg}));
"fade_out_fade_in"==this.M.get("transitionMode","blending")&&this.Gg?this.Vw():(this.bh="none"==this.Wp?null:this.Wp,this.Wp=null,this.bh?this.Gg?this.w2():this.KJ():this.Gg&&this.Vw())};b.prototype.KJ=function(){this.rha();this.j.Wda(this.bh,!1);this.yg=0;this.Pg=this.M.get("transitionDuration");this.oa=b.Dn;this.Ma()};b.prototype.w2=function(){this.rha();this.j.Wda(this.bh,!1);this.j.Wda(this.Gg,!0);this.yg=0;this.Pg=2*this.M.get("transitionDuration");this.oa=b.zA;this.Ma()};b.prototype.Vw=function(){this.bh=
null;this.yg=0;this.Pg=this.M.get("transitionDuration");this.oa=b.Nw;this.Ma()};b.prototype.Bx=function(){this.Wp!=this.Gg&&this.bqa();this.Gg=this.bh;this.bh=null;this.oa=b.vh;this.Gg?this.trigger(new m(b.Wz,{model:this.Gg})):this.Wp||this.trigger(new m(b.Z_));this.Wp&&this.jp()};b.prototype.Ma=function(){h.requestFrame(this.mh,this)};b.prototype.rha=function(){if(this.bh){this.bh.set("opacity",.01);this.bh.set("zIndex",1);this.Gg&&this.Gg.set("zIndex",0);this.bh.set("currentTime",0);this.j.bua(this.bh);
this.trigger(new m(b.o0,{model:this.bh}));var g=this.bh;this.A7.push(function(){this.trigger(new m(b.Xz,{model:g}))}.bind(this))}};b.prototype.bqa=function(){this.Gg&&(this.j.rda(this.Gg),this.trigger(new m(b.OQ,{model:this.Gg})),this.Gg=null)};b.prototype.TNa=function(){this.bh&&(this.j.rda(this.bh),this.trigger(new m(b.OQ,{model:this.bh})),this.bh=null)};b.vh="stopped";b.Dn="blending";b.zA="double blending";b.Nw="disolving";b.Db="request frame";b.o0="model added";b.OQ="model removed";b.Xz="model start";
b.Wz="model show";b.Vz="model hide";b.Z_="all pending models hidden";return b});
define("cO",["require","lo","gi","oH"],function(a){var e=a("lo"),h=a("gi"),m=a("oH");a=e.extend(h,function(k,b){h.call(this);this.M=k;this.j=b;this.Hh=null});a.prototype.clear=function(){this.stop();this.j=null};a.prototype.load=function(k){k!=this.Hh&&(this.stop(),this.j.WVa(k)?(this.Gsa(k),this.jX(k)):(this.Hh=k,this.Hh.set("opacity",0),this.GEa(),this.j.bua(this.Hh)))};a.prototype.stop=function(){this.Hh&&(this.T$(),this.j.rda(this.Hh),this.Hh=null)};a.prototype.qM=function(){this.Gsa(this.Hh)};
a.prototype.nd=function(){this.T$();var k=this.Hh;this.Hh=null;this.M.set("progressVisible",!1);this.jX(k)};a.prototype.Pf=function(){this.T$();this.Hh=null;this.M.set("progressVisible",!1)};a.prototype.li=function(k){this.M.ja({progressPercent:k.data.percent,progressVisible:!0})};a.prototype.GEa=function(){this.Hh.bind(m.nJ,this.qM,this,!0);this.Hh.bind(m.Z,this.nd,this,!0);this.Hh.bind(m.ec,this.li,this,!0);this.Hh.bind(m.tc,this.Pf,this,!0)};a.prototype.T$=function(){this.Hh.unbind(m.nJ,this.qM,
this,!0);this.Hh.unbind(m.Z,this.nd,this,!0);this.Hh.unbind(m.ec,this.li,this,!0);this.Hh.unbind(m.tc,this.Pf,this,!0)};a.prototype.Gsa=function(k){this.trigger(m.nJ,{model:k})};a.prototype.jX=function(k){this.trigger(m.Z,{model:k})};a.hfa=m.nJ;a.efa=m.Z;return a});
define("gZ","require lo oH cy gi kO".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("kO"),g=e.extend(k,function(){k.call(this);this.da=null;this.A=b.T});g.prototype.start=function(d){this.da=d;this.da.bind(h.G("camera"),this.s7,this,!0);this.da.bind(h.G("state"),this.Q7,this,!0);this.da.bind(h.G("currentTime"),this.XU,this,!0);this.da.bind(h.G("duration"),this.XU,this,!0);this.Q7();this.s7()};g.prototype.end=function(){this.stop();this.Ca&&(this.Ca.unbind(h.G("state"),this.RL,
this,!0),this.Ca=null);this.da&&(this.da.unbind(h.G("camera"),this.s7,this,!0),this.da.unbind(h.G("state"),this.Q7,this,!0),this.da.unbind(h.G("currentTime"),this.XU,this,!0),this.da.unbind(h.G("duration"),this.XU,this,!0),this.da=null)};g.prototype.clear=function(){this.end()};g.prototype.play=function(){this.da&&this.da.set("state",b.X)};g.prototype.pause=function(){this.da&&this.da.set("state",b.Eb)};g.prototype.stop=function(){this.da&&this.da.set("state",b.T)};g.prototype.setTime=function(d){this.da&&
this.da.set("currentTime",d)};g.prototype.getTime=function(){return this.da&&this.da.get("currentTime")||void 0};g.prototype.Q7=function(){var d=this.da.get("state");this.A!=d&&(this.A=d,this.Ca&&this.Ca.set("state",d),this.trigger(new m(g.Ec,{state:this.A})))};g.prototype.XU=function(){this.trigger(new m(g.hj,{model:this.da,time:this.da.get("currentTime"),duration:this.da.get("duration")}));this.RL()};g.prototype.s7=function(){this.Ca&&this.Ca.unbind(h.G("state"),this.RL,this,!0);(this.Ca=this.da.get("camera"))&&
this.Ca.bind(h.G("state"),this.RL,this,!0);this.RL()};g.prototype.RL=function(){0===this.da.get("duration")&&this.da.set("state",this.Ca?this.Ca.get("state"):b.T)};g.Ec="playback state change";g.hj="time change";return g});
define("dU","require lo kO cy gi eI cO gZ".split(" "),function(a){var e=a("lo"),h=a("kO"),m=a("cy"),k=a("gi"),b=a("eI"),g=a("cO"),d=a("gZ"),c=e.extend(k,function(f,l){k.call(this);this.M=f;this.j=l;this.j.set("visible",!1);this.pe=new g(this.M,this.j);this.Ia=new b(this.M,this.j);this.Ja=new d(this.j);this.pe.bind(g.hfa,this.foa,this,!0);this.pe.bind(g.efa,this.Mu,this,!0);this.Ia.bind(b.Vz,this.iy,this,!0);this.Ia.bind(b.Wz,this.ul,this,!0);this.Ia.bind(b.Xz,this.dM,this,!0);this.Ia.bind(b.o0,this.coa,
this,!0);this.Ia.bind(b.OQ,this.goa,this,!0);this.Ia.bind(b.Z_,this.ana,this,!0);this.Ja.bind(d.Ec,this.We,this,!0);this.Ja.bind(d.hj,this.Qp,this,!0)});c.prototype.clear=function(){this.pe.clear();this.Ia.clear();this.Ja.clear();this.pe.unbind(g.hfa,this.foa,this);this.pe.unbind(g.efa,this.Mu,this);this.Ia.unbind(b.Vz,this.iy,this);this.Ia.unbind(b.Wz,this.ul,this);this.Ia.unbind(b.Xz,this.dM,this);this.Ia.unbind(b.o0,this.coa,this);this.Ia.unbind(b.OQ,this.goa,this);this.Ia.unbind(b.Z_,this.ana,
this);this.Ja.unbind(d.Ec,this.We,this);this.Ja.unbind(d.hj,this.Qp,this);this.M=this.j=this.Ja=this.Ia=this.pe=null};c.prototype.nZa=function(f){this.j.set("visible",!0);this.pe.load(f)};c.prototype.cw=function(){this.Ia.hide();this.Ja.end()};c.prototype.play=function(){this.Ja.play()};c.prototype.stop=function(){this.Ja.stop()};c.prototype.pause=function(){this.Ja.pause()};c.prototype.setTime=function(f){this.Ja.setTime(f)};c.prototype.getTime=function(){return this.Ja.getTime()};c.prototype.fP=
function(){return this.Ia.fP()};c.prototype.foa=function(f){this.Ia.display(f.data.model)};c.prototype.Mu=function(){};c.prototype.coa=function(f){this.Ja.start(f.data.model)};c.prototype.dM=function(f){this.trigger(new m(c.Xz,{model:f.data.model}))};c.prototype.goa=function(){};c.prototype.ul=function(f){f=f.data.model;f.get("autoplay")&&f.get("state")!=h.X&&f.set("state",h.X);this.trigger(new m(c.Wz,{model:f}))};c.prototype.iy=function(f){this.trigger(new m(c.Vz,{model:f.data.model}))};c.prototype.ana=
function(){this.j.set("visible",!1)};c.prototype.Qp=function(f){this.trigger(new m(c.p0,f.data))};c.prototype.We=function(f){this.trigger(new m(c.Ec,{state:f.data.state}))};c.Wz="modelShow";c.Vz="modelHide";c.p0a="modelEnd";c.Xz="modelStart";c.p0="videoTimeChange";c.Ec="playbackStateChange";return c});
define("kb",["require","jquery.mod","v"],function(a){function e(){this.na=h("<div/>");this.na.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,"pointer-events":"none","background-color":"#ffffff"});this.na.hide()}var h=a("jquery.mod"),m=a("v");e.prototype.Ac=function(){return this.na};e.prototype.trigger=function(){m.browser()!=m.Xh&&this.na.fadeIn(100).fadeOut(100)};return e});
define("lX",["require","exports"],function(){return function(){function a(e,h){this.S=e;this.tag=h||"Entity";this.id=this.tag+"_"+a.XWa++;this.dn={};this.QP={};this.uea=0}a.prototype.getComponent=function(e){return this.dn[e.id]};a.prototype.J=function(e,h){void 0===h&&(h=!1);var m=this.dn[e.id];m?this.S.VTa(this,e):h&&(m=this.H(e));return m};a.prototype.H=function(e){if(e.id in this.dn)return this.dn[e.id];e.cZ&&this.uea++;var h=this.dn[e.id]=new e;this.S.wTa(this,e);return h};a.prototype.ma=function(e){var h;
void 0===h&&(h=!1);e.id in this.dn&&(e.cZ&&this.uea--,h?this.dn[e.id].clear():this.QP[e.id]=this.dn[e.id],delete this.dn[e.id],this.S.$ya(this,e,h))};a.prototype.YTa=function(){for(var e in this.QP)this.QP[e].clear(),delete this.QP[e]};a.prototype.TXa=function(){for(var e in this.dn){var h=this.dn[e].constructor;h.cZ||(this.QP[e]=this.dn[e],delete this.dn[e],this.S.$ya(this,h,!1))}};a.XWa=0;return a}()});define("ca",["require"],function(){function a(){this.id=a.n7++;this.C=[]}a.n7=0;return a});
define("kI",["require"],function(){function a(e,h){this.id=a.n7++;this.name=h;this.C=e.C;this.de=e.C.slice();this.Ua=[];this.pg=[]}a.prototype.WTa=function(){!this.de.length||(this.de=[]);!this.Ua.length||(this.Ua=[]);!this.pg.length||(this.pg=[])};a.n7=0;return a});
define("bp",["require","ca","kI"],function(a){function e(){this.bWa={};this.K={};this.JD={};this.XH={};this.Kv={};this.ID={};this.MO={};this.HD={}}function h(d){return"string"==typeof d?d:d.id}function m(d,c){0>d.indexOf(c)&&d.push(c);return d}function k(d,c){c=d.indexOf(c);0<=c&&d.splice(c,1);return d}var b=a("ca"),g=a("kI");e.prototype.ra=function(d){this.MO[d.id]={};this.MO[d.not]={}};e.prototype.mUa=function(d,c){d=this.JJa(d);c=new g(d,c);this.JD[d.id].push(c);return c};e.prototype.JJa=function(d){var c=
this.KJa(d);if(c=this.bWa[c])return c;c=new b;this.K[c.id]=c;d=d.map(h);this.HD[c.id]={};for(var f=0;f<d.length;f++){var l=d[f];this.HD[c.id][l]=!0;this.MO[l][c.id]=!0}this.ID[c.id]={};this.JD[c.id]=[];return c};e.prototype.KJa=function(d){d=d.map(h);d.sort();return d.join("-")};e.prototype.dXa=function(d){this.XH[d.id]={};this.Kv[d.id]={}};e.prototype.eXa=function(d){delete this.XH[d.id];delete this.Kv[d.id]};e.prototype.aXa=function(d,c){var f=c.id,l=c.not;c=d.id;this.XH[c][f]=!0;for(var p in this.Kv[c])if(l in
this.HD[p]){delete this.ID[p][c];delete this.Kv[c][p];k(this.K[p].C,d);for(var q=this.JD[p],n=0,r=q.length;n<r;n++){var t=q[n];m(t.pg,d);k(t.de,d);k(t.Ua,d)}}for(p in this.MO[f])if(!(c in this.ID[p])){f=!0;for(var u in this.HD[p])if(l="!"!=u[0],(l?u:u.slice(1))in this.XH[c]!=l){f=!1;break}if(f)for(this.ID[p][c]=!0,this.Kv[c][p]=!0,m(this.K[p].C,d),q=this.JD[p],n=0,r=q.length;n<r;n++)t=q[n],m(t.de,d),k(t.pg,d),k(t.Ua,d)}};e.prototype.cXa=function(d,c){var f=c.id,l="!"+f;c=d.id;delete this.XH[c][f];
for(var p in this.Kv[c])if(f in this.HD[p]){delete this.ID[p][c];delete this.Kv[c][p];k(this.K[p].C,d);for(var q=this.JD[p],n=0,r=q.length;n<r;n++){var t=q[n];m(t.pg,d);k(t.de,d);k(t.Ua,d)}}for(p in this.MO[l])if(!(c in this.ID[p])){f=!0;for(var u in this.HD[p])if(l="!"!=u[0],(l?u:u.slice(1))in this.XH[c]!=l){f=!1;break}if(f)for(this.ID[p][c]=!0,this.Kv[c][p]=!0,this.K[p].C.push(d),q=this.JD[p],n=0,r=q.length;n<r;n++)t=q[n],m(t.de,d),k(t.pg,d),k(t.Ua,d)}};e.prototype.bXa=function(d,c){c=c.id;var f=
d.id,l;for(l in this.Kv[f])if(c in this.HD[l]){f=this.JD[l];for(var p=0,q=f.length;p<q;p++)m(f[p].Ua,d)}};return e});
define("lg",["require","bg","lX","bp"],function(a){function e(b){this.mc=b;this.W=!0;this.eh={};this.kK=[];this.SFa={};this.LN=[];this.uC=new k;this.HS=[];this.yy=!1;this.hka=void 0}var h=a("bg"),m=a("lX"),k=a("bp");e.prototype.a_=function(b){this.hka=b};e.prototype.ra=function(b){this.SFa[b.id]=b;this.uC.ra(b);return this};e.prototype.Id=function(b,g){var d=new b(this,g);d.order=this.LN.length;this.LN.push(d);for(var c in b.K)d[c]=this.uC.mUa(b.K[c],g+"."+c);this.LN.sort(function(f,l){return f.priority-
l.priority||f.order-l.order});return this};e.prototype.ad=function(b){b=new m(this,b);this.eh[b.id]=b;this.uC.dXa(b);this.$a();return b};e.prototype.Qe=function(b){b.id in this.eh&&(delete this.eh[b.id],this.kK.push(b),b.TXa(),this.$a())};e.prototype.wTa=function(b,g){this.uC.aXa(b,g);this.$a()};e.prototype.$ya=function(b,g,d){this.uC.cXa(b,g);d||this.HS.push(b);this.$a()};e.prototype.VTa=function(b,g){this.uC.bXa(b,g);this.$a()};e.prototype.nc=function(b){this.W=b;this.$a()};e.prototype.$a=function(){this.W&&
!this.yy&&(this.yy=!0,h.requestFrame(this.update,this,this.hka))};e.prototype.update=function(b){b=b||0;this.yy=!1;for(var g=(new Date).getTime(),d=0;d<this.LN.length;d++){var c=this.LN[d];c.yd(b,g);for(var f in c.constructor.K)c[f].WTa()}for(d=0;d<this.HS.length;d++)this.HS[d].YTa();this.HS.length=0;for(d=this.kK.length-1;0<=d;d--)0==this.kK[d].uea&&(this.uC.eXa(this.kK[d]),this.kK.splice(d,1))};return e});
define("em",["require","exports"],function(){return function(){function a(){}a.prototype.clear=function(){};a.Sb=function(e){this.id=e+"Component";this.not="!"+this.id};a.Ic=function(e){this.Sb(e+"SystemState");this.cZ=!0};a.cZ=!1;return a}()});
define("fA",["require","exports","em"],function(a,e,h){var m;(function(k){var b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.bias=0;f.Xua=500;f.intensity=1;f.scale=100;f.Wwa=25;f.uxa=0;f.rba=4;f.output=null;return f}Z(c,d);return c}(h);k.cE=b;b.Sb("AmbientOcclusionEffect");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Yb=null;return f}Z(c,d);return c}(h);k.Animation=b;b.Sb("Animation");b=function(d){function c(){var f=null!==d&&d.apply(this,
arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.Ys=b;b.Ic("Animation");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.qva=!1;f.jAa=!1;f.sQ=2;return f}Z(c,d);return c}(h);k.Mz=b;b.Sb("AntialiasEffect");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.C=[];f.renderOrder=null;f.Ea=null;return f}Z(c,d);return c}(h);k.cm=b;b.Sb("Area");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.C=[];return f}Z(c,d);return c}(h);
k.sw=b;b.Ic("Area");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.YX=[];return f}Z(c,d);return c}(h);k.Nz=b;b.Ic("AreaPoint");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.uw=b;b.Sb("Beacon");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.position=null;return f}Z(c,d);return c}(h);k.vw=b;b.Ic("Beacon");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Ea=null;return f}
Z(c,d);return c}(h);k.Vq=b;b.Sb("BeaconTracker");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.position=null;return f}Z(c,d);return c}(h);k.ct=b;b.Ic("BeaconTracker");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.ng=null;f.jza=null;f.sz=!0;f.Yb=null;f.enabled=!0;f.TH=!0;return f}Z(c,d);return c}(h);var g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.source=null;f.oQ=null;f.opacity=1;f.isSprite=!1;f.hidden=!1;f.depthTest=
!0;return f}Z(c,d);return c}(h);k.Yh=g;g.Sb("CanvasMaterial");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.ww=g;g.Ic("CanvasMaterial");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.color="#000000";f.opacity=.5;return f}Z(c,d);return c}(h);k.KQ=g;g.Sb("ColorEffect");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.fJ=g;g.Sb("Data");g=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.Ea=null;f.direction=null;f.min=null;return f}Z(c,d);return c}(h);k.Po=g;g.Sb("Draggable");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Hba=null;return f}Z(c,d);return c}(h);k.xw=g;g.Ic("Draggable");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.yw=g;g.Sb("Dragging");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(b);k.hA=g;g.Sb("FirstPersonControls");
g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.it=g;g.Ic("FirstPersonControls");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.distance=0;f.qP=!1;f.x=0;f.y=0;f.z=0;return f}Z(c,d);return c}(h);k.jt=g;g.Sb("FloorTransform");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.Xq=g;g.Ic("FloorTransform");g=function(d){function c(){return null!==
d&&d.apply(this,arguments)||this}Z(c,d);return c}(b);k.iA=g;g.Sb("FlyOverControls");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.kt=g;g.Ic("FlyOverControls");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.geometry=null;return f}Z(c,d);return c}(h);k.Geometry=g;g.Sb("Geometry");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.group=null;return f}Z(c,d);return c}(h);k.Group=
g;g.Sb("Group");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.group=null;return f}Z(c,d);return c}(h);k.mE=g;g.Ic("Group");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Yb=null;f.rca=null;f.Ea=null;f.Eo=null;f.priority=void 0;f.isSprite=!1;return f}Z(c,d);return c}(h);k.gm=g;g.Sb("ImageMaterial");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.Dw=g;g.Ic("ImageMaterial");
g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.fza=7;f.intensity=1;return f}Z(c,d);return c}(h);k.jJ=g;g.Sb("MotionBlurEffect");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Yb=null;f.target=null;f.Yd=null;return f}Z(c,d);return c}(h);k.Light=g;g.Sb("Light");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.x1a=null;return f}Z(c,d);return c}(h);k.mt=g;g.Ic("Light");g=function(d){function c(){var f=null!==d&&d.apply(this,
arguments)||this;f.line=null;f.renderOrder=0;return f}Z(c,d);return c}(h);k.Line=g;g.Sb("Line");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.line=null;return f}Z(c,d);return c}(h);k.Fw=g;g.Ic("Line");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.color="#ffffff";f.opacity=1;f.width=1;f.depthTest=!0;return f}Z(c,d);return c}(h);k.Xg=g;g.Sb("LineMaterial");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;
return f}Z(c,d);return c}(h);k.Ew=g;g.Ic("LineMaterial");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Y=null;f.position=null;return f}Z(c,d);return c}(h);k.Yq=g;g.Sb("LineToTransform");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.Gw=g;g.Ic("LineToTransform");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.material=null;return f}Z(c,d);return c}(h);k.Material=g;g.Sb("Material");g=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.name=null;return f}Z(c,d);return c}(h);k.ot=g;g.Sb("MaterialVariant");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.ap=g;g.Ic("MaterialVariant");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Fo=null;f.renderOrder=0;return f}Z(c,d);return c}(h);k.Mesh=g;g.Sb("Mesh");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Fo=null;return f}
Z(c,d);return c}(h);k.ar=g;g.Ic("Mesh");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Yb=null;f.Qca=null;f.Mya=null;f.Eo=null;f.Ea=null;f.lca=null;return f}Z(c,d);return c}(h);k.sh=g;g.Sb("Model");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.pt=g;g.Ic("Model");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.lJ=g;g.Sb("NotCollidable");g=function(d){function c(){return null!==
d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.fCa=g;g.Ic("NotCollidable");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Fea=!0;f.Gea=!0;return f}Z(c,d);return c}(h);k.bp=g;g.Sb("NotSelectable");g=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.nA=g;g.Ic("NotSelectable");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Bc=null;return f}Z(c,d);return c}(h);k.Object3D=g;g.Sb("Object3D");g=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.id=null;f.container=null;return f}Z(c,d);return c}(h);k.sE=g;g.Sb("Object3DId");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.qt=g;g.Ic("Object3DId");g=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.FO=0;f.castShadow=void 0;f.receiveShadow=void 0;f.envMapIntensity=1;f.opacity=1;f.Ea=null;return f}Z(c,d);return c}(h);k.$h=g;g.Sb("ObjectTransform");g=function(d){function c(){return null!==
d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.Hw=g;g.Ic("ObjectTransform");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(b);k.oA=b;b.Sb("OrbitControls");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.rt=b;b.Ic("OrbitControls");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.width=100;f.height=100;return f}Z(c,d);return c}(h);k.OrthographicCamera=
b;b.Sb("OrthographicCamera");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.camera=null;f.width=void 0;f.height=void 0;return f}Z(c,d);return c}(h);k.Iw=b;b.Ic("OrthographicCamera");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Y=null;f.attach=!1;f.id=null;return f}Z(c,d);return c}(h);k.jb=b;b.Sb("Parent");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.parent=null;f.xd=null;f.id=void 0;f.attach=!1;return f}Z(c,d);
return c}(h);k.br=b;b.Ic("Parent");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.width=100;f.height=100;f.fov=75;f.near=.01;f.far=100;f.mua=!1;f.nua=0;return f}Z(c,d);return c}(h);k.PerspectiveCamera=b;b.Sb("PerspectiveCamera");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.camera=null;f.scene=null;f.boundingBox=null;f.sba=null;f.MZ=!1;f.width=void 0;f.height=void 0;f.fov=void 0;f.near=void 0;f.far=void 0;return f}Z(c,d);return c}(h);k.cr=b;
b.Ic("PerspectiveCamera");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Gf=1;f.Tf=1;f.nh=1;f.scale=1;f.uz=void 0;f.vz=void 0;return f}Z(c,d);return c}(h);k.ij=b;b.Sb("PixelScaleTransform");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.pA=b;b.Ic("PixelScaleTransform");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.renderOrder=null;return f}Z(c,d);return c}(h);k.Plane=b;b.Sb("Plane");b=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.tt=b;b.Ic("Plane");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Ea=null;f.enabled=!0;return f}Z(c,d);return c}(h);k.ef=b;b.Sb("Pointer");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Y=null;f.rotate=!0;f.Ea=null;return f}Z(c,d);return c}(h);k.Wj=b;b.Sb("PointerOverTransform");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=
null;return f}Z(c,d);return c}(h);k.dr=b;b.Ic("PointerOverTransform");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.ut=b;b.Ic("PointerDragging");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.vt=b;b.Ic("PointerSelection");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.RI=null;f.l_=null;f.o_=null;return f}Z(c,d);return c}(h);k.er=
b;b.Sb("ProjectedMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.RI=null;f.Bc=null;f.QI=null;f.material=null;f.wI=null;return f}Z(c,d);return c}(h);k.wt=b;b.Ic("ProjectedMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.WH=null;f.canvas=null;f.antialias=!0;f.shadowMap=!1;f.renderer=null;f.UP=[];return f}Z(c,d);return c}(h);k.th=b;b.Sb("Renderer");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=
null;return f}Z(c,d);return c}(h);k.gr=b;b.Ic("Renderer");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.opacity=1;f.locked=!1;f.enabled=!0;f.scene=null;f.ke=null;f.backgroundColor=null;f.mba=null;f.oua=null;f.bva=null;f.Lba=null;f.outputEncoding=null;f.Ea=null;return f}Z(c,d);return c}(h);k.Scene=b;b.Sb("Scene");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.scene=null;f.manager=null;return f}Z(c,d);return c}(h);k.ir=b;b.Ic("Scene");b=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.Ea=null;f.wQ=!1;f.Iv=!0;f.aw=!1;f.Oo=!1;return f}Z(c,d);return c}(h);k.ld=b;b.Sb("Selectable");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.qA=b;b.Ic("Selectable");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.color="#ffffff";f.opacity=1;f.depthTest=!0;f.doubleSided=!1;return f}Z(c,d);return c}(h);k.Fc=b;b.Sb("SolidMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,
arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.yt=b;b.Ic("SolidMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.radius=1;f.widthSegments=32;f.heightSegments=16;f.renderOrder=0;return f}Z(c,d);return c}(h);k.Sphere=b;b.Sb("Sphere");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.rA=b;b.Ic("Sphere");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.HH=.5;f.IH=.5;f.height=100;
f.width=100;f.scale=1;f.sizeAttenuation=!1;f.p_a=null;f.renderOrder=0;return f}Z(c,d);return c}(h);k.Sprite=b;b.Sb("Sprite");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.jr=b;b.Ic("Sprite");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Gv=!1;f.positionX=0;f.positionY=0;f.positionZ=0;f.Se=0;f.se=0;f.Te=0;f.bg="XYZ";f.scale=1;f.Gf=1;f.Tf=1;f.nh=1;f.translationX=0;f.translationY=0;f.cf=0;f.easing=0;
f.Ea=null;return f}Z(c,d);return c}(h);k.ya=b;b.Sb("Transform");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.Gv=!1;f.positionX=0;f.positionY=0;f.positionZ=0;f.Se=0;f.se=0;f.Te=0;f.bg="XYZ";f.scale=1;f.Gf=1;f.Tf=1;f.nh=1;f.translationX=0;f.translationY=0;f.cf=0;return f}Z(c,d);return c}(h);k.Lf=b;b.Ic("Transform");b=function(d){function c(){return null!==d&&d.apply(this,arguments)||this}Z(c,d);return c}(h);k.tA=b;b.Ic("TransformEasing");b=function(d){function c(){var f=
null!==d&&d.apply(this,arguments)||this;f.Yb=null;f.Oea=null;f.Ea=null;return f}Z(c,d);return c}(h);k.Cn=b;b.Sb("VideoMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.manager=null;return f}Z(c,d);return c}(h);k.Lw=b;b.Ic("VideoMaterial");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.ke=null;f.width=null;f.height=null;return f}Z(c,d);return c}(h);k.Zj=b;b.Sb("Viewport");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||
this;f.ke=null;f.Yb=null;return f}Z(c,d);return c}(h);k.Mw=b;b.Sb("ViewportPlaneGeometry");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.geometry=null;f.aAa=void 0;f.Zza=void 0;f.xwa=void 0;f.verticalAlign=void 0;f.gza=void 0;f.zIndex=void 0;return f}Z(c,d);return c}(h);k.At=b;b.Ic("ViewportPlaneGeometry");b=function(d){function c(){var f=null!==d&&d.apply(this,arguments)||this;f.wya=1;f.Fwa=.5;f.color="#000000";f.opacity=.5;return f}Z(c,d);return c}(h);k.xE=b;b.Sb("VignetteEffect")})(m||
(m={}));return m});define("ly",["require"],function(){function a(e,h){this.S=e;this.name=h;this.priority=0}a.prototype.yd=function(){};return a});
define("cd",["require","oH","kO"],function(a){function e(k,b,g,d,c){this.m=k;this.cd=b;this.cg=g;this.ak=d;this.Aa=c;this.xW()}var h=a("oH"),m=a("kO");e.prototype.getAnimations=function(){return this.cg};e.prototype.$O=function(){return this.ak};e.prototype.frame=function(k){this.A==m.X&&(this.ds(this.wh.time+k/1E3),this.Aa())};e.prototype.dispose=function(){this.aX();this.Pw=this.DA=this.wh=this.Aa=this.ak=this.cg=this.cd=this.m=null};e.prototype.xW=function(){this.wh=new THREE.AnimationMixer(this.cd);
this.qb=0;this.Hb=!1;this.DA=[];this.Pw=[];for(var k=0;k<this.cg.length;k++){var b=this.cg[k],g="alternate"==b.get("animationDirection"),d=this.qb;this.qb+=this.ak[k].duration*(g?2:1);this.Pw.push({start:d,end:this.qb});d=this.wh.clipAction(this.ak[k]);g?d.setLoop(THREE.LoopPingPong,2):d.setLoop(THREE.LoopOnce,1);this.DA.push(d);b.set("state",m.T);b.set("currentTime",0);b.set("duration",this.ak[k].duration)}this.A=m.T;this.Zk=void 0;this.m.bind(h.G("state"),this.Bf,this,!0);this.m.bind(h.G("currentTime"),
this.YB,this,!0);this.m.bind(h.G("animationDirection"),this.vna,this,!0);this.m.set("duration",this.qb);this.ds(0);this.m.get("autoplay")&&this.m.set("state",m.X)};e.prototype.aX=function(){this.m.unbind(h.G("state"),this.Bf,this,!0);this.m.unbind(h.G("currentTime"),this.YB,this,!0);this.m.unbind(h.G("animationDirection"),this.vna,this,!0);this.m.set("state",m.T);for(var k=0;k<this.cg.length;k++)this.DA[k].stop(),this.wh.uncacheClip(this.ak[k]),this.cg[k].set("state",m.T),this.cg[k].set("currentTime",
0);this.m.set("duration",void 0);this.m.set("currentTime",void 0)};e.prototype.vna=function(){this.aX();this.xW()};e.prototype.Bf=function(){var k=this.m.get("state");this.A!=k&&(this.A==m.T?k==m.Eb?this.m.set("state",m.T):k==m.X&&(this.A=m.X,this.Hb=!1,this.ds(0),this.Aa()):this.A==m.X?k==m.T?(this.A=m.T,this.Hb&&"last"==this.m.get("finalFrame")?this.ds(this.qb):this.ds(0)):k==m.Eb&&(this.A=m.Eb):this.A==m.Eb&&(k==m.X?(this.A=m.X,this.Aa()):k==m.T&&(this.A=m.T,this.ds(0))),void 0!==this.Zk&&this.cg[this.Zk].set("state",
this.A),this.m.set("state",this.A))};e.prototype.YB=function(){var k=this.m.get("currentTime");this.wh.time!=k&&(this.A!=m.T&&this.ds(k),this.m.set("currentTime",this.wh.time))};e.prototype.ds=function(k){if(this.wh.time!=k||void 0===this.Zk)if(k>this.qb)this.m.get("loop")?this.m.set("currentTime",k%this.qb):(this.Hb=!0,this.m.trigger(h.sb),this.m.set("state",m.T));else{for(var b=this.Zk||0;k>this.Pw[b].end;)b++;for(;k<this.Pw[b].start;)b--;if(this.Zk!==b){for(var g=this.Zk||0;g<b;g++){var d=this.cg[g],
c=this.DA[g],f=this.Pw[g];"last"==d.get("finalFrame")&&"normal"==d.get("animationDirection")?(c.reset(),c.startAt(f.start),d.set("currentTime",d.get("duration")),c.clampWhenFinished=!0,c.play()):(d.set("currentTime",0),c.stop(),c.clampWhenFinished=!1);d.set("state",m.T)}d=this.cg[b];c=this.DA[b];f=this.Pw[b];c.reset();c.startAt(f.start);c.clampWhenFinished="last"==d.get("finalFrame")&&"normal"==d.get("animationDirection");c.play();for(g=this.Zk||0;g>b;g--)d=this.cg[g],c=this.DA[g],d.set("currentTime",
0),c.stop();this.Zk=b}else c=this.DA[this.Zk],k<this.wh.time&&(c.reset(),c.startAt(this.Pw[this.Zk].start)),c.paused=!1;this.wh.update(k-this.wh.time);d=this.cg[this.Zk];d.set("state",this.A);k=this.wh.time-this.Pw[this.Zk].start;d=d.get("duration");b=k>d;this.cg[this.Zk].set("currentTime",b?2*d-k:k);this.cg[this.Zk].set("currentDirection",b?"backward":"forward");this.m.set("currentTime",this.wh.time);this.Aa()}};return e});
define("oz",["require","oH","kO"],function(a){function e(k,b,g,d,c){this.m=k;this.cd=b;this.cg=g;this.ak=d;this.Aa=c;this.F7=this.F7.bind(this);this.z7=this.z7.bind(this);this.xW()}var h=a("oH"),m=a("kO");e.prototype.dispose=function(){this.aX();this.Aa=this.ak=this.cg=this.cd=this.m=null};e.prototype.getAnimations=function(){return this.cg};e.prototype.$O=function(){return this.ak};e.prototype.frame=function(k){0<this.Gt.length&&(this.wh.update(k/1E3),this.Gt.forEach(function(b){this.Iha(b)}.bind(this)),
this.Aa())};e.prototype.xW=function(){this.wh=new THREE.AnimationMixer(this.cd);this.wh.addEventListener("loop",this.F7);this.wh.addEventListener("finished",this.z7);this.pr=new Map;this.rR=new Map;this.Gt=[];for(var k=0;k<this.cg.length;k++){var b=this.cg[k],g=this.ak[k];this.rR.set(b,g);var d=this.wh.clipAction(g);this.pr.set(b,d);b.set("duration",g.duration);b.set("currentTime",b.get("currentTime")||0);b.set("currentDirection","forward");b.bind(h.G("state"),this.jna,this,!0);b.bind(h.G("animationDirection"),
this.gna,this,!0);b.bind(h.G("currentTime"),this.fna,this,!0);b.bind(h.G("currentDirection"),this.ena,this,!0);b.bind(h.G("loop"),this.ina,this,!0);b.bind(h.G("finalFrame"),this.hna,this,!0);this.kH(b)}this.Aa()};e.prototype.aX=function(){for(var k=0;k<this.cg.length;k++){var b=this.cg[k];b.unbind(h.G("state"),this.jna,this,!0);b.unbind(h.G("animationDirection"),this.gna,this,!0);b.unbind(h.G("currentTime"),this.fna,this,!0);b.unbind(h.G("currentDirection"),this.ena,this,!0);b.unbind(h.G("loop"),
this.ina,this,!0);b.unbind(h.G("finalFrame"),this.hna,this,!0);this.pr.get(b).stop();this.pr["delete"](b);this.wh.uncacheClip(this.rR.get(b));this.rR["delete"](b);this.cg[k].set("state",m.T);this.cg[k].set("currentTime",0)}this.wh=this.rR=this.pr=null};e.prototype.F7=function(k){this.pr.forEach(function(b,g){k.action==b&&g.get("loop")&&g.trigger(h.fr)})};e.prototype.z7=function(k){this.pr.forEach(function(b,g){k.action==b&&(this.Iha(g),g.set("state",m.T),"alternate"==g.get("animationDirection")&&
g.set("currentDirection","forward"==g.get("currentDirection")?"backward":"forward"),g.trigger(h.sb))}.bind(this))};e.prototype.gna=function(k){this.kH(k.source)};e.prototype.ina=function(k){this.kH(k.source)};e.prototype.hna=function(k){this.kH(k.source)};e.prototype.ena=function(k){var b=k.source,g=this.pr.get(b),d=g.time,c=b.get("duration");b.get("loop")||0==d||d==c||g.reset();this.kH(k.source)};e.prototype.fna=function(k){this.kH(k.source)};e.prototype.Iha=function(k){this.Gha=!0;var b=this.pr.get(k),
g="alternate"==k.get("animationDirection");g=0<b._loopCount&&1==b._loopCount%2&&g;k.set("currentDirection",g?"backward":"forward");b=b.time;var d=k.get("duration");g?k.set("currentTime",d-b):k.set("currentTime",b);this.Gha=!1};e.prototype.kH=function(k){if(!this.Gha){var b=this.pr.get(k),g="alternate"==k.get("animationDirection"),d="backward"==k.get("currentDirection")&&g,c=k.get("loop"),f="last"==k.get("finalFrame"),l=k.get("currentTime");k=k.get("duration");c?(b.loop=g?THREE.LoopPingPong:THREE.LoopRepeat,
b.repetitions=Infinity,b.clampWhenFinished=!1):d?(b.loop=THREE.LoopPingPong,b.repetitions=2,b.clampWhenFinished=!1):(b.loop=THREE.LoopOnce,b.repetitions=1,b.clampWhenFinished=f||g);g=g&&-1==b._loopCount?d?k+k-l:l:g&&1==b._loopCount%2?k-l:l;b.time!=g&&(b.time=g,b.paused&&b.enabled&&0==g&&b.stop());this.Aa()}};e.prototype.jna=function(k){this.QRa(k.source)};e.prototype.QRa=function(k){var b=this.pr.get(k),g=k.get("state");var d=0<=this.Gt.indexOf(k)?m.X:b.paused&&b.enabled&&b.time<k.get("duration")?
m.Eb:m.T;d!=g&&(d==m.X?g==m.Eb?(this.Gt.splice(this.Gt.indexOf(k),1),b.paused=!0):g==m.T&&(this.Gt.splice(this.Gt.indexOf(k),1),!b.paused&&b.enabled&&b.stop()):d==m.Eb?g==m.X?(this.Gt.push(k),b.paused=!1):g==m.T&&b.stop():d==m.T&&(g==m.X?(this.Gt.push(k),b.paused&&b.enabled&&"alternate"==k.get("animationDirection")&&"backward"==k.get("currentDirection")?b.paused=!1:(b.reset(),b.play(),b.fadeIn(.1))):g==m.Eb&&(g=m.T)),k.set("state",g),this.Aa())};return e});
define("three.mod",["require","exports"],function(){return window.THREE});
define("cm",["require","exports","fA","three.mod"],function(a,e,h,m){return function(){function k(){}k.yb=function(b){return b?b.constructor==m.Object3D?b:(b=b.getComponent(h.Object3D))?b.Bc:null:null};k.getWorldPosition=function(b,g){g=g||new m.Vector3;b=this.yb(b);if(!b)return null;g.setFromMatrixPosition(b.matrixWorld);return g};k.eQ=function(b,g){(b=b.getComponent(h.Object3D))&&null!==b.Bc&&(b=b.Bc,b.matrixAutoUpdate=!1,b.matrixWorldNeedsUpdate=!1,g.Gv&&b.parent?(b.parent.updateWorldMatrix(!0,
!1),b.matrix.copy(b.parent.matrixWorld).invert()):b.matrix.identity(),b.matrix.multiply(this.oZ.makeTranslation(g.translationX,g.translationY,g.cf)),b.matrix.multiply(this.oZ.makeRotationFromEuler(this.AUa.set(g.Se*this.uE,g.se*this.uE,g.Te*this.uE,g.bg))),b.matrix.multiply(this.oZ.makeTranslation(g.positionX,g.positionY,g.positionZ)),b.matrix.multiply(this.oZ.makeScale(g.scale*g.Gf,g.scale*g.Tf,g.scale*g.nh)),b.updateMatrixWorld(!0))};k.$O=function(b){if(!b)return[];b=b.getComponent(h.sh);return(b=
null===b||void 0===b?void 0:b.lca)?b.animations||[]:[]};k.Rba=function(b){return b.getComponent(h.OrthographicCamera)||b.getComponent(h.PerspectiveCamera)};k.Mj=function(b){return this.hI(this.yb(b))};k.hI=function(b){for(;b&&!b.isScene;)b=b.parent;return b};k.HZa=function(b,g){b.userData.camera=g};k.KZa=function(b,g,d){b.userData.width=g;b.userData.height=d};k.IZa=function(b,g){b.userData.encoding!==g&&(b.userData.encoding=g,this.Mea(b))};k.JZa=function(b,g){b.userData.rva!==g&&(b.userData.rva=g,
this.Mea(b))};k.Ms=function(b){return b.userData.camera};k.LY=function(b){return b.userData.width};k.kI=function(b){return b.userData.height};k.gP=function(b){return b.userData.encoding};k.h_=function(b,g){b.userData.background!==g&&(b.userData.background=g,this.Mea(b))};k.Mea=function(b){if(b&&b.userData){var g=b.userData.background,d=b.userData.encoding,c=b.userData.rva;g&&g.isColor?b.background=d==m.sRGBEncoding&&c?g.clone().convertSRGBToLinear():g:(g&&g.isTexture&&(g.encoding=d==m.sRGBEncoding?
m.sRGBEncoding:m.LinearEncoding),b.background=g)}};k.vTa=function(b,g){var d=b.userData.rea||(b.userData.rea=[]);0<=d.indexOf(g)||(d.push(g),b.add(g),this.Iea(b))};k.Vya=function(b,g){var d=b.userData.rea;if(d){var c=d.indexOf(g);0>c||(d.splice(c,1),b.remove(g))}};k.Iea=function(b){var g=b.userData.rea;if(g){var d=.99*-b.far;g.forEach(function(c){c.position.z=d})}};k.Zta=function(b,g){var d=b.userData.pea||(b.userData.pea=[]);0<=d.indexOf(g)||(d.push(g),b.add(g),this.KAa(b))};k.Wya=function(b,g){var d=
b.userData.pea;if(d){var c=d.indexOf(g);0>c||(d.splice(c,1),b.remove(g))}};k.KAa=function(b){var g=b.userData.pea;if(g){var d=.99*b.far;g.forEach(function(c){c.scale.x=c.scale.y=c.scale.z=d})}};k.iI=function(b){if((b=this.yb(b))&&b.parent){var g=this.hI(b);if(g){var d=this.Ms(g);if(d)return b.matrixWorld.decompose(this.objectPosition,this.YWa,this.CP),this.objectPosition.applyMatrix4(d.matrixWorldInverse),this.CP.setFromMatrixScale(b.parent.matrixWorld),2*Math.abs(this.objectPosition.z)*Math.tan(d.fov*
this.uE/2)/(this.kI(g)*Math.max(this.CP.x,this.CP.y,this.CP.z))}}};k.kz=function(b,g){if(b.userData.id===g)return b;var d=null;if(b.children)for(var c=0;c<b.children.length&&!d;c++)d=this.kz(b.children[c],g);if(!d&&b.skeleton)for(c=0;c<b.skeleton.bones.length&&!d;c++)d=this.kz(b.skeleton.bones[c],g);return d};k.yva=function(){this.Iba||(this.Iba=new m.WebGLRenderer);return this.Iba};k.oZ=new m.Matrix4;k.AUa=new m.Euler;k.objectPosition=new m.Vector3;k.YWa=new m.Quaternion;k.CP=new m.Vector3;k.uE=
Math.PI/180;k.Iba=null;return k}()});
define("C","require ky kO fA be cd oz cm".split(" "),function(a){function e(l){this.o=l;this.ak=this.cd=null;this.sR={};this.BS=new Map;this.Kr=this.$k=this.m=null;this.Zf=!1;this.PL=this.PL.bind(this);this.update()}function h(l,p){if(l==p||!(null!=l&&0!=l.length||null!=p&&0!=p.length))return!0;if(null==l||null==p||l.length!=p.length)return!1;for(var q=0;q<l.length;q++)if(l[q]!=p[q])return!1;return!0}var m=a("ky"),k=a("kO"),b=a("fA"),g=a("be"),d=a("cd"),c=a("oz"),f=a("cm");e.prototype.update=function(){var l=
this.o.getComponent(b.Animation);this.Il(l&&l.Yb)};e.prototype.frame=function(l,p){this.sH();this.Zf&&(this.Zf=!1,this.$k&&this.$k.frame(l,p),this.Kr&&this.Kr.frame(l,p))};e.prototype.dispose=function(){this.Il(null)};e.prototype.Il=function(l){this.m!=l&&(this.m&&(m.ba(this.m,["animations.autoplay"],this.PL),this.pOa()),(this.m=l)&&m.eD(this.m,["animations.autoplay"],this.PL),this.PL())};e.prototype.PL=function(){this.Tsa()};e.prototype.sH=function(){if(!this.cd){var l=f.yb(this.o),p=f.$O(this.o);
if(this.cd!=l||this.ak!=p)this.cd=l,this.ak=p,this.sR={},this.ak.forEach(function(q){q.name&&(this.sR[q.name]=q)}.bind(this)),this.Tsa()}};e.prototype.Tsa=function(){var l=this.m&&this.m.get("animations")||[],p=this.ak||[],q=p.slice(),n=[],r=[],t=[],u=[];l.length&&p.length&&l.forEach(function(v){var w=v.get("index"),x=v.get("name"),y;void 0!==w&&w<p.length?y=p[w]:void 0!==x&&x in this.sR&&(y=this.sR[x]);0<=q.indexOf(y)&&(q.splice(q.indexOf(y),1),v.get("autoplay")?(n.push(y),r.push(v)):(t.push(y),
u.push(v)))}.bind(this));this.m&&0==r.length&&0<q.length&&(r=q.map(function(v){if(this.BS.has(v))return this.BS.get(v);var w=new g;this.BS.set(v,w);return w}.bind(this)),n=q);h(this.$k&&this.$k.getAnimations()||[],r)&&h(this.$k&&this.$k.$O()||[],n)||(this.$k&&(this.$k.dispose(),this.$k=null),0<r.length&&(this.$k=new d(this.m,this.cd,r,n,this.Aa.bind(this))));h(this.Kr&&this.Kr.getAnimations()||[],u)&&h(this.Kr&&this.Kr.$O()||[],t)||(this.Kr&&(this.Kr.dispose(),this.Kr=null),0<u.length&&(this.Kr=new c(this.m,
this.cd,u,t,this.Aa.bind(this))))};e.prototype.pOa=function(){(this.m&&this.m.get("animations")||[]).forEach(function(l){l.set("state",k.T);l.set("currentTime",0)});this.BS.clear()};e.prototype.Aa=function(){this.Zf||(this.Zf=!0,this.o.S.$a())};e.Ob=function(l){l.H(b.Ys).manager=new e(l)};e.eb=function(l){var p=l.getComponent(b.Ys);p.manager.dispose();p.manager=null;l.ma(b.Ys)};e.update=function(l){l.getComponent(b.Ys).manager.update()};e.frame=function(l,p,q){l.getComponent(b.Ys).manager.frame(p,
q)};return e});
define("mX",["require","lo","ly","fA","C"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("C");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(b,g){this.gua.C.length&&this.gua.C.slice().forEach(k.Ob);this.animations.Ua.length&&this.animations.Ua.slice().forEach(function(d){k.update(d,b,g)});this.animations.C.length&&this.animations.C.slice().forEach(function(d){k.frame(d,b,g)});this.hua.C.length&&this.hua.C.slice().forEach(k.eb)};a.K={};a.K.gua=[m.Animation,m.Ys.not];
a.K.hua=[m.Animation.not,m.Ys];a.K.animations=[m.Animation,m.Ys];return a});
define("fa",["require"],function(){function a(v,w,x,y,A){for(var B,z=0,C=w,H=x-y;C<x;C+=y)z+=(v[H]-v[C])*(v[C+1]+v[H+1]),H=C;if(A===0<z)for(A=w;A<x;A+=y)B=r(A,v[A],v[A+1],B);else for(A=x-y;A>=w;A-=y)B=r(A,v[A],v[A+1],B);B&&c(B,B.next)&&(t(B),B=B.next);return B}function e(v,w){if(!v)return v;w||(w=v);do{var x=!1;if(v.kAa||!c(v,v.next)&&0!==d(v.prev,v,v.next))v=v.next;else{t(v);v=w=v.prev;if(v===v.next)break;x=!0}}while(x||v!==w);return w}function h(v,w,x,y,A,B,z){if(v){if(!z&&B){var C=v,H=C;do 0===
H.z&&(H.z=b(H.x,H.y,y,A,B)),H.Lq=H.prev,H=H.Xl=H.next;while(H!==C);H.Lq.Xl=null;H.Lq=null;C=H;var D,I,F,N,S=1;do{H=C;var Q=C=null;for(I=0;H;){I++;var R=H;for(D=F=0;D<S&&(F++,R=R.Xl,R);D++);for(N=S;0<F||0<N&&R;)0!==F&&(0===N||!R||H.z<=R.z)?(D=H,H=H.Xl,F--):(D=R,R=R.Xl,N--),Q?Q.Xl=D:C=D,D.Lq=Q,Q=D;H=R}Q.Xl=null;S*=2}while(1<I)}for(C=v;v.prev!==v.next;){H=v.prev;R=v.next;if(B)Q=m(v,y,A,B);else a:{var W=v;Q=W.prev;N=W.next;if(0<=d(Q,W,N))Q=!1;else{I=Q.x;F=W.x;S=N.x;D=Q.y;W=W.y;var G=N.y,L=I<F?I<S?I:S:
F<S?F:S,U=D<W?D<G?D:G:W<G?W:G,O=I>F?I>S?I:S:F>S?F:S,V=D>W?D>G?D:G:W>G?W:G;for(N=N.next;N!==Q;){if(N.x>=L&&N.x<=O&&N.y>=U&&N.y<=V&&g(I,D,F,W,S,G,N.x,N.y)&&0<=d(N.prev,N,N.next)){Q=!1;break a}N=N.next}Q=!0}}if(Q)w.push(H.Bg/x|0),w.push(v.Bg/x|0),w.push(R.Bg/x|0),t(v),C=v=R.next;else if(v=R,v===C){if(z)if(1===z){v=e(v);z=w;C=x;H=v;do R=H.prev,Q=H.next.next,!c(R,Q)&&f(R,H,H.next,Q)&&q(R,Q)&&q(Q,R)&&(z.push(R.Bg/C|0),z.push(H.Bg/C|0),z.push(Q.Bg/C|0),t(H),t(H.next),H=v=Q),H=H.next;while(H!==v);v=e(H);
h(v,w,x,y,A,B,2)}else{if(2===z)a:{z=v;do{for(C=z.next.next;C!==z.prev;){if(H=z.Bg!==C.Bg){H=z;R=C;if(Q=H.next.Bg!==R.Bg&&H.prev.Bg!==R.Bg){b:{Q=H;do{if(Q.Bg!==H.Bg&&Q.next.Bg!==H.Bg&&Q.Bg!==R.Bg&&Q.next.Bg!==R.Bg&&f(Q,Q.next,H,R)){Q=!0;break b}Q=Q.next}while(Q!==H);Q=!1}Q=!Q}if(Q){if(Q=q(H,R)&&q(R,H)){Q=H;I=!1;F=(H.x+R.x)/2;S=(H.y+R.y)/2;do Q.y>S!==Q.next.y>S&&Q.next.y!==Q.y&&F<(Q.next.x-Q.x)*(S-Q.y)/(Q.next.y-Q.y)+Q.x&&(I=!I),Q=Q.next;while(Q!==H);Q=I}Q=Q&&(d(H.prev,H,R.prev)||d(H,R.prev,R))||c(H,
R)&&0<d(H.prev,H,H.next)&&0<d(R.prev,R,R.next)}H=Q}if(H){v=n(z,C);z=e(z,z.next);v=e(v,v.next);h(z,w,x,y,A,B,0);h(v,w,x,y,A,B,0);break a}C=C.next}z=z.next}while(z!==v)}}else h(e(v),w,x,y,A,B,1);break}}}}function m(v,w,x,y){var A=v.prev,B=v.next;if(0<=d(A,v,B))return!1;var z=A.x,C=v.x,H=B.x,D=A.y,I=v.y,F=B.y,N=z<C?z<H?z:H:C<H?C:H,S=D<I?D<F?D:F:I<F?I:F,Q=z>C?z>H?z:H:C>H?C:H,R=D>I?D>F?D:F:I>F?I:F,W=b(N,S,w,x,y);w=b(Q,R,w,x,y);x=v.Lq;for(v=v.Xl;x&&x.z>=W&&v&&v.z<=w;){if(x.x>=N&&x.x<=Q&&x.y>=S&&x.y<=R&&
x!==A&&x!==B&&g(z,D,C,I,H,F,x.x,x.y)&&0<=d(x.prev,x,x.next))return!1;x=x.Lq;if(v.x>=N&&v.x<=Q&&v.y>=S&&v.y<=R&&v!==A&&v!==B&&g(z,D,C,I,H,F,v.x,v.y)&&0<=d(v.prev,v,v.next))return!1;v=v.Xl}for(;x&&x.z>=W;){if(x.x>=N&&x.x<=Q&&x.y>=S&&x.y<=R&&x!==A&&x!==B&&g(z,D,C,I,H,F,x.x,x.y)&&0<=d(x.prev,x,x.next))return!1;x=x.Lq}for(;v&&v.z<=w;){if(v.x>=N&&v.x<=Q&&v.y>=S&&v.y<=R&&v!==A&&v!==B&&g(z,D,C,I,H,F,v.x,v.y)&&0<=d(v.prev,v,v.next))return!1;v=v.Xl}return!0}function k(v,w){return v.x-w.x}function b(v,w,x,y,
A){v=(v-x)*A|0;w=(w-y)*A|0;v=(v|v<<8)&16711935;v=(v|v<<4)&252645135;v=(v|v<<2)&858993459;w=(w|w<<8)&16711935;w=(w|w<<4)&252645135;w=(w|w<<2)&858993459;return(v|v<<1)&1431655765|((w|w<<1)&1431655765)<<1}function g(v,w,x,y,A,B,z,C){return(A-z)*(w-C)>=(v-z)*(B-C)&&(v-z)*(y-C)>=(x-z)*(w-C)&&(x-z)*(B-C)>=(A-z)*(y-C)}function d(v,w,x){return(w.y-v.y)*(x.x-w.x)-(w.x-v.x)*(x.y-w.y)}function c(v,w){return v.x===w.x&&v.y===w.y}function f(v,w,x,y){var A=p(d(v,w,x)),B=p(d(v,w,y)),z=p(d(x,y,v)),C=p(d(x,y,w));
return A!==B&&z!==C||0===A&&l(v,x,w)||0===B&&l(v,y,w)||0===z&&l(x,v,y)||0===C&&l(x,w,y)?!0:!1}function l(v,w,x){return w.x<=Math.max(v.x,x.x)&&w.x>=Math.min(v.x,x.x)&&w.y<=Math.max(v.y,x.y)&&w.y>=Math.min(v.y,x.y)}function p(v){return 0<v?1:0>v?-1:0}function q(v,w){return 0>d(v.prev,v,v.next)?0<=d(v,w,v.next)&&0<=d(v,v.prev,w):0>d(v,w,v.prev)||0>d(v,v.next,w)}function n(v,w){var x=new u(v.Bg,v.x,v.y),y=new u(w.Bg,w.x,w.y),A=v.next,B=w.prev;v.next=w;w.prev=v;x.next=A;A.prev=x;y.next=x;x.prev=y;B.next=
y;y.prev=B;return y}function r(v,w,x,y){v=new u(v,w,x);y?(v.next=y.next,v.prev=y,y.next.prev=v,y.next=v):(v.prev=v,v.next=v);return v}function t(v){v.next.prev=v.prev;v.prev.next=v.next;v.Lq&&(v.Lq.Xl=v.Xl);v.Xl&&(v.Xl.Lq=v.Lq)}function u(v,w,x){this.Bg=v;this.x=w;this.y=x;this.next=this.prev=null;this.z=0;this.Xl=this.Lq=null;this.kAa=!1}return function(v,w,x){x=x||2;var y=w&&w.length,A=y?w[0]*x:v.length,B=a(v,0,A,x,!0),z=[];if(!B||B.next===B.prev)return z;var C;if(y){var H=B;var D=x;B=[];var I;
y=0;for(I=w.length;y<I;y++){var F=w[y]*D;var N=y<I-1?w[y+1]*D:v.length;F=a(v,F,N,D,!1);F===F.next&&(F.kAa=!0);N=B;var S=N.push,Q=F,R=F;do{if(Q.x<R.x||Q.x===R.x&&Q.y<R.y)R=Q;Q=Q.next}while(Q!==F);S.call(N,R)}B.sort(k);for(y=0;y<B.length;y++){D=void 0;w=B[y];b:{I=H;F=w.x;N=w.y;S=-Infinity;do{if(N<=I.y&&N>=I.next.y&&I.next.y!==I.y&&(Q=I.x+(N-I.y)*(I.next.x-I.x)/(I.next.y-I.y),Q<=F&&Q>S&&(S=Q,D=I.x<I.next.x?I:I.next,Q===F)))break b;I=I.next}while(I!==H);if(D){R=D;var W=D.x,G=D.y,L=Infinity;I=D;do{if(F>=
I.x&&I.x>=W&&F!==I.x&&g(N<G?F:S,N,W,G,N<G?S:F,N,I.x,I.y)){Q=Math.abs(N-I.y)/(F-I.x);var U;if((U=q(I,w))&&!(U=Q<L)&&(U=Q===L)&&!(U=I.x>D.x)&&(U=I.x===D.x)){U=D;var O=I;U=0>d(U.prev,U,O.prev)&&0>d(O.next,U,U.next)}U&&(D=I,L=Q)}I=I.next}while(I!==R)}else D=null}D&&(w=n(D,w),e(w,w.next),H=e(D,D.next))}B=H}if(v.length>80*x){var V=C=v[0];var Y=y=v[1];for(H=x;H<A;H+=x)w=v[H],D=v[H+1],w<V&&(V=w),D<Y&&(Y=D),w>C&&(C=w),D>y&&(y=D);C=Math.max(C-V,y-Y);C=0!==C?32767/C:0}h(B,z,x,V,Y,C,0);return z}});
define("nE",["require","exports"],function(){return function(){function a(){}a.qVa=function(e){return e.userData.FD||e.material};a.Fv=function(e,h){if(e.material!=h&&e.userData.FD!=h){var m=e.userData.AP;this.xda(e);e.material=h;m&&this.Kba(e);e.needsUpdate=!0}};a.Kba=function(e){e.userData.AP||(e.userData.AP=!0,e.userData.FD=e.material,e.material=this.bUa(e.material))};a.xda=function(e){e.userData.AP&&(this.vUa(e.material),e.material=e.userData.FD,delete e.userData.FD,delete e.userData.AP)};a.S_a=
function(e){if(e.userData.AP){var h=e.userData.FD;e=e.material;e.side=h.side;e.depthTest=h.depthTest;e.map&&h.map&&(e.map.encoding=h.map.encoding);e.emissiveMap&&h.emissiveMap&&(e.emissiveMap.encoding=h.emissiveMap.encoding)}};a.bUa=function(e){return Array.isArray(e)?e.map(function(h){return h.clone()}):e?e.clone():e};a.vUa=function(e){Array.isArray(e)?e.forEach(function(h){h.dispose()}):e&&e.dispose()};return a}()});
define("o","require lo oH fa ly fA cm nE".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("fa"),k=a("ly"),b=a("fA"),g=a("cm"),d=a("nE");a=e.extend(k,function(){k.apply(this,arguments);this.te=this.te.bind(this);this.Fe=this.Fe.bind(this);this.Uc=this.Uc.bind(this);this.w_=this.w_.bind(this)});a.prototype.yd=function(){this.jua.C.length&&this.jua.C.slice().forEach(this.te);this.iua.Ua.length&&this.R_a(this.iua.Ua.slice());this.areas.Ua.length&&this.areas.Ua.slice().forEach(this.Fe);this.kua.C.length&&
this.kua.C.slice().forEach(this.Uc);this.lua.C.length&&this.lua.C.slice().forEach(this.Uc)};a.prototype.te=function(F){F.H(b.sw);this.Fe(F)};a.prototype.Fe=function(F){this.U_a(F);this.OAa(F)};a.prototype.R_a=function(F){var N=[];F.forEach(function(S){S.getComponent(b.Nz).YX.forEach(function(Q){-1===N.indexOf(Q)&&N.push(Q)})});N.forEach(this.w_)};a.prototype.U_a=function(F){this.W_a(F);this.w_(F)};a.prototype.W_a=function(F){var N=F.getComponent(b.cm),S=N&&N.C||[],Q=(N=F.getComponent(b.sw))&&N.C||
[];Q.forEach(function(R){if(-1===S.indexOf(R)){var W=R.getComponent(b.Nz).YX.filter(function(G){return G!==G});0==W.length?R.ma(b.Nz):R.J(b.Nz).YX=W}});S.forEach(function(R){-1===Q.indexOf(R)&&R.J(b.Nz,!0).YX.push(F)})};var c=new THREE.Matrix4,f=[];a.prototype.w_=function(F){var N=F.getComponent(b.cm);for(N=N&&N.C||[];f.length<N.length;)f.push(new THREE.Vector3);var S=N.map(function(L,U){return L.getComponent(b.Object3D).Bc.getWorldPosition(f[U])});S=S.filter(function(L,U){return 1E-4<L.distanceTo(S[(U+
1)%S.length])});N=this.FVa(S);if(0===N.length)this.yja(F),this.xsa(F);else{this.rPa(F,3*N.length);this.X_a(F,f,N);c.copy(F.getComponent(b.Object3D).Bc.matrixWorld).invert();f.forEach(function(L){L.applyMatrix4(c)});F=F.getComponent(b.Geometry);for(var Q=F.geometry.attributes.position.array,R=0,W=0;R<N.length;){var G=f[N[R++]];Q[W++]=G.x;Q[W++]=G.y;Q[W++]=G.z;G=f[N[R++]];Q[W++]=G.x;Q[W++]=G.y;Q[W++]=G.z;G=f[N[R++]];Q[W++]=G.x;Q[W++]=G.y;Q[W++]=G.z}F.geometry.attributes.position.needsUpdate=!0}};var l=
new THREE.Plane,p=new THREE.Vector3,q=new THREE.Vector3,n=new THREE.Vector3,r=new THREE.Line3,t=new THREE.Vector3,u=new THREE.Vector3,v=new THREE.Vector3,w=new THREE.Vector3,x=new THREE.Vector3,y=5*Math.PI/180;a.prototype.FVa=function(F){if(3>F.length)return[];var N=F[0];for(var S=Number.NEGATIVE_INFINITY,Q=1;Q<F.length;++Q){var R=N.distanceToSquared(F[Q]);if(!(R<=S)){S=R;var W=F[Q]}}if(0>=S)return[];r.set(N,W);S=Number.NEGATIVE_INFINITY;for(Q=0;Q<F.length;++Q)if(R=r.closestPointToPoint(F[Q],!0,t).distanceToSquared(F[Q]),
!(R<=S)){S=R;var G=F[Q]}if(0>=S)return[];l.setFromCoplanarPoints(N,W,G);for(Q=0;Q<F.length;++Q)if(S=F[Q],S!==N&&S!==W&&S!==G){u.copy(N).sub(S).normalize();v.copy(W).sub(S).normalize();w.copy(G).sub(S).normalize();S=u.dot(v);R=u.dot(w);var L=v.dot(w);S<R&&S<L?x.copy(u).cross(v):R<L?x.copy(u).cross(w):x.copy(v).cross(w);x.normalize();S=Math.abs(Math.acos(x.dot(l.normal)));S>.5*Math.PI&&(S=Math.PI-S);if(S>y)return[]}q.copy(F[1]).sub(F[0]).normalize();n.copy(l.normal).cross(q).normalize();N=[];for(Q=
0;Q<F.length;++Q)l.projectPoint(F[Q],p),N.push(p.dot(q),p.dot(n));return m(N,null,2)};var A=new THREE.Vector3,B=new THREE.Vector3,z=new THREE.Vector3,C=new THREE.Vector3,H=new THREE.Vector3,D=new THREE.Vector3,I=new THREE.Vector3;a.prototype.X_a=function(F,N,S){var Q=0;A.set(0,0,0);for(var R=0;R<S.length;){z.copy(N[S[R++]]);C.copy(N[S[R++]]);H.copy(N[S[R++]]);B.copy(z).add(C).add(H).divideScalar(3);var W=.5*I.subVectors(H,z).cross(D.subVectors(C,z)).length();B.multiplyScalar(W);A.add(B);Q+=W}A.divideScalar(Q);
N=F.J(b.ya,!0);N.positionX=A.x;N.positionY=A.y;N.positionZ=A.z;g.eQ(F,N);this.xsa(F,Q)};a.prototype.xsa=function(F,N){(F=(F=F.J(b.cm))&&F.Ea)&&F.trigger(h.pa,{area:N})};a.prototype.OAa=function(F){var N=F.getComponent(b.Object3D);if(N=N&&N.Bc){var S=F.getComponent(b.Material).material;S&&d.Fv(N,S);N.renderOrder=F.getComponent(b.cm).renderOrder}};a.prototype.yja=function(F){var N=F.getComponent(b.Geometry);N&&(N.geometry&&N.geometry.dispose(),F.ma(b.Geometry),F.getComponent(b.Object3D).Bc.geometry=
null);if(N=F.getComponent(b.Object3D))N.Bc&&N.Bc.parent&&N.Bc.parent.remove(N.Bc),F.ma(b.Object3D)};a.prototype.rPa=function(F,N){var S=F.getComponent(b.Geometry);S&&S.geometry&&S.geometry.attributes.position.array.length===3*N||(S=F.J(b.Geometry,!0),S.geometry&&S.geometry.dispose(),S.geometry=this.gGa(N),N=F.getComponent(b.Object3D),N||(N=F.H(b.Object3D),N.Bc=new THREE.Mesh,this.OAa(F)),N.Bc.geometry=S.geometry)};a.prototype.gGa=function(F){var N=new THREE.BufferGeometry,S=N.setAttribute,Q=THREE.Float32BufferAttribute;
F*=3;for(var R=[],W=0;W<F;W++)R.push(0);S.call(N,"position",new Q(R,3));return N};a.prototype.Uc=function(F){this.yja(F);F.ma(b.sw);F.ma(b.Object3D)};a.K={};a.K.jua=[b.Material,b.cm,b.sw.not];a.K.iua=[b.Object3D,b.ya,b.Nz];a.K.areas=[b.cm,b.Material,b.sw];a.K.kua=[b.cm.not,b.sw];a.K.lua=[b.Material.not,b.sw];return a});
define("mR","require lo oH ly fA cm".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("ly"),k=a("fA"),b=a("cm");a=e.extend(m,function(){m.apply(this,arguments);this.jea=this.jea.bind(this);this.q_=this.q_.bind(this);this.iea=this.iea.bind(this);this.p_=this.p_.bind(this);this.$X=new Map;this.Hxa=new Map;this.ZX=new Map;this.Ixa=new Map});a.prototype.yd=function(){this.pua.C.length&&this.pua.C.slice().forEach(this.jea);this.qua.C.length&&this.qua.C.slice().forEach(this.q_);this.rua.C.length&&this.rua.C.slice().forEach(this.q_);
this.sua.C.length&&this.sua.C.slice().forEach(this.iea);this.tua.C.length&&this.tua.C.slice().forEach(this.p_);this.uua.C.length&&this.uua.C.slice().forEach(this.p_);this.frame()};a.K={};a.K.pua=[k.Object3D,k.Vq,k.ct.not];a.K.HTa=[k.Object3D,k.Vq,k.ct];a.K.qua=[k.Object3D.not,k.ct];a.K.rua=[k.Vq.not,k.ct];a.K.sua=[k.Object3D,k.uw,k.vw.not];a.K.tua=[k.Object3D.not,k.vw];a.K.uua=[k.uw.not,k.vw];a.prototype.frame=function(){0!=this.HTa.C.length&&this.ZX.forEach(function(g,d){var c=this.$X.get(d)||[];
c.forEach(function(f){var l=f.getComponent(k.Object3D).Bc;f.getComponent(k.vw).position.set(0,0,0).applyMatrix4(l.matrixWorld)});g.forEach(function(f){var l=f.getComponent(k.Object3D).Bc;f.getComponent(k.ct).position.set(0,0,0).applyMatrix4(l.matrixWorld)});g.forEach(function(f){var l=f.getComponent(k.ct).position;f=f.getComponent(k.Vq).Ea;var p=c.map(function(q){return{entity:q,distance:l.distanceTo(q.getComponent(k.vw).position)}});p.sort(function(q,n){return q.distance-n.distance});f.trigger(h.pa,
{beacons:p})})}.bind(this))};a.prototype.jea=function(g){g.H(k.ct).position=new THREE.Vector3;this.Ixa.set(g,b.yb(g));var d=this.ZX.get(g.S);d||this.ZX.set(g.S,d=[]);0>d.indexOf(g)&&d.push(g)};a.prototype.q_=function(g){var d=this.ZX.get(g.S),c=d.indexOf(g);0<=c&&d.splice(c,1);this.Ixa["delete"](g);g.ma(k.ct)};a.prototype.iea=function(g){g.H(k.vw).position=new THREE.Vector3;this.Hxa.set(g,b.yb(g));var d=this.$X.get(g.S);d||this.$X.set(g.S,d=[]);0>d.indexOf(g)&&d.push(g)};a.prototype.p_=function(g){var d=
this.$X.get(g.S),c=d.indexOf(g);0<=c&&d.splice(c,1);this.Hxa["delete"](g);g.ma(k.vw)};return a});define("kP",["require","exports"],function(){return function(){function a(){}a.Sl=function(e,h,m){return this.hD(e,h,m)};a.Rq=function(e,h,m){return this.hD(e,m,h)};a.hD=function(e,h,m){return 2*Math.atan(m*Math.tan(e*this.uE*.5)/h)*this.KCa};a.KCa=180/Math.PI;a.uE=Math.PI/180;return a}()});
define("hS","require lo ly fA kP cm".split(" "),function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("kP"),b=a("cm");a=e.extend(h,function(){h.apply(this,arguments);this.kea=this.kea.bind(this);this.lea=this.lea.bind(this);this.x_=this.x_.bind(this);this.y_=this.y_.bind(this);this.xea=this.xea.bind(this);this.yea=this.yea.bind(this)});a.prototype.yd=function(){this.uya.C.length&&this.uya.C.slice().forEach(this.kea);this.xya.C.length&&this.xya.C.slice().forEach(this.lea);this.GD.Ua.length&&this.GD.Ua.slice().forEach(this.x_);
this.Rs.Ua.length&&this.Rs.Ua.slice().forEach(this.y_);this.vya.C.length&&this.vya.C.slice().forEach(this.xea);this.yya.C.length&&this.yya.C.slice().forEach(this.yea)};a.prototype.kea=function(l){var p=l.J(m.OrthographicCamera),q=l.H(m.Iw);l.H(m.Object3D).Bc=q.camera=p.camera=new THREE.OrthographicCamera;this.x_(l)};a.prototype.lea=function(l){var p=l.J(m.PerspectiveCamera),q=l.H(m.cr);q.boundingBox=new THREE.Box3;q.MZ=!0;l.H(m.Object3D).Bc=q.camera=p.camera=new THREE.PerspectiveCamera;this.y_(l)};
a.prototype.x_=function(l){var p=l.getComponent(m.OrthographicCamera);l=l.getComponent(m.Iw);l.width=p.width;l.height=p.height;l=l.camera;l.left=-.5*p.width;l.right=.5*p.width;l.top=.5*p.height;l.bottom=-.5*p.height;l.updateProjectionMatrix()};a.prototype.y_=function(l){var p=l.getComponent(m.PerspectiveCamera);l=l.getComponent(m.cr);l.width=p.width;l.height=p.height;l.fov=p.fov;l.near=p.near;l.far=p.far;l=l.camera;l.aspect=p.width/p.height;l.fov=p.width>p.height?k.Sl(p.fov,p.width,p.height):p.fov;
l.near=p.near;l.far=p.far;b.Iea(l);l.updateProjectionMatrix()};a.prototype.xea=function(l){var p=l.getComponent(m.Iw);p.camera.parent&&p.camera.parent.remove(p.camera);p.camera=null;l.ma(m.Iw);l.ma(m.Object3D)};a.prototype.yea=function(l){var p=l.getComponent(m.cr);p.camera.parent&&p.camera.parent.remove(p.camera);p.camera=null;l.ma(m.cr);l.ma(m.Object3D)};a.K={};a.K.uya=[m.OrthographicCamera,m.Iw.not];a.K.vya=[m.OrthographicCamera.not,m.Iw];a.K.xya=[m.PerspectiveCamera,m.cr.not];a.K.yya=[m.PerspectiveCamera.not,
m.cr];a.K.GD=[m.OrthographicCamera,m.Iw];a.K.Rs=[m.PerspectiveCamera,m.cr];a.dE=e.extend(h,function(){h.apply(this,arguments);this.gda=this.gda.bind(this)});a.dE.prototype.yd=function(){this.Rs.C.length&&this.Rs.C.slice().forEach(this.gda)};a.dE.prototype.gda=function(l){var p=l.getComponent(m.PerspectiveCamera);if(p.mua){var q=l.getComponent(m.cr),n=q.scene||b.Mj(l),r=q.camera;if(n&&r){var t=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY,v=!1;q.MZ&&(q.boundingBox=this.a3(n,q.boundingBox),q.MZ=
!1,v=!0);n=q.boundingBox;n=[[n.min.x,n.max.x],[n.min.y,n.max.y],[n.min.z,n.max.z]];for(var w=0;2>w;w++)for(var x=0;2>x;x++)for(var y=0;2>y;y++)f.set(n[0][w],n[1][x],n[2][y]).applyMatrix4(r.matrixWorldInverse),-f.z>u&&(u=-f.z),-f.z<t&&(t=-f.z);n=Math.max(p.nua||0,0);w=.5*(t+u);t+=(t-w)*n;u+=(u-w)*n;u=Infinity==u||isNaN(u)?2E3:u;t=0<t?t:20<u?.1:.01;if(Math.abs(p.near-t)>d||Math.abs(p.far-u)>d)r.far=q.far=p.far=u,r.near=q.near=p.near=t,b.Iea(r),b.KAa(r),r.updateProjectionMatrix();v||q.sba||(q.sba=setTimeout(function(){q.sba=
null;q.MZ=!0;l.S&&l.S.$a()},g))}}};a.dE.prototype.a3=function(l,p){p||(p=new THREE.Box3);p.makeEmpty();l.traverse(function(q){if(q.geometry&&!q.isSprite&&(!q.material||q.material.visible)){q.updateWorldMatrix(!1,!1);var n=q.geometry;null===n.boundingBox&&n.computeBoundingBox();c.copy(n.boundingBox);c.applyMatrix4(q.matrixWorld);p.union(c)}});return p};var g=500,d=1E-4,c=new THREE.Box3,f=new THREE.Vector3;a.dE.K={};a.dE.K.Rs=[m.PerspectiveCamera,m.cr];return a});
define("bm",["require","exports"],function(){var a={Yj:38,Di:40,hb:39,Pa:37,jga:32,wn:65,eR:90,Bt:87,xt:83,dt:68,Q:81,E:69,cfa:27,sa:{}};a.sa.Yj="ArrowUp";a.sa.Di="ArrowDown";a.sa.hb="ArrowRight";a.sa.Pa="ArrowLeft";a.sa.wn="KeyA";a.sa.eR="KeyZ";a.sa.Bt="KeyW";a.sa.xt="KeyS";a.sa.dt="KeyD";a.sa.Q="KeyQ";a.sa.E="KeyE";a.sa.cfa="Escape";a.sa.jga="Space";return a});
define("lb",["require"],function(){return{S0a:function(){},T0a:function(){},CT:function(){return this.$e&&this.$e.Uwa()||this.m&&!this.m.get("keyboardEnabled")?!0:!1},On:function(){return this.$e&&this.$e.Uwa()||this.m&&(!this.m.get("mouseEnabled")||this.m.get("mouseDisabled"))?!0:!1},Qla:function(){return this.m&&this.m.get("doubleClickDisabled")?!0:!1},Jna:function(){this.MF()||this.mu||this.Eta()},Ina:function(){this.MF()||this.mu||this.Dta()},lG:function(){this.Sla()||this.Eta()},kG:function(){this.Sla()||
this.Dta()},Eta:function(){this.$e&&this.$e.Jz();this.m&&this.m.set("userInteracting",!0)},Dta:function(){this.$e&&this.$e.Nea();this.m&&this.m.set("userInteracting",!1)}}});
define("fq",["require","exports","cm","three.mod"],function(a,e,h,m){return function(){function k(b){this.matrixWorld=new m.Matrix4;this.Wca=!1;this.timeout=null;this.Y=b}k.prototype.aea=function(b){if(this.TI!=b||"moving"!=this.propertyName)this.TI&&this.TI.set(this.propertyName,!1),this.TI=b,this.propertyName="moving",this.TI&&this.TI.set(this.propertyName,this.Wca)};k.prototype.Kea=function(){var b=h.yb(this.Y),g=!!b&&!b.matrixWorld.equals(this.matrixWorld);g&&this.matrixWorld.copy(b.matrixWorld);
this.fw(g);this.timeout&&(clearTimeout(this.timeout),this.timeout=null);g&&(this.timeout=setTimeout(function(){this.timeout=null;this.fw(!1)}.bind(this),k.dCa))};k.prototype.eb=function(){this.fw(!1);this.timeout&&clearTimeout(this.timeout)};k.prototype.fw=function(b){this.Wca!=b&&(this.Wca=b,this.TI.set(this.propertyName,b))};k.dCa=100;return k}()});
define("nW",["require"],function(){function a(h){this.m=h;this.Ux=!0}function e(h,m,k){if(isNaN(h))throw"invalid value";void 0!==m&&h<m&&(h=m);void 0!==k&&h>k&&(h=k);return h}a.prototype.hZa=function(){this.Ux=!1};a.prototype.Nda=function(h){this.m.set("fov",this.Ux?e(h,this.m.get("minFov",.1),this.m.get("maxFov",180)):h)};a.prototype.tn=function(h){var m=this.m,k=m.set;if(this.Ux){var b=this.m.get("minYaw"),g=this.m.get("maxYaw");if(void 0!==b)if(180<h)h=180;else{for(;-180>=h;)h+=360;h<b&&(h=b)}if(void 0!==
g)if(-180>h)h=-180;else{for(;180<h;)h-=360;h>g&&(h=g)}}for(;-180>h;)h+=360;for(;180<=h;)h-=360;k.call(m,"yaw",h)};a.prototype.hw=function(h){this.m.set("pitch",this.Ux?e(h,this.m.get("minPitch",-90),this.m.get("maxPitch",90)):h)};a.prototype.setX=function(h){this.m.set("x",this.Ux?e(h,this.m.get("minX"),this.m.get("maxX")):h)};a.prototype.setY=function(h){this.m.set("y",this.Ux?e(h,this.m.get("minY"),this.m.get("maxY")):h)};a.prototype.setZ=function(h){this.m.set("z",this.Ux?e(h,this.m.get("minZ"),
this.m.get("maxZ")):h)};a.prototype.OD=function(h){this.m.set("distance",this.Ux?e(h,this.m.get("minDistance"),this.m.get("maxDistance")):h)};a.prototype.zi=function(h){this.m.set("easing",h)};return a});
define("dM","require oH kO nx fA nW oj bF".split(" "),function(a){function e(f,l,p){this.o=f;this.m=l;this.Oa=p;this.za=new g(this.m);this.za.hZa();this.yC=0;this.sk=this.Jm=void 0;this.Sm=!1;this.qW(0);this.B4=this.KS=this.A4=this.JS=this.A=void 0;this.zc(m.T);this.Oa.bind(h.G("state"),this.Bf,this,!0);this.Oa.bind(h.G("movementIndex"),this.eC,this,!0)}var h=a("oH"),m=a("kO"),k=a("nx"),b=a("fA"),g=a("nW"),d=a("oj"),c=a("bF");e.prototype.Jz=function(){this.Oa.get("mandatory")||(this.bS(),this.Oa.get("restartMovementOnUserInteraction")?
this.A==m.X&&(this.KN(),this.zc(m.Eb,!0)):this.A==m.X&&this.zc(m.T))};e.prototype.Nea=function(){this.A==m.Eb&&this.Sm&&this.Oa.get("restartMovementOnUserInteraction")&&this.h$()};e.prototype.frame=function(f){this.A==m.X&&(this.V.zb(f),this.hSa(),this.za.setX(this.V.cb("x")),this.za.setY(this.V.cb("y")),this.za.setZ(this.V.cb("z")),this.za.tn(this.V.cb("yaw")),this.za.hw(this.V.cb("pitch")),this.za.OD(this.V.cb("distance")),this.za.Nda(this.V.cb("fov")),this.za.zi(0),f=this.Oa.get("movements")[this.Jm],
f.set("position",this.V.Qk()),f.trigger(h.gA),this.V.Re()&&(f.trigger(h.sb),this.qW((this.Jm+1)%this.Oa.get("movements").length,!0),0==this.Jm&&(this.yC++,this.Oa.trigger(h.fr),this.yC==this.Oa.get("repeat")&&(this.eqa(),this.zc(m.T),this.Oa.trigger(h.sb)))))};e.prototype.hSa=function(){var f=void 0!==this.JS&&void 0!==this.A4,l=void 0!==this.KS&&void 0!==this.B4;if(f||l){var p=this.o.getComponent(b.jb).Y;if(p){var q=this.V.getTime(),n=this.V.bj();p=p.J(b.KQ,!0);f=f&&q<this.JS?1-q/this.JS:0;l=l&&
n-q<this.KS?1-(n-q)/this.KS:0;0<l||0<f?l>f?(p.color=this.B4,p.opacity=l):(p.color=this.A4,p.opacity=f):(p.color="#000000",p.opacity=0)}}};e.prototype.eqa=function(){var f=this.o.getComponent(b.jb);(f=f&&f.Y)&&f.ma(b.KQ)};e.prototype.dispose=function(){this.bS();this.Oa.unbind(h.G("state"),this.Bf,this,!0);this.Oa.unbind(h.G("movementIndex"),this.eC,this,!0);this.zc(m.T)};e.prototype.Bf=function(){var f=this.Oa.get("state");this.A!=f&&(f==m.Eb&&this.A==m.T?this.Oa.set("state",m.T):this.zc(f))};e.prototype.zc=
function(f,l){this.A!=f&&(this.A=f,this.A==m.X?(this.bS(),this.Sm=!1,this.mx(),this.$R()):this.A==m.Eb?(this.Sm=!!l,this.KN()):this.A==m.T&&(this.Sm=!1,this.bS(),this.yC=0,f=this.V.getTime(),l=this.V.bj(),0<f&&f<l&&this.eqa(),this.qW(0)));this.Oa.set("state",this.A)};e.prototype.eC=function(){this.qW(this.Oa.get("movementIndex"))};e.prototype.qW=function(f,l){if(this.Jm!==f||l)this.Jm=f,this.mx(),this.Oa.set("movementIndex",this.Jm),this.Oa.get("movements")[this.Jm].set("position",0)};e.prototype.h$=
function(){this.WV=setTimeout(function(){this.WV=null;this.zc(m.X)}.bind(this),this.Oa.get("restartMovementDelay"))};e.prototype.bS=function(){this.WV&&(clearTimeout(this.WV),this.WV=null)};e.prototype.mx=function(){var f=this.Oa.get("movements")[this.Jm],l=this.m.get("x",this.m.get("initialX",0)),p=this.m.get("y",this.m.get("initialY",0)),q=this.m.get("z",this.m.get("initialZ",0)),n=this.Ak(this.m.get("yaw",this.m.get("initialYaw",0)),-180,180),r=this.m.get("pitch",this.m.get("initialPitch",0)),
t=this.m.get("distance",0),u=this.m.get("fov",this.m.get("initialFov"));if(k.Na("TargetModel3DCameraMovement",f)){var v=f.get("targetX",l);var w=f.get("targetY",p);var x=f.get("targetZ",q);var y=f.get("targetYaw",n);var A=f.get("targetPitch",r);var B=f.get("targetFov",u);var z=f.get("targetDistance",t);switch(this.y4(f)){case "left":y=this.Ak(y,n-360,n);break;case "right":y=this.Ak(y,n,n+360);break;case "longest":y=this.Ak(y,n-180,n+180);y=y==n?n+360:y>=n?this.Ak(y,n-360,n):this.Ak(y,n,n+360);break;
default:y=this.Ak(y,n-180,n+180)}}else k.Na("DistanceModel3DCameraMovement",f)&&(v=l+f.get("xDelta",0),w=p+f.get("yDelta",0),x=q+f.get("zDelta",0),y=n+f.get("yawDelta",0),A=r+f.get("pitchDelta",0),B=u+f.get("fovDelta",0),z=t+f.get("distanceDelta",0));this.V=new d(f.get("easing"),[new c("x",l,v,f.get("xSpeed")),new c("y",p,w,f.get("ySpeed")),new c("z",q,x,f.get("zSpeed")),new c("yaw",n,y,f.get("yawSpeed")),new c("pitch",r,A,f.get("pitchSpeed")),new c("fov",u,B,f.get("fovSpeed")),new c("distance",t,
z,f.get("distanceSpeed"))],f.get("duration"));this.JS=f.get("fadeFromDuration");this.A4=f.get("fadeFromColor");this.KS=f.get("fadeToDuration");this.B4=f.get("fadeToColor")};e.prototype.$R=function(){this.sk=void 0};e.prototype.KN=function(){if(this.V){this.sk=void 0;var f=this.V&&this.V.Wba("yaw");f&&(f.Gz>f.from?this.sk="right":f.Gz<f.from&&(this.sk="left"))}};e.prototype.y4=function(f){f=f.get("yawPath");"longest"==f&&this.sk&&(f=this.sk);this.sk=void 0;return f};e.prototype.Ak=function(f,l,p){for(;f<
l;)f+=p-l;for(;f>p;)f-=p-l;return f};return e});
define("kg","require ky oH kO dM cm".split(" "),function(a){function e(d,c){this.o=d;this.m=c;this.py=this.py.bind(this);this.Bf=this.Bf.bind(this);this.Fh=this.qj=null;this.bs=[];this.rg=null;this.Ph=!1;this.Vt=new Map;h.fa(this.m,["initialSequence","idleSequence","sequences.movements"],this.py,!0);h.fa(this.m,["state"],this.Bf,!0);this.cq=!1}var h=a("ky"),m=a("oH"),k=a("kO"),b=a("dM"),g=a("cm");e.prototype.Uwa=function(){return!!this.rg&&this.rg.get("mandatory")};e.prototype.Jz=function(){this.Ph=
!0;this.Fk();this.rg&&this.Vt.get(this.rg).Jz()};e.prototype.Nea=function(){this.Ph=!1;this.rg&&this.Vt.get(this.rg).Nea();!this.Fh||this.rg&&this.rg!=this.Fh||this.kq()};e.prototype.kq=function(){this.Ph||this.yB||!this.Fh||this.rg||!this.m.get("timeToIdle")||(this.yB=setTimeout(function(){this.yB=null;this.TL()}.bind(this),this.m.get("timeToIdle")))};e.prototype.Fk=function(){this.yB&&(clearTimeout(this.yB),this.yB=null)};e.prototype.TL=function(){this.Fh&&this.Fh.set("state",k.X)};e.prototype.frame=
function(d){if(!this.cq){var c=g.Mj(this.o),f=0;c&&c.traverse(function(l){(l.isMesh||l.isSprite)&&f++});if(0<f)this.cq=!0,this.nG();else return}this.rg&&this.Vt.get(this.rg).frame(d);(d=this.rg&&this.rg.get("state")==k.X)&&this.o.S.$a();return d};e.prototype.nG=function(){this.qj?this.qj.set("state",k.X):this.kq()};e.prototype.dispose=function(){h.ba(this.m,["initialSequence","idleSequence","sequences.movements"],this.py);h.ba(this.m,["state"],this.Bf);this.Fk();this.Fh&&this.iF(this.Fh);this.qj&&
this.iF(this.qj);this.bs.forEach(this.iF.bind(this));this.bs=null};e.prototype.Bf=function(){this.rg?this.rg.set("state",this.m.get("state")):this.m.get("state")==k.X?(this.kq(),this.yB||this.m.set("state",k.T)):this.Fk()};e.prototype.py=function(){var d=this.q9(this.m.get("initialSequence"));this.qj!=d&&(this.qj&&this.iF(this.qj),(this.qj=d)&&this.t3(this.qj));d=this.q9(this.m.get("idleSequence"));this.Fh!=d&&(this.Fh&&this.iF(this.Fh),(this.Fh=d)&&this.t3(this.Fh));var c=(this.m.get("sequences")||
[]).filter(this.q9.bind(this));this.bs.forEach(function(l){0>c.indexOf(l)&&this.iF(l)}.bind(this));var f=this.bs;this.bs=c;this.bs.forEach(function(l){0>f.indexOf(l)&&this.t3(l)}.bind(this));this.rg||!this.Fh||this.yB||this.kq()};e.prototype.q9=function(d){var c=d&&d.get("movements");return c&&0!=c.length?d:null};e.prototype.Soa=function(d){d=d.source;var c=d.get("state");c==k.X?(this.Fk(),c=this.rg,this.rg=d,c&&c!=this.rg&&c.set("state",k.T),this.m.set("state",k.X),this.o.S.$a()):c==k.Eb?d==this.rg&&
this.m.set("state",k.Eb):c==k.T&&d==this.rg&&(this.m.set("state",k.T),this.rg=null,d!=this.Fh&&this.kq())};e.prototype.t3=function(d){if(this.Vt.has(d))this.Vt.get(d);else{d.set("state",k.T);d.bind(m.G("state"),this.Soa,this,!0);var c=new b(this.o,this.m,d);this.Vt.set(d,c)}};e.prototype.iF=function(d){this.Vt.has(d)&&(d.set("state",k.T),d.unbind(m.G("state"),this.Soa,this,!0),this.Vt.get(d).dispose(),this.Vt["delete"](d))};return e});
define("oS",["require"],function(){return{B6:function(a){this.KT=this.KT.bind(this);this.LT=this.LT.bind(this);this.aK=this.Zi=!1;this.Of={};for(var e=0;e<a.length;e++)this.Of[a[e]]=!1;this.kL=0;this.MT=!1;this.lL(!0)},C6:function(){this.lL(!1)},lL:function(a){this.MT!=a&&(this.MT&&(document.removeEventListener("keyup",this.LT),document.removeEventListener("keydown",this.KT)),this.MT=a)&&(document.addEventListener("keyup",this.LT),document.addEventListener("keydown",this.KT))},Sla:function(){return 0<
this.kL},LT:function(a){if(!this.CT||!this.CT()){var e=!1;this.Zi!=a.shiftKey&&(this.Zi=a.shiftKey,e=!0);this.aK!=a.ctrlKey&&(this.aK=a.ctrlKey,e=!0);!0===this.Of[a.code]&&(this.Of[a.code]=!1,e=!0,this.cC&&this.cC(a.code),this.kL--,0==this.kL&&this.Ina&&this.Ina());e&&this.$L&&this.$L()}},KT:function(a){if(!this.CT||!this.CT()){var e=!1;this.Zi!=a.shiftKey&&(this.Zi=a.shiftKey,e=!0);this.aK!=a.ctrlKey&&(this.aK=a.ctrlKey,e=!0);!1===this.Of[a.code]&&(e=this.Of[a.code]=!0,this.Hna&&this.Hna(a.code),
this.kL++,1==this.kL&&this.Jna&&this.Jna());e&&this.$L&&this.$L()}},b1a:function(){return this.Zi},X0a:function(){return this.aK}}});
define("jF",["require","exports","bc"],function(a,e,h){a=function(){function k(){this.Oe=[]}k.prototype.Mq=function(b){this.yza(b);this.ab=b;this.J3=null};k.prototype.DYa=function(b){this.yza(b?b.ng:null);this.ab=null;this.J3=b};k.prototype.QZa=function(b,g){this.ab&&this.ab.set("cursor",b);this.J3&&this.J3.Kda(b,g)};k.prototype.yza=function(b){this.je&&(this.je.YXa(this),this.je=void 0);b&&(this.je=m.get(b),this.je.ATa(this))};k.prototype.dispose=function(){this.Mq(null);this.Oe=[]};k.prototype.push=
function(b){this.Oe.push(b);this.je&&this.je.update()};k.prototype.pop=function(b){for(var g=this.Oe.length-1;0<=g;g--)if(this.Oe[g]==b){this.Oe.splice(g,1);this.je&&this.je.update();break}};k.prototype.has=function(b){return 0<=this.Oe.indexOf(b)};k.prototype.top=function(){if(this.Oe.length)return this.Oe[this.Oe.length-1]};k.prototype.all=function(){return this.Oe};return k}();var m=function(){function k(b){this.Mc=b;this.Xc=[]}k.prototype.ATa=function(b){this.Xc.push(b);this.update()};k.prototype.YXa=
function(b){this.Xc.splice(this.Xc.indexOf(b),1);this.update();0==this.Xc.length&&k.clear(this.Mc)};k.prototype.update=function(){var b=this.SDa();var g=this.z5(h.sA)?h.sA:this.z5(h.Zh)?h.Zh:this.z5(h.df)?h.df:this.oq()||h.He;this.Xc.forEach(function(d){d.QZa(g,b)})};k.prototype.z5=function(b){for(var g=this.Xc.length-1;0<=g;g--)if(this.Xc[g].has(b))return!0;return!1};k.prototype.SDa=function(){var b=[];this.Xc.forEach(function(g){g.all().forEach(function(d){0>b.indexOf(d)&&b.push(d)})});return b};
k.prototype.oq=function(){for(var b,g=this.Xc.length-1;0<=g&&void 0===b;g--)b=this.Xc[g].top();return b};k.get=function(b){var g=this.Qa.get(b);g||this.Qa.set(b,g=new k(b));return g};k.clear=function(b){this.Qa["delete"](b)};k.Qa=new Map;return k}();return a});
define("jq",["require","exports","oH","gi"],function(a,e,h,m){return function(k){function b(g){var d=k.call(this)||this;if(g instanceof HTMLElement)d.vZ=g;else if("function"===typeof g.Ac)d.vZ=g.Ac().get(0);else if(g.length&&g.get)d.vZ=g.get(0);else throw Error("invalid element");d.EZ=d.EZ.bind(d);document.addEventListener("pointerlockchange",d.EZ.bind(d),!1);return d}Z(b,k);b.prototype.dispose=function(){document.removeEventListener("pointerlockchange",this.EZ)};b.prototype.lock=function(){if(!this.Do())return this.vZ.requestPointerLock()};
b.prototype.unlock=function(){this.Do()&&document.exitPointerLock()};b.prototype.Do=function(){return document.pointerLockElement===this.vZ};b.prototype.EZ=function(){this.trigger(h.pa)};b.Do=function(){return null!==document.pointerLockElement};return b}(m)});
define("hU",["require","oH","jF","jq"],function(a){function e(g,d){var c=d.x-g.x;g=d.y-g.y;return Math.sqrt(c*c+g*g)}var h=a("oH"),m=a("jF"),k=a("jq"),b=180/Math.PI;return{f7:function(){this.pU=this.GL=this.mu=this.Jr=!1;this.GV=this.qe=null;this.vT=new m;this.HL=null;this.qMa=this.FLa.bind(this)},g7:function(){this.pW(null);this.vT.dispose()},Ema:function(g){this.ro(g);if(!this.On||!this.On()){var d=this.KF();this.Jr||(this.Jr=!0,d||this.lG&&this.lG());this.GL=!g.originalEvent||!g.originalEvent.buttons||
0===(g.originalEvent.buttons&2);this.GV=g;this.mk&&this.mk(g.x,g.y);this.MU&&this.MU(g.x,g.y)}},KF:function(){return this.Jr||this.mu||this.pU},MF:function(){return this.Jr},Y0a:function(){return this.mu},Z0a:function(){return this.GL},$0a:function(){return this.pU},Gma:function(g){this.ro(g);this.kf&&this.kf(g.x,g.y);if(this.Jr||this.YF.Do()){var d=void 0!==g.movementX?g.movementX:g.x-this.GV.x,c=void 0!==g.movementY?g.movementY:g.y-this.GV.y;this.YF.Do()&&(d*=-1,c*=-1);this.GV=g;this.LU&&this.LU(d,
c,g.x,g.y)}},mU:function(g){this.Jr&&(g&&this.ro(g),this.GL=this.Jr=!1,this.Wn&&this.Wn(this.Yc,this.Zc),this.dC&&this.dC(),this.KF()||this.kG&&this.kG())},Ama:function(g){this.On&&this.On()||(this.ro(g),this.Mr&&this.Mr(g.x,g.y))},Bma:function(g){this.On&&this.On()||this.Qla&&this.Qla()||(this.ro(g),this.jG&&this.jG(g.x,g.y))},Hma:function(g){this.ro(g);if(!this.On||!this.On()){g=g.hY/10;var d=this.KF();this.HL||(this.pU=!0,this.rMa&&this.rMa(),d||this.lG&&this.lG());this.NU&&this.NU(g);this.HL&&
clearTimeout(this.HL);this.HL=setTimeout(this.qMa,100)}},FLa:function(){this.HL=null;this.pMa&&this.pMa();this.pU=!1;this.KF()||this.kG&&this.kG()},Dma:function(g){if(!(this.On&&this.On()||2>g.touches.length)){var d=this.KF();this.mu||(this.mu=!0,this.GLa(g.touches),d||this.lG&&this.lG());this.Ana&&this.Ana();this.mU()}},Cma:function(g){this.On&&this.On()||2>g.touches.length||!this.mu||(this.Ima(g.touches),this.B7&&this.B7(this.mRa,this.nRa,this.H$,this.oRa),this.zna&&this.zna(this.d6,this.e6,this.XN,
this.YN,1,this.H$,this.XK,this.G$,this.c6,this.WN))},e7:function(){this.mu&&(this.mu=!1,this.C7&&this.C7());this.KF()||this.kG&&this.kG()},GLa:function(g){this.c6=this.e6=this.d6=this.XK=this.H$=this.YN=this.XN=this.G$=this.WN=void 0;this.VN=g;this.Ima(g)},Ima:function(g){e(g[0],this.VN[0])+e(g[1],this.VN[1])>e(g[0],this.VN[1])+e(g[1],this.VN[0])&&(g=[g[1],g[0]]);var d=g[0];var c=g[1];d=Math.atan2(-(c.y-d.y),c.x-d.x)*b;c=e(g[0],g[1]);var f=(g[0].x+g[1].x)/2,l=(g[0].y+g[1].y)/2;this.H$=void 0!==this.XK?
c/this.XK:1;this.oRa=void 0!==this.WN?d-this.WN:0;this.WN=d;this.G$=c;this.mRa=void 0!==this.XN?f-this.XN:0;this.nRa=void 0!==this.YN?l-this.YN:0;this.XN=f;this.YN=l;void 0!==this.d6||(this.d6=this.XN);void 0!==this.e6||(this.e6=this.YN);void 0!==this.c6||(this.c6=this.WN);void 0!==this.XK||(this.XK=this.G$);this.VN=g},Fma:function(){},MHa:function(){this.mU();this.e7()},IK:function(){return this.qe?this.qe.Xa():100},tB:function(){return this.qe?this.qe.xb():100},ou:function(){return this.qe?Math.max(this.qe.Xa(),
this.qe.xb()):100},pW:function(g){this.qe!=g&&(this.qe&&(this.qe.unbind(h.ub,this.Ema,this,!0),this.qe.unbind(h.jc,this.Gma,this,!0),this.qe.unbind(h.Zb,this.mU,this,!0),this.qe.unbind(h.qa,this.Ama,this,!0),this.qe.unbind(h.hm,this.Bma,this,!0),this.qe.unbind(h.$q,this.Hma,this,!0),this.qe.unbind(h.J0,this.Cma,this,!0),this.qe.unbind(h.Bw,this.Dma,this,!0),this.qe.unbind(h.kE,this.e7,this,!0),this.YF.unbind(h.pa,this.Fma,this,!0),this.YF.dispose(),this.YF=null),this.qe=g,this.vT.Mq(this.qe),this.qe&&
(this.qe.bind(h.ub,this.Ema,this,!0),this.qe.bind(h.jc,this.Gma,this,!0),this.qe.bind(h.Zb,this.mU,this,!0),this.qe.bind(h.qa,this.Ama,this,!0),this.qe.bind(h.hm,this.Bma,this,!0),this.qe.bind(h.$q,this.Hma,this,!0),this.qe.bind(h.J0,this.Cma,this,!0),this.qe.bind(h.Bw,this.Dma,this,!0),this.qe.bind(h.kE,this.e7,this,!0),this.YF=new k(this.qe),this.YF.bind(h.pa,this.Fma,this,!0)))},nU:function(g){g.x=-1+2*g.x/this.IK();g.y=1-2*g.y/this.tB();return g},ro:function(g){this.Yc=g.x;this.Zc=g.y;this.ZF=
g.pageX;this.$F=g.pageY},sC:function(g){this.vT.push(g)},DV:function(g){this.vT.pop(g)}}});
define("kn",["require","oH"],function(a){var e=a("oH");return{yOa:function(){this.iW=!1;this.ko=null;this.LB=this.PF=0;this.CC=!1;this.Gqa(!0)},zOa:function(){this.Gqa(!1);this.sra(null)},Gqa:function(h){this.iW!=h&&((this.iW=h)||this.hW())},sra:function(h){this.ko!=h&&(this.hW(),this.ko&&(this.ko.unbind(e.An,this.Hqa,this,!0),this.ko.unbind(e.Kf,this.hW,this,!0),this.ko.unbind(e.pa,this.Fqa,this,!0),this.LB=this.PF=0),this.ko=h)&&(this.ko.bind(e.An,this.Hqa,this,!0),this.ko.bind(e.Kf,this.hW,this,
!0),this.ko.bind(e.pa,this.Fqa,this,!0))},Hqa:function(){!this.CC&&this.iW&&(this.CC=!0,this.Noa&&this.Noa())},Fqa:function(){this.CC&&(this.PF=this.ko.getX(),this.LB=this.ko.getY(),this.Loa&&this.Loa())},hW:function(){this.CC&&(this.CC=!1,this.LB=this.PF=0,this.Moa&&this.Moa())},a1a:function(){return this.CC}}});
define("dL","require lo oH bm cm fA lb fq nW kg oS hU kn bc oj bF".split(" "),function(a){function e(O){this.pK=!1;this.e4=0;this.Eja=!1;this.Fja=O}function h(O){this.o=O;this.Ip=new f(O);this.B6(y);this.f7();this.yOa();this.fH=.025;this.ik=.25;this.jU=this.kU=this.lU=this.VS=0;this.za=this.$e=null;this.MR=this.gX=!1;this.ST=1;this.AC=null;this.sC(t.jA);this.QF={};[b.sa.Yj,b.sa.Di,b.sa.Pa,b.sa.hb].forEach(function(V){this.QF[V]=new e(300)}.bind(this));[b.sa.wn,b.sa.xt,b.sa.dt,b.sa.Bt,b.sa.Q,b.sa.E].forEach(function(V){this.QF[V]=
new e(300)}.bind(this));this.update()}var m=a("lo"),k=a("oH"),b=a("bm"),g=a("cm"),d=a("fA"),c=a("lb"),f=a("fq"),l=a("nW"),p=a("kg"),q=a("oS"),n=a("hU"),r=a("kn"),t=a("bc"),u=a("oj"),v=a("bF");m.XX(h,[c,q,n,r,Screen]);h.prototype.update=function(){var O=this.o.getComponent(d.hA);this.Il(O&&O.Yb);this.Ip.aea(O&&O.Yb);var V=(!O.TH||-1==L.indexOf(this.o.S))&&O.enabled;this.pW(O&&(V?O.ng:null));this.lL(!!O&&V&&O.sz);this.sra(!!O&&V&&O.jza);V||this.dC();V&&O.sz||(this.Gm=this.Fm=this.gk=this.sj=this.hk=
0)};h.prototype.frame=function(O,V){var Y=!1;!Y&&this.$e&&(Y=this.$e.frame(O,V));!Y&&this.Ch&&(Y=this.WDa(O));Y||this.kSa(O);this.USa();this.WRa();this.Ip.Kea();this.CC&&this.o.S.$a();this.AC=null};var w=1E3/3600*8/1.7;h.prototype.kSa=function(O){O/=1E3;var V=this.Zi?.2:1,Y=this.ST*w;Y*=this.m.get("translationSpeed")*V;var ca=this.m.get("rotationSpeed")*V;V=this.jU;var E=this.kU,K=this.lU,P=this.VS;this.jU=this.kU=this.lU=this.VS=0;var T=(V*V+E*E)/x;T=1<T?1/Math.sqrt(T):1;V*=T;E*=T;var J=C*Math.atan2(this.PF,
Math.abs(this.LB));T=Math.sqrt(this.PF*this.PF+this.LB*this.LB);var M=Math.max(this.tB(),this.IK()),X=this.m.get("fov")/M*2;V=-V*X*ca;E=E*X*ca;K=25*-K*Y;X=this.HK(b.sa.wn,b.sa.dt)*Y;var aa=this.HK(b.sa.Bt,b.sa.xt)*Y,ba=this.HK(b.sa.Q,b.sa.E)*Y,da=this.HK(b.sa.Di,b.sa.Yj)*ca*30,ea=this.HK(b.sa.Pa,b.sa.hb)*ca*30;P=2*P*this.ST/M;ca*=J*T*.125;Y*=.5*-T*this.LB;(T=this.o.getComponent(d.ya))&&(V||E||K||X||ba||aa||da||ea||ca||Y||P)&&(H.makeRotationFromEuler(F.set(0,T.se*z,0,T.bg)),Q.set(X*O,ba*O+P,(aa+Y+
K)*O).applyMatrix4(H),N.set(this.m.get("x"),this.m.get("y"),this.m.get("z")),this.uJa(N,Q,S),this.za.setX(S.x),this.za.setY(S.y),this.za.setZ(S.z),this.za.tn(this.m.get("yaw")+V+(ea+ca)*O),this.za.hw(this.m.get("pitch")+E+da*O),this.za.zi(this.ik),this.o.S.$a())};h.prototype.HK=function(O,V){O=this.QF[O].getState();if(O===e.W_)return-3;if(O===e.Di)return-1.5;V=this.QF[V].getState();return V===e.W_?3:V===e.Di?1.5:0};h.prototype.uJa=function(O,V,Y){Y.copy(O).add(V);if(!Y.equals(O)){this.$g=this.oK(O);
var ca=this.oK(Y);if(this.m.get("keepHeight"))if(Infinity==ca)var E=Infinity;else if(Infinity==this.$g)E=ca;else{E=this.$g+V.y;var K=this.m.get("maxStepHeight");void 0===K&&(K=Infinity!==this.$g?.25*this.$g:0);if(ca<E-K){Y.copy(O);return}Y.y+=E-ca}else E=ca;R.copy(V).normalize().multiplyScalar(.1*this.ST);Y.add(R);this.m.get("collisionDetection")&&this.Mla(O,Y)?Y.copy(O):(this.$g=E,Infinity!==this.$g&&(this.ST=this.$g),Y.sub(R))}};h.prototype.Hna=function(O){this.o.S.$a();this.QF[O].gXa()};h.prototype.cC=
function(O){this.QF[O].hXa()};h.prototype.MU=function(){this.ci=!0;this.sC(t.Zh)};h.prototype.jG=function(O,V){if("translate"==this.m.get("doubleClickAction")){var Y=g.Mj(this.o),ca=g.yb(this.o);if(ca&&Y&&(this.nU(G.set(O,V)),O=this.ZK(G,ca),0!=O.length&&(Y=O[0],Y.face&&Y.face.normal))){ca=N.set(this.m.get("x"),this.m.get("y"),this.m.get("z"));O=S.copy(Y.point);V=this.oK(N);if(Math.abs(Math.acos(Y.face.normal.dot(W)))<.25*Math.PI)O.y+=V;else{Q.copy(O).sub(ca);Y=Q.length();ca=2*V;if(Y<ca)return;O.sub(Q.multiplyScalar(ca/
Y));S.y+=V-this.oK(S)}this.Mla(N,S)||Math.abs(V-this.oK(S))>.05*V||(this.Ch=new u("cubic_in_out",[new v("x",N.x,S.x),new v("y",N.y,S.y),new v("z",N.z,S.z)],1500),this.o.S.$a())}}};h.prototype.WDa=function(O){if(!this.Ch)return!1;this.Ch.zb(O);this.za.setX(this.Ch.cb("x"));this.za.setY(this.Ch.cb("y"));this.za.setZ(this.Ch.cb("z"));this.za.zi(0);this.Ch.Re()&&(this.Ch=null);this.o.S.$a();return!0};var x=2500;h.prototype.LU=function(O,V){this.ci&&(this.jU+=O,this.kU+=V,this.o.S.$a())};h.prototype.dC=
function(){this.ci=!1;this.DV(t.Zh);this.o.S.$a()};h.prototype.NU=function(O){this.lU+=O;this.o.S.$a()};h.prototype.B7=function(O,V){this.VS+=V;this.o.S.$a()};h.prototype.Noa=function(){this.MHa();this.sC(t.Zh)};h.prototype.Loa=function(){this.o.S.$a()};h.prototype.Moa=function(){this.DV(t.Zh)};h.prototype.Il=function(O){this.m!=O&&(this.m&&(this.$e&&(this.$e.dispose(),this.$e=null),this.za=null,A.forEach(function(V){this.m.unbind(k.G(V),this.S7,this,!0)}.bind(this)),B.forEach(function(V){this.m.unbind(k.G(V),
this.t7,this,!0)}.bind(this)),this.m.set("userInteracting",!1)),this.m=O)&&(this.za=new l(this.m),this.YK(),A.forEach(function(V){this.m.bind(k.G(V),this.S7,this,!0)}.bind(this)),this.S7(),B.forEach(function(V){this.m.bind(k.G(V),this.t7,this,!0)}.bind(this)),this.t7(),this.$e=new p(this.o,this.m),this.m.set("userInteracting",!1))};h.prototype.YK=function(){this.m&&(this.m.set("fov",this.m.get("initialFov")),this.m.set("x",this.m.get("initialX")),this.m.set("y",this.m.get("initialY")),this.m.set("z",
this.m.get("initialZ")),this.m.set("yaw",this.m.get("initialYaw")),this.m.set("pitch",this.m.get("initialPitch")))};h.prototype.S7=function(){this.gX||(this.gX=!0,this.o.S.$a())};h.prototype.USa=function(){if(this.gX&&this.o&&this.m){this.gX=!1;var O=this.o.J(d.ya,!0);O.translationX=this.m.get("x");O.translationY=this.m.get("y");O.cf=this.m.get("z");O.se=-this.m.get("yaw");O.Se=this.m.get("pitch");O.Te=0;O.bg="YXZ";O.positionX=0;O.positionY=0;O.positionZ=0;O.easing=this.m.get("easing")}};h.prototype.t7=
function(){this.MR||(this.MR=!0,this.o.S.$a())};h.prototype.WRa=function(){this.MR&&this.o&&this.m&&(this.MR=!1,this.o.J(d.PerspectiveCamera,!0).fov=this.m.get("fov"))};h.prototype.oK=function(O){if(this.pHa===O.x&&this.qHa===O.y&&this.rHa===O.z)return this.oHa;I.far=Infinity;I.ray.origin.copy(O);I.ray.direction.copy(D);var V=I.intersectObjects(this.u5(),!1);if(0===V.length)return Infinity;V=V[0].distance;this.pHa=O.x;this.qHa=O.y;this.rHa=O.z;return this.oHa=V};h.prototype.Mla=function(O,V){I.far=
O.distanceTo(V);I.ray.origin.copy(O);I.ray.direction.copy(V).sub(O).normalize();return 0<I.intersectObjects(this.u5(),!1).length};h.prototype.ZK=function(O,V){I.far=V.far;I.setFromCamera(O,V);return I.intersectObjects(this.u5(),!1)};h.prototype.wT=function(O,V){I.ray.origin.copy(O);I.ray.direction.copy(V).sub(O).normalize();return I.intersectObjects(this.W0a(),!1)};h.prototype.u5=function(){if(this.AC)return this.AC;var O=this.o&&g.Mj(this.o);if(!O)return this.AC=[];var V=[];(U.get(this.o.S)||[]).forEach(function(ca){(ca=
g.yb(ca))&&V.push(ca)});this.AC=[];for(O=[O];0<O.length;){var Y=O.pop();Y.isSprite||Y.isLine||Y.isSkinnedMesh||Y.material&&!Y.material.visible||-1!==V.indexOf(Y)||(Y.children&&O.push.apply(O,Y.children),this.AC.push(Y))}return this.AC};var y=[b.sa.Yj,b.sa.Di,b.sa.Pa,b.sa.hb,b.sa.wn,b.sa.xt,b.sa.dt,b.sa.Bt,b.sa.Q,b.sa.E],A="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),B=["minFov","maxFov","fov"],z=Math.PI/180,C=180/Math.PI,H=new THREE.Matrix4,
D=new THREE.Vector3(0,-1,0),I=new THREE.Raycaster,F=new THREE.Euler,N=new THREE.Vector3,S=new THREE.Vector3,Q=new THREE.Vector3,R=new THREE.Vector3,W=new THREE.Vector3(0,1,0),G=new THREE.Vector2;h.prototype.dispose=function(){this.Il(null);this.C6();this.g7();this.zOa();this.Ip.eb()};h.Ob=function(O){O.H(d.it).manager=new h(O)};h.eb=function(O){var V=O.getComponent(d.it);V.manager.dispose();V.manager=null;O.ma(d.it)};h.update=function(O){O.getComponent(d.it).manager.update()};h.frame=function(O,V,
Y){O.getComponent(d.it).manager.frame(V,Y)};var L=[];h.VP=function(O){L=[];O.forEach(function(V){0>L.indexOf(V.S)&&L.push(V.S)})};var U=new Map;h.pZa=function(O){U.clear();O.forEach(function(V){U.has(V.S)||U.set(V.S,[]);U.get(V.S).push(V)})};e.prototype.gXa=function(){this.pK||(this.pK=!0,this.Eja=Date.now()-this.e4<this.Fja,this.e4=Date.now())};e.prototype.hXa=function(){this.pK&&(this.pK=!1)};e.prototype.getState=function(){return this.pK||Date.now()-this.e4<this.Fja?this.Eja?e.W_:e.Di:e.Yj};e.Yj=
0;e.Di=1;e.W_=2;return h});
define("bY","require lo oH bm kP cm fA lb fq nW kg oS hU bc oj bF".split(" "),function(a){function e(J){this.o=J;this.B6(Q);this.f7();this.Ip=new l(J);this.Rc=w;this.Zp=this.Pi=null;this.fH=.025;this.ik=.25;this.Nh=void 0;this.OC=1;this.hk=this.sj=this.gk=this.Gm=this.Fm=0;this.xk=[];this.EB=this.FB=this.GB=this.CB=this.BB=this.zx=this.Oi=this.gu=this.hu=this.ju=this.iu=this.fu=void 0;this.a6=1E3;this.QK=void 0;this.CF=0;this.za=this.$e=null;this.sC(t.jA);this.update()}function h(J,M){J=M-J;180<J?
J-=360:-180>J&&(J+=360);return J}function m(){return(new Date).getTime()}var k=a("lo"),b=a("oH"),g=a("bm");a("kP");var d=a("cm"),c=a("fA"),f=a("lb"),l=a("fq"),p=a("nW"),q=a("kg"),n=a("oS"),r=a("hU"),t=a("bc"),u=a("oj"),v=a("bF");k.XX(e,[f,n,r]);e.prototype.update=function(){var J=this.o.getComponent(c.iA);this.Il(J&&J.Yb);this.Ip.aea(J&&J.Yb);var M=(!J.TH||-1==T.indexOf(this.o.S))&&J.enabled;this.pW(J&&(M?J.ng:null));this.lL(!!J&&M&&J.sz);M||this.dC();M&&J.sz||(this.Gm=this.Fm=this.gk=this.sj=this.hk=
0)};e.prototype.frame=function(J,M){this.$e&&this.$e.frame(J,M)&&this.hq();this.Ch&&(this.Ch.zb(J),this.za.setX(this.Ch.cb("x")),this.za.setY(this.Ch.cb("y")),this.za.setZ(this.Ch.cb("z")),this.za.OD(this.Ch.cb("distance")),this.za.zi(0),this.Ch.Re()&&(this.Ch=null));this.sg&&(this.sg=Math.max(0,this.sg-J/this.a6),this.za.setX(this.m.get("x")+this.EB*this.sg),this.za.setY(this.m.get("y")+this.FB*this.sg),this.za.setZ(this.m.get("z")+this.GB*this.sg),this.za.tn(this.m.get("yaw")+this.CB*this.sg),this.za.hw(this.m.get("pitch")+
this.BB*this.sg),this.za.zi(0),this.o.S.$a(),0==this.sg&&this.XM());if(this.Gm||this.Fm||this.gk||this.sj||this.hk)M=J/1E3,this.j7(this.gk*M,this.sj*M,this.hk*M,this.Gm*M,this.Fm*M);if(this.Rc==w&&void 0!==this.Gk&&!this.sj&&this.m.get("keepHeight")&&void 0!==this.QK&&Math.abs(this.Gk-this.m.get("y"))>O){this.CF=Math.max(this.CF-J,0);M=this.m.get("y");var X=this.Gk-M;this.za.setY(M+Math.min(J*this.QK,Math.abs(X))*(0<X?1:-1));this.o.S.$a()}this.Rc!=w||!this.Zp||this.sg||this.Ch||(this.VA(),this.o.S.$a());
this.Ip.Kea()};e.prototype.$L=function(){this.haa()};e.prototype.haa=function(){var J=0!=this.hk||0!=this.sj||0!=this.gk;this.Gm=this.Fm=this.hk=this.sj=this.gk=0;var M=this.Of[g.sa.wn]?1:this.Of[g.sa.dt]?-1:0,X=this.Of[g.sa.Bt]?1:this.Of[g.sa.xt]?-1:0,aa=this.Of[g.sa.Q]?1:this.Of[g.sa.E]?-1:0,ba=this.Of[g.sa.Yj]?1:this.Of[g.sa.Di]?-1:0,da=this.Of[g.sa.Pa]?1:this.Of[g.sa.hb]?-1:0;if(ba||da||M||X||aa){var ea=this.Zi?.2:1;M&&(this.gk=-M*ea*this.m.get("translationSpeed"));aa&&(this.sj=-aa*ea*this.m.get("translationSpeed"));
X&&(this.hk=-X*ea*this.m.get("translationSpeed"));da&&(this.Gm=-da*ea*100*this.m.get("rotationSpeed"));ba&&(this.Fm=ba*ea*100*this.m.get("rotationSpeed"));this.VA();this.o.S.$a();this.V8();this.LHa();M=0!=this.hk||0!=this.sj||0!=this.gk;!J&&M&&this.XM()}};e.prototype.MU=function(){this.ci=!0;this.Rc==C||this.Rc==H||m()<this.nka+500||(this.sC(t.Zh),this.Rc=w)};e.prototype.LU=function(J,M,X,aa){if(this.ci&&!(this.Rc==C||this.Rc==H||m()<this.nka+500)){var ba=(J*J+M*M)/2500;ba=1<ba?1/Math.sqrt(ba):1;
J*=ba;M*=ba;ba=this.pJa();this.Rc!=ba?(this.Rc=ba,this.Rc==x?this.mQa(X,aa):this.Rc==y?this.Ora():this.Rc==A?this.zQa():this.Rc==z&&this.xQa()):this.Rc!=w&&(this.Rc==x?this.eSa(J,M,X,aa):this.Rc==y?this.ISa(J,M):this.Rc==A?this.KSa(J,M):this.Rc==z&&this.HSa(J,M))}};e.prototype.dC=function(){this.DV(t.Zh);this.ci=!1;this.Rc!=w&&(this.Rc=w,this.Pi=null,this.Mra(),this.V8(),this.Gla(),this.o.S.$a())};e.prototype.NU=function(J){this.Rc!=B?(this.Rc=B,this.uQa()):this.tSa(J);this.i7&&clearTimeout(this.i7);
this.i7=setTimeout(function(){this.i7=null;this.Rc==B&&(this.Rc=w,this.hq())}.bind(this),1E3)};e.prototype.zna=function(J,M,X,aa,ba,da,ea,ia,fa,ha){this.Rc!=C&&this.Rc!=H?(J=.05<Math.abs(da-ba),X=5<h(fa,ha),M=Math.abs(aa-M)>.02*this.tB(),fa=10>Math.min(Math.abs(fa),180-Math.abs(fa),Math.abs(ha),180-Math.abs(ha)),ea=.2>ea/this.ou(),(J||M)&&(fa||ea)?(this.Rc=H,this.yQa()):!X&&!J||fa&&ea||(this.Rc=C,this.AQa())):this.Rc==C?this.LSa(ba,da,fa,ha):this.Rc==H&&this.JSa(M,aa,ba,da)};e.prototype.C7=function(){this.Pi=
null;this.Rc==C&&this.Mra();this.Rc=w;this.nka=m();this.V8();this.Gla();this.o.S.$a()};e.prototype.jG=function(J,M){if("zoom"==this.m.get("doubleClickAction")){var X=d.Mj(this.o),aa=d.yb(this.o);aa&&X&&(E.set(J,M),this.nU(E),J=this.ZK(E,aa),0!=J.length&&(this.hq(),this.VA(),J=J[0].point,D.setFromMatrixPosition(aa.matrixWorld),this.Ch=new u("quad_in_out",[new v("x",D.x,.5*(J.x+D.x)),new v("y",D.y,.5*(J.y+D.y)),new v("z",D.z,.5*(J.z+D.z)),new v("distance",0,0)],500)))}};e.prototype.pJa=function(){return this.GL?
this.Zi?y:x:this.MF()?this.Zi?z:A:w};e.prototype.mQa=function(J,M){this.KG();this.VA();this.cEa(J,M);this.m.get("keepHeight")&&this.UW();this.o.S.$a()};e.prototype.eSa=function(J,M,X,aa){var ba=d.yb(this.o);ba&&(D.setFromMatrixPosition(ba.matrixWorld),this.Pi?(I.set(X,aa,0),this.nU(I),I.unproject(ba),J=this.Pi.x-D.x,M=this.Pi.z-D.z,-2<Math.atan2(this.Pi.y-D.y,Math.sqrt(M*M+J*J))*U?(N.copy(this.Pi).applyMatrix4(ba.matrixWorldInverse),S.copy(I).applyMatrix4(ba.matrixWorldInverse),J=N.z/S.z,F.copy(S).multiplyScalar(J).applyMatrix4(ba.matrixWorld).sub(this.Pi),
0!=F.y&&this.hq()):(J=(this.Pi.y-D.y)/(I.y-D.y),F.copy(I).sub(D).multiplyScalar(J).add(D).sub(this.Pi)),F.multiplyScalar(-1)):(V.makeRotationFromEuler(K.set(0,-this.m.get("yaw")*L,0,"YXZ")),Y.set(-J*this.m.get("translationSpeed")/this.ou(),0,-M*this.m.get("translationSpeed")/this.ou()).applyMatrix4(V),F.copy(Y).multiplyScalar(10*this.OC)),this.za.setX(D.x+F.x),this.za.setY(D.y+F.y),this.za.setZ(D.z+F.z),this.pH(F.x,F.y,F.z,0,0),this.za.zi(this.ik))};e.prototype.Ora=function(){this.KG();this.Pi=null;
this.m2();this.hq();this.o.S.$a()};e.prototype.ISa=function(J,M){var X;X||(X=1);J=360*J/this.IK()*this.m.get("rotationSpeed");M=180*-M/this.tB()*this.m.get("rotationSpeed");this.za.tn(this.m.get("yaw")+J);this.za.hw(this.m.get("pitch")+M);this.za.OD(this.l8/X);this.pH(0,0,0,J,M);this.za.zi(this.ik);this.o.S.$a()};e.prototype.zQa=function(){this.Ora()};e.prototype.KSa=function(J,M){var X=d.yb(this.o),aa=this.m.get("distance")||this.Nh||1;M=M*aa*2*Math.tan(X.fov*L/2)/this.tB();0!=M&&this.hq();this.za.setY(this.m.get("y")+
M);J=360*J/this.IK()*this.m.get("rotationSpeed");this.za.tn(this.m.get("yaw")+J);this.pH(0,M,0,J,0);this.za.zi(this.ik)};e.prototype.xQa=function(){this.KG();this.VA();this.hq();this.o.S.$a()};e.prototype.HSa=function(J,M){J=360*-J/this.IK()*this.m.get("rotationSpeed");M=180*M/this.tB()*this.m.get("rotationSpeed");this.za.tn(this.m.get("yaw")+J);this.za.hw(this.m.get("pitch")+M);this.pH(0,0,0,J,M);this.za.zi(this.ik);this.o.S.$a()};e.prototype.uQa=function(){this.hq();this.KG();this.Pi=null;this.VA();
this.m.get("keepHeight")&&this.UW();this.o.S.$a()};e.prototype.tSa=function(J){this.qPa(Y);Y.multiplyScalar(-J*this.m.get("translationSpeed")*(this.OC||1));this.Nh&&this.Oha(this.Nh+Y.y);this.za.setX(this.m.get("x")+Y.x);this.za.setY(this.m.get("y")+Y.y);this.za.setZ(this.m.get("z")+Y.z);this.za.zi(this.fH)};e.prototype.AQa=function(){this.KG();this.Pi=null;this.m2();this.hq();this.o.S.$a();this.Ur=void 0};e.prototype.LSa=function(J,M,X,aa){void 0!==this.Ur||(this.Ur=X);X=h(this.Ur,aa);this.Ur=aa;
this.za.tn(this.m.get("yaw")+X);this.za.OD(this.l8*J/M);this.pH(0,0,0,X,0);this.za.zi(this.ik);this.o.S.$a()};e.prototype.yQa=function(){this.KG();this.Pi=null;this.m2();this.hq();this.o.S.$a();this.HV=void 0};e.prototype.JSa=function(J,M,X,aa){void 0!==this.HV||(this.HV=J);J=180*-(M-this.HV)/this.tB();this.HV=M;this.za.hw(this.m.get("pitch")+J);this.za.OD(this.l8*X/aa);this.pH(0,0,0,0,J);this.za.zi(this.ik);this.o.S.$a()};e.prototype.cEa=function(J,M){var X=d.Mj(this.o),aa=d.yb(this.o);this.Pi=null;
aa&&X&&(E.set(J,M),this.nU(E),J=this.ZK(E,aa),J.length&&(this.Pi=J[0].point))};e.prototype.m2=function(){this.Zp=null;var J=d.Mj(this.o),M=d.yb(this.o);M&&J&&(E.set(0,0),J=this.ZK(E,M),J.length&&(this.Zp=J[0].point),this.Zp||(this.Zp=(new THREE.Vector3).setFromMatrixPosition(M.matrixWorld)),this.m.set("distance",D.setFromMatrixPosition(M.matrixWorld).distanceTo(this.Zp)),this.l8=this.m.get("distance"),this.m.set("x",this.Zp.x),this.m.set("y",this.Zp.y),this.m.set("z",this.Zp.z),this.m.set("easing",
0))};e.prototype.VA=function(){this.Zp&&(this.Zp=null,D.setFromMatrixPosition(d.yb(this.o).matrixWorld),this.m.set("distance",0),this.m.set("x",D.x),this.m.set("y",D.y),this.m.set("z",D.z),this.m.set("easing",0))};var w="none",x="dragging",y="rotating",A="rotating yaw dragging y",B="moving front",z="rotating around camera",C="rotating yaw gesture",H="rotating pitch gesture",D=new THREE.Vector3,I=new THREE.Vector3,F=new THREE.Vector3,N=new THREE.Vector3,S=new THREE.Vector3;e.prototype.Il=function(J){this.m!=
J&&(this.m&&(this.$e&&(this.$e.dispose(),this.$e=null),this.za=null,R.forEach(function(M){this.m.unbind(b.G(M),this.fta,this,!1)}.bind(this)),W.forEach(function(M){this.m.unbind(b.G(M),this.Dv,this,!1)}.bind(this)),G.forEach(function(M){this.m.unbind(b.G(M),this.rq,this,!1)}.bind(this)),this.m.set("userInteracting",!1)),this.m=J)&&(this.za=new p(this.m),this.YK(),R.forEach(function(M){this.m.bind(b.G(M),this.fta,this,!1)}.bind(this)),W.forEach(function(M){this.m.bind(b.G(M),this.Dv,this,!1)}.bind(this)),
G.forEach(function(M){this.m.bind(b.G(M),this.rq,this,!1)}.bind(this)),this.Dv(),this.rq(),this.$e=new q(this.o,this.m),this.m.set("userInteracting",!1))};e.prototype.YK=function(){this.m&&(this.m.set("fov",this.m.get("initialFov")),this.m.set("x",this.m.get("initialX")),this.m.set("y",this.m.get("initialY")),this.m.set("z",this.m.get("initialZ")),this.m.set("yaw",this.m.get("initialYaw")),this.m.set("pitch",this.m.get("initialPitch")))};e.prototype.Dv=function(){if(this.o&&this.m){var J=this.o.J(c.ya,
!0);J.translationX=this.m.get("x");var M=this.m.get("y")-J.translationY;Math.abs(M)>O&&(J.translationY=this.m.get("y"),this.Rc!=w||this.gk||this.sj||this.hk||this.Gm||this.Fm||this.Ch||this.sg||this.hq());J.cf=this.m.get("z");J.se=-this.m.get("yaw");J.Se=this.m.get("pitch");J.Te=0;J.bg="YXZ";J.positionX=0;J.positionY=0;J.positionZ=this.m.get("distance");J.easing=this.m.get("easing");(void 0!==this.m.get("minHeight")||this.m.get("keepHeight"))&&this.sta()}};e.prototype.rq=function(){this.o&&this.m&&
(this.o.J(c.PerspectiveCamera,!0).fov=this.m.get("fov"))};e.prototype.j7=function(J,M,X,aa,ba){var da=this.o.getComponent(c.ya);da&&(V.makeRotationFromEuler(K.set(0,da.se*L,0,da.bg)),Y.set(J,M,X).applyMatrix4(V).multiplyScalar(this.OC),void 0!==this.Nh&&(this.Nh+=Y.y,this.XM()),this.za.setX(this.m.get("x")+Y.x),this.za.setY(this.m.get("y")+Y.y),this.za.setZ(this.m.get("z")+Y.z),this.za.tn(this.m.get("yaw")+aa),this.za.hw(this.m.get("pitch")+ba),this.za.zi(this.ik))};e.prototype.qPa=function(J){var M=
this.o.getComponent(c.ya);M&&(V.makeRotationFromEuler(K.set(M.Se*L,M.se*L,M.Te*L,M.bg)),J.set(0,0,1).applyMatrix4(V))};e.prototype.KG=function(){this.zx=m();this.Oi=1;this.gu=this.hu=this.ju=this.iu=this.fu=0;this.sg=this.EB=this.FB=this.GB=this.CB=this.BB=void 0};e.prototype.pH=function(J,M,X,aa,ba){var da=m();this.Oi=da-this.zx;this.zx=da;this.gu=J;this.hu=M;this.ju=X;this.iu=aa;this.fu=ba};e.prototype.Mra=function(){this.Oi&&(this.EB=this.gu/this.Oi,this.FB=this.hu/this.Oi,this.GB=this.ju/this.Oi,
this.CB=this.iu/this.Oi,this.BB=this.fu/this.Oi,this.sg=1)};e.prototype.fta=function(){void 0!==this.m.get("minHeight")&&(void 0===this.Nh&&this.UW(),void 0!==this.Nh&&this.Nh<this.m.get("minHeight")&&(this.Nh=this.m.get("minHeight")),this.sta())};e.prototype.hq=function(){this.Nh=this.Gk=void 0;this.YM&&(clearTimeout(this.YM),this.YM=null)};e.prototype.Gla=function(){this.CF=2E3;this.QK=void 0;this.o.S.$a()};e.prototype.LHa=function(){this.CF=0;this.QK=Infinity;this.o.S.$a()};e.prototype.V8=function(){this.Pi||
void 0!==this.Nh||this.YM||(this.YM=setTimeout(function(){this.YM=null;this.UW()}.bind(this),0))};e.prototype.UW=function(){var J=this.Ska();void 0!==J?this.Oha(J):this.XM()};e.prototype.Oha=function(J){var M=this.m.get("minHeight")||J;this.Nh=Math.max(J,M);this.XM();this.Gk=this.m.get("y")+this.Nh-J};e.prototype.XM=function(){if(this.Nh)this.OC=Math.min(10,Math.max(this.Nh||0,.1));else{this.yp(Y);this.YIa(ca);var J=this.wT(Y,ca);this.OC=J.length?Y.distanceTo(J[0].point):Y.y-(this.m.get("minY")||
0)}this.OC=Math.max(Math.abs(this.OC||0),.1)};e.prototype.sta=function(){this.tta||void 0===this.Nh||(this.tta=setTimeout(function(){this.tta=null;var J=this.Ska();void 0!==J&&void 0!==this.Nh&&(J=this.Nh-J,this.QK=0==this.CF?Infinity:Math.abs(J/this.CF),this.Gk=this.m.get("y")+J,0!==J&&this.o.S.$a())}.bind(this),0))};e.prototype.Ska=function(){if(this.m)return this.yp(Y),this.AJa(Y.x,Y.y,Y.z)};e.prototype.AJa=function(J,M,X){var aa=this.wT(Y.set(J,M,X),ca.set(0,-1,0));if(0<aa.length)return aa[0].distance;
aa=this.wT(Y.set(J,M+1E3,X),ca.set(0,-1,0));if(0<aa.length)return aa[aa.length-1].distance-1E3};e.prototype.wT=function(J,M){P.ray.origin.copy(J);P.ray.direction.copy(M);return P.intersectObjects(this.KK(),!1)};e.prototype.ZK=function(J,M){P.setFromCamera(J,M);return P.intersectObjects(this.KK(),!1)};e.prototype.KK=function(){var J=this.o&&d.Mj(this.o);if(!J)return[];var M=[];J.traverse(function(X){X.isSprite||X.isLine||M.push(X)});return M};e.prototype.yp=function(J){J.set(0,0,0);this.m&&(J.applyMatrix4(V.makeTranslation(0,
0,this.m.get("distance"))),J.applyMatrix4(V.makeRotationFromEuler(K.set(this.m.get("pitch")*L,-this.m.get("yaw")*L,0*L,"YXZ"))),J.applyMatrix4(V.makeTranslation(this.m.get("x"),this.m.get("y"),this.m.get("z"))))};e.prototype.YIa=function(J){this.m?(V.makeRotationFromEuler(K.set(this.m.get("pitch")*L,-this.m.get("yaw")*L,0,"YXZ")),J.set(0,0,-1).applyMatrix4(V)):J.set(0,0,-1)};var Q=[g.sa.Yj,g.sa.Di,g.sa.Pa,g.sa.hb,g.sa.wn,g.sa.xt,g.sa.dt,g.sa.Bt,g.sa.Q,g.sa.E],R=["minHeight"],W="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),
G=["minFov","maxFov","fov"],L=Math.PI/180,U=180/Math.PI,O=1E-6,V=new THREE.Matrix4,Y=new THREE.Vector3(0,0,0),ca=new THREE.Vector3(0,0,0),E=new THREE.Vector2(0,0),K=new THREE.Euler,P=new THREE.Raycaster;e.prototype.dispose=function(){this.VA();this.Il(null);this.C6();this.g7();this.Ip.eb()};e.Ob=function(J){J.H(c.kt).manager=new e(J)};e.eb=function(J){var M=J.getComponent(c.kt);M.manager.dispose();M.manager=null;J.ma(c.kt)};e.update=function(J){J.getComponent(c.kt).manager.update()};e.frame=function(J,
M,X){J.getComponent(c.kt).manager.frame(M,X)};var T=[];e.VP=function(J){T=[];J.forEach(function(M){0>T.indexOf(M.S)&&T.push(M.S)})};return e});
define("hM","require lo oH bm fA lb fq nW kg oS hU bc".split(" "),function(a){function e(A){this.o=A;this.B6(v);this.f7();this.Ip=new d(A);this.Ck=new THREE.Matrix4;this.fH=.05;this.ik=.25;this.gk=this.sj=this.hk=this.Gm=this.Fm=0;this.EB=this.FB=this.GB=this.CB=this.BB=this.zx=this.Oi=this.gu=this.hu=this.ju=this.iu=this.fu=void 0;this.a6=1E3;this.xqa=720;this.vsa=4;this.dma=720;this.D6=2;this.za=this.$e=null;this.sC(q.jA);this.update()}var h=a("lo"),m=a("oH"),k=a("bm"),b=a("fA"),g=a("lb"),d=a("fq"),
c=a("nW"),f=a("kg"),l=a("oS"),p=a("hU"),q=a("bc");h.XX(e,[g,l,p]);e.prototype.update=function(){var A=this.o.getComponent(b.oA);this.Il(A&&A.Yb);this.Ip.aea(A&&A.Yb);var B=(!A.TH||-1==y.indexOf(this.o.S))&&A.enabled;this.pW(A&&(B?A.ng:null));this.lL(!!A&&B&&A.sz);B||this.dC();B&&A.sz||(this.Gm=this.Fm=this.gk=this.sj=this.hk=0)};e.prototype.frame=function(A,B){this.$e&&this.$e.frame(A,B);this.sg&&(this.sg=Math.max(0,this.sg-A/this.a6),this.za.setX(this.m.get("x")+this.EB*this.sg),this.za.setY(this.m.get("y")+
this.FB*this.sg),this.za.setZ(this.m.get("z")+this.GB*this.sg),this.za.tn(this.m.get("yaw")+this.CB*this.sg),this.za.hw(this.m.get("pitch")+this.BB*this.sg),this.o.S.$a());if(this.Gm||this.Fm||this.gk||this.sj||this.hk)A/=1E3,this.j7(this.gk*A,this.sj*A,this.hk*A,this.Gm*A,this.Fm*A);this.Ip.Kea()};e.prototype.$L=function(){this.haa()};e.prototype.haa=function(){this.Gm=this.Fm=this.hk=this.sj=this.gk=0;var A=this.Of[k.sa.wn]?1:this.Of[k.sa.dt]?-1:0,B=this.Of[k.sa.Bt]?1:this.Of[k.sa.xt]?-1:0,z=this.Of[k.sa.Q]?
1:this.Of[k.sa.E]?-1:0,C=this.Of[k.sa.Yj]?1:this.Of[k.sa.Di]?-1:0,H=this.Of[k.sa.Pa]?1:this.Of[k.sa.hb]?-1:0;if(A||B||z||C||H){var D=this.Zi?.2:1;A&&(this.gk=-A*D*this.D6*this.m.get("translationSpeed"));z&&(this.sj=-z*D*this.D6*this.m.get("translationSpeed"));B&&(this.hk=-B*D*this.D6*this.m.get("translationSpeed"));H&&(this.Gm=H*D*this.dma*this.m.get("rotationSpeed"));C&&(this.Fm=-C*D*this.dma*this.m.get("rotationSpeed"));this.o.S.$a()}};e.prototype.MU=function(){this.sC(q.Zh);this.ci=!0;this.zx=
(new Date).getTime();this.Oi=1;this.gu=this.hu=this.ju=this.iu=this.fu=0;this.sg=this.EB=this.FB=this.GB=this.CB=this.BB=void 0;this.o.S.$a()};e.prototype.LU=function(A,B){if(this.ci){var z=(A*A+B*B)/2500;z=1<z?1/Math.sqrt(z):1;A*=z;B*=z;z=(new Date).getTime();this.Oi=z-this.zx;this.zx=z;this.gu=this.hu=this.ju=this.iu=this.fu=0;z=this.GL;this.Zi&&(z=!z);z?(this.iu=+A*this.m.get("rotationSpeed")*this.xqa/this.ou(),this.fu=-B*this.m.get("rotationSpeed")*this.xqa/this.ou(),this.wqa(this.iu,this.fu)):
(this.Ika(A*this.vsa/this.ou(),B*this.vsa/this.ou(),r),this.gu=r.x,this.hu=r.y,this.ju=r.z,this.K$(this.gu,this.hu,this.ju));this.za.zi(this.ik)}};e.prototype.Ika=function(A,B,z){var C=this.o.getComponent(b.ya);z.set(-A*this.m.get("translationSpeed"),+B*this.m.get("translationSpeed"),0*this.m.get("translationSpeed"));z.applyMatrix4(u.makeRotationFromEuler(t.set(C.Se*n,C.se*n,C.Te*n,C.bg)));z.multiplyScalar(this.m.get("distance"))};e.prototype.dC=function(){this.DV(q.Zh);this.ci&&(this.ci=!1,this.Oi&&
(this.EB=this.gu/this.Oi,this.FB=this.hu/this.Oi,this.GB=this.ju/this.Oi,this.CB=this.iu/this.Oi,this.BB=this.fu/this.Oi,this.sg=1,this.za.zi(this.ik)),this.zx=void 0)};e.prototype.NU=function(A){this.za.OD(this.m.get("distance")-A*this.m.get("distance")*this.m.get("translationSpeed"));this.za.zi(this.fH)};e.prototype.Ana=function(){this.Hla=this.m.get("distance");this.ci=!1};e.prototype.B7=function(A,B,z){this.Ika(A/this.ou(),B/this.ou(),r);this.K$(r.x,r.y,r.z);this.za.OD(this.Hla/z);this.za.zi(this.ik)};
e.prototype.C7=function(){this.Hla=this.m.get("distance")};e.prototype.j7=function(A,B,z,C,H){var D=this.o.getComponent(b.ya);D&&(u.makeRotationFromEuler(t.set(0,D.se*n,0,D.bg)),r.set(A,B,z).applyMatrix4(u).multiplyScalar(this.m.get("distance")),this.K$(r.x,r.y,r.z),this.wqa(C,H),this.za.zi(this.ik))};e.prototype.K$=function(A,B,z){this.za.setX(this.m.get("x")+A);this.za.setY(this.m.get("y")+B);this.za.setZ(this.m.get("z")+z)};e.prototype.wqa=function(A,B){this.za.tn(this.m.get("yaw")+A);this.za.hw(this.m.get("pitch")+
B)};e.prototype.Il=function(A){this.m!=A&&(this.m&&(this.$e&&(this.$e.dispose(),this.$e=null),this.za=null,w.forEach(function(B){this.m.unbind(m.G(B),this.Dv,this,!1)}.bind(this)),x.forEach(function(B){this.m.unbind(m.G(B),this.rq,this,!1)}.bind(this)),this.m.set("userInteracting",!1)),this.m=A)&&(this.m.set("userInteracting",!1),this.za=new c(this.m),this.YK(),w.forEach(function(B){this.m.bind(m.G(B),this.Dv,this,!1)}.bind(this)),x.forEach(function(B){this.m.bind(m.G(B),this.rq,this,!1)}.bind(this)),
this.Dv(),this.rq(),this.$e=new f(this.o,this.m))};e.prototype.YK=function(){this.m&&(this.m.set("fov",this.m.get("initialFov")),this.m.set("x",this.m.get("initialX")),this.m.set("y",this.m.get("initialY")),this.m.set("z",this.m.get("initialZ")),this.m.set("yaw",this.m.get("initialYaw")),this.m.set("pitch",this.m.get("initialPitch")),this.m.set("distance",this.m.get("initialDistance")),this.m.set("easing",this.ik))};e.prototype.Dv=function(){if(this.o&&this.m){var A=this.o.J(b.ya,!0);A.translationX=
this.m.get("x");A.translationY=this.m.get("y");A.cf=this.m.get("z");A.se=-this.m.get("yaw");A.Se=this.m.get("pitch");A.Te=0;A.bg="YXZ";A.positionX=0;A.positionY=0;A.positionZ=this.m.get("distance");A.easing=this.m.get("easing")}};e.prototype.rq=function(){this.o&&this.m&&(this.o.J(b.PerspectiveCamera,!0).fov=this.m.get("fov"))};var n=Math.PI/180,r=new THREE.Vector3(0,1,0),t=new THREE.Euler,u=new THREE.Matrix4,v=[k.sa.Yj,k.sa.Di,k.sa.Pa,k.sa.hb,k.sa.wn,k.sa.xt,k.sa.dt,k.sa.Bt,k.sa.Q,k.sa.E],w="easing minYaw maxYaw yaw minPitch maxPitch pitch minDistance maxDistance distance minX maxX x minY maxY y minZ maxZ z".split(" "),
x=["minFov","maxFov","fov"];e.prototype.dispose=function(){this.Il(null);this.C6();this.g7();this.Ip.eb()};e.Ob=function(A){A.H(b.rt).manager=new e(A)};e.eb=function(A){var B=A.getComponent(b.rt);B.manager.dispose();B.manager=null;A.ma(b.rt)};e.update=function(A){A.getComponent(b.rt).manager.update()};e.frame=function(A,B,z){A.getComponent(b.rt).manager.frame(B,z)};var y=[];e.VP=function(A){y=[];A.forEach(function(B){0>y.indexOf(B.S)&&y.push(B.S)})};return e});
define("ha","require lo ly fA dL bY hM".split(" "),function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("dL"),b=a("bY"),g=a("hM");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(d,c){(this.Yca.de.length||this.Yca.pg.length)&&k.pZa(this.Yca.C);this.lva.C.length&&this.lva.C.slice().forEach(b.Ob);this.WO.Ua.length&&this.WO.Ua.slice().forEach(b.update);this.WO.C.length&&this.WO.C.slice().forEach(function(f){b.frame(f,d,c)});this.mva.C.length&&this.mva.C.slice().forEach(b.eb);this.gva.C.length&&
this.gva.C.slice().forEach(k.Ob);this.VO.Ua.length&&this.VO.Ua.slice().forEach(k.update);this.VO.C.length&&this.VO.C.slice().forEach(function(f){k.frame(f,d,c)});this.hva.C.length&&this.hva.C.slice().forEach(k.eb);this.pya.C.length&&this.pya.C.slice().forEach(g.Ob);this.HP.Ua.length&&this.HP.Ua.slice().forEach(g.update);this.HP.C.length&&this.HP.C.slice().forEach(function(f){g.frame(f,d,c)});this.qya.C.length&&this.qya.C.slice().forEach(g.eb);if(this.SO.de.length||this.SO.pg.length)k.VP(this.SO.C),
this.VO.C.slice().forEach(k.update),b.VP(this.SO.C),this.WO.C.slice().forEach(b.update),g.VP(this.SO.C),this.HP.C.slice().forEach(g.update)};a.K={};a.K.SO=[m.yw];a.K.Yca=[m.lJ];a.K.gva=[m.hA,m.it.not];a.K.VO=[m.hA,m.it];a.K.hva=[m.hA.not,m.it];a.K.lva=[m.iA,m.kt.not];a.K.WO=[m.iA,m.kt];a.K.mva=[m.iA.not,m.kt];a.K.pya=[m.oA,m.rt.not];a.K.HP=[m.oA,m.rt];a.K.qya=[m.oA.not,m.rt];return a});
define("iI",["require","fA"],function(a){function e(m){this.o=m;this.Kra=this.ha=null;this.ua=this.ia=void 0;this.update()}var h=a("fA");e.prototype.update=function(){var m=this.o.getComponent(h.Yh),k=m.source&&m.source.width||0,b=m.source&&m.source.height||0;!this.ha||!!this.ha.u1a==m.isSprite&&this.ia==k&&this.ua==b||(this.ha.map.dispose(),this.ha.dispose(),this.ha=null);this.ia=k;this.ua=b;this.ha||(m.isSprite?(this.ha=new THREE.SpriteMaterial,this.ha.sizeAttenuation=!1):this.ha=new THREE.MeshBasicMaterial,
this.ha.map=new THREE.Texture,this.ha.transparent=!0,this.o.H(h.Material).material=this.ha);this.ha.map.image!=m.source&&(this.ha.map.image=m.source,this.ha.map.needsUpdate=!0);this.Kra!=m.oQ&&(this.Kra=m.oQ,this.ha.map.needsUpdate=!0);this.ha.opacity=m.opacity||0;this.ha.depthTest=!!m.depthTest;this.ha.visible=0<this.ha.opacity&&!m.hidden;this.ha.needsUpdate=!0;this.o.S.$a()};e.prototype.dispose=function(){this.ha&&(this.ha.map.dispose(),this.ha.map=null,this.ha.dispose(),this.ha=null,this.o.ma(h.Material));
this.o=null};e.Ob=function(m){m.H(h.ww).manager=new e(m)};e.eb=function(m){var k=m.getComponent(h.ww);k.manager.dispose();k.manager=null;m.ma(h.ww)};e.update=function(m){m.getComponent(h.ww).manager.update()};return e});
define("ik",["require","lo","ly","fA","iI"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("iI");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.Vl.C.length&&this.Vl.C.slice().forEach(k.Ob);this.materials.Ua.length&&this.materials.Ua.slice().forEach(k.update);this.Wl.C.length&&this.Wl.C.slice().forEach(k.eb)};a.K={};a.K.Vl=[m.Yh,m.ww.not];a.K.materials=[m.Yh,m.ww];a.K.Wl=[m.Yh.not,m.ww];return a});
define("ea",["require","oH","fA","cm","bc"],function(a){function e(x){this.pi=x;this.je=this.Hg=null;this.rK=!1;this.update()}var h=a("oH"),m=a("fA"),k=a("cm"),b=a("bc");e.prototype.update=function(){var x=this.pi.getComponent(m.ef);this.nN(x&&x.enabled?x.Nba:null);this.mN(x&&x.enabled?x.Dba:null)};e.prototype.frame=function(){this.pf()};e.prototype.nN=function(x){this.Hg!=x&&(this.Hg&&this.Hg.unbind(h.jc,this.kf,this,!0),(this.Hg=x)&&this.Hg.bind(h.jc,this.kf,this,!0))};e.prototype.mN=function(x){this.je!=
x&&(this.je&&this.rK&&this.je.pop(b.Zh),(this.je=x)&&this.rK&&this.je.push(b.Zh))};e.prototype.kf=function(){var x=v.get(this.pi.S);x&&0!=x.length&&this.pi.S.$a()};e.prototype.pf=function(){var x=v.get(this.pi.S),y=x&&x.length||0;this.Yqa(0<y);if(0!=y&&(y=this.XS())){var A=this.pi.getComponent(m.ef);if(A)for(g.copy(A.origin).applyMatrix4(y.matrixWorld),d.copy(A.origin).add(A.direction).applyMatrix4(y.matrixWorld).sub(g).normalize(),y=0;y<x.length;y++){A=x[y];var B=A.getComponent(m.Po),z=A.getComponent(m.xw),
C=w.get(A);C&&B&&z&&(z.Uua||(z.Uua=(new THREE.Vector3).setFromMatrixPosition(C.matrixWorld)),c.copy(z.Uua),f.copy(B.direction),this.sJa(c,f,g,d,l),z.Hba||(z.Hba=(new THREE.Vector3).copy(l).sub(c)),l.sub(z.Hba),B.min&&0>p.copy(l).sub(B.min).dot(B.direction)&&l.copy(B.min),l.applyMatrix4(q.copy(C.parent.matrixWorld).invert()),A=A.J(m.ya),n.multiply(q.makeTranslation(A.translationX,A.translationY,A.cf).invert()),n.multiply(q.makeRotationFromEuler(r.set(A.Se*u,A.se*u,A.Te*u,A.bg)).invert()),l.applyMatrix4(q),
A.positionX=l.x,A.positionY=l.y,A.positionZ=l.z)}}};e.prototype.Yqa=function(x){this.rK!=x&&(this.rK=x,this.je&&(this.rK?this.je.push(b.Zh):this.je.pop(b.Zh)))};e.prototype.sJa=function(x,y,A,B,z){t.copy(x).sub(A);A=y.dot(B);var C=B.dot(B),H=y.dot(y);B=t.dot(B);var D=t.dot(y);z.copy(x);x=A*A-C*H;0!=x&&z.addScaledVector(y,(C*D-B*A)/x)};e.prototype.XS=function(){var x=k.yb(this.pi);return x&&x.isCamera?x:(x=k.hI(x))&&k.Ms(x)};var g=new THREE.Vector3,d=new THREE.Vector3,c=new THREE.Vector3,f=new THREE.Vector3,
l=new THREE.Vector3,p=new THREE.Vector3,q=new THREE.Matrix4,n=new THREE.Matrix4,r=new THREE.Euler,t=new THREE.Vector3,u=Math.PI/180;e.prototype.dispose=function(){this.Yqa(!1);this.nN(null);this.mN(null);this.o=null};e.mea=function(x){x.H(m.ut).manager=new e(x)};e.zea=function(x){var y=x.getComponent(m.ut);y.manager.dispose();y.manager=null;x.ma(m.ut)};e.Lea=function(x){x.getComponent(m.ut).manager.update()};e.frame=function(x){x.getComponent(m.ut).manager.frame()};var v=new Map,w=new Map;e.XZa=function(x){x.H(m.xw);
x.H(m.yw);e.LAa(x)};e.LAa=function(x){var y=k.yb(x);w.set(x,y);var A=v.get(x.S);A||v.set(x.S,A=[]);y&&(y=A,0>y.indexOf(x)&&y.push(x))};e.oAa=function(x){var y=v.get(x.S),A=y.indexOf(x);0<=A&&y.splice(A,1);w["delete"](x);x.ma(m.xw);x.ma(m.yw)};return e});
define("kV",["require","lo","ly","fA","ea"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("ea");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.LP.C.length&&this.LP.C.slice().forEach(k.mea);this.Kq.Ua.length&&this.Kq.Ua.slice().forEach(k.Lea);this.Kq.C.length&&this.Kq.C.slice().forEach(k.frame);this.MP.C.length&&this.MP.C.slice().forEach(k.zea);this.Tua.C.length&&this.Tua.C.slice().forEach(k.XZa);this.Sua.C.length&&this.Sua.C.slice().forEach(k.LAa);this.Vua.C.length&&
this.Vua.C.slice().forEach(k.oAa);this.Wua.C.length&&this.Wua.C.slice().forEach(k.oAa)};a.K={};a.K.LP=[m.ef,m.ut.not];a.K.Kq=[m.ef,m.ut];a.K.MP=[m.ef.not,m.ut];a.K.Tua=[m.Object3D,m.Po,m.xw.not];a.K.Sua=[m.Object3D,m.Po,m.xw];a.K.Vua=[m.Object3D.not,m.xw];a.K.Wua=[m.Po.not,m.xw];return a});
define("kL",["require","fA","cm"],function(a){function e(w){this.o=w;this.A8=!1}var h=a("fA"),m=a("cm");e.prototype.update=function(){this.A8=!1};e.prototype.frame=function(){this.pf()};e.prototype.pf=function(){if(!this.A8&&(this.Fa=this.Fa||m.Mj(this.o))){var w=m.yb(this.o),x=w&&w.parent;if(x&&x.matrixWorld){var y=[];this.Fa.traverse(function(C){C.isSprite||C.isLine||C==w||y.push(C)});var A=this.o.J(h.jt);l.set(A.x,A.y,A.z).applyMatrix4(x.matrixWorld);f.ray.origin.set(l.x,l.y,l.z);f.ray.direction.set(0,
-1,0);var B=f.intersectObjects(y,!1);if(0!=B.length){var z=B[0];g.copy(x.matrixWorld).invert();B=this.o.J(h.ya,!0);d.setFromMatrixPosition(x.matrixWorld);k.copy(z.object.matrixWorld);c.setFromMatrixPosition(k);b.copy(k).invert();!A.qP&&z.face&&z.face.normal?n.copy(z.face.normal).applyMatrix4(k).sub(c).add(d):n.copy(d).add(r);n.applyMatrix4(g).normalize();u.setFromUnitVectors(q,n);t.setFromQuaternion(u,B.bg);B.Se=t.x*v;B.se=t.y*v;B.Te=t.z*v;l.copy(z.point).applyMatrix4(g);B.translationX=l.x;B.translationY=
l.y;B.cf=l.z;p.setFromMatrixScale(g);x=Math.max(p.x,p.y,p.z);B.positionX=0;B.positionY=0;B.positionZ=x*A.distance;this.A8=!0}}}};e.prototype.dispose=function(){};var k=new THREE.Matrix4,b=new THREE.Matrix4,g=new THREE.Matrix4,d=new THREE.Vector3,c=new THREE.Vector3,f=new THREE.Raycaster,l=new THREE.Vector3,p=new THREE.Vector3;new THREE.Matrix4;new THREE.Matrix4;var q=new THREE.Vector3(0,0,1),n=new THREE.Vector3,r=new THREE.Vector3(0,1,0),t=new THREE.Euler,u=new THREE.Quaternion,v=180/Math.PI;e.Ob=
function(w){w.H(h.Xq).manager=new e(w)};e.eb=function(w){var x=w.getComponent(h.Xq);x.manager.dispose();x.manager=null;w.ma(h.Xq)};e.frame=function(w){w.getComponent(h.Xq).manager.frame()};e.update=function(w){w.getComponent(h.Xq).manager.update()};return e});
define("hI",["require","lo","ly","fA","kL"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("kL");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.iva.C.length&&this.iva.C.slice().forEach(k.Ob);this.oY.Ua.length&&this.oY.C.slice().forEach(k.update);this.oY.C.length&&this.oY.C.slice().forEach(k.frame);this.jva.C.length&&this.jva.C.slice().forEach(k.eb);this.kva.C.length&&this.kva.C.slice().forEach(k.eb)};a.K={};a.K.iva=[m.Object3D,m.jt,m.Xq.not];a.K.oY=[m.Object3D,
m.jt,m.Xq];a.K.jva=[m.Object3D.not,m.Xq];a.K.kva=[m.jt.not,m.Xq];return a});define("gk",["require","fA"],function(a){var e=a("fA");return{Ob:function(h){var m=h.H(e.mE),k=h.H(e.Object3D);h.H(e.ya);h=h.J(e.Group);k.Bc=m.group=h.group=new THREE.Group},eb:function(h){h.getComponent(e.mE).group=null;h.ma(e.mE);h.ma(e.Object3D)}}});
define("lt",["require","lo","ly","fA","gk"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("gk");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.ewa.C.length&&this.ewa.C.slice().forEach(k.Ob);this.fwa.C.length&&this.fwa.C.slice().forEach(k.eb)};a.K={};a.K.ewa=[m.Group,m.mE.not];a.K.fwa=[m.Group.not,m.mE];return a});
define("bf","require lo oH kO cy gi bg".split(" "),function(a){function e(l,p,q,n){this.sca=l;this.src=l.src;this.XZ=p;this.LO=q;this.sY=n;this.frameWidth=this.sca.width/this.LO;this.frameHeight=this.sca.height/this.XZ}var h=a("lo"),m=a("oH"),k=a("kO");a("cy");var b=a("gi"),g=a("bg");a=h.extend(b,function(l,p,q,n,r,t,u){b.call(this);this.Am=r;this.fh=new e(l,p,q,r);this.lqa=t;this.Oda(n);this.C4=u;this.O=document.createElement("canvas");this.O.width=this.fh.frameWidth;this.O.height=this.fh.frameHeight;
this.xa=this.O.getContext("2d");this.xa.globalCompositeOperation="copy";this.A=k.T;this.RV=this.um=0;this.w3=void 0;this.Eh=d.request(this.fh);this.Eh.bind(m.pa,this.oj,this,!0);this.oj()});a.prototype.Oda=function(l){if(this.Le!==l){var p=this.UN;this.Le=l;this.UN=this.Le*this.fh.sY;this.D4=this.UN-.1*this.Le;void 0!==p&&(this.um=this.um/p*this.UN)}};a.prototype.Bza=function(l){this.C4!==l&&(this.C4=l,this.oj())};a.prototype.Jd=function(l){if(this.A!=l){if(l==k.Eb){if(this.A!=k.X)return}else l==
k.X?this.A==k.T&&(this.um=this.RV=0,this.oj()):l!=k.T||0==this.um&&0!=this.RV||(this.um=this.D4,this.oj());this.A=l;g.requestFrame(this.yj,this);this.trigger(m.ne)}};a.prototype.getState=function(){return this.A};a.prototype.yj=function(l){this.A==k.X&&(this.um=Math.min(this.um+l,this.Eh.Eh.length*this.Le),this.um>=this.UN&&(this.RV++,this.lqa&&this.RV==this.lqa?(this.Jd(k.T),this.um=this.D4,this.trigger(m.sb)):(this.um%=this.UN,this.trigger(m.fr))),this.oj(),this.A==k.X&&g.requestFrame(this.yj,this))};
a.prototype.clear=function(){this.Jd(k.T);this.O.width=this.O.height=0;this.O=null;d.release(this.fh);this.fh=null};a.prototype.og=function(){return this.O};a.prototype.oj=function(){var l=this.C4&&this.um>=this.D4?0:Math.floor(this.um/this.Le);this.w3!=l&&l<this.Eh.Eh.length&&(this.w3=l,this.xa.drawImage(this.Eh.get(this.w3),0,0),this.trigger(m.pa))};e.prototype.isEqual=function(l){return this.src==l.src&&this.XZ==l.XZ&&(this.LO=l.LO)&&(this.frameWidth=l.frameWidth)&&(this.frameHeight=l.frameHeight)&&
(this.sY=l.sY)};var d={uj:[],iDa:2E3,request:function(l){l=this.di(l);l.KD++;this.Zra(l);return l.frames},release:function(l){l=this.di(l);l.KD--;0==l.KD&&this.lQa(l)},di:function(l){for(var p=0;p<this.uj.length;p++)if(this.uj[p].KUa.isEqual(l))return this.uj[p];p={};p.KUa=l;p.frames=new c(l);p.KD=0;this.uj.push(p);return p},lQa:function(l){this.Zra(l);l.Fba=setTimeout(function(){d.bHa(l)},d.iDa)},Zra:function(l){l.Fba&&(clearTimeout(l.Fba),l.Fba=null)},bHa:function(l){this.uj.splice(this.uj.indexOf(l),
1);l.frames.clear()}},c=h.extend(b,function(l){b.call(this);this.fh=l;this.Eh=[];f.add(this)});c.prototype.clear=function(){f.remove(this);this.Eh.forEach(function(l){l.width=0;l.height=0});this.Eh=null};c.prototype.get=function(l){return this.Eh[l]};c.prototype.DUa=function(){var l=this.Eh.length%this.fh.LO,p=Math.floor(this.Eh.length/this.fh.LO)%this.fh.XZ,q=document.createElement("canvas");q.width=this.fh.frameWidth;q.height=this.fh.frameHeight;var n=q.getContext("2d");n.globalCompositeOperation=
"copy";n.drawImage(this.fh.sca,l*this.fh.frameWidth,p*this.fh.frameHeight,this.fh.frameWidth,this.fh.frameHeight,0,0,this.fh.frameWidth,this.fh.frameHeight);c.bIa(q);this.Eh.push(q);this.trigger(m.pa)};c.bIa=function(){var l=document.createElement("canvas");l.width=1;l.height=1;var p=l.getContext("2d");return function(q){p.drawImage(q,0,0,1,1,0,0,1,1)}}();var f={uj:[],B$:null,add:function(l){this.uj.push(l);this.Eqa()},remove:function(l){this.uj=this.uj.filter(function(p){return p!=l})},Eqa:function(){this.B$||
(this.B$=setTimeout(function(){this.B$=null;this.tM()}.bind(this),40))},tM:function(){if(0!=this.uj.length){for(var l=(new Date).getTime()+10;(new Date).getTime()<l;){var p=this.uj.filter(function(q){return 0==q.Eh.length});p=0<p.length?p[0]:this.uj[0];p.DUa();if(p.Eh.length==p.fh.sY&&(this.uj.splice(this.uj.indexOf(p),1),0==this.uj.length))return}this.Eqa()}}};return a});
define("oC",["require","oH","kO"],function(a){function e(k,b){this.zd=k;this.rc=b;this.Ib=!1;this.O1();this.R1();this.bC()}var h=a("oH"),m=a("kO");e.prototype.clear=function(){this.W8();this.c9();this.zd.set("state",m.T);this.rc=this.zd=null};e.prototype.wf=function(k){this.Ib!=k&&(this.Ib=k,this.ns())};e.prototype.bC=function(){this.rc.Jd(this.zd.get("state"))};e.prototype.XL=function(){this.ns()};e.prototype.ZL=function(){this.rc.Oda(this.zd.get("frameDuration"))};e.prototype.YL=function(){this.rc.Bza("first"==
this.zd.get("finalFrame"))};e.prototype.VL=function(){this.zd.trigger(h.fr)};e.prototype.UL=function(){this.zd.trigger(h.sb)};e.prototype.WL=function(){this.zd.set("state",this.rc.getState())};e.prototype.ns=function(){this.zd.get("autoplay")&&this.rc.Jd(this.Ib?m.X:m.T)};e.prototype.O1=function(){this.zd.bind(h.G("state"),this.bC,this,!0);this.zd.bind(h.G("autoplay"),this.XL,this,!0);this.zd.bind(h.G("frameDuration"),this.ZL,this,!0);this.zd.bind(h.G("finalFrame"),this.YL,this,!0)};e.prototype.W8=
function(){this.zd.unbind(h.G("state"),this.bC,this,!0);this.zd.unbind(h.G("autoplay"),this.XL,this,!0);this.zd.unbind(h.G("frameDuration"),this.ZL,this,!0);this.zd.unbind(h.G("finalFrame"),this.YL,this,!0)};e.prototype.R1=function(){this.rc.bind(h.fr,this.VL,this,!0);this.rc.bind(h.sb,this.UL,this,!0);this.rc.bind(h.ne,this.WL,this,!0)};e.prototype.c9=function(){this.rc.unbind(h.fr,this.VL,this,!0);this.rc.unbind(h.sb,this.UL,this,!0);this.rc.unbind(h.ne,this.WL,this,!0)};return e});
define("eD",["require","oH","nx","bf","oC"],function(a){function e(g,d,c,f){this.we=g;this.Wb=d;this.tb=c;this.Aa=f.bind(this);m.Na("AnimatedImageResource",this.we)?(this.rc=new k(this.Wb,this.we.get("rowCount",1),this.we.get("colCount",1),this.we.get("frameDuration"),this.we.get("frameCount",this.we.get("rowCount",1)*this.we.get("colCount",1)),this.we.get("repeat"),"first"==this.we.get("finalFrame")),this.tb.image=this.rc.og(),this.rc.bind(h.pa,this.VK,this,!0),this.Gn=new b(this.we,this.rc)):this.tb.image=
this.Wb;this.tb.needsUpdate=!0;this.Aa()}var h=a("oH"),m=a("nx"),k=a("bf"),b=a("oC");e.prototype.wf=function(g){this.Gn&&this.Gn.wf(g)};e.prototype.dispose=function(){this.Gn&&(this.Gn.clear(),this.Gn=null);this.rc&&(this.rc.unbind(h.pa,this.VK,this,!0),this.rc.clear(),this.rc=null);this.tb=this.Wb=this.we=null};e.prototype.VK=function(){this.tb.needsUpdate=!0;this.Aa()};return e});
define("eH",["require"],function(){var a={},e=null;a.wva=function(){if(!e){var h=document.createElement("canvas");h.width=128;h.height=128;h.getContext("2d").clearRect(0,0,h.width,h.height);e=h}return e};return a});
define("jv",["require","kP","mQ","md"],function(a){var e=a("kP"),h=a("mQ"),m=a("md"),k=180/Math.PI,b=Math.PI/180;return{BY:function(g,d,c,f,l,p,q){d||(d=g*f/c);l||(l=m.Aw);var n={};switch(l){case m.Aw:n.width=g;n.height=d;break;case m.NONE:n.width=c;n.height=f;break;case m.rh:n.width=Math.min(d*c/f,g);n.height=Math.min(g*f/c,d);break;case m.Wq:n.width=Math.max(d*c/f,g);n.height=Math.max(g*f/c,d);break;case m.Xo:n.width=g;n.height=g*f/c;break;case m.Tj:n.width=d*c/f,n.height=d}n.width>g?(n.ow=g/n.width,
n.xQ=p==h.Pa?0:p==h.hb?1-n.ow:.5*(1-n.ow),n.width=g):(n.xQ=0,n.ow=1);n.height>d?(n.pw=d/n.height,n.BQ=q==h.uc?1-n.pw:q==h.pc?0:.5*(1-n.pw),n.height=d):(n.BQ=0,n.pw=1);return n},eca:function(g,d,c,f,l,p,q,n){d||(d=e.Sl(g,c,f));l||(l=m.Aw);p||(p=4096/360);var r={};switch(l){case m.Aw:r.Ee=g;r.Sq=d;break;case m.NONE:r.Ee=2*Math.atan2(.5*c,45*p)*k;r.Sq=e.Sl(r.Ee,c,f);break;case m.rh:r.Ee=Math.min(e.Rq(d,c,f),g);r.Sq=Math.min(e.Sl(g,c,f),d);break;case m.Wq:r.Ee=Math.max(e.Rq(d,c,f),g);r.Sq=Math.max(e.Sl(g,
c,f),d);break;case m.Xo:r.Ee=g;r.Sq=e.Sl(g,c,f);break;case m.Tj:r.Ee=e.Rq(d,c,f),r.Sq=d}r.Ee>g?(r.ow=Math.tan(.5*g*b)*c/Math.tan(.5*r.Ee*b)/c,r.xQ=q==h.Pa?0:q==h.hb?1-r.ow:.5*(1-r.ow),r.Ee=g):(r.xQ=0,r.ow=1);r.Sq>d?(r.pw=Math.tan(.5*d*b)*f/Math.tan(.5*r.Sq*b)/f,r.BQ=n==h.uc?1-r.pw:n==h.pc?0:.5*(1-r.pw),r.Sq=d):(r.BQ=0,r.pw=1);return r}}});
define("jR","require ky oH cy nx cq ll eD eH fA oj bF jv".split(" "),function(a){function e(v){this.o=v;this.EC=this.EC.bind(this);this.Aa=this.Aa.bind(this);this.Ej=this.Ej.bind(this);v=v.getComponent(l.gm);this.Lg=v.Eo;this.oe=v.Ea;this.m=v.Yb;this.we=v.rca;this.gLa=v.isSprite;this.Zf=!1;this.wm=this.Ya=null;this.ku=0;this.X9=this.P3=this.wb=this.lF=this.W=void 0;h.fa(this.m,r,this.EC,!1);h.fa(this.we,t,this.EC,!1);h.fa(this.m,u,this.Ej,!1);this.EC()}var h=a("ky"),m=a("oH"),k=a("cy"),b=a("nx"),
g=a("cq"),d=a("ll"),c=a("eD"),f=a("eH"),l=a("fA"),p=a("oj"),q=a("bF"),n=a("jv"),r=["height","scaleMode","width"],t=["levels.url","levels.width","levels.height"],u="depthTest enabled encoding hidden side opacity".split(" ");e.prototype.frame=function(v){this.wm&&(this.wm.zb(v),this.ku=this.wm.cb("alpha"),this.naa(),this.wm.Re()&&(this.wm=null),this.o.S.$a());this.Zf&&(this.Zf=!1)};e.prototype.EC=function(){var v=this.we&&this.we.get("levels")||[];v=v.filter(function(D){return!!D.get("url")});var w=
1,x=1;b.Na("AnimatedImageResource",this.we)&&(w=this.we.get("rowCount"),x=this.we.get("colCount"));var y=null;if(0<v.length){v.sort(function(D,I){return I.get("width")-D.get("width")});y=this.m.get("width");var A=this.m.get("height"),B=this.m.get("scaleMode","fill"),z=v[0].get("width")/x,C=v[0].get("height")/w,H=n.BY(y,A,z,C,B);y=v.reduce(function(D,I){return!D||D.get("width")>I.get("width")&&I.get("width")/x>=H.width&&I.get("height")/w>=H.height?I:D})}this.oN(y)};e.prototype.oN=function(v){this.Ya!=
v&&(this.Ya&&(this.lHa(),this.V3(),this.tS(),this.wp(),this.Zf=!1),this.Ya=v)&&(this.pp(),this.Yt(),this.fK(),this.Zf=!1,this.Aa())};e.prototype.fK=function(){this.vd||(this.vd=new g,this.vd.MI([this.Ya.get("url")]),this.vd.bind(m.Z,this.nd,this,!0),this.vd.bind(m.ec,this.Tna,this,!0),this.vd.bind(m.tc,this.Pf,this,!0),this.Vr=this.o.getComponent(l.gm).priority,d.ln(this.vd,this.Vr))};e.prototype.wp=function(){this.vd&&(this.vd.unbind(m.Z,this.nd,this,!0),this.vd.unbind(m.ec,this.Tna,this,!0),this.vd.unbind(m.tc,
this.Pf,this,!0),d.gj(this.vd,this.Vr),this.vd=null)};e.prototype.nd=function(){this.VGa();this.O$(new k(m.Z))};e.prototype.Tna=function(v){this.O$(new k(m.ec,{percent:v.Sg}))};e.prototype.Pf=function(){this.O$(new k(m.tc))};e.prototype.O$=function(v){this.Lg&&this.Lg.trigger(v)};e.prototype.Aa=function(){this.Zf||(this.Zf=!0,this.o.S.$a())};e.prototype.pp=function(){this.tb=new THREE.Texture;this.tb.image=f.wva();this.tb.generateMipmaps=!0;this.tb.minFilter=THREE.LinearMipMapLinearFilter};e.prototype.tS=
function(){this.tb&&(this.tb.dispose(),this.tb=null)};e.prototype.Yt=function(){this.gLa?(this.ha=new THREE.SpriteMaterial({map:this.tb}),this.ha.sizeAttenuation=!0):this.ha=new THREE.MeshBasicMaterial({map:this.tb});this.ha.transparent=!0;this.ha.needsUpdate=!0;this.o.H(l.Material).material=this.ha;this.Mha(0);this.o.J(l.$h,!0);this.Ej(!0)};e.prototype.Ej=function(v){var w=this.m.get("enabled")&&!this.m.get("hidden")&&!!this.to,x=this.W!==w;if(x||v){this.W=w;w=this.ku;var y=this.W?1:0,A=this.m.get("hidden")?
0:200;this.wm=w!==y?new p("linear",[new q("alpha",w,y,void 0)],Math.abs(w-y)*A):null;this.naa()}w=this.m.get("encoding");if(this.lF!==w||v)this.lF=w,this.RSa();w=this.m.get("depthTest");if(this.P3!==w||v)this.P3=w,this.qSa();w=this.m.get("opacity");if(this.wb!==w||v)this.wb=w,this.naa();w=this.m.get("side");if(this.X9!==w||v)this.X9=w,this.rSa();x&&this.oe&&this.oe.trigger(this.W?m.kd:m.sd)};e.prototype.RSa=function(){if(this.ha&&(this.ha.map||this.ha.emissiveMap)){var v="srgb"==this.lF?THREE.sRGBEncoding:
THREE.LinearEncoding;this.ha.map&&(this.ha.map.encoding=v);this.ha.emissiveMap&&(this.ha.emissiveMap.encoding=v);this.ha.needsUpdate=!0}this.o.J(l.$h,!0);this.Aa()};e.prototype.qSa=function(){this.ha&&(this.ha.depthTest=this.P3);this.o.J(l.$h,!0);this.Aa()};e.prototype.naa=function(){this.ha&&this.Mha((this.wb||0)*this.ku);this.to&&this.to.wf(0<this.wb);this.Aa()};e.prototype.Mha=function(v){this.ha.opacity=v;this.ha.visible=0<this.ha.opacity;this.ha.isShaderMaterial&&this.ha.uniforms.opacity&&(this.ha.uniforms.opacity.value=
v);this.o.J(l.$h,!0)};e.prototype.rSa=function(){if(this.ha)switch(this.X9){case "back":this.ha.side=THREE.BackSide;break;case "double":this.ha.side=THREE.DoubleSide;break;default:this.ha.side=THREE.FrontSide}this.o.J(l.$h,!0);this.Aa()};e.prototype.V3=function(){this.ha&&(this.ha.dispose(),this.ha=null,this.o.ma(l.Material))};e.prototype.VGa=function(){this.to=new c(this.we,d.sf(this.Ya.get("url")),this.tb,this.Aa);this.Ej(!0)};e.prototype.lHa=function(){this.to&&(this.to.dispose(),this.to=null)};
e.prototype.dispose=function(){this.oN(null);h.ba(this.m,r,this.EC);h.ba(this.we,t,this.EC);h.ba(this.m,u,this.Ej);this.o=this.Lg=this.we=this.m=null};e.Ob=function(v){v.H(l.Dw).manager=new e(v)};e.eb=function(v){var w=v.getComponent(l.Dw);w.manager.dispose();w.manager=null;v.ma(l.Dw)};e.frame=function(v,w){v.getComponent(l.Dw).manager.frame(w)};return e});
define("mx",["require","lo","ly","fA","jR"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("jR");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(b,g){this.Vl.C.length&&this.Vl.C.slice().forEach(k.Ob);this.Wl.C.length&&this.Wl.C.slice().forEach(k.eb);this.materials.C.length&&this.materials.C.slice().forEach(function(d){k.frame(d,b,g)})};a.K={};a.K.Vl=[m.gm,m.Dw.not];a.K.materials=[m.gm,m.Dw];a.K.Wl=[m.gm.not,m.Dw];return a});
define("K",["require","nz","fA"],function(a){function e(k){this.o=k;this.ha=null;this.update()}var h=a("nz"),m=a("fA");e.prototype.update=function(){this.ha||(this.ha=new THREE.LineBasicMaterial,this.ha.transparent=!0,this.o.H(m.Material).material=this.ha);var k=this.o.getComponent(m.Xg);this.ha.color=new THREE.Color(h.YD(k.color||"#ffffff"));this.ha.lineWidth=k.width||1;this.ha.opacity=k.opacity||0;this.ha.depthTest=!!k.depthTest;this.ha.visible=0<this.ha.opacity;this.ha.needsUpdate=!0};e.prototype.dispose=
function(){this.ha&&(this.ha.dispose(),this.ha=null,this.o.ma(m.Material));this.o=null};e.Ob=function(k){k.H(m.Ew).manager=new e(k)};e.eb=function(k){var b=k.getComponent(m.Ew);b.manager.dispose();b.manager=null;k.ma(m.Ew)};e.update=function(k){k.getComponent(m.Ew).manager.update()};return e});
define("iM",["require","lo","ly","fA","K"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("K");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.Vl.C.length&&this.Vl.C.slice().forEach(k.Ob);this.materials.Ua.length&&this.materials.Ua.slice().forEach(k.update);this.Wl.C.length&&this.Wl.C.slice().forEach(k.eb)};a.K={};a.K.Vl=[m.Xg,m.Ew.not];a.K.materials=[m.Xg,m.Ew];a.K.Wl=[m.Xg.not,m.Ew];return a});
define("G","require oH fA cm nx nz a".split(" "),function(a){function e(q){this.o=q;this.Zf=!1;this.m=this.o.getComponent(m.Light).Yb;p.forEach(function(n){this.m.bind(h.G(n),this.zW,this,!1)}.bind(this));this.zW()}var h=a("oH"),m=a("fA"),k=a("cm"),b=a("nx"),g=a("nz"),d=a("a");e.prototype.update=function(){this.zW()};var c=Math.PI/180;e.prototype.zW=function(){var q=this.o.J(m.Light);if(b.Na("AmbientLight",q.Yb)){q.Yd&&q.Yd.isAmbientLight||(this.o.J(m.Object3D,!0).Bc=q.Yd=new THREE.AmbientLight);
var n=q.target}else if(b.Na("OrbitLight",q.Yb)){q.Yd&&q.Yd.isDirectionalLight||(this.o.J(m.Object3D,!0).Bc=q.Yd=new THREE.DirectionalLight);n=d.Ds(q.Yb.get("yaw")*c,q.Yb.get("pitch")*c).II(10);q.Yd.position.set(n.x,n.y,n.z);"fixed_to_target"==q.Yb.get("mode","fixed_to_target")?(q.Yd.target=k.yb(q.target),n=q.target):(q.Yd.target=new THREE.Object3D,n=q.target.getComponent(m.jb).Y.getComponent(m.Scene).ke);q.Yd.castShadow=0<q.Yb.get("intensity")&&q.Yb.get("castShadow");var r=q.Yd.castShadow?q.Yb.get("shadowMapSize"):
16;r!=q.Yd.shadow.mapSize.width&&(q.Yd.shadow.dispose(),q.Yd.shadow=q.Yd.shadow.clone(),q.Yd.shadow.mapSize.width=q.Yd.shadow.mapSize.height=r);q.Yd.shadow.radius=q.Yb.get("shadowRadius");q.Yd.shadow.bias=q.Yb.get("shadowBias");this.rta()}q.Yd.color=new THREE.Color(g.YD(q.Yb.get("color")));q.Yd.intensity=q.Yb.get("intensity");q.Yd.visible=0<q.Yd.intensity;q=this.o.getComponent(m.jb);q&&q.Y==n||(q=this.o.J(m.jb,!0),q.Y=n)};var f=new THREE.Box3,l=new THREE.Vector3;e.prototype.frame=function(){this.rta()};
e.prototype.rta=function(){var q=this.o&&this.o.getComponent(m.Light);if(q&&q.Yd&&q.Yd.castShadow){for(var n=q.Yd.shadow.camera,r=this.a3(k.yb(q.target),f),t=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY,v=Number.NEGATIVE_INFINITY,w=Number.POSITIVE_INFINITY,x=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,A=0;2>A;A++)for(var B=0;2>B;B++)for(var z=0;2>z;z++)l.set(0==A?r.min.x:r.max.x,0==B?r.min.y:r.max.y,0==z?r.min.z:r.max.z).applyMatrix4(n.matrixWorldInverse),l.x<t&&(t=l.x),l.x>u&&(u=l.x),
l.y>v&&(v=l.y),l.y<w&&(w=l.y),-l.z>y&&(y=-l.z),-l.z<x&&(x=-l.z);q=q.Yb.get("shadowTolerance")||0;r=.5*(x+y);x+=(x-r)*q;y+=(y-r)*q;r=.5*(t+u);t+=(t-r)*q;u+=(u-r)*q;r=.5*(v+w);v+=(v-r)*q;w+=(w-r)*q;if(n.left!=t||n.right!=u||n.top!=v||n.bottom!=w||n.near!=x||n.far!=y)q=this.o.J(m.Light),q.Yd.shadow.camera.left=t,q.Yd.shadow.camera.top=v,q.Yd.shadow.camera.right=u,q.Yd.shadow.camera.bottom=w,q.Yd.shadow.camera.near=x,q.Yd.shadow.camera.far=y,q.Yd.shadow.camera.updateProjectionMatrix(),q.Yd.shadow.needsUpdate=
!0}};e.prototype.a3=function(q,n){n.makeEmpty();var r=new THREE.Box3;q.traverse(function(t){if(t.geometry&&!t.isSprite){t.updateWorldMatrix(!1,!1);var u=t.geometry;null===u.boundingBox&&u.computeBoundingBox();r.copy(u.boundingBox);r.applyMatrix4(t.matrixWorld);n.union(r)}});return n};e.prototype.dispose=function(){this.m&&(p.forEach(function(q){this.m.unbind(h.G(q),this.zW,this,!1)}.bind(this)),this.m=null);this.o&&(this.o.ma(m.jb),this.o.ma(m.Object3D),this.o=null)};var p="castShadow color intensity mode pitch yaw shadowBias shadowRadius shadowMapSize shadowTolerance".split(" ");
e.Ob=function(q){k.yb(q.getComponent(m.Light).target)&&(q.H(m.mt).manager=new e(q))};e.eb=function(q){var n=q.getComponent(m.mt);n.manager.dispose();n.manager=null;q.ma(m.mt)};e.update=function(q){q.getComponent(m.mt).manager.update()};e.frame=function(q){q.getComponent(m.mt).manager.frame()};return e});
define("oJ",["require","lo","ly","fA","G"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("G");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.$wa.C.length&&this.$wa.C.slice().forEach(k.Ob);this.kZ.Ua.length&&this.kZ.Ua.slice().forEach(k.update);this.kZ.C.length&&this.kZ.C.slice().forEach(k.frame);this.axa.C.length&&this.axa.C.slice().forEach(k.eb)};a.K={};a.K.$wa=[m.Light,m.mt.not];a.K.kZ=[m.Light,m.mt];a.K.axa=[m.Light.not,m.mt];return a});
define("or","require lo ly fA cm nE".split(" "),function(a){var e=a("lo"),h=a("ly"),m=a("fA");a("cm");var k=a("nE");a=e.extend(h,function(){h.apply(this,arguments);this.te=this.te.bind(this);this.Fe=this.Fe.bind(this);this.Uc=this.Uc.bind(this)});a.prototype.yd=function(){this.gxa.C.length&&this.gxa.C.slice().forEach(this.te);this.lines.Ua.length&&this.lines.Ua.slice().forEach(this.Fe);this.hxa.C.length&&this.hxa.C.slice().forEach(this.Uc);this.ixa.C.length&&this.ixa.C.slice().forEach(this.Uc);this.jxa.C.length&&
this.jxa.C.slice().forEach(this.Uc)};a.prototype.te=function(b){b.H(m.Object3D).Bc=new THREE.LineSegments;b.H(m.Fw);b.H(m.ya);if(!b.getComponent(m.Geometry)){var g=(new THREE.BufferGeometry).setFromPoints([new THREE.Vector3(0,0,0),new THREE.Vector3(0,0,1)]);g.userData.Kwa=!0;b.H(m.Geometry).geometry=g}this.Fe(b)};a.prototype.Fe=function(b){var g=b.getComponent(m.Object3D).Bc;k.Fv(g,b.getComponent(m.Material).material);var d=b.getComponent(m.Geometry).geometry;g.geometry!=d&&(g.geometry&&d.userData.Kwa&&
g.geometry.dispose(),g.geometry=d,g.needsUpdate=!0);b=b.getComponent(m.Line).renderOrder||0;g.renderOrder!=b&&(g.renderOrder=b,g.needsUpdate=!0)};a.prototype.Uc=function(b){b.ma(m.Fw);b.ma(m.Geometry);var g=b.getComponent(m.Object3D);g&&(g=g.Bc,g.geometry&&g.geometry.userData.Kwa&&g.geometry.dispose(),g.geometry=null,k.Fv(g,null),b.ma(m.Object3D))};a.K={};a.K.gxa=[m.Line,m.Material,m.Fw.not];a.K.lines=[m.Line,m.Geometry,m.Material,m.Fw];a.K.hxa=[m.Line.not,m.Fw];a.K.ixa=[m.Material.not,m.Fw];a.K.jxa=
[m.Geometry.not,m.Fw];return a});
define("fM",["require","lo","ly","fA","cm"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("cm");a=e.extend(h,function(){h.apply(this,arguments);this.te=this.te.bind(this);this.Uc=this.Uc.bind(this);this.kD=this.kD.bind(this)});a.prototype.yd=function(){this.cxa.C.length&&this.cxa.C.slice().forEach(this.te);this.bxa.C.length&&this.bxa.C.slice().forEach(this.kD);this.dxa.C.length&&this.dxa.C.slice().forEach(this.Uc);this.exa.C.length&&this.exa.C.slice().forEach(this.Uc);this.fxa.C.length&&this.fxa.C.slice().forEach(this.Uc)};
a.prototype.te=function(p){p.H(m.Gw)};a.prototype.Uc=function(p){p.ma(m.Gw)};var b=new THREE.Matrix4,g=new THREE.Quaternion,d=new THREE.Vector3,c=new THREE.Vector3(0,0,1),f=new THREE.Euler,l=180/Math.PI;a.prototype.kD=function(p){var q=p.getComponent(m.ya);if(q){var n=k.yb(p);if(n&&n.parent){var r=p.getComponent(m.Yq),t=r.Y;if(t){r=k.yb(t);if(!r||!r.parent)return;d.setFromMatrixPosition(r.matrixWorld)}else if(r.position)d.copy(r.position);else return;b.copy(n.parent.matrixWorld).invert();d.applyMatrix4(b);
d.x-=q.translationX;d.y-=q.translationY;d.z-=q.cf;n=d.length();g.setFromUnitVectors(c,d.normalize());f.setFromQuaternion(g,q.bg);f.x*=l;f.y*=l;f.z*=l;if(q.scale!=n||q.Se!=f.x||q.se!=f.y||q.Te!=f.z)q=p.J(m.ya),q.scale=n,q.Se=f.x,q.se=f.y,q.Te=f.z,k.eQ(p,q),p.S.$a()}}};a.K={};a.K.cxa=[m.Object3D,m.Yq,m.Gw.not];a.K.bxa=[m.Object3D,m.Yq,m.Gw,m.ya];a.K.dxa=[m.Object3D.not,m.Gw];a.K.exa=[m.Yq.not,m.Gw];a.K.fxa=[m.ya.not,m.Gw];return a});
define("eS","require lo oH ly fA cm nE".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("ly"),k=a("fA"),b=a("cm"),g=a("nE");a=e.extend(m,function(){m.apply(this,arguments);this.te=this.te.bind(this);this.Uc=this.Uc.bind(this);this.Fe=this.Fe.bind(this)});a.prototype.yd=function(){this.Mxa.C.length&&this.Mxa.C.slice().forEach(this.te);this.Zca.Ua.length&&this.Zca.Ua.slice().forEach(this.Fe);this.Nxa.C.length&&this.Nxa.C.slice().forEach(this.Uc);this.Oxa.C.length&&this.Oxa.C.slice().forEach(this.Uc)};
a.prototype.te=function(d){d.H(k.Hw);this.Zca.C.forEach(function(c){this.SKa(c,d)&&this.IV(b.yb(c))}.bind(this));this.Fe(d)};a.prototype.Fe=function(d){var c=d.getComponent(k.$h);d=b.yb(d);this.vEa(d,c);this.IV(d);this.Vd(d,c)};a.prototype.Uc=function(d){d.ma(k.Hw);var c=b.yb(d);c&&(this.IFa(c),this.IV(c),d.ma(k.Hw))};a.prototype.vEa=function(d,c){d.userData.oya=c.opacity;d.userData.envMapIntensity=c.envMapIntensity;d.userData.FO=c.FO;d.userData.castShadow=c.castShadow;d.userData.receiveShadow=c.receiveShadow};
a.prototype.IFa=function(d){d.userData.oya=void 0;d.userData.envMapIntensity=void 0;d.userData.FO=void 0;d.userData.castShadow=void 0;d.userData.receiveShadow=void 0};a.prototype.IV=function(d){var c=this.zka(d),f=this.GIa(d),l=this.EIa(d),p=this.FIa(d),q=this.HIa(d);if(d.material){if(void 0===c&&void 0===f)g.xda(d);else{var n=d.userData.FD||d.material;if(void 0!==n.opacity){var r=n.opacity*(void 0===c?1:c),t=0<r,u=1>r?!0:n.transparent;if(d.material.opacity!==r||d.material.visible!==t||d.material.transparent!==
u)g.Kba(d),d.material.opacity=r,d.material.transparent=u,d.material.visible=t,d.material.needsUpdate=!0}void 0!==n.envMapIntensity&&(n=n.envMapIntensity*(void 0===f?1:f),d.material.envMapIntensity!==n&&(g.Kba(d),d.material.envMapIntensity=n,d.material.needsUpdate=!0));g.S_a(d)}var v=this.qIa(l);(null==d.material.map?[]:Array.isArray(d.material.map)?d.material.map:[d.material.map]).forEach(function(w){w.anisotropy!==v&&(w.anisotropy=v,w.needsUpdate=!0)})}d.isMesh&&(void 0!==p&&d.castShadow!==p&&(d.castShadow=
p),void 0!==q&&d.receiveShadow!==q&&(d.receiveShadow=q));d.children&&d.children.forEach(function(w){w.userData.mWa=c;w.userData.lWa=f;w.userData.jWa=l;w.userData.kWa=p;w.userData.nWa=q;this.IV(w)}.bind(this))};a.prototype.qIa=function(d){return 1+Math.round((d||0)*(b.yva().capabilities.getMaxAnisotropy()-1))};a.prototype.zka=function(d){var c=d.userData.oya;d=d.userData.mWa;if(void 0!==d||void 0!==c)if(c=(void 0!==d?d:1)*(void 0!==c?c:1),1!==c)return c};a.prototype.GIa=function(d){var c=d.userData.envMapIntensity;
d=d.userData.lWa;if(void 0!==d||void 0!==c)if(c=(void 0!==d?d:1)*(void 0!==c?c:1),1!==c)return c};a.prototype.EIa=function(d){var c=d.userData.FO;if(void 0!==c)return c;d=d.userData.jWa;if(void 0!==d)return d};a.prototype.FIa=function(d){var c=d.userData.castShadow;if(void 0!==c)return c;d=d.userData.kWa;if(void 0!==d)return d};a.prototype.HIa=function(d){var c=d.userData.receiveShadow;if(void 0!==c)return c;d=d.userData.nWa;if(void 0!==d)return d};a.prototype.Vd=function(d,c){var f=this.zka(d);void 0!==
f&&(f=0<f,d.userData.c0a!==f&&(d.userData.c0a=f,c.Ea&&c.Ea.trigger(f?h.kd:h.sd)))};a.prototype.SKa=function(d,c){d=b.yb(d);c=b.yb(c);if(!d||!c)return!1;for(c=c.parent;c;){if(c===d)return!0;c=c.parent}return!1};a.K={};a.K.Mxa=[k.$h,k.Object3D,k.Hw.not];a.K.Zca=[k.$h,k.Object3D,k.Hw];a.K.Nxa=[k.$h.not,k.Hw];a.K.Oxa=[k.Object3D.not,k.Hw];return a});
define("oA",["require","fA","nE"],function(a){function e(k){this.o=k;this.Maa=this.hl=this.cd=null;this.vH=-1}var h=a("fA"),m=a("nE");e.prototype.frame=function(){if(!this.hl&&(this.hl=this.o.getComponent(h.sh).lca)){var k=this.hl.userData&&this.hl.userData.gltfExtensions&&this.hl.userData.gltfExtensions.KHR_materials_variants;this.Maa=k&&k.variants||[];this.update()}};e.prototype.update=function(){if(this.Maa){var k=this.o.getComponent(h.ot).name,b=this.Maa.findIndex(function(d){return d.name==k}),
g=this.hl.scene;this.cd!=g?(this.cd&&this.rqa(this.cd),this.cd=g,this.vH=b,this.cd&&this.yra(this.cd,this.vH)):this.vH!=b&&(this.vH=b,this.cd&&this.yra(this.cd,this.vH));this.o.S.$a()}};e.prototype.rqa=function(k){this.Pha(k,-1)};e.prototype.yra=function(k,b){this.xLa(k,b,function(){this.cd==k&&this.vH==b&&this.Pha(k,b)}.bind(this))};e.prototype.xLa=function(k,b,g){var d=[];k.traverse(function(c){var f=c.isMesh&&c.userData.gltfExtensions&&c.userData.gltfExtensions.KHR_materials_variants;if(f=f&&f.mappings){c.userData.tya||
(c.userData.tya=m.qVa(c));c.userData.Kz||(c.userData.Kz={});for(var l=null,p=f.length-1;0<=p&&!l;--p)-1!=f[p].variants.indexOf(b)&&(l=f[p]);l&&d.push(this.hl.parser.getDependency("material",l.material).then(function(q){c.userData.Kz[b]||(c.userData.Kz[b]=q)}))}}.bind(this));Promise.all(d).then(function(){g(k,b)})};e.prototype.Pha=function(k,b){k.traverse(function(g){if(g.userData.Kz){var d=g.userData.Kz[b];d?(m.Fv(g,d),this.hl.parser.assignFinalMaterial(g)):m.Fv(g,g.userData.tya);this.o.J(h.$h,!0)}}.bind(this));
this.o.S.$a()};e.prototype.dispose=function(){this.cd&&(this.rqa(this.cd),this.o.J(h.$h,!0),this.cd=null)};e.Ob=function(k){k.H(h.ap).manager=new e(k)};e.eb=function(k){var b=k.getComponent(h.ap);b.manager.dispose();b.manager=null;k.ma(h.ap)};e.update=function(k){k.getComponent(h.ap).manager.update()};e.frame=function(k){k.getComponent(h.ap).manager.frame()};return e});
define("hx",["require","lo","ly","fA","oA"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("oA");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.mxa.C.length&&this.mxa.C.slice().forEach(k.Ob);this.nZ.C.length&&this.nZ.C.slice().forEach(k.frame);this.nZ.Ua.length&&this.nZ.Ua.slice().forEach(k.update);this.nxa.C.length&&this.nxa.C.slice().forEach(k.eb);this.oxa.C.length&&this.oxa.C.slice().forEach(k.eb);this.pxa.C.length&&this.pxa.C.slice().forEach(k.eb)};a.K={};
a.K.mxa=[m.ot,m.sh,m.Object3D,m.ap.not];a.K.nZ=[m.ot,m.sh,m.Object3D,m.ap];a.K.nxa=[m.ot.not,m.ap];a.K.oxa=[m.Object3D.not,m.ap];a.K.pxa=[m.sh.not,m.ap];return a});
define("hL",["require","fA"],function(a){var e=a("fA");return{Ob:function(h){var m=h.H(e.ar);h.H(e.ya);var k=h.J(e.Mesh);h.H(e.Object3D).Bc=m.Fo=k.Fo=new THREE.Mesh(h.getComponent(e.Geometry).geometry,h.getComponent(e.Material).material);k.Fo.renderOrder=k.renderOrder},update:function(h){var m=h.J(e.ar);m.Fo.geometry=h.getComponent(e.Geometry).geometry;m.Fo.material=h.getComponent(e.Material).material;m.Fo.renderOrder=h.getComponent(e.Mesh).renderOrder},eb:function(h){h.getComponent(e.ar).Fo=null;
h.ma(e.ar);h.ma(e.Object3D)}}});
define("f",["require","lo","ly","fA","hL"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("hL");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.txa.C.length&&this.txa.C.slice().forEach(k.Ob);this.sxa.Ua.length&&this.sxa.Ua.slice().forEach(k.update);this.pZ.C.length&&this.pZ.C.slice().forEach(k.eb);this.RWa.C.length&&this.pZ.C.slice().forEach(k.eb);this.SWa.C.length&&this.pZ.C.slice().forEach(k.eb)};a.K={};a.K.txa=[m.Mesh,m.Geometry,m.Material,m.ar.not];a.K.sxa=
[m.Mesh,m.Geometry,m.Material,m.ar];a.K.pZ=[m.Mesh.not,m.ar];a.K.RWa=[m.Geometry.not,m.ar];a.K.SWa=[m.Material.not,m.ar];return a});
define("lc",["require","oH","nz","fA","cm"],function(a){function e(d){this.o=d;this.m=this.o.getComponent(k.sh).Yb;this.Ke=null;this.MS=void 0;g.forEach(function(c){this.m.bind(h.G(c),this.Xe,this,!0)}.bind(this));this.update()}var h=a("oH"),m=a("nz"),k=a("fA"),b=a("cm"),g=["floorColor","floorHeight","floorOpacity","floorRadius"];e.prototype.update=function(){var d=this.m.get("floorColor");this.MS!=d&&(!d&&this.Ke&&(this.wja(this.Ke),this.Ke=null),this.MS=d)&&(this.Ke||(this.Ke=this.uGa()),this.yPa(this.Ke,
this.MS));d=this.m.get("floorOpacity");this.Ke&&this.Ke.material.opacity!=d&&(this.Ke.material.opacity=d);d=this.m.get("floorHeight");this.Ke&&this.Ke.position.y!=d&&(this.Ke.position.y=d);d=this.m.get("floorRadius");this.Ke&&this.Ke.scale.x!=d&&(this.Ke.scale.x=this.Ke.scale.y=this.Ke.scale.z=d)};e.prototype.frame=function(){if(this.Ke&&!this.Ke.parent){for(var d=b.yb(this.o);d&&!d.isScene;)d=d.parent;d&&d.add(this.Ke)}};e.prototype.dispose=function(){g.forEach(function(d){this.m.unbind(h.G(d),this.Xe,
this,!0)}.bind(this));this.Ke&&(this.wja(this.Ke),this.Ke=null)};e.prototype.Xe=function(){this.o.S.$a();this.update()};e.prototype.uGa=function(){var d=new THREE.CircleGeometry(1,128);d=new THREE.Mesh(d);d.receiveShadow=!0;d.position.y=0;d.rotation.x=.5*-Math.PI;d.needsUpdate=!0;return d};e.prototype.yPa=function(d,c){var f=d.material;f&&(!f.isShadowMaterial&&"transparent"==c||!f.p1a&&"transparent"!=c)&&(f.dispose(),f=null);"transparent"==c?f||(f=new THREE.ShadowMaterial):(f||(f=new THREE.MeshStandardMaterial,
f.defines.USE_UV="",f.onBeforeCompile=function(l){var p=l.fragmentShader.lastIndexOf("}");l.fragmentShader=l.fragmentShader.substring(0,p)+"float uvCenterCoef = 2.0 * length(vUv - 0.5);\nfloat uvAlphaCoef = 1.0 - smoothstep(0.97, 1.0, uvCenterCoef);\ngl_FragColor.a = uvAlphaCoef * gl_FragColor.a;\n"+l.fragmentShader.substring(p,l.fragmentShader.length)},f.roughness=1,f.metalness=0,f.envMapIntensity=0,f.transparent=!0),f.color=new THREE.Color(m.YD(c)));f.needsUpdate=!0;d.material=f};e.prototype.wja=
function(d){d.parent&&d.parent.remove(d);d.material&&d.material.dispose();d.material=null;d.geometry&&d.geometry.dispose();d.geometry=null};return e});
define("dI",["require","exports","oH","gi","iq"],function(a,e,h,m,k){return function(b){function g(d,c){var f=b.call(this)||this;f.eo=null;f.aia=null;f.bx=!1;f.TF=null;f.Fd=d;f.Vr=c;f.Xr=new Request(d);f.GN=f.GN.bind(f);f.PA=f.PA.bind(f);return f}Z(g,b);g.prototype.start=function(){this.TF||(this.bx=!1,this.TF=k.add(this.Fd,this.Vr,this.GN,this.PA))};g.prototype.GN=function(){0===this.Fd.indexOf("filesystem:")?this.SHa():this.THa()};g.prototype.SHa=function(){var d=this,c=new XMLHttpRequest;c.open("GET",
this.Fd,!0);c.responseType="arraybuffer";c.onload=function(){d.Wna(c.response);c.onload=c.onerror=null};c.onerror=function(){d.Sna();c.onload=c.onerror=null};c.send()};g.prototype.THa=function(){var d=this;fetch(this.Xr).then(function(c){function f(t){void 0===t&&(t=null);if(t=t||r)t.close(),r=null,d.eo=null}function l(t){var u;return null===(u=d.eo.read().then(function(v){var w=null===v||void 0===v?void 0:v.value;w&&(n+=w.byteLength,t.enqueue(w));v&&v.done&&(q=n,f(t));void 0!==q&&d.trigger(h.ec,
{totalBytes:q,bytesLoaded:n,percent:n<q?100*n/q:100})}))||void 0===u?void 0:u.catch(function(v){console.log("Error reading response",v);t.error(v)})}if(d.bx)return c.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!c.ok)return Promise.resolve(c);var p=c.headers.get("content-length")||c.headers.get("x-content-length"),q,n=0;null!==p&&(q=parseInt(p,10));d.eo=c.body.getReader();var r=null;return new Response(new ReadableStream({start:function(t){d.bx?t.close():
r=t},pull:function(t){return l(t)},cancel:function(){return f()}}))}).then(function(c){return c.arrayBuffer()}).then(function(c){d.Wna(c)}).catch(function(){d.Sna()})};g.prototype.cancel=function(){this.TF&&(this.TF.cancel(),this.TF=null)};g.prototype.PA=function(){this.bx=!0;this.eo&&(this.eo.cancel(),this.eo=null)};g.prototype.Wna=function(d){var c;this.aia=d;null===(c=this.TF)||void 0===c?void 0:c.loaded();this.trigger(h.Z,{buffer:d})};g.prototype.Sna=function(){this.cancel();this.trigger(h.tc)};
g.prototype.getData=function(){return this.aia};return g}(m)});
define("cl","require exports three.mod oH hT gi cm dI mv mj".split(" "),function(a,e,h,m,k,b,g,d,c,f){return function(l){function p(){var q=l.call(this)||this;q.type=p.TYPE;q.ada=q.ada.bind(q);q.bda=q.bda.bind(q);q.Qv=new h.GLTFLoader;q.hZ=new h.KTX2Loader;q.hZ.setTranscoderPath(h.cBa);q.hZ.detectSupport(g.yva());q.Qv.setKTX2Loader(q.hZ);q.Qv.setMeshoptDecoder(h.MeshoptDecoder);return q}Z(p,l);p.prototype.Ava=function(){return this.hl?this.hl.scene:null};p.prototype.start=function(q){this.url=q;this.As=
new d(q,k.lA);this.xTa();this.As.start()};p.prototype.dispose=function(){this.As&&(this.XXa(),this.As.cancel());this.hZ.dispose()};p.prototype.xTa=function(){this.As.bind(m.Z,this.Wxa,this,!0);this.As.bind(m.ec,this.Yxa,this,!0);this.As.bind(m.tc,this.Xxa,this,!0)};p.prototype.XXa=function(){this.As.unbind(m.Z,this.Wxa,this);this.As.unbind(m.ec,this.Yxa,this);this.As.unbind(m.tc,this.Xxa,this)};p.prototype.Wxa=function(){this.Qv.parse(this.As.getData(),f.getDirectory(this.url),this.ada,this.bda)};
p.prototype.Yxa=function(q){this.trigger(m.ec,q.data)};p.prototype.Xxa=function(){this.trigger(m.tc)};p.prototype.bda=function(q){c.dJ&&q&&q.message&&console.error(q.message);this.trigger(m.tc)};p.prototype.ada=function(q){this.Qv&&(q.scene.traverse(function(n){n.isMesh&&(n=n.material,n.depthWrite=!n.transparent)}),this.hl=q,this.trigger(m.INIT),this.trigger(m.Z))};p.TYPE="gltf";return p}(b)});
define("nC","require exports three.mod oH gi nE mj".split(" "),function(a,e,h,m,k,b,g){a=function(q){function n(){var r=q.call(this)||this;r.type=n.TYPE;r.ge=null;r.RO=null;r.Qv=null;r.camera=null;r.zo=null;r.width=void 0;r.height=void 0;r.dj=!1;r.VX=null;r.session=null;r.config=null;return r}Z(n,q);n.prototype.Ava=function(){return this.ge?this.ge.group:null};n.prototype.BYa=function(r){this.config=r};n.prototype.start=function(r){this.VX=this.NUa(r);this.ge=new h.TDTiles.TilesRenderer(r);this.RO=
new h.DRACOLoader;this.RO.setDecoderPath(h.pBa);this.Qv=new h.GLTFLoader(this.ge.manager);this.Qv.setDRACOLoader(this.RO);this.ge.manager.addHandler(/\.gltf$/,this.Qv);this.config&&(this.ge.maxDepth=this.config.maxDepth,this.ge.loadSiblings=this.config.loadSiblings,this.ge.parseQueue.maxJobs=this.config.eda,this.ge.downloadQueue.maxJobs=this.config.Gba,this.ge.lruCache.minSize=this.config.Ica,this.ge.lruCache.maxSize=this.config.Hca,this.ge.errorTarget=this.config.errorTarget,this.ge.errorThreshold=
this.config.errorThreshold);g.yca(r)&&(this.ge.fetchOptions.mode="cors");this.ge.onLoadModel=this.onLoadModel.bind(this);this.ge.onDisposeModel=this.onDisposeModel.bind(this);this.ge.onLoadTileSet=this.onLoadTileSet.bind(this);this.ge.onTileVisibilityChange=this.onTileVisibilityChange.bind(this);this.ge.preprocessURL=this.pXa.bind(this);this.trigger(m.INIT)};n.prototype.dispose=function(){this.ge&&(this.RO.dispose(),this.Qv=this.RO=null,this.ge.dispose(),this.ge=null,this.zo&&this.zo.removeFromParent(),
this.session=this.VX=null)};n.prototype.setCamera=function(r){this.camera!==r&&(this.camera=r,this.JAa(),this.zQ())};n.prototype.setSize=function(r,t){if(this.width!==r||this.height!==t)this.width=r,this.height=t,this.Y_a()};n.prototype.update=function(){this.camera&&this.width&&this.height&&(this.JAa(),this.ge.update())};n.prototype.NUa=function(r){return(new window.URL(r)).searchParams.get("key")||null};n.prototype.DVa=function(r){return(new window.URL(r)).searchParams.get("session")||null};n.prototype.zQ=
function(){this.ge&&this.camera&&(this.ge.setCamera(this.camera),this.ge.setCamera(this.zo))};n.prototype.JAa=function(){this.camera&&(this.zo||(this.zo=new h.OrthographicCamera(-1,1,-1,1),this.zo.matrixAutoUpdate=!1),this.zo.parent!==this.camera&&this.camera.add(this.zo),this.camera.updateMatrixWorld(!0),p.setFromMatrixPosition(this.camera.matrixWorld),l.copy(p).y-=this.camera.far,l.applyMatrix4(d.copy(this.camera.matrixWorld).invert()),f.random().cross(l).normalize(),this.zo.matrix.lookAt(c,l,f),
this.zo.near=this.camera.near,this.zo.far=this.camera.far)};n.prototype.Y_a=function(){this.ge&&this.camera&&this.width&&this.height&&(this.ge.setResolution(this.camera,this.width,this.height),this.ge.setResolution(this.zo,1,1))};n.prototype.pXa=function(r){r=new window.URL(r);/^http/.test(r.protocol)&&(this.VX&&r.searchParams.append("key",this.VX),this.session&&r.searchParams.append("session",this.session));return r.toString()};n.prototype.onLoadModel=function(){this.dj||(this.dj=!0,this.trigger(m.Z));
this.trigger(m.pa)};n.prototype.onDisposeModel=function(r){r.traverse(function(t){t instanceof h.Mesh&&b.xda(t)})};n.prototype.onTileVisibilityChange=function(r,t,u){u&&this.trigger(m.pa)};n.prototype.onLoadTileSet=function(){null==this.session&&this.ge.traverse(function(r){return r.content&&r.content.uri?(this.session=this.DVa(r.content.uri),!0):!1}.bind(this));this.trigger(m.pa)};n.TYPE="tiles";return n}(k);var d=new h.Matrix4,c=new h.Vector3,f=new h.Vector3,l=new h.Vector3,p=new h.Vector3;return a});
define("ho",["require","exports"],function(){return function(){function a(){this.errorTarget=6;this.maxDepth=this.errorThreshold=Infinity;this.loadSiblings=!0;this.Gba=6;this.eda=3;this.Ica=600;this.Hca=800}a.iUa=function(e){var h=new a;h.errorTarget=e.get("errorTarget",h.errorTarget);h.errorThreshold=e.get("errorThreshold",h.errorThreshold);h.maxDepth=e.get("maxDepth",h.maxDepth);h.loadSiblings=e.get("loadSiblings",h.loadSiblings);h.Gba=e.get("downloadMaxJobs",h.Gba);h.eda=e.get("parseMaxJobs",h.eda);
h.Ica=e.get("lruCacheMinSize",h.Ica);h.Hca=e.get("lruCacheMaxSize",h.Hca);return h};return a}()});
define("gR",["require","exports","three.mod"],function(a,e,h){a=function(){function b(){}b.intersect=function(g,d){var c=[];d.forEach(function(f){f.isSkinnedMesh||!f.geometry||f.geometry.userData.vua||(f.geometry.computeBoundsTree(),f.geometry.userData.vua=!0);f.isSkinnedMesh&&!f.userData.oba&&(f.userData.oba=f.geometry.boundingBox,f.geometry.boundingBox=m,f.userData.xua=f.geometry.boundingSphere,f.geometry.boundingSphere=k,c.push(f))});g.firstHitOnly=!0;d=d.filter(function(f){return(f.isScene||f.parent)&&
(!f.isMesh||f.geometry)});g=g.intersectObjects(d,!1);c.forEach(function(f){f.geometry.boundingBox=f.userData.oba;delete f.userData.oba;f.geometry.boundingSphere=f.userData.xua;delete f.userData.xua});g=g.filter(function(f){return f.object.isLine?!1:!0});g.sort(function(f,l){var p=-f.object.renderOrder,q=-l.object.renderOrder;p==q&&(p=f.object.material&&!f.object.material.depthTest?0:1,q=l.object.material&&!l.object.material.depthTest?0:1);p==q&&(p=f.distance,q=l.distance);return p-q});return g};return b}();
var m=new h.Box3;m.min.x=m.min.y=m.min.z=-Infinity;m.max.x=m.max.y=m.max.z=Infinity;var k=new h.Sphere;k.center.x=k.center.y=k.center.z=0;k.radius=Infinity;return a});
define("mY",["require","gR"],function(a){function e(d){this.da=d}var h=a("gR"),m=new THREE.Raycaster,k=new THREE.Vector3,b=new THREE.Vector3(0,-1,0),g=new THREE.Vector3(0,1,0);e.prototype.sAa=function(d,c){m.ray.origin.copy(d);k.copy(c).sub(d);var f=k.length();k.normalize();m.ray.direction.copy(k);d=this.KK();return 0<h.intersect(m,d).filter(function(l){if(l.distance>=.98*f||!l.object.visible)return!1;l=Array.isArray(l.object.material)&&l.face?l.object.material[l.face.materialIndex]:l.object.material;
return!l||l.visible}).length};e.prototype.XUa=function(d){m.ray.origin.copy(d);m.ray.direction.copy(b);d=this.KK();var c=h.intersect(m,d);if(0<c.length)return c[0].distance;m.ray.direction.copy(g);c=h.intersect(m,d);if(0<c.length)return-c[0].distance};e.prototype.KK=function(){var d=[];this.da.traverse(function(c){c.isSprite||c.isLine||d.push(c)});return d};return e});
define("bb",["require","cm"],function(a){function e(m,k){this.Ga=m;this.fKa=k}var h=a("cm");e.prototype.Kva=function(m){return(m=this.yb(m))&&m.matrixWorld};e.prototype.yb=function(m){return m?h.kz(this.fKa,m):h.yb(this.Ga)};return e});
define("ei",["require","cm"],function(a){function e(c,f,l){this.Ga=c;this.KLa=f;this.oIa=l}var h=a("cm"),m=new THREE.Vector3,k=new THREE.Vector3,b=new THREE.Vector3,g=new THREE.Frustum,d=new THREE.Matrix4;e.prototype.jca=function(c,f){f=this.KLa.Kva(f);if(!f)return null;k.copy(c).applyMatrix4(f);var l=(c=h.yb(this.Ga))&&h.hI(c);c=l&&h.Ms(l);if(!c)return null;d.identity().multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);g.setFromProjectionMatrix(d);if(!g.containsPoint(k))return null;f=(l&&
h.LY(l))/2;l=(l&&h.kI(l))/2;m.copy(k).project(c);f=m.x*f+f;l=-(m.y*l)+l;b.setFromMatrixPosition(c.matrixWorld);c=this.oIa.sAa(b,k);return{x:Math.round(f),y:Math.round(l),visible:!c}};return e});
define("eB","require oH ml cl nC ho mY bb ei cm fA v ia mj".split(" "),function(a){function e(r,t,u,v){this.o=r;this.ei=t;r=this.o.getComponent(p.sh);this.m=r.Yb;this.si=v;this.ye=u;this.oe=this.si.gz(1);this.ye.FH(this.oe,1);this.Ba=this.hl=null;u=this.aKa(r.Qca);this.be=this.GGa(u);this.EDa();this.be.type===b.TYPE&&this.be.BYa(g.iUa(r.Qca));this.be.start(u)}var h=a("oH"),m=a("ml"),k=a("cl"),b=a("nC"),g=a("ho"),d=a("mY"),c=a("bb"),f=a("ei"),l=a("cm"),p=a("fA"),q=a("v"),n=a("ia");a("mj");e.prototype.GGa=
function(r){return n.is(r,n.YCa)?new b:new k};e.prototype.aKa=function(r){var t=r.get("levels");if(!u&&q.kb())var u=(u=t.find(function(v){return-1<v.get("tags").indexOf(m.bR)}))&&u.get("url");u||t.length&&(u=t[0].get("url"));u||(u=r.get("url"));return u};e.prototype.update=function(){};e.prototype.frame=function(){this.be.type===b.TYPE&&this.TSa()};e.prototype.TSa=function(){var r=l.Mj(this.o),t=r&&l.Ms(r);t&&(this.be.setCamera(t),this.be.setSize(l.LY(r),l.kI(r)),this.be.update())};e.prototype.EDa=
function(){this.be.bind(h.INIT,this.Dna,this,!0);this.be.bind(h.Z,this.nd,this,!0);this.be.bind(h.tc,this.Pf,this,!0);this.be.bind(h.ec,this.li,this,!0);this.be.bind(h.pa,this.Xna,this,!0)};e.prototype.aOa=function(){this.be.unbind(h.INIT,this.Dna,this);this.be.unbind(h.Z,this.nd,this);this.be.unbind(h.tc,this.Pf,this);this.be.unbind(h.ec,this.li,this);this.be.unbind(h.pa,this.Xna,this)};e.prototype.Dna=function(){this.Ba=this.be.Ava();this.ei.H(p.Object3D).Bc=this.Ba;var r=this.be.type==k.TYPE;this.iEa(this.Ba,
r);var t=this.o.J(p.sh,!0);t.lca=r?this.be.hl:null;this.o.J(p.Animation,!0).Yb=t.Yb};e.prototype.nd=function(){this.m.set("geometryQuery",new d(this.Ba));this.m.set("objectQuery",new c(this.o,this.Ba));this.m.set("projectionQuery",new f(this.o,this.m.get("objectQuery"),this.m.get("geometryQuery")));this.jX()};e.prototype.li=function(r){this.oe.trigger(h.ec,r.data)};e.prototype.Pf=function(){this.oe.trigger(h.tc)};e.prototype.Xna=function(){this.o.J(p.Object3D,!0)};e.prototype.jX=function(){this.m.set("isLoaded",
!0);this.oe.trigger(h.Z)};e.prototype.iEa=function(r,t){void 0===r.userData.id&&(r.userData.id="root");if(!1!==t)for(var u=[r];u.length;){var v=u.shift();r=[];v.children&&(r=r.concat(v.children));v.isSkinnedMesh&&(r=r.concat(v.skeleton.bones));r.forEach(function(w,x){void 0===w.userData.id&&(w.userData.id=v.userData.id+"/"+x);u.push(w)})}};e.prototype.dispose=function(){this.Ba&&(this.Ba.traverse(function(r){function t(w){w&&0>u.indexOf(w)&&u.push(w)}var u=[];t(r.material);t(r.userData.FD);if(r.userData.Kz)for(var v in r.userData.Kz)t(r.userData.Kz[v]);
u.forEach(function(w){w.dispose();Object.keys(w).forEach(function(x){(x=w[x])&&"object"===typeof x&&"minFilter"in x&&x.dispose()})});r.geometry&&r.geometry.userData.vua&&r.geometry.disposeBoundsTree();r.geometry&&r.geometry.dispose()}),this.Ba=null,this.ei.ma(p.Object3D));this.be&&(this.aOa(),this.be.dispose(),this.be=null);this.oe&&(this.ye.DI(this.oe),this.si.DI(this.oe),this.ye=this.oe=null);this.m&&(this.m.set("geometryQuery",null),this.m.set("objectQuery",null),this.m.set("isLoaded",!1),this.m=
null)};return e});
define("jS","require ky lP oH gi fA cm".split(" "),function(a){function e(t,u,v){this.Ga=t;this.jF=u;this.D=v;this.lf=this.lf.bind(this);this.vl=this.vl.bind(this);this.El=1;this.W=!1;this.Fha=new Map;this.eh=[];this.Zg=this.Ga.S.ad("DraggingPositionContainer");this.Zg.H(b.Group);this.Zg.H(b.ya);this.eh.push(this.Zg);this.Hc=null;this.FA=[this.Sta=this.j3("x"),this.Tta=this.j3("y"),this.Uta=this.j3("z")];this.FA.forEach(function(w){this.Ky(w,function(x){x.opacity=.5;x.depthTest=!1});w.H(b.jb).Y=this.Zg}.bind(this));
h.fa(this.D,n,this.lf,!0);h.fa(this.D,r,this.vl,!0)}var h=a("ky");a("lP");var m=a("oH"),k=a("gi"),b=a("fA"),g=a("cm");e.prototype.dispose=function(){h.ba(this.D,n,this.lf);h.ba(this.D,r,this.vl);var t=this.Ga.S;this.eh.forEach(function(u){t.Qe(u)});this.D=this.Ga=this.FA=this.o=this.eh=null};e.prototype.frame=function(){if(this.W)if(this.pN(g.iI(this.Zg)||1),this.Hc){var t=this.jF.getComponent(b.ya);this.D.set("x",t.positionX);this.D.set("y",t.positionY);this.D.set("z",t.positionZ)}else this.ZRa()};
var d=new THREE.Vector3,c=new THREE.Vector3,f=new THREE.Euler,l=new THREE.Quaternion,p=new THREE.Matrix4,q=180/Math.PI;e.prototype.j3=function(t){var u=this.Ga.S.ad("DraggingArrow");this.eh.push(u);u.H(b.Group);var v=u.J(b.ya,!0);"x"===t?v.Te=-90:"z"==t&&(u.J(b.ya,!0).Se=90);t=this.Ga.S.ad("DraggingArrowCylinder");this.eh.push(t);t.H(b.Mesh).renderOrder=1;t.H(b.Geometry).geometry=new THREE.CylinderGeometry(.05,.05,.85,16,1,!0);t.H(b.Fc);t.H(b.jb).Y=u;t.J(b.ya,!0).positionY=-.075;v=this.Ga.S.ad("DraggingArrowCone");
this.eh.push(v);v.H(b.Mesh).renderOrder=1;v.H(b.Geometry).geometry=new THREE.ConeGeometry(.05,.15,16,1,!0);v.H(b.Fc);v.H(b.jb).Y=u;v.J(b.ya,!0).positionY=.425;this.Fha.set(u,[t,v]);return u};e.prototype.pN=function(t){this.El!=t&&(this.El=t,this.lf())};e.prototype.lf=function(){var t=this.D.get("draggableArrowLength")*this.El;this.Ky(this.Sta,function(v){v.color=this.D.get("draggableXControlsColor")}.bind(this));var u=this.Sta.J(b.ya,!0);u.scale=t;u.translationX=t/2;this.Ky(this.Tta,function(v){v.color=
this.D.get("draggableYControlsColor")}.bind(this));u=this.Tta.J(b.ya,!0);u.scale=t;u.translationY=t/2;this.Ky(this.Uta,function(v){v.color=this.D.get("draggableZControlsColor")}.bind(this));u=this.Uta.J(b.ya,!0);u.scale=t;u.cf=t/2};e.prototype.ZRa=function(){var t=g.yb(this.jF);t&&(p.copy(t.matrixWorld).invert().decompose(d,l,c),t=this.Zg.getComponent(b.ya),f.setFromQuaternion(l,t.bg),f.x*=q,f.y*=q,f.z*=q,t.Se!=f.x||t.se!=f.y||t.Te!=f.z)&&(t=this.Zg.J(b.ya),t.Se=f.x,t.se=f.y,t.Te=f.z)};e.prototype.vl=
function(){var t=this.D.get("positionDraggable");this.W!=t&&((this.W=t)?(this.Zg.H(b.jb).Y=this.jF,this.FA.forEach(function(u){u=u.H(b.ld);u.aw=!0;u.Iv=!0;u.Ea=new k;u.Ea.bind(m.Wc,this.oG,this,!0);u.Ea.bind(m.ac,this.Om,this,!0);u.Ea.bind(m.ub,this.mk,this,!0);u.Ea.bind(m.Zb,this.Wn,this,!0)}.bind(this))):(this.Zg.ma(b.jb),this.FA.forEach(function(u){u.ma(b.ld)})))};e.prototype.oG=function(t){(t=this.fl(t))&&t!=this.Hc&&this.Ky(t,function(u){u.opacity=1})};e.prototype.Om=function(t){(t=this.fl(t))&&
t!=this.Hc&&this.Ky(t,function(u){u.opacity=.5})};e.prototype.mk=function(t){t=this.fl(t);this.My(t)};e.prototype.Wn=function(t){t=this.fl(t);t==this.Hc&&(this.My(null),-1!=this.FA.indexOf(t)&&this.D.trigger(m.st))};e.prototype.Ky=function(t,u){this.Fha.get(t).forEach(function(v){u(v.J(b.Fc))}.bind(this))};e.prototype.fl=function(t){t=this.FA.map(function(u){return u.getComponent(b.ld).Ea}).indexOf(t.source);return-1==t?null:this.FA[t]};e.prototype.My=function(t){this.Hc&&(this.Ky(this.Hc,function(v){v.opacity=
.5}),this.jF.ma(b.Po));if(this.Hc=t){this.Ky(this.Hc,function(v){v.opacity=1});t=g.getWorldPosition(this.jF);var u=g.getWorldPosition(this.Hc);this.jF.H(b.Po).direction=u.sub(t)}};var n=["draggableArrowLength","draggableXControlsColor","draggableYControlsColor","draggableZControlsColor"],r=["positionDraggable"];return e});
define("n","require ky oH gi fA cm".split(" "),function(a){function e(n,r,t){this.Ga=n;this.o=r;this.D=t;this.nk=this.nk.bind(this);this.lf=this.lf.bind(this);this.vl=this.vl.bind(this);this.Hc=null;this.W=!1;this.KV=[1,1,1,1,1,1];this.eh=[];this.fg=[this.AH=this.op(),this.zH=this.op(),this.CH=this.op(),this.BH=this.op(),this.EH=this.op(),this.DH=this.op()];this.fg.forEach(function(u){u=u.J(b.Fc);u.opacity=.5;u.depthTest=!1}.bind(this));h.fa(this.D,l,this.lf,!0);h.fa(this.D,p,this.nk,!0);h.fa(this.D,
q,this.vl,!0)}var h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA"),g=a("cm");e.prototype.frame=function(){if(this.W&&(this.BPa(this.fg.map(function(H){return g.iI(H)||1})),this.Hc)){var n=g.yb(this.o),r=g.yb(this.xF(this.Hc));if(n&&r){c.copy(n.matrixWorld).invert();d.setFromMatrixPosition(r.matrixWorld).applyMatrix4(c);n=this.D.get("x");r=this.D.get("y");var t=this.D.get("z"),u=this.D.get("width"),v=this.D.get("height"),w=this.D.get("depth"),x=0,y=0,A=0,B=0,z=0,C=0;switch(this.Hc){case this.AH:B=d.x-.5*u;
x=.5*B;break;case this.zH:B=-d.x-.5*u;x=.5*-B;break;case this.CH:z=d.y-.5*v;y=.5*z;break;case this.BH:z=-d.y-.5*v;y=.5*-z;break;case this.EH:C=d.z-.5*w;A=.5*C;break;case this.DH:C=-d.z-.5*w,A=.5*-C}this.D.set("x",n+x);this.D.set("width",u+B);this.D.set("y",r+y);this.D.set("height",v+z);this.D.set("z",t+A);this.D.set("depth",w+C)}}};var d=new THREE.Vector3,c=new THREE.Matrix4;e.prototype.op=function(){var n=this.Ga.S.ad("DraggingSphere");this.eh.push(n);n.H(b.Mesh).renderOrder=2;n.H(b.Geometry).geometry=
new THREE.SphereGeometry;n.H(b.Fc);return n};e.prototype.lf=function(){this.AH.J(b.Fc).color=this.D.get("draggableXControlsColor");this.zH.J(b.Fc).color=this.D.get("draggableXControlsColor");this.CH.J(b.Fc).color=this.D.get("draggableYControlsColor");this.BH.J(b.Fc).color=this.D.get("draggableYControlsColor");this.EH.J(b.Fc).color=this.D.get("draggableZControlsColor");this.DH.J(b.Fc).color=this.D.get("draggableZControlsColor");var n=this.D.get("draggableSphereRadius");this.fg.forEach(function(r,t){r.J(b.ya,
!0).scale=n*this.KV[t]}.bind(this))};e.prototype.nk=function(){this.AH.J(b.ya,!0).positionX=this.D.get("width")/2;this.zH.J(b.ya,!0).positionX=-this.D.get("width")/2;this.CH.J(b.ya,!0).positionY=this.D.get("height")/2;this.BH.J(b.ya,!0).positionY=-this.D.get("height")/2;this.EH.J(b.ya,!0).positionZ=this.D.get("depth")/2;this.DH.J(b.ya,!0).positionZ=-this.D.get("depth")/2};e.prototype.vl=function(){var n=this.D.get("sizeDraggable");this.W!=n&&(this.W=n,this.fg.forEach(function(r){n?(r.H(b.jb).Y=this.o,
this.fg.forEach(function(t){t=t.H(b.ld);t.aw=!0;t.Iv=!0;t.Ea=new k;t.Ea.bind(m.Wc,this.dG,this,!0);t.Ea.bind(m.ac,this.y7,this,!0);t.Ea.bind(m.ub,this.w7,this,!0);t.Ea.bind(m.Zb,this.x7,this,!0)}.bind(this))):(r.ma(b.jb),this.fg.forEach(function(t){t.ma(b.ld)}.bind(this)))}.bind(this)))};e.prototype.BPa=function(n){for(var r=!1,t=0;t<this.KV.length&&!r;t++)r=this.KV[t]!=n[t];r&&(this.KV=n,this.lf())};e.prototype.dG=function(n){(n=this.fl(n))&&n!=this.Hc&&(n.J(b.Fc).opacity=1)};e.prototype.y7=function(n){(n=
this.fl(n))&&n!=this.Hc&&(n.J(b.Fc).opacity=.5)};e.prototype.fl=function(n){n=this.fg.map(function(r){return r.getComponent(b.ld).Ea}).indexOf(n.source);return-1==n?null:this.fg[n]};e.prototype.w7=function(n){n=this.fl(n);this.My(n)};e.prototype.x7=function(n){n=this.fl(n);n==this.Hc&&(this.My(null),this.nk(),(n=-1!=this.fg.indexOf(n))&&this.D.trigger(m.st),n&&this.D.trigger(m.hga))};e.prototype.My=function(n){this.Hc&&(this.Hc.J(b.Fc).opacity=.5,this.xF(this.Hc).ma(b.Po));if(this.Hc=n)this.Hc.J(b.Fc).opacity=
1,n=this.xF(this.Hc).H(b.Po),n.direction=this.TIa(this.Hc),n.min=this.UIa(this.Hc)};e.prototype.TIa=function(n){var r=g.getWorldPosition(this.o);return g.getWorldPosition(n).sub(r)};e.prototype.xF=function(n){return-1!=this.fg.indexOf(n)?n:null};e.prototype.UIa=function(n){var r=this.vJa(n);if(r){r=g.getWorldPosition(r);var t=g.getWorldPosition(n).sub(r);switch(n){case this.AH:case this.zH:var u=this.D.get("minWidth");break;case this.CH:case this.BH:u=this.D.get("minHeight");break;case this.EH:case this.DH:u=
this.D.get("minDepth")}return r.add(t.setLength(u||f))}};e.prototype.vJa=function(n){switch(n){case this.AH:return this.zH;case this.zH:return this.AH;case this.CH:return this.BH;case this.BH:return this.CH;case this.EH:return this.DH;case this.DH:return this.EH}return null};e.prototype.dispose=function(){h.ba(this.D,l,this.lf);h.ba(this.D,p,this.nk);h.ba(this.D,q,this.vl);var n=this.Ga.S;this.eh.forEach(function(r){n.Qe(r)});this.D=this.Ga=this.fg=this.o=this.eh=null};var f=1E-6,l=["draggableSphereRadius",
"draggableXControlsColor","draggableYControlsColor","draggableZControlsColor"],p="depth height x y z width".split(" "),q=["sizeDraggable"];return e});
define("cr","require ky lP oH fA jS n".split(" "),function(a){function e(f,l,p){this.Ga=f;this.D=p;this.nk=this.nk.bind(this);this.lf=this.lf.bind(this);this.o=this.eGa();f=this.o.H(k.jb);f.Y=this.Ga;f.id=this.D.get("parentId");this.tr=this.l3();this.tr.H(k.jb).Y=this.o;this.xK=this.sGa();this.xK.H(k.jb).Y=this.o;this.eh=[this.o,this.tr,this.xK];this.eB=new b(this.Ga,this.o,this.D);this.j4=new g(this.Ga,this.o,this.D);f=this.o.H(k.ld);f.Iv=!0;f.aw=!0;f.Ea=this.D;h.fa(this.D,d,this.lf,!0);h.fa(this.D,
c,this.nk,!0);this.D.trigger(m.kd)}var h=a("ky");a("lP");var m=a("oH"),k=a("fA"),b=a("jS"),g=a("n");e.prototype.frame=function(){this.eB.frame();this.j4.frame()};e.prototype.eGa=function(){var f=this.Ga.S.ad("Box");f.H(k.Group);return f};e.prototype.l3=function(){var f=this.Ga.S.ad("BoxBorder");f.H(k.Line);f.H(k.Geometry).geometry=this.fGa();f.H(k.Xg);return f};e.prototype.sGa=function(){var f=this.Ga.S.ad("BoxFace");f.H(k.Mesh);f.H(k.Geometry).geometry=new THREE.BoxGeometry(1,1,1);f.H(k.Fc);return f};
e.prototype.fGa=function(){var f=[new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(-.5,-.5,-.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(.5,.5,-.5),new THREE.Vector3(.5,.5,-.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(-.5,-.5,
-.5),new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(-.5,-.5,-.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(.5,.5,-.5)];return(new THREE.BufferGeometry).setFromPoints(f)};e.prototype.lf=function(){var f=this.tr.J(k.Xg);f.color=this.D.get("lineColor");f.opacity=this.D.get("lineOpacity");f.width=this.D.get("lineWidth");f.depthTest=this.D.get("depthTest");f=this.xK.J(k.Fc);f.color=
this.D.get("faceColor");f.opacity=this.D.get("faceOpacity");f.depthTest=this.D.get("depthTest");f=this.o.J(k.ld,!0);f.Oo=this.D.get("useHandCursor");f.wQ=this.D.get("transparentAreaActive")};e.prototype.nk=function(){var f=this.o.J(k.ya,!0);f.positionX=this.D.get("x");f.positionY=this.D.get("y");f.positionZ=this.D.get("z");f=this.tr.J(k.ya,!0);var l=this.xK.J(k.ya,!0);l.Gf=f.Gf=this.D.get("width");l.Tf=f.Tf=this.D.get("height");l.nh=f.nh=this.D.get("depth")};e.prototype.dispose=function(){this.j4.dispose();
this.j4=null;this.eB.dispose();this.eB=null;h.ba(this.D,d,this.lf);h.ba(this.D,c,this.nk);var f=this.Ga.S;this.eh.forEach(function(l){f.Qe(l)});this.Ga=this.xK=this.tr=this.o=this.eh=null;this.D.trigger(m.sd);this.D=null};var d=["transparentAreaActive","useHandCursor"],c="depth height x y z width".split(" ");return e});
define("Z",["require"],function(){var a={em:function(){this.n_a=this.qea=this.m_a=this.rQ=this.qQ=this.pQ=0;this.lw=!1;this.Bi=new THREE.CubeTexture;this.D_a=this.wea=this.C_a=this.uQ=this.targetY=this.targetX=0;this.mw=!1;this.Ci=new THREE.CubeTexture;this.bg="XYZ";this.position=1},k1a:function(){return new a.em},create:function(m){var k=new THREE.ShaderMaterial;k.uniforms={sCube:{value:m.Bi},sPos:{value:new THREE.Vector3},sRot:{value:new THREE.Matrix4},sEnabled:{value:!1},tCube:{value:m.Ci},tPos:{value:new THREE.Vector3},
tRot:{value:new THREE.Matrix4},tEnabled:{value:!1},blendingCoef:{value:0}};k.fragmentShader="uniform samplerCube sCube;\nuniform vec3 sPos;\nuniform mat4 sRot;\nuniform bool sEnabled;\nuniform samplerCube tCube;\nuniform vec3 tPos;\nuniform mat4 tRot;\nuniform bool tEnabled;\nuniform float blendingCoef;\nvarying vec3 vWorldPosition;\nvoid main() {\n    vec4 sFragColor;\n    vec4 tFragColor;\n    if (sEnabled) \n    {\n        vec4 sCubePosition4 = sRot * vec4((vWorldPosition - sPos), 1);\n        vec3 sCubePosition = sCubePosition4.xyz / sCubePosition4.w;\n\t    sFragColor = textureCube(sCube, sCubePosition);\n    }\n    if (tEnabled)\n    {\n        vec4 tCubePosition4 = tRot * vec4((vWorldPosition - tPos), 1);\n        vec3 tCubePosition = tCubePosition4.xyz / tCubePosition4.w;\n\t    tFragColor = textureCube(tCube, tCubePosition);\n    }\n    if (sEnabled && tEnabled)\n    {\n        gl_FragColor = mix(sFragColor, tFragColor, blendingCoef);     \n    }\n    else if (sEnabled)\n    {        \n        gl_FragColor = vec4(sFragColor.rgb, sFragColor.a * (1.0 - blendingCoef));\n    }\n    else if (tEnabled)\n    {\n        gl_FragColor = vec4(tFragColor.rgb, tFragColor.a * blendingCoef);\n    }\n    #include <encodings_fragment>\n}";
k.vertexShader="varying vec3 vWorldPosition;\n#include <common>\nvoid main() {\n\tvWorldPosition = (modelMatrix * vec4(position, 1.0)).xyz;\n   gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";k.side=THREE.DoubleSide;k.depthWrite=!0;k.transparent=!0;k.needsUpdate=!0;this.update(k,m);return k},update:function(m,k){m.uniforms.sCube.value=k.Bi;m.uniforms.sPos.value.set(k.pQ,k.qQ,k.rQ);m.uniforms.sRot.value.makeRotationFromEuler(e.set(k.m_a*h,k.qea*h,k.n_a*h,k.bg));m.uniforms.sEnabled.value=
k.lw;m.uniforms.tCube.value=k.Ci;m.uniforms.tPos.value.set(k.targetX,k.targetY,k.uQ);m.uniforms.tRot.value.makeRotationFromEuler(e.set(k.C_a*h,k.wea*h,k.D_a*h,k.bg));m.uniforms.tEnabled.value=k.mw;m.uniforms.blendingCoef.value=k.position;m.needsUpdate=!0;return m}},e=new THREE.Euler,h=Math.PI/180;return a});
define("lR",["require","ky","Z","fA","cm"],function(a){function e(c,f,l){this.Ga=c;this.ei=f;this.D=l;this.Nu=this.Nu.bind(this);this.o=this.Ga.S.ad("ProjectedMaterial");this.cd=this.ha=this.Xb=null}var h=a("ky"),m=a("Z"),k=a("fA"),b=a("cm");e.prototype.frame=function(){!this.cd&&b.yb(this.ei)&&this.$Pa()};e.prototype.$Pa=function(){this.Xb=new m.em;this.ha=m.create(this.Xb);this.ha.polygonOffset=!0;this.ha.polygonOffsetUnits=1;this.ha.polygonOffsetFactor=-10;this.ha.needsUpdate=!0;this.cd=this.JGa();
this.o.H(k.Object3D).Bc=this.cd;var c=this.o.H(k.jb);c.Y=this.Ga;c.id=this.D.get("parentId");c.attach=!0;h.fa(this.D,d,this.Nu,!0)};e.prototype.JGa=function(){var c=b.yb(this.ei),f=new Map;c.traverse(function(q){if(q.material&&q.userData){var n={};q.material&&(n.material=q.material,q.material=this.ha);q.userData&&(n.userData=q.userData,q.userData={});f.set(q,n)}}.bind(this));c=c.clone();f.forEach(function(q,n){q.material&&(n.material=q.material);q.userData&&(n.userData=q.userData)});var l=b.Mj(this.ei),
p=l&&b.Ms(l);this.AN=new THREE.Mesh(new THREE.BoxGeometry(2,2,2),this.ha);this.lF=l&&b.gP(l);b.Zta(p,this.AN);return c};e.prototype.Nu=function(){this.Xb.texture||(this.Xb.texture=new THREE.CubeTexture);this.Xb.texture.image!=this.D.get("faces")&&(this.Xb.texture.image=this.D.get("faces"),this.Xb.texture.encoding=THREE.sRGBEncoding,this.Xb.texture.needsUpdate=!0);this.D.get("sourceFaces")?(this.Xb.Bi.image!=this.D.get("sourceFaces")&&(this.Xb.Bi&&this.Xb.Bi.dispose(),this.Xb.Bi=new THREE.CubeTexture,
this.Xb.Bi.image=this.D.get("sourceFaces"),this.Xb.Bi.encoding=this.lF,this.Xb.Bi.needsUpdate=!0),this.Xb.pQ=this.D.get("sourceX"),this.Xb.qQ=this.D.get("sourceY"),this.Xb.rQ=this.D.get("sourceZ"),this.Xb.qea=this.D.get("sourceYaw"),this.Xb.lw=!0):this.Xb.lw=!1;this.D.get("targetFaces")?(this.Xb.Ci.image!=this.D.get("targetFaces")&&(this.Xb.Ci&&this.Xb.Ci.dispose(),this.Xb.Ci=new THREE.CubeTexture,this.Xb.Ci.image=this.D.get("targetFaces"),this.Xb.Ci.encoding=this.lF,this.Xb.Ci.needsUpdate=!0),this.Xb.targetX=
this.D.get("targetX"),this.Xb.targetY=this.D.get("targetY"),this.Xb.uQ=this.D.get("targetZ"),this.Xb.wea=this.D.get("targetYaw"),this.Xb.mw=!0):this.Xb.mw=!1;this.Xb.position=this.D.get("position");b.yb(this.ei).visible=this.Xb.lw&&this.Xb.mw||this.Xb.lw&&0>=this.Xb.position||this.Xb.mw&&1<=this.Xb.position?!1:!0;m.update(this.ha,this.Xb);this.o.S.$a()};var g=new THREE.MeshBasicMaterial;e.prototype.dispose=function(){b.yb(this.ei).visible=!0;this.cd&&this.cd.traverse(function(c){c.material==this.ha&&
(c.material=g)}.bind(this));this.AN&&(b.Wya(this.AN.parent,this.AN),this.AN=null);this.ha&&(this.Xb.Bi.dispose(),this.Xb.Ci.dispose(),this.Xb.texture.dispose(),this.Xb=null,this.ha.dispose(),this.ha=null);h.ba(this.D,d,this.Nu);this.o&&this.o.S.Qe(this.o);this.D=this.o=this.Ga=null};var d="sourceX sourceY sourceZ sourceYaw sourceFaces targetX targetY targetZ targetYaw targetFaces position".split(" ");return e});
define("cH","require ky oH gi fA cm".split(" "),function(a){function e(w,x,y){this.Ga=w;this.o=x;this.D=y;this.mG=this.mG.bind(this);this.lf=this.lf.bind(this);this.vl=this.vl.bind(this);this.Hc=null;this.W=!1;this.El=1;this.Zg=this.Ga.S.ad("DraggingSize2DContainer");this.Zg.H(b.Group);this.Zg.H(b.ya);this.fg=[this.R6=this.op(),this.K6=this.op(),this.p9=this.op(),this.U8=this.op()];this.fg.forEach(function(A){A.H(b.ya);A=A.J(b.Fc);A.color="#ffffff";A.opacity=.5;A.depthTest=!1}.bind(this));this.tr=
this.l3();this.eh=[this.Zg,this.tr].concat(this.fg);[this.tr].concat(this.fg).forEach(function(A){A.H(b.jb).Y=this.Zg}.bind(this));h.fa(this.D,u,this.mG,!0);h.fa(this.D,t,this.lf,!0);h.fa(this.D,v,this.vl,!0)}var h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA"),g=a("cm"),d=new THREE.Matrix4,c=new THREE.Vector3,f=new THREE.Vector3,l=new THREE.Quaternion,p=new THREE.Vector3,q=new THREE.Vector3,n=new THREE.Euler,r=180/Math.PI;e.prototype.frame=function(){if(this.W){var w=g.yb(this.Zg),x=w&&g.hI(w),y=x&&g.Ms(x);
if(y){if(this.Hc){var A=g.LY(x);x=g.kI(x);g.getWorldPosition(this.o,q).project(y);q.x=(q.x+1)*A*.5;q.y=(1-q.y)*x*.5;g.getWorldPosition(this.Hc,p).project(y);p.x=(p.x+1)*A*.5;p.y=(1-p.y)*x*.5;A=this.D.get("anchorX");x=this.D.get("anchorY");var B,z,C=q.x-p.x,H=p.y-q.y,D=-C,I=-H;this.K6===this.Hc&&(0<A||1>x)?C>H?B=C/A:z=H/(1-x):this.U8===this.Hc&&(1>A||1>x)?D>H?B=D/(1-A):z=H/(1-x):this.R6===this.Hc&&(0<A||0<x)?C>I?B=C/A:z=I/x:this.p9===this.Hc&&(1>A||0<x)&&(D>I?B=D/(1-A):z=I/x);void 0!==z&&void 0===
B?B=z*this.Hha:void 0!==B&&void 0===z&&(z=B/this.Hha);void 0!==B&&void 0!==z&&(A=this.D.get("sizeAttenuation")?this.El:1,console.log("sizeAttenuationScale",A),this.D.set("width",this.ia=B*A),this.D.set("height",this.ua=z*A))}B=this.Zg.getComponent(b.ya);d.copy(w.parent.matrixWorld).invert().multiply(y.matrixWorld).decompose(c,l,f);n.setFromQuaternion(l,B.bg);n.x*=r;n.y*=r;n.z*=r;if(B.Se!=n.x||B.se!=n.y||B.Te!=n.z)B=this.Zg.J(b.ya),B.Se=n.x,B.se=n.y,B.Te=n.z;this.pN(g.iI(this.Zg)||1)}}};e.prototype.TRa=
function(w,x){null!=this.X$&&clearTimeout(this.X$);this.X$=setTimeout(function(){this.X$=null;if(this.ia!==w||this.ua!==x)this.ia=w,this.ua=x,this.Hha=this.ia/this.ua}.bind(this),100)};e.prototype.op=function(){var w=this.Ga.S.ad("DraggingSphere");w.H(b.Mesh).renderOrder=2;w.H(b.Geometry).geometry=new THREE.SphereGeometry;w.H(b.Fc);return w};e.prototype.l3=function(){var w=this.Ga.S.ad("BoxBorder");w.H(b.Line);w.H(b.Geometry).geometry=this.TGa();var x=w.H(b.Xg);x.color="#0000ff";x.depthTest=!1;x.width=
1;return w};e.prototype.TGa=function(){var w=[new THREE.Vector3(-.5,-.5,0),new THREE.Vector3(.5,-.5,0),new THREE.Vector3(.5,-.5,0),new THREE.Vector3(.5,.5,0),new THREE.Vector3(.5,.5,0),new THREE.Vector3(-.5,.5,0),new THREE.Vector3(-.5,.5,0),new THREE.Vector3(-.5,-.5,0)];return(new THREE.BufferGeometry).setFromPoints(w)};e.prototype.lf=function(){var w=this.tr.J(b.Xg);w.color=this.D.get("draggableLineColor");w.opacity=this.D.get("draggableLineOpacity");w.width=this.D.get("draggableLineWidth");this.fg.forEach(function(x){x.J(b.Fc).color=
this.D.get("draggableSphereColor");x.J(b.ya).scale=this.D.get("draggableSphereRadius")*this.El}.bind(this))};e.prototype.pN=function(w){this.El!=w&&(this.El=w,this.mG(),this.lf())};e.prototype.mG=function(){var w=this.D.get("anchorX"),x=this.D.get("anchorY"),y=this.D.get("width"),A=this.D.get("height"),B=this.D.get("sizeAttenuation")?1:this.El,z=this.R6.J(b.ya,!0);z.positionX=-w*y*B;z.positionY=x*A*B;z=this.p9.J(b.ya,!0);z.positionX=(1-w)*y*B;z.positionY=x*A*B;z=this.K6.J(b.ya,!0);z.positionX=-w*
y*B;z.positionY=(x-1)*A*B;z=this.U8.J(b.ya,!0);z.positionX=(1-w)*y*B;z.positionY=(x-1)*A*B;z=this.tr.J(b.ya,!0);z.positionX=(.5-w)*y*B;z.positionY=(x-.5)*A*B;z.Gf=y*B;z.Tf=A*B;this.TRa(y,A)};e.prototype.vl=function(){var w=this.D.get("sizeDraggable");this.W!=w&&((this.W=w)?(this.Zg.H(b.jb).Y=this.o,this.fg.forEach(function(x){x=x.H(b.ld);x.aw=!0;x.Iv=!0;x.Ea=new k;x.Ea.bind(m.Wc,this.dG,this,!0);x.Ea.bind(m.ac,this.y7,this,!0);x.Ea.bind(m.ub,this.w7,this,!0);x.Ea.bind(m.Zb,this.x7,this,!0)}.bind(this))):
(this.Zg.ma(b.jb),this.fg.forEach(function(x){x.ma(b.ld)}.bind(this))))};e.prototype.dG=function(w){(w=this.fl(w))&&w!=this.Hc&&(w.J(b.Fc).opacity=1)};e.prototype.y7=function(w){(w=this.fl(w))&&w!=this.Hc&&(w.J(b.Fc).opacity=.5)};e.prototype.w7=function(w){w=this.fl(w);this.My(w)};e.prototype.x7=function(w){(w=this.fl(w))&&w==this.Hc&&(this.My(null),this.mG(),(w=-1!=this.fg.indexOf(w))&&this.D.trigger(m.st),w&&this.D.trigger(m.hga))};e.prototype.fl=function(w){w=this.fg.map(function(x){return x.getComponent(b.ld).Ea}).indexOf(w.source);
if(-1==w)return null;w=this.fg[w];return this.aLa(w)?w:null};e.prototype.aLa=function(w){var x=this.D.get("anchorX"),y=this.D.get("anchorY");return this.K6===w&&(0<x||0<y)||this.U8===w&&(1>x||0<y)||this.R6===w&&(0<x||1>y)||this.p9===w&&(1>x||1>y)?!0:!1};e.prototype.My=function(w){this.Hc&&(this.Hc.J(b.Fc).opacity=.5,this.xF(this.Hc).ma(b.Po));if(this.Hc=w){this.Hc.J(b.Fc).opacity=1;var x=this.xF(this.Hc).H(b.Po),y=g.getWorldPosition(this.o);w=g.getWorldPosition(w);w=(new THREE.Vector3).copy(w).sub(y);
var A=Math.min(w.length(),10*this.El);y=(new THREE.Vector3).copy(y).add(c.copy(w).setLength(A));x.direction=w;x.min=y}};e.prototype.xF=function(w){return-1!=this.fg.indexOf(w)?w:null};e.prototype.dispose=function(){h.ba(this.D,u,this.mG);h.ba(this.D,t,this.lf);h.ba(this.D,v,this.vl);var w=this.Ga.S;this.eh.forEach(function(x){w.Qe(x)});this.D=this.Ga=this.fg=this.o=this.eh=null};var t=["draggableLineColor","draggableLineOpacity","draggableLineWidth","draggableSphereColor","draggableSphereRadius"],
u="anchorX anchorY height sizeAttenuation x y z width".split(" "),v=["sizeDraggable"];return e});
define("hZ","require ky hT fA jS cH cm".split(" "),function(a){function e(v,w,x,y,A){this.Ga=v;this.ye=x;this.si=y;this.D=A;this.nk=this.nk.bind(this);this.hM=this.hM.bind(this);this.lf=this.lf.bind(this);this.OU=this.OU.bind(this);this.Lg=this.ye.gz(1);this.D.get("preload")&&this.si.FH(this.Lg);this.o=this.Ga.S.ad("SpriteContainer");this.o.H(k.Group);v=this.o.H(k.jb);v.Y=this.Ga;v.id=this.D.get("parentId");this.aO=this.Ga.S.ad("TranslationSpriteContainer");this.aO.H(k.Group);this.aO.H(k.jb).Y=this.o;
this.gs=this.Ga.S.ad("Sprite");this.gs.H(k.jb).Y=this.aO;v=this.gs.H(k.gm);v.Yb=this.D;v.rca=this.D.get("image");v.Ea=this.D;v.Eo=this.Lg;v.isSprite=!0;v.priority=this.D.get("preload")?m.lA:m.zfa;this.gs.H(k.Sprite).renderOrder=2;this.gs.H(k.ld).Ea=this.D;this.gs.H(k.uw);this.gs.H(k.fJ).object=this.D;this.M6=!1;this.El=1E-4;this.Wx=this.o.S.ad("TranslationLine");this.Wx.H(k.Line).renderOrder=1;this.Wx.H(k.Xg);this.eB=new b(this.Ga,this.o,this.D);this.i4=new g(this.Ga,this.aO,this.D);h.fa(this.D,n,
this.nk,!0);h.fa(this.D,t,this.hM,!0);h.fa(this.D,u,this.lf,!0);h.fa(this.D,r,this.OU,!0)}var h=a("ky"),m=a("hT"),k=a("fA"),b=a("jS"),g=a("cH"),d=a("cm");e.prototype.frame=function(){this.eB.frame();this.i4.frame();this.pN(d.iI(this.o)||1E-4)};e.prototype.nk=function(){this.o.H(k.jb).id!=this.D.get("parentId")&&(this.o.J(k.jb).id=this.D.get("parentId"));var v=this.o.J(k.ya,!0);v.positionX=this.D.get("x");v.positionY=this.D.get("y");v.positionZ=this.D.get("z")};e.prototype.pN=function(v){this.El!=
v&&(this.El=v,this.hM())};e.prototype.hM=function(){var v=this.aO.J(k.ya,!0),w=this.D.get("translationLength");l.set(this.D.get("translationX"),this.D.get("translationY"),this.D.get("translationZ"));void 0!==w&&l.setLength(w*this.El);v.translationX=l.x;v.translationY=l.y;v.cf=l.z;w=this.Wx.J(k.ya,!0);l.set(v.translationX,v.translationY,v.cf);w.scale=l.length();c.setFromUnitVectors(p,l.normalize());f.setFromQuaternion(c,w.bg);f.x*=q;f.y*=q;f.z*=q;w.Se=f.x;w.se=f.y;w.Te=f.z;this.bta()};var c=new THREE.Quaternion,
f=new THREE.Euler,l=new THREE.Vector3,p=new THREE.Vector3(0,0,1),q=180/Math.PI;e.prototype.lf=function(){var v=this.gs.J(k.ld,!0);v.Oo=this.D.get("useHandCursor");v.wQ=this.D.get("transparentAreaActive");v.Iv=this.D.get("clickEnabled");v.aw=this.D.get("rollOverEnabled");v=this.Wx.J(k.Xg);v.color=this.D.get("translationLineColor");v.depthTest=this.D.get("depthTest");v.opacity=this.D.get("hidden")?0:this.D.get("translationLineOpacity");v.width=this.D.get("translationLineWidth");this.bta()};e.prototype.OU=
function(){var v=this.gs.J(k.Sprite,!0);v.HH=this.D.get("anchorX");v.IH=this.D.get("anchorY");v.width=this.D.get("width");v.height=this.D.get("height");v.scale=this.D.get("scale");v.sizeAttenuation=this.D.get("sizeAttenuation")};e.prototype.bta=function(){var v=this.D.get("translationLineVisible")&&0<this.D.get("translationLineOpacity")&&(0!=this.D.get("translationX")||0!=this.D.get("translationY")||0!=this.D.get("translationZ"));this.M6!=v&&((this.M6=v)?this.Wx.H(k.jb).Y=this.o:this.Wx.ma(k.jb))};
e.prototype.dispose=function(){this.eB.dispose();this.eB=null;this.i4.dispose();this.i4=null;h.ba(this.D,n,this.nk);h.ba(this.D,t,this.hM);h.ba(this.D,u,this.lf);h.ba(this.D,r,this.OU);this.ye.DI(this.Lg);this.si.DI(this.Lg);this.Lg=this.si=this.ye=null;var v=this.Ga.S;this.Ga=null;v.Qe(this.gs);this.gs=null;v.Qe(this.Wx);this.Wx=null;v.Qe(this.o);this.D=this.o=null};var n=["parentId","x","y","z"],r="anchorX anchorY width height scale sizeAttenuation".split(" "),t=["translationX","translationY","translationZ",
"translationLength"],u="clickEnabled depthTest hidden rollOverEnabled transparentAreaActive translationLineColor translationLineOpacity translationLineVisible translationLineWidth useHandCursor".split(" ");return e});define("fU",["require","nx","cr","lR","hZ"],function(a){var e=a("nx"),h=a("cr");a("lR");var m=a("hZ");return{create:function(k,b,g,d,c){return e.Na("SpriteModel3DObject",c)?new m(k,b,g,d,c):e.Na("BoxModel3DObject",c)?new h(k,b,c):null}}});
define("kR",["require","ky","fA","fU"],function(a){function e(b,g,d,c){this.o=b;this.ei=g;this.ye=d;this.si=c;this.fC=this.fC.bind(this);this.$y=b.S;this.m=this.o.getComponent(m.sh).Yb;this.Ba=(b=this.o.getComponent(m.Object3D))&&b.Bc;this.xj=[];this.vU=new Map;h.fa(this.m,["objects.enabled"],this.fC,!0)}var h=a("ky"),m=a("fA"),k=a("fU");e.prototype.update=function(){var b=this.o.getComponent(m.Object3D);b=b&&b.Bc;if(this.Ba!==b){var g=this.Ba;this.Ba=b;this.sX(!!g)}};e.prototype.frame=function(){this.vU.forEach(function(b){b&&
b.frame&&b.frame()})};e.prototype.dispose=function(){this.Ba=null;h.ba(this.m,["objects.enabled"],this.fC);this.jra([])};e.prototype.fC=function(){this.sX()};e.prototype.sX=function(b){var g=this.m.get("objects").filter(function(d){return d.get("enabled")});this.jra(g,b)};e.prototype.jra=function(b,g){if(this.xj!=b||g)this.xj.forEach(function(d){(g||0>b.indexOf(d))&&this.dOa(d)}.bind(this)),b.forEach(function(d){(g||0>this.xj.indexOf(d))&&this.HDa(d)}.bind(this)),this.xj=b};e.prototype.HDa=function(b){this.vU.set(b,
k.create(this.o,this.ei,this.ye,this.si,b))};e.prototype.dOa=function(b){var g=this.vU.get(b);g&&g.dispose();this.vU["delete"](b)};return e});
define("kf",["require","oH","fA"],function(a){function e(g,d){this.o=g;this.ei=d;this.Ti=this.Ba=this.m=null;this.bV=new Map;this.Il(this.o.getComponent(m.sh).Yb);this.update()}var h=a("oH"),m=a("fA");e.prototype.update=function(){var g=this.ei.getComponent(m.Object3D);g=g&&g.Bc;this.Ba!=g&&(this.Ba=g,this.GA())};e.prototype.Il=function(g){this.m&&k.forEach(function(d){this.m.unbind(h.G(d),this.GA,this,!1)}.bind(this));if(this.m=g)k.forEach(function(d){this.m.bind(h.G(d),this.GA,this,!1)}.bind(this)),
this.GA()};e.prototype.GA=function(){this.ira(this.m.get("model"));if(this.Ba){var g=this.m.get("bakedTextures");this.Ba.traverse(function(d){d.isMesh&&(g?this.ZFa(d):this.sqa(d))}.bind(this));this.o.S.$a()}};e.prototype.ZFa=function(g){!g.material||g.material.isMeshBasicMaterial||this.bV.get(g)||(this.bV.set(g,g.material),g.material=(new THREE.MeshBasicMaterial).copy(g.material))};e.prototype.sqa=function(g){var d=g.material,c=this.bV.get(g);d&&c&&(this.bV["delete"](g),g.material=c)};e.prototype.ira=
function(g){this.Ti!=g&&(this.Ti&&b.forEach(function(d){this.Ti.unbind(h.G(d),this.l2,this,!1)}.bind(this)),this.Ti=g)&&(b.forEach(function(d){this.Ti.bind(h.G(d),this.l2,this,!1)}.bind(this)),this.l2())};e.prototype.l2=function(){var g=this.ei.J(m.ya,!0);g.positionX=this.Ti.get("positionX");g.positionY=this.Ti.get("positionY");g.positionZ=this.Ti.get("positionZ");g.bg=this.Ti.get("rotationOrder");g.Se=this.Ti.get("rotationX");g.se=this.Ti.get("rotationY");g.Te=this.Ti.get("rotationZ");g.scale=this.Ti.get("scale");
g.translationX=this.Ti.get("translationX");g.translationY=this.Ti.get("translationY");g.cf=this.Ti.get("translationZ")};e.prototype.dispose=function(){this.Ba&&(this.Ba.traverse(function(g){g.isMesh&&this.sqa(g)}.bind(this)),this.Ba=null);this.ira(null);this.Il(null)};var k=["bakedTextures","model"],b="positionX positionY positionZ rotationOrder rotationX rotationY rotationZ scale translationX translationY translationZ".split(" ");return e});
define("bQ","require oH cy pa fA lc eB kR kf".split(" "),function(a){function e(l){this.o=l;this.o.H(b.Group);l=this.o.getComponent(b.sh);this.ei=l.NO;this.si=new k(l.Mya);this.ye=new k(l.Eo);this.oe=l.Ea;this.be=new d(this.o,this.ei,this.ye,this.si);this.xj=new c(this.o,this.ei,this.ye,this.si);this.Ke=new g(this.o);this.m=new f(this.o,this.ei)}var h=a("oH"),m=a("cy"),k=a("pa"),b=a("fA"),g=a("lc"),d=a("eB"),c=a("kR"),f=a("kf");e.prototype.update=function(){this.be.update();this.xj.update();this.m.update();
this.Ke.update()};e.prototype.frame=function(){this.be.frame();this.xj.frame();this.Ke.frame();this.oe.trigger(new m(h.gA))};e.prototype.dispose=function(){this.Ke&&(this.Ke.dispose(),this.Ke=null);this.be&&(this.be.dispose(),this.be=null);this.xj&&(this.xj.dispose(),this.xj=null);this.m&&(this.m.dispose(),this.m=null);this.ye&&(this.ye.dispose(),this.ye=null);this.oe=this.ei=null};e.Ob=function(l){l.H(b.pt).manager=new e(l)};e.eb=function(l){var p=l.getComponent(b.pt);p.manager.dispose();p.manager=
null;l.ma(b.pt)};e.update=function(l){l.getComponent(b.pt).manager.update()};e.frame=function(l){l.getComponent(b.pt).manager.frame()};return e});
define("kU",["require","lo","ly","fA","bQ"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("bQ");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.wxa.C.length&&this.wxa.C.slice().forEach(k.Ob);this.sZ.Ua.length&&this.sZ.Ua.slice().forEach(k.update);this.sZ.C.length&&this.sZ.C.slice().forEach(k.frame);this.xxa.C.length&&this.xxa.C.slice().forEach(k.eb)};a.K={};a.K.wxa=[m.sh,m.pt.not];a.K.sZ=[m.sh,m.pt];a.K.xxa=[m.sh.not,m.pt];return a});
define("ch",["require","fA","cm"],function(a){function e(k){this.o=k;this.cd=null}var h=a("fA"),m=a("cm");e.prototype.frame=function(){if(!this.cd){var k=this.o.getComponent(h.sE),b=m.yb(k.container);if(this.cd=b&&k.id&&m.kz(b,k.id)||null)this.o.H(h.Object3D).Bc=this.cd,this.o.S.$a()}};e.prototype.update=function(){this.cd&&(this.o.ma(h.Object3D),this.cd=null)};e.prototype.dispose=function(){this.cd&&(this.o.ma(h.Object3D),this.cd=null)};e.Ob=function(k){k.H(h.qt).manager=new e(k)};e.eb=function(k){var b=
k.getComponent(h.qt);b.manager.dispose();b.manager=null;k.ma(h.qt)};e.frame=function(k){k.getComponent(h.qt).manager.frame()};e.update=function(k){k.getComponent(h.qt).manager.update()};return e});
define("hb",["require","lo","ly","fA","ch"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("ch");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.Kxa.C.length&&this.Kxa.C.slice().forEach(k.Ob);this.yZ.Ua.length&&this.yZ.Ua.slice().forEach(k.update);this.yZ.C.length&&this.yZ.C.slice().forEach(k.frame);this.Lxa.C.length&&this.Lxa.C.slice().forEach(k.eb)};a.K={};a.K.Kxa=[m.sE,m.qt.not];a.K.yZ=[m.sE,m.qt];a.K.Lxa=[m.sE.not,m.qt];return a});
define("nO",["require","fA","nE"],function(a){function e(k){this.o=k;this.qB=new THREE.PlaneGeometry;this.wma=this.o.H(h.Object3D).Bc=new THREE.Mesh(this.qB);this.update()}var h=a("fA"),m=a("nE");e.prototype.update=function(){var k=this.o.getComponent(h.Material).material;k&&m.Fv(this.wma,k);this.wma.renderOrder=this.o.getComponent(h.Plane).renderOrder};e.prototype.dispose=function(){this.qB.dispose();this.qB=null};e.Ob=function(k){k.H(h.tt).manager=new e(k)};e.eb=function(k){var b=k.getComponent(h.tt);
b.manager.dispose();b.manager=null;k.ma(h.tt);k.ma(h.Object3D)};e.update=function(k){k.getComponent(h.tt).manager.update()};return e});
define("gW",["require","lo","ly","fA","nO"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("nO");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.KP.C.length&&this.KP.C.slice().forEach(k.Ob);this.planes.Ua.length&&this.planes.Ua.slice().forEach(k.update);this.Fya.C.length&&this.Fya.C.slice().forEach(k.eb);this.Gya.C.length&&this.Gya.C.slice().forEach(k.eb)};a.K={};a.K.KP=[m.Material,m.Plane,m.tt.not];a.K.planes=[m.Plane,m.Material,m.tt];a.K.Fya=[m.Plane.not,m.tt];
a.K.Gya=[m.Material.not,m.tt];return a});
define("hK",["require","fA","cm"],function(a){var e=a("fA"),h=a("cm");return{Ob:function(m){var k=m.getComponent(e.jb),b=h.yb(k.Y);if(b){var g=m.H(e.br);g.parent=b;k.id&&(b=b&&h.kz(b,k.id));g.id=k.id;g.xd=h.yb(m);g.attach=k.attach;b&&g.xd&&(g.attach?b.attach(g.xd):b.add(g.xd))}},update:function(m){var k=m.getComponent(e.jb),b=m.getComponent(e.br),g=h.yb(k.Y),d=h.yb(m);if(b.parent!=g||b.xd!=d||k.id!=b.id||k.attach!=b.attach||d&&g&&!d.parent)b=m.J(e.br),b.xd&&b.xd.parent&&(k.Y.J(e.Object3D),b.xd.parent.remove(b.xd)),
b.parent=g,k.id&&(g=g&&h.kz(g,k.id)),b.id=k.id,b.xd=d,b.attach=k.attach,g&&b.xd&&(b.attach?g.attach(b.xd):g.add(b.xd),(k=m.getComponent(e.ya))&&h.eQ(m,k))},eb:function(m){var k=m.getComponent(e.br);k.xd&&k.xd.parent&&k.xd.parent.remove(k.xd);k.parent=null;k.xd=null;k.id=void 0;m.ma(e.br)}}});
define("mG",["require","lo","ly","fA","hK"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("hK");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.DP.C.length&&this.DP.C.slice().forEach(k.Ob);this.Hq.C.length&&this.Hq.C.slice().forEach(k.update);this.Hq.Ua.length&&this.Hq.Ua.slice().forEach(k.update);this.Hq.de.length&&this.Hq.de.slice().forEach(k.update);this.Dua.C.length&&this.Dua.C.slice().forEach(k.eb);this.Eua.C.length&&this.Eua.C.slice().forEach(k.eb)};a.K=
{};a.K.DP=[m.Object3D,m.jb,m.br.not];a.K.Hq=[m.Object3D,m.jb,m.br];a.K.Dua=[m.Object3D.not,m.jb,m.br];a.K.Eua=[m.jb.not,m.br];return a});
define("df",["require","lo","ly","fA","cm"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("cm");a=e.extend(h,function(){h.apply(this,arguments);this.te=this.te.bind(this);this.Uc=this.Uc.bind(this);this.kD=this.kD.bind(this)});a.prototype.yd=function(){this.Bya.C.length&&this.Bya.C.slice().forEach(this.te);this.Aya.C.length&&this.Aya.C.slice().forEach(this.kD);this.Cya.C.length&&this.Cya.C.slice().forEach(this.Uc);this.Dya.C.length&&this.Dya.C.slice().forEach(this.Uc)};a.prototype.te=function(d){d.H(m.pA)};
a.prototype.Uc=function(d){d.ma(m.pA)};var b=new THREE.Matrix4,g=new THREE.Vector3;a.prototype.kD=function(d){var c=d.getComponent(m.ij),f=d.getComponent(m.ya);if(f){var l=d.getComponent(m.Object3D).Bc;if(l&&l.parent){var p=d.getComponent(m.Lf),q=1E-7;p&&(q=k.iI(d)||q);b.copy(l.parent.matrixWorld).invert();g.setFromMatrixScale(b);l=Math.max(g.x,g.y,g.z);p&&p.Gv&&(q/=l,l=1);p=c.scale*l;void 0!==c.uz&&(p=Math.min(c.uz*q,p));void 0!==c.vz&&(p=Math.max(c.vz*q,p));if(f.scale!=p||f.Gf!=c.Gf||f.Tf!=c.Tf||
f.nh!=c.nh)f=d.J(m.ya),f.scale=p,f.Gf=c.Gf,f.Tf=c.Tf,f.nh=c.nh}}};a.K={};a.K.Bya=[m.Object3D,m.ij,m.pA.not];a.K.Aya=[m.Object3D,m.ij,m.pA];a.K.Cya=[m.Object3D.not,m.pA];a.K.Dya=[m.ij.not,m.pA];return a});
define("dO",["require","oH","fA","cm"],function(a){function e(u){this.o=u;this.NL=new THREE.Vector3;this.Za=new THREE.Vector3;this.b6=this.$c=this.I$=!1;this.Bpa=[];this.update()}var h=a("oH"),m=a("fA"),k=a("cm");e.prototype.update=function(){this.X7=this.o.getComponent(m.Wj).Y};e.prototype.frame=function(){this.jta();this.Dv()};e.prototype.jta=function(){var u=t.filter(function(w){return w.S==this.o.S}.bind(this)),v=this.Bpa;v.filter(function(w){return-1==u.indexOf(w)}).forEach(this.hOa.bind(this));
u.filter(function(w){return-1==v.indexOf(w)}).forEach(this.LDa.bind(this));this.Bpa=u};e.prototype.LDa=function(u){(u=u.getComponent(m.ef))&&u.Ea.bind(h.jc,this.kf,this,!0);u&&u.Ea.bind(h.ac,this.Om,this,!0)};e.prototype.hOa=function(u){(u=u.getComponent(m.ef))&&u.Ea.unbind(h.jc,this.kf,this);u&&u.Ea.unbind(h.ac,this.Om,this)};e.prototype.kf=function(u){if(this.X7&&k.kz(k.yb(this.X7),u.data.objectId)&&"mesh"==u.data.type){var v=this.$c;this.$c=!0;var w=k.yb(this.o);if((w=w&&w.parent)&&w.matrixWorld){var x=
this.o.getComponent(m.Wj);x&&(g.setFromMatrixPosition(w.matrixWorld),d.copy(w.matrixWorld).invert(),c.fromArray(u.data.objectMatrixWorld),b.setFromMatrixPosition(c),f.copy(c).invert(),x.rotate?u.data.normal?this.NL.copy(u.data.normal).applyMatrix4(c).sub(b).add(g):this.NL.copy(u.data.cameraPosition):this.NL.copy(q),this.NL.applyMatrix4(d).normalize(),this.Za.copy(u.data.position).applyMatrix4(d),this.I$=!0,this.o.S.$a(),v||(u=(x=this.o.getComponent(m.Wj))&&x.Ea)&&u.trigger(h.Wc))}}else this.Om()};
var b=new THREE.Vector3,g=new THREE.Vector3,d=new THREE.Matrix4,c=new THREE.Matrix4,f=new THREE.Matrix4;e.prototype.Om=function(){if(this.$c){this.$c=!1;this.o.S.$a();var u=this.o.getComponent(m.Wj);(u=u&&u.Ea)&&u.trigger(h.ac)}};e.prototype.Dv=function(){if(this.I$||this.$c){this.I$=!1;var u=this.o.J(m.ya,!0);u.positionX=0;u.positionY=0;u.positionZ=0;l.setFromUnitVectors(p,this.NL);n.setFromQuaternion(l,u.bg);u.Se=n.x*r;u.se=n.y*r;u.Te=n.z*r;u.translationX=this.Za.x;u.translationY=this.Za.y;u.cf=
this.Za.z;u.easing=this.b6?.4:0;this.b6||(k.eQ(this.o,u),this.b6=!0)}};var l=new THREE.Quaternion,p=new THREE.Vector3(0,0,1),q=new THREE.Vector3(0,1,0),n=new THREE.Euler,r=180/Math.PI;e.prototype.dispose=function(){this.X7=null;this.jta()};e.AZa=function(u){t=u};var t=[];e.Ob=function(u){u.H(m.dr).manager=new e(u)};e.eb=function(u){var v=u.getComponent(m.dr);v.manager.dispose();v.manager=null;u.ma(m.dr)};e.frame=function(u){u.getComponent(m.dr).manager.frame()};e.update=function(u){u.getComponent(m.dr).manager.update()};
return e});
define("is",["require","lo","ly","fA","dO"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("dO");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){k.AZa(this.Kq.C);this.Hya.C.length&&this.Hya.C.slice().forEach(k.Ob);this.PZ.Ua.length&&this.PZ.C.slice().forEach(k.update);this.PZ.C.length&&this.PZ.C.slice().forEach(k.frame);this.Iya.C.length&&this.Iya.C.slice().forEach(k.eb);this.Jya.C.length&&this.Jya.C.slice().forEach(k.eb)};a.K={};a.K.Kq=[m.ef];a.K.Hya=[m.Object3D,m.Wj,
m.dr.not];a.K.PZ=[m.Object3D,m.Wj,m.dr];a.K.Iya=[m.Object3D.not,m.dr];a.K.Jya=[m.Wj.not,m.dr];return a});
define("me","require lo ly fA Z cm".split(" "),function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("Z"),b=a("cm");a=e.extend(h,function(){h.apply(this,arguments);this.te=this.te.bind(this);this.Uc=this.Uc.bind(this);this.Fe=this.Fe.bind(this)});a.prototype.yd=function(){this.Oya.C.length&&this.Oya.C.slice().forEach(this.te);this.Nya.Ua.length&&this.Nya.Ua.slice().forEach(this.Fe);this.Pya.C.length&&this.Pya.C.slice().forEach(this.Uc);this.Qya.C.length&&this.Qya.C.slice().forEach(this.Uc)};a.prototype.te=
function(d){var c=d.getComponent(m.er),f=(c=c&&c.RI)&&b.yb(c),l=b.Mj(c);if(f&&l){var p=d.H(m.wt);p.RI=c;p.wI=new k.em;p.material=this.Yt(p.wI);p.Bc=this.NFa(f,p.material);p.QI=this.RGa(p.material);p.encoding=b.gP(l);this.MDa(c,p.QI);d.H(m.Object3D).Bc=p.Bc;this.Fe(d)}};a.prototype.Yt=function(d){d=k.create(d);d.polygonOffset=!0;d.polygonOffsetUnits=1;d.polygonOffsetFactor=-10;d.needsUpdate=!0;return d};a.prototype.NFa=function(d,c){var f=new Map;d.traverse(function(r){if(r.material&&r.userData){var t=
{};r.material&&(t.material=r.material,r.material=c);r.userData&&(t.userData=r.userData,r.userData={});f.set(r,t)}}.bind(this));var l=d.clone();f.forEach(function(r,t){r.material&&(t.material=r.material);r.userData&&(t.userData=r.userData)});for(d=[[d,l]];d.length;){var p=d.shift(),q=p[0];p=p[1];q.ge&&(p.ge=q.ge);for(var n=0;n<q.children.length;n++)d.push([q.children[n],p.children[n]])}return l};a.prototype.RGa=function(d){return new THREE.Mesh(new THREE.BoxGeometry(2,2,2),d)};a.prototype.MDa=function(d,
c){d=b.Mj(d);b.Zta(d&&b.Ms(d),c)};a.prototype.Fe=function(d){var c=d.getComponent(m.er);d=d.getComponent(m.wt);var f=d.wI;c.l_?(f.Bi.image!=c.l_&&(f.Bi&&f.Bi.dispose(),f.Bi=new THREE.CubeTexture,f.Bi.image=c.l_,f.Bi.encoding=d.encoding,f.Bi.needsUpdate=!0),f.pQ=c.pQ,f.qQ=c.qQ,f.rQ=c.rQ,f.qea=c.o_a,f.lw=!0):f.lw=!1;c.o_?(f.Ci.image!=c.o_&&(f.Ci&&f.Ci.dispose(),f.Ci=new THREE.CubeTexture,f.Ci.image=c.o_,f.Ci.encoding=d.encoding,f.Ci.needsUpdate=!0),f.targetX=c.targetX,f.targetY=c.targetY,f.uQ=c.uQ,
f.wea=c.E_a,f.mw=!0):f.mw=!1;f.position=c.position;b.yb(c.RI).visible=f.lw&&f.mw||f.lw&&0>=f.position||f.mw&&1<=f.position?!1:!0;k.update(d.material,f)};var g=new THREE.MeshBasicMaterial;a.prototype.Uc=function(d){var c=d.getComponent(m.wt);b.yb(c.RI).visible=!0;c.Bc&&c.Bc.traverse(function(f){f.material==c.material&&(f.material=g)});c.QI&&(b.Wya(c.QI.parent,c.QI),c.QI=null);c.material&&(c.wI.Bi.dispose(),c.wI.Ci.dispose(),c.wI=null,c.material.dispose(),c.material=null);d.ma(m.wt);d.ma(m.Object3D)};
a.K={};a.K.Oya=[m.er,m.wt.not];a.K.Nya=[m.er,m.Object3D,m.wt];a.K.Pya=[m.er.not,m.wt];a.K.Qya=[m.Object3D.not,m.wt];return a});define("gc",["require","ht"],function(a){return a("ht")});
define("eM",["require","fA","oj","bF"],function(a){function e(b){this.o=b;this.enabled=!1;this.wm=null;this.ku=0;this.passes=[];this.xi=this.yi=!1;this.Ue=null;this.ua=this.ia=100}var h=a("fA"),m=a("oj"),k=a("bF");e.prototype.dispose=function(){this.Ue&&(this.Ue.saoRenderTarget.dispose(),this.Ue.blurIntermediateRenderTarget.dispose(),this.Ue.beautyRenderTarget.dispose(),this.Ue.normalRenderTarget.dispose(),this.Ue.depthRenderTarget.dispose(),this.Ue.depthMaterial.dispose(),this.Ue.normalMaterial.dispose(),
this.Ue.saoMaterial.dispose(),this.Ue.vBlurMaterial.dispose(),this.Ue.hBlurMaterial.dispose(),this.Ue.materialCopy.dispose(),this.Ue.depthCopy.dispose(),this.Ue=null)};e.prototype.update=function(b,g,d,c,f){var l=this.o.getComponent(h.cE),p=!!l;if(this.yi=this.enabled!=p)(this.enabled=p)?(!this.Ue&&b&&g&&(this.Ue=new THREE.SAOPass(b,g,!1,!0)),this.wm=new m("linear",[new k("alpha",0,1,void 0)],l.Xua),this.ku=0,this.passes=[this.Ue],this.xi=!0):(this.passes=[],this.xi=!1);this.enabled&&(this.wm&&(this.wm.zb(f),
this.ku=this.wm.cb("alpha"),1==this.ku&&(this.wm=null),this.o.S.$a()),null!==l.output&&(this.Ue.params.output=l.output),this.Ue.params.saoBias=l.bias/l.scale,this.Ue.params.saoIntensity=this.ku*l.intensity,this.Ue.params.saoScale=l.scale,this.Ue.params.saoKernelRadius=l.Wwa,this.Ue.params.saoMinResolution=l.uxa/1E3,this.Ue.params.saoBlur=0<l.rba,this.Ue.params.saoBlurRadius=l.rba,this.Ue.params.saoBlurStdDev=8,this.Ue.params.saoBlurDepthCutoff=.01,(this.ia!=d||this.ua!=c)&&this.Ue.setSize(this.ia=
d,this.ua=c))};return e});
define("r",["require","fA"],function(a){function e(m){this.o=m;this.enabled=!1;this.passes=[];this.xi=this.yi=!1;this.lr=null}var h=a("fA");e.prototype.dispose=function(){this.lr&&(this.lr.material.dispose(),this.lr=null)};e.prototype.update=function(m,k,b,g){m=this.o.getComponent(h.Mz);m=!!m&&m.qva;if(this.yi=this.enabled!=m)(this.enabled=m)?(this.lr||(this.lr=new THREE.ShaderPass(THREE.FXAAShader),this.lr.needsSwap=!0),this.passes=[this.lr],this.xi=!0):(this.passes=[],this.xi=!1);!this.enabled||
this.ia==b&&this.ua==g||(this.ia=b,this.ua=g,this.lr.material.uniforms.resolution.value.x=1/this.ia,this.lr.material.uniforms.resolution.value.y=1/this.ua,this.lr.setSize(b,g))};return e});
define("ow",["require","nz","fA"],function(a){function e(b){this.o=b;this.enabled=!1;this.passes=[];this.xi=this.yi=!1;this.Tt=null;this.wb=this.wc=void 0}var h=a("nz"),m=a("fA");e.prototype.dispose=function(){this.Tt&&(this.Tt.material.dispose(),this.Tt=null)};e.prototype.update=function(){var b=this.o.getComponent(m.KQ),g=!!b&&0<b.opacity;if(this.yi=this.enabled!=g)(this.enabled=g)?(this.Tt||(this.Tt=new THREE.ShaderPass(k),this.Tt.needsSwap=!0),this.passes=[this.Tt],this.xi=!0):(this.passes=[],
this.xi=!1);this.enabled&&(this.wb!==b.opacity&&(this.wb=b.opacity,this.Tt.uniforms.opacity.value=this.wb),this.wc!==b.color&&(this.wc=b.color,this.Tt.uniforms.color.value=new THREE.Color(h.YD(this.wc))))};var k={uniforms:{tDiffuse:{value:null},opacity:{value:.5},color:{value:new THREE.Color(0)}},vertexShader:"varying vec2 vUv;\nvoid main() {\n    vUv = uv;\n    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform vec3 color;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n    vec4 texel = texture2D(tDiffuse, vUv);\n    float composedAlpha = opacity + texel.a * (1.0 - opacity);\n    if (composedAlpha > 0.0)\n    {\n        vec3 rgb = (color * opacity + texel.rgb * texel.a * (1.0 - opacity)) / composedAlpha;\n        gl_FragColor = vec4(rgb, composedAlpha);\n    }\n    else\n    {\n        gl_FragColor = texel;\n    }\n}"};
return e});
define("fW",["require","fA"],function(a){function e(m){this.o=m;this.enabled=!1;this.wm=null;this.ku=0;this.passes=[];this.xi=this.yi=!1;this.Ui=null;this.E8=new THREE.Matrix4;this.G8=new THREE.Matrix4;this.D8=new THREE.Vector3}var h=a("fA");e.prototype.dispose=function(){this.Ui&&(this.Ui.dispose(),this.Ui=null)};e.prototype.update=function(m,k){var b=this.o.getComponent(h.jJ),g=!!b;if(this.yi=this.enabled!=g)(this.enabled=g)?(!this.Ui&&m&&k&&(this.Ui=new THREE.MotionBlurPass,this.Ui.needsSwap=!0,
this.E8.copy(k.matrixWorldInverse),this.G8.copy(k.projectionMatrix),this.D8.copy(k.position)),this.passes=[this.Ui],this.xi=!0):(this.passes=[],this.xi=!1);this.enabled&&(this.Ui.uniforms.inverseProjectionMatrix.value.copy(k.projectionMatrix).invert(),this.Ui.uniforms.near.value=k.near,this.Ui.uniforms.far.value=k.far,this.Ui.uniforms.depthLimit.value=.99,this.Ui.uniforms.clipToWorldMatrix.value.copy(k.matrixWorld).multiply(this.Ui.uniforms.inverseProjectionMatrix.value),this.Ui.uniforms.previousWorldToClipMatrix.value.copy(this.G8).multiply(this.E8),
this.Ui.uniforms.cameraMove.value.copy(k.position).sub(this.D8),this.Ui.uniforms.velocityFactor.value=b.intensity,this.Ui.uniforms.samples.value=b.fza);this.E8.copy(k.matrixWorldInverse);this.G8.copy(k.projectionMatrix);this.D8.copy(k.position)};return e});
define("eF",["require","nz","fA"],function(a){function e(m){this.o=m;this.enabled=!0;this.passes=[];this.Xca=this.xi=this.yi=!1;this.KW=void 0;this.Ah=this.jg=this.Ek=null}a("nz");var h=a("fA");e.prototype.dispose=function(){this.Ek&&(this.Ek.dispose(),this.Ek=null);this.jg&&(this.jg=null);this.Ah&&(this.Ah.material.dispose(),this.Ah=null)};e.prototype.update=function(m,k,b,g,d,c){d=this.o.getComponent(h.Mz);c=!!d&&d.jAa&&c;if(this.yi=this.KW!==c)(this.KW=c)?(this.Ek||(this.Ek=new THREE.SSAARenderPass(m,
k),this.Ek.sampleLevel=d.sQ,this.Ek.needsSwap=!0,this.Ek.clear=!0,this.Ek.clearColor=65793,this.Ek.clearAlpha=0),this.Ah||(this.Ah=new THREE.ShaderPass(THREE.CopyShader),this.Ah.needsSwap=!0),this.passes=[this.Ek,this.Ah],this.Xca=this.xi=!0):(this.jg||(this.jg=new THREE.RenderPass,this.jg.clear=!0,this.jg.clearColor=65793,this.jg.clearAlpha=0),this.passes=[this.jg],this.Xca=this.xi=!1);this.KW?(this.Ek.scene=m,this.Ek.camera=k,this.Ek.sampleLevel=d.sQ,this.Ah.uniforms.opacity.value=Math.pow(2,Math.round(5<
d.sQ?5:d.sQ)),this.Ek.setSize(b,g)):(this.jg.scene=m,this.jg.camera=k,this.jg.setSize(b,g))};return e});
define("nr",["require","nz","fA"],function(a){function e(b){this.o=b;this.enabled=!1;this.passes=[];this.xi=this.yi=!1;this.xq=null;this.wc=void 0}var h=a("nz"),m=a("fA");e.prototype.dispose=function(){this.xq&&(this.xq.material.dispose(),this.xq=null)};e.prototype.update=function(){var b=this.o.getComponent(m.xE),g=!!b;if(this.yi=this.enabled!=g)(this.enabled=g)?(this.xq||(this.xq=new THREE.ShaderPass(k),this.xq.needsSwap=!0),this.passes=[this.xq],this.xi=!0):(this.passes=[],this.xi=!1);this.enabled&&
(this.xq.uniforms.innerRadius.value=b.Fwa,this.xq.uniforms.outerRadius.value=b.wya,this.xq.uniforms.opacity.value=b.opacity,this.wc!==b.color&&(this.wc=b.color,this.xq.uniforms.color.value=new THREE.Color(h.YD(this.wc))))};var k={uniforms:{tDiffuse:{value:null},innerRadius:{value:.5},outerRadius:{value:.5},opacity:{value:.5},color:{value:new THREE.Color(0)}},vertexShader:"varying vec2 vUv;\nvoid main() {\n    vUv = uv;\n    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",
fragmentShader:"uniform float innerRadius;\nuniform float outerRadius;\nuniform float opacity;\nuniform vec3 color;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n    vec4 texel = texture2D(tDiffuse, vUv);\n    vec2 uv = vUv - vec2(0.5, 0.5);\n    float radius = sqrt(dot(uv, uv)) * 1.4142135623730951;\n    float coef = clamp((radius - innerRadius) / (outerRadius - innerRadius), 0.0, 1.0);\n    float alpha = opacity * coef;\n    float composedAlpha = alpha + texel.a * (1.0 - alpha);\n    if (composedAlpha > 0.0)\n    {\n        vec3 rgb = (color * alpha + texel.rgb * texel.a * (1.0 - alpha)) / composedAlpha;\n        gl_FragColor = vec4(rgb, composedAlpha);\n    }\n    else\n    {\n        gl_FragColor = texel;\n    }\n}"};
return e});
define("gN","require eM r ow fW eF nr cm".split(" "),function(a){function e(f){this.pd=f;this.Fa=this.Ca=this.Nf=null;this.ua=this.ia=void 0;this.Ah=this.Ar=this.j=this.JG=null;this.ES=[new g(f),new h(f),new b(f),new d(f),new m(f),new k(f)];this.uU=!1}var h=a("eM"),m=a("r"),k=a("ow"),b=a("fW"),g=a("eF"),d=a("nr"),c=a("cm");e.prototype.dispose=function(){this.j&&(this.j.domElement.style.backgroundColor=void 0);for(;this.ES.length;)this.ES.pop().dispose();this.vja();this.Ar&&(this.Ar.material.dispose(),this.Ar=
null);this.Ah&&(this.Ah.material.dispose(),this.Ah=null)};e.prototype.setSize=function(f,l){if(this.ia!=f||this.ua!=l)this.ia=f,this.ua=l,this.Nf&&this.Nf.setSize(this.ia,this.ua),this.j&&this.j.setSize(this.ia,this.ua)};e.prototype.KI=function(f){this.Fa=f};e.prototype.setCamera=function(f){this.Ca=f};e.prototype.setRenderTarget=function(f){this.JG!=f&&(this.JG=f,this.Nf&&(this.Nf.reset(f||void 0),this.Nf.renderToScreen=!f))};e.prototype.EZa=function(f){this.j!=f&&(this.j=f,this.j.setSize(this.ia,
this.ua),this.vja())};e.prototype.render=function(f){this.bQa();this.gSa(f);this.j.domElement.style.backgroundColor=this.uU?"#000000":void 0;this.Nf.render()};e.prototype.bQa=function(){this.Nf||(this.Nf=new THREE.EffectComposer(this.j,this.JG||void 0),this.Nf.renderToScreen=!this.JG,this.Nf.setSize(this.ia,this.ua))};e.prototype.gSa=function(f){var l=!1,p=!1;this.uU=!1;this.ES.forEach(function(n){n.update(this.Fa,this.Ca,this.ia,this.ua,f,this.Nf.renderToScreen);l||(l=n.yi);p||(p=n.xi);this.uU||
(this.uU=n.Xca)}.bind(this));p=p&&this.j.outputEncoding==THREE.sRGBEncoding&&this.Nf.renderToScreen;c.JZa(this.Fa,p);p&&!this.Ar?(this.Ar=new THREE.ShaderPass(THREE.GammaCorrectionShader),l=this.Ar.needsSwap=!0):this.Ar&&(this.Ar.enabled=p);this.Nf.renderToScreen||this.Ah?this.Ah&&(this.Ah.enabled=!this.Nf.renderToScreen):(this.Ah=new THREE.ShaderPass(THREE.CopyShader),l=this.Ah.needsSwap=!0);if(l){var q=[];this.ES.forEach(function(n){q=q.concat(n.passes)});this.Ar&&q.push(this.Ar);for(this.Ah&&q.push(this.Ah);0<
this.Nf.passes.length;)this.Nf.removePass(this.Nf.passes[this.Nf.passes.length-1]);q.forEach(function(n){this.Nf.addPass(n)}.bind(this))}};e.prototype.vja=function(){this.Nf&&(this.Nf.renderTarget1!=this.JG&&this.Nf.renderTarget1.dispose(),this.Nf.renderTarget2!=this.JG&&this.Nf.renderTarget2.dispose(),this.Nf=null)};return e});
define("dc","require oH v fA cm gN".split(" "),function(a){function e(d){this.bw=d;this.opacity=0;this.height=this.width=void 0;this.renderTarget=null;this.Fa=void 0;this.Dqa=!1;this.Cqa=!0;this.Ca=void 0;this.wC=!1;this.cV=void 0;this.sc=new g(d);this.update()}var h=a("oH"),m=a("v"),k=a("fA"),b=a("cm"),g=a("gN");e.prototype.update=function(){var d=this.bw.getComponent(k.Scene);this.opacity=d&&d.opacity||0;this.Dqa=d?d.locked:!1;this.Cqa=d?d.enabled:!0;var c=d&&d.scene;this.Fa!=c&&(this.Fa=c,this.wC=
!0,this.sc.KI(this.Fa));var f=(c=(c=d&&d.ke)&&(c.getComponent(k.OrthographicCamera)||c.getComponent(k.PerspectiveCamera)))&&c.width,l=c&&c.height;if(this.width!=f||this.height!=l)this.width=f,this.height=l,this.wC=!0,this.sc.setSize(this.width,this.height);d=d&&"srgb"==d.outputEncoding?THREE.sRGBEncoding:THREE.LinearEncoding;this.cV!=d&&(this.cV=d,this.wC=!0,b.IZa(this.Fa,d));d=c&&c.camera;this.Ca!=d&&(this.Ca=d,this.wC=!0,this.sc.setCamera(this.Ca));this.Fa&&(b.HZa(this.Fa,this.Ca),b.KZa(this.Fa,
this.width,this.height));return this};e.prototype.render=function(d,c,f){(c||this.wC||!this.Dqa)&&this.Cqa&&(window.stats&&window.stats.begin(),c?(d.setRenderTarget(null),this.wC=!0):(this.renderTarget||(this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,type:THREE.HalfFloatType,samples:d.capabilities.isWebGL2?m.kb()?2:8:0}),this.renderTarget.depthTexture=new THREE.DepthTexture),d.setRenderTarget(this.renderTarget),
this.renderTarget.texture.encoding=this.cV,this.wC=!1),d.outputEncoding=this.cV,this.sc.setRenderTarget(c?null:this.renderTarget),this.sc.EZa(d),this.sc.render(f),(d=this.bw.getComponent(k.Scene))&&d.Ea&&d.Ea.trigger(h.gA),window.stats&&window.stats.end())};e.prototype.isVisible=function(){return this.Fa&&this.Ca&&0<this.opacity};e.prototype.dispose=function(){this.Ca=this.Fa=this.bw=null;this.sc&&(this.sc.dispose(),this.sc=null);this.renderTarget&&(this.renderTarget.dispose(),this.renderTarget=null)};
return e});
define("fG",["require","mv","fA","gc","dc"],function(a){function e(d){this.o=d;this.gv=[];this.YPa();this.WPa()}var h=a("mv"),m=a("fA"),k=a("gc"),b=a("dc");e.prototype.frame=function(d){var c=this.o.getComponent(m.th),f=c.UP.map(this.OJa.bind(this));this.gv.filter(function(q){return 0>f.indexOf(q)}).forEach(function(q){q.dispose()});this.gv=f;var l=this.gv.filter(function(q){return q.isVisible()});if(0<l.length){this.j.shadowMap.enabled=c.shadowMap;var p=1==l.length&&1<=l[0].opacity;l.forEach(function(q){q.render(this.j,p,
d)}.bind(this));p||this.mOa(l.slice(0,2))}};e.prototype.OJa=function(d){for(var c=0;c<this.gv.length;c++)if(this.gv[c].bw==d)return this.gv[c].update();return new b(d)};e.prototype.mOa=function(d){this.rm.material.uniforms.t1.value=d[0].renderTarget.texture;this.rm.material.uniforms.o1.value=d[0].opacity;1<d.length?(this.rm.material.uniforms.useT2.value=1,this.rm.material.uniforms.t2.value=d[1].renderTarget.texture,this.rm.material.uniforms.o2.value=d[1].opacity):this.rm.material.uniforms.useT2.value=
0;this.j.setSize(d[0].width,d[0].height);this.j.setRenderTarget(null);this.j.setClearColor(0,0);this.j.clear();this.j.render(this.xR,this.Zha)};e.prototype.dispose=function(){for(;this.gv.length;)this.gv.shift().dispose();this.gv=null;this.VQa();this.XQa()};var g=[];e.prototype.YPa=function(){var d=this.o.J(m.th);if(0<g.length)var c=g.pop();else{c=document.createElement("canvas");var f=k.qUa(c);f||(f=k.Bba(c,!0));c=new THREE.WebGLRenderer({alpha:!0,canvas:c,context:f});c.setPixelRatio(k.getPixelRatio());
c.autoClear=!1;c.debug.checkShaderErrors=h.dJ;c.shadowMap.type=THREE.PCFShadowMap}d.renderer=this.j=c;d.canvas=this.j.domElement;d.WH.append(d.canvas)};e.prototype.XQa=function(){this.j.domElement.parentNode.removeChild(this.j.domElement);var d=this.j;d.setSize(1,1);g.push(d);this.j=null};e.prototype.WPa=function(){this.xR=new THREE.Scene;this.Zha=new THREE.OrthographicCamera(window.innerWidth/-2,window.innerWidth/2,window.innerHeight/2,window.innerHeight/-2,-10,10);this.rm=new THREE.Mesh(new THREE.PlaneGeometry(window.innerWidth,
window.innerHeight),this.dGa());this.xR.add(this.rm)};e.prototype.VQa=function(){this.xR.remove(this.rm);this.rm.geometry.dispose();this.rm.geometry=null;this.rm.material.dispose();this.xR=this.Zha=this.rm=this.rm.material=null};e.prototype.dGa=function(){var d=new THREE.ShaderMaterial({uniforms:{t1:{value:null},t2:{value:null},o1:{value:1},o2:{value:1},useT2:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\nvUv = vec2( uv.x, uv.y );\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",
fragmentShader:"uniform sampler2D t1;\nuniform sampler2D t2;\nuniform float o1;\nuniform float o2;\nuniform int useT2;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel1 = texture2D(t1, vUv);\n   texel1.a = texel1.a * o1;\n   if (useT2 == 1) {\n\t  vec4 texel2 = texture2D(t2, vUv);\n     texel2.a = texel2.a * o2;\n     gl_FragColor = mix(texel1, texel2, texel2.a);\n   } else {\n     gl_FragColor = texel1;\n   }\n  #include <encodings_fragment>\n}"});d.transparent=!0;return d};e.Ob=function(d){d.H(m.gr).manager=
new e(d)};e.eb=function(d){var c=d.getComponent(m.gr);c.manager.dispose();c.manager=null;d.ma(m.gr)};e.update=function(d){d.getComponent(m.gr).manager.update()};e.frame=function(d,c,f){d.getComponent(m.gr).manager.frame(c,f)};return e});
define("lu",["require","lo","ly","fA","fG"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("fG");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(b,g){this.bza.C.length&&this.bza.C.slice().forEach(k.Ob);this.WZ.C.length&&this.WZ.C.slice().forEach(function(d){k.frame(d,b,g)});this.cza.C.length&&this.cza.C.slice().forEach(k.eb)};a.K={};a.K.bza=[m.th,m.gr.not];a.K.cza=[m.th.not,m.gr];a.K.WZ=[m.th,m.gr];return a});
define("jO","require lo oH gi dk cm hT ll".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("gi"),k=a("dk"),b=a("cm"),g=a("hT"),d=a("ll");a=e.extend(m,function(f,l){m.call(this);this.Fd=f;this.Fa=l;this.wa=new k;this.wa.MI([this.Fd]);this.wa.bind(h.Z,this.nd,this,!1);this.wa.bind(h.tc,this.Pf,this,!1);this.Lc=null;this.wb=0;d.ln(this.wa,g.lA)});a.prototype.fj=function(f){this.wb!==f&&(this.wb=f,this.Lc&&(this.Lc.material.opacity=this.wb,this.Lc.material.visible=0<this.wb,this.Lc.material.needsUpdate=
!0))};a.prototype.dj=function(){return!!this.Lc};a.prototype.nd=function(){this.SGa();this.trigger(h.Z)};a.prototype.Pf=function(){this.trigger(h.tc)};a.prototype.SGa=function(){var f=new THREE.Texture;f.image=d.sf(this.Fd);f.generateMipmaps=!0;f.minFilter=THREE.LinearMipMapLinearFilter;f.needsUpdate=!0;f=new THREE.SpriteMaterial({map:f});f.sizeAttenuation=!1;f.transparent=!0;f.visible=0<this.wb;f.opacity=this.wb;this.Lc=new THREE.Sprite(f);this.Lc.renderOrder=-1E3};a.prototype.update=function(){if(this.Lc){var f=
b.Ms(this.Fa);this.Lc.parent!=f&&(this.Lc.parent&&b.Vya(this.Lc.parent,this.Lc),f&&b.vTa(f,this.Lc));if(f){var l=b.kI(this.Fa),p=this.Lc.material.map.image.width,q=this.Lc.material.map.image.height;f=l/(2*Math.tan(f.fov*c/2));l=Math.max(l/f,b.LY(this.Fa)/(f*p/q));this.Lc.scale.y!=l&&(this.Lc.scale.y=l,this.Lc.scale.x=l*p/q)}p=b.gP(this.Fa);this.Lc.material.map.encoding!=p&&(this.Lc.material.map.encoding=p,this.Lc.material.needsUpdate=!0)}};a.prototype.dispose=function(){this.Lc&&(this.Lc.parent&&
b.Vya(this.Lc.parent,this.Lc),this.Lc.material.map.dispose(),this.Lc.material.dispose(),this.Lc=null);this.wa&&d.gj(this.wa,g.lA)};var c=Math.PI/180;return a});
define("bI","require oH fA jO oj bF".split(" "),function(a){function e(d,c){this.o=d;this.Lg=c;this.Kt=void 0;this.ji=this.pm=this.V=this.Fa=null;this.update()}var h=a("oH"),m=a("fA"),k=a("jO"),b=a("oj"),g=a("bF");e.prototype.frame=function(d){this.V&&this.SC(d);this.pm&&this.pm.update();this.ji&&this.ji.update()};e.prototype.update=function(){var d=this.o.getComponent(m.Scene);this.Fa=d.scene;if(!this.Fa){if(!d.scene)return;this.Fa=d.scene}d=d.mba||null;this.Kt===d||this.V||(this.nK(this.ji),this.ji=
null,(this.Kt=d)?this.ji=this.cGa(this.Kt):(this.mx(),this.Lg.trigger(h.Z)))};e.prototype.SC=function(d){this.V.zb(d);this.pm&&this.pm.fj(Math.min(1,Math.max(0,this.V.cb("alpha"))));this.ji&&this.ji.fj(Math.min(1,Math.max(0,this.V.cb("nextAlpha"))));this.V.Re()&&(this.V=null,this.pm&&(this.nK(this.pm),this.pm=null),this.pm=this.ji,this.ji=null,this.update());this.o.S.$a()};e.prototype.O7=function(){this.ji.unbind(h.Z,this.O7,this,!0);this.ji.unbind(h.tc,this.P7,this,!0);this.mx();this.Lg.trigger(h.Z)};
e.prototype.P7=function(){this.nK(this.ji);this.ji=null;this.mx();this.Lg.trigger(h.Z)};e.prototype.mx=function(){this.ji&&this.pm?this.V=new b("linear",[new g("nextAlpha",0,2,void 0),new g("alpha",2,0,void 0)],600):this.ji?this.V=new b("linear",[new g("nextAlpha",0,1,void 0)],300):this.pm&&(this.V=new b("linear",[new g("alpha",1,0,void 0)],300));this.o.S.$a()};e.prototype.cGa=function(d){d=new k(d,this.Fa);this.BEa(d);d.fj(0);return d};e.prototype.nK=function(d){d&&(this.HRa(d),d.dispose())};e.prototype.BEa=
function(d){d.bind(h.Z,this.O7,this,!0);d.bind(h.tc,this.P7,this,!0)};e.prototype.HRa=function(d){d.unbind(h.Z,this.O7,this,!0);d.unbind(h.tc,this.P7,this,!0)};e.prototype.dispose=function(){this.pm&&(this.nK(this.pm),this.pm=null);this.ji&&(this.nK(this.ji),this.ji=null)};return e});
define("lx","require oH hT nz pa fA cm ku".split(" "),function(a){function e(f,l){this.o=f;this.gW=this.SG=this.QG=this.Uw=this.HA=this.Kt=this.iB=void 0;this.Ca=this.j=this.Fa=null;this.Lg=l;this.ye=new b(this.Lg);this.md=[new c(m.lA),new c(m.lA)];this.md.forEach(function(p){p.bind(h.Z,this.nd,this,!0);p.bind(h.tc,this.Pf,this,!0)}.bind(this));this.vra([]);this.update()}var h=a("oH"),m=a("hT"),k=a("nz"),b=a("pa"),g=a("fA"),d=a("cm"),c=a("ku");e.prototype.frame=function(){!this.j&&this.Fa&&(this.j=
e.BVa(this.o.S,this.Fa))&&(this.ea(),this.laa())};e.prototype.update=function(){var f=this.o.getComponent(g.Scene),l=!1,p=!1,q=f.bva||null;this.iB!==q&&(this.iB=q,p=!0);q=f.mba||null;this.Kt!==q&&(this.Kt=q,p=!0);q=f.oua||null;this.HA!==q&&(this.HA=q,p=!0);p&&(this.xta(),this.laa(),l=!0);this.Uw!==f.backgroundColor&&(this.Uw=f.backgroundColor,l=!0);this.Fa!==f.scene&&(this.Fa=f.scene,l=!0);l&&this.ea()};e.prototype.xta=function(){this.vra(this.bKa())};e.prototype.bKa=function(){var f=[];this.iB&&
-1==f.indexOf(this.iB)&&f.push(this.iB);!this.Kt&&this.HA&&-1==f.indexOf(this.HA)&&f.push(this.HA);if(this.Fa&&this.Fa.background&&this.Fa.background.image&&this.Fa.background.image.src){var l=this.Fa.background.image.src;-1==f.indexOf(l)&&f.push(l)}return f};e.prototype.vra=function(f){var l=[],p=[];this.md.forEach(function(q){var n=q.wi();0>f.indexOf(n)?(q.cancel(),l.push(q)):p.push(n)});f.forEach(function(q){0>p.indexOf(q)&&l.shift().load(q)})};e.prototype.laa=function(){var f=0;this.ye.Gua();
this.md.forEach(function(l){l.wi()&&!l.dj()&&(this.ye.FH(l),f++)}.bind(this));0==f&&this.Lg&&this.Lg.trigger(h.Z)};e.prototype.dispose=function(){this.md.forEach(function(f){f.cancel();f.unbind(h.Z,this.nd,this,!0);f.unbind(h.tc,this.Pf,this,!0)}.bind(this));this.o&&(this.U3(),this.xx(),this.o=null)};e.prototype.nd=function(){this.ea();this.laa()};e.prototype.ea=function(){if(this.Fa&&this.j){if(this.iB){var f=this.Xka(this.iB);f&&this.dEa(f)}else this.U3();this.Kt?this.xx():this.HA?(f=this.Xka(this.HA))&&
this.Jha(f):this.Uw?this.Jha(void 0,this.Uw):this.xx();this.xta();this.o.S.$a()}};e.prototype.Xka=function(f){for(var l=0;l<this.md.length;l++)if(this.md[l].dj()&&this.md[l].wi()==f)return this.md[l];return null};e.prototype.pp=function(f,l){return 6>Math.round(f.rd()/f.ee())?this.rGa(f,l):this.mGa(f,l)};e.prototype.rGa=function(f,l){var p=new THREE.Texture;p.image=f.sf();p.encoding=d.gP(this.Fa);p.mapping=THREE.EquirectangularReflectionMapping;p.needsUpdate=!0;return l?(f=new THREE.PMREMGenerator(this.j),
p=f.fromEquirectangular(p).texture,f.dispose(),p):p};e.prototype.Jha=function(f,l){if(this.Fa){if(f){var p=f&&f.wi()||void 0;if(p==this.SG)return;this.xx();d.h_(this.Fa,this.pp(f,!1));this.SG=p;this.QG=void 0}l&&l!=this.QG&&(this.xx(),d.h_(this.Fa,"transparent"==l?null:new THREE.Color(k.YD(l))),this.QG=l,this.SG=void 0)}};e.prototype.xx=function(){this.Fa&&(this.QG||this.SG)&&(this.SG&&(this.Fa.background.dispose(),d.h_(this.Fa,null),this.SG=void 0),this.QG&&(d.h_(this.Fa,null),this.QG=void 0))};
e.prototype.dEa=function(f){if(this.Fa){var l=f&&f.wi()||void 0;l!=this.gW&&(this.U3(),this.Fa.environment=this.pp(f,!0),this.gW=l)}};e.prototype.U3=function(){this.Fa&&this.gW&&(this.Fa.environment.dispose(),this.Fa.environment=null,this.gW=void 0)};e.prototype.mGa=function(f,l){for(var p=Array(6),q=f.rd()/6,n=f.ee(),r=0;6>r;r++){var t=document.createElement("canvas");t.width=q;t.height=n;t.getContext("2d").drawImage(f.sf(),r*q,0,q,n,0,0,q,n);p[r]=t}f=new THREE.CubeTexture;f.images=[p[1],p[3],p[4],
p[5],p[0],p[2]];f.encoding=d.gP(this.Fa);f.needsUpdate=!0;return l?(l=new THREE.PMREMGenerator(this.j),p=l.fromCubemap(f).texture,l.dispose(),p):f};e.prototype.Pf=function(){this.o.getComponent(g.Scene).scene.environment=null;this.o.S.$a()};e.kqa=new Map;e.bea=function(f,l){e.kqa.set(f,l||[])};e.BVa=function(f,l){f=e.kqa.get(f)||[];for(var p=0;p<f.length;p++){var q=f[p].getComponent(g.th);if(q&&0<q.UP.filter(function(n){return n.getComponent(g.Scene).scene==l}).length)return q.renderer}return null};
return e});
define("hC",["require","fA","pa","bI","lx"],function(a){function e(g){this.o=g;this.Lg=null;var d=this.o.J(h.Scene),c=this.o.J(h.ir);this.o.H(h.Object3D).Bc=c.scene=d.scene=new THREE.Scene;this.ye=new m;this.vK=new b(g,this.ye.gz());this.ie=new k(g,this.ye.gz())}var h=a("fA"),m=a("pa"),k=a("bI"),b=a("lx");e.prototype.frame=function(g){this.vK.frame(g);this.ie.frame(g)};e.prototype.update=function(){this.vK.update();this.ie.update();this.pSa()};e.prototype.pSa=function(){var g=this.o.getComponent(h.Scene);this.Lg!=
g.Lba&&(this.Lg=g.Lba,this.ye.KYa(this.Lg))};e.prototype.dispose=function(){this.ye&&(this.ye.dispose(),this.ye=null);this.ie&&(this.ie.dispose(),this.ie=null);this.vK&&(this.vK.dispose(),this.vK=null);this.o&&(this.o=null)};e.Ob=function(g){g.H(h.ir).manager=new e(g)};e.eb=function(g){var d=g.getComponent(h.ir);d.manager.dispose();d.manager=null;g.ma(h.ir);g.ma(h.Object3D)};e.frame=function(g,d){g.getComponent(h.ir).manager.frame(d)};e.update=function(g){g.getComponent(h.ir).manager.update()};e.bea=
function(g,d){b.bea(g,d)};return e});
define("eU",["require","lo","ly","fA","hC"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("hC");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(b){this.hza.C.length&&this.hza.C.slice().forEach(k.Ob);this.scenes.Ua.length&&this.scenes.Ua.slice().forEach(k.update);this.scenes.C.length&&this.scenes.C.slice().forEach(function(g){k.frame(g,b)});k.bea(this.S,this.WZ.C.slice());this.iza.C.length&&this.iza.C.slice().forEach(k.eb)};a.K={};a.K.hza=[m.Scene,m.ir.not];a.K.scenes=
[m.Scene,m.ir];a.K.iza=[m.Scene.not,m.ir];a.K.WZ=[m.th,m.gr];return a});
define("eA",["require","v"],function(a){function e(d){this.xg=d;"CANVAS"==d.tagName?(this.O=d,this.Cc=1):(this.O=document.createElement("canvas"),this.Cc=k.fe()==k.Hi?.5:1,this.O.width=Math.round(d.width*this.Cc),this.O.height=Math.round(d.height*this.Cc));this.xa=this.O.getContext("2d");this.xa.globalCompositeOperation="copy";this.O!=d&&this.xa.drawImage(d,0,0,d.width,d.height,0,0,this.O.width,this.O.height)}function h(d,c,f){0>d?d=f==THREE.RepeatWrapping?c+d%c:f==THREE.MirroredRepeatWrapping?0==
Math.floor(Math.abs(d/c))%2?Math.abs(d%c):c-1+d%c:0:d>=c&&(d=f==THREE.RepeatWrapping?d%c:f==THREE.MirroredRepeatWrapping?1==Math.floor(d/c)%2?c-1-d%c:d%c:c-1);return d}function m(d,c,f){try{if(d instanceof CanvasRenderingContext2D)return d.getImageData(c,f,1,1).data;if(d.tagName&&"CANVAS"==d.tagName)return d.$Ka?[0,0,0,0]:d.getContext("2d").getImageData(c,f,1,1).data;b.drawImage(d,c,f,1,1,0,0,1,1);return b.getImageData(0,0,1,1).data}catch(l){return[0,0,0,0]}}var k=a("v");e.prototype.transparent=function(d,
c){return e.transparent(this.xa,Math.round(d*this.Cc),Math.round(c*this.Cc))};e.prototype.kw=function(d,c){return e.kw(this.xa,Math.round(d*this.Cc),Math.round(c*this.Cc))};e.prototype.info=function(d,c){return e.info(this.xa,Math.round(d*this.Cc),Math.round(c*this.Cc))};e.prototype.dispose=function(){this.O!=this.xg&&(this.O.width=this.O.height=0);this.xg=this.O=this.xa=null};e.L_a=function(d,c,f){if(!d.image||!d.image.width||!d.image.height)return!0;c=h(Math.round(c*d.image.width),d.image.width,
d.wrapS);f=h(Math.round((1-f)*d.image.height),d.image.height,d.wrapT);return!e.transparent(d.image,c,f)};e.transparent=function(d,c,f){return!e.kw(d,c,f)};e.kw=function(d,c,f){return!d.tagName||d.tagName&&"VIDEO"==d.tagName?!0:0<m(d,c,f)[3]};e.info=function(d,c,f){d=m(d,c,f);c=d[3];return{kw:0<c,opacity:c,color:"#"+g[d[0]]+g[d[1]]+g[d[2]]}};a=document.createElement("canvas");a.width=a.height=1;var b=a.getContext("2d");b.globalCompositeOperation="copy";var g=function(){for(var d=Array(256),c=0;16>
c;c++)d[c]="0"+c.toString(16);for(;256>c;c++)d[c]=c.toString(16);return d}();return e});
define("ok","require oH eA fA cm gR bc".split(" "),function(a){function e(z){this.pi=z;this.TG=this.lu=this.je=this.Hg=null;this.ML=void 0;this.ru=!1;this.update()}function h(z,C,H,D){this.Y=z;this.Bc=C;this.point=H;this.normal=D}function m(z){return{x:z.x,y:z.y,z:z.z}}function k(z,C,H,D){var I=C.S,F=z.get(I);F||z.set(I,F=[]);z=F.indexOf(C);H&&0>z?F.push(C):!H&&0<=z&&F.splice(z,1);D.delete(I)}var b=a("oH"),g=a("eA"),d=a("fA"),c=a("cm"),f=a("gR"),l=a("bc");e.prototype.update=function(){var z=this.pi.getComponent(d.ef);
z.zya=this;this.nN(z&&z.enabled?z.Nba:null);this.mN(z&&z.enabled?z.Dba:null)};e.prototype.frame=function(){this.EFa();this.hv(n)};e.prototype.nN=function(z){this.Hg!=z&&(this.Hg&&(this.Hg.unbind(b.jc,this.kf,this,!0),this.Hg.unbind(b.qa,this.Mr,this,!0),this.Hg.unbind(b.hm,this.jG,this,!0),this.Hg.unbind(b.ub,this.mk,this,!0),this.Hg.unbind(b.Zb,this.Wn,this,!0)),this.Hg=z)&&(this.Hg.bind(b.jc,this.kf,this,!0),this.Hg.bind(b.qa,this.Mr,this,!0),this.Hg.bind(b.hm,this.jG,this,!0),this.Hg.bind(b.ub,
this.mk,this,!0),this.Hg.bind(b.Zb,this.Wn,this,!0))};e.prototype.mN=function(z){this.je!=z&&(this.je&&this.ru&&this.je.pop(l.df),(this.je=z)&&this.ru&&this.je.push(l.df))};e.prototype.kf=function(z){this.ro(z);this.MF&&-1==u.indexOf(this.pi.S)?this.hv(n):this.hv(q)};e.prototype.Mr=function(z){this.ro(z);(z=this.V4())&&this.lX(b.qa,z)};e.prototype.jG=function(z){this.ro(z);(z=this.V4())&&this.lX(b.hm,z)};e.prototype.mk=function(z){this.MF=!0;this.ro(z);if(z=this.V4())this.v4=z.Y,this.x4=z.Y.getComponent(d.ld).Ea,
this.lX(b.ub,z)};e.prototype.Wn=function(z){this.MF=!1;this.ro(z);if(this.v4)var C=(C=this.v4.getComponent(d.ld))&&C.Ea;!C&&this.x4&&(C=this.x4);this.x4=this.v4=null;C&&(z=this.tka(),C.trigger(b.Zb,z),C=this.pi.getComponent(d.ef),C.Ea&&C.Ea.trigger(b.Zb,z))};e.prototype.ro=function(z){this.Yc=z.x;this.Zc=z.y;this.ZF=z.pageX;this.$F=z.pageY};e.prototype.hv=function(z){var C=(new Date).getTime()+z;this.ML&&C>=this.ML||(this.ML=C,clearTimeout(this.TG),this.TG=setTimeout(function(){this.TG=null;this.ML=
void 0;this.IMa()}.bind(this),z))};e.prototype.IMa=function(){var z=this.NJa();this.Zqa(z&&z.Y);z&&this.lX(b.jc,z)};e.prototype.OZ=function(z,C,H){var D=this.Yc,I=this.Zc,F=this.ZF,N=this.$F;this.$F=this.ZF=this.Zc=this.Yc=void 0;z=this.f5(z,[]);C=this.Y4(z,C,H);var S;C&&(S=this.ila(C));this.Yc=D;this.Zc=I;this.ZF=F;this.$F=N;return S};e.prototype.NJa=function(){var z=this.pi.getComponent(d.ef);if(!z)return null;var C=this.MJa();return this.Y4(C,z.origin,z.direction)||null};e.prototype.V4=function(){var z=
this.pi.getComponent(d.ef);if(!z)return null;var C=this.LIa();return this.Y4(C,z.origin,z.direction)||null};e.prototype.Zqa=function(z){if(this.lu!=z){if(null!=this.lu!=(null!=z)){var C=this.pi.getComponent(d.ef);C&&C.Ea&&C.Ea.trigger(z?b.Wc:b.ac)}this.lu&&this.Esa(this.lu,b.ac);(this.lu=z)&&this.Esa(this.lu,b.Wc);z=this.lu&&this.lu.getComponent(d.ld);z=!!z&&z.Oo;this.ru!=z&&(this.ru=z,this.je&&(this.ru?this.je.push(l.df):this.je.pop(l.df)))}};e.prototype.Y4=function(z,C,H){var D=Array.from(z.keys());
C=this.NKa(D,C,H);for(H=0;H<C.length;H++){D=C[H];var I=D.point,F=D.object,N=D.face&&D.face.normal,S=z.get(F),Q=S&&S.getComponent(d.ld);if(Q){var R=Array.isArray(F.material)&&D.face?F.material[D.face.materialIndex]:F.material;if(!R||R.visible)if(Q.wQ||!R||!R.map||g.L_a(R.map,D.uv.x,D.uv.y))return F.isSkinnedMesh&&(F=this.$Ha(F.skeleton.bones,I)),new h(S,F,I,N)}}return null};e.prototype.LIa=function(){var z=this.pi.S,C=A.get(z);if(!C){C=v.get(z);var H=x.get(z);C=this.f5(C,H);A.set(z,C)}return C};e.prototype.MJa=
function(){var z=this.pi.S,C=B.get(z);if(!C){C=w.get(z);var H=y.get(z);C=this.f5(C,H);B.set(z,C)}return C};e.prototype.f5=function(z,C){var H=(C&&C.map(function(F){return c.yb(F)}).filter(function(F){return!!F})||[]).slice(),D=new Map;z&&z.forEach(function(F){var N=c.yb(F);N&&-1==H.indexOf(N)&&(H.push(N),D.set(F,N))});var I=new Map;D.forEach(function(F,N){for(var S=[F];S.length;){var Q=S.shift();if(Q==F||-1==H.indexOf(Q))I.set(Q,N),Q.children&&(S=S.concat(Q.children))}});return I};e.prototype.NKa=
function(z,C,H){var D=c.yb(this.pi);if(!D)return[];t.camera=this.XS();t.ray.origin.copy(C).applyMatrix4(D.matrixWorld);t.ray.direction.copy(C).add(H).applyMatrix4(D.matrixWorld).sub(t.ray.origin).normalize();return f.intersect(t,z)};e.prototype.lX=function(z,C){var H=this.ila(C);C=C.Y.getComponent(d.ld);C.Ea&&C.Ea.trigger(z,H);C=this.pi.getComponent(d.ef);C.Ea&&C.Ea.trigger(z,H)};e.prototype.tka=function(){var z={};void 0!==this.Yc&&void 0!==this.Zc&&(z.x=this.Yc,z.y=this.Zc);void 0!==this.ZF&&void 0!==
this.$F&&(z.pageX=this.ZF,z.pageY=this.$F);return z};e.prototype.ila=function(z){var C=this.tka(),H=z.Bc,D=z.point;z=z.normal;C.position=m(D);var I=this.XS();C.cameraPosition=m(I?r.setFromMatrixPosition(I.matrixWorld):r.set(0,0,0));I=H;for(var F=C;;){F.object=I.userData.id;F.name=I.name;F.type=I.isMesh?"mesh":I.isBone?"bone":"other";F.localPosition=m(I.worldToLocal(r.copy(D)));r.setFromMatrixScale(I.matrixWorld);F.localScale=Math.max(r.x,r.y,r.z);F.objectMatrixWorld=H.matrixWorld.toArray();z&&(F.normal=
m(p(H,z,I,r)));if(!I.parent||!I.parent.userData.id)break;I=I.parent;F=F.parent={}}return C};var p=function(){var z=new THREE.Vector3,C=new THREE.Matrix4;return function(H,D,I,F){F.copy(D);if(H==I)return F;F.applyMatrix4(H.matrixWorld);F.sub(z.setFromMatrixPosition(H.matrixWorld));F.add(z.setFromMatrixPosition(I.matrixWorld));F.applyMatrix4(C.copy(I.matrixWorld).invert()).normalize();return F}}();e.prototype.XS=function(){if(this.CK.camera)return this.CK.camera;var z=c.yb(this.pi);z&&z.isCamera?this.CK.camera=
z:(z=c.hI(z),this.CK.camera=z&&c.Ms(z));return this.CK.camera};e.prototype.EFa=function(){this.CK={}};e.prototype.Esa=function(z,C){(z=(z=z.getComponent(d.ld))&&z.Ea)&&z.trigger(C)};e.prototype.$Ha=function(z,C){var H=null,D=Infinity;for(z=z.slice();z.length;){var I=z.shift(),F=C.distanceTo(I.getWorldPosition(r));F<D&&(H=I,D=F);z.unshift.apply(z,I.children)}return H};e.prototype.dispose=function(){this.TG&&(clearTimeout(this.TG),this.TG=null,this.ML=void 0);this.nN(null);this.mN(null);this.Zqa(null)};
var q=16,n=400,r=new THREE.Vector3(0,1,0),t=new THREE.Raycaster;a=new THREE.Box3;a.min.x=a.min.y=a.min.z=-Infinity;a.max.x=a.max.y=a.max.z=Infinity;a=new THREE.Sphere;a.center.x=a.center.y=a.center.z=0;a.radius=Infinity;e.mea=function(z){z.H(d.vt).manager=new e(z)};e.zea=function(z){var C=z.getComponent(d.vt);C.manager.dispose();C.manager=null;z.ma(d.vt)};e.frame=function(z){z.getComponent(d.vt).manager.frame()};e.Lea=function(z){z.getComponent(d.vt).manager.update()};e.a_a=function(z){z.H(d.qA);
e.SAa(z)};e.SAa=function(z){var C=c.yb(z),H=z.getComponent(d.ld);k(v,z,C&&H.Iv,A);k(w,z,C&&H.aw,B)};e.rAa=function(z){k(v,z,!1,A);k(w,z,!1,B);z.ma(d.qA)};e.ZZa=function(z){z.H(d.nA);e.PAa(z)};e.PAa=function(z){var C=c.yb(z),H=z.getComponent(d.bp);k(x,z,C&&H.Fea,A);k(y,z,C&&H.Gea,B)};e.qAa=function(z){k(y,z,!1,B);k(x,z,!1,A);z.ma(d.nA)};var u=[];e.BZa=function(z){u=[];z.forEach(function(C){0>u.indexOf(C.S)&&u.push(C.S)})};var v=new Map,w=new Map,x=new Map,y=new Map,A=new Map,B=new Map;return e});
define("nq",["require","lo","ly","fA","ok"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("ok");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.LP.C.length&&this.LP.C.slice().forEach(k.mea);this.Kq.Ua.length&&this.Kq.Ua.slice().forEach(k.Lea);this.Kq.C.length&&this.Kq.C.slice().forEach(k.frame);this.MP.C.length&&this.MP.C.slice().forEach(k.zea);this.oza.C.length&&this.oza.C.slice().forEach(k.a_a);this.nza.C.length&&this.nza.Ua.slice().forEach(k.SAa);this.pza.C.length&&
this.pza.C.slice().forEach(k.rAa);this.qza.C.length&&this.qza.C.slice().forEach(k.rAa);this.Exa.C.length&&this.Exa.C.slice().forEach(k.ZZa);this.Dxa.C.length&&this.Dxa.Ua.slice().forEach(k.PAa);this.Fxa.C.length&&this.Fxa.C.slice().forEach(k.qAa);this.Gxa.C.length&&this.Gxa.C.slice().forEach(k.qAa);(this.ida.de.length||this.ida.pg.length)&&k.BZa(this.ida.C)};a.K={};a.K.ida=[m.Wj];a.K.LP=[m.ef,m.vt.not];a.K.Kq=[m.ef,m.vt];a.K.MP=[m.ef.not,m.vt];a.K.oza=[m.Object3D,m.ld,m.qA.not];a.K.nza=[m.Object3D,
m.ld,m.qA];a.K.pza=[m.Object3D.not,m.qA];a.K.qza=[m.ld.not,m.qA];a.K.Exa=[m.Object3D,m.bp,m.nA.not];a.K.Dxa=[m.Object3D,m.bp,m.nA];a.K.Fxa=[m.Object3D.not,m.nA];a.K.Gxa=[m.bp.not,m.nA];return a});
define("jm",["require","nz","fA"],function(a){function e(k){this.o=k;this.ha=null;this.update()}var h=a("nz"),m=a("fA");e.prototype.update=function(){this.ha||(this.ha=new THREE.MeshBasicMaterial,this.ha.transparent=!0,this.o.H(m.Material).material=this.ha);var k=this.o.getComponent(m.Fc);this.ha.color=new THREE.Color(h.YD(k.color||"#ffffff"));this.ha.opacity=k.opacity||0;this.ha.depthTest=!!k.depthTest;this.ha.side=k.doubleSided?THREE.DoubleSide:THREE.FrontSide;this.ha.visible=0<this.ha.opacity;
this.ha.needsUpdate=!0};e.prototype.dispose=function(){this.ha&&(this.ha.dispose(),this.ha=null,this.o.ma(m.Material));this.o=null};e.Ob=function(k){k.H(m.yt).manager=new e(k)};e.eb=function(k){var b=k.getComponent(m.yt);b.manager.dispose();b.manager=null;k.ma(m.yt)};e.update=function(k){k.getComponent(m.yt).manager.update()};return e});
define("io",["require","lo","ly","fA","jm"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("jm");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.Vl.C.length&&this.Vl.C.slice().forEach(k.Ob);this.materials.Ua.length&&this.materials.Ua.slice().forEach(k.update);this.Wl.C.length&&this.Wl.C.slice().forEach(k.eb)};a.K={};a.K.Vl=[m.Fc,m.yt.not];a.K.materials=[m.Fc,m.yt];a.K.Wl=[m.Fc.not,m.yt];return a});
define("kZ",["require","lo","ly","fA","nE"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("nE");a=e.extend(h,function(){h.apply(this,arguments);this.te=this.te.bind(this);this.Fe=this.Fe.bind(this);this.Uc=this.Uc.bind(this)});a.prototype.yd=function(){this.cAa.C.length&&this.cAa.C.slice().forEach(this.te);this.bAa.Ua.length&&this.bAa.Ua.slice().forEach(this.Fe);this.dAa.C.length&&this.dAa.C.slice().forEach(this.Uc);this.eAa.C.length&&this.eAa.C.slice().forEach(this.Uc)};a.prototype.te=function(b){b.H(m.Object3D).Bc=
new THREE.Mesh(new THREE.SphereGeometry);b.H(m.rA);this.Fe(b)};a.prototype.Fe=function(b){var g=b.getComponent(m.Object3D).Bc;k.Fv(g,b.getComponent(m.Material).material);b=b.getComponent(m.Sphere);var d=g.geometry;if(d.radius!=b.radius||d.widthSegments!=b.widthSegments||d.heightSegments!=b.heightSegments)d.dispose(),d=new THREE.SphereGeometry(b.radius,b.widthSegments,b.heightSegments),g.geometry=d,g.needsUpdate=!0;b=b.renderOrder||0;g.renderOrder!=b&&(g.renderOrder=b,g.needsUpdate=!0)};a.prototype.Uc=
function(b){var g=b.getComponent(m.Object3D);(g=g&&g.Bc)&&g.geometry&&(g.geometry.dispose(),g.geometry=null);g&&k.Fv(g,null);b.ma(m.rA);b.ma(m.Object3D)};a.K={};a.K.cAa=[m.Sphere,m.Material,m.rA.not];a.K.bAa=[m.Sphere,m.Material,m.rA];a.K.dAa=[m.Sphere.not,m.rA];a.K.eAa=[m.Material.not,m.rA];return a});
define("lS",["require","fA","cm","nE"],function(a){function e(d){this.o=d;this.Fa=null;this.K2=90;this.L2=100;this.ia=this.ua=void 0;this.BW=!1;this.Cc=1;this.Lc=this.o.J(h.Sprite).p_a=this.o.J(h.Object3D,!0).Bc=new THREE.Sprite;this.Lc.material.opacity=0;this.Ej();this.update();this.frame()}var h=a("fA"),m=a("cm"),k=a("nE");e.prototype.update=function(){var d=this.o.getComponent(h.Sprite);this.ua=d.height;this.ia=d.width;this.BW=d.sizeAttenuation;this.Lc.center.x=d.HH;this.Lc.center.y=1-d.IH;this.Cc=
d.scale;this.Nl();this.Lc.needsUpdate=!0};e.prototype.frame=function(){this.Fa||(this.Fa=m.Mj(this.o));this.rq();this.Ej();this.Nl()};e.prototype.rq=function(){if(this.Fa){var d=m.Ms(this.Fa);if(d&&d.isPerspectiveCamera){var c=m.kI(this.Fa);if(this.K2!=d.fov||this.L2!=c)this.K2=d.fov,this.L2=c,this.Nl(),this.Lc.needsUpdate=!0}}};e.prototype.Ej=function(){var d=this.Fa?this.o.getComponent(h.Material).material:null;d&&k.Fv(this.Lc,d);this.Lc.renderOrder=this.o.getComponent(h.Sprite).renderOrder;this.Lc.material&&
this.Lc.material.sizeAttenuation!=this.BW&&(this.Lc.material.sizeAttenuation=this.BW,this.Lc.material.needsUpdate=!0)};e.prototype.Nl=function(){var d=this.ua;this.BW||(d/=this.L2/(2*Math.tan(this.K2*g/2)));var c=this.Cc;this.Lc.parent&&(this.Lc.parent.getWorldScale(b),c/=Math.max(b.x,b.y,b.z));d*=c;c=d*this.ia/this.ua;var f=this.o.getComponent(h.ya)||this.o.H(h.ya);if(f.Gf!=c||f.Tf!=d||1!=f.nh)f=this.o.J(h.ya,!0),f.Gf=c,f.Tf=d,f.nh=1};var b=new THREE.Vector3,g=Math.PI/180;e.prototype.dispose=function(){};
e.Ob=function(d){d.H(h.jr).manager=new e(d)};e.eb=function(d){var c=d.getComponent(h.jr);c.manager.dispose();c.manager=null;d.ma(h.jr);d.ma(h.Object3D)};e.update=function(d){d.getComponent(h.jr).manager.update()};e.frame=function(d){d.getComponent(h.jr).manager.frame()};return e});
define("ez",["require","lo","ly","fA","lS"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("lS");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.gAa.C.length&&this.gAa.C.slice().forEach(k.Ob);this.m_.Ua.length&&this.m_.C.slice().forEach(k.update);this.m_.C.length&&this.m_.C.slice().forEach(k.frame);this.hAa.C.length&&this.hAa.C.slice().forEach(k.eb);this.iAa.C.length&&this.iAa.C.slice().forEach(k.eb)};a.K={};a.K.gAa=[m.Material,m.Sprite,m.jr.not];a.K.m_=[m.Sprite,
m.Material,m.jr];a.K.hAa=[m.Sprite.not,m.jr];a.K.iAa=[m.Material.not,m.jr];return a});
define("kp","require lo oH cy ly fA cm".split(" "),function(a){function e(l,p,q){for(;l<p-180;)l+=360;for(;l>p+180;)l-=360;return h(l,p,q)}function h(l,p,q){if(!q)return p;l=(p-l)*(1-q);1E-5>Math.abs(l)&&(l=0);return p-l}var m=a("lo"),k=a("oH"),b=a("cy"),g=a("ly"),d=a("fA"),c=a("cm");a=m.extend(g,function(){g.apply(this,arguments);this.te=this.te.bind(this);this.Fe=this.Fe.bind(this);this.Uc=this.Uc.bind(this)});a.prototype.yd=function(l,p){this.DP.C.length&&this.DP.C.slice().forEach(this.te);this.Hq.de.length&&
this.Hq.de.slice().forEach(function(q){this.Fe(q,l,p)}.bind(this));this.Hq.Ua.length&&this.Hq.Ua.slice().forEach(function(q){this.Fe(q,l,p)}.bind(this));this.Pxa.C.length&&this.Pxa.C.slice().forEach(function(q){this.Fe(q,l,p)}.bind(this));this.$ua.C.length&&this.$ua.C.slice().forEach(this.Uc);this.ava.C.length&&this.ava.C.slice().forEach(this.Uc)};a.prototype.te=function(l){var p=l.getComponent(d.ya),q=l.H(d.Lf);q.positionX=p.positionX;q.positionY=p.positionY;q.positionZ=p.positionZ;q.Se=p.Se;q.se=
p.se;q.Te=p.Te;q.bg=p.bg;q.scale=p.scale;q.Gf=p.Gf;q.Tf=p.Tf;q.nh=p.nh;q.translationX=p.translationX;q.translationY=p.translationY;q.cf=p.cf;this.updateMatrixWorld(l)};a.prototype.Fe=function(l){var p=l.getComponent(d.ya),q=l.getComponent(d.Lf),n=p.easing||0;n?l.getComponent(d.tA)||l.H(d.tA):l.ma(d.tA);var r=null;p.Gv!==q.Gv&&(r||(r=l.J(d.Lf)),r.Gv=p.Gv);p.positionX!==q.positionX&&(r||(r=l.J(d.Lf)),r.positionX=h(r.positionX,p.positionX,n));p.positionY!==q.positionY&&(r||(r=l.J(d.Lf)),r.positionY=
h(r.positionY,p.positionY,n));p.positionZ!==q.positionZ&&(r||(r=l.J(d.Lf)),r.positionZ=h(r.positionZ,p.positionZ,n));p.Se!==q.Se&&(r||(r=l.J(d.Lf)),r.Se=e(r.Se,p.Se,n));p.se!==q.se&&(r||(r=l.J(d.Lf)),r.se=e(r.se,p.se,n));p.Te!==q.Te&&(r||(r=l.J(d.Lf)),r.Te=e(r.Te,p.Te,n));p.scale!==q.scale&&(r||(r=l.J(d.Lf)),r.scale=p.scale);p.Gf!==q.Gf&&(r||(r=l.J(d.Lf)),r.Gf=p.Gf);p.Tf!==q.Tf&&(r||(r=l.J(d.Lf)),r.Tf=p.Tf);p.nh!==q.nh&&(r||(r=l.J(d.Lf)),r.nh=p.nh);p.translationX!==q.translationX&&(r||(r=l.J(d.Lf)),
r.translationX=h(r.translationX,p.translationX,n));p.translationY!==q.translationY&&(r||(r=l.J(d.Lf)),r.translationY=h(r.translationY,p.translationY,n));p.cf!==q.cf&&(r||(r=l.J(d.Lf)),r.cf=h(r.cf,p.cf,n));r?this.updateMatrixWorld(l):l.ma(d.tA)};var f=new THREE.Vector3;a.prototype.updateMatrixWorld=function(l){c.eQ(l,l.getComponent(d.Lf));var p=l.getComponent(d.ya).Ea;p&&(c.getWorldPosition(l,f),l={position:{}},l.position.x=f.x,l.position.y=f.y,l.position.z=f.z,p.trigger(new b(k.st,l)))};a.prototype.Uc=
function(l){l.ma(d.Lf);l.ma(d.tA)};a.K={};a.K.Hq=[d.Object3D,d.ya,d.Lf];a.K.DP=[d.Object3D,d.ya,d.Lf.not];a.K.Pxa=[d.Object3D,d.ya,d.Lf,d.tA];a.K.$ua=[d.Object3D.not,d.ya,d.Lf];a.K.ava=[d.ya.not,d.Lf];return a});
define("gQ",["require"],function(){function a(h,m,k){this.Fd=h;this.osa=m;this.fB=k||e}var e=function(){var h=document.createElement("canvas");h.width=h.height=256;h.getContext("2d").clearRect(0,0,h.width,h.height);return h}();a.prototype.isEmpty=function(){return this.fB==e};a.prototype.isEqual=function(h,m){return this.Fd==h.Fd&&Math.abs(this.osa-h.osa)<(m||0)&&this.fB==h.fB};return a});
define("de",["require","lH","v","ia"],function(a){function e(c){return k.tAa(c)}function h(c,f){if(!f)return!0;var l=c.get("url"),p=c.get("srcObject");c=c.get("type")||"";switch(f){case "srcObj":return!!p;case "webm":return g.is(l,g.VCa)||m(c,"webm");case "h265":return g.is(l,g.MBa)||(g.is(l,g.Tfa)||g.is(l,g.Bfa)||!l)&&(m(c,"hev1")||m(c,"h265")||m(c,"heic"))?!0:!1;case "mp4":return g.is(l,g.Tfa)||m(c,"mp4");case "hls":return g.is(l,g.HLS)||m(c,"x-mpegurl");case "ogv":return g.is(l,g.gCa)||m(c,"ogg");
case "mov":return g.is(l,g.Bfa)||m(c,"quicktime");default:return!1}}function m(c,f){return 0<=(c||"").toLowerCase().indexOf(f)}var k=a("lH"),b=a("v"),g=a("ia"),d={KVa:function(c){return d.select(c.get("levels"))},IVa:function(c){return d.select(c.get("levels"))},select:function(c){c||(c=[]);c=c.slice();var f=[];f.push({type:"srcObj",Mo:!0});k.TVa&&f.push({type:"hls",Mo:!1});k.fWa&&f.push({type:"h265",Mo:!0});k.qca&&f.push({type:"webm",Mo:!0});k.SY&&f.push({type:"mp4",Mo:!0});k.gWa&&f.push({type:"mov",
Mo:!0});k.pca&&f.push({type:"ogv",Mo:!0});f.push({type:"mp4",Mo:!0});f.push({type:"webm",Mo:!0});f.push({type:"mp4",Mo:!1});f.push({type:"webm",Mo:!1});for(var l=b.kb()?800:5E3,p=0;p<f.length;p++){var q=c;f[p].Mo&&(q=q.filter(e));q=q.filter(function(n){if(h(n,f[p].type))return!0});"hls"!=f[p].type&&(f[p].Mo?q.sort(function(n,r){return Math.abs(l-n.get("bitrate"))-Math.abs(l-r.get("bitrate"))}):q.sort(function(n,r){return n.get("width")-r.get("width")}));if(q.length)return q[0]}return null}};return d});
define("od","require lo cy gi oH kO hT nx v mj nZ dz gQ mS oe bU de".split(" "),function(a){function e(x){f.browser()==f.dm&&(x=l.cz(x,"playbacksession="+(new Date).getTime()));return x}var h=a("lo"),m=a("cy"),k=a("gi"),b=a("oH"),g=a("kO"),d=a("hT"),c=a("nx"),f=a("v"),l=a("mj"),p=a("nZ"),q=a("dz"),n=a("gQ"),r=a("mS"),t=a("oe"),u=a("bU"),v=a("de"),w=h.extend(k,function(x,y){k.call(this);this.fb=x;this.v=y;this.Ya=w.Jj(this.v);this.m=null;this.wN();this.v.bind(b.G("subtitlesURL"),this.Nm,this,!0);this.v.bind(b.G("gain"),
this.fG,this,!0);this.Ya.bind(b.G("srcObject"),this.Nm,this,!0);this.Ya.bind(b.G("subtitlesURL"),this.Nm,this,!0);this.Ya.bind(b.G("url"),this.Nm,this,!0);this.Ya.bind(b.G("gain"),this.fG,this,!0);this.A=g.T;this.Uf=this.qb=0;this.jf=!1;this.yq=1;this.ml=!1;this.O=this.Rb=null;this.RE=!1;this.TR=void 0;this.Gia=!1;this.nr=[]});w.prototype.Jb=function(){return this.fb};w.prototype.Jd=function(x){this.A==x||x==g.Eb&&this.A!=g.X||(this.Gia&&x==g.X&&this.A==g.T&&this.Q2(),this.A=x,this.A==g.X?(this.Rb&&
this.Rb.play(this.fb,this.m,this.Uf),u.UZ(this)):(u.uwa()?this.Rb&&this.Rb.stop():u.NP(this),this.A==g.T&&this.M9()),this.Q$())};w.prototype.getState=function(){return this.A};w.prototype.bj=function(){return this.qb};w.prototype.setCurrentTime=function(x){this.Uf=x;this.Rb&&(this.Rb.wD()&&this.AS(),this.Rb.play(this.fb,this.m,this.Uf))};w.prototype.getCurrentTime=function(){return this.Uf};w.prototype.jw=function(x){this.yq=x;this.Rb&&this.Rb.jw(x)};w.prototype.Hf=function(x){this.jf=x;this.Rb&&
this.Rb.Hf(x)};w.prototype.setLoop=function(x){this.ml=x;this.Rb&&this.Rb.setLoop(x)};w.prototype.yYa=function(){this.Gia=!0};w.prototype.VH=function(x,y,A){this.Rb&&this.Rb.wD()?this.Rb.VH(x,y,A):this.RE?x.drawImage(this.O,0,0,y,A):x.fillRect(0,0,y,A)};w.prototype.zY=function(){if(this.Rb&&this.Rb.wD()){var x=this.Rb.getCurrentTime(),y=this.Rb.fc;if(this.BT())return new n(this.m.src,this.TR,this.O);this.Q2();return new n(this.m.src,x,y)}return this.RE?new n(this.m.src,this.Uf,this.O):new n(this.m.src,
this.Uf,null)};w.prototype.uda=function(){return!this.jf&&this.v.get("hasAudio")};w.prototype.getType=function(){return t.Bn};w.prototype.Sva=function(){return d.Bn};w.prototype.Zua=function(x){this.Rb=x;setTimeout(function(){this.Rb&&this.Rb.bind(p.Qj,this.SL,this,!0)}.bind(this),0);this.wN();this.Rb.bind(p.Jf,this.Ye,this,!0);this.Rb.bind(p.Ei,this.Lm,this,!0);this.Rb.bind(b.Wk,this.ki,this,!0);this.Rb.Hf(this.jf);this.Rb.jw(this.yq);this.Rb.setLoop(this.ml);this.Rb.play(this.fb,this.m,this.Uf)};
w.prototype.Zwa=function(){this.Rb.wD()&&this.AS();this.Uf=this.Rb.getCurrentTime();this.Rb.unbind(p.Qj,this.SL,this,!0);this.Rb.unbind(p.Jf,this.Ye,this,!0);this.Rb.unbind(p.Ei,this.Lm,this,!0);this.Rb.unbind(b.Wk,this.ki,this,!0);this.A==g.T&&(this.Rb.stop(),this.Rb.setCurrentTime(0));this.Rb=null};w.prototype.clear=function(){u.NP(this);this.Q2();this.v&&(this.v.unbind(b.G("subtitlesURL"),this.Nm,this,!0),this.v.unbind(b.G("gain"),this.fG,this,!0),this.v=null);this.Ya&&(this.Ya.unbind(b.G("subtitlesURL"),
this.Nm,this,!0),this.Ya.unbind(b.G("url"),this.Nm,this,!0),this.Ya.unbind(b.G("srcObject"),this.Nm,this,!0),this.Ya=null)};w.prototype.Nm=function(){this.rC&&clearTimeout(this.rC);this.rC=setTimeout(function(){this.rC=null;this.Rb&&(this.m.un=this.v.get("subtitlesURL")||this.Ya.get("subtitlesURL"),this.m.src=this.Ya.get("srcObject")||e(this.Ya.get("url")),this.Rb.play(this.fb,this.m,this.Uf))}.bind(this),10)};w.prototype.fG=function(){this.Rb&&(this.m.gain=this.v.get("gain",1)*this.Ya.get("gain",
1),this.Rb.XP(this.m.gain))};w.prototype.wN=function(){this.m=new r;this.m.src=this.Ya.get("srcObject")||e(this.Ya.get("url"));this.m.un=this.v.get("subtitlesURL")||this.Ya.get("subtitlesURL");this.m.pz=this.v.get("hasAudio",!0)&&this.Ya.get("hasAudio",!0);this.m.gain=this.v.get("gain",1)*this.Ya.get("gain",1)};w.prototype.AS=function(){this.O||(this.O=document.createElement("canvas"));if(!this.BT()){this.O.width=this.Rb.rd();this.O.height=this.Rb.ee();this.TR=this.Rb.getCurrentTime();var x=this.O.getContext("2d");
x.clearRect(0,0,this.O.width,this.O.height);this.RE=this.Rb.VH(x,this.O.width,this.O.height)}};w.prototype.BT=function(){var x=this.Rb.getCurrentTime();this.qb&&(x=Math.min(x,this.qb));return this.RE&&.15>=Math.abs(x-this.TR)};w.prototype.Q2=function(){this.RE&&(this.TR=void 0,this.RE=!1,f.browser()!=f.dm&&(this.O.width=0,this.O.height=0,this.O=null))};w.prototype.Lm=function(){this.qb=this.Rb.bj();this.M$()};w.prototype.Ye=function(){this.qb!=this.Rb.bj()&&this.Lm();this.Uf=this.Rb.getCurrentTime();
f.fe()==f.Hi&&0<this.Uf&&this.Uf>this.qb-.15&&!this.BT()&&!this.ml?this.AS():f.browser()==f.Uk&&0<this.Uf&&this.Uf>this.qb-.05&&!this.BT()&&this.ml&&this.AS();this.cO()};w.prototype.ki=function(){this.nr=this.Rb.ZO().map(function(x){for(var y=null,A=0;A<this.nr.length&&!y;A++)this.nr[A].cue==x&&(y=this.nr[A]);y||(y=new q(x));return y}.bind(this));this.trigger(new m(b.Wk))};w.prototype.SL=function(){this.Jd(g.T);this.N$()};w.prototype.M9=function(){this.Uf=0;this.cO()};w.prototype.cO=function(){this.trigger(new m(w.Jf))};
w.prototype.M$=function(){this.trigger(new m(w.Ei))};w.prototype.N$=function(){this.trigger(new m(b.sb))};w.prototype.Q$=function(){this.trigger(new m(b.ne))};w.Jf="time update";w.Ei="duration update";w.Jj=function(x){if(c.Na("Video360Resource",x))return v.IVa(x);if(c.Na("VideoResource",x))return v.KVa(x);throw"invalid video resource object: "+x;};return w});
define("gp",["require","oH","kO","cy","od"],function(a){function e(g,d,c,f){this.aa=g;this.m=d;this.oe=c;this.Aa=f;this.mc=g.Jb();this.Uf=this.m.get("currentTime");this.A=this.m.get("state");this.ml=this.m.get("loop");this.AV=this.mc.get("mute");this.tU=this.m.get("mute");this.A=this.m.get("autoplay")?m.X:m.Eb;this.Q1();this.m.set("state",this.A);this.aa.Hf(this.AV||this.tU);this.aa.setLoop(this.ml);this.aa.setCurrentTime(this.Uf);this.aa.Jd(this.A)}var h=a("oH"),m=a("kO"),k=a("cy"),b=a("od");e.prototype.dispose=
function(){this.Z8()};e.prototype.Eoa=function(){var g=this.m.get("currentTime",0);this.Uf!=g&&this.aa.setCurrentTime(this.Uf=g)};e.prototype.Ioa=function(){var g=this.m.get("state",m.T);this.A!=g&&this.aa.Jd(this.A=g)};e.prototype.Goa=function(){var g=this.m.get("mute",!1);this.tU!=g&&this.aa.Hf(this.AV||(this.tU=g))};e.prototype.Foa=function(){var g=this.m.get("loop",!1);this.ml!=g&&this.aa.setLoop(this.ml=g)};e.prototype.oM=function(){var g=this.mc.get("mute",!1);this.AV!=g&&this.aa.Hf((this.AV=
g)||this.tU)};e.prototype.xM=function(){this.m.set("currentTime",this.Uf=this.aa.getCurrentTime())};e.prototype.vM=function(){this.m.set("duration",this.aa.bj())};e.prototype.wM=function(){this.m.set("state",this.A=this.aa.getState());this.Aa()};e.prototype.yM=function(){this.oe.trigger(new k(h.sb))};e.prototype.Q1=function(){this.mc.bind(h.G("mute"),this.oM,this,!0);this.aa.bind(b.Jf,this.xM,this,!0);this.aa.bind(b.Ei,this.vM,this,!0);this.aa.bind(h.ne,this.wM,this,!0);this.aa.bind(h.sb,this.yM,
this,!0);this.m.bind(h.G("currentTime"),this.Eoa,this,!0);this.m.bind(h.G("state"),this.Ioa,this,!0);this.m.bind(h.G("mute"),this.Goa,this,!0);this.m.bind(h.G("loop"),this.Foa,this,!0)};e.prototype.Z8=function(){this.mc.unbind(h.G("mute"),this.oM,this,!0);this.aa.unbind(b.Jf,this.xM,this,!0);this.aa.unbind(b.Ei,this.vM,this,!0);this.aa.unbind(h.ne,this.wM,this,!0);this.aa.unbind(h.sb,this.yM,this,!0);this.m.unbind(h.G("currentTime"),this.Eoa,this,!0);this.m.unbind(h.G("state"),this.Ioa,this,!0);this.m.unbind(h.G("mute"),
this.Goa,this,!0);this.m.unbind(h.G("loop"),this.Foa,this,!0)};return e});
define("w","require oH kO hT cq ll eH gc".split(" "),function(a){function e(f,l,p,q){this.pp();this.aa=f;this.m=l;this.Ya=p;this.Aa=q;this.CG=this.Ya.get("posterURL");this.Jta=this.Ya.get("url");this.ia=this.Ya.get("width");this.ua=this.Ya.get("height");this.Cd=null;this.v$=this.y$=void 0;this.kma();this.Ya.bind(h.G("posterURL"),this.Coa,this,!0);this.Aa();this.xa=this.O=null}var h=a("oH"),m=a("kO"),k=a("hT"),b=a("cq"),g=a("ll"),d=a("eH"),c=a("gc");e.prototype.update=function(){var f=this.aa.zY();
f.isEmpty()&&(f=null);if(f&&(!this.Cd||this.Cd&&!this.Cd.isEqual(f))){this.Cd=f;f=this.Cd.fB;var l=c.uI(f);l&&(f.width=f.videoWidth||this.ia,f.height=f.videoHeight||this.ua);!this.O&&this.Jta&&c.WAa(this.Jta)&&(this.O=document.createElement("canvas"),this.O.width=this.ia,this.O.height=this.ua,this.xa=this.O.getContext("2d"));this.O&&l&&(this.xa.drawImage(f,0,0,this.O.width,this.O.height),f=this.O);this.ura(f)}else!this.Cd&&this.Yu&&this.tb.image!=this.Yu&&this.ura(this.Yu);(this.tb.needsUpdate||this.aa.getState()==
m.X)&&this.Aa()};e.prototype.Coa=function(){this.IPa(this.Ya.get("posterURL"))};e.prototype.IPa=function(f){this.CG!=f&&(this.Lsa(),this.CG=f,this.kma())};e.prototype.kma=function(){this.CG&&(this.Yu=null,this.BG=new b,this.BG.MI([this.CG]),this.BG.bind(h.Z,this.Boa,this,!0),g.ln(this.BG,this.m.get("loadPriority",k.Xk)))};e.prototype.Lsa=function(){this.CG&&(this.BG.unbind(h.Z,this.Boa,this,!0),g.gj(this.BG,this.m.get("loadPriority",k.Xk)),this.Yu=this.BG=null)};e.prototype.Boa=function(){this.Yu=
g.sf(this.CG);if(this.Yu.width!=this.ia||this.Yu.height!=this.ua){var f=document.createElement("canvas"),l=f.getContext("2d");f.width=this.ia;f.height=this.ua;l.drawImage(this.Yu,0,0,this.ia,this.ua);this.Yu=f}this.Aa()};e.prototype.ura=function(f){this.tb&&this.y$==f.width&&this.v$==f.height?this.tb.image=f:this.pp(f);this.tb.needsUpdate=!0};e.prototype.pp=function(f){this.tS();this.tb=new THREE.Texture;this.tb.image=f||d.wva();this.y$=this.tb.image.width;this.v$=this.tb.image.height;this.tb.generateMipmaps=
!1;this.tb.minFilter=THREE.LinearFilter;this.tb.magFilter=THREE.LinearFilter;this.tb.format=THREE.RGBAFormat};e.prototype.tS=function(){this.tb&&(this.v$=this.y$=void 0,this.tb.dispose(),this.tb=null)};e.prototype.dispose=function(){this.Lsa();this.Ya.unbind(h.G("posterURL"),this.Coa,this,!0);this.xa=this.Ya=null;this.O&&(this.O=this.O.width=this.O.height=0);this.tS();this.Aa=this.Qh=this.aa=null};e.prototype.NY=function(){return this.tb};return e});
define("dh","require exports ky oH hT cq ll three.mod".split(" "),function(a,e,h,m,k,b,g,d){var c=["alphaMap"];return function(){function f(l,p,q){this.pYa=function(n){this.UX!=n&&(this.IAa(),this.UX=n,this.NWa())};this.Yb=l;this.level=p;this.$a=q;this.AZ=this.AZ.bind(this);h.fa(this.level,c,this.AZ,!0)}f.prototype.dispose=function(){h.ba(this.level,c,this.AZ);this.IAa();this.wUa()};f.prototype.NY=function(){return this.texture};f.prototype.AZ=function(){this.pYa(this.level.get("alphaMapURL"))};f.prototype.NWa=
function(){this.UX&&(this.fD=new b,this.fD.MI([this.UX]),this.fD.bind(m.Z,this.Qxa,this,!0),g.ln(this.fD,this.Yb.get("loadPriority",k.Xk)))};f.prototype.IAa=function(){this.fD&&(this.fD.unbind(m.Z,this.Qxa,this,!0),g.gj(this.fD,this.Yb.get("loadPriority",k.Xk)),this.eua=this.fD=null)};f.prototype.Qxa=function(){this.eua=g.sf(this.UX);this.createTexture();this.$a()};f.prototype.createTexture=function(){this.texture=new d.Texture;this.texture.image=this.eua;this.texture.generateMipmaps=!1;this.texture.minFilter=
d.LinearFilter;this.texture.magFilter=d.LinearFilter;this.texture.format=d.RGBAFormat;this.texture.needsUpdate=!0};f.prototype.wUa=function(){this.texture&&(this.texture.dispose(),this.texture=null)};return f}()});
define("kE",["require","gc"],function(a){var e=a("gc");return{jBa:function(){this.blending=0;this.vI=void 0;this.Yza=this.threshold=0},TCa:function(){this.rz=!1;this.height=this.width=100},create:function(h,m,k){var b=h.rz&&e.wwa(),g=h.rz&&e.vwa(),d=void 0,c=!b,f={uniforms:{},transparent:!0};f.uniforms.text1={type:"sampler2D",value:null};f.uniforms.textAlpha={type:"sampler2D",value:null};f.uniforms.validTextAlpha={type:"bool",value:!1};f.uniforms.opacity={type:"float",value:1};f.vertexShader=["varying vec2 vUV;\nvoid main() {",
"\tvUV = vec2( uv.x, "+(b?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(g||m.blending||m.vI){b=[];var l=[];b=b.concat(["uniform sampler2D text1;","uniform sampler2D textAlpha;","uniform bool validTextAlpha;","uniform float opacity;","varying vec2 vUV;"]);l=l.concat(["   vec4 color = texture2D(text1, vUV);","   float alpha = color.a * opacity;","   if (validTextAlpha)","       alpha *= texture2D(textAlpha, vUV).r;"]);m.blending&&
(d=.5*Math.min(h.width,h.height)*m.blending,f.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(d/h.width,d/h.height)},b=b.concat(["uniform vec2 blendingLimit;"]),l=l.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x < blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) < blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y < blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) < blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(",")));
m.vI&&(f.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(m.vI.substr(1,2),16)/255,parseInt(m.vI.substr(3,2),16)/255,parseInt(m.vI.substr(5,2),16)/255)},f.uniforms.chromaThreshold={type:"f",value:m.threshold},f.uniforms.chromaSmoothing={type:"f",value:m.Yza},b=b.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),l=l.concat("    float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;{    float maskCr = 0.7132 * (chromaColor.r - maskY);{    float maskCb = 0.5647 * (chromaColor.b - maskY);{    float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;{    float Cr = 0.7132 * (color.r - Y);{    float Cb = 0.5647 * (color.b - Y);{    float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));{    alpha = alpha * chromaBlendValue;".split("{")));
l=l.concat(["\tgl_FragColor = vec4(color"+(g?".bgr":".rgb")+", alpha);"]);d=THREE.RGBAFormat;f.fragmentShader=[].concat(b,["void main() {"],l,["}"]).join("\n")}else f.fragmentShader="uniform sampler2D text1;\nuniform sampler2D textAlpha;\nuniform bool validTextAlpha;\nuniform float opacity;\nvarying vec2 vUV;\nvoid main() {\n   vec4 color = texture2D(text1, vUV);\n   float alpha = color.a * opacity;\n   if (validTextAlpha)\n       alpha *= 1.0 - texture2D(textAlpha, vUV).r;\n\tgl_FragColor = vec4(color.rgb, alpha);\n}";
h=new THREE.ShaderMaterial(f);h.transparent=!0;h.depthWrite=!0;h.side=THREE.FrontSide;h.depthTest=!0;h.needsUpdate=!0;h.userData.zAa=c;h.userData.AAa=d;this.$D(h,k);return h},$D:function(h,m){h.uniforms.text1.value!==m&&(void 0!==h.userData.zAa&&(m.flipY=h.userData.zAa),void 0!==h.userData.AAa&&(m.format=h.userData.AAa),h.uniforms.text1.value=m)},Q_a:function(h,m){h.uniforms.textAlpha.value!==m&&(h.uniforms.textAlpha.value=m,h.uniforms.validTextAlpha.value=!!m)}}});
define("kh",["require","od","oH"],function(a){function e(m,k){this.Nc=m;this.aa=k;this.N1=[];this.A2();this.ki()}a("od");var h=a("oH");e.prototype.clear=function(){this.BFa();this.U$();this.aa=this.Nc=null};e.prototype.A2=function(){this.aa.bind(h.Wk,this.ki,this,!0)};e.prototype.U$=function(){this.aa.unbind(h.Wk,this.ki,this,!0)};e.prototype.ki=function(){this.Nc.set("activeSubtitles",this.N1=this.aa.nr)};e.prototype.BFa=function(){this.Nc.get("activeSubtitles")==this.N1&&this.Nc.set("activeSubtitles",
this.N1=[])};return e});
define("gX","require ky oH kO gp w dh kE gc fA kh od".split(" "),function(a){function e(n){this.o=n;this.EU=this.EU.bind(this);n=n.getComponent(l.Cn);this.oe=n.Ea;this.m=n.Yb;this.GX=n.Oea;this.mc=this.o.S.mc;this.Aa=this.Aa.bind(this);this.Zf=!1;this.Ya=null;h.fa(this.GX,["levels.url","levels.srcObject","levels.width","levels.height"],this.EU,!0)}var h=a("ky"),m=a("oH"),k=a("kO"),b=a("gp"),g=a("w"),d=a("dh"),c=a("kE"),f=a("gc"),l=a("fA"),p=a("kh"),q=a("od");e.prototype.update=function(){this.Zf&&
(this.Zf=!1,this.to.update(),c.$D(this.ha,this.to.NY()),c.Q_a(this.ha,this.T1.NY()))};e.prototype.EU=function(){this.oN(q.Jj(this.GX))};e.prototype.oN=function(n){n=n&&(n.get("url")||n.get("srcObject"))?n:null;this.Ya!=n&&(this.Ya&&(this.Ita.dispose(),this.Ita=null,this.m.unbind(m.G("opacity"),this.Hoa,this,!0),this.V3(),this.to.dispose(),this.to=null,this.T1.dispose(),this.T1=null,this.nHa(),this.Zf=!1),this.Ya=n)&&(this.YGa(),this.Ita=new b(this.aa,this.m,this.oe,this.Aa),this.to=new g(this.aa,
this.m,this.Ya,this.Aa),this.T1=new d(this.m,this.Ya,this.Aa),this.Yt(),this.m.bind(m.G("opacity"),this.Hoa,this,!0),this.hra(this.wb=this.m.get("opacity",1)),this.Zf=!1,this.Aa())};e.prototype.Aa=function(){this.Zf||(this.Zf=!0,this.o.S.$a())};e.prototype.YGa=function(){this.aa=new q(this.o.S.mc,this.GX);this.rv=new p(this.m,this.aa)};e.prototype.nHa=function(){this.aa.Jd(k.T);this.aa.clear();this.aa=null;this.rv.clear();this.rv=null};e.prototype.Yt=function(){var n=new c.TCa;n.rz=!this.Ya.get("srcObject")&&
f.rz(this.Ya.get("url"));n.width=this.Ya.get("width");n.height=this.Ya.get("height");var r=new c.jBa;r.blending=this.m.get("blending",0);r.vI=this.m.get("chromaColor");r.threshold=this.m.get("chromaThreshold",0);r.Yza=this.m.get("chromaSmoothing",0);this.ha=c.create(n,r,this.to.NY());this.o.H(l.Material).material=this.ha};e.prototype.V3=function(){this.ha.dispose();this.ha=null;this.o.ma(l.Material)};e.prototype.dispose=function(){this.oN(null);this.m.set("state",k.T);this.o=this.oe=this.m=this.mc=
null;h.ba(this.GX,["levels.url","levels.srcObject","levels.width","levels.height"],this.EU)};e.prototype.Hoa=function(){var n=this.m.get("opacity");this.wb!=n&&(this.hra(this.wb=n),this.Aa())};e.prototype.hra=function(n){this.ha.opacity=n;this.ha.isShaderMaterial&&this.ha.uniforms.opacity&&(this.ha.uniforms.opacity.value=n)};e.Ob=function(n){n.H(l.Lw).manager=new e(n)};e.eb=function(n){var r=n.getComponent(l.Lw);r.manager.dispose();r.manager=null;n.ma(l.Lw)};e.update=function(n){n.getComponent(l.Lw).manager.update()};
return e});define("ev",["require","lo","ly","fA","gX"],function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("gX");a=e.extend(h,function(){h.apply(this,arguments)});a.prototype.yd=function(){this.Vl.C.length&&this.Vl.C.slice().forEach(k.Ob);this.Wl.C.length&&this.Wl.C.slice().forEach(k.eb);this.materials.C.length&&this.materials.C.slice().forEach(k.update)};a.K={};a.K.Vl=[m.Cn,m.Lw.not];a.K.materials=[m.Cn,m.Lw];a.K.Wl=[m.Cn.not,m.Lw];return a});
define("oy",["require","lo","ly","cm","fA"],function(a){var e=a("lo"),h=a("ly"),m=a("cm"),k=a("fA");a=e.extend(h,function(){h.apply(this,arguments);this.P9=this.P9.bind(this);this.tH=this.tH.bind(this)});a.prototype.yd=function(){this.Pea.de.length&&this.Pea.de.slice().forEach(this.P9);this.GD.Ua.length&&this.GD.Ua.slice().forEach(this.tH);this.Rs.Ua.length&&this.Rs.Ua.slice().forEach(this.tH);this.GD.de.length&&this.GD.de.slice().forEach(this.tH);this.Rs.de.length&&this.Rs.de.slice().forEach(this.tH)};
a.prototype.P9=function(b){var g=b.getComponent(k.Zj),d=m.Rba(g.ke),c=d&&d.width||100;d=d&&d.height||100;if(g.width!=c||g.height!=d)g=b.J(k.Zj),g.width=c,g.height=d};a.prototype.tH=function(b){var g=m.Rba(b);this.Pea.C.forEach(function(d){if(d.getComponent(k.Zj).ke==b){var c=d.getComponent(k.Zj);if(c.width!=g.width||c.height!=g.height)c=d.J(k.Zj),c.width=g.width,c.height=g.height}})};a.K={};a.K.Pea=[k.Zj];a.K.GD=[k.OrthographicCamera];a.K.Rs=[k.PerspectiveCamera];return a});
define("dY",["require"],function(){return{create:function(){var a=new THREE.BufferGeometry;a.setAttribute("position",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("normal",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("uv",new THREE.BufferAttribute(new Float32Array(12),2));a.setIndex(new THREE.BufferAttribute(new Uint32Array(6),1));return a},set:function(a,e,h,m,k,b,g,d,c,f,l,p,q,n,r){var t=a.getAttribute("position").array,u=a.getAttribute("normal").array,v=
a.getAttribute("uv").array,w=a.getIndex().array;t[9]=t[0]=e;t[10]=t[1]=h;t[11]=t[2]=m;v[6]=v[0]=k;v[7]=v[1]=b;t[3]=t[0]+l;t[4]=t[1]+p;t[5]=t[2]+q;v[2]=v[0];v[3]=v[1]+n;t[12]=t[6]=t[3]+g;t[13]=t[7]=t[4]+d;t[14]=t[8]=t[5]+c;v[8]=v[4]=v[2]+f;v[9]=v[5]=v[3];t[15]=t[12]-l;t[16]=t[13]-p;t[17]=t[14]-q;v[10]=v[8];v[11]=v[9]-n;e=d*q-c*p;c=c*l-g*q;g=g*p-d*l;d=1/Math.sqrt(e*e+c*c+g*g);u[0]=u[3]=u[6]=u[9]=u[12]=u[15]=e*d;u[1]=u[4]=u[7]=u[10]=u[13]=u[16]=c*d;u[2]=u[5]=u[8]=u[11]=u[14]=u[17]=g*d;w[0]=0;w[1]=2;
w[2]=1;w[3]=3;w[4]=5;w[5]=4;a.getAttribute("position").needsUpdate=!0;a.getAttribute("normal").needsUpdate=!0;a.getAttribute("uv").needsUpdate=!0;a.clearGroups();a.addGroup(0,6,r);a.computeBoundingBox();a.computeBoundingSphere();return a}}});
define("ol",["require","oH","lr"],function(a){function e(k,b,g){this.Ap=k;this.m=b;this.y5=g;this.dW=this.dW.bind(this);this.GE=void 0;this.m.forEach(function(d){this.Ap.bind(h.G(d),this.XB,this,!0)}.bind(this));this.dW()}var h=a("oH"),m=a("lr");e.prototype.stop=function(){this.m.forEach(function(k){this.Ap.unbind(h.G(k),this.XB,this,!0)}.bind(this));this.GE&&(m.cancel(this.GE),this.GE=void 0)};e.prototype.XB=function(){this.GE||(this.GE=m.zz(this.dW))};e.prototype.dW=function(){this.GE=void 0;var k=
this.Ap;this.y5.apply(window,this.m.map(function(b){return k.get(b)}))};return e});
define("ft","require lo ly fA dY ol cm mQ md".split(" "),function(a){var e=a("lo"),h=a("ly"),m=a("fA"),k=a("dY"),b=a("ol"),g=a("cm"),d=a("mQ"),c=a("md"),f=e.extend(h,function(){h.apply(this,arguments);this.O9=this.O9.bind(this);this.qaa=this.qaa.bind(this);this.r$=this.r$.bind(this)});f.prototype.yd=function(){this.KP.C.length&&this.KP.C.slice().forEach(this.O9);this.planes.Ua.length&&this.planes.Ua.slice().forEach(this.qaa);this.Eya.C.length&&this.Eya.C.slice().forEach(this.r$)};f.prototype.O9=function(l){var p=
l.getComponent(m.Mw),q=l.H(m.Zj);q.ke=p.ke;var n=g.Rba(p.ke);n&&(q.width=n.width,q.height=n.height);q=l.H(m.At);q.geometry=k.create();q.Rya=new b(p.Yb,"width height horizontalAlign verticalAlign scaleMode zIndex".split(" "),function(r,t,u,v,w,x){var y=l.J(m.At);y.aAa=r;y.Zza=t;y.xwa=u;y.verticalAlign=v;y.gza=w;y.zIndex=x});l.H(m.Geometry).geometry=q.geometry};f.prototype.r$=function(l){var p=l.getComponent(m.At);p.geometry.dispose();p.geometry=null;p.Rya.stop();p.Rya=null;l.ma(m.Geometry);l.ma(m.Zj);
l.ma(m.At)};f.prototype.qaa=function(l){var p=l.getComponent(m.At),q=l.getComponent(m.Zj),n=q.width,r=q.height,t=p.aAa,u=p.Zza;switch(p.gza){case c.NONE:q=t;var v=u;break;case c.Xo:q=n;v=u*n/t;break;case c.Tj:v=r;q=t*r/u;break;case c.Wq:t*r>u*n?(v=r,q=t*r/u):(q=n,v=u*n/t);break;default:t*r>u*n?(q=n,v=u*n/t):(v=r,q=t*r/u)}switch(p.xwa){case d.Pa:n=.5*-n;break;case d.hb:n=.5*n-q;break;default:n=.5*-q}switch(p.verticalAlign){case d.uc:r=.5*r-v;break;case d.pc:r=.5*-r;break;default:r=.5*-v}t=p.zIndex-
f.WBa;k.set(p.geometry,n,r,0,0,0,q,0,0,1,0,v,0,1,0);l.J(m.ya,!0).positionZ=t;l.S.$a()};f.WBa=100;f.K={};f.K.KP=[m.Mw,m.At.not];f.K.planes=[m.Mw,m.At,m.Zj];f.K.Eya=[m.Mw.not,m.At];return f});
define("iB","require mX o mR hS ha ik kV hI lt mx iM oJ or fM eS hx f kU hb gW mG df is me lu eU nq io kZ ez kp ev oy ft".split(" "),function(a){var e=a("mX"),h=a("o"),m=a("mR"),k=a("hS"),b=a("ha"),g=a("ik"),d=a("kV"),c=a("hI"),f=a("lt"),l=a("mx"),p=a("iM"),q=a("oJ"),n=a("or"),r=a("fM"),t=a("eS"),u=a("hx"),v=a("f"),w=a("kU"),x=a("hb"),y=a("gW"),A=a("mG"),B=a("df"),z=a("is"),C=a("me"),H=a("lu"),D=a("eU"),I=a("nq"),F=a("io"),N=a("kZ"),S=a("ez"),Q=a("kp"),R=a("ev"),W=a("oy");a=a("ft");var G={};G.Animation=
e;G.cm=h;G.uw=m;G.Camera=k;G.iBa=b;G.Yh=g;G.yw=d;G.jt=c;G.Group=f;G.gm=l;G.Xg=p;G.Light=q;G.Line=n;G.Yq=r;G.$h=t;G.ot=u;G.Mesh=v;G.sh=w;G.jCa=x;G.jb=A;G.Plane=y;G.ij=B;G.Wj=z;G.er=C;G.th=H;G.Scene=D;G.Selection=I;G.Fc=F;G.Sphere=N;G.Sprite=S;G.ya=Q;G.Cn=R;G.Zj=W;G.Mw=a;return G});
define("nL",["require","v"],function(a){var e=a("v");return{CAa:function(h,m){m||(m="screenshot.jpg");a:{try{var k=h.toDataURL("image/jpeg");break a}catch(c){}k=void 0}if(!k)return!1;var b=k;h=document.createElement("a");if("string"===typeof h.download)document.body.appendChild(h),h.download=m,h.href=b,h.click(),document.body.removeChild(h);else if(e.browser()==e.tw){h=window.navigator;k=h.msSaveOrOpenBlob;b=atob(b.split(",")[1]);for(var g=[],d=0;d<b.length;d++)g.push(b.charCodeAt(d));b=new Blob([new Uint8Array(g)],
{type:"image/jpeg"});k.call(h,b,m)}else window.location.replace(b);return!0}}});
define("gj","require lo oH e cc kb lg fA iB nL".split(" "),function(a){function e(n){return n.map(function(r){return String.fromCharCode(r)}).join("")}var h=a("lo"),m=a("oH"),k=a("e"),b=a("cc"),g=a("kb"),d=a("lg"),c=a("fA"),f=a("iB"),l=a("nL");a=h.extend(k,function(n,r){k.call(this);this.mc=n;this.nTa=r;this.$y=(new d(n)).ra(c.cE).ra(c.Animation).ra(c.Ys).ra(c.Mz).ra(c.cm).ra(c.sw).ra(c.Nz).ra(c.uw).ra(c.vw).ra(c.Vq).ra(c.ct).ra(c.Yh).ra(c.ww).ra(c.KQ).ra(c.Po).ra(c.xw).ra(c.yw).ra(c.hA).ra(c.it).ra(c.iA).ra(c.kt).ra(c.jt).ra(c.Xq).ra(c.Geometry).ra(c.Group).ra(c.mE).ra(c.gm).ra(c.Dw).ra(c.Light).ra(c.mt).ra(c.Line).ra(c.Xg).ra(c.Ew).ra(c.Yq).ra(c.Gw).ra(c.Fw).ra(c.Material).ra(c.$h).ra(c.Hw).ra(c.ot).ra(c.ap).ra(c.Mesh).ra(c.ar).ra(c.sh).ra(c.pt).ra(c.lJ).ra(c.fCa).ra(c.bp).ra(c.nA).ra(c.Object3D).ra(c.sE).ra(c.qt).ra(c.oA).ra(c.rt).ra(c.OrthographicCamera).ra(c.Iw).ra(c.PerspectiveCamera).ra(c.cr).ra(c.jb).ra(c.br).ra(c.ij).ra(c.pA).ra(c.Plane).ra(c.tt).ra(c.ef).ra(c.ut).ra(c.Wj).ra(c.dr).ra(c.vt).ra(c.er).ra(c.wt).ra(c.Fc).ra(c.yt).ra(c.ya).ra(c.tA).ra(c.Lf).ra(c.th).ra(c.gr).ra(c.Scene).ra(c.ir).ra(c.ld).ra(c.qA).ra(c.Sphere).ra(c.rA).ra(c.Sprite).ra(c.jr).ra(c.Fc).ra(c.yt).ra(c.Cn).ra(c.Lw).ra(c.Zj).ra(c.Mw).ra(c.At).ra(c.xE).Id(f.Camera,"Camera").Id(f.Zj,
"Viewport").Id(f.gm,"ImageMaterial").Id(f.Yh,"CanvasMaterial").Id(f.Xg,"LineMaterial").Id(f.Fc,"SolidMaterial").Id(f.Cn,"VideoMaterial").Id(f.ot,"MaterialVariant").Id(f.Mw,"ViewportPlaneGeometry").Id(f.Group,"Group").Id(f.Line,"Line").Id(f.Mesh,"Mesh").Id(f.Plane,"Plane").Id(f.Sphere,"Sphere").Id(f.Sprite,"Sprite").Id(f.sh,"Model").Id(f.er,"ProjectedMaterial").Id(f.Light,"Light").Id(f.Scene,"Scene").Id(f.jb,"Parent").Id(f.jCa,"ObjectId").Id(f.Animation,"Animation").Id(f.$h,"ObjectTransform").Id(f.jt,
"FloorTransform").Id(f.iBa,"CameraControls").Id(f.yw,"Dragging").Id(f.Selection,"Selection").Id(f.Wj,"PointerOverTransform").Id(f.ij,"PixelScaleTransform").Id(f.ya,"Transform").Id(f.cm,"Area").Id(f.Yq,"LineToTransform").Id(f.Camera.dE,"CameraAutoNearFar").Id(f.uw,"Beacon").Id(f.th,"Renderer");this.j=this.$y.ad("Renderer");this.BC=[];this.LC=!1;this.AK=new g;this.Bb().append(this.AK.Ac());this.bind(m.kd,this.rk,this,!0);this.bind(m.sd,this.lk,this,!0)});a.prototype.ad=function(n){return this.$y.ad(n)};
a.prototype.Qe=function(n){this.$y.Qe(n)};a.prototype.cua=function(n){!(0<=this.BC.indexOf(n))&&(this.BC.push(n),n=this.j.J(c.th))&&(n.UP=this.BC.slice())};a.prototype.bYa=function(n){n=this.BC.indexOf(n);!(0>n)&&(this.BC.splice(n,1),n=this.j.J(c.th))&&(n.UP=this.BC.slice())};a.prototype.a_=function(n){this.$y.a_(n)};a.prototype.MZa=function(){if(1!=this.LC){this.LC=!0;var n=this.j.J(c.th);n&&(n.shadowMap=this.LC)}};a.prototype.nc=function(n){this.$y.nc(n)};a.prototype.LD=function(){this.AK.trigger();
this.$y.update();return l.CAa(this.j.getComponent(c.th).canvas)};a.prototype.xba=function(){this.$y.update();return this.j.getComponent(c.th).canvas.toDataURL("image/png")};a.prototype.rk=function(){this.eQa()};a.prototype.lk=function(){this.YQa()};a.prototype.eQa=function(){var n=this.j.getComponent(c.th);if(!n&&(n=this.j.H(c.th),n.WH=document.createElement("div"),this.Bb().WX(n.WH),n.UP=this.BC.slice(),n.antialias=!0,n.shadowMap=this.LC,this.mc.get(p)&&this.nTa)){this.xO=document.createElement("div");
for(var r in q)this.xO.style[r]=q[r];this.Bb().WX(this.xO)}};a.prototype.YQa=function(){var n=this.j.getComponent(c.th);n&&(this.Bb().Yya(n.WH),this.xO&&this.Bb().Yya(this.xO),this.xO=null,this.j.ma(c.th))};var p=e([119,97,116,101,114,109,97,114,107]),q={};q[e([104,101,105,103,104,116])]=e([49,48,48,37]);q[e([119,105,100,116,104])]=e([49,48,48,37]);q[e([112,111,115,105,116,105,111,110])]=e([97,98,115,111,108,117,116,101]);q[e([116,111,112])]=0;q[e([108,101,102,116])]=0;q[e([98,97,99,107,103,114,111,
117,110,100,73,109,97,103,101])]=e([117,114,108,40,34])+b.UCa+e([34,41]);q[e([98,97,99,107,103,114,111,117,110,100,80,111,115,105,116,105,111,110])]=e([99,101,110,116,101,114]);q[e([98,97,99,107,103,114,111,117,110,100,83,105,122,101])]=e([99,111,110,116,97,105,110]);q[e([112,111,105,110,116,101,114,69,118,101,110,116,115])]=e([110,111,110,101]);q[e([98,97,99,107,103,114,111,117,110,100,82,101,112,101,97,116])]=e([110,111,45,114,101,112,101,97,116]);q[e([111,112,97,99,105,116,121])]=.5;return a});
define("eL",["require","ky","oH","nx","fA"],function(a){function e(c,f,l){this.j=c;this.da=f;this.Li=l;this.M=this.j.M;this.Ca=null;this.Xe=this.Xe.bind(this);this.j.bind(m.kc,this.hc,this,!0);this.da.bind(m.G("camera"),this.xU,this,!0);this.M.bind(m.G("isKeyboardTarget"),this.D7,this,!0);this.xU();this.D7();this.hc()}var h=a("ky"),m=a("oH"),k=a("nx"),b=a("fA");e.prototype.nc=function(c){for(var f in d){var l=this.Li.J(d[f]);l&&(l.enabled=c)}};e.prototype.dispose=function(){this.Ca&&(this.Q9(!1),
h.ba(this.Ca,g,this.Xe),this.Ca=null);this.da.unbind(m.G("camera"),this.xU,this,!0);this.da=null;this.M.unbind(m.G("isKeyboardTarget"),this.D7,this,!0);this.M=null;this.j.unbind(m.kc,this.hc,this,!0);this.Li=this.j=null};e.prototype.xU=function(){var c,f;for(f in d){var l=d[f];this.da.get("camera")&&k.Na(f,this.da.get("camera"))?c=this.Li.J(l,!0):this.Li.ma(l)}c&&(c.Yb=this.da.get("camera"),c.ng=this.j.getParent(),c.jza=this.M.jL,c.sz=this.M.get("isKeyboardTarget"))};e.prototype.D7=function(){var c=
this.da.get("camera"),f,l;for(l in d){var p=d[l];c&&k.Na(l,c)&&(f=this.Li.J(p,!0))}f&&(f.sz=this.M.get("isKeyboardTarget"));this.Ca!=c&&(this.Ca&&(this.Q9(!1),h.ba(this.Ca,g,this.Xe)),(this.Ca=c)&&h.fa(this.Ca,g,this.Xe,!0))};e.prototype.Xe=function(){var c=this.Li.J(b.PerspectiveCamera,!0);c.mua=this.Ca.get("autoNearFar");c.nua=this.Ca.get("autoNearFarTolerance");c.near=this.Ca.get("near");c.far=this.Ca.get("far");this.Q9(this.Ca.get("userInteracting"))};e.prototype.hc=function(){var c=this.Li.J(b.PerspectiveCamera,
!0);c.width=this.j.rf();c.height=this.j.qf()};e.prototype.Q9=function(c){this.Ph!=c&&(this.Ph=c,this.Ca&&this.Ca.trigger(this.Ph?m.Bga:m.Aga))};var g=["autoNearFar","autoNearFarTolerance","near","far","userInteracting"],d={OrbitModel3DCamera:b.oA,FirstPersonModel3DCamera:b.hA,FlyOverModel3DCamera:b.iA};return e});
define("nI",["require","exports","ky"],function(a,e,h){return function(){function m(){this.EP=this.EP.bind(this);this.SZ=this.object=null;this.elements=[];this.TO=new Map;this.Lya=this.pg=this.de=this.filter=null}m.prototype.oea=function(k,b){this.dispose();this.object=k;this.SZ=b;h.fa(this.object,[this.SZ],this.EP,!0)};m.prototype.EP=function(k){k=k||[];this.filter&&(k=k.filter(this.filter));var b=this.elements,g=this.elements=k;b.forEach(function(d,c){var f=g.indexOf(d);if(-1==f){var l=this.TO.get(d);
this.TO["delete"](d);this.pg&&this.pg(d,l)}else f!=c&&(l=this.TO.get(d),this.Lya&&(c=this.Lya(d,f,l,c),c!=l&&this.TO.set(d,c)))}.bind(this));g.forEach(function(d,c){-1==b.indexOf(d)&&this.de&&(c=this.de(d,c),this.TO.set(d,c))}.bind(this))};m.prototype.dispose=function(){this.object&&(h.ba(this.object,[this.SZ],this.EP),this.EP([]),this.SZ=this.object=null)};return m}()});
define("le",["require","exports","fA","nI"],function(a,e,h,m){return function(){function k(b,g){this.model=b;this.me=g;this.Fca=new Map;this.lZ=new m;this.lZ.de=this.iXa.bind(this);this.lZ.pg=this.jXa.bind(this);this.lZ.oea(this.model,"lights")}k.prototype.dispose=function(){this.lZ.dispose()};k.prototype.iXa=function(b){var g=this.me.S.ad("Light"),d=g.H(h.Light);d.Yb=b;d.target=this.me;this.Fca.set(b,g)};k.prototype.jXa=function(b){var g=this.Fca.get(b);this.Fca["delete"](b);this.me.S.Qe(g)};return k}()});
define("fJ",["require","exports","nx"],function(a,e,h){return function(){function m(){}m.Xv=function(k,b){m.QX[k]=b};m.OVa=function(k){for(var b in m.QX)if(h.Na(b,k))return!0;return!1};m.gUa=function(k,b,g,d,c){for(var f in m.QX)if(h.Na(f,k))return new m.QX[f](k,b,g,d,c);return null};m.QX={};return m}()});
define("pb",["require","exports","nI","fJ"],function(a,e,h,m){return function(){function k(b,g,d,c,f){this.jYa=b;this.model=g;this.me=d;this.Pca=c;this.renderer=f;this.filter=this.filter.bind(this);this.de=this.de.bind(this);this.pg=this.pg.bind(this);this.DD=new h;this.DD.filter=this.filter;this.DD.de=this.de;this.DD.pg=this.pg;this.DD.oea(this.model,"objects")}k.prototype.filter=function(b){return m.OVa(b)?!0:!1};k.prototype.de=function(b){return m.gUa(b,this.jYa,this.me,this.Pca,this.renderer)};
k.prototype.pg=function(b,g){g.dispose()};k.prototype.dispose=function(){this.DD.dispose()};return k}()});
define("iV",["require","exports","oH","nx"],function(a,e,h,m){return function(){function k(b,g){this.FL=b.FL;this.da=g;this.xj=[];this.FL.bind(h.G("spritesEnabled"),this.Voa,this,!0);this.da.bind(h.G("objects"),this.fC,this,!0);this.ea()}k.prototype.dispose=function(){this.FL.unbind(h.G("spritesEnabled"),this.Voa,this);this.da.unbind(h.G("objects"),this.fC,this);this.xj.forEach(function(b){b.Qda(!1)});this.xj=[]};k.prototype.Voa=function(){this.ea()};k.prototype.fC=function(){this.ea()};k.prototype.ea=
function(){var b=[];!1===this.FL.get("spritesEnabled")&&b.push("SpriteModel3DObject");var g=this.da.get("objects");this.xj.forEach(function(d){-1==g.indexOf(d)&&d.Qda(!1)});this.xj=g;this.xj.forEach(function(d){var c=b.some(function(f){return m.Na(f,d)});d.Qda(c)})};return k}()});
define("br",["require","exports","ky"],function(a,e,h){var m=["camera","objects","postprocessing"],k=["userInteracting","moving"];return function(){function b(g){this.model=g;this.camera=null;this.Go=[];this.$ca=this.$ca.bind(this);this.zZ=this.zZ.bind(this);h.fa(this.model,m,this.$ca,!0)}b.prototype.dispose=function(){this.fQ([])};b.prototype.$ca=function(){this.setCamera(this.model.get("camera"));this.fQ([].concat(this.model.get("objects"),this.model.get("postprocessing")))};b.prototype.setCamera=
function(g){this.camera!==g&&(this.camera&&h.ba(this.camera,k,this.zZ),(this.camera=g)&&h.fa(this.camera,k,this.zZ,!0))};b.prototype.zZ=function(){this.QAa()};b.prototype.fQ=function(g){this.Go!=g&&(g||(g=[]),this.Go&&this.Go.forEach(function(d){-1==g.indexOf(d)&&(d.lQ&&d.lQ(!1),d.fw&&d.fw(!1))}.bind(this)),this.Go=g,this.QAa())};b.prototype.QAa=function(){if(this.Go&&this.camera){var g=this.camera.get("userInteracting"),d=this.camera.get("moving");this.Go.forEach(function(c){c.lQ&&c.lQ(g);c.fw&&
c.fw(d)}.bind(this))}};return b}()});
define("ni","require exports ky fA pb iV br".split(" "),function(a,e,h,m,k,b,g){var d=["variant"];return function(){function c(f,l,p,q){this.object=f;this.model=l;this.dda=p;this.renderer=q;this.JZ=this.JZ.bind(this);this.Y=this.dda.S.ad("Model");f=this.Y.H(m.sh);this.NO=f.NO=this.dda.S.ad("ModelContent");this.NO.H(m.jb).Y=this.Y;f.Ea=this.object;this.object.get("preload")&&(f.Mya=this.model.KY().gz());f.Eo=this.model.GY().gz();f.Qca=this.object.get("model");f.Yb=this.object;f=this.Y.H(m.ld);f.Ea=
this.object;f.Iv=!0;f.aw=!0;this.Y.H(m.jb).Y=this.dda;this.Y.H(m.ya);h.fa(this.object,d,this.JZ,!0);this.DD=new k(this.model,this.object,this.Y,this.NO,this.renderer);this.q_a=new b(this.renderer,this.object);this.a0a=new g(this.model)}c.prototype.Gs=function(){return this.Y};c.prototype.dispose=function(){h.ba(this.object,d,this.JZ);this.Y.S.Qe(this.NO);this.Y.S.Qe(this.Y);this.DD.dispose();this.q_a.dispose();this.a0a.dispose()};c.prototype.JZ=function(){var f=this.object.get("variant");f?this.Y.J(m.ot,
!0).name=f:this.Y.ma(m.ot)};return c}()});
define("dT","require exports ky oH hT fA three.mod".split(" "),function(a,e,h,m,k,b,g){var d=["collidable"],c=["image"],f=["color","depthTest","opacity","width"],l=["parentId"],p=["maxWorldToPixelScale","minWorldToPixelScale","scale"],q="x y z normalX normalY normalZ upX upY upZ width height attachToParent".split(" "),n=new g.Matrix4,r=new g.Vector3,t=new g.Vector3,u=new g.Vector3,v=new g.Euler,w=180/Math.PI,x="x y z positionX positionY positionZ rotationX rotationY rotationZ scale translationX translationY translationZ attachToParent".split(" "),y=
["clickEnabled","rollOverEnabled","transparentAreaActive","useHandCursor"],A=["castShadow","receiveShadow"],B=["color","depthTest","hidden","opacity"],z=["video"],C=["hidden","enabled","opacity"];return{cJ:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);h.fa(this.object,d,this.Rxa||(this.Rxa=this.$Wa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,d,this.Rxa);D.prototype.gd.call(this)};
I.prototype.$Wa=function(){this.object.get("collidable")?this.Y.ma(b.lJ):this.Y.H(b.lJ)};return I}(H)},gm:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Eo=this.model.GY().gz();this.object.get("preload")&&this.model.KY().FH(this.Eo);var F=this.Y.H(b.gm);F.Yb=this.object;F.Ea=this.object;F.isSprite=!1;F.priority=this.object.get("preload")?k.lA:k.zfa;F.Eo=this.Eo;h.fa(this.object,c,this.Uxa||
(this.Uxa=this.fXa.bind(this)),!0)};I.prototype.gd=function(){this.model.GY().DI(this.Eo);this.model.KY().DI(this.Eo);h.ba(this.object,c,this.Uxa);D.prototype.gd.call(this)};I.prototype.fXa=function(){this.Y.J(b.gm).rca=this.object.get("image")};return I}(H)},Xg:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Y.H(b.Xg);h.fa(this.object,f,this.Vxa||(this.Vxa=this.kXa.bind(this)),!0)};I.prototype.gd=
function(){h.ba(this.object,f,this.Vxa);D.prototype.gd.call(this)};I.prototype.kXa=function(){var F=this.Y.J(b.Xg);F.color=this.object.get("color");F.opacity=this.object.get("opacity");F.depthTest=this.object.get("depthTest");F.width=this.object.get("width")};return I}(H)},Plane:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Y.H(b.Plane);this.Y.H(b.ya);h.fa(this.object,q,this.gya||(this.gya=
this.nXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,q,this.gya);D.prototype.gd.call(this)};I.prototype.nXa=function(){r.set(0,0,0);u.set(this.object.get("upX",0),this.object.get("upY",1),this.object.get("upZ",0));t.set(this.object.get("normalX",0),this.object.get("normalY",0),this.object.get("normalZ",1)).multiplyScalar(-1);n.lookAt(r,t,u);v.setFromRotationMatrix(n);var F=this.Y.J(b.ya);F.Gv=this.object.get("attachToParent");F.translationX=this.object.get("x",0);F.translationY=this.object.get("y",
0);F.cf=this.object.get("z",0);F.Gf=this.object.get("width",1);F.Tf=this.object.get("height",1);F.Se=v.x*w;F.se=v.y*w;F.Te=v.z*w;F.positionX=0;F.positionY=0;F.positionZ=0};return I}(H)},jb:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Y.H(b.jb).Y=this.me;h.fa(this.object,l,this.eya||(this.eya=this.lXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,l,this.eya);D.prototype.gd.call(this)};
I.prototype.lXa=function(){this.Y.J(b.jb).id=this.object.get("parentId")};return I}(H)},uCa:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);h.fa(this.object,p,this.fya||(this.fya=this.mXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,p,this.fya);D.prototype.gd.call(this)};I.prototype.mXa=function(){var F=this.object.get("maxWorldToPixelScale"),N=this.object.get("minWorldToPixelScale");
if(void 0!==F||void 0!==N){var S=this.Y.J(b.ij,!0);S.uz=F;S.vz=N;S.Gf=S.Tf=S.nh=this.object.get("scale")}else null===(S=this.Y)||void 0===S?void 0:S.ma(b.ij)};return I}(H)},ega:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Y.H(b.ya);h.fa(this.object,x,this.hya||(this.hya=this.oXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,x,this.hya);D.prototype.gd.call(this)};I.prototype.oXa=
function(){var F=this.Y.J(b.ya);F.Gv=this.object.get("attachToParent");F.positionX=this.object.get("x",this.object.get("positionX",0));F.positionY=this.object.get("y",this.object.get("positionY",0));F.positionZ=this.object.get("z",this.object.get("positionZ",0));F.bg=this.object.get("rotationOrder","XYZ");F.Se=this.object.get("rotationX",0);F.se=this.object.get("rotationY",0);F.Te=this.object.get("rotationZ",0);F.scale=this.object.get("scale",1);F.translationX=this.object.get("translationX",0);F.translationY=
this.object.get("translationY",0);F.cf=this.object.get("translationZ",0)};return I}(H)},ld:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);h.fa(this.object,y,this.jya||(this.jya=this.qXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,y,this.jya);D.prototype.gd.call(this)};I.prototype.qXa=function(){var F=this.object.get("clickEnabled"),N=this.object.get("rollOverEnabled");if(!1!==F&&
!1!==N)this.Y.ma(b.bp);else{var S=this.Y.H(b.bp);S.Fea=!1===F;S.Gea=!1===N}!1===F&&!1===N?this.Y.ma(b.ld):(S=this.Y.J(b.ld,!0),S.Oo=this.object.get("useHandCursor"),S.wQ=this.object.get("transparentAreaActive"),S.Ea=this.object,S.Iv=!!F,S.aw=!!N)};return I}(H)},i1:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);h.fa(this.object,A,this.kya||(this.kya=this.rXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,
A,this.kya);D.prototype.gd.call(this)};I.prototype.rXa=function(){var F=this.Y.J(b.$h,!0);F.castShadow=this.object.get("castShadow");F.receiveShadow=this.object.get("receiveShadow")};return I}(H)},Fc:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);this.Y.H(b.Fc);this.visible=!1;h.fa(this.object,B,this.lya||(this.lya=this.sXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,B,this.lya);
this.wf(!1);D.prototype.gd.call(this)};I.prototype.sXa=function(){var F=this.Y.J(b.Fc);F.color=this.object.get("color");F.opacity=this.object.get("hidden")?0:this.object.get("opacity");F.depthTest=this.object.get("depthTest");this.wf(0<F.opacity)};I.prototype.wf=function(F){this.visible!=F&&((this.visible=F)?this.object.trigger(m.kd):this.object.trigger(m.sd))};return I}(H)},Cn:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);
var F=this.Y.H(b.Cn);F.Yb=this.object;F.Ea=this.object;h.fa(this.object,z,this.mya||(this.mya=this.tXa.bind(this)),!0)};I.prototype.gd=function(){h.ba(this.object,z,this.mya);D.prototype.gd.call(this)};I.prototype.tXa=function(){this.Y.J(b.Cn).Oea=this.object.get("video")};return I}(H)},Ega:function(H){return function(D){function I(){return null!==D&&D.apply(this,arguments)||this}Z(I,D);I.prototype.fd=function(){D.prototype.fd.call(this);h.fa(this.object,C,this.nya||(this.nya=this.uXa.bind(this)),
!0)};I.prototype.gd=function(){h.ba(this.object,C,this.nya);D.prototype.gd.call(this)};I.prototype.uXa=function(){var F=this.Y.J(b.$h,!0);F.opacity=this.object.get("enabled")&&!this.object.get("hidden")?this.object.get("opacity"):0;F.Ea=this.object};return I}(H)}}});
define("jz",["require","exports","ni","dT"],function(a,e,h,m){a=function(k){function b(g,d,c,f){g=k.call(this,g,d,c,f)||this;g.me=g.Y;g.fd();return g}Z(b,k);b.prototype.fd=function(){};b.prototype.gd=function(){};b.prototype.dispose=function(){this.gd();k.prototype.dispose.call(this)};return b}(h);return m.i1(a)});
define("gD",["require","exports","ky","oH"],function(a,e,h,m){return function(){function k(b,g){this.renderer=b;this.model=g;this.ue=this.renderer.M;this.CZ=this.CZ.bind(this);this.Go=[];this.Hz="";this.Qs=null;this.Ob()}k.prototype.dispose=function(){this.eb()};k.prototype.Ob=function(){h.fa(this.model,"objects",this.CZ,!0);this.model.bind(m.Wc,this.$xa,this,!0);this.model.bind(m.ac,this.Zxa,this,!0)};k.prototype.eb=function(){this.model.unbind(m.Wc,this.$xa,this);this.model.unbind(m.ac,this.Zxa,
this);h.ba(this.model,"objects",this.CZ);this.fQ([]);this.Qs&&this.GZ(this.Qs)};k.prototype.CZ=function(){this.fQ(this.model.get("objects"))};k.prototype.fQ=function(b){this.Go!=b&&(this.Go.forEach(function(g){g.unbind(m.Wc,this.dya,this);g.unbind(m.ac,this.cya,this)}.bind(this)),this.Qs&&0<=this.Go.indexOf(this.Qs)&&0>b.indexOf(this.Qs)&&this.GZ(this.Qs),this.Go=b,this.Go.forEach(function(g){g.bind(m.Wc,this.dya,this,!0);g.bind(m.ac,this.cya,this,!0)}.bind(this)))};k.prototype.dya=function(b){b=
b.source;this.iya(b,b.get("toolTip"))};k.prototype.cya=function(b){this.GZ(b.source)};k.prototype.$xa=function(){this.iya(this.model,this.model.get("toolTip"))};k.prototype.Zxa=function(){this.GZ(this.model)};k.prototype.GZ=function(b){this.Qs==b&&(this.Qs=null,this.Vza(""))};k.prototype.iya=function(b,g){this.Qs!=b&&(this.Qs=b,this.Vza(g||""))};k.prototype.Vza=function(b){this.Hz!=b&&(this.Hz=b,this.ue.set("toolTip",this.Hz))};return k}()});
define("lM",["require"],function(){function a(e){this.wc=this.Cr(e.get("surfaceReticleColor"));this.jv=this.Cr(e.get("surfaceReticleSelectionColor"));this.wb=e.get("surfaceReticleOpacity");this.EOa=e.get("surfaceReticleSelectionOpacity");this.yh=this.xf=128;this.bNa=.456;this.cNa=.088;this.CKa=.18;this.O=document.createElement("canvas");this.O.width=this.xf;this.O.height=this.yh;this.xa=this.O.getContext("2d");this.xa.fillStyle="red";this.xa.imageSmoothingEnabled=!0;this.xa.fillRect(0,0,this.xf,this.yh);
this.$c=this.St=!1;this.RF=this.dV=void 0;this.EA=0}a.prototype.W4=function(){return this.Bk(NaN*this.jv[0]+NaN*this.wc[0],NaN*this.jv[1]+NaN*this.wc[1])};a.prototype.Cr=function(e){e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]};a.prototype.Bk=function(e,h){return"rgba("+e.join(",")+", "+h+")"};a.prototype.setPosition=function(e){this.Za!=e&&(this.Za=e,this.va=!0)};a.prototype.rd=function(){return this.xf};a.prototype.ee=function(){return this.yh};
a.prototype.og=function(){return this.O};a.prototype.update=function(){if(!this.va)return!1;this.va=!1;this.xa.clearRect(0,0,this.xf,this.yh);var e=[this.jv[0]*this.Za+(1-this.Za)*this.wc[0],this.jv[1]*this.Za+(1-this.Za)*this.wc[1],this.jv[2]*this.Za+(1-this.Za)*this.wc[2]],h=this.EOa*this.Za+(1-this.Za)*this.wb;this.xa.strokeStyle=this.Bk(e,h);this.xa.fillStyle=this.Bk(e,h*this.Za);this.xa.beginPath();this.xa.lineWidth=this.xf*this.cNa;this.xa.arc(.5*this.xf,.5*this.xf,this.xf*this.bNa,0,2*Math.PI,
!1);this.xa.stroke();this.xa.beginPath();this.xa.arc(.5*this.xf,.5*this.xf,this.xf*this.CKa,0,2*Math.PI,!1);this.xa.fill();return!0};return a});define("hl",["require","lM"],function(a){return a("lM")});
define("iw","require ky oH gi hl v fA".split(" "),function(a){function e(l,p,q){this.da=l;this.Ga=p;this.j=q;this.M=this.j.M;this.Lu=this.Lu.bind(this);this.Ru=this.Ru.bind(this);this.$c=void 0;this.da.bind(m.G("surfaceSelectionEnabled"),this.s4,this,!0);this.s4()}var h=a("ky"),m=a("oH"),k=a("gi"),b=a("hl"),g=a("v"),d=a("fA");e.prototype.s4=function(){var l=this.da.get("surfaceSelectionEnabled")&&!g.kb();!!this.o!=l&&(l?this.hB():this.sp())};e.prototype.hB=function(){if(!this.o){this.o=this.Ga.S.ad("PointerReticle");
this.o.H(d.Plane).renderOrder=2;this.o.H(d.Wj).Y=this.Ga;this.o.H(d.bp);this.o.H(d.jb).Y=this.Ga;var l=this.o.H(d.Vq);l.Ea=new k;l.Ea.bind(m.pa,this.QL,this,!0);h.fa(this.da,c,this.Lu,!0);this.ks=new b(this.M);this.ks.setPosition(0);this.ks.update();l=this.o.H(d.Yh);l.source=this.ks.og();l.depthTest=!1;h.fa(this.da,f,this.Ru,!0);this.oe=null;this.IC(!1)}};e.prototype.sp=function(){this.o&&(this.oe&&(this.oe.trigger(m.ac),this.oe=null),h.ba(this.da,f,this.Ru),this.rN(null),this.o.getComponent(d.Vq).Ea.unbind(m.pa,
this.QL,this,!0),this.Ga.S.Qe(this.o),this.ks=this.o=null,h.ba(this.da,c,this.Lu))};e.prototype.Lu=function(){var l=this.o.J(d.ij,!0);l.Gf=l.Tf=2;l.scale=this.da.get("surfaceReticleRadius");l.uz=this.da.get("surfaceReticleMaxRadius");l.vz=this.da.get("surfaceReticleMinRadius")};e.prototype.QL=function(l){l=this.rJa(l);var p=this.yIa(l);0==p&&(l=null);this.MOa(l);this.cPa(p)};e.prototype.Ru=function(){this.rN(this.da&&this.da.get("pointer"))};e.prototype.rN=function(l){this.Rd!==l&&(this.Rd&&(this.Rd.unbind(m.qa,
this.Mr,this,!0),this.Rd.unbind(m.jc,this.kf,this,!0),this.Rd.unbind(m.ac,this.Om,this,!0)),this.Rd=l)&&(this.Rd.bind(m.qa,this.Mr,this,!0),this.Rd.bind(m.jc,this.kf,this,!0),this.Rd.bind(m.ac,this.Om,this,!0))};e.prototype.Mr=function(){this.oe&&this.oe.trigger(m.qa)};e.prototype.kf=function(){this.IC(!0)};e.prototype.Om=function(){this.IC(!1)};e.prototype.IC=function(l){this.$c!==l&&(this.$c=l,this.o.J(d.Yh).opacity=this.$c?1:0)};e.prototype.MOa=function(l){l=this.uka(l);this.oe!=l&&(this.oe&&this.oe.trigger(m.ac),
(this.oe=l)&&this.oe.trigger(m.Wc))};e.prototype.rJa=function(l){l=l.data.beacons;if(!l)return null;for(var p=0;p<l.length;p++)if(this.uka(l[p]))return l[p];return null};e.prototype.yIa=function(l){if(!l)return 0;var p=this.o.getComponent(d.ya);return p?Math.max(0,1-l.distance/(this.da.get("surfaceSelectionCoef")*p.scale*p.Gf)):0};e.prototype.uka=function(l){return(l=(l=l&&l.entity)&&l.getComponent(d.fJ))&&l.A_a||null};e.prototype.cPa=function(l){this.ks.setPosition(l);this.ks.update()&&(this.o.J(d.Yh).oQ=
(new Date).getTime())};e.prototype.dispose=function(){this.sp();this.da.unbind(m.G("surfaceSelectionEnabled"),this.s4,this,!0)};var c=["surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius"],f=["pointer"];return e});
define("la",["require","ky","oH","gi","fA"],function(a){function e(d,c,f){this.da=d;this.Ga=c;this.Li=f;this.W=!1;this.KU=this.KU.bind(this);h.fa(this.da,g,this.KU,!0)}var h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA");e.prototype.KU=function(){var d=!!this.da.get("maxNearestObjectsVisible");this.W!=d&&(this.W&&this.sp(),(this.W=d)&&this.hB())};e.prototype.hB=function(){var d=this.Li.H(b.Vq);d.Ea=new k;d.Ea.bind(m.pa,this.QL,this,!0);this.Ga.S.$a()};e.prototype.sp=function(){this.Li.getComponent(b.Vq).Ea.unbind(m.pa,
this.QL,this,!0);this.Li.ma(b.Vq);this.da.get("objects").forEach(function(d){d.get("hideBasedOnDistance")&&d.Rda(!1)})};e.prototype.QL=function(d){var c=0,f=this.da.get("maxNearestObjectsVisible");d.data.beacons.forEach(function(l){if(l=this.xIa(l))l.get("hideBasedOnDistance")?(l.Rda(c>=f),c++):l.Rda(!1)}.bind(this))};e.prototype.xIa=function(d){d=(d=d.entity.getComponent(b.fJ))&&d.object;d.get&&void 0!==d.get("hideBasedOnDistance")||(d=null);return d};e.prototype.dispose=function(){h.ba(this.da,
g,this.KU);this.W&&(this.W=!1,this.sp())};var g=["maxNearestObjectsVisible"];return e});
define("fC","require lo ky oH gi fA".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA");a=e.extend(k,function(d,c){k.call(this);this.ud=d;this.Ga=c;this.Cf=this.Cf.bind(this);this.o=null;this.Jk=0;this.Ib=!1;this.NM=[];this.ud.bind(m.G("areaOpacity"),this.loa,this);this.oH()});a.prototype.e_=function(d){this.NM.forEach(function(c){c.unbind(m.kd,this.Vd,this,!0);c.unbind(m.sd,this.Vd,this,!0)}.bind(this));this.NM=d;this.NM.forEach(function(c){c.bind(m.kd,this.Vd,this,!0);
c.bind(m.sd,this.Vd,this,!0)}.bind(this));this.Nsa();this.Vd()};a.prototype.dispose=function(){this.ud.unbind(m.G("areaOpacity"),this.loa,this);this.vv()};a.prototype.Gs=function(){return this.o};a.prototype.isVisible=function(){return this.Ib};a.prototype.loa=function(){this.oH();this.xo()};a.prototype.oH=function(){0<this.ud.get("areaOpacity")?this.Ny():this.vv()};a.prototype.Ny=function(){if(!this.o){this.o=this.Ga.S.ad("MeasureArea");var d=new k;d.bind(m.pa,this.gy,this,!0);this.o.H(b.cm).Ea=
d;this.o.H(b.Fc);this.o.H(b.jb).Y=this.Ga;h.fa(this.ud,g,this.Cf,!0);this.Nsa()}};a.prototype.vv=function(){this.o&&(this.o.getComponent(b.cm).Ea.unbind(m.pa,this.gy,this,!0),h.ba(this.ud,g,this.Cf),this.o.S.Qe(this.o),this.o=null)};a.prototype.es=function(d){this.Ib!=d&&((this.Ib=d)?(this.lo(1),this.trigger(m.kd)):(this.lo(0),this.trigger(m.sd)))};a.prototype.Vd=function(){this.es(this.NM.every(function(d){return d.isVisible()}))};a.prototype.gy=function(d){this.ud.set("area",d.data.area)};a.prototype.Cf=
function(){if(this.o){var d=this.o.J(b.Fc);d.color=this.ud.get("areaColor");d.depthTest=this.ud.get("depthTest");d.doubleSided=!0;this.xo()}};a.prototype.lo=function(d){this.Jk!=d&&(this.Jk=d,this.xo())};a.prototype.xo=function(){this.o&&(this.o.J(b.Fc).opacity=this.ud.get("areaOpacity")*Math.max(1E-4,this.Jk))};a.prototype.Nsa=function(){this.o&&(this.o.J(b.cm).C=this.NM.map(function(d){return d.Gs()}))};var g=["areaColor","areaOpacity","depthTest"];return a});
define("bR",["require","hs"],function(a){function e(b,g,d){k.style.fontFamily=m.Jv(g.fontFamily);k.style.fontSize=g.fontSize;k.style.fontWeight=g.fontWeight;k.style.fontStyle=g.fontStyle;k.innerHTML=b;document.body.appendChild(k);var c=new h(Math.ceil(k.clientWidth),Math.ceil(k.clientHeight));document.body.removeChild(k);d&&(d.font=g.fontSize+" "+m.Jv(g.fontFamily),b=d.measureText(b).width,c.height*=b/c.width,c.width=b);return c}function h(b,g){this.width=b;this.height=g}var m=a("hs"),k=document.createElement("div");
k.style.display="inline-block";k.style.margin=0;k.style.padding=0;k.style.whiteSpace="nowrap";e.j1=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};return e});
define("fp",["require","bR","hs"],function(a){function e(){this.H4=this.Cr("#ffffff");this.Uw=this.Cr("#000000");this.yh=this.xf=0;this.O=document.createElement("canvas");this.xa=this.O.getContext("2d");this.xa.imageSmoothingQuality="high";this.js=new m.j1;this.I4=this.tF=void 0;this.V1=this.W1=.5;this.wq=void 0;this.jH=e.O0;this.zv=void 0;this.NI(0)}function h(b){return 100<b?b.toFixed(0):10<b?b.toFixed(1):b.toFixed(2)}var m=a("bR"),k=a("hs");e.pfa="imperial area";e.qfa="imperial length";e.xfa="metric area";
e.O0="metric length";e.prototype.dispose=function(){this.O.width=this.O.height=0;this.O=null};e.prototype.MYa=function(b){this.H4!=b&&(this.H4=b,this.va=!0)};e.prototype.rYa=function(b){this.Uw!=b&&(this.Uw=b,this.va=!0)};e.prototype.NYa=function(b){this.I4!=b&&(this.I4=b,this.va=!0)};e.prototype.OYa=function(b){this.tF!=b&&(this.tF=b,this.va=!0)};e.prototype.zda=function(){.5!=this.js.HH&&(this.V1=.5,this.va=!0)};e.prototype.Ada=function(b){this.js.IH!=b&&(this.W1=b,this.va=!0)};e.prototype.NI=function(b){this.wq!=
b&&(this.wq=b,this.iaa())};e.prototype.UZa=function(b){this.jH!=b&&(this.jH=b,this.iaa())};e.prototype.VZa=function(b){this.zv!=b&&(this.zv=b,this.iaa())};e.prototype.iaa=function(){if(void 0===this.zv)this.Ta=h(this.wq);else if(this.jH==e.O0){var b=this.wq*this.zv;this.Ta=1<=b?h(b)+"m":h(100*b)+"cm"}else this.jH==e.xfa?(b=this.wq*this.zv*this.zv,this.Ta=.1<=b?h(b)+"m\u00b2":h(1E4*b)+"cm\u00b2"):this.jH==e.qfa?(b=this.wq*this.zv*1.0936,this.Ta=1760<b?h(b/1760)+"mi":100<=b?h(b)+"yd":1<=3*b?h(3*b)+
"ft":h(36*b)+"in"):this.jH==e.pfa&&(b=this.wq*this.zv*1.0936*this.zv*1.0936,this.Ta=1<=b?h(b)+"yd\u00b2":1<=9*b?h(9*b)+"ft\u00b2":h(1296*b)+"in\u00b2");this.va=!0};e.prototype.Cr=function(b){b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);return[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]};e.prototype.Bk=function(b,g){return"rgba("+b.join(",")+", "+g+")"};e.prototype.rd=function(){return this.xf};e.prototype.ee=function(){return this.yh};e.prototype.og=function(){return this.O};e.prototype.update=
function(){if(!this.va)return!1;this.va=!1;this.js.fontFamily=this.I4||"Arial";this.js.fontSize=this.tF?"string"==typeof this.tF?this.tF:this.tF+"px":"30px";var b=m(this.Ta,this.js),g=this.Cr(this.H4),d=this.Cr(this.Uw),c=b.width;b=b.height;var f=.5*b,l=.3*b,p=f+c+.5*b,q=l+b+.2*b,n=.5*q;this.O.width=this.O.height=this.xf=this.yh=Math.max(128,Math.pow(2,Math.ceil(Math.log(Math.max(p,q))/Math.LN2)));var r=this.xf*this.V1-p*this.V1,t=this.yh*this.W1-q*this.W1;this.TE();this.xa.save();this.xa.translate(r,
t);this.xa.fillStyle=this.Bk(d,1);this.xa.beginPath();this.xa.moveTo(0,n);this.xa.quadraticCurveTo(0,0,n,0);this.xa.lineTo(p-n,0);this.xa.quadraticCurveTo(p,0,p,n);this.xa.quadraticCurveTo(p,q,p-n,q);this.xa.lineTo(n,q);this.xa.quadraticCurveTo(0,q,0,q-n);this.xa.closePath();this.xa.fill();this.xa.fillStyle=this.Bk(g,1);this.xa.font=this.js.fontSize+" '"+this.js.fontFamily+"'";this.xa.font=this.js.fontSize+(isNaN(this.js.fontSize)?"":"px")+" "+k.Jv(this.js.fontFamily);this.xa.textBaseline="middle";
this.xa.textAlign="center";this.xa.fillText(this.Ta,Math.round(f+.5*c),Math.round(l+.5*b));this.xa.restore();return!0};e.prototype.TE=function(){this.xa.clearRect(0,0,this.xf,this.yh)};return e});
define("fx","require lo ky oH gi fA fp es".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA"),g=a("fp"),d=a("es");a=e.extend(k,function(f,l,p){k.call(this);this.c7=f;this.ud=l;this.Ga=p;this.Cf=this.Cf.bind(this);this.oo=this.o=null;this.Jk=0;this.Ib=!1;this.WW=this.Yg=this.zy=this.Vx=null;this.wq=void 0;this.Ih=new g;this.c7.bind(m.G("worldUnitToMeters"),this.T7,this,!0);this.ud.bind(m.G("units"),this.G7,this,!0);this.Ny()});a.prototype.Kza=function(f){this.sW(f,null,null)};
a.prototype.zZa=function(f){this.sW(null,f,null)};a.prototype.qYa=function(f){this.sW(null,null,f)};a.prototype.sW=function(f,l,p){if(this.zy!=l||this.Vx!=f||this.Yg!=p)[this.Vx,this.zy,this.Yg].forEach(function(q){q&&q.unbind(m.kd,this.Vd,this,!0);q&&q.unbind(m.sd,this.Vd,this,!0)}.bind(this)),this.vv(),this.Vx=f,this.zy=l,this.Yg=p,this.Ny(),this.Cf(),this.lg(!0),[this.Vx,this.zy,this.Yg].forEach(function(q){q&&q.bind(m.kd,this.Vd,this,!0);q&&q.bind(m.sd,this.Vd,this,!0)}.bind(this)),this.Vx?(this.o.J(b.jb).Y=
this.Vx.Gs(),this.o.J(b.ya).cf=.5,f=this.o.J(b.Sprite),f.HH=.5,f.IH=.5,this.Ih.zda(),this.Ih.Ada(.5)):this.zy?(this.o.J(b.jb).Y=this.zy.Gs(),this.o.J(b.ya).cf=0,f=this.o.J(b.Sprite),f.HH=.5,f.IH=1.1,this.Ih.zda(),this.Ih.Ada(1)):this.Yg?(this.o.J(b.jb).Y=this.Yg.Gs(),this.o.J(b.ya).cf=0,f=this.o.J(b.Sprite),f.HH=.5,f.IH=.5,this.Ih.zda(),this.Ih.Ada(.5)):this.o.J(b.jb).Y=null,this.Vd(),this.G7(),this.T7()};a.DCa="partialDistance";a.lga="distance";a.CCa="area";a.prototype.setStyle=function(f){this.WW!=
f&&(this.WW=f,this.Cf())};a.prototype.NI=function(f){void 0!==f&&this.wq!==f&&(this.wq=f,this.Ih.NI(f),this.lg(),this.Vd())};a.prototype.dispose=function(){this.c7.unbind(m.G("worldUnitToMeters"),this.T7,this,!0);this.ud.unbind(m.G("units"),this.G7,this,!0);this.sW(null,null);this.Ih.dispose();this.Ih=null;this.vv()};a.prototype.T7=function(){this.Ih.VZa(this.c7.get("worldUnitToMeters"));this.lg()};a.prototype.G7=function(){var f=this.ud.get("units"),l=!!this.Yg;this.Ih.UZa("imperial"==f?l?g.pfa:
g.qfa:l?g.xfa:g.O0);this.lg()};a.prototype.Ny=function(){if(!this.o){this.o=this.Ga.S.ad("MeasureLabel");this.o.H(b.Sprite).renderOrder=2;this.o.H(b.bp);var f=this.o.H(b.Yh);f.source=this.Ih.og();f.isSprite=!0;h.fa(this.ud,c,this.Cf,!0);this.o.H(b.ya);this.o.H(b.jb)}};a.prototype.vv=function(){this.o&&(h.ba(this.ud,c,this.Cf),this.o.S.Qe(this.o),this.o=null)};a.prototype.isVisible=function(){return this.Ib};a.prototype.es=function(f){this.Ib!=f&&((this.Ib=f)?(this.XPa(),this.trigger(m.kd)):(this.WQa(),
this.lo(0),this.trigger(m.sd)))};a.prototype.Vd=function(){this.es(0<this.wq&&(this.Vx&&this.Vx.isVisible()||this.zy&&this.zy.isVisible()||this.Yg&&this.Yg.isVisible()))};a.prototype.XPa=function(){this.oo||(this.oo=new d,this.oo.set("duration",300),this.oo.bind(d.d0,this.Uoa,this,!0),this.oo.bind(d.Qj,this.Toa,this,!0),this.oo.play())};a.prototype.WQa=function(){this.oo&&(this.oo.unbind(d.d0,this.Uoa,this,!0),this.oo.unbind(d.Qj,this.Toa,this,!0),this.oo.stop(),this.oo=null)};a.prototype.Uoa=function(){this.lo(2*
this.oo.Qk()-1)};a.prototype.Toa=function(){this.lo(1)};a.prototype.Cf=function(){this.o.J(b.Yh).depthTest=this.AF("depthTest");this.Ih.MYa(this.AF("labelFontColor"));this.Ih.rYa(this.AF("labelBackgroundColor"));this.Ih.NYa(this.AF("labelFontFamily"));this.Ih.OYa(this.AF("labelFontSize"));this.xo();this.lg()};a.prototype.AF=function(f){var l;this.WW&&(l=this.ud.get(this.WW+f[0].toUpperCase()+f.substr(1)));void 0===l&&(l=this.ud.get(f));return l};a.prototype.lg=function(f){if(this.Ih.update()||f){f=
this.o.J(b.Yh);var l=this.o.J(b.Sprite);f.oQ=(new Date).getTime();l.width=this.Ih.rd();l.height=this.Ih.ee()}};a.prototype.lo=function(f){this.Jk!=f&&(this.Jk=f,this.xo())};a.prototype.xo=function(){this.o.J(b.Yh).opacity=this.AF("labelOpacity")*Math.max(1E-4,this.Jk)};var c="depthTest areaLabelBackgroundColor areaLabelFontColor areaLabelFontFamily areaLabelOpacity areaLabelFontSize distanceLabelBackgroundColor distanceLabelFontColor distanceLabelFontFamily distanceLabelOpacity distanceLabelFontSize labelBackgroundColor labelFontColor labelFontFamily labelOpacity labelFontSize partialDistanceLabelBackgroundColor partialDistanceLabelFontColor partialDistanceLabelFontFamily partialDistanceLabelOpacity partialDistanceLabelFontSize".split(" ");
return a});
define("dG","require lo ky oH gi fA".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA");a=e.extend(k,function(d,c){k.call(this);this.ud=d;this.Ga=c;this.Kl=this.Jl=null;this.Cf=this.Cf.bind(this);this.o=null;this.Jk=0;this.Ib=!1;this.Ny()});a.prototype.e_=function(d,c){if(this.Jl!=d||this.Kl!=c)this.Jl&&this.Jl.unbind(m.kd,this.Vd,this,!0),this.Jl&&this.Jl.unbind(m.sd,this.Vd,this,!0),this.Kl&&this.Kl.unbind(m.kd,this.Vd,this,!0),this.Kl&&this.Kl.unbind(m.sd,this.Vd,this,
!0),this.Jl=d,this.Kl=c,this.Jl&&this.Jl.bind(m.kd,this.Vd,this,!0),this.Jl&&this.Jl.bind(m.sd,this.Vd,this,!0),this.Kl&&this.Kl.bind(m.kd,this.Vd,this,!0),this.Kl&&this.Kl.bind(m.sd,this.Vd,this,!0),this.o.J(b.jb,!0).Y=this.Jl&&this.Jl.Gs(),this.o.J(b.Yq,!0).Y=this.Kl&&this.Kl.Gs(),this.Vd()};a.prototype.Gs=function(){return this.o};a.prototype.dispose=function(){this.e_(null,null);this.vv()};a.prototype.Ny=function(){this.o||(this.o=this.Ga.S.ad("MeasureLine"),this.o.H(b.Line),this.o.H(b.Xg),this.o.H(b.ya),
h.fa(this.ud,g,this.Cf,!0))};a.prototype.vv=function(){this.o&&(h.ba(this.ud,g,this.Cf),this.o.S.Qe(this.o),this.o=null)};a.prototype.isVisible=function(){return this.Ib};a.prototype.es=function(d){this.Ib!=d&&((this.Ib=d)?(this.lo(1),this.trigger(m.kd)):(this.lo(0),this.trigger(m.sd)))};a.prototype.Vd=function(){this.es(this.Jl&&this.Jl.isVisible()&&this.Kl&&this.Kl.isVisible())};a.prototype.Cf=function(){var d=this.o.J(b.Xg);d.color=this.ud.get("lineColor");d.depthTest=this.ud.get("depthTest");
d.width=this.ud.get("lineWidth");d.depthTest=this.ud.get("depthTest");this.xo()};a.prototype.lo=function(d){this.Jk!=d&&(this.Jk=d,this.xo())};a.prototype.xo=function(){this.o.J(b.Xg).opacity=this.ud.get("lineOpacity")*Math.max(1E-4,this.Jk)};var g=["depthTest","lineColor","lineOpacity","lineWidth"];return a});
define("of","require lo ky oH gi fA".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("gi"),b=a("fA");a=e.extend(k,function(f,l,p,q){k.call(this);this.ud=f;this.da=l;this.Ga=p;this.$p=q;this.PU=this.PU.bind(this);this.Cf=this.Cf.bind(this);this.Mm=this.Mm.bind(this);this.o=null;this.ci=this.fN=this.$c=this.Tw=!1;this.Jk=0;this.Ib=!1;this.Ny();h.fa(this.ud,g,this.PU,!0);h.fa(this.ud,c,this.Cf,!0);h.eD(this.$p,d,this.Mm,!0);this.bind(m.st,this.Aoa,this,!0);this.bind(m.Wc,this.oG,this,!0);
this.bind(m.ac,this.Om,this,!0);this.Mm();this.QY()&&this.es(!0)});a.prototype.dispose=function(){h.ba(this.ud,g,this.PU);h.ba(this.ud,c,this.Cf);h.ba(this.$p,d,this.Mm);this.unbind(m.st,this.Aoa,this,!0);this.unbind(m.Wc,this.oG,this,!0);this.unbind(m.ac,this.Om,this,!0);this.vv()};a.prototype.Gs=function(){return this.o};a.prototype.rza=function(f){this.Tw!==f&&((this.Tw=f)?(f=this.o.H(b.Wj),f.Y=this.Ga,f.rotate=!1,f.Ea=new k,this.es(!0),f.Ea.bind(m.Wc,this.dG,this,!0)):((f=this.o.getComponent(b.Wj))&&
f.Ea.unbind(m.Wc,this.dG,this,!0),this.o.ma(b.Wj),f=this.da.worldPositionToLocal([this.x,this.y,this.z],this.da.getMatrixWorld()),this.xza(f[0],f[1],f[2])),this.Wy(),this.vaa())};a.prototype.Aza=function(f){void 0===f&&(f=!1);this.ci!==f&&((this.ci=f)?this.o.H(b.yw):this.o.ma(b.yw))};a.prototype.GZa=function(f){this.fN!==f&&(this.fN=f,this.vaa(),this.$c=!1,this.Wy())};a.prototype.xza=function(f,l,p){this.$p.set("x",f);this.$p.set("y",l);this.$p.set("z",p);this.es(this.QY())};a.prototype.Ny=function(){this.o=
this.Ga.S.ad("MeasurePoint");this.o.H(b.Sphere);this.o.H(b.Fc);this.o.H(b.ld).Ea=this;this.o.H(b.bp);this.o.H(b.ya).Ea=this;this.o.H(b.ij);this.o.H(b.jb).Y=this.Ga;this.vaa();this.xo();this.Wy()};a.prototype.vv=function(){this.o.S.Qe(this.o);this.o=null};a.prototype.isVisible=function(){return this.Ib};a.prototype.es=function(f){this.Ib!=f&&((this.Ib=f)?(this.lo(1),this.trigger(m.kd)):(this.lo(0),this.trigger(m.sd)))};a.prototype.vaa=function(){var f=this.o.J(b.ld);f.Oo=this.fN;f.aw=this.fN;f.Iv=
!this.Tw;f=this.o.J(b.bp,!0);f.Gea=!this.fN||this.Tw;f.Fea=this.Tw};a.prototype.dG=function(){this.es(!0)};a.prototype.oG=function(){this.$c=!0;this.Wy()};a.prototype.Om=function(){this.$c=!1;this.Wy()};a.prototype.PU=function(){this.o.J(b.jb).id=this.ud.get("parentId")};a.prototype.Cf=function(){if(this.o){var f=this.o.J(b.ij);f.Gf=f.Tf=f.nh=1;f.uz=this.ud.get("pointMaxRadius");f.vz=this.ud.get("pointMinRadius");f.scale=this.ud.get("pointRadius")||1;this.o.J(b.Fc).depthTest=this.ud.get("depthTest");
this.Wy()}};a.prototype.Wy=function(){if(this.o){var f=this.Tw?"pointDragColor":this.$c?"pointOverColor":"pointColor";this.o.J(b.Fc).color=this.ud.get(f)}};a.prototype.lo=function(f){this.Jk!=f&&(this.Jk=f,this.xo())};a.prototype.xo=function(){this.o.J(b.Fc).opacity=Math.max(1E-4,this.Jk)};a.prototype.Aoa=function(f){this.x=f.data.position.x;this.y=f.data.position.y;this.z=f.data.position.z};a.prototype.Mm=function(){if(this.QY()&&this.o){var f=this.o.J(b.ya,!0);f.positionX=f.positionY=f.positionZ=
0;f.Se=f.se=f.Te=0;f.translationX=this.$p.get("x");f.translationY=this.$p.get("y");f.cf=this.$p.get("z")}};a.prototype.QY=function(){var f=this.$p.get("x"),l=this.$p.get("y"),p=this.$p.get("z");return void 0!==f&&void 0!==l||void 0!==p};a.prototype.distanceTo=function(f){var l=this.x-f.x,p=this.y-f.y;f=this.z-f.z;return Math.sqrt(l*l+p*p+f*f)};var g=["parentId"],d=["x","y","z"],c="depthTest mode pointDragColor pointColor pointOverColor pointMaxRadius pointMinRadius pointRadius".split(" ");return a});
define("et","require ky oH bm fC fx dG of v".split(" "),function(a){function e(u,v,w,x,y){this.D=u;this.da=v;this.Ga=w;this.j=y;this.M=this.j.M;this.Mp=this.Mp.bind(this);this.SU=this.SU.bind(this);this.JU=this.JU.bind(this);this.ZU=this.ZU.bind(this);this.gG=this.gG.bind(this);this.gy=this.gy.bind(this);this.Ru=this.Ru.bind(this);this.cC=this.cC.bind(this);this.Rd=null;this.ti=new Map;this.MM=new Map;this.Ep=[];this.NB=[];this.vG=new Map;this.hh=[];this.ri=null;this.nX();this.Ce=this.Rc=void 0;this.W=
!1;h.fa(this.D,["enabled"],this.Mp,!0)}var h=a("ky"),m=a("oH"),k=a("bm"),b=a("fC"),g=a("fx"),d=a("dG"),c=a("of"),f=a("v");e.prototype.dispose=function(){this.sp();h.ba(this.D,["enabled"],this.Mp);this.ri=this.hh=this.NB=this.Ep=this.MM=this.ti=null;this.nX();this.Ce=this.Rc=null};e.prototype.Mp=function(){this.D.get("enabled")?this.hB():this.sp()};e.prototype.hB=function(){this.W||(this.W=!0,this.$Fa(),this.eja(this.D),document.addEventListener("keyup",this.cC),h.fa(this.D,l,this.SU,!0),h.fa(this.D,
q,this.ZU,!0),h.fa(this.D,p,this.JU,!0),h.fa(this.D,n,this.gG,!0),h.fa(this.D,r,this.gy,!0),h.fa(this.da,t,this.Ru,!0))};e.prototype.sp=function(){this.W&&(this.W=!1,this.pra([]),this.Cja(this.D),this.hHa(),document.removeEventListener("keyup",this.cC),h.ba(this.D,l,this.SU),h.ba(this.D,q,this.ZU),h.ba(this.D,p,this.JU),h.ba(this.D,n,this.gG),h.ba(this.D,r,this.gy),h.ba(this.da,t,this.Ru),this.rN(null))};e.prototype.Ru=function(){this.rN(this.da&&this.da.get("pointer"))};e.prototype.rN=function(u){this.Rd!==
u&&(this.Rd&&(this.Rd.unbind(m.qa,this.doa,this,!0),this.Rd.unbind(m.hm,this.eoa,this,!0)),this.Rd=u)&&(this.Rd.bind(m.qa,this.doa,this,!0),this.Rd.bind(m.hm,this.eoa,this,!0))};e.prototype.SU=function(){this.pra(this.D.get("points"))};e.prototype.JU=function(){var u=this.D.get("mode");if(u!=this.Rc){switch(this.Rc){case "create":1>this.hh.length||this.ri&&2>this.hh.length?u="create":this.gOa(this.ri);break;case "edit":"create"==u?"single"===this.D.get("type")&&0<this.hh.length?u="edit":this.pR():
this.lv(null);break;case "view":"create"===u&&("single"===this.D.get("type")&&0<this.hh.length?u="view":this.pR());break;default:"create"==u&&("single"===this.D.get("type")&&0<this.hh.length&&this.B5(this.qu(-1))?u="edit":this.lv(this.qu(-1),!1))}this.Rc=u;this.D.set("mode",this.Rc);this.kta()}};e.prototype.ZU=function(){var u=this.D.get("type");u!==this.Ce&&(this.Ce=u,"single"===this.Ce&&1<this.hh.length&&this.D.set("points",this.e1a.slice(0,1)))};e.prototype.gG=function(){this.$sa();this.mX()};
e.prototype.gy=function(){var u=this.i5(this.Yg);u&&u.NI(this.D.get("area"))};e.prototype.cC=function(u){u.which==k.cfa&&this.M.get("isKeyboardTarget")&&("create"==this.D.get("mode")?this.D.set("mode","edit"):"edit"==this.Rc&&this.lv(null))};e.prototype.pR=function(){this.KDa();this.lv(this.qu(-1),!1)};e.prototype.KDa=function(){var u=this.M.get("application").gn("MeasureModel3DObjectPoint");if(!f.kb()){var v=this.qu(-1);v&&this.B5(v)&&(u.set("x",v.get("x")),u.set("y",v.get("y")),u.set("z",v.get("z")))}this.D.set("points",
this.hh.concat([u]))};e.prototype.qu=function(u){var v=[this.D].concat(this.hh);return 0>u&&0<v.length-u?v[v.length+u]:0<=u&&u<v.length?v[u]:null};e.prototype.gOa=function(u){this.D.set("points",this.hh.filter(function(v){return v!=u}))};e.prototype.B5=function(u){return!!u&&this.ti.get(u).QY()};e.prototype.doa=function(u){if("create"==this.D.get("mode")){if(this.ri){var v=this.ri;this.lv(null);this.eEa(v,u)}"single"==this.Ce&&0<this.hh.length?this.D.set("mode","edit"):this.pR()}else"edit"==this.D.get("mode")&&
this.lv(null)};e.prototype.eoa=function(){"create"==this.D.get("mode")&&f.kb()&&this.D.set("mode","edit")};e.prototype.woa=function(){"create"==this.D.get("mode")&&this.D.set("mode","edit")};e.prototype.voa=function(u){if("create"==this.D.get("mode")){var v=this.qu(-2);u=this.MM.get(u.source);v==u?this.D.set("mode","edit"):(v=this.ri,this.lv(null),v.set("x",u.get("x")),v.set("y",u.get("y")),v.set("z",u.get("z")),v=this.qu(0),u==v?this.D.set("mode","edit"):this.pR())}};e.prototype.xoa=function(u){"edit"==
this.D.get("mode")&&this.lv(this.MM.get(u.source),!0)};e.prototype.yoa=function(){"edit"==this.D.get("mode")&&this.lv(null)};e.prototype.zoa=function(){this.mX()};e.prototype.mX=function(){for(var u=[],v=this.qu(0),w=this.s5(),x=0;x<w.length;x++){var y=w[x];v=this.ti.get(v);var A=this.ti.get(y);A=v.distanceTo(A);(v=this.i5(this.Ep[x]))&&v.NI(A);u.push(A);v=y}u=u.reduce(function(B,z){return B+z},0);(v=this.i5(this.ti.get(w[w.length-1])))&&v.NI(u);this.D.set("distance",isNaN(u)?void 0:u)};e.prototype.eEa=
function(u,v){if(v=v&&v.data.position)v=this.da.worldPositionToLocal(v,this.da.getMatrixWorld()),this.ti.get(u).xza(v.x,v.y,v.z)};e.prototype.lv=function(u,v){v||(v=!1);if(this.ri!==u){if(this.ri){var w=this.ti.get(this.ri);w.Aza(!1);w.rza(!1)}if(this.ri=u)w=this.ti.get(this.ri),w.Aza(v),w.rza(v||!f.kb());this.ata();this.kta();this.nX()}};e.prototype.pra=function(u){this.hh!=u&&(this.hh.forEach(function(v){-1==u.indexOf(v)&&this.Cja(v)}.bind(this)),this.hh=u,this.ri&&this.hh.indexOf(this.ri)&&(this.ri=
null),this.nX(),this.hh.forEach(function(v){this.eja(v)}.bind(this)),this.ata(),this.$sa(),this.SRa(),this.mX())};e.prototype.s5=function(){return this.hh.filter(function(u){return this.B5(u)||this.ti.get(u).Tw}.bind(this))};e.prototype.ata=function(){for(;this.hh.length<this.Ep.length;)this.kHa();for(;this.hh.length>this.Ep.length;)this.FGa();for(var u=!0,v=0;v<this.hh.length;v++){var w=this.qu(v),x=this.qu(v+1);w==this.ri&&(u=!1);var y=u?x:w;this.Ep[v].e_(this.ti.get(u?w:x),this.ti.get(y))}};e.prototype.$sa=
function(){this.MRa();var u=this.s5(),v=1==u.length;this.D.get("displayPartialDistanceLabel")&&!v&&this.Ep.forEach(function(w){var x=this.WT(w);x.Kza(w);x.setStyle(g.DCa)}.bind(this));this.D.get("displayDistanceLabel")&&(v?(u=this.WT(this.Ep[0]),u.Kza(this.Ep[0]),u.setStyle(g.lga)):1<u.length&&(v=this.ti.get(u[u.length-1]),u=this.WT(v),u.zZa(v),u.setStyle(g.lga)));this.D.get("displayAreaLabel")&&this.Yg&&(u=this.WT(this.Yg),u.qYa(this.Yg),u.setStyle(g.CCa));this.mHa();this.mX();this.gy()};e.prototype.kta=
function(){var u=!this.ri&&"view"!=this.Rc;this.ti.forEach(function(v){v.GZa(u)})};e.prototype.SRa=function(){this.Yg&&this.Yg.e_([this.D].concat(this.s5()).map(function(u){return this.ti.get(u)}.bind(this)))};e.prototype.eja=function(u){var v=this.ti.get(u);v||(v=new c(this.D,this.da,this.Ga,u),this.ti.set(u,v),this.MM.set(v,u),v.bind(m.hm,this.woa,this,!0),v.bind(m.qa,this.voa,this,!0),v.bind(m.ub,this.xoa,this,!0),v.bind(m.Zb,this.yoa,this,!0),v.bind(m.st,this.zoa,this,!1))};e.prototype.Cja=function(u){var v=
this.ti.get(u);v&&(v.unbind(m.st,this.zoa,this,!1),v.unbind(m.hm,this.woa,this,!0),v.unbind(m.qa,this.voa,this,!0),v.unbind(m.ub,this.xoa,this,!0),v.unbind(m.Zb,this.yoa,this,!0),v.dispose(),this.ti["delete"](u),this.MM["delete"](v))};e.prototype.FGa=function(){var u=new d(this.D,this.Ga);this.Ep.push(u)};e.prototype.kHa=function(){0!=this.Ep.length&&this.Ep.pop().dispose()};e.prototype.EGa=function(){var u=new g(this.da,this.D,this.Ga);this.NB.push(u);return u};e.prototype.MRa=function(){this.vG.clear()};
e.prototype.WT=function(u){var v=this.NB.length>this.vG.size?this.NB[this.vG.size]:this.EGa();this.vG.set(u,v);return v};e.prototype.i5=function(u){return this.vG.get(u)};e.prototype.mHa=function(){for(;this.NB.length>this.vG.size;)this.jHa()};e.prototype.jHa=function(){0!=this.NB.length&&this.NB.pop().dispose()};e.prototype.$Fa=function(){this.Yg||(this.Yg=new b(this.D,this.Ga))};e.prototype.hHa=function(){this.Yg&&(this.Yg.dispose(),this.Yg=null)};e.prototype.nX=function(){this.D.set("draggingPoint",
!!this.ri)};var l=["points"],p=["mode"],q=["type"],n=["displayAreaLabel","displayDistanceLabel","displayPartialDistanceLabel"],r=["area"],t=["pointer"];return e});
define("eJ",["require","exports","fA","ni","dT"],function(a,e,h,m,k){a=function(b){function g(d,c,f,l,p){d=b.call(this,d,c,f,p)||this;d.me=f;d.Y.H(h.uw);d.Y.H(h.fJ).object=d.object;d.fd();return d}Z(g,b);g.prototype.fd=function(){};g.prototype.gd=function(){};g.prototype.dispose=function(){this.gd();b.prototype.dispose.call(this)};return g}(m);a=k.ld(a);a=k.Ega(a);a=k.cJ(a);a=k.i1(a);a=k.jb(a);a=k.uCa(a);return a=k.ega(a)});
define("cE",["require","exports","ky","dT"],function(a,e,h,m){a=function(){function k(b,g,d,c,f){this.object=b;this.model=g;this.me=d;this.renderer=f;this.ag=this.ag.bind(this);this.enabled=!1;this.Y=null;h.fa(this.object,["enabled"],this.ag,!0)}k.prototype.fd=function(){};k.prototype.gd=function(){};k.prototype.dispose=function(){this.disable();h.ba(this.object,["enabled"],this.ag)};k.prototype.ag=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
(this.enabled=!0,this.Y=this.me.S.ad("ImagePlane"),this.fd())};k.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.gd(),this.Y.S.Qe(this.Y),this.Y=null)};return k}();a=m.ld(a);a=m.cJ(a);a=m.gm(a);a=m.jb(a);return a=m.Plane(a)});
define("cF",["require","exports","ky","fA","dT"],function(a,e,h,m,k){var b=["objectId"];a=function(){function g(d,c,f,l,p){this.object=d;this.model=c;this.me=f;this.renderer=p;this.Y=this.me.S.ad("InnerObject");this.Nu=this.Nu.bind(this);h.fa(this.object,b,this.Nu,!0);this.fd()}g.prototype.fd=function(){};g.prototype.gd=function(){};g.prototype.Nu=function(){var d=this.Y.J(m.sE,!0);d.id=this.object.get("objectId");d.container=this.me};g.prototype.dispose=function(){this.gd();h.ba(this.object,b,this.Nu);
this.me.S.Qe(this.Y);this.Y=null};return g}();a=k.ld(a);a=k.cJ(a);a=k.i1(a);return a=k.Ega(a)});
define("nk","require exports ky fA dT three.mod".split(" "),function(a,e,h,m,k,b){var g=["x","y","z"],d=["targetX","targetY","targetZ"];a=function(){function c(f,l,p,q,n){this.object=f;this.model=l;this.me=p;this.renderer=n;this.ag=this.ag.bind(this);this.DZ=this.DZ.bind(this);this.IZ=this.IZ.bind(this);this.enabled=!1;this.Y=null;h.fa(this.object,["enabled"],this.ag,!0)}c.prototype.fd=function(){};c.prototype.gd=function(){};c.prototype.dispose=function(){this.disable();h.ba(this.object,["enabled"],
this.ag)};c.prototype.ag=function(){this.object.get("enabled")?this.enable():this.disable()};c.prototype.enable=function(){this.enabled||(this.enabled=!0,this.Y=this.me.S.ad("Line"),this.Y.H(m.ya),this.Y.H(m.Line),this.Y.H(m.Yq).position=new b.Vector3,h.fa(this.object,g,this.DZ,!0),h.fa(this.object,d,this.IZ,!0),this.fd())};c.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.gd(),h.ba(this.object,g,this.DZ),h.ba(this.object,d,this.IZ),this.Y.S.Qe(this.Y),this.Y=null)};c.prototype.DZ=
function(){var f=this.Y.J(m.ya);f.translationX=this.object.get("x",0);f.translationY=this.object.get("y",0);f.cf=this.object.get("z",0)};c.prototype.IZ=function(){var f=this.Y.J(m.Yq);f.position.x=this.object.get("targetX");f.position.y=this.object.get("targetY");f.position.z=this.object.get("targetZ")};return c}();a=k.ld(a);a=k.Xg(a);return a=k.jb(a)});
define("fg",["require","exports","ky","fA","dT"],function(a,e,h,m,k){var b=["radius","maxRadius","minRadius"];a=function(){function g(d,c,f,l,p){this.object=d;this.model=c;this.me=f;this.renderer=p;this.ag=this.ag.bind(this);this.HZ=this.HZ.bind(this);this.enabled=!1;this.Y=null;h.fa(this.object,["enabled"],this.ag,!0)}g.prototype.fd=function(){};g.prototype.gd=function(){};g.prototype.dispose=function(){this.disable();h.ba(this.object,["enabled"],this.ag)};g.prototype.ag=function(){this.object.get("enabled")?
this.enable():this.disable()};g.prototype.enable=function(){this.enabled||(this.enabled=!0,this.Y=this.me.S.ad("Sphere"),this.Y.H(m.Sphere),this.Y.H(m.ij),h.fa(this.object,b,this.HZ,!0),this.fd())};g.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.gd(),h.ba(this.object,b,this.HZ),this.Y.S.Qe(this.Y),this.Y=null)};g.prototype.HZ=function(){var d=this.Y.J(m.ij);d.Gf=d.Tf=d.nh=1;d.scale=this.object.get("radius");d.uz=this.object.get("maxRadius");d.vz=this.object.get("minRadius")};return g}();
a=k.ld(a);a=k.cJ(a);a=k.Fc(a);a=k.jb(a);return a=k.ega(a)});
define("nQ",["require","exports","ky","fA","dT"],function(a,e,h,m,k){var b="sourceFaces sourceX sourceY sourceYaw sourceZ targetFaces targetX targetY targetYaw targetZ position".split(" ");a=function(){function g(d,c,f,l,p){this.object=d;this.model=c;this.me=f;this.Pca=l;this.renderer=p;this.ag=this.ag.bind(this);this.FZ=this.FZ.bind(this);this.enabled=!1;this.Y=null;h.fa(this.object,["enabled"],this.ag,!0)}g.prototype.fd=function(){};g.prototype.gd=function(){};g.prototype.dispose=function(){this.disable();
h.ba(this.object,["enabled"],this.ag)};g.prototype.ag=function(){this.object.get("enabled")?this.enable():this.disable()};g.prototype.enable=function(){if(!this.enabled){this.enabled=!0;this.Y=this.me.S.ad("ProjectedMaterial");this.Y.H(m.er);var d=this.Y.H(m.jb);d.Y=this.me;d.attach=!0;h.fa(this.object,b,this.FZ,!0);this.fd()}};g.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.gd(),h.ba(this.object,b,this.FZ),this.Y.S.Qe(this.Y),this.Y=null)};g.prototype.FZ=function(){var d=this.Y.J(m.er);
d.RI=this.Pca;d.pQ=this.object.get("sourceX")||0;d.qQ=this.object.get("sourceY")||0;d.rQ=this.object.get("sourceZ")||0;d.o_a=this.object.get("sourceYaw")||0;d.l_=this.object.get("sourceFaces");d.targetX=this.object.get("targetX")||0;d.targetY=this.object.get("targetY")||0;d.uQ=this.object.get("targetZ")||0;d.E_a=this.object.get("targetYaw")||0;d.o_=this.object.get("targetFaces");d.position=this.object.get("position")||0};return g}();return k.jb(a)});
define("kq",["require","ky","oH","hl","fA"],function(a){function e(f,l,p,q,n){this.D=f;this.da=l;this.Ga=p;this.j=n;this.M=this.j.M;this.Mp=this.Mp.bind(this);this.Lu=this.Lu.bind(this);this.Mm=this.Mm.bind(this);this.Cf=this.Cf.bind(this);this.a7=this.Ga.getComponent(b.sh).Eo;this.a7.bind(m.Z,this.Mu,this,!1);this.b7=this.yma=!1;this.ks=new k(this.M);this.ks.setPosition(0);this.ks.update();this.o=null;h.fa(this.D,["enabled"],this.Mp,!0)}var h=a("ky"),m=a("oH"),k=a("hl"),b=a("fA");e.prototype.Mp=
function(){this.D.get("enabled")?this.hB():this.sp()};e.prototype.hB=function(){if(!this.o){this.o=this.Ga.S.ad("Reticle");var f=this.o.H(b.jb);f.Y=this.Ga;f.id=this.D.get("parentId");this.o.H(b.Plane).renderOrder=2;this.o.H(b.Yh).source=this.ks.og();this.o.H(b.uw);f=this.o.H(b.fJ);f.A_a=this.D;f.object=this.D;h.fa(this.da,c,this.Lu,!0);h.fa(this.D,g,this.Mm,!0);h.fa(this.D,d,this.Cf,!0)}};e.prototype.sp=function(){this.o&&(this.Ga.S.Qe(this.o),this.o=null,h.ba(this.da,c,this.Lu),h.ba(this.D,g,this.Mm),
h.ba(this.D,d,this.Cf))};e.prototype.Lu=function(){var f=this.o.J(b.ij,!0);f.Gf=f.Tf=2;f.scale=this.da.get("surfaceReticleRadius");f.uz=this.da.get("surfaceReticleMaxRadius");f.vz=this.da.get("surfaceReticleMinRadius");this.gta()};e.prototype.Mm=function(){var f=this.o.J(b.jt,!0);f.x=this.D.get("x");f.y=this.D.get("y");f.z=this.D.get("z");f.distance=this.D.get("distance");f.qP=this.D.get("horizontal")};e.prototype.Cf=function(){var f=this.o.J(b.ld,!0);f.Oo=this.D.get("useHandCursor");f.wQ=this.D.get("transparentAreaActive");
f.Ea=this.D;f=this.o.J(b.Yh);f.opacity=this.D.get("opacity");f.hidden=this.D.get("hidden");f.depthTest=this.D.get("depthTest")};e.prototype.Mu=function(){this.yma=!0;this.gta()};e.prototype.gta=function(){var f=this.yma&&.5<this.da.get("opacity");this.b7!=f&&(this.b7=f)&&this.o&&this.o.J(b.jt)};e.prototype.dispose=function(){this.sp();h.ba(this.D,["enabled"],this.Mp);this.a7.unbind(m.Z,this.Mu,this,!1);this.a7=null};var g=["distance","horizontal","x","y","z"],d=["depthTest","hidden","opacity","transparentAreaActive",
"useHandCursor"],c=["opacity","surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius","surfaceSelectionEnabled"];return e});
define("fZ",["require","exports","ky","dT"],function(a,e,h,m){a=function(){function k(b,g,d,c,f){this.object=b;this.model=g;this.me=d;this.renderer=f;this.ag=this.ag.bind(this);this.enabled=!1;this.Y=null;h.fa(this.object,["enabled"],this.ag,!0)}k.prototype.fd=function(){};k.prototype.gd=function(){};k.prototype.dispose=function(){this.disable();h.ba(this.object,["enabled"],this.ag)};k.prototype.ag=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
(this.enabled=!0,this.Y=this.me.S.ad("VideoPlane"),this.fd())};k.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.gd(),this.Y.S.Qe(this.Y),this.Y=null)};return k}();a=m.ld(a);a=m.cJ(a);a=m.Cn(a);a=m.jb(a);return a=m.Plane(a)});
define("gK","require exports et eJ cE cF nk fg fJ nQ kq fZ".split(" "),function(a,e,h,m,k,b,g,d,c,f,l,p){c.Xv("MeasureModel3DObject",h);c.Xv("ChildModel3DObject",m);c.Xv("ImagePlaneModel3DObject",k);c.Xv("InnerModel3DObject",b);c.Xv("LineModel3DObject",g);c.Xv("ProjectedMaterialModel3DObject",f);c.Xv("SphereModel3DObject",d);c.Xv("SurfaceReticleModel3DObject",l);c.Xv("VideoPlaneModel3DObject",p);return c});
define("hE","require exports ky oH bm gi v lo jq nx".split(" "),function(a,e,h,m,k,b,g,d,c,f){return function(l){function p(q,n,r,t,u){var v=l.call(this)||this;v.qZ=[];v.Yta=0;v.Xta=0;v.jY=!1;v.Yua=!1;v.renderer=q;v.Xs=n;v.model=r;v.me=t;v.ke=u;v.Aq=v.Aq.bind(v);v.aY=v.aY.bind(v);v.Eba=d.Io(v.Eba,v);v.rZ=v.rZ.bind(v);v.gZ=v.gZ.bind(v);v.fZ=v.fZ.bind(v);v.ue=v.renderer.M;v.ng=v.renderer.getParent();v.enabled=!0;v.type=p.iJ;v.Ob();return v}Z(p,l);p.prototype.getType=function(){return this.type};p.prototype.nc=
function(q){this.enabled=q};p.prototype.dispose=function(){this.eb()};p.prototype.Ob=function(){this.ng.bind(m.jc,this.Aq,this,!0);this.ng.bind(m.qa,this.Wta,this,!0);h.eD(this.model,["camera.lockMouse"],this.aY,!0);h.eD(this.model,["objects"],this.rZ,!0);this.Sk=new c(this.ng.Ac());this.Sk.bind(m.pa,this.Axa,this,!0);document.addEventListener("keyup",this.gZ);document.addEventListener("keydown",this.fZ);this.Vs(p.iJ)};p.prototype.eb=function(){this.ng.unbind(m.jc,this.Aq,this);this.ng.unbind(m.qa,
this.Wta,this);h.ba(this.model,["camera.lockMouse"],this.aY);h.ba(this.model,["objects"],this.rZ);this.Nza([]);this.Sk.unbind(m.pa,this.Axa,this);this.Sk.Do()&&this.Sk.unlock();this.ue.jL.nc(!1);this.Sk.dispose();document.removeEventListener("keyup",this.gZ);document.removeEventListener("keydown",this.fZ)};p.prototype.aY=function(){this.xP=!g.kb()&&this.model.get("camera").get("lockMouse");!this.xP&&this.Sk.Do()&&this.Sk.unlock();this.NAa()};p.prototype.NAa=function(){this.ue.jL.nc((!this.jY||!this.Yua)&&
(g.kb()||!this.xP))};p.prototype.Aq=function(){this.Sk.Do()||this.Vs(p.iJ)};p.prototype.fZ=function(q){-1!=p.YBa.indexOf(q.code)&&(this.type==p.iJ&&this.Vs(p.I0),this.xP&&!this.Sk.Do()&&this.Sk.lock())};p.prototype.gZ=function(q){q.code==k.sa.jga&&this.ng.trigger(m.qa)};p.prototype.Wta=function(){this.Xta=(new Date).getTime();this.xP&&!this.Sk.Do()?this.Sk.lock():this.Eba()};p.prototype.aUa=function(){this.xP&&this.Sk.Do()&&this.Sk.unlock()};p.prototype.Axa=function(){this.Sk.Do()?this.Vs(p.I0):this.Vs(p.iJ)};
p.prototype.rZ=function(){this.Nza(this.model.get("objects",[]))};p.prototype.Nza=function(q){var n=this;this.qZ.forEach(function(r){r.unbind(m.qa,n.Jxa,n)});this.qZ=q;this.qZ.forEach(function(r){r.bind(m.qa,n.Jxa,n,!0);f.Na("MeasureModel3DObject",r)&&(r.bind(m.G("draggingPoint"),n.Lca,n,!0),r.bind(m.G("mode"),n.Lca,n,!0))});this.Lca()};p.prototype.Jxa=function(q){q.source.get("useHandCursor")&&(this.Yta=(new Date).getTime())};p.prototype.Lca=function(){var q=!1,n=!1;this.qZ.forEach(function(t){f.Na("MeasureModel3DObject",
t)&&(n=n||!!t.get("draggingPoint"),q=q||"edit"==t.get("mode")&&!!t.get("draggingPoint"))});this.Yua=q;var r=this.model.get("camera");n!=this.jY&&(this.jY=n,setTimeout(function(){r.HYa(this.jY)}.bind(this),0));this.NAa()};p.prototype.Eba=function(){100<Math.abs(this.Xta-this.Yta)&&this.aUa()};p.prototype.Vs=function(q){this.type!==q&&(this.type=q,this.trigger(m.pa))};p.iJ="mouse";p.I0="gaze";p.YBa=[k.sa.Yj,k.sa.Di,k.sa.Pa,k.sa.hb,k.sa.wn,k.sa.dt,k.sa.Bt,k.sa.xt,k.sa.E,k.sa.Q];return p}(b)});
define("lK",["require","exports"],function(){return function(){function a(e){this.wc=this.Cr(e.get("vrPointerColor"));this.jv=this.Cr(e.get("vrPointerSelectionColor"));this.wv=this.Bk([0,0,0],0);this.AW=this.Bk([0,0,0],.125);this.sHa=this.Bk(this.wc,1);this.tHa=this.Bk(this.jv,1);this.xFa=this.Bk(this.jv,1);this.wFa=this.Bk(this.wc,.5);this.uFa=this.Bk(this.wc,1);this.vFa=this.Bk(this.jv,1);this.yh=this.xf=64;this.Z1=4E3;this.Dja=.1;this.al=.16;this.mo=.04;this.Bia=this.WR=.68-this.mo;this.VR=1-this.mo;
this.O=document.createElement("canvas");this.O.width=this.xf;this.O.height=this.yh;this.xa=this.O.getContext("2d");this.$c=this.St=!1;this.RF=this.dV=void 0;this.EA=0}a.prototype.Cr=function(e){return(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]};a.prototype.Bk=function(e,h){return"rgba("+e.join(",")+", "+h+")"};a.prototype.Xda=function(e,h){this.$c=e;this.dV=h};a.prototype.ZZ=function(e){this.St=e};a.prototype.rd=function(){return this.xf};
a.prototype.ee=function(){return this.yh};a.prototype.og=function(){return this.O};a.prototype.update=function(e){return this.St?this.wHa(e):this.$c?this.BHa():this.AHa()};a.prototype.dispose=function(){this.xa=null;this.O.width=this.O.height=1};a.prototype.TE=function(){var e;null===(e=this.xa)||void 0===e?void 0:e.clearRect(0,0,this.xf,this.yh)};a.prototype.AHa=function(){if(this.RF==a.rfa)return!1;this.TE();this.Jja(this.sHa);this.RF=a.rfa;return!0};a.prototype.BHa=function(){if(void 0===this.dV){if(this.RF==
a.U)return!1;this.TE();this.Jja(this.tHa)}else this.fNa(this.dV);this.RF=a.U;return!0};a.prototype.wHa=function(e){for(this.EA+=e;this.EA>this.Z1;)this.EA-=this.Z1;this.rFa(this.EA/this.Z1);this.RF=a.JQ;return!0};a.prototype.Jja=function(e){this.oj(this.Dja+this.mo,0,this.wv,this.AW,0,2*Math.PI);this.oj(this.Dja,0,this.wv,e,0,2*Math.PI)};a.prototype.CHa=function(e){this.oj(this.WR-.5*(this.al+this.mo),this.al+this.mo,this.AW,this.wv,0,2*Math.PI);this.oj(this.WR-.5*this.al,this.al,this.wFa,this.wv,
0,2*Math.PI);this.oj(this.WR-.5*this.al,this.al,this.xFa,this.wv,.5*Math.PI,(.5+2*e)*Math.PI)};a.prototype.xHa=function(e,h){this.oj(this.Bia-.5*(this.al+this.mo),this.al+this.mo,this.AW,this.wv,0,2*Math.PI);this.oj(this.Bia-.5*this.al,this.al,this.uFa,this.wv,0,2*Math.PI);e=(.5+2*e)*Math.PI;for(h=(.5+2*h)*Math.PI;h<e;)h+=2*Math.PI;var m=e-this.mo/(2*this.VR*Math.PI),k=h+this.mo/(2*this.VR*Math.PI);Math.abs(k-m+2*Math.PI)<2*this.mo&&(m=0,k=h);this.oj(this.VR-.5*(this.al+this.mo),this.al+this.mo,this.AW,
this.wv,m,k);this.oj(this.VR-.5*this.al,this.al,this.vFa,this.wv,e,h)};a.prototype.oj=function(e,h,m,k,b,g){var d=Math.round(.5*this.xf),c=Math.round(.5*this.yh),f=Math.min(d,c);e=Math.round(e*f);var l=this.xa;l&&(l.imageSmoothingEnabled=!0,l.lineWidth=h*f,l.strokeStyle=m,l.fillStyle=k,l.beginPath(),l.arc(d,c,e,b,g,!1),l.stroke(),l.fill())};a.prototype.rFa=function(e){this.TE();if(.25>e){var h=e/.25;e=.5*h}else.5>e?(h=(e-.25)/.25,e=.5+h,h=1+.5*h):.75>e?(h=(e-.5)/.25,e=.5+.5*h,h=.5+h):(e=h=(e-.75)/
.25,h=.5+.5*h);this.xHa(e,h)};a.prototype.fNa=function(e){this.TE();this.CHa(e)};a.rfa="initial";a.JQ="changing";a.U="over";return a}()});
define("eW","require exports three.mod ky oH lK jF fA bc bg".split(" "),function(a,e,h,m,k,b,g,d,c,f){var l=new h.Vector3(0,0,0),p=new h.Vector3(0,0,-1);a=function(){function n(r,t,u,v,w){this.renderer=r;this.Xs=t;this.model=u;this.me=v;this.ke=w;this.AQ=this.AQ.bind(this);this.Zv=this.Zv.bind(this);this.Hv=this.Hv.bind(this);this.ue=this.renderer.M;this.ng=this.renderer.getParent();this.Ss=this.model.get("application").gn("Model3DPointer");this.Ob()}n.prototype.nc=function(r){var t=this.ke.J(d.ef);
t&&(t.enabled=r)};n.prototype.dispose=function(){this.eb()};n.prototype.Ob=function(){this.GI=new b(this.ue);this.MUa=new q(this.ng,this.GI);this.Rv=new g;this.Rv.DYa(this.MUa);var r=this.ke.H(d.ef);r.origin=l;r.direction=p;r.Nba=this.ng;r.Dba=this.Rv;r.Ea=this.Ss;this.ue.set("toolTipCentered",!0);this.model.set("pointer",this.Ss);this.WZa();this.$Za();this.Rv.push(c.sA);f.requestFrame(this.AQ)};n.prototype.eb=function(){this.Rv.pop(c.sA);this.F_a();this.G_a();this.ue.set("toolTipCentered",!1);this.ue.set("toolTipCenteredOffsetY",
void 0);this.model.set("pointer",void 0);this.ke.ma(d.ef);this.Rv.dispose();f.RTa(this.AQ)};n.prototype.$Za=function(){this.mn=this.me.S.ad("GazeReticle");this.mn.H(d.jb).Y=this.ke;this.mn.H(d.Plane).renderOrder=2;this.mn.H(d.lJ);var r=this.mn.H(d.Yh);r.source=this.GI.og();r.depthTest=!1;this.mn.H(d.ya).cf=-1;this.renderer.bind(k.kc,this.Zv,this,!0);this.Zv();this.lba(this.ke.getComponent(d.ef),this.Ss)};n.prototype.lba=function(r,t){t.set("originX",r.origin.x);t.set("originY",r.origin.y);t.set("originZ",
r.origin.z);t.set("directionX",r.direction.x);t.set("directionY",r.direction.y);t.set("directionZ",r.direction.z)};n.prototype.G_a=function(){this.mn&&(this.mn.S.Qe(this.mn),this.mn=null)};n.prototype.Z_a=function(){if(this.mn){var r=this.mn.J(d.ij,!0);r.Gf=r.Tf=2;var t=Math.min(this.ue.Xa(),this.ue.xb())/100;r.vz=r.uz=Math.round(5*t);this.ue.set("toolTipCenteredOffsetY",2*t)}};n.prototype.AQ=function(r){this.mn&&this.GI.update(r)&&(this.mn.J(d.Yh).oQ=(new Date).getTime());f.requestFrame(this.AQ)};
n.prototype.Zv=function(){this.Z_a()};n.prototype.WZa=function(){m.eD(this.model,"camera",this.Hv,!0)};n.prototype.F_a=function(){m.ba(this.model,"camera",this.Hv);this.zza(!0)};n.prototype.Hv=function(){this.zza(!1)};n.prototype.zza=function(r){var t=this.ke.J(d.hA);t&&(t.TH=r);(t=this.ke.J(d.iA))&&(t.TH=r);(t=this.ke.J(d.oA))&&(t.TH=r)};return n}();var q=function(){function n(r,t){this.ng=r;this.GI=t}n.prototype.Kda=function(r,t){-1<t.indexOf(c.df)?this.GI.Xda(!0):this.GI.Xda(!1)};return n}();return a});
define("oo","require exports three.mod ky oH jF kP fA".split(" "),function(a,e,h,m,k,b,g,d){var c=new h.Vector3(0,0,0),f=Math.PI/180,l=new h.Vector3;return function(){function p(q,n,r,t,u){this.renderer=q;this.Xs=n;this.model=r;this.me=t;this.ke=u;this.qY=this.qY.bind(this);this.Zv=this.Zv.bind(this);this.Aq=this.Aq.bind(this);this.ue=this.renderer.M;this.ng=this.renderer.getParent();this.Ss=this.model.get("application").gn("Model3DPointer");this.enabled=!0;this.Ob()}p.prototype.nc=function(q){this.enabled=
q;var n=this.ke.J(d.ef);n&&(n.enabled=q)};p.prototype.dispose=function(){this.eb()};p.prototype.Ob=function(){var q=this.ke.H(d.ef);q.origin=c;q.direction=new h.Vector3;q.Nba=this.ng;q.Ea=this.Ss;this.Rv=new b;this.Rv.Mq(this.ng);q.Dba=this.Rv;q.enabled=this.enabled;m.fa(this.model,["camera.fov"],this.qY,!0);this.renderer.bind(k.kc,this.Zv,this,!0);this.ng.ITa(k.ub,this.Aq,this);this.ng.bind(k.jc,this.Aq,this,!0);this.model.set("picker",this);this.model.set("pointer",this.Ss)};p.prototype.eb=function(){m.ba(this.model,
["camera.fov"],this.qY);this.renderer.unbind(k.kc,this.Zv,this);this.ng.unbind(k.ub,this.Aq,this);this.ng.unbind(k.jc,this.Aq,this);this.ke.ma(d.ef);this.Rv.dispose();this.model.set("picker",void 0);this.model.set("pointer",void 0)};p.prototype.Zv=function(){this.Jea()};p.prototype.qY=function(){this.Jea()};p.prototype.Aq=function(q){this.UWa=q.x;this.VWa=q.y;this.Jea()};p.prototype.Jea=function(){var q=this.ke.J(d.ef);this.Mva(this.UWa,this.VWa,q.direction);this.lba(q,this.Ss)};p.prototype.lba=function(q,
n){n.set("originX",q.origin.x);n.set("originY",q.origin.y);n.set("originZ",q.origin.z);n.set("directionX",q.direction.x);n.set("directionY",q.direction.y);n.set("directionZ",q.direction.z)};p.prototype.Mva=function(q,n,r){var t;r=r||new h.Vector3;var u=(null===(t=this.model.get("camera"))||void 0===t?void 0:t.get("fov"))||90;t=this.ue.Xa();var v=this.ue.xb();void 0===q&&(q=t/2);void 0===n&&(n=v/2);r.set(q-t/2,v/2-n,-t/(2*Math.tan((t>v?u:g.Rq(u,t,v))*f/2))).normalize();return r};p.prototype.OZ=function(q,
n){var r=this.ke.getComponent(d.ef);if(r&&r.zya)return r.zya.OZ([this.me],c,this.Mva(q,n,l))};return p}()});
define("mr","require exports ky oH hE eW oo".split(" "),function(a,e,h,m,k,b,g){return function(){function d(c,f,l,p,q){this.renderer=c;this.Xs=f;this.model=l;this.me=p;this.ke=q;this.enabled=!0;this.Hv=this.Hv.bind(this);this.Ob()}d.prototype.nc=function(c){var f;this.enabled=c;null===(f=this.SH)||void 0===f?void 0:f.nc(this.enabled)};d.prototype.dispose=function(){this.eb()};d.prototype.Ob=function(){h.fa(this.model,"camera",this.Hv,!0)};d.prototype.eb=function(){h.ba(this.model,"camera",this.Hv);
this.Vs("none");this.pAa()};d.prototype.Hv=function(){"FirstPersonModel3DCamera"==this.model.get("camera").get("class")?this.YZa():(this.pAa(),this.Vs("mouse"))};d.prototype.YZa=function(){this.YH||(this.YH=new k(this.renderer,this.Xs,this.model,this.me,this.ke),this.YH.bind(m.pa,this.Sxa,this,!0),this.Sxa())};d.prototype.pAa=function(){var c;this.YH&&(null===(c=this.YH)||void 0===c?void 0:c.dispose(),this.YH=void 0)};d.prototype.Sxa=function(){var c;switch(null===(c=this.YH)||void 0===c?void 0:c.getType()){case k.I0:this.Vs("gaze");
break;default:this.Vs("mouse")}};d.prototype.Vs=function(c){var f;if(this.type!==c){this.SH&&this.SH.dispose();this.type=c;switch(this.type){case "mouse":this.SH=new g(this.renderer,this.Xs,this.model,this.me,this.ke);break;case "gaze":this.SH=new b(this.renderer,this.Xs,this.model,this.me,this.ke);break;default:this.SH=void 0}null===(f=this.SH)||void 0===f?void 0:f.nc(this.enabled)}};return d}()});
define("kx",["require","ky","fA"],function(a){function e(b,g){this.sc=b;this.pd=g;this.W=!1;this.Xe=this.Xe.bind(this);h.fa(this.sc,k,this.Xe,!0)}var h=a("ky"),m=a("fA");e.prototype.Xe=function(){var b=this.sc.get("enabled")&&!this.sc.get("disabled");this.W!=b&&(this.W&&this.pd.ma(m.cE),(this.W=b)&&this.pd.H(m.cE));this.W&&(b=this.pd.J(m.cE),b.Xua=this.sc.get("easingDuration"),b.bias=this.sc.get("bias"),b.intensity=this.sc.get("intensity"),b.scale=this.sc.get("scale"),b.Wwa=this.sc.get("kernelRadius"),
b.uxa=this.sc.get("minResolution"),b.rba=this.sc.get("blurRadius"),b.output="ao"==this.sc.get("output")?THREE.SAOPass.OUTPUT.SAO:THREE.SAOPass.OUTPUT.Default)};e.prototype.dispose=function(){this.pd.ma(m.cE);this.pd=null;h.ba(this.sc,k,this.Xe)};var k="disabled enabled bias easingDuration intensity scale kernelRadius minResolution blurRadius output".split(" ");return e});
define("D",["require","ky","fA"],function(a){function e(b,g){this.sc=b;this.pd=g;this.W=!1;this.Xe=this.Xe.bind(this);h.fa(this.sc,k,this.Xe,!0)}var h=a("ky"),m=a("fA");e.prototype.Xe=function(){var b=this.sc.get("enabled")&&!this.sc.get("disabled");this.W!=b&&(this.W&&this.pd.ma(m.Mz),(this.W=b)&&this.pd.H(m.Mz));this.W&&(b=this.pd.J(m.Mz),b.qva="fxaa"==this.sc.get("mode"),b.jAa="ssaa"==this.sc.get("mode"),b.sQ=this.sc.get("ssaaSampleLevel"))};e.prototype.dispose=function(){this.pd.ma(m.Mz);this.pd=
null;h.ba(this.sc,k,this.Xe)};var k=["disabled","enabled","mode","ssaaSampleLevel"];return e});
define("kG",["require","ky","fA"],function(a){function e(b,g){this.sc=b;this.pd=g;this.W=!1;this.Xe=this.Xe.bind(this);h.fa(this.sc,k,this.Xe,!0)}var h=a("ky"),m=a("fA");e.prototype.Xe=function(){var b=this.sc.get("enabled")&&!this.sc.get("disabled");this.W!=b&&(this.W&&this.pd.ma(m.jJ),(this.W=b)&&this.pd.H(m.jJ));this.W&&(b=this.pd.J(m.jJ),b.fza=this.sc.get("samples"),b.intensity=this.sc.get("intensity"))};e.prototype.dispose=function(){this.pd.ma(m.jJ);this.pd=null;h.ba(this.sc,k,this.Xe)};var k=
["disabled","enabled","samples","intensity"];return e});
define("gI",["require","ky","fA"],function(a){function e(b,g){this.sc=b;this.pd=g;this.Xe=this.Xe.bind(this);h.fa(this.sc,k,this.Xe,!0)}var h=a("ky"),m=a("fA");e.prototype.Xe=function(){var b=this.sc.get("enabled")&&!this.sc.get("disabled");this.W!=b&&(this.W&&this.pd.ma(m.xE),(this.W=b)&&this.pd.H(m.xE));this.W&&(b=this.pd.J(m.xE),b.Fwa=this.sc.get("innerRadius"),b.wya=this.sc.get("outerRadius"),b.color=this.sc.get("color"),b.opacity=this.sc.get("opacity"))};e.prototype.dispose=function(){this.pd.ma(m.xE);
this.pd=null;h.ba(this.sc,k,this.Xe)};var k="enabled disabled opacity color innerRadius outerRadius".split(" ");return e});
define("l","require exports nI kx D kG gI nx".split(" "),function(a,e,h,m,k,b,g,d){return function(){function c(f,l){this.model=f;this.bw=l;this.filter=this.filter.bind(this);this.de=this.de.bind(this);this.pg=this.pg.bind(this);this.OP=new h;this.OP.filter=this.filter;this.OP.de=this.de;this.OP.pg=this.pg;this.OP.oea(this.model,"postprocessing")}c.prototype.filter=function(f){return d.Na("AmbientOcclusionModel3DPostprocessing",f)||d.Na("AntialiasModel3DPostprocessing",f)||d.Na("MotionBlurModel3DPostprocessing",
f)||d.Na("VignetteModel3DPostprocessing",f)};c.prototype.de=function(f){return d.Na("AmbientOcclusionModel3DPostprocessing",f)?new m(f,this.bw):d.Na("AntialiasModel3DPostprocessing",f)?new k(f,this.bw):d.Na("MotionBlurModel3DPostprocessing",f)?new b(f,this.bw):d.Na("VignetteModel3DPostprocessing",f)?new g(f,this.bw):null};c.prototype.pg=function(f,l){l.dispose()};c.prototype.dispose=function(){this.OP.dispose()};return c}()});
define("nH","require oH pa fA cm eL le jz gD iw la gK mr l".split(" "),function(a){function e(r,t,u){this.j=r;this.Wd=t;this.da=u;this.M=this.j.M;this.da.vda();this.pd=this.Wd.ad("Scene");r=this.pd.H(m.Scene);r.Lba=this.da.GY().FH(this.da.KY().gz(.1));r.Ea=this.da;this.xma=new d(this.da,this.da,this.pd,this.j);this.Ga=this.xma.Gs();r.ke=this.Li=this.Wd.ad("PerspectiveCamera");this.Li.H(m.jb).Y=this.pd;this.mia=new b(this.j,this.da,this.Li);this.qLa=new g(this.da,this.Ga);this.Apa=new p(this.j,this.Wd,
this.da,this.Ga,this.Li);n.forEach(function(v){this.da.bind(h.G(v),this.H7,this,!0)}.bind(this));this.ANa=new q(this.da,this.pd);this.Wd.cua(this.pd);this.ILa=new l(this.da,this.Ga,this.Li);this.QQa=new f(this.da,this.Ga,this.j);this.hRa=new c(this.j,this.da);this.H7()}var h=a("oH");a("pa");var m=a("fA"),k=a("cm"),b=a("eL"),g=a("le"),d=a("jz"),c=a("gD"),f=a("iw"),l=a("la");a("gK");var p=a("mr"),q=a("l");e.prototype.QD=function(r){this.pd.J(m.Scene).locked=r};e.prototype.nc=function(r){this.pd.J(m.Scene).enabled=
r;this.Apa.nc(r);this.mia.nc(r)};e.prototype.dispose=function(){n.forEach(function(r){this.da.unbind(h.G(r),this.H7,this,!0)}.bind(this));this.da.unbind(h.G("camera"),this.xU,this,!0);this.xma.dispose();this.mia.dispose();this.qLa.dispose();this.Apa.dispose();this.ANa.dispose();this.QQa.dispose();this.ILa.dispose();this.hRa.dispose();this.Wd.bYa(this.pd);this.Wd.Qe(this.pd);this.Wd.Qe(this.Li)};e.prototype.tVa=function(){return this.Ga?k.iI(this.Ga):void 0};e.prototype.H7=function(){var r=this.pd.J(m.Scene);
r.opacity=this.da.get("opacity");r.bva=this.da.get("environmentURL");r.mba=this.da.get("backgroundImageURL");r.oua=this.da.get("backgroundPanoramaURL");r.backgroundColor=this.da.get("backgroundColor");r.outputEncoding=this.da.get("encoding");r=this.da.get("environmentIntensity");var t=this.da.get("anisotropicFilteringLevel");if(1!=r||0!=t){var u=this.pd.J(m.$h,!0);u.envMapIntensity=r;u.FO=t}else this.pd.ma(m.$h)};var n="anisotropicFilteringLevel environmentURL backgroundImageURL backgroundPanoramaURL backgroundColor opacity encoding environmentIntensity".split(" ");
return e});
define("lj","require lo gj nH bc d oc".split(" "),function(a){var e=a("lo"),h=a("gj"),m=a("nH"),k=a("bc"),b=a("d"),g=a("oc");a=e.extend(g,function(d,c,f){g.call(this);this.mc=d;this.M=c;this.FL=f;this.Be("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",k.lt);this.set("layout",b.CQ);this.Wd=null;this.XF=[];this.PG=new Map});a.prototype.Ab=function(){g.prototype.Ab.call(this);null==this.Wd&&(this.Wd=new h(this.mc,!0),this.Wd.ja({left:0,top:0,right:0,bottom:0,cursor:k.lt,toolTipDisabled:!0}),this.Wd.MZa(),
this.Wa(this.Wd),this.XF.forEach(this.xra.bind(this)))};a.prototype.WVa=function(d){return 0<=this.XF.indexOf(d)};a.prototype.bua=function(d){0<=this.XF.indexOf(d)||(this.XF.push(d),this.Wd&&this.xra(d))};a.prototype.rda=function(d){var c=this.XF.indexOf(d);0>c||(this.XF.splice(c,1),this.Wd&&this.hsa(d))};a.prototype.Wda=function(d,c){(d=this.PG.get(d))&&d.QD(c)};a.prototype.Mza=function(d,c){(d=this.PG.get(d))&&d.nc(c)};a.prototype.fP=function(d){return(d=this.PG.get(d))?d.tVa():void 0};a.prototype.LD=
function(){return this.Wd&&this.Wd.LD()};a.prototype.xba=function(){return this.Wd&&this.Wd.xba()};a.prototype.xra=function(d){this.hsa(d);this.PG.set(d,new m(this,this.Wd,d))};a.prototype.hsa=function(d){var c=this.PG.get(d);c&&(this.PG["delete"](d),c.dispose())};return a});
define("bH","require lo oH cy nx jD it dU lj ed".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("nx"),b=a("jD"),g=a("it"),d=a("dU"),c=a("lj"),f=a("ed"),l=k.define("Model3DPlayer",g,function(){g.call(this,"model");this.tp=this.hU=this.Rh=!1;this.L=this.j=null;this.qb=this.Ed=0;this.$d=e.Io(this.Qg,this);this.F2=new b(this,"buttonToggleSprites",f.Xj);this.F2.bind(h.Vj,function(){this.set("spritesEnabled",!0)},this);this.F2.bind(h.jm,function(){this.set("spritesEnabled",!1)},this);this.F2.set("pressed",
this.get("spritesEnabled"))});l.prototype.play=function(){this.hC()};l.prototype.pause=function(){this.gC()};l.prototype.stop=function(){this.qy()};l.prototype.restart=function(){this.ny()};l.prototype.getModelPixelScale=function(){return this.oJa()};l.prototype.captureToDataURL=function(){return this.j&&this.j.xba()};l.prototype.saveScreenshot=function(){return this.j&&this.j.LD()};l.prototype.set=function(p,q){if(this.get(p)!=q){switch(p){case "model":this.hU=!0;this.set("requesterPlayer",null);
this.$d();break;case "viewerArea":this.Rh=!0;this.$d();break;case "displayPlaybackBar":this.tp=!0,this.$d()}g.prototype.set.call(this,p,q)}};l.prototype.get=function(p,q){switch(p){case "currentTime":return this.L&&this.L.getTime()||0}return g.prototype.get.call(this,p,q)};l.prototype.Qg=function(){this.Rh&&(this.Rh=!1,this.bu(),this.get("viewerArea")&&this.Zt(),this.vN(this.get("viewerArea")),this.hU=!0);var p=!1;if(this.j&&(this.hU||this.OW)){var q=this.get("model");if(q&&!this.j.Jb()){this.$d();
return}this.hU=!1;this.qb=this.Ed=0;p=!0;q?(this.EI(this.get("requesterPlayer")?[this.get("requesterPlayer"),this]:[this]),this.L.nZa(q)):this.L.cw()}this.tp&&(this.tp=!1,p=!0);p&&this.Cv()};l.prototype.eH=function(){this.set("model",null)};l.prototype.Zt=function(){var p=this.get("application"),q=this.get("viewerArea");this.j=new c(p,q,this);this.j.ja({left:0,top:0,bottom:0,right:0});q.Wa(this.j);this.L=new d(q,this.j);this.L.bind(d.Wz,this.ul,this);this.L.bind(d.Vz,this.iy,this);this.L.bind(d.Xz,
this.dM,this);this.L.bind(d.p0,this.ioa,this,!0);this.L.bind(d.Ec,this.We,this);this.Ly(!0)};l.prototype.bu=function(){this.j&&(this.L.unbind(d.Wz,this.ul,this),this.L.unbind(d.Vz,this.iy,this),this.L.unbind(d.Xz,this.dM,this),this.L.unbind(d.p0,this.ioa,this,!0),this.L.unbind(d.Ec,this.We,this),this.L.clear(),this.j.getParent().removeChild(this.j),this.j=null,this.Ly(!1))};l.prototype.We=function(p){this.zc(p.data.state)};l.prototype.ul=function(p){var q=this.get("viewerArea");this.Qd=q&&q.Qd;this.CL(p.data.model);
this.Cv()};l.prototype.dM=function(p){this.trigger(new m(l.vBa,{model:p.data.model}))};l.prototype.iy=function(p){this.Qd=null;this.BL(p.data.model)};l.prototype.ioa=function(p){this.Ed=p.data.time;this.qb=p.data.duration;this.Cv()};l.prototype.KM=function(p){this.DC(p.data.position)};l.prototype.uk=function(){this.L&&this.L.play()};l.prototype.qo=function(){this.L&&this.L.stop()};l.prototype.Vp=function(){this.L&&this.L.pause()};l.prototype.DC=function(p){this.L&&this.L.setTime(p)};l.prototype.oJa=
function(){return this.L&&this.L.fP()};l.prototype.Cv=function(){if(this.j){var p=this.j.getParent();0<this.qb&&this.get("displayPlaybackBar")?p.ja({playbackBarPosition:this.Ed,playbackBarDuration:this.qb,playbackBarVisible:!0}):p.set("playbackBarVisible",!1)}};l.vBa="preloadMediaShow";return l});
define("oX","require oH kO nx da ih".split(" "),function(a){var e=a("oH"),h=a("kO"),m=a("nx"),k=a("da"),b=a("ih");a=m.define("Model3DPlayListItem",b,function(){b.call(this)});a.prototype.start=function(){b.prototype.start.call(this);var g=this.get("player");g&&(g.bind(k.Wg,this.ul,this),g.get("model")==this.get("media")&&this.get("media").get("isLoaded")?this.ul():g.set("model",this.get("media")))};a.prototype.stop=function(){var g=this.get("player");g&&(g.unbind(k.Wg,this.ul,this),g.get("model")==
this.get("media")&&g.set("model",null));b.prototype.stop.call(this)};a.prototype.ul=function(g){g&&g.data.media!=this.get("media")||(this.get("player").unbind(k.Wg,this.ul,this),this.get("player").bind(k.fm,this.iy,this),this.gTa())};a.prototype.gTa=function(){var g=this.get("media").get("camera").get("sequences",[]).find(function(d){return d.get("internal")&&d.get("state")==h.X});g?g.bind(e.sb,this.Xoa,this,!0):this.dz()};a.prototype.Xoa=function(g){g.source.unbind(e.sb,this.Xoa,this,!0);this.dz()};
a.prototype.iy=function(g){g.data.media==this.get("media")&&(this.get("player").unbind(k.fm,this.iy,this),this.stop(),this.end())};return a});define("ph",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("Model3DPointer",e,function(){e.call(this)})});define("iv",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("Menu",e,function(){e.call(this)})});define("p",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("MenuItem",e,function(){e.call(this)})});
define("dH",["require","nx","ff"],function(a){var e=a("nx"),h=a("ff");return e.define("MotionBlurModel3DPostprocessing",h,function(){h.call(this)})});define("kw",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("MovementPhotoCamera",e,function(){e.call(this)})});define("cD",["require"],function(){var a={Rz:"drag_acceleration",et:"drag_rotation"};a.Afa=a.Rz;a.qga=a.et;return a});
define("oU",["require","lo","cy"],function(a){var e=a("lo"),h=a("cy");return e.extend(h,function(m){h.call(this,m);this.zI=this.XI=this.Vv=this.rw=0})});define("ns",["require","lo","cy"],function(a){var e=a("lo"),h=a("cy");return e.extend(h,function(m){h.call(this,m);this.nca=this.eWa=0})});
define("fn","require lo eg oH cy gi cD oU ns".split(" "),function(a){function e(q,n){return q*n}function h(q,n){var r=0<n?1:-1;return r*(Math.pow(q,r*n)-1)/(q-1)}function m(q,n){return Math.min(Math.max(q/n,-1),1)}var k=a("lo");a("eg");var b=a("oH"),g=a("cy"),d=a("gi"),c=a("cD"),f=a("oU"),l=a("ns"),p=k.extend(d,function(){d.call(this);this.tma=this.uma=1800;this.ELa=this.lRa=0;this.cL=!1;this.jo=void 0;this.TB=c.Afa;this.usa=c.qga;this.sK=0;this.cW=void 0;this.Ph=!1;this.KE=null;this.vB=3;this.La=
90;this.h4=this.NC=this.Cc=1;this.Qd=this.ab=null;this.JM=!1});p.prototype.setCamera=function(q){this.uma=q.get("manualRotationSpeed");this.tma=q.get("manualRotationSpeed");this.vB=q.get("manualZoomSpeed");this.h4=q.get("draggingFactor")};p.prototype.Cz=function(q){this.TB=q;this.uaa()};p.prototype.UD=function(q){this.usa=q;this.uaa()};p.prototype.PD=function(q){this.La=q;this.NC=this.La/90};p.prototype.Mq=function(q){this.Ql();if(q){this.ab=q;if(this.Qd=q.iVa&&q.Qd)this.Qd.bind(b.ub,this.wpa,this,
!0),this.Qd.bind(b.Zb,this.xpa,this,!0);this.ab.bind(b.ub,this.Od,this,!0);this.ab.bind(b.jc,this.vj,this,!0);this.ab.bind(b.Zb,this.wj,this,!0);this.ab.bind(b.$q,this.UB,this,!0);!1!==this.ab.Jb().get("settings").get(TDV.PlayerSettings.pCa)&&this.ab.bind(b.lE,this.rB,this,!0);this.ab.bind(b.Bw,this.oka,this,!0);this.ab.bind(b.kE,this.lka,this,!0);this.uaa()}};p.prototype.Ql=function(){null!=this.ab&&(this.Qd&&(this.Qd.unbind(b.ub,this.wpa,this),this.Qd.unbind(b.Zb,this.xpa,this),this.Qd=null),this.ab.unbind(b.ub,
this.Od,this),this.ab.unbind(b.jc,this.vj,this),this.ab.unbind(b.Zb,this.wj,this),this.ab.unbind(b.$q,this.UB,this),this.ab.unbind(b.lE,this.rB,this),this.ab.unbind(b.Bw,this.oka,this),this.ab.unbind(b.kE,this.lka,this),this.ab=null,this.GS())};p.prototype.uaa=function(){this.ab&&(this.ab.Qn?(this.cW=this.usa,this.sK=this.lRa):(this.cW=this.TB,this.sK=this.ELa))};p.prototype.wpa=function(){this.JM=!0};p.prototype.xpa=function(){this.JM=!1};p.prototype.Od=function(q){this.JM||(this.BQa(q),this.i$())};
p.prototype.vj=function(q){this.JM||this.rH(q)};p.prototype.wj=function(){this.JM||(this.u4(),this.GS())};p.prototype.UB=function(q){this.Eaa(q);this.i$(500)};p.prototype.oka=function(){this.i$()};p.prototype.rB=function(q){this.Faa(q)};p.prototype.lka=function(){this.GS()};p.prototype.BQa=function(q){this.cL=!0;this.jo=q;this.rH(q)};p.prototype.rH=function(q){if(this.cL)switch(this.cW){case c.Rz:this.NSa(q);break;case c.et:this.MSa(q)}};p.prototype.NSa=function(q){var n=this.pta,r=q.x-this.jo.x;
r=+e(h(10,m(3>Math.abs(r)?0:r,this.ab.Xa())),this.uma*this.NC);q=q.y-this.jo.y;n.call(this,r,-e(h(10,m(3>Math.abs(q)?0:q,this.ab.xb())),this.tma*this.NC))};p.prototype.MSa=function(q){this.taa(-e(m(q.x-this.jo.x,this.ab.Xa()),this.La*this.h4),+e(m(q.y-this.jo.y,this.ab.Xa()),this.La*this.h4));this.jo=q};p.prototype.u4=function(){if(this.cL)switch(this.cL=!1,this.cW){case c.Rz:this.pta(0,0)}};p.prototype.pta=function(q,n){var r=new f(p.ht);r.rw=q;r.Vv=n;this.trigger(r)};p.prototype.taa=function(q,
n){var r=new f(p.ht);r.XI=q;r.zI=n;this.trigger(r)};p.prototype.Faa=function(q){if(this.Cc!=q.scale){this.u4();var n=this.Cc;this.Cc=q.scale;q=new l(p.Wo);q.nca=this.La*n/this.Cc-this.La;this.trigger(q)}};p.prototype.Eaa=function(q){if(0!=q.delta){this.u4();var n=new l(p.Wo);n.nca=this.La*-q.delta*this.vB/100;this.trigger(n)}};p.prototype.i$=function(q){var n=null!=this.KE;this.Wra();if(q&&(n||!this.Ph)){var r=this;this.KE=setTimeout(function(){r.KE=null;r.GS()},q)}this.Ph||(this.Ph=!0,this.trigger(new g(p.Gi)))};
p.prototype.GS=function(){this.Wra();this.Ph&&(this.Ph=!1,this.trigger(new g(p.Fi)))};p.prototype.Wra=function(){null!=this.KE&&(clearTimeout(this.KE),this.KE=null)};p.ht="rotation change";p.Wo="zoom change";p.Gi="user interaction start";p.Fi="user interaction end";return p});
define("dw",["require","v"],function(a){function e(){this.fH=m.kb()?.066:.1;this.HLa=.5;this.nQa=m.kb()?.066:.1;this.qTa=.1;this.MW=this.SW=!1;this.reset()}function h(k,b,g){k=(b-k)*(1-g);.01>Math.abs(k)&&(k=0);return b-k}var m=a("v");e.prototype.reset=function(){this.kja=this.z3=this.aF=this.sx=this.iK=this.D3=this.C3=this.H3=this.DF=this.vB=this.YV=this.$V=this.Yp=this.IM=this.us=this.CO=0};e.prototype.cea=function(k,b,g,d,c,f,l,p,q){return this.CO!=k||(this.IM=b)||this.$V!=g||0!=d||0!=c||this.MW!=
l||this.Oma!=p||this.SW!=q?(this.CO=k,this.IM=b,this.$V=g,this.us+=d,this.Yp+=c,this.YV+=f,this.MW=l,this.Oma=p,this.SW=q,!0):!1};e.prototype.g_a=function(k,b){return this.vB!=k||0!=b?(this.vB=k,this.DF+=b,!0):!1};e.prototype.af=function(){return 0!=this.H3||0!=this.C3||0!=this.D3||0!=this.iK||0!=this.CO||0!=this.IM||0!=this.$V||0!=this.vB||0!=this.us||0!=this.Yp||0!=this.DF};e.prototype.zb=function(k){k=1E3/k;var b=this.H3/k,g=this.CO/k+this.us;this.us=0;var d=this.C3/k,c=this.IM/k+this.Yp;this.Yp=
0;var f=this.D3/k,l=this.$V/k+this.YV;this.YV=0;var p=this.vB+this.DF*k;this.DF=0;var q=0==g&&0==c&&0==l,n=0==b&&0==d&&0==f;this.MW&&n&&!q||this.SW&&q&&!n||this.Oma&&!q&&!n?(q=q?this.fH:n?this.nQa:this.HLa,this.sx=h(b,g,q),this.aF=h(d,c,q),this.z3=h(f,l,q)):(this.sx=g,this.aF=c,this.z3=l);b=0==this.iK;g=0==p;this.iK=this.MW&&b&&!g||this.SW&&g&&!b?h(this.iK,p,this.qTa):p;this.H3=this.sx*k;this.C3=this.aF*k;this.D3=this.z3*k;this.kja=this.iK/k};return e});
define("cZ","require jquery.mod lo e fn dw bg oH".split(" "),function(a){var e=a("jquery.mod"),h=a("lo"),m=a("e"),k=a("fn"),b=a("dw"),g=a("bg"),d=a("oH");a=h.extend(m,function(){m.call(this);this.Be("Renderer");this.O=e("<canvas></canvas>");this.O.css({position:"absolute",left:0,top:0});this.Bb().append(this.O);this.Ox=null;this.Da=this.HF=this.FF=this.GF=0;this.wk=!1;this.wNa=150;this.UK=0;this.Cm=null;this.bind(d.kc,this.hc,this,!0);this.lb=new k;this.lb.B1a(720);this.lb.WP(0);this.lb.Cz("drag_rotation");
this.lb.PD(360);this.lb.bind(k.ht,this.JMa,this);this.cc=new b});a.prototype.VYa=function(c,f,l){this.Ox=c;this.GF=f;this.FF=l;this.HF=Math.floor(this.Ox.length*this.Da/360);this.m9();this.lb.Mq(this);this.Ma()};a.prototype.XTa=function(){this.Ox=null;this.Fk();this.m9();this.lb.Ql()};a.prototype.play=function(){this.wk=!0;this.Ma()};a.prototype.JMa=function(c){this.Fk();this.cc.cea(c.rw,c.Vv,0,c.XI,c.zI,0,!1,!0);this.Ma()};a.prototype.TL=function(){this.play()};a.prototype.yj=function(c){this.Ox&&
(this.cc.af()?(this.wk=!1,this.cc.zb(c),this.Aha(this.cc.sx),this.Ma()):this.wk?(this.Aha(this.wNa*c/1E3),this.Ma()):this.JF()||this.kq())};a.prototype.tn=function(c){for(this.Da=c;0>this.Da;)this.Da+=360;for(;360<=this.Da;)this.Da-=360;this.mSa()};a.prototype.mSa=function(){if(this.Ox){var c=Math.floor(this.Ox.length*this.Da/360);this.HF!=c&&(this.HF=c,this.Zpa())}};a.prototype.Aha=function(c){this.tn(this.Da+c)};a.prototype.hc=function(){this.m9()};a.prototype.m9=function(){var c=this.O.get(0);
if(0==this.GF||0==this.FF)c.width=0,c.height=0;else{var f=this.rf(),l=this.qf();l*this.GF>f*this.FF?(c.width=f,c.height=this.FF*f/this.GF):(c.height=l,c.width=this.GF*l/this.FF);this.O.css({left:Math.round(.5*(f-c.width))+"px",top:Math.round(.5*(l-c.height))+"px"});this.Zpa()}};a.prototype.Zpa=function(){if(this.Ox){var c=this.O.get(0);c.getContext("2d").drawImage(this.Ox[this.HF],0,0,this.GF,this.FF,0,0,c.width,c.height)}};a.prototype.JF=function(){return this.Cm?!0:!1};a.prototype.kq=function(){this.Fk();
if(0<this.UK){var c=this;this.Cm=setTimeout(function(){c.Cm=null;c.TL()},this.UK)}};a.prototype.Fk=function(){this.Cm&&(clearTimeout(this.Cm),this.Cm=null)};a.prototype.Ma=function(){g.requestFrame(this.yj,this)};return a});
define("mm","require oH hT cy nx ga A cZ oc ku".split(" "),function(a){var e=a("oH"),h=a("hT"),m=a("cy"),k=a("nx"),b=a("ga"),g=a("A"),d=a("cZ"),c=a("oc"),f=a("ku");a=k.define("Object3D",c,function(){c.call(this);this.md=this.Hm=this.Mh=this.j=null;this.bind(e.kd,this.rk,this);this.bind(e.sd,this.lk,this)});a.prototype.Ab=function(){c.prototype.Ab.call(this);this.j||(this.j=new d,this.j.ja({left:0,top:0,right:0,bottom:0}),this.Wa(this.j));this.Mh||(this.Mh=new g,this.Mh.ja({left:0,bottom:0,right:0,
height:20,visible:!1}),this.Wa(this.Mh))};a.prototype.rk=function(){this.rL()};a.prototype.lk=function(){this.qo()};a.prototype.rL=function(){this.Mh.set("percent",0);this.Mh.set("visible",!0);this.j.tn(this.get("yaw"));var l=this.get("frames",[]);this.Hm=[];this.md=[];for(var p=0;p<l.length;p++){var q=b.Eq(l[p]);this.Hm.push(q);q=new f(h.Xk);q.bind(e.Z,this.bM,this);q.bind(e.tc,this.cM,this);this.md.push(q)}for(p=0;p<l.length;p++)this.md[p].load(this.Hm[p].get("url"))};a.prototype.bM=function(){var l=
this.md.filter(function(p){return p.dj()});this.Mh.set("percent",100*l.length/this.md.length);l.length==this.md.length&&this.nd()};a.prototype.cM=function(){};a.prototype.nd=function(){this.Mh.set("visible",!1);var l=this.Hm[0].get("width",this.md[0].rd()),p=this.Hm[0].get("height",this.md[0].ee()),q=this.md.map(function(n){return n.sf()});this.j.VYa(q,l,p);this.trigger(new m(e.Z))};a.prototype.qo=function(){this.md&&(this.Mh.set("visible",!1),this.j.XTa(),this.md=this.md.forEach(function(l){l.unbind(e.Z,
this.bM,this);l.unbind(e.tc,this.cM,this);l.cancel()}),this.Hm=this.md=null)};return a});define("ix",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("OrbitLight",e,function(){e.call(this)})});define("gF",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("RotationalCameraPosition",e,function(h,m,k){e.call(this);void 0!==h&&this.set("yaw",h);void 0!==m&&this.set("pitch",m);void 0!==k&&this.set("hfov",k)})});
define("mp",["require","gF","nx"],function(a){var e=a("gF");return a("nx").define("PanoramaCameraPosition",e,function(){e.apply(this,arguments)})});define("hm",["require","lP","nx","mp","gF"],function(a){var e=a("lP"),h=a("nx"),m=a("mp"),k=a("gF"),b=h.define("RotationalCamera",e,function(){e.call(this);this.set("initialPosition",new k)});return h.define("PanoramaCamera",b,function(){b.call(this);this.set("initialPosition",new m)})});
define("lE",["require","gF","nx"],function(a){var e=a("gF");return a("nx").define("RotationalCameraDisplayPosition",e,function(){e.apply(this,arguments)})});define("kM",["require","lE","nx"],function(a){var e=a("lE");return a("nx").define("PanoramaCameraDisplayPosition",e,function(){e.apply(this,arguments)})});define("eX",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaCameraMovement",e,function(){e.call(this)})});
define("eQ",["require","lP","cy","nx","oH"],function(a){var e=a("lP"),h=a("cy"),m=a("nx"),k=a("oH");a=m.define("RotationalCameraSequence",e,function(){e.call(this)});a.prototype.play=a.prototype.play=function(){this.trigger(new h(k.Jw))};a.prototype.pause=a.prototype.pause=function(){this.trigger(new h(k.tE))};return a});define("bN",["require","nx","eQ"],function(a){var e=a("nx"),h=a("eQ");return e.define("PanoramaCameraSequence",h,function(){h.call(this)})});
define("iu",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaMapLocation",e,function(){e.call(this)})});define("bj",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaModel3DLocation",e,function(){e.call(this)})});define("oV",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaOverlay",e,function(){e.call(this)})});
define("ne",["require","kO","hi","a"],function(a){function e(b){this.j=b;this.ip=[];this.C5=!1;this.gb=this.Da=0}var h=a("kO"),m=a("hi"),k=a("a");e.prototype.clear=function(){this.stop();this.ip=this.j=null};e.prototype.end=function(b){var g=[],d=[],c=this.bla(b);this.ip.forEach(function(f){0>c.indexOf(f)?g.push(f):d.push(f)});g.forEach(function(f){f.nD().Jd(h.T)});this.ip=d;this.C5=!1};e.prototype.start=function(b){this.end(b);this.ip=this.bla(b);this.C5=0<this.ip.filter(function(g){return g instanceof
m}).length;this.Psa();this.mW(h.X,!0)};e.prototype.play=function(){this.mW(h.X)};e.prototype.pause=function(){this.mW(h.Eb)};e.prototype.stop=function(){this.mW(h.T)};e.prototype.wd=function(){this.Da=this.j.Tc();this.gb=this.j.Oc();this.Psa()};e.prototype.Psa=function(){if(this.C5){var b=Math.PI/180,g=this.Da*b,d=this.gb*b,c=new k(Math.sin(g)*Math.cos(d),Math.sin(d),Math.cos(g)*Math.cos(d));this.ip.forEach(function(f){if(f instanceof m){var l=f.get("yaw",g)*b,p=f.get("pitch",d)*b,q=f.get("maximumAngle",
360)*b;l=new k(Math.sin(l)*Math.cos(p),Math.sin(p),Math.cos(l)*Math.cos(p));q=Math.min(1,Math.max(0,1-Math.acos(c.jD(l))/q));f.nD().jw(q)}}.bind(this))}};e.prototype.bla=function(b){return b?b.get("audios",[]):[]};e.prototype.mW=function(b,g){(g?this.ip.slice().reverse():this.ip).forEach(function(d){if(d.get("autoplay",!1)){d=d.nD();var c=d.getState();b==h.X&&c!=h.X?d.Jd(h.X):b==h.Eb&&c==h.X?d.Jd(h.Eb):b==h.T&&c!=h.T&&d.Jd(h.T)}})};return e});
define("fm",["require"],function(){function a(c){c%=m;0>c&&(c+=m);return g[c*k|0]}function e(c){c%=m;0>c&&(c+=m);return b[c*k|0]}function h(){this.identity()}h.prototype.identity=function(){this.m11=1;this.m21=this.m13=this.m12=0;this.m22=1;this.m32=this.m31=this.m23=0;this.m33=1;this.tz=this.ph=this.oh=0};h.prototype.clone=function(){var c=new h;c.m11=this.m11;c.m12=this.m12;c.m13=this.m13;c.m21=this.m21;c.m22=this.m22;c.m23=this.m23;c.m31=this.m31;c.m32=this.m32;c.m33=this.m33;c.oh=this.oh;c.ph=
this.ph;c.tz=this.tz;return c};h.prototype.concat=function(c){var f=this.m11,l=this.m12,p=this.m13,q=this.m21,n=this.m22,r=this.m23,t=this.m31,u=this.m32,v=this.m33,w=this.oh,x=this.ph,y=this.tz;this.m11=f*c.m11+l*c.m21+p*c.m31;this.m12=f*c.m12+l*c.m22+p*c.m32;this.m13=f*c.m13+l*c.m23+p*c.m33;this.m21=q*c.m11+n*c.m21+r*c.m31;this.m22=q*c.m12+n*c.m22+r*c.m32;this.m23=q*c.m13+n*c.m23+r*c.m33;this.m31=t*c.m11+u*c.m21+v*c.m31;this.m32=t*c.m12+u*c.m22+v*c.m32;this.m33=t*c.m13+u*c.m23+v*c.m33;this.oh=w*
c.m11+x*c.m21+y*c.m31+c.oh;this.ph=w*c.m12+x*c.m22+y*c.m32+c.ph;this.tz=w*c.m13+x*c.m23+y*c.m33+c.tz};h.prototype.translate=function(c,f,l){this.oh+=c;this.ph+=f;this.tz+=l};h.prototype.scale=function(c,f,l){this.m11*=c;this.m12*=f;this.m13*=l;this.m21*=c;this.m22*=f;this.m23*=l;this.m31*=c;this.m32*=f;this.m33*=l;this.oh*=c;this.ph*=f;this.tz*=l};h.prototype.rotateX=function(c){var f=a(c);c=e(c);var l=this.m12*f+this.m13*c,p=this.m22*c-this.m23*f,q=this.m22*f+this.m23*c,n=this.m32*c-this.m33*f,r=
this.m32*f+this.m33*c,t=this.ph*c-this.tz*f,u=this.ph*f+this.tz*c;this.m12=this.m12*c-this.m13*f;this.m13=l;this.m22=p;this.m23=q;this.m32=n;this.m33=r;this.ph=t;this.tz=u};h.prototype.rotateY=function(c){var f=a(c);c=e(c);var l=-this.m11*f+this.m13*c,p=this.m21*c+this.m23*f,q=-this.m21*f+this.m23*c,n=this.m31*c+this.m33*f,r=-this.m31*f+this.m33*c,t=this.oh*c+this.tz*f,u=-this.oh*f+this.tz*c;this.m11=this.m11*c+this.m13*f;this.m13=l;this.m21=p;this.m23=q;this.m31=n;this.m33=r;this.oh=t;this.tz=u};
h.prototype.rotateZ=function(c){var f=a(c);c=e(c);var l=this.m11*f+this.m12*c,p=this.m21*c-this.m22*f,q=this.m21*f+this.m22*c,n=this.m31*c-this.m32*f,r=this.m31*f+this.m32*c,t=this.oh*c-this.ph*f,u=this.oh*f+this.ph*c;this.m11=this.m11*c-this.m12*f;this.m12=l;this.m21=p;this.m22=q;this.m31=n;this.m32=r;this.oh=t;this.ph=u};h.prototype.rotate=function(c,f,l){this.rotateX(c);this.rotateY(f);this.rotateZ(l)};h.prototype.invert=function(){var c=this.VUa();if(0==c)return!1;var f=this.clone();this.m11=
(f.m22*f.m33-f.m23*f.m32)/c;this.m12=(f.m13*f.m32-f.m12*f.m33)/c;this.m13=(f.m12*f.m23-f.m13*f.m22)/c;this.m21=(f.m23*f.m31-f.m21*f.m33)/c;this.m22=(f.m11*f.m33-f.m13*f.m31)/c;this.m23=(f.m13*f.m21-f.m11*f.m23)/c;this.m31=(f.m21*f.m32-f.m22*f.m31)/c;this.m32=(f.m12*f.m31-f.m11*f.m32)/c;this.m33=(f.m11*f.m22-f.m12*f.m21)/c;this.oh=-(f.oh*this.m11+f.ph*this.m21+f.tz*this.m31);this.ph=-(f.oh*this.m12+f.ph*this.m22+f.tz*this.m32);this.tz=-(f.oh*this.m13+f.ph*this.m23+f.tz*this.m33);return!0};h.prototype.VUa=
function(){return this.m11*(this.m22*this.m33-this.m23*this.m32)+this.m12*(this.m23*this.m31-this.m21*this.m33)+this.m13*(this.m21*this.m32-this.m22*this.m31)};h.prototype.JH=function(c){var f=c.x*this.m12+c.y*this.m22+c.z*this.m32+this.ph,l=c.x*this.m13+c.y*this.m23+c.z*this.m33+this.tz;c.x=c.x*this.m11+c.y*this.m21+c.z*this.m31+this.oh;c.y=f;c.z=l};for(var m=2*Math.PI,k=18E4/m,b=new Float32Array(180001),g=new Float32Array(180001),d=0;18E4>d;d++)b[d]=Math.cos(d/k),g[d]=Math.sin(d/k);b[18E4]=b[0];
g[18E4]=g[0];return h});define("dC",["require"],function(){return{Zs:0,Pa:1,hb:2}});
define("bZ",["require","nx","lH"],function(a){var e=a("nx"),h=a("lH"),m={get:function(k){return k.nDa||(k.nDa=this.YHa(k))},YHa:function(k){if(e.Na("CubicPanoramaFrame",k))return k.get("stereoCube")?m.Kw:k.get("cube")?m.nt:m.Yk;if(e.Na("SphericPanoramaFrame",k)){var b=k.get("stereoSphere"),g=k.get("sphere"),d=k.get("hfov");k=k.get("vfov");var c=359.9<d&&179.9<k,f=!1;b&&!g?f=!0:b?g&&!b.get("levels").some(h.tAa)?f=!1:c&&h.MTa()?f=!0:!c&&h.LTa()&&(f=!0):f=!1;return f?(g=b.get("levels"),b=Math.max.apply(Math,
g.map(function(l){return l.get("width")})),g=Math.max.apply(Math,g.map(function(l){return l.get("height")})),2==Math.round(g/k/(b/d))?m.ep:m.hr):m.Zo}},Kw:"stereoCube_12_1",nt:"monoCube_6_1",Yk:"monoCube_1_1",Zo:"monoSphere_1_1",ep:"stereoSphere_1_2",hr:"stereoSphere_2_1"};return m});
define("nh","require nx lZ dC mD bZ jv lH v ia mj md ku od".split(" "),function(a){function e(G,L,U){return G.split(L).join(U).split(encodeURI(L)).join(U)}function h(G,L){return 0<=G.indexOf(L)||0<=G.indexOf(encodeURI(L))}function m(){var G=z.Sv()&&C.Wh("recent_ipad_use_max_res",!1);m=function(){return G};return G}function k(G){if(0==G.length)return 1;G.sort(function(L,U){return U.get("width")-L.get("width")});return G[0].get("width")/G[0].get("height")}function b(G,L){var U=1E4;m()||(z.Rf()?U=2048:
z.Sv()?U=1280:z.kb()&&(U=1024));switch(G){case A.nt:return[6*U,U];case A.Yk:return[U,U];case A.Kw:return[12*U,U]}switch(G){case A.ep:L*=2;break;case A.hr:L*=.5}return 2<L?[4*U,4*U/L]:[2*U*L,2*U]}function g(G){if(m())return[void 0,void 0];switch(G){case A.nt:if(z.Rf()||z.kb())return[18432,1536];break;case A.ep:if(z.Rf())return[5352,5352];if(z.kb())return[6086,6086];break;case A.Zo:if(z.Rf())return[7168,3584];if(z.kb()&&z.Sv())return[8192,4096]}return[void 0,void 0]}function d(G,L){var U=g(L);return G.filter(function(O){return v.Na("TiledImageResourceLevel",
O)?!0:void 0!==U[0]&&O.get("width")>U[0]||void 0!==U[1]&&O.get("height")>U[1]?!1:!0})}function c(){return z.Sv()?[w.nga]:z.bZ()?z.hd()==z.bt||z.hd()==z.$s?[w.cR,w.l1]:[w.l1,w.cR]:z.Rf()?[w.cR]:z.kb()?[w.bR]:[]}function f(G){G.sort(function(L,U){return L.get("width")-U.get("width")});return G}function l(G,L){function U(O){return Math.abs(O.get("width")*O.get("height")-L[0]*L[1])}G.sort(function(O,V){return U(O)-U(V)});return G.length&&G[0]||null}function p(G,L,U){G=G.filter(function(O){return 0>O.get("tags").indexOf(L)});
return G.length?G:void 0!==U?U:[]}function q(G,L,U){G=G.filter(function(O){return 0<=O.get("tags").indexOf(L)});return G.length?G:void 0!==U?U:[]}function n(G,L,U){switch(U){case A.Kw:case A.nt:case A.Yk:return G;case A.Zo:case A.hr:return G*L.get("hfov",180)/90;case A.ep:return G*L.get("hfov",180)*2/90}}function r(G,L){switch(L){case A.Kw:return G.get("stereoCube").get("levels");case A.nt:return G.get("cube").get("levels");case A.Yk:return G.get("front").get("levels");case A.Zo:return G.get("sphere").get("levels");
case A.ep:case A.hr:return G.get("stereoSphere").get("levels")}}function t(G,L){var U=r(G,L),O=G.get("minFaceSize");if(O){var V=n(O,G,L);G=U.filter(function(Y){return Y.get("height")>=V});0<G.length&&(U=G)}return U}function u(G){for(var L=[],U=0;U<G.length;U++){var O=G[U];0>L.indexOf(O)&&L.push(O)}return L}var v=a("nx"),w=a("lZ"),x=a("dC"),y=a("mD"),A=a("bZ"),B=a("jv");a("lH");var z=a("v");a("ia");var C=a("mj"),H=a("md"),D=a("ku"),I=a("od"),F={Lva:function(G){G=G.get("frames");if(0==G.length)return 1;
var L=G[0];G=A.get(L)==A.Zo&&L.Tl()?(G=I.Jj(L.get("sphere")))?[G]:[]:A.get(L)!=A.ep&&A.get(L)!=A.hr||!L.Tl()?F.aca(L,!1):(G=I.Jj(L.get("stereoSphere")))?[G]:[];return Math.max.apply(Math,G.map(function(U){return F.uVa(L,U)}).concat([1]))},uVa:function(G,L){L=F.Xba(G,L,y.FRONT);L=L.get("width");var U=G.oz().get("hfov",360);switch(A.get(G)){case A.Kw:return L/1080;case A.nt:return L/540;case A.Yk:return L/90;case A.Zo:return L/U;case A.ep:return L/U;case A.hr:return L/(2*U)}},tca:function(G,L){G=F.jn(G,
L);return 6>=G.length&&G.every(function(U){return D.r_(U)})},kda:function(G,L){return F.jn(G,L).every(function(U){return D.r_(U)})},jn:function(G,L,U){if(!G)return[];U||(U=!1);if(v.Na("Panorama",G))return U=G.get("flipImageHorizontally",!1),u([].concat(Array.prototype.concat.apply([],G.get("frames").map(function(J){return F.jn(J,L,U)})),Array.prototype.concat.apply([],G.get("overlays").map(function(J){return F.jn(J,L,U)}))));if(v.Na("PanoramaFrame",G)){var O=Array.prototype.concat.apply([],G.get("overlays").map(function(J){return F.jn(J,
L,U)}));if(A.get(G)==A.Zo&&G.Tl())return F.jn(I.Jj(G.get("sphere")),L).concat(O);if((A.get(G)==A.ep||A.get(G)==A.hr)&&G.Tl())return F.jn(I.Jj(G.get("stereoSphere")),L).concat(O);var V=F.aca(G,L)[0];U=G.get("flipImageHorizontally",!1);if(A.get(G)==A.Yk){var Y=[y.FRONT,y.Pa,y.BACK,y.hb,y.uc,y.pc];return Array.prototype.concat.apply([],Y.map(function(J){return(J=F.Xba(G,V,J))?F.jn(J,L,U):[]})).concat(O)}return F.jn(V,L,U).concat(O)}if(v.Na("Video360ResourceLevel",G))return(O=G.get("posterURL"))?[O]:
[];if(v.Na("HotspotPanoramaOverlay",G))return G.get("projected")?Array.prototype.concat.apply([],G.get("items").map(function(J){return F.jn(J,L,U)})):[];if(v.Na("FlatHotspotPanoramaOverlayImage",G)||v.Na("HotspotPanoramaOverlayImage",G))return O=G.get("image").get("levels"),V=O[0],F.jn(V,L,U),Array.prototype.concat.apply([],O.map(function(J){return F.jn(J,L,U)}));if(v.Na("TiledImageResourceLevel",G)){var ca=[];O=Math.round(G.get("width")/G.get("height"));if(1==O)var E=A.Yk;else if(12==O)E=A.u0a;else if(6==
O)E=A.nt;else return[];var K=12==O?[x.hb,x.Pa]:[x.Zs];Y=[y.hb,y.Pa,y.uc,y.pc,y.FRONT,y.BACK];var P=G.get("colCount",O)/O,T=G.get("rowCount",1);K.forEach(function(J){Y.forEach(function(M){for(var X=0;X<T;X++)for(var aa=0;aa<P;aa++)ca.push(F.Xva(G,E,J,M,U,T,X,aa))})});return ca}return v.Na("ImageResourceLevel",G)?[G.get("url")]:[]},aca:function(G,L){var U=A.get(G),O=this.OIa(G);if(O)return L&&!this.Pla(O)&&(G=this.hla(G),G!=O)?[G,O]:[O];O=q(t(G,U),w.m1);if(0<O.length)return f(O);O=this.BJa(G);return L&&
!this.Pla(O)&&(G=this.hla(G),G!=O)?[G,O]:[O]},CWa:function(G){return 0<=G.get("tags").indexOf(w.m1)},Xba:function(G,L,U){if(A.get(G)!=A.Yk)return L;switch(U){case y.FRONT:var O=G.get("front");break;case y.Pa:O=G.get("left");break;case y.BACK:O=G.get("back");break;case y.hb:O=G.get("right");break;case y.uc:O=G.get("top");break;case y.pc:O=G.get("bottom")}G=O&&O.get("levels")||[];if(0==G.length)return null;G=G.filter(function(V){return V.get("width")==L.get("width")&&V.get("height")==L.get("height")&&
V.get("grayscale",!1)==L.get("grayscale",!1)&&V.get("colCount",1)==L.get("colCount",1)&&V.get("rowCount",1)==L.get("rowCount",1)});return G[0]},Xva:function(G,L,U,O,V,Y,ca,E){G=G.get("url");var K=0;h(G,"{eye}")?G=e(G,"{eye}",W[U]):K+=6*(V?Q:S)[U];h(G,"{face}")?G=e(G,"{face}",R[O]):L!=A.Yk&&(K+=N[O]);G=e(G,"{row}",ca);return G=e(G,"{column}",E+K*Y)},wVa:function(G,L){return F.JK(F.sB(G.get("image")),90,90,H.rh,L)},UUa:function(G,L){return F.JK(F.sB(G.get("image")),G.get("hfov"),G.get("vfov"),G.get("scaleMode"),
L)},hVa:function(G,L){return F.JK(F.sB(G.get("image")),G.get("hfov"),G.get("vfov"),G.get("scaleMode"),L)},JVa:function(G,L){return F.JK(F.sB(G.get("image")),G.get("hfov"),G.get("vfov"),G.get("scaleMode"),L)},zva:function(G,L){return F.JK(F.sB(G.get("image")),G.get("hfov"),G.get("vfov"),G.get("scaleMode"),L)},sB:function(G){return G&&G.get("levels")||[]},JK:function(G,L,U,O,V){if(!G||!G.length)return null;G=p(G,w.kr,G);for(var Y=c(),ca=0;ca<Y.length;ca++)G=q(G,Y[ca],G);Y=1E4;m()||(z.Rf()?Y=2048:z.Sv()?
Y=1280:z.kb()&&(Y=1024));ca=f(G)[G.length-1];L=B.eca(L,U,ca.get("width"),ca.get("height"),O,V);return l(G,[L.Ee*Y/90,L.Sq*Y/90])},cVa:function(G){var L=F.sB(G.get("image"));if(!L||!L.length)return null;L=p(L,w.kr,L);for(var U=c(),O=0;O<U.length;O++)L=q(L,U[O],L);U=f(L)[L.length-1];G=B.BY(G.get("width"),G.get("height"),U.get("width"),U.get("height"),G.get("scaleMode"));return l(L,[G.width,G.height])},zVa:function(G){var L=F.sB(G.get("image"));if(!L||!L.length)return null;L=p(L,w.kr,L);for(var U=c(),
O=0;O<U.length;O++)L=q(L,U[O],L);U=1E4;m()||(z.Rf()?U=2048:z.Sv()?U=1280:z.kb()&&(U=1024));var V=O=20;(G=G.get("vertices"))&&4==G.length&&(O=G[0].get("yaw"),V=G[1].get("yaw"),V<O&&(V+=360),O=V-O,V=G[0].get("pitch"),G=G[3].get("pitch"),V-=G);return l(L,[O*U/90,V*U/90])},hla:function(G){var L=A.get(G);G=t(G,L);G=d(G,L);G=q(G,w.kr,G);L=c();for(var U=0;U<L.length;U++)G=q(G,L[U],G);return l(G,[0,0])},BJa:function(G){var L=A.get(G);G=t(G,L);G=d(G,L);G=p(G,w.kr,G);for(var U=c(),O=0;O<U.length;O++)G=q(G,
U[O],G);L=b(L,k(G));return l(G,L)},OIa:function(G){var L=c();if(0==L.length)return null;var U=A.get(G),O=t(G,U);O=d(O,U);O=p(O,w.kr,O);G=[];for(var V=0;V<L.length&&0==G.length;V++)G=q(O,L[V]);if(0==G.length)return null;L=b(U,k(G));return l(G,L)},Pla:function(G){return 0<=G.get("tags").indexOf(w.m1)?!1:z.hd()==z.Pz?!0:D.r_(G.get("url"))}},N=function(){var G={};G[y.hb]=0;G[y.Pa]=1;G[y.uc]=2;G[y.pc]=3;G[y.FRONT]=4;G[y.BACK]=5;return G}(),S=function(){var G={};G[x.hb]=0;G[x.Pa]=1;G[x.Zs]=0;return G}(),
Q=function(){var G={};G[x.hb]=1;G[x.Pa]=0;G[x.Zs]=0;return G}(),R=function(){var G={};G[y.hb]="r";G[y.Pa]="l";G[y.uc]="u";G[y.pc]="d";G[y.FRONT]="f";G[y.BACK]="b";return G}(),W=function(){var G={};G[x.Pa]="l";G[x.hb]="r";G[x.Zs]="b";return G}();return F});
define("ip","require eg oH kP fm a nh".split(" "),function(a){function e(q){this.j=q;this.va=!1;this.Xm=e.wA;this.K4=this.Ela=!1;this.Ai(null);this.j.bind(m.kc,this.hc,this,!0);this.hc()}var h=a("eg"),m=a("oH"),k=a("kP"),b=a("fm"),g=a("a"),d=a("nh");e.prototype.owa=function(){return this.Xm!==e.wA};e.prototype.nwa=function(){return this.Xm&e.yE?!0:!1};e.prototype.pwa=function(){return this.Xm&e.zE?!0:!1};e.prototype.qwa=function(){return this.Xm&e.AA?!0:!1};e.prototype.mwa=function(){return this.Xm&
e.vA?!0:!1};e.prototype.b_=function(q){this.Ela=q};e.prototype.Tc=function(){this.bn();return this.Da};e.prototype.Oc=function(){this.bn();return this.gb};e.prototype.Qf=function(){this.bn();return this.ed};e.prototype.Nv=function(){this.bn();return this.La};e.prototype.Ai=function(q){q?(this.f8=q.get("hfov",360),this.lV=q.get("vfov",180),this.EM=q.get("pitch",0),this.iC=q.get("partial",!1),this.E5=q.twa(),this.A5=q.iwa(),this.J5=Math.min(q.get("hfovMax",170),170),this.RK=q.get("hfovMin"),this.U6=
d.Lva(q)):(this.f8=360,this.lV=180,this.EM=0,this.A5=this.E5=this.iC=!1,this.J5=120,this.U6=this.RK=1);this.Da=0;this.gb=this.EM;this.ed=0;this.va=!0};e.prototype.setPosition=function(q,n,r,t,u){this.Da=q;this.gb=n;this.ed=r;this.La=t;this.K4=u;this.va=!0};e.prototype.hc=function(){var q=this.j.Xa(),n=this.j.xb();if(this.ia!=q||this.ua!=n)this.ia=q,this.ua=n,this.va=!0};e.prototype.bn=function(){if(this.va){this.va=!1;var q=this.Da*l,n=this.gb*l,r=this.La*l,t=(this.K4?k.Rq(this.J5,this.ia,this.ua):
this.J5)*l;a:{var u=this.RK;if(h(u).isString()&&(u=u.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&2<=u.length){u=parseFloat(u[1]);break a}u=void 0}u=void 0!==u?2*Math.atan2(this.ia*this.j.getPixelRatio()*.5,45*this.U6*u/100):this.RK?(this.K4?k.Rq(this.RK,this.ia,this.ua):this.RK)*l:2*Math.atan2(this.ia*this.j.getPixelRatio()*.5,45*this.U6);u=Math.min(t,u);if(this.Ela){var v=360;var w=180;var x=0}else if(this.E5||this.A5){v=this.A5?90:this.EM+.5*this.lV;var y=this.E5?-90:this.EM-.5*this.lV;w=v-y;x=.5*(v+
y);v=this.f8}else v=this.f8,x=this.EM,w=this.lV;v*=l;w*=l;x*=l;for(y=this.ia/this.ua;q<-c;)q+=2*c;for(;q>c;)q-=2*c;r=Math.max(Math.min(r,t),u);t=e.wA;n>f?t|=e.AA:n<-f&&(t|=e.vA);n=Math.max(Math.min(n,.5*c),.5*-c);var A=2*Math.atan(Math.tan(.5*r)/y);if(A>=w)r=2*Math.atan(Math.tan(.5*w)*y),n=x,t=t|e.AA|e.vA;else{var B=Math.min(.5*w+x,.5*c);w=Math.max(.5*-w+x,.5*-c);x=!this.iC&&B>=.495*c?.5*c:B-.5*A;w=!this.iC&&w<=.495*-c?.5*-c:w+.5*A;n>x?(n=x,t|=e.AA):n<w&&(n=w,t|=e.vA)}this.iC&&(w=Math.tan(.5*r),y=
w/y,y=new g(-w,0<n?y:-y,1),w=new b,w.rotateX(-n),y.apply(w),y=2*y.Tc(),0>y&&(y+=2*c),w=.5*v-.5*y,A=.5*-v+.5*y,y>v?(q=0,r=Math.max(u,r*v/y),t=t|e.yE|e.zE):q>w?(q=w,t|=e.zE):q<A&&(q=A,t|=e.yE));this.Da=q*p;this.gb=n*p;this.La=r*p;this.Xm=t}};var c=Math.PI,f=.5*Math.PI,l=Math.PI/180,p=180/Math.PI;e.wA=0;e.yE=1;e.zE=2;e.AA=4;e.vA=8;return e});
define("bd",["require","lo","oH","gi","oU"],function(a){var e=a("lo"),h=a("oH"),m=a("gi"),k=a("oU"),b=e.extend(m,function(){m.call(this);this.cL=!1;this.jo=void 0;this.La=90;this.z4=.1;this.Ca=this.ab=null});b.prototype.setCamera=function(g){this.Ca&&this.Ca.unbind(h.G("hoverFactor"),this.aaa,this);if(this.Ca=g)this.Ca.bind(h.G("hoverFactor"),this.aaa,this),this.aaa()};b.prototype.aaa=function(){this.z4=this.Ca.get("hoverFactor")};b.prototype.PD=function(g){this.La=g};b.prototype.Mq=function(g){this.Ql();
g&&(this.ab=g,this.jo=void 0,this.ab.bind(h.jc,this.vj,this,!0))};b.prototype.Ql=function(){null!=this.ab&&(this.ab.unbind(h.jc,this.vj,this),this.ab=null)};b.prototype.vj=function(g){this.rH(g)};b.prototype.rH=function(g){this.jo&&this.taa.call(this,+(Math.min(Math.max((g.x-this.jo.x)/this.ab.Xa(),-1),1)*this.La*this.z4),-(Math.min(Math.max((g.y-this.jo.y)/this.ab.Xa(),-1),1)*this.La*this.z4));this.jo=g};b.prototype.taa=function(g,d){if(0!=g||0!=d){var c=new k(b.ht);c.XI=g;c.zI=d;this.trigger(c)}};
b.ht="rotation change";return b});
define("hf","require eg lo cy gi dw bd".split(" "),function(a){a("eg");var e=a("lo"),h=a("cy"),m=a("gi"),k=a("dw"),b=a("bd"),g=e.extend(m,function(d,c,f){m.call(this);this.j=d;this.yc=this.j.yc;this.ga=c;this.Gc=f;this.By=this.nR=this.W=!1;this.cc=new k;this.$i=null;this.ed=this.gb=this.Da=0;this.La=90;this.lb=new b;this.lb.bind(b.ht,this.fM,this,!0)});g.prototype.clear=function(){this.lb.unbind(b.ht,this.fM,this,!0);this.lb.Ql();this.lb=null;this.WA();this.j=this.yc=this.Gc=this.ga=this.cc=null};
g.prototype.setCamera=function(d){this.cc.reset();this.lb.setCamera(d)};g.prototype.setPosition=function(d,c,f,l){if(this.Da!=d||this.gb!=c||this.ed!=f||this.La!=l)this.Da=d,this.gb=c,this.ed=f,this.La=l,this.lb.PD(this.La),this.C9(!1),this.IN()};g.prototype.af=function(){return this.nR&&this.By?!0:!1};g.prototype.zb=function(d){this.Yy=!1;this.cc.zb(d);this.By=!1;d=this.Da+this.cc.sx;var c=this.gb+this.cc.aF;this.Gc.Ko(this.La);this.ga.setPosition(d,c,this.ed,this.Gc.Ag(),this.Gc.Lv());this.Da=this.ga.Tc();
this.gb=this.ga.Oc();this.ed=this.ga.Qf();this.La=this.ga.Nv()};g.prototype.Dq=function(){return this.Da};g.prototype.Cq=function(){return this.gb};g.prototype.mz=function(){return this.ed};g.prototype.pD=function(){return this.La};g.prototype.nc=function(d){this.W!=d&&((this.W=d)?this.IN():(this.WA(),this.C9(!1)))};g.prototype.fM=function(d){this.Kc(d.rw,d.Vv,0,0,d.XI,d.zI,0,0,!1,!1,!0,!0)};g.prototype.Kc=function(d,c,f,l,p,q,n,r,t,u,v,w){var x=this.cc.cea(d,c,f,p,q,n,u,v,w)||x;x&&this.Oh()};g.prototype.Oh=
function(){this.By=!0;this.trigger(new h(g.qh))};g.prototype.IN=function(){this.WA();this.$i=setTimeout(this.tM.bind(this),30)};g.prototype.WA=function(){this.$i&&(clearTimeout(this.$i),this.$i=null)};g.prototype.tM=function(){this.C9(this.W)};g.prototype.C9=function(d){this.nR!=d&&((this.nR=d)?(this.cc.reset(),this.lb.Mq(this.j.getParent()),this.Oh()):this.lb.Ql())};g.qh="position change request";return g});
define("hy","require lo oH cy gi v hF".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi");a("v");var b=a("hF");a=e.extend(k,function(){k.call(this);this.Gta=this.W=!1;this.ed=this.gb=this.Da=0;this.VV=!1;this.Yp=this.us=0});a.prototype.nc=function(g){if(this.W!=g)if(this.W=g){b.bind(this.XB,this,!0);g=b.Fq();var d=g.pitch;this.us=this.Da-g.yaw;this.Yp=this.gb-d;this.wo()}else b.unbind(this.XB,this,!0)};a.prototype.setPosition=function(g,d,c){this.Da!=g&&(this.us=this.zC(this.us+(g-
this.zC(this.Da,g)),0),this.Da=g);this.gb!=d&&(this.Yp+=d-this.gb,this.gb=d);this.ed=c};a.prototype.Dq=function(){return this.Da};a.prototype.Cq=function(){return this.gb};a.prototype.mz=function(){return this.ed};a.prototype.af=function(){return b.wXa()};a.prototype.zb=function(g){var d=b.Fq(),c=d.roll;g=20*g/1E3;var f=d.pitch+(this.Gta?this.Yp:0);this.Da=this.gg(this.Da,this.zC(this.zC(d.yaw,this.Da)+this.us,this.Da),g);this.gb=this.gg(this.gb,f,g);this.ed=this.gg(this.ed,c,g)};a.prototype.c_a=
function(g){this.Gta=g};a.prototype.gg=function(g,d,c){g=(d-g)*(1-c);.01>Math.abs(g)&&(g=0);return d-g};a.prototype.zC=function(g,d){for(;g+180<d;)g+=360;for(;g-180>d;)g-=360;return g};a.prototype.XB=function(){this.W&&this.wo()};a.prototype.wo=function(){this.trigger(new m(h.pa))};return a});define("ek",["require"],function(){return{pE:"left",qE:"right",oE:"down",rE:"up",gga:"rotate10x",Gga:"zoom2x",X:"playing",Ct:"zoomIn",Dt:"zoomOut",Kf:"stop"}});
define("fr","require lo bm cy gi ek".split(" "),function(a){var e=a("lo"),h=a("bm"),m=a("cy"),k=a("gi"),b=a("ek"),g=e.extend(k,function(c){k.call(this);this.j=c;this.W=!1;this.gi={};this.EN=null;this.Zi=this.DN=!1;this.IT=this.IT.bind(this);this.Au=this.Au.bind(this);this.yc=this.j.yc;document.addEventListener("keydown",this.IT);document.addEventListener("keyup",this.Au)});g.prototype.clear=function(){this.W=!1;this.yc=this.j=null;document.removeEventListener("keydown",this.IT);document.removeEventListener("keyup",
this.Au)};g.prototype.nc=function(c){this.W!=c&&(this.W=c)&&this.pX()};var d=[h.Yj,h.Di,h.Pa,h.hb,h.wn,h.eR];g.prototype.IT=function(c){var f=c.which,l=!1;!this.gi[f]&&0<=d.indexOf(f)&&(this.EN||this.DN||(this.EN=setTimeout(this.NMa.bind(this),100)),l=this.gi[f]=!0);this.Zi!=c.shiftKey&&(this.Zi=c.shiftKey,l=!0);l&&this.pX()};g.prototype.NMa=function(){this.DN=!0;this.pX()};g.prototype.Au=function(c){var f=c.which,l=!1;if(f in this.gi){delete this.gi[f];l=!1;for(f in this.gi)this.gi[f]&&(l=!0);l||
(this.EN&&clearTimeout(this.EN),this.EN=null,this.DN=!1);l=!0}this.Zi!=c.shiftKey&&(this.Zi=c.shiftKey,l=!0);l&&this.pX()};g.prototype.pX=function(){if(this.W){var c=this.yc.get("arrowKeysAction");if("none"!=c){c="rotate"==c;var f=[];this.gi[h.wn]?f.push(b.Ct):this.gi[h.eR]&&f.push(b.Dt);this.DN&&(this.gi[h.wn]||this.gi[h.eR])&&f.push(b.Gga);this.gi[h.Pa]?f.push(b.pE):this.gi[h.hb]&&f.push(b.qE);if(c||this.Zi)this.gi[h.Yj]?f.push(b.rE):this.gi[h.Di]&&f.push(b.oE);this.DN&&(this.gi[h.Pa]||this.gi[h.hb]||
this.gi[h.Yj]||this.gi[h.Di])&&f.push(b.gga);0==f.length&&f.push(b.Kf);this.trigger(new m(g.q0,{Bxa:f}))}}};g.q0="movementsChange";return g});
define("mF",["require"],function(){function a(){this.BA=!0;this.reset()}function e(h,m,k){h=(m-h)*(1-k);.01>Math.abs(h)&&(h=0);return m-h}a.prototype.reset=function(){this.BA&&(this.BA=!1,this.YW=this.ZW=this.sv=this.$m=this.bF=this.eF=this.cF=this.ux=void 0)};a.prototype.moveTo=function(h,m,k,b,g){this.$m=h;this.sv=m;this.ZW=k;this.YW=b;this.Z5=g;this.BA=!0};a.prototype.setPosition=function(h,m,k,b){this.ux=h;this.cF=m;this.eF=k;this.bF=b};a.prototype.Dq=function(){return this.ux};a.prototype.Cq=
function(){return this.cF};a.prototype.mz=function(){return this.eF};a.prototype.pD=function(){return this.bF};a.prototype.af=function(){return this.BA};a.prototype.zb=function(){if(this.BA)if(this.Z5)this.ux=this.$m,this.cF=this.sv,this.eF=this.ZW,this.bF=this.YW,this.BA=!1;else{for(var h=this.ux,m=this.$m-180,k=this.$m+180;h<m;)h+=k-m;for(;h>k;)h-=k-m;this.ux=h;this.ux=e(this.ux,this.$m,.5);this.cF=e(this.cF,this.sv,.5);this.eF=e(this.eF,this.ZW,.5);this.bF=e(this.bF,this.YW,.5);this.ux==this.$m&&
this.cF==this.sv&&this.eF==this.ZW&&this.bF==this.YW&&(this.BA=!1)}};return a});
define("cu",["require","nt","mj","bv"],function(a){function e(){this.W=!1;this.ed=this.gb=this.Da=0;this.OT=void 0}var h=a("nt"),m=a("mj"),k=a("bv");e.prototype.nc=function(d){this.W!=d&&(this.W=d,this.OT=void 0)};e.prototype.setPosition=function(d,c,f){this.Da=d;this.gb=c;this.ed=f};e.prototype.Dq=function(){return this.Da};e.prototype.Cq=function(){return this.gb};e.prototype.mz=function(){return this.ed};e.prototype.af=function(){return!0};e.prototype.zb=function(){var d=h.Cea(k.Hs().orientation);
this.Da+=void 0===this.OT?0:d.Sa-this.OT;this.OT=d.Sa;this.gb=d.pitch;this.ed=d.bf;this.gb=void 0===g?d.pitch:g;this.ed=void 0===b?d.bf:b};var b=m.cj("debug")?m.CY("force_vr_roll"):void 0,g=m.cj("debug")?m.CY("force_vr_pitch"):void 0;return e});
define("g","require eg lo oH cy gi cD hy fr dw fn mF cu ek bv bc".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("gi"),g=a("cD"),d=a("hy"),c=a("fr"),f=a("dw"),l=a("fn"),p=a("mF"),q=a("cu"),n=a("ek"),r=a("bv"),t=a("bc"),u=h.extend(b,function(v,w,x){b.call(this);this.j=v;this.yc=this.j.yc;this.ga=w;this.Gc=x;this.By=this.Jx=this.NK=this.LV=this.W=!1;this.cc=new f;this.lq=new p;this.ed=this.gb=this.Da=0;this.La=90;this.NC=1;this.Bh=void 0;this.q2=this.IJ=5;this.Yy=!1;this.lb=
new l;this.lb.bind(l.ht,this.fM,this,!0);this.lb.bind(l.Wo,this.jy,this,!0);this.lb.bind(l.Gi,this.Sp,this,!0);this.lb.bind(l.Fi,this.Rp,this,!0);this.il=new d;this.il.bind(m.pa,this.Bna,this);this.Ix=!1;this.Em=new c(this.j);this.Em.bind(c.q0,this.Mna,this,!0);this.ts=new q;r.bind(m.pa,this.Yn,this,!0);this.Yn()});u.prototype.clear=function(){this.lb.unbind(l.ht,this.fM,this,!0);this.lb.unbind(l.Wo,this.jy,this,!0);this.lb.unbind(l.Gi,this.Sp,this,!0);this.lb.unbind(l.Fi,this.Rp,this,!0);this.lb.Ql();
this.lb=null;this.il.unbind(m.pa,this.Bna,this);this.il=null;this.Em.unbind(c.q0,this.Mna,this,!0);this.Em.clear();this.Em=null;r.unbind(m.pa,this.Yn,this,!0);this.Gc=this.ga=this.cc=null;this.ZR();this.j=this.yc=null};u.prototype.setCamera=function(v){this.cc.reset();this.lq.reset();this.lb.setCamera(v);this.IJ=v.get("automaticRotationSpeed");this.q2=v.get("automaticZoomSpeed")};u.prototype.Pj=function(v){function w(z){return e(v).contains(z)}e.isArray(v)||(v=[v]);var x=0,y=0,A=0,B=!1;w(n.Kf)||(w(n.pE)?
x=-this.IJ:w(n.qE)&&(x=+this.IJ),w(n.oE)?y=-this.IJ:w(n.rE)&&(y=+this.IJ),w(n.Ct)?A=-this.q2:w(n.Dt)&&(A=+this.q2),w(n.X)&&(B=!0),w(n.Gga)&&(A*=2),w(n.gga)&&(x*=10,y*=10),x*=this.NC,y*=this.NC);this.Kc(x,y,0,A,0,0,0,0,B,!0,!0,!0)};u.prototype.setPosition=function(v,w,x,y){this.Da=v;this.gb=w;this.ed=x;this.La=y;this.NC=this.La/90;this.il.setPosition(this.Da,this.gb,this.ed);this.ts.setPosition(this.Da,this.gb,this.ed);this.lb.PD(this.La);this.lq.setPosition(this.Da,this.gb,this.ed,this.La)};u.prototype.moveTo=
function(v,w,x,y,A){this.lq.moveTo(v,w,x,this.Gc.ova(y),A);this.LV=!1;this.cc.reset();this.Oh()};u.prototype.dea=function(v,w,x){this.Kc(0,0,0,0,v,w,x,0,!1,!1,!1)};u.prototype.af=function(){return this.W&&(this.By||this.A_())?!0:!1};u.prototype.$Ta=function(){this.By=this.Yy=!1};u.prototype.A_=function(){return this.W?this.Yy?!0:this.ts.W?this.ts.af()||this.cc.af():this.il.W?this.Ix?!0:this.il.af()||this.cc.af():this.cc.af()||this.lq.af():!1};u.prototype.zb=function(v){this.Yy=!1;this.cc.zb(v);this.By=
!1;var w=this.La;if(this.ts.W){this.ts.zb(v);v=this.ts.Dq()+this.cc.sx;var x=this.ts.Cq();var y=this.ts.mz()}else this.lq.af()?(this.lq.zb(v),v=this.lq.Dq(),x=this.lq.Cq(),y=this.lq.mz(),w=this.lq.pD()):(this.il.W?(this.Ix=!1,this.il.zb(v),v=this.il.Dq()+this.cc.sx,x=this.il.Cq(),this.NK&&(x+=this.cc.aF),y=this.il.mz()):(v=this.Da+this.cc.sx,x=this.gb+this.cc.aF,y=0),w+=this.cc.kja);this.Gc.Ko(w);this.ga.setPosition(v,x,y,this.Gc.Ag(),this.Gc.Lv());this.Da=this.ga.Tc();this.gb=this.ga.Oc();this.ed=
this.ga.Qf();this.La=this.ga.Nv();if(this.LV&&this.ga.owa()){w=this.cc.CO;if(this.ga.nwa()||this.ga.pwa())w=-w;v=this.cc.IM;if(this.ga.qwa()||this.ga.mwa())v=-v;this.Kc(w,v,0,0,0,0,0,0,!0,!1,!1,!0)}};u.prototype.Dq=function(){return this.Da};u.prototype.Cq=function(){return this.gb};u.prototype.mz=function(){return this.ed};u.prototype.pD=function(){return this.La};u.prototype.nc=function(v){this.W!=v&&((this.W=v)?(this.Jy(this.lb.TB==g.et?t.jA:void 0),this.lb.Mq(this.j.getParent()),this.Oh()):(this.ZR(),
this.lb.Ql()),this.maa())};u.prototype.YP=function(v){this.Jx!=v&&(this.Jx=v,this.maa(),this.Ix=!0)};u.prototype.Bz=function(v){this.Em.nc(v)};u.prototype.maa=function(){this.il.nc(this.W&&this.Jx&&!r.isPresenting());this.ts.nc(this.W&&r.isPresenting())};u.prototype.Bna=function(){this.Oh()};u.prototype.ZP=function(v){this.NK=v;this.il.c_a(this.NK)};u.prototype.Cz=function(v){this.lb.Cz(v);this.Jy(this.lb.TB==g.et?t.jA:void 0)};u.prototype.UD=function(v){this.lb.UD(v)};u.prototype.Yn=function(){this.maa();
this.Oh()};u.prototype.fM=function(v){var w=!this.ts.W&&(!this.il.W||this.NK);if(this.lb.TB==g.Rz){var x=void 0;if(0!=v.rw||0!=v.Vv){var y=25<Math.sqrt(v.Vv*v.Vv+v.rw*v.rw),A=180*Math.atan2(v.Vv,v.rw)/Math.PI;-22.5<=A&&22.5>A?x=y?t.Efa:t.Dfa:22.5<=A&&67.5>A?x=y?t.Gfa:t.Nfa:67.5<=A&&112.5>A?x=y?t.Ffa:t.Mfa:112.5<=A&&157.5>A?x=y?t.Hfa:t.Ofa:157.5<=A||-157.5>A?x=y?t.Lfa:t.Sfa:-157.5<=A&&-112.5>A?x=y?t.Kfa:t.Rfa:-112.5<=A&&-67.5>A?x=y?t.Ifa:t.Pfa:-67.5<=A&&-22.5>A&&(x=y?t.Jfa:t.Qfa)}this.Jy(x);this.Kc(v.rw,
v.Vv,0,0,v.XI,v.zI,0,0,!1,!1,!1,w)}else this.Kc(v.rw,v.Vv,0,0,v.XI,v.zI,0,0,!1,!1,w,w)};u.prototype.jy=function(v){this.Kc(0,0,0,v.eWa,0,0,0,v.nca,!1,!0,!1,!0)};u.prototype.Kc=function(v,w,x,y,A,B,z,C,H,D,I,F){var N=!1;this.yc.get("rotationEnabled")&&(N=this.cc.cea(v,w,x,A,B,z,D,I,F)||N);this.yc.get("zoomEnabled")&&(N=this.cc.g_a(y,C)||N);N&&(this.lq.reset(),this.LV=H,this.Oh())};u.prototype.Oh=function(){this.By=!0;this.trigger(new k(u.qh))};u.prototype.Sp=function(){this.Yy=!0;this.trigger(new k(u.Gi));
this.lb.TB==g.et&&this.Jy(t.Zh)};u.prototype.Rp=function(){this.trigger(new k(u.Fi));this.lb.TB==g.et&&this.Jy(t.jA)};u.prototype.Mna=function(v){this.Pj(v.data.Bxa);0>v.data.Bxa.indexOf(n.Kf)&&this.j.Jb().trigger(new k(m.vE,{nQ:v}))};u.prototype.Jy=function(v){this.Bh!=v&&this.W&&(this.Bh&&this.j.AI(this.Bh),(this.Bh=v)&&this.j.TZ(this.Bh))};u.prototype.ZR=function(){this.Bh&&(this.j.AI(this.Bh),this.Bh=void 0)};u.qh="position change request";u.Gi="user interaction start";u.Fi="user interaction end";
return u});define("mN",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("TargetRotationalCameraMovement",e,function(){e.call(this)})});
define("P","require lo oH kO cy gi nx gM mN oj bF".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("kO"),k=a("cy"),b=a("gi"),g=a("nx");a("gM");a("mN");var d=a("oj"),c=a("bF"),f=e.extend(b,function(l,p,q){b.call(this);this.j=l;this.ga=p;this.Gc=q;this.LG=this.Oa=null;this.Bl=this.Sm=!1;this.sk=void 0;this.aG=[];this.yC=0;this.V=null;this.gb=this.Da=0;this.La=90});f.prototype.clear=function(){this.end();this.ga=this.j=null};f.prototype.start=function(l){this.MPa(l);this.nNa();this.Bl=!1;this.$R();
this.Sm=!1;this.Oh();this.Dj()};f.prototype.end=function(){null!=this.Oa&&(this.Iia(),this.Sm=this.Bl=!1,this.V=null,this.Dj())};f.prototype.CXa=function(){this.Oa&&this.Oa.get("restartMovementOnUserInteraction")?this.Sm||(this.KN(),this.m$(),this.V=null,this.Sm=!0,this.Dj()):(this.V=null,this.pause())};f.prototype.FXa=function(){this.Sm&&(this.Sm=!1,this.bma()||this.h$())};f.prototype.MPa=function(l){this.Iia();this.Oa=l;this.Oa.bind(h.Jw,this.Qoa,this,!0);this.Oa.bind(h.tE,this.Poa,this,!0);this.Oa.bind(h.G("movementIndex"),
this.eC,this,!0);this.aG=this.Oa.get("movements",[])};f.prototype.Iia=function(){this.m$();null!=this.Oa&&(this.Oa.unbind(h.Jw,this.Qoa,this),this.Oa.unbind(h.tE,this.Poa,this),this.Oa.unbind(h.G("movementIndex"),this.eC,this),this.Oa.set("movementIndex",-1),this.Oa=null,this.aG=[])};f.prototype.Lj=function(){return this.Oa?this.Bl?m.Eb:m.X:m.T};f.prototype.setPosition=function(l,p,q,n){this.Da=l;this.gb=p;this.La=n};f.prototype.af=function(){return!this.Oa||!this.V||this.Bl||this.Sm||this.bma()?
!1:!0};f.prototype.zb=function(l){if(this.af()){this.V.zb(l);l=this.V.cb("hfov");if(this.Gc.Qwa()){var p=this.V.Wba("hfov");p.from=this.Gc.dY(p.from);p.Gz=this.Gc.dY(p.Gz);l=this.Gc.dY(l)}this.ga.setPosition(this.V.cb("yaw"),this.V.cb("pitch"),0,l,this.Gc.Lv());this.Da=this.ga.Tc();this.gb=this.ga.Oc();this.La=this.ga.Nv();this.V.Re()&&this.sMa()}};f.prototype.Dq=function(){return this.Da};f.prototype.Cq=function(){return this.gb};f.prototype.pD=function(){return this.La};f.prototype.play=function(){this.Bl&&
(this.Bl=!1,this.V||this.eC(),this.$R(),this.Oh(),this.Dj())};f.prototype.pause=function(){this.Bl||(this.Bl=!0,this.KN(),this.Dj())};f.prototype.Qoa=function(){this.play()};f.prototype.Poa=function(){this.pause()};f.prototype.nNa=function(){this.yC=0;var l=this.Oa.get("movementIndex",-1);-1==l&&(l=0);this.yV(l)};f.prototype.pNa=function(){this.yC++;var l=this.Oa.get("repeat",1);0<this.aG.length&&(0==l||this.yC<l)?this.yV(0):(this.Oa.trigger(new k(h.sb)),this.end(),this.DRa())};f.prototype.oNa=function(){this.yV(this.Oa.get("movementIndex",
0)+1)};f.prototype.yV=function(l){l<this.aG.length?this.Oa.get("movementIndex")!=l?this.Oa.set("movementIndex",l):this.eC():(this.Oa.trigger(new k(h.fr)),this.pNa())};f.prototype.eC=function(){var l=this.Oa.get("movementIndex");this.V=0<=l?this.mx(this.aG[l]):null};f.prototype.sMa=function(){this.aG[this.Oa.get("movementIndex")].trigger(new k(h.sb));this.oNa()};f.prototype.bma=function(){return null!=this.LG};f.prototype.h$=function(){this.m$();var l=this,p=this.Oa.get("restartMovementDelay")||0;
this.LG=setTimeout(function(){l.LG=null;l.HMa()},p);this.Dj()};f.prototype.m$=function(){this.LG&&(clearTimeout(this.LG),this.LG=null)};f.prototype.HMa=function(){this.yV(this.Oa.get("movementIndex"));this.Oh();this.Dj()};f.prototype.mx=function(l){var p,q=this.Ak(this.Da,-180,180),n=this.gb,r=this.La;if(g.Na("TargetRotationalCameraMovement",l)){var t=l.get("targetYaw",q);var u=l.get("targetPitch",n);(p=l.get("targetHfov"))?(this.Gc.Jza(p),p=this.Gc.Ag()):p=r;this.ga.setPosition(t,u,0,p,this.Gc.Lv());
if(this.ga.iC)t=this.ga.Tc();else switch(this.y4(l)){case "left":t=this.Ak(t,q-360,q);break;case "right":t=this.Ak(t,q,q+360);break;case "longest":t=this.Ak(t,q-180,q+180);t=t>=q?this.Ak(t,q-360,q):this.Ak(t,q,q+360);break;default:t=this.Ak(t,q-180,q+180)}}else g.Na("DistanceRotationalCameraMovement",l)&&(t=q+l.get("yawDelta",0),this.ga.iC&&(t=Math.min(Math.max(-180,t),180)),u=n+l.get("pitchDelta",0),p=r+l.get("hfovDelta",0),this.ga.setPosition(t,u,0,p,this.Gc.Lv()),this.ga.iC&&(t=this.ga.Tc()));
u=this.ga.Oc();p=this.ga.Nv();return new d(l.get("easing"),[new c("yaw",q,t,l.get("yawSpeed")),new c("pitch",n,u,l.get("pitchSpeed")),new c("hfov",r,p,l.get("hfovSpeed"))],l.get("duration"))};f.prototype.$R=function(){this.sk=void 0};f.prototype.KN=function(){if(this.V){this.sk=void 0;var l=this.V&&this.V.Wba("yaw");l&&(l.Gz>l.from?this.sk="right":l.Gz<l.from&&(this.sk="left"))}};f.prototype.y4=function(l){l=l.get("path");"longest"==l&&this.sk&&(l=this.sk);this.sk=void 0;return l};f.prototype.Ak=
function(l,p,q){for(;l<p;)l+=q-p;for(;l>q;)l-=q-p;return l};f.prototype.Oh=function(){this.trigger(new k(f.qh))};f.prototype.DRa=function(){this.trigger(new k(f.D0))};f.prototype.Dj=function(){this.trigger(new k(f.Ec))};f.qh="position change request";f.D0="sequence end";f.Ec="playback state change";return f});
define("bs","require eg lo oH cy gi ip hf g P ek bv kO".split(" "),function(a){a("eg");var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("ip"),g=a("hf"),d=a("g"),c=a("P"),f=a("ek"),l=a("bv"),p=a("kO"),q=e.extend(k,function(n,r){k.call(this);this.j=n;this.j.bind(h.kc,this.hc,this);l.bind(h.pa,this.Yn,this,!0);this.Gc=r;this.o9=!1;this.La=this.ed=this.gb=this.Da=void 0;this.ws=this.vs=this.IL=this.LL=this.KL=this.JL=!1;this.Zm=!0;this.DF=this.Yp=0;this.W=!1;this.Cm=null;this.UK=5E3;this.qj=this.Fh=null;
this.bs=[];this.oi=this.Sw=p.T;this.ga=new b(n);this.Ub=new d(this.j,this.ga,this.Gc);this.Ub.bind(d.qh,this.Pp,this,!0);this.Ub.bind(d.Gi,this.Sp,this,!0);this.Ub.bind(d.Fi,this.Rp,this,!0);this.Bm=new g(this.j,this.ga,this.Gc);this.Bm.bind(g.qh,this.Pp,this,!0);this.Ze=new c(this.j,this.ga,this.Gc);this.Ze.bind(c.qh,this.Pp,this,!0);this.Ze.bind(c.D0,this.oy,this,!0);this.Ze.bind(c.Ec,this.Roa,this,!0)});q.prototype.clear=function(){this.Fk();this.Ub.unbind(d.qh,this.Pp,this);this.Ub.unbind(d.Gi,
this.Sp,this,!0);this.Ub.unbind(d.Fi,this.Rp,this,!0);this.Ub.clear();this.Ub=null;this.Bm.unbind(g.qh,this.Pp,this,!0);this.Bm.clear();this.Bm=null;this.Ze.unbind(c.qh,this.Pp,this);this.Ze.unbind(c.D0,this.oy,this);this.Ze.unbind(c.Ec,this.Roa,this);this.Ze.clear();this.ga=this.Ze=null;this.j.unbind(h.kc,this.hc,this);l.unbind(h.pa,this.Yn,this,!0);this.j=null;this.Ca&&(this.Ca.unbind(h.G("sequences"),this.py,this,!0),this.Ca=null);this.vW([])};q.prototype.end=function(){this.Sw=p.T;this.Fk();this.Ub.nc(!1);
this.Bm.nc(!1);this.Ze.end();this.W=!1;this.kv(0,0,0);this.qj=this.Fh=null;this.Ca&&(this.Ca.unbind(h.G("sequences"),this.py,this,!0),this.Ca=null);this.vW([]);this.UC()};q.prototype.start=function(n,r){this.Sw=p.X;this.W=!0;this.kv(0,0,0);this.qN(n);this.bPa(r);this.Ypa();this.NW(this.qj);this.Bm.nc(!0);this.UC()};q.prototype.Lj=function(){return this.oi};q.prototype.play=function(n){this.Sw=p.X;this.Ze.Lj()==p.Eb?this.Ze.play():this.Ze.Lj()==p.T&&(!n&&this.qj?this.NW(this.qj):this.JF()||this.kq());
this.UC()};q.prototype.resume=function(){this.Sw==p.Eb&&(this.Ub.$Ta(),this.play(!0))};q.prototype.pause=function(){this.Ub.Pj(f.Kf);this.Sw==p.X&&(this.Sw=p.Eb,this.Ze.Lj()==p.X?(this.Ze.pause(),this.UC()):this.JF()&&this.Fk())};q.prototype.stop=function(){this.Sw=p.T;this.Ze.Lj()!=p.T&&this.Ze.end();this.Ub.Pj(f.Kf);this.UC();this.JF()&&this.Fk()};q.prototype.moveTo=function(n,r,t,u,v){this.Ub.moveTo(n,r,t,u,v)};q.prototype.vW=function(n){this.bs.forEach(function(r){r.unbind(h.Jw,this.Nqa,this,
!0)}.bind(this));this.bs=n;this.bs.forEach(function(r){r.bind(h.Jw,this.Nqa,this,!0)}.bind(this))};q.prototype.Yn=function(){this.ga.b_(l.isPresenting())};q.prototype.Pj=function(n){this.Ub.Pj(n)};q.prototype.dea=function(n,r,t){this.Ub.dea(n,r,t)};q.prototype.YP=function(n){this.Jx!=n&&(this.Jx=n,this.Ub.YP(this.Jx),this.Ma())};q.prototype.ZP=function(n){this.Ub.ZP(n)};q.prototype.Cz=function(n){this.Ub.Cz(n)};q.prototype.UD=function(n){this.Ub.UD(n)};q.prototype.Bz=function(n){this.Ub.Bz(n)};q.prototype.Yv=
function(n){this.W&&(this.Ub.af()||l.isPresenting()||this.Jx&&(this.Ub.W||!this.Ub.NK)?(this.Ub.A_()&&this.Ze.CXa(),this.Ub.zb(n),this.Hl(this.Ub.Dq(),this.Ub.Cq(),this.Ub.mz(),this.Ub.pD()),this.Ma()):this.Ze.Sm?(this.Ze.FXa(),this.Ma()):this.Ze.af()?(this.Ze.zb(n),this.Hl(this.Ze.Dq(),this.Ze.Cq(),0,this.Ze.pD()),this.Ma()):this.Bm.af()?(this.Bm.zb(n),this.Hl(this.Bm.Dq(),this.Bm.Cq(),0,this.Bm.pD()),this.Ma()):this.o9?(this.o9=!1,this.Gc.Ko(this.j.Ag()),this.ga.setPosition(this.j.Tc(),this.j.Oc(),
this.j.Qf(),this.Gc.Ag(),this.Gc.Lv()),this.Hl(this.ga.Tc(),this.ga.Oc(),this.ga.Qf(),this.ga.Nv()),this.Ma()):(this.kv(0,0,0),this.Sw==p.X&&this.Ze.Lj()!=p.X&&(this.JF()||this.kq())))};q.prototype.wd=function(){this.BSa();this.Ypa()};q.prototype.BSa=function(){var n=this.j.Tc()-this.Da||0,r=this.j.Oc()-this.gb||0;this.j.Qf();this.kv(n,r,this.j.Ag()-this.La||0)};q.prototype.Ypa=function(){this.Da=this.j.Tc();this.gb=this.j.Oc();this.ed=this.j.Qf();this.La=this.j.Ag();this.Ub.setPosition(this.Da,this.gb,
this.ed,this.La);this.Ze.setPosition(this.Da,this.gb,this.ed,this.La);this.Bm.setPosition(this.Da,this.gb,this.ed,this.La)};q.prototype.qN=function(n){this.ga.Ai(n)};q.prototype.bPa=function(n){this.Ca=n;this.UK=n.get("timeToIdle",5E3);this.Fh=n.get("idleSequence");this.qj=n.get("initialSequence");this.Ub.setCamera(n);this.Bm.setCamera(n);n.bind(h.G("sequences"),this.py,this,!0);this.vW(n.get("sequences",[]))};q.prototype.py=function(){this.vW(this.Ca.get("sequences",[]))};q.prototype.Nqa=function(n){this.NW(n.source)};
q.prototype.Pp=function(){this.Fk();this.Ma()};q.prototype.Sp=function(){this.trigger(new m(q.Gi))};q.prototype.Rp=function(){this.trigger(new m(q.Fi))};q.prototype.NW=function(n){n?(this.Ub.nc(!n.get("mandatory",!1)),this.Ze.start(n)):this.oy()};q.prototype.oy=function(){this.Ub.nc(!0);this.kq()};q.prototype.Roa=function(){this.UC()};q.prototype.hc=function(){this.o9=!0;this.Ma()};q.prototype.JF=function(){return null!=this.Cm};q.prototype.kq=function(){this.Fk();var n=this;this.Cm=setTimeout(function(){n.Cm=
null;n.TL()},this.UK)};q.prototype.Fk=function(){this.Cm&&(clearTimeout(this.Cm),this.Cm=null)};q.prototype.TL=function(){this.NW(this.Fh)};q.prototype.Ma=function(){this.trigger(new m(q.Db))};q.prototype.Hl=function(n,r,t,u){this.j.setPosition(n,r,t,u)};q.prototype.kv=function(n,r,t){var u=!1,v=.001>Math.abs(n)&&.001>Math.abs(r)&&.001>Math.abs(t);v||this.Jx?(u=1!=this.Zm,this.ws=this.vs=this.IL=this.LL=this.KL=this.JL=!1,this.Zm=!0):(this.JL!=-.001>n&&(this.JL=!this.JL,u=!0),this.KL!=.001<n&&(this.KL=
!this.KL,u=!0),this.IL!=-.001>r&&(this.IL=!this.IL,u=!0),this.LL!=.001<r&&(this.LL=!this.LL,u=!0),this.vs!=-.001>t&&(this.vs=!this.vs,u=!0),this.ws!=.001<t&&(this.ws=!this.ws,u=!0),this.Zm!=v&&(this.Zm=!this.Zm,u=!0));v||this.trigger(new m(q.So,{yaw:this.Da,pitch:this.gb,roll:this.ed,hfov:this.La}));u&&((this.W||this.Zm)&&this.trigger(new m(q.Rj,{movingLeft:this.JL,movingRight:this.KL,movingUp:this.LL,movingDown:this.IL,zoomingIn:this.vs,zoomingOut:this.ws,stopped:this.Zm})),this.UC())};q.prototype.UC=
function(){if(this.W){var n=this.Ze.Lj();this.Zm||(n=p.X)}else n=p.T;this.oi!=n&&(this.oi=n,this.trigger(new m(q.Ec,{state:this.oi})))};q.Db="request frame";q.Rj="movement change";q.So="position change";q.Ec="playback state change";q.Gi="user interaction start";q.Fi="user interaction end";return q});
define("gL","require oH ip v hF mj bv nt".split(" "),function(a){function e(f,l,p){this.j=f;this.Gc=l;this.Sy=p;this.ga=new h(f);p.Ug&&this.ga.Ai(p.Ug);this.fv=new h(f);this.OB=this.Fr=void 0;this.Da=this.j.Tc();this.gb=this.j.Oc();this.ed=this.j.Qf();this.La=this.Sy.Ug?this.j.Ag():e.Wea;this.Vra=0;this.la=null;this.jma=!0}a("oH");var h=a("ip");a("v");var m=a("hF"),k=a("mj"),b=a("bv"),g=a("nt");e.prototype.Ai=function(f){this.la!=f&&(this.wy=!0,this.la=f)};e.prototype.iw=function(f,l){this.Da=f;this.gb=
l};e.prototype.iD=function(f){this.Gc.Jza(f);return this.Gc.Ag()};e.prototype.Ko=function(f){this.La=f};e.prototype.cQ=function(f){this.jma=f};e.prototype.TD=function(f){this.Vra=f};e.prototype.Yv=function(){this.Gc.Qwa()&&(this.La=this.Gc.dY(this.La));if(this.Sy.Cb()){var f=b.Hs().orientation;f=g.Cea(f);this.Da+=void 0===this.Fr?0:f.Sa-this.Fr;this.Fr=f.Sa;this.gb=f.pitch;this.ed=f.bf;this.gb=void 0===c?f.pitch:c;this.ed=void 0===d?f.bf:d}else if(this.Sy.gwa()){f=m.Fq();var l=this.zC(f.yaw,this.Da);
this.Da+=void 0===this.Fr?0:l-this.Fr;this.gb+=void 0===this.OB?0:f.pitch-this.OB;this.ed=f.roll;this.Fr=f.yaw;this.OB=f.pitch}else f=this.zC(this.j.Tc(),this.Da),l=this.j.Oc(),this.Da+=void 0===this.Fr?0:f-this.Fr,this.gb+=void 0===this.OB?0:l-this.OB,this.ed=this.j.Qf();this.wy&&this.ga.Ai(this.la);this.ga.b_(b.isPresenting());this.ga.setPosition(this.Da,this.gb,this.ed,this.La,this.Gc.Lv());this.wy&&(this.wy=!1,this.Sy&&this.Sy.Ug&&(f=this.j.tf(this.Sy.Ug)))&&(f.set("deltaYaw",this.j.Tc()-this.ga.Tc()),
f.set("deltaPitch",this.j.Oc()-this.ga.Oc()),f.set("deltaRoll",this.j.Qf()-this.ga.Qf()));this.Da=this.ga.Tc();this.gb=this.ga.Oc();this.ed=this.ga.Qf();this.Sy.Cb()||this.Sy.gwa()||(this.Fr=this.Da,this.OB=this.gb);this.La=this.jma?this.ga.Nv():this.La;this.j.setPosition(this.Da,this.gb,this.ed,this.La);this.j.TD(this.Vra)};e.prototype.YZ=function(f,l){this.fv.Ai(f);this.fv.setPosition(0,0,0,l,this.Gc.Lv());return this.fv.Nv()};e.prototype.lYa=function(f,l){this.fv.Ai(f);this.fv.setPosition(l.Sa,
l.pitch,l.bf,l.Ee,this.Gc.Lv());l.Sa=this.fv.Tc();l.pitch=this.fv.Oc();l.bf=this.fv.Qf();l.Ee=this.fv.Nv()};e.prototype.zC=function(f,l){for(;f+180<l;)f+=360;for(;f-180>l;)f-=360;return f};e.prototype.Nua=function(){return e.Wea};e.Wea=TDV.dga.kBa;var d=k.cj("debug")?k.CY("force_vr_roll"):void 0,c=k.cj("debug")?k.CY("force_vr_pitch"):void 0;return e});
define("pe",["require","gF","lE","v","bv"],function(a){function e(g,d,c,f,l){this.j=g;this.Nj=d;g=this.j.M;this.vQ=g.get("transitionMode","blending");d=g.get("transitionDuration",500);this.tKa(c,f)&&(this.vQ=e.RQ,d=1500);this.KH=g.get("blendingTransitionDuration",d);this.IUa=g.get("firstTransitionDuration",d);this.Rua=g.get("disolveTransitionDuration",d);this.DAa=g.get("translationTransitionDuration",1E3);g.get("translationTransitionSpeed");this.EAa=g.get("translationTransitionEnabled",!0);this.rya=
g.get("originTransitionDuration",3E3);this.E_=1E3;this.TWa=g.get("modelToPanoramaTraslationDuration",1500);this.zXa=g.get("panoramaToModelTraslationDuration",1E3);this.Ug=c;this.k_a=!c||c.xca();this.l_a=!c||c.Iwa();this.Dc=f;this.mAa=!f||f.xca();this.vea=!f||f.Iwa();this.B_a=!!f&&this.u6(f);d=(this.VD=l)&&l.get("initialPosition")||new h;this.Cg=new h;this.Cg.set("yaw",d.get("yaw",0));this.Cg.set("pitch",d.get("pitch"));this.Cg.set("hfov",d.get("hfov"));this.Ff=new m;this.Ff.set("yaw",this.Cg.get("yaw"));
this.Ff.set("pitch",this.Cg.get("pitch"));this.Ff.set("hfov",this.Cg.get("hfov"));this.Ff.set("stereographicFactor",0);this.Bo=[];if(!c){this.Bo=l&&l.get("displayMovements")||[];for(d=this.Bo.length-1;0<=d;d--)this.Ff.set("yaw",this.Ff.get("yaw",this.Bo[d].get("targetYaw"))),this.Ff.set("pitch",this.Ff.get("pitch",this.Bo[d].get("targetPitch"))),this.Ff.set("hfov",this.Ff.get("hfov",this.Bo[d].get("targethfov"))),this.Ff.set("stereographicFactor",this.Ff.get("stereographicFactor",this.Bo[d].get("stereographicFactor")));
l=l&&l.get("displayOriginPosition")||this.Cg;this.Ff.set("yaw",l.get("yaw"));this.Ff.set("pitch",l.get("pitch"));this.Ff.set("hfov",l.get("hfov"));this.Ff.set("stereographicFactor",l.get("stereographicFactor"))}this.UI=this.vQ==e.xn&&this.EAa&&this.mAa&&this.YJa(c,f)||null;var p=this.vQ==e.xn&&this.Dc&&this.mAa&&this.Nj&&this.Dc.get("modelLocations")||[];l=this.vQ==e.xn&&this.Ug&&this.k_a&&this.Nj&&this.Ug.get("modelLocations")||[];var q=[];l.forEach(function(r){p.forEach(function(t){r.get("model")==
t.get("model")&&q.push([r,t])})});var n=this.Nj&&this.Nj.get("model");this.oc=this.ic=null;1<q.length&&this.Nj&&(d=q.find(function(r){return r[0].get("model")==n}))&&(q=[d]);(d=q.length?q[0]:null)&&(n&&d[0].get("model")==n||d[0].get("forceModelLoading")||d[1].get("forceModelLoading"))?(this.ic=d[0],this.oc=d[1]):(this.ic=l.find(function(r){return r.get("preferred")}),this.ic||this.oc||(this.oc=p.find(function(r){return r.get("preferred")})),[].concat(l,p).forEach(function(r){r.set("preferred",!1)}),
this.ic||this.oc||(this.ic=l.find(function(r){return r.get("model")==n})),this.ic||this.oc||(this.oc=p.find(function(r){return r.get("model")==n})),this.ic||this.oc||(this.ic=l.find(function(r){return r.get("forceModelLoading")})),this.ic||this.oc||(this.oc=p.find(function(r){return r.get("forceModelLoading")})));(this.oc||this.ic)&&g.get("translationTransitionSpeed")&&(this.oc||this.ic).get("model").get("worldUnitToMeters")&&(this.DAa=g.get("translationTransitionSpeed")/(this.oc||this.ic).get("model").get("worldUnitToMeters"));
this.Wv=null;this.$za=k.fe()==k.Hi?512:1536;this.nAa=k.fe()==k.Hi?512:1024;g=this.Cb();this.mode=!g&&this.ic&&this.oc&&this.UI?e.s1:!g&&this.ic&&this.oc&&this.EAa?e.sga:this.UI?e.rga:g||this.Ug||!this.oc?g||this.Dc||!this.ic?c?f?"blending"==this.vQ?e.xn:e.RQ:e.kfa:e.jfa:e.tga:e.q1;this.mode!=e.xn||this.l_a&&this.vea||!(0<this.Ff.get("stereographicFactor",0)||0<this.Bo.filter(function(r){return 0<r.get("targetStereographicFactor",0)}).length)||(this.mode=e.RQ);this.vn=null}var h=a("gF"),m=a("lE"),
k=a("v"),b=a("bv");e.prototype.gwa=function(){return this.j.yc.get("gyroscopeEnabled")};e.prototype.Cb=function(){return b.isPresenting()};e.prototype.YJa=function(g,d){if(!g||!d)return null;g=(g.get("adjacentPanoramas")||[]).filter(function(c){return c.get("enabled")&&c.OTa()&&c.get("panorama")==d});return 0==g.length?null:g[0]};e.prototype.tKa=function(g,d){return this.Cb()&&k.fe()==k.Hi&&(this.u6(g)||this.u6(d))};e.prototype.u6=function(g){return!!g&&g.Tl()};e.RQ="fade_out_fade_in";e.jfa="fade_in";
e.kfa="fade_out";e.xn="blending";e.rga="translation";e.q1="translation_from_model";e.s1="translation_through_model";e.sga="translation_to_from_model";e.tga="translation_to_model";return e});define("eN",["require"],function(){function a(e,h,m,k){this.L=e;this.Pb=h;this.j=m;this.F=k}a.prototype.Rg=function(){return!1};a.prototype.mh=function(){};a.prototype.AD=function(){return!1};return a});
define("lQ",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.j.tf(this.F.Dc);g.Uh();g.set("alpha",.01);this.V=new m("linear",[new k("alpha",0,1,void 0)],this.F.KH)}this.V.zb(b);b=this.V.cb("alpha");g=this.j.tf(this.F.Dc);g.set("alpha",b);this.V.Re()&&(this.Hb=!0)}};return a});
define("dN",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("ProjectedMaterialModel3DObject",h,function(){h.call(this)})});define("ma",["require","lo","eN"],function(a){var e=a("lo"),h=a("eN");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g);this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(){this.Hb||(this.Vi(),this.Hb=!0)};a.prototype.Vi=function(){};return a});
define("cQ",["require","lo","dN","ma"],function(a){var e=a("lo"),h=a("dN"),m=a("ma"),k=e.extend(m,function(b,g,d,c,f){m.call(this,b,g,d,c);this.Lh=f||3});k.prototype.Vi=function(){var b=this.F.ic,g=this.F.oc,d=this.F.Wv=new h;this.Lh&1&&(d.set("sourceX",b.get("x")),d.set("sourceY",b.get("y")),d.set("sourceZ",b.get("z")),d.set("sourceYaw",b.get("yaw")),d.set("sourceFaces",this.ria(this.F.Ug,this.F.$za)));this.Lh&2&&(d.set("targetX",g.get("x")),d.set("targetY",g.get("y")),d.set("targetZ",g.get("z")),
d.set("targetYaw",g.get("yaw")),d.set("targetFaces",this.ria(this.F.Dc,this.F.nAa)));b=(b||g).get("model");b.set("objects",b.get("objects").concat([this.F.Wv]))};k.prototype.ria=function(b,g){b=this.j.tf(b);var d=b.get("alpha");b.set("alpha",1);g=this.j.HO(g);b.set("alpha",d);this.j.jQ(!1);return g};k.mga=e.extend(k,function(b,g,d,c){k.call(this,b,g,d,c,1)});k.zga=e.extend(k,function(b,g,d,c){k.call(this,b,g,d,c,2)});return k});
define("lG",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.F.Nj.j.Mza(this.F.oc.get("model"),!1)};return a});define("kK",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.F.Nj.j.Mza(this.F.ic.get("model"),!0)};return a});
define("lB",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.F.Dc&&!this.j.tf(this.F.Dc)&&(this.ih=this.j.create(this.F.Dc),this.ih.set("alpha",0),this.j.add(this.ih))};return a});
define("nX",["require","lo","oH","da","eN"],function(a){var e=a("lo"),h=a("oH"),m=a("da"),k=a("eN");a=e.extend(k,function(b,g,d,c){k.call(this,b,g,d,c);this.da=(this.F.ic||this.F.oc).get("model");this.cq=!1;this.da?(this.ey=this.F.Nj,this.ey.get("model")==this.da&&this.da.get("isLoaded")?(this.Mu(),this.ul(),this.cq=!0):(this.ey.set("model",this.da),this.da.bind(h.Z,this.Mu,this,!0),this.ey.set("requesterPlayer",this.j.yc),this.ey.bind(m.Wg,this.ul,this,!0))):this.cq=!0});a.prototype.Rg=function(){return this.cq};
a.prototype.AD=function(){return!0};a.prototype.Mu=function(){this.da.unbind(h.Z,this.Mu,this)};a.prototype.ul=function(){this.ey.unbind(m.Wg,this.ul,this,!0);this.cq=!0};return a});
define("hG",["require","lo","ma","bE"],function(a){var e=a("lo"),h=a("ma"),m=a("bE");a=e.extend(h,function(k,b,g,d){h.call(this,k,b,g,d)});a.prototype.Vi=function(){if(this.F.B_a){var k=this.F.Dc.get("frames")[0];k=k.get("sphere")||k.get("stereoSphere");var b=k.get("levels")||[];(!0===k.get("hasAudio")||0<b.length&&!0===b[0].get("hasAudio"))&&m.request(this.j.Jb())}};return a});
define("fh",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.F.oc&&this.F.oc.get("targetFaces")?.01*this.F.KH:this.F.oc?.5*this.F.KH:this.j.M.d0a()&&!this.F.Ug?this.F.IUa:this.F.KH;this.V=new m("linear",[new k("alpha",.001,1,void 0)],g)}this.V.zb(b);b=this.V.cb("alpha");this.j.tf(this.F.Dc).set("alpha",
b);this.V&&this.V.Re()&&(this.Hb=!0)}};return a});
define("iW",["require","lo","gi","ht"],function(a){var e=a("lo"),h=a("gi"),m=a("ht");a=e.extend(h,function(){h.call(this);this.ka=this.Ba=null;this.Ld=[];this.sT=this.Zf=!1;this.OL=null;this.kk=[this];this.Laa={};this.ur={};this.PK=!1;this.N8={};this.O8={};this.fp(["blendingActive","globalBlendingActive"]);this.tDa();this.set("alpha",1);this.set("translationX",0);this.set("translationY",0);this.set("translationZ",0);this.set("deltaYaw",0);this.set("deltaPitch",0);this.set("deltaRoll",0);this.set("flipHorizontally",
!1);this.set("index",0)});a.prototype.tDa=function(){var k="alpha deltaYaw deltaPitch deltaRoll translationX translationY translationZ".split(" ");Array.isArray(k)||(k=[k]);k.forEach(function(b){this.N8[b]=!0}.bind(this))};a.prototype.fp=function(k){Array.isArray(k)||(k=[k]);k.forEach(function(b){this.O8[b]=!0}.bind(this))};a.prototype.set=function(k,b){this.Laa[k]!==b&&(this.O8[k]&&this.Ld.forEach(function(g){g.set(k,b)}),this.aEa(k,b),this.jN(k))};a.prototype.get=function(k){return this.Laa[k]};
a.prototype.jN=function(k){this.ur[k]||(this.ur[k]=!0,this.PK||(this.PK=!0,this.Aa()),this.N8[k]&&this.Ld.forEach(function(b){b.jN(k)}))};a.prototype.CFa=function(){this.PK&&(this.PK=!1,this.ur={})};a.prototype.N=function(){if(this.PK)for(var k=0;k<arguments.length;k++)if(this.ur[arguments[k]])return!0;return!1};a.prototype.aEa=function(k,b){this.Laa[k]=b};a.prototype.Kb=function(){return this.Ld};a.prototype.Tg=function(k){var b=k||[],g=this.Ld.slice();k=b.length!=g.length;for(var d=0;d<b.length&&
!k;d++)k=b[d]!=g[d];k&&(k=g.filter(function(c){return-1==b.indexOf(c)}),d=b.filter(function(c){return-1==g.indexOf(c)}),this.Ld=b,k.forEach(function(c){c.rW(null)}),d.forEach(function(c){c.remove();c.rW(this)}.bind(this)),this.Aa())};a.prototype.rW=function(k){this.ka!=k&&(this.ka&&this.Wm(),(this.ka=k)&&this.gp(),this.L9(this.ka&&this.ka.Ba))};a.prototype.gp=function(){for(var k in this.ka.N8)this.jN(k);for(k in this.ka.O8)this.set(k,this.ka.get(k))};a.prototype.Wm=function(){};a.prototype.L9=function(k){this.Ba!=
k&&(k||this.Qb(),(this.Ba=k)&&this.Mb(),this.Ld.forEach(function(b){b.L9(this.Ba)}.bind(this)))};a.prototype.Mb=function(){this.QDa()};a.prototype.Qb=function(){this.WNa()};a.prototype.QDa=function(){this.kk.forEach(function(k){this.Ba.OL.add(k,this)}.bind(this))};a.prototype.WNa=function(){this.kk.forEach(function(k){this.Ba.OL.remove(k,this)}.bind(this))};a.prototype.Uh=function(){this.ka&&this.ka.tba(this)};a.prototype.tba=function(k){var b=this.Ld.indexOf(k);if(-1==b)throw"Child not found";b!=
this.Ld.length-1&&(this.Ld.splice(b,1),this.Ld.push(k),this.Aa())};a.prototype.CUa=function(k){var b=this.Ld.indexOf(k);if(-1==b)throw"Child not found";this.Ld.splice(b,1);k.rW(null);this.Aa()};a.prototype.appendChild=function(k){k.remove();this.Ld.push(k);k.rW(this);this.Aa()};a.prototype.remove=function(){this.ka&&this.ka.CUa(this)};a.prototype.sn=function(){};a.prototype.Aa=function(){this.Zf||(this.Zf=!0,this.ka&&this.ka.Aa(this))};a.prototype.JFa=function(){this.Zf=!1};a.prototype.j9=function(){this.sT||
(this.sT=!0,this.ka&&this.ka.j9())};a.prototype.GFa=function(){this.sT=!1};a.prototype.ea=function(){this.Ssa();this.N("translationX","translationY","translationZ")&&(this.set("composedTranslationX",this.get("translationX")+(this.ka?this.ka.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.ka?this.ka.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.ka?this.ka.get("composedTranslationZ"):0)));this.N("deltaYaw",
"deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.ka?this.ka.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+(this.ka?this.ka.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.ka?this.ka.get("composedDeltaRoll"):0)),m.Hwa())};a.prototype.Ssa=function(){this.N("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.ka?this.ka.get("composedAlpha"):1))};return a});
define("ny",["require","ll","ht","v"],function(a){var e=a("ll"),h=a("ht"),m=a("v"),k={Z6:void 0,mZa:function(b){this.Z6=b},Q3:void 0,FYa:function(b){this.Q3=b},createTexture:function(){var b=new THREE.Texture;b.image=k.eI();b.userData={};b.userData.BAa={};return b},ZTa:function(b){b.image!=this.eI()&&(b.image=this.eI(),b.needsUpdate=!0)},$D:function(b,g){g=this.OUa(g);b.generateMipmaps=this.kFa(g);if(b.generateMipmaps)b.minFilter=THREE.LinearMipMapLinearFilter,b.anisotropy=Math.min(this.rIa(g),m.bwa().qxa),
h.Twa(g.width)&&h.Twa(g.height)?b.image=g:(b.Ir||(b.Ir=document.createElement("canvas"),b.Ir.$W=!0),b.image=b.Ir,b.Ir.Ra=g,b.image.width=h.Qva(g.width),b.image.height=h.Qva(g.height),b.image.getContext("2d").drawImage(g,0,0,b.image.width,b.image.height));else if(b.minFilter=THREE.LinearFilter,h.uI(g)&&h.WAa(g)){b.Bp||(b.Bp=document.createElement("canvas"),b.MKa=b.Bp.getContext("2d"),b.Bp.$W=!0);var d=g.videoWidth;h.kn()&&(d=Math.min(4096,d));var c=d*g.videoHeight/g.videoWidth;if(b.Bp.width!=d||b.Bp.height!=
c)b.Bp.width=d,b.Bp.height=c;g.readyState>=g.HAVE_CURRENT_DATA&&b.MKa.drawImage(g,0,0,d,c);b.image=b.Bp}else b.image=g;b.Ir&&b.image!=b.Ir&&(k.iY(b.Ir),delete b.Ir);b.needsUpdate=!0;(b=k.kca(b))&&b.isShaderMaterial&&(b.needsUpdate=!0);h.Hwa()},OUa:function(b){b?h.Bca(b)?b=e.sf(b,!1):h.Vwa(b)?b=this.eI():!h.uI(b)||b.readyState>=b.HAVE_CURRENT_DATA&&0<b.videoWidth&&0<b.videoHeight||(b=this.eI()):b=this.eI();return b},nUa:function(b,g,d,c,f){var l=document.createElement("canvas");l.width=h.zt();l.height=
h.zt();l.$W=!0;var p=l.getContext("2d");if(!p)return null;p.drawImage(b,g,d,c,f,0,0,h.zt(),h.zt());this.pY(l);return l},iY:function(b){h.Jwa(b)&&b.$W&&(delete b.$W,b.width=0,b.height=0)},dispose:function(b){b.Bp&&b.Bp!=b.image&&this.iY(b.Bp);b.image&&this.iY(b.image);b.dispose()},z_:function(b,g,d){g?(b.fsa=!0,b.esa=d||1):(delete b.fsa,delete b.esa)},rIa:function(b){return b&&b.esa||1},RZa:function(b,g){b.userData.BAa.material=g},kca:function(b){return b.userData.BAa.material},JTa:function(b){return h.Aca(b)},
decode:function(b){h.Bca(b)&&(b=e.sf(b,!1));h.Aca(b)&&this.pY(b)},pY:function(b){var g=document.createElement("canvas");g.width=1;g.height=1;var d=g.getContext("2d");k.pY=function(c){d.drawImage(c,0,0,1,1,0,0,1,1)};return k.pY(b)},M3:null,eI:function(){if(!this.M3){var b=document.createElement("canvas");b.width=128;b.height=128;b.$Ka=!0;b.getContext("2d").clearRect(0,0,b.width,b.height);this.M3=b}return this.M3},kFa:function(b){if(h.IWa(b))return!1;if(h.Jwa(b))return!!b.fsa;if(m.kb()){if(void 0!==
this.Z6)return this.Z6}else if(void 0!==this.Q3)return this.Q3;return!1}};return k});
define("ct",["require","ht","ny"],function(a){function e(b){this.yQ=(b=h.rz(b))&&h.wwa();this.sP=b&&h.vwa();this.ez=0;this.xs=void 0;this.JO=this.KO=0;this.premultipliedAlpha=!1;this.side=void 0;this.params={}}var h=a("ht"),m=a("ny"),k={cca:function(b){return b.map||b.uniforms&&b.uniforms.texture&&b.uniforms.texture.value},hz:function(b,g){b||(b=m.createTexture());g||(g=new k.em);b=g.gYa()?this.kUa(b,g):this.Aba(b);g.side&&(b.side=g.side);for(var d in g.params)b[d]=g.params[d];return b},Aba:function(b){var g=
new THREE.MeshBasicMaterial;g.map=b;this.GA(g);return g},kUa:function(b,g){var d={uniforms:{},transparent:!0};d.uniforms.texture={type:"sampler2D",value:b};b.flipY=!g.yQ;d.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(g.yQ?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(g.sP||g.ez||g.xs||g.premultipliedAlpha){var c=[],f=[];c=c.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);
d.uniforms.opacity={type:"float",value:1};f=f.concat(["   vec4 color = texture2D(texture, vUV);","   float alpha = color.a * opacity;"]);g.premultipliedAlpha&&(f=f.concat(["   if (color.a > 0.0)","       color.rgb /= color.a;"]));if(g.ez){var l=b.image.width||b.image.videoWidth,p=b.image.height||b.image.videoHeight,q=.5*Math.min(l,p)*g.ez;d.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(q/l,q/p)};c=c.concat(["uniform vec2 blendingLimit;"]);f=f.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x < blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) < blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y < blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) < blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}g.xs&&
(d.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(g.xs.substr(1,2),16)/255,parseInt(g.xs.substr(3,2),16)/255,parseInt(g.xs.substr(5,2),16)/255)},d.uniforms.chromaThreshold={type:"f",value:g.KO},d.uniforms.chromaSmoothing={type:"f",value:g.JO},c=c.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),f=f.concat("    float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;{    float maskCr = 0.7132 * (chromaColor.r - maskY);{    float maskCb = 0.5647 * (chromaColor.b - maskY);{    float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;{    float Cr = 0.7132 * (color.r - Y);{    float Cb = 0.5647 * (color.b - Y);{    float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));{    alpha = alpha * chromaBlendValue;".split("{")));
f=f.concat(["\tgl_FragColor = vec4(color"+(g.sP?".bgr":".rgb")+", alpha);"]);b.format=THREE.RGBAFormat;d.fragmentShader=[].concat(c,["void main() {"],f,["}"]).join("\n")}else d.fragmentShader="uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";b=new THREE.ShaderMaterial(d);this.GA(b);return b},dispose:function(b){Array.isArray(b)||(b=[b]);b.forEach(function(g){var d=k.cca(g);d&&m.dispose(d);g.dispose()})},GA:function(b){b.side=THREE.FrontSide;
b.transparent=!0;b.depthTest=!1;b.needsUpdate=!0;b.userData={};b.userData.lxa={};m.RZa(k.cca(b),b)},Uda:function(b,g){b.userData.lxa.Fo=g},Jva:function(b){return b.userData.lxa.Fo}};e.prototype.gYa=function(){return this.yQ||this.sP||this.ez||this.xs||this.premultipliedAlpha};e.prototype.isEqual=function(b){return this.yQ===b.yQ&&this.sP===b.sP&&this.ez===b.ez&&this.xs===b.xs&&this.KO===b.KO&&this.JO===b.JO&&this.premultipliedAlpha===b.premultipliedAlpha&&this.side===b.side};k.em=e;return k});
define("ep",["require","gU","ct"],function(a){function e(b){return Array.isArray(b)?b:b?[b]:[]}var h=a("gU"),m=a("ct"),k={create:function(b,g){var d=new THREE.Mesh(b,g);d.overdraw=!1;d.matrixAutoUpdate=!1;d.userData.Uv={};d.userData.Uv.attributes={};e(g).forEach(function(c){m.Uda(c,d)});return d},Iua:function(b){var g=new THREE.Group;k.forEach(b,function(d){g.add(d)});return g},lZa:function(b,g){e(g).forEach(function(d){m.Uda(d,null)});m.dispose(b.material);b.material=g;e(g).forEach(function(d){m.Uda(d,
b)})},nz:function(b){return e(b.material)},oVa:function(b,g){if(b.layers.mask&g.layers.mask){var d=k.nz(b);return h.nVa(b.geometry,g,b.matrixWorld).map(function(c){return d[c]})}return[]},Pda:function(b,g){b.geometry=g},kVa:function(b,g){var d=[];k.Hj(b,function(c){var f=k.nz(c);g.forEach(function(l){var p=h.jVa(c.geometry,c.matrixWorld,l);if(p){var q=m.cca(f[p.materialIndex]);l=q.image;l==q.Ir&&(l=q.Ir.Ra);q=Math.round(p.HAa*l.width-.5);q=0>q?0:q>l.width-1?l.width-1:q;p=Math.round((1-p.TAa)*l.height-
.5);p=0>p?0:p>l.height-1?l.height-1:p;d.push({x:q,y:p,source:l})}})});return d},KI:function(b,g){k.forEach(b,function(d){g?g.add(d):d.parent&&d.parent.remove(d)})},Lz:"panoramaId",bE:"panoramaFrameId",G_:"panoramaOverlayId",F_:"levelIndex",setAttribute:function(b,g,d){k.Hj(b,function(c){c.userData.Uv.attributes[g]=d})},getAttribute:function(b,g){return b.userData.Uv.attributes[g]},eva:function(b,g,d){for(var c=[],f=0,l=b.length;f<l;f++){var p=b[f];p.userData.Uv.attributes[g]!==d&&c.push(p)}return c},
lY:function(b,g,d){for(var c=[],f=0,l=b.length;f<l;f++){var p=b[f];p.userData.Uv.attributes[g]===d&&c.push(p)}return c},dwa:function(b,g){for(var d={},c=0,f=b.length;c<f;c++){var l=b[c],p=l.userData.Uv.attributes[g];void 0!==p&&(d[p]||(d[p]=[])).push(l)}return d},yY:function(b){b=b.userData.Uv.alpha;return void 0===b?1:b},uf:function(b,g){k.Hj(b,function(d){d.userData.Uv.alpha=g;k.nz(d).forEach(function(c){c.opacity=g;"ShaderMaterial"==c.type&&c.uniforms&&c.uniforms.opacity&&(c.uniforms.opacity.value=
g)})})},Bq:function(b,g){k.Hj(b,function(d){d.matrix.copy(g);d.matrixWorldNeedsUpdate=!0})},awa:function(b){return b.renderOrder},k_:function(b,g){k.forEach(b,function(d){d.renderOrder=g})},dispose:function(b){k.Hj(b,function(g){g.geometry&&(h.dispose(g.geometry),g.geometry=void 0);g.material&&(m.dispose(g.material),g.material=void 0)})},Ok:function(b){var g=[];k.Hj(b,function(d){g.push(d)});return g},forEach:function(b,g){Array.isArray(b)?b.forEach(g):b&&b.isObject3D&&(b.isMesh||"Group"==b.type)&&
g(b)},Hj:function(b,g){if(Array.isArray(b))for(var d=0,c=b.length;d<c;d++)k.Hj(b[d],g);else if(b&&b.children)for(d=0,c=b.children.length;d<c;d++)k.Hj(b.children[d],g);b&&b.isObject3D&&b.isMesh&&g(b)}};return k});
define("V",["require","ep"],function(a){var e=a("ep");return{Ok:function(h){var m=[];h.children&&h.children.forEach(function(k){e.Hj(k,function(b){b.userData&&b.userData.Uv&&m.push(b)})});return m},Jda:function(h,m){h.userData.cameras=m},Sba:function(h){return h.userData.cameras||[]},lz:function(h){return h.userData.cameras&&0<h.userData.cameras.length&&h.userData.cameras[0]||null}}});
define("oO","require lo oH gi ep V".split(" "),function(a){function e(p,q){return p.reduce(function(n,r){return n?!0:!!(q.layers.mask&r.layers.mask)},!1)}function h(p){p=b(p).loaded;return void 0===p?!1:p}function m(p){p=b(p).active;return void 0===p?!0:p}function k(p){p=b(p).blending;return void 0===p?!1:p}function b(p){return p.userData.ZWa||(p.userData.ZWa={})}var g=a("lo"),d=a("oH"),c=a("gi"),f=a("ep"),l=a("V");a=g.extend(c,function(){c.call(this);this.A=void 0;this.W6=!1});a.prototype.update=
function(p){var q=p.Cb&&this.A&&!this.A.Cb;this.A=p.clone();this.W6||(q?this.pKa():this.sSa())};a.prototype.sSa=function(){var p=!1,q=l.Sba(this.A.qg),n=l.Ok(this.A.qg);f.lY(n,f.bE,void 0).forEach(function(w){var x=e(q,w)&&0<f.yY(w)&&m(w);w.visible!=x&&(w.visible=x,p=!0)});n=f.eva(n,f.bE,void 0);n=f.dwa(n,f.Lz);for(var r in n){var t=n[r],u=q.map(function(){return!1});t.sort(function(w,x){return f.awa(x)-f.awa(w)});var v=t.some(k);t.forEach(function(w){var x=e(q,w)&&0<f.yY(w)&&m(w)&&(!v||h(w));if(x){x=
!0;for(var y=v||h(w)&&.999<f.yY(w),A=0;A<q.length;A++)w.layers.mask&q[A].layers.mask&&!u[A]&&(x=!1,y&&(u[A]=!0));x=!x}w.visible!=x&&(w.visible=x,p=!0)})}p&&this.trigger(d.pa)};a.prototype.pKa=function(){this.W6=!0;l.Ok(this.A.qg).forEach(function(p){p.visible=!1});setTimeout(function(){this.W6=!1;this.update(this.A)}.bind(this),300);this.trigger(d.pa)};a.dQ=function(p,q){b(p).loaded=q};a.setActive=function(p,q){b(p).active=q};a.tza=function(p,q){f.Hj(p,function(n){b(n).blending=q})};return a});
define("ko","require lo oH hT gi oO ct ep V v".split(" "),function(a){function e(w){return(w=w.userData.No)&&!(!w.Nca&&!w.Jca)}function h(w){return w.userData.No||(w.userData.No={})}function m(w){return h(w).XD}function k(w){return h(w).enabled||!1}function b(w){return!m(w).Gca()}var g=a("lo"),d=a("oH");a("hT");var c=a("gi"),f=a("oO"),l=a("ct"),p=a("ep"),q=a("V"),n=a("v"),r=g.extend(c,function(){c.call(this);this.UF=[];this.Yx=[];this.CE=[];this.A=void 0;this.qs=null;this.Xy=this.Xy.bind(this)});
r.prototype.update=function(w){this.A=w.clone();this.PRa()?this.Xy():this.eta()};r.prototype.eta=function(){this.qs||(this.qs=setTimeout(this.Xy,1E3))};var t=Math.PI/180,u=n.kb()?n.aZ()&&1<=n.XAa()?2:1:1.5;r.prototype.PRa=function(){var w=0<this.A.$l?1E3:this.A.GO/Math.tan(Math.min(.5*this.A.Vh,89.99)*t);w*=u;var x=q.Sba(this.A.qg),y=q.Ok(this.A.qg).filter(e),A=y.filter(k);var B=p.eva(A,p.bE,void 0);B=p.dwa(B,p.bE);B.none=p.lY(A,p.bE,void 0);A=[];for(var z in B)for(var C=B[z],H=0,D=C.length;H<D;H++){var I=
C[H];(h(I).Nca||r.UQ)==r.Zq&&A.push(I)}for(var F=0,N=x.length;F<N;F++){var S=x[F];for(z in B){C=B[z];var Q=null,R=Number.NEGATIVE_INFINITY,W=null,G=Number.POSITIVE_INFINITY;H=0;for(D=C.length;H<D;H++)if(I=C[H],I.layers.mask&S.layers.mask&&(h(I).Nca||r.UQ)==r.UQ){var L=90*h(I).DXa;L<w&&L>R?(Q=I,R=L):L>=w&&L<G&&(W=I,G=L)}this.A.Cb&&W&&Q?R>.75*w?A.push(Q):A.push(W):(W&&0>A.indexOf(W)&&A.push(W),Q&&0>A.indexOf(Q)&&A.push(Q))}}w=[];for(x=0;x<A.length;x++)z=A[x],0>w.indexOf(z)&&w.push(z);A=w;a:{w=this.CE;
x=A;for(z=0;z<w.length;z++)if(0>x.indexOf(w[z])){w=!1;break a}for(z=0;z<x.length;z++)if(0>w.indexOf(x[z])){w=!1;break a}w=!0}w=!w;this.CE=A;H=0;for(D=y.length;H<D;H++)I=y[H],k(I)&&f.setActive(I,0<=this.CE.indexOf(I));return w};r.prototype.Xy=function(){this.qs=null;for(var w=[],x=[],y=[],A=(new Date).getTime()-v,B=q.Sba(this.A.qg),z=q.Ok(this.A.qg),C=0,H=z.length;C<H;C++){var D=z[C],I=D.userData.No;if(I){var F=p.nz(D);if(I.enabled){var N=[];if(0<=this.CE.indexOf(D)){if(0<this.A.$l||(h(D).Jca||r.N0)==
r.Yo)N=F;else for(var S=0,Q=B.length;S<Q;S++){var R=p.oVa(D,B[S]);if(0==S)N=R;else for(var W=0,G=R.length;W<G;W++){var L=R[W];0>N.indexOf(L)&&N.push(L)}}W=0;for(G=N.length;W<G;W++)L=N[W],(L.userData.No||(L.userData.No={})).Xwa=A}this.j2(D,N);W=0;for(G=I.Jq.length;W<G;W++)w.push(I.Jq[W]);W=0;for(G=I.$v.length;W<G;W++)x.push(I.$v[W])}else for(I.$v||this.j2(D,[]),W=0,G=I.$v.length;W<G;W++)L=I.$v[W],0>I.Jq.indexOf(L)&&x.push(L);W=0;for(G=F.length;W<G;W++)y.push(F[W])}}C=[];W=0;for(G=this.Yx.length;W<
G;W++)L=this.Yx[W],0>y.indexOf(L)?L.userData.No.XD.unload():b(L)?this.I9(L,!1):C.push(L);this.Yx=C;W=Math.max(r.rxa(),Math.round(1.25*x.length))-w.length;if(this.Yx.length>W)for(this.Yx.sort(function(U,O){return h(U).Xwa-h(O).Xwa}),C=this.Yx.splice(0,this.Yx.length-W),W=0,G=C.length;W<G;W++)L=C[W],L.userData.No.XD.unload(),this.I9(L,!1);x=[];C=0;for(H=this.CE.length;C<H;C++)D=this.CE[C],I=D.userData.No,0<I.Jq.length&&x.push(D);y=Number.POSITIVE_INFINITY;C=0;for(H=x.length;C<H;C++)D=x[C],I=D.userData.No,
W=I.priority,W=void 0!==W?W:Number.POSITIVE_INFINITY,W<y&&(y=W);w=[];C=0;for(H=x.length;C<H;C++)if(D=x[C],I=D.userData.No,W=I.priority,W=void 0!==W?W:Number.POSITIVE_INFINITY,W==y)for(R=I.Jq,W=0,G=R.length;W<G;W++)L=R[W],w.push(L);W=0;for(G=this.UF.length;W<G;W++)L=this.UF[W],0>w.indexOf(L)&&(L=L.userData.No.XD,L.unbind(d.Z,this.w$,this,!0),L.unbind(d.tc,this.x$,this,!0),L.STa());C=this.UF;this.UF=w;H=this.UF.slice();W=0;for(G=H.length;W<G;W++)L=H[W],0>C.indexOf(L)&&(L=L.userData.No.XD,L.bind(d.Z,
this.w$,this,!0),L.bind(d.tc,this.x$,this,!0),L.load())};r.prototype.w$=function(w){this.msa(w.source);this.trigger(d.Z)};r.prototype.x$=function(w){this.msa(w.source)};r.prototype.msa=function(w){w.unbind(d.Z,this.w$,this,!0);w.unbind(d.tc,this.x$,this,!0);var x=w.material(),y=this.UF,A=y.indexOf(x);0<=A&&y.splice(A,1);this.Yx.push(x);this.I9(x,!0);w=w.Fo();0<=h(w).Jq.indexOf(x)&&this.j2(w,h(w).$v);this.eta()};r.prototype.j2=function(w,x){var y=h(w).$v;y=y?y.length:void 0;var A=h(w).Jq;A=A?A.length:
void 0;h(w).$v=x;h(w).Jq=x.filter(b);f.dQ(w,0==h(w).Jq.length&&(h(w).Jca||r.N0)==r.Yo);x=(x=h(w).$v)?x.length:void 0;var B=h(w).Jq;B=B?B.length:void 0;A===B&&y===x||w.dispatchEvent({type:d.ec,Sg:x?100-100*B/x:100});A!==B&&0===B&&w.dispatchEvent({type:d.Z})};r.prototype.I9=function(w,x){if(x!=w.visible){var y=l.Jva(w),A=p.getAttribute(y,p.Lz),B=p.getAttribute(y,p.F_);if(void 0===A||void 0===B)w.visible=x;else{var z=q.Ok(this.A.qg).filter(e);A=p.lY(z,p.Lz,A);B=p.lY(A,p.F_,B);var C=p.nz(y).indexOf(w);
w=B.map(function(H){return p.nz(H)[C]});for(y=0;y<w.length&&x;y++)x=x&&m(w[y]).Gca();for(y=0;y<w.length;y++)w[y].visible=x}}};r.rxa=function(){var w=n.bZ()?384:n.kb()?128:384;r.rxa=function(){return w};return w};r.nc=function(w,x){p.Hj(w,function(y){h(y).enabled=x})};r.enabled=k;r.d_=function(w,x){p.Hj(w,function(y){h(y).DXa=x})};r.Yo="all";r.N0="in view";r.dw=function(w,x){p.Hj(w,function(y){h(y).Jca=x})};r.Zq="always";r.UQ="on demand";r.ew=function(w,x){p.Hj(w,function(y){h(y).Nca=x})};r.iQ=function(w,
x){p.Hj(w,function(y){h(y).priority=x})};r.RD=function(w,x){p.Hj(w,function(y){h(y).y1a=x;p.nz(y).forEach(function(A){m(A).iZa(x)})})};r.w1a=function(w){return 100-100*h(w).Jq.length/h(w).$v.length};r.v1a=function(w){return 0==h(w).Jq.length};r.LI=function(w,x){(h(w).XD=x)&&(w.visible=x.Gca())};r.XD=m;var v=(new Date).getTime();return r});
define("h","require lo iW ep V ko oO".split(" "),function(a){var e=a("lo"),h=a("iW"),m=a("ep"),k=a("V"),b=a("ko"),g=a("oO");a=e.extend(h,function(){h.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",null);this.set("meshGroup",null);this.set("camera",null)});a.prototype.Hn=function(){return[]};a.prototype.Qb=function(){m.dispose(this.get("meshGroup"));m.KI(this.get("meshGroup"),null);this.set("meshGroup",null);h.prototype.Qb.call(this)};a.prototype.ea=function(d){h.prototype.ea.call(this,
d);this.set("camera",k.lz(d.qg));this.set("webglScene",d.qg);this.get("meshGroup")||(this.set("meshGroup",m.Iua(this.Hn())),this.get("meshGroup").userData.yXa=this);this.N("webglScene","meshGroup")&&m.KI(this.get("meshGroup"),this.get("webglScene"));this.Ml();this.tq(d);this.XC();this.N("loadingActive","meshGroup")&&b.nc(this.get("meshGroup"),this.get("loadingActive"));this.N("blendingActive","meshGroup")&&g.tza(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.Ml=function(){this.N("composedAlpha",
"meshGroup")&&this.Rw()};a.prototype.Rw=function(){m.uf(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.tq=function(){throw"Must be overridden in descendants.";};a.prototype.XC=function(){if(this.N("index","meshGroup")){var d=this.get("meshGroup");d&&d.children.forEach(function(c,f,l){m.k_(c,this.get("index")+f/l.length)}.bind(this))}};return a});
define("fy",["require","lo","gU","h","ep"],function(a){var e=a("lo"),h=a("gU"),m=a("h"),k=a("ep"),b=new THREE.Matrix4,g=Math.PI/180;a=e.extend(m,function(){m.call(this);this.set("tag","Frame");this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.Gl=new THREE.Matrix4;this.ii=new THREE.Matrix4});a.prototype.ea=function(d){m.prototype.ea.call(this,d)};a.prototype.tq=function(d){var c=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*
h.If,.5*this.get("composedTranslationY")*h.If,.5*this.get("composedTranslationZ")*h.If),c=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Bd.makeRotationY(-d.Sa*g),this.Bd.multiply(b.makeRotationX(-this.get("composedDeltaPitch")*g)),this.Bd.multiply(b.makeRotationY(this.get("composedDeltaYaw")*g)),this.Bd.multiply(b.makeRotationY(d.Sa*g)),c=!0);this.N("flipHorizontally")&&(d=this.get("flipHorizontally")?-1:1,this.Gl.makeScale(d,1,1),c=!0);if(c||this.N("meshGroup"))this.ii.copy(this.kh),
this.ii.multiply(this.Bd),this.ii.multiply(this.Gl),k.Bq(this.get("meshGroup"),this.ii)};return a});
define("z",["require"],function(){function a(){this.EF=e++;this.vL="_map_"+this.EF+"_key";this.JT={};this.Dp=[];this.length=0}var e=0;a.prototype.set=a.prototype.add=function(h,m){0>this.Dp.indexOf(h)&&this.Dp.push(h);if("object"===typeof h&&null!==h){var k=h[this.vL];if(!k){k=this.vL;for(var b=[],g=0;8>g;g++)b.push(Math.floor(16*Math.random()).toString(16));k=h[k]=b.join("")}}else k=h;this.JT[k]=m;this.length=this.Dp.length};a.prototype.get=function(h){return this.JT["object"===typeof h&&null!==
h?h[this.vL]:h]};a.prototype.VVa=function(h){return 0<=this.Dp.indexOf(h)};a.prototype.remove=function(h){var m=this.Dp.indexOf(h);0>m||(this.Dp.splice(m,1),"object"===typeof h&&null!==h?(m=h[this.vL],delete h[this.vL]):m=h,delete this.JT[m],this.length=this.Dp.length)};a.prototype.forEach=function(h){this.Dp.slice().forEach(function(m){h(m,this.get(m))}.bind(this))};a.prototype.dispose=function(){for(;this.Dp.length;)this.remove(this.Dp.pop());this.Dp=this.JT=null};return a});
define("ob",["require","lo","gi","z"],function(a){function e(){this.lD=[]}var h=a("lo"),m=a("gi"),k=a("z");a=h.extend(m,function(b){m.call(this);this.gf=b;this.Xc=[];this.uu=new k;this.wO=[];this.n4=[];this.eG=this.eG.bind(this)});a.prototype.vf=function(b){this.Xc.forEach(function(g){if(g.removeEventListener)g.removeEventListener(this.gf,this.eG);else if(g.unbind)g.unbind(this.gf,this.eG,this,!0);else throw"invalid instance type";}.bind(this));this.Xc=b.slice();this.Xc.forEach(function(g){if(g.addEventListener)g.addEventListener(this.gf,
this.eG);else if(g.bind)g.bind(this.gf,this.eG,this,!0);else throw"invalid instance type";this.uu.VVa(g)||this.uu.set(g,new e)}.bind(this));this.Z$()};a.prototype.dispose=function(){this.vf([]);this.Xc=null;this.uu.dispose();this.n4=this.wO=this.uu=null};a.prototype.bm=function(b){this.wO.push(b);this.Z$();return this};a.prototype.Ho=function(b){this.n4.push(b);return this};a.prototype.Cs=function(b){this.Xc.forEach(function(g){b(g,this.uu.get(g).lD)}.bind(this))};a.prototype.Ul=function(b){b=this.uu.get(b).lD;
return 0==b.length?null:b[b.length-1]};a.prototype.eG=function(b){var g=b.target||b.source;if(g=this.uu&&this.uu.get(g))g.lD.push(b),this.n4.forEach(function(d){d(b,this)}.bind(this)),this.Z$()};a.prototype.Z$=function(){if(0!=this.Xc.length){for(var b=0;b<this.Xc.length;b++)if(0==this.uu.get(this.Xc[b]).lD.length)return;this.wO.length&&(b=this.wO.slice(),this.wO=[],b.forEach(function(g){g(this)}.bind(this)))}};return a});
define("cX","require lo oH hT gi ct ny".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("hT"),k=a("gi"),b=a("ct"),g=a("ny"),d=e.extend(k,function(){k.call(this);this.Ce=void 0;this.tb=g.createTexture();this.A=d.qJ;this.sL=m.Xk});d.prototype.type=function(){return this.Ce};d.prototype.texture=function(){return this.tb};d.prototype.material=function(){return this.tb&&g.kca(this.tb)};d.prototype.Fo=function(){var c=this.tb&&g.kca(this.tb);return c&&b.Jva(c)};d.prototype.iZa=function(c){this.sL=c};
d.prototype.load=function(){this.A==d.qJ&&(this.A=d.$Q,this.z2())};d.prototype.STa=function(){this.OWa()&&(this.A==d.$Q?this.TW():this.JN(),this.A=d.qJ)};d.prototype.unload=function(){this.A!=d.qJ&&(this.A==d.$Q?this.TW():this.A==d.e1?this.JN():this.Vy(),this.A=d.qJ)};d.prototype.z2=function(){};d.prototype.TW=function(){};d.prototype.v2=function(){};d.prototype.JN=function(){};d.prototype.Vy=function(){g.ZTa(this.texture)};d.prototype.OWa=function(){return this.A==d.$Q||this.A==d.e1};d.prototype.Gca=
function(){return this.A==d.d1||this.A==d.kga};d.prototype.dispose=function(){g.dispose(this.tb);this.tb=null};d.prototype.hG=function(c){this.A=c?d.e1:d.kga;c?this.v2():this.trigger(h.tc)};d.prototype.Yma=function(){this.A=d.d1;this.trigger(h.Z)};d.qJ="initial";d.$Q="loading";d.e1="adding";d.kga="error loading";d.d1="added";d.MCa="custom";d.NCa="image tile";d.G0a="image animation";d.H0a="video 360";return d});
define("fd","require lo oH cq ll ny cX".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cq"),k=a("ll"),b=a("ny"),g=a("cX");a=e.extend(g,function(d){g.call(this);this.Ce=g.MCa;this.Fd=d;this.Fd||(this.A=g.d1);this.xg=this.vd=null;this.a2=this.qO=void 0});a.prototype.Zl=function(d){this.xg=d;b.$D(this.tb,this.xg);this.xg&&void 0!==this.qO&&b.z_(this.xg,this.qO,this.a2)};a.prototype.z_=function(d,c){this.qO!==d&&(this.qO=d,this.a2=c,this.xg&&b.z_(this.xg,this.qO,this.a2))};a.prototype.sf=function(){return k.sf(this.Fd)};
a.prototype.update=function(){b.$D(this.tb,this.xg)};a.prototype.z2=function(){this.Fd?this.fK():this.hG(!0)};a.prototype.TW=function(){this.wp()};a.prototype.v2=function(){this.Yma()};a.prototype.Vy=function(){this.wp()};a.prototype.dispose=function(){this.wp();g.prototype.dispose.call(this)};a.prototype.nd=function(){this.hG(!0)};a.prototype.Pf=function(){this.hG(!1)};a.prototype.fK=function(){this.vd||(this.vd=new m,this.vd.MI([this.Fd]),this.vd.bind(h.Z,this.nd,this,!0),this.vd.bind(h.tc,this.Pf,
this,!0),k.ln(this.vd,this.sL))};a.prototype.wp=function(){this.vd&&(this.vd.unbind(h.Z,this.nd,this,!0),this.vd.unbind(h.tc,this.Pf,this,!0),k.gj(this.vd,this.sL),this.vd=null)};return a});
define("dF","require lo oH gi ny bg".split(" "),function(a){function e(){f||(f=!0,d.requestFrame(h,null))}function h(){for(f=!1;c.length;){var p=c.shift();p.add();if(p.WWa())break}c.length&&e()}var m=a("lo"),k=a("oH"),b=a("gi"),g=a("ny"),d=a("bg"),c=[],f=!1,l=m.extend(b,function(p,q){b.call(this);this.texture=p;this.source=q});l.prototype.WWa=function(){return!this.source.mha&&g.JTa(this.source)};l.prototype.decode=function(){this.source.mha||(g.decode(this.source),this.source.mha=!0)};l.prototype.add=
function(){g.$D(this.texture,this.source);this.trigger(k.Z)};l.prototype.remove=function(){var p=c.indexOf(this);0<=p&&c.splice(p,1);g.$D(this.texture,null)};return{add:function(p,q){p=new l(p,q);c.push(p);e();return p}}});
define("mK","require lo oH cq ll dF cX".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cq"),k=a("ll"),b=a("dF"),g=a("cX");a=e.extend(g,function(d){g.call(this);this.Ce=g.NCa;this.Fd=d;this.xg=this.FG=this.vd=null});a.prototype.sf=function(){return this.xg};a.prototype.z2=function(){this.fK()};a.prototype.TW=function(){this.wp()};a.prototype.v2=function(){this.OGa()};a.prototype.JN=function(){this.wp();this.W3()};a.prototype.Vy=function(){this.wp();this.W3()};a.prototype.dispose=function(){this.wp();
this.W3();g.prototype.dispose.call(this)};a.prototype.nd=function(){this.xg=k.sf(this.Fd);this.hG(!0)};a.prototype.Pf=function(){this.hG(!1)};a.prototype.Zma=function(){this.Yma()};a.prototype.fK=function(){this.vd||(this.vd=new m,this.vd.MI([this.Fd]),this.vd.bind(h.Z,this.nd,this,!0),this.vd.bind(h.tc,this.Pf,this,!0),k.ln(this.vd,this.sL))};a.prototype.wp=function(){this.vd&&(this.vd.unbind(h.Z,this.nd,this,!0),this.vd.unbind(h.tc,this.Pf,this,!0),k.gj(this.vd,this.sL),this.vd=null)};a.prototype.OGa=
function(){this.FG=b.add(this.tb,this.xg);this.FG.bind(h.Z,this.Zma,this,!0)};a.prototype.W3=function(){this.FG&&(this.FG.unbind(h.Z,this.Zma,this,!0),this.FG.remove(),this.FG=null)};return a});
define("oP",["require","lo","ll","ny","mK"],function(a){var e=a("lo"),h=a("ll"),m=a("ny"),k=a("mK");a=e.extend(k,function(b,g,d,c,f){k.call(this,b.get("url"));this.Ha=g;this.Ka=d;this.ia=c;this.ua=f;this.kLa=0!=this.Ha||0!=this.Ka||this.ia!=b.get("width")||this.ua!=b.get("height")});a.prototype.nd=function(){this.kLa?(this.WGa(),this.wp(),this.hG(!!this.xg)):k.prototype.nd.call(this)};a.prototype.JN=function(){k.prototype.JN.call(this);this.X3()};a.prototype.Vy=function(){k.prototype.Vy.call(this);
this.X3()};k.prototype.dispose=function(){k.prototype.dispose.call(this);this.X3()};a.prototype.WGa=function(){var b=h.sf(this.Fd);this.xg=m.nUa(b,this.Ha,this.Ka,this.ia,this.ua)};a.prototype.X3=function(){this.xg&&(m.iY(this.xg),this.xg=null)};return a});
define("fv","require nx dC mD ht fd mK oP gU ct ep bZ nh ko v".split(" "),function(a){var e=a("nx"),h=a("dC"),m=a("mD"),k=a("ht"),b=a("fd"),g=a("mK"),d=a("oP"),c=a("gU"),f=a("ct"),l=a("ep"),p=a("bZ"),q=a("nh"),n=a("ko"),r=a("v"),t={jUa:function(u,v){var w=p.get(u);switch(w){case p.Kw:case p.nt:case p.Yk:return this.yGa(w,u,v);case p.Zo:case p.ep:case p.hr:return this.AGa(w,u,v)}},pUa:function(u,v){var w=new g(v.get("posterURL"));return this.hja(u,v,w)},oUa:function(u,v){var w=new b;return this.hja(u,
v,w)},hja:function(u,v,w){var x=u.get("hfov"),y=u.get("vfov"),A=u.get("pitch"),B=v.get("width");v=v.get("url");u=p.get(u);var z=u==p.hr?2:1,C=u==p.ep?2:1;u=2<z+C?[h.Pa,h.hb]:[h.Zs];var H=Math.round(B/z),D=f.hz(w.texture(),new f.em(v));n.LI(D,w);D.visible=!0;return u.map(function(I,F){F=c.Lua(x,y,A,1,1,F%z/z,(C-1-Math.floor(F/z))/C,1/z,1/C);F=l.create(F,[D]);F.layers.set(I);n.d_(F,H/x);return F}.bind(this))},lUa:function(u){var v=[m.hb,m.Pa,m.uc,m.pc,m.FRONT,m.BACK].map(function(){var x=new b;x.Zl(t.TJa(u));
var y=f.hz(x.texture());n.LI(y,x);y.visible=!0;return y}),w=c.Kua(1,1);v=l.create(w,v);n.d_(v,256/90);v.layers.set(h.Zs);return v},Y9:{},TJa:function(u){if(!t.Y9[u]){var v=document.createElement("canvas");v.width=v.height=256;var w=v.getContext("2d");w.fillStyle=u;w.fillRect(0,0,v.width,v.height);t.Y9[u]=v}return t.Y9[u]},yGa:function(u,v,w){var x=u==p.Kw?[h.hb,h.Pa]:[h.Zs],y=v.get("flipImageHorizontally");y&&(x=x.reverse());var A=u==p.Yk?1:6*x.length,B=w.get("width")/A,z=w.get("height");if(e.Na("TiledImageResourceLevel",
w)){var C=w.get("colCount",A)/A;var H=w.get("rowCount",1)}else this.oqa(u,w)?(C=Math.ceil(B/k.zt()),H=Math.ceil(z/k.zt())):H=C=1;var D=[m.hb,m.Pa,m.uc,m.pc,m.FRONT,m.BACK];return x.map(function(I,F){var N=Array(6);D.forEach(function(R,W){var G=q.Xba(v,w,R);if(e.Na("TiledImageResourceLevel",w))N[c.oga.indexOf(R)]=this.tGa(G,u,I,R,y,C,H);else{W=u==p.Yk?0:Math.round((F*D.length+W)*B);var L=1<C||1<H||u!=p.Yk?256<B?1:.5:0;N[c.oga.indexOf(R)]=this.bja(G,C,H,W,0,B,z,L)}}.bind(this));var S=Array.prototype.concat.apply([],
N),Q=c.Kua(C,H);S=l.create(Q,S);S.layers.set(I);n.d_(S,B/90);return S}.bind(this))},AGa:function(u,v,w){var x=u==p.Zo?[h.Zs]:[h.Pa,h.hb];v.get("flipImageHorizontally")&&(x=x.reverse());var y=w.get("width"),A=w.get("height"),B=v.get("hfov"),z=v.get("vfov"),C=v.get("pitch"),H=Math.round(y/B/(A/z)),D=Math.round(y/H),I=Math.round(A/Math.round(A/z/(y/B))),F=(u=this.oqa(u,w))?Math.ceil(D/k.zt()):1,N=u?Math.ceil(I/k.zt()):1;return x.map(function(S,Q){Q=this.bja(w,F,N,Q%H*D,Math.floor(Q/H)*I,D,I);var R=c.Lua(B,
z,C,F,N,0,0,1,1);Q=l.create(R,Q);Q.layers.set(S);n.d_(Q,D/B);return Q}.bind(this))},oqa:function(u,v){switch(u){case p.Kw:case p.nt:case p.ep:case p.hr:return!0;case p.Yk:return!1;case p.Zo:return r.bwa().maxTextureSize<Math.max(v.get("width"),v.get("height"))?!0:k.kn()||r.kb()?!1:r.hd()==r.Pz?!0:!1}},bja:function(u,v,w,x,y,A,B,z){z||(z=0);for(var C=[],H=0;H<w;H++)for(var D=y+z+(B-2*z)*H/w,I=y+z+(B-2*z)*(H+1)/w,F=0;F<v;F++){var N=x+z+(A-2*z)*F/v,S=x+z+(A-2*z)*(F+1)/v;N=u?new d(u,N,D,S-N,I-D):new b;
S=f.Aba(N.texture());n.LI(S,N);C.push(S)}return C},tGa:function(u,v,w,x,y,A,B){for(var z=[],C=0;C<B;C++)for(var H=0;H<A;H++){var D=u?new g(q.Xva(u,v,w,x,y,B,C,H)):new b;var I=f.Aba(D.texture());n.LI(I,D);I.visible=!1;z.push(I)}return z}};return t});
define("dj","require lo oH fy ob fv ko".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("fy"),k=a("ob"),b=a("fv"),g=a("ko");a=e.extend(m,function(d){m.call(this);this.wc=d;this.set("tag","SolidFrame");this.Kg=null});a.prototype.Mb=function(){this.Kg=(new k(h.Z)).bm(this.nd.bind(this));m.prototype.Mb.call(this)};a.prototype.Qb=function(){this.Kg.dispose();m.prototype.Qb.call(this)};a.prototype.Hn=function(){var d=[b.lUa(this.wc)];g.ew(d,g.Zq);g.dw(d,g.Yo);this.Kg.vf(d);return d};a.prototype.nd=
function(){this.trigger(h.Vc);this.trigger(h.Z)};return a});
define("lF","require lo eN dj oj bF".split(" "),function(a){var e=a("lo"),h=a("eN"),m=a("dj"),k=a("oj"),b=a("bF");a=e.extend(h,function(g,d,c,f){h.call(this,g,d,c,f);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(g){if(!this.Hb){this.F.vn||(this.F.vn=new m("#000000"),this.F.vn.set("alpha",1),this.j.add(this.F.vn));if(!this.V){this.F.vn.Uh();var d=2*this.F.KH;this.V=new k("linear",[new b("alpha",2,0,void 0)],d);this.F.vn.Uh()}this.V.zb(g);this.F.vn.set("alpha",
Math.min(.99,this.V.cb("alpha")));this.j.tf(this.F.Dc).set("alpha",1);this.V&&this.V.Re()&&(this.Hb=!0)}};return a});
define("bJ",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.F.ic?.01*this.F.KH:this.F.Rua;this.V=new m("linear",[new k("alpha",1,0,void 0)],g)}this.V.zb(b);b=this.V.cb("alpha");this.j.tf(this.F.Ug).set("alpha",b);this.V.Re()&&(this.Hb=!0)}};return a});
define("nD","require lo eN dj oj bF".split(" "),function(a){var e=a("lo"),h=a("eN"),m=a("dj"),k=a("oj"),b=a("bF");a=e.extend(h,function(g,d,c,f){h.call(this,g,d,c,f);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(g){if(!this.Hb){this.F.vn||(this.F.vn=new m("#000000"),this.F.vn.set("alpha",0),this.j.add(this.F.vn));if(!this.V){this.F.vn.Uh();var d=2*this.F.Rua;this.V=new k("linear",[new b("alpha",0,2,void 0)],d)}this.V.zb(g);g=Math.min(1,this.V.cb("alpha"));
this.F.vn.set("alpha",g);1==g&&this.j.tf(this.F.Ug).set("alpha",0);this.V.Re()&&(this.Hb=!0)}};return a});
define("ci",["require","lo","eN","oj","bF"],function(a){function e(g,d,c){for(;g<d;)g+=c-d;for(;g>c;)g-=c-d;return g}var h=a("lo"),m=a("eN"),k=a("oj"),b=a("bF");a=h.extend(m,function(g,d,c,f){m.call(this,g,d,c,f);this.V=null;this.Hb=!1;this.Jm=0});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(g){this.Hb||(this.V||(this.V=this.Jm<this.F.Bo.length?this.LGa(this.Jm):this.pGa()),this.V.zb(g),this.Pb.iw(this.V.cb("yaw"),this.V.cb("pitch")),this.Pb.Ko(this.V.cb("hfov")),this.Pb.TD(this.V.cb("stereographicFactor")),
this.V.Re()&&(this.V=null,this.Jm++,this.Jm>this.F.Bo.length&&(this.Pb.cQ(!0),this.Hb=!0)))};a.prototype.pGa=function(){var g=e(this.j.Tc(),-180,180),d=this.j.Oc();this.j.Qf();var c=this.j.Ag(),f=this.j.A.$l,l=this.F.Cg.get("hfov");l={Sa:this.F.Cg.get("yaw"),pitch:this.F.Cg.get("pitch",d),bf:this.j.Qf(),Ee:l?this.Pb.iD(l):c,$l:0};this.Pb.lYa(this.F.Dc,l);l.Sa=e(l.Sa,g-180,g+180);var p=.5<Math.abs(c-l.Ee),q=Math.abs(f-l.$l),n=.01<q;p=this.F.Cb()?1:Math.max(p?this.F.E_:1,n?this.F.rya*q:1);return new k(n?
"linear":"cubic_in_out",[new b("yaw",g,l.Sa,void 0),new b("pitch",d,l.pitch,void 0),new b("hfov",c,l.Ee,void 0),new b("stereographicFactor",f,l.$l,void 0)],p)};a.prototype.LGa=function(g){var d=this.F.Bo[g],c=e(this.j.Tc(),-180,180),f=this.j.Oc();this.j.Qf();var l=this.j.Ag(),p=this.j.A.$l,q=d.get("targetStereographicFactor",p),n=d.get("targetHfov");if(n)n=this.Pb.iD(n);else{for(n=!1;g<this.F.Bo.length&&!n;g++)n=void 0!==this.F.Bo[g].get("targetHfov");n?n=l:(n=this.Pb.iD(this.F.Cg.get("hfov",this.Pb.Nua())),
n=l+(n-l)*(p-q))}g=d.get("targetYaw",c);var r=d.get("targetPitch",f);this.j.Qf();switch(d.get("path")){case "left":g=e(g,c-360,c);break;case "right":g=e(g,c,c+360);break;case "longest":g=e(g,-360,360);g=g>=c?e(g,c,c+360):e(g,c-360,c);break;default:g=e(g,c-180,c+180)}return new k(d.get("easing"),[new b("yaw",c,g,d.get("yawSpeed")),new b("pitch",f,r,d.get("pitchSpeed")),new b("hfov",l,n,d.get("hfovSpeed")),new b("stereographicFactor",p,q,d.get("stereographicFactorSpeed"))],d.get("duration"))};return a});
define("fR",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.j.Oc(),d=this.j.Ag(),c=this.j.A.$l,f=this.F.Ff.get("stereographicFactor",0),l=Math.abs(c-f),p=0<f?this.F.Ff.get("pitch",g):g,q=this.F.Ff.get("hfov");q=q?this.Pb.iD(q):d;0==f&&(q=Math.min(d,this.Pb.YZ(this.F.Dc,q)));this.Pb.cQ(!1);
l=this.F.Cb()?1:Math.max(.5<Math.abs(d-q)?this.F.E_:1,.01<l?this.F.rya:1);this.V=new m("cubic_in_out",[new k("hfov",d,q,void 0),new k("pitch",g,p,void 0),new k("stereographicFactor",c,f,void 0)],l)}this.V.zb(b);this.Pb.Ko(this.V.cb("hfov"));this.Pb.TD(this.V.cb("stereographicFactor"));this.Pb.iw(this.j.Tc(),this.V.cb("pitch"));this.V.Re()&&(this.Pb.Ai(this.F.Dc),this.Pb.iw(this.F.Ff.get("yaw"),this.F.Ff.get("pitch",this.j.Oc())),this.Hb=!0)}};return a});
define("ex",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){var m=this.j.tf(this.F.Ug);this.j.remove(m)};return a});define("iR",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){var m=(this.F.ic||this.F.oc).get("model");m.set("objects",m.get("objects").filter(function(k){return k!=this.F.Wv}.bind(this)));this.F.Wv=null};return a});
define("s",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.Pb.Ai(this.F.Dc);this.Pb.iw(this.F.Cg.get("yaw"),this.F.Cg.get("pitch",this.j.Oc()));var m=this.F.Cg.get("hfov");m&&(m=this.Pb.iD(m),this.Pb.Ko(m))};return a});
define("dp",["require","lo","kP","ma"],function(a){var e=a("lo");a("kP");var h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.Pb.Ai(this.F.Dc);if(this.F.VD.get("keepInitialPositionOnTranslation")){var m=this.F.Cg.get("yaw");var k=this.F.Cg.get("pitch")}else k=this.F.oc.get("model").get("camera"),m=k.get("yaw")-this.F.oc.get("yaw"),k=this.F.VD.get("enterPointingToHorizon")?0:k.get("pitch");this.Pb.iw(m,k);if(m=this.F.Cg.get("hfov"))m=this.Pb.iD(m),this.Pb.Ko(m)};
return a});define("pc",["require","lo","kP","ma"],function(a){var e=a("lo");a("kP");var h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.Pb.Ai(this.F.Dc);if(this.F.VD.get("keepInitialPositionOnTranslation")){var m=this.F.Cg.get("yaw");var k=this.F.Cg.get("pitch")}else k=this.F.oc.get("model").get("camera"),m=k.get("yaw")-this.F.oc.get("yaw"),k=k.get("pitch");this.Pb.iw(m,k)};return a});
define("kQ",["require","lo","oH","eN"],function(a){var e=a("lo"),h=a("oH"),m=a("eN");a=e.extend(m,function(k,b,g,d){m.call(this,k,b,g,d);this.da=null;this.Hb=!1});a.prototype.mMa=function(){this.Hb=!0};a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(){if(!this.da&&(this.da=this.F.ic.get("model"),this.F.Nj.get("model")==this.da)){var k=this.da.get("camera");k.set("easing",0);k.set("x",this.F.ic.get("x"));k.set("y",this.F.ic.get("y"));k.set("z",this.F.ic.get("z"));k.set("yaw",this.j.Tc()+
this.F.ic.get("yaw"));k.set("pitch",this.j.Oc());k.set("fov",this.j.Xa()>this.j.xb()?this.j.ZH():this.j.$H());this.da.bind(h.gA,this.mMa,this,!0)}};return a});define("hQ",["require","lo","ma","pe"],function(a){var e=a("lo"),h=a("ma"),m=a("pe");a=e.extend(h,function(k,b,g,d){h.call(this,k,b,g,d)});a.prototype.Vi=function(){this.F.Dc&&(this.F.mode==m.q1||this.F.mode==m.s1?this.F.Dc.set("minFaceSize",1024):this.F.Dc.set("minFaceSize",void 0))};return a});
define("hj",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.Pb.Ai(this.F.Dc);var m=this.F.vea?this.F.Ff.get("stereographicFactor",0):0;this.Pb.TD(m);this.Pb.iw(this.F.Ff.get("yaw"),this.F.Ff.get("pitch",this.j.Oc()));(m=this.F.Ff.get("hfov"))||this.F.Ug||(m=this.Pb.Nua());m&&(m=this.Pb.iD(m),this.Pb.Ko(m),this.Pb.cQ(!this.F.vea))};return a});
define("gl",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.Pb.Ai(this.F.Dc);var m=this.Pb.YZ(this.F.Dc,this.j.Ag());this.Pb.Ko(m);this.Pb.iw(this.j.Tc()+this.F.UI.xva(),this.j.Oc())};a.prototype.AD=function(){return!0};return a});
define("ou",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.j.Ag(),d=this.Pb.YZ(this.F.Dc,g),c=!this.F.Cb()&&.01<Math.abs(g-d)?this.F.E_:1;this.V=new m("cubic_in_out",[new k("hfov",g,d,void 0)],c)}this.V.zb(b);this.Pb.Ko(this.V.cb("hfov"));this.V.Re()&&(this.Pb.cQ(!0),this.Hb=!0)}};
return a});
define("fH",["require","lo","eN","oj","bF"],function(a){var e=a("lo"),h=a("eN"),m=a("oj"),k=a("bF");a=e.extend(h,function(b,g,d,c){h.call(this,b,g,d,c);this.V=null;this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(b){if(!this.Hb){if(!this.V){var g=this.j.Ag(),d=Math.min(this.Pb.YZ(this.F.Dc,g),g),c=!this.F.Cb()&&.01<Math.abs(g-d)?this.F.E_:1;this.V=new m("cubic_in_out",[new k("hfov",g,d,void 0)],c);this.Pb.cQ(!1)}this.V.zb(b);this.Pb.Ko(this.V.cb("hfov"));this.V.Re()&&(this.Pb.Ai(this.F.Dc),
this.Pb.iw(this.j.Tc()+this.F.UI.xva(),this.j.Oc()),this.Hb=!0)}};a.prototype.AD=function(){return!0};return a});define("dP",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){this.F.ic&&this.F.Nj.get("model")==this.F.ic.get("model")&&this.j.yc.EI([this.F.Nj])};return a});
define("mf",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Vi=function(){var m=[this.j.yc];this.F.oc&&m.push(this.F.Nj);this.j.yc.EI(m)};return a});
define("bw",["require","lo","eN","v"],function(a){var e=a("lo"),h=a("eN"),m=a("v");a=e.extend(h,function(k,b,g,d){h.call(this,k,b,g,d);this.A="not initialized";this.Za=0});a.prototype.Rg=function(){return"ended"==this.A};a.prototype.mh=function(k){this.Rg()||("not initialized"==this.A&&this.f6(),"initialized"==this.A&&(this.mq.get("ready")||this.mq.tca())&&this.GN(),"started"==this.A&&this.ea(k),1<=this.Za&&this.uK())};a.prototype.f6=function(){this.ypa=this.F.DAa;this.LJ=.25;this.KEa=.75;this.PNa=
.25;this.wsa=this.ZJa();this.L1=.5*this.ypa;this.LRa=this.ypa-2*this.L1;this.SB=1/(this.L1+this.LRa);this.mR=this.SB/this.L1;this.ov=0;this.mq=this.j.tf(this.F.Dc);this.a$=this.j.tf(this.F.Ug);this.mF=this.F.UI.aVa();this.A="initialized"};a.prototype.ZJa=function(){var k=this.F.UI.get("distance");return k?Math.min(.99,k/this.F.Ug.get("distanceToFloor")):.75};a.prototype.GN=function(){this.j.Oza(!this.F.Cb()&&m.browser()!=m.dm);this.mq.Uh();this.A="started"};a.prototype.ea=function(k){this.mq.get("ready")||
this.Za<this.PNa?this.Za>=1-.5*this.ov*this.ov/this.mR?this.ov=Math.sqrt(2*(1-this.Za)*this.mR):this.ov<this.SB&&(this.ov=Math.min(this.ov+this.mR*k,this.SB)):this.ov=Math.max(this.ov-this.mR*k,0);this.Za=Math.min(Math.max(0,this.Za+this.ov*k),1);this.mq.get("ready")||(this.LJ=Math.max(this.LJ,this.Za));this.sX(this.Za,Math.max(0,Math.min(1,(this.Za-this.LJ)/(this.KEa-this.LJ))))};a.prototype.uK=function(){this.mq.set("alpha",1);this.j.Oza(!1);this.A="ended"};a.prototype.sX=function(k,b){var g=(k-
1)*this.wsa;this.mq.set("translationX",g*this.mF.x);this.mq.set("translationY",g*this.mF.y);this.mq.set("translationZ",g*this.mF.z);this.mq.get("ready");k*=this.wsa;this.a$.set("translationX",k*this.mF.x);this.a$.set("translationY",k*this.mF.y);this.a$.set("translationZ",k*this.mF.z);this.mq.set("alpha",Math.max(.01,Math.min(.99,b)))};a.prototype.AD=function(){return this.Za<this.LJ};return a});
define("fl",["require","nx","fk"],function(a){var e=a("nx"),h=a("fk");return e.define("TargetModel3DCameraMovement",h,function(){h.call(this)})});
define("gC","require lo oH gO fl eN".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("gO"),k=a("fl"),b=a("eN");a=e.extend(b,function(d,c,f,l){b.call(this,d,c,f,l);this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(){var d=this.F.ic.get("model");if(this.F.Nj.get("model")!=d)this.oy();else if(!this.Oa){d=d.get("camera");var c=d.VW;c||(c={x:d.get("initialX",d.get("x")),y:d.get("initialY",d.get("y")),z:d.get("initialZ",d.get("z")),yaw:d.get("initialYaw",d.get("yaw")),pitch:d.get("initialPitch",
d.get("pitch")),fov:d.get("initialFov",d.get("fov")),distance:d.get("initialDistance",d.get("distance"))});d.set("easing",0);d.set("x",this.F.ic.get("x"));d.set("y",this.F.ic.get("y"));d.set("z",this.F.ic.get("z"));d.set("distance",0);d.set("yaw",this.j.Tc()+this.F.ic.get("yaw"));d.set("pitch",this.j.Oc());d.set("fov",this.j.Xa()>this.j.xb()?this.j.ZH():this.j.$H());this.Dd=new k;this.Dd.set("targetX",c.x);this.Dd.set("targetY",c.y);this.Dd.set("targetZ",c.z);this.Dd.set("targetYaw",c.yaw);this.Dd.set("targetPitch",
c.pitch);this.Dd.set("targetFov",c.fov);this.Dd.set("targetDistance",c.distance);this.Dd.set("duration",this.F.zXa);this.Dd.set("easing","quad_in_out");this.Dd.bind(h.gA,this.I7,this,!0);this.Oa=new m;this.Oa.set("movements",[this.Dd]);this.Oa.set("mandatory",!0);this.Oa.set("internal",!0);this.Oa.bind(h.sb,this.oy,this,!0);d.set("sequences",d.get("sequences").concat([this.Oa]));this.Oa.play();this.xN();this.q$=(new THREE.Vector3).set(c.x,c.y,c.z);this.BN=(new THREE.Vector3).set(this.F.ic.get("x"),
this.F.ic.get("y"),this.F.ic.get("z"))}};var g=new THREE.Vector3;a.prototype.I7=function(){var d=this.F.ic.get("model").get("camera");d=g.set(d.get("x"),d.get("y"),d.get("z")).distanceTo(this.BN)/this.BN.distanceTo(this.q$);var c=Math.max(.01,Math.min(.99,(d-0)/.33));this.j.jQ(0<d&&1>d);this.F.Wv.set("position",c)};a.prototype.oy=function(){var d=this.F.ic.get("model").get("camera");d.set("sequences",d.get("sequences").filter(function(c){return c!=this.Oa}.bind(this)));this.Hb=!0;this.cN()};a.prototype.xN=
function(){var d=this.F.ic.get("model");this.TM=d.get("postprocessing");this.UM=d.get("surfaceSelectionEnabled");d.set("postprocessing",!1);d.set("surfaceSelectionEnabled",!1)};a.prototype.cN=function(){var d=this.F.ic.get("model"),c=this.TM,f=this.UM;setTimeout(function(){d.set("postprocessing",c);d.set("surfaceSelectionEnabled",f)},30)};return a});
define("if","require lo oH nx gO fl dN eN".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("nx"),k=a("gO"),b=a("fl"),g=a("dN"),d=a("eN");a=e.extend(d,function(p,q,n,r){d.call(this,p,q,n,r);this.Hb=!1;this.LEa=0;this.MEa=1;this.DM=[];this.EL=[];this.DM.push(this.wra.bind(this))});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(){if(this.F.Nj.get("model")!=this.F.oc.get("model"))this.hoa();else{var p=this.DM;for(this.DM=[];0<p.length;)p.shift()()}};a.prototype.nMa=function(){var p=
this.EL;for(this.EL=[];0<p.length;)p.shift()()};a.prototype.EQa=function(){this.ZPa();this.xN();this.EL.push(this.qKa.bind(this));this.EL.push(this.mta.bind(this))};a.prototype.ZPa=function(){var p=this.F.oc.get("model").get("camera");p.set("easing",0);p.set("x",this.F.ic.get("x"));p.set("y",this.F.ic.get("y"));p.set("z",this.F.ic.get("z"));p.set("distance",0);p.set("yaw",this.j.Tc()+this.F.ic.get("yaw"));p.set("pitch",this.j.Oc());p.set("fov",this.j.Xa()>this.j.xb()?this.j.ZH():this.j.$H());this.Dd=
new b;this.Dd.set("targetX",this.F.oc.get("x"));this.Dd.set("targetY",this.F.oc.get("y"));this.Dd.set("targetZ",this.F.oc.get("z"));if(this.F.VD.get("keepInitialPositionOnTranslation")){var q=this.F.Cg.get("yaw")+this.F.oc.get("yaw"),n=this.F.Cg.get("pitch"),r=this.F.Cg.get("hfov");this.Dd.set("targetYaw",q);void 0!==n&&this.Dd.set("targetPitch",n);void 0!==r&&this.Dd.set("targetFov",r)}this.Dd.set("duration",1500);this.Dd.set("easing","cubic_in_out");this.Dd.bind(h.gA,this.nMa,this,!0);this.Oa=new k;
this.Oa.set("movements",[this.Dd]);this.Oa.set("mandatory",!0);this.Oa.set("internal",!0);this.Oa.bind(h.sb,this.hoa,this,!0);p.set("sequences",p.get("sequences").concat([this.Oa]));this.Oa.play()};a.prototype.wra=function(){if(this.j.tf(this.F.Dc).get("ready")){var p=this.F.ic,q=this.F.oc,n=p.get("model"),r=n.get("objects").find(function(u){return m.Na("ProjectedMaterialModel3DObject",u)}),t=!r;r||(r=new g);this.F.Wv=r;r.set("sourceX",p.get("x"));r.set("sourceY",p.get("y"));r.set("sourceZ",p.get("z"));
r.set("sourceYaw",p.get("yaw"));r.set("targetX",q.get("x"));r.set("targetY",q.get("y"));r.set("targetZ",q.get("z"));r.set("targetYaw",q.get("yaw"));p=this.j.tf(this.F.Ug);q=this.j.tf(this.F.Dc);p.set("alpha",1);q.set("alpha",.01);r.set("sourceFaces",this.j.HO(this.F.$za,r.get("sourceFaces")));p.set("alpha",.01);q.set("alpha",1);r.set("targetFaces",this.j.HO(this.F.nAa,r.get("targetFaces")));p.set("alpha",1);q.set("alpha",.01);r.set("position",0);t&&n.set("objects",n.get("objects").concat([this.F.Wv]));
this.EQa()}else this.DM.push(this.wra.bind(this))};a.prototype.qKa=function(){this.j.tf(this.F.Ug).set("alpha",0);this.rja()};a.prototype.rja=function(){(this.Cpa=void 0===this.Cpa?10:this.Cpa-1)?this.DM.push(this.rja.bind(this)):this.j.jQ(!0)};a.prototype.HHa=function(){this.j.jQ(!1)};var c=new THREE.Vector3,f=new THREE.Vector3,l=new THREE.Vector3;a.prototype.$Ja=function(){var p=this.F.ic;c.set(p.get("x"),p.get("y"),p.get("z"));var q=this.F.oc;f.set(q.get("x"),q.get("y"),q.get("z"));p=p.get("model").get("camera");
l.set(p.get("x"),p.get("y"),p.get("z"));return l.distanceTo(c)/f.distanceTo(c)};a.prototype.mta=function(){var p=this.$Ja();p=Math.max(0,Math.min(1,(p-this.LEa)/this.MEa));this.F.Wv.set("position",p);1>p&&this.EL.push(this.mta.bind(this))};a.prototype.hoa=function(){var p=this.F.ic.get("model").get("camera");p.set("sequences",p.get("sequences").filter(function(q){return q!=this.Oa}.bind(this)));this.HHa();this.cN();this.Hb=!0};a.prototype.xN=function(){var p=this.F.ic.get("model"),q=this.F.Nj;this.TM=
p.get("postprocessing");this.UM=p.get("surfaceSelectionEnabled");this.DNa=q.get("spritesEnabled");p.set("postprocessing",!1);p.set("surfaceSelectionEnabled",!1);q.set("spritesEnabled",!1)};a.prototype.cN=function(){var p=this.F.ic.get("model"),q=this.F.Nj,n=this.TM,r=this.UM,t=this.DNa;setTimeout(function(){p.set("postprocessing",n);p.set("surfaceSelectionEnabled",r);q.set("spritesEnabled",t)},500)};return a});
define("lk","require lo oH gO fl eN kP".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("gO"),k=a("fl"),b=a("eN"),g=a("kP");a=e.extend(b,function(c,f,l,p){b.call(this,c,f,l,p);this.Hb=!1});a.prototype.Rg=function(){return this.Hb};a.prototype.mh=function(){if(!this.Oa){var c=this.F.oc.get("model").get("camera");c.x_a();var f=Math.abs(c.get("pitch")-this.j.Oc()),l=30<f;this.Dd=new k;this.Dd.set("targetX",this.F.oc.get("x"));this.Dd.set("targetY",this.F.oc.get("y"));this.Dd.set("targetZ",this.F.oc.get("z"));
this.Dd.set("targetDistance",0);this.Dd.set("targetFov",this.nKa(this.j.Ag()));this.Dd.set("targetYaw",this.j.Tc()+this.F.oc.get("yaw"));l?this.Dd.set("targetPitch",c.get("pitch")):this.Dd.set("targetPitch",this.j.Oc());this.Dd.set("duration",this.F.TWa);this.Dd.set("easing","cubic_in_out");this.Dd.bind(h.gA,this.I7,this,!0);var p=[this.Dd];l&&(l=new k,l.set("targetPitch",this.j.Oc()),l.set("duration",f/90*1E3),l.set("easing","quad_in_out"),p.push(l));this.Oa=new m;this.Oa.set("movements",p);this.Oa.set("mandatory",
!0);this.Oa.set("internal",!0);this.Oa.bind(h.sb,this.oy,this,!0);c.set("sequences",c.get("sequences").concat([this.Oa]));this.Oa.play();this.xN();this.BN=(new THREE.Vector3).set(c.get("x"),c.get("y"),c.get("z"));this.q$=(new THREE.Vector3).set(this.F.oc.get("x"),this.F.oc.get("y"),this.F.oc.get("z"))}};a.prototype.nKa=function(c){return this.j.Xa()<this.j.xb()?g.Sl(c,this.j.Xa(),this.j.xb()):c};var d=new THREE.Vector3;a.prototype.I7=function(){var c=this.F.oc.get("model").get("camera");c=d.set(c.get("x"),
c.get("y"),c.get("z")).distanceTo(this.BN)/this.BN.distanceTo(this.q$);var f=Math.max(.01,Math.min(.99,(c-.66)/(1-.66)));this.j.jQ(0<c&&1>c);this.F.Wv.set("position",f)};a.prototype.oy=function(){var c=this.F.oc.get("model").get("camera");c.set("sequences",c.get("sequences").filter(function(f){return f!=this.Oa}.bind(this)));this.Hb=!0;this.cN()};a.prototype.xN=function(){var c=this.F.oc.get("model");this.TM=c.get("postprocessing");this.UM=c.get("surfaceSelectionEnabled");c.set("postprocessing",!1);
c.set("surfaceSelectionEnabled",!1)};a.prototype.cN=function(){var c=this.F.oc.get("model"),f=this.TM,l=this.UM;setTimeout(function(){c.set("postprocessing",f);c.set("surfaceSelectionEnabled",l)},30)};return a});define("iS",["require","lo","ma"],function(a){var e=a("lo"),h=a("ma");a=e.extend(h,function(m,k,b,g,d){h.call(this,m,k,b,g);this.iFa=d});a.prototype.Vi=function(){this.iFa.call(this.L)};return a});
define("gf",["require","lo","eN"],function(a){var e=a("lo"),h=a("eN");a=e.extend(h,function(m,k,b,g){h.call(this,m,k,b,g)});a.prototype.Rg=function(){var m=this.j.Jb(),k=m&&m.uH;m=m&&m.WF;return!!k&&!k.get("visible")&&!!m&&!m.get("visible")};return a});
define("N",["require","lo","eN"],function(a){var e=a("lo"),h=a("eN"),m=e.extend(h,function(k,b,g,d){h.call(this,k,b,g,d);this.ev=null});m.prototype.Rg=function(){this.ev||(this.ev=this.F.Dc&&this.j.tf(this.F.Dc));return this.ev&&this.ev.get("ready")};m.prototype.AD=function(){return!0};m.Ufa=e.extend(m,function(k,b,g,d){m.call(this,k,b,g,d)});m.Ufa.prototype.AD=function(){return!1};m.Xfa=e.extend(m,function(k,b,g,d){m.call(this,k,b,g,d)});m.Xfa.prototype.Rg=function(){this.ev||(this.ev=this.F.Dc&&
this.j.tf(this.F.Dc));return this.ev&&(this.ev.get("ready")||this.ev.kda())};return m});
define("nJ",["require","lo","bm","cy","gi"],function(a){var e=a("lo"),h=a("bm"),m=a("cy"),k=a("gi"),b=e.extend(k,function(g){k.call(this);this.j=g;this.W=!1;this.Au=this.Au.bind(this);this.yc=this.j.yc});b.prototype.clear=function(){this.yc=this.j=null};b.prototype.nc=function(g){this.W!=g&&(this.W&&document.removeEventListener("keyup",this.Au),(this.W=g)&&document.addEventListener("keyup",this.Au))};b.prototype.Au=function(g){"translate"==this.yc.get("arrowKeysAction")&&(g.which!=h.Di||g.shiftKey?
g.which!=h.Yj||g.shiftKey||this.trigger(new m(b.s0)):this.trigger(new m(b.r0)))};b.s0="moveForward";b.r0="moveBackward";return b});
define("oQ","require cy gi gL pe lQ cQ lG kK lB nX hG fh lF bJ nD ci fR ex iR s dp pc kQ hQ hj gl ou fH dP mf bw gC if lk iS gf N nJ lo".split(" "),function(a){var e=a("cy"),h=a("gi"),m=a("gL"),k=a("pe"),b=a("lQ"),g=a("cQ"),d=a("lG"),c=a("kK"),f=a("lB"),l=a("nX"),p=a("hG"),q=a("fh"),n=a("lF"),r=a("bJ"),t=a("nD"),u=a("ci"),v=a("fR"),w=a("ex"),x=a("iR"),y=a("s"),A=a("dp"),B=a("pc"),z=a("kQ"),C=a("hQ"),H=a("hj"),D=a("gl"),I=a("ou"),F=a("fH"),N=a("dP"),S=a("mf"),Q=a("bw"),R=a("gC"),W=a("if"),G=a("lk"),
L=a("iS"),U=a("gf"),O=a("N");a("nJ");var V=a("lo").extend(h,function(Y,ca,E){h.call(this);this.M=Y;this.j=ca;this.Gc=E;this.Pb=this.ey=null;this.uja=this.vr=this.HM=this.Vu=void 0;this.F=null;this.Og=[]});V.prototype.Vda=function(Y){this.ey=Y};V.prototype.clear=function(){this.e9(this.vr);this.F&&this.e9(this.F.Dc);this.HM=this.Vu=void 0;this.ga=this.Gc=this.j=this.M=this.F=null};V.prototype.start=function(Y,ca){!this.F&&Y==this.vr||this.F&&Y==this.F.Dc?this.HM=this.Vu=void 0:(this.Vu=Y,this.HM=ca,
0==this.Og.length&&this.QW())};V.prototype.hide=function(){this.Vu=null;!this.F&&this.vr&&this.QW()};V.prototype.WUa=function(){return this.F&&this.F.Dc};V.prototype.QW=function(){this.F=new k(this.j,this.ey,this.vr,this.Vu,this.HM);this.Pb=new m(this.j,this.Gc,this.F);this.HM=this.Vu=void 0;this.ta(C);this.ta(f);switch(this.F.mode){case k.kfa:this.Fb(this.yv);this.ta(r);this.Fb(this.xv);this.ta(w);this.Fb(this.pq);break;case k.jfa:this.ta(S);this.Fb(this.Uy);this.ta(O);this.ta(p);this.ta(H);this.Fb(this.ms);
this.ta(q);this.ta(U);this.ta(u);this.Fb(this.Ty);break;case k.RQ:this.F.Cb()?(this.ta(S),this.Fb(this.Uy),this.Fb(this.yv),this.ta(t),this.Fb(this.xv),this.ta(w),this.Fb(this.pq),this.ta(O),this.ta(y),this.Fb(this.ms),this.Fb(this.Ty),this.ta(n)):(this.ta(S),this.Fb(this.Uy),this.Fb(this.yv),this.ta(r),this.Fb(this.xv),this.ta(w),this.Fb(this.pq),this.ta(O),this.ta(p),this.ta(H),this.Fb(this.ms),this.ta(q),this.ta(U),this.ta(u),this.Fb(this.Ty));break;case k.rga:this.ta(S);this.Fb(this.Uy);this.Fb(this.yv);
this.Fb(this.xv);this.F.Cb()?(this.ta(D),this.Fb(this.ms),this.ta(Q),this.ta(w),this.Fb(this.pq)):(this.ta(F),this.Fb(this.ms),this.ta(Q),this.ta(w),this.Fb(this.pq),this.ta(I),this.ta(p),this.ta(U));this.Fb(this.Ty);break;case k.xn:this.ta(S);this.Fb(this.Uy);this.ta(O);this.F.Cb()?(this.Fb(this.yv),this.Fb(this.xv),this.ta(y),this.Fb(this.ms),this.ta(b),this.ta(w),this.Fb(this.pq)):(this.Fb(this.yv),this.Fb(this.xv),this.ta(v),this.Fb(this.ms),this.ta(b),this.ta(w),this.Fb(this.pq),this.ta(p),this.ta(U),
this.ta(u));this.Fb(this.Ty);break;case k.q1:this.ta(S);this.Fb(this.Uy);this.ta(l);this.ta(O);this.ta(g.zga);this.ta(A);this.ta(G);this.Fb(this.ms);this.ta(q);this.ta(x);this.ta(d);this.ta(p);this.ta(U);this.Fb(this.Ty);break;case k.tga:this.ta(l);this.ta(g.mga);this.ta(c);this.ta(z);this.Fb(this.yv);this.ta(r);this.Fb(this.xv);this.ta(w);this.Fb(this.pq);this.ta(R);this.ta(x);this.ta(N);break;case k.s1:this.Fb(this.Uy);this.ta(l);this.ta(c);this.Fb(this.yv);this.Fb(this.xv);this.ta(O.Xfa);this.ta(W);
this.ta(w);this.Fb(this.pq);this.ta(O.Ufa);this.ta(B);this.Fb(this.ms);this.ta(q);this.ta(x);this.ta(d);this.ta(p);this.ta(U);this.Fb(this.Ty);break;case k.sga:this.Fb(this.Uy),this.ta(l),this.ta(g.mga),this.ta(c),this.ta(z),this.ta(O),this.Fb(this.yv),this.ta(r),this.Fb(this.xv),this.ta(w),this.Fb(this.pq),this.ta(R),this.ta(x),this.ta(g.zga),this.ta(A),this.ta(G),this.Fb(this.ms),this.ta(q),this.ta(x),this.ta(d),this.Fb(this.Ty)}this.Fb(this.FRa);this.Ma()};V.prototype.J$=function(){this.vr=this.F.Dc;
this.uja=this.F.VD;this.F=this.Pb=null;void 0===this.Vu?this.vr?this.pRa(this.vr,this.uja):this.qRa():this.QW()};window.dUa=!0;window.eUa=!0;document.addEventListener("keydown",function(Y){67==Y.which&&(window.dUa=window.eUa=!0)});V.prototype.Yv=function(Y){for(;this.Og.length;){var ca=this.Og[0];if(void 0!==this.Vu&&this.Vu!==this.vr&&ca.AD()){this.e9(this.F.Dc);this.Og=[];this.QW();break}else if(ca.mh(Y),this.Ma(),this.Pb.Yv(Y),ca.Rg())this.Og.shift(),0==this.Og.length&&this.J$();else break}};document.addEventListener("keydown",
function(){(new Date).getTime()});document.addEventListener("keyup",function(){(new Date).getTime()});V.prototype.wd=function(){};V.prototype.ta=function(Y){this.Og.push(new Y(this,this.Pb,this.j,this.F))};V.prototype.Fb=function(Y){this.Og.push(new L(this,this.Pb,this.j,this.F,Y))};V.prototype.e9=function(Y){Y&&(Y=this.j.tf(Y))&&(this.j.remove(Y),this.pq())};V.prototype.Uy=function(){this.trigger(new e(V.C0,{panorama:this.F.Dc}))};V.prototype.pq=function(){this.trigger(new e(V.t0,{panorama:this.F?
this.F.Ug:this.vr,nextPanorama:this.F?this.F.Dc:null}))};V.prototype.yv=function(){this.trigger(new e(V.Zz,{panorama:this.F.Ug}))};V.prototype.xv=function(){this.trigger(new e(V.Yz,{panorama:this.F.Ug,nextPanorama:this.F.Dc}))};V.prototype.Ty=function(){this.trigger(new e(V.$z,{panorama:this.F.Dc,camera:this.F.VD}))};V.prototype.FRa=function(){this.trigger(new e(V.Vo))};V.prototype.ms=function(){this.trigger(new e(V.aA,{panorama:this.F.Dc,camera:this.F.VD}))};V.prototype.pRa=function(Y,ca){this.trigger(new e(V.$_,
{panorama:Y,camera:ca}))};V.prototype.qRa=function(){this.trigger(new e(V.a0))};V.prototype.Ma=function(){this.trigger(new e(V.Db))};V.Db="request frame";V.C0="request load";V.t0="panorama removed";V.$_="all pending panoramas displayed";V.a0="all pending panoramas hidden";V.Yz="panorama end";V.aA="panorama start";V.$z="panorama show";V.Zz="panorama hide";V.Vo="transition end";return V});
define("lf",["require","lo","cy","gi"],function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=e.extend(m,function(b){m.call(this);this.j=b});k.prototype.clear=function(){this.end();this.j=null};k.prototype.oI=function(b){for(var g=this.ZS(b),d=b.DY(),c=0;c<g;c++)this.j.tf(this.c5(b,c)).set("alpha",c==d?1:0)};k.prototype.getTime=function(){return 0};k.prototype.start=function(){};k.prototype.end=function(){};k.prototype.play=function(){};k.prototype.pause=function(){};k.prototype.yI=function(){};k.prototype.FI=
function(){};k.prototype.n_=function(){};k.prototype.stop=function(){};k.prototype.SD=function(){};k.prototype.Az=function(){};k.prototype.Jz=function(){};k.prototype.wd=function(){};k.prototype.Lj=function(){};k.prototype.ZS=function(b){return b.get("frames").length};k.prototype.c5=function(b,g){return b.get("frames")[g]};k.prototype.Ma=function(){this.trigger(new h(k.Db))};k.prototype.qq=function(b,g,d,c,f,l){this.trigger(new h(k.hj,{time:b,duration:g,transitionPosition:d,transitionLength:c,steps:f,
selectedStep:l}))};k.prototype.Dj=function(){this.trigger(new h(k.Ec,{state:this.Lj()}))};k.Db="request frame";k.tBa="frame display";k.uBa="frame hide";k.hj="time change";k.Ec="playback state change";return k});
define("bq","require jquery.mod eg lo oH hT cy lf fc fm mj bv ku".split(" "),function(a){a("jquery.mod");var e=a("eg"),h=a("lo"),m=a("oH"),k=a("hT");a("cy");var b=a("lf"),g=a("fc"),d=a("fm");a("mj");var c=a("bv"),f=a("ku"),l=h.extend(b,function(p){b.call(this,p);this.QS=null;this.M4=this.pB=0;this.la=this.RB=null;this.DK=void 0;this.y8=!1;this.La=360;this.Hta=180;this.gb=.5;this.Vn=.2;this.Eu=.45;this.oma=5E3;this.sma=1;this.eU=[[.5,.25],[.5,.375],[.25,.5],[.375,.5],[.5,.5],[.625,.5],[.75,.5],[.5,
.625],[.5,.75]];this.CLa=[.05,.1,.05,.1,.4,.1,.05,.1,.05]});l.prototype.oI=function(p){b.prototype.oI.call(this,p);this.qN(p)};l.prototype.start=function(p){this.qN(p);this.Ma()};l.prototype.end=function(){this.qN(null)};l.prototype.qN=function(p){this.la!=p&&(this.la&&(this.IRa(),this.la=null,this.NRa()),this.la=p)&&(this.HEa(),this.La=p.get("hfov",360),this.Hta=p.get("vfov",180),this.gb=p.get("pitch",0),this.F8=this.qC=void 0,this.vLa(p),this.Za=.5)};l.prototype.Jz=function(){this.y8=!1};l.prototype.SD=
function(p){this.Za=p/l.zJ;this.Ma();this.y8=!0};l.prototype.Az=function(p){this.SD(p)};l.prototype.qq=function(){var p=this.ZS(this.la),q=this.Za*(p-1),n=Math.max(0,Math.min(p-2,Math.floor(q))),r=void 0;.01>q-n?r=n:.99<q-n&&(r=n+1);b.prototype.qq.call(this,this.Za*l.zJ,l.zJ,this.Za*l.zJ,l.zJ,p,r)};l.prototype.wd=function(p){if(this.la){var q=this.j.Tc(),n=this.j.Oc(),r=this.j.Qf(),t=0;if(void 0!==this.qC&&void 0!==this.F8&&void 0!==this.Lpa){var u=q-this.qC,v=n-this.F8,w=r-this.Lpa;t=1E3*Math.sqrt(u*
u+v*v+w*w)/p}this.qC=q;this.F8=n;this.Lpa=r;u=this.ZS(this.la);var x=this.Za*(u-1);v=Math.max(0,Math.min(u-2,Math.floor(x)));w=v+1;x=1-(x-v);for(var y=1-x,A=[],B=0;B<u;B++)A.push(0);A[w]=y;A[v]=1>y?1:0;for(B=0;B<u;B++)this.j.tf(this.c5(this.la,B)).set("alpha",A[B]);this.qq();if(this.QS&&(t<=this.sma||c.isPresenting())&&!this.y8){B=Math.PI/180;t=180/Math.PI;A=this.j.Xa();var z=this.j.xb(),C=new d;C.rotateZ(-r*B);C.rotateX(-n*B);C.rotateY(-q*B);q=[];for(B=0;B<this.eU.length;B++)n=new g(this.eU[B][0]*
A,this.eU[B][1]*z,0),r=this.j.unproject(n).Zva(),r.apply(C),n=r.Tc()*t,r=r.Oc()*t,q.push(Math.round((90-r)*this.M4/180)*this.pB+Math.round((n+180)*this.pB/360));n=[];for(B=0;B<u;B++){r=this.QS[B];for(A=t=0;A<this.eU.length;A++)t+=this.CLa[A]*r[q[A]];n.push(t)}B=n[v];q=n[w];v=x*n[v]+y*n[w];p=Math.min(1/u,p/this.oma);u=this.Za;w=Math.max.apply(Math,n);x=Math.min.apply(Math,n);v<this.Vn&&v<w?u=q>v?u+p:u-p:v>this.Eu&&v>x&&(u=B<v?u-p:u+p);u=Math.min(1,Math.max(0,u));this.Za!=u&&(this.Za=u,this.Ma())}}};
l.prototype.vLa=function(p){var q=e(p.get("frames",[])).map(function(n){return n.get("thumbnailUrl")});this.RB=e(q).map(function(n){var r=null;n&&(r=new f(k.Xk),r.bind(m.Z,this.Yna,this),r.bind(m.tc,this.Zna,this));return r},this);e(this.RB).each(function(n,r){n&&n.load(q[r])})};l.prototype.NRa=function(){this.pja();this.QS=null};l.prototype.jMa=function(){this.pB=150;this.RB.map(function(p){p&&(this.pB=Math.min(360*p.rd()/this.La,this.pB))},this);this.M4=Math.round(this.pB/2);this.QS=this.RB.map(function(p){return this.HGa(p,
this.pB,this.M4,this.La,this.Hta,this.gb)},this);this.pja()};l.prototype.HGa=function(p,q,n,r,t,u){var v=document.createElement("canvas");v.width=q;v.height=n;var w=v.getContext("2d");w.fillStyle="#000000";w.fillRect(0,0,q,n);p&&(p=p.sf(),r=Math.round(q*r/360),w.drawImage(p,.5*(q-r),Math.round(n*(90-(u+.5*t))/180),r,Math.round(n*t/180)));q=[];v=w.getImageData(0,0,v.width,v.height);for(n=w=0;w<v.height;w++)for(t=0;t<v.width;t++,n+=4)q.push((.299*v.data[n]+.587*v.data[n+1]+.114*v.data[n+2])/255);return q};
l.prototype.pja=function(){e(this.RB).each(function(p){p&&(p.unbind(m.Z,this.Yna,this),p.unbind(m.tc,this.Zna,this),p.cancel())},this);this.RB=null};l.prototype.Yna=function(){0==e(this.RB).filter(function(p){return p&&!p.dj()}).length&&this.jMa()};l.prototype.Zna=function(){};l.prototype.HEa=function(){this.la.bind(m.G("minimumLuminance"),this.Ou,this);this.la.bind(m.G("maximumLuminance"),this.Ou,this);this.la.bind(m.G("luminanceChangeTime"),this.Ou,this);this.la.bind(m.G("maxLuminanceChangeSpeed"),
this.Ou,this);this.Ou()};l.prototype.IRa=function(){this.la.unbind(m.G("minimumLuminance"),this.Ou,this);this.la.unbind(m.G("maximumLuminance"),this.Ou,this);this.la.unbind(m.G("luminanceChangeTime"),this.Ou,this);this.la.unbind(m.G("maxLuminanceChangeSpeed"),this.Ou,this)};l.prototype.Ou=function(){this.Vn=this.la.get("minimumLuminance");this.Eu=this.la.get("maximumLuminance");void 0==this.Vn&&void 0==this.Eu?(this.Vn=.2,this.Eu=.45):void 0==this.Vn?this.Vn=Math.min(.2,this.Eu):void 0==this.Vn?this.Eu=
Math.max(.45,this.Vn):this.Vn=Math.min(this.Vn,this.Eu);this.Eu=Math.min(1,Math.max(0,this.Eu));this.Vn=Math.min(1,Math.max(0,this.Vn));this.oma=Math.max(100,this.la.get("luminanceChangeTime",5E3));this.sma=this.la.get("maxLuminanceChangeSpeed",1);this.Ma()};l.zJ=1E3;return l});
define("eo",["require","lo","y","kO","lf"],function(a){var e=a("lo"),h=a("y"),m=a("kO"),k=a("lf");a=e.extend(k,function(b){k.call(this,b);this.OS=this.PS=null;this.pj=this.Dh=5E3;this.Ed=void 0;this.qb=this.Dh;this.Am=1;this.la=null;this.IB=!1});a.prototype.start=function(b){this.la=b;this.IB=!1;this.DT=!0;this.PS=h.Ws(this.la,"frameDisplayTime",this.caa,this);this.OS=h.Ws(this.la,"frameTransitionTime",this.caa,this);this.Am=this.ZS(this.la);this.Ed=this.la.DY()*(this.Dh+this.pj);this.caa(!0);this.qq();
this.Ma();this.Dj()};a.prototype.caa=function(b){var g=Math.max(100,this.la.get("frameDisplayTime",5E3)),d=Math.max(100,this.la.get("frameTransitionTime",5E3));if(this.Dh!=g||this.pj!=d||b){b=this.wF();var c=this.QIa();this.Dh=g;this.pj=d;1<this.Am?(this.Ed=b*(this.Dh+this.pj)+c*this.Dh+c*this.pj,this.qb=this.Am*(this.Dh+this.pj)):(this.Ed=c*this.Dh,this.qb=this.Dh)}};a.prototype.wF=function(){return 1<this.Am?Math.floor(this.Ed/(this.Dh+this.pj)):0};a.prototype.RIa=function(){return 1<this.Am?(this.wF()+
1)%this.Am:0};a.prototype.QIa=function(){return 1<this.Am?Math.max(0,Math.min(1,this.Ed-this.wF()*(this.Dh+this.pj))):this.Ed/this.Dh};a.prototype.Gka=function(){return 1<this.Am?Math.max(0,Math.min(1,(this.Ed-(this.wF()*(this.Dh+this.pj)+this.Dh))/this.pj)):0};a.prototype.GQa=function(b){var g=Math.floor(b/this.pj);return g*(this.Dh+this.pj)+this.Dh+(b-g*this.pj)};a.prototype.nsa=function(b){var g=Math.floor(b/(this.Dh+this.pj));return g*this.pj+Math.max(0,b-g*(this.Dh+this.pj)-this.Dh)};a.prototype.play=
function(){this.IB&&(this.IB=!1,this.DT&&this.Ma(),this.Dj())};a.prototype.pause=function(){this.IB=!0;this.Dj()};a.prototype.yI=function(){this.pause()};a.prototype.FI=function(){this.play()};a.prototype.end=function(){this.DT=!1;this.la=null;this.PS&&(this.PS.Iz(),this.PS=null);this.OS&&(this.OS.Iz(),this.OS=null);this.Dj()};a.prototype.SD=function(b){this.Ed=b;this.Ma()};a.prototype.Az=function(b){this.Ed=this.GQa(b);this.Ma();this.pause()};a.prototype.wd=function(b){if(this.DT){this.IB||(this.Ed+=
b);this.Ed%=this.qb;b=this.wF();var g=this.RIa(),d=this.Gka(),c=g>b?d:1;d=g>b?1:1-d;for(var f=0;f<this.Am;f++){var l=f==b?d:f==g?c:0;var p=this.j.tf(this.c5(this.la,f));p.get("alpha")!=l&&(0<l&&1>l&&p.Uh(),p.set("alpha",l))}this.qq();this.IB||this.Ma()}};a.prototype.Lj=function(){return this.DT?this.IB?m.Eb:m.X:m.T};a.prototype.Dj=function(){k.prototype.Dj.call(this,this.Lj())};a.prototype.qq=function(){k.prototype.qq.call(this,this.Ed,this.qb,this.nsa(this.Ed),this.nsa(this.qb),this.Am+1,0===this.Gka()?
this.wF():void 0)};return a});define("bM",["require","lo","lf"],function(a){var e=a("lo"),h=a("lf");return e.extend(h,function(m){h.call(this,m)})});
define("mq",["require","lo","oH","kO","lf"],function(a){var e=a("lo"),h=a("oH"),m=a("kO"),k=a("lf");a=e.extend(k,function(b){k.call(this,b);this.jf=!1});a.prototype.oI=function(){};a.prototype.start=function(b){this.end();this.la=b;this.la.set("mute",this.jf);this.la.get("autoplay")&&this.la.set("state",m.X);this.Ft()};a.prototype.getTime=function(){return this.la?this.la.get("currentTime"):0};a.prototype.Lj=function(){return this.la?this.la.get("state"):m.T};a.prototype.play=function(){this.la&&
this.la.set("state",m.X)};a.prototype.pause=function(){this.la&&this.la.set("state",m.Eb)};a.prototype.n_=function(){this.la&&this.la.set("state",m.Eb)};a.prototype.stop=function(){this.la&&this.la.set("state",m.T)};a.prototype.end=function(){this.la&&(this.dv(),this.la=null)};a.prototype.SD=function(b){this.la&&this.la.set("state",m.X);this.la&&this.la.set("currentTime",b)};a.prototype.Hf=function(b){this.jf=b;this.la&&this.la.set("mute",this.jf)};a.prototype.Ft=function(){this.la.bind(h.G("currentTime"),
this.Ye,this,!0);this.la.bind(h.G("duration"),this.Lm,this,!0);this.la.bind(h.G("state"),this.Bf,this,!0);this.la.get("state")!=m.T&&this.Dj()};a.prototype.dv=function(){this.la.unbind(h.G("currentTime"),this.Ye,this,!0);this.la.unbind(h.G("duration"),this.Lm,this,!0);this.la.unbind(h.G("state"),this.Bf,this,!0)};a.prototype.Bf=function(){this.Dj()};a.prototype.Ye=function(){this.qq()};a.prototype.Lm=function(){this.qq()};a.prototype.qq=function(){this.la&&k.prototype.qq.call(this,this.la.get("currentTime"),
this.la.get("duration"))};return a});
define("x","require lo kO cy gi nx lf bq eo bM mq".split(" "),function(a){var e=a("lo");a("kO");var h=a("cy"),m=a("gi"),k=a("nx"),b=a("lf"),g=a("bq"),d=a("eo"),c=a("bM"),f=a("mq"),l=e.extend(m,function(p){m.call(this);this.j=p;this.N6=this.jS(d);this.G5=this.jS(g);this.FX=this.jS(f);this.e$=this.jS(c);this.Md=null});l.prototype.clear=function(){this.YR(this.N6);this.N6=null;this.YR(this.G5);this.G5=null;this.YR(this.FX);this.FX=null;this.YR(this.e$);this.j=this.Md=this.e$=null};l.prototype.jS=function(p){p=
new p(this.j);p.bind(b.Db,this.Me,this,!0);p.bind(b.hj,this.Qp,this,!0);p.bind(b.Ec,this.We,this,!0);return p};l.prototype.YR=function(p){p.unbind(b.Db,this.Me,this);p.unbind(b.hj,this.Qp,this);p.unbind(b.Ec,this.We,this);p.clear()};l.prototype.s6=function(p,q){return k.Na(q,p)};l.prototype.Bka=function(p){return this.s6(p,"HDRPanorama")?this.G5:this.s6(p,"LivePanorama")?this.N6:this.s6(p,"VideoPanorama")?this.FX:this.e$};l.prototype.oI=function(p){(this.Md=this.Bka(p))&&this.Md.oI(p)};l.prototype.start=
function(p){this.Me();(this.Md=this.Bka(p))&&this.Md.start(p)};l.prototype.Lj=function(){if(this.Md)return this.Md.Lj()};l.prototype.getTime=function(){return this.Md?this.Md.getTime():0};l.prototype.play=function(){this.Md&&this.Md.play()};l.prototype.pause=function(){this.Md&&this.Md.pause()};l.prototype.yI=function(){this.Md&&this.Md.yI()};l.prototype.FI=function(){this.Md&&this.Md.FI()};l.prototype.n_=function(){this.Md&&this.Md.n_()};l.prototype.stop=function(){this.Md&&this.Md.stop();this.trigger(new h(l.hj,
{duration:0,time:0,steps:void 0,selectedStep:void 0}))};l.prototype.end=function(){this.Md&&(this.Md.end(),this.Md=null)};l.prototype.SD=function(p){this.Md&&this.Md.SD(p)};l.prototype.Az=function(p){this.Md&&this.Md.Az(p)};l.prototype.Jz=function(){this.Md&&this.Md.Jz()};l.prototype.wd=function(p){this.Md&&this.Md.wd(p)};l.prototype.Hf=function(p){this.FX.Hf(p)};l.prototype.Me=function(){this.trigger(new h(l.Db))};l.prototype.Qp=function(p){this.trigger(new h(l.hj,p.data))};l.prototype.We=function(p){this.trigger(new h(l.Ec,
p.data))};l.Db="request frame";l.tBa="frame display";l.uBa="frame hide";l.hj="time change";l.Ec="playback state change";return l});
define("ms",["require","lo","oH","gi","lp"],function(a){var e=a("lo"),h=a("oH"),m=a("gi"),k=a("lp");a=e.extend(m,function(b){m.call(this);this.j=b;this.ih=this.la=null});a.prototype.start=function(b){this.la=b;this.ih=this.j.tf(this.la);this.ih.bind(h.Z,this.nd,this,!0);this.ih.bind(h.ec,this.Su,this,!0);this.ih.get("ready")?this.trigger(h.Vc,{panorama:this.la}):this.ih.bind(h.Vc,this.nG,this,!0);this.ih.set("loadingActive",!0)};a.prototype.stop=function(){this.la=null;this.ih&&(this.ih.unbind(h.Vc,
this.nG,this),this.ih.unbind(h.Z,this.nd,this),this.ih.unbind(h.ec,this.Su,this),this.ih.set("loadingActive",!1),this.ih=null,this.trigger(h.Kf))};a.prototype.clear=function(){this.stop()};a.prototype.nG=function(){this.ih.unbind(h.Vc,this.nG,this);this.trigger(h.Vc,{panorama:this.la})};a.prototype.nd=function(){this.ih.unbind(h.Vc,this.nG,this);this.ih.unbind(h.Z,this.nd,this);this.ih.unbind(h.ec,this.Su,this);this.ih=null;this.trigger(h.Z,{panorama:this.la});this.la=null;this.trigger(h.Kf)};a.prototype.Su=
function(b){this.trigger(new k(h.ec,b.Sg))};return a});
define("jQ","require lo oH cy gi R".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("R"),g=e.extend(k,function(d){k.call(this);this.j=d;this.Fp=this.la=this.hi=null;this.gb=this.Da=0;this.La=.5*Math.PI});g.prototype.clear=function(){this.stop();this.gqa();this.hi=this.j=null};g.prototype.Tda=function(d){this.hi!=d&&(this.gqa(),this.aS(),this.hi=d,this.vha(),this.GDa())};g.prototype.GDa=function(){this.hi&&this.hi.bind(h.G("map"),this.$na,this,!1)};g.prototype.gqa=function(){this.hi&&
this.hi.unbind(h.G("map"),this.$na,this,!1)};g.prototype.stop=function(){this.aS();this.la=null};g.prototype.wd=function(){this.Da=this.j.Tc();this.gb=this.j.Oc();this.La=this.j.Ag();this.hi&&this.Fp&&this.hi.rn(this.Fp,this.Da,this.gb,this.La)};g.prototype.$na=function(){this.la&&(this.aS(),(this.Fp=this.Lqa(this.la,this.hi.get("map",null),!1))&&this.Gra())};g.prototype.display=function(d){this.la!=d&&(this.aS(),this.la=d,this.vha())};g.prototype.hide=function(d){this.la==d&&this.stop()};g.prototype.aS=
function(){this.Fp&&(this.oKa(),this.Fp=null)};g.prototype.vha=function(){this.hi&&this.la&&(this.Fp=this.Lqa(this.la,this.hi.get("map",null),!0))&&this.Gra()};g.prototype.Lqa=function(d,c,f){d=d.get("mapLocations",[]);for(var l=0;l<d.length;l++){var p=d[l];if(p.get("map")==c)return p}return f&&0<d.length?d[0]:null};g.prototype.Gra=function(){this.hi.CTa(this.Fp);this.hi.bind(b.Sj,this.nqa,this,!0);this.hi.rn(this.Fp,this.Da,this.gb,this.La)};g.prototype.oKa=function(){this.hi&&(this.hi.$Xa(this.Fp),
this.hi.unbind(b.Sj,this.nqa,this))};g.prototype.nqa=function(d){this.trigger(new m(g.Sj,{yawDelta:d.data.yawDelta}))};g.Sj="request yaw change";return g});
define("hh","require oH lr gi bg mj bv".split(" "),function(a){function e(B){this.dS=B;this.dk=null;this.G2={};for(B=0;B<this.dS.buttons.length;B++)this.G2[this.dS.buttons[B]]=!1;this.E2=0;this.Ay=null;this.tC=[new THREE.Quaternion,new THREE.Quaternion];this.zk=this.tC[0];this.Lh=[new THREE.Vector3,new THREE.Vector3];this.Za=this.Lh[0];this.EG=new THREE.Vector3;this.pC=new THREE.Quaternion;this.yia=0}function h(B,z,C){this.hWa=B;this.buttons=z;this.LXa=C}function m(){if(!A&&x!=l.De){x=l.De;var B,
z=q.isPresenting()&&q.Hs();if(B=z&&z.wY&&z.wY.length?z.wY:navigator.getGamepads&&navigator.getGamepads()){for(z=0;z<u.length;z++)u[z].Eza(null);for(z=0;z<B.length;z++){var C=B[z];if(C&&(C.pose||C.vca)){var H=C.id||C.pWa,D=H+(C.PY?"-"+C.PY:""),I=w[D];if(!I){a:{for(var F=0;F<n.length;F++){var N=n[F];if(0==H.indexOf(r[N].hWa)){H=N;break a}}H=void 0}H&&u.push(I=w[D]=new e(r[H]))}I&&w[D].Eza(C)}}(B=v)&&!v.Cca()&&(v=null);for(z=0;z<u.length;z++)if(I=u[z],I.Cca()&&I.pressed()){v=I;break}if(!v)for(z=0;z<
u.length;z++)if(I=u[z],I.Cca()){if("right"==I.x5){v=I;break}v||(v=I)}B!=v&&c.zz(k)}}}function k(){t.trigger(d.pa)}function b(){m()}function g(){q.isPresenting()?(y&&(clearInterval(y),y=null),m(),y=setInterval(b,500)):y&&(clearInterval(y),y=null)}var d=a("oH"),c=a("lr"),f=a("gi"),l=a("bg"),p=a("mj"),q=a("bv"),n="oculus go;oculus touch;xr-standard;gear vr;daydream;vive;vive focus;microsoft;unknown".split(";"),r={};r["oculus go"]=new h("Oculus Go",["trackpad","trigger"],"trigger");r["oculus touch"]=
new h("Oculus Touch","thumbstick trigger grip abutton bbutton surface".split(" "),"trigger");r["xr-standard"]=new h("xr-standard","trigger grip unknow_button_0 thumbstick abutton bbutton unknow_button".split(" "),"trigger");r["gear vr"]=new h("Gear VR",["trackpad","trigger"],"trigger");r.daydream=new h("Daydream Controller",["trackpad","menu","system"],"trackpad");r.vive=new h("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");r["vive focus"]=new h("HTC Vive Focus",["trackpad","trigger",
"grip"],"trigger");r.microsoft=new h("Spatial Controller (Spatial Interaction Source)",["thumbstick","trigger","grip","menu","thumbpad"],"trigger");r.unknown=new h("",[],void 0);e.prototype.Eza=function(B){if(this.dk=B){this.x5=this.dk.PY||this.dk.oWa;this.dk.pose&&this.dk.pose.orientation?(this.Ay=this.dk.pose,this.Ay.orientation&&(this.zk=this.tC[0]==this.zk?this.tC[1]:this.tC[0],this.zk.fromArray(this.Ay.orientation)),this.Ay.position?(this.Za=this.Lh[0]==this.Za?this.Lh[1]:this.Lh[0],this.Za.fromArray(this.Ay.position)):
this.Za=null):this.dk.vca&&(this.Ay=this.dk.vca.transform,this.zk=this.tC[0]==this.zk?this.tC[1]:this.tC[0],this.zk.copy(this.Ay.orientation),this.Za=this.Lh[0]==this.Za?this.Lh[1]:this.Lh[0],this.Za.copy(this.Ay.position));B=0;for(var z=Math.min(this.dk.buttons.length,this.dk.buttons.length);B<z;B++)this.G2[this.dS.buttons[B]]=this.dk.buttons[B].pressed;for(B=this.E2=0;B<this.dk.buttons.length;B++)this.dk.buttons[B].pressed&&this.E2++;(B=!!this.EG!=!!this.Za||this.Za&&this.EG.x!=this.Za.x&&this.EG.y!=
this.Za.y&&this.EG.z!=this.Za.z)&&(this.Za?this.EG.copy(this.Za):this.EG.set(0,0,0,0));(z=!!this.pC!=!!this.zk||this.zk&&(this.pC.x!=this.zk.x||this.pC.y!=this.zk.y||this.pC.z!=this.zk.z||this.pC.w!=this.zk.w))&&(this.zk?this.pC.copy(this.zk):this.pC.set(0,0,0));if(B||z)this.yia=l.De}};e.prototype.Cca=function(){return!!this.dk};e.prototype.xWa=function(){return 500<l.De-this.yia};e.prototype.PY=function(){return this.x5};e.prototype.quaternion=function(){return this.zk};e.prototype.position=function(){return this.Za};
e.prototype.pressed=function(B){B||(B=this.dS.LXa);return B?this.G2[B]:0<this.E2};var t=new f;t.all=function(){m();return u};t.mZ=function(){m();return v};t.Pa="left";t.hb="right";var u=[],v=null,w={},x=void 0,y=null,A=p.Wh("disable-controller",!1);q.bind(d.pa,g);g();return t});
define("di",["require","fc","a"],function(a){function e(k,b){this.Sf=k||new h(0,0,0);this.ej=b||new h(1,0,0)}var h=a("fc"),m=a("a");e.prototype.clone=function(){return new e(this.Sf.clone(),this.ej.clone())};e.prototype.apply=function(k){k.JH(this.Sf);k.JH(this.ej)};e.prototype.Zva=function(){return m.jz(this.Sf,this.ej)};return e});
define("ib",["require","di","fc"],function(a){function e(k,b,g){this.ia=k||100;this.ua=b||100;this.La=g||Math.PI;this.J8=void 0;this.ur=!0}var h=a("di"),m=a("fc");e.prototype.PD=function(k){this.La!=k&&(this.La=k,this.ur=!0)};e.prototype.Nv=function(){return this.La};e.prototype.mQ=function(k){this.ia!=k&&(this.ia=k,this.ur=!0)};e.prototype.rd=function(){return this.ia};e.prototype.Gza=function(k){this.ua!=k&&(this.ua=k,this.ur=!0)};e.prototype.ee=function(){return this.ua};e.prototype.project=function(k){if(0!=
k.z){this.nta();var b=1/k.z,g=this.J8*b;k.x=.5*this.ia-k.x*g;k.y=.5*this.ua-k.y*g;k.z=b}};e.prototype.unproject=function(k){this.nta();return new h(new m(0,0,0),new m(.5*this.ia-k.x,.5*this.ua-k.y,this.J8))};e.prototype.nta=function(){this.ur&&(this.J8=.5*this.ia/Math.tan(.5*this.La),this.ur=!1)};return e});
define("oN",["require"],function(){function a(){this.bf=this.pitch=this.Sa=0;this.Vh=this.Ee=90;this.GO=this.bY=this.height=this.width=100;this.Oj=1;this.zD=this.Cb=!1;this.$l=0;this.vY=this.PX=this.uZ=!1;this.xD=this.PP=!0;this.camera=this.PO=this.OO=this.qg=null;this.enabled=!1;this.De=0;this.tQ=void 0}a.prototype.clone=function(){var e=new a;e.Sa=this.Sa;e.pitch=this.pitch;e.bf=this.bf;e.Ee=this.Ee;e.Vh=this.Vh;e.width=this.width;e.height=this.height;e.bY=this.bY;e.GO=this.GO;e.Oj=this.Oj;e.Cb=
this.Cb;e.zD=this.zD;e.$l=this.$l;e.uZ=this.uZ;e.vY=this.vY;e.PX=this.PX;e.PP=this.PP;e.xD=this.xD;e.qg=this.qg;e.OO=this.OO;e.PO=this.PO;e.camera=this.camera;e.enabled=this.enabled;e.De=this.De;e.tQ=this.tQ;return e};return a});
define("dA","require jquery.mod eg oH mQ bg hs".split(" "),function(a){function e(p){this.tea=p;this.element=document.createElement("div");this.Aea=document.createElement("span");this.element.appendChild(this.Aea);this.Aea.innerHTML=p.text.split("<br>").join("\n").split("\n").map(m).join("<br>");this.cY=!1}function h(p){this.M=p;this.hO=b.throttle(this.hO.bind(this),100);this.iO=b.throttle(this.iO.bind(this),100);this.na=document.createElement("div");this.na.style.position="absolute";this.na.style.left=
0;this.na.style.top=0;this.na.style.right=0;this.na.style.bottom=0;this.na.style.zIndex=1;this.na.style.cursor="inherit";this.na.style.display="none";this.v1=k(this.na);this.zl=document.createElement("div");this.zl.style.position="absolute";this.zl.style.left=0;this.zl.style.right=0;this.zl.style.zIndex=1;this.zl.style.cursor="inherit";this.na.appendChild(this.zl);this.Oy=null;this.hH=[];this.Jh=[];this.e8={};this.wH=d.pc;this.M.bind(g.G("subtitlesEnabled"),this.oH,this);h.Zfa.forEach(function(q){this.M.bind(g.G(q),
this.hO,this)}.bind(this));h.$fa.forEach(function(q){this.M.bind(g.G(q),this.iO,this)}.bind(this));this.oH();this.hO();this.iO()}function m(p){l.innerHTML=p;return l.innerText}var k=a("jquery.mod"),b=a("eg"),g=a("oH"),d=a("mQ"),c=a("bg"),f=a("hs");h.prototype.clear=function(){this.hea(null);this.M&&(this.M.unbind(g.G("subtitlesEnabled"),this.oH,this),h.Zfa.forEach(function(p){this.M.unbind(g.G(p),this.hO,this)}.bind(this)),h.$fa.forEach(function(p){this.M.unbind(g.G(p),this.iO,this)}.bind(this)),
this.M=null)};h.prototype.Ac=function(){return this.v1};h.prototype.hea=function(p){this.Oy!=p&&(this.Oy&&this.Oy.unbind(g.G("activeSubtitles"),this.p7,this,!0),(this.Oy=p)&&this.Oy.bind(g.G("activeSubtitles"),this.p7,this,!0),this.p7())};h.prototype.p7=function(){this.UPa(this.Oy&&this.Oy.get("activeSubtitles")||[])};h.prototype.oH=function(){this.W=this.M.get("subtitlesEnabled");this.xaa()};h.prototype.hO=function(){this.wH=this.GK("subtitlesVerticalAlign",[d.uc,d.he,d.pc],d.pc);this.zl.style["text-align"]=
this.GK("subtitlesHorizontalAlign",[d.Pa,d.hb,d.Ge],d.Ge);this.zl.style.bottom=this.wH==d.pc?this.fk("subtitlesBottom",0):"";this.zl.style.top=this.wH==d.uc?this.fk("subtitlesTop",0):this.wH==d.he?"50%":"";this.zl.style.transform=this.wH==d.he?"translate(0, -50%)":"";this.xaa()};h.prototype.iO=function(){var p={};p["background-color"]=this.t5("subtitlesBackgroundColor","subtitlesBackgroundOpacity");p.border=[this.fk("subtitlesBorderSize"),"solid",this.di("subtitlesBorderColor")].join(" ");p["box-shadow"]=
this.di("subtitlesShadow",!1)?[this.fk("subtitlesShadowHorizontalLength"),this.fk("subtitlesShadowVerticalLength"),this.fk("subtitlesShadowBlurRadius"),this.t5("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";p.display="inline-block";p["font-family"]=f.Jv(this.di("subtitlesFontFamily"));p["font-size"]=this.fk("subtitlesFontSize");p.color=this.di("subtitlesFontColor");p["font-weight"]=this.GK("subtitlesFontWeight","bold bolder lighter 100 200 300 400 500 600 700 800 900 normal".split(" "),
"normal");p["font-style"]=this.GK("subtitlesFontStyle",["italic","normal"],"normal");p["margin-bottom"]=this.fk("subtitlesGap");p.opacity=this.di("subtitlesOpacity");p["padding-top"]=this.fk("subtitlesPaddingTop");p["padding-bottom"]=this.fk("subtitlesPaddingBottom");p["padding-left"]=this.fk("subtitlesPaddingLeft");p["padding-right"]=this.fk("subtitlesPaddingRight");p.position="relative";p["text-align"]=this.GK("subtitlesHorizontalAlign",["left","right","center"],"center");p["text-decoration"]=this.di("subtitlesTextDecoration",
["underline","overline","line-through","none"],"none");p["text-shadow"]=[this.fk("subtitlesTextShadowHorizontalLength"),this.fk("subtitlesTextShadowVerticalLength"),this.fk("subtitlesTextShadowBlurRadius"),this.t5("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.e8=p;this.qEa()};h.prototype.UPa=function(p){this.hH=p;this.xaa()};h.prototype.xaa=function(){for(var p=this.W?this.hH:[],q=this.Jh.length-1;0<=q;q--){var n=this.Jh[q];if(0<=p.indexOf(n.tea))break;this.zl.removeChild(n.element)}for(var r=
[],t=!1;0<=q;q--)n=this.Jh[q],!n.cY&&0>p.indexOf(n.tea)&&(n.cY=!0,n.element.style.visibility="hidden",t=!0),r.splice(0,0,n);t&&c.requestFrame(this.Mia,this);this.Jh=r;var u=this.Jh.filter(function(v){return!v.cY}).map(function(v){return v.tea});p.filter(function(v){return 0>u.indexOf(v)}).forEach(function(v){v=new e(v);this.Nha(v);this.wH==d.pc&&0<this.Jh.length?this.zl.insertBefore(v.element,this.Jh[this.Jh.length-1].element):this.zl.appendChild(v.element);this.Jh.push(v)}.bind(this));this.na.style.display=
0<this.Jh.length?"block":"none"};h.prototype.Mia=function(p){var q=!1;p=Math.round(200*p/1E3);for(var n=0;n<this.Jh.length;n++){var r=this.Jh[n];if(r.cY)if(q=!0,p>=r.element.clientHeight)p-=r.element.clientHeight,this.zl.removeChild(r.element),this.Jh.splice(n,1),n--;else{r.element.style.height=r.element.clientHeight-p+"px";break}}q&&c.requestFrame(this.Mia,this)};h.prototype.qEa=function(){this.Jh.forEach(this.Nha.bind(this))};h.prototype.Nha=function(p){for(var q in this.e8)p.Aea.style[q]=this.e8[q]};
h.prototype.di=function(p,q){return this.M.get(p,q)};h.prototype.fk=function(p,q){p=this.M.get(p,q);isNaN(p)||(p=Math.round(p)+"px");return p};h.prototype.GK=function(p,q,n){p=this.M.get(p);return 0>q.indexOf(p)?n:p};h.prototype.t5=function(p,q,n,r){p=this.M.get(p,n);q=this.M.get(q,r);return"rgba("+parseInt("0x"+p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+q+")"};h.Zfa=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];
h.$fa="subtitlesBackgroundColor subtitlesBackgroundOpacity subtitlesBorderColor subtitlesBorderSize subtitlesFontFamily subtitlesFontColor subtitlesFontSize subtitlesFontStyle subtitlesFontWeight subtitlesGap subtitlesOpacity subtitlesPaddingTop subtitlesPaddingBottom subtitlesPaddingLeft subtitlesPaddingRight subtitlesShadow subtitlesShadowBlurRadius subtitlesShadowHorizontalLength subtitlesShadowVerticalLength subtitlesShadowColor subtitlesTextDecoration subtitlesTextShadowBlurRadius subtitlesTextShadowColor subtitlesTextShadowHorizontalLength subtitlesTextShadowOpacity subtitlesTextShadowVerticalLength".split(" ");
var l=document.createElement("div");return h});define("eK",["require","lo","oH","dA"],function(a){var e=a("lo"),h=a("oH"),m=a("dA");a=e.extend(m,function(k,b){m.call(this,k);this.yc=b;this.yc.bind(h.G("panorama"),this.J7,this);this.J7()});a.prototype.clear=function(){this.yc&&(this.yc.unbind(h.G("panorama"),this.J7,this),this.yc=null);m.prototype.clear.call(this)};a.prototype.J7=function(){this.hea(this.yc.get("panorama"))};return a});
define("oD",["require"],function(){function a(h,m){this.j=h;this.IG=m;this.jg=new THREE.CustomRenderPass(m);this.jg.renderToScreen=!1;this.eW=new THREE.SavePass;this.eW.enabled=!0;this.Ww=new THREE.ShaderPass(THREE.BlendShader,"tDiffuse1");this.Ww.uniforms.tDiffuse2.value=this.eW.renderTarget.texture;this.Ww.uniforms.mixRatio.value=.8;this.Ww.renderToScreen=!0;this.Ww.enabled=!0;this.gpa=new THREE.ShaderPass(THREE.CopyShader);this.gpa.renderToScreen=!0;this.sm=new THREE.EffectComposer(h);this.sm.addPass(this.jg);
this.sm.addPass(this.Ww);this.sm.addPass(this.eW);this.sm.addPass(this.gpa);this.ix=this.jx=void 0}var e=new THREE.Vector2;a.prototype.destroy=function(){this.sm=this.Ww=this.eW=this.jg=this.IG=this.j=null};a.prototype.start=function(){this.Ww.uniforms.mixRatio.value=0;this.N4=3};a.prototype.render=function(h,m){this.j.getSize(e);if(this.jx!==e.width||this.ix!==e.height)this.jx=e.width,this.ix=e.height,this.sm.setSize(this.jx,this.ix);this.jg.scene=h;this.jg.camera=m;0<this.N4&&(this.N4--,0===this.N4&&
(this.Ww.uniforms.mixRatio.value=.65));this.sm.render()};return a});
define("jp",["require"],function(){function a(h,m){this.j=h;this.IG=m;this.sm=new THREE.EffectComposer(h);this.jg=new THREE.CustomRenderPass(m);this.jg.renderToScreen=!1;this.sm.addPass(this.jg);this.TS=new THREE.ShaderPass(THREE.FXAAShader);this.sm.addPass(this.TS);this.ix=this.jx=void 0}var e=new THREE.Vector2;a.prototype.destroy=function(){this.sm=this.TS=this.jg=this.IG=this.j=null};a.prototype.render=function(h,m){this.j.getSize(e);if(this.jx!==e.width||this.ix!==e.height)this.jx=e.width,this.ix=
e.height,this.sm.setSize(this.jx,this.ix),this.TS.material.uniforms.resolution.value.x=1/this.jx,this.TS.material.uniforms.resolution.value.y=1/this.ix;this.jg.scene=h;this.jg.camera=m;this.sm.render()};return a});
define("kW",["require","oD","jp"],function(a){function e(k,b){this.j=k;this.IG=b;this.iU=new h(k,b);this.R4=new m(k,b);this.DS=e.NONE}var h=a("oD"),m=a("jp");e.lfa="fxaa";e.P0="motionBlur";e.NONE="none";e.prototype.destroy=function(){this.iU.destroy();this.iU=null;this.R4.destroy();this.IG=this.j=this.R4=null};e.prototype.Lda=function(k){this.DS!=k&&(this.DS=k,this.DS==e.P0&&this.iU.start())};e.prototype.render=function(k,b){switch(this.DS){case e.lfa:this.R4.render(k,b);break;case e.P0:this.iU.render(k,
b);break;default:this.IG(this.j,k,b,null,!1)}};return e});
define("bi","require bv v dC V ht".split(" "),function(a){var e=a("bv");a("v");var h=a("dC"),m=a("V"),k=a("ht"),b=180/Math.PI;return{eCa:function(g,d){var c,f;this.setSize=function(l,p){if(c!=l||f!=p)c=l,f=p,g.setSize(l,p)};this.rd=function(){return c};this.ee=function(){return f};this.start=function(l){m.Jda(l,[d]);c&&f&&g.setSize(c,f);g.setPixelRatio(k.getPixelRatio())};this.stop=function(){};this.fov=function(){return d.fov};this.zQ=function(){};this.camera=function(){return d};this.render=function(l,
p,q){g.setRenderTarget(p);q&&g.clear();g.render(l,d)}},RCa:function(g,d){var c,f,l,p,q=new THREE.Vector2,n=new THREE.PerspectiveCamera;n.layers.enable(h.Pa);var r=new THREE.PerspectiveCamera;r.layers.enable(h.hb);this.start=function(t){g.getSize(q);c=g.getPixelRatio();f=q.width;l=q.height;p=g.getContext().getParameter(g.getContext().FRAMEBUFFER_BINDING);var u=e.FY();u.XO&&g.getContext().bindFramebuffer(g.getContext().FRAMEBUFFER,u.XO);g.setClearColor(0,1);g.setDrawingBufferSize(u.Co,u.hn,u.rY);m.Jda(t,
[n,r])};this.stop=function(){g.getContext().bindFramebuffer(g.getContext().FRAMEBUFFER,p);g.setClearColor(0,0);g.setDrawingBufferSize(f,l,c)};this.setSize=function(t,u){f=t;l=u};this.rd=function(){return f};this.ee=function(){return l};this.fov=function(){return r.fov};this.camera=function(){return r};this.zQ=function(){d.updateProjectionMatrix();d.updateMatrixWorld();e.Hs().views.forEach(function(t){var u=t.eye==e.yn.Pa?n:t.eye==e.yn.hb?r:null;u&&(d.matrixWorld.decompose(u.position,u.quaternion,
u.scale),u.applyQuaternion(t.orientation),u.translateOnAxis(t.position,1),u.projectionMatrix.copy(t.projectionMatrix),u.fov=2*Math.atan(1/u.projectionMatrix.elements[5])*b)})};this.render=function(t,u,v){var w=t.Kca;w&&(t.updateMatrixWorld(),t.Kca=!1);u?(g.setRenderTarget(u),u.scissorTest=!0):(g.setRenderTarget(null),g.setScissorTest(!0));(g.autoClear||v)&&g.clear();e.Hs().views.forEach(function(x){var y=x.eye==e.yn.Pa?n:x.eye==e.yn.hb?r:null;y&&(u?(u.viewport.set(x.viewport.x,x.viewport.y,x.viewport.width,
x.viewport.height),u.scissor.set(x.viewport.x,x.viewport.y,x.viewport.width,x.viewport.height)):(g.setViewport(x.viewport.x,x.viewport.y,x.viewport.width,x.viewport.height),g.setScissor(x.viewport.x,x.viewport.y,x.viewport.width,x.viewport.height)),g.render(t,y))});g.getSize(q);u?(u.viewport.set(0,0,q.width,q.height),u.scissor.set(0,0,q.width,q.height),u.scissorTest=!1,g.setRenderTarget(null)):(g.setViewport(0,0,q.width,q.height),g.setScissorTest(!1));w&&(t.Kca=!0)}},GCa:function(g,d){var c,f,l=1,
p=new THREE.WebGLCubeRenderTarget(1024),q=new THREE.CubeCamera(.1,1E4,p);q.layers.enable(h.Zs);q.layers.enable(h.Pa);p=new THREE.ShaderMaterial;p.uniforms={tCube:{value:q.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};p.fragmentShader="uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldPosition;\nvoid main() {\n\tgl_FragColor = textureCube( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) );\n\tgl_FragColor.a *= opacity;\n}\n";p.vertexShader=
"varying vec3 vWorldPosition;\n#include <common>\nvoid main() {\n\tvWorldPosition = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}\n";p.side=THREE.BackSide;p.depthWrite=!1;p.transparent=!0;p.depthTest=!1;p.needsUpdate=!0;var n=new THREE.Mesh(new THREE.SphereGeometry(5,64,64),p);n.overdraw=!1;n.matrixAutoUpdate=!1;n.renderOrder=1E3;var r=new THREE.Matrix4;this.TD=function(u){l=u};this.setSize=function(u,v){c==
u&&f==v||g.setSize(c=u,f=v)};this.rd=function(){return c};this.ee=function(){return f};this.start=function(u){u.add(n);u.add(q);u.traverse(function(v){v.layers.test(q.layers)&&(v.userData.Eca=v.layers.mask,v.layers.mask=q.layers.mask)});q.visible=!0;n.visible=!0;m.Jda(u,[d]);g.setClearColor(16777215,1);g.setPixelRatio(k.getPixelRatio());c&&f&&g.setSize(c,f)};this.stop=function(u){g.setClearColor(0,0);u.traverse(function(v){void 0!==v.userData.Eca&&(v.layers.mask=v.userData.Eca,delete v.userData.Eca)});
q.visible=!1;n.visible=!1;u.remove(n);u.remove(q)};this.fov=function(){return d.fov};this.zQ=function(){0<l&&(n.matrix.copy(d.matrixWorld),n.matrix.multiply(r.makeTranslation(0,0,5*-l)),n.matrixWorldNeedsUpdate=!0)};this.camera=function(){return d};var t=0;this.render=function(u,v,w){0<l&&(t++,k.sWa()&&0!=t%10||(k.xYa(),n.visible=!1,q.update(g,u),n.visible=!0));g.setRenderTarget(v);w&&g.clear();g.render(u,d)}}}});
define("eE","require jquery.mod mv kP nt dC kW bi gU ht bv".split(" "),function(a){function e(){this.na=h("<div/>");this.na.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.Ca=new THREE.PerspectiveCamera(90,16/9,.1,2*f.If);this.Ca.layers.enable(g.Pa);this.nS=new THREE.PerspectiveCamera;this.Fa=new THREE.Scene;this.ija=new THREE.Scene;this.jja=new THREE.Scene;this.Fa.add(this.Ca);this.$t=this.px=this.j=null;this.PB=0;this.Xu=this.dg=this.d$=this.Xaa=null;this.Qma=
this.v3=!1}var h=a("jquery.mod"),m=a("mv"),k=a("kP"),b=a("nt"),g=a("dC"),d=a("kW"),c=a("bi"),f=a("gU"),l=a("ht"),p=a("bv");e.prototype.Mj=function(){return this.Fa};e.prototype.lz=function(){return this.nS};e.prototype.QUa=function(){return this.dg.fov(this.Ca)};e.prototype.getPixelRatio=function(){return this.j.getPixelRatio()};e.prototype.Ac=function(){return this.na};e.prototype.TUa=function(){return this.j?this.j.domElement.width:this.na.width()};e.prototype.SUa=function(){return this.j?this.j.domElement.height:
this.na.height()};e.prototype.og=function(){return this.j.domElement};e.prototype.update=function(u){this.FSa(u);this.fSa(u);this.rq(u);this.CSa(u)};var q=[new THREE.Vector3(0,1,0),new THREE.Vector3(0,1,0),new THREE.Vector3(0,0,-1),new THREE.Vector3(0,0,1),new THREE.Vector3(0,1,0),new THREE.Vector3(0,1,0)],n=[new THREE.Vector3(1,0,0),new THREE.Vector3(-1,0,0),new THREE.Vector3(0,1,0),new THREE.Vector3(0,-1,0),new THREE.Vector3(0,0,1),new THREE.Vector3(0,0,-1)];e.prototype.HO=function(u){var v=this.dg,
w=this.dg.rd(),x=this.dg.ee();v.stop();this.j.setPixelRatio(1);this.j.setSize(u,u);var y=new THREE.PerspectiveCamera(90,1,this.Ca.near,this.Ca.far);y.layers=this.Ca.layers;y.visible=!0;this.Fa.add(y);for(var A=[],B=0;6>B;B++){var z=document.createElement("canvas");z.width=z.height=u;var C=z.getContext("2d");y.up.copy(q[B]);y.lookAt(n[B]);y.updateProjectionMatrix();y.updateMatrixWorld();this.j.clear();this.j.render(this.Fa,y);C.save();C.scale(-1,1);C.drawImage(this.j.domElement,0,0,-u,u);C.restore();
A.push(z)}this.Fa.remove(y);this.dg=v;this.dg.start(this.Fa);this.dg.setSize(w,x);this.$M();return A};e.prototype.render=function(){this.$M()};e.prototype.FSa=function(u){u.enabled&&(this.PB=(new Date).getTime(),this.j||this.dQa(u),u.Cb&&p.getType()==p.uA.Vk&&(this.Qma=!0),p.f_(this.j.getContext()));if(this.v3=u.enabled&&!u.Cb)this.px.setSize(u.width,u.height),this.$t.setSize(u.width,u.height)};e.prototype.dQa=function(u){if(!this.j&&u.enabled){for(;r.length>=t;)r.sort(function(x,y){return x.PB-y.PB}),
r[0].AFa();r.push(this);var v=this.Ac().get(0);this.px=new THREE.CSS3DRenderer;this.px.domElement.style.position="absolute";this.px.domElement.style.zIndex=0;v.appendChild(this.px.domElement);var w={precision:"mediump",alpha:!0};1==r.length&&u.Cb?(u=p.sD(),w.context=u,w.canvas=u.canvas):(w.canvas=document.createElement("canvas"),w.context=l.Bba(w.canvas,u.PX));this.j=new THREE.WebGLRenderer(w);this.j.debug.checkShaderErrors=m.dJ;this.j.domElement.style.position="absolute";this.j.domElement.style.zIndex=
1;this.j.domElement.style.pointerEvents="none";this.j.setClearColor(0,0);v.appendChild(this.j.domElement);this.$t=new THREE.CSS3DRenderer;this.$t.domElement.style.position="absolute";this.$t.domElement.style.zIndex=2;this.$t.domElement.style.pointerEvents="none";v.appendChild(this.$t.domElement);this.Xu=new d(this.j,function(x,y,A,B,z){this.Qma&&this.j.resetState();this.dg.render(y,B,z)}.bind(this));this.d$=new c.eCa(this.j,this.Ca);this.Ura=new c.GCa(this.j,this.Ca);this.Xaa=new c.RCa(this.j,this.Ca);
p.GH(this.j.getContext())}};e.prototype.AFa=function(){if(this.j){r.splice(r.indexOf(this),1);this.dg=this.d$=this.Xaa=null;this.Xu.destroy();this.Xu=null;p.VZ(this.j.getContext());var u=this.Ac().get(0);u.removeChild(this.$t.domElement);this.$t=null;u.removeChild(this.j.domElement);this.j.dispose();this.j=null;u.removeChild(this.px.domElement);this.px=null}};e.prototype.rq=function(u){this.Ca.quaternion.copy(b.pva(u.Sa,u.pitch,u.bf));this.Ca.fov=k.Sl(u.Ee,u.width,u.height);this.Ca.aspect=u.width/
u.height;this.Ca.updateProjectionMatrix();this.Ca.updateMatrixWorld();this.dg&&this.dg.zQ();this.dg&&this.nS.copy(this.dg.camera());this.nS.updateProjectionMatrix();this.nS.updateMatrixWorld();!0===this.Fa.Kca&&this.Fa.updateMatrixWorld()};e.prototype.fSa=function(u){var v=u.Cb?this.Xaa:0<u.$l?this.Ura:this.d$;this.dg!=v&&(this.dg&&this.dg.stop(this.Fa),(this.dg=v)&&this.dg.start(this.Fa));this.dg&&(this.dg.setSize(u.width,u.height),this.dg==this.Ura&&this.dg.TD(u.$l))};e.prototype.CSa=function(u){this.Xu&&
(u.uZ?this.Xu.Lda(d.P0):u.vY&&!u.Cb?this.Xu.Lda(d.lfa):this.Xu.Lda(d.NONE))};e.prototype.$M=function(){this.Xu&&this.Xu.render(this.Fa,this.Ca);this.v3&&(this.px.render(this.ija,this.Ca),this.$t.render(this.jja,this.Ca))};var r=[],t=10;return e});
define("c","require lo iW fd ct ep V ko oO".split(" "),function(a){var e=a("lo"),h=a("iW"),m=a("fd"),k=a("ct"),b=a("ep"),g=a("V"),d=a("ko"),c=a("oO");a=e.extend(h,function(){h.call(this);this.set("tag","ComposedWebGLObject");this.set("webglScene",null);this.set("meshGroup",null);this.set("camera",null);this.set("textureSource",null);this.set("materialConfig",this.Xb=new k.em);this.Xt&&this.Xt();this.aB&&this.aB();this.ox&&this.ox();this.In&&this.In()});a.prototype.Mb=function(){h.prototype.Mb.call(this);
this.ao&&this.ao();this.xL&&this.xL();this.yG&&this.yG()};a.prototype.Qb=function(){this.VF&&this.VF();this.zG&&this.zG();this.co&&this.co();b.dispose(this.get("meshGroup"));b.KI(this.get("meshGroup"),null);this.set("meshGroup",null);h.prototype.Qb.call(this)};a.prototype.ea=function(f){this.pf&&this.pf(f);h.prototype.ea.call(this,f);this.set("camera",g.lz(f.qg));this.set("webglScene",f.qg);this.get("meshGroup")||(this.set("meshGroup",b.Iua(this.Hn())),this.get("meshGroup").userData.yXa=this);this.N("webglScene",
"meshGroup")&&b.KI(this.get("meshGroup"),this.get("webglScene"));this.Ml();this.Ej&&this.Ej(f);this.SSa();this.Av&&this.Av(f);this.vq&&this.vq(f);this.XC();this.N("loadingActive","meshGroup")&&d.nc(this.get("meshGroup"),this.get("loadingActive"));this.N("blendingActive","meshGroup")&&c.tza(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.Ml=function(){this.N("composedAlpha","meshGroup")&&this.Rw()};a.prototype.Rw=function(){b.uf(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.SSa=
function(){if(this.N("textureSource")||this.N("materialConfig")&&!this.Xb.isEqual(this.get("materialConfig"))){var f=this.vF();f&&(b.lZa(f,this.dK()),this.Rw())}};a.prototype.XC=function(){if(this.N("index","meshGroup")){var f=this.get("meshGroup");f&&f.children.forEach(function(l,p,q){b.k_(l,this.get("index")+p/q.length)}.bind(this))}};a.prototype.dK=function(){var f=this.get("textureSource")||new m;this.Xb=this.get("materialConfig");var l=k.hz(f.texture(),this.Xb);d.LI(l,f);return[l]};a.prototype.$ia=
function(){var f=new m,l=k.hz(f.texture());d.LI(l,f);return[l]};a.prototype.nu=function(f){return b.kVa(this.get("meshGroup"),f)};return a});
define("nV","require hT gU ep jv ko kP nt mQ".split(" "),function(a){var e=a("hT"),h=a("gU"),m=a("ep"),k=a("jv"),b=a("ko"),g=a("kP"),d=a("nt"),c=a("mQ"),f=new THREE.Matrix4,l=Math.PI/180;return{Xt:function(){this.set("distance",void 0);this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("contentWidth",100);this.set("contentHeight",100);this.set("hfov",void 0);this.set("vfov",null);this.set("scaleMode",
null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.set("attachToCamera",!1);this.Ig=this.nx();this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.bo=new THREE.Matrix4;this.vm=new THREE.Matrix4;this.Yi=new THREE.Matrix4;this.p2=new THREE.Matrix4;this.Rha=new THREE.Quaternion;this.Uia=new THREE.Matrix4;this.NJ=new THREE.Matrix4;this.$J=new THREE.Matrix4;this.Yw=new THREE.Matrix4;this.zh=new THREE.Matrix4},Av:function(p){this.tq(p);this.Aaa()},Aaa:function(){if(this.N("hfov",
"vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var p=k.eca(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));p=h.Rza(this.Ig[1],p.xQ,p.BQ,p.ow,p.pw);this.Ig[1]!=p&&(this.Ig[1]=p,(p=this.vF())&&m.Pda(p,this.Ig[1]))}},vF:function(){var p=this.get("meshGroup");return p?m.Ok(p)[1]:null},Hn:function(){return[0,
1].map(function(p){var q=0==p?this.$ia():this.dK();p=m.create(this.Ig[p],q);b.dw(p,b.Yo);b.ew(p,b.Zq);b.RD(p,e.mJ);b.iQ(p,1);return p}.bind(this))},nx:function(){return[h.RH(),h.RH()]},tq:function(p){var q=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*h.If,.5*this.get("composedTranslationY")*h.If,.5*this.get("composedTranslationZ")*h.If),q=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&
(this.Bd.makeRotationY(-p.Sa*l),this.Bd.multiply(f.makeRotationX(-this.get("composedDeltaPitch")*l)),this.Bd.multiply(f.makeRotationY(this.get("composedDeltaYaw")*l)),this.Bd.multiply(f.makeRotationY(p.Sa*l)),q=!0);this.N("yaw","pitch")&&(this.bo.makeRotationY(-this.get("yaw")*l),this.bo.multiply(f.makeRotationX(this.get("pitch")*l)),q=!0);if(this.N("distance","flipHorizontally","scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX",
"composedTranslationY","composedTranslationZ")){var n=0==this.ka.get("composedTranslationX")&&0==this.ka.get("composedTranslationY")&&0==this.ka.get("composedTranslationZ")&&void 0!==this.get("distance")?h.qD(this.get("distance")):h.Mv();this.vm.makeTranslation(0,0,-n);var r=this.get("contentWidth"),t=this.get("contentHeight"),u=this.get("hfov"),v=this.get("vfov")||g.Sl(u,r,t),w=(this.get("flipHorizontally")?-1:1)*this.get("scale"),x=this.get("scale"),y=this.get("scaleMode"),A=this.get("panoramaPixelsPerDegree");
q=this.get("horizontalAlign")||c.Ge;var B=this.get("verticalAlign")||c.he;r=k.eca(u,v,r,t,y,A,q,B);u=w*h.fca(n,u);v=x*h.gca(n,v);this.NJ.makeScale(u,v,1);w*=h.fca(n,r.Ee);n=x*h.gca(n,r.Sq);this.$J.makeScale(w,n,1);this.Uia.makeTranslation(q==c.Pa?.5*-(u-w):q==c.hb?.5*(u-w):0,B==c.uc?.5*(v-n):B==c.pc?.5*-(v-n):0,0);q=!0}this.N("rotationX","rotationY","rotationZ","roll")&&(this.Yi.makeRotationZ(this.get("roll")*l),this.Yi.multiply(f.makeRotationY(this.get("rotationY")*l)),this.Yi.multiply(f.makeRotationX(this.get("rotationX")*
l)),this.Yi.multiply(f.makeRotationZ(this.get("rotationZ")*l)),q=!0);this.set("cameraYaw",p.Sa);this.set("cameraPitch",p.pitch);this.set("cameraRoll",p.bf);this.get("attachToCamera")&&this.N("cameraYaw","cameraPitch","cameraRoll")?(this.Rha.copy(d.pva(p.Sa,p.pitch,p.bf)),this.p2.makeRotationFromQuaternion(this.Rha),q=!0):this.N("attachToCamera")&&(this.p2.identity(),q=!0);if(q||this.N("meshGroup"))this.zh.copy(this.kh),this.zh.multiply(this.Bd),this.zh.multiply(this.p2),this.zh.multiply(this.bo),
this.zh.multiply(this.vm),this.zh.multiply(this.Yi),this.Yw.copy(this.zh),this.Yw.multiply(this.NJ),this.zh.multiply(this.Uia),this.zh.multiply(this.$J),p=m.Ok(this.get("meshGroup")),m.Bq(p[0],this.Yw),m.Bq(p[1],this.zh)}}});define("jt",["require","lo","c","nV"],function(a){var e=a("lo"),h=a("c");a=a("nV");return e.extend(h,a,function(){h.call(this);this.set("tag","Plane")})});
define("hD","require lo ky oH nx jt mK ob nh eA lp".split(" "),function(a){function e(n,r,t,u,v,w){for(n=(n-r)/w;t+180<u;)u-=360;for(;t-180>u;)u+=360;t=(t-u)/w;return t=-.1>n||.1<n?h(v,t,Math.abs(1/(1500*n))):h(v,t,.08)}function h(n,r,t){n=(r-n)*(1-t);1E-5>Math.abs(n)&&(n=0);return r-n}var m=a("lo"),k=a("ky"),b=a("oH"),g=a("nx"),d=a("jt"),c=a("mK"),f=a("ob"),l=a("nh"),p=a("eA"),q=a("lp");a=m.extend(d,function(n){d.call(this);this.v=n;this.kk.push(this.v);this.Wf=this.Wf.bind(this);this.Ce=g.Na("CeilingCapPanoramaOverlay",
this.v)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch","tripod"==this.Ce?-90:90);this.$c=!1;this.qC=this.H8=this.Ur=void 0;this.zNa="tripod"==this.Ce?1:-1;this.kj=this.yk=this.Kg=null});a.prototype.Mb=function(){d.prototype.Mb.call(this);this.Kg=(new f(b.Z)).bm(this.Kp.bind(this));this.yk=(new f(b.ec)).Ho(this.$B.bind(this));k.fa(this.v,"angle distance hfov image.levels.url inertia rotate".split(" "),this.Wf,!0)};a.prototype.Qb=function(){this.kj&&this.kj.dispose();this.kj=null;this.Kg.dispose();
this.yk.dispose();k.ba(this.v,"angle distance hfov image.levels.url inertia rotate".split(" "),this.Wf);d.prototype.Qb.call(this)};a.prototype.Wf=function(){this.set("angle",this.v.get("angle"));this.set("distance",this.v.get("distance"));this.set("hfov",this.v.get("hfov"));var n=l.UUa(this.v,this.get("panoramaPixelsPerDegree"));this.set("imageURL",n&&n.get("url"));this.set("imageWidth",n&&n.get("width"));this.set("imageHeight",n&&n.get("height"));this.set("inertia",this.v.get("inertia"));this.set("rotate",
this.v.get("rotate"))};a.prototype.Hn=function(){var n=d.prototype.Hn.call(this);this.Kg.vf(n);this.yk.vf(n);return n};a.prototype.ea=function(n){this.faa();this.rH(n);d.prototype.ea.call(this,n)};a.prototype.faa=function(){this.N("imageURL")&&this.get("imageURL")&&(this.set("textureSource",new c(this.get("imageURL"))),this.set("contentWidth",this.get("imageWidth")),this.set("contentHeight",this.get("imageHeight")))};a.prototype.Kp=function(){this.kj&&this.kj.dispose();this.kj=new p(this.get("textureSource").sf());
this.trigger(b.Vc);this.trigger(b.Z)};a.prototype.$B=function(n,r){var t=0;r.Cs(function(u){(u=r.Ul(u))&&(t+=u.Sg)});this.trigger(new q(b.ec,t/r.Xc.length))};a.prototype.rH=function(n){this.set("rendererYaw",n.Sa);if(this.N("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.N("rendererYaw")){var r=this.get("angle"),t=this.get("rotate"),u=this.get("inertia"),v=this.zNa*n.Sa;t&&(r+=v);var w=0,x=r-v;void 0!==this.Ur&&(u&&(t?(w=e(v,this.qC,r,this.Ur,this.H8,n.De),r=this.Ur+w*
n.De):(w=e(v,this.qC,x,this.Ipa,this.H8,n.De),x=this.Ipa+w*n.De,r=x+v)),this.Ur!=r&&this.Aa());this.Ipa=x;this.Ur=r;this.H8=w;this.qC=v;this.set("rotationZ",-r)}};a.prototype.sn=function(n){if(n.gf==b.im){var r=!n.Mk()&&this.nq(n);r&&(n.az(this.v),this.v.get("useHandCursor")&&n.bz(this.v),n.Lk(this.get("distance")));this.$c!=r&&(this.$c=r,this.v.trigger(this.$c?b.Wc:b.ac),n.Ps()&&this.v.trigger(this.$c?b.mA:b.$o))}else n.gf==b.Uj&&!n.Mk()&&this.nq(n)&&(1<this.v.bI(b.qa,!0).length&&n.Nq(this.v),n.Lk(this.get("distance")),
this.v.trigger(b.qa))};a.prototype.nq=function(n){return this.nu(n.bq).some(function(r){return this.kj&&this.kj.kw(r.x,r.y)}.bind(this))};return a});
define("jX","require lo oH kO iW bv".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("kO"),k=a("iW"),b=a("bv");a=e.extend(k,function(){k.call(this);this.kh=new THREE.Matrix4;this.Cta=!1;this.ii=new THREE.Matrix4;this.hg=null;this.Gl=new THREE.Matrix4;this.ZM=this.LM=0;this.EJ=.75;this.mK=.5;this.Gr=4;this.X6=0;this.Hr=-2;this.Gp=3;this.cU=0;this.lB=7;this.FM=this.xy=1;this.DL=.15;this.mB=this.jC=0;this.uT=this.CV=m.T;this.RW=this.LW=1E3});var g=Math.PI/180,d=new THREE.Matrix4;a.prototype.om=function(){};
a.prototype.Mb=function(){k.prototype.Mb.call(this);this.trigger(h.Vc);this.trigger(h.Z)};a.prototype.Qb=function(){this.R2()};a.prototype.pk=function(){this.om();this.aN()};a.prototype.qk=function(){this.Aa()};a.prototype.aN=function(){this.hg&&(this.R2(),this.cja())};a.prototype.lS=function(){};a.prototype.cja=function(){this.qOa();this.hg=new THREE.Group;for(var c=this.uT==m.X,f=this.jC,l=this.mB;0<l+f;){var p=Math.random()*(l+f)<=l;p?l--:f--;var q=this.lS();q.matrixAutoUpdate=!1;q.overdraw=!1;
q.material.opacity=0;q.userData={FUa:p,BI:new THREE.Matrix4,fua:new THREE.Matrix4,yda:new THREE.Matrix4,y:void 0,$Aa:void 0,hda:c};this.hg.add(q);c&&this.n9(q,this.Hr,this.Gp);this.oOa(q)}this.LM=c?this.hg.children.length:0;this.Zaa.add(this.hg);this.Qha()};a.prototype.R2=function(){if(this.hg){this.hg.parent&&this.hg.parent.remove(this.hg);for(var c=0,f=this.hg&&this.hg.children.length;c<f;c++)this.hg.children[c].material.dispose();this.hg=null;this.ZM=0}};a.prototype.qOa=function(){this.Gl=(new THREE.Matrix4).makeScale(this.xy,
this.xy,this.xy)};a.prototype.n9=function(c,f,l){f+=Math.random()*(l-f);if(c.userData.FUa){l=this.lB;var p=360*Math.random()*g;c.userData.BI.makeTranslation(l*Math.cos(p),f,l*Math.sin(p))}else l=2*Math.random()*Math.PI,p=this.X6+(this.Gr-this.X6)*Math.sqrt(Math.random()),c.userData.BI.makeTranslation(p*Math.cos(l),f,p*Math.sin(l));c.userData.BI.multiply(this.Gl);c.userData.y=f};a.prototype.oOa=function(c){var f=this.DL+Math.random()*(this.SB-this.DL);do var l=Math.random()*this.cU;while(80<l&&100>
l);var p=360*Math.random(),q=Math.sin(p*g)*Math.sin(l*g)*f,n=-Math.cos(l*g)*f;f*=Math.cos(p*g)*Math.sin(l*g);c.userData.$Aa=n*this.xy;c.userData.fua.makeTranslation(q,n,f);c.userData.yda.makeRotationY(p*g);c.userData.yda.multiply(d.makeRotationX(-l*g))};a.prototype.ea=function(c){k.prototype.ea.call(this,c);this.XRa(c);this.Zaa=c.qg;this.Zaa!=(this.hg&&this.hg.parent)?(this.R2(),this.Zaa&&this.cja()):this.N("index")&&this.Qha();this.xSa(c)};a.prototype.XRa=function(c){c=c.Cb&&b.getType()==b.uA.Vk;
c!=this.Dla&&(this.Dla=c)&&setTimeout(function(){this.hg&&this.aN()}.bind(this),0)};a.prototype.xSa=function(c){if(this.hg){this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Cta=0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"),this.kh.makeTranslation(-this.get("composedTranslationX")*this.Gr,this.get("composedTranslationY")*this.Gr,this.get("composedTranslationZ")*this.Gr));var f=this.CV==m.X,l=this.hg.children,
p=l.length,q=f?Math.round(p*c.De/this.LW):0;if(0<this.LM+q){this.ZM=f?0:Math.min(this.LM,this.ZM+Math.round(p*c.De/this.RW));c=this.get("composedAlpha");for(f=0;f<p;f++){var n=l[f];if(!n.userData.hda)if(0<q)q--,n.userData.hda=!0,this.LM++,this.n9(n,this.Gp,this.Gp+(this.Gp-this.Hr));else continue;n.userData.BI.multiply(n.userData.fua);n.userData.y+=n.userData.$Aa;if(n.userData.y<this.Hr||n.userData.y>this.Gp){if(0<this.ZM){this.ZM--;n.userData.hda=!1;this.LM--;n.material.opacity=0;continue}var r=
n.userData.y<this.Hr?this.Gp:this.Hr;this.n9(n,r,r)}r=c;n.userData.y<this.Hr+this.mK?r*=(n.userData.y-this.Hr)/this.mK:n.userData.y>this.Gp-this.EJ&&(r*=(this.Gp-n.userData.y)/this.EJ);n.material.opacity=r*this.FM;this.Cta?(n.matrix.copy(this.kh),n.matrix.multiply(n.userData.BI)):n.matrix.copy(n.userData.BI);n.matrix.multiply(n.userData.yda);n.matrixWorldNeedsUpdate=!0}this.Aa()}}};a.prototype.Qha=function(){if(this.hg)for(var c=this.get("index"),f=0;f<this.hg.children.length;f++)this.hg.children[f].renderOrder=
c};return a});
define("iG","require lo ky kO jX nz v".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("kO"),k=a("jX"),b=a("nz"),g=a("v");a=e.extend(k,function(c){k.call(this);this.v=c;this.pk=this.pk.bind(this);this.qk=this.qk.bind(this);this.om()});a.prototype.Mb=function(){k.prototype.Mb.call(this);this.v.set("state",this.v.get("startState"));h.fa(this.v,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.pk,
!0);h.fa(this.v,["state"],this.qk,!0)};a.prototype.Qb=function(){h.ba(this.v,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.pk);h.ba(this.v,["state"],this.qk);this.v.set("state",m.T);k.prototype.Qb.call(this)};a.prototype.pk=function(){this.om();this.aN()};a.prototype.qk=function(){this.CV=this.v.get("state");this.Aa()};a.prototype.om=function(){k.prototype.om.call(this);var c=g.kb()||g.browser()==
g.Oz?2500:g.Rf()?4E3:5E3;this.DL=this.SB=.2*this.v.get("speed",.2);this.Gr=14.5*this.v.get("distance",.5)+.5;this.FM=1*this.v.get("opacity",.1);this.xy=.036;this.jC=this.v.get("intensity",.1)*c;this.wc=b.JP(this.v.get("color","#ffffff"));this.mB=0;this.lB=15;this.uT=this.v.get("initialState");this.LW=this.v.get("startDuration");this.RW=this.v.get("stopDuration");this.EJ=.75;this.mK=.5;this.Hr=-2;this.Gp=4;this.cU=180;this.Kja()};a.prototype.lS=function(){return new THREE.Sprite(this.Yt())};a.prototype.Yt=
function(){var c=new THREE.SpriteMaterial;c.map=this.pp();c.side=THREE.FrontSide;c.transparent=!0;c.depthTest=!1;c.needsUpdate=!0;return c};a.prototype.pp=function(){if(this.tb)return this.tb;var c=document.createElement("canvas");c.width=c.height=d;this.tb=new THREE.Texture;this.tb.image=c;this.tb.needsUpdate=!0;this.Kja();return this.tb};a.prototype.Kja=function(){if(this.tb){var c=this.tb.image,f=c.getContext("2d"),l=f.createRadialGradient(.5*c.width,.5*c.height,.2*c.height,.5*c.width,.5*c.height,
.5*c.height);l.addColorStop(0,"rgba("+this.wc[0]+", "+this.wc[1]+", "+this.wc[2]+", 1)");l.addColorStop(1,"rgba("+this.wc[0]+", "+this.wc[1]+", "+this.wc[2]+", 0)");f.fillStyle=l;f.clearRect(0,0,c.width,c.height);f.fillRect(0,0,c.width,c.height);this.tb.needsUpdate=!0}};var d=32;return a});
define("lz","require lo hT gU ep jv ko mQ".split(" "),function(a){a("lo");var e=a("hT"),h=a("gU"),m=a("ep"),k=a("jv"),b=a("ko"),g=a("mQ"),d=new THREE.Matrix4,c=Math.PI/180;return{Xt:function(){this.set("distance",void 0);this.set("width",100);this.set("height",100);this.set("offsetX",void 0);this.set("offsetY",void 0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("rotationZ",0);this.set("contentWidth",100);this.set("contentHeight",100);this.set("scale",1);this.set("scaleMode",
null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.Ig=this.nx();this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.bo=new THREE.Matrix4;this.vm=new THREE.Matrix4;this.QE=new THREE.Matrix4;this.UG=new THREE.Matrix4;this.$ha=new THREE.Matrix4;this.Yi=new THREE.Matrix4;this.Xia=new THREE.Matrix4;this.NJ=new THREE.Matrix4;this.$J=new THREE.Matrix4;this.Yw=new THREE.Matrix4;this.zh=new THREE.Matrix4;this.SE=new THREE.Matrix4;this.QA=new THREE.Vector3},Av:function(f){this.tq(f);
this.Aaa()},Aaa:function(){if(this.N("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var f=k.BY(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));f=h.Rza(this.Ig[1],f.xQ,f.BQ,f.ow,f.pw);this.Ig[1]!=f&&(this.Ig[1]=f,(f=this.vF())&&m.Pda(f,this.Ig[1]))}},vF:function(){var f=this.get("meshGroup");return f?m.Ok(f)[1]:null},Hn:function(){return[0,
1].map(function(f){var l=0==f?this.$ia():this.dK();f=m.create(this.Ig[f],l);b.dw(f,b.Yo);b.ew(f,b.Zq);b.RD(f,e.mJ);b.iQ(f,1);return f}.bind(this))},nx:function(){return[h.RH(),h.RH()]},tq:function(f){var l=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*h.If,.5*this.get("composedTranslationY")*h.If,.5*this.get("composedTranslationZ")*h.If),l=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&
(this.Bd.makeRotationY(-f.Sa*c),this.Bd.multiply(d.makeRotationX(-this.get("composedDeltaPitch")*c)),this.Bd.multiply(d.makeRotationY(this.get("composedDeltaYaw")*c)),this.Bd.multiply(d.makeRotationY(f.Sa*c)),l=!0);this.N("yaw","pitch")&&(this.bo.makeRotationY(-this.get("yaw")*c),this.bo.multiply(d.makeRotationX(this.get("pitch")*c)),l=!0);if(this.N("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var p=0==this.get("composedTranslationX")&&0==this.get("composedTranslationY")&&
0==this.get("composedTranslationZ")&&void 0!==this.get("distance");this.set("z",p?h.qD(this.get("distance")):h.Mv())}this.N("z")&&(this.vm.makeTranslation(0,0,-this.get("z")),l=!0);l&&(this.SE.copy(this.kh),this.SE.multiply(this.Bd),this.SE.multiply(this.bo),this.SE.multiply(this.vm));p=!1;this.set("rendererYaw",f.Sa);this.set("rendererPitch",f.pitch);this.set("rendererRoll",f.bf);this.set("rendererCameraFOV",f.Vh);this.set("rendererWidth",f.width);this.set("rendererHeight",f.height);f.Vh&&this.N("z",
"rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(f.Vh*c*.5)*this.get("z")*2);if(f.Vh&&(l||this.N("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(f.Cb)this.QE.copy(this.SE),this.UG.identity();else{p=f.camera;this.QE.copy(p.matrixWorld);this.QA.setFromMatrixPosition(p.matrixWorld);this.QA.applyMatrix4(this.SE);this.QA.applyMatrix4(p.matrixWorldInverse);var q=-10,n=-10;0>this.QA.z&&(this.QA.applyMatrix4(p.projectionMatrix),
q=.5*this.QA.x,n=.5*this.QA.y);var r=this.get("rendererHeightZ");this.UG.makeTranslation(q*r*p.aspect,n*r,0)}p=!0}this.N("roll")&&(this.Yi.makeRotationZ(this.get("roll")*c),p=!0);if(f.Vh&&(l||this.N("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){l=f.Cb?1024:f.height;p=this.get("scale")*this.get("rendererHeightZ")/l*(f.Cb?2:1);var t=this.get("width");n=this.get("height");
var u=this.get("offsetX");r=this.get("offsetY");var v=this.get("contentWidth"),w=this.get("contentHeight");q=(this.get("flipHorizontally")?-1:1)*p;var x=this.get("scaleMode");f=this.get("horizontalAlign")||g.Ge;l=this.get("verticalAlign")||g.he;x=k.BY(t,n,v,w,x,f,l);v=q*t;w=p*n;this.NJ.makeScale(v,w,1);t=q*(.5*t-u);n=p*(r-.5*n);this.$ha.makeTranslation(t,n,0);q*=x.width;p*=x.height;this.$J.makeScale(q,p,1);this.Xia.makeTranslation((f==g.Pa?.5*-(v-q):f==g.hb?.5*(v-q):0)+t,(l==g.uc?.5*(w-p):l==g.pc?
.5*-(w-p):0)+n,0);p=!0}p&&(this.zh.copy(this.QE),this.zh.multiply(this.vm),this.zh.multiply(this.UG),this.zh.multiply(this.Yi),this.Yw.copy(this.zh),this.Yw.multiply(this.$ha),this.Yw.multiply(this.NJ),this.zh.multiply(this.Xia),this.zh.multiply(this.$J),f=m.Ok(this.get("meshGroup")),m.Bq(f[0],this.Yw),m.Bq(f[1],this.zh))}}});
define("gd",["require","oH","kO"],function(a){function e(k,b){this.zd=k;this.rc=b;this.Ib=!1;this.O1();this.R1();this.bC()}var h=a("oH"),m=a("kO");e.prototype.clear=function(){this.W8();this.c9();this.zd.set("state",m.T);this.rc=this.zd=null};e.prototype.wf=function(k){this.Ib!=k&&(this.Ib=k,this.ns())};e.prototype.bC=function(){this.rc.Jd(this.zd.get("state"))};e.prototype.XL=function(){this.ns()};e.prototype.ZL=function(){this.rc.Oda(this.zd.get("frameDuration"))};e.prototype.YL=function(){this.rc.Bza("first"==
this.zd.get("finalFrame"))};e.prototype.VL=function(){this.zd.trigger(h.fr)};e.prototype.UL=function(){this.zd.trigger(h.sb)};e.prototype.WL=function(){this.zd.set("state",this.rc.getState())};e.prototype.ns=function(){this.zd.get("autoplay")&&this.rc.Jd(this.Ib?m.X:m.T)};e.prototype.O1=function(){this.zd.bind(h.G("state"),this.bC,this,!0);this.zd.bind(h.G("autoplay"),this.XL,this,!0);this.zd.bind(h.G("frameDuration"),this.ZL,this,!0);this.zd.bind(h.G("finalFrame"),this.YL,this,!0)};e.prototype.W8=
function(){this.zd.unbind(h.G("state"),this.bC,this,!0);this.zd.unbind(h.G("autoplay"),this.XL,this,!0);this.zd.unbind(h.G("frameDuration"),this.ZL,this,!0);this.zd.unbind(h.G("finalFrame"),this.YL,this,!0)};e.prototype.R1=function(){this.rc.bind(h.fr,this.VL,this,!0);this.rc.bind(h.sb,this.UL,this,!0);this.rc.bind(h.ne,this.WL,this,!0)};e.prototype.c9=function(){this.rc.unbind(h.fr,this.VL,this,!0);this.rc.unbind(h.sb,this.UL,this,!0);this.rc.unbind(h.ne,this.WL,this,!0)};return e});
define("gV","require ky oH kO hT nx ct ep gd fd ko eA bf".split(" "),function(a){var e=a("ky"),h=a("oH"),m=a("kO"),k=a("hT"),b=a("nx"),g=a("ct"),d=a("ep"),c=a("gd"),f=a("fd"),l=a("ko"),p=a("eA"),q=a("bf");return{aB:function(){this.set("visible",!1);this.set("inView",!1);this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("premultipliedAlpha",!1);this.set("projected",!1);this.set("image",null);this.set("level",null);this.set("levelURL",
null);this.set("state",null);this.set("visibleOnStop",!0);this.set("side",void 0);this.CU=this.CU.bind(this);this.FU=this.FU.bind(this);this.kj=this.Ra=this.Gn=this.rc=null},Ej:function(){this.faa();this.dO();this.ESa()},faa:function(){if(this.N("level")){var n=this.get("level");this.set("levelURL",n&&n.get("url"))}this.N("image","level","levelURL","projected")&&(this.Fia(),this.Ra=this.get("image"),this.Ya=this.get("level"),this.set("textureSource",new f(this.Ra&&this.Ya.get("url"))),this.set("premultipliedAlpha",
this.Ra&&this.Ya.get("premultipliedAlpha")),this.ODa(),this.Ra?(this.yDa(),this.BDa()):(this.trigger(h.Vc),this.trigger(h.Z)))},dO:function(){if(this.N("blending","chromaColor","chromaThreshold","chromaSmoothing","premultipliedAlpha","side")){var n=new g.em;n.ez=this.get("blending");n.xs=this.get("chromaColor");n.KO=this.get("chromaThreshold");n.JO=this.get("chromaSmoothing");n.premultipliedAlpha=this.get("premultipliedAlpha");n.side=this.get("side");this.set("materialConfig",n)}},ESa:function(){if(this.N("meshGroup",
"projected","visible")){var n=this.get("projected")&&this.get("visible")?k.Y0:k.mJ;d.Ok(this.get("meshGroup")).forEach(function(r){l.RD(r,n)}.bind(this))}},Ml:function(){this.N("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&0<this.get("composedAlpha")&&(this.get("visibleOnStop")||this.get("state")!=m.T));this.N("composedAlpha","meshGroup","inView")&&d.uf(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.Gn&&this.Gn.wf(this.get("inView"))},
CU:function(){this.Ra&&b.Na("AnimatedImageResource",this.Ra)?this.set("visibleOnStop",this.Ra.get("visibleOnStop")):this.set("visibleOnStop",!0)},FU:function(){this.set("levelURL",this.Ya.get("url"))},VF:function(){this.Fia()},Fia:function(){this.Gn&&(this.Gn.clear(),this.Gn=null);this.rc&&(this.rc.unbind(h.pa,this.VK,this,!0),this.rc.unbind(h.ne,this.Ala,this,!0),this.rc.clear(),this.rc=null);this.kj&&(this.kj.dispose(),this.kj=null);this.get("textureSource")&&(this.f9(),this.set("textureSource",
null));this.Ra&&(this.XNa(),this.Ra=null);this.Ya&&(this.$Na(),this.Ya=null)},yDa:function(){e.fa(this.Ra,["visibleOnStop"],this.CU,!0)},XNa:function(){e.ba(this.Ra,["visibleOnStop"],this.CU)},BDa:function(){e.fa(this.Ya,["url"],this.FU,!0)},$Na:function(){e.ba(this.Ya,["url"],this.FU)},WK:function(){this.f9();var n=this.get("image");if(b.Na("AnimatedImageResource",n)){this.rc=new q(this.get("textureSource").sf(),n.get("rowCount",1),n.get("colCount",1),n.get("frameDuration"),n.get("frameCount",n.get("rowCount",
1)*n.get("colCount",1)),n.get("repeat"),"first"==n.get("finalFrame"));var r=this.rc.og();this.rc.bind(h.ne,this.Ala,this,!0);this.rc.bind(h.pa,this.VK,this,!0);this.Gn=new c(n,this.rc);this.set("visibleOnStop",n.get("visibleOnStop"));this.set("state",this.rc.getState())}else r=this.get("textureSource").sf(),this.kj=new p(r),this.set("visibleOnStop",!0),this.set("state",null);this.Ml();this.set("contentWidth",r.width);this.set("contentHeight",r.height);this.get("textureSource").Zl(r);this.trigger(h.Vc);
this.trigger(h.Z)},Bla:function(){this.f9();this.trigger(h.Vc);this.trigger(h.Z)},Ala:function(){this.set("state",this.rc.getState())},VK:function(){this.get("textureSource").update();this.Aa()},ODa:function(){var n=this.get("textureSource");n.bind(h.Z,this.WK,this,!0);n.bind(h.tc,this.Bla,this,!0)},f9:function(){var n=this.get("textureSource");n.unbind(h.Z,this.WK,this,!0);n.unbind(h.tc,this.Bla,this,!0)},g5:function(n){return this.kj&&this.kj.xg==n.source?this.kj.info(n.x,n.y):p.info(n.source,n.x,
n.y)}}});
define("oE","require ky oH nx nz z".split(" "),function(a){function e(c){c=c.get("mapColor");return"image"==c||"transparent"==c||"any"==c}function h(c){c=c.get("mapColor");return"image"!=c&&"transparent"!=c&&"any"!=c}var m=a("ky"),k=a("oH"),b=a("nx"),g=a("nz"),d=new (a("z"));return{ox:function(){this.set("beamEnabled",!1);this.BU=this.BU.bind(this);this.hT=null;this.ai=[];this.qr=[];this.Mx=null},SYa:function(c){this.Mx!=c&&(this.X8(),this.Mx=c,this.pha())},vq:function(c){this.Ey=c.Sa;this.Dy=c.pitch},
X8:function(){this.Mx&&m.ba(this.Mx,["areas"],this.BU)},pha:function(){this.Mx&&m.fa(this.Mx,["areas"],this.BU,!0)},yG:function(){this.X8();this.pha()},zG:function(){this.Tqa([]);this.X8()},BU:function(){var c=this.Mx.get("areas",[]);b.Na("HotspotPanoramaOverlayImage",this.v)||b.Na("FlatHotspotPanoramaOverlayImage",this.v)||b.Na("QuadHotspotPanoramaOverlayImage",this.v)?this.hT=c.filter(e):this.hT=c.filter(h);this.hT.forEach(function(f){d.set(f,0)})},sn:function(c){if(c.gf==k.im){var f=this.T4(c);
if(0<f.length){c.az(f);this.rs(f)&&c.bz(f);c.Lk(this.get("distance"));var l=this.Nb(f,c.BD());l&&c.TX(l,this.Py(c.BD()))}this.Tqa(f,c.Ps(),c.BD())}else if(c.gf==k.Uj){if(f=this.T4(c),0<f.length){var p=!1;f.forEach(function(q){q.trigger(k.qa);!p&&1<q.bI(k.qa,!0).length&&(p=!0)});c.Lk(this.get("distance"));p&&c.Nq(f)}}else c.gf==k.$0?(f=this.T4(c),0<f.length&&(p=!1,f.forEach(function(q){var n={};c.Ps()&&(n=c.Ss().Nva());q.trigger(k.ub,n);!p&&1<q.bI(k.ub,!0).length&&(p=!0)}),this.qr=f,c.Lk(this.get("distance")),
p&&c.Nq(f))):c.gf==k.a1&&this.qr.length&&(this.qr.forEach(function(q){var n={};c.Ps()&&(n=c.Ss().Nva());q.trigger(k.Zb,n)}),this.qr=[])},T4:function(c){if(!this.get("beamEnabled")||0==this.get("alpha")||c.Mk())return[];var f=this.nu(c.bq);return 0==f.length?[]:this.hT.filter(function(l){var p=l.get("mapColor");return"any"==p?!0:"image"==p?f.some(function(q){return this.g5(q).kw}.bind(this)):"transparent"==p?f.every(function(q){return!this.g5(q).kw}.bind(this)):p&&"#"==p[0]?f.some(function(q){return 10>
g.AY(this.g5(q).color,p)}.bind(this)):!1}.bind(this))},Tqa:function(c,f,l){this.ai.forEach(function(q){if(0>c.indexOf(q)){var n=d.get(q)-1;d.set(q,n);0==n&&(q.trigger(k.ac,{center:l}),f&&q.trigger(k.$o))}});var p=this.ai;this.ai=c;this.ai.forEach(function(q){if(0>p.indexOf(q)){var n=(d.get(q)||0)+1;d.set(q,n);1==n&&(q.trigger(k.Wc,{center:l}),f&&q.trigger(k.mA))}})},Nb:function(c,f){for(var l="",p=c.length-1;0<=p&&""==l;p--){var q=c[p];if(!f||q.get("displayTooltipInTouchScreens")&&!1!==this.Ba.M.get("displayTooltipInTouchScreens"))l=
q.get("toolTip","")}return l},Py:function(c){if(c){c=this.get("yaw")-this.Ey;var f=this.get("pitch")-this.Dy;return Math.sqrt(c*c+f*f)}return 0},rs:function(c){for(var f=this.Mx.get("useHandCursor"),l=c.length-1;0<=l&&void 0===f;l--)f=c[l].get("useHandCursor");return!!f}}});
define("nw",["require","v","cB"],function(a){function e(){this.Lh=void 0;this.HF=this.lC=0;this.va=!0;this.cS=this.C$=this.P4=void 0;this.Ib=!1}var h=a("v"),m=a("cB"),k=Math.PI/180,b=h.browser()==h.Xh?[-.5,0]:[0,0];e.prototype.Ez=function(g){this.Lh!=g&&(this.Lh=g,this.va=!0)};e.prototype.Dz=function(g){if(g<this.lC+b[0]||g>this.lC+b[1])this.lC=g,this.va=!0};e.prototype.get=function(g,d){void 0!==d||(d=!0);this.va&&(this.ea(),this.va=!1);var c=this.P4.get(g)||0;g=(this.C$.get(g)||0)-c;d&&(180<g?g-=
360:-180>g&&(g+=360));return c+g*this.cS};e.prototype.dca=function(){this.va&&(this.ea(),this.va=!1);for(var g=this.P4.get("vertices"),d=this.C$.get("vertices"),c=[],f=0;f<g.length;f++){var l=g[f].get("yaw")||0,p=(d[f].get("yaw")||0)-l;180<p?p-=360:-180>p&&(p+=360);var q=g[f].get("pitch")||0,n=(d[f].get("pitch")||0)-q;c.push(new m(l+p*this.cS,q+n*this.cS))}g=this.pL&&this.pL.length==c.length;for(f=0;f<c.length&&g;f++)g=this.pL[f].get("yaw")==c[f].get("yaw")||this.pL[f].get("pitch")==c[f].get("pitch");
return g?this.pL:this.pL=c};e.prototype.Pk=function(){return this.get("opacity",!1)};e.prototype.tD=function(){var g=this.get("hfov")||this.get("vfov"),d=this.Lh[0].get("hfov")||this.Lh[0].get("vfov");return Math.tan(.5*g*k)/Math.tan(.5*d*k)};e.prototype.ea=function(){for(var g=this.HF,d,c=this.Lh.length-1,f,l;;){d=Math.min(g+1,c);f=this.mla(g);l=this.mla(d);if(f<=this.lC&&this.lC<=l)break;if(f>this.lC){if(0==g){d=g;break}--g}else{if(g==c){d=g;break}g+=1}}this.P4=this.Lh[g];this.C$=this.Lh[d];g=l-
f;this.cS=0<g?(this.lC-f)/g:0};e.prototype.mla=function(g){return this.Lh[g].get("timestamp")};return e});
define("cg",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),this.Pd,!0)},co:function(){e.ba(this.v,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),
this.Pd)},Pd:function(){this.set("horizontalAlign",this.v.get("horizontalAlign"));this.set("verticalAlign",this.v.get("verticalAlign"));this.set("scale",this.v.get("scale"));this.set("scaleMode",this.v.get("scaleMode"));this.set("width",this.v.get("width"));this.set("height",this.v.get("height"));this.set("offsetX",this.v.get("offsetX",.5*this.v.get("width")));this.set("offsetY",this.v.get("offsetY",.5*this.v.get("height")));this.set("distance",this.v.get("distance"));this.set("playbackPositions",
this.v.get("playbackPositions"))},pf:function(){this.N("playbackPositions","currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("yaw",this.mb.get("yaw")),this.set("pitch",this.mb.get("pitch")),this.set("roll",this.mb.get("roll")),this.set("alpha",this.mb.Pk()))}}});
define("jH","require lo ky oH ep c lz gV oE cg nh".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("ep"),b=a("c"),g=a("lz"),d=a("gV"),c=a("oE"),f=a("cg"),l=a("nh"),p=0;a=e.extend(b,g,f,d,c,function(q){b.call(this);this.set("tag","FlatHotspotImage");this.set("id","flat_hs_image_"+p++);this.v=q;this.kk.push(this.v);this.Wf=this.Wf.bind(this)});a.prototype.Mb=function(){b.prototype.Mb.call(this);h.fa(this.v,["image.levels"],this.Wf,!0)};a.prototype.Qb=function(){h.ba(this.v,["image.levels"],
this.Wf);b.prototype.Qb.call(this)};a.prototype.Wf=function(){this.set("image",this.v.get("image"));this.set("level",l.cVa(this.v))};a.prototype.ea=function(q){this.TC();b.prototype.ea.call(this,q);this.N("inView")&&this.v.trigger(this.get("inView")?m.kd:m.sd)};a.prototype.TC=function(){if(this.N("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&&q.children.forEach(function(n){k.setAttribute(n,k.Lz,this.get("panoramaId"));k.setAttribute(n,k.G_,this.get("id"))}.bind(this))}};return a});
define("bA",["require","oH","V"],function(a){var e=a("oH"),h=a("V");a={baa:function(l){if(this.Ba){var p=this.VIa(l);p?(l=this.Oka(this).some(function(q){return p.intersectsObject(q)}),this.G9(l)):this.G9(!1)}},Oka:function(l){var p=l.get("meshGroup"),q=[];p&&p.traverse(function(n){n.geometry&&n.visible&&(Array.isArray(n.material)?n.material.some(function(r){return 0<r.opacity}):0<n.material.opacity)&&q.push(n)});l.Kb().forEach(function(n){q=q.concat(this.Oka(n))}.bind(this));return q}};var m=new THREE.Frustum,
k=new THREE.PerspectiveCamera,b=90,g=.5,d=new THREE.Matrix4,c=Math.PI/180,f=180/Math.PI;a.VIa=function(l){l=h.lz(l.qg);if(!l)return null;var p=this.Ba.M.get("focusAreaScale");if(!k.projectionMatrix.equals(l.projectionMatrix)||!k.matrixWorldInverse.equals(l.matrixWorldInverse)||b!=l.fov||g!=p){k.copy(l);var q=.5*k.fov*c;k.fov=2*Math.atan2(g*Math.sin(q),Math.cos(q))*f;k.updateProjectionMatrix();m.setFromProjectionMatrix(d.copy(k.projectionMatrix).multiply(k.matrixWorldInverse));b=l.fov;g=p}return m};
a.F4=function(){this.n6=!1};a.G4=function(){this.G9(!1)};a.F9=function(l){this.dka=l};a.G9=function(l){this.n6!==l&&(this.n6=l,this.dka&&this.dka.trigger(this.n6?e.FBa:e.GBa))};return a});
define("mh","require lo ky oH iW bA ob v oj bF lp".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("iW"),b=a("bA"),g=a("ob");a("v");var d=a("oj"),c=a("bF"),f=a("lp");a=e.extend(k,b,function(l){k.call(this);this.v=l;this.kk.push(this.v);this.UU=this.UU.bind(this);this.TU=this.TU.bind(this);this.VU=this.VU.bind(this);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",!1);this.set("centerOver",!1);this.set("enabled",!0);this.set("visible",
!1);this.set("alpha",0);this.set("inVR",!1);this.set("overlaysEnabled",!0);this.set("enabledInVR",!0);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("centerOverDisplay",!1);this.set("rollOverDisplay",!1);this.set("loadingActive",!1);this.e2=this.f2=this.fo=this.Sd=this.Af=null;this.ai=[];this.d2=[];this.Pl=null;this.F9(this.v)});a.prototype.Mb=function(){this.Af=(new g(m.Z)).bm(this.VB.bind(this));this.Sd=(new g(m.ec)).Ho(this.ZB.bind(this));this.fo=(new g(m.Vc)).bm(this.$La.bind(this));
this.f2=(new g(m.Wc)).Ho(this.TLa.bind(this));this.e2=(new g(m.ac)).Ho(this.SLa.bind(this));k.prototype.Mb.call(this);h.fa(this.v,["items","rollOverItems","maps","rollOverMaps"],this.UU,!0);h.fa(this.v,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.VU,!0);h.fa(this.v,["areas"],this.TU,!0);this.F4()};a.prototype.Qb=function(){this.G4();this.lH([],this.ai);this.W$([],this.d2);this.Af.dispose();
this.Sd.dispose();this.fo.dispose();this.f2.dispose();this.e2.dispose();h.ba(this.v,["items","rollOverItems","maps","rollOverMaps"],this.UU);h.ba(this.v,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.VU);h.ba(this.v,["areas"],this.TU);this.get("visible")&&this.v.trigger(m.sd);k.prototype.Qb.call(this)};a.prototype.UU=function(){this.set("items",this.Ba.Pv(this.v.get("items",[])));
this.set("rollOverItems",this.Ba.Pv(this.v.get("rollOverItems",[])));this.set("maps",this.Ba.Pv(this.v.get("maps",[])));this.set("rollOverMaps",this.Ba.Pv(this.v.get("rollOverMaps",[])));var l=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));l.forEach(function(p){p.SYa(this.v)}.bind(this));this.get("items").forEach(function(p){p.set("projected",this.v.get("projected"))}.bind(this));this.Tg(l);this.Af.vf(l);this.Sd.vf(l);this.fo.vf(l)};a.prototype.VU=
function(){this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",this.v.get("fadeOutDuration"));this.set("enabled",this.v.get("enabled",!0));this.set("enabledInVR",this.v.get("enabledInVR"));this.set("enabledInStandard",this.v.get("enabledInStandard",!0));this.set("enabledInSurfaceSelection",this.v.get("enabledInSurfaceSelection",!0));this.set("centerOverDisplay",this.v.get("centerOverDisplay"));this.set("rollOverDisplay",this.v.get("rollOverDisplay",!1));this.set("interactionEnabled",
this.v.get("interactionEnabled",!0))};a.prototype.TU=function(){var l=this.v.get("areas");this.f2.vf(l);this.e2.vf(l)};a.prototype.ea=function(l){this.Ml(l);k.prototype.ea.call(this,l);this.Vd(l);this.baa(l)};a.prototype.Vd=function(l){this.set("inVR",l.Cb);this.set("surfaceSelection",l.tQ);this.set("hotspotsEnabled",l.xD);if(this.N("items","rollOverItems","maps","rollOverMaps","over","centerOver","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","surfaceSelection","enabledInSurfaceSelection",
"enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")||this.ka&&this.ka.N("composedAlpha")){var p=l=!1,q=this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))&&(!this.get("surfaceSelection")||this.get("enabledInSurfaceSelection"))&&this.ka&&0<this.ka.get("composedAlpha"),n=this.get("interactionEnabled");q&&(l=this.get("centerOver")&&!this.get("inVR"),p=this.get("over")||l,l=!this.get("rollOverDisplay")&&
!this.get("centerOverDisplay")||this.get("over")&&this.get("rollOverDisplay")||l&&!1!==this.get("centerOverDisplay")&&this.get("rollOverDisplay"));this.get("rollOverItems").forEach(function(w){w.set("visible",p);w.set("beamEnabled",q&&p&&n)});var r=0==this.get("rollOverItems").length;this.get("items").forEach(function(w){w.set("visible",r||!p);w.set("beamEnabled",q&&(r||!p)&&n)});this.get("rollOverMaps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&&p&&n)});var t=0==this.get("rollOverMaps").length;
this.get("maps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&&(t||!p)&&n)});this.set("visible",l)}if(this.N("visible")){l=this.get("alpha");var u=this.get("visible")?1:0,v=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(l-u);this.Pl=new d("linear",[new c("alpha",l,u)],Math.max(v,1));this.Aa();this.get("visible")?this.v.trigger(m.kd):this.v.trigger(m.sd)}};a.prototype.Ml=function(l){this.Pl&&(this.Pl.Re()?this.Pl=null:(this.Pl.zb(l.De),this.set("alpha",
this.Pl.cb("alpha"))),this.Aa())};a.prototype.VB=function(){this.Fj();this.trigger(m.Z)};a.prototype.$La=function(){this.Fj();this.trigger(m.Vc)};a.prototype.ZB=function(){this.Fj()};a.prototype.Fj=function(){var l=0;this.Sd.Cs(function(p){var q=0,n;this.Af.Ul(p)?q=100:(n=this.Sd.Ul(p))&&(q=n.Sg);l+=q}.bind(this));this.trigger(new f(m.ec,l/this.Sd.Xc.length))};a.prototype.TLa=function(l){l.data.center?this.W$([l.source],[]):this.lH([l.source],[])};a.prototype.SLa=function(l){l.data.center?this.W$([],
[l.source]):this.lH([],[l.source])};a.prototype.lH=function(l,p){this.Osa(this.ai,l,p);this.set("over",0<this.ai.length)};a.prototype.W$=function(l,p){this.Osa(this.d2,l,p);this.set("centerOver",0<this.d2.length)};a.prototype.Osa=function(l,p,q){p||(p=[]);q||(q=[]);q.forEach(function(n){n=l.indexOf(n);0<=n&&l.splice(n,1)});p.forEach(function(n){0>l.indexOf(n)&&l.push(n)})};return a});
define("cC",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.Pd,!0)},co:function(){e.ba(this.v,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.Pd)},Pd:function(){this.set("horizontalAlign",
this.v.get("horizontalAlign"));this.set("verticalAlign",this.v.get("verticalAlign"));this.set("scaleMode",this.v.get("scaleMode"));this.set("distance",this.v.get("distance"));this.set("scale",this.v.get("scale"));this.set("playbackPositions",this.v.get("playbackPositions"))},pf:function(){this.N("playbackPositions","currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("yaw",this.mb.get("yaw")),this.set("pitch",this.mb.get("pitch")),this.set("roll",
this.mb.get("roll")),this.set("rotationX",this.mb.get("rotationX")),this.set("rotationY",this.mb.get("rotationY")),this.set("hfov",this.mb.get("hfov")),this.set("vfov",this.mb.get("vfov")),this.set("alpha",this.mb.Pk()))}}});
define("eV","require lo ky oH ep c nV gV oE cC nh".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("ep"),b=a("c"),g=a("nV"),d=a("gV"),c=a("oE"),f=a("cC"),l=a("nh"),p=0;a=e.extend(b,g,d,c,f,function(q){b.call(this);this.set("tag","HotspotImage");this.set("id","hs_image_"+p++);this.set("side",THREE.DoubleSide);this.v=q;this.kk.push(this.v);this.Wf=this.Wf.bind(this)});a.prototype.Mb=function(){b.prototype.Mb.call(this);h.fa(this.v,["image.levels"],this.Wf,!0)};a.prototype.Qb=function(){h.ba(this.v,
["image.levels"],this.Wf);b.prototype.Qb.call(this)};a.prototype.Wf=function(){this.set("image",this.v.get("image"));this.set("level",l.hVa(this.v,this.get("panoramaPixelsPerDegree")))};a.prototype.ea=function(q){this.TC();b.prototype.ea.call(this,q);this.N("inView")&&this.v.trigger(this.get("inView")?m.kd:m.sd)};a.prototype.TC=function(){if(this.N("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&&q.children.forEach(function(n){k.setAttribute(n,k.Lz,this.get("panoramaId"));k.setAttribute(n,
k.G_,this.get("id"))}.bind(this))}};return a});
define("bu",["require","fc","a"],function(a){function e(k,b,g){this.Sf=k||new h(0,0,0);this.ej=b||new h(1,0,0);this.yz=g||new h(0,1,0)}var h=a("fc"),m=a("a");e.prototype.clone=function(){return new e(this.Sf.clone(),this.ej.clone(),this.yz.clone())};e.prototype.apply=function(k){k.JH(this.Sf);k.JH(this.ej);k.JH(this.yz)};e.prototype.intersection=function(k,b){var g=m.jz(k.Sf,k.ej),d=m.jz(this.Sf,k.Sf),c=m.jz(this.Sf,this.ej);c.fY(m.jz(this.Sf,this.yz));g=g.jD(c);if(!(0==g||b&&0>g))return b=-c.jD(d)/
g,new h(k.Sf.x+(k.ej.x-k.Sf.x)*b,k.Sf.y+(k.ej.y-k.Sf.y)*b,k.Sf.z+(k.ej.z-k.Sf.z)*b)};e.prototype.RZ=function(k,b){var g=m.jz(this.Sf,this.ej),d=m.jz(this.Sf,this.yz);k=m.jz(this.Sf,k);var c=g.bca(),f=d.bca();return b?new h(k.jD(g)/(c*c),k.jD(d)/(f*f),0):new h(k.jD(g)/c,k.jD(d)/f,0)};return e});
define("dD","require kP ib di fc bu fm md".split(" "),function(a){var e=a("kP"),h=a("ib"),m=a("di"),k=a("fc"),b=a("bu"),g=a("fm"),d=a("md"),c=Math.PI/180,f=180/Math.PI,l=new g,p=new h,q=new b,n=new k;return{get:function(r,t,u,v,w,x,y,A){r*=c;t*=c;t=new k(Math.sin(-r)*Math.cos(t),Math.sin(t),Math.cos(-r)*Math.cos(t));l.identity();l.rotateY(u*c);l.rotateZ(w*c);l.rotateX(v*c);t.apply(l);return 0<t.z?(p.mQ(y),p.Gza(A),p.PD(x*c),p.project(t),t):null},b0a:function(r,t,u){l.identity();l.rotateX(-u.Oc()*
c);l.rotateZ(-u.Qf()*c);l.rotateY(-u.Tc()*c);n.set(r,t,0);r=u.unproject(n).Zva();r.apply(l);return{Sa:r.Tc()*f,pitch:r.Oc()*f}},F1a:function(r,t,u,v,w,x,y,A,B,z,C,H,D,I){I||(I=d.Aw);D||(D=e.Sl(H,z,C));H||(H=e.Rq(D,z,C));var F=.5*z/Math.tan(.5*H*c),N=F*Math.tan(.5*H*c)*2,S=F*Math.tan(.5*D*c)*2;q.Sf.set(.5*+N,.5*+S,0);q.ej.set(.5*-N,.5*+S,0);q.yz.set(.5*+N,.5*-S,0);l.identity();l.rotateZ(-B*c);l.rotateX(-y*c);l.rotateY(A*c);l.translate(0,0,F);l.rotateZ(-x*c);l.rotateX(-w*c);l.rotateY(-v*c);l.rotateY(u.Tc()*
c);l.rotateZ(u.Qf()*c);l.rotateX(u.Oc()*c);q.apply(l);n.set(r,t,0);w=q.intersection(u.unproject(n));v={x:void 0,y:void 0,xScaled:void 0,yScaled:void 0};w&&0<w.z&&(w=q.RZ(w),v.xScaled=v.x=w.x/N,v.yScaled=v.y=w.y/S);if(I!=d.Aw){switch(I){case d.rh:var Q=Math.min(e.Rq(D,z,C),H);var R=Math.min(e.Sl(H,z,C),D);break;case d.Wq:Q=Math.max(e.Rq(D,z,C),H);R=Math.max(e.Sl(H,z,C),D);break;case d.Xo:Q=H;R=e.Sl(H,z,C);break;case d.Tj:Q=e.Rq(D,z,C),R=D}if(Q!=H||R!=D)N=F*Math.tan(.5*Q*c)*2,S=F*Math.tan(.5*R*c)*2,
q.Sf.set(.5*+N,.5*+S,0),q.ej.set(.5*-N,.5*+S,0),q.yz.set(.5*+N,.5*-S,0),q.apply(l),n.set(r,t,0),(w=q.intersection(u.unproject(n)))&&0<w.z&&(w=q.RZ(w),v.xScaled=w.x/N,v.yScaled=w.y/S)}return v},j1a:function(r,t,u,v,w,x,y){y=.5*w/Math.tan(.5*y*c);q.Sf.set(.5*+w,.5*+x,y);q.ej.set(.5*-w,.5*+x,y);q.yz.set(.5*+w,.5*-x,y);l.identity();l.rotateZ(-v*c);l.rotateX(-u*c);l.rotateY(-t*c);l.rotateY(r.Tc()*c);l.rotateZ(r.Qf()*c);l.rotateX(r.Oc()*c);q.apply(l);r=new m(new k(0,0,0),new k(0,0,1));return(r=q.intersection(r))&&
0<r.z?(r=q.RZ(r),{x:r.x/w,y:r.y/x}):null}}});
define("dW",["require","hT","gU","ep","ko"],function(a){var e=a("hT"),h=a("gU"),m=a("ep"),k=a("ko"),b=Math.PI/180;return{Xt:function(){this.set("distance",void 0);this.set("width",100);this.set("height",100);this.set("offsetX",void 0);this.set("offsetY",void 0);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.Ig=this.nx();this.qB=h.RH();this.vm=new THREE.Matrix4;this.QE=new THREE.Matrix4;this.UG=new THREE.Matrix4;this.Xma=new THREE.Matrix4;this.Yi=new THREE.Matrix4;this.Gl=new THREE.Matrix4;
this.ii=new THREE.Matrix4},Av:function(g){this.tq(g)},vF:function(){var g=this.get("meshGroup");return g?m.Ok(g)[0]:null},Hn:function(){return[0].map(function(g){var d=this.dK();g=m.create(this.Ig[g],d);k.dw(g,k.Yo);k.ew(g,k.Zq);k.RD(g,e.mJ);k.iQ(g,1);return g}.bind(this))},nx:function(){return[h.RH()]},tq:function(g){var d=!1,c=!1;this.set("rendererYaw",g.Sa);this.set("rendererPitch",g.pitch);this.set("rendererRoll",g.bf);this.set("rendererCameraFOV",g.Vh);this.set("rendererWidth",g.width);this.set("rendererHeight",
g.height);this.set("inVR",g.Cb);if(this.N("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var f=0==this.get("composedTranslationX")&&0==this.get("composedTranslationY")&&0==this.get("composedTranslationZ")&&void 0!==this.get("distance");this.set("z",f?h.qD(this.get("distance")):h.Mv())}this.N("z")&&(this.vm.makeTranslation(0,0,-this.get("z")),c=!0);g.Vh&&this.N("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(g.Vh*b*.5)*this.get("z")*2);g.camera&&this.N("rendererYaw",
"rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")&&(this.QE.copy(g.camera.matrixWorld),d=this.get("rendererHeightZ"),f=d*g.camera.aspect,f=(this.get("centerX")-.5*g.width)*f/g.width*.5,d=(.5*g.height-this.get("centerY"))*d/g.height*.5,this.UG.makeTranslation(f,d,0),d=!0);this.N("roll")&&(this.Yi.makeRotationZ(this.get("roll")*b),d=!0);g.Vh&&(c||this.N("rendererHeight","inVR","rendererHeightZ","width","height","flipHorizontally"))&&
(c=g.Cb?512/g.height:1,g=(this.get("flipHorizontally")?-1:1)*this.get("width")*c,c*=this.get("height"),this.Gl.makeScale(g,c,1),d=!0);this.N("width","height","offsetX","offsetY")&&(g=.5-this.get("offsetX")/this.get("width"),c=this.get("offsetY")/this.get("height")-.5,this.Xma.makeTranslation(g,c,0),d=!0);d&&(this.ii.copy(this.QE),this.ii.multiply(this.vm),this.ii.multiply(this.UG),this.ii.multiply(this.Yi),this.ii.multiply(this.Gl),this.ii.multiply(this.Xma),m.Bq(this.get("meshGroup"),this.ii))}}});
define("jL",["require","lo","c","dW"],function(a){var e=a("lo"),h=a("c");a=a("dW");return e.extend(h,a,function(){h.call(this);this.set("tag","Sprite")})});
define("gH",["require","nz"],function(a){function e(m,k,b,g,d,c){this.po=k;this.O=document.createElement("canvas");this.O.width=this.po;this.O.height=this.po;switch(m){case e.bJ:this.yHa(b,g,d,c);break;case e.TQ:this.zHa(b,g,d,c)}}var h=a("nz");e.prototype.rd=function(){return this.po};e.prototype.ee=function(){return this.po};e.prototype.og=function(){return this.O};e.prototype.yHa=function(m,k,b,g){var d=.5*this.po,c=.5*this.po,f=.5*this.po,l=this.O.getContext("2d");k=h.JP(k);for(var p=l.createRadialGradient(d,
c,0,d,c,f),q=0;q<b.length;q++)p.addColorStop(g[q],"rgba("+k[0]+","+k[1]+","+k[2]+","+b[q]+")");l.fillStyle=p;l.globalAlpha=m;l.beginPath();l.arc(d,c,f,0,2*Math.PI,!0);l.closePath();l.fill()};e.prototype.zHa=function(m,k,b,g){var d=.5*this.po,c=.5*this.po,f=.5*this.po,l=this.O.getContext("2d");l.clearRect(0,0,this.po,this.po);var p=h.JP(k),q=l.createRadialGradient(d,c,0,d,c,f);for(k=0;k<b.length;k++)q.addColorStop(g[k],"rgba("+p[0]+","+p[1]+","+p[2]+","+b[k]+")");l.fillStyle=q;l.globalAlpha=m;l.beginPath();
for(k=0;6>k;k++)b=45*Math.PI/180+2*Math.PI*k/6,m=d+Math.cos(b)*f,b=c+Math.sin(b)*f,0==k?l.moveTo(m,b):l.lineTo(m,b);l.closePath();l.fill()};e.bJ="circle";e.TQ="hexagon";return e});
define("nj","require lo ky oH dD iW dj jL gH fd".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("dD"),b=a("iW"),g=a("dj"),d=a("jL"),c=a("gH"),f=a("fd");a=e.extend(b,function(p){b.call(this);this.v=p;this.kk.push(this.v);this.Wf=this.Wf.bind(this);this.set("tag","LensFlare");this.set("translationAlpha",0);this.g2=this.aGa();this.Ef=this.XGa();this.Tg(this.g2.concat([this.Ef]))});a.prototype.Mb=function(){b.prototype.Mb.call(this);this.trigger(m.Vc);this.trigger(m.Z);h.fa(this.v,["yaw",
"pitch","bleaching","bleachingDistance"],this.Wf,!0)};a.prototype.Qb=function(){h.ba(this.v,["yaw","pitch","bleaching","bleachingDistance"],this.Wf);b.prototype.Qb.call(this)};a.prototype.Wf=function(){this.set("yaw",this.v.get("yaw"));this.set("pitch",this.v.get("pitch"));this.set("bleaching",this.v.get("bleaching"));this.set("bleachingDistance",this.v.get("bleachingDistance"))};a.prototype.ea=function(p){b.prototype.ea.call(this,p);this.set("rendererYaw",p.Sa);this.set("rendererPitch",p.pitch);
this.set("rendererRoll",p.bf);this.set("rendererCameraFOV",p.Vh);this.set("rendererWidth",p.width);this.set("rendererHeight",p.height);this.set("inVR",p.Cb);if(this.N("composedTranslationX","composedTranslationY","composedTranslationZ")){var q=this.get("composedTranslationX"),n=this.get("composedTranslationY"),r=this.get("composedTranslationZ");this.set("translationAlpha",Math.max(0,1-10*Math.sqrt(q*q+n*n+r*r)))}if(this.N("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth",
"rendererHeight","inVR","yaw","pitch","translationAlpha","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var t=p.Sa+this.get("composedDeltaYaw"),u=p.pitch+this.get("composedDeltaPitch"),v=p.bf+this.get("composedDeltaRoll");q=this.get("translationAlpha");r=n=0;if(!p.Cb&&(t=k.get(this.get("yaw"),this.get("pitch"),t,u,v,p.Vh,p.width,p.height))){var w=.5*p.width;var x=.5*p.height;var y=t.x;var A=t.y;w=2*(w-y);x=2*(x-A);r=Math.sqrt(w*w+x*x);t=Math.min(p.width,p.height);n=Math.max(0,Math.min(.7,
1-r/Math.sqrt(p.width*p.width,p.height*p.height)))*q;p=this.get("bleaching");r=1-Math.max(0,Math.min(1,r/(t*this.get("bleachingDistance"))));r=p*r*q}for(p=0;p<this.g2.length;p++)q=this.g2[p],q.set("alpha",n),0<n&&(q.set("centerX",y+w*l[p].position),q.set("centerY",A+x*l[p].position));this.Ef.set("alpha",r)}};a.prototype.aGa=function(){return l.map(function(p){var q=(new c(p.form,p.WD,p.opacity,p.color,p.uD,p.vD)).og(),n=new f;n.Zl(q);q=new d;q.set("textureSource",n);q.set("width",p.size);q.set("height",
p.size);q.set("offsetX",.5*p.size);q.set("offsetY",.5*p.size);q.set("alpha",0);return q})};a.prototype.XGa=function(){return new g("#ffffff")};var l=[{form:c.TQ,position:.1,size:52,WD:128,opacity:.8,color:"#FCFCFC",uD:[1,.5],vD:[0,.866]},{form:c.TQ,position:.2,size:52,WD:128,opacity:.6,color:"#C8FCC8",uD:[1,.5],vD:[0,.866]},{form:c.bJ,position:.36,size:112,WD:128,opacity:.5,color:"#C8C8FC",uD:[1,.9,.6,0],vD:[0,.2,.4,1]},{form:c.bJ,position:.47,size:32,WD:128,opacity:.3,color:"#96C8AF",uD:[1,1,0],
vD:[0,.9,1]},{form:c.bJ,position:.65,size:52,WD:128,opacity:.7,color:"#FCFCFC",uD:[.7,.7,.2,0],vD:[0,.1,.4,1]},{form:c.TQ,position:.88,size:128,WD:128,opacity:.4,color:"#AF96C8",uD:[1,.5],vD:[0,.866]},{form:c.bJ,position:1,size:33,WD:128,opacity:.8,color:"#C89696",uD:[.8,.8,.6,0],vD:[0,.2,.4,1]}];return a});
define("dg",["require","bR","hs"],function(a){function e(b,g){this.vb=b;this.npa=5;this.ae=g.map(function(d){return new h(b,d)});this.NF=this.OF=this.yh=this.xf=0;this.jaa();this.O=document.createElement("canvas");this.O.width=this.xf;this.O.height=this.yh;this.xa=this.O.getContext("2d");this.va=!0;this.nf=this.hpa=-1}function h(b,g){this.CD=b;this.item=g;this.label=g.get("label");this.fontFamily=this.CD.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.CD.get("backgroundColor",
"#000000");this.dza=this.CD.get("rollOverBackgroundColor",this.backgroundColor);this.nYa=this.CD.get("selectedBackgroundColor",this.dza);this.nva=this.CD.get("fontColor","#000000");this.eza=this.CD.get("rollOverFontColor",g.nva);this.oYa=this.CD.get("selectedFontColor",g.eza);this.wAa=this.vAa=this.xAa=this.yAa=this.height=this.width=this.left=this.top=0;this.status=!1;this.wca=!0}var m=a("bR"),k=a("hs");h.prototype.$_a=function(){var b=new m.j1;b.fontFamily=this.fontFamily;b.fontSize=this.fontSize;
b=m(this.label,b);this.yAa=b.width;this.xAa=b.height};h.prototype.PZa=function(b){this.status!=b&&(this.status=b,this.wca=!0)};h.prototype.xUa=function(b){if(this.wca){this.wca=!1;switch(this.status){case "normal":var g=this.backgroundColor;var d=this.nva;break;case "over":g=this.dza;d=this.eza;break;case "selected":g=this.nYa,d=this.oYa}b.clearRect(this.left,this.top,this.width,this.height);b.fillStyle=g;b.fillRect(this.left,this.top,this.width,this.height);b.fillStyle=d;b.font=this.fontSize+" '"+
this.fontFamily+"'";b.font=this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+k.Jv(this.fontFamily);b.textBaseline="middle";b.textAlign="center";b.fillText(this.label,Math.round(this.vAa),Math.round(this.wAa));return!0}return!1};e.prototype.rd=function(){return this.xf};e.prototype.ee=function(){return this.yh};e.prototype.og=function(){return this.O};e.prototype.jaa=function(){var b=0,g=0;this.ae.forEach(function(l){l.$_a();b=Math.max(l.yAa,b);g=Math.max(l.xAa,g)});this.OF=b+2*this.npa;this.NF=g+2*
this.npa;var d=0,c=0,f=0;this.yL=20;20<this.ae.length&&(this.yL=Math.ceil(this.ae.length/Math.ceil(this.ae.length/20)));this.ae.forEach(function(l){f>=this.yL&&(f=0,c+=this.OF,d=0);l.left=c;l.top=d;l.vAa=c+.5*this.OF;l.wAa=d+.5*this.NF;l.width=this.OF;l.height=this.NF;f+=1;d+=this.NF}.bind(this));this.xf=Math.ceil(this.ae.length/this.yL)*this.OF;this.yh=Math.min(this.yL,this.ae.length)*this.NF};e.prototype.update=function(){for(var b=!1,g=0;g<this.ae.length;g++)this.ae[g].PZa(this.hpa==g?"over":this.nf==
g?"selected":"normal"),b=this.ae[g].xUa(this.xa)||b;return b};e.prototype.Dva=function(b,g){var d=-1;0<=b&&b<this.xf&&0<=g&&g<this.yh&&(d=Math.floor(b/this.OF)*this.yL+Math.floor(g/this.NF),d>=this.ae.length&&(d=-1));return d};e.prototype.Yda=function(b){this.hpa=b};e.prototype.fea=function(b){this.nf=b};e.prototype.clear=function(){this.ae=this.O=this.xa=this.vb=null};return e});
define("by","require lo ky oH jt dg fd oj bF bv".split(" "),function(a){function e(n,r,t){n=(r-n)*(1-t);1E-5>Math.abs(n)&&(n=0);return r-n}var h=a("lo"),m=a("ky"),k=a("oH"),b=a("jt"),g=a("dg"),d=a("fd"),c=a("oj"),f=a("bF"),l=a("bv");a=h.extend(b,function(n){b.call(this);this.vb=n;this.Lp=this.Lp.bind(this);this.$n=this.O=null;this.sv=this.$m=this.I8=this.$u=void 0;this.uia=20;this.eg=null;this.wb=this.vb.get("opacity",.5);this.AM=this.vb.get("rollOverOpacity",this.wb);this.BLa=1;this.DLa=.66;this.set("tag",
"MenuButton");this.set("visible",!1);this.set("over",!1);this.set("centerDistance",void 0)});a.prototype.Mb=function(){b.prototype.Mb.call(this);m.fa(this.vb,["label"],this.Lp,!0)};a.prototype.Qb=function(){m.ba(this.vb,["label"],this.Lp);b.prototype.Qb.call(this)};a.prototype.Lp=function(){this.O=null};a.prototype.ea=function(n){this.sq(n);this.lg(n);this.SC(n);this.pf(n);this.Vd(n);b.prototype.ea.call(this,n)};a.prototype.sq=function(n){n.Cb&&!this.$n&&l.getType()==l.uA.Vk&&this.Tg([this.$n=new b])};
a.prototype.lg=function(){this.get("visible")&&(this.O||(this.get("textureSource")||this.set("textureSource",new d),this.O=new g(this.vb,[this.vb]),this.get("textureSource").Zl(this.O.og()),this.set("contentWidth",this.O.rd()),this.set("contentHeight",this.O.ee()),this.set("hfov",2*Math.atan2(.5*this.O.rd(),300)*q),this.set("distance",this.vb.get("distance"))),this.O.update()&&(this.get("textureSource").update(),this.Aa()),this.N("over")&&this.O.Yda(this.get("over")?0:-1))};a.prototype.SC=function(n){this.N("visible")&&
(this.eg=new c("linear",[new f("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,void 0)],300));this.eg&&(this.eg.Re()?this.eg=null:this.eg.zb(n.De))};a.prototype.pf=function(n){if(this.get("visible")||this.eg){this.$m=n.Sa;this.sv=Math.min(90,Math.max(-90,this.uia+this.uia-n.pitch));if(this.N("visible")&&this.get("visible"))this.set("yaw",n.Sa),this.set("pitch",n.pitch);else{for(;this.$m+180<this.$u;)this.$u-=360;for(;this.$m-180>this.$u;)this.$u+=360;var r=(this.$m-this.$u)/n.De,t=(this.sv-
this.I8)/n.De,u=Math.atan2(t,r);t=Math.sqrt(t*t+r*r);t=Math.min(t,10*p);r=Math.cos(u)*t;u=Math.sin(u)*t;this.set("yaw",e(this.get("yaw"),this.$m+r,.02));this.set("pitch",e(this.get("pitch"),this.sv+u,.02))}this.$u=this.$m;this.I8=this.sv;u=this.get("yaw")-n.Sa;n=this.get("pitch")-n.pitch;this.set("centerDistance",Math.sqrt(u*u+n*n))}};a.prototype.Vd=function(){if(!this.get("visible")&&!this.eg)this.set("alpha",0);else if(this.N("over","centerDistance")||this.eg){var n=this.get("over")?this.AM:this.wb,
r=this.DLa,t=this.get("centerDistance")/this.get("hfov");1>t&&(r+=(1-t)*(this.BLa-r),n+=(1-t)*(this.AM-n));this.eg&&(n*=this.eg.cb("displayCoef"),r*=this.eg.cb("displayCoef"));this.set("alpha",n);this.set("scale",r)}};a.prototype.sn=function(n){if(n.gf==k.im){var r=!1;this.get("visible")&&!n.Mk()&&(r=0<this.nu(n.bq).length);r&&(n.az(this.vb),n.bz(this.vb),n.Lk(this.get("distance")));this.get("over")!=r&&(this.get("over")&&this.vb.trigger(k.ac),this.set("over",r),this.get("over")&&this.vb.trigger(k.Wc))}else n.gf==
k.Uj&&this.get("visible")&&!n.Mk()&&0<this.nu(n.bq).length&&(n.Nq(this.vb),this.vb.trigger(k.qa),this.trigger(k.qa))};var p=Math.PI/180,q=180/Math.PI;return a});
define("jx","require lo ky oH jt dg fd oj bF bv".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("jt"),b=a("dg"),g=a("fd"),d=a("oj"),c=a("bF"),f=a("bv");a=e.extend(k,function(p,q){k.call(this);this.vb=p;this.by=q;this.Lp=this.Lp.bind(this);this.O=null;this.I8=this.$u=void 0;this.eg=null;this.wb=this.vb.get("opacity",.5);this.AM=this.vb.get("rollOverOpacity",this.wb);this.set("textureSource",new g);this.set("tag","MenuPanel");this.set("overIndex",-1);this.set("selectedIndex",-1);this.tja=
!1});a.prototype.Mb=function(){k.prototype.Mb.call(this);h.fa(this.vb,["label"],this.Lp,!0);this.by.forEach(function(p){h.fa(p,["label"],this.Lp,!0)}.bind(this))};a.prototype.Qb=function(){h.ba(this.vb,["label"],this.Lp);this.by.forEach(function(p){h.ba(p,["label"],this.Lp)}.bind(this));k.prototype.Qb.call(this)};a.prototype.Lp=function(){this.O=null};a.prototype.ea=function(p){this.sq(p);this.lg(p);this.SC(p);this.pf(p);k.prototype.ea.call(this,p)};a.prototype.jGa=function(){this.O||(this.O=new b(this.vb,
this.by),this.get("textureSource").Zl(this.O.og()),this.set("contentWidth",this.O.rd()),this.set("contentHeight",this.O.ee()),this.set("hfov",2*Math.atan2(.5*this.O.rd(),300)*l),this.set("distance",this.vb.get("distance")))};a.prototype.lg=function(){this.O||this.jGa();this.N("selectedIndex")&&this.O.Yda(this.get("selectedIndex"));this.N("overIndex")&&this.O.Yda(this.get("overIndex"));this.O.update()&&(this.get("textureSource").update(),this.Aa())};a.prototype.sq=function(p){p.Cb&&!this.$n&&f.getType()==
f.uA.Vk&&this.Tg([this.$n=new k])};a.prototype.SC=function(p){this.eg||this.tja||(this.eg=new d("linear",[new c("alpha",0,1,void 0),new c("scale",0,1,void 0),new c("yaw",p.Sa,this.get("yaw"),void 0),new c("pitch",p.pitch,this.get("pitch"),void 0)],300));this.eg&&(this.eg.Re()?(this.tja=!0,this.eg=null):this.eg.zb(p.De))};a.prototype.pf=function(){if(this.eg){var p=0>this.get("overIndex")?this.wb:this.AM;this.set("alpha",p*this.eg.cb("alpha"));this.set("scale",this.eg.cb("scale"));this.set("yaw",this.eg.cb("yaw"));
this.set("pitch",this.eg.cb("pitch"))}else this.N("overIndex")&&(p=0>this.get("overIndex")?this.wb:this.AM,this.set("alpha",p))};a.prototype.sn=function(p){if(p.gf==m.im){var q=-1;if(!p.Mk()){var n=this.nu(p.bq).filter(function(r){return r.source==this.O.og()}.bind(this));0<n.length&&(q=this.O.Dva(n[0].x,n[0].y))}0<=q&&(p.az(this.by[q]),p.bz(this.by[q]),p.Lk(this.get("distance")));0<=this.get("overIndex")!=0<=q&&(0<q?this.trigger(m.Wc):this.trigger(m.ac));this.get("overIndex")!=q&&(0<=this.get("overIndex")&&
this.by[this.get("overIndex")].trigger(m.ac),this.set("overIndex",q),0<=this.get("overIndex")&&this.by[this.get("overIndex")].trigger(m.Wc))}else p.gf!=m.Uj||p.Mk()||(n=this.nu(p.bq).filter(function(r){return r.source==this.O.og()}.bind(this)),0<n.length&&(q=this.O.Dva(n[0].x,n[0].y),0<=q&&(n=this.by[q],this.set("selectedIndex",q),p.Nq(n),p.Lk(this.get("distance")),n.trigger(m.qa),this.trigger(m.qa,{item:n}))))};var l=180/Math.PI;return a});
define("ir",["require","lo","oH","iW","jx"],function(a){var e=a("lo"),h=a("oH"),m=a("iW"),k=a("jx");a=e.extend(m,function(d){m.call(this);this.vb=d;this.vy=[];this.rG=null;this.set("tag","MenuPanels");this.set("visible",!1)});a.prototype.ea=function(d){this.N("visible")&&this.get("visible")&&(this.set("yaw",d.Sa),this.set("pitch",d.pitch),this.xha(this.vb));m.prototype.ea.call(this,d)};a.prototype.xha=function(d){d=new k(this.vb,d.get("children",[]));var c=this.get("yaw");this.Kb().forEach(function(f){c+=
f.get("hfov")+g});d.set("yaw",c);d.set("pitch",this.get("pitch"));this.IDa(d);this.appendChild(d)};a.prototype.iqa=function(d){this.Kb().slice(d).forEach(function(c){this.eOa(c);c.remove()}.bind(this));this.vy=this.vy.filter(function(c){return 0<=this.Kb().indexOf(c)}.bind(this))};a.prototype.IDa=function(d){d.bind(h.Wc,this.qpa,this,!0);d.bind(h.ac,this.ppa,this,!0);d.bind(h.qa,this.opa,this,!0)};a.prototype.eOa=function(d){d.unbind(h.Wc,this.qpa,this,!0);d.unbind(h.ac,this.ppa,this,!0);d.unbind(h.qa,
this.opa,this,!0)};a.prototype.qpa=function(d){0>this.vy.indexOf(d.source)&&(this.vy.push(d.source),1==this.vy.length&&this.Hia())};a.prototype.ppa=function(d){d=this.vy.indexOf(d.source);0<=d&&(this.vy.splice(d,1),0==this.vy.length&&this.APa())};a.prototype.opa=function(d){var c=d.source;d=d.data.item;d.get("children",[]).length?(this.iqa(this.Kb().indexOf(c)+1),this.xha(d)):this.Lia()};a.prototype.Lia=function(){this.set("visible",!1);this.iqa(0);this.Hia();this.trigger(h.hE)};a.prototype.Hia=function(){this.rG&&
(clearTimeout(this.rG),this.rG=null)};a.prototype.APa=function(){this.rG||(this.rG=setTimeout(function(){this.rG=null;this.Lia()}.bind(this),b))};var b=3E3,g=1;return a});
define("gb","require lo oH iW by ir".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("iW"),k=a("by"),b=a("ir");a=e.extend(m,function(g){m.call(this);this.v=g;this.kk.push(this.v);this.set("tag","Menu");this.set("visible",!1);this.Zd=new k(this.v);this.Zd.bind(h.qa,this.QEa,this,!1);this.Jh=new b(this.v);this.Jh.bind(h.hE,this.hNa,this,!1);this.Tg([this.Zd,this.Jh])});a.prototype.Mb=function(){m.prototype.Mb.call(this);this.trigger(h.Vc);this.trigger(h.Z)};a.prototype.ea=function(g){this.set("visible",
g.Cb);this.N("visible")&&(this.Zd.set("visible",this.get("visible")),this.Jh.set("visible",!1));m.prototype.ea.call(this,g)};a.prototype.QEa=function(){this.Zd.set("visible",!1);this.Jh.set("visible",!0)};a.prototype.hNa=function(){this.Zd.set("visible",this.get("visible"))};return a});
define("ld","require lo oH jt fd ob lp".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("jt"),k=a("fd"),b=a("ob"),g=a("lp");a=e.extend(m,function(){m.call(this);this.set("tag","CustomPlane");this.set("source",null);this.set("sourceUpdated",!1);this.Sd=this.Kg=null});a.prototype.Mb=function(){this.Kg=(new b(h.Z)).bm(this.Kp.bind(this));this.Sd=(new b(h.Z)).Ho(this.Su.bind(this));m.prototype.Mb.call(this)};a.prototype.Qb=function(){this.Kg.dispose();this.Sd.dispose();m.prototype.Qb.call(this)};a.prototype.ea=
function(d){if(this.N("source","sourceUpdated","useMipmapping","anisotropy")){var c=this.get("textureSource");c||this.set("textureSource",c=new k);this.N("source")&&c.Zl(this.get("source"));this.N("sourceUpdated")&&(c.update(),this.set("sourceUpdated",!1));this.N("useMipmapping")&&c.z_(this.get("useMipmapping"),this.get("anisotropy"))}m.prototype.ea.call(this,d);this.N("meshGroup")&&(d=(d=this.get("meshGroup"))&&d.children||[],d.length&&(this.Kg.vf(d),this.Sd.vf(d)))};a.prototype.Kp=function(){this.trigger(h.Vc);
this.trigger(h.Z)};a.prototype.Su=function(d,c){var f=0;c.Cs(function(l){(l=c.Ul(l))&&(f+=l.Sg)});this.trigger(new g(h.ec,f/c.Xc.length))};return a});
define("hc","require lo ky oH gU iW ld lM di bu".split(" "),function(a){function e(n,r,t){this.LZ=n;this.LZ.bind(k.G("distanceToFloor"),this.ea,this,!1);this.Gj=r;this.Gj.bind(k.G("yaw"),this.ea,this,!1);this.Gj.bind(k.G("distance"),this.ea,this,!1);this.Gj.bind(k.G("enabled"),this.ea,this,!1);this.Gj.bind(k.G("enabledInSurfaceSelection"),this.ea,this,!1);this.Za=null;this.Yl=new d;this.Yl.set("hfov",20);this.Yl.set("vfov",20);this.Yl.set("pitch",-90);this.Yl.set("useMipmapping",!0);this.Yl.set("anisotropy",
16);this.Yl.set("source",t.og());this.Yl.set("contentWidth",t.rd());this.Yl.set("contentHeight",t.ee());this.ea()}var h=a("lo"),m=a("ky"),k=a("oH"),b=a("gU"),g=a("iW"),d=a("ld"),c=a("lM"),f=a("di"),l=a("bu");a=h.extend(g,function(n){g.call(this);this.zU=this.zU.bind(this);this.Lr=this.Lr.bind(this);this.wU=this.wU.bind(this);this.set("tag","SurfaceSelector");this.set("reticleVisible",!1);this.set("enabled",!1);this.la=n;this.qR=[];this.BK=new l;this.Cj=new f;this.Td=new d;this.Td.set("useMipmapping",
!0);this.Td.set("anisotropy",16);this.Td.set("hfov",20);this.Td.set("vfov",20);this.Td.set("pitch",-90);this.set("reticleCoef",1);this.Tg([this.Td])});a.prototype.Mb=function(){this.IGa();g.prototype.Mb.call(this);m.fa(this.la,["distanceToFloor"],this.zU,!0);m.fa(this.la,["adjacentPanoramas"],this.Lr,!0);m.fa(this.Ba.yc,["adjacentPanoramaPositionsEnabled"],this.wU,!0);this.trigger(k.Vc);this.trigger(k.Z)};a.prototype.Qb=function(){g.prototype.Qb.call(this);m.ba(this.la,["distanceToFloor"],this.zU);
m.ba(this.la,["adjacentPanoramas"],this.Lr);m.ba(this.Ba.yc,["adjacentPanoramaPositionsEnabled"],this.wU);this.Sqa([])};a.prototype.zU=function(){var n=this.la.get("distanceToFloor");this.Td.set("distance",n);n=b.qD(n);var r=b.fca(n,90),t=b.gca(n,90);this.BK.Sf.set(.5*-r,-n,.5*-t);this.BK.ej.set(.5*r,-n,.5*-t);this.BK.yz.set(.5*-r,-n,.5*t);this.tqa=n/b.Mv()};a.prototype.Lr=function(){this.Sqa(this.la.get("adjacentPanoramas",[]))};a.prototype.wU=function(){this.Lr()};a.prototype.Sqa=function(n){this.qR.forEach(function(r){r.clear()});
this.qR=n.map(function(r){return new e(this.la,r,this.z8)}.bind(this));n=[];this.Ba.yc.get("adjacentPanoramaPositionsEnabled")&&(n=n.concat(this.qR.map(function(r){return r.Yl})));n=n.concat([this.Td]);this.Tg(n)};a.prototype.ea=function(n){g.prototype.ea.call(this,n);this.set("enabled",n.tQ);this.Daa();this.Xy(n)};a.prototype.Daa=function(){this.N("enabled","reticleVisible","composedTranslationX","composedTranslationY","composedTranslationZ","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&
(this.Td.set("alpha",this.get("reticleVisible")?1:0),this.set("alpha",!this.get("enabled")||this.get("composedTranslationX")||this.get("composedTranslationY")||this.get("composedTranslationZ")||this.get("composedDeltaYaw")||this.get("composedDeltaPitch")||this.get("composedDeltaRoll")?0:1),this.Ssa())};a.prototype.IGa=function(){this.MG=new c(this.Ba.M);this.MG.setPosition(this.get("reticleCoef"));this.Td.set("source",this.MG.og());this.Td.set("contentWidth",this.MG.rd());this.Td.set("contentHeight",
this.MG.ee());this.z8=new c(this.Ba.M);this.z8.setPosition(0);this.z8.update(1)};a.prototype.Xy=function(n){this.N("reticleCoef")&&this.MG.setPosition(this.get("reticleCoef"));this.Td.set("sourceUpdated",this.MG.update(n.De))};a.prototype.sn=function(n){if(!this.get("enabled")||0==n.bq.length||n.Mk()||n.xXa())this.set("reticleVisible",!1);else{var r=n.bq[0];this.Cj.Sf.set(r.origin.x,r.origin.y,r.origin.z);this.Cj.ej.set(r.origin.x+r.direction.x,r.origin.y+r.direction.y,r.origin.z+r.direction.z);if(r=
this.BK.intersection(this.Cj,!0)){var t=this.BK.RZ(r,!0),u=2*(.5-t.x);t=2*(.5-t.y);var v=p*Math.atan2(-u,t),w=-90+p*Math.atan2(Math.sqrt(u*u+t*t),1);if(-75>w||-1<w)this.set("reticleVisible",!1);else{var x={x:u*this.tqa,y:-t*this.tqa};n.Ps()||n.Pwa()?n.gf==k.im&&(this.set("reticleVisible",!0),this.Td.set("alpha",Math.min(1,(w- -75)/5)),this.Td.set("translationX",x.x),this.Td.set("translationZ",x.y)):this.set("reticleVisible",!1);var y=.5*this.Ba.yc.get("surfaceSelectionHorizontalAngle"),A=.5*this.Ba.yc.get("surfaceSelectionVerticalAngle");
t=this.qR.map(function(B){var z=B.gVa(v),C=B.HVa(w),H=B.AY(x);return{Gj:B.Gj,qP:z,vertical:C,distance:H}}).filter(function(B){return B.qP<y&&B.vertical<A});0==t.length?this.set("reticleCoef",0):(t.sort(function(B,z){return B.distance-z.distance}),u=t[0].Gj,this.set("reticleCoef",Math.max(0,Math.min(1,(1-t[0].qP/y)*(1-t[0].vertical/A)))),r=this.la.get("distanceToFloor")*Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z)/-r.y,n.Pwa()&&n.zTa([u]),n.Lk(r),n.gf==k.Uj?(n.Nq([u]),this.get("blendingActive")||u.trigger(k.zn)):
(n.az([u]),n.Ps()&&n.bz([u]),(r=this.Ba.M.get("displayTooltipInSurfaceSelection")&&u.get("panorama")&&u.get("panorama").get("label"))&&n.TX(r,0)))}}else this.set("reticleVisible",!1)}};e.prototype.clear=function(){this.LZ.unbind(k.G("distanceToFloor"),this.ea,this,!1);this.LZ=null;this.Gj.unbind(k.G("yaw"),this.ea,this,!1);this.Gj.unbind(k.G("distance"),this.ea,this,!1);this.Gj.unbind(k.G("enabled"),this.ea,this,!1);this.Gj.unbind(k.G("enabledInSurfaceSelection"),this.ea,this,!1);this.Gj=null};e.prototype.gVa=
function(n){if(!this.Za)return Infinity;n=Math.abs(this.Za.Sa-n);return 180<n?360-n:n};e.prototype.HVa=function(n){return this.Za?Math.abs(this.Za.pitch-n):Infinity};e.prototype.AY=function(n){if(!this.iH)return Infinity;var r=n.x-this.iH.x;n=n.y-this.iH.y;return Math.sqrt(r*r+n*n)};e.prototype.ea=function(){var n=this.Gj.get("yaw"),r=this.Gj.get("distance"),t=this.Gj.get("enabled")&&this.Gj.get("enabledInSurfaceSelection");if(void 0!==n&&void 0!==r&&t){t=this.LZ.get("distanceToFloor");var u=-90+
Math.atan2(r,t)*p;this.Yl.set("alpha",-1>u?1:0);this.Za={Sa:n,pitch:u};u=b.qD(t)/b.Mv();this.iH={x:-Math.sin(n*q)*r/t*u,y:-Math.cos(n*q)*r/t*u};this.Yl.set("translationX",this.iH.x);this.Yl.set("translationZ",this.iH.y);this.Yl.set("distance",t)}else this.iH=this.Za=null,this.Yl.set("alpha",0)};var p=180/Math.PI,q=Math.PI/180;return a});
define("X","require lo ky oH lp iW jt hc ob nh jo bv".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("lp"),b=a("iW"),g=a("jt"),d=a("hc"),c=a("ob"),f=a("nh"),l=a("jo"),p=a("bv"),q=0;a=e.extend(b,function(t){b.call(this);this.v=t;this.kk.push(this.v);this.YB=this.YB.bind(this);this.Vf=this.Vf.bind(this);this.Lr=this.Lr.bind(this);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",!1);this.set("blendingActive",!0);this.set("currentTime",
0);this.set("adjacentPanoramas",[]);this.set("preloadEnabled",!0);this.set("backgroundPreloadEnabled",!0);this.set("surfaceSelectionEnabled",!1);this.set("id","panorama_"+q++);this.set("ready",!1);this.FV=[];this.fo=this.Sd=this.Af=null;this.Eh=new n;this.Npa=new r;this.PQa=new d(this.v);this.Zn=new r;this.Tg([this.Eh,this.Npa,this.PQa,this.Zn])});a.prototype.Mb=function(){this.Af=(new c(m.Z)).bm(this.Kp.bind(this));this.Sd=(new c(m.ec)).Ho(this.$B.bind(this));this.fo=(new c(m.Vc)).bm(this.cMa.bind(this));
b.prototype.Mb.call(this);this.get("blendingActive")&&this.Ba.set("globalBlendingActive",this.Ba.get("globalBlendingActive")+1);h.fa(this.v,["currentTime"],this.YB,!0);h.fa(this.v,["frames","overlays","vrMenu","flipImageHorizontally"],this.Vf,!0);h.fa(this.v,["adjacentPanoramas"],this.Lr,!0)};a.prototype.Qb=function(){this.Af.dispose();this.Sd.dispose();this.fo.dispose();this.get("blendingActive")&&this.Ba.set("globalBlendingActive",this.Ba.get("globalBlendingActive")-1);b.prototype.Qb.call(this);
h.ba(this.v,["currentTime"],this.YB);h.ba(this.v,["frames","overlays","vrMenu","flipImageHorizontally"],this.Vf);h.ba(this.v,["adjacentPanoramas"],this.Lr);this.l$()};a.prototype.Vf=function(){function t(B,z,C){B=y.indexOf(B);return 0>B?C:w[B].get(z,C)}function u(B){return t(B,"projected",!1)}var v=this.Ba.Pv(this.v.get("frames"));v.forEach(function(B){B.set("panoramaId",this.get("id"));B.set("flipHorizontally",this.v.get("flipImageHorizontally"))}.bind(this));var w=this.v.get("overlays"),x=this.Ba.Pv(w),
y=x.slice(),A=x.filter(u).filter(function(B){return t(B,"enabled",!0)});this.v.get("vrMenu")&&x.push(this.Ba.Pv(this.v.get("vrMenu")));x.forEach(function(B){B.set("panoramaId",this.get("id"))}.bind(this));this.Af.vf(v.concat(x));this.Sd.vf(v.concat(x));this.fo.vf(v.concat(A));this.Npa.Tg(x.filter(u));this.Eh.Tg(v);this.Zn.Tg(x.filter(function(B){return!u(B)}));this.set("panoramaPixelsPerDegree",f.Lva(this.v));this.Zsa()};a.prototype.YB=function(){this.set("currentTime",this.v.get("currentTime",0))};
a.prototype.Lr=function(){this.set("adjacentPanoramas",this.v.get("adjacentPanoramas",[]))};a.prototype.Kp=function(){this.Fj();this.trigger(m.Z)};a.prototype.cMa=function(){this.Fj();this.set("ready",!0);this.trigger(m.Vc)};a.prototype.$B=function(){this.Fj()};a.prototype.Fj=function(){var t=0;this.Sd.Cs(function(u){var v=0,w;this.Af.Ul(u)?v=100:(w=this.Sd.Ul(u))&&(v=w.Sg);t+=v}.bind(this));this.trigger(new k(m.ec,t/this.Sd.Xc.length))};a.prototype.ea=function(t){t.Cb&&!this.$n&&p.getType()==p.uA.Vk&&
this.Tg([this.$n=new g].concat(this.Kb()));var u=this.get("blendingActive");this.set("blendingActive",1>this.get("alpha"));u!=this.get("blendingActive")&&this.Ba.set("globalBlendingActive",this.Ba.get("globalBlendingActive")+(this.get("blendingActive")?1:-1));this.set("backgroundPreloadEnabled",!1!==this.Ba.mc.get("backgroundPreloadEnabled"));this.set("preloadEnabled",t.PP);this.N("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?
this.vQa():this.l$());this.N("index")&&this.Zsa();b.prototype.ea.call(this,t)};a.prototype.tca=function(){return f.tca(this.v,this.get("preloadEnabled"))};a.prototype.kda=function(){return f.kda(this.v,this.get("preloadEnabled"))};a.prototype.vQa=function(){this.l$();this.FV=this.get("adjacentPanoramas").map(function(t){t=t.get("panorama");return[t,f.jn(t,this.get("preloadEnabled"))]}.bind(this));this.FV.forEach(function(t){l.dua(t[0],t[1]);l.tZ(t[0],1)})};a.prototype.l$=function(){this.FV.forEach(function(t){l.tZ(t[0],
-1);l.cYa(t[0],t[1])});this.FV=[]};a.prototype.Zsa=function(){var t=this.get("index");this.Eh.Kb().forEach(function(u,v,w){u.set("panoramaIndex",t);u.set("frameIndex",v);u.set("frameCount",w.length)})};var n=e.extend(b,function(){b.call(this);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});n.prototype.ea=function(t){this.Kb().forEach(function(u,v,w){u.set("frontFrame",w[w.length-1])});b.prototype.ea.call(this,
t)};var r=e.extend(b,function(){b.call(this);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});return a});
define("jk",["require","lo","fy","ep"],function(a){var e=a("lo"),h=a("fy"),m=a("ep"),k=0;a=e.extend(h,function(){h.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+k++)});a.prototype.ea=function(b){h.prototype.ea.call(this,b);this.TC()};a.prototype.XC=function(){if(this.N("panoramaIndex","frameIndex","frameCount","meshGroup")){var b=this.get("meshGroup");if(b){var g=this.get("panoramaIndex"),d=this.get("frameIndex"),
c=this.get("frameCount"),f=b.children.length;b.children.forEach(function(l,p){m.k_(l,g+(p+d/c)/f)}.bind(this))}}};a.prototype.TC=function(){if(this.N("meshGroup","panoramaId","id")){var b=this.get("meshGroup");b&&b.children.forEach(function(g,d){m.setAttribute(g,m.Lz,this.get("panoramaId"));m.setAttribute(g,m.F_,d);m.setAttribute(g,m.bE,this.get("id"))}.bind(this))}};return a});
define("nP","require lo ky oH hT iW jk ob nh fv ko lp".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("hT"),b=a("iW"),g=a("jk"),d=a("ob"),c=a("nh"),f=a("fv"),l=a("ko"),p=a("lp");a=e.extend(g,function(n){g.call(this);this.set("tag","ImagePanoramaFrame");this.Dpa=!0;this.v=n;this.kk.push(this.v);this.yk=this.Kg=this.fo=null;this.O6=[];this.Vf=this.Vf.bind(this);this.fp(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.Tg([this.Zn=new q])});a.prototype.Mb=function(){this.fo=
new d(m.Z);this.Kg=new d(m.Z);this.yk=new d(m.ec);g.prototype.Mb.call(this);h.fa(this.v,["overlays"],this.Vf,!0)};a.prototype.Qb=function(){this.fo.dispose();this.Kg.dispose();this.yk.dispose();h.ba(this.v,["overlays"],this.Vf);g.prototype.Qb.call(this)};a.prototype.Vf=function(){this.Zn.Tg(this.Ba.Pv(this.v.get("overlays")));this.Msa()};a.prototype.Msa=function(){this.Kg.vf([].concat(this.O6,this.Zn.Kb()));this.yk.vf([].concat(this.O6,this.Zn.Kb()))};a.prototype.Hn=function(){var n=[],r=[],t=[];
c.aca(this.v,this.Dpa).forEach(function(u,v){var w=f.jUa(this.v,u);c.CWa(u)?(0==v&&(n=n.concat(w),r=r.concat(w)),l.ew(w,0==v?l.Zq:l.UQ),l.dw(w,0==v?l.Yo:l.N0)):(0==v&&(n=n.concat(w)),r=r.concat(w),l.ew(w,l.Zq),l.dw(w,l.Yo));l.RD(w,0==v?k.Y0:k.Xk);l.iQ(w,v);t=t.concat(w)}.bind(this));this.fo.vf(n);this.O6=r;this.Msa();this.Kg.bm(this.Kp.bind(this));this.fo.bm(this.EMa.bind(this));this.yk.Ho(this.$B.bind(this));this.trigger(new p(m.ec,0));return t};a.prototype.EMa=function(){this.trigger(m.Vc)};a.prototype.Kp=
function(){this.trigger(m.Z)};a.prototype.ea=function(n){this.Dpa=n.PP;this.vSa();g.prototype.ea.call(this,n)};a.prototype.vSa=function(){var n=this.get("frontFrame");if(this.N("frontFrame")||n&&n.N("alpha"))n=n&&n!=this?1-n.get("alpha"):1,this.Zn.set("alpha",n)};a.prototype.$B=function(){var n=0;this.yk.Cs(function(r){var t=0,u;this.Kg.Ul(r)?t=100:(u=this.yk.Ul(r))&&(t=u.Sg);n+=t}.bind(this));this.trigger(new p(m.ec,n/this.yk.Xc.length))};var q=e.extend(b,function(){b.call(this);this.fp(["loadingActive",
"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("tag","Group")});return a});
define("gy","require lo oH jt mK ob lp".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("jt"),k=a("mK"),b=a("ob"),g=a("lp");a=e.extend(m,function(){m.call(this);this.set("tag","ImagePlane");this.set("url",null);this.Sd=this.Af=null});a.prototype.Mb=function(){this.Af=(new b(h.Z)).bm(this.Kp.bind(this));this.Sd=(new b(h.ec)).Ho(this.Su.bind(this));m.prototype.Mb.call(this)};a.prototype.Qb=function(){this.Af.dispose();this.Sd.dispose();m.prototype.Qb.call(this)};a.prototype.ea=function(d){if(this.N("url")){var c=
this.get("url");c=c?new k(c):null;this.set("textureSource",c)}m.prototype.ea.call(this,d);this.N("meshGroup")&&(d=(d=this.get("meshGroup"))&&d.children||[],d.length&&(this.Af.vf(d),this.Sd.vf(d)))};a.prototype.Kp=function(){this.trigger(h.Vc);this.trigger(h.Z)};a.prototype.Su=function(d,c){var f=0;c.Cs(function(l){(l=c.Ul(l))&&(f+=l.Sg)});this.trigger(new g(h.ec,f/c.Xc.length))};return a});
define("mo","require eg oH cy kO od".split(" "),function(a){function e(c,f){this.Nc=c;this.aa=f;this.wk=!1;this.Mi=[];this.tm=this.$E=void 0;this.ve=[];this.A2();this.p3();this.PW();this.Bf()}function h(c,f,l){this.time=c;this.cue=f;this.action=l}var m=a("eg"),k=a("oH"),b=a("cy"),g=a("kO"),d=a("od");e.prototype.clear=function(){this.TJ();this.Mi=[];this.U$();this.aa=this.Nc=null};e.prototype.A2=function(){this.aa.bind(d.Jf,this.Ye,this,!0);this.aa.bind(k.ne,this.Bf,this,!0);this.aa.bind(k.sb,this.ty,
this,!0)};e.prototype.U$=function(){this.aa.unbind(d.Jf,this.Ye,this,!0);this.aa.unbind(k.ne,this.Bf,this,!0);this.aa.unbind(k.sb,this.ty,this,!0)};e.prototype.Bf=function(){var c=this.aa.getState()!=g.T;this.wk!=c&&((this.wk=c)?this.PW():this.TJ())};e.prototype.ty=function(){this.$C()};e.prototype.Ye=function(){this.$C()};e.prototype.PW=function(){this.tm=this.$E=0};e.prototype.$C=function(){if(this.aa&&this.wk){var c=this.ve.slice(),f=this.aa.getCurrentTime(),l=f-this.$E;0>l&&(this.ve=[],this.tm=
0);l=0<=l&&2>l;this.$E=f;var p;for(p=this.tm;p<this.Mi.length&&!(this.Mi[p].time>f);p++);for(;this.tm<p;this.tm++)f=this.Mi[this.tm],"start"==f.action?(this.ve=m(this.ve).union([f.cue]),l&&f.cue.trigger(new b(k.Tq))):(this.ve=m(this.ve).difference([f.cue]),l&&f.cue.trigger(new b(k.sb)));c.length==this.ve.length&&m(c).intersection(this.ve).length==this.ve.length||this.bO()}};e.prototype.TJ=function(){0<this.ve.length&&(this.ve=[],this.bO())};e.prototype.bO=function(){this.Nc.trigger(new b(k.Wk,{activeCues:this.ve.slice()}))};
e.prototype.p3=function(){this.Mi=[];var c=this.Nc.get("cues",[]);m(c).each(function(f){this.Mi.push(new h(f.get("startTime",0),f,"start"));this.Mi.push(new h(f.get("endTime",Number.POSITIVE_INFINITY),f,"end"))},this);this.Mi.sort(function(f,l){return f.time==l.time?f.action==l.start?0:"start"==f.action?-1:1:f.time-l.time})};return e});
define("lL",["require","oH","kO","cy","od"],function(a){function e(g,d,c){this.mc=g;this.Nc=d;this.aa=c;this.aa.setCurrentTime(this.Uf=this.Nc.get("currentTime",0));this.aa.Hf(this.jf=this.mc.get("mute",!1));this.aa.Jd(this.A=this.Nc.get("state",m.T));this.aa.setLoop(this.ml=this.Nc.get("loop"));this.qb=this.aa.bj();this.JDa();this.RDa();this.Ft()}var h=a("oH"),m=a("kO"),k=a("cy"),b=a("od");e.prototype.clear=function(){this.fOa();this.lOa();this.dv();this.aa.Jd(m.T);this.Nc.set("state",m.T);this.Nc.set("currentTime",
0);this.Nc.set("duration",void 0)};e.prototype.cpa=function(){var g=this.Nc.get("state",m.T);this.A!=g&&this.aa.Jd(this.A=g)};e.prototype.apa=function(){var g=this.Nc.get("currentTime",0);this.Uf!=g&&this.aa.setCurrentTime(this.Uf=g)};e.prototype.oM=function(){var g=this.mc.get("mute",0);this.jf!=g&&this.aa.Hf(this.jf=g)};e.prototype.bpa=function(){var g=this.Nc.get("loop");this.ml!=g&&this.aa.setLoop(this.ml=g)};e.prototype.xM=function(){this.Nc.set("currentTime",this.Uf=this.aa.getCurrentTime())};
e.prototype.vM=function(){this.Nc.set("duration",this.qb=this.aa.bj())};e.prototype.wM=function(){this.Nc.set("state",this.A=this.aa.getState())};e.prototype.yM=function(){this.Nc.trigger(new k(h.sb))};e.prototype.JDa=function(){this.mc.bind(h.G("mute"),this.oM,this,!0)};e.prototype.fOa=function(){this.mc.unbind(h.G("mute"),this.oM,this,!0)};e.prototype.RDa=function(){this.Nc.bind(h.G("state"),this.cpa,this,!0);this.Nc.bind(h.G("currentTime"),this.apa,this,!0);this.Nc.bind(h.G("loop"),this.bpa,this,
!0)};e.prototype.lOa=function(){this.Nc.unbind(h.G("state"),this.cpa,this,!0);this.Nc.unbind(h.G("currentTime"),this.apa,this,!0);this.Nc.unbind(h.G("loop"),this.bpa,this,!0)};e.prototype.Ft=function(){this.aa.bind(b.Jf,this.xM,this,!0);this.aa.bind(b.Ei,this.vM,this,!0);this.aa.bind(h.ne,this.wM,this,!0);this.aa.bind(h.sb,this.yM,this,!0)};e.prototype.dv=function(){this.aa.unbind(b.Jf,this.xM,this,!0);this.aa.unbind(b.Ei,this.vM,this,!0);this.aa.unbind(h.ne,this.wM,this,!0);this.aa.unbind(h.sb,this.yM,
this,!0)};return e});
define("dK","require lo oH hT kO gy jk ob fv mo lL bZ ep ko v kh od lp cc oj bF".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("hT"),k=a("kO"),b=a("gy"),g=a("jk"),d=a("ob"),c=a("fv"),f=a("mo"),l=a("lL"),p=a("bZ"),q=a("ep"),n=a("ko"),r=a("v"),t=a("kh"),u=a("od"),v=a("lp"),w=a("cc"),x=a("oj"),y=a("bF");a=e.extend(g,function(H){g.call(this);this.v=H;this.kk.push(this.v);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",void 0);
this.set("atStart",void 0);p.get(this.v)==p.Zo?this.Saa=this.v.get("sphere"):this.Saa=this.v.get("stereoSphere");this.wk=!1;this.Ya=u.Jj(this.Saa);this.n8=this.sja=!1;this.xH=[];this.nC=[];this.Rm=this.vk=this.yk=this.Kg=this.Qh=this.aa=null;this.Bl=!1;this.gma=this.OB=this.Fr=0});a.prototype.Mb=function(){this.Kg=(new d(h.Z)).bm(this.Kp.bind(this));this.yk=(new d(h.ec)).Ho(this.$B.bind(this));this.aa=new u(this.Ba.mc,this.Saa);this.rp=new f(this.v.oz(),this.aa);this.Ja=new l(this.Ba.mc,this.v.oz(),
this.aa);this.rv=new t(this.v.oz(),this.aa);this.Ft();this.NGa();this.sja=this.Ba.yc.get("displayPlayOverlay");this.n8="play_pause"==this.Ba.yc.get("clickAction");var H=this.Ba.tf(this.v.oz());H.appendChild(this.vk);H.appendChild(this.Rm);g.prototype.Mb.call(this)};a.prototype.Qb=function(){this.Kg.dispose();this.yk.dispose();this.dv();this.rp.clear();this.rp=null;this.Ja.clear();this.Ja=null;this.rv.clear();this.rv=null;this.aa.clear();this.Qh=this.aa=null;this.Bja();g.prototype.Qb.call(this)};a.prototype.NGa=
function(){this.Bja();this.vk=this.dja(w.Jw,w.Z0,w.qCa);this.Rm=this.dja(w.tE,w.mCa,w.lCa)};a.prototype.dja=function(H,D,I){var F=new b;F.set("url",H);F.set("contentWidth",D);F.set("contentHeight",I);F.set("hfov",10);F.set("yaw",0);F.set("pitch",0);F.set("alpha",0);return F};a.prototype.Bja=function(){this.vk&&(this.vk.remove(),this.vk=null);this.Rm&&(this.Rm.remove(),this.Rm=null)};a.prototype.Hn=function(){this.xH=c.oUa(this.v,this.Ya);this.eTa=n.XD(q.nz(this.xH[0])[0]);this.xH.forEach(function(D){n.ew(D,
n.Zq);n.dw(D,n.Yo)});this.Ya.get("posterURL")?(this.nC=c.pUa(this.v,this.Ya),this.nC.forEach(function(D){n.ew(D,n.Zq);n.dw(D,n.Yo);n.RD(D,m.Y0)})):this.nC=[];var H=[].concat(this.xH,this.nC);this.Kg.vf(H);this.yk.vf(H);this.trigger(new v(h.ec,0));return H};a.prototype.ea=function(H){this.ySa(H);var D=this.aa.zY();this.set("frameEmpty",D.isEmpty());this.set("atStart",!(1<this.get("currentTime")));g.prototype.ea.call(this,H);this.Qh&&this.Qh.isEqual(D)?this.aa.getState()==k.X&&this.Aa():(this.Qh=D,
this.eTa.Zl(this.Qh.fB),this.Aa())};a.prototype.Ml=function(){this.N("composedAlpha","meshGroup","frameEmpty","atStart")&&(this.nC.length&&this.get("frameEmpty")&&this.get("atStart")?(this.nC.forEach(function(H){q.uf(H,this.get("composedAlpha"))}.bind(this)),this.xH.forEach(function(H){q.uf(H,0)}.bind(this))):(this.nC.forEach(function(H){q.uf(H,0)}.bind(this)),this.xH.forEach(function(H){q.uf(H,this.get("composedAlpha"))}.bind(this))))};a.prototype.Kp=function(){this.trigger(h.Vc);this.trigger(h.Z)};
a.prototype.$B=function(H,D){var I=0;D.Cs(function(F){(F=D.Ul(F))&&(I+=F.Sg)});this.trigger(new v(h.ec,I/D.Xc.length))};a.prototype.Bf=function(){this.Aa()};a.prototype.Ye=function(){this.Aa()};a.prototype.sn=function(H){if(H.gf==h.Uj&&!H.Mk()&&this.n8&&(H.Nq(this.v),H=Date.now(),!(500>H-this.gma))){this.gma=H;H=this.v.oz();var D=H.get("state");D==k.X?H.set("state",k.Eb):D==k.Eb&&H.set("state",k.X)}};a.prototype.ySa=function(H){if(this.n8){if(this.Bl!=(this.aa.getState()==k.Eb))if(this.Bl=!this.Bl,
this.sja){var D=this.vk.get("alpha"),I=this.Bl?1:0;this.Wu=new x("linear",[new y("playAlpha",D,I),new y("playScale",H.Cb?1.5:1,H.Cb?1.5:1),new y("pauseAlpha",0,0),new y("pauseScale",1,1)],Math.abs(I-D)*A);this.vk.Uh()}else this.Wu=new x("linear",this.Bl?[new y("playAlpha",0,0),new y("playScale",1,1),new y("pauseAlpha",0,2),new y("pauseScale",.5,1.5)]:[new y("playAlpha",0,2),new y("playScale",.5,1.5),new y("pauseAlpha",0,0),new y("pauseScale",1,1)],B),this.vk.Uh(),this.Rm.Uh();this.Wu&&(this.Wu.zb(H.De),
D=this.Wu.cb("playAlpha"),this.vk.set("alpha",1>D?D:2-D),this.vk.set("scale",this.Wu.cb("playScale")),D=this.Wu.cb("pauseAlpha"),this.Rm.set("alpha",1>D?D:2-D),this.Rm.set("scale",this.Wu.cb("pauseScale")),this.Aa(),this.Wu.Re()&&(this.Wu=null));0<this.vk.get("alpha")&&(this.get("globalBlendingActive")&&this.vk.set("alpha",0),this.vk.set("yaw",H.Sa),this.vk.set("pitch",H.pitch),this.vk.set("hfov",this.fla(H)));0<this.Rm.get("alpha")&&(this.get("globalBlendingActive")&&this.Rm.set("alpha",0),this.Rm.set("yaw",
H.Sa),this.Rm.set("pitch",H.pitch),this.Rm.set("hfov",this.fla(H)))}};var A=300,B=600;a.prototype.fla=function(H){return H.Cb?15:2*Math.atan((r.kb()?Math.min(H.width,H.height)/100*20:w.Z0)*Math.tan(H.Ee*z*.5)/H.width)*C};var z=Math.PI/180,C=180/Math.PI;a.prototype.Ft=function(){this.aa.bind(u.Jf,this.Ye,this,!0);this.aa.bind(h.ne,this.Bf,this,!0)};a.prototype.dv=function(){this.aa.unbind(u.Jf,this.Ye,this,!0);this.aa.unbind(h.ne,this.Bf,this,!0)};return a});
define("bD","require lo ky oH kO ht iW dj ld gy lL nw ob nh eA kP S lp oj bF od".split(" "),function(a){function e(C,H){for(C-=H;180<C;)C-=360;for(;-180>C;)C+=360;return C+H}var h=a("lo"),m=a("ky"),k=a("oH"),b=a("kO");a("ht");var g=a("iW"),d=a("dj"),c=a("ld"),f=a("gy"),l=a("lL"),p=a("nw"),q=a("ob"),n=a("nh"),r=a("eA"),t=a("kP"),u=a("S"),v=a("lp"),w=a("oj"),x=a("bF"),y=a("od"),A=Math.PI/180;a=h.extend(g,function(C){g.call(this);this.v=C;this.kk.push(this.v);this.Vf=this.Vf.bind(this);this.WU=this.WU.bind(this);
this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",!1);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("loadingActive",!1);this.set("frameEmpty",!0);this.set("state",b.T);this.set("itemVisible","none");this.set("visible",!1);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",!1);this.set("gazeOver",!1);this.set("video",null);this.set("image",null);this.ie=this.rb=this.Ra=this.Sd=this.Af=null;this.mb=
new p;this.Jt=this.Rx=this.Pl=this.Qh=this.aa=null});a.prototype.Mb=function(){this.Af=(new q(k.Z)).bm(this.VB.bind(this));this.Sd=(new q(k.ec)).Ho(this.ZB.bind(this));g.prototype.Mb.call(this);this.bGa();this.appendChild(this.ie);m.fa(this.v,B,this.Vf,!0);m.eD(this.v,z,this.WU,!0)};var B="playbackPositions popupDistance popupMaxHeight popupMaxWidth image.levels.url video state".split(" "),z=["visible"];a.prototype.Qb=function(){this.Af.dispose();this.Sd.dispose();m.ba(this.v,B,this.Vf);m.ba(this.v,
z,this.WU);this.cB();this.yx();this.xx();g.prototype.Qb.call(this)};a.prototype.Vf=function(){var C=n.wVa(this.v,this.get("panoramaPixelsPerDegree"));this.set("imageURL",C&&C.get("url"));this.set("imageWidth",C&&C.get("width"));this.set("imageHeight",C&&C.get("height"));this.set("video",this.v.get("video"));this.set("state",this.v.get("state"));this.set("popupDistance",this.v.get("popupDistance"));this.set("popupMaxWidth",this.v.get("popupMaxWidth"));this.set("popupMaxHeight",this.v.get("popupMaxHeight"));
this.set("playbackPositions",this.v.get("playbackPositions"))};a.prototype.WU=function(){this.set("visible",this.v.get("visible"))};a.prototype.ea=function(C){this.Ey=C.Sa;this.Dy=C.pitch;this.sq(C);this.zSa();this.oO(C);this.Vd(C);this.nSa(C);this.URa(C);g.prototype.ea.call(this,C)};a.prototype.zSa=function(){this.N("playbackPositions","currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("sourceYaw",this.mb.get("yaw")),this.set("sourcePitch",this.mb.get("pitch")),
this.set("sourceRotationX",this.mb.get("rotationX")),this.set("sourceRotationY",this.mb.get("rotationY")),this.set("sourceRotationZ",this.mb.get("rotationZ")),this.set("sourceHFOV",this.mb.get("hfov")))};a.prototype.sq=function(){if(this.N("video","imageURL")){var C=[this.ie];this.N("imageURL")&&(this.eK(),this.Ra&&C.push(this.Ra),this.jN("itemVisible"));this.N("video")&&(this.gK(),this.rb&&C.push(this.rb),this.jN("itemVisible"));this.Af.vf(C);this.Sd.vf(C);this.Tg(C)}};a.prototype.oO=function(){if(this.aa){var C=
this.aa.zY();this.set("frameEmpty",!!C&&C.isEmpty());!this.Qh||C&&!this.Qh.isEqual(C)?(this.Qh=C,this.rb.set("source",this.Qh.fB),this.rb.set("sourceUpdated",!0),this.Aa()):this.aa.getState()==b.X&&this.Aa()}else this.set("frameEmpty",!1)};a.prototype.Vd=function(C){this.set("inVR",C.Cb);this.set("hotspotsEnabled",C.xD);this.set("rendererYaw",C.Sa);this.set("rendererPitch",C.pitch);this.set("rendererRoll",C.bf);this.set("rendererWidth",C.bY);this.set("rendererHeight",C.GO);this.set("rendererHFOV",
C.Ee);if(this.N("visible")){var H=this.get("visiblePosition"),D=this.get("visible")?1:0,I=Math.max(1,this.v.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(D-H)),F=this.v.get(this.get("visible")?"showEasing":"hideEasing");H!=D&&(this.Pl=new w(F,[new x("position",H,D)],I));this.get("visible")||this.aa&&this.aa.Jd(b.T)}this.Pl&&(this.Pl.Re()?(this.Pl=null,this.get("visible")?(this.v.trigger(k.pJ),this.v.get("autoplay")&&this.aa&&this.aa.Jd(b.X)):setTimeout(function(){this.v&&this.v.trigger(k.hJ)}.bind(this),
0)):this.Pl.zb(C.De),this.Pl&&(this.set("visiblePosition",this.Pl.cb("position")),this.Aa()));H=!1;if(H=C.Cb?this.N("visible","itemVisible"):this.N("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth","popupMaxHeight","sourceHFOV"))this.set("targetImageScale",this.lla(this.Ra,C)),this.set("targetVideoScale",this.lla(this.rb,C)),this.set("targetYaw",e(this.get("rendererYaw"),this.get("sourceYaw"))),this.set("targetPitch",this.get("rendererPitch")),
this.set("targetRotationZ",e(C.Cb?0:this.get("rendererRoll"),this.get("sourceRotationZ")));if(H||this.N("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){D=this.get("visiblePosition");var N=this.get("targetYaw")*D+this.get("sourceYaw")*(1-D),S=this.get("targetPitch")*D+this.get("sourcePitch")*(1-D),Q=this.get("sourceRotationX")*(1-D),R=this.get("sourceRotationY")*(1-D),W=this.get("targetRotationZ")*D+this.get("sourceRotationZ")*(1-D);C=Math.min(1,2*D);
var G=this.get("popupDistance"),L=this.get("sourceHFOV");H=this.get("targetImageScale")*D+(1-D);D=this.get("targetVideoScale")*D+(1-D);this.set("alpha",C);this.Ra&&this.Ra.set("scale",H);this.rb&&this.rb.set("scale",D);[].concat(this.rb?[this.rb]:[],this.Ra?[this.Ra]:[]).forEach(function(U){U.set("yaw",N);U.set("pitch",S);U.set("rotationX",Q);U.set("rotationY",R);U.set("rotationZ",W);U.set("distance",G);U.set("hfov",L)})}};a.prototype.nSa=function(C){if(this.N("frameEmpty","state","imageURL","video")){var H=
"none";!this.rb||this.Ra&&(this.get("frameEmpty")||this.get("state")==b.T)?this.Ra&&(H="image"):H="video";this.set("itemVisible",H)}if(this.N("itemVisible")){"video"!=this.get("itemVisible")&&this.aa&&this.aa.Jd(b.T);H=this.Ra?this.Ra.get("alpha"):0;var D=this.rb?this.rb.get("alpha"):0,I="image"==this.get("itemVisible")?1:0,F="video"==this.get("itemVisible")?1:0,N="video"==this.get("itemVisible")?1:200*Math.max(Math.abs(I-H),Math.abs(F-D));this.Rx=new w("linear",[new x("imageAlpha",H,I),new x("videoAlpha",
D,F)],N)}this.Rx&&(this.Rx.Re()?this.Rx=null:this.Rx.zb(C.De),this.Rx&&(this.Ra&&this.Ra.set("alpha",this.Rx.cb("imageAlpha")),this.rb&&this.rb.set("alpha",this.Rx.cb("videoAlpha")),this.Aa()))};a.prototype.URa=function(C){this.N("gazeOver","inVR","visible")&&(this.Eia(),this.get("inVR")&&this.v.get("lookAwayToHide")&&!this.get("gazeOver")&&this.get("visible")&&this.sQa());C.Cb&&this.v.get("darkenBackground")&&this.v.get("lookAwayToHide")?(this.N("visible")&&this.get("visible")&&(this.ie.set("alpha",
.8),this.Jt=null),this.N("gazeOver")&&(this.Jt=new w(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.ie.get("alpha"),this.get("gazeOver")?.8:0)],this.get("gazeOver")?300:this.v.get("lookAwayToHideTime")))):(this.Jt=null,this.ie.set("alpha",C.Cb&&this.v.get("darkenBackground")?.8:0));this.Jt&&(this.Jt.Re()?this.Jt=null:this.Jt.zb(C.De),this.Jt&&(this.ie.set("alpha",this.Jt.cb("alpha")),this.Aa()))};a.prototype.sQa=function(){this.Eia();this.YT=setTimeout(function(){this.YT=null;this.v.set("visible",
!1)}.bind(this),this.v.get("lookAwayToHideTime"))};a.prototype.Eia=function(){this.YT&&(clearTimeout(this.YT),this.YT=null)};a.prototype.lla=function(C,H){if(!C)return 1;var D=this.get("popupMaxWidth","100%"),I=u.Jo(D),F=C.get("contentWidth"),N=C.get("contentHeight"),S=this.get("popupMaxHeight","100%"),Q=u.Jo(S);if(this.get("inVR")){var R=C=.5*this.get("rendererWidth"),W=Math.min(H.Vh,80);H=t.hD(W,C,R);var G=this.get("sourceHFOV");D=Math.min(Math.tan(H*(void 0!==I?I/100:D/C)*.5*A)/Math.tan(.5*G*A),
Math.tan(W*(void 0!==Q?Q/100:S/R)*.5*A)/Math.tan(.5*t.hD(G,F,N)*A))}else C=this.get("rendererWidth"),R=this.get("rendererHeight"),D=F*Math.min((void 0!==I?C*I/100:D)/F,(void 0!==Q?R*Q/100:S)/N),H=this.get("rendererHFOV"),G=this.get("sourceHFOV"),D=Math.tan(.5*H*A)*D/C/Math.tan(.5*G*A);return D};a.prototype.eK=function(){this.cB();this.get("imageURL")&&(this.Ra=new f,this.Ra.set("url",this.get("imageURL")),this.Ra.set("contentWidth",this.get("imageWidth")),this.Ra.set("contentHeight",this.get("imageHeight")),
this.Ra.set("alpha",0))};a.prototype.cB=function(){this.Ra&&(this.Ra.remove(),this.Ra=null)};a.prototype.gK=function(){this.yx();if(this.get("video")){this.rb=new c;var C=y.Jj(this.get("video"));this.rb.set("contentWidth",C.get("width"));this.rb.set("contentHeight",C.get("height"));this.rb.set("alpha",0);this.aa=new y(this.Ba.mc,this.get("video"));this.Ja=new l(this.Ba.mc,this.v,this.aa);this.Ft()}};a.prototype.yx=function(){this.rb&&(this.dv(),this.Ja.clear(),this.Ja=null,this.aa.clear(),this.Qh=
this.aa=null,this.rb.remove(),this.rb=null)};a.prototype.bGa=function(){this.xx();this.ie=new d("#000000")};a.prototype.xx=function(){this.ie&&(this.ie.remove(),this.ie=null)};a.prototype.VB=function(){this.trigger(k.Vc);this.trigger(k.Z)};a.prototype.ZB=function(C,H){var D=0;H.Cs(function(I){var F=0,N;this.Af.Ul(I)?F=100:(N=this.Sd.Ul(I))&&(F=N.Sg);D+=F}.bind(this));this.trigger(new v(k.ec,D/H.Xc.length))};a.prototype.Bf=function(){this.Aa()};a.prototype.Ye=function(){this.Aa()};a.prototype.ty=function(){this.v.trigger(k.sb)};
a.prototype.Ft=function(){this.aa.bind(y.Jf,this.Ye,this,!0);this.aa.bind(k.ne,this.Bf,this,!0);this.aa.bind(k.sb,this.ty,this,!0)};a.prototype.dv=function(){this.aa.unbind(y.Jf,this.Ye,this,!0);this.aa.unbind(k.ne,this.Bf,this,!0);this.aa.unbind(k.sb,this.ty,this,!0)};a.prototype.sn=function(C){C.gf==k.im?(!C.Mk()&&this.get("visible")?(C.Nq(this.v),this.set("over",this.nq(C)),this.set("gazeOver",this.$Qa(C))):this.set("over",!1),this.get("over")&&(C.az(this.v),C.Ps()&&C.bz(this.v),C.Lk(this.get("popupDistance"))),
this.N("over")&&(this.v.trigger(this.get("over")?k.Wc:k.ac),C.Ps()&&this.v.trigger(this.get("over")?k.mA:k.$o))):C.gf==k.Uj&&!C.Mk()&&this.get("visible")&&(C.Nq(this.v),C.Lk(this.get("popupDistance")),this.nq(C)?C.vWa()||this.v.trigger(k.qa):this.v.set("visible",!1))};a.prototype.nq=function(C){return this.ksa(C.bq)};a.prototype.$Qa=function(C){C=C.EK;return!!C&&this.ksa([C])};a.prototype.ksa=function(C){if(this.get("visible")){C=("video"==this.get("itemVisible")?this.rb:this.Ra).nu(C);for(var H=
0;H<C.length;H++){var D=C[H];if(r.kw(D.source,D.x,D.y))return!0}}return!1};return a});
define("cS",["require","lo","iW"],function(a){var e=a("lo"),h=a("iW");a=e.extend(h,function(){h.call(this);this.ox&&this.ox();this.In&&this.In()});a.prototype.Mb=function(){h.prototype.Mb.call(this);this.ao&&this.ao();this.yG&&this.yG()};a.prototype.Qb=function(){this.co&&this.co();this.zG&&this.zG();h.prototype.Qb.call(this)};a.prototype.ea=function(m){this.pf&&this.pf(m);h.prototype.ea.call(this,m);this.vq&&this.vq(m)};return a});
define("jI",["require","oH"],function(a){var e=a("oH");return{ox:function(){this.set("beamEnabled",!1);this.$c=!1;this.Dy=this.Ey=void 0},vq:function(h){this.Ey=h.Sa;this.Dy=h.pitch},sn:function(h){if(h.gf==e.im){var m=!h.Mk()&&this.nq(h);if(m){h.az(this.v);this.v.get("useHandCursor")&&h.bz(this.v);h.Lk(this.get("distance"));var k=this.Nb(h.BD());k&&h.TX(k,this.Py(h.BD()))}this.$c!=m&&(this.$c=m,this.v.trigger(this.$c?e.Wc:e.ac),h.Ps()&&this.v.trigger(this.$c?e.mA:e.$o))}else h.gf==e.Uj&&!h.Mk()&&
this.nq(h)&&(1<this.v.bI(e.qa,!0).length&&h.Nq(this.v),h.Lk(this.get("distance")),this.v.trigger(e.qa))},nq:function(h){return this.get("beamEnabled")&&0<this.r5().nu(h.bq).length?!0:!1},Nb:function(h){return!h||this.v.get("displayTooltipInTouchScreens")&&!1!==this.Ba.M.get("displayTooltipInTouchScreens")?this.v.get("toolTip",""):""},Py:function(h){if(h){h=this.get("yaw")-this.Ey;var m=this.get("pitch")-this.Dy;return Math.sqrt(h*h+m*m)}return 0}}});
define("bT","require lo ky oH cS bA ob nh jI".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("cS"),b=a("bA"),g=a("ob"),d=a("nh");a=a("jI");e=e.extend(k,a,b,function(c){k.call(this);this.v=c;this.AB=this.L4=this.Q5=null;this.kk.push(this.v);this.Vf=this.Vf.bind(this);this.fp(["loadingActive","panoramaPixelsPerDegree"]);this.set("tag","FrameHotspot");this.set("enabled",!0);this.set("inVR",!1);this.set("inScreenshot",!1);this.set("overlaysEnabled",!0);this.set("interactionEnabled",!0);
this.set("contentInteractive",!1);this.set("transparent",!1);this.set("centerOverDisplay",!1);this.set("loadingActive",!1);this.set("visible",!1);this.set("loaded",!1);this.set("inView",!1);this.set("frameHidden",!0);this.Cd=this.Dr=this.Sd=this.Af=null;this.F9(this.v)});e.prototype.Mb=function(){this.Af=(new g(m.Z)).bm(this.VB.bind(this));this.Sd=(new g(m.ec)).Ho(this.ZB.bind(this));this.kGa();k.prototype.Mb.call(this);h.fa(this.v,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),
this.Vf,!0);this.F4()};e.prototype.Qb=function(){this.G4();this.Af.dispose();this.Sd.dispose();h.ba(this.v,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),this.Vf);this.xja();this.zja();k.prototype.Qb.call(this)};e.prototype.Vf=function(){this.set("url",this.v.get("url"));this.Cd.set("url",this.get("url"));this.set("image",this.v.get("image"));this.Ra.set("image",this.get("image"));this.Ra.set("level",this.get("image")&&d.zva(this.v,
this.get("panoramaPixelsPerDegree")));this.set("enabled",this.v.get("enabled"));this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",this.v.get("fadeOutDuration"));this.set("interactionEnabled",this.v.get("interactionEnabled"));this.set("contentInteractive",this.v.get("contentInteractive"));this.set("transparent",this.v.get("transparent"));this.Aa()};e.prototype.ea=function(c){this.set("loaded",!!this.Cd&&this.Cd.get("frameLoaded"));this.set("inVR",c.Cb);this.set("inScreenshot",
c.zD);this.set("hotspotsEnabled",c.xD);k.prototype.ea.call(this,c);this.Vd(c);this.baa(c)};e.prototype.kGa=function(){this.eK();this.wGa();this.vGa();var c=[this.Ra,this.Dr,this.Cd];this.Af.vf(c);this.Sd.vf(c);this.Tg(c)};e.prototype.Vd=function(){this.set("globalBlendingActiveCopy",this.get("globalBlendingActive"));if(this.N("globalBlendingActive","globalBlendingActiveCopy","url","inVR","hotspotsEnabled","enabled","interactionEnabled","contentInteractive","composedTranslationX","composedTranslationY",
"composedTranslationZ")){var c=!(0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"))&&0==this.get("globalBlendingActive")&&this.get("hotspotsEnabled")&&this.get("enabled")&&!this.get("inVR")&&!!this.get("url");this.set("visible",c);this.set("beamEnabled",c&&this.get("interactionEnabled"));this.Cd.set("contentInteractive",c&&this.get("interactionEnabled")&&this.get("contentInteractive"))}this.set("frameHidden",!this.Cd.get("geometryVisible"));
this.N("visible","loaded","frameHidden","transparent","inScreenshot")&&(this.get("visible")||this.set("loaded",!1),this.Ra.set("alpha",!this.get("visible")||!this.get("frameHidden")&&this.get("loaded")?0:1),this.Ra.set("alpha",1),this.Dr.set("alpha",!this.get("visible")||this.get("frameHidden")||!this.get("loaded")||this.get("transparent")||this.get("inScreenshot")?0:1),this.Cd.set("alpha",this.get("visible")?1:0),this.Cd.set("transparent",this.get("transparent")),this.set("inView",this.get("visible")&&
(this.get("loaded")||this.get("image"))),this.Aa());this.N("inView")&&this.v.trigger(this.get("inView")?m.kd:m.sd)};e.prototype.eK=function(){this.cB();this.Ra=new this.AB;this.Ra.set("image",this.get("image"));this.Ra.set("level",this.get("image")&&d.zva(this.v,this.get("panoramaPixelsPerDegree")));this.Ra.set("visible",!0);this.Ra.set("alpha",0);this.set("imagePlane",this.Ra)};e.prototype.cB=function(){this.Ra&&(this.Ra.remove(),this.Ra=null,this.set("imagePlane",null))};e.prototype.vGa=function(){this.xja();
this.Cd=new this.L4;this.Cd.bind(m.Z,this.ika,this,!0);this.Cd.set("url",this.get("url"));this.Cd.set("visible",!0);this.Cd.set("alpha",1);this.set("framePlane",this.Cd)};e.prototype.xja=function(){this.Cd&&(this.Cd.unbind(m.Z,this.ika,this,!0),this.Cd.remove(),this.Cd=null,this.set("framePlane",null))};e.prototype.wGa=function(){this.zja();this.Dr=new this.Q5;this.Dr.set("visible",!0);this.Dr.set("alpha",1);this.set("holePlane",this.Dr)};e.prototype.zja=function(){this.Dr&&(this.Dr.remove(),this.Dr=
null,this.set("holePlane",null))};e.prototype.r5=function(){return this.Dr};e.prototype.ika=function(){this.Aa()};e.prototype.VB=function(){this.trigger(m.Vc);this.trigger(m.Z)};e.prototype.ZB=function(c,f){var l=0;f.Cs(function(p){(p=f.Ul(p))&&(l+=p.Sg)});this.trigger(new ProgressEvent(m.ec,l/f.Xc.length))};return e});
define("fK",["require","lo","iW"],function(a){var e=a("lo"),h=a("iW");a=e.extend(h,function(){h.call(this);this.set("tag","ComposedCSSObject");this.set("transparent",!1);this.set("cssScene",null);this.set("cssSceneOver",null);this.set("cssObject",this.m3());this.Xt&&this.Xt();this.aB&&this.aB();this.ox&&this.ox();this.In&&this.In()});a.prototype.m3=function(){var m=new THREE.CSS3DObject;m.matrixAutoUpdate=!1;return m};a.prototype.Mb=function(){h.prototype.Mb.call(this);this.ao&&this.ao();this.xL&&
this.xL();this.yG&&this.yG()};a.prototype.Qb=function(){this.VF&&this.VF();this.zG&&this.zG();this.co&&this.co();var m=this.get("cssObject");m&&m.parent&&m.parent.remove(m);this.set("cssScene",null);h.prototype.Qb.call(this)};a.prototype.ea=function(m){this.pf&&this.pf(m);h.prototype.ea.call(this,m);this.set("cssScene",m.OO);this.set("cssSceneOver",m.PO);if(this.N("transparent")){var k=this.get("cssObject");k&&k.parent&&k.parent.remove(k)}this.N("cssScene","cssSceneOver","transparent")&&(k=this.get("transparent")?
m.PO:m.OO)&&k.add(this.get("cssObject"));this.Ml();this.Ej&&this.Ej(m);this.Av&&this.Av(m);this.XC()};a.prototype.Ml=function(){this.N("composedAlpha","meshGroup")&&this.Rw()};a.prototype.Rw=function(){this.get("cssObject").element.style.display=0<this.get("composedAlpha")?"block":"none"};a.prototype.XC=function(){this.N("index")&&(this.get("cssObject").containerElement.style.zIndex=this.get("index"))};return a});
define("ej",["require","gU","a"],function(a){var e=a("gU"),h=a("a"),m=new THREE.Matrix4,k=Math.PI/180;return{Xt:function(){this.set("vertices",void 0);this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.bo=new THREE.Matrix4;this.vm=new THREE.Matrix4;this.Jp=new THREE.Matrix4},m3:function(){var b=new THREE.CSS3DQuad;b.matrixAutoUpdate=!1;return b},Av:function(b){var g=!1;if(this.N("vertices","contentWidth","contentHeight")){var d=this.get("vertices");g=h.Ds(d[0].get("yaw")*k,d[0].get("pitch")*
k).normalize();var c=h.Ds(d[1].get("yaw")*k,d[1].get("pitch")*k).normalize(),f=h.Ds(d[2].get("yaw")*k,d[2].get("pitch")*k).normalize();d=h.Ds(d[3].get("yaw")*k,d[3].get("pitch")*k).normalize();var l=this.get("cssObject");l.vertices[0].set(g.x,g.y,-g.z);l.vertices[1].set(c.x,c.y,-c.z);l.vertices[2].set(f.x,f.y,-f.z);l.vertices[3].set(d.x,d.y,-d.z);l.contentWidth=this.get("contentWidth");l.contentHeight=this.get("contentHeight");g=!0}c=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&
(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*e.If,.5*this.get("composedTranslationY")*e.If,.5*this.get("composedTranslationZ")*e.If),c=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Bd.makeRotationY(-b.Sa*k),this.Bd.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Bd.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Bd.multiply(m.makeRotationY(b.Sa*k)),c=!0);if(c||this.N("meshGroup"))this.Jp.copy(this.kh),this.Jp.multiply(this.Bd),
this.get("cssObject").matrix.copy(this.Jp),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",b.Sa);this.set("cameraPitch",b.pitch);this.set("cameraRoll",b.bf);this.set("cameraHfov",b.Ee);this.set("cameraWidth",b.width);this.set("cameraHeight",b.height);b.camera&&(c||g||this.N("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&&(this.get("cssObject").projectVertices(b.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.N("geometryVisible")&&
this.j9())}}});
define("dR","require hT gU ep ko a".split(" "),function(a){var e=a("hT"),h=a("gU"),m=a("ep"),k=a("ko"),b=a("a"),g=new THREE.Matrix4,d=Math.PI/180;return{Xt:function(){this.set("distance",void 0);this.set("vertices",void 0);this.Ig=null;this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.Gl=new THREE.Matrix4;this.ii=new THREE.Matrix4},Av:function(c){this.WSa(c);this.tq(c)},vF:function(){var c=this.get("meshGroup");return c?m.Ok(c)[0]:null},Hn:function(){this.Ig||(this.Ig=this.nx());return[0].map(function(c){var f=
this.dK();c=m.create(this.Ig[c],f);k.dw(c,k.Yo);k.ew(c,k.Zq);k.RD(c,e.mJ);k.iQ(c,1);return c}.bind(this))},WSa:function(){if(this.N("vertices")){var c=this.get("meshGroup");if(c)return this.Ig&&this.Ig.forEach(function(f){h.dispose(f)}),this.Ig=this.nx(),m.Ok(c).map(function(f,l){m.Pda(f,this.Ig[l])}.bind(this))}},nx:function(){function c(w){return 0==w||isNaN(w)||!isFinite(w)}var f=this.get("vertices")||[];if(4!=f.length)return[h.Jua(-1,1,1,1,1,1,1,-1,1,-1,-1,1)];var l=b.Ds(f[0].get("yaw")*d,f[0].get("pitch")*
d).normalize(),p=b.Ds(f[1].get("yaw")*d,f[1].get("pitch")*d).normalize(),q=b.Ds(f[2].get("yaw")*d,f[2].get("pitch")*d).normalize();f=b.Ds(f[3].get("yaw")*d,f[3].get("pitch")*d).normalize();var n=l.clone().fY(q),r=f.clone().fY(p),t=n.clone().fY(r).normalize();r=(2*l.y*t.x/l.x-2*t.y)/(-q.y+l.y*q.x/l.x);c(r)&&(r=(2*l.z*t.x/l.x-2*t.z)/(-q.z+l.z*q.x/l.x));c(r)&&(r=(2*l.z*t.y/l.y-2*t.z)/(-q.z+l.z*q.y/l.y));var u=(2*t.x-q.x*r)/l.x;c(u)&&(u=(2*t.y-q.y*r)/l.y);c(u)&&(u=(2*t.z-q.z*r)/l.z);n=(2*p.y*t.x/p.x-
2*t.y)/(-f.y+p.y*f.x/p.x);c(n)&&(n=(2*p.z*t.x/p.x-2*t.z)/(-f.z+p.z*f.x/p.x));c(n)&&(n=(2*p.z*t.y/p.y-2*t.z)/(-f.z+p.z*f.y/p.y));var v=(2*t.x-f.x*n)/p.x;c(v)&&(v=(2*t.y-f.y*n)/p.y);c(v)&&(v=(2*t.z-f.z*n)/p.z);l=l.II(u);p=p.II(v);q=q.II(r);f=f.II(n);return[h.Jua(l.x,l.y,-l.z,p.x,p.y,-p.z,q.x,q.y,-q.z,f.x,f.y,-f.z)]},tq:function(c){var f=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*h.If,.5*this.get("composedTranslationY")*
h.If,.5*this.get("composedTranslationZ")*h.If),f=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Bd.makeRotationY(-c.Sa*d),this.Bd.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*d)),this.Bd.multiply(g.makeRotationY(this.get("composedDeltaYaw")*d)),this.Bd.multiply(g.makeRotationY(c.Sa*d)),f=!0);this.N("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&(c=0==this.ka.get("composedTranslationX")&&0==this.ka.get("composedTranslationY")&&
0==this.ka.get("composedTranslationZ")&&void 0!==this.get("distance")?h.qD(this.get("distance")):h.Mv(),this.Gl.makeScale(c,c,c),f=!0);if(f||this.N("meshGroup"))this.ii.copy(this.kh),this.ii.multiply(this.Bd),this.ii.multiply(this.Gl),c=m.Ok(this.get("meshGroup")),m.Bq(c[0],this.ii)}}});
define("cp",["require","oH"],function(a){var e=a("oH");return{aB:function(){this.set("visible",!1);this.set("inView",!1);this.set("url",!1);this.set("contentWidth",100);this.set("contentHeight",100);this.set("contentInteractive",!1);this.set("frameLoaded",!0);this.xc=this.Xd=null;this.iT=void 0;this.LX=this.LX.bind(this);this.MX=this.MX.bind(this);this.NX=this.NX.bind(this);this.zB=this.zB.bind(this);this.W5=this.W5.bind(this)},Ej:function(){this.N("cssObject")&&(this.xGa(),this.get("cssObject").element.appendChild(this.Xd));
this.N("url")&&this.tPa(this.get("url"));this.N("contentWidth","contentHeight")&&(this.Xd.style.width=this.get("contentWidth")+2+"px",this.Xd.style.height=this.get("contentHeight")+2+"px");this.N("contentInteractive")&&(this.Xd.style.pointerEvents=this.get("contentInteractive")?"auto":"none")},Ml:function(){this.N("composedAlpha")&&(0<this.get("composedAlpha")?this.xc&&!this.xc.parentNode&&(this.Ysa(),this.Xd.appendChild(this.xc)):this.xc&&this.xc.parentNode&&this.Xd.removeChild(this.xc))},xL:function(){this.trigger(e.Vc);
this.get("frameLoaded")&&this.trigger(e.Z)},VF:function(){this.FFa()},MX:function(h){h.preventDefault();h.stopImmediatePropagation()},LX:function(){this.Ba.mc.MD(null)},NX:function(h){h.preventDefault();h.stopImmediatePropagation()},zB:function(){this.set("frameLoaded",!0);this.trigger(e.Z)},W5:function(){this.jT=null;this.zB()},xGa:function(){this.xc||(this.Xd=document.createElement("div"),this.Xd.style.position="absolute",this.Xd.style.left=this.Xd.style.top="-1px",this.get("cssObject").isCSS3DObject&&
(this.Xd.style.transform="translate(-50%, -50%)"),this.Xd.style.overflow="hidden",this.Xd.style["-webkit-overflow-scrolling"]="touch",this.Xd.addEventListener("mouseenter",this.LX,!0),this.Xd.addEventListener("mousemove",this.MX,!0),this.Xd.addEventListener("mousewheel",this.NX,!0),this.xc=document.createElement("iframe"),this.xc.setAttribute("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture; xr-spatial-tracking"),this.xc.setAttribute("frameborder",
"0"),this.xc.setAttribute("scrolling","auto"),this.xc.style.width="100%",this.xc.style.height="100%",this.xc.addEventListener("load",this.zB,!0),0<this.get("composedAlpha")&&this.Xd.appendChild(this.xc))},FFa:function(){this.xc&&(this.xc.src="",this.d9(),this.hx(),this.xc.parentNode&&this.xc.parentNode.removeChild(this.xc),this.xc=null);this.Xd&&(this.Xd.parentNode&&this.Xd.parentNode.removeChild(this.Xd),this.Xd.removeEventListener("mouseenter",this.LX,!0),this.Xd.removeEventListener("mousemove",
this.MX,!0),this.Xd.removeEventListener("mousewheel",this.NX,!0),this.Xd=null)},tPa:function(h){this.iT!==h&&(this.iT=h,this.set("frameLoaded",!1),this.Ysa())},Ysa:function(){this.iT?(this.xPa(),this.DDa(),this.xc.src=this.iT):(this.hx(),this.d9(),this.xc.src="",this.zB())},xPa:function(){this.hx();this.jT=setTimeout(this.W5,3E3)},hx:function(){this.jT&&(clearTimeout(this.jT),this.jT=null)},DDa:function(){this.d9();this.xc.addEventListener("load",this.zB,!0)},d9:function(){this.xc.removeEventListener("load",
this.zB,!0)}}});define("kt",["require","ep","oH"],function(a){var e=a("ep"),h=a("oH");return{aB:function(){this.get("materialConfig").params.blending=THREE.NoBlending},xL:function(){this.trigger(h.Vc);this.trigger(h.Z)},Ml:function(){this.N("meshGroup","composedAlpha")&&e.uf(this.get("meshGroup"),0<this.get("composedAlpha")?.001:0)}}});
define("mz",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,["playbackPositions","width","height"],this.Pd,!0)},co:function(){e.ba(this.v,["playbackPositions","width","height"],this.Pd)},Pd:function(){this.set("playbackPositions",this.v.get("playbackPositions"));this.set("contentWidth",this.v.get("width"));this.set("contentHeight",this.v.get("height"))},pf:function(){this.N("playbackPositions",
"currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("vertices",this.mb.dca()));this.N("framePlane","holePlane","imagePlane","vertices")&&this.Kb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("contentWidth",this.get("contentWidth"));m.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("jy","require lo bT fK c ej dR cp gV kt mz".split(" "),function(a){var e=a("lo"),h=a("bT"),m=a("fK"),k=a("c"),b=a("ej"),g=a("dR"),d=a("cp"),c=a("gV"),f=a("kt");a=a("mz");var l=e.extend(k,g,c,function(){k.call(this);this.set("tag","QuadFrameHotspotImage")}),p=e.extend(m,b,d,function(){m.call(this);this.set("tag","QuadFrameHotspotFrame")}),q=e.extend(k,g,f,function(){k.call(this);this.set("tag","QuadFrameHotspotHole")});return e.extend(h,a,function(n){h.call(this,n);this.AB=l;this.L4=p;this.Q5=
q})});
define("js",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,["vertices","distance","playbackPositions"],this.Pd,!0)},co:function(){e.ba(this.v,["vertices","distance","playbackPositions"],this.Pd)},Pd:function(){this.set("distance",this.v.get("distance"));this.set("vertices",this.v.get("vertices"));this.set("playbackPositions",this.v.get("playbackPositions"))},pf:function(){this.N("playbackPositions",
"currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("vertices",this.mb.dca()),this.set("alpha",this.mb.Pk()))}}});
define("jc","require lo ky oH ep c dR gV oE js nh".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("ep"),b=a("c"),g=a("dR"),d=a("gV"),c=a("oE"),f=a("js"),l=a("nh"),p=0;a=e.extend(b,g,f,d,c,function(q){b.call(this);this.set("tag","QuadHotspotImage");this.set("id","quad_hs_image_"+p++);this.set("side",THREE.DoubleSide);this.v=q;this.kk.push(this.v);this.Wf=this.Wf.bind(this)});a.prototype.Mb=function(){b.prototype.Mb.call(this);h.fa(this.v,["image.levels"],this.Wf,!0)};a.prototype.Qb=function(){h.ba(this.v,
["image.levels"],this.Wf);b.prototype.Qb.call(this)};a.prototype.Wf=function(){this.set("image",this.v.get("image"));this.set("level",l.zVa(this.v))};a.prototype.ea=function(q){this.TC();b.prototype.ea.call(this,q);this.N("inView")&&this.v.trigger(this.get("inView")?m.kd:m.sd)};a.prototype.TC=function(){if(this.N("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&&q.children.forEach(function(n){k.setAttribute(n,k.Lz,this.get("panoramaId"));k.setAttribute(n,k.G_,this.get("id"))}.bind(this))}};
return a});
define("iU",["require","oH","kO"],function(a){function e(b,g){this.mc=b;this.Nc=g;this.Ib=!1;this.iV=!0;this.s2=this.g8=!1;this.Q1();this.r7()}var h=a("oH"),m=a("kO");e.prototype.clear=function(){this.moa();this.Z8()};e.prototype.wf=function(b){this.Ib!=b&&(this.Ib=b,this.ns())};e.prototype.vZa=function(b){this.iV!=b&&((this.iV=b)&&this.moa(),this.ns())};e.prototype.ns=function(){if(!this.Ib||this.iV)this.Nc.set("state",m.T);else if(this.Nc.get("autoplay")||this.s2)this.s2=!1,this.Nc.set("state",m.X)};
e.prototype.r7=function(){if(!this.g8){var b=this.Nc.get("video").get("autoplayTime");void 0!==b&&this.Nc.get("video").get("autoplayTimeLimit")<(new Date).getTime()&&(b=void 0);this.Nc.set("currentTime",b);this.s2=void 0!==b}};e.prototype.moa=function(){this.g8||(this.g8=!0,this.Nc.get("state")==m.X?(this.Nc.get("video").set("autoplayTimeLimit",(new Date).getTime()+k),this.Nc.get("video").set("autoplayTime",this.Nc.get("currentTime",0))):this.Nc.get("video").set("autoplayTime",void 0))};e.prototype.Q1=
function(){this.Nc.get("video").bind(h.G("autoplayTime"),this.r7,this,!0)};e.prototype.Z8=function(){this.Nc.get("video").unbind(h.G("autoplayTime"),this.r7,this,!0)};var k=1E3;return e});
define("eC",["require","oH","eA"],function(a){var e=a("oH"),h=a("eA");return{ox:function(){this.set("beamEnabled",!1);this.$c=!1;this.Dy=this.Ey=void 0},vq:function(m){this.Ey=m.Sa;this.Dy=m.pitch},sn:function(m){if(m.gf==e.im){var k=!m.Mk()&&this.nq(m)&&!this.get("blendingActive");if(k){m.az(this.v);this.v.get("useHandCursor")&&m.bz(this.v);m.Lk(this.get("distance"));var b=this.Nb(m.BD());b&&m.TX(b,this.Py(m.BD()))}this.$c!=k&&(this.$c=k,this.v.trigger(this.$c?e.Wc:e.ac),m.Ps()&&this.v.trigger(this.$c?
e.mA:e.$o))}else m.gf==e.Uj&&!m.Mk()&&this.nq(m)&&(1<this.v.bI(e.qa,!0).length&&m.Nq(this.v),m.Lk(this.get("distance")),this.v.trigger(e.qa))},nq:function(m){if(this.get("beamEnabled")){m=this.r5().nu(m.bq);for(var k=0;k<m.length;k++){var b=m[k];if(h.kw(b.source,b.x,b.y))return!0}}return!1},Nb:function(m){return!m||this.v.get("displayTooltipInTouchScreens")&&!1!==this.Ba.M.get("displayTooltipInTouchScreens")?this.v.get("toolTip",""):""},Py:function(m){if(m){m=this.get("yaw")-this.Ey;var k=this.get("pitch")-
this.Dy;return Math.sqrt(m*m+k*k)}return 0}}});
define("eY","require lo ky oH kO od cS iU bA ob nh eC lp oj bF".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("kO"),b=a("od"),g=a("cS"),d=a("iU"),c=a("bA"),f=a("ob"),l=a("nh"),p=a("eC"),q=a("lp"),n=a("oj"),r=a("bF");a=e.extend(g,p,c,function(t){g.call(this);this.v=t;this.Taa=this.AB=null;this.kk.push(this.v);this.Vf=this.Vf.bind(this);this.fp(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",!0);this.set("inVR",!1);this.set("overlaysEnabled",
!0);this.set("enabledInVR",!0);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("centerOverDisplay",!1);this.set("loadingActive",!1);this.set("frameEmpty",!0);this.set("state",k.T);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.rb=this.Ra=this.Sd=this.Af=null;this.Uaa=!1;this.wr=[];this.F9(this.v)});a.prototype.Mb=function(){this.Af=(new f(m.Z)).bm(this.VB.bind(this));
this.Sd=(new f(m.ec)).Ho(this.ZB.bind(this));this.$k=new d(this.Ba.mc,this.v);g.prototype.Mb.call(this);h.fa(this.v,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),this.Vf,!0);this.F4()};a.prototype.Qb=function(){this.G4();this.$k.clear();this.Af.dispose();this.Sd.dispose();h.ba(this.v,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),
this.Vf);this.cB();this.yx();g.prototype.Qb.call(this)};a.prototype.Vf=function(){this.set("image",this.v.get("image"));this.set("imageLevel",l.JVa(this.v,this.get("panoramaPixelsPerDegree")));this.set("video",this.v.get("video"));this.set("videoLevel",b.Jj(this.get("video")));this.set("enabled",this.v.get("enabled"));this.set("enabledInStandard",this.v.get("enabledInStandard"));this.set("enabledInVR",this.v.get("enabledInVR"));this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",
this.v.get("fadeOutDuration"));this.set("interactionEnabled",this.v.get("interactionEnabled"));this.set("state",this.v.get("state"));this.set("videoVisibleOnStop",this.v.get("videoVisibleOnStop"));this.set("blending",this.v.get("blending"));this.set("chromaColor",this.v.get("chromaColor"));this.set("chromaThreshold",this.v.get("chromaThreshold"));this.set("chromaSmoothing",this.v.get("chromaSmoothing"))};a.prototype.ea=function(t){this.set("inVR",t.Cb);this.set("hotspotsEnabled",t.xD);this.sq();this.dO();
g.prototype.ea.call(this,t);this.ns();this.oO(t);this.Vd(t);this.baa(t)};a.prototype.sq=function(){if(this.N("video","videoLevel","image","imageLevel")){var t=[];this.N("image","imageLevel")&&(this.eK(),this.Ra&&t.push(this.Ra));this.N("video","videoLevel")&&(this.gK(),this.rb&&t.push(this.rb));this.Tg(t);this.Af.vf(t);this.Sd.vf(t)}};a.prototype.dO=function(){this.N("video","videoLevel","image","imageLevel","blending","chromaColor","chromaThreshold","chromaSmoothing")&&this.Kb().forEach(function(t){t.set("blending",
this.get("blending"));t.set("chromaColor",this.get("chromaColor"));t.set("chromaThreshold",this.get("chromaThreshold"));t.set("chromaSmoothing",this.get("chromaSmoothing"))}.bind(this))};a.prototype.ns=function(){this.N("video","composedAlpha","enabledInVR","enabledInStandard","enabled","inVR")&&this.$k.wf(0<this.get("composedAlpha")&&this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard")));this.N("blendingActive")&&
this.$k.vZa(this.get("blendingActive"))};a.prototype.oO=function(){this.set("frameEmpty",!this.rb||this.rb.get("frameEmpty"))};a.prototype.Vd=function(t){var u=this.get("itemVisible");if(this.N("frameEmpty","state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var v="none";this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))&&(this.rb&&(!this.Ra||
!this.get("frameEmpty")&&(this.get("state")!=k.T||this.Uaa&&this.get("videoVisibleOnStop")))?v="video":this.Ra&&(v="image"),this.get("state")!=k.T&&(this.Uaa=!0));this.set("itemVisible",v);this.set("beamEnabled","none"!=v&&this.get("interactionEnabled"))}if(this.N("itemVisible")){v="none"!=this.get("itemVisible");var w="none"!=u;if(v&&w&&!this.get("chromaColor")&&0==this.wr.length)this.Ra&&this.Ra.set("alpha","image"==this.get("itemVisible")?1:0),this.rb&&this.rb.set("alpha","video"==this.get("itemVisible")?
1:0);else{u=v==w?100:v?this.get("fadeInDuration"):this.get("fadeOutDuration");v!=w&&this.v.trigger(v?m.kd:m.sd);w=this.Ra?this.Ra.get("alpha"):0;var x=this.rb?this.rb.get("alpha"):0;v=[{video:x,image:w}];"video"==this.get("itemVisible")?(v.push({video:1,image:w,time:u*(1-x)}),v.push({video:1,image:0,time:50*(w-0)})):"image"==this.get("itemVisible")?(v.push({video:x,image:1,time:u*(1-w)}),v.push({video:0,image:1,time:50*(x-0)})):v.push({video:0,image:0,time:Math.max(x,w,1/u)*u});this.wr=[];for(u=1;u<
v.length;u++)0<v[u].time&&this.wr.push(new n("linear",[new r("imageAlpha",v[u-1].image,v[u].image),new r("videoAlpha",v[u-1].video,v[u].video)],v[u].time))}}0<this.wr.length&&(this.wr[0].Re()?this.wr.shift():this.wr[0].zb(t.De),0<this.wr.length&&(this.Ra&&this.Ra.set("alpha",this.wr[0].cb("imageAlpha")),this.rb&&this.rb.set("alpha",this.wr[0].cb("videoAlpha")),this.Aa()))};a.prototype.eK=function(){this.cB();this.get("image")&&this.get("imageLevel")&&(this.Ra=new this.AB,this.Ra.set("image",this.get("image")),
this.Ra.set("level",this.get("imageLevel")),this.Ra.set("visible",!0),this.Ra.set("alpha",0),this.Ra.set("side",THREE.DoubleSide))};a.prototype.cB=function(){this.Ra&&(this.Ra.remove(),this.Ra=null)};a.prototype.gK=function(){this.yx();this.get("video")&&this.get("videoLevel")&&(this.rb=new this.Taa,this.rb.set("scriptObject",this.v),this.rb.set("video",this.get("video")),this.rb.set("level",this.get("videoLevel")),this.rb.set("visible",!0),this.rb.set("alpha",0),this.rb.set("side",THREE.DoubleSide))};
a.prototype.yx=function(){this.rb&&(this.rb.remove(),this.rb=null)};a.prototype.VB=function(){this.trigger(m.Vc);this.trigger(m.Z)};a.prototype.ZB=function(t,u){var v=0;u.Cs(function(w){(w=u.Ul(w))&&(v+=w.Sg)});this.trigger(new q(m.ec,v/u.Xc.length))};a.prototype.r5=function(){return"video"==this.get("itemVisible")?this.rb:this.Ra};return a});
define("gE","require oH kO ct ep ht mo lL fd kh od".split(" "),function(a){var e=a("oH"),h=a("kO"),m=a("ct"),k=a("ep");a("ht");var b=a("mo"),g=a("lL"),d=a("fd"),c=a("kh"),f=a("od");return{aB:function(){this.set("visible",!1);this.set("inView",!1);this.set("frameEmpty",!0);this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("scriptObject",null);this.set("video",null);this.set("level",null);this.set("loop",!1);this.set("side",void 0);
this.Ya=this.rb=null;this.Uaa=!1;this.cX=this.Qh=this.rv=this.Ja=this.rp=this.aa=null},VF:function(){this.yx()},Ej:function(l){this.XSa();this.dO();this.oO(l)},XSa:function(){this.N("scriptObject","video","level")&&(this.yx(),this.rb=this.get("video"),this.Ya=this.get("level"),this.v=this.get("scriptObject"),this.gK())},dO:function(){if(this.N("video","blending","chromaColor","chromaThreshold","chromaSmoothing","side")&&this.rb){var l=new m.em(this.rb.wi());l.ez=this.get("blending");l.xs=this.get("chromaColor");
l.KO=this.get("chromaThreshold");l.JO=this.get("chromaSmoothing");l.side=this.get("side");this.set("materialConfig",l)}},Ml:function(){this.N("visible","composedAlpha","image","state")&&this.set("inView",this.get("visible")&&0<this.get("composedAlpha"));this.N("composedAlpha","meshGroup","inView")&&k.uf(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0)},oO:function(){var l=this.aa&&this.aa.zY(),p=!!l&&l.isEmpty();p&&!this.get("frameEmpty")&&this.aa.getState()==h.X&&this.v.get("loop")&&
(l=this.Qh,p=!1);this.set("frameEmpty",p);!this.Qh||l&&!this.Qh.isEqual(l)?(this.Qh=l,this.cX.Zl(this.Qh.fB),this.cX.update(),this.Aa()):this.aa.getState()==h.X&&this.Aa()},gK:function(){this.rb&&this.Ya&&this.v&&(this.set("textureSource",this.cX=new d),this.set("contentWidth",this.Ya.get("width")),this.set("contentHeight",this.Ya.get("height")),this.set("alpha",0),this.aa=new f(this.Ba.mc,this.rb),this.aa.yYa(),this.rp=new b(this.v,this.aa),this.Ja=new g(this.Ba.mc,this.v,this.aa),this.rv=new c(this.Ba.yc.get("panorama"),
this.aa),this.Ft(),this.trigger(e.Vc),this.trigger(e.Z))},yx:function(){this.aa&&(this.set("textureSource",this.cX=null),this.dv(),this.Ja.clear(),this.Ja=null,this.rp.clear(),this.rp=null,this.rv.clear(),this.rv=null,this.aa.clear(),this.Qh=this.aa=null,this.set("frameEmpty",!0),this.Ya=this.rb=null)},Ft:function(){this.aa.bind(f.Jf,this.Ye,this,!0);this.aa.bind(e.ne,this.Bf,this,!0)},dv:function(){this.aa.unbind(f.Jf,this.Ye,this,!0);this.aa.unbind(e.ne,this.Bf,this,!0)},Bf:function(){this.Aa()},
Ye:function(){this.Aa()}}});
define("oi",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,["playbackPositions","distance"],this.Pd,!0)},co:function(){e.ba(this.v,["playbackPositions","distance"],this.Pd)},Pd:function(){this.set("distance",this.v.get("distance"));this.set("playbackPositions",this.v.get("playbackPositions"))},pf:function(){this.N("playbackPositions","currentTime")&&
(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("vertices",this.mb.dca()),this.set("alpha",this.mb.Pk()));this.N("video","image","vertices","distance")&&this.Kb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("distance",this.get("distance"))}.bind(this))}}});
define("kd","require lo eY c dR gV gE oi".split(" "),function(a){var e=a("lo"),h=a("eY"),m=a("c"),k=a("dR"),b=a("gV"),g=a("gE");a=a("oi");var d=e.extend(m,k,b,function(){m.call(this);this.set("tag","QuadVideoHotspotImage")}),c=e.extend(m,k,g,function(){m.call(this);this.set("tag","QuadVideoHotspotVideo")});return e.extend(h,a,function(f){h.call(this,f);this.AB=d;this.Taa=c})});
define("kJ","require lo ky kO jX nz v".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("kO"),k=a("jX"),b=a("nz"),g=a("v");a=e.extend(k,function(d){k.call(this);this.v=d;this.pk=this.pk.bind(this);this.qk=this.qk.bind(this);this.om()});a.prototype.Mb=function(){k.prototype.Mb.call(this);this.v.set("state",this.v.get("startState"));h.fa(this.v,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.pk,!0);h.fa(this.v,["state"],this.qk,
!0)};a.prototype.Qb=function(){h.ba(this.v,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.pk);h.ba(this.v,["state"],this.qk);this.v.set("state",m.T);k.prototype.Qb.call(this)};a.prototype.pk=function(){this.om();this.aN()};a.prototype.qk=function(){this.CV=this.v.get("state");this.Aa()};a.prototype.om=function(){k.prototype.om.call(this);if(g.Rf()){this.lB=this.Gr=4;this.jC=2400;this.mB=1200;var d=1.5;var c=1.6}else this.Gr=2,
this.lB=4,this.jC=4800,this.mB=2400,c=d=1;var f=this.v.get("intensity",.5);this.wc=b.JP(this.v.get("color","#ffffff"));this.FM=.24*this.v.get("opacity",.25)+.01;this.FM*=2;this.xy=(f*(.37-.17)+.17)*d;d=(this.v.get("speed",.5)*(.09-.02)+.02)/this.xy*c;this.DL=.9*d;this.SB=1.1*d;this.jC=Math.round(this.v.get("particleCount",this.jC)*f);this.mB=Math.round(this.v.get("farPlaneParticleCount",this.mB)*f);this.cU=0;this.Gp=2;this.Hr=-2;this.X6=0;this.EJ=.75;this.mK=.5;this.uT=this.v.get("initialState");
this.LW=this.v.get("startDuration");this.RW=this.v.get("stopDuration");this.Gr=this.v.get("maxDistance",this.Gr);this.lB=this.v.get("farPlaneDistance",this.lB);this.Wy()};a.prototype.lS=function(){var d=new THREE.MeshBasicMaterial;d.color=new THREE.Color(this.wc[0]/255,this.wc[1]/255,this.wc[2]/255);d.side=THREE.FrontSide;d.transparent=!0;d.depthTest=!1;d.needsUpdate=!0;this.qB||(this.qB=new THREE.BoxGeometry(.01,.2,.01));return new THREE.Mesh(this.qB,d)};a.prototype.Wy=function(){var d=this.hg&&
this.hg.children||[],c=new THREE.Color(this.wc[0]/255,this.wc[1]/255,this.wc[2]/255);d.forEach(function(f){f.material.color=c;f.material.needsUpdate=!0})};return a});
define("gq","require lo z oH cy iW".split(" "),function(a){var e=a("lo"),h=a("z"),m=a("oH"),k=a("cy"),b=a("iW"),g=e.extend(b,function(d,c,f,l){b.call(this);this.mc=d;this.M=c;this.yc=f;this.j=l;this.OL=new h;this.L9(this);this.set("tag","Root");this.set("globalBlendingActive",0)});g.prototype.tf=function(d){return this.OL.get(d)};g.prototype.all=function(){for(var d=[],c=[this];0<c.length;){var f=c.pop();d.push(f);for(var l=f.Ld.length-1;0<=l;l--)c.push(f.Ld[l])}return d};g.prototype.update=function(d){var c=
this.all(),f=c.length,l;for(l=0;l<f;l++)c[l].JFa();for(l=0;l<f;l++)c[l].set("index",l);for(l=0;l<f;l++)c[l].Ba&&c[l].ea(d);for(l=0;l<f;l++)c[l].CFa();if(this.sT){for(l=0;l<f;l++)c[l].GFa();this.update(d)}};g.prototype.Aa=function(){this.Zf||this.trigger(new k(m.pa));b.prototype.Aa.call(this)};g.prototype.Pv=function(d){return Array.isArray(d)?d.map(this.Pv.bind(this)):this.OL.get(d)||g.EUa.create(d)};return g});
define("fT","require lo ky kO jX v".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("kO"),k=a("jX"),b=a("v");a=e.extend(k,function(d){k.call(this);this.v=d;this.pk=this.pk.bind(this);this.qk=this.qk.bind(this);this.om()});a.prototype.Mb=function(){k.prototype.Mb.call(this);this.v.set("state",this.v.get("startState"));h.fa(this.v,["intensity","speed"],this.pk,!0);h.fa(this.v,["state"],this.qk,!0)};a.prototype.Qb=function(){h.ba(this.v,["intensity","speed"],this.pk);h.ba(this.v,["state"],this.qk);
this.v.set("state",m.T);k.prototype.Qb.call(this)};a.prototype.pk=function(){this.om();this.aN()};a.prototype.qk=function(){this.CV=this.v.get("state");this.Aa()};a.prototype.om=function(){k.prototype.om.call(this);var d=this.v.get("intensity"),c=this.v.get("speed");if(b.kb()||b.browser()==b.Oz){var f=1E3;var l=350;var p=1800;var q=400;var n=.8;var r=1.2}else b.Rf()?(f=1500,l=500,p=2500,q=500,n=.8,r=1.2):(f=3E3,l=1E3,p=5E3,q=1E3,n=.6,r=1);this.uT=this.v.get("initialState");this.LW=this.v.get("startDuration");
this.RW=this.v.get("stopDuration");this.EJ=.75;this.mK=.5;this.Gr=4;this.Hr=-2;this.Gp=3;this.cU=35;this.lB=7;this.xy=(n+d*(r-n))/g;this.DL=this.SB=.15+1.35*c;this.jC=l+d*(f-l);this.mB=q+d*(p-q)};a.prototype.lS=function(){return new THREE.Sprite(this.Yt())};a.prototype.Yt=function(){var d=new THREE.SpriteMaterial;d.map=this.pp();d.side=THREE.FrontSide;d.transparent=!0;d.depthTest=!1;d.needsUpdate=!0;return d};a.prototype.pp=function(){if(this.tb)return this.tb;var d=document.createElement("canvas");
d.width=d.height=g;var c=d.getContext("2d"),f=c.createRadialGradient(.5*d.width,.5*d.height,.2*d.height,.5*d.width,.5*d.height,.5*d.height);f.addColorStop(0,"rgba(255, 255, 255, 0.8)");f.addColorStop(1,"rgba(255, 255, 255, 0)");c.fillStyle=f;c.fillRect(0,0,d.width,d.height);this.tb=new THREE.Texture;this.tb.image=d;this.tb.needsUpdate=!0;return this.tb};var g=32;return a});
define("cU",["require","gU","v"],function(a){var e=a("gU"),h=a("v"),m=new THREE.Matrix4,k=Math.PI/180;return{Xt:function(){this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("hfov",void 0);this.set("vfov",null);this.kh=new THREE.Matrix4;this.Bd=new THREE.Matrix4;this.bo=new THREE.Matrix4;this.vm=new THREE.Matrix4;this.Yi=new THREE.Matrix4;this.Gl=new THREE.Matrix4;this.Jp=new THREE.Matrix4},
m3:function(){var b=h.fe()==h.Hi||h.browser()==h.Oz?new THREE.CSS3DRectangle:new THREE.CSS3DObject;b.matrixAutoUpdate=!1;return b},Av:function(b){if(this.N("contentWidth","contentHeight")){var g=this.get("cssObject");g.contentWidth=this.get("contentWidth");g.contentHeight=this.get("contentHeight");g.updateVertices()}g=!1;this.N("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.kh.makeTranslation(.5*-this.get("composedTranslationX")*e.If,.5*this.get("composedTranslationY")*
e.If,.5*this.get("composedTranslationZ")*e.If),g=!0);this.N("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.Bd.makeRotationY(-b.Sa*k),this.Bd.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Bd.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Bd.multiply(m.makeRotationY(b.Sa*k)),g=!0);this.N("yaw","pitch")&&(this.bo.makeRotationY(-this.get("yaw")*k),this.bo.multiply(m.makeRotationX(this.get("pitch")*k)),g=!0);if(this.N("flipHorizontally","hfov","vfov",
"composedTranslationX","composedTranslationY","composedTranslationZ")){g=this.get("contentWidth");var d=this.get("contentHeight"),c=this.get("hfov"),f=this.get("vfov");this.vm.makeTranslation(0,0,-(g/(2*Math.tan(c*k*.5))));var l=(this.get("flipHorizontally")?-1:1)*this.get("scale"),p=this.get("scale");f&&(p*=g*Math.tan(f*k*.5)/(d*Math.tan(c*k*.5)));this.Gl.makeScale(l,p,1);g=!0}this.N("rotationX","rotationY","rotationZ","roll")&&(this.Yi.makeRotationZ(this.get("roll")*k),this.Yi.multiply(m.makeRotationY(this.get("rotationY")*
k)),this.Yi.multiply(m.makeRotationX(this.get("rotationX")*k)),this.Yi.multiply(m.makeRotationZ(this.get("rotationZ")*k)),g=!0);if(g||this.N("meshGroup"))this.Jp.copy(this.kh),this.Jp.multiply(this.Bd),this.Jp.multiply(this.bo),this.Jp.multiply(this.vm),this.Jp.multiply(this.Yi),this.Jp.multiply(this.Gl),this.get("cssObject").matrix.copy(this.Jp),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",b.Sa);this.set("cameraPitch",b.pitch);this.set("cameraRoll",b.bf);this.set("cameraHfov",
b.Ee);this.set("cameraWidth",b.width);this.set("cameraHeight",b.height);b.camera&&(g||this.N("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&&(this.get("cssObject").projectVertices(b.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.N("geometryVisible")&&this.j9())}}});
define("mg",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,["playbackPositions","width","height"],this.Pd,!0)},co:function(){e.ba(this.v,["playbackPositions","width","height"],this.Pd)},Pd:function(){this.set("playbackPositions",this.v.get("playbackPositions"));this.set("contentWidth",this.v.get("width"));this.set("contentHeight",this.v.get("height"))},pf:function(){this.N("playbackPositions",
"currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("yaw",this.mb.get("yaw")),this.set("pitch",this.mb.get("pitch")),this.set("roll",this.mb.get("roll")),this.set("rotationX",this.mb.get("rotationX")),this.set("rotationY",this.mb.get("rotationY")),this.set("hfov",this.mb.get("hfov")),this.set("vfov",this.mb.get("vfov")));this.N("framePlane","holePlane","imagePlane","yaw","pitch","roll","rotationX","rotationY","hfov","vfov","contentWidth","contentHeight")&&
this.Kb().forEach(function(m){m.set("yaw",this.get("yaw"));m.set("pitch",this.get("pitch"));m.set("roll",this.get("roll"));m.set("rotationX",this.get("rotationX"));m.set("rotationY",this.get("rotationY"));m.set("hfov",this.get("hfov"));m.set("vfov",this.get("vfov"));m.set("contentWidth",this.get("contentWidth"));m.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("mC","require lo bT fK c cU nV cp gV kt mg".split(" "),function(a){var e=a("lo"),h=a("bT"),m=a("fK"),k=a("c"),b=a("cU"),g=a("nV"),d=a("cp"),c=a("gV"),f=a("kt");a=a("mg");var l=e.extend(k,g,c,function(){k.call(this);this.set("tag","RectangleFrameHotspotImage")}),p=e.extend(m,b,d,function(){m.call(this);this.set("tag","RectangleFrameHotspotFrame")}),q=e.extend(k,g,f,function(){k.call(this);this.set("tag","RectangleFrameHotspotHole")});return e.extend(h,a,function(n){h.call(this,n);this.AB=l;
this.L4=p;this.Q5=q})});
define("nY",["require","ky","nw"],function(a){var e=a("ky"),h=a("nw");return{In:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.Pd=this.Pd.bind(this);this.mb=new h},ao:function(){e.fa(this.v,["playbackPositions","distance","scaleMode"],this.Pd,!0)},co:function(){e.ba(this.v,["playbackPositions","distance","scaleMode"],this.Pd)},Pd:function(){this.set("scaleMode",this.v.get("scaleMode"));this.set("distance",this.v.get("distance"));this.set("playbackPositions",
this.v.get("playbackPositions"))},pf:function(){this.N("playbackPositions","currentTime")&&(this.mb.Ez(this.get("playbackPositions")),this.mb.Dz(this.get("currentTime")),this.set("yaw",this.mb.get("yaw")),this.set("pitch",this.mb.get("pitch")),this.set("roll",this.mb.get("roll")),this.set("rotationX",this.mb.get("rotationX")),this.set("rotationY",this.mb.get("rotationY")),this.set("hfov",this.mb.get("hfov")),this.set("vfov",this.mb.get("vfov")),this.set("alpha",this.mb.Pk()));this.N("video","image",
"yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Kb().forEach(function(m){m.set("yaw",this.get("yaw"));m.set("pitch",this.get("pitch"));m.set("roll",this.get("roll"));m.set("rotationX",this.get("rotationX"));m.set("rotationY",this.get("rotationY"));m.set("hfov",this.get("hfov"));m.set("vfov",this.get("vfov"));m.set("scaleMode",this.get("scaleMode"));m.set("distance",this.get("distance"))}.bind(this))}}});
define("oK","require lo eY c nV gV gE nY".split(" "),function(a){var e=a("lo"),h=a("eY"),m=a("c"),k=a("nV"),b=a("gV"),g=a("gE");a=a("nY");var d=e.extend(m,k,b,function(){m.call(this);this.set("tag","RectangleVideoHotspotImage")}),c=e.extend(m,k,g,function(){m.call(this);this.set("tag","RectangleVideoHotspotVideo")});return e.extend(h,a,function(f){h.call(this,f);this.AB=d;this.Taa=c})});
define("dS","require nx iW hD iG jH mh eV nj gb X nP dK bD jy jc kd kJ gq fT mC oK bZ".split(" "),function(a){function e(z,C){Array.isArray(C)||(C=[C]);for(var H=0;H<C.length;H++)if(h.Na(C[H],z))return!0;return!1}var h=a("nx"),m=a("iW"),k=a("hD"),b=a("iG"),g=a("jH"),d=a("mh"),c=a("eV"),f=a("nj"),l=a("gb"),p=a("X"),q=a("nP"),n=a("dK"),r=a("bD"),t=a("jy"),u=a("jc"),v=a("kd"),w=a("kJ"),x=a("gq"),y=a("fT"),A=a("mC"),B=a("oK");a("bZ");a={};x.EUa=a;a.create=function(z){if(z instanceof m)return z;if(e(z,
["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new p(z);if(e(z,["CubicPanoramaFrame","SphericPanoramaFrame"]))return e(z,"SphericPanoramaFrame")&&z.Tl()?new n(z):new q(z);if(e(z,["DustPanoramaOverlay"]))return new b(z);if(e(z,"HotspotPanoramaOverlay"))return new d(z);if(e(z,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new c(z);if(e(z,"Menu"))return new l(z);if(e(z,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new k(z);if(e(z,["FlatHotspotPanoramaOverlayImage",
"FlatHotspotPanoramaOverlayMap"]))return new g(z);if(e(z,["LensFlarePanoramaOverlay"]))return new f(z);if(e(z,["RainPanoramaOverlay"]))return new w(z);if(e(z,["SnowPanoramaOverlay"]))return new y(z);if(e(z,["PopupPanoramaOverlay"]))return new r(z);if(e(z,["QuadFramePanoramaOverlay"]))return new t(z);if(e(z,["QuadHotspotPanoramaOverlayImage","QuadHotspotPanoramaOverlayMap"]))return new u(z);if(e(z,["QuadVideoPanoramaOverlay"]))return new v(z);if(e(z,["FramePanoramaOverlay"]))return new A(z);if(e(z,
["VideoPanoramaOverlay"]))return new B(z);throw"Invalid script object";};return a});
define("cj",["require"],function(){var a={Ova:function(e,h,m,k,b,g){return a.RUa(e,h/k*2-1,2*-(m/b)+1,g)},RUa:function(e,h,m,k){k||(k=new THREE.Ray);k.origin.setFromMatrixPosition(e.matrixWorld);k.direction.set(h,m,.5).unproject(e).sub(k.origin).normalize();return k},fVa:function(e,h){h||(h=new THREE.Ray);h.origin.set(0,0,0);h.direction.set(0,0,-1).applyQuaternion(e.quaternion);return h},eVa:function(e,h){h||(h=new THREE.Ray);h.origin.set(0,0,0).applyMatrix4(e);h.direction.set(0,0,-1).applyMatrix4(e).sub(h.origin).normalize();
return h}};return a});
define("mt","require lo ep jt lK fd bv".split(" "),function(a){var e=a("lo"),h=a("ep"),m=a("jt"),k=a("lK"),b=a("fd"),g=a("bv");a=e.extend(m,function(){m.call(this);this.O=null;this.set("tag","Reticle");this.set("changing",!1);this.set("over",!1);this.set("overProgress",void 0);this.set("visible",!0);this.set("attachToCamera",!0);this.$n=null});a.prototype.ea=function(d){this.sq(d);this.lg(d);this.pf(d);m.prototype.ea.call(this,d)};a.prototype.sq=function(d){d.Cb&&!this.$n&&g.getType()==g.uA.Vk&&this.Tg([this.$n=
new m])};a.prototype.lg=function(d){this.O||(this.set("textureSource",new b),this.O=new k(this.Ba.M),this.get("textureSource").Zl(this.O.og()),this.set("contentWidth",this.O.rd()),this.set("contentHeight",this.O.ee()),this.set("hfov",6),this.set("distance",this.Ba.M.get("vrPointerDistance")));this.N("changing")&&this.O.ZZ(this.get("changing"));this.N("over","overProgress")&&this.O.Xda(this.get("over"),this.get("overProgress"));this.O.update(d.De)&&this.get("textureSource").update();this.get("changing")&&
this.Aa()};a.prototype.pf=function(){this.Uh()};a.prototype.Ml=function(){this.N("composedAlpha","meshGroup","visible")&&this.Rw()};a.prototype.Rw=function(){h.uf(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("bk","require jquery.mod eg oH v pd hs".split(" "),function(a){function e(c){this.fb=c;this.ssa=this.fb.Qn;this.fb.bind(k.jc,this.kf,this);this.na=h("<span></span>");this.na.css({"pointer-events":"none",position:"absolute","z-index":b.ICa,"text-align":"center",display:"none"});this.ie=h("<span></span>");this.ie.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.na.append(this.ie);this.bX=h("<span></span>");this.bX.css({position:"relative"});this.na.append(this.bX);this.$i=this.xT=
this.Eg=null;this.Uu=this.Tu=void 0;this.vu=!1;this.tsa=void 0}var h=a("jquery.mod"),m=a("eg"),k=a("oH");a("v");var b=a("pd"),g=a("hs"),d={toolTip:void 0,toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,toolTipCentered:!1,toolTipCenteredOffsetY:void 0,toolTipFontFamily:"Segoe UI",toolTipFontSize:12,toolTipFontColor:"#606060",toolTipFontWeight:"normal",toolTipFontStyle:"normal",toolTipHorizontalAlign:"center",toolTipOpacity:1,
toolTipPaddingBottom:2,toolTipPaddingLeft:4,toolTipPaddingTop:2,toolTipPaddingRight:4,toolTipShadowBlurRadius:3,toolTipShadowColor:"#333333",toolTipShadowHorizontalLength:3,toolTipShadowOpacity:1,toolTipShadowSpread:0,toolTipShadowVerticalLength:3,toolTipTextShadowBlurRadius:3,toolTipTextShadowColor:"#000000",toolTipTextShadowHorizontalLength:0,toolTipTextShadowOpacity:0,toolTipTextShadowVerticalLength:0,toolTipDisplayTime:600};e.prototype.Ac=function(){return this.na};e.prototype.MD=function(c){if(!this.ssa){for(;c&&
c.get("toolTipDisabled");)c=c.getParent();this.hide();this.Eg&&m(m(d).keys()).each(function(f){this.Eg.unbind(k.G(f),this.K7,this)},this);if(this.Eg=c)m(m(d).keys()).each(function(f){this.Eg.bind(k.G(f),this.K7,this)},this),this.K7()}};e.prototype.i_a=function(c,f){this.Eg=c;this.tsa=f;this.FT()||(this.vu?this.Fra():this.IN())};e.prototype.Dra=function(c,f,l){this.vu&&this.Eg.trigger(k.pga);this.RRa(c);this.bX.html(this.UJa(f));this.wia=l;this.pf();this.Eg.trigger(k.HCa);this.vu=!0;this.na.css("display",
"inline");(l||c.get("checkToolTipOcclusion"))&&this.jQa(c)};e.prototype.pf=function(){var c=this.yp(),f=c.x;c=c.y;var l=this.na.outerWidth(),p=this.na.outerHeight();if(this.wia){f-=.5*this.na.width();var q=this.Eg.get("toolTipCenteredOffsetY");c=void 0===q?c-.5*this.na.height():0<q?c+q:c-(this.na.height()-q)}f=Math.max(Math.min(f,this.fb.Xa()-l-3),3);c=Math.max(Math.min(c,this.fb.xb()-p-3),3);this.na.css("left",f+"px");this.na.css("top",c+"px")};e.prototype.yp=function(){var c={};if(this.wia){var f=
this.Eg.Ac().offset();c.x=f.left+.5*this.Eg.Xa();c.y=f.top+.5*this.Eg.xb()}else c.x=this.Tu,c.y=this.Uu+25;return c};e.prototype.hide=function(){this.WA();this.Xra();this.vu&&(this.na.css("display","none"),this.Eg.trigger(k.pga),this.vu=!1)};e.prototype.K7=function(){this.Eg.get("toolTip")?this.FT()||(this.vu?this.Era():this.IN()):this.FT()?this.WA():this.vu&&this.hide()};e.prototype.kf=function(c){this.Tu=c.pageX;this.Uu=c.pageY;this.vu&&this.Eg.get("toolTipFollowMouse")&&this.pf()};e.prototype.Era=
function(){this.Dra(this.Eg,this.Eg.get("toolTip"),this.Eg.get("toolTipCentered"))};e.prototype.Fra=function(){this.Dra(this.Eg,this.tsa,!0)};e.prototype.FT=function(){return null!=this.$i};e.prototype.IN=function(){var c=this.Eg&&this.Eg.get("toolTipDisplayTime");if(void 0===c||null===c)c=d.toolTipDisplayTime;this.WA();this.$i=setTimeout(function(){this.$i=null;this.ssa?this.Fra():this.Era()}.bind(this),c)};e.prototype.WA=function(){this.FT()&&(clearTimeout(this.$i),this.$i=null)};e.prototype.jQa=
function(c){var f=this.yp();this.Xra();var l=function(){this.na.css("display",this.vu&&!this.XKa(c,f.x,f.y)?"inline":"none")}.bind(this);this.xT=setInterval(l,300);l()};e.prototype.Xra=function(){this.xT&&(clearInterval(this.xT),this.xT=null)};e.prototype.RRa=function(c){function f(n){var r=c.get(n);return void 0===r?d[n]:r}var l={};l.opacity=f("toolTipOpacity");l.filter=l["-ms-filter"]="alpha(opacity="+Math.round(100*f("toolTipOpacity"))+")";l.paddingTop=f("toolTipPaddingTop")+"px";l.paddingBottom=
f("toolTipPaddingBottom")+"px";l.paddingLeft=f("toolTipPaddingLeft")+"px";l.paddingRight=f("toolTipPaddingRight")+"px";l["text-align"]=f("toolTipHorizontalAlign");this.na.css(l);l={};l.opacity=f("toolTipBackgroundOpacity");l.filter=l["-ms-filter"]="alpha(opacity="+Math.round(100*f("toolTipBackgroundOpacity"))+")";l["background-color"]=f("toolTipBackgroundColor");l.border=[f("toolTipBorderSize")+"px","solid",f("toolTipBorderColor")].join(" ");var p=f("toolTipShadowColor");l["-moz-box-shadow"]=l["-webkit-box-shadow"]=
l["box-shadow"]=[f("toolTipShadowHorizontalLength")+"px",f("toolTipShadowVerticalLength")+"px",f("toolTipShadowBlurRadius")+"px",f("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+f("toolTipShadowOpacity")+")"].join(" ");l["-moz-border-radius"]=l["-webkit-border-radius"]=l.borderRadius=f("toolTipBorderRadius")+"px";this.ie.css(l);l={};l["font-family"]=g.Jv(f("toolTipFontFamily"));p=f("toolTipFontSize");m(p).isNumber()?
p+="px":m(p).isString()||(p="");l["font-size"]=p;l["font-weight"]=f("toolTipFontWeight");l["font-style"]=f("toolTipFontStyle");l.color=f("toolTipFontColor");p=f("toolTipTextShadowColor");l["-moz-text-shadow"]=l["-webkit-text-shadow"]=l["text-shadow"]=[f("toolTipTextShadowHorizontalLength")+"px",f("toolTipTextShadowVerticalLength")+"px",f("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+p.substr(1,2))+", "+parseInt("0x"+p.substr(3,2))+", "+parseInt("0x"+p.substr(5,2))+", "+f("toolTipTextShadowOpacity")+
")"].join(" ");var q=0==f("toolTipTextShadowVerticalLength")&&0==f("toolTipTextShadowHorizontalLength")?135:45*Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-f("toolTipTextShadowVerticalLength"))/Math.PI);l.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(n){for(n=n.toString(16);2>n.length;)n="0"+n;return n}(255*f("toolTipTextShadowOpacity"))+p.substr(1,6)+",direction="+q+")";this.bX.css(l)};e.prototype.XKa=function(c,f,l){f=document.elementsFromPoint(f,l);c=c.Ac()[0];
l=this.fb.Ac()[0];for(var p=0;p<f.length;p++){var q=f[p];if(c==q||c.contains(q))break;if(!this.na[0].contains(q)&&l.contains(q)){var n=window.getComputedStyle(q);if("none"!=n.display&&"hidden"!=n.visibility&&.29<("CANVAS"==q.tagName?1:this.QFa(n.backgroundColor))*n.opacity)return!0}}return!1};e.prototype.QFa=function(c){if(!c)return 0;c=c.toLowerCase();var f=c.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return f?parseFloat(f[1]):c.match(/transparent/)?0:1};e.prototype.UJa=function(c){c=
(c||"").split("\n");for(var f=0;f<c.length;f++)c[f]=this.NHa(c[f]);return c.map(function(l){return"<div>"+l+"</div>"})};e.prototype.NHa=function(c){e.hha.nodeValue=c;return e.dha.innerHTML};e.lBa=d;e.dha=document.createElement("pre");e.hha=document.createTextNode("");e.dha.appendChild(e.hha);return e});
define("cP",["require","bk","bR","hs"],function(a){function e(b,g){this.M=b;this.Ll=g;this.aQa()}var h=a("bk"),m=a("bR"),k=a("hs");e.prototype.og=function(){return this.O};e.prototype.rd=function(){return this.O.width};e.prototype.ee=function(){return this.O.height};e.prototype.aQa=function(){this.O=document.createElement("canvas");var b=this.Ll.split("\n"),g=this.Jg("toolTipBackgroundColor"),d=this.Jg("toolTipBackgroundOpacity"),c=this.Jg("toolTipBorderRadius"),f=this.Jg("toolTipBorderColor"),l=
this.Jg("toolTipBorderSize");this.Jg("toolTipDisplayTime");var p=this.Jg("toolTipFontFamily"),q=this.Jg("toolTipFontSize"),n=this.Jg("toolTipFontColor"),r=this.Jg("toolTipFontWeight"),t=this.Jg("toolTipFontStyle"),u=this.Jg("toolTipPaddingBottom"),v=this.Jg("toolTipPaddingLeft"),w=this.Jg("toolTipPaddingTop"),x=this.Jg("toolTipPaddingRight"),y=this.Jg("toolTipOpacity"),A=this.Jg("toolTipTextShadowBlurRadius"),B=this.Jg("toolTipTextShadowColor"),z=this.Jg("toolTipTextShadowHorizontalLength"),C=this.Jg("toolTipTextShadowVerticalLength"),
H=this.Jg("toolTipTextShadowOpacity"),D=new m.j1;D.fontFamily=p;D.fontSize=q+(isNaN(q)?"":"px");D.fontWeight=r;D.fontStyle=t;var I=b.map(function(G){return m(G,D,Q)}),F=0,N=0;I.forEach(function(G){F=Math.max(G.width,F);N+=G.height});var S=1<b.length?N/b.length*.25:0;N+=(b.length-1)*S;x=l+v+F+x+l;u=l+w+N+u+l;this.O=document.createElement("canvas");var Q=this.O.getContext("2d");this.O.width=x;this.O.height=u;Q.globalAlpha=y;Q.strokeStyle=f;Q.fillStyle="transparent"===g?"rgba(0,0,0,0)":this.wha(d,g);
Q.lineWidth=l;Q.beginPath();Q.moveTo(c,0);Q.lineTo(x-c,0);Q.quadraticCurveTo(x,0,x,c);Q.lineTo(x,u-c);Q.quadraticCurveTo(x,u,x-c,u);Q.lineTo(c,u);Q.quadraticCurveTo(0,u,0,u-c);Q.lineTo(0,c);Q.quadraticCurveTo(0,0,c,0);Q.closePath();Q.fill();0<l&&Q.stroke();Q.fillStyle=n;Q.font=r+" "+("normal"!=t?t+" ":"")+q+(isNaN(q)?"":"px")+" "+k.Jv(p);Q.shadowColor=this.wha(H,B);Q.shadowOffsetX=z;Q.shadowOffsetY=C;Q.shadowBlur=A;Q.textBaseline="middle";Q.textAlign="center";var R=l+v+.5*F,W=l+w;b.forEach(function(G,
L){Q.fillText(G,Math.round(R),Math.round(W+.5*I[L].height));W+=I[L].height+S})};e.prototype.Jg=function(b){var g=this.M.get(b);return void 0===g?h.lBa[b]:g};e.prototype.wha=function(b,g){return"rgba("+parseInt("0x"+g.substr(1,2))+", "+parseInt("0x"+g.substr(3,2))+", "+parseInt("0x"+g.substr(5,2))+", "+b+")"};return e});
define("oB","require lo gU jt cP fd bv".split(" "),function(a){var e=a("lo"),h=a("gU"),m=a("jt"),k=a("cP"),b=a("fd"),g=a("bv");a=e.extend(m,function(){m.call(this);this.O=null;this.set("tag","ToolTip");this.set("text","");this.yo=new THREE.Vector3(0,0,-h.Mv());this.$n=null});a.prototype.ea=function(l){this.sq(l);this.lg(l);m.prototype.ea.call(this,l)};a.prototype.sq=function(l){l.Cb&&!this.$n&&g.getType()==g.uA.Vk&&this.Tg([this.$n=new m])};a.prototype.lg=function(l){if(!this.O||this.N("text")){this.get("textureSource")||
this.set("textureSource",new b);this.O=new k(this.Ba.M,this.get("text"));this.get("textureSource").Zl(this.O.og());this.set("contentWidth",this.O.rd());this.set("contentHeight",this.O.ee());this.set("hfov",2*Math.atan2(.5*this.O.rd(),600)*d);this.set("distance",this.Ba.M.get("vrPointerDistance"));var p=this.get("matrix");p?(this.yo.applyMatrix4(p),0==this.yo.x&&0==this.yo.z||this.set("yaw",d*Math.atan2(this.yo.x,-this.yo.z)),0==this.yo.y&&0==this.yo.z||this.set("pitch",d*Math.atan2(this.yo.y,Math.sqrt(this.yo.z*
this.yo.z+this.yo.x*this.yo.x))+c)):(this.set("yaw",l.Sa),this.set("pitch",l.pitch+f))}};var d=180/Math.PI,c=2,f=5;return a});
define("nU",["require","cj","V"],function(a){function e(k,b){this.Ce=k;this.j=b;this.EK=null}var h=a("cj"),m=a("V");e.prototype.update=function(){};e.prototype.clear=function(){};e.prototype.getType=function(){return this.Ce};e.prototype.Rka=function(){var k=this.A.qg&&m.lz(this.A.qg);return this.EK=k?h.fVa(k,this.EK):null};e.dR="gaze";e.vga="gaze_click";e.sJ="laser";e.tJ="mouse";e.uJ="touch";return e});
define("fi",["require","nU"],function(a){function e(k,b,g,d){this.Rd=k;this.bq=b;this.EK=g;this.gf=d;this.sia=[];this.yl=[];this.yX=[];this.N5=[];this.Nb="";this.Py=Number.MAX_VALUE}function h(k){return void 0===k?[]:Array.isArray(k)?k:[k]}var m=a("nU");e.prototype.Ss=function(){return this.Rd};e.prototype.Ps=function(){return this.Rd.getType()==m.tJ};e.prototype.Pwa=function(){return this.Rd.getType()==m.sJ};e.prototype.BD=function(){return this.Rd.getType()==m.uJ};e.prototype.vWa=function(){return this.Rd.getType()==
m.dR};e.prototype.bz=function(k){this.yX=this.yX.concat(h(k))};e.prototype.Oo=function(){return 0<this.yX.length};e.prototype.zTa=function(k){this.N5=this.N5.concat(h(k))};e.prototype.rUa=function(){return 0==this.yX.length&&0<this.N5.length};e.prototype.az=function(k){this.yl=this.yl.concat(h(k))};e.prototype.xXa=function(){return 0<this.yl.length};e.prototype.Lk=function(k){k&&(void 0===this.uS||this.uS>k)&&(this.uS=k)};e.prototype.TX=function(k,b){if(""==this.Nb||this.Py>b)this.Nb=k,this.Py=b};
e.prototype.Hz=function(){return this.Nb};e.prototype.Nq=function(k){this.sia=h(k)};e.prototype.Mk=function(){return 0<this.sia.length};return e});
define("cI","require lo oH cj V mt oB fi nU bv".split(" "),function(a){var e=a("lo"),h=a("oH");a("cj");a("V");var m=a("mt"),k=a("oB"),b=a("fi"),g=a("nU"),d=a("bv");a=e.extend(g,function(c,f){g.call(this,g.dR,c);this.Cj=this.A=null;this.yl=[];this.$c=this.St=!1;this.SK=null;this.ula=void 0;this.iN=null;this.ipa=void 0;this.Td=new m;this.j.add(this.Td);this.vo="";this.Nb=new k;this.Nb.set("alpha",0);this.j.add(this.Nb);this.x9=f?this.j.M.get("vrPointerSelectionTime"):void 0;this.vla=this.j.M.get("vrGazePointerHideTime");
this.fX=this.fX.bind(this);document.body.addEventListener("touchend",this.fX);d.bind(h.zn,this.Ota,this,!0);this.eaa();this.Baa()});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.fX);d.unbind(h.zn,this.Ota,this,!0);this.n$();this.j.remove(this.Td);this.Td=null;this.j.remove(this.Nb);this.Nb=null};a.prototype.update=function(c){this.A=c;this.fPa(c.yba);this.Ik()};a.prototype.fX=function(){this.UJ()};a.prototype.Ota=function(){this.UJ()};a.prototype.UJ=function(){var c=
this.ek(h.Uj);this.Dk(c);this.IC(!1);this.P$()};a.prototype.P$=function(){this.j.Jb().trigger(h.vE,{nQ:h.Uj})};a.prototype.Ik=function(){var c=this.ek(h.im);this.Dk(c);this.mv(c.Hz());a:{var f=this.yl;for(var l=c.yl,p=0;p<f.length;p++)if(0>l.indexOf(f[p])){f=!1;break a}for(p=0;p<l.length;p++)if(0>f.indexOf(l[p])){f=!1;break a}f=!0}f||(this.IC(!1),this.yl=c.yl,this.yl.length&&this.IC(!0,c.Oo()))};a.prototype.fPa=function(c){this.St!=c&&(this.St=c,this.Td.set("changing",this.St),this.eaa(),this.Baa())};
a.prototype.IC=function(c,f){this.$c!=c&&(this.$c=c,this.Td.set("over",this.$c&&f),this.eaa(),this.Baa())};a.prototype.mv=function(c){this.vo!=c&&(this.vo=c,this.Nb.set("text",this.vo),this.Nb.set("alpha",this.vo?1:0),this.vo&&this.Nb.Uh())};a.prototype.Dk=function(c){this.j.JY().sort(function(f,l){return l.get("index")-f.get("index")}).forEach(function(f){f.sn(c)}.bind(this))};a.prototype.ek=function(c){this.Cj=this.Rka();return new b(this,this.Cj?[this.Cj]:[],this.Cj,c)};a.prototype.Baa=function(){!this.$c||
this.St||void 0===this.x9?this.n$():this.$c&&!this.iN&&this.CQa()};a.prototype.eaa=function(){this.$c||this.St||void 0===this.vla?(this.Td.set("alpha",1),this.asa()):1!=this.Td.get("alpha")||this.SK||this.pQa()};a.prototype.n$=function(){this.iN&&(clearInterval(this.iN),this.iN=null)};a.prototype.CQa=function(){this.Td.set("overProgress",0);this.ipa=(new Date).getTime();this.iN=setInterval(this.LMa.bind(this),100)};a.prototype.LMa=function(){var c=(new Date).getTime()-this.ipa;c>=this.x9?(this.n$(),
this.UJ()):this.Td.set("overProgress",c/this.x9)};a.prototype.asa=function(){this.SK&&(clearInterval(this.SK),this.SK=null)};a.prototype.pQa=function(){this.ula=(new Date).getTime();this.SK=setInterval(this.fMa.bind(this),10)};a.prototype.fMa=function(){var c=this.vla-((new Date).getTime()-this.ula);this.Td.set("alpha",Math.max(.01,Math.min(1,c/500)));0>=c&&this.asa()};return a});
define("kC","require lo gU ct ep fd h nz".split(" "),function(a){var e=a("lo"),h=a("gU"),m=a("ct"),k=a("ep"),b=a("fd"),g=a("h"),d=a("nz"),c=new THREE.Matrix4,f=Math.PI/180;a=e.extend(g,function(){g.call(this);this.set("tag","Laser");this.set("matrix",null);this.set("over",!1);this.set("pressed",!1);this.set("intersectionDistance",0);this.set("visible",!1);this.set("attachToCamera",!1);this.set("dotVisible",!0);this.Q8=this.WM=this.Wr=this.P8=null;new THREE.Matrix4;this.S8=new THREE.Matrix4;this.S8.multiply(c.makeRotationX(-90*
f));this.S8.multiply(c.makeTranslation(0,.5*l,0));this.zS=this.yS=this.xS=this.eu=this.b4=null;new THREE.Matrix4;this.c4=new THREE.Matrix4;this.bK=this.wS=this.a4=null;new THREE.Matrix4;this.$A=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.$A[0].multiply(c.makeRotationX(-90*f));this.$A[0].multiply(c.makeTranslation(0,.5*-q,0));this.$A[1].multiply(c.makeRotationX(-90*f));this.$A[1].multiply(c.makeTranslation(0,.5*-q,.5*-p));this.$A[2].multiply(c.makeRotationX(-90*f));this.$A[2].multiply(c.makeTranslation(0,
.5*-q,-p))});a.prototype.ea=function(n){g.prototype.ea.call(this,n);this.Daa();this.Xy()};a.prototype.Daa=function(){this.N("visible")&&(this.get("meshGroup").visible=this.get("visible"));this.N("dotVisible")&&k.uf([this.yS,this.wS],this.get("dotVisible")?1:0)};a.prototype.Xy=function(){this.N("over","pressed")&&(this.Xsa(),this.ota())};var l=.35,p=.012,q=.1;a.prototype.Hn=function(){this.wS=k.create(new THREE.SphereGeometry(2.3,32,32),this.nGa());this.yS=k.create(new THREE.SphereGeometry(2,32,32),
this.oGa());this.Q8=k.create(new THREE.CylinderGeometry(.003,.003,l,8),this.PGa());this.XE=[];this.XE.push(k.create(new THREE.CylinderGeometry(p,p,q,32),this.o3()));this.XE.push(k.create(new THREE.BoxGeometry(2*p,q,p),this.o3()));this.XE.push(k.create(new THREE.CylinderGeometry(p,p,q,32),this.o3()));return[this.wS,this.yS,this.Q8].concat(this.XE)};a.prototype.nGa=function(){if(null==this.a4){var n=document.createElement("canvas");n.width=n.height=256;var r=n.getContext("2d"),t=new b;t.Zl(n);this.a4=
m.hz(t.texture(),new m.em);r.fillStyle="rgba(0, 0, 0, 0.75)";r.clearRect(0,0,n.width,n.height);r.fillRect(0,0,n.width,n.height)}return this.a4};a.prototype.oGa=function(){null==this.b4&&(this.eu=document.createElement("canvas"),this.eu.width=this.eu.height=256,this.xS=this.eu.getContext("2d"),this.zS=new b,this.zS.Zl(this.eu),this.b4=m.hz(this.zS.texture(),new m.em),this.Xsa());return this.b4};a.prototype.Xsa=function(){this.xS.fillStyle=this.W4();this.xS.clearRect(0,0,this.eu.width,this.eu.height);
this.xS.fillRect(0,0,this.eu.width,this.eu.height);this.zS.update()};a.prototype.PGa=function(){null==this.P8&&(this.Wr=document.createElement("canvas"),this.Wr.width=this.Wr.height=256,this.WM=this.Wr.getContext("2d"),this.T8=new b,this.T8.Zl(this.Wr),this.P8=m.hz(this.T8.texture(),new m.em),this.ota());return[this.P8]};a.prototype.ota=function(){var n=d.JP(this.W4()).join(", "),r=this.WM.createLinearGradient(0,0,0,this.Wr.height);r.addColorStop(0,"rgba("+n+", 0)");r.addColorStop(.5,"rgba("+n+", 1)");
r.addColorStop(1,"rgba("+n+", 1)");this.WM.fillStyle=r;this.WM.clearRect(0,0,this.Wr.width,this.Wr.height);this.WM.fillRect(0,0,this.Wr.width,this.Wr.height);this.T8.update()};a.prototype.o3=function(){if(null==this.bK){var n=document.createElement("canvas");n.width=n.height=256;var r=n.getContext("2d"),t=new b;t.Zl(n);this.bK=m.hz(t.texture(),new m.em);r.fillStyle="rgba(64, 64, 64, 1)";r.clearRect(0,0,n.width,n.height);r.fillRect(0,0,n.width,n.height)}return[this.bK,this.bK,this.bK]};a.prototype.tq=
function(){var n=!1,r=!1,t=!1;if(this.N("intersectionDistance")){r=(r=this.get("intersectionDistance"))?h.qD(r):h.Mv();var u=r/h.Mv();this.c4.makeTranslation(0,0,-r);this.c4.multiply(c.makeScale(u,u,u));r=!0}this.N("matrix")&&(t=r=n=!0);r&&(c.identity(),(r=this.get("matrix"))&&c.multiply(r),c.multiply(this.c4),k.Bq(this.yS,c),k.Bq(this.wS,c));n&&(c.identity(),(r=this.get("matrix"))&&c.multiply(r),c.multiply(this.S8),k.Bq(this.Q8,c));if(t)for(r=this.get("matrix"),n=0;n<this.XE.length;n++)c.identity(),
r&&c.multiply(r),c.multiply(this.$A[n]),k.Bq(this.XE[n],c)};a.prototype.XC=function(){if(this.N("index","meshGroup")){var n=this.get("meshGroup");n&&n.children.forEach(function(r){k.k_(r,this.get("index"))}.bind(this))}};a.prototype.W4=function(){return this.get("pressed")?this.Ba.M.get("vrPointerSelectionColor"):this.get("over")?this.Ba.M.get("vrPointerOverColor"):this.Ba.M.get("vrPointerColor")};return a});
define("el","require lo oH cj kC mt oB fi nU hh bv nt".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cj"),k=a("kC"),b=a("mt"),g=a("oB"),d=a("fi"),c=a("nU"),f=a("hh"),l=a("bv"),p=a("nt"),q=new THREE.Matrix4,n=Math.PI/180;a=e.extend(c,function(r){c.call(this,c.sJ,r);this.Cj=this.A=null;this.yl=[];this.tj=new k;this.j.add(this.tj);this.Td=new b;this.j.add(this.Td);this.xk=!1;this.vo="";this.Nb=null;this.el=new THREE.Matrix4});a.prototype.clear=function(){this.j.remove(this.tj);this.j.remove(this.Td);
this.Td=this.tj=null;this.Nb&&this.j.remove(this.Nb);this.Nb=null};a.prototype.update=function(r){this.A=r;this.Td.set("changing",r.yba);this.Td.set("visible",r.yba);var t=f.mZ();if(t&&!t.xWa()){var u=t.quaternion(),v=t.position(),w=l.Hs().position,x=p.Sa(l.Hs().orientation);this.el.identity();v?(this.el.multiply(q.makeRotationY((x-r.Sa)*n)),this.el.multiply(q.makeTranslation(-w.x,-w.y,-w.z)),this.el.multiply(q.makeTranslation(v.x,v.y,v.z)),this.el.multiply(q.makeRotationFromQuaternion(u))):(this.el.multiply(q.makeRotationY(-r.Sa*
n)),t.x5==f.Pa?this.el.multiply(q.makeTranslation(-.2,-.4,0)):this.el.multiply(q.makeTranslation(.2,-.4,0)),this.el.multiply(q.makeRotationY(x*n)),this.el.multiply(q.makeRotationFromQuaternion(u)),this.el.multiply(q.makeTranslation(0,0,-.3)));this.tj.set("matrix",null);this.tj.set("matrix",this.el);this.tj.set("pressed",t.pressed());this.tj.set("visible",!0)}else this.tj.set("visible",!1);this.Ik();r=!!t&&t.pressed();this.xk!=r&&(this.xk&&this.UJ(),this.xk=r);this.tj.Uh();this.Td.Uh()};a.prototype.UJ=
function(){var r=this.ek(h.Uj);this.Dk(r);this.tj.set("over",!0);this.tj.set("dotVisible",!0);this.tj.set("intersectionDistance",r.uS);f.mZ();this.P$()};a.prototype.P$=function(){this.j.Jb().trigger(h.vE,{nQ:h.Uj})};a.prototype.Ik=function(){var r=this.ek(h.im);this.Dk(r);this.mv(r.Hz());a:{var t=this.yl;for(var u=r.yl,v=0;v<t.length;v++)if(0>u.indexOf(t[v])){t=!1;break a}for(v=0;v<u.length;v++)if(0>t.indexOf(u[v])){t=!1;break a}t=!0}t||!r.Oo()&&!this.tj.get("over")||(this.yl=r.yl,f.mZ());this.tj.set("over",
r.Oo());this.tj.set("intersectionDistance",r.uS);this.tj.set("dotVisible",!r.rUa())};a.prototype.mv=function(r){this.vo!=r&&(this.vo&&this.j.remove(this.Nb),this.vo=r)&&(this.Nb=new g(this.vo),this.Nb.set("text",this.vo),this.Nb.set("matrix",null),this.Nb.set("matrix",this.el),this.j.add(this.Nb))};a.prototype.Dk=function(r){this.j.JY().sort(function(t,u){return u.get("index")-t.get("index")}).forEach(function(t){t.sn(r)}.bind(this))};a.prototype.ek=function(r){this.Cj=m.eVa(this.el,this.Cj);return new d(this,
[this.Cj],this.Rka(),r)};return a});
define("iY","require lo oH cj V fi nU bc".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cj"),k=a("V"),b=a("fi"),g=a("nU"),d=a("bc");a=e.extend(g,function(c){g.call(this,g.tJ,c);this.j.M.bind(h.jc,this.vj,this,!0);this.j.M.bind(h.$o,this.zma,this,!0);this.j.M.bind(h.ac,this.uOa,this,!0);this.j.M.bind(h.ub,this.Od,this,!0);this.j.M.bind(h.Zb,this.wj,this,!0);this.Uu=this.Tu=this.Zu=this.Vm=this.Zc=this.Yc=void 0;this.Cj=this.A=null;this.rs=!1;this.Nb=""});a.prototype.clear=function(){this.j.M.unbind(h.jc,
this.vj,this,!0);this.j.M.unbind(h.$o,this.zma,this,!0);this.j.M.unbind(h.ub,this.Od,this,!0);this.j.M.unbind(h.Zb,this.wj,this,!0);this.rs&&(this.j.AI(d.df),this.rs=!1);this.mv("")};a.prototype.update=function(c){this.A=c;this.oaa()};a.prototype.Nva=function(){return{x:this.Yc,y:this.Zc,pageX:this.Tu,pageY:this.Uu}};a.prototype.vj=function(c){this.Yc=c.x;this.Zc=c.y;this.Tu=c.pageX;this.Uu=c.pageY;this.tX()};a.prototype.zma=function(){this.Uu=this.Tu=this.Zc=this.Yc=void 0;this.tX()};a.prototype.uOa=
function(){this.Uu=this.Tu=this.Zc=this.Yc=void 0;this.tX()};a.prototype.Od=function(c){this.Yc=this.Vm=c.x;this.Zc=this.Zu=c.y;this.Tu=c.pageX;this.Uu=c.pageY;this.Dk(this.ek(h.$0))};a.prototype.wj=function(c){this.Yc=c.x;this.Zc=c.y;this.Tu=c.pageX;this.Uu=c.pageY;this.Dk(this.ek(h.a1));this.t6(this.Vm,this.Zu,this.Yc,this.Zc)&&this.Dk(this.ek(h.Uj))};a.prototype.oaa=function(){this.uq||(this.uq=setTimeout(function(){this.uq=null;this.Ik()}.bind(this),300))};a.prototype.tX=function(){this.uq&&(clearTimeout(this.uq),
this.uq=null);this.Ik()};a.prototype.Ik=function(){var c=this.ek(h.im);this.Dk(c);this.mv(c.Hz());this.rs!=c.Oo()&&(this.rs&&this.j.AI(d.df),(this.rs=c.Oo())&&this.j.TZ(d.df))};a.prototype.mv=function(c){this.Nb!=c&&(this.Nb=c,this.j.M.set("toolTip",this.Nb))};a.prototype.Dk=function(c){this.j.JY().sort(function(f,l){return l.get("index")-f.get("index")}).forEach(function(f){f.sn(c)}.bind(this))};a.prototype.ek=function(c){return new b(this,this.dT(),null,c)};a.prototype.dT=function(){if(void 0!==
this.Yc&&void 0!==this.Zc&&this.A.qg){var c=k.lz(this.A.qg);if(c)return this.Cj=m.Ova(c,this.Yc,this.Zc,this.A.width,this.A.height,this.Cj),[this.Cj]}return[]};a.prototype.t6=function(c,f,l,p){c=l-c;f=p-f;return 5>=Math.sqrt(c*c+f*f)};return a});
define("gw","require lo oH cj V fi nU".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cj"),k=a("V"),b=a("fi"),g=a("nU");a=e.extend(g,function(c){g.call(this,g.uJ,c);this.M=this.j.M;this.M.bind(h.ub,this.Od,this,!0);this.M.bind(h.Zb,this.wj,this,!0);this.M.bind(h.G("touchOverAreaScale"),this.R7,this,!0);this.Zu=this.Vm=this.Zc=this.Yc=void 0;this.via=this.A=null;this.R7();this.xNa=Array(d.length);this.Nb="";this.Ik=this.Ik.bind(this)});a.prototype.clear=function(){this.M.unbind(h.ub,this.Od,this,
!0);this.M.unbind(h.Zb,this.wj,this,!0);this.M.unbind(h.G("touchOverAreaScale"),this.R7,this,!0);this.mv("")};a.prototype.update=function(c){this.A=c;this.oaa()};a.prototype.Od=function(c){this.Yc=this.Vm=c.x;this.Zc=this.Zu=c.y;this.Dk(this.ek(h.$0))};a.prototype.wj=function(c){this.Yc=c.x;this.Zc=c.y;this.Dk(this.ek(h.a1));this.t6(this.Vm,this.Zu,this.Yc,this.Zc)&&this.Dk(this.ek(h.Uj))};a.prototype.oaa=function(){this.uq||(this.uq=setTimeout(this.Ik,300))};a.prototype.tX=function(){this.uq&&(clearTimeout(this.uq),
this.uq=null);this.Ik()};a.prototype.Ik=function(){this.uq=null;var c=this.ek(h.im);this.Dk(c);this.mv(c.Hz())};a.prototype.mv=function(c){if(this.Nb!=c&&(this.Nb=c,c=this.j.M,c.set("toolTip",this.Nb),!c.get("toolTipDisabled"))){var f=c.Jb().Nb;this.Nb?f.i_a(c,this.Nb):f.hide()}};a.prototype.Dk=function(c){this.j.JY().sort(function(f,l){return l.get("index")-f.get("index")}).forEach(function(f){f.sn(c)}.bind(this))};a.prototype.ek=function(c){var f=c==h.im?this.dT(.5*this.A.width,.5*this.A.height,
this.tia,this.via):this.dT(this.Yc,this.Zc,d,this.xNa);return new b(this,f,null,c)};a.prototype.dT=function(c,f,l,p){var q=this.A.qg&&k.lz(this.A.qg);if(q){var n=this.A.width,r=this.A.height,t=Math.min(n,r)/100;l.forEach(function(u,v){p[v]=m.Ova(q,c+u[0]*t,f+u[1]*t,n,r,p[v])});return p}return[]};a.prototype.t6=function(c,f,l,p){c=l-c;f=p-f;return Math.sqrt(c*c+f*f)<=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100)};a.prototype.R7=function(){this.tia=this.JIa(this.M.get("touchOverAreaScale"));
this.via=Array(this.tia.length)};a.prototype.JIa=function(c){var f=[],l=Math.min(50,Math.ceil(5*c)),p=Math.min(50,Math.ceil(30*c));c=Math.min(50,Math.ceil(15*c));for(var q=-l;q<=l;q++)for(var n=-l;n<=l;n++){var r=Math.sqrt(n*n+q*q);r<=l&&f.push([n,q,r])}for(n=-p;n<-l;n++)f.push([n,0,Math.sqrt(n*n)]);for(n=l+1;n<=p;n++)f.push([n,0,Math.sqrt(n*n)]);for(q=-c;q<-l;q++)f.push([0,q,Math.sqrt(q*q)]);for(q=l+1;q<=c;q++)f.push([0,q,Math.sqrt(q*q)]);f.sort(function(t,u){return t[2]-u[2]});return f.map(function(t){return[t[0],
t[1]]})};var d=function(){for(var c=[],f=0;5>f;f++)for(var l=-2+4*f/4,p=0;5>p;p++){var q=-2+4*p/4,n=Math.sqrt(q*q+l*l);2>=n&&c.push([q,l,n])}c.sort(function(r,t){return r[2]-t[2]});return c.map(function(r){return[r[0],r[1]]})}();return a});
define("hk","require cI el iY nU gw".split(" "),function(a){var e=a("cI"),h=a("el"),m=a("iY"),k=a("nU"),b=a("gw");return{create:function(g,d){switch(g){case k.dR:return new e(d,!0);case k.vga:return new e(d,!1);case k.sJ:return new h(d);case k.tJ:return new m(d);case k.uJ:return new b(d)}}}});
define("pg",["require","bc"],function(a){function e(m){this.Mc=m;this.Oe=[]}var h=a("bc");e.prototype.push=function(m){this.Oe.push(m);this.ea()};e.prototype.pop=function(m){for(var k=this.Oe.length-1;0<=k;k--)if(this.Oe[k]==m){this.Oe.splice(k,1);this.ea();break}};e.prototype.clear=function(){0<this.Oe.length&&(this.Mc.set("cursor",h.He),this.Oe=[])};e.prototype.ea=function(){var m=0<=this.Oe.indexOf(h.Zh)?h.Zh:0<=this.Oe.indexOf(h.df)?h.df:0<this.Oe.length?this.Oe[this.Oe.length-1]:h.He;this.Mc.set("cursor",
m)};return e});
define("lY","require lo ky oH cy e bc v hh ib kb oN eK eE dS gq hk nU pg oO ko kP bv bg nL".split(" "),function(a){var e=a("lo"),h=a("ky"),m=a("oH"),k=a("cy"),b=a("e"),g=a("bc"),d=a("v"),c=a("hh"),f=a("ib"),l=a("kb"),p=a("oN"),q=a("eK"),n=a("eE"),r=a("dS"),t=a("gq"),u=a("hk"),v=a("nU"),w=a("pg"),x=a("oO"),y=a("ko"),A=a("kP"),B=a("bv"),z=a("bg"),C=a("nL"),H=Math.PI/180,D=e.extend(b,function(I,F,N){b.call(this);this.Be("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",g.lt);this.set("layout",
"absolute");this.mc=I;this.M=F;this.yc=N;this.je=new w(F);this.Rd=null;this.A=new p;this.Ba=new t(this.mc,this.M,this.yc,this);this.Ba.bind(m.pa,this.requestFrame,this,!0);this.Fl=new n;this.A.qg=this.Fl.Mj();this.A.OO=this.Fl.ija;this.A.PO=this.Fl.jja;this.A.camera=this.Fl.lz();this.fma=(new Date).getTime();this.Bb().append(this.Fl.Ac());this.AK=new l;this.Bb().append(this.AK.Ac());this.hH=new q(F,N);this.Bb().append(this.hH.Ac());this.lsa=new y;this.lsa.bind(m.Z,this.QMa,this,!0);this.Wma=new x;
this.Wma.bind(m.pa,this.uMa,this,!0);this.SS=new f(this.A.width,this.A.height,this.A.Ee*H);this.bind(m.kc,this.hc,this,!0);this.bind(m.kd,this.rk,this,!0);this.bind(m.sd,this.lk,this,!0);B.bind(m.pa,this.Yn,this,!0);c.bind(m.pa,this.eMa,this,!0);h.fa(this.yc,["fxaaEnabled","aaEnabled","hotspotsEnabled","preloadEnabled"],function(){this.A.xD=this.yc.get("hotspotsEnabled");this.A.PP=this.yc.get("preloadEnabled");this.A.vY=this.yc.get("fxaaEnabled");this.A.PX=this.yc.get("aaEnabled");this.requestFrame()}.bind(this),
!0);h.fa(this.yc,["surfaceSelectionEnabled"],this.yaa.bind(this));this.yaa();this.Yn();h.fa(this.mc,["defaultVRPointer"],this.vq.bind(this));this.vq()});D.prototype.create=function(I){return r.create(I)};D.prototype.add=function(I){this.Ba.appendChild(I)};D.prototype.remove=function(I){(I=this.Ba.tf(I))&&I.remove()};D.prototype.tf=function(I){return this.Ba.tf(I)};D.prototype.JY=function(){return this.Ba.all()};D.prototype.Oza=function(I){this.A.uZ=I};D.prototype.TZ=function(I){this.je.push(I)};D.prototype.AI=
function(I){this.je.pop(I)};D.prototype.ZZ=function(I){this.A.yba=I;this.requestFrame()};D.prototype.LD=function(){this.AK.trigger();this.A.zD=!0;this.PV();var I=C.CAa(this.Fl.og());this.A.zD=!1;this.PV();return I};D.prototype.HO=function(I){this.A.zD=!0;this.PV();I=this.Fl.HO(I);this.A.zD=!1;return I};D.prototype.getPixelRatio=function(){return this.Fl.getPixelRatio()};D.prototype.vq=function(){var I=this.A.Cb?c.mZ()&&"laser"==this.mc.get("defaultVRPointer")?v.sJ:B.MY()==B.FCa.H0?v.vga:v.dR:d.kb()?
v.uJ:v.tJ;this.Rd&&this.Rd.getType()==I||(this.Rd&&this.Rd.clear(),this.Rd=u.create(I,this),this.yaa(),this.Rd.update(this.A))};D.prototype.yaa=function(){this.A.tQ=this.yc.get("surfaceSelectionEnabled")&&0<=[v.tJ,v.sJ,v.uJ].indexOf(this.Rd&&this.Rd.getType())};D.prototype.Wm=function(){this.je.clear();b.prototype.Wm.call(this)};D.prototype.hc=function(){var I=this.Xa(),F=this.xb();if(this.A.width!=I||this.A.height!=F)I&&F?(this.A.width=I,this.A.height=F,this.SS.mQ(this.A.width),this.SS.Gza(this.A.height),
this.requestFrame()):e.log("Invalid size values: "+I+" "+F)};D.prototype.rk=function(){this.A.enabled=!0;this.requestFrame()};D.prototype.lk=function(){this.A.enabled=!1};D.prototype.Yn=function(){this.A.Cb=B.isPresenting();this.vq();this.requestFrame()};D.prototype.eMa=function(){this.vq();this.requestFrame()};D.prototype.QMa=function(){this.requestFrame()};D.prototype.uMa=function(){this.requestFrame()};D.prototype.jQ=function(I){this.i9!=I&&((this.i9=I)||this.requestFrame())};D.prototype.TD=function(I){this.A.$l!=
I&&(this.A.$l=I,this.requestFrame())};D.prototype.setPosition=function(I,F,N,S){if(this.A.Sa!=I||this.A.pitch!=F||this.A.bf!=N||this.A.Ee!=S)isNaN(I)||isNaN(F)||isNaN(N)||!S?e.log("Invalid position values: "+I+" "+F+" "+N+" "+S):(this.A.Sa=I,this.A.pitch=F,this.A.bf=N,this.A.Ee=S,this.SS.PD(this.A.Ee*H),this.requestFrame())};D.prototype.Tc=function(){return this.A.Sa};D.prototype.Oc=function(){return this.A.pitch};D.prototype.Qf=function(){return this.A.bf};D.prototype.Ag=function(){return this.A.Ee};
D.prototype.ZH=function(){return this.A.Cb?this.A.Vh:A.Rq(this.A.Vh,this.A.width,this.A.height)};D.prototype.$H=function(){return this.A.Vh};D.prototype.unproject=function(I){return this.SS.unproject(I)};D.prototype.requestFrame=function(){z.requestFrame(this.yj,this)};D.prototype.yj=function(){if(z.uca){var I=(new Date).getTime(),F=Math.max(1,Math.min(I-this.fma,33));this.fma=I;this.trigger(new k(D.B0,{frameTime:F}));this.A.enabled&&(this.A.De=F,this.PV())}else this.requestFrame()};D.prototype.PV=
function(){this.Fl.update(this.A);this.A.bY=this.Fl.TUa();this.A.GO=this.Fl.SUa();this.A.Vh=this.Fl.QUa();this.A.Oj=this.Fl.getPixelRatio();this.Ba.update(this.A);this.lsa.update(this.A);this.Wma.update(this.A);this.Rd.update(this.A);this.i9||this.Fl.render()};D.B0="render start";D.D1a=function(){return!0};return D});
define("fI",["require","lo","cy","gi","lY"],function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("lY"),b=e.extend(m,function(g){m.call(this);this.j=g;this.j.bind(k.B0,this.Joa,this,!0)});b.prototype.clear=function(){this.j.unbind(k.B0,this.Joa,this,!0);this.j=null};b.prototype.requestFrame=function(){this.j.requestFrame()};b.prototype.Joa=function(g){g=g.data.frameTime;this.trigger(new h(b.To,{frameTime:g}));this.trigger(new h(b.Uo,{frameTime:g}))};b.To="frameStart";b.Uo="positionSet";return b});
define("dr",["require","v","kP"],function(a){function e(){this.ua=this.ia=0;this.La=90;this.xl="landscape";this.V7=!1;this.aL=h.kb()}var h=a("v"),m=a("kP");e.prototype.Jza=function(k){this.La=this.ova(k)};e.prototype.ova=function(k){return this.aL&&"portrait"==this.xl?m.hD(k,this.ua,this.ia):k};e.prototype.lVa=function(k){return this.aL&&"portrait"==this.xl?m.Sl(k,this.ia,this.ua):k};e.prototype.Ko=function(k){this.La=this.aL&&this.V7?m.hD(k,this.ua,this.ia):k};e.prototype.Qwa=function(){return this.aL&&
this.V7};e.prototype.Lv=function(){return this.aL&&"portrait"==this.xl};e.prototype.Ag=function(){return this.La};e.prototype.dY=function(k){return m.hD(k,this.ua,this.ia)};e.prototype.setSize=function(k,b){this.ia=k;this.ua=b;k=this.wJa();this.V7=this.xl!=k;this.xl=k};e.prototype.wJa=function(){return 0===this.ia||0===this.ua?"landscape":this.ia<this.ua?"portrait":"landscape"};return e});
define("iD","require eg lo oH cy gi nJ".split(" "),function(a){a("eg");var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("nJ");a=e.extend(k,function(d){k.call(this);this.j=d;this.Em=new b(d);this.Em.bind(b.s0,this.Lna,this,!0);this.Em.bind(b.r0,this.Kna,this,!0)});a.prototype.clear=function(){this.Em.unbind(b.s0,this.Lna,this,!0);this.Em.unbind(b.r0,this.Kna,this,!0);this.Em.clear();this.Em=null};a.prototype.Bz=function(d){this.Em.nc(d)};a.prototype.Ai=function(d){this.la=d};a.prototype.end=function(){this.la=
null};a.prototype.Lna=function(d){this.Jsa(d);(d=this.Kqa(this.j.Tc(),this.Vka()))&&d.trigger(h.zn)};a.prototype.Kna=function(d){this.Jsa(d);(d=this.Kqa(this.j.Tc()-180,this.Vka()))&&d.trigger(h.zn)};a.prototype.Jsa=function(d){this.j.Jb().trigger(new m(h.vE,{nQ:d}))};a.prototype.Vka=function(){return this.j.yc.get("keyboardTranslateSelectionAngle")};a.prototype.Kqa=function(d,c){var f,l;if(!this.la)return null;void 0!==f||(f=-90);void 0!==l||(l=360);var p=d-.5*c,q=d+.5*c,n=Math.max(-90,f-.5*l),r=
Math.max(90,f+.5*l);c=this.la.get("adjacentPanoramas",[]).slice();c=c.filter(function(t){if(!t.get("enabled"))return!1;t=this.yp(t);if(!t)return!1;var u=t.Sa;for(var v=d-180,w=d+180;u<v;)u+=w-v;for(;u>w;)u-=w-v;t=t.pitch;return p<=u&&u<=q&&n<=t&&t<=r}.bind(this));if(0==c.length)return null;c.sort(function(t,u){t=this.yp(t);u=this.yp(u);return(d-t.Sa)*(d-t.Sa)+(f-t.pitch)*(f-t.pitch)-((d-u.Sa)*(d-u.Sa)+(f-u.pitch)*(f-u.pitch))}.bind(this));return c[0]};a.prototype.yp=function(d){var c=d.get("yaw");
d=d.get("distance");if(void 0===c||void 0===d)return null;var f=this.la.get("distanceToFloor");return{Sa:c,pitch:-90+Math.atan2(d,f)*g}};var g=180/Math.PI;return a});
define("lJ","require lo oH cy gi ne bs oQ x ms jQ fI dr iD dD".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("ne"),g=a("bs"),d=a("oQ"),c=a("x"),f=a("ms"),l=a("jQ"),p=a("fI"),q=a("dr"),n=a("iD"),r=a("dD"),t=e.extend(k,function(u,v){k.call(this);this.M=u;this.j=v;this.j.set("visible",!1);this.Gc=new q;this.kg=new p(this.j);this.pe=new f(this.j);this.Lb=new d(this.M,this.j,this.Gc);this.bb=new g(this.j,this.Gc);this.zf=new c(this.j);this.Fu=new l(this.j);this.Kd=new b(this.j);
this.iX=new n(this.j);this.kg.bind(p.To,this.ly,this,!0);this.kg.bind(p.Uo,this.my,this,!0);this.pe.bind(h.Vc,this.Una,this,!0);this.pe.bind(h.Kf,this.aM,this,!0);this.pe.bind(h.ec,this.li,this,!0);this.Lb.bind(d.Db,this.Me,this,!0);this.Lb.bind(d.C0,this.Vna,this,!0);this.Lb.bind(d.t0,this.noa,this,!0);this.Lb.bind(d.$_,this.bna,this,!0);this.Lb.bind(d.a0,this.cna,this,!0);this.Lb.bind(d.aA,this.jM,this,!0);this.Lb.bind(d.Zz,this.ky,this,!0);this.Lb.bind(d.$z,this.Pu,this,!0);this.Lb.bind(d.Yz,this.iM,
this,!0);this.Lb.bind(d.Vo,this.sy,this,!0);this.bb.bind(g.Db,this.Me,this,!0);this.bb.bind(g.Rj,this.Np,this);this.bb.bind(g.So,this.Mm,this);this.bb.bind(g.Ec,this.We,this,!0);this.bb.bind(g.Gi,this.Sp,this,!0);this.bb.bind(g.Fi,this.Rp,this,!0);this.zf.bind(c.Db,this.Me,this,!0);this.zf.bind(c.hj,this.Qp,this,!0);this.zf.bind(c.Ec,this.We,this,!0);this.Fu.bind(l.Sj,this.boa,this,!0)});t.prototype.clear=function(){this.pe.clear();this.kg.clear();this.bb.clear();this.Lb.clear();this.zf.clear();this.Fu.clear();
this.Kd.clear();this.pe.unbind(h.Vc,this.Una,this);this.pe.unbind(h.Kf,this.aM,this);this.pe.unbind(h.ec,this.li,this);this.kg.unbind(p.To,this.ly,this);this.kg.unbind(p.Uo,this.my,this);this.Lb.unbind(d.Db,this.Me,this);this.Lb.unbind(d.C0,this.Vna,this);this.Lb.unbind(d.t0,this.noa,this);this.Lb.unbind(d.$_,this.bna,this);this.Lb.unbind(d.a0,this.cna,this);this.Lb.unbind(d.aA,this.jM,this);this.Lb.unbind(d.Zz,this.ky,this);this.Lb.unbind(d.$z,this.Pu,this);this.Lb.unbind(d.Yz,this.iM,this);this.Lb.unbind(d.Vo,
this.sy,this);this.bb.unbind(g.DBa,this.Me,this);this.bb.unbind(g.Rj,this.Np,this);this.bb.unbind(g.So,this.Mm,this);this.bb.unbind(g.Ec,this.We,this,!0);this.bb.unbind(g.Gi,this.Sp,this);this.bb.unbind(g.Fi,this.Rp,this);this.zf.unbind(c.Db,this.Me,this);this.zf.unbind(c.hj,this.Qp,this);this.zf.unbind(c.Ec,this.We,this);this.Fu.unbind(l.Sj,this.boa,this);this.M=this.j=this.iX=this.Kd=this.Fu=this.zf=this.Lb=this.bb=this.kg=this.pe=null};t.prototype.Tda=function(u){this.Fu.Tda(u)};t.prototype.Vda=
function(u){this.Lb.Vda(u)};t.prototype.Ai=function(u,v,w){this.j.set("visible",!0);this.zf.n_();u.set("currentTime",w);this.Lb.start(u,v)};t.prototype.oz=function(){return this.pe.la||this.Lb.WUa()||this.Lb.vr};t.prototype.cw=function(){this.pe.stop();this.zf.end();this.bb.end();this.Lb.hide();this.Fu.stop();this.Kd.end();this.iX.end()};t.prototype.FI=function(){this.bb.resume();this.zf.FI()};t.prototype.yI=function(){this.bb.pause();this.zf.yI()};t.prototype.play=function(){this.bb.play();this.Kd.play();
this.zf.play()};t.prototype.pause=function(){this.bb.pause();this.Kd.pause();this.zf.pause()};t.prototype.stop=function(){this.bb.stop();this.Kd.stop();this.zf.stop()};t.prototype.Bz=function(u){this.bb.Bz(u);this.iX.Bz(u)};t.prototype.getTime=function(){return this.zf.getTime()};t.prototype.moveTo=function(u,v,w,x,y){this.bb.moveTo(u,v,w,x,y)};t.prototype.Tc=function(){return this.j?this.j.Tc():void 0};t.prototype.Oc=function(){return this.j?this.j.Oc():void 0};t.prototype.Qf=function(){return this.j?
this.j.Qf():void 0};t.prototype.Ag=function(){return this.j?this.Gc.lVa(this.j.Ag()):void 0};t.prototype.ZH=function(){return this.j?this.j.ZH():void 0};t.prototype.$H=function(){return this.j?this.j.$H():void 0};t.prototype.We=function(){var u=this.zf.Lj()||this.bb.Lj();this.trigger(new m(t.Ec,{state:u}))};t.prototype.Pj=function(u){this.bb.Pj(u)};t.prototype.YP=function(u){this.bb.YP(u)};t.prototype.Cz=function(u){this.bb.Cz(u)};t.prototype.ZP=function(u){this.bb.ZP(u)};t.prototype.Hf=function(u){this.zf.Hf(u)};
t.prototype.UD=function(u){this.bb.UD(u)};t.prototype.jca=function(u,v){return(u=r.get(u,v,this.j.Tc(),this.j.Oc(),this.j.Qf(),this.j.Ag(),this.j.Xa(),this.j.xb()))?{x:u.x,y:u.y}:null};t.prototype.rVa=function(u,v){return(u=r.b0a(u,v,this.j))?{yaw:u.Sa,pitch:u.pitch}:null};t.prototype.LD=function(){this.j.LD()};t.prototype.Vna=function(u){this.pe.start(u.data.panorama)};t.prototype.li=function(u){this.j.ZZ(!0);this.trigger(new m(t.ft,{percent:u.Sg}))};t.prototype.Una=function(u){this.zf.end();this.iX.Ai(u.data.panorama)};
t.prototype.aM=function(){this.j.ZZ(!1);this.trigger(new m(t.Sz))};t.prototype.Me=function(){this.kg.requestFrame()};t.prototype.ly=function(u){u=u.data.frameTime;this.Gc.setSize(this.j.Xa(),this.j.xb());this.Lb.Yv(u);this.bb.Yv(u)};t.prototype.my=function(u){u=u.data.frameTime;this.Lb.wd(u);this.bb.wd(u);this.zf.wd(u);this.Fu.wd(u);this.Kd.wd(u)};t.prototype.jM=function(u){this.Fu.display(u.data.panorama);this.zf.oI(u.data.panorama);this.trigger(new m(t.aA,{panorama:u.data.panorama}))};t.prototype.noa=
function(u){this.Fu.hide(u.data.panorama)};t.prototype.bna=function(u){this.zf.start(u.data.panorama);this.Kd.start(u.data.panorama)};t.prototype.cna=function(){this.zf.end();this.j.set("visible",!1)};t.prototype.iM=function(u){this.bb.end();this.Kd.end(u.data.nextPanorama);this.trigger(new m(t.Yz,{panorama:u.data.panorama}))};t.prototype.Pu=function(u){this.bb.start(u.data.panorama,u.data.camera);this.trigger(new m(t.$z,{panorama:u.data.panorama}))};t.prototype.ky=function(u){this.trigger(new m(t.Zz,
{panorama:u.data.panorama}))};t.prototype.boa=function(u){this.bb.dea(u.data.yawDelta,0)};t.prototype.Np=function(u){this.trigger(new m(t.Rj,u.data))};t.prototype.Mm=function(u){this.trigger(new m(t.So,u.data))};t.prototype.sy=function(u){this.trigger(new m(t.Vo,u.data))};t.prototype.Sp=function(){this.zf.Jz();this.trigger(new m(t.Gi))};t.prototype.Rp=function(){this.trigger(new m(t.Fi))};t.prototype.Cza=function(u){this.zf.SD(u)};t.prototype.Az=function(u){this.zf.Az(u)};t.prototype.Qp=function(u){this.trigger(new m(t.hj,
u.data))};t.ft="loadingProgress";t.Sz="loadingEnd";t.Rj="movementChange";t.So="positionChange";t.aA="panoramaStart";t.Yz="panoramaEnd";t.$z="panoramaShow";t.Zz="panoramaHide";t.Ec="playbackStateChange";t.Gi="userInteractionStart";t.Fi="userInteractionEnd";t.hj="timeChange";t.Vo="transitionEnd";return t});
define("om","require lo oH cy kO cD nx jD it hm lJ ek lY hF iL bv ed gJ".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("kO"),b=a("cD"),g=a("nx"),d=a("jD"),c=a("it"),f=a("hm"),l=a("lJ"),p=a("ek"),q=a("lY"),n=a("hF"),r=a("iL"),t=a("bv"),u=a("ed"),v=a("gJ"),w=g.define("PanoramaPlayer",c,function(){c.call(this,"panorama");c.prototype.set.call(this,"rotationEnabled",!0);c.prototype.set.call(this,"zoomEnabled",!0);c.prototype.set.call(this,"surfaceSelectionEnabled",!1);c.prototype.set.call(this,
"surfaceSelectionHorizontalAngle",90);c.prototype.set.call(this,"surfaceSelectionVerticalAngle",180);c.prototype.set.call(this,"adjacentPanoramaPositionsEnabled",!1);c.prototype.set.call(this,"fxaaEnabled",!1);c.prototype.set.call(this,"aaEnabled",!1);this.p$=this.T5=this.Ix=this.gU=this.$T=this.J2=this.wy=this.Rh=this.c2=!1;this.v5=!0;this.tp=this.LF=this.hS=!1;this.RS=this.O4=this.Ed=this.qb=0;this.q8=this.s8=void 0;this.k7=!0;this.oi=k.T;this.L=this.j=null;this.Nma={};for(var x in w.Et)this.Nma[x]=
this.KGa(x);this.GR=new d(this,"buttonToggleGyroscope",u.Xj);this.GR.bind(h.Vj,function(){this.set("gyroscopeEnabled",!0)},this);this.GR.bind(h.jm,function(){this.set("gyroscopeEnabled",!1)},this);this.GR.set("pressed",this.get("gyroscopeEnabled")&&n.zg);this.PEa=new d(this,"buttonCardboardView",u.Ie);this.PEa.bind(h.qa,function(){this.set("viewMode",w.Ow)},this,!0);this.eFa=new d(this,"buttonVRView",u.Ie);this.eFa.bind(h.qa,function(){this.set("viewMode",w.Ow)},this,!0);t.bind(h.pa,function(){this.Isa("viewMode");
this.trigger(w.CBa)},this,!0);this.HR=new d(this,"buttonToggleHotspots",u.Xj);this.HR.bind(h.Vj,function(){this.set("hotspotsEnabled",!0)},this);this.HR.bind(h.jm,function(){this.set("hotspotsEnabled",!1)},this);this.HR.set("pressed",this.get("hotspotsEnabled"));this.KR=new d(this,"buttonToggleSurfaceSelection",u.Xj);this.KR.bind(h.Vj,function(){this.set("surfaceSelectionEnabled",!0)},this);this.KR.bind(h.jm,function(){this.set("surfaceSelectionEnabled",!1)},this);this.KR.set("pressed",this.get("surfaceSelectionEnabled"));
this.cFa=new d(this,"buttonScreenshot",u.Ie);this.cFa.bind(h.qa,this.Aqa,this,!0);this.$d=e.Io(this.Qg,this)});w.rBa="cameraPositionChange";w.ft="loadingProgress";w.yBa="preloadMediaShow";w.CBa="viewModeChange";w.prototype.moveLeft=function(){this.Kc(p.pE)};w.prototype.moveRight=function(){this.Kc(p.qE)};w.prototype.moveUp=function(){this.Kc(p.rE)};w.prototype.moveDown=function(){this.Kc(p.oE)};w.prototype.playLeft=function(){this.Kc([p.pE,p.X])};w.prototype.playRight=function(){this.Kc([p.qE,p.X])};
w.prototype.playUp=function(){this.Kc([p.rE,p.X])};w.prototype.playDown=function(){this.Kc([p.oE,p.X])};w.prototype.play=function(){this.uk()};w.prototype.pause=function(){this.Vp()};w.prototype.stop=function(){this.qy()};w.prototype.seek=function(x){this.DC(x)};w.prototype.setFramePlaybackPosition=function(x){this.oPa(x)};w.prototype.setFrameTransitionPosition=function(x){this.pPa(x)};w.prototype.restart=function(){this.ny()};w.prototype.zoomIn=function(){this.Kc(p.Ct)};w.prototype.zoomOut=function(){this.Kc(p.Dt)};
w.prototype.resumeCamera=function(){this.tOa()};w.prototype.pauseCamera=function(){this.kNa()};w.prototype.moveTo=function(x,y,A,B){this.Mma(x,y,A,B,!1)};w.prototype.setPosition=function(x,y,A,B){this.Mma(x,y,A,B,!0)};w.prototype.getScreenPosition=function(x,y){return this.PJa(x,y)};w.prototype.getPanoramaPosition=function(x,y){return this.xJa(x,y)};w.prototype.saveScreenshot=function(){return this.Aqa()};w.prototype.get=function(x,y){switch(x){case "currentTime":return this.L&&this.L.getTime()||
0;case "viewMode":return t.isPresenting()?w.Ow:w.J1;case "video":x="panorama";break;case "rendererPanorama":return this.L&&this.L.oz()}if(!y)switch(x){case "mouseControlMode":y=b.Afa;break;case "touchControlMode":y=b.qga}return c.prototype.get.call(this,x,y)};w.prototype.set=function(x,y){if(this.get(x)!=y){switch(x){case "application":this.c2=!0;this.$d();break;case "startTime":this.wy=!0;this.$d();break;case "video":case "panorama":x="panorama";this.wy=!0;this.$d();break;case "camera":this.J2=!0;
this.$d();break;case "viewerArea":this.Rh=!0;this.$d();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.tp=!0;this.$d();break;case "mapPlayer":this.$T=!0;this.$d();break;case "model3DPlayer":this.gU=!0;this.$d();break;case "gyroscopeEnabled":this.Ix=!0;this.$d();break;case "gyroscopeVerticalDraggingEnabled":this.v5=!0;this.$d();break;case "viewMode":"vr"==y&&(y=w.Ow);y!=w.Ow||t.isPresenting()?
y!=w.Ow&&t.isPresenting()&&t.$f():t.Nk();y=t.isPresenting()?w.Ow:w.J1;break;case "hotspotsEnabled":this.T5=!0;this.$d();break;case "mouseControlMode":case "touchControlMode":this.hS=!0;this.$d();break;case "surfaceSelectionEnabled":this.p$=!0,this.$d()}c.prototype.set.call(this,x,y)}};w.prototype.Pq=function(x){this.LF=x;this.L&&this.L.Bz(this.LF)};w.prototype.Cua=function(){return"inherit"!=this.get("doubleClickAction")};w.prototype.B2=function(x){c.prototype.B2.call(this,x);x.bind(h.hm,this.Kta,
this,!0)};w.prototype.V$=function(x){c.prototype.V$.call(this,x);x.unbind(h.hm,this.Kta,this,!0)};w.prototype.Kta=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var x=this.get("application").Qi;x&&x.zg()&&x.toggle()}};w.prototype.KGa=function(x){var y=w.Et[x];x=new d(this,x,u.Ie);x.bind(h.ub,function(){this.Kc(y.movement)},this);y.stopOnRelease&&x.bind(h.Zb,function(){this.Kc(p.Kf)},this);return x};w.prototype.Qg=function(){if(this.Rh||this.c2)this.Rh=this.c2=!1,this.hS=
this.Ix=this.gU=this.$T=!0,this.bu(),this.get("viewerArea")&&this.get("application")&&this.Zt(),this.vN(this.get("viewerArea"));var x=!1;if(this.j){this.$T&&(this.$T=!1,this.L.Tda(this.get("mapPlayer")));this.gU&&(this.gU=!1,this.L.Vda(this.get("model3DPlayer")));this.hS&&(this.hS=!1,this.L.Cz(this.get("mouseControlMode")),this.L.UD(this.get("touchControlMode")));if(this.wy||this.J2)this.RS=this.O4=this.qb=this.Ed=0,this.q8=this.s8=void 0,x=!0,this.J2=this.wy=!1,this.get("panorama")?this.L.Ai(this.get("panorama"),
this.get("camera",new f),this.get("startTime")):(this.L.cw(),this.k7=!0,this.oi=k.T,this.zc(k.T));this.v5&&(this.v5=!1,this.L.ZP(this.get("gyroscopeVerticalDraggingEnabled",!0)));if(this.Ix){this.Ix=!1;var y=this.get("gyroscopeEnabled")&&n.zg;y&&n.disabled&&(y=!1,r.mfa.show(function(){n.sda(function(){this.set("gyroscopeEnabled",!0)}.bind(this))}.bind(this)));this.set("gyroscopeEnabled",y);this.L.YP(y);this.GR.set("pressed",y)}this.T5&&(this.T5=!1,this.HR.set("pressed",this.get("hotspotsEnabled")));
this.tp&&(this.tp=!1,x=!0);this.p$&&(this.p$=!1,this.KR.set("pressed",this.get("surfaceSelectionEnabled")));x&&this.Cv()}};w.prototype.eH=function(){this.set("panorama",null)};w.prototype.Zt=function(){var x=this.get("viewerArea"),y=this.get("application");this.j=new q(y,x,this);this.j.ja({left:0,top:0,bottom:0,right:0});x.Wa(this.j);this.L=new l(x,this.j);this.L.bind(l.Rj,this.Np,this);this.L.bind(l.So,this.pna,this);this.L.bind(l.ft,this.li,this);this.L.bind(l.Sz,this.iG,this);this.L.bind(l.$z,
this.Pu,this,!0);this.L.bind(l.Zz,this.ky,this,!0);this.L.bind(l.aA,this.jM,this,!0);this.L.bind(l.Yz,this.iM,this,!0);this.L.bind(l.Ec,this.We,this);this.L.bind(l.Gi,this.Sp,this);this.L.bind(l.Fi,this.Rp,this);this.L.bind(l.hj,this.Qp,this);this.L.bind(l.Vo,this.sy,this,!0);this.get("application").bind(h.G("mute"),this.gM,this);this.get("application").get("mute",!1)&&this.L.Hf(!0);this.L&&this.L.Bz(this.LF);t.bind(h.pa,this.Yn,this,!0);this.i3();this.Ly(!0)};w.prototype.bu=function(){this.j&&(this.L.unbind(l.Rj,
this.Np,this),this.L.unbind(l.So,this.pna,this),this.L.unbind(l.ft,this.li,this),this.L.unbind(l.Sz,this.iG,this),this.L.unbind(l.$z,this.Pu,this,!0),this.L.unbind(l.Zz,this.ky,this,!0),this.L.unbind(l.aA,this.jM,this,!0),this.L.unbind(l.Yz,this.iM,this,!0),this.L.unbind(l.Ec,this.We,this),this.L.unbind(l.Gi,this.Sp,this),this.L.unbind(l.Fi,this.Rp,this),this.L.unbind(l.hj,this.Qp,this),this.L.unbind(l.Vo,this.sy,this),this.L.clear(),this.L=null,this.get("application").unbind(h.G("mute"),this.gM,
this),this.j.getParent().removeChild(this.j),this.j=null,t.unbind(h.pa,this.Yn,this,!0),this.Ly(!1))};w.prototype.gM=function(){this.j&&this.L.Hf(this.get("application").get("mute",!1))};w.prototype.We=function(x){this.oi=x.data.state;this.mg()};w.prototype.mg=function(){this.zc(this.k7||t.isPresenting()?this.oi:k.X)};w.prototype.Sp=function(){this.trigger(new m(h.Bga))};w.prototype.Rp=function(){this.trigger(new m(h.Aga))};w.prototype.jM=function(x){this.trigger(new m(w.yBa,{panorama:x.data.panorama}))};
w.prototype.iM=function(){};w.prototype.Pu=function(x){this.i3();this.CL(x.data.panorama)};w.prototype.ky=function(x){this.BL(x.data.panorama)};w.prototype.Np=function(x){for(var y in w.Et)this.Nma[y].set("state",x.data[w.Et[y].pressedOn]?v.ob:v.He);this.k7=x.data.stopped;this.mg();this.trigger(new m(h.Cfa,x.data))};w.prototype.pna=function(x){this.i3();this.trigger(new m(w.rBa,x.data))};w.prototype.i3=function(){this.L&&(this.set("yaw",this.L.Tc()),this.set("pitch",this.L.Oc()),this.set("roll",this.L.Qf()),
this.set("hfov",this.L.Ag()),this.set("actualHFOV",this.L.ZH()),this.set("actualVFOV",this.L.$H()))};w.prototype.li=function(x){this.j.getParent().ja({progressPercent:x.data.percent,progressVisible:!0});this.trigger(new m(w.ft,x.data))};w.prototype.iG=function(){this.j.getParent().set("progressVisible",!1)};w.prototype.sy=function(){this.trigger(h.p1)};w.prototype.Yn=function(){this.set("viewMode",t.isPresenting()?w.Ow:w.J1);this.mg()};w.prototype.Mma=function(x,y,A,B,z){this.L&&this.L.moveTo(x,y,
A,B,z)};w.prototype.Kc=function(x){this.L&&this.L.Pj(x)};w.prototype.uk=function(){this.L.play()};w.prototype.qo=function(){this.L.stop()};w.prototype.Vp=function(){this.L.pause()};w.prototype.DC=function(x){this.L&&(this.Fka()?this.L.Az(x):this.L.Cza(x))};w.prototype.oPa=function(x){this.L&&this.L.Cza(x)};w.prototype.pPa=function(x){this.L&&this.L.Az(x)};w.prototype.kNa=function(){this.L&&this.L.yI()};w.prototype.tOa=function(){this.L&&this.L.FI()};w.prototype.PJa=function(x,y){if(this.L)return this.L.jca(x,
y)};w.prototype.xJa=function(x,y){if(this.L)return this.L.rVa(x,y)};w.prototype.Aqa=function(){this.L&&this.L.LD()};w.prototype.KM=function(x){this.DC(x.data.position)};w.prototype.Qp=function(x){this.Ed=x.data.time;this.qb=x.data.duration;this.O4=x.data.transitionPosition;this.RS=x.data.transitionLength;this.s8=x.data.steps;this.q8=x.data.selectedStep;this.Cv()};w.prototype.Cv=function(){var x=this.j.getParent(),y=!1;if(this.PIa()){var A=this.Fka(),B=this.zJa();A?0<this.RS&&(x.ja({playbackBarPosition:this.O4,
playbackBarDuration:this.RS,playbackBarSteps:this.s8,playbackBarSelectedStep:this.q8,playbackBarLiveDragging:B}),y=!0):0<this.qb&&(x.ja({playbackBarPosition:this.Ed,playbackBarDuration:this.qb,playbackBarSteps:void 0,playbackBarSelectedStep:void 0,playbackBarLiveDragging:B}),y=!0)}x.set("playbackBarVisible",y)};w.prototype.PIa=function(){var x=this.get("panorama");return x?g.Na("HDRPanorama",x)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!1)):g.Na("LivePanorama",x)?this.get("livePanoramaDisplayPlaybackBar",
this.get("displayPlaybackBar",!1)):g.Na("VideoPanorama",x)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!0)):!1:!1};w.prototype.Fka=function(){var x=this.get("panorama");return x?g.Na("HDRPanorama",x)?this.get("hdrPanoramaDisplayPlaybackBarSteps",!0):g.Na("LivePanorama",x)?this.get("livePanoramaDisplayPlaybackBarSteps",!0):!1:!1};w.prototype.zJa=function(){var x=this.get("panorama");return!x||g.Na("VideoPanorama",x)?!1:!0};w.Ow="cardboard";w.J1="standard";w.Et={buttonMoveLeft:{movement:p.pE,
pressedOn:"movingLeft",stopOnRelease:!0},buttonMoveRight:{movement:p.qE,pressedOn:"movingRight",stopOnRelease:!0},buttonMoveUp:{movement:p.rE,pressedOn:"movingUp",stopOnRelease:!0},buttonMoveDown:{movement:p.oE,pressedOn:"movingDown",stopOnRelease:!0},buttonPlayLeft:{movement:[p.pE,p.X],pressedOn:"movingLeft",stopOnRelease:!1},buttonPlayRight:{movement:[p.qE,p.X],pressedOn:"movingRight",stopOnRelease:!1},buttonPlayUp:{movement:[p.rE,p.X],pressedOn:"movingUp",stopOnRelease:!1},buttonPlayDown:{movement:[p.oE,
p.X],pressedOn:"movingDown",stopOnRelease:!1},buttonZoomIn:{movement:p.Ct,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:p.Dt,pressedOn:"zoomingOut",stopOnRelease:!0}};return w});
define("cA",["require","nx","da","ih"],function(a){var e=a("nx"),h=a("da"),m=a("ih");a=e.define("PanoramaPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(h.Wg,this.Pu,this),k.set("panorama",this.get("media")),k.set("camera",this.get("camera")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(h.Wg,this.Pu,this),k.get("panorama")==this.get("media")&&k.set("panorama",null));m.prototype.stop.call(this)};
a.prototype.Pu=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.Wg,this.Pu,this),this.get("player").bind(h.fm,this.ky,this),this.dz())};a.prototype.ky=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.fm,this.ky,this),this.stop(),this.end())};return a});define("ls",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PanoramaSnapshot",e,function(){e.call(this)})});
define("na",["require","lo","cq"],function(a){var e=a("lo"),h=a("cq");a=e.extend(h,function(m,k,b,g){h.call(this);this.Fd=m;this.ia=k;this.ua=b;this.E4=g});a.prototype.Ns=function(){return[this.Fd]};a.prototype.wi=function(){return this.Fd};a.prototype.rd=function(){return this.ia};a.prototype.ee=function(){return this.ua};return a});
define("oG",["require","nx","en","ga","na"],function(a){var e=a("nx"),h=a("en"),m=a("ga"),k=a("na");a=e.define("Photo",h,function(){h.call(this);this.wa=void 0});a.prototype.Kj=function(){if(void 0==this.wa){var b=this.get("image");this.wa=b?new k(m.Eq(b).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",!1)):null}return this.wa};a.prototype.Ls=function(){var b=this.$S(this.Kj());this.get("audios",[]).forEach(function(g){b=b.concat(g.Ls())}.bind(this));return b};a.prototype.$S=
function(b){return b?b.Ns():[]};return a});define("ju",["require","en","nx"],function(a){var e=a("en");a=a("nx").define("PhotoAlbum",e,function(){e.call(this);this.set("loop",!1)});a.prototype.Ls=function(){var h=[],m=this.get("playList");m&&m.get("items",[]).forEach(function(k){(k=k.get("media"))&&(h=h.concat(k.Ls()))});this.get("audios",[]).forEach(function(k){h=h.concat(k.Ls())});return h};return a});
define("gA",["require","hT","nx","iO"],function(a){var e=a("hT"),h=a("nx"),m=a("iO");return h.define("PhotoAlbumAudio",m,function(){m.call(this,e.nCa)})});
define("cY",["require","kO"],function(a){function e(m,k){this.j=m;this.ip=k;this.IE=[];this.rr=[];this.yq=1}var h=a("kO");e.prototype.clear=function(){for(var m=0;m<this.IE.length;m++)this.IE[m].Jd(h.T);this.XDa();this.rr=this.IE=null};e.prototype.stop=function(){for(var m=0;m<this.rr.length;m++)this.rr[m].Jd(h.T)};e.prototype.play=function(){for(var m=0;m<this.rr.length;m++){var k=this.rr[m];k.getState()!=h.X&&k.Jd(h.X)}};e.prototype.pause=function(){for(var m=0;m<this.rr.length;m++){var k=this.rr[m];
k.getState()==h.X&&k.Jd(h.Eb)}};e.prototype.start=function(){this.stop();for(var m=0;m<this.ip.length;m++){var k=this.ip[m],b=k.nD();b&&(this.IE.push(b),k.get("autoplay",!1)&&this.rr.push(b))}for(m=0;m<this.rr.length;m++)this.rr[m].Jd(h.X)};e.prototype.wd=function(){};e.prototype.XDa=function(){for(var m=0;m<this.IE.length;m++)this.IE[m].jw(1)};return e});
define("id",["require","lo","cY"],function(a){var e=a("lo"),h=a("cY");return e.extend(h,function(m,k){h.call(this,m,k.get("audios",[]));this.xV=k})});define("hq",["require","lo","cY"],function(a){var e=a("lo"),h=a("cY");return e.extend(h,function(m,k){h.call(this,m,k.get("audios",[]));this.ff=k})});
define("je",["require","id","hq"],function(a){function e(k){this.j=k;this.Ii=[];this.ni=[]}var h=a("id"),m=a("hq");e.prototype.clear=function(){this.lAa();this.ni=this.Ii=null};e.prototype.lAa=function(){for(var k=0;k<this.Ii.length;k++)this.Ii[k].clear();for(k=0;k<this.ni.length;k++)this.ni[k].clear();this.Ii=[];this.ni=[]};e.prototype.pause=function(){for(var k=0;k<this.Ii.length;k++)this.Ii[k].pause();for(k=0;k<this.ni.length;k++)this.ni[k].pause()};e.prototype.play=function(){for(var k=0;k<this.Ii.length;k++)this.Ii[k].play();
for(k=0;k<this.ni.length;k++)this.ni[k].play()};e.prototype.stop=function(){for(var k=0;k<this.Ii.length;k++)this.Ii[k].stop();for(k=0;k<this.ni.length;k++)this.ni[k].clear();this.ni=[]};e.prototype.s_a=function(k){k=new h(this.j,k);this.ni.push(k);k.start()};e.prototype.w_a=function(k){for(var b=0;b<this.ni.length;b++)if(this.ni[b].xV==k){this.ni[b].clear();this.ni.splice(b,1);break}};e.prototype.sea=function(k){k=new m(this.j,k);this.Ii.push(k);k.start()};e.prototype.u_a=function(k){for(var b=0;b<
this.Ii.length;b++)if(this.Ii[b].ff==k){this.Ii[b].clear();this.Ii.splice(b,1);break}};e.prototype.wd=function(k){for(var b=0;b<this.Ii.length;b++)this.Ii[b].wd(k);for(b=0;b<this.ni.length;b++)this.ni[b].wd(k)};return e});
define("bK",["require","lo","md"],function(a){function e(){this.va=!0;this.Ka=this.Ha=.5;this.ib=1;this.Df=h.rh;this.mm=this.nm=100}a("lo");var h=a("md");e.prototype.getX=function(){this.bn();return this.Ha};e.prototype.getY=function(){this.bn();return this.Ka};e.prototype.Gq=function(){this.bn();return this.ib};e.prototype.setConfiguration=function(m,k,b){this.Df=b;this.Ka=this.Ha=.5;this.ib=1;this.va=!0};e.prototype.setPosition=function(m,k,b){this.Ha=m;this.Ka=k;this.ib=b;this.va=!0};e.prototype.setSize=
function(m,k){this.nm=m;this.mm=k;this.va=!0};e.prototype.bn=function(){if(this.va){this.va=!1;1>this.ib&&(this.ib=1);var m=Math.min(.5/this.ib,.5),k=Math.max(1-.5/this.ib,.5);this.Ha<m?this.Ha=m:this.Ha>k&&(this.Ha=k);m=Math.min(.5/this.ib,.5);k=Math.max(1-.5/this.ib,.5);this.Ka<m?this.Ka=m:this.Ka>k&&(this.Ka=k)}};return e});
define("bC",["require"],function(){function a(e,h){this.j=e;this.ga=h;this.Ka=this.Ha=.5;this.ib=1;this.VV=!1}a.prototype.start=function(){this.Ka=this.Ha=.5;this.ib=1;this.VV=!0};a.prototype.clear=function(){this.ga=this.j=null};a.prototype.setPosition=function(e,h,m){this.Ha=e;this.Ka=h;this.ib=m};a.prototype.af=function(){return this.VV};a.prototype.zb=function(){this.VV=!1};return a});
define("hJ",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PhotoCameraPosition",e,function(h,m,k){e.call(this);void 0!=h&&this.set("x",h);void 0!=m&&this.set("y",m);void 0!=k&&this.set("zoomFactor",k)})});
define("i","require lo bC hJ oj bF".split(" "),function(a){var e=a("lo"),h=a("bC"),m=a("hJ"),k=a("oj"),b=a("bF");a=e.extend(h,function(g,d){h.call(this,g,d);this.V=null});a.prototype.start=function(g){var d=g.get("initialPosition",new m(.5,.5,1)),c=g.get("targetPosition",new m(.5,.5,1)),f=g.get("duration",1E3);0==f?(this.Ha=d.get("x"),this.Ka=d.get("y"),this.ib=d.get("zoomFactor")):this.V=new k(g.get("easing","linear"),[new b("x",d.get("x",.5),c.get("x",.5)),new b("y",d.get("y",.5),c.get("y",.5)),
new b("zoom",d.get("zoomFactor",1),c.get("zoomFactor",1))],f);this.zb(0)};a.prototype.clear=function(){this.V=null;h.prototype.clear.call(this)};a.prototype.af=function(){return null!=this.V};a.prototype.zb=function(g){this.V&&(this.V.zb(g),this.ga.setPosition(this.V.cb("x"),this.V.cb("y"),this.V.cb("zoom")),this.Ha=this.ga.getX(),this.Ka=this.ga.getY(),this.ib=this.ga.Gq(),this.V.Re()&&(this.V=null))};return a});
define("cK","require lo cy gi nx kO md bK bC i oH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("nx"),b=a("kO"),g=a("md"),d=a("bK"),c=a("bC"),f=a("i"),l=a("oH"),p=e.extend(m,function(q,n){m.call(this);this.j=q;this.Ud=n;this.j.bind(l.kc,this.hc,this);this.A=b.T;this.Cl=this.xV=this.Ca=this.wa=null;this.ga=new d});p.prototype.clear=function(){this.end();this.ga=null;this.j.unbind(l.kc,this.hc,this);this.j=null};p.prototype.end=function(q){if(this.wa==q||"undefined"==typeof q)this.qja(),
this.Ca=this.xV=this.wa=null};p.prototype.start=function(q){if(this.wa!=q){this.end(this.wa);var n=q.get("media"),r=q.get("camera"),t=n.get("width",100),u=n.get("height",100),v=r?r.get("scaleMode",g.rh):g.rh;this.wa=q;this.Ca=r;this.xV=n;n.Kj();this.W=!0;this.ga.setConfiguration(t,u,v);this.MGa(r);this.Ma()}};p.prototype.stop=function(){this.A!=b.T&&(this.A=b.T,this.Cl&&(this.Cl.start(this.Ca),this.Ma()))};p.prototype.play=function(){if(this.A==b.T||this.A==b.Eb)this.A=b.X,this.Ma()};p.prototype.pause=
function(){this.A==b.X&&(this.A=b.Eb)};p.prototype.Yv=function(q){this.Cl&&this.Cl.af()&&(this.A==b.X&&(this.Cl.zb(q),this.Ma()),this.Hl(this.Cl.Ha,this.Cl.Ka,this.Cl.ib))};p.prototype.MGa=function(q){this.qja();k.Na("MovementPhotoCamera",q)?this.Cl=new f(this.j,this.ga):this.Cl=new c(this.j,this.ga);this.Cl.start(q)};p.prototype.qja=function(){this.Cl&&(this.Cl.clear(),this.Cl=null)};p.prototype.hc=function(){this.ga.setSize(this.j.Xa(),this.j.xb());this.Ma()};p.prototype.Ma=function(){this.trigger(new h(p.Db))};
p.prototype.Hl=function(q,n,r){this.Ud.setPosition(this.wa,q,n,r)};p.Db="request frame";return p});
define("hX","require eg lo cy gi oH hT md".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("cy"),k=a("gi"),b=a("oH");a("hT");var g=a("md"),d=h.extend(k,function(f,l){k.call(this);this.FN=[];this.M=f;this.j=l});d.prototype.preload=function(f){this.Gx(f).preload();return this};d.prototype.uf=function(f,l){this.Gx(f).uf(l);return this};d.prototype.qn=function(f,l){this.Gx(f).qn(l);return this};d.prototype.setPosition=function(f,l,p,q){this.Gx(f).setPosition(l,p,q);return this};d.prototype.Uh=function(f){this.Gx(f).Uh()};
d.prototype.stop=function(){this.Lja(function(f){f.clear()});this.FN=[]};d.prototype.clear=function(){this.stop();this.j=this.M=this.FN=null};d.prototype.wd=function(){this.Lja(function(f){f.update()})};d.prototype.Gx=function(f){var l=this.ZHa(f);l||(l=new c(f,this.j),l.bind(c.fga,this.pLa,this),l.bind(c.cga,this.oLa,this),this.FN.push(l));return l};d.prototype.Lja=function(f){e(this.FN).each(f,this)};d.prototype.ZHa=function(f){return e(this.FN).find(function(l){return l.getItem()==f})};d.prototype.pLa=
function(){this.Ma()};d.prototype.oLa=function(f){this.trigger(new m(d.x0,{item:f.source.getItem()}))};d.prototype.Ma=function(){this.trigger(new m(d.Db))};d.Db="request frame";d.x0="photo preload end";var c=h.extend(k,function(f,l){k.call(this);this.wa=f;this.j=l;this.Df=(l=f.get("camera"))?l.get("scaleMode",g.rh):g.rh;this.Wi=f.get("media").Kj();this.Wi.bind(b.Z,this.nd,this);this.Wi.bind(b.tc,this.Pf,this);this.oa=c.DJ;this.Ka=this.Ha=.5;this.ib=1;this.Fn=0;this.LE=!1;this.ug=0;this.va=!1});c.prototype.getItem=
function(){return this.wa};c.prototype.preload=function(){this.oa==c.DJ?this.EV():this.Fsa()};c.prototype.uf=function(f){this.Fn!=f&&(this.Fn=f,this.Ve())};c.prototype.qn=function(f){this.ug!=f&&(this.ug=f,this.Ve())};c.prototype.setPosition=function(f,l,p){if(this.Ha!=f||this.Ka!=l||this.ib!=p)this.Ha=f,this.Ka=l,this.ib=p,this.Ve()};c.prototype.Uh=function(){this.LE||(this.LE=!0,this.Ve())};c.prototype.clear=function(){this.oa==c.iR&&this.aqa();this.oa!=c.AJ&&this.oa!=c.CJ&&this.oa!=c.BJ||this.Vy();
this.Wi.unbind(b.Z,this.nd);this.Wi.unbind(b.tc,this.Pf);this.Wi=null};c.prototype.update=function(){this.va&&(this.va=!1,-1<this.ug&&1>this.ug&&0<this.Fn?(this.oa==c.DJ&&this.rL(),this.oa==c.AJ&&this.qDa(),this.oa==c.iR&&(this.LE&&(this.j.uba(this.Wi),this.LE=!1),this.j.Oq(this.Wi,this.Fn),this.j.dZa(this.Wi,this.ug),this.j.aQ(this.Wi,this.Ha,this.Ka,this.ib))):(this.oa==c.iR&&this.aqa(),this.oa!=c.AJ&&this.oa!=c.BJ||this.Vy()))};c.prototype.Ve=function(){this.va||(this.va=!0,this.Aa())};c.prototype.Aa=
function(){this.trigger(new m(c.fga))};c.prototype.EV=function(){this.oa=c.CJ;this.j.ln(this.Wi);this.j.Nwa(this.Wi)&&this.nd()};c.prototype.rL=function(){this.oa=c.BJ;this.j.ln(this.Wi);this.j.Nwa(this.Wi)&&this.nd()};c.prototype.qDa=function(){this.oa=c.iR;this.j.jba(this.Wi);this.j.gZa(this.Wi,this.Df)};c.prototype.aqa=function(){this.oa=c.AJ;this.j.removeItem(this.Wi)};c.prototype.Vy=function(){this.oa=c.DJ;this.j.gj(this.Wi)};c.prototype.nd=function(){if(this.oa==c.CJ||this.oa==c.BJ){var f=this.oa==
c.CJ;this.oa=c.AJ;this.Ve();f&&this.Fsa()}};c.prototype.Pf=function(){if(this.oa==c.CJ||this.oa==c.BJ)this.oa=c.DJ};c.prototype.Fsa=function(){this.trigger(new m(c.cga))};c.fga="requestUpdate";c.cga="preloadEnd";c.DJ="unloaded";c.CJ="preloading";c.BJ="loading";c.AJ="loaded";c.iR="added";return d});define("nd",["require"],function(){return{xn:"blending",cp:"scroll"}});
define("cb","require eg lo cy gi oH hX nd".split(" "),function(a){function e(f,l,p){this.cn=f;this.item=l;this.transitionDuration=p;this.index=f&&l?h(f.get("playList").get("items")).indexOf(this.item):0;this.loaded=!1}var h=a("eg"),m=a("lo"),k=a("cy"),b=a("gi");a("oH");var g=a("hX"),d=a("nd");e.prototype.isEqual=function(f){return f&&f.cn==this.cn&&f.item==this.item};var c=m.extend(b,function(f,l,p){b.call(this);this.M=f;this.j=l;this.Ud=p;this.Ud.bind(g.x0,this.vpa,this);this.ZN=d.xn;this.oa=c.AE;
this.Mf=new e(null,null,0);this.au=this.tk=this.dh=null;this.$N=void 0;this.Iy=0});c.prototype.TZa=function(f){this.ZN=f};c.prototype.eea=function(f){this.Iy=f};c.prototype.Eea=function(f,l,p){this.tk=null;f=new e(f,l,p);f.isEqual(this.oa==c.AE?this.Mf:this.dh)||(this.tk=f,this.poa())};c.prototype.clear=function(){this.oa!=c.lR&&this.oa!=c.jR||this.trigger(new k(c.zw,{album:this.dh.cn,item:this.dh.item}));this.oa=c.AE;this.j=this.M=this.au=this.Mf=this.dh=this.tk=null;this.Ud.unbind(g.x0,this.vpa,
this);this.Ud=null};c.prototype.wd=function(f){this.oa!=c.AE&&(this.$N+=f,f=this.dh.transitionDuration,f=this.$N>=f?1:this.$N/f,this.oa==c.jR?this.iSa(f):this.oa==c.kR?this.jSa(f):this.ZN==d.xn?this.VRa(f):this.PSa(f),1>f?this.Ma():this.Bx())};c.prototype.iSa=function(f){this.Ud.uf(this.dh.item,f).qn(this.dh.item,0)};c.prototype.jSa=function(f){this.Ud.uf(this.Mf.item,1-f).qn(this.Mf.item,0)};c.prototype.VRa=function(f){this.Ud.uf(this.dh.item,Math.min(1,2*f)).qn(this.dh.item,0);this.Ud.uf(this.Mf.item,
Math.min(1,2*(1-f))).qn(this.Mf.item,0)};c.prototype.PSa=function(f){var l=this.Mf.cn!=this.dh.cn||this.Mf.index<this.dh.index;this.Ud.qn(this.dh.item,(l?1-f:f-1)*(1+this.Iy)).uf(this.dh.item,1);this.Ud.qn(this.Mf.item,(l?-f:f)*(1+this.Iy)).uf(this.Mf.item,1)};c.prototype.poa=function(){this.tk&&this.oa==c.AE&&(this.tk.item&&!this.tk.loaded?this.Ud.preload(this.tk.item):this.jp())};c.prototype.vpa=function(f){this.tk&&this.tk.item==f.data.item&&(this.tk.loaded=!0,this.poa())};c.prototype.jp=function(){this.au&&
this.au!=this.tk.cn&&(this.trigger(new k(c.Qo,{album:this.au})),this.au=null);this.trigger(new k(c.E0));"fade_out_fade_in"==this.M.get("transitionMode")&&null!=this.tk.item&&null!=this.Mf.item?(this.oa=c.kR,this.dh=new e(this.Mf.cn,null,this.Mf.transitionDuration)):(this.dh=this.tk,this.tk=null,this.Mf.item)?this.dh.item?this.oa=c.lR:this.Mf.item&&(this.oa=c.kR):this.oa=c.jR;if(this.oa==c.lR||this.oa==c.jR)this.Ud.Uh(this.dh.item),this.trigger(new k(c.bA,{album:this.dh.cn,item:this.dh.item}));this.$N=
0;this.Ma()};c.prototype.Bx=function(){this.oa!=c.lR&&this.oa!=c.kR||this.trigger(new k(c.zw,{album:this.Mf.cn,item:this.Mf.item}));this.Mf=this.dh;this.au!=this.Mf.cn&&(this.au=this.Mf.cn,this.trigger(new k(c.Ro,{album:this.au})));this.oa=c.AE;null==this.tk?(this.Mf.item&&this.trigger(new k(c.cA,{album:this.Mf.cn,item:this.Mf.item})),this.trigger(new k(c.Vo,{album:this.Mf.cn,item:this.Mf.item}))):this.jp()};c.prototype.Ma=function(){this.trigger(new k(c.Db))};c.AE="stopped";c.lR="blending";c.kR=
"fading_out";c.jR="fading_in";c.Db="request frame";c.E0="transition begin";c.Vo="transition end";c.bA="photo added";c.zw="photo removed";c.cA="photo displayed";c.Ro="photo album show";c.Qo="photo album hide";return c});
define("fE","require eg lo cy gi oH nx md hJ bK bC i oj bF".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("cy"),k=a("gi"),b=a("oH"),g=a("nx"),d=a("md"),c=a("hJ"),f=a("bK");a("bC");a("i");var l=a("oj"),p=a("bF"),q=h.extend(k,function(n,r,t){k.call(this);this.M=n;this.j=r;this.Ud=t;this.io=this.Tn=this.wa=this.ff=this.ab=null;this.Vm=void 0;this.JW=0;this.xk=!1;this.ug=0;this.fU=this.io?-1:0;this.dU=this.Tn?1:0;this.V=null;this.Pg=400;this.Iy=0;this.ga=new f});q.prototype.clear=function(){this.Ud=
this.j=this.M=this.au=null};q.prototype.GYa=function(n,r){this.ff=n;this.wa=r;n=n&&n.get("playList")&&n.get("playList").get("items")||[];r=e(n).indexOf(r);this.Tn=0<r?n[r-1]:null;this.io=r<n.length-1?n[r+1]:null;this.ug=0;this.fU=this.io?-1:0;this.dU=this.Tn?1:0;this.EV()};q.prototype.enable=function(){if(this.ab=this.j.getParent())this.ab.bind(b.ub,this.Od,this,!0),this.ab.bind(b.jc,this.vj,this,!0),this.ab.bind(b.Zb,this.wj,this,!0),this.EV()};q.prototype.disable=function(){this.ab&&(this.ab.unbind(b.ub,
this.Od,this),this.ab.unbind(b.jc,this.vj,this),this.ab.unbind(b.Zb,this.wj,this),this.ab=null)};q.prototype.SZa=function(n){this.Pg=n};q.prototype.eea=function(n){this.Iy=n};q.prototype.EV=function(){this.ab&&(this.Tn&&this.Ud.preload(this.Tn),this.io&&this.Ud.preload(this.io))};q.prototype.Vma=function(){return(new Date).getTime()};q.prototype.Od=function(n){this.xk||(this.Vm=n.x,this.JW=0,this.C8=this.Vma(),this.xk=!0,this.V=null,this.trigger(new m(q.e0)),this.Tn&&(n=this.Tka(this.Tn),this.Ud.setPosition(this.Tn,
n.x,n.y,n.zoom)),this.io&&(n=this.Tka(this.io),this.Ud.setPosition(this.io,n.x,n.y,n.zoom)))};q.prototype.vj=function(n){if(this.xk){var r=n.x-this.Vm,t=r/this.ab.Xa(),u=this.Vma()-this.C8;this.JW=r/u;this.C8+=u;this.Vm=n.x;this.ug=Math.max(this.fU,Math.min(this.dU,this.ug+t));this.Ma()}};q.prototype.wj=function(){if(this.xk){this.xk=!1;if(1<this.JW){var n="quad_out";var r=this.dU}else-1>this.JW?(n="quad_out",r=this.fU):(n="quad_in_out",r=-.5>this.ug?this.fU:.5<this.ug?this.dU:0);this.V=new l(n,[new p("offset",
this.ug,r,1E3/this.Pg)],0);this.Ma()}};q.prototype.wd=function(n){if(this.xk||this.V)this.V&&(this.V.zb(n),this.ug=this.V.cb("offset"),this.V.Re()?(this.V=null,this.FHa()):this.Ma()),this.wa&&this.Ud.qn(this.wa,this.ug*(1+this.Iy)).uf(this.wa,1),this.Tn&&this.Ud.qn(this.Tn,(this.ug-1)*(1+this.Iy)).uf(this.Tn,1),this.io&&this.Ud.qn(this.io,(this.ug+1)*(1+this.Iy)).uf(this.io,1)};q.prototype.FHa=function(){this.trigger(new m(q.f0,{album:this.ff,item:0>this.ug?this.io:0<this.ug?this.Tn:this.wa}))};q.prototype.Ma=
function(){this.trigger(new m(q.Db))};q.prototype.Tka=function(n){var r=n&&n.get("camera"),t=n&&n.get("media");n=t&&t.get("width",100)||100;t=t&&t.get("height",100)||100;var u=r?r.get("scaleMode",d.rh):d.rh,v={};g.Na("MovementPhotoCamera",r)?(r=r.get("initialPosition",new c(.5,.5,1)),v.x=r.get("x",.5),v.y=r.get("y",.5),v.zoom=r.get("zoomFactor",.5)):(v.x=.5,v.y=.5,v.zoom=1);this.ga.setConfiguration(n,t,u);this.ga.setSize(this.j.Xa(),this.j.xb());this.ga.setPosition(v.x,v.y,v.zoom);v.x=this.ga.getX();
v.y=this.ga.getY();v.zoom=this.ga.Gq();return v};q.Db="request frame";q.e0="interaction begin";q.f0="interaction end";return q});
define("jh","require lo cy gi oH hX nd cb fE".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi");a("oH");a("hX");var k=a("nd"),b=a("cb"),g=a("fE"),d=e.extend(m,function(c,f,l){m.call(this);this.M=c;this.j=f;this.Ud=l;this.ZN=k.xn;this.Pg=1E3;this.Lb=new b(this.M,this.j,this.Ud);this.Lb.bind(b.Db,this.Me,this,!0);this.Lb.bind(b.E0,this.mna,this,!0);this.Lb.bind(b.Vo,this.nna,this,!0);this.Lb.bind(b.bA,this.kM,this,!0);this.Lb.bind(b.zw,this.nM,this,!0);this.Lb.bind(b.cA,this.mM,this,!0);this.Lb.bind(b.Qo,
this.Op,this,!0);this.Lb.bind(b.Ro,this.Xn,this,!0);this.nl=new g(this.M,this.j,this.Ud);this.nl.bind(g.Db,this.Me,this,!0);this.nl.bind(g.e0,this.pma,this,!0);this.nl.bind(g.f0,this.qma,this,!0)});d.prototype.i_=function(c,f){this.ZN=c;this.Pg=f;this.Lb.TZa(c);this.nl.SZa(f);this.Lb.eea(.05);this.nl.eea(.05)};d.prototype.display=function(c,f){this.Lb.Eea(c,f,this.Pg)};d.prototype.hide=function(){this.Lb.Eea(null,null,this.Pg)};d.prototype.clear=function(){this.Lb.unbind(b.Db,this.Me,this);this.Lb.unbind(b.E0,
this.mna,this);this.Lb.unbind(b.Vo,this.nna,this);this.Lb.unbind(b.bA,this.kM,this);this.Lb.unbind(b.zw,this.nM,this);this.Lb.unbind(b.cA,this.mM,this);this.Lb.unbind(b.Qo,this.Op,this);this.Lb.unbind(b.Ro,this.Xn,this);this.Lb.clear();this.Lb=null;this.nl.bind(g.Db,this.Me,this,!0);this.nl.bind(g.e0,this.pma,this,!0);this.nl.bind(g.f0,this.qma,this,!0);this.nl.clear();this.Ud=this.j=this.M=this.nl=null};d.prototype.wd=function(c){this.Lb.wd(c);this.nl.wd(c)};d.prototype.Me=function(){this.Ma()};
d.prototype.kM=function(c){this.trigger(new h(d.bA,c.data))};d.prototype.nM=function(c){this.trigger(new h(d.zw,c.data))};d.prototype.mM=function(c){this.trigger(new h(d.cA,c.data));this.nl.GYa(c.data.album,c.data.item)};d.prototype.Op=function(c){this.trigger(new h(d.Qo,c.data))};d.prototype.Xn=function(c){this.trigger(new h(d.Ro,c.data))};d.prototype.mna=function(){this.nl.disable()};d.prototype.nna=function(c){this.ZN==k.cp&&c.data.item&&this.nl.enable();c.data.album||this.trigger(new h(d.b0))};
d.prototype.pma=function(){this.trigger(new h(d.ffa))};d.prototype.qma=function(c){this.Lb.Eea(c.data.album,c.data.item,0);this.trigger(new h(d.gfa,c.data))};d.prototype.Ma=function(){this.trigger(new h(d.Db))};d.Db="request frame";d.bA="photo added";d.zw="photo removed";d.cA="photo displayed";d.Ro="photo album show";d.Qo="photo album hide";d.ffa="manual interaction begin";d.gfa="manual interaction end";d.b0="all pending photo albums hidden";return d});
define("iz","require eg lo y cy gi kO".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("y"),k=a("cy"),b=a("gi"),g=a("kO"),d=h.extend(b,function(){b.call(this);this.ff=null;this.A=g.T;this.w9=null});d.prototype.clear=function(){this.Jba()};d.prototype.sea=function(c){this.Jba();this.ff=c;this.A=g.X;this.w9=m.Ws(this.ff,"playList.selectedIndex",this.FC,this);0==this.ff.get("playList").get("selectedIndex")?this.FC():this.ff.get("playList").set("selectedIndex",0)};d.prototype.Jba=function(){this.ff&&
(this.A=g.T,this.w9.Iz(),this.ff=this.w9=null)};d.prototype.stop=function(){this.A!=g.T&&(this.A=g.T,this.ff.get("playList").set("selectedIndex",0))};d.prototype.play=function(){this.A==g.T?(this.ff.get("playList").set("selectedIndex",0),this.A=g.X,this.FC()):this.A==g.Eb&&(this.A=g.X)};d.prototype.pause=function(){this.A==g.X&&(this.A=g.Eb)};d.prototype.next=function(){var c=this.ff.get("playList"),f=c.get("selectedIndex"),l=c.get("items").length;(f<l-1||this.ff.get("loop"))&&c.set("selectedIndex",
(f+1)%l)};d.prototype.lda=function(){var c=this.ff.get("playList"),f=c.get("selectedIndex"),l=c.get("items").length;(0<f||this.ff.get("loop"))&&c.set("selectedIndex",(f-1+l)%l)};d.prototype.eZ=function(c){this.LPa(c)};d.prototype.itemEnd=function(c){if(this.ff){var f=e(this.ff.get("playList").get("items")).last();c!=f||this.ff.get("loop")?this.next():(this.A=g.T,this.trigger(new k(d.X_,{album:this.ff})))}};d.prototype.FC=function(){var c=this.RJa();0<=c&&(this.A!=g.X&&0!=c?this.trigger(new k(d.A0)):
this.trigger(new k(d.j0,{album:this.ff,item:this.ff.get("playList").get("items")[c]})))};d.prototype.RJa=function(){return this.ff?this.ff.get("playList").get("selectedIndex"):-1};d.prototype.LPa=function(c){if(this.ff){var f=this.ff.get("playList");c=e(f.get("items")).indexOf(c);f.set("selectedIndex",c)}};d.A0="play request";d.j0="item request";d.X_="album end";return d});
define("cR","require eg lo oH cy gi kO hd".split(" "),function(a){a("eg");var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("kO"),g=a("hd"),d=e.extend(k,function(c){k.call(this);this.M=c;this.RN=this.wa=null;this.vC=void 0;this.HT=!1;this.A=b.T;g.bind(h.pa,this.fpa,this,!0)});d.prototype.eZ=function(c){this.S3();if(this.wa=c)c=this.wa.get("media").get("duration",0),this.vC=0==c?void 0:Math.max(0,c-this.M.get("transitionDuration")),this.HT=!1,this.A==b.X&&this.q4()};d.prototype.clear=function(){g.unbind(h.pa,
this.fpa,this,!0);this.eZ(null)};d.prototype.stop=function(){this.A!=b.T&&(this.S3(),this.zc(b.T))};d.prototype.play=function(){if(this.A==b.T){if(this.zc(b.X),this.wa){this.HT=!1;var c=this.wa.get("media").get("duration",0);this.vC=0==c?void 0:c;this.q4()}}else this.A==b.Eb&&(this.zc(b.X),this.wa&&this.q4())};d.prototype.pause=function(){this.A==b.X&&(this.zc(b.Eb),this.spa())};d.prototype.q4=function(){this.HT||(this.HT=!0,this.trigger(new m(d.k0,{item:this.wa})));this.Wja()};d.prototype.fpa=function(){g.visible?
this.Wja():g.visible||this.spa()};d.prototype.Wja=function(){if(void 0!==this.vC){var c=this;this.dX=(new Date).getTime()+this.vC;this.RN=setTimeout(function(){c.RN=null;c.dRa()},this.vC)}else this.dX=void 0};d.prototype.S3=function(){this.RN&&(clearTimeout(this.RN),this.RN=null)};d.prototype.spa=function(){void 0!==this.dX&&(this.S3(),this.vC=Math.max(1,this.dX-(new Date).getTime()),this.dX=void 0)};d.prototype.dRa=function(){var c=this.wa;this.wa=null;this.vC=void 0;this.trigger(new m(d.i0,{item:c}))};
d.prototype.zc=function(c){this.A!=c&&(this.A=c,this.trigger(new m(d.Ec,{state:this.A})))};d.Ec="playback state change";d.k0="item start";d.i0="item end";return d});
define("nv","require lo cy gi bg v".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("gi"),k=a("bg"),b=a("v"),g=e.extend(m,function(d){m.call(this);this.W=!0;this.oB=!1;this.j=d;this.Am=b.browser()==b.Oz&&b.fe()==b.u1?3:1;this.Le=this.DK=0});g.prototype.clear=function(){this.W=!1;this.j=null;this.Le=this.DK=0};g.prototype.requestFrame=function(){this.oB||(this.oB=!0,k.requestFrame(this.yj,this))};g.prototype.yj=function(d){this.W&&(this.DK++,this.Le+=d,this.DK==this.Am?(this.DK=0,this.oB=!1,d=this.Le,
this.Le=0,this.trigger(new h(g.To,{frameTime:d})),this.trigger(new h(g.Uo,{frameTime:d})),this.j.render()):k.requestFrame(this.yj,this))};g.To="frameStart";g.Uo="positionSet";return g});
define("gB","require lo oH cy gi je cK jh iz cR hX nv".split(" "),function(a){var e=a("lo");a("oH");var h=a("cy"),m=a("gi"),k=a("je"),b=a("cK"),g=a("jh"),d=a("iz"),c=a("cR"),f=a("hX"),l=a("nv"),p=e.extend(m,function(q,n){m.call(this);this.M=q;this.j=n;this.j.set("visible",!1);this.Kh=new d(this.j);this.Ja=new c(this.M);this.Ud=new f(this.M,this.j);this.Ia=new g(this.M,this.j,this.Ud);this.bb=new b(this.j,this.Ud);this.kg=new l(this.j);this.Kd=new k(this.j);this.Ud.bind(f.Db,this.Me,this,!0);this.Kh.bind(d.j0,
this.Fna,this,!0);this.Kh.bind(d.A0,this.toa,this,!0);this.Kh.bind(d.X_,this.lM,this,!0);this.Ja.bind(c.k0,this.Gna,this);this.Ja.bind(c.i0,this.Ena,this);this.Ja.bind(c.Ec,this.We,this,!0);this.Ia.bind(g.Db,this.Me,this,!0);this.Ia.bind(g.bA,this.kM,this,!0);this.Ia.bind(g.zw,this.nM,this,!0);this.Ia.bind(g.cA,this.mM,this,!0);this.Ia.bind(g.Qo,this.Op,this,!0);this.Ia.bind(g.Ro,this.Xn,this,!0);this.Ia.bind(g.ffa,this.kMa,this,!0);this.Ia.bind(g.gfa,this.lMa,this,!0);this.Ia.bind(g.b0,this.dna,
this,!0);this.bb.bind(b.Db,this.Me,this,!0);this.kg.bind(l.To,this.ly,this,!0);this.kg.bind(l.Uo,this.my,this,!0)});p.prototype.clear=function(){this.Kh.clear();this.Ja.clear();this.Ia.clear();this.bb.clear();this.kg.clear();this.Kd.clear();this.Ud.clear();this.Ud.unbind(f.Db,this.Me,this);this.Kh.unbind(d.j0,this.Fna,this);this.Kh.unbind(d.X_,this.lM,this);this.Kh.unbind(d.A0,this.toa,this);this.Ja.unbind(c.k0,this.Gna,this);this.Ja.unbind(c.i0,this.Ena,this);this.Ja.unbind(c.Ec,this.We,this);this.Ia.unbind(g.Db,
this.Me,this);this.Ia.unbind(g.bA,this.kM,this);this.Ia.unbind(g.zw,this.nM,this);this.Ia.unbind(g.cA,this.mM,this);this.Ia.unbind(g.Qo,this.Op,this);this.Ia.unbind(g.Ro,this.Xn,this);this.Ia.unbind(g.b0,this.dna,this);this.bb.unbind(b.Db,this.Me,this);this.kg.unbind(l.To,this.ly,this);this.kg.unbind(l.Uo,this.my,this);this.M=this.j=this.Ud=this.Kd=this.kg=this.bb=this.Ia=this.Ja=this.Kh=null};p.prototype.i_=function(q,n){this.Ia.i_(q,n)};p.prototype.wZa=function(q){this.j.set("visible",!0);this.Kh.sea(q)};
p.prototype.cw=function(){this.Kh.Jba();this.Ja.stop();this.Ia.hide();this.bb.end();this.Kd.lAa()};p.prototype.next=function(){this.Kh.next()};p.prototype.lda=function(){this.Kh.lda()};p.prototype.stop=function(){this.Ja.stop();this.Kd.stop();this.Kh.stop();this.bb.stop()};p.prototype.play=function(){this.Ja.play();this.Kd.play();this.Kh.play();this.bb.play()};p.prototype.pause=function(){this.Ja.pause();this.Kd.pause();this.Kh.pause();this.bb.pause()};p.prototype.kMa=function(){this.Ja.pause();this.Kd.pause();
this.Kh.pause();this.bb.pause()};p.prototype.lMa=function(){this.Ja.play();this.Kd.play();this.Kh.play();this.bb.play()};p.prototype.Fna=function(q){this.Ia.display(q.data.album,q.data.item)};p.prototype.toa=function(){this.play()};p.prototype.Me=function(){this.kg.requestFrame()};p.prototype.ly=function(q){this.bb.Yv(q.data.frameTime)};p.prototype.my=function(q){q=q.data.frameTime;this.Ia.wd(q);this.Ud.wd(q);this.Kd.wd(q)};p.prototype.kM=function(q){this.bb.start(q.data.item)};p.prototype.nM=function(q){var n=
q.data.album;q=q.data.item;var r=q.get("media");this.bb.end(q);this.Kd.w_a(r);this.trigger(new h(p.w0,{photoAlbum:n,item:q}))};p.prototype.mM=function(q){var n=q.data.album;q=q.data.item;q.get("media");this.Kh.eZ(q);this.Ja.eZ(q);this.trigger(new h(p.v0,{photoAlbum:n,item:q}))};p.prototype.Gna=function(q){q=q.data.item.get("media");this.Kd.s_a(q)};p.prototype.Ena=function(q){this.Kh.itemEnd(q.data.item)};p.prototype.lM=function(q){this.Ja.stop();this.Kd.stop();this.trigger(new h(p.u0,{photoAlbum:q.data.album}))};
p.prototype.Xn=function(q){q=q.data.album;this.Kd.sea(q);this.Ja.play();this.bb.play();this.trigger(new h(p.Ro,{photoAlbum:q}))};p.prototype.Op=function(q){q=q.data.album;this.Kd.u_a(q);this.trigger(new h(p.Qo,{photoAlbum:q}))};p.prototype.dna=function(){this.j.set("visible",!1)};p.prototype.We=function(q){this.trigger(new h(p.Ec,{state:q.data.state}))};p.Ro="photoAlbumShow";p.u0="photoAlbumEnd";p.Qo="photoAlbumHide";p.v0="photoBegin";p.w0="photoEnd";p.Ec="playbackStateChange";return p});
define("hB","require jquery.mod eg md ll lH v".split(" "),function(a){function e(d,c){this.wa=d;this.ka=c;this.Gb=d.rd();this.Tb=d.ee();this.LS=d.E4;this.gba=this.qL=0;this.Fn=1;this.ug=0;this.va=!0;this.q3();this.Ad=this.td=100;this.Ka=this.Ha=.5;this.ib=1;this.PM=!0;this.mf=1;this.Uja={};this.Cla={};this.Bta=g.browser()!=g.Xh}var h=a("jquery.mod"),m=a("eg"),k=a("md"),b=a("ll");a("lH");var g=a("v");e.prototype.q3=function(){this.fR=h("<div></div>");var d={position:"absolute",left:"0",top:"0",width:this.td+
"px",height:this.Ad+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};d["-moz-transform-origin"]=d["-webkit-transform-origin"]=d["transform-origin"]="0 0 0";d["-ms-transform-origin"]="0 0";this.fR.css(d);this.w1=h(b.sf(this.wa.wi(),!0));d={display:"block",position:"absolute",left:"0",top:"0",width:this.Gb+"px",height:this.Tb+"px"};d["-moz-transform-origin"]=d["-webkit-transform-origin"]=d["transform-origin"]="0 0 0";d["-ms-transform-origin"]="0 0";this.w1.css(d);this.fR.append(this.w1)};
e.prototype.Ac=function(){return this.fR};e.prototype.getItem=function(){return this.wa};e.prototype.getX=function(){return this.Ha};e.prototype.getY=function(){return this.Ka};e.prototype.Gq=function(){return this.ib};e.prototype.Xa=function(){return Math.round(this.Gb*this.ib*this.mf)};e.prototype.xb=function(){return Math.round(this.Tb*this.ib*this.mf)};e.prototype.uf=function(d){this.Fn!=d&&(this.Fn=d,this.va=!0)};e.prototype.yY=function(){return this.Fn};e.prototype.Fz=function(d){this.Df!=d&&
(this.Df=d,this.va=!0)};e.prototype.ND=function(d,c){if(this.td!=d||this.Ad!=c)this.td=d,this.Ad=c,this.va=!0};e.prototype.setPosition=function(d,c,f){if(this.Ha!=d||this.Ka!=c||this.ib!=f)this.Ha=d,this.Ka=c,this.ib=f,this.va=!0};e.prototype.qn=function(d){this.ug!=d&&(this.ug=d,this.va=!0)};e.prototype.IYa=function(d){this.gba!=d&&(this.gba=d,this.va=!0)};e.prototype.render=function(){if(this.va){this.va=!1;switch(this.Df){case k.NONE:this.mf=1;break;case k.Xo:this.mf=this.td/this.Gb;break;case k.Tj:this.mf=
this.Ad/this.Tb;break;case k.Wq:this.mf=this.Gb*this.Ad>this.Tb*this.td?this.Ad/this.Tb:this.td/this.Gb;break;default:this.mf=this.Gb*this.Ad>this.Tb*this.td?this.td/this.Gb:this.Ad/this.Tb}var d=this.ib*this.mf,c=.5*this.td-this.Ha*this.Gb*d,f=.5*this.Ad-this.Ka*this.Tb*d,l=this.td*this.ug,p=function(n,r){return Math.round(n*Math.pow(10,r))*Math.pow(10,-r)},q={};q.width=p(this.td,0)+"px";q.height=p(this.Ad,0)+"px";q.transform=this.Bta?"translate3d("+p(l,2)+"px, 0px, 0px)":"translate("+p(l,2)+"px, 0px)";
q["-moz-transform"]=q["-webkit-transform"]=q["-ms-transform"]=q.transform;q["z-index"]=this.gba;0==this.Fn?q.display="none":(q.display="block",1==this.Fn?(q.filter=q["-ms-filter"]="",q.opacity=""):(q.filter=q["-ms-filter"]="alpha(opacity="+Math.round(100*this.Fn)+")",q.opacity=this.Fn));l=[];this.Bta?(l.push("translate3d("+p(c,2)+"px, "+p(f,2)+"px, 0px)"),l.push("scale3d("+d+", "+d+", "+d+")"),this.LS&&(l.push("translate3d("+this.Gb+"px, 0, 0)"),l.push("scale3d(-1, 1, 1)"))):(l.push("translate("+
p(c,2)+"px, "+p(f,2)+"px)"),l.push("scale("+d+", "+d+")"),this.LS&&(l.push("translate("+this.Gb+"px, 0)"),l.push("scale(-1, 1)")));d={};d["-moz-transform"]=d["-webkit-transform"]=d["-ms-transform"]=d.transform=l.join(" ");m.isEqual(this.Uja,q)||(this.Uja=q,this.fR.css(q));m.isEqual(this.Cla,d)||(this.Cla=d,this.w1.css(d))}};return e});
define("hW","require jquery.mod eg lo oH hT ll hB bc e".split(" "),function(a){var e=a("jquery.mod"),h=a("eg"),m=a("lo"),k=a("oH"),b=a("hT"),g=a("ll"),d=a("hB"),c=a("bc"),f=a("e");a=m.extend(f,function(){f.call(this);this.Be("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",c.lt);this.bind(k.kc,this.hc,this,!0);this.bind(k.kd,this.rk,this,!0);this.bind(k.sd,this.lk,this,!0);this.xC=!1;this.qc=[];this.EW=this.Ev=!1;this.k8=e("<div/>");this.k8.css({position:"absolute",left:0,top:0,right:0,
bottom:0,overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Bb().append(this.k8)});a.prototype.ln=function(l){g.ln(l,b.Xk)};a.prototype.gj=function(l){g.gj(l,b.Xk)};a.prototype.Nwa=function(l){return g.s_(l)};a.prototype.jba=function(l){l=new d(l,this);l.ND(this.Xa(),this.xb());l.setPosition(.5,.5,0,1);this.k8.append(l.Ac());this.qc.push(l);this.Ev=!0};a.prototype.removeItem=function(l){if(l=this.xp(l))this.qc=h.without(this.qc,l),l.Ac().detach(),this.Ev=!0};a.prototype.uba=function(l){if(l=
this.xp(l))this.qc=h.without(this.qc,l),this.qc.push(l),this.Ev=!0};a.prototype.gZa=function(l,p){this.xp(l).Fz(p)};a.prototype.Oq=function(l,p){this.xp(l).uf(p)};a.prototype.dZa=function(l,p){this.xp(l).qn(p)};a.prototype.aQ=function(l,p,q,n){this.xp(l).setPosition(p,q,n)};a.prototype.dP=function(l){return this.xp(l).getX()};a.prototype.eP=function(l){return this.xp(l).getY()};a.prototype.Gva=function(l){return this.xp(l).Gq()};a.prototype.cP=function(l){return this.xp(l).Xa()};a.prototype.bP=function(l){return this.xp(l).xb()};
a.prototype.render=function(){if(this.xC){this.GSa();this.iQa();for(var l=0;l<this.qc.length;l++)this.qc[l].render()}};a.prototype.GSa=function(){if(this.EW){this.EW=!1;for(var l=this.Xa(),p=this.xb(),q=0;q<this.qc.length;q++)this.qc[q].ND(l,p)}};a.prototype.iQa=function(){if(this.Ev){this.Ev=!1;for(var l=[],p=0;p<this.qc.length;p++){var q=this.qc[p],n={};n.jZ=q.qL;n.index=p;n.renderer=q;l.push(n)}l.sort(function(r,t){return r.jZ==t.jZ?r.index-t.index:r.jZ-t.jZ});for(p=0;p<l.length;p++)l[p].renderer.IYa(p+
1)}};a.prototype.xp=function(l){if(this.R0a==l)return this.Q0a;for(var p=null,q=0;q<this.qc.length&&!p;q++)this.qc[q].getItem()==l&&(p=this.qc[q]);return p};a.prototype.hc=function(){this.EW=!0;this.render()};a.prototype.rk=function(){this.xC=!0;this.render()};a.prototype.lk=function(){this.xC=!1};return a});
define("kc","require lo cy nx jD it gB nd hW ed oH".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("nx"),k=a("jD"),b=a("it"),g=a("gB"),d=a("nd"),c=a("hW"),f=a("ed"),l=a("oH");a=m.define("PhotoAlbumPlayer",b,function(){b.call(this,"photoAlbum");this.hX=this.j8=this.Rh=!1;this.L=this.j=null;this.XEa=new k(this,"buttonNext",f.Ie);this.XEa.bind(l.qa,this.koa,this);this.YEa=new k(this,"buttonPrevious",f.Ie);this.YEa.bind(l.qa,this.Doa,this);this.$d=e.Io(this.Qg,this)});a.prototype.next=function(){this.koa()};
a.prototype.pause=function(){this.gC()};a.prototype.play=function(){this.hC()};a.prototype.previous=function(){this.Doa()};a.prototype.stop=function(){this.qy()};a.prototype.restart=function(){this.ny()};a.prototype.set=function(p,q){if(this.get(p)!=q){switch(p){case "photoAlbum":this.j8=!0;this.$d();break;case "viewerArea":this.Rh=!0;this.$d();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.hX=!0,this.$d()}b.prototype.set.call(this,
p,q)}};a.prototype.Qg=function(){this.Rh&&(this.Rh=!1,this.hX=!0,this.bu(),this.get("viewerArea")&&this.Zt(),this.vN(this.get("viewerArea")));this.j&&this.j8&&(this.j8=!1,this.get("photoAlbum")?(this.EI(),this.L.wZa(this.get("photoAlbum"))):this.L.cw());this.hX&&(this.hX=!1,this.vta())};a.prototype.eH=function(){this.set("photoAlbum",null)};a.prototype.Zt=function(){var p=this.get("viewerArea");this.j=new c;this.j.ja({left:0,top:0,bottom:0,right:0});p.Wa(this.j);this.L=new g(p,this.j);this.vta();
this.L.bind(g.Ro,this.Xn,this);this.L.bind(g.Qo,this.Op,this);this.L.bind(g.u0,this.lM,this);this.L.bind(g.v0,this.roa,this);this.L.bind(g.w0,this.soa,this);this.L.bind(g.Ec,this.We,this);this.Ly(!0)};a.prototype.bu=function(){this.j&&(this.L.unbind(g.Ro,this.Xn,this),this.L.unbind(g.Qo,this.Op,this),this.L.unbind(g.u0,this.lM,this),this.L.unbind(g.v0,this.roa,this),this.L.unbind(g.w0,this.soa,this),this.L.unbind(g.Ec,this.We,this),this.L.clear(),this.j.getParent().removeChild(this.j),this.j=null,
this.Ly(!1))};a.prototype.vta=function(){var p=this.get("viewerArea");p&&this.L&&(p.Qn?this.L.i_(this.get("touchTransition",d.xn),this.get("touchTransitionDuration",p.get("transitionDuration",1E3))):this.L.i_(this.get("mouseTransition",d.xn),this.get("mouseTransitionDuration",p.get("transitionDuration",1E3))))};a.prototype.We=function(p){this.zc(p.data.state)};a.prototype.Xn=function(p){this.CL(p.data.photoAlbum)};a.prototype.Op=function(p){this.BL(p.data.photoAlbum)};a.prototype.lM=function(p){p.data.photoAlbum.trigger(new h(l.sb))};
a.prototype.roa=function(p){p.data.item.dz()};a.prototype.soa=function(p){p.data.item.end()};a.prototype.li=function(p){this.j.getParent().ja({progressPercent:p.data.percent,progressVisible:!0})};a.prototype.iG=function(){this.j.getParent().set("progressVisible",!1)};a.prototype.koa=function(){this.L&&this.get("photoAlbum")&&this.L.next()};a.prototype.Doa=function(){this.L&&this.get("photoAlbum")&&this.L.lda()};a.prototype.uk=function(){this.L&&this.get("photoAlbum")&&this.L.play()};a.prototype.qo=
function(){this.L&&this.get("photoAlbum")&&this.L.stop()};a.prototype.Vp=function(){this.L&&this.get("photoAlbum")&&this.L.pause()};return a});
define("gT",["require","nx","da","ih"],function(a){var e=a("nx"),h=a("da"),m=a("ih");a=e.define("PhotoAlbumPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(h.Wg,this.Xn,this),k.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(h.Wg,this.Xn,this),k.get("photoAlbum")==this.get("media")&&k.set("photoAlbum",null));m.prototype.stop.call(this)};a.prototype.VI=function(){var k=
this.get("media");if(k){var b=k.get("playList");b&&(k=b.get("selectedIndex"),b=b.get("items"),0<=k&&b&&b[k].VI())}m.prototype.VI.call(this)};a.prototype.Xn=function(){this.get("player").unbind(h.Wg,this.Xn,this);this.get("player").bind(h.fm,this.Op,this);this.dz()};a.prototype.Op=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.fm,this.Op,this),this.stop(),this.end())};return a});
define("lC",["require","hT","nx","iO"],function(a){var e=a("hT"),h=a("nx"),m=a("iO");return h.define("PhotoAudio",m,function(){m.call(this,e.oCa)})});define("no",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PhotoCamera",e,function(){e.call(this)})});
define("eO","require eg lP cy nx jo oH".split(" "),function(a){var e=a("eg"),h=a("lP"),m=a("cy"),k=a("nx"),b=a("jo"),g=a("oH");a=k.define("PlayList",h,function(){h.call(this);this.nf=-1;this.ae=[];this.SM=this.jk=this.Ne=void 0});a.prototype.set=function(d,c){"selectedIndex"==d?this.KPa(c):"items"==d?this.vPa(c):h.prototype.set.call(this,d,c)};a.prototype.get=function(d,c){return"selectedIndex"==d?this.nf:"items"==d?this.ae:h.prototype.get.call(this,d,c)};a.prototype.dispose=function(){this.Ne&&(this.Ne.unbind(g.Tq,
this.pM,this),this.Ne.unbind(g.Kf,this.Or,this),this.Ne.unbind(g.sb,this.Or,this),this.Ne=null)};a.prototype.vPa=function(d){d=d||[];if(!e.isEqual(this.ae,d)){var c=this.nf;this.ae=d;d=this.zqa(this.nf);this.trigger(new m(g.JQ,{nextSelectedIndex:d}));this.nf=d;this.ora(this.Gx(this.nf));this.lta();this.trigger(new m(g.pa,{previousSelectedIndex:c}));h.prototype.set.call(this,"items",this.ae);h.prototype.set.call(this,"selectedIndex",this.nf)}};a.prototype.KPa=function(d){d=this.zqa(d);if(this.nf!=
d){var c=this.nf;this.trigger(new m(g.JQ,{nextSelectedIndex:d}));this.nf=d;this.ora(this.Gx(this.nf));this.lta();this.trigger(new m(g.pa,{previousSelectedIndex:c}));h.prototype.set.call(this,"selectedIndex",this.nf)}};a.prototype.zqa=function(d){return Math.max(-1,Math.min(this.ae.length-1,d))};a.prototype.Gx=function(d){return 0<=d?this.ae[d]:null};a.prototype.ora=function(d){this.Ne==d&&void 0===this.jk||this.jk===d||(void 0===this.jk?(this.jk=d,this.Ne?this.jk&&this.Ne.get("player")==this.jk.get("player")?
(this.Ne.VI(),this.Or()):this.cLa(this.Ne,this.jk)?(d=this.Ne,d.VI(),this.Or(),d.GAa()):(this.$la(this.Ne,this.jk)&&this.Ne.get("media").get("modelLocations",[]).forEach(function(c){var f=!(c.get("model")!=this.jk.get("media")||!c.get("forceModelLoading"));c.set("preferred",f)}.bind(this)),this.Ne.stop()):this.Or()):this.jk=d)};a.prototype.cLa=function(d,c){return this.Zla(c,d)};a.prototype.$la=function(d,c){return this.Zla(d,c)};a.prototype.Zla=function(d,c){return c&&k.Na("Model3DPlayListItem",
c)&&d&&k.Na("PanoramaPlayListItem",d)&&d.get("player")&&d.get("player").get("model3DPlayer")==c.get("player")&&d.get("media").get("modelLocations",[]).find(function(f){return f.get("model")==c.get("media")&&(c.get("media").get("isLoaded")||f.get("forceModelLoading"))})};a.prototype.Or=function(){this.Ne&&(this.Ne.unbind(g.Tq,this.pM,this),this.Ne.unbind(g.Kf,this.Or,this),this.Ne.unbind(g.sb,this.Or,this));this.jk?(this.$la(this.Ne,this.jk)&&this.Ne.get("player").bind(g.p1,this.sy,this,!0),this.Ne=
this.jk,this.jk=void 0,this.Ne.bind(g.Tq,this.pM,this),this.Ne.bind(g.Kf,this.Or,this),this.Ne.start()):(this.jk=this.Ne=void 0,this.set("selectedIndex",-1))};a.prototype.sy=function(d){d.source.unbind(g.p1,this.sy,this);this.pM();this.Ne.FAa()};a.prototype.pM=function(){this.Ne.unbind(g.Tq,this.pM,this);this.Ne.unbind(g.Kf,this.Or,this);this.Ne.bind(g.sb,this.Or,this)};a.prototype.lta=function(){this.SM&&b.tZ(this.SM.get("media"),-1);(this.SM=this.ae&&0<=this.nf?this.ae[(this.nf+1)%this.ae.length]:
null)&&b.tZ(this.SM.get("media"),1)};return a});define("km",["require","nx","eO"],function(a){var e=a("nx"),h=a("eO");return e.define("PhotoPlayList",h,function(){h.call(this)})});define("kD",["require","nx","ih"],function(a){var e=a("nx"),h=a("ih");return e.define("PhotoPlayListItem",h,function(){h.call(this)})});define("ey",["require","gn","nx"],function(a){var e=a("gn");return a("nx").define("PlaybackBar",e,function(){e.call(this)})});
define("mW",["require"],function(){function a(m){try{for(var k=(h.zP<<12)+h.BP&65535,b="",g=0,d=m.length;g<d;){var c=e.indexOf(m.charAt(g++))<<12|e.indexOf(m.charAt(g++))<<6|e.indexOf(m.charAt(g++))<<0;c=c-k+65536&65535;b+=String.fromCharCode(c)}return b}catch(f){if("{%"==m.substr(0,2))return""}}var e="";[[65,26],[97,26],[48,10]].forEach(function(m){for(var k=0;k<m[1];k++)e+=String.fromCharCode(m[0]+k)});e+="+/";var h={tUa:"false"};h.zP=parseInt("0")||
0;h.BP=parseInt("1892")||1;h.v_a="false";h.name=a("AfRAfJAfIAfNAfFAfLAfQAfTAfGAfJAeEAerAfRAfGAes");h.YAa=a("AfMAfYAfYAfUAeeAeTAeTAfRAfJAfIAfNAfFAfLAfQAfTAfGAfJAeSAfSAfJAfYAeT");return h});define("in",["require"],function(){return{Pa:"left",hb:"right",uc:"top",pc:"bottom"}});
define("dq",["require","lo","es","W","in"],function(a){var e=a("lo"),h=a("es");a("W");a("in");a=e.extend(h,function(){h.call(this)});a.prototype.LK=function(){return 0};a.prototype.MK=function(){return 0};a.prototype.aH=function(){h.prototype.aH.call(this);this.Ax(function(m){m.wf(!0)})};a.prototype.nv=function(){h.prototype.nv.call(this);this.Ax(function(m){m.gQ(this.LK(m,this.Qk()));m.hQ(this.MK(m,this.Qk()))})};a.prototype.ZG=function(){this.Ax(function(m){m.gQ(this.LK(m,1));m.hQ(this.MK(m,1))});
h.prototype.ZG.call(this)};a.prototype.$G=function(){this.Ax(function(m){m.gQ(this.LK(m,0));m.hQ(this.MK(m,0))});h.prototype.$G.call(this)};return a});
define("nn",["require","lo","dq","in"],function(a){var e=a("lo"),h=a("dq"),m=a("in");a=e.extend(h,function(){h.call(this)});a.prototype.LK=function(k,b){switch(this.get("from")){case m.uc:case m.pc:return 0;case m.Pa:var g=k.Ha;k=k.Xa();return isNaN(k)||isNaN(g)?1E4:(-g-k)*(1-b);default:g=k.getParent();if(!g)return 0;var d=g.rf();g=k.Ha;return isNaN(g)||isNaN(d)?1E4:(d-g)*(1-b)}};a.prototype.MK=function(k,b){switch(this.get("from")){case m.uc:var g=k.Ka;k=k.xb();return isNaN(k)||isNaN(g)?1E4:(-g-
k)*(1-b);case m.pc:g=k.getParent();if(!g)return 0;var d=g.qf();g=k.Ka;return isNaN(g)||isNaN(d)?1E4:(d-g)*(1-b);default:return 0}};a.prototype.$G=function(){this.Ax(function(k){k.gQ(0);k.hQ(0);k.wf(!1)})};return a});
define("hz",["require","lo","dq","W","in"],function(a){var e=a("lo"),h=a("dq");a("W");var m=a("in");a=e.extend(h,function(){h.call(this)});a.prototype.LK=function(k,b){switch(this.get("to")){case m.uc:case m.pc:return 0;case m.Pa:var g=k.Ha;k=k.Xa();return isNaN(k)||isNaN(g)?1E4:(-g-k)*b;default:g=k.getParent();if(!g)return 0;var d=g.rf();g=k.Ha;return isNaN(g)||isNaN(d)?1E4:(d-g)*b}};a.prototype.MK=function(k,b){switch(this.get("to")){case m.uc:var g=k.Ka;k=k.xb();return isNaN(k)||isNaN(g)?1E4:(-g-
k)*b;case m.pc:g=k.getParent();if(!g)return 0;var d=g.qf();g=k.Ka;return isNaN(g)||isNaN(d)?1E4:(d-g)*b;default:return 0}};a.prototype.ZG=function(){this.Ax(function(k){k.gQ(0);k.hQ(0);k.wf(!1)})};return a});
define("H","require jquery.mod lo oH oF v fO mQ cN d oc nn hz ke".split(" "),function(a){function e(v){try{return window.localStorage.getItem(v)}catch(w){}}var h=a("jquery.mod"),m=a("lo"),k=a("oH"),b=a("oF"),g=a("v"),d=a("fO"),c=a("mQ"),f=a("cN"),l=a("d"),p=a("oc"),q=a("nn"),n=a("hz"),r=a("ke");a=m.extend(p,function(v){p.call(this);this.mc=v;this.Ji=this.IA=this.$w=this.Ll=null;v=new q;v.set("duration",500);v.set("from","bottom");v=new n;v.set("duration",500);v.set("to","bottom");this.ja({creationPolicy:f.kA,
verticalAlign:c.he,horizontalAlign:c.Ge,visible:!1,showEffect:this.f1a,hideEffect:this.g1a});this.u$="";v=this.GJa();!0===v?setTimeout(function(){this.trigger(k.jE)}.bind(this),0):void 0===v&&(this.mc.bind(k.G("cookiesPolicy"),this.Yia,this),setTimeout(function(){this.Yia()}.bind(this),0))});a.prototype.Ab=function(){p.prototype.Ab.call(this);this.ja({backgroundColor:"#1a1a1a",width:"100%",left:0,bottom:0});null==this.Ll&&(this.Ll=new r,this.Ll.ja({content:this.u$,fontColor:"#ffffff",fontWeight:"400",
fontFamily:"Open Sans, Arial, sans-serif",width:"100%"}),this.Wa(this.Ll));null==this.$w&&(this.$w=new p,this.Wa(this.$w),this.$w.ja({creationPolicy:f.kA,verticalAlign:c.he,layout:l.Dg}));null==this.IA&&(this.IA=new d,this.IA.ja({backgroundColor:"#2aabe2",fontColor:"#ffffff",fontFamily:"Open Sans, Arial, sans-serif",label:b("accept").toUpperCase(),verticalAlign:"middle"}),this.$w.Wa(this.IA),this.IA.bind(k.qa,this.OEa,this,!0));null==this.OE&&(this.OE=new d,this.OE.ja({backgroundColor:"#1a1a1a",fontColor:"#808080",
fontFamily:"Open Sans, Arial, sans-serif",label:b("reject").toUpperCase(),textDecoration:"underline",verticalAlign:"middle"}),this.$w.Wa(this.OE),this.OE.bind(k.qa,this.$Ea,this,!0))};a.prototype.cs=function(){p.prototype.cs.apply(this,arguments);var v=this.Jb();v&&(v.bind(k.kc,this.Nl,this,!0),this.Nl())};a.prototype.Nl=function(){var v=this.Jb();if(v){var w=g.kb(),x=v.xb()>v.Xa(),y=Math.min(v.Xa(),v.xb())/100;v=function(A){return Math.round(A*y)};this.ja({gap:w?v(4.63):20,paddingLeft:w?v(4.63):
20,paddingRight:w?v(4.63):20,paddingTop:w?v(4.63):14,paddingBottom:w?v(4.63):14,layout:w&&x?l.uh:l.Dg});this.Ll&&this.Ll.ja({fontSize:w?v(3.15):14,textAlign:w&&x?"center":"left"});this.$w&&this.$w.ja({gap:w?0:13});this.IA&&this.IA.ja({borderRadius:w?v(4.63):15,fontSize:w?v(3.15):14,height:w?v(9.26):30,paddingLeft:w?v(6):20,paddingRight:w?v(6):20});this.OE&&this.OE.ja({borderRadius:w?v(4.63):15,fontSize:w?v(3.15):14,height:w?v(9.26):30,paddingLeft:w?v(6):20,paddingRight:w?v(6):20});this.Hd()}};a.prototype.Yia=
function(){var v=m.toArray(this.mc.get("cookiesPolicy"));this.OM!=v&&(this.OM=v,this.BOa())};a.prototype.BOa=function(){if(0==this.OM.length)this.K9(null);else{var v=this.OM[0];0==m.toArray(v.get("geographicArea")).length?this.K9(v):this.ZIa(function(w){for(var x=null,y=0;y<this.OM.length&&!x;y++){var A=this.OM[y],B=m.toArray(A.get("geographicArea"));if(0==B.length)x=A;else for(var z=0;z<B.length&&!x;z++)0<=w.indexOf(B[z])&&(x=A)}this.K9(x)}.bind(this))}};a.prototype.K9=function(v){this.AG!==v&&(this.AG&&
this.AG.unbind(k.G("url"),this.zaa,this),(this.AG=v)?(this.AG.bind(k.G("url"),this.zaa,this),this.zaa(),this.set("visible",!0)):(this.trigger(k.jE),this.set("visible",!1)))};a.prototype.zaa=function(){var v=h(document.createElement("div")).html(b("cookies-notice"));v.find("a").css({color:"#2aabe2",cursor:"pointer","text-decoration":"underline"}).attr({href:this.AG.get("url"),target:"_blank"});this.u$=v.html();this.Ll&&this.Ll.set("content",this.u$)};a.prototype.OEa=function(){this.qra(!0);this.set("visible",
!1);this.trigger(k.jE)};a.prototype.$Ea=function(){this.qra(!1);this.set("visible",!1)};var t="AT BE BG CY CZ DE DK EE EL ES FI FR HR HU IE IT LT LU LV MT NL PL PT RO SE SI SK".split(" ");a.prototype.ZIa=function(v){this.MIa(function(w){var x=[w];t.indexOf(w)&&x.push("EU");v(x)})};a.prototype.MIa=function(v){var w=e("tdvp_country_code");w?v(w):this.bka||(this.bka=!0,h.get("https://geoloc.3dvista.com",function(x){this.bka=!1;x=x.country.toUpperCase();try{window.localStorage.setItem("tdvp_country_code",
x)}catch(y){}v(x)}.bind(this)))};var u="tdvp_accept_cookies_"+window.location.origin+window.location.pathname;a.prototype.GJa=function(){var v=e(u);if("yes"==v)return!0;if("no"==v)return!1};a.prototype.qra=function(v){try{window.localStorage.setItem(u,v?"yes":"no")}catch(w){}};return a});
define("mb",["require"],function(){function a(w){var x=w instanceof Request||w instanceof Response?w.url:w;x&&(x=x.split("#")[0]);x&&(x=x.split("?")[0]);return x&&-1==x.indexOf("://")?("undefined"!==typeof window?Promise.resolve(window.location.href):self.clients.matchAll({type:"window"}).then(function(y){if(y.length)return y[0].url})).then(function(y){return(new window.URL(x,y)).toString()}):Promise.resolve(x)}function e(w,x){return new Promise(function(y,A){(void 0===x?k():Promise.resolve(x)).then(function(B){(window.webkitRequestFileSystem||
window.requestFileSystem)(B?window.PERSISTENT:window.TEMPORARY,w,function(z){y(z)},function(z){console.log("Error getting file system access",z);A("error getting file system")})},function(B){console.log("error getting file system access",B);A("error getting file system")})})}function h(w,x){return w&&w.queryUsageAndQuota?new Promise(function(y,A){w.queryUsageAndQuota(function(B,z){console.log("UsedBytes:",B,"grantedBytes:",z,"freeBytesRequired:",x);var C=B+x;z>=C?y(C):w==navigator.webkitPersistentStorage||
w==navigator.persistentStorage?(console.log("requestQuota:",C),w.requestQuota(C,function(){console.log("Granted bytes:",C);y(C)},function(H){console.log("Not granted bytes:",C,H);A("not enough free space granted")})):(console.log("Not enough temporary free space."),A("not enough free space granted"))},function(B){console.log("Query quota error:",B);B&&B.message&&(B=B.message);A("not enough free space granted: "+B)})}):Promise.reject("unknown free space")}function m(){return(navigator.storage&&navigator.storage.persist?
navigator.storage.persist():Promise.resolve(!1)).then(function(w){console.log("Persistence granted:",w);return w?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function k(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(!1)}function b(){return v?Promise.resolve(v):Promise.reject("files uninitialized, no space was requested")}function g(w){w.length&&"/"==w[0]&&(w=w.substr(1));
return w.split("/").filter(function(x){return""!=x})}function d(w){return new Promise(function(x,y){w.remove(function(){x()},function(A){y("can't remove entry"+(A&&A.message?": "+A.message:"")+".")})})}function c(w){return f(w).then(function(x){return Promise.all(x.map(function(y){return y.isDirectory?c(y):d(y)}))}).then(function(){return d(w).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function f(w){return new Promise(function(x,y){w.createReader().readEntries(function(A){x(A)},
function(){y("can't list directory")})})}function l(w,x,y){return new Promise(function(A,B){w.getDirectory(x,y,function(z){A(z)},function(){B("can't get directory entry: "+x)})})}function p(w,x){return new Promise(function(y,A){l(w,x,{create:!1}).then(function(B){y(B)})["catch"](function(){l(w,x,{create:!0}).then(function(B){y(B)})["catch"](function(B){console.log("Can't create directory entry: "+x,B);A("can't create directory entry: "+x)})})})}function q(w,x){return 0==x.length?w:p(w,x[0]).then(function(y){return q(y,
x.slice(1))})}function n(w,x){return 0==x.length?w:l(w,x[0]).then(function(y){return n(y,x.slice(1))})}function r(w,x,y){return new Promise(function(A,B){w.getFile(x,y,function(z){A(z)},function(){B("can't get file entry: "+x)})})}function t(w){return new Promise(function(x,y){w.createWriter(function(A){x(A)},function(){y("can't create File for writing")})})}function u(w){var x=w.lastIndexOf(".");switch((0>x?"":w.substr(x)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
case ".gif":return"image/gif";case ".glb":return"model/gltf-binary";case ".htm":case ".html":return"text/html";case ".jpeg":case ".jpg":return"image/jpeg";case ".js":return"text/javascript";case ".json":return"application/json";case ".m3u8":return"application/vnd.apple.mpegurl";case ".m4a":return"audio/mp4";case ".m4v":return"video/mp4";case ".mp3":return"audio/mpeg";case ".mp4":return"video/mp4";case ".ogg":return"audio/ogg";case ".ogv":return"video/ogg";case ".otf":return"font/otf";case ".png":return"image/png";
case ".svg":return"image/svg+xml";case ".tif":return"image/tiff";case ".tiff":return"image/tiff";case ".ts":return"video/vnd.dlna.mpeg-tts";case ".ttf":return"application/font-sfnt";case ".tts":return"video/vnd.dlna.mpeg-tts";case ".txt":return"text/plain";case ".webm":return"video/webm";case ".woff":return"font/x-woff";case ".woff2":return"font/woff2";case ".xml":return"text/xml";default:return"application/octet-stream"}}var v=null;return{NZ:function(){return k()},toURL:function(w,x){return a(w).then(function(y){y=
new window.URL(y);var A=x?"persistent":"temporary",B=y.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+y.origin+"/"+A+B})},fYa:function(w){return m().then(function(x){return h(x,w)}).then(function(x){return e(x)}).then(function(x){v=x})},WXa:function(w){w=g(w);var x=w[w.length-1],y=w.slice(0,-1);return b().then(function(A){return n(A.root,y)}).then(function(A){return r(A,x,{create:!0})},function(){return Promise.resolve(null)}).then(function(A){return A&&d(A)})},Zya:function(w,
x){var y=g(w);return e(1024,x).then(function(A){return n(A.root,y)}).then(function(A){return c(A)},function(){return Promise.resolve()})},ZAa:function(w,x,y){var A=g(w),B=A[A.length-1],z=A.slice(0,-1);return b().then(function(C){return q(C.root,z)}).then(function(C){return r(C,B,{create:!1}).then(function(H){return Promise.resolve(H)},function(){return r(C,B,{create:!0})})}).then(function(C){return t(C)}).then(function(C){C.seek(C.length);return new Promise(function(H,D){C.onwriteend=function(){H()};
C.onerror=function(I){console.log("Error writing file:",w,I);D("error writing file: "+w)};C.write(new Blob([x],{type:y||u(B)}))})})}}});
define("cw",["require","mb","mj","v"],function(a){function e(c,f){this.Xr=c;this.bx=!1;this.eo=null;this.Su=f||function(){}}function h(c){return 1048576<=c.ZD}var m=a("mb"),k=a("mj"),b=a("v").Rf()?3:5;a={File:function(c,f){this.url=c;this.ZD=f;this.SP=this.OH=0}};var g=a.Files=function(c,f,l,p){this.lia=this.zEa=c;this.Rr=f.slice();this.aka=[];var q=0;this.Rr.sort(function(n,r){return n.ZD-r.ZD});this.Rr.forEach(function(n){q+=n.ZD});this.qsa=q;this.dB=[];this.LR=void 0;this.zr=[];this.M2=!1;this.Yf=
l||function(){};this.uK=p||function(){}};g.prototype.zs=function(){return this.yFa().then(function(){return this.zFa()}.bind(this))};g.prototype.yFa=function(){return self.caches["delete"](this.lia)};g.prototype.zFa=function(){var c=(new window.URL(this.zEa)).pathname;return m.Zya(c,!1).then(function(){return m.Zya(c,!0)})};g.prototype.requestStorage=function(){return m.fYa(Math.round(1.1*this.qsa+10485760)).then(function(){return m.NZ()})};g.prototype.download=function(){this.M2=!1;this.LR=0;this.zs().then(function(){this.qK()}.bind(this))["catch"](function(c){console.log("error cleaning storage",
c);m.NZ().then(function(f){this.uK(!1,f)}.bind(this))}.bind(this))};g.prototype.cancelDownload=function(){this.M2=!0;this.zr.forEach(function(c){c.cancel()});this.zs()};g.prototype.qK=function(){if(!(this.M2||this.zr.length>=b))if(0<this.Rr.length){if(1==b)var c=.5<Math.random()?this.Rr.shift():this.Rr.pop();else if(0==this.dB.filter(h).length)c=this.Rr.pop();else{if(h(this.Rr[0]))return;c=this.Rr.shift()}this.dB.push(c);var f=k.cz(c.url,"nc="+(new Date).getTime()),l=new e(f,function(q){c.OH=q.OH;
this.Fj()}.bind(this));this.zr.push(l);l.fetch().then(function(q){return this.IQa(c.url,q)}.bind(this)).then(function(){this.Ija(c,l,!0)}.bind(this))["catch"](function(q){console.log("download error",c.url,c.ZD,c.OH,q);this.Ija(c,l,!1)}.bind(this));this.qK()}else if(0==this.zr.length){var p=5>=this.aka.length;m.NZ().then(function(q){this.uK(p,q)}.bind(this))}};g.prototype.Ija=function(c,f,l){l?(this.dB.splice(this.dB.indexOf(c),1),this.zr.splice(this.zr.indexOf(f),1),this.LR+=c.ZD,this.Fj(),this.qK()):
(c.OH=0,c.SP+=1,this.Fj(),20<=c.SP?(console.log("Error downloading file: "+c.url+" after "+c.SP+" retries."),this.Tla(c.url)?(this.aka.push(c),this.zr.splice(this.zr.indexOf(f),1),this.qK()):(this.cancelDownload(),m.NZ().then(function(p){this.uK(!1,p)}.bind(this)))):(console.log("Error downloading file: "+c.url+" attempt "+c.SP+" of 20. Will retry in 2000ms."),setTimeout(function(){this.dB.splice(this.dB.indexOf(c),1);this.zr.splice(this.zr.indexOf(f),1);h(c)?this.Rr.push(c):this.Rr.splice(0,0,c);
this.qK()}.bind(this),2E3)))};g.prototype.IQa=function(c,f){return this.KQa(c,f).then(function(){if(this.ZSa(c))return this.JQa(c,f)}.bind(this))};g.prototype.JQa=function(c,f){f=f.clone();return 200!=f.status?Promise.reject("response status: "+f.status):self.caches.open(this.lia).then(function(l){return l.put(c,f)})};g.prototype.KQa=function(c,f){f=f.clone();if(200!=f.status)return Promise.reject("response status: "+f.status);var l=(new window.URL(c)).pathname;return l.lastIndexOf("/")==l.length-
1?Promise.resolve():new Promise(function(p,q){function n(){x.read().then(function(y){var A=y.value,B=[];if(A){for(;10485760<=A.length+w;){var z=A.slice(0,10485760-w);v.push(z);B.push(r(v));v=[];w=0;A=A.slice(z.length,A.length)}0<A.length&&(v.push(A),w+=A.length)}var C=y.done;w&&C&&B.push(r(v));t(B).then(function(){C?p():n()})["catch"](u)})["catch"](u)}function r(y){if(0==y.length)return new Uint8Array(0);var A=0;y.forEach(function(H){A+=H.length});for(var B=new Uint8Array(A),z=0,C=0;C<y.length;z+=
y[C].length,C++)B.set(y[C],z);return B}function t(y){if(0==y.length)return Promise.resolve();var A=y.shift();return m.ZAa(l,A).then(function(){t(y)})}function u(y){console.log("Error writing response to file system:",y);m.WXa(l).then(function(){q("Error reading response body")})}var v=[],w=0,x=f.body.getReader();n()})};var d=".bmp .gif .glb .jpeg .jpg .m3u8 .m4a .m4v .mp3 .mp4 .ogg .ogv .otf .png .svg .tif .tiff .ts .tts .webm .woff .woff2".split(" ");g.prototype.Tla=function(c){c=(new window.URL(c)).pathname;
var f="."+c.split(".").pop().toLowerCase();return 0<=d.indexOf(f)&&0>c.indexOf("loading/")};g.prototype.ZSa=function(c){var f=(new window.URL(c)).pathname;return 0<=f.indexOf("files/")||0<=f.indexOf("pdfjs/")?!0:this.Tla(c)?!1:!0};g.prototype.Fj=function(){var c=this.LR;this.dB.forEach(function(f){c+=f.OH});this.Yf(100*c/this.qsa)};e.prototype.fetch=function(){return fetch(this.Xr).then(function(c){if(this.bx)return c.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");
if(!c.ok)return Promise.resolve(c);var f=c.headers.get("content-length"),l=void 0,p=0;null!==f&&(l=parseInt(f,10));this.eo=c.body.getReader();var q=!1,n=function(u){this.bx?u.close():q=!0}.bind(this),r=function(u){return this.eo.read().then(function(v){var w=v.value;w&&(p+=w.byteLength,u.enqueue(w));v.done&&(l=p,t(u));this.Su({ZD:l,OH:p})}.bind(this))["catch"](function(v){console.log("Error reading response",v);u.error(v)}.bind(this))}.bind(this),t=function(u){q&&(u.close(),q=!1,this.eo=null)}.bind(this);
return new Response(new ReadableStream({start:function(u){return n(u)},pull:function(u){return r(u)},cancel:function(){t()}}))}.bind(this))};e.prototype.cancel=function(){this.bx=!0;this.eo&&this.eo.cancel()};a.zs=function(c){return(new g(c,[])).zs()};return a});
define("eR","require lo jquery.mod oH gi v cw mb mv mj lp ds".split(" "),function(a){function e(u){n=u}var h=a("lo"),m=a("jquery.mod"),k=a("oH"),b=a("gi"),g=a("v"),d=a("cw"),c=a("mb"),f=a("mv"),l=a("mj"),p=a("lp"),q=a("ds"),n=null;window.addEventListener("beforeinstallprompt",e);var r=h.extend(b,function(u){b.call(this);this.mc=u;this.A="initial";this.y9=this.yW=this.rj=null;this.cq=!1;this.nB=null;this.CX=void 0;this.bB=n;this.TT=r.Ywa();this.J6=l.cj("vr");this.bB||this.TT||(window.removeEventListener("beforeinstallprompt",
e),window.addEventListener("beforeinstallprompt",this.WLa.bind(this)));this.TT||window.addEventListener("appinstalled",this.UDa.bind(this))});r.prototype.gea=function(u){this.yW=u;this.qm=l.nw(this.yW.get(TDV.PlayerSettings.BASE_DIR_URL)||l.getDirectory(this.yW.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));"/"!=this.qm[this.qm.length-1]&&(this.qm+="/");this.rj=new t(this.qm);this.CX=this.Xpa=u.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.rKa=l.parse(l.getDirectory(window.location.href)).pathname;
this.UHa=l.cz(l.nw("files.json",this.qm),this.Xpa);u=TDV.pb.$va();this.y9=l.cz(this.yW.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+u.MAJOR+"."+u.MINOR);this.rj=new t(this.qm);this.rj.bind(k.Z,this.aRa,this,!0);this.rj.load()};r.prototype.pI=function(){return this.rj.state==t.eJ};r.prototype.zua=function(){return"can_install"==this.A&&!this.J6};r.prototype.Bua=function(){return this.pI()&&this.CX!=this.rj.version&&!this.J6};r.prototype.yua=function(){return this.rj.state!=t.Yea&&!this.J6};r.prototype.Gwa=
function(){"can_install"==this.A&&(this.bB?(this.bB.userChoice.then(function(u){"accepted"!=u.outcome&&this.zc("unavailable")}.bind(this)),this.bB.prompt().then(function(){this.bB=null}.bind(this))):this.f4())};r.prototype.cancel=function(){"downloading"==this.A&&(this.nB&&(this.nB.cancelDownload(),this.nB=null),this.rj.zs(),this.zc("unavailable"))};r.prototype.zs=function(){d.zs(this.qm);this.rj.zs()};r.prototype.aRa=function(){!0!==this.mc.get("downloadEnabled")?this.zc("unavailable"):!0!==f.oBa?
this.zc("unavailable"):g.browser()!=g.Uk||g.hd()==g.Pz||g.hd()==g.fE?this.zc("unavailable"):this.y9?"serviceWorker"in navigator?this.pI()&&!this.Bua()?this.zc("unavailable"):navigator.onLine?this.QNa():this.zc("unavailable"):this.zc("unavailable"):this.zc("unavailable")};r.prototype.zc=function(u){this.A!=u&&(this.A=u,u=0<=["can_install","unavailable"].indexOf(this.A),this.cq!=u&&(this.cq=u)&&this.trigger(k.Vc))};r.prototype.QNa=function(){this.zc("registering_sw");navigator.serviceWorker.register(this.y9,
{scope:this.rKa}).then(function(){this.Oqa(!0)}.bind(this))["catch"](function(){this.Oqa(!1)}.bind(this))};r.prototype.Oqa=function(u){u?g.Rf()?this.zc("can_install"):this.TT&&this.rj.state==t.V_?(this.zc("can_install"),this.f4()):this.bB?this.zc("can_install"):(this.zc("sw_registered"),setTimeout(function(){"sw_registered"==this.A&&this.zc("can_install")}.bind(this),3E3)):this.zc("unavailable")};r.prototype.WLa=function(u){this.bB=u;"sw_registered"==this.A&&this.zc("can_install")};r.prototype.UDa=
function(){"sw_registered"==this.A&&this.zc("can_install");this.f4()};r.prototype.f4=function(){this.zc("downloading");this.trigger(k.Tq);this.Hsa(0);this.sLa()};r.prototype.sLa=function(){var u=l.cz(this.UHa,"nc="+(new Date).getTime());m.getJSON(u,function(v){if("downloading"==this.A){var w=[],x;for(x in v){var y=v[x].tags;if(y){Array.isArray(y)||(y=[y]);for(var A=0;A<y.length;A++)0>w.indexOf(y[A])&&w.push(y[A])}}var B=[];0<=w.indexOf("mobilevr2gen")&&g.bZ()?B.push("mobilevr2gen"):0<=w.indexOf("mobilevr")&&
g.Rf()?B.push("mobilevr"):0<=w.indexOf("mobile")&&g.kb()?B.push("mobile"):0<=w.indexOf("desktop")&&!g.kb()&&B.push("desktop");w=[];for(x in v)if(!(-1<x.indexOf(".DS_Store"))){if(y=v[x].tags){var z=!1;if(Array.isArray(y)){A=0;for(var C=y.length;A<C&&!z;A++)z=0<=B.indexOf(y[A])}else z=0<=B.indexOf(y);if(!z)continue}y=l.nw(x,this.qm);w.push(new d.File(y,v[x].size))}var H=(new window.URL(window.location.pathname,window.location.href)).toString();0==w.filter(function(D){return D.url==H}).length&&w.push(new d.File(H,
1024));this.nB=new d.Files(this.qm,w,this.Hsa.bind(this),this.Hja.bind(this));this.nB.requestStorage().then(function(D){this.rj.storage=D?t.rJ:t.g1;this.rj.state=t.V_;this.rj.version=this.CX;this.rj.save();this.nB.download()}.bind(this))["catch"](function(){this.Hja(!1,void 0)}.bind(this))}}.bind(this))};r.prototype.Hsa=function(u){this.trigger(new p(k.ec,u))};r.prototype.Hja=function(u,v){this.nB=null;this.zc("unavailable");u&&(this.rj.state=t.eJ,this.rj.save());u?this.trigger(k.sb,{success:!0}):
v?this.trigger(k.sb,{success:!1,error:r.afa}):g.Rf()?this.trigger(k.sb,{success:!1,error:r.$ea}):this.TT?this.trigger(k.sb,{success:!1,error:r.afa}):this.trigger(k.sb,{success:!1,error:r.bfa})};r.Ywa=function(){return l.Wh("installed",!1)};r.MXa=function(u,v){var w=new r.L0(u);w.bind(k.Z,function(){var x=!1;w.state==r.L0.eJ&&(x=r.Ywa()?!0:!navigator.onLine);x?c.toURL(u,w.storage==r.L0.rJ).then(function(y){v(y)}):v(u)},this,!0);w.load()};r.bfa="launchFromHomeScreen";r.$ea="addToBookmark";r.afa="errorDownloading";
var t=h.extend(b,function(u){b.call(this);this.qm=u;this.A6="installation_state_"+u;this.jNa=l.parse(this.qm).pathname+"installation_state.json";this.state=this.storage=this.version=void 0;this.Wqa()});t.prototype.load=function(){if(this.tLa()&&this.state==t.eJ)this.jsa(this.storage==t.rJ).then(function(){this.trigger(k.Z)}.bind(this))["catch"](function(){this.jsa(this.storage!=t.rJ).then(function(){this.storage=this.storage==t.g1?t.rJ:t.g1;this.r9();this.trigger(k.Z)}.bind(this))["catch"](function(){this.state=
t.V_;this.r9();this.trigger(k.Z)}.bind(this))}.bind(this));else this.trigger(k.Z)};t.prototype.save=function(){this.r9();this.state==t.eJ&&this.xOa()};t.prototype.tLa=function(){var u=q.getItem(this.A6);if(!u)return!1;this.mIa(u);return!0};t.prototype.r9=function(){q.setItem(this.A6,this.psa())};t.prototype.jsa=function(u){return new Promise(function(v,w){c.toURL(this.qm+"installation_state.json",u).then(function(x){m.ajax({type:"GET",url:x,success:function(){v()},error:function(){w()}})}.bind(this))}.bind(this))};
t.prototype.xOa=function(){c.ZAa(this.jNa,this.psa(),"text/json")};t.prototype.psa=function(){var u={};u.version=this.version;u.storage=this.storage;u.state=this.state;return JSON.stringify(u)};t.prototype.mIa=function(u){this.lIa(JSON.parse(u))};t.prototype.lIa=function(u){this.version=u.version;this.storage=u.storage;this.state=u.state};t.prototype.zs=function(){q.removeItem(this.A6);this.Wqa()};t.prototype.Wqa=function(){this.version="";this.storage=t.BCa;this.state=t.Yea};t.BCa="unkonwn";t.g1=
"temporary";t.rJ="persistent";t.Yea="not started";t.V_="started";t.eJ="completed";r.L0=t;return r});
define("kA","require lo oH oF v eR fO fX mQ d oc e iQ".split(" "),function(a){function e(r){var t=new d;t.ja({label:r,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:f.he});return t}var h=a("lo"),m=a("oH"),k=a("oF"),b=a("v"),g=a("eR"),d=a("fO"),c=a("fX"),f=a("mQ"),l=a("d"),p=a("oc"),q=a("e"),n=a("iQ");a=h.extend(p,function(r,t){p.call(this);this.mc=r;this.ig=t;this.ig.bind(m.Vc,
this.LKa,this,!0);this.ig.bind(m.Tq,this.IKa,this,!0);this.ig.bind(m.ec,this.KKa,this,!0);this.ig.bind(m.sb,this.JKa,this,!0);this.oa="hidden";this.vO=void 0;this.t8=!1;this.Yf=void 0;this.Ji=this.Qt=this.JA=this.NA=this.KA=this.IW=this.Ta=null;this.PDa();this.ja({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:f.he,layout:l.Dg});this.mg()});a.prototype.LKa=function(){this.ig.zua()||this.ig.pI()&&this.ig.yua()?(this.oa="ready",this.t8&&this.Pra()):
this.oa="hidden";this.mg()};a.prototype.IKa=function(){this.oa="installing";this.mg()};a.prototype.KKa=function(r){this.Yf=r.Sg;this.mg()};a.prototype.JKa=function(r){this.oa=r.data.success?"installed":"failed";this.Yja=r.data.error;this.mg()};a.prototype.kf=function(){this.HQa()};a.prototype.RU=function(){this.t8||(this.t8=!0,"ready"==this.oa&&this.Pra())};a.prototype.Pra=function(){this.vO=setTimeout(function(){this.vO=null;this.YMa()}.bind(this),5E3);this.mg()};a.prototype.HQa=function(){this.jqa();
this.vO&&clearTimeout(this.vO);this.vO=null};a.prototype.YMa=function(){this.jqa();"ready"==this.oa&&(this.oa="hidden",this.mg())};a.prototype.PDa=function(){this.bind(m.jc,this.kf,this);this.mc.bind(m.jc,this.RU,this);this.mc.bind(m.ub,this.RU,this)};a.prototype.jqa=function(){this.unbind(m.jc,this.kf,this);this.mc.unbind(m.jc,this.RU,this);this.mc.unbind(m.ub,this.RU,this)};a.prototype.Ab=function(){p.prototype.Ab.call(this);null==this.Ta&&(this.Ta=new n,this.Ta.ja({fontColor:"#ffffff",fontWeight:"400",
fontFamily:"Arial, sans-serif",fontSize:14,text:k("download-tour")}),this.Wa(this.Ta));null==this.KA&&(this.KA=e(k("download")),this.Wa(this.KA),this.KA.bind(m.qa,this.TEa,this,!0));null==this.NA&&(this.NA=e(k("refresh-downloaded")),this.Wa(this.NA),this.NA.bind(m.qa,this.ZEa,this,!0));null==this.JA&&(this.JA=e(k("delete-downloaded")),this.Wa(this.JA),this.JA.bind(m.qa,this.SEa,this,!0));null==this.IW&&(this.IW=new q,this.IW.ja({width:"100%"}),this.Wa(this.IW));null==this.Qt&&(this.Qt=new c,this.Qt.ja({backgroundColor:"#ffffff",
borderRadius:2,iconColor:"#000000",iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31}),this.Wa(this.Qt),this.Qt.bind(m.qa,this.REa,this,!0));null==this.Ji&&(this.Ji=e(k("cancel")),this.Wa(this.Ji),this.Ji.bind(m.qa,this.DR,this,!0));b.kb()&&this.Nl();this.mg()};a.prototype.gp=function(){p.prototype.gp.call(this);b.kb()&&this.getParent().bind(m.kc,this.Nl,this,!0)};a.prototype.Wm=function(){b.kb()&&this.getParent().unbind(m.kc,this.Nl,this,!0);p.prototype.Wm.call(this)};a.prototype.Nl=
function(){var r=this.getParent();if(r){var t=Math.min(r.Xa(),r.xb())/100,u=function(v){return Math.round(v*t)};this.ja({gap:u(3.9),height:u(11.9),paddingLeft:u(6),paddingRight:u(6)});this.Ta&&this.Ta.ja({fontSize:u(3)});[this.KA,this.Ji,this.NA,this.JA].forEach(function(v){v&&v.ja({borderRadius:u(.4),fontSize:u(3),paddingLeft:u(3),paddingRight:u(3),height:u(6.7)})});this.Qt&&this.Qt.ja({borderRadius:u(.4),iconLineWidth:u(.22),iconWidth:u(3.7),iconHeight:u(3.7),height:u(6.7),width:u(6.7)})}};a.prototype.mg=
function(){switch(this.oa){case "ready":var r=this.ig.pI()?k("downloaded"):k("download-tour");break;case "installing":r=k("downloading");void 0!==this.Yf&&(r+="..."+this.Yf.toFixed(1)+"%");break;case "installed":r=k("downloaded");break;case "failed":r=this.Yja==g.bfa?b.kb()?k("storage-not-provided-launch-from-homescreen"):k("storage-not-provided-launch-from-desktop"):this.Yja==g.$ea?k("storage-not-provided-bookmark"):k("download-failed")}this.Ta&&this.Ta.set("text",r);this.KA&&this.KA.set("visible",
"ready"==this.oa&&!this.ig.pI()&&this.ig.zua());this.JA&&this.JA.set("visible","ready"==this.oa&&this.ig.pI()&&this.ig.yua());this.NA&&this.NA.set("visible","ready"==this.oa&&this.ig.Bua());this.Ji&&this.Ji.set("visible","installing"==this.oa);this.Qt&&this.Qt.set("visible","installing"!=this.oa);this.set("visible","hidden"!=this.oa)};a.prototype.TEa=function(){this.ig.Gwa()};a.prototype.ZEa=function(){this.ig.Gwa()};a.prototype.SEa=function(){this.ig.zs();this.oa="hidden";this.mg()};a.prototype.DR=
function(){this.ig.cancel();this.oa="hidden";this.mg()};a.prototype.REa=function(){"installing"==this.oa&&this.ig.cancel();this.oa="hidden";this.mg()};return a});
define("nm","require lo eg oH oF v mQ d oc np nK fO iQ iJ".split(" "),function(a){function e(t,u){this.text=t;this.Ao=u}var h=a("lo"),m=a("eg"),k=a("oH"),b=a("oF"),g=a("v"),d=a("mQ"),c=a("d"),f=a("oc"),l=a("np"),p=a("nK"),q=a("fO"),n=a("iQ"),r=a("iJ");a=h.extend(f,function(){f.call(this);this.Hp=[];this.Ji=this.LA=this.Ta=this.xB=this.VG=this.zq=null;var t=new l;t.set("duration",500);t.set("easing","cubic_in");var u=new p;u.set("duration",500);u.set("easing","cubic_out");this.ja({backgroundColor:"#000000",
backgroundOpacity:.6,horizontalAlign:d.Ge,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:u,showEffect:t,visible:!1})});a.prototype.Ab=function(){f.prototype.Ab.call(this);null==this.zq&&(this.zq=new f,this.zq.ja({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:d.Ge,verticalAlign:d.he,layout:c.uh,shadow:!0,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:.2}),this.Wa(this.zq));null==this.Ta&&(this.Ta=new n,this.Ta.ja({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"}),this.zq.Wa(this.Ta));null==this.xB&&(this.xB=new r,this.xB.ja({width:"80%"}),this.zq.Wa(this.xB));null==this.VG&&(this.VG=new f,this.VG.ja({backgroundColor:"#b3b3b3"}),this.zq.Wa(this.VG));null==this.Ki&&(this.Ki=new f,this.Ki.ja({horizontalAlign:d.Ge,verticalAlign:d.he,layout:c.Dg}),this.zq.Wa(this.Ki));null==this.LA&&(this.LA=new q,this.LA.ja({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:d.Ge,verticalAlign:d.he,
label:b("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"}),this.LA.bind(k.qa,this.fia,this,!0),this.Ki.Wa(this.LA));null==this.Ji&&(this.Ji=new q,this.Ji.ja({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:d.Ge,verticalAlign:d.he,label:b("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"}),this.Ji.bind(k.qa,this.DR,this,!0),this.Ki.Wa(this.Ji))};a.prototype.gp=function(){f.prototype.gp.call(this);
this.getParent().bind(k.kc,this.Nl,this,!0)};a.prototype.Wm=function(){this.getParent().unbind(k.kc,this.Nl,this,!0);f.prototype.Wm.call(this)};a.prototype.Nl=function(){var t=this.getParent();if(t){var u=t.Xa();t=t.xb();if(g.kb()){var v=Math.min(u,t);u=function(w){return Math.round(w*v/100)}}else u=function(w){return Math.round(4*w)};this.zq&&this.zq.ja({borderRadius:u(1),width:u(80),height:u(40),gap:u(4),shadowBlurRadius:u(1),shadowSpread:u(1)});this.VG&&this.VG.ja({width:u(60),minHeight:2,height:u(.25)});
this.Ki&&this.Ki.ja({gap:u(5)});this.Ji&&this.Ji.ja({borderRadius:u(1),width:u(20),height:u(10),fontSize:u(4.25)});this.LA&&this.LA.ja({borderRadius:u(1),width:u(20),height:u(10),fontSize:u(4.5)});this.Ta&&this.Ta.ja({fontSize:u(5)});this.rX()}};a.prototype.show=function(t,u){this.Nl();var v=this.Zka(u);0<=v&&this.hqa(v);this.HNa(new e(t,u));this.LE()};a.prototype.hide=function(t){t=this.Zka(t);0<=t&&this.hqa(t)};a.prototype.LE=function(){var t=this.getParent();t&&t.pn(this,t.Kb().length-1)};a.prototype.fia=
function(){this.tR(!0)};a.prototype.DR=function(){this.tR(!1)};a.prototype.Zka=function(t){for(var u=0;u<this.Hp.length;u++)if(this.Hp[u].Ao==t)return u;return-1};a.prototype.rX=function(){if(this.zq){var t=this.nla();t?(20>t.text.length?(this.xB.set("visible",!1),this.Ta.set("text",t.text),this.Ta.set("visible",!0)):(this.Ta.set("visible",!1),this.xB.set("html",this.$Ia(t.text)),this.xB.set("visible",!0)),this.Ji.set("visible",t.Ao?!0:!1),this.set("visible",!0)):this.set("visible",!1)}};a.prototype.$Ia=
function(t){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+this.Ta.get("fontSize")+'px; text-align:center;" >'+t+"</div>"};a.prototype.tR=function(t){var u=this.nla();u&&(u=this.nJa(u.text),this.cOa(u),m(u).each(function(v){v.Ao&&v.Ao.call(this,t)},this))};a.prototype.HNa=function(t){this.Hp.push(t);this.rX()};a.prototype.nJa=function(t){return m(this.Hp).filter(function(u){return u.text==t})};a.prototype.cOa=function(t){this.Hp=m(this.Hp).filter(function(u){return!m(t).contains(u)});
this.rX()};a.prototype.hqa=function(t){this.Hp.splice(t,1);t==this.Hp.length&&this.rX()};a.prototype.nla=function(){return 0<this.Hp.length?this.Hp[this.Hp.length-1]:null};return a});
define("jd","require lo oH cy gi v mZ".split(" "),function(a){function e(F){return F.map(function(N){return String.fromCharCode(N)}).join("")}function h(F){for(;F&&F!=document;){if("Button"==F.getAttribute(r))return!0;F=F.parentNode}return!1}var m=a("lo"),k=a("oH"),b=a("cy"),g=a("gi"),d=a("v"),c=a("mZ"),f=[];a=e([99,111,110,116,101,120,116,109,101,110,117]);var l=e([109,111,117,115,101,100,111,119,110]),p=e([109,111,117,115,101,117,112]),q=e([109,111,117,115,101,108,101,97,118,101]),n=e([109,111,
117,115,101,101,110,116,101,114]),r=e([116,100,118,99,108,97,115,115]);document.addEventListener(a,function(F){if(!d.kb()||!h(F.target)){var N=d.fe()==d.tfa?200:0;setTimeout(function(){(void 0===t||void 0===u||void 0===v||void 0===w||10>Math.abs(v-t)+Math.abs(w-u))&&f.forEach(function(S){S(F)});t=u=v=w=void 0},N)}F.preventDefault();F.stopImmediatePropagation()},!0);var t,u,v,w;document.addEventListener("mousedown",function(F){v=t=F.screenX;w=u=F.screenY},!0);document.addEventListener("mousemove",
function(F){v=F.screenX;w=F.screenY},!0);var x=1;m=m.extend(g,function(F,N){g.call(this);this.fb=F;this.hJa=N;this.yU=this.yU.bind(this);this.Od=this.Od.bind(this);this.z6=!1;this.w6=this.w6.bind(this);this.x6=this.x6.bind(this);this.v6=this.v6.bind(this);this.y6=this.y6.bind(this);this.na=document.createElement("div");this.na.style.setProperty("z-index",x,I[D]);for(var S in I[y])this.na.style.setProperty(S,I[y][S],I[D]);f.push(this.yU)});m.prototype.clear=function(){this.nLa()&&this.M5();this.na=
null;f.splice(f.indexOf(this.yU),1)};m.prototype.yU=function(F){var N=this.hJa();if(0!=N.length){this.na.replaceChildren();this.z6=!1;var S=0;N.forEach(function(Q){var R=document.createElement("div");if(Q){R.textContent=Q;for(var W in I[B])R.style.setProperty(W,I[B][W],I[D]);var G=S;S++;R.addEventListener(n,function(L){this.w6(L,G)}.bind(this));R.addEventListener(q,function(L){this.x6(L,G)}.bind(this));R.addEventListener(l,function(L){this.v6(L,G)}.bind(this));R.addEventListener(p,function(L){this.y6(L,
G)}.bind(this))}else for(W in I[z])R.style.setProperty(W,I[z][W],I[D]);for(W in I[A])R.style.setProperty(W,I[A][W],I[D]);this.na.appendChild(R)}.bind(this));(c.fullscreenElement()||document.body).appendChild(this.na);this.na.style.setProperty("display","block",I[D]);N=F.pageX;F=F.pageY;N+this.na.clientWidth>document.body.clientWidth-5&&(N=document.body.clientWidth-this.na.clientWidth-5);F+this.na.clientHeight>document.body.clientHeight-5&&(F=document.body.clientHeight-this.na.clientHeight-5);this.na.style.setProperty("left",
N+"px",I[D]);this.na.style.setProperty("top",F+"px",I[D]);this.fb.bind(k.ub,this.Od,this);document.addEventListener("mousedown",this.Od);this.pTa=setInterval(this.oTa.bind(this),200)}};m.prototype.nLa=function(){return!!this.na&&!!this.na.parentNode};m.prototype.M5=function(){clearInterval(this.pTa);this.na.parentNode.removeChild(this.na);document.removeEventListener("mousedown",this.Od);this.fb.unbind(k.ub,this.Od,this);this.na.style.setProperty("display","none",I[D])};m.prototype.oTa=function(){this.na.contains(document.elementFromPoint(this.na.offsetLeft+
.5*this.na.clientWidth,this.na.offsetTop+.5*this.na.clientHeight))||this.na.style.setProperty("z-index",x*=10,I[D])};m.prototype.Od=function(){this.M5()};m.prototype.v6=function(F){this.z6=!0;F.preventDefault();F.stopImmediatePropagation()};m.prototype.y6=function(F,N){this.z6&&(this.M5(),F.preventDefault(),F.stopImmediatePropagation(),this.trigger(new b(k.zn,{index:N})))};m.prototype.w6=function(F){for(var N in I[C])F.currentTarget.style.setProperty(N,I[C][N],I[D])};m.prototype.x6=function(F){for(var N in I[H])F.currentTarget.style.setProperty(N,
I[H][N],I[D])};var y="0",A="1",B="2",z="3",C="4",H="5",D="6",I=function(F){return JSON.parse(F.map(function(N){return String.fromCharCode(N)}).join(""))}([123,34,48,34,58,123,34,98,111,114,100,101,114,34,58,34,49,112,120,32,115,111,108,105,100,32,35,98,98,98,34,44,34,98,111,114,100,101,114,45,114,97,100,105,117,115,34,58,34,51,112,120,34,44,34,112,111,115,105,116,105,111,110,34,58,34,97,98,115,111,108,117,116,101,34,44,34,100,105,115,112,108,97,121,34,58,34,110,111,110,101,34,44,34,98,97,99,107,103,
114,111,117,110,100,45,99,111,108,111,114,34,58,34,35,101,53,101,53,101,53,34,44,34,111,112,97,99,105,116,121,34,58,49,44,34,112,97,100,100,105,110,103,34,58,48,44,34,109,97,114,103,105,110,34,58,48,44,34,112,111,105,110,116,101,114,45,101,118,101,110,116,115,34,58,34,97,108,108,34,44,34,116,101,120,116,45,97,108,105,103,110,34,58,34,108,101,102,116,34,44,34,98,111,120,45,115,104,97,100,111,119,34,58,34,49,112,120,32,49,112,120,32,51,112,120,32,114,103,98,97,40,48,44,32,48,44,32,48,44,32,48,46,50,
41,34,125,44,34,49,34,58,123,34,102,111,110,116,45,102,97,109,105,108,121,34,58,34,65,114,105,97,108,34,44,34,102,111,110,116,45,115,105,122,101,34,58,34,49,51,112,120,34,44,34,99,111,108,111,114,34,58,34,35,48,48,48,48,48,48,34,44,34,111,112,97,99,105,116,121,34,58,49,44,34,100,105,115,112,108,97,121,34,58,34,98,108,111,99,107,34,44,34,112,111,105,110,116,101,114,45,101,118,101,110,116,115,34,58,34,97,108,108,34,125,44,34,50,34,58,123,34,99,117,114,115,111,114,34,58,34,112,111,105,110,116,101,114,
34,44,34,98,111,114,100,101,114,45,114,97,100,105,117,115,34,58,34,51,112,120,34,44,34,112,97,100,100,105,110,103,34,58,34,55,112,120,32,50,48,112,120,34,44,34,119,104,105,116,101,45,115,112,97,99,101,34,58,34,110,111,119,114,97,112,34,125,44,34,51,34,58,123,34,109,97,114,103,105,110,34,58,34,55,112,120,32,53,112,120,34,44,34,98,111,114,100,101,114,45,116,111,112,34,58,34,49,112,120,32,115,111,108,105,100,32,35,97,97,97,34,44,34,98,111,114,100,101,114,45,98,111,116,116,111,109,34,58,34,49,112,120,
32,115,111,108,105,100,32,35,102,102,102,34,125,44,34,52,34,58,123,34,99,111,108,111,114,34,58,34,35,102,102,102,102,102,102,34,44,34,98,97,99,107,103,114,111,117,110,100,45,99,111,108,111,114,34,58,34,114,103,98,97,40,48,44,32,48,44,32,48,44,32,48,46,55,41,34,125,44,34,53,34,58,123,34,99,111,108,111,114,34,58,34,35,48,48,48,48,48,48,34,44,34,98,97,99,107,103,114,111,117,110,100,45,99,111,108,111,114,34,58,34,34,125,44,34,54,34,58,34,105,109,112,111,114,116,97,110,116,34,125]);return m});
define("mn",["require","mj","bc","cc"],function(a){function e(b){this.fb=b;this.hs={};this.hs[m.ZBa]="move";this.hs[m.$Ba]="ew-resize";this.hs[m.bCa]="ns-resize";this.hs[m.aCa]="nesw-resize";this.hs[m.cCa]="nwse-resize";this.hs[m.df]="pointer";this.hs[m.lt]="inherit";this.hs[m.He]="default";this.ah={};this.ah[m.jA]="grab.cur";this.ah[m.Zh]="grabbing.cur";this.ah[m.Mfa]="N.cur";this.ah[m.Nfa]="NE.cur";this.ah[m.Dfa]="E.cur";this.ah[m.Qfa]="SE.cur";this.ah[m.Pfa]="S.cur";this.ah[m.Rfa]="SW.cur";this.ah[m.Sfa]=
"W.cur";this.ah[m.Ofa]="NW.cur";this.ah[m.Ffa]="FN.cur";this.ah[m.Gfa]="FNE.cur";this.ah[m.Efa]="FE.cur";this.ah[m.Jfa]="FSE.cur";this.ah[m.Ifa]="FS.cur";this.ah[m.Kfa]="FSW.cur";this.ah[m.Lfa]="FW.cur";this.ah[m.Hfa]="FNW.cur";this.h2={};this.h2[m.sA]=k.sA;this.kia={}}var h=a("mj"),m=a("bc"),k=a("cc");e.prototype.sva=function(b){return this.hLa(b)?this.kla(b):this.YKa(b)?this.NIa(b):this.TKa(b)?this.uIa(b):this.kla(m.He)};e.prototype.fFa=function(b){if(!(b in this.kia)){var g=new Image;g.src=this.Eka(b);
this.kia[b]=g}};e.prototype.hLa=function(b){return b in this.hs};e.prototype.kla=function(b){return this.hs[b]};e.prototype.YKa=function(b){return this.ah[b]};e.prototype.NIa=function(b){this.fFa(b);return"url("+this.Eka(b)+"), default"};e.prototype.Eka=function(b){return h.nw(this.fb.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.ah[b]};e.prototype.TKa=function(b){return b in this.h2};e.prototype.uIa=function(b){return"url("+this.h2[b]+"), auto"};return e});
define("cs",["require","eg"],function(a){function e(){this.av={};this.aq=[];this.cK=0}var h=a("eg");e.prototype.push=function(m,k){void 0==this.av[k]?(this.av[k]=[m],this.aq.push(k),this.aq.sort(function(b,g){return b-g}),this.cK++):(k=this.av[k],h(k).contains(m)||(k.push(m),this.cK++))};e.prototype.uva=function(){return this.cK};e.prototype.isEmpty=function(){return 0==this.aq.length};e.prototype.Kya=function(){if(!this.isEmpty()){var m=this.aq[0],k=this.av[m].pop();0==this.av[m].length&&(delete this.av[m],
this.aq=this.aq.slice(1));this.cK--;return k}};e.prototype.jda=function(){if(!this.isEmpty()){var m=this.aq[this.aq.length-1],k=this.av[m].pop();0==this.av[m].length&&(delete this.av[m],this.aq=this.aq.slice(0,this.aq.length-1));this.cK--;return k}};return e});
define("iH","require eg lo gz cs bg lr".split(" "),function(a){function e(){this.yy=!1;this.upa=void 0;this.W=!0;this.$U=this.$U.bind(this);this.UR=new m;this.JV=new m;this.FW=new m;this.UT=new m;this.Z3=new m;k.requestFrame(this.yj,this)}a("eg");a("lo");var h=a("gz"),m=a("cs"),k=a("bg"),b=a("lr");e.prototype.clear=function(){this.W=!1};e.prototype.rP=function(g){this.UR.push(g,this.yF(g));this.hv()};e.prototype.le=function(g){this.JV.push(g,this.yF(g));this.hv()};e.prototype.Vb=function(g){this.FW.push(g,
this.yF(g));this.hv()};e.prototype.Hd=function(g){this.UT.push(g,this.yF(g));this.hv()};e.prototype.Rk=function(g){this.Z3.push(g,this.yF(g));this.hv()};e.prototype.ea=function(){this.$Ra();this.QSa();this.bSa()};e.prototype.$Ra=function(){do{for(;!this.UR.isEmpty();)this.UR.jda().Ab();this.JV.isEmpty()||this.JV.jda().Va()}while(!this.JV.isEmpty()||!this.UR.isEmpty())};e.prototype.QSa=function(){for(;!this.FW.isEmpty()||!this.UT.isEmpty();)this.wX(),this.jaa()};e.prototype.wX=function(){for(;!this.FW.isEmpty();){var g=
this.FW.jda();if(g.V_a()){var d=g.getParent();d?(d.Vb(),d.Hd()):g.vza(0,0,g.Ks(),g.Js())}}};e.prototype.jaa=function(){for(;!this.UT.isEmpty();)this.UT.Kya().am()};e.prototype.bSa=function(){for(;!this.Z3.isEmpty();)this.Z3.Kya().Vg();h.process()};e.prototype.hv=function(){this.yy||(this.yy=!0,this.upa=(new Date).getTime()+500,b.zz(this.$U))};e.prototype.$U=function(){this.yy=!1;this.W&&this.ea()};e.prototype.yF=function(g){return(g=g.getParent())?this.yF(g)+1:0};e.prototype.yj=function(){this.yy&&
(new Date).getTime()>=this.upa&&this.$U();k.requestFrame(this.yj,this)};return e});
define("hu","require jquery.mod eg lo oH oc jd mn bk iH mZ v".split(" "),function(a){var e=a("jquery.mod"),h=a("eg"),m=a("lo"),k=a("oH"),b=a("oc"),g=a("jd"),d=a("mn"),c=a("bk"),f=a("iH"),l=a("mZ"),p=a("v");a=m.extend(b,function(q,n){this.EE=new f;b.call(this);this.cs(this);this.Be("Application");this.yf=e(q);this.Kaa=n;this.yf.css({overflow:"hidden","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none","-ms-touch-action":"none","touch-action":"none",
visibility:"visible","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.qv=e(document.createElement("div"));this.qv.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.yf.append(this.qv);this.qv.append(this.Ac());this.dsa=this.qv.get(0);this.Ad=this.td=void 0;this.PKa=10;this.sFa=500;this.bN=null;this.K3=new d(this);this.Nb=new c(this);this.na.append(this.Nb.Ac());this.fS=new g(this,this.Aka.bind(this));this.fS.bind(k.zn,this.lh(this.rna),this,
!0);this.Kma=!0;this.set("contentOpaque",!0);this.ZA=null;this.XJ=[];this.kF(["globalmousemove"]);this.AEa();this.IX=this.JX=0;this.uy=1;try{this.JX=window.top.innerWidth,this.IX=window.top.innerHeight,this.F5=!0}catch(r){this.F5=!1}this.yta();this.Qi=new l(q);this.Qi.bind(k.pa,function(){this.Q4(this.Qi.enabled())},this)});a.prototype.start=function(){this.Qra||(this.Qra=!0,this.trigger(k.An))};a.prototype.yta=function(){this.F5&&!l.enabled()&&(this.JX=window.top.innerWidth,this.IX=window.top.innerHeight)};
a.prototype.clear=function(){this.MD(null);this.bsa();this.JHa();this.EE.clear();this.yf&&(this.Ac().remove(),this.qv.remove(),this.yf=null);this.K3=null;this.Qi.Hea();this.Qi=null;this.fS&&(this.fS.clear(),this.fS=null)};a.prototype.oZa=function(q){this.Kma=q};a.prototype.Q4=function(q){q?this.Vqa():this.DFa()};a.prototype.Gu=function(){this.AL=this.ql=this.qv.width();this.zL=this.pl=this.qv.height()};a.prototype.MD=function(q){if(this.ZA!=q){null!=this.ZA&&this.ZA.xRa();this.ZA=q;for(var n=[];null!=
q;)n=[q].concat(n),q=q.getParent();q=this.XJ.length-1;for(var r=!0;0<=q&&r;q--)h(n).contains(this.XJ[q])?r=!1:this.XJ.pop().ARa();for(q=0;q<n.length;q++)h(this.XJ).contains(n[q])||n[q].BRa();this.XJ=n;null!=this.ZA&&this.ZA.wRa();this.Nb.MD(this.ZA)}};a.prototype.eKa=function(q){var n=this.BF(q);this.Xla(q,n.x,n.y)?q.preventDefault():this.MD(null)};a.prototype.qla=function(q){var n=this.uB(q);this.Xla(q,n.x,n.y)?q.preventDefault():this.MD(null)};a.prototype.Aka=function(){return[]};a.prototype.rna=
function(){};a.prototype.Xla=function(q,n,r){return this.ZKa(q.target)&&0<=n&&0<=r&&n<this.ia&&r<this.ua};a.prototype.ZKa=function(q){if(!this.yf)return!1;for(var n=this.yf.get(0);q;){if(q===n)return!0;q=q.parentElement}return!1};a.prototype.AEa=function(){this.kF(["globalresize"]);this.N2=setInterval(h.bind(function(){this.zia()},this),this.sFa)};a.prototype.JHa=function(){this.lK(["globalresize"]);this.N2&&(clearInterval(this.N2),this.N2=null)};a.prototype.zia=function(){this.Qi.enabled()?this.Vqa():
this.yta();var q=this.dsa.clientWidth,n=this.dsa.clientHeight;if(this.td!=q||this.Ad!=n)this.td=q,this.Ad=n,this.wQa()};a.prototype.Vqa=function(){if(this.F5&&(p.fe()==p.aE&&p.browser()==p.Uk||p.fe()==p.Hi)){var q=l.fullscreenElement();var n=q.clientWidth;q=q.clientHeight;p.fe()!=p.aE||window.screen.availWidth!=n&&window.screen.availHeight!=q||(n=window.screen.availWidth,q=window.screen.availHeight);var r=(n>q?n:q)/(this.JX>this.IX?this.JX:this.IX),t=Math.round(n/r),u=Math.round(q/r);this.uy=r;n=
{left:Math.round(.5*(n-t))+"px",top:Math.round(.5*(q-u))+"px",right:"auto",bottom:"auto",width:t+"px",height:u+"px",transform:"scale("+[r,r].join(", ")+")",position:"absolute"}}else n={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"},this.uy=1;this.qv.css(n)};a.prototype.DFa=function(){this.qv.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.uy=1};a.prototype.wQa=
function(){this.bsa();var q=this;this.bN=setTimeout(function(){q.bN=null;q.Vb()},this.PKa)};a.prototype.bsa=function(){this.bN&&(this.bN=null,clearTimeout(this.bN))};a.prototype.dKa=function(){this.zia()};a.prototype.a5=function(){return h(b.prototype.a5.call(this)).defaults({globaltouchmove:[{target:e(document),name:"touchmove",handler:this.lh(this.eKa)}],globalmousemove:[{target:e(document),name:"mousemove",handler:this.lh(this.qla)},{target:e(window),name:"mouseout",handler:this.lh(this.qla)}],
globalresize:[{target:e(window),name:"resize",handler:this.lh(this.dKa)}]})};return a});
define("gx","require jquery.mod pd cc mZ oH gi oF v".split(" "),function(a){function e(){n=TDV.pb.Fq();var v=q||n;p!=v&&(p=v,l.trigger(g.pa));v=!!q&&n!=q&&f.kb();r!=v&&(t||(t=h("<div/>"),t.css({position:"fixed","z-index":m.HBa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),t.html(['<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+
k.oJ+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+c("rotate-device")+"</div>","</div>\n</div>"].join("\n")),u=t.find("img")),r&&t.detach(),(r=v)&&(b.enabled()?h(b.fullscreenElement()):h("body")).append(t));r&&u.css("transform",p==l.rCa?"translate(-11%, 0) rotate(-90deg)":"none")}var h=a("jquery.mod"),m=a("pd"),k=a("cc"),b=a("mZ"),g=a("oH"),d=a("gi"),c=a("oF"),f=a("v"),l=new d;l.r0a=TDV.pb.R0;
l.rCa=TDV.pb.S0;l.QD=function(v){q!=v&&(q=v,e())};l.Hva=function(){return q};l.get=function(){return p};var p=void 0,q=void 0,n=void 0,r=!1,t=null,u=null;window.addEventListener("resize",function(){e();setTimeout(e,500)},!0);try{window.screen.orientation.addEventListener("change",e)}catch(v){window.addEventListener("orientationchange",e,!1)}e();return l});
define("iC","require lo eg oH cy cD nx mW oF jD H kA nm dQ lY ny lH v hF eR cv jo mj bv ed hu oc db mZ bE gx lU ds".split(" "),function(a){var e=a("lo"),h=a("eg"),m=a("oH"),k=a("cy"),b=a("cD"),g=a("nx"),d=a("mW"),c=a("oF"),f=a("jD"),l=a("H"),p=a("kA"),q=a("nm"),n=a("dQ");a("lY");var r=a("ny"),t=a("lH"),u=a("v"),v=a("hF"),w=a("eR"),x=a("cv"),y=a("jo"),A=a("mj"),B=a("bv"),z=a("ed"),C=a("hu"),H=a("oc"),D=a("db"),I=a("mZ"),F=a("bE"),N=a("gx"),S=a("lU"),Q=a("ds"),R=g.define("Player",C,function(){C.apply(this,
arguments);this.ig=new w(this);this.Gja=new p(this,this.ig);this.sr=new H;this.sr.ja({backgroundOpacity:0,visible:!0,width:"100%",height:"100%"});this.WF=new q;this.uH=new n;this.iS=new l(this);var L=new D;L.j_(0);this.bQ(L);this.wf(!0);this.bind(m.G("settings"),this.MMa,this,!0);this.CX=TDV.pb.$va();N.bind(m.pa,this.wMa,this,!0);F.K_a();this.WEa=new f(this,"buttonMute",z.Ie);this.WEa.bind(m.qa,this.joa,this,!0);this.dFa=new f(this,"buttonUnmute",z.Ie);this.dFa.bind(m.qa,this.Yoa,this,!0);this.IR=
new f(this,"buttonToggleMute",z.Xj);this.IR.bind(m.Vj,this.joa,this,!0);this.IR.bind(m.jm,this.Yoa,this,!0);this.bind(m.G("mute"),this.tMa,this);this.IR.set("pressed",this.get("mute"));this.UEa=new f(this,"buttonEnterFullscreen",z.Ie);this.UEa.bind(m.qa,this.xna,this,!0);this.VEa=new f(this,"buttonExitFullscreen",z.Ie);this.VEa.bind(m.qa,this.yna,this,!0);this.FR=new f(this,"buttonToggleFullscreen",z.Xj);this.FR.bind(m.Vj,this.xna,this,!0);this.FR.bind(m.jm,this.yna,this,!0);this.FR.set("pressed",
this.get("fullscreenEnabled"));this.bind(m.G("fullscreenEnabled"),this.dMa,this,!0);this.set("fullscreenEnabled",this.Qi.enabled());this.set("defaultMenu",["fullscreen","mute","rotation"]);this.bind(m.An,this.PMa,this,!0);[m.ub,m.Zb,m.$q,m.Bw,m.kE].forEach(function(U){this.bind(U,function(O){this.trigger(new k(m.vE,{nQ:O}))},this,!0)}.bind(this));["keydown","keyup"].forEach(function(U){document.addEventListener(U,function(O){this.trigger(new k(m.vE,{nQ:O}))}.bind(this))}.bind(this));B.bind(m.pa,function(){B.isPresenting()?
N.QD():N.QD(C.prototype.get.call(this,"lockedOrientation"))},this);this.Qi.bind(m.pa,function(){var U=N.Hva();N.QD();N.QD(U)},this)});R.xBa="orientationChange";R.prototype.logCapabilities=function(){this.ALa()};R.prototype.activateAudio=function(L){this.oDa(L)};R.prototype.Q4=function(L){C.prototype.Q4.apply(this,arguments);this.set("fullscreenEnabled",L)};R.prototype.nb=function(){C.prototype.nb.call(this);this.h("mute",!1);this.h("fullscreenEnabled",!1)};R.prototype.Ab=function(){C.prototype.Ab.call(this);
this.Gja.getParent()!=this&&this.Wa(this.Gja);this.sr.getParent()!=this&&(this.Wa(this.sr),this.sr.Wa(this.iS),this.sr.Wa(this.WF),this.sr.Wa(this.uH))};R.prototype.wOa=function(L){var U=[];this.WF&&U.push(this.WF);this.uH&&U.push(this.uH);this.iS&&U.push(this.iS);for(var O=!0,V=0;V<=U.length&&O;V++)O=L.indexOf(U[V]),O=L.length-(U.length-V)==O;return O?L:L.filter(function(Y){return 0>U.indexOf(Y)}).concat(U)};R.prototype.Va=function(){this.Wpa||(this.Wpa=h.difference(this.IJa(),"backgroundOpacity visible includeInLayout state left right top bottom centerX centerY width height minWidth minHeight maxWidth maxHeight actualWidth actualHeight paddingLeft paddingTop paddingRight paddingBottom".split(" ")));
this.lc(this.Wpa,{},[this.sr],!0,!0);C.prototype.Va.call(this);!0===this.d1a&&this.c1a()};R.prototype.set=function(L,U){switch(L){case "children":this.sr.set(L,this.wOa(U));return;case "creationPolicy":this.sr.set(L,U);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "surfaceSelectionAvailable":case "touchEnabled":case "touchDevice":case "vrAvailable":U=this.get(L);break;case "fullscreenEnabled":U=this.Qi.zg()&&U;break;case "fullscreenFallback":I.Mda(U);
break;case "lockedOrientation":u.Rf()&&(U=void 0);N.QD(U);break;case "installAvailable":U=this.ig.ready();break;case "mouseWheelEnabled":this.oZa(A.Wh("mousewheelenabled",U));break;case "backgroundPreloadEnabled":this.LOa(U);break;case "vrPolyfillScale":B.CZa(U);break;case "desktopMipmappingEnabled":r.FYa(U);break;case "mobileMipmappingEnabled":r.mZa(U)}C.prototype.set.call(this,L,U)};R.prototype.get=function(L,U){switch(L){case "children":case "creationPolicy":return this.sr.get(L,U);case "touchEnabled":return this.Qn;
case "touchDevice":return u.Dea();case "isMobile":return u.kb();case "orientation":return N.get();case "lockedOrientation":return N.Hva();case "gyroscopeAvailable":return v.zg;case "cardboardAvailable":case "vrAvailable":return B.zg();case "fullscreenAvailable":return this.Qi.zg();case "vrPolyfillScale":return B.vVa();case "installAvailable":return this.ig.ready();case "surfaceSelectionAvailable":return!0;case "pageScale":return this.uy;case G:return this.Kaa?C.prototype.get.apply(this,arguments):
!0;default:return C.prototype.get.apply(this,arguments)}};R.prototype.joa=function(){this.set("mute",!0)};R.prototype.Yoa=function(){this.set("mute",!1)};R.prototype.tMa=function(){this.IR.set("pressed",this.get("mute"))};R.prototype.xna=function(){this.set("fullscreenEnabled",!0)};R.prototype.yna=function(){this.set("fullscreenEnabled",!1)};R.prototype.dMa=function(){this.get("fullscreenEnabled")?this.Qi.Nk():this.Qi.$f();this.FR.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",
this.Qi.enabled())};R.prototype.MMa=function(){var L=this.get("settings");L&&(x.initialize(L),y.gea(L),THREE.cBa=L.get(TDV.PlayerSettings.Sea),THREE.pBa=L.get(TDV.PlayerSettings.Zea),this.ig.gea(L))};R.prototype.LOa=function(L){y.enabled(L)};R.prototype.Aka=function(){var L=[];this.WE=[];(this.get("menu")||[]).forEach(function(V){var Y=V.get("label");L.push(V.get("label"));Y&&this.WE.push(function(){V.trigger("click")})}.bind(this));var U=this.get("defaultMenu",[]);if(0<=U.indexOf("rotation")){var O=
this.Ij("PanoramaPlayer");O.length&&(L.push(O[0].get("mouseControlMode")==b.Rz?c("change-to-drag-and-release"):c("change-to-click-and-move")),this.WE.push(this.gRa.bind(this)))}0<=U.indexOf("fullscreen")&&this.Qi.zg()&&(L.push(this.Qi.enabled()?c("exit-fullscreen"):c("enter-fullscreen")),this.WE.push(this.eRa.bind(this)));0<=U.indexOf("mute")&&(L.push(this.get("mute")?c("unmute"):c("mute")),this.WE.push(this.fRa.bind(this)));U=[].concat(d.name?[d.name]:[],"false"!=d.tUa?d.zP?["v:"+d.zP+"."+d.BP]:
["v:"+d.BP]:[]).join(" ");""!=U&&(0<L.length&&L.push(""),L.push(U),this.WE.push(this.aNa.bind(this)));return L};R.prototype.rna=function(L){this.WE[L.data.index]()};R.prototype.gRa=function(){var L=this.Ij("PanoramaPlayer"),U=L[0].get("mouseControlMode")==b.Rz?b.et:b.Rz;L.forEach(function(O){Q.setItem(W,U);O.set("mouseControlMode",U)})};R.prototype.PMa=function(){Q.getItem(W)==b.et&&this.Ij("PanoramaPlayer").forEach(function(L){L.set("mouseControlMode",b.et)});A.cj("mute")&&this.set("mute",A.Wh("mute",
this.get("mute")));A.cj("vr")&&B.Nk()};R.prototype.eRa=function(){this.Qi.toggle()};R.prototype.fRa=function(){this.set("mute",!this.get("mute"))};R.prototype.aNa=function(){d.YAa&&window.open(d.YAa,"_blank")};R.prototype.wMa=function(){this.trigger(R.xBa)};R.prototype.ALa=function(){e.zUa(!0);e.log("UA: "+navigator.userAgent);e.log("screen: ("+Math.max(window.screen.width,window.screen.height)+", "+Math.min(window.screen.width,window.screen.height)+") dpr: "+window.devicePixelRatio+" ("+Math.max(window.screen.width,
window.screen.height)*window.devicePixelRatio+", "+Math.min(window.screen.width,window.screen.height)*window.devicePixelRatio+")");u.log();t.log();c.log();B.log()};R.prototype.oDa=function(L){F.active()?S.wait(L):(F.Qea(L),F.request(this))};var W="tdvp_"+window.location.pathname+"_rotation_mode",G=[119,97,116,101,114,109,97,114,107].map(function(L){return String.fromCharCode(L)}).join("");return R});
define("nl",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("PlayerMenuItem",e,function(){e.call(this)})});
define("T","require lo lP oH kO nx kk".split(" "),function(a){a("lo");var e=a("lP"),h=a("oH"),m=a("kO"),k=a("nx"),b=a("kk");a=k.define("PopupPanoramaOverlay",e,function(){e.call(this);this.set("state",m.T);this.bind(h.G("state"),function(){this.trigger(h.ne)},this,!0);this.dd=void 0});a.prototype.show=function(){this.set("visible",!0)};a.prototype.hide=function(){this.set("visible",!1)};a.prototype.play=function(){this.set("state",m.X)};a.prototype.pause=function(){this.set("state",m.tE)};a.prototype.stop=
function(){this.set("state",m.T)};a.prototype.hide=a.prototype.hide;a.prototype.pause=a.prototype.pause;a.prototype.play=a.prototype.play;a.prototype.show=a.prototype.show;a.prototype.stop=a.prototype.stop;a.prototype.get=function(g,d){switch(g){case "playbackPositions":return void 0===this.dd&&(this.dd=b.xVa(this)),this.dd}return e.prototype.get.call(this,g,d)};a.prototype.set=function(g,d){var c=!1;switch(g){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.dd=
void 0,c=!0}e.prototype.set.call(this,g,d);c&&"playbackPositions"!=g&&this.trigger(h.G("playbackPositions"))};return a});define("oI",["require","A","nx"],function(a){var e=a("A");return a("nx").define("ProgressBar",e,function(){e.call(this)})});
define("gt",["require","lP","oH","nx","kk"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("kk");a=m.define("QuadFramePanoramaOverlay",e,function(){e.call(this);this.dd=void 0});a.prototype.set=function(b,g){var d=!1;switch(b){case "vertices":case "playbackPositions":this.dd=void 0,d=!0}e.prototype.set.call(this,b,g);d&&"playbackPositions"!=b&&this.trigger(h.G("playbackPositions"))};a.prototype.get=function(b,g){switch(b){case "playbackPositions":return void 0===this.dd&&(this.dd=k.ica(this)),
this.dd}return e.prototype.get.call(this,b,g)};return a});define("bG",["require","nx","cL"],function(a){var e=a("nx"),h=a("cL");return e.define("QuadHotspotPanoramaOverlay",h,function(){h.call(this)})});define("iK",["require","nx","u"],function(a){var e=a("nx"),h=a("u");return e.define("QuadHotspotPanoramaOverlayArea",h,function(){h.apply(this,arguments)})});
define("ba",["require","lP","oH","nx","kk"],function(a){var e=a("lP"),h=a("oH"),m=a("nx"),k=a("kk");a=m.define("QuadHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.dd=void 0});a.prototype.get=function(b,g){switch(b){case "playbackPositions":return void 0===this.dd&&(this.dd=k.ica(this)),this.dd}return e.prototype.get.call(this,b,g)};a.prototype.set=function(b,g){var d=!1;switch(b){case "opacity":case "distance":case "vertices":case "playbackPositions":this.dd=void 0,d=!0}e.prototype.set.call(this,
b,g);d&&"playbackPositions"!=b&&this.trigger(h.G("playbackPositions"))};return a});define("fu",["require","nx","ba"],function(a){var e=a("nx"),h=a("ba");return e.define("QuadHotspotPanoramaOverlayImage",h,function(){h.call(this)})});define("kl",["require","nx","ba"],function(a){var e=a("nx"),h=a("ba");return e.define("QuadHotspotPanoramaOverlayMap",h,function(){h.call(this)})});
define("eT","require lP oH kO cy nx kk".split(" "),function(a){var e=a("lP"),h=a("oH"),m=a("kO"),k=a("cy"),b=a("nx"),g=a("kk");a=b.define("QuadVideoPanoramaOverlay",e,function(){e.call(this);this.dd=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.X)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Eb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.T)};a.prototype.set=function(d,c){var f=!1;switch(d){case "state":var l=this.get("state")||
m.T;l==m.T&&c==m.X&&this.trigger(h.An);l!=c&&this.trigger(new k(h.ne,{oldState:l,state:c}));break;case "enabledInCardboard":this.set("enabledInVR",c);break;case "distance":case "opacity":case "playbackPositions":case "vertices":this.dd=void 0,f=!0}e.prototype.set.call(this,d,c);f&&"playbackPositions"!=d&&this.trigger(h.G("playbackPositions"))};a.prototype.get=function(d,c){switch(d){case "playbackPositions":return void 0===this.dd&&(this.dd=g.ica(this)),this.dd}return e.prototype.get.call(this,d,
c)};return a});define("mA",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("RainPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(h,m){"startState"==h&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,h,m)};return a});define("fj",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("RotationalCameraMovement",e,function(){e.call(this)})});
define("ck",["require","nn","nx"],function(a){var e=a("nn");return a("nx").define("SlideInEffect",e,function(){e.call(this)})});define("im",["require","hz","nx"],function(a){var e=a("hz");return a("nx").define("SlideOutEffect",e,function(){e.call(this)})});
define("nN",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("SnowPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(h,m){"startState"==h&&void 0===m&&(m=this.get("initialState"));return e.prototype.get.call(this,h,m)};return a});
define("mc",["require","nx","lw"],function(a){var e=a("nx"),h=a("lw");a=e.define("SphericPanoramaFrame",h,function(){h.call(this)});a.prototype.Tl=function(){var m=this.get("sphere");return m&&e.Na("Video360Resource",m)?!0:(m=this.get("stereoSphere"))&&e.Na("Video360Resource",m)?!0:!1};return a});define("fw",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("SphereModel3DObject",h,function(){h.call(this)})});
define("on",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("SpriteModel3DObject",h,function(){h.call(this)})});define("bt",["require","nx","iy"],function(a){var e=a("nx"),h=a("iy");return e.define("SurfaceReticleModel3DObject",h,function(){h.call(this);this.set("transparentAreaActive",!0)})});
define("cM","require eg lo y oc mQ W iQ".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("y"),k=a("oc"),b=a("mQ"),g=a("W"),d=a("iQ"),c=h.extend(k,function(f){k.call(this);this.Be("Tab");this.b8=f;this.Ll="";this.t$=!1;this.ema=this.Ta=null;this.Paa=this.Oaa=!1;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0)});c.prototype.nb=function(){k.prototype.nb.call(this);this.h("horizontalAlign",b.Ge);this.h("verticalAlign",b.he);this.h("fontFamily");this.h("fontSize");this.h("fontColor");
this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowBlurRadius");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowOpacity");this.h("textShadowVerticalLength")};c.prototype.Xza=function(f){this.Oaa!=f&&(this.Oaa=f,this.Paa=!0,this.le())};c.prototype.Ab=function(){k.prototype.Ab.call(this);null==this.Ta&&(this.Ta=new d,this.Ta.set("horizontalAlign","center"),this.Wa(this.Ta))};c.prototype.gp=function(){k.prototype.gp.call(this);this.ema=
m.Ws(this.b8,"label",this.gG,this);this.tra(this.b8.get("label"))};c.prototype.g9=function(){k.prototype.g9.call(this);this.ema.Iz()};c.prototype.gG=function(){var f=this.b8.get("label");this.tra(f?f:"")};c.prototype.tra=function(f){this.Ll!=f&&(this.Ll=f,this.t$=!0,this.le())};c.prototype.Va=function(){this.t$&&(this.t$=!1,this.Ta.set("text",this.Ll));this.Paa&&(this.Paa=!1,this.Ta.set("direction",this.Oaa?g.uh:g.Dg));this.lc(c.Yga,c.BE,[this.Ta],!0,!0);k.prototype.Va.call(this)};c.Yga="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");
c.BE={};e(c.Yga).each(function(f){c.BE[f]=f});return c});define("fb",["require"],function(){return{kJ:"normal",nE:"inverse",Uea:"center"}});
define("cW","require eg lo bh bc oH oc mQ d hH cM fb in".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("bh"),k=a("bc"),b=a("oH"),g=a("oc"),d=a("mQ"),c=a("d"),f=a("hH"),l=a("cM"),p=a("fb"),q=a("in");a=h.extend(g,function(){g.call(this);this.Be("TabPanel");this.nf=-1;this.FC=!1;this.NN=[];this.XW=!1;this.Pr=[];this.d8=!1;this.MN=[];this.Mg=this.jh=null;this.HC(!1)});a.prototype.nb=function(){g.prototype.nb.call(this);this.h("pages",[]);this.h("selectedIndex",-1);this.h("tabsSize",25);this.h("tabsPosition",
q.uc);this.h("tabsGap",0);this.h("tabsPadding",10);this.h("tabsAlign",p.kJ);this.h("tabsBackgroundOpacity",.6);this.h("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.h("tabsBackgroundColorRatios",[0,.5]);this.h("tabsRollOverBackgroundOpacity",1);this.h("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.h("tabsRollOverBackgroundColorRatios",[0,.5]);this.h("backgroundColor","#FFFFFF");this.h("selectedTabBackgroundOpacity",1);this.h("selectedTabBackgroundColor");this.h("selectedTabBackgroundColorRatios");
this.h("borderRadius",6);this.h("pagePaddingLeft",4);this.h("pagePaddingTop",4);this.h("pagePaddingRight",4);this.h("pagePaddingBottom",4);this.h("borderColor","#AAAAAA");this.h("borderSize",1);this.h("selectedTabFontSize");this.h("selectedTabFontColor");this.h("selectedTabFontWeight");this.h("selectedTabFontStyle");this.h("selectedTabTextDecoration");this.h("selectedTabTextShadowBlurRadius");this.h("selectedTabTextShadowColor");this.h("selectedTabTextShadowHorizontalLength");this.h("selectedTabTextShadowOpacity");
this.h("selectedTabTextShadowVerticalLength");this.h("tabsFontFamily");this.h("tabsFontSize");this.h("tabsFontColor");this.h("tabsFontWeight");this.h("tabsFontStyle");this.h("tabsTextDecoration");this.h("tabsTextShadowBlurRadius");this.h("tabsTextShadowColor");this.h("tabsTextShadowHorizontalLength");this.h("tabsTextShadowOpacity");this.h("tabsTextShadowVerticalLength");this.h("tabsRollOverFontSize");this.h("tabsRollOverFontColor");this.h("tabsRollOverFontWeight");this.h("tabsRollOverFontStyle");
this.h("tabsRollOverTextDecoration");this.h("tabsRollOverTextShadowBlurRadius");this.h("tabsRollOverTextShadowColor");this.h("tabsRollOverTextShadowHorizontalLength");this.h("tabsRollOverTextShadowOpacity");this.h("tabsRollOverTextShadowVerticalLength")};a.prototype.Ab=function(){g.prototype.Ab.call(this);null==this.Mg&&(this.Mg=new g,this.Mg.HC(!1),this.Wa(this.Mg));null==this.jh&&(this.jh=new g,this.jh.HC(!1),this.Wa(this.jh))};a.prototype.set=function(n,r){"pages"==n?this.uZa(r||[]):"selectedIndex"==
n?this.fea(r):"layout"==n&&(r=c.g0a);g.prototype.set.call(this,n,r)};a.prototype.get=function(n,r){return"pages"==n?this.Pr:"selectedIndex"==n?this.nf:g.prototype.get.call(this,n,r)};a.prototype.fea=function(n){this.nf!=n&&(this.nf=n,this.nf=Math.min(Math.max(this.nf,-1),this.Pr.length),this.FC=!0,this.le(),this.trigger(b.pa))};a.prototype.uZa=function(n){e.isEqual(this.Pr,n)||(this.Pr=n,this.d8=!0,this.le())};a.prototype.TQa=function(n){this.NN=e(this.NN).union([n.source]);this.XW=!0;this.le()};
a.prototype.SQa=function(n){this.NN=e(this.NN).difference([n.source]);this.XW=!0;this.le()};a.prototype.RQa=function(n){this.fea(e(this.MN).indexOf(n.source))};a.prototype.Va=function(){var n=!1,r=!1,t=!1,u=!1,v=!1,w=this.B("tabsPosition"),x=this.B("tabsAlign");this.d8&&(this.MN=[],this.jh.Uya(),this.Mg.Uya(),e(this.Pr).forEach(function(z){var C=new l(z);C.HC(!0);C.bind(b.Wc,e.bind(this.TQa,this));C.bind(b.ac,e.bind(this.SQa,this));C.bind(b.ub,e.bind(this.RQa,this));this.MN.push(C);this.jh.Wa(C);
z.ja({top:void 0,left:void 0,right:void 0,bottom:void 0,width:"100%",height:"100%"});this.Mg.Wa(z)},this),this.nf=Math.min(Math.max(this.nf,0),this.Pr.length-1),this.d8=!1,r=n=v=!0);this.I("tabsPosition")&&(this.P("tabsPosition"),u=r=n=!0);this.FC&&(this.FC=!1,t=r=v=!0);this.XW&&(this.XW=!1,t=!0);this.I("overflow")&&this.jh.ja({contentOpaque:this.B("overflow")==f.cp,overflow:this.B("overflow")});e(["tabsAlign","tabsGap","tabsSize"]).forEach(function(z){this.I(z)&&(this.P(z),n=!0)},this);e("borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize borderColor borderLeftColor borderTopColor borderRightColor borderBottomColor shadow shadowHorizontalLength shadowVerticalLength shadowBlurRadius shadowSpread shadowColor backgroundOpacity backgroundColor backgroundColorRatios".split(" ")).forEach(function(z){this.I(z)&&
(this.P(z),u=r=!0)},this);e("tabsBackgroundOpacity tabsBackgroundColor tabsBackgroundColorRatios selectedTabBackgroundOpacity selectedTabBackgroundColor selectedTabBackgroundColorRatios selectedTabFontSize selectedTabFontColor selectedTabFontWeight selectedTabFontStyle selectedTabTextDecoration selectedTabTextShadowColor selectedTabTextShadowHorizontalLength selectedTabTextShadowVerticalLength selectedTabTextShadowBlurRadius selectedTabTextShadowOpacity tabsFontFamily tabsFontSize tabsFontColor tabsFontWeight tabsFontStyle tabsPadding tabsTextDecoration tabsRollOverFontSize tabsRollOverFontColor tabsTextShadowColor tabsTextShadowHorizontalLength tabsTextShadowVerticalLength tabsTextShadowBlurRadius tabsTextShadowOpacity tabsRollOverFontWeight tabsRollOverFontStyle tabsRollOverTextDecoration tabsRollOverTextShadowColor tabsRollOverTextShadowHorizontalLength tabsRollOverTextShadowVerticalLength tabsRollOverTextShadowBlurRadius tabsRollOverTextShadowOpacity".split(" ")).forEach(function(z){this.I(z)&&
(this.P(z),r=!0)},this);e(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(z){this.I(z)&&(this.P(z),u=!0)},this);this.I("backgroundColorDirection")&&this.P("backgroundColorDirection");if(n){switch(w){case q.Pa:this.jh.ja({left:0,right:void 0});break;case q.hb:this.jh.ja({left:void 0,right:0});break;case q.uc:this.jh.ja({bottom:void 0,top:0});break;case q.pc:this.jh.ja({bottom:0,top:void 0})}switch(w){case q.Pa:case q.hb:this.jh.ja({layout:c.uh,top:0,bottom:0,
height:void 0,width:this.B("tabsSize")});switch(x){case p.nE:this.jh.set("verticalAlign",d.pc);break;case p.Uea:this.jh.set("verticalAlign",d.he);break;default:this.jh.set("verticalAlign",d.uc)}break;case q.uc:case q.pc:switch(this.jh.ja({layout:c.Dg,left:0,right:0,height:this.B("tabsSize"),width:void 0}),x){case p.nE:this.jh.set("horizontalAlign",d.hb);break;case p.Uea:this.jh.set("horizontalAlign",d.Ge);break;default:this.jh.set("horizontalAlign",d.Pa)}}this.jh.set("gap",this.B("tabsGap"))}if(r)for(var y=
0;y<this.Pr.length;y++){var A=this.MN[y];w==q.pc||w==q.uc?(A.ja({layout:c.Dg,width:void 0,paddingLeft:this.B("tabsPadding"),paddingTop:0,paddingRight:this.B("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:m.n1}),A.Xza(!1)):(A.ja({layout:c.uh,width:"100%",paddingLeft:0,paddingTop:this.B("tabsPadding"),paddingRight:0,paddingBottom:this.B("tabsPadding"),height:void 0,backgroundColorDirection:m.M0}),A.Xza(!0));w==q.pc||w==q.hb?A.set("borderTopLeftRadius",0):A.set("borderTopLeftRadius",
this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));w==q.pc||w==q.Pa?A.set("borderTopRightRadius",0):A.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.uc||w==q.hb?A.set("borderBottomLeftRadius",0):A.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.uc||w==q.Pa?A.set("borderBottomRightRadius",0):A.set("borderBottomRightRadius",
this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));w==q.hb&&A.set("borderSize",this.B("borderRightSize","borderSize"));w==q.Pa&&A.set("borderSize",this.B("borderLeftSize","borderSize"));w==q.uc&&A.set("borderSize",this.B("borderTopSize","borderSize"));w==q.pc&&A.set("borderSize",this.B("borderBottomSize","borderSize"));switch(w){case q.Pa:var B=this.B("borderLeftColor","borderColor");break;case q.hb:B=this.B("borderRightColor","borderColor");break;case q.pc:B=
this.B("borderBottomColor","borderColor");break;default:case q.uc:B=this.B("borderTopColor","borderColor")}A.set("borderColor",B);A.ja({fontFamily:this.B("tabsFontFamily"),shadow:this.B("shadow"),shadowHorizontalLength:this.B("shadowHorizontalLength"),shadowVerticalLength:this.B("shadowVerticalLength"),shadowBlurRadius:this.B("shadowBlurRadius"),shadowSpread:this.B("shadowSpread"),shadowColor:this.B("shadowColor")})}if(r||t)for(y=0;y<this.Pr.length;y++)A=this.MN[y],t=y==this.nf,B=e(this.NN).contains(A),
t?(B=this.B("selectedTabBackgroundColor","tabsBackgroundColor"),e(B).isUndefined()&&(B=this.B("backgroundColor"),B=e(B).isArray()&&0<B.length?w==q.Pa||w==q.uc?B[0]:B[B.length-1]:B),A.ja({backgroundOpacity:this.B("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:B,backgroundColorRatios:this.B("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.He,fontSize:this.B("selectedTabFontSize","tabsFontSize"),fontColor:this.B("selectedTabFontColor",
"tabsFontColor"),fontWeight:this.B("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.B("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.B("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.B("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.B("selectedTabTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("selectedTabTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("selectedTabTextShadowBlurRadius",
"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})):B?A.ja({backgroundOpacity:this.B("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.B("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.B("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.df,fontSize:this.B("tabsRollOverFontSize","tabsFontSize"),fontColor:this.B("tabsRollOverFontColor","tabsFontColor"),
fontWeight:this.B("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.B("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.B("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.B("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.B("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("tabsRollOverTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("tabsRollOverTextShadowBlurRadius",
"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):A.ja({backgroundOpacity:this.B("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.B("tabsBackgroundColor"),backgroundColorRatios:this.B("tabsBackgroundColorRatios"),fontSize:this.B("tabsFontSize"),fontColor:this.B("tabsFontColor"),fontWeight:this.B("tabsFontWeight"),fontStyle:this.B("tabsFontStyle"),textDecoration:this.B("tabsTextDecoration"),textShadowColor:this.B("tabsTextShadowColor"),
textShadowHorizontalLength:this.B("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsTextShadowOpacity")}),A.ja({borderLeftSize:w==q.hb&&t?0:void 0,borderRightSize:w==q.Pa&&t?0:void 0,borderBottomSize:w==q.uc&&t?0:void 0,borderTopSize:w==q.pc&&t?0:void 0});if(u){y=this.B("tabsSize");switch(w){case q.Pa:this.Mg.ja({left:y-(this.B("borderLeftSize","borderSize")||0),right:0,
top:0,bottom:0});break;case q.hb:this.Mg.ja({left:0,right:y-(this.B("borderRightSize","borderSize")||0),top:0,bottom:0});break;case q.uc:this.Mg.ja({left:0,right:0,top:y-(this.B("borderTopSize","borderSize")||0),bottom:0});break;case q.pc:this.Mg.ja({left:0,right:0,top:0,bottom:y-(this.B("borderBottomSize","borderSize")||0)})}w==q.uc&&x==p.kJ||w==q.Pa&&x==p.kJ?this.Mg.set("borderTopLeftRadius",0):this.Mg.set("borderTopLeftRadius",this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));
w==q.uc&&x==p.nE||w==q.hb&&x==p.kJ?this.Mg.set("borderTopRightRadius",0):this.Mg.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.pc&&x==p.kJ||w==q.Pa&&x==p.nE?this.Mg.set("borderBottomLeftRadius",0):this.Mg.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.pc&&x==p.nE||w==q.hb&&x==p.nE?this.Mg.set("borderBottomRightRadius",0):this.Mg.set("borderBottomRightRadius",
this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.Mg.ja({paddingLeft:this.B("pagePaddingLeft"),paddingTop:this.B("pagePaddingTop"),paddingRight:this.B("pagePaddingRight"),paddingBottom:this.B("pagePaddingBottom"),borderLeftSize:this.B("borderLeftSize","borderSize"),borderTopSize:this.B("borderTopSize","borderSize"),borderRightSize:this.B("borderRightSize","borderSize"),borderBottomSize:this.B("borderBottomSize","borderSize"),borderLeftColor:this.B("borderLeftColor",
"borderColor"),borderTopColor:this.B("borderTopColor","borderColor"),borderRightColor:this.B("borderRightColor","borderColor"),borderBottomColor:this.B("borderBottomColor","borderColor"),shadow:this.B("shadow"),shadowHorizontalLength:this.B("shadowHorizontalLength"),shadowVerticalLength:this.B("shadowVerticalLength"),shadowBlurRadius:this.B("shadowBlurRadius"),shadowSpread:this.B("shadowSpread"),shadowColor:this.B("shadowColor"),backgroundOpacity:this.B("backgroundOpacity"),backgroundColor:this.B("backgroundColor"),
backgroundColorRatios:this.B("backgroundColorRatios")});w==q.uc||w==q.pc?this.Mg.set("backgroundColorDirection",m.n1):this.Mg.set("backgroundColorDirection",m.M0)}if(v)for(y=0;y<this.Pr.length;y++)this.Pr[y].set("visible",y==this.nf);g.prototype.Va.call(this)};return a});define("nS",["require","cW","nx"],function(a){var e=a("cW");return a("nx").define("TabPanel",e,function(){e.call(this)})});
define("fQ",["require","lo","oc"],function(a){var e=a("lo"),h=a("oc");a=e.extend(h,function(){h.call(this);this.Be("Page");this.set("label","")});a.prototype.nb=function(){h.prototype.nb.call(this);this.h("visible")};return a});define("gP",["require","fQ","nx"],function(a){var e=a("fQ");return a("nx").define("TabPanelPage",e,function(){e.call(this)})});define("gu",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("TargetPanoramaCameraMovement",e,function(){e.call(this)})});
define("dm",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("TargetRotationalCameraDisplayMovement",e,function(){e.call(this)})});define("hP",["require","lZ","nx"],function(a){var e=a("lZ");return a("nx").define("TiledImageResourceLevel",e,function(){e.call(this)})});define("mL",["require","nx","hY"],function(a){var e=a("nx"),h=a("hY");return e.define("TripodCapPanoramaOverlay",h,function(){h.call(this)})});
define("ic","require lo y oH mQ cN bc d in md gJ oc mw iQ eg".split(" "),function(a){var e=a("lo"),h=a("y"),m=a("oH"),k=a("mQ"),b=a("cN"),g=a("bc"),d=a("d"),c=a("in"),f=a("md"),l=a("gJ"),p=a("oc"),q=a("mw"),n=a("iQ"),r=a("eg"),t=e.extend(p,function(){p.call(this);this.Ta=this.Pe=null;this.RA=[];this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",b.kA);this.set("cursor",g.df)});t.prototype.nb=function(){p.prototype.nb.call(this);
this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.N3);this.h("sourceProperties");this.h("labelFunction",this.L3);this.h("labelFontFamily");this.h("labelFontColor");this.h("labelFontSize");this.h("labelFontStyle");this.h("labelFontWeight");this.h("labelGap");this.h("labelHorizontalAlign");this.h("labelMaxWidth");this.h("labelPosition");this.h("labelTextDecoration");this.h("labelTextShadowColor");this.h("labelTextShadowHorizontalLength");this.h("labelTextShadowVerticalLength");
this.h("labelTextShadowBlurRadius");this.h("labelTextShadowOpacity");this.h("thumbnailBorderRadius");this.h("thumbnailOpacity");this.h("thumbnailBorderSize");this.h("thumbnailBorderColor");this.h("thumbnailWidth");this.h("thumbnailHeight");this.h("thumbnailMaxWidth");this.h("thumbnailMaxHeight");this.h("thumbnailShadow");this.h("thumbnailShadowHorizontalLength");this.h("thumbnailShadowVerticalLength");this.h("thumbnailShadowBlurRadius");this.h("thumbnailShadowSpread");this.h("thumbnailShadowColor");
this.h("thumbnailShadowOpacity");this.u("rollOverBackgroundOpacity",l.U,"backgroundOpacity");this.u("rollOverBackgroundColor",l.U,"backgroundColor");this.u("rollOverBackgroundColorRatios",l.U,"backgroundColorRatios");this.u("rollOverBackgroundColorDirection",l.U,"backgroundColorDirection");this.u("rollOverBorderRadius",l.U,"borderRadius");this.u("rollOverBorderTopRadius",l.U,"borderTopRadius");this.u("rollOverBorderBottomRadius",l.U,"borderBottomRadius");this.u("rollOverBorderLeftRadius",l.U,"borderLeftRadius");
this.u("rollOverBorderRightRadius",l.U,"borderRightRadius");this.u("rollOverBorderTopLeftRadius",l.U,"borderTopLeftRadius");this.u("rollOverBorderTopRightRadius",l.U,"borderTopRightRadius");this.u("rollOverBorderBottomLeftRadius",l.U,"borderBottomLeftRadius");this.u("rollOverBorderBottomRightRadius",l.U,"borderBottomRightRadius");this.u("rollOverBorderSize",l.U,"borderSize");this.u("rollOverBorderLeftSize",l.U,"borderLeftSize");this.u("rollOverBorderTopSize",l.U,"borderTopSize");this.u("rollOverBorderRightSize",
l.U,"borderRightSize");this.u("rollOverBorderBottomSize",l.U,"borderBottomSize");this.u("rollOverBorderColor",l.U,"borderColor");this.u("rollOverBorderLeftColor",l.U,"borderLeftColor");this.u("rollOverBorderTopColor",l.U,"borderTopColor");this.u("rollOverBorderRightColor",l.U,"borderRightColor");this.u("rollOverBorderBottomColor",l.U,"borderBottomColor");this.u("rollOverLabelFontColor",l.U,"labelFontColor");this.u("rollOverLabelFontSize",l.U,"labelFontSize");this.u("rollOverLabelFontStyle",l.U,"labelFontStyle");
this.u("rollOverLabelFontWeight",l.U,"labelFontWeight");this.u("rollOverLabelTextDecoration",l.U,"labelTextDecoration");this.u("rollOverLabelTextShadowColor",l.U,"labelTextShadowColor");this.u("rollOverLabelTextShadowHorizontalLength",l.U,"labelTextShadowHorizontalLength");this.u("rollOverLabelTextShadowVerticalLength",l.U,"labelTextShadowVerticalLength");this.u("rollOverLabelTextShadowBlurRadius",l.U,"labelTextShadowBlurRadius");this.u("rollOverLabelTextShadowOpacity",l.U,"labelTextShadowOpacity");
this.u("rollOverOpacity",l.U,"opacity");this.u("rollOverPaddingLeft",l.U,"paddingLeft");this.u("rollOverPaddingTop",l.U,"paddingTop");this.u("rollOverPaddingRight",l.U,"paddingRight");this.u("rollOverPaddingBottom",l.U,"paddingBottom");this.u("rollOverShadow",l.U,"shadow");this.u("rollOverThumbnailOpacity",l.U,"thumbnailOpacity");this.u("rollOverThumbnailBorderSize",l.U,"thumbnailBorderSize");this.u("rollOverThumbnailBorderColor",l.U,"thumbnailBorderColor");this.u("rollOverThumbnailShadow",l.U,"thumbnailShadow");
this.u("rollOverThumbnailShadowHorizontalLength",l.U,"thumbnailShadowHorizontalLength");this.u("rollOverThumbnailShadowVerticalLength",l.U,"thumbnailShadowVerticalLength");this.u("rollOverThumbnailShadowBlurRadius",l.U,"thumbnailShadowBlurRadius");this.u("rollOverThumbnailShadowSpread",l.U,"thumbnailShadowSpread");this.u("rollOverThumbnailShadowColor",l.U,"thumbnailShadowColor");this.u("rollOverThumbnailShadowOpacity",l.U,"thumbnailShadowOpacity");this.u("selectedBackgroundOpacity",l.ca,"backgroundOpacity");
this.u("selectedBackgroundColor",l.ca,"backgroundColor");this.u("selectedBackgroundColorRatios",l.ca,"backgroundColorRatios");this.u("selectedBackgroundColorDirection",l.ca,"backgroundColorDirection");this.u("selectedBorderRadius",l.ca,"borderRadius");this.u("selectedBorderTopRadius",l.ca,"borderTopRadius");this.u("selectedBorderBottomRadius",l.ca,"borderBottomRadius");this.u("selectedBorderLeftRadius",l.ca,"borderLeftRadius");this.u("selectedBorderRightRadius",l.ca,"borderRightRadius");this.u("selectedBorderTopLeftRadius",
l.ca,"borderTopLeftRadius");this.u("selectedBorderTopRightRadius",l.ca,"borderTopRightRadius");this.u("selectedBorderBottomLeftRadius",l.ca,"borderBottomLeftRadius");this.u("selectedBorderBottomRightRadius",l.ca,"borderBottomRightRadius");this.u("selectedBorderSize",l.ca,"borderSize");this.u("selectedBorderLeftSize",l.ca,"borderLeftSize");this.u("selectedBorderTopSize",l.ca,"borderTopSize");this.u("selectedBorderRightSize",l.ca,"borderRightSize");this.u("selectedBorderBottomSize",l.ca,"borderBottomSize");
this.u("selectedBorderColor",l.ca,"borderColor");this.u("selectedBorderLeftColor",l.ca,"borderLeftColor");this.u("selectedBorderTopColor",l.ca,"borderTopColor");this.u("selectedBorderRightColor",l.ca,"borderRightColor");this.u("selectedBorderBottomColor",l.ca,"borderBottomColor");this.u("selectedLabelFontColor",l.ca,"labelFontColor");this.u("selectedLabelFontSize",l.ca,"labelFontSize");this.u("selectedLabelFontStyle",l.ca,"labelFontStyle");this.u("selectedLabelFontWeight",l.ca,"labelFontWeight");
this.u("selectedLabelTextDecoration",l.ca,"labelTextDecoration");this.u("selectedLabelTextShadowColor",l.ca,"labelTextShadowColor");this.u("selectedLabelTextShadowHorizontalLength",l.ca,"labelTextShadowHorizontalLength");this.u("selectedLabelTextShadowVerticalLength",l.ca,"labelTextShadowVerticalLength");this.u("selectedLabelTextShadowBlurRadius",l.ca,"labelTextShadowBlurRadius");this.u("selectedLabelTextShadowOpacity",l.ca,"labelTextShadowOpacity");this.u("selectedOpacity",l.ca,"opacity");this.u("selectedPaddingLeft",
l.ca,"paddingLeft");this.u("selectedPaddingTop",l.ca,"paddingTop");this.u("selectedPaddingRight",l.ca,"paddingRight");this.u("selectedPaddingBottom",l.ca,"paddingBottom");this.u("selectedShadow",l.ca,"shadow");this.u("selectedThumbnailOpacity",l.ca,"thumbnailOpacity");this.u("selectedThumbnailBorderSize",l.ca,"thumbnailBorderSize");this.u("selectedThumbnailBorderColor",l.ca,"thumbnailBorderColor");this.u("selectedThumbnailShadow",l.ca,"thumbnailShadow");this.u("selectedThumbnailShadowHorizontalLength",
l.ca,"thumbnailShadowHorizontalLength");this.u("selectedThumbnailShadowVerticalLength",l.ca,"thumbnailShadowVerticalLength");this.u("selectedThumbnailShadowBlurRadius",l.ca,"thumbnailShadowBlurRadius");this.u("selectedThumbnailShadowSpread",l.ca,"thumbnailShadowSpread");this.u("selectedThumbnailShadowColor",l.ca,"thumbnailShadowColor");this.u("selectedThumbnailShadowOpacity",l.ca,"thumbnailShadowOpacity")};t.prototype.kQ=function(u){this.sN(u)};t.prototype.Ab=function(){p.prototype.Ab.call(this);
this.Pe||(this.Pe=new q,this.Wa(this.Pe),this.Pe.set("horizontalAlign",k.Ge),this.Pe.set("verticalAlign",k.he),this.Pe.bind(m.Z,this.z$,this));this.Ta||(this.Ta=new n,this.Wa(this.Ta))};t.prototype.N3=function(u){if(r(u).isString())return u;if(u&&u.Bea)return u.Bea};t.prototype.L3=function(u){if(u&&u.label)return u.label};t.prototype.Va=function(){if(this.I("sourceProperties")||this.I("item")){for(;this.RA.length;)this.RA.pop().Iz();var u=this.B("sourceProperties"),v=this.B("item");u&&v&&u.forEach(function(x){this.RA.push(h.Ws(v,
x,this.N7,this,!0))}.bind(this))}if(this.I("sourceProperties")||this.I("item")||this.I("tooltipFunction"))v=this.B("item"),u=this.B("tooltipFunction")(v),this.set("toolTip",u);if(this.I("sourceProperties")||this.I("item")||this.I("thumbnailUrlFunction"))v=this.B("item"),(u=this.B("thumbnailUrlFunction")(v))?this.Pe.get("url")!=u&&this.Pe.ja({url:u,visible:!0,opacity:.5}):this.Pe.ja({url:void 0,visible:!1}),this.P("thumbnailUrlFunction");if(this.I("sourceProperties")||this.I("item")||this.I("labelFunction"))v=
this.B("item"),u=this.B("labelFunction")(v),this.Ta.ja({text:u,visible:u?!0:!1}),this.P("labelFunction");this.P("item");this.P("sourceProperties");if(this.I("labelPosition")||this.I("listLayout")||this.I("thumbnailWidth")||this.I("thumbnailHeight")){var w=this;u=function(x,y){x=w.B(x);return void 0!==x?x:y};switch(this.B("labelPosition")){case c.Pa:case c.hb:this.set("layout",d.Dg);this.Ta.set("width","100%");this.Pe.ja({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",
f.Tj)});break;default:this.set("layout",d.uh),this.Ta.set("width","100%"),this.Pe.ja({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth","100%"),scaleMode:u("thumbnailScaleMode",f.Tj)})}switch(this.B("labelPosition")){case c.Pa:case c.uc:this.pn(this.Ta,0);break;default:this.pn(this.Ta,1)}this.P("labelPosition")}this.lc(t.D1,t.Xga,[this],!0,!0);this.lc(t.F1,t.$ga,[this.Pe],!0,!0);this.lc(t.E1,t.Zga,[this.Ta],!0,!0);p.prototype.Va.call(this)};t.prototype.N7=function(){this.JC("item")};t.prototype.GC=
function(u){p.prototype.GC.call(this,u)};t.prototype.z$=function(){this.Pe.set("opacity",1)};t.Xga={labelGap:"gap"};t.D1=r(t.Xga).keys();t.Zga={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelHorizontalAlign:"horizontalAlign",labelMaxWidth:"maxWidth",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",
labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity"};t.E1=r(t.Zga).keys();t.$ga={thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",
thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};t.F1=r(t.$ga).keys();return t});
define("bS","require lo cy mQ oH cN d hH in oc ic eg".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("mQ"),k=a("oH");a("cN");var b=a("d"),g=a("hH"),d=a("in"),c=a("oc"),f=a("ic");a=a("eg");var l=e.extend(c,function(){c.call(this);this.set("contentOpaque",!0)});l.prototype.nb=function(){c.prototype.nb.call(this);this.h("layout",b.Cw);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",g.cp);this.h("itemHorizontalAlign",m.Ge);this.h("itemLabelFontFamily");this.h("itemLabelPosition",d.pc);
this.h("itemLabelFunction");this.h("itemLabelMaxWidth");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Ge);this.h("itemSourceProperties");this.h("itemThumbnailBorderRadius");this.h("itemThumbnailScaleMode");this.h("itemThumbnailWidth");this.h("itemThumbnailHeight");this.h("itemThumbnailMaxWidth");this.h("itemThumbnailMaxHeight");this.h("itemThumbnailUrlFunction");this.h("itemTooltipFunction");this.h("itemVerticalAlign",m.he);this.h("itemBackgroundOpacity");this.h("itemBackgroundColor");
this.h("itemBackgroundColorRatios");this.h("itemBackgroundColorDirection");this.h("itemBorderRadius");this.h("itemBorderTopRadius");this.h("itemBorderBottomRadius");this.h("itemBorderLeftRadius");this.h("itemBorderRightRadius");this.h("itemBorderTopLeftRadius");this.h("itemBorderTopRightRadius");this.h("itemBorderBottomLeftRadius");this.h("itemBorderBottomRightRadius");this.h("itemBorderSize");this.h("itemBorderLeftSize");this.h("itemBorderTopSize");this.h("itemBorderRightSize");this.h("itemBorderBottomSize");
this.h("itemBorderColor");this.h("itemBorderLeftColor");this.h("itemBorderTopColor");this.h("itemBorderRightColor");this.h("itemBorderBottomColor");this.h("itemLabelFontColor");this.h("itemLabelFontSize");this.h("itemLabelFontStyle");this.h("itemLabelFontWeight");this.h("itemLabelMaxWidth");this.h("itemLabelTextDecoration");this.h("itemLabelTextShadowColor");this.h("itemLabelTextShadowHorizontalLength");this.h("itemLabelTextShadowVerticalLength");this.h("itemLabelTextShadowBlurRadius");this.h("itemLabelTextShadowOpacity");
this.h("itemOpacity");this.h("itemPaddingLeft");this.h("itemPaddingTop");this.h("itemPaddingRight");this.h("itemPaddingBottom");this.h("itemShadow");this.h("itemThumbnailOpacity");this.h("itemThumbnailBorderSize");this.h("itemThumbnailBorderColor");this.h("itemThumbnailShadow");this.h("itemThumbnailShadowHorizontalLength");this.h("itemThumbnailShadowVerticalLength");this.h("itemThumbnailShadowBlurRadius");this.h("itemThumbnailShadowSpread");this.h("itemThumbnailShadowColor");this.h("itemThumbnailShadowOpacity");
this.h("rollOverItemBackgroundOpacity");this.h("rollOverItemBackgroundColor");this.h("rollOverItemBackgroundColorRatios");this.h("rollOverItemBackgroundColorDirection");this.h("rollOverItemBorderRadius");this.h("rollOverItemBorderTopRadius");this.h("rollOverItemBorderBottomRadius");this.h("rollOverItemBorderLeftRadius");this.h("rollOverItemBorderRightRadius");this.h("rollOverItemBorderTopLeftRadius");this.h("rollOverItemBorderTopRightRadius");this.h("rollOverItemBorderBottomLeftRadius");this.h("rollOverItemBorderBottomRightRadius");
this.h("rollOverItemBorderSize");this.h("rollOverItemBorderLeftSize");this.h("rollOverItemBorderTopSize");this.h("rollOverItemBorderRightSize");this.h("rollOverItemBorderBottomSize");this.h("rollOverItemBorderColor");this.h("rollOverItemBorderLeftColor");this.h("rollOverItemBorderTopColor");this.h("rollOverItemBorderRightColor");this.h("rollOverItemBorderBottomColor");this.h("rollOverItemLabelFontSize");this.h("rollOverItemLabelFontStyle");this.h("rollOverItemLabelFontWeight");this.h("rollOverItemLabelTextDecoration");
this.h("rollOverItemLabelTextShadowColor");this.h("rollOverItemLabelTextShadowHorizontalLength");this.h("rollOverItemLabelTextShadowVerticalLength");this.h("rollOverItemLabelTextShadowBlurRadius");this.h("rollOverItemLabelTextShadowOpacity");this.h("rollOverItemOpacity");this.h("rollOverItemPaddingLeft");this.h("rollOverItemPaddingTop");this.h("rollOverItemPaddingRight");this.h("rollOverItemPaddingBottom");this.h("rollOverItemShadow");this.h("rollOverItemThumbnailOpacity");this.h("rollOverItemThumbnailBorderSize");
this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
this.h("selectedItemBorderRadius");this.h("selectedItemBorderTopRadius");this.h("selectedItemBorderBottomRadius");this.h("selectedItemBorderLeftRadius");this.h("selectedItemBorderRightRadius");this.h("selectedItemBorderTopLeftRadius");this.h("selectedItemBorderTopRightRadius");this.h("selectedItemBorderBottomLeftRadius");this.h("selectedItemBorderBottomRightRadius");this.h("selectedItemBorderSize");this.h("selectedItemBorderLeftSize");this.h("selectedItemBorderTopSize");this.h("selectedItemBorderRightSize");
this.h("selectedItemBorderBottomSize");this.h("selectedItemBorderColor");this.h("selectedItemBorderLeftColor");this.h("selectedItemBorderTopColor");this.h("selectedItemBorderRightColor");this.h("selectedItemBorderBottomColor");this.h("selectedItemLabelFontSize");this.h("selectedItemLabelFontStyle");this.h("selectedItemLabelFontWeight");this.h("selectedItemLabelTextDecoration");this.h("selectedItemLabelTextShadowColor");this.h("selectedItemLabelTextShadowHorizontalLength");this.h("selectedItemLabelTextShadowVerticalLength");
this.h("selectedItemLabelTextShadowBlurRadius");this.h("selectedItemLabelTextShadowOpacity");this.h("selectedItemOpacity");this.h("selectedItemPaddingLeft");this.h("selectedItemPaddingTop");this.h("selectedItemPaddingRight");this.h("selectedItemPaddingBottom");this.h("selectedItemShadow");this.h("selectedItemThumbnailOpacity");this.h("selectedItemThumbnailBorderSize");this.h("selectedItemThumbnailBorderColor");this.h("selectedItemThumbnailShadow");this.h("selectedItemThumbnailShadowHorizontalLength");
this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};l.prototype.gL=function(p){this.wo=!0;this.set("selectedIndex",this.h5(p.source))};l.prototype.h5=function(p){for(var q=this.Kb(),n=0;n<q.length;n++)if(q[n]==p)return n;return-1};l.prototype.Va=function(){this.I("layout")&&this.B("layout")!=b.Cw&&this.set("layout",b.Cw);
var p=!1;if(this.I("items")){p=!0;var q=this.B("items")||[],n=this.Kb();if(n.length<q.length){for(var r=n.length;r<q.length;r++)n=new f,n.bind(k.qa,this.gL,this),this.lc(l.xJ,l.xA,[n],!1,!1),this.lc(l.yJ,l.yA,[n],!1,!1),this.Wa(n);n=this.Kb()}if(n.length>q.length){for(r=q.length;r<n.length;r++){var t=n[r];t.unbind(k.qa,this.gL,this);this.removeChild(t)}n=this.Kb()}for(r=0;r<q.length;r++)n[r].set("item",q[r]);this.P("items")}if(this.I("selectedIndex")||p){q=this.Kb();p=Math.min(q.length-1,Math.max(-1,
this.B("selectedIndex")));this.set("selectedIndex",p);for(r=0;r<q.length;r++)q[r].kQ(r==p);this.P("selectedIndex");this.wo&&(this.wo=!1,this.trigger(new h(k.pa)))}this.lc(l.xJ,l.xA,this.Kb(),!0,!1);this.lc(l.yJ,l.yA,this.Kb(),!0,!0);c.prototype.Va.call(this)};l.xA={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.yA=
{itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",
itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",
itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",
itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",
itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",
itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",
rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",
rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",
rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",
rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",
rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroundOpacity:"selectedBackgroundOpacity",
selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",
selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",
selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",
selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",
selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",
selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",
toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",
toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};l.xJ=a(l.xA).keys();l.yJ=a(l.yA).keys();return l});
define("jZ","require oH bS nx jD ed bP".split(" "),function(a){var e=a("oH"),h=a("bS"),m=a("nx"),k=a("jD"),b=a("ed"),g=a("bP");a=m.define("ThumbnailGrid",h,function(){h.call(this);this.od=null;this.set("itemMode","normal");this.zp=!1;this.PJ=new k(this,"buttonScrollDown",b.Ie);this.PJ.bind(e.qa,this.kza,this);this.QJ=new k(this,"buttonScrollLeft",b.Ie);this.QJ.bind(e.qa,this.scrollLeft,this);this.RJ=new k(this,"buttonScrollRight",b.Ie);this.RJ.bind(e.qa,this.lza,this);this.SJ=new k(this,"buttonScrollUp",
b.Ie);this.SJ.bind(e.qa,this.mza,this);this.bind(e.pa,this.RMa,this)});a.prototype.am=function(){h.prototype.am.call(this);this.VC()};a.prototype.Bv=function(){h.prototype.Bv.call(this);this.VC()};a.prototype.VC=function(){this.PJ.set("visible",!this.zp||this.NR());this.SJ.set("visible",!this.zp||this.QR());this.QJ.set("visible",!this.zp||this.OR());this.RJ.set("visible",!this.zp||this.PR())};a.prototype.set=function(d,c){if("itemMode"==d)switch(c){case "thumbnail-only":this.set("itemLabelFunction",
this.zu);this.set("itemThumbnailUrlFunction",this.iL);this.set("itemTooltipFunction",this.JB);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.JB);this.set("itemThumbnailUrlFunction",this.zu);this.set("itemTooltipFunction",this.zu);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.JB),this.set("itemThumbnailUrlFunction",this.iL),
this.set("itemTooltipFunction",this.zu),this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==d?(this.od&&this.od.unbind("change",this.Qu,this),(this.od=c)?(this.set("items",this.od.get("items")),this.set("selectedIndex",this.od.get("selectedIndex")),this.od.bind("change",this.Qu,this,!0)):this.set("items",[])):"hideScrollButtons"==d?(this.zp=c,this.VC()):h.prototype.set.call(this,d,c)};a.prototype.get=function(d,c){switch(d){case "playList":return this.od;
default:return h.prototype.get.call(this,d,c)}};a.prototype.Qu=function(){this.set("items",this.od.get("items"));this.set("selectedIndex",this.od.get("selectedIndex"))};a.prototype.RMa=function(){this.od&&this.od.set("selectedIndex",this.get("selectedIndex"))};a.prototype.zu=function(){};a.prototype.JB=function(d){return d.get("label")||d.get("media").get("label")};a.prototype.iL=function(d){d=d.get("media");var c=d.get("thumbnailUrl");d.get("flipImageHorizontally")&&(c=g.aua(c));return c};return a});
define("kv","require lo y oH mQ cN bc d in md gJ oc mw iQ eg".split(" "),function(a){var e=a("lo"),h=a("y"),m=a("oH"),k=a("mQ"),b=a("cN"),g=a("bc"),d=a("d"),c=a("in"),f=a("md"),l=a("gJ"),p=a("oc"),q=a("mw"),n=a("iQ"),r=a("eg"),t=e.extend(p,function(){p.call(this);this.Ta=this.Pe=null;this.RA=[];this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",b.kA);this.set("cursor",g.df)});t.prototype.nb=function(){p.prototype.nb.call(this);
this.h("listLayout");this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.N3);this.h("sourceProperties");this.h("labelFunction",this.L3);this.h("labelFontFamily");this.h("labelFontColor");this.h("labelFontSize");this.h("labelFontStyle");this.h("labelFontWeight");this.h("labelGap");this.h("labelHorizontalAlign");this.h("labelPosition");this.h("labelTextDecoration");this.h("labelTextShadowColor");this.h("labelTextShadowHorizontalLength");this.h("labelTextShadowVerticalLength");
this.h("labelTextShadowBlurRadius");this.h("labelTextShadowOpacity");this.h("thumbnailBorderRadius");this.h("thumbnailOpacity");this.h("thumbnailBorderSize");this.h("thumbnailBorderColor");this.h("thumbnailWidth");this.h("thumbnailHeight");this.h("thumbnailMaxWidth");this.h("thumbnailMaxHeight");this.h("thumbnailShadow");this.h("thumbnailShadowHorizontalLength");this.h("thumbnailShadowVerticalLength");this.h("thumbnailShadowBlurRadius");this.h("thumbnailShadowSpread");this.h("thumbnailShadowColor");
this.h("thumbnailShadowOpacity");this.u("rollOverBackgroundOpacity",l.U,"backgroundOpacity");this.u("rollOverBackgroundColor",l.U,"backgroundColor");this.u("rollOverBackgroundColorRatios",l.U,"backgroundColorRatios");this.u("rollOverBackgroundColorDirection",l.U,"backgroundColorDirection");this.u("rollOverBorderRadius",l.U,"borderRadius");this.u("rollOverBorderTopRadius",l.U,"borderTopRadius");this.u("rollOverBorderBottomRadius",l.U,"borderBottomRadius");this.u("rollOverBorderLeftRadius",l.U,"borderLeftRadius");
this.u("rollOverBorderRightRadius",l.U,"borderRightRadius");this.u("rollOverBorderTopLeftRadius",l.U,"borderTopLeftRadius");this.u("rollOverBorderTopRightRadius",l.U,"borderTopRightRadius");this.u("rollOverBorderBottomLeftRadius",l.U,"borderBottomLeftRadius");this.u("rollOverBorderBottomRightRadius",l.U,"borderBottomRightRadius");this.u("rollOverBorderSize",l.U,"borderSize");this.u("rollOverBorderLeftSize",l.U,"borderLeftSize");this.u("rollOverBorderTopSize",l.U,"borderTopSize");this.u("rollOverBorderRightSize",
l.U,"borderRightSize");this.u("rollOverBorderBottomSize",l.U,"borderBottomSize");this.u("rollOverBorderColor",l.U,"borderColor");this.u("rollOverBorderLeftColor",l.U,"borderLeftColor");this.u("rollOverBorderTopColor",l.U,"borderTopColor");this.u("rollOverBorderRightColor",l.U,"borderRightColor");this.u("rollOverBorderBottomColor",l.U,"borderBottomColor");this.u("rollOverLabelFontColor",l.U,"labelFontColor");this.u("rollOverLabelFontSize",l.U,"labelFontSize");this.u("rollOverLabelFontStyle",l.U,"labelFontStyle");
this.u("rollOverLabelFontWeight",l.U,"labelFontWeight");this.u("rollOverLabelTextDecoration",l.U,"labelTextDecoration");this.u("rollOverLabelTextShadowColor",l.U,"labelTextShadowColor");this.u("rollOverLabelTextShadowHorizontalLength",l.U,"labelTextShadowHorizontalLength");this.u("rollOverLabelTextShadowVerticalLength",l.U,"labelTextShadowVerticalLength");this.u("rollOverLabelTextShadowBlurRadius",l.U,"labelTextShadowBlurRadius");this.u("rollOverLabelTextShadowOpacity",l.U,"labelTextShadowOpacity");
this.u("rollOverOpacity",l.U,"opacity");this.u("rollOverPaddingLeft",l.U,"paddingLeft");this.u("rollOverPaddingTop",l.U,"paddingTop");this.u("rollOverPaddingRight",l.U,"paddingRight");this.u("rollOverPaddingBottom",l.U,"paddingBottom");this.u("rollOverShadow",l.U,"shadow");this.u("rollOverThumbnailOpacity",l.U,"thumbnailOpacity");this.u("rollOverThumbnailBorderSize",l.U,"thumbnailBorderSize");this.u("rollOverThumbnailBorderColor",l.U,"thumbnailBorderColor");this.u("rollOverThumbnailShadow",l.U,"thumbnailShadow");
this.u("rollOverThumbnailShadowHorizontalLength",l.U,"thumbnailShadowHorizontalLength");this.u("rollOverThumbnailShadowVerticalLength",l.U,"thumbnailShadowVerticalLength");this.u("rollOverThumbnailShadowBlurRadius",l.U,"thumbnailShadowBlurRadius");this.u("rollOverThumbnailShadowSpread",l.U,"thumbnailShadowSpread");this.u("rollOverThumbnailShadowColor",l.U,"thumbnailShadowColor");this.u("rollOverThumbnailShadowOpacity",l.U,"thumbnailShadowOpacity");this.u("selectedBackgroundOpacity",l.ca,"backgroundOpacity");
this.u("selectedBackgroundColor",l.ca,"backgroundColor");this.u("selectedBackgroundColorRatios",l.ca,"backgroundColorRatios");this.u("selectedBackgroundColorDirection",l.ca,"backgroundColorDirection");this.u("selectedBorderRadius",l.ca,"borderRadius");this.u("selectedBorderTopRadius",l.ca,"borderTopRadius");this.u("selectedBorderBottomRadius",l.ca,"borderBottomRadius");this.u("selectedBorderLeftRadius",l.ca,"borderLeftRadius");this.u("selectedBorderRightRadius",l.ca,"borderRightRadius");this.u("selectedBorderTopLeftRadius",
l.ca,"borderTopLeftRadius");this.u("selectedBorderTopRightRadius",l.ca,"borderTopRightRadius");this.u("selectedBorderBottomLeftRadius",l.ca,"borderBottomLeftRadius");this.u("selectedBorderBottomRightRadius",l.ca,"borderBottomRightRadius");this.u("selectedBorderSize",l.ca,"borderSize");this.u("selectedBorderLeftSize",l.ca,"borderLeftSize");this.u("selectedBorderTopSize",l.ca,"borderTopSize");this.u("selectedBorderRightSize",l.ca,"borderRightSize");this.u("selectedBorderBottomSize",l.ca,"borderBottomSize");
this.u("selectedBorderColor",l.ca,"borderColor");this.u("selectedBorderLeftColor",l.ca,"borderLeftColor");this.u("selectedBorderTopColor",l.ca,"borderTopColor");this.u("selectedBorderRightColor",l.ca,"borderRightColor");this.u("selectedBorderBottomColor",l.ca,"borderBottomColor");this.u("selectedLabelFontColor",l.ca,"labelFontColor");this.u("selectedLabelFontSize",l.ca,"labelFontSize");this.u("selectedLabelFontStyle",l.ca,"labelFontStyle");this.u("selectedLabelFontWeight",l.ca,"labelFontWeight");
this.u("selectedLabelTextDecoration",l.ca,"labelTextDecoration");this.u("selectedLabelTextShadowColor",l.ca,"labelTextShadowColor");this.u("selectedLabelTextShadowHorizontalLength",l.ca,"labelTextShadowHorizontalLength");this.u("selectedLabelTextShadowVerticalLength",l.ca,"labelTextShadowVerticalLength");this.u("selectedLabelTextShadowBlurRadius",l.ca,"labelTextShadowBlurRadius");this.u("selectedLabelTextShadowOpacity",l.ca,"labelTextShadowOpacity");this.u("selectedOpacity",l.ca,"opacity");this.u("selectedPaddingLeft",
l.ca,"paddingLeft");this.u("selectedPaddingTop",l.ca,"paddingTop");this.u("selectedPaddingRight",l.ca,"paddingRight");this.u("selectedPaddingBottom",l.ca,"paddingBottom");this.u("selectedShadow",l.ca,"shadow");this.u("selectedThumbnailOpacity",l.ca,"thumbnailOpacity");this.u("selectedThumbnailBorderSize",l.ca,"thumbnailBorderSize");this.u("selectedThumbnailBorderColor",l.ca,"thumbnailBorderColor");this.u("selectedThumbnailShadow",l.ca,"thumbnailShadow");this.u("selectedThumbnailShadowHorizontalLength",
l.ca,"thumbnailShadowHorizontalLength");this.u("selectedThumbnailShadowVerticalLength",l.ca,"thumbnailShadowVerticalLength");this.u("selectedThumbnailShadowBlurRadius",l.ca,"thumbnailShadowBlurRadius");this.u("selectedThumbnailShadowSpread",l.ca,"thumbnailShadowSpread");this.u("selectedThumbnailShadowColor",l.ca,"thumbnailShadowColor");this.u("selectedThumbnailShadowOpacity",l.ca,"thumbnailShadowOpacity")};t.prototype.kQ=function(u){this.sN(u)};t.prototype.Ab=function(){p.prototype.Ab.call(this);
this.Pe||(this.Pe=new q,this.Wa(this.Pe),this.Pe.set("horizontalAlign",k.Ge),this.Pe.set("verticalAlign",k.he),this.Pe.bind(m.Z,this.z$,this));this.Ta||(this.Ta=new n,this.Wa(this.Ta))};t.prototype.N3=function(u){if(r(u).isString())return u;if(u&&u.Bea)return u.Bea};t.prototype.L3=function(u){if(u&&u.label)return u.label};t.prototype.Va=function(){if(this.I("sourceProperties")||this.I("item")){for(;this.RA.length;)this.RA.pop().Iz();var u=this.B("sourceProperties"),v=this.B("item");u&&v&&u.forEach(function(x){this.RA.push(h.Ws(v,
x,this.N7,this,!0))}.bind(this))}if(this.I("sourceProperties")||this.I("item")||this.I("tooltipFunction"))v=this.B("item"),u=this.B("tooltipFunction")(v),this.set("toolTip",u);if(this.I("sourceProperties")||this.I("item")||this.I("thumbnailUrlFunction"))v=this.B("item"),(u=this.B("thumbnailUrlFunction")(v))?this.Pe.get("url")!=u&&this.Pe.ja({url:u,visible:!0,opacity:.5}):this.Pe.ja({url:void 0,visible:!1}),this.P("thumbnailUrlFunction");if(this.I("sourceProperties")||this.I("item")||this.I("labelFunction"))v=
this.B("item"),u=this.B("labelFunction")(v),this.Ta.ja({text:u,visible:u?!0:!1}),this.P("labelFunction");this.P("sourceProperties");this.P("item");if(this.I("listLayout"))switch(this.B("listLayout")){case d.uh:this.ja({width:"100%",height:void 0});break;default:this.ja({height:"100%",width:void 0})}if(this.I("labelPosition")||this.I("listLayout")||this.I("thumbnailWidth")||this.I("thumbnailHeight")){var w=this;u=function(x,y){x=w.B(x);void 0===x&&(x=y);return x};switch(this.B("labelPosition")){case c.Pa:case c.hb:this.set("layout",
d.Dg);this.Ta.set("width","100%");switch(this.B("listLayout")){case d.uh:this.Pe.ja({height:u("thumbnailHeight"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",f.Tj)});break;default:this.Pe.ja({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",f.Tj)})}break;default:switch(this.set("layout",d.uh),this.Ta.set("width",void 0),this.B("listLayout")){case d.uh:this.Pe.ja({height:u("thumbnailHeight"),width:u("thumbnailWidth","100%"),scaleMode:u("thumbnailScaleMode",
f.Xo)});break;default:this.Pe.ja({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",f.Tj)})}}switch(this.B("labelPosition")){case c.Pa:case c.uc:this.pn(this.Ta,0);break;default:this.pn(this.Ta,1)}this.P("labelPosition")}this.P("listLayout");this.lc(t.D1,t.BE,[this],!0,!0);this.lc(t.F1,t.BE,[this.Pe],!0,!0);this.lc(t.E1,t.BE,[this.Ta],!0,!0);p.prototype.Va.call(this)};t.prototype.N7=function(){this.JC("item")};t.prototype.GC=function(u){p.prototype.GC.call(this,
u)};t.prototype.z$=function(){this.Pe.set("opacity",1)};t.D1=["labelGap"];t.F1="thumbnailBorderColor thumbnailBorderRadius thumbnailBorderSize thumbnailMaxWidth thumbnailMaxHeight thumbnailOpacity thumbnailShadow thumbnailShadowHorizontalLength thumbnailShadowVerticalLength thumbnailShadowBlurRadius thumbnailShadowSpread thumbnailShadowColor thumbnailShadowOpacity".split(" ");t.E1="labelFontFamily labelFontColor labelFontSize labelFontStyle labelFontWeight labelHorizontalAlign labelTextDecoration labelTextShadowColor labelTextShadowHorizontalLength labelTextShadowVerticalLength labelTextShadowBlurRadius labelTextShadowOpacity".split(" ");
t.BE={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelGap:"gap",labelHorizontalAlign:"horizontalAlign",labelTextDecoration:"textDecoration",labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity",thumbnailMaxWidth:"maxWidth",
thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};return t});
define("M","require lo cy mQ oH d hH in oc kv eg".split(" "),function(a){var e=a("lo"),h=a("cy"),m=a("mQ"),k=a("oH"),b=a("d"),g=a("hH"),d=a("in"),c=a("oc"),f=a("kv");a=a("eg");var l=e.extend(c,function(){c.call(this);this.set("contentOpaque",!0);this.bind(k.G("selectedIndex"),this.DOa,this);this.bind(k.kc,this.cRa,this)});l.prototype.nb=function(){c.prototype.nb.call(this);this.h("layout",b.Dg);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",g.cp);this.h("itemHorizontalAlign",m.Ge);
this.h("itemLabelFontFamily");this.h("itemLabelPosition",d.pc);this.h("itemLabelFunction");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Ge);this.h("itemThumbnailBorderRadius");this.h("itemThumbnailScaleMode");this.h("itemThumbnailWidth");this.h("itemThumbnailHeight");this.h("itemThumbnailMaxWidth");this.h("itemThumbnailMaxHeight");this.h("itemThumbnailUrlFunction");this.h("itemTooltipFunction");this.h("itemSourceProperties");this.h("itemVerticalAlign",m.he);this.h("itemBackgroundOpacity");
this.h("itemBackgroundColor");this.h("itemBackgroundColorRatios");this.h("itemBackgroundColorDirection");this.h("itemBorderRadius");this.h("itemBorderTopRadius");this.h("itemBorderBottomRadius");this.h("itemBorderLeftRadius");this.h("itemBorderRightRadius");this.h("itemBorderTopLeftRadius");this.h("itemBorderTopRightRadius");this.h("itemBorderBottomLeftRadius");this.h("itemBorderBottomRightRadius");this.h("itemBorderSize");this.h("itemBorderLeftSize");this.h("itemBorderTopSize");this.h("itemBorderRightSize");
this.h("itemBorderBottomSize");this.h("itemBorderColor");this.h("itemBorderLeftColor");this.h("itemBorderTopColor");this.h("itemBorderRightColor");this.h("itemBorderBottomColor");this.h("itemLabelFontColor");this.h("itemLabelFontSize");this.h("itemLabelFontStyle");this.h("itemLabelFontWeight");this.h("itemLabelTextDecoration");this.h("itemLabelTextShadowColor");this.h("itemLabelTextShadowHorizontalLength");this.h("itemLabelTextShadowVerticalLength");this.h("itemLabelTextShadowBlurRadius");this.h("itemLabelTextShadowOpacity");
this.h("itemOpacity");this.h("itemPaddingLeft");this.h("itemPaddingTop");this.h("itemPaddingRight");this.h("itemPaddingBottom");this.h("itemShadow");this.h("itemThumbnailOpacity");this.h("itemThumbnailBorderSize");this.h("itemThumbnailBorderColor");this.h("itemThumbnailShadow");this.h("itemThumbnailShadowHorizontalLength");this.h("itemThumbnailShadowVerticalLength");this.h("itemThumbnailShadowBlurRadius");this.h("itemThumbnailShadowSpread");this.h("itemThumbnailShadowColor");this.h("itemThumbnailShadowOpacity");
this.h("rollOverItemBackgroundOpacity");this.h("rollOverItemBackgroundColor");this.h("rollOverItemBackgroundColorRatios");this.h("rollOverItemBackgroundColorDirection");this.h("rollOverItemBorderRadius");this.h("rollOverItemBorderTopRadius");this.h("rollOverItemBorderBottomRadius");this.h("rollOverItemBorderLeftRadius");this.h("rollOverItemBorderRightRadius");this.h("rollOverItemBorderTopLeftRadius");this.h("rollOverItemBorderTopRightRadius");this.h("rollOverItemBorderBottomLeftRadius");this.h("rollOverItemBorderBottomRightRadius");
this.h("rollOverItemBorderSize");this.h("rollOverItemBorderLeftSize");this.h("rollOverItemBorderTopSize");this.h("rollOverItemBorderRightSize");this.h("rollOverItemBorderBottomSize");this.h("rollOverItemBorderColor");this.h("rollOverItemBorderLeftColor");this.h("rollOverItemBorderTopColor");this.h("rollOverItemBorderRightColor");this.h("rollOverItemBorderBottomColor");this.h("rollOverItemLabelFontSize");this.h("rollOverItemLabelFontStyle");this.h("rollOverItemLabelFontWeight");this.h("rollOverItemLabelTextDecoration");
this.h("rollOverItemLabelTextShadowColor");this.h("rollOverItemLabelTextShadowHorizontalLength");this.h("rollOverItemLabelTextShadowVerticalLength");this.h("rollOverItemLabelTextShadowBlurRadius");this.h("rollOverItemLabelTextShadowOpacity");this.h("rollOverItemOpacity");this.h("rollOverItemPaddingLeft");this.h("rollOverItemPaddingTop");this.h("rollOverItemPaddingRight");this.h("rollOverItemPaddingBottom");this.h("rollOverItemShadow");this.h("rollOverItemThumbnailOpacity");this.h("rollOverItemThumbnailBorderSize");
this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
this.h("selectedItemBorderRadius");this.h("selectedItemBorderTopRadius");this.h("selectedItemBorderBottomRadius");this.h("selectedItemBorderLeftRadius");this.h("selectedItemBorderRightRadius");this.h("selectedItemBorderTopLeftRadius");this.h("selectedItemBorderTopRightRadius");this.h("selectedItemBorderBottomLeftRadius");this.h("selectedItemBorderBottomRightRadius");this.h("selectedItemBorderSize");this.h("selectedItemBorderLeftSize");this.h("selectedItemBorderTopSize");this.h("selectedItemBorderRightSize");
this.h("selectedItemBorderBottomSize");this.h("selectedItemBorderColor");this.h("selectedItemBorderLeftColor");this.h("selectedItemBorderTopColor");this.h("selectedItemBorderRightColor");this.h("selectedItemBorderBottomColor");this.h("selectedItemLabelFontSize");this.h("selectedItemLabelFontStyle");this.h("selectedItemLabelFontWeight");this.h("selectedItemLabelTextDecoration");this.h("selectedItemLabelTextShadowColor");this.h("selectedItemLabelTextShadowHorizontalLength");this.h("selectedItemLabelTextShadowVerticalLength");
this.h("selectedItemLabelTextShadowBlurRadius");this.h("selectedItemLabelTextShadowOpacity");this.h("selectedItemOpacity");this.h("selectedItemPaddingLeft");this.h("selectedItemPaddingTop");this.h("selectedItemPaddingRight");this.h("selectedItemPaddingBottom");this.h("selectedItemShadow");this.h("selectedItemThumbnailOpacity");this.h("selectedItemThumbnailBorderSize");this.h("selectedItemThumbnailBorderColor");this.h("selectedItemThumbnailShadow");this.h("selectedItemThumbnailShadowHorizontalLength");
this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};l.prototype.gL=function(p){this.wo=!0;this.set("selectedIndex",this.h5(p.source))};l.prototype.DOa=function(){this.Jqa()};l.prototype.cRa=function(){this.Jqa()};l.prototype.Jqa=function(){var p=this.get("selectedIndex"),q=this.Kb();0<=p&&p<q.length&&this.scrollIntoView(q[p])};
l.prototype.h5=function(p){for(var q=this.Kb(),n=0;n<q.length;n++)if(q[n]==p)return n;return-1};l.prototype.Va=function(){if(this.I("layout")){var p=this.B("layout");p!=b.uh&&p!=b.Dg&&this.set("layout",b.Dg)}var q=!1;if(this.I("items")){q=!0;p=this.B("items")||[];var n=this.Kb();if(n.length<p.length){for(var r=n.length;r<p.length;r++)n=new f,n.bind(k.qa,this.gL,this),this.lc(l.xJ,l.xA,[n],!1,!1),this.lc(l.yJ,l.yA,[n],!1,!1),this.Wa(n);n=this.Kb()}if(n.length>p.length){for(r=p.length;r<n.length;r++){var t=
n[r];t.unbind(k.qa,this.gL,this);this.removeChild(t)}n=this.Kb()}for(r=0;r<p.length;r++)n[r].set("item",p[r]);this.P("items")}if(this.I("selectedIndex")||q){p=this.Kb();q=Math.min(p.length-1,Math.max(-1,this.B("selectedIndex")));this.set("selectedIndex",q);for(r=0;r<p.length;r++)p[r].kQ(r==q);this.P("selectedIndex");this.wo&&(this.wo=!1,this.trigger(new h(k.pa)))}this.lc(l.xJ,l.xA,this.Kb(),!0,!1);this.lc(l.yJ,l.yA,this.Kb(),!0,!0);c.prototype.Va.call(this)};l.xA={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",
shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.yA={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",
itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",
itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",
itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",
itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",
itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",
rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",
rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",
rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",
rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",
rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",
selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",
selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",
selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",
selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",
selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",
selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",
toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",
toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};l.xJ=a(l.xA).keys();l.yJ=a(l.yA).keys();return l});
define("hr","require oH M nx jD ed bP".split(" "),function(a){var e=a("oH"),h=a("M"),m=a("nx"),k=a("jD"),b=a("ed"),g=a("bP");a=m.define("ThumbnailList",h,function(){h.call(this);this.od=null;this.zp=!1;this.PJ=new k(this,"buttonScrollDown",b.Ie);this.PJ.bind(e.qa,this.kza,this);this.QJ=new k(this,"buttonScrollLeft",b.Ie);this.QJ.bind(e.qa,this.scrollLeft,this);this.RJ=new k(this,"buttonScrollRight",b.Ie);this.RJ.bind(e.qa,this.lza,this);this.SJ=new k(this,"buttonScrollUp",b.Ie);this.SJ.bind(e.qa,
this.mza,this);this.bind(e.pa,this.SMa,this)});a.prototype.am=function(){h.prototype.am.call(this);this.VC()};a.prototype.Bv=function(){h.prototype.Bv.call(this);this.VC()};a.prototype.VC=function(){this.PJ.set("visible",!this.zp||this.NR());this.SJ.set("visible",!this.zp||this.QR());this.QJ.set("visible",!this.zp||this.OR());this.RJ.set("visible",!this.zp||this.PR())};a.prototype.set=function(d,c){if("itemMode"==d)switch(c){case "thumbnail-only":this.set("itemLabelFunction",this.zu);this.set("itemThumbnailUrlFunction",
this.iL);this.set("itemTooltipFunction",this.JB);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.JB);this.set("itemThumbnailUrlFunction",this.zu);this.set("itemTooltipFunction",this.zu);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.JB),this.set("itemThumbnailUrlFunction",this.iL),this.set("itemTooltipFunction",this.zu),this.set("itemSourceProperties",
["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==d?(this.od&&this.od.unbind("change",this.Qu,this),(this.od=c)?(this.set("items",this.od.get("items")),this.od.bind("change",this.Qu,this)):this.set("items",[])):"hideScrollButtons"==d?(this.zp=c,this.VC()):h.prototype.set.call(this,d,c)};a.prototype.get=function(d,c){switch(d){case "playList":return this.od;default:return h.prototype.get.call(this,d,c)}};a.prototype.Qu=function(){this.set("items",this.od.get("items"));
this.set("selectedIndex",this.od.get("selectedIndex"))};a.prototype.SMa=function(){this.od&&this.od.set("selectedIndex",this.get("selectedIndex"))};a.prototype.zu=function(){};a.prototype.JB=function(d){return d.get("label")||d.get("media").get("label")};a.prototype.iL=function(d){d=d.get("media");var c=d.get("thumbnailUrl");d.get("flipImageHorizontally")&&(c=g.aua(c));return c};return a});define("bX",["require","e","nx"],function(a){var e=a("e");return a("nx").define("UIComponent",e,function(){e.call(this)})});
define("jn",["require","nx","en"],function(a){var e=a("nx"),h=a("en");a=e.define("Video",h,function(){h.call(this);this.wa=void 0});a.prototype.Ls=function(){this.get("video");return[]};return a});define("gY",["require","nx","eZ"],function(a){var e=a("nx"),h=a("eZ");return e.define("VideoPanorama",h,function(){h.call(this)})});
define("jw",["require","lP","nx"],function(a){var e=a("lP");a=a("nx").define("Video360Resource",e,function(){e.call(this)});a.prototype.get=function(h,m){if(void 0===m)switch(h){case "gain":m=1}switch(h){case "levels":m=[this];break;case "subtitlesURL":case "gain":for(var k=e.prototype.get.call(this,h),b=this.get("levels"),g=0;b&&g<b.length&&void 0===k;g++){var d=b[g];d!=this&&(k=d.get(h))}return void 0!==k?k:m}return e.prototype.get.call(this,h,m)};return a});
define("dy",["require","nx","mc","gY","jw"],function(a){var e=a("nx"),h=a("mc"),m=a("gY"),k=a("jw");a=e.define("Video360",m,function(){m.call(this);this.Zn=this.yH=this.rb=void 0});a.prototype.set=function(b,g){"video"==b?this.xEa(g):"videoStereo"==b?this.yEa(g):m.prototype.set.call(this,b,g)};a.prototype.get=function(b,g){return"video"==b?void 0!==this.rb?this.rb:g:"videoStereo"==b?void 0!==this.yH?this.yH:g:m.prototype.get.call(this,b,g)};a.prototype.xEa=function(b){this.rb!=b&&(this.rb=b,b=m.prototype.get.call(this,
"frames")||[],this.rb&&(0==b.length&&b.push(new h),b[0].set("sphere",this.Uma(this.rb))),m.prototype.set.call(this,"frames",b.slice()))};a.prototype.yEa=function(b){this.yH!=b&&(this.yH=b,b=m.prototype.get.call(this,"frames")||[],this.yH&&(0==b.length&&b.push(new h),b[0].set("stereoSphere",this.Uma(this.yH))),m.prototype.set.call(this,"frames",b.slice()))};a.prototype.Uma=function(b){if(Array.isArray(b)){if(0==b.length)return;if(1==b.length&&e.Na("Video360Resource",b[0]))return b[0];var g=[];b.forEach(function(d){g=
g.concat(d.get("levels")||[d])});b=new k;b.set("levels",g)}return b};return a});define("bO",["require","nx","om"],function(a){var e=a("nx"),h=a("om");return e.define("Video360Player",h,function(){h.call(this)})});
define("jV",["require","nx","da","ih"],function(a){var e=a("nx"),h=a("da"),m=a("ih");a=e.define("Video360PlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(h.Wg,this.Pm,this),k.set("video",this.get("media")),k.set("camera",this.get("camera")),k.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(h.Wg,this.Pm,this),k.get("video")==this.get("media")&&k.set("video",
null));m.prototype.stop.call(this)};a.prototype.Pm=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.Wg,this.Pm,this),this.get("player").bind(h.fm,this.Tp,this),this.dz())};a.prototype.Tp=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.fm,this.Tp,this),this.stop(),this.end())};return a});define("ov",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("Video360ResourceLevel",e,function(){e.call(this)})});
define("fL",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("VideoCue",e,function(){e.call(this)})});
define("cf","require lP oH kO cy nx kk".split(" "),function(a){var e=a("lP"),h=a("oH"),m=a("kO"),k=a("cy"),b=a("nx"),g=a("kk");a=b.define("VideoPanoramaOverlay",e,function(){e.call(this);this.dd=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.X)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Eb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.T)};a.prototype.set=function(d,c){var f=!1;switch(d){case "state":var l=this.get("state")||m.T;
l==m.T&&c==m.X&&this.trigger(h.An);l!=c&&this.trigger(new k(h.ne,{oldState:l,state:c}));break;case "enabledInCardboard":this.set("enabledInVR",c);break;case "distance":case "hfov":case "opacity":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.dd=void 0,f=!0}e.prototype.set.call(this,d,c);f&&"playbackPositions"!=d&&this.trigger(h.G("playbackPositions"))};a.prototype.get=function(d,c){switch(d){case "playbackPositions":return void 0===
this.dd&&(this.dd=g.hca(this)),this.dd}return e.prototype.get.call(this,d,c)};return a});define("hO",["require","nx","oY"],function(a){var e=a("nx"),h=a("oY");return e.define("VideoPlaneModel3DObject",h,function(){h.call(this)})});
define("dn","require eg lo oH cy gi kO".split(" "),function(a){function e(c,f,l){this.time=c;this.cue=f;this.action=l}var h=a("eg"),m=a("lo"),k=a("oH"),b=a("cy"),g=a("gi"),d=a("kO");a=m.extend(g,function(c){g.call(this);this.j=c;this.Pc=null;this.wk=!1;this.Mi=[];this.tm=void 0;this.ve=[]});a.prototype.clear=function(){this.j=null;this.UA();this.Mi=[];this.ve=[]};a.prototype.start=function(c){this.end();this.E9(c);this.p3();this.j$();this.$C()};a.prototype.E9=function(c){this.UA();this.Pc=c;this.Pc.bind(k.G("currentTime"),
this.$C,this,!0);this.Pc.bind(k.G("state"),this.j$,this,!0);this.Pc.bind(k.sb,this.tO,this,!0)};a.prototype.UA=function(){this.Pc&&(this.Pc.unbind(k.G("currentTime"),this.$C,this),this.Pc.unbind(k.G("state"),this.j$,this),this.Pc.unbind(k.sb,this.tO,this),this.Pc=null)};a.prototype.end=function(){this.TJ();this.UA();this.wk=!1};a.prototype.j$=function(c){c=c!=d.T;this.wk!=c&&((this.wk=c)?this.PW():this.TJ())};a.prototype.tO=function(){this.$C()};a.prototype.PW=function(){this.tm=this.$E=0};a.prototype.$C=
function(){if(this.Pc&&this.wk){var c=this.ve.slice(),f=this.Pc.get("currentTime",0),l=f-this.$E;0>l&&(this.ve=[],this.tm=0);l=0<=l&&2>l;this.$E=f;var p;for(p=this.tm;p<this.Mi.length&&!(this.Mi[p].time>f);p++);for(;this.tm<p;this.tm++)f=this.Mi[this.tm],"start"==f.action?(this.ve=h(this.ve).union([f.cue]),l&&f.cue.trigger(new b(k.Tq))):(this.ve=h(this.ve).difference([f.cue]),l&&f.cue.trigger(new b(k.sb)));c.length==this.ve.length&&h(c).intersection(this.ve).length==this.ve.length||this.bO()}};a.prototype.TJ=
function(){0<this.ve.length&&(this.ve=[],this.bO())};a.prototype.bO=function(){this.Pc.trigger(new b(k.Wk,{activeCues:this.ve.slice()}))};a.prototype.p3=function(){this.Mi=[];var c=this.Pc.get("cues",[]);h(c).each(function(f){this.Mi.push(new e(f.get("startTime",0),f,"start"));this.Mi.push(new e(f.get("endTime",Number.POSITIVE_INFINITY),f,"end"))},this);this.Mi.sort(function(f,l){return f.time==l.time?f.action==l.start?0:"start"==f.action?-1:1:f.time-l.time})};return a});
define("nA","require lo bg cy gi oH md".split(" "),function(a){var e=a("lo"),h=a("bg"),m=a("cy"),k=a("gi");a("oH");a("md");var b=e.extend(k,function(g,d){k.call(this);this.M=g;this.j=d;this.kC=[];this.oa=b.vh;this.bi=null;this.T3=void 0;this.Ni=null;this.yg=this.Pg=void 0});b.prototype.display=function(g,d){this.U2();if(this.Ni!=g||this.oa!=b.vh)this.kC.push({video:g,startTime:d}),this.qoa()};b.prototype.hide=function(){this.U2();this.kC.push({video:null,startTime:void 0});this.qoa()};b.prototype.clear=
function(){this.oa=b.vh;this.U2();this.UNa();this.cqa();this.j=null};b.prototype.mh=function(g){this.oa==b.vh||this.oa!=b.Dn&&this.oa!=b.Nw&&this.oa!=b.zA||(this.yg+=g,g=Math.min(1,this.yg/this.Pg),this.oa==b.Dn?this.bi.set("opacity",g):this.oa==b.zA?(this.bi.set("opacity",Math.min(1,2*g)),this.Ni.set("opacity",Math.min(1,2*(1-g)))):this.Ni.set("opacity",1-g),this.yg<this.Pg?this.Ma():this.Bx())};b.prototype.qoa=function(){0<this.kC.length&&this.oa==b.vh&&this.jp()};b.prototype.jp=function(){this.Ni&&
this.trigger(new m(b.dA,{video:this.Ni}));if("fade_out_fade_in"==this.M.get("transitionMode","blending")&&this.Ni)this.Vw();else{var g=this.kC.shift();this.bi=g.video;this.T3=g.startTime;this.bi?this.bi.get("chromaColor")&&this.Ni?this.w2():this.KJ():this.Ni&&this.Vw()}};b.prototype.KJ=function(){this.sha();this.yg=0;this.Pg=this.M.get("transitionDuration");this.oa=b.Dn;this.Ma()};b.prototype.w2=function(){this.sha();this.yg=0;this.Pg=2*this.M.get("transitionDuration");this.oa=b.zA;this.Ma()};b.prototype.Vw=
function(){this.bi=null;this.yg=0;this.Pg=this.M.get("transitionDuration");this.oa=b.Nw;this.Ma()};b.prototype.Bx=function(){this.cqa();this.Ni=this.bi;this.bi=null;this.oa=b.vh;this.Ni?this.trigger(new m(b.eA,{video:this.Ni})):0==this.kC.length&&this.trigger(new m(b.dfa));0!=this.kC.length&&this.jp()};b.prototype.Ma=function(){h.requestFrame(this.mh,this)};b.prototype.U2=function(){this.kC=[]};b.prototype.sha=function(){this.bi&&(this.bi.set("opacity",0),this.bi.set("zIndex",1),this.Ni&&this.Ni.set("zIndex",
0),this.bi.set("currentTime",this.T3||0),this.j.DTa(this.bi),this.trigger(new m(b.F0,{video:this.bi,startTime:this.T3})))};b.prototype.cqa=function(){this.Ni&&(this.j.aza(this.Ni),this.trigger(new m(b.QQ,{video:this.Ni})),this.Ni=null)};b.prototype.UNa=function(){this.bi&&(this.j.aza(this.bi),this.trigger(new m(b.QQ,{video:this.bi})),this.bi=null)};b.vh="stopped";b.Dn="blending";b.zA="double blending";b.Nw="disolving";b.Db="request frame";b.F0="video added";b.QQ="video removed";b.eA="video show";
b.dA="video hide";b.dfa="all pending videos hidden";return b});
define("jg","require lo oH cy gi kO".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("cy"),k=a("gi"),b=a("kO"),g=e.extend(k,function(){k.call(this);this.Pc=null;this.jf=!1;this.E3=b.T});g.prototype.start=function(d){this.end();this.E9(d)};g.prototype.end=function(){this.stop();this.UA()};g.prototype.clear=function(){this.UA()};g.prototype.play=function(){this.Pc&&this.Pc.set("state",b.X)};g.prototype.pause=function(){this.Pc&&this.Pc.set("state",b.Eb)};g.prototype.stop=function(){this.Pc&&this.Pc.set("state",
b.T)};g.prototype.Hf=function(d){this.jf=d;this.Pc&&this.Pc.set("mute",this.jf)};g.prototype.setTime=function(d){this.Pc&&this.Pc.set("currentTime",d)};g.prototype.getTime=function(){if(this.Pc)return this.Pc.get("currentTime")};g.prototype.E9=function(d){this.UA();this.Pc=d;this.Pc.set("mute",this.jf);this.Pc.bind(h.G("state"),this.cH,this,!0);this.Pc.bind(h.G("currentTime"),this.aD,this,!0);this.Pc.bind(h.sb,this.tO,this,!0)};g.prototype.UA=function(){this.Pc&&(this.Pc.unbind(h.G("state"),this.cH,
this),this.Pc.unbind(h.G("currentTime"),this.aD,this),this.Pc.unbind(h.sb,this.tO,this),this.Pc=null)};g.prototype.aD=function(){this.trigger(new m(g.fA,{video:this.Pc,time:this.Pc.get("currentTime"),duration:this.Pc.get("duration")}))};g.prototype.tO=function(){this.trigger(new m(g.gJ,{video:this.Pc}))};g.prototype.cH=function(){var d=this.Pc.get("state");this.E3!=d&&(this.E3=d,this.trigger(new m(g.Ec,{state:this.E3})))};g.Ec="playback state change";g.gJ="video end";g.fA="video time change";return g});
define("nT","require lo kO cy gi dn nA jg".split(" "),function(a){var e=a("lo"),h=a("kO"),m=a("cy"),k=a("gi"),b=a("dn"),g=a("nA"),d=a("jg"),c=e.extend(k,function(f,l){k.call(this);this.M=f;this.j=l;this.j.set("visible",!1);this.Ia=new g(this.M,this.j);this.Ja=new d(this.j);this.rp=new b(this.j);this.Ia.bind(g.dA,this.Tp,this,!0);this.Ia.bind(g.eA,this.Pm,this,!0);this.Ia.bind(g.F0,this.Zoa,this,!0);this.Ia.bind(g.QQ,this.$oa,this,!0);this.Ia.bind(g.dfa,this.RLa,this,!0);this.Ja.bind(d.Ec,this.We,
this,!0);this.Ja.bind(d.gJ,this.ty,this,!0);this.Ja.bind(d.fA,this.zM,this,!0)});c.prototype.clear=function(){this.Ia.clear();this.Ja.clear();this.rp.clear();this.Ia.unbind(g.dA,this.Tp,this);this.Ia.unbind(g.eA,this.Pm,this);this.Ia.unbind(g.F0,this.Zoa,this);this.Ia.unbind(g.QQ,this.$oa,this);this.Ja.unbind(d.Ec,this.We,this);this.Ja.unbind(d.gJ,this.ty,this);this.Ja.unbind(d.fA,this.zM,this);this.M=this.j=this.rp=this.Ja=this.Ia=null};c.prototype.f_a=function(f,l){this.j.set("visible",!0);this.Ia.display(f,
l)};c.prototype.cw=function(){this.Ia.hide();this.Ja.end();this.rp.end()};c.prototype.play=function(){this.Ja.play()};c.prototype.stop=function(){this.Ja.stop()};c.prototype.pause=function(){this.Ja.pause()};c.prototype.Hf=function(f){this.Ja.Hf(f)};c.prototype.setTime=function(f){this.Ja.setTime(f)};c.prototype.getTime=function(){return this.Ja.getTime()};c.prototype.Zoa=function(f){var l=f.data.video;this.Ja.start(l,f.data.startTime);this.rp.start(l)};c.prototype.$oa=function(){};c.prototype.Pm=
function(f){f=f.data.video;f.get("autoplay")&&f.get("state")!=h.X&&f.get("state")!=h.Eb&&f.set("state",h.X);this.trigger(new m(c.eA,{video:f}))};c.prototype.Tp=function(f){this.trigger(new m(c.dA,{video:f.data.video}))};c.prototype.RLa=function(){this.j.set("visible",!1)};c.prototype.ty=function(f){this.trigger(new m(c.gJ,{video:f.data.video}))};c.prototype.zM=function(f){this.trigger(new m(c.fA,{video:f.data.video,time:f.data.time,duration:f.data.duration}))};c.prototype.We=function(f){this.trigger(new m(c.Ec,
{state:f.data.state}))};c.eA="videoShow";c.dA="videoHide";c.gJ="videoEnd";c.fA="videoTimeChange";c.Ec="playbackStateChange";return c});
define("iF",["require","lo","oH","kO","dA"],function(a){var e=a("lo"),h=a("oH"),m=a("kO"),k=a("dA");a=e.extend(k,function(b,g){k.call(this,b);this.aa=g;this.aa.bind(h.G("video"),this.uM,this);this.aa.bind(h.ne,this.uM,this);this.uM()});a.prototype.clear=function(){this.aa&&(this.aa.unbind(h.G("video"),this.uM,this),this.aa.unbind(h.ne,this.uM,this),this.aa=null);k.prototype.clear.call(this)};a.prototype.uM=function(){this.hea(this.aa.get("state")!=m.T?this.aa.get("video"):null)};return a});
define("os","require lo oH bc e dQ iF".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("bc"),k=a("e"),b=a("dQ"),g=a("iF");a=e.extend(k,function(d,c,f){k.call(this);this.mc=d;this.M=c;this.aa=f;this.set("toolTipDisabled",!0);this.set("cursor",m.lt);this.bind(h.kc,this.hc,this,!0);this.hH=new g(c,f);this.xG=new b.Yfa;this.xG.Sda(b.Yfa.K0);this.xG.wf(this.zV=!1);[this.hH.Ac(),this.xG.Ac()].forEach(function(l,p){this.Bb().append(l);l.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden",
"z-index":p})}.bind(this))});a.prototype.$da=function(d,c){this.zV!=d&&(this.zV=d,this.xG.sza(c),this.xG.wf(d))};a.prototype.hc=function(){this.EW=!0;this.xG.setSize(this.Xa(),this.xb())};return a});
define("mi","require lo oH bc d oc fA gj os".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("bc"),k=a("d"),b=a("oc"),g=a("fA"),d=a("gj"),c=a("os");a=e.extend(b,function(f,l,p){b.call(this);this.mc=f;this.M=l;this.aa=p;this.Be("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",m.lt);this.set("layout",k.CQ);this.dc=this.Fa=this.Wd=null;this.HX=[];this.uO=[];this.bind(h.kc,this.hc,this,!0);this.jO()});a.prototype.Ab=function(){b.prototype.Ab.call(this);null==this.Wd&&(this.Wd=new d(this.mc,
!1),this.Wd.ja({left:0,top:0,right:0,bottom:0}),this.Wa(this.Wd),this.Wd.a_(this.aa.get("useVideoFrameRate")?2:void 0),this.QGa(),this.iGa(),this.HX.forEach(function(f){this.aja(f)}.bind(this)));null==this.dc&&(this.dc=new c(this.mc,this.M,this.aa),this.dc.ja({left:0,top:0,right:0,bottom:0}),this.Wa(this.dc),this.jO())};a.prototype.DTa=function(f){this.HX.push(f);this.Wd&&this.aja(f)};a.prototype.QGa=function(){this.Fa=this.Wd.ad("Scene");this.Fa.H(g.Scene).backgroundColor="transparent";this.Wd.cua(this.Fa)};
a.prototype.iGa=function(){this.Ca=this.Wd.ad("Camera");var f=this.Ca.H(g.OrthographicCamera);f.width=this.rf();f.height=this.qf();this.Ca.H(g.jb).Y=this.Fa;this.Fa.J(g.Scene).ke=this.Ca};a.prototype.hc=function(){if(this.Ca){var f=this.Ca.J(g.OrthographicCamera);f.width=this.rf();f.height=this.qf()}};a.prototype.aja=function(f){var l=this.Wd.ad("Video");l.H(g.jb).Y=this.Fa;l.H(g.Mesh).Yb=f;var p=l.H(g.Mw);p.Yb=f;p.ke=this.Ca;p=l.H(g.Cn);p.Yb=f;p.Oea=f.get("video");p.Ea=f;this.uO.push(l);this.Wd.a_(this.aa.get("useVideoFrameRate")&&
45>this.cKa(f)?2:void 0);this.jO()};a.prototype.aza=function(f){f=this.HX.indexOf(f);0>f||(this.HX.splice(f,1),this.Wd&&this.iHa(this.uO[f]))};a.prototype.iHa=function(f){var l=this.uO.indexOf(f);0>l||(this.uO.splice(l,1),this.Wd.Qe(f),this.jO())};a.prototype.$da=function(f){this.zV=f;this.jO()};a.prototype.jO=function(){this.dc&&this.dc.$da(this.zV&&0<this.uO.length)};a.prototype.cKa=function(f){f=f.get("video");return(f&&f.get("levels")||[]).reduce(function(l,p){return Math.max(l,p.get("framerate"))},
0)||30};return a});
define("li","require lo oH nx it kO nT mi".split(" "),function(a){var e=a("lo"),h=a("oH"),m=a("nx"),k=a("it"),b=a("kO"),g=a("nT"),d=a("mi");a=m.define("VideoPlayer",k,function(){k.call(this,"video");this.tp=this.OW=this.aD=this.Rh=!1;this.L=this.j=null;this.qb=this.Ed=0;this.$d=e.Io(this.Qg,this)});a.prototype.seek=function(c){this.DC(c)};a.prototype.play=function(){this.hC()};a.prototype.pause=function(){this.gC()};a.prototype.stop=function(){this.qy()};a.prototype.restart=function(){this.ny()};a.prototype.set=
function(c,f){if(this.get(c)!=f){switch(c){case "startTime":this.OW=!0;this.$d();break;case "video":this.aD=!0;this.$d();break;case "viewerArea":this.Rh=!0;this.$d();break;case "displayPlaybackBar":this.tp=!0,this.$d()}k.prototype.set.call(this,c,f)}};a.prototype.get=function(c,f){switch(c){case "currentTime":return this.L&&this.L.getTime()||0}return k.prototype.get.call(this,c,f)};a.prototype.Qg=function(){this.Rh&&(this.Rh=!1,this.bu(),this.get("viewerArea")&&this.Zt(),this.vN(this.get("viewerArea")),
this.aD=!0);var c=!1;if(this.j&&(this.aD||this.OW)){var f=this.get("video"),l=this.get("startTime")||0;if(f&&!this.j.Jb()){this.$d();return}this.OW=this.aD=!1;this.qb=this.Ed=0;c=!0;f?(this.EI(),this.L.f_a(f,l)):this.L.cw()}this.tp&&(this.tp=!1,c=!0);c&&this.Cv()};a.prototype.eH=function(){this.set("video",null)};a.prototype.Zt=function(){var c=this.get("application"),f=this.get("viewerArea");this.j=new d(c,f,this);this.j.ja({left:0,top:0,bottom:0,right:0});f.Wa(this.j);f.bind(h.qa,this.dpa,this,
!0);this.L=new g(f,this.j);this.L.bind(g.eA,this.Pm,this);this.L.bind(g.dA,this.Tp,this);this.L.bind(g.fA,this.zM,this,!0);this.L.bind(g.Ec,this.We,this);c.bind(h.G("mute"),this.gM,this);this.L.Hf(c.get("mute",!1));this.Ly(!0)};a.prototype.bu=function(){if(this.j){this.L.unbind(g.eA,this.Pm,this);this.L.unbind(g.dA,this.Tp,this);this.L.unbind(g.fA,this.zM,this);this.L.unbind(g.Ec,this.We,this);this.L.clear();this.get("application").unbind(h.G("mute"),this.gM,this);var c=this.j.getParent();c.removeChild(this.j);
c.unbind(h.qa,this.dpa,this,!0);this.j=null;this.Ly(!1)}};a.prototype.gM=function(){this.j&&this.L.Hf(this.get("application").get("mute",!1))};a.prototype.We=function(c){c=c.data.state;this.j&&this.j.$da(this.get("displayPlayOverlay")&&c!=b.X,.5>this.Ed);this.zc(c)};a.prototype.Pm=function(c){var f=this.get("viewerArea");(this.Qd=f&&f.Qd)&&this.Qd.bind(h.qa,this.epa,this,!0);this.p8=!1;this.CL(c.data.video)};a.prototype.Tp=function(c){this.Qd&&this.Qd.unbind(h.qa,this.epa,this,!0);this.Qd=null;this.BL(c.data.video)};
a.prototype.zM=function(c){this.Ed=c.data.time;this.qb=c.data.duration;this.Cv()};a.prototype.dpa=function(){if(this.p8)this.p8=!1;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=b.X?this.L.play():this.L.pause()}};a.prototype.epa=function(){this.p8=!0};a.prototype.KM=function(c){this.DC(c.data.position)};a.prototype.uk=function(){this.L.play()};a.prototype.qo=function(){this.L.stop()};a.prototype.Vp=function(){this.L.pause()};a.prototype.DC=function(c){this.L&&this.L.setTime(c)};
a.prototype.Cv=function(){if(this.j){var c=this.j.getParent();0<this.qb&&this.get("displayPlaybackBar")?c.ja({playbackBarPosition:this.Ed,playbackBarDuration:this.qb,playbackBarVisible:!0}):c.set("playbackBarVisible",!1)}};return a});
define("gv",["require","nx","da","ih"],function(a){var e=a("nx"),h=a("da"),m=a("ih");a=e.define("VideoPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&&(k.bind(h.Wg,this.Pm,this),k.set("video",this.get("media")),k.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var k=this.get("player");k&&(k.unbind(h.Wg,this.Pm,this),k.get("video")==this.get("media")&&k.set("video",null));m.prototype.stop.call(this)};
a.prototype.Pm=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.Wg,this.Pm,this),this.get("player").bind(h.fm,this.Tp,this),this.dz())};a.prototype.Tp=function(k){k.data.media==this.get("media")&&(this.get("player").unbind(h.fm,this.Tp,this),this.stop(),this.end())};return a});define("hv",["require","lP","nx"],function(a){var e=a("lP");return a("nx").define("VideoResourceLevel",e,function(){e.call(this)})});
define("eu",["require","lP","nx","lH","hv"],function(a){var e=a("lP"),h=a("nx"),m=a("lH"),k=a("hv");a=h.define("VideoResource",e,function(){e.call(this);this.l7=new k;this.l7.set("type","video/mp4");this.o7=new k;this.o7.set("type","video/ogg");this.$aa=new k;this.$aa.set("type","video/webm")});a.prototype.get=function(b,g){switch(b){case "levels":g=[];var d=this.get("mp4Url");d&&(this.l7.set("url",d),g.push(this.l7));if(d=this.get("oggUrl"))this.o7.set("url",d),g.push(this.o7);if(d=this.get("webmUrl"))this.$aa.set("url",
d),g.push(this.$aa);g.forEach(function(c){c.set("width",this.get("width"));c.set("height",this.get("height"))}.bind(this))}return e.prototype.get.call(this,b,g)};a.prototype.wi=function(){var b=this.get("webmUrl"),g=this.get("oggUrl"),d=this.get("mp4Url");return d&&m.SY?d:b&&m.qca?b:g&&m.pca?g:d||b||g};return a});define("du",["require","nx","ff"],function(a){var e=a("nx"),h=a("ff");return e.define("VignetteModel3DPostprocessing",h,function(){h.call(this)})});
define("dJ","require jquery.mod lo oH v mj e gz".split(" "),function(a){var e=a("jquery.mod"),h=a("lo"),m=a("oH"),k=a("v"),b=a("mj"),g=a("e"),d=a("gz");a=h.extend(g,function(){g.call(this);this.Be("WebFrame");this.tL=this.jB=this.xc=this.Xd=null;this.E7=this.E7.bind(this);this.HU=this.HU.bind(this);this.bind(m.kd,this.$Ma,this,!0);this.bind(m.sd,this.ZMa,this,!0)});a.prototype.nb=function(){g.prototype.nb.call(this);this.h("url");this.h("backgroundColor","#ffffff");this.h("insetBorder",!1);this.h("scrollEnabled",
!0);this.h("unloadWhenHidden",!0)};a.prototype.$Ma=function(){this.JC("url")};a.prototype.ZMa=function(){this.JC("url")};a.prototype.Ab=function(){g.prototype.Ab.call(this);this.Xd||(this.Xd=e("<div></div>"),this.Xd.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}),this.Bb().append(this.Xd));this.xc||(this.xc=e("<iframe></iframe>"),this.xc.css({position:"absolute",left:0,top:0}),this.xc.attr("allowfullscreen","true"),this.xc.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture; xr-spatial-tracking"),
this.Xd.append(this.xc));this.jB||(this.jB=e("<div></div>"),this.jB.css({"text-shadow":"0 0 5px rgba(255,255,255,0.5)",display:"none",color:"#000000","font-weight":"300","font-family":"Tahoma, Geneva, sans-serif","font-size":k.kb()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"}),this.Xd.append(this.jB))};a.prototype.Va=function(){if(this.I("url")){var c=this.B("url");c&&this.Qx?this.$qa(c):(!c||this.get("unloadWhenHidden"))&&
this.$qa("");this.P("url")}this.I("insetBorder")&&(this.B("insetBorder")?this.xc.attr("frameborder","1"):this.xc.attr("frameborder","0"),this.P("insetBorder"));this.I("scrollEnabled")&&(this.B("scrollEnabled")?(this.xc.attr("scrolling","auto"),this.Xd.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})):(this.xc.attr("scrolling","no"),this.Xd.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})),this.P("scrollEnabled"));g.prototype.Va.call(this)};a.prototype.Vg=function(){this.xc&&
d.css(this.xc.get(0),{width:this.ia+"px",height:this.ua+"px"});g.prototype.Vg.call(this)};a.prototype.refresh=function(){this.B("url")&&this.Qx&&(this.P5(),this.hx(),this.S$(),this.xc.attr("src",""),setTimeout(function(){this.Nra();this.Yha();this.xc.attr("src",this.B("url"))}.bind(this),30))};a.prototype.$qa=function(c){this.xc.attr("src")!=c&&(this.P5(),c?(this.Nra(),this.Yha()):(this.hx(),this.S$()),this.xc.attr("src",c))};a.prototype.E7=function(){this.tL=null;this.bLa()&&this.fQa()};a.prototype.HU=
function(){this.P5();this.hx();this.S$()};a.prototype.Yha=function(){this.xc.on("load",this.HU)};a.prototype.S$=function(){this.xc.off("load",this.HU)};a.prototype.hx=function(){this.tL&&(clearTimeout(this.tL),this.tL=null)};a.prototype.Nra=function(){this.hx();this.tL=setTimeout(this.E7.bind(this),3E3)};a.prototype.bLa=function(){if("https:"==window.location.protocol){var c=this.xc.attr("src");if("https:"!=b.parse(c).protocol)return!0}return!1};a.prototype.fQa=function(){this.jB.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");
this.jB.show()};a.prototype.P5=function(){this.jB.hide()};return a});define("cn",["require","dJ","nx"],function(a){var e=a("dJ");a=a("nx").define("WebFrame",e,function(){e.call(this)});a.prototype.refresh=function(){e.prototype.refresh.call(this)};return a});define("lI",["require","eg","lo","oc","d"],function(a){var e=a("eg"),h=a("lo"),m=a("oc");a=a("d");var k=h.extend(m,function(){m.call(this)});k.vc={layout:a.Dg};e.defaults(k.vc,m.vc);k.prototype.nb=function(){this.Kn(k.vc)};return k});
define("mu","require eg lo oH cy mQ d oc lI hp fX e np nK iQ".split(" "),function(a){var e=a("eg"),h=a("lo"),m=a("oH"),k=a("cy"),b=a("mQ"),g=a("d"),d=a("oc"),c=a("lI"),f=a("hp"),l=a("fX");a("e");a("np");a("nK");var p=a("iQ"),q=h.extend(f,function(){f.call(this);this.Be("Window");this.Xw=this.UE=this.SN=this.jl=null;this.D2=new d;this.uF=null;this.I5=this.H5=0;this.LC=this.Bra=!1;this.aba=this.bba=void 0;for(var n in q.N0a)this.JC(n);this.bind(m.kc,this.lTa,this);this.bind(m.hJ,this.jTa,this);this.bind(m.pJ,
this.mTa,this);this.bind(m.qa,this.iTa,this);this.BX=0;this.Ef=new d;this.Ef.ja({visible:!1,includeInLayout:!1,layout:"absolute",height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:!1});this.Ef.bind(m.kc,this.Fta,this);this.Ef.bind(m.pJ,this.dTa,this);this.Ef.bind(m.hJ,this.cTa,this);this.Ef.bind(m.qa,this.bTa,this);this.Ef.Wa(this)});q.prototype.set=function(n,r){switch(n){case "maxWidth":this.bba=r;this.qX();break;case "maxHeight":this.aba=r;this.qX();break;case "children":this.D2.set(n,
r);break;case "shadow":this.Bra=r;this.Ata();break;default:f.prototype.set.call(this,n,r)}};q.prototype.show=function(n,r){this.qX(n);this.set("visible",!1);this.Ef.set("visible",!1);this.wEa();r&&this.UTa();r=n.get("children");n.set("children",r.concat([this.Ef]));var t=this;e.defer(function(){t.Ef.set("visible",!0)})};q.prototype.wEa=function(){var n=this.B("modal"),r=this.B("veilShowEffect"),t=this.B("veilHideEffect");n&&r?this.Ef.set("showEffect",r):this.Ef.set("showEffect",null);n&&t?this.Ef.set("hideEffect",
t):this.Ef.set("hideEffect",null)};q.prototype.hide=function(){this.get("visible")&&this.trigger(m.dBa);this.BX=0;this.wW(!1);this.set("visible",!1)};q.prototype.UTa=function(){this.set("centerX",0);this.set("centerY",0)};q.prototype.get=function(n,r){return"children"==n?this.D2.get(n,r):f.prototype.get.call(this,n,r)};q.Sga={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",
headerBorderSize:"borderSize",headerBorderLeftSize:"borderLeftSize",headerBorderTopSize:"borderTopSize",headerBorderRightSize:"borderRightSize",headerBorderBottomSize:"borderBottomSize",headerBorderColor:"borderColor",headerBorderLeftColor:"borderLeftColor",headerBorderTopColor:"borderTopColor",headerBorderRightColor:"borderRightColor",headerBorderBottomColor:"borderBottomColor",headerHeight:"height",headerPaddingLeft:"paddingLeft",headerPaddingTop:"paddingTop",headerPaddingRight:"paddingRight",headerPaddingBottom:"paddingBottom",
headerVerticalAlign:"verticalAlign"};q.Rga=e(q.Sga).keys();q.B1={borderRadius:"borderTopRadius",borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};q.A1="borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderTopRadius borderRadius".split(" ");q.jha={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",
titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titleHorizontalAlign:"horizontalAlign",titlePaddingLeft:"paddingLeft",titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};
q.iha=e(q.jha).keys();q.Mga={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",closeButtonBackgroundColorRatios:"backgroundColorRatios",closeButtonBackgroundOpacity:"backgroundOpacity",closeButtonBorderColor:"borderColor",closeButtonBorderRadius:"borderRadius",closeButtonBorderSize:"borderSize",closeButtonHeight:"height",closeButtonIconColor:"iconColor",closeButtonIconHeight:"iconHeight",closeButtonIconLineWidth:"iconLineWidth",closeButtonIconWidth:"iconWidth",
closeButtonOpacity:"opacity",closeButtonWidth:"width",closeButtonPaddingBottom:"paddingBottom",closeButtonPaddingLeft:"paddingLeft",closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",
closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",
closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};q.Lga=e(q.Mga).keys();q.Oga={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",
footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};q.Nga=e(q.Oga).keys();q.Qga={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",
borderBottomRightRadius:"borderBottomRightRadius"};q.Pga="borderLeftRadius borderRightRadius borderBottomLeftRadius borderBottomRightRadius borderBottomRadius borderRadius".split(" ");q.Iga={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",
bodyBorderBottomSize:"borderBottomSize",bodyBorderColor:"borderColor",bodyBorderLeftColor:"borderLeftColor",bodyBorderTopColor:"borderTopColor",bodyBorderRightColor:"borderRightColor",bodyBorderBottomColor:"borderBottomColor",bodyPaddingLeft:"paddingLeft",bodyPaddingTop:"paddingTop",bodyPaddingRight:"paddingRight",bodyPaddingBottom:"paddingBottom",overflow:"overflow",scrollBarColor:"scrollBarColor",scrollBarWidth:"scrollBarWidth",scrollBarMargin:"scrollBarMargin",scrollBarHorizontalMargin:"scrollBarHorizontalMargin",
scrollBarVerticalMargin:"scrollBarVerticalMargin",scrollBarOpacity:"scrollBarOpacity",gap:"gap"};q.Hga=e(q.Iga).keys();q.Jga={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};q.ZCa=e(q.Jga).keys();q.lha={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};q.kha=e(q.lha).keys();q.vc=function(){var n={modal:!1,visible:!1,centerX:0,centerY:0,veilShowEffect:void 0,veilHideEffect:void 0};
e.defaults(n,d.vc);for(var r=[].concat(q.Rga,q.iha,q.Lga,q.Hga,q.Nga,q.kha),t=0;t<r.length;t++)n[r[t]]=void 0;return n}();q.prototype.nb=function(){this.Kn(q.vc)};q.prototype.Ab=function(){f.prototype.Ab.call(this);null==this.jl&&(this.jl=new c,this.jl.set("width","100%"),this.jl.bind(m.ub,this.mKa,this),this.Wa(this.jl));null==this.SN&&(this.SN=new p,this.SN.set("width","100%"),this.jl.Wa(this.SN));null==this.UE&&(this.UE=new l,this.UE.ja({horizontalAlign:b.Ge,verticalAlign:b.he}),this.UE.bind(m.qa,
this.OFa,this),this.jl.Wa(this.UE));null==this.Xw&&(this.Xw=this.D2,this.Xw.ja({width:"100%",height:"100%"}),this.Wa(this.Xw));null==this.uF&&(this.uF=new d,this.uF.set("width","100%"),this.Wa(this.uF))};q.prototype.bTa=function(){this.BX++;setTimeout(function(){0<this.BX&&this.hide()}.bind(this),100)};q.prototype.iTa=function(){this.BX--};q.prototype.OFa=function(){this.hide()};q.prototype.mKa=function(n){this.H5=n.pageX;this.I5=n.pageY;this.Jb().bind(m.jc,this.Qta,this,!0);this.Jb().bind(m.Zb,this.Rta,
this,!0)};q.prototype.Qta=function(n){this.set("centerX",this.get("centerX")+(n.pageX-this.H5));this.set("centerY",this.get("centerY")+(n.pageY-this.I5));this.H5=n.pageX;this.I5=n.pageY;this.zta()};q.prototype.Rta=function(){this.Jb().unbind(m.jc,this.Qta,this);this.Jb().unbind(m.Zb,this.Rta,this)};q.prototype.Fta=function(){this.qX()};q.prototype.dTa=function(){this.set("visible",!0)};q.prototype.cTa=function(){this.Ef.unbind(m.kc,this.Fta,this);var n=this.Ef.getParent();n&&n.removeChild(this.Ef);
this.trigger(new k(m.hE))};q.prototype.lTa=function(){this.zta()};q.prototype.mTa=function(){this.wW(!0)};q.prototype.jTa=function(){this.Ef.set("visible",!1)};q.prototype.wW=function(n){this.LC=n;this.Ata()};q.prototype.Ata=function(){f.prototype.set.call(this,"shadow",this.LC&&this.Bra)};q.prototype.qX=function(n){n||(n=this.ka);void 0!==this.bba?f.prototype.set.call(this,"maxWidth",this.bba):n?f.prototype.set.call(this,"maxWidth",n.Xa()):f.prototype.set.call(this,"maxWidth",void 0);void 0!==this.aba?
f.prototype.set.call(this,"maxHeight",this.aba):n?f.prototype.set.call(this,"maxHeight",n.xb()):f.prototype.set.call(this,"maxHeight",void 0)};q.prototype.zta=function(){var n=this.Ef.Xa(),r=this.Xa(),t=this.get("centerX");r=.5*n+t-.5*r;var u=this.jl.Rl(),v=this.jl.Xa(),w=Math.min(v,30);n=n-u-w;u=-(u+v-w);r<u?this.set("centerX",t+(u-r)):r>n&&this.set("centerX",t-(r-n));n=this.Ef.xb();r=this.xb();t=this.get("centerY");r=.5*n+t-.5*r;u=this.jl.Fs();v=this.jl.xb();w=Math.min(v,5);n=n-u-w;u=-(u+v-w);r<
u?this.set("centerY",t+(u-r)):r>n&&this.set("centerY",t-(r-n))};q.prototype.Va=function(){this.lc(q.Rga,q.Sga,[this.jl],!0,!0);this.lc(q.A1,q.B1,[this.jl],!0,!1);0===this.get("headerHeight")?this.lc(q.A1,q.B1,[this.Xw],!0,!1):this.lc(q.A1,q.B1,[this.jl],!0,!1);this.lc(q.iha,q.jha,[this.SN],!0,!0);this.lc(q.Lga,q.Mga,[this.UE],!0,!0);this.lc(q.Hga,q.Iga,[this.Xw],!0,!0);this.lc(q.ZCa,q.Jga,[this.Xw],!0,!1);this.lc(q.Nga,q.Oga,[this.uF],!0,!0);0===this.get("footerHeight")?this.lc(q.Pga,q.Qga,[this.Xw],
!0,!1):this.lc(q.Pga,q.Qga,[this.uF],!0,!1);this.B("modal")?(this.lc(q.kha,q.lha,[this.Ef],!0,!0),this.Ef.set("contentOpaque",!0)):(this.Ef.set("backgroundOpacity",0),this.Ef.set("contentOpaque",!1));this.ja({layout:g.uh,horizontalAlign:b.Ge,verticalAlign:b.he});f.prototype.Va.call(this);this.Sn.j_(0)};return q});define("eh",["require","mu","nx"],function(a){var e=a("mu");a=a("nx").define("Window",e,function(){e.call(this)});a.prototype.show=a.prototype.show;a.prototype.hide=a.prototype.hide;return a});
define("mU","require jquery.mod eg ky oH hT cy gi bg oj bF ku md v lo".split(" "),function(a){function e(v){this.source=v;this.width=this.source.get("width");this.height=this.source.get("height");this.url=this.source.get("url");this.mI=this.source.get("grayscale");this.Tv=new q(g.Xk)}var h=a("jquery.mod"),m=a("eg"),k=a("ky"),b=a("oH"),g=a("hT"),d=a("cy"),c=a("gi"),f=a("bg"),l=a("oj"),p=a("bF"),q=a("ku"),n=a("md"),r=a("v"),t=a("lo"),u=t.extend(c,function(){c.call(this);this.GU=this.GU.bind(this);this.Fg=
null;this.we=[];this.Hm=[];this.Tb=this.Gb=this.Ad=this.td=100;this.mf=1;this.gx=this.ex=.5;this.Cc=1;this.mj=this.Ri=null;this.sV=!1;this.u3={};this.ZE={};this.ZE.low={};this.ZE.hight={};r.LH()==r.aJ&&(this.ZE.low.transform="translateZ(0)",this.ZE.hight.transform="");this.W=!1;this.Bh="inherit";this.na=h("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.TK=null;this.Ve=t.Io(this.ea,this)});u.prototype.Ac=function(){return this.na};u.prototype.Fz=function(v){this.Df!=
v&&(this.Df=v,this.n2(1),this.Ve())};u.prototype.Kda=function(v){this.Bh!=v&&(this.Bh=v,this.mj&&this.mj.css("cursor",this.Bh),this.Ri&&this.Ri.css("cursor",this.Bh))};u.prototype.TYa=function(v){this.we!=v&&(this.we&&k.ba(this.we,["levels.url"],this.GU),(this.we=v)&&k.fa(this.we,["levels.url"],this.GU,!0))};u.prototype.GU=function(){this.S2();this.Fg=null;this.Ri&&(this.Ri.detach(),this.Ri=null);this.mj&&(this.mj.detach(),this.mj=null);this.gg&&(this.gg=null);this.S2();this.sV=!1;m(this.Hm).each(function(w){w.Tv.cancel();
w.Tv.unbind(b.Z,this.hma,this)},this);var v=(this.we&&this.we.get("levels")||[]).filter(function(w){return w.get("url")});this.Hm=m(v).map(function(w){w=new e(w);w.Tv.bind(b.Z,this.hma,this);return w},this);(v=this.lJa())?(this.Gb=v.width,this.Tb=v.height):this.Tb=this.Gb=100;this.gx=this.ex=.5;this.n2(1);this.Ve()};u.prototype.ND=function(v,w){if(this.td!=v||this.Ad!=w)this.td=v,this.Ad=w,this.Ve()};u.prototype.EYa=function(v,w){if(this.mja!=v||this.lja!=w)this.mja=v,this.lja=w,this.Ve()};u.prototype.nc=
function(v){this.W!=v&&(this.W=v,this.Ve())};u.prototype.move=function(v,w){var x=this.mf*this.Cc;this.ex+=v/(this.Gb*x);this.gx+=w/(this.Tb*x);this.SV()};u.prototype.tD=function(){return this.Cc};u.prototype.setScale=function(v){this.n2(Math.max(1,Math.min(1/this.mf,v)));this.Fg&&this.Fg.width<this.Cc*this.mf*this.Gb&&this.Fg.width<this.Gb?this.ea():this.SV()};u.prototype.Swa=function(v){if(!this.Ri)return!1;var w=this.Ri.offset(),x=v.pageX-w.left;v=v.pageY-w.top;return 0<=x&&0<=v&&x<this.Ri.width()&&
v<this.Ri.height()};u.prototype.ea=function(){if(this.W){this.OSa();var v=this.tJa();v&&v.Tv.dj()?(v!=this.Fg&&(this.Fg||(this.Ve(),this.sV=!0),this.gHa(v),this.Fg=v),this.fra(null)):this.fra(v);this.SV()}};u.prototype.OSa=function(){switch(this.Df){case n.Xo:var v=this.td/this.Gb;break;case n.Tj:v=this.Ad/this.Tb;break;case n.Wq:v=this.Gb*this.Ad>this.Tb*this.td?this.Ad/this.Tb:this.td/this.Gb;break;case n.hBa:v=Math.min(this.mja/this.Gb,this.lja/this.Tb);break;default:v=this.Gb*this.Ad>this.Tb*
this.td?this.td/this.Gb:this.Ad/this.Tb}this.rEa(v)};u.prototype.hma=function(){this.Ve()};u.prototype.gHa=function(v){this.mj&&(this.H9(this.mj,1),this.Ri&&this.Ri.detach(),this.Ri=this.mj);this.mj=this.zGa(v);this.H9(this.mj,0);this.na.append(this.mj);this.gg=this.qGa();this.u3={}};u.prototype.tJa=function(){return this.Fg?this.zIa(this.Cc*this.mf*this.Gb):this.SJa()};u.prototype.fra=function(v){m(this.Hm).each(function(w){w==v?w.Tv.wi()!=w.url&&w.Tv.load(w.url):w.Tv.dj()||w.Tv.cancel()})};u.prototype.lJa=
function(){return m(this.Hm).reduce(function(v,w){v||(v=w);if(w.width>v.width||w.width==v.width&&!w.mI&&v.mI)v=w;return v},null)};u.prototype.SJa=function(){return m(this.Hm).reduce(function(v,w){v||(v=w);if(w.width<v.width||w.width==v.width&&w.mI&&!v.mI)v=w;return v},null)};u.prototype.zIa=function(v){return m(this.Hm).reduce(function(w,x){w||(w=x);if(x.width>=v&&w.width<v||x.width>=v&&x.width<w.width||x.width<v&&x.width>w.width||!x.mI&&w.mI)w=x;return w},null)};u.prototype.zGa=function(v){v=h(v.Tv.sf(!0));
v.css({position:"absolute",cursor:this.Bh,"pointer-events":"none"});return v};u.prototype.qGa=function(){return new l("linear",[new p("alpha",0,1)],200)};u.prototype.SV=function(){f.requestFrame(function(v){this.$M(v,"low")},this)};u.prototype.Zba=function(){return this.Gb*this.Cc*this.mf};u.prototype.Yba=function(){return this.Tb*this.Cc*this.mf};u.prototype.Bva=function(){var v=this.Zba();return v>this.td?Math.max(this.td-v,Math.min(0,.5*this.td-v*this.ex)):.5*(this.td-v)};u.prototype.Cva=function(){var v=
this.Yba();return v>this.Ad?Math.max(this.Ad-v,Math.min(0,.5*this.Ad-v*this.gx)):.5*(this.Ad-v)};u.prototype.$M=function(v,w){w=w||"low";var x=this.Zba(),y=this.Bva(),A=this.Yba(),B=this.Cva();this.ex=(.5*this.td-y)/x;this.gx=(.5*this.Ad-B)/A;x={left:Math.round(y)+"px",top:Math.round(B)+"px",width:Math.round(x)+"px",height:Math.round(A)+"px",display:"block"};for(var z in this.ZE[w])x[z]=this.ZE[w][z];this.u3!=x&&(this.Ri&&this.Ri.css(x),this.mj&&this.mj.css(x),this.u3=x);this.S2();this.gg?(this.gg.zb(v),
this.H9(this.mj,this.gg.cb("alpha")),this.gg.Re()&&(this.gg=null,this.Ri&&this.Ri.detach(),this.Ri=this.mj,this.mj=null),this.SV()):"low"==w&&this.qQa();!this.gg&&this.sV&&(this.sV=!1,this.trigger(new d(b.Z)))};u.prototype.H9=function(v,w){v.css({opacity:w,filter:"alpha(opacity="+Math.round(100*w)+")","-ms-filter":"alpha(opacity="+Math.round(100*w)+")"})};u.prototype.S2=function(){null!=this.TK&&(clearTimeout(this.TK),this.TK=null)};u.prototype.qQa=function(){var v=this;this.TK=setTimeout(function(){v.TK=
null;v.$M(50,"hight")},50)};u.prototype.n2=function(v){this.Cc!=v&&(this.Cc=v,this.CRa())};u.prototype.rEa=function(v){this.mf!=v&&(this.mf=v)};u.prototype.CRa=function(){this.trigger(new d(u.PQ,{scale:this.Cc}))};u.PQ="scaleChange";return u});
define("kj","require jquery.mod oH cy mU lo e S".split(" "),function(a){a("jquery.mod");var e=a("oH"),h=a("cy"),m=a("mU"),k=a("lo"),b=a("e"),g=a("S"),d=k.extend(b,function(){b.call(this);this.Be("ZoomImage");this.Zu=this.Vm=void 0;this.xk=!1;this.Fpa=void 0;this.Ila=this.Cc;this.rO=null;this.j=new m;this.j.bind(e.Z,this.FMa,this);this.j.bind(m.PQ,this.GMa,this);this.Bb().append(this.j.Ac());this.bind(e.kc,this.hc,this,!0);this.bind(e.kd,this.rk,this,!0);this.bind(e.sd,this.lk,this,!0);this.bind(e.ub,
this.Od,this,!0);this.bind(e.jc,this.vj,this,!0);this.bind(e.Zb,this.wj,this,!0);this.bind(e.$q,this.UB,this,!0);this.bind(e.lE,this.rB,this,!0)});d.prototype.set=function(c,f){switch(c){case "scale":this.j.setScale(f);f=this.j.tD();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}b.prototype.set.call(this,c,f)};d.prototype.get=function(c,f){switch(c){case "scale":return this.j.tD();case "imageLeft":return this.j.Bva();case "imageTop":return this.j.Cva();case "imageWidth":return this.j.Zba();
case "imageHeight":return this.j.Yba()}return b.prototype.get.call(this,c,f)};d.prototype.nb=function(){b.prototype.nb.call(this);this.h("image");this.h("scaleMode");this.h("customHeight");this.h("customWidth");this.h("imageCursor");this.h("imageLeft");this.h("imageTop");this.h("imageWidth");this.h("imageHeight")};d.prototype.Va=function(){this.I("scaleMode")&&(this.j.Fz(this.B("scaleMode")),this.P("scaleMode"));this.I("image")&&(this.j.TYa(this.B("image")),this.P("image"),this.Ila=this.Cc);if(this.I("customHeight")||
this.I("customWidth"))this.P("customHeight"),this.P("customWidth"),this.hc();this.I("imageCursor")&&(this.P("imageCursor"),this.j.Kda(this.fb.K3.sva(this.get("imageCursor"))));b.prototype.Va.call(this)};d.prototype.hc=function(){var c=this.Xa(),f=this.xb(),l=this.get("customWidth","100%"),p=g.Jo(l);l=void 0!==p?c*p/100:l;p=this.get("customHeight","100%");var q=g.Jo(p);this.j.EYa(l,void 0!==q?f*q/100:p);this.j.ND(c,f)};d.prototype.rk=function(){this.j.nc(!0)};d.prototype.lk=function(){this.j.nc(!1)};
d.prototype.Od=function(c){this.Vm=c.x;this.Zu=c.y;this.xk=!0;this.Fpa=this.j.Swa(c)};d.prototype.vj=function(c){this.xk&&(this.Iaa(),this.j.move(-(c.x-this.Vm),-(c.y-this.Zu)),this.Vm=c.x,this.Zu=c.y)};d.prototype.wj=function(c){this.xk=!1;this.Fpa||this.j.Swa(c)||this.trigger(new h(d.qBa))};d.prototype.UB=function(c){this.Iaa();this.j.setScale((1+c.delta/20)*this.j.tD())};d.prototype.rB=function(c){this.Iaa();this.j.setScale(c.scale/this.Ila)};d.prototype.FMa=function(){this.trigger(new h(e.Z))};
d.prototype.GMa=function(){b.prototype.set.call(this,"scale",this.j.tD());this.trigger(new h(d.PQ))};d.prototype.Iaa=function(){this.rO?(clearTimeout(this.rO),this.rO=null):this.trigger(new h(d.Gi));this.rO=setTimeout(function(){this.rO=null;this.trigger(new h(d.Fi))}.bind(this),300)};d.qBa="backgroundClick";d.PQ="scaleChange";d.Gi="userInteractionStart";d.Fi="userInteractionEnd";return d});define("nM",["require","kj","nx"],function(a){var e=a("kj");return a("nx").define("ZoomImage",e,function(){e.call(this)})});
define("iZ","require nx jj hV nF eq ec eP og jB jl ge fN hN k ji jY lO op hi ie kT gM fF do bB jK nB jE kF my fz q jf dV eb ox mM cT jJ ng ij lV he O cL u lD gg Y ke bx bl nf oa iX fe lZ lA jb bL cG oh jr nc kX R pi fY E en iO fD be fV fk gO iy bH oX ph ff jM ml iv p dH kw mm ix ee eZ pf hm kM eX mp bN lw iu bj oV gh om cA cB ls oG ju gA kc gT lC no hJ km kD oY ey iC nl eO ih T oI dN gt bG iK fu ba kl eT mA lE fj gF eQ ck im nN mc fw on bt nS gP fl gu dm mN co hP mL jZ hr bX jn dy bO jV jw ov fL gY cf hO li gv eu hv du bz cn eh nM".split(" "),
function(a){a("nx");a("jj");a("hV");a("nF");a("eq");a("ec");a("eP");a("og");a("jB");a("jl");a("ge");a("fN");a("hN");a("k");a("ji");a("jY");a("lO");a("op");a("hi");a("ie");a("kT");a("gM");a("fF");a("do");a("bB");a("jK");a("nB");a("jE");a("kF");a("my");a("fz");a("q");a("jf");a("dV");a("eb");a("ox");a("mM");a("cT");a("jJ");a("ng");a("ij");a("lV");a("he");a("O");a("cL");a("u");a("lD");a("gg");a("Y");a("ke");a("bx");a("bl");a("nf");a("oa");a("iX");a("fe");a("lZ");a("lA");a("jb");a("bL");a("cG");a("oh");
a("jr");a("nc");a("kX");a("R");a("pi");a("fY");a("E");a("en");a("iO");a("fD");a("be");a("fV");a("fk");a("gO");a("iy");a("bH");a("oX");a("ph");a("ff");a("jM");a("ml");a("iv");a("p");a("dH");a("kw");a("mm");a("ix");a("ee");a("eZ");a("pf");a("hm");a("kM");a("eX");a("mp");a("bN");a("lw");a("iu");a("bj");a("oV");a("gh");a("om");a("cA");a("cB");a("ls");a("oG");a("ju");a("gA");a("kc");a("gT");a("lC");a("no");a("hJ");a("km");a("kD");a("oY");a("ey");a("iC");a("nl");a("eO");a("ih");a("T");a("oI");a("dN");a("gt");
a("bG");a("iK");a("fu");a("ba");a("kl");a("eT");a("mA");a("lE");a("fj");a("gF");a("eQ");a("ck");a("im");a("nN");a("mc");a("fw");a("on");a("bt");a("nS");a("gP");a("fl");a("gu");a("dm");a("mN");a("co");a("hP");a("mL");a("jZ");a("hr");a("bX");a("jn");a("dy");a("bO");a("jV");a("jw");a("ov");a("fL");a("gY");a("cf");a("hO");a("li");a("gv");a("eu");a("hv");a("du");a("bz");a("cn");a("eh");a("nM");return!0});
define("go","require eg jquery.mod lo nx bW iZ mj".split(" "),function(a){function e(n,r){this.type=n;this.stack=r}function h(){}var m=a("eg"),k=a("jquery.mod"),b=a("lo"),g=a("nx"),d=a("bW");a("iZ");a("mj");h.prototype.AXa=function(n,r,t,u){this.w4=[];this.Fy=this.GG(n);this.DB=void 0;this.Fy.ys.Fva()?(this.Kaa=d.validate(n),this.DB=this.qka(this.Fy,c.TYPE),this.CGa(this.DB,this.Fy,r,t,u),this.mEa(this.Fy),this.kEa(this.Fy,this.DB),this.nEa(this.DB,this.Fy),this.FEa(this.DB,this.Fy)):this.En("Invalid root class",
[]);return 0==this.w4.length};h.prototype.Jb=function(){return this.Fy.instance};h.prototype.GG=function(n,r){r=r||[];return m(n).isArray()?this.KNa(n,r):k.isPlainObject(n)&&n["class"]?this.NNa(n,r):k.isPlainObject(n)?this.LNa(n,r):m(n).isFunction()?this.MNa(n,r):this.ONa(n,r)};h.prototype.KNa=function(n,r){for(var t=[],u=0;u<n.length;u++)r.push("Item["+u+"]"),t.push(this.GG(n[u],r)),r.pop();return new f(r.slice(),t)};h.prototype.NNa=function(n,r){var t=n["class"],u=g.Ij(n["class"]);if(u){t={};var v=
{},w;for(w in n){r.push(w);var x=n[w];switch(w){case "class":break;case "scripts":var y=this.GG(x,r);break;default:u.hasAttribute(w)?t[w]=this.GG(x,r):u.jwa(w)||u.kwa(w)?v[w]=this.GG(x,r):this.En(u.oD()+" object doesn't have any attribute named "+w,r)}r.pop()}return new c(r.slice(),u,n.id,t,v,y)}this.En("Undefined class name: "+t,r.slice());return new q(r.slice(),null)};h.prototype.LNa=function(n,r){var t={},u;for(u in n)r.push(u),t[u]=this.GG(n[u],r),r.pop();return new l(r.slice(),t)};h.prototype.MNa=
function(n,r){return new p(r.slice(),n)};h.prototype.ONa=function(n,r){return new q(r.slice(),n)};h.prototype.qka=function(n,r){var t=r&&n.type!=r?[]:[n],u=0;for(n=n.Kb();u<n.length;u++)t=t.concat(this.qka(n[u],r));return t};h.prototype.CGa=function(n,r,t,u,v){r.instance=r.ys.gn(null,u,v,[t,this.Kaa]);r.instance.set("application",r.instance);for(t=0;t<n.length;t++){var w=n[t];w!=r&&(w.instance=w.ys.gn(r.instance,u,v))}};h.prototype.mEa=function(n){if(n.scripts)if(n.scripts.type==l.TYPE)for(var r in n.scripts.value)this.lEa(n,
r);else this.En("Invalid content.",n.scripts.stack)};h.prototype.lEa=function(n,r){var t=n.instance,u=n.scripts.value[r];m(t[r]).isUndefined()?u&&u.type==p.TYPE?t[r]=function(){return u.Os().apply(t,arguments)}:this.En("Invalid content.",u.stack):this.En("Identifier: "+r+" is already in use",u.stack)};h.prototype.kEa=function(n,r){n=n.instance;for(var t=0;t<r.length;t++){var u=r[t],v=u.id;v&&(m(n[v]).isUndefined()?n[v]=u.instance:this.En("Identifier: "+v+" is arleady in use",u.stack))}};h.prototype.nEa=
function(n,r){for(var t=0;t<n.length;t++){var u=n[t],v=u.attributes,w;for(w in v)this.jEa(u,w,r)}};h.prototype.jEa=function(n,r,t){var u=n.ys;if(u.hasAttribute(r)){try{var v=n.attributes[r].Os()}catch(w){this.En("Invalid value for property "+r+" of "+u.oD()+" instance",n.stack)}try{v=u.Qba(r)(v,t.instance),n.instance.set(r,v)}catch(w){this.En("Invalid value for property "+r+" of "+u.oD()+" instance",n.stack)}}else this.En(u.oD()+" object doesn't have any property named "+r,n.stack)};h.prototype.FEa=
function(n,r){for(var t=0;t<n.length;t++){var u=n[t],v;for(v in u.lD)this.EEa(u,v,r)}};h.prototype.EEa=function(n,r,t){var u=n.ys,v=n.instance,w=u.jwa(r),x=u.kwa(r);if(w||x){n=n.lD[r];var y=n.Os();m(y).isFunction()?v.bind(r,y,t.instance,x,y):"string"==typeof y?v.bind(r,function(){try{eval("var event = arguments[0];"+y)}catch(A){throw A;}},t.instance,x,y):this.En("Invalid value.",n.stack)}else this.En(u.oD()+" object doesn't have any event named "+r,n.stack)};h.prototype.En=function(n,r){this.w4.push("In "+
r.join(" >> ")+": "+n)};e.prototype.Kb=function(){return[]};e.prototype.Os=function(){};var c=b.extend(e,function(n,r,t,u,v,w){e.call(this,c.TYPE,n);this.ys=r;this.id=t;this.attributes=u;this.lD=v;this.scripts=w;this.instance=null});c.prototype.Kb=function(){var n=this.ys.Pva(),r=[],t=m(this.attributes).clone();if(n)for(var u=0;u<n.length;u++){var v=n[u];void 0!=t[v]&&(r.push(t[v]),delete t[v])}return r=r.concat(m(t).values())};c.prototype.Os=function(){return this.instance};c.TYPE="instance";var f=
b.extend(e,function(n,r){e.call(this,f.TYPE,n);this.items=r});f.prototype.Kb=function(){return this.items.slice()};f.prototype.Os=function(){for(var n=[],r=0;r<this.items.length;r++)n.push(this.items[r].Os());return n};f.TYPE="array";var l=b.extend(e,function(n,r){e.call(this,l.TYPE,n);this.value=r});l.prototype.Kb=function(){return m(this.value).values()};l.prototype.Os=function(){var n={},r;for(r in this.value)n[r]=this.value[r].Os();return n};l.TYPE="dict";var p=b.extend(e,function(n,r){e.call(this,
p.TYPE,n);this.value=r});p.prototype.Os=function(){return this.value};p.TYPE="function";var q=b.extend(e,function(n,r){e.call(this,q.TYPE,n);this.value=r});q.prototype.Os=function(){return this.value};q.TYPE="simple";return h});
define("mO","require eg oH cy nx go v eR mj bv ht mW oF mZ lo".split(" "),function(a){function e(u,v){this.ON=u;this.Ij=this.Ij.bind(this);this.gn=this.gn.bind(this);this.UH=this.UH.bind(this);this.Na=this.Na.bind(this);this.xY=this.xY.bind(this);g.kb()&&!g.Rf()&&n.$f();this.mS=[];u=p.name;var w=[];u&&w.push(u);0<p.zP?w.push("v:"+p.zP+"."+p.BP):w.push("v:"+p.BP);r.log(w.join(" "));this.Lo=v;c.wWa()||0<=[g.eE,g.tw].indexOf(g.browser())?(this.Al=new b,(v=this.Lo.get(TDV.PlayerSettings.BASE_DIR_URL))?
(v=c.nw(v),"/"!=v[v.length-1]&&(v+="/")):v=c.getDirectory(this.Lo.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)),this.pda=this.Lo.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS),d.MXa(v,function(x){this.nba=x;this.iNa()}.bind(this))):window.alert(q("web-server-required"))}var h=a("eg"),m=a("oH");a("cy");var k=a("nx"),b=a("go"),g=a("v"),d=a("eR"),c=a("mj"),f=a("bv"),l=a("ht"),p=a("mW"),q=a("oF"),n=a("mZ"),r=a("lo");e.prototype.iNa=function(){this.ON.trigger(new TDV.YQ(m.tCa,{},[],void 0));h.defer(function(){if(!this.Al.AXa(this.Lo.get(TDV.PlayerSettings.SCRIPT_DATA),
this.Lo.get(TDV.PlayerSettings.CONTAINER),this.nba,this.pda)){if("false"!=p.v_a){window.alert(this.dla());return}r.log(this.dla())}this.DEa();this.bEa(this.Lo);this.pEa();f.initialize(function(){this.ERa()}.bind(this))}.bind(this))};e.prototype.clear=function(){this.Al&&(this.Uka().forEach(function(u){u.instance.Hea();u.ys.aP().forEach(function(v){switch(v){case "VideoPlayer":u.instance.stop();case "MapPlayer":case "Model3DPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":u.instance.set("viewerArea",
null);break;case "ZoomImage":u.instance.set("image",null);break;case "Audio":u.instance.stop();break;case "Effect":u.instance.end();break;case "Media":u.instance.aYa()}})}),l.GXa(),this.Al.Jb().clear(),t={},this.Lo=this.Al=null)};e.prototype.CVa=function(u){return this.Al.Jb()[u]};e.prototype.Ij=function(u){if(u in t)return t[u].slice();var v=[];this.Uka().forEach(function(w){var x=w.ys.aP();h(x).contains(u)&&v.push(w.instance)});t[u]=v;return v.slice()};e.prototype.Uka=function(){return this.Al?
this.Al.DB.concat(this.mS):[]};var t={};e.prototype.gn=function(u){var v=k.Ij(u);if(!v)throw"Invalid className: "+u;t={};u=this.Al.Jb();var w={};w.ys=v;w.instance=v.gn(u,this.nba,this.pda);this.mS.push(w);this.Xha(v,w.instance);return w.instance};e.prototype.UH=function(u){var v=this.mS.findIndex(function(w){return w.instance==u});0>v||(t={},this.mS.splice(v,1),u.Hea(),u.dispose&&u.dispose())};e.prototype.dla=function(){for(var u=this.Al.w4,v=["Errors parsing script file:"],w=0;w<u.length;w++)v.push(u[w]);
return v.join("\n")};e.prototype.DEa=function(){this.Al.DB.forEach(function(v){this.Xha(v.ys,v.instance,v.id)}.bind(this));var u=this.Al.Jb().iS;u.bind(m.jE,function(){u.O_a(m.jE);this.ON.cookiesEnabled=this.ON.fUa=!0;this.ON.trigger(new TDV.YQ(m.jE,{},[],void 0))},this,!0)};e.prototype.Xha=function(u,v,w){var x=u.aP();h.union(u.Vba(),u.$ba()).forEach(function(y){v.bind(y,function(A){this.ON.trigger(new TDV.YQ(y,A,x,w))}.bind(this),this,!0)}.bind(this))};e.prototype.bEa=function(u){this.Al.Jb().set("settings",
u)};e.prototype.Na=function(){return k.Na.apply(k,arguments)};e.prototype.xY=function(u){!u||c.qz(u)||c.ZY(u)||(u=c.cz(c.nw(u,this.nba),this.pda));return u};e.prototype.pEa=function(){var u=this.Al.Jb();u.getByClassName=u.Ij=this.Ij;u.createInstance=u.gn=this.gn;u.disposeInstance=u.UH=this.UH;u.isInstanceOfClass=u.Na=this.Na;u.getAbsoluteURL=u.xY=this.xY};e.prototype.ERa=function(){this.Al.Jb().start()};e.M_a=function(u){u.trigger(new TDV.YQ(m.SBa,{},[],void 0))};return e});
define("main",["require","jquery.mod","mO"],function(a){var e=a("jquery.mod"),h=a("mO");e(document).ready(function(){TDV.pb.xZa(h)})});
(function(t,e){e(t.THREE=t.THREE||{})})(this,function(t){"use strict";const e="151",n=0,i=1,r=2,s=1,a=2,o=3,l=0,c=1,h=2,u=0,d=1,p=2,m=3,f=4,g=5,v=100,_=101,x=102,y=103,M=104,S=200,b=201,w=202,T=203,E=204,A=205,C=206,L=207,P=208,R=209,I=210,D=0,U=1,N=2,O=3,z=4,B=5,F=6,k=7,G=0,V=1,H=2,W=0,j=1,q=2,X=3,Y=4,Z=5,J=300,K=301,$=302,Q=303,tt=304,et=306,nt=1e3,it=1001,rt=1002,st=1003,at=1004,ot=1005,lt=1006,ct=1007,ht=1008,ut=1009,dt=1010,pt=1011,mt=1012,ft=1013,gt=1014,vt=1015,_t=1016,xt=1017,yt=1018,Mt=1020,St=1021,bt=1023,wt=1024,Tt=1025,Et=1026,At=1027,Ct=1028,Lt=1029,Pt=1030,Rt=1031,It=1033,Dt=33776,Ut=33777,Nt=33778,Ot=33779,zt=35840,Bt=35841,Ft=35842,kt=35843,Gt=36196,Vt=37492,Ht=37496,Wt=37808,jt=37809,qt=37810,Xt=37811,Yt=37812,Zt=37813,Jt=37814,Kt=37815,$t=37816,Qt=37817,te=37818,ee=37819,ne=37820,ie=37821,re=36492,se=36283,ae=36284,oe=36285,le=36286,ce=2300,he=2301,ue=2302,de=2400,pe=2401,me=2402,fe=2500,ge=2501,ve=3e3,_e=3001,xe=3201,ye=0,Me=1,Se="srgb",be="srgb-linear",we="display-p3",Te=7680,Ee=35044,Ae="300 es",Ce=1035;class Le{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,i=n.length;e<i;e++)n[e].call(this,t);t.target=null}}}const Pe=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let Re=1234567;const Ie=Math.PI/180,De=180/Math.PI;function Ue(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return(Pe[255&t]+Pe[t>>8&255]+Pe[t>>16&255]+Pe[t>>24&255]+"-"+Pe[255&e]+Pe[e>>8&255]+"-"+Pe[e>>16&15|64]+Pe[e>>24&255]+"-"+Pe[63&n|128]+Pe[n>>8&255]+"-"+Pe[n>>16&255]+Pe[n>>24&255]+Pe[255&i]+Pe[i>>8&255]+Pe[i>>16&255]+Pe[i>>24&255]).toLowerCase()}function Ne(t,e,n){return Math.max(e,Math.min(n,t))}function Oe(t,e){return(t%e+e)%e}function ze(t,e,n){return(1-n)*t+n*e}function Be(t){return 0==(t&t-1)&&0!==t}function Fe(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function ke(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function Ge(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.");}}function Ve(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(65535*t);case Uint8Array:return Math.round(255*t);case Int16Array:return Math.round(32767*t);case Int8Array:return Math.round(127*t);default:throw new Error("Invalid component type.");}}const He={DEG2RAD:Ie,RAD2DEG:De,generateUUID:Ue,clamp:Ne,euclideanModulo:Oe,mapLinear:function(t,e,n,i,r){return i+(t-e)*(r-i)/(n-e)},inverseLerp:function(t,e,n){return t!==e?(n-t)/(e-t):0},lerp:ze,damp:function(t,e,n,i){return ze(t,e,1-Math.exp(-n*i))},pingpong:function(t,e=1){return e-Math.abs(Oe(t,2*e)-e)},smoothstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*(3-2*t)},smootherstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*t*(t*(6*t-15)+10)},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},seededRandom:function(t){void 0!==t&&(Re=t);let e=Re+=1831565813;return e=Math.imul(e^e>>>15,1|e),e^=e+Math.imul(e^e>>>7,61|e),((e^e>>>14)>>>0)/4294967296},degToRad:function(t){return t*Ie},radToDeg:function(t){return t*De},isPowerOfTwo:Be,ceilPowerOfTwo:Fe,floorPowerOfTwo:ke,setQuaternionFromProperEuler:function(t,e,n,i,r){const s=Math.cos,a=Math.sin,o=s(n/2),l=a(n/2),c=s((e+i)/2),h=a((e+i)/2),u=s((e-i)/2),d=a((e-i)/2),p=s((i-e)/2),m=a((i-e)/2);switch(r){case"XYX":t.set(o*h,l*u,l*d,o*c);break;case"YZY":t.set(l*d,o*h,l*u,o*c);break;case"ZXZ":t.set(l*u,l*d,o*h,o*c);break;case"XZX":t.set(o*h,l*m,l*p,o*c);break;case"YXY":t.set(l*p,o*h,l*m,o*c);break;case"ZYZ":t.set(l*m,l*p,o*h,o*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r);}},normalize:Ve,denormalize:Ge};class We{constructor(t=0,e=0){We.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t);}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6],this.y=i[1]*e+i[4]*n+i[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Ne(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),i=Math.sin(e),r=this.x-t.x,s=this.y-t.y;return this.x=r*n-s*i+t.x,this.y=r*i+s*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class je{constructor(){je.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,n,i,r,s,a,o,l){const c=this.elements;return c[0]=t,c[1]=i,c[2]=a,c[3]=e,c[4]=r,c[5]=o,c[6]=n,c[7]=s,c[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,s=n[0],a=n[3],o=n[6],l=n[1],c=n[4],h=n[7],u=n[2],d=n[5],p=n[8],m=i[0],f=i[3],g=i[6],v=i[1],_=i[4],x=i[7],y=i[2],M=i[5],S=i[8];return r[0]=s*m+a*v+o*y,r[3]=s*f+a*_+o*M,r[6]=s*g+a*x+o*S,r[1]=l*m+c*v+h*y,r[4]=l*f+c*_+h*M,r[7]=l*g+c*x+h*S,r[2]=u*m+d*v+p*y,r[5]=u*f+d*_+p*M,r[8]=u*g+d*x+p*S,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8];return e*s*c-e*a*l-n*r*c+n*a*o+i*r*l-i*s*o}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8],h=c*s-a*l,u=a*o-c*r,d=l*r-s*o,p=e*h+n*u+i*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return t[0]=h*m,t[1]=(i*l-c*n)*m,t[2]=(a*n-i*s)*m,t[3]=u*m,t[4]=(c*e-i*o)*m,t[5]=(i*r-a*e)*m,t[6]=d*m,t[7]=(n*o-l*e)*m,t[8]=(s*e-n*r)*m,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,i,r,s,a){const o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*s+l*a)+s+t,-i*l,i*o,-i*(-l*s+o*a)+a+e,0,0,1),this}scale(t,e){return this.premultiply(qe.makeScale(t,e)),this}rotate(t){return this.premultiply(qe.makeRotation(-t)),this}translate(t,e){return this.premultiply(qe.makeTranslation(t,e)),this}makeTranslation(t,e){return this.set(1,0,t,0,1,e,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<9;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return new this.constructor().fromArray(this.elements)}}const qe=new je;function Xe(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}const Ye={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Ze(t,e){return new Ye[t](e)}function Je(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function Ke(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function $e(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}const Qe=new je().fromArray([.8224621,.0331941,.0170827,.177538,.9668058,.0723974,-1e-7,1e-7,.9105199]),tn=new je().fromArray([1.2249401,-.0420569,-.0196376,-.2249404,1.0420571,-.0786361,1e-7,0,1.0982735]);const en={[be]:t=>t,[Se]:t=>t.convertSRGBToLinear(),[we]:function(t){return t.convertSRGBToLinear().applyMatrix3(tn)}},nn={[be]:t=>t,[Se]:t=>t.convertLinearToSRGB(),[we]:function(t){return t.applyMatrix3(Qe).convertLinearToSRGB()}},rn={enabled:!1,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(t){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!t},get workingColorSpace(){return be},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(!1===this.enabled||e===n||!e||!n)return t;const i=en[e],r=nn[n];if(void 0===i||void 0===r)throw new Error(`Unsupported color space conversion, "${e}" to "${n}".`);return r(i(t))},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}};let sn;class an{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if("undefined"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===sn&&(sn=Je("canvas")),sn.width=t.width,sn.height=t.height;const n=sn.getContext("2d");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=sn}return e.width>2048||e.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",t),e.toDataURL("image/jpeg",.6)):e.toDataURL("image/png")}static sRGBToLinear(t){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=Je("canvas");e.width=t.width,e.height=t.height;const n=e.getContext("2d");n.drawImage(t,0,0,t.width,t.height);const i=n.getImageData(0,0,t.width,t.height),r=i.data;for(let t=0;t<r.length;t++)r[t]=255*Ke(r[t]/255);return n.putImageData(i,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*Ke(e[t]/255)):e[t]=Ke(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}}class on{constructor(t=null){this.isSource=!0,this.uuid=Ue(),this.data=t,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:""},i=this.data;if(null!==i){let t;if(Array.isArray(i)){t=[];for(let e=0,n=i.length;e<n;e++)i[e].isDataTexture?t.push(ln(i[e].image)):t.push(ln(i[e]))}else t=ln(i);n.url=t}return e||(t.images[this.uuid]=n),n}}function ln(t){return"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap?an.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let cn=0;class hn extends Le{constructor(t=hn.DEFAULT_IMAGE,e=hn.DEFAULT_MAPPING,n=it,i=it,r=lt,s=ht,a=bt,o=ut,l=hn.DEFAULT_ANISOTROPY,c=ve){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:cn++}),this.uuid=Ue(),this.name="",this.source=new on(t),this.mipmaps=[],this.mapping=e,this.channel=0,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=s,this.anisotropy=l,this.format=a,this.internalFormat=null,this.type=o,this.offset=new We(0,0),this.repeat=new We(1,1),this.center=new We(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new je,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=c,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t=null){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return new this.constructor().copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.channel=t.channel,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||"string"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==J)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case nt:t.x=t.x-Math.floor(t.x);break;case it:t.x=t.x<0?0:1;break;case rt:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x);}if(t.y<0||t.y>1)switch(this.wrapT){case nt:t.y=t.y-Math.floor(t.y);break;case it:t.y=t.y<0?0:1;break;case rt:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y);}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}}hn.DEFAULT_IMAGE=null,hn.DEFAULT_MAPPING=J,hn.DEFAULT_ANISOTROPY=1;class un{constructor(t=0,e=0,n=0,i=1){un.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=i}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,i){return this.x=t,this.y=e,this.z=n,this.w=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t);}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=this.w,s=t.elements;return this.x=s[0]*e+s[4]*n+s[8]*i+s[12]*r,this.y=s[1]*e+s[5]*n+s[9]*i+s[13]*r,this.z=s[2]*e+s[6]*n+s[10]*i+s[14]*r,this.w=s[3]*e+s[7]*n+s[11]*i+s[15]*r,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,i,r;const s=.01,a=.1,o=t.elements,l=o[0],c=o[4],h=o[8],u=o[1],d=o[5],p=o[9],m=o[2],f=o[6],g=o[10];if(Math.abs(c-u)<s&&Math.abs(h-m)<s&&Math.abs(p-f)<s){if(Math.abs(c+u)<a&&Math.abs(h+m)<a&&Math.abs(p+f)<a&&Math.abs(l+d+g-3)<a)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,o=(d+1)/2,v=(g+1)/2,_=(c+u)/4,x=(h+m)/4,y=(p+f)/4;return t>o&&t>v?t<s?(n=0,i=.707106781,r=.707106781):(n=Math.sqrt(t),i=_/n,r=x/n):o>v?o<s?(n=.707106781,i=0,r=.707106781):(i=Math.sqrt(o),n=_/i,r=y/i):v<s?(n=.707106781,i=.707106781,r=0):(r=Math.sqrt(v),n=x/r,i=y/r),this.set(n,i,r,e),this}let v=Math.sqrt((f-p)*(f-p)+(h-m)*(h-m)+(u-c)*(u-c));return Math.abs(v)<.001&&(v=1),this.x=(f-p)/v,this.y=(h-m)/v,this.z=(u-c)/v,this.w=Math.acos((l+d+g-1)/2),this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class dn extends Le{constructor(t=1,e=1,n={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new un(0,0,t,e),this.scissorTest=!1,this.viewport=new un(0,0,t,e);const i={width:t,height:e,depth:1};this.texture=new hn(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.internalFormat=void 0!==n.internalFormat?n.internalFormat:null,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:lt,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null,this.samples=void 0!==n.samples?n.samples:0}setSize(t,e,n=1){this.width===t&&this.height===e&&this.depth===n||(this.width=t,this.height=e,this.depth=n,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return new this.constructor().copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new on(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class pn extends hn{constructor(t=null,e=1,n=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=st,this.minFilter=st,this.wrapR=it,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class mn extends hn{constructor(t=null,e=1,n=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:n,depth:i},this.magFilter=st,this.minFilter=st,this.wrapR=it,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class fn{constructor(t=0,e=0,n=0,i=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=i}static slerpFlat(t,e,n,i,r,s,a){let o=n[i+0],l=n[i+1],c=n[i+2],h=n[i+3];const u=r[s+0],d=r[s+1],p=r[s+2],m=r[s+3];if(0===a)return t[e+0]=o,t[e+1]=l,t[e+2]=c,void(t[e+3]=h);if(1===a)return t[e+0]=u,t[e+1]=d,t[e+2]=p,void(t[e+3]=m);if(h!==m||o!==u||l!==d||c!==p){let t=1-a;const e=o*u+l*d+c*p+h*m,n=e>=0?1:-1,i=1-e*e;if(i>Number.EPSILON){const r=Math.sqrt(i),s=Math.atan2(r,e*n);t=Math.sin(t*s)/r,a=Math.sin(a*s)/r}const r=a*n;if(o=o*t+u*r,l=l*t+d*r,c=c*t+p*r,h=h*t+m*r,t===1-a){const t=1/Math.sqrt(o*o+l*l+c*c+h*h);o*=t,l*=t,c*=t,h*=t}}t[e]=o,t[e+1]=l,t[e+2]=c,t[e+3]=h}static multiplyQuaternionsFlat(t,e,n,i,r,s){const a=n[i],o=n[i+1],l=n[i+2],c=n[i+3],h=r[s],u=r[s+1],d=r[s+2],p=r[s+3];return t[e]=a*p+c*h+o*d-l*u,t[e+1]=o*p+c*u+l*h-a*d,t[e+2]=l*p+c*d+a*u-o*h,t[e+3]=c*p-a*h-o*u-l*d,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,i){return this._x=t,this._y=e,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e){const n=t._x,i=t._y,r=t._z,s=t._order,a=Math.cos,o=Math.sin,l=a(n/2),c=a(i/2),h=a(r/2),u=o(n/2),d=o(i/2),p=o(r/2);switch(s){case"XYZ":this._x=u*c*h+l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h-u*d*p;break;case"YXZ":this._x=u*c*h+l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h+u*d*p;break;case"ZXY":this._x=u*c*h-l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h-u*d*p;break;case"ZYX":this._x=u*c*h-l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h+u*d*p;break;case"YZX":this._x=u*c*h+l*d*p,this._y=l*d*h+u*c*p,this._z=l*c*p-u*d*h,this._w=l*c*h-u*d*p;break;case"XZY":this._x=u*c*h-l*d*p,this._y=l*d*h-u*c*p,this._z=l*c*p+u*d*h,this._w=l*c*h+u*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+s);}return!1!==e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,i=Math.sin(n);return this._x=t.x*i,this._y=t.y*i,this._z=t.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],i=e[4],r=e[8],s=e[1],a=e[5],o=e[9],l=e[2],c=e[6],h=e[10],u=n+a+h;if(u>0){const t=.5/Math.sqrt(u+1);this._w=.25/t,this._x=(c-o)*t,this._y=(r-l)*t,this._z=(s-i)*t}else if(n>a&&n>h){const t=2*Math.sqrt(1+n-a-h);this._w=(c-o)/t,this._x=.25*t,this._y=(i+s)/t,this._z=(r+l)/t}else if(a>h){const t=2*Math.sqrt(1+a-n-h);this._w=(r-l)/t,this._x=(i+s)/t,this._y=.25*t,this._z=(o+c)/t}else{const t=2*Math.sqrt(1+h-n-a);this._w=(s-i)/t,this._x=(r+l)/t,this._y=(o+c)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Ne(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const i=Math.min(1,e/n);return this.slerp(t,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,i=t._y,r=t._z,s=t._w,a=e._x,o=e._y,l=e._z,c=e._w;return this._x=n*c+s*a+i*l-r*o,this._y=i*c+s*o+r*a-n*l,this._z=r*c+s*l+n*o-i*a,this._w=s*c-n*a-i*o-r*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,i=this._y,r=this._z,s=this._w;let a=s*t._w+n*t._x+i*t._y+r*t._z;if(a<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,a=-a):this.copy(t),a>=1)return this._w=s,this._x=n,this._y=i,this._z=r,this;const o=1-a*a;if(o<=Number.EPSILON){const t=1-e;return this._w=t*s+e*this._w,this._x=t*n+e*this._x,this._y=t*i+e*this._y,this._z=t*r+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(o),c=Math.atan2(l,a),h=Math.sin((1-e)*c)/l,u=Math.sin(e*c)/l;return this._w=s*h+this._w*u,this._x=n*h+this._x*u,this._y=i*h+this._y*u,this._z=r*h+this._z*u,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=Math.random(),e=Math.sqrt(1-t),n=Math.sqrt(t),i=2*Math.PI*Math.random(),r=2*Math.PI*Math.random();return this.set(e*Math.cos(i),n*Math.sin(r),n*Math.cos(r),e*Math.sin(i))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class gn{constructor(t=0,e=0,n=0){gn.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t);}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t);}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(_n.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(_n.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6]*i,this.y=r[1]*e+r[4]*n+r[7]*i,this.z=r[2]*e+r[5]*n+r[8]*i,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,i=this.z,r=t.elements,s=1/(r[3]*e+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*i+r[12])*s,this.y=(r[1]*e+r[5]*n+r[9]*i+r[13])*s,this.z=(r[2]*e+r[6]*n+r[10]*i+r[14])*s,this}applyQuaternion(t){const e=this.x,n=this.y,i=this.z,r=t.x,s=t.y,a=t.z,o=t.w,l=o*e+s*i-a*n,c=o*n+a*e-r*i,h=o*i+r*n-s*e,u=-r*e-s*n-a*i;return this.x=l*o+u*-r+c*-a-h*-s,this.y=c*o+u*-s+h*-r-l*-a,this.z=h*o+u*-a+l*-s-c*-r,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[4]*n+r[8]*i,this.y=r[1]*e+r[5]*n+r[9]*i,this.z=r[2]*e+r[6]*n+r[10]*i,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,i=t.y,r=t.z,s=e.x,a=e.y,o=e.z;return this.x=i*o-r*a,this.y=r*s-n*o,this.z=n*a-i*s,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return vn.copy(this).projectOnVector(t),this.sub(vn)}reflect(t){return this.sub(vn.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Ne(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return e*e+n*n+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const i=Math.sin(e)*t;return this.x=i*Math.sin(n),this.y=Math.cos(e)*t,this.z=i*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),i=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=i,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=2*(Math.random()-.5),e=Math.random()*Math.PI*2,n=Math.sqrt(1-t**2);return this.x=n*Math.cos(e),this.y=n*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const vn=new gn,_n=new fn;class xn{constructor(t=new gn(1/0,1/0,1/0),e=new gn(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e+=3)this.expandByPoint(Mn.fromArray(t,e));return this}setFromBufferAttribute(t){this.makeEmpty();for(let e=0,n=t.count;e<n;e++)this.expandByPoint(Mn.fromBufferAttribute(t,e));return this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=Mn.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){if(t.updateWorldMatrix(!1,!1),void 0!==t.boundingBox)null===t.boundingBox&&t.computeBoundingBox(),Sn.copy(t.boundingBox),Sn.applyMatrix4(t.matrixWorld),this.union(Sn);else{const n=t.geometry;if(void 0!==n)if(e&&void 0!==n.attributes&&void 0!==n.attributes.position){const e=n.attributes.position;for(let n=0,i=e.count;n<i;n++)Mn.fromBufferAttribute(e,n).applyMatrix4(t.matrixWorld),this.expandByPoint(Mn)}else null===n.boundingBox&&n.computeBoundingBox(),Sn.copy(n.boundingBox),Sn.applyMatrix4(t.matrixWorld),this.union(Sn)}const n=t.children;for(let t=0,i=n.length;t<i;t++)this.expandByObject(n[t],e);return this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)}intersectsSphere(t){return this.clampPoint(t.center,Mn),Mn.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(Ln),Pn.subVectors(this.max,Ln),bn.subVectors(t.a,Ln),wn.subVectors(t.b,Ln),Tn.subVectors(t.c,Ln),En.subVectors(wn,bn),An.subVectors(Tn,wn),Cn.subVectors(bn,Tn);let e=[0,-En.z,En.y,0,-An.z,An.y,0,-Cn.z,Cn.y,En.z,0,-En.x,An.z,0,-An.x,Cn.z,0,-Cn.x,-En.y,En.x,0,-An.y,An.x,0,-Cn.y,Cn.x,0];return!!Dn(e,bn,wn,Tn,Pn)&&(e=[1,0,0,0,1,0,0,0,1],!!Dn(e,bn,wn,Tn,Pn)&&(Rn.crossVectors(En,An),e=[Rn.x,Rn.y,Rn.z],Dn(e,bn,wn,Tn,Pn)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,Mn).distanceTo(t)}getBoundingSphere(t){return this.isEmpty()?t.makeEmpty():(this.getCenter(t.center),t.radius=.5*this.getSize(Mn).length()),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(yn[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),yn[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),yn[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),yn[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),yn[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),yn[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),yn[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),yn[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(yn)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const yn=[new gn,new gn,new gn,new gn,new gn,new gn,new gn,new gn],Mn=new gn,Sn=new xn,bn=new gn,wn=new gn,Tn=new gn,En=new gn,An=new gn,Cn=new gn,Ln=new gn,Pn=new gn,Rn=new gn,In=new gn;function Dn(t,e,n,i,r){for(let s=0,a=t.length-3;s<=a;s+=3){In.fromArray(t,s);const a=r.x*Math.abs(In.x)+r.y*Math.abs(In.y)+r.z*Math.abs(In.z),o=e.dot(In),l=n.dot(In),c=i.dot(In);if(Math.max(-Math.max(o,l,c),Math.min(o,l,c))>a)return!1}return!0}const Un=new xn,Nn=new gn,On=new gn;class zn{constructor(t=new gn,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):Un.setFromPoints(t).getCenter(n);let i=0;for(let e=0,r=t.length;e<r;e++)i=Math.max(i,n.distanceToSquared(t[e]));return this.radius=Math.sqrt(i),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){if(this.isEmpty())return this.center.copy(t),this.radius=0,this;Nn.subVectors(t,this.center);const e=Nn.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.addScaledVector(Nn,n/t),this.radius+=n}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(!0===this.center.equals(t.center)?this.radius=Math.max(this.radius,t.radius):(On.subVectors(t.center,this.center).setLength(t.radius),this.expandByPoint(Nn.copy(t.center).add(On)),this.expandByPoint(Nn.copy(t.center).sub(On))),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return new this.constructor().copy(this)}}const Bn=new gn,Fn=new gn,kn=new gn,Gn=new gn,Vn=new gn,Hn=new gn,Wn=new gn;class jn{constructor(t=new gn,e=new gn(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Bn)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=Bn.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(Bn.copy(this.origin).addScaledVector(this.direction,e),Bn.distanceToSquared(t))}distanceSqToSegment(t,e,n,i){Fn.copy(t).add(e).multiplyScalar(.5),kn.copy(e).sub(t).normalize(),Gn.copy(this.origin).sub(Fn);const r=.5*t.distanceTo(e),s=-this.direction.dot(kn),a=Gn.dot(this.direction),o=-Gn.dot(kn),l=Gn.lengthSq(),c=Math.abs(1-s*s);let h,u,d,p;if(c>0){if(h=s*o-a,u=s*a-o,p=r*c,h>=0){if(u>=-p){if(u<=p){const t=1/c;h*=t,u*=t,d=h*(h+s*u+2*a)+u*(s*h+u+2*o)+l}else u=r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;}else u=-r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;}else u<=-p?(h=Math.max(0,-(-s*r+a)),u=h>0?-r:Math.min(Math.max(-r,-o),r),d=-h*h+u*(u+2*o)+l):u<=p?(h=0,u=Math.min(Math.max(-r,-o),r),d=u*(u+2*o)+l):(h=Math.max(0,-(s*r+a)),u=h>0?r:Math.min(Math.max(-r,-o),r),d=-h*h+u*(u+2*o)+l);}else u=s>0?-r:r,h=Math.max(0,-(s*u+a)),d=-h*h+u*(u+2*o)+l;return n&&n.copy(this.origin).addScaledVector(this.direction,h),i&&i.copy(Fn).addScaledVector(kn,u),d}intersectSphere(t,e){Bn.subVectors(t.center,this.origin);const n=Bn.dot(this.direction),i=Bn.dot(Bn)-n*n,r=t.radius*t.radius;if(i>r)return null;const s=Math.sqrt(r-i),a=n-s,o=n+s;return o<0?null:a<0?this.at(o,e):this.at(a,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);if(0===e)return!0;return t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,i,r,s,a,o;const l=1/this.direction.x,c=1/this.direction.y,h=1/this.direction.z,u=this.origin;return l>=0?(n=(t.min.x-u.x)*l,i=(t.max.x-u.x)*l):(n=(t.max.x-u.x)*l,i=(t.min.x-u.x)*l),c>=0?(r=(t.min.y-u.y)*c,s=(t.max.y-u.y)*c):(r=(t.max.y-u.y)*c,s=(t.min.y-u.y)*c),n>s||r>i?null:((r>n||isNaN(n))&&(n=r),(s<i||isNaN(i))&&(i=s),h>=0?(a=(t.min.z-u.z)*h,o=(t.max.z-u.z)*h):(a=(t.max.z-u.z)*h,o=(t.min.z-u.z)*h),n>o||a>i?null:((a>n||n!=n)&&(n=a),(o<i||i!=i)&&(i=o),i<0?null:this.at(n>=0?n:i,e)))}intersectsBox(t){return null!==this.intersectBox(t,Bn)}intersectTriangle(t,e,n,i,r){Vn.subVectors(e,t),Hn.subVectors(n,t),Wn.crossVectors(Vn,Hn);let s,a=this.direction.dot(Wn);if(a>0){if(i)return null;s=1}else{if(!(a<0))return null;s=-1,a=-a}Gn.subVectors(this.origin,t);const o=s*this.direction.dot(Hn.crossVectors(Gn,Hn));if(o<0)return null;const l=s*this.direction.dot(Vn.cross(Gn));if(l<0)return null;if(o+l>a)return null;const c=-s*Gn.dot(Wn);return c<0?null:this.at(c/a,r)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class qn{constructor(){qn.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,n,i,r,s,a,o,l,c,h,u,d,p,m,f){const g=this.elements;return g[0]=t,g[4]=e,g[8]=n,g[12]=i,g[1]=r,g[5]=s,g[9]=a,g[13]=o,g[2]=l,g[6]=c,g[10]=h,g[14]=u,g[3]=d,g[7]=p,g[11]=m,g[15]=f,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new qn().fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,i=1/Xn.setFromMatrixColumn(t,0).length(),r=1/Xn.setFromMatrixColumn(t,1).length(),s=1/Xn.setFromMatrixColumn(t,2).length();return e[0]=n[0]*i,e[1]=n[1]*i,e[2]=n[2]*i,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*s,e[9]=n[9]*s,e[10]=n[10]*s,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,i=t.y,r=t.z,s=Math.cos(n),a=Math.sin(n),o=Math.cos(i),l=Math.sin(i),c=Math.cos(r),h=Math.sin(r);if("XYZ"===t.order){const t=s*c,n=s*h,i=a*c,r=a*h;e[0]=o*c,e[4]=-o*h,e[8]=l,e[1]=n+i*l,e[5]=t-r*l,e[9]=-a*o,e[2]=r-t*l,e[6]=i+n*l,e[10]=s*o}else if("YXZ"===t.order){const t=o*c,n=o*h,i=l*c,r=l*h;e[0]=t+r*a,e[4]=i*a-n,e[8]=s*l,e[1]=s*h,e[5]=s*c,e[9]=-a,e[2]=n*a-i,e[6]=r+t*a,e[10]=s*o}else if("ZXY"===t.order){const t=o*c,n=o*h,i=l*c,r=l*h;e[0]=t-r*a,e[4]=-s*h,e[8]=i+n*a,e[1]=n+i*a,e[5]=s*c,e[9]=r-t*a,e[2]=-s*l,e[6]=a,e[10]=s*o}else if("ZYX"===t.order){const t=s*c,n=s*h,i=a*c,r=a*h;e[0]=o*c,e[4]=i*l-n,e[8]=t*l+r,e[1]=o*h,e[5]=r*l+t,e[9]=n*l-i,e[2]=-l,e[6]=a*o,e[10]=s*o}else if("YZX"===t.order){const t=s*o,n=s*l,i=a*o,r=a*l;e[0]=o*c,e[4]=r-t*h,e[8]=i*h+n,e[1]=h,e[5]=s*c,e[9]=-a*c,e[2]=-l*c,e[6]=n*h+i,e[10]=t-r*h}else if("XZY"===t.order){const t=s*o,n=s*l,i=a*o,r=a*l;e[0]=o*c,e[4]=-h,e[8]=l*c,e[1]=t*h+r,e[5]=s*c,e[9]=n*h-i,e[2]=i*h-n,e[6]=a*c,e[10]=r*h+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(Zn,t,Jn)}lookAt(t,e,n){const i=this.elements;return Qn.subVectors(t,e),0===Qn.lengthSq()&&(Qn.z=1),Qn.normalize(),Kn.crossVectors(n,Qn),0===Kn.lengthSq()&&(1===Math.abs(n.z)?Qn.x+=1e-4:Qn.z+=1e-4,Qn.normalize(),Kn.crossVectors(n,Qn)),Kn.normalize(),$n.crossVectors(Qn,Kn),i[0]=Kn.x,i[4]=$n.x,i[8]=Qn.x,i[1]=Kn.y,i[5]=$n.y,i[9]=Qn.y,i[2]=Kn.z,i[6]=$n.z,i[10]=Qn.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,i=e.elements,r=this.elements,s=n[0],a=n[4],o=n[8],l=n[12],c=n[1],h=n[5],u=n[9],d=n[13],p=n[2],m=n[6],f=n[10],g=n[14],v=n[3],_=n[7],x=n[11],y=n[15],M=i[0],S=i[4],b=i[8],w=i[12],T=i[1],E=i[5],A=i[9],C=i[13],L=i[2],P=i[6],R=i[10],I=i[14],D=i[3],U=i[7],N=i[11],O=i[15];return r[0]=s*M+a*T+o*L+l*D,r[4]=s*S+a*E+o*P+l*U,r[8]=s*b+a*A+o*R+l*N,r[12]=s*w+a*C+o*I+l*O,r[1]=c*M+h*T+u*L+d*D,r[5]=c*S+h*E+u*P+d*U,r[9]=c*b+h*A+u*R+d*N,r[13]=c*w+h*C+u*I+d*O,r[2]=p*M+m*T+f*L+g*D,r[6]=p*S+m*E+f*P+g*U,r[10]=p*b+m*A+f*R+g*N,r[14]=p*w+m*C+f*I+g*O,r[3]=v*M+_*T+x*L+y*D,r[7]=v*S+_*E+x*P+y*U,r[11]=v*b+_*A+x*R+y*N,r[15]=v*w+_*C+x*I+y*O,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],i=t[8],r=t[12],s=t[1],a=t[5],o=t[9],l=t[13],c=t[2],h=t[6],u=t[10],d=t[14];return t[3]*(+r*o*h-i*l*h-r*a*u+n*l*u+i*a*d-n*o*d)+t[7]*(+e*o*d-e*l*u+r*s*u-i*s*d+i*l*c-r*o*c)+t[11]*(+e*l*h-e*a*d-r*s*h+n*s*d+r*a*c-n*l*c)+t[15]*(-i*a*c-e*o*h+e*a*u+i*s*h-n*s*u+n*o*c)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const i=this.elements;return t.isVector3?(i[12]=t.x,i[13]=t.y,i[14]=t.z):(i[12]=t,i[13]=e,i[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],i=t[2],r=t[3],s=t[4],a=t[5],o=t[6],l=t[7],c=t[8],h=t[9],u=t[10],d=t[11],p=t[12],m=t[13],f=t[14],g=t[15],v=h*f*l-m*u*l+m*o*d-a*f*d-h*o*g+a*u*g,_=p*u*l-c*f*l-p*o*d+s*f*d+c*o*g-s*u*g,x=c*m*l-p*h*l+p*a*d-s*m*d-c*a*g+s*h*g,y=p*h*o-c*m*o-p*a*u+s*m*u+c*a*f-s*h*f,M=e*v+n*_+i*x+r*y;if(0===M)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const S=1/M;return t[0]=v*S,t[1]=(m*u*r-h*f*r-m*i*d+n*f*d+h*i*g-n*u*g)*S,t[2]=(a*f*r-m*o*r+m*i*l-n*f*l-a*i*g+n*o*g)*S,t[3]=(h*o*r-a*u*r-h*i*l+n*u*l+a*i*d-n*o*d)*S,t[4]=_*S,t[5]=(c*f*r-p*u*r+p*i*d-e*f*d-c*i*g+e*u*g)*S,t[6]=(p*o*r-s*f*r-p*i*l+e*f*l+s*i*g-e*o*g)*S,t[7]=(s*u*r-c*o*r+c*i*l-e*u*l-s*i*d+e*o*d)*S,t[8]=x*S,t[9]=(p*h*r-c*m*r-p*n*d+e*m*d+c*n*g-e*h*g)*S,t[10]=(s*m*r-p*a*r+p*n*l-e*m*l-s*n*g+e*a*g)*S,t[11]=(c*a*r-s*h*r-c*n*l+e*h*l+s*n*d-e*a*d)*S,t[12]=y*S,t[13]=(c*m*i-p*h*i+p*n*u-e*m*u-c*n*f+e*h*f)*S,t[14]=(p*a*i-s*m*i-p*n*o+e*m*o+s*n*f-e*a*f)*S,t[15]=(s*h*i-c*a*i+c*n*o-e*h*o-s*n*u+e*a*u)*S,this}scale(t){const e=this.elements,n=t.x,i=t.y,r=t.z;return e[0]*=n,e[4]*=i,e[8]*=r,e[1]*=n,e[5]*=i,e[9]*=r,e[2]*=n,e[6]*=i,e[10]*=r,e[3]*=n,e[7]*=i,e[11]*=r,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],i=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,i))}makeTranslation(t,e,n){return this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),i=Math.sin(e),r=1-n,s=t.x,a=t.y,o=t.z,l=r*s,c=r*a;return this.set(l*s+n,l*a-i*o,l*o+i*a,0,l*a+i*o,c*a+n,c*o-i*s,0,l*o-i*a,c*o+i*s,r*o*o+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,i,r,s){return this.set(1,n,r,0,t,1,s,0,e,i,1,0,0,0,0,1),this}compose(t,e,n){const i=this.elements,r=e._x,s=e._y,a=e._z,o=e._w,l=r+r,c=s+s,h=a+a,u=r*l,d=r*c,p=r*h,m=s*c,f=s*h,g=a*h,v=o*l,_=o*c,x=o*h,y=n.x,M=n.y,S=n.z;return i[0]=(1-(m+g))*y,i[1]=(d+x)*y,i[2]=(p-_)*y,i[3]=0,i[4]=(d-x)*M,i[5]=(1-(u+g))*M,i[6]=(f+v)*M,i[7]=0,i[8]=(p+_)*S,i[9]=(f-v)*S,i[10]=(1-(u+m))*S,i[11]=0,i[12]=t.x,i[13]=t.y,i[14]=t.z,i[15]=1,this}decompose(t,e,n){const i=this.elements;let r=Xn.set(i[0],i[1],i[2]).length();const s=Xn.set(i[4],i[5],i[6]).length(),a=Xn.set(i[8],i[9],i[10]).length();this.determinant()<0&&(r=-r),t.x=i[12],t.y=i[13],t.z=i[14],Yn.copy(this);const o=1/r,l=1/s,c=1/a;return Yn.elements[0]*=o,Yn.elements[1]*=o,Yn.elements[2]*=o,Yn.elements[4]*=l,Yn.elements[5]*=l,Yn.elements[6]*=l,Yn.elements[8]*=c,Yn.elements[9]*=c,Yn.elements[10]*=c,e.setFromRotationMatrix(Yn),n.x=r,n.y=s,n.z=a,this}makePerspective(t,e,n,i,r,s){const a=this.elements,o=2*r/(e-t),l=2*r/(n-i),c=(e+t)/(e-t),h=(n+i)/(n-i),u=-(s+r)/(s-r),d=-2*s*r/(s-r);return a[0]=o,a[4]=0,a[8]=c,a[12]=0,a[1]=0,a[5]=l,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=u,a[14]=d,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(t,e,n,i,r,s){const a=this.elements,o=1/(e-t),l=1/(n-i),c=1/(s-r),h=(e+t)*o,u=(n+i)*l,d=(s+r)*c;return a[0]=2*o,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*l,a[9]=0,a[13]=-u,a[2]=0,a[6]=0,a[10]=-2*c,a[14]=-d,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<16;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const Xn=new gn,Yn=new qn,Zn=new gn(0,0,0),Jn=new gn(1,1,1),Kn=new gn,$n=new gn,Qn=new gn,ti=new qn,ei=new fn;class ni{constructor(t=0,e=0,n=0,i=ni.DEFAULT_ORDER){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=i}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,i=this._order){return this._x=t,this._y=e,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const i=t.elements,r=i[0],s=i[4],a=i[8],o=i[1],l=i[5],c=i[9],h=i[2],u=i[6],d=i[10];switch(e){case"XYZ":this._y=Math.asin(Ne(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,d),this._z=Math.atan2(-s,r)):(this._x=Math.atan2(u,l),this._z=0);break;case"YXZ":this._x=Math.asin(-Ne(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(a,d),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-h,r),this._z=0);break;case"ZXY":this._x=Math.asin(Ne(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(-h,d),this._z=Math.atan2(-s,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-Ne(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(u,d),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-s,l));break;case"YZX":this._z=Math.asin(Ne(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-c,l),this._y=Math.atan2(-h,r)):(this._x=0,this._y=Math.atan2(a,d));break;case"XZY":this._z=Math.asin(-Ne(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(u,l),this._y=Math.atan2(a,r)):(this._x=Math.atan2(-c,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+e);}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return ti.makeRotationFromQuaternion(t),this.setFromRotationMatrix(ti,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return ei.setFromEuler(this),this.setFromQuaternion(ei,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}ni.DEFAULT_ORDER="XYZ";class ii{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return 0!=(this.mask&t.mask)}isEnabled(t){return 0!=(this.mask&(1<<t|0))}}let ri=0;const si=new gn,ai=new fn,oi=new qn,li=new gn,ci=new gn,hi=new gn,ui=new fn,di=new gn(1,0,0),pi=new gn(0,1,0),mi=new gn(0,0,1),fi={type:"added"},gi={type:"removed"};class vi extends Le{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:ri++}),this.uuid=Ue(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=vi.DEFAULT_UP.clone();const t=new gn,e=new ni,n=new fn,i=new gn(1,1,1);e._onChange(function(){n.setFromEuler(e,!1)}),n._onChange(function(){e.setFromQuaternion(n,void 0,!1)}),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:i},modelViewMatrix:{value:new qn},normalMatrix:{value:new je}}),this.matrix=new qn,this.matrixWorld=new qn,this.matrixAutoUpdate=vi.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.matrixWorldAutoUpdate=vi.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.layers=new ii,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return ai.setFromAxisAngle(t,e),this.quaternion.multiply(ai),this}rotateOnWorldAxis(t,e){return ai.setFromAxisAngle(t,e),this.quaternion.premultiply(ai),this}rotateX(t){return this.rotateOnAxis(di,t)}rotateY(t){return this.rotateOnAxis(pi,t)}rotateZ(t){return this.rotateOnAxis(mi,t)}translateOnAxis(t,e){return si.copy(t).applyQuaternion(this.quaternion),this.position.add(si.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(di,t)}translateY(t){return this.translateOnAxis(pi,t)}translateZ(t){return this.translateOnAxis(mi,t)}localToWorld(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(oi.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?li.copy(t):li.set(t,e,n);const i=this.parent;this.updateWorldMatrix(!0,!1),ci.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?oi.lookAt(ci,li,this.up):oi.lookAt(li,ci,this.up),this.quaternion.setFromRotationMatrix(oi),i&&(oi.extractRotation(i.matrixWorld),ai.setFromRotationMatrix(oi),this.quaternion.premultiply(ai.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(fi)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(gi)),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(gi)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),oi.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),oi.multiply(t.parent.matrixWorld)),t.applyMatrix4(oi),this.add(t),t.updateWorldMatrix(!1,!0),this}getObjectById(t){return this.getObjectByProperty("id",t)}getObjectByName(t){return this.getObjectByProperty("name",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,i=this.children.length;n<i;n++){const i=this.children[n].getObjectByProperty(t,e);if(void 0!==i)return i}}getObjectsByProperty(t,e){let n=[];this[t]===e&&n.push(this);for(let i=0,r=this.children.length;i<r;i++){const r=this.children[i].getObjectsByProperty(t,e);r.length>0&&(n=n.concat(r))}return n}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ci,t,hi),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ci,ui,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,i=e.length;n<i;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,i=e.length;n<i;n++){const i=e[n];!0!==i.matrixWorldAutoUpdate&&!0!==t||i.updateMatrixWorld(t)}}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++){const n=t[e];!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!1,!0)}}}toJSON(t){const e=void 0===t||"string"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const i={};function r(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(i.uuid=this.uuid,i.type=this.type,""!==this.name&&(i.name=this.name),!0===this.castShadow&&(i.castShadow=!0),!0===this.receiveShadow&&(i.receiveShadow=!0),!1===this.visible&&(i.visible=!1),!1===this.frustumCulled&&(i.frustumCulled=!1),0!==this.renderOrder&&(i.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,i=n.length;e<i;e++){const i=n[e];r(t.shapes,i)}else r(t.shapes,n)}}if(this.isSkinnedMesh&&(i.bindMode=this.bindMode,i.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(r(t.skeletons,this.skeleton),i.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,i=this.material.length;n<i;n++)e.push(r(t.materials,this.material[n]));i.material=e}else i.material=r(t.materials,this.material);if(this.children.length>0){i.children=[];for(let e=0;e<this.children.length;e++)i.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){i.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];i.animations.push(r(t.animations,n))}}if(e){const e=s(t.geometries),i=s(t.materials),r=s(t.textures),a=s(t.images),o=s(t.shapes),l=s(t.skeletons),c=s(t.animations),h=s(t.nodes);e.length>0&&(n.geometries=e),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),a.length>0&&(n.images=a),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),c.length>0&&(n.animations=c),h.length>0&&(n.nodes=h)}return n.object=i,n;function s(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}}clone(t){return new this.constructor().copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let e=0;e<t.children.length;e++){const n=t.children[e];this.add(n.clone())}return this}}vi.DEFAULT_UP=new gn(0,1,0),vi.DEFAULT_MATRIX_AUTO_UPDATE=!0,vi.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const _i=new gn,xi=new gn,yi=new gn,Mi=new gn,Si=new gn,bi=new gn,wi=new gn,Ti=new gn,Ei=new gn,Ai=new gn;let Ci=!1;class Li{constructor(t=new gn,e=new gn,n=new gn){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,i){i.subVectors(n,e),_i.subVectors(t,e),i.cross(_i);const r=i.lengthSq();return r>0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(t,e,n,i,r){_i.subVectors(i,e),xi.subVectors(n,e),yi.subVectors(t,e);const s=_i.dot(_i),a=_i.dot(xi),o=_i.dot(yi),l=xi.dot(xi),c=xi.dot(yi),h=s*l-a*a;if(0===h)return r.set(-2,-1,-1);const u=1/h,d=(l*o-a*c)*u,p=(s*c-a*o)*u;return r.set(1-d-p,p,d)}static containsPoint(t,e,n,i){return this.getBarycoord(t,e,n,i,Mi),Mi.x>=0&&Mi.y>=0&&Mi.x+Mi.y<=1}static getUV(t,e,n,i,r,s,a,o){return!1===Ci&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Ci=!0),this.getInterpolation(t,e,n,i,r,s,a,o)}static getInterpolation(t,e,n,i,r,s,a,o){return this.getBarycoord(t,e,n,i,Mi),o.setScalar(0),o.addScaledVector(r,Mi.x),o.addScaledVector(s,Mi.y),o.addScaledVector(a,Mi.z),o}static isFrontFacing(t,e,n,i){return _i.subVectors(n,e),xi.subVectors(t,e),_i.cross(xi).dot(i)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,i){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[i]),this}setFromAttributeAndIndices(t,e,n,i){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,i),this}clone(){return new this.constructor().copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return _i.subVectors(this.c,this.b),xi.subVectors(this.a,this.b),.5*_i.cross(xi).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return Li.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return Li.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,n,i,r){return!1===Ci&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),Ci=!0),Li.getInterpolation(t,this.a,this.b,this.c,e,n,i,r)}getInterpolation(t,e,n,i,r){return Li.getInterpolation(t,this.a,this.b,this.c,e,n,i,r)}containsPoint(t){return Li.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return Li.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,i=this.b,r=this.c;let s,a;Si.subVectors(i,n),bi.subVectors(r,n),Ti.subVectors(t,n);const o=Si.dot(Ti),l=bi.dot(Ti);if(o<=0&&l<=0)return e.copy(n);Ei.subVectors(t,i);const c=Si.dot(Ei),h=bi.dot(Ei);if(c>=0&&h<=c)return e.copy(i);const u=o*h-c*l;if(u<=0&&o>=0&&c<=0)return s=o/(o-c),e.copy(n).addScaledVector(Si,s);Ai.subVectors(t,r);const d=Si.dot(Ai),p=bi.dot(Ai);if(p>=0&&d<=p)return e.copy(r);const m=d*l-o*p;if(m<=0&&l>=0&&p<=0)return a=l/(l-p),e.copy(n).addScaledVector(bi,a);const f=c*p-d*h;if(f<=0&&h-c>=0&&d-p>=0)return wi.subVectors(r,i),a=(h-c)/(h-c+(d-p)),e.copy(i).addScaledVector(wi,a);const g=1/(f+m+u);return s=m*g,a=u*g,e.copy(n).addScaledVector(Si,s).addScaledVector(bi,a)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let Pi=0;class Ri extends Le{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:Pi++}),this.uuid=Ue(),this.name="",this.type="Material",this.blending=d,this.side=l,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=E,this.blendDst=A,this.blendEquation=v,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=O,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Te,this.stencilZFail=Te,this.stencilZPass=Te,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn(`THREE.Material: parameter '${e}' has value of undefined.`);continue}const i=this[e];void 0!==i?i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[e]=n:console.warn(`THREE.Material: '${e}' is not a property of THREE.${this.type}.`)}}toJSON(t){const e=void 0===t||"string"==typeof t;e&&(t={textures:{},images:{}});const n={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function i(t){const e=[];for(const n in t){const i=t[n];delete i.metadata,e.push(i)}return e}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==d&&(n.blending=this.blending),this.side!==l&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.forceSinglePass&&(n.forceSinglePass=this.forceSinglePass),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),e){const e=i(t.textures),r=i(t.images);e.length>0&&(n.textures=e),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let i=0;i!==t;++i)n[i]=e[i].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.forceSinglePass=t.forceSinglePass,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){!0===t&&this.version++}}const Ii={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Di={h:0,s:0,l:0},Ui={h:0,s:0,l:0};function Ni(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}class Oi{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===e&&void 0===n?this.set(t):this.setRGB(t,e,n)}set(t){return t&&t.isColor?this.copy(t):"number"==typeof t?this.setHex(t):"string"==typeof t&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=Se){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,rn.toWorkingColorSpace(this,e),this}setRGB(t,e,n,i=rn.workingColorSpace){return this.r=t,this.g=e,this.b=n,rn.toWorkingColorSpace(this,i),this}setHSL(t,e,n,i=rn.workingColorSpace){if(t=Oe(t,1),e=Ne(e,0,1),n=Ne(n,0,1),0===e)this.r=this.g=this.b=n;else{const i=n<=.5?n*(1+e):n+e-n*e,r=2*n-i;this.r=Ni(r,i,t+1/3),this.g=Ni(r,i,t),this.b=Ni(r,i,t-1/3)}return rn.toWorkingColorSpace(this,i),this}setStyle(t,e=Se){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn("THREE.Color: Alpha component of "+t+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(t)){let r;const s=i[1],a=i[2];switch(s){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(r[1],10))/255,this.g=Math.min(255,parseInt(r[2],10))/255,this.b=Math.min(255,parseInt(r[3],10))/255,rn.toWorkingColorSpace(this,e),n(r[4]),this;if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(r[1],10))/100,this.g=Math.min(100,parseInt(r[2],10))/100,this.b=Math.min(100,parseInt(r[3],10))/100,rn.toWorkingColorSpace(this,e),n(r[4]),this;break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const t=parseFloat(r[1])/360,i=parseFloat(r[2])/100,s=parseFloat(r[3])/100;return n(r[4]),this.setHSL(t,i,s,e)}break;default:console.warn("THREE.Color: Unknown color model "+t);}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(t)){const n=i[1],r=n.length;if(3===r)return this.setRGB(parseInt(n.charAt(0),16)/15,parseInt(n.charAt(1),16)/15,parseInt(n.charAt(2),16)/15,e);if(6===r)return this.setHex(parseInt(n,16),e);console.warn("THREE.Color: Invalid hex color "+t)}else if(t&&t.length>0)return this.setColorName(t,e);return this}setColorName(t,e=Se){const n=Ii[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn("THREE.Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Ke(t.r),this.g=Ke(t.g),this.b=Ke(t.b),this}copyLinearToSRGB(t){return this.r=$e(t.r),this.g=$e(t.g),this.b=$e(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=Se){return rn.fromWorkingColorSpace(zi.copy(this),t),Ne(255*zi.r,0,255)<<16^Ne(255*zi.g,0,255)<<8^Ne(255*zi.b,0,255)<<0}getHexString(t=Se){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=rn.workingColorSpace){rn.fromWorkingColorSpace(zi.copy(this),e);const n=zi.r,i=zi.g,r=zi.b,s=Math.max(n,i,r),a=Math.min(n,i,r);let o,l;const c=(a+s)/2;if(a===s)o=0,l=0;else{const t=s-a;switch(l=c<=.5?t/(s+a):t/(2-s-a),s){case n:o=(i-r)/t+(i<r?6:0);break;case i:o=(r-n)/t+2;break;case r:o=(n-i)/t+4;}o/=6}return t.h=o,t.s=l,t.l=c,t}getRGB(t,e=rn.workingColorSpace){return rn.fromWorkingColorSpace(zi.copy(this),e),t.r=zi.r,t.g=zi.g,t.b=zi.b,t}getStyle(t=Se){rn.fromWorkingColorSpace(zi.copy(this),t);const e=zi.r,n=zi.g,i=zi.b;return t!==Se?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${i.toFixed(3)})`:`rgb(${255*e|0},${255*n|0},${255*i|0})`}offsetHSL(t,e,n){return this.getHSL(Di),Di.h+=t,Di.s+=e,Di.l+=n,this.setHSL(Di.h,Di.s,Di.l),this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(Di),t.getHSL(Ui);const n=ze(Di.h,Ui.h,e),i=ze(Di.s,Ui.s,e),r=ze(Di.l,Ui.l,e);return this.setHSL(n,i,r),this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,i=this.b,r=t.elements;return this.r=r[0]*e+r[3]*n+r[6]*i,this.g=r[1]*e+r[4]*n+r[7]*i,this.b=r[2]*e+r[5]*n+r[8]*i,this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const zi=new Oi;Oi.NAMES=Ii;class Bi extends Ri{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Oi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const Fi=ki();function ki(){const t=new ArrayBuffer(4),e=new Float32Array(t),n=new Uint32Array(t),i=new Uint32Array(512),r=new Uint32Array(512);for(let t=0;t<256;++t){const e=t-127;e<-27?(i[t]=0,i[256|t]=32768,r[t]=24,r[256|t]=24):e<-14?(i[t]=1024>>-e-14,i[256|t]=1024>>-e-14|32768,r[t]=-e-1,r[256|t]=-e-1):e<=15?(i[t]=e+15<<10,i[256|t]=e+15<<10|32768,r[t]=13,r[256|t]=13):e<128?(i[t]=31744,i[256|t]=64512,r[t]=24,r[256|t]=24):(i[t]=31744,i[256|t]=64512,r[t]=13,r[256|t]=13)}const s=new Uint32Array(2048),a=new Uint32Array(64),o=new Uint32Array(64);for(let t=1;t<1024;++t){let e=t<<13,n=0;for(;0==(8388608&e);)e<<=1,n-=8388608;e&=-8388609,n+=947912704,s[t]=e|n}for(let t=1024;t<2048;++t)s[t]=939524096+(t-1024<<13);for(let t=1;t<31;++t)a[t]=t<<23;a[31]=1199570944,a[32]=2147483648;for(let t=33;t<63;++t)a[t]=2147483648+(t-32<<23);a[63]=3347054592;for(let t=1;t<64;++t)32!==t&&(o[t]=1024);return{floatView:e,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:s,exponentTable:a,offsetTable:o}}function Gi(t){Math.abs(t)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),t=Ne(t,-65504,65504),Fi.floatView[0]=t;const e=Fi.uint32View[0],n=e>>23&511;return Fi.baseTable[n]+((8388607&e)>>Fi.shiftTable[n])}function Vi(t){const e=t>>10;return Fi.uint32View[0]=Fi.mantissaTable[Fi.offsetTable[e]+(1023&t)]+Fi.exponentTable[e],Fi.floatView[0]}const Hi={toHalfFloat:Gi,fromHalfFloat:Vi},Wi=new gn,ji=new We;class qi{constructor(t,e,n=!1){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=n,this.usage=Ee,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;for(let i=0,r=this.itemSize;i<r;i++)this.array[t+i]=e.array[n+i];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)ji.fromBufferAttribute(this,e),ji.applyMatrix3(t),this.setXY(e,ji.x,ji.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyMatrix3(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyMatrix4(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.applyNormalMatrix(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Wi.fromBufferAttribute(this,e),Wi.transformDirection(t),this.setXYZ(e,Wi.x,Wi.y,Wi.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){let e=this.array[t*this.itemSize];return this.normalized&&(e=Ge(e,this.array)),e}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize]=e,this}getY(t){let e=this.array[t*this.itemSize+1];return this.normalized&&(e=Ge(e,this.array)),e}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+1]=e,this}getZ(t){let e=this.array[t*this.itemSize+2];return this.normalized&&(e=Ge(e,this.array)),e}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+2]=e,this}getW(t){let e=this.array[t*this.itemSize+3];return this.normalized&&(e=Ge(e,this.array)),e}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,i){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=i,this.array[t+3]=r,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(t.name=this.name),this.usage!==Ee&&(t.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(t.updateRange=this.updateRange),t}copyColorsArray(){console.error("THREE.BufferAttribute: copyColorsArray() was removed in r144.")}copyVector2sArray(){console.error("THREE.BufferAttribute: copyVector2sArray() was removed in r144.")}copyVector3sArray(){console.error("THREE.BufferAttribute: copyVector3sArray() was removed in r144.")}copyVector4sArray(){console.error("THREE.BufferAttribute: copyVector4sArray() was removed in r144.")}}class Xi extends qi{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class Yi extends qi{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class Zi extends qi{constructor(t,e,n){super(new Float32Array(t),e,n)}}let Ji=0;const Ki=new qn,$i=new vi,Qi=new gn,tr=new xn,er=new xn,nr=new gn;class ir extends Le{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Ji++}),this.uuid=Ue(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(Xe(t)?Yi:Xi)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=new je().getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const i=this.attributes.tangent;return void 0!==i&&(i.transformDirection(t),i.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return Ki.makeRotationFromQuaternion(t),this.applyMatrix4(Ki),this}rotateX(t){return Ki.makeRotationX(t),this.applyMatrix4(Ki),this}rotateY(t){return Ki.makeRotationY(t),this.applyMatrix4(Ki),this}rotateZ(t){return Ki.makeRotationZ(t),this.applyMatrix4(Ki),this}translate(t,e,n){return Ki.makeTranslation(t,e,n),this.applyMatrix4(Ki),this}scale(t,e,n){return Ki.makeScale(t,e,n),this.applyMatrix4(Ki),this}lookAt(t){return $i.lookAt(t),$i.updateMatrix(),this.applyMatrix4($i.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Qi).negate(),this.translate(Qi.x,Qi.y,Qi.z),this}setFromPoints(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(i.x,i.y,i.z||0)}return this.setAttribute("position",new Zi(e,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new xn);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set \"mesh.frustumCulled\" to \"false\".",this),void this.boundingBox.set(new gn(-1/0,-1/0,-1/0),new gn(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];tr.setFromBufferAttribute(n),this.morphTargetsRelative?(nr.addVectors(this.boundingBox.min,tr.min),this.boundingBox.expandByPoint(nr),nr.addVectors(this.boundingBox.max,tr.max),this.boundingBox.expandByPoint(nr)):(this.boundingBox.expandByPoint(tr.min),this.boundingBox.expandByPoint(tr.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error("THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The \"position\" attribute is likely to have NaN values.",this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new zn);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set \"mesh.frustumCulled\" to \"false\".",this),void this.boundingSphere.set(new gn,1/0);if(t){const n=this.boundingSphere.center;if(tr.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];er.setFromBufferAttribute(n),this.morphTargetsRelative?(nr.addVectors(tr.min,er.min),tr.expandByPoint(nr),nr.addVectors(tr.max,er.max),tr.expandByPoint(nr)):(tr.expandByPoint(er.min),tr.expandByPoint(er.max))}tr.getCenter(n);let i=0;for(let e=0,r=t.count;e<r;e++)nr.fromBufferAttribute(t,e),i=Math.max(i,n.distanceToSquared(nr));if(e)for(let r=0,s=e.length;r<s;r++){const s=e[r],a=this.morphTargetsRelative;for(let e=0,r=s.count;e<r;e++)nr.fromBufferAttribute(s,e),a&&(Qi.fromBufferAttribute(t,e),nr.add(Qi)),i=Math.max(i,n.distanceToSquared(nr))}this.boundingSphere.radius=Math.sqrt(i),isNaN(this.boundingSphere.radius)&&console.error("THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The \"position\" attribute is likely to have NaN values.",this)}}computeTangents(){const t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=t.array,i=e.position.array,r=e.normal.array,s=e.uv.array,a=i.length/3;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new qi(new Float32Array(4*a),4));const o=this.getAttribute("tangent").array,l=[],c=[];for(let t=0;t<a;t++)l[t]=new gn,c[t]=new gn;const h=new gn,u=new gn,d=new gn,p=new We,m=new We,f=new We,g=new gn,v=new gn;function _(t,e,n){h.fromArray(i,3*t),u.fromArray(i,3*e),d.fromArray(i,3*n),p.fromArray(s,2*t),m.fromArray(s,2*e),f.fromArray(s,2*n),u.sub(h),d.sub(h),m.sub(p),f.sub(p);const r=1/(m.x*f.y-f.x*m.y);isFinite(r)&&(g.copy(u).multiplyScalar(f.y).addScaledVector(d,-m.y).multiplyScalar(r),v.copy(d).multiplyScalar(m.x).addScaledVector(u,-f.x).multiplyScalar(r),l[t].add(g),l[e].add(g),l[n].add(g),c[t].add(v),c[e].add(v),c[n].add(v))}let x=this.groups;0===x.length&&(x=[{start:0,count:n.length}]);for(let t=0,e=x.length;t<e;++t){const e=x[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)_(n[t+0],n[t+1],n[t+2])}const y=new gn,M=new gn,S=new gn,b=new gn;function w(t){S.fromArray(r,3*t),b.copy(S);const e=l[t];y.copy(e),y.sub(S.multiplyScalar(S.dot(e))).normalize(),M.crossVectors(b,e);const n=M.dot(c[t])<0?-1:1;o[4*t]=y.x,o[4*t+1]=y.y,o[4*t+2]=y.z,o[4*t+3]=n}for(let t=0,e=x.length;t<e;++t){const e=x[t],i=e.start;for(let t=i,r=i+e.count;t<r;t+=3)w(n[t+0]),w(n[t+1]),w(n[t+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute("position");if(void 0!==e){let n=this.getAttribute("normal");if(void 0===n)n=new qi(new Float32Array(3*e.count),3),this.setAttribute("normal",n);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const i=new gn,r=new gn,s=new gn,a=new gn,o=new gn,l=new gn,c=new gn,h=new gn;if(t)for(let u=0,d=t.count;u<d;u+=3){const d=t.getX(u+0),p=t.getX(u+1),m=t.getX(u+2);i.fromBufferAttribute(e,d),r.fromBufferAttribute(e,p),s.fromBufferAttribute(e,m),c.subVectors(s,r),h.subVectors(i,r),c.cross(h),a.fromBufferAttribute(n,d),o.fromBufferAttribute(n,p),l.fromBufferAttribute(n,m),a.add(c),o.add(c),l.add(c),n.setXYZ(d,a.x,a.y,a.z),n.setXYZ(p,o.x,o.y,o.z),n.setXYZ(m,l.x,l.y,l.z)}else for(let t=0,a=e.count;t<a;t+=3)i.fromBufferAttribute(e,t+0),r.fromBufferAttribute(e,t+1),s.fromBufferAttribute(e,t+2),c.subVectors(s,r),h.subVectors(i,r),c.cross(h),n.setXYZ(t+0,c.x,c.y,c.z),n.setXYZ(t+1,c.x,c.y,c.z),n.setXYZ(t+2,c.x,c.y,c.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(){return console.error("THREE.BufferGeometry.merge() has been removed. Use THREE.BufferGeometryUtils.mergeGeometries() instead."),this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)nr.fromBufferAttribute(t,e),nr.normalize(),t.setXYZ(e,nr.x,nr.y,nr.z)}toNonIndexed(){function t(t,e){const n=t.array,i=t.itemSize,r=t.normalized,s=new n.constructor(e.length*i);let a=0,o=0;for(let r=0,l=e.length;r<l;r++){a=t.isInterleavedBufferAttribute?e[r]*t.data.stride+t.offset:e[r]*i;for(let t=0;t<i;t++)s[o++]=n[a++]}return new qi(s,i,r)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const e=new ir,n=this.index.array,i=this.attributes;for(const r in i){const s=t(i[r],n);e.setAttribute(r,s)}const r=this.morphAttributes;for(const i in r){const s=[],a=r[i];for(let e=0,i=a.length;e<i;e++){const i=t(a[e],n);s.push(i)}e.morphAttributes[i]=s}e.morphTargetsRelative=this.morphTargetsRelative;const s=this.groups;for(let t=0,n=s.length;t<n;t++){const n=s[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,""!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const e in n){const i=n[e];t.data.attributes[e]=i.toJSON(t.data)}const i={};let r=!1;for(const e in this.morphAttributes){const n=this.morphAttributes[e],s=[];for(let e=0,i=n.length;e<i;e++){const i=n[e];s.push(i.toJSON(t.data))}s.length>0&&(i[e]=s,r=!0)}r&&(t.data.morphAttributes=i,t.data.morphTargetsRelative=this.morphTargetsRelative);const s=this.groups;s.length>0&&(t.data.groups=JSON.parse(JSON.stringify(s)));const a=this.boundingSphere;return null!==a&&(t.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),t}clone(){return new this.constructor().copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const i=t.attributes;for(const t in i){const n=i[t];this.setAttribute(t,n.clone(e))}const r=t.morphAttributes;for(const t in r){const n=[],i=r[t];for(let t=0,r=i.length;t<r;t++)n.push(i[t].clone(e));this.morphAttributes[t]=n}this.morphTargetsRelative=t.morphTargetsRelative;const s=t.groups;for(let t=0,e=s.length;t<e;t++){const e=s[t];this.addGroup(e.start,e.count,e.materialIndex)}const a=t.boundingBox;null!==a&&(this.boundingBox=a.clone());const o=t.boundingSphere;return null!==o&&(this.boundingSphere=o.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}const rr=new qn,sr=new jn,ar=new zn,or=new gn,lr=new gn,cr=new gn,hr=new gn,ur=new gn,dr=new gn,pr=new We,mr=new We,fr=new We,gr=new gn,vr=new gn,_r=new gn,xr=new gn,yr=new gn;class Mr extends vi{constructor(t=new ir,e=new Bi){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}getVertexPosition(t,e){const n=this.geometry,i=n.attributes.position,r=n.morphAttributes.position,s=n.morphTargetsRelative;e.fromBufferAttribute(i,t);const a=this.morphTargetInfluences;if(r&&a){dr.set(0,0,0);for(let n=0,i=r.length;n<i;n++){const i=a[n],o=r[n];0!==i&&(ur.fromBufferAttribute(o,t),s?dr.addScaledVector(ur,i):dr.addScaledVector(ur.sub(e),i))}e.add(dr)}return this.isSkinnedMesh&&this.applyBoneTransform(t,e),e}raycast(t,e){const n=this.geometry,i=this.material,r=this.matrixWorld;if(void 0===i)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),ar.copy(n.boundingSphere),ar.applyMatrix4(r),sr.copy(t.ray).recast(t.near),!1===ar.containsPoint(sr.origin)){if(null===sr.intersectSphere(ar,or))return;if(sr.origin.distanceToSquared(or)>(t.far-t.near)**2)return}if(rr.copy(r).invert(),sr.copy(t.ray).applyMatrix4(rr),null!==n.boundingBox&&!1===sr.intersectsBox(n.boundingBox))return;let s;const a=n.index,o=n.attributes.position,l=n.attributes.uv,c=n.attributes.uv2,h=n.attributes.normal,u=n.groups,d=n.drawRange;if(null!==a){if(Array.isArray(i))for(let n=0,r=u.length;n<r;n++){const r=u[n],o=i[r.materialIndex];for(let n=Math.max(r.start,d.start),i=Math.min(a.count,Math.min(r.start+r.count,d.start+d.count));n<i;n+=3){const i=a.getX(n),u=a.getX(n+1),d=a.getX(n+2);s=Sr(this,o,t,sr,l,c,h,i,u,d),s&&(s.faceIndex=Math.floor(n/3),s.face.materialIndex=r.materialIndex,e.push(s))}}else{for(let n=Math.max(0,d.start),r=Math.min(a.count,d.start+d.count);n<r;n+=3){const r=a.getX(n),o=a.getX(n+1),u=a.getX(n+2);s=Sr(this,i,t,sr,l,c,h,r,o,u),s&&(s.faceIndex=Math.floor(n/3),e.push(s))}}}else if(void 0!==o)if(Array.isArray(i))for(let n=0,r=u.length;n<r;n++){const r=u[n],a=i[r.materialIndex];for(let n=Math.max(r.start,d.start),i=Math.min(o.count,Math.min(r.start+r.count,d.start+d.count));n<i;n+=3){s=Sr(this,a,t,sr,l,c,h,n,n+1,n+2),s&&(s.faceIndex=Math.floor(n/3),s.face.materialIndex=r.materialIndex,e.push(s))}}else{for(let n=Math.max(0,d.start),r=Math.min(o.count,d.start+d.count);n<r;n+=3){s=Sr(this,i,t,sr,l,c,h,n,n+1,n+2),s&&(s.faceIndex=Math.floor(n/3),e.push(s))}}}}function Sr(t,e,n,i,r,s,a,o,h,u){t.getVertexPosition(o,lr),t.getVertexPosition(h,cr),t.getVertexPosition(u,hr);const d=function(t,e,n,i,r,s,a,o){let h;if(h=e.side===c?i.intersectTriangle(a,s,r,!0,o):i.intersectTriangle(r,s,a,e.side===l,o),null===h)return null;yr.copy(o),yr.applyMatrix4(t.matrixWorld);const u=n.ray.origin.distanceTo(yr);return u<n.near||u>n.far?null:{distance:u,point:yr.clone(),object:t}}(t,e,n,i,lr,cr,hr,xr);if(d){r&&(pr.fromBufferAttribute(r,o),mr.fromBufferAttribute(r,h),fr.fromBufferAttribute(r,u),d.uv=Li.getInterpolation(xr,lr,cr,hr,pr,mr,fr,new We)),s&&(pr.fromBufferAttribute(s,o),mr.fromBufferAttribute(s,h),fr.fromBufferAttribute(s,u),d.uv2=Li.getInterpolation(xr,lr,cr,hr,pr,mr,fr,new We)),a&&(gr.fromBufferAttribute(a,o),vr.fromBufferAttribute(a,h),_r.fromBufferAttribute(a,u),d.normal=Li.getInterpolation(xr,lr,cr,hr,gr,vr,_r,new gn),d.normal.dot(i.direction)>0&&d.normal.multiplyScalar(-1));const t={a:o,b:h,c:u,normal:new gn,materialIndex:0};Li.getNormal(lr,cr,hr,t.normal),d.face=t}return d}class br extends ir{constructor(t=1,e=1,n=1,i=1,r=1,s=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:e,depth:n,widthSegments:i,heightSegments:r,depthSegments:s};const a=this;i=Math.floor(i),r=Math.floor(r),s=Math.floor(s);const o=[],l=[],c=[],h=[];let u=0,d=0;function p(t,e,n,i,r,s,p,m,f,g,v){const _=s/f,x=p/g,y=s/2,M=p/2,S=m/2,b=f+1,w=g+1;let T=0,E=0;const A=new gn;for(let s=0;s<w;s++){const a=s*x-M;for(let o=0;o<b;o++){const u=o*_-y;A[t]=u*i,A[e]=a*r,A[n]=S,l.push(A.x,A.y,A.z),A[t]=0,A[e]=0,A[n]=m>0?1:-1,c.push(A.x,A.y,A.z),h.push(o/f),h.push(1-s/g),T+=1}}for(let t=0;t<g;t++)for(let e=0;e<f;e++){const n=u+e+b*t,i=u+e+b*(t+1),r=u+(e+1)+b*(t+1),s=u+(e+1)+b*t;o.push(n,i,s),o.push(i,r,s),E+=6}a.addGroup(d,E,v),d+=E,u+=T}p("z","y","x",-1,-1,n,e,t,s,r,0),p("z","y","x",1,-1,n,e,-t,s,r,1),p("x","z","y",1,1,t,n,e,i,s,2),p("x","z","y",1,-1,t,n,-e,i,s,3),p("x","y","z",1,-1,t,e,n,i,r,4),p("x","y","z",-1,-1,t,e,-n,i,r,5),this.setIndex(o),this.setAttribute("position",new Zi(l,3)),this.setAttribute("normal",new Zi(c,3)),this.setAttribute("uv",new Zi(h,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new br(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function wr(t){const e={};for(const n in t){e[n]={};for(const i in t[n]){const r=t[n][i];r&&(r.isColor||r.isMatrix3||r.isMatrix4||r.isVector2||r.isVector3||r.isVector4||r.isTexture||r.isQuaternion)?r.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),e[n][i]=null):e[n][i]=r.clone():Array.isArray(r)?e[n][i]=r.slice():e[n][i]=r}}return e}function Tr(t){const e={};for(let n=0;n<t.length;n++){const i=wr(t[n]);for(const t in i)e[t]=i[t]}return e}function Er(t){return null===t.getRenderTarget()&&t.outputEncoding===_e?Se:be}const Ar={clone:wr,merge:Tr};class Cr extends Ri{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=wr(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const n in this.uniforms){const i=this.uniforms[n].value;i&&i.isTexture?e.uniforms[n]={type:"t",value:i.toJSON(t).uuid}:i&&i.isColor?e.uniforms[n]={type:"c",value:i.getHex()}:i&&i.isVector2?e.uniforms[n]={type:"v2",value:i.toArray()}:i&&i.isVector3?e.uniforms[n]={type:"v3",value:i.toArray()}:i&&i.isVector4?e.uniforms[n]={type:"v4",value:i.toArray()}:i&&i.isMatrix3?e.uniforms[n]={type:"m3",value:i.toArray()}:i&&i.isMatrix4?e.uniforms[n]={type:"m4",value:i.toArray()}:e.uniforms[n]={value:i}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const n={};for(const t in this.extensions)!0===this.extensions[t]&&(n[t]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class Lr extends vi{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new qn,this.projectionMatrix=new qn,this.projectionMatrixInverse=new qn}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Pr extends Lr{constructor(t=50,e=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=null===t.view?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=2*De*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(.5*Ie*this.fov);return .5*this.getFilmHeight()/t}getEffectiveFOV(){return 2*De*Math.atan(Math.tan(.5*Ie*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,n,i,r,s){this.aspect=t/e,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(.5*Ie*this.fov)/this.zoom,n=2*e,i=this.aspect*n,r=-.5*i;const s=this.view;if(null!==this.view&&this.view.enabled){const t=s.fullWidth,a=s.fullHeight;r+=s.offsetX*i/t,e-=s.offsetY*n/a,i*=s.width/t,n*=s.height/a}const a=this.filmOffset;0!==a&&(r+=t*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,e,e-n,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,null!==this.view&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}const Rr=-90;class Ir extends vi{constructor(t,e,n){super(),this.type="CubeCamera",this.renderTarget=n;const i=new Pr(Rr,1,t,e);i.layers=this.layers,i.up.set(0,1,0),i.lookAt(1,0,0),this.add(i);const r=new Pr(Rr,1,t,e);r.layers=this.layers,r.up.set(0,1,0),r.lookAt(-1,0,0),this.add(r);const s=new Pr(Rr,1,t,e);s.layers=this.layers,s.up.set(0,0,-1),s.lookAt(0,1,0),this.add(s);const a=new Pr(Rr,1,t,e);a.layers=this.layers,a.up.set(0,0,1),a.lookAt(0,-1,0),this.add(a);const o=new Pr(Rr,1,t,e);o.layers=this.layers,o.up.set(0,1,0),o.lookAt(0,0,1),this.add(o);const l=new Pr(Rr,1,t,e);l.layers=this.layers,l.up.set(0,1,0),l.lookAt(0,0,-1),this.add(l)}update(t,e){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[i,r,s,a,o,l]=this.children,c=t.getRenderTarget(),h=t.toneMapping,u=t.xr.enabled;t.toneMapping=W,t.xr.enabled=!1;const d=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,t.setRenderTarget(n,0),t.render(e,i),t.setRenderTarget(n,1),t.render(e,r),t.setRenderTarget(n,2),t.render(e,s),t.setRenderTarget(n,3),t.render(e,a),t.setRenderTarget(n,4),t.render(e,o),n.texture.generateMipmaps=d,t.setRenderTarget(n,5),t.render(e,l),t.setRenderTarget(c),t.toneMapping=h,t.xr.enabled=u,n.texture.needsPMREMUpdate=!0}}class Dr extends hn{constructor(t,e,n,i,r,s,a,o,l,c){super(t=void 0!==t?t:[],e=void 0!==e?e:K,n,i,r,s,a,o,l,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class Ur extends dn{constructor(t=1,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const n={width:t,height:t,depth:1},i=[n,n,n,n,n,n];this.texture=new Dr(i,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==e.generateMipmaps&&e.generateMipmaps,this.texture.minFilter=void 0!==e.minFilter?e.minFilter:lt}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},i=new br(5,5,5),r=new Cr({name:"CubemapFromEquirect",uniforms:wr(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:c,blending:u});r.uniforms.tEquirect.value=e;const s=new Mr(i,r),a=e.minFilter;e.minFilter===ht&&(e.minFilter=lt);return new Ir(1,10,this).update(t,s),e.minFilter=a,s.geometry.dispose(),s.material.dispose(),this}clear(t,e,n,i){const r=t.getRenderTarget();for(let r=0;r<6;r++)t.setRenderTarget(this,r),t.clear(e,n,i);t.setRenderTarget(r)}}const Nr=new gn,Or=new gn,zr=new je;class Br{constructor(t=new gn(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,n,i){return this.normal.set(t,e,n),this.constant=i,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,n){const i=Nr.subVectors(n,e).cross(Or.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(i,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(t).addScaledVector(this.normal,-this.distanceToPoint(t))}intersectLine(t,e){const n=t.delta(Nr),i=this.normal.dot(n);if(0===i)return 0===this.distanceToPoint(t.start)?e.copy(t.start):null;const r=-(t.start.dot(this.normal)+this.constant)/i;return r<0||r>1?null:e.copy(t.start).addScaledVector(n,r)}intersectsLine(t){const e=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return e<0&&n>0||n<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const n=e||zr.getNormalMatrix(t),i=this.coplanarPoint(Nr).applyMatrix4(t),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return new this.constructor().copy(this)}}const Fr=new zn,kr=new gn;class Gr{constructor(t=new Br,e=new Br,n=new Br,i=new Br,r=new Br,s=new Br){this.planes=[t,e,n,i,r,s]}set(t,e,n,i,r,s){const a=this.planes;return a[0].copy(t),a[1].copy(e),a[2].copy(n),a[3].copy(i),a[4].copy(r),a[5].copy(s),this}copy(t){const e=this.planes;for(let n=0;n<6;n++)e[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t){const e=this.planes,n=t.elements,i=n[0],r=n[1],s=n[2],a=n[3],o=n[4],l=n[5],c=n[6],h=n[7],u=n[8],d=n[9],p=n[10],m=n[11],f=n[12],g=n[13],v=n[14],_=n[15];return e[0].setComponents(a-i,h-o,m-u,_-f).normalize(),e[1].setComponents(a+i,h+o,m+u,_+f).normalize(),e[2].setComponents(a+r,h+l,m+d,_+g).normalize(),e[3].setComponents(a-r,h-l,m-d,_-g).normalize(),e[4].setComponents(a-s,h-c,m-p,_-v).normalize(),e[5].setComponents(a+s,h+c,m+p,_+v).normalize(),this}intersectsObject(t){if(void 0!==t.boundingSphere)null===t.boundingSphere&&t.computeBoundingSphere(),Fr.copy(t.boundingSphere).applyMatrix4(t.matrixWorld);else{const e=t.geometry;null===e.boundingSphere&&e.computeBoundingSphere(),Fr.copy(e.boundingSphere).applyMatrix4(t.matrixWorld)}return this.intersectsSphere(Fr)}intersectsSprite(t){return Fr.center.set(0,0,0),Fr.radius=.7071067811865476,Fr.applyMatrix4(t.matrixWorld),this.intersectsSphere(Fr)}intersectsSphere(t){const e=this.planes,n=t.center,i=-t.radius;for(let t=0;t<6;t++){if(e[t].distanceToPoint(n)<i)return!1}return!0}intersectsBox(t){const e=this.planes;for(let n=0;n<6;n++){const i=e[n];if(kr.x=i.normal.x>0?t.max.x:t.min.x,kr.y=i.normal.y>0?t.max.y:t.min.y,kr.z=i.normal.z>0?t.max.z:t.min.z,i.distanceToPoint(kr)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let n=0;n<6;n++)if(e[n].distanceToPoint(t)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function Vr(){let t=null,e=!1,n=null,i=null;function r(e,s){n(e,s),i=t.requestAnimationFrame(r)}return{start:function(){!0!==e&&null!==n&&(i=t.requestAnimationFrame(r),e=!0)},stop:function(){t.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(t){n=t},setContext:function(e){t=e}}}function Hr(t,e){const n=e.isWebGL2,i=new WeakMap;return{get:function(t){return t.isInterleavedBufferAttribute&&(t=t.data),i.get(t)},remove:function(e){e.isInterleavedBufferAttribute&&(e=e.data);const n=i.get(e);n&&(t.deleteBuffer(n.buffer),i.delete(e))},update:function(e,r){if(e.isGLBufferAttribute){const t=i.get(e);return void((!t||t.version<e.version)&&i.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version}))}e.isInterleavedBufferAttribute&&(e=e.data);const s=i.get(e);void 0===s?i.set(e,function(e,i){const r=e.array,s=e.usage,a=t.createBuffer();let o;if(t.bindBuffer(i,a),t.bufferData(i,r,s),e.onUploadCallback(),r instanceof Float32Array)o=5126;else if(r instanceof Uint16Array){if(e.isFloat16BufferAttribute){if(!n)throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");o=5131}else o=5123;}else if(r instanceof Int16Array)o=5122;else if(r instanceof Uint32Array)o=5125;else if(r instanceof Int32Array)o=5124;else if(r instanceof Int8Array)o=5120;else if(r instanceof Uint8Array)o=5121;else{if(!(r instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+r);o=5121}return{buffer:a,type:o,bytesPerElement:r.BYTES_PER_ELEMENT,version:e.version}}(e,r)):s.version<e.version&&(!function(e,i,r){const s=i.array,a=i.updateRange;t.bindBuffer(r,e),-1===a.count?t.bufferSubData(r,0,s):(n?t.bufferSubData(r,a.offset*s.BYTES_PER_ELEMENT,s,a.offset,a.count):t.bufferSubData(r,a.offset*s.BYTES_PER_ELEMENT,s.subarray(a.offset,a.offset+a.count)),a.count=-1),i.onUploadCallback()}(s.buffer,e,r),s.version=e.version)}}}class Wr extends ir{constructor(t=1,e=1,n=1,i=1){super(),this.type="PlaneGeometry",this.parameters={width:t,height:e,widthSegments:n,heightSegments:i};const r=t/2,s=e/2,a=Math.floor(n),o=Math.floor(i),l=a+1,c=o+1,h=t/a,u=e/o,d=[],p=[],m=[],f=[];for(let t=0;t<c;t++){const e=t*u-s;for(let n=0;n<l;n++){const i=n*h-r;p.push(i,-e,0),m.push(0,0,1),f.push(n/a),f.push(1-t/o)}}for(let t=0;t<o;t++)for(let e=0;e<a;e++){const n=e+l*t,i=e+l*(t+1),r=e+1+l*(t+1),s=e+1+l*t;d.push(n,i,s),d.push(i,r,s)}this.setIndex(d),this.setAttribute("position",new Zi(p,3)),this.setAttribute("normal",new Zi(m,3)),this.setAttribute("uv",new Zi(f,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Wr(t.width,t.height,t.widthSegments,t.heightSegments)}}const jr={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\tif ( diffuseColor.a < alphaTest ) discard;\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\t\t\t return vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat R21 = R12;\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vBumpMapUv );\n\t\tvec2 dSTdy = dFdy( vBumpMapUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = dFdx( surf_pos.xyz );\n\t\tvec3 vSigmaY = dFdy( surf_pos.xyz );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\thighp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_v0 0.339\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_v1 0.276\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_v4 0.046\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_v5 0.016\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_v6 0.0038\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"vec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\t#if defined ( LEGACY_LIGHTS )\n\t\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\t\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t\t}\n\t\treturn 1.0;\n\t#else\n\t\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\t\tif ( cutoffDistance > 0.0 ) {\n\t\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t\t}\n\t\treturn distanceFalloff;\n\t#endif\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation > 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef USE_SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULAR_COLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n\t\t#endif\n\t\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n\t#endif\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n};\nvec3 clearcoatSpecular = vec3( 0.0 );\nvec3 sheenSpecular = vec3( 0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_CLEARCOAT\n\tvec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n\t\tvec3 f0 = material.clearcoatF0;\n\t\tfloat f90 = material.clearcoatF90;\n\t\tfloat roughness = material.clearcoatRoughness;\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n\tvec3 f0 = material.specularColor;\n\tfloat f90 = material.specularF90;\n\tfloat roughness = material.roughness;\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t#ifdef USE_IRIDESCENCE\n\t\tF = mix( F, material.iridescenceFresnel, material.iridescence );\n\t#endif\n\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecular += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material );\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef USE_CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometry, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometry.normal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vMapUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t#if defined( USE_POINTS_UV )\n\t\tvec2 uv = vUv;\n\t#else\n\t\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n\tvarying vec2 vUv;\n#else\n\t#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t\tuniform mat3 uvTransform;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\t\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\t\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\t\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n\t#endif\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t\tuniform sampler2DArray morphTargetsTexture;\n\t\tuniform ivec2 morphTargetsTextureSize;\n\t\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t\t}\n\t#else\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\tuniform float morphTargetInfluences[ 8 ];\n\t\t#else\n\t\t\tuniform float morphTargetInfluences[ 4 ];\n\t\t#endif\n\t#endif\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\t\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t\t#endif\n\t#endif\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_NORMALMAP_TANGENTSPACE\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn = getTangentFrame( - vViewPosition, normal, vNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn[0] *= faceDirection;\n\t\ttbn[1] *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\t#endif\n#endif\nvec3 geometryNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n\tnormal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n\tvec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\tnormal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tmat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( uv.st );\n\t\tvec2 st1 = dFdy( uv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n\t\treturn mat3( T * scale, B * scale, N );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\tclearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",output_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha + 0.1;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec2 packDepthToRG( in highp float v ) {\n\treturn packDepthToRGBA( v ).yx;\n}\nfloat unpackRGToDepth( const in highp vec2 v ) {\n\treturn unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n\t\tbool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tuniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\tuniform int boneTextureSize;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tfloat j = i * 4.0;\n\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\ty = dy * ( y + 0.5 );\n\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\treturn bone;\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmission = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tfloat w0( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n\t}\n\tfloat w1( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a *  a * ( 3.0 * a - 6.0 ) + 4.0 );\n\t}\n\tfloat w2( float a ){\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n\t}\n\tfloat w3( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * a * a );\n\t}\n\tfloat g0( float a ) {\n\t\treturn w0( a ) + w1( a );\n\t}\n\tfloat g1( float a ) {\n\t\treturn w2( a ) + w3( a );\n\t}\n\tfloat h0( float a ) {\n\t\treturn - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n\t}\n\tfloat h1( float a ) {\n\t\treturn 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n\t}\n\tvec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, vec2 fullSize, float lod ) {\n\t\tuv = uv * texelSize.zw + 0.5;\n\t\tvec2 iuv = floor( uv );\n\t\tvec2 fuv = fract( uv );\n\t\tfloat g0x = g0( fuv.x );\n\t\tfloat g1x = g1( fuv.x );\n\t\tfloat h0x = h0( fuv.x );\n\t\tfloat h1x = h1( fuv.x );\n\t\tfloat h0y = h0( fuv.y );\n\t\tfloat h1y = h1( fuv.y );\n\t\tvec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\t\n\t\tvec2 lodFudge = pow( 1.95, lod ) / fullSize;\n\t\treturn g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n\t\t\tg1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n\t}\n\tvec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n\t\tvec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n\t\tvec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n\t\tvec2 fLodSizeInv = 1.0 / fLodSize;\n\t\tvec2 cLodSizeInv = 1.0 / cLodSize;\n\t\tvec2 fullSize = vec2( textureSize( sampler, 0 ) );\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), fullSize, floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), fullSize, ceil( lod ) );\n\t\treturn mix( fSample, cSample, fract( lod ) );\n\t}\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\treturn textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n\t}\n\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn radiance;\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance * radiance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\trefractionCoords += 1.0;\n\t\trefractionCoords /= 2.0;\n\t\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\n\t}\n#endif",uv_pars_fragment:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_UV2\n\tattribute vec2 uv2;\n#endif\n#ifdef USE_MAP\n\tuniform mat3 mapTransform;\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform mat3 alphaMapTransform;\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tuniform mat3 lightMapTransform;\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tuniform mat3 aoMapTransform;\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tuniform mat3 bumpMapTransform;\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tuniform mat3 normalMapTransform;\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tuniform mat3 displacementMapTransform;\n\tvarying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tuniform mat3 emissiveMapTransform;\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tuniform mat3 metalnessMapTransform;\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tuniform mat3 roughnessMapTransform;\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tuniform mat3 clearcoatMapTransform;\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform mat3 clearcoatNormalMapTransform;\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform mat3 clearcoatRoughnessMapTransform;\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tuniform mat3 sheenColorMapTransform;\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tuniform mat3 sheenRoughnessMapTransform;\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tuniform mat3 iridescenceMapTransform;\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform mat3 iridescenceThicknessMapTransform;\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tuniform mat3 specularMapTransform;\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tuniform mat3 specularColorMapTransform;\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tuniform mat3 specularIntensityMapTransform;\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n\tvMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n\tvAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n\tvLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n\tvAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n\tvBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n\tvNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tvDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n\tvMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n\tvSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tvTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n\tvThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\ttexColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n\tuniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n\tuniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 texColor = textureCube( envMap, vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 texColor = textureCubeUV( envMap, vWorldDirection, backgroundBlurriness );\n\t#else\n\t\tvec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\tgl_FragColor = texColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef USE_SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULAR_COLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\n\t#endif\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n#ifdef USE_POINTS_UV\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif\nvoid main() {\n\t#ifdef USE_POINTS_UV\n\t\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\t#endif\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <logdepthbuf_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\t#include <logdepthbuf_fragment>\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <output_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}"},qr={common:{diffuse:{value:new Oi(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaMapTransform:{value:new je},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new je}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new je}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new je}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new je},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new je},normalScale:{value:new We(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new je},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new je}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new je}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new je}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Oi(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Oi(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new je}},sprite:{diffuse:{value:new Oi(16777215)},opacity:{value:1},center:{value:new We(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaTest:{value:0}}},Xr={basic:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.fog]),vertexShader:jr.meshbasic_vert,fragmentShader:jr.meshbasic_frag},lambert:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)}}]),vertexShader:jr.meshlambert_vert,fragmentShader:jr.meshlambert_frag},phong:{uniforms:Tr([qr.common,qr.specularmap,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)},specular:{value:new Oi(1118481)},shininess:{value:30}}]),vertexShader:jr.meshphong_vert,fragmentShader:jr.meshphong_frag},standard:{uniforms:Tr([qr.common,qr.envmap,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.roughnessmap,qr.metalnessmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:jr.meshphysical_vert,fragmentShader:jr.meshphysical_frag},toon:{uniforms:Tr([qr.common,qr.aomap,qr.lightmap,qr.emissivemap,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.gradientmap,qr.fog,qr.lights,{emissive:{value:new Oi(0)}}]),vertexShader:jr.meshtoon_vert,fragmentShader:jr.meshtoon_frag},matcap:{uniforms:Tr([qr.common,qr.bumpmap,qr.normalmap,qr.displacementmap,qr.fog,{matcap:{value:null}}]),vertexShader:jr.meshmatcap_vert,fragmentShader:jr.meshmatcap_frag},points:{uniforms:Tr([qr.points,qr.fog]),vertexShader:jr.points_vert,fragmentShader:jr.points_frag},dashed:{uniforms:Tr([qr.common,qr.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:jr.linedashed_vert,fragmentShader:jr.linedashed_frag},depth:{uniforms:Tr([qr.common,qr.displacementmap]),vertexShader:jr.depth_vert,fragmentShader:jr.depth_frag},normal:{uniforms:Tr([qr.common,qr.bumpmap,qr.normalmap,qr.displacementmap,{opacity:{value:1}}]),vertexShader:jr.meshnormal_vert,fragmentShader:jr.meshnormal_frag},sprite:{uniforms:Tr([qr.sprite,qr.fog]),vertexShader:jr.sprite_vert,fragmentShader:jr.sprite_frag},background:{uniforms:{uvTransform:{value:new je},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:jr.background_vert,fragmentShader:jr.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:jr.backgroundCube_vert,fragmentShader:jr.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:jr.cube_vert,fragmentShader:jr.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:jr.equirect_vert,fragmentShader:jr.equirect_frag},distanceRGBA:{uniforms:Tr([qr.common,qr.displacementmap,{referencePosition:{value:new gn},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:jr.distanceRGBA_vert,fragmentShader:jr.distanceRGBA_frag},shadow:{uniforms:Tr([qr.lights,qr.fog,{color:{value:new Oi(0)},opacity:{value:1}}]),vertexShader:jr.shadow_vert,fragmentShader:jr.shadow_frag}};Xr.physical={uniforms:Tr([Xr.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new je},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new je},clearcoatNormalScale:{value:new We(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new je},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new je},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new je},sheen:{value:0},sheenColor:{value:new Oi(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new je},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new je},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new je},transmissionSamplerSize:{value:new We},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new je},attenuationDistance:{value:0},attenuationColor:{value:new Oi(0)},specularColor:{value:new Oi(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new je},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new je}}]),vertexShader:jr.meshphysical_vert,fragmentShader:jr.meshphysical_frag};const Yr={r:0,b:0,g:0};function Zr(t,e,n,i,r,s,a){const o=new Oi(0);let h,u,d=!0===s?0:1,p=null,m=0,f=null;function g(e,n){e.getRGB(Yr,Er(t)),i.buffers.color.setClear(Yr.r,Yr.g,Yr.b,n,a)}return{getClearColor:function(){return o},setClearColor:function(t,e=1){o.set(t),d=e,g(o,d)},getClearAlpha:function(){return d},setClearAlpha:function(t){d=t,g(o,d)},render:function(i,s){let a=!1,v=!0===s.isScene?s.background:null;if(v&&v.isTexture){v=(s.backgroundBlurriness>0?n:e).get(v)}const _=t.xr,x=_.getSession&&_.getSession();x&&"additive"===x.environmentBlendMode&&(v=null),null===v?g(o,d):v&&v.isColor&&(g(v,1),a=!0),(t.autoClear||a)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),v&&(v.isCubeTexture||v.mapping===et)?(void 0===u&&(u=new Mr(new br(1,1,1),new Cr({name:"BackgroundCubeMaterial",uniforms:wr(Xr.backgroundCube.uniforms),vertexShader:Xr.backgroundCube.vertexShader,fragmentShader:Xr.backgroundCube.fragmentShader,side:c,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(t,e,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),u.material.uniforms.envMap.value=v,u.material.uniforms.flipEnvMap.value=v.isCubeTexture&&!1===v.isRenderTargetTexture?-1:1,u.material.uniforms.backgroundBlurriness.value=s.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=s.backgroundIntensity,u.material.toneMapped=v.encoding!==_e,p===v&&m===v.version&&f===t.toneMapping||(u.material.needsUpdate=!0,p=v,m=v.version,f=t.toneMapping),u.layers.enableAll(),i.unshift(u,u.geometry,u.material,0,0,null)):v&&v.isTexture&&(void 0===h&&(h=new Mr(new Wr(2,2),new Cr({name:"BackgroundMaterial",uniforms:wr(Xr.background.uniforms),vertexShader:Xr.background.vertexShader,fragmentShader:Xr.background.fragmentShader,side:l,depthTest:!1,depthWrite:!1,fog:!1})),h.geometry.deleteAttribute("normal"),Object.defineProperty(h.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(h)),h.material.uniforms.t2D.value=v,h.material.uniforms.backgroundIntensity.value=s.backgroundIntensity,h.material.toneMapped=v.encoding!==_e,!0===v.matrixAutoUpdate&&v.updateMatrix(),h.material.uniforms.uvTransform.value.copy(v.matrix),p===v&&m===v.version&&f===t.toneMapping||(h.material.needsUpdate=!0,p=v,m=v.version,f=t.toneMapping),h.layers.enableAll(),i.unshift(h,h.geometry,h.material,0,0,null))}}}function Jr(t,e,n,i){const r=t.getParameter(34921),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),a=i.isWebGL2||null!==s,o={},l=p(null);let c=l,h=!1;function u(e){return i.isWebGL2?t.bindVertexArray(e):s.bindVertexArrayOES(e)}function d(e){return i.isWebGL2?t.deleteVertexArray(e):s.deleteVertexArrayOES(e)}function p(t){const e=[],n=[],i=[];for(let t=0;t<r;t++)e[t]=0,n[t]=0,i[t]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:e,enabledAttributes:n,attributeDivisors:i,object:t,attributes:{},index:null}}function m(){const t=c.newAttributes;for(let e=0,n=t.length;e<n;e++)t[e]=0}function f(t){g(t,0)}function g(n,r){const s=c.newAttributes,a=c.enabledAttributes,o=c.attributeDivisors;if(s[n]=1,0===a[n]&&(t.enableVertexAttribArray(n),a[n]=1),o[n]!==r){(i.isWebGL2?t:e.get("ANGLE_instanced_arrays"))[i.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](n,r),o[n]=r}}function v(){const e=c.newAttributes,n=c.enabledAttributes;for(let i=0,r=n.length;i<r;i++)n[i]!==e[i]&&(t.disableVertexAttribArray(i),n[i]=0)}function _(e,n,r,s,a,o){!0!==i.isWebGL2||5124!==r&&5125!==r?t.vertexAttribPointer(e,n,r,s,a,o):t.vertexAttribIPointer(e,n,r,a,o)}function x(){y(),h=!0,c!==l&&(c=l,u(c.object))}function y(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(r,l,d,x,y){let M=!1;if(a){const e=function(e,n,r){const a=!0===r.wireframe;let l=o[e.id];void 0===l&&(l={},o[e.id]=l);let c=l[n.id];void 0===c&&(c={},l[n.id]=c);let h=c[a];void 0===h&&(h=p(i.isWebGL2?t.createVertexArray():s.createVertexArrayOES()),c[a]=h);return h}(x,d,l);c!==e&&(c=e,u(c.object)),M=function(t,e,n,i){const r=c.attributes,s=e.attributes;let a=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){const n=r[e];let i=s[e];if(void 0===i&&("instanceMatrix"===e&&t.instanceMatrix&&(i=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(i=t.instanceColor)),void 0===n)return!0;if(n.attribute!==i)return!0;if(i&&n.data!==i.data)return!0;a++}}return c.attributesNum!==a||c.index!==i}(r,x,d,y),M&&function(t,e,n,i){const r={},s=e.attributes;let a=0;const o=n.getAttributes();for(const e in o){if(o[e].location>=0){let n=s[e];void 0===n&&("instanceMatrix"===e&&t.instanceMatrix&&(n=t.instanceMatrix),"instanceColor"===e&&t.instanceColor&&(n=t.instanceColor));const i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[e]=i,a++}}c.attributes=r,c.attributesNum=a,c.index=i}(r,x,d,y)}else{const t=!0===l.wireframe;c.geometry===x.id&&c.program===d.id&&c.wireframe===t||(c.geometry=x.id,c.program=d.id,c.wireframe=t,M=!0)}null!==y&&n.update(y,34963),(M||h)&&(h=!1,function(r,s,a,o){if(!1===i.isWebGL2&&(r.isInstancedMesh||o.isInstancedBufferGeometry)&&null===e.get("ANGLE_instanced_arrays"))return;m();const l=o.attributes,c=a.getAttributes(),h=s.defaultAttributeValues;for(const e in c){const i=c[e];if(i.location>=0){let s=l[e];if(void 0===s&&("instanceMatrix"===e&&r.instanceMatrix&&(s=r.instanceMatrix),"instanceColor"===e&&r.instanceColor&&(s=r.instanceColor)),void 0!==s){const e=s.normalized,a=s.itemSize,l=n.get(s);if(void 0===l)continue;const c=l.buffer,h=l.type,u=l.bytesPerElement;if(s.isInterleavedBufferAttribute){const n=s.data,l=n.stride,d=s.offset;if(n.isInstancedInterleavedBuffer){for(let t=0;t<i.locationSize;t++)g(i.location+t,n.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=n.meshPerAttribute*n.count)}else for(let t=0;t<i.locationSize;t++)f(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,a/i.locationSize,h,e,l*u,(d+a/i.locationSize*t)*u)}else{if(s.isInstancedBufferAttribute){for(let t=0;t<i.locationSize;t++)g(i.location+t,s.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=s.meshPerAttribute*s.count)}else for(let t=0;t<i.locationSize;t++)f(i.location+t);t.bindBuffer(34962,c);for(let t=0;t<i.locationSize;t++)_(i.location+t,a/i.locationSize,h,e,a*u,a/i.locationSize*t*u)}}else if(void 0!==h){const n=h[e];if(void 0!==n)switch(n.length){case 2:t.vertexAttrib2fv(i.location,n);break;case 3:t.vertexAttrib3fv(i.location,n);break;case 4:t.vertexAttrib4fv(i.location,n);break;default:t.vertexAttrib1fv(i.location,n);}}}}v()}(r,l,d,x),null!==y&&t.bindBuffer(34963,n.get(y).buffer))},reset:x,resetDefaultState:y,dispose:function(){x();for(const t in o){const e=o[t];for(const t in e){const n=e[t];for(const t in n)d(n[t].object),delete n[t];delete e[t]}delete o[t]}},releaseStatesOfGeometry:function(t){if(void 0===o[t.id])return;const e=o[t.id];for(const t in e){const n=e[t];for(const t in n)d(n[t].object),delete n[t];delete e[t]}delete o[t.id]},releaseStatesOfProgram:function(t){for(const e in o){const n=o[e];if(void 0===n[t.id])continue;const i=n[t.id];for(const t in i)d(i[t].object),delete i[t];delete n[t.id]}},initAttributes:m,enableAttribute:f,disableUnusedAttributes:v}}function Kr(t,e,n,i){const r=i.isWebGL2;let s;this.setMode=function(t){s=t},this.render=function(e,i){t.drawArrays(s,e,i),n.update(i,s,1)},this.renderInstances=function(i,a,o){if(0===o)return;let l,c;if(r)l=t,c="drawArraysInstanced";else if(l=e.get("ANGLE_instanced_arrays"),c="drawArraysInstancedANGLE",null===l)return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");l[c](s,i,a,o),n.update(a,s,o)}}function $r(t,e,n){let i;function r(e){if("highp"===e){if(t.getShaderPrecisionFormat(35633,36338).precision>0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";e="mediump"}return"mediump"===e&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const s="undefined"!=typeof WebGL2RenderingContext&&"WebGL2RenderingContext"===t.constructor.name;let a=void 0!==n.precision?n.precision:"highp";const o=r(a);o!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",o,"instead."),a=o);const l=s||e.has("WEBGL_draw_buffers"),c=!0===n.logarithmicDepthBuffer,h=t.getParameter(34930),u=t.getParameter(35660),d=t.getParameter(3379),p=t.getParameter(34076),m=t.getParameter(34921),f=t.getParameter(36347),g=t.getParameter(36348),v=t.getParameter(36349),_=u>0,x=s||e.has("OES_texture_float");return{isWebGL2:s,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==i)return i;if(!0===e.has("EXT_texture_filter_anisotropic")){const n=e.get("EXT_texture_filter_anisotropic");i=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i},getMaxPrecision:r,precision:a,logarithmicDepthBuffer:c,maxTextures:h,maxVertexTextures:u,maxTextureSize:d,maxCubemapSize:p,maxAttributes:m,maxVertexUniforms:f,maxVaryings:g,maxFragmentUniforms:v,vertexTextures:_,floatFragmentTextures:x,floatVertexTextures:_&&x,maxSamples:s?t.getParameter(36183):0}}function Qr(t){const e=this;let n=null,i=0,r=!1,s=!1;const a=new Br,o=new je,l={value:null,needsUpdate:!1};function c(t,n,i,r){const s=null!==t?t.length:0;let c=null;if(0!==s){if(c=l.value,!0!==r||null===c){const e=i+4*s,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===c||c.length<e)&&(c=new Float32Array(e));for(let e=0,n=i;e!==s;++e,n+=4)a.copy(t[e]).applyMatrix4(r,o),a.normal.toArray(c,n),c[n+3]=a.constant}l.value=c,l.needsUpdate=!0}return e.numPlanes=s,e.numIntersection=0,c}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(t,e){const n=0!==t.length||e||0!==i||r;return r=e,i=t.length,n},this.beginShadows=function(){s=!0,c(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(t,e){n=c(t,e,0)},this.setState=function(a,o,h){const u=a.clippingPlanes,d=a.clipIntersection,p=a.clipShadows,m=t.get(a);if(!r||null===u||0===u.length||s&&!p)s?c(null):function(){l.value!==n&&(l.value=n,l.needsUpdate=i>0);e.numPlanes=i,e.numIntersection=0}();else{const t=s?0:i,e=4*t;let r=m.clippingState||null;l.value=r,r=c(u,o,e,h);for(let t=0;t!==e;++t)r[t]=n[t];m.clippingState=r,this.numIntersection=d?this.numPlanes:0,this.numPlanes+=t}}}function ts(t){let e=new WeakMap;function n(t,e){return e===Q?t.mapping=K:e===tt&&(t.mapping=$),t}function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture&&!1===r.isRenderTargetTexture){const s=r.mapping;if(s===Q||s===tt){if(e.has(r)){return n(e.get(r).texture,r.mapping)}{const s=r.image;if(s&&s.height>0){const a=new Ur(s.height/2);return a.fromEquirectangularTexture(t,r),e.set(r,a),r.addEventListener("dispose",i),n(a.texture,r.mapping)}return null}}}return r},dispose:function(){e=new WeakMap}}}class es extends Lr{constructor(t=-1,e=1,n=1,i=-1,r=.1,s=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=i,this.near=r,this.far=s,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,i,r,s){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let r=n-t,s=n+t,a=i+e,o=i-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;r+=t*this.view.offsetX,s=r+t*this.view.width,a-=e*this.view.offsetY,o=a-e*this.view.height}this.projectionMatrix.makeOrthographic(r,s,a,o,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}const ns=4,is=[.125,.215,.35,.446,.526,.582],rs=20,ss=new es,as=new Oi;let os=null;const ls=(1+Math.sqrt(5))/2,cs=1/ls,hs=[new gn(1,1,1),new gn(-1,1,1),new gn(1,1,-1),new gn(-1,1,-1),new gn(0,ls,cs),new gn(0,ls,-cs),new gn(cs,0,ls),new gn(-cs,0,ls),new gn(ls,cs,0),new gn(-ls,cs,0)];class us{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(t,e=0,n=.1,i=100){os=this._renderer.getRenderTarget(),this._setSize(256);const r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(t,n,i,r),e>0&&this._blur(r,0,0,e),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=fs(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=ms(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(os),t.scissorTest=!1,ps(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===K||t.mapping===$?this._setSize(0===t.image.length?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),os=this._renderer.getRenderTarget();const n=e||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,n={magFilter:lt,minFilter:lt,generateMipmaps:!1,type:_t,format:bt,encoding:ve,depthBuffer:!1},i=ds(t,e,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==t||this._pingPongRenderTarget.height!==e){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=ds(t,e,n);const{_lodMax:i}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(t){const e=[],n=[],i=[];let r=t;const s=t-ns+1+is.length;for(let a=0;a<s;a++){const s=Math.pow(2,r);n.push(s);let o=1/s;a>t-ns?o=is[a-t+ns-1]:0===a&&(o=0),i.push(o);const l=1/(s-2),c=-l,h=1+l,u=[c,c,h,c,h,h,c,c,h,h,c,h],d=6,p=6,m=3,f=2,g=1,v=new Float32Array(m*p*d),_=new Float32Array(f*p*d),x=new Float32Array(g*p*d);for(let t=0;t<d;t++){const e=t%3*2/3-1,n=t>2?0:-1,i=[e,n,0,e+2/3,n,0,e+2/3,n+1,0,e,n,0,e+2/3,n+1,0,e,n+1,0];v.set(i,m*p*t),_.set(u,f*p*t);const r=[t,t,t,t,t,t];x.set(r,g*p*t)}const y=new ir;y.setAttribute("position",new qi(v,m)),y.setAttribute("uv",new qi(_,f)),y.setAttribute("faceIndex",new qi(x,g)),e.push(y),r>ns&&r--}return{lodPlanes:e,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=function(t,e,n){const i=new Float32Array(rs),r=new gn(0,1,0),s=new Cr({name:"SphericalGaussianBlur",defines:{n:rs,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1});return s}(i,t,e)}return i}_compileMaterial(t){const e=new Mr(this._lodPlanes[0],t);this._renderer.compile(e,ss)}_sceneToCubeUV(t,e,n,i){const r=new Pr(90,1,e,n),s=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,h=o.toneMapping;o.getClearColor(as),o.toneMapping=W,o.autoClear=!1;const u=new Bi({name:"PMREM.Background",side:c,depthWrite:!1,depthTest:!1}),d=new Mr(new br(),u);let p=!1;const m=t.background;m?m.isColor&&(u.color.copy(m),t.background=null,p=!0):(u.color.copy(as),p=!0);for(let e=0;e<6;e++){const n=e%3;0===n?(r.up.set(0,s[e],0),r.lookAt(a[e],0,0)):1===n?(r.up.set(0,0,s[e]),r.lookAt(0,a[e],0)):(r.up.set(0,s[e],0),r.lookAt(0,0,a[e]));const l=this._cubeSize;ps(i,n*l,e>2?l:0,l,l),o.setRenderTarget(i),p&&o.render(d,r),o.render(t,r)}d.geometry.dispose(),d.material.dispose(),o.toneMapping=h,o.autoClear=l,t.background=m}_textureToCubeUV(t,e){const n=this._renderer,i=t.mapping===K||t.mapping===$;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=fs()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===t.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=ms());const r=i?this._cubemapMaterial:this._equirectMaterial,s=new Mr(this._lodPlanes[0],r);r.uniforms.envMap.value=t;const a=this._cubeSize;ps(e,0,0,3*a,2*a),n.setRenderTarget(e),n.render(s,ss)}_applyPMREM(t){const e=this._renderer,n=e.autoClear;e.autoClear=!1;for(let e=1;e<this._lodPlanes.length;e++){const n=Math.sqrt(this._sigmas[e]*this._sigmas[e]-this._sigmas[e-1]*this._sigmas[e-1]),i=hs[(e-1)%hs.length];this._blur(t,e-1,e,n,i)}e.autoClear=n}_blur(t,e,n,i,r){const s=this._pingPongRenderTarget;this._halfBlur(t,s,e,n,i,"latitudinal",r),this._halfBlur(s,t,n,n,i,"longitudinal",r)}_halfBlur(t,e,n,i,r,s,a){const o=this._renderer,l=this._blurMaterial;"latitudinal"!==s&&"longitudinal"!==s&&console.error("blur direction must be either latitudinal or longitudinal!");const c=new Mr(this._lodPlanes[i],l),h=l.uniforms,u=this._sizeLods[n]-1,d=isFinite(r)?Math.PI/(2*u):2*Math.PI/(2*rs-1),p=r/d,m=isFinite(r)?1+Math.floor(3*p):rs;m>rs&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${m} samples when the maximum is set to ${rs}`);const f=[];let g=0;for(let t=0;t<rs;++t){const e=t/p,n=Math.exp(-e*e/2);f.push(n),0===t?g+=n:t<m&&(g+=2*n)}for(let t=0;t<f.length;t++)f[t]=f[t]/g;h.envMap.value=t.texture,h.samples.value=m,h.weights.value=f,h.latitudinal.value="latitudinal"===s,a&&(h.poleAxis.value=a);const{_lodMax:v}=this;h.dTheta.value=d,h.mipInt.value=v-n;const _=this._sizeLods[i];ps(e,3*_*(i>v-ns?i-v+ns:0),4*(this._cubeSize-_),3*_,2*_),o.setRenderTarget(e),o.render(c,ss)}}function ds(t,e,n){const i=new dn(t,e,n);return i.texture.mapping=et,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function ps(t,e,n,i,r){t.viewport.set(e,n,i,r),t.scissor.set(e,n,i,r)}function ms(){return new Cr({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1})}function fs(){return new Cr({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:gs(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:u,depthTest:!1,depthWrite:!1})}function gs(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function vs(t){let e=new WeakMap,n=null;function i(t){const n=t.target;n.removeEventListener("dispose",i);const r=e.get(n);void 0!==r&&(e.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){const s=r.mapping,a=s===Q||s===tt,o=s===K||s===$;if(a||o){if(r.isRenderTargetTexture&&!0===r.needsPMREMUpdate){r.needsPMREMUpdate=!1;let i=e.get(r);return null===n&&(n=new us(t)),i=a?n.fromEquirectangular(r,i):n.fromCubemap(r,i),e.set(r,i),i.texture}if(e.has(r))return e.get(r).texture;{const s=r.image;if(a&&s&&s.height>0||o&&s&&function(t){let e=0;const n=6;for(let i=0;i<n;i++)void 0!==t[i]&&e++;return e===n}(s)){null===n&&(n=new us(t));const s=a?n.fromEquirectangular(r):n.fromCubemap(r);return e.set(r,s),r.addEventListener("dispose",i),s.texture}return null}}}return r},dispose:function(){e=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function _s(t){const e={};function n(n){if(void 0!==e[n])return e[n];let i;switch(n){case"WEBGL_depth_texture":i=t.getExtension("WEBGL_depth_texture")||t.getExtension("MOZ_WEBGL_depth_texture")||t.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=t.getExtension("WEBGL_compressed_texture_s3tc")||t.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=t.getExtension(n);}return e[n]=i,i}return{has:function(t){return null!==n(t)},init:function(t){t.isWebGL2?n("EXT_color_buffer_float"):(n("WEBGL_depth_texture"),n("OES_texture_float"),n("OES_texture_half_float"),n("OES_texture_half_float_linear"),n("OES_standard_derivatives"),n("OES_element_index_uint"),n("OES_vertex_array_object"),n("ANGLE_instanced_arrays")),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture")},get:function(t){const e=n(t);return null===e&&console.warn("THREE.WebGLRenderer: "+t+" extension not supported."),e}}}function xs(t,e,n,i){const r={},s=new WeakMap;function a(t){const o=t.target;null!==o.index&&e.remove(o.index);for(const t in o.attributes)e.remove(o.attributes[t]);o.removeEventListener("dispose",a),delete r[o.id];const l=s.get(o);l&&(e.remove(l),s.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(t){const n=[],i=t.index,r=t.attributes.position;let a=0;if(null!==i){const t=i.array;a=i.version;for(let e=0,i=t.length;e<i;e+=3){const i=t[e+0],r=t[e+1],s=t[e+2];n.push(i,r,r,s,s,i)}}else{const t=r.array;a=r.version;for(let e=0,i=t.length/3-1;e<i;e+=3){const t=e+0,i=e+1,r=e+2;n.push(t,i,i,r,r,t)}}const o=new(Xe(n)?Yi:Xi)(n,1);o.version=a;const l=s.get(t);l&&e.remove(l),s.set(t,o)}return{get:function(t,e){return!0===r[e.id]||(e.addEventListener("dispose",a),r[e.id]=!0,n.memory.geometries++),e},update:function(t){const n=t.attributes;for(const t in n)e.update(n[t],34962);const i=t.morphAttributes;for(const t in i){const n=i[t];for(let t=0,i=n.length;t<i;t++)e.update(n[t],34962)}},getWireframeAttribute:function(t){const e=s.get(t);if(e){const n=t.index;null!==n&&e.version<n.version&&o(t)}else o(t);return s.get(t)}}}function ys(t,e,n,i){const r=i.isWebGL2;let s,a,o;this.setMode=function(t){s=t},this.setIndex=function(t){a=t.type,o=t.bytesPerElement},this.render=function(e,i){t.drawElements(s,i,a,e*o),n.update(i,s,1)},this.renderInstances=function(i,l,c){if(0===c)return;let h,u;if(r)h=t,u="drawElementsInstanced";else if(h=e.get("ANGLE_instanced_arrays"),u="drawElementsInstancedANGLE",null===h)return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");h[u](s,l,a,i*o,c),n.update(l,s,c)}}function Ms(t){const e={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:e,programs:null,autoReset:!0,reset:function(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0},update:function(t,n,i){switch(e.calls++,n){case 4:e.triangles+=i*(t/3);break;case 1:e.lines+=i*(t/2);break;case 3:e.lines+=i*(t-1);break;case 2:e.lines+=i*t;break;case 0:e.points+=i*t;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n);}}}}function Ss(t,e){return t[0]-e[0]}function bs(t,e){return Math.abs(e[1])-Math.abs(t[1])}function ws(t,e,n){const i={},r=new Float32Array(8),s=new WeakMap,a=new un,o=[];for(let t=0;t<8;t++)o[t]=[t,0];return{update:function(l,c,h){const u=l.morphTargetInfluences;if(!0===e.isWebGL2){const d=c.morphAttributes.position||c.morphAttributes.normal||c.morphAttributes.color,p=void 0!==d?d.length:0;let m=s.get(c);if(void 0===m||m.count!==p){void 0!==m&&m.texture.dispose();const v=void 0!==c.morphAttributes.position,_=void 0!==c.morphAttributes.normal,x=void 0!==c.morphAttributes.color,y=c.morphAttributes.position||[],M=c.morphAttributes.normal||[],S=c.morphAttributes.color||[];let b=0;!0===v&&(b=1),!0===_&&(b=2),!0===x&&(b=3);let w=c.attributes.position.count*b,T=1;w>e.maxTextureSize&&(T=Math.ceil(w/e.maxTextureSize),w=e.maxTextureSize);const E=new Float32Array(w*T*4*p),A=new pn(E,w,T,p);A.type=vt,A.needsUpdate=!0;const C=4*b;for(let P=0;P<p;P++){const R=y[P],I=M[P],D=S[P],U=w*T*4*P;for(let N=0;N<R.count;N++){const O=N*C;!0===v&&(a.fromBufferAttribute(R,N),E[U+O+0]=a.x,E[U+O+1]=a.y,E[U+O+2]=a.z,E[U+O+3]=0),!0===_&&(a.fromBufferAttribute(I,N),E[U+O+4]=a.x,E[U+O+5]=a.y,E[U+O+6]=a.z,E[U+O+7]=0),!0===x&&(a.fromBufferAttribute(D,N),E[U+O+8]=a.x,E[U+O+9]=a.y,E[U+O+10]=a.z,E[U+O+11]=4===D.itemSize?a.w:1)}}function L(){A.dispose(),s.delete(c),c.removeEventListener("dispose",L)}m={count:p,texture:A,size:new We(w,T)},s.set(c,m),c.addEventListener("dispose",L)}let f=0;for(let z=0;z<u.length;z++)f+=u[z];const g=c.morphTargetsRelative?1:1-f;h.getUniforms().setValue(t,"morphTargetBaseInfluence",g),h.getUniforms().setValue(t,"morphTargetInfluences",u),h.getUniforms().setValue(t,"morphTargetsTexture",m.texture,n),h.getUniforms().setValue(t,"morphTargetsTextureSize",m.size)}else{const B=void 0===u?0:u.length;let F=i[c.id];if(void 0===F||F.length!==B){F=[];for(let W=0;W<B;W++)F[W]=[W,0];i[c.id]=F}for(let j=0;j<B;j++){const q=F[j];q[0]=j,q[1]=u[j]}F.sort(bs);for(let X=0;X<8;X++)X<B&&F[X][1]?(o[X][0]=F[X][0],o[X][1]=F[X][1]):(o[X][0]=Number.MAX_SAFE_INTEGER,o[X][1]=0);o.sort(Ss);const k=c.morphAttributes.position,G=c.morphAttributes.normal;let V=0;for(let Y=0;Y<8;Y++){const Z=o[Y],J=Z[0],K=Z[1];J!==Number.MAX_SAFE_INTEGER&&K?(k&&c.getAttribute("morphTarget"+Y)!==k[J]&&c.setAttribute("morphTarget"+Y,k[J]),G&&c.getAttribute("morphNormal"+Y)!==G[J]&&c.setAttribute("morphNormal"+Y,G[J]),r[Y]=K,V+=K):(k&&!0===c.hasAttribute("morphTarget"+Y)&&c.deleteAttribute("morphTarget"+Y),G&&!0===c.hasAttribute("morphNormal"+Y)&&c.deleteAttribute("morphNormal"+Y),r[Y]=0)}const H=c.morphTargetsRelative?1:1-V;h.getUniforms().setValue(t,"morphTargetBaseInfluence",H),h.getUniforms().setValue(t,"morphTargetInfluences",r)}}}}function Ts(t,e,n,i){let r=new WeakMap;function s(t){const e=t.target;e.removeEventListener("dispose",s),n.remove(e.instanceMatrix),null!==e.instanceColor&&n.remove(e.instanceColor)}return{update:function(t){const a=i.render.frame,o=t.geometry,l=e.get(t,o);return r.get(l)!==a&&(e.update(l),r.set(l,a)),t.isInstancedMesh&&(!1===t.hasEventListener("dispose",s)&&t.addEventListener("dispose",s),n.update(t.instanceMatrix,34962),null!==t.instanceColor&&n.update(t.instanceColor,34962)),l},dispose:function(){r=new WeakMap}}}const Es=new hn,As=new pn,Cs=new mn,Ls=new Dr,Ps=[],Rs=[],Is=new Float32Array(16),Ds=new Float32Array(9),Us=new Float32Array(4);function Ns(t,e,n){const i=t[0];if(i<=0||i>0)return t;const r=e*n;let s=Ps[r];if(void 0===s&&(s=new Float32Array(r),Ps[r]=s),0!==e){i.toArray(s,0);for(let i=1,r=0;i!==e;++i)r+=n,t[i].toArray(s,r)}return s}function Os(t,e){if(t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(t[n]!==e[n])return!1;return!0}function zs(t,e){for(let n=0,i=e.length;n<i;n++)t[n]=e[n]}function Bs(t,e){let n=Rs[e];void 0===n&&(n=new Int32Array(e),Rs[e]=n);for(let i=0;i!==e;++i)n[i]=t.allocateTextureUnit();return n}function Fs(t,e){const n=this.cache;n[0]!==e&&(t.uniform1f(this.addr,e),n[0]=e)}function ks(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2f(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2fv(this.addr,e),zs(n,e)}}function Gs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3f(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else if(void 0!==e.r)n[0]===e.r&&n[1]===e.g&&n[2]===e.b||(t.uniform3f(this.addr,e.r,e.g,e.b),n[0]=e.r,n[1]=e.g,n[2]=e.b);else{if(Os(n,e))return;t.uniform3fv(this.addr,e),zs(n,e)}}function Vs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4f(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4fv(this.addr,e),zs(n,e)}}function Hs(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix2fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Us.set(i),t.uniformMatrix2fv(this.addr,!1,Us),zs(n,i)}}function Ws(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix3fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Ds.set(i),t.uniformMatrix3fv(this.addr,!1,Ds),zs(n,i)}}function js(t,e){const n=this.cache,i=e.elements;if(void 0===i){if(Os(n,e))return;t.uniformMatrix4fv(this.addr,!1,e),zs(n,e)}else{if(Os(n,i))return;Is.set(i),t.uniformMatrix4fv(this.addr,!1,Is),zs(n,i)}}function qs(t,e){const n=this.cache;n[0]!==e&&(t.uniform1i(this.addr,e),n[0]=e)}function Xs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2i(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2iv(this.addr,e),zs(n,e)}}function Ys(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3i(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else{if(Os(n,e))return;t.uniform3iv(this.addr,e),zs(n,e)}}function Zs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4i(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4iv(this.addr,e),zs(n,e)}}function Js(t,e){const n=this.cache;n[0]!==e&&(t.uniform1ui(this.addr,e),n[0]=e)}function Ks(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2ui(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Os(n,e))return;t.uniform2uiv(this.addr,e),zs(n,e)}}function $s(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3ui(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else{if(Os(n,e))return;t.uniform3uiv(this.addr,e),zs(n,e)}}function Qs(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4ui(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Os(n,e))return;t.uniform4uiv(this.addr,e),zs(n,e)}}function ta(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2D(e||Es,r)}function ea(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture3D(e||Cs,r)}function na(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTextureCube(e||Ls,r)}function ia(t,e,n){const i=this.cache,r=n.allocateTextureUnit();i[0]!==r&&(t.uniform1i(this.addr,r),i[0]=r),n.setTexture2DArray(e||As,r)}function ra(t,e){t.uniform1fv(this.addr,e)}function sa(t,e){const n=Ns(e,this.size,2);t.uniform2fv(this.addr,n)}function aa(t,e){const n=Ns(e,this.size,3);t.uniform3fv(this.addr,n)}function oa(t,e){const n=Ns(e,this.size,4);t.uniform4fv(this.addr,n)}function la(t,e){const n=Ns(e,this.size,4);t.uniformMatrix2fv(this.addr,!1,n)}function ca(t,e){const n=Ns(e,this.size,9);t.uniformMatrix3fv(this.addr,!1,n)}function ha(t,e){const n=Ns(e,this.size,16);t.uniformMatrix4fv(this.addr,!1,n)}function ua(t,e){t.uniform1iv(this.addr,e)}function da(t,e){t.uniform2iv(this.addr,e)}function pa(t,e){t.uniform3iv(this.addr,e)}function ma(t,e){t.uniform4iv(this.addr,e)}function fa(t,e){t.uniform1uiv(this.addr,e)}function ga(t,e){t.uniform2uiv(this.addr,e)}function va(t,e){t.uniform3uiv(this.addr,e)}function _a(t,e){t.uniform4uiv(this.addr,e)}function xa(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture2D(e[t]||Es,s[t])}function ya(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture3D(e[t]||Cs,s[t])}function Ma(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTextureCube(e[t]||Ls,s[t])}function Sa(t,e,n){const i=this.cache,r=e.length,s=Bs(n,r);Os(i,s)||(t.uniform1iv(this.addr,s),zs(i,s));for(let t=0;t!==r;++t)n.setTexture2DArray(e[t]||As,s[t])}class ba{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.setValue=function(t){switch(t){case 5126:return Fs;case 35664:return ks;case 35665:return Gs;case 35666:return Vs;case 35674:return Hs;case 35675:return Ws;case 35676:return js;case 5124:case 35670:return qs;case 35667:case 35671:return Xs;case 35668:case 35672:return Ys;case 35669:case 35673:return Zs;case 5125:return Js;case 36294:return Ks;case 36295:return $s;case 36296:return Qs;case 35678:case 36198:case 36298:case 36306:case 35682:return ta;case 35679:case 36299:case 36307:return ea;case 35680:case 36300:case 36308:case 36293:return na;case 36289:case 36303:case 36311:case 36292:return ia;}}(e.type)}}class wa{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.size=e.size,this.setValue=function(t){switch(t){case 5126:return ra;case 35664:return sa;case 35665:return aa;case 35666:return oa;case 35674:return la;case 35675:return ca;case 35676:return ha;case 5124:case 35670:return ua;case 35667:case 35671:return da;case 35668:case 35672:return pa;case 35669:case 35673:return ma;case 5125:return fa;case 36294:return ga;case 36295:return va;case 36296:return _a;case 35678:case 36198:case 36298:case 36306:case 35682:return xa;case 35679:case 36299:case 36307:return ya;case 35680:case 36300:case 36308:case 36293:return Ma;case 36289:case 36303:case 36311:case 36292:return Sa;}}(e.type)}}class Ta{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,n){const i=this.seq;for(let r=0,s=i.length;r!==s;++r){const s=i[r];s.setValue(t,e[s.id],n)}}}const Ea=/(\w+)(\])?(\[|\.)?/g;function Aa(t,e){t.seq.push(e),t.map[e.id]=e}function Ca(t,e,n){const i=t.name,r=i.length;for(Ea.lastIndex=0;;){const s=Ea.exec(i),a=Ea.lastIndex;let o=s[1];const l="]"===s[2],c=s[3];if(l&&(o|=0),void 0===c||"["===c&&a+2===r){Aa(n,void 0===c?new ba(o,t,e):new wa(o,t,e));break}{let t=n.map[o];void 0===t&&(t=new Ta(o),Aa(n,t)),n=t}}}class La{constructor(t,e){this.seq=[],this.map={};const n=t.getProgramParameter(e,35718);for(let i=0;i<n;++i){const n=t.getActiveUniform(e,i);Ca(n,t.getUniformLocation(e,n.name),this)}}setValue(t,e,n,i){const r=this.map[e];void 0!==r&&r.setValue(t,n,i)}setOptional(t,e,n){const i=e[n];void 0!==i&&this.setValue(t,n,i)}static upload(t,e,n,i){for(let r=0,s=e.length;r!==s;++r){const s=e[r],a=n[s.id];!1!==a.needsUpdate&&s.setValue(t,a.value,i)}}static seqWithValue(t,e){const n=[];for(let i=0,r=t.length;i!==r;++i){const r=t[i];r.id in e&&n.push(r)}return n}}function Pa(t,e,n){const i=t.createShader(e);return t.shaderSource(i,n),t.compileShader(i),i}let Ra=0;function Ia(t,e,n){const i=t.getShaderParameter(e,35713),r=t.getShaderInfoLog(e).trim();if(i&&""===r)return"";const s=/ERROR: 0:(\d+)/.exec(r);if(s){const i=parseInt(s[1]);return n.toUpperCase()+"\n\n"+r+"\n\n"+function(t,e){const n=t.split("\n"),i=[],r=Math.max(e-6,0),s=Math.min(e+6,n.length);for(let t=r;t<s;t++){const r=t+1;i.push(`${r===e?">":" "} ${r}: ${n[t]}`)}return i.join("\n")}(t.getShaderSource(e),i)}return r}function Da(t,e){const n=function(t){switch(t){case ve:return["Linear","( value )"];case _e:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"];}}(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function Ua(t,e){let n;switch(e){case j:n="Linear";break;case q:n="Reinhard";break;case X:n="OptimizedCineon";break;case Y:n="ACESFilmic";break;case Z:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear";}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function Na(t){return""!==t}function Oa(t,e){const n=e.numSpotLightShadows+e.numSpotLightMaps-e.numSpotLightShadowsWithMaps;return t.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,e.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,e.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function za(t,e){return t.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const Ba=/^[ \t]*#include +<([\w\d./]+)>/gm;function Fa(t){return t.replace(Ba,ka)}function ka(t,e){const n=jr[e];if(void 0===n)throw new Error("Can not resolve #include <"+e+">");return Fa(n)}const Ga=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Va(t){return t.replace(Ga,Ha)}function Ha(t,e,n,i){let r="";for(let t=parseInt(e);t<parseInt(n);t++)r+=i.replace(/\[\s*i\s*\]/g,"[ "+t+" ]").replace(/UNROLLED_LOOP_INDEX/g,t);return r}function Wa(t){let e="precision "+t.precision+" float;\nprecision "+t.precision+" int;";return"highp"===t.precision?e+="\n#define HIGH_PRECISION":"mediump"===t.precision?e+="\n#define MEDIUM_PRECISION":"lowp"===t.precision&&(e+="\n#define LOW_PRECISION"),e}function ja(t,e,n,i){const r=t.getContext(),l=n.defines;let c=n.vertexShader,h=n.fragmentShader;const u=function(t){let e="SHADOWMAP_TYPE_BASIC";return t.shadowMapType===s?e="SHADOWMAP_TYPE_PCF":t.shadowMapType===a?e="SHADOWMAP_TYPE_PCF_SOFT":t.shadowMapType===o&&(e="SHADOWMAP_TYPE_VSM"),e}(n),d=function(t){let e="ENVMAP_TYPE_CUBE";if(t.envMap)switch(t.envMapMode){case K:case $:e="ENVMAP_TYPE_CUBE";break;case et:e="ENVMAP_TYPE_CUBE_UV";}return e}(n),p=function(t){let e="ENVMAP_MODE_REFLECTION";t.envMap&&t.envMapMode===$&&(e="ENVMAP_MODE_REFRACTION");return e}(n),m=function(t){let e="ENVMAP_BLENDING_NONE";if(t.envMap)switch(t.combine){case G:e="ENVMAP_BLENDING_MULTIPLY";break;case V:e="ENVMAP_BLENDING_MIX";break;case H:e="ENVMAP_BLENDING_ADD";}return e}(n),f=function(t){const e=t.envMapCubeUVHeight;if(null===e)return null;const n=Math.log2(e)-2,i=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:i,maxMip:n}}(n),g=n.isWebGL2?"":function(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.normalMapTangentSpace||t.clearcoatNormalMap||t.flatShading||"physical"===t.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Na).join("\n")}(n),v=function(t){const e=[];for(const n in t){const i=t[n];!1!==i&&e.push("#define "+n+" "+i)}return e.join("\n")}(l),_=r.createProgram();let x,y,M=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?(x=[v].filter(Na).join("\n"),x.length>0&&(x+="\n"),y=[g,v].filter(Na).join("\n"),y.length>0&&(y+="\n")):(x=[Wa(n),"#define SHADER_NAME "+n.shaderName,v,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+p:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+u:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(Na).join("\n"),y=[g,Wa(n),"#define SHADER_NAME "+n.shaderName,v,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+d:"",n.envMap?"#define "+p:"",n.envMap?"#define "+m:"",f?"#define CUBEUV_TEXEL_WIDTH "+f.texelWidth:"",f?"#define CUBEUV_TEXEL_HEIGHT "+f.texelHeight:"",f?"#define CUBEUV_MAX_MIP "+f.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs2?"#define USE_UV2":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+u:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.useLegacyLights?"#define LEGACY_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==W?"#define TONE_MAPPING":"",n.toneMapping!==W?jr.tonemapping_pars_fragment:"",n.toneMapping!==W?Ua("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",jr.encodings_pars_fragment,Da("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(Na).join("\n")),c=Fa(c),c=Oa(c,n),c=za(c,n),h=Fa(h),h=Oa(h,n),h=za(h,n),c=Va(c),h=Va(h),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(M="#version 300 es\n",x=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+x,y=["#define varying in",n.glslVersion===Ae?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===Ae?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+y);const S=M+y+h,b=Pa(r,35633,M+x+c),w=Pa(r,35632,S);if(r.attachShader(_,b),r.attachShader(_,w),void 0!==n.index0AttributeName?r.bindAttribLocation(_,0,n.index0AttributeName):!0===n.morphTargets&&r.bindAttribLocation(_,0,"position"),r.linkProgram(_),t.debug.checkShaderErrors){const e=r.getProgramInfoLog(_).trim(),n=r.getShaderInfoLog(b).trim(),i=r.getShaderInfoLog(w).trim();let s=!0,a=!0;if(!1===r.getProgramParameter(_,35714)){if(s=!1,"function"==typeof t.debug.onShaderError)t.debug.onShaderError(r,_,b,w);else{const t=Ia(r,b,"vertex"),n=Ia(r,w,"fragment");console.error("THREE.WebGLProgram: Shader Error "+r.getError()+" - VALIDATE_STATUS "+r.getProgramParameter(_,35715)+"\n\nProgram Info Log: "+e+"\n"+t+"\n"+n)}}else""!==e?console.warn("THREE.WebGLProgram: Program Info Log:",e):""!==n&&""!==i||(a=!1);a&&(this.diagnostics={runnable:s,programLog:e,vertexShader:{log:n,prefix:x},fragmentShader:{log:i,prefix:y}})}let T,E;return r.deleteShader(b),r.deleteShader(w),this.getUniforms=function(){return void 0===T&&(T=new La(r,_)),T},this.getAttributes=function(){return void 0===E&&(E=function(t,e){const n={},i=t.getProgramParameter(e,35721);for(let r=0;r<i;r++){const i=t.getActiveAttrib(e,r),s=i.name;let a=1;35674===i.type&&(a=2),35675===i.type&&(a=3),35676===i.type&&(a=4),n[s]={type:i.type,location:t.getAttribLocation(e,s),locationSize:a}}return n}(r,_)),E},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(_),this.program=void 0},this.name=n.shaderName,this.id=Ra++,this.cacheKey=e,this.usedTimes=1,this.program=_,this.vertexShader=b,this.fragmentShader=w,this}let qa=0;class Xa{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,n=t.fragmentShader,i=this._getShaderStage(e),r=this._getShaderStage(n),s=this._getShaderCacheForMaterial(t);return!1===s.has(i)&&(s.add(i),i.usedTimes++),!1===s.has(r)&&(s.add(r),r.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const t of e)t.usedTimes--,0===t.usedTimes&&this.shaderCache.delete(t.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;let n=e.get(t);return void 0===n&&(n=new Set,e.set(t,n)),n}_getShaderStage(t){const e=this.shaderCache;let n=e.get(t);return void 0===n&&(n=new Ya(t),e.set(t,n)),n}}class Ya{constructor(t){this.id=qa++,this.code=t,this.usedTimes=0}}function Za(t,e,n,i,r,s,a){const o=new ii,l=new Xa,u=[],p=r.isWebGL2,m=r.logarithmicDepthBuffer,f=r.vertexTextures;let g=r.precision;const v={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function _(t){return 1===t?"uv2":"uv"}return{getParameters:function(s,o,u,x,y){const M=x.fog,S=y.geometry,b=s.isMeshStandardMaterial?x.environment:null,w=(s.isMeshStandardMaterial?n:e).get(s.envMap||b),T=w&&w.mapping===et?w.image.height:null,E=v[s.type];null!==s.precision&&(g=r.getMaxPrecision(s.precision),g!==s.precision&&console.warn("THREE.WebGLProgram.getParameters:",s.precision,"not supported, using",g,"instead."));const A=S.morphAttributes.position||S.morphAttributes.normal||S.morphAttributes.color,C=void 0!==A?A.length:0;let L,P,R,I,D=0;if(void 0!==S.morphAttributes.position&&(D=1),void 0!==S.morphAttributes.normal&&(D=2),void 0!==S.morphAttributes.color&&(D=3),E){const t=Xr[E];L=t.vertexShader,P=t.fragmentShader}else L=s.vertexShader,P=s.fragmentShader,l.update(s),R=l.getVertexShaderID(s),I=l.getFragmentShaderID(s);const U=t.getRenderTarget(),N=!0===y.isInstancedMesh,O=!!s.map,z=!!s.matcap,B=!!w,F=!!s.aoMap,k=!!s.lightMap,G=!!s.bumpMap,V=!!s.normalMap,H=!!s.displacementMap,j=!!s.emissiveMap,q=!!s.metalnessMap,X=!!s.roughnessMap,Y=s.clearcoat>0,Z=s.iridescence>0,J=s.sheen>0,K=s.transmission>0,$=Y&&!!s.clearcoatMap,Q=Y&&!!s.clearcoatNormalMap,tt=Y&&!!s.clearcoatRoughnessMap,nt=Z&&!!s.iridescenceMap,it=Z&&!!s.iridescenceThicknessMap,rt=J&&!!s.sheenColorMap,st=J&&!!s.sheenRoughnessMap,at=!!s.specularMap,ot=!!s.specularColorMap,lt=!!s.specularIntensityMap,ct=K&&!!s.transmissionMap,ht=K&&!!s.thicknessMap,ut=!!s.gradientMap,dt=!!s.alphaMap,pt=s.alphaTest>0,mt=!!s.extensions,ft=!!S.attributes.uv2;return{isWebGL2:p,shaderID:E,shaderName:s.type,vertexShader:L,fragmentShader:P,defines:s.defines,customVertexShaderID:R,customFragmentShaderID:I,isRawShaderMaterial:!0===s.isRawShaderMaterial,glslVersion:s.glslVersion,precision:g,instancing:N,instancingColor:N&&null!==y.instanceColor,supportsVertexTextures:f,outputEncoding:null===U?t.outputEncoding:!0===U.isXRRenderTarget?U.texture.encoding:ve,map:O,matcap:z,envMap:B,envMapMode:B&&w.mapping,envMapCubeUVHeight:T,aoMap:F,lightMap:k,bumpMap:G,normalMap:V,displacementMap:f&&H,emissiveMap:j,normalMapObjectSpace:V&&s.normalMapType===Me,normalMapTangentSpace:V&&s.normalMapType===ye,decodeVideoTexture:O&&!0===s.map.isVideoTexture&&s.map.encoding===_e,metalnessMap:q,roughnessMap:X,clearcoat:Y,clearcoatMap:$,clearcoatNormalMap:Q,clearcoatRoughnessMap:tt,iridescence:Z,iridescenceMap:nt,iridescenceThicknessMap:it,sheen:J,sheenColorMap:rt,sheenRoughnessMap:st,specularMap:at,specularColorMap:ot,specularIntensityMap:lt,transmission:K,transmissionMap:ct,thicknessMap:ht,gradientMap:ut,opaque:!1===s.transparent&&s.blending===d,alphaMap:dt,alphaTest:pt,combine:s.combine,mapUv:O&&_(s.map.channel),aoMapUv:F&&_(s.aoMap.channel),lightMapUv:k&&_(s.lightMap.channel),bumpMapUv:G&&_(s.bumpMap.channel),normalMapUv:V&&_(s.normalMap.channel),displacementMapUv:H&&_(s.displacementMap.channel),emissiveMapUv:j&&_(s.emissiveMap.channel),metalnessMapUv:q&&_(s.metalnessMap.channel),roughnessMapUv:X&&_(s.roughnessMap.channel),clearcoatMapUv:$&&_(s.clearcoatMap.channel),clearcoatNormalMapUv:Q&&_(s.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:tt&&_(s.clearcoatRoughnessMap.channel),iridescenceMapUv:nt&&_(s.iridescenceMap.channel),iridescenceThicknessMapUv:it&&_(s.iridescenceThicknessMap.channel),sheenColorMapUv:rt&&_(s.sheenColorMap.channel),sheenRoughnessMapUv:st&&_(s.sheenRoughnessMap.channel),specularMapUv:at&&_(s.specularMap.channel),specularColorMapUv:ot&&_(s.specularColorMap.channel),specularIntensityMapUv:lt&&_(s.specularIntensityMap.channel),transmissionMapUv:ct&&_(s.transmissionMap.channel),thicknessMapUv:ht&&_(s.thicknessMap.channel),alphaMapUv:dt&&_(s.alphaMap.channel),vertexTangents:V&&!!S.attributes.tangent,vertexColors:s.vertexColors,vertexAlphas:!0===s.vertexColors&&!!S.attributes.color&&4===S.attributes.color.itemSize,vertexUvs2:ft,pointsUvs:!0===y.isPoints&&!!S.attributes.uv&&(O||dt),fog:!!M,useFog:!0===s.fog,fogExp2:M&&M.isFogExp2,flatShading:!0===s.flatShading,sizeAttenuation:!0===s.sizeAttenuation,logarithmicDepthBuffer:m,skinning:!0===y.isSkinnedMesh,morphTargets:void 0!==S.morphAttributes.position,morphNormals:void 0!==S.morphAttributes.normal,morphColors:void 0!==S.morphAttributes.color,morphTargetsCount:C,morphTextureStride:D,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:s.dithering,shadowMapEnabled:t.shadowMap.enabled&&u.length>0,shadowMapType:t.shadowMap.type,toneMapping:s.toneMapped?t.toneMapping:W,useLegacyLights:t.useLegacyLights,premultipliedAlpha:s.premultipliedAlpha,doubleSided:s.side===h,flipSided:s.side===c,useDepthPacking:s.depthPacking>=0,depthPacking:s.depthPacking||0,index0AttributeName:s.index0AttributeName,extensionDerivatives:mt&&!0===s.extensions.derivatives,extensionFragDepth:mt&&!0===s.extensions.fragDepth,extensionDrawBuffers:mt&&!0===s.extensions.drawBuffers,extensionShaderTextureLOD:mt&&!0===s.extensions.shaderTextureLOD,rendererExtensionFragDepth:p||i.has("EXT_frag_depth"),rendererExtensionDrawBuffers:p||i.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:p||i.has("EXT_shader_texture_lod"),customProgramCacheKey:s.customProgramCacheKey()}},getProgramCacheKey:function(e){const n=[];if(e.shaderID?n.push(e.shaderID):(n.push(e.customVertexShaderID),n.push(e.customFragmentShaderID)),void 0!==e.defines)for(const t in e.defines)n.push(t),n.push(e.defines[t]);return!1===e.isRawShaderMaterial&&(!function(t,e){t.push(e.precision),t.push(e.outputEncoding),t.push(e.envMapMode),t.push(e.envMapCubeUVHeight),t.push(e.mapUv),t.push(e.alphaMapUv),t.push(e.lightMapUv),t.push(e.aoMapUv),t.push(e.bumpMapUv),t.push(e.normalMapUv),t.push(e.displacementMapUv),t.push(e.emissiveMapUv),t.push(e.metalnessMapUv),t.push(e.roughnessMapUv),t.push(e.clearcoatMapUv),t.push(e.clearcoatNormalMapUv),t.push(e.clearcoatRoughnessMapUv),t.push(e.iridescenceMapUv),t.push(e.iridescenceThicknessMapUv),t.push(e.sheenColorMapUv),t.push(e.sheenRoughnessMapUv),t.push(e.specularMapUv),t.push(e.specularColorMapUv),t.push(e.specularIntensityMapUv),t.push(e.transmissionMapUv),t.push(e.thicknessMapUv),t.push(e.combine),t.push(e.fogExp2),t.push(e.sizeAttenuation),t.push(e.morphTargetsCount),t.push(e.morphAttributeCount),t.push(e.numDirLights),t.push(e.numPointLights),t.push(e.numSpotLights),t.push(e.numSpotLightMaps),t.push(e.numHemiLights),t.push(e.numRectAreaLights),t.push(e.numDirLightShadows),t.push(e.numPointLightShadows),t.push(e.numSpotLightShadows),t.push(e.numSpotLightShadowsWithMaps),t.push(e.shadowMapType),t.push(e.toneMapping),t.push(e.numClippingPlanes),t.push(e.numClipIntersection),t.push(e.depthPacking)}(n,e),function(t,e){o.disableAll(),e.isWebGL2&&o.enable(0);e.supportsVertexTextures&&o.enable(1);e.instancing&&o.enable(2);e.instancingColor&&o.enable(3);e.matcap&&o.enable(4);e.envMap&&o.enable(5);e.normalMapObjectSpace&&o.enable(6);e.normalMapTangentSpace&&o.enable(7);e.clearcoat&&o.enable(8);e.iridescence&&o.enable(9);e.alphaTest&&o.enable(10);e.vertexColors&&o.enable(11);e.vertexAlphas&&o.enable(12);e.vertexUvs2&&o.enable(13);e.vertexTangents&&o.enable(14);t.push(o.mask),o.disableAll(),e.fog&&o.enable(0);e.useFog&&o.enable(1);e.flatShading&&o.enable(2);e.logarithmicDepthBuffer&&o.enable(3);e.skinning&&o.enable(4);e.morphTargets&&o.enable(5);e.morphNormals&&o.enable(6);e.morphColors&&o.enable(7);e.premultipliedAlpha&&o.enable(8);e.shadowMapEnabled&&o.enable(9);e.useLegacyLights&&o.enable(10);e.doubleSided&&o.enable(11);e.flipSided&&o.enable(12);e.useDepthPacking&&o.enable(13);e.dithering&&o.enable(14);e.transmission&&o.enable(15);e.sheen&&o.enable(16);e.decodeVideoTexture&&o.enable(17);e.opaque&&o.enable(18);e.pointsUvs&&o.enable(19);t.push(o.mask)}(n,e),n.push(t.outputEncoding)),n.push(e.customProgramCacheKey),n.join()},getUniforms:function(t){const e=v[t.type];let n;if(e){const t=Xr[e];n=Ar.clone(t.uniforms)}else n=t.uniforms;return n},acquireProgram:function(e,n){let i;for(let t=0,e=u.length;t<e;t++){const e=u[t];if(e.cacheKey===n){i=e,++i.usedTimes;break}}return void 0===i&&(i=new ja(t,n,e,s),u.push(i)),i},releaseProgram:function(t){if(0==--t.usedTimes){const e=u.indexOf(t);u[e]=u[u.length-1],u.pop(),t.destroy()}},releaseShaderCache:function(t){l.remove(t)},programs:u,dispose:function(){l.dispose()}}}function Ja(){let t=new WeakMap;return{get:function(e){let n=t.get(e);return void 0===n&&(n={},t.set(e,n)),n},remove:function(e){t.delete(e)},update:function(e,n,i){t.get(e)[n]=i},dispose:function(){t=new WeakMap}}}function Ka(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.material.id!==e.material.id?t.material.id-e.material.id:t.z!==e.z?t.z-e.z:t.id-e.id}function $a(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.z!==e.z?e.z-t.z:t.id-e.id}function Qa(){const t=[];let e=0;const n=[],i=[],r=[];function s(n,i,r,s,a,o){let l=t[e];return void 0===l?(l={id:n.id,object:n,geometry:i,material:r,groupOrder:s,renderOrder:n.renderOrder,z:a,group:o},t[e]=l):(l.id=n.id,l.object=n,l.geometry=i,l.material=r,l.groupOrder=s,l.renderOrder=n.renderOrder,l.z=a,l.group=o),e++,l}return{opaque:n,transmissive:i,transparent:r,init:function(){e=0,n.length=0,i.length=0,r.length=0},push:function(t,e,a,o,l,c){const h=s(t,e,a,o,l,c);a.transmission>0?i.push(h):!0===a.transparent?r.push(h):n.push(h)},unshift:function(t,e,a,o,l,c){const h=s(t,e,a,o,l,c);a.transmission>0?i.unshift(h):!0===a.transparent?r.unshift(h):n.unshift(h)},finish:function(){for(let n=e,i=t.length;n<i;n++){const e=t[n];if(null===e.id)break;e.id=null,e.object=null,e.geometry=null,e.material=null,e.group=null}},sort:function(t,e){n.length>1&&n.sort(t||Ka),i.length>1&&i.sort(e||$a),r.length>1&&r.sort(e||$a)}}}function to(){let t=new WeakMap;return{get:function(e,n){const i=t.get(e);let r;return void 0===i?(r=new Qa,t.set(e,[r])):n>=i.length?(r=new Qa,i.push(r)):r=i[n],r},dispose:function(){t=new WeakMap}}}function eo(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new gn,color:new Oi};break;case"SpotLight":n={position:new gn,direction:new gn,color:new Oi,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new gn,color:new Oi,distance:0,decay:0};break;case"HemisphereLight":n={direction:new gn,skyColor:new Oi,groundColor:new Oi};break;case"RectAreaLight":n={color:new Oi,position:new gn,halfWidth:new gn,halfHeight:new gn};}return t[e.id]=n,n}}}let no=0;function io(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function ro(t,e){const n=new eo,i=function(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new We};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new We,shadowCameraNear:1,shadowCameraFar:1e3};}return t[e.id]=n,n}}}(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let t=0;t<9;t++)r.probe.push(new gn);const s=new gn,a=new qn,o=new qn;return{setup:function(s,a){let o=0,l=0,c=0;for(let t=0;t<9;t++)r.probe[t].set(0,0,0);let h=0,u=0,d=0,p=0,m=0,f=0,g=0,v=0,_=0,x=0;s.sort(io);const y=!0===a?Math.PI:1;for(let t=0,e=s.length;t<e;t++){const e=s[t],a=e.color,M=e.intensity,S=e.distance,b=e.shadow&&e.shadow.map?e.shadow.map.texture:null;if(e.isAmbientLight)o+=a.r*M*y,l+=a.g*M*y,c+=a.b*M*y;else if(e.isLightProbe)for(let t=0;t<9;t++)r.probe[t].addScaledVector(e.sh.coefficients[t],M);else if(e.isDirectionalLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,r.directionalShadow[h]=n,r.directionalShadowMap[h]=b,r.directionalShadowMatrix[h]=e.shadow.matrix,f++}r.directional[h]=t,h++}else if(e.isSpotLight){const t=n.get(e);t.position.setFromMatrixPosition(e.matrixWorld),t.color.copy(a).multiplyScalar(M*y),t.distance=S,t.coneCos=Math.cos(e.angle),t.penumbraCos=Math.cos(e.angle*(1-e.penumbra)),t.decay=e.decay,r.spot[d]=t;const s=e.shadow;if(e.map&&(r.spotLightMap[_]=e.map,_++,s.updateMatrices(e),e.castShadow&&x++),r.spotLightMatrix[d]=s.matrix,e.castShadow){const t=i.get(e);t.shadowBias=s.bias,t.shadowNormalBias=s.normalBias,t.shadowRadius=s.radius,t.shadowMapSize=s.mapSize,r.spotShadow[d]=t,r.spotShadowMap[d]=b,v++}d++}else if(e.isRectAreaLight){const t=n.get(e);t.color.copy(a).multiplyScalar(M),t.halfWidth.set(.5*e.width,0,0),t.halfHeight.set(0,.5*e.height,0),r.rectArea[p]=t,p++}else if(e.isPointLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),t.distance=e.distance,t.decay=e.decay,e.castShadow){const t=e.shadow,n=i.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,n.shadowCameraNear=t.camera.near,n.shadowCameraFar=t.camera.far,r.pointShadow[u]=n,r.pointShadowMap[u]=b,r.pointShadowMatrix[u]=e.shadow.matrix,g++}r.point[u]=t,u++}else if(e.isHemisphereLight){const t=n.get(e);t.skyColor.copy(e.color).multiplyScalar(M*y),t.groundColor.copy(e.groundColor).multiplyScalar(M*y),r.hemi[m]=t,m++}}p>0&&(e.isWebGL2||!0===t.has("OES_texture_float_linear")?(r.rectAreaLTC1=qr.LTC_FLOAT_1,r.rectAreaLTC2=qr.LTC_FLOAT_2):!0===t.has("OES_texture_half_float_linear")?(r.rectAreaLTC1=qr.LTC_HALF_1,r.rectAreaLTC2=qr.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=o,r.ambient[1]=l,r.ambient[2]=c;const M=r.hash;M.directionalLength===h&&M.pointLength===u&&M.spotLength===d&&M.rectAreaLength===p&&M.hemiLength===m&&M.numDirectionalShadows===f&&M.numPointShadows===g&&M.numSpotShadows===v&&M.numSpotMaps===_||(r.directional.length=h,r.spot.length=d,r.rectArea.length=p,r.point.length=u,r.hemi.length=m,r.directionalShadow.length=f,r.directionalShadowMap.length=f,r.pointShadow.length=g,r.pointShadowMap.length=g,r.spotShadow.length=v,r.spotShadowMap.length=v,r.directionalShadowMatrix.length=f,r.pointShadowMatrix.length=g,r.spotLightMatrix.length=v+_-x,r.spotLightMap.length=_,r.numSpotLightShadowsWithMaps=x,M.directionalLength=h,M.pointLength=u,M.spotLength=d,M.rectAreaLength=p,M.hemiLength=m,M.numDirectionalShadows=f,M.numPointShadows=g,M.numSpotShadows=v,M.numSpotMaps=_,r.version=no++)},setupView:function(t,e){let n=0,i=0,l=0,c=0,h=0;const u=e.matrixWorldInverse;for(let e=0,d=t.length;e<d;e++){const d=t[e];if(d.isDirectionalLight){const t=r.directional[n];t.direction.setFromMatrixPosition(d.matrixWorld),s.setFromMatrixPosition(d.target.matrixWorld),t.direction.sub(s),t.direction.transformDirection(u),n++}else if(d.isSpotLight){const t=r.spot[l];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),t.direction.setFromMatrixPosition(d.matrixWorld),s.setFromMatrixPosition(d.target.matrixWorld),t.direction.sub(s),t.direction.transformDirection(u),l++}else if(d.isRectAreaLight){const t=r.rectArea[c];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),o.identity(),a.copy(d.matrixWorld),a.premultiply(u),o.extractRotation(a),t.halfWidth.set(.5*d.width,0,0),t.halfHeight.set(0,.5*d.height,0),t.halfWidth.applyMatrix4(o),t.halfHeight.applyMatrix4(o),c++}else if(d.isPointLight){const t=r.point[i];t.position.setFromMatrixPosition(d.matrixWorld),t.position.applyMatrix4(u),i++}else if(d.isHemisphereLight){const t=r.hemi[h];t.direction.setFromMatrixPosition(d.matrixWorld),t.direction.transformDirection(u),h++}}},state:r}}function so(t,e){const n=new ro(t,e),i=[],r=[];return{init:function(){i.length=0,r.length=0},state:{lightsArray:i,shadowsArray:r,lights:n},setupLights:function(t){n.setup(i,t)},setupLightsView:function(t){n.setupView(i,t)},pushLight:function(t){i.push(t)},pushShadow:function(t){r.push(t)}}}function ao(t,e){let n=new WeakMap;return{get:function(i,r=0){const s=n.get(i);let a;return void 0===s?(a=new so(t,e),n.set(i,[a])):r>=s.length?(a=new so(t,e),s.push(a)):a=s[r],a},dispose:function(){n=new WeakMap}}}class oo extends Ri{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class lo extends Ri{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}const co="void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",ho="uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}";function uo(t,e,n){let i=new Gr;const r=new We,a=new We,d=new un,p=new oo({depthPacking:xe}),m=new lo,f={},g=n.maxTextureSize,v={[l]:c,[c]:l,[h]:h},_=new Cr({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new We},radius:{value:4}},vertexShader:co,fragmentShader:ho}),x=_.clone();x.defines.HORIZONTAL_PASS=1;const y=new ir;y.setAttribute("position",new qi(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const M=new Mr(y,_),S=this;function b(n,i){const s=e.update(M);_.defines.VSM_SAMPLES!==n.blurSamples&&(_.defines.VSM_SAMPLES=n.blurSamples,x.defines.VSM_SAMPLES=n.blurSamples,_.needsUpdate=!0,x.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new dn(r.x,r.y)),_.uniforms.shadow_pass.value=n.map.texture,_.uniforms.resolution.value=n.mapSize,_.uniforms.radius.value=n.radius,t.setRenderTarget(n.mapPass),t.clear(),t.renderBufferDirect(i,null,s,_,M,null),x.uniforms.shadow_pass.value=n.mapPass.texture,x.uniforms.resolution.value=n.mapSize,x.uniforms.radius.value=n.radius,t.setRenderTarget(n.map),t.clear(),t.renderBufferDirect(i,null,s,x,M,null)}function w(e,n,i,r){let s=null;const a=!0===i.isPointLight?e.customDistanceMaterial:e.customDepthMaterial;if(void 0!==a)s=a;else if(s=!0===i.isPointLight?m:p,t.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){const t=s.uuid,e=n.uuid;let i=f[t];void 0===i&&(i={},f[t]=i);let r=i[e];void 0===r&&(r=s.clone(),i[e]=r),s=r}if(s.visible=n.visible,s.wireframe=n.wireframe,s.side=r===o?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:v[n.side],s.alphaMap=n.alphaMap,s.alphaTest=n.alphaTest,s.map=n.map,s.clipShadows=n.clipShadows,s.clippingPlanes=n.clippingPlanes,s.clipIntersection=n.clipIntersection,s.displacementMap=n.displacementMap,s.displacementScale=n.displacementScale,s.displacementBias=n.displacementBias,s.wireframeLinewidth=n.wireframeLinewidth,s.linewidth=n.linewidth,!0===i.isPointLight&&!0===s.isMeshDistanceMaterial){t.properties.get(s).light=i}return s}function T(n,r,s,a,l){if(!1===n.visible)return;if(n.layers.test(r.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&l===o)&&(!n.frustumCulled||i.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(s.matrixWorldInverse,n.matrixWorld);const i=e.update(n),r=n.material;if(Array.isArray(r)){const e=i.groups;for(let o=0,c=e.length;o<c;o++){const c=e[o],h=r[c.materialIndex];if(h&&h.visible){const e=w(n,h,a,l);t.renderBufferDirect(s,null,i,e,n,c)}}}else if(r.visible){const e=w(n,r,a,l);t.renderBufferDirect(s,null,i,e,n,null)}}const c=n.children;for(let t=0,e=c.length;t<e;t++)T(c[t],r,s,a,l)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=s,this.render=function(e,n,s){if(!1===S.enabled)return;if(!1===S.autoUpdate&&!1===S.needsUpdate)return;if(0===e.length)return;const l=t.getRenderTarget(),c=t.getActiveCubeFace(),h=t.getActiveMipmapLevel(),p=t.state;p.setBlending(u),p.buffers.color.setClear(1,1,1,1),p.buffers.depth.setTest(!0),p.setScissorTest(!1);for(let l=0,c=e.length;l<c;l++){const c=e[l],h=c.shadow;if(void 0===h){console.warn("THREE.WebGLShadowMap:",c,"has no shadow.");continue}if(!1===h.autoUpdate&&!1===h.needsUpdate)continue;r.copy(h.mapSize);const u=h.getFrameExtents();if(r.multiply(u),a.copy(h.mapSize),(r.x>g||r.y>g)&&(r.x>g&&(a.x=Math.floor(g/u.x),r.x=a.x*u.x,h.mapSize.x=a.x),r.y>g&&(a.y=Math.floor(g/u.y),r.y=a.y*u.y,h.mapSize.y=a.y)),null===h.map){const t=this.type!==o?{minFilter:st,magFilter:st}:{};h.map=new dn(r.x,r.y,t),h.map.texture.name=c.name+".shadowMap",h.camera.updateProjectionMatrix()}t.setRenderTarget(h.map),t.clear();const m=h.getViewportCount();for(let t=0;t<m;t++){const e=h.getViewport(t);d.set(a.x*e.x,a.y*e.y,a.x*e.z,a.y*e.w),p.viewport(d),h.updateMatrices(c,t),i=h.getFrustum(),T(n,s,h.camera,c,this.type)}!0!==h.isPointLightShadow&&this.type===o&&b(h,s),h.needsUpdate=!1}S.needsUpdate=!1,t.setRenderTarget(l,c,h)}}function po(t,e,s){const a=s.isWebGL2;const o=new function(){let e=!1;const n=new un;let i=null;const r=new un(0,0,0,0);return{setMask:function(n){i===n||e||(t.colorMask(n,n,n,n),i=n)},setLocked:function(t){e=t},setClear:function(e,i,s,a,o){!0===o&&(e*=a,i*=a,s*=a),n.set(e,i,s,a),!1===r.equals(n)&&(t.clearColor(e,i,s,a),r.copy(n))},reset:function(){e=!1,i=null,r.set(-1,0,0,0)}}},l=new function(){let e=!1,n=null,i=null,r=null;return{setTest:function(t){t?Mt(2929):St(2929)},setMask:function(i){n===i||e||(t.depthMask(i),n=i)},setFunc:function(e){if(i!==e){switch(e){case D:t.depthFunc(512);break;case U:t.depthFunc(519);break;case N:t.depthFunc(513);break;case O:t.depthFunc(515);break;case z:t.depthFunc(514);break;case B:t.depthFunc(518);break;case F:t.depthFunc(516);break;case k:t.depthFunc(517);break;default:t.depthFunc(515);}i=e}},setLocked:function(t){e=t},setClear:function(e){r!==e&&(t.clearDepth(e),r=e)},reset:function(){e=!1,n=null,i=null,r=null}}},G=new function(){let e=!1,n=null,i=null,r=null,s=null,a=null,o=null,l=null,c=null;return{setTest:function(t){e||(t?Mt(2960):St(2960))},setMask:function(i){n===i||e||(t.stencilMask(i),n=i)},setFunc:function(e,n,a){i===e&&r===n&&s===a||(t.stencilFunc(e,n,a),i=e,r=n,s=a)},setOp:function(e,n,i){a===e&&o===n&&l===i||(t.stencilOp(e,n,i),a=e,o=n,l=i)},setLocked:function(t){e=t},setClear:function(e){c!==e&&(t.clearStencil(e),c=e)},reset:function(){e=!1,n=null,i=null,r=null,s=null,a=null,o=null,l=null,c=null}}},V=new WeakMap,H=new WeakMap;let W={},j={},q=new WeakMap,X=[],Y=null,Z=!1,J=null,K=null,$=null,Q=null,tt=null,et=null,nt=null,it=!1,rt=null,st=null,at=null,ot=null,lt=null;const ct=t.getParameter(35661);let ht=!1,ut=0;const dt=t.getParameter(7938);-1!==dt.indexOf("WebGL")?(ut=parseFloat(/^WebGL (\d)/.exec(dt)[1]),ht=ut>=1):-1!==dt.indexOf("OpenGL ES")&&(ut=parseFloat(/^OpenGL ES (\d)/.exec(dt)[1]),ht=ut>=2);let pt=null,mt={};const ft=t.getParameter(3088),gt=t.getParameter(2978),vt=new un().fromArray(ft),_t=new un().fromArray(gt);function xt(e,n,i){const r=new Uint8Array(4),s=t.createTexture();t.bindTexture(e,s),t.texParameteri(e,10241,9728),t.texParameteri(e,10240,9728);for(let e=0;e<i;e++)t.texImage2D(n+e,0,6408,1,1,0,6408,5121,r);return s}const yt={};function Mt(e){!0!==W[e]&&(t.enable(e),W[e]=!0)}function St(e){!1!==W[e]&&(t.disable(e),W[e]=!1)}yt[3553]=xt(3553,3553,1),yt[34067]=xt(34067,34069,6),o.setClear(0,0,0,1),l.setClear(1),G.setClear(0),Mt(2929),l.setFunc(O),Et(!1),At(i),Mt(2884),Tt(u);const bt={[v]:32774,[_]:32778,[x]:32779};if(a)bt[y]=32775,bt[M]=32776;else{const t=e.get("EXT_blend_minmax");null!==t&&(bt[y]=t.MIN_EXT,bt[M]=t.MAX_EXT)}const wt={[S]:0,[b]:1,[w]:768,[E]:770,[I]:776,[P]:774,[C]:772,[T]:769,[A]:771,[R]:775,[L]:773};function Tt(e,n,i,r,s,a,o,l){if(e!==u){if(!1===Z&&(Mt(3042),Z=!0),e===g)s=s||n,a=a||i,o=o||r,n===K&&s===tt||(t.blendEquationSeparate(bt[n],bt[s]),K=n,tt=s),i===$&&r===Q&&a===et&&o===nt||(t.blendFuncSeparate(wt[i],wt[r],wt[a],wt[o]),$=i,Q=r,et=a,nt=o),J=e,it=!1;else if(e!==J||l!==it){if(K===v&&tt===v||(t.blendEquation(32774),K=v,tt=v),l)switch(e){case d:t.blendFuncSeparate(1,771,1,771);break;case p:t.blendFunc(1,1);break;case m:t.blendFuncSeparate(0,769,0,1);break;case f:t.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",e);}else switch(e){case d:t.blendFuncSeparate(770,771,1,771);break;case p:t.blendFunc(770,1);break;case m:t.blendFuncSeparate(0,769,0,1);break;case f:t.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",e);}$=null,Q=null,et=null,nt=null,J=e,it=l}}else!0===Z&&(St(3042),Z=!1)}function Et(e){rt!==e&&(e?t.frontFace(2304):t.frontFace(2305),rt=e)}function At(e){e!==n?(Mt(2884),e!==st&&(e===i?t.cullFace(1029):e===r?t.cullFace(1028):t.cullFace(1032))):St(2884),st=e}function Ct(e,n,i){e?(Mt(32823),ot===n&&lt===i||(t.polygonOffset(n,i),ot=n,lt=i)):St(32823)}return{buffers:{color:o,depth:l,stencil:G},enable:Mt,disable:St,bindFramebuffer:function(e,n){return j[e]!==n&&(t.bindFramebuffer(e,n),j[e]=n,a&&(36009===e&&(j[36160]=n),36160===e&&(j[36009]=n)),!0)},drawBuffers:function(n,i){let r=X,a=!1;if(n){if(r=q.get(i),void 0===r&&(r=[],q.set(i,r)),n.isWebGLMultipleRenderTargets){const t=n.texture;if(r.length!==t.length||36064!==r[0]){for(let e=0,n=t.length;e<n;e++)r[e]=36064+e;r.length=t.length,a=!0}}else 36064!==r[0]&&(r[0]=36064,a=!0);}else 1029!==r[0]&&(r[0]=1029,a=!0);a&&(s.isWebGL2?t.drawBuffers(r):e.get("WEBGL_draw_buffers").drawBuffersWEBGL(r))},useProgram:function(e){return Y!==e&&(t.useProgram(e),Y=e,!0)},setBlending:Tt,setMaterial:function(t,e){t.side===h?St(2884):Mt(2884);let n=t.side===c;e&&(n=!n),Et(n),t.blending===d&&!1===t.transparent?Tt(u):Tt(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.premultipliedAlpha),l.setFunc(t.depthFunc),l.setTest(t.depthTest),l.setMask(t.depthWrite),o.setMask(t.colorWrite);const i=t.stencilWrite;G.setTest(i),i&&(G.setMask(t.stencilWriteMask),G.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),G.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),Ct(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),!0===t.alphaToCoverage?Mt(32926):St(32926)},setFlipSided:Et,setCullFace:At,setLineWidth:function(e){e!==at&&(ht&&t.lineWidth(e),at=e)},setPolygonOffset:Ct,setScissorTest:function(t){t?Mt(3089):St(3089)},activeTexture:function(e){void 0===e&&(e=33984+ct-1),pt!==e&&(t.activeTexture(e),pt=e)},bindTexture:function(e,n,i){void 0===i&&(i=null===pt?33984+ct-1:pt);let r=mt[i];void 0===r&&(r={type:void 0,texture:void 0},mt[i]=r),r.type===e&&r.texture===n||(pt!==i&&(t.activeTexture(i),pt=i),t.bindTexture(e,n||yt[e]),r.type=e,r.texture=n)},unbindTexture:function(){const e=mt[pt];void 0!==e&&void 0!==e.type&&(t.bindTexture(e.type,null),e.type=void 0,e.texture=void 0)},compressedTexImage2D:function(){try{t.compressedTexImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexImage3D:function(){try{t.compressedTexImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage2D:function(){try{t.texImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texImage3D:function(){try{t.texImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},updateUBOMapping:function(e,n){let i=H.get(n);void 0===i&&(i=new WeakMap,H.set(n,i));let r=i.get(e);void 0===r&&(r=t.getUniformBlockIndex(n,e.name),i.set(e,r))},uniformBlockBinding:function(e,n){const i=H.get(n).get(e);V.get(n)!==i&&(t.uniformBlockBinding(n,i,e.__bindingPointIndex),V.set(n,i))},texStorage2D:function(){try{t.texStorage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texStorage3D:function(){try{t.texStorage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage2D:function(){try{t.texSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},texSubImage3D:function(){try{t.texSubImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage2D:function(){try{t.compressedTexSubImage2D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},compressedTexSubImage3D:function(){try{t.compressedTexSubImage3D.apply(t,arguments)}catch(t){console.error("THREE.WebGLState:",t)}},scissor:function(e){!1===vt.equals(e)&&(t.scissor(e.x,e.y,e.z,e.w),vt.copy(e))},viewport:function(e){!1===_t.equals(e)&&(t.viewport(e.x,e.y,e.z,e.w),_t.copy(e))},reset:function(){t.disable(3042),t.disable(2884),t.disable(2929),t.disable(32823),t.disable(3089),t.disable(2960),t.disable(32926),t.blendEquation(32774),t.blendFunc(1,0),t.blendFuncSeparate(1,0,1,0),t.colorMask(!0,!0,!0,!0),t.clearColor(0,0,0,0),t.depthMask(!0),t.depthFunc(513),t.clearDepth(1),t.stencilMask(4294967295),t.stencilFunc(519,0,4294967295),t.stencilOp(7680,7680,7680),t.clearStencil(0),t.cullFace(1029),t.frontFace(2305),t.polygonOffset(0,0),t.activeTexture(33984),t.bindFramebuffer(36160,null),!0===a&&(t.bindFramebuffer(36009,null),t.bindFramebuffer(36008,null)),t.useProgram(null),t.lineWidth(1),t.scissor(0,0,t.canvas.width,t.canvas.height),t.viewport(0,0,t.canvas.width,t.canvas.height),W={},pt=null,mt={},j={},q=new WeakMap,X=[],Y=null,Z=!1,J=null,K=null,$=null,Q=null,tt=null,et=null,nt=null,it=!1,rt=null,st=null,at=null,ot=null,lt=null,vt.set(0,0,t.canvas.width,t.canvas.height),_t.set(0,0,t.canvas.width,t.canvas.height),o.reset(),l.reset(),G.reset()}}}function mo(t,e,n,i,r,s,a){const o=r.isWebGL2,l=r.maxTextures,c=r.maxCubemapSize,h=r.maxTextureSize,u=r.maxSamples,d=e.has("WEBGL_multisampled_render_to_texture")?e.get("WEBGL_multisampled_render_to_texture"):null,p="undefined"!=typeof navigator&&/OculusBrowser/g.test(navigator.userAgent),m=new WeakMap;let f;const g=new WeakMap;let v=!1;try{v="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(t){}function _(t,e){return v?new OffscreenCanvas(t,e):Je("canvas")}function x(t,e,n,i){let r=1;if((t.width>i||t.height>i)&&(r=i/Math.max(t.width,t.height)),r<1||!0===e){if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap){const i=e?ke:Math.floor,s=i(r*t.width),a=i(r*t.height);void 0===f&&(f=_(s,a));const o=n?_(s,a):f;o.width=s,o.height=a;return o.getContext("2d").drawImage(t,0,0,s,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+t.width+"x"+t.height+") to ("+s+"x"+a+")."),o}return"data"in t&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+t.width+"x"+t.height+")."),t}return t}function y(t){return Be(t.width)&&Be(t.height)}function M(t,e){return t.generateMipmaps&&e&&t.minFilter!==st&&t.minFilter!==lt}function S(e){t.generateMipmap(e)}function b(n,i,r,s,a=!1){if(!1===o)return i;if(null!==n){if(void 0!==t[n])return t[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let l=i;return 6403===i&&(5126===r&&(l=33326),5131===r&&(l=33325),5121===r&&(l=33321)),33319===i&&(5126===r&&(l=33328),5131===r&&(l=33327),5121===r&&(l=33323)),6408===i&&(5126===r&&(l=34836),5131===r&&(l=34842),5121===r&&(l=s===_e&&!1===a?35907:32856),32819===r&&(l=32854),32820===r&&(l=32855)),33325!==l&&33326!==l&&33327!==l&&33328!==l&&34842!==l&&34836!==l||e.get("EXT_color_buffer_float"),l}function w(t,e,n){return!0===M(t,n)||t.isFramebufferTexture&&t.minFilter!==st&&t.minFilter!==lt?Math.log2(Math.max(e.width,e.height))+1:void 0!==t.mipmaps&&t.mipmaps.length>0?t.mipmaps.length:t.isCompressedTexture&&Array.isArray(t.image)?e.mipmaps.length:1}function T(t){return t===st||t===at||t===ot?9728:9729}function E(t){const e=t.target;e.removeEventListener("dispose",E),function(t){const e=i.get(t);if(void 0===e.__webglInit)return;const n=t.source,r=g.get(n);if(r){const i=r[e.__cacheKey];i.usedTimes--,0===i.usedTimes&&C(t),0===Object.keys(r).length&&g.delete(n)}i.remove(t)}(e),e.isVideoTexture&&m.delete(e)}function A(e){const n=e.target;n.removeEventListener("dispose",A),function(e){const n=e.texture,r=i.get(e),s=i.get(n);void 0!==s.__webglTexture&&(t.deleteTexture(s.__webglTexture),a.memory.textures--);e.depthTexture&&e.depthTexture.dispose();if(e.isWebGLCubeRenderTarget)for(let e=0;e<6;e++)t.deleteFramebuffer(r.__webglFramebuffer[e]),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer[e]);else{if(t.deleteFramebuffer(r.__webglFramebuffer),r.__webglDepthbuffer&&t.deleteRenderbuffer(r.__webglDepthbuffer),r.__webglMultisampledFramebuffer&&t.deleteFramebuffer(r.__webglMultisampledFramebuffer),r.__webglColorRenderbuffer)for(let e=0;e<r.__webglColorRenderbuffer.length;e++)r.__webglColorRenderbuffer[e]&&t.deleteRenderbuffer(r.__webglColorRenderbuffer[e]);r.__webglDepthRenderbuffer&&t.deleteRenderbuffer(r.__webglDepthRenderbuffer)}if(e.isWebGLMultipleRenderTargets)for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);r.__webglTexture&&(t.deleteTexture(r.__webglTexture),a.memory.textures--),i.remove(n[e])}i.remove(n),i.remove(e)}(n)}function C(e){const n=i.get(e);t.deleteTexture(n.__webglTexture);const r=e.source;delete g.get(r)[n.__cacheKey],a.memory.textures--}let L=0;function P(t,e){const r=i.get(t);if(t.isVideoTexture&&function(t){const e=a.render.frame;m.get(t)!==e&&(m.set(t,e),t.update())}(t),!1===t.isRenderTargetTexture&&t.version>0&&r.__version!==t.version){const n=t.image;if(null===n)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==n.complete)return void N(r,t,e);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(3553,r.__webglTexture,33984+e)}const R={[nt]:10497,[it]:33071,[rt]:33648},I={[st]:9728,[at]:9984,[ot]:9986,[lt]:9729,[ct]:9985,[ht]:9987};function D(n,s,a){if(a?(t.texParameteri(n,10242,R[s.wrapS]),t.texParameteri(n,10243,R[s.wrapT]),32879!==n&&35866!==n||t.texParameteri(n,32882,R[s.wrapR]),t.texParameteri(n,10240,I[s.magFilter]),t.texParameteri(n,10241,I[s.minFilter])):(t.texParameteri(n,10242,33071),t.texParameteri(n,10243,33071),32879!==n&&35866!==n||t.texParameteri(n,32882,33071),s.wrapS===it&&s.wrapT===it||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(n,10240,T(s.magFilter)),t.texParameteri(n,10241,T(s.minFilter)),s.minFilter!==st&&s.minFilter!==lt&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===e.has("EXT_texture_filter_anisotropic")){const a=e.get("EXT_texture_filter_anisotropic");if(s.magFilter===st)return;if(s.minFilter!==ot&&s.minFilter!==ht)return;if(s.type===vt&&!1===e.has("OES_texture_float_linear"))return;if(!1===o&&s.type===_t&&!1===e.has("OES_texture_half_float_linear"))return;(s.anisotropy>1||i.get(s).__currentAnisotropy)&&(t.texParameterf(n,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(s.anisotropy,r.getMaxAnisotropy())),i.get(s).__currentAnisotropy=s.anisotropy)}}function U(e,n){let i=!1;void 0===e.__webglInit&&(e.__webglInit=!0,n.addEventListener("dispose",E));const r=n.source;let s=g.get(r);void 0===s&&(s={},g.set(r,s));const o=function(t){const e=[];return e.push(t.wrapS),e.push(t.wrapT),e.push(t.wrapR||0),e.push(t.magFilter),e.push(t.minFilter),e.push(t.anisotropy),e.push(t.internalFormat),e.push(t.format),e.push(t.type),e.push(t.generateMipmaps),e.push(t.premultiplyAlpha),e.push(t.flipY),e.push(t.unpackAlignment),e.push(t.encoding),e.join()}(n);if(o!==e.__cacheKey){void 0===s[o]&&(s[o]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,i=!0),s[o].usedTimes++;const r=s[e.__cacheKey];void 0!==r&&(s[e.__cacheKey].usedTimes--,0===r.usedTimes&&C(n)),e.__cacheKey=o,e.__webglTexture=s[o].texture}return i}function N(e,r,a){let l=3553;(r.isDataArrayTexture||r.isCompressedArrayTexture)&&(l=35866),r.isData3DTexture&&(l=32879);const c=U(e,r),u=r.source;n.bindTexture(l,e.__webglTexture,33984+a);const d=i.get(u);if(u.version!==d.__version||!0===c){n.activeTexture(33984+a),t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=function(t){return!o&&(t.wrapS!==it||t.wrapT!==it||t.minFilter!==st&&t.minFilter!==lt)}(r)&&!1===y(r.image);let i=x(r.image,e,!1,h);i=G(r,i);const p=y(i)||o,m=s.convert(r.format,r.encoding);let f,g=s.convert(r.type),v=b(r.internalFormat,m,g,r.encoding,r.isVideoTexture);D(l,r,p);const _=r.mipmaps,T=o&&!0!==r.isVideoTexture,E=void 0===d.__version||!0===c,A=w(r,i,p);if(r.isDepthTexture)v=6402,o?v=r.type===vt?36012:r.type===gt?33190:r.type===Mt?35056:33189:r.type===vt&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),r.format===Et&&6402===v&&r.type!==mt&&r.type!==gt&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),r.type=gt,g=s.convert(r.type)),r.format===At&&6402===v&&(v=34041,r.type!==Mt&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),r.type=Mt,g=s.convert(r.type))),E&&(T?n.texStorage2D(3553,1,v,i.width,i.height):n.texImage2D(3553,0,v,i.width,i.height,0,m,g,null));else if(r.isDataTexture){if(_.length>0&&p){T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],T?n.texSubImage2D(3553,t,0,0,f.width,f.height,m,g,f.data):n.texImage2D(3553,t,v,f.width,f.height,0,m,g,f.data);r.generateMipmaps=!1}else T?(E&&n.texStorage2D(3553,A,v,i.width,i.height),n.texSubImage2D(3553,0,0,0,i.width,i.height,m,g,i.data)):n.texImage2D(3553,0,v,i.width,i.height,0,m,g,i.data);}else if(r.isCompressedTexture){if(r.isCompressedArrayTexture){T&&E&&n.texStorage3D(35866,A,v,_[0].width,_[0].height,i.depth);for(let t=0,e=_.length;t<e;t++)f=_[t],r.format!==bt?null!==m?T?n.compressedTexSubImage3D(35866,t,0,0,0,f.width,f.height,i.depth,m,f.data,0,0):n.compressedTexImage3D(35866,t,v,f.width,f.height,i.depth,0,f.data,0,0):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage3D(35866,t,0,0,0,f.width,f.height,i.depth,m,g,f.data):n.texImage3D(35866,t,v,f.width,f.height,i.depth,0,m,g,f.data)}else{T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],r.format!==bt?null!==m?T?n.compressedTexSubImage2D(3553,t,0,0,f.width,f.height,m,f.data):n.compressedTexImage2D(3553,t,v,f.width,f.height,0,f.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):T?n.texSubImage2D(3553,t,0,0,f.width,f.height,m,g,f.data):n.texImage2D(3553,t,v,f.width,f.height,0,m,g,f.data)}}else if(r.isDataArrayTexture)T?(E&&n.texStorage3D(35866,A,v,i.width,i.height,i.depth),n.texSubImage3D(35866,0,0,0,0,i.width,i.height,i.depth,m,g,i.data)):n.texImage3D(35866,0,v,i.width,i.height,i.depth,0,m,g,i.data);else if(r.isData3DTexture)T?(E&&n.texStorage3D(32879,A,v,i.width,i.height,i.depth),n.texSubImage3D(32879,0,0,0,0,i.width,i.height,i.depth,m,g,i.data)):n.texImage3D(32879,0,v,i.width,i.height,i.depth,0,m,g,i.data);else if(r.isFramebufferTexture){if(E)if(T)n.texStorage2D(3553,A,v,i.width,i.height);else{let t=i.width,e=i.height;for(let i=0;i<A;i++)n.texImage2D(3553,i,v,t,e,0,m,g,null),t>>=1,e>>=1}}else if(_.length>0&&p){T&&E&&n.texStorage2D(3553,A,v,_[0].width,_[0].height);for(let t=0,e=_.length;t<e;t++)f=_[t],T?n.texSubImage2D(3553,t,0,0,m,g,f):n.texImage2D(3553,t,v,m,g,f);r.generateMipmaps=!1}else T?(E&&n.texStorage2D(3553,A,v,i.width,i.height),n.texSubImage2D(3553,0,0,0,m,g,i)):n.texImage2D(3553,0,v,m,g,i);M(r,p)&&S(l),d.__version=u.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}function O(e,r,a,o,l){const c=s.convert(a.format,a.encoding),h=s.convert(a.type),u=b(a.internalFormat,c,h,a.encoding);i.get(r).__hasExternalTextures||(32879===l||35866===l?n.texImage3D(l,0,u,r.width,r.height,r.depth,0,c,h,null):n.texImage2D(l,0,u,r.width,r.height,0,c,h,null)),n.bindFramebuffer(36160,e),k(r)?d.framebufferTexture2DMultisampleEXT(36160,o,l,i.get(a).__webglTexture,0,F(r)):(3553===l||l>=34069&&l<=34074)&&t.framebufferTexture2D(36160,o,l,i.get(a).__webglTexture,0),n.bindFramebuffer(36160,null)}function z(e,n,i){if(t.bindRenderbuffer(36161,e),n.depthBuffer&&!n.stencilBuffer){let r=33189;if(i||k(n)){const e=n.depthTexture;e&&e.isDepthTexture&&(e.type===vt?r=36012:e.type===gt&&(r=33190));const i=F(n);k(n)?d.renderbufferStorageMultisampleEXT(36161,i,r,n.width,n.height):t.renderbufferStorageMultisample(36161,i,r,n.width,n.height)}else t.renderbufferStorage(36161,r,n.width,n.height);t.framebufferRenderbuffer(36160,36096,36161,e)}else if(n.depthBuffer&&n.stencilBuffer){const r=F(n);i&&!1===k(n)?t.renderbufferStorageMultisample(36161,r,35056,n.width,n.height):k(n)?d.renderbufferStorageMultisampleEXT(36161,r,35056,n.width,n.height):t.renderbufferStorage(36161,34041,n.width,n.height),t.framebufferRenderbuffer(36160,33306,36161,e)}else{const e=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture];for(let r=0;r<e.length;r++){const a=e[r],o=s.convert(a.format,a.encoding),l=s.convert(a.type),c=b(a.internalFormat,o,l,a.encoding),h=F(n);i&&!1===k(n)?t.renderbufferStorageMultisample(36161,h,c,n.width,n.height):k(n)?d.renderbufferStorageMultisampleEXT(36161,h,c,n.width,n.height):t.renderbufferStorage(36161,c,n.width,n.height)}}t.bindRenderbuffer(36161,null)}function B(e){const r=i.get(e),s=!0===e.isWebGLCubeRenderTarget;if(e.depthTexture&&!r.__autoAllocateDepthBuffer){if(s)throw new Error("target.depthTexture not supported in Cube render targets");!function(e,r){if(r&&r.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(36160,e),!r.depthTexture||!r.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");i.get(r.depthTexture).__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),P(r.depthTexture,0);const s=i.get(r.depthTexture).__webglTexture,a=F(r);if(r.depthTexture.format===Et)k(r)?d.framebufferTexture2DMultisampleEXT(36160,36096,3553,s,0,a):t.framebufferTexture2D(36160,36096,3553,s,0);else{if(r.depthTexture.format!==At)throw new Error("Unknown depthTexture format");k(r)?d.framebufferTexture2DMultisampleEXT(36160,33306,3553,s,0,a):t.framebufferTexture2D(36160,33306,3553,s,0)}}(r.__webglFramebuffer,e)}else if(s){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)n.bindFramebuffer(36160,r.__webglFramebuffer[i]),r.__webglDepthbuffer[i]=t.createRenderbuffer(),z(r.__webglDepthbuffer[i],e,!1)}else n.bindFramebuffer(36160,r.__webglFramebuffer),r.__webglDepthbuffer=t.createRenderbuffer(),z(r.__webglDepthbuffer,e,!1);n.bindFramebuffer(36160,null)}function F(t){return Math.min(u,t.samples)}function k(t){const n=i.get(t);return o&&t.samples>0&&!0===e.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function G(t,n){const i=t.encoding,r=t.format,s=t.type;return!0===t.isCompressedTexture||!0===t.isVideoTexture||t.format===Ce||i!==ve&&(i===_e?!1===o?!0===e.has("EXT_sRGB")&&r===bt?(t.format=Ce,t.minFilter=lt,t.generateMipmaps=!1):n=an.sRGBToLinear(n):r===bt&&s===ut||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",i)),n}this.allocateTextureUnit=function(){const t=L;return t>=l&&console.warn("THREE.WebGLTextures: Trying to use "+t+" texture units while this GPU supports only "+l),L+=1,t},this.resetTextureUnits=function(){L=0},this.setTexture2D=P,this.setTexture2DArray=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?N(r,t,e):n.bindTexture(35866,r.__webglTexture,33984+e)},this.setTexture3D=function(t,e){const r=i.get(t);t.version>0&&r.__version!==t.version?N(r,t,e):n.bindTexture(32879,r.__webglTexture,33984+e)},this.setTextureCube=function(e,r){const a=i.get(e);e.version>0&&a.__version!==e.version?function(e,r,a){if(6!==r.image.length)return;const l=U(e,r),h=r.source;n.bindTexture(34067,e.__webglTexture,33984+a);const u=i.get(h);if(h.version!==u.__version||!0===l){n.activeTexture(33984+a),t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=r.isCompressedTexture||r.image[0].isCompressedTexture,i=r.image[0]&&r.image[0].isDataTexture,d=[];for(let t=0;t<6;t++)d[t]=e||i?i?r.image[t].image:r.image[t]:x(r.image[t],!1,!0,c),d[t]=G(r,d[t]);const p=d[0],m=y(p)||o,f=s.convert(r.format,r.encoding),g=s.convert(r.type),v=b(r.internalFormat,f,g,r.encoding),_=o&&!0!==r.isVideoTexture,T=void 0===u.__version||!0===l;let E,A=w(r,p,m);if(D(34067,r,m),e){_&&T&&n.texStorage2D(34067,A,v,p.width,p.height);for(let t=0;t<6;t++){E=d[t].mipmaps;for(let e=0;e<E.length;e++){const i=E[e];r.format!==bt?null!==f?_?n.compressedTexSubImage2D(34069+t,e,0,0,i.width,i.height,f,i.data):n.compressedTexImage2D(34069+t,e,v,i.width,i.height,0,i.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):_?n.texSubImage2D(34069+t,e,0,0,i.width,i.height,f,g,i.data):n.texImage2D(34069+t,e,v,i.width,i.height,0,f,g,i.data)}}}else{E=r.mipmaps,_&&T&&(E.length>0&&A++,n.texStorage2D(34067,A,v,d[0].width,d[0].height));for(let t=0;t<6;t++)if(i){_?n.texSubImage2D(34069+t,0,0,0,d[t].width,d[t].height,f,g,d[t].data):n.texImage2D(34069+t,0,v,d[t].width,d[t].height,0,f,g,d[t].data);for(let e=0;e<E.length;e++){const i=E[e].image[t].image;_?n.texSubImage2D(34069+t,e+1,0,0,i.width,i.height,f,g,i.data):n.texImage2D(34069+t,e+1,v,i.width,i.height,0,f,g,i.data)}}else{_?n.texSubImage2D(34069+t,0,0,0,f,g,d[t]):n.texImage2D(34069+t,0,v,f,g,d[t]);for(let e=0;e<E.length;e++){const i=E[e];_?n.texSubImage2D(34069+t,e+1,0,0,f,g,i.image[t]):n.texImage2D(34069+t,e+1,v,f,g,i.image[t])}}}M(r,m)&&S(34067),u.__version=h.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}(a,e,r):n.bindTexture(34067,a.__webglTexture,33984+r)},this.rebindTextures=function(t,e,n){const r=i.get(t);void 0!==e&&O(r.__webglFramebuffer,t,t.texture,36064,3553),void 0!==n&&B(t)},this.setupRenderTarget=function(e){const l=e.texture,c=i.get(e),h=i.get(l);e.addEventListener("dispose",A),!0!==e.isWebGLMultipleRenderTargets&&(void 0===h.__webglTexture&&(h.__webglTexture=t.createTexture()),h.__version=l.version,a.memory.textures++);const u=!0===e.isWebGLCubeRenderTarget,d=!0===e.isWebGLMultipleRenderTargets,p=y(e)||o;if(u){c.__webglFramebuffer=[];for(let e=0;e<6;e++)c.__webglFramebuffer[e]=t.createFramebuffer()}else{if(c.__webglFramebuffer=t.createFramebuffer(),d)if(r.drawBuffers){const n=e.texture;for(let e=0,r=n.length;e<r;e++){const r=i.get(n[e]);void 0===r.__webglTexture&&(r.__webglTexture=t.createTexture(),a.memory.textures++)}}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");if(o&&e.samples>0&&!1===k(e)){const i=d?l:[l];c.__webglMultisampledFramebuffer=t.createFramebuffer(),c.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer);for(let n=0;n<i.length;n++){const r=i[n];c.__webglColorRenderbuffer[n]=t.createRenderbuffer(),t.bindRenderbuffer(36161,c.__webglColorRenderbuffer[n]);const a=s.convert(r.format,r.encoding),o=s.convert(r.type),l=b(r.internalFormat,a,o,r.encoding,!0===e.isXRRenderTarget),h=F(e);t.renderbufferStorageMultisample(36161,h,l,e.width,e.height),t.framebufferRenderbuffer(36160,36064+n,36161,c.__webglColorRenderbuffer[n])}t.bindRenderbuffer(36161,null),e.depthBuffer&&(c.__webglDepthRenderbuffer=t.createRenderbuffer(),z(c.__webglDepthRenderbuffer,e,!0)),n.bindFramebuffer(36160,null)}}if(u){n.bindTexture(34067,h.__webglTexture),D(34067,l,p);for(let t=0;t<6;t++)O(c.__webglFramebuffer[t],e,l,36064,34069+t);M(l,p)&&S(34067),n.unbindTexture()}else if(d){const t=e.texture;for(let r=0,s=t.length;r<s;r++){const s=t[r],a=i.get(s);n.bindTexture(3553,a.__webglTexture),D(3553,s,p),O(c.__webglFramebuffer,e,s,36064+r,3553),M(s,p)&&S(3553)}n.unbindTexture()}else{let t=3553;(e.isWebGL3DRenderTarget||e.isWebGLArrayRenderTarget)&&(o?t=e.isWebGL3DRenderTarget?32879:35866:console.error("THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.")),n.bindTexture(t,h.__webglTexture),D(t,l,p),O(c.__webglFramebuffer,e,l,36064,t),M(l,p)&&S(t),n.unbindTexture()}e.depthBuffer&&B(e)},this.updateRenderTargetMipmap=function(t){const e=y(t)||o,r=!0===t.isWebGLMultipleRenderTargets?t.texture:[t.texture];for(let s=0,a=r.length;s<a;s++){const a=r[s];if(M(a,e)){const e=t.isWebGLCubeRenderTarget?34067:3553,r=i.get(a).__webglTexture;n.bindTexture(e,r),S(e),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(e){if(o&&e.samples>0&&!1===k(e)){const r=e.isWebGLMultipleRenderTargets?e.texture:[e.texture],s=e.width,a=e.height;let o=16384;const l=[],c=e.stencilBuffer?33306:36096,h=i.get(e),u=!0===e.isWebGLMultipleRenderTargets;if(u)for(let e=0;e<r.length;e++)n.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,null),n.bindFramebuffer(36160,h.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,null,0);n.bindFramebuffer(36008,h.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,h.__webglFramebuffer);for(let n=0;n<r.length;n++){l.push(36064+n),e.depthBuffer&&l.push(c);const d=void 0!==h.__ignoreDepthValues&&h.__ignoreDepthValues;if(!1===d&&(e.depthBuffer&&(o|=256),e.stencilBuffer&&(o|=1024)),u&&t.framebufferRenderbuffer(36008,36064,36161,h.__webglColorRenderbuffer[n]),!0===d&&(t.invalidateFramebuffer(36008,[c]),t.invalidateFramebuffer(36009,[c])),u){const e=i.get(r[n]).__webglTexture;t.framebufferTexture2D(36009,36064,3553,e,0)}t.blitFramebuffer(0,0,s,a,0,0,s,a,o,9728),p&&t.invalidateFramebuffer(36008,l)}if(n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,null),u)for(let e=0;e<r.length;e++){n.bindFramebuffer(36160,h.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,h.__webglColorRenderbuffer[e]);const s=i.get(r[e]).__webglTexture;n.bindFramebuffer(36160,h.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,s,0)}n.bindFramebuffer(36009,h.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=B,this.setupFrameBufferTexture=O,this.useMultisampledRTT=k}function fo(t,e,n){const i=n.isWebGL2;return{convert:function(n,r=null){let s;if(n===ut)return 5121;if(n===xt)return 32819;if(n===yt)return 32820;if(n===dt)return 5120;if(n===pt)return 5122;if(n===mt)return 5123;if(n===ft)return 5124;if(n===gt)return 5125;if(n===vt)return 5126;if(n===_t)return i?5131:(s=e.get("OES_texture_half_float"),null!==s?s.HALF_FLOAT_OES:null);if(n===St)return 6406;if(n===bt)return 6408;if(n===wt)return 6409;if(n===Tt)return 6410;if(n===Et)return 6402;if(n===At)return 34041;if(n===Ce)return s=e.get("EXT_sRGB"),null!==s?s.SRGB_ALPHA_EXT:null;if(n===Ct)return 6403;if(n===Lt)return 36244;if(n===Pt)return 33319;if(n===Rt)return 33320;if(n===It)return 36249;if(n===Dt||n===Ut||n===Nt||n===Ot)if(r===_e){if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),null===s)return null;if(n===Dt)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===Ut)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===Nt)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===Ot)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(s=e.get("WEBGL_compressed_texture_s3tc"),null===s)return null;if(n===Dt)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===Ut)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===Nt)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===Ot)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===zt||n===Bt||n===Ft||n===kt){if(s=e.get("WEBGL_compressed_texture_pvrtc"),null===s)return null;if(n===zt)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===Bt)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===Ft)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===kt)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(n===Gt)return s=e.get("WEBGL_compressed_texture_etc1"),null!==s?s.COMPRESSED_RGB_ETC1_WEBGL:null;if(n===Vt||n===Ht){if(s=e.get("WEBGL_compressed_texture_etc"),null===s)return null;if(n===Vt)return r===_e?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(n===Ht)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}if(n===Wt||n===jt||n===qt||n===Xt||n===Yt||n===Zt||n===Jt||n===Kt||n===$t||n===Qt||n===te||n===ee||n===ne||n===ie){if(s=e.get("WEBGL_compressed_texture_astc"),null===s)return null;if(n===Wt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===jt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===qt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===Xt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===Yt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===Zt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===Jt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===Kt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===$t)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===Qt)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===te)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===ee)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===ne)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===ie)return r===_e?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===re){if(s=e.get("EXT_texture_compression_bptc"),null===s)return null;if(n===re)return r===_e?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT}if(n===se||n===ae||n===oe||n===le){if(s=e.get("EXT_texture_compression_rgtc"),null===s)return null;if(n===re)return s.COMPRESSED_RED_RGTC1_EXT;if(n===ae)return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===oe)return s.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===le)return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}return n===Mt?i?34042:(s=e.get("WEBGL_depth_texture"),null!==s?s.UNSIGNED_INT_24_8_WEBGL:null):void 0!==t[n]?t[n]:null}}}class go extends Pr{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class vo extends vi{constructor(){super(),this.isGroup=!0,this.type="Group"}}const _o={type:"move"};class xo{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new vo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new vo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new gn,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new gn),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new vo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new gn,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new gn),this._grip}dispatchEvent(t){return null!==this._targetRay&&this._targetRay.dispatchEvent(t),null!==this._grip&&this._grip.dispatchEvent(t),null!==this._hand&&this._hand.dispatchEvent(t),this}connect(t){if(t&&t.hand){const e=this._hand;if(e)for(const n of t.hand.values())this._getHandJoint(e,n)}return this.dispatchEvent({type:"connected",data:t}),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(t,e,n){let i=null,r=null,s=null;const a=this._targetRay,o=this._grip,l=this._hand;if(t&&"visible-blurred"!==e.session.visibilityState){if(l&&t.hand){s=!0;for(const i of t.hand.values()){const t=e.getJointPose(i,n),r=this._getHandJoint(l,i);null!==t&&(r.matrix.fromArray(t.transform.matrix),r.matrix.decompose(r.position,r.rotation,r.scale),r.jointRadius=t.radius),r.visible=null!==t}const i=l.joints["index-finger-tip"],r=l.joints["thumb-tip"],a=i.position.distanceTo(r.position),o=.02,c=.005;l.inputState.pinching&&a>o+c?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!l.inputState.pinching&&a<=o-c&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else null!==o&&t.gripSpace&&(r=e.getPose(t.gripSpace,n),null!==r&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1));null!==a&&(i=e.getPose(t.targetRaySpace,n),null===i&&null!==r&&(i=r),null!==i&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(_o)))}return null!==a&&(a.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==s),this}_getHandJoint(t,e){if(void 0===t.joints[e.jointName]){const n=new vo;n.matrixAutoUpdate=!1,n.visible=!1,t.joints[e.jointName]=n,t.add(n)}return t.joints[e.jointName]}}class yo extends hn{constructor(t,e,n,i,r,s,a,o,l,c){if((c=void 0!==c?c:Et)!==Et&&c!==At)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&c===Et&&(n=gt),void 0===n&&c===At&&(n=Mt),super(null,i,r,s,a,o,c,n,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=void 0!==a?a:st,this.minFilter=void 0!==o?o:st,this.flipY=!1,this.generateMipmaps=!1}}class Mo extends Le{constructor(t,e){super();const n=this;let i=null,r=1,s=null,a="local-floor",o=1,l=null,c=null,h=null,u=null,d=null,p=null;const m=e.getContextAttributes();let f=null,g=null;const v=[],_=[],x=new Set,y=new Map,M=new Pr;M.layers.enable(1),M.viewport=new un;const S=new Pr;S.layers.enable(2),S.viewport=new un;const b=[M,S],w=new go;w.layers.enable(1),w.layers.enable(2);let T=null,E=null;function A(t){const e=_.indexOf(t.inputSource);if(-1===e)return;const n=v[e];void 0!==n&&n.dispatchEvent({type:t.type,data:t.inputSource})}function C(){i.removeEventListener("select",A),i.removeEventListener("selectstart",A),i.removeEventListener("selectend",A),i.removeEventListener("squeeze",A),i.removeEventListener("squeezestart",A),i.removeEventListener("squeezeend",A),i.removeEventListener("end",C),i.removeEventListener("inputsourceschange",L);for(let t=0;t<v.length;t++){const e=_[t];null!==e&&(_[t]=null,v[t].disconnect(e))}T=null,E=null,t.setRenderTarget(f),d=null,u=null,h=null,i=null,g=null,U.stop(),n.isPresenting=!1,n.dispatchEvent({type:"sessionend"})}function L(t){for(let e=0;e<t.removed.length;e++){const n=t.removed[e],i=_.indexOf(n);i>=0&&(_[i]=null,v[i].disconnect(n))}for(let e=0;e<t.added.length;e++){const n=t.added[e];let i=_.indexOf(n);if(-1===i){for(let t=0;t<v.length;t++){if(t>=_.length){_.push(n),i=t;break}if(null===_[t]){_[t]=n,i=t;break}}if(-1===i)break}const r=v[i];r&&r.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getTargetRaySpace()},this.getControllerGrip=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getGripSpace()},this.getHand=function(t){let e=v[t];return void 0===e&&(e=new xo,v[t]=e),e.getHandSpace()},this.setFramebufferScaleFactor=function(t){r=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(t){a=t,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||s},this.setReferenceSpace=function(t){l=t},this.getBaseLayer=function(){return null!==u?u:d},this.getBinding=function(){return h},this.getFrame=function(){return p},this.getSession=function(){return i},this.setSession=async function(c){if(i=c,null!==i){if(f=t.getRenderTarget(),i.addEventListener("select",A),i.addEventListener("selectstart",A),i.addEventListener("selectend",A),i.addEventListener("squeeze",A),i.addEventListener("squeezestart",A),i.addEventListener("squeezeend",A),i.addEventListener("end",C),i.addEventListener("inputsourceschange",L),!0!==m.xrCompatible&&(await e.makeXRCompatible()),void 0===i.renderState.layers||!1===t.capabilities.isWebGL2){const n={antialias:void 0!==i.renderState.layers||m.antialias,alpha:m.alpha,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,e,n),i.updateRenderState({baseLayer:d}),g=new dn(d.framebufferWidth,d.framebufferHeight,{format:bt,type:ut,encoding:t.outputEncoding,stencilBuffer:m.stencil})}else{let n=null,s=null,a=null;m.depth&&(a=m.stencil?35056:33190,n=m.stencil?At:Et,s=m.stencil?Mt:gt);const o={colorFormat:32856,depthFormat:a,scaleFactor:r};h=new XRWebGLBinding(i,e),u=h.createProjectionLayer(o),i.updateRenderState({layers:[u]}),g=new dn(u.textureWidth,u.textureHeight,{format:bt,type:ut,depthTexture:new yo(u.textureWidth,u.textureHeight,s,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,encoding:t.outputEncoding,samples:m.antialias?4:0});t.properties.get(g).__ignoreDepthValues=u.ignoreDepthValues}g.isXRRenderTarget=!0,this.setFoveation(o),l=null,s=await i.requestReferenceSpace(a),U.setContext(i),U.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}};const P=new gn,R=new gn;function I(t,e){null===e?t.matrixWorld.copy(t.matrix):t.matrixWorld.multiplyMatrices(e.matrixWorld,t.matrix),t.matrixWorldInverse.copy(t.matrixWorld).invert()}this.updateCamera=function(t){if(null===i)return;w.near=S.near=M.near=t.near,w.far=S.far=M.far=t.far,T===w.near&&E===w.far||(i.updateRenderState({depthNear:w.near,depthFar:w.far}),T=w.near,E=w.far);const e=t.parent,n=w.cameras;I(w,e);for(let t=0;t<n.length;t++)I(n[t],e);2===n.length?function(t,e,n){P.setFromMatrixPosition(e.matrixWorld),R.setFromMatrixPosition(n.matrixWorld);const i=P.distanceTo(R),r=e.projectionMatrix.elements,s=n.projectionMatrix.elements,a=r[14]/(r[10]-1),o=r[14]/(r[10]+1),l=(r[9]+1)/r[5],c=(r[9]-1)/r[5],h=(r[8]-1)/r[0],u=(s[8]+1)/s[0],d=a*h,p=a*u,m=i/(-h+u),f=m*-h;e.matrixWorld.decompose(t.position,t.quaternion,t.scale),t.translateX(f),t.translateZ(m),t.matrixWorld.compose(t.position,t.quaternion,t.scale),t.matrixWorldInverse.copy(t.matrixWorld).invert();const g=a+m,v=o+m,_=d-f,x=p+(i-f),y=l*o/v*g,M=c*o/v*g;t.projectionMatrix.makePerspective(_,x,y,M,g,v),t.projectionMatrixInverse.copy(t.projectionMatrix).invert()}(w,M,S):w.projectionMatrix.copy(M.projectionMatrix),function(t,e,n){null===n?t.matrix.copy(e.matrixWorld):(t.matrix.copy(n.matrixWorld),t.matrix.invert(),t.matrix.multiply(e.matrixWorld));t.matrix.decompose(t.position,t.quaternion,t.scale),t.updateMatrixWorld(!0);const i=t.children;for(let t=0,e=i.length;t<e;t++)i[t].updateMatrixWorld(!0);t.projectionMatrix.copy(e.projectionMatrix),t.projectionMatrixInverse.copy(e.projectionMatrixInverse),t.isPerspectiveCamera&&(t.fov=2*De*Math.atan(1/t.projectionMatrix.elements[5]),t.zoom=1)}(t,w,e)},this.getCamera=function(){return w},this.getFoveation=function(){if(null!==u||null!==d)return o},this.setFoveation=function(t){o=t,null!==u&&(u.fixedFoveation=t),null!==d&&void 0!==d.fixedFoveation&&(d.fixedFoveation=t)},this.getPlanes=function(){return x};let D=null;const U=new Vr;U.setAnimationLoop(function(e,i){if(c=i.getViewerPose(l||s),p=i,null!==c){const e=c.views;null!==d&&(t.setRenderTargetFramebuffer(g,d.framebuffer),t.setRenderTarget(g));let n=!1;e.length!==w.cameras.length&&(w.cameras.length=0,n=!0);for(let i=0;i<e.length;i++){const r=e[i];let s=null;if(null!==d)s=d.getViewport(r);else{const e=h.getViewSubImage(u,r);s=e.viewport,0===i&&(t.setRenderTargetTextures(g,e.colorTexture,u.ignoreDepthValues?void 0:e.depthStencilTexture),t.setRenderTarget(g))}let a=b[i];void 0===a&&(a=new Pr,a.layers.enable(i),a.viewport=new un,b[i]=a),a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.quaternion,a.scale),a.projectionMatrix.fromArray(r.projectionMatrix),a.projectionMatrixInverse.copy(a.projectionMatrix).invert(),a.viewport.set(s.x,s.y,s.width,s.height),0===i&&(w.matrix.copy(a.matrix),w.matrix.decompose(w.position,w.quaternion,w.scale)),!0===n&&w.cameras.push(a)}}for(let t=0;t<v.length;t++){const e=_[t],n=v[t];null!==e&&void 0!==n&&n.update(e,i,l||s)}if(D&&D(e,i),i.detectedPlanes){n.dispatchEvent({type:"planesdetected",data:i.detectedPlanes});let t=null;for(const e of x)i.detectedPlanes.has(e)||(null===t&&(t=[]),t.push(e));if(null!==t)for(const e of t)x.delete(e),y.delete(e),n.dispatchEvent({type:"planeremoved",data:e});for(const t of i.detectedPlanes)if(x.has(t)){const e=y.get(t);t.lastChangedTime>e&&(y.set(t,t.lastChangedTime),n.dispatchEvent({type:"planechanged",data:t}))}else x.add(t),y.set(t,i.lastChangedTime),n.dispatchEvent({type:"planeadded",data:t})}p=null}),this.setAnimationLoop=function(t){D=t},this.dispose=function(){}}}function So(t,e){function n(t,e){!0===t.matrixAutoUpdate&&t.updateMatrix(),e.value.copy(t.matrix)}function i(i,r){i.opacity.value=r.opacity,r.color&&i.diffuse.value.copy(r.color),r.emissive&&i.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity),r.map&&(i.map.value=r.map,n(r.map,i.mapTransform)),r.alphaMap&&(i.alphaMap.value=r.alphaMap,n(r.alphaMap,i.alphaMapTransform)),r.bumpMap&&(i.bumpMap.value=r.bumpMap,n(r.bumpMap,i.bumpMapTransform),i.bumpScale.value=r.bumpScale,r.side===c&&(i.bumpScale.value*=-1)),r.normalMap&&(i.normalMap.value=r.normalMap,n(r.normalMap,i.normalMapTransform),i.normalScale.value.copy(r.normalScale),r.side===c&&i.normalScale.value.negate()),r.displacementMap&&(i.displacementMap.value=r.displacementMap,n(r.displacementMap,i.displacementMapTransform),i.displacementScale.value=r.displacementScale,i.displacementBias.value=r.displacementBias),r.emissiveMap&&(i.emissiveMap.value=r.emissiveMap,n(r.emissiveMap,i.emissiveMapTransform)),r.specularMap&&(i.specularMap.value=r.specularMap,n(r.specularMap,i.specularMapTransform)),r.alphaTest>0&&(i.alphaTest.value=r.alphaTest);const s=e.get(r).envMap;if(s&&(i.envMap.value=s,i.flipEnvMap.value=s.isCubeTexture&&!1===s.isRenderTargetTexture?-1:1,i.reflectivity.value=r.reflectivity,i.ior.value=r.ior,i.refractionRatio.value=r.refractionRatio),r.lightMap){i.lightMap.value=r.lightMap;const e=!0===t.useLegacyLights?Math.PI:1;i.lightMapIntensity.value=r.lightMapIntensity*e,n(r.lightMap,i.lightMapTransform)}r.aoMap&&(i.aoMap.value=r.aoMap,i.aoMapIntensity.value=r.aoMapIntensity,n(r.aoMap,i.aoMapTransform))}return{refreshFogUniforms:function(e,n){n.color.getRGB(e.fogColor.value,Er(t)),n.isFog?(e.fogNear.value=n.near,e.fogFar.value=n.far):n.isFogExp2&&(e.fogDensity.value=n.density)},refreshMaterialUniforms:function(t,r,s,a,o){r.isMeshBasicMaterial||r.isMeshLambertMaterial?i(t,r):r.isMeshToonMaterial?(i(t,r),function(t,e){e.gradientMap&&(t.gradientMap.value=e.gradientMap)}(t,r)):r.isMeshPhongMaterial?(i(t,r),function(t,e){t.specular.value.copy(e.specular),t.shininess.value=Math.max(e.shininess,1e-4)}(t,r)):r.isMeshStandardMaterial?(i(t,r),function(t,i){t.metalness.value=i.metalness,i.metalnessMap&&(t.metalnessMap.value=i.metalnessMap,n(i.metalnessMap,t.metalnessMapTransform));t.roughness.value=i.roughness,i.roughnessMap&&(t.roughnessMap.value=i.roughnessMap,n(i.roughnessMap,t.roughnessMapTransform));const r=e.get(i).envMap;r&&(t.envMapIntensity.value=i.envMapIntensity)}(t,r),r.isMeshPhysicalMaterial&&function(t,e,i){t.ior.value=e.ior,e.sheen>0&&(t.sheenColor.value.copy(e.sheenColor).multiplyScalar(e.sheen),t.sheenRoughness.value=e.sheenRoughness,e.sheenColorMap&&(t.sheenColorMap.value=e.sheenColorMap,n(e.sheenColorMap,t.sheenColorMapTransform)),e.sheenRoughnessMap&&(t.sheenRoughnessMap.value=e.sheenRoughnessMap,n(e.sheenRoughnessMap,t.sheenRoughnessMapTransform)));e.clearcoat>0&&(t.clearcoat.value=e.clearcoat,t.clearcoatRoughness.value=e.clearcoatRoughness,e.clearcoatMap&&(t.clearcoatMap.value=e.clearcoatMap,n(e.clearcoatMap,t.clearcoatMapTransform)),e.clearcoatRoughnessMap&&(t.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap,n(e.clearcoatRoughnessMap,t.clearcoatRoughnessMapTransform)),e.clearcoatNormalMap&&(t.clearcoatNormalMap.value=e.clearcoatNormalMap,n(e.clearcoatNormalMap,t.clearcoatNormalMapTransform),t.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),e.side===c&&t.clearcoatNormalScale.value.negate()));e.iridescence>0&&(t.iridescence.value=e.iridescence,t.iridescenceIOR.value=e.iridescenceIOR,t.iridescenceThicknessMinimum.value=e.iridescenceThicknessRange[0],t.iridescenceThicknessMaximum.value=e.iridescenceThicknessRange[1],e.iridescenceMap&&(t.iridescenceMap.value=e.iridescenceMap,n(e.iridescenceMap,t.iridescenceMapTransform)),e.iridescenceThicknessMap&&(t.iridescenceThicknessMap.value=e.iridescenceThicknessMap,n(e.iridescenceThicknessMap,t.iridescenceThicknessMapTransform)));e.transmission>0&&(t.transmission.value=e.transmission,t.transmissionSamplerMap.value=i.texture,t.transmissionSamplerSize.value.set(i.width,i.height),e.transmissionMap&&(t.transmissionMap.value=e.transmissionMap,n(e.transmissionMap,t.transmissionMapTransform)),t.thickness.value=e.thickness,e.thicknessMap&&(t.thicknessMap.value=e.thicknessMap,n(e.thicknessMap,t.thicknessMapTransform)),t.attenuationDistance.value=e.attenuationDistance,t.attenuationColor.value.copy(e.attenuationColor));t.specularIntensity.value=e.specularIntensity,t.specularColor.value.copy(e.specularColor),e.specularColorMap&&(t.specularColorMap.value=e.specularColorMap,n(e.specularColorMap,t.specularColorMapTransform));e.specularIntensityMap&&(t.specularIntensityMap.value=e.specularIntensityMap,n(e.specularIntensityMap,t.specularIntensityMapTransform))}(t,r,o)):r.isMeshMatcapMaterial?(i(t,r),function(t,e){e.matcap&&(t.matcap.value=e.matcap)}(t,r)):r.isMeshDepthMaterial?i(t,r):r.isMeshDistanceMaterial?(i(t,r),function(t,n){const i=e.get(n).light;t.referencePosition.value.setFromMatrixPosition(i.matrixWorld),t.nearDistance.value=i.shadow.camera.near,t.farDistance.value=i.shadow.camera.far}(t,r)):r.isMeshNormalMaterial?i(t,r):r.isLineBasicMaterial?(function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,e.map&&(t.map.value=e.map,n(e.map,t.mapTransform))}(t,r),r.isLineDashedMaterial&&function(t,e){t.dashSize.value=e.dashSize,t.totalSize.value=e.dashSize+e.gapSize,t.scale.value=e.scale}(t,r)):r.isPointsMaterial?function(t,e,i,r){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.size.value=e.size*i,t.scale.value=.5*r,e.map&&(t.map.value=e.map,n(e.map,t.uvTransform));e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest)}(t,r,s,a):r.isSpriteMaterial?function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.rotation.value=e.rotation,e.map&&(t.map.value=e.map,n(e.map,t.mapTransform));e.alphaMap&&(t.alphaMap.value=e.alphaMap);e.alphaTest>0&&(t.alphaTest.value=e.alphaTest)}(t,r):r.isShadowMaterial?(t.color.value.copy(r.color),t.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function bo(t,e,n,i){let r={},s={},a=[];const o=n.isWebGL2?t.getParameter(35375):0;function l(t,e,n){const i=t.value;if(void 0===n[e]){if("number"==typeof i)n[e]=i;else{const t=Array.isArray(i)?i:[i],r=[];for(let e=0;e<t.length;e++)r.push(t[e].clone());n[e]=r}return!0}if("number"==typeof i){if(n[e]!==i)return n[e]=i,!0}else{const t=Array.isArray(n[e])?n[e]:[n[e]],r=Array.isArray(i)?i:[i];for(let e=0;e<t.length;e++){const n=t[e];if(!1===n.equals(r[e]))return n.copy(r[e]),!0}}return!1}function c(t){const e={boundary:0,storage:0};return"number"==typeof t?(e.boundary=4,e.storage=4):t.isVector2?(e.boundary=8,e.storage=8):t.isVector3||t.isColor?(e.boundary=16,e.storage=12):t.isVector4?(e.boundary=16,e.storage=16):t.isMatrix3?(e.boundary=48,e.storage=48):t.isMatrix4?(e.boundary=64,e.storage=64):t.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",t),e}function h(e){const n=e.target;n.removeEventListener("dispose",h);const i=a.indexOf(n.__bindingPointIndex);a.splice(i,1),t.deleteBuffer(r[n.id]),delete r[n.id],delete s[n.id]}return{bind:function(t,e){const n=e.program;i.uniformBlockBinding(t,n)},update:function(n,u){let d=r[n.id];void 0===d&&(!function(t){const e=t.uniforms;let n=0;const i=16;let r=0;for(let t=0,s=e.length;t<s;t++){const s=e[t],a={boundary:0,storage:0},o=Array.isArray(s.value)?s.value:[s.value];for(let t=0,e=o.length;t<e;t++){const e=c(o[t]);a.boundary+=e.boundary,a.storage+=e.storage}if(s.__data=new Float32Array(a.storage/Float32Array.BYTES_PER_ELEMENT),s.__offset=n,t>0){r=n%i;0!==r&&i-r-a.boundary<0&&(n+=i-r,s.__offset=n)}n+=a.storage}r=n%i,r>0&&(n+=i-r);t.__size=n,t.__cache={}}(n),d=function(e){const n=function(){for(let t=0;t<o;t++)if(-1===a.indexOf(t))return a.push(t),t;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();e.__bindingPointIndex=n;const i=t.createBuffer(),r=e.__size,s=e.usage;return t.bindBuffer(35345,i),t.bufferData(35345,r,s),t.bindBuffer(35345,null),t.bindBufferBase(35345,n,i),i}(n),r[n.id]=d,n.addEventListener("dispose",h));const p=u.program;i.updateUBOMapping(n,p);const m=e.render.frame;s[n.id]!==m&&(!function(e){const n=r[e.id],i=e.uniforms,s=e.__cache;t.bindBuffer(35345,n);for(let e=0,n=i.length;e<n;e++){const n=i[e];if(!0===l(n,e,s)){const e=n.__offset,i=Array.isArray(n.value)?n.value:[n.value];let r=0;for(let s=0;s<i.length;s++){const a=i[s],o=c(a);"number"==typeof a?(n.__data[0]=a,t.bufferSubData(35345,e+r,n.__data)):a.isMatrix3?(n.__data[0]=a.elements[0],n.__data[1]=a.elements[1],n.__data[2]=a.elements[2],n.__data[3]=a.elements[0],n.__data[4]=a.elements[3],n.__data[5]=a.elements[4],n.__data[6]=a.elements[5],n.__data[7]=a.elements[0],n.__data[8]=a.elements[6],n.__data[9]=a.elements[7],n.__data[10]=a.elements[8],n.__data[11]=a.elements[0]):(a.toArray(n.__data,r),r+=o.storage/Float32Array.BYTES_PER_ELEMENT)}t.bufferSubData(35345,e,n.__data)}}t.bindBuffer(35345,null)}(n),s[n.id]=m)},dispose:function(){for(const e in r)t.deleteBuffer(r[e]);a=[],r={},s={}}}}function wo(){const t=Je("canvas");return t.style.display="block",t}class To{constructor(t={}){const{canvas:n=wo(),context:i=null,depth:r=!0,stencil:s=!0,alpha:a=!1,antialias:o=!1,premultipliedAlpha:u=!0,preserveDrawingBuffer:d=!1,powerPreference:p="default",failIfMajorPerformanceCaveat:m=!1}=t;let f;this.isWebGLRenderer=!0,f=null!==i?i.getContextAttributes().alpha:a;let g=null,v=null;const _=[],x=[];this.domElement=n,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=ve,this.useLegacyLights=!0,this.toneMapping=W,this.toneMappingExposure=1;const y=this;let M=!1,S=0,b=0,w=null,T=-1,E=null;const A=new un,C=new un;let L=null,P=n.width,R=n.height,I=1,D=null,U=null;const N=new un(0,0,P,R),O=new un(0,0,P,R);let z=!1;const B=new Gr;let F=!1,k=!1,G=null;const V=new qn,H=new gn,j={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function q(){return null===w?I:1}let X,Y,Z,J,K,$,Q,tt,et,nt,it,rt,st,at,ot,lt,ct,dt,pt,mt,ft,gt,xt,yt,Mt=i;function St(t,e){for(let i=0;i<t.length;i++){const r=t[i],s=n.getContext(r,e);if(null!==s)return s}return null}try{const t={alpha:!0,depth:r,stencil:s,antialias:o,premultipliedAlpha:u,preserveDrawingBuffer:d,powerPreference:p,failIfMajorPerformanceCaveat:m};if("setAttribute"in n&&n.setAttribute("data-engine",`three.js r${e}`),n.addEventListener("webglcontextlost",Et,!1),n.addEventListener("webglcontextrestored",At,!1),n.addEventListener("webglcontextcreationerror",Ct,!1),null===Mt){const e=["webgl2","webgl","experimental-webgl"];if(!0===y.isWebGL1Renderer&&e.shift(),Mt=St(e,t),null===Mt)throw St(e)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===Mt.getShaderPrecisionFormat&&(Mt.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(t){throw console.error("THREE.WebGLRenderer: "+t.message),t}function wt(){X=new _s(Mt),Y=new $r(Mt,X,t),X.init(Y),gt=new fo(Mt,X,Y),Z=new po(Mt,X,Y),J=new Ms,K=new Ja,$=new mo(Mt,X,Z,K,Y,gt,J),Q=new ts(y),tt=new vs(y),et=new Hr(Mt,Y),xt=new Jr(Mt,X,et,Y),nt=new xs(Mt,et,J,xt),it=new Ts(Mt,nt,et,J),pt=new ws(Mt,Y,$),lt=new Qr(K),rt=new Za(y,Q,tt,X,Y,xt,lt),st=new So(y,K),at=new to,ot=new ao(X,Y),dt=new Zr(y,Q,tt,Z,it,f,u),ct=new uo(y,it,Y),yt=new bo(Mt,J,Y,Z),mt=new Kr(Mt,X,J,Y),ft=new ys(Mt,X,J,Y),J.programs=rt.programs,y.capabilities=Y,y.extensions=X,y.properties=K,y.renderLists=at,y.shadowMap=ct,y.state=Z,y.info=J}wt();const Tt=new Mo(y,Mt);function Et(t){t.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),M=!0}function At(){console.log("THREE.WebGLRenderer: Context Restored."),M=!1;const t=J.autoReset,e=ct.enabled,n=ct.autoUpdate,i=ct.needsUpdate,r=ct.type;wt(),J.autoReset=t,ct.enabled=e,ct.autoUpdate=n,ct.needsUpdate=i,ct.type=r}function Ct(t){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",t.statusMessage)}function Lt(t){const e=t.target;e.removeEventListener("dispose",Lt),function(t){(function(t){const e=K.get(t).programs;void 0!==e&&(e.forEach(function(t){rt.releaseProgram(t)}),t.isShaderMaterial&&rt.releaseShaderCache(t))})(t),K.remove(t)}(e)}this.xr=Tt,this.getContext=function(){return Mt},this.getContextAttributes=function(){return Mt.getContextAttributes()},this.forceContextLoss=function(){const t=X.get("WEBGL_lose_context");t&&t.loseContext()},this.forceContextRestore=function(){const t=X.get("WEBGL_lose_context");t&&t.restoreContext()},this.getPixelRatio=function(){return I},this.setPixelRatio=function(t){void 0!==t&&(I=t,this.setSize(P,R,!1))},this.getSize=function(t){return t.set(P,R)},this.setSize=function(t,e,i=!0){Tt.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(P=t,R=e,n.width=Math.floor(t*I),n.height=Math.floor(e*I),!0===i&&(n.style.width=t+"px",n.style.height=e+"px"),this.setViewport(0,0,t,e))},this.getDrawingBufferSize=function(t){return t.set(P*I,R*I).floor()},this.setDrawingBufferSize=function(t,e,i){P=t,R=e,I=i,n.width=Math.floor(t*i),n.height=Math.floor(e*i),this.setViewport(0,0,t,e)},this.getCurrentViewport=function(t){return t.copy(A)},this.getViewport=function(t){return t.copy(N)},this.setViewport=function(t,e,n,i){t.isVector4?N.set(t.x,t.y,t.z,t.w):N.set(t,e,n,i),Z.viewport(A.copy(N).multiplyScalar(I).floor())},this.getScissor=function(t){return t.copy(O)},this.setScissor=function(t,e,n,i){t.isVector4?O.set(t.x,t.y,t.z,t.w):O.set(t,e,n,i),Z.scissor(C.copy(O).multiplyScalar(I).floor())},this.getScissorTest=function(){return z},this.setScissorTest=function(t){Z.setScissorTest(z=t)},this.setOpaqueSort=function(t){D=t},this.setTransparentSort=function(t){U=t},this.getClearColor=function(t){return t.copy(dt.getClearColor())},this.setClearColor=function(){dt.setClearColor.apply(dt,arguments)},this.getClearAlpha=function(){return dt.getClearAlpha()},this.setClearAlpha=function(){dt.setClearAlpha.apply(dt,arguments)},this.clear=function(t=!0,e=!0,n=!0){let i=0;t&&(i|=16384),e&&(i|=256),n&&(i|=1024),Mt.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){n.removeEventListener("webglcontextlost",Et,!1),n.removeEventListener("webglcontextrestored",At,!1),n.removeEventListener("webglcontextcreationerror",Ct,!1),at.dispose(),ot.dispose(),K.dispose(),Q.dispose(),tt.dispose(),it.dispose(),xt.dispose(),yt.dispose(),rt.dispose(),Tt.dispose(),Tt.removeEventListener("sessionstart",Rt),Tt.removeEventListener("sessionend",It),G&&(G.dispose(),G=null),Dt.stop()},this.renderBufferDirect=function(t,e,n,i,r,s){null===e&&(e=j);const a=r.isMesh&&r.matrixWorld.determinant()<0,o=function(t,e,n,i,r){!0!==e.isScene&&(e=j);$.resetTextureUnits();const s=e.fog,a=i.isMeshStandardMaterial?e.environment:null,o=null===w?y.outputEncoding:!0===w.isXRRenderTarget?w.texture.encoding:ve,l=(i.isMeshStandardMaterial?tt:Q).get(i.envMap||a),c=!0===i.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,h=!!i.normalMap&&!!n.attributes.tangent,u=!!n.morphAttributes.position,d=!!n.morphAttributes.normal,p=!!n.morphAttributes.color,m=i.toneMapped?y.toneMapping:W,f=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,g=void 0!==f?f.length:0,_=K.get(i),x=v.state.lights;if(!0===F&&(!0===k||t!==E)){const e=t===E&&i.id===T;lt.setState(i,t,e)}let M=!1;i.version===_.__version?_.needsLights&&_.lightsStateVersion!==x.state.version||_.outputEncoding!==o||r.isInstancedMesh&&!1===_.instancing?M=!0:r.isInstancedMesh||!0!==_.instancing?r.isSkinnedMesh&&!1===_.skinning?M=!0:r.isSkinnedMesh||!0!==_.skinning?_.envMap!==l||!0===i.fog&&_.fog!==s?M=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===lt.numPlanes&&_.numIntersection===lt.numIntersection?(_.vertexAlphas!==c||_.vertexTangents!==h||_.morphTargets!==u||_.morphNormals!==d||_.morphColors!==p||_.toneMapping!==m||!0===Y.isWebGL2&&_.morphTargetsCount!==g)&&(M=!0):M=!0:M=!0:M=!0:(M=!0,_.__version=i.version);let S=_.currentProgram;!0===M&&(S=Bt(i,e,r));let b=!1,A=!1,C=!1;const L=S.getUniforms(),P=_.uniforms;Z.useProgram(S.program)&&(b=!0,A=!0,C=!0);i.id!==T&&(T=i.id,A=!0);if(b||E!==t){if(L.setValue(Mt,"projectionMatrix",t.projectionMatrix),Y.logarithmicDepthBuffer&&L.setValue(Mt,"logDepthBufFC",2/(Math.log(t.far+1)/Math.LN2)),E!==t&&(E=t,A=!0,C=!0),i.isShaderMaterial||i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshStandardMaterial||i.envMap){const e=L.map.cameraPosition;void 0!==e&&e.setValue(Mt,H.setFromMatrixPosition(t.matrixWorld))}(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial)&&L.setValue(Mt,"isOrthographic",!0===t.isOrthographicCamera),(i.isMeshPhongMaterial||i.isMeshToonMaterial||i.isMeshLambertMaterial||i.isMeshBasicMaterial||i.isMeshStandardMaterial||i.isShaderMaterial||i.isShadowMaterial||r.isSkinnedMesh)&&L.setValue(Mt,"viewMatrix",t.matrixWorldInverse)}if(r.isSkinnedMesh){L.setOptional(Mt,r,"bindMatrix"),L.setOptional(Mt,r,"bindMatrixInverse");const t=r.skeleton;t&&(Y.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),L.setValue(Mt,"boneTexture",t.boneTexture,$),L.setValue(Mt,"boneTextureSize",t.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const D=n.morphAttributes;(void 0!==D.position||void 0!==D.normal||void 0!==D.color&&!0===Y.isWebGL2)&&pt.update(r,n,S);(A||_.receiveShadow!==r.receiveShadow)&&(_.receiveShadow=r.receiveShadow,L.setValue(Mt,"receiveShadow",r.receiveShadow));i.isMeshGouraudMaterial&&null!==i.envMap&&(P.envMap.value=l,P.flipEnvMap.value=l.isCubeTexture&&!1===l.isRenderTargetTexture?-1:1);A&&(L.setValue(Mt,"toneMappingExposure",y.toneMappingExposure),_.needsLights&&(N=C,(U=P).ambientLightColor.needsUpdate=N,U.lightProbe.needsUpdate=N,U.directionalLights.needsUpdate=N,U.directionalLightShadows.needsUpdate=N,U.pointLights.needsUpdate=N,U.pointLightShadows.needsUpdate=N,U.spotLights.needsUpdate=N,U.spotLightShadows.needsUpdate=N,U.rectAreaLights.needsUpdate=N,U.hemisphereLights.needsUpdate=N),s&&!0===i.fog&&st.refreshFogUniforms(P,s),st.refreshMaterialUniforms(P,i,I,R,G),La.upload(Mt,_.uniformsList,P,$));var U,N;i.isShaderMaterial&&!0===i.uniformsNeedUpdate&&(La.upload(Mt,_.uniformsList,P,$),i.uniformsNeedUpdate=!1);i.isSpriteMaterial&&L.setValue(Mt,"center",r.center);if(L.setValue(Mt,"modelViewMatrix",r.modelViewMatrix),L.setValue(Mt,"normalMatrix",r.normalMatrix),L.setValue(Mt,"modelMatrix",r.matrixWorld),i.isShaderMaterial||i.isRawShaderMaterial){const t=i.uniformsGroups;for(let e=0,n=t.length;e<n;e++)if(Y.isWebGL2){const n=t[e];yt.update(n,S),yt.bind(n,S)}else console.warn("THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.")}return S}(t,e,n,i,r);Z.setMaterial(i,a);let l=n.index,c=1;!0===i.wireframe&&(l=nt.getWireframeAttribute(n),c=2);const h=n.drawRange,u=n.attributes.position;let d=h.start*c,p=(h.start+h.count)*c;null!==s&&(d=Math.max(d,s.start*c),p=Math.min(p,(s.start+s.count)*c)),null!==l?(d=Math.max(d,0),p=Math.min(p,l.count)):null!=u&&(d=Math.max(d,0),p=Math.min(p,u.count));const m=p-d;if(m<0||m===1/0)return;let f;xt.setup(r,i,o,n,l);let g=mt;if(null!==l&&(f=et.get(l),g=ft,g.setIndex(f)),r.isMesh)!0===i.wireframe?(Z.setLineWidth(i.wireframeLinewidth*q()),g.setMode(1)):g.setMode(4);else if(r.isLine){let t=i.linewidth;void 0===t&&(t=1),Z.setLineWidth(t*q()),r.isLineSegments?g.setMode(1):r.isLineLoop?g.setMode(2):g.setMode(3)}else r.isPoints?g.setMode(0):r.isSprite&&g.setMode(4);if(r.isInstancedMesh)g.renderInstances(d,m,r.count);else if(n.isInstancedBufferGeometry){const t=void 0!==n._maxInstanceCount?n._maxInstanceCount:1/0,e=Math.min(n.instanceCount,t);g.renderInstances(d,m,e)}else g.render(d,m)},this.compile=function(t,e){function n(t,e,n){!0===t.transparent&&t.side===h&&!1===t.forceSinglePass?(t.side=c,t.needsUpdate=!0,Bt(t,e,n),t.side=l,t.needsUpdate=!0,Bt(t,e,n),t.side=h):Bt(t,e,n)}v=ot.get(t),v.init(),x.push(v),t.traverseVisible(function(t){t.isLight&&t.layers.test(e.layers)&&(v.pushLight(t),t.castShadow&&v.pushShadow(t))}),v.setupLights(y.useLegacyLights),t.traverse(function(e){const i=e.material;if(i)if(Array.isArray(i))for(let r=0;r<i.length;r++){n(i[r],t,e)}else n(i,t,e)}),x.pop(),v=null};let Pt=null;function Rt(){Dt.stop()}function It(){Dt.start()}const Dt=new Vr;function Ut(t,e,n,i){if(!1===t.visible)return;if(t.layers.test(e.layers))if(t.isGroup)n=t.renderOrder;else if(t.isLOD)!0===t.autoUpdate&&t.update(e);else if(t.isLight)v.pushLight(t),t.castShadow&&v.pushShadow(t);else if(t.isSprite){if(!t.frustumCulled||B.intersectsSprite(t)){i&&H.setFromMatrixPosition(t.matrixWorld).applyMatrix4(V);const e=it.update(t),r=t.material;r.visible&&g.push(t,e,r,n,H.z,null)}}else if((t.isMesh||t.isLine||t.isPoints)&&(t.isSkinnedMesh&&t.skeleton.frame!==J.render.frame&&(t.skeleton.update(),t.skeleton.frame=J.render.frame),!t.frustumCulled||B.intersectsObject(t))){i&&H.setFromMatrixPosition(t.matrixWorld).applyMatrix4(V);const e=it.update(t),r=t.material;if(Array.isArray(r)){const i=e.groups;for(let s=0,a=i.length;s<a;s++){const a=i[s],o=r[a.materialIndex];o&&o.visible&&g.push(t,e,o,n,H.z,a)}}else r.visible&&g.push(t,e,r,n,H.z,null)}const r=t.children;for(let t=0,s=r.length;t<s;t++)Ut(r[t],e,n,i)}function Nt(t,e,n,i){const r=t.opaque,s=t.transmissive,a=t.transparent;v.setupLightsView(n),!0===F&&lt.setGlobalState(y.clippingPlanes,n),s.length>0&&function(t,e,n,i){if(null===G){const t=Y.isWebGL2;G=new dn(1024,1024,{generateMipmaps:!0,type:X.has("EXT_color_buffer_half_float")?_t:ut,minFilter:ht,samples:t&&!0===o?4:0})}const r=y.getRenderTarget();y.setRenderTarget(G),y.clear();const s=y.toneMapping;y.toneMapping=W,Ot(t,n,i),$.updateMultisampleRenderTarget(G),$.updateRenderTargetMipmap(G);let a=!1;for(let t=0,r=e.length;t<r;t++){const r=e[t],s=r.object,o=r.geometry,l=r.material,u=r.group;if(l.side===h&&s.layers.test(i.layers)){const t=l.side;l.side=c,l.needsUpdate=!0,zt(s,n,i,o,l,u),l.side=t,l.needsUpdate=!0,a=!0}}!0===a&&($.updateMultisampleRenderTarget(G),$.updateRenderTargetMipmap(G));y.setRenderTarget(r),y.toneMapping=s}(r,s,e,n),i&&Z.viewport(A.copy(i)),r.length>0&&Ot(r,e,n),s.length>0&&Ot(s,e,n),a.length>0&&Ot(a,e,n),Z.buffers.depth.setTest(!0),Z.buffers.depth.setMask(!0),Z.buffers.color.setMask(!0),Z.setPolygonOffset(!1)}function Ot(t,e,n){const i=!0===e.isScene?e.overrideMaterial:null;for(let r=0,s=t.length;r<s;r++){const s=t[r],a=s.object,o=s.geometry,l=null===i?s.material:i,c=s.group;a.layers.test(n.layers)&&zt(a,e,n,o,l,c)}}function zt(t,e,n,i,r,s){t.onBeforeRender(y,e,n,i,r,s),t.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,t.matrixWorld),t.normalMatrix.getNormalMatrix(t.modelViewMatrix),r.onBeforeRender(y,e,n,i,t,s),!0===r.transparent&&r.side===h&&!1===r.forceSinglePass?(r.side=c,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,s),r.side=l,r.needsUpdate=!0,y.renderBufferDirect(n,e,i,r,t,s),r.side=h):y.renderBufferDirect(n,e,i,r,t,s),t.onAfterRender(y,e,n,i,r,s)}function Bt(t,e,n){!0!==e.isScene&&(e=j);const i=K.get(t),r=v.state.lights,s=v.state.shadowsArray,a=r.state.version,o=rt.getParameters(t,r.state,s,e,n),l=rt.getProgramCacheKey(o);let c=i.programs;i.environment=t.isMeshStandardMaterial?e.environment:null,i.fog=e.fog,i.envMap=(t.isMeshStandardMaterial?tt:Q).get(t.envMap||i.environment),void 0===c&&(t.addEventListener("dispose",Lt),c=new Map,i.programs=c);let h=c.get(l);if(void 0!==h){if(i.currentProgram===h&&i.lightsStateVersion===a)return Ft(t,o),h}else o.uniforms=rt.getUniforms(t),t.onBuild(n,o,y),t.onBeforeCompile(o,y),h=rt.acquireProgram(o,l),c.set(l,h),i.uniforms=o.uniforms;const u=i.uniforms;(t.isShaderMaterial||t.isRawShaderMaterial)&&!0!==t.clipping||(u.clippingPlanes=lt.uniform),Ft(t,o),i.needsLights=function(t){return t.isMeshLambertMaterial||t.isMeshToonMaterial||t.isMeshPhongMaterial||t.isMeshStandardMaterial||t.isShadowMaterial||t.isShaderMaterial&&!0===t.lights}(t),i.lightsStateVersion=a,i.needsLights&&(u.ambientLightColor.value=r.state.ambient,u.lightProbe.value=r.state.probe,u.directionalLights.value=r.state.directional,u.directionalLightShadows.value=r.state.directionalShadow,u.spotLights.value=r.state.spot,u.spotLightShadows.value=r.state.spotShadow,u.rectAreaLights.value=r.state.rectArea,u.ltc_1.value=r.state.rectAreaLTC1,u.ltc_2.value=r.state.rectAreaLTC2,u.pointLights.value=r.state.point,u.pointLightShadows.value=r.state.pointShadow,u.hemisphereLights.value=r.state.hemi,u.directionalShadowMap.value=r.state.directionalShadowMap,u.directionalShadowMatrix.value=r.state.directionalShadowMatrix,u.spotShadowMap.value=r.state.spotShadowMap,u.spotLightMatrix.value=r.state.spotLightMatrix,u.spotLightMap.value=r.state.spotLightMap,u.pointShadowMap.value=r.state.pointShadowMap,u.pointShadowMatrix.value=r.state.pointShadowMatrix);const d=h.getUniforms(),p=La.seqWithValue(d.seq,u);return i.currentProgram=h,i.uniformsList=p,h}function Ft(t,e){const n=K.get(t);n.outputEncoding=e.outputEncoding,n.instancing=e.instancing,n.skinning=e.skinning,n.morphTargets=e.morphTargets,n.morphNormals=e.morphNormals,n.morphColors=e.morphColors,n.morphTargetsCount=e.morphTargetsCount,n.numClippingPlanes=e.numClippingPlanes,n.numIntersection=e.numClipIntersection,n.vertexAlphas=e.vertexAlphas,n.vertexTangents=e.vertexTangents,n.toneMapping=e.toneMapping}Dt.setAnimationLoop(function(t){Pt&&Pt(t)}),"undefined"!=typeof self&&Dt.setContext(self),this.setAnimationLoop=function(t){Pt=t,Tt.setAnimationLoop(t),null===t?Dt.stop():Dt.start()},Tt.addEventListener("sessionstart",Rt),Tt.addEventListener("sessionend",It),this.render=function(t,e){if(void 0!==e&&!0!==e.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===M)return;!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),null===e.parent&&!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),!0===Tt.enabled&&!0===Tt.isPresenting&&(!0===Tt.cameraAutoUpdate&&Tt.updateCamera(e),e=Tt.getCamera()),!0===t.isScene&&t.onBeforeRender(y,t,e,w),v=ot.get(t,x.length),v.init(),x.push(v),V.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),B.setFromProjectionMatrix(V),k=this.localClippingEnabled,F=lt.init(this.clippingPlanes,k),g=at.get(t,_.length),g.init(),_.push(g),Ut(t,e,0,y.sortObjects),g.finish(),!0===y.sortObjects&&g.sort(D,U),!0===F&&lt.beginShadows();const n=v.state.shadowsArray;if(ct.render(n,t,e),!0===F&&lt.endShadows(),!0===this.info.autoReset&&this.info.reset(),dt.render(g,t),v.setupLights(y.useLegacyLights),e.isArrayCamera){const n=e.cameras;for(let e=0,i=n.length;e<i;e++){const i=n[e];Nt(g,t,i,i.viewport)}}else Nt(g,t,e);null!==w&&($.updateMultisampleRenderTarget(w),$.updateRenderTargetMipmap(w)),!0===t.isScene&&t.onAfterRender(y,t,e),xt.resetDefaultState(),T=-1,E=null,x.pop(),v=x.length>0?x[x.length-1]:null,_.pop(),g=_.length>0?_[_.length-1]:null},this.getActiveCubeFace=function(){return S},this.getActiveMipmapLevel=function(){return b},this.getRenderTarget=function(){return w},this.setRenderTargetTextures=function(t,e,n){K.get(t.texture).__webglTexture=e,K.get(t.depthTexture).__webglTexture=n;const i=K.get(t);i.__hasExternalTextures=!0,i.__hasExternalTextures&&(i.__autoAllocateDepthBuffer=void 0===n,i.__autoAllocateDepthBuffer||!0===X.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),i.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(t,e){const n=K.get(t);n.__webglFramebuffer=e,n.__useDefaultFramebuffer=void 0===e},this.setRenderTarget=function(t,e=0,n=0){w=t,S=e,b=n;let i=!0,r=null,s=!1,a=!1;if(t){const n=K.get(t);void 0!==n.__useDefaultFramebuffer?(Z.bindFramebuffer(36160,null),i=!1):void 0===n.__webglFramebuffer?$.setupRenderTarget(t):n.__hasExternalTextures&&$.rebindTextures(t,K.get(t.texture).__webglTexture,K.get(t.depthTexture).__webglTexture);const o=t.texture;(o.isData3DTexture||o.isDataArrayTexture||o.isCompressedArrayTexture)&&(a=!0);const l=K.get(t).__webglFramebuffer;t.isWebGLCubeRenderTarget?(r=l[e],s=!0):r=Y.isWebGL2&&t.samples>0&&!1===$.useMultisampledRTT(t)?K.get(t).__webglMultisampledFramebuffer:l,A.copy(t.viewport),C.copy(t.scissor),L=t.scissorTest}else A.copy(N).multiplyScalar(I).floor(),C.copy(O).multiplyScalar(I).floor(),L=z;if(Z.bindFramebuffer(36160,r)&&Y.drawBuffers&&i&&Z.drawBuffers(t,r),Z.viewport(A),Z.scissor(C),Z.setScissorTest(L),s){const i=K.get(t.texture);Mt.framebufferTexture2D(36160,36064,34069+e,i.__webglTexture,n)}else if(a){const i=K.get(t.texture),r=e||0;Mt.framebufferTextureLayer(36160,36064,i.__webglTexture,n||0,r)}T=-1},this.readRenderTargetPixels=function(t,e,n,i,r,s,a){if(!t||!t.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let o=K.get(t).__webglFramebuffer;if(t.isWebGLCubeRenderTarget&&void 0!==a&&(o=o[a]),o){Z.bindFramebuffer(36160,o);try{const a=t.texture,o=a.format,l=a.type;if(o!==bt&&gt.convert(o)!==Mt.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");const c=l===_t&&(X.has("EXT_color_buffer_half_float")||Y.isWebGL2&&X.has("EXT_color_buffer_float"));if(!(l===ut||gt.convert(l)===Mt.getParameter(35738)||l===vt&&(Y.isWebGL2||X.has("OES_texture_float")||X.has("WEBGL_color_buffer_float"))||c))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");e>=0&&e<=t.width-i&&n>=0&&n<=t.height-r&&Mt.readPixels(e,n,i,r,gt.convert(o),gt.convert(l),s)}finally{const t=null!==w?K.get(w).__webglFramebuffer:null;Z.bindFramebuffer(36160,t)}}},this.copyFramebufferToTexture=function(t,e,n=0){const i=Math.pow(2,-n),r=Math.floor(e.image.width*i),s=Math.floor(e.image.height*i);$.setTexture2D(e,0),Mt.copyTexSubImage2D(3553,n,0,0,t.x,t.y,r,s),Z.unbindTexture()},this.copyTextureToTexture=function(t,e,n,i=0){const r=e.image.width,s=e.image.height,a=gt.convert(n.format),o=gt.convert(n.type);$.setTexture2D(n,0),Mt.pixelStorei(37440,n.flipY),Mt.pixelStorei(37441,n.premultiplyAlpha),Mt.pixelStorei(3317,n.unpackAlignment),e.isDataTexture?Mt.texSubImage2D(3553,i,t.x,t.y,r,s,a,o,e.image.data):e.isCompressedTexture?Mt.compressedTexSubImage2D(3553,i,t.x,t.y,e.mipmaps[0].width,e.mipmaps[0].height,a,e.mipmaps[0].data):Mt.texSubImage2D(3553,i,t.x,t.y,a,o,e.image),0===i&&n.generateMipmaps&&Mt.generateMipmap(3553),Z.unbindTexture()},this.copyTextureToTexture3D=function(t,e,n,i,r=0){if(y.isWebGL1Renderer)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");const s=t.max.x-t.min.x+1,a=t.max.y-t.min.y+1,o=t.max.z-t.min.z+1,l=gt.convert(i.format),c=gt.convert(i.type);let h;if(i.isData3DTexture)$.setTexture3D(i,0),h=32879;else{if(!i.isDataArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");$.setTexture2DArray(i,0),h=35866}Mt.pixelStorei(37440,i.flipY),Mt.pixelStorei(37441,i.premultiplyAlpha),Mt.pixelStorei(3317,i.unpackAlignment);const u=Mt.getParameter(3314),d=Mt.getParameter(32878),p=Mt.getParameter(3316),m=Mt.getParameter(3315),f=Mt.getParameter(32877),g=n.isCompressedTexture?n.mipmaps[0]:n.image;Mt.pixelStorei(3314,g.width),Mt.pixelStorei(32878,g.height),Mt.pixelStorei(3316,t.min.x),Mt.pixelStorei(3315,t.min.y),Mt.pixelStorei(32877,t.min.z),n.isDataTexture||n.isData3DTexture?Mt.texSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,c,g.data):n.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),Mt.compressedTexSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,g.data)):Mt.texSubImage3D(h,r,e.x,e.y,e.z,s,a,o,l,c,g),Mt.pixelStorei(3314,u),Mt.pixelStorei(32878,d),Mt.pixelStorei(3316,p),Mt.pixelStorei(3315,m),Mt.pixelStorei(32877,f),0===r&&i.generateMipmaps&&Mt.generateMipmap(h),Z.unbindTexture()},this.initTexture=function(t){t.isCubeTexture?$.setTextureCube(t,0):t.isData3DTexture?$.setTexture3D(t,0):t.isDataArrayTexture||t.isCompressedArrayTexture?$.setTexture2DArray(t,0):$.setTexture2D(t,0),Z.unbindTexture()},this.resetState=function(){S=0,b=0,w=null,Z.reset(),xt.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(t){console.warn("THREE.WebGLRenderer: the property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!t}}class Eo extends To{}Eo.prototype.isWebGL1Renderer=!0;class Ao{constructor(t,e=25e-5){this.isFogExp2=!0,this.name="",this.color=new Oi(t),this.density=e}clone(){return new Ao(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}class Co{constructor(t,e=1,n=1e3){this.isFog=!0,this.name="",this.color=new Oi(t),this.near=e,this.far=n}clone(){return new Co(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}class Lo extends vi{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),null!==t.background&&(this.background=t.background.clone()),null!==t.environment&&(this.environment=t.environment.clone()),null!==t.fog&&(this.fog=t.fog.clone()),this.backgroundBlurriness=t.backgroundBlurriness,this.backgroundIntensity=t.backgroundIntensity,null!==t.overrideMaterial&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return null!==this.fog&&(e.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(e.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(e.object.backgroundIntensity=this.backgroundIntensity),e}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(t){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=t}}class Po{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=void 0!==t?t.length/e:0,this.usage=Ee,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=Ue()}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let i=0,r=this.stride;i<r;i++)this.array[t+i]=e.array[n+i];return this}set(t,e=0){return this.array.set(t,e),this}clone(t){void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Ue()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const e=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(e,this.stride);return n.setUsage(this.usage),n}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Ue()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const Ro=new gn;class Io{constructor(t,e,n,i=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=e,this.offset=n,this.normalized=i}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let e=0,n=this.data.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.applyMatrix4(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.applyNormalMatrix(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Ro.fromBufferAttribute(this,e),Ro.transformDirection(t),this.setXYZ(e,Ro.x,Ro.y,Ro.z);return this}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset]=e,this}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+1]=e,this}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+2]=e,this}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.data.array[t*this.data.stride+this.offset+3]=e,this}getX(t){let e=this.data.array[t*this.data.stride+this.offset];return this.normalized&&(e=Ge(e,this.array)),e}getY(t){let e=this.data.array[t*this.data.stride+this.offset+1];return this.normalized&&(e=Ge(e,this.array)),e}getZ(t){let e=this.data.array[t*this.data.stride+this.offset+2];return this.normalized&&(e=Ge(e,this.array)),e}getW(t){let e=this.data.array[t*this.data.stride+this.offset+3];return this.normalized&&(e=Ge(e,this.array)),e}setXY(t,e,n){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this}setXYZ(t,e,n,i){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this}setXYZW(t,e,n,i,r){return t=t*this.data.stride+this.offset,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=i,this.data.array[t+3]=r,this}clone(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return new qi(new this.array.constructor(t),this.itemSize,this.normalized)}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new Io(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(t){if(void 0===t){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.toJSON(t)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class Do extends Ri{constructor(t){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}let Uo;const No=new gn,Oo=new gn,zo=new gn,Bo=new We,Fo=new We,ko=new qn,Go=new gn,Vo=new gn,Ho=new gn,Wo=new We,jo=new We,qo=new We;class Xo extends vi{constructor(t){if(super(),this.isSprite=!0,this.type="Sprite",void 0===Uo){Uo=new ir;const t=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),e=new Po(t,5);Uo.setIndex([0,1,2,0,2,3]),Uo.setAttribute("position",new Io(e,3,0,!1)),Uo.setAttribute("uv",new Io(e,2,3,!1))}this.geometry=Uo,this.material=void 0!==t?t:new Do,this.center=new We(.5,.5)}raycast(t,e){null===t.camera&&console.error("THREE.Sprite: \"Raycaster.camera\" needs to be set in order to raycast against sprites."),Oo.setFromMatrixScale(this.matrixWorld),ko.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),zo.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&Oo.multiplyScalar(-zo.z);const n=this.material.rotation;let i,r;0!==n&&(r=Math.cos(n),i=Math.sin(n));const s=this.center;Yo(Go.set(-.5,-.5,0),zo,s,Oo,i,r),Yo(Vo.set(.5,-.5,0),zo,s,Oo,i,r),Yo(Ho.set(.5,.5,0),zo,s,Oo,i,r),Wo.set(0,0),jo.set(1,0),qo.set(1,1);let a=t.ray.intersectTriangle(Go,Vo,Ho,!1,No);if(null===a&&(Yo(Vo.set(-.5,.5,0),zo,s,Oo,i,r),jo.set(0,1),a=t.ray.intersectTriangle(Go,Ho,Vo,!1,No),null===a))return;const o=t.ray.origin.distanceTo(No);o<t.near||o>t.far||e.push({distance:o,point:No.clone(),uv:Li.getInterpolation(No,Go,Vo,Ho,Wo,jo,qo,new We),face:null,object:this})}copy(t,e){return super.copy(t,e),void 0!==t.center&&this.center.copy(t.center),this.material=t.material,this}}function Yo(t,e,n,i,r,s){Bo.subVectors(t,n).addScalar(.5).multiply(i),void 0!==r?(Fo.x=s*Bo.x-r*Bo.y,Fo.y=r*Bo.x+s*Bo.y):Fo.copy(Bo),t.copy(e),t.x+=Fo.x,t.y+=Fo.y,t.applyMatrix4(ko)}const Zo=new gn,Jo=new gn;class Ko extends vi{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(t){super.copy(t,!1);const e=t.levels;for(let t=0,n=e.length;t<n;t++){const n=e[t];this.addLevel(n.object.clone(),n.distance,n.hysteresis)}return this.autoUpdate=t.autoUpdate,this}addLevel(t,e=0,n=0){e=Math.abs(e);const i=this.levels;let r;for(r=0;r<i.length&&!(e<i[r].distance);r++);return i.splice(r,0,{distance:e,hysteresis:n,object:t}),this.add(t),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(t){const e=this.levels;if(e.length>0){let n,i;for(n=1,i=e.length;n<i;n++){let i=e[n].distance;if(e[n].object.visible&&(i-=i*e[n].hysteresis),t<i)break}return e[n-1].object}return null}raycast(t,e){if(this.levels.length>0){Zo.setFromMatrixPosition(this.matrixWorld);const n=t.ray.origin.distanceTo(Zo);this.getObjectForDistance(n).raycast(t,e)}}update(t){const e=this.levels;if(e.length>1){Zo.setFromMatrixPosition(t.matrixWorld),Jo.setFromMatrixPosition(this.matrixWorld);const n=Zo.distanceTo(Jo)/t.zoom;let i,r;for(e[0].object.visible=!0,i=1,r=e.length;i<r;i++){let t=e[i].distance;if(e[i].object.visible&&(t-=t*e[i].hysteresis),!(n>=t))break;e[i-1].object.visible=!1,e[i].object.visible=!0}for(this._currentLevel=i-1;i<r;i++)e[i].object.visible=!1}}toJSON(t){const e=super.toJSON(t);!1===this.autoUpdate&&(e.object.autoUpdate=!1),e.object.levels=[];const n=this.levels;for(let t=0,i=n.length;t<i;t++){const i=n[t];e.object.levels.push({object:i.object.uuid,distance:i.distance,hysteresis:i.hysteresis})}return e}}const $o=new gn,Qo=new un,tl=new un,el=new gn,nl=new qn,il=new gn;class rl extends Mr{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new qn,this.bindMatrixInverse=new qn,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const t=this.geometry;null===this.boundingBox&&(this.boundingBox=new xn),this.boundingBox.makeEmpty();const e=t.getAttribute("position");for(let t=0;t<e.count;t++)il.fromBufferAttribute(e,t),this.applyBoneTransform(t,il),this.boundingBox.expandByPoint(il)}computeBoundingSphere(){const t=this.geometry;null===this.boundingSphere&&(this.boundingSphere=new zn),this.boundingSphere.makeEmpty();const e=t.getAttribute("position");for(let t=0;t<e.count;t++)il.fromBufferAttribute(e,t),this.applyBoneTransform(t,il),this.boundingSphere.expandByPoint(il)}copy(t,e){return super.copy(t,e),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,this}bind(t,e){this.skeleton=t,void 0===e&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),e=this.matrixWorld),this.bindMatrix.copy(e),this.bindMatrixInverse.copy(e).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const t=new un,e=this.geometry.attributes.skinWeight;for(let n=0,i=e.count;n<i;n++){t.fromBufferAttribute(e,n);const i=1/t.manhattanLength();i!==1/0?t.multiplyScalar(i):t.set(1,0,0,0),e.setXYZW(n,t.x,t.y,t.z,t.w)}}updateMatrixWorld(t){super.updateMatrixWorld(t),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}applyBoneTransform(t,e){const n=this.skeleton,i=this.geometry;Qo.fromBufferAttribute(i.attributes.skinIndex,t),tl.fromBufferAttribute(i.attributes.skinWeight,t),$o.copy(e).applyMatrix4(this.bindMatrix),e.set(0,0,0);for(let t=0;t<4;t++){const i=tl.getComponent(t);if(0!==i){const r=Qo.getComponent(t);nl.multiplyMatrices(n.bones[r].matrixWorld,n.boneInverses[r]),e.addScaledVector(el.copy($o).applyMatrix4(nl),i)}}return e.applyMatrix4(this.bindMatrixInverse)}boneTransform(t,e){return console.warn("THREE.SkinnedMesh: .boneTransform() was renamed to .applyBoneTransform() in r151."),this.applyBoneTransform(t,e)}}class sl extends vi{constructor(){super(),this.isBone=!0,this.type="Bone"}}class al extends hn{constructor(t=null,e=1,n=1,i,r,s,a,o,l=st,c=st,h,u){super(null,s,a,o,l,c,i,r,h,u),this.isDataTexture=!0,this.image={data:t,width:e,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const ol=new qn,ll=new qn;class cl{constructor(t=[],e=[]){this.uuid=Ue(),this.bones=t.slice(0),this.boneInverses=e,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const t=this.bones,e=this.boneInverses;if(this.boneMatrices=new Float32Array(16*t.length),0===e.length)this.calculateInverses();else if(t.length!==e.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let t=0,e=this.bones.length;t<e;t++)this.boneInverses.push(new qn)}}calculateInverses(){this.boneInverses.length=0;for(let t=0,e=this.bones.length;t<e;t++){const e=new qn;this.bones[t]&&e.copy(this.bones[t].matrixWorld).invert(),this.boneInverses.push(e)}}pose(){for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&e.matrixWorld.copy(this.boneInverses[t]).invert()}for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&(e.parent&&e.parent.isBone?(e.matrix.copy(e.parent.matrixWorld).invert(),e.matrix.multiply(e.matrixWorld)):e.matrix.copy(e.matrixWorld),e.matrix.decompose(e.position,e.quaternion,e.scale))}}update(){const t=this.bones,e=this.boneInverses,n=this.boneMatrices,i=this.boneTexture;for(let i=0,r=t.length;i<r;i++){const r=t[i]?t[i].matrixWorld:ll;ol.multiplyMatrices(r,e[i]),ol.toArray(n,16*i)}null!==i&&(i.needsUpdate=!0)}clone(){return new cl(this.bones,this.boneInverses)}computeBoneTexture(){let t=Math.sqrt(4*this.bones.length);t=Fe(t),t=Math.max(t,4);const e=new Float32Array(t*t*4);e.set(this.boneMatrices);const n=new al(e,t,t,bt,vt);return n.needsUpdate=!0,this.boneMatrices=e,this.boneTexture=n,this.boneTextureSize=t,this}getBoneByName(t){for(let e=0,n=this.bones.length;e<n;e++){const n=this.bones[e];if(n.name===t)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(t,e){this.uuid=t.uuid;for(let n=0,i=t.bones.length;n<i;n++){const i=t.bones[n];let r=e[i];void 0===r&&(console.warn("THREE.Skeleton: No bone found with UUID:",i),r=new sl),this.bones.push(r),this.boneInverses.push(new qn().fromArray(t.boneInverses[n]))}return this.init(),this}toJSON(){const t={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};t.uuid=this.uuid;const e=this.bones,n=this.boneInverses;for(let i=0,r=e.length;i<r;i++){const r=e[i];t.bones.push(r.uuid);const s=n[i];t.boneInverses.push(s.toArray())}return t}}class hl extends qi{constructor(t,e,n,i=1){super(t,e,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=i}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}toJSON(){const t=super.toJSON();return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}}const ul=new qn,dl=new qn,pl=[],ml=new xn,fl=new qn,gl=new Mr,vl=new zn;class _l extends Mr{constructor(t,e,n){super(t,e),this.isInstancedMesh=!0,this.instanceMatrix=new hl(new Float32Array(16*n),16),this.instanceColor=null,this.count=n,this.boundingBox=null,this.boundingSphere=null;for(let t=0;t<n;t++)this.setMatrixAt(t,fl)}computeBoundingBox(){const t=this.geometry,e=this.count;null===this.boundingBox&&(this.boundingBox=new xn),null===t.boundingBox&&t.computeBoundingBox(),this.boundingBox.makeEmpty();for(let n=0;n<e;n++)this.getMatrixAt(n,ul),ml.copy(t.boundingBox).applyMatrix4(ul),this.boundingBox.union(ml)}computeBoundingSphere(){const t=this.geometry,e=this.count;null===this.boundingSphere&&(this.boundingSphere=new zn),null===t.boundingSphere&&t.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let n=0;n<e;n++)this.getMatrixAt(n,ul),vl.copy(t.boundingSphere).applyMatrix4(ul),this.boundingSphere.union(vl)}copy(t,e){return super.copy(t,e),this.instanceMatrix.copy(t.instanceMatrix),null!==t.instanceColor&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,this}getColorAt(t,e){e.fromArray(this.instanceColor.array,3*t)}getMatrixAt(t,e){e.fromArray(this.instanceMatrix.array,16*t)}raycast(t,e){const n=this.matrixWorld,i=this.count;if(gl.geometry=this.geometry,gl.material=this.material,void 0!==gl.material&&(null===this.boundingSphere&&this.computeBoundingSphere(),vl.copy(this.boundingSphere),vl.applyMatrix4(n),!1!==t.ray.intersectsSphere(vl)))for(let r=0;r<i;r++){this.getMatrixAt(r,ul),dl.multiplyMatrices(n,ul),gl.matrixWorld=dl,gl.raycast(t,pl);for(let t=0,n=pl.length;t<n;t++){const n=pl[t];n.instanceId=r,n.object=this,e.push(n)}pl.length=0}}setColorAt(t,e){null===this.instanceColor&&(this.instanceColor=new hl(new Float32Array(3*this.instanceMatrix.count),3)),e.toArray(this.instanceColor.array,3*t)}setMatrixAt(t,e){e.toArray(this.instanceMatrix.array,16*t)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}class xl extends Ri{constructor(t){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new Oi(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}}const yl=new gn,Ml=new gn,Sl=new qn,bl=new jn,wl=new zn;class Tl extends vi{constructor(t=new ir,e=new xl){super(),this.isLine=!0,this.type="Line",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[0];for(let t=1,i=e.count;t<i;t++)yl.fromBufferAttribute(e,t-1),Ml.fromBufferAttribute(e,t),n[t]=n[t-1],n[t]+=yl.distanceTo(Ml);t.setAttribute("lineDistance",new Zi(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Line.threshold,s=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),wl.copy(n.boundingSphere),wl.applyMatrix4(i),wl.radius+=r,!1===t.ray.intersectsSphere(wl))return;Sl.copy(i).invert(),bl.copy(t.ray).applyMatrix4(Sl);const a=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=a*a,l=new gn,c=new gn,h=new gn,u=new gn,d=this.isLineSegments?2:1,p=n.index,m=n.attributes.position;if(null!==p){for(let n=Math.max(0,s.start),i=Math.min(p.count,s.start+s.count)-1;n<i;n+=d){const i=p.getX(n),r=p.getX(n+1);l.fromBufferAttribute(m,i),c.fromBufferAttribute(m,r);if(bl.distanceSqToSegment(l,c,u,h)>o)continue;u.applyMatrix4(this.matrixWorld);const s=t.ray.origin.distanceTo(u);s<t.near||s>t.far||e.push({distance:s,point:h.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}else{for(let n=Math.max(0,s.start),i=Math.min(m.count,s.start+s.count)-1;n<i;n+=d){l.fromBufferAttribute(m,n),c.fromBufferAttribute(m,n+1);if(bl.distanceSqToSegment(l,c,u,h)>o)continue;u.applyMatrix4(this.matrixWorld);const i=t.ray.origin.distanceTo(u);i<t.near||i>t.far||e.push({distance:i,point:h.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}const El=new gn,Al=new gn;class Cl extends Tl{constructor(t,e){super(t,e),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[];for(let t=0,i=e.count;t<i;t+=2)El.fromBufferAttribute(e,t),Al.fromBufferAttribute(e,t+1),n[t]=0===t?0:n[t-1],n[t+1]=n[t]+El.distanceTo(Al);t.setAttribute("lineDistance",new Zi(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class Ll extends Tl{constructor(t,e){super(t,e),this.isLineLoop=!0,this.type="LineLoop"}}class Pl extends Ri{constructor(t){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}const Rl=new qn,Il=new jn,Dl=new zn,Ul=new gn;class Nl extends vi{constructor(t=new ir,e=new Pl){super(),this.isPoints=!0,this.type="Points",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}raycast(t,e){const n=this.geometry,i=this.matrixWorld,r=t.params.Points.threshold,s=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Dl.copy(n.boundingSphere),Dl.applyMatrix4(i),Dl.radius+=r,!1===t.ray.intersectsSphere(Dl))return;Rl.copy(i).invert(),Il.copy(t.ray).applyMatrix4(Rl);const a=r/((this.scale.x+this.scale.y+this.scale.z)/3),o=a*a,l=n.index,c=n.attributes.position;if(null!==l){for(let n=Math.max(0,s.start),r=Math.min(l.count,s.start+s.count);n<r;n++){const r=l.getX(n);Ul.fromBufferAttribute(c,r),Ol(Ul,r,o,i,t,e,this)}}else{for(let n=Math.max(0,s.start),r=Math.min(c.count,s.start+s.count);n<r;n++)Ul.fromBufferAttribute(c,n),Ol(Ul,n,o,i,t,e,this)}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}function Ol(t,e,n,i,r,s,a){const o=Il.distanceSqToPoint(t);if(o<n){const n=new gn;Il.closestPointToPoint(t,n),n.applyMatrix4(i);const l=r.ray.origin.distanceTo(n);if(l<r.near||l>r.far)return;s.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:e,face:null,object:a})}}class zl extends hn{constructor(t,e,n,i,r,s,a,o,l,c,h,u){super(null,s,a,o,l,c,i,r,h,u),this.isCompressedTexture=!0,this.image={width:e,height:n},this.mipmaps=t,this.flipY=!1,this.generateMipmaps=!1}}class Bl{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,i=this.getPoint(0),r=0;e.push(0);for(let s=1;s<=t;s++)n=this.getPoint(s/t),r+=n.distanceTo(i),e.push(r),i=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let i=0;const r=n.length;let s;s=e||t*n[r-1];let a,o=0,l=r-1;for(;o<=l;)if(i=Math.floor(o+(l-o)/2),a=n[i]-s,a<0)o=i+1;else{if(!(a>0)){l=i;break}l=i-1}if(i=l,n[i]===s)return i/(r-1);const c=n[i];return(i+(s-c)/(n[i+1]-c))/(r-1)}getTangent(t,e){const n=1e-4;let i=t-n,r=t+n;i<0&&(i=0),r>1&&(r=1);const s=this.getPoint(i),a=this.getPoint(r),o=e||(s.isVector2?new We:new gn);return o.copy(a).sub(s).normalize(),o}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new gn,i=[],r=[],s=[],a=new gn,o=new qn;for(let e=0;e<=t;e++){const n=e/t;i[e]=this.getTangentAt(n,new gn)}r[0]=new gn,s[0]=new gn;let l=Number.MAX_VALUE;const c=Math.abs(i[0].x),h=Math.abs(i[0].y),u=Math.abs(i[0].z);c<=l&&(l=c,n.set(1,0,0)),h<=l&&(l=h,n.set(0,1,0)),u<=l&&n.set(0,0,1),a.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],a),s[0].crossVectors(i[0],r[0]);for(let e=1;e<=t;e++){if(r[e]=r[e-1].clone(),s[e]=s[e-1].clone(),a.crossVectors(i[e-1],i[e]),a.length()>Number.EPSILON){a.normalize();const t=Math.acos(Ne(i[e-1].dot(i[e]),-1,1));r[e].applyMatrix4(o.makeRotationAxis(a,t))}s[e].crossVectors(i[e],r[e])}if(!0===e){let e=Math.acos(Ne(r[0].dot(r[t]),-1,1));e/=t,i[0].dot(a.crossVectors(r[0],r[t]))>0&&(e=-e);for(let n=1;n<=t;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],e*n)),s[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:s}}clone(){return new this.constructor().copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class Fl extends Bl{constructor(t=0,e=0,n=1,i=1,r=0,s=2*Math.PI,a=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=s,this.aClockwise=a,this.aRotation=o}getPoint(t,e){const n=e||new We,i=2*Math.PI;let r=this.aEndAngle-this.aStartAngle;const s=Math.abs(r)<Number.EPSILON;for(;r<0;)r+=i;for(;r>i;)r-=i;r<Number.EPSILON&&(r=s?0:i),!0!==this.aClockwise||s||(r===i?r=-i:r-=i);const a=this.aStartAngle+t*r;let o=this.aX+this.xRadius*Math.cos(a),l=this.aY+this.yRadius*Math.sin(a);if(0!==this.aRotation){const t=Math.cos(this.aRotation),e=Math.sin(this.aRotation),n=o-this.aX,i=l-this.aY;o=n*t-i*e+this.aX,l=n*e+i*t+this.aY}return n.set(o,l)}copy(t){return super.copy(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}toJSON(){const t=super.toJSON();return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}fromJSON(t){return super.fromJSON(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}}class kl extends Fl{constructor(t,e,n,i,r,s){super(t,e,n,n,i,r,s),this.isArcCurve=!0,this.type="ArcCurve"}}function Gl(){let t=0,e=0,n=0,i=0;function r(r,s,a,o){t=r,e=a,n=-3*r+3*s-2*a-o,i=2*r-2*s+a+o}return{initCatmullRom:function(t,e,n,i,s){r(e,n,s*(n-t),s*(i-e))},initNonuniformCatmullRom:function(t,e,n,i,s,a,o){let l=(e-t)/s-(n-t)/(s+a)+(n-e)/a,c=(n-e)/a-(i-e)/(a+o)+(i-n)/o;l*=a,c*=a,r(e,n,l,c)},calc:function(r){const s=r*r;return t+e*r+n*s+i*(s*r)}}}const Vl=new gn,Hl=new Gl,Wl=new Gl,jl=new Gl;class ql extends Bl{constructor(t=[],e=!1,n="centripetal",i=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=t,this.closed=e,this.curveType=n,this.tension=i}getPoint(t,e=new gn){const n=e,i=this.points,r=i.length,s=(r-(this.closed?0:1))*t;let a,o,l=Math.floor(s),c=s-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/r)+1)*r:0===c&&l===r-1&&(l=r-2,c=1),this.closed||l>0?a=i[(l-1)%r]:(Vl.subVectors(i[0],i[1]).add(i[0]),a=Vl);const h=i[l%r],u=i[(l+1)%r];if(this.closed||l+2<r?o=i[(l+2)%r]:(Vl.subVectors(i[r-1],i[r-2]).add(i[r-1]),o=Vl),"centripetal"===this.curveType||"chordal"===this.curveType){const t="chordal"===this.curveType?.5:.25;let e=Math.pow(a.distanceToSquared(h),t),n=Math.pow(h.distanceToSquared(u),t),i=Math.pow(u.distanceToSquared(o),t);n<1e-4&&(n=1),e<1e-4&&(e=n),i<1e-4&&(i=n),Hl.initNonuniformCatmullRom(a.x,h.x,u.x,o.x,e,n,i),Wl.initNonuniformCatmullRom(a.y,h.y,u.y,o.y,e,n,i),jl.initNonuniformCatmullRom(a.z,h.z,u.z,o.z,e,n,i)}else"catmullrom"===this.curveType&&(Hl.initCatmullRom(a.x,h.x,u.x,o.x,this.tension),Wl.initCatmullRom(a.y,h.y,u.y,o.y,this.tension),jl.initCatmullRom(a.z,h.z,u.z,o.z,this.tension));return n.set(Hl.calc(c),Wl.calc(c),jl.calc(c)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(new gn().fromArray(n))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}}function Xl(t,e,n,i,r){const s=.5*(i-e),a=.5*(r-n),o=t*t;return(2*n-2*i+s+a)*(t*o)+(-3*n+3*i-2*s-a)*o+s*t+n}function Yl(t,e,n,i){return function(t,e){const n=1-t;return n*n*e}(t,e)+function(t,e){return 2*(1-t)*t*e}(t,n)+function(t,e){return t*t*e}(t,i)}function Zl(t,e,n,i,r){return function(t,e){const n=1-t;return n*n*n*e}(t,e)+function(t,e){const n=1-t;return 3*n*n*t*e}(t,n)+function(t,e){return 3*(1-t)*t*t*e}(t,i)+function(t,e){return t*t*t*e}(t,r)}class Jl extends Bl{constructor(t=new We,e=new We,n=new We,i=new We){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new We){const n=e,i=this.v0,r=this.v1,s=this.v2,a=this.v3;return n.set(Zl(t,i.x,r.x,s.x,a.x),Zl(t,i.y,r.y,s.y,a.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class Kl extends Bl{constructor(t=new gn,e=new gn,n=new gn,i=new gn){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=t,this.v1=e,this.v2=n,this.v3=i}getPoint(t,e=new gn){const n=e,i=this.v0,r=this.v1,s=this.v2,a=this.v3;return n.set(Zl(t,i.x,r.x,s.x,a.x),Zl(t,i.y,r.y,s.y,a.y),Zl(t,i.z,r.z,s.z,a.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class $l extends Bl{constructor(t=new We,e=new We){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=t,this.v2=e}getPoint(t,e=new We){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e=new We){return e.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,e){return this.getTangent(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class Ql extends Bl{constructor(t=new gn,e=new gn){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=t,this.v2=e}getPoint(t,e=new gn){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e=new gn){return e.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,e){return this.getTangent(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class tc extends Bl{constructor(t=new We,e=new We,n=new We){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new We){const n=e,i=this.v0,r=this.v1,s=this.v2;return n.set(Yl(t,i.x,r.x,s.x),Yl(t,i.y,r.y,s.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class ec extends Bl{constructor(t=new gn,e=new gn,n=new gn){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new gn){const n=e,i=this.v0,r=this.v1,s=this.v2;return n.set(Yl(t,i.x,r.x,s.x),Yl(t,i.y,r.y,s.y),Yl(t,i.z,r.z,s.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class nc extends Bl{constructor(t=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=t}getPoint(t,e=new We){const n=e,i=this.points,r=(i.length-1)*t,s=Math.floor(r),a=r-s,o=i[0===s?s:s-1],l=i[s],c=i[s>i.length-2?i.length-1:s+1],h=i[s>i.length-3?i.length-1:s+2];return n.set(Xl(a,o.x,l.x,c.x,h.x),Xl(a,o.y,l.y,c.y,h.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(new We().fromArray(n))}return this}}var ic=Object.freeze({__proto__:null,ArcCurve:kl,CatmullRomCurve3:ql,CubicBezierCurve:Jl,CubicBezierCurve3:Kl,EllipseCurve:Fl,LineCurve:$l,LineCurve3:Ql,QuadraticBezierCurve:tc,QuadraticBezierCurve3:ec,SplineCurve:nc});class rc extends Bl{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(t){this.curves.push(t)}closePath(){const t=this.curves[0].getPoint(0),e=this.curves[this.curves.length-1].getPoint(1);t.equals(e)||this.curves.push(new $l(e,t))}getPoint(t,e){const n=t*this.getLength(),i=this.getCurveLengths();let r=0;for(;r<i.length;){if(i[r]>=n){const t=i[r]-n,s=this.curves[r],a=s.getLength(),o=0===a?0:1-t/a;return s.getPointAt(o,e)}r++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,i=this.curves.length;n<i;n++)e+=this.curves[n].getLength(),t.push(e);return this.cacheLengths=t,t}getSpacedPoints(t=40){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return this.autoClose&&e.push(e[0]),e}getPoints(t=12){const e=[];let n;for(let i=0,r=this.curves;i<r.length;i++){const s=r[i],a=s.isEllipseCurve?2*t:s.isLineCurve||s.isLineCurve3?1:s.isSplineCurve?t*s.points.length:t,o=s.getPoints(a);for(let t=0;t<o.length;t++){const i=o[t];n&&n.equals(i)||(e.push(i),n=i)}}return this.autoClose&&e.length>1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(n.clone())}return this.autoClose=t.autoClose,this}toJSON(){const t=super.toJSON();t.autoClose=this.autoClose,t.curves=[];for(let e=0,n=this.curves.length;e<n;e++){const n=this.curves[e];t.curves.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.autoClose=t.autoClose,this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(new ic[n.type]().fromJSON(n))}return this}}class sc extends rc{constructor(t){super(),this.type="Path",this.currentPoint=new We,t&&this.setFromPoints(t)}setFromPoints(t){this.moveTo(t[0].x,t[0].y);for(let e=1,n=t.length;e<n;e++)this.lineTo(t[e].x,t[e].y);return this}moveTo(t,e){return this.currentPoint.set(t,e),this}lineTo(t,e){const n=new $l(this.currentPoint.clone(),new We(t,e));return this.curves.push(n),this.currentPoint.set(t,e),this}quadraticCurveTo(t,e,n,i){const r=new tc(this.currentPoint.clone(),new We(t,e),new We(n,i));return this.curves.push(r),this.currentPoint.set(n,i),this}bezierCurveTo(t,e,n,i,r,s){const a=new Jl(this.currentPoint.clone(),new We(t,e),new We(n,i),new We(r,s));return this.curves.push(a),this.currentPoint.set(r,s),this}splineThru(t){const e=[this.currentPoint.clone()].concat(t),n=new nc(e);return this.curves.push(n),this.currentPoint.copy(t[t.length-1]),this}arc(t,e,n,i,r,s){const a=this.currentPoint.x,o=this.currentPoint.y;return this.absarc(t+a,e+o,n,i,r,s),this}absarc(t,e,n,i,r,s){return this.absellipse(t,e,n,n,i,r,s),this}ellipse(t,e,n,i,r,s,a,o){const l=this.currentPoint.x,c=this.currentPoint.y;return this.absellipse(t+l,e+c,n,i,r,s,a,o),this}absellipse(t,e,n,i,r,s,a,o){const l=new Fl(t,e,n,i,r,s,a,o);if(this.curves.length>0){const t=l.getPoint(0);t.equals(this.currentPoint)||this.lineTo(t.x,t.y)}this.curves.push(l);const c=l.getPoint(1);return this.currentPoint.copy(c),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class ac extends ir{constructor(t=[new We(0,-.5),new We(.5,0),new We(0,.5)],e=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:t,segments:e,phiStart:n,phiLength:i},e=Math.floor(e),i=Ne(i,0,2*Math.PI);const r=[],s=[],a=[],o=[],l=[],c=1/e,h=new gn,u=new We,d=new gn,p=new gn,m=new gn;let f=0,g=0;for(let e=0;e<=t.length-1;e++)switch(e){case 0:f=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,d.x=1*g,d.y=-f,d.z=0*g,m.copy(d),d.normalize(),o.push(d.x,d.y,d.z);break;case t.length-1:o.push(m.x,m.y,m.z);break;default:f=t[e+1].x-t[e].x,g=t[e+1].y-t[e].y,d.x=1*g,d.y=-f,d.z=0*g,p.copy(d),d.x+=m.x,d.y+=m.y,d.z+=m.z,d.normalize(),o.push(d.x,d.y,d.z),m.copy(p);}for(let r=0;r<=e;r++){const d=n+r*c*i,p=Math.sin(d),m=Math.cos(d);for(let n=0;n<=t.length-1;n++){h.x=t[n].x*p,h.y=t[n].y,h.z=t[n].x*m,s.push(h.x,h.y,h.z),u.x=r/e,u.y=n/(t.length-1),a.push(u.x,u.y);const i=o[3*n+0]*p,c=o[3*n+1],d=o[3*n+0]*m;l.push(i,c,d)}}for(let n=0;n<e;n++)for(let e=0;e<t.length-1;e++){const i=e+n*t.length,s=i,a=i+t.length,o=i+t.length+1,l=i+1;r.push(s,a,l),r.push(o,l,a)}this.setIndex(r),this.setAttribute("position",new Zi(s,3)),this.setAttribute("uv",new Zi(a,2)),this.setAttribute("normal",new Zi(l,3))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new ac(t.points,t.segments,t.phiStart,t.phiLength)}}class oc extends ac{constructor(t=1,e=1,n=4,i=8){const r=new sc;r.absarc(0,-e/2,t,1.5*Math.PI,0),r.absarc(0,e/2,t,0,.5*Math.PI),super(r.getPoints(n),i),this.type="CapsuleGeometry",this.parameters={radius:t,height:e,capSegments:n,radialSegments:i}}static fromJSON(t){return new oc(t.radius,t.length,t.capSegments,t.radialSegments)}}class lc extends ir{constructor(t=1,e=32,n=0,i=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radius:t,segments:e,thetaStart:n,thetaLength:i},e=Math.max(3,e);const r=[],s=[],a=[],o=[],l=new gn,c=new We;s.push(0,0,0),a.push(0,0,1),o.push(.5,.5);for(let r=0,h=3;r<=e;r++,h+=3){const u=n+r/e*i;l.x=t*Math.cos(u),l.y=t*Math.sin(u),s.push(l.x,l.y,l.z),a.push(0,0,1),c.x=(s[h]/t+1)/2,c.y=(s[h+1]/t+1)/2,o.push(c.x,c.y)}for(let t=1;t<=e;t++)r.push(t,t+1,0);this.setIndex(r),this.setAttribute("position",new Zi(s,3)),this.setAttribute("normal",new Zi(a,3)),this.setAttribute("uv",new Zi(o,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new lc(t.radius,t.segments,t.thetaStart,t.thetaLength)}}class cc extends ir{constructor(t=1,e=1,n=1,i=32,r=1,s=!1,a=0,o=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiusTop:t,radiusBottom:e,height:n,radialSegments:i,heightSegments:r,openEnded:s,thetaStart:a,thetaLength:o};const l=this;i=Math.floor(i),r=Math.floor(r);const c=[],h=[],u=[],d=[];let p=0;const m=[],f=n/2;let g=0;function v(n){const r=p,s=new We,m=new gn;let v=0;const _=!0===n?t:e,x=!0===n?1:-1;for(let t=1;t<=i;t++)h.push(0,f*x,0),u.push(0,x,0),d.push(.5,.5),p++;const y=p;for(let t=0;t<=i;t++){const e=t/i*o+a,n=Math.cos(e),r=Math.sin(e);m.x=_*r,m.y=f*x,m.z=_*n,h.push(m.x,m.y,m.z),u.push(0,x,0),s.x=.5*n+.5,s.y=.5*r*x+.5,d.push(s.x,s.y),p++}for(let t=0;t<i;t++){const e=r+t,i=y+t;!0===n?c.push(i,i+1,e):c.push(i+1,i,e),v+=3}l.addGroup(g,v,!0===n?1:2),g+=v}!function(){const s=new gn,v=new gn;let _=0;const x=(e-t)/n;for(let l=0;l<=r;l++){const c=[],g=l/r,_=g*(e-t)+t;for(let t=0;t<=i;t++){const e=t/i,r=e*o+a,l=Math.sin(r),m=Math.cos(r);v.x=_*l,v.y=-g*n+f,v.z=_*m,h.push(v.x,v.y,v.z),s.set(l,x,m).normalize(),u.push(s.x,s.y,s.z),d.push(e,1-g),c.push(p++)}m.push(c)}for(let t=0;t<i;t++)for(let e=0;e<r;e++){const n=m[e][t],i=m[e+1][t],r=m[e+1][t+1],s=m[e][t+1];c.push(n,i,s),c.push(i,r,s),_+=6}l.addGroup(g,_,0),g+=_}(),!1===s&&(t>0&&v(!0),e>0&&v(!1)),this.setIndex(c),this.setAttribute("position",new Zi(h,3)),this.setAttribute("normal",new Zi(u,3)),this.setAttribute("uv",new Zi(d,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new cc(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class hc extends cc{constructor(t=1,e=1,n=32,i=1,r=!1,s=0,a=2*Math.PI){super(0,t,e,n,i,r,s,a),this.type="ConeGeometry",this.parameters={radius:t,height:e,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:s,thetaLength:a}}static fromJSON(t){return new hc(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class uc extends ir{constructor(t=[],e=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:t,indices:e,radius:n,detail:i};const r=[],s=[];function a(t,e,n,i){const r=i+1,s=[];for(let i=0;i<=r;i++){s[i]=[];const a=t.clone().lerp(n,i/r),o=e.clone().lerp(n,i/r),l=r-i;for(let t=0;t<=l;t++)s[i][t]=0===t&&i===r?a:a.clone().lerp(o,t/l)}for(let t=0;t<r;t++)for(let e=0;e<2*(r-t)-1;e++){const n=Math.floor(e/2);e%2==0?(o(s[t][n+1]),o(s[t+1][n]),o(s[t][n])):(o(s[t][n+1]),o(s[t+1][n+1]),o(s[t+1][n]))}}function o(t){r.push(t.x,t.y,t.z)}function l(e,n){const i=3*e;n.x=t[i+0],n.y=t[i+1],n.z=t[i+2]}function c(t,e,n,i){i<0&&1===t.x&&(s[e]=t.x-1),0===n.x&&0===n.z&&(s[e]=i/2/Math.PI+.5)}function h(t){return Math.atan2(t.z,-t.x)}!function(t){const n=new gn,i=new gn,r=new gn;for(let s=0;s<e.length;s+=3)l(e[s+0],n),l(e[s+1],i),l(e[s+2],r),a(n,i,r,t)}(i),function(t){const e=new gn;for(let n=0;n<r.length;n+=3)e.x=r[n+0],e.y=r[n+1],e.z=r[n+2],e.normalize().multiplyScalar(t),r[n+0]=e.x,r[n+1]=e.y,r[n+2]=e.z}(n),function(){const t=new gn;for(let n=0;n<r.length;n+=3){t.x=r[n+0],t.y=r[n+1],t.z=r[n+2];const i=h(t)/2/Math.PI+.5,a=(e=t,Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))/Math.PI+.5);s.push(i,1-a)}var e;(function(){const t=new gn,e=new gn,n=new gn,i=new gn,a=new We,o=new We,l=new We;for(let u=0,d=0;u<r.length;u+=9,d+=6){t.set(r[u+0],r[u+1],r[u+2]),e.set(r[u+3],r[u+4],r[u+5]),n.set(r[u+6],r[u+7],r[u+8]),a.set(s[d+0],s[d+1]),o.set(s[d+2],s[d+3]),l.set(s[d+4],s[d+5]),i.copy(t).add(e).add(n).divideScalar(3);const p=h(i);c(a,d+0,t,p),c(o,d+2,e,p),c(l,d+4,n,p)}})(),function(){for(let t=0;t<s.length;t+=6){const e=s[t+0],n=s[t+2],i=s[t+4],r=Math.max(e,n,i),a=Math.min(e,n,i);r>.9&&a<.1&&(e<.2&&(s[t+0]+=1),n<.2&&(s[t+2]+=1),i<.2&&(s[t+4]+=1))}}()}(),this.setAttribute("position",new Zi(r,3)),this.setAttribute("normal",new Zi(r.slice(),3)),this.setAttribute("uv",new Zi(s,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new uc(t.vertices,t.indices,t.radius,t.details)}}class dc extends uc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],t,e),this.type="DodecahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new dc(t.radius,t.detail)}}const pc=new gn,mc=new gn,fc=new gn,gc=new Li;class vc extends ir{constructor(t=null,e=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:t,thresholdAngle:e},null!==t){const n=4,i=Math.pow(10,n),r=Math.cos(Ie*e),s=t.getIndex(),a=t.getAttribute("position"),o=s?s.count:a.count,l=[0,0,0],c=["a","b","c"],h=new Array(3),u={},d=[];for(let t=0;t<o;t+=3){s?(l[0]=s.getX(t),l[1]=s.getX(t+1),l[2]=s.getX(t+2)):(l[0]=t,l[1]=t+1,l[2]=t+2);const{a:e,b:n,c:o}=gc;if(e.fromBufferAttribute(a,l[0]),n.fromBufferAttribute(a,l[1]),o.fromBufferAttribute(a,l[2]),gc.getNormal(fc),h[0]=`${Math.round(e.x*i)},${Math.round(e.y*i)},${Math.round(e.z*i)}`,h[1]=`${Math.round(n.x*i)},${Math.round(n.y*i)},${Math.round(n.z*i)}`,h[2]=`${Math.round(o.x*i)},${Math.round(o.y*i)},${Math.round(o.z*i)}`,h[0]!==h[1]&&h[1]!==h[2]&&h[2]!==h[0])for(let t=0;t<3;t++){const e=(t+1)%3,n=h[t],i=h[e],s=gc[c[t]],a=gc[c[e]],o=`${n}_${i}`,p=`${i}_${n}`;p in u&&u[p]?(fc.dot(u[p].normal)<=r&&(d.push(s.x,s.y,s.z),d.push(a.x,a.y,a.z)),u[p]=null):o in u||(u[o]={index0:l[t],index1:l[e],normal:fc.clone()})}}for(const t in u)if(u[t]){const{index0:e,index1:n}=u[t];pc.fromBufferAttribute(a,e),mc.fromBufferAttribute(a,n),d.push(pc.x,pc.y,pc.z),d.push(mc.x,mc.y,mc.z)}this.setAttribute("position",new Zi(d,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}}class _c extends sc{constructor(t){super(t),this.uuid=Ue(),this.type="Shape",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,i=this.holes.length;n<i;n++)e[n]=this.holes[n].getPoints(t);return e}extractPoints(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}copy(t){super.copy(t),this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.uuid=this.uuid,t.holes=[];for(let e=0,n=this.holes.length;e<n;e++){const n=this.holes[e];t.holes.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.uuid=t.uuid,this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(new sc().fromJSON(n))}return this}}const xc=function(t,e,n=2){const i=e&&e.length,r=i?e[0]*n:t.length;let s=yc(t,0,r,n,!0);const a=[];if(!s||s.next===s.prev)return a;let o,l,c,h,u,d,p;if(i&&(s=function(t,e,n,i){const r=[];let s,a,o,l,c;for(s=0,a=e.length;s<a;s++)o=e[s]*i,l=s<a-1?e[s+1]*i:t.length,c=yc(t,o,l,i,!1),c===c.next&&(c.steiner=!0),r.push(Rc(c));for(r.sort(Ac),s=0;s<r.length;s++)n=Cc(r[s],n);return n}(t,e,s,n)),t.length>80*n){o=c=t[0],l=h=t[1];for(let e=n;e<r;e+=n)u=t[e],d=t[e+1],u<o&&(o=u),d<l&&(l=d),u>c&&(c=u),d>h&&(h=d);p=Math.max(c-o,h-l),p=0!==p?32767/p:0}return Sc(s,a,n,o,l,p,0),a};function yc(t,e,n,i,r){let s,a;if(r===function(t,e,n,i){let r=0;for(let s=e,a=n-i;s<n;s+=i)r+=(t[a]-t[s])*(t[s+1]+t[a+1]),a=s;return r}(t,e,n,i)>0)for(s=e;s<n;s+=i)a=Gc(s,t[s],t[s+1],a);else for(s=n-i;s>=e;s-=i)a=Gc(s,t[s],t[s+1],a);return a&&Nc(a,a.next)&&(Vc(a),a=a.next),a}function Mc(t,e){if(!t)return t;e||(e=t);let n,i=t;do{if(n=!1,i.steiner||!Nc(i,i.next)&&0!==Uc(i.prev,i,i.next))i=i.next;else{if(Vc(i),i=e=i.prev,i===i.next)break;n=!0}}while(n||i!==e);return e}function Sc(t,e,n,i,r,s,a){if(!t)return;!a&&s&&function(t,e,n,i){let r=t;do{0===r.z&&(r.z=Pc(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){let e,n,i,r,s,a,o,l,c=1;do{for(n=t,t=null,s=null,a=0;n;){for(a++,i=n,o=0,e=0;e<c&&(o++,i=i.nextZ,i);e++);for(l=c;o>0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;n=i}s.nextZ=null,c*=2}while(a>1)}(r)}(t,i,r,s);let o,l,c=t;for(;t.prev!==t.next;)if(o=t.prev,l=t.next,s?wc(t,i,r,s):bc(t))e.push(o.i/n|0),e.push(t.i/n|0),e.push(l.i/n|0),Vc(t),t=l.next,c=l.next;else if((t=l)===c){a?1===a?Sc(t=Tc(Mc(t),e,n),e,n,i,r,s,2):2===a&&Ec(t,e,n,i,r,s):Sc(Mc(t),e,n,i,r,s,1);break}}function bc(t){const e=t.prev,n=t,i=t.next;if(Uc(e,n,i)>=0)return!1;const r=e.x,s=n.x,a=i.x,o=e.y,l=n.y,c=i.y,h=r<s?r<a?r:a:s<a?s:a,u=o<l?o<c?o:c:l<c?l:c,d=r>s?r>a?r:a:s>a?s:a,p=o>l?o>c?o:c:l>c?l:c;let m=i.next;for(;m!==e;){if(m.x>=h&&m.x<=d&&m.y>=u&&m.y<=p&&Ic(r,o,s,l,a,c,m.x,m.y)&&Uc(m.prev,m,m.next)>=0)return!1;m=m.next}return!0}function wc(t,e,n,i){const r=t.prev,s=t,a=t.next;if(Uc(r,s,a)>=0)return!1;const o=r.x,l=s.x,c=a.x,h=r.y,u=s.y,d=a.y,p=o<l?o<c?o:c:l<c?l:c,m=h<u?h<d?h:d:u<d?u:d,f=o>l?o>c?o:c:l>c?l:c,g=h>u?h>d?h:d:u>d?u:d,v=Pc(p,m,e,n,i),_=Pc(f,g,e,n,i);let x=t.prevZ,y=t.nextZ;for(;x&&x.z>=v&&y&&y.z<=_;){if(x.x>=p&&x.x<=f&&x.y>=m&&x.y<=g&&x!==r&&x!==a&&Ic(o,h,l,u,c,d,x.x,x.y)&&Uc(x.prev,x,x.next)>=0)return!1;if(x=x.prevZ,y.x>=p&&y.x<=f&&y.y>=m&&y.y<=g&&y!==r&&y!==a&&Ic(o,h,l,u,c,d,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;x&&x.z>=v;){if(x.x>=p&&x.x<=f&&x.y>=m&&x.y<=g&&x!==r&&x!==a&&Ic(o,h,l,u,c,d,x.x,x.y)&&Uc(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;y&&y.z<=_;){if(y.x>=p&&y.x<=f&&y.y>=m&&y.y<=g&&y!==r&&y!==a&&Ic(o,h,l,u,c,d,y.x,y.y)&&Uc(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function Tc(t,e,n){let i=t;do{const r=i.prev,s=i.next.next;!Nc(r,s)&&Oc(r,i,i.next,s)&&Fc(r,s)&&Fc(s,r)&&(e.push(r.i/n|0),e.push(i.i/n|0),e.push(s.i/n|0),Vc(i),Vc(i.next),i=t=s),i=i.next}while(i!==t);return Mc(i)}function Ec(t,e,n,i,r,s){let a=t;do{let t=a.next.next;for(;t!==a.prev;){if(a.i!==t.i&&Dc(a,t)){let o=kc(a,t);return a=Mc(a,a.next),o=Mc(o,o.next),Sc(a,e,n,i,r,s,0),void Sc(o,e,n,i,r,s,0)}t=t.next}a=a.next}while(a!==t)}function Ac(t,e){return t.x-e.x}function Cc(t,e){const n=function(t,e){let n,i=e,r=-1/0;const s=t.x,a=t.y;do{if(a<=i.y&&a>=i.next.y&&i.next.y!==i.y){const t=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(t<=s&&t>r&&(r=t,n=i.x<i.next.x?i:i.next,t===s))return n}i=i.next}while(i!==e);if(!n)return null;const o=n,l=n.x,c=n.y;let h,u=1/0;i=n;do{s>=i.x&&i.x>=l&&s!==i.x&&Ic(a<c?s:r,a,l,c,a<c?r:s,a,i.x,i.y)&&(h=Math.abs(a-i.y)/(s-i.x),Fc(i,t)&&(h<u||h===u&&(i.x>n.x||i.x===n.x&&Lc(n,i)))&&(n=i,u=h)),i=i.next}while(i!==o);return n}(t,e);if(!n)return e;const i=kc(n,t);return Mc(i,i.next),Mc(n,n.next)}function Lc(t,e){return Uc(t.prev,t,e.prev)<0&&Uc(e.next,t,t.next)<0}function Pc(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-i)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Rc(t){let e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function Ic(t,e,n,i,r,s,a,o){return(r-a)*(e-o)>=(t-a)*(s-o)&&(t-a)*(i-o)>=(n-a)*(e-o)&&(n-a)*(s-o)>=(r-a)*(i-o)}function Dc(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Oc(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(Fc(t,e)&&Fc(e,t)&&function(t,e){let n=t,i=!1;const r=(t.x+e.x)/2,s=(t.y+e.y)/2;do{n.y>s!=n.next.y>s&&n.next.y!==n.y&&r<(n.next.x-n.x)*(s-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)&&(Uc(t.prev,t,e.prev)||Uc(t,e.prev,e))||Nc(t,e)&&Uc(t.prev,t,t.next)>0&&Uc(e.prev,e,e.next)>0)}function Uc(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function Nc(t,e){return t.x===e.x&&t.y===e.y}function Oc(t,e,n,i){const r=Bc(Uc(t,e,n)),s=Bc(Uc(t,e,i)),a=Bc(Uc(n,i,t)),o=Bc(Uc(n,i,e));return r!==s&&a!==o||!(0!==r||!zc(t,n,e))||!(0!==s||!zc(t,i,e))||!(0!==a||!zc(n,t,i))||!(0!==o||!zc(n,e,i))}function zc(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function Bc(t){return t>0?1:t<0?-1:0}function Fc(t,e){return Uc(t.prev,t,t.next)<0?Uc(t,e,t.next)>=0&&Uc(t,t.prev,e)>=0:Uc(t,e,t.prev)<0||Uc(t,t.next,e)<0}function kc(t,e){const n=new Hc(t.i,t.x,t.y),i=new Hc(e.i,e.x,e.y),r=t.next,s=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,s.next=i,i.prev=s,i}function Gc(t,e,n,i){const r=new Hc(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Vc(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Hc(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class Wc{static area(t){const e=t.length;let n=0;for(let i=e-1,r=0;r<e;i=r++)n+=t[i].x*t[r].y-t[r].x*t[i].y;return .5*n}static isClockWise(t){return Wc.area(t)<0}static triangulateShape(t,e){const n=[],i=[],r=[];jc(t),qc(n,t);let s=t.length;e.forEach(jc);for(let t=0;t<e.length;t++)i.push(s),s+=e[t].length,qc(n,e[t]);const a=xc(n,i);for(let t=0;t<a.length;t+=3)r.push(a.slice(t,t+3));return r}}function jc(t){const e=t.length;e>2&&t[e-1].equals(t[0])&&t.pop()}function qc(t,e){for(let n=0;n<e.length;n++)t.push(e[n].x),t.push(e[n].y)}class Xc extends ir{constructor(t=new _c([new We(.5,.5),new We(-.5,.5),new We(-.5,-.5),new We(.5,-.5)]),e={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:t,options:e},t=Array.isArray(t)?t:[t];const n=this,i=[],r=[];for(let e=0,n=t.length;e<n;e++){s(t[e])}function s(t){const s=[],a=void 0!==e.curveSegments?e.curveSegments:12,o=void 0!==e.steps?e.steps:1,l=void 0!==e.depth?e.depth:1;let c=void 0===e.bevelEnabled||e.bevelEnabled,h=void 0!==e.bevelThickness?e.bevelThickness:.2,u=void 0!==e.bevelSize?e.bevelSize:h-.1,d=void 0!==e.bevelOffset?e.bevelOffset:0,p=void 0!==e.bevelSegments?e.bevelSegments:3;const m=e.extrudePath,f=void 0!==e.UVGenerator?e.UVGenerator:Yc;let g,v,_,x,y,M=!1;m&&(g=m.getSpacedPoints(o),M=!0,c=!1,v=m.computeFrenetFrames(o,!1),_=new gn,x=new gn,y=new gn),c||(p=0,h=0,u=0,d=0);const S=t.extractPoints(a);let b=S.shape;const w=S.holes;if(!Wc.isClockWise(b)){b=b.reverse();for(let t=0,e=w.length;t<e;t++){const e=w[t];Wc.isClockWise(e)&&(w[t]=e.reverse())}}const T=Wc.triangulateShape(b,w),E=b;for(let t=0,e=w.length;t<e;t++){const e=w[t];b=b.concat(e)}function A(t,e,n){return e||console.error("THREE.ExtrudeGeometry: vec does not exist"),t.clone().addScaledVector(e,n)}const C=b.length,L=T.length;function P(t,e,n){let i,r,s;const a=t.x-e.x,o=t.y-e.y,l=n.x-t.x,c=n.y-t.y,h=a*a+o*o,u=a*c-o*l;if(Math.abs(u)>Number.EPSILON){const u=Math.sqrt(h),d=Math.sqrt(l*l+c*c),p=e.x-o/u,m=e.y+a/u,f=((n.x-c/d-p)*c-(n.y+l/d-m)*l)/(a*c-o*l);i=p+a*f-t.x,r=m+o*f-t.y;const g=i*i+r*r;if(g<=2)return new We(i,r);s=Math.sqrt(g/2)}else{let t=!1;a>Number.EPSILON?l>Number.EPSILON&&(t=!0):a<-Number.EPSILON?l<-Number.EPSILON&&(t=!0):Math.sign(o)===Math.sign(c)&&(t=!0),t?(i=-o,r=a,s=Math.sqrt(h)):(i=a,r=o,s=Math.sqrt(h/2))}return new We(i/s,r/s)}const R=[];for(let t=0,e=E.length,n=e-1,i=t+1;t<e;t++,n++,i++)n===e&&(n=0),i===e&&(i=0),R[t]=P(E[t],E[n],E[i]);const I=[];let D,U=R.concat();for(let t=0,e=w.length;t<e;t++){const e=w[t];D=[];for(let t=0,n=e.length,i=n-1,r=t+1;t<n;t++,i++,r++)i===n&&(i=0),r===n&&(r=0),D[t]=P(e[t],e[i],e[r]);I.push(D),U=U.concat(D)}for(let t=0;t<p;t++){const e=t/p,n=h*Math.cos(e*Math.PI/2),i=u*Math.sin(e*Math.PI/2)+d;for(let t=0,e=E.length;t<e;t++){const e=A(E[t],R[t],i);z(e.x,e.y,-n)}for(let t=0,e=w.length;t<e;t++){const e=w[t];D=I[t];for(let t=0,r=e.length;t<r;t++){const r=A(e[t],D[t],i);z(r.x,r.y,-n)}}}const N=u+d;for(let t=0;t<C;t++){const e=c?A(b[t],U[t],N):b[t];M?(x.copy(v.normals[0]).multiplyScalar(e.x),_.copy(v.binormals[0]).multiplyScalar(e.y),y.copy(g[0]).add(x).add(_),z(y.x,y.y,y.z)):z(e.x,e.y,0)}for(let t=1;t<=o;t++)for(let e=0;e<C;e++){const n=c?A(b[e],U[e],N):b[e];M?(x.copy(v.normals[t]).multiplyScalar(n.x),_.copy(v.binormals[t]).multiplyScalar(n.y),y.copy(g[t]).add(x).add(_),z(y.x,y.y,y.z)):z(n.x,n.y,l/o*t)}for(let t=p-1;t>=0;t--){const e=t/p,n=h*Math.cos(e*Math.PI/2),i=u*Math.sin(e*Math.PI/2)+d;for(let t=0,e=E.length;t<e;t++){const e=A(E[t],R[t],i);z(e.x,e.y,l+n)}for(let t=0,e=w.length;t<e;t++){const e=w[t];D=I[t];for(let t=0,r=e.length;t<r;t++){const r=A(e[t],D[t],i);M?z(r.x,r.y+g[o-1].y,g[o-1].x+n):z(r.x,r.y,l+n)}}}function O(t,e){let n=t.length;for(;--n>=0;){const i=n;let r=n-1;r<0&&(r=t.length-1);for(let t=0,n=o+2*p;t<n;t++){const n=C*t,s=C*(t+1);F(e+i+n,e+r+n,e+r+s,e+i+s)}}}function z(t,e,n){s.push(t),s.push(e),s.push(n)}function B(t,e,r){k(t),k(e),k(r);const s=i.length/3,a=f.generateTopUV(n,i,s-3,s-2,s-1);G(a[0]),G(a[1]),G(a[2])}function F(t,e,r,s){k(t),k(e),k(s),k(e),k(r),k(s);const a=i.length/3,o=f.generateSideWallUV(n,i,a-6,a-3,a-2,a-1);G(o[0]),G(o[1]),G(o[3]),G(o[1]),G(o[2]),G(o[3])}function k(t){i.push(s[3*t+0]),i.push(s[3*t+1]),i.push(s[3*t+2])}function G(t){r.push(t.x),r.push(t.y)}!function(){const t=i.length/3;if(c){let t=0,e=C*t;for(let t=0;t<L;t++){const n=T[t];B(n[2]+e,n[1]+e,n[0]+e)}t=o+2*p,e=C*t;for(let t=0;t<L;t++){const n=T[t];B(n[0]+e,n[1]+e,n[2]+e)}}else{for(let t=0;t<L;t++){const e=T[t];B(e[2],e[1],e[0])}for(let t=0;t<L;t++){const e=T[t];B(e[0]+C*o,e[1]+C*o,e[2]+C*o)}}n.addGroup(t,i.length/3-t,0)}(),function(){const t=i.length/3;let e=0;O(E,e),e+=E.length;for(let t=0,n=w.length;t<n;t++){const n=w[t];O(n,e),e+=n.length}n.addGroup(t,i.length/3-t,1)}()}this.setAttribute("position",new Zi(i,3)),this.setAttribute("uv",new Zi(r,2)),this.computeVertexNormals()}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return function(t,e,n){if(n.shapes=[],Array.isArray(t))for(let e=0,i=t.length;e<i;e++){const i=t[e];n.shapes.push(i.uuid)}else n.shapes.push(t.uuid);n.options=Object.assign({},e),void 0!==e.extrudePath&&(n.options.extrudePath=e.extrudePath.toJSON());return n}(this.parameters.shapes,this.parameters.options,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}const i=t.options.extrudePath;return void 0!==i&&(t.options.extrudePath=new ic[i.type]().fromJSON(i)),new Xc(n,t.options)}}const Yc={generateTopUV:function(t,e,n,i,r){const s=e[3*n],a=e[3*n+1],o=e[3*i],l=e[3*i+1],c=e[3*r],h=e[3*r+1];return[new We(s,a),new We(o,l),new We(c,h)]},generateSideWallUV:function(t,e,n,i,r,s){const a=e[3*n],o=e[3*n+1],l=e[3*n+2],c=e[3*i],h=e[3*i+1],u=e[3*i+2],d=e[3*r],p=e[3*r+1],m=e[3*r+2],f=e[3*s],g=e[3*s+1],v=e[3*s+2];return Math.abs(o-h)<Math.abs(a-c)?[new We(a,1-l),new We(c,1-u),new We(d,1-m),new We(f,1-v)]:[new We(o,1-l),new We(h,1-u),new We(p,1-m),new We(g,1-v)]}};class Zc extends uc{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],t,e),this.type="IcosahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Zc(t.radius,t.detail)}}class Jc extends uc{constructor(t=1,e=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],t,e),this.type="OctahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Jc(t.radius,t.detail)}}class Kc extends ir{constructor(t=.5,e=1,n=32,i=1,r=0,s=2*Math.PI){super(),this.type="RingGeometry",this.parameters={innerRadius:t,outerRadius:e,thetaSegments:n,phiSegments:i,thetaStart:r,thetaLength:s},n=Math.max(3,n);const a=[],o=[],l=[],c=[];let h=t;const u=(e-t)/(i=Math.max(1,i)),d=new gn,p=new We;for(let t=0;t<=i;t++){for(let t=0;t<=n;t++){const i=r+t/n*s;d.x=h*Math.cos(i),d.y=h*Math.sin(i),o.push(d.x,d.y,d.z),l.push(0,0,1),p.x=(d.x/e+1)/2,p.y=(d.y/e+1)/2,c.push(p.x,p.y)}h+=u}for(let t=0;t<i;t++){const e=t*(n+1);for(let t=0;t<n;t++){const i=t+e,r=i,s=i+n+1,o=i+n+2,l=i+1;a.push(r,s,l),a.push(s,o,l)}}this.setIndex(a),this.setAttribute("position",new Zi(o,3)),this.setAttribute("normal",new Zi(l,3)),this.setAttribute("uv",new Zi(c,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Kc(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}}class $c extends ir{constructor(t=new _c([new We(0,.5),new We(-.5,-.5),new We(.5,-.5)]),e=12){super(),this.type="ShapeGeometry",this.parameters={shapes:t,curveSegments:e};const n=[],i=[],r=[],s=[];let a=0,o=0;if(!1===Array.isArray(t))l(t);else for(let e=0;e<t.length;e++)l(t[e]),this.addGroup(a,o,e),a+=o,o=0;function l(t){const a=i.length/3,l=t.extractPoints(e);let c=l.shape;const h=l.holes;!1===Wc.isClockWise(c)&&(c=c.reverse());for(let t=0,e=h.length;t<e;t++){const e=h[t];!0===Wc.isClockWise(e)&&(h[t]=e.reverse())}const u=Wc.triangulateShape(c,h);for(let t=0,e=h.length;t<e;t++){const e=h[t];c=c.concat(e)}for(let t=0,e=c.length;t<e;t++){const e=c[t];i.push(e.x,e.y,0),r.push(0,0,1),s.push(e.x,e.y)}for(let t=0,e=u.length;t<e;t++){const e=u[t],i=e[0]+a,r=e[1]+a,s=e[2]+a;n.push(i,r,s),o+=3}}this.setIndex(n),this.setAttribute("position",new Zi(i,3)),this.setAttribute("normal",new Zi(r,3)),this.setAttribute("uv",new Zi(s,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return function(t,e){if(e.shapes=[],Array.isArray(t))for(let n=0,i=t.length;n<i;n++){const i=t[n];e.shapes.push(i.uuid)}else e.shapes.push(t.uuid);return e}(this.parameters.shapes,t)}static fromJSON(t,e){const n=[];for(let i=0,r=t.shapes.length;i<r;i++){const r=e[t.shapes[i]];n.push(r)}return new $c(n,t.curveSegments)}}class Qc extends ir{constructor(t=1,e=32,n=16,i=0,r=2*Math.PI,s=0,a=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:t,widthSegments:e,heightSegments:n,phiStart:i,phiLength:r,thetaStart:s,thetaLength:a},e=Math.max(3,Math.floor(e)),n=Math.max(2,Math.floor(n));const o=Math.min(s+a,Math.PI);let l=0;const c=[],h=new gn,u=new gn,d=[],p=[],m=[],f=[];for(let d=0;d<=n;d++){const g=[],v=d/n;let _=0;0===d&&0===s?_=.5/e:d===n&&o===Math.PI&&(_=-.5/e);for(let n=0;n<=e;n++){const o=n/e;h.x=-t*Math.cos(i+o*r)*Math.sin(s+v*a),h.y=t*Math.cos(s+v*a),h.z=t*Math.sin(i+o*r)*Math.sin(s+v*a),p.push(h.x,h.y,h.z),u.copy(h).normalize(),m.push(u.x,u.y,u.z),f.push(o+_,1-v),g.push(l++)}c.push(g)}for(let t=0;t<n;t++)for(let i=0;i<e;i++){const e=c[t][i+1],r=c[t][i],a=c[t+1][i],l=c[t+1][i+1];(0!==t||s>0)&&d.push(e,r,l),(t!==n-1||o<Math.PI)&&d.push(r,a,l)}this.setIndex(d),this.setAttribute("position",new Zi(p,3)),this.setAttribute("normal",new Zi(m,3)),this.setAttribute("uv",new Zi(f,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new Qc(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}}class th extends uc{constructor(t=1,e=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],t,e),this.type="TetrahedronGeometry",this.parameters={radius:t,detail:e}}static fromJSON(t){return new th(t.radius,t.detail)}}class eh extends ir{constructor(t=1,e=.4,n=12,i=48,r=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:t,tube:e,radialSegments:n,tubularSegments:i,arc:r},n=Math.floor(n),i=Math.floor(i);const s=[],a=[],o=[],l=[],c=new gn,h=new gn,u=new gn;for(let s=0;s<=n;s++)for(let d=0;d<=i;d++){const p=d/i*r,m=s/n*Math.PI*2;h.x=(t+e*Math.cos(m))*Math.cos(p),h.y=(t+e*Math.cos(m))*Math.sin(p),h.z=e*Math.sin(m),a.push(h.x,h.y,h.z),c.x=t*Math.cos(p),c.y=t*Math.sin(p),u.subVectors(h,c).normalize(),o.push(u.x,u.y,u.z),l.push(d/i),l.push(s/n)}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*t+e-1,r=(i+1)*(t-1)+e-1,a=(i+1)*(t-1)+e,o=(i+1)*t+e;s.push(n,r,o),s.push(r,a,o)}this.setIndex(s),this.setAttribute("position",new Zi(a,3)),this.setAttribute("normal",new Zi(o,3)),this.setAttribute("uv",new Zi(l,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new eh(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}}class nh extends ir{constructor(t=1,e=.4,n=64,i=8,r=2,s=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:t,tube:e,tubularSegments:n,radialSegments:i,p:r,q:s},n=Math.floor(n),i=Math.floor(i);const a=[],o=[],l=[],c=[],h=new gn,u=new gn,d=new gn,p=new gn,m=new gn,f=new gn,g=new gn;for(let a=0;a<=n;++a){const _=a/n*r*Math.PI*2;v(_,r,s,t,d),v(_+.01,r,s,t,p),f.subVectors(p,d),g.addVectors(p,d),m.crossVectors(f,g),g.crossVectors(m,f),m.normalize(),g.normalize();for(let t=0;t<=i;++t){const r=t/i*Math.PI*2,s=-e*Math.cos(r),p=e*Math.sin(r);h.x=d.x+(s*g.x+p*m.x),h.y=d.y+(s*g.y+p*m.y),h.z=d.z+(s*g.z+p*m.z),o.push(h.x,h.y,h.z),u.subVectors(h,d).normalize(),l.push(u.x,u.y,u.z),c.push(a/n),c.push(t/i)}}for(let t=1;t<=n;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),s=(i+1)*t+e,o=(i+1)*(t-1)+e;a.push(n,r,o),a.push(r,s,o)}function v(t,e,n,i,r){const s=Math.cos(t),a=Math.sin(t),o=n/e*t,l=Math.cos(o);r.x=i*(2+l)*.5*s,r.y=i*(2+l)*a*.5,r.z=i*Math.sin(o)*.5}this.setIndex(a),this.setAttribute("position",new Zi(o,3)),this.setAttribute("normal",new Zi(l,3)),this.setAttribute("uv",new Zi(c,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new nh(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}}class ih extends ir{constructor(t=new ec(new gn(-1,-1,0),new gn(-1,1,0),new gn(1,1,0)),e=64,n=1,i=8,r=!1){super(),this.type="TubeGeometry",this.parameters={path:t,tubularSegments:e,radius:n,radialSegments:i,closed:r};const s=t.computeFrenetFrames(e,r);this.tangents=s.tangents,this.normals=s.normals,this.binormals=s.binormals;const a=new gn,o=new gn,l=new We;let c=new gn;const h=[],u=[],d=[],p=[];function m(r){c=t.getPointAt(r/e,c);const l=s.normals[r],d=s.binormals[r];for(let t=0;t<=i;t++){const e=t/i*Math.PI*2,r=Math.sin(e),s=-Math.cos(e);o.x=s*l.x+r*d.x,o.y=s*l.y+r*d.y,o.z=s*l.z+r*d.z,o.normalize(),u.push(o.x,o.y,o.z),a.x=c.x+n*o.x,a.y=c.y+n*o.y,a.z=c.z+n*o.z,h.push(a.x,a.y,a.z)}}!function(){for(let t=0;t<e;t++)m(t);m(!1===r?e:0),function(){for(let t=0;t<=e;t++)for(let n=0;n<=i;n++)l.x=t/e,l.y=n/i,d.push(l.x,l.y)}(),function(){for(let t=1;t<=e;t++)for(let e=1;e<=i;e++){const n=(i+1)*(t-1)+(e-1),r=(i+1)*t+(e-1),s=(i+1)*t+e,a=(i+1)*(t-1)+e;p.push(n,r,a),p.push(r,s,a)}}()}(),this.setIndex(p),this.setAttribute("position",new Zi(h,3)),this.setAttribute("normal",new Zi(u,3)),this.setAttribute("uv",new Zi(d,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){const t=super.toJSON();return t.path=this.parameters.path.toJSON(),t}static fromJSON(t){return new ih(new ic[t.path.type]().fromJSON(t.path),t.tubularSegments,t.radius,t.radialSegments,t.closed)}}class rh extends ir{constructor(t=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:t},null!==t){const e=[],n=new Set,i=new gn,r=new gn;if(null!==t.index){const s=t.attributes.position,a=t.index;let o=t.groups;0===o.length&&(o=[{start:0,count:a.count,materialIndex:0}]);for(let t=0,l=o.length;t<l;++t){const l=o[t],c=l.start;for(let t=c,o=c+l.count;t<o;t+=3)for(let o=0;o<3;o++){const l=a.getX(t+o),c=a.getX(t+(o+1)%3);i.fromBufferAttribute(s,l),r.fromBufferAttribute(s,c),!0===sh(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}}else{const s=t.attributes.position;for(let t=0,a=s.count/3;t<a;t++)for(let a=0;a<3;a++){const o=3*t+a,l=3*t+(a+1)%3;i.fromBufferAttribute(s,o),r.fromBufferAttribute(s,l),!0===sh(i,r,n)&&(e.push(i.x,i.y,i.z),e.push(r.x,r.y,r.z))}}this.setAttribute("position",new Zi(e,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}}function sh(t,e,n){const i=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`,r=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`;return!0!==n.has(i)&&!0!==n.has(r)&&(n.add(i),n.add(r),!0)}var ah=Object.freeze({__proto__:null,BoxGeometry:br,CapsuleGeometry:oc,CircleGeometry:lc,ConeGeometry:hc,CylinderGeometry:cc,DodecahedronGeometry:dc,EdgesGeometry:vc,ExtrudeGeometry:Xc,IcosahedronGeometry:Zc,LatheGeometry:ac,OctahedronGeometry:Jc,PlaneGeometry:Wr,PolyhedronGeometry:uc,RingGeometry:Kc,ShapeGeometry:$c,SphereGeometry:Qc,TetrahedronGeometry:th,TorusGeometry:eh,TorusKnotGeometry:nh,TubeGeometry:ih,WireframeGeometry:rh});class oh extends Ri{constructor(t){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new Oi(0),this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.fog=t.fog,this}}class lh extends Cr{constructor(t){super(t),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}}class ch extends Ri{constructor(t){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new Oi(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={STANDARD:""},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapIntensity=t.envMapIntensity,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class hh extends ch{constructor(t){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new We(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return Ne(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new Oi(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new Oi(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new Oi(1,1,1),this.specularColorMap=null,this._sheen=0,this._clearcoat=0,this._iridescence=0,this._transmission=0,this.setValues(t)}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class uh extends Ri{constructor(t){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new Oi(16777215),this.specular=new Oi(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class dh extends Ri{constructor(t){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Oi(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}class ph extends Ri{constructor(t){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(t)}copy(t){return super.copy(t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this}}class mh extends Ri{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Oi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=G,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class fh extends Ri{constructor(t){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new Oi(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=ye,this.normalScale=new We(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={MATCAP:""},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.flatShading=t.flatShading,this.fog=t.fog,this}}class gh extends xl{constructor(t){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(t)}copy(t){return super.copy(t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}}function vh(t,e,n){return xh(t)?new t.constructor(t.subarray(e,void 0!==n?n:t.length)):t.slice(e,n)}function _h(t,e,n){return!t||!n&&t.constructor===e?t:"number"==typeof e.BYTES_PER_ELEMENT?new e(t):Array.prototype.slice.call(t)}function xh(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function yh(t){const e=t.length,n=new Array(e);for(let t=0;t!==e;++t)n[t]=t;return n.sort(function(e,n){return t[e]-t[n]}),n}function Mh(t,e,n){const i=t.length,r=new t.constructor(i);for(let s=0,a=0;a!==i;++s){const i=n[s]*e;for(let n=0;n!==e;++n)r[a++]=t[i+n]}return r}function Sh(t,e,n,i){let r=1,s=t[0];for(;void 0!==s&&void 0===s[i];)s=t[r++];if(void 0===s)return;let a=s[i];if(void 0!==a)if(Array.isArray(a))do{a=s[i],void 0!==a&&(e.push(s.time),n.push.apply(n,a)),s=t[r++]}while(void 0!==s);else if(void 0!==a.toArray)do{a=s[i],void 0!==a&&(e.push(s.time),a.toArray(n,n.length)),s=t[r++]}while(void 0!==s);else do{a=s[i],void 0!==a&&(e.push(s.time),n.push(a)),s=t[r++]}while(void 0!==s)}const bh={arraySlice:vh,convertArray:_h,isTypedArray:xh,getKeyframeOrder:yh,sortedArray:Mh,flattenJSON:Sh,subclip:function(t,e,n,i,r=30){const s=t.clone();s.name=e;const a=[];for(let t=0;t<s.tracks.length;++t){const e=s.tracks[t],o=e.getValueSize(),l=[],c=[];for(let t=0;t<e.times.length;++t){const s=e.times[t]*r;if(!(s<n||s>=i)){l.push(e.times[t]);for(let n=0;n<o;++n)c.push(e.values[t*o+n])}}0!==l.length&&(e.times=_h(l,e.times.constructor),e.values=_h(c,e.values.constructor),a.push(e))}s.tracks=a;let o=1/0;for(let t=0;t<s.tracks.length;++t)o>s.tracks[t].times[0]&&(o=s.tracks[t].times[0]);for(let t=0;t<s.tracks.length;++t)s.tracks[t].shift(-1*o);return s.resetDuration(),s},makeClipAdditive:function(t,e=0,n=t,i=30){i<=0&&(i=30);const r=n.tracks.length,s=e/i;for(let e=0;e<r;++e){const i=n.tracks[e],r=i.ValueTypeName;if("bool"===r||"string"===r)continue;const a=t.tracks.find(function(t){return t.name===i.name&&t.ValueTypeName===r});if(void 0===a)continue;let o=0;const l=i.getValueSize();i.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(o=l/3);let c=0;const h=a.getValueSize();a.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(c=h/3);const u=i.times.length-1;let d;if(s<=i.times[0]){const t=o,e=l-o;d=vh(i.values,t,e)}else if(s>=i.times[u]){const t=u*l+o,e=t+l-o;d=vh(i.values,t,e)}else{const t=i.createInterpolant(),e=o,n=l-o;t.evaluate(s),d=vh(t.resultBuffer,e,n)}if("quaternion"===r){new fn().fromArray(d).normalize().conjugate().toArray(d)}const p=a.times.length;for(let t=0;t<p;++t){const e=t*h+c;if("quaternion"===r)fn.multiplyQuaternionsFlat(a.values,e,d,0,a.values,e);else{const t=h-2*c;for(let n=0;n<t;++n)a.values[e+n]-=d[n]}}}return t.blendMode=ge,t}};class wh{constructor(t,e,n,i){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==i?i:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,i=e[n],r=e[n-1];t:{e:{let s;n:{i:if(!(t<i)){for(let s=n+2;;){if(void 0===i){if(t<r)break i;return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===s)break;if(r=i,i=e[++n],t<i)break e}s=e.length;break n}if(t>=r)break t;{const a=e[1];t<a&&(n=2,r=a);for(let s=n-2;;){if(void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(n===s)break;if(i=r,r=e[--n-1],t>=r)break e}s=n,n=0}}for(;n<s;){const i=n+s>>>1;t<e[i]?s=i:n=i+1}if(i=e[n],r=e[n-1],void 0===r)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===i)return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,r,i)}return this.interpolate_(n,r,t,i)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){const e=this.resultBuffer,n=this.sampleValues,i=this.valueSize,r=t*i;for(let t=0;t!==i;++t)e[t]=n[r+t];return e}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Th extends wh{constructor(t,e,n,i){super(t,e,n,i),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:de,endingEnd:de}}intervalChanged_(t,e,n){const i=this.parameterPositions;let r=t-2,s=t+1,a=i[r],o=i[s];if(void 0===a)switch(this.getSettings_().endingStart){case pe:r=t,a=2*e-n;break;case me:r=i.length-2,a=e+i[r]-i[r+1];break;default:r=t,a=n;}if(void 0===o)switch(this.getSettings_().endingEnd){case pe:s=t,o=2*n-e;break;case me:s=1,o=n+i[1]-i[0];break;default:s=t-1,o=e;}const l=.5*(n-e),c=this.valueSize;this._weightPrev=l/(e-a),this._weightNext=l/(o-n),this._offsetPrev=r*c,this._offsetNext=s*c}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=t*a,l=o-a,c=this._offsetPrev,h=this._offsetNext,u=this._weightPrev,d=this._weightNext,p=(n-e)/(i-e),m=p*p,f=m*p,g=-u*f+2*u*m-u*p,v=(1+u)*f+(-1.5-2*u)*m+(-.5+u)*p+1,_=(-1-d)*f+(1.5+d)*m+.5*p,x=d*f-d*m;for(let t=0;t!==a;++t)r[t]=g*s[c+t]+v*s[l+t]+_*s[o+t]+x*s[h+t];return r}}class Eh extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=t*a,l=o-a,c=(n-e)/(i-e),h=1-c;for(let t=0;t!==a;++t)r[t]=s[l+t]*h+s[o+t]*c;return r}}class Ah extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t){return this.copySampleValue_(t-1)}}class Ch{constructor(t,e,n,i){if(void 0===t)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===e||0===e.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+t);this.name=t,this.times=_h(e,this.TimeBufferType),this.values=_h(n,this.ValueBufferType),this.setInterpolation(i||this.DefaultInterpolation)}static toJSON(t){const e=t.constructor;let n;if(e.toJSON!==this.toJSON)n=e.toJSON(t);else{n={name:t.name,times:_h(t.times,Array),values:_h(t.values,Array)};const e=t.getInterpolation();e!==t.DefaultInterpolation&&(n.interpolation=e)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new Ah(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new Eh(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new Th(this.times,this.values,this.getValueSize(),t)}setInterpolation(t){let e;switch(t){case ce:e=this.InterpolantFactoryMethodDiscrete;break;case he:e=this.InterpolantFactoryMethodLinear;break;case ue:e=this.InterpolantFactoryMethodSmooth;}if(void 0===e){const e="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(t===this.DefaultInterpolation)throw new Error(e);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",e),this}return this.createInterpolant=e,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return ce;case this.InterpolantFactoryMethodLinear:return he;case this.InterpolantFactoryMethodSmooth:return ue;}}getValueSize(){return this.values.length/this.times.length}shift(t){if(0!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]+=t}return this}scale(t){if(1!==t){const e=this.times;for(let n=0,i=e.length;n!==i;++n)e[n]*=t}return this}trim(t,e){const n=this.times,i=n.length;let r=0,s=i-1;for(;r!==i&&n[r]<t;)++r;for(;-1!==s&&n[s]>e;)--s;if(++s,0!==r||s!==i){r>=s&&(s=Math.max(s,1),r=s-1);const t=this.getValueSize();this.times=vh(n,r,s),this.values=vh(this.values,r*t,s*t)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),t=!1);const n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),t=!1);let s=null;for(let e=0;e!==r;e++){const i=n[e];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,e,i),t=!1;break}if(null!==s&&s>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,e,i,s),t=!1;break}s=i}if(void 0!==i&&xh(i))for(let e=0,n=i.length;e!==n;++e){const n=i[e];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,e,n),t=!1;break}}return t}optimize(){const t=vh(this.times),e=vh(this.values),n=this.getValueSize(),i=this.getInterpolation()===ue,r=t.length-1;let s=1;for(let a=1;a<r;++a){let r=!1;const o=t[a];if(o!==t[a+1]&&(1!==a||o!==t[0]))if(i)r=!0;else{const t=a*n,i=t-n,s=t+n;for(let a=0;a!==n;++a){const n=e[t+a];if(n!==e[i+a]||n!==e[s+a]){r=!0;break}}}if(r){if(a!==s){t[s]=t[a];const i=a*n,r=s*n;for(let t=0;t!==n;++t)e[r+t]=e[i+t]}++s}}if(r>0){t[s]=t[r];for(let t=r*n,i=s*n,a=0;a!==n;++a)e[i+a]=e[t+a];++s}return s!==t.length?(this.times=vh(t,0,s),this.values=vh(e,0,s*n)):(this.times=t,this.values=e),this}clone(){const t=vh(this.times,0),e=vh(this.values,0),n=new(0,this.constructor)(this.name,t,e);return n.createInterpolant=this.createInterpolant,n}}Ch.prototype.TimeBufferType=Float32Array,Ch.prototype.ValueBufferType=Float32Array,Ch.prototype.DefaultInterpolation=he;class Lh extends Ch{}Lh.prototype.ValueTypeName="bool",Lh.prototype.ValueBufferType=Array,Lh.prototype.DefaultInterpolation=ce,Lh.prototype.InterpolantFactoryMethodLinear=void 0,Lh.prototype.InterpolantFactoryMethodSmooth=void 0;class Ph extends Ch{}Ph.prototype.ValueTypeName="color";class Rh extends Ch{}Rh.prototype.ValueTypeName="number";class Ih extends wh{constructor(t,e,n,i){super(t,e,n,i)}interpolate_(t,e,n,i){const r=this.resultBuffer,s=this.sampleValues,a=this.valueSize,o=(n-e)/(i-e);let l=t*a;for(let t=l+a;l!==t;l+=4)fn.slerpFlat(r,0,s,l-a,s,l,o);return r}}class Dh extends Ch{InterpolantFactoryMethodLinear(t){return new Ih(this.times,this.values,this.getValueSize(),t)}}Dh.prototype.ValueTypeName="quaternion",Dh.prototype.DefaultInterpolation=he,Dh.prototype.InterpolantFactoryMethodSmooth=void 0;class Uh extends Ch{}Uh.prototype.ValueTypeName="string",Uh.prototype.ValueBufferType=Array,Uh.prototype.DefaultInterpolation=ce,Uh.prototype.InterpolantFactoryMethodLinear=void 0,Uh.prototype.InterpolantFactoryMethodSmooth=void 0;class Nh extends Ch{}Nh.prototype.ValueTypeName="vector";class Oh{constructor(t,e=-1,n,i=2500){this.name=t,this.tracks=n,this.duration=e,this.blendMode=i,this.uuid=Ue(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,i=1/(t.fps||1);for(let t=0,r=n.length;t!==r;++t)e.push(zh(n[t]).scale(i));const r=new this(t.name,t.duration,e,t.blendMode);return r.uuid=t.uuid,r}static toJSON(t){const e=[],n=t.tracks,i={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let t=0,i=n.length;t!==i;++t)e.push(Ch.toJSON(n[t]));return i}static CreateFromMorphTargetSequence(t,e,n,i){const r=e.length,s=[];for(let t=0;t<r;t++){let a=[],o=[];a.push((t+r-1)%r,t,(t+1)%r),o.push(0,1,0);const l=yh(a);a=Mh(a,1,l),o=Mh(o,1,l),i||0!==a[0]||(a.push(r),o.push(o[0])),s.push(new Rh(".morphTargetInfluences["+e[t].name+"]",a,o).scale(1/n))}return new this(t,-1,s)}static findByName(t,e){let n=t;if(!Array.isArray(t)){const e=t;n=e.geometry&&e.geometry.animations||e.animations}for(let t=0;t<n.length;t++)if(n[t].name===e)return n[t];return null}static CreateClipsFromMorphTargetSequences(t,e,n){const i={},r=/^([\w-]*?)([\d]+)$/;for(let e=0,n=t.length;e<n;e++){const n=t[e],s=n.name.match(r);if(s&&s.length>1){const t=s[1];let e=i[t];e||(i[t]=e=[]),e.push(n)}}const s=[];for(const t in i)s.push(this.CreateFromMorphTargetSequence(t,i[t],e,n));return s}static parseAnimation(t,e){if(!t)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(t,e,n,i,r){if(0!==n.length){const s=[],a=[];Sh(n,s,a,i),0!==s.length&&r.push(new t(e,s,a))}},i=[],r=t.name||"default",s=t.fps||30,a=t.blendMode;let o=t.length||-1;const l=t.hierarchy||[];for(let t=0;t<l.length;t++){const r=l[t].keys;if(r&&0!==r.length)if(r[0].morphTargets){const t={};let e;for(e=0;e<r.length;e++)if(r[e].morphTargets)for(let n=0;n<r[e].morphTargets.length;n++)t[r[e].morphTargets[n]]=-1;for(const n in t){const t=[],s=[];for(let i=0;i!==r[e].morphTargets.length;++i){const i=r[e];t.push(i.time),s.push(i.morphTarget===n?1:0)}i.push(new Rh(".morphTargetInfluence["+n+"]",t,s))}o=t.length*s}else{const s=".bones["+e[t].name+"]";n(Nh,s+".position",r,"pos",i),n(Dh,s+".quaternion",r,"rot",i),n(Nh,s+".scale",r,"scl",i)}}if(0===i.length)return null;return new this(r,o,i,a)}resetDuration(){let t=0;for(let e=0,n=this.tracks.length;e!==n;++e){const n=this.tracks[e];t=Math.max(t,n.times[n.times.length-1])}return this.duration=t,this}trim(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].trim(0,this.duration);return this}validate(){let t=!0;for(let e=0;e<this.tracks.length;e++)t=t&&this.tracks[e].validate();return t}optimize(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].optimize();return this}clone(){const t=[];for(let e=0;e<this.tracks.length;e++)t.push(this.tracks[e].clone());return new this.constructor(this.name,this.duration,t,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function zh(t){if(void 0===t.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const e=function(t){switch(t.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Rh;case"vector":case"vector2":case"vector3":case"vector4":return Nh;case"color":return Ph;case"quaternion":return Dh;case"bool":case"boolean":return Lh;case"string":return Uh;}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+t)}(t.type);if(void 0===t.times){const e=[],n=[];Sh(t.keys,e,n,"value"),t.times=e,t.values=n}return void 0!==e.parse?e.parse(t):new e(t.name,t.times,t.values,t.interpolation)}const Bh={enabled:!1,files:{},add:function(t,e){!1!==this.enabled&&(this.files[t]=e)},get:function(t){if(!1!==this.enabled)return this.files[t]},remove:function(t){delete this.files[t]},clear:function(){this.files={}}};class Fh{constructor(t,e,n){const i=this;let r,s=!1,a=0,o=0;const l=[];this.onStart=void 0,this.onLoad=t,this.onProgress=e,this.onError=n,this.itemStart=function(t){o++,!1===s&&void 0!==i.onStart&&i.onStart(t,a,o),s=!0},this.itemEnd=function(t){a++,void 0!==i.onProgress&&i.onProgress(t,a,o),a===o&&(s=!1,void 0!==i.onLoad&&i.onLoad())},this.itemError=function(t){void 0!==i.onError&&i.onError(t)},this.resolveURL=function(t){return r?r(t):t},this.setURLModifier=function(t){return r=t,this},this.addHandler=function(t,e){return l.push(t,e),this},this.removeHandler=function(t){const e=l.indexOf(t);return-1!==e&&l.splice(e,2),this},this.getHandler=function(t){for(let e=0,n=l.length;e<n;e+=2){const n=l[e],i=l[e+1];if(n.global&&(n.lastIndex=0),n.test(t))return i}return null}}}const kh=new Fh;class Gh{constructor(t){this.manager=void 0!==t?t:kh,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(t,e){const n=this;return new Promise(function(i,r){n.load(t,i,e,r)})}parse(){}setCrossOrigin(t){return this.crossOrigin=t,this}setWithCredentials(t){return this.withCredentials=t,this}setPath(t){return this.path=t,this}setResourcePath(t){return this.resourcePath=t,this}setRequestHeader(t){return this.requestHeader=t,this}}const Vh={};class Hh extends Error{constructor(t,e){super(t),this.response=e}}class Wh extends Gh{constructor(t){super(t)}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=Bh.get(t);if(void 0!==r)return this.manager.itemStart(t),setTimeout(()=>{e&&e(r),this.manager.itemEnd(t)},0),r;if(void 0!==Vh[t])return void Vh[t].push({onLoad:e,onProgress:n,onError:i});Vh[t]=[],Vh[t].push({onLoad:e,onProgress:n,onError:i});const s=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,o=this.responseType;fetch(s).then(e=>{if(200===e.status||0===e.status){if(0===e.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===e.body||void 0===e.body.getReader)return e;const n=Vh[t],i=e.body.getReader(),r=e.headers.get("Content-Length")||e.headers.get("X-File-Size"),s=r?parseInt(r):0,a=0!==s;let o=0;const l=new ReadableStream({start(t){!function e(){i.read().then(({done:i,value:r})=>{if(i)t.close();else{o+=r.byteLength;const i=new ProgressEvent("progress",{lengthComputable:a,loaded:o,total:s});for(let t=0,e=n.length;t<e;t++){const e=n[t];e.onProgress&&e.onProgress(i)}t.enqueue(r),e()}})}()}});return new Response(l)}throw new Hh(`fetch for "${e.url}" responded with ${e.status}: ${e.statusText}`,e)}).then(t=>{switch(o){case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();case"document":return t.text().then(t=>new DOMParser().parseFromString(t,a));case"json":return t.json();default:if(void 0===a)return t.text();{const e=/charset="?([^;"\s]*)"?/i.exec(a),n=e&&e[1]?e[1].toLowerCase():void 0,i=new TextDecoder(n);return t.arrayBuffer().then(t=>i.decode(t))}}}).then(e=>{Bh.add(t,e);const n=Vh[t];delete Vh[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onLoad&&i.onLoad(e)}}).catch(e=>{const n=Vh[t];if(void 0===n)throw this.manager.itemError(t),e;delete Vh[t];for(let t=0,i=n.length;t<i;t++){const i=n[t];i.onError&&i.onError(e)}this.manager.itemError(t)}).finally(()=>{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class jh extends Gh{constructor(t){super(t)}load(t,e,n,i){void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,s=Bh.get(t);if(void 0!==s)return r.manager.itemStart(t),setTimeout(function(){e&&e(s),r.manager.itemEnd(t)},0),s;const a=Je("img");function o(){c(),Bh.add(t,this),e&&e(this),r.manager.itemEnd(t)}function l(e){c(),i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)}function c(){a.removeEventListener("load",o,!1),a.removeEventListener("error",l,!1)}return a.addEventListener("load",o,!1),a.addEventListener("error",l,!1),"data:"!==t.slice(0,5)&&void 0!==this.crossOrigin&&(a.crossOrigin=this.crossOrigin),r.manager.itemStart(t),a.src=t,a}}class qh extends vi{constructor(t,e=1){super(),this.isLight=!0,this.type="Light",this.color=new Oi(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,void 0!==this.groundColor&&(e.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(e.object.distance=this.distance),void 0!==this.angle&&(e.object.angle=this.angle),void 0!==this.decay&&(e.object.decay=this.decay),void 0!==this.penumbra&&(e.object.penumbra=this.penumbra),void 0!==this.shadow&&(e.object.shadow=this.shadow.toJSON()),e}}class Xh extends qh{constructor(t,e,n){super(t,n),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.groundColor=new Oi(e)}copy(t,e){return super.copy(t,e),this.groundColor.copy(t.groundColor),this}}const Yh=new qn,Zh=new gn,Jh=new gn;class Kh{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new We(512,512),this.map=null,this.mapPass=null,this.matrix=new qn,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Gr,this._frameExtents=new We(1,1),this._viewportCount=1,this._viewports=[new un(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;Zh.setFromMatrixPosition(t.matrixWorld),e.position.copy(Zh),Jh.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(Jh),e.updateMatrixWorld(),Yh.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Yh),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(Yh)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const t={};return 0!==this.bias&&(t.bias=this.bias),0!==this.normalBias&&(t.normalBias=this.normalBias),1!==this.radius&&(t.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class $h extends Kh{constructor(){super(new Pr(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=2*De*t.angle*this.focus,i=this.mapSize.width/this.mapSize.height,r=t.distance||e.far;n===e.fov&&i===e.aspect&&r===e.far||(e.fov=n,e.aspect=i,e.far=r,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class Qh extends qh{constructor(t,e,n=0,i=Math.PI/3,r=0,s=2){super(t,e),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.target=new vi,this.distance=n,this.angle=i,this.penumbra=r,this.decay=s,this.map=null,this.shadow=new $h}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}const tu=new qn,eu=new gn,nu=new gn;class iu extends Kh{constructor(){super(new Pr(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new We(4,2),this._viewportCount=6,this._viewports=[new un(2,1,1,1),new un(0,1,1,1),new un(3,1,1,1),new un(1,1,1,1),new un(3,0,1,1),new un(1,0,1,1)],this._cubeDirections=[new gn(1,0,0),new gn(-1,0,0),new gn(0,0,1),new gn(0,0,-1),new gn(0,1,0),new gn(0,-1,0)],this._cubeUps=[new gn(0,1,0),new gn(0,1,0),new gn(0,1,0),new gn(0,1,0),new gn(0,0,1),new gn(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,i=this.matrix,r=t.distance||n.far;r!==n.far&&(n.far=r,n.updateProjectionMatrix()),eu.setFromMatrixPosition(t.matrixWorld),n.position.copy(eu),nu.copy(n.position),nu.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(nu),n.updateMatrixWorld(),i.makeTranslation(-eu.x,-eu.y,-eu.z),tu.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(tu)}}class ru extends qh{constructor(t,e,n=0,i=2){super(t,e),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=i,this.shadow=new iu}get power(){return 4*this.intensity*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class su extends Kh{constructor(){super(new es(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class au extends qh{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(vi.DEFAULT_UP),this.updateMatrix(),this.target=new vi,this.shadow=new su}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class ou extends qh{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type="AmbientLight"}}class lu extends qh{constructor(t,e,n=10,i=10){super(t,e),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=n,this.height=i}get power(){return this.intensity*this.width*this.height*Math.PI}set power(t){this.intensity=t/(this.width*this.height*Math.PI)}copy(t){return super.copy(t),this.width=t.width,this.height=t.height,this}toJSON(t){const e=super.toJSON(t);return e.object.width=this.width,e.object.height=this.height,e}}class cu{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let t=0;t<9;t++)this.coefficients.push(new gn)}set(t){for(let e=0;e<9;e++)this.coefficients[e].copy(t[e]);return this}zero(){for(let t=0;t<9;t++)this.coefficients[t].set(0,0,0);return this}getAt(t,e){const n=t.x,i=t.y,r=t.z,s=this.coefficients;return e.copy(s[0]).multiplyScalar(.282095),e.addScaledVector(s[1],.488603*i),e.addScaledVector(s[2],.488603*r),e.addScaledVector(s[3],.488603*n),e.addScaledVector(s[4],n*i*1.092548),e.addScaledVector(s[5],i*r*1.092548),e.addScaledVector(s[6],.315392*(3*r*r-1)),e.addScaledVector(s[7],n*r*1.092548),e.addScaledVector(s[8],.546274*(n*n-i*i)),e}getIrradianceAt(t,e){const n=t.x,i=t.y,r=t.z,s=this.coefficients;return e.copy(s[0]).multiplyScalar(.886227),e.addScaledVector(s[1],1.023328*i),e.addScaledVector(s[2],1.023328*r),e.addScaledVector(s[3],1.023328*n),e.addScaledVector(s[4],.858086*n*i),e.addScaledVector(s[5],.858086*i*r),e.addScaledVector(s[6],.743125*r*r-.247708),e.addScaledVector(s[7],.858086*n*r),e.addScaledVector(s[8],.429043*(n*n-i*i)),e}add(t){for(let e=0;e<9;e++)this.coefficients[e].add(t.coefficients[e]);return this}addScaledSH(t,e){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(t.coefficients[n],e);return this}scale(t){for(let e=0;e<9;e++)this.coefficients[e].multiplyScalar(t);return this}lerp(t,e){for(let n=0;n<9;n++)this.coefficients[n].lerp(t.coefficients[n],e);return this}equals(t){for(let e=0;e<9;e++)if(!this.coefficients[e].equals(t.coefficients[e]))return!1;return!0}copy(t){return this.set(t.coefficients)}clone(){return new this.constructor().copy(this)}fromArray(t,e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].fromArray(t,e+3*i);return this}toArray(t=[],e=0){const n=this.coefficients;for(let i=0;i<9;i++)n[i].toArray(t,e+3*i);return t}static getBasisAt(t,e){const n=t.x,i=t.y,r=t.z;e[0]=.282095,e[1]=.488603*i,e[2]=.488603*r,e[3]=.488603*n,e[4]=1.092548*n*i,e[5]=1.092548*i*r,e[6]=.315392*(3*r*r-1),e[7]=1.092548*n*r,e[8]=.546274*(n*n-i*i)}}class hu extends qh{constructor(t=new cu,e=1){super(void 0,e),this.isLightProbe=!0,this.sh=t}copy(t){return super.copy(t),this.sh.copy(t.sh),this}fromJSON(t){return this.intensity=t.intensity,this.sh.fromArray(t.sh),this}toJSON(t){const e=super.toJSON(t);return e.object.sh=this.sh.toArray(),e}}class uu extends Gh{constructor(t){super(t),this.textures={}}load(t,e,n,i){const r=this,s=new Wh(r.manager);s.setPath(r.path),s.setRequestHeader(r.requestHeader),s.setWithCredentials(r.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e=this.textures;function n(t){return void 0===e[t]&&console.warn("THREE.MaterialLoader: Undefined texture",t),e[t]}const i=uu.createMaterialFromType(t.type);if(void 0!==t.uuid&&(i.uuid=t.uuid),void 0!==t.name&&(i.name=t.name),void 0!==t.color&&void 0!==i.color&&i.color.setHex(t.color),void 0!==t.roughness&&(i.roughness=t.roughness),void 0!==t.metalness&&(i.metalness=t.metalness),void 0!==t.sheen&&(i.sheen=t.sheen),void 0!==t.sheenColor&&(i.sheenColor=new Oi().setHex(t.sheenColor)),void 0!==t.sheenRoughness&&(i.sheenRoughness=t.sheenRoughness),void 0!==t.emissive&&void 0!==i.emissive&&i.emissive.setHex(t.emissive),void 0!==t.specular&&void 0!==i.specular&&i.specular.setHex(t.specular),void 0!==t.specularIntensity&&(i.specularIntensity=t.specularIntensity),void 0!==t.specularColor&&void 0!==i.specularColor&&i.specularColor.setHex(t.specularColor),void 0!==t.shininess&&(i.shininess=t.shininess),void 0!==t.clearcoat&&(i.clearcoat=t.clearcoat),void 0!==t.clearcoatRoughness&&(i.clearcoatRoughness=t.clearcoatRoughness),void 0!==t.iridescence&&(i.iridescence=t.iridescence),void 0!==t.iridescenceIOR&&(i.iridescenceIOR=t.iridescenceIOR),void 0!==t.iridescenceThicknessRange&&(i.iridescenceThicknessRange=t.iridescenceThicknessRange),void 0!==t.transmission&&(i.transmission=t.transmission),void 0!==t.thickness&&(i.thickness=t.thickness),void 0!==t.attenuationDistance&&(i.attenuationDistance=t.attenuationDistance),void 0!==t.attenuationColor&&void 0!==i.attenuationColor&&i.attenuationColor.setHex(t.attenuationColor),void 0!==t.fog&&(i.fog=t.fog),void 0!==t.flatShading&&(i.flatShading=t.flatShading),void 0!==t.blending&&(i.blending=t.blending),void 0!==t.combine&&(i.combine=t.combine),void 0!==t.side&&(i.side=t.side),void 0!==t.shadowSide&&(i.shadowSide=t.shadowSide),void 0!==t.opacity&&(i.opacity=t.opacity),void 0!==t.transparent&&(i.transparent=t.transparent),void 0!==t.alphaTest&&(i.alphaTest=t.alphaTest),void 0!==t.depthTest&&(i.depthTest=t.depthTest),void 0!==t.depthWrite&&(i.depthWrite=t.depthWrite),void 0!==t.colorWrite&&(i.colorWrite=t.colorWrite),void 0!==t.stencilWrite&&(i.stencilWrite=t.stencilWrite),void 0!==t.stencilWriteMask&&(i.stencilWriteMask=t.stencilWriteMask),void 0!==t.stencilFunc&&(i.stencilFunc=t.stencilFunc),void 0!==t.stencilRef&&(i.stencilRef=t.stencilRef),void 0!==t.stencilFuncMask&&(i.stencilFuncMask=t.stencilFuncMask),void 0!==t.stencilFail&&(i.stencilFail=t.stencilFail),void 0!==t.stencilZFail&&(i.stencilZFail=t.stencilZFail),void 0!==t.stencilZPass&&(i.stencilZPass=t.stencilZPass),void 0!==t.wireframe&&(i.wireframe=t.wireframe),void 0!==t.wireframeLinewidth&&(i.wireframeLinewidth=t.wireframeLinewidth),void 0!==t.wireframeLinecap&&(i.wireframeLinecap=t.wireframeLinecap),void 0!==t.wireframeLinejoin&&(i.wireframeLinejoin=t.wireframeLinejoin),void 0!==t.rotation&&(i.rotation=t.rotation),1!==t.linewidth&&(i.linewidth=t.linewidth),void 0!==t.dashSize&&(i.dashSize=t.dashSize),void 0!==t.gapSize&&(i.gapSize=t.gapSize),void 0!==t.scale&&(i.scale=t.scale),void 0!==t.polygonOffset&&(i.polygonOffset=t.polygonOffset),void 0!==t.polygonOffsetFactor&&(i.polygonOffsetFactor=t.polygonOffsetFactor),void 0!==t.polygonOffsetUnits&&(i.polygonOffsetUnits=t.polygonOffsetUnits),void 0!==t.dithering&&(i.dithering=t.dithering),void 0!==t.alphaToCoverage&&(i.alphaToCoverage=t.alphaToCoverage),void 0!==t.premultipliedAlpha&&(i.premultipliedAlpha=t.premultipliedAlpha),void 0!==t.forceSinglePass&&(i.forceSinglePass=t.forceSinglePass),void 0!==t.visible&&(i.visible=t.visible),void 0!==t.toneMapped&&(i.toneMapped=t.toneMapped),void 0!==t.userData&&(i.userData=t.userData),void 0!==t.vertexColors&&("number"==typeof t.vertexColors?i.vertexColors=t.vertexColors>0:i.vertexColors=t.vertexColors),void 0!==t.uniforms)for(const e in t.uniforms){const r=t.uniforms[e];switch(i.uniforms[e]={},r.type){case"t":i.uniforms[e].value=n(r.value);break;case"c":i.uniforms[e].value=new Oi().setHex(r.value);break;case"v2":i.uniforms[e].value=new We().fromArray(r.value);break;case"v3":i.uniforms[e].value=new gn().fromArray(r.value);break;case"v4":i.uniforms[e].value=new un().fromArray(r.value);break;case"m3":i.uniforms[e].value=new je().fromArray(r.value);break;case"m4":i.uniforms[e].value=new qn().fromArray(r.value);break;default:i.uniforms[e].value=r.value;}}if(void 0!==t.defines&&(i.defines=t.defines),void 0!==t.vertexShader&&(i.vertexShader=t.vertexShader),void 0!==t.fragmentShader&&(i.fragmentShader=t.fragmentShader),void 0!==t.glslVersion&&(i.glslVersion=t.glslVersion),void 0!==t.extensions)for(const e in t.extensions)i.extensions[e]=t.extensions[e];if(void 0!==t.size&&(i.size=t.size),void 0!==t.sizeAttenuation&&(i.sizeAttenuation=t.sizeAttenuation),void 0!==t.map&&(i.map=n(t.map)),void 0!==t.matcap&&(i.matcap=n(t.matcap)),void 0!==t.alphaMap&&(i.alphaMap=n(t.alphaMap)),void 0!==t.bumpMap&&(i.bumpMap=n(t.bumpMap)),void 0!==t.bumpScale&&(i.bumpScale=t.bumpScale),void 0!==t.normalMap&&(i.normalMap=n(t.normalMap)),void 0!==t.normalMapType&&(i.normalMapType=t.normalMapType),void 0!==t.normalScale){let e=t.normalScale;!1===Array.isArray(e)&&(e=[e,e]),i.normalScale=new We().fromArray(e)}return void 0!==t.displacementMap&&(i.displacementMap=n(t.displacementMap)),void 0!==t.displacementScale&&(i.displacementScale=t.displacementScale),void 0!==t.displacementBias&&(i.displacementBias=t.displacementBias),void 0!==t.roughnessMap&&(i.roughnessMap=n(t.roughnessMap)),void 0!==t.metalnessMap&&(i.metalnessMap=n(t.metalnessMap)),void 0!==t.emissiveMap&&(i.emissiveMap=n(t.emissiveMap)),void 0!==t.emissiveIntensity&&(i.emissiveIntensity=t.emissiveIntensity),void 0!==t.specularMap&&(i.specularMap=n(t.specularMap)),void 0!==t.specularIntensityMap&&(i.specularIntensityMap=n(t.specularIntensityMap)),void 0!==t.specularColorMap&&(i.specularColorMap=n(t.specularColorMap)),void 0!==t.envMap&&(i.envMap=n(t.envMap)),void 0!==t.envMapIntensity&&(i.envMapIntensity=t.envMapIntensity),void 0!==t.reflectivity&&(i.reflectivity=t.reflectivity),void 0!==t.refractionRatio&&(i.refractionRatio=t.refractionRatio),void 0!==t.lightMap&&(i.lightMap=n(t.lightMap)),void 0!==t.lightMapIntensity&&(i.lightMapIntensity=t.lightMapIntensity),void 0!==t.aoMap&&(i.aoMap=n(t.aoMap)),void 0!==t.aoMapIntensity&&(i.aoMapIntensity=t.aoMapIntensity),void 0!==t.gradientMap&&(i.gradientMap=n(t.gradientMap)),void 0!==t.clearcoatMap&&(i.clearcoatMap=n(t.clearcoatMap)),void 0!==t.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(t.clearcoatRoughnessMap)),void 0!==t.clearcoatNormalMap&&(i.clearcoatNormalMap=n(t.clearcoatNormalMap)),void 0!==t.clearcoatNormalScale&&(i.clearcoatNormalScale=new We().fromArray(t.clearcoatNormalScale)),void 0!==t.iridescenceMap&&(i.iridescenceMap=n(t.iridescenceMap)),void 0!==t.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(t.iridescenceThicknessMap)),void 0!==t.transmissionMap&&(i.transmissionMap=n(t.transmissionMap)),void 0!==t.thicknessMap&&(i.thicknessMap=n(t.thicknessMap)),void 0!==t.sheenColorMap&&(i.sheenColorMap=n(t.sheenColorMap)),void 0!==t.sheenRoughnessMap&&(i.sheenRoughnessMap=n(t.sheenRoughnessMap)),i}setTextures(t){return this.textures=t,this}static createMaterialFromType(t){return new{ShadowMaterial:oh,SpriteMaterial:Do,RawShaderMaterial:lh,ShaderMaterial:Cr,PointsMaterial:Pl,MeshPhysicalMaterial:hh,MeshStandardMaterial:ch,MeshPhongMaterial:uh,MeshToonMaterial:dh,MeshNormalMaterial:ph,MeshLambertMaterial:mh,MeshDepthMaterial:oo,MeshDistanceMaterial:lo,MeshBasicMaterial:Bi,MeshMatcapMaterial:fh,LineDashedMaterial:gh,LineBasicMaterial:xl,Material:Ri}[t]}}class du{static decodeText(t){if("undefined"!=typeof TextDecoder)return new TextDecoder().decode(t);let e="";for(let n=0,i=t.length;n<i;n++)e+=String.fromCharCode(t[n]);try{return decodeURIComponent(escape(e))}catch(t){return e}}static extractUrlBase(t){const e=t.lastIndexOf("/");return-1===e?"./":t.slice(0,e+1)}static resolveURL(t,e){return"string"!=typeof t||""===t?"":(/^https?:\/\//i.test(e)&&/^\//.test(t)&&(e=e.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(t)||/^data:.*,.*$/i.test(t)||/^blob:.*$/i.test(t)?t:e+t)}}class pu extends ir{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(t){return super.copy(t),this.instanceCount=t.instanceCount,this}toJSON(){const t=super.toJSON();return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}}class mu extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(r.manager);s.setPath(r.path),s.setRequestHeader(r.requestHeader),s.setWithCredentials(r.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e={},n={};function i(t,i){if(void 0!==e[i])return e[i];const r=t.interleavedBuffers[i],s=function(t,e){if(void 0!==n[e])return n[e];const i=t.arrayBuffers,r=i[e],s=new Uint32Array(r).buffer;return n[e]=s,s}(t,r.buffer),a=Ze(r.type,s),o=new Po(a,r.stride);return o.uuid=r.uuid,e[i]=o,o}const r=t.isInstancedBufferGeometry?new pu:new ir,s=t.data.index;if(void 0!==s){const t=Ze(s.type,s.array);r.setIndex(new qi(t,1))}const a=t.data.attributes;for(const e in a){const n=a[e];let s;if(n.isInterleavedBufferAttribute){const e=i(t.data,n.data);s=new Io(e,n.itemSize,n.offset,n.normalized)}else{const t=Ze(n.type,n.array);s=new(n.isInstancedBufferAttribute?hl:qi)(t,n.itemSize,n.normalized)}void 0!==n.name&&(s.name=n.name),void 0!==n.usage&&s.setUsage(n.usage),void 0!==n.updateRange&&(s.updateRange.offset=n.updateRange.offset,s.updateRange.count=n.updateRange.count),r.setAttribute(e,s)}const o=t.data.morphAttributes;if(o)for(const e in o){const n=o[e],s=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];let a;if(r.isInterleavedBufferAttribute){const e=i(t.data,r.data);a=new Io(e,r.itemSize,r.offset,r.normalized)}else{const t=Ze(r.type,r.array);a=new qi(t,r.itemSize,r.normalized)}void 0!==r.name&&(a.name=r.name),s.push(a)}r.morphAttributes[e]=s}t.data.morphTargetsRelative&&(r.morphTargetsRelative=!0);const l=t.data.groups||t.data.drawcalls||t.data.offsets;if(void 0!==l)for(let t=0,e=l.length;t!==e;++t){const e=l[t];r.addGroup(e.start,e.count,e.materialIndex)}const c=t.data.boundingSphere;if(void 0!==c){const t=new gn;void 0!==c.center&&t.fromArray(c.center),r.boundingSphere=new zn(t,c.radius)}return t.name&&(r.name=t.name),t.userData&&(r.userData=t.userData),r}}const fu={UVMapping:J,CubeReflectionMapping:K,CubeRefractionMapping:$,EquirectangularReflectionMapping:Q,EquirectangularRefractionMapping:tt,CubeUVReflectionMapping:et},gu={RepeatWrapping:nt,ClampToEdgeWrapping:it,MirroredRepeatWrapping:rt},vu={NearestFilter:st,NearestMipmapNearestFilter:at,NearestMipmapLinearFilter:ot,LinearFilter:lt,LinearMipmapNearestFilter:ct,LinearMipmapLinearFilter:ht};let _u;class xu{static getContext(){return void 0===_u&&(_u=new(window.AudioContext||window.webkitAudioContext)),_u}static setContext(t){_u=t}}const yu=new qn,Mu=new qn,Su=new qn;class bu{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=wu(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=wu();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function wu(){return("undefined"==typeof performance?Date:performance).now()}const Tu=new gn,Eu=new fn,Au=new gn,Cu=new gn;class Lu extends vi{constructor(t){super(),this.type="Audio",this.listener=t,this.context=t.context,this.gain=this.context.createGain(),this.gain.connect(t.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(t){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=t,this.connect(),this}setMediaElementSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(t),this.connect(),this}setMediaStreamSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(t),this.connect(),this}setBuffer(t){return this.buffer=t,this.sourceType="buffer",this.autoplay&&this.play(),this}play(t=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+t;const e=this.context.createBufferSource();return e.buffer=this.buffer,e.loop=this.loop,e.loopStart=this.loopStart,e.loopEnd=this.loopEnd,e.onended=this.onEnded.bind(this),e.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=e,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,null!==this.source&&(this.source.stop(),this.source.onended=null),this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}getFilters(){return this.filters}setFilters(t){return t||(t=[]),!0===this._connected?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}setDetune(t){if(this.detune=t,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(t){return this.setFilters(t?[t]:[])}setPlaybackRate(t){if(!1!==this.hasPlaybackControl)return this.playbackRate=t,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}setLoop(t){if(!1!==this.hasPlaybackControl)return this.loop=t,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}setLoopStart(t){return this.loopStart=t,this}setLoopEnd(t){return this.loopEnd=t,this}getVolume(){return this.gain.gain.value}setVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}}const Pu=new gn,Ru=new fn,Iu=new gn,Du=new gn;class Uu{constructor(t,e,n){let i,r,s;switch(this.binding=t,this.valueSize=n,e){case"quaternion":i=this._slerp,r=this._slerpAdditive,s=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case"string":case"bool":i=this._select,r=this._select,s=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:i=this._lerp,r=this._lerpAdditive,s=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n);}this._mixBufferRegion=i,this._mixBufferRegionAdditive=r,this._setIdentity=s,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(t,e){const n=this.buffer,i=this.valueSize,r=t*i+i;let s=this.cumulativeWeight;if(0===s){for(let t=0;t!==i;++t)n[r+t]=n[t];s=e}else{s+=e;const t=e/s;this._mixBufferRegion(n,r,0,t,i)}this.cumulativeWeight=s}accumulateAdditive(t){const e=this.buffer,n=this.valueSize,i=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(e,i,0,t,n),this.cumulativeWeightAdditive+=t}apply(t){const e=this.valueSize,n=this.buffer,i=t*e+e,r=this.cumulativeWeight,s=this.cumulativeWeightAdditive,a=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,r<1){const t=e*this._origIndex;this._mixBufferRegion(n,i,t,1-r,e)}s>0&&this._mixBufferRegionAdditive(n,i,this._addIndex*e,1,e);for(let t=e,r=e+e;t!==r;++t)if(n[t]!==n[t+e]){a.setValue(n,i);break}}saveOriginalState(){const t=this.binding,e=this.buffer,n=this.valueSize,i=n*this._origIndex;t.getValue(e,i);for(let t=n,r=i;t!==r;++t)e[t]=e[i+t%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const t=3*this.valueSize;this.binding.setValue(this.buffer,t)}_setAdditiveIdentityNumeric(){const t=this._addIndex*this.valueSize,e=t+this.valueSize;for(let n=t;n<e;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const t=this._origIndex*this.valueSize,e=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[e+n]=this.buffer[t+n]}_select(t,e,n,i,r){if(i>=.5)for(let i=0;i!==r;++i)t[e+i]=t[n+i]}_slerp(t,e,n,i){fn.slerpFlat(t,e,t,e,t,n,i)}_slerpAdditive(t,e,n,i,r){const s=this._workIndex*r;fn.multiplyQuaternionsFlat(t,s,t,e,t,n),fn.slerpFlat(t,e,t,e,t,s,i)}_lerp(t,e,n,i,r){const s=1-i;for(let a=0;a!==r;++a){const r=e+a;t[r]=t[r]*s+t[n+a]*i}}_lerpAdditive(t,e,n,i,r){for(let s=0;s!==r;++s){const r=e+s;t[r]=t[r]+t[n+s]*i}}}const Nu="\\[\\]\\.:\\/",Ou=new RegExp("["+Nu+"]","g"),zu="[^"+Nu+"]",Bu="[^"+Nu.replace("\\.","")+"]",Fu=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",zu)+/(WCOD+)?/.source.replace("WCOD",Bu)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",zu)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",zu)+"$"),ku=["material","materials","bones","map"];class Gu{constructor(t,e,n){this.path=e,this.parsedPath=n||Gu.parseTrackName(e),this.node=Gu.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new Gu.Composite(t,e,n):new Gu(t,e,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(Ou,"")}static parseTrackName(t){const e=Fu.exec(t);if(null===e)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){const t=n.nodeName.substring(i+1);-1!==ku.indexOf(t)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=t)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,e){if(void 0===e||""===e||"."===e||-1===e||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(void 0!==n)return n}if(t.children){const n=function(t){for(let i=0;i<t.length;i++){const r=t[i];if(r.name===e||r.uuid===e)return r;const s=n(r.children);if(s)return s}return null},i=n(t.children);if(i)return i}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,e){t[e]=this.targetObject[this.propertyName]}_getValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)t[e++]=n[i]}_getValue_arrayElement(t,e){t[e]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,e){this.resolvedProperty.toArray(t,e)}_setValue_direct(t,e){this.targetObject[this.propertyName]=t[e]}_setValue_direct_setNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++]}_setValue_array_setNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,e){const n=this.resolvedProperty;for(let i=0,r=n.length;i!==r;++i)n[i]=t[e++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,e){this.resolvedProperty[this.propertyIndex]=t[e]}_setValue_arrayElement_setNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,e){this.resolvedProperty.fromArray(t,e)}_setValue_fromArray_setNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,e){this.bind(),this.getValue(t,e)}_setValue_unbound(t,e){this.bind(),this.setValue(t,e)}bind(){let t=this.node;const e=this.parsedPath,n=e.objectName,i=e.propertyName;let r=e.propertyIndex;if(t||(t=Gu.findNode(this.rootNode,e.nodeName),this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t)return void console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.");if(n){let i=e.objectIndex;switch(n){case"materials":if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);t=t.material.materials;break;case"bones":if(!t.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);t=t.skeleton.bones;for(let e=0;e<t.length;e++)if(t[e].name===i){i=e;break}break;case"map":if("map"in t){t=t.map;break}if(!t.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!t.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);t=t.material.map;break;default:if(void 0===t[n])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);t=t[n];}if(void 0!==i){if(void 0===t[i])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,t);t=t[i]}}const s=t[i];if(void 0===s){const n=e.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+n+"."+i+" but it wasn't found.",t)}let a=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let o=this.BindingType.Direct;if(void 0!==r){if("morphTargetInfluences"===i){if(!t.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!t.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==t.morphTargetDictionary[r]&&(r=t.morphTargetDictionary[r])}o=this.BindingType.ArrayElement,this.resolvedProperty=s,this.propertyIndex=r}else void 0!==s.fromArray&&void 0!==s.toArray?(o=this.BindingType.HasFromToArray,this.resolvedProperty=s):Array.isArray(s)?(o=this.BindingType.EntireArray,this.resolvedProperty=s):this.propertyName=i;this.getValue=this.GetterByBindingType[o],this.setValue=this.SetterByBindingTypeAndVersioning[o][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Gu.Composite=class{constructor(t,e,n){const i=n||Gu.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,i)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,i=this._bindings[n];void 0!==i&&i.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let i=this._targetGroup.nCachedObjects_,r=n.length;i!==r;++i)n[i].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}},Gu.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Gu.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Gu.prototype.GetterByBindingType=[Gu.prototype._getValue_direct,Gu.prototype._getValue_array,Gu.prototype._getValue_arrayElement,Gu.prototype._getValue_toArray],Gu.prototype.SetterByBindingTypeAndVersioning=[[Gu.prototype._setValue_direct,Gu.prototype._setValue_direct_setNeedsUpdate,Gu.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_array,Gu.prototype._setValue_array_setNeedsUpdate,Gu.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_arrayElement,Gu.prototype._setValue_arrayElement_setNeedsUpdate,Gu.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Gu.prototype._setValue_fromArray,Gu.prototype._setValue_fromArray_setNeedsUpdate,Gu.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class Vu{constructor(t,e,n=null,i=e.blendMode){this._mixer=t,this._clip=e,this._localRoot=n,this.blendMode=i;const r=e.tracks,s=r.length,a=new Array(s),o={endingStart:de,endingEnd:de};for(let t=0;t!==s;++t){const e=r[t].createInterpolant(null);a[t]=e,e.settings=o}this._interpolantSettings=o,this._interpolants=a,this._propertyBindings=new Array(s),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(t){return this._startTime=t,this}setLoop(t,e){return this.loop=t,this.repetitions=e,this}setEffectiveWeight(t){return this.weight=t,this._effectiveWeight=this.enabled?t:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(t){return this._scheduleFading(t,0,1)}fadeOut(t){return this._scheduleFading(t,1,0)}crossFadeFrom(t,e,n){if(t.fadeOut(e),this.fadeIn(e),n){const n=this._clip.duration,i=t._clip.duration,r=i/n,s=n/i;t.warp(1,r,e),this.warp(s,1,e)}return this}crossFadeTo(t,e,n){return t.crossFadeFrom(this,e,n)}stopFading(){const t=this._weightInterpolant;return null!==t&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}setEffectiveTimeScale(t){return this.timeScale=t,this._effectiveTimeScale=this.paused?0:t,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(t){return this.timeScale=this._clip.duration/t,this.stopWarping()}syncWith(t){return this.time=t.time,this.timeScale=t.timeScale,this.stopWarping()}halt(t){return this.warp(this._effectiveTimeScale,0,t)}warp(t,e,n){const i=this._mixer,r=i.time,s=this.timeScale;let a=this._timeScaleInterpolant;null===a&&(a=i._lendControlInterpolant(),this._timeScaleInterpolant=a);const o=a.parameterPositions,l=a.sampleValues;return o[0]=r,o[1]=r+n,l[0]=t/s,l[1]=e/s,this}stopWarping(){const t=this._timeScaleInterpolant;return null!==t&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(t,e,n,i){if(!this.enabled)return void this._updateWeight(t);const r=this._startTime;if(null!==r){const i=(t-r)*n;i<0||0===n?e=0:(this._startTime=null,e=n*i)}e*=this._updateTimeScale(t);const s=this._updateTime(e),a=this._updateWeight(t);if(a>0){const t=this._interpolants,e=this._propertyBindings;if(this.blendMode===ge)for(let n=0,i=t.length;n!==i;++n)t[n].evaluate(s),e[n].accumulateAdditive(a);else for(let n=0,r=t.length;n!==r;++n)t[n].evaluate(s),e[n].accumulate(i,a)}}_updateWeight(t){let e=0;if(this.enabled){e=this.weight;const n=this._weightInterpolant;if(null!==n){const i=n.evaluate(t)[0];e*=i,t>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=e,e}_updateTimeScale(t){let e=0;if(!this.paused){e=this.timeScale;const n=this._timeScaleInterpolant;if(null!==n){e*=n.evaluate(t)[0],t>n.parameterPositions[1]&&(this.stopWarping(),0===e?this.paused=!0:this.timeScale=e)}}return this._effectiveTimeScale=e,e}_updateTime(t){const e=this._clip.duration,n=this.loop;let i=this.time+t,r=this._loopCount;const s=2202===n;if(0===t)return-1===r?i:s&&1==(1&r)?e-i:i;if(2200===n){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));t:{if(i>=e)i=e;else{if(!(i<0)){this.time=i;break t}i=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t<0?-1:1})}}else{if(-1===r&&(t>=0?(r=0,this._setEndings(!0,0===this.repetitions,s)):this._setEndings(0===this.repetitions,!0,s)),i>=e||i<0){const n=Math.floor(i/e);i-=e*n,r+=Math.abs(n);const a=this.repetitions-r;if(a<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=t>0?e:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:t>0?1:-1});else{if(1===a){const e=t<0;this._setEndings(e,!e,s)}else this._setEndings(!1,!1,s);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(s&&1==(1&r))return e-i}return i}_setEndings(t,e,n){const i=this._interpolantSettings;n?(i.endingStart=pe,i.endingEnd=pe):(i.endingStart=t?this.zeroSlopeAtStart?pe:de:me,i.endingEnd=e?this.zeroSlopeAtEnd?pe:de:me)}_scheduleFading(t,e,n){const i=this._mixer,r=i.time;let s=this._weightInterpolant;null===s&&(s=i._lendControlInterpolant(),this._weightInterpolant=s);const a=s.parameterPositions,o=s.sampleValues;return a[0]=r,o[0]=e,a[1]=r+t,o[1]=n,this}}const Hu=new Float32Array(1);class Wu{constructor(t){this.value=t}clone(){return new Wu(void 0===this.value.clone?this.value:this.value.clone())}}let ju=0;function qu(t,e){return t.distance-e.distance}function Xu(t,e,n,i){if(t.layers.test(e.layers)&&t.raycast(e,n),!0===i){const i=t.children;for(let t=0,r=i.length;t<r;t++)Xu(i[t],e,n,!0)}}const Yu=new We;const Zu=new gn,Ju=new gn;const Ku=new gn;const $u=new gn,Qu=new qn,td=new qn;function ed(t){const e=[];!0===t.isBone&&e.push(t);for(let n=0;n<t.children.length;n++)e.push.apply(e,ed(t.children[n]));return e}const nd=new gn,id=new Oi,rd=new Oi;const sd=new gn,ad=new gn,od=new gn;const ld=new gn,cd=new Lr;function hd(t,e,n,i,r,s,a){ld.set(r,s,a).unproject(i);const o=e[t];if(void 0!==o){const t=n.getAttribute("position");for(let e=0,n=o.length;e<n;e++)t.setXYZ(o[e],ld.x,ld.y,ld.z)}}const ud=new xn;const dd=new gn;let pd,md;"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:e}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=e),t.ACESFilmicToneMapping=Y,t.AddEquation=v,t.AddOperation=H,t.AdditiveAnimationBlendMode=ge,t.AdditiveBlending=p,t.AlphaFormat=St,t.AlwaysDepth=U,t.AlwaysStencilFunc=519,t.AmbientLight=ou,t.AmbientLightProbe=class extends hu{constructor(t,e=1){super(void 0,e),this.isAmbientLightProbe=!0;const n=new Oi().set(t);this.sh.coefficients[0].set(n.r,n.g,n.b).multiplyScalar(2*Math.sqrt(Math.PI))}},t.AnimationAction=Vu,t.AnimationClip=Oh,t.AnimationLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(this.manager);s.setPath(this.path),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(t,function(n){try{e(r.parse(JSON.parse(n)))}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}parse(t){const e=[];for(let n=0;n<t.length;n++){const i=Oh.parse(t[n]);e.push(i)}return e}},t.AnimationMixer=class extends Le{constructor(t){super(),this._root=t,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(t,e){const n=t._localRoot||this._root,i=t._clip.tracks,r=i.length,s=t._propertyBindings,a=t._interpolants,o=n.uuid,l=this._bindingsByRootAndName;let c=l[o];void 0===c&&(c={},l[o]=c);for(let t=0;t!==r;++t){const r=i[t],l=r.name;let h=c[l];if(void 0!==h)++h.referenceCount,s[t]=h;else{if(h=s[t],void 0!==h){null===h._cacheIndex&&(++h.referenceCount,this._addInactiveBinding(h,o,l));continue}const i=e&&e._propertyBindings[t].binding.parsedPath;h=new Uu(Gu.create(n,l,i),r.ValueTypeName,r.getValueSize()),++h.referenceCount,this._addInactiveBinding(h,o,l),s[t]=h}a[t].resultBuffer=h.buffer}}_activateAction(t){if(!this._isActiveAction(t)){if(null===t._cacheIndex){const e=(t._localRoot||this._root).uuid,n=t._clip.uuid,i=this._actionsByClip[n];this._bindAction(t,i&&i.knownActions[0]),this._addInactiveAction(t,n,e)}const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(t)}}_deactivateAction(t){if(this._isActiveAction(t)){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(t)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}_isActiveAction(t){const e=t._cacheIndex;return null!==e&&e<this._nActiveActions}_addInactiveAction(t,e,n){const i=this._actions,r=this._actionsByClip;let s=r[e];if(void 0===s)s={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,r[e]=s;else{const e=s.knownActions;t._byClipCacheIndex=e.length,e.push(t)}t._cacheIndex=i.length,i.push(t),s.actionByRoot[n]=t}_removeInactiveAction(t){const e=this._actions,n=e[e.length-1],i=t._cacheIndex;n._cacheIndex=i,e[i]=n,e.pop(),t._cacheIndex=null;const r=t._clip.uuid,s=this._actionsByClip,a=s[r],o=a.knownActions,l=o[o.length-1],c=t._byClipCacheIndex;l._byClipCacheIndex=c,o[c]=l,o.pop(),t._byClipCacheIndex=null;delete a.actionByRoot[(t._localRoot||this._root).uuid],0===o.length&&delete s[r],this._removeInactiveBindingsForAction(t)}_removeInactiveBindingsForAction(t){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(t){const e=this._actions,n=t._cacheIndex,i=this._nActiveActions++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackAction(t){const e=this._actions,n=t._cacheIndex,i=--this._nActiveActions,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_addInactiveBinding(t,e,n){const i=this._bindingsByRootAndName,r=this._bindings;let s=i[e];void 0===s&&(s={},i[e]=s),s[n]=t,t._cacheIndex=r.length,r.push(t)}_removeInactiveBinding(t){const e=this._bindings,n=t.binding,i=n.rootNode.uuid,r=n.path,s=this._bindingsByRootAndName,a=s[i],o=e[e.length-1],l=t._cacheIndex;o._cacheIndex=l,e[l]=o,e.pop(),delete a[r],0===Object.keys(a).length&&delete s[i]}_lendBinding(t){const e=this._bindings,n=t._cacheIndex,i=this._nActiveBindings++,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_takeBackBinding(t){const e=this._bindings,n=t._cacheIndex,i=--this._nActiveBindings,r=e[i];t._cacheIndex=i,e[i]=t,r._cacheIndex=n,e[n]=r}_lendControlInterpolant(){const t=this._controlInterpolants,e=this._nActiveControlInterpolants++;let n=t[e];return void 0===n&&(n=new Eh(new Float32Array(2),new Float32Array(2),1,Hu),n.__cacheIndex=e,t[e]=n),n}_takeBackControlInterpolant(t){const e=this._controlInterpolants,n=t.__cacheIndex,i=--this._nActiveControlInterpolants,r=e[i];t.__cacheIndex=i,e[i]=t,r.__cacheIndex=n,e[n]=r}clipAction(t,e,n){const i=e||this._root,r=i.uuid;let s="string"==typeof t?Oh.findByName(i,t):t;const a=null!==s?s.uuid:t,o=this._actionsByClip[a];let l=null;if(void 0===n&&(n=null!==s?s.blendMode:fe),void 0!==o){const t=o.actionByRoot[r];if(void 0!==t&&t.blendMode===n)return t;l=o.knownActions[0],null===s&&(s=l._clip)}if(null===s)return null;const c=new Vu(this,s,e,n);return this._bindAction(c,l),this._addInactiveAction(c,a,r),c}existingAction(t,e){const n=e||this._root,i=n.uuid,r="string"==typeof t?Oh.findByName(n,t):t,s=r?r.uuid:t,a=this._actionsByClip[s];return void 0!==a&&a.actionByRoot[i]||null}stopAllAction(){const t=this._actions;for(let e=this._nActiveActions-1;e>=0;--e)t[e].stop();return this}update(t){t*=this.timeScale;const e=this._actions,n=this._nActiveActions,i=this.time+=t,r=Math.sign(t),s=this._accuIndex^=1;for(let a=0;a!==n;++a){e[a]._update(i,t,r,s)}const a=this._bindings,o=this._nActiveBindings;for(let t=0;t!==o;++t)a[t].apply(s);return this}setTime(t){this.time=0;for(let t=0;t<this._actions.length;t++)this._actions[t].time=0;return this.update(t)}getRoot(){return this._root}uncacheClip(t){const e=this._actions,n=t.uuid,i=this._actionsByClip,r=i[n];if(void 0!==r){const t=r.knownActions;for(let n=0,i=t.length;n!==i;++n){const i=t[n];this._deactivateAction(i);const r=i._cacheIndex,s=e[e.length-1];i._cacheIndex=null,i._byClipCacheIndex=null,s._cacheIndex=r,e[r]=s,e.pop(),this._removeInactiveBindingsForAction(i)}delete i[n]}}uncacheRoot(t){const e=t.uuid,n=this._actionsByClip;for(const t in n){const i=n[t].actionByRoot[e];void 0!==i&&(this._deactivateAction(i),this._removeInactiveAction(i))}const i=this._bindingsByRootAndName[e];if(void 0!==i)for(const t in i){const e=i[t];e.restoreOriginalState(),this._removeInactiveBinding(e)}}uncacheAction(t,e){const n=this.existingAction(t,e);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}},t.AnimationObjectGroup=class{constructor(){this.isAnimationObjectGroup=!0,this.uuid=Ue(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const t={};this._indicesByUUID=t;for(let e=0,n=arguments.length;e!==n;++e)t[arguments[e].uuid]=e;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const e=this;this.stats={objects:{get total(){return e._objects.length},get inUse(){return this.total-e.nCachedObjects_}},get bindingsPerObject(){return e._bindings.length}}}add(){const t=this._objects,e=this._indicesByUUID,n=this._paths,i=this._parsedPaths,r=this._bindings,s=r.length;let a,o=t.length,l=this.nCachedObjects_;for(let c=0,h=arguments.length;c!==h;++c){const h=arguments[c],u=h.uuid;let d=e[u];if(void 0===d){d=o++,e[u]=d,t.push(h);for(let t=0,e=s;t!==e;++t)r[t].push(new Gu(h,n[t],i[t]))}else if(d<l){a=t[d];const o=--l,c=t[o];e[c.uuid]=d,t[d]=c,e[u]=o,t[o]=h;for(let t=0,e=s;t!==e;++t){const e=r[t],s=e[o];let a=e[d];e[d]=s,void 0===a&&(a=new Gu(h,n[t],i[t])),e[o]=a}}else t[d]!==a&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=l}remove(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_;for(let s=0,a=arguments.length;s!==a;++s){const a=arguments[s],o=a.uuid,l=e[o];if(void 0!==l&&l>=r){const s=r++,c=t[s];e[c.uuid]=l,t[l]=c,e[o]=s,t[s]=a;for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[s],r=e[l];e[l]=i,e[s]=r}}}this.nCachedObjects_=r}uncache(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,i=n.length;let r=this.nCachedObjects_,s=t.length;for(let a=0,o=arguments.length;a!==o;++a){const o=arguments[a].uuid,l=e[o];if(void 0!==l)if(delete e[o],l<r){const a=--r,o=t[a],c=--s,h=t[c];e[o.uuid]=l,t[l]=o,e[h.uuid]=a,t[a]=h,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t],i=e[a],r=e[c];e[l]=i,e[a]=r,e.pop()}}else{const r=--s,a=t[r];r>0&&(e[a.uuid]=l),t[l]=a,t.pop();for(let t=0,e=i;t!==e;++t){const e=n[t];e[l]=e[r],e.pop()}}}this.nCachedObjects_=r}subscribe_(t,e){const n=this._bindingsIndicesByPath;let i=n[t];const r=this._bindings;if(void 0!==i)return r[i];const s=this._paths,a=this._parsedPaths,o=this._objects,l=o.length,c=this.nCachedObjects_,h=new Array(l);i=r.length,n[t]=i,s.push(t),a.push(e),r.push(h);for(let n=c,i=o.length;n!==i;++n){const i=o[n];h[n]=new Gu(i,t,e)}return h}unsubscribe_(t){const e=this._bindingsIndicesByPath,n=e[t];if(void 0!==n){const i=this._paths,r=this._parsedPaths,s=this._bindings,a=s.length-1,o=s[a];e[t[a]]=n,s[n]=o,s.pop(),r[n]=r[a],r.pop(),i[n]=i[a],i.pop()}}},t.AnimationUtils=bh,t.ArcCurve=kl,t.ArrayCamera=go,t.ArrowHelper=class extends vi{constructor(t=new gn(0,0,1),e=new gn(0,0,0),n=1,i=16776960,r=.2*n,s=.2*r){super(),this.type="ArrowHelper",void 0===pd&&(pd=new ir,pd.setAttribute("position",new Zi([0,0,0,0,1,0],3)),md=new cc(0,.5,1,5,1),md.translate(0,-.5,0)),this.position.copy(e),this.line=new Tl(pd,new xl({color:i,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new Mr(md,new Bi({color:i,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(t),this.setLength(n,r,s)}setDirection(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{dd.set(t.z,0,-t.x).normalize();const e=Math.acos(t.y);this.quaternion.setFromAxisAngle(dd,e)}}setLength(t,e=.2*t,n=.2*e){this.line.scale.set(1,Math.max(1e-4,t-e),1),this.line.updateMatrix(),this.cone.scale.set(n,e,n),this.cone.position.y=t,this.cone.updateMatrix()}setColor(t){this.line.material.color.set(t),this.cone.material.color.set(t)}copy(t){return super.copy(t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}},t.Audio=Lu,t.AudioAnalyser=class{constructor(t,e=2048){this.analyser=t.context.createAnalyser(),this.analyser.fftSize=e,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let t=0;const e=this.getFrequencyData();for(let n=0;n<e.length;n++)t+=e[n];return t/e.length}},t.AudioContext=xu,t.AudioListener=class extends vi{constructor(){super(),this.type="AudioListener",this.context=xu.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new bu}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(t){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}updateMatrixWorld(t){super.updateMatrixWorld(t);const e=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Tu,Eu,Au),Cu.set(0,0,-1).applyQuaternion(Eu),e.positionX){const t=this.context.currentTime+this.timeDelta;e.positionX.linearRampToValueAtTime(Tu.x,t),e.positionY.linearRampToValueAtTime(Tu.y,t),e.positionZ.linearRampToValueAtTime(Tu.z,t),e.forwardX.linearRampToValueAtTime(Cu.x,t),e.forwardY.linearRampToValueAtTime(Cu.y,t),e.forwardZ.linearRampToValueAtTime(Cu.z,t),e.upX.linearRampToValueAtTime(n.x,t),e.upY.linearRampToValueAtTime(n.y,t),e.upZ.linearRampToValueAtTime(n.z,t)}else e.setPosition(Tu.x,Tu.y,Tu.z),e.setOrientation(Cu.x,Cu.y,Cu.z,n.x,n.y,n.z)}},t.AudioLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new Wh(this.manager);s.setResponseType("arraybuffer"),s.setPath(this.path),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(t,function(n){try{const t=n.slice(0);xu.getContext().decodeAudioData(t,function(t){e(t)})}catch(e){i?i(e):console.error(e),r.manager.itemError(t)}},n,i)}},t.AxesHelper=class extends Cl{constructor(t=1){const e=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],n=new ir;n.setAttribute("position",new Zi(e,3)),n.setAttribute("color",new Zi([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));super(n,new xl({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(t,e,n){const i=new Oi,r=this.geometry.attributes.color.array;return i.set(t),i.toArray(r,0),i.toArray(r,3),i.set(e),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BackSide=c,t.BasicDepthPacking=3200,t.BasicShadowMap=0,t.Bone=sl,t.BooleanKeyframeTrack=Lh,t.Box2=class{constructor(t=new We(1/0,1/0),e=new We(-1/0,-1/0)){this.isBox2=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=Yu.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(t){return this.isEmpty()?t.set(0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y)}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,Yu).distanceTo(t)}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}},t.Box3=xn,t.Box3Helper=class extends Cl{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new ir;i.setIndex(new qi(n,1)),i.setAttribute("position",new Zi([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(i,new xl({color:e,toneMapped:!1})),this.box=t,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(t){const e=this.box;e.isEmpty()||(e.getCenter(this.position),e.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(t))}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BoxBufferGeometry=class extends br{constructor(t,e,n,i,r,s){console.warn("THREE.BoxBufferGeometry has been renamed to THREE.BoxGeometry."),super(t,e,n,i,r,s)}},t.BoxGeometry=br,t.BoxHelper=class extends Cl{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Float32Array(24),r=new ir;r.setIndex(new qi(n,1)),r.setAttribute("position",new qi(i,3)),super(r,new xl({color:e,toneMapped:!1})),this.object=t,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(t){if(void 0!==t&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),void 0!==this.object&&ud.setFromObject(this.object),ud.isEmpty())return;const e=ud.min,n=ud.max,i=this.geometry.attributes.position,r=i.array;r[0]=n.x,r[1]=n.y,r[2]=n.z,r[3]=e.x,r[4]=n.y,r[5]=n.z,r[6]=e.x,r[7]=e.y,r[8]=n.z,r[9]=n.x,r[10]=e.y,r[11]=n.z,r[12]=n.x,r[13]=n.y,r[14]=e.z,r[15]=e.x,r[16]=n.y,r[17]=e.z,r[18]=e.x,r[19]=e.y,r[20]=e.z,r[21]=n.x,r[22]=e.y,r[23]=e.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(t){return this.object=t,this.update(),this}copy(t,e){return super.copy(t,e),this.object=t.object,this}dispose(){this.geometry.dispose(),this.material.dispose()}},t.BufferAttribute=qi,t.BufferGeometry=ir,t.BufferGeometryLoader=mu,t.ByteType=dt,t.Cache=Bh,t.Camera=Lr,t.CameraHelper=class extends Cl{constructor(t){const e=new ir,n=new xl({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],r=[],s={};function a(t,e){o(t),o(e)}function o(t){i.push(0,0,0),r.push(0,0,0),void 0===s[t]&&(s[t]=[]),s[t].push(i.length/3-1)}a("n1","n2"),a("n2","n4"),a("n4","n3"),a("n3","n1"),a("f1","f2"),a("f2","f4"),a("f4","f3"),a("f3","f1"),a("n1","f1"),a("n2","f2"),a("n3","f3"),a("n4","f4"),a("p","n1"),a("p","n2"),a("p","n3"),a("p","n4"),a("u1","u2"),a("u2","u3"),a("u3","u1"),a("c","t"),a("p","c"),a("cn1","cn2"),a("cn3","cn4"),a("cf1","cf2"),a("cf3","cf4"),e.setAttribute("position",new Zi(i,3)),e.setAttribute("color",new Zi(r,3)),super(e,n),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=s,this.update();const l=new Oi(16755200),c=new Oi(16711680),h=new Oi(43775),u=new Oi(16777215),d=new Oi(3355443);this.setColors(l,c,h,u,d)}setColors(t,e,n,i,r){const s=this.geometry.getAttribute("color");s.setXYZ(0,t.r,t.g,t.b),s.setXYZ(1,t.r,t.g,t.b),s.setXYZ(2,t.r,t.g,t.b),s.setXYZ(3,t.r,t.g,t.b),s.setXYZ(4,t.r,t.g,t.b),s.setXYZ(5,t.r,t.g,t.b),s.setXYZ(6,t.r,t.g,t.b),s.setXYZ(7,t.r,t.g,t.b),s.setXYZ(8,t.r,t.g,t.b),s.setXYZ(9,t.r,t.g,t.b),s.setXYZ(10,t.r,t.g,t.b),s.setXYZ(11,t.r,t.g,t.b),s.setXYZ(12,t.r,t.g,t.b),s.setXYZ(13,t.r,t.g,t.b),s.setXYZ(14,t.r,t.g,t.b),s.setXYZ(15,t.r,t.g,t.b),s.setXYZ(16,t.r,t.g,t.b),s.setXYZ(17,t.r,t.g,t.b),s.setXYZ(18,t.r,t.g,t.b),s.setXYZ(19,t.r,t.g,t.b),s.setXYZ(20,t.r,t.g,t.b),s.setXYZ(21,t.r,t.g,t.b),s.setXYZ(22,t.r,t.g,t.b),s.setXYZ(23,t.r,t.g,t.b),s.setXYZ(24,e.r,e.g,e.b),s.setXYZ(25,e.r,e.g,e.b),s.setXYZ(26,e.r,e.g,e.b),s.setXYZ(27,e.r,e.g,e.b),s.setXYZ(28,e.r,e.g,e.b),s.setXYZ(29,e.r,e.g,e.b),s.setXYZ(30,e.r,e.g,e.b),s.setXYZ(31,e.r,e.g,e.b),s.setXYZ(32,n.r,n.g,n.b),s.setXYZ(33,n.r,n.g,n.b),s.setXYZ(34,n.r,n.g,n.b),s.setXYZ(35,n.r,n.g,n.b),s.setXYZ(36,n.r,n.g,n.b),s.setXYZ(37,n.r,n.g,n.b),s.setXYZ(38,i.r,i.g,i.b),s.setXYZ(39,i.r,i.g,i.b),s.setXYZ(40,r.r,r.g,r.b),s.setXYZ(41,r.r,r.g,r.b),s.setXYZ(42,r.r,r.g,r.b),s.setXYZ(43,r.r,r.g,r.b),s.setXYZ(44,r.r,r.g,r.b),s.setXYZ(45,r.r,r.g,r.b),s.setXYZ(46,r.r,r.g,r.b),s.setXYZ(47,r.r,r.g,r.b),s.setXYZ(48,r.r,r.g,r.b),s.setXYZ(49,r.r,r.g,r.b),s.needsUpdate=!0}update(){const t=this.geometry,e=this.pointMap;cd.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),hd("c",e,t,cd,0,0,-1),hd("t",e,t,cd,0,0,1),hd("n1",e,t,cd,-1,-1,-1),hd("n2",e,t,cd,1,-1,-1),hd("n3",e,t,cd,-1,1,-1),hd("n4",e,t,cd,1,1,-1),hd("f1",e,t,cd,-1,-1,1),hd("f2",e,t,cd,1,-1,1),hd("f3",e,t,cd,-1,1,1),hd("f4",e,t,cd,1,1,1),hd("u1",e,t,cd,.7,1.1,-1),hd("u2",e,t,cd,-.7,1.1,-1),hd("u3",e,t,cd,0,2,-1),hd("cf1",e,t,cd,-1,0,1),hd("cf2",e,t,cd,1,0,1),hd("cf3",e,t,cd,0,-1,1),hd("cf4",e,t,cd,0,1,1),hd("cn1",e,t,cd,-1,0,-1),hd("cn2",e,t,cd,1,0,-1),hd("cn3",e,t,cd,0,-1,-1),hd("cn4",e,t,cd,0,1,-1),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}},t.CanvasTexture=class extends hn{constructor(t,e,n,i,r,s,a,o,l){super(t,e,n,i,r,s,a,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}},t.CapsuleBufferGeometry=class extends oc{constructor(t,e,n,i){console.warn("THREE.CapsuleBufferGeometry has been renamed to THREE.CapsuleGeometry."),super(t,e,n,i)}},t.CapsuleGeometry=oc,t.CatmullRomCurve3=ql,t.CineonToneMapping=X,t.CircleBufferGeometry=class extends lc{constructor(t,e,n,i){console.warn("THREE.CircleBufferGeometry has been renamed to THREE.CircleGeometry."),super(t,e,n,i)}},t.CircleGeometry=lc,t.ClampToEdgeWrapping=it,t.Clock=bu,t.Color=Oi,t.ColorKeyframeTrack=Ph,t.ColorManagement=rn,t.CompressedArrayTexture=class extends zl{constructor(t,e,n,i,r,s){super(t,e,n,r,s),this.isCompressedArrayTexture=!0,this.image.depth=i,this.wrapR=it}},t.CompressedTexture=zl,t.CompressedTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=[],a=new zl,o=new Wh(this.manager);o.setPath(this.path),o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setWithCredentials(r.withCredentials);let l=0;function c(c){o.load(t[c],function(t){const n=r.parse(t,!0);s[c]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},l+=1,6===l&&(1===n.mipmapCount&&(a.minFilter=lt),a.image=s,a.format=n.format,a.needsUpdate=!0,e&&e(a))},n,i)}if(Array.isArray(t))for(let e=0,n=t.length;e<n;++e)c(e);else o.load(t,function(t){const n=r.parse(t,!0);if(n.isCubemap){const t=n.mipmaps.length/n.mipmapCount;for(let e=0;e<t;e++){s[e]={mipmaps:[]};for(let t=0;t<n.mipmapCount;t++)s[e].mipmaps.push(n.mipmaps[e*n.mipmapCount+t]),s[e].format=n.format,s[e].width=n.width,s[e].height=n.height}a.image=s}else a.image.width=n.width,a.image.height=n.height,a.mipmaps=n.mipmaps;1===n.mipmapCount&&(a.minFilter=lt),a.format=n.format,a.needsUpdate=!0,e&&e(a)},n,i);return a}},t.ConeBufferGeometry=class extends hc{constructor(t,e,n,i,r,s,a){console.warn("THREE.ConeBufferGeometry has been renamed to THREE.ConeGeometry."),super(t,e,n,i,r,s,a)}},t.ConeGeometry=hc,t.CubeCamera=Ir,t.CubeReflectionMapping=K,t.CubeRefractionMapping=$,t.CubeTexture=Dr,t.CubeTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=new Dr,s=new jh(this.manager);s.setCrossOrigin(this.crossOrigin),s.setPath(this.path);let a=0;function o(n){s.load(t[n],function(t){r.images[n]=t,a++,6===a&&(r.needsUpdate=!0,e&&e(r))},void 0,i)}for(let e=0;e<t.length;++e)o(e);return r}},t.CubeUVReflectionMapping=et,t.CubicBezierCurve=Jl,t.CubicBezierCurve3=Kl,t.CubicInterpolant=Th,t.CullFaceBack=i,t.CullFaceFront=r,t.CullFaceFrontBack=3,t.CullFaceNone=n,t.Curve=Bl,t.CurvePath=rc,t.CustomBlending=g,t.CustomToneMapping=Z,t.CylinderBufferGeometry=class extends cc{constructor(t,e,n,i,r,s,a,o){console.warn("THREE.CylinderBufferGeometry has been renamed to THREE.CylinderGeometry."),super(t,e,n,i,r,s,a,o)}},t.CylinderGeometry=cc,t.Cylindrical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.theta=e,this.y=n,this}set(t,e,n){return this.radius=t,this.theta=e,this.y=n,this}copy(t){return this.radius=t.radius,this.theta=t.theta,this.y=t.y,this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+n*n),this.theta=Math.atan2(t,n),this.y=e,this}clone(){return new this.constructor().copy(this)}},t.Data3DTexture=mn,t.DataArrayTexture=pn,t.DataTexture=al,t.DataTextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=new al,a=new Wh(this.manager);return a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setPath(this.path),a.setWithCredentials(r.withCredentials),a.load(t,function(t){const n=r.parse(t);n&&(void 0!==n.image?s.image=n.image:void 0!==n.data&&(s.image.width=n.width,s.image.height=n.height,s.image.data=n.data),s.wrapS=void 0!==n.wrapS?n.wrapS:it,s.wrapT=void 0!==n.wrapT?n.wrapT:it,s.magFilter=void 0!==n.magFilter?n.magFilter:lt,s.minFilter=void 0!==n.minFilter?n.minFilter:lt,s.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(s.encoding=n.encoding),void 0!==n.flipY&&(s.flipY=n.flipY),void 0!==n.format&&(s.format=n.format),void 0!==n.type&&(s.type=n.type),void 0!==n.mipmaps&&(s.mipmaps=n.mipmaps,s.minFilter=ht),1===n.mipmapCount&&(s.minFilter=lt),void 0!==n.generateMipmaps&&(s.generateMipmaps=n.generateMipmaps),s.needsUpdate=!0,e&&e(s,n))},n,i),s}},t.DataUtils=Hi,t.DecrementStencilOp=7683,t.DecrementWrapStencilOp=34056,t.DefaultLoadingManager=kh,t.DepthFormat=Et,t.DepthStencilFormat=At,t.DepthTexture=yo,t.DirectionalLight=au,t.DirectionalLightHelper=class extends vi{constructor(t,e,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="DirectionalLightHelper",void 0===e&&(e=1);let i=new ir;i.setAttribute("position",new Zi([-e,e,0,e,e,0,e,-e,0,-e,-e,0,-e,e,0],3));const r=new xl({fog:!1,toneMapped:!1});this.lightPlane=new Tl(i,r),this.add(this.lightPlane),i=new ir,i.setAttribute("position",new Zi([0,0,0,0,0,1],3)),this.targetLine=new Tl(i,r),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),sd.setFromMatrixPosition(this.light.matrixWorld),ad.setFromMatrixPosition(this.light.target.matrixWorld),od.subVectors(ad,sd),this.lightPlane.lookAt(ad),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(ad),this.targetLine.scale.z=od.length()}},t.DiscreteInterpolant=Ah,t.DisplayP3ColorSpace=we,t.DodecahedronBufferGeometry=class extends dc{constructor(t,e){console.warn("THREE.DodecahedronBufferGeometry has been renamed to THREE.DodecahedronGeometry."),super(t,e)}},t.DodecahedronGeometry=dc,t.DoubleSide=h,t.DstAlphaFactor=C,t.DstColorFactor=P,t.DynamicCopyUsage=35050,t.DynamicDrawUsage=35048,t.DynamicReadUsage=35049,t.EdgesGeometry=vc,t.EllipseCurve=Fl,t.EqualDepth=z,t.EqualStencilFunc=514,t.EquirectangularReflectionMapping=Q,t.EquirectangularRefractionMapping=tt,t.Euler=ni,t.EventDispatcher=Le,t.ExtrudeBufferGeometry=class extends Xc{constructor(t,e){console.warn("THREE.ExtrudeBufferGeometry has been renamed to THREE.ExtrudeGeometry."),super(t,e)}},t.ExtrudeGeometry=Xc,t.FileLoader=Wh,t.Float16BufferAttribute=class extends qi{constructor(t,e,n){super(new Uint16Array(t),e,n),this.isFloat16BufferAttribute=!0}getX(t){let e=Vi(this.array[t*this.itemSize]);return this.normalized&&(e=Ge(e,this.array)),e}setX(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize]=Gi(e),this}getY(t){let e=Vi(this.array[t*this.itemSize+1]);return this.normalized&&(e=Ge(e,this.array)),e}setY(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+1]=Gi(e),this}getZ(t){let e=Vi(this.array[t*this.itemSize+2]);return this.normalized&&(e=Ge(e,this.array)),e}setZ(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+2]=Gi(e),this}getW(t){let e=Vi(this.array[t*this.itemSize+3]);return this.normalized&&(e=Ge(e,this.array)),e}setW(t,e){return this.normalized&&(e=Ve(e,this.array)),this.array[t*this.itemSize+3]=Gi(e),this}setXY(t,e,n){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this}setXYZ(t,e,n,i){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this.array[t+2]=Gi(i),this}setXYZW(t,e,n,i,r){return t*=this.itemSize,this.normalized&&(e=Ve(e,this.array),n=Ve(n,this.array),i=Ve(i,this.array),r=Ve(r,this.array)),this.array[t+0]=Gi(e),this.array[t+1]=Gi(n),this.array[t+2]=Gi(i),this.array[t+3]=Gi(r),this}},t.Float32BufferAttribute=Zi,t.Float64BufferAttribute=class extends qi{constructor(t,e,n){super(new Float64Array(t),e,n)}},t.FloatType=vt,t.Fog=Co,t.FogExp2=Ao,t.FramebufferTexture=class extends hn{constructor(t,e,n){super({width:t,height:e}),this.isFramebufferTexture=!0,this.format=n,this.magFilter=st,this.minFilter=st,this.generateMipmaps=!1,this.needsUpdate=!0}},t.FrontSide=l,t.Frustum=Gr,t.GLBufferAttribute=class{constructor(t,e,n,i,r){this.isGLBufferAttribute=!0,this.name="",this.buffer=t,this.type=e,this.itemSize=n,this.elementSize=i,this.count=r,this.version=0}set needsUpdate(t){!0===t&&this.version++}setBuffer(t){return this.buffer=t,this}setType(t,e){return this.type=t,this.elementSize=e,this}setItemSize(t){return this.itemSize=t,this}setCount(t){return this.count=t,this}},t.GLSL1="100",t.GLSL3=Ae,t.GreaterDepth=F,t.GreaterEqualDepth=B,t.GreaterEqualStencilFunc=518,t.GreaterStencilFunc=516,t.GridHelper=class extends Cl{constructor(t=10,e=10,n=4473924,i=8947848){n=new Oi(n),i=new Oi(i);const r=e/2,s=t/e,a=t/2,o=[],l=[];for(let t=0,c=0,h=-a;t<=e;t++,h+=s){o.push(-a,0,h,a,0,h),o.push(h,0,-a,h,0,a);const e=t===r?n:i;e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3,e.toArray(l,c),c+=3}const c=new ir;c.setAttribute("position",new Zi(o,3)),c.setAttribute("color",new Zi(l,3));super(c,new xl({vertexColors:!0,toneMapped:!1})),this.type="GridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},t.Group=vo,t.HalfFloatType=_t,t.HemisphereLight=Xh,t.HemisphereLightHelper=class extends vi{constructor(t,e,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="HemisphereLightHelper";const i=new Jc(e);i.rotateY(.5*Math.PI),this.material=new Bi({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const r=i.getAttribute("position"),s=new Float32Array(3*r.count);i.setAttribute("color",new qi(s,3)),this.add(new Mr(i,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const t=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const e=t.geometry.getAttribute("color");id.copy(this.light.color),rd.copy(this.light.groundColor);for(let t=0,n=e.count;t<n;t++){const i=t<n/2?id:rd;e.setXYZ(t,i.r,i.g,i.b)}e.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),t.lookAt(nd.setFromMatrixPosition(this.light.matrixWorld).negate())}},t.HemisphereLightProbe=class extends hu{constructor(t,e,n=1){super(void 0,n),this.isHemisphereLightProbe=!0;const i=new Oi().set(t),r=new Oi().set(e),s=new gn(i.r,i.g,i.b),a=new gn(r.r,r.g,r.b),o=Math.sqrt(Math.PI),l=o*Math.sqrt(.75);this.sh.coefficients[0].copy(s).add(a).multiplyScalar(o),this.sh.coefficients[1].copy(s).sub(a).multiplyScalar(l)}},t.IcosahedronBufferGeometry=class extends Zc{constructor(t,e){console.warn("THREE.IcosahedronBufferGeometry has been renamed to THREE.IcosahedronGeometry."),super(t,e)}},t.IcosahedronGeometry=Zc,t.ImageBitmapLoader=class extends Gh{constructor(t){super(t),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(t){return this.options=t,this}load(t,e,n,i){void 0===t&&(t=""),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const r=this,s=Bh.get(t);if(void 0!==s)return r.manager.itemStart(t),setTimeout(function(){e&&e(s),r.manager.itemEnd(t)},0),s;const a={};a.credentials="anonymous"===this.crossOrigin?"same-origin":"include",a.headers=this.requestHeader,fetch(t,a).then(function(t){return t.blob()}).then(function(t){return createImageBitmap(t,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(n){Bh.add(t,n),e&&e(n),r.manager.itemEnd(t)}).catch(function(e){i&&i(e),r.manager.itemError(t),r.manager.itemEnd(t)}),r.manager.itemStart(t)}},t.ImageLoader=jh,t.ImageUtils=an,t.IncrementStencilOp=7682,t.IncrementWrapStencilOp=34055,t.InstancedBufferAttribute=hl,t.InstancedBufferGeometry=pu,t.InstancedInterleavedBuffer=class extends Po{constructor(t,e,n=1){super(t,e),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}clone(t){const e=super.clone(t);return e.meshPerAttribute=this.meshPerAttribute,e}toJSON(t){const e=super.toJSON(t);return e.isInstancedInterleavedBuffer=!0,e.meshPerAttribute=this.meshPerAttribute,e}},t.InstancedMesh=_l,t.Int16BufferAttribute=class extends qi{constructor(t,e,n){super(new Int16Array(t),e,n)}},t.Int32BufferAttribute=class extends qi{constructor(t,e,n){super(new Int32Array(t),e,n)}},t.Int8BufferAttribute=class extends qi{constructor(t,e,n){super(new Int8Array(t),e,n)}},t.IntType=ft,t.InterleavedBuffer=Po,t.InterleavedBufferAttribute=Io,t.Interpolant=wh,t.InterpolateDiscrete=ce,t.InterpolateLinear=he,t.InterpolateSmooth=ue,t.InvertStencilOp=5386,t.KeepStencilOp=Te,t.KeyframeTrack=Ch,t.LOD=Ko,t.LatheBufferGeometry=class extends ac{constructor(t,e,n,i){console.warn("THREE.LatheBufferGeometry has been renamed to THREE.LatheGeometry."),super(t,e,n,i)}},t.LatheGeometry=ac,t.Layers=ii,t.LessDepth=N,t.LessEqualDepth=O,t.LessEqualStencilFunc=515,t.LessStencilFunc=513,t.Light=qh,t.LightProbe=hu,t.Line=Tl,t.Line3=class{constructor(t=new gn,e=new gn){this.start=t,this.end=e}set(t,e){return this.start.copy(t),this.end.copy(e),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,e){return this.delta(e).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,e){Zu.subVectors(t,this.start),Ju.subVectors(this.end,this.start);const n=Ju.dot(Ju);let i=Ju.dot(Zu)/n;return e&&(i=Ne(i,0,1)),i}closestPointToPoint(t,e,n){const i=this.closestPointToPointParameter(t,e);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return new this.constructor().copy(this)}},t.LineBasicMaterial=xl,t.LineCurve=$l,t.LineCurve3=Ql,t.LineDashedMaterial=gh,t.LineLoop=Ll,t.LineSegments=Cl,t.LinearEncoding=ve,t.LinearFilter=lt,t.LinearInterpolant=Eh,t.LinearMipMapLinearFilter=1008,t.LinearMipMapNearestFilter=1007,t.LinearMipmapLinearFilter=ht,t.LinearMipmapNearestFilter=ct,t.LinearSRGBColorSpace=be,t.LinearToneMapping=j,t.Loader=Gh,t.LoaderUtils=du,t.LoadingManager=Fh,t.LoopOnce=2200,t.LoopPingPong=2202,t.LoopRepeat=2201,t.LuminanceAlphaFormat=Tt,t.LuminanceFormat=wt,t.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},t.Material=Ri,t.MaterialLoader=uu,t.MathUtils=He,t.Matrix3=je,t.Matrix4=qn,t.MaxEquation=M,t.Mesh=Mr,t.MeshBasicMaterial=Bi,t.MeshDepthMaterial=oo,t.MeshDistanceMaterial=lo,t.MeshLambertMaterial=mh,t.MeshMatcapMaterial=fh,t.MeshNormalMaterial=ph,t.MeshPhongMaterial=uh,t.MeshPhysicalMaterial=hh,t.MeshStandardMaterial=ch,t.MeshToonMaterial=dh,t.MinEquation=y,t.MirroredRepeatWrapping=rt,t.MixOperation=V,t.MultiplyBlending=f,t.MultiplyOperation=G,t.NearestFilter=st,t.NearestMipMapLinearFilter=1005,t.NearestMipMapNearestFilter=1004,t.NearestMipmapLinearFilter=ot,t.NearestMipmapNearestFilter=at,t.NeverDepth=D,t.NeverStencilFunc=512,t.NoBlending=u,t.NoColorSpace="",t.NoToneMapping=W,t.NormalAnimationBlendMode=fe,t.NormalBlending=d,t.NotEqualDepth=k,t.NotEqualStencilFunc=517,t.NumberKeyframeTrack=Rh,t.Object3D=vi,t.ObjectLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=this,s=""===this.path?du.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||s;const a=new Wh(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(t,function(n){let s=null;try{s=JSON.parse(n)}catch(e){return void 0!==i&&i(e),void console.error("THREE:ObjectLoader: Can't parse "+t+".",e.message)}const a=s.metadata;if(void 0===a||void 0===a.type||"geometry"===a.type.toLowerCase())return void 0!==i&&i(new Error("THREE.ObjectLoader: Can't load "+t)),void console.error("THREE.ObjectLoader: Can't load "+t);r.parse(s,e)},n,i)}async loadAsync(t,e){const n=""===this.path?du.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||n;const i=new Wh(this.manager);i.setPath(this.path),i.setRequestHeader(this.requestHeader),i.setWithCredentials(this.withCredentials);const r=await i.loadAsync(t,e),s=JSON.parse(r),a=s.metadata;if(void 0===a||void 0===a.type||"geometry"===a.type.toLowerCase())throw new Error("THREE.ObjectLoader: Can't load "+t);return await this.parseAsync(s)}parse(t,e){const n=this.parseAnimations(t.animations),i=this.parseShapes(t.shapes),r=this.parseGeometries(t.geometries,i),s=this.parseImages(t.images,function(){void 0!==e&&e(l)}),a=this.parseTextures(t.textures,s),o=this.parseMaterials(t.materials,a),l=this.parseObject(t.object,r,o,a,n),c=this.parseSkeletons(t.skeletons,l);if(this.bindSkeletons(l,c),void 0!==e){let t=!1;for(const e in s)if(s[e].data instanceof HTMLImageElement){t=!0;break}!1===t&&e(l)}return l}async parseAsync(t){const e=this.parseAnimations(t.animations),n=this.parseShapes(t.shapes),i=this.parseGeometries(t.geometries,n),r=await this.parseImagesAsync(t.images),s=this.parseTextures(t.textures,r),a=this.parseMaterials(t.materials,s),o=this.parseObject(t.object,i,a,s,e),l=this.parseSkeletons(t.skeletons,o);return this.bindSkeletons(o,l),o}parseShapes(t){const e={};if(void 0!==t)for(let n=0,i=t.length;n<i;n++){const i=new _c().fromJSON(t[n]);e[i.uuid]=i}return e}parseSkeletons(t,e){const n={},i={};if(e.traverse(function(t){t.isBone&&(i[t.uuid]=t)}),void 0!==t)for(let e=0,r=t.length;e<r;e++){const r=new cl().fromJSON(t[e],i);n[r.uuid]=r}return n}parseGeometries(t,e){const n={};if(void 0!==t){const i=new mu;for(let r=0,s=t.length;r<s;r++){let s;const a=t[r];switch(a.type){case"BufferGeometry":case"InstancedBufferGeometry":s=i.parse(a);break;default:a.type in ah?s=ah[a.type].fromJSON(a,e):console.warn(`THREE.ObjectLoader: Unsupported geometry type "${a.type}"`);}s.uuid=a.uuid,void 0!==a.name&&(s.name=a.name),void 0!==a.userData&&(s.userData=a.userData),n[a.uuid]=s}}return n}parseMaterials(t,e){const n={},i={};if(void 0!==t){const r=new uu;r.setTextures(e);for(let e=0,s=t.length;e<s;e++){const s=t[e];void 0===n[s.uuid]&&(n[s.uuid]=r.parse(s)),i[s.uuid]=n[s.uuid]}}return i}parseAnimations(t){const e={};if(void 0!==t)for(let n=0;n<t.length;n++){const i=t[n],r=Oh.parse(i);e[r.uuid]=r}return e}parseImages(t,e){const n=this,i={};let r;function s(t){if("string"==typeof t){const e=t;return function(t){return n.manager.itemStart(t),r.load(t,function(){n.manager.itemEnd(t)},void 0,function(){n.manager.itemError(t),n.manager.itemEnd(t)})}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(e)?e:n.resourcePath+e)}return t.data?{data:Ze(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){const n=new Fh(e);r=new jh(n),r.setCrossOrigin(this.crossOrigin);for(let e=0,n=t.length;e<n;e++){const n=t[e],r=n.url;if(Array.isArray(r)){const t=[];for(let e=0,n=r.length;e<n;e++){const n=s(r[e]);null!==n&&(n instanceof HTMLImageElement?t.push(n):t.push(new al(n.data,n.width,n.height)))}i[n.uuid]=new on(t)}else{const t=s(n.url);i[n.uuid]=new on(t)}}}return i}async parseImagesAsync(t){const e=this,n={};let i;async function r(t){if("string"==typeof t){const n=t,r=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(n)?n:e.resourcePath+n;return await i.loadAsync(r)}return t.data?{data:Ze(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){i=new jh(this.manager),i.setCrossOrigin(this.crossOrigin);for(let e=0,i=t.length;e<i;e++){const i=t[e],s=i.url;if(Array.isArray(s)){const t=[];for(let e=0,n=s.length;e<n;e++){const n=s[e],i=await r(n);null!==i&&(i instanceof HTMLImageElement?t.push(i):t.push(new al(i.data,i.width,i.height)))}n[i.uuid]=new on(t)}else{const t=await r(i.url);n[i.uuid]=new on(t)}}}return n}parseTextures(t,e){function n(t,e){return"number"==typeof t?t:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",t),e[t])}const i={};if(void 0!==t)for(let r=0,s=t.length;r<s;r++){const s=t[r];void 0===s.image&&console.warn("THREE.ObjectLoader: No \"image\" specified for",s.uuid),void 0===e[s.image]&&console.warn("THREE.ObjectLoader: Undefined image",s.image);const a=e[s.image],o=a.data;let l;Array.isArray(o)?(l=new Dr,6===o.length&&(l.needsUpdate=!0)):(l=o&&o.data?new al:new hn,o&&(l.needsUpdate=!0)),l.source=a,l.uuid=s.uuid,void 0!==s.name&&(l.name=s.name),void 0!==s.mapping&&(l.mapping=n(s.mapping,fu)),void 0!==s.channel&&(l.channel=s.channel),void 0!==s.offset&&l.offset.fromArray(s.offset),void 0!==s.repeat&&l.repeat.fromArray(s.repeat),void 0!==s.center&&l.center.fromArray(s.center),void 0!==s.rotation&&(l.rotation=s.rotation),void 0!==s.wrap&&(l.wrapS=n(s.wrap[0],gu),l.wrapT=n(s.wrap[1],gu)),void 0!==s.format&&(l.format=s.format),void 0!==s.internalFormat&&(l.internalFormat=s.internalFormat),void 0!==s.type&&(l.type=s.type),void 0!==s.encoding&&(l.encoding=s.encoding),void 0!==s.minFilter&&(l.minFilter=n(s.minFilter,vu)),void 0!==s.magFilter&&(l.magFilter=n(s.magFilter,vu)),void 0!==s.anisotropy&&(l.anisotropy=s.anisotropy),void 0!==s.flipY&&(l.flipY=s.flipY),void 0!==s.generateMipmaps&&(l.generateMipmaps=s.generateMipmaps),void 0!==s.premultiplyAlpha&&(l.premultiplyAlpha=s.premultiplyAlpha),void 0!==s.unpackAlignment&&(l.unpackAlignment=s.unpackAlignment),void 0!==s.userData&&(l.userData=s.userData),i[s.uuid]=l}return i}parseObject(t,e,n,i,r){let s,a,o;function l(t){return void 0===e[t]&&console.warn("THREE.ObjectLoader: Undefined geometry",t),e[t]}function c(t){if(void 0!==t){if(Array.isArray(t)){const e=[];for(let i=0,r=t.length;i<r;i++){const r=t[i];void 0===n[r]&&console.warn("THREE.ObjectLoader: Undefined material",r),e.push(n[r])}return e}return void 0===n[t]&&console.warn("THREE.ObjectLoader: Undefined material",t),n[t]}}function h(t){return void 0===i[t]&&console.warn("THREE.ObjectLoader: Undefined texture",t),i[t]}switch(t.type){case"Scene":s=new Lo,void 0!==t.background&&(Number.isInteger(t.background)?s.background=new Oi(t.background):s.background=h(t.background)),void 0!==t.environment&&(s.environment=h(t.environment)),void 0!==t.fog&&("Fog"===t.fog.type?s.fog=new Co(t.fog.color,t.fog.near,t.fog.far):"FogExp2"===t.fog.type&&(s.fog=new Ao(t.fog.color,t.fog.density))),void 0!==t.backgroundBlurriness&&(s.backgroundBlurriness=t.backgroundBlurriness),void 0!==t.backgroundIntensity&&(s.backgroundIntensity=t.backgroundIntensity);break;case"PerspectiveCamera":s=new Pr(t.fov,t.aspect,t.near,t.far),void 0!==t.focus&&(s.focus=t.focus),void 0!==t.zoom&&(s.zoom=t.zoom),void 0!==t.filmGauge&&(s.filmGauge=t.filmGauge),void 0!==t.filmOffset&&(s.filmOffset=t.filmOffset),void 0!==t.view&&(s.view=Object.assign({},t.view));break;case"OrthographicCamera":s=new es(t.left,t.right,t.top,t.bottom,t.near,t.far),void 0!==t.zoom&&(s.zoom=t.zoom),void 0!==t.view&&(s.view=Object.assign({},t.view));break;case"AmbientLight":s=new ou(t.color,t.intensity);break;case"DirectionalLight":s=new au(t.color,t.intensity);break;case"PointLight":s=new ru(t.color,t.intensity,t.distance,t.decay);break;case"RectAreaLight":s=new lu(t.color,t.intensity,t.width,t.height);break;case"SpotLight":s=new Qh(t.color,t.intensity,t.distance,t.angle,t.penumbra,t.decay);break;case"HemisphereLight":s=new Xh(t.color,t.groundColor,t.intensity);break;case"LightProbe":s=new hu().fromJSON(t);break;case"SkinnedMesh":a=l(t.geometry),o=c(t.material),s=new rl(a,o),void 0!==t.bindMode&&(s.bindMode=t.bindMode),void 0!==t.bindMatrix&&s.bindMatrix.fromArray(t.bindMatrix),void 0!==t.skeleton&&(s.skeleton=t.skeleton);break;case"Mesh":a=l(t.geometry),o=c(t.material),s=new Mr(a,o);break;case"InstancedMesh":a=l(t.geometry),o=c(t.material);const e=t.count,n=t.instanceMatrix,i=t.instanceColor;s=new _l(a,o,e),s.instanceMatrix=new hl(new Float32Array(n.array),16),void 0!==i&&(s.instanceColor=new hl(new Float32Array(i.array),i.itemSize));break;case"LOD":s=new Ko;break;case"Line":s=new Tl(l(t.geometry),c(t.material));break;case"LineLoop":s=new Ll(l(t.geometry),c(t.material));break;case"LineSegments":s=new Cl(l(t.geometry),c(t.material));break;case"PointCloud":case"Points":s=new Nl(l(t.geometry),c(t.material));break;case"Sprite":s=new Xo(c(t.material));break;case"Group":s=new vo;break;case"Bone":s=new sl;break;default:s=new vi;}if(s.uuid=t.uuid,void 0!==t.name&&(s.name=t.name),void 0!==t.matrix?(s.matrix.fromArray(t.matrix),void 0!==t.matrixAutoUpdate&&(s.matrixAutoUpdate=t.matrixAutoUpdate),s.matrixAutoUpdate&&s.matrix.decompose(s.position,s.quaternion,s.scale)):(void 0!==t.position&&s.position.fromArray(t.position),void 0!==t.rotation&&s.rotation.fromArray(t.rotation),void 0!==t.quaternion&&s.quaternion.fromArray(t.quaternion),void 0!==t.scale&&s.scale.fromArray(t.scale)),void 0!==t.up&&s.up.fromArray(t.up),void 0!==t.castShadow&&(s.castShadow=t.castShadow),void 0!==t.receiveShadow&&(s.receiveShadow=t.receiveShadow),t.shadow&&(void 0!==t.shadow.bias&&(s.shadow.bias=t.shadow.bias),void 0!==t.shadow.normalBias&&(s.shadow.normalBias=t.shadow.normalBias),void 0!==t.shadow.radius&&(s.shadow.radius=t.shadow.radius),void 0!==t.shadow.mapSize&&s.shadow.mapSize.fromArray(t.shadow.mapSize),void 0!==t.shadow.camera&&(s.shadow.camera=this.parseObject(t.shadow.camera))),void 0!==t.visible&&(s.visible=t.visible),void 0!==t.frustumCulled&&(s.frustumCulled=t.frustumCulled),void 0!==t.renderOrder&&(s.renderOrder=t.renderOrder),void 0!==t.userData&&(s.userData=t.userData),void 0!==t.layers&&(s.layers.mask=t.layers),void 0!==t.children){const a=t.children;for(let t=0;t<a.length;t++)s.add(this.parseObject(a[t],e,n,i,r))}if(void 0!==t.animations){const e=t.animations;for(let t=0;t<e.length;t++){const n=e[t];s.animations.push(r[n])}}if("LOD"===t.type){void 0!==t.autoUpdate&&(s.autoUpdate=t.autoUpdate);const e=t.levels;for(let t=0;t<e.length;t++){const n=e[t],i=s.getObjectByProperty("uuid",n.object);void 0!==i&&s.addLevel(i,n.distance,n.hysteresis)}}return s}bindSkeletons(t,e){0!==Object.keys(e).length&&t.traverse(function(t){if(!0===t.isSkinnedMesh&&void 0!==t.skeleton){const n=e[t.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",t.skeleton):t.bind(n,t.bindMatrix)}})}},t.ObjectSpaceNormalMap=Me,t.OctahedronBufferGeometry=class extends Jc{constructor(t,e){console.warn("THREE.OctahedronBufferGeometry has been renamed to THREE.OctahedronGeometry."),super(t,e)}},t.OctahedronGeometry=Jc,t.OneFactor=b,t.OneMinusDstAlphaFactor=L,t.OneMinusDstColorFactor=R,t.OneMinusSrcAlphaFactor=A,t.OneMinusSrcColorFactor=T,t.OrthographicCamera=es,t.PCFShadowMap=s,t.PCFSoftShadowMap=a,t.PMREMGenerator=us,t.Path=sc,t.PerspectiveCamera=Pr,t.Plane=Br,t.PlaneBufferGeometry=class extends Wr{constructor(t,e,n,i){console.warn("THREE.PlaneBufferGeometry has been renamed to THREE.PlaneGeometry."),super(t,e,n,i)}},t.PlaneGeometry=Wr,t.PlaneHelper=class extends Tl{constructor(t,e=1,n=16776960){const i=n,r=new ir;r.setAttribute("position",new Zi([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),r.computeBoundingSphere(),super(r,new xl({color:i,toneMapped:!1})),this.type="PlaneHelper",this.plane=t,this.size=e;const s=new ir;s.setAttribute("position",new Zi([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),s.computeBoundingSphere(),this.add(new Mr(s,new Bi({color:i,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(t){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(t)}dispose(){this.geometry.dispose(),this.material.dispose(),this.children[0].geometry.dispose(),this.children[0].material.dispose()}},t.PointLight=ru,t.PointLightHelper=class extends Mr{constructor(t,e,n){super(new Qc(e,4,2),new Bi({wireframe:!0,fog:!1,toneMapped:!1})),this.light=t,this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}},t.Points=Nl,t.PointsMaterial=Pl,t.PolarGridHelper=class extends Cl{constructor(t=10,e=16,n=8,i=64,r=4473924,s=8947848){r=new Oi(r),s=new Oi(s);const a=[],o=[];if(e>1)for(let n=0;n<e;n++){const i=n/e*(2*Math.PI),l=Math.sin(i)*t,c=Math.cos(i)*t;a.push(0,0,0),a.push(l,0,c);const h=1&n?r:s;o.push(h.r,h.g,h.b),o.push(h.r,h.g,h.b)}for(let e=0;e<n;e++){const l=1&e?r:s,c=t-t/n*e;for(let t=0;t<i;t++){let e=t/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c;a.push(n,0,r),o.push(l.r,l.g,l.b),e=(t+1)/i*(2*Math.PI),n=Math.sin(e)*c,r=Math.cos(e)*c,a.push(n,0,r),o.push(l.r,l.g,l.b)}}const l=new ir;l.setAttribute("position",new Zi(a,3)),l.setAttribute("color",new Zi(o,3));super(l,new xl({vertexColors:!0,toneMapped:!1})),this.type="PolarGridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},t.PolyhedronBufferGeometry=class extends uc{constructor(t,e,n,i){console.warn("THREE.PolyhedronBufferGeometry has been renamed to THREE.PolyhedronGeometry."),super(t,e,n,i)}},t.PolyhedronGeometry=uc,t.PositionalAudio=class extends Lu{constructor(t){super(t),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}disconnect(){super.disconnect(),this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(t){return this.panner.refDistance=t,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(t){return this.panner.rolloffFactor=t,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(t){return this.panner.distanceModel=t,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(t){return this.panner.maxDistance=t,this}setDirectionalCone(t,e,n){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=e,this.panner.coneOuterGain=n,this}updateMatrixWorld(t){if(super.updateMatrixWorld(t),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(Pu,Ru,Iu),Du.set(0,0,1).applyQuaternion(Ru);const e=this.panner;if(e.positionX){const t=this.context.currentTime+this.listener.timeDelta;e.positionX.linearRampToValueAtTime(Pu.x,t),e.positionY.linearRampToValueAtTime(Pu.y,t),e.positionZ.linearRampToValueAtTime(Pu.z,t),e.orientationX.linearRampToValueAtTime(Du.x,t),e.orientationY.linearRampToValueAtTime(Du.y,t),e.orientationZ.linearRampToValueAtTime(Du.z,t)}else e.setPosition(Pu.x,Pu.y,Pu.z),e.setOrientation(Du.x,Du.y,Du.z)}},t.PropertyBinding=Gu,t.PropertyMixer=Uu,t.QuadraticBezierCurve=tc,t.QuadraticBezierCurve3=ec,t.Quaternion=fn,t.QuaternionKeyframeTrack=Dh,t.QuaternionLinearInterpolant=Ih,t.RED_GREEN_RGTC2_Format=oe,t.RED_RGTC1_Format=se,t.REVISION=e,t.RGBADepthPacking=xe,t.RGBAFormat=bt,t.RGBAIntegerFormat=It,t.RGBA_ASTC_10x10_Format=ee,t.RGBA_ASTC_10x5_Format=$t,t.RGBA_ASTC_10x6_Format=Qt,t.RGBA_ASTC_10x8_Format=te,t.RGBA_ASTC_12x10_Format=ne,t.RGBA_ASTC_12x12_Format=ie,t.RGBA_ASTC_4x4_Format=Wt,t.RGBA_ASTC_5x4_Format=jt,t.RGBA_ASTC_5x5_Format=qt,t.RGBA_ASTC_6x5_Format=Xt,t.RGBA_ASTC_6x6_Format=Yt,t.RGBA_ASTC_8x5_Format=Zt,t.RGBA_ASTC_8x6_Format=Jt,t.RGBA_ASTC_8x8_Format=Kt,t.RGBA_BPTC_Format=re,t.RGBA_ETC2_EAC_Format=Ht,t.RGBA_PVRTC_2BPPV1_Format=kt,t.RGBA_PVRTC_4BPPV1_Format=Ft,t.RGBA_S3TC_DXT1_Format=Ut,t.RGBA_S3TC_DXT3_Format=Nt,t.RGBA_S3TC_DXT5_Format=Ot,t.RGB_ETC1_Format=Gt,t.RGB_ETC2_Format=Vt,t.RGB_PVRTC_2BPPV1_Format=Bt,t.RGB_PVRTC_4BPPV1_Format=zt,t.RGB_S3TC_DXT1_Format=Dt,t.RGFormat=Pt,t.RGIntegerFormat=Rt,t.RawShaderMaterial=lh,t.Ray=jn,t.Raycaster=class{constructor(t,e,n=0,i=1/0){this.ray=new jn(t,e),this.near=n,this.far=i,this.camera=null,this.layers=new ii,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(t,e){this.ray.set(t,e)}setFromCamera(t,e){e.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,(e.near+e.far)/(e.near-e.far)).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):console.error("THREE.Raycaster: Unsupported camera type: "+e.type)}intersectObject(t,e=!0,n=[]){return Xu(t,this,n,e),n.sort(qu),n}intersectObjects(t,e=!0,n=[]){for(let i=0,r=t.length;i<r;i++)Xu(t[i],this,n,e);return n.sort(qu),n}},t.RectAreaLight=lu,t.RedFormat=Ct,t.RedIntegerFormat=Lt,t.ReinhardToneMapping=q,t.RepeatWrapping=nt,t.ReplaceStencilOp=7681,t.ReverseSubtractEquation=x,t.RingBufferGeometry=class extends Kc{constructor(t,e,n,i,r,s){console.warn("THREE.RingBufferGeometry has been renamed to THREE.RingGeometry."),super(t,e,n,i,r,s)}},t.RingGeometry=Kc,t.SIGNED_RED_GREEN_RGTC2_Format=le,t.SIGNED_RED_RGTC1_Format=ae,t.SRGBColorSpace=Se,t.Scene=Lo,t.ShaderChunk=jr,t.ShaderLib=Xr,t.ShaderMaterial=Cr,t.ShadowMaterial=oh,t.Shape=_c,t.ShapeBufferGeometry=class extends $c{constructor(t,e){console.warn("THREE.ShapeBufferGeometry has been renamed to THREE.ShapeGeometry."),super(t,e)}},t.ShapeGeometry=$c,t.ShapePath=class{constructor(){this.type="ShapePath",this.color=new Oi,this.subPaths=[],this.currentPath=null}moveTo(t,e){return this.currentPath=new sc,this.subPaths.push(this.currentPath),this.currentPath.moveTo(t,e),this}lineTo(t,e){return this.currentPath.lineTo(t,e),this}quadraticCurveTo(t,e,n,i){return this.currentPath.quadraticCurveTo(t,e,n,i),this}bezierCurveTo(t,e,n,i,r,s){return this.currentPath.bezierCurveTo(t,e,n,i,r,s),this}splineThru(t){return this.currentPath.splineThru(t),this}toShapes(t){function e(t,e){const n=e.length;let i=!1;for(let r=n-1,s=0;s<n;r=s++){let n=e[r],a=e[s],o=a.x-n.x,l=a.y-n.y;if(Math.abs(l)>Number.EPSILON){if(l<0&&(n=e[s],o=-o,a=e[r],l=-l),t.y<n.y||t.y>a.y)continue;if(t.y===n.y){if(t.x===n.x)return!0}else{const e=l*(t.x-n.x)-o*(t.y-n.y);if(0===e)return!0;if(e<0)continue;i=!i}}else{if(t.y!==n.y)continue;if(a.x<=t.x&&t.x<=n.x||n.x<=t.x&&t.x<=a.x)return!0}}return i}const n=Wc.isClockWise,i=this.subPaths;if(0===i.length)return[];let r,s,a;const o=[];if(1===i.length)return s=i[0],a=new _c,a.curves=s.curves,o.push(a),o;let l=!n(i[0].getPoints());l=t?!l:l;const c=[],h=[];let u,d,p=[],m=0;h[m]=void 0,p[m]=[];for(let e=0,a=i.length;e<a;e++)s=i[e],u=s.getPoints(),r=n(u),r=t?!r:r,r?(!l&&h[m]&&m++,h[m]={s:new _c,p:u},h[m].s.curves=s.curves,l&&m++,p[m]=[]):p[m].push({h:s,p:u[0]});if(!h[0])return function(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n],r=new _c;r.curves=i.curves,e.push(r)}return e}(i);if(h.length>1){let t=!1,n=0;for(let t=0,e=h.length;t<e;t++)c[t]=[];for(let i=0,r=h.length;i<r;i++){const r=p[i];for(let s=0;s<r.length;s++){const a=r[s];let o=!0;for(let r=0;r<h.length;r++)e(a.p,h[r].p)&&(i!==r&&n++,o?(o=!1,c[r].push(a)):t=!0);o&&c[i].push(a)}}n>0&&!1===t&&(p=c)}for(let t=0,e=h.length;t<e;t++){a=h[t].s,o.push(a),d=p[t];for(let t=0,e=d.length;t<e;t++)a.holes.push(d[t].h)}return o}},t.ShapeUtils=Wc,t.ShortType=pt,t.Skeleton=cl,t.SkeletonHelper=class extends Cl{constructor(t){const e=ed(t),n=new ir,i=[],r=[],s=new Oi(0,0,1),a=new Oi(0,1,0);for(let t=0;t<e.length;t++){const n=e[t];n.parent&&n.parent.isBone&&(i.push(0,0,0),i.push(0,0,0),r.push(s.r,s.g,s.b),r.push(a.r,a.g,a.b))}n.setAttribute("position",new Zi(i,3)),n.setAttribute("color",new Zi(r,3));super(n,new xl({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.isSkeletonHelper=!0,this.type="SkeletonHelper",this.root=t,this.bones=e,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(t){const e=this.bones,n=this.geometry,i=n.getAttribute("position");td.copy(this.root.matrixWorld).invert();for(let t=0,n=0;t<e.length;t++){const r=e[t];r.parent&&r.parent.isBone&&(Qu.multiplyMatrices(td,r.matrixWorld),$u.setFromMatrixPosition(Qu),i.setXYZ(n,$u.x,$u.y,$u.z),Qu.multiplyMatrices(td,r.parent.matrixWorld),$u.setFromMatrixPosition(Qu),i.setXYZ(n+1,$u.x,$u.y,$u.z),n+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(t)}dispose(){this.geometry.dispose(),this.material.dispose()}},t.SkinnedMesh=rl,t.Source=on,t.Sphere=zn,t.SphereBufferGeometry=class extends Qc{constructor(t,e,n,i,r,s,a){console.warn("THREE.SphereBufferGeometry has been renamed to THREE.SphereGeometry."),super(t,e,n,i,r,s,a)}},t.SphereGeometry=Qc,t.Spherical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.phi=e,this.theta=n,this}set(t,e,n){return this.radius=t,this.phi=e,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){const t=1e-6;return this.phi=Math.max(t,Math.min(Math.PI-t,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+e*e+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(Ne(e/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}},t.SphericalHarmonics3=cu,t.SplineCurve=nc,t.SpotLight=Qh,t.SpotLightHelper=class extends vi{constructor(t,e){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=e,this.type="SpotLightHelper";const n=new ir,i=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let t=0,e=1,n=32;t<n;t++,e++){const r=t/n*Math.PI*2,s=e/n*Math.PI*2;i.push(Math.cos(r),Math.sin(r),1,Math.cos(s),Math.sin(s),1)}n.setAttribute("position",new Zi(i,3));const r=new xl({fog:!1,toneMapped:!1});this.cone=new Cl(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1);const t=this.light.distance?this.light.distance:1e3,e=t*Math.tan(this.light.angle);this.cone.scale.set(e,e,t),Ku.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Ku),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}},t.Sprite=Xo,t.SpriteMaterial=Do,t.SrcAlphaFactor=E,t.SrcAlphaSaturateFactor=I,t.SrcColorFactor=w,t.StaticCopyUsage=35046,t.StaticDrawUsage=Ee,t.StaticReadUsage=35045,t.StereoCamera=class{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new Pr,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new Pr,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(t){const e=this._cache;if(e.focus!==t.focus||e.fov!==t.fov||e.aspect!==t.aspect*this.aspect||e.near!==t.near||e.far!==t.far||e.zoom!==t.zoom||e.eyeSep!==this.eyeSep){e.focus=t.focus,e.fov=t.fov,e.aspect=t.aspect*this.aspect,e.near=t.near,e.far=t.far,e.zoom=t.zoom,e.eyeSep=this.eyeSep,Su.copy(t.projectionMatrix);const n=e.eyeSep/2,i=n*e.near/e.focus,r=e.near*Math.tan(Ie*e.fov*.5)/e.zoom;let s,a;Mu.elements[12]=-n,yu.elements[12]=n,s=-r*e.aspect+i,a=r*e.aspect+i,Su.elements[0]=2*e.near/(a-s),Su.elements[8]=(a+s)/(a-s),this.cameraL.projectionMatrix.copy(Su),s=-r*e.aspect-i,a=r*e.aspect-i,Su.elements[0]=2*e.near/(a-s),Su.elements[8]=(a+s)/(a-s),this.cameraR.projectionMatrix.copy(Su)}this.cameraL.matrixWorld.copy(t.matrixWorld).multiply(Mu),this.cameraR.matrixWorld.copy(t.matrixWorld).multiply(yu)}},t.StreamCopyUsage=35042,t.StreamDrawUsage=35040,t.StreamReadUsage=35041,t.StringKeyframeTrack=Uh,t.SubtractEquation=_,t.SubtractiveBlending=m,t.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},t.TangentSpaceNormalMap=ye,t.TetrahedronBufferGeometry=class extends th{constructor(t,e){console.warn("THREE.TetrahedronBufferGeometry has been renamed to THREE.TetrahedronGeometry."),super(t,e)}},t.TetrahedronGeometry=th,t.Texture=hn,t.TextureLoader=class extends Gh{constructor(t){super(t)}load(t,e,n,i){const r=new hn,s=new jh(this.manager);return s.setCrossOrigin(this.crossOrigin),s.setPath(this.path),s.load(t,function(t){r.image=t,r.needsUpdate=!0,void 0!==e&&e(r)},n,i),r}},t.TorusBufferGeometry=class extends eh{constructor(t,e,n,i,r){console.warn("THREE.TorusBufferGeometry has been renamed to THREE.TorusGeometry."),super(t,e,n,i,r)}},t.TorusGeometry=eh,t.TorusKnotBufferGeometry=class extends nh{constructor(t,e,n,i,r,s){console.warn("THREE.TorusKnotBufferGeometry has been renamed to THREE.TorusKnotGeometry."),super(t,e,n,i,r,s)}},t.TorusKnotGeometry=nh,t.Triangle=Li,t.TriangleFanDrawMode=2,t.TriangleStripDrawMode=1,t.TrianglesDrawMode=0,t.TubeBufferGeometry=class extends ih{constructor(t,e,n,i,r){console.warn("THREE.TubeBufferGeometry has been renamed to THREE.TubeGeometry."),super(t,e,n,i,r)}},t.TubeGeometry=ih,t.TwoPassDoubleSide=2,t.UVMapping=J,t.Uint16BufferAttribute=Xi,t.Uint32BufferAttribute=Yi,t.Uint8BufferAttribute=class extends qi{constructor(t,e,n){super(new Uint8Array(t),e,n)}},t.Uint8ClampedBufferAttribute=class extends qi{constructor(t,e,n){super(new Uint8ClampedArray(t),e,n)}},t.Uniform=Wu,t.UniformsGroup=class extends Le{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:ju++}),this.name="",this.usage=Ee,this.uniforms=[]}add(t){return this.uniforms.push(t),this}remove(t){const e=this.uniforms.indexOf(t);return-1!==e&&this.uniforms.splice(e,1),this}setName(t){return this.name=t,this}setUsage(t){return this.usage=t,this}dispose(){return this.dispatchEvent({type:"dispose"}),this}copy(t){this.name=t.name,this.usage=t.usage;const e=t.uniforms;this.uniforms.length=0;for(let t=0,n=e.length;t<n;t++)this.uniforms.push(e[t].clone());return this}clone(){return new this.constructor().copy(this)}},t.UniformsLib=qr,t.UniformsUtils=Ar,t.UnsignedByteType=ut,t.UnsignedInt248Type=Mt,t.UnsignedIntType=gt,t.UnsignedShort4444Type=xt,t.UnsignedShort5551Type=yt,t.UnsignedShortType=mt,t.VSMShadowMap=o,t.Vector2=We,t.Vector3=gn,t.Vector4=un,t.VectorKeyframeTrack=Nh,t.VideoTexture=class extends hn{constructor(t,e,n,i,r,s,a,o,l){super(t,e,n,i,r,s,a,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==s?s:lt,this.magFilter=void 0!==r?r:lt,this.generateMipmaps=!1;const c=this;"requestVideoFrameCallback"in t&&t.requestVideoFrameCallback(function e(){c.needsUpdate=!0,t.requestVideoFrameCallback(e)})}clone(){return new this.constructor(this.image).copy(this)}update(){const t=this.image;!1==="requestVideoFrameCallback"in t&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}},t.WebGL1Renderer=Eo,t.WebGL3DRenderTarget=class extends dn{constructor(t=1,e=1,n=1){super(t,e),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new mn(null,t,e,n),this.texture.isRenderTargetTexture=!0}},t.WebGLArrayRenderTarget=class extends dn{constructor(t=1,e=1,n=1){super(t,e),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new pn(null,t,e,n),this.texture.isRenderTargetTexture=!0}},t.WebGLCubeRenderTarget=Ur,t.WebGLMultipleRenderTargets=class extends dn{constructor(t=1,e=1,n=1,i={}){super(t,e,i),this.isWebGLMultipleRenderTargets=!0;const r=this.texture;this.texture=[];for(let t=0;t<n;t++)this.texture[t]=r.clone(),this.texture[t].isRenderTargetTexture=!0}setSize(t,e,n=1){if(this.width!==t||this.height!==e||this.depth!==n){this.width=t,this.height=e,this.depth=n;for(let i=0,r=this.texture.length;i<r;i++)this.texture[i].image.width=t,this.texture[i].image.height=e,this.texture[i].image.depth=n;this.dispose()}return this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e),this}copy(t){this.dispose(),this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.texture.length=0;for(let e=0,n=t.texture.length;e<n;e++)this.texture[e]=t.texture[e].clone(),this.texture[e].isRenderTargetTexture=!0;return this}},t.WebGLRenderTarget=dn,t.WebGLRenderer=To,t.WebGLUtils=fo,t.WireframeGeometry=rh,t.WrapAroundEnding=me,t.ZeroCurvatureEnding=de,t.ZeroFactor=S,t.ZeroSlopeEnding=pe,t.ZeroStencilOp=0,t._SRGBAFormat=Ce,t.sRGBEncoding=_e});(function(t,e){e(t.MeshBVHLib=t.MeshBVHLib||{},t.THREE=t.THREE||{})})(this,function(exports,three){const CENTER=0;const AVERAGE=1;const SAH=2;const NOT_INTERSECTED=0;const INTERSECTED=1;const CONTAINED=2;const TRIANGLE_INTERSECT_COST=1.25;const TRAVERSAL_COST=1;const BYTES_PER_NODE=6*4+4+4;const IS_LEAFNODE_FLAG=65535;const FLOAT32_EPSILON=Math.pow(2,-24);class MeshBVHNode{constructor(){}}function arrayToBox(nodeIndex32,array,target){target.min.x=array[nodeIndex32];target.min.y=array[nodeIndex32+1];target.min.z=array[nodeIndex32+2];target.max.x=array[nodeIndex32+3];target.max.y=array[nodeIndex32+4];target.max.z=array[nodeIndex32+5];return target}function getLongestEdgeIndex(bounds){let splitDimIdx=-1;let splitDist=-Infinity;for(let i=0;i<3;i++){const dist=bounds[i+3]-bounds[i];if(dist>splitDist){splitDist=dist;splitDimIdx=i}}return splitDimIdx}function copyBounds(source,target){target.set(source)}function unionBounds(a,b,target){let aVal,bVal;for(let d=0;d<3;d++){const d3=d+3;aVal=a[d];bVal=b[d];target[d]=aVal<bVal?aVal:bVal;aVal=a[d3];bVal=b[d3];target[d3]=aVal>bVal?aVal:bVal}}function expandByTriangleBounds(startIndex,triangleBounds,bounds){for(let d=0;d<3;d++){const tCenter=triangleBounds[startIndex+2*d];const tHalf=triangleBounds[startIndex+2*d+1];const tMin=tCenter-tHalf;const tMax=tCenter+tHalf;if(tMin<bounds[d]){bounds[d]=tMin}if(tMax>bounds[d+3]){bounds[d+3]=tMax}}}function computeSurfaceArea(bounds){const d0=bounds[3]-bounds[0];const d1=bounds[4]-bounds[1];const d2=bounds[5]-bounds[2];return 2*(d0*d1+d1*d2+d2*d0)}function ensureIndex(geo,options){if(!geo.index){const vertexCount=geo.attributes.position.count;const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;let index;if(vertexCount>65535){index=new Uint32Array(new BufferConstructor(4*vertexCount))}else{index=new Uint16Array(new BufferConstructor(2*vertexCount))}geo.setIndex(new three.BufferAttribute(index,1));for(let i=0;i<vertexCount;i++){index[i]=i}}}function getRootIndexRanges(geo){if(!geo.groups||!geo.groups.length){return[{offset:0,count:geo.index.count/3}]}const ranges=[];const rangeBoundaries=new Set;for(const group of geo.groups){rangeBoundaries.add(group.start);rangeBoundaries.add(group.start+group.count)}const sortedBoundaries=Array.from(rangeBoundaries.values()).sort((a,b)=>a-b);for(let i=0;i<sortedBoundaries.length-1;i++){const start=sortedBoundaries[i],end=sortedBoundaries[i+1];ranges.push({offset:start/3,count:(end-start)/3})}return ranges}function getBounds(triangleBounds,offset,count,target,centroidTarget=null){let minx=Infinity;let miny=Infinity;let minz=Infinity;let maxx=-Infinity;let maxy=-Infinity;let maxz=-Infinity;let cminx=Infinity;let cminy=Infinity;let cminz=Infinity;let cmaxx=-Infinity;let cmaxy=-Infinity;let cmaxz=-Infinity;const includeCentroid=centroidTarget!==null;for(let i=offset*6,end=(offset+count)*6;i<end;i+=6){const cx=triangleBounds[i+0];const hx=triangleBounds[i+1];const lx=cx-hx;const rx=cx+hx;if(lx<minx)minx=lx;if(rx>maxx)maxx=rx;if(includeCentroid&&cx<cminx)cminx=cx;if(includeCentroid&&cx>cmaxx)cmaxx=cx;const cy=triangleBounds[i+2];const hy=triangleBounds[i+3];const ly=cy-hy;const ry=cy+hy;if(ly<miny)miny=ly;if(ry>maxy)maxy=ry;if(includeCentroid&&cy<cminy)cminy=cy;if(includeCentroid&&cy>cmaxy)cmaxy=cy;const cz=triangleBounds[i+4];const hz=triangleBounds[i+5];const lz=cz-hz;const rz=cz+hz;if(lz<minz)minz=lz;if(rz>maxz)maxz=rz;if(includeCentroid&&cz<cminz)cminz=cz;if(includeCentroid&&cz>cmaxz)cmaxz=cz}target[0]=minx;target[1]=miny;target[2]=minz;target[3]=maxx;target[4]=maxy;target[5]=maxz;if(includeCentroid){centroidTarget[0]=cminx;centroidTarget[1]=cminy;centroidTarget[2]=cminz;centroidTarget[3]=cmaxx;centroidTarget[4]=cmaxy;centroidTarget[5]=cmaxz}}function getCentroidBounds(triangleBounds,offset,count,centroidTarget){let cminx=Infinity;let cminy=Infinity;let cminz=Infinity;let cmaxx=-Infinity;let cmaxy=-Infinity;let cmaxz=-Infinity;for(let i=offset*6,end=(offset+count)*6;i<end;i+=6){const cx=triangleBounds[i+0];if(cx<cminx)cminx=cx;if(cx>cmaxx)cmaxx=cx;const cy=triangleBounds[i+2];if(cy<cminy)cminy=cy;if(cy>cmaxy)cmaxy=cy;const cz=triangleBounds[i+4];if(cz<cminz)cminz=cz;if(cz>cmaxz)cmaxz=cz}centroidTarget[0]=cminx;centroidTarget[1]=cminy;centroidTarget[2]=cminz;centroidTarget[3]=cmaxx;centroidTarget[4]=cmaxy;centroidTarget[5]=cmaxz}function partition(index,triangleBounds,offset,count,split){let left=offset;let right=offset+count-1;const pos=split.pos;const axisOffset=split.axis*2;while(true){while(left<=right&&triangleBounds[left*6+axisOffset]<pos){left++}while(left<=right&&triangleBounds[right*6+axisOffset]>=pos){right--}if(left<right){for(let i=0;i<3;i++){let t0=index[left*3+i];index[left*3+i]=index[right*3+i];index[right*3+i]=t0;let t1=triangleBounds[left*6+i*2+0];triangleBounds[left*6+i*2+0]=triangleBounds[right*6+i*2+0];triangleBounds[right*6+i*2+0]=t1;let t2=triangleBounds[left*6+i*2+1];triangleBounds[left*6+i*2+1]=triangleBounds[right*6+i*2+1];triangleBounds[right*6+i*2+1]=t2}left++;right--}else{return left}}}const BIN_COUNT=32;const binsSort=(a,b)=>a.candidate-b.candidate;const sahBins=new Array(BIN_COUNT).fill().map(()=>{return{count:0,bounds:new Float32Array(6),rightCacheBounds:new Float32Array(6),leftCacheBounds:new Float32Array(6),candidate:0}});const leftBounds=new Float32Array(6);function getOptimalSplit(nodeBoundingData,centroidBoundingData,triangleBounds,offset,count,strategy){let axis=-1;let pos=0;if(strategy===CENTER){axis=getLongestEdgeIndex(centroidBoundingData);if(axis!==-1){pos=(centroidBoundingData[axis]+centroidBoundingData[axis+3])/2}}else if(strategy===AVERAGE){axis=getLongestEdgeIndex(nodeBoundingData);if(axis!==-1){pos=getAverage(triangleBounds,offset,count,axis)}}else if(strategy===SAH){const rootSurfaceArea=computeSurfaceArea(nodeBoundingData);let bestCost=TRIANGLE_INTERSECT_COST*count;const cStart=offset*6;const cEnd=(offset+count)*6;for(let a=0;a<3;a++){const axisLeft=centroidBoundingData[a];const axisRight=centroidBoundingData[a+3];const axisLength=axisRight-axisLeft;const binWidth=axisLength/BIN_COUNT;if(count<BIN_COUNT/4){const truncatedBins=[...sahBins];truncatedBins.length=count;let b=0;for(let c=cStart;c<cEnd;c+=6,b++){const bin=truncatedBins[b];bin.candidate=triangleBounds[c+2*a];bin.count=0;const{bounds,leftCacheBounds,rightCacheBounds}=bin;for(let d=0;d<3;d++){rightCacheBounds[d]=Infinity;rightCacheBounds[d+3]=-Infinity;leftCacheBounds[d]=Infinity;leftCacheBounds[d+3]=-Infinity;bounds[d]=Infinity;bounds[d+3]=-Infinity}expandByTriangleBounds(c,triangleBounds,bounds)}truncatedBins.sort(binsSort);let splitCount=count;for(let bi=0;bi<splitCount;bi++){const bin=truncatedBins[bi];while(bi+1<splitCount&&truncatedBins[bi+1].candidate===bin.candidate){truncatedBins.splice(bi+1,1);splitCount--}}for(let c=cStart;c<cEnd;c+=6){const center=triangleBounds[c+2*a];for(let bi=0;bi<splitCount;bi++){const bin=truncatedBins[bi];if(center>=bin.candidate){expandByTriangleBounds(c,triangleBounds,bin.rightCacheBounds)}else{expandByTriangleBounds(c,triangleBounds,bin.leftCacheBounds);bin.count++}}}for(let bi=0;bi<splitCount;bi++){const bin=truncatedBins[bi];const leftCount=bin.count;const rightCount=count-bin.count;const leftBounds=bin.leftCacheBounds;const rightBounds=bin.rightCacheBounds;let leftProb=0;if(leftCount!==0){leftProb=computeSurfaceArea(leftBounds)/rootSurfaceArea}let rightProb=0;if(rightCount!==0){rightProb=computeSurfaceArea(rightBounds)/rootSurfaceArea}const cost=TRAVERSAL_COST+TRIANGLE_INTERSECT_COST*(leftProb*leftCount+rightProb*rightCount);if(cost<bestCost){axis=a;bestCost=cost;pos=bin.candidate}}}else{for(let i=0;i<BIN_COUNT;i++){const bin=sahBins[i];bin.count=0;bin.candidate=axisLeft+binWidth+i*binWidth;const bounds=bin.bounds;for(let d=0;d<3;d++){bounds[d]=Infinity;bounds[d+3]=-Infinity}}for(let c=cStart;c<cEnd;c+=6){const triCenter=triangleBounds[c+2*a];const relativeCenter=triCenter-axisLeft;let binIndex=~~(relativeCenter/binWidth);if(binIndex>=BIN_COUNT)binIndex=BIN_COUNT-1;const bin=sahBins[binIndex];bin.count++;expandByTriangleBounds(c,triangleBounds,bin.bounds)}const lastBin=sahBins[BIN_COUNT-1];copyBounds(lastBin.bounds,lastBin.rightCacheBounds);for(let i=BIN_COUNT-2;i>=0;i--){const bin=sahBins[i];const nextBin=sahBins[i+1];unionBounds(bin.bounds,nextBin.rightCacheBounds,bin.rightCacheBounds)}let leftCount=0;for(let i=0;i<BIN_COUNT-1;i++){const bin=sahBins[i];const binCount=bin.count;const bounds=bin.bounds;const nextBin=sahBins[i+1];const rightBounds=nextBin.rightCacheBounds;if(binCount!==0){if(leftCount===0){copyBounds(bounds,leftBounds)}else{unionBounds(bounds,leftBounds,leftBounds)}}leftCount+=binCount;let leftProb=0;let rightProb=0;if(leftCount!==0){leftProb=computeSurfaceArea(leftBounds)/rootSurfaceArea}const rightCount=count-leftCount;if(rightCount!==0){rightProb=computeSurfaceArea(rightBounds)/rootSurfaceArea}const cost=TRAVERSAL_COST+TRIANGLE_INTERSECT_COST*(leftProb*leftCount+rightProb*rightCount);if(cost<bestCost){axis=a;bestCost=cost;pos=bin.candidate}}}}}else{console.warn(`MeshBVH: Invalid build strategy value ${strategy} used.`)}return{axis,pos}}function getAverage(triangleBounds,offset,count,axis){let avg=0;for(let i=offset,end=offset+count;i<end;i++){avg+=triangleBounds[i*6+axis*2]}return avg/count}function computeTriangleBounds(geo,fullBounds){const posAttr=geo.attributes.position;const index=geo.index.array;const triCount=index.length/3;const triangleBounds=new Float32Array(triCount*6);const normalized=posAttr.normalized;const posArr=posAttr.array;const bufferOffset=posAttr.offset||0;let stride=3;if(posAttr.isInterleavedBufferAttribute){stride=posAttr.data.stride}const getters=["getX","getY","getZ"];for(let tri=0;tri<triCount;tri++){const tri3=tri*3;const tri6=tri*6;let ai,bi,ci;if(normalized){ai=index[tri3+0];bi=index[tri3+1];ci=index[tri3+2]}else{ai=index[tri3+0]*stride+bufferOffset;bi=index[tri3+1]*stride+bufferOffset;ci=index[tri3+2]*stride+bufferOffset}for(let el=0;el<3;el++){let a,b,c;if(normalized){a=posAttr[getters[el]](ai);b=posAttr[getters[el]](bi);c=posAttr[getters[el]](ci)}else{a=posArr[ai+el];b=posArr[bi+el];c=posArr[ci+el]}let min=a;if(b<min)min=b;if(c<min)min=c;let max=a;if(b>max)max=b;if(c>max)max=c;const halfExtents=(max-min)/2;const el2=el*2;triangleBounds[tri6+el2+0]=min+halfExtents;triangleBounds[tri6+el2+1]=halfExtents+(Math.abs(min)+halfExtents)*FLOAT32_EPSILON;if(min<fullBounds[el])fullBounds[el]=min;if(max>fullBounds[el+3])fullBounds[el+3]=max}}return triangleBounds}function buildTree(geo,options){function triggerProgress(trianglesProcessed){if(onProgress){onProgress(trianglesProcessed/totalTriangles)}}function splitNode(node,offset,count,centroidBoundingData=null,depth=0){if(!reachedMaxDepth&&depth>=maxDepth){reachedMaxDepth=true;if(verbose){console.warn(`MeshBVH: Max depth of ${maxDepth} reached when generating BVH. Consider increasing maxDepth.`);console.warn(geo)}}if(count<=maxLeafTris||depth>=maxDepth){triggerProgress(offset+count);node.offset=offset;node.count=count;return node}const split=getOptimalSplit(node.boundingData,centroidBoundingData,triangleBounds,offset,count,strategy);if(split.axis===-1){triggerProgress(offset+count);node.offset=offset;node.count=count;return node}const splitOffset=partition(indexArray,triangleBounds,offset,count,split);if(splitOffset===offset||splitOffset===offset+count){triggerProgress(offset+count);node.offset=offset;node.count=count}else{node.splitAxis=split.axis;const left=new MeshBVHNode;const lstart=offset;const lcount=splitOffset-offset;node.left=left;left.boundingData=new Float32Array(6);getBounds(triangleBounds,lstart,lcount,left.boundingData,cacheCentroidBoundingData);splitNode(left,lstart,lcount,cacheCentroidBoundingData,depth+1);const right=new MeshBVHNode;const rstart=splitOffset;const rcount=count-lcount;node.right=right;right.boundingData=new Float32Array(6);getBounds(triangleBounds,rstart,rcount,right.boundingData,cacheCentroidBoundingData);splitNode(right,rstart,rcount,cacheCentroidBoundingData,depth+1)}return node}ensureIndex(geo,options);const fullBounds=new Float32Array(6);const cacheCentroidBoundingData=new Float32Array(6);const triangleBounds=computeTriangleBounds(geo,fullBounds);const indexArray=geo.index.array;const maxDepth=options.maxDepth;const verbose=options.verbose;const maxLeafTris=options.maxLeafTris;const strategy=options.strategy;const onProgress=options.onProgress;const totalTriangles=geo.index.count/3;let reachedMaxDepth=false;const roots=[];const ranges=getRootIndexRanges(geo);if(ranges.length===1){const range=ranges[0];const root=new MeshBVHNode;root.boundingData=fullBounds;getCentroidBounds(triangleBounds,range.offset,range.count,cacheCentroidBoundingData);splitNode(root,range.offset,range.count,cacheCentroidBoundingData);roots.push(root)}else{for(let range of ranges){const root=new MeshBVHNode;root.boundingData=new Float32Array(6);getBounds(triangleBounds,range.offset,range.count,root.boundingData,cacheCentroidBoundingData);splitNode(root,range.offset,range.count,cacheCentroidBoundingData);roots.push(root)}}return roots}function buildPackedTree(geo,options){const roots=buildTree(geo,options);let float32Array;let uint32Array;let uint16Array;const packedRoots=[];const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;for(let i=0;i<roots.length;i++){const root=roots[i];let nodeCount=countNodes(root);const buffer=new BufferConstructor(BYTES_PER_NODE*nodeCount);float32Array=new Float32Array(buffer);uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);populateBuffer(0,root);packedRoots.push(buffer)}return packedRoots;function countNodes(node){if(node.count){return 1}else{return 1+countNodes(node.left)+countNodes(node.right)}}function populateBuffer(byteOffset,node){const stride4Offset=byteOffset/4;const stride2Offset=byteOffset/2;const isLeaf=!!node.count;const boundingData=node.boundingData;for(let i=0;i<6;i++){float32Array[stride4Offset+i]=boundingData[i]}if(isLeaf){const offset=node.offset;const count=node.count;uint32Array[stride4Offset+6]=offset;uint16Array[stride2Offset+14]=count;uint16Array[stride2Offset+15]=IS_LEAFNODE_FLAG;return byteOffset+BYTES_PER_NODE}else{const left=node.left;const right=node.right;const splitAxis=node.splitAxis;let nextUnusedPointer;nextUnusedPointer=populateBuffer(byteOffset+BYTES_PER_NODE,left);if(nextUnusedPointer/4>Math.pow(2,32)){throw new Error("MeshBVH: Cannot store child pointer greater than 32 bits.")}uint32Array[stride4Offset+6]=nextUnusedPointer/4;nextUnusedPointer=populateBuffer(nextUnusedPointer,right);uint32Array[stride4Offset+7]=splitAxis;return nextUnusedPointer}}}class SeparatingAxisBounds{constructor(){this.min=Infinity;this.max=-Infinity}setFromPointsField(points,field){let min=Infinity;let max=-Infinity;for(let i=0,l=points.length;i<l;i++){const p=points[i];const val=p[field];min=val<min?val:min;max=val>max?val:max}this.min=min;this.max=max}setFromPoints(axis,points){let min=Infinity;let max=-Infinity;for(let i=0,l=points.length;i<l;i++){const p=points[i];const val=axis.dot(p);min=val<min?val:min;max=val>max?val:max}this.min=min;this.max=max}isSeparated(other){return this.min>other.max||other.min>this.max}}SeparatingAxisBounds.prototype.setFromBox=function(){const p=new three.Vector3;return function setFromBox(axis,box){const boxMin=box.min;const boxMax=box.max;let min=Infinity;let max=-Infinity;for(let x=0;x<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=1;z++){p.x=boxMin.x*x+boxMax.x*(1-x);p.y=boxMin.y*y+boxMax.y*(1-y);p.z=boxMin.z*z+boxMax.z*(1-z);const val=axis.dot(p);min=Math.min(val,min);max=Math.max(val,max)}}}this.min=min;this.max=max}}();const areIntersecting=function(){const cacheSatBounds=new SeparatingAxisBounds;return function areIntersecting(shape1,shape2){const points1=shape1.points;const satAxes1=shape1.satAxes;const satBounds1=shape1.satBounds;const points2=shape2.points;const satAxes2=shape2.satAxes;const satBounds2=shape2.satBounds;for(let i=0;i<3;i++){const sb=satBounds1[i];const sa=satAxes1[i];cacheSatBounds.setFromPoints(sa,points2);if(sb.isSeparated(cacheSatBounds))return false}for(let i=0;i<3;i++){const sb=satBounds2[i];const sa=satAxes2[i];cacheSatBounds.setFromPoints(sa,points1);if(sb.isSeparated(cacheSatBounds))return false}}}();const closestPointLineToLine=function(){const dir1=new three.Vector3;const dir2=new three.Vector3;const v02=new three.Vector3;return function closestPointLineToLine(l1,l2,result){const v0=l1.start;const v10=dir1;const v2=l2.start;const v32=dir2;v02.subVectors(v0,v2);dir1.subVectors(l1.end,l1.start);dir2.subVectors(l2.end,l2.start);const d0232=v02.dot(v32);const d3210=v32.dot(v10);const d3232=v32.dot(v32);const d0210=v02.dot(v10);const d1010=v10.dot(v10);const denom=d1010*d3232-d3210*d3210;let d,d2;if(denom!==0){d=(d0232*d3210-d0210*d3232)/denom}else{d=0}d2=(d0232+d*d3210)/d3232;result.x=d;result.y=d2}}();const closestPointsSegmentToSegment=function(){const paramResult=new three.Vector2;const temp1=new three.Vector3;const temp2=new three.Vector3;return function closestPointsSegmentToSegment(l1,l2,target1,target2){closestPointLineToLine(l1,l2,paramResult);let d=paramResult.x;let d2=paramResult.y;if(d>=0&&d<=1&&d2>=0&&d2<=1){l1.at(d,target1);l2.at(d2,target2);return}else if(d>=0&&d<=1){if(d2<0){l2.at(0,target2)}else{l2.at(1,target2)}l1.closestPointToPoint(target2,true,target1);return}else if(d2>=0&&d2<=1){if(d<0){l1.at(0,target1)}else{l1.at(1,target1)}l2.closestPointToPoint(target1,true,target2);return}else{let p;if(d<0){p=l1.start}else{p=l1.end}let p2;if(d2<0){p2=l2.start}else{p2=l2.end}const closestPoint=temp1;const closestPoint2=temp2;l1.closestPointToPoint(p2,true,temp1);l2.closestPointToPoint(p,true,temp2);if(closestPoint.distanceToSquared(p2)<=closestPoint2.distanceToSquared(p)){target1.copy(closestPoint);target2.copy(p2);return}else{target1.copy(p);target2.copy(closestPoint2);return}}}}();const sphereIntersectTriangle=function(){const closestPointTemp=new three.Vector3;const projectedPointTemp=new three.Vector3;const planeTemp=new three.Plane;const lineTemp=new three.Line3;return function sphereIntersectTriangle(sphere,triangle){const{radius,center}=sphere;const{a,b,c}=triangle;lineTemp.start=a;lineTemp.end=b;const closestPoint1=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint1.distanceTo(center)<=radius)return true;lineTemp.start=a;lineTemp.end=c;const closestPoint2=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint2.distanceTo(center)<=radius)return true;lineTemp.start=b;lineTemp.end=c;const closestPoint3=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint3.distanceTo(center)<=radius)return true;const plane=triangle.getPlane(planeTemp);const dp=Math.abs(plane.distanceToPoint(center));if(dp<=radius){const pp=plane.projectPoint(center,projectedPointTemp);const cp=triangle.containsPoint(pp);if(cp)return true}return false}}();const DIST_EPSILON=1e-15;function isNearZero(value){return Math.abs(value)<DIST_EPSILON}class ExtendedTriangle extends three.Triangle{constructor(...args){super(...args);this.isExtendedTriangle=true;this.satAxes=new Array(4).fill().map(()=>new three.Vector3);this.satBounds=new Array(4).fill().map(()=>new SeparatingAxisBounds);this.points=[this.a,this.b,this.c];this.sphere=new three.Sphere;this.plane=new three.Plane;this.needsUpdate=true}intersectsSphere(sphere){return sphereIntersectTriangle(sphere,this)}update(){const a=this.a;const b=this.b;const c=this.c;const points=this.points;const satAxes=this.satAxes;const satBounds=this.satBounds;const axis0=satAxes[0];const sab0=satBounds[0];this.getNormal(axis0);sab0.setFromPoints(axis0,points);const axis1=satAxes[1];const sab1=satBounds[1];axis1.subVectors(a,b);sab1.setFromPoints(axis1,points);const axis2=satAxes[2];const sab2=satBounds[2];axis2.subVectors(b,c);sab2.setFromPoints(axis2,points);const axis3=satAxes[3];const sab3=satBounds[3];axis3.subVectors(c,a);sab3.setFromPoints(axis3,points);this.sphere.setFromPoints(this.points);this.plane.setFromNormalAndCoplanarPoint(axis0,a);this.needsUpdate=false}}ExtendedTriangle.prototype.closestPointToSegment=function(){const point1=new three.Vector3;const point2=new three.Vector3;const edge=new three.Line3;return function distanceToSegment(segment,target1=null,target2=null){const{start,end}=segment;const points=this.points;let distSq;let closestDistanceSq=Infinity;for(let i=0;i<3;i++){const nexti=(i+1)%3;edge.start.copy(points[i]);edge.end.copy(points[nexti]);closestPointsSegmentToSegment(edge,segment,point1,point2);distSq=point1.distanceToSquared(point2);if(distSq<closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(point2)}}this.closestPointToPoint(start,point1);distSq=start.distanceToSquared(point1);if(distSq<closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(start)}this.closestPointToPoint(end,point1);distSq=end.distanceToSquared(point1);if(distSq<closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(end)}return Math.sqrt(closestDistanceSq)}}();ExtendedTriangle.prototype.intersectsTriangle=function(){const saTri2=new ExtendedTriangle;const arr1=new Array(3);const arr2=new Array(3);const cachedSatBounds=new SeparatingAxisBounds;const cachedSatBounds2=new SeparatingAxisBounds;const cachedAxis=new three.Vector3;const dir1=new three.Vector3;const dir2=new three.Vector3;const tempDir=new three.Vector3;const edge=new three.Line3;const edge1=new three.Line3;const edge2=new three.Line3;return function intersectsTriangle(other,target=null,suppressLog=false){if(this.needsUpdate){this.update()}if(!other.isExtendedTriangle){saTri2.copy(other);saTri2.update();other=saTri2}else if(other.needsUpdate){other.update()}const plane1=this.plane;const plane2=other.plane;if(Math.abs(plane1.normal.dot(plane2.normal))>1-1e-10){const satBounds1=this.satBounds;const satAxes1=this.satAxes;arr2[0]=other.a;arr2[1]=other.b;arr2[2]=other.c;for(let i=0;i<4;i++){const sb=satBounds1[i];const sa=satAxes1[i];cachedSatBounds.setFromPoints(sa,arr2);if(sb.isSeparated(cachedSatBounds))return false}const satBounds2=other.satBounds;const satAxes2=other.satAxes;arr1[0]=this.a;arr1[1]=this.b;arr1[2]=this.c;for(let i=0;i<4;i++){const sb=satBounds2[i];const sa=satAxes2[i];cachedSatBounds.setFromPoints(sa,arr1);if(sb.isSeparated(cachedSatBounds))return false}for(let i=0;i<4;i++){const sa1=satAxes1[i];for(let i2=0;i2<4;i2++){const sa2=satAxes2[i2];cachedAxis.crossVectors(sa1,sa2);cachedSatBounds.setFromPoints(cachedAxis,arr1);cachedSatBounds2.setFromPoints(cachedAxis,arr2);if(cachedSatBounds.isSeparated(cachedSatBounds2))return false}}if(target){if(!suppressLog){console.warn("ExtendedTriangle.intersectsTriangle: Triangles are coplanar which does not support an output edge. Setting edge to 0, 0, 0.")}target.start.set(0,0,0);target.end.set(0,0,0)}return true}else{const points1=this.points;let found1=false;let count1=0;for(let i=0;i<3;i++){const p=points1[i];const pNext=points1[(i+1)%3];edge.start.copy(p);edge.end.copy(pNext);edge.delta(dir1);const targetPoint=found1?edge1.start:edge1.end;const startIntersects=isNearZero(plane2.distanceToPoint(p));if(isNearZero(plane2.normal.dot(dir1))&&startIntersects){edge1.copy(edge);count1=2;break}const doesIntersect=plane2.intersectLine(edge,targetPoint)||startIntersects;if(doesIntersect&&!isNearZero(targetPoint.distanceTo(pNext))){count1++;if(found1){break}found1=true}}if(count1===1&&other.containsPoint(edge1.end)){if(target){target.start.copy(edge1.end);target.end.copy(edge1.end)}return true}else if(count1!==2){return false}const points2=other.points;let found2=false;let count2=0;for(let i=0;i<3;i++){const p=points2[i];const pNext=points2[(i+1)%3];edge.start.copy(p);edge.end.copy(pNext);edge.delta(dir2);const targetPoint=found2?edge2.start:edge2.end;const startIntersects=isNearZero(plane1.distanceToPoint(p));if(isNearZero(plane1.normal.dot(dir2))&&startIntersects){edge2.copy(edge);count2=2;break}const doesIntersect=plane1.intersectLine(edge,targetPoint)||startIntersects;if(doesIntersect&&!isNearZero(targetPoint.distanceTo(pNext))){count2++;if(found2){break}found2=true}}if(count2===1&&this.containsPoint(edge2.end)){if(target){target.start.copy(edge2.end);target.end.copy(edge2.end)}return true}else if(count2!==2){return false}edge1.delta(dir1);edge2.delta(dir2);if(dir1.dot(dir2)<0){let tmp=edge2.start;edge2.start=edge2.end;edge2.end=tmp}const s1=edge1.start.dot(dir1);const e1=edge1.end.dot(dir1);const s2=edge2.start.dot(dir1);const e2=edge2.end.dot(dir1);const separated1=e1<s2;const separated2=s1<e2;if(s1!==e2&&s2!==e1&&separated1===separated2){return false}if(target){tempDir.subVectors(edge1.start,edge2.start);if(tempDir.dot(dir1)>0){target.start.copy(edge1.start)}else{target.start.copy(edge2.start)}tempDir.subVectors(edge1.end,edge2.end);if(tempDir.dot(dir1)<0){target.end.copy(edge1.end)}else{target.end.copy(edge2.end)}}return true}}}();ExtendedTriangle.prototype.distanceToPoint=function(){const target=new three.Vector3;return function distanceToPoint(point){this.closestPointToPoint(point,target);return point.distanceTo(target)}}();ExtendedTriangle.prototype.distanceToTriangle=function(){const point=new three.Vector3;const point2=new three.Vector3;const cornerFields=["a","b","c"];const line1=new three.Line3;const line2=new three.Line3;return function distanceToTriangle(other,target1=null,target2=null){const lineTarget=target1||target2?line1:null;if(this.intersectsTriangle(other,lineTarget)){if(target1||target2){if(target1)lineTarget.getCenter(target1);if(target2)lineTarget.getCenter(target2)}return 0}let closestDistanceSq=Infinity;for(let i=0;i<3;i++){let dist;const field=cornerFields[i];const otherVec=other[field];this.closestPointToPoint(otherVec,point);dist=otherVec.distanceToSquared(point);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point);if(target2)target2.copy(otherVec)}const thisVec=this[field];other.closestPointToPoint(thisVec,point);dist=thisVec.distanceToSquared(point);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(thisVec);if(target2)target2.copy(point)}}for(let i=0;i<3;i++){const f11=cornerFields[i];const f12=cornerFields[(i+1)%3];line1.set(this[f11],this[f12]);for(let i2=0;i2<3;i2++){const f21=cornerFields[i2];const f22=cornerFields[(i2+1)%3];line2.set(other[f21],other[f22]);closestPointsSegmentToSegment(line1,line2,point,point2);const dist=point.distanceToSquared(point2);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point);if(target2)target2.copy(point2)}}}return Math.sqrt(closestDistanceSq)}}();class OrientedBox{constructor(min,max,matrix){this.isOrientedBox=true;this.min=new three.Vector3;this.max=new three.Vector3;this.matrix=new three.Matrix4;this.invMatrix=new three.Matrix4;this.points=new Array(8).fill().map(()=>new three.Vector3);this.satAxes=new Array(3).fill().map(()=>new three.Vector3);this.satBounds=new Array(3).fill().map(()=>new SeparatingAxisBounds);this.alignedSatBounds=new Array(3).fill().map(()=>new SeparatingAxisBounds);this.needsUpdate=false;if(min)this.min.copy(min);if(max)this.max.copy(max);if(matrix)this.matrix.copy(matrix)}set(min,max,matrix){this.min.copy(min);this.max.copy(max);this.matrix.copy(matrix);this.needsUpdate=true}copy(other){this.min.copy(other.min);this.max.copy(other.max);this.matrix.copy(other.matrix);this.needsUpdate=true}}OrientedBox.prototype.update=function(){return function update(){const matrix=this.matrix;const min=this.min;const max=this.max;const points=this.points;for(let x=0;x<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=1;z++){const i=(1<<0)*x|(1<<1)*y|(1<<2)*z;const v=points[i];v.x=x?max.x:min.x;v.y=y?max.y:min.y;v.z=z?max.z:min.z;v.applyMatrix4(matrix)}}}const satBounds=this.satBounds;const satAxes=this.satAxes;const minVec=points[0];for(let i=0;i<3;i++){const axis=satAxes[i];const sb=satBounds[i];const index=1<<i;const pi=points[index];axis.subVectors(minVec,pi);sb.setFromPoints(axis,points)}const alignedSatBounds=this.alignedSatBounds;alignedSatBounds[0].setFromPointsField(points,"x");alignedSatBounds[1].setFromPointsField(points,"y");alignedSatBounds[2].setFromPointsField(points,"z");this.invMatrix.copy(this.matrix).invert();this.needsUpdate=false}}();OrientedBox.prototype.intersectsBox=function(){const aabbBounds=new SeparatingAxisBounds;return function intersectsBox(box){if(this.needsUpdate){this.update()}const min=box.min;const max=box.max;const satBounds=this.satBounds;const satAxes=this.satAxes;const alignedSatBounds=this.alignedSatBounds;aabbBounds.min=min.x;aabbBounds.max=max.x;if(alignedSatBounds[0].isSeparated(aabbBounds))return false;aabbBounds.min=min.y;aabbBounds.max=max.y;if(alignedSatBounds[1].isSeparated(aabbBounds))return false;aabbBounds.min=min.z;aabbBounds.max=max.z;if(alignedSatBounds[2].isSeparated(aabbBounds))return false;for(let i=0;i<3;i++){const axis=satAxes[i];const sb=satBounds[i];aabbBounds.setFromBox(axis,box);if(sb.isSeparated(aabbBounds))return false}return true}}();OrientedBox.prototype.intersectsTriangle=function(){const saTri=new ExtendedTriangle;const pointsArr=new Array(3);const cachedSatBounds=new SeparatingAxisBounds;const cachedSatBounds2=new SeparatingAxisBounds;const cachedAxis=new three.Vector3;return function intersectsTriangle(triangle){if(this.needsUpdate){this.update()}if(!triangle.isExtendedTriangle){saTri.copy(triangle);saTri.update();triangle=saTri}else if(triangle.needsUpdate){triangle.update()}const satBounds=this.satBounds;const satAxes=this.satAxes;pointsArr[0]=triangle.a;pointsArr[1]=triangle.b;pointsArr[2]=triangle.c;for(let i=0;i<3;i++){const sb=satBounds[i];const sa=satAxes[i];cachedSatBounds.setFromPoints(sa,pointsArr);if(sb.isSeparated(cachedSatBounds))return false}const triSatBounds=triangle.satBounds;const triSatAxes=triangle.satAxes;const points=this.points;for(let i=0;i<3;i++){const sb=triSatBounds[i];const sa=triSatAxes[i];cachedSatBounds.setFromPoints(sa,points);if(sb.isSeparated(cachedSatBounds))return false}for(let i=0;i<3;i++){const sa1=satAxes[i];for(let i2=0;i2<4;i2++){const sa2=triSatAxes[i2];cachedAxis.crossVectors(sa1,sa2);cachedSatBounds.setFromPoints(cachedAxis,pointsArr);cachedSatBounds2.setFromPoints(cachedAxis,points);if(cachedSatBounds.isSeparated(cachedSatBounds2))return false}}return true}}();OrientedBox.prototype.closestPointToPoint=function(){return function closestPointToPoint(point,target1){if(this.needsUpdate){this.update()}target1.copy(point).applyMatrix4(this.invMatrix).clamp(this.min,this.max).applyMatrix4(this.matrix);return target1}}();OrientedBox.prototype.distanceToPoint=function(){const target=new three.Vector3;return function distanceToPoint(point){this.closestPointToPoint(point,target);return point.distanceTo(target)}}();OrientedBox.prototype.distanceToBox=function(){const xyzFields=["x","y","z"];const segments1=new Array(12).fill().map(()=>new three.Line3);const segments2=new Array(12).fill().map(()=>new three.Line3);const point1=new three.Vector3;const point2=new three.Vector3;return function distanceToBox(box,threshold=0,target1=null,target2=null){if(this.needsUpdate){this.update()}if(this.intersectsBox(box)){if(target1||target2){box.getCenter(point2);this.closestPointToPoint(point2,point1);box.closestPointToPoint(point1,point2);if(target1)target1.copy(point1);if(target2)target2.copy(point2)}return 0}const threshold2=threshold*threshold;const min=box.min;const max=box.max;const points=this.points;let closestDistanceSq=Infinity;for(let i=0;i<8;i++){const p=points[i];point2.copy(p).clamp(min,max);const dist=p.distanceToSquared(point2);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(p);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}let count=0;for(let i=0;i<3;i++){for(let i1=0;i1<=1;i1++){for(let i2=0;i2<=1;i2++){const nextIndex=(i+1)%3;const nextIndex2=(i+2)%3;const index=i1<<nextIndex|i2<<nextIndex2;const index2=1<<i|i1<<nextIndex|i2<<nextIndex2;const p1=points[index];const p2=points[index2];const line1=segments1[count];line1.set(p1,p2);const f1=xyzFields[i];const f2=xyzFields[nextIndex];const f3=xyzFields[nextIndex2];const line2=segments2[count];const start=line2.start;const end=line2.end;start[f1]=min[f1];start[f2]=i1?min[f2]:max[f2];start[f3]=i2?min[f3]:max[f2];end[f1]=max[f1];end[f2]=i1?min[f2]:max[f2];end[f3]=i2?min[f3]:max[f2];count++}}}for(let x=0;x<=1;x++){for(let y=0;y<=1;y++){for(let z=0;z<=1;z++){point2.x=x?max.x:min.x;point2.y=y?max.y:min.y;point2.z=z?max.z:min.z;this.closestPointToPoint(point2,point1);const dist=point2.distanceToSquared(point1);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}}}for(let i=0;i<12;i++){const l1=segments1[i];for(let i2=0;i2<12;i2++){const l2=segments2[i2];closestPointsSegmentToSegment(l1,l2,point1,point2);const dist=point1.distanceToSquared(point2);if(dist<closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist<threshold2)return Math.sqrt(dist)}}}return Math.sqrt(closestDistanceSq)}}();const _vA=new three.Vector3;const _vB=new three.Vector3;const _vC=new three.Vector3;const _uvA=new three.Vector2;const _uvB=new three.Vector2;const _uvC=new three.Vector2;const _normalA=new three.Vector3;const _normalB=new three.Vector3;const _normalC=new three.Vector3;const _intersectionPoint=new three.Vector3;function checkIntersection(ray,pA,pB,pC,point,side){let intersect;if(side===three.BackSide){intersect=ray.intersectTriangle(pC,pB,pA,true,point)}else{intersect=ray.intersectTriangle(pA,pB,pC,side!==three.DoubleSide,point)}if(intersect===null)return null;const distance=ray.origin.distanceTo(point);return{distance:distance,point:point.clone()}}function checkBufferGeometryIntersection(ray,position,normal,uv,uv1,a,b,c,side){_vA.fromBufferAttribute(position,a);_vB.fromBufferAttribute(position,b);_vC.fromBufferAttribute(position,c);const intersection=checkIntersection(ray,_vA,_vB,_vC,_intersectionPoint,side);if(intersection){if(uv){_uvA.fromBufferAttribute(uv,a);_uvB.fromBufferAttribute(uv,b);_uvC.fromBufferAttribute(uv,c);intersection.uv=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new three.Vector2)}if(uv1){_uvA.fromBufferAttribute(uv1,a);_uvB.fromBufferAttribute(uv1,b);_uvC.fromBufferAttribute(uv1,c);intersection.uv1=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new three.Vector2)}if(normal){_normalA.fromBufferAttribute(normal,a);_normalB.fromBufferAttribute(normal,b);_normalC.fromBufferAttribute(normal,c);intersection.normal=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_normalA,_normalB,_normalC,new three.Vector3);if(intersection.normal.dot(ray.direction)>0){intersection.normal.multiplyScalar(-1)}}const face={a:a,b:b,c:c,normal:new three.Vector3,materialIndex:0};three.Triangle.getNormal(_vA,_vB,_vC,face.normal);intersection.face=face;intersection.faceIndex=a}return intersection}function intersectTri(geo,side,ray,tri,intersections){const triOffset=tri*3;const a=geo.index.getX(triOffset);const b=geo.index.getX(triOffset+1);const c=geo.index.getX(triOffset+2);const{position,normal,uv,uv1}=geo.attributes;const intersection=checkBufferGeometryIntersection(ray,position,normal,uv,uv1,a,b,c,side);if(intersection){intersection.faceIndex=tri;if(intersections)intersections.push(intersection);return intersection}return null}function intersectTris(geo,side,ray,offset,count,intersections){for(let i=offset,end=offset+count;i<end;i++){intersectTri(geo,side,ray,i,intersections)}}function intersectClosestTri(geo,side,ray,offset,count){let dist=Infinity;let res=null;for(let i=offset,end=offset+count;i<end;i++){const intersection=intersectTri(geo,side,ray,i);if(intersection&&intersection.distance<dist){res=intersection;dist=intersection.distance}}return res}function convertRaycastIntersect(hit,object,raycaster){if(hit===null){return null}hit.point.applyMatrix4(object.matrixWorld);hit.distance=hit.point.distanceTo(raycaster.ray.origin);hit.object=object;if(hit.distance<raycaster.near||hit.distance>raycaster.far){return null}else{return hit}}function setTriangle(tri,i,index,pos){const ta=tri.a;const tb=tri.b;const tc=tri.c;let i0=i;let i1=i+1;let i2=i+2;if(index){i0=index.getX(i);i1=index.getX(i+1);i2=index.getX(i+2)}ta.x=pos.getX(i0);ta.y=pos.getY(i0);ta.z=pos.getZ(i0);tb.x=pos.getX(i1);tb.y=pos.getY(i1);tb.z=pos.getZ(i1);tc.x=pos.getX(i2);tc.y=pos.getY(i2);tc.z=pos.getZ(i2)}function iterateOverTriangles(offset,count,geometry,intersectsTriangleFunc,contained,depth,triangle){const index=geometry.index;const pos=geometry.attributes.position;for(let i=offset,l=count+offset;i<l;i++){setTriangle(triangle,i*3,index,pos);triangle.needsUpdate=true;if(intersectsTriangleFunc(triangle,i,contained,depth)){return true}}return false}const tempV1=new three.Vector3;const tempV2=new three.Vector3;const tempV3=new three.Vector3;const tempUV1=new three.Vector2;const tempUV2=new three.Vector2;const tempUV3=new three.Vector2;function getTriangleHitPointInfo(point,geometry,triangleIndex,target){const indices=geometry.getIndex().array;const positions=geometry.getAttribute("position");const uvs=geometry.getAttribute("uv");const a=indices[triangleIndex*3];const b=indices[triangleIndex*3+1];const c=indices[triangleIndex*3+2];tempV1.fromBufferAttribute(positions,a);tempV2.fromBufferAttribute(positions,b);tempV3.fromBufferAttribute(positions,c);let materialIndex=0;const groups=geometry.groups;const firstVertexIndex=triangleIndex*3;for(let i=0,l=groups.length;i<l;i++){const group=groups[i];const{start,count}=group;if(firstVertexIndex>=start&&firstVertexIndex<start+count){materialIndex=group.materialIndex;break}}let uv=null;if(uvs){tempUV1.fromBufferAttribute(uvs,a);tempUV2.fromBufferAttribute(uvs,b);tempUV3.fromBufferAttribute(uvs,c);if(target&&target.uv)uv=target.uv;else uv=new three.Vector2;three.Triangle.getInterpolation(point,tempV1,tempV2,tempV3,tempUV1,tempUV2,tempUV3,uv)}if(target){if(!target.face)target.face={};target.face.a=a;target.face.b=b;target.face.c=c;target.face.materialIndex=materialIndex;if(!target.face.normal)target.face.normal=new three.Vector3;three.Triangle.getNormal(tempV1,tempV2,tempV3,target.face.normal);if(uv)target.uv=uv;return target}else{return{face:{a:a,b:b,c:c,materialIndex:materialIndex,normal:three.Triangle.getNormal(tempV1,tempV2,tempV3,new three.Vector3)},uv:uv}}}class PrimitivePool{constructor(getNewPrimitive){this._getNewPrimitive=getNewPrimitive;this._primitives=[]}getPrimitive(){const primitives=this._primitives;if(primitives.length===0){return this._getNewPrimitive()}else{return primitives.pop()}}releasePrimitive(primitive){this._primitives.push(primitive)}}function IS_LEAF(n16,uint16Array){return uint16Array[n16+15]===65535}function OFFSET(n32,uint32Array){return uint32Array[n32+6]}function COUNT(n16,uint16Array){return uint16Array[n16+14]}function LEFT_NODE(n32){return n32+8}function RIGHT_NODE(n32,uint32Array){return uint32Array[n32+6]}function SPLIT_AXIS(n32,uint32Array){return uint32Array[n32+7]}function BOUNDING_DATA_INDEX(n32){return n32}const boundingBox$1=new three.Box3;const boxIntersection=new three.Vector3;const xyzFields=["x","y","z"];function raycast(nodeIndex32,geometry,side,ray,intersects){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);intersectTris(geometry,side,ray,offset,count,intersects)}else{const leftIndex=LEFT_NODE(nodeIndex32);if(intersectRay(leftIndex,float32Array,ray,boxIntersection)){raycast(leftIndex,geometry,side,ray,intersects)}const rightIndex=RIGHT_NODE(nodeIndex32,uint32Array);if(intersectRay(rightIndex,float32Array,ray,boxIntersection)){raycast(rightIndex,geometry,side,ray,intersects)}}}function raycastFirst(nodeIndex32,geometry,side,ray){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);return intersectClosestTri(geometry,side,ray,offset,count)}else{const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);const xyzAxis=xyzFields[splitAxis];const rayDir=ray.direction[xyzAxis];const leftToRight=rayDir>=0;let c1,c2;if(leftToRight){c1=LEFT_NODE(nodeIndex32);c2=RIGHT_NODE(nodeIndex32,uint32Array)}else{c1=RIGHT_NODE(nodeIndex32,uint32Array);c2=LEFT_NODE(nodeIndex32)}const c1Intersection=intersectRay(c1,float32Array,ray,boxIntersection);const c1Result=c1Intersection?raycastFirst(c1,geometry,side,ray):null;if(c1Result){const point=c1Result.point[xyzAxis];const isOutside=leftToRight?point<=float32Array[c2+splitAxis]:point>=float32Array[c2+splitAxis+3];if(isOutside){return c1Result}}const c2Intersection=intersectRay(c2,float32Array,ray,boxIntersection);const c2Result=c2Intersection?raycastFirst(c2,geometry,side,ray):null;if(c1Result&&c2Result){return c1Result.distance<=c2Result.distance?c1Result:c2Result}else{return c1Result||c2Result||null}}}const shapecast=function(){let _box1,_box2;const boxStack=[];const boxPool=new PrimitivePool(()=>new three.Box3);return function shapecast(...args){_box1=boxPool.getPrimitive();_box2=boxPool.getPrimitive();boxStack.push(_box1,_box2);const result=shapecastTraverse(...args);boxPool.releasePrimitive(_box1);boxPool.releasePrimitive(_box2);boxStack.pop();boxStack.pop();const length=boxStack.length;if(length>0){_box2=boxStack[length-1];_box1=boxStack[length-2]}return result};function shapecastTraverse(nodeIndex32,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc=null,nodeIndexByteOffset=0,depth=0){function getLeftOffset(nodeIndex32){let nodeIndex16=nodeIndex32*2,uint16Array=_uint16Array,uint32Array=_uint32Array;while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=LEFT_NODE(nodeIndex32);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)}function getRightEndOffset(nodeIndex32){let nodeIndex16=nodeIndex32*2,uint16Array=_uint16Array,uint32Array=_uint32Array;while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=RIGHT_NODE(nodeIndex32,uint32Array);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)+COUNT(nodeIndex16,uint16Array)}let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);arrayToBox(BOUNDING_DATA_INDEX(nodeIndex32),float32Array,_box1);return intersectsRangeFunc(offset,count,false,depth,nodeIndexByteOffset+nodeIndex32,_box1)}else{const left=LEFT_NODE(nodeIndex32);const right=RIGHT_NODE(nodeIndex32,uint32Array);let c1=left;let c2=right;let score1,score2;let box1,box2;if(nodeScoreFunc){box1=_box1;box2=_box2;arrayToBox(BOUNDING_DATA_INDEX(c1),float32Array,box1);arrayToBox(BOUNDING_DATA_INDEX(c2),float32Array,box2);score1=nodeScoreFunc(box1);score2=nodeScoreFunc(box2);if(score2<score1){c1=right;c2=left;const temp=score1;score1=score2;score2=temp;box1=box2}}if(!box1){box1=_box1;arrayToBox(BOUNDING_DATA_INDEX(c1),float32Array,box1)}const isC1Leaf=IS_LEAF(c1*2,uint16Array);const c1Intersection=intersectsBoundsFunc(box1,isC1Leaf,score1,depth+1,nodeIndexByteOffset+c1);let c1StopTraversal;if(c1Intersection===CONTAINED){const offset=getLeftOffset(c1);const end=getRightEndOffset(c1);const count=end-offset;c1StopTraversal=intersectsRangeFunc(offset,count,true,depth+1,nodeIndexByteOffset+c1,box1)}else{c1StopTraversal=c1Intersection&&shapecastTraverse(c1,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c1StopTraversal)return true;box2=_box2;arrayToBox(BOUNDING_DATA_INDEX(c2),float32Array,box2);const isC2Leaf=IS_LEAF(c2*2,uint16Array);const c2Intersection=intersectsBoundsFunc(box2,isC2Leaf,score2,depth+1,nodeIndexByteOffset+c2);let c2StopTraversal;if(c2Intersection===CONTAINED){const offset=getLeftOffset(c2);const end=getRightEndOffset(c2);const count=end-offset;c2StopTraversal=intersectsRangeFunc(offset,count,true,depth+1,nodeIndexByteOffset+c2,box2)}else{c2StopTraversal=c2Intersection&&shapecastTraverse(c2,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c2StopTraversal)return true;return false}}}();const intersectsGeometry=function(){const triangle=new ExtendedTriangle;const triangle2=new ExtendedTriangle;const invertedMat=new three.Matrix4;const obb=new OrientedBox;const obb2=new OrientedBox;return function intersectsGeometry(nodeIndex32,geometry,otherGeometry,geometryToBvh,cachedObb=null){let nodeIndex16=nodeIndex32*2,float32Array=_float32Array,uint16Array=_uint16Array,uint32Array=_uint32Array;if(cachedObb===null){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);cachedObb=obb}const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const thisGeometry=geometry;const thisIndex=thisGeometry.index;const thisPos=thisGeometry.attributes.position;const index=otherGeometry.index;const pos=otherGeometry.attributes.position;const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);invertedMat.copy(geometryToBvh).invert();if(otherGeometry.boundsTree){arrayToBox(BOUNDING_DATA_INDEX(nodeIndex32),float32Array,obb2);obb2.matrix.copy(invertedMat);obb2.needsUpdate=true;const res=otherGeometry.boundsTree.shapecast({intersectsBounds:box=>obb2.intersectsBox(box),intersectsTriangle:tri=>{tri.a.applyMatrix4(geometryToBvh);tri.b.applyMatrix4(geometryToBvh);tri.c.applyMatrix4(geometryToBvh);tri.needsUpdate=true;for(let i=offset*3,l=(count+offset)*3;i<l;i+=3){setTriangle(triangle2,i,thisIndex,thisPos);triangle2.needsUpdate=true;if(tri.intersectsTriangle(triangle2)){return true}}return false}});return res}else{for(let i=offset*3,l=count+offset*3;i<l;i+=3){setTriangle(triangle,i,thisIndex,thisPos);triangle.a.applyMatrix4(invertedMat);triangle.b.applyMatrix4(invertedMat);triangle.c.applyMatrix4(invertedMat);triangle.needsUpdate=true;for(let i2=0,l2=index.count;i2<l2;i2+=3){setTriangle(triangle2,i2,index,pos);triangle2.needsUpdate=true;if(triangle.intersectsTriangle(triangle2)){return true}}}}}else{const left=nodeIndex32+8;const right=uint32Array[nodeIndex32+6];arrayToBox(BOUNDING_DATA_INDEX(left),float32Array,boundingBox$1);const leftIntersection=cachedObb.intersectsBox(boundingBox$1)&&intersectsGeometry(left,geometry,otherGeometry,geometryToBvh,cachedObb);if(leftIntersection)return true;arrayToBox(BOUNDING_DATA_INDEX(right),float32Array,boundingBox$1);const rightIntersection=cachedObb.intersectsBox(boundingBox$1)&&intersectsGeometry(right,geometry,otherGeometry,geometryToBvh,cachedObb);if(rightIntersection)return true;return false}}}();function intersectRay(nodeIndex32,array,ray,target){arrayToBox(nodeIndex32,array,boundingBox$1);return ray.intersectBox(boundingBox$1,target)}const bufferStack=[];let _prevBuffer;let _float32Array;let _uint16Array;let _uint32Array;function setBuffer(buffer){if(_prevBuffer){bufferStack.push(_prevBuffer)}_prevBuffer=buffer;_float32Array=new Float32Array(buffer);_uint16Array=new Uint16Array(buffer);_uint32Array=new Uint32Array(buffer)}function clearBuffer(){_prevBuffer=null;_float32Array=null;_uint16Array=null;_uint32Array=null;if(bufferStack.length){setBuffer(bufferStack.pop())}}const SKIP_GENERATION=Symbol("skip tree generation");const aabb=new three.Box3;const aabb2=new three.Box3;const tempMatrix=new three.Matrix4;const obb=new OrientedBox;const obb2=new OrientedBox;const temp=new three.Vector3;const temp1=new three.Vector3;const temp2=new three.Vector3;const temp3=new three.Vector3;const temp4=new three.Vector3;const tempBox=new three.Box3;const trianglePool=new PrimitivePool(()=>new ExtendedTriangle);class MeshBVH{static serialize(bvh,options={}){if(options.isBufferGeometry){console.warn("MeshBVH.serialize: The arguments for the function have changed. See documentation for new signature.");return MeshBVH.serialize(arguments[0],{cloneBuffers:arguments[2]===undefined?true:arguments[2]})}options={cloneBuffers:true,...options};const geometry=bvh.geometry;const rootData=bvh._roots;const indexAttribute=geometry.getIndex();let result;if(options.cloneBuffers){result={roots:rootData.map(root=>root.slice()),index:indexAttribute.array.slice()}}else{result={roots:rootData,index:indexAttribute.array}}return result}static deserialize(data,geometry,options={}){if(typeof options==="boolean"){console.warn("MeshBVH.deserialize: The arguments for the function have changed. See documentation for new signature.");return MeshBVH.deserialize(arguments[0],arguments[1],{setIndex:arguments[2]===undefined?true:arguments[2]})}options={setIndex:true,...options};const{index,roots}=data;const bvh=new MeshBVH(geometry,{...options,[SKIP_GENERATION]:true});bvh._roots=roots;if(options.setIndex){const indexAttribute=geometry.getIndex();if(indexAttribute===null){const newIndex=new three.BufferAttribute(data.index,1,false);geometry.setIndex(newIndex)}else if(indexAttribute.array!==index){indexAttribute.array.set(index);indexAttribute.needsUpdate=true}}return bvh}constructor(geometry,options={}){if(!geometry.isBufferGeometry){throw new Error("MeshBVH: Only BufferGeometries are supported.")}else if(geometry.index&&geometry.index.isInterleavedBufferAttribute){throw new Error("MeshBVH: InterleavedBufferAttribute is not supported for the index attribute.")}options=Object.assign({strategy:CENTER,maxDepth:40,maxLeafTris:10,verbose:true,useSharedArrayBuffer:false,setBoundingBox:true,onProgress:null,[SKIP_GENERATION]:false},options);if(options.useSharedArrayBuffer&&typeof SharedArrayBuffer==="undefined"){throw new Error("MeshBVH: SharedArrayBuffer is not available.")}this._roots=null;if(!options[SKIP_GENERATION]){this._roots=buildPackedTree(geometry,options);if(!geometry.boundingBox&&options.setBoundingBox){geometry.boundingBox=this.getBoundingBox(new three.Box3)}}this.geometry=geometry}refit(nodeIndices=null){if(nodeIndices&&Array.isArray(nodeIndices)){nodeIndices=new Set(nodeIndices)}const geometry=this.geometry;const indexArr=geometry.index.array;const posAttr=geometry.attributes.position;let buffer,uint32Array,uint16Array,float32Array;let byteOffset=0;const roots=this._roots;for(let i=0,l=roots.length;i<l;i++){buffer=roots[i];uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);float32Array=new Float32Array(buffer);_traverse(0,byteOffset);byteOffset+=buffer.byteLength}function _traverse(node32Index,byteOffset,force=false){const node16Index=node32Index*2;const isLeaf=uint16Array[node16Index+15]===IS_LEAFNODE_FLAG;if(isLeaf){const offset=uint32Array[node32Index+6];const count=uint16Array[node16Index+14];let minx=Infinity;let miny=Infinity;let minz=Infinity;let maxx=-Infinity;let maxy=-Infinity;let maxz=-Infinity;for(let i=3*offset,l=3*(offset+count);i<l;i++){const index=indexArr[i];const x=posAttr.getX(index);const y=posAttr.getY(index);const z=posAttr.getZ(index);if(x<minx)minx=x;if(x>maxx)maxx=x;if(y<miny)miny=y;if(y>maxy)maxy=y;if(z<minz)minz=z;if(z>maxz)maxz=z}if(float32Array[node32Index+0]!==minx||float32Array[node32Index+1]!==miny||float32Array[node32Index+2]!==minz||float32Array[node32Index+3]!==maxx||float32Array[node32Index+4]!==maxy||float32Array[node32Index+5]!==maxz){float32Array[node32Index+0]=minx;float32Array[node32Index+1]=miny;float32Array[node32Index+2]=minz;float32Array[node32Index+3]=maxx;float32Array[node32Index+4]=maxy;float32Array[node32Index+5]=maxz;return true}else{return false}}else{const left=node32Index+8;const right=uint32Array[node32Index+6];const offsetLeft=left+byteOffset;const offsetRight=right+byteOffset;let forceChildren=force;let includesLeft=false;let includesRight=false;if(nodeIndices){if(!forceChildren){includesLeft=nodeIndices.has(offsetLeft);includesRight=nodeIndices.has(offsetRight);forceChildren=!includesLeft&&!includesRight}}else{includesLeft=true;includesRight=true}const traverseLeft=forceChildren||includesLeft;const traverseRight=forceChildren||includesRight;let leftChange=false;if(traverseLeft){leftChange=_traverse(left,byteOffset,forceChildren)}let rightChange=false;if(traverseRight){rightChange=_traverse(right,byteOffset,forceChildren)}const didChange=leftChange||rightChange;if(didChange){for(let i=0;i<3;i++){const lefti=left+i;const righti=right+i;const minLeftValue=float32Array[lefti];const maxLeftValue=float32Array[lefti+3];const minRightValue=float32Array[righti];const maxRightValue=float32Array[righti+3];float32Array[node32Index+i]=minLeftValue<minRightValue?minLeftValue:minRightValue;float32Array[node32Index+i+3]=maxLeftValue>maxRightValue?maxLeftValue:maxRightValue}}return didChange}}}traverse(callback,rootIndex=0){const buffer=this._roots[rootIndex];const uint32Array=new Uint32Array(buffer);const uint16Array=new Uint16Array(buffer);_traverse(0);function _traverse(node32Index,depth=0){const node16Index=node32Index*2;const isLeaf=uint16Array[node16Index+15]===IS_LEAFNODE_FLAG;if(isLeaf){const offset=uint32Array[node32Index+6];const count=uint16Array[node16Index+14];callback(depth,isLeaf,new Float32Array(buffer,node32Index*4,6),offset,count)}else{const left=node32Index+BYTES_PER_NODE/4;const right=uint32Array[node32Index+6];const splitAxis=uint32Array[node32Index+7];const stopTraversal=callback(depth,isLeaf,new Float32Array(buffer,node32Index*4,6),splitAxis);if(!stopTraversal){_traverse(left,depth+1);_traverse(right,depth+1)}}}}raycast(ray,materialOrSide=three.FrontSide){const roots=this._roots;const geometry=this.geometry;const intersects=[];const isMaterial=materialOrSide.isMaterial;const isArrayMaterial=Array.isArray(materialOrSide);const groups=geometry.groups;const side=isMaterial?materialOrSide.side:materialOrSide;for(let i=0,l=roots.length;i<l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;const startCount=intersects.length;setBuffer(roots[i]);raycast(0,geometry,materialSide,ray,intersects);clearBuffer();if(isArrayMaterial){const materialIndex=groups[i].materialIndex;for(let j=startCount,jl=intersects.length;j<jl;j++){intersects[j].face.materialIndex=materialIndex}}}return intersects}raycastFirst(ray,materialOrSide=three.FrontSide){const roots=this._roots;const geometry=this.geometry;const isMaterial=materialOrSide.isMaterial;const isArrayMaterial=Array.isArray(materialOrSide);let closestResult=null;const groups=geometry.groups;const side=isMaterial?materialOrSide.side:materialOrSide;for(let i=0,l=roots.length;i<l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;setBuffer(roots[i]);const result=raycastFirst(0,geometry,materialSide,ray);clearBuffer();if(result!=null&&(closestResult==null||result.distance<closestResult.distance)){closestResult=result;if(isArrayMaterial){result.face.materialIndex=groups[i].materialIndex}}}return closestResult}intersectsGeometry(otherGeometry,geomToMesh){const geometry=this.geometry;let result=false;for(const root of this._roots){setBuffer(root);result=intersectsGeometry(0,geometry,otherGeometry,geomToMesh);clearBuffer();if(result){break}}return result}shapecast(callbacks,_intersectsTriangleFunc,_orderNodesFunc){const geometry=this.geometry;if(callbacks instanceof Function){if(_intersectsTriangleFunc){const originalTriangleFunc=_intersectsTriangleFunc;_intersectsTriangleFunc=(tri,index,contained,depth)=>{const i3=index*3;return originalTriangleFunc(tri,i3,i3+1,i3+2,contained,depth)}}callbacks={boundsTraverseOrder:_orderNodesFunc,intersectsBounds:callbacks,intersectsTriangle:_intersectsTriangleFunc,intersectsRange:null};console.warn("MeshBVH: Shapecast function signature has changed and now takes an object of callbacks as a second argument. See docs for new signature.")}const triangle=trianglePool.getPrimitive();let{boundsTraverseOrder,intersectsBounds,intersectsRange,intersectsTriangle}=callbacks;if(intersectsRange&&intersectsTriangle){const originalIntersectsRange=intersectsRange;intersectsRange=(offset,count,contained,depth,nodeIndex)=>{if(!originalIntersectsRange(offset,count,contained,depth,nodeIndex)){return iterateOverTriangles(offset,count,geometry,intersectsTriangle,contained,depth,triangle)}return true}}else if(!intersectsRange){if(intersectsTriangle){intersectsRange=(offset,count,contained,depth)=>{return iterateOverTriangles(offset,count,geometry,intersectsTriangle,contained,depth,triangle)}}else{intersectsRange=(offset,count,contained)=>{return contained}}}let result=false;let byteOffset=0;for(const root of this._roots){setBuffer(root);result=shapecast(0,geometry,intersectsBounds,intersectsRange,boundsTraverseOrder,byteOffset);clearBuffer();if(result){break}byteOffset+=root.byteLength}trianglePool.releasePrimitive(triangle);return result}bvhcast(otherBvh,matrixToLocal,callbacks){let{intersectsRanges,intersectsTriangles}=callbacks;const indexAttr=this.geometry.index;const positionAttr=this.geometry.attributes.position;const otherIndexAttr=otherBvh.geometry.index;const otherPositionAttr=otherBvh.geometry.attributes.position;tempMatrix.copy(matrixToLocal).invert();const triangle=trianglePool.getPrimitive();const triangle2=trianglePool.getPrimitive();if(intersectsTriangles){function iterateOverDoubleTriangles(offset1,count1,offset2,count2,depth1,index1,depth2,index2){for(let i2=offset2,l2=offset2+count2;i2<l2;i2++){setTriangle(triangle2,i2*3,otherIndexAttr,otherPositionAttr);triangle2.a.applyMatrix4(matrixToLocal);triangle2.b.applyMatrix4(matrixToLocal);triangle2.c.applyMatrix4(matrixToLocal);triangle2.needsUpdate=true;for(let i1=offset1,l1=offset1+count1;i1<l1;i1++){setTriangle(triangle,i1*3,indexAttr,positionAttr);triangle.needsUpdate=true;if(intersectsTriangles(triangle,triangle2,i1,i2,depth1,index1,depth2,index2)){return true}}}return false}if(intersectsRanges){const originalIntersectsRanges=intersectsRanges;intersectsRanges=function(offset1,count1,offset2,count2,depth1,index1,depth2,index2){if(!originalIntersectsRanges(offset1,count1,offset2,count2,depth1,index1,depth2,index2)){return iterateOverDoubleTriangles(offset1,count1,offset2,count2,depth1,index1,depth2,index2)}return true}}else{intersectsRanges=iterateOverDoubleTriangles}}otherBvh.getBoundingBox(aabb2);aabb2.applyMatrix4(matrixToLocal);const result=this.shapecast({intersectsBounds:box=>aabb2.intersectsBox(box),intersectsRange:(offset1,count1,contained,depth1,nodeIndex1,box)=>{aabb.copy(box);aabb.applyMatrix4(tempMatrix);return otherBvh.shapecast({intersectsBounds:box=>aabb.intersectsBox(box),intersectsRange:(offset2,count2,contained,depth2,nodeIndex2)=>{return intersectsRanges(offset1,count1,offset2,count2,depth1,nodeIndex1,depth2,nodeIndex2)}})}});trianglePool.releasePrimitive(triangle);trianglePool.releasePrimitive(triangle2);return result}intersectsBox(box,boxToMesh){obb.set(box.min,box.max,boxToMesh);obb.needsUpdate=true;return this.shapecast({intersectsBounds:box=>obb.intersectsBox(box),intersectsTriangle:tri=>obb.intersectsTriangle(tri)})}intersectsSphere(sphere){return this.shapecast({intersectsBounds:box=>sphere.intersectsBox(box),intersectsTriangle:tri=>tri.intersectsSphere(sphere)})}closestPointToGeometry(otherGeometry,geometryToBvh,target1={},target2={},minThreshold=0,maxThreshold=Infinity){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);obb.needsUpdate=true;const geometry=this.geometry;const pos=geometry.attributes.position;const index=geometry.index;const otherPos=otherGeometry.attributes.position;const otherIndex=otherGeometry.index;const triangle=trianglePool.getPrimitive();const triangle2=trianglePool.getPrimitive();let tempTarget1=temp1;let tempTargetDest1=temp2;let tempTarget2=null;let tempTargetDest2=null;if(target2){tempTarget2=temp3;tempTargetDest2=temp4}let closestDistance=Infinity;let closestDistanceTriIndex=null;let closestDistanceOtherTriIndex=null;tempMatrix.copy(geometryToBvh).invert();obb2.matrix.copy(tempMatrix);this.shapecast({boundsTraverseOrder:box=>{return obb.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=>{if(score<closestDistance&&score<maxThreshold){if(isLeaf){obb2.min.copy(box.min);obb2.max.copy(box.max);obb2.needsUpdate=true}return true}return false},intersectsRange:(offset,count)=>{if(otherGeometry.boundsTree){return otherGeometry.boundsTree.shapecast({boundsTraverseOrder:box=>{return obb2.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=>{return score<closestDistance&&score<maxThreshold},intersectsRange:(otherOffset,otherCount)=>{for(let i2=otherOffset*3,l2=(otherOffset+otherCount)*3;i2<l2;i2+=3){setTriangle(triangle2,i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset*3,l=(offset+count)*3;i<l;i+=3){setTriangle(triangle,i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist<closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i/3;closestDistanceOtherTriIndex=i2/3}if(dist<minThreshold){return true}}}}})}else{const triCount=otherIndex?otherIndex.count:otherPos.count;for(let i2=0,l2=triCount;i2<l2;i2+=3){setTriangle(triangle2,i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset*3,l=(offset+count)*3;i<l;i+=3){setTriangle(triangle,i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist<closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i/3;closestDistanceOtherTriIndex=i2/3}if(dist<minThreshold){return true}}}}}});trianglePool.releasePrimitive(triangle);trianglePool.releasePrimitive(triangle2);if(closestDistance===Infinity)return null;if(!target1.point)target1.point=tempTargetDest1.clone();else target1.point.copy(tempTargetDest1);target1.distance=closestDistance,target1.faceIndex=closestDistanceTriIndex;if(target2){if(!target2.point)target2.point=tempTargetDest2.clone();else target2.point.copy(tempTargetDest2);target2.point.applyMatrix4(tempMatrix);tempTargetDest1.applyMatrix4(tempMatrix);target2.distance=tempTargetDest1.sub(target2.point).length();target2.faceIndex=closestDistanceOtherTriIndex}return target1}closestPointToPoint(point,target={},minThreshold=0,maxThreshold=Infinity){const minThresholdSq=minThreshold*minThreshold;const maxThresholdSq=maxThreshold*maxThreshold;let closestDistanceSq=Infinity;let closestDistanceTriIndex=null;this.shapecast({boundsTraverseOrder:box=>{temp.copy(point).clamp(box.min,box.max);return temp.distanceToSquared(point)},intersectsBounds:(box,isLeaf,score)=>{return score<closestDistanceSq&&score<maxThresholdSq},intersectsTriangle:(tri,triIndex)=>{tri.closestPointToPoint(point,temp);const distSq=point.distanceToSquared(temp);if(distSq<closestDistanceSq){temp1.copy(temp);closestDistanceSq=distSq;closestDistanceTriIndex=triIndex}if(distSq<minThresholdSq){return true}else{return false}}});if(closestDistanceSq===Infinity)return null;const closestDistance=Math.sqrt(closestDistanceSq);if(!target.point)target.point=temp1.clone();else target.point.copy(temp1);target.distance=closestDistance,target.faceIndex=closestDistanceTriIndex;return target}getBoundingBox(target){target.makeEmpty();const roots=this._roots;roots.forEach(buffer=>{arrayToBox(0,new Float32Array(buffer),tempBox);target.union(tempBox)});return target}}const boundingBox=new three.Box3;class MeshBVHRootVisualizer extends three.Object3D{get isMesh(){return!this.displayEdges}get isLineSegments(){return this.displayEdges}get isLine(){return this.displayEdges}constructor(mesh,material,depth=10,group=0){super();this.material=material;this.geometry=new three.BufferGeometry;this.name="MeshBVHRootVisualizer";this.depth=depth;this.displayParents=false;this.mesh=mesh;this.displayEdges=true;this._group=group}raycast(){}update(){const geometry=this.geometry;const boundsTree=this.mesh.geometry.boundsTree;const group=this._group;geometry.dispose();this.visible=false;if(boundsTree){const targetDepth=this.depth-1;const displayParents=this.displayParents;let boundsCount=0;boundsTree.traverse((depth,isLeaf)=>{if(depth===targetDepth||isLeaf){boundsCount++;return true}else if(displayParents){boundsCount++}},group);let posIndex=0;const positionArray=new Float32Array(8*3*boundsCount);boundsTree.traverse((depth,isLeaf,boundingData)=>{const terminate=depth===targetDepth||isLeaf;if(terminate||displayParents){arrayToBox(0,boundingData,boundingBox);const{min,max}=boundingBox;for(let x=-1;x<=1;x+=2){const xVal=x<0?min.x:max.x;for(let y=-1;y<=1;y+=2){const yVal=y<0?min.y:max.y;for(let z=-1;z<=1;z+=2){const zVal=z<0?min.z:max.z;positionArray[posIndex+0]=xVal;positionArray[posIndex+1]=yVal;positionArray[posIndex+2]=zVal;posIndex+=3}}}return terminate}},group);let indexArray;let indices;if(this.displayEdges){indices=new Uint8Array([0,4,1,5,2,6,3,7,0,2,1,3,4,6,5,7,0,1,2,3,4,5,6,7])}else{indices=new Uint8Array([0,1,2,2,1,3,4,6,5,6,7,5,1,4,5,0,4,1,2,3,6,3,7,6,0,2,4,2,6,4,1,5,3,3,5,7])}if(positionArray.length>65535){indexArray=new Uint32Array(indices.length*boundsCount)}else{indexArray=new Uint16Array(indices.length*boundsCount)}const indexLength=indices.length;for(let i=0;i<boundsCount;i++){const posOffset=i*8;const indexOffset=i*indexLength;for(let j=0;j<indexLength;j++){indexArray[indexOffset+j]=posOffset+indices[j]}}geometry.setIndex(new three.BufferAttribute(indexArray,1,false));geometry.setAttribute("position",new three.BufferAttribute(positionArray,3,false));this.visible=true}}}class MeshBVHVisualizer extends three.Group{get color(){return this.edgeMaterial.color}get opacity(){return this.edgeMaterial.opacity}set opacity(v){this.edgeMaterial.opacity=v;this.meshMaterial.opacity=v}constructor(mesh,depth=10){super();this.name="MeshBVHVisualizer";this.depth=depth;this.mesh=mesh;this.displayParents=false;this.displayEdges=true;this._roots=[];const edgeMaterial=new three.LineBasicMaterial({color:65416,transparent:true,opacity:0.3,depthWrite:false});const meshMaterial=new three.MeshBasicMaterial({color:65416,transparent:true,opacity:0.3,depthWrite:false});meshMaterial.color=edgeMaterial.color;this.edgeMaterial=edgeMaterial;this.meshMaterial=meshMaterial;this.update()}update(){const bvh=this.mesh.geometry.boundsTree;const totalRoots=bvh?bvh._roots.length:0;while(this._roots.length>totalRoots){const root=this._roots.pop();root.geometry.dispose();this.remove(root)}for(let i=0;i<totalRoots;i++){if(i>=this._roots.length){const root=new MeshBVHRootVisualizer(this.mesh,this.edgeMaterial,this.depth,i);this.add(root);this._roots.push(root)}const root=this._roots[i];root.depth=this.depth;root.mesh=this.mesh;root.displayParents=this.displayParents;root.displayEdges=this.displayEdges;root.material=this.displayEdges?this.edgeMaterial:this.meshMaterial;root.update()}}updateMatrixWorld(...args){this.position.copy(this.mesh.position);this.rotation.copy(this.mesh.rotation);this.scale.copy(this.mesh.scale);super.updateMatrixWorld(...args)}copy(source){this.depth=source.depth;this.mesh=source.mesh}clone(){return new MeshBVHVisualizer(this.mesh,this.depth)}dispose(){this.edgeMaterial.dispose();this.meshMaterial.dispose();const children=this.children;for(let i=0,l=children.length;i<l;i++){children[i].geometry.dispose()}}}const _box1=new three.Box3;const _box2=new three.Box3;const _vec=new three.Vector3;function getPrimitiveSize(el){switch(typeof el){case"number":return 8;case"string":return el.length*2;case"boolean":return 4;default:return 0;}}function isTypedArray(arr){const regex=/(Uint|Int|Float)(8|16|32)Array/;return regex.test(arr.constructor.name)}function getRootExtremes(bvh,group){const result={nodeCount:0,leafNodeCount:0,depth:{min:Infinity,max:-Infinity},tris:{min:Infinity,max:-Infinity},splits:[0,0,0],surfaceAreaScore:0};bvh.traverse((depth,isLeaf,boundingData,offsetOrSplit,count)=>{const l0=boundingData[0+3]-boundingData[0];const l1=boundingData[1+3]-boundingData[1];const l2=boundingData[2+3]-boundingData[2];const surfaceArea=2*(l0*l1+l1*l2+l2*l0);result.nodeCount++;if(isLeaf){result.leafNodeCount++;result.depth.min=Math.min(depth,result.depth.min);result.depth.max=Math.max(depth,result.depth.max);result.tris.min=Math.min(count,result.tris.min);result.tris.max=Math.max(count,result.tris.max);result.surfaceAreaScore+=surfaceArea*TRIANGLE_INTERSECT_COST*count}else{result.splits[offsetOrSplit]++;result.surfaceAreaScore+=surfaceArea*TRAVERSAL_COST}},group);if(result.tris.min===Infinity){result.tris.min=0;result.tris.max=0}if(result.depth.min===Infinity){result.depth.min=0;result.depth.max=0}return result}function getBVHExtremes(bvh){return bvh._roots.map((root,i)=>getRootExtremes(bvh,i))}function estimateMemoryInBytes(obj){const traversed=new Set;const stack=[obj];let bytes=0;while(stack.length){const curr=stack.pop();if(traversed.has(curr)){continue}traversed.add(curr);for(let key in curr){if(!curr.hasOwnProperty(key)){continue}bytes+=getPrimitiveSize(key);const value=curr[key];if(value&&(typeof value==="object"||typeof value==="function")){if(isTypedArray(value)){bytes+=value.byteLength}else if(value instanceof ArrayBuffer){bytes+=value.byteLength}else{stack.push(value)}}else{bytes+=getPrimitiveSize(value)}}}return bytes}function validateBounds(bvh){const geometry=bvh.geometry;const depthStack=[];const index=geometry.index;const position=geometry.getAttribute("position");let passes=true;bvh.traverse((depth,isLeaf,boundingData,offset,count)=>{const info={depth,isLeaf,boundingData,offset,count};depthStack[depth]=info;arrayToBox(0,boundingData,_box1);const parent=depthStack[depth-1];if(isLeaf){for(let i=offset*3,l=(offset+count)*3;i<l;i+=3){const i0=index.getX(i);const i1=index.getX(i+1);const i2=index.getX(i+2);let isContained;_vec.fromBufferAttribute(position,i0);isContained=_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i1);isContained=isContained&&_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i2);isContained=isContained&&_box1.containsPoint(_vec);console.assert(isContained,"Leaf bounds does not fully contain triangle.");passes=passes&&isContained}}if(parent){arrayToBox(0,boundingData,_box2);const isContained=_box2.containsBox(_box1);console.assert(isContained,"Parent bounds does not fully contain child.");passes=passes&&isContained}});return passes}function getJSONStructure(bvh){const depthStack=[];bvh.traverse((depth,isLeaf,boundingData,offset,count)=>{const info={bounds:arrayToBox(0,boundingData,new three.Box3)};if(isLeaf){info.count=count;info.offset=offset}else{info.left=null;info.right=null}depthStack[depth]=info;const parent=depthStack[depth-1];if(parent){if(parent.left===null){parent.left=info}else{parent.right=info}}});return depthStack[0]}const ray=new three.Ray;const tmpInverseMatrix=new three.Matrix4;const origMeshRaycastFunc=three.Mesh.prototype.raycast;function acceleratedRaycast(raycaster,intersects){if(this.geometry.boundsTree){if(this.material===undefined)return;tmpInverseMatrix.copy(this.matrixWorld).invert();ray.copy(raycaster.ray).applyMatrix4(tmpInverseMatrix);const bvh=this.geometry.boundsTree;if(raycaster.firstHitOnly===true){const hit=convertRaycastIntersect(bvh.raycastFirst(ray,this.material),this,raycaster);if(hit){intersects.push(hit)}}else{const hits=bvh.raycast(ray,this.material);for(let i=0,l=hits.length;i<l;i++){const hit=convertRaycastIntersect(hits[i],this,raycaster);if(hit){intersects.push(hit)}}}}else{origMeshRaycastFunc.call(this,raycaster,intersects)}}function computeBoundsTree(options){this.boundsTree=new MeshBVH(this,options);return this.boundsTree}function disposeBoundsTree(){this.boundsTree=null}function countToStringFormat(count){switch(count){case 1:return"R";case 2:return"RG";case 3:return"RGBA";case 4:return"RGBA";}throw new Error}function countToFormat(count){switch(count){case 1:return three.RedFormat;case 2:return three.RGFormat;case 3:return three.RGBAFormat;case 4:return three.RGBAFormat;}}function countToIntFormat(count){switch(count){case 1:return three.RedIntegerFormat;case 2:return three.RGIntegerFormat;case 3:return three.RGBAIntegerFormat;case 4:return three.RGBAIntegerFormat;}}class VertexAttributeTexture extends three.DataTexture{constructor(){super();this.minFilter=three.NearestFilter;this.magFilter=three.NearestFilter;this.generateMipmaps=false;this.overrideItemSize=null;this._forcedType=null}updateFrom(attr){const overrideItemSize=this.overrideItemSize;const originalItemSize=attr.itemSize;const originalCount=attr.count;if(overrideItemSize!==null){if(originalItemSize*originalCount%overrideItemSize!==0){throw new Error("VertexAttributeTexture: overrideItemSize must divide evenly into buffer length.")}attr.itemSize=overrideItemSize;attr.count=originalCount*originalItemSize/overrideItemSize}const itemSize=attr.itemSize;const count=attr.count;const normalized=attr.normalized;const originalBufferCons=attr.array.constructor;const byteCount=originalBufferCons.BYTES_PER_ELEMENT;let targetType=this._forcedType;let finalStride=itemSize;if(targetType===null){switch(originalBufferCons){case Float32Array:targetType=three.FloatType;break;case Uint8Array:case Uint16Array:case Uint32Array:targetType=three.UnsignedIntType;break;case Int8Array:case Int16Array:case Int32Array:targetType=three.IntType;break;}}let type,format,normalizeValue,targetBufferCons;let internalFormat=countToStringFormat(itemSize);switch(targetType){case three.FloatType:normalizeValue=1;format=countToFormat(itemSize);if(normalized&&byteCount===1){targetBufferCons=originalBufferCons;internalFormat+="8";if(originalBufferCons===Uint8Array){type=three.UnsignedByteType}else{type=three.ByteType;internalFormat+="_SNORM"}}else{targetBufferCons=Float32Array;internalFormat+="32F";type=three.FloatType}break;case three.IntType:internalFormat+=byteCount*8+"I";normalizeValue=normalized?Math.pow(2,originalBufferCons.BYTES_PER_ELEMENT*8-1):1;format=countToIntFormat(itemSize);if(byteCount===1){targetBufferCons=Int8Array;type=three.ByteType}else if(byteCount===2){targetBufferCons=Int16Array;type=three.ShortType}else{targetBufferCons=Int32Array;type=three.IntType}break;case three.UnsignedIntType:internalFormat+=byteCount*8+"UI";normalizeValue=normalized?Math.pow(2,originalBufferCons.BYTES_PER_ELEMENT*8-1):1;format=countToIntFormat(itemSize);if(byteCount===1){targetBufferCons=Uint8Array;type=three.UnsignedByteType}else if(byteCount===2){targetBufferCons=Uint16Array;type=three.UnsignedShortType}else{targetBufferCons=Uint32Array;type=three.UnsignedIntType}break;}if(finalStride===3&&(format===three.RGBAFormat||format===three.RGBAIntegerFormat)){finalStride=4}const dimension=Math.ceil(Math.sqrt(count));const length=finalStride*dimension*dimension;const dataArray=new targetBufferCons(length);const originalNormalized=attr.normalized;attr.normalized=false;for(let i=0;i<count;i++){const ii=finalStride*i;dataArray[ii]=attr.getX(i)/normalizeValue;if(itemSize>=2){dataArray[ii+1]=attr.getY(i)/normalizeValue}if(itemSize>=3){dataArray[ii+2]=attr.getZ(i)/normalizeValue;if(finalStride===4){dataArray[ii+3]=1}}if(itemSize>=4){dataArray[ii+3]=attr.getW(i)/normalizeValue}}attr.normalized=originalNormalized;this.internalFormat=internalFormat;this.format=format;this.type=type;this.image.width=dimension;this.image.height=dimension;this.image.data=dataArray;this.needsUpdate=true;this.dispose();attr.itemSize=originalItemSize;attr.count=originalCount}}class UIntVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.UnsignedIntType}}class IntVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.IntType}}class FloatVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.FloatType}}function bvhToTextures(bvh,boundsTexture,contentsTexture){const roots=bvh._roots;if(roots.length!==1){throw new Error("MeshBVHUniformStruct: Multi-root BVHs not supported.")}const root=roots[0];const uint16Array=new Uint16Array(root);const uint32Array=new Uint32Array(root);const float32Array=new Float32Array(root);const nodeCount=root.byteLength/BYTES_PER_NODE;const boundsDimension=2*Math.ceil(Math.sqrt(nodeCount/2));const boundsArray=new Float32Array(4*boundsDimension*boundsDimension);const contentsDimension=Math.ceil(Math.sqrt(nodeCount));const contentsArray=new Uint32Array(2*contentsDimension*contentsDimension);for(let i=0;i<nodeCount;i++){const nodeIndex32=i*BYTES_PER_NODE/4;const nodeIndex16=nodeIndex32*2;const boundsIndex=BOUNDING_DATA_INDEX(nodeIndex32);for(let b=0;b<3;b++){boundsArray[8*i+0+b]=float32Array[boundsIndex+0+b];boundsArray[8*i+4+b]=float32Array[boundsIndex+3+b]}if(IS_LEAF(nodeIndex16,uint16Array)){const count=COUNT(nodeIndex16,uint16Array);const offset=OFFSET(nodeIndex32,uint32Array);const mergedLeafCount=4294901760|count;contentsArray[i*2+0]=mergedLeafCount;contentsArray[i*2+1]=offset}else{const rightIndex=4*RIGHT_NODE(nodeIndex32,uint32Array)/BYTES_PER_NODE;const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);contentsArray[i*2+0]=splitAxis;contentsArray[i*2+1]=rightIndex}}boundsTexture.image.data=boundsArray;boundsTexture.image.width=boundsDimension;boundsTexture.image.height=boundsDimension;boundsTexture.format=three.RGBAFormat;boundsTexture.type=three.FloatType;boundsTexture.internalFormat="RGBA32F";boundsTexture.minFilter=three.NearestFilter;boundsTexture.magFilter=three.NearestFilter;boundsTexture.generateMipmaps=false;boundsTexture.needsUpdate=true;boundsTexture.dispose();contentsTexture.image.data=contentsArray;contentsTexture.image.width=contentsDimension;contentsTexture.image.height=contentsDimension;contentsTexture.format=three.RGIntegerFormat;contentsTexture.type=three.UnsignedIntType;contentsTexture.internalFormat="RG32UI";contentsTexture.minFilter=three.NearestFilter;contentsTexture.magFilter=three.NearestFilter;contentsTexture.generateMipmaps=false;contentsTexture.needsUpdate=true;contentsTexture.dispose()}class MeshBVHUniformStruct{constructor(){this.autoDispose=true;this.index=new UIntVertexAttributeTexture;this.position=new FloatVertexAttributeTexture;this.bvhBounds=new three.DataTexture;this.bvhContents=new three.DataTexture;this.index.overrideItemSize=3}updateFrom(bvh){const{geometry}=bvh;bvhToTextures(bvh,this.bvhBounds,this.bvhContents);this.index.updateFrom(geometry.index);this.position.updateFrom(geometry.attributes.position)}dispose(){const{index,position,bvhBounds,bvhContents}=this;if(index)index.dispose();if(position)position.dispose();if(bvhBounds)bvhBounds.dispose();if(bvhContents)bvhContents.dispose()}}const shaderStructs=`
#ifndef TRI_INTERSECT_EPSILON
#define TRI_INTERSECT_EPSILON 1e-5
#endif

#ifndef INFINITY
#define INFINITY 1e20
#endif

struct BVH {

	usampler2D index;
	sampler2D position;

	sampler2D bvhBounds;
	usampler2D bvhContents;

};
`;const shaderIntersectFunction=`

// Utilities
uvec4 uTexelFetch1D( usampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

ivec4 iTexelFetch1D( isampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

vec4 texelFetch1D( sampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

vec4 textureSampleBarycoord( sampler2D tex, vec3 barycoord, uvec3 faceIndices ) {

	return
		barycoord.x * texelFetch1D( tex, faceIndices.x ) +
		barycoord.y * texelFetch1D( tex, faceIndices.y ) +
		barycoord.z * texelFetch1D( tex, faceIndices.z );

}

void ndcToCameraRay(
	vec2 coord, mat4 cameraWorld, mat4 invProjectionMatrix,
	out vec3 rayOrigin, out vec3 rayDirection
) {

	// get camera look direction and near plane for camera clipping
	vec4 lookDirection = cameraWorld * vec4( 0.0, 0.0, - 1.0, 0.0 );
	vec4 nearVector = invProjectionMatrix * vec4( 0.0, 0.0, - 1.0, 1.0 );
	float near = abs( nearVector.z / nearVector.w );

	// get the camera direction and position from camera matrices
	vec4 origin = cameraWorld * vec4( 0.0, 0.0, 0.0, 1.0 );
	vec4 direction = invProjectionMatrix * vec4( coord, 0.5, 1.0 );
	direction /= direction.w;
	direction = cameraWorld * direction - origin;

	// slide the origin along the ray until it sits at the near clip plane position
	origin.xyz += direction.xyz * near / dot( direction, lookDirection );

	rayOrigin = origin.xyz;
	rayDirection = direction.xyz;

}

// Raycasting
float intersectsBounds( vec3 rayOrigin, vec3 rayDirection, vec3 boundsMin, vec3 boundsMax ) {

	// https://www.reddit.com/r/opengl/comments/8ntzz5/fast_glsl_ray_box_intersection/
	// https://tavianator.com/2011/ray_box.html
	vec3 invDir = 1.0 / rayDirection;

	// find intersection distances for each plane
	vec3 tMinPlane = invDir * ( boundsMin - rayOrigin );
	vec3 tMaxPlane = invDir * ( boundsMax - rayOrigin );

	// get the min and max distances from each intersection
	vec3 tMinHit = min( tMaxPlane, tMinPlane );
	vec3 tMaxHit = max( tMaxPlane, tMinPlane );

	// get the furthest hit distance
	vec2 t = max( tMinHit.xx, tMinHit.yz );
	float t0 = max( t.x, t.y );

	// get the minimum hit distance
	t = min( tMaxHit.xx, tMaxHit.yz );
	float t1 = min( t.x, t.y );

	// set distance to 0.0 if the ray starts inside the box
	float dist = max( t0, 0.0 );

	return t1 >= dist ? dist : INFINITY;

}

bool intersectsTriangle(
	vec3 rayOrigin, vec3 rayDirection, vec3 a, vec3 b, vec3 c,
	out vec3 barycoord, out vec3 norm, out float dist, out float side
) {

	// https://stackoverflow.com/questions/42740765/intersection-between-line-and-triangle-in-3d
	vec3 edge1 = b - a;
	vec3 edge2 = c - a;
	norm = cross( edge1, edge2 );

	float det = - dot( rayDirection, norm );
	float invdet = 1.0 / det;

	vec3 AO = rayOrigin - a;
	vec3 DAO = cross( AO, rayDirection );

	vec4 uvt;
	uvt.x = dot( edge2, DAO ) * invdet;
	uvt.y = - dot( edge1, DAO ) * invdet;
	uvt.z = dot( AO, norm ) * invdet;
	uvt.w = 1.0 - uvt.x - uvt.y;

	// set the hit information
	barycoord = uvt.wxy; // arranged in A, B, C order
	dist = uvt.z;
	side = sign( det );
	norm = side * normalize( norm );

	// add an epsilon to avoid misses between triangles
	uvt += vec4( TRI_INTERSECT_EPSILON );

	return all( greaterThanEqual( uvt, vec4( 0.0 ) ) );

}

bool intersectTriangles(
	BVH bvh, vec3 rayOrigin, vec3 rayDirection, uint offset, uint count,
	inout float minDistance,

	// output variables
	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
	out float side, out float dist
) {

	bool found = false;
	vec3 localBarycoord, localNormal;
	float localDist, localSide;
	for ( uint i = offset, l = offset + count; i < l; i ++ ) {

		uvec3 indices = uTexelFetch1D( bvh.index, i ).xyz;
		vec3 a = texelFetch1D( bvh.position, indices.x ).rgb;
		vec3 b = texelFetch1D( bvh.position, indices.y ).rgb;
		vec3 c = texelFetch1D( bvh.position, indices.z ).rgb;

		if (
			intersectsTriangle( rayOrigin, rayDirection, a, b, c, localBarycoord, localNormal, localDist, localSide )
			&& localDist < minDistance
		) {

			found = true;
			minDistance = localDist;

			faceIndices = uvec4( indices.xyz, i );
			faceNormal = localNormal;

			side = localSide;
			barycoord = localBarycoord;
			dist = localDist;

		}

	}

	return found;

}

float intersectsBVHNodeBounds( vec3 rayOrigin, vec3 rayDirection, BVH bvh, uint currNodeIndex ) {

	vec3 boundsMin = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 0u ).xyz;
	vec3 boundsMax = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 1u ).xyz;
	return intersectsBounds( rayOrigin, rayDirection, boundsMin, boundsMax );

}

bool bvhIntersectFirstHit(
	BVH bvh, vec3 rayOrigin, vec3 rayDirection,

	// output variables
	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
	out float side, out float dist
) {

	// stack needs to be twice as long as the deepest tree we expect because
	// we push both the left and right child onto the stack every traversal
	int ptr = 0;
	uint stack[ 60 ];
	stack[ 0 ] = 0u;

	float triangleDistance = 1e20;
	bool found = false;
	while ( ptr > - 1 && ptr < 60 ) {

		uint currNodeIndex = stack[ ptr ];
		ptr --;

		// check if we intersect the current bounds
		float boundsHitDistance = intersectsBVHNodeBounds( rayOrigin, rayDirection, bvh, currNodeIndex );
		if ( boundsHitDistance == INFINITY || boundsHitDistance > triangleDistance ) {

			continue;

		}

		uvec2 boundsInfo = uTexelFetch1D( bvh.bvhContents, currNodeIndex ).xy;
		bool isLeaf = bool( boundsInfo.x & 0xffff0000u );

		if ( isLeaf ) {

			uint count = boundsInfo.x & 0x0000ffffu;
			uint offset = boundsInfo.y;

			found = intersectTriangles(
				bvh, rayOrigin, rayDirection, offset, count, triangleDistance,
				faceIndices, faceNormal, barycoord, side, dist
			) || found;

		} else {

			uint leftIndex = currNodeIndex + 1u;
			uint splitAxis = boundsInfo.x & 0x0000ffffu;
			uint rightIndex = boundsInfo.y;

			bool leftToRight = rayDirection[ splitAxis ] >= 0.0;
			uint c1 = leftToRight ? leftIndex : rightIndex;
			uint c2 = leftToRight ? rightIndex : leftIndex;

			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
			// the stack while we traverse. The second pointer added is the one that will be
			// traversed first
			ptr ++;
			stack[ ptr ] = c2;

			ptr ++;
			stack[ ptr ] = c1;

		}

	}

	return found;

}
`;const shaderDistanceFunction=`

float dot2( in vec3 v ) {

	return dot( v, v );

}


// https://www.shadertoy.com/view/ttfGWl
vec3 closestPointToTriangle( vec3 p, vec3 v0, vec3 v1, vec3 v2, out vec3 barycoord ) {

    vec3 v10 = v1 - v0;
    vec3 v21 = v2 - v1;
    vec3 v02 = v0 - v2;

	vec3 p0 = p - v0;
	vec3 p1 = p - v1;
	vec3 p2 = p - v2;

    vec3 nor = cross( v10, v02 );

    // method 2, in barycentric space
    vec3  q = cross( nor, p0 );
    float d = 1.0 / dot2( nor );
    float u = d * dot( q, v02 );
    float v = d * dot( q, v10 );
    float w = 1.0 - u - v;

	if( u < 0.0 ) {

		w = clamp( dot( p2, v02 ) / dot2( v02 ), 0.0, 1.0 );
		u = 0.0;
		v = 1.0 - w;

	} else if( v < 0.0 ) {

		u = clamp( dot( p0, v10 ) / dot2( v10 ), 0.0, 1.0 );
		v = 0.0;
		w = 1.0 - u;

	} else if( w < 0.0 ) {

		v = clamp( dot( p1, v21 ) / dot2( v21 ), 0.0, 1.0 );
		w = 0.0;
		u = 1.0-v;

	}

	barycoord = vec3( u, v, w );
    return u * v1 + v * v2 + w * v0;

}

float distanceToTriangles(
	BVH bvh, vec3 point, uint offset, uint count, float closestDistanceSquared,

	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord, out float side, out vec3 outPoint
) {

	bool found = false;
	uvec3 localIndices;
	vec3 localBarycoord;
	vec3 localNormal;
	for ( uint i = offset, l = offset + count; i < l; i ++ ) {

		uvec3 indices = uTexelFetch1D( bvh.index, i ).xyz;
		vec3 a = texelFetch1D( bvh.position, indices.x ).rgb;
		vec3 b = texelFetch1D( bvh.position, indices.y ).rgb;
		vec3 c = texelFetch1D( bvh.position, indices.z ).rgb;

		// get the closest point and barycoord
		vec3 closestPoint = closestPointToTriangle( point, a, b, c, localBarycoord );
		vec3 delta = point - closestPoint;
		float sqDist = dot2( delta );
		if ( sqDist < closestDistanceSquared ) {

			// set the output results
			closestDistanceSquared = sqDist;
			faceIndices = uvec4( indices.xyz, i );
			faceNormal = normalize( cross( a - b, b - c ) );
			barycoord = localBarycoord;
			outPoint = closestPoint;
			side = sign( dot( faceNormal, delta ) );

		}

	}

	return closestDistanceSquared;

}

float distanceSqToBounds( vec3 point, vec3 boundsMin, vec3 boundsMax ) {

	vec3 clampedPoint = clamp( point, boundsMin, boundsMax );
	vec3 delta = point - clampedPoint;
	return dot( delta, delta );

}

float distanceSqToBVHNodeBoundsPoint( vec3 point, BVH bvh, uint currNodeIndex ) {

	vec3 boundsMin = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 0u ).xyz;
	vec3 boundsMax = texelFetch1D( bvh.bvhBounds, currNodeIndex * 2u + 1u ).xyz;
	return distanceSqToBounds( point, boundsMin, boundsMax );

}

float bvhClosestPointToPoint(
	BVH bvh, vec3 point,

	// output variables
	out uvec4 faceIndices, out vec3 faceNormal, out vec3 barycoord,
	out float side, out vec3 outPoint
 ) {

	// stack needs to be twice as long as the deepest tree we expect because
	// we push both the left and right child onto the stack every traversal
	int ptr = 0;
	uint stack[ 60 ];
	stack[ 0 ] = 0u;
	float closestDistanceSquared = pow( 100000.0, 2.0 );
	bool found = false;
	while ( ptr > - 1 && ptr < 60 ) {

		uint currNodeIndex = stack[ ptr ];
		ptr --;

		// check if we intersect the current bounds
		float boundsHitDistance = distanceSqToBVHNodeBoundsPoint( point, bvh, currNodeIndex );
		if ( boundsHitDistance > closestDistanceSquared ) {

			continue;

		}

		uvec2 boundsInfo = uTexelFetch1D( bvh.bvhContents, currNodeIndex ).xy;
		bool isLeaf = bool( boundsInfo.x & 0xffff0000u );
		if ( isLeaf ) {

			uint count = boundsInfo.x & 0x0000ffffu;
			uint offset = boundsInfo.y;
			closestDistanceSquared = distanceToTriangles(
				bvh, point, offset, count, closestDistanceSquared,

				// outputs
				faceIndices, faceNormal, barycoord, side, outPoint
			);

		} else {

			uint leftIndex = currNodeIndex + 1u;
			uint splitAxis = boundsInfo.x & 0x0000ffffu;
			uint rightIndex = boundsInfo.y;
			bool leftToRight = distanceSqToBVHNodeBoundsPoint( point, bvh, leftIndex ) < distanceSqToBVHNodeBoundsPoint( point, bvh, rightIndex );//rayDirection[ splitAxis ] >= 0.0;
			uint c1 = leftToRight ? leftIndex : rightIndex;
			uint c2 = leftToRight ? rightIndex : leftIndex;

			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
			// the stack while we traverse. The second pointer added is the one that will be
			// traversed first
			ptr ++;
			stack[ ptr ] = c2;
			ptr ++;
			stack[ ptr ] = c1;

		}

	}

	return sqrt( closestDistanceSquared );

}
`;const _positionVector=new three.Vector3;const _normalVector=new three.Vector3;const _tangentVector=new three.Vector3;const _tangentVector4=new three.Vector4;const _morphVector=new three.Vector3;const _temp=new three.Vector3;const _skinIndex=new three.Vector4;const _skinWeight=new three.Vector4;const _matrix=new three.Matrix4;const _boneMatrix=new three.Matrix4;function validateAttributes(attr1,attr2){if(!attr1&&!attr2){return}const sameCount=attr1.count===attr2.count;const sameNormalized=attr1.normalized===attr2.normalized;const sameType=attr1.array.constructor===attr2.array.constructor;const sameItemSize=attr1.itemSize===attr2.itemSize;if(!sameCount||!sameNormalized||!sameType||!sameItemSize){throw new Error}}function createAttributeClone(attr,countOverride=null){const cons=attr.array.constructor;const normalized=attr.normalized;const itemSize=attr.itemSize;const count=countOverride===null?attr.count:countOverride;return new three.BufferAttribute(new cons(itemSize*count),itemSize,normalized)}function copyAttributeContents(attr,target,targetOffset=0){if(attr.isInterleavedBufferAttribute){const itemSize=attr.itemSize;for(let i=0,l=attr.count;i<l;i++){const io=i+targetOffset;target.setX(io,attr.getX(i));if(itemSize>=2)target.setY(io,attr.getY(i));if(itemSize>=3)target.setZ(io,attr.getZ(i));if(itemSize>=4)target.setW(io,attr.getW(i))}}else{const array=target.array;const cons=array.constructor;const byteOffset=array.BYTES_PER_ELEMENT*attr.itemSize*targetOffset;const temp=new cons(array.buffer,byteOffset,attr.array.length);temp.set(attr.array)}}function addScaledMatrix(target,matrix,scale){const targetArray=target.elements;const matrixArray=matrix.elements;for(let i=0,l=matrixArray.length;i<l;i++){targetArray[i]+=matrixArray[i]*scale}}function boneNormalTransform(mesh,index,target){const skeleton=mesh.skeleton;const geometry=mesh.geometry;const bones=skeleton.bones;const boneInverses=skeleton.boneInverses;_skinIndex.fromBufferAttribute(geometry.attributes.skinIndex,index);_skinWeight.fromBufferAttribute(geometry.attributes.skinWeight,index);_matrix.elements.fill(0);for(let i=0;i<4;i++){const weight=_skinWeight.getComponent(i);if(weight!==0){const boneIndex=_skinIndex.getComponent(i);_boneMatrix.multiplyMatrices(bones[boneIndex].matrixWorld,boneInverses[boneIndex]);addScaledMatrix(_matrix,_boneMatrix,weight)}}_matrix.multiply(mesh.bindMatrix).premultiply(mesh.bindMatrixInverse);target.transformDirection(_matrix);return target}function applyMorphTarget(morphData,morphInfluences,morphTargetsRelative,i,target){_morphVector.set(0,0,0);for(let j=0,jl=morphData.length;j<jl;j++){const influence=morphInfluences[j];const morphAttribute=morphData[j];if(influence===0)continue;_temp.fromBufferAttribute(morphAttribute,i);if(morphTargetsRelative){_morphVector.addScaledVector(_temp,influence)}else{_morphVector.addScaledVector(_temp.sub(target),influence)}}target.add(_morphVector)}function mergeBufferGeometries(geometries,options={useGroups:false,updateIndex:false,skipAttributes:[]},targetGeometry=new three.BufferGeometry){const isIndexed=geometries[0].index!==null;const{useGroups=false,updateIndex=false,skipAttributes=[]}=options;const attributesUsed=new Set(Object.keys(geometries[0].attributes));const attributes={};let offset=0;targetGeometry.clearGroups();for(let i=0;i<geometries.length;++i){const geometry=geometries[i];let attributesCount=0;if(isIndexed!==(geometry.index!==null)){throw new Error("StaticGeometryGenerator: All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.")}for(const name in geometry.attributes){if(!attributesUsed.has(name)){throw new Error("StaticGeometryGenerator: All geometries must have compatible attributes; make sure \""+name+"\" attribute exists among all geometries, or in none of them.")}if(attributes[name]===undefined){attributes[name]=[]}attributes[name].push(geometry.attributes[name]);attributesCount++}if(attributesCount!==attributesUsed.size){throw new Error("StaticGeometryGenerator: Make sure all geometries have the same number of attributes.")}if(useGroups){let count;if(isIndexed){count=geometry.index.count}else if(geometry.attributes.position!==undefined){count=geometry.attributes.position.count}else{throw new Error("StaticGeometryGenerator: The geometry must have either an index or a position attribute")}targetGeometry.addGroup(offset,count,i);offset+=count}}if(isIndexed){let forceUpdateIndex=false;if(!targetGeometry.index){let indexCount=0;for(let i=0;i<geometries.length;++i){indexCount+=geometries[i].index.count}targetGeometry.setIndex(new three.BufferAttribute(new Uint32Array(indexCount),1,false));forceUpdateIndex=true}if(updateIndex||forceUpdateIndex){const targetIndex=targetGeometry.index;let targetOffset=0;let indexOffset=0;for(let i=0;i<geometries.length;++i){const geometry=geometries[i];const index=geometry.index;if(skipAttributes[i]!==true){for(let j=0;j<index.count;++j){targetIndex.setX(targetOffset,index.getX(j)+indexOffset);targetOffset++}}indexOffset+=geometry.attributes.position.count}}}for(const name in attributes){const attrList=attributes[name];if(!(name in targetGeometry.attributes)){let count=0;for(const key in attrList){count+=attrList[key].count}targetGeometry.setAttribute(name,createAttributeClone(attributes[name][0],count))}const targetAttribute=targetGeometry.attributes[name];let offset=0;for(let i=0,l=attrList.length;i<l;i++){const attr=attrList[i];if(skipAttributes[i]!==true){copyAttributeContents(attr,targetAttribute,offset)}offset+=attr.count}}return targetGeometry}function checkTypedArrayEquality(a,b){if(a===null||b===null){return a===b}if(a.length!==b.length){return false}for(let i=0,l=a.length;i<l;i++){if(a[i]!==b[i]){return false}}return true}class GeometryDiff{constructor(mesh){this.matrixWorld=new three.Matrix4;this.geometryHash=null;this.boneMatrices=null;this.primitiveCount=-1;this.mesh=mesh;this.update()}update(){const mesh=this.mesh;const geometry=mesh.geometry;const skeleton=mesh.skeleton;const primitiveCount=(geometry.index?geometry.index.count:geometry.attributes.position.count)/3;this.matrixWorld.copy(mesh.matrixWorld);this.geometryHash=geometry.attributes.position.version;this.primitiveCount=primitiveCount;if(skeleton){if(!skeleton.boneTexture){skeleton.computeBoneTexture()}skeleton.update();const boneMatrices=skeleton.boneMatrices;if(!this.boneMatrices||this.boneMatrices.length!==boneMatrices.length){this.boneMatrices=boneMatrices.slice()}else{this.boneMatrices.set(boneMatrices)}}else{this.boneMatrices=null}}didChange(){const mesh=this.mesh;const geometry=mesh.geometry;const primitiveCount=(geometry.index?geometry.index.count:geometry.attributes.position.count)/3;const identical=this.matrixWorld.equals(mesh.matrixWorld)&&this.geometryHash===geometry.attributes.position.version&&checkTypedArrayEquality(mesh.skeleton&&mesh.skeleton.boneMatrices||null,this.boneMatrices)&&this.primitiveCount===primitiveCount;return!identical}}class StaticGeometryGenerator{constructor(meshes){if(!Array.isArray(meshes)){meshes=[meshes]}const finalMeshes=[];meshes.forEach(object=>{object.traverseVisible(c=>{if(c.isMesh){finalMeshes.push(c)}})});this.meshes=finalMeshes;this.useGroups=true;this.applyWorldTransforms=true;this.attributes=["position","normal","color","tangent","uv","uv2"];this._intermediateGeometry=new Array(finalMeshes.length).fill().map(()=>new three.BufferGeometry);this._diffMap=new WeakMap}getMaterials(){const materials=[];this.meshes.forEach(mesh=>{if(Array.isArray(mesh.material)){materials.push(...mesh.material)}else{materials.push(mesh.material)}});return materials}generate(targetGeometry=new three.BufferGeometry){let skipAttributes=[];const{meshes,useGroups,_intermediateGeometry,_diffMap}=this;for(let i=0,l=meshes.length;i<l;i++){const mesh=meshes[i];const geom=_intermediateGeometry[i];const diff=_diffMap.get(mesh);if(!diff||diff.didChange(mesh)){this._convertToStaticGeometry(mesh,geom);skipAttributes.push(false);if(!diff){_diffMap.set(mesh,new GeometryDiff(mesh))}else{diff.update()}}else{skipAttributes.push(true)}}mergeBufferGeometries(_intermediateGeometry,{useGroups,skipAttributes},targetGeometry);for(const key in targetGeometry.attributes){targetGeometry.attributes[key].needsUpdate=true}return targetGeometry}_convertToStaticGeometry(mesh,targetGeometry=new three.BufferGeometry){const geometry=mesh.geometry;const applyWorldTransforms=this.applyWorldTransforms;const includeNormal=this.attributes.includes("normal");const includeTangent=this.attributes.includes("tangent");const attributes=geometry.attributes;const targetAttributes=targetGeometry.attributes;if(!targetGeometry.index){targetGeometry.index=geometry.index}if(!targetAttributes.position){targetGeometry.setAttribute("position",createAttributeClone(attributes.position))}if(includeNormal&&!targetAttributes.normal&&attributes.normal){targetGeometry.setAttribute("normal",createAttributeClone(attributes.normal))}if(includeTangent&&!targetAttributes.tangent&&attributes.tangent){targetGeometry.setAttribute("tangent",createAttributeClone(attributes.tangent))}validateAttributes(geometry.index,targetGeometry.index);validateAttributes(attributes.position,targetAttributes.position);if(includeNormal){validateAttributes(attributes.normal,targetAttributes.normal)}if(includeTangent){validateAttributes(attributes.tangent,targetAttributes.tangent)}const position=attributes.position;const normal=includeNormal?attributes.normal:null;const tangent=includeTangent?attributes.tangent:null;const morphPosition=geometry.morphAttributes.position;const morphNormal=geometry.morphAttributes.normal;const morphTangent=geometry.morphAttributes.tangent;const morphTargetsRelative=geometry.morphTargetsRelative;const morphInfluences=mesh.morphTargetInfluences;const normalMatrix=new three.Matrix3;normalMatrix.getNormalMatrix(mesh.matrixWorld);for(let i=0,l=attributes.position.count;i<l;i++){_positionVector.fromBufferAttribute(position,i);if(normal){_normalVector.fromBufferAttribute(normal,i)}if(tangent){_tangentVector4.fromBufferAttribute(tangent,i);_tangentVector.fromBufferAttribute(tangent,i)}if(morphInfluences){if(morphPosition){applyMorphTarget(morphPosition,morphInfluences,morphTargetsRelative,i,_positionVector)}if(morphNormal){applyMorphTarget(morphNormal,morphInfluences,morphTargetsRelative,i,_normalVector)}if(morphTangent){applyMorphTarget(morphTangent,morphInfluences,morphTargetsRelative,i,_tangentVector)}}if(mesh.isSkinnedMesh){mesh.applyBoneTransform(i,_positionVector);if(normal){boneNormalTransform(mesh,i,_normalVector)}if(tangent){boneNormalTransform(mesh,i,_tangentVector)}}if(applyWorldTransforms){_positionVector.applyMatrix4(mesh.matrixWorld)}targetAttributes.position.setXYZ(i,_positionVector.x,_positionVector.y,_positionVector.z);if(normal){if(applyWorldTransforms){_normalVector.applyNormalMatrix(normalMatrix)}targetAttributes.normal.setXYZ(i,_normalVector.x,_normalVector.y,_normalVector.z)}if(tangent){if(applyWorldTransforms){_tangentVector.transformDirection(mesh.matrixWorld)}targetAttributes.tangent.setXYZW(i,_tangentVector.x,_tangentVector.y,_tangentVector.z,_tangentVector4.w)}}for(const i in this.attributes){const key=this.attributes[i];if(key==="position"||key==="tangent"||key==="normal"||!(key in attributes)){continue}if(!targetAttributes[key]){targetGeometry.setAttribute(key,createAttributeClone(attributes[key]))}validateAttributes(attributes[key],targetAttributes[key]);copyAttributeContents(attributes[key],targetAttributes[key])}return targetGeometry}}exports.AVERAGE=AVERAGE;exports.CENTER=CENTER;exports.CONTAINED=CONTAINED;exports.ExtendedTriangle=ExtendedTriangle;exports.FloatVertexAttributeTexture=FloatVertexAttributeTexture;exports.INTERSECTED=INTERSECTED;exports.IntVertexAttributeTexture=IntVertexAttributeTexture;exports.MeshBVH=MeshBVH;exports.MeshBVHUniformStruct=MeshBVHUniformStruct;exports.MeshBVHVisualizer=MeshBVHVisualizer;exports.NOT_INTERSECTED=NOT_INTERSECTED;exports.OrientedBox=OrientedBox;exports.SAH=SAH;exports.StaticGeometryGenerator=StaticGeometryGenerator;exports.UIntVertexAttributeTexture=UIntVertexAttributeTexture;exports.VertexAttributeTexture=VertexAttributeTexture;exports.acceleratedRaycast=acceleratedRaycast;exports.computeBoundsTree=computeBoundsTree;exports.disposeBoundsTree=disposeBoundsTree;exports.estimateMemoryInBytes=estimateMemoryInBytes;exports.getBVHExtremes=getBVHExtremes;exports.getJSONStructure=getJSONStructure;exports.getTriangleHitPointInfo=getTriangleHitPointInfo;exports.shaderDistanceFunction=shaderDistanceFunction;exports.shaderIntersectFunction=shaderIntersectFunction;exports.shaderStructs=shaderStructs;exports.validateBounds=validateBounds;Object.defineProperty(exports,"__esModule",{value:true});three.BufferGeometry.prototype.computeBoundsTree=computeBoundsTree;three.BufferGeometry.prototype.disposeBoundsTree=disposeBoundsTree;three.Mesh.prototype.raycast=acceleratedRaycast});THREE.MeshoptDecoder=function(){"use strict";var wasm_base="b9H79Tebbbe8Fv9Gbb9Gvuuuuueu9Giuuub9Geueu9Giuuueuikqbeeedddillviebeoweuec:q;iekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbeY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVbdE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbiL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtblK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbol79IV9Rbrq:P8Yqdbk;3sezu8Jjjjjbcj;eb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Radz1jjjbhwcj;abad9UhoaicefhldnadTmbaoc;WFbGgocjdaocjd6EhDcbhqinaqae9pmeaDaeaq9RaqaDfae6Egkcsfgocl4cifcd4hxdndndndnaoc9WGgmTmbcbhPcehsawcjdfhzalhHinaraH9Rax6midnaraHaxfgl9RcK6mbczhoinawcj;cbfaogifgoc9WfhOdndndndndnaHaic9WfgAco4fRbbaAci4coG4ciGPlbedibkaO9cb83ibaOcwf9cb83ibxikaOalRblalRbbgAco4gCaCciSgCE86bbaocGfalclfaCfgORbbaAcl4ciGgCaCciSgCE86bbaocVfaOaCfgORbbaAcd4ciGgCaCciSgCE86bbaoc7faOaCfgORbbaAciGgAaAciSgAE86bbaoctfaOaAfgARbbalRbegOco4gCaCciSgCE86bbaoc91faAaCfgARbbaOcl4ciGgCaCciSgCE86bbaoc4faAaCfgARbbaOcd4ciGgCaCciSgCE86bbaoc93faAaCfgARbbaOciGgOaOciSgOE86bbaoc94faAaOfgARbbalRbdgOco4gCaCciSgCE86bbaoc95faAaCfgARbbaOcl4ciGgCaCciSgCE86bbaoc96faAaCfgARbbaOcd4ciGgCaCciSgCE86bbaoc97faAaCfgARbbaOciGgOaOciSgOE86bbaoc98faAaOfgORbbalRbiglco4gAaAciSgAE86bbaoc99faOaAfgORbbalcl4ciGgAaAciSgAE86bbaoc9:faOaAfgORbbalcd4ciGgAaAciSgAE86bbaocufaOaAfgoRbbalciGglalciSglE86bbaoalfhlxdkaOalRbwalRbbgAcl4gCaCcsSgCE86bbaocGfalcwfaCfgORbbaAcsGgAaAcsSgAE86bbaocVfaOaAfgORbbalRbegAcl4gCaCcsSgCE86bbaoc7faOaCfgORbbaAcsGgAaAcsSgAE86bbaoctfaOaAfgORbbalRbdgAcl4gCaCcsSgCE86bbaoc91faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc4faOaAfgORbbalRbigAcl4gCaCcsSgCE86bbaoc93faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc94faOaAfgORbbalRblgAcl4gCaCcsSgCE86bbaoc95faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc96faOaAfgORbbalRbvgAcl4gCaCcsSgCE86bbaoc97faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc98faOaAfgORbbalRbogAcl4gCaCcsSgCE86bbaoc99faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc9:faOaAfgORbbalRbrglcl4gAaAcsSgAE86bbaocufaOaAfgoRbbalcsGglalcsSglE86bbaoalfhlxekaOal8Pbb83bbaOcwfalcwf8Pbb83bbalczfhlkdnaiam9pmbaiczfhoaral9RcL0mekkaiam6mialTmidnakTmbawaPfRbbhOcbhoazhiinaiawcj;cbfaofRbbgAce4cbaAceG9R7aOfgO86bbaiadfhiaocefgoak9hmbkkazcefhzaPcefgPad6hsalhHaPad9hmexvkkcbhlasceGmdxikalaxad2fhCdnakTmbcbhHcehsawcjdfhminaral9Rax6mialTmdalaxfhlawaHfRbbhOcbhoamhiinaiawcj;cbfaofRbbgAce4cbaAceG9R7aOfgO86bbaiadfhiaocefgoak9hmbkamcefhmaHcefgHad6hsaHad9hmbkaChlxikcbhocehsinaral9Rax6mdalTmealaxfhlaocefgoad6hsadao9hmbkaChlxdkcbhlasceGTmekc9:hoxikabaqad2fawcjdfakad2z1jjjb8Aawawcjdfakcufad2fadz1jjjb8Aakaqfhqalmbkc9:hoxekcbc99aral9Radcaadca0ESEhokavcj;ebf8Kjjjjbaok;yzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecjez:jjjjb8AavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhDcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgrc;Ve0mbavc;abfalarcl4cu7fcsGcitfgPydlhsaPydbhzdnarcsGgPak9pmbavaiarcu7fcsGcdtfydbaxaPEhraPThPdndnadcd9hmbabaDcetfgHaz87ebaHcdfas87ebaHclfar87ebxekabaDcdtfgHazBdbaHclfasBdbaHcwfarBdbkaxaPfhxavc;abfalcitfgHarBdbaHasBdlavaicdtfarBdbavc;abfalcefcsGglcitfgHazBdbaHarBdlaiaPfhialcefhlxdkdndnaPcsSmbamaPfaPc987fcefhmxekaocefhrao8SbbgPcFeGhHdndnaPcu9mmbarhoxekaocvfhoaHcFbGhHcrhPdninar8SbbgOcFbGaPtaHVhHaOcu9kmearcefhraPcrfgPc8J9hmbxdkkarcefhokaHce4cbaHceG9R7amfhmkdndnadcd9hmbabaDcetfgraz87ebarcdfas87ebarclfam87ebxekabaDcdtfgrazBdbarclfasBdbarcwfamBdbkavc;abfalcitfgramBdbarasBdlavaicdtfamBdbavc;abfalcefcsGglcitfgrazBdbaramBdlaicefhialcefhlxekdnarcpe0mbaxcefgOavaiaqarcsGfRbbgPcl49RcsGcdtfydbaPcz6gHEhravaiaP9RcsGcdtfydbaOaHfgsaPcsGgOEhPaOThOdndnadcd9hmbabaDcetfgzax87ebazcdfar87ebazclfaP87ebxekabaDcdtfgzaxBdbazclfarBdbazcwfaPBdbkavaicdtfaxBdbavc;abfalcitfgzarBdbazaxBdlavaicefgicsGcdtfarBdbavc;abfalcefcsGcitfgzaPBdbazarBdlavaiaHfcsGgicdtfaPBdbavc;abfalcdfcsGglcitfgraxBdbaraPBdlalcefhlaiaOfhiasaOfhxxekaxcbaoRbbgzEgAarc;:eSgrfhsazcsGhCazcl4hXdndnazcs0mbascefhOxekashOavaiaX9RcsGcdtfydbhskdndnaCmbaOcefhxxekaOhxavaiaz9RcsGcdtfydbhOkdndnarTmbaocefhrxekaocdfhrao8SbegHcFeGhPdnaHcu9kmbaocofhAaPcFbGhPcrhodninar8SbbgHcFbGaotaPVhPaHcu9kmearcefhraocrfgoc8J9hmbkaAhrxekarcefhrkaPce4cbaPceG9R7amfgmhAkdndnaXcsSmbarhPxekarcefhPar8SbbgocFeGhHdnaocu9kmbarcvfhsaHcFbGhHcrhodninaP8SbbgrcFbGaotaHVhHarcu9kmeaPcefhPaocrfgoc8J9hmbkashPxekaPcefhPkaHce4cbaHceG9R7amfgmhskdndnaCcsSmbaPhoxekaPcefhoaP8SbbgrcFeGhHdnarcu9kmbaPcvfhOaHcFbGhHcrhrdninao8SbbgPcFbGartaHVhHaPcu9kmeaocefhoarcrfgrc8J9hmbkaOhoxekaocefhokaHce4cbaHceG9R7amfgmhOkdndnadcd9hmbabaDcetfgraA87ebarcdfas87ebarclfaO87ebxekabaDcdtfgraABdbarclfasBdbarcwfaOBdbkavc;abfalcitfgrasBdbaraABdlavaicdtfaABdbavc;abfalcefcsGcitfgraOBdbarasBdlavaicefgicsGcdtfasBdbavc;abfalcdfcsGcitfgraABdbaraOBdlavaiazcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiaDcifgDae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:llevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:Lvoeue99dud99eud99dndnadcl9hmbaeTmeindndnabcdfgd8Sbb:Yab8Sbbgi:Ygl:l:tabcefgv8Sbbgo:Ygr:l:tgwJbb;:9cawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai86bbdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad86bbdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad86bbabclfhbaecufgembxdkkaeTmbindndnabclfgd8Ueb:Yab8Uebgi:Ygl:l:tabcdfgv8Uebgo:Ygr:l:tgwJb;:FSawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai87ebdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad87ebdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad87ebabcwfhbaecufgembkkk;siliui99iue99dnaeTmbcbhiabhlindndnJ;Zl81Zalcof8UebgvciV:Y:vgoal8Ueb:YNgrJb;:FSNJbbbZJbbb:;arJbbbb9GEMgw:lJbbb9p9DTmbaw:OhDxekcjjjj94hDkalclf8Uebhqalcdf8UebhkabavcefciGaiVcetfaD87ebdndnaoak:YNgwJb;:FSNJbbbZJbbb:;awJbbbb9GEMgx:lJbbb9p9DTmbax:Ohkxekcjjjj94hkkabavcdfciGaiVcetfak87ebdndnaoaq:YNgoJb;:FSNJbbbZJbbb:;aoJbbbb9GEMgx:lJbbb9p9DTmbax:Ohqxekcjjjj94hqkabavcufciGaiVcetfaq87ebdndnJbbjZararN:tawawN:taoaoN:tgrJbbbbarJbbbb9GE:rJb;:FSNJbbbZMgr:lJbbb9p9DTmbar:Ohqxekcjjjj94hqkabavciGaiVcetfaq87ebalcwfhlaiclfhiaecufgembkkk9mbdnadcd4ae2geTmbinababydbgdcwtcw91:Yadce91cjjj;8ifcjjj98G::NUdbabclfhbaecufgembkkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik;LeeeudndnaeabVciGTmbabhixekdndnadcz9pmbabhixekabhiinaiaeydbBdbaiclfaeclfydbBdbaicwfaecwfydbBdbaicxfaecxfydbBdbaiczfhiaeczfheadc9Wfgdcs0mbkkadcl6mbinaiaeydbBdbaeclfheaiclfhiadc98fgdci0mbkkdnadTmbinaiaeRbb86bbaicefhiaecefheadcufgdmbkkabk;aeedudndnabciGTmbabhixekaecFeGc:b:c:ew2hldndnadcz9pmbabhixekabhiinaialBdbaicxfalBdbaicwfalBdbaiclfalBdbaiczfhiadc9Wfgdcs0mbkkadcl6mbinaialBdbaiclfhiadc98fgdci0mbkkdnadTmbinaiae86bbaicefhiadcufgdmbkkabkkkebcjwklz9Kbb";var wasm_simd="b9H79TebbbeKl9Gbb9Gvuuuuueu9Giuuub9Geueuikqbbebeedddilve9Weeeviebeoweuec:q;Aekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbdY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVblE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtboK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbrL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbwl79IV9RbDq;t9tqlbzik9:evu8Jjjjjbcz9Rhbcbheincbhdcbhiinabcwfadfaicjuaead4ceGglE86bbaialfhiadcefgdcw9hmbkaec:q:yjjbfai86bbaecitc:q1jjbfab8Piw83ibaecefgecjd9hmbkk;h8JlHud97euo978Jjjjjbcj;kb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Rad;8qbbcj;abad9UhoaicefhldnadTmbaoc;WFbGgocjdaocjd6EhwcbhDinaDae9pmeawaeaD9RaDawfae6Egqcsfgoc9WGgkci2hxakcethmaocl4cifcd4hPabaDad2fhscbhzdnincehHalhOcbhAdninaraO9RaP6miavcj;cbfaAak2fhCaOaPfhlcbhidnakc;ab6mbaral9Rc;Gb6mbcbhoinaCaofhidndndndndnaOaoco4fRbbgXciGPlbedibkaipxbbbbbbbbbbbbbbbbpklbxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklbalczfhlkdndndndndnaXcd4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklzxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklzalczfhlkdndndndndnaXcl4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklaxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklaalczfhlkdndndndndnaXco4Plbedibkaipxbbbbbbbbbbbbbbbbpkl8WxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalclfaYpQbfaXc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalcwfaYpQbfaXc:q:yjjbfRbbfhlxekaialpbbbpkl8Walczfhlkaoc;abfhiaocjefak0meaihoaral9Rc;Fb0mbkkdndnaiak9pmbaici4hoinaral9RcK6mdaCaifhXdndndndndnaOaico4fRbbaocoG4ciGPlbedibkaXpxbbbbbbbbbbbbbbbbpklbxikaXalpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaXalpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbal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YaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfhiaXczfgXak6mbkkazclfgzad6mbkasavcjdfaqad2;8qbbavavcjdfaqcufad2fad;8qbbaqaDfhDc9:hoalmexikkc9:hoxekcbc99aral9Radcaadca0ESEhokavcj;kbf8Kjjjjbaokwbz:bjjjbk;uzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecje;8kbavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhDcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgrc;Ve0mbavc;abfalarcl4cu7fcsGcitfgPydlhsaPydbhzdnarcsGgPak9pmbavaiarcu7fcsGcdtfydbaxaPEhraPThPdndnadcd9hmbabaDcetfgHaz87ebaHcdfas87ebaHclfar87ebxekabaDcdtfgHazBdbaHclfasBdbaHcwfarBdbkaxaPfhxavc;abfalcitfgHarBdbaHasBdlavaicdtfarBdbavc;abfalcefcsGglcitfgHazBdbaHarBdlaiaPfhialcefhlxdkdndnaPcsSmbamaPfaPc987fcefhmxekaocefhrao8SbbgPcFeGhHdndnaPcu9mmbarhoxekaocvfhoaHcFbGhHcrhPdninar8SbbgOcFbGaPtaHVhHaOcu9kmearcefhraPcrfgPc8J9hmbxdkkarcefhokaHce4cbaHceG9R7amfhmkdndnadcd9hmbabaDcetfgraz87ebarcdfas87ebarclfam87ebxekabaDcdtfgrazBdbarclfasBdbarcwfamBdbkavc;abfalcitfgramBdbarasBdlavaicdtfamBdbavc;abfalcefcsGglcitfgrazBdbaramBdlaicefhialcefhlxekdnarcpe0mbaxcefgOavaiaqarcsGfRbbgPcl49RcsGcdtfydbaPcz6gHEhravaiaP9RcsGcdtfydbaOaHfgsaPcsGgOEhPaOThOdndnadcd9hmbabaDcetfgzax87ebazcdfar87ebazclfaP87ebxekabaDcdtfgzaxBdbazclfarBdbazcwfaPBdbkavaicdtfaxBdbavc;abfalcitfgzarBdbazaxBdlavaicefgicsGcdtfarBdbavc;abfalcefcsGcitfgzaPBdbazarBdlavaiaHfcsGgicdtfaPBdbavc;abfalcdfcsGglcitfgraxBdbaraPBdlalcefhlaiaOfhiasaOfhxxekaxcbaoRbbgzEgAarc;:eSgrfhsazcsGhCazcl4hXdndnazcs0mbascefhOxekashOavaiaX9RcsGcdtfydbhskdndnaCmbaOcefhxxekaOhxavaiaz9RcsGcdtfydbhOkdndnarTmbaocefhrxekaocdfhrao8SbegHcFeGhPdnaHcu9kmbaocofhAaPcFbGhPcrhodninar8SbbgHcFbGaotaPVhPaHcu9kmearcefhraocrfgoc8J9hmbkaAhrxekarcefhrkaPce4cbaPceG9R7amfgmhAkdndnaXcsSmbarhPxekarcefhPar8SbbgocFeGhHdnaocu9kmbarcvfhsaHcFbGhHcrhodninaP8SbbgrcFbGaotaHVhHarcu9kmeaPcefhPaocrfgoc8J9hmbkashPxekaPcefhPkaHce4cbaHceG9R7amfgmhskdndnaCcsSmbaPhoxekaPcefhoaP8SbbgrcFeGhHdnarcu9kmbaPcvfhOaHcFbGhHcrhrdninao8SbbgPcFbGartaHVhHaPcu9kmeaocefhoarcrfgrc8J9hmbkaOhoxekaocefhokaHce4cbaHceG9R7amfgmhOkdndnadcd9hmbabaDcetfgraA87ebarcdfas87ebarclfaO87ebxekabaDcdtfgraABdbarclfasBdbarcwfaOBdbkavc;abfalcitfgrasBdbaraABdlavaicdtfaABdbavc;abfalcefcsGcitfgraOBdbarasBdlavaicefgicsGcdtfasBdbavc;abfalcdfcsGcitfgraABdbaraOBdlavaiazcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiaDcifgDae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:llevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:EPliuo97eue978Jjjjjbca9Rhidndnadcl9hmbdnaec98GglTmbcbhvabhdinadadpbbbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpkbbadczfhdavclfgval6mbkkalae9pmeaiaeciGgvcdtgdVcbczad9R;8kbaiabalcdtfglad;8qbbdnavTmbaiaipblbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpklbkalaiad;8qbbskdnaec98GgxTmbcbhvabhdinadczfglalpbbbgopxbbbbbbFFbbbbbbFFgkp9oadpbbbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpkbbadaDakp9oawaopmbezHdiOAlvCXorQLp9qpkbbadcafhdavclfgvax6mbkkaxae9pmbaiaeciGgvcitgdfcbcaad9R;8kbaiabaxcitfglad;8qbbdnavTmbaiaipblzgopxbbbbbbFFbbbbbbFFgkp9oaipblbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpklzaiaDakp9oawaopmbezHdiOAlvCXorQLp9qpklbkalaiad;8qbbkk;4wllue97euv978Jjjjjbc8W9Rhidnaec98GglTmbcbhvabhoinaiaopbbbgraoczfgwpbbbgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklbaopxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblbpEb:T:j83ibaocwfarp5eaipblbpEe:T:j83ibawaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblbpEd:T:j83ibaocKfakp5eaipblbpEi:T:j83ibaocafhoavclfgval6mbkkdnalae9pmbaiaeciGgvcitgofcbcaao9R;8kbaiabalcitfgwao;8qbbdnavTmbaiaipblbgraipblzgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklaaipxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblapEb:T:j83ibaiarp5eaipblapEe:T:j83iwaiaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblapEd:T:j83izaiakp5eaipblapEi:T:j83iKkawaiao;8qbbkk:Pddiue978Jjjjjbc;ab9Rhidnadcd4ae2glc98GgvTmbcbhdabheinaeaepbbbgocwp:Recwp:Sep;6eaocep:SepxbbjZbbjZbbjZbbjZp:UepxbbjFbbjFbbjFbbjFp9op;Mepkbbaeczfheadclfgdav6mbkkdnaval9pmbaialciGgdcdtgeVcbc;abae9R;8kbaiabavcdtfgvae;8qbbdnadTmbaiaipblbgocwp:Recwp:Sep;6eaocep:SepxbbjZbbjZbbjZbbjZp:UepxbbjFbbjFbbjFbbjFp9op;Mepklbkavaiae;8qbbkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaikkkebcjwklz9Tbb";var detector=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]);var wasmpack=new Uint8Array([32,0,65,2,1,106,34,33,3,128,11,4,13,64,6,253,10,7,15,116,127,5,8,12,40,16,19,54,20,9,27,255,113,17,42,67,24,23,146,148,18,14,22,45,70,69,56,114,101,21,25,63,75,136,108,28,118,29,73,115]);if(typeof WebAssembly!=="object"){return{supported:false}}var wasm=WebAssembly.validate(detector)?wasm_simd:wasm_base;var instance;var ready=WebAssembly.instantiate(unpack(wasm),{}).then(function(result){instance=result.instance;instance.exports.__wasm_call_ctors()});function unpack(data){var result=new Uint8Array(data.length);for(var i=0;i<data.length;++i){var ch=data.charCodeAt(i);result[i]=ch>96?ch-97:ch>64?ch-39:ch+4}var write=0;for(var i=0;i<data.length;++i){result[write++]=result[i]<60?wasmpack[result[i]]:(result[i]-60)*64+result[++i]}return result.buffer.slice(0,write)}function decode(fun,target,count,size,source,filter){var sbrk=instance.exports.sbrk;var count4=count+3&~3;var tp=sbrk(count4*size);var sp=sbrk(source.length);var heap=new Uint8Array(instance.exports.memory.buffer);heap.set(source,sp);var res=fun(tp,count,size,sp,source.length);if(res==0&&filter){filter(tp,count4,size)}target.set(heap.subarray(tp,tp+count*size));sbrk(tp-sbrk(0));if(res!=0){throw new Error("Malformed buffer data: "+res)}}var filters={NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"};var decoders={ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"};var workers=[];var requestId=0;function createWorker(url){var worker={object:new Worker(url),pending:0,requests:{}};worker.object.onmessage=function(event){var data=event.data;worker.pending-=data.count;worker.requests[data.id][data.action](data.value);delete worker.requests[data.id]};return worker}function initWorkers(count){var source="var instance; var ready = WebAssembly.instantiate(new Uint8Array(["+new Uint8Array(unpack(wasm))+"]), {})"+".then(function(result) { instance = result.instance; instance.exports.__wasm_call_ctors(); });"+"self.onmessage = workerProcess;"+decode.toString()+workerProcess.toString();var blob=new Blob([source],{type:"text/javascript"});var url=URL.createObjectURL(blob);for(var i=0;i<count;++i){workers[i]=createWorker(url)}URL.revokeObjectURL(url)}function decodeWorker(count,size,source,mode,filter){var worker=workers[0];for(var i=1;i<workers.length;++i){if(workers[i].pending<worker.pending){worker=workers[i]}}return new Promise(function(resolve,reject){var data=new Uint8Array(source);var id=requestId++;worker.pending+=count;worker.requests[id]={resolve:resolve,reject:reject};worker.object.postMessage({id:id,count:count,size:size,source:data,mode:mode,filter:filter},[data.buffer])})}function workerProcess(event){ready.then(function(){var data=event.data;try{var target=new Uint8Array(data.count*data.size);decode(instance.exports[data.mode],target,data.count,data.size,data.source,instance.exports[data.filter]);self.postMessage({id:data.id,count:data.count,action:"resolve",value:target},[target.buffer])}catch(error){self.postMessage({id:data.id,count:data.count,action:"reject",value:error})}})}return{ready:ready,supported:true,useWorkers:function(count){initWorkers(count)},decodeVertexBuffer:function(target,count,size,source,filter){decode(instance.exports.meshopt_decodeVertexBuffer,target,count,size,source,instance.exports[filters[filter]])},decodeIndexBuffer:function(target,count,size,source){decode(instance.exports.meshopt_decodeIndexBuffer,target,count,size,source)},decodeIndexSequence:function(target,count,size,source){decode(instance.exports.meshopt_decodeIndexSequence,target,count,size,source)},decodeGltfBuffer:function(target,count,size,source,mode,filter){decode(instance.exports[decoders[mode]],target,count,size,source,instance.exports[filters[filter]])},decodeGltfBufferAsync:function(count,size,source,mode,filter){if(workers.length>0){return decodeWorker(count,size,source,decoders[mode],filters[filter])}return ready.then(function(){var target=new Uint8Array(count*size);decode(instance.exports[decoders[mode]],target,count,size,source,instance.exports[filters[filter]]);return target})}}}();(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Color=THREE.Color,Vector3=THREE.Vector3;class Face3{constructor(a,b,c,normal,color,materialIndex=0){this.a=a;this.b=b;this.c=c;this.normal=normal&&normal.isVector3?normal:new Vector3;this.vertexNormals=Array.isArray(normal)?normal:[];this.color=color&&color.isColor?color:new Color;this.vertexColors=Array.isArray(color)?color:[];this.materialIndex=materialIndex}clone(){return new this.constructor().copy(this)}copy(source){this.a=source.a;this.b=source.b;this.c=source.c;this.normal.copy(source.normal);this.color.copy(source.color);this.materialIndex=source.materialIndex;for(let i=0,il=source.vertexNormals.length;i<il;i++){this.vertexNormals[i]=source.vertexNormals[i].clone()}for(let i=0,il=source.vertexColors.length;i<il;i++){this.vertexColors[i]=source.vertexColors[i].clone()}return this}}THREE.Face3=Face3});(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Box3=THREE.Box3,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Color=THREE.Color,EventDispatcher=THREE.EventDispatcher,Float32BufferAttribute=THREE.Float32BufferAttribute,Matrix3=THREE.Matrix3,Matrix4=THREE.Matrix4,MathUtils=THREE.MathUtils,Object3D=THREE.Object3D,Sphere=THREE.Sphere,Vector2=THREE.Vector2,Vector3=THREE.Vector3;const _m1=new Matrix4;const _obj=new Object3D;const _offset=new Vector3;class Geometry extends EventDispatcher{constructor(){super();this.uuid=MathUtils.generateUUID();this.name="";this.type="Geometry";this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingBox=null;this.boundingSphere=null;this.elementsNeedUpdate=false;this.verticesNeedUpdate=false;this.uvsNeedUpdate=false;this.normalsNeedUpdate=false;this.colorsNeedUpdate=false;this.lineDistancesNeedUpdate=false;this.groupsNeedUpdate=false}applyMatrix4(matrix){const normalMatrix=new Matrix3().getNormalMatrix(matrix);for(let i=0,il=this.vertices.length;i<il;i++){const vertex=this.vertices[i];vertex.applyMatrix4(matrix)}for(let i=0,il=this.faces.length;i<il;i++){const face=this.faces[i];face.normal.applyMatrix3(normalMatrix).normalize();for(let j=0,jl=face.vertexNormals.length;j<jl;j++){face.vertexNormals[j].applyMatrix3(normalMatrix).normalize()}}if(this.boundingBox!==null){this.computeBoundingBox()}if(this.boundingSphere!==null){this.computeBoundingSphere()}this.verticesNeedUpdate=true;this.normalsNeedUpdate=true;return this}rotateX(angle){_m1.makeRotationX(angle);this.applyMatrix4(_m1);return this}rotateY(angle){_m1.makeRotationY(angle);this.applyMatrix4(_m1);return this}rotateZ(angle){_m1.makeRotationZ(angle);this.applyMatrix4(_m1);return this}translate(x,y,z){_m1.makeTranslation(x,y,z);this.applyMatrix4(_m1);return this}scale(x,y,z){_m1.makeScale(x,y,z);this.applyMatrix4(_m1);return this}lookAt(vector){_obj.lookAt(vector);_obj.updateMatrix();this.applyMatrix4(_obj.matrix);return this}fromBufferGeometry(geometry){const scope=this;const index=geometry.index!==null?geometry.index:undefined;const attributes=geometry.attributes;if(attributes.position===undefined){console.error("THREE.Geometry.fromBufferGeometry(): Position attribute required for conversion.");return this}const position=attributes.position;const normal=attributes.normal;const color=attributes.color;const uv=attributes.uv;const uv2=attributes.uv2;if(uv2!==undefined)this.faceVertexUvs[1]=[];for(let i=0;i<position.count;i++){scope.vertices.push(new Vector3().fromBufferAttribute(position,i));if(color!==undefined){scope.colors.push(new Color().fromBufferAttribute(color,i))}}function addFace(a,b,c,materialIndex){const vertexColors=color===undefined?[]:[scope.colors[a].clone(),scope.colors[b].clone(),scope.colors[c].clone()];const vertexNormals=normal===undefined?[]:[new Vector3().fromBufferAttribute(normal,a),new Vector3().fromBufferAttribute(normal,b),new Vector3().fromBufferAttribute(normal,c)];const face=new Face3(a,b,c,vertexNormals,vertexColors,materialIndex);scope.faces.push(face);if(uv!==undefined){scope.faceVertexUvs[0].push([new Vector2().fromBufferAttribute(uv,a),new Vector2().fromBufferAttribute(uv,b),new Vector2().fromBufferAttribute(uv,c)])}if(uv2!==undefined){scope.faceVertexUvs[1].push([new Vector2().fromBufferAttribute(uv2,a),new Vector2().fromBufferAttribute(uv2,b),new Vector2().fromBufferAttribute(uv2,c)])}}const groups=geometry.groups;if(groups.length>0){for(let i=0;i<groups.length;i++){const group=groups[i];const start=group.start;const count=group.count;for(let j=start,jl=start+count;j<jl;j+=3){if(index!==undefined){addFace(index.getX(j),index.getX(j+1),index.getX(j+2),group.materialIndex)}else{addFace(j,j+1,j+2,group.materialIndex)}}}}else{if(index!==undefined){for(let i=0;i<index.count;i+=3){addFace(index.getX(i),index.getX(i+1),index.getX(i+2))}}else{for(let i=0;i<position.count;i+=3){addFace(i,i+1,i+2)}}}this.computeFaceNormals();if(geometry.boundingBox!==null){this.boundingBox=geometry.boundingBox.clone()}if(geometry.boundingSphere!==null){this.boundingSphere=geometry.boundingSphere.clone()}return this}center(){this.computeBoundingBox();this.boundingBox.getCenter(_offset).negate();this.translate(_offset.x,_offset.y,_offset.z);return this}normalize(){this.computeBoundingSphere();const center=this.boundingSphere.center;const radius=this.boundingSphere.radius;const s=radius===0?1:1/radius;const matrix=new Matrix4;matrix.set(s,0,0,-s*center.x,0,s,0,-s*center.y,0,0,s,-s*center.z,0,0,0,1);this.applyMatrix4(matrix);return this}computeFaceNormals(){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];const vA=this.vertices[face.a];const vB=this.vertices[face.b];const vC=this.vertices[face.c];cb.subVectors(vC,vB);ab.subVectors(vA,vB);cb.cross(ab);cb.normalize();face.normal.copy(cb)}}computeVertexNormals(areaWeighted=true){const vertices=new Array(this.vertices.length);for(let v=0,vl=this.vertices.length;v<vl;v++){vertices[v]=new Vector3}if(areaWeighted){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];const vA=this.vertices[face.a];const vB=this.vertices[face.b];const vC=this.vertices[face.c];cb.subVectors(vC,vB);ab.subVectors(vA,vB);cb.cross(ab);vertices[face.a].add(cb);vertices[face.b].add(cb);vertices[face.c].add(cb)}}else{this.computeFaceNormals();for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];vertices[face.a].add(face.normal);vertices[face.b].add(face.normal);vertices[face.c].add(face.normal)}}for(let v=0,vl=this.vertices.length;v<vl;v++){vertices[v].normalize()}for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){vertexNormals[0].copy(vertices[face.a]);vertexNormals[1].copy(vertices[face.b]);vertexNormals[2].copy(vertices[face.c])}else{vertexNormals[0]=vertices[face.a].clone();vertexNormals[1]=vertices[face.b].clone();vertexNormals[2]=vertices[face.c].clone()}}if(this.faces.length>0){this.normalsNeedUpdate=true}}computeFlatVertexNormals(){this.computeFaceNormals();for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){vertexNormals[0].copy(face.normal);vertexNormals[1].copy(face.normal);vertexNormals[2].copy(face.normal)}else{vertexNormals[0]=face.normal.clone();vertexNormals[1]=face.normal.clone();vertexNormals[2]=face.normal.clone()}}if(this.faces.length>0){this.normalsNeedUpdate=true}}computeMorphNormals(){for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];if(!face.__originalFaceNormal){face.__originalFaceNormal=face.normal.clone()}else{face.__originalFaceNormal.copy(face.normal)}if(!face.__originalVertexNormals)face.__originalVertexNormals=[];for(let i=0,il=face.vertexNormals.length;i<il;i++){if(!face.__originalVertexNormals[i]){face.__originalVertexNormals[i]=face.vertexNormals[i].clone()}else{face.__originalVertexNormals[i].copy(face.vertexNormals[i])}}}const tmpGeo=new Geometry;tmpGeo.faces=this.faces;for(let i=0,il=this.morphTargets.length;i<il;i++){if(!this.morphNormals[i]){this.morphNormals[i]={};this.morphNormals[i].faceNormals=[];this.morphNormals[i].vertexNormals=[];const dstNormalsFace=this.morphNormals[i].faceNormals;const dstNormalsVertex=this.morphNormals[i].vertexNormals;for(let f=0,fl=this.faces.length;f<fl;f++){const faceNormal=new Vector3;const vertexNormals={a:new Vector3,b:new Vector3,c:new Vector3};dstNormalsFace.push(faceNormal);dstNormalsVertex.push(vertexNormals)}}const morphNormals=this.morphNormals[i];tmpGeo.vertices=this.morphTargets[i].vertices;tmpGeo.computeFaceNormals();tmpGeo.computeVertexNormals();for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];const faceNormal=morphNormals.faceNormals[f];const vertexNormals=morphNormals.vertexNormals[f];faceNormal.copy(face.normal);vertexNormals.a.copy(face.vertexNormals[0]);vertexNormals.b.copy(face.vertexNormals[1]);vertexNormals.c.copy(face.vertexNormals[2])}}for(let f=0,fl=this.faces.length;f<fl;f++){const face=this.faces[f];face.normal=face.__originalFaceNormal;face.vertexNormals=face.__originalVertexNormals}}computeBoundingBox(){if(this.boundingBox===null){this.boundingBox=new Box3}this.boundingBox.setFromPoints(this.vertices)}computeBoundingSphere(){if(this.boundingSphere===null){this.boundingSphere=new Sphere}this.boundingSphere.setFromPoints(this.vertices)}merge(geometry,matrix,materialIndexOffset=0){if(!(geometry&&geometry.isGeometry)){console.error("THREE.Geometry.merge(): geometry not an instance of THREE.Geometry.",geometry);return}let normalMatrix;const vertexOffset=this.vertices.length,vertices1=this.vertices,vertices2=geometry.vertices,faces1=this.faces,faces2=geometry.faces,colors1=this.colors,colors2=geometry.colors;if(matrix!==undefined){normalMatrix=new Matrix3().getNormalMatrix(matrix)}for(let i=0,il=vertices2.length;i<il;i++){const vertex=vertices2[i];const vertexCopy=vertex.clone();if(matrix!==undefined)vertexCopy.applyMatrix4(matrix);vertices1.push(vertexCopy)}for(let i=0,il=colors2.length;i<il;i++){colors1.push(colors2[i].clone())}for(let i=0,il=faces2.length;i<il;i++){const face=faces2[i];let normal,color;const faceVertexNormals=face.vertexNormals,faceVertexColors=face.vertexColors;const faceCopy=new Face3(face.a+vertexOffset,face.b+vertexOffset,face.c+vertexOffset);faceCopy.normal.copy(face.normal);if(normalMatrix!==undefined){faceCopy.normal.applyMatrix3(normalMatrix).normalize()}for(let j=0,jl=faceVertexNormals.length;j<jl;j++){normal=faceVertexNormals[j].clone();if(normalMatrix!==undefined){normal.applyMatrix3(normalMatrix).normalize()}faceCopy.vertexNormals.push(normal)}faceCopy.color.copy(face.color);for(let j=0,jl=faceVertexColors.length;j<jl;j++){color=faceVertexColors[j];faceCopy.vertexColors.push(color.clone())}faceCopy.materialIndex=face.materialIndex+materialIndexOffset;faces1.push(faceCopy)}for(let i=0,il=geometry.faceVertexUvs.length;i<il;i++){const faceVertexUvs2=geometry.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined)this.faceVertexUvs[i]=[];for(let j=0,jl=faceVertexUvs2.length;j<jl;j++){const uvs2=faceVertexUvs2[j],uvsCopy=[];for(let k=0,kl=uvs2.length;k<kl;k++){uvsCopy.push(uvs2[k].clone())}this.faceVertexUvs[i].push(uvsCopy)}}}mergeMesh(mesh){if(!(mesh&&mesh.isMesh)){console.error("THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.",mesh);return}if(mesh.matrixAutoUpdate)mesh.updateMatrix();this.merge(mesh.geometry,mesh.matrix)}mergeVertices(precisionPoints=4){const verticesMap={};const unique=[],changes=[];const precision=Math.pow(10,precisionPoints);for(let i=0,il=this.vertices.length;i<il;i++){const v=this.vertices[i];const key=Math.round(v.x*precision)+"_"+Math.round(v.y*precision)+"_"+Math.round(v.z*precision);if(verticesMap[key]===undefined){verticesMap[key]=i;unique.push(this.vertices[i]);changes[i]=unique.length-1}else{changes[i]=changes[verticesMap[key]]}}const faceIndicesToRemove=[];for(let i=0,il=this.faces.length;i<il;i++){const face=this.faces[i];face.a=changes[face.a];face.b=changes[face.b];face.c=changes[face.c];const indices=[face.a,face.b,face.c];for(let n=0;n<3;n++){if(indices[n]===indices[(n+1)%3]){faceIndicesToRemove.push(i);break}}}for(let i=faceIndicesToRemove.length-1;i>=0;i--){const idx=faceIndicesToRemove[i];this.faces.splice(idx,1);for(let j=0,jl=this.faceVertexUvs.length;j<jl;j++){this.faceVertexUvs[j].splice(idx,1)}}const diff=this.vertices.length-unique.length;this.vertices=unique;return diff}setFromPoints(points){this.vertices=[];for(let i=0,l=points.length;i<l;i++){const point=points[i];this.vertices.push(new Vector3(point.x,point.y,point.z||0))}return this}sortFacesByMaterialIndex(){const faces=this.faces;const length=faces.length;for(let i=0;i<length;i++){faces[i]._id=i}function materialIndexSort(a,b){return a.materialIndex-b.materialIndex}faces.sort(materialIndexSort);const uvs1=this.faceVertexUvs[0];const uvs2=this.faceVertexUvs[1];let newUvs1,newUvs2;if(uvs1&&uvs1.length===length)newUvs1=[];if(uvs2&&uvs2.length===length)newUvs2=[];for(let i=0;i<length;i++){const id=faces[i]._id;if(newUvs1)newUvs1.push(uvs1[id]);if(newUvs2)newUvs2.push(uvs2[id])}if(newUvs1)this.faceVertexUvs[0]=newUvs1;if(newUvs2)this.faceVertexUvs[1]=newUvs2}toJSON(){const data={metadata:{version:4.5,type:"Geometry",generator:"Geometry.toJSON"}};data.uuid=this.uuid;data.type=this.type;if(this.name!=="")data.name=this.name;if(this.parameters!==undefined){const parameters=this.parameters;for(const key in parameters){if(parameters[key]!==undefined)data[key]=parameters[key]}return data}const vertices=[];for(let i=0;i<this.vertices.length;i++){const vertex=this.vertices[i];vertices.push(vertex.x,vertex.y,vertex.z)}const faces=[];const normals=[];const normalsHash={};const colors=[];const colorsHash={};const uvs=[];const uvsHash={};for(let i=0;i<this.faces.length;i++){const face=this.faces[i];const hasMaterial=true;const hasFaceUv=false;const hasFaceVertexUv=this.faceVertexUvs[0][i]!==undefined;const hasFaceNormal=face.normal.length()>0;const hasFaceVertexNormal=face.vertexNormals.length>0;const hasFaceColor=face.color.r!==1||face.color.g!==1||face.color.b!==1;const hasFaceVertexColor=face.vertexColors.length>0;let faceType=0;faceType=setBit(faceType,0,0);faceType=setBit(faceType,1,hasMaterial);faceType=setBit(faceType,2,hasFaceUv);faceType=setBit(faceType,3,hasFaceVertexUv);faceType=setBit(faceType,4,hasFaceNormal);faceType=setBit(faceType,5,hasFaceVertexNormal);faceType=setBit(faceType,6,hasFaceColor);faceType=setBit(faceType,7,hasFaceVertexColor);faces.push(faceType);faces.push(face.a,face.b,face.c);faces.push(face.materialIndex);if(hasFaceVertexUv){const faceVertexUvs=this.faceVertexUvs[0][i];faces.push(getUvIndex(faceVertexUvs[0]),getUvIndex(faceVertexUvs[1]),getUvIndex(faceVertexUvs[2]))}if(hasFaceNormal){faces.push(getNormalIndex(face.normal))}if(hasFaceVertexNormal){const vertexNormals=face.vertexNormals;faces.push(getNormalIndex(vertexNormals[0]),getNormalIndex(vertexNormals[1]),getNormalIndex(vertexNormals[2]))}if(hasFaceColor){faces.push(getColorIndex(face.color))}if(hasFaceVertexColor){const vertexColors=face.vertexColors;faces.push(getColorIndex(vertexColors[0]),getColorIndex(vertexColors[1]),getColorIndex(vertexColors[2]))}}function setBit(value,position,enabled){return enabled?value|1<<position:value&~(1<<position)}function getNormalIndex(normal){const hash=normal.x.toString()+normal.y.toString()+normal.z.toString();if(normalsHash[hash]!==undefined){return normalsHash[hash]}normalsHash[hash]=normals.length/3;normals.push(normal.x,normal.y,normal.z);return normalsHash[hash]}function getColorIndex(color){const hash=color.r.toString()+color.g.toString()+color.b.toString();if(colorsHash[hash]!==undefined){return colorsHash[hash]}colorsHash[hash]=colors.length;colors.push(color.getHex());return colorsHash[hash]}function getUvIndex(uv){const hash=uv.x.toString()+uv.y.toString();if(uvsHash[hash]!==undefined){return uvsHash[hash]}uvsHash[hash]=uvs.length/2;uvs.push(uv.x,uv.y);return uvsHash[hash]}data.data={};data.data.vertices=vertices;data.data.normals=normals;if(colors.length>0)data.data.colors=colors;if(uvs.length>0)data.data.uvs=[uvs];data.data.faces=faces;return data}clone(){return new Geometry().copy(this)}copy(source){this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingBox=null;this.boundingSphere=null;this.name=source.name;const vertices=source.vertices;for(let i=0,il=vertices.length;i<il;i++){this.vertices.push(vertices[i].clone())}const colors=source.colors;for(let i=0,il=colors.length;i<il;i++){this.colors.push(colors[i].clone())}const faces=source.faces;for(let i=0,il=faces.length;i<il;i++){this.faces.push(faces[i].clone())}for(let i=0,il=source.faceVertexUvs.length;i<il;i++){const faceVertexUvs=source.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined){this.faceVertexUvs[i]=[]}for(let j=0,jl=faceVertexUvs.length;j<jl;j++){const uvs=faceVertexUvs[j],uvsCopy=[];for(let k=0,kl=uvs.length;k<kl;k++){const uv=uvs[k];uvsCopy.push(uv.clone())}this.faceVertexUvs[i].push(uvsCopy)}}const morphTargets=source.morphTargets;for(let i=0,il=morphTargets.length;i<il;i++){const morphTarget={};morphTarget.name=morphTargets[i].name;if(morphTargets[i].vertices!==undefined){morphTarget.vertices=[];for(let j=0,jl=morphTargets[i].vertices.length;j<jl;j++){morphTarget.vertices.push(morphTargets[i].vertices[j].clone())}}if(morphTargets[i].normals!==undefined){morphTarget.normals=[];for(let j=0,jl=morphTargets[i].normals.length;j<jl;j++){morphTarget.normals.push(morphTargets[i].normals[j].clone())}}this.morphTargets.push(morphTarget)}const morphNormals=source.morphNormals;for(let i=0,il=morphNormals.length;i<il;i++){const morphNormal={};if(morphNormals[i].vertexNormals!==undefined){morphNormal.vertexNormals=[];for(let j=0,jl=morphNormals[i].vertexNormals.length;j<jl;j++){const srcVertexNormal=morphNormals[i].vertexNormals[j];const destVertexNormal={};destVertexNormal.a=srcVertexNormal.a.clone();destVertexNormal.b=srcVertexNormal.b.clone();destVertexNormal.c=srcVertexNormal.c.clone();morphNormal.vertexNormals.push(destVertexNormal)}}if(morphNormals[i].faceNormals!==undefined){morphNormal.faceNormals=[];for(let j=0,jl=morphNormals[i].faceNormals.length;j<jl;j++){morphNormal.faceNormals.push(morphNormals[i].faceNormals[j].clone())}}this.morphNormals.push(morphNormal)}const skinWeights=source.skinWeights;for(let i=0,il=skinWeights.length;i<il;i++){this.skinWeights.push(skinWeights[i].clone())}const skinIndices=source.skinIndices;for(let i=0,il=skinIndices.length;i<il;i++){this.skinIndices.push(skinIndices[i].clone())}const lineDistances=source.lineDistances;for(let i=0,il=lineDistances.length;i<il;i++){this.lineDistances.push(lineDistances[i])}const boundingBox=source.boundingBox;if(boundingBox!==null){this.boundingBox=boundingBox.clone()}const boundingSphere=source.boundingSphere;if(boundingSphere!==null){this.boundingSphere=boundingSphere.clone()}this.elementsNeedUpdate=source.elementsNeedUpdate;this.verticesNeedUpdate=source.verticesNeedUpdate;this.uvsNeedUpdate=source.uvsNeedUpdate;this.normalsNeedUpdate=source.normalsNeedUpdate;this.colorsNeedUpdate=source.colorsNeedUpdate;this.lineDistancesNeedUpdate=source.lineDistancesNeedUpdate;this.groupsNeedUpdate=source.groupsNeedUpdate;return this}toBufferGeometry(){const geometry=new DirectGeometry().fromGeometry(this);const buffergeometry=new BufferGeometry;const positions=new Float32Array(geometry.vertices.length*3);buffergeometry.setAttribute("position",copyVector3sArray(new BufferAttribute(positions,3),geometry.vertices));if(geometry.normals.length>0){const normals=new Float32Array(geometry.normals.length*3);buffergeometry.setAttribute("normal",copyVector3sArray(new BufferAttribute(normals,3),geometry.normals))}if(geometry.colors.length>0){const colors=new Float32Array(geometry.colors.length*3);buffergeometry.setAttribute("color",copyColorsArray(new BufferAttribute(colors,3),geometry.colors))}if(geometry.uvs.length>0){const uvs=new Float32Array(geometry.uvs.length*2);buffergeometry.setAttribute("uv",copyVector2sArray(new BufferAttribute(uvs,2),geometry.uvs))}if(geometry.uvs2.length>0){const uvs2=new Float32Array(geometry.uvs2.length*2);buffergeometry.setAttribute("uv2",copyVector2sArray(new BufferAttribute(uvs2,2),geometry.uvs2))}buffergeometry.groups=geometry.groups;for(const name in geometry.morphTargets){const array=[];const morphTargets=geometry.morphTargets[name];for(let i=0,l=morphTargets.length;i<l;i++){const morphTarget=morphTargets[i];const attribute=new Float32BufferAttribute(morphTarget.data.length*3,3);attribute.name=morphTarget.name;array.push(copyVector3sArray(attribute,morphTarget.data))}buffergeometry.morphAttributes[name]=array}if(geometry.skinIndices.length>0){const skinIndices=new Float32BufferAttribute(geometry.skinIndices.length*4,4);buffergeometry.setAttribute("skinIndex",copyVector4sArray(skinIndices,geometry.skinIndices))}if(geometry.skinWeights.length>0){const skinWeights=new Float32BufferAttribute(geometry.skinWeights.length*4,4);buffergeometry.setAttribute("skinWeight",copyVector4sArray(skinWeights,geometry.skinWeights))}if(geometry.boundingSphere!==null){buffergeometry.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){buffergeometry.boundingBox=geometry.boundingBox.clone()}return buffergeometry}computeTangents(){console.error("THREE.Geometry: .computeTangents() has been removed.")}computeLineDistances(){console.error("THREE.Geometry: .computeLineDistances() has been removed. Use THREE.Line.computeLineDistances() instead.")}applyMatrix(matrix){console.warn("THREE.Geometry: .applyMatrix() has been renamed to .applyMatrix4().");return this.applyMatrix4(matrix)}dispose(){this.dispatchEvent({type:"dispose"})}static createBufferGeometryFromObject(object){let buffergeometry=new BufferGeometry;const geometry=object.geometry;if(object.isPoints||object.isLine){const positions=new Float32BufferAttribute(geometry.vertices.length*3,3);const colors=new Float32BufferAttribute(geometry.colors.length*3,3);buffergeometry.setAttribute("position",copyVector3sArray(positions,geometry.vertices));buffergeometry.setAttribute("color",copyColorsArray(colors,geometry.colors));if(geometry.lineDistances&&geometry.lineDistances.length===geometry.vertices.length){const lineDistances=new Float32BufferAttribute(geometry.lineDistances.length,1);buffergeometry.setAttribute("lineDistance",lineDistances.copyArray(geometry.lineDistances))}if(geometry.boundingSphere!==null){buffergeometry.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){buffergeometry.boundingBox=geometry.boundingBox.clone()}}else if(object.isMesh){buffergeometry=geometry.toBufferGeometry()}return buffergeometry}}Geometry.prototype.isGeometry=true;class DirectGeometry{constructor(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingBox=null;this.boundingSphere=null;this.verticesNeedUpdate=false;this.normalsNeedUpdate=false;this.colorsNeedUpdate=false;this.uvsNeedUpdate=false;this.groupsNeedUpdate=false}computeGroups(geometry){const groups=[];let group,i;let materialIndex=undefined;const faces=geometry.faces;for(i=0;i<faces.length;i++){const face=faces[i];if(face.materialIndex!==materialIndex){materialIndex=face.materialIndex;if(group!==undefined){group.count=i*3-group.start;groups.push(group)}group={start:i*3,materialIndex:materialIndex}}}if(group!==undefined){group.count=i*3-group.start;groups.push(group)}this.groups=groups}fromGeometry(geometry){const faces=geometry.faces;const vertices=geometry.vertices;const faceVertexUvs=geometry.faceVertexUvs;const hasFaceVertexUv=faceVertexUvs[0]&&faceVertexUvs[0].length>0;const hasFaceVertexUv2=faceVertexUvs[1]&&faceVertexUvs[1].length>0;const morphTargets=geometry.morphTargets;const morphTargetsLength=morphTargets.length;let morphTargetsPosition;if(morphTargetsLength>0){morphTargetsPosition=[];for(let i=0;i<morphTargetsLength;i++){morphTargetsPosition[i]={name:morphTargets[i].name,data:[]}}this.morphTargets.position=morphTargetsPosition}const morphNormals=geometry.morphNormals;const morphNormalsLength=morphNormals.length;let morphTargetsNormal;if(morphNormalsLength>0){morphTargetsNormal=[];for(let i=0;i<morphNormalsLength;i++){morphTargetsNormal[i]={name:morphNormals[i].name,data:[]}}this.morphTargets.normal=morphTargetsNormal}const skinIndices=geometry.skinIndices;const skinWeights=geometry.skinWeights;const hasSkinIndices=skinIndices.length===vertices.length;const hasSkinWeights=skinWeights.length===vertices.length;if(vertices.length>0&&faces.length===0){console.error("THREE.DirectGeometry: Faceless geometries are not supported.")}for(let i=0;i<faces.length;i++){const face=faces[i];this.vertices.push(vertices[face.a],vertices[face.b],vertices[face.c]);const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){this.normals.push(vertexNormals[0],vertexNormals[1],vertexNormals[2])}else{const normal=face.normal;this.normals.push(normal,normal,normal)}const vertexColors=face.vertexColors;if(vertexColors.length===3){this.colors.push(vertexColors[0],vertexColors[1],vertexColors[2])}else{const color=face.color;this.colors.push(color,color,color)}if(hasFaceVertexUv===true){const vertexUvs=faceVertexUvs[0][i];if(vertexUvs!==undefined){this.uvs.push(vertexUvs[0],vertexUvs[1],vertexUvs[2])}else{console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",i);this.uvs.push(new Vector2,new Vector2,new Vector2)}}if(hasFaceVertexUv2===true){const vertexUvs=faceVertexUvs[1][i];if(vertexUvs!==undefined){this.uvs2.push(vertexUvs[0],vertexUvs[1],vertexUvs[2])}else{console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",i);this.uvs2.push(new Vector2,new Vector2,new Vector2)}}for(let j=0;j<morphTargetsLength;j++){const morphTarget=morphTargets[j].vertices;morphTargetsPosition[j].data.push(morphTarget[face.a],morphTarget[face.b],morphTarget[face.c])}for(let j=0;j<morphNormalsLength;j++){const morphNormal=morphNormals[j].vertexNormals[i];morphTargetsNormal[j].data.push(morphNormal.a,morphNormal.b,morphNormal.c)}if(hasSkinIndices){this.skinIndices.push(skinIndices[face.a],skinIndices[face.b],skinIndices[face.c])}if(hasSkinWeights){this.skinWeights.push(skinWeights[face.a],skinWeights[face.b],skinWeights[face.c])}}this.computeGroups(geometry);this.verticesNeedUpdate=geometry.verticesNeedUpdate;this.normalsNeedUpdate=geometry.normalsNeedUpdate;this.colorsNeedUpdate=geometry.colorsNeedUpdate;this.uvsNeedUpdate=geometry.uvsNeedUpdate;this.groupsNeedUpdate=geometry.groupsNeedUpdate;if(geometry.boundingSphere!==null){this.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){this.boundingBox=geometry.boundingBox.clone()}return this}}function copyColorsArray(bufferAttribute,colors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=colors.length;i<l;i++){let color=colors[i];if(color===undefined){console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",i);color=new Color}if(bufferAttribute.normalized){array[offset++]=normalize(color.r,array);array[offset++]=normalize(color.g,array);array[offset++]=normalize(color.b,array)}else{array[offset++]=color.r;array[offset++]=color.g;array[offset++]=color.b}}return bufferAttribute}function copyVector2sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i<l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",i);vector=new Vector2}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array)}else{array[offset++]=vector.x;array[offset++]=vector.y}}return bufferAttribute}function copyVector3sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i<l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",i);vector=new Vector3}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array);array[offset++]=normalize(vector.z,array)}else{array[offset++]=vector.x;array[offset++]=vector.y;array[offset++]=vector.z}}return bufferAttribute}function copyVector4sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i<l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",i);vector=new Vector4}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array);array[offset++]=normalize(vector.z,array);array[offset++]=normalize(vector.w,array)}else{array[offset++]=vector.x;array[offset++]=vector.y;array[offset++]=vector.z;array[offset++]=vector.w}}return this}THREE.Geometry=Geometry});(function(){var BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Float32BufferAttribute=THREE.Float32BufferAttribute,InstancedBufferAttribute=THREE.InstancedBufferAttribute,InterleavedBuffer=THREE.InterleavedBuffer,InterleavedBufferAttribute=THREE.InterleavedBufferAttribute,TriangleFanDrawMode=THREE.TriangleFanDrawMode,TriangleStripDrawMode=THREE.TriangleStripDrawMode,TrianglesDrawMode=THREE.TrianglesDrawMode,Vector3=THREE.Vector3;function computeMikkTSpaceTangents(geometry,MikkTSpace,negateSign=true){if(!MikkTSpace||!MikkTSpace.isReady){throw new Error("BufferGeometryUtils: Initialized MikkTSpace library required.")}if(!geometry.hasAttribute("position")||!geometry.hasAttribute("normal")||!geometry.hasAttribute("uv")){throw new Error("BufferGeometryUtils: Tangents require \"position\", \"normal\", and \"uv\" attributes.")}function getAttributeArray(attribute){if(attribute.normalized||attribute.isInterleavedBufferAttribute){const dstArray=new Float32Array(attribute.getCount()*attribute.itemSize);for(let i=0,j=0;i<attribute.getCount();i++){dstArray[j++]=attribute.getX(i);dstArray[j++]=attribute.getY(i);if(attribute.itemSize>2){dstArray[j++]=attribute.getZ(i)}}return dstArray}if(attribute.array instanceof Float32Array){return attribute.array}return new Float32Array(attribute.array)}const _geometry=geometry.index?geometry.toNonIndexed():geometry;const tangents=MikkTSpace.generateTangents(getAttributeArray(_geometry.attributes.position),getAttributeArray(_geometry.attributes.normal),getAttributeArray(_geometry.attributes.uv));if(negateSign){for(let i=3;i<tangents.length;i+=4){tangents[i]*=-1}}_geometry.setAttribute("tangent",new BufferAttribute(tangents,4));if(geometry!==_geometry){geometry.copy(_geometry)}return geometry}function mergeGeometries(geometries,useGroups=false){const isIndexed=geometries[0].index!==null;const attributesUsed=new Set(Object.keys(geometries[0].attributes));const morphAttributesUsed=new Set(Object.keys(geometries[0].morphAttributes));const attributes={};const morphAttributes={};const morphTargetsRelative=geometries[0].morphTargetsRelative;const mergedGeometry=new BufferGeometry;let offset=0;for(let i=0;i<geometries.length;++i){const geometry=geometries[i];let attributesCount=0;if(isIndexed!==(geometry.index!==null)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.");return null}for(const name in geometry.attributes){if(!attributesUsed.has(name)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". All geometries must have compatible attributes; make sure \""+name+"\" attribute exists among all geometries, or in none of them.");return null}if(attributes[name]===undefined)attributes[name]=[];attributes[name].push(geometry.attributes[name]);attributesCount++}if(attributesCount!==attributesUsed.size){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". Make sure all geometries have the same number of attributes.");return null}if(morphTargetsRelative!==geometry.morphTargetsRelative){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". .morphTargetsRelative must be consistent throughout all geometries.");return null}for(const name in geometry.morphAttributes){if(!morphAttributesUsed.has(name)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+".  .morphAttributes must be consistent throughout all geometries.");return null}if(morphAttributes[name]===undefined)morphAttributes[name]=[];morphAttributes[name].push(geometry.morphAttributes[name])}if(useGroups){let count;if(isIndexed){count=geometry.index.count}else if(geometry.attributes.position!==undefined){count=geometry.attributes.position.count}else{console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". The geometry must have either an index or a position attribute");return null}mergedGeometry.addGroup(offset,count,i);offset+=count}}if(isIndexed){let indexOffset=0;const mergedIndex=[];for(let i=0;i<geometries.length;++i){const index=geometries[i].index;for(let j=0;j<index.count;++j){mergedIndex.push(index.getX(j)+indexOffset)}indexOffset+=geometries[i].attributes.position.count}mergedGeometry.setIndex(mergedIndex)}for(const name in attributes){const mergedAttribute=mergeAttributes(attributes[name]);if(!mergedAttribute){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+name+" attribute.");return null}mergedGeometry.setAttribute(name,mergedAttribute)}for(const name in morphAttributes){const numMorphTargets=morphAttributes[name][0].length;if(numMorphTargets===0)break;mergedGeometry.morphAttributes=mergedGeometry.morphAttributes||{};mergedGeometry.morphAttributes[name]=[];for(let i=0;i<numMorphTargets;++i){const morphAttributesToMerge=[];for(let j=0;j<morphAttributes[name].length;++j){morphAttributesToMerge.push(morphAttributes[name][j][i])}const mergedMorphAttribute=mergeAttributes(morphAttributesToMerge);if(!mergedMorphAttribute){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+name+" morphAttribute.");return null}mergedGeometry.morphAttributes[name].push(mergedMorphAttribute)}}return mergedGeometry}function mergeAttributes(attributes){let TypedArray;let itemSize;let normalized;let arrayLength=0;for(let i=0;i<attributes.length;++i){const attribute=attributes[i];if(attribute.isInterleavedBufferAttribute){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. InterleavedBufferAttributes are not supported.");return null}if(TypedArray===undefined)TypedArray=attribute.array.constructor;if(TypedArray!==attribute.array.constructor){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes.");return null}if(itemSize===undefined)itemSize=attribute.itemSize;if(itemSize!==attribute.itemSize){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes.");return null}if(normalized===undefined)normalized=attribute.normalized;if(normalized!==attribute.normalized){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes.");return null}arrayLength+=attribute.array.length}const array=new TypedArray(arrayLength);let offset=0;for(let i=0;i<attributes.length;++i){array.set(attributes[i].array,offset);offset+=attributes[i].array.length}return new BufferAttribute(array,itemSize,normalized)}function deepCloneAttribute(attribute){if(attribute.isInstancedInterleavedBufferAttribute||attribute.isInterleavedBufferAttribute){return deinterleaveAttribute(attribute)}if(attribute.isInstancedBufferAttribute){return new InstancedBufferAttribute().copy(attribute)}return new BufferAttribute().copy(attribute)}function interleaveAttributes(attributes){let TypedArray;let arrayLength=0;let stride=0;for(let i=0,l=attributes.length;i<l;++i){const attribute=attributes[i];if(TypedArray===undefined)TypedArray=attribute.array.constructor;if(TypedArray!==attribute.array.constructor){console.error("AttributeBuffers of different types cannot be interleaved");return null}arrayLength+=attribute.array.length;stride+=attribute.itemSize}const interleavedBuffer=new InterleavedBuffer(new TypedArray(arrayLength),stride);let offset=0;const res=[];const getters=["getX","getY","getZ","getW"];const setters=["setX","setY","setZ","setW"];for(let j=0,l=attributes.length;j<l;j++){const attribute=attributes[j];const itemSize=attribute.itemSize;const count=attribute.count;const iba=new InterleavedBufferAttribute(interleavedBuffer,itemSize,offset,attribute.normalized);res.push(iba);offset+=itemSize;for(let c=0;c<count;c++){for(let k=0;k<itemSize;k++){iba[setters[k]](c,attribute[getters[k]](c))}}}return res}function deinterleaveAttribute(attribute){const cons=attribute.data.array.constructor;const count=attribute.count;const itemSize=attribute.itemSize;const normalized=attribute.normalized;const array=new cons(count*itemSize);let newAttribute;if(attribute.isInstancedInterleavedBufferAttribute){newAttribute=new InstancedBufferAttribute(array,itemSize,normalized,attribute.meshPerAttribute)}else{newAttribute=new BufferAttribute(array,itemSize,normalized)}for(let i=0;i<count;i++){newAttribute.setX(i,attribute.getX(i));if(itemSize>=2){newAttribute.setY(i,attribute.getY(i))}if(itemSize>=3){newAttribute.setZ(i,attribute.getZ(i))}if(itemSize>=4){newAttribute.setW(i,attribute.getW(i))}}return newAttribute}function deinterleaveGeometry(geometry){const attributes=geometry.attributes;const morphTargets=geometry.morphTargets;const attrMap=new Map;for(const key in attributes){const attr=attributes[key];if(attr.isInterleavedBufferAttribute){if(!attrMap.has(attr)){attrMap.set(attr,deinterleaveAttribute(attr))}attributes[key]=attrMap.get(attr)}}for(const key in morphTargets){const attr=morphTargets[key];if(attr.isInterleavedBufferAttribute){if(!attrMap.has(attr)){attrMap.set(attr,deinterleaveAttribute(attr))}morphTargets[key]=attrMap.get(attr)}}}function estimateBytesUsed(geometry){let mem=0;for(const name in geometry.attributes){const attr=geometry.getAttribute(name);mem+=attr.count*attr.itemSize*attr.array.BYTES_PER_ELEMENT}const indices=geometry.getIndex();mem+=indices?indices.count*indices.itemSize*indices.array.BYTES_PER_ELEMENT:0;return mem}function mergeVertices(geometry,tolerance=1e-4){tolerance=Math.max(tolerance,Number.EPSILON);const hashToIndex={};const indices=geometry.getIndex();const positions=geometry.getAttribute("position");const vertexCount=indices?indices.count:positions.count;let nextIndex=0;const attributeNames=Object.keys(geometry.attributes);const tmpAttributes={};const tmpMorphAttributes={};const newIndices=[];const getters=["getX","getY","getZ","getW"];const setters=["setX","setY","setZ","setW"];for(let i=0,l=attributeNames.length;i<l;i++){const name=attributeNames[i];const attr=geometry.attributes[name];tmpAttributes[name]=new BufferAttribute(new attr.array.constructor(attr.count*attr.itemSize),attr.itemSize,attr.normalized);const morphAttr=geometry.morphAttributes[name];if(morphAttr){tmpMorphAttributes[name]=new BufferAttribute(new morphAttr.array.constructor(morphAttr.count*morphAttr.itemSize),morphAttr.itemSize,morphAttr.normalized)}}const decimalShift=Math.log10(1/tolerance);const shiftMultiplier=Math.pow(10,decimalShift);for(let i=0;i<vertexCount;i++){const index=indices?indices.getX(i):i;let hash="";for(let j=0,l=attributeNames.length;j<l;j++){const name=attributeNames[j];const attribute=geometry.getAttribute(name);const itemSize=attribute.itemSize;for(let k=0;k<itemSize;k++){hash+=`${~~(attribute[getters[k]](index)*shiftMultiplier)},`}}if(hash in hashToIndex){newIndices.push(hashToIndex[hash])}else{for(let j=0,l=attributeNames.length;j<l;j++){const name=attributeNames[j];const attribute=geometry.getAttribute(name);const morphAttr=geometry.morphAttributes[name];const itemSize=attribute.itemSize;const newarray=tmpAttributes[name];const newMorphArrays=tmpMorphAttributes[name];for(let k=0;k<itemSize;k++){const getterFunc=getters[k];const setterFunc=setters[k];newarray[setterFunc](nextIndex,attribute[getterFunc](index));if(morphAttr){for(let m=0,ml=morphAttr.length;m<ml;m++){newMorphArrays[m][setterFunc](nextIndex,morphAttr[m][getterFunc](index))}}}}hashToIndex[hash]=nextIndex;newIndices.push(nextIndex);nextIndex++}}const result=geometry.clone();for(const name in geometry.attributes){const tmpAttribute=tmpAttributes[name];result.setAttribute(name,new BufferAttribute(tmpAttribute.array.slice(0,nextIndex*tmpAttribute.itemSize),tmpAttribute.itemSize,tmpAttribute.normalized));if(!(name in tmpMorphAttributes))continue;for(let j=0;j<tmpMorphAttributes[name].length;j++){const tmpMorphAttribute=tmpMorphAttributes[name][j];result.morphAttributes[name][j]=new BufferAttribute(tmpMorphAttribute.array.slice(0,nextIndex*tmpMorphAttribute.itemSize),tmpMorphAttribute.itemSize,tmpMorphAttribute.normalized)}}result.setIndex(newIndices);return result}function toTrianglesDrawMode(geometry,drawMode){if(drawMode===TrianglesDrawMode){console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles.");return geometry}if(drawMode===TriangleFanDrawMode||drawMode===TriangleStripDrawMode){let index=geometry.getIndex();if(index===null){const indices=[];const position=geometry.getAttribute("position");if(position!==undefined){for(let i=0;i<position.count;i++){indices.push(i)}geometry.setIndex(indices);index=geometry.getIndex()}else{console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible.");return geometry}}const numberOfTriangles=index.count-2;const newIndices=[];if(drawMode===TriangleFanDrawMode){for(let i=1;i<=numberOfTriangles;i++){newIndices.push(index.getX(0));newIndices.push(index.getX(i));newIndices.push(index.getX(i+1))}}else{for(let i=0;i<numberOfTriangles;i++){if(i%2===0){newIndices.push(index.getX(i));newIndices.push(index.getX(i+1));newIndices.push(index.getX(i+2))}else{newIndices.push(index.getX(i+2));newIndices.push(index.getX(i+1));newIndices.push(index.getX(i))}}}if(newIndices.length/3!==numberOfTriangles){console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.")}const newGeometry=geometry.clone();newGeometry.setIndex(newIndices);newGeometry.clearGroups();return newGeometry}else{console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",drawMode);return geometry}}function computeMorphedAttributes(object){const _vA=new Vector3;const _vB=new Vector3;const _vC=new Vector3;const _tempA=new Vector3;const _tempB=new Vector3;const _tempC=new Vector3;const _morphA=new Vector3;const _morphB=new Vector3;const _morphC=new Vector3;function _calculateMorphedAttributeData(object,attribute,morphAttribute,morphTargetsRelative,a,b,c,modifiedAttributeArray){_vA.fromBufferAttribute(attribute,a);_vB.fromBufferAttribute(attribute,b);_vC.fromBufferAttribute(attribute,c);const morphInfluences=object.morphTargetInfluences;if(morphAttribute&&morphInfluences){_morphA.set(0,0,0);_morphB.set(0,0,0);_morphC.set(0,0,0);for(let i=0,il=morphAttribute.length;i<il;i++){const influence=morphInfluences[i];const morph=morphAttribute[i];if(influence===0)continue;_tempA.fromBufferAttribute(morph,a);_tempB.fromBufferAttribute(morph,b);_tempC.fromBufferAttribute(morph,c);if(morphTargetsRelative){_morphA.addScaledVector(_tempA,influence);_morphB.addScaledVector(_tempB,influence);_morphC.addScaledVector(_tempC,influence)}else{_morphA.addScaledVector(_tempA.sub(_vA),influence);_morphB.addScaledVector(_tempB.sub(_vB),influence);_morphC.addScaledVector(_tempC.sub(_vC),influence)}}_vA.add(_morphA);_vB.add(_morphB);_vC.add(_morphC)}if(object.isSkinnedMesh){object.applyBoneTransform(a,_vA);object.applyBoneTransform(b,_vB);object.applyBoneTransform(c,_vC)}modifiedAttributeArray[a*3+0]=_vA.x;modifiedAttributeArray[a*3+1]=_vA.y;modifiedAttributeArray[a*3+2]=_vA.z;modifiedAttributeArray[b*3+0]=_vB.x;modifiedAttributeArray[b*3+1]=_vB.y;modifiedAttributeArray[b*3+2]=_vB.z;modifiedAttributeArray[c*3+0]=_vC.x;modifiedAttributeArray[c*3+1]=_vC.y;modifiedAttributeArray[c*3+2]=_vC.z}const geometry=object.geometry;const material=object.material;let a,b,c;const index=geometry.index;const positionAttribute=geometry.attributes.position;const morphPosition=geometry.morphAttributes.position;const morphTargetsRelative=geometry.morphTargetsRelative;const normalAttribute=geometry.attributes.normal;const morphNormal=geometry.morphAttributes.position;const groups=geometry.groups;const drawRange=geometry.drawRange;let i,j,il,jl;let group;let start,end;const modifiedPosition=new Float32Array(positionAttribute.count*positionAttribute.itemSize);const modifiedNormal=new Float32Array(normalAttribute.count*normalAttribute.itemSize);if(index!==null){if(Array.isArray(material)){for(i=0,il=groups.length;i<il;i++){group=groups[i];start=Math.max(group.start,drawRange.start);end=Math.min(group.start+group.count,drawRange.start+drawRange.count);for(j=start,jl=end;j<jl;j+=3){a=index.getX(j);b=index.getX(j+1);c=index.getX(j+2);_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{start=Math.max(0,drawRange.start);end=Math.min(index.count,drawRange.start+drawRange.count);for(i=start,il=end;i<il;i+=3){a=index.getX(i);b=index.getX(i+1);c=index.getX(i+2);_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{if(Array.isArray(material)){for(i=0,il=groups.length;i<il;i++){group=groups[i];start=Math.max(group.start,drawRange.start);end=Math.min(group.start+group.count,drawRange.start+drawRange.count);for(j=start,jl=end;j<jl;j+=3){a=j;b=j+1;c=j+2;_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{start=Math.max(0,drawRange.start);end=Math.min(positionAttribute.count,drawRange.start+drawRange.count);for(i=start,il=end;i<il;i+=3){a=i;b=i+1;c=i+2;_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}const morphedPositionAttribute=new Float32BufferAttribute(modifiedPosition,3);const morphedNormalAttribute=new Float32BufferAttribute(modifiedNormal,3);return{positionAttribute:positionAttribute,normalAttribute:normalAttribute,morphedPositionAttribute:morphedPositionAttribute,morphedNormalAttribute:morphedNormalAttribute}}function mergeGroups(geometry){if(geometry.groups.length===0){console.warn("THREE.BufferGeometryUtils.mergeGroups(): No groups are defined. Nothing to merge.");return geometry}let groups=geometry.groups;groups=groups.sort((a,b)=>{if(a.materialIndex!==b.materialIndex)return a.materialIndex-b.materialIndex;return a.start-b.start});if(geometry.getIndex()===null){const positionAttribute=geometry.getAttribute("position");const indices=[];for(let i=0;i<positionAttribute.count;i+=3){indices.push(i,i+1,i+2)}geometry.setIndex(indices)}const index=geometry.getIndex();const newIndices=[];for(let i=0;i<groups.length;i++){const group=groups[i];const groupStart=group.start;const groupLength=groupStart+group.count;for(let j=groupStart;j<groupLength;j++){newIndices.push(index.getX(j))}}geometry.dispose();geometry.setIndex(newIndices);let start=0;for(let i=0;i<groups.length;i++){const group=groups[i];group.start=start;start+=group.count}let currentGroup=groups[0];geometry.groups=[currentGroup];for(let i=1;i<groups.length;i++){const group=groups[i];if(currentGroup.materialIndex===group.materialIndex){currentGroup.count+=group.count}else{currentGroup=group;geometry.groups.push(currentGroup)}}return geometry}function toCreasedNormals(geometry,creaseAngle=Math.PI/3){const creaseDot=Math.cos(creaseAngle);const hashMultiplier=(1+1e-10)*100;const verts=[new Vector3,new Vector3,new Vector3];const tempVec1=new Vector3;const tempVec2=new Vector3;const tempNorm=new Vector3;const tempNorm2=new Vector3;function hashVertex(v){const x=~~(v.x*hashMultiplier);const y=~~(v.y*hashMultiplier);const z=~~(v.z*hashMultiplier);return`${x},${y},${z}`}const resultGeometry=geometry.toNonIndexed();const posAttr=resultGeometry.attributes.position;const vertexMap={};for(let i=0,l=posAttr.count/3;i<l;i++){const i3=3*i;const a=verts[0].fromBufferAttribute(posAttr,i3+0);const b=verts[1].fromBufferAttribute(posAttr,i3+1);const c=verts[2].fromBufferAttribute(posAttr,i3+2);tempVec1.subVectors(c,b);tempVec2.subVectors(a,b);const normal=new Vector3().crossVectors(tempVec1,tempVec2).normalize();for(let n=0;n<3;n++){const vert=verts[n];const hash=hashVertex(vert);if(!(hash in vertexMap)){vertexMap[hash]=[]}vertexMap[hash].push(normal)}}const normalArray=new Float32Array(posAttr.count*3);const normAttr=new BufferAttribute(normalArray,3,false);for(let i=0,l=posAttr.count/3;i<l;i++){const i3=3*i;const a=verts[0].fromBufferAttribute(posAttr,i3+0);const b=verts[1].fromBufferAttribute(posAttr,i3+1);const c=verts[2].fromBufferAttribute(posAttr,i3+2);tempVec1.subVectors(c,b);tempVec2.subVectors(a,b);tempNorm.crossVectors(tempVec1,tempVec2).normalize();for(let n=0;n<3;n++){const vert=verts[n];const hash=hashVertex(vert);const otherNormals=vertexMap[hash];tempNorm2.set(0,0,0);for(let k=0,lk=otherNormals.length;k<lk;k++){const otherNorm=otherNormals[k];if(tempNorm.dot(otherNorm)>creaseDot){tempNorm2.add(otherNorm)}}tempNorm2.normalize();normAttr.setXYZ(i3+n,tempNorm2.x,tempNorm2.y,tempNorm2.z)}}resultGeometry.setAttribute("normal",normAttr);return resultGeometry}function mergeBufferGeometries(geometries,useGroups=false){console.warn("THREE.BufferGeometryUtils: mergeBufferGeometries() has been renamed to mergeGeometries().");return mergeGeometries(geometries,useGroups)}function mergeBufferAttributes(attributes){console.warn("THREE.BufferGeometryUtils: mergeBufferAttributes() has been renamed to mergeAttributes().");return mergeAttributes(attributes)}var BufferGeometryUtils={computeMikkTSpaceTangents,deepCloneAttribute,deinterleaveAttribute,deinterleaveGeometry,mergeGeometries,mergeBufferGeometries,mergeAttributes,mergeBufferAttributes,interleaveAttributes,estimateBytesUsed,mergeVertices,toTrianglesDrawMode,computeMorphedAttributes,mergeGroups,toCreasedNormals};THREE.BufferGeometryUtils=BufferGeometryUtils})();(function(){class WorkerPool{constructor(pool=4){this.pool=pool;this.queue=[];this.workers=[];this.workersResolve=[];this.workerStatus=0}_initWorker(workerId){if(!this.workers[workerId]){const worker=this.workerCreator();worker.addEventListener("message",this._onMessage.bind(this,workerId));this.workers[workerId]=worker}}_getIdleWorker(){for(let i=0;i<this.pool;i++)if(!(this.workerStatus&1<<i))return i;return-1}_onMessage(workerId,msg){const resolve=this.workersResolve[workerId];resolve&&resolve(msg);if(this.queue.length){const{resolve,msg,transfer}=this.queue.shift();this.workersResolve[workerId]=resolve;this.workers[workerId].postMessage(msg,transfer)}else{this.workerStatus^=1<<workerId}}setWorkerCreator(workerCreator){this.workerCreator=workerCreator}setWorkerLimit(pool){this.pool=pool}postMessage(msg,transfer){return new Promise(resolve=>{const workerId=this._getIdleWorker();if(workerId!==-1){this._initWorker(workerId);this.workerStatus|=1<<workerId;this.workersResolve[workerId]=resolve;this.workers[workerId].postMessage(msg,transfer)}else{this.queue.push({resolve,msg,transfer})}})}dispose(){this.workers.forEach(worker=>worker.terminate());this.workersResolve.length=0;this.workers.length=0;this.queue.length=0;this.workerStatus=0}}THREE.WorkerPool=WorkerPool})();(function(){const t=0,e=1,n=2,i=3,s=0,a=0,r=2,o=0,l=1,f=160,U=161,c=162,h=163,_=0,p=1,g=0,y=1,x=2,u=3,b=4,d=5,m=6,w=7,D=8,B=9,L=10,A=11,k=12,v=13,S=14,I=15,O=16,T=17,V=18,E=0,F=1,P=2,C=3,z=4,M=5,W=6,N=7,H=8,K=9,X=10,j=11,R=0,Y=1,q=2,G=13,J=14,Q=15,Z=128,$=64,tt=32,et=16,nt=0,it=1,st=2,at=3,rt=4,ot=5,lt=6,ft=7,Ut=8,ct=9,ht=10,_t=13,pt=14,gt=15,yt=16,xt=17,ut=20,bt=21,dt=22,mt=23,wt=24,Dt=27,Bt=28,Lt=29,At=30,kt=31,vt=34,St=35,It=36,Ot=37,Tt=38,Vt=41,Et=42,Ft=43,Pt=44,Ct=45,zt=48,Mt=49,Wt=50,Nt=58,Ht=59,Kt=62,Xt=63,jt=64,Rt=65,Yt=68,qt=69,Gt=70,Jt=71,Qt=74,Zt=75,$t=76,te=77,ee=78,ne=81,ie=82,se=83,ae=84,re=85,oe=88,le=89,fe=90,Ue=91,ce=92,he=95,_e=96,pe=97,ge=98,ye=99,xe=100,ue=101,be=102,de=103,me=104,we=105,De=106,Be=107,Le=108,Ae=109,ke=110,ve=111,Se=112,Ie=113,Oe=114,Te=115,Ve=116,Ee=117,Fe=118,Pe=119,Ce=120,ze=121,Me=122,We=123,Ne=124,He=125,Ke=126,Xe=127,je=128,Re=129,Ye=130,qe=131,Ge=132,Je=133,Qe=134,Ze=135,$e=136,tn=137,en=138,nn=139,sn=140,an=141,rn=142,on=143,ln=144,fn=145,Un=146,cn=147,hn=148,_n=149,pn=150,gn=151,yn=152,xn=153,un=154,bn=155,dn=156,mn=157,wn=158,Dn=159,Bn=160,Ln=161,An=162,kn=163,vn=164,Sn=165,In=166,On=167,Tn=168,Vn=169,En=170,Fn=171,Pn=172,Cn=173,zn=174,Mn=175,Wn=176,Nn=177,Hn=178,Kn=179,Xn=180,jn=181,Rn=182,Yn=183,qn=184,Gn=1000156007,Jn=1000156008,Qn=1000156009,Zn=1000156010,$n=1000156011,ti=1000156017,ei=1000156018,ni=1000156019,ii=1000156020,si=1000156021,ai=1000054e3,ri=1000054001,oi=1000054002,li=1000054003,fi=1000054004,Ui=1000054005,ci=1000054006,hi=1000054007,_i=1000066e3,pi=1000066001,gi=1000066002,yi=1000066003,xi=1000066004,ui=1000066005,bi=1000066006,di=1000066007,mi=1000066008,wi=1000066009,Di=1000066010,Bi=1000066011,Li=1000066012,Ai=1000066013,ki=100034e4,vi=1000340001;class Si{constructor(){this.vkFormat=0,this.typeSize=1,this.pixelWidth=0,this.pixelHeight=0,this.pixelDepth=0,this.layerCount=0,this.faceCount=1,this.supercompressionScheme=0,this.levels=[],this.dataFormatDescriptor=[{vendorId:0,descriptorType:0,descriptorBlockSize:0,versionNumber:2,colorModel:0,colorPrimaries:1,transferFunction:2,flags:0,texelBlockDimension:[0,0,0,0],bytesPlane:[0,0,0,0,0,0,0,0],samples:[]}],this.keyValue={},this.globalData=null}}class Ii{constructor(t,e,n,i){this._dataView=new DataView(t.buffer,t.byteOffset+e,n),this._littleEndian=i,this._offset=0}_nextUint8(){const t=this._dataView.getUint8(this._offset);return this._offset+=1,t}_nextUint16(){const t=this._dataView.getUint16(this._offset,this._littleEndian);return this._offset+=2,t}_nextUint32(){const t=this._dataView.getUint32(this._offset,this._littleEndian);return this._offset+=4,t}_nextUint64(){const t=this._dataView.getUint32(this._offset,this._littleEndian)+2**32*this._dataView.getUint32(this._offset+4,this._littleEndian);return this._offset+=8,t}_nextInt32(){const t=this._dataView.getInt32(this._offset,this._littleEndian);return this._offset+=4,t}_skip(t){return this._offset+=t,this}_scan(t,e=0){const n=this._offset;let i=0;for(;this._dataView.getUint8(this._offset)!==e&&i<t;)i++,this._offset++;return i<t&&this._offset++,new Uint8Array(this._dataView.buffer,this._dataView.byteOffset+n,i)}}const Oi=new Uint8Array([0]),Ti=[171,75,84,88,32,50,48,187,13,10,26,10];function Vi(t){return"undefined"!=typeof TextEncoder?new TextEncoder().encode(t):Buffer.from(t)}function Ei(t){return"undefined"!=typeof TextDecoder?new TextDecoder().decode(t):Buffer.from(t).toString("utf8")}function Fi(t){let e=0;for(const n of t)e+=n.byteLength;const n=new Uint8Array(e);let i=0;for(const e of t)n.set(new Uint8Array(e),i),i+=e.byteLength;return n}function Pi(t){const e=new Uint8Array(t.buffer,t.byteOffset,Ti.length);if(e[0]!==Ti[0]||e[1]!==Ti[1]||e[2]!==Ti[2]||e[3]!==Ti[3]||e[4]!==Ti[4]||e[5]!==Ti[5]||e[6]!==Ti[6]||e[7]!==Ti[7]||e[8]!==Ti[8]||e[9]!==Ti[9]||e[10]!==Ti[10]||e[11]!==Ti[11])throw new Error("Missing KTX 2.0 identifier.");const n=new Si,i=17*Uint32Array.BYTES_PER_ELEMENT,s=new Ii(t,Ti.length,i,!0);n.vkFormat=s._nextUint32(),n.typeSize=s._nextUint32(),n.pixelWidth=s._nextUint32(),n.pixelHeight=s._nextUint32(),n.pixelDepth=s._nextUint32(),n.layerCount=s._nextUint32(),n.faceCount=s._nextUint32();const a=s._nextUint32();n.supercompressionScheme=s._nextUint32();const r=s._nextUint32(),o=s._nextUint32(),l=s._nextUint32(),f=s._nextUint32(),U=s._nextUint64(),c=s._nextUint64(),h=new Ii(t,Ti.length+i,3*a*8,!0);for(let e=0;e<a;e++)n.levels.push({levelData:new Uint8Array(t.buffer,t.byteOffset+h._nextUint64(),h._nextUint64()),uncompressedByteLength:h._nextUint64()});const _=new Ii(t,r,o,!0),p={vendorId:_._skip(4)._nextUint16(),descriptorType:_._nextUint16(),versionNumber:_._nextUint16(),descriptorBlockSize:_._nextUint16(),colorModel:_._nextUint8(),colorPrimaries:_._nextUint8(),transferFunction:_._nextUint8(),flags:_._nextUint8(),texelBlockDimension:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],bytesPlane:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],samples:[]},g=(p.descriptorBlockSize/4-6)/4;for(let t=0;t<g;t++){const e={bitOffset:_._nextUint16(),bitLength:_._nextUint8(),channelType:_._nextUint8(),samplePosition:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],sampleLower:-Infinity,sampleUpper:Infinity};64&e.channelType?(e.sampleLower=_._nextInt32(),e.sampleUpper=_._nextInt32()):(e.sampleLower=_._nextUint32(),e.sampleUpper=_._nextUint32()),p.samples[t]=e}n.dataFormatDescriptor.length=0,n.dataFormatDescriptor.push(p);const y=new Ii(t,l,f,!0);for(;y._offset<f;){const t=y._nextUint32(),e=y._scan(t),i=Ei(e),s=y._scan(t-e.byteLength);n.keyValue[i]=i.match(/^ktx/i)?Ei(s):s,y._offset%4&&y._skip(4-y._offset%4)}if(c<=0)return n;const x=new Ii(t,U,c,!0),u=x._nextUint16(),b=x._nextUint16(),d=x._nextUint32(),m=x._nextUint32(),w=x._nextUint32(),D=x._nextUint32(),B=[];for(let t=0;t<a;t++)B.push({imageFlags:x._nextUint32(),rgbSliceByteOffset:x._nextUint32(),rgbSliceByteLength:x._nextUint32(),alphaSliceByteOffset:x._nextUint32(),alphaSliceByteLength:x._nextUint32()});const L=U+x._offset,A=L+d,k=A+m,v=k+w,S=new Uint8Array(t.buffer,t.byteOffset+L,d),I=new Uint8Array(t.buffer,t.byteOffset+A,m),O=new Uint8Array(t.buffer,t.byteOffset+k,w),T=new Uint8Array(t.buffer,t.byteOffset+v,D);return n.globalData={endpointCount:u,selectorCount:b,imageDescs:B,endpointsData:S,selectorsData:I,tablesData:O,extendedData:T},n}function Ci(){return(Ci=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}const zi={keepWriter:!1};function Mi(t,e={}){e=Ci({},zi,e);let n=new ArrayBuffer(0);if(t.globalData){const e=new ArrayBuffer(20+5*t.globalData.imageDescs.length*4),i=new DataView(e);i.setUint16(0,t.globalData.endpointCount,!0),i.setUint16(2,t.globalData.selectorCount,!0),i.setUint32(4,t.globalData.endpointsData.byteLength,!0),i.setUint32(8,t.globalData.selectorsData.byteLength,!0),i.setUint32(12,t.globalData.tablesData.byteLength,!0),i.setUint32(16,t.globalData.extendedData.byteLength,!0);for(let e=0;e<t.globalData.imageDescs.length;e++){const n=t.globalData.imageDescs[e];i.setUint32(20+5*e*4+0,n.imageFlags,!0),i.setUint32(20+5*e*4+4,n.rgbSliceByteOffset,!0),i.setUint32(20+5*e*4+8,n.rgbSliceByteLength,!0),i.setUint32(20+5*e*4+12,n.alphaSliceByteOffset,!0),i.setUint32(20+5*e*4+16,n.alphaSliceByteLength,!0)}n=Fi([e,t.globalData.endpointsData,t.globalData.selectorsData,t.globalData.tablesData,t.globalData.extendedData])}const i=[];let s=t.keyValue;e.keepWriter||(s=Ci({},t.keyValue,{KTXwriter:"KTX-Parse v0.3.1"}));for(const t in s){const e=s[t],n=Vi(t),a="string"==typeof e?Vi(e):e,r=n.byteLength+1+a.byteLength+1,o=r%4?4-r%4:0;i.push(Fi([new Uint32Array([r]),n,Oi,a,Oi,new Uint8Array(o).fill(0)]))}const a=Fi(i);if(1!==t.dataFormatDescriptor.length||0!==t.dataFormatDescriptor[0].descriptorType)throw new Error("Only BASICFORMAT Data Format Descriptor output supported.");const r=t.dataFormatDescriptor[0],o=new ArrayBuffer(28+16*r.samples.length),l=new DataView(o),f=24+16*r.samples.length;if(l.setUint32(0,o.byteLength,!0),l.setUint16(4,r.vendorId,!0),l.setUint16(6,r.descriptorType,!0),l.setUint16(8,r.versionNumber,!0),l.setUint16(10,f,!0),l.setUint8(12,r.colorModel),l.setUint8(13,r.colorPrimaries),l.setUint8(14,r.transferFunction),l.setUint8(15,r.flags),!Array.isArray(r.texelBlockDimension))throw new Error("texelBlockDimension is now an array. For dimensionality `d`, set `d - 1`.");l.setUint8(16,r.texelBlockDimension[0]),l.setUint8(17,r.texelBlockDimension[1]),l.setUint8(18,r.texelBlockDimension[2]),l.setUint8(19,r.texelBlockDimension[3]);for(let t=0;t<8;t++)l.setUint8(20+t,r.bytesPlane[t]);for(let t=0;t<r.samples.length;t++){const e=r.samples[t],n=28+16*t;if(e.channelID)throw new Error("channelID has been renamed to channelType.");l.setUint16(n+0,e.bitOffset,!0),l.setUint8(n+2,e.bitLength),l.setUint8(n+3,e.channelType),l.setUint8(n+4,e.samplePosition[0]),l.setUint8(n+5,e.samplePosition[1]),l.setUint8(n+6,e.samplePosition[2]),l.setUint8(n+7,e.samplePosition[3]),64&e.channelType?(l.setInt32(n+8,e.sampleLower,!0),l.setInt32(n+12,e.sampleUpper,!0)):(l.setUint32(n+8,e.sampleLower,!0),l.setUint32(n+12,e.sampleUpper,!0))}const U=Ti.length+68+3*t.levels.length*8,c=U+o.byteLength;let h=n.byteLength>0?c+a.byteLength:0;h%8&&(h+=8-h%8);const _=[],p=new DataView(new ArrayBuffer(3*t.levels.length*8));let g=(h||c+a.byteLength)+n.byteLength;for(let e=0;e<t.levels.length;e++){const n=t.levels[e];_.push(n.levelData),p.setBigUint64(24*e+0,BigInt(g),!0),p.setBigUint64(24*e+8,BigInt(n.levelData.byteLength),!0),p.setBigUint64(24*e+16,BigInt(n.uncompressedByteLength),!0),g+=n.levelData.byteLength}const y=new ArrayBuffer(68),x=new DataView(y);return x.setUint32(0,t.vkFormat,!0),x.setUint32(4,t.typeSize,!0),x.setUint32(8,t.pixelWidth,!0),x.setUint32(12,t.pixelHeight,!0),x.setUint32(16,t.pixelDepth,!0),x.setUint32(20,t.layerCount,!0),x.setUint32(24,t.faceCount,!0),x.setUint32(28,t.levels.length,!0),x.setUint32(32,t.supercompressionScheme,!0),x.setUint32(36,U,!0),x.setUint32(40,o.byteLength,!0),x.setUint32(44,c,!0),x.setUint32(48,a.byteLength,!0),x.setBigUint64(52,BigInt(n.byteLength>0?h:0),!0),x.setBigUint64(60,BigInt(n.byteLength),!0),new Uint8Array(Fi([new Uint8Array(Ti).buffer,y,p.buffer,o,a,h>0?new ArrayBuffer(h-(c+a.byteLength)):new ArrayBuffer(0),n,..._]))}var KTXParse=THREE.KTXParse={};KTXParse.KHR_DF_CHANNEL_RGBSDA_ALPHA=Q,KTXParse.KHR_DF_CHANNEL_RGBSDA_BLUE=q,KTXParse.KHR_DF_CHANNEL_RGBSDA_DEPTH=J,KTXParse.KHR_DF_CHANNEL_RGBSDA_GREEN=Y,KTXParse.KHR_DF_CHANNEL_RGBSDA_RED=R,KTXParse.KHR_DF_CHANNEL_RGBSDA_STENCIL=G,KTXParse.KHR_DF_FLAG_ALPHA_PREMULTIPLIED=p,KTXParse.KHR_DF_FLAG_ALPHA_STRAIGHT=_,KTXParse.KHR_DF_KHR_DESCRIPTORTYPE_BASICFORMAT=s,KTXParse.KHR_DF_MODEL_ASTC=c,KTXParse.KHR_DF_MODEL_ETC1=f,KTXParse.KHR_DF_MODEL_ETC1S=h,KTXParse.KHR_DF_MODEL_ETC2=U,KTXParse.KHR_DF_MODEL_RGBSDA=l,KTXParse.KHR_DF_MODEL_UNSPECIFIED=o,KTXParse.KHR_DF_PRIMARIES_ACES=W,KTXParse.KHR_DF_PRIMARIES_ACESCC=N,KTXParse.KHR_DF_PRIMARIES_ADOBERGB=j,KTXParse.KHR_DF_PRIMARIES_BT2020=z,KTXParse.KHR_DF_PRIMARIES_BT601_EBU=P,KTXParse.KHR_DF_PRIMARIES_BT601_SMPTE=C,KTXParse.KHR_DF_PRIMARIES_BT709=F,KTXParse.KHR_DF_PRIMARIES_CIEXYZ=M,KTXParse.KHR_DF_PRIMARIES_DISPLAYP3=X,KTXParse.KHR_DF_PRIMARIES_NTSC1953=H,KTXParse.KHR_DF_PRIMARIES_PAL525=K,KTXParse.KHR_DF_PRIMARIES_UNSPECIFIED=E,KTXParse.KHR_DF_SAMPLE_DATATYPE_EXPONENT=tt,KTXParse.KHR_DF_SAMPLE_DATATYPE_FLOAT=Z,KTXParse.KHR_DF_SAMPLE_DATATYPE_LINEAR=et,KTXParse.KHR_DF_SAMPLE_DATATYPE_SIGNED=$,KTXParse.KHR_DF_TRANSFER_ACESCC=O,KTXParse.KHR_DF_TRANSFER_ACESCCT=T,KTXParse.KHR_DF_TRANSFER_ADOBERGB=V,KTXParse.KHR_DF_TRANSFER_BT1886=w,KTXParse.KHR_DF_TRANSFER_DCIP3=k,KTXParse.KHR_DF_TRANSFER_HLG_EOTF=B,KTXParse.KHR_DF_TRANSFER_HLG_OETF=D,KTXParse.KHR_DF_TRANSFER_ITU=u,KTXParse.KHR_DF_TRANSFER_LINEAR=y,KTXParse.KHR_DF_TRANSFER_NTSC=b,KTXParse.KHR_DF_TRANSFER_PAL625_EOTF=S,KTXParse.KHR_DF_TRANSFER_PAL_OETF=v,KTXParse.KHR_DF_TRANSFER_PQ_EOTF=L,KTXParse.KHR_DF_TRANSFER_PQ_OETF=A,KTXParse.KHR_DF_TRANSFER_SLOG=d,KTXParse.KHR_DF_TRANSFER_SLOG2=m,KTXParse.KHR_DF_TRANSFER_SRGB=x,KTXParse.KHR_DF_TRANSFER_ST240=I,KTXParse.KHR_DF_TRANSFER_UNSPECIFIED=g,KTXParse.KHR_DF_VENDORID_KHRONOS=a,KTXParse.KHR_DF_VERSION=r,KTXParse.KHR_SUPERCOMPRESSION_BASISLZ=e,KTXParse.KHR_SUPERCOMPRESSION_NONE=t,KTXParse.KHR_SUPERCOMPRESSION_ZLIB=i,KTXParse.KHR_SUPERCOMPRESSION_ZSTD=n,KTXParse.KTX2Container=Si,KTXParse.VK_FORMAT_A1R5G5B5_UNORM_PACK16=Ut,KTXParse.VK_FORMAT_A2B10G10R10_SINT_PACK32=qt,KTXParse.VK_FORMAT_A2B10G10R10_SNORM_PACK32=Rt,KTXParse.VK_FORMAT_A2B10G10R10_UINT_PACK32=Yt,KTXParse.VK_FORMAT_A2B10G10R10_UNORM_PACK32=jt,KTXParse.VK_FORMAT_A2R10G10B10_SINT_PACK32=Xt,KTXParse.VK_FORMAT_A2R10G10B10_SNORM_PACK32=Ht,KTXParse.VK_FORMAT_A2R10G10B10_UINT_PACK32=Kt,KTXParse.VK_FORMAT_A2R10G10B10_UNORM_PACK32=Nt,KTXParse.VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT=vi,KTXParse.VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT=ki,KTXParse.VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT=Bi,KTXParse.VK_FORMAT_ASTC_10x10_SRGB_BLOCK=Xn,KTXParse.VK_FORMAT_ASTC_10x10_UNORM_BLOCK=Kn,KTXParse.VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT=mi,KTXParse.VK_FORMAT_ASTC_10x5_SRGB_BLOCK=zn,KTXParse.VK_FORMAT_ASTC_10x5_UNORM_BLOCK=Cn,KTXParse.VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT=wi,KTXParse.VK_FORMAT_ASTC_10x6_SRGB_BLOCK=Wn,KTXParse.VK_FORMAT_ASTC_10x6_UNORM_BLOCK=Mn,KTXParse.VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT=Di,KTXParse.VK_FORMAT_ASTC_10x8_SRGB_BLOCK=Hn,KTXParse.VK_FORMAT_ASTC_10x8_UNORM_BLOCK=Nn,KTXParse.VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT=Li,KTXParse.VK_FORMAT_ASTC_12x10_SRGB_BLOCK=Rn,KTXParse.VK_FORMAT_ASTC_12x10_UNORM_BLOCK=jn,KTXParse.VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT=Ai,KTXParse.VK_FORMAT_ASTC_12x12_SRGB_BLOCK=qn,KTXParse.VK_FORMAT_ASTC_12x12_UNORM_BLOCK=Yn,KTXParse.VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT=_i,KTXParse.VK_FORMAT_ASTC_4x4_SRGB_BLOCK=wn,KTXParse.VK_FORMAT_ASTC_4x4_UNORM_BLOCK=mn,KTXParse.VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT=pi,KTXParse.VK_FORMAT_ASTC_5x4_SRGB_BLOCK=Bn,KTXParse.VK_FORMAT_ASTC_5x4_UNORM_BLOCK=Dn,KTXParse.VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT=gi,KTXParse.VK_FORMAT_ASTC_5x5_SRGB_BLOCK=An,KTXParse.VK_FORMAT_ASTC_5x5_UNORM_BLOCK=Ln,KTXParse.VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT=yi,KTXParse.VK_FORMAT_ASTC_6x5_SRGB_BLOCK=vn,KTXParse.VK_FORMAT_ASTC_6x5_UNORM_BLOCK=kn,KTXParse.VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT=xi,KTXParse.VK_FORMAT_ASTC_6x6_SRGB_BLOCK=In,KTXParse.VK_FORMAT_ASTC_6x6_UNORM_BLOCK=Sn,KTXParse.VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT=ui,KTXParse.VK_FORMAT_ASTC_8x5_SRGB_BLOCK=Tn,KTXParse.VK_FORMAT_ASTC_8x5_UNORM_BLOCK=On,KTXParse.VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT=bi,KTXParse.VK_FORMAT_ASTC_8x6_SRGB_BLOCK=En,KTXParse.VK_FORMAT_ASTC_8x6_UNORM_BLOCK=Vn,KTXParse.VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT=di,KTXParse.VK_FORMAT_ASTC_8x8_SRGB_BLOCK=Pn,KTXParse.VK_FORMAT_ASTC_8x8_UNORM_BLOCK=Fn,KTXParse.VK_FORMAT_B10G11R11_UFLOAT_PACK32=Me,KTXParse.VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16=$n,KTXParse.VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16=si,KTXParse.VK_FORMAT_B4G4R4A4_UNORM_PACK16=at,KTXParse.VK_FORMAT_B5G5R5A1_UNORM_PACK16=ft,KTXParse.VK_FORMAT_B5G6R5_UNORM_PACK16=ot,KTXParse.VK_FORMAT_B8G8R8A8_SINT=Mt,KTXParse.VK_FORMAT_B8G8R8A8_SNORM=Ct,KTXParse.VK_FORMAT_B8G8R8A8_SRGB=Wt,KTXParse.VK_FORMAT_B8G8R8A8_UINT=zt,KTXParse.VK_FORMAT_B8G8R8A8_UNORM=Pt,KTXParse.VK_FORMAT_B8G8R8_SINT=St,KTXParse.VK_FORMAT_B8G8R8_SNORM=kt,KTXParse.VK_FORMAT_B8G8R8_SRGB=It,KTXParse.VK_FORMAT_B8G8R8_UINT=vt,KTXParse.VK_FORMAT_B8G8R8_UNORM=At,KTXParse.VK_FORMAT_BC1_RGBA_SRGB_BLOCK=Qe,KTXParse.VK_FORMAT_BC1_RGBA_UNORM_BLOCK=Je,KTXParse.VK_FORMAT_BC1_RGB_SRGB_BLOCK=Ge,KTXParse.VK_FORMAT_BC1_RGB_UNORM_BLOCK=qe,KTXParse.VK_FORMAT_BC2_SRGB_BLOCK=$e,KTXParse.VK_FORMAT_BC2_UNORM_BLOCK=Ze,KTXParse.VK_FORMAT_BC3_SRGB_BLOCK=en,KTXParse.VK_FORMAT_BC3_UNORM_BLOCK=tn,KTXParse.VK_FORMAT_BC4_SNORM_BLOCK=sn,KTXParse.VK_FORMAT_BC4_UNORM_BLOCK=nn,KTXParse.VK_FORMAT_BC5_SNORM_BLOCK=rn,KTXParse.VK_FORMAT_BC5_UNORM_BLOCK=an,KTXParse.VK_FORMAT_BC6H_SFLOAT_BLOCK=ln,KTXParse.VK_FORMAT_BC6H_UFLOAT_BLOCK=on,KTXParse.VK_FORMAT_BC7_SRGB_BLOCK=Un,KTXParse.VK_FORMAT_BC7_UNORM_BLOCK=fn,KTXParse.VK_FORMAT_D16_UNORM=Ne,KTXParse.VK_FORMAT_D16_UNORM_S8_UINT=je,KTXParse.VK_FORMAT_D24_UNORM_S8_UINT=Re,KTXParse.VK_FORMAT_D32_SFLOAT=Ke,KTXParse.VK_FORMAT_D32_SFLOAT_S8_UINT=Ye,KTXParse.VK_FORMAT_E5B9G9R9_UFLOAT_PACK32=We,KTXParse.VK_FORMAT_EAC_R11G11_SNORM_BLOCK=dn,KTXParse.VK_FORMAT_EAC_R11G11_UNORM_BLOCK=bn,KTXParse.VK_FORMAT_EAC_R11_SNORM_BLOCK=un,KTXParse.VK_FORMAT_EAC_R11_UNORM_BLOCK=xn,KTXParse.VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK=pn,KTXParse.VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK=_n,KTXParse.VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK=yn,KTXParse.VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK=gn,KTXParse.VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK=hn,KTXParse.VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK=cn,KTXParse.VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16=Zn,KTXParse.VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16=ii,KTXParse.VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG=fi,KTXParse.VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG=ai,KTXParse.VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG=Ui,KTXParse.VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG=ri,KTXParse.VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG=ci,KTXParse.VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG=oi,KTXParse.VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG=hi,KTXParse.VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG=li,KTXParse.VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16=Qn,KTXParse.VK_FORMAT_R10X6G10X6_UNORM_2PACK16=Jn,KTXParse.VK_FORMAT_R10X6_UNORM_PACK16=Gn,KTXParse.VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16=ni,KTXParse.VK_FORMAT_R12X4G12X4_UNORM_2PACK16=ei,KTXParse.VK_FORMAT_R12X4_UNORM_PACK16=ti,KTXParse.VK_FORMAT_R16G16B16A16_SFLOAT=pe,KTXParse.VK_FORMAT_R16G16B16A16_SINT=_e,KTXParse.VK_FORMAT_R16G16B16A16_SNORM=ce,KTXParse.VK_FORMAT_R16G16B16A16_UINT=he,KTXParse.VK_FORMAT_R16G16B16A16_UNORM=Ue,KTXParse.VK_FORMAT_R16G16B16_SFLOAT=fe,KTXParse.VK_FORMAT_R16G16B16_SINT=le,KTXParse.VK_FORMAT_R16G16B16_SNORM=re,KTXParse.VK_FORMAT_R16G16B16_UINT=oe,KTXParse.VK_FORMAT_R16G16B16_UNORM=ae,KTXParse.VK_FORMAT_R16G16_SFLOAT=se,KTXParse.VK_FORMAT_R16G16_SINT=ie,KTXParse.VK_FORMAT_R16G16_SNORM=ee,KTXParse.VK_FORMAT_R16G16_UINT=ne,KTXParse.VK_FORMAT_R16G16_UNORM=te,KTXParse.VK_FORMAT_R16_SFLOAT=$t,KTXParse.VK_FORMAT_R16_SINT=Zt,KTXParse.VK_FORMAT_R16_SNORM=Jt,KTXParse.VK_FORMAT_R16_UINT=Qt,KTXParse.VK_FORMAT_R16_UNORM=Gt,KTXParse.VK_FORMAT_R32G32B32A32_SFLOAT=Ae,KTXParse.VK_FORMAT_R32G32B32A32_SINT=Le,KTXParse.VK_FORMAT_R32G32B32A32_UINT=Be,KTXParse.VK_FORMAT_R32G32B32_SFLOAT=De,KTXParse.VK_FORMAT_R32G32B32_SINT=we,KTXParse.VK_FORMAT_R32G32B32_UINT=me,KTXParse.VK_FORMAT_R32G32_SFLOAT=de,KTXParse.VK_FORMAT_R32G32_SINT=be,KTXParse.VK_FORMAT_R32G32_UINT=ue,KTXParse.VK_FORMAT_R32_SFLOAT=xe,KTXParse.VK_FORMAT_R32_SINT=ye,KTXParse.VK_FORMAT_R32_UINT=ge,KTXParse.VK_FORMAT_R4G4B4A4_UNORM_PACK16=st,KTXParse.VK_FORMAT_R4G4_UNORM_PACK8=it,KTXParse.VK_FORMAT_R5G5B5A1_UNORM_PACK16=lt,KTXParse.VK_FORMAT_R5G6B5_UNORM_PACK16=rt,KTXParse.VK_FORMAT_R64G64B64A64_SFLOAT=ze,KTXParse.VK_FORMAT_R64G64B64A64_SINT=Ce,KTXParse.VK_FORMAT_R64G64B64A64_UINT=Pe,KTXParse.VK_FORMAT_R64G64B64_SFLOAT=Fe,KTXParse.VK_FORMAT_R64G64B64_SINT=Ee,KTXParse.VK_FORMAT_R64G64B64_UINT=Ve,KTXParse.VK_FORMAT_R64G64_SFLOAT=Te,KTXParse.VK_FORMAT_R64G64_SINT=Oe,KTXParse.VK_FORMAT_R64G64_UINT=Ie,KTXParse.VK_FORMAT_R64_SFLOAT=Se,KTXParse.VK_FORMAT_R64_SINT=ve,KTXParse.VK_FORMAT_R64_UINT=ke,KTXParse.VK_FORMAT_R8G8B8A8_SINT=Et,KTXParse.VK_FORMAT_R8G8B8A8_SNORM=Tt,KTXParse.VK_FORMAT_R8G8B8A8_SRGB=Ft,KTXParse.VK_FORMAT_R8G8B8A8_UINT=Vt,KTXParse.VK_FORMAT_R8G8B8A8_UNORM=Ot,KTXParse.VK_FORMAT_R8G8B8_SINT=Bt,KTXParse.VK_FORMAT_R8G8B8_SNORM=wt,KTXParse.VK_FORMAT_R8G8B8_SRGB=Lt,KTXParse.VK_FORMAT_R8G8B8_UINT=Dt,KTXParse.VK_FORMAT_R8G8B8_UNORM=mt,KTXParse.VK_FORMAT_R8G8_SINT=bt,KTXParse.VK_FORMAT_R8G8_SNORM=xt,KTXParse.VK_FORMAT_R8G8_SRGB=dt,KTXParse.VK_FORMAT_R8G8_UINT=ut,KTXParse.VK_FORMAT_R8G8_UNORM=yt,KTXParse.VK_FORMAT_R8_SINT=pt,KTXParse.VK_FORMAT_R8_SNORM=ht,KTXParse.VK_FORMAT_R8_SRGB=gt,KTXParse.VK_FORMAT_R8_UINT=_t,KTXParse.VK_FORMAT_R8_UNORM=ct,KTXParse.VK_FORMAT_S8_UINT=Xe,KTXParse.VK_FORMAT_UNDEFINED=nt,KTXParse.VK_FORMAT_X8_D24_UNORM_PACK32=He,KTXParse.read=Pi,KTXParse.write=Mi})();(function(){var CompressedTexture=THREE.CompressedTexture,Data3DTexture=THREE.Data3DTexture,DataTexture=THREE.DataTexture,FileLoader=THREE.FileLoader,FloatType=THREE.FloatType,HalfFloatType=THREE.HalfFloatType,LinearEncoding=THREE.LinearEncoding,LinearFilter=THREE.LinearFilter,LinearMipmapLinearFilter=THREE.LinearMipmapLinearFilter,Loader=THREE.Loader,RedFormat=THREE.RedFormat,RGB_ETC1_Format=THREE.RGB_ETC1_Format,RGB_ETC2_Format=THREE.RGB_ETC2_Format,RGB_PVRTC_4BPPV1_Format=THREE.RGB_PVRTC_4BPPV1_Format,RGB_S3TC_DXT1_Format=THREE.RGB_S3TC_DXT1_Format,RGBA_ASTC_4x4_Format=THREE.RGBA_ASTC_4x4_Format,RGBA_BPTC_Format=THREE.RGBA_BPTC_Format,RGBA_ETC2_EAC_Format=THREE.RGBA_ETC2_EAC_Format,RGBA_PVRTC_4BPPV1_Format=THREE.RGBA_PVRTC_4BPPV1_Format,RGBA_S3TC_DXT5_Format=THREE.RGBA_S3TC_DXT5_Format,RGBAFormat=THREE.RGBAFormat,RGFormat=THREE.RGFormat,sRGBEncoding=THREE.sRGBEncoding,UnsignedByteType=THREE.UnsignedByteType,WorkerPool=THREE.WorkerPool;var read=THREE.KTXParse.read,KHR_DF_FLAG_ALPHA_PREMULTIPLIED=THREE.KTXParse.KHR_DF_FLAG_ALPHA_PREMULTIPLIED,KHR_DF_TRANSFER_SRGB=THREE.KTXParse.KHR_DF_TRANSFER_SRGB,KHR_SUPERCOMPRESSION_NONE=THREE.KTXParse.KHR_SUPERCOMPRESSION_NONE,KHR_SUPERCOMPRESSION_ZSTD=THREE.KTXParse.KHR_SUPERCOMPRESSION_ZSTD,VK_FORMAT_UNDEFINED=THREE.KTXParse.VK_FORMAT_UNDEFINED,VK_FORMAT_R16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16_SFLOAT,VK_FORMAT_R16G16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16G16_SFLOAT,VK_FORMAT_R16G16B16A16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16G16B16A16_SFLOAT,VK_FORMAT_R32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32_SFLOAT,VK_FORMAT_R32G32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32G32_SFLOAT,VK_FORMAT_R32G32B32A32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32G32B32A32_SFLOAT,VK_FORMAT_R8_SRGB=THREE.KTXParse.VK_FORMAT_R8_SRGB,VK_FORMAT_R8_UNORM=THREE.KTXParse.VK_FORMAT_R8_UNORM,VK_FORMAT_R8G8_SRGB=THREE.KTXParse.VK_FORMAT_R8G8_SRGB,VK_FORMAT_R8G8_UNORM=THREE.KTXParse.VK_FORMAT_R8G8_UNORM,VK_FORMAT_R8G8B8A8_SRGB=THREE.KTXParse.VK_FORMAT_R8G8B8A8_SRGB,VK_FORMAT_R8G8B8A8_UNORM=THREE.KTXParse.VK_FORMAT_R8G8B8A8_UNORM;var ZSTDDecoder=THREE.ZSTDDecoder;const _taskCache=new WeakMap;let _activeLoaders=0;let _zstd;class KTX2Loader extends Loader{constructor(manager){super(manager);this.transcoderPath="";this.transcoderBinary=null;this.transcoderPending=null;this.workerPool=new WorkerPool;this.workerSourceURL="";this.workerConfig=null;if(typeof MSC_TRANSCODER!=="undefined"){console.warn("THREE.KTX2Loader: Please update to latest \"basis_transcoder\"."+" \"msc_basis_transcoder\" is no longer supported in three.js r125+.")}}setTranscoderPath(path){this.transcoderPath=path;return this}setWorkerLimit(num){this.workerPool.setWorkerLimit(num);return this}detectSupport(renderer){this.workerConfig={astcSupported:renderer.extensions.has("WEBGL_compressed_texture_astc"),etc1Supported:renderer.extensions.has("WEBGL_compressed_texture_etc1"),etc2Supported:renderer.extensions.has("WEBGL_compressed_texture_etc"),dxtSupported:renderer.extensions.has("WEBGL_compressed_texture_s3tc"),bptcSupported:renderer.extensions.has("EXT_texture_compression_bptc"),pvrtcSupported:renderer.extensions.has("WEBGL_compressed_texture_pvrtc")||renderer.extensions.has("WEBKIT_WEBGL_compressed_texture_pvrtc")};if(renderer.capabilities.isWebGL2){this.workerConfig.etc1Supported=false}return this}init(){if(!this.transcoderPending){const jsLoader=new FileLoader(this.manager);jsLoader.setPath(this.transcoderPath);jsLoader.setWithCredentials(this.withCredentials);const jsContent=jsLoader.loadAsync("basis_transcoder.js");const binaryLoader=new FileLoader(this.manager);binaryLoader.setPath(this.transcoderPath);binaryLoader.setResponseType("arraybuffer");binaryLoader.setWithCredentials(this.withCredentials);const binaryContent=binaryLoader.loadAsync("basis_transcoder.wasm");this.transcoderPending=Promise.all([jsContent,binaryContent]).then(([jsContent,binaryContent])=>{const fn=KTX2Loader.BasisWorker.toString();const body=["/* constants */","let _EngineFormat = "+JSON.stringify(KTX2Loader.EngineFormat),"let _TranscoderFormat = "+JSON.stringify(KTX2Loader.TranscoderFormat),"let _BasisFormat = "+JSON.stringify(KTX2Loader.BasisFormat),"/* basis_transcoder.js */",jsContent,"/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]));this.transcoderBinary=binaryContent;this.workerPool.setWorkerCreator(()=>{const worker=new Worker(this.workerSourceURL);const transcoderBinary=this.transcoderBinary.slice(0);worker.postMessage({type:"init",config:this.workerConfig,transcoderBinary},[transcoderBinary]);return worker})});if(_activeLoaders>0){console.warn("THREE.KTX2Loader: Multiple active KTX2 loaders may cause performance issues."+" Use a single KTX2Loader instance, or call .dispose() on old instances.")}_activeLoaders++}return this.transcoderPending}load(url,onLoad,onProgress,onError){if(this.workerConfig===null){throw new Error("THREE.KTX2Loader: Missing initialization with `.detectSupport( renderer )`.")}const loader=new FileLoader(this.manager);loader.setResponseType("arraybuffer");loader.setWithCredentials(this.withCredentials);loader.load(url,buffer=>{if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);return cachedTask.promise.then(onLoad).catch(onError)}this._createTexture(buffer).then(texture=>onLoad?onLoad(texture):null).catch(onError)},onProgress,onError)}_createTextureFrom(transcodeResult){const{mipmaps,width,height,format,type,error,dfdTransferFn,dfdFlags}=transcodeResult;if(type==="error")return Promise.reject(error);const texture=new CompressedTexture(mipmaps,width,height,format,UnsignedByteType);texture.minFilter=mipmaps.length===1?LinearFilter:LinearMipmapLinearFilter;texture.magFilter=LinearFilter;texture.generateMipmaps=false;texture.needsUpdate=true;texture.encoding=dfdTransferFn===KHR_DF_TRANSFER_SRGB?sRGBEncoding:LinearEncoding;texture.premultiplyAlpha=!!(dfdFlags&KHR_DF_FLAG_ALPHA_PREMULTIPLIED);return texture}_createTexture(buffer,config={}){const container=read(new Uint8Array(buffer));if(container.vkFormat!==VK_FORMAT_UNDEFINED){return createDataTexture(container)}const taskConfig=config;const texturePending=this.init().then(()=>{return this.workerPool.postMessage({type:"transcode",buffer,taskConfig:taskConfig},[buffer])}).then(e=>this._createTextureFrom(e.data));_taskCache.set(buffer,{promise:texturePending});return texturePending}dispose(){this.workerPool.dispose();if(this.workerSourceURL)URL.revokeObjectURL(this.workerSourceURL);_activeLoaders--;return this}}KTX2Loader.BasisFormat={ETC1S:0,UASTC_4x4:1};KTX2Loader.TranscoderFormat={ETC1:0,ETC2:1,BC1:2,BC3:3,BC4:4,BC5:5,BC7_M6_OPAQUE_ONLY:6,BC7_M5:7,PVRTC1_4_RGB:8,PVRTC1_4_RGBA:9,ASTC_4x4:10,ATC_RGB:11,ATC_RGBA_INTERPOLATED_ALPHA:12,RGBA32:13,RGB565:14,BGR565:15,RGBA4444:16};KTX2Loader.EngineFormat={RGBAFormat:RGBAFormat,RGBA_ASTC_4x4_Format:RGBA_ASTC_4x4_Format,RGBA_BPTC_Format:RGBA_BPTC_Format,RGBA_ETC2_EAC_Format:RGBA_ETC2_EAC_Format,RGBA_PVRTC_4BPPV1_Format:RGBA_PVRTC_4BPPV1_Format,RGBA_S3TC_DXT5_Format:RGBA_S3TC_DXT5_Format,RGB_ETC1_Format:RGB_ETC1_Format,RGB_ETC2_Format:RGB_ETC2_Format,RGB_PVRTC_4BPPV1_Format:RGB_PVRTC_4BPPV1_Format,RGB_S3TC_DXT1_Format:RGB_S3TC_DXT1_Format};KTX2Loader.BasisWorker=function(){let config;let transcoderPending;let BasisModule;const EngineFormat=_EngineFormat;const TranscoderFormat=_TranscoderFormat;const BasisFormat=_BasisFormat;self.addEventListener("message",function(e){const message=e.data;switch(message.type){case"init":config=message.config;init(message.transcoderBinary);break;case"transcode":transcoderPending.then(()=>{try{const{width,height,hasAlpha,mipmaps,format,dfdTransferFn,dfdFlags}=transcode(message.buffer);const buffers=[];for(let i=0;i<mipmaps.length;++i){buffers.push(mipmaps[i].data.buffer)}self.postMessage({type:"transcode",id:message.id,width,height,hasAlpha,mipmaps,format,dfdTransferFn,dfdFlags},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}});break;}});function init(wasmBinary){transcoderPending=new Promise(resolve=>{BasisModule={wasmBinary,onRuntimeInitialized:resolve};BASIS(BasisModule)}).then(()=>{BasisModule.initializeBasis();if(BasisModule.KTX2File===undefined){console.warn("THREE.KTX2Loader: Please update Basis Universal transcoder.")}})}function transcode(buffer){const ktx2File=new BasisModule.KTX2File(new Uint8Array(buffer));function cleanup(){ktx2File.close();ktx2File.delete()}if(!ktx2File.isValid()){cleanup();throw new Error("THREE.KTX2Loader:\tInvalid or unsupported .ktx2 file")}const basisFormat=ktx2File.isUASTC()?BasisFormat.UASTC_4x4:BasisFormat.ETC1S;const width=ktx2File.getWidth();const height=ktx2File.getHeight();const levels=ktx2File.getLevels();const hasAlpha=ktx2File.getHasAlpha();const dfdTransferFn=ktx2File.getDFDTransferFunc();const dfdFlags=ktx2File.getDFDFlags();const{transcoderFormat,engineFormat}=getTranscoderFormat(basisFormat,width,height,hasAlpha);if(!width||!height||!levels){cleanup();throw new Error("THREE.KTX2Loader:\tInvalid texture")}if(!ktx2File.startTranscoding()){cleanup();throw new Error("THREE.KTX2Loader: .startTranscoding failed")}const mipmaps=[];for(let mip=0;mip<levels;mip++){const levelInfo=ktx2File.getImageLevelInfo(mip,0,0);const mipWidth=levelInfo.origWidth;const mipHeight=levelInfo.origHeight;const dst=new Uint8Array(ktx2File.getImageTranscodedSizeInBytes(mip,0,0,transcoderFormat));const status=ktx2File.transcodeImage(dst,mip,0,0,transcoderFormat,0,-1,-1);if(!status){cleanup();throw new Error("THREE.KTX2Loader: .transcodeImage failed.")}mipmaps.push({data:dst,width:mipWidth,height:mipHeight})}cleanup();return{width,height,hasAlpha,mipmaps,format:engineFormat,dfdTransferFn,dfdFlags}}const FORMAT_OPTIONS=[{if:"astcSupported",basisFormat:[BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ASTC_4x4,TranscoderFormat.ASTC_4x4],engineFormat:[EngineFormat.RGBA_ASTC_4x4_Format,EngineFormat.RGBA_ASTC_4x4_Format],priorityETC1S:Infinity,priorityUASTC:1,needsPowerOfTwo:false},{if:"bptcSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.BC7_M5,TranscoderFormat.BC7_M5],engineFormat:[EngineFormat.RGBA_BPTC_Format,EngineFormat.RGBA_BPTC_Format],priorityETC1S:3,priorityUASTC:2,needsPowerOfTwo:false},{if:"dxtSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.BC1,TranscoderFormat.BC3],engineFormat:[EngineFormat.RGB_S3TC_DXT1_Format,EngineFormat.RGBA_S3TC_DXT5_Format],priorityETC1S:4,priorityUASTC:5,needsPowerOfTwo:false},{if:"etc2Supported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ETC1,TranscoderFormat.ETC2],engineFormat:[EngineFormat.RGB_ETC2_Format,EngineFormat.RGBA_ETC2_EAC_Format],priorityETC1S:1,priorityUASTC:3,needsPowerOfTwo:false},{if:"etc1Supported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ETC1],engineFormat:[EngineFormat.RGB_ETC1_Format],priorityETC1S:2,priorityUASTC:4,needsPowerOfTwo:false},{if:"pvrtcSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.PVRTC1_4_RGB,TranscoderFormat.PVRTC1_4_RGBA],engineFormat:[EngineFormat.RGB_PVRTC_4BPPV1_Format,EngineFormat.RGBA_PVRTC_4BPPV1_Format],priorityETC1S:5,priorityUASTC:6,needsPowerOfTwo:true}];const ETC1S_OPTIONS=FORMAT_OPTIONS.sort(function(a,b){return a.priorityETC1S-b.priorityETC1S});const UASTC_OPTIONS=FORMAT_OPTIONS.sort(function(a,b){return a.priorityUASTC-b.priorityUASTC});function getTranscoderFormat(basisFormat,width,height,hasAlpha){let transcoderFormat;let engineFormat;const options=basisFormat===BasisFormat.ETC1S?ETC1S_OPTIONS:UASTC_OPTIONS;for(let i=0;i<options.length;i++){const opt=options[i];if(!config[opt.if])continue;if(!opt.basisFormat.includes(basisFormat))continue;if(hasAlpha&&opt.transcoderFormat.length<2)continue;if(opt.needsPowerOfTwo&&!(isPowerOfTwo(width)&&isPowerOfTwo(height)))continue;transcoderFormat=opt.transcoderFormat[hasAlpha?1:0];engineFormat=opt.engineFormat[hasAlpha?1:0];return{transcoderFormat,engineFormat}}console.warn("THREE.KTX2Loader: No suitable compressed texture format found. Decoding to RGBA32.");transcoderFormat=TranscoderFormat.RGBA32;engineFormat=EngineFormat.RGBAFormat;return{transcoderFormat,engineFormat}}function isPowerOfTwo(value){if(value<=2)return true;return(value&value-1)===0&&value!==0}};const FORMAT_MAP={[VK_FORMAT_R32G32B32A32_SFLOAT]:RGBAFormat,[VK_FORMAT_R16G16B16A16_SFLOAT]:RGBAFormat,[VK_FORMAT_R8G8B8A8_UNORM]:RGBAFormat,[VK_FORMAT_R8G8B8A8_SRGB]:RGBAFormat,[VK_FORMAT_R32G32_SFLOAT]:RGFormat,[VK_FORMAT_R16G16_SFLOAT]:RGFormat,[VK_FORMAT_R8G8_UNORM]:RGFormat,[VK_FORMAT_R8G8_SRGB]:RGFormat,[VK_FORMAT_R32_SFLOAT]:RedFormat,[VK_FORMAT_R16_SFLOAT]:RedFormat,[VK_FORMAT_R8_SRGB]:RedFormat,[VK_FORMAT_R8_UNORM]:RedFormat};const TYPE_MAP={[VK_FORMAT_R32G32B32A32_SFLOAT]:FloatType,[VK_FORMAT_R16G16B16A16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8G8B8A8_UNORM]:UnsignedByteType,[VK_FORMAT_R8G8B8A8_SRGB]:UnsignedByteType,[VK_FORMAT_R32G32_SFLOAT]:FloatType,[VK_FORMAT_R16G16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8G8_UNORM]:UnsignedByteType,[VK_FORMAT_R8G8_SRGB]:UnsignedByteType,[VK_FORMAT_R32_SFLOAT]:FloatType,[VK_FORMAT_R16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8_SRGB]:UnsignedByteType,[VK_FORMAT_R8_UNORM]:UnsignedByteType};const ENCODING_MAP={[VK_FORMAT_R8G8B8A8_SRGB]:sRGBEncoding,[VK_FORMAT_R8G8_SRGB]:sRGBEncoding,[VK_FORMAT_R8_SRGB]:sRGBEncoding};async function createDataTexture(container){const{vkFormat,pixelWidth,pixelHeight,pixelDepth}=container;if(FORMAT_MAP[vkFormat]===undefined){throw new Error("THREE.KTX2Loader: Unsupported vkFormat.")}const level=container.levels[0];let levelData;let view;if(container.supercompressionScheme===KHR_SUPERCOMPRESSION_NONE){levelData=level.levelData}else if(container.supercompressionScheme===KHR_SUPERCOMPRESSION_ZSTD){if(!_zstd){_zstd=new Promise(async resolve=>{const zstd=new ZSTDDecoder;await zstd.init();resolve(zstd)})}levelData=(await _zstd).decode(level.levelData,level.uncompressedByteLength)}else{throw new Error("THREE.KTX2Loader: Unsupported supercompressionScheme.")}if(TYPE_MAP[vkFormat]===FloatType){view=new Float32Array(levelData.buffer,levelData.byteOffset,levelData.byteLength/Float32Array.BYTES_PER_ELEMENT)}else if(TYPE_MAP[vkFormat]===HalfFloatType){view=new Uint16Array(levelData.buffer,levelData.byteOffset,levelData.byteLength/Uint16Array.BYTES_PER_ELEMENT)}else{view=levelData}const texture=pixelDepth===0?new DataTexture(view,pixelWidth,pixelHeight):new Data3DTexture(view,pixelWidth,pixelHeight,pixelDepth);texture.type=TYPE_MAP[vkFormat];texture.format=FORMAT_MAP[vkFormat];texture.encoding=ENCODING_MAP[vkFormat]||LinearEncoding;texture.needsUpdate=true;return Promise.resolve(texture)}THREE.KTX2Loader=KTX2Loader})();(function(){let A,I,B;const g={env:{emscripten_notify_memory_growth:function(A){B=new Uint8Array(I.exports.memory.buffer)}}};class Q{init(){return A||(A="undefined"!=typeof fetch?fetch("data:application/wasm;base64,"+C).then(A=>A.arrayBuffer()).then(A=>WebAssembly.instantiate(A,g)).then(this._init):WebAssembly.instantiate(Buffer.from(C,"base64"),g).then(this._init),A)}_init(A){I=A.instance,g.env.emscripten_notify_memory_growth(0)}decode(A,g=0){if(!I)throw new Error("ZSTDDecoder: Await .init() before decoding.");const Q=A.byteLength,C=I.exports.malloc(Q);B.set(A,C),g=g||Number(I.exports.ZSTD_findDecompressedSize(C,Q));const E=I.exports.malloc(g),i=I.exports.ZSTD_decompress(E,g,C,Q),D=B.slice(E,E+i);return I.exports.free(C),I.exports.free(E),D}}const C="AGFz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J/IAAgA2ohBQJAIANBB0wEQANAIAAgBU8NAiAAIAItAAA6AAAgAEEBaiEAIAJBAWohAgwAAAsACyAEQQFGBEACQCAAIAJrIgZBB00EQCAAIAItAAA6AAAgACACLQABOgABIAAgAi0AAjoAAiAAIAItAAM6AAMgAEEEaiACIAZBAnQiBkHAHmooAgBqIgIQFyACIAZB4B5qKAIAayECDAELIAAgAhAMCyACQQhqIQIgAEEIaiEACwJAAkACQAJAIAUgAU0EQCAAIANqIQEgBEEBRyAAIAJrQQ9Kcg0BA0AgACACEAwgAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBk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ggABALIABqBUEACyABayEMCyAHQfAAaiQAIAwLkRcCFn8FfiMAQdABayIHJAAgByAAKALw4QEiCDYCvAEgASACaiESIAggACgCgOIBaiETAkACQCAFRQRAIAEhAwwBCyAAKALE4AEhESAAKALA4AEhFSAAKAK84AEhDyAAQQE2AozhAUEAIQgDQCAIQQNHBEAgByAIQQJ0IgJqIAAgAmpBrNABaigCADYCVCAIQQFqIQgMAQsLIAcgETYCZCAHIA82AmAgByABIA9rNgJoQWwhECAHQShqIAMgBBAGEAMNASAFQQQgBUEESBshFyAHQTxqIAdBKGogACgCABATIAdBxABqIAdBKGogACgCCBATIAdBzABqIAdBKGogACgCBBATQQAhBCAHQeAAaiEMIAdB5ABqIQoDQCAHQShqEARBAksgBCAXTnJFBEAgBygCQCAHKAI8QQN0aikCACIdQhCIp0H/AXEhCyAHKAJQIAcoAkxBA3RqKQIAIh5CEIinQf8BcSEJIAcoAkggBygCREEDdGopAgAiH0IgiKchCCAeQiCIISAgHUIgiKchAgJAIB9CEIinQf8BcSIDQQJPBEACQCAGRSADQRlJckUEQCAIIAdBKGogA0EgIAcoAixrIg0gDSADSxsiDRAFIAMgDWsiA3RqIQggB0EoahAEGiADRQ0BIAdBKGogAxAFIAhqIQgMAQsgB0EoaiADEAUgCGohCCAHQShqEAQaCyAHKQJUISEgByAINgJUIAcgITcDWAwBCwJAIANFBEAgAgRAIAcoAlQhCAwDCyAHKAJYIQgMAQsCQAJAIAdBKGpBARAFIAggAkVqaiIDQQNGBEAgBygCVEF/aiIDIANFaiEIDAELIANBAnQgB2ooAlQiCCAIRWohCCADQQFGDQELIAcgBygCWDYCXAsLIAcgBygCVDYCWCAHIAg2AlQLICCnIQMgCQRAIAdBKGogCRAFIANqIQMLIAkgC2pBFE8EQCAHQShqEAQaCyALBEAgB0EoaiALEAUgAmohAgsgB0EoahAEGiAHIAcoAmggAmoiCSADajYCaCAKIAwgCCAJSxsoAgAhDSAHIAdBKGogHUIYiKdB/wFxEAggHadB//8DcWo2Ajw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AAoArzgASEDIAAgATYCvOABIAAgASADIAJrajYCwOABCwutAgIEfwF+IwBBQGoiBCQAAkACQCACQQhJDQAgASgAAEFwcUHQ1LTCAUcNACABIAIQIiEBIABCADcDCCAAQQA2AgQgACABNgIADAELIARBGGogASACEC0iAxADBEAgACADEBoMAQsgAwRAIABBuH8QGgwBCyACIAQoAjAiA2shAiABIANqIQMDQAJAIAAgAyACIARBCGoQLCIFEAMEfyAFBSACIAVBA2oiBU8NAUG4fwsQGgwCCyAGQQFqIQYgAiAFayECIAMgBWohAyAEKAIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwBBEGsiBSQAIAVBCGogBBAOAn8gBS0ACQRAIAAgASACIAMgBBAyDAELIAAgASACIAMgBBA0CyEAIAVBEGokACAACzQAIAAgAyAEIAUQNiIFEAMEQCAFDwsgBSAESQR/IAEg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AAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ";THREE.ZSTDDecoder=Q})();(function(){var BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Color=THREE.Color,FileLoader=THREE.FileLoader,Loader=THREE.Loader,LinearSRGBColorSpace=THREE.LinearSRGBColorSpace,SRGBColorSpace=THREE.SRGBColorSpace;const _taskCache=new WeakMap;class DRACOLoader extends Loader{constructor(manager){super(manager);this.decoderPath="";this.decoderConfig={};this.decoderBinary=null;this.decoderPending=null;this.workerLimit=4;this.workerPool=[];this.workerNextTaskID=1;this.workerSourceURL="";this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"};this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(path){this.decoderPath=path;return this}setDecoderConfig(config){this.decoderConfig=config;return this}setWorkerLimit(workerLimit){this.workerLimit=workerLimit;return this}load(url,onLoad,onProgress,onError){const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,buffer=>{this.parse(buffer,onLoad,onError)},onProgress,onError)}parse(buffer,onLoad,onError){this.decodeDracoFile(buffer,onLoad,null,null,SRGBColorSpace).catch(onError)}decodeDracoFile(buffer,callback,attributeIDs,attributeTypes,vertexColorSpace=LinearSRGBColorSpace){const taskConfig={attributeIDs:attributeIDs||this.defaultAttributeIDs,attributeTypes:attributeTypes||this.defaultAttributeTypes,useUniqueIDs:!!attributeIDs,vertexColorSpace:vertexColorSpace};return this.decodeGeometry(buffer,taskConfig).then(callback)}decodeGeometry(buffer,taskConfig){const taskKey=JSON.stringify(taskConfig);if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);if(cachedTask.key===taskKey){return cachedTask.promise}else if(buffer.byteLength===0){throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different "+"settings. Buffer has already been transferred.")}}let worker;const taskID=this.workerNextTaskID++;const taskCost=buffer.byteLength;const geometryPending=this._getWorker(taskID,taskCost).then(_worker=>{worker=_worker;return new Promise((resolve,reject)=>{worker._callbacks[taskID]={resolve,reject};worker.postMessage({type:"decode",id:taskID,taskConfig,buffer},[buffer])})}).then(message=>this._createGeometry(message.geometry));geometryPending.catch(()=>true).then(()=>{if(worker&&taskID){this._releaseTask(worker,taskID)}});_taskCache.set(buffer,{key:taskKey,promise:geometryPending});return geometryPending}_createGeometry(geometryData){const geometry=new BufferGeometry;if(geometryData.index){geometry.setIndex(new BufferAttribute(geometryData.index.array,1))}for(let i=0;i<geometryData.attributes.length;i++){const result=geometryData.attributes[i];const name=result.name;const array=result.array;const itemSize=result.itemSize;const attribute=new BufferAttribute(array,itemSize);if(name==="color"){this._assignVertexColorSpace(attribute,result.vertexColorSpace);attribute.normalized=array instanceof Float32Array===false}geometry.setAttribute(name,attribute)}return geometry}_assignVertexColorSpace(attribute,inputColorSpace){if(inputColorSpace!==SRGBColorSpace)return;const _color=new Color;for(let i=0,il=attribute.count;i<il;i++){_color.fromBufferAttribute(attribute,i).convertSRGBToLinear();attribute.setXYZ(i,_color.r,_color.g,_color.b)}}_loadLibrary(url,responseType){const loader=new FileLoader(this.manager);loader.setPath(this.decoderPath);loader.setResponseType(responseType);loader.setWithCredentials(this.withCredentials);return new Promise((resolve,reject)=>{loader.load(url,resolve,undefined,reject)})}preload(){this._initDecoder();return this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const useJS=typeof WebAssembly!=="object"||this.decoderConfig.type==="js";const librariesPending=[];if(useJS){librariesPending.push(this._loadLibrary("draco_decoder.js","text"))}else{librariesPending.push(this._loadLibrary("draco_wasm_wrapper.js","text"));librariesPending.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))}this.decoderPending=Promise.all(librariesPending).then(libraries=>{const jsContent=libraries[0];if(!useJS){this.decoderConfig.wasmBinary=libraries[1]}const fn=DRACOWorker.toString();const body=["/* draco decoder */",jsContent,"","/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]))});return this.decoderPending}_getWorker(taskID,taskCost){return this._initDecoder().then(()=>{if(this.workerPool.length<this.workerLimit){const worker=new Worker(this.workerSourceURL);worker._callbacks={};worker._taskCosts={};worker._taskLoad=0;worker.postMessage({type:"init",decoderConfig:this.decoderConfig});worker.onmessage=function(e){const message=e.data;switch(message.type){case"decode":worker._callbacks[message.id].resolve(message);break;case"error":worker._callbacks[message.id].reject(message);break;default:console.error("THREE.DRACOLoader: Unexpected message, \""+message.type+"\"");}};this.workerPool.push(worker)}else{this.workerPool.sort(function(a,b){return a._taskLoad>b._taskLoad?-1:1})}const worker=this.workerPool[this.workerPool.length-1];worker._taskCosts[taskID]=taskCost;worker._taskLoad+=taskCost;return worker})}_releaseTask(worker,taskID){worker._taskLoad-=worker._taskCosts[taskID];delete worker._callbacks[taskID];delete worker._taskCosts[taskID]}debug(){console.log("Task load: ",this.workerPool.map(worker=>worker._taskLoad))}dispose(){for(let i=0;i<this.workerPool.length;++i){this.workerPool[i].terminate()}this.workerPool.length=0;if(this.workerSourceURL!==""){URL.revokeObjectURL(this.workerSourceURL)}return this}}function DRACOWorker(){let decoderConfig;let decoderPending;onmessage=function(e){const message=e.data;switch(message.type){case"init":decoderConfig=message.decoderConfig;decoderPending=new Promise(function(resolve){decoderConfig.onModuleLoaded=function(draco){resolve({draco:draco})};DracoDecoderModule(decoderConfig)});break;case"decode":const buffer=message.buffer;const taskConfig=message.taskConfig;decoderPending.then(module=>{const draco=module.draco;const decoder=new draco.Decoder;try{const geometry=decodeGeometry(draco,decoder,new Int8Array(buffer),taskConfig);const buffers=geometry.attributes.map(attr=>attr.array.buffer);if(geometry.index)buffers.push(geometry.index.array.buffer);self.postMessage({type:"decode",id:message.id,geometry},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}finally{draco.destroy(decoder)}});break;}};function decodeGeometry(draco,decoder,array,taskConfig){const attributeIDs=taskConfig.attributeIDs;const attributeTypes=taskConfig.attributeTypes;let dracoGeometry;let decodingStatus;const geometryType=decoder.GetEncodedGeometryType(array);if(geometryType===draco.TRIANGULAR_MESH){dracoGeometry=new draco.Mesh;decodingStatus=decoder.DecodeArrayToMesh(array,array.byteLength,dracoGeometry)}else if(geometryType===draco.POINT_CLOUD){dracoGeometry=new draco.PointCloud;decodingStatus=decoder.DecodeArrayToPointCloud(array,array.byteLength,dracoGeometry)}else{throw new Error("THREE.DRACOLoader: Unexpected geometry type.")}if(!decodingStatus.ok()||dracoGeometry.ptr===0){throw new Error("THREE.DRACOLoader: Decoding failed: "+decodingStatus.error_msg())}const geometry={index:null,attributes:[]};for(const attributeName in attributeIDs){const attributeType=self[attributeTypes[attributeName]];let attribute;let attributeID;if(taskConfig.useUniqueIDs){attributeID=attributeIDs[attributeName];attribute=decoder.GetAttributeByUniqueId(dracoGeometry,attributeID)}else{attributeID=decoder.GetAttributeId(dracoGeometry,draco[attributeIDs[attributeName]]);if(attributeID===-1)continue;attribute=decoder.GetAttribute(dracoGeometry,attributeID)}const attributeResult=decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute);if(attributeName==="color"){attributeResult.vertexColorSpace=taskConfig.vertexColorSpace}geometry.attributes.push(attributeResult)}if(geometryType===draco.TRIANGULAR_MESH){geometry.index=decodeIndex(draco,decoder,dracoGeometry)}draco.destroy(dracoGeometry);return geometry}function decodeIndex(draco,decoder,dracoGeometry){const numFaces=dracoGeometry.num_faces();const numIndices=numFaces*3;const byteLength=numIndices*4;const ptr=draco._malloc(byteLength);decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);const index=new Uint32Array(draco.HEAPF32.buffer,ptr,numIndices).slice();draco._free(ptr);return{array:index,itemSize:1}}function decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute){const numComponents=attribute.num_components();const numPoints=dracoGeometry.num_points();const numValues=numPoints*numComponents;const byteLength=numValues*attributeType.BYTES_PER_ELEMENT;const dataType=getDracoDataType(draco,attributeType);const ptr=draco._malloc(byteLength);decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,attribute,dataType,byteLength,ptr);const array=new attributeType(draco.HEAPF32.buffer,ptr,numValues).slice();draco._free(ptr);return{name:attributeName,array:array,itemSize:numComponents}}function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32;}}}THREE.DRACOLoader=DRACOLoader})();(function(e){var modifiedJSON={};modifiedJSON.parse=function(data){json=JSON.parse(data);json.nodes&&json.nodes.forEach((node,index)=>{(node.extras||(node.extras={})).id=index.toString()});return json};e(modifiedJSON)})(function(JSON){(function(){var AnimationClip=THREE.AnimationClip,Bone=THREE.Bone,Box3=THREE.Box3,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,ClampToEdgeWrapping=THREE.ClampToEdgeWrapping,Color=THREE.Color,DirectionalLight=THREE.DirectionalLight,DoubleSide=THREE.DoubleSide,FileLoader=THREE.FileLoader,FrontSide=THREE.FrontSide,Group=THREE.Group,ImageBitmapLoader=THREE.ImageBitmapLoader,InstancedMesh=THREE.InstancedMesh,InterleavedBuffer=THREE.InterleavedBuffer,InterleavedBufferAttribute=THREE.InterleavedBufferAttribute,Interpolant=THREE.Interpolant,InterpolateDiscrete=THREE.InterpolateDiscrete,InterpolateLinear=THREE.InterpolateLinear,Line=THREE.Line,LineBasicMaterial=THREE.LineBasicMaterial,LineLoop=THREE.LineLoop,LineSegments=THREE.LineSegments,LinearFilter=THREE.LinearFilter,LinearMipmapLinearFilter=THREE.LinearMipmapLinearFilter,LinearMipmapNearestFilter=THREE.LinearMipmapNearestFilter,Loader=THREE.Loader,LoaderUtils=THREE.LoaderUtils,Material=THREE.Material,MathUtils=THREE.MathUtils,Matrix4=THREE.Matrix4,Mesh=THREE.Mesh,MeshBasicMaterial=THREE.MeshBasicMaterial,MeshPhysicalMaterial=THREE.MeshPhysicalMaterial,MeshStandardMaterial=THREE.MeshStandardMaterial,MirroredRepeatWrapping=THREE.MirroredRepeatWrapping,NearestFilter=THREE.NearestFilter,NearestMipmapLinearFilter=THREE.NearestMipmapLinearFilter,NearestMipmapNearestFilter=THREE.NearestMipmapNearestFilter,NumberKeyframeTrack=THREE.NumberKeyframeTrack,Object3D=THREE.Object3D,OrthographicCamera=THREE.OrthographicCamera,PerspectiveCamera=THREE.PerspectiveCamera,PointLight=THREE.PointLight,Points=THREE.Points,PointsMaterial=THREE.PointsMaterial,PropertyBinding=THREE.PropertyBinding,Quaternion=THREE.Quaternion,QuaternionKeyframeTrack=THREE.QuaternionKeyframeTrack,RepeatWrapping=THREE.RepeatWrapping,Skeleton=THREE.Skeleton,SkinnedMesh=THREE.SkinnedMesh,Sphere=THREE.Sphere,SpotLight=THREE.SpotLight,Texture=THREE.Texture,TextureLoader=THREE.TextureLoader,TriangleFanDrawMode=THREE.TriangleFanDrawMode,TriangleStripDrawMode=THREE.TriangleStripDrawMode,Vector2=THREE.Vector2,Vector3=THREE.Vector3,VectorKeyframeTrack=THREE.VectorKeyframeTrack,sRGBEncoding=THREE.sRGBEncoding;var toTrianglesDrawMode=THREE.BufferGeometryUtils.toTrianglesDrawMode;class GLTFLoader extends Loader{constructor(manager){super(manager);this.dracoLoader=null;this.ktx2Loader=null;this.meshoptDecoder=null;this.pluginCallbacks=[];this.register(function(parser){return new GLTFMaterialsClearcoatExtension(parser)});this.register(function(parser){return new GLTFTextureBasisUExtension(parser)});this.register(function(parser){return new GLTFTextureWebPExtension(parser)});this.register(function(parser){return new GLTFTextureAVIFExtension(parser)});this.register(function(parser){return new GLTFMaterialsSheenExtension(parser)});this.register(function(parser){return new GLTFMaterialsTransmissionExtension(parser)});this.register(function(parser){return new GLTFMaterialsVolumeExtension(parser)});this.register(function(parser){return new GLTFMaterialsIorExtension(parser)});this.register(function(parser){return new GLTFMaterialsEmissiveStrengthExtension(parser)});this.register(function(parser){return new GLTFMaterialsSpecularExtension(parser)});this.register(function(parser){return new GLTFMaterialsIridescenceExtension(parser)});this.register(function(parser){return new GLTFLightsExtension(parser)});this.register(function(parser){return new GLTFMeshoptCompression(parser)});this.register(function(parser){return new GLTFMeshGpuInstancing(parser)})}load(url,onLoad,onProgress,onError){const scope=this;let resourcePath;if(this.resourcePath!==""){resourcePath=this.resourcePath}else if(this.path!==""){resourcePath=this.path}else{resourcePath=LoaderUtils.extractUrlBase(url)}this.manager.itemStart(url);const _onError=function(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url);scope.manager.itemEnd(url)};const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,function(data){try{scope.parse(data,resourcePath,function(gltf){onLoad(gltf);scope.manager.itemEnd(url)},_onError)}catch(e){_onError(e)}},onProgress,_onError)}setDRACOLoader(dracoLoader){this.dracoLoader=dracoLoader;return this}setDDSLoader(){throw new Error("THREE.GLTFLoader: \"MSFT_texture_dds\" no longer supported. Please update to \"KHR_texture_basisu\".")}setKTX2Loader(ktx2Loader){this.ktx2Loader=ktx2Loader;return this}setMeshoptDecoder(meshoptDecoder){this.meshoptDecoder=meshoptDecoder;return this}register(callback){if(this.pluginCallbacks.indexOf(callback)===-1){this.pluginCallbacks.push(callback)}return this}unregister(callback){if(this.pluginCallbacks.indexOf(callback)!==-1){this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(callback),1)}return this}parse(data,path,onLoad,onError){let json;const extensions={};const plugins={};const textDecoder=new TextDecoder;if(typeof data==="string"){json=JSON.parse(data)}else if(data instanceof ArrayBuffer){const magic=textDecoder.decode(new Uint8Array(data,0,4));if(magic===BINARY_EXTENSION_HEADER_MAGIC){try{extensions[EXTENSIONS.KHR_BINARY_GLTF]=new GLTFBinaryExtension(data)}catch(error){if(onError)onError(error);return}json=JSON.parse(extensions[EXTENSIONS.KHR_BINARY_GLTF].content)}else{json=JSON.parse(textDecoder.decode(data))}}else{json=data}if(json.asset===undefined||json.asset.version[0]<2){if(onError)onError(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));return}const parser=new GLTFParser(json,{path:path||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});parser.fileLoader.setRequestHeader(this.requestHeader);for(let i=0;i<this.pluginCallbacks.length;i++){const plugin=this.pluginCallbacks[i](parser);plugins[plugin.name]=plugin;extensions[plugin.name]=true}if(json.extensionsUsed){for(let i=0;i<json.extensionsUsed.length;++i){const extensionName=json.extensionsUsed[i];const extensionsRequired=json.extensionsRequired||[];switch(extensionName){case EXTENSIONS.KHR_MATERIALS_UNLIT:extensions[extensionName]=new GLTFMaterialsUnlitExtension;break;case EXTENSIONS.KHR_DRACO_MESH_COMPRESSION:extensions[extensionName]=new GLTFDracoMeshCompressionExtension(json,this.dracoLoader);break;case EXTENSIONS.KHR_TEXTURE_TRANSFORM:extensions[extensionName]=new GLTFTextureTransformExtension;break;case EXTENSIONS.KHR_MESH_QUANTIZATION:extensions[extensionName]=new GLTFMeshQuantizationExtension;break;default:if(extensionsRequired.indexOf(extensionName)>=0&&plugins[extensionName]===undefined){console.warn("THREE.GLTFLoader: Unknown extension \""+extensionName+"\".")}}}}parser.setExtensions(extensions);parser.setPlugins(plugins);parser.parse(onLoad,onError)}parseAsync(data,path){const scope=this;return new Promise(function(resolve,reject){scope.parse(data,path,resolve,reject)})}}function GLTFRegistry(){let objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}}}}const EXTENSIONS={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class GLTFLightsExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_LIGHTS_PUNCTUAL;this.cache={refs:{},uses:{}}}_markDefs(){const parser=this.parser;const nodeDefs=this.parser.json.nodes||[];for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex<nodeLength;nodeIndex++){const nodeDef=nodeDefs[nodeIndex];if(nodeDef.extensions&&nodeDef.extensions[this.name]&&nodeDef.extensions[this.name].light!==undefined){parser._addNodeRef(this.cache,nodeDef.extensions[this.name].light)}}}_loadLight(lightIndex){const parser=this.parser;const cacheKey="light:"+lightIndex;let dependency=parser.cache.get(cacheKey);if(dependency)return dependency;const json=parser.json;const extensions=json.extensions&&json.extensions[this.name]||{};const lightDefs=extensions.lights||[];const lightDef=lightDefs[lightIndex];let lightNode;const color=new Color(16777215);if(lightDef.color!==undefined)color.fromArray(lightDef.color);const range=lightDef.range!==undefined?lightDef.range:0;switch(lightDef.type){case"directional":lightNode=new DirectionalLight(color);lightNode.target.position.set(0,0,-1);lightNode.add(lightNode.target);break;case"point":lightNode=new PointLight(color);lightNode.distance=range;break;case"spot":lightNode=new SpotLight(color);lightNode.distance=range;lightDef.spot=lightDef.spot||{};lightDef.spot.innerConeAngle=lightDef.spot.innerConeAngle!==undefined?lightDef.spot.innerConeAngle:0;lightDef.spot.outerConeAngle=lightDef.spot.outerConeAngle!==undefined?lightDef.spot.outerConeAngle:Math.PI/4;lightNode.angle=lightDef.spot.outerConeAngle;lightNode.penumbra=1-lightDef.spot.innerConeAngle/lightDef.spot.outerConeAngle;lightNode.target.position.set(0,0,-1);lightNode.add(lightNode.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+lightDef.type);}lightNode.position.set(0,0,0);lightNode.decay=2;assignExtrasToUserData(lightNode,lightDef);if(lightDef.intensity!==undefined)lightNode.intensity=lightDef.intensity;lightNode.name=parser.createUniqueName(lightDef.name||"light_"+lightIndex);dependency=Promise.resolve(lightNode);parser.cache.add(cacheKey,dependency);return dependency}getDependency(type,index){if(type!=="light")return;return this._loadLight(index)}createNodeAttachment(nodeIndex){const self=this;const parser=this.parser;const json=parser.json;const nodeDef=json.nodes[nodeIndex];const lightDef=nodeDef.extensions&&nodeDef.extensions[this.name]||{};const lightIndex=lightDef.light;if(lightIndex===undefined)return null;return this._loadLight(lightIndex).then(function(light){return parser._getNodeRef(self.cache,lightIndex,light)})}}class GLTFMaterialsUnlitExtension{constructor(){this.name=EXTENSIONS.KHR_MATERIALS_UNLIT}getMaterialType(){return MeshBasicMaterial}extendParams(materialParams,materialDef,parser){const pending=[];materialParams.color=new Color(1,1,1);materialParams.opacity=1;const metallicRoughness=materialDef.pbrMetallicRoughness;if(metallicRoughness){if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,sRGBEncoding))}}return Promise.all(pending)}}class GLTFMaterialsEmissiveStrengthExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const emissiveStrength=materialDef.extensions[this.name].emissiveStrength;if(emissiveStrength!==undefined){materialParams.emissiveIntensity=emissiveStrength}return Promise.resolve()}}class GLTFMaterialsClearcoatExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_CLEARCOAT}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.clearcoatFactor!==undefined){materialParams.clearcoat=extension.clearcoatFactor}if(extension.clearcoatTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatMap",extension.clearcoatTexture))}if(extension.clearcoatRoughnessFactor!==undefined){materialParams.clearcoatRoughness=extension.clearcoatRoughnessFactor}if(extension.clearcoatRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatRoughnessMap",extension.clearcoatRoughnessTexture))}if(extension.clearcoatNormalTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatNormalMap",extension.clearcoatNormalTexture));if(extension.clearcoatNormalTexture.scale!==undefined){const scale=extension.clearcoatNormalTexture.scale;materialParams.clearcoatNormalScale=new Vector2(scale,scale)}}return Promise.all(pending)}}class GLTFMaterialsIridescenceExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_IRIDESCENCE}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.iridescenceFactor!==undefined){materialParams.iridescence=extension.iridescenceFactor}if(extension.iridescenceTexture!==undefined){pending.push(parser.assignTexture(materialParams,"iridescenceMap",extension.iridescenceTexture))}if(extension.iridescenceIor!==undefined){materialParams.iridescenceIOR=extension.iridescenceIor}if(materialParams.iridescenceThicknessRange===undefined){materialParams.iridescenceThicknessRange=[100,400]}if(extension.iridescenceThicknessMinimum!==undefined){materialParams.iridescenceThicknessRange[0]=extension.iridescenceThicknessMinimum}if(extension.iridescenceThicknessMaximum!==undefined){materialParams.iridescenceThicknessRange[1]=extension.iridescenceThicknessMaximum}if(extension.iridescenceThicknessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"iridescenceThicknessMap",extension.iridescenceThicknessTexture))}return Promise.all(pending)}}class GLTFMaterialsSheenExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_SHEEN}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];materialParams.sheenColor=new Color(0,0,0);materialParams.sheenRoughness=0;materialParams.sheen=1;const extension=materialDef.extensions[this.name];if(extension.sheenColorFactor!==undefined){materialParams.sheenColor.fromArray(extension.sheenColorFactor)}if(extension.sheenRoughnessFactor!==undefined){materialParams.sheenRoughness=extension.sheenRoughnessFactor}if(extension.sheenColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"sheenColorMap",extension.sheenColorTexture,sRGBEncoding))}if(extension.sheenRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"sheenRoughnessMap",extension.sheenRoughnessTexture))}return Promise.all(pending)}}class GLTFMaterialsTransmissionExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_TRANSMISSION}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.transmissionFactor!==undefined){materialParams.transmission=extension.transmissionFactor}if(extension.transmissionTexture!==undefined){pending.push(parser.assignTexture(materialParams,"transmissionMap",extension.transmissionTexture))}return Promise.all(pending)}}class GLTFMaterialsVolumeExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_VOLUME}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];materialParams.thickness=extension.thicknessFactor!==undefined?extension.thicknessFactor:0;if(extension.thicknessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"thicknessMap",extension.thicknessTexture))}materialParams.attenuationDistance=extension.attenuationDistance||Infinity;const colorArray=extension.attenuationColor||[1,1,1];materialParams.attenuationColor=new Color(colorArray[0],colorArray[1],colorArray[2]);return Promise.all(pending)}}class GLTFMaterialsIorExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_IOR}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const extension=materialDef.extensions[this.name];materialParams.ior=extension.ior!==undefined?extension.ior:1.5;return Promise.resolve()}}class GLTFMaterialsSpecularExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_SPECULAR}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];materialParams.specularIntensity=extension.specularFactor!==undefined?extension.specularFactor:1;if(extension.specularTexture!==undefined){pending.push(parser.assignTexture(materialParams,"specularIntensityMap",extension.specularTexture))}const colorArray=extension.specularColorFactor||[1,1,1];materialParams.specularColor=new Color(colorArray[0],colorArray[1],colorArray[2]);if(extension.specularColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"specularColorMap",extension.specularColorTexture,sRGBEncoding))}return Promise.all(pending)}}class GLTFTextureBasisUExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_TEXTURE_BASISU}loadTexture(textureIndex){const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[this.name]){return null}const extension=textureDef.extensions[this.name];const loader=parser.options.ktx2Loader;if(!loader){if(json.extensionsRequired&&json.extensionsRequired.indexOf(this.name)>=0){throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures")}else{return null}}return parser.loadTextureImage(textureIndex,extension.source,loader)}}class GLTFTextureWebPExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_WEBP;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then(function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,extension.source,loader);if(json.extensionsRequired&&json.extensionsRequired.indexOf(name)>=0){throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.")}return parser.loadTexture(textureIndex)})}detectSupport(){if(!this.isSupported){this.isSupported=new Promise(function(resolve){const image=new Image;image.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";image.onload=image.onerror=function(){resolve(image.height===1)}})}return this.isSupported}}class GLTFTextureAVIFExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_AVIF;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then(function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,extension.source,loader);if(json.extensionsRequired&&json.extensionsRequired.indexOf(name)>=0){throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.")}return parser.loadTexture(textureIndex)})}detectSupport(){if(!this.isSupported){this.isSupported=new Promise(function(resolve){const image=new Image;image.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=";image.onload=image.onerror=function(){resolve(image.height===1)}})}return this.isSupported}}class GLTFMeshoptCompression{constructor(parser){this.name=EXTENSIONS.EXT_MESHOPT_COMPRESSION;this.parser=parser}loadBufferView(index){const json=this.parser.json;const bufferView=json.bufferViews[index];if(bufferView.extensions&&bufferView.extensions[this.name]){const extensionDef=bufferView.extensions[this.name];const buffer=this.parser.getDependency("buffer",extensionDef.buffer);const decoder=this.parser.options.meshoptDecoder;if(!decoder||!decoder.supported){if(json.extensionsRequired&&json.extensionsRequired.indexOf(this.name)>=0){throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files")}else{return null}}return buffer.then(function(res){const byteOffset=extensionDef.byteOffset||0;const byteLength=extensionDef.byteLength||0;const count=extensionDef.count;const stride=extensionDef.byteStride;const source=new Uint8Array(res,byteOffset,byteLength);if(decoder.decodeGltfBufferAsync){return decoder.decodeGltfBufferAsync(count,stride,source,extensionDef.mode,extensionDef.filter).then(function(res){return res.buffer})}else{return decoder.ready.then(function(){const result=new ArrayBuffer(count*stride);decoder.decodeGltfBuffer(new Uint8Array(result),count,stride,source,extensionDef.mode,extensionDef.filter);return result})}})}else{return null}}}class GLTFMeshGpuInstancing{constructor(parser){this.name=EXTENSIONS.EXT_MESH_GPU_INSTANCING;this.parser=parser}createNodeMesh(nodeIndex){const json=this.parser.json;const nodeDef=json.nodes[nodeIndex];if(!nodeDef.extensions||!nodeDef.extensions[this.name]||nodeDef.mesh===undefined){return null}const meshDef=json.meshes[nodeDef.mesh];for(const primitive of meshDef.primitives){if(primitive.mode!==WEBGL_CONSTANTS.TRIANGLES&&primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_STRIP&&primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_FAN&&primitive.mode!==undefined){return null}}const extensionDef=nodeDef.extensions[this.name];const attributesDef=extensionDef.attributes;const pending=[];const attributes={};for(const key in attributesDef){pending.push(this.parser.getDependency("accessor",attributesDef[key]).then(accessor=>{attributes[key]=accessor;return attributes[key]}))}if(pending.length<1){return null}pending.push(this.parser.createNodeMesh(nodeIndex));return Promise.all(pending).then(results=>{const nodeObject=results.pop();const meshes=nodeObject.isGroup?nodeObject.children:[nodeObject];const count=results[0].count;const instancedMeshes=[];for(const mesh of meshes){const m=new Matrix4;const p=new Vector3;const q=new Quaternion;const s=new Vector3(1,1,1);const instancedMesh=new InstancedMesh(mesh.geometry,mesh.material,count);for(let i=0;i<count;i++){if(attributes.TRANSLATION){p.fromBufferAttribute(attributes.TRANSLATION,i)}if(attributes.ROTATION){q.fromBufferAttribute(attributes.ROTATION,i)}if(attributes.SCALE){s.fromBufferAttribute(attributes.SCALE,i)}instancedMesh.setMatrixAt(i,m.compose(p,q,s))}for(const attributeName in attributes){if(attributeName!=="TRANSLATION"&&attributeName!=="ROTATION"&&attributeName!=="SCALE"){mesh.geometry.setAttribute(attributeName,attributes[attributeName])}}Object3D.prototype.copy.call(instancedMesh,mesh);this.parser.assignFinalMaterial(instancedMesh);instancedMeshes.push(instancedMesh)}if(nodeObject.isGroup){nodeObject.clear();nodeObject.add(...instancedMeshes);return nodeObject}return instancedMeshes[0]})}}const BINARY_EXTENSION_HEADER_MAGIC="glTF";const BINARY_EXTENSION_HEADER_LENGTH=12;const BINARY_EXTENSION_CHUNK_TYPES={JSON:1313821514,BIN:5130562};class GLTFBinaryExtension{constructor(data){this.name=EXTENSIONS.KHR_BINARY_GLTF;this.content=null;this.body=null;const headerView=new DataView(data,0,BINARY_EXTENSION_HEADER_LENGTH);const textDecoder=new TextDecoder;this.header={magic:textDecoder.decode(new Uint8Array(data.slice(0,4))),version:headerView.getUint32(4,true),length:headerView.getUint32(8,true)};if(this.header.magic!==BINARY_EXTENSION_HEADER_MAGIC){throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.")}else if(this.header.version<2){throw new Error("THREE.GLTFLoader: Legacy binary file detected.")}const chunkContentsLength=this.header.length-BINARY_EXTENSION_HEADER_LENGTH;const chunkView=new DataView(data,BINARY_EXTENSION_HEADER_LENGTH);let chunkIndex=0;while(chunkIndex<chunkContentsLength){const chunkLength=chunkView.getUint32(chunkIndex,true);chunkIndex+=4;const chunkType=chunkView.getUint32(chunkIndex,true);chunkIndex+=4;if(chunkType===BINARY_EXTENSION_CHUNK_TYPES.JSON){const contentArray=new Uint8Array(data,BINARY_EXTENSION_HEADER_LENGTH+chunkIndex,chunkLength);this.content=textDecoder.decode(contentArray)}else if(chunkType===BINARY_EXTENSION_CHUNK_TYPES.BIN){const byteOffset=BINARY_EXTENSION_HEADER_LENGTH+chunkIndex;this.body=data.slice(byteOffset,byteOffset+chunkLength)}chunkIndex+=chunkLength}if(this.content===null){throw new Error("THREE.GLTFLoader: JSON content not found.")}}}class GLTFDracoMeshCompressionExtension{constructor(json,dracoLoader){if(!dracoLoader){throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.")}this.name=EXTENSIONS.KHR_DRACO_MESH_COMPRESSION;this.json=json;this.dracoLoader=dracoLoader;this.dracoLoader.preload()}decodePrimitive(primitive,parser){const json=this.json;const dracoLoader=this.dracoLoader;const bufferViewIndex=primitive.extensions[this.name].bufferView;const gltfAttributeMap=primitive.extensions[this.name].attributes;const threeAttributeMap={};const attributeNormalizedMap={};const attributeTypeMap={};for(const attributeName in gltfAttributeMap){const threeAttributeName=ATTRIBUTES[attributeName]||attributeName.toLowerCase();threeAttributeMap[threeAttributeName]=gltfAttributeMap[attributeName]}for(const attributeName in primitive.attributes){const threeAttributeName=ATTRIBUTES[attributeName]||attributeName.toLowerCase();if(gltfAttributeMap[attributeName]!==undefined){const accessorDef=json.accessors[primitive.attributes[attributeName]];const componentType=WEBGL_COMPONENT_TYPES[accessorDef.componentType];attributeTypeMap[threeAttributeName]=componentType.name;attributeNormalizedMap[threeAttributeName]=accessorDef.normalized===true}}return parser.getDependency("bufferView",bufferViewIndex).then(function(bufferView){return new Promise(function(resolve){dracoLoader.decodeDracoFile(bufferView,function(geometry){for(const attributeName in geometry.attributes){const attribute=geometry.attributes[attributeName];const normalized=attributeNormalizedMap[attributeName];if(normalized!==undefined)attribute.normalized=normalized}resolve(geometry)},threeAttributeMap,attributeTypeMap)})})}}class GLTFTextureTransformExtension{constructor(){this.name=EXTENSIONS.KHR_TEXTURE_TRANSFORM}extendTexture(texture,transform){if((transform.texCoord===undefined||transform.texCoord===texture.channel)&&transform.offset===undefined&&transform.rotation===undefined&&transform.scale===undefined){return texture}texture=texture.clone();if(transform.texCoord!==undefined){texture.channel=transform.texCoord}if(transform.offset!==undefined){texture.offset.fromArray(transform.offset)}if(transform.rotation!==undefined){texture.rotation=transform.rotation}if(transform.scale!==undefined){texture.repeat.fromArray(transform.scale)}texture.needsUpdate=true;return texture}}class GLTFMeshQuantizationExtension{constructor(){this.name=EXTENSIONS.KHR_MESH_QUANTIZATION}}class GLTFCubicSplineInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}copySampleValue_(index){const result=this.resultBuffer,values=this.sampleValues,valueSize=this.valueSize,offset=index*valueSize*3+valueSize;for(let i=0;i!==valueSize;i++){result[i]=values[offset+i]}return result}interpolate_(i1,t0,t,t1){const result=this.resultBuffer;const values=this.sampleValues;const stride=this.valueSize;const stride2=stride*2;const stride3=stride*3;const td=t1-t0;const p=(t-t0)/td;const pp=p*p;const ppp=pp*p;const offset1=i1*stride3;const offset0=offset1-stride3;const s2=-2*ppp+3*pp;const s3=ppp-pp;const s0=1-s2;const s1=s3-pp+p;for(let i=0;i!==stride;i++){const p0=values[offset0+i+stride];const m0=values[offset0+i+stride2]*td;const p1=values[offset1+i+stride];const m1=values[offset1+i]*td;result[i]=s0*p0+s1*m0+s2*p1+s3*m1}return result}}const _q=new Quaternion;class GLTFCubicSplineQuaternionInterpolant extends GLTFCubicSplineInterpolant{interpolate_(i1,t0,t,t1){const result=super.interpolate_(i1,t0,t,t1);_q.fromArray(result).normalize().toArray(result);return result}}const WEBGL_CONSTANTS={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123};const WEBGL_COMPONENT_TYPES={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};const WEBGL_FILTERS={9728:NearestFilter,9729:LinearFilter,9984:NearestMipmapNearestFilter,9985:LinearMipmapNearestFilter,9986:NearestMipmapLinearFilter,9987:LinearMipmapLinearFilter};const WEBGL_WRAPPINGS={33071:ClampToEdgeWrapping,33648:MirroredRepeatWrapping,10497:RepeatWrapping};const WEBGL_TYPE_SIZES={"SCALAR":1,"VEC2":2,"VEC3":3,"VEC4":4,"MAT2":4,"MAT3":9,"MAT4":16};const ATTRIBUTES={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv2",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"};const PATH_PROPERTIES={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"};const INTERPOLATION={CUBICSPLINE:undefined,LINEAR:InterpolateLinear,STEP:InterpolateDiscrete};const ALPHA_MODES={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function createDefaultMaterial(cache){if(cache["DefaultMaterial"]===undefined){cache["DefaultMaterial"]=new MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:false,depthTest:true,side:FrontSide})}return cache["DefaultMaterial"]}function addUnknownExtensionsToUserData(knownExtensions,object,objectDef){for(const name in objectDef.extensions){if(knownExtensions[name]===undefined){object.userData.gltfExtensions=object.userData.gltfExtensions||{};object.userData.gltfExtensions[name]=objectDef.extensions[name]}}}function assignExtrasToUserData(object,gltfDef){if(gltfDef.extras!==undefined){if(typeof gltfDef.extras==="object"){Object.assign(object.userData,gltfDef.extras)}else{console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+gltfDef.extras)}}}function addMorphTargets(geometry,targets,parser){let hasMorphPosition=false;let hasMorphNormal=false;let hasMorphColor=false;for(let i=0,il=targets.length;i<il;i++){const target=targets[i];if(target.POSITION!==undefined)hasMorphPosition=true;if(target.NORMAL!==undefined)hasMorphNormal=true;if(target.COLOR_0!==undefined)hasMorphColor=true;if(hasMorphPosition&&hasMorphNormal&&hasMorphColor)break}if(!hasMorphPosition&&!hasMorphNormal&&!hasMorphColor)return Promise.resolve(geometry);const pendingPositionAccessors=[];const pendingNormalAccessors=[];const pendingColorAccessors=[];for(let i=0,il=targets.length;i<il;i++){const target=targets[i];if(hasMorphPosition){const pendingAccessor=target.POSITION!==undefined?parser.getDependency("accessor",target.POSITION):geometry.attributes.position;pendingPositionAccessors.push(pendingAccessor)}if(hasMorphNormal){const pendingAccessor=target.NORMAL!==undefined?parser.getDependency("accessor",target.NORMAL):geometry.attributes.normal;pendingNormalAccessors.push(pendingAccessor)}if(hasMorphColor){const pendingAccessor=target.COLOR_0!==undefined?parser.getDependency("accessor",target.COLOR_0):geometry.attributes.color;pendingColorAccessors.push(pendingAccessor)}}return Promise.all([Promise.all(pendingPositionAccessors),Promise.all(pendingNormalAccessors),Promise.all(pendingColorAccessors)]).then(function(accessors){const morphPositions=accessors[0];const morphNormals=accessors[1];const morphColors=accessors[2];if(hasMorphPosition)geometry.morphAttributes.position=morphPositions;if(hasMorphNormal)geometry.morphAttributes.normal=morphNormals;if(hasMorphColor)geometry.morphAttributes.color=morphColors;geometry.morphTargetsRelative=true;return geometry})}function updateMorphTargets(mesh,meshDef){mesh.updateMorphTargets();if(meshDef.weights!==undefined){for(let i=0,il=meshDef.weights.length;i<il;i++){mesh.morphTargetInfluences[i]=meshDef.weights[i]}}if(meshDef.extras&&Array.isArray(meshDef.extras.targetNames)){const targetNames=meshDef.extras.targetNames;if(mesh.morphTargetInfluences.length===targetNames.length){mesh.morphTargetDictionary={};for(let i=0,il=targetNames.length;i<il;i++){mesh.morphTargetDictionary[targetNames[i]]=i}}else{console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}}function createPrimitiveKey(primitiveDef){const dracoExtension=primitiveDef.extensions&&primitiveDef.extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION];let geometryKey;if(dracoExtension){geometryKey="draco:"+dracoExtension.bufferView+":"+dracoExtension.indices+":"+createAttributesKey(dracoExtension.attributes)}else{geometryKey=primitiveDef.indices+":"+createAttributesKey(primitiveDef.attributes)+":"+primitiveDef.mode}return geometryKey}function createAttributesKey(attributes){let attributesKey="";const keys=Object.keys(attributes).sort();for(let i=0,il=keys.length;i<il;i++){attributesKey+=keys[i]+":"+attributes[keys[i]]+";"}return attributesKey}function getNormalizedComponentScale(constructor){switch(constructor){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.");}}function getImageURIMimeType(uri){if(uri.search(/\.jpe?g($|\?)/i)>0||uri.search(/^data\:image\/jpeg/)===0)return"image/jpeg";if(uri.search(/\.webp($|\?)/i)>0||uri.search(/^data\:image\/webp/)===0)return"image/webp";return"image/png"}const _identityMatrix=new Matrix4;class GLTFParser{constructor(json={},options={}){this.json=json;this.extensions={};this.plugins={};this.options=options;this.cache=new GLTFRegistry;this.associations=new Map;this.primitiveCache={};this.nodeCache={};this.meshCache={refs:{},uses:{}};this.cameraCache={refs:{},uses:{}};this.lightCache={refs:{},uses:{}};this.sourceCache={};this.textureCache={};this.nodeNamesUsed={};let isSafari=false;let isFirefox=false;let firefoxVersion=-1;if(typeof navigator!=="undefined"){isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===true;isFirefox=navigator.userAgent.indexOf("Firefox")>-1;firefoxVersion=isFirefox?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1}if(typeof createImageBitmap==="undefined"||isSafari||isFirefox&&firefoxVersion<98){this.textureLoader=new TextureLoader(this.options.manager)}else{this.textureLoader=new ImageBitmapLoader(this.options.manager)}this.textureLoader.setCrossOrigin(this.options.crossOrigin);this.textureLoader.setRequestHeader(this.options.requestHeader);this.fileLoader=new FileLoader(this.options.manager);this.fileLoader.setResponseType("arraybuffer");if(this.options.crossOrigin==="use-credentials"){this.fileLoader.setWithCredentials(true)}}setExtensions(extensions){this.extensions=extensions}setPlugins(plugins){this.plugins=plugins}parse(onLoad,onError){const parser=this;const json=this.json;const extensions=this.extensions;this.cache.removeAll();this.nodeCache={};this._invokeAll(function(ext){return ext._markDefs&&ext._markDefs()});Promise.all(this._invokeAll(function(ext){return ext.beforeRoot&&ext.beforeRoot()})).then(function(){return Promise.all([parser.getDependencies("scene"),parser.getDependencies("animation"),parser.getDependencies("camera")])}).then(function(dependencies){const result={scene:dependencies[0][json.scene||0],scenes:dependencies[0],animations:dependencies[1],cameras:dependencies[2],asset:json.asset,parser:parser,userData:{}};addUnknownExtensionsToUserData(extensions,result,json);assignExtrasToUserData(result,json);Promise.all(parser._invokeAll(function(ext){return ext.afterRoot&&ext.afterRoot(result)})).then(function(){onLoad(result)})}).catch(onError)}_markDefs(){const nodeDefs=this.json.nodes||[];const skinDefs=this.json.skins||[];const meshDefs=this.json.meshes||[];for(let skinIndex=0,skinLength=skinDefs.length;skinIndex<skinLength;skinIndex++){const joints=skinDefs[skinIndex].joints;for(let i=0,il=joints.length;i<il;i++){nodeDefs[joints[i]].isBone=true}}for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex<nodeLength;nodeIndex++){const nodeDef=nodeDefs[nodeIndex];if(nodeDef.mesh!==undefined){this._addNodeRef(this.meshCache,nodeDef.mesh);if(nodeDef.skin!==undefined){meshDefs[nodeDef.mesh].isSkinnedMesh=true}}if(nodeDef.camera!==undefined){this._addNodeRef(this.cameraCache,nodeDef.camera)}}}_addNodeRef(cache,index){if(index===undefined)return;if(cache.refs[index]===undefined){cache.refs[index]=cache.uses[index]=0}cache.refs[index]++}_getNodeRef(cache,index,object){if(cache.refs[index]<=1)return object;const ref=object.clone();const updateMappings=(original,clone)=>{const mappings=this.associations.get(original);if(mappings!=null){this.associations.set(clone,mappings)}for(const[i,child]of original.children.entries()){updateMappings(child,clone.children[i])}};updateMappings(object,ref);ref.name+="_instance_"+cache.uses[index]++;return ref}_invokeOne(func){const extensions=Object.values(this.plugins);extensions.push(this);for(let i=0;i<extensions.length;i++){const result=func(extensions[i]);if(result)return result}return null}_invokeAll(func){const extensions=Object.values(this.plugins);extensions.unshift(this);const pending=[];for(let i=0;i<extensions.length;i++){const result=func(extensions[i]);if(result)pending.push(result)}return pending}getDependency(type,index){const cacheKey=type+":"+index;let dependency=this.cache.get(cacheKey);if(!dependency){switch(type){case"scene":dependency=this.loadScene(index);break;case"node":dependency=this._invokeOne(function(ext){return ext.loadNode&&ext.loadNode(index)});break;case"mesh":dependency=this._invokeOne(function(ext){return ext.loadMesh&&ext.loadMesh(index)});break;case"accessor":dependency=this.loadAccessor(index);break;case"bufferView":dependency=this._invokeOne(function(ext){return ext.loadBufferView&&ext.loadBufferView(index)});break;case"buffer":dependency=this.loadBuffer(index);break;case"material":dependency=this._invokeOne(function(ext){return ext.loadMaterial&&ext.loadMaterial(index)});break;case"texture":dependency=this._invokeOne(function(ext){return ext.loadTexture&&ext.loadTexture(index)});break;case"skin":dependency=this.loadSkin(index);break;case"animation":dependency=this._invokeOne(function(ext){return ext.loadAnimation&&ext.loadAnimation(index)});break;case"camera":dependency=this.loadCamera(index);break;default:dependency=this._invokeOne(function(ext){return ext!=this&&ext.getDependency&&ext.getDependency(type,index)});if(!dependency){throw new Error("Unknown type: "+type)}break;}this.cache.add(cacheKey,dependency)}return dependency}getDependencies(type){let dependencies=this.cache.get(type);if(!dependencies){const parser=this;const defs=this.json[type+(type==="mesh"?"es":"s")]||[];dependencies=Promise.all(defs.map(function(def,index){return parser.getDependency(type,index)}));this.cache.add(type,dependencies)}return dependencies}loadBuffer(bufferIndex){const bufferDef=this.json.buffers[bufferIndex];const loader=this.fileLoader;if(bufferDef.type&&bufferDef.type!=="arraybuffer"){throw new Error("THREE.GLTFLoader: "+bufferDef.type+" buffer type is not supported.")}if(bufferDef.uri===undefined&&bufferIndex===0){return Promise.resolve(this.extensions[EXTENSIONS.KHR_BINARY_GLTF].body)}const options=this.options;return new Promise(function(resolve,reject){loader.load(LoaderUtils.resolveURL(bufferDef.uri,options.path),resolve,undefined,function(){reject(new Error("THREE.GLTFLoader: Failed to load buffer \""+bufferDef.uri+"\"."))})})}loadBufferView(bufferViewIndex){const bufferViewDef=this.json.bufferViews[bufferViewIndex];return this.getDependency("buffer",bufferViewDef.buffer).then(function(buffer){const byteLength=bufferViewDef.byteLength||0;const byteOffset=bufferViewDef.byteOffset||0;return buffer.slice(byteOffset,byteOffset+byteLength)})}loadAccessor(accessorIndex){const parser=this;const json=this.json;const accessorDef=this.json.accessors[accessorIndex];if(accessorDef.bufferView===undefined&&accessorDef.sparse===undefined){const itemSize=WEBGL_TYPE_SIZES[accessorDef.type];const TypedArray=WEBGL_COMPONENT_TYPES[accessorDef.componentType];const normalized=accessorDef.normalized===true;const array=new TypedArray(accessorDef.count*itemSize);return Promise.resolve(new BufferAttribute(array,itemSize,normalized))}const pendingBufferViews=[];if(accessorDef.bufferView!==undefined){pendingBufferViews.push(this.getDependency("bufferView",accessorDef.bufferView))}else{pendingBufferViews.push(null)}if(accessorDef.sparse!==undefined){pendingBufferViews.push(this.getDependency("bufferView",accessorDef.sparse.indices.bufferView));pendingBufferViews.push(this.getDependency("bufferView",accessorDef.sparse.values.bufferView))}return Promise.all(pendingBufferViews).then(function(bufferViews){const bufferView=bufferViews[0];const itemSize=WEBGL_TYPE_SIZES[accessorDef.type];const TypedArray=WEBGL_COMPONENT_TYPES[accessorDef.componentType];const elementBytes=TypedArray.BYTES_PER_ELEMENT;const itemBytes=elementBytes*itemSize;const byteOffset=accessorDef.byteOffset||0;const byteStride=accessorDef.bufferView!==undefined?json.bufferViews[accessorDef.bufferView].byteStride:undefined;const normalized=accessorDef.normalized===true;let array,bufferAttribute;if(byteStride&&byteStride!==itemBytes){const ibSlice=Math.floor(byteOffset/byteStride);const ibCacheKey="InterleavedBuffer:"+accessorDef.bufferView+":"+accessorDef.componentType+":"+ibSlice+":"+accessorDef.count;let ib=parser.cache.get(ibCacheKey);if(!ib){array=new TypedArray(bufferView,ibSlice*byteStride,accessorDef.count*byteStride/elementBytes);ib=new InterleavedBuffer(array,byteStride/elementBytes);parser.cache.add(ibCacheKey,ib)}bufferAttribute=new InterleavedBufferAttribute(ib,itemSize,byteOffset%byteStride/elementBytes,normalized)}else{if(bufferView===null){array=new TypedArray(accessorDef.count*itemSize)}else{array=new TypedArray(bufferView,byteOffset,accessorDef.count*itemSize)}bufferAttribute=new BufferAttribute(array,itemSize,normalized)}if(accessorDef.sparse!==undefined){const itemSizeIndices=WEBGL_TYPE_SIZES.SCALAR;const TypedArrayIndices=WEBGL_COMPONENT_TYPES[accessorDef.sparse.indices.componentType];const byteOffsetIndices=accessorDef.sparse.indices.byteOffset||0;const byteOffsetValues=accessorDef.sparse.values.byteOffset||0;const sparseIndices=new TypedArrayIndices(bufferViews[1],byteOffsetIndices,accessorDef.sparse.count*itemSizeIndices);const sparseValues=new TypedArray(bufferViews[2],byteOffsetValues,accessorDef.sparse.count*itemSize);if(bufferView!==null){bufferAttribute=new BufferAttribute(bufferAttribute.array.slice(),bufferAttribute.itemSize,bufferAttribute.normalized)}for(let i=0,il=sparseIndices.length;i<il;i++){const index=sparseIndices[i];bufferAttribute.setX(index,sparseValues[i*itemSize]);if(itemSize>=2)bufferAttribute.setY(index,sparseValues[i*itemSize+1]);if(itemSize>=3)bufferAttribute.setZ(index,sparseValues[i*itemSize+2]);if(itemSize>=4)bufferAttribute.setW(index,sparseValues[i*itemSize+3]);if(itemSize>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return bufferAttribute})}loadTexture(textureIndex){const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const sourceIndex=textureDef.source;const sourceDef=json.images[sourceIndex];let loader=this.textureLoader;if(sourceDef.uri){const handler=options.manager.getHandler(sourceDef.uri);if(handler!==null)loader=handler}return this.loadTextureImage(textureIndex,sourceIndex,loader)}loadTextureImage(textureIndex,sourceIndex,loader){const parser=this;const json=this.json;const textureDef=json.textures[textureIndex];const sourceDef=json.images[sourceIndex];const cacheKey=(sourceDef.uri||sourceDef.bufferView)+":"+textureDef.sampler;if(this.textureCache[cacheKey]){return this.textureCache[cacheKey]}const promise=this.loadImageSource(sourceIndex,loader).then(function(texture){texture.flipY=false;texture.name=textureDef.name||sourceDef.name||"";if(texture.name===""&&typeof sourceDef.uri==="string"&&sourceDef.uri.startsWith("data:image/")===false){texture.name=sourceDef.uri}const samplers=json.samplers||{};const sampler=samplers[textureDef.sampler]||{};texture.magFilter=WEBGL_FILTERS[sampler.magFilter]||LinearFilter;texture.minFilter=WEBGL_FILTERS[sampler.minFilter]||LinearMipmapLinearFilter;texture.wrapS=WEBGL_WRAPPINGS[sampler.wrapS]||RepeatWrapping;texture.wrapT=WEBGL_WRAPPINGS[sampler.wrapT]||RepeatWrapping;parser.associations.set(texture,{textures:textureIndex});return texture}).catch(function(){return null});this.textureCache[cacheKey]=promise;return promise}loadImageSource(sourceIndex,loader){const parser=this;const json=this.json;const options=this.options;if(this.sourceCache[sourceIndex]!==undefined){return this.sourceCache[sourceIndex].then(texture=>texture.clone())}const sourceDef=json.images[sourceIndex];const URL=self.URL||self.webkitURL;let sourceURI=sourceDef.uri||"";let isObjectURL=false;if(sourceDef.bufferView!==undefined){sourceURI=parser.getDependency("bufferView",sourceDef.bufferView).then(function(bufferView){isObjectURL=true;const blob=new Blob([bufferView],{type:sourceDef.mimeType});sourceURI=URL.createObjectURL(blob);return sourceURI})}else if(sourceDef.uri===undefined){throw new Error("THREE.GLTFLoader: Image "+sourceIndex+" is missing URI and bufferView")}const promise=Promise.resolve(sourceURI).then(function(sourceURI){return new Promise(function(resolve,reject){let onLoad=resolve;if(loader.isImageBitmapLoader===true){onLoad=function(imageBitmap){const texture=new Texture(imageBitmap);texture.needsUpdate=true;resolve(texture)}}loader.load(LoaderUtils.resolveURL(sourceURI,options.path),onLoad,undefined,reject)})}).then(function(texture){if(isObjectURL===true){URL.revokeObjectURL(sourceURI)}texture.userData.mimeType=sourceDef.mimeType||getImageURIMimeType(sourceDef.uri);return texture}).catch(function(error){console.error("THREE.GLTFLoader: Couldn't load texture",sourceURI);throw error});this.sourceCache[sourceIndex]=promise;return promise}assignTexture(materialParams,mapName,mapDef,encoding){const parser=this;return this.getDependency("texture",mapDef.index).then(function(texture){if(!texture)return null;if(mapDef.texCoord!==undefined&&mapDef.texCoord>0){texture=texture.clone();texture.channel=mapDef.texCoord}if(parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]){const transform=mapDef.extensions!==undefined?mapDef.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]:undefined;if(transform){const gltfReference=parser.associations.get(texture);texture=parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM].extendTexture(texture,transform);parser.associations.set(texture,gltfReference)}}if(encoding!==undefined){texture.encoding=encoding}materialParams[mapName]=texture;return texture})}assignFinalMaterial(mesh){const geometry=mesh.geometry;let material=mesh.material;const useDerivativeTangents=geometry.attributes.tangent===undefined;const useVertexColors=geometry.attributes.color!==undefined;const useFlatShading=geometry.attributes.normal===undefined;if(mesh.isPoints){const cacheKey="PointsMaterial:"+material.uuid;let pointsMaterial=this.cache.get(cacheKey);if(!pointsMaterial){pointsMaterial=new PointsMaterial;Material.prototype.copy.call(pointsMaterial,material);pointsMaterial.color.copy(material.color);pointsMaterial.map=material.map;pointsMaterial.sizeAttenuation=false;this.cache.add(cacheKey,pointsMaterial)}material=pointsMaterial}else if(mesh.isLine){const cacheKey="LineBasicMaterial:"+material.uuid;let lineMaterial=this.cache.get(cacheKey);if(!lineMaterial){lineMaterial=new LineBasicMaterial;Material.prototype.copy.call(lineMaterial,material);lineMaterial.color.copy(material.color);lineMaterial.map=material.map;this.cache.add(cacheKey,lineMaterial)}material=lineMaterial}if(useDerivativeTangents||useVertexColors||useFlatShading){let cacheKey="ClonedMaterial:"+material.uuid+":";if(useDerivativeTangents)cacheKey+="derivative-tangents:";if(useVertexColors)cacheKey+="vertex-colors:";if(useFlatShading)cacheKey+="flat-shading:";let cachedMaterial=this.cache.get(cacheKey);if(!cachedMaterial){cachedMaterial=material.clone();if(useVertexColors)cachedMaterial.vertexColors=true;if(useFlatShading)cachedMaterial.flatShading=true;if(useDerivativeTangents){if(cachedMaterial.normalScale)cachedMaterial.normalScale.y*=-1;if(cachedMaterial.clearcoatNormalScale)cachedMaterial.clearcoatNormalScale.y*=-1}this.cache.add(cacheKey,cachedMaterial);this.associations.set(cachedMaterial,this.associations.get(material))}material=cachedMaterial}mesh.material=material}getMaterialType(){return MeshStandardMaterial}loadMaterial(materialIndex){const parser=this;const json=this.json;const extensions=this.extensions;const materialDef=json.materials[materialIndex];let materialType;const materialParams={};const materialExtensions=materialDef.extensions||{};const pending=[];if(materialExtensions[EXTENSIONS.KHR_MATERIALS_UNLIT]){const kmuExtension=extensions[EXTENSIONS.KHR_MATERIALS_UNLIT];materialType=kmuExtension.getMaterialType();pending.push(kmuExtension.extendParams(materialParams,materialDef,parser))}else{const metallicRoughness=materialDef.pbrMetallicRoughness||{};materialParams.color=new Color(1,1,1);materialParams.opacity=1;if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,sRGBEncoding))}materialParams.metalness=metallicRoughness.metallicFactor!==undefined?metallicRoughness.metallicFactor:1;materialParams.roughness=metallicRoughness.roughnessFactor!==undefined?metallicRoughness.roughnessFactor:1;if(metallicRoughness.metallicRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"metalnessMap",metallicRoughness.metallicRoughnessTexture));pending.push(parser.assignTexture(materialParams,"roughnessMap",metallicRoughness.metallicRoughnessTexture))}materialType=this._invokeOne(function(ext){return ext.getMaterialType&&ext.getMaterialType(materialIndex)});pending.push(Promise.all(this._invokeAll(function(ext){return ext.extendMaterialParams&&ext.extendMaterialParams(materialIndex,materialParams)})))}if(materialDef.doubleSided===true){materialParams.side=DoubleSide}const alphaMode=materialDef.alphaMode||ALPHA_MODES.OPAQUE;if(alphaMode===ALPHA_MODES.BLEND){materialParams.transparent=true;materialParams.depthWrite=false}else{materialParams.transparent=false;if(alphaMode===ALPHA_MODES.MASK){materialParams.alphaTest=materialDef.alphaCutoff!==undefined?materialDef.alphaCutoff:0.5}}if(materialDef.normalTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"normalMap",materialDef.normalTexture));materialParams.normalScale=new Vector2(1,1);if(materialDef.normalTexture.scale!==undefined){const scale=materialDef.normalTexture.scale;materialParams.normalScale.set(scale,scale)}}if(materialDef.occlusionTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"aoMap",materialDef.occlusionTexture));if(materialDef.occlusionTexture.strength!==undefined){materialParams.aoMapIntensity=materialDef.occlusionTexture.strength}}if(materialDef.emissiveFactor!==undefined&&materialType!==MeshBasicMaterial){materialParams.emissive=new Color().fromArray(materialDef.emissiveFactor)}if(materialDef.emissiveTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"emissiveMap",materialDef.emissiveTexture,sRGBEncoding))}return Promise.all(pending).then(function(){const material=new materialType(materialParams);if(materialDef.name)material.name=materialDef.name;assignExtrasToUserData(material,materialDef);parser.associations.set(material,{materials:materialIndex});if(materialDef.extensions)addUnknownExtensionsToUserData(extensions,material,materialDef);return material})}createUniqueName(originalName){const sanitizedName=PropertyBinding.sanitizeNodeName(originalName||"");let name=sanitizedName;for(let i=1;this.nodeNamesUsed[name];++i){name=sanitizedName+"_"+i}this.nodeNamesUsed[name]=true;return name}loadGeometries(primitives){const parser=this;const extensions=this.extensions;const cache=this.primitiveCache;function createDracoPrimitive(primitive){return extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(primitive,parser).then(function(geometry){return addPrimitiveAttributes(geometry,primitive,parser)})}const pending=[];for(let i=0,il=primitives.length;i<il;i++){const primitive=primitives[i];const cacheKey=createPrimitiveKey(primitive);const cached=cache[cacheKey];if(cached){pending.push(cached.promise)}else{let geometryPromise;if(primitive.extensions&&primitive.extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION]){geometryPromise=createDracoPrimitive(primitive)}else{geometryPromise=addPrimitiveAttributes(new BufferGeometry,primitive,parser)}cache[cacheKey]={primitive:primitive,promise:geometryPromise};pending.push(geometryPromise)}}return Promise.all(pending)}loadMesh(meshIndex){const parser=this;const json=this.json;const extensions=this.extensions;const meshDef=json.meshes[meshIndex];const primitives=meshDef.primitives;const pending=[];for(let i=0,il=primitives.length;i<il;i++){const material=primitives[i].material===undefined?createDefaultMaterial(this.cache):this.getDependency("material",primitives[i].material);pending.push(material)}pending.push(parser.loadGeometries(primitives));return Promise.all(pending).then(function(results){const materials=results.slice(0,results.length-1);const geometries=results[results.length-1];const meshes=[];for(let i=0,il=geometries.length;i<il;i++){const geometry=geometries[i];const primitive=primitives[i];let mesh;const material=materials[i];if(primitive.mode===WEBGL_CONSTANTS.TRIANGLES||primitive.mode===WEBGL_CONSTANTS.TRIANGLE_STRIP||primitive.mode===WEBGL_CONSTANTS.TRIANGLE_FAN||primitive.mode===undefined){mesh=meshDef.isSkinnedMesh===true?new SkinnedMesh(geometry,material):new Mesh(geometry,material);if(mesh.isSkinnedMesh===true){mesh.normalizeSkinWeights()}if(primitive.mode===WEBGL_CONSTANTS.TRIANGLE_STRIP){mesh.geometry=toTrianglesDrawMode(mesh.geometry,TriangleStripDrawMode)}else if(primitive.mode===WEBGL_CONSTANTS.TRIANGLE_FAN){mesh.geometry=toTrianglesDrawMode(mesh.geometry,TriangleFanDrawMode)}}else if(primitive.mode===WEBGL_CONSTANTS.LINES){mesh=new LineSegments(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.LINE_STRIP){mesh=new Line(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.LINE_LOOP){mesh=new LineLoop(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.POINTS){mesh=new Points(geometry,material)}else{throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+primitive.mode)}if(Object.keys(mesh.geometry.morphAttributes).length>0){updateMorphTargets(mesh,meshDef)}mesh.name=parser.createUniqueName(meshDef.name||"mesh_"+meshIndex);assignExtrasToUserData(mesh,meshDef);if(primitive.extensions)addUnknownExtensionsToUserData(extensions,mesh,primitive);parser.assignFinalMaterial(mesh);meshes.push(mesh)}for(let i=0,il=meshes.length;i<il;i++){parser.associations.set(meshes[i],{meshes:meshIndex,primitives:i})}if(meshes.length===1){return meshes[0]}const group=new Group;parser.associations.set(group,{meshes:meshIndex});for(let i=0,il=meshes.length;i<il;i++){group.add(meshes[i])}return group})}loadCamera(cameraIndex){let camera;const cameraDef=this.json.cameras[cameraIndex];const params=cameraDef[cameraDef.type];if(!params){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}if(cameraDef.type==="perspective"){camera=new PerspectiveCamera(MathUtils.radToDeg(params.yfov),params.aspectRatio||1,params.znear||1,params.zfar||2e6)}else if(cameraDef.type==="orthographic"){camera=new OrthographicCamera(-params.xmag,params.xmag,params.ymag,-params.ymag,params.znear,params.zfar)}if(cameraDef.name)camera.name=this.createUniqueName(cameraDef.name);assignExtrasToUserData(camera,cameraDef);return Promise.resolve(camera)}loadSkin(skinIndex){const skinDef=this.json.skins[skinIndex];const pending=[];for(let i=0,il=skinDef.joints.length;i<il;i++){pending.push(this._loadNodeShallow(skinDef.joints[i]))}if(skinDef.inverseBindMatrices!==undefined){pending.push(this.getDependency("accessor",skinDef.inverseBindMatrices))}else{pending.push(null)}return Promise.all(pending).then(function(results){const inverseBindMatrices=results.pop();const jointNodes=results;const bones=[];const boneInverses=[];for(let i=0,il=jointNodes.length;i<il;i++){const jointNode=jointNodes[i];if(jointNode){bones.push(jointNode);const mat=new Matrix4;if(inverseBindMatrices!==null){mat.fromArray(inverseBindMatrices.array,i*16)}boneInverses.push(mat)}else{console.warn("THREE.GLTFLoader: Joint \"%s\" could not be found.",skinDef.joints[i])}}return new Skeleton(bones,boneInverses)})}loadAnimation(animationIndex){const json=this.json;const animationDef=json.animations[animationIndex];const animationName=animationDef.name?animationDef.name:"animation_"+animationIndex;const pendingNodes=[];const pendingInputAccessors=[];const pendingOutputAccessors=[];const pendingSamplers=[];const pendingTargets=[];for(let i=0,il=animationDef.channels.length;i<il;i++){const channel=animationDef.channels[i];const sampler=animationDef.samplers[channel.sampler];const target=channel.target;const name=target.node;const input=animationDef.parameters!==undefined?animationDef.parameters[sampler.input]:sampler.input;const output=animationDef.parameters!==undefined?animationDef.parameters[sampler.output]:sampler.output;if(target.node===undefined)continue;pendingNodes.push(this.getDependency("node",name));pendingInputAccessors.push(this.getDependency("accessor",input));pendingOutputAccessors.push(this.getDependency("accessor",output));pendingSamplers.push(sampler);pendingTargets.push(target)}return Promise.all([Promise.all(pendingNodes),Promise.all(pendingInputAccessors),Promise.all(pendingOutputAccessors),Promise.all(pendingSamplers),Promise.all(pendingTargets)]).then(function(dependencies){const nodes=dependencies[0];const inputAccessors=dependencies[1];const outputAccessors=dependencies[2];const samplers=dependencies[3];const targets=dependencies[4];const tracks=[];for(let i=0,il=nodes.length;i<il;i++){const node=nodes[i];const inputAccessor=inputAccessors[i];const outputAccessor=outputAccessors[i];const sampler=samplers[i];const target=targets[i];if(node===undefined)continue;node.updateMatrix();let TypedKeyframeTrack;switch(PATH_PROPERTIES[target.path]){case PATH_PROPERTIES.weights:TypedKeyframeTrack=NumberKeyframeTrack;break;case PATH_PROPERTIES.rotation:TypedKeyframeTrack=QuaternionKeyframeTrack;break;case PATH_PROPERTIES.position:case PATH_PROPERTIES.scale:default:TypedKeyframeTrack=VectorKeyframeTrack;break;}const targetName=node.name?node.name:node.uuid;const interpolation=sampler.interpolation!==undefined?INTERPOLATION[sampler.interpolation]:InterpolateLinear;const targetNames=[];if(PATH_PROPERTIES[target.path]===PATH_PROPERTIES.weights){node.traverse(function(object){if(object.morphTargetInfluences){targetNames.push(object.name?object.name:object.uuid)}})}else{targetNames.push(targetName)}let outputArray=outputAccessor.array;if(outputAccessor.normalized){const scale=getNormalizedComponentScale(outputArray.constructor);const scaled=new Float32Array(outputArray.length);for(let j=0,jl=outputArray.length;j<jl;j++){scaled[j]=outputArray[j]*scale}outputArray=scaled}for(let j=0,jl=targetNames.length;j<jl;j++){const track=new TypedKeyframeTrack(targetNames[j]+"."+PATH_PROPERTIES[target.path],inputAccessor.array,outputArray,interpolation);if(sampler.interpolation==="CUBICSPLINE"){track.createInterpolant=function InterpolantFactoryMethodGLTFCubicSpline(result){const interpolantType=this instanceof QuaternionKeyframeTrack?GLTFCubicSplineQuaternionInterpolant:GLTFCubicSplineInterpolant;return new interpolantType(this.times,this.values,this.getValueSize()/3,result)};track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=true}tracks.push(track)}}return new AnimationClip(animationName,undefined,tracks)})}createNodeMesh(nodeIndex){const json=this.json;const parser=this;const nodeDef=json.nodes[nodeIndex];if(nodeDef.mesh===undefined)return null;return parser.getDependency("mesh",nodeDef.mesh).then(function(mesh){const node=parser._getNodeRef(parser.meshCache,nodeDef.mesh,mesh);if(nodeDef.weights!==undefined){node.traverse(function(o){if(!o.isMesh)return;for(let i=0,il=nodeDef.weights.length;i<il;i++){o.morphTargetInfluences[i]=nodeDef.weights[i]}})}return node})}loadNode(nodeIndex){const json=this.json;const parser=this;const nodeDef=json.nodes[nodeIndex];const nodePending=parser._loadNodeShallow(nodeIndex);const childPending=[];const childrenDef=nodeDef.children||[];for(let i=0,il=childrenDef.length;i<il;i++){childPending.push(parser.getDependency("node",childrenDef[i]))}const skeletonPending=nodeDef.skin===undefined?Promise.resolve(null):parser.getDependency("skin",nodeDef.skin);return Promise.all([nodePending,Promise.all(childPending),skeletonPending]).then(function(results){const node=results[0];const children=results[1];const skeleton=results[2];if(skeleton!==null){node.traverse(function(mesh){if(!mesh.isSkinnedMesh)return;mesh.bind(skeleton,_identityMatrix)})}for(let i=0,il=children.length;i<il;i++){node.add(children[i])}return node})}_loadNodeShallow(nodeIndex){const json=this.json;const extensions=this.extensions;const parser=this;if(this.nodeCache[nodeIndex]!==undefined){return this.nodeCache[nodeIndex]}const nodeDef=json.nodes[nodeIndex];const nodeName=nodeDef.name?parser.createUniqueName(nodeDef.name):"";const pending=[];const meshPromise=parser._invokeOne(function(ext){return ext.createNodeMesh&&ext.createNodeMesh(nodeIndex)});if(meshPromise){pending.push(meshPromise)}if(nodeDef.camera!==undefined){pending.push(parser.getDependency("camera",nodeDef.camera).then(function(camera){return parser._getNodeRef(parser.cameraCache,nodeDef.camera,camera)}))}parser._invokeAll(function(ext){return ext.createNodeAttachment&&ext.createNodeAttachment(nodeIndex)}).forEach(function(promise){pending.push(promise)});this.nodeCache[nodeIndex]=Promise.all(pending).then(function(objects){let node;if(nodeDef.isBone===true){node=new Bone}else if(objects.length>1){node=new Group}else if(objects.length===1){node=objects[0]}else{node=new Object3D}if(node!==objects[0]){for(let i=0,il=objects.length;i<il;i++){node.add(objects[i])}}if(nodeDef.name){node.userData.name=nodeDef.name;node.name=nodeName}assignExtrasToUserData(node,nodeDef);if(nodeDef.extensions)addUnknownExtensionsToUserData(extensions,node,nodeDef);if(nodeDef.matrix!==undefined){const matrix=new Matrix4;matrix.fromArray(nodeDef.matrix);node.applyMatrix4(matrix)}else{if(nodeDef.translation!==undefined){node.position.fromArray(nodeDef.translation)}if(nodeDef.rotation!==undefined){node.quaternion.fromArray(nodeDef.rotation)}if(nodeDef.scale!==undefined){node.scale.fromArray(nodeDef.scale)}}if(!parser.associations.has(node)){parser.associations.set(node,{})}parser.associations.get(node).nodes=nodeIndex;return node});return this.nodeCache[nodeIndex]}loadScene(sceneIndex){const extensions=this.extensions;const sceneDef=this.json.scenes[sceneIndex];const parser=this;const scene=new Group;if(sceneDef.name)scene.name=parser.createUniqueName(sceneDef.name);assignExtrasToUserData(scene,sceneDef);if(sceneDef.extensions)addUnknownExtensionsToUserData(extensions,scene,sceneDef);const nodeIds=sceneDef.nodes||[];const pending=[];for(let i=0,il=nodeIds.length;i<il;i++){pending.push(parser.getDependency("node",nodeIds[i]))}return Promise.all(pending).then(function(nodes){for(let i=0,il=nodes.length;i<il;i++){scene.add(nodes[i])}const reduceAssociations=node=>{const reducedAssociations=new Map;for(const[key,value]of parser.associations){if(key instanceof Material||key instanceof Texture){reducedAssociations.set(key,value)}}node.traverse(node=>{const mappings=parser.associations.get(node);if(mappings!=null){reducedAssociations.set(node,mappings)}});return reducedAssociations};parser.associations=reduceAssociations(scene);return scene})}}function computeBounds(geometry,primitiveDef,parser){const attributes=primitiveDef.attributes;const box=new Box3;if(attributes.POSITION!==undefined){const accessor=parser.json.accessors[attributes.POSITION];const min=accessor.min;const max=accessor.max;if(min!==undefined&&max!==undefined){box.set(new Vector3(min[0],min[1],min[2]),new Vector3(max[0],max[1],max[2]));if(accessor.normalized){const boxScale=getNormalizedComponentScale(WEBGL_COMPONENT_TYPES[accessor.componentType]);box.min.multiplyScalar(boxScale);box.max.multiplyScalar(boxScale)}}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");return}}else{return}const targets=primitiveDef.targets;if(targets!==undefined){const maxDisplacement=new Vector3;const vector=new Vector3;for(let i=0,il=targets.length;i<il;i++){const target=targets[i];if(target.POSITION!==undefined){const accessor=parser.json.accessors[target.POSITION];const min=accessor.min;const max=accessor.max;if(min!==undefined&&max!==undefined){vector.setX(Math.max(Math.abs(min[0]),Math.abs(max[0])));vector.setY(Math.max(Math.abs(min[1]),Math.abs(max[1])));vector.setZ(Math.max(Math.abs(min[2]),Math.abs(max[2])));if(accessor.normalized){const boxScale=getNormalizedComponentScale(WEBGL_COMPONENT_TYPES[accessor.componentType]);vector.multiplyScalar(boxScale)}maxDisplacement.max(vector)}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}}box.expandByVector(maxDisplacement)}geometry.boundingBox=box;const sphere=new Sphere;box.getCenter(sphere.center);sphere.radius=box.min.distanceTo(box.max)/2;geometry.boundingSphere=sphere}function addPrimitiveAttributes(geometry,primitiveDef,parser){const attributes=primitiveDef.attributes;const pending=[];function assignAttributeAccessor(accessorIndex,attributeName){return parser.getDependency("accessor",accessorIndex).then(function(accessor){geometry.setAttribute(attributeName,accessor)})}for(const gltfAttributeName in attributes){const threeAttributeName=ATTRIBUTES[gltfAttributeName]||gltfAttributeName.toLowerCase();if(threeAttributeName in geometry.attributes)continue;pending.push(assignAttributeAccessor(attributes[gltfAttributeName],threeAttributeName))}if(primitiveDef.indices!==undefined&&!geometry.index){const accessor=parser.getDependency("accessor",primitiveDef.indices).then(function(accessor){geometry.setIndex(accessor)});pending.push(accessor)}assignExtrasToUserData(geometry,primitiveDef);computeBounds(geometry,primitiveDef,parser);return Promise.all(pending).then(function(){return primitiveDef.targets!==undefined?addMorphTargets(geometry,primitiveDef.targets,parser):geometry})}THREE.GLTFLoader=GLTFLoader})()});(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Object3D=THREE.Object3D;var deviceMax=Number.POSITIVE_INFINITY;var deviceMin=Number.NEGATIVE_INFINITY;class CSS3DObject extends Object3D{constructor(element){super();this.containerElement=document.createElement("div");this.containerElement.style.position="absolute";this.containerElement.style.pointerEvents="none";this.containerElement.style.overflow="hidden";this.cameraElement=document.createElement("div");this.containerElement.appendChild(this.cameraElement);this.cameraElement.style.transformStyle="preserve-3d";this.cameraElement.style.position="absolute";this.cameraElement.style.pointerEvents="none";this.element=element||document.createElement("div");this.cameraElement.appendChild(this.element);this.element.style.position="absolute";this.element.style.pointerEvents="none";this.contentWidth=100;this.contentHeight=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.projectedVertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.addEventListener("removed",function(){this.traverse(function(object){if(object.containerElement instanceof Element&&object.containerElement.parentNode!==null)object.containerElement.parentNode.removeChild(object.containerElement)})})}copy(source,recursive){super.copy(source,recursive);this.element=source.element.cloneNode(true);return this}updateVertices(){this.vertices[0].set(-this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[1].set(+this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[2].set(+this.contentWidth*0.5,-this.contentHeight*0.5,0);this.vertices[3].set(-this.contentWidth*0.5,-this.contentHeight*0.5,0)}projectVertices(camera){if(this.matrixWorldNeedsUpdate)this.updateMatrixWorld();projectVertices(this,camera);var pv=this.projectedVertices;this.isDrawable=true;pv=pv.filter(function(p){return p.z<0});var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x<-1)x-=1;else if(p.x>1)x+=1;if(p.y<-1)y-=1;else if(p.y>1)y+=1;max=Math.max(p.x*camera.aspect,p.y,max);min=Math.min(p.x*camera.aspect,p.y,min)});this.isVisible=this.isDrawable&&Math.abs(x)<pv.length&&Math.abs(y)<pv.length&&max<deviceMax&&min>deviceMin}}CSS3DObject.prototype.isCSS3DObject=true;THREE.CSS3DObject=CSS3DObject;class CSS3DQuad extends Object3D{constructor(element){super();this.contentWidth=100;this.contentHeight=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.projectedVertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.containerElement=document.createElement("div");this.containerElement.style.position="absolute";this.containerElement.style.pointerEvents="none";this.containerElement.style.overflow="hidden";this.element=element||document.createElement("div");this.containerElement.appendChild(this.element);this.element.style.position="absolute";this.element.style.pointerEvents="none"}copy(source,recursive){super.copy(source,recursive);for(var i=0;i<4;i++)this.vertices[i].copy(source.vertices[i]);return this}projectVertices(camera){if(this.matrixWorldNeedsUpdate)this.updateMatrixWorld();projectVertices(this,camera);var pv=this.projectedVertices;this.isDrawable=pv[0].z<0&&pv[1].z<0&&pv[2].z<0&&pv[3].z<0;var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x<-1)x-=1;else if(p.x>1)x+=1;if(p.y<-1)y-=1;else if(p.y>1)y+=1;max=Math.max(p.x*camera.aspect,p.y,max);min=Math.min(p.x*camera.aspect,p.y,min)});this.isVisible=this.isDrawable&&Math.abs(x)<pv.length&&Math.abs(y)<pv.length&&max<deviceMax&&min>deviceMin}}CSS3DQuad.prototype.isCSS3DQuad=true;THREE.CSS3DQuad=CSS3DQuad;class CSS3DRectangle extends CSS3DQuad{constructor(element){super(element)}updateVertices(){this.vertices[0].set(-this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[1].set(+this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[2].set(+this.contentWidth*0.5,-this.contentHeight*0.5,0);this.vertices[3].set(-this.contentWidth*0.5,-this.contentHeight*0.5,0)}}CSS3DRectangle.prototype.isCSS3DRectangle=true;THREE.CSS3DRectangle=CSS3DRectangle;var _matrix=new THREE.Matrix4;class CSS3DRenderer{constructor(){var _this=this;var _width,_height;var _widthHalf,_heightHalf;var _fov;var _cameraStyle;var cache={objects:new WeakMap};var domElement=document.createElement("div");domElement.style.overflow="hidden";this.domElement=domElement;this.getSize=function(){return{width:_width,height:_height}};this.render=function(scene,camera){_fov=camera.projectionMatrix.elements[5]*_heightHalf;if(scene.matrixWorldAutoUpdate===true)scene.updateMatrixWorld();_cameraStyle="translateZ("+_fov+"px)"+getCameraCSSMatrix(camera.matrixWorldInverse)+"translate("+_widthHalf+"px,"+_heightHalf+"px)";renderObject(scene,scene,camera)};this.setSize=function(width,height){_width=width;_height=height;_widthHalf=_width/2;_heightHalf=_height/2;domElement.style.width=_width+"px";domElement.style.height=_height+"px"};function renderObject(object,scene,camera){if(object.isCSS3DObject||object.isCSS3DQuad){object.onBeforeRender(_this,scene,camera);var cachedObject=cache.objects.get(object)||{};var cacheChanged=false;if(object.isVisible){if(object.isCSS3DQuad){var pv=object.projectedVertices;var x0=(1+pv[0].x)*0.5*_width,y0=(1-pv[0].y)*0.5*_height,x1=(1+pv[1].x)*0.5*_width,y1=(1-pv[1].y)*0.5*_height,x2=(1+pv[2].x)*0.5*_width,y2=(1-pv[2].y)*0.5*_height,x3=(1+pv[3].x)*0.5*_width,y3=(1-pv[3].y)*0.5*_height;createQuadMatrix(object.contentWidth,object.contentHeight,x0,y0,x1,y1,x3,y3,x2,y2,_matrix.elements);var elementStyle=getQuadCSSMatrix(_matrix);if(cachedObject.elementStyle!=elementStyle){cachedObject.elementStyle=object.element.style.transform=elementStyle;cacheChanged=true}if(cachedObject.width!==_width||cachedObject.height!==_height){object.containerElement.style.width=(cachedObject.width=_width)+"px";object.containerElement.style.height=(cachedObject.height=_height)+"px";cacheChanged=true}}else{var elementStyle=getObjectCSSMatrix(object.matrixWorld);if(cachedObject.cameraFov!==_fov){object.containerElement.style.perspective=(cachedObject.cameraFov=_fov)+"px";cacheChanged=true}if(cachedObject.width!==_width||cachedObject.height!==_height){object.cameraElement.style.width=object.containerElement.style.width=(cachedObject.width=_width)+"px";object.cameraElement.style.height=object.containerElement.style.height=(cachedObject.height=_height)+"px";cacheChanged=true}if(cachedObject.cameraStyle!==_cameraStyle){cachedObject.cameraStyle=object.cameraElement.style.transform=_cameraStyle;cacheChanged=true}if(cachedObject.elementStyle!==elementStyle){cachedObject.elementStyle=object.element.style.transform=elementStyle;cacheChanged=true}}object.containerElement.style.left="0"}else{object.containerElement.style.left=_width+"px"}if(cacheChanged)cache.objects.set(object,cachedObject);object.containerElement.style.display=object.visible?"":"none";if(object.containerElement.parentNode!==domElement)domElement.appendChild(object.containerElement);object.onAfterRender(_this,scene,camera)}for(var i=0,l=object.children.length;i<l;i++)renderObject(object.children[i],scene,camera)}function epsilon(value){return value<1e-10&&value>-1e-10?0:value}function getCameraCSSMatrix(matrix){var elements=matrix.elements;return"matrix3d("+epsilon(elements[0])+","+epsilon(-elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(elements[4])+","+epsilon(-elements[5])+","+epsilon(elements[6])+","+epsilon(elements[7])+","+epsilon(elements[8])+","+epsilon(-elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(-elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")"}function getObjectCSSMatrix(matrix){var elements=matrix.elements;var matrix3d="matrix3d("+epsilon(elements[0])+","+epsilon(elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(-elements[4])+","+epsilon(-elements[5])+","+epsilon(-elements[6])+","+epsilon(-elements[7])+","+epsilon(elements[8])+","+epsilon(elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")";return"translate(-50%,-50%)"+matrix3d}function getQuadCSSMatrix(matrix){var elements=matrix.elements;var matrix3d="matrix3d("+epsilon(elements[0])+","+epsilon(elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(elements[4])+","+epsilon(elements[5])+","+epsilon(elements[6])+","+epsilon(elements[7])+","+epsilon(elements[8])+","+epsilon(elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")";return matrix3d}}};THREE.CSS3DRenderer=CSS3DRenderer;function projectVertices(object,camera){for(var index=0;index<object.vertices.length;index++){var vertex=object.vertices[index];var projectedVertex=object.projectedVertices[index];projectedVertex.copy(vertex);projectedVertex.applyMatrix4(object.matrixWorld);projectedVertex.applyMatrix4(camera.matrixWorldInverse);var z=projectedVertex.z;projectedVertex.applyMatrix4(camera.projectionMatrix);projectedVertex.z=z}}function setArray(){var a=arguments[0];for(var i=1;i<arguments.length;i++)a[i-1]=arguments[i];return a}function copyArray(t,s){for(var i=0;i<s.length;i++)t[i]=s[i];return t}function adjugate(m,out){setArray(out,m[4]*m[8]-m[5]*m[7],m[2]*m[7]-m[1]*m[8],m[1]*m[5]-m[2]*m[4],m[5]*m[6]-m[3]*m[8],m[0]*m[8]-m[2]*m[6],m[2]*m[3]-m[0]*m[5],m[3]*m[7]-m[4]*m[6],m[1]*m[6]-m[0]*m[7],m[0]*m[4]-m[1]*m[3])}function multmm(a,b,out){for(var i=0;i!=3;++i){for(var j=0;j!=3;++j){var cij=0;for(var k=0;k!=3;++k){cij+=a[3*i+k]*b[3*k+j]}out[3*i+j]=cij}}}function multmv(m,v,out){return setArray(out,m[0]*v[0]+m[1]*v[1]+m[2]*v[2],m[3]*v[0]+m[4]*v[1]+m[5]*v[2],m[6]*v[0]+m[7]*v[1]+m[8]*v[2])}var m=new Array(9);var m2=new Array(9);var mAdj=new Array(9);var p=new Array(3);var v=new Array(3);var s=new Array(9);var d=new Array(9);var sAdj=new Array(9);var t=new Array(9);function basisToPoints(x1,y1,x2,y2,x3,y3,x4,y4,out){setArray(m,x1,x2,x3,y1,y2,y3,1,1,1);adjugate(m,mAdj);setArray(p,x4,y4,1);multmv(mAdj,p,v);setArray(m2,v[0],0,0,0,v[1],0,0,0,v[2]);return multmm(m,m2,out)}function general2DProjection(x1s,y1s,x1d,y1d,x2s,y2s,x2d,y2d,x3s,y3s,x3d,y3d,x4s,y4s,x4d,y4d,out){basisToPoints(x1s,y1s,x2s,y2s,x3s,y3s,x4s,y4s,s);basisToPoints(x1d,y1d,x2d,y2d,x3d,y3d,x4d,y4d,d);adjugate(s,sAdj);return multmm(d,sAdj,out)}function createQuadMatrix(w,h,x1,y1,x2,y2,x3,y3,x4,y4,out){general2DProjection(0,0,x1,y1,w,0,x2,y2,0,h,x3,y3,w,h,x4,y4,t);setArray(out,t[0]/t[8],t[3]/t[8],0,t[6]/t[8],t[1]/t[8],t[4]/t[8],0,t[7]/t[8],0,0,1,0,t[2]/t[8],t[5]/t[8],0,1)}});(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var CubeReflectionMapping=THREE.CubeReflectionMapping,CubeRefractionMapping=THREE.CubeRefractionMapping,CubeUVReflectionMapping=THREE.CubeUVReflectionMapping,LinearEncoding=THREE.LinearEncoding,LinearFilter=THREE.LinearFilter,NoToneMapping=THREE.NoToneMapping,NoBlending=THREE.NoBlending,RGBAFormat=THREE.RGBAFormat,HalfFloatType=THREE.HalfFloatType,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Mesh=THREE.Mesh,OrthographicCamera=THREE.OrthographicCamera,PerspectiveCamera=THREE.PerspectiveCamera,ShaderMaterial=THREE.ShaderMaterial,Vector3=THREE.Vector3,Color=THREE.Color,WebGLRenderTarget=THREE.WebGLRenderTarget,MeshBasicMaterial=THREE.MeshBasicMaterial,BoxGeometry=THREE.BoxGeometry,BackSide=THREE.BackSide;const LOD_MIN=4;const EXTRA_LOD_SIGMA=[0.125,0.215,0.35,0.446,0.526,0.582];const MAX_SAMPLES=20;const _flatCamera=new OrthographicCamera;const _clearColor=new Color;let _oldTarget=null;const PHI=(1+Math.sqrt(5))/2;const INV_PHI=1/PHI;const _axisDirections=[new Vector3(1,1,1),new Vector3(-1,1,1),new Vector3(1,1,-1),new Vector3(-1,1,-1),new Vector3(0,PHI,INV_PHI),new Vector3(0,PHI,-INV_PHI),new Vector3(INV_PHI,0,PHI),new Vector3(-INV_PHI,0,PHI),new Vector3(PHI,INV_PHI,0),new Vector3(-PHI,INV_PHI,0)];class PMREMGenerator{constructor(renderer){this._renderer=renderer;this._pingPongRenderTarget=null;this._lodMax=0;this._cubeSize=0;this._lodPlanes=[];this._sizeLods=[];this._sigmas=[];this._blurMaterial=null;this._cubemapMaterial=null;this._equirectMaterial=null;this._compileMaterial(this._blurMaterial)}fromScene(scene,sigma=0,near=0.1,far=100){_oldTarget=this._renderer.getRenderTarget();this._setSize(256);const cubeUVRenderTarget=this._allocateTargets();cubeUVRenderTarget.depthBuffer=true;this._sceneToCubeUV(scene,near,far,cubeUVRenderTarget);if(sigma>0){this._blur(cubeUVRenderTarget,0,0,sigma)}this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}fromEquirectangular(equirectangular,renderTarget=null){return this._fromTexture(equirectangular,renderTarget)}fromCubemap(cubemap,renderTarget=null){return this._fromTexture(cubemap,renderTarget)}compileCubemapShader(){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial();this._compileMaterial(this._cubemapMaterial)}}compileEquirectangularShader(){if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial();this._compileMaterial(this._equirectMaterial)}}dispose(){this._dispose();if(this._cubemapMaterial!==null)this._cubemapMaterial.dispose();if(this._equirectMaterial!==null)this._equirectMaterial.dispose()}_setSize(cubeSize){this._lodMax=Math.floor(Math.log2(cubeSize));this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){if(this._blurMaterial!==null)this._blurMaterial.dispose();if(this._pingPongRenderTarget!==null)this._pingPongRenderTarget.dispose();for(let i=0;i<this._lodPlanes.length;i++){this._lodPlanes[i].dispose()}}_cleanup(outputTarget){this._renderer.setRenderTarget(_oldTarget);outputTarget.scissorTest=false;_setViewport(outputTarget,0,0,outputTarget.width,outputTarget.height)}_fromTexture(texture,renderTarget){if(texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping){this._setSize(texture.image.length===0?16:texture.image[0].width||texture.image[0].image.width)}else{this._setSize(texture.image.width/4)}_oldTarget=this._renderer.getRenderTarget();const cubeUVRenderTarget=renderTarget||this._allocateTargets();this._textureToCubeUV(texture,cubeUVRenderTarget);this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}_allocateTargets(){const width=3*Math.max(this._cubeSize,16*7);const height=4*this._cubeSize;const params={magFilter:LinearFilter,minFilter:LinearFilter,generateMipmaps:false,type:HalfFloatType,format:RGBAFormat,encoding:LinearEncoding,depthBuffer:false};const cubeUVRenderTarget=_createRenderTarget(width,height,params);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==width){if(this._pingPongRenderTarget!==null){this._dispose()}this._pingPongRenderTarget=_createRenderTarget(width,height,params);const{_lodMax}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=_createPlanes(_lodMax));this._blurMaterial=_getBlurShader(_lodMax,width,height)}return cubeUVRenderTarget}_compileMaterial(material){const tmpMesh=new Mesh(this._lodPlanes[0],material);this._renderer.compile(tmpMesh,_flatCamera)}_sceneToCubeUV(scene,near,far,cubeUVRenderTarget){const fov=90;const aspect=1;const cubeCamera=new PerspectiveCamera(fov,aspect,near,far);const upSign=[1,-1,1,1,1,1];const forwardSign=[1,1,1,-1,-1,-1];const renderer=this._renderer;const originalAutoClear=renderer.autoClear;const toneMapping=renderer.toneMapping;renderer.getClearColor(_clearColor);renderer.toneMapping=NoToneMapping;renderer.autoClear=false;const backgroundMaterial=new MeshBasicMaterial({name:"PMREM.Background",side:BackSide,depthWrite:false,depthTest:false});const backgroundBox=new Mesh(new BoxGeometry(),backgroundMaterial);let useSolidColor=false;const background=scene.background;if(background){if(background.isColor){backgroundMaterial.color.copy(background);scene.background=null;useSolidColor=true}}else{backgroundMaterial.color.copy(_clearColor);useSolidColor=true}for(let i=0;i<6;i++){const col=i%3;if(col===0){cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(forwardSign[i],0,0)}else if(col===1){cubeCamera.up.set(0,0,upSign[i]);cubeCamera.lookAt(0,forwardSign[i],0)}else{cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(0,0,forwardSign[i])}const size=this._cubeSize;_setViewport(cubeUVRenderTarget,col*size,i>2?size:0,size,size);renderer.setRenderTarget(cubeUVRenderTarget);if(useSolidColor){renderer.render(backgroundBox,cubeCamera)}renderer.render(scene,cubeCamera)}backgroundBox.geometry.dispose();backgroundBox.material.dispose();renderer.toneMapping=toneMapping;renderer.autoClear=originalAutoClear;scene.background=background}_textureToCubeUV(texture,cubeUVRenderTarget){const renderer=this._renderer;const isCubeTexture=texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping;if(isCubeTexture){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial()}this._cubemapMaterial.uniforms.flipEnvMap.value=texture.isRenderTargetTexture===false?-1:1}else{if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial()}}const material=isCubeTexture?this._cubemapMaterial:this._equirectMaterial;const mesh=new Mesh(this._lodPlanes[0],material);const uniforms=material.uniforms;uniforms["envMap"].value=texture;const size=this._cubeSize;_setViewport(cubeUVRenderTarget,0,0,3*size,2*size);renderer.setRenderTarget(cubeUVRenderTarget);renderer.render(mesh,_flatCamera)}_applyPMREM(cubeUVRenderTarget){const renderer=this._renderer;const autoClear=renderer.autoClear;renderer.autoClear=false;for(let i=1;i<this._lodPlanes.length;i++){const sigma=Math.sqrt(this._sigmas[i]*this._sigmas[i]-this._sigmas[i-1]*this._sigmas[i-1]);const poleAxis=_axisDirections[(i-1)%_axisDirections.length];this._blur(cubeUVRenderTarget,i-1,i,sigma,poleAxis)}renderer.autoClear=autoClear}_blur(cubeUVRenderTarget,lodIn,lodOut,sigma,poleAxis){const pingPongRenderTarget=this._pingPongRenderTarget;this._halfBlur(cubeUVRenderTarget,pingPongRenderTarget,lodIn,lodOut,sigma,"latitudinal",poleAxis);this._halfBlur(pingPongRenderTarget,cubeUVRenderTarget,lodOut,lodOut,sigma,"longitudinal",poleAxis)}_halfBlur(targetIn,targetOut,lodIn,lodOut,sigmaRadians,direction,poleAxis){const renderer=this._renderer;const blurMaterial=this._blurMaterial;if(direction!=="latitudinal"&&direction!=="longitudinal"){console.error("blur direction must be either latitudinal or longitudinal!")}const STANDARD_DEVIATIONS=3;const blurMesh=new Mesh(this._lodPlanes[lodOut],blurMaterial);const blurUniforms=blurMaterial.uniforms;const pixels=this._sizeLods[lodIn]-1;const radiansPerPixel=isFinite(sigmaRadians)?Math.PI/(2*pixels):2*Math.PI/(2*MAX_SAMPLES-1);const sigmaPixels=sigmaRadians/radiansPerPixel;const samples=isFinite(sigmaRadians)?1+Math.floor(STANDARD_DEVIATIONS*sigmaPixels):MAX_SAMPLES;if(samples>MAX_SAMPLES){console.warn(`sigmaRadians, ${sigmaRadians}, is too large and will clip, as it requested ${samples} samples when the maximum is set to ${MAX_SAMPLES}`)}const weights=[];let sum=0;for(let i=0;i<MAX_SAMPLES;++i){const x=i/sigmaPixels;const weight=Math.exp(-x*x/2);weights.push(weight);if(i===0){sum+=weight}else if(i<samples){sum+=2*weight}}for(let i=0;i<weights.length;i++){weights[i]=weights[i]/sum}blurUniforms["envMap"].value=targetIn.texture;blurUniforms["samples"].value=samples;blurUniforms["weights"].value=weights;blurUniforms["latitudinal"].value=direction==="latitudinal";if(poleAxis){blurUniforms["poleAxis"].value=poleAxis}const{_lodMax}=this;blurUniforms["dTheta"].value=radiansPerPixel;blurUniforms["mipInt"].value=_lodMax-lodIn;const outputSize=this._sizeLods[lodOut];const x=3*outputSize*(lodOut>_lodMax-LOD_MIN?lodOut-_lodMax+LOD_MIN:0);const y=4*(this._cubeSize-outputSize);_setViewport(targetOut,x,y,3*outputSize,2*outputSize);renderer.setRenderTarget(targetOut);renderer.render(blurMesh,_flatCamera)}}function _createPlanes(lodMax){const lodPlanes=[];const sizeLods=[];const sigmas=[];let lod=lodMax;const totalLods=lodMax-LOD_MIN+1+EXTRA_LOD_SIGMA.length;for(let i=0;i<totalLods;i++){const sizeLod=Math.pow(2,lod);sizeLods.push(sizeLod);let sigma=1/sizeLod;if(i>lodMax-LOD_MIN){sigma=EXTRA_LOD_SIGMA[i-lodMax+LOD_MIN-1]}else if(i===0){sigma=0}sigmas.push(sigma);const texelSize=1/(sizeLod-2);const min=-texelSize;const max=1+texelSize;const uv1=[min,min,max,min,max,max,min,min,max,max,min,max];const cubeFaces=6;const vertices=6;const positionSize=3;const uvSize=2;const faceIndexSize=1;const position=new Float32Array(positionSize*vertices*cubeFaces);const uv=new Float32Array(uvSize*vertices*cubeFaces);const faceIndex=new Float32Array(faceIndexSize*vertices*cubeFaces);for(let face=0;face<cubeFaces;face++){const x=face%3*2/3-1;const y=face>2?0:-1;const coordinates=[x,y,0,x+2/3,y,0,x+2/3,y+1,0,x,y,0,x+2/3,y+1,0,x,y+1,0];position.set(coordinates,positionSize*vertices*face);uv.set(uv1,uvSize*vertices*face);const fill=[face,face,face,face,face,face];faceIndex.set(fill,faceIndexSize*vertices*face)}const planes=new BufferGeometry;planes.setAttribute("position",new BufferAttribute(position,positionSize));planes.setAttribute("uv",new BufferAttribute(uv,uvSize));planes.setAttribute("faceIndex",new BufferAttribute(faceIndex,faceIndexSize));lodPlanes.push(planes);if(lod>LOD_MIN){lod--}}return{lodPlanes,sizeLods,sigmas}}function _createRenderTarget(width,height,params){const cubeUVRenderTarget=new WebGLRenderTarget(width,height,params);cubeUVRenderTarget.texture.mapping=CubeUVReflectionMapping;cubeUVRenderTarget.texture.name="PMREM.cubeUv";cubeUVRenderTarget.scissorTest=true;return cubeUVRenderTarget}function _setViewport(target,x,y,width,height){target.viewport.set(x,y,width,height);target.scissor.set(x,y,width,height)}function _getBlurShader(lodMax,width,height){const weights=new Float32Array(MAX_SAMPLES);const poleAxis=new Vector3(0,1,0);const shaderMaterial=new ShaderMaterial({name:"SphericalGaussianBlur",defines:{"n":MAX_SAMPLES,"CUBEUV_TEXEL_WIDTH":1/width,"CUBEUV_TEXEL_HEIGHT":1/height,"CUBEUV_MAX_MIP":`${lodMax}.0`},uniforms:{"envMap":{value:null},"samples":{value:1},"weights":{value:weights},"latitudinal":{value:false},"dTheta":{value:0},"mipInt":{value:0},"poleAxis":{value:poleAxis}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                varying vec3 vOutputDirection;

                uniform sampler2D envMap;
                uniform int samples;
                uniform float weights[ n ];
                uniform bool latitudinal;
                uniform float dTheta;
                uniform float mipInt;
                uniform vec3 poleAxis;

                #define ENVMAP_TYPE_CUBE_UV
                #include <cube_uv_reflection_fragment>

                vec3 getSample( float theta, vec3 axis ) {

                    float cosTheta = cos( theta );
                    // Rodrigues' axis-angle rotation
                    vec3 sampleDirection = vOutputDirection * cosTheta
                        + cross( axis, vOutputDirection ) * sin( theta )
                        + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );

                    return bilinearCubeUV( envMap, sampleDirection, mipInt );

                }

                void main() {

                    vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );

                    if ( all( equal( axis, vec3( 0.0 ) ) ) ) {

                        axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );

                    }

                    axis = normalize( axis );

                    gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
                    gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );

                    for ( int i = 1; i < n; i++ ) {

                        if ( i >= samples ) {

                            break;

                        }

                        float theta = dTheta * float( i );
                        gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );
                        gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );

                    }

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false});return shaderMaterial}function _getEquirectMaterial(){return new ShaderMaterial({name:"EquirectangularToCubeUV",uniforms:{"envMap":{value:null}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                varying vec3 vOutputDirection;

                uniform sampler2D envMap;

                #include <common>

                void main() {

                    vec3 outputDirection = normalize( vOutputDirection );
                    vec2 uv = equirectUv( outputDirection );

                    gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCubemapMaterial(){return new ShaderMaterial({name:"CubemapToCubeUV",uniforms:{"envMap":{value:null},"flipEnvMap":{value:-1}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                uniform float flipEnvMap;

                varying vec3 vOutputDirection;

                uniform samplerCube envMap;

                void main() {

                    gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCommonVertexShader(){return`

            precision mediump float;
            precision mediump int;

            attribute float faceIndex;

            varying vec3 vOutputDirection;

            // RH coordinate system; PMREM face-indexing convention
            vec3 getDirection( vec2 uv, float face ) {

                uv = 2.0 * uv - 1.0;

                vec3 direction = vec3( uv, 1.0 );

                if ( face == 0.0 ) {

                    direction = direction.zyx; // ( 1, v, u ) pos x

                } else if ( face == 1.0 ) {

                    direction = direction.xzy;
                    direction.xz *= -1.0; // ( -u, 1, -v ) pos y

                } else if ( face == 2.0 ) {

                    direction.x *= -1.0; // ( -u, v, 1 ) pos z

                } else if ( face == 3.0 ) {

                    direction = direction.zyx;
                    direction.xz *= -1.0; // ( -1, v, -u ) neg x

                } else if ( face == 4.0 ) {

                    direction = direction.xzy;
                    direction.xy *= -1.0; // ( -u, -1, v ) neg y

                } else if ( face == 5.0 ) {

                    direction.z *= -1.0; // ( u, v, -1 ) neg z

                }

                return direction;

            }

            void main() {

                vOutputDirection = getDirection( uv, faceIndex );
                gl_Position = vec4( position, 1.0 );

            }
        `}THREE.PMREMGenerator=PMREMGenerator});(function(t,e){e(t,t.THREE=t.THREE||{})})(this,function(globalThis,THREE){const $5OpyM$Spherical=THREE.Spherical;const $5OpyM$Vector3=THREE.Vector3;const $5OpyM$MathUtils=THREE.MathUtils;const $5OpyM$Sphere=THREE.Sphere;const $5OpyM$Group=THREE.Group;const $5OpyM$PointsMaterial=THREE.PointsMaterial;const $5OpyM$MeshStandardMaterial=THREE.MeshStandardMaterial;const $5OpyM$Box3Helper=THREE.Box3Helper;const $5OpyM$Color=THREE.Color;const $5OpyM$Matrix4=THREE.Matrix4;const $5OpyM$LoadingManager=THREE.LoadingManager;const $5OpyM$Vector2=THREE.Vector2;const $5OpyM$Frustum=THREE.Frustum;const $5OpyM$DefaultLoadingManager=THREE.DefaultLoadingManager;const $5OpyM$BufferGeometry=THREE.BufferGeometry;const $5OpyM$BufferAttribute=THREE.BufferAttribute;const $5OpyM$Points=THREE.Points;const $5OpyM$Quaternion=THREE.Quaternion;const $5OpyM$InstancedMesh=THREE.InstancedMesh;const $5OpyM$Ray=THREE.Ray;const $5OpyM$Box3=THREE.Box3;const $5OpyM$LineBasicMaterial=THREE.LineBasicMaterial;const $5OpyM$LineSegments=THREE.LineSegments;const $5OpyM$BoxGeometry=THREE.BoxGeometry;const $5OpyM$EdgesGeometry=THREE.EdgesGeometry;const $5OpyM$Mesh=THREE.Mesh;const $5OpyM$Euler=THREE.Euler;const $5OpyM$GLTFLoader=THREE.GLTFLoader;var $parcel$global=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{};var $parcel$modules={};var $parcel$inits={};var parcelRequire=$parcel$global["parcelRequire5fa1"];if(parcelRequire==null){parcelRequire=function(id){if(id in $parcel$modules){return $parcel$modules[id].exports}if(id in $parcel$inits){var init=$parcel$inits[id];delete $parcel$inits[id];var module={id:id,exports:{}};$parcel$modules[id]=module;init.call(module.exports,module,module.exports);return module.exports}var err=new Error("Cannot find module '"+id+"'");err.code="MODULE_NOT_FOUND";throw err};parcelRequire.register=function register(id,init){$parcel$inits[id]=init};$parcel$global["parcelRequire5fa1"]=parcelRequire}parcelRequire.register("1hGdn",function(module,exports){"use strict";Object.defineProperty(module.exports,"__esModule",{value:true});module.exports.latitudeToSphericalPhi=$0ef81fee344e2f3b$var$latitudeToSphericalPhi;module.exports.sphericalPhiToLatitude=$0ef81fee344e2f3b$var$sphericalPhiToLatitude;module.exports.swapToGeoFrame=$0ef81fee344e2f3b$var$swapToGeoFrame;module.exports.swapToThreeFrame=$0ef81fee344e2f3b$var$swapToThreeFrame;module.exports.toLatLonString=$0ef81fee344e2f3b$var$toLatLonString;const $0ef81fee344e2f3b$var$_spherical=new $5OpyM$Spherical;const $0ef81fee344e2f3b$var$_vec=new $5OpyM$Vector3;const $0ef81fee344e2f3b$var$_geoResults={};function $0ef81fee344e2f3b$var$swapToGeoFrame(target){const{x:x,y:y,z:z}=target;target.x=z;target.y=x;target.z=y}function $0ef81fee344e2f3b$var$swapToThreeFrame(target){const{x:x,y:y,z:z}=target;target.z=x;target.x=y;target.y=z}function $0ef81fee344e2f3b$var$sphericalPhiToLatitude(phi){return-(phi-Math.PI/2)}function $0ef81fee344e2f3b$var$latitudeToSphericalPhi(latitude){return-latitude+Math.PI/2}function $0ef81fee344e2f3b$var$correctGeoCoordWrap(lat,lon,target={}){$0ef81fee344e2f3b$var$_spherical.theta=lon;$0ef81fee344e2f3b$var$_spherical.phi=$0ef81fee344e2f3b$var$latitudeToSphericalPhi(lat);$0ef81fee344e2f3b$var$_vec.setFromSpherical($0ef81fee344e2f3b$var$_spherical);$0ef81fee344e2f3b$var$_spherical.setFromVector3($0ef81fee344e2f3b$var$_vec);target.lat=$0ef81fee344e2f3b$var$sphericalPhiToLatitude($0ef81fee344e2f3b$var$_spherical.phi);target.lon=$0ef81fee344e2f3b$var$_spherical.theta;return target}function $0ef81fee344e2f3b$var$toHoursMinutesSecondsString(value,pos="E",neg="W"){const direction=value<0?neg:pos;value=Math.abs(value);const hours=~~value;const minDec=(value-hours)*60;const minutes=~~minDec;const secDec=(minDec-minutes)*60;const seconds=~~secDec;return`${hours}° ${minutes}' ${seconds}" ${direction}`}function $0ef81fee344e2f3b$var$toLatLonString(lat,lon,decimalFormat=false){const result=$0ef81fee344e2f3b$var$correctGeoCoordWrap(lat,lon,$0ef81fee344e2f3b$var$_geoResults);let latString,lonString;if(decimalFormat){latString=`${($5OpyM$MathUtils.RAD2DEG*result.lat).toFixed(4)}°`;lonString=`${($5OpyM$MathUtils.RAD2DEG*result.lon).toFixed(4)}°`}else{latString=$0ef81fee344e2f3b$var$toHoursMinutesSecondsString($5OpyM$MathUtils.RAD2DEG*result.lat,"N","S");lonString=$0ef81fee344e2f3b$var$toHoursMinutesSecondsString($5OpyM$MathUtils.RAD2DEG*result.lon,"E","W")}return`${latString} ${lonString}`}});var $cf838c15c8b009ba$exports={};"use strict";Object.defineProperty($cf838c15c8b009ba$exports,"__esModule",{value:true});var $cf838c15c8b009ba$var$_exportNames={DebugTilesRenderer:true,NONE:true,SCREEN_ERROR:true,GEOMETRIC_ERROR:true,DISTANCE:true,DEPTH:true,RELATIVE_DEPTH:true,IS_LEAF:true,RANDOM_COLOR:true,RANDOM_NODE_COLOR:true,CUSTOM_COLOR:true,TilesRenderer:true,B3DMLoader:true,PNTSLoader:true,I3DMLoader:true,CMPTLoader:true,GLTFCesiumRTCExtension:true,GLTFExtensionLoader:true,EllipsoidRegionHelper:true,EllipsoidRegionLineHelper:true,SphereHelper:true,Ellipsoid:true,EllipsoidRegion:true,GeoUtils:true,TilesRendererBase:true,LoaderBase:true,B3DMLoaderBase:true,I3DMLoaderBase:true,PNTSLoaderBase:true,CMPTLoaderBase:true,LRUCache:true,PriorityQueue:true};Object.defineProperty($cf838c15c8b009ba$exports,"B3DMLoader",{enumerable:true,get:function(){return $0aa3d1def57e98b1$exports.B3DMLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"B3DMLoaderBase",{enumerable:true,get:function(){return $f5d9b5dde53306bf$exports.B3DMLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"CMPTLoader",{enumerable:true,get:function(){return $54879e9a7dc345e0$exports.CMPTLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"CMPTLoaderBase",{enumerable:true,get:function(){return $cb66a16334732244$exports.CMPTLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"CUSTOM_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.CUSTOM_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"DEPTH",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DEPTH}});Object.defineProperty($cf838c15c8b009ba$exports,"DISTANCE",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DISTANCE}});Object.defineProperty($cf838c15c8b009ba$exports,"DebugTilesRenderer",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DebugTilesRenderer}});Object.defineProperty($cf838c15c8b009ba$exports,"Ellipsoid",{enumerable:true,get:function(){return $9160f8f2e0578e98$exports.Ellipsoid}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegion",{enumerable:true,get:function(){return $aa7b3b269f245cbe$exports.EllipsoidRegion}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegionHelper",{enumerable:true,get:function(){return $3b9225051b507460$exports.EllipsoidRegionHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegionLineHelper",{enumerable:true,get:function(){return $3b9225051b507460$exports.EllipsoidRegionLineHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"GEOMETRIC_ERROR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.GEOMETRIC_ERROR}});Object.defineProperty($cf838c15c8b009ba$exports,"GLTFCesiumRTCExtension",{enumerable:true,get:function(){return $44c3bffa5e49f297$exports.GLTFCesiumRTCExtension}});Object.defineProperty($cf838c15c8b009ba$exports,"GLTFExtensionLoader",{enumerable:true,get:function(){return $29ced67d26e5c4e2$exports.GLTFExtensionLoader}});$cf838c15c8b009ba$exports.GeoUtils=void 0;Object.defineProperty($cf838c15c8b009ba$exports,"I3DMLoader",{enumerable:true,get:function(){return $0bc85483bdeca322$exports.I3DMLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"I3DMLoaderBase",{enumerable:true,get:function(){return $bcb352fb74bed4a5$exports.I3DMLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"IS_LEAF",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.IS_LEAF}});Object.defineProperty($cf838c15c8b009ba$exports,"LRUCache",{enumerable:true,get:function(){return $e0d7a242557dc8e6$exports.LRUCache}});Object.defineProperty($cf838c15c8b009ba$exports,"LoaderBase",{enumerable:true,get:function(){return $e6b785bba9ea128d$exports.LoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"NONE",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.NONE}});Object.defineProperty($cf838c15c8b009ba$exports,"PNTSLoader",{enumerable:true,get:function(){return $1ddd6ca16eb224df$exports.PNTSLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"PNTSLoaderBase",{enumerable:true,get:function(){return $d408eda5a179398a$exports.PNTSLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"PriorityQueue",{enumerable:true,get:function(){return $096d2234d1235002$exports.PriorityQueue}});Object.defineProperty($cf838c15c8b009ba$exports,"RANDOM_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RANDOM_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"RANDOM_NODE_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RANDOM_NODE_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"RELATIVE_DEPTH",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RELATIVE_DEPTH}});Object.defineProperty($cf838c15c8b009ba$exports,"SCREEN_ERROR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.SCREEN_ERROR}});Object.defineProperty($cf838c15c8b009ba$exports,"SphereHelper",{enumerable:true,get:function(){return $1cb839fa4db014d3$exports.SphereHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"TilesRenderer",{enumerable:true,get:function(){return $06d26e8e9f5361d3$exports.TilesRenderer}});Object.defineProperty($cf838c15c8b009ba$exports,"TilesRendererBase",{enumerable:true,get:function(){return $5a6f7a997885dc30$exports.TilesRendererBase}});var $1909f04f34bd6630$exports={};"use strict";Object.defineProperty($1909f04f34bd6630$exports,"__esModule",{value:true});$1909f04f34bd6630$exports.SCREEN_ERROR=$1909f04f34bd6630$exports.RELATIVE_DEPTH=$1909f04f34bd6630$exports.RANDOM_NODE_COLOR=$1909f04f34bd6630$exports.RANDOM_COLOR=$1909f04f34bd6630$exports.NONE=$1909f04f34bd6630$exports.IS_LEAF=$1909f04f34bd6630$exports.GEOMETRIC_ERROR=$1909f04f34bd6630$exports.DebugTilesRenderer=$1909f04f34bd6630$exports.DISTANCE=$1909f04f34bd6630$exports.DEPTH=$1909f04f34bd6630$exports.CUSTOM_COLOR=void 0;var $3a66585ec6f85053$exports={};"use strict";Object.defineProperty($3a66585ec6f85053$exports,"__esModule",{value:true});$3a66585ec6f85053$exports.getIndexedRandomColor=$3a66585ec6f85053$var$getIndexedRandomColor;const $3a66585ec6f85053$var$colors={};function $3a66585ec6f85053$var$getIndexedRandomColor(index){if(!$3a66585ec6f85053$var$colors[index]){const h=Math.random();const s=0.5+Math.random()*0.5;const l=0.375+Math.random()*0.25;$3a66585ec6f85053$var$colors[index]=new $5OpyM$Color().setHSL(h,s,l)}return $3a66585ec6f85053$var$colors[index]}var $06d26e8e9f5361d3$exports={};"use strict";Object.defineProperty($06d26e8e9f5361d3$exports,"__esModule",{value:true});$06d26e8e9f5361d3$exports.TilesRenderer=void 0;var $5a6f7a997885dc30$exports={};"use strict";Object.defineProperty($5a6f7a997885dc30$exports,"__esModule",{value:true});$5a6f7a997885dc30$exports.TilesRendererBase=void 0;var $7ff9fb142d83939f$exports={};"use strict";Object.defineProperty($7ff9fb142d83939f$exports,"__esModule",{value:true});$7ff9fb142d83939f$exports.getUrlExtension=$7ff9fb142d83939f$var$getUrlExtension;function $7ff9fb142d83939f$var$getUrlExtension(url){let parsedUrl;try{parsedUrl=new URL(url,"http://fakehost.com/")}catch(_){return null}const filename=parsedUrl.pathname.split("/").pop();const dotIndex=filename.lastIndexOf(".");if(dotIndex===-1||dotIndex===filename.length-1)return null;const extension=filename.substring(dotIndex+1);return extension}var $e0d7a242557dc8e6$exports={};"use strict";Object.defineProperty($e0d7a242557dc8e6$exports,"__esModule",{value:true});$e0d7a242557dc8e6$exports.LRUCache=void 0;function $e0d7a242557dc8e6$var$enqueueMicrotask(callback){Promise.resolve().then(callback)}class $e0d7a242557dc8e6$var$LRUCache{constructor(){this.maxSize=800;this.minSize=600;this.unloadPercent=0.05;this.itemSet=new Map;this.itemList=[];this.usedSet=new Set;this.callbacks=new Map;this.unloadPriorityCallback=null;const itemSet=this.itemSet;this.defaultPriorityCallback=item=>itemSet.get(item)}isFull(){return this.itemSet.size>=this.maxSize}add(item,removeCb){const itemSet=this.itemSet;if(itemSet.has(item))return false;if(this.isFull())return false;const usedSet=this.usedSet;const itemList=this.itemList;const callbacks=this.callbacks;itemList.push(item);usedSet.add(item);itemSet.set(item,Date.now());callbacks.set(item,removeCb);return true}remove(item){const usedSet=this.usedSet;const itemSet=this.itemSet;const itemList=this.itemList;const callbacks=this.callbacks;if(itemSet.has(item)){callbacks.get(item)(item);const index=itemList.indexOf(item);itemList.splice(index,1);usedSet.delete(item);itemSet.delete(item);callbacks.delete(item);return true}return false}markUsed(item){const itemSet=this.itemSet;const usedSet=this.usedSet;if(itemSet.has(item)&&!usedSet.has(item)){itemSet.set(item,Date.now());usedSet.add(item)}}markAllUnused(){this.usedSet.clear()}unloadUnusedContent(){const unloadPercent=this.unloadPercent;const targetSize=this.minSize;const itemList=this.itemList;const itemSet=this.itemSet;const usedSet=this.usedSet;const callbacks=this.callbacks;const unused=itemList.length-usedSet.size;const excess=itemList.length-targetSize;const unloadPriorityCallback=this.unloadPriorityCallback||this.defaultPriorityCallback;if(excess>0&&unused>0){itemList.sort((a,b)=>{const usedA=usedSet.has(a);const usedB=usedSet.has(b);if(usedA&&usedB)return 0;else if(!usedA&&!usedB)return unloadPriorityCallback(b)-unloadPriorityCallback(a);else return usedA?1:-1});const unusedExcess=Math.min(excess,unused);const maxUnload=Math.max(targetSize*unloadPercent,unusedExcess*unloadPercent);let nodesToUnload=Math.min(maxUnload,unused);nodesToUnload=Math.ceil(nodesToUnload);const removedItems=itemList.splice(0,nodesToUnload);for(let i=0,l=removedItems.length;i<l;i++){const item=removedItems[i];callbacks.get(item)(item);itemSet.delete(item);callbacks.delete(item)}}}scheduleUnload(markAllUnused=true){if(!this.scheduled){this.scheduled=true;$e0d7a242557dc8e6$var$enqueueMicrotask(()=>{this.scheduled=false;this.unloadUnusedContent();if(markAllUnused)this.markAllUnused()})}}}$e0d7a242557dc8e6$exports.LRUCache=$e0d7a242557dc8e6$var$LRUCache;var $096d2234d1235002$exports={};"use strict";Object.defineProperty($096d2234d1235002$exports,"__esModule",{value:true});$096d2234d1235002$exports.PriorityQueue=void 0;class $096d2234d1235002$var$PriorityQueue{constructor(){this.maxJobs=6;this.items=[];this.callbacks=new Map;this.currJobs=0;this.scheduled=false;this.autoUpdate=true;this.priorityCallback=()=>{throw new Error("PriorityQueue: PriorityCallback function not defined.")};this.schedulingCallback=func=>{requestAnimationFrame(func)};this._runjobs=()=>{this.tryRunJobs();this.scheduled=false}}sort(){const priorityCallback=this.priorityCallback;const items=this.items;items.sort(priorityCallback)}add(item,callback){return new Promise((resolve,reject)=>{const prCallback=(...args)=>callback(...args).then(resolve).catch(reject);const items=this.items;const callbacks=this.callbacks;items.push(item);callbacks.set(item,prCallback);if(this.autoUpdate)this.scheduleJobRun()})}remove(item){const items=this.items;const callbacks=this.callbacks;const index=items.indexOf(item);if(index!==-1){items.splice(index,1);callbacks.delete(item)}}tryRunJobs(){this.sort();const items=this.items;const callbacks=this.callbacks;const maxJobs=this.maxJobs;let currJobs=this.currJobs;while(maxJobs>currJobs&&items.length>0){currJobs++;const item=items.pop();const callback=callbacks.get(item);callbacks.delete(item);callback(item).then(()=>{this.currJobs--;if(this.autoUpdate)this.scheduleJobRun()}).catch(()=>{this.currJobs--;if(this.autoUpdate)this.scheduleJobRun()})}this.currJobs=currJobs}scheduleJobRun(){if(!this.scheduled){this.schedulingCallback(this._runjobs);this.scheduled=true}}}$096d2234d1235002$exports.PriorityQueue=$096d2234d1235002$var$PriorityQueue;var $cd531a5f1c18e9cc$exports={};"use strict";Object.defineProperty($cd531a5f1c18e9cc$exports,"__esModule",{value:true});$cd531a5f1c18e9cc$exports.determineFrustumSet=$cd531a5f1c18e9cc$var$determineFrustumSet;$cd531a5f1c18e9cc$exports.markUsedSetLeaves=$cd531a5f1c18e9cc$var$markUsedSetLeaves;$cd531a5f1c18e9cc$exports.skipTraversal=$cd531a5f1c18e9cc$var$skipTraversal;$cd531a5f1c18e9cc$exports.toggleTiles=$cd531a5f1c18e9cc$var$toggleTiles;$cd531a5f1c18e9cc$exports.traverseSet=$cd531a5f1c18e9cc$var$traverseSet;var $002d29a772485791$exports={};"use strict";Object.defineProperty($002d29a772485791$exports,"__esModule",{value:true});$002d29a772485791$exports.WGS84_RADIUS=$002d29a772485791$exports.WGS84_HEIGHT=$002d29a772485791$exports.WGS84_FLATTENING=$002d29a772485791$exports.UNLOADED=$002d29a772485791$exports.PARSING=$002d29a772485791$exports.LOADING=$002d29a772485791$exports.LOADED=$002d29a772485791$exports.FAILED=void 0;const $002d29a772485791$var$UNLOADED=0;$002d29a772485791$exports.UNLOADED=$002d29a772485791$var$UNLOADED;const $002d29a772485791$var$LOADING=1;$002d29a772485791$exports.LOADING=$002d29a772485791$var$LOADING;const $002d29a772485791$var$PARSING=2;$002d29a772485791$exports.PARSING=$002d29a772485791$var$PARSING;const $002d29a772485791$var$LOADED=3;$002d29a772485791$exports.LOADED=$002d29a772485791$var$LOADED;const $002d29a772485791$var$FAILED=4;$002d29a772485791$exports.FAILED=$002d29a772485791$var$FAILED;const $002d29a772485791$var$WGS84_RADIUS=6378137;$002d29a772485791$exports.WGS84_RADIUS=$002d29a772485791$var$WGS84_RADIUS;const $002d29a772485791$var$WGS84_FLATTENING=1/298.257223563;$002d29a772485791$exports.WGS84_FLATTENING=$002d29a772485791$var$WGS84_FLATTENING;const $002d29a772485791$var$WGS84_HEIGHT=-($002d29a772485791$var$WGS84_FLATTENING*$002d29a772485791$var$WGS84_RADIUS-$002d29a772485791$var$WGS84_RADIUS);$002d29a772485791$exports.WGS84_HEIGHT=$002d29a772485791$var$WGS84_HEIGHT;function $cd531a5f1c18e9cc$var$isDownloadFinished(value){return value===$002d29a772485791$exports.LOADED||value===$002d29a772485791$exports.FAILED}function $cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount){return tile.__lastFrameVisited===frameCount&&tile.__used}function $cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount){if(tile.__lastFrameVisited!==frameCount){tile.__lastFrameVisited=frameCount;tile.__used=false;tile.__inFrustum=false;tile.__isLeaf=false;tile.__visible=false;tile.__active=false;tile.__error=Infinity;tile.__distanceFromCamera=Infinity;tile.__childrenWereVisible=false;tile.__allChildrenLoaded=false}}function $cd531a5f1c18e9cc$var$recursivelyMarkUsed(tile,frameCount,lruCache,renderer){renderer.ensureChildrenArePreprocessed(tile);$cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount);tile.__used=true;lruCache.markUsed(tile);if(tile.__contentEmpty){const children=tile.children;for(let i=0,l=children.length;i<l;i++)$cd531a5f1c18e9cc$var$recursivelyMarkUsed(children[i],frameCount,lruCache,renderer)}}function $cd531a5f1c18e9cc$var$recursivelyLoadTiles(tile,depthFromRenderedParent,renderer){renderer.ensureChildrenArePreprocessed(tile);const doTraverse=tile.__contentEmpty&&(!tile.__externalTileSet||$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState));if(doTraverse){const children=tile.children;for(let i=0,l=children.length;i<l;i++){const child=children[i];child.__depthFromRenderedParent=depthFromRenderedParent;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(child,depthFromRenderedParent,renderer)}}else renderer.requestTileContents(tile)}function $cd531a5f1c18e9cc$var$traverseSet(tile,beforeCb=null,afterCb=null,parent=null,depth=0){if(beforeCb&&beforeCb(tile,parent,depth)){if(afterCb)afterCb(tile,parent,depth);return}const children=tile.children;for(let i=0,l=children.length;i<l;i++)$cd531a5f1c18e9cc$var$traverseSet(children[i],beforeCb,afterCb,tile,depth+1);if(afterCb)afterCb(tile,parent,depth)}function $cd531a5f1c18e9cc$var$determineFrustumSet(tile,renderer){renderer.ensureChildrenArePreprocessed(tile);const stats=renderer.stats;const frameCount=renderer.frameCount;const errorTarget=renderer.errorTarget;const maxDepth=renderer.maxDepth;const loadSiblings=renderer.loadSiblings;const lruCache=renderer.lruCache;const stopAtEmptyTiles=renderer.stopAtEmptyTiles;$cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount);const inFrustum=renderer.tileInView(tile);if(inFrustum===false)return false;tile.__used=true;lruCache.markUsed(tile);tile.__inFrustum=true;stats.inFrustum++;if((stopAtEmptyTiles||!tile.__contentEmpty)&&!tile.__externalTileSet){renderer.calculateError(tile);const error=tile.__error;if(error<=errorTarget)return true;if(renderer.maxDepth>0&&tile.__depth+1>=maxDepth)return true}let anyChildrenUsed=false;const children=tile.children;for(let i=0,l=children.length;i<l;i++){const c=children[i];const r=$cd531a5f1c18e9cc$var$determineFrustumSet(c,renderer);anyChildrenUsed=anyChildrenUsed||r}if(anyChildrenUsed&&loadSiblings)for(let i=0,l=children.length;i<l;i++){const c=children[i];$cd531a5f1c18e9cc$var$recursivelyMarkUsed(c,frameCount,lruCache,renderer)}return true}function $cd531a5f1c18e9cc$var$markUsedSetLeaves(tile,renderer){const stats=renderer.stats;const frameCount=renderer.frameCount;if(!$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount))return;stats.used++;const children=tile.children;let anyChildrenUsed=false;for(let i=0,l=children.length;i<l;i++){const c=children[i];anyChildrenUsed=anyChildrenUsed||$cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)}if(!anyChildrenUsed)tile.__isLeaf=true;else{let childrenWereVisible=false;let allChildrenLoaded=true;for(let i=0,l=children.length;i<l;i++){const c=children[i];$cd531a5f1c18e9cc$var$markUsedSetLeaves(c,renderer);childrenWereVisible=childrenWereVisible||c.__wasSetVisible||c.__childrenWereVisible;if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)){const childLoaded=c.__allChildrenLoaded||!c.__contentEmpty&&$cd531a5f1c18e9cc$var$isDownloadFinished(c.__loadingState)||c.__externalTileSet&&c.__loadingState===$002d29a772485791$exports.FAILED;allChildrenLoaded=allChildrenLoaded&&childLoaded}}tile.__childrenWereVisible=childrenWereVisible;tile.__allChildrenLoaded=allChildrenLoaded}}function $cd531a5f1c18e9cc$var$skipTraversal(tile,renderer){const stats=renderer.stats;const frameCount=renderer.frameCount;if(!$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount))return;const parent=tile.parent;const parentDepthToParent=parent?parent.__depthFromRenderedParent:-1;tile.__depthFromRenderedParent=parentDepthToParent;const lruCache=renderer.lruCache;if(tile.__isLeaf){tile.__depthFromRenderedParent++;if(tile.__loadingState===$002d29a772485791$exports.LOADED){if(tile.__inFrustum){tile.__visible=true;stats.visible++}tile.__active=true;stats.active++}else if(!lruCache.isFull()&&(!tile.__contentEmpty||tile.__externalTileSet))renderer.requestTileContents(tile);return}const errorRequirement=(renderer.errorTarget+1)*renderer.errorThreshold;const meetsSSE=tile.__error<=errorRequirement;const includeTile=meetsSSE||tile.refine==="ADD";const hasModel=!tile.__contentEmpty;const hasContent=hasModel||tile.__externalTileSet;const loadedContent=$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState)&&hasContent;const childrenWereVisible=tile.__childrenWereVisible;const children=tile.children;const allChildrenHaveContent=tile.__allChildrenLoaded;if(includeTile&&hasModel)tile.__depthFromRenderedParent++;if(includeTile&&!loadedContent&&!lruCache.isFull()&&hasContent)renderer.requestTileContents(tile);if(meetsSSE&&!allChildrenHaveContent&&!childrenWereVisible&&loadedContent||tile.refine==="ADD"&&loadedContent){if(tile.__inFrustum){tile.__visible=true;stats.visible++}tile.__active=true;stats.active++}if(tile.refine!=="ADD"&&meetsSSE&&!allChildrenHaveContent&&loadedContent)for(let i=0,l=children.length;i<l;i++){const c=children[i];if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)&&!lruCache.isFull()){c.__depthFromRenderedParent=tile.__depthFromRenderedParent+1;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(c,c.__depthFromRenderedParent,renderer)}}else for(let i=0,l=children.length;i<l;i++){const c=children[i];if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount))$cd531a5f1c18e9cc$var$skipTraversal(c,renderer)}}function $cd531a5f1c18e9cc$var$toggleTiles(tile,renderer){const frameCount=renderer.frameCount;const isUsed=$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount);if(isUsed||tile.__usedLastFrame){let setActive=false;let setVisible=false;if(isUsed){setActive=tile.__active;if(renderer.displayActiveTiles)setVisible=tile.__active||tile.__visible;else setVisible=tile.__visible}if(!tile.__contentEmpty&&tile.__loadingState===$002d29a772485791$exports.LOADED){if(tile.__wasSetActive!==setActive)renderer.setTileActive(tile,setActive);if(tile.__wasSetVisible!==setVisible)renderer.setTileVisible(tile,setVisible)}tile.__wasSetActive=setActive;tile.__wasSetVisible=setVisible;tile.__usedLastFrame=isUsed;const children=tile.children;for(let i=0,l=children.length;i<l;i++){const c=children[i];$cd531a5f1c18e9cc$var$toggleTiles(c,renderer)}}}const $5a6f7a997885dc30$var$priorityCallback=(a,b)=>{if(a.__depth!==b.__depth)return a.__depth>b.__depth?-1:1;else if(a.__inFrustum!==b.__inFrustum)return a.__inFrustum?1:-1;else if(a.__used!==b.__used)return a.__used?1:-1;else if(a.__error!==b.__error)return a.__error>b.__error?1:-1;else if(a.__distanceFromCamera!==b.__distanceFromCamera)return a.__distanceFromCamera>b.__distanceFromCamera?-1:1;return 0};const $5a6f7a997885dc30$var$lruPriorityCallback=tile=>1/(tile.__depthFromRenderedParent+1);class $5a6f7a997885dc30$var$TilesRendererBase{get rootTileSet(){const tileSet=this.tileSets[this.rootURL];if(!tileSet||tileSet instanceof Promise)return null;else return tileSet}get root(){const tileSet=this.rootTileSet;return tileSet?tileSet.root:null}constructor(url){this.tileSets={};this.rootURL=url;this.fetchOptions={};this.preprocessURL=null;const lruCache=new $e0d7a242557dc8e6$exports.LRUCache;lruCache.unloadPriorityCallback=$5a6f7a997885dc30$var$lruPriorityCallback;const downloadQueue=new $096d2234d1235002$exports.PriorityQueue;downloadQueue.maxJobs=4;downloadQueue.priorityCallback=$5a6f7a997885dc30$var$priorityCallback;const parseQueue=new $096d2234d1235002$exports.PriorityQueue;parseQueue.maxJobs=1;parseQueue.priorityCallback=$5a6f7a997885dc30$var$priorityCallback;this.lruCache=lruCache;this.downloadQueue=downloadQueue;this.parseQueue=parseQueue;this.stats={parsing:0,downloading:0,failed:0,inFrustum:0,used:0,active:0,visible:0};this.frameCount=0;this.errorTarget=6;this.errorThreshold=Infinity;this.loadSiblings=true;this.displayActiveTiles=false;this.maxDepth=Infinity;this.stopAtEmptyTiles=true}traverse(beforecb,aftercb){const tileSets=this.tileSets;const rootTileSet=tileSets[this.rootURL];if(!rootTileSet||!rootTileSet.root)return;(0,$cd531a5f1c18e9cc$exports.traverseSet)(rootTileSet.root,(tile,...args)=>{this.ensureChildrenArePreprocessed(tile);return beforecb?beforecb(tile,...args):false},aftercb)}update(){const stats=this.stats;const lruCache=this.lruCache;const tileSets=this.tileSets;const rootTileSet=tileSets[this.rootURL];if(!(this.rootURL in tileSets)){this.loadRootTileSet(this.rootURL);return}else if(!rootTileSet||!rootTileSet.root)return;const root=rootTileSet.root;stats.inFrustum=0,stats.used=0,stats.active=0,stats.visible=0,this.frameCount++;(0,$cd531a5f1c18e9cc$exports.determineFrustumSet)(root,this);(0,$cd531a5f1c18e9cc$exports.markUsedSetLeaves)(root,this);(0,$cd531a5f1c18e9cc$exports.skipTraversal)(root,this);(0,$cd531a5f1c18e9cc$exports.toggleTiles)(root,this);lruCache.scheduleUnload()}parseTile(buffer,tile,extension){return null}disposeTile(tile){}preprocessNode(tile,tileSetDir,parentTile=null){if(tile.content){if(!("uri"in tile.content)&&"url"in tile.content){tile.content.uri=tile.content.url;delete tile.content.url}if(tile.content.uri)tile.content.uri=new URL(tile.content.uri,tileSetDir+"/").toString();if(tile.content.boundingVolume&&!("box"in tile.content.boundingVolume||"sphere"in tile.content.boundingVolume||"region"in tile.content.boundingVolume))delete tile.content.boundingVolume}tile.parent=parentTile;tile.children=tile.children||[];const uri=tile.content&&tile.content.uri;if(uri){const extension=(0,$7ff9fb142d83939f$exports.getUrlExtension)(tile.content.uri);const isExternalTileSet=Boolean(extension&&extension.toLowerCase()==="json");tile.__externalTileSet=isExternalTileSet;tile.__contentEmpty=isExternalTileSet}else{tile.__externalTileSet=false;tile.__contentEmpty=true}tile.__distanceFromCamera=Infinity;tile.__error=Infinity;tile.__inFrustum=false;tile.__isLeaf=false;tile.__usedLastFrame=false;tile.__used=false;tile.__wasSetVisible=false;tile.__visible=false;tile.__childrenWereVisible=false;tile.__allChildrenLoaded=false;tile.__wasSetActive=false;tile.__active=false;tile.__loadingState=$002d29a772485791$exports.UNLOADED;tile.__loadIndex=0;tile.__loadAbort=null;tile.__depthFromRenderedParent=-1;if(parentTile===null){tile.__depth=0;tile.refine=tile.refine||"REPLACE"}else{tile.__depth=parentTile.__depth+1;tile.refine=tile.refine||parentTile.refine}tile.__basePath=tileSetDir}setTileActive(tile,state){}setTileVisible(tile,state){}calculateError(tile){return 0}tileInView(tile){return true}ensureChildrenArePreprocessed(tile){const children=tile.children;for(let i=0,l=children.length;i<l;i++){const child=children[i];if("__depth"in child)break;this.preprocessNode(child,tile.__basePath,tile)}}resetFailedTiles(){const stats=this.stats;if(stats.failed===0)return;this.traverse(tile=>{if(tile.__loadingState===$002d29a772485791$exports.FAILED)tile.__loadingState=$002d29a772485791$exports.UNLOADED});stats.failed=0}fetchTileSet(url,fetchOptions,parent=null){return fetch(url,fetchOptions).then(res=>{if(res.ok)return res.json();else throw new Error(`TilesRenderer: Failed to load tileset "${url}" with status ${res.status} : ${res.statusText}`)}).then(json=>{const version=json.asset.version;console.assert(version==="1.0"||version==="0.0","asset.version is expected to be a string of \"1.0\" or \"0.0\"");let basePath=url.replace(/\/[^\/]*\/?$/,"");basePath=new URL(basePath,window.location.href).toString();this.preprocessNode(json.root,basePath,parent);return json})}loadRootTileSet(url){const tileSets=this.tileSets;if(!(url in tileSets)){const pr=this.fetchTileSet(this.preprocessURL?this.preprocessURL(url):url,this.fetchOptions).then(json=>{tileSets[url]=json});pr.catch(err=>{console.error(err);tileSets[url]=err});tileSets[url]=pr;return pr}else if(tileSets[url]instanceof Error)return Promise.reject(tileSets[url]);else return Promise.resolve(tileSets[url])}requestTileContents(tile){if(tile.__loadingState!==$002d29a772485791$exports.UNLOADED)return;const stats=this.stats;const lruCache=this.lruCache;const downloadQueue=this.downloadQueue;const parseQueue=this.parseQueue;const isExternalTileSet=tile.__externalTileSet;lruCache.add(tile,t=>{if(t.__loadingState===$002d29a772485791$exports.LOADING){t.__loadAbort.abort();t.__loadAbort=null}else if(isExternalTileSet)t.children.length=0;else this.disposeTile(t);if(t.__loadingState===$002d29a772485791$exports.LOADING)stats.downloading--;else if(t.__loadingState===$002d29a772485791$exports.PARSING)stats.parsing--;t.__loadingState=$002d29a772485791$exports.UNLOADED;t.__loadIndex++;parseQueue.remove(t);downloadQueue.remove(t)});tile.__loadIndex++;const loadIndex=tile.__loadIndex;const controller=new AbortController;const signal=controller.signal;stats.downloading++;tile.__loadAbort=controller;tile.__loadingState=$002d29a772485791$exports.LOADING;const errorCallback=e=>{if(tile.__loadIndex!==loadIndex)return;if(e.name!=="AbortError"){parseQueue.remove(tile);downloadQueue.remove(tile);if(tile.__loadingState===$002d29a772485791$exports.PARSING)stats.parsing--;else if(tile.__loadingState===$002d29a772485791$exports.LOADING)stats.downloading--;stats.failed++;console.error(`TilesRenderer : Failed to load tile at url "${tile.content.uri}".`);console.error(e);tile.__loadingState=$002d29a772485791$exports.FAILED}else lruCache.remove(tile)};if(isExternalTileSet)downloadQueue.add(tile,tileCb=>{if(tileCb.__loadIndex!==loadIndex)return Promise.resolve();const uri=this.preprocessURL?this.preprocessURL(tileCb.content.uri):tileCb.content.uri;return this.fetchTileSet(uri,Object.assign({signal:signal},this.fetchOptions),tileCb)}).then(json=>{if(tile.__loadIndex!==loadIndex)return;stats.downloading--;tile.__loadAbort=null;tile.__loadingState=$002d29a772485791$exports.LOADED;tile.children.push(json.root)}).catch(errorCallback);else downloadQueue.add(tile,downloadTile=>{if(downloadTile.__loadIndex!==loadIndex)return Promise.resolve();const uri=this.preprocessURL?this.preprocessURL(downloadTile.content.uri):downloadTile.content.uri;return fetch(uri,Object.assign({signal:signal},this.fetchOptions))}).then(res=>{if(tile.__loadIndex!==loadIndex)return;if(res.ok)return res.arrayBuffer();else throw new Error(`Failed to load model with error code ${res.status}`)}).then(buffer=>{if(tile.__loadIndex!==loadIndex)return;stats.downloading--;stats.parsing++;tile.__loadAbort=null;tile.__loadingState=$002d29a772485791$exports.PARSING;return parseQueue.add(tile,parseTile=>{if(parseTile.__loadIndex!==loadIndex)return Promise.resolve();const uri=parseTile.content.uri;const extension=(0,$7ff9fb142d83939f$exports.getUrlExtension)(uri);return this.parseTile(buffer,parseTile,extension)})}).then(()=>{if(tile.__loadIndex!==loadIndex)return;stats.parsing--;tile.__loadingState=$002d29a772485791$exports.LOADED;if(tile.__wasSetVisible)this.setTileVisible(tile,true);if(tile.__wasSetActive)this.setTileActive(tile,true)}).catch(errorCallback)}dispose(){const lruCache=this.lruCache;const toRemove=[];this.traverse(t=>{toRemove.push(t);return false});for(let i=0,l=toRemove.length;i<l;i++)lruCache.remove(toRemove[i]);this.stats={parsing:0,downloading:0,failed:0,inFrustum:0,used:0,active:0,visible:0};this.frameCount=0}}$5a6f7a997885dc30$exports.TilesRendererBase=$5a6f7a997885dc30$var$TilesRendererBase;var $0aa3d1def57e98b1$exports={};"use strict";Object.defineProperty($0aa3d1def57e98b1$exports,"__esModule",{value:true});$0aa3d1def57e98b1$exports.B3DMLoader=void 0;var $f5d9b5dde53306bf$exports={};"use strict";Object.defineProperty($f5d9b5dde53306bf$exports,"__esModule",{value:true});$f5d9b5dde53306bf$exports.B3DMLoaderBase=void 0;var $5bfd2e53a5ab8bef$exports={};"use strict";Object.defineProperty($5bfd2e53a5ab8bef$exports,"__esModule",{value:true});$5bfd2e53a5ab8bef$exports.FeatureTable=$5bfd2e53a5ab8bef$exports.BatchTable=void 0;var $5d480c6739d4b949$exports={};"use strict";Object.defineProperty($5d480c6739d4b949$exports,"__esModule",{value:true});$5d480c6739d4b949$exports.arrayToString=$5d480c6739d4b949$var$arrayToString;function $5d480c6739d4b949$var$arrayToString(array){const utf8decoder=new TextDecoder;return utf8decoder.decode(array)}class $5bfd2e53a5ab8bef$var$FeatureTable{constructor(buffer,start,headerLength,binLength){this.buffer=buffer;this.binOffset=start+headerLength;this.binLength=binLength;let header=null;if(headerLength!==0){const headerData=new Uint8Array(buffer,start,headerLength);header=JSON.parse((0,$5d480c6739d4b949$exports.arrayToString)(headerData))}else header={};this.header=header}getKeys(){return Object.keys(this.header)}getData(key,count,defaultComponentType=null,defaultType=null){const header=this.header;if(!(key in header))return null;const feature=header[key];if(!(feature instanceof Object))return feature;else if(Array.isArray(feature))return feature;else{const{buffer:buffer,binOffset:binOffset,binLength:binLength}=this;const byteOffset=feature.byteOffset||0;const featureType=feature.type||defaultType;const featureComponentType=feature.componentType||defaultComponentType;if("type"in feature&&defaultType&&feature.type!==defaultType)throw new Error("FeatureTable: Specified type does not match expected type.");let stride;switch(featureType){case"SCALAR":stride=1;break;case"VEC2":stride=2;break;case"VEC3":stride=3;break;case"VEC4":stride=4;break;default:throw new Error(`FeatureTable : Feature type not provided for "${key}".`);}let data;const arrayStart=binOffset+byteOffset;const arrayLength=count*stride;switch(featureComponentType){case"BYTE":data=new Int8Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_BYTE":data=new Uint8Array(buffer,arrayStart,arrayLength);break;case"SHORT":data=new Int16Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_SHORT":data=new Uint16Array(buffer,arrayStart,arrayLength);break;case"INT":data=new Int32Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_INT":data=new Uint32Array(buffer,arrayStart,arrayLength);break;case"FLOAT":data=new Float32Array(buffer,arrayStart,arrayLength);break;case"DOUBLE":data=new Float64Array(buffer,arrayStart,arrayLength);break;default:throw new Error(`FeatureTable : Feature component type not provided for "${key}".`);}const dataEnd=arrayStart+arrayLength*data.BYTES_PER_ELEMENT;if(dataEnd>binOffset+binLength)throw new Error("FeatureTable: Feature data read outside binary body length.");return data}}getBuffer(byteOffset,byteLength){const{buffer:buffer,binOffset:binOffset}=this;return buffer.slice(binOffset+byteOffset,binOffset+byteOffset+byteLength)}}$5bfd2e53a5ab8bef$exports.FeatureTable=$5bfd2e53a5ab8bef$var$FeatureTable;class $5bfd2e53a5ab8bef$var$BatchTable extends $5bfd2e53a5ab8bef$var$FeatureTable{constructor(buffer,batchSize,start,headerLength,binLength){super(buffer,start,headerLength,binLength);this.batchSize=batchSize}getData(key,componentType=null,type=null){return super.getData(key,this.batchSize,componentType,type)}}$5bfd2e53a5ab8bef$exports.BatchTable=$5bfd2e53a5ab8bef$var$BatchTable;var $e6b785bba9ea128d$exports={};"use strict";Object.defineProperty($e6b785bba9ea128d$exports,"__esModule",{value:true});$e6b785bba9ea128d$exports.LoaderBase=void 0;class $e6b785bba9ea128d$var$LoaderBase{constructor(){this.fetchOptions={};this.workingPath=""}load(url){return fetch(url,this.fetchOptions).then(res=>{if(!res.ok)throw new Error(`Failed to load file "${url}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=>{if(this.workingPath==="")this.workingPath=this.workingPathForURL(url);return this.parse(buffer)})}resolveExternalURL(url){if(/^[^\\/]/.test(url))return this.workingPath+"/"+url;else return url}workingPathForURL(url){const splits=url.split(/[\\/]/g);splits.pop();const workingPath=splits.join("/");return workingPath+"/"}parse(buffer){throw new Error("LoaderBase: Parse not implemented.")}}$e6b785bba9ea128d$exports.LoaderBase=$e6b785bba9ea128d$var$LoaderBase;var $9e3e194659cc5776$exports={};"use strict";Object.defineProperty($9e3e194659cc5776$exports,"__esModule",{value:true});$9e3e194659cc5776$exports.readMagicBytes=$9e3e194659cc5776$var$readMagicBytes;function $9e3e194659cc5776$var$readMagicBytes(bufferOrDataView){let view;if(bufferOrDataView instanceof DataView)view=bufferOrDataView;else view=new DataView(bufferOrDataView);if(String.fromCharCode(view.getUint8(0))==="{")return null;let magicBytes="";for(let i=0;i<4;i++)magicBytes+=String.fromCharCode(view.getUint8(i));return magicBytes}class $f5d9b5dde53306bf$var$B3DMLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="b3dm");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const featureTableStart=28;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("BATCH_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);const glbStart=batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength;const glbBytes=new Uint8Array(buffer,glbStart,byteLength-glbStart);return{version:version,featureTable:featureTable,batchTable:batchTable,glbBytes:glbBytes}}}$f5d9b5dde53306bf$exports.B3DMLoaderBase=$f5d9b5dde53306bf$var$B3DMLoaderBase;class $0aa3d1def57e98b1$var$B3DMLoader extends $f5d9b5dde53306bf$exports.B3DMLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}parse(buffer){const b3dm=super.parse(buffer);const gltfBuffer=b3dm.glbBytes.slice().buffer;return new Promise((resolve,reject)=>{const manager=this.manager;const fetchOptions=this.fetchOptions;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&&fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers);let workingPath=this.workingPath;if(!/[\\/]$/.test(workingPath)&&workingPath.length)workingPath+="/";const adjustmentTransform=this.adjustmentTransform;loader.parse(gltfBuffer,workingPath,model=>{const{batchTable:batchTable,featureTable:featureTable}=b3dm;const{scene:scene}=model;const rtcCenter=featureTable.getData("RTC_CENTER");if(rtcCenter){scene.position.x+=rtcCenter[0];scene.position.y+=rtcCenter[1];scene.position.z+=rtcCenter[2]}model.scene.updateMatrix();model.scene.matrix.multiply(adjustmentTransform);model.scene.matrix.decompose(model.scene.position,model.scene.quaternion,model.scene.scale);model.batchTable=batchTable;model.featureTable=featureTable;scene.batchTable=batchTable;scene.featureTable=featureTable;resolve(model)},reject)})}}$0aa3d1def57e98b1$exports.B3DMLoader=$0aa3d1def57e98b1$var$B3DMLoader;var $1ddd6ca16eb224df$exports={};"use strict";Object.defineProperty($1ddd6ca16eb224df$exports,"__esModule",{value:true});$1ddd6ca16eb224df$exports.PNTSLoader=void 0;var $d408eda5a179398a$exports={};"use strict";Object.defineProperty($d408eda5a179398a$exports,"__esModule",{value:true});$d408eda5a179398a$exports.PNTSLoaderBase=void 0;class $d408eda5a179398a$var$PNTSLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="pnts");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const featureTableStart=28;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("BATCH_LENGTH")||featureTable.getData("POINTS_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);return Promise.resolve({version:version,featureTable:featureTable,batchTable:batchTable})}}$d408eda5a179398a$exports.PNTSLoaderBase=$d408eda5a179398a$var$PNTSLoaderBase;const $1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP={RGB:"color",POSITION:"position"};class $1ddd6ca16eb224df$var$PNTSLoader extends $d408eda5a179398a$exports.PNTSLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager}parse(buffer){return super.parse(buffer).then(async result=>{const{featureTable:featureTable}=result;const material=new $5OpyM$PointsMaterial;const extensions=featureTable.header.extensions;const translationOffset=new $5OpyM$Vector3;let geometry;if(extensions&&extensions["3DTILES_draco_point_compression"]){const{byteOffset:byteOffset,byteLength:byteLength,properties:properties}=extensions["3DTILES_draco_point_compression"];const dracoLoader=this.manager.getHandler("draco.drc");if(dracoLoader==null)throw new Error("PNTSLoader: dracoLoader not available.");const attributeIDs={};for(const key in properties)if(key in $1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP&&key in properties){const mappedKey=$1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP[key];attributeIDs[mappedKey]=properties[key]}const taskConfig={attributeIDs:attributeIDs,attributeTypes:{position:"Float32Array",color:"Uint8Array"},useUniqueIDs:true};const buffer=featureTable.getBuffer(byteOffset,byteLength);geometry=await dracoLoader.decodeGeometry(buffer,taskConfig);if(geometry.attributes.color)material.vertexColors=true}else{const POINTS_LENGTH=featureTable.getData("POINTS_LENGTH");const POSITION=featureTable.getData("POSITION",POINTS_LENGTH,"FLOAT","VEC3");const RGB=featureTable.getData("RGB",POINTS_LENGTH,"UNSIGNED_BYTE","VEC3");const POSITION_QUANTIZED=featureTable.getData("POSITION_QUANTIZED",POINTS_LENGTH,"UNSIGNED_SHORT","VEC3");const QUANTIZED_VOLUME_SCALE=featureTable.getData("QUANTIZED_VOLUME_SCALE",POINTS_LENGTH,"FLOAT","VEC3");const QUANTIZED_VOLUME_OFFSET=featureTable.getData("QUANTIZED_VOLUME_OFFSET",POINTS_LENGTH,"FLOAT","VEC3");geometry=new $5OpyM$BufferGeometry;if(POSITION_QUANTIZED){const decodedPositions=new Float32Array(POINTS_LENGTH*3);for(let i=0;i<POINTS_LENGTH;i++)for(let j=0;j<3;j++){const index=3*i+j;decodedPositions[index]=POSITION_QUANTIZED[index]/65535*QUANTIZED_VOLUME_SCALE[j]}translationOffset.x=QUANTIZED_VOLUME_OFFSET[0];translationOffset.y=QUANTIZED_VOLUME_OFFSET[1];translationOffset.z=QUANTIZED_VOLUME_OFFSET[2];geometry.setAttribute("position",new $5OpyM$BufferAttribute(decodedPositions,3,false))}else geometry.setAttribute("position",new $5OpyM$BufferAttribute(POSITION,3,false));if(RGB!==null){geometry.setAttribute("color",new $5OpyM$BufferAttribute(RGB,3,true));material.vertexColors=true}}["CONSTANT_RGBA","BATCH_LENGTH","RGBA","RGB565","NORMAL","NORMAL_OCT16P"].forEach(feature=>{if(feature in featureTable.header)console.warn(`PNTSLoader: Unsupported FeatureTable feature "${feature}" detected.`)});const object=new $5OpyM$Points(geometry,material);object.position.copy(translationOffset);result.scene=object;result.scene.featureTable=featureTable;const rtcCenter=featureTable.getData("RTC_CENTER");if(rtcCenter){result.scene.position.x+=rtcCenter[0];result.scene.position.y+=rtcCenter[1];result.scene.position.z+=rtcCenter[2]}return result})}}$1ddd6ca16eb224df$exports.PNTSLoader=$1ddd6ca16eb224df$var$PNTSLoader;var $0bc85483bdeca322$exports={};"use strict";Object.defineProperty($0bc85483bdeca322$exports,"__esModule",{value:true});$0bc85483bdeca322$exports.I3DMLoader=void 0;var $bcb352fb74bed4a5$exports={};"use strict";Object.defineProperty($bcb352fb74bed4a5$exports,"__esModule",{value:true});$bcb352fb74bed4a5$exports.I3DMLoaderBase=void 0;class $bcb352fb74bed4a5$var$I3DMLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="i3dm");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const gltfFormat=dataView.getUint32(28,true);const featureTableStart=32;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("INSTANCES_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);const glbStart=batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength;const bodyBytes=new Uint8Array(buffer,glbStart,byteLength-glbStart);let glbBytes=null;let promise=null;if(gltfFormat){glbBytes=bodyBytes;promise=Promise.resolve()}else{const externalUri=this.resolveExternalURL((0,$5d480c6739d4b949$exports.arrayToString)(bodyBytes));promise=fetch(externalUri,this.fetchOptions).then(res=>{if(!res.ok)throw new Error(`I3DMLoaderBase : Failed to load file "${externalUri}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=>{glbBytes=new Uint8Array(buffer)})}return promise.then(()=>{return{version:version,featureTable:featureTable,batchTable:batchTable,glbBytes:glbBytes}})}}$bcb352fb74bed4a5$exports.I3DMLoaderBase=$bcb352fb74bed4a5$var$I3DMLoaderBase;const $0bc85483bdeca322$var$tempFwd=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempUp=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempRight=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempPos=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempQuat=new $5OpyM$Quaternion;const $0bc85483bdeca322$var$tempSca=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempMat=new $5OpyM$Matrix4;class $0bc85483bdeca322$var$I3DMLoader extends $bcb352fb74bed4a5$exports.I3DMLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}resolveExternalURL(url){return this.manager.resolveURL(super.resolveExternalURL(url))}parse(buffer){return super.parse(buffer).then(i3dm=>{const{featureTable:featureTable,batchTable:batchTable}=i3dm;const gltfBuffer=i3dm.glbBytes.slice().buffer;return new Promise((resolve,reject)=>{const fetchOptions=this.fetchOptions;const manager=this.manager;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&&fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers);let workingPath=this.workingPath;if(!/[\\/]$/.test(workingPath))workingPath+="/";const adjustmentTransform=this.adjustmentTransform;loader.parse(gltfBuffer,workingPath,model=>{const INSTANCES_LENGTH=featureTable.getData("INSTANCES_LENGTH");const POSITION=featureTable.getData("POSITION",INSTANCES_LENGTH,"FLOAT","VEC3");const NORMAL_UP=featureTable.getData("NORMAL_UP",INSTANCES_LENGTH,"FLOAT","VEC3");const NORMAL_RIGHT=featureTable.getData("NORMAL_RIGHT",INSTANCES_LENGTH,"FLOAT","VEC3");const SCALE_NON_UNIFORM=featureTable.getData("SCALE_NON_UNIFORM",INSTANCES_LENGTH,"FLOAT","VEC3");const SCALE=featureTable.getData("SCALE",INSTANCES_LENGTH,"FLOAT","SCALAR");["RTC_CENTER","QUANTIZED_VOLUME_OFFSET","QUANTIZED_VOLUME_SCALE","EAST_NORTH_UP","POSITION_QUANTIZED","NORMAL_UP_OCT32P","NORMAL_RIGHT_OCT32P"].forEach(feature=>{if(feature in featureTable.header)console.warn(`I3DMLoader: Unsupported FeatureTable feature "${feature}" detected.`)});const instanceMap=new Map;const instances=[];model.scene.traverse(child=>{if(child.isMesh){const{geometry:geometry,material:material}=child;const instancedMesh=new $5OpyM$InstancedMesh(geometry,material,INSTANCES_LENGTH);instancedMesh.position.copy(child.position);instancedMesh.rotation.copy(child.rotation);instancedMesh.scale.copy(child.scale);instances.push(instancedMesh);instanceMap.set(child,instancedMesh)}});const averageVector=new $5OpyM$Vector3;for(let i=0;i<INSTANCES_LENGTH;i++){averageVector.x+=POSITION[i*3+0]/INSTANCES_LENGTH;averageVector.y+=POSITION[i*3+1]/INSTANCES_LENGTH;averageVector.z+=POSITION[i*3+2]/INSTANCES_LENGTH}instanceMap.forEach((instancedMesh,mesh)=>{const parent=mesh.parent;if(parent){parent.remove(mesh);parent.add(instancedMesh);instancedMesh.updateMatrixWorld();instancedMesh.position.copy(averageVector).applyMatrix4(instancedMesh.matrixWorld)}});for(let i=0;i<INSTANCES_LENGTH;i++){$0bc85483bdeca322$var$tempPos.set(POSITION[i*3+0]-averageVector.x,POSITION[i*3+1]-averageVector.y,POSITION[i*3+2]-averageVector.z);if(NORMAL_UP){$0bc85483bdeca322$var$tempUp.set(NORMAL_UP[i*3+0],NORMAL_UP[i*3+1],NORMAL_UP[i*3+2]);$0bc85483bdeca322$var$tempRight.set(NORMAL_RIGHT[i*3+0],NORMAL_RIGHT[i*3+1],NORMAL_RIGHT[i*3+2]);$0bc85483bdeca322$var$tempFwd.crossVectors($0bc85483bdeca322$var$tempRight,$0bc85483bdeca322$var$tempUp).normalize();$0bc85483bdeca322$var$tempMat.makeBasis($0bc85483bdeca322$var$tempRight,$0bc85483bdeca322$var$tempUp,$0bc85483bdeca322$var$tempFwd);$0bc85483bdeca322$var$tempQuat.setFromRotationMatrix($0bc85483bdeca322$var$tempMat)}else $0bc85483bdeca322$var$tempQuat.set(0,0,0,1);if(SCALE)$0bc85483bdeca322$var$tempSca.setScalar(SCALE[i]);else if(SCALE_NON_UNIFORM)$0bc85483bdeca322$var$tempSca.set(SCALE_NON_UNIFORM[i*3+0],SCALE_NON_UNIFORM[i*3+1],SCALE_NON_UNIFORM[i*3+2]);else $0bc85483bdeca322$var$tempSca.set(1,1,1);$0bc85483bdeca322$var$tempMat.compose($0bc85483bdeca322$var$tempPos,$0bc85483bdeca322$var$tempQuat,$0bc85483bdeca322$var$tempSca).multiply(adjustmentTransform);for(let j=0,l=instances.length;j<l;j++){const instance=instances[j];instance.setMatrixAt(i,$0bc85483bdeca322$var$tempMat)}}model.batchTable=batchTable;model.featureTable=featureTable;model.scene.batchTable=batchTable;model.scene.featureTable=featureTable;resolve(model)},reject)})})}}$0bc85483bdeca322$exports.I3DMLoader=$0bc85483bdeca322$var$I3DMLoader;var $54879e9a7dc345e0$exports={};"use strict";Object.defineProperty($54879e9a7dc345e0$exports,"__esModule",{value:true});$54879e9a7dc345e0$exports.CMPTLoader=void 0;var $cb66a16334732244$exports={};"use strict";Object.defineProperty($cb66a16334732244$exports,"__esModule",{value:true});$cb66a16334732244$exports.CMPTLoaderBase=void 0;class $cb66a16334732244$var$CMPTLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="cmpt","CMPTLoader: The magic bytes equal \"cmpt\".");const version=dataView.getUint32(4,true);console.assert(version===1,"CMPTLoader: The version listed in the header is \"1\".");const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength,"CMPTLoader: The contents buffer length listed in the header matches the file.");const tilesLength=dataView.getUint32(12,true);const tiles=[];let offset=16;for(let i=0;i<tilesLength;i++){const tileView=new DataView(buffer,offset,12);const tileMagic=(0,$9e3e194659cc5776$exports.readMagicBytes)(tileView);const tileVersion=tileView.getUint32(4,true);const byteLength=tileView.getUint32(8,true);const tileBuffer=new Uint8Array(buffer,offset,byteLength);tiles.push({type:tileMagic,buffer:tileBuffer,version:tileVersion});offset+=byteLength}return{version:version,tiles:tiles}}}$cb66a16334732244$exports.CMPTLoaderBase=$cb66a16334732244$var$CMPTLoaderBase;class $54879e9a7dc345e0$var$CMPTLoader extends $cb66a16334732244$exports.CMPTLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}parse(buffer){const result=super.parse(buffer);const manager=this.manager;const adjustmentTransform=this.adjustmentTransform;const promises=[];for(const i in result.tiles){const{type:type,buffer:buffer}=result.tiles[i];switch(type){case"b3dm":{const slicedBuffer=buffer.slice();const loader=new $0aa3d1def57e98b1$exports.B3DMLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;loader.adjustmentTransform.copy(adjustmentTransform);const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}case"pnts":{const slicedBuffer=buffer.slice();const loader=new $1ddd6ca16eb224df$exports.PNTSLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}case"i3dm":{const slicedBuffer=buffer.slice();const loader=new $0bc85483bdeca322$exports.I3DMLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;loader.adjustmentTransform.copy(adjustmentTransform);const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}}}return Promise.all(promises).then(results=>{const group=new $5OpyM$Group;results.forEach(result=>{group.add(result.scene)});return{tiles:results,scene:group}})}}$54879e9a7dc345e0$exports.CMPTLoader=$54879e9a7dc345e0$var$CMPTLoader;var $29ced67d26e5c4e2$exports={};"use strict";Object.defineProperty($29ced67d26e5c4e2$exports,"__esModule",{value:true});$29ced67d26e5c4e2$exports.GLTFExtensionLoader=void 0;var $44c3bffa5e49f297$exports={};"use strict";Object.defineProperty($44c3bffa5e49f297$exports,"__esModule",{value:true});$44c3bffa5e49f297$exports.GLTFCesiumRTCExtension=void 0;class $44c3bffa5e49f297$var$GLTFCesiumRTCExtension{constructor(){this.name="CESIUM_RTC"}afterRoot(res){if(res.parser.json.extensions&&res.parser.json.extensions.CESIUM_RTC){const{center:center}=res.parser.json.extensions.CESIUM_RTC;if(center){res.scene.position.x+=center[0];res.scene.position.y+=center[1];res.scene.position.z+=center[2]}}}}$44c3bffa5e49f297$exports.GLTFCesiumRTCExtension=$44c3bffa5e49f297$var$GLTFCesiumRTCExtension;class $29ced67d26e5c4e2$var$GLTFExtensionLoader extends $e6b785bba9ea128d$exports.LoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager}parse(buffer){return new Promise((resolve,reject)=>{const manager=this.manager;const fetchOptions=this.fetchOptions;let loader=manager.getHandler("path.gltf")||manager.getHandler("path.glb");if(!loader){loader=new $5OpyM$GLTFLoader(manager);loader.register(()=>new $44c3bffa5e49f297$exports.GLTFCesiumRTCExtension);if(fetchOptions.credentials==="include"&&fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers)}let resourcePath=loader.resourcePath||loader.path||this.workingPath;if(!/[\\/]$/.test(resourcePath)&&resourcePath.length)resourcePath+="/";loader.parse(buffer,resourcePath,model=>{resolve(model)},reject)})}}$29ced67d26e5c4e2$exports.GLTFExtensionLoader=$29ced67d26e5c4e2$var$GLTFExtensionLoader;var $3fcce8a4f74b2abc$exports={};"use strict";Object.defineProperty($3fcce8a4f74b2abc$exports,"__esModule",{value:true});$3fcce8a4f74b2abc$exports.TilesGroup=void 0;const $3fcce8a4f74b2abc$var$tempMat=new $5OpyM$Matrix4;class $3fcce8a4f74b2abc$var$TilesGroup extends $5OpyM$Group{constructor(tilesRenderer){super();this.name="TilesRenderer.TilesGroup";this.tilesRenderer=tilesRenderer}raycast(raycaster,intersects){if(this.tilesRenderer.optimizeRaycast)this.tilesRenderer.raycast(raycaster,intersects)}updateMatrixWorld(force){if(this.matrixAutoUpdate)this.updateMatrix();if(this.matrixWorldNeedsUpdate||force){if(this.parent===null)$3fcce8a4f74b2abc$var$tempMat.copy(this.matrix);else $3fcce8a4f74b2abc$var$tempMat.multiplyMatrices(this.parent.matrixWorld,this.matrix);this.matrixWorldNeedsUpdate=false;const elA=$3fcce8a4f74b2abc$var$tempMat.elements;const elB=this.matrixWorld.elements;let isDifferent=false;for(let i=0;i<16;i++){const itemA=elA[i];const itemB=elB[i];const diff=Math.abs(itemA-itemB);if(diff>Number.EPSILON){isDifferent=true;break}}if(isDifferent){this.matrixWorld.copy($3fcce8a4f74b2abc$var$tempMat);const children=this.children;for(let i=0,l=children.length;i<l;i++)children[i].updateMatrixWorld()}}}}$3fcce8a4f74b2abc$exports.TilesGroup=$3fcce8a4f74b2abc$var$TilesGroup;var $c1ac95a1e8efcc86$exports={};"use strict";Object.defineProperty($c1ac95a1e8efcc86$exports,"__esModule",{value:true});$c1ac95a1e8efcc86$exports.raycastTraverse=$c1ac95a1e8efcc86$var$raycastTraverse;$c1ac95a1e8efcc86$exports.raycastTraverseFirstHit=$c1ac95a1e8efcc86$var$raycastTraverseFirstHit;const $c1ac95a1e8efcc86$var$_mat=new $5OpyM$Matrix4;const $c1ac95a1e8efcc86$var$_localRay=new $5OpyM$Ray;const $c1ac95a1e8efcc86$var$_vec=new $5OpyM$Vector3;const $c1ac95a1e8efcc86$var$_hitArray=[];function $c1ac95a1e8efcc86$var$distanceSort(a,b){return a.distance-b.distance}function $c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,intersects){scene.traverse(c=>{Object.getPrototypeOf(c).raycast.call(c,raycaster,intersects)})}function $c1ac95a1e8efcc86$var$intersectTileSceneFirstHist(scene,raycaster){$c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,$c1ac95a1e8efcc86$var$_hitArray);$c1ac95a1e8efcc86$var$_hitArray.sort($c1ac95a1e8efcc86$var$distanceSort);const hit=$c1ac95a1e8efcc86$var$_hitArray[0]||null;$c1ac95a1e8efcc86$var$_hitArray.length=0;return hit}function $c1ac95a1e8efcc86$var$raycastTraverseFirstHit(renderer,tile,raycaster,localRay=null){const{group:group,activeTiles:activeTiles}=renderer;renderer.ensureChildrenArePreprocessed(tile);if(localRay===null){localRay=$c1ac95a1e8efcc86$var$_localRay;$c1ac95a1e8efcc86$var$_mat.copy(group.matrixWorld).invert();localRay.copy(raycaster.ray).applyMatrix4($c1ac95a1e8efcc86$var$_mat)}const array=[];const children=tile.children;for(let i=0,l=children.length;i<l;i++){const child=children[i];if(!child.__used)continue;const boundingVolume=child.cached.boundingVolume;if(boundingVolume.intersectRay(localRay,$c1ac95a1e8efcc86$var$_vec)!==null){$c1ac95a1e8efcc86$var$_vec.applyMatrix4(group.matrixWorld);array.push({distance:$c1ac95a1e8efcc86$var$_vec.distanceToSquared(raycaster.ray.origin),tile:child})}}array.sort($c1ac95a1e8efcc86$var$distanceSort);let bestHit=null;let bestHitDistSq=Infinity;if(activeTiles.has(tile)){const hit=$c1ac95a1e8efcc86$var$intersectTileSceneFirstHist(tile.cached.scene,raycaster);if(hit){bestHit=hit;bestHitDistSq=hit.distance*hit.distance}}for(let i=0,l=array.length;i<l;i++){const data=array[i];const boundingVolumeDistSq=data.distance;const tile=data.tile;if(boundingVolumeDistSq>bestHitDistSq)break;const hit=$c1ac95a1e8efcc86$var$raycastTraverseFirstHit(renderer,tile,raycaster,localRay);if(hit){const hitDistSq=hit.distance*hit.distance;if(hitDistSq<bestHitDistSq){bestHit=hit;bestHitDistSq=hitDistSq}}}return bestHit}function $c1ac95a1e8efcc86$var$raycastTraverse(renderer,tile,raycaster,intersects,localRay=null){const{group:group,activeTiles:activeTiles}=renderer;const{scene:scene,boundingVolume:boundingVolume}=tile.cached;renderer.ensureChildrenArePreprocessed(tile);if(localRay===null){localRay=$c1ac95a1e8efcc86$var$_localRay;$c1ac95a1e8efcc86$var$_mat.copy(group.matrixWorld).invert();localRay.copy(raycaster.ray).applyMatrix4($c1ac95a1e8efcc86$var$_mat)}if(!tile.__used||!boundingVolume.intersectsRay(localRay))return;if(activeTiles.has(tile))$c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,intersects);const children=tile.children;for(let i=0,l=children.length;i<l;i++)$c1ac95a1e8efcc86$var$raycastTraverse(renderer,children[i],raycaster,intersects,localRay)}var $163be4c04da1c269$exports={};"use strict";Object.defineProperty($163be4c04da1c269$exports,"__esModule",{value:true});$163be4c04da1c269$exports.TileBoundingVolume=void 0;var $9e13f7da58b2928b$exports={};"use strict";Object.defineProperty($9e13f7da58b2928b$exports,"__esModule",{value:true});$9e13f7da58b2928b$exports.OBB=void 0;class $9e13f7da58b2928b$var$OBB{constructor(box=new $5OpyM$Box3,transform=new $5OpyM$Matrix4){this.box=box.clone();this.transform=transform.clone();this.inverseTransform=new $5OpyM$Matrix4;this.points=new Array(8).fill().map(()=>new $5OpyM$Vector3)}update(){const{points:points,inverseTransform:inverseTransform,transform:transform,box:box}=this;inverseTransform.copy(transform).invert();const{min:min,max:max}=box;let index=0;for(let x=-1;x<=1;x+=2){for(let y=-1;y<=1;y+=2)for(let z=-1;z<=1;z+=2){points[index].set(x<0?min.x:max.x,y<0?min.y:max.y,z<0?min.z:max.z).applyMatrix4(transform);index++}}}intersectsFrustum(frustum){const{points:points}=this;const{planes:planes}=frustum;for(let i=0;i<6;i++){const plane=planes[i];let maxDistance=-Infinity;for(let j=0;j<8;j++){const v=points[j];const dist=plane.distanceToPoint(v);maxDistance=maxDistance<dist?dist:maxDistance}if(maxDistance<0)return false}return true}}$9e13f7da58b2928b$exports.OBB=$9e13f7da58b2928b$var$OBB;var $aa7b3b269f245cbe$exports={};"use strict";Object.defineProperty($aa7b3b269f245cbe$exports,"__esModule",{value:true});$aa7b3b269f245cbe$exports.EllipsoidRegion=void 0;var $9160f8f2e0578e98$exports={};"use strict";Object.defineProperty($9160f8f2e0578e98$exports,"__esModule",{value:true});$9160f8f2e0578e98$exports.Ellipsoid=void 0;var $1hGdn=parcelRequire("1hGdn");const $9160f8f2e0578e98$var$_spherical=new $5OpyM$Spherical;const $9160f8f2e0578e98$var$_norm=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec2=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec3=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecX=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecY=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecZ=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_pos=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$EPSILON12=1e-12;const $9160f8f2e0578e98$var$CENTER_EPS=0.1;class $9160f8f2e0578e98$var$Ellipsoid{constructor(x=1,y=1,z=1){this.radius=new $5OpyM$Vector3(x,y,z)}constructLatLonFrame(lat,lon,target){this.getCartographicToPosition(lat,lon,0,$9160f8f2e0578e98$var$_pos);this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_vecZ);this.getNorthernTangent(lat,lon,$9160f8f2e0578e98$var$_vecY);$9160f8f2e0578e98$var$_vecX.crossVectors($9160f8f2e0578e98$var$_vecY,$9160f8f2e0578e98$var$_vecZ);return target.makeBasis($9160f8f2e0578e98$var$_vecX,$9160f8f2e0578e98$var$_vecY,$9160f8f2e0578e98$var$_vecZ).setPosition($9160f8f2e0578e98$var$_pos)}getNorthernTangent(lat,lon,target,westTarget=$9160f8f2e0578e98$var$_vec3){let multiplier=1;let latPrime=lat+1e-7;if(lat>Math.PI/4){multiplier=-1;latPrime=lat-1e-7}const norm=this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_vec).normalize();const normPrime=this.getCartographicToNormal(latPrime,lon,$9160f8f2e0578e98$var$_vec2).normalize();westTarget.crossVectors(norm,normPrime).normalize().multiplyScalar(multiplier);return target.crossVectors(westTarget,norm).normalize()}getCartographicToPosition(lat,lon,height,target){this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_norm);const radius=this.radius;$9160f8f2e0578e98$var$_vec.copy($9160f8f2e0578e98$var$_norm);$9160f8f2e0578e98$var$_vec.x*=radius.x**2;$9160f8f2e0578e98$var$_vec.y*=radius.y**2;$9160f8f2e0578e98$var$_vec.z*=radius.z**2;const gamma=Math.sqrt($9160f8f2e0578e98$var$_norm.dot($9160f8f2e0578e98$var$_vec));$9160f8f2e0578e98$var$_vec.divideScalar(gamma);return target.copy($9160f8f2e0578e98$var$_vec).addScaledVector($9160f8f2e0578e98$var$_norm,height)}getPositionToCartographic(pos,target){this.getPositionToSurfacePoint(pos,$9160f8f2e0578e98$var$_vec);this.getPositionToNormal(pos,$9160f8f2e0578e98$var$_norm);const heightDelta=$9160f8f2e0578e98$var$_vec2.subVectors(pos,$9160f8f2e0578e98$var$_vec);target.lon=Math.atan2($9160f8f2e0578e98$var$_norm.y,$9160f8f2e0578e98$var$_norm.x);target.lat=Math.asin($9160f8f2e0578e98$var$_norm.z);target.height=Math.sign(heightDelta.dot(pos))*heightDelta.length();return target}getCartographicToNormal(lat,lon,target){$9160f8f2e0578e98$var$_spherical.set(1,(0,$1hGdn.latitudeToSphericalPhi)(lat),lon);target.setFromSpherical($9160f8f2e0578e98$var$_spherical).normalize();(0,$1hGdn.swapToGeoFrame)(target);return target}getPositionToNormal(pos,target){const radius=this.radius;target.copy(pos);target.x/=radius.x**2;target.y/=radius.y**2;target.z/=radius.z**2;target.normalize();return target}getPositionToSurfacePoint(pos,target){const radius=this.radius;const invRadiusSqX=1/radius.x**2;const invRadiusSqY=1/radius.y**2;const invRadiusSqZ=1/radius.z**2;const x2=pos.x*pos.x*invRadiusSqX;const y2=pos.y*pos.y*invRadiusSqY;const z2=pos.z*pos.z*invRadiusSqZ;const squaredNorm=x2+y2+z2;const ratio=Math.sqrt(1/squaredNorm);const intersection=$9160f8f2e0578e98$var$_vec.copy(pos).multiplyScalar(ratio);if(squaredNorm<$9160f8f2e0578e98$var$CENTER_EPS)return!isFinite(ratio)?null:target.copy(intersection);const gradient=$9160f8f2e0578e98$var$_vec2.set(intersection.x*invRadiusSqX*2,intersection.y*invRadiusSqY*2,intersection.z*invRadiusSqZ*2);let lambda=(1-ratio)*pos.length()/(0.5*gradient.length());let correction=0;let func,denominator;let xMultiplier,yMultiplier,zMultiplier;let xMultiplier2,yMultiplier2,zMultiplier2;let xMultiplier3,yMultiplier3,zMultiplier3;do{lambda-=correction;xMultiplier=1/(1+lambda*invRadiusSqX);yMultiplier=1/(1+lambda*invRadiusSqY);zMultiplier=1/(1+lambda*invRadiusSqZ);xMultiplier2=xMultiplier*xMultiplier;yMultiplier2=yMultiplier*yMultiplier;zMultiplier2=zMultiplier*zMultiplier;xMultiplier3=xMultiplier2*xMultiplier;yMultiplier3=yMultiplier2*yMultiplier;zMultiplier3=zMultiplier2*zMultiplier;func=x2*xMultiplier2+y2*yMultiplier2+z2*zMultiplier2-1;denominator=x2*xMultiplier3*invRadiusSqX+y2*yMultiplier3*invRadiusSqY+z2*zMultiplier3*invRadiusSqZ;const derivative=-2*denominator;correction=func/derivative}while(Math.abs(func)>$9160f8f2e0578e98$var$EPSILON12);return target.set(pos.x*xMultiplier,pos.y*yMultiplier,pos.z*zMultiplier)}}$9160f8f2e0578e98$exports.Ellipsoid=$9160f8f2e0578e98$var$Ellipsoid;const $aa7b3b269f245cbe$var$PI=Math.PI;const $aa7b3b269f245cbe$var$HALF_PI=$aa7b3b269f245cbe$var$PI/2;const $aa7b3b269f245cbe$var$_orthoX=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_orthoY=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_orthoZ=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_invMatrix=new $5OpyM$Matrix4;let $aa7b3b269f245cbe$var$_poolIndex=0;const $aa7b3b269f245cbe$var$_pointsPool=[];function $aa7b3b269f245cbe$var$getVector(usePool=false){if(!usePool)return new $5OpyM$Vector3;if(!$aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex])$aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex]=new $5OpyM$Vector3;$aa7b3b269f245cbe$var$_poolIndex++;return $aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex-1]}function $aa7b3b269f245cbe$var$resetPool(){$aa7b3b269f245cbe$var$_poolIndex=0}class $aa7b3b269f245cbe$var$EllipsoidRegion extends $9160f8f2e0578e98$exports.Ellipsoid{constructor(x,y,z,latStart=-$aa7b3b269f245cbe$var$HALF_PI,latEnd=$aa7b3b269f245cbe$var$HALF_PI,lonStart=0,lonEnd=2*$aa7b3b269f245cbe$var$PI,heightStart=0,heightEnd=0){super(x,y,z);this.latStart=latStart;this.latEnd=latEnd;this.lonStart=lonStart;this.lonEnd=lonEnd;this.heightStart=heightStart;this.heightEnd=heightEnd}_getPoints(usePool=false){const{latStart:latStart,latEnd:latEnd,lonStart:lonStart,lonEnd:lonEnd,heightStart:heightStart,heightEnd:heightEnd}=this;const midLat=$5OpyM$MathUtils.mapLinear(0.5,0,1,latStart,latEnd);const midLon=$5OpyM$MathUtils.mapLinear(0.5,0,1,lonStart,lonEnd);const lonOffset=Math.floor(lonStart/$aa7b3b269f245cbe$var$HALF_PI)*$aa7b3b269f245cbe$var$HALF_PI;const latlon=[[-$aa7b3b269f245cbe$var$PI/2,0],[$aa7b3b269f245cbe$var$PI/2,0],[0,lonOffset],[0,lonOffset+$aa7b3b269f245cbe$var$PI/2],[0,lonOffset+$aa7b3b269f245cbe$var$PI],[0,lonOffset+3*$aa7b3b269f245cbe$var$PI/2],[latStart,lonEnd],[latEnd,lonEnd],[latStart,lonStart],[latEnd,lonStart],[0,lonStart],[0,lonEnd],[midLat,midLon],[latStart,midLon],[latEnd,midLon],[midLat,lonStart],[midLat,lonEnd]];const target=[];const total=latlon.length;for(let z=0;z<=1;z++){const height=$5OpyM$MathUtils.mapLinear(z,0,1,heightStart,heightEnd);for(let i=0,l=total;i<l;i++){const[lat,lon]=latlon[i];if(lat>=latStart&&lat<=latEnd&&lon>=lonStart&&lon<=lonEnd){const v=$aa7b3b269f245cbe$var$getVector(usePool);target.push(v);this.getCartographicToPosition(lat,lon,height,v)}}}return target}getBoundingBox(box,matrix){$aa7b3b269f245cbe$var$resetPool();const{latStart:latStart,latEnd:latEnd,lonStart:lonStart,lonEnd:lonEnd}=this;const latRange=latEnd-latStart;if(latRange<$aa7b3b269f245cbe$var$PI/2){const midLat=$5OpyM$MathUtils.mapLinear(0.5,0,1,latStart,latEnd);const midLon=$5OpyM$MathUtils.mapLinear(0.5,0,1,lonStart,lonEnd);this.getCartographicToNormal(midLat,midLon,$aa7b3b269f245cbe$var$_orthoZ);$aa7b3b269f245cbe$var$_orthoY.set(0,0,1);$aa7b3b269f245cbe$var$_orthoX.crossVectors($aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ);$aa7b3b269f245cbe$var$_orthoY.crossVectors($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoZ);matrix.makeBasis($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ)}else{$aa7b3b269f245cbe$var$_orthoX.set(1,0,0);$aa7b3b269f245cbe$var$_orthoY.set(0,1,0);$aa7b3b269f245cbe$var$_orthoZ.set(0,0,1);matrix.makeBasis($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ)}$aa7b3b269f245cbe$var$_invMatrix.copy(matrix).invert();const points=this._getPoints(true);for(let i=0,l=points.length;i<l;i++)points[i].applyMatrix4($aa7b3b269f245cbe$var$_invMatrix);box.makeEmpty();box.setFromPoints(points)}getBoundingSphere(sphere,center){$aa7b3b269f245cbe$var$resetPool();const points=this._getPoints(true);sphere.makeEmpty();sphere.setFromPoints(points,center)}}$aa7b3b269f245cbe$exports.EllipsoidRegion=$aa7b3b269f245cbe$var$EllipsoidRegion;const $163be4c04da1c269$var$_vecX=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vecY=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vecZ=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_sphereVec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_obbVec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_ray=new $5OpyM$Ray;class $163be4c04da1c269$var$TileBoundingVolume{constructor(){this.sphere=null;this.obb=null;this.region=null;this.regionObb=null}intersectsRay(ray){const sphere=this.sphere;const obb=this.obb||this.regionObb;if(sphere&&!ray.intersectsSphere(sphere))return false;if(obb){$163be4c04da1c269$var$_ray.copy(ray).applyMatrix4(obb.inverseTransform);if(!$163be4c04da1c269$var$_ray.intersectsBox(obb.box))return false}return true}intersectRay(ray,target=null){const sphere=this.sphere;const obb=this.obb||this.regionObb;let sphereDistSq=-Infinity;let obbDistSq=-Infinity;if(sphere){if(ray.intersectSphere(sphere,$163be4c04da1c269$var$_sphereVec))sphereDistSq=sphere.containsPoint(ray.origin)?0:ray.origin.distanceToSquared($163be4c04da1c269$var$_sphereVec)}if(obb){$163be4c04da1c269$var$_ray.copy(ray).applyMatrix4(obb.inverseTransform);if($163be4c04da1c269$var$_ray.intersectBox(obb.box,$163be4c04da1c269$var$_obbVec))obbDistSq=obb.box.containsPoint($163be4c04da1c269$var$_ray.origin)?0:$163be4c04da1c269$var$_ray.origin.distanceToSquared($163be4c04da1c269$var$_obbVec)}const furthestDist=Math.max(sphereDistSq,obbDistSq);if(furthestDist===-Infinity)return null;ray.at(Math.sqrt(furthestDist),target);return target}distanceToPoint(point){const sphere=this.sphere;const obb=this.obb||this.regionObb;let sphereDistance=-Infinity;let obbDistance=-Infinity;if(sphere)sphereDistance=Math.max(sphere.distanceToPoint(point),0);if(obb){$163be4c04da1c269$var$_vec.copy(point).applyMatrix4(obb.inverseTransform);obbDistance=obb.box.distanceToPoint($163be4c04da1c269$var$_vec)}return sphereDistance>obbDistance?sphereDistance:obbDistance}intersectsFrustum(frustum){const obb=this.obb||this.regionObb;const sphere=this.sphere;if(sphere&&!frustum.intersectsSphere(sphere))return false;if(obb&&!obb.intersectsFrustum(frustum))return false;return Boolean(sphere||obb)}getOBB(targetBox,targetMatrix){const obb=this.obb||this.regionObb;if(obb){targetBox.copy(obb.box);targetMatrix.copy(obb.transform)}else{this.getAABB(targetBox);targetMatrix.identity()}}getAABB(target){if(this.sphere)this.sphere.getBoundingBox(target);else{const obb=this.obb||this.regionObb;target.copy(obb.box).applyMatrix4(obb.transform)}}getSphere(target){if(this.sphere)target.copy(this.sphere);else if(this.region)this.region.getBoundingSphere(target);else{const obb=this.obb||this.regionObb;obb.box.getBoundingSphere(target);target.applyMatrix4(obb.transform)}}setObbData(data,transform){const obb=new $9e13f7da58b2928b$exports.OBB;$163be4c04da1c269$var$_vecX.set(data[3],data[4],data[5]);$163be4c04da1c269$var$_vecY.set(data[6],data[7],data[8]);$163be4c04da1c269$var$_vecZ.set(data[9],data[10],data[11]);const scaleX=$163be4c04da1c269$var$_vecX.length();const scaleY=$163be4c04da1c269$var$_vecY.length();const scaleZ=$163be4c04da1c269$var$_vecZ.length();$163be4c04da1c269$var$_vecX.normalize();$163be4c04da1c269$var$_vecY.normalize();$163be4c04da1c269$var$_vecZ.normalize();if(scaleX===0)$163be4c04da1c269$var$_vecX.crossVectors($163be4c04da1c269$var$_vecY,$163be4c04da1c269$var$_vecZ);if(scaleY===0)$163be4c04da1c269$var$_vecY.crossVectors($163be4c04da1c269$var$_vecX,$163be4c04da1c269$var$_vecZ);if(scaleZ===0)$163be4c04da1c269$var$_vecZ.crossVectors($163be4c04da1c269$var$_vecX,$163be4c04da1c269$var$_vecY);obb.transform.set($163be4c04da1c269$var$_vecX.x,$163be4c04da1c269$var$_vecY.x,$163be4c04da1c269$var$_vecZ.x,data[0],$163be4c04da1c269$var$_vecX.y,$163be4c04da1c269$var$_vecY.y,$163be4c04da1c269$var$_vecZ.y,data[1],$163be4c04da1c269$var$_vecX.z,$163be4c04da1c269$var$_vecY.z,$163be4c04da1c269$var$_vecZ.z,data[2],0,0,0,1).premultiply(transform);obb.box.min.set(-scaleX,-scaleY,-scaleZ);obb.box.max.set(scaleX,scaleY,scaleZ);obb.update();this.obb=obb}setSphereData(x,y,z,radius,transform){const sphere=new $5OpyM$Sphere;sphere.center.set(x,y,z);sphere.radius=radius;sphere.applyMatrix4(transform);this.sphere=sphere}setRegionData(west,south,east,north,minHeight,maxHeight){const region=new $aa7b3b269f245cbe$exports.EllipsoidRegion($002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_HEIGHT,south,north,west,east,minHeight,maxHeight);const obb=new $9e13f7da58b2928b$exports.OBB;region.getBoundingBox(obb.box,obb.transform);obb.update();this.region=region;this.regionObb=obb}}$163be4c04da1c269$exports.TileBoundingVolume=$163be4c04da1c269$var$TileBoundingVolume;const $06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED=Symbol("INITIAL_FRUSTUM_CULLED");const $06d26e8e9f5361d3$var$tempMat=new $5OpyM$Matrix4;const $06d26e8e9f5361d3$var$tempMat2=new $5OpyM$Matrix4;const $06d26e8e9f5361d3$var$tempVector=new $5OpyM$Vector3;const $06d26e8e9f5361d3$var$X_AXIS=new $5OpyM$Vector3(1,0,0);const $06d26e8e9f5361d3$var$Y_AXIS=new $5OpyM$Vector3(0,1,0);function $06d26e8e9f5361d3$var$updateFrustumCulled(object,toInitialValue){object.traverse(c=>{c.frustumCulled=c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]&&toInitialValue})}class $06d26e8e9f5361d3$var$TilesRenderer extends $5a6f7a997885dc30$exports.TilesRendererBase{get autoDisableRendererCulling(){return this._autoDisableRendererCulling}set autoDisableRendererCulling(value){if(this._autoDisableRendererCulling!==value){super._autoDisableRendererCulling=value;this.forEachLoadedModel(scene=>{$06d26e8e9f5361d3$var$updateFrustumCulled(scene,!value)})}}constructor(...args){super(...args);this.group=new $3fcce8a4f74b2abc$exports.TilesGroup(this);this.cameras=[];this.cameraMap=new Map;this.cameraInfo=[];this.activeTiles=new Set;this.visibleTiles=new Set;this._autoDisableRendererCulling=true;this.optimizeRaycast=true;this.onLoadTileSet=null;this.onLoadModel=null;this.onDisposeModel=null;this.onTileVisibilityChange=null;const manager=new $5OpyM$LoadingManager;manager.setURLModifier(url=>{if(this.preprocessURL)return this.preprocessURL(url);else return url});this.manager=manager;const tilesRenderer=this;this._overridenRaycast=function(raycaster,intersects){if(!tilesRenderer.optimizeRaycast)Object.getPrototypeOf(this).raycast.call(this,raycaster,intersects)}}getBounds(target){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getAABB(target);return true}else return true}getOrientedBounds(targetBox,targetMatrix){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getOBB(targetBox,targetMatrix);return true}else return true}getBoundingSphere(target){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getSphere(target);return true}else return false}forEachLoadedModel(callback){this.traverse(tile=>{const scene=tile.cached.scene;if(scene)callback(scene,tile)})}raycast(raycaster,intersects){if(!this.root)return;if(raycaster.firstHitOnly){const hit=(0,$c1ac95a1e8efcc86$exports.raycastTraverseFirstHit)(this,this.root,raycaster);if(hit)intersects.push(hit)}else(0,$c1ac95a1e8efcc86$exports.raycastTraverse)(this,this.root,raycaster,intersects)}hasCamera(camera){return this.cameraMap.has(camera)}setCamera(camera){const cameras=this.cameras;const cameraMap=this.cameraMap;if(!cameraMap.has(camera)){cameraMap.set(camera,new $5OpyM$Vector2);cameras.push(camera);return true}return false}setResolution(camera,xOrVec,y){const cameraMap=this.cameraMap;if(!cameraMap.has(camera))return false;if(xOrVec instanceof $5OpyM$Vector2)cameraMap.get(camera).copy(xOrVec);else cameraMap.get(camera).set(xOrVec,y);return true}setResolutionFromRenderer(camera,renderer){const cameraMap=this.cameraMap;if(!cameraMap.has(camera))return false;const resolution=cameraMap.get(camera);renderer.getSize(resolution);resolution.multiplyScalar(renderer.getPixelRatio());return true}deleteCamera(camera){const cameras=this.cameras;const cameraMap=this.cameraMap;if(cameraMap.has(camera)){const index=cameras.indexOf(camera);cameras.splice(index,1);cameraMap.delete(camera);return true}return false}fetchTileSet(url,...rest){const pr=super.fetchTileSet(url,...rest);pr.then(json=>{if(this.onLoadTileSet)Promise.resolve().then(()=>{this.onLoadTileSet(json,url)})});return pr}update(){const group=this.group;const cameras=this.cameras;const cameraMap=this.cameraMap;const cameraInfo=this.cameraInfo;if(cameras.length===0){console.warn("TilesRenderer: no cameras defined. Cannot update 3d tiles.");return}while(cameraInfo.length>cameras.length)cameraInfo.pop();while(cameraInfo.length<cameras.length)cameraInfo.push({frustum:new $5OpyM$Frustum,isOrthographic:false,sseDenominator:-1,position:new $5OpyM$Vector3,invScale:-1,pixelSize:0});$06d26e8e9f5361d3$var$tempMat2.copy(group.matrixWorld).invert();$06d26e8e9f5361d3$var$tempVector.setFromMatrixScale($06d26e8e9f5361d3$var$tempMat2);const invScale=$06d26e8e9f5361d3$var$tempVector.x;if(Math.abs(Math.max($06d26e8e9f5361d3$var$tempVector.x-$06d26e8e9f5361d3$var$tempVector.y,$06d26e8e9f5361d3$var$tempVector.x-$06d26e8e9f5361d3$var$tempVector.z))>1e-6)console.warn("ThreeTilesRenderer : Non uniform scale used for tile which may cause issues when calculating screen space error.");for(let i=0,l=cameraInfo.length;i<l;i++){const camera=cameras[i];const info=cameraInfo[i];const frustum=info.frustum;const position=info.position;const resolution=cameraMap.get(camera);if(resolution.width===0||resolution.height===0)console.warn("TilesRenderer: resolution for camera error calculation is not set.");const projection=camera.projectionMatrix.elements;info.isOrthographic=projection[15]===1;if(info.isOrthographic){const w=2/projection[0];const h=2/projection[5];info.pixelSize=Math.max(h/resolution.height,w/resolution.width)}else info.sseDenominator=2/projection[5]/resolution.height;info.invScale=invScale;$06d26e8e9f5361d3$var$tempMat.copy(group.matrixWorld);$06d26e8e9f5361d3$var$tempMat.premultiply(camera.matrixWorldInverse);$06d26e8e9f5361d3$var$tempMat.premultiply(camera.projectionMatrix);frustum.setFromProjectionMatrix($06d26e8e9f5361d3$var$tempMat);position.set(0,0,0);position.applyMatrix4(camera.matrixWorld);position.applyMatrix4($06d26e8e9f5361d3$var$tempMat2)}super.update()}preprocessNode(tile,tileSetDir,parentTile=null){super.preprocessNode(tile,tileSetDir,parentTile);const transform=new $5OpyM$Matrix4;if(tile.transform){const transformArr=tile.transform;for(let i=0;i<16;i++)transform.elements[i]=transformArr[i]}else transform.identity();if(parentTile)transform.premultiply(parentTile.cached.transform);const transformInverse=new $5OpyM$Matrix4().copy(transform).invert();const boundingVolume=new $163be4c04da1c269$exports.TileBoundingVolume;if("sphere"in tile.boundingVolume)boundingVolume.setSphereData(...tile.boundingVolume.sphere,transform);if("box"in tile.boundingVolume)boundingVolume.setObbData(tile.boundingVolume.box,transform);if("region"in tile.boundingVolume)boundingVolume.setRegionData(...tile.boundingVolume.region);tile.cached={loadIndex:0,transform:transform,transformInverse:transformInverse,active:false,inFrustum:[],boundingVolume:boundingVolume,scene:null,geometry:null,material:null}}parseTile(buffer,tile,extension){tile._loadIndex=tile._loadIndex||0;tile._loadIndex++;const uri=tile.content.uri;const uriSplits=uri.split(/[\\\/]/g);uriSplits.pop();const workingPath=uriSplits.join("/");const fetchOptions=this.fetchOptions;const manager=this.manager;const loadIndex=tile._loadIndex;let promise=null;const upAxis=this.rootTileSet.asset&&this.rootTileSet.asset.gltfUpAxis||"y";const cached=tile.cached;const cachedTransform=cached.transform;const upAdjustment=new $5OpyM$Matrix4;switch(upAxis.toLowerCase()){case"x":upAdjustment.makeRotationAxis($06d26e8e9f5361d3$var$Y_AXIS,-Math.PI/2);break;case"y":upAdjustment.makeRotationAxis($06d26e8e9f5361d3$var$X_AXIS,Math.PI/2);break;case"z":upAdjustment.identity();break;}const fileType=((0,$9e3e194659cc5776$exports.readMagicBytes)(buffer)||extension).toLowerCase();switch(fileType){case"b3dm":{const loader=new $0aa3d1def57e98b1$exports.B3DMLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer);break}case"pnts":{const loader=new $1ddd6ca16eb224df$exports.PNTSLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;promise=loader.parse(buffer);break}case"i3dm":{const loader=new $0bc85483bdeca322$exports.I3DMLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer);break}case"cmpt":{const loader=new $54879e9a7dc345e0$exports.CMPTLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer).then(res=>res.scene);break}case"gltf":case"glb":const loader=new $29ced67d26e5c4e2$exports.GLTFExtensionLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;promise=loader.parse(buffer);break;default:console.warn(`TilesRenderer: Content type "${fileType}" not supported.`);promise=Promise.resolve(null);break;}return promise.then(result=>{let scene;let metadata;if(result.isObject3D){scene=result;metadata=null}else{scene=result.scene;metadata=result}if(tile._loadIndex!==loadIndex)return;scene.updateMatrix();if(fileType==="glb"||fileType==="gltf")scene.matrix.multiply(upAdjustment);scene.matrix.premultiply(cachedTransform);scene.matrix.decompose(scene.position,scene.quaternion,scene.scale);scene.traverse(c=>{c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]=c.frustumCulled});$06d26e8e9f5361d3$var$updateFrustumCulled(scene,!this.autoDisableRendererCulling);scene.traverse(c=>{c.raycast=this._overridenRaycast});const materials=[];const geometry=[];const textures=[];scene.traverse(c=>{if(c.geometry)geometry.push(c.geometry);if(c.material){const material=c.material;materials.push(c.material);for(const key in material){const value=material[key];if(value&&value.isTexture)textures.push(value)}}});cached.materials=materials;cached.geometry=geometry;cached.textures=textures;cached.scene=scene;cached.metadata=metadata;if(this.onLoadModel)this.onLoadModel(scene,tile)})}disposeTile(tile){const cached=tile.cached;if(cached.scene){const materials=cached.materials;const geometry=cached.geometry;const textures=cached.textures;const parent=cached.scene.parent;for(let i=0,l=geometry.length;i<l;i++)geometry[i].dispose();for(let i=0,l=materials.length;i<l;i++)materials[i].dispose();for(let i=0,l=textures.length;i<l;i++){const texture=textures[i];texture.dispose()}if(parent)parent.remove(cached.scene);if(this.onDisposeModel)this.onDisposeModel(cached.scene,tile);cached.scene=null;cached.materials=null;cached.textures=null;cached.geometry=null;cached.metadata=null}this.activeTiles.delete(tile);this.visibleTiles.delete(tile);tile._loadIndex++}setTileVisible(tile,visible){const scene=tile.cached.scene;const visibleTiles=this.visibleTiles;const group=this.group;if(visible){group.add(scene);visibleTiles.add(tile);scene.updateMatrixWorld(true)}else{group.remove(scene);visibleTiles.delete(tile)}if(this.onTileVisibilityChange)this.onTileVisibilityChange(scene,tile,visible)}setTileActive(tile,active){const activeTiles=this.activeTiles;if(active)activeTiles.add(tile);else activeTiles.delete(tile)}calculateError(tile){const cached=tile.cached;const inFrustum=cached.inFrustum;const cameras=this.cameras;const cameraInfo=this.cameraInfo;const boundingVolume=cached.boundingVolume;let maxError=-Infinity;let minDistance=Infinity;for(let i=0,l=cameras.length;i<l;i++){if(!inFrustum[i])continue;const info=cameraInfo[i];const invScale=info.invScale;let error;if(info.isOrthographic){const pixelSize=info.pixelSize;error=tile.geometricError/(pixelSize*invScale)}else{const distance=boundingVolume.distanceToPoint(info.position);const scaledDistance=distance*invScale;const sseDenominator=info.sseDenominator;error=tile.geometricError/(scaledDistance*sseDenominator);minDistance=Math.min(minDistance,scaledDistance)}maxError=Math.max(maxError,error)}tile.__distanceFromCamera=minDistance;tile.__error=maxError}tileInView(tile){const cached=tile.cached;const boundingVolume=cached.boundingVolume;const inFrustum=cached.inFrustum;const cameraInfo=this.cameraInfo;let inView=false;for(let i=0,l=cameraInfo.length;i<l;i++){const frustum=cameraInfo[i].frustum;if(boundingVolume.intersectsFrustum(frustum)){inView=true;inFrustum[i]=true}else inFrustum[i]=false}return inView}}$06d26e8e9f5361d3$exports.TilesRenderer=$06d26e8e9f5361d3$var$TilesRenderer;var $1cb839fa4db014d3$exports={};"use strict";Object.defineProperty($1cb839fa4db014d3$exports,"__esModule",{value:true});$1cb839fa4db014d3$exports.SphereHelper=void 0;const $1cb839fa4db014d3$var$_vector=new $5OpyM$Vector3;const $1cb839fa4db014d3$var$axes=["x","y","z"];class $1cb839fa4db014d3$var$SphereHelper extends $5OpyM$LineSegments{constructor(sphere,color=16776960,angleSteps=40){const geometry=new $5OpyM$BufferGeometry;const positions=[];for(let i=0;i<3;i++){const axis1=$1cb839fa4db014d3$var$axes[i];const axis2=$1cb839fa4db014d3$var$axes[(i+1)%3];$1cb839fa4db014d3$var$_vector.set(0,0,0);for(let a=0;a<angleSteps;a++){let angle;angle=2*Math.PI*a/(angleSteps-1);$1cb839fa4db014d3$var$_vector[axis1]=Math.sin(angle);$1cb839fa4db014d3$var$_vector[axis2]=Math.cos(angle);positions.push($1cb839fa4db014d3$var$_vector.x,$1cb839fa4db014d3$var$_vector.y,$1cb839fa4db014d3$var$_vector.z);angle=2*Math.PI*(a+1)/(angleSteps-1);$1cb839fa4db014d3$var$_vector[axis1]=Math.sin(angle);$1cb839fa4db014d3$var$_vector[axis2]=Math.cos(angle);positions.push($1cb839fa4db014d3$var$_vector.x,$1cb839fa4db014d3$var$_vector.y,$1cb839fa4db014d3$var$_vector.z)}}geometry.setAttribute("position",new $5OpyM$BufferAttribute(new Float32Array(positions),3));geometry.computeBoundingSphere();super(geometry,new $5OpyM$LineBasicMaterial({color:color,toneMapped:false}));this.sphere=sphere;this.type="SphereHelper"}updateMatrixWorld(force){const sphere=this.sphere;this.position.copy(sphere.center);this.scale.setScalar(sphere.radius);super.updateMatrixWorld(force)}}$1cb839fa4db014d3$exports.SphereHelper=$1cb839fa4db014d3$var$SphereHelper;var $3b9225051b507460$exports={};"use strict";Object.defineProperty($3b9225051b507460$exports,"__esModule",{value:true});$3b9225051b507460$exports.EllipsoidRegionLineHelper=$3b9225051b507460$exports.EllipsoidRegionHelper=void 0;const $3b9225051b507460$var$_norm=new $5OpyM$Vector3;const $3b9225051b507460$var$_norm2=new $5OpyM$Vector3;const $3b9225051b507460$var$_pos=new $5OpyM$Vector3;const $3b9225051b507460$var$_vec1=new $5OpyM$Vector3;const $3b9225051b507460$var$_vec2=new $5OpyM$Vector3;function $3b9225051b507460$var$toGroupGeometry(geometry){geometry=geometry.toNonIndexed();const{groups:groups}=geometry;const{position:position,normal:normal}=geometry.attributes;const newNorm=[];const newPos=[];for(const group of groups){const{start:start,count:count}=group;for(let i=start,l=start+count;i<l;i++){$3b9225051b507460$var$_vec1.fromBufferAttribute(position,i);$3b9225051b507460$var$_vec2.fromBufferAttribute(normal,i);newPos.push(...$3b9225051b507460$var$_vec1);newNorm.push(...$3b9225051b507460$var$_vec2)}}const newGeometry=new $5OpyM$BufferGeometry;newGeometry.setAttribute("position",new $5OpyM$BufferAttribute(new Float32Array(newPos),3));newGeometry.setAttribute("normal",new $5OpyM$BufferAttribute(new Float32Array(newNorm),3));return newGeometry}function $3b9225051b507460$var$getRegionGeometry(ellipsoidRegion){const{latStart=-Math.PI/2,latEnd=Math.PI/2,lonStart=0,lonEnd=2*Math.PI,heightStart=0,heightEnd=0}=ellipsoidRegion;const geometry=new $5OpyM$BoxGeometry(1,1,1,32,32);const{normal:normal,position:position}=geometry.attributes;const refPosition=position.clone();for(let i=0,l=position.count;i<l;i++){$3b9225051b507460$var$_pos.fromBufferAttribute(position,i);const lat=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.x,-0.5,0.5,latStart,latEnd);const lon=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.y,-0.5,0.5,lonStart,lonEnd);let height=heightStart;ellipsoidRegion.getCartographicToNormal(lat,lon,$3b9225051b507460$var$_norm);if($3b9225051b507460$var$_pos.z<0)height=heightEnd;ellipsoidRegion.getCartographicToPosition(lat,lon,height,$3b9225051b507460$var$_pos);position.setXYZ(i,...$3b9225051b507460$var$_pos)}geometry.computeVertexNormals();for(let i=0,l=refPosition.count;i<l;i++){$3b9225051b507460$var$_pos.fromBufferAttribute(refPosition,i);const lat=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.x,-0.5,0.5,latStart,latEnd);const lon=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.y,-0.5,0.5,lonStart,lonEnd);$3b9225051b507460$var$_norm.fromBufferAttribute(normal,i);ellipsoidRegion.getCartographicToNormal(lat,lon,$3b9225051b507460$var$_norm2);if(Math.abs($3b9225051b507460$var$_norm.dot($3b9225051b507460$var$_norm2))>0.1){if($3b9225051b507460$var$_pos.z>0)$3b9225051b507460$var$_norm2.multiplyScalar(-1);normal.setXYZ(i,...$3b9225051b507460$var$_norm2)}}return geometry}class $3b9225051b507460$var$EllipsoidRegionLineHelper extends $5OpyM$LineSegments{constructor(ellipsoidRegion=new $aa7b3b269f245cbe$exports.EllipsoidRegion,color=16776960){super();this.ellipsoidRegion=ellipsoidRegion;this.material.color.set(color);this.update()}update(){const geometry=$3b9225051b507460$var$getRegionGeometry(this.ellipsoidRegion);this.geometry.dispose();this.geometry=new $5OpyM$EdgesGeometry(geometry,80)}dispose(){this.geometry.dispose();this.material.dispose()}}$3b9225051b507460$exports.EllipsoidRegionLineHelper=$3b9225051b507460$var$EllipsoidRegionLineHelper;class $3b9225051b507460$var$EllipsoidRegionHelper extends $5OpyM$Mesh{constructor(ellipsoidRegion=new $aa7b3b269f245cbe$exports.EllipsoidRegion,color=16776960){super();this.ellipsoidRegion=ellipsoidRegion;this.material.color.set(color);this.update()}update(){this.geometry.dispose();const geometry=$3b9225051b507460$var$getRegionGeometry(this.ellipsoidRegion);const{lonStart:lonStart,lonEnd:lonEnd}=this;if(lonEnd-lonStart>=2*Math.PI){geometry.groups.splice(2,2);this.geometry=$3b9225051b507460$var$toGroupGeometry(geometry)}else this.geometry=geometry}dispose(){this.geometry.dispose();this.material.dispose()}}$3b9225051b507460$exports.EllipsoidRegionHelper=$3b9225051b507460$var$EllipsoidRegionHelper;const $1909f04f34bd6630$var$ORIGINAL_MATERIAL=Symbol("ORIGINAL_MATERIAL");const $1909f04f34bd6630$var$HAS_RANDOM_COLOR=Symbol("HAS_RANDOM_COLOR");const $1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR=Symbol("HAS_RANDOM_NODE_COLOR");function $1909f04f34bd6630$var$emptyRaycast(){}const $1909f04f34bd6630$var$NONE=0;$1909f04f34bd6630$exports.NONE=$1909f04f34bd6630$var$NONE;const $1909f04f34bd6630$var$SCREEN_ERROR=1;$1909f04f34bd6630$exports.SCREEN_ERROR=$1909f04f34bd6630$var$SCREEN_ERROR;const $1909f04f34bd6630$var$GEOMETRIC_ERROR=2;$1909f04f34bd6630$exports.GEOMETRIC_ERROR=$1909f04f34bd6630$var$GEOMETRIC_ERROR;const $1909f04f34bd6630$var$DISTANCE=3;$1909f04f34bd6630$exports.DISTANCE=$1909f04f34bd6630$var$DISTANCE;const $1909f04f34bd6630$var$DEPTH=4;$1909f04f34bd6630$exports.DEPTH=$1909f04f34bd6630$var$DEPTH;const $1909f04f34bd6630$var$RELATIVE_DEPTH=5;$1909f04f34bd6630$exports.RELATIVE_DEPTH=$1909f04f34bd6630$var$RELATIVE_DEPTH;const $1909f04f34bd6630$var$IS_LEAF=6;$1909f04f34bd6630$exports.IS_LEAF=$1909f04f34bd6630$var$IS_LEAF;const $1909f04f34bd6630$var$RANDOM_COLOR=7;$1909f04f34bd6630$exports.RANDOM_COLOR=$1909f04f34bd6630$var$RANDOM_COLOR;const $1909f04f34bd6630$var$RANDOM_NODE_COLOR=8;$1909f04f34bd6630$exports.RANDOM_NODE_COLOR=$1909f04f34bd6630$var$RANDOM_NODE_COLOR;const $1909f04f34bd6630$var$CUSTOM_COLOR=9;$1909f04f34bd6630$exports.CUSTOM_COLOR=$1909f04f34bd6630$var$CUSTOM_COLOR;const $1909f04f34bd6630$var$_sphere=new $5OpyM$Sphere;class $1909f04f34bd6630$var$DebugTilesRenderer extends $06d26e8e9f5361d3$exports.TilesRenderer{constructor(...args){super(...args);const tilesGroup=this.group;const boxGroup=new $5OpyM$Group;boxGroup.name="DebugTilesRenderer.boxGroup";tilesGroup.add(boxGroup);const sphereGroup=new $5OpyM$Group;sphereGroup.name="DebugTilesRenderer.sphereGroup";tilesGroup.add(sphereGroup);const regionGroup=new $5OpyM$Group;regionGroup.name="DebugTilesRenderer.regionGroup";tilesGroup.add(regionGroup);this.displayBoxBounds=false;this.displaySphereBounds=false;this.displayRegionBounds=false;this.colorMode=$1909f04f34bd6630$var$NONE;this.customColorCallback=null;this.boxGroup=boxGroup;this.sphereGroup=sphereGroup;this.regionGroup=regionGroup;this.maxDebugDepth=-1;this.maxDebugDistance=-1;this.maxDebugError=-1;this.getDebugColor=(value,target)=>{target.setRGB(value,value,value)};this.extremeDebugDepth=-1;this.extremeDebugError=-1}initExtremes(){let maxDepth=-1;this.traverse(tile=>{maxDepth=Math.max(maxDepth,tile.__depth)});let maxError=-1;this.traverse(tile=>{maxError=Math.max(maxError,tile.geometricError)});this.extremeDebugDepth=maxDepth;this.extremeDebugError=maxError}fetchTileSet(...args){const pr=super.fetchTileSet(...args);pr.then(()=>{Promise.resolve().then(()=>{this.initExtremes()})}).catch(()=>{});return pr}getTileInformationFromActiveObject(object){let targetTile=null;const activeTiles=this.activeTiles;activeTiles.forEach(tile=>{if(targetTile)return true;const scene=tile.cached.scene;if(scene)scene.traverse(c=>{if(c===object)targetTile=tile})});if(targetTile)return{distanceToCamera:targetTile.__distanceFromCamera,geometricError:targetTile.geometricError,screenSpaceError:targetTile.__error,depth:targetTile.__depth,isLeaf:targetTile.__isLeaf};else return null}update(){super.update();if(!this.root)return;this.boxGroup.visible=this.displayBoxBounds;this.sphereGroup.visible=this.displaySphereBounds;this.regionGroup.visible=this.displayRegionBounds;let maxDepth=-1;if(this.maxDebugDepth===-1)maxDepth=this.extremeDebugDepth;else maxDepth=this.maxDebugDepth;let maxError=-1;if(this.maxDebugError===-1)maxError=this.extremeDebugError;else maxError=this.maxDebugError;let maxDistance=-1;if(this.maxDebugDistance===-1){this.root.cached.boundingVolume.getSphere($1909f04f34bd6630$var$_sphere);maxDistance=$1909f04f34bd6630$var$_sphere.radius}else maxDistance=this.maxDebugDistance;const errorTarget=this.errorTarget;const colorMode=this.colorMode;const visibleTiles=this.visibleTiles;visibleTiles.forEach(tile=>{const scene=tile.cached.scene;let h,s,l;if(colorMode===$1909f04f34bd6630$var$RANDOM_COLOR){h=Math.random();s=0.5+Math.random()*0.5;l=0.375+Math.random()*0.25}scene.traverse(c=>{if(colorMode===$1909f04f34bd6630$var$RANDOM_NODE_COLOR){h=Math.random();s=0.5+Math.random()*0.5;l=0.375+Math.random()*0.25}const currMaterial=c.material;if(currMaterial){const originalMaterial=c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL];if(colorMode===$1909f04f34bd6630$var$NONE&&currMaterial!==originalMaterial){c.material.dispose();c.material=c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL]}else if(colorMode!==$1909f04f34bd6630$var$NONE&&currMaterial===originalMaterial){if(c.isPoints){const pointsMaterial=new $5OpyM$PointsMaterial;pointsMaterial.size=originalMaterial.size;pointsMaterial.sizeAttenuation=originalMaterial.sizeAttenuation;c.material=pointsMaterial}else{c.material=new $5OpyM$MeshStandardMaterial;c.material.flatShading=true}}if(colorMode!==$1909f04f34bd6630$var$RANDOM_COLOR)delete c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR];if(colorMode!==$1909f04f34bd6630$var$RANDOM_NODE_COLOR)delete c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR];switch(colorMode){case $1909f04f34bd6630$var$DEPTH:{const val=tile.__depth/maxDepth;this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$RELATIVE_DEPTH:{const val=tile.__depthFromRenderedParent/maxDepth;this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$SCREEN_ERROR:{const val=tile.__error/errorTarget;if(val>1)c.material.color.setRGB(1,0,0);else this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$GEOMETRIC_ERROR:{const val=Math.min(tile.geometricError/maxError,1);this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$DISTANCE:{const val=Math.min(tile.__distanceFromCamera/maxDistance,1);this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$IS_LEAF:if(!tile.children||tile.children.length===0)this.getDebugColor(1,c.material.color);else this.getDebugColor(0,c.material.color);break;case $1909f04f34bd6630$var$RANDOM_NODE_COLOR:if(!c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR]){c.material.color.setHSL(h,s,l);c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR]=true}break;case $1909f04f34bd6630$var$RANDOM_COLOR:if(!c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR]){c.material.color.setHSL(h,s,l);c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR]=true}break;case $1909f04f34bd6630$var$CUSTOM_COLOR:if(this.customColorCallback)this.customColorCallback(tile,c);else console.warn("DebugTilesRenderer: customColorCallback not defined");break;}}})})}setTileVisible(tile,visible){super.setTileVisible(tile,visible);const cached=tile.cached;const sphereGroup=this.sphereGroup;const boxGroup=this.boxGroup;const regionGroup=this.regionGroup;const boxHelperGroup=cached.boxHelperGroup;const sphereHelper=cached.sphereHelper;const regionHelper=cached.regionHelper;if(!visible){if(boxHelperGroup)boxGroup.remove(boxHelperGroup);if(sphereHelper)sphereGroup.remove(sphereHelper);if(regionHelper)regionGroup.remove(regionHelper)}else{if(boxHelperGroup){boxGroup.add(boxHelperGroup);boxHelperGroup.updateMatrixWorld(true)}if(sphereHelper){sphereGroup.add(sphereHelper);sphereHelper.updateMatrixWorld(true)}if(regionHelper){regionGroup.add(regionHelper);regionHelper.updateMatrixWorld(true)}}}parseTile(buffer,tile,extension){return super.parseTile(buffer,tile,extension).then(()=>{const cached=tile.cached;const scene=cached.scene;if(scene){const{sphere:sphere,obb:obb,region:region}=cached.boundingVolume;if(obb){const boxHelperGroup=new $5OpyM$Group;boxHelperGroup.name="DebugTilesRenderer.boxHelperGroup";boxHelperGroup.matrix.copy(obb.transform);boxHelperGroup.matrixAutoUpdate=false;const boxHelper=new $5OpyM$Box3Helper(obb.box,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));boxHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;boxHelperGroup.add(boxHelper);cached.boxHelperGroup=boxHelperGroup;if(this.visibleTiles.has(tile)&&this.displayBoxBounds){this.boxGroup.add(boxHelperGroup);boxHelperGroup.updateMatrixWorld(true)}}if(sphere){const sphereHelper=new $1cb839fa4db014d3$exports.SphereHelper(sphere,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));sphereHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;cached.sphereHelper=sphereHelper;if(this.visibleTiles.has(tile)&&this.displaySphereBounds){this.sphereGroup.add(sphereHelper);sphereHelper.updateMatrixWorld(true)}}if(region){const regionHelper=new $3b9225051b507460$exports.EllipsoidRegionLineHelper(region,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));regionHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;const sphere=new $5OpyM$Sphere;region.getBoundingSphere(sphere);regionHelper.position.copy(sphere.center);sphere.center.multiplyScalar(-1);regionHelper.geometry.translate(...sphere.center);cached.regionHelper=regionHelper;if(this.visibleTiles.has(tile)&&this.displayRegionBounds){this.regionGroup.add(regionHelper);regionHelper.updateMatrixWorld(true)}}scene.traverse(c=>{const material=c.material;if(material)c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL]=material})}})}disposeTile(tile){super.disposeTile(tile);const cached=tile.cached;if(cached.boxHelperGroup){cached.boxHelperGroup.children[0].geometry.dispose();delete cached.boxHelperGroup}if(cached.sphereHelper){cached.sphereHelper.geometry.dispose();delete cached.sphereHelper}}}$1909f04f34bd6630$exports.DebugTilesRenderer=$1909f04f34bd6630$var$DebugTilesRenderer;var $cf838c15c8b009ba$var$_GeoUtils=$cf838c15c8b009ba$var$_interopRequireWildcard(parcelRequire("1hGdn"));$cf838c15c8b009ba$exports.GeoUtils=$cf838c15c8b009ba$var$_GeoUtils;var $74a95d3099be71d6$exports={};"use strict";Object.defineProperty($74a95d3099be71d6$exports,"__esModule",{value:true});$74a95d3099be71d6$exports.WGS84_ELLIPSOID=void 0;const $74a95d3099be71d6$var$WGS84_ELLIPSOID=new $9160f8f2e0578e98$exports.Ellipsoid($002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_HEIGHT);$74a95d3099be71d6$exports.WGS84_ELLIPSOID=$74a95d3099be71d6$var$WGS84_ELLIPSOID;Object.keys($74a95d3099be71d6$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&&$cf838c15c8b009ba$exports[key]===$74a95d3099be71d6$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $74a95d3099be71d6$exports[key]}})});var $e41589f0d6e8ce27$exports={};"use strict";Object.defineProperty($e41589f0d6e8ce27$exports,"__esModule",{value:true});$e41589f0d6e8ce27$exports.GoogleTilesRenderer=$e41589f0d6e8ce27$exports.DebugGoogleTilesRenderer=void 0;var $f462b5e10a0d334c$exports={};"use strict";Object.defineProperty($f462b5e10a0d334c$exports,"__esModule",{value:true});$f462b5e10a0d334c$exports.GoogleMapsTilesCredits=void 0;class $f462b5e10a0d334c$var$GoogleMapsTilesCredits{constructor(){this.creditsCount={}}_adjustCredits(line,add){const creditsCount=this.creditsCount;const tokens=line.split(/;/g);for(let i=0,l=tokens.length;i<l;i++){const t=tokens[i];if(!(t in creditsCount))creditsCount[t]=0;creditsCount[t]+=add?1:-1;if(creditsCount[t]<=0)delete creditsCount[t]}}addCredits(line){this._adjustCredits(line,true)}removeCredits(line){this._adjustCredits(line,false)}toString(){const tokens=Object.keys(this.creditsCount).sort();return tokens.join(", ")}}$f462b5e10a0d334c$exports.GoogleMapsTilesCredits=$f462b5e10a0d334c$var$GoogleMapsTilesCredits;const $e41589f0d6e8ce27$var$API_ORIGIN="https://tile.googleapis.com";const $e41589f0d6e8ce27$var$TILE_URL=`${$e41589f0d6e8ce27$var$API_ORIGIN}/v1/3dtiles/root.json`;const $e41589f0d6e8ce27$var$_mat=new $5OpyM$Matrix4;const $e41589f0d6e8ce27$var$_euler=new $5OpyM$Euler;const $e41589f0d6e8ce27$var$GoogleTilesRendererMixin=base=>class extends base{get ellipsoid(){return $74a95d3099be71d6$exports.WGS84_ELLIPSOID}constructor(apiKey,baseUrl=$e41589f0d6e8ce27$var$TILE_URL){super(new URL(`${baseUrl}?key=${apiKey}`).toString());this._credits=new $f462b5e10a0d334c$exports.GoogleMapsTilesCredits;this.fetchOptions.mode="cors";this.parseQueue.maxJobs=10;this.downloadQueue.maxJobs=30;this.lruCache.minSize=3000;this.lruCache.maxSize=5000;this.errorTarget=20;this.onLoadTileSet=tileset=>{let session;this.traverse(tile=>{if(tile.content&&tile.content.uri){session=new URL(tile.content.uri).searchParams.get("session");return true}return false});this.preprocessURL=uri=>{uri=new URL(uri);if(/^http/.test(uri.protocol)){uri.searchParams.append("session",session);uri.searchParams.append("key",apiKey)}return uri.toString()};this.onLoadTileSet=null};this.onTileVisibilityChange=(scene,tile,visible)=>{const copyright=tile.cached.metadata.asset.copyright||"";if(visible)this._credits.addCredits(copyright);else this._credits.removeCredits(copyright)}}getCreditsString(){return this._credits.toString()}setLatLonToYUp(lat,lon){const{ellipsoid:ellipsoid,group:group}=this;$e41589f0d6e8ce27$var$_euler.set(Math.PI/2,Math.PI/2,0);$e41589f0d6e8ce27$var$_mat.makeRotationFromEuler($e41589f0d6e8ce27$var$_euler);ellipsoid.constructLatLonFrame(lat,lon,group.matrix).multiply($e41589f0d6e8ce27$var$_mat).invert().decompose(group.position,group.quaternion,group.scale)}};const $e41589f0d6e8ce27$var$GoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRendererMixin($06d26e8e9f5361d3$exports.TilesRenderer);$e41589f0d6e8ce27$exports.GoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRenderer;const $e41589f0d6e8ce27$var$DebugGoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRendererMixin($1909f04f34bd6630$exports.DebugTilesRenderer);$e41589f0d6e8ce27$exports.DebugGoogleTilesRenderer=$e41589f0d6e8ce27$var$DebugGoogleTilesRenderer;Object.keys($e41589f0d6e8ce27$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&&$cf838c15c8b009ba$exports[key]===$e41589f0d6e8ce27$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $e41589f0d6e8ce27$exports[key]}})});var $3b72713b91ab2ada$exports={};"use strict";Object.defineProperty($3b72713b91ab2ada$exports,"__esModule",{value:true});$3b72713b91ab2ada$exports.DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$exports.CesiumIonTilesRenderer=void 0;const $3b72713b91ab2ada$var$UNLOADED=0;const $3b72713b91ab2ada$var$LOADING=1;const $3b72713b91ab2ada$var$LOADED=2;const $3b72713b91ab2ada$var$FAILED=3;const $3b72713b91ab2ada$var$CesiumIonTilesRendererMixin=base=>class extends base{constructor(ionAssetId,ionAccessToken){super();this._tokenState=$3b72713b91ab2ada$var$UNLOADED;this._ionAccessToken=ionAccessToken;this._ionAssetId=ionAssetId;this._tileSetVersion=-1;this.preprocessURL=uri=>{uri=new URL(uri);if(/^http/.test(uri.protocol)&&this._tileSetVersion!=-1)uri.searchParams.append("v",this._tileSetVersion);return uri.toString()}}update(){const state=this._tokenState;if(state===$3b72713b91ab2ada$var$UNLOADED){this._tokenState=$3b72713b91ab2ada$var$LOADING;const url=new URL(`https://api.cesium.com/v1/assets/${this._ionAssetId}/endpoint`);url.searchParams.append("access_token",this._ionAccessToken);fetch(url,{mode:"cors"}).then(res=>{if(res.ok)return res.json();else return Promise.reject(`${res.status} : ${res.statusText}`)}).then(json=>{this._tokenState=$3b72713b91ab2ada$var$LOADED;const url=new URL(json.url);this._tileSetVersion=url.searchParams.get("v");this.rootURL=url;this.fetchOptions.headers=this.fetchOptions.headers||{};this.fetchOptions.headers.Authorization=`Bearer ${json.accessToken}`}).catch(()=>{this._tokenState=$3b72713b91ab2ada$var$FAILED})}else if(state===$3b72713b91ab2ada$var$LOADED)super.update()}};const $3b72713b91ab2ada$var$CesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRendererMixin($06d26e8e9f5361d3$exports.TilesRenderer);$3b72713b91ab2ada$exports.CesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRenderer;const $3b72713b91ab2ada$var$DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRendererMixin($1909f04f34bd6630$exports.DebugTilesRenderer);$3b72713b91ab2ada$exports.DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$var$DebugCesiumIonTilesRenderer;Object.keys($3b72713b91ab2ada$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&&$cf838c15c8b009ba$exports[key]===$3b72713b91ab2ada$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $3b72713b91ab2ada$exports[key]}})});Object.keys($002d29a772485791$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&&$cf838c15c8b009ba$exports[key]===$002d29a772485791$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $002d29a772485791$exports[key]}})});function $cf838c15c8b009ba$var$_getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap;var cacheNodeInterop=new WeakMap;return($cf838c15c8b009ba$var$_getRequireWildcardCache=function(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function $cf838c15c8b009ba$var$_interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=="object"&&typeof obj!=="function")return{default:obj};var cache=$cf838c15c8b009ba$var$_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set))Object.defineProperty(newObj,key,desc);else newObj[key]=obj[key]}newObj.default=obj;if(cache)cache.set(obj,newObj);return newObj}THREE.TDTiles=$cf838c15c8b009ba$exports});(function(){const DepthLimitedBlurShader={defines:{"KERNEL_RADIUS":4,"DEPTH_PACKING":1,"PERSPECTIVE_CAMERA":1},uniforms:{"tDiffuse":{value:null},"size":{value:new THREE.Vector2(512,512)},"sampleUvOffsets":{value:[new THREE.Vector2(0,0)]},"sampleWeights":{value:[1]},"tDepth":{value:null},"cameraNear":{value:10},"cameraFar":{value:1000},"depthCutoff":{value:10}},vertexShader:`

		#include <common>

		uniform vec2 size;

		varying vec2 vUv;
		varying vec2 vInvSize;

		void main() {
			vUv = uv;
			vInvSize = 1.0 / size;

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
		}`,fragmentShader:`

		#include <common>
		#include <packing>

		uniform sampler2D tDiffuse;
		uniform sampler2D tDepth;

		uniform float cameraNear;
		uniform float cameraFar;
		uniform float depthCutoff;

		uniform vec2 sampleUvOffsets[ KERNEL_RADIUS + 1 ];
		uniform float sampleWeights[ KERNEL_RADIUS + 1 ];

		varying vec2 vUv;
		varying vec2 vInvSize;

		float getDepth( const in vec2 screenPosition ) {
			#if DEPTH_PACKING == 1
			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
			#else
			return texture2D( tDepth, screenPosition ).x;
			#endif
		}

		float getViewZ( const in float depth ) {
			#if PERSPECTIVE_CAMERA == 1
			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
			#else
			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
			#endif
		}

		void main() {
			float depth = getDepth( vUv );
			if( depth >= ( 1.0 - EPSILON ) ) {
				discard;
			}

			float centerViewZ = -getViewZ( depth );
			bool rBreak = false, lBreak = false;

			float weightSum = sampleWeights[0];
			vec4 diffuseSum = texture2D( tDiffuse, vUv ) * weightSum;

			for( int i = 1; i <= KERNEL_RADIUS; i ++ ) {

				float sampleWeight = sampleWeights[i];
				vec2 sampleUvOffset = sampleUvOffsets[i] * vInvSize;

				vec2 sampleUv = vUv + sampleUvOffset;
				float viewZ = -getViewZ( getDepth( sampleUv ) );

				if( abs( viewZ - centerViewZ ) > depthCutoff ) rBreak = true;

				if( ! rBreak ) {
					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
					weightSum += sampleWeight;
				}

				sampleUv = vUv - sampleUvOffset;
				viewZ = -getViewZ( getDepth( sampleUv ) );

				if( abs( viewZ - centerViewZ ) > depthCutoff ) lBreak = true;

				if( ! lBreak ) {
					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
					weightSum += sampleWeight;
				}

			}

			gl_FragColor = diffuseSum / weightSum;
		}`};const BlurShaderUtils={createSampleWeights:function(kernelRadius,stdDev){const weights=[];for(let i=0;i<=kernelRadius;i++){weights.push(gaussian(i,stdDev))}return weights},createSampleOffsets:function(kernelRadius,uvIncrement){const offsets=[];for(let i=0;i<=kernelRadius;i++){offsets.push(uvIncrement.clone().multiplyScalar(i))}return offsets},configure:function(material,kernelRadius,stdDev,uvIncrement){material.defines["KERNEL_RADIUS"]=kernelRadius;material.uniforms["sampleUvOffsets"].value=BlurShaderUtils.createSampleOffsets(kernelRadius,uvIncrement);material.uniforms["sampleWeights"].value=BlurShaderUtils.createSampleWeights(kernelRadius,stdDev);material.needsUpdate=true}};function gaussian(x,stdDev){return Math.exp(-(x*x)/(2*(stdDev*stdDev)))/(Math.sqrt(2*Math.PI)*stdDev)}THREE.BlurShaderUtils=BlurShaderUtils;THREE.DepthLimitedBlurShader=DepthLimitedBlurShader})();(function(){class EffectComposer{constructor(renderer,renderTarget){this.renderer=renderer;if(renderTarget===undefined){const size=renderer.getSize(new THREE.Vector2);this._pixelRatio=renderer.getPixelRatio();this._width=size.width;this._height=size.height;renderTarget=new THREE.WebGLRenderTarget(this._width*this._pixelRatio,this._height*this._pixelRatio);renderTarget.texture.name="EffectComposer.rt1"}else{this._pixelRatio=1;this._width=renderTarget.width;this._height=renderTarget.height}this.renderTarget1=renderTarget;this.renderTarget2=renderTarget.clone();this.renderTarget2.texture.name="EffectComposer.rt2";this.writeBuffer=this.renderTarget1;this.readBuffer=this.renderTarget2;this.renderToScreen=true;this.passes=[];if(THREE.CopyShader===undefined){console.error("THREE.EffectComposer relies on THREE.CopyShader")}if(THREE.ShaderPass===undefined){console.error("THREE.EffectComposer relies on THREE.ShaderPass")}this.copyPass=new THREE.ShaderPass(THREE.CopyShader);this.clock=new THREE.Clock}swapBuffers(){const tmp=this.readBuffer;this.readBuffer=this.writeBuffer;this.writeBuffer=tmp}addPass(pass){this.passes.push(pass);pass.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}insertPass(pass,index){this.passes.splice(index,0,pass);pass.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}removePass(pass){const index=this.passes.indexOf(pass);if(index!==-1){this.passes.splice(index,1)}}isLastEnabledPass(passIndex){for(let i=passIndex+1;i<this.passes.length;i++){if(this.passes[i].enabled){return false}}return true}render(deltaTime){if(deltaTime===undefined){deltaTime=this.clock.getDelta()}const currentRenderTarget=this.renderer.getRenderTarget();let maskActive=false;for(let i=0,il=this.passes.length;i<il;i++){const pass=this.passes[i];if(pass.enabled===false)continue;pass.renderToScreen=this.renderToScreen&&this.isLastEnabledPass(i);pass.render(this.renderer,this.writeBuffer,this.readBuffer,deltaTime,maskActive);if(pass.needsSwap){if(maskActive){const context=this.renderer.getContext();const stencil=this.renderer.state.buffers.stencil;stencil.setFunc(context.NOTEQUAL,1,4294967295);this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,deltaTime);stencil.setFunc(context.EQUAL,1,4294967295)}this.swapBuffers()}if(THREE.MaskPass!==undefined){if(pass instanceof THREE.MaskPass){maskActive=true}else if(pass instanceof THREE.ClearMaskPass){maskActive=false}}}this.renderer.setRenderTarget(currentRenderTarget)}reset(renderTarget){if(renderTarget===undefined){const size=this.renderer.getSize(new THREE.Vector2);this._pixelRatio=this.renderer.getPixelRatio();this._width=size.width;this._height=size.height;renderTarget=this.renderTarget1.clone();renderTarget.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}this.renderTarget1.dispose();this.renderTarget2.dispose();this.renderTarget1=renderTarget;this.renderTarget2=renderTarget.clone();this.writeBuffer=this.renderTarget1;this.readBuffer=this.renderTarget2}setSize(width,height){this._width=width;this._height=height;const effectiveWidth=this._width*this._pixelRatio;const effectiveHeight=this._height*this._pixelRatio;this.renderTarget1.setSize(effectiveWidth,effectiveHeight);this.renderTarget2.setSize(effectiveWidth,effectiveHeight);for(let i=0;i<this.passes.length;i++){this.passes[i].setSize(effectiveWidth,effectiveHeight)}}setPixelRatio(pixelRatio){this._pixelRatio=pixelRatio;this.setSize(this._width,this._height)}}class Pass{constructor(){this.enabled=true;this.needsSwap=true;this.clear=false;this.renderToScreen=false}setSize(){}render(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}}const _camera=new THREE.OrthographicCamera(-1,1,1,-1,0,1);const _geometry=new THREE.BufferGeometry;_geometry.setAttribute("position",new THREE.Float32BufferAttribute([-1,3,0,-1,-1,0,3,-1,0],3));_geometry.setAttribute("uv",new THREE.Float32BufferAttribute([0,2,0,0,2,0],2));class FullScreenQuad{constructor(material){this._mesh=new THREE.Mesh(_geometry,material)}dispose(){this._mesh.geometry.dispose()}render(renderer){renderer.render(this._mesh,_camera)}get material(){return this._mesh.material}set material(value){this._mesh.material=value}}THREE.EffectComposer=EffectComposer;THREE.FullScreenQuad=FullScreenQuad;THREE.Pass=Pass})();(function(){const BlendShader={uniforms:{"tDiffuse1":{value:null},"tDiffuse2":{value:null},"mixRatio":{value:0.5},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;
		uniform float mixRatio;

		uniform sampler2D tDiffuse1;
		uniform sampler2D tDiffuse2;

		varying vec2 vUv;

		void main() {

			vec4 texel1 = texture2D( tDiffuse1, vUv );
			vec4 texel2 = texture2D( tDiffuse2, vUv );
			gl_FragColor = mix( texel1, texel2, mixRatio );
			gl_FragColor.a *= opacity;

		}`};THREE.BlendShader=BlendShader})();(function(){const CopyShader={uniforms:{"tDiffuse":{value:null},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		void main() {

			gl_FragColor = texture2D( tDiffuse, vUv );
			gl_FragColor.a *= opacity;


		}`};THREE.CopyShader=CopyShader})();(function(){const FXAAShader={uniforms:{"tDiffuse":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`
	precision highp float;

	uniform sampler2D tDiffuse;

	uniform vec2 resolution;

	varying vec2 vUv;

	// FXAA 3.11 implementation by NVIDIA, ported to WebGL by Agost Biro (biro@archilogic.com)

	//----------------------------------------------------------------------------------
	// File:        es3-kepler\FXAA\assets\shaders/FXAA_DefaultES.frag
	// SDK Version: v3.00
	// Email:       gameworks@nvidia.com
	// Site:        http://developer.nvidia.com/
	//
	// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
	//
	// Redistribution and use in source and binary forms, with or without
	// modification, are permitted provided that the following conditions
	// are met:
	//  * Redistributions of source code must retain the above copyright
	//    notice, this list of conditions and the following disclaimer.
	//  * Redistributions in binary form must reproduce the above copyright
	//    notice, this list of conditions and the following disclaimer in the
	//    documentation and/or other materials provided with the distribution.
	//  * Neither the name of NVIDIA CORPORATION nor the names of its
	//    contributors may be used to endorse or promote products derived
	//    from this software without specific prior written permission.
	//
	// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
	// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
	// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
	// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
	// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
	// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
	// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
	// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
	// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
	// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
	// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
	//
	//----------------------------------------------------------------------------------

	#ifndef FXAA_DISCARD
			//
			// Only valid for PC OpenGL currently.
			// Probably will not work when FXAA_GREEN_AS_LUMA = 1.
			//
			// 1 = Use discard on pixels which don't need AA.
			//     For APIs which enable concurrent TEX+ROP from same surface.
			// 0 = Return unchanged color on pixels which don't need AA.
			//
			#define FXAA_DISCARD 0
	#endif

	/*--------------------------------------------------------------------------*/
	#define FxaaTexTop(t, p) texture2D(t, p, -100.0)
	#define FxaaTexOff(t, p, o, r) texture2D(t, p + (o * r), -100.0)
	/*--------------------------------------------------------------------------*/

	#define NUM_SAMPLES 5

	// assumes colors have premultipliedAlpha, so that the calculated color contrast is scaled by alpha
	float contrast( vec4 a, vec4 b ) {
			vec4 diff = abs( a - b );
			return max( max( max( diff.r, diff.g ), diff.b ), diff.a );
	}

	/*============================================================================

									FXAA3 QUALITY - PC

	============================================================================*/

	/*--------------------------------------------------------------------------*/
	vec4 FxaaPixelShader(
			vec2 posM,
			sampler2D tex,
			vec2 fxaaQualityRcpFrame,
			float fxaaQualityEdgeThreshold,
			float fxaaQualityinvEdgeThreshold
	) {
			vec4 rgbaM = FxaaTexTop(tex, posM);
			vec4 rgbaS = FxaaTexOff(tex, posM, vec2( 0.0, 1.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaE = FxaaTexOff(tex, posM, vec2( 1.0, 0.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaN = FxaaTexOff(tex, posM, vec2( 0.0,-1.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaW = FxaaTexOff(tex, posM, vec2(-1.0, 0.0), fxaaQualityRcpFrame.xy);
			// . S .
			// W M E
			// . N .

			bool earlyExit = max( max( max(
					contrast( rgbaM, rgbaN ),
					contrast( rgbaM, rgbaS ) ),
					contrast( rgbaM, rgbaE ) ),
					contrast( rgbaM, rgbaW ) )
					< fxaaQualityEdgeThreshold;
			// . 0 .
			// 0 0 0
			// . 0 .

			#if (FXAA_DISCARD == 1)
					if(earlyExit) FxaaDiscard;
			#else
					if(earlyExit) return rgbaM;
			#endif

			float contrastN = contrast( rgbaM, rgbaN );
			float contrastS = contrast( rgbaM, rgbaS );
			float contrastE = contrast( rgbaM, rgbaE );
			float contrastW = contrast( rgbaM, rgbaW );

			float relativeVContrast = ( contrastN + contrastS ) - ( contrastE + contrastW );
			relativeVContrast *= fxaaQualityinvEdgeThreshold;

			bool horzSpan = relativeVContrast > 0.;
			// . 1 .
			// 0 0 0
			// . 1 .

			// 45 deg edge detection and corners of objects, aka V/H contrast is too similar
			if( abs( relativeVContrast ) < .3 ) {
					// locate the edge
					vec2 dirToEdge;
					dirToEdge.x = contrastE > contrastW ? 1. : -1.;
					dirToEdge.y = contrastS > contrastN ? 1. : -1.;
					// . 2 .      . 1 .
					// 1 0 2  ~=  0 0 1
					// . 1 .      . 0 .

					// tap 2 pixels and see which ones are "outside" the edge, to
					// determine if the edge is vertical or horizontal

					vec4 rgbaAlongH = FxaaTexOff(tex, posM, vec2( dirToEdge.x, -dirToEdge.y ), fxaaQualityRcpFrame.xy);
					float matchAlongH = contrast( rgbaM, rgbaAlongH );
					// . 1 .
					// 0 0 1
					// . 0 H

					vec4 rgbaAlongV = FxaaTexOff(tex, posM, vec2( -dirToEdge.x, dirToEdge.y ), fxaaQualityRcpFrame.xy);
					float matchAlongV = contrast( rgbaM, rgbaAlongV );
					// V 1 .
					// 0 0 1
					// . 0 .

					relativeVContrast = matchAlongV - matchAlongH;
					relativeVContrast *= fxaaQualityinvEdgeThreshold;

					if( abs( relativeVContrast ) < .3 ) { // 45 deg edge
							// 1 1 .
							// 0 0 1
							// . 0 1

							// do a simple blur
							return mix(
									rgbaM,
									(rgbaN + rgbaS + rgbaE + rgbaW) * .25,
									.4
							);
					}

					horzSpan = relativeVContrast > 0.;
			}

			if(!horzSpan) rgbaN = rgbaW;
			if(!horzSpan) rgbaS = rgbaE;
			// . 0 .      1
			// 1 0 1  ->  0
			// . 0 .      1

			bool pairN = contrast( rgbaM, rgbaN ) > contrast( rgbaM, rgbaS );
			if(!pairN) rgbaN = rgbaS;

			vec2 offNP;
			offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x;
			offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y;

			bool doneN = false;
			bool doneP = false;

			float nDist = 0.;
			float pDist = 0.;

			vec2 posN = posM;
			vec2 posP = posM;

			int iterationsUsed = 0;
			int iterationsUsedN = 0;
			int iterationsUsedP = 0;
			for( int i = 0; i < NUM_SAMPLES; i++ ) {
					iterationsUsed = i;

					float increment = float(i + 1);

					if(!doneN) {
							nDist += increment;
							posN = posM + offNP * nDist;
							vec4 rgbaEndN = FxaaTexTop(tex, posN.xy);
							doneN = contrast( rgbaEndN, rgbaM ) > contrast( rgbaEndN, rgbaN );
							iterationsUsedN = i;
					}

					if(!doneP) {
							pDist += increment;
							posP = posM - offNP * pDist;
							vec4 rgbaEndP = FxaaTexTop(tex, posP.xy);
							doneP = contrast( rgbaEndP, rgbaM ) > contrast( rgbaEndP, rgbaN );
							iterationsUsedP = i;
					}

					if(doneN || doneP) break;
			}


			if ( !doneP && !doneN ) return rgbaM; // failed to find end of edge

			float dist = min(
					doneN ? float( iterationsUsedN ) / float( NUM_SAMPLES - 1 ) : 1.,
					doneP ? float( iterationsUsedP ) / float( NUM_SAMPLES - 1 ) : 1.
			);

			// hacky way of reduces blurriness of mostly diagonal edges
			// but reduces AA quality
			dist = pow(dist, .5);

			dist = 1. - dist;

			return mix(
					rgbaM,
					rgbaN,
					dist * .5
			);
	}

	void main() {
			const float edgeDetectionQuality = .2;
			const float invEdgeDetectionQuality = 1. / edgeDetectionQuality;

			gl_FragColor = FxaaPixelShader(
					vUv,
					tDiffuse,
					resolution,
					edgeDetectionQuality, // [0,1] contrast needed, otherwise early discard
					invEdgeDetectionQuality
			);

	}
	`};THREE.FXAAShader=FXAAShader})();(function(){const GammaCorrectionShader={uniforms:{"tDiffuse":{value:null}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		void main() {

			vec4 tex = texture2D( tDiffuse, vUv );

			gl_FragColor = LinearTosRGB( tex );

		}`};THREE.GammaCorrectionShader=GammaCorrectionShader})();(function(require){class CustomRenderPass extends THREE.Pass{constructor(renderCallback){super();this.renderCallback=renderCallback;this.scene=null;this.camera=null;this.clear=true;this.clearDepth=false;this.needsSwap=false}render(renderer,writeBuffer,readBuffer,delta,maskActive){var oldAutoClear=renderer.autoClear;renderer.autoClear=false;this.renderCallback(renderer,this.scene,this.camera,this.renderToScreen?null:readBuffer,this.clear);renderer.autoClear=oldAutoClear}}THREE.CustomRenderPass=CustomRenderPass})();(function(){class MaskPass extends THREE.Pass{constructor(scene,camera){super();this.scene=scene;this.camera=camera;this.clear=true;this.needsSwap=false;this.inverse=false}render(renderer,writeBuffer,readBuffer){const context=renderer.getContext();const state=renderer.state;state.buffers.color.setMask(false);state.buffers.depth.setMask(false);state.buffers.color.setLocked(true);state.buffers.depth.setLocked(true);let writeValue,clearValue;if(this.inverse){writeValue=0;clearValue=1}else{writeValue=1;clearValue=0}state.buffers.stencil.setTest(true);state.buffers.stencil.setOp(context.REPLACE,context.REPLACE,context.REPLACE);state.buffers.stencil.setFunc(context.ALWAYS,writeValue,4294967295);state.buffers.stencil.setClear(clearValue);state.buffers.stencil.setLocked(true);renderer.setRenderTarget(readBuffer);if(this.clear)renderer.clear();renderer.render(this.scene,this.camera);renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear();renderer.render(this.scene,this.camera);state.buffers.color.setLocked(false);state.buffers.depth.setLocked(false);state.buffers.stencil.setLocked(false);state.buffers.stencil.setFunc(context.EQUAL,1,4294967295);state.buffers.stencil.setOp(context.KEEP,context.KEEP,context.KEEP);state.buffers.stencil.setLocked(true)}}class ClearMaskPass extends THREE.Pass{constructor(){super();this.needsSwap=false}render(renderer){renderer.state.buffers.stencil.setLocked(false);renderer.state.buffers.stencil.setTest(false)}}THREE.ClearMaskPass=ClearMaskPass;THREE.MaskPass=MaskPass})();(function(){var vertexShader=["varying vec2 vUv;","void main() {","    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","    vUv = uv;","}"].join("\n");var fragmentShader=["varying vec2 vUv;","uniform sampler2D tDepth;","uniform sampler2D tColor;","uniform mat4 inverseProjectionMatrix;","uniform float near;","uniform float far;","uniform float depthLimit;","uniform mat4 clipToWorldMatrix;","uniform mat4 previousWorldToClipMatrix;","uniform vec3 cameraMove;    ","uniform float velocityFactor;","uniform float delta;","uniform int samples;","void main() {","    float zOverW = texture2D(tDepth, vUv).x;","    vec4 clipPosition = vec4(vUv.x * 2. - 1., vUv.y * 2. - 1., zOverW * 2. - 1., 1.);","    vec4 cameraSpacePosition = inverseProjectionMatrix * clipPosition;","    cameraSpacePosition /= cameraSpacePosition.w;","    float depth = -(cameraSpacePosition.z - near) / (far - near);","    if (depth > depthLimit)","    {","       gl_FragColor = texture2D(tColor, vUv);","       return;","    }","    vec4 worldPosition = clipToWorldMatrix * clipPosition;","    worldPosition /= worldPosition.w;","    vec4 previousClipPosition = worldPosition;","    previousClipPosition.xyz -= cameraMove * (","        1. - smoothstep(.3, 1., clamp(length(clipPosition.xy), 0., 1.))","    );","    previousClipPosition = previousWorldToClipMatrix * previousClipPosition;","    previousClipPosition /= previousClipPosition.w;","    vec2 velocity = velocityFactor * (clipPosition - previousClipPosition).xy / delta * 16.67;","    vec4 finalColor = vec4(0.);","    vec2 offset = vec2(0.);","    float weight = 0.;","    for(int i = 0; i < samples; i++) {","            offset = velocity * (float(i) / (float(samples) - 1.) - .5);","            vec4 c = texture2D(tColor, vUv + offset);","        finalColor += c;","    }","    finalColor /= float(samples);","    gl_FragColor = vec4(finalColor.rgb, 1.);","}"].join("\n");var uniforms={"tDepth":{type:"t",value:null},"tColor":{type:"t",value:null},"velocityFactor":{type:"f",value:1},"delta":{type:"f",value:16.67},"samples":{type:"i",value:20},"inverseProjectionMatrix":{type:"m4",value:new THREE.Matrix4},"clipToWorldMatrix":{type:"m4",value:new THREE.Matrix4},"previousWorldToClipMatrix":{type:"m4",value:new THREE.Matrix4},"cameraMove":{type:"v3",value:new THREE.Vector3},"near":{type:"f",value:1},"far":{type:"f",value:1000},"depthLimit":{type:"f",value:0.99}};class MotionBlurPass extends THREE.Pass{constructor(){super();this.uniforms=THREE.UniformsUtils.clone(uniforms);this.material=new THREE.ShaderMaterial({defines:{},uniforms:this.uniforms,vertexShader:vertexShader,fragmentShader:fragmentShader});this.fsQuad=new THREE.FullScreenQuad(this.material)}render(renderer,writeBuffer,readBuffer,deltaTime,maskActive){this.uniforms["tColor"].value=readBuffer.texture;this.uniforms["tDepth"].value=readBuffer.depthTexture;this.fsQuad.material=this.material;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);this.fsQuad.render(renderer)}}dispose(){this.fsQuad.dispose();this.material.dispose()}};THREE.MotionBlurPass=MotionBlurPass})();(function(){class RenderPass extends THREE.Pass{constructor(scene,camera,overrideMaterial,clearColor,clearAlpha){super();this.scene=scene;this.camera=camera;this.overrideMaterial=overrideMaterial;this.clearColor=clearColor;this.clearAlpha=clearAlpha!==undefined?clearAlpha:0;this.clear=true;this.clearDepth=false;this.needsSwap=false;this._oldClearColor=new THREE.Color}render(renderer,writeBuffer,readBuffer){const oldAutoClear=renderer.autoClear;renderer.autoClear=false;let oldClearAlpha,oldOverrideMaterial;if(this.overrideMaterial!==undefined){oldOverrideMaterial=this.scene.overrideMaterial;this.scene.overrideMaterial=this.overrideMaterial}if(this.clearColor){renderer.getClearColor(this._oldClearColor);oldClearAlpha=renderer.getClearAlpha();renderer.setClearColor(this.clearColor,this.clearAlpha)}if(this.clearDepth){renderer.clearDepth()}renderer.setRenderTarget(this.renderToScreen?null:readBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);renderer.render(this.scene,this.camera);if(this.clearColor){renderer.setClearColor(this._oldClearColor,oldClearAlpha)}if(this.overrideMaterial!==undefined){this.scene.overrideMaterial=oldOverrideMaterial}renderer.autoClear=oldAutoClear}}THREE.RenderPass=RenderPass})();(function(){class SAOPass extends THREE.Pass{constructor(scene,camera,useDepthTexture=false,useNormals=false,resolution=new THREE.Vector2(256,256)){super();this.scene=scene;this.camera=camera;this.clear=true;this.needsSwap=false;this.supportsDepthTextureExtension=useDepthTexture;this.supportsNormalTexture=useNormals;this.originalClearColor=new THREE.Color;this._oldClearColor=new THREE.Color;this.oldClearAlpha=1;this.params={output:0,saoBias:0.5,saoIntensity:0.18,saoScale:1,saoKernelRadius:100,saoMinResolution:0,saoBlur:true,saoBlurRadius:8,saoBlurStdDev:4,saoBlurDepthCutoff:0.01};this.resolution=new THREE.Vector2(resolution.x,resolution.y);this.saoRenderTarget=new THREE.WebGLRenderTarget(this.resolution.x,this.resolution.y);this.blurIntermediateRenderTarget=this.saoRenderTarget.clone();this.beautyRenderTarget=this.saoRenderTarget.clone();this.normalRenderTarget=new THREE.WebGLRenderTarget(this.resolution.x,this.resolution.y,{minFilter:THREE.NearestFilter,magFilter:THREE.NearestFilter});this.depthRenderTarget=this.normalRenderTarget.clone();let depthTexture;if(this.supportsDepthTextureExtension){depthTexture=new THREE.DepthTexture;depthTexture.type=THREE.UnsignedShortType;this.beautyRenderTarget.depthTexture=depthTexture;this.beautyRenderTarget.depthBuffer=true}this.depthMaterial=new THREE.MeshDepthMaterial;this.depthMaterial.depthPacking=THREE.RGBADepthPacking;this.depthMaterial.blending=THREE.NoBlending;this.normalMaterial=new THREE.MeshNormalMaterial;this.normalMaterial.blending=THREE.NoBlending;if(THREE.SAOShader===undefined){console.error("THREE.SAOPass relies on THREE.SAOShader")}this.saoMaterial=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SAOShader.defines),fragmentShader:THREE.SAOShader.fragmentShader,vertexShader:THREE.SAOShader.vertexShader,uniforms:THREE.UniformsUtils.clone(THREE.SAOShader.uniforms)});this.saoMaterial.extensions.derivatives=true;this.saoMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.saoMaterial.defines["NORMAL_TEXTURE"]=this.supportsNormalTexture?1:0;this.saoMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.saoMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.saoMaterial.uniforms["tNormal"].value=this.normalRenderTarget.texture;this.saoMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.saoMaterial.uniforms["cameraInverseProjectionMatrix"].value.copy(this.camera.projectionMatrixInverse);this.saoMaterial.uniforms["cameraProjectionMatrix"].value=this.camera.projectionMatrix;this.saoMaterial.blending=THREE.NoBlending;if(THREE.DepthLimitedBlurShader===undefined){console.error("THREE.SAOPass relies on THREE.DepthLimitedBlurShader")}this.vBlurMaterial=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.DepthLimitedBlurShader.uniforms),defines:Object.assign({},THREE.DepthLimitedBlurShader.defines),vertexShader:THREE.DepthLimitedBlurShader.vertexShader,fragmentShader:THREE.DepthLimitedBlurShader.fragmentShader});this.vBlurMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.vBlurMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.vBlurMaterial.uniforms["tDiffuse"].value=this.saoRenderTarget.texture;this.vBlurMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.vBlurMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.vBlurMaterial.blending=THREE.NoBlending;this.hBlurMaterial=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.DepthLimitedBlurShader.uniforms),defines:Object.assign({},THREE.DepthLimitedBlurShader.defines),vertexShader:THREE.DepthLimitedBlurShader.vertexShader,fragmentShader:THREE.DepthLimitedBlurShader.fragmentShader});this.hBlurMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.hBlurMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.hBlurMaterial.uniforms["tDiffuse"].value=this.blurIntermediateRenderTarget.texture;this.hBlurMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.hBlurMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.hBlurMaterial.blending=THREE.NoBlending;if(THREE.CopyShader===undefined){console.error("THREE.SAOPass relies on THREE.CopyShader")}this.materialCopy=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.CopyShader.uniforms),vertexShader:THREE.CopyShader.vertexShader,fragmentShader:THREE.CopyShader.fragmentShader,blending:THREE.NoBlending});this.materialCopy.transparent=true;this.materialCopy.depthTest=false;this.materialCopy.depthWrite=false;this.materialCopy.blending=THREE.CustomBlending;this.materialCopy.blendSrc=THREE.DstColorFactor;this.materialCopy.blendDst=THREE.ZeroFactor;this.materialCopy.blendEquation=THREE.AddEquation;this.materialCopy.blendSrcAlpha=THREE.DstAlphaFactor;this.materialCopy.blendDstAlpha=THREE.ZeroFactor;this.materialCopy.blendEquationAlpha=THREE.AddEquation;if(THREE.UnpackDepthRGBAShader===undefined){console.error("THREE.SAOPass relies on THREE.UnpackDepthRGBAShader")}this.depthCopy=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.UnpackDepthRGBAShader.uniforms),vertexShader:THREE.UnpackDepthRGBAShader.vertexShader,fragmentShader:THREE.UnpackDepthRGBAShader.fragmentShader,blending:THREE.NoBlending});this.fsQuad=new THREE.FullScreenQuad(null)}render(renderer,writeBuffer,readBuffer){if(this.renderToScreen){this.materialCopy.blending=THREE.NoBlending;this.materialCopy.uniforms["tDiffuse"].value=readBuffer.texture;this.materialCopy.needsUpdate=true;this.renderPass(renderer,this.materialCopy,null)}if(this.params.output===1){return}renderer.getClearColor(this._oldClearColor);this.oldClearAlpha=renderer.getClearAlpha();const oldAutoClear=renderer.autoClear;renderer.autoClear=false;renderer.setRenderTarget(this.depthRenderTarget);renderer.clear();this.saoMaterial.uniforms["bias"].value=this.params.saoBias;this.saoMaterial.uniforms["intensity"].value=this.params.saoIntensity;this.saoMaterial.uniforms["scale"].value=this.params.saoScale;this.saoMaterial.uniforms["kernelRadius"].value=this.params.saoKernelRadius;this.saoMaterial.uniforms["minResolution"].value=this.params.saoMinResolution;this.saoMaterial.uniforms["cameraNear"].value=this.camera.near;this.saoMaterial.uniforms["cameraFar"].value=this.camera.far;const depthCutoff=this.params.saoBlurDepthCutoff*(this.camera.far-this.camera.near);this.vBlurMaterial.uniforms["depthCutoff"].value=depthCutoff;this.hBlurMaterial.uniforms["depthCutoff"].value=depthCutoff;this.vBlurMaterial.uniforms["cameraNear"].value=this.camera.near;this.vBlurMaterial.uniforms["cameraFar"].value=this.camera.far;this.hBlurMaterial.uniforms["cameraNear"].value=this.camera.near;this.hBlurMaterial.uniforms["cameraFar"].value=this.camera.far;this.params.saoBlurRadius=Math.floor(this.params.saoBlurRadius);if(this.prevStdDev!==this.params.saoBlurStdDev||this.prevNumSamples!==this.params.saoBlurRadius){THREE.BlurShaderUtils.configure(this.vBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new THREE.Vector2(0,1));THREE.BlurShaderUtils.configure(this.hBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new THREE.Vector2(1,0));this.prevStdDev=this.params.saoBlurStdDev;this.prevNumSamples=this.params.saoBlurRadius}renderer.setClearColor(0);renderer.setRenderTarget(this.beautyRenderTarget);renderer.clear();renderer.render(this.scene,this.camera);if(!this.supportsDepthTextureExtension){this.renderOverride(renderer,this.depthMaterial,this.depthRenderTarget,0,1)}if(this.supportsNormalTexture){this.renderOverride(renderer,this.normalMaterial,this.normalRenderTarget,7829503,1)}this.renderPass(renderer,this.saoMaterial,this.saoRenderTarget,16777215,1);if(this.params.saoBlur){this.renderPass(renderer,this.vBlurMaterial,this.blurIntermediateRenderTarget,16777215,1);this.renderPass(renderer,this.hBlurMaterial,this.saoRenderTarget,16777215,1)}let outputMaterial=this.materialCopy;if(this.params.output===3){if(this.supportsDepthTextureExtension){this.materialCopy.uniforms["tDiffuse"].value=this.beautyRenderTarget.depthTexture;this.materialCopy.needsUpdate=true}else{this.depthCopy.uniforms["tDiffuse"].value=this.depthRenderTarget.texture;this.depthCopy.needsUpdate=true;outputMaterial=this.depthCopy}}else if(this.params.output===4){this.materialCopy.uniforms["tDiffuse"].value=this.normalRenderTarget.texture;this.materialCopy.needsUpdate=true}else{this.materialCopy.uniforms["tDiffuse"].value=this.saoRenderTarget.texture;this.materialCopy.needsUpdate=true}if(this.params.output===0){outputMaterial.blending=THREE.CustomBlending}else{outputMaterial.blending=THREE.NoBlending}this.renderPass(renderer,outputMaterial,this.renderToScreen?null:readBuffer);renderer.setClearColor(this._oldClearColor,this.oldClearAlpha);renderer.autoClear=oldAutoClear}renderPass(renderer,passMaterial,renderTarget,clearColor,clearAlpha){renderer.getClearColor(this.originalClearColor);const originalClearAlpha=renderer.getClearAlpha();const originalAutoClear=renderer.autoClear;renderer.setRenderTarget(renderTarget);renderer.autoClear=false;if(clearColor!==undefined&&clearColor!==null){renderer.setClearColor(clearColor);renderer.setClearAlpha(clearAlpha||0);renderer.clear()}this.fsQuad.material=passMaterial;this.fsQuad.render(renderer);renderer.autoClear=originalAutoClear;renderer.setClearColor(this.originalClearColor);renderer.setClearAlpha(originalClearAlpha)}renderOverride(renderer,overrideMaterial,renderTarget,clearColor,clearAlpha){renderer.getClearColor(this.originalClearColor);const originalClearAlpha=renderer.getClearAlpha();const originalAutoClear=renderer.autoClear;renderer.setRenderTarget(renderTarget);renderer.autoClear=false;clearColor=overrideMaterial.clearColor||clearColor;clearAlpha=overrideMaterial.clearAlpha||clearAlpha;if(clearColor!==undefined&&clearColor!==null){renderer.setClearColor(clearColor);renderer.setClearAlpha(clearAlpha||0);renderer.clear()}this.scene.overrideMaterial=overrideMaterial;renderer.render(this.scene,this.camera);this.scene.overrideMaterial=null;renderer.autoClear=originalAutoClear;renderer.setClearColor(this.originalClearColor);renderer.setClearAlpha(originalClearAlpha)}setSize(width,height){this.beautyRenderTarget.setSize(width,height);this.saoRenderTarget.setSize(width,height);this.blurIntermediateRenderTarget.setSize(width,height);this.normalRenderTarget.setSize(width,height);this.depthRenderTarget.setSize(width,height);this.saoMaterial.uniforms["size"].value.set(width,height);this.saoMaterial.uniforms["cameraInverseProjectionMatrix"].value.copy(this.camera.projectionMatrixInverse);this.saoMaterial.uniforms["cameraProjectionMatrix"].value=this.camera.projectionMatrix;this.saoMaterial.needsUpdate=true;this.vBlurMaterial.uniforms["size"].value.set(width,height);this.vBlurMaterial.needsUpdate=true;this.hBlurMaterial.uniforms["size"].value.set(width,height);this.hBlurMaterial.needsUpdate=true}}SAOPass.OUTPUT={"Beauty":1,"Default":0,"SAO":2,"Depth":3,"Normal":4};THREE.SAOPass=SAOPass})();(function(){const SAOShader={defines:{"NUM_SAMPLES":7,"NUM_RINGS":4,"NORMAL_TEXTURE":0,"DIFFUSE_TEXTURE":0,"DEPTH_PACKING":1,"PERSPECTIVE_CAMERA":1},uniforms:{"tDepth":{value:null},"tDiffuse":{value:null},"tNormal":{value:null},"size":{value:new THREE.Vector2(512,512)},"cameraNear":{value:1},"cameraFar":{value:100},"cameraProjectionMatrix":{value:new THREE.Matrix4},"cameraInverseProjectionMatrix":{value:new THREE.Matrix4},"scale":{value:1},"intensity":{value:0.1},"bias":{value:0.5},"minResolution":{value:0},"kernelRadius":{value:100},"randomSeed":{value:0}},vertexShader:`

		varying vec2 vUv;

		void main() {
			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
		}`,fragmentShader:`

		#include <common>

		varying vec2 vUv;

		#if DIFFUSE_TEXTURE == 1
		uniform sampler2D tDiffuse;
		#endif

		uniform sampler2D tDepth;

		#if NORMAL_TEXTURE == 1
		uniform sampler2D tNormal;
		#endif

		uniform float cameraNear;
		uniform float cameraFar;
		uniform mat4 cameraProjectionMatrix;
		uniform mat4 cameraInverseProjectionMatrix;

		uniform float scale;
		uniform float intensity;
		uniform float bias;
		uniform float kernelRadius;
		uniform float minResolution;
		uniform vec2 size;
		uniform float randomSeed;

		// RGBA depth

		#include <packing>

		vec4 getDefaultColor( const in vec2 screenPosition ) {
			#if DIFFUSE_TEXTURE == 1
			return texture2D( tDiffuse, vUv );
			#else
			return vec4( 1.0 );
			#endif
		}

		float getDepth( const in vec2 screenPosition ) {
			#if DEPTH_PACKING == 1
			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
			#else
			return texture2D( tDepth, screenPosition ).x;
			#endif
		}

		float getViewZ( const in float depth ) {
			#if PERSPECTIVE_CAMERA == 1
			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
			#else
			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
			#endif
		}

		vec3 getViewPosition( const in vec2 screenPosition, const in float depth, const in float viewZ ) {
			float clipW = cameraProjectionMatrix[2][3] * viewZ + cameraProjectionMatrix[3][3];
			vec4 clipPosition = vec4( ( vec3( screenPosition, depth ) - 0.5 ) * 2.0, 1.0 );
			clipPosition *= clipW; // unprojection.

			return ( cameraInverseProjectionMatrix * clipPosition ).xyz;
		}

		vec3 getViewNormal( const in vec3 viewPosition, const in vec2 screenPosition ) {
			#if NORMAL_TEXTURE == 1
			return unpackRGBToNormal( texture2D( tNormal, screenPosition ).xyz );
			#else
			return normalize( cross( dFdx( viewPosition ), dFdy( viewPosition ) ) );
			#endif
		}

		float scaleDividedByCameraFar;
		float minResolutionMultipliedByCameraFar;

		float getOcclusion( const in vec3 centerViewPosition, const in vec3 centerViewNormal, const in vec3 sampleViewPosition ) {
			vec3 viewDelta = sampleViewPosition - centerViewPosition;
			float viewDistance = length( viewDelta );
			float scaledScreenDistance = scaleDividedByCameraFar * viewDistance;

			return max(0.0, (dot(centerViewNormal, viewDelta) - minResolutionMultipliedByCameraFar) / scaledScreenDistance - bias) / (1.0 + pow2( scaledScreenDistance ) );
		}

		// moving costly divides into consts
		const float ANGLE_STEP = PI2 * float( NUM_RINGS ) / float( NUM_SAMPLES );
		const float INV_NUM_SAMPLES = 1.0 / float( NUM_SAMPLES );

		float getAmbientOcclusion( const in vec3 centerViewPosition ) {
			// precompute some variables require in getOcclusion.
			scaleDividedByCameraFar = scale / cameraFar;
			minResolutionMultipliedByCameraFar = minResolution * cameraFar;
			vec3 centerViewNormal = getViewNormal( centerViewPosition, vUv );

			// jsfiddle that shows sample pattern: https://jsfiddle.net/a16ff1p7/
			float angle = rand( vUv + randomSeed ) * PI2;
			vec2 radius = vec2( kernelRadius * INV_NUM_SAMPLES ) / size;
			vec2 radiusStep = radius;

			float occlusionSum = 0.0;
			float weightSum = 0.0;

			for( int i = 0; i < NUM_SAMPLES; i ++ ) {
				vec2 sampleUv = vUv + vec2( cos( angle ), sin( angle ) ) * radius;
				radius += radiusStep;
				angle += ANGLE_STEP;

				float sampleDepth = getDepth( sampleUv );
				if( sampleDepth >= ( 1.0 - EPSILON ) ) {
					continue;
				}

				float sampleViewZ = getViewZ( sampleDepth );
				vec3 sampleViewPosition = getViewPosition( sampleUv, sampleDepth, sampleViewZ );
				occlusionSum += getOcclusion( centerViewPosition, centerViewNormal, sampleViewPosition );
				weightSum += 1.0;
			}

			if( weightSum == 0.0 ) discard;

			return occlusionSum * ( intensity / weightSum );
		}

		void main() {
			float centerDepth = getDepth( vUv );
			if( centerDepth >= ( 1.0 - EPSILON ) ) {
				discard;
			}

			float centerViewZ = getViewZ( centerDepth );
			vec3 viewPosition = getViewPosition( vUv, centerDepth, centerViewZ );

			float ambientOcclusion = getAmbientOcclusion( viewPosition );

			gl_FragColor = getDefaultColor( vUv );
			gl_FragColor.xyz *=  1.0 - ambientOcclusion;
		}`};THREE.SAOShader=SAOShader})();(function(){class SavePass extends THREE.Pass{constructor(renderTarget){super();if(THREE.CopyShader===undefined)console.error("THREE.SavePass relies on THREE.CopyShader");const shader=THREE.CopyShader;this.textureID="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(shader.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:shader.vertexShader,fragmentShader:shader.fragmentShader});this.renderTarget=renderTarget;if(this.renderTarget===undefined){this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight);this.renderTarget.texture.name="SavePass.rt"}this.needsSwap=false;this.fsQuad=new THREE.FullScreenQuad(this.material)}render(renderer,writeBuffer,readBuffer){if(this.uniforms[this.textureID]){this.uniforms[this.textureID].value=readBuffer.texture}renderer.setRenderTarget(this.renderTarget);if(this.clear)renderer.clear();this.fsQuad.render(renderer)}}THREE.SavePass=SavePass})();(function(){class ShaderPass extends THREE.Pass{constructor(shader,textureID){super();this.textureID=textureID!==undefined?textureID:"tDiffuse";if(shader instanceof THREE.ShaderMaterial){this.uniforms=shader.uniforms;this.material=shader}else if(shader){this.uniforms=THREE.UniformsUtils.clone(shader.uniforms);this.material=new THREE.ShaderMaterial({defines:Object.assign({},shader.defines),uniforms:this.uniforms,vertexShader:shader.vertexShader,fragmentShader:shader.fragmentShader})}this.fsQuad=new THREE.FullScreenQuad(this.material)}render(renderer,writeBuffer,readBuffer){if(this.uniforms[this.textureID]){this.uniforms[this.textureID].value=readBuffer.texture}this.fsQuad.material=this.material;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);this.fsQuad.render(renderer)}}}THREE.ShaderPass=ShaderPass})();(function(){class SMAAPass extends THREE.Pass{constructor(width,height){super();this.edgesRT=new THREE.WebGLRenderTarget(width,height,{depthBuffer:false});this.edgesRT.texture.name="SMAAPass.edges";this.weightsRT=new THREE.WebGLRenderTarget(width,height,{depthBuffer:false});this.weightsRT.texture.name="SMAAPass.weights";const scope=this;const areaTextureImage=new Image;areaTextureImage.src=this.getAreaTexture();areaTextureImage.onload=function(){scope.areaTexture.needsUpdate=true};this.areaTexture=new THREE.Texture;this.areaTexture.name="SMAAPass.area";this.areaTexture.image=areaTextureImage;this.areaTexture.minFilter=THREE.LinearFilter;this.areaTexture.generateMipmaps=false;this.areaTexture.flipY=false;const searchTextureImage=new Image;searchTextureImage.src=this.getSearchTexture();searchTextureImage.onload=function(){scope.searchTexture.needsUpdate=true};this.searchTexture=new THREE.Texture;this.searchTexture.name="SMAAPass.search";this.searchTexture.image=searchTextureImage;this.searchTexture.magFilter=THREE.NearestFilter;this.searchTexture.minFilter=THREE.NearestFilter;this.searchTexture.generateMipmaps=false;this.searchTexture.flipY=false;if(THREE.SMAAEdgesShader===undefined){console.error("THREE.SMAAPass relies on SMAAShader")}this.uniformsEdges=THREE.UniformsUtils.clone(THREE.SMAAEdgesShader.uniforms);this.uniformsEdges["resolution"].value.set(1/width,1/height);this.materialEdges=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SMAAEdgesShader.defines),uniforms:this.uniformsEdges,vertexShader:THREE.SMAAEdgesShader.vertexShader,fragmentShader:THREE.SMAAEdgesShader.fragmentShader});this.uniformsWeights=THREE.UniformsUtils.clone(THREE.SMAAWeightsShader.uniforms);this.uniformsWeights["resolution"].value.set(1/width,1/height);this.uniformsWeights["tDiffuse"].value=this.edgesRT.texture;this.uniformsWeights["tArea"].value=this.areaTexture;this.uniformsWeights["tSearch"].value=this.searchTexture;this.materialWeights=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SMAAWeightsShader.defines),uniforms:this.uniformsWeights,vertexShader:THREE.SMAAWeightsShader.vertexShader,fragmentShader:THREE.SMAAWeightsShader.fragmentShader});this.uniformsBlend=THREE.UniformsUtils.clone(THREE.SMAABlendShader.uniforms);this.uniformsBlend["resolution"].value.set(1/width,1/height);this.uniformsBlend["tDiffuse"].value=this.weightsRT.texture;this.materialBlend=new THREE.ShaderMaterial({uniforms:this.uniformsBlend,vertexShader:THREE.SMAABlendShader.vertexShader,fragmentShader:THREE.SMAABlendShader.fragmentShader});this.needsSwap=false;this.fsQuad=new THREE.FullScreenQuad(null)}render(renderer,writeBuffer,readBuffer){this.uniformsEdges["tDiffuse"].value=readBuffer.texture;this.fsQuad.material=this.materialEdges;renderer.setRenderTarget(this.edgesRT);if(this.clear)renderer.clear();this.fsQuad.render(renderer);this.fsQuad.material=this.materialWeights;renderer.setRenderTarget(this.weightsRT);if(this.clear)renderer.clear();this.fsQuad.render(renderer);this.uniformsBlend["tColor"].value=readBuffer.texture;this.fsQuad.material=this.materialBlend;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear();this.fsQuad.render(renderer)}}setSize(width,height){this.edgesRT.setSize(width,height);this.weightsRT.setSize(width,height);this.materialEdges.uniforms["resolution"].value.set(1/width,1/height);this.materialWeights.uniforms["resolution"].value.set(1/width,1/height);this.materialBlend.uniforms["resolution"].value.set(1/width,1/height)}getAreaTexture(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAIwCAIAAACOVPcQAACBeklEQVR42u39W4xlWXrnh/3WWvuciIzMrKxrV8/0rWbY0+SQFKcb4owIkSIFCjY9AC1BT/LYBozRi+EX+cV+8IMsYAaCwRcBwjzMiw2jAWtgwC8WR5Q8mDFHZLNHTarZGrLJJllt1W2qKrsumZWZcTvn7L3W54e1vrXX3vuciLPPORFR1XE2EomorB0nVuz//r71re/y/1eMvb4Cb3N11xV/PP/2v4UBAwJG/7H8urx6/25/Gf8O5hypMQ0EEEQwAqLfoN/Z+97f/SW+/NvcgQk4sGBJK6H7N4PFVL+K+e0N11yNfkKvwUdwdlUAXPHHL38oa15f/i/46Ih6SuMSPmLAYAwyRKn7dfMGH97jaMFBYCJUgotIC2YAdu+LyW9vvubxAP8kAL8H/koAuOKP3+q6+xGnd5kdYCeECnGIJViwGJMAkQKfDvB3WZxjLKGh8VSCCzhwEWBpMc5/kBbjawT4HnwJfhr+pPBIu7uu+OOTo9vsmtQcniMBGkKFd4jDWMSCRUpLjJYNJkM+IRzQ+PQvIeAMTrBS2LEiaiR9b/5PuT6Ap/AcfAFO4Y3dA3DFH7/VS+M8k4baEAQfMI4QfbVDDGIRg7GKaIY52qAjTAgTvGBAPGIIghOCYAUrGFNgzA7Q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XHN4KYMrB2qHFRIzzcLAHQZ5the5ovui94PCWAPefaYnxIdzRwdHCbuR4B+tbiy96Lzi8E4D7z7S0mEPd+eqO3cT53Z0Y8SV80XvB4Z0ADJi/f7X113f+7p7/+UYBvur6657/+YYBvur6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+VMA8FXWX/f8z58OgK+y/rrnf75RgLna+uue//lTA/CV1V/3/M837aKvvv6653++UQvmauuve/7nTwfAV1N/3fM/fzr24Cuuv+75nz8FFnxl9dc9//MOr/8/glixwRuUfM4AAAAASUVORK5CYII="}getSearchTexture(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAhCAAAAABIXyLAAAAAOElEQVRIx2NgGAWjYBSMglEwEICREYRgFBZBqDCSLA2MGPUIVQETE9iNUAqLR5gIeoQKRgwXjwAAGn4AtaFeYLEAAAAASUVORK5CYII="}}THREE.SMAAPass=SMAAPass})();(function(){const SMAAEdgesShader={defines:{"SMAA_THRESHOLD":"0.1"},uniforms:{"tDiffuse":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];

		void SMAAEdgeDetectionVS( vec2 texcoord ) {
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0,  1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4(  1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 2 ] = texcoord.xyxy + resolution.xyxy * vec4( -2.0, 0.0, 0.0,  2.0 ); // WebGL port note: Changed sign in W component
		}

		void main() {

			vUv = uv;

			SMAAEdgeDetectionVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];

		vec4 SMAAColorEdgeDetectionPS( vec2 texcoord, vec4 offset[3], sampler2D colorTex ) {
			vec2 threshold = vec2( SMAA_THRESHOLD, SMAA_THRESHOLD );

			// Calculate color deltas:
			vec4 delta;
			vec3 C = texture2D( colorTex, texcoord ).rgb;

			vec3 Cleft = texture2D( colorTex, offset[0].xy ).rgb;
			vec3 t = abs( C - Cleft );
			delta.x = max( max( t.r, t.g ), t.b );

			vec3 Ctop = texture2D( colorTex, offset[0].zw ).rgb;
			t = abs( C - Ctop );
			delta.y = max( max( t.r, t.g ), t.b );

			// We do the usual threshold:
			vec2 edges = step( threshold, delta.xy );

			// Then discard if there is no edge:
			if ( dot( edges, vec2( 1.0, 1.0 ) ) == 0.0 )
				discard;

			// Calculate right and bottom deltas:
			vec3 Cright = texture2D( colorTex, offset[1].xy ).rgb;
			t = abs( C - Cright );
			delta.z = max( max( t.r, t.g ), t.b );

			vec3 Cbottom  = texture2D( colorTex, offset[1].zw ).rgb;
			t = abs( C - Cbottom );
			delta.w = max( max( t.r, t.g ), t.b );

			// Calculate the maximum delta in the direct neighborhood:
			float maxDelta = max( max( max( delta.x, delta.y ), delta.z ), delta.w );

			// Calculate left-left and top-top deltas:
			vec3 Cleftleft  = texture2D( colorTex, offset[2].xy ).rgb;
			t = abs( C - Cleftleft );
			delta.z = max( max( t.r, t.g ), t.b );

			vec3 Ctoptop = texture2D( colorTex, offset[2].zw ).rgb;
			t = abs( C - Ctoptop );
			delta.w = max( max( t.r, t.g ), t.b );

			// Calculate the final maximum delta:
			maxDelta = max( max( maxDelta, delta.z ), delta.w );

			// Local contrast adaptation in action:
			edges.xy *= step( 0.5 * maxDelta, delta.xy );

			return vec4( edges, 0.0, 0.0 );
		}

		void main() {

			gl_FragColor = SMAAColorEdgeDetectionPS( vUv, vOffset, tDiffuse );

		}`};const SMAAWeightsShader={defines:{"SMAA_MAX_SEARCH_STEPS":"8","SMAA_AREATEX_MAX_DISTANCE":"16","SMAA_AREATEX_PIXEL_SIZE":"( 1.0 / vec2( 160.0, 560.0 ) )","SMAA_AREATEX_SUBTEX_SIZE":"( 1.0 / 7.0 )"},uniforms:{"tDiffuse":{value:null},"tArea":{value:null},"tSearch":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];
		varying vec2 vPixcoord;

		void SMAABlendingWeightCalculationVS( vec2 texcoord ) {
			vPixcoord = texcoord / resolution;

			// We will use these offsets for the searches later on (see @PSEUDO_GATHER4):
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.25, 0.125, 1.25, 0.125 ); // WebGL port note: Changed sign in Y and W components
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.125, 0.25, -0.125, -1.25 ); // WebGL port note: Changed sign in Y and W components

			// And these for the searches, they indicate the ends of the loops:
			vOffset[ 2 ] = vec4( vOffset[ 0 ].xz, vOffset[ 1 ].yw ) + vec4( -2.0, 2.0, -2.0, 2.0 ) * resolution.xxyy * float( SMAA_MAX_SEARCH_STEPS );

		}

		void main() {

			vUv = uv;

			SMAABlendingWeightCalculationVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		#define SMAASampleLevelZeroOffset( tex, coord, offset ) texture2D( tex, coord + float( offset ) * resolution, 0.0 )

		uniform sampler2D tDiffuse;
		uniform sampler2D tArea;
		uniform sampler2D tSearch;
		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[3];
		varying vec2 vPixcoord;

		#if __VERSION__ == 100
		vec2 round( vec2 x ) {
			return sign( x ) * floor( abs( x ) + 0.5 );
		}
		#endif

		float SMAASearchLength( sampler2D searchTex, vec2 e, float bias, float scale ) {
			// Not required if searchTex accesses are set to point:
			// float2 SEARCH_TEX_PIXEL_SIZE = 1.0 / float2(66.0, 33.0);
			// e = float2(bias, 0.0) + 0.5 * SEARCH_TEX_PIXEL_SIZE +
			//     e * float2(scale, 1.0) * float2(64.0, 32.0) * SEARCH_TEX_PIXEL_SIZE;
			e.r = bias + e.r * scale;
			return 255.0 * texture2D( searchTex, e, 0.0 ).r;
		}

		float SMAASearchXLeft( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			/**
				* @PSEUDO_GATHER4
				* This texcoord has been offset by (-0.25, -0.125) in the vertex shader to
				* sample between edge, thus fetching four edges in a row.
				* Sampling with different offsets in each direction allows to disambiguate
				* which edges are active from the four fetched ones.
				*/
			vec2 e = vec2( 0.0, 1.0 );

			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord -= vec2( 2.0, 0.0 ) * resolution;
				if ( ! ( texcoord.x > end && e.g > 0.8281 && e.r == 0.0 ) ) break;
			}

			// We correct the previous (-0.25, -0.125) offset we applied:
			texcoord.x += 0.25 * resolution.x;

			// The searches are bias by 1, so adjust the coords accordingly:
			texcoord.x += resolution.x;

			// Disambiguate the length added by the last step:
			texcoord.x += 2.0 * resolution.x; // Undo last step
			texcoord.x -= resolution.x * SMAASearchLength(searchTex, e, 0.0, 0.5);

			return texcoord.x;
		}

		float SMAASearchXRight( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 0.0, 1.0 );

			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord += vec2( 2.0, 0.0 ) * resolution;
				if ( ! ( texcoord.x < end && e.g > 0.8281 && e.r == 0.0 ) ) break;
			}

			texcoord.x -= 0.25 * resolution.x;
			texcoord.x -= resolution.x;
			texcoord.x -= 2.0 * resolution.x;
			texcoord.x += resolution.x * SMAASearchLength( searchTex, e, 0.5, 0.5 );

			return texcoord.x;
		}

		float SMAASearchYUp( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 1.0, 0.0 );

			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord += vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
				if ( ! ( texcoord.y > end && e.r > 0.8281 && e.g == 0.0 ) ) break;
			}

			texcoord.y -= 0.25 * resolution.y; // WebGL port note: Changed sign
			texcoord.y -= resolution.y; // WebGL port note: Changed sign
			texcoord.y -= 2.0 * resolution.y; // WebGL port note: Changed sign
			texcoord.y += resolution.y * SMAASearchLength( searchTex, e.gr, 0.0, 0.5 ); // WebGL port note: Changed sign

			return texcoord.y;
		}

		float SMAASearchYDown( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 1.0, 0.0 );

			for ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord -= vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
				if ( ! ( texcoord.y < end && e.r > 0.8281 && e.g == 0.0 ) ) break;
			}

			texcoord.y += 0.25 * resolution.y; // WebGL port note: Changed sign
			texcoord.y += resolution.y; // WebGL port note: Changed sign
			texcoord.y += 2.0 * resolution.y; // WebGL port note: Changed sign
			texcoord.y -= resolution.y * SMAASearchLength( searchTex, e.gr, 0.5, 0.5 ); // WebGL port note: Changed sign

			return texcoord.y;
		}

		vec2 SMAAArea( sampler2D areaTex, vec2 dist, float e1, float e2, float offset ) {
			// Rounding prevents precision errors of bilinear filtering:
			vec2 texcoord = float( SMAA_AREATEX_MAX_DISTANCE ) * round( 4.0 * vec2( e1, e2 ) ) + dist;

			// We do a scale and bias for mapping to texel space:
			texcoord = SMAA_AREATEX_PIXEL_SIZE * texcoord + ( 0.5 * SMAA_AREATEX_PIXEL_SIZE );

			// Move to proper place, according to the subpixel offset:
			texcoord.y += SMAA_AREATEX_SUBTEX_SIZE * offset;

			return texture2D( areaTex, texcoord, 0.0 ).rg;
		}

		vec4 SMAABlendingWeightCalculationPS( vec2 texcoord, vec2 pixcoord, vec4 offset[ 3 ], sampler2D edgesTex, sampler2D areaTex, sampler2D searchTex, ivec4 subsampleIndices ) {
			vec4 weights = vec4( 0.0, 0.0, 0.0, 0.0 );

			vec2 e = texture2D( edgesTex, texcoord ).rg;

			if ( e.g > 0.0 ) { // Edge at north
				vec2 d;

				// Find the distance to the left:
				vec2 coords;
				coords.x = SMAASearchXLeft( edgesTex, searchTex, offset[ 0 ].xy, offset[ 2 ].x );
				coords.y = offset[ 1 ].y; // offset[1].y = texcoord.y - 0.25 * resolution.y (@CROSSING_OFFSET)
				d.x = coords.x;

				// Now fetch the left crossing edges, two at a time using bilinear
				// filtering. Sampling at -0.25 (see @CROSSING_OFFSET) enables to
				// discern what value each edge has:
				float e1 = texture2D( edgesTex, coords, 0.0 ).r;

				// Find the distance to the right:
				coords.x = SMAASearchXRight( edgesTex, searchTex, offset[ 0 ].zw, offset[ 2 ].y );
				d.y = coords.x;

				// We want the distances to be in pixel units (doing this here allow to
				// better interleave arithmetic and memory accesses):
				d = d / resolution.x - pixcoord.x;

				// SMAAArea below needs a sqrt, as the areas texture is compressed
				// quadratically:
				vec2 sqrt_d = sqrt( abs( d ) );

				// Fetch the right crossing edges:
				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 1, 0 ) ).r;

				// Ok, we know how this pattern looks like, now it is time for getting
				// the actual area:
				weights.rg = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.y ) );
			}

			if ( e.r > 0.0 ) { // Edge at west
				vec2 d;

				// Find the distance to the top:
				vec2 coords;

				coords.y = SMAASearchYUp( edgesTex, searchTex, offset[ 1 ].xy, offset[ 2 ].z );
				coords.x = offset[ 0 ].x; // offset[1].x = texcoord.x - 0.25 * resolution.x;
				d.x = coords.y;

				// Fetch the top crossing edges:
				float e1 = texture2D( edgesTex, coords, 0.0 ).g;

				// Find the distance to the bottom:
				coords.y = SMAASearchYDown( edgesTex, searchTex, offset[ 1 ].zw, offset[ 2 ].w );
				d.y = coords.y;

				// We want the distances to be in pixel units:
				d = d / resolution.y - pixcoord.y;

				// SMAAArea below needs a sqrt, as the areas texture is compressed
				// quadratically:
				vec2 sqrt_d = sqrt( abs( d ) );

				// Fetch the bottom crossing edges:
				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 0, 1 ) ).g;

				// Get the area for this direction:
				weights.ba = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.x ) );
			}

			return weights;
		}

		void main() {

			gl_FragColor = SMAABlendingWeightCalculationPS( vUv, vPixcoord, vOffset, tDiffuse, tArea, tSearch, ivec4( 0.0 ) );

		}`};const SMAABlendShader={uniforms:{"tDiffuse":{value:null},"tColor":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 2 ];

		void SMAANeighborhoodBlendingVS( vec2 texcoord ) {
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0, 1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( 1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
		}

		void main() {

			vUv = uv;

			SMAANeighborhoodBlendingVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;
		uniform sampler2D tColor;
		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 2 ];

		vec4 SMAANeighborhoodBlendingPS( vec2 texcoord, vec4 offset[ 2 ], sampler2D colorTex, sampler2D blendTex ) {
			// Fetch the blending weights for current pixel:
			vec4 a;
			a.xz = texture2D( blendTex, texcoord ).xz;
			a.y = texture2D( blendTex, offset[ 1 ].zw ).g;
			a.w = texture2D( blendTex, offset[ 1 ].xy ).a;

			// Is there any blending weight with a value greater than 0.0?
			if ( dot(a, vec4( 1.0, 1.0, 1.0, 1.0 )) < 1e-5 ) {
				return texture2D( colorTex, texcoord, 0.0 );
			} else {
				// Up to 4 lines can be crossing a pixel (one through each edge). We
				// favor blending by choosing the line with the maximum weight for each
				// direction:
				vec2 offset;
				offset.x = a.a > a.b ? a.a : -a.b; // left vs. right
				offset.y = a.g > a.r ? -a.g : a.r; // top vs. bottom // WebGL port note: Changed signs

				// Then we go in the direction that has the maximum weight:
				if ( abs( offset.x ) > abs( offset.y )) { // horizontal vs. vertical
					offset.y = 0.0;
				} else {
					offset.x = 0.0;
				}

				// Fetch the opposite color and lerp by hand:
				vec4 C = texture2D( colorTex, texcoord, 0.0 );
				texcoord += sign( offset ) * resolution;
				vec4 Cop = texture2D( colorTex, texcoord, 0.0 );
				float s = abs( offset.x ) > abs( offset.y ) ? abs( offset.x ) : abs( offset.y );

				// WebGL port note: Added gamma correction
				C.xyz = pow(C.xyz, vec3(2.2));
				Cop.xyz = pow(Cop.xyz, vec3(2.2));
				vec4 mixed = mix(C, Cop, s);
				mixed.xyz = pow(mixed.xyz, vec3(1.0 / 2.2));

				return mixed;
			}
		}

		void main() {

			gl_FragColor = SMAANeighborhoodBlendingPS( vUv, vOffset, tColor, tDiffuse );

		}`};THREE.SMAABlendShader=SMAABlendShader;THREE.SMAAEdgesShader=SMAAEdgesShader;THREE.SMAAWeightsShader=SMAAWeightsShader})();(function(){class SSAARenderPass extends THREE.Pass{constructor(scene,camera,clearColor,clearAlpha){super();this.scene=scene;this.camera=camera;this.sampleLevel=4;this.unbiased=true;this.clearColor=clearColor!==undefined?clearColor:0;this.clearAlpha=clearAlpha!==undefined?clearAlpha:0;this._oldClearColor=new THREE.Color;if(THREE.CopyShader===undefined)console.error("THREE.SSAARenderPass relies on THREE.CopyShader");const copyShader=THREE.CopyShader;this.copyUniforms=THREE.UniformsUtils.clone(copyShader.uniforms);this.copyMaterial=new THREE.ShaderMaterial({uniforms:this.copyUniforms,vertexShader:copyShader.vertexShader,fragmentShader:copyShader.fragmentShader,transparent:true,blending:THREE.AdditiveBlending,depthTest:false,depthWrite:false});this.fsQuad=new THREE.FullScreenQuad(this.copyMaterial)}dispose(){if(this.sampleRenderTarget){this.sampleRenderTarget.dispose();this.sampleRenderTarget=null}}setSize(width,height){if(this.sampleRenderTarget)this.sampleRenderTarget.setSize(width,height)}render(renderer,writeBuffer,readBuffer){if(!this.sampleRenderTarget){this.sampleRenderTarget=new THREE.WebGLRenderTarget(readBuffer.width,readBuffer.height);this.sampleRenderTarget.texture.name="SSAARenderPass.sample"}const jitterOffsets=_JitterVectors[Math.max(0,Math.min(this.sampleLevel,5))];const autoClear=renderer.autoClear;renderer.autoClear=false;renderer.getClearColor(this._oldClearColor);const oldClearAlpha=renderer.getClearAlpha();const baseSampleWeight=1/jitterOffsets.length;const roundingRange=1/32;this.copyUniforms["tDiffuse"].value=this.sampleRenderTarget.texture;const viewOffset={fullWidth:readBuffer.width,fullHeight:readBuffer.height,offsetX:0,offsetY:0,width:readBuffer.width,height:readBuffer.height};const originalViewOffset=Object.assign({},this.camera.view);if(originalViewOffset.enabled)Object.assign(viewOffset,originalViewOffset);for(let i=0;i<jitterOffsets.length;i++){const jitterOffset=jitterOffsets[i];if(this.camera.setViewOffset){this.camera.setViewOffset(viewOffset.fullWidth,viewOffset.fullHeight,viewOffset.offsetX+jitterOffset[0]*0.0625,viewOffset.offsetY+jitterOffset[1]*0.0625,viewOffset.width,viewOffset.height)}let sampleWeight=baseSampleWeight;if(this.unbiased){const uniformCenteredDistribution=-0.5+(i+0.5)/jitterOffsets.length;sampleWeight+=roundingRange*uniformCenteredDistribution}this.copyUniforms["opacity"].value=sampleWeight;renderer.setClearColor(this.clearColor,this.clearAlpha);renderer.setRenderTarget(this.sampleRenderTarget);renderer.clear();renderer.render(this.scene,this.camera);renderer.setRenderTarget(this.renderToScreen?null:writeBuffer);if(i===0){renderer.setClearColor(0,0);renderer.clear()}this.fsQuad.render(renderer)}if(this.camera.setViewOffset&&originalViewOffset.enabled){this.camera.setViewOffset(originalViewOffset.fullWidth,originalViewOffset.fullHeight,originalViewOffset.offsetX,originalViewOffset.offsetY,originalViewOffset.width,originalViewOffset.height)}else if(this.camera.clearViewOffset){this.camera.clearViewOffset()}renderer.autoClear=autoClear;renderer.setClearColor(this._oldClearColor,oldClearAlpha)}}const _JitterVectors=[[[0,0]],[[4,4],[-4,-4]],[[-2,-6],[6,-2],[-6,2],[2,6]],[[1,-3],[-1,3],[5,1],[-3,-5],[-5,5],[-7,-1],[3,7],[7,-7]],[[1,1],[-1,-3],[-3,2],[4,-1],[-5,-2],[2,5],[5,3],[3,-5],[-2,6],[0,-7],[-4,-6],[-6,4],[-8,0],[7,-4],[6,7],[-7,-8]],[[-4,-7],[-7,-5],[-3,-5],[-5,-4],[-1,-4],[-2,-2],[-6,-1],[-4,0],[-7,1],[-1,2],[-6,3],[-3,3],[-7,6],[-3,6],[-5,7],[-1,7],[5,-7],[1,-6],[6,-5],[4,-4],[2,-3],[7,-2],[1,-1],[4,-1],[2,1],[6,2],[0,4],[4,4],[2,5],[7,5],[5,6],[3,7]]];THREE.SSAARenderPass=SSAARenderPass})();(function(){const UnpackDepthRGBAShader={uniforms:{"tDiffuse":{value:null},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		#include <packing>

		void main() {

			float depth = 1.0 - unpackRGBAToDepth( texture2D( tDiffuse, vUv ) );
			gl_FragColor = vec4( vec3( depth ), opacity );

		}`};THREE.UnpackDepthRGBAShader=UnpackDepthRGBAShader})();

})(); } catch (e) { console.log(e.message, e.stack); throw e; };