(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)}}})();!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,
b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},
first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=
g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a);},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)>=0},
isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},
camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c)if(g)for(;f>e;e++){if(d=b.apply(a[e],c),d===!1)break}else for(e in a){if(d=b.apply(a[e],c),d===!1)break}else if(g)for(;f>e;e++){if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,
b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);
return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&
b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),
V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),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("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)",
"i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=
a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1])if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else{if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),
d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,
"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=
c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=
a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),
!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=
a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=
c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");
b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),
r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||
b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],
i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=
d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a);},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,
c="",d=0,f=a.nodeType;if(f)if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else{if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=
(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),
a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===
b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?
l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===
b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=
g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=
b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&
a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},
first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,
reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));
if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g)while(b=b[d]){if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}
function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,
h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,
a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,
k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||0.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,
d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?
0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>",
"#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():
(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,
a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):
d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);
if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=
a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,
b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),
n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,
"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),
B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,
function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=
void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),
this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=
h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&
n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",
I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),
c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+Math.random()}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=
c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,
b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d=
"data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=
this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=
M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),
d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,
a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===
n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in
a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,
arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,
k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||
c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):
[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&
!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||
k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&
!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==
a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&
(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||
void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?
(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,
{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=
!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),
this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};
n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):
(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);
return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,
gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],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,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||
a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,
e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,
a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),
g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==
(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===
this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},
remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=
this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||
a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,
j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=
h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),
rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?
void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",
f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width=
"0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,
b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,
"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||
(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,
order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||
0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&
0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||
f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,
b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,
0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||
n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return 0.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=
c.cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=
e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&
(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;
if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==
d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,
{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),
n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||
!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,
b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&
d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),
n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==
a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),
b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&
3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},
attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,
b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||
_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,
b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=
this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=
f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;
1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}),n.extend({valHooks:{option:{get:function(a){var b=
n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=
n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=
function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec,fc,gc=/#.*$/,hc=/([?&])_=[^&]*/,ic=/^(.*?):[ \t]*([^\r\n]*)$/gm,jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,kc=/^(?:GET|HEAD)$/,lc=/^\/\//,mc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,nc={},oc={},pc="*/".concat("*");try{fc=location.href}catch(qc){fc=
l.createElement("a"),fc.href="",fc=fc.href}ec=mc.exec(fc.toLowerCase())||[];function rc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function sc(a,b,c,d){var e={},f=a===oc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),
i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function tc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function uc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==
i[0]&&i.unshift(f),c[f]):void 0}function vc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==
!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:fc,type:"GET",isLocal:jc.test(ec[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,
json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?tc(tc(a,n.ajaxSettings),b):tc(n.ajaxSettings,a)},ajaxPrefilter:rc(nc),ajaxTransport:rc(oc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,
o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=ic.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=
[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||fc)+"").replace(gc,"").replace(lc,ec[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=mc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===ec[1]&&h[2]===ec[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(ec[3]||("http:"===
ec[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),sc(nc,k,b,v),2===t)return v;i=k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!kc.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=hc.test(d)?d.replace(hc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",
n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,
complete:1})v[j](k[j]);if(c=sc(oc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=uc(k,v,f)),u=vc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),
w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,
b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?
this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?
a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var wc=/%20/g,xc=/\[\]$/,yc=/\r?\n/g,zc=/^(?:submit|button|image|reset|file)$/i,Ac=/^(?:input|select|textarea|keygen)/i;function Bc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||xc.test(a)?d(a,e):
Bc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Bc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Bc(c,a[c],b,e);return d.join("&").replace(wc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},
serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Ac.test(this.nodeName)&&!zc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(yc,"\r\n")}}):{name:b.name,value:c.replace(yc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};
var Cc=0,Dc={},Ec={"0":200,1223:204},Fc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Dc)Dc[a]()}),k.cors=!!Fc&&"withCredentials"in Fc,k.ajax=Fc=!!Fc,n.ajaxTransport(function(a){var b;return k.cors||Fc&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||
(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Dc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Ec[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Dc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h;}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});
var Gc=[],Hc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Gc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Hc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Hc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Hc,"$1"+
e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Gc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:
(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Ic=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Ic)return Ic.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,
f||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Jc=a.document.documentElement;function Kc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):
(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Kc(f),{top:e.top+
c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=
this.offsetParent||Jc;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Jc})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Kc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,
b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):
void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Lc=a.jQuery,Mc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Mc),b&&a.jQuery===n&&(a.jQuery=Lc),n},typeof b===U&&(a.jQuery=a.$=n),n});window.Modernizr=function(a,b,c){function y(a){i.cssText=a}function z(a,b){return y(l.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b){for(var d in a){var e=a[d];if(!B(e,"-")&&i[e]!==c)return b=="pfx"?e:!0}return!1}function D(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}function E(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return A(b,
"string")||A(b,"undefined")?C(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),D(e,b,c))}var d="2.6.1",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v=function(a,c,d,e){var h,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),k.appendChild(j);
return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),k.id=g,(l?k:m).innerHTML+=h,m.appendChild(k),l||(m.style.background="",f.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;
var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},p.webgl=function(){return!!a.WebGLRenderingContext},p.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof window.DocumentTouch?c=!0:v(["@media (",
l.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},p.csstransforms3d=function(){var a=!!E("perspective");return a&&"webkitPerspective"in f.style&&v("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},p.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,
""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},p.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,
"")}catch(d){}return c};for(var F in p)x(p,F)&&(u=F.toLowerCase(),e[u]=p[F](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,e[a]=b}return e},y(""),h=j=null,e._version=d,e._prefixes=l,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return C([a])},e.testAllProps=E,e.testStyles=v,e}(this,this.document);(function(){var TDV=window["TDV"]||(window["TDV"]={});(function(){(function(){function n(n){function t(t,r,e,u,i,o){for(;i>=0&&o>i;i+=n){var a=u?u[i]:i;e=r(e,t[a],a,t)}return e}return function(r,e,u,i){e=b(e,i,4);var o=!k(r)&&m.keys(r),a=(o||r).length,c=n>0?0:a-1;return arguments.length<3&&(u=r[o?o[c]:c],c+=n),t(r,e,u,o,c,a)}}function t(n){return function(t,r,e){r=x(r,e);for(var u=O(t),i=n>0?0:u-1;i>=0&&u>i;i+=n)if(r(t[i],i,t))return i;return-1}}function r(n,t,r){return function(e,u,i){var o=0,a=
O(e);if("number"==typeof i)n>0?o=i>=0?i:Math.max(i+a,o):a=i>=0?Math.min(i+1,a):i+a+1;else if(r&&i&&a)return i=r(e,u),e[i]===u?i:-1;if(u!==u)return i=t(l.call(e,o,a),m.isNaN),i>=0?i+o:-1;for(i=n>0?o:a-1;i>=0&&a>i;i+=n)if(e[i]===u)return i;return-1}}function e(n,t){var r=I.length,e=n.constructor,u=m.isFunction(e)&&e.prototype||a,i="constructor";for(m.has(n,i)&&!m.contains(t,i)&&t.push(i);r--;)i=I[r],i in n&&n[i]!==u[i]&&!m.contains(t,i)&&t.push(i)}var u=this,i=u._,o=Array.prototype,a=Object.prototype,
c=Function.prototype,f=o.push,l=o.slice,s=a.toString,p=a.hasOwnProperty,h=Array.isArray,v=Object.keys,g=c.bind,y=Object.create,d=function(){},m=function(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports._=m):u._=m,m.VERSION="1.8.3";var b=function(n,t,r){if(t===void 0)return n;switch(null==r?3:r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,
e){return n.call(t,r,e)};case 3:return function(r,e,u){return n.call(t,r,e,u)};case 4:return function(r,e,u,i){return n.call(t,r,e,u,i)}}return function(){return n.apply(t,arguments)}},x=function(n,t,r){return null==n?m.identity:m.isFunction(n)?b(n,t,r):m.isObject(n)?m.matcher(n):m.property(n)};m.iteratee=function(n,t){return x(n,t,1/0)};var _=function(n,t){return function(r){var e=arguments.length;if(2>e||null==r)return r;for(var u=1;e>u;u++)for(var i=arguments[u],o=n(i),a=o.length,c=0;a>c;c++){var f=
o[c];t&&r[f]!==void 0||(r[f]=i[f])}return r}},j=function(n){if(!m.isObject(n))return{};if(y)return y(n);d.prototype=n;var t=new d;return d.prototype=null,t},w=function(n){return function(t){return null==t?void 0:t[n]}},A=Math.pow(2,53)-1,O=w("length"),k=function(n){var t=O(n);return"number"==typeof t&&t>=0&&A>=t};m.each=m.forEach=function(n,t,r){t=b(t,r);var e,u;if(k(n))for(e=0,u=n.length;u>e;e++)t(n[e],e,n);else{var i=m.keys(n);for(e=0,u=i.length;u>e;e++)t(n[i[e]],i[e],n)}return n},m.map=m.collect=
function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=Array(u),o=0;u>o;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},m.reduce=m.foldl=m.inject=n(1),m.reduceRight=m.foldr=n(-1),m.find=m.detect=function(n,t,r){var e;return e=k(n)?m.findIndex(n,t,r):m.findKey(n,t,r),e!==void 0&&e!==-1?n[e]:void 0},m.filter=m.select=function(n,t,r){var e=[];return t=x(t,r),m.each(n,function(n,r,u){t(n,r,u)&&e.push(n)}),e},m.reject=function(n,t,r){return m.filter(n,m.negate(x(t)),r)},m.every=m.all=function(n,
t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0},m.some=m.any=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;u>i;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},m.contains=m.includes=m.include=function(n,t,r,e){return k(n)||(n=m.values(n)),("number"!=typeof r||e)&&(r=0),m.indexOf(n,t,r)>=0},m.invoke=function(n,t){var r=l.call(arguments,2),e=m.isFunction(t);return m.map(n,function(n){var u=e?t:n[t];
return null==u?u:u.apply(n,r)})},m.pluck=function(n,t){return m.map(n,m.property(t))},m.where=function(n,t){return m.filter(n,m.matcher(t))},m.findWhere=function(n,t){return m.find(n,m.matcher(t))},m.max=function(n,t,r){var e,u,i=-1/0,o=-1/0;if(null==t&&null!=n){n=k(n)?n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],e>i&&(i=e)}else t=x(t,r),m.each(n,function(n,r,e){u=t(n,r,e),(u>o||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},m.min=function(n,t,r){var e,u,i=1/0,o=1/0;if(null==t&&null!=n){n=k(n)?
n:m.values(n);for(var a=0,c=n.length;c>a;a++)e=n[a],i>e&&(i=e)}else t=x(t,r),m.each(n,function(n,r,e){u=t(n,r,e),(o>u||1/0===u&&1/0===i)&&(i=n,o=u)});return i},m.shuffle=function(n){for(var t,r=k(n)?n:m.values(n),e=r.length,u=Array(e),i=0;e>i;i++)t=m.random(0,i),t!==i&&(u[i]=u[t]),u[t]=r[i];return u},m.sample=function(n,t,r){return null==t||r?(k(n)||(n=m.values(n)),n[m.random(n.length-1)]):m.shuffle(n).slice(0,Math.max(0,t))},m.sortBy=function(n,t,r){return t=x(t,r),m.pluck(m.map(n,function(n,r,e){return{value:n,
index:r,criteria:t(n,r,e)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index-t.index}),"value")};var F=function(n){return function(t,r,e){var u={};return r=x(r,e),m.each(t,function(e,i){var o=r(e,i,t);n(u,e,o)}),u}};m.groupBy=F(function(n,t,r){m.has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=F(function(n,t,r){n[r]=t}),m.countBy=F(function(n,t,r){m.has(n,r)?n[r]++:n[r]=1}),m.toArray=function(n){return n?m.isArray(n)?l.call(n):
k(n)?m.map(n,m.identity):m.values(n):[]},m.size=function(n){return null==n?0:k(n)?n.length:m.keys(n).length},m.partition=function(n,t,r){t=x(t,r);var e=[],u=[];return m.each(n,function(n,r,i){(t(n,r,i)?e:u).push(n)}),[e,u]},m.first=m.head=m.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:m.initial(n,n.length-t)},m.initial=function(n,t,r){return l.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},m.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:m.rest(n,Math.max(0,n.length-
t))},m.rest=m.tail=m.drop=function(n,t,r){return l.call(n,null==t||r?1:t)},m.compact=function(n){return m.filter(n,m.identity)};var S=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=O(n);a>o;o++){var c=n[o];if(k(c)&&(m.isArray(c)||m.isArguments(c))){t||(c=S(c,t,r));var f=0,l=c.length;for(u.length+=l;l>f;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};m.flatten=function(n,t){return S(n,t,!1)},m.without=function(n){return m.difference(n,l.call(arguments,1))},m.uniq=m.unique=function(n,t,r,e){m.isBoolean(t)||
(e=r,r=t,t=!1),null!=r&&(r=x(r,e));for(var u=[],i=[],o=0,a=O(n);a>o;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?m.contains(i,f)||(i.push(f),u.push(c)):m.contains(u,c)||u.push(c)}return u},m.union=function(){return m.uniq(S(arguments,!0,!0))},m.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=O(n);u>e;e++){var i=n[e];if(!m.contains(t,i)){for(var o=1;r>o&&m.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},m.difference=function(n){var t=S(arguments,!0,!0,1);return m.filter(n,
function(n){return!m.contains(t,n)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(n){for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;t>e;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){r=x(r,e,1);for(var u=r(t),i=0,o=O(n);o>i;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=
r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;e>i;i++,n+=r)u[i]=n;return u};var E=function(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=j(n.prototype),o=n.apply(i,u);return m.isObject(o)?o:i};m.bind=function(n,t){if(g&&n.bind===g)return g.apply(n,l.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");var r=l.call(arguments,2),e=function(){return E(n,e,t,this,
r.concat(l.call(arguments)))};return e},m.partial=function(n){var t=l.call(arguments,1),r=function(){for(var e=0,u=t.length,i=Array(u),o=0;u>o;o++)i[o]=t[o]===m?arguments[e++]:t[o];for(;e<arguments.length;)i.push(arguments[e++]);return E(n,r,this,this,i)};return r},m.bindAll=function(n){var t,r,e=arguments.length;if(1>=e)throw new Error("bindAll must be passed function names");for(t=1;e>t;t++)r=arguments[t],n[r]=m.bind(n[r],n);return n},m.memoize=function(n,t){var r=function(e){var u=r.cache,i=""+
(t?t.apply(this,arguments):e);return m.has(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return r.cache={},r},m.delay=function(n,t){var r=l.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,t,r){var e,u,i,o=null,a=0;r||(r={});var c=function(){a=r.leading===!1?0:m.now(),o=null,i=n.apply(e,u),o||(e=u=null)};return function(){var f=m.now();a||r.leading!==!1||(a=f);var l=t-(f-a);return e=this,u=arguments,0>=l||l>t?(o&&(clearTimeout(o),
o=null),a=f,i=n.apply(e,u),o||(e=u=null)):o||r.trailing===!1||(o=setTimeout(c,l)),i}},m.debounce=function(n,t,r){var e,u,i,o,a,c=function(){var f=m.now()-o;t>f&&f>=0?e=setTimeout(c,t-f):(e=null,r||(a=n.apply(i,u),e||(i=u=null)))};return function(){i=this,u=arguments,o=m.now();var f=r&&!e;return e||(e=setTimeout(c,t)),f&&(a=n.apply(i,u),i=u=null),a}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var n=arguments,
t=n.length-1;return function(){for(var r=t,e=n[t].apply(this,arguments);r--;)e=n[r].call(this,e);return e}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return--n>0&&(r=t.apply(this,arguments)),1>=n&&(t=null),r}},m.once=m.partial(m.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(n){if(!m.isObject(n))return[];
if(v)return v(n);var t=[];for(var r in n)m.has(n,r)&&t.push(r);return M&&e(n,t),t},m.allKeys=function(n){if(!m.isObject(n))return[];var t=[];for(var r in n)t.push(r);return M&&e(n,t),t},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;i>a;a++)e=u[a],o[e]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},
m.invert=function(n){for(var t={},r=m.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t=[];for(var r in n)m.isFunction(n[r])&&t.push(r);return t.sort()},m.extend=_(m.allKeys),m.extendOwn=m.assign=_(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;o>i;i++)if(e=u[i],t(n[e],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=S(arguments,!1,!1,1),e=function(n,
t,r){return t in r},o=Object(o));for(var a=0,c=u.length;c>a;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=function(n,t,r){if(m.isFunction(t))t=m.negate(t);else{var e=m.map(S(arguments,!1,!1,1),String);t=function(n,t){return!m.contains(e,t)}}return m.pick(n,t,r)},m.defaults=_(m.allKeys,!0),m.create=function(n,t){var r=j(n);return t&&m.extendOwn(r,t),r},m.clone=function(n){return m.isObject(n)?m.isArray(n)?n.slice():m.extend({},n):n},m.tap=function(n,t){return t(n),n},m.isMatch=function(n,
t){var r=m.keys(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;e>i;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n===1/t;if(null==n||null==t)return n===t;n instanceof m&&(n=n._wrapped),t instanceof m&&(t=t._wrapped);var u=s.call(n);if(u!==s.call(t))return!1;switch(u){case "[object RegExp]":case "[object String]":return""+n==""+t;case "[object Number]":return+n!==+n?+t!==+t:0===+n?1/+n===1/t:+n===+t;case "[object Date]":case "[object Boolean]":return+n===
+t}var i="[object Array]"===u;if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(m.isFunction(o)&&o instanceof o&&m.isFunction(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}r=r||[],e=e||[];for(var c=r.length;c--;)if(r[c]===n)return e[c]===t;if(r.push(n),e.push(t),i){if(c=n.length,c!==t.length)return!1;for(;c--;)if(!N(n[c],t[c],r,e))return!1}else{var f,l=m.keys(n);if(c=l.length,m.keys(t).length!==c)return!1;for(;c--;)if(f=
l[c],!m.has(t,f)||!N(n[f],t[f],r,e))return!1}return r.pop(),e.pop(),!0};m.isEqual=function(n,t){return N(n,t)},m.isEmpty=function(n){return null==n?!0:k(n)&&(m.isArray(n)||m.isString(n)||m.isArguments(n))?0===n.length:0===m.keys(n).length},m.isElement=function(n){return!(!n||1!==n.nodeType)},m.isArray=h||function(n){return"[object Array]"===s.call(n)},m.isObject=function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],
function(n){m["is"+n]=function(t){return s.call(t)==="[object "+n+"]"}}),m.isArguments(arguments)||(m.isArguments=function(n){return m.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(n){return"function"==typeof n||!1}),m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},m.isNaN=function(n){return m.isNumber(n)&&n!==+n},m.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"===s.call(n)},m.isNull=function(n){return null===n},m.isUndefined=
function(n){return n===void 0},m.has=function(n,t){return null!=n&&p.call(n,t)},m.noConflict=function(){return u._=i,this},m.identity=function(n){return n},m.constant=function(n){return function(){return n}},m.noop=function(){},m.property=w,m.propertyOf=function(n){return null==n?function(){}:function(t){return n[t]}},m.matcher=m.matches=function(n){return n=m.extendOwn({},n),function(t){return m.isMatch(t,n)}},m.times=function(n,t,r){var e=Array(Math.max(0,n));t=b(t,r,1);for(var u=0;n>u;u++)e[u]=
t(u);return e},m.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()};var B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=m.invert(B),R=function(n){var t=function(t){return n[t]},r="(?:"+m.keys(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}};m.escape=R(B),m.unescape=R(T),m.result=function(n,t,r){var e=null==n?void 0:
n[t];return e===void 0&&(e=r),m.isFunction(e)?e.call(n):e};var q=0;m.uniqueId=function(n){var t=++q+"";return n?n+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,L=function(n){return"\\"+z[n]};m.template=function(n,t,r){!t&&r&&(t=r),t=m.defaults({},t,m.templateSettings);var e=RegExp([(t.escape||K).source,(t.interpolate||
K).source,(t.evaluate||K).source].join("|")+"|$","g"),u=0,i="__p+='";n.replace(e,function(t,r,e,o,a){return i+=n.slice(u,a).replace(D,L),u=a+t.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":e?i+="'+\n((__t=("+e+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t}),i+="';\n",t.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{var o=new Function(t.variable||"obj","_",i)}catch(a){throw a.source=
i,a;}var c=function(n){return o.call(this,n,m)},f=t.variable||"obj";return c.source="function("+f+"){\n"+i+"}",c},m.chain=function(n){var t=m(n);return t._chain=!0,t};var P=function(n,t){return n._chain?m(t).chain():t};m.mixin=function(n){m.each(m.functions(n),function(t){var r=m[t]=n[t];m.prototype[t]=function(){var n=[this._wrapped];return f.apply(n,arguments),P(this,r.apply(m,n))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=o[n];m.prototype[n]=
function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!==n&&"splice"!==n||0!==r.length||delete r[0],P(this,r)}}),m.each(["concat","join","slice"],function(n){var t=o[n];m.prototype[n]=function(){return P(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}).call(this)}).call(TDV)})();function i(a){throw a;}var n=void 0,p=!0,q=null,y=!1;function D(){return function(){}}function N(a){return function(b){this[a]=b}}function O(a){return function(){return this[a]}}function Q(a){return function(){return a}}
(function(){function a(a){this.wj=a;this.vn=q;this.Nc={}}function b(){this.Ii={};this.Ii[b.SCRIPT_URL]=[];this.Ii[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.Ii[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.Ii[b.HLS_URL]="lib/Hls.js";this.Ii[b.CURSORS_DIR_URL]="lib/cursors";this.Ii[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.Ii[b.BACKGROUND_PRELOAD_ENABLED]=n}function c(){this.zz=[];this.qG=[];this.tga=[];this.$C=q}function d(a){return"[object Array]"==Object.prototype.toString.call(a)}function g(a){return 0<=
k.search(a.toLowerCase())}var f=window.TDV=window.TDV||{},k=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.Y5=function(){return{MAJOR:"0",MINOR:"1145"}};c.prototype.W1=function(){if(this.$C)for(;0<this.zz.length;){var a=this.zz[0];this.zz=this.zz.slice(1);this.qG.push(a);this.yba(a)}};c.prototype.T_=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.gda=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
a=a[a.length-1]);return this.T_(a.src)};c.prototype.yba=function(a){var f=this,e=a.wj.get(b.SELECTED_SCRIPT_URL);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=e;document.getElementsByTagName("head")[0].appendChild(b);f.$C.Hpa(a)},1)};c.prototype.defineScript=c.prototype.nra=function(a){for(var f=[],e=this.gda(),c=0;c<this.qG.length;c++){var g=this.qG[c],o=this.T_(g.wj.get(b.SELECTED_SCRIPT_URL));o==e?(g.wj.set(b.SCRIPT_DATA,a),g.epa(new this.$C(g,g.wj)),
this.tga.push(g)):f.push(o)}this.qG=f};c.prototype.create=c.prototype.create=function(a){var c=a.get(b.SCRIPT_URL),c=d(c)?this.cha(c):"string"===typeof c?c:"script.js";a.set(b.SELECTED_SCRIPT_URL,c);a=new f.Y8(a);this.zz.push(a);this.W1();return a};c.prototype.setPlayerClass=c.prototype.dpa=function(a){this.$C=a;this.W1()};c.prototype.getOrientation=c.prototype.am=function(){var a=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==a||"portrait-secondary"==a||
0===a||180==a?f.wa.LJ:"landscape-primary"==a||"landscape-secondary"==a||90==a||-90==a?f.wa.KJ:window.innerWidth<window.innerHeight?f.wa.LJ:f.wa.KJ};c.prototype.cha=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var e=a[b];if(d(e)){if(this.G3(e[0]))return e[1]}else if("string"===typeof e)return e}return a[0][1]}return"script.js"};c.prototype.G3=function(a){if("string"===typeof a){var b=a.match(/^\s*default\s*$/);if(b)return p;if(b=a.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.Ed==b[1].toLowerCase();
if(b=a.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==b[1].toLowerCase();if(b=a.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.at==b[1].toLowerCase();if(b=a.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){var a=parseInt(b[2]),e=parseInt(b[3]),f;switch(b[1]){case "<":f=function(a,b){return a<b};break;case ">":f=function(a,b){return a>b};break;case "=":f=function(a,b){return a==b};break;case "<=":f=function(a,b){return a<=b};break;case ">=":f=function(a,b){return a>=b}}return f(screen.width,
a)&&f(screen.height,e)||this.P6&&f(screen.width,e)&&f(screen.height,a)}return y}if(d(a)){for(b=0;b<a.length;b++)if(!this.G3(a[b]))return y;return p}return y};c.prototype.ORIENTATION_LANDSCAPE=c.prototype.KJ="landscape";c.prototype.ORIENTATION_PORTRAIT=c.prototype.LJ="portrait";c.prototype.OS_IOS=c.prototype.OC="ios";c.prototype.OS_ANDROID=c.prototype.MJ="android";c.prototype.OS_WINDOWS=c.prototype.xV="windows";c.prototype.OS_WINDOWS_PHONE=c.prototype.QJ="windows_phone";c.prototype.OS_MACOSX=c.prototype.NJ=
"osx";c.prototype.OS_LINUX=c.prototype.wV="linux";c.prototype.OS_QNX=c.prototype.PJ="qnx";c.prototype.OS_OTHER=c.prototype.OJ="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.Vw="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.QI="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.OI="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.NI="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.RI="other";c.prototype.BROWSER_SAFARI_IOS=c.prototype.sh="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.rC=
"opera";c.prototype.BROWSER_SAFARI=c.prototype.Tk="safari";c.prototype.BROWSER_CHROME=c.prototype.xi="chrome";c.prototype.BROWSER_EDGE=c.prototype.Dq="edge";c.prototype.BROWSER_MSIE=c.prototype.Eq="msie";c.prototype.BROWSER_ANDROID=c.prototype.Qw="android";c.prototype.BROWSER_MOZILLA=c.prototype.qC="mozilla";c.prototype.BROWSER_OTHER=c.prototype.MI="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.Tw="samsunginternet";c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.Gt="oculusbrowser";
c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.Uw="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.sC="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.Rw="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.Ft="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.Sw="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.Fq="tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.Ft=
"chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.tC="firefox_reality";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.uC="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.SI=-1;c.prototype.DEVICE_IPHONE=c.prototype.WI="iphone";c.prototype.DEVICE_IPAD=c.prototype.Xw="ipad";c.prototype.DEVICE_IPOD=c.prototype.XI="ipod";c.prototype.DEVICE_OTHER=c.prototype.YI="other";c.prototype.os=c.prototype.Ed=g("iphone")||g("ipad")||g("ipod")?c.prototype.OC:g("qnx")?c.prototype.PJ:g("android")?
c.prototype.MJ:g("windows phone")?c.prototype.QJ:g("windows")?c.prototype.xV:g("mac_powerpc")?c.prototype.NJ:g("macintosh")?1<navigator.maxTouchPoints?c.prototype.OC:c.prototype.NJ:g("linux")||g("x11")?c.prototype.wV:c.prototype.OJ;c.prototype.browser=c.prototype.browser=g("ipad")||g("iphone")||g("ipod")||g("macintosh")&&1<navigator.maxTouchPoints?c.prototype.sh:g("opera")?c.prototype.rC:g("edge")?c.prototype.Dq:g("chrome")||g("crmo")?c.prototype.xi:g("android")?c.prototype.Qw:g("safari")?c.prototype.Tk:
g("trident")||g("msie")?c.prototype.Eq:!g("compatible")&&g("mozilla")?c.prototype.qC:c.prototype.MI;c.prototype.browserType=c.prototype.Wv=c.prototype.browser==c.prototype.sh||c.prototype.browser==c.prototype.xi||c.prototype.browser==c.prototype.Qw||c.prototype.browser==c.prototype.Tk||g("webkit")?c.prototype.Vw:c.prototype.browser==c.prototype.rC||g("opera")?c.prototype.QI:g("trident")||g("msie")?c.prototype.OI:!g("compatible")&&g("mozilla")?c.prototype.NI:c.prototype.RI;c.prototype.browserSubtype=
c.prototype.rd=g("oculusbrowser")&&g("mobile vr")?c.prototype.Gt:g("samsungbrowser")&&g("android")?g("mobile vr")?c.prototype.Uw:c.prototype.Tw:g("ipad")||g("iphone")||g("ipod")?g("crios")?c.prototype.sC:g("safari")&&g("version")&&!navigator.Zra?c.prototype.Rw:c.prototype.Sw:g("electron")?c.prototype.Fq:g("chrome")&&g("wv")?c.prototype.Ft:g("edg/")?c.prototype.CU:!g("compatible")&&g("mozilla")&&g("mobile vr")?c.prototype.tC:c.prototype.uC;c.prototype.browserVersion=c.prototype.c5=function(){if(c.prototype.browser==
c.prototype.Eq){var a=k.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1]);a=k.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1])}return c.prototype.SI}();c.prototype.device=c.prototype.at=g("ipad")||g("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Xw:g("iphone")?c.prototype.WI:g("ipod")?c.prototype.XI:c.prototype.YI;var j;a:{switch(c.prototype.Ed){case c.prototype.MJ:case c.prototype.OC:case c.prototype.QJ:case c.prototype.PJ:j=p;break a}j=y}c.prototype.mobile=
c.prototype.P6=j;f.PlayerAPI=f.wa=new c;b.prototype.append=b.prototype.append=function(a,f,e){a==b.SCRIPT_URL&&("undefined"==typeof e&&(e=f,f="default"),f=[f,e]);d(this.Ii[a])||(this.Ii[a]=[]);this.Ii[a].push(f)};b.prototype.set=b.prototype.set=function(a,b){this.Ii[a]=b};b.prototype.get=b.prototype.get=function(a){return this.Ii[a]};b.SCRIPT_URL=b.SCRIPT_URL="ScriptURL";b.SCRIPT_DATA=b.SCRIPT_DATA="ScriptData";b.FLASH_EXPRESS_INSTALLER_URL=b.FLASH_EXPRESS_INSTALLER_URL="FlashExpressInstallerURL";
b.FLASH_AUDIO_PLAYER_URL=b.FLASH_AUDIO_PLAYER_URL="FlashAudioPlayerURL";b.FLASH_VIDEO_PLAYER_URL=b.FLASH_VIDEO_PLAYER_URL="FlashVideoPlayerURL";b.FLASH_PANORAMA_PLAYER_URL=b.FLASH_PANORAMA_PLAYER_URL="FlashPanoramaPlayerURL";b.THREE_JS_WEBGL_URL=b.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";b.WEBVR_POLYFILL_URL=b.WEBVR_POLYFILL_URL="WebVRPolyfillURL";b.CAPTURA_VIEWER_URL=b.CAPTURA_VIEWER_URL="CapturaViewerURL";b.DASH_URL=b.DASH_URL="DashURL";b.HLS_URL=b.HLS_URL="HlsURL";b.CONTAINER=b.CONTAINER="Container";
b.SELECTED_SCRIPT_URL=b.SELECTED_SCRIPT_URL="SelectedScriptURL";b.BASE_DIR_URL=b.BASE_DIR_URL="BaseDirURL";b.QUERY_STRING_PARAMETERS=b.QUERY_STRING_PARAMETERS="QueryStringParameters";b.CURSORS_DIR_URL=b.CURSORS_DIR_URL="CursorsDirURL";b.BACKGROUND_PRELOAD_ENABLED=b.BACKGROUND_PRELOAD_ENABLED="BackgroundPreloadEnabled";b.ACTIVE_VIDEO_ELEMENT=b.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";b.SERVICE_WORKER_URL=b.SERVICE_WORKER_URL="ServiceWorkerURL";b.PINCH_TO_ZOOM_ENABLED=b.T8="PinchToZoomEnabled";f.PlayerSettings=
f.PlayerSettings=b;f.PlayerEvent=f.SJ=function(a,b,e,f){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=e[e.length-1];this.sourceClassPath=e;this.sourceId=f};a.prototype.epa=N("vn");a.prototype["delete"]=function(){this.vn&&(this.vn.clear(),this.vn=q)};a.prototype.getById=a.prototype.tra=function(a){return this.vn?this.vn.pma(a):q};a.prototype.getByClassName=a.prototype.Vl=function(a){return this.vn?this.vn.T5(a):[]};a.prototype.createInstance=a.prototype.fq=function(a){return this.vn.fq(a)};
a.prototype.bind=a.prototype.bind=function(a,b,e,f){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";this.Nc[a]=this.Nc[a]||{};this.Nc[a][c]=this.Nc[a][c]||[];this.Nc[a][c].push({handler:b,context:e,immediate:f});return this};a.prototype.unbind=a.prototype.unbind=function(a,b,e,f){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";if(a in this.Nc&&c in this.Nc[a]){for(var g=[],j=this.Nc[a][c],d=0;d<j.length;d++){var k=j[d];(k.handler!=b||k.context!=e||k.immediate!=f)&&g.push(k)}this.Nc[a][c]=g}};a.prototype.bindOnObject=
a.prototype.gra=function(a,b,e,f,c){return this.bind(b+":"+this.cN(a),e,f,c)};a.prototype.unbindOnObject=a.prototype.isa=function(a,b,e,f,c){return this.unbind(b+":"+this.cN(a),e,f,c)};a.prototype.bindOnObjectsOf=a.prototype.hra=function(a,b,e,f,c){return this.bind(b+":"+this.TM(a),e,f,c)};a.prototype.unbindOnObjectsOf=a.prototype.jsa=function(a,b,e,f,c){return this.unbind(b+":"+this.TM(a),e,f,c)};a.prototype.trigger=function(a){if(a.name in this.Nc){this.Lx(a,p);var b=this;setTimeout(function(){b.Lx(a,
y)},0)}};a.prototype.Lx=function(a,b){for(var e=this.Eca(a,b),f=0;f<e.length;f++)try{e[f].handler.call(e[f].context||window,a)}catch(c){setTimeout(function(){i(c)},0)}};a.prototype.Eca=function(a,b){var e=[];if(a.name in this.Nc){for(var f=[],c=0;c<a.sourceClassPath.length;c++)f.push(this.TM(a.sourceClassPath[c]));a.sourceId&&f.push(this.cN(a.sourceId));f.push("*");for(var g=this.Nc[a.name],c=0;c<f.length;c++)for(var j=g[f[c]]||[],d=0;d<j.length;d++)!!j[d].immediate==!!b&&e.push(j[d])}return e};a.prototype.cN=
function(a){return"instance("+a+")"};a.prototype.TM=function(a){return"className("+a+")"};f.Player=f.Y8=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(p)});
(function(){(function(){function a(a,b){return a.faa?o(b).chain():b}function b(a){return"\\"+T[a]}function c(a){function b(e){return a[e]}var e="(?:"+o.keys(a).join("|")+")",f=RegExp(e),h=RegExp(e,"g");return function(a){return a=q==a?"":""+a,f.test(a)?a.replace(h,b):a}}function d(a,b,e,f){if(a===b)return 0!==a||1/a===1/b;if(q==a||q==b)return a===b;a instanceof o&&(a=a.Ws);b instanceof o&&(b=b.Ws);var h=F.call(a);if(h!==F.call(b))return y;switch(h){case "[object RegExp]":case "[object String]":return""+
a==""+b;case "[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case "[object Date]":case "[object Boolean]":return+a===+b}h="[object Array]"===h;if(!h){if("object"!=typeof a||"object"!=typeof b)return y;var c=a.constructor,g=b.constructor;if(c!==g&&(!o.isFunction(c)||!(c instanceof c&&o.isFunction(g)&&g instanceof g))&&"constructor"in a&&"constructor"in b)return y}e=e||[];f=f||[];for(c=e.length;c--;)if(e[c]===a)return f[c]===b;if(e.push(a),f.push(b),h){if(c=a.length,c!==b.length)return y;
for(;c--;)if(!d(a[c],b[c],e,f))return y}else{var j,h=o.keys(a);if(c=h.length,o.keys(b).length!==c)return y;for(;c--;)if(j=h[c],!o.has(b,j)||!d(a[j],b[j],e,f))return y}return e.pop(),f.pop(),p}function g(a,b,e,f,h){if(!(f instanceof b))return a.apply(e,h);b=m(a.prototype);a=a.apply(b,h);return o.zw(a)?a:b}function f(a,b,e,h){for(var c=[],g=0,h=h||0,l=E(a);l>h;h++){var d=a[h];if(j(d)&&(o.isArray(d)||o.isArguments(d))){b||(d=f(d,b,e));var k=0,m=d.length;for(c.length+=m;m>k;)c[g++]=d[k++]}else e||(c[g++]=
d)}return c}function k(a){return function(b,e,f){var h={};return e=l(e,f),o.each(b,function(f,c){var g=e(f,c,b);a(h,f,g)}),h}}function j(a){a=E(a);return"number"==typeof a&&0<=a&&R>=a}function h(a){return function(b){return q==b?n:b[a]}}function m(a){if(!o.zw(a))return{};if(G)return G(a);s.prototype=a;a=new s;return s.prototype=q,a}function e(a,b){return function(e){var f=arguments.length;if(2>f||q==e)return e;for(var h=1;f>h;h++)for(var c=arguments[h],g=a(c),o=g.length,j=0;o>j;j++){var l=g[j];b&&
e[l]!==n||(e[l]=c[l])}return e}}function l(a,b,e){return q==a?o.identity:o.isFunction(a)?r(a,b,e):o.zw(a)?o.iT(a):o.e7(a)}function r(a,b,e){if(b===n)return a;switch(q==e?3:e){case 1:return function(e){return a.call(b,e)};case 2:return function(e,f){return a.call(b,e,f)};case 3:return function(e,f,h){return a.call(b,e,f,h)};case 4:return function(e,f,h,c){return a.call(b,e,f,h,c)}}return function(){return a.apply(b,arguments)}}function o(a){return a instanceof o?a:this instanceof o?void(this.Ws=a):
new o(a)}function s(){}function t(a){return function(b,e,f,h){var e=r(e,h,4),c=!j(b)&&o.keys(b),g=(c||b).length,l=0<a?0:g-1;3>arguments.length&&(f=b[c?c[l]:l],l+=a);for(var d=e,k=f;0<=l&&g>l;l+=a)var m=c?c[l]:l,k=d(k,b[m],m,b);return k}}function u(a){return function(b,e,f){for(var e=l(e,f),f=E(b),h=0<a?0:f-1;0<=h&&f>h;h+=a)if(e(b[h],h,b))return h;return-1}}function v(a,b,e){return function(f,h,c){var g=0,j=E(f);if("number"==typeof c)0<a?g=0<=c?c:Math.max(c+j,g):j=0<=c?Math.min(c+1,j):c+j+1;else if(e&&
c&&j)return c=e(f,h),f[c]===h?c:-1;if(h!==h)return c=b(B.call(f,g,j),o.isNaN),0<=c?c+g:-1;for(c=0<a?g:j-1;0<=c&&j>c;c+=a)if(f[c]===h)return c;return-1}}function x(a,b){var e=I.length,f=a.constructor,f=o.isFunction(f)&&f.prototype||A,h="constructor";for(o.has(a,h)&&!o.contains(b,h)&&b.push(h);e--;)h=I[e],h in a&&a[h]!==f[h]&&!o.contains(b,h)&&b.push(h)}var w=this,z=w.hK,C=Array.prototype,A=Object.prototype,H=C.push,B=C.slice,F=A.toString,K=A.hasOwnProperty,J=Array.isArray,L=Object.keys,M=Function.prototype.bind,
G=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.vla&&(exports=module.vla=o),exports.hK=o):w.hK=o;o.VERSION="1.8.3";o.Gra=function(a,b){return l(a,b,1/0)};var R=Math.pow(2,53)-1,E=h("length");o.each=o.forEach=function(a,b,e){var b=r(b,e),f;if(j(a)){e=0;for(f=a.length;f>e;e++)b(a[e],e,a)}else{var h=o.keys(a),e=0;for(f=h.length;f>e;e++)b(a[h[e]],h[e],a)}return a};o.map=o.kra=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),f=(e||a).length,h=Array(f),c=0;f>c;c++){var g=
e?e[c]:c;h[c]=b(a[g],g,a)}return h};o.reduce=o.qra=o.Bra=t(1);o.reduceRight=o.rra=t(-1);o.find=o.detect=function(a,b,e){var f;return f=j(a)?o.r5(a,b,e):o.zla(a,b,e),f!==n&&-1!==f?a[f]:n};o.filter=o.select=function(a,b,e){var f=[];return b=l(b,e),o.each(a,function(a,e,h){b(a,e,h)&&f.push(a)}),f};o.reject=function(a,b,e){return o.filter(a,o.X6(l(b)),e)};o.every=o.all=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),f=(e||a).length,h=0;f>h;h++){var c=e?e[h]:h;if(!b(a[c],c,a))return y}return p};o.some=
o.any=function(a,b,e){for(var b=l(b,e),e=!j(a)&&o.keys(a),f=(e||a).length,h=0;f>h;h++){var c=e?e[h]:h;if(b(a[c],c,a))return p}return y};o.contains=o.zra=o.include=function(a,b,e,f){return j(a)||(a=o.values(a)),("number"!=typeof e||f)&&(e=0),0<=o.indexOf(a,b,e)};o.invoke=function(a,b){var e=B.call(arguments,2),f=o.isFunction(b);return o.map(a,function(a){var h=f?b:a[b];return q==h?h:h.apply(a,e)})};o.pluck=function(a,b){return o.map(a,o.e7(b))};o.osa=function(a,b){return o.filter(a,o.iT(b))};o.pra=
function(a,b){return o.find(a,o.iT(b))};o.max=function(a,b,e){var f,h=-1/0,c=-1/0;if(q==b&&q!=a)for(var a=j(a)?a:o.values(a),g=0,d=a.length;d>g;g++)e=a[g],e>h&&(h=e);else b=l(b,e),o.each(a,function(a,e,g){f=b(a,e,g);(f>c||f===-1/0&&h===-1/0)&&(h=a,c=f)});return h};o.min=function(a,b,e){var f,h=1/0,c=1/0;if(q==b&&q!=a)for(var a=j(a)?a:o.values(a),g=0,d=a.length;d>g;g++)e=a[g],h>e&&(h=e);else b=l(b,e),o.each(a,function(a,e,g){f=b(a,e,g);(c>f||1/0===f&&1/0===h)&&(h=a,c=f)});return h};o.tpa=function(a){for(var b=
j(a)?a:o.values(a),e=b.length,f=Array(e),h=0;e>h;h++)a=o.random(0,h),a!==h&&(f[h]=f[a]),f[a]=b[h];return f};o.sample=function(a,b,e){return q==b||e?(j(a)||(a=o.values(a)),a[o.random(a.length-1)]):o.tpa(a).slice(0,Math.max(0,b))};o.sortBy=function(a,b,e){return b=l(b,e),o.pluck(o.map(a,function(a,e,f){return{value:a,index:e,k5:b(a,e,f)}}).sort(function(a,b){var e=a.k5,f=b.k5;if(e!==f){if(e>f||e===n)return 1;if(f>e||f===n)return-1}return a.index-b.index}),"value")};o.groupBy=k(function(a,b,e){o.has(a,
e)?a[e].push(b):a[e]=[b]});o.Ara=k(function(a,b,e){a[e]=b});o.mra=k(function(a,b,e){o.has(a,e)?a[e]++:a[e]=1});o.toArray=function(a){return a?o.isArray(a)?B.call(a):j(a)?o.map(a,o.identity):o.values(a):[]};o.size=function(a){return q==a?0:j(a)?a.length:o.keys(a).length};o.Tra=function(a,b,e){var b=l(b,e),f=[],h=[];return o.each(a,function(a,e,c){(b(a,e,c)?f:h).push(a)}),[f,h]};o.first=o.head=o.bsa=function(a,b,e){return q==a?n:q==b||e?a[0]:o.Lma(a,a.length-b)};o.Lma=function(a,b){return B.call(a,
0,Math.max(0,a.length-(q==b?1:b)))};o.last=function(a,b,e){return q==a?n:q==b||e?a[a.length-1]:o.rest(a,Math.max(0,a.length-b))};o.rest=o.asa=o.ora=function(a,b,e){return B.call(a,q==b||e?1:b)};o.compact=function(a){return o.filter(a,o.identity)};o.flatten=function(a,b){return f(a,b,y)};o.without=function(a){return o.difference(a,B.call(arguments,1))};o.uniq=o.unique=function(a,b,e,f){o.isBoolean(b)||(f=e,e=b,b=y);q!=e&&(e=l(e,f));for(var f=[],h=[],c=0,g=E(a);g>c;c++){var j=a[c],d=e?e(j,c,a):j;b?
(c&&h===d||f.push(j),h=d):e?o.contains(h,d)||(h.push(d),f.push(j)):o.contains(f,j)||f.push(j)}return f};o.union=function(){return o.uniq(f(arguments,p,p))};o.intersection=function(a){for(var b=[],e=arguments.length,f=0,h=E(a);h>f;f++){var c=a[f];if(!o.contains(b,c)){for(var g=1;e>g&&o.contains(arguments[g],c);g++);g===e&&b.push(c)}}return b};o.difference=function(a){var b=f(arguments,p,p,1);return o.filter(a,function(a){return!o.contains(b,a)})};o.zip=function(){return o.Kpa(arguments)};o.Kpa=function(a){for(var b=
a&&o.max(a,E).length||0,e=Array(b),f=0;b>f;f++)e[f]=o.pluck(a,f);return e};o.object=function(a,b){for(var e={},f=0,h=E(a);h>f;f++)b?e[a[f]]=b[f]:e[a[f][0]]=a[f][1];return e};o.r5=u(1);o.Ala=u(-1);o.sortedIndex=function(a,b,e,f){for(var e=l(e,f,1),b=e(b),f=0,h=E(a);h>f;){var c=Math.floor((f+h)/2);e(a[c])<b?f=c+1:h=c}return f};o.indexOf=v(1,o.r5,o.sortedIndex);o.lastIndexOf=v(-1,o.Ala);o.range=function(a,b,e){q==b&&(b=a||0,a=0);for(var e=e||1,b=Math.max(Math.ceil((b-a)/e),0),f=Array(b),h=0;b>h;h++,
a+=e)f[h]=a;return f};o.bind=function(a,b){function e(){return g(a,e,b,this,f.concat(B.call(arguments)))}if(M&&a.bind===M)return M.apply(a,B.call(arguments,1));o.isFunction(a)||i(new TypeError("Bind must be called on a function"));var f=B.call(arguments,2);return e};o.sT=function(a){function b(){for(var f=0,h=e.length,c=Array(h),j=0;h>j;j++)c[j]=e[j]===o?arguments[f++]:e[j];for(;f<arguments.length;)c.push(arguments[f++]);return g(a,b,this,this,c)}var e=B.call(arguments,1);return b};o.bindAll=function(a){var b,
e,f=arguments.length;1>=f&&i(Error("bindAll must be passed function names"));for(b=1;f>b;b++)e=arguments[b],a[e]=o.bind(a[e],a);return a};o.memoize=function(a,b){function e(f){var h=e.Tka,c=""+(b?b.apply(this,arguments):f);return o.has(h,c)||(h[c]=a.apply(this,arguments)),h[c]}return e.Tka={},e};o.delay=function(a,b){var e=B.call(arguments,2);return setTimeout(function(){return a.apply(q,e)},b)};o.defer=o.sT(o.delay,o,1);o.throttle=function(a,b,e){function f(){l=e.ina===y?0:o.now();j=q;g=a.apply(h,
c);j||(h=c=q)}var h,c,g,j=q,l=0;e||(e={});return function(){var d=o.now();l||e.ina!==y||(l=d);var k=b-(d-l);return h=this,c=arguments,0>=k||k>b?(j&&(clearTimeout(j),j=q),l=d,g=a.apply(h,c),j||(h=c=q)):j||e.fsa===y||(j=setTimeout(f,k)),g}};o.debounce=function(a,b,e){function f(){var d=o.now()-j;b>d&&0<=d?h=setTimeout(f,b-d):(h=q,e||(l=a.apply(g,c),h||(g=c=q)))}var h,c,g,j,l;return function(){g=this;c=arguments;j=o.now();var d=e&&!h;return h||(h=setTimeout(f,b)),d&&(l=a.apply(g,c),g=c=q),l}};o.wrap=
function(a,b){return o.sT(b,a)};o.X6=function(a){return function(){return!a.apply(this,arguments)}};o.compose=function(){var a=arguments,b=a.length-1;return function(){for(var e=b,f=a[b].apply(this,arguments);e--;)f=a[e].call(this,f);return f}};o.after=function(a,b){return function(){return 1>--a?b.apply(this,arguments):n}};o.before=function(a,b){var e;return function(){return 0<--a&&(e=b.apply(this,arguments)),1>=a&&(b=q),e}};o.once=o.sT(o.before,2);var P=!{toString:q}.propertyIsEnumerable("toString"),
I="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");o.keys=function(a){if(!o.zw(a))return[];if(L)return L(a);var b=[],e;for(e in a)o.has(a,e)&&b.push(e);return P&&x(a,b),b};o.fS=function(a){if(!o.zw(a))return[];var b=[],e;for(e in a)b.push(e);return P&&x(a,b),b};o.values=function(a){for(var b=o.keys(a),e=b.length,f=Array(e),h=0;e>h;h++)f[h]=a[b[h]];return f};o.Kra=function(a,b,e){for(var b=l(b,e),f=o.keys(a),h=f.length,c={},g=0;h>g;g++)e=f[g],c[e]=b(a[e],
e,a);return c};o.Sra=function(a){for(var b=o.keys(a),e=b.length,f=Array(e),h=0;e>h;h++)f[h]=[b[h],a[b[h]]];return f};o.y6=function(a){for(var b={},e=o.keys(a),f=0,h=e.length;h>f;f++)b[a[e[f]]]=e[f];return b};o.functions=o.Ora=function(a){var b=[],e;for(e in a)o.isFunction(a[e])&&b.push(e);return b.sort()};o.extend=e(o.fS);o.p5=o.assign=e(o.keys);o.zla=function(a,b,e){for(var b=l(b,e),f,e=o.keys(a),h=0,c=e.length;c>h;h++)if(f=e[h],b(a[f],f,a))return f};o.una=function(a,b,e){var h,c,g={},j=a;if(q==
j)return g;o.isFunction(b)?(c=o.fS(j),h=r(b,e)):(c=f(arguments,y,y,1),h=function(a,b,e){return b in e},j=Object(j));for(var l=0,d=c.length;d>l;l++){var k=c[l],m=j[k];h(m,k,j)&&(g[k]=m)}return g};o.Pra=function(a,b,e){if(o.isFunction(b))b=o.X6(b);else var h=o.map(f(arguments,y,y,1),String),b=function(a,b){return!o.contains(h,b)};return o.una(a,b,e)};o.defaults=e(o.fS,p);o.create=function(a,b){var e=m(a);return b&&o.p5(e,b),e};o.clone=function(a){return o.zw(a)?o.isArray(a)?a.slice():o.extend({},a):
a};o.tap=function(a,b){return b(a),a};o.$ma=function(a,b){var e=o.keys(b),f=e.length;if(q==a)return!f;for(var h=Object(a),c=0;f>c;c++){var g=e[c];if(b[g]!==h[g]||!(g in h))return y}return p};o.isEqual=function(a,b){return d(a,b)};o.isEmpty=function(a){return q==a?p:j(a)&&(o.isArray(a)||o.isString(a)||o.isArguments(a))?0===a.length:0===o.keys(a).length};o.isElement=function(a){return!(!a||1!==a.nodeType)};o.isArray=J||function(a){return"[object Array]"===F.call(a)};o.zw=function(a){var b=typeof a;
return"function"===b||"object"===b&&!!a};o.each("Arguments,Function,String,Number,Date,RegExp,Error".split(","),function(a){o["is"+a]=function(b){return F.call(b)==="[object "+a+"]"}});o.isArguments(arguments)||(o.isArguments=function(a){return o.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(o.isFunction=function(a){return"function"==typeof a||y});o.Cra=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};o.isNaN=function(a){return o.isNumber(a)&&a!==+a};o.isBoolean=function(a){return a===
p||a===y||"[object Boolean]"===F.call(a)};o.isNull=function(a){return q===a};o.isUndefined=function(a){return a===n};o.has=function(a,b){return q!=a&&K.call(a,b)};o.noConflict=function(){return w.hK=z,this};o.identity=function(a){return a};o.lra=function(a){return function(){return a}};o.noop=D();o.e7=h;o.Ura=function(a){return q==a?D():function(b){return a[b]}};o.iT=o.Lra=function(a){return a=o.p5({},a),function(b){return o.$ma(b,a)}};o.times=function(a,b,e){for(var f=Array(Math.max(0,a)),b=r(b,
e,1),e=0;a>e;e++)f[e]=b(e);return f};o.random=function(a,b){return q==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))};o.now=Date.now||function(){return(new Date).getTime()};var J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},U=o.y6(J);o.escape=c(J);o.unescape=c(U);o.result=function(a,b,e){b=q==a?n:a[b];return b===n&&(b=e),o.isFunction(b)?b.call(a):b};var V=0;o.uniqueId=function(a){var b=++V+"";return a?a+b:b};o.Epa={evaluate:/<%([\s\S]+?)%>/g,Pma:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var S=/(.)^/,T={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g;o.template=function(a,e,f){function h(a){return j.call(this,a,o)}!e&&f&&(e=f);var e=o.defaults({},e,o.Epa),c=0,g="__p+='";a.replace(RegExp([(e.escape||S).source,(e.Pma||S).source,(e.evaluate||S).source].join("|")+"|$","g"),function(e,f,h,o,j){return g+=a.slice(c,j).replace(W,b),c=j+e.length,f?g+="'+\n((__t=("+f+"))==null?'':_.escape(__t))+\n'":h?g+="'+\n((__t=("+
h+"))==null?'':__t)+\n'":o&&(g+="';\n"+o+"\n__p+='"),e});g+="';\n";e.e8||(g="with(obj||{}){\n"+g+"}\n");g="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+g+"return __p;\n";try{var j=new Function(e.e8||"obj","_",g)}catch(l){i((l.source=g,l))}return h.source="function("+(e.e8||"obj")+"){\n"+g+"}",h};o.chain=function(a){a=o(a);return a.faa=p,a};o.mixin=function(b){o.each(o.functions(b),function(e){var f=o[e]=b[e];o.prototype[e]=function(){var b=[this.Ws];return H.apply(b,
arguments),a(this,f.apply(o,b))}})};o.mixin(o);o.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(b){var e=C[b];o.prototype[b]=function(){var f=this.Ws;return e.apply(f,arguments),"shift"!==b&&"splice"!==b||0!==f.length||delete f[0],a(this,f)}});o.each(["concat","join","slice"],function(b){var e=C[b];o.prototype[b]=function(){return a(this,e.apply(this.Ws,arguments))}});o.prototype.value=O("Ws");o.prototype.valueOf=o.prototype.toJSON=o.prototype.value;o.prototype.toString=function(){return""+
this.Ws};"function"==typeof define&&define.$qa&&define("ju",[],function(){return o})}).call(this)}).call(window.TDV||(window.TDV={}));define("underscore-min",D());define("cK",["underscore-min"],function(){return window.TDV._.noConflict()});
define("ji",[],function(){return{ha:function(a){return a+"_change"},rc:"default",pb:"mouseDown",wc:"mouseMove",Gb:"mouseUp",so:"mouseWheel",V:"click",KC:"doubleClick",Kc:"rollOver",hc:"rollOut",Ij:"mouseEnter",pf:"mouseLeave",uh:"pointerOver",sqa:"pointerOut",GV:"pointerDown",HV:"pointerUp",Bi:"pointerClick",FC:"gestureStart",y8:"gestureChange",EC:"gestureEnd",z8:"gestureRotate",Ht:"gestureScale",gc:"progress",Hq:"close",OPEN:"open",Ci:"select",sb:"resize",UI:"changing",W:"change",qm:"stateChange",
P:"loaded",md:"loadingError",vo:"start",nd:"stop",uo:"play",PC:"pause",Ub:"ready",zj:"begin",ua:"end",Zpa:"cancel",hg:"press",vh:"release",Yq:"repeatEnd",$k:"scroll",LC:"movementChange",Ypa:"beforeShow",BU:"beforeHide",INIT:"init",qf:"show",gg:"hide",Jt:"showEnd",Xq:"hideEnd",F8:"loadingScript",X8:"processingScript",k8:"applicationSet",AC:"userInteraction"}});define("bL",[],function(){return function(a,b){this.name=a;this.source=n;this.data=b}});
define("iF",[],function(){function a(){this.pe=[];this.Il=[]}a.prototype.jE=function(a){for(var c=0;c<this.pe.length;c++)if(this.pe[c]==a)return c;return-1};a.prototype.set=function(a,c){var d=this.jE(a);0<=d?this.Il[d]=c:(this.pe.push(a),this.Il.push(c))};a.prototype.i6=function(a){return 0<=this.jE(a)};a.prototype.get=function(a){a=this.jE(a);if(0<=a)return this.Il[a]};a.prototype.keys=function(){return this.pe.slice()};a.prototype.values=function(){return this.Il.slice()};a.prototype.length=function(){return this.pe.length};
a.prototype.clear=function(a){a=this.jE(a);0<=a&&(this.pe.splice(a,1),this.Il.splice(a,1))};a.prototype.each=function(a,c){for(var d=0;d<this.pe.length;d++)a.call(c,this.pe[d],this.Il[d])};return a});
define("fp",["require","cK","ji"],function(a){function b(a){var b=g[a];if(b)return b;if("string"!=typeof a)return g[a]=function(){return a};var h=(b=f.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return g[a]=function(a){return a*h};case "vh":return g[a]=function(a,b){return b*h};case "vmin":return g[a]=function(a,b,f){return f*h};case "vmax":return g[a]=function(a,b,f,c){return c*h};default:return g[a]=function(){return a}}}function c(a){this.va=a;this.Zv=this.Zv.bind(this);
this.va.bind(d.sb,this.ib,this,p);this.wQ={};this.Hm=[];this.ib()}a("cK");var d=a("ji");c.prototype.ib=function(){this.oka();for(var a in this.wQ)this.Zv(this.wQ[a]);this.Hm.forEach(this.Zv)};c.prototype.oka=function(){var a=this.va.ab();this.qH=0.01*this.va.za();this.oH=0.01*a;this.Q4=Math.min(this.qH,this.oH);this.P4=Math.max(this.qH,this.oH)};c.prototype.Zv=function(a){a(this.qH,this.oH,this.Q4,this.P4)};c.prototype.Ika=function(a){this.Hm.push(a)};c.prototype.Lna=function(a){a=this.Hm.indexOf(a);
0<=a&&this.Hm.splice(a,1)};c.prototype.Mka=function(a,f,h,c){function e(b,e,c,d){f.call(a,h,g(b,e,c,d))}var g=b(c);this.wQ[a.Zo+"."+h]=e;e(this.qH,this.oH,this.Q4,this.P4)};c.Dc={};c.get=function(a){var b=a.Zo,f=c.Dc[b];f||(f=new c(a),c.Dc[b]=f);return f};var g={},f=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
define("hL",[],function(){function a(a,b){var g=a.split(b),f=g[0];(g=g.slice(1).join(b))&&(g=b+g);return[f,g]}var b=window.URL||D();b.Jh=document.createElement("a");b.D6=function(a){if(b.B6(a)){var d=window.location.protocol+"//"+window.location.hostname;return a.substring(0,d.length)!=d}return y};b.Aq=function(a,d){if(b.cna(a))a=window.location.protocol+a;else if(!b.B6(a)&&!b.FB(a)){if(d)if(0==a.indexOf("/")){var g=d.indexOf("//"),f="";0<=g&&(f=d.substr(0,g+2),d=d.substr(g+2));g=d.indexOf("/");0<
g&&(d=d.substr(0,g));a=f+d+a}else a=d+a;b.Jh.href=a;a=b.Jh.href}return a};b.Vma=function(){switch(window.location.protocol){case "http:":case "https:":return p;default:return y}};b.cna=function(a){return 0===a.indexOf("//")};b.B6=function(a){var b=a.indexOf("://");return 3<=b&&5>=b?p:0==a.indexOf("filesystem:")};b.FB=function(a){return 0==a.indexOf("data:")};b.getDirectory=function(a){a=b.Aq(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+"/"};b.mh=function(a){b.bv||
(b.bv=b.DZ());return b.bv[a]!==n};b.Yn=function(a){b.bv||(b.bv=b.DZ());return b.bv[a]};b.Uv=function(b,d){if(!d)return b;var g=a(b,"#"),f=g[1],g=a(g[0],"?"),k=g[0],g=g[1];return 0<=g.indexOf(d)?b:k+(g+(g?"&":"?")+d)+f};b.parse=function(a){b.Jh.href=a;a={};a.protocol=b.Jh.protocol;a.hostname=b.Jh.hostname;a.port=b.Jh.port;a.pathname=b.Jh.pathname;a.search=b.Jh.search;a.hash=b.Jh.hash;a.host=b.Jh.host;var d=a.pathname?a.pathname.lastIndexOf("."):-1;a.wla=0<=d?a.pathname.substr(d).toLowerCase():"";return a};
b.ira=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};b.getExtension=function(a){var a=b.parse(a).pathname,d=a.lastIndexOf(".");return 0<=d?a.substr(d,a.length):""};b.Ul=function(a,d){switch((b.Yn(a)||"").toLowerCase()){case "false":case "0":case "no":case "n":return y;case "true":case "1":case "yes":case "y":return p;default:return d}};b.Zla=function(){var a=parseInt(b.Yn("dvs"));return isNaN(a)?10:a};b.NH=function(a){a=parseFloat(b.Yn(a));return isNaN(a)?n:a};b.bv=q;b.DZ=
function(){for(var a={},b=window.location.search.substring(1).split("&"),g=0;g<b.length;g++){var f=b[g].split("=");a[decodeURIComponent(f[0])]=1<f.length?decodeURIComponent(f[1]):q}return a};return b});
define("hj",["require","cK","jquery.mod"],function(a){var b=a("cK"),c=a("jquery.mod"),d={Kma:function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},Oka:function(a,b){b.forEach(function(b){Object.getOwnPropertyNames(b.prototype).forEach(function(h){a.prototype[h]=b.prototype[h]})})},extend:function(){var a=arguments[0],b=arguments[arguments.length-1],c=Array.prototype.slice.call(arguments,1,arguments.length-1);d.Kma(b,a);d.Oka(b,c);return b},deferred:function(a,
c){return function(){var g=arguments;b.defer(function(){a.apply(c,g)})}},eo:function(a,c){var g=y;return function(){g||(g=p,b.defer(function(){g=y;a.apply(c||window)}))}},memoize:function(a,b,c,h){a.Uy||(a.Uy=[],a.tO=[]);for(var g=a.Uy,e=0,l=g.length;e<l;e++){var d=g[e];if(h.length==d.length){for(var o=p,s=0,t=h.length;s<t&&o;s++)o=d[s]==h[s];if(o)return a.tO[e]}}c=c.apply(window,h);a.Uy.length==b&&(a.Uy.shift(),a.tO.shift());a.Uy.push(h);a.tO.push(c);return c},Bu:[],fra:function(a,b){var c=d.kba();
window[c]=function(){a.apply(b,arguments)};d.Bu.push({handler:a,context:b,callback:c});return c},ura:function(a,b){for(var c=0;c<d.Bu.length;c++){var h=d.Bu[c];if(h.handler==a&&h.context==b)return h.callback}},hsa:function(a,b){for(var c=0;c<d.Bu.length;c++){var h=d.Bu[c];if(h.handler==a&&h.context==b)return h=h.callback,d.Bu.splice(c,1),delete window[h],h}},kba:function(){var a;do a="__callback_"+d.g7(8);while(window[a]);return a},g7:function(a){for(var b=[],c=0;c<a;c++)b.push(Math.floor(16*Math.random()).toString(16));
return b.join("")},ula:function(a){d.Pu=c("<div></div>");d.Pu.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?d.Pu.css({top:0}):d.Pu.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(d.Pu);console.log=function(a){d.log(a)}}},g;d.log=function(a){if(a!=g){g=a;try{d.Pu?c("<div></div>").text(a).prependTo(d.Pu):console.log(a)}catch(b){}}};
d.Vra=function(a){this.KM.push(a)};d.KM=[];d.debug=function(a,b){try{b.apply(this,arguments)}catch(c){d.fI(a,c),i(c)}};d.fI=function(a,b){var c=[];c.push("Exception: "+a);b.message?(c.push(b.message),c.push(b.stack)):c.push(b);this.log(c.join("\n"));for(c=0;c<this.KM.length;c++)this.KM[c](b)};d.clone=function(a,b){var b=b||0,c=new a.constructor,h;for(h in a)if(a.hasOwnProperty(h)){var g=a[h];0<b&&g&&"object"===typeof g&&(g=d.clone(g,b-1));c[h]=g}return c};return d});
define("dj","require,jquery.mod,cK,iF,fp,hL,hj".split(","),function(a){function b(a,b){this.bu=a;this.sL=b;this.yz=q;this.YO={};this.TO=this.nr=this.Vt=n;this.v1=[];this.OA=this.Ss=n;this.u1=[];this.cA=this.Hs=n;this.t1={};this.Wy=n;this.r1=[];this.Po=n;this.s1=[];this.bp=n;this.q_=this.s_=y}var c=a("jquery.mod"),d=a("cK"),g=a("iF"),f=a("fp"),k=a("hL"),j=a("hj");b.prototype.B=function(a){this.yz=a;this.RX();this.TX();this.mL();return this};b.prototype.hma=function(){if(this.yz)return b.Vl(this.yz)};
b.prototype.gw=O("bu");b.prototype.uB=function(){return this.Xo()?this.Um().uB().concat(this.bu):[this.bu]};b.prototype.K=function(a){this.YO=a;this.RX();return this};b.prototype.hasAttributes=function(){return this.v5().length>0};b.prototype.hasAttribute=function(a){return this.zS(a)?p:y};b.prototype.v5=function(){this.Vt==n&&this.pY();return this.Vt};b.prototype.Voa=function(){this.TO=["definitions"];return this};b.prototype.N5=function(){if(this.TO)return this.TO;if(this.Xo())this.Um().N5();else return[]};
b.prototype.zS=function(a){this.nr==n&&this.pY();return this.nr[a]};b.prototype.vj=function(a){this.v1=a;this.waa();return this};b.prototype.Ema=function(){return this.X5().length>0};b.prototype.X5=function(){this.Ss==n&&this.tY();return this.Ss};b.prototype.sma=function(){this.OA==n&&this.tY();return this.OA};b.prototype.ko=function(a){this.u1=a;this.uaa();return this};b.prototype.Dma=function(){return this.V5().length>0};b.prototype.V5=function(){this.Hs==n&&this.sY();return this.Hs};b.prototype.qma=
function(){this.cA==n&&this.sY();return this.cA};b.prototype.qc=function(a){this.r1=a;this.mL();return this};b.prototype.Ama=function(){return this.CS().length>0};b.prototype.f6=function(a){this.Po==n&&this.MD();return d(this.Po).contains(a)};b.prototype.CS=function(){this.Po==n&&this.MD();return this.Po};b.prototype.ph=function(a){this.s1=a;this.mL();return this};b.prototype.Cma=function(){return this.HS().length>0};b.prototype.h6=function(a){this.bp==n&&this.MD();return d(this.bp).contains(a)};
b.prototype.HS=function(){this.bp==n&&this.MD();return this.bp};b.prototype.Cg=function(a){this.t1=a;this.TX();return this};b.prototype.L5=function(){this.Wy==n&&this.cba();return this.Wy};b.prototype.Doa=function(){this.s_=p;return this};b.prototype.G5=function(){return this.s_||this.Xo()&&this.Um().G5()};b.prototype.fq=function(a,b,e,f){this.qga(b,e);var c=this.sL,g;g=f&&f.length>0?new (j.extend(c,function(){c.apply(this,f)})):new c;g.set("application",a);g.set("baseDirectoy",b);g.set("queryStringParameters",
e);g.set("class",this.gw());return g};b.prototype.qga=function(a,b){if(!this.q_){this.q_=p;this.mba(a,b);this.Nba()}};b.prototype.mba=function(a,b){if(this.Ema()||this.Dma()){var e=this.sL.prototype,c=this.sma(),g=this.qma(),o=e.set;e.set=function(e,d){c[e]&&(!d||!k.FB(d))?o.call(this,e,k.Uv(k.Aq(d,a),b)):g[e]?f.get(this.get("application")).Mka(this,o,e,d):o.call(this,e,d)}}};b.prototype.Nba=function(){var a=this.sL.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.Ama()||
this.Cma()){a.bind=a.bind;a.getBindings=a.sB;a.hasBindings=a.d6;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.gw()};a.getClassPath=function(){return b.uB()};var e=this.L5(),f;for(f in e)a[f]=e[f]};b.prototype.RX=function(){this.nr=this.Vt=n};b.prototype.pY=function(){this.Vt=[];this.nr={};for(var a in this.YO){this.Vt.push(a);this.nr[a]=b.XM(this.YO[a])}if(this.Xo())for(var f=this.Um(),e=f.v5(),c=0;c<e.length;c++){a=e[c];if(!this.nr[a]){this.Vt.push(a);this.nr[a]=f.zS(a)}}};
b.prototype.waa=function(){this.OA=n};b.prototype.tY=function(){this.Ss=this.v1.slice();if(this.Xo())this.Ss=d(this.Ss).union(this.Um().X5());this.OA={};for(var a=0;a<this.Ss.length;a++)this.OA[this.Ss[a]]=p};b.prototype.uaa=function(){this.cA=n};b.prototype.sY=function(){this.Hs=this.u1.slice();if(this.Xo())this.Hs=d(this.Hs).union(this.Um().V5());this.cA={};for(var a=0;a<this.Hs.length;a++)this.cA[this.Hs[a]]=p};b.prototype.mL=function(){this.bp=this.Po=n};b.prototype.MD=function(){this.Po=this.r1.slice();
this.bp=this.s1.slice();if(this.Xo()){this.Po=d(this.Po).union(this.Um().CS());this.bp=d(this.bp).union(this.Um().HS())}};b.prototype.TX=function(){this.Wy=n};b.prototype.cba=function(){this.Wy=d(this.t1).clone();this.Xo()&&d(this.Wy).defaults(this.Um().L5())};b.prototype.Xo=function(){return this.yz?p:y};b.prototype.Um=function(){return b.Vl(this.yz)};b.PX=new g;b.OX=new g;b.Yqa={};b.A=function(a,f){var e=new b(a,f);b.PX.set(a,e);b.OX.set(f,e);return e};b.Vl=function(a){return b.PX.get(a)};b.Hla=
function(a){return b.OX.get(a)};b.vb=function(a,f){var e=b.Vl(a);if(d(f).isNull())return p;if(f&&f.constructor)for(var c=b.Hla(f.constructor);c;){if(c==e)return p;c=c.hma()}return y};b.XM=function(a){switch(a){case "string":case "code":return b.Sia;case "number":return b.Kea;case "bool":return b.F$;case "color":return b.Caa;case "percent":return b.bga;case "size":return b.sia;case "identifier":return b.Mda;case "array":return b.$W;case "dict":return b.cga;case "*":return b.Hba;default:if(b.eea(a))switch(b.sca(a)){case "array":var f=
b.XM(b.dZ(a));return function(a,e){for(var a=b.$W(a,e),c=0;c<a.length;c++)a[c]=f(a[c],e);return a};case "enum":var e=b.eZ(a);return b.tca(e);case "or":var e=b.eZ(a),c=d(e).map(function(a){return b.XM(a)});return function(a,b){for(var e=0;e<c.length;e++)try{return c[e](a,b)}catch(f){}i("Invalid value")};default:i("Invalid type validator definition: "+a)}else return b.Tj(function(e){return b.vb(a,e)})}};b.eea=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.sca=function(a){return a.substring(0,
a.indexOf("["))};b.dZ=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.eZ=function(a){for(var a=b.dZ(a),f=[],e="",c=0,g=0;g<a.length;g++){var o=a.charAt(g),e=e+o;switch(o){case "[":c++;break;case "]":c--;break;case ",":if(c==0){f.push(e.substr(0,e.length-1));e=""}}}e!=""&&f.push(e);return d(f).map(function(a){return b.Aja(a)})};b.Aja=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Tj=function(a){return function(f,e){if(!a(f)){typeof f!="string"&&i("Invalid value");f=b.Lba(f,
e);a(f)||i("Invalid value")}return f}};b.Lba=function(a,b){return function(){return eval(a)}.call(b)};b.Hba=function(a){return a};b.Kea=b.Tj(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.Sia=b.Tj(function(a){return typeof a=="string"||a===q});b.F$=b.Tj(function(a){return a===p||a===y});b.$W=b.Tj(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.tca=function(a){return b.Tj(function(b){return d(a).contains(b)})};b.aE=function(a,b){return d(a).isString()&&
b.test(a)};b.Mda=b.Tj(function(a){return b.aE(a,/^[a-z][a-z0-9_]*$/i)});b.bga=b.Tj(function(a){return b.aE(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.sia=b.Tj(function(a){return b.aE(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.Caa=b.Tj(function(a){return b.aE(a,/^#[0-9a-f]{6}$/i)});b.cga=b.Tj(function(a){try{return c.isPlainObject(a)}catch(b){return y}});return b});
define("hm",[],function(){function a(){var a=f.length,b=f.splice(0,a);g+=a;for(var c=0;c<a;c++){var h=b[c];h&&h()}}var b=window.MutationObserver,c=window.Promise,d=0,g=0,f=[],k;setInterval(function(){0<f.length&&100<(new Date).getTime()-j&&a()},100);var j,h;c&&(h=new c(function(a){a()}));b&&(k=document.createTextNode(""),(new b(a)).observe(k,{characterData:p}));return{RB:function(g,e){if(e>0||!b&&!c)return~setTimeout(g,e||1);if(f.length==0){c?h.then(a):k.textContent=d;j=(new Date).getTime()}d++;f.push(g);
return d-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-g;if(b>=0){f[b]||i("invalid async handle: "+a);f[b]=q}}}}});
define("dX",["cK","hm","bL","hj"],function(a,b,c,d){function g(){this.Nc={}}g.prototype.bind=function(a,b,c,g,d){a===n&&i("Event name undefined");b===n&&i("Event handler undefined");a in this.Nc||(this.Nc[a]=[]);this.Nc[a].push({handler:b,handlerDef:d||b,context:c||this,immediate:g?p:y});return this};g.prototype.unbind=function(b,c,g){if(b in this.Nc){var g=g||this,h=a(this.Nc[b]).select(function(a){return a.handler!=c||a.context!=g});0<h.length?this.Nc[b]=h:delete this.Nc[b]}return this};g.prototype.c8=
function(){this.Nc={}};g.prototype.trigger=function(a,b){var g="string"==typeof a,h=g?a:a.name;h in this.Nc&&(g&&(a=new c(a,b)),a.source=this,this.Lx(a,p),h in this.Nc&&this.nba(a));return this};g.prototype.nba=function(a){g.PD.push({caller:this,event:a});g.iM||(g.iM=p,b.RB(g.wY))};g.PD=[];g.iM=y;g.wY=function(){for(var a=(new Date).getTime()+1E3;g.PD.length;){var c=g.PD.shift();g.prototype.Lx.call(c.caller,c.event,y);if((new Date).getTime()>a)break}0<g.PD.length?b.RB(g.wY,1):g.iM=y};g.prototype.d6=
function(a){return a in this.Nc};g.prototype.sB=function(a,b){for(var c=[],g=this.Nc[a]||[],d=0;d<g.length;d++){var e=g[d];(b===n||e.immediate==b)&&c.push(e.handlerDef)}return c};g.prototype.Lx=function(a,b){if(a.name in this.Nc)for(var c=this.Nc[a.name],g=0;g<c.length;g++){var m=c[g];if(m.immediate==b)try{m.handler.call(m.context,a)}catch(e){d.fI("Exception handling event "+a.name,e)}}};return g});
define("hA",["ji","hj","bL","dX"],function(a,b,c,d){b=b.extend(d,function(){d.call(this);this.Cx={}});b.prototype.set=function(a,b){this.Cx[a]!=b&&(this.Cx[a]=b,this.e4(a))};b.prototype.e4=function(b){this.trigger(new c(a.ha(b)))};b.prototype.get=function(a,b){var c=this.Cx[a];return c!==n?c:b};return b});
define("ep",[],function(){function a(a,c,d){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof c?c:0,"undefined"!=typeof d?d:0)}a.prototype.set=function(a,c,d){this.x=a;this.y=c;this.z=d};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.Tv(this)};a.prototype.project=function(a){a.project(this)};return a});
define("a",["hj","ep"],function(a,b){var c=a.extend(b,function(a,c,f){b.call(this,a,c,f)});c.prototype.clone=function(){return new c(this.x,this.y,this.z)};c.prototype.Tb=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.Yb=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};c.prototype.LS=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.normalize=function(){var a=this.LS();1!=a&&(this.x/=
a,this.y/=a,this.z/=a)};c.prototype.oB=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.mla=function(a){var b=this.z*a.x-this.x*a.z,f=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=f};c.iq=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.Fla=function(a){return new c(Math.cos(0)*Math.sin(a),Math.sin(0),Math.cos(0)*Math.cos(a))};return c});
define("fX","require,hj,hA,ji,dj,a".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("dj"),f=a("a"),a=b.extend(c,function(){c.call(this);this.KR=this.Mm=n});g.A("AdjacentPanorama",a).B("Object").K({yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"}).ph([d.Ci]);a.prototype.z5=function(){if(this.Mm===n){for(this.Mm=this.rZ()-this.get("yaw");this.Mm>180;)this.Mm=this.Mm-360;for(;this.Mm<-180;)this.Mm=this.Mm+360}return this.Mm};a.prototype.Tla=function(){if(this.KR===
n)this.KR=f.Fla(this.rZ()*Math.PI/180);return this.KR};a.prototype.Vka=function(){return this.get("yaw")!==n&&this.get("backwardYaw")!==n};a.prototype.rZ=function(){return this.get("backwardYaw")-180};return a});define("ew",[],function(){return{L:"stopped",T:"playing",Jc:"paused"}});define("dm",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("ImageResource",b).B("Object").K({levels:"array[ImageResourceLevel]"});return b});
define("cR","require,hj,ji,ew,dm,dj".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("ew"),g=a("dm"),a=a("dj"),b=b.extend(g,function(){g.call(this);this.set("state",d.L);this.set("autoplay",p);this.set("repeat",0);this.set("visibleOnStop",p);this.set("finalFrame","last")});b.prototype.play=function(){this.set("state",d.T)};b.prototype.pause=function(){this.set("state",d.Jc)};b.prototype.stop=function(){this.set("state",d.L)};a.A("AnimatedImageResource",b).B("ImageResource").K({autoplay:"bool",
finalFrame:"enum[first, last]",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]",visibleOnStop:"bool"}).qc([c.ua,c.Yq]).Cg({pause:b.prototype.pause,play:b.prototype.play,stop:b.prototype.stop});b.prototype.lw=function(a,b,c){b||(b=1);c||(c=1);return g.prototype.lw.call(this,a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("fq",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.ov=a===n?p:a;this.Nu=this.zk=this.xk=this.G=n;this.set("enabled",p);this.set("selected",y)});c.A("HotspotMapOverlay",a).B("MapOverlay").K({areas:"array[HotspotMapOverlayArea]",enabled:"bool",image:"HotspotMapOverlayImage",map:"HotspotMapOverlayMap",rollOverDisplay:"bool",rollOverImage:"HotspotMapOverlayImage",rollOverMap:"HotspotMapOverlayMap",selectedImage:"HotspotMapOverlayImage",selectedMap:"HotspotMapOverlayMap",
selected:"bool",useHandCursor:"bool"});a.prototype.getItem=function(){if(this.G===n){var a=this.get("image");this.G=a?a.BH(this.ov):q}return this.G};a.prototype.S5=function(){if(this.xk===n){var a=this.get("rollOverImage");this.xk=a?a.BH(this.ov):q}return this.xk};a.prototype.U5=function(){if(this.zk===n){var a=this.get("selectedImage");this.zk=a?a.BH(this.ov):q}return this.zk};a.prototype.dma=function(){if(this.Nu===n){this.Nu=[];var a=this.getItem();a&&this.Nu.push(a);(a=this.S5())&&this.Nu.push(a);
(a=this.U5())&&this.Nu.push(a)}return this.Nu};return a});define("dc",["hj","dj","fq"],function(a,b,c){a=a.extend(c,function(){c.call(this,p)});b.A("AreaHotspotMapOverlay",a).B("HotspotMapOverlay");return a});define("iV",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("AudioResource",a).B("Object").K({mp3Url:"string",oggUrl:"string"}).vj(["mp3Url","oggUrl"]);return a});define("bV",[],function(){return{bx:"inAdvance",GU:"delayed"}});
define("N",[],function(){return{GC:"grab",YU:"grabbing",J8:"move",nV:"move-n",oV:"move-ne",eV:"move-e",rV:"move-se",qV:"move-s",sV:"move-sw",tV:"move-w",pV:"move-nw",K8:"move-ew",M8:"move-ns",L8:"move-nesw",N8:"move-nwse",gV:"move-fast-n",hV:"move-fast-ne",fV:"move-fast-e",kV:"move-fast-se",jV:"move-fast-s",lV:"move-fast-sw",mV:"move-fast-w",iV:"move-fast-nw",Vd:"hand",rc:"default",ax:"inherit"}});
define("eG",["require","ji"],function(a){function b(){this.lg=[]}var c=a("ji");b.prototype.register=function(a){this.K9(a);this.lg.push(a);a.get("pressed")&&this.N2(a)};b.prototype.mC=function(a){this.Gga(a)};b.prototype.K9=function(a){a.bind(c.hg,this.f0,this,p)};b.prototype.Gga=function(a){a.unbind(c.hg,this.f0,this)};b.prototype.f0=function(a){this.N2(a.source)};b.prototype.N2=function(a){this.lg.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.mC(a);var f=this.Ze(b);
a.uK=f;f.register(a)};b.mC=function(a){a.uK&&(a.uK.mC(a),delete a.uK)};b.Ze=function(a){return this.g_[a]||(this.g_[a]=new b)};b.g_={};return b});define("cJ",[],function(){return{xc:"push",wh:"toggle"}});define("eV",[],function(){return{br:"visible",ZU:"hidden",$k:"scroll"}});define("er",[],function(){return{rc:n,q:"over",sa:"pressed",Sa:"pressedOver",C:"selected"}});define("dz",[],function(){return{Kc:"rollOver",ALWAYS:"always"}});
window.mqa=function(a,b,c){function d(a,e,f,c){var g,h,o,l=b.createElement("div"),d=b.body,k=d?d:b.createElement("body");if(parseInt(f,10))for(;f--;)o=b.createElement("div"),o.id=c?c[f]:"modernizr"+(f+1),l.appendChild(o);return g=['&#173;<style id="smodernizr">',a,"</style>"].join(""),l.id="modernizr",(d?l:k).innerHTML+=g,k.appendChild(l),d||(k.style.background="",j.appendChild(k)),h=e(l,a),d?l.parentNode.removeChild(l):k.parentNode.removeChild(k),!!h}function g(a,b){for(var e in a){var f=a[e];if(!~(""+
f).indexOf("-")&&m[f]!==c)return"pfx"==b?f:p}return y}function f(a,b,e){var f=a.charAt(0).toUpperCase()+a.slice(1),h=(a+" "+l.join(f+" ")+f).split(" ");if("string"===typeof b||"undefined"===typeof b)b=g(h,b);else{h=(a+" "+r.join(f+" ")+f).split(" ");a:{var a=h,o;for(o in a)if(f=b[a[o]],f!==c){b=e===y?a[o]:"function"===typeof f?f.bind(e||b):f;break a}b=y}}return b}var k={},j=b.documentElement,h=b.createElement("modernizr"),m=h.style,e=["","-webkit-","-moz-","-o-","-ms-"],l=["Webkit","Moz","O","ms"],
r=["webkit","moz","o","ms"],h={},o=[],s=o.slice,t,u={}.hasOwnProperty,v;"undefined"!==typeof u&&"undefined"!==typeof u.call?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&"undefined"===typeof a.constructor.prototype[b]};Function.prototype.bind||(Function.prototype.bind=function(a){function b(){if(this instanceof b){var c=D();c.prototype=e.prototype;var c=new c,g=e.apply(c,f.concat(s.call(arguments)));return Object(g)===g?g:c}return e.apply(a,f.concat(s.call(arguments)))}var e=
this;"function"!=typeof e&&i(new TypeError);var f=s.call(arguments,1);return b});h.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")};h.webgl=function(){return!!a.Jqa};h.touch=function(){var b;return"ontouchstart"in a?b=p:d(["@media (",e.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){b=9===a.offsetTop}),b};h.csstransforms3d=function(){var a=!!f("perspective");return a&&"webkitPerspective"in j.style&&d("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",
function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a};h.video=function(){var a=b.createElement("video"),e=y;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(f){}return e};h.audio=function(){var a=b.createElement("audio"),e=y;try{if(e=!!a.canPlayType)e=new Boolean(e),e.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,
""),e.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),e.msa=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.Jra=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(f){}return e};for(var x in h)v(h,x)&&(t=x.toLowerCase(),k[t]=h[x](),o.push((k[t]?"":"no-")+t));k.Nka=function(a,b){if("object"==typeof a)for(var e in a)v(a,e)&&k.Nka(e,a[e]);else a=a.toLowerCase(),k[a]===c&&(b="function"==typeof b?b():b,k[a]=b)};m.cssText="";return h=q,k.TA="2.6.1",k.Xqa=
e,k.Rqa=r,k.Qqa=l,k.dsa=function(a){return g([a])},k.csa=f,k.esa=d,k}(this,this.document);define("Modernizr",D());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
define("t",["require","modernizr.mod","hj","hL"],function(a){function b(){}var c=a("modernizr.mod"),d=a("hj"),g=a("hL");b.Ai=TDV.wa.OC;b.zU=TDV.wa.MJ;b.fK=TDV.wa.xV;b.Iqa=TDV.wa.QJ;b.H8=TDV.wa.NJ;b.iqa=TDV.wa.wV;b.uqa=TDV.wa.PJ;b.OJ=TDV.wa.OJ;b.Vw=TDV.wa.Vw;b.QI=TDV.wa.QI;b.OI=TDV.wa.OI;b.NI=TDV.wa.NI;b.RI=TDV.wa.RI;b.sh=TDV.wa.sh;b.rC=TDV.wa.rC;b.Tk=TDV.wa.Tk;b.xi=TDV.wa.xi;b.Dq=TDV.wa.Dq;b.Eq=TDV.wa.Eq;b.Qw=TDV.wa.Qw;b.qC=TDV.wa.qC;b.MI=TDV.wa.MI;b.Tw=TDV.wa.Tw;b.Gt=TDV.wa.Gt;b.Uw=TDV.wa.Uw;b.Rw=
TDV.wa.Rw;b.sC=TDV.wa.sC;b.Ft=TDV.wa.Ft;b.Sw=TDV.wa.Sw;b.Fq=TDV.wa.Fq;b.CU=TDV.wa.CU;b.tC=TDV.wa.tC;b.uC=TDV.wa.uC;b.SI=TDV.wa.SI;b.WI=TDV.wa.WI;b.Xw=TDV.wa.Xw;b.XI=TDV.wa.XI;b.YI=TDV.wa.YI;b.So=function(a){a="force_"+a;if(g.mh("debug")&&g.mh(a))return g.Yn(a)};b.bca=b.So("os");b.Ed=function(){return b.bca||TDV.wa.Ed};b.Xba=b.So("browser");b.browser=function(){return b.Xba||TDV.wa.browser};b.Yba=b.So("browser_type");b.Wv=function(){return b.Yba||TDV.wa.Wv};b.TY=b.So("browser_subtype");b.rd=function(){return b.TY?
b.TY:TDV.wa.rd};b.Zba=b.So("browser_version");b.c5=function(){return b.Zba||TDV.wa.c5};b.aca=b.So("device");b.at=function(){return b.aca||TDV.wa.at};b.Xa=function(){return TDV.wa.P6};b.Oba=function(){for(var a=navigator.userAgent.toLowerCase(),b=["SM-G960","SM-G965"],f=0;f<b.length;f++)if(0<=a.indexOf(b[f].toLowerCase()))return p;return y}();b.gca=function(){for(var a=navigator.userAgent.toLowerCase(),b="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<b.length;f++)if(0<=a.indexOf(b[f].toLowerCase()))return p;return y}();b.UY=b.So("gearvrcompatible");b.rB=function(){return b.UY!==n?"true"==b.UY:b.gca};b.iaa=b.browser()!=b.xi||0>navigator.userAgent.indexOf("; wv")?y:p;b.$ba=!!b.So("chromewebview");b.h5=function(){return b.$ba||b.iaa};b.mf=function(){return b.rd()==b.Gt||b.rd()==b.Uw||b.rd()==b.tC};b.E6=function(){return b.mf()&&b.rB()};b.Fz=n;b.Cna=function(){b.Fz===n&&(b.Fz=parseInt(g.Yn("sts")),isNaN(b.Fz)&&(b.Fz=b.mf()&&!b.Oba?512:b.Xa()&&
b.Ed()==b.Ai?512:b.Xa()?256:1024));return b.Fz};b.Jda=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||y;b.YH=function(){return b.Jda};b.PZ=function(){var a={a6:"unknown",Nra:1},b=document.createElement("canvas");if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var f=b.getExtension("WEBGL_debug_renderer_info");f&&(a.a6=b.getParameter(f.UNMASKED_RENDERER_WEBGL));
a.mna=b.getParameter(b.MAX_TEXTURE_SIZE)}return a}();b.vma=function(){return b.PZ};b.d$=function(){var a=b.PZ.a6.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.ara=function(){return b.d$};b.lea=b.at()==b.Xw?p:y;b.mq=function(){return b.lea};var f;b.browser()==b.Tk&&(f=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.$ga=f;b.Zna=function(){return b.$ga};b.rea=c.touch||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&
0<navigator.maxTouchPoints?p:y;b.sU=function(){return b.rea};b.Mi=c.touch?b.Ed()==b.fK?y:p:y;b.tU=function(){return b.Mi};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.Wv(),"browserSubtype: "+b.rd(),"device: "+b.at(),"isMobile: "+b.Xa(),"gearVRCompatibleDevice: "+b.rB(),"chromeWebView: "+b.h5(),"touchDevice"+b.sU(),"touchEnabled"+b.tU()].join(", ")};b.log=function(){d.log("browser: "+b.browser());d.log("browserType: "+b.Wv());d.log("browserSubtype: "+b.rd());d.log("device: "+
b.at());d.log("isMobile: "+b.Xa());d.log("gearVRCompatibleDevice: "+b.rB());d.log("chromeWebView: "+b.h5());d.log("touchDevice: "+b.sU());d.log("touchEnabled: "+b.tU())};return b});
define("hC",["require","t"],function(a){function b(){for(;m.length;)m.shift()();document.body.removeEventListener("click",b,p);document.body.removeEventListener("touchstart",g,p);document.body.removeEventListener("touchmove",d,p);document.body.removeEventListener("touchend",c,p);j=y}function c(){h&&b()}function d(){h=y}function g(){h=p;k.Ed()==k.Ai&&b()}function f(){document.body.addEventListener("click",b,p);document.body.addEventListener("touchstart",g,p);document.body.addEventListener("touchmove",
d,p);document.body.addEventListener("touchend",c,p)}var k=a("t"),j=y,h=y,m=[];return{GI:function(){b()},g8:function(a){m.push(a);j||(j=p,document.body?f():document.addEventListener("DOMContentLoaded",f))},$ra:function(a){a=m.indexOf(a);0<=a&&m.splice(a,1)}}});define("fc",[],function(){return{I8:7,pC:6,IC:5,Yk:4,NV:3,RJ:2,DV:1,jqa:0}});define("T",[],function(){return{HJ:"horizontal",bK:"vertical"}});
define("jw",[],function(){return{cW:"auto",bW:"auto",MV:"1",zV:"2",yV:"auto",pC:"2",FU:"3",EU:"auto",LV:"3",VV:"100",cW:"1",bW:"auto",MV:"1",zV:"2",yV:"auto",pC:"2",FU:"3",EU:"auto",LV:"5",VV:"100",bqa:"101",u8:999998,Hqa:999999,D8:1E6}});define("ek",[],function(){var a=1,b={};return{css:function(c,d){var g=c.__duqid;g===n&&(g=a.toString(),c.__duqid=g,a++);var g=b[g]||(b[g]={e:c,s:{}}),f;for(f in d)g.s[f]=d[f]},Ena:function(){for(var a in b){var d=b[a],g=d.e.style,d=d.s,f;for(f in d)g[f]=d[f]}b={}}}});
define("br",["require"],function(){return{Bma:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},X4:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},Cla:function(a,b,c){var d=document.createElement("canvas");d.width=b;d.height=c;c=d.getContext("2d");c.translate(b,0);c.scale(-1,1);c.drawImage(a,0,0);a.src=d.toDataURL()}}});
define("fw",["require","t","hL","hm"],function(a){function b(a,b,c,g,d){this.url=a;this.Re=b;this.time=c;this.wpa=g;this.Wka=d}var c=a("t");URL=a("hL");async=a("hm");b.prototype.loaded=function(){d.oQ(this.url);d.Ip(this)};b.prototype.cancel=function(){d.Ip(this)};var d={Hp:[],jl:[],nA:[],AR:q,z_:{},add:function(a,c,g,h){a=new b(a,c,(new Date).getTime(),g,h);this.Hp.push(a);this.J();return a},V7:function(a){this.nA.push(a);this.J()},U7:function(a){var b=this.nA,a=b.indexOf(a);0<=a&&b.splice(a,1);
this.J()}};if(c.rd()==c.Fq)d.xU=Q(p),d.oQ=D();else if(!URL.mh("debug")||!URL.Ul("disable-cache")){d.xU=function(a){return this.z_[a]||!!window.localStorage&&!!window.localStorage.getItem("tdvp_"+a)};var g=y;d.oQ=function(a){this.z_[a]=p;try{window.localStorage&&window.localStorage.setItem("tdvp_"+a,p)}catch(b){if(!g){g=p;try{window.localStorage&&localStorage.clear()}catch(c){}}}}}else d.xU=Q(y),d.oQ=D();d.J=function(){this.AR||(this.AR=async.RB(d.Rja))};d.Rja=function(){d.AR=q;for(var a=this.dha(),
b=0,c=this.jl.length;b<c;b++){var g=this.jl[b];0>a.indexOf(g)&&g.Wka()}var m=this.jl;this.jl=a;b=0;for(c=this.jl.length;b<c;b++)g=this.jl[b],0>m.indexOf(g)&&g.wpa()}.bind(d);d.tia=function(){this.Hp.sort(function(a,b){return a.Re-b.Re||b.time-a.time});this.nA.sort(function(a,b){return a-b})};d.dha=function(){this.tia();var a=[];if(this.Hp.length)for(var b=this.nA.length?this.nA[0]:this.Hp[0].Re,c=0;10>c&&c<this.Hp.length&&this.Hp[c].Re<=b;c++)a.push(this.Hp[c]);return a};d.Ip=function(a){var b=this.Hp,
a=b.indexOf(a);0<=a&&b.splice(a,1);this.J()};return d});
define("gL","require,hj,bL,dX,ji,fc,hL,br,fw".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("dX"),g=a("ji"),f=a("fc"),k=a("hL"),j=a("br"),h=a("fw"),a=b.extend(d,function(a){d.call(this);this.yn=a||f.I8;this.aa=this.S=this.gb=this.Eb=q;this.ip=y;this.mv=this.Pi=q;this.gG=0;this.HN=[];this.wE=this.wE.bind(this);this.xE=this.xE.bind(this)});a.prototype.load=function(a){this.cancel();this.Eb=a;this.gG=0;this.v2()};a.prototype.v2=function(){this.Pi=h.add(this.Eb,this.yn,this.Bia.bind(this),this.caa.bind(this))};
a.prototype.cancel=function(){if(this.Pi){this.Pi.cancel();this.Pi=q}this.QX()};a.prototype.Yma=function(){return!!this.gb&&!this.ip||this.mv};a.prototype.$n=O("ip");a.prototype.Dd=function(a){if(a){a=this.gb.cloneNode(p);this.HN.push(a);return a}return this.gb};a.prototype.Ic=O("S");a.prototype.ud=O("aa");a.prototype.Qe=O("Eb");a.prototype.Bia=function(){this.gb=this.Zaa(this.Eb)};a.prototype.caa=function(){this.Yma()&&this.QX()};a.prototype.QX=function(){if(this.gb){if(this.mv){clearTimeout(this.mv);
this.mv=q}for(this.ip=y;this.HN.length;)this.CY(this.HN.shift());this.CY(this.gb);this.gb=q}};a.prototype.O9=function(a){a.addEventListener("load",this.wE);a.addEventListener("error",this.xE)};a.prototype.k2=function(a){a.removeEventListener("load",this.wE);a.removeEventListener("error",this.xE)};a.prototype.wE=function(){this.Pi.loaded();this.Pi=q;this.k2(this.gb);this.ip=p;this.S=this.gb.width;this.aa=this.gb.height;j.Bma(this.Eb)&&j.Cla(this.gb,this.S,this.aa);this.trigger(new c(g.P))};a.prototype.xE=
function(){this.cancel();if(this.gG<l){this.gG++;this.mv=setTimeout(function(){this.mv=q;this.v2()}.bind(this),Math.pow(2,this.gG)*1E3)}else this.trigger(new c(g.md))};a.prototype.Zaa=function(a){var b;if(e.length>0)b=e.pop();else{b=document.createElement("img");if(k.D6(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.O9(b);b.src=a;return b};a.prototype.CY=function(a){this.k2(a);a.parentNode&&a.parentNode.removeChild(a);
a.src="";e.length>m&&e.push(a)};var m=100,e=[],l=5;a.nU=function(a){return h.xU(a)};return a});
define("ef","require,cK,jquery.mod,ji,fc,T,jw,ek,gL".split(","),function(a){function b(){this.Mj=this.Oj=this.Pj=this.Nj=this.Dm=this.Cm=this.Fm=this.Em=0;this.hD=this.jD=this.kD=this.iD="";this.Db=1;this.rf=n;this.zr=[];this.wL=[];this.tL=k.bK;this.xD=y;this.tE=n;this.Fe=q;this.pN=this.VR=0;this.Va=document.createElement("canvas");this.Va.setAttribute("tdvlayer","background");this.v=d(this.Va);h.css(this.Va,{position:"absolute",left:0,top:0,"z-index":j.pC,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.Hd=p}var c=a("cK"),d=a("jquery.mod"),g=a("ji"),f=a("fc"),k=a("T"),j=a("jw"),h=a("ek"),m=a("gL");b.prototype.setSize=function(a,b){if(this.VR!=a||this.pN!=b){this.VR=a||0;this.pN=b||0;this.Hd=p}};b.prototype.A7=function(a){if(this.ck!=a){this.ck=a;this.Hd=p}};b.prototype.lb=O("v");b.prototype.wB=O("Va");b.prototype.Aoa=function(a){if(this.tE!=a){if(this.Fe){this.Fe.unbind(g.P,this.$o,this);this.Fe.cancel();this.Fe=q}if(this.tE=a){this.Fe=
new m(f.NV);this.Fe.bind(g.P,this.$o,this);this.Fe.load(this.tE)}this.Hd=p}};b.prototype.PT=function(a){if(this.Em!=a){this.Em=a;this.Hd=p}};b.prototype.QT=function(a){if(this.Fm!=a){this.Fm=a;this.Hd=p}};b.prototype.KT=function(a){if(this.Cm!=a){this.Cm=a;this.Hd=p}};b.prototype.LT=function(a){if(this.Dm!=a){this.Dm=a;this.Hd=p}};b.prototype.NT=function(a){if(this.Nj!=a){this.Nj=a;this.Hd=p}};b.prototype.RT=function(a){if(this.Pj!=a){this.Pj=a;this.Hd=p}};b.prototype.OT=function(a){if(this.Oj!=a){this.Oj=
a;this.Hd=p}};b.prototype.MT=function(a){if(this.Mj!=a){this.Mj=a;this.Hd=p}};b.prototype.hoa=function(a){if(this.iD!=a){this.iD=a;this.Hd=p}};b.prototype.joa=function(a){if(this.kD!=a){this.kD=a;this.Hd=p}};b.prototype.ioa=function(a){if(this.jD!=a){this.jD=a;this.Hd=p}};b.prototype.goa=function(a){if(this.hD!=a){this.hD=a;this.Hd=p}};b.prototype.ti=function(a){if(this.Db!=a){this.Db=a;this.Hd=p}};b.prototype.mi=O("Db");b.prototype.Hw=function(a){if(!c.isEqual(this.rf,a)){this.rf=a;c(a).isArray()||
(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.t7(a)}};b.prototype.t7=function(a){if(!c.isEqual(this.zr,a)){this.zr=a;this.Hd=p}};b.prototype.moa=function(a){if(this.Pqa!=a){this.wL=a;this.Hd=p}};b.prototype.loa=function(a){if(this.tL!=a){this.tL=a;this.Hd=p}};b.prototype.$o=function(){this.Hd=p;this.ie()};b.prototype.ie=function(){if(this.Hd){this.J();this.Hd=y}};b.prototype.J=function(){var a=Math.max(0,this.VR-(this.Nj+this.Oj)),b=Math.max(0,this.pN-(this.Pj+this.Mj)),f=this.v.get(0);
f.width=a;f.height=b;var f=f.getContext("2d"),g=this.W$(),h=g.length>0,d=this.Fe&&this.Fe.$n(),j=this.Nj>0&&this.iD||this.Pj>0&&this.kD||this.Oj>0&&this.jD||this.Mj>0&&this.hD,j=h||d||j;if(h){var m;m=this.tL==k.HJ?f.createLinearGradient(0,0,a,0):f.createLinearGradient(0,0,0,b);c(g).forEach(function(a){m.addColorStop(a.ratio,a.color)});f.fillStyle=m;f.fillRect(0,0,a,b);this.xD=p}else if(this.xD){f.clearRect(0,0,a,b);this.xD=y}if(d){f.drawImage(this.Fe.Dd(),0,0,a,b);this.xD=p}this.Va.style.opacity=
this.Db;this.Va.style.filter="alpha(opacity="+Math.round(this.Db*100)+")";this.Va.style["-ms-filter"]="alpha(opacity="+Math.round(this.Db*100)+")";this.Va.style.borderTopLeftRadius=this.Em+"px";this.Va.style.borderTopRightRadius=this.Fm+"px";this.Va.style.borderBottomLeftRadius=this.Cm+"px";this.Va.style.borderBottomRightRadius=this.Dm+"px";this.Va.style.borderLeft=this.gE(this.Nj,this.iD);this.Va.style.borderTop=this.gE(this.Pj,this.kD);this.Va.style.borderRight=this.gE(this.Oj,this.jD);this.Va.style.borderBottom=
this.gE(this.Mj,this.hD);this.Va.style.width=a+"px";this.Va.style.height=b+"px";this.Va.style.cursor="inherit";this.Va.style.display=j?"block":"none";if(this.Va.clientWidth===0&&a!==0){this.Va.style.width=0;this.Va.style.width=a+"px"}};b.prototype.gE=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.W$=function(){var a=[];if(this.zr.length>0){for(var b=this.zr.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),f=this.V$(),f=[].concat([0],f,[1]),c=0;c<b.length;c++){var g=
f[c];g>=0&&a.push({color:b[c],ratio:g})}for(c=0;c<a.length-1;)a[c].ratio==a[c+1].ratio&&a[c].color==a[c+1].color?a.splice(c,1):c++;for(c=1;c<a.length-1;)a[c-1].ratio==a[c+1].ratio?a.splice(c,1):c++}return a};b.prototype.V$=function(){var a=this.zr.length,b;for(b=this.wL.length>0?c(this.wL).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:c(c.range(a)).map(function(b,f){return 1*f/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("co",["jquery.mod","jw","ek"],function(a,b,c){function d(){this.yF=this.AF=this.BF=this.zF=this.Mj=this.Oj=this.Pj=this.Nj=0;this.wz=this.ck=p;this.OR=this.BN=0;this.Y=p;this.Rz=document.createElement("div");this.Rz.setAttribute("tdvlayer","content");this.E2=a(this.Rz);c.css(this.Rz,{position:"absolute"});this.HD=document.createElement("div");this.jY=a(this.HD);c.css(this.HD,{position:"absolute"});this.E2.append(this.jY)}d.prototype.append=function(a){this.jY.append(a)};d.prototype.Z4=function(a){this.HD.appendChild(a)};
d.prototype.lb=O("E2");d.prototype.wB=O("Rz");d.prototype.yoa=function(a){this.BN!=a&&(this.BN=a,this.Y=p)};d.prototype.opa=function(a){this.OR!=a&&(this.OR=a,this.Y=p)};d.prototype.kw=function(){return this.zF+this.Nj};d.prototype.qw=function(){return this.BF+this.Pj};d.prototype.pw=function(){return this.AF+this.Oj};d.prototype.ew=function(){return this.yF+this.Mj};d.prototype.Lw=function(a){this.wz!=a&&(this.wz=a,this.Y=p)};d.prototype.Yoa=function(a){this.zF!=a&&(this.zF=a,this.Y=p)};d.prototype.$oa=
function(a){this.BF!=a&&(this.BF=a,this.Y=p)};d.prototype.Zoa=function(a){this.AF!=a&&(this.AF=a,this.Y=p)};d.prototype.Xoa=function(a){this.yF!=a&&(this.yF=a,this.Y=p)};d.prototype.NT=function(a){this.Nj!=a&&(this.Nj=a,this.Y=p)};d.prototype.RT=function(a){this.Pj!=a&&(this.Pj=a,this.Y=p)};d.prototype.OT=function(a){this.Oj!=a&&(this.Oj=a,this.Y=p)};d.prototype.MT=function(a){this.Mj!=a&&(this.Mj=a,this.Y=p)};d.prototype.A7=function(a){this.ck!=a&&(this.ck=a,this.Y=p)};d.prototype.ie=function(){this.Y&&
(this.J(),this.Y=y)};d.prototype.J=function(){c.css(this.Rz,{overflow:this.wz?"visible":"hidden","z-index":this.ck?b.FU:b.EU,left:this.kw()+"px",top:this.qw()+"px",right:this.pw()+"px",bottom:this.ew()+"px",cursor:"inherit"});c.css(this.HD,{left:-this.BN+"px",top:-this.OR+"px",right:this.wz?0:"initial",bottom:this.wz?0:"initial",cursor:"inherit"})};return d});
define("gs",["cK","jquery.mod","hj","jw","ek"],function(a,b,c,d,g){function f(){this.aa=this.S=this.$=this.Z=n;this.Dm=this.Cm=this.Fm=this.Em=0;this.Yc=y;this.AN=0;this.NR=4;this.$K=6;this.FQ=0;this.rf="#000000";this.Db=1;this.Va=document.createElement("div");this.Va.setAttribute("tdvlayer","shadow");this.v=b(this.Va);g.css(this.Va,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Y=y}f.prototype.lb=O("v");f.prototype.wB=O("Va");f.prototype.PT=function(a){this.Em!=a&&(this.Em=a,this.Y=
p)};f.prototype.QT=function(a){this.Fm!=a&&(this.Fm=a,this.Y=p)};f.prototype.KT=function(a){this.Cm!=a&&(this.Cm=a,this.Y=p)};f.prototype.LT=function(a){this.Dm!=a&&(this.Dm=a,this.Y=p)};f.prototype.ti=function(a){this.Db!=a&&(this.Db=a,this.Y=p)};f.prototype.mi=O("Db");f.prototype.Se=function(a){this.Yc!=a&&(this.Yc=a,this.Y=p)};f.prototype.xoa=function(a){this.AN!=a&&(this.AN=a,this.Y=p)};f.prototype.npa=function(a){this.NR!=a&&(this.NR=a,this.Y=p)};f.prototype.foa=function(a){this.$K!=a&&(this.$K=
a,this.Y=p)};f.prototype.hpa=function(a){this.FQ!=a&&(this.FQ=a,this.Y=p)};f.prototype.Hw=function(a){this.rf!=a&&(this.rf=a,this.Y=p)};f.prototype.ie=function(){this.Y&&(this.J(),this.Y=y)};f.prototype.J=function(){var a=this.AN+"px "+this.NR+"px "+this.$K+"px "+this.FQ+"px "+this.rf;this.Va.style.display=this.Yc?"block":"none";this.Va.style.boxShadow=a;this.Va.style["-webkit-box-shadow"]=a;this.Va.style["-moz-box-shadow"]=a;this.Va.style.borderTopLeftRadius=this.Em+"px";this.Va.style.borderTopRightRadius=
this.Fm+"px";this.Va.style.borderBottomLeftRadius=this.Cm+"px";this.Va.style.borderBottomRightRadius=this.Dm+"px";this.Va.style.filter="alpha(opacity="+Math.round(100*this.Db)+")";this.Va.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Db)+")";this.Va.style.opacity=this.Db;this.Va.style.zIndex=d.MV};return f});
define("il","require,jquery.mod,cK,hj,hA,N,ji,ef,co,gs,jw,bL,ek,t".split(","),function(a){var b=a("jquery.mod");a("cK");var c=a("hj"),d=a("hA"),g=a("N"),f=a("ji"),k=a("ef"),j=a("co"),h=a("gs"),m=a("jw"),e=a("bL"),l=a("ek");a("t");var r=c.extend(d,function(){d.call(this);this.Zo=r.Zo++;this.DL=this.Ac=this.XO=this.vz=this.yQ=this.v=this.Va=q;this.h4=this.l_=y;this.Q=this.va=q;this.aa=this.S=this.hs=this.gs=0;this.dp=this.Yc=y;this.b_=p;this.Sy=this.Ty=this.Ug=this.Vg=0;this.Db=1;this.Ce=g.rc;this.set("inView",
y);this.set("toolTip",n);this.Es(p);this.qQ(p)});r.prototype.Rc=N("bu");r.prototype.toString=function(){return"["+this.v.attr("tdvclass")+"::"+this.Zo+"]"};r.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.bb=O("va");r.prototype.Qp=function(a){(this.va=a)&&this.xy();this.Lv();this.trigger(f.k8)};r.prototype.lb=function(){this.v=b(this.Tm());this.lb=O("v");return this.v};r.prototype.Tm=function(){this.Va=document.createElement("div");this.Va.setAttribute("id",
this.Zo);this.bu&&this.Va.setAttribute("tdvclass",this.bu);l.css(this.Va,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Tm=O("Va");return this.Va};r.prototype.Mg=function(){this.yQ=new h;this.Mg=O("yQ");return this.yQ};r.prototype.mb=function(){this.Ac=new k;this.mb=O("Ac");return this.Ac};r.prototype.Au=function(){this.vz=document.createElement("div");this.vz.setAttribute("tdvlayer","overShadow");l.css(this.vz,{position:"absolute",left:0,top:0,cursor:"inherit"});
this.Au=O("vz");return this.vz};r.prototype.gN=function(){this.XO=b(this.Au());this.gN=O("XO");return this.XO};r.prototype.Ma=function(){this.DL=new j;this.Ma=O("DL");return this.DL};r.prototype.getParent=O("Q");r.prototype.za=O("S");r.prototype.ab=O("aa");r.prototype.zma=function(){return this.S!==n&&this.aa!==n};r.prototype.td=function(){return this.S-this.Ma().kw()-this.Ma().pw()};r.prototype.sd=function(){return this.aa-this.Ma().qw()-this.Ma().ew()};r.prototype.jh=function(){return this.Ma().kw()};
r.prototype.Xl=function(){return this.Ma().qw()};r.prototype.Wl=function(){return this.Ma().pw()};r.prototype.hw=function(){return this.Ma().ew()};r.prototype.Se=function(a){if(this.Yc!=a){this.Yc=a;this.Zb();if(this.Q){this.Q.Ia();this.Q.uc()}this.Lv()}};r.prototype.Lv=function(){var a=y;this.va&&this.Yc&&this.mi()>0&&(this==this.va?a=p:this.Q&&(a=this.Q.dp));this.dp!=a&&this.OK(a)};r.prototype.OK=function(a){this.dp=a;this.set("inView",a);this.dp?this.trigger(new e(f.qf)):this.trigger(new e(f.gg))};
r.prototype.Pha=function(a){if(this.b_!=a){this.b_=a;this.Q&&this.Q.uc()}};r.prototype.Mha=function(a){if(this.wu!=a){this.wu=a;this.Ia()}};r.prototype.Lha=function(a){if(this.vu!=a){this.vu=a;this.Ia()}};r.prototype.Kha=function(a){if(this.uu!=a){this.uu=a;this.Ia()}};r.prototype.Jha=function(a){if(this.tu!=a){this.tu=a;this.Ia()}};r.prototype.Nha=function(a){if(this.Eh!=a){this.Eh=a;if(this.Eh!=n)this.Vh=n;this.Ia()}};r.prototype.Iha=function(a){if(this.Nr!=a){this.Nr=a;if(this.Nr!=n)this.Uh=n;
this.Ia()}};r.prototype.Zha=function(a){if(this.Vh!=a){this.Vh=a;if(this.Vh!=n)this.Eh=n;this.Ia()}};r.prototype.Vha=function(a){if(this.Uh!=a){this.Uh=a;if(this.Uh!=n)this.Nr=n;this.Ia()}};r.prototype.Rha=function(a){if(this.dn!=a){if(a!=n)this.LF=n;this.dn=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.lia=function(a){if(this.Kn!=a){if(a!=n)this.NF=n;this.Kn=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.$ha=function(a){if(this.Mz!=a){if(a!=n)this.MF=n;this.Mz=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Cha=
function(a){if(this.Ex!=a){if(a!=n)this.KF=n;this.Ex=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Wha=function(a){if(this.LF!=a){if(a!=n)this.dn=n;this.LF=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Yha=function(a){if(this.NF!=a){if(a!=n)this.Kn=n;this.NF=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Xha=function(a){if(this.MF!=a){if(a!=n)this.Mz=n;this.MF=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Uha=function(a){if(this.KF!=a){if(a!=n)this.Ex=n;this.KF=a;this.Q&&this.Q.uc();this.Ia()}};r.prototype.Fha=
function(a){if(this.Go!=a){this.Go=a;this.Q&&this.Q.uc()}};r.prototype.Gha=function(a){if(this.Ho!=a){this.Ho=a;this.Q&&this.Q.uc()}};r.prototype.cm=function(){return isNaN(this.Eh)?this.Vg:this.Eh};r.prototype.bm=function(){return isNaN(this.Nr)?this.Ug:this.Nr};r.prototype.$ca=function(){return isNaN(this.Mba)?this.I_:this.Mba};r.prototype.$l=function(){return isNaN(this.wu)?this.Ty:this.wu};r.prototype.Vn=function(){return isNaN(this.vu)?this.Sy:this.vu};r.prototype.RH=function(){return isNaN(this.uu)?
1E4:this.uu};r.prototype.QH=function(){return isNaN(this.tu)?1E4:this.tu};r.prototype.Z2=function(a){if(this.jN()!=a){this.Ma().Yoa(a);this.Ia()}};r.prototype.jN=function(){return this.Ma().zF};r.prototype.b3=function(a){if(this.lN()!=a){this.Ma().$oa(a);this.Ia()}};r.prototype.lN=function(){return this.Ma().BF};r.prototype.a3=function(a){if(this.kN()!=a){this.Ma().Zoa(a);this.Ia()}};r.prototype.kN=function(){return this.Ma().AF};r.prototype.Y2=function(a){if(this.iN()!=a){this.Ma().Xoa(a);this.Ia()}};
r.prototype.iN=function(){return this.Ma().yF};r.prototype.cC=function(a){if(this.gs!=a){this.gs=a;this.zg()}};r.prototype.dC=function(a){if(this.hs!=a){this.hs=a;this.zg()}};r.prototype.ti=function(a){if(this.Db!=a){this.Db=a;l.css(this.Au(),{filter:"alpha(opacity="+Math.round(this.Db*100)+") ",opacity:this.Db});this.Lv();this.zg()}};r.prototype.mi=O("Db");r.prototype.zha=function(a){if(this.mb().Em!=a){this.Mg().PT(a);this.mb().PT(a)}};r.prototype.qca=function(){return this.mb().Em};r.prototype.Aha=
function(a){if(this.mb().Fm!=a){this.Mg().QT(a);this.mb().QT(a)}};r.prototype.rca=function(){return this.mb().Fm};r.prototype.rha=function(a){if(this.mb().Cm!=a){this.Mg().KT(a);this.mb().KT(a)}};r.prototype.oca=function(){return this.mb().Cm};r.prototype.sha=function(a){if(this.mb().Dm!=a){this.Mg().LT(a);this.mb().LT(a)}};r.prototype.pca=function(){return this.mb().Dm};r.prototype.vha=function(a){if(this.mb().Nj!=a){this.mb().NT(a);this.Ma().NT(a);this.Ia()}};r.prototype.gZ=function(){return this.mb().Nj};
r.prototype.Bha=function(a){if(this.mb().Pj!=a){this.mb().RT(a);this.Ma().RT(a);this.Ia()}};r.prototype.iZ=function(){return this.mb().Pj};r.prototype.xha=function(a){if(this.mb().Oj!=a){this.mb().OT(a);this.Ma().OT(a);this.Ia()}};r.prototype.hZ=function(){return this.mb().Oj};r.prototype.tha=function(a){if(this.mb().Mj!=a){this.mb().MT(a);this.Ma().MT(a);this.Ia()}};r.prototype.fZ=function(){return this.mb().Mj};r.prototype.uha=function(a){this.mb().hoa(a)};r.prototype.yha=function(a){this.mb().joa(a)};
r.prototype.wha=function(a){this.mb().ioa(a)};r.prototype.qha=function(a){this.mb().goa(a)};r.prototype.xG=function(a){this.Mg().Se(a)};r.prototype.fia=function(a){this.Mg().xoa(a)};r.prototype.iia=function(a){this.Mg().npa(a)};r.prototype.dia=function(a){this.Mg().foa(a)};r.prototype.hia=function(a){this.Mg().hpa(a)};r.prototype.gia=function(a){this.Mg().ti(a)};r.prototype.eia=function(a){this.Mg().Hw(a)};r.prototype.nha=function(a){this.mca()!=a&&this.mb().ti(a)};r.prototype.mca=function(){return this.mb().mi()};
r.prototype.jha=function(a){this.lca()!=a&&this.mb().Hw(a)};r.prototype.lca=function(){return this.mb().rf};r.prototype.lha=function(a){this.mb().moa(a)};r.prototype.kha=function(a){this.mb().loa(a)};r.prototype.mha=function(a){this.mb().Aoa(a)};r.prototype.Rp=function(a){if(this.Ce!=a){this.Ce=a;this.zg()}};r.prototype.Es=function(a){if(this.ck!=a){this.ck=a;l.css(this.Au(),{"z-index":this.ck?m.zV:m.yV});this.Ma().A7(this.ck);this.zg()}};r.prototype.qQ=function(a){if(this.C1!=a){this.C1=a;l.css(this.Tm(),
{"z-index":this.C1?m.cW:m.bW});this.zg()}};r.prototype.Kj=function(){this.Lv();this.DB()};r.prototype.Yh=function(){this.Lv()};r.prototype.TP=D();r.prototype.xy=function(){this.DB();this.Zb();this.Ia();this.uc();this.zg()};r.prototype.ln=function(){this.Sy=this.Ty=this.Ug=this.Vg=0;this.I_=n};r.prototype.DB=function(){var a=this.bb();a&&a.Tt.DB(this)};r.prototype.Zb=function(){var a=this.bb();a&&a.Tt.Zb(this)};r.prototype.Ia=function(){var a=this.bb();a&&a.Tt.Ia(this)};r.prototype.uc=function(){var a=
this.bb();a&&a.Tt.uc(this)};r.prototype.zg=function(){var a=this.bb();a&&a.Tt.zg(this)};r.prototype.sN=function(){var a=isNaN(this.LF)&&isNaN(this.dn),b=isNaN(this.MF)&&isNaN(this.Mz);return isNaN(this.Eh)&&isNaN(this.Vh)&&(a||b)?p:y};r.prototype.QZ=function(){var a=isNaN(this.NF)&&isNaN(this.Kn),b=isNaN(this.KF)&&isNaN(this.Ex);return isNaN(this.Nr)&&isNaN(this.Uh)&&(a||b)?p:y};r.prototype.fka=function(){this.ln();var a=this.$ca();if(a){var b=this.sN(),e=this.QZ();if(b&&!e){b=this.sd();if(b!=0){this.Vg=
b*a+this.jh()+this.Wl();this.Ug=b+this.Xl()+this.hw()}}else if(!b&&e){b=this.td();if(b!=0){this.Ug=b/a+this.jh()+this.Wl();this.Vg=b+this.jh()+this.Wl()}}}if(!isNaN(this.wu)&&this.Vg<this.wu)this.Vg=this.wu;if(!isNaN(this.uu)&&this.Vg>this.uu)this.Vg=this.uu;if(!isNaN(this.vu)&&this.Ug<this.vu)this.Ug=this.vu;if(!isNaN(this.tu)&&this.Ug>this.tu)this.Ug=this.tu};r.prototype.Ja=function(){if(!this.h4){this.h4=p;var a=this.Tm(),b=this.Au();a.appendChild(this.Mg().wB());a.appendChild(b);b.appendChild(this.mb().wB());
b.appendChild(this.Ma().wB())}};r.prototype.Mpa=function(){this.fka();var a=this.cm(),b=this.bm(),e=this.$l(),f=this.Vn();if(a!=this.Qea||b!=this.Pea||e!=this.Mea||f!=this.Lea||this.Vh!=this.Oea||this.Uh!=this.Nea){this.Qea=a;this.Pea=b;this.Mea=e;this.Lea=f;this.Oea=this.Vh;this.Nea=this.Uh;return p}return y};r.prototype.ba=function(){this.zg()};r.prototype.rh=D();r.prototype.s7=function(a,b,c,h){if(this.Z!=a||this.$!=b||this.S!=c||this.aa!=h){this.Z=a;this.$=b;this.S=c;this.aa=h;this.mb().setSize(this.S,
this.aa);this.uc();this.zg();this.trigger(new e(f.sb))}};r.prototype.ie=function(){var a=this.Tm(),b=this.Au();if(this.Yc){b.style.width=this.S+"px";b.style.height=this.aa+"px";a.style.left=this.Z+this.gs+"px";a.style.top=this.$+this.hs+"px";a.style.width=this.S+"px";a.style.height=this.aa+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.va&&this.va.eM.w5(this.Ce);if(b.clientWidth===0&&this.S!==0){a.style.width=0;a.style.width=this.S+"px"}}else{a.style.visibility="hidden";
a.style.width=0;a.style.height=0;a.style.overflow="hidden";b.style.width=0;b.style.height=0}this.Mg().ie();this.mb().ie();this.Ma().ie();if(!this.l_){this.l_=p;this.d_()}};r.prototype.d_=function(){this.trigger(f.INIT)};r.prototype.nma=function(a){var a=a.lb().offset(),b=this.lb().offset(),e={};e.left=b.left-a.left;e.top=b.top-a.top;if(this.va){e.left=e.left/this.va.Zu;e.top=e.top/this.va.Zu}return e};r.Zo=0;return r});
define("F","require,cK,hj,ji,bL,er,il".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("er"),k=a("il"),j=c.extend(k,function(){this.Uf={};this.An=this.VY=n;this.Gp={};this.SY=p;this.u3={};k.call(this);this.oba();this.oa();this.Rc("UICustomizable");this.Zb()});j.Ya={visible:p,includeInLayout:p,state:n,left:n,right:n,top:n,bottom:n,centerX:n,centerY:n,width:n,height:n,minWidth:n,minHeight:n,maxWidth:n,maxHeight:n,actualWidth:n,actualHeight:n,paddingLeft:0,paddingTop:0,paddingRight:0,
paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:n,borderBottomRadius:n,borderLeftRadius:n,borderRightRadius:n,borderTopLeftRadius:n,borderTopRightRadius:n,borderBottomLeftRadius:n,borderBottomRightRadius:n,borderSize:0,borderLeftSize:n,borderTopSize:n,borderRightSize:n,borderBottomSize:n,borderColor:n,borderLeftColor:n,borderTopColor:n,borderRightColor:n,borderBottomColor:n,shadow:y,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:n,
backgroundOpacity:1,backgroundColor:n,backgroundColorRatios:n,backgroundColorDirection:n,backgroundImageUrl:n,hideEffect:n,showEffect:n};j.prototype.oba=function(){this.u3[f.Sa]=f.sa};j.prototype.oa=function(){this.Ji(j.Ya)};j.prototype.Ji=function(a){for(var b in a){var e=a[b],f=e&&e.length;!f||typeof e=="string"?this.f(b,e):f==1?this.f(b,e[0]):f==2?this.h(b,e[0],e[1]):f==3&&this.h(b,e[0],e[1],e[2])}};j.prototype.f=function(a,b){this.Uf[a]={i:p,d:b}};j.prototype.dda=function(){var a=[],b;for(b in this.Uf)a.push(b);
return a};j.prototype.h=function(a,b,e,f){this.Gp[b]||(this.Gp[b]={});this.f(a,f);this.Gp[b][e]=a};j.prototype.xv=function(a,b){if(b)this.VY=a;else if(this.VY!=n)return;if(this.An!=a){var e=this.Gp[this.An];if(e)for(var f in e)(this.Uf[f]||(this.Uf[f]={})).i=p;this.An=a;if(e=this.Gp[this.An])for(f in e)(this.Uf[f]||(this.Uf[f]={})).i=p;this.Zb()}};j.prototype.R=function(a){if(b(a).isString())this.set(a,n);else{var f=a;for(a in f)this.set(a,f[a])}};j.prototype.set=function(a,f){var e=this.Uf[a];if(e){f==
n&&(f=e.d);if(!b.isEqual(this.get(a),f)){a=="state"&&this.xv(f,p);k.prototype.set.call(this,a,f);e.i=p;this.Zb()}}else k.prototype.set.call(this,a,f)};j.prototype.get=function(a,b){switch(a){case "actualWidth":return this.za();case "actualHeight":return this.ab();default:var e=k.prototype.get.call(this,a);if(e===n){var f=this.Uf[a];f&&(e=f.d);e===n&&(e=b)}return e}};j.prototype.ZW=function(){for(var a=["paddingLeft","paddingTop","paddingRight","paddingBottom","borderRadius","borderTopRadius","borderBottomRadius",
"borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderSize","borderLeftSize","borderTopSize","borderRightSize","borderBottomSize"],b=0;b<a.length;b++)if(this.m(a[b]))return p;return y};j.prototype.m=function(a){if((this.Uf[a]||{}).i)return p;if(this.An!==n){a=this.Gp[this.An][a];return!!(this.Uf[a]||{}).i}};j.prototype.Fs=function(a){(this.Uf[a]||(this.Uf[a]={})).i=p;this.Zb()};j.prototype.o=function(a){(this.Uf[a]||
(this.Uf[a]={})).i=y;if(this.An!=n)(a=this.Gp[this.An][a])&&((this.Uf[a]||(this.Uf[a]={})).i=y)};j.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var e=arguments[b],f=this.An;f;){if(a=this.Gp[f][e]){a=this.get(a);if(a!=n&&a!=q)return a}f=this.u3[f]}a=this.get(e);if(a!=n&&a!=q)return a}};j.prototype.zQ=function(a){a.source.unbind(d.ua,this.zQ,this);this.trigger(new g(d.Jt))};j.prototype.yN=function(a){a.source.unbind(d.ua,this.yN,this);this.trigger(new g(d.Xq))};j.prototype.ba=function(){if(this.SY)this.SY=
y;else if(this.m("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.mt(this)){b.unbind(d.ua,a?this.yN:this.zQ,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.mt(this)){this.o("visible");b.bind(d.ua,a?this.zQ:this.yN,this);b.play(this)}}else this.trigger(new g(a?d.Jt:d.Xq))}if(this.m("visible")){this.Se(this.j("visible"));this.o("visible")}if(this.m("includeInLayout")){this.Pha(this.j("includeInLayout"));this.o("includeInLayout")}if(this.m("left")){b=
this.j("left");a=j.qj(b);b=a===n?b:n;this.Wha(a);this.Rha(b);this.o("left")}if(this.m("top")){b=this.j("top");a=j.qj(b);b=a===n?b:n;this.Yha(a);this.lia(b);this.o("top")}if(this.m("right")){b=this.j("right");a=j.qj(b);b=a===n?b:n;this.Xha(a);this.$ha(b);this.o("right")}if(this.m("bottom")){b=this.j("bottom");a=j.qj(b);b=a===n?b:n;this.Uha(a);this.Cha(b);this.o("bottom")}if(this.m("centerX")){this.Fha(this.j("centerX"));this.o("centerX")}if(this.m("centerY")){this.Gha(this.j("centerY"));this.o("centerY")}if(this.m("width")){b=
this.j("width");a=j.qj(b);b=a===n?b:n;this.Zha(a);this.Nha(b);this.o("width")}if(this.m("height")){b=this.j("height");a=j.qj(b);b=a===n?b:n;this.Vha(a);this.Iha(b);this.o("height")}if(this.m("minWidth")){b=this.j("minWidth");this.Mha(b);this.o("minWidth")}if(this.m("minHeight")){b=this.j("minHeight");this.Lha(b);this.o("minHeight")}if(this.m("maxWidth")){b=this.j("maxWidth");this.Kha(b);this.o("maxWidth")}if(this.m("maxHeight")){b=this.j("maxHeight");this.Jha(b);this.o("maxHeight")}if(this.m("paddingLeft")){this.Z2(this.j("paddingLeft"));
this.o("paddingLeft")}if(this.m("paddingTop")){this.b3(this.j("paddingTop"));this.o("paddingTop")}if(this.m("paddingRight")){this.a3(this.j("paddingRight"));this.o("paddingRight")}if(this.m("paddingBottom")){this.Y2(this.j("paddingBottom"));this.o("paddingBottom")}a=y;if(this.m("borderRadius")){this.o("borderRadius");a=p}b=y;if(this.m("borderLeftRadius")){this.o("borderLeftRadius");b=p}var e=y;if(this.m("borderTopRadius")){this.o("borderTopRadius");e=p}var f=y;if(this.m("borderRightRadius")){this.o("borderRightRadius");
f=p}var c=y;if(this.m("borderBottomRadius")){this.o("borderBottomRadius");c=p}if(this.m("borderTopLeftRadius")||e||b||a){this.zha(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.o("borderTopLeftRadius")}if(this.m("borderTopRightRadius")||e||f||a){this.Aha(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.o("borderTopRightRadius")}if(this.m("borderBottomLeftRadius")||c||b||a){this.rha(this.j("borderBottomLeftRadius","borderLeftRadius",
"borderBottomRadius","borderRadius"));this.o("borderBottomLeftRadius")}if(this.m("borderBottomRightRadius")||c||f||a){this.sha(this.j("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.o("borderBottomRightRadius")}a=y;if(this.m("borderSize")){this.o("borderSize");a=p}if(this.m("borderLeftSize")||a){this.vha(this.j("borderLeftSize","borderSize"));this.o("borderLeftSize")}if(this.m("borderTopSize")||a){this.Bha(this.j("borderTopSize","borderSize"));this.o("borderTopSize")}if(this.m("borderRightSize")||
a){this.xha(this.j("borderRightSize","borderSize"));this.o("borderRightSize")}if(this.m("borderBottomSize")||a){this.tha(this.j("borderBottomSize","borderSize"));this.o("borderBottomSize")}a=y;if(this.m("borderColor")){this.o("borderColor");a=p}if(this.m("borderLeftColor")||a){this.uha(this.j("borderLeftColor","borderColor"));this.o("borderLeftColor")}if(this.m("borderTopColor")||a){this.yha(this.j("borderTopColor","borderColor"));this.o("borderTopColor")}if(this.m("borderRightColor")||a){this.wha(this.j("borderRightColor",
"borderColor"));this.o("borderRightColor")}if(this.m("borderBottomColor")||a){this.qha(this.j("borderBottomColor","borderColor"));this.o("borderBottomColor")}if(this.m("shadow")){this.xG(this.j("shadow"));this.o("shadow")}if(this.m("shadowHorizontalLength")){this.fia(this.j("shadowHorizontalLength"));this.o("shadowHorizontalLength")}if(this.m("shadowVerticalLength")){this.iia(this.j("shadowVerticalLength"));this.o("shadowVerticalLength")}if(this.m("shadowBlurRadius")){this.dia(this.j("shadowBlurRadius"));
this.o("shadowBlurRadius")}if(this.m("shadowSpread")){this.hia(this.j("shadowSpread"));this.o("shadowSpread")}if(this.m("shadowColor")){this.eia(this.j("shadowColor"));this.o("shadowColor")}a=y;if(this.m("opacity")){this.ti(this.j("opacity"));this.o("opacity");a=p}if(this.m("shadowOpacity")||a){this.gia(this.j("shadowOpacity","opacity"));this.o("shadowOpacity")}if(this.m("backgroundOpacity")){this.nha(this.j("backgroundOpacity"));this.o("backgroundOpacity")}if(this.m("backgroundColor")){this.jha(this.j("backgroundColor"));
this.o("backgroundColor")}if(this.m("backgroundColorRatios")){this.lha(this.j("backgroundColorRatios"));this.o("backgroundColorRatios")}if(this.m("backgroundColorDirection")){this.kha(this.j("backgroundColorDirection"));this.o("backgroundColorDirection")}if(this.m("backgroundImageUrl")){this.mha(this.j("backgroundImageUrl"));this.o("backgroundImageUrl")}k.prototype.ba.call(this)};j.qj=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
return j});define("gg",["cK","hj","bL"],function(a,b,c){return b.extend(c,function(b,g,f){a.isNumber(g)||(g=1);a.isNumber(f)||(f=0);c.call(this,b);this.scale=g;this.rotation=f})});define("jl",["cK","hj","bL"],function(a,b,c){return b.extend(c,function(a,b,f,k,j,h,m){c.call(this,a);this.x=b;this.y=f;this.pageX=k;this.pageY=j;this.Qn=h;this.rS=m})});
define("d","require,jquery.mod,cK,hj,ji,er,hC,F,gg,jl,ek,t,hL".split(","),function(a){var b=a("jquery.mod"),c=a("cK"),d=a("hj"),g=a("ji"),f=a("er"),k=a("hC"),j=a("F"),h=a("gg"),m=a("jl");a("ek");var e=a("t"),a=a("hL"),l=d.extend(j,function(){j.call(this);this.Rc("UIComponent");this.WD=[];this.Xy=[];this.xba=500;this.Ob=1;this.Mi=e.tU();this.Ay=this.Zm=this.DE=y;this.set("propagateClick",p)});l.Ya={autoRolledOver:y,autoPressed:y,contentOpaque:p,cursor:n,inheritedCursor:n,inheritedInteractionEnabled:p,
rollOverOpacity:[f.q,"opacity"],rollOverShadow:[f.q,"shadow"]};c.defaults(l.Ya,j.Ya);l.prototype.oa=function(){this.Ji(l.Ya)};l.prototype.lX=function(){this.d3(p)};l.prototype.kX=function(){this.d3(y)};l.prototype.iX=function(){this.wv(p)};l.prototype.jX=function(){this.wv(y)};l.prototype.Xz=function(a){if(this.Zm!=a){this.Zm=a;this.Od()}};l.prototype.wv=function(a){if(this.Ay!=a){this.Ay=a;this.Od()}};l.prototype.d3=function(a){if(this.DE!=a){this.DE=a;this.Od()}};l.prototype.Od=function(){this.Zm?
this.xv(f.C):this.Ay&&this.DE?this.xv(f.Sa):this.Ay?this.xv(f.sa):this.DE?this.xv(f.q):this.xv(f.rc)};l.prototype.trigger=function(){j.prototype.trigger.apply(this,arguments)};l.prototype.Z3=function(a){this.trigger(new m(g.pb,a.x,a.y,a.pageX,a.pageY))};l.prototype.a4=function(a){this.trigger(new m(g.wc,a.x,a.y,a.pageX,a.pageY))};l.prototype.b4=function(a){this.trigger(new m(g.Gb,a.x,a.y,a.pageX,a.pageY))};l.prototype.tja=function(a,b){this.trigger(new m(g.so,a.x,a.y,a.pageX,a.pageY,b.Qn,b.rS))};
l.prototype.V3=function(a){this.trigger(new m(g.V,a.x,a.y,a.pageX,a.pageY))};l.prototype.W3=function(a){this.trigger(new m(g.KC,a.x,a.y,a.pageX,a.pageY))};l.prototype.vja=function(){this.trigger(new m(g.Kc))};l.prototype.uja=function(){this.trigger(new m(g.hc))};l.prototype.rja=function(){this.trigger(new m(g.Ij))};l.prototype.sja=function(){this.trigger(new m(g.pf))};l.prototype.qja=function(a,b){this.trigger(new h(g.FC,a,b))};l.prototype.oja=function(a,b){this.trigger(new h(g.y8,a,b))};l.prototype.pja=
function(a,b){this.trigger(new h(g.EC,a,b))};l.prototype.X3=function(a){this.trigger(new h(g.z8,n,a))};l.prototype.Y3=function(a){this.trigger(new h(g.Ht,a))};l.prototype.ZQ=function(a){a.stopImmediatePropagation();this.qu(["touchend"]);if(this.TN(a))this.IP(a);else{this.e_();this.d2(a,p)}};l.prototype.d2=function(a,b){var e=this.my(a);b&&this.ija(e);this.Z3(e);this.Q&&this.Q.d2(a,b&&this.get("propagateClick"))};l.prototype.YQ=function(a){a.preventDefault();a.stopImmediatePropagation();this.TN(a)?
this.GP(a):this.c2(a)};l.prototype.c2=function(a){var b=this.my(a);this.hja(b);this.a4(b);this.Q&&this.Q.c2(a)};l.prototype.mZ=function(a,b){var e=a.pageX-b.pageX,f=a.pageY-b.pageY;return Math.sqrt(e*e+f*f)};l.prototype.Zp=function(a,b){this.Yx(["touchend"]);b!==y&&a.preventDefault();a.stopImmediatePropagation();this.TN(a)?this.HP(a):this.b2(a,this.o_());this.yx()};l.prototype.b2=function(a,b){this.b4(this.my(a));this.gja(b);this.Q&&this.Q.b2(a)};l.prototype.ija=function(a){this.bind(g.hc,this.Q3,
this,p);this.Ls=a};l.prototype.hja=function(a){if(this.Ls){var a=this.mZ(this.Ls,a),b;if(e.Xa()){b=this.bb();b=Math.min(b.za(),b.ab())*0.01;b=l.z9*b}else b=l.F9;a>b&&this.XQ()}};l.prototype.gja=function(a){if(this.Ls){this.V3(this.Ls);a&&this.W3(this.Ls);this.XQ()}};l.prototype.XQ=function(){if(this.Ls){this.unbind(g.hc,this.Q3,this);this.Ls=n}};l.prototype.Q3=function(){this.XQ()};l.prototype.SM=function(a){this.qu(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.IP(a)};
l.prototype.IP=function(a){var b=this.bN(a);this.ev=b;this.qja(b.scale,b.rotation);this.Q&&this.Q.IP(a)};l.prototype.YY=function(a){a.preventDefault();a.stopImmediatePropagation();this.GP(a)};l.prototype.GP=function(a){var b=this.bN(a,this.ev),e=b.rotation-this.ev.rotation,f=b.scale/this.ev.scale;this.ev=b;this.Ob=this.Ob*f;for(this.Cd=this.Cd+e;this.Cd>180;)this.Cd=this.Cd-360;for(;this.Cd<-180;)this.Cd=this.Cd+360;this.oja(this.Ob,this.Cd);e!=0&&this.X3(this.Cd);f!=1&&this.Y3(this.Ob);this.Q&&this.Q.GP(a)};
l.prototype.$Y=function(a){this.Yx(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.HP(a)};l.prototype.HP=function(a){var b=this.bN(a),e=b.rotation-this.ev.rotation,b=b.scale/this.ev.scale;this.Ob=this.Ob*b;for(this.Cd=this.Cd+e;this.Cd>180;)this.Cd=this.Cd-360;for(;this.Cd<-180;)this.Cd=this.Cd+360;this.pja(this.Ob,this.Cd);e!=0&&this.X3(this.Cd);b!=1&&this.Y3(this.Ob);this.Q&&this.Q.HP(a)};l.prototype.xO=function(a){this.qu(["mouseup"]);a.stopImmediatePropagation();
this.e_();this.X1(a,p);r&&this.Aea(a.ctrlKey)};l.prototype.X1=function(a,b){var e=this.Sr(a);b&&this.Aaa(e);this.Z3(e);this.Q&&this.Q.X1(a,b&&this.get("propagateClick"))};l.prototype.yO=function(a){a.preventDefault();a.stopImmediatePropagation();this.bb().Iw(this);this.Y1(a)};l.prototype.Y1=function(a){var b=this.Sr(a);this.zaa(b);this.a4(b);this.Q&&this.Q.Y1(a)};l.prototype.dF=function(a){this.Yx(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.Z1(a,this.o_())};l.prototype.Z1=function(a,
b){this.b4(this.Sr(a));this.yaa(b);this.Q&&this.Q.Z1(a,b)};l.prototype.Aaa=function(a){this.bind(g.hc,this.XX,this,p);this.yr=a};l.prototype.zaa=function(a){this.yr&&this.mZ(this.yr,a)>l.u9&&this.rL()};l.prototype.yaa=function(a){if(this.yr){this.V3(this.yr);a&&this.W3(this.yr);this.rL()}};l.prototype.rL=function(){if(this.yr){this.unbind(g.hc,this.XX,this);this.yr=n}};l.prototype.XX=function(){this.rL()};l.prototype.M_=function(a){if(this.va.L_){a.preventDefault();a.stopImmediatePropagation();this.a2(a)}};
l.prototype.GX=Q(y);l.prototype.a2=function(a){var b=this.Sr(a),e=this.Tca(a);this.Q&&!this.GX(e.Qn)&&this.Q.a2(a);this.tja(b,e)};l.prototype.Sr=function(a){return this.UM(a.pageX,a.pageY)};l.prototype.Tca=function(a){var a=window.event||a.originalEvent||a,b={};b.Qn=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.rS=a.wheelDelta?a.wheelDelta*0.01:b.Qn;return b};l.prototype.my=function(a){var b=this.ZM(a);return this.sga=a=b===n?this.UM(a.pageX,a.pageY):b.length==0?this.sga:this.UM(b[0].pageX,b[0].pageY)};
l.prototype.TN=function(a){a=this.ZM(a);return!!(a&&a.length>1)};l.prototype.ZM=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.UM=function(a,b){var e=this.lb().offset(),f=this.va.Zu,c={};c.x=(a-e.left)/f;c.y=(b-e.top)/f;c.pageX=a/f;c.pageY=b/f;c.Z6=a;c.a7=b;return c};l.prototype.bN=function(a,b){if(a.originalEvent.scale!==n||a.originalEvent.rotation!==n)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var e=
this.tZ(a);return{scale:b.scale*e/b.touchesDistance,rotation:0,touchesDistance:e}}return{scale:1,rotation:0,touchesDistance:this.tZ(a)}};l.prototype.tZ=function(a){var b=this.ZM(a);if(b&&b.length>1){a=Math.abs(b[0].pageX-b[1].pageX);b=Math.abs(b[0].pageY-b[1].pageY);return Math.sqrt(a*a+b*b)}return 0};l.prototype.qu=function(a){this.WD=c(this.WD).union(a);for(var a=this.sZ(a),b=0;b<a.length;b++){var e=a[b];e.target.bind(e.name,e.handler)}};l.prototype.e_=function(){this.Xy.push((new Date).getTime());
this.Xy=this.Xy.slice(-2)};l.prototype.o_=function(){var a=(new Date).getTime();if(this.Xy.length>1){var b=this.Xy.slice(-2)[0];if(a-b<=this.xba)return p}return y};l.prototype.Yx=function(a){this.WD=c(this.WD).difference(a);for(var a=this.sZ(a),b=0;b<a.length;b++){var e=a[b];e.target.unbind(e.name,e.handler)}};l.prototype.sZ=function(a){this.PY||(this.PY=this.YM());for(var b=[],e=0;e<a.length;e++)b=b.concat(this.PY[a[e]]);return b};l.prototype.YM=function(){var a=this.lb(),e=b(document),f=b(window);
return{touchstart:[{target:a,name:"touchstart",handler:this.te(this.ZQ)}],touchmove:[{target:a,name:"touchmove",handler:this.te(this.YQ)}],touchend:[{target:a,name:"touchend",handler:this.te(this.Zp,p)},{target:e,name:"touchend",handler:this.te(this.Zp,p)},{target:a,name:"touchcancel",handler:this.te(this.Zp,p)},{target:e,name:"touchcancel",handler:this.te(this.Zp,p)}],gesturestart:[{target:a,name:"gesturestart",handler:this.te(this.SM)}],gesturechange:[{target:a,name:"gesturechange",handler:this.te(this.YY)}],
gestureend:[{target:a,name:"gestureend",handler:this.te(this.$Y)}],mousedown:[{target:a,name:"mousedown",handler:this.te(this.xO)}],mousemove:[{target:a,name:"mousemove",handler:this.te(this.yO)}],mouseup:[{target:a,name:"mouseup",handler:this.te(this.dF,p)},{target:f,name:"mouseup",handler:this.te(this.dF,p)}],mousewheel:[{target:a,name:"mousewheel",handler:this.te(this.M_)},{target:a,name:"DOMMouseScroll",handler:this.te(this.M_)}]}};l.prototype.te=function(a,b){var e=this;return function(){b&&
k.GI();l.QA=l.QA+1;var f=a.apply(e,arguments);l.QA=l.QA-1;return f}};l.prototype.ba=function(){if(this.m("autoRolledOver")){this.unbind(g.Kc,this.lX,this);this.unbind(g.hc,this.kX,this);if(this.j("autoRolledOver")){this.bind(g.Kc,this.lX,this);this.bind(g.hc,this.kX,this)}this.o("autoRolledOver")}if(this.m("autoPressed")){this.unbind(g.pb,this.iX);this.unbind(g.Gb,this.jX);if(this.j("autoPressed")){this.bind(g.pb,this.iX);this.bind(g.Gb,this.jX)}this.o("autoPressed")}var a=y;if(this.m("contentOpaque")){a=
p;this.o("contentOpaque")}if(this.m("inheritedInteractionEnabled")){a=p;this.o("inheritedInteractionEnabled")}if(this.m("backgroundOpacity")||this.m("backgroundColor"))a=p;j.prototype.ba.call(this);if(a){var b=this.mb(),b=b.mi()>0&&b.zr.length>0,e=this.j("contentOpaque");this.Ds(this.j("inheritedInteractionEnabled")&&(e||b))}if(a||this.m("cursor")||this.m("inheritedCursor")){this.o("cursor");this.o("inheritedCursor");this.fD?this.Rp(this.j("cursor")):this.Rp(this.j("inheritedCursor"))}};l.prototype.Ds=
function(a){if(this.fD!=a){(this.fD=a)?this.qu(l.OW):this.Yx(l.OW);this.yx()}};l.prototype.yx=function(){this.Tm().style["pointer-events"]=this.fD?"all":"none"};l.prototype.Aea=function(a){if(a){for(var a=[],b=this;b;){a.push(b);b=b.getParent()}console.log(a.map(function(a){return a.Cx}))}else console.log(this.Cx)};l.xw=function(){return l.QA>0};l.OW=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);e.Ed()!=e.Ai&&(a=a.concat(["mousedown","mousemove","mousewheel"]));return a}();
l.QA=0;l.Mqa=1E3;l.F9=10;l.z9=5;l.u9=10;var r=a.Ul("debug");return l});define("X",[],function(){return{ma:"left",Fa:"right",vc:"center",fb:"top",eb:"bottom",fc:"middle"}});define("c",[],function(){return{yU:"absolute",ze:"horizontal",qo:"grid",Ve:"vertical"}});define("bM",[],function(){return function(a){this.Df=a;this.height=this.width=this.y=this.x=0}});define("cx",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("bz",["X","bM","cx"],function(a,b,c){function d(){this.ub=q;this.eh=a.fb;this.Pg=a.ma;this.Ts=this.Vm=0}d.prototype.y7=function(a){this.Vm!=a&&(this.Vm=a,this.Ec())};d.prototype.zI=function(a){this.Ts!=a&&(this.Ts=a,this.Ec())};d.prototype.O7=function(a){this.ub=a;this.Ec()};d.prototype.Kw=function(a){this.Pg!=a&&(this.Pg=a,this.Ec())};d.prototype.Mw=function(a){this.eh!=a&&(this.eh=a,this.Ec())};d.prototype.JB=function(){return new c};d.prototype.update=function(){var a=this.Paa();this.Kv(a);
this.Hha(a)};d.prototype.Kv=function(a){this.BA(a);this.AA(a)};d.prototype.kE=function(){for(var a=this.NZ(),b=[],c=0;c<a.length;c++){var j=a[c];j.get("includeInLayout")&&b.push(j)}return b};d.prototype.NZ=function(){for(var a=this.ub.Pa(),b=[],c=0;c<a.length;c++){var j=a[c];j.get("visible")&&b.push(j)}return b};d.prototype.Paa=function(){for(var a=this.NZ(),f=[],c=0;c<a.length;c++)f.push(new b(a[c]));return f};d.prototype.Hha=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.Df.s7(c.x,c.y,c.width,
c.height)}};d.prototype.Ec=function(){this.ub&&this.ub.Ia()};return d});
define("cs",["hj","X","bz","cx"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.JB=function(){for(var a=new d,b=this.kE(),c=0;c<b.length;c++){var j=b[c],h=j.dn,m=j.Mz,e=0;isNaN(h)||(e+=h);isNaN(m)||(e+=m);a.width=Math.max(e+j.cm(),a.width);a.minWidth=Math.max(e+j.$l(),a.minWidth);h=j.Kn;m=j.Ex;e=0;isNaN(h)||(e+=h);isNaN(m)||(e+=m);a.height=Math.max(e+j.bm(),a.height);a.minHeight=Math.max(e+j.Vn(),a.minHeight)}b=this.ub.jh()+this.ub.Wl();a.width+=b;a.minWidth+=b;b=this.ub.Xl()+
this.ub.hw();a.height+=b;a.minHeight+=b;return a};a.prototype.Kv=function(a){this.BA(a);this.AA(a)};a.prototype.Kv=function(a){for(var b=this.ub.td(),c=this.ub.sd(),j=0;j<a.length;j++){var h=a[j],d=h.Df,e=d.dn;if(isNaN(e)){var l=d.LF;isNaN(l)||(e=Math.round(0.01*l*b))}l=d.Mz;if(isNaN(l)){var r=d.MF;isNaN(r)||(l=Math.round(0.01*r*b))}var r=d.Go,o=d.Eh;if(isNaN(o)){var s=d.Vh;isNaN(s)?!isNaN(e)&&!isNaN(l)&&(o=b-e-l):o=Math.round(0.01*s*b)}s=d.Kn;if(isNaN(s)){var t=d.NF;isNaN(t)||(s=Math.round(0.01*
t*c))}t=d.Ex;if(isNaN(t)){var u=d.KF;isNaN(u)||(t=Math.round(0.01*u*c))}var u=d.Ho,v=d.Nr;if(isNaN(v)){var x=d.Uh;isNaN(x)?!isNaN(s)&&!isNaN(t)&&(v=c-s-t):v=Math.round(0.01*x*c)}h.width=isNaN(o)?d.cm():Math.max(d.$l(),Math.min(d.RH(),o));h.height=isNaN(v)?d.bm():Math.max(d.Vn(),Math.min(d.QH(),v));h.x=!isNaN(e)&&!isNaN(l)?Math.round(e+0.5*(b-l-e-h.width)):isNaN(e)?isNaN(l)?isNaN(r)?0:0.5*b+r-0.5*h.width:b-l-h.width:e;h.y=!isNaN(s)&&!isNaN(t)?Math.round(s+0.5*(c-t-s-h.height)):isNaN(s)?isNaN(t)?isNaN(u)?
0:0.5*c+u-0.5*h.height:c-t-h.height:s}};return a});
define("gD",["hj","X","bz","cx"],function(a,b,c,d){a=a.extend(c,function(){c.call(this);this.By=this.Cy=this.Dy=this.Zr=this.$m=this.an=this.Fy=this.fp=this.Eh=n});a.prototype.uoa=function(a){this.Eh!=a&&(this.Eh=a,this.Ec())};a.prototype.Foa=function(a){this.an!=a&&(this.an=a,this.an!=n&&(this.fp=n),this.Ec())};a.prototype.Eoa=function(a){this.$m!=a&&(this.$m=a,this.$m!=n&&(this.Fy=n),this.Ec())};a.prototype.Noa=function(a){this.fp!=a&&(this.fp=a,this.an!=n&&(this.an=n),this.Ec())};a.prototype.Moa=
function(a){this.Fy!=a&&(this.Fy=a,this.$m!=n&&(this.$m=n),this.Ec())};a.prototype.Koa=function(a){this.Zr!=a&&(this.Zr=a,this.Ec())};a.prototype.Joa=function(a){this.Dy!=a&&(this.Dy=a,this.Ec())};a.prototype.Ioa=function(a){this.Cy!=a&&(this.Cy=a,this.Ec())};a.prototype.Hoa=function(a){this.By!=a&&(this.By=a,this.Ec())};a.prototype.JB=function(){for(var a=new d,b=this.kE(),c=0,j=0;j<b.length;j++)b[j].get("includeInLayout")&&c++;if(!isNaN(this.fp)){isNaN(this.Zr)||(a.minWidth=this.Zr);for(j=0;j<b.length;j++){var h=
b[j].$l();isNaN(h)||(a.minWidth=Math.max(h,a.minWidth))}}if(isNaN(this.an))for(j=0;j<b.length;j++)h=b[j].cm(),isNaN(h)||(a.width=Math.max(h,a.width));else a.width=this.an;if(isNaN(this.$m))for(j=0;j<b.length;j++)h=b[j].bm(),isNaN(h)||(a.height=Math.max(h,a.height));else a.height=this.$m;isNaN(this.fp)?isNaN(this.Eh)?b=Math.ceil(Math.sqrt(c)):(b=this.Eh-this.ub.jh()-this.ub.Wl(),b=Math.max(1,Math.floor((b+this.Vm)/(a.width+this.Vm)))):b=Math.max(1,Math.floor(100/this.fp));c=Math.ceil(c/b);a.width=
a.width*b+Math.max(0,b-1)*this.Vm+this.ub.jh()+this.ub.Wl();a.minWidth=a.minWidth+this.ub.jh()+this.ub.Wl();a.height=a.height*c+Math.max(0,c-1)*this.Ts+this.ub.Xl()+this.ub.hw();a.minHeight=0;return a};a.prototype.Kv=function(a){for(var f,c,d=[],h=[],m=0;m<a.length;m++)c=a[m].Df,c.get("includeInLayout")?d.push(a[m]):h.push(a[m]);var e=d.length,l=this.ub.td(),r=this.Vm,o;if(isNaN(this.an))if(isNaN(this.fp)){for(m=a=0;m<d.length;m++)c=d[m].Df,a=Math.max(c.$l(),c.cm(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
Math.floor(100/this.fp)),a=(l-(a-1)*r)/a,m=y,!isNaN(this.Cy)&&this.Cy<a&&(a=this.Cy,m=p),!isNaN(this.Zr)&&this.Zr>a&&(a=this.Zr,m=p),m)a=Math.max(1,Math.floor((l+r)/(a+r))),a=(l-(a-1)*r)/a}else a=this.an;a=Math.max(1,a);o=Math.max(1,Math.floor(0.001+(l+r)/(a+r)));var m=o*a,s=o*(a+r)-r,t=0;if(l>=s)switch(this.Pg){case b.Fa:t=l-s;break;case b.vc:t=Math.round(0.5*(l-s));break;default:t=0}for(var l=[],s=[],u=0;u<o;u++)c=Math.round(m/(o-u)),m-=c,s.push(t),t+=c+r,l.push(c);t=this.ub.sd();u=this.Ts;if(isNaN(this.$m))if(isNaN(this.Fy)){r=
1;for(m=0;m<d.length;m++)c=d[m].Df,r=Math.max(c.Vn(),c.bm(),r)}else{if(r=Math.max(1,100/this.Fy),r=(t-(r-1)*u)/r,m=y,!isNaN(this.By)&&this.By<r&&(r=this.By,m=p),!isNaN(this.Dy)&&this.Dy>r&&(r=this.Dy,m=p),m)r=Math.max(1,Math.floor((t+u)/(r+u))),r=(t-(r-1)*u)/r}else r=this.$m;m=Math.max(1,Math.ceil(e/o));f=m*r;var e=m*(r+u)-u,v=0;if(t>=e)switch(this.eh){case b.eb:v=t-e;break;case b.fc:v=Math.round(0.5*(t-e))}e=[];t=[];for(c=0;c<m;c++){var x=Math.round(f/(m-c));f-=x;t.push(v);v+=x+u;e.push(x)}for(m=
0;m<d.length;m++)f=d[m],u=m%o,c=Math.floor(m/o),f.x=s[u],f.width=l[u],f.y=t[c],f.height=e[c];for(m=0;m<h.length;m++)f=h[m],f.x=0,f.width=Math.round(a),f.y=0,f.height=Math.round(r)};return a});
define("hg",["hj","X","bz","cx"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.JB=function(){for(var a=new d,b=this.kE(),c=0;c<b.length;c++){var j=b[c];a.height=Math.max(j.bm(),a.height);a.minHeight=Math.max(j.Vn(),a.minHeight);a.width+=j.cm();a.minWidth+=j.$l()}b=Math.max(0,b.length-1)*this.Vm+this.ub.jh()+this.ub.Wl();a.width+=b;a.minWidth+=b;b=this.ub.Xl()+this.ub.hw();a.height+=b;a.minHeight+=b;return a};a.prototype.Kv=function(a){this.BA(a);this.AA(a)};a.prototype.BA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Df.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Vm,d=this.ub.td()-c,h=this.ub.sd(),b=d,m=0,e=[],c=0;c<a.length;c++){var l=a[c],r=l.Df,o=r.Uh;l.height=isNaN(o)?r.bm():Math.max(r.Vn(),Math.min(r.QH(),Math.round(0.01*h*o)));o=r.Vh;isNaN(o)?(l.width=r.cm(),b-=l.width):r.get("includeInLayout")?(m+=o,e.push(l)):l.width=Math.max(r.$l(),Math.min(r.RH(),Math.round(0.01*d*o)))}c=Math.max(0,b-0.01*d*m);b-=c;do{a=y;d=Math.max(0,0<m?b/m:0);h=[];for(c=m=0;c<e.length;c++){var l=
e[c],r=l.Df,o=Math.round(r.Vh*d),s=r.$l(),t=r.RH();o<s?(l.width=s,b-=l.width,a=p):o>t?(l.width=t,b-=l.width,a=p):(m+=r.Vh,h.push(l))}e=h}while(a);for(c=0;c<e.length;c++)l=e[c],r=l.Df,d=Math.max(0,0<m?b/m:0),l.width=Math.round(r.Vh*d),b-=l.width,m-=r.Vh};a.prototype.AA=function(a){for(var c=this.Vm,d=this.ub.td(),j=this.ub.sd(),h=0,m=0,e=0;e<a.length;e++){var l=a[e];l.Df.get("includeInLayout")&&(h+=a[e].width,m++)}h+=c*(m-1);if(d>=h)switch(this.Pg){case b.Fa:d-=h;break;case b.vc:d=Math.round(0.5*(d-
h));break;default:d=0}else d=0;for(e=0;e<a.length;e++)if(l=a[e],l.Df.get("includeInLayout")){if(j>=l.height)switch(this.eh){case b.eb:l.y=j-l.height;break;case b.fc:l.y=Math.round(0.5*(j-l.height));break;default:l.y=0}else l.y=0;l.x=d;d+=l.width+c}else l.x=0,l.y=0};return a});
define("ce",["hj","X","bz","cx"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});a.prototype.JB=function(){for(var a=new d,b=this.kE(),c=0;c<b.length;c++){var j=b[c];a.width=Math.max(j.cm(),a.width);a.minWidth=Math.max(j.$l(),a.minWidth);a.height+=j.bm();a.minHeight+=j.Vn()}b=Math.max(0,b.length-1)*this.Ts+this.ub.Xl()+this.ub.hw();a.height+=b;a.minHeight+=b;b=this.ub.jh()+this.ub.Wl();a.width+=b;a.minWidth+=b;return a};a.prototype.Kv=function(a){this.BA(a);this.AA(a)};a.prototype.BA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].Df.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Ts,d=this.ub.td(),h=this.ub.sd()-c,b=h,m=0,e=[],c=0;c<a.length;c++){var l=a[c],r=l.Df,o=r.Vh;l.width=isNaN(o)?r.cm():Math.max(r.$l(),Math.min(r.RH(),Math.round(0.01*d*o)));o=r.Uh;isNaN(o)?(l.height=r.bm(),b-=l.height):r.get("includeInLayout")?(m+=o,e.push(l)):l.height=Math.max(r.Vn(),Math.min(r.QH(),Math.round(0.01*h*o)))}c=Math.max(0,b-0.01*h*m);b-=c;do{a=y;d=Math.max(0,0<m?b/m:0);h=[];for(c=m=0;c<e.length;c++){var l=
e[c],r=l.Df,o=Math.round(r.Uh*d),s=r.Vn(),t=r.QH();o<s?(l.height=s,b-=l.height,a=p):o>t?(l.height=t,b-=l.height,a=p):(m+=r.Uh,h.push(l))}e=h}while(a);for(c=0;c<e.length;c++)l=e[c],r=l.Df,d=Math.max(0,0<m?b/m:0),l.height=Math.round(r.Uh*d),b-=l.height,m-=r.Uh};a.prototype.AA=function(a){for(var c=this.Ts,d=this.ub.td(),j=this.ub.sd(),h=0,m=0,e=0;e<a.length;e++){var l=a[e];l.Df.get("includeInLayout")&&(h+=l.height,l.width>d&&(d=l.width),m++)}h+=c*(m-1);if(j>=h)switch(this.eh){case b.eb:j-=h;break;case b.fc:j=
Math.round(0.5*(j-h));break;default:j=0}else j=0;for(e=0;e<a.length;e++)if(l=a[e],l.Df.get("includeInLayout")){switch(this.Pg){case b.Fa:l.x=d-l.width;break;case b.vc:l.x=Math.round(0.5*(d-l.width));break;default:l.x=0}l.y=j;j+=l.height+c}else l.x=0,l.y=0};return a});
define("m","hj,cK,d,F,X,bV,c,cs,gD,hg,ce".split(","),function(a,b,c,d,g,f,k,j,h,m,e){var l=a.extend(c,function(){c.call(this);this.Rc("BaseContainer");this.Ni=q;this.Rb=[];this.Qj=[];this.Ux=f.GU;this.set("contentOpaque",y)});l.Ya={children:[[]],childrenInteractionEnabled:p,gap:0,horizontalAlign:g.ma,itemHeight:n,itemMaxHeight:n,itemMaxWidth:n,itemMinHeight:n,itemMinWidth:n,itemWidth:n,layout:k.yU,verticalAlign:g.fb};b.defaults(l.Ya,c.Ya);l.prototype.oa=function(){this.Ji(l.Ya)};l.prototype.set=function(a,
b){a=="children"?this.sj(b):a=="creationPolicy"?this.noa(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Pa():a=="creationPolicy"?this.Ux:c.prototype.get.call(this,a,b)};l.prototype.noa=function(a){if(this.Ux!=a){this.Ux=a;this.hR()}};l.prototype.sj=function(a){for(var e=this.Pa(),a=a||[],c=b(e).difference(a),f=0;f<c.length;f++)this.removeChild(c[f]);e=b(a).difference(e);for(f=0;f<e.length;f++)this.qa(e[f]);for(f=0;f<a.length;f++)this.ri(a[f],f)};l.prototype.Pa=
O("Rb");l.prototype.qa=function(a){a.getParent()&&a.getParent().removeChild(a);this.Rb.push(a);a.Q=this;this.bX(a);a.qQ(this.ck);this.Qj.push(a);this.hR();a.Kj()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.Yh();a.Q=q;if(b(this.Qj).contains(a))this.Qj=b.without(this.Qj,a);else{a.lb().detach();a.Qp(q);this.Ia();this.uc()}this.Rb=b.without(this.Rb,a);a.TP()}};l.prototype.h7=function(){b(this.Pa()).forEach(function(a){this.removeChild(a)})};l.prototype.tB=function(a){return b(this.Rb).indexOf(a)};
l.prototype.ri=function(a,e){var c=this.tB(a);c<0&&i("Can't set index. This is not a child of this container");var f=this.Rb.slice();f.splice(c,1);f.splice(e,0,a);if(!b.isEqual(this.Rb,f)){this.Rb=f;if(!b(this.Qj).contains(a)){c=this.tB(a);a.lb().detach();for(var h=f=q,d=c-1;d>=0&&!f;d--)b(this.Qj).contains(this.Rb[d])||(f=this.Rb[d]);for(d=c+1;d<this.Rb.length&&!h&&!f;d++)b(this.Qj).contains(this.Rb[d])||(h=this.Rb[d]);f?a.lb().insertAfter(f.lb()):h?a.lb().insertBefore(h.lb()):this.Ma().Z4(a.Tm());
this.uc()}}};l.prototype.Ds=function(a){c.prototype.Ds.call(this,a);this.l4()};l.prototype.l4=function(){b(this.Rb).forEach(function(a){this.bX(a)},this)};l.prototype.bX=function(a){a.set("inheritedInteractionEnabled",this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.yx=function(){c.prototype.yx.call(this);this.Rb.forEach(function(a){a.yx()})};l.prototype.Es=function(a){c.prototype.Es.call(this,a);b(this.Rb).forEach(function(a){a.qQ(this.ck)},this)};l.prototype.OK=
function(a){c.prototype.OK.call(this,a);b(this.Pa()).forEach(function(a){a.Lv()});this.hR()};l.prototype.Qp=function(a){c.prototype.Qp.call(this,a);b(this.Pa()).forEach(function(e){b(this.Qj).contains(e)||e.Qp(a)},this)};l.prototype.hR=function(){if((this.Ux==f.GU&&this.dp||this.Ux==f.bx)&&this.Qj.length>0){b(this.Qj).forEach(function(a){this.Ma().Z4(a.Tm());a.Qp(this.bb())},this);this.Qj=[];this.Ia();this.uc()}};l.prototype.$B=function(a){if(this.Ni!=a){this.Ni&&this.Ni.O7(q);(this.Ni=a)&&this.Ni.O7(this)}};
l.prototype.ba=function(){var a=y,b=this.j("layout");if(this.m("layout")){switch(b){case k.qo:this.$B(new h);break;case k.ze:this.$B(new m);break;case k.Ve:this.$B(new e);break;default:this.$B(new j)}this.o("layout");a=p}var f=this.Ni;if(this.m("horizontalAlign")||a){f.Kw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")||a){f.Mw(this.j("verticalAlign"));this.o("verticalAlign")}if(this.m("gap")||a){if(b==k.qo){f.y7(this.j("gap"));f.zI(this.j("gap"))}else b==k.ze?f.y7(this.j("gap")):
b==k.Ve&&f.zI(this.j("gap"));this.o("gap")}if(b==k.qo){if(this.m("itemWidth")||a){var g=this.j("itemWidth"),l=d.qj(g);l!==n?f.Noa(l):f.Foa(g);this.o("itemWidth")}if(this.m("itemHeight")||a){g=this.j("itemHeight");l=d.qj(g);l!==n?f.Moa(l):f.Eoa(g);this.o("itemHeight")}if(this.m("itemMinWidth")){f.Koa(this.j("itemMinWidth"));this.o("itemMinWidth")}if(this.m("itemMinHeight")){f.Joa(this.j("itemMinHeight"));this.o("itemMinHeight")}if(this.m("itemMaxWidth")){f.Ioa(this.j("itemMaxWidth"));this.o("itemMaxWidth")}if(this.m("itemMaxHeight")){f.Hoa(this.j("itemMaxHeight"));
this.o("itemMaxHeight")}}if(this.m("childrenInteractionEnabled")){this.o("childrenInteractionEnabled");this.l4()}this.Ua(["cursor"],{cursor:"inheritedCursor"},this.Rb,p,y);c.prototype.ba.call(this);b==k.qo&&f.uoa(this.Eh)};l.prototype.Ua=function(a,b,e,c,f){for(var h=0;h<a.length;h++){var d=a[h];if(!c||this.m(d)){for(var g=0;g<e.length;g++)e[g].set(b[d]?b[d]:d,this.j(d));f&&this.o(d)}}};l.prototype.ln=function(){if(this.Ni){var a=this.Ni.JB();this.Vg=a.width;this.Ug=a.height;this.Ty=a.minWidth;this.Sy=
a.minHeight}else c.prototype.ln.call(this)};l.prototype.rh=function(){this.Ni&&this.Ni.update(this);c.prototype.rh.call(this)};return l});
define("jk",["jquery.mod","hj","jw","ek"],function(a,b,c,d){function g(b,g){this.nu=b;this.rf="#000000";this.Db=0.5;this.S=10;this.mp=5;this.Bc=g;this.ID=this.$O=this.Ab=0;this.YW=this.Yc=this.lD=y;this.Y=p;this.eu=document.createElement("div");this.eu.setAttribute("tdvlayer","scrollbar");this.Px=a(this.eu);d.css(this.eu,{position:"absolute","z-index":c.LV});this.Ax=document.createElement("div");this.UK=a(this.Ax);d.css(this.Ax,{position:"absolute",left:0,top:0});this.Px.append(this.UK)}g.prototype.Ic=
function(){return this.Px.width()};g.prototype.ud=function(){return this.Px.height()};g.prototype.Qa=function(a){this.Ab!=a&&(this.Ab=a,this.A2(),this.Y=p)};g.prototype.nw=O("Ab");g.prototype.setSize=function(a,b){this.$O=a;this.ID=b;this.A2();this.Y=p};g.prototype.Se=function(a){this.Yc!=a&&(this.Yc=a,this.Y=p)};g.prototype.r7=function(a){this.lD!=a&&(this.lD=a,this.Y=p)};g.prototype.Hw=function(a){this.rf!=a&&(this.rf=a,this.Y=p)};g.prototype.ti=function(a){this.Db!=a&&(this.Db=a,this.Y=p)};g.prototype.gC=
function(a){this.S!=a&&(this.S=a,this.Y=p)};g.prototype.D7=function(a){this.mp!=a&&(this.mp=a,this.Y=p)};g.prototype.ie=function(){this.Y&&(this.YW!=this.Yc&&(this.Yc?this.Bc.append(this.Px):this.Px.detach(),this.YW=this.Yc),this.J(),this.Y=y)};g.prototype.J=function(){var a=Math.round(100*this.$O/this.ID),b=Math.round(100*this.Ab/this.ID);d.css(this.eu,{filter:"alpha(opacity="+Math.round(100*this.Db)+")",opacity:this.Db,display:this.Yc?"block":"none"});d.css(this.Ax,{backgroundColor:this.rf,"border-radius":Math.floor(this.S/
2)+"px"});this.nu==g.ze?(d.css(this.eu,{left:this.mp+"px",right:(this.lD?this.S:0)+this.mp+"px",height:this.S+"px",bottom:this.mp+"px"}),d.css(this.Ax,{left:b+"%",width:a+"%",height:this.S+"px"})):(d.css(this.eu,{top:this.mp+"px",right:this.mp+"px",width:this.S+"px",bottom:(this.lD?this.S:0)+this.mp+"px"}),d.css(this.Ax,{top:b+"%",width:this.S+"px",height:a+"%"}))};g.prototype.A2=function(){var a=this.ID-this.$O;0>this.Ab?this.Ab=0:this.Ab>a&&(this.Ab=a)};g.ze="horizontal";g.Ve="vertical";return g});
define("gp",["hj","jk"],function(a,b){return a.extend(b,function(a){b.call(this,b.ze,a)})});define("cS",["hj","jk"],function(a,b){return a.extend(b,function(a){b.call(this,b.Ve,a)})});
define("S",["require"],function(){function a(){}function b(c){var e=k;k=[];a.VS=p;var f=c-a.Qd,f=1<f?100>f?f:100:1;a.Qd=c;for(c=0;c<e.length;c++){var h=e[c];h.callback.call(h.context,f)}a.VS=y;j=0<k.length?g(b):n}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,d=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||
window.msCancelAnimationFrame,g=c,f=d,k=[],j=n,h=y;a.Aa=function(a,e){for(var c=0;c<k.length;c++){var f=k[c];if(f.callback==a&&f.context==e)return}k.push({callback:a,context:e});!h&&j===n&&(j=g(b))};a.cU=function(a){h!=a&&((h=a)?j!==n&&(f(j),j=n):0<k.length&&(j=g(b)))};a.xI=function(a,e){a=a||c;e=e||d;g!=a&&(j!==n&&(f(j),j=a(b)),g=a,f=e)};a.HT=function(){a.xI(q,q)};a.Qd=(new Date).getTime();a.VS=y;return a});
define("iX",[],function(){function a(a){var b={vS:function(b,c,d,e){d=0>=d?0:d>=e?1:d/e;0.5>d?d=Math.pow(2*d,a):(d=1-Math.pow(1-(2*d-1),a),d+=1);return b+(c-b)*0.5*d}};b.nT=d(a);return b}function b(a){var b={vS:function(b,c,d,e){return b+(c-b)*(1-Math.pow(1-(0>=d?0:d>=e?1:d/e),a))}};b.nT=d(a);return b}function c(a){var b={vS:function(b,c,d,e){return b+(c-b)*Math.pow(0>=d?0:d>=e?1:d/e,a)}};b.nT=d(a);return b}function d(a){return function(b,c,h){b=Math.abs(c-b);return 1>b/h?0:1/(1-Math.pow((b-h)/b,
1/a))}}function g(f,d,g){this.ng=q;switch(f){case "quad_in":this.ng=c(2);break;case "quad_out":this.ng=b(2);break;case "quad_in_out":this.ng=a(2);break;case "cubic_in":this.ng=c(3);break;case "cubic_out":this.ng=b(3);break;case "cubic_in_out":this.ng=a(3);break;case "quart_in":this.ng=c(4);break;case "quart_out":this.ng=b(4);break;case "quart_in_out":this.ng=a(4);break;case "quint_in":this.ng=c(5);break;case "quint_out":this.ng=b(5);break;case "quint_in_out":this.ng=a(5);break;default:this.ng=c(1)}this.Nm=
d.slice();this.Xb=0;this.Hb=this.Ro(d,g);this.kM={};for(f=0;f<this.Nm.length;f++)this.kM[this.Nm[f].name]=d[f].qB}g.prototype.Ola=function(){for(var a=0;a<this.Nm.length;a++)if("hfov"==this.Nm[a].name)return this.Nm[a];return q};g.prototype.kb=function(a){return this.kM[a]};g.prototype.he=function(){return this.Xb>=this.Hb};g.prototype.Un=O("Hb");g.prototype.setTime=function(a){this.Xb=Math.min(Math.max(0,a),this.Hb);for(a=0;a<this.Nm.length;a++){var b=this.Nm[a];this.kM[b.name]=this.ng.vS(b.qB,b.CI,
this.Xb,this.Hb)}};g.prototype.cb=function(a){this.setTime(this.Xb+a)};g.prototype.Ro=function(a,b,c){for(var h=[],d=0;d<this.Nm.length;d++){var e=this.Nm[d],g=c?c:e.lna;g!==n&&0<g&&h.push(this.ng.nT(e.qB,e.CI,g/1E3))}if(0<h.length){a=h[0];for(d=1;d<h.length;d++)a=Math.max(a,h[d]);return 0<b?Math.max(b,a):a}return 0<b?b:this.Ro(a,b,1E3)};return g});define("bk",[],function(){return function(a,b,c,d){this.name=a;this.qB=b;this.CI=c;this.lna=d}});
define("iU","require,cK,hj,ji,bL,eV,dz,m,gp,cS,S,iX,bk".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("eV"),k=a("dz"),j=a("m"),h=a("gp"),m=a("cS"),e=a("S"),l=a("iX"),r=a("bk"),o=c.extend(j,function(){j.call(this);this.Rc("Container");this.Ib=this.cc=this.zd=this.be=this.Ka=this.Ca=this.lY=this.kY=0;this.ON=this.UN=this.Xg=this.Wg=y;this.eY=0;this.AL=this.zL=n;this.CL=this.BL=0;this.Op=q;this.xF=f.ZU;this.Wo=y;this.oE=q;this.Hl=y;this.lH=q});o.Ya={overflow:f.br,scrollBarColor:"#000000",
scrollBarWidth:10,scrollBarMargin:5,scrollBarOpacity:0.5,scrollBarVisible:k.Kc};b.defaults(o.Ya,j.Ya);o.prototype.Xj=function(){this.oE=new h(this.gN());this.oE.UK.bind("mousedown touchstart",b.bind(this.sda,this));this.Xj=O("oE");return this.oE};o.prototype.Zj=function(){this.lH=new m(this.gN());this.lH.UK.bind("mousedown touchstart",b.bind(this.ska,this));this.Zj=O("lH");return this.lH};o.prototype.scrollIntoView=function(a){var b=a.Z,b=Math.min(b,Math.max(b+a.za()-this.be,this.cc)),e=a.$,a=Math.min(e,
Math.max(e+a.ab()-this.zd,this.Ib));this.scrollTo(b,a)};o.prototype.scrollTo=function(a,b){var e=this.cc;a>this.cc?this.vD()&&(e=Math.min(a,this.Ca-this.be)):a<this.cc&&this.uD()&&(e=Math.max(a,0));var c=this.Ib;b>this.Ib?this.tD()&&(c=Math.min(b,this.Ka-this.zd)):b<this.Ib&&this.wD()&&(c=Math.max(b,0));this.jA(e,c)};o.prototype.o7=function(){if(this.tD()){for(var a=Math.max(0,this.Ka-this.zd),b=Math.min(a,this.Ib+this.zd*0.5),e=a=Math.min(a,this.Ib+this.zd),c=this.Pa().slice(),f=c.shift();c.length;f=
c.shift())if(f.get("visible")){var h=f.$;h+f.ab()>this.Ib+this.zd&&h>=b&&h<a&&h<e&&(e=h)}this.jA(this.cc,e)}};o.prototype.tD=function(){return this.DX()&&this.Ib+this.zd<this.Ka};o.prototype.q7=function(){if(this.wD()){for(var a=Math.max(0,this.Ib-this.zd),b=Math.max(0,this.Ib-this.zd*0.5),e=a,c=this.Pa().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.$,f=h+f.ab();h<this.Ib&&f>=a+this.zd&&f<b+this.zd&&f>e+this.zd&&(e=f-this.zd)}this.jA(this.cc,e)}};o.prototype.wD=function(){return this.DX()&&
this.Ib>0};o.prototype.p7=function(){if(this.vD()){for(var a=Math.max(0,this.Ca-this.be),b=Math.min(a,this.cc+this.be*0.5),e=a=Math.min(a,this.cc+this.be),c=this.Pa().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.Z;h+f.za()>this.cc+this.be&&h>=b&&h<a&&h<e&&(e=h)}this.jA(e,this.Ib)}};o.prototype.vD=function(){return this.CX()&&this.cc+this.be<this.Ca};o.prototype.scrollLeft=function(){if(this.uD()){for(var a=Math.max(0,this.cc-this.be),b=Math.max(0,this.cc-this.be*0.5),e=a,
c=this.Pa().slice(),f=c.shift();c.length;f=c.shift())if(f.get("visible")){var h=f.Z,f=h+f.za();h<this.cc&&f>=a+this.be&&f<b+this.be&&f>e+this.be&&(e=f-this.be)}this.jA(e,this.Ib)}};o.prototype.uD=function(){return this.CX()&&this.cc>0};o.prototype.jA=function(a,b){this.Wg=this.cc!=a;this.Xg=this.Ib!=b;this.Fl();this.Op=new l("cubic_in_out",[new r("hScrollPosition",this.cc,a),new r("vScrollPosition",this.Ib,b)],500);e.Aa(this.GK,this)};o.prototype.DX=function(){return this.Hl&&this.zd<this.Ka};o.prototype.CX=
function(){return this.Wo&&this.be<this.Ca};o.prototype.oa=function(){this.Ji(o.Ya)};o.prototype.Jaa=function(){this.UN=p;this.Fl()};o.prototype.Iaa=function(){this.UN=y;this.Fl()};o.prototype.sda=function(){this.Wg=p};o.prototype.ska=function(){this.Xg=p};o.prototype.Faa=function(a){if(this.Wg||this.Xg){this.bb().bind(d.wc,this.cY,this);this.bb().bind(d.Gb,this.dY,this);this.Io=a.pageX;this.Jo=a.pageY;this.Fl()}else this.fY(a)};o.prototype.cY=function(a){if(this.Wg){var b=(a.pageX-this.Io)*this.Ca/
this.Xj().Ic();this.cc=this.cc+b}else if(this.Xg){b=(a.pageY-this.Jo)*this.Ka/this.Zj().ud();this.Ib=this.Ib+b}this.Io=a.pageX;this.Jo=a.pageY;this.Nn()};o.prototype.dY=function(){this.bb().unbind(d.wc,this.cY,this);this.bb().unbind(d.Gb,this.dY,this);this.Xg=this.Wg=y;this.Fl()};o.prototype.GX=function(a){return this.Hl&&(a>0&&this.Ib>0||a<0&&this.Ib<this.Ka-this.zd)?p:y};o.prototype.Haa=function(a){if(this.Hl){this.Ib=this.Ib-a.Qn*this.zd*0.1;this.Nn()}};o.prototype.fY=function(a){if(this.Wo||this.Hl){this.bb().bind(d.wc,
this.gY,this);this.bb().bind(d.Gb,this.hY,this);this.ON=p;this.Io=a.pageX;this.Jo=a.pageY;this.Fl();this.Pda()}};o.prototype.gY=function(a){var b=a.pageX-this.Io,e=a.pageY-this.Jo;if(!this.Wg&&!this.Xg&&b*b+e*e>25){this.Wg=this.Wo;this.Xg=this.Hl;this.Fl()}if(this.Wg||this.Xg){this.cc=this.cc-b;this.Ib=this.Ib-e;this.Io=a.pageX;this.Jo=a.pageY;this.Nn();this.Nja()}};o.prototype.hY=function(){this.bb().unbind(d.wc,this.gY,this);this.bb().unbind(d.Gb,this.hY,this);this.ON=y;this.Fl();var a=Math.max(Math.abs(this.BL/
0.001),Math.abs(this.CL/0.001));this.Op=new l("linear",[new r("hScrollPosition",this.cc,this.cc-0.5*this.BL*a),new r("vScrollPosition",this.Ib,this.Ib-0.5*this.CL*a)],a);e.Aa(this.GK,this)};o.prototype.Pda=function(){this.zL=this.Io;this.AL=this.Jo};o.prototype.Nja=function(){var a=(new Date).getTime(),b=a-this.eY;if(b>10){this.eY=a;this.BL=(this.Io-this.zL)/b;this.CL=(this.Jo-this.AL)/b;this.zL=this.Io;this.AL=this.Jo}};o.prototype.GK=function(a){if(this.Op&&!this.Op.he()&&(this.Wg||this.Xg)){this.Op.cb(a);
if(this.Wg){this.cc=this.Op.kb("hScrollPosition");if(this.cc<0||this.cc>this.Ca-this.be)this.Wg=y}if(this.Xg){this.Ib=this.Op.kb("vScrollPosition");if(this.Ib<0||this.Ib>this.Ka-this.zd)this.Xg=y}this.Nn();e.Aa(this.GK,this)}else{this.Xg=this.Wg=y;this.Op=q;this.Fl()}};o.prototype.Nn=function(){this.cc=this.Wo?Math.max(0,Math.min(this.Ca-this.be,this.cc)):0;this.Ib=this.Hl?Math.max(0,Math.min(this.Ka-this.zd,this.Ib)):0;this.Xj().Qa(this.cc);this.Zj().Qa(this.Ib);this.Ma().yoa(this.cc);this.Ma().opa(this.Ib);
this.zg();if(this.Q1!=this.cc||this.R1!=this.Ib){this.Q1!==n&&this.R1!==n&&this.trigger(new g(d.$k));this.Q1=this.cc;this.R1=this.Ib}};o.prototype.Fl=function(){var a;a=this.get("scrollBarVisible")==k.ALWAYS?p:this.Mi?this.Wg||this.Xg||this.ON:this.Wg||this.Xg||this.UN;this.Xj().Se(this.Wo&&a);this.Zj().Se(this.Hl&&a);this.zg()};o.prototype.Ja=function(){j.prototype.Ja.call(this);if(!this.Gaa){this.Gaa=p;if(this.Mi)this.bind(d.pb,this.fY,this);else{this.bind(d.pb,this.Faa,this);this.bind(d.Kc,this.Jaa,
this);this.bind(d.hc,this.Iaa,this);this.bind(d.so,this.Haa,this)}}};o.prototype.ba=function(){if(this.m("overflow")){this.xF=this.j("overflow");this.o("overflow");this.uc()}if(this.m("scrollBarColor")){this.Xj().Hw(this.j("scrollBarColor"));this.Zj().Hw(this.j("scrollBarColor"));this.o("scrollBarColor")}if(this.m("scrollBarWidth")){this.Xj().gC(this.j("scrollBarWidth"));this.Zj().gC(this.j("scrollBarWidth"));this.o("scrollBarWidth")}if(this.m("scrollBarMargin")){this.Xj().D7(this.j("scrollBarMargin"));
this.Zj().D7(this.j("scrollBarMargin"));this.o("scrollBarMargin")}if(this.m("scrollBarOpacity")){this.Xj().ti(this.j("scrollBarOpacity"));this.Zj().ti(this.j("scrollBarOpacity"));this.o("scrollBarOpacity")}j.prototype.ba.call(this)};o.prototype.rh=function(){j.prototype.rh.call(this);this.Pja();this.bka();this.$ja();this.Fl();this.zg()};o.prototype.Pja=function(){for(var a=0,b=0,e=0,c=0,f=this.Pa(),h=0;h<f.length;h++){var d=f[h];if(d.get("visible")){c=Math.min(c,d.Z);e=Math.min(e,d.$);a=Math.max(a,
d.Z+d.za());b=Math.max(b,d.$+d.ab())}}this.kY=c;this.lY=e;this.Ca=a;this.Ka=b};o.prototype.bka=function(){if(this.xF==f.br){this.be=this.Ca;this.zd=this.Ka}else{this.be=Math.min(this.td(),this.Ca);this.zd=Math.min(this.sd(),this.Ka)}};o.prototype.$ja=function(){var a=this.kY<0||this.lY<0||this.Ca>this.be||this.Ka>this.zd;if(this.xF==f.$k){this.Wo=this.be<this.Ca;var b=(this.Hl=this.zd<this.Ka)&&this.Wo;this.Xj().setSize(this.be,this.Ca);this.Xj().r7(b);this.Zj().setSize(this.zd,this.Ka);this.Zj().r7(b);
this.Ma().Lw(!a)}else{this.Hl=this.Wo=y;this.xF==f.br?this.Ma().Lw(p):this.Ma().Lw(!a)}this.Nn()};o.prototype.ie=function(){this.Zj().ie();this.Xj().ie();j.prototype.ie.call(this)};return o});define("J",[],function(){return{Ve:"vertical",ze:"horizontal"}});define("cZ",["require"],function(){return{gq:function(a){return!a?"":a.split(",").map(function(a){return a.trim()}).filter(function(a){return""!=a}).map(function(a){"'"!=a[0]&&'"'!=a[0]&&(a="'"+a+"'");return a}).join(", ")}}});
define("fK","require,jquery.mod,cK,hj,X,J,d,ek,cZ".split(","),function(a){function b(a){var b=a.ai.width(),c=a.ai.height();a.get("fontStyle")=="italic"&&(b=b+c*1/5);return Math.round(b)}var c=a("jquery.mod"),d=a("cK"),g=a("hj"),f=a("X"),k=a("J"),j=a("d");a("ek");var h=a("cZ"),a=g.extend(j,function(){j.call(this);this.Rc("Label");this.ai=this.eA=q});a.Ya={};a.prototype.oa=function(){j.prototype.oa.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");
this.f("horizontalAlign",f.ma);this.f("verticalAlign",f.fc);this.f("direction",k.ze);this.f("text","");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};a.prototype.Ja=function(){j.prototype.Ja.call(this);if(!this.ai){this.eA=document.createElement("span");this.ai=c(this.eA);this.EQ({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var a=this.Ma();a.Lw(y);a.append(this.ai)}};a.prototype.ln=function(){j.prototype.ln.call(this);var a=this.Ma();this.Vg=b(this)+a.kw()+a.pw();this.Ug=this.ai.height()+a.qw()+a.ew();m(this)};a.prototype.ba=function(){var a,b={};if(this.m("direction")||this.m("text")){switch(this.j("direction")){case k.Ve:b["line-height"]="100%";this.ai.html(this.ai.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]="normal";this.ai.text(this.j("text"));
this.ai.html(this.ai.html().split(" ").join("&nbsp;"))}this.o("direction");this.o("text");setTimeout(function(){this.Ia();this.uc()}.bind(this),0)}if(this.m("fontFamily")){a=this.j("fontFamily");d(a).isString()||(a="");b.fontFamily=h.gq(a);this.o("fontFamily");this.Ia();this.uc()}if(this.m("fontSize")){a=this.j("fontSize");d(a).isNumber()?a=a+"px":d(a).isString()||(a="");b.fontSize=a;this.o("fontSize");this.Ia();this.uc()}if(this.m("fontColor")){a=this.j("fontColor");d(a).isString()||(a="");b.color=
a;this.o("fontColor")}if(this.m("fontWeight")){a=this.j("fontWeight");switch(a){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:a="normal"}b.fontWeight=a;this.o("fontWeight");this.Ia();this.uc()}if(this.m("fontStyle")){a=this.j("fontStyle");switch(a){case "italic":case "normal":break;default:a="normal"}b.fontStyle=a;this.o("fontStyle");this.Ia();this.uc()}if(this.m("textDecoration")){a=
this.j("textDecoration");switch(a){case "underline":case "overline":case "line-through":case "none":break;default:a="none"}b.textDecoration=a;this.o("textDecoration");this.Ia();this.uc()}if(this.m("horizontalAlign")){this.uc();this.o("horizontalAlign")}if(this.m("verticalAlign")){this.uc();this.o("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(d(a).any(function(a){return this.m(a)},this)){var c={};d(a).each(function(a){c[a]=
this.j(a);this.o(a)},this);b["-moz-text-shadow"]=b["-webkit-text-shadow"]=b["text-shadow"]=[c.textShadowHorizontalLength+"px",c.textShadowVerticalLength+"px",c.textShadowBlurRadius+"px","rgba("+parseInt("0x"+c.textShadowColor.substr(1,2))+", "+parseInt("0x"+c.textShadowColor.substr(3,2))+", "+parseInt("0x"+c.textShadowColor.substr(5,2))+", "+c.textShadowOpacity+")"].join(" ");a=c.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(c.textShadowHorizontalLength,
-c.textShadowVerticalLength)/Math.PI)*45;b.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*c.textShadowOpacity).toString(16)).slice(-2)+c.textShadowColor.substr(1,6)+",direction="+a+")";this.Ma().Lw((c.textShadowHorizontalLength>0||c.textShadowVerticalLength>0||c.textShadowBlurRadius>0)&&c.textShadowOpacity>0)}this.EQ(b);j.prototype.ba.call(this)};a.prototype.rh=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case f.ma:a.left=
"0";break;case f.Fa:this.ie();a.left=this.td()-b(this)+"px";break;case f.vc:this.ie();a.left=Math.max(0,Math.round((this.td()-b(this))*0.5))+"px"}switch(this.j("verticalAlign")){case f.fb:a.top="0";break;case f.eb:this.ie();a.top=this.sd()-this.eA.clientHeight+"px";break;case f.fc:this.ie();a.top=Math.max(0,Math.round((this.sd()-this.eA.clientHeight)*0.5))+"px"}this.EQ(a)};a.prototype.EQ=function(a){var b=this.eA.style,c;for(c in a)b[c]=a[c]};var m=function(){function a(){!d&&c()&&(d=setTimeout(function(){d=
q;var c=(new Date).getTime()-5E3,f;for(f in h){var g=h[f];g.timestamp<c&&delete h[f];var j=g.label;(g.width!=b(j)||g.height!=j.ai.height())&&j.Ia()}a()},500))}function c(){for(var a in h)return p;return y}var f=1,h={},d=q;return function(c){c.Q_||(c.Q_=f++);h[c.Q_]={label:c,timestamp:(new Date).getTime(),width:b(c),height:c.ai.height()};a()}}();return a});
define("hy","require,hj,cK,bV,N,ji,bL,eG,cJ,eV,er,iU,fK".split(","),function(a){var b=a("hj"),c=a("cK"),d=a("bV"),g=a("N"),f=a("ji"),k=a("bL"),j=a("eG"),h=a("cJ"),m=a("eV"),e=a("er"),l=a("iU"),r=a("fK"),o=b.extend(l,function(){l.call(this);this.af=this.ka=q;this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",d.bx);this.set("overflow",m.ZU);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",g.Vd)});o.prototype.oa=function(){l.prototype.oa.call(this);
this.f("label");this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength");this.f("layout","horizontal");this.f("iconWidth");this.f("iconHeight");this.f("iconBeforeLabel");this.f("gap",5);this.f("mode",h.xc);this.f("buttonGroup");this.f("paddingLeft",5);this.f("paddingTop",5);
this.f("paddingRight",5);this.f("paddingBottom",5);this.f("pressed");this.h("rollOverOpacity",e.q,"opacity");this.h("rollOverIconWidth",e.q,"iconWidth");this.h("rollOverIconHeight",e.q,"iconHeight");this.h("rollOverFontSize",e.q,"fontSize");this.h("rollOverFontColor",e.q,"fontColor");this.h("rollOverFontWeight",e.q,"fontWeight");this.h("rollOverFontStyle",e.q,"fontStyle");this.h("rollOverTextDecoration",e.q,"textDecoration");this.h("rollOverTextShadowBlurRadius",e.q,"textShadowBlurRadius");this.h("rollOverTextShadowColor",
e.q,"textShadowColor");this.h("rollOverTextShadowHorizontalLength",e.q,"textShadowHorizontalLength");this.h("rollOverTextShadowOpacity",e.q,"textShadowOpacity");this.h("rollOverTextShadowVerticalLength",e.q,"textShadowVerticalLength");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");
this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverShadowHorizontalLength",e.q,"shadowHorizontalLength");this.h("rollOverShadowVerticalLength",e.q,"shadowVerticalLength");this.h("rollOverShadowBlurRadius",e.q,"shadowBlurRadius");
this.h("rollOverShadowSpread",e.q,"shadowSpread");this.h("rollOverShadowOpacity",e.q,"shadowOpacity");this.h("rollOverShadowColor",e.q,"shadowColor");this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("pressedLabel",e.sa,"label");this.h("pressedOpacity",e.sa,"opacity");this.h("pressedIconWidth",
e.sa,"iconWidth");this.h("pressedIconHeight",e.sa,"iconHeight");this.h("pressedFontSize",e.sa,"fontSize");this.h("pressedFontColor",e.sa,"fontColor");this.h("pressedFontWeight",e.sa,"fontWeight");this.h("pressedFontStyle",e.sa,"fontStyle");this.h("pressedTextDecoration",e.sa,"textDecoration");this.h("pressedTextShadowBlurRadius",e.sa,"textShadowBlurRadius");this.h("pressedTextShadowColor",e.sa,"textShadowColor");this.h("pressedTextShadowHorizontalLength",e.sa,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
e.sa,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",e.sa,"textShadowVerticalLength");this.h("pressedBorderSize",e.sa,"borderSize");this.h("pressedBorderLeftSize",e.sa,"borderLeftSize");this.h("pressedBorderTopSize",e.sa,"borderTopSize");this.h("pressedBorderRightSize",e.sa,"borderRightSize");this.h("pressedBorderBottomSize",e.sa,"borderBottomSize");this.h("pressedBorderColor",e.sa,"borderColor");this.h("pressedBorderLeftColor",e.sa,"borderLeftColor");this.h("pressedBorderTopColor",
e.sa,"borderTopColor");this.h("pressedBorderRightColor",e.sa,"borderRightColor");this.h("pressedBorderBottomColor",e.sa,"borderBottomColor");this.h("pressedShadow",e.sa,"shadow");this.h("pressedShadowHorizontalLength",e.sa,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",e.sa,"shadowVerticalLength");this.h("pressedShadowBlurRadius",e.sa,"shadowBlurRadius");this.h("pressedShadowSpread",e.sa,"shadowSpread");this.h("pressedShadowOpacity",e.sa,"shadowOpacity");this.h("pressedShadowColor",
e.sa,"shadowColor");this.h("pressedBackgroundOpacity",e.sa,"backgroundOpacity");this.h("pressedBackgroundColor",e.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",e.sa,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",e.sa,"backgroundColorDirection");this.h("pressedLabel",e.Sa,"label");this.h("pressedRollOverOpacity",e.Sa,"opacity");this.h("pressedRollOverIconWidth",e.Sa,"iconWidth");this.h("pressedRollOverIconHeight",e.Sa,"iconHeight");this.h("pressedRollOverFontSize",
e.Sa,"fontSize");this.h("pressedRollOverFontColor",e.Sa,"fontColor");this.h("pressedRollOverFontWeight",e.Sa,"fontWeight");this.h("pressedRollOverFontStyle",e.Sa,"fontStyle");this.h("pressedRollOverTextDecoration",e.Sa,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",e.Sa,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",e.Sa,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",e.Sa,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
e.Sa,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",e.Sa,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",e.Sa,"borderSize");this.h("pressedRollOverBorderLeftSize",e.Sa,"borderLeftSize");this.h("pressedRollOverBorderTopSize",e.Sa,"borderTopSize");this.h("pressedRollOverBorderRightSize",e.Sa,"borderRightSize");this.h("pressedRollOverBorderBottomSize",e.Sa,"borderBottomSize");this.h("pressedRollOverBorderColor",e.Sa,"borderColor");this.h("pressedRollOverBorderLeftColor",
e.Sa,"borderLeftColor");this.h("pressedRollOverBorderTopColor",e.Sa,"borderTopColor");this.h("pressedRollOverBorderRightColor",e.Sa,"borderRightColor");this.h("pressedRollOverBorderBottomColor",e.Sa,"borderBottomColor");this.h("pressedRollOverShadow",e.Sa,"shadow");this.h("pressedRollOverShadowHorizontalLength",e.Sa,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",e.Sa,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",e.Sa,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
e.Sa,"shadowSpread");this.h("pressedRollOverShadowOpacity",e.Sa,"shadowOpacity");this.h("pressedRollOverShadowColor",e.Sa,"shadowColor");this.h("pressedRollOverBackgroundOpacity",e.Sa,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",e.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",e.Sa,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",e.Sa,"backgroundColorDirection")};o.prototype.LL=D();o.prototype.Ja=function(){l.prototype.Ja.call(this);if(!this.af){this.af=
this.LL();this.qa(this.af)}if(!this.ka){this.ka=new r;this.qa(this.ka)}};o.prototype.Gx=function(){if(this.get("pressed")){this.set("pressed",y);this.trigger(new k(f.vh))}else{this.set("pressed",p);this.trigger(new k(f.hg))}};o.prototype.ba=function(){var a=y;if(this.m("mode")){if(this.j("mode")==h.xc){this.unbind(f.V,this.Gx,this,p);this.set("autoPressed",p)}else{this.bind(f.V,this.Gx,this,p);this.set("autoPressed",y)}this.o("mode");a=p}if(a||this.m("pressed"))this.j("mode")==h.wh?this.wv(this.j("pressed")==
p):a&&this.wv(y);if(this.m("label")){a=this.j("label");this.ka.set("text",a);this.ka.set("visible",a?p:y);this.o("label")}this.Ua(o.uW,o.vW,[this.ka],p,p);if(this.m("iconBeforeLabel")){this.j("iconBeforeLabel")==y?this.ri(this.ka,0):this.ri(this.af,0);this.o("iconBeforeLabel")}if(this.m("iconWidth")){this.af.set("width",this.j("iconWidth"));this.o("iconWidth")}if(this.m("iconHeight")){this.af.set("height",this.j("iconHeight"));this.o("iconHeight")}if(this.m("buttonGroup")){(a=this.j("buttonGroup"))?
j.register(this,a):j.mC(this);this.o("buttonGroup")}this.Ua(["horizontalAlign","verticalAlign"],{},[this.af],p,y);l.prototype.ba.call(this)};o.uW=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];o.vW={};c(o.uW).each(function(a){o.vW[a]=a});return o});
define("gh",["require","hj","hy","dj","ji"],function(a){var b=a("hj"),c=a("hy"),d=a("dj"),a=a("ji"),b=b.extend(c,function(){c.call(this)});d.A("BaseButton",b).B("UIComponent").K({label:"string",gap:"number",horizontalAlign:"enum[center, left, right]",iconBeforeLabel:"bool",layout:"enum[horizontal, vertical]",mode:"enum[push, toggle]",buttonGroup:"string",verticalAlign:"enum[bottom, middle, top]",iconWidth:"or[number, percent]",iconHeight:"or[number, percent]",fontFamily:"string",fontSize:"or[number, size]",
fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number",rollOverIconWidth:"or[number, percent]",rollOverIconHeight:"or[number, percent]",rollOverFontFamily:"string",rollOverFontSize:"or[number, size]",
rollOverFontColor:"color",rollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverFontStyle:"enum[italic, normal]",rollOverTextDecoration:"enum[underline, overline, line-through, none]",rollOverTextShadowBlurRadius:"number",rollOverTextShadowColor:"color",rollOverTextShadowHorizontalLength:"number",rollOverTextShadowOpacity:"number",rollOverTextShadowVerticalLength:"number",rollOverBorderSize:"number",rollOverBorderLeftSize:"number",rollOverBorderTopSize:"number",
rollOverBorderRightSize:"number",rollOverBorderBottomSize:"number",rollOverBorderColor:"color",rollOverBorderLeftColor:"color",rollOverBorderTopColor:"color",rollOverBorderRightColor:"color",rollOverBorderBottomColor:"color",rollOverShadow:"bool",rollOverShadowHorizontalLength:"number",rollOverShadowVerticalLength:"number",rollOverShadowBlurRadius:"number",rollOverShadowSpread:"number",rollOverShadowColor:"color",rollOverShadowOpacity:"number",rollOverBackgroundOpacity:"number",rollOverBackgroundColor:"or[array[color], color]",
rollOverBackgroundColorRatios:"array[number]",rollOverBackgroundColorDirection:"enum[horizontal, vertical]",pressed:"bool",pressedLabel:"string",pressedIconWidth:"or[number, percent]",pressedIconHeight:"or[number, percent]",pressedFontFamily:"string",pressedFontSize:"or[number, size]",pressedFontColor:"color",pressedFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedFontStyle:"enum[italic, normal]",pressedTextDecoration:"enum[underline, overline, line-through, none]",
pressedTextShadowBlurRadius:"number",pressedTextShadowColor:"color",pressedTextShadowHorizontalLength:"number",pressedTextShadowOpacity:"number",pressedTextShadowVerticalLength:"number",pressedOpacity:"number",pressedBorderSize:"number",pressedBorderLeftSize:"number",pressedBorderTopSize:"number",pressedBorderRightSize:"number",pressedBorderBottomSize:"number",pressedBorderColor:"color",pressedBorderLeftColor:"color",pressedBorderTopColor:"color",pressedBorderRightColor:"color",pressedBorderBottomColor:"color",
pressedShadow:"bool",pressedShadowHorizontalLength:"number",pressedShadowVerticalLength:"number",pressedShadowBlurRadius:"number",pressedShadowSpread:"number",pressedShadowOpacity:"number",pressedShadowColor:"color",pressedBackgroundOpacity:"number",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedBackgroundColorDirection:"enum[horizontal, vertical]",pressedRollOverIconWidth:"or[number, percent]",pressedRollOverIconHeight:"or[number, percent]",pressedRollOverFontFamily:"string",
pressedRollOverFontSize:"or[number, size]",pressedRollOverFontColor:"color",pressedRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",pressedRollOverFontStyle:"enum[italic, normal]",pressedRollOverTextDecoration:"enum[underline, overline, line-through, none]",pressedRollOverTextShadowBlurRadius:"number",pressedRollOverTextShadowColor:"color",pressedRollOverTextShadowHorizontalLength:"number",pressedRollOverTextShadowOpacity:"number",pressedRollOverTextShadowVerticalLength:"number",
pressedRollOverOpacity:"number",pressedRollOverBorderSize:"number",pressedRollOverBorderLeftSize:"number",pressedRollOverBorderTopSize:"number",pressedRollOverBorderRightSize:"number",pressedRollOverBorderBottomSize:"number",pressedRollOverBorderColor:"color",pressedRollOverBorderLeftColor:"color",pressedRollOverBorderTopColor:"color",pressedRollOverBorderRightColor:"color",pressedRollOverBorderBottomColor:"color",pressedRollOverShadow:"bool",pressedRollOverShadowHorizontalLength:"number",pressedRollOverShadowVerticalLength:"number",
pressedRollOverShadowBlurRadius:"number",pressedRollOverShadowSpread:"number",pressedRollOverShadowOpacity:"number",pressedRollOverShadowColor:"color",pressedRollOverBackgroundOpacity:"number",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",pressedRollOverBackgroundColorDirection:"enum[horizontal, vertical]"}).ko(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).qc([a.hg,a.vh]).ph([a.V]);return b});
define("hH",[],function(){return{NONE:"none",om:"fill",je:"fit_inside",Vk:"fit_outside",Hj:"fit_to_width",fg:"fit_to_height",o8:"custom"}});
define("hU","require,cK,jquery.mod,hj,ji,fc,t,X,hH,d,ek,gL".split(","),function(a){function b(a){this.fL=a;this.Fc=[];this.Gg=q}var c=a("cK"),d=a("jquery.mod"),g=a("hj"),f=a("ji"),k=a("fc"),j=a("t"),h=a("X"),m=a("hH"),e=a("d"),l=a("ek"),r=a("gL");b.Jh=document.createElement("a");b.prototype.Eaa=function(a){b.Jh.href=a;return b.Jh.href};b.prototype.load=function(a,b,e){a=this.Eaa(a);if(this.Gg&&!this.Gg.$n()){this.Gg.cancel();this.Fc=c(this.Fc).without(this.Gg)}if(this.Gg=c(this.Fc).find(function(b){return b.Qe()==
a}))this.Fc=c(this.Fc).without(this.Gg);else{this.Gg=new r(k.NV);this.Gg.load(a)}for(this.Fc.splice(0,0,this.Gg);this.Fc.length>this.fL;)this.Fc.pop().cancel();if(b){var h=this.Gg,d=function(){b.call(e||window,h.Dd(),h.Ic(),h.ud())};this.Gg.$n()?d():this.Gg.bind(f.P,d)}};b.prototype.clear=function(){this.Fc.forEach(function(a){a.cancel()});this.Gg=q};a=g.extend(e,function(a){e.call(this);this.Rc("Image");this.fL=a||1;this.FR=y;this.Pg=h.ma;this.pE=y;this.eh=h.fb;this.nH=y;this.Gc=m.NONE;this.bQ=y;
this.Wu=this.Xu=0;this.GN=this.VO=y;this.Ka=this.Ca=0;this.Km=y;this.nO=this.Qg=this.gb=this.vE=this.uE=q;this.bind(f.sb,this.Nda,this);this.bind(f.qf,this.Oda,this)});a.prototype.fN=function(){this.nO=new b(this.fL);this.fN=O("nO");return this.nO};a.prototype.oa=function(){e.prototype.oa.call(this);this.f("horizontalAlign",h.ma);this.f("verticalAlign",h.fb);this.f("scaleMode",m.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.FR=p;this.Zb()}e.prototype.set.call(this,a,b)};
a.prototype.Kw=function(a){if(this.Pg!=a){this.Pg=a;this.pE=p;this.Zb()}};a.prototype.Mw=function(a){if(this.eh!=a){this.eh=a;this.nH=p;this.Zb()}};a.prototype.zq=function(a){if(this.Gc!=a){this.Gc=a;this.bQ=p;this.Zb();this.Ia()}};a.prototype.Nda=function(){this.Km=p;this.Zb()};a.prototype.Oda=function(){this.B4()};var o={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"};j.browser()==j.xi&&j.Xa()&&(o.transform="translate3d(0,0,0)");a.prototype.cX=function(a,b,e){this.Xu=b?b:0;this.Wu=e?e:0;if(this.gb){this.gb.remove();this.gb=q}if(this.Qg=a){this.gb=d(this.Qg);l.css(this.Qg,o);this.uE.append(this.gb)}this.VO=this.GN=p;this.Zb();this.Ia();this.gb&&this.trigger(f.P)};a.prototype.Ja=function(){e.prototype.Ja.call(this);if(!this.uE){this.vE=document.createElement("div");this.uE=d(this.vE);
l.css(this.vE,{position:"static",overflow:"hidden",cursor:"inherit"});this.Ma().append(this.uE)}};a.prototype.ln=function(){this.Vg=this.Xu+this.jh()+this.Wl();this.Ug=this.Wu+this.Xl()+this.hw();this.I_=this.Xu==0&&this.Wu==0?0:this.Xu/this.Wu;this.Sy=this.Ty=0};a.prototype.ba=function(){if(this.m("scaleMode")){this.zq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("horizontalAlign")){this.Kw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")){this.Mw(this.j("verticalAlign"));
this.o("verticalAlign")}if(this.ZW())this.Km=p;e.prototype.ba.call(this);this.B4();if(this.zma()){var a=y;if(this.bQ||this.VO||this.Km){var b=this.td(),c=this.sd(),f=this.Xu,d=this.Wu,g,j;if(f==0||d==0)j=g=0;else switch(this.Gc){case m.NONE:g=f;j=d;break;case m.om:g=b;j=c;break;case m.je:if(f*c>d*b){g=b;j=d*b/f}else{g=f*c/d;j=c}break;case m.Vk:if(f*c>d*b){g=f*c/d;j=c}else{g=b;j=d*b/f}break;case m.Hj:g=b;j=d*b/f;break;case m.fg:g=f*c/d;j=c}if(this.Ca!=g||this.Ka!=j){this.Ca=g;this.Ka=j;a=p}this.VO=
this.bQ=y}if(a||this.Km||this.GN){this.nH=this.pE=p;this.Qg&&l.css(this.Qg,{width:this.Ca+"px",height:this.Ka+"px",visibility:"inherit"});l.css(this.vE,{width:this.td()+"px",height:this.sd()+"px","border-top-left-radius":this.mE(this.qca(),this.iZ(),this.gZ())+"px","border-top-right-radius":this.mE(this.rca(),this.iZ(),this.hZ())+"px","border-bottom-left-radius":this.mE(this.oca(),this.fZ(),this.gZ())+"px","border-bottom-right-radius":this.mE(this.pca(),this.fZ(),this.hZ())+"px"});this.Ia();this.GN=
this.Km=y}if(this.pE&&this.Qg){switch(this.Pg){case h.ma:l.css(this.Qg,{"margin-left":0,"margin-right":this.td()-this.Ca+"px"});break;case h.Fa:l.css(this.Qg,{"margin-left":this.td()-this.Ca+"px","margin-right":0});break;case h.vc:l.css(this.Qg,{"margin-left":Math.floor((this.td()-this.Ca)*0.5)+"px","margin-right":Math.ceil((this.td()-this.Ca)*0.5)+"px"})}this.pE=y}if(this.nH&&this.Qg){switch(this.eh){case h.fb:l.css(this.Qg,{"margin-top":0,"margin-bottom":this.sd()-this.Ka+"px"});break;case h.eb:l.css(this.Qg,
{"margin-top":this.sd()-this.Ka+"px","margin-bottom":0});break;case h.fc:l.css(this.Qg,{"margin-top":Math.floor((this.sd()-this.Ka)*0.5)+"px","margin-bottom":Math.ceil((this.sd()-this.Ka)*0.5)+"px"})}this.nH=y}}};a.prototype.B4=function(){if(this.FR){var a=this.get("url");if(a)this.fN().load(a,this.cX,this);else{this.fN().clear();this.cX(q,0,0)}this.FR=y}};a.prototype.mE=function(a,b,e){if(!a)return 0;var c=0;b&&(c=Math.max(c,b));e&&(c=Math.max(c,e));return Math.max(0,a-c)};return a});
define("dI",["hj","hH","er","hy","hU"],function(a,b,c,d,g){a=a.extend(d,function(){d.call(this)});a.prototype.oa=function(){d.prototype.oa.call(this);this.f("iconURL");this.h("rollOverIconURL",c.q,"iconURL");this.h("pressedIconURL",c.sa,"iconURL");this.h("pressedRollOverIconURL",c.Sa,"iconURL")};a.prototype.LL=function(){var a=new g(3);a.set("scaleMode",b.je);return a};a.prototype.ba=function(){if(this.m("iconURL")){var a=this.j("iconURL");this.af.set("url",a);this.af.set("visible",a?p:y);this.o("iconURL")}d.prototype.ba.call(this)};
return a});define("dH",["hj","dI","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Button",a).B("BaseButton").K({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).vj(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
define("fi",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this);this.set("angle",0);this.set("rotate",y);this.set("inertia",y)});a.A("CapPanoramaOverlay",b).B("PanoramaOverlay").K({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).qc([d.Kc,d.hc,d.Ij,d.pf]).ph([d.V]);return b});
define("eY",["hj","dj","fi"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("CeilingCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("bK","cK,jquery.mod,hj,ji,bL,d".split(","),function(a,b,c,d,g,f){a=c.extend(f,function(){f.call(this);this.Rc("Canvas");this.zM=p;this.u=q;this.bind(d.sb,this.daa,this)});a.prototype.daa=function(){this.aI()};a.prototype.aI=function(){this.zM=p;this.zg()};a.prototype.Ja=function(){f.prototype.Ja.call(this);if(!this.u){this.u=b("<canvas/>");this.u.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.Ma().append(this.u)}};a.prototype.ba=function(){this.ZW()&&this.aI();f.prototype.ba.call(this)};
a.prototype.ie=function(){if(this.zM){this.zM=y;var a=this.u.get(0);a.width=this.td();a.height=this.sd();this.Lpa()}f.prototype.ie.call(this)};a.prototype.Sla=function(){return this.u.get(0).width};a.prototype.Rla=function(){return this.u.get(0).height};a.prototype.Qla=function(){return this.u.get(0).getContext("2d")};a.prototype.Lpa=function(){this.trigger(new g(d.W))};return a});
define("gw",["hj","ji","er","hy","bK"],function(a,b,c,d,g){a=a.extend(d,function(){d.call(this)});a.prototype.rh=function(){d.prototype.rh.call(this)};a.prototype.oa=function(){d.prototype.oa.call(this);this.f("iconColor");this.h("rollOverIconColor",c.q,"iconColor");this.h("pressedIconColor",c.sa,"iconColor");this.h("pressedRollOverIconColor",c.Sa,"iconColor")};a.prototype.LL=function(){var a=new g;a.bind(b.W,this.d8,this,p);return a};a.prototype.ba=function(){this.m("iconColor")&&(this.af.aI(),this.o("iconColor"));
d.prototype.ba.call(this)};a.prototype.Gca=function(){return this.j("iconColor")};a.prototype.Hca=function(){return this.af.Qla()};a.prototype.Jca=function(){return this.af.Sla()};a.prototype.Ica=function(){return this.af.Rla()};a.prototype.d8=D();return a});
define("dO",["hj","gw","X","er"],function(a,b,c,d){a=a.extend(b,function(){b.call(this);this.R({horizontalAlign:c.vc,verticalAlign:c.fc})});a.prototype.oa=function(){b.prototype.oa.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",d.q,"iconLineWidth");this.h("pressedIconLineWidth",d.sa,"iconLineWidth");this.h("pressedRollOverIconLineWidth",d.Sa,"iconLineWidth")};a.prototype.Qca=function(){return this.j("iconLineWidth")};a.prototype.ba=function(){this.m("iconLineWidth")&&(this.af.aI(),
this.o("iconLineWidth"));b.prototype.ba.call(this)};a.prototype.d8=function(){var a=this.Hca(),b=this.Gca(),c=this.Jca(),d=this.Ica(),h=this.Qca();a.clearRect(0,0,c,d);a.lineWidth=h||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,d);a.moveTo(0,d);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("fW",["hj","dO","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("CloseButton",a).B("BaseButton").K({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("hz",["cK","hj","iU","dj"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("Container",a).B("UIComponent").K({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",layout:"enum[absolute, vertical, horizontal]",gap:"number",horizontalAlign:"enum[center, left, right]",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",
verticalAlign:"enum[bottom, middle, top]"}).Cg({scrollTo:function(a,b){c.prototype.scrollTo.call(this,a,b)}});return a});
define("hq",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("dj"),a=b.extend(c,function(){c.call(this);this.N=q});d.A("PanoramaFrame",a).B("Object").K({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).vj(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.hN();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":if(this.N)return this.N.get(a,b)}return c.prototype.get.call(this,a,b)};a.prototype.hN=
function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.CQ(a)};a.prototype.CQ=function(a){if(this.Bv===n||this.ME!=a){var b=function(a){return d.vb("PopupPanoramaOverlay",a)},c=function(a){return d.vb("LensFlarePanoramaOverlay",a)};this.ME=a;this.Bv=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.Bv};a.prototype.Pka=N("N");a.prototype.mw=O("N");return a});
define("iZ",["require","hj","dj","hq"],function(a){var b=a("hj"),c=a("dj"),d=a("hq"),a=b.extend(d,function(){d.call(this)});c.A("CubicPanoramaFrame",a).B("PanoramaFrame").K({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});return a});
define("hv","require,jquery.mod,modernizr.mod,hj,t,hL".split(","),function(a){function b(){}a("jquery.mod");var c=a("modernizr.mod"),d=a("hj"),g=a("t"),a=a("hL");b.wda=function(){try{if(c.audio&&c.audio.mp3)return p}catch(a){}return y};b.xda=function(){try{if(c.audio&&c.audio.ogg)return p}catch(a){}return y};b.Ada=function(){window.MediaSource=window.MediaSource||window.WebKitMediaSource;return window.MediaSource&&typeof window.MediaSource.isTypeSupported==="function"&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};
b.Kda=function(){if(g.browser()==g.sh){var a=g.YH();if(a>=10&&a<11||a>=11.3)return p}return y};b.Bda=function(){return g.browser()==g.Tk||g.browser()==g.sh?p:y};b.RZ=function(){try{if(c.video&&c.video.h264)return p}catch(a){}return y};b.yda=function(){try{if(c.video&&c.video.ogg)return p}catch(a){}return y};b.zda=function(){try{if(c.video&&c.video.webm)return p}catch(a){}return y};b.Sqa=Q(p);b.Cda=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return p}catch(a){}try{if(c.webgl&&
document.createElement("canvas").getContext("experimental-webgl"))return p}catch(b){}return y};b.log=function(){d.log("css transforms 3d: "+b.nS);d.log("webgl: "+b.webgl);d.log("html5 audio: "+b.r6);d.log("html5 video: "+b.u6)};b.Tia=function(){return["css3d:"+b.nS,"webgl:"+b.webgl,"html5audio:"+b.r6,"html5video:"+b.u6].join(" ")};b.t6=b.xda();b.s6=b.wda();b.r6=b.t6||b.s6;b.TS=b.yda();b.WH=b.RZ();b.XH=b.zda();b.v6=b.Kda();b.QS=b.Bda();b.g6=b.QS||b.RZ()&&b.Ada();b.u6=b.TS||b.WH||b.XH;b.nS=p;b.webgl=
b.Cda();a.mh("debug")&&a.mh("capabilities")&&b.log();b.summary=b.Tia();return b});
define("Q",["require","hv"],function(a){a("hv");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ogg:"data:audio/ogg;base64,T2dnUwACAAAAAAAAAAA+HAAAAAAAAGyawCEBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPZ2dTAAIAAAAAAAAAAINDAAAAAAAA9LkergEeAXZvcmJpcwAAAAACRKwAAAAAAAAA7gIAAAAAALgBT2dnUwAAAAAAAAAAAAA+HAAAAQAAAPvOJxcBUGZpc2JvbmUALAAAAINDAAADAAAARKwAAAAAAAABAAAAAAAAAAAAAAAAAAAAAgAAAAAAAABDb250ZW50LVR5cGU6IGF1ZGlvL3ZvcmJpcw0KT2dnUwAAAAAAAAAAAACDQwAAAQAAAGLSAC4Qdv//////////////////cQN2b3JiaXMdAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAwOTA3MDkCAAAAIwAAAEVOQ09ERVI9ZmZtcGVnMnRoZW9yYS0wLjI2K3N2bjE2OTI0HgAAAFNPVVJDRV9PU0hBU0g9ODExM2FhYWI5YzFiNjhhNwEFdm9yYmlzK0JDVgEACAAAADFMIMWA0JBVAAAQAABgJCkOk2ZJKaWUoSh5mJRISSmllMUwiZiUicUYY4wxxhhjjDHGGGOMIDRkFQAABACAKAmOo+ZJas45ZxgnjnKgOWlOOKcgB4pR4DkJwvUmY26mtKZrbs4pJQgNWQUAAAIAQEghhRRSSCGFFGKIIYYYYoghhxxyyCGnnHIKKqigggoyyCCDTDLppJNOOumoo4466ii00EILLbTSSkwx1VZj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JRaKy6GUkoopaTUUpExhFJKKSWl1ooxpoSQUkqptVaMMaGEVFJKKbZijI2lpNRaa60VY2wsJZXWWmutGGOMaym1FmOsxRhjXEuppRhrLMYY43tqLcZYYzHGGJ9baimmXAsAMHlwAIBKsHGGlaSzwtHgQkNWAgC5AQAIQkoxxphjzjnnnHPOSaUYc8455yCEEEIIIZRKMeacc85BByGEEEIoGXPOOQchhBBCCCGEUFLqmHMOQgghhBBCCCGl1DnnIIQQQgghhBBCSqlzzkEIIYQQQgghhJRSCCGEEEIIIYQQQggppZRCCCGEEEIIIZQSUkophRBCCCWEEkoIJaSUUgohhBBCKaWEUkJJKaUUQgillFBKKaGUkFJKKaUQQiillFBKKSWllFJKJZRSSikllFBKSimllEoooZRQSimllJRSSimVUkopJZRSSgkppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUEkpJKaWUUkqllFBKKaWUUlJKKaWUSgqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBABSAQAAQiillFJKKTWMUUoppZRSihyklFJKKaWUUkoppZRSSimVUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKAcDdFw6APhM2rI5wUjQWWGjISgAgFQAAMIYxxphyzjmllHPOOQadlEgp5yB0TkopPYQQQgidhJR6ByGEEEIpKfUYQyghlJRS67GGTjoIpbTUaw8hhJRaaqn3HjKoKKWSUu89tVBSainG3ntLJbPSWmu9595LKinG2nrvObeSUkwtFgBgEuEAgLhgw+oIJ0VjgYWGrAIAYgAACEMMQkgppZRSSinGGGOMMcYYY4wxxhhjjDHGGGOMMQEAgAkOAAABVrArs7Rqo7ipk7zog8AndMRmZMilVMzkRNAjNdRiJdihFdzgBWChISsBADIAAMRRrDXGXitiGISSaiwNQYxBibllxijlJObWKaWUk1hTyJRSzFmKJXRMKUYpphJCxpSkGGOMKXTSWs49t1RKCwAAgCAAwECEzAQCBVBgIAM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KjgGIbvhVNcCwBs+VDDUEANE7nG1o6SDAnUMLFTeVERQTLhCAcQMpQPwmGZLNoaoa4IXSj0kbpjcmOkR7ggzG8dydAbPgixyHjNx8yaACT9fEbDNTnZ7ZPPa0FWTGfW00NVR9TbZtbUtiluzGZGAQTQv7AkEoSmiIebhzhAIABlEHq60XRvRYQoY0q0EDOtDqfMqPamA79tpsPWCccc88ehQ6ti2Nk4cGTnt8UUtbWO9j5WHEdmHh+7C9wIRcbudjS9CXjM7kaocWm3CfsmIKfZpvtHUVaURZ6uy8pxxLmzR5SEHNsXspeo+DDzw4x9MaFSHm6tIyWiFempO9P2dtOMiWnTObTzx19O+Msvi/htb6NqsZ/O3s7eMiJWj9dTFq5AEM9w6Lh/X076mm6aA9sCSIoJAHo13PxwXzBABvcU8c/u7iQHUUTgzNM0Wo1dlmJRzDKZSAAAAAAwJwLO5a/4yl+5v++H209u/94v13Pn59nDcvtSL21xLUpndfvy7VA5//w4f27LOL795PYo+f7974+SXupFFhk591zTOL79eH98nts4eItR07Oe9axnPeuZE0CZ27tPW1u3OzOKit91rOe+1K7jFmVbZRyPx0AxaDGNyYnJp/7+eXL7yaB/9H/Pku1wvejpgenJsPvz+/+mrSgjkevxerzVlbPImoxrYbKeY8BJsnrRY89KMmG12IoUvs3b7eanpycFiVHdouYWg8lsNmt1FS+33+9zIiFVOq5jbU9nZ1MABYA2AQAAAAAAg0MAAAkAAACfd/skAWoWAKqz3++H+/T0pGA6hrVD9XUrrc4zc3Nzc/r9sOZyIGq6bDnpYwKensDQ9y/K37+cAFtbW3TudhWOtwZzlstb/X5/a6vf72/x5+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK"};a.src=
a.ogg;return a});
define("jh",["require","hj"],function(a){function b(a){return d[k][a]||d.en[a]||a}var c=a("hj"),d={ca:{"enable-audio-prompt":"Activar \u00e0udio?","enable-video-prompt":"Activar v\u00eddeo?","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",yes:"s\u00ed",no:"no",cancel:"Cancel\u00b7lar","change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu","dont-display-again":"No tornis a mostrar aquesta informaci\u00f3",download:"Descarregar",
downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.",downloading:"Baixant","download-failed":"Error de desc\u00e0rrega","download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia","delete-downloaded":"Suprimeix","refresh-downloaded":"Actualitzaci\u00f3","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.","storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.",
"storage-not-provided-launch-from-desktop":"Torneu a iniciar la visita virtual des de la icona de l'escriptori per a descarregar-la.","enter-fullscreen":"Entra a pantalla completa","exit-fullscreen":"Surt de pantalla completa","giroscope-disabled-safari-request-permission":"<div>Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.</div>\n<div>Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana.</div>",
"giroscope-disabled-http":"<div>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.</div>",mute:"Silenciar",unmute:"No activa","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.",
"use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","use-cardboard":"Utilitzeu Cardboard","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.","launch-default-browser":"Inicieu el navegador per defecte",
"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.","exit-vr":"Surt de VR","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.",
"use-default-cardboard":"\u00das per defecte","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.","use-cardboard-v2":"Utilitzeu Cardboard v2","enter-vr":"Introdu\u00efu contingut de VR","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR","rotate-device":"Gireu el dispositiu"},de:{"enable-audio-prompt":"Audio aktivieren?","enable-video-prompt":"Video aktivieren?",
"enable-video-audio-prompt":"Video und Audio aktivieren?",yes:"ja",no:"nein","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zum Ziehen und Loslassen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu verschieben","dont-display-again":"Diese Info nicht mehr anzeigen","enter-fullscreen":"Vollbildmodus aktivieren","exit-fullscreen":"Vollbild verlassen","giroscope-disabled-safari-request-permission":"<div>Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts  sind f\u00fcr diese Seite deaktiviert.</div>\n<div>Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden.</div>",
"giroscope-disabled-safari-toggle-on":'<div>Der Zugriff auf Bewegung und Ausrichtung Ihres Ger\u00e4ts ist f\u00fcr diese Seite deaktiviert.</div>\n<div>Um diese Webseite richtig anzuzeigen, deaktivieren Sie die Ausrichtungssperre bitte wie folgt:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Greifen Sie \u00fcber https auf diese Webseite zu.</li>\n<li>In den Einstellungen Ihres Ger\u00e4ts: "Einstellungen> Safari> Datenschutz und Sicherheit" aktivieren Sie: "Zugriff auf Bewegung und Orientierung".</li>\n<li>Aktualisieren Sie den Browser.</li>\n</ul>',
"giroscope-disabled-http":"<div>Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.</div>",mute:"Deaktiviere audio",unmute:"Audio aktivieren","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."},
en:{"enable-audio-prompt":"Enable audio?","enable-video-prompt":"Enable video?","enable-video-audio-prompt":"Enable video and audio?",yes:"yes",no:"no",cancel:"Cancel","change-to-drag-and-release":"Change control mode to Drag and Release","change-to-click-and-move":"Change control mode to Click and Move","dont-display-again":"Don't display this info again",download:"Download",downloaded:"This tour is downloaded for offline playing.",downloading:"Downloading","download-failed":"Download failed","download-tour":"Download Tour for offline playing",
"delete-downloaded":"Delete","refresh-downloaded":"Refresh","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","enter-fullscreen":"Enter fullscreen","exit-fullscreen":"Exit fullscreen","giroscope-disabled-safari-request-permission":"<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 click continue and accept the permission request if prompted.</div>",
"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>',"giroscope-disabled-http":"<div>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.</div>",
mute:"Mute",unmute:"Unmute","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.","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","use-cardboard":"Use Cardboard","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.",
"launch-default-browser":"Launch in 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.","exit-vr":"Exit VR","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.",
"use-default-cardboard":"Use Default","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.","use-cardboard-v2":"Use Cardboard v2","enter-vr":"Enter VR content","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","rotate-device":"Please, rotate your device"},no:{"change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",
"enter-fullscreen":"G\u00e5 til full skjerm","exit-fullscreen":"G\u00e5 ut av full skjerm ",mute:"Skru av lyd",unmute:"Skru p\u00e5 lyd"},es:{"enable-audio-prompt":"\u00bfActivar audio?","enable-video-prompt":"\u00bfActivar v\u00eddeo?","enable-video-audio-prompt":"\u00bfActivar v\u00eddeo y audio?",yes:"si",no:"no","change-to-drag-and-release":"Cambiar el modo de control a arrastrar y soltar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover","dont-display-again":"No volver a mostrar esta informaci\u00f3n",
download:"Descargar",downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.",downloading:"Descargando","download-failed":"La descarga ha fallado","download-tour":"Descargar el tour para reproducirlo sin conexi\u00f3n","delete-downloaded":"Borrar","refresh-downloaded":"Actualizar","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.","storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.",
"storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa","exit-fullscreen":"Salir de pantalla completa","giroscope-disabled-safari-request-permission":"<div>El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.</div>\n<div>Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra.</div>","giroscope-disabled-safari-toggle-on":'<div>El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.</div>\n<div>Para ver correctamente la p\u00e1gina web por favor habil\u00edtelo:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Acceda a esta p\u00e1gina web a por https.</li>\n<li>Acceda a los ajustes del dispositivo : "Ajustes > Safari > Privacidad y Seguridad" y active: "Acceso al movimiento y la orientaci\u00f3n".</li>\n<li>Recargue el navegador.</li>\n</ul>',
"giroscope-disabled-http":"<div>Est\u00e1 accedindo 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.</div>",mute:"Silenciar",unmute:"Habilitar sonido","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.",
"use-cardboard-info":"Puede usar unas gafas compatibles con Google Cardboard para ver este contenido en VR.","use-cardboard":"Usar Cardboard","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.","launch-default-browser":"Lanzar en el 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.",
"exit-vr":"Salir de VR","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.","use-default-cardboard":"Usar versi\u00f3n por defecto","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.","use-cardboard-v2":"Usar Cardboard v2","enter-vr":"Entrar al contenido VR",
"use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR","rotate-device":"Por favor, gire el dispositivo"},fr:{"enable-audio-prompt":"Activer l'audio?","enable-video-prompt":"Activer la vid\u00e9o?","enable-video-audio-prompt":"Activer l'audio? et la vid\u00e9o?",yes:"oui",no:"non","change-to-drag-and-release":"Changer le mode de contr\u00f4le pour faire glisser et rel\u00e2cher","change-to-click-and-move":"Changer le mode de contr\u00f4le pour cliquer et d\u00e9placer","dont-display-again":"Ne plus afficher cette information",
"enter-fullscreen":"Passer en mode plein \u00e9cran","exit-fullscreen":"Quitter le mode plein \u00e9cran",mute:"D\u00e9sactiver l'audio","giroscope-disabled-safari-request-permission":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour ce site.</div>\n<div>Pour voir correctement cette page Web, veuillez cliquer sur Continuer et accepter la demande d'autorisation si elle est affich\u00e9e.</div>","giroscope-disabled-safari-toggle-on":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour ce site.</div>\n<div>Pour voir correctement cette page Web, vous devez:</div>\n<ul style=\"display:inline-block; text-align:left;\">\n<li>Acc\u00e9der \u00e0 cette page via une page s\u00e9curis\u00e9e https.</li>\n<li>Acc\u00e9dez aux param\u00e8tres de votre appareil: R\u00e9glages > Safari > Confidentialit\u00e9 et s\u00e9curit\u00e9, puis activez : Mouvement et orientation.</li>\n<li>Actualiser le navigateur.</li>\n</ul>",
"giroscope-disabled-http":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour cette page Web. Veuillez y acc\u00e9der via https.</div>",unmute:"Activer l'audio"},ru:{"enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a?","enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?","enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e \u0438 \u0432\u0438\u0434\u0435\u043e?",
yes:"\u0434\u0430",no:"\u043d\u0435\u0442","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044c \u0438 \u043e\u0442\u043f\u0443\u0441\u0442\u0438\u0442\u044c","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0449\u0435\u043b\u043a\u043d\u0443\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c",
"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","exit-fullscreen":"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",mute:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a",unmute:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"},
it:{"enable-audio-prompt":"Abilita l'audio?","enable-video-prompt":"Abilita il video?","enable-video-audio-prompt":"Abilita audio e video?",yes:"s\u00ec",no:"no","change-to-drag-and-release":"Cambia la modalit\u00e0 di controllo per trascinare e rilasciare","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare","enter-fullscreen":"Entra a schermo intero","exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",mute:"Disabilita audio",unmute:"Abilita audio"},
pl:{"enable-audio-prompt":"W\u0142\u0105czy\u0107 d\u017awi\u0119k?","enable-video-prompt":"W\u0142\u0105czy\u0107 video?","enable-video-audio-prompt":"W\u0142\u0105czy\u0107 video i d\u017awi\u0119k?",yes:"tak",no:"nie",cancel:"Anuluj","change-to-drag-and-release":"Zmie\u0144 tryb na Przeci\u0105gnij i Upu\u015b\u0107","change-to-click-and-move":"Zmie\u0144 tryb na to Kliknij i Przenie\u015b","dont-display-again":"Nie wy\u015bwietlaj tego ponownie",download:"Pobierz",downloaded:"Spacer jest pobierany do odtwarzania w trybie offline.",
downloading:"Pobieranie","download-failed":"Pobieranie nie powiod\u0142o si\u0119","download-tour":"Pobierz spacer do odtwarzania w trybie offline","delete-downloaded":"Usu\u0144","refresh-downloaded":"Od\u015bwie\u017c","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.","storage-not-provided-launch-from-homescreen":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 strony g\u0142\u00f3wnej.",
"storage-not-provided-launch-from-desktop":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 pulpitu.","enter-fullscreen":"Uruchom pe\u0142ny ekran","exit-fullscreen":"Wyjd\u017a z trybu pe\u0142nego ekranu","giroscope-disabled-safari-request-permission":"<div>Dost\u0119p do funkcji ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone dla tej strony.</div>\n<div>Aby poprawnie wy\u015bwietli\u0107 stron\u0119, kliknij kontynuuj i zaakceptuj wszystkie zgody.</div>","giroscope-disabled-http":"<div>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.</div>",
mute:"Wycisz",unmute:"Wy\u0142\u0105cz Wycisz","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.","use-cardboard-info":"Do wy\u015bwietlania w VR mo\u017cesz u\u017cy\u0107 oklular\u00f3w zgodnych z Google Cardboard.","use-cardboard":"U\u017cyj Cardboard","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.",
"launch-default-browser":"Uruchom w domy\u015blnej przegl\u0105darce","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.","exit-vr":"Wyjd\u017a z VR","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.",
"use-default-cardboard":"U\u017cyj Domy\u015blnych","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.","use-cardboard-v2":"U\u017cyj Cardboard v2","enter-vr":"Wejd\u017a do VR","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR","rotate-device":"Obr\u00f3\u0107 urz\u0105dzenie"},pt:{"enable-audio-prompt":"Ativar \u00e1udio?",
"enable-video-prompt":"Ativar v\u00eddeo?","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",yes:"sim",no:"n\u00e3o",cancel:"Cancelar","change-to-drag-and-release":"Altere o modo de constroe para Arrastar e Soltar","change-to-click-and-move":"Altere o modo de controle para Clique e Mover","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente",download:"Download",downloaded:"This tour is downloaded for offline playing.",downloading:"Baixando","download-failed":"Falha no Download",
"download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","delete-downloaded":"Apagar","refresh-downloaded":"Atualizar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.",
"enter-fullscreen":"Entrar em tela cheia","exit-fullscreen":"Sair da tela cheia","giroscope-disabled-safari-request-permission":"<div>O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.</div>\n<div>Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado.</div>","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.",
mute:"Mudo",unmute:"silencioso","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.","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","use-cardboard":"Use Cardboard","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.",
"launch-default-browser":"Iniciar no navegador padr\u00e3o","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.","exit-vr":"Sair do VR","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.",
"use-default-cardboard":"Use o padr\u00e3o","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.","use-cardboard-v2":"Use Cardboard v2","enter-vr":"Inserir conte\u00fado VR","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","rotate-device":"Por favor, gire seu dispositivo"},zh:{"enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f",
"enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","enable-video-audio-prompt":"\u542f\u7528\u89c6\u9891\u548c\u97f3\u9891\uff1f",yes:"\u662f",no:"\u5426",cancel:"\u53d6\u6d88","change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d","dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f",download:"\u4e0b\u8f7d",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002",
downloading:"\u6b63\u5728\u4e0b\u8f7d","download-failed":"\u4e0b\u8f7d\u5931\u8d25","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e","delete-downloaded":"\u5220\u9664","refresh-downloaded":"\u5237\u65b0","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","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",
"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","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f","giroscope-disabled-safari-request-permission":"<div>\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</div>\n<div>\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\u3002</div>",
"giroscope-disabled-http":"<div>\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</div>",mute:"\u9759\u97f3",unmute:"\u53d6\u6d88\u9759\u97f3","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"}};
d["zh-tw"]=d["zh-hk"]=d["zh-mo"]={"enable-audio-prompt":"\u5141\u8a31\u8072\u97f3\u64ad\u653e?","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","enable-video-audio-prompt":"\u5141\u8a31\u5f71\u7247\u53ca\u8072\u97f3\u64ad\u653e?",yes:"\u662f",no:"\u5426",cancel:"\u53d6\u6d88","change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",
"dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f",download:"\u4e0b\u8f09",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002",downloading:"\u6b63\u5728\u4e0b\u8f09","download-failed":"\u4e0b\u8f09\u5931\u6557","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e","delete-downloaded":"\u522a\u9664","refresh-downloaded":"\u91cd\u65b0\u6574\u7406","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\r\n",
"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\r\n","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","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",
"giroscope-disabled-safari-request-permission":"<div>\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</div>\n<div>\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</div>","giroscope-disabled-http":"<div>\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</div>",
mute:"\u975c\u97f3",unmute:"\u53d6\u6d88\u975c\u97f3","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"};
d.ar={"enable-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a\u061f","enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f","enable-video-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a \u0648\u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627",no:"\u0644\u0627","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",
"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","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",mute:"\u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u0635\u0648\u062a",
unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a"};d.hu={"enable-audio-prompt":"Hang enged\u00e9lyez\u00e9se","enable-video-prompt":"Szeretn\u00e9d l\u00e1tni a vide\u00f3t?","enable-video-audio-prompt":"Hang \u00e9s vide\u00f3 enged\u00e9lyez\u00e9se",yes:"igen",no:"nem",cancel:"M\u00e9gsem","change-to-drag-and-release":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa: megfog \u00e9s mozgat m\u00f3dra","change-to-click-and-move":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa kattint \u00e9s k\u00f6rben\u00e9z m\u00f3dra",
"dont-display-again":"Ne mutasd \u00fajra",download:"Let\u00f6lt\u00e9s",downloaded:"Ez a t\u00fara offline is megtekinthet\u0151",downloading:"Let\u00f6lt\u00e9s","download-failed":"Let\u00f6lt\u00e9s sikertelen","download-tour":"T\u00fara let\u00f6lt\u00e9se offline megtekint\u00e9shez","delete-downloaded":"T\u00f6rl\u00e9s","refresh-downloaded":"Friss\u00edt\u00e9s","storage-not-provided-bookmark":"Pr\u00f3b\u00e1lja meg az oldalt megjel\u00f6lni \u00e9s \u00fajrat\u00f6lteni!","storage-not-provided-launch-from-homescreen":"Ind\u00edtsd \u00fajra a t\u00far\u00e1t a home ikonra kattintva.",
"storage-not-provided-launch-from-desktop":"K\u00e9rlek ind\u00edtsd \u00fajra az oldalt az asztalon tal\u00e1lhat\u00f3 iconra kattintva.","enter-fullscreen":"Teljesk\u00e9perny\u0151","exit-fullscreen":"Kil\u00e9p\u00e9s a teljesk\u00e9perny\u0151 m\u00f3db\u00f3l","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.\nAhhoz hogy megfelel\u0151en l\u00e1sd az oldalt k\u00e9rlek enged\u00e9lyezd a hozz\u00e1f\u00e9r\u00e9st.",
"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.",mute:"N\u00e9m\u00edt\u00e1s",unmute:"N\u00e9m\u00edt\u00e1s kikapcsol\u00e1sa","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.",
"use-cardboard-info":"Haszn\u00e1lhatsz b\u00e1rmilyen google cardboard-ot ahhoz, hogy VR m\u00f3dban l\u00e1sd a t\u00far\u00e1t.","use-cardboard":"Cardboard haszn\u00e1lata","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.","launch-default-browser":"Futtat\u00e1s az alap\u00e9rtelmezett b\u00f6ng\u00e9sz\u0151ben","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.",
"exit-vr":"Exit VR","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.","use-default-cardboard":"Alap\u00e9rtelmezett haszn\u00e1lata","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","use-cardboard-v2":"Cardboard 2.0 haszn\u00e1lata",
"enter-vr":"VR tartalom megtekint\u00e9se","use-safari-for-vr":"Azt javasoljuk, hogy haszn\u00e1lj Safari b\u00f6ng\u00e9sz\u0151t a VR n\u00e9zet megtekint\u00e9s\u00e9hez","rotate-device":"K\u00e9rlek forgasd el a telfont"};d.ja={"enable-audio-prompt":"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",
yes:"\u306f\u3044",no:"\u3044\u3044\u3048",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","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","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","dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044",download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",
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",downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d","download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","delete-downloaded":"\u524a\u9664",
"refresh-downloaded":"\u66f4\u65b0","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","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",
"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","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b","exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b","giroscope-disabled-safari-request-permission":"<div>\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</div>\n<div>\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</div>",
"giroscope-disabled-http":"<div>\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</div>",
mute:"\u30df\u30e5\u30fc\u30c8",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","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",
"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","use-cardboard":"Cardboard\u5229\u7528","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",
"launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","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",
"exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","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",
"use-default-cardboard":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528","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","use-cardboard-v2":"Cardboard v2\u5229\u7528","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","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",
"rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044"};d.nl={"enable-audio-prompt":"Audio inschakelen?","enable-video-prompt":"Video inschakelen?","enable-video-audio-prompt":"Audio en video inschakelen?",yes:"Ja",no:"Nee","change-to-drag-and-release":"Verander de besturingsmodus om te slepen en los te laten","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen","enter-fullscreen":"Voer het volledige scherm in","exit-fullscreen":"Verlaat volledig scherm",
mute:"Schakel audio uit",unmute:"Schakel audio in"};d.sv={"enable-audio-prompt":"Aktivera ljud?","enable-video-prompt":"Aktivera video?","enable-video-audio-prompt":"Aktivera ljud och video?",yes:"ja",no:"Nej","change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta","enter-fullscreen":"Ange fullsk\u00e4rm","exit-fullscreen":"Avsluta fullsk\u00e4rmen",mute:"Inaktivera ljud",
unmute:"Aktivera ljud"};d.no={"enable-audio-prompt":"Aktivere audio?","enable-video-prompt":"Aktivere video?","enable-video-audio-prompt":"Aktivere video og lyd?",yes:"Ja",no:"Nei",cancel:"Avbryt","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt","dont-display-again":"Ikke vis denne informasjonen igjen",download:"Last ned",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.",downloading:"Laster ned",
"download-failed":"Nedlastning feilet","download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","delete-downloaded":"Slett","refresh-downloaded":"Last inn p\u00e5 nytt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.",
"enter-fullscreen":"G\u00e5 til full skjerm","exit-fullscreen":"G\u00e5 ut av full skjerm","giroscope-disabled-safari-request-permission":"<div>Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.</div>\n<div>For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette.</div>","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.",
mute:"Skru av lyd",unmute:"Skru p\u00e5 lyd","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.","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","use-cardboard":"Bruk Cardboard","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.",
"launch-default-browser":"\u00c5pne i 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.","exit-vr":"G\u00e5 ut av VR","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.",
"use-default-cardboard":"Bruk Standard","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.","use-cardboard-v2":"Bruk Cardboard Versjon 2","enter-vr":"\u00c5pne VR Modus","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","rotate-device":"Vennligst roter enheten"};d.fi={"enable-audio-prompt":"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?",
"enable-video-prompt":"Ota video k\u00e4ytt\u00f6\u00f6n?","enable-video-audio-prompt":"Ota \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?",yes:"Joo",no:"ei","change-to-drag-and-release":"Muuta ohjaustilaa vet\u00e4m\u00e4ll\u00e4 ja vapauttamalla","change-to-click-and-move":"Muuta ohjaustilaa napsauttamalla ja siirt\u00e4m\u00e4ll\u00e4","enter-fullscreen":"Anna koko n\u00e4ytt\u00f6","exit-fullscreen":"Poistu koko n\u00e4yt\u00f6st\u00e4",mute:"Poista \u00e4\u00e4ni k\u00e4yt\u00f6st\u00e4",unmute:"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n"};
d.da={"enable-audio-prompt":"Aktiv\u00e9r lyd?","enable-video-prompt":"Aktiv\u00e9r video?","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?",yes:"Ja",no:"ingen","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe","change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte","enter-fullscreen":"Indtast fuldsk\u00e6rm","exit-fullscreen":"Afslut fuldsk\u00e6rm",mute:"Deaktiver lyd",unmute:"Aktiv\u00e9r lyd"};d.el={"enable-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5;",
"enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;","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;",yes:"\u039d\u03b1\u03af",no:"\u03cc\u03c7\u03b9","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",
"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","enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",
"exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5"};d.tr={"enable-audio-prompt":"Ses aktif edilsin mi?","enable-video-prompt":"Video aktif edilsin mi?",
"enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?",yes:"evet",no:"hay\u0131r","change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin","enter-fullscreen":"Tam ekran yap","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak",unmute:"Sesi etkinle\u015ftir"};d.hr={"enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?",
"enable-video-prompt":"Omogu\u0107ite videozapis?","enable-video-audio-prompt":"Omogu\u0107iti videozapis i zvuk?",yes:"Da",no:"Ne","change-to-drag-and-release":"Promijenite na\u010din upravljanja u povla\u010denje i otpu\u0161tanje","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti","enter-fullscreen":"Unesite cijeli zaslon","exit-fullscreen":"Iza\u0111ite s punog zaslona",mute:"nijem",unmute:"Uklju\u010di mikrofon"};var g=function(){var a=window.navigator,b=["language",
"browserLanguage","systemLanguage","userLanguage"],c,e,f=[],d=a.languages;if(Array.isArray(d))for(c=0;c<d.length;c++)if((e=d[c])&&e.length)e=e.toLowerCase(),-1==f.indexOf(e)&&f.push(e);for(c=0;c<b.length;c++)if((e=a[b[c]])&&e.length)e=e.toLowerCase(),-1==f.indexOf(e)&&f.push(e);return f}(),f=Object.keys(d),k=function(){for(var a=0;a<g.length;a++){var b=g[a];if(0<=f.indexOf(b))return b;b=b.substr(0,2);if(0<=f.indexOf(b))return b}return"en"}();b.log=function(){c.log("translation lang: "+k);c.log("browser lang: "+
g.join(", "))};return b});
define("fr",["require","hv"],function(a){var a=a("hv"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",T6:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};b.src=
!a.WH&&a.XH?b.webm:b.T6;return b});
define("bU",["require","fr","t","hL"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("playsinline","playsinline");b.src=f.src;var c=b.play();if(c){var h=y;c.then(function(){h=p;b.pause();a(y)})["catch"](function(){h||a(p)})}else b.pause(),a(y)}function c(a){var b=y,c=document.createElement("video");c.src="";(c=c.play())?c["catch"](function(a){b="NotAllowedError"!==a.name}).then(function(){a(!b)}):a(p)}function d(a){m=a;j=p;g()}function g(){for(;h.length;)h.shift().call(window,m)}
var f=a("fr"),k=a("t");a("hL");var j=y,h=[],m;(function(){k.browser()==k.Tk&&11<=k.Zna()?d(p):k.browser()==k.sh?b(d):c(function(a){a?b(d):d(y)})})();return{test:function(a){h.push(a);j&&g()}}});
define("ht",["require","jh","d","hC","bU"],function(a){function b(a,b){this.Sv=a;this.On=b;this.media=0;this.k7=[];this.wk=this.wk.bind(this)}function c(){this.L4=[];this.gX=[];this.lr=[];this.xo={};this.xo[k]=n;this.xo[j]=n;this.wk=this.wk.bind(this);this.HR=this.HR.bind(this);f.test(function(a){a?g.g8(this.HR):this.wk(j|k,p)}.bind(this))}var d=a("jh");a("d");var g=a("hC"),f=a("bU");c.prototype.h8=function(a){this.xo[j]?a.call(this,p):this.L4.push(a)};c.prototype.Rpa=function(a){this.xo[k]?a.call(this,
p):this.gX.push(a)};c.prototype.Tna=function(a,b){this.Dn(k,a,b)};c.prototype.GT=function(a,b){this.Dn(j,a,b)};c.prototype.qpa=function(){this.xo[j]=n};c.prototype.HR=function(){var a=j|k;this.lr.forEach(function(b){a&=~b.media});this.xm(a,p)};c.prototype.Dn=function(a,b,c){this.xo[a]===n&&this.X9(b,c).gm(a)};c.prototype.wk=function(a,b){this.baa();this.xm(a,b)};c.prototype.xm=function(a,b){a&j&&(this.xo[j]=b,this.L4.forEach(function(a){a.call(window,b)}));a&k&&(this.xo[k]=b,this.gX.forEach(function(a){a.call(window,
b)}))};c.prototype.baa=function(){var a=this.lr;this.lr=[];a.forEach(function(a){a.cancel()})};c.prototype.X9=function(a,c){for(var e=q,f=0;f<this.lr.length&&!e;f++)this.lr[f].Sv==a&&(e=this.lr[f]);e||(e=new b(a,this.wk),this.lr.push(e));0>e.k7.indexOf(c)&&e.k7.push(c);return e};var k=1,j=2;b.prototype.gm=function(a){0===(a&this.media)&&(this.media|=a,"button"==this.Sv.get("mediaActivationMode")?this.Sv.kH.Una(this.wk):this.Sv.aF.show(this.Rca(this.media),this.wk))};b.prototype.cancel=function(){this.Sv.kH.Zka(this.wk);
this.Sv.aF.hide(this.wk)};b.prototype.wk=function(a){this.On(this.media,a!==y);this.media=0};b.prototype.Rca=function(a){return a==(k|j)?d("enable-video-audio-prompt"):a==j?d("enable-video-prompt"):d("enable-audio-prompt")};return new c});
define("ey",["require","ji","bL","dX"],function(a){function b(){var a;a=g?!f:!document[j];k.visible!=a&&(k.visible=a,k.trigger(new d(c.W)))}var c=a("ji"),d=a("bL"),g=y,f=y,k=new (a("dX"));k.visible=p;for(var j,h,a=["hidden","msHidden","webkitHidden"],m=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],e=0;e<a.length;e++)"undefined"!==typeof document[a[e]]&&(j=a[e],h=m[e]);j===n||"undefined"===typeof document[j]?(j="hidden",document[j]=y,h=function(){document[j]=y;b()},a=function(){document[j]=
p;b()},document.addEventListener?(window.addEventListener("focus",h,p),window.addEventListener("blur",a,p)):(document.attachEvent("onfocusin",h),document.attachEvent("onfocusout",a))):document.addEventListener(h,b,y);k.sI=function(a){(g=a)&&(f=y);b()};window.addEventListener("vrdisplayblur",function(){f=p;b()},p);window.addEventListener("vrdisplayfocus",function(){f=y;b()},p);return k});
define("eZ","require,cK,hj,ji,ew,fc,bL,dX,Q,fw,d,ht,ey".split(","),function(a){a("cK");var b=a("hj"),c=a("ji"),d=a("ew"),g=a("fc"),f=a("bL"),k=a("dX"),j=a("Q"),h=a("fw"),m=a("d"),e=a("ht"),l=a("ey"),r=j.src,a=b.extend(k,function(){k.call(this);this.Vi=this.Vi.bind(this);this.ll=this.ll.bind(this);this.sn=this.sn.bind(this);this.js=this.js.bind(this);this.wK=this.wK.bind(this);this.dA=[];this.Wt="";this.Am=d.L;this.fs=n;this.or=y;this.$g=d.L;this.Dp="";this.rl=n;this.Jr=y;this.Wd="inactive";l.bind(c.W,
this.TR,this);this.iF=n;this.SK=y;this.zc=document.createElement("audio");this.zc.autobuffer="autobuffer";this.zc.rt="auto";this.zc.addEventListener("progress",this.Vi,y);this.zc.addEventListener("ended",this.ll,p);this.zc.addEventListener("pause",this.sn,y);this.zc.addEventListener("canplaythrough",this.js,y);e.Rpa(this.wK)});a.prototype.wK=function(a){if(this.Wd=="asking")this.Wd="inactive";a?this.xm():this.va.set("mute",p)};a.prototype.JT=N("va");a.prototype.play=function(a,b){this.Dp=a;this.rl=
b;this.Wz(d.T)};a.prototype.stop=function(){this.Wz(d.L)};a.prototype.nj=function(){return this.zc&&this.zc.currentTime||0};a.prototype.ui=function(a){this.zc.volume=a};a.prototype.Wz=function(a){this.$g=a;this.Wd=="activated"?l.visible&&this.ul():this.Wd=="inactive"&&(m.xw()?this.xm():this.$g!=d.L?this.xx():this.ul())};a.prototype.xx=function(){this.Wd="asking";e.Tna(this.va,this)};a.prototype.Vi=function(){if(this.rl!==n){this.zc.currentTime=this.rl;this.rl=n}};a.prototype.sn=function(){if(this.Am==
d.T||this.or&&this.fs==d.T)!isNaN(this.zc.duration)&&this.zc.currentTime==this.zc.duration?this.ll():l.visible&&this.zc.play()};a.prototype.ll=function(){if(this.Am==d.T||this.or&&this.fs==d.T){this.aj(y);this.Am=d.L;this.trigger(new f(c.ua))}};a.prototype.js=function(){this.SK=p;this.CA();this.aj(y)};a.prototype.TR=function(){l.visible?this.$g&&this.dea?this.ul():this.Am==d.T&&this.zc.play():this.Am==d.T&&this.zc.pause()};a.prototype.xm=function(){if(this.Wd=="inactive"||this.Wd=="asking"){this.Wd=
"activating";this.e3(r);this.G1(function(){this.Wd="activated";this.zc.pause();this.ul()}.bind(this),function(){this.Wd="inactive";this.xx()}.bind(this))}};a.prototype.ul=function(){this.$g!=d.L&&this.gha(this.Dp,this.rl);this.hha(this.$g);this.rl=this.$g=this.Dp=n};a.prototype.gha=function(a,b){this.e3(a||"");this.zc.currentTime!=b&&this.iha(b)};a.prototype.iha=function(a){try{this.zc.currentTime=a}catch(b){}this.iF=a;this.CA()};a.prototype.CA=function(){if(this.SK&&this.iF!==n){try{this.zc.currentTime=
this.iF}catch(a){}this.iF=n}};a.prototype.hha=function(a){this.fs=a;this.or||this.VF()};a.prototype.VF=function(){if(this.Am!=this.fs)if(this.fs==d.T||this.fs==d.Jc&&this.Am!=d.T){this.or=p;this.aj(this.Wt!=r&&this.Wt!=""?p:y);var a=function(){if(this.or){this.Am=d.T;this.or=y;this.VF()}}.bind(this),b=function(){this.or=y;this.aj(y);setTimeout(function(){this.VF()}.bind(this),100)}.bind(this);this.G1(a,b)}else{this.aj(y);this.zc.pause();this.Am=this.fs;this.VF()}};a.prototype.G1=function(a,b){function c(){if(!f){l();
b&&b()}}function e(){f=p;l();a&&a()}var f=y,d=2E3,h,g=function(){d=Math.min(d*2,8E3);h=setTimeout(g,d);this.zc.play()}.bind(this),j=function(){this.zc.addEventListener("play",e,y);this.zc.addEventListener("error",c,y);h=setTimeout(g,d)}.bind(this),l=function(){this.zc.removeEventListener("play",e,y);this.zc.removeEventListener("error",c,y);clearTimeout(h)}.bind(this);j();(j=this.zc.play())&&j["catch"](c)};a.prototype.e3=function(a){if(this.Wt!=a){this.SK=y;this.Wt=a;this.zc.src=this.Wt?this.Wt:j.src}};
a.prototype.aj=function(a){if(this.Jr!=a)(this.Jr=a)?h.V7(g.IC):h.U7(g.IC)};return a});
define("fj",["require","cK","hL"],function(a){var b=a("cK"),c=a("hL"),a={is:function(a,g){var f=c.parse(a).wla;return b(g).contains(f)},FB:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},MC:[".mp4",".m4v",".m4p"],XC:[".webm"],vV:[".ogv",".ogg"],O8:[".mpg",".mpeg"],E8:[".jpg",".jpeg"],Wk:[".m3u8"],uV:[".mpd"],V8:[".png"],A8:[".gif"],l8:[".bmp"]};a.B8=[].concat(a.E8,a.V8,a.A8,a.l8);a.Pw=[].concat(a.Wk,a.uV);a.eK=[].concat(a.Pw,a.MC,a.XC,a.vV,a.O8,a.Wk,a.uV);a.C8=["data:image/"];
return a});
define("bI",["require","hL"],function(a){function b(){this.PE=this.jO=q;this.Hm=[];this.jl=y;this.gp=n}var c=a("hL");b.prototype.Zn=function(a,b){this.jO=c.Aq(a);this.PE=b;this.J()};b.prototype.load=function(a,b){var c={};c.call=a;c.context=b||window;this.Hm.push(c);this.gp||(this.gp=this.yZ());this.J()};b.prototype.$n=function(){return this.gp!==n};b.prototype.J=function(){0<this.Hm.length&&(this.gp!==n?this.tba():this.jO&&this.My())};b.prototype.My=function(){if(!(this.jl||this.gp!==n)){this.jl=
p;var a=document.createElement("script");a.type="text/javascript";a.src=this.jO;document.getElementsByTagName("head")[0].appendChild(a);this.S4()}};b.prototype.S4=function(){var a=this.yZ();if(a===n){var b=this;setTimeout(function(){b.S4()},250)}else this.gp=a,this.jl=y,this.J()};b.prototype.yZ=function(){if(this.PE){for(var a=window,b=0;b<this.PE.length&&a!==n;b++)a=a[this.PE[b]];return a}};b.prototype.tba=function(){for(;0<this.Hm.length;){var a=this.Hm.pop();a.call.call(a.context,this.gp)}};return{eW:new b,
Wk:new b,Zn:function(a){this.Wk.Zn(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.eW.Zn(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("cY","require,hj,ji,ew,fc,bL,dX,hv,t,fj,bI,fw,hL,d,ht,ey,fr".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("ew"),g=a("fc"),f=a("bL"),k=a("dX"),j=a("hv"),h=a("t"),m=a("fj"),e=a("bI"),l=a("fw"),r=a("hL"),o=a("d"),s=a("ht"),t=a("ey"),u=a("fr"),v=b.extend(k,function(){k.call(this);this.ll=this.ll.bind(this);this.sn=this.sn.bind(this);this.QO=this.QO.bind(this);this.js=this.js.bind(this);this.CO=this.CO.bind(this);this.IO=this.IO.bind(this);this.xK=this.xK.bind(this);this.Ti=this.Ti.bind(this);
this.BO=this.BO.bind(this);this.dA=[];this.di=q;this.$b=[];this.fd=y;this.jj=1;this.Jr=y;this.op=this.QR=this.VA=this.ij=n;this.Vs=y;this.$g=d.L;this.tA=this.rl=this.fP=this.Dp=this.gP=n;this.va=this.pd=q;this.t=document.createElement("video");this.jF=n;this.PR=y;this.g3();t.bind(c.W,this.TR,this);this.Wd="inactive";s.h8(this.xK)});v.prototype.g3=function(){for(this.t.parentNode&&this.t.parentNode.removeChild(this.t);this.t.children.length;)this.t.removeChild(this.t.children[0]);this.t.autoplay=y;
this.t.autobuffer="autobuffer";this.t.rt=h.browser()==h.sh?"metadata":"none";this.t.setAttribute("preload",h.browser()==h.sh?"metadata":"none");this.t.setAttribute("webkit-playsinline","true");this.t.setAttribute("playsinline","true");this.t.addEventListener("ended",this.ll,p);this.t.addEventListener("pause",this.sn,y);this.t.addEventListener("stalled",this.sn,y);this.t.addEventListener("waiting",this.sn,y);this.t.addEventListener("timeupdate",this.QO,y);this.t.addEventListener("loadedmetadata",this.IO,
p);this.t.addEventListener("canplay",this.CO,p);this.t.addEventListener("canplaythrough",this.js,y);this.t.textTracks.addEventListener("addtrack",this.BO,y);this.uQ()};v.prototype.clear=function(){this.WX();this.t=q};v.prototype.aw=function(a,b,c){if(this.CB())try{a.drawImage(this.t,0,0,b,c);return}catch(e){}a.fillRect(0,0,b,c)};v.prototype.play=function(a,b,c,e,f){this.va=a;this.Dp=b;this.gP=c;this.rl=e;this.fP=f;this.Wz(d.T)};v.prototype.stop=function(){this.Wz(d.L)};v.prototype.ni=O("ij");v.prototype.CB=
function(){return this.t.readyState==this.t.HAVE_NOTHING||this.t.readyState==this.t.HAVE_METADATA||this.t.currentTime===0?y:p};v.prototype.ag=function(a){if(this.fd!=a){this.fd=a;this.uQ()}};v.prototype.ui=function(a){if(this.jj!=a){this.jj=a;this.uQ()}};v.prototype.uQ=function(){this.t.muted=this.jj===0||this.fd;this.t.volume=this.fd?0:this.jj};v.prototype.Wz=function(a){this.$g=a;this.Wd=="activated"?t.visible&&this.ul():this.Wd=="inactive"&&(this.va&&this.vda()?this.H9():this.va&&o.xw()?this.xm():
this.va&&this.$g!=d.L?this.xx():this.ul())};v.prototype.nj=function(){return this.t&&this.t.currentTime||0};v.prototype.Un=function(){return this.t&&this.t.duration||0};v.prototype.Ic=function(){return this.t&&this.t.videoWidth||0};v.prototype.ud=function(){return this.t&&this.t.videoHeight||0};v.prototype.xx=function(){if(this.va){this.Wd="requested";s.GT(this.va,this)}};v.prototype.vda=function(){var a=this.bZ();return a&&(!a.currentSrc||a.paused)&&!a.muted?p:y};v.prototype.bZ=function(){return this.va.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};
v.prototype.H9=function(){this.t=this.bZ();this.g3();this.xm()};v.prototype.sn=function(){(this.ij==d.T||this.Vs&&this.op==d.T)&&!this.t.hasAttribute("loop")&&!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.ll();this.dH()};v.prototype.xK=function(a){if(this.Wd=="requested")this.Wd="inactive";a&&this.xm()};v.prototype.xm=function(){if(this.Wd=="inactive"||this.Wd=="requested"){this.Wd="activating";this.yG(q,q,0,y,function(){this.kP(function(){this.t.pause();this.Wd=
"activated";this.ul()}.bind(this),function(){this.Wd="inactive";this.xx(this.va)}.bind(this))}.bind(this))}};v.prototype.gd=function(){this.trigger(new f(v.of))};v.prototype.QO=function(){this.trigger(new f(v.AJ))};v.prototype.IO=function(){this.z4();this.trigger(new f(v.nm));this.trigger(new f(v.s8));!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.ll()};v.prototype.CO=function(){this.dH()};v.prototype.js=function(){this.PR=p;this.CA();this.dH();this.aj(y)};v.prototype.ll=
function(){if(this.ij==d.T||this.Vs&&this.op==d.T){this.aj(y);this.ij=d.L;this.t.paused||this.t.pause();this.trigger(new f(v.Gf))}};v.prototype.BO=function(){this.z4()};v.prototype.TR=function(){t.visible?this.$g&&this.dea?this.ul():this.ij==d.T&&this.t.play():this.ij==d.T&&this.t.pause()};v.prototype.ul=function(){if(this.y2(this.Dp)&&!e.Wk.$n())e.Wk.load(this.ul,this);else{var a=function(){this.h3(this.$g);this.rl=this.$g=this.gP=this.Dp=this.fP=n}.bind(this);this.$g==d.T?this.yG(this.Dp,this.gP,
this.rl,this.fP,a):this.VA===n?this.yG(q,q,0,y,a):h.browser()==h.Dq?this.yG(q,q,0,y,a):this.h3(this.$g)}};v.prototype.yG=function(a,b,c,e,f){a=a||q;b=b||q;this.nia(e);if(this.VA!==a||this.QR!=b){this.ij=d.L;this.u$(a,b,c,f)}else{this.tQ(c);f()}};v.prototype.mia=function(a){a&&!this.t.hasAttribute("crossorigin")?this.t.setAttribute("crossorigin","anonymous"):!a&&this.t.hasAttribute("crossorigin")&&this.t.removeAttribute("crossorigin")};v.prototype.nia=function(a){a&&!this.t.hasAttribute("loop")?this.t.setAttribute("loop",
""):!a&&this.t.hasAttribute("loop")&&this.t.removeAttribute("loop")};v.prototype.tQ=function(a){try{this.t.currentTime=a}catch(b){}if(h.browser()!=h.Eq&&h.browser()!=h.Dq){this.jF=a;this.CA()}};v.prototype.CA=function(){if(this.PR&&this.jF!==n){try{this.t.currentTime=this.jF}catch(a){}this.jF=n}};v.prototype.dH=function(){this.ij==d.T&&t.visible&&this.t.paused&&this.t.readyState>=3&&this.kP(D(),this.Nfa.bind(this))};v.prototype.Nfa=function(){if(h.browser()!=h.Dq){s.qpa();s.h8(this.dH.bind(this));
setTimeout(function(){s.GT(this.va,this)}.bind(this),0)}};v.prototype.Ti=function(){this.L2(this.di.track.activeCues)};v.prototype.L2=function(a){a||(a=[]);if(!(this.$b.length==0&&a.length==0)){this.$b=Array.prototype.slice.call(a);this.trigger(v.ye,this.$b)}};v.prototype.WX=function(){if(this.pd){this.pd.destroy();this.pd=q}this.Uga();this.Vga()};v.prototype.u$=function(a,b,c,e){this.WX();this.PR=y;this.mia(!!a&&r.D6(a));this.y2(a)?this.h$(a,b,c,e):this.r$(a,b,c,e)};v.prototype.y2=function(a){return m.is(a,
m.Wk)&&!j.QS};v.prototype.h$=function(a,b,c,f){var d=e.Wk.gp;this.VA=a;this.QR=b;var g=r.Ul("debughls",y),j=(navigator.connection?Math.max(navigator.connection.downlink,2):2)*1048576,l=j*0.66,k={debug:g,startPosition:c===0?-1:c,levelLoadingTimeOut:6E4,startLevel:-1,autoStartLoad:y,abrEwmaDefaultEstimate:j};this.aj(p);this.pd=new d(k);this.pd.loadSource(a);this.pd.attachMedia(this.t);var m=function(){this.pd.off(d.Events.MANIFEST_PARSED,m);if(navigator.connection){var a=this.pd.levels.filter(function(a){return a.bitrate<=
j});if(a.length){a.sort(function(a,b){return b.width-a.width});this.pd.startLevel=this.pd.levels.indexOf(a[0])}a=this.pd.levels.filter(function(a){return a.bitrate<=l});if(a.length){a.sort(function(a,b){return b.width-a.width});this.pd.config.minAutoBitrate=a[0].bitrate-1}if(h.Xa()){a=this.pd.levels.filter(function(a){return a.width<=3840&&a.height<=1920});if(a.length){a.sort(function(a,b){return b.width-a.width});this.pd.autoLevelCapping=this.pd.levels.indexOf(a[0])}}if(g){console.log("bandwidth:",
j,"lowBandwidth:",l);console.log("levels",this.pd.levels);console.log("startLevel",this.pd.levels[this.pd.startLevel]);console.log("minLevel",this.pd.levels[this.pd.minAutoLevel])}}this.pd.startLoad(c===0?-1:c);c!=0&&this.tQ(c);b&&this.WW(b);f()}.bind(this);this.pd.on(d.Events.MANIFEST_PARSED,m);this.pd.on(d.Events.eqa,function(a,b){b.fatal&&b.type==d.ErrorTypes.kqa&&this.pd.recoverMediaError()}.bind(this))};v.prototype.r$=function(a,b,c,e){this.VA=a;this.QR=b;if(a)this.AK(a);else{this.AK(u.webm,
"video/webm");this.AK(u.T6,"video/mp4")}b&&this.WW(b);this.t.load();c!=0&&this.tQ(c);e()};v.prototype.AK=function(a,b){var c=document.createElement("source");b||(b=this.rda(a));if(b)c.type=b;r.FB(a)||(a=r.Uv(a,"swbypass=true"));c.src=a;this.t.appendChild(c);this.dA.push(c)};v.prototype.rda=function(a){switch(r.getExtension(a).toLowerCase()){case ".m4v":case ".mp4":return"video/mp4";case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL"}};v.prototype.Uga=
function(){for(;this.dA&&this.dA.length;){var a=this.dA.shift();a.src="";this.t.removeChild(a)}};v.prototype.WW=function(a){this.di=document.createElement("track");this.di.kind="subtitles";this.di.src=a;this.t.appendChild(this.di)};v.prototype.Vga=function(){if(this.di){this.di.track.removeEventListener("cuechange",this.Ti);this.di.track.mode="disabled";this.di.src="";this.t.removeChild(this.di);this.di=q;this.L2([])}};v.prototype.z4=function(){for(var a=0;a<this.t.textTracks.length;a++){var b=this.t.textTracks[a];
b.removeEventListener("cuechange",this.Ti);b.mode=this.di&&b==this.di.track?"hidden":"disabled";b.mode=="hidden"&&b.addEventListener("cuechange",this.Ti)}};v.prototype.h3=function(a){this.op=a;this.Vs||this.WF()};v.prototype.WF=function(){if(this.ij!=this.op)if(this.op==d.T||this.op==d.L&&this.ij!=d.T){this.Vs=p;this.aj(this.VA?p:y);var a=function(){if(this.Vs){this.ij=d.T;this.Vs=y;this.sQ(p);this.WF()}}.bind(this),b=function(){this.Vs=y;this.aj(y);this.sQ(y);setTimeout(function(){this.WF()}.bind(this),
100)}.bind(this);this.kP(a,b)}else{this.aj(y);this.sQ(y);this.t.pause();if(this.op==d.L)this.t.currentTime=0;this.ij=this.op;this.WF()}};v.prototype.aj=function(a){if(this.Jr!=a)(this.Jr=a)?l.V7(g.IC):l.U7(g.IC)};v.prototype.sQ=function(a){if(!!this.tA!=a)if(this.tA){clearInterval(this.tA);this.tA=q}else{var b=this;this.tA=setInterval(function(){b.gd()},16)}};v.prototype.kP=function(a,b){function c(){if(!f){l();b&&b()}}function e(){f=p;l();a&&a()}var f=y,h=2E3,d,g=function(){h=Math.min(h*2,8E3);d=
setTimeout(g,h);this.t.play()}.bind(this),j=function(){this.t.addEventListener("play",e,y);this.t.addEventListener("error",c,y);d=setTimeout(g,h)}.bind(this),l=function(){this.t.removeEventListener("play",e,y);this.t.removeEventListener("error",c,y);clearTimeout(d)}.bind(this);j();(j=this.t.play())&&j["catch"](c)};v.of="time update";v.AJ="time update native";v.nm="duration update";v.s8="size update";v.Gf="end";v.ye="cueChange";return v});
define("dQ","require,hj,cK,ji,ew,bL,dX,t,hL,cY".split(","),function(a){function b(a){this.M=a;this.G=q;this.Mu=(new Date).getTime()}var c=a("hj"),d=a("cK"),g=a("ji"),f=a("ew"),k=a("bL"),j=a("dX"),h=a("t"),m=a("hL"),e=a("cY");b.prototype.ZS=function(){return this.G==q};b.prototype.item=O("G");b.prototype.Ela=function(){this.G.fT(this.M);this.G=q};b.prototype.Opa=function(a){this.G=a;this.G.tS(this.M);this.Mu=(new Date).getTime()};var l=c.extend(j,function(){j.call(this);var a=h.Ed()==h.Ai?1:m.Zla();
this.Tp=[];for(var c=0;c<a;c++)this.Tp.push(new b(new e));this.Vf=[];this.k=f.L});l.prototype.mt=function(){return this.HZ().length>0};l.prototype.BT=function(a){this.Vf=[a].concat(d(this.Vf).without(a));this.jP()};l.prototype.tH=function(a){this.Vf.push(a);this.jP()};l.prototype.NB=function(a){this.Vf=d(this.Vf).without(a);this.jP()};l.prototype.jP=function(){var a=this.Vf.slice(0,this.Tp.length);this.HZ().forEach(function(b){a.indexOf(b.item())<0&&b.Ela()});this.ob(a.length>0?f.T:f.L);a.forEach(function(a){this.Kca(a)||
this.Bca().Opa(a)}.bind(this));this.Cca().forEach(function(a){a.M.stop()})};l.prototype.ob=function(a){if(this.k!=a){this.k=a;this.trigger(new k(this.k==f.L?g.nd:g.vo))}};l.prototype.Bca=function(){var a=this.Tp.filter(function(a){return a.ZS()});if(a.length){h.browser()==h.Tk&&a.sort(function(a,b){return a.Mu-b.Mu});return a[0]}return q};l.prototype.Cca=function(){return this.Tp.filter(function(a){return a.ZS()})};l.prototype.HZ=function(){return this.Tp.filter(function(a){return!a.ZS()})};l.prototype.Kca=
function(a){for(var b=0;b<this.Tp.length;b++)if(this.Tp[b].item()==a)return this.Tp[b];return q};l.JN=q;l.bind=function(){var a=l.Ze();a.bind.apply(a,arguments)};l.unbind=function(){var a=l.Ze();a.unbind.apply(a,arguments)};l.mt=function(){return l.Ze().mt()};l.tH=function(a){l.Ze().tH(a)};l.BT=function(a){l.Ze().BT(a)};l.NB=function(a){l.Ze().NB(a)};l.Ko=function(){if(l.JN===q)l.JN=new l;return l.JN};l.Ze=l.Ko;l.Ko();return l});
define("fd","require,cK,ji,bL,eZ,t,dQ".split(","),function(a){var b=a("cK"),c=a("ji"),d=a("bL"),g=a("eZ"),f=a("t"),k=a("dQ"),a={xy:function(){this.va=q;this.L1=f.Ed()==f.Ai?1:5;this.Iea=f.Xa()?y:p;this.qe=[];for(var a=0;a<this.L1;a++){var b=new g;b.bind(c.ua,this.pF,this,p);this.qe.push(b)}this.mX=this.qe.slice();this.tl={};this.dv=[];k.bind(c.vo,this.J,this,p);k.bind(c.nd,this.J,this,p);this.Y$=f.rd()!=f.Tw&&f.rd()!=f.Uw},JT:function(a){this.va=a;this.qe.forEach(function(b){b.JT(a)});this.J()},H7:function(a,
b){if(a.fd!=b){a.ag(b);this.oR(a);this.J()}},ui:function(a,b){if(a.jj!=b){a.ui(b);this.oR(a);this.J()}},oR:function(a){a.ya&&a.ya.ui(a.fd?0:a.jj)},add:function(a){if(!this.j_(a)){this.vga(a);this.J()}},remove:function(a){if(this.j_(a)){this.Ip(a);this.J()}},J:function(){var a=this.Uca(),c=b.difference(this.dv,a),a=b.difference(a,this.dv);c.forEach(this.p2.bind(this));a.forEach(this.W9.bind(this))},p2:function(a){var c=a.ya;a.setTime(c.nj());a.K7(q);c.stop();this.mX.push(c);this.dv=b(this.dv).without(a)},
W9:function(a){var b=this.mX.shift();a.K7(b);this.oR(a);b.play(a.Qe(),a.getTime());this.dv.push(a)},pF:function(a){var f=a.source,a=b(this.dv).find(function(a){return a.ya==f});this.p2(a);a.SE?this.Gea(a):this.Ip(a);a.setTime(0);a.trigger(new d(c.ua));this.J()},vga:function(a){var b=a.yn;this.tl[b]==n&&(this.tl[b]=[]);this.tl[b].splice(0,0,a)},j_:function(a){return this.tl&&b(this.tl[a.yn]).contains(a)},Uca:function(){if(!this.va||!this.Y$&&k.mt())return[];var a=b(this.tl).keys();a.sort(function(a,
b){return b-a});for(var c=[],f=0;f<a.length;f++)for(var e=this.tl[a[f]],d=0;d<e.length;d++){var g=e[d];if(this.Iea||!this.jea(g)){c.push(g);if(c.length==this.L1)return c}}return c},jea:function(a){return a.fd||a.jj==0},Ip:function(a){var c=a.yn,f=this.tl[c];if(f){a=b(f).indexOf(a);if(a>=0){f.splice(a,1);f.length==0&&delete this.tl[c]}}},Gea:function(a){var c=this.tl[a.yn];if(c){var f=b(c).indexOf(a);if(f>=0){c.splice(f,1);c.push(a)}}}};a.xy();return a});
define("gv",["require","hj","dX"],function(a){var b=a("hj"),c=a("dX"),a=b.extend(c,function(a,b){c.call(this);this.Eb=a;this.yn=b;this.Xb=0;this.fd=this.SE=y;this.ya=q;this.jj=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.Eb+" priority:"+this.yn+" time:"+this.Xb+" loop:"+this.SE+")"};a.prototype.Qe=O("Eb");a.prototype.setTime=N("Xb");a.prototype.getTime=O("Xb");a.prototype.YT=N("SE");a.prototype.ag=N("fd");a.prototype.ui=N("jj");a.prototype.K7=N("ya");return a});
define("dn","require,hj,ji,bL,hA,ew,fd,gv".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("hA"),f=a("ew"),k=a("fd"),j=a("gv"),a=b.extend(g,function(a,b){g.call(this);this.set("state",f.L);this.G=new j(a,b);this.G.setTime(0);this.G.bind(c.ua,this.V0,this,p)});a.prototype.clear=function(){k.remove(this.G);this.G.unbind(c.ua,this.V0,this,p);this.set("state",f.L)};a.prototype.play=function(){k.add(this.G);this.set("state",f.T)};a.prototype.pause=function(){k.remove(this.G);this.get("state")==
f.T&&this.set("state",f.Jc)};a.prototype.stop=function(){k.remove(this.G);this.G.setTime(0);this.set("state",f.L)};a.prototype.YT=function(a){this.G.YT(a)};a.prototype.oq=function(){k.H7(this.G,p)};a.prototype.Ct=function(){k.H7(this.G,y)};a.prototype.ui=function(a){k.ui(this.G,a)};a.prototype.V0=function(){this.G.SE||this.set("state",f.L);this.trigger(new d(c.ua))};return a});
define("fO",["require","dn","hv"],function(a){function b(){}var c=a("dn"),d=a("hv");b.S8=3;b.R8=2;b.Q8=2;b.h9=1;b.Upa="mp3";b.Wpa="ogg";b.Vpa="none";b.create=function(a,f,d){return new c(b.boa(a,f),d)};b.boa=function(a,b){return a&&d.s6?a:b&&d.t6?b:a||b};return b});
define("fQ","require,hj,ji,ew,hA,bL,dj,fO".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("ew"),g=a("hA"),f=a("bL"),k=a("dj"),j=a("fO"),h=b.extend(g,function(a){g.call(this);this.set("state",d.L);this.yn=a||j.h9;this.Fi=n});h.ld="stateChange";k.A("Audio",h).B("Object").K({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).Cg({play:function(){this.tg()},pause:function(){this.rk()},stop:function(){this.dj()}}).qc([c.ua,h.ld]);h.prototype.dw=function(){if(this.Fi==n){var a=
this.get("audio");if(a){this.Fi=j.create(a.get("mp3Url"),a.get("oggUrl"),this.yn);a=function(){this.Fi.YT(this.get("loop",y))};a.call(this);this.bind(c.ha("loop"),a,this);a=function(){this.get("application").get("mute",y)?this.Fi.oq():this.Fi.Ct()};a.call(this);this.get("application").bind(c.ha("mute"),a,this,p);a=function(){this.set("state",this.Fi.get("state"))};a.call(this);this.Fi.bind(c.ha("state"),a,this,p);this.Fi.bind(c.ua,this.Uea,this,p)}else this.Fi=q}return this.Fi};h.prototype.set=function(a,
b){if(a=="state"){var c=this.get("state"),j=this.Fi?this.Fi.get("state"):d.L;j!=c&&this.trigger(new f(h.ld,{oldState:c,state:j}))}g.prototype.set.call(this,a,b)};h.prototype.Xn=function(){return[]};h.prototype.Uea=function(){this.trigger(new f(c.ua))};h.prototype.tg=function(){var a=this.dw();a&&a.play()};h.prototype.dj=function(){var a=this.dw();a&&a.stop()};h.prototype.rk=function(){var a=this.dw();a&&a.pause()};return h});
define("fI",["hj","dj","fQ"],function(a,b,c){a=a.extend(c,function(a){c.call(this,a)});b.A("MediaAudio",a).B("Audio").K({autoplay:"bool"});return a});define("jy",["hj","dj","fI","fO"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.Q8)});b.A("PanoramaAudio",a).B("MediaAudio");return a});define("eC",["hj","jy","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("DirectionalPanoramaAudio",a).B("PanoramaAudio").K({yaw:"number",pitch:"number",maximumAngle:"number"});return a});
define("ff",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("DistancePanoramaCameraMovement",b).B("DistanceRotationalCameraMovement");return b});define("es",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("DistanceRotationalCameraMovement",b).B("RotationalCameraMovement").K({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("v","require,cK,ji,hj,bL,dX".split(","),function(a){function b(a,b,c,h,g){this.Wm=q;this.AO=a;this.Gd=d.ha(this.AO);this.uda=b;this.Ha=c||window;this.IN=h;this.S_=g;this.PN=y}var c=a("cK"),d=a("ji"),g=a("hj");a("bL");a("dX");b.prototype.unwatch=function(){this.YP(q)};b.prototype.YP=function(a){c(this.vZ()).each(function(a){a&&a.unbind(this.Gd,this.JX,this)},this);this.Wm=a;c(this.vZ()).each(function(a){a&&a.bind(this.Gd,this.JX,this,this.IN)},this);this.z2()};b.prototype.vZ=function(){return this.Wm?
c(this.Wm).isArray()?this.Wm:[this.Wm]:[]};b.prototype.z2=function(){this.S_&&this.S_.YP(this.Fca())};b.prototype.Fca=function(){return this.Wm==q?q:c(this.Wm).isArray()?c(this.Wm).map(function(a){return a?a.get(this.AO):q},this):this.Wm.get(this.AO)};b.prototype.JX=function(a){if(!this.PN){try{this.PN=p;this.z2();this.uda.call(this.Ha,a)}catch(b){g.fI("ChangeWatcher._changeHandler",b)}this.PN=y}};b.watch=function(a,d,g,h,m){c.isString(d)&&(d=d.split("."));typeof m=="undefined"&&(m=y);if(d.length>
0){d=new b(d[0],g,h,m,b.watch(q,d.slice(1),g,h,m));d.YP(a);return d}return q};return b});
define("jv",["jquery.mod","hj","ji","d"],function(a,b,c,d){var g=b.extend(d,function(){d.call(this);this.Rc("DropDownArrow");this.u=q;this.Km=p;this.bind(c.sb,this.Gba,this)});g.prototype.oa=function(){d.prototype.oa.call(this);this.f("color","#000000");this.f("direction",g.ZI)};g.prototype.Gba=function(){this.Km=p;this.Zb()};g.prototype.Ja=function(){d.prototype.Ja.call(this);this.u||(this.u=a("<canvas/>"),this.u.css({position:"absolute",left:0,top:0}),this.Ma().append(this.u))};g.prototype.ba=function(){var a=
y;this.m("color")&&(a=p,this.o("color"));this.m("direction")&&(a=p,this.o("direction"));this.Km&&(a=p,this.Km=y);if(a){var a=this.td(),b=this.sd(),c=this.j("color"),h=this.j("direction"),m=[0.5*a,0,a],h=h==g.ZI?[b,0,0]:[0,b,b],e=this.u.get(0);e.width=a;e.height=b;e=e.getContext("2d");e.clearRect(0,0,a,b);e.beginPath();e.moveTo(m[0],h[0]);e.lineTo(m[1],h[1]);e.lineTo(m[2],h[2]);e.fillStyle=c;e.fill()}d.prototype.ba.call(this)};g.ZI="down";g.cqa="up";return g});
define("eQ","hj,bL,X,N,ji,c,er,iU,jv,fK".split(","),function(a,b,c,d,g,f,k,j,h,m){a=a.extend(j,function(){j.call(this);this.Rc("DropDownButton");this.yo=this.ka=q;this.dO=p;this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("cursor",d.Vd);this.bind(g.V,this.AM,this)});a.prototype.oa=function(){j.prototype.oa.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
5);this.f("arrowGap",5);this.f("shadow",y);this.f("layout",f.ze);this.f("verticalAlign",c.fc);this.f("borderRadius",5);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("backgroundColorDirection","vertical");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");
this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.h("rollOverBorderColor",k.q,"borderColor");this.h("rollOverArrowColor",k.q,"arrowColor");this.h("rollOverBackgroundColor",k.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",k.q,"backgroundColorRatios");this.h("rollOverShadow",k.q,"shadow");this.h("pressedBorderColor",k.sa,"borderColor");this.h("pressedArrowColor",
k.sa,"arrowColor");this.h("pressedBackgroundColor",k.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",k.sa,"backgroundColorRatios");this.h("pressedShadow",k.sa,"shadow");this.h("pressedRollOverBorderColor",k.Sa,"borderColor");this.h("pressedRollOverArrowColor",k.Sa,"arrowColor");this.h("pressedRollOverBackgroundColor",k.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",k.Sa,"backgroundColorRatios");this.h("pressedRollOverShadow",k.Sa,"shadow");this.h("pressedBorderColor",
k.C,"borderColor");this.h("pressedArrowColor",k.C,"arrowColor");this.h("pressedBackgroundColor",k.C,"backgroundColor");this.h("pressedBackgroundColorRatios",k.C,"backgroundColorRatios");this.h("pressedShadow",k.C,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.dO=p;this.Zb()}j.prototype.set.call(this,a,b)};a.prototype.Ja=function(){j.prototype.Ja.call(this);if(!this.ka){this.ka=new m;this.ka.set("width","100%");this.qa(this.ka)}if(!this.yo){this.yo=new h;this.yo.set("direction",
h.ZI);this.qa(this.yo)}};a.prototype.AM=function(){this.open();this.trigger(new b(g.OPEN))};a.prototype.open=function(){this.unbind(g.V,this.AM,this);this.Xz(p)};a.prototype.close=function(){this.bind(g.V,this.AM,this);this.Xz(y)};a.prototype.ba=function(){if(this.dO){this.ka.set("text",this.get("label"));this.dO=y}this.Ua(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.ka],p,p);if(this.m("arrowGap")){this.set("gap",this.j("arrowGap"));this.o("arrowGap")}if(this.m("arrowColor")){this.yo.set("color",this.j("arrowColor"));this.o("arrowColor")}if(this.m("arrowBeforeLabel")){this.j("arrowBeforeLabel")==p?this.ri(this.yo,0):this.ri(this.ka,0);this.o("arrowBeforeLabel")}if(this.m("arrowWidth")){this.yo.set("width",this.j("arrowWidth"));this.o("arrowWidth")}if(this.m("arrowHeight")){this.yo.set("height",this.j("arrowHeight"));this.o("arrowHeight")}j.prototype.ba.call(this)};
return a});define("eH",["cK","hj","iU","c"],function(a,b,c,d){var g=b.extend(c,function(){c.call(this)});g.Ya={layout:d.Ve};a.defaults(g.Ya,c.Ya);g.prototype.oa=function(){this.Ji(g.Ya)};return g});
define("hp","require,hj,bL,X,N,eV,ji,iU,eH,fK".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("X"),g=a("N"),f=a("eV"),k=a("ji"),j=a("iU"),h=a("eH"),m=a("fK"),a=b.extend(j,function(){j.call(this);this.Rc("DropDownPopup");this.Qb=q;this.nD=y;this.Ea=q;this.Hy=[];this.Yp=p});a.prototype.open=function(a){this.Qb=a;this.nD=p;this.bb().ri(this,this.bb().Pa().length-1);this.set("overIndex",-1);this.set("visible",p);this.bind(k.pb,this.Mb,this);this.bb().bind(k.Gb,this.K_,this);this.bb().bind(k.sb,this.ib,
this)};a.prototype.close=function(){this.Qb=q;this.nD=p;this.set("visible",y);this.Ea.set("overflow",f.br);this.Ea.set("contentOpaque",p);this.unbind(k.pb,this.Mb,this);this.bb().unbind(k.Gb,this.K_,this);this.bb().bind(k.sb,this.ib,this)};a.prototype.Ja=function(){j.prototype.Ja.call(this);if(!this.Ea){this.Ea=new h;this.Ea.set("overflow",f.br);this.Ea.bind(k.sb,this.ib,this);this.Ea.bind(k.$k,this.Np,this);this.qa(this.Ea)}};a.prototype.ib=function(){this.t4()};a.prototype.Mb=function(){this.cQ=
y};a.prototype.Np=function(){this.cQ=p};a.prototype.K_=function(){this.get("overIndex")==-1&&(!this.cQ||!this.Mi)&&this.trigger(new c(k.Hq));this.cQ=y};a.prototype.ifa=function(a){this.set("overIndex",this.eN(a.source))};a.prototype.jfa=function(a){a=this.eN(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.hfa=function(a){a=this.eN(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(k.Ci))};a.prototype.eN=function(a){for(var b=0;b<this.Hy.length;b++)if(this.Hy[b]==
a)return b;return-1};a.prototype.oa=function(){j.prototype.oa.call(this);this.f("visible",y);this.f("width","100%");this.f("height","100%");this.f("includeInLayout",y);this.f("items",[]);this.f("selectedIndex",-1);this.f("overIndex",-1);this.f("popUpGap",0);this.f("popUpBackgroundColor");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");this.f("popUpFontColor");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("popUpShadow",
p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("fontFamily");this.f("fontSize");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("buttonWidth")};a.prototype.ba=function(){var a=
y,b=y;if(this.m("items")){for(var a=this.j("items")||[],c=this.Hy.length;c<a.length;c++){var f=new m;f.R({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:g.Vd});f.bind(k.Ij,this.ifa,this);f.bind(k.pf,this.jfa,this);f.bind(k.V,this.hfa,this);this.Hy.push(f)}f=this.Ea.Pa();for(c=a.length;c<f.length;c++)this.Ea.removeChild(f[c]);for(c=f.length;c<a.length;c++)this.Ea.qa(this.Hy[c]);for(c=0;c<a.length;c++)f[c].set("text",a[c]);this.o("items");b=a=p}if(this.m("selectedIndex")){this.o("selectedIndex");
a=p}for(var d=["horizontalAlign","popUpBackgroundOpacity","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],c=0;c<d.length;c++){f=d[c];if(this.m(f)){this.o(f);b=p}}if(b){d={fontFamily:this.j("fontFamily"),fontSize:this.j("fontSize"),fontWeight:this.j("fontWeight"),fontStyle:this.j("fontStyle"),
horizontalAlign:this.j("horizontalAlign"),textDecoration:this.j("textDecoration"),textShadowColor:this.j("textShadowColor"),textShadowHorizontalLength:this.j("textShadowHorizontalLength"),textShadowVerticalLength:this.j("textShadowVerticalLength"),textShadowBlurRadius:this.j("textShadowBlurRadius"),textShadowOpacity:this.j("textShadowOpacity"),paddingBottom:this.j("popUpPaddingBottom"),paddingLeft:this.j("popUpPaddingLeft"),paddingRight:this.j("popUpPaddingRight"),paddingTop:this.j("popUpPaddingTop"),
backgroundOpacity:this.j("popUpBackgroundOpacity")};f=this.Ea.Pa();for(c=0;c<f.length;c++)f[c].R(d)}d=["selectedIndex","overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(c=0;c<d.length;c++){f=d[c];if(this.m(f)){this.o(f);a=p}}if(a)for(var a=this.j("popUpBackgroundColor"),d=this.j("rollOverPopUpBackgroundColor")||a,b=this.j("selectedPopUpBackgroundColor")||a,h=this.j("popUpFontColor"),
u=this.j("rollOverPopUpFontColor")||h,v=this.j("selectedPopUpFontColor")||h,x=this.j("selectedIndex"),w=this.j("overIndex"),f=this.Ea.Pa(),c=0;c<f.length;c++)c==x?f[c].R({fontColor:v,backgroundColor:b}):c==w?f[c].R({fontColor:u,backgroundColor:d}):f[c].R({fontColor:h,backgroundColor:a});if(this.nD||this.m("popUpGap")||this.m("buttonWidth")){this.Qb&&this.Ea.set("minWidth",this.Qb.za());this.o("popUpGap");this.t4();this.nD=y}this.Ua(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength",
"popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Ea],p,p);this.k4();j.prototype.ba.call(this)};a.prototype.t4=function(){if(this.Qb){var a=this.bb(),b=this.Qb.nma(a),c=this.Qb.za(),h=this.Qb.ab(),g=this.j("popUpGap"),
j=this.Ea.Ca,k=this.Ea.Ka,m=a.ab()-(b.top+h+g)-5,x=b.top-5-g,w=this.j("horizontalAlign");if(k<=m){this.Yp=p;this.Ea.set("top",b.top+h+g);this.Ea.set("maxHeight",n);this.Ea.set("overflow",f.br)}else if(k<=x){this.Yp=y;this.Ea.set("top",b.top-k-g);this.Ea.set("maxHeight",n);this.Ea.set("overflow",f.br)}else{if(m>=x){this.Yp=p;this.Ea.set("top",b.top+h+g);this.Ea.set("maxHeight",m)}else{this.Yp=y;this.Ea.set("top",b.top-x+g);this.Ea.set("maxHeight",x)}this.Ea.set("overflow",f.$k)}h=w==d.vc?b.left+Math.round((c-
j)*0.5):w==d.Fa?b.left+c-j:b.left;h<0?h=b.left:b.left+j>a.za()&&(h=b.left+c-j);this.Ea.set("left",h);this.k4()}};a.prototype.k4=function(){var a=this.j("popUpBorderRadius");this.Ea.R({borderTopRadius:this.Yp?0:a,borderBottomRadius:this.Yp?a:0});for(var b=this.Ea.Pa(),c=0;c<b.length;c++){var f=c==0,d=c==b.length-1;b[c].R({borderTopRadius:!this.Yp&&f?a:0,borderBottomRadius:this.Yp&&d?a:0})}};return a});
define("jr","require,hj,bL,ji,iU,eQ,hp".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("ji"),g=a("iU"),f=a("eQ"),k=a("hp"),a=b.extend(g,function(){g.call(this);this.Rc("DropDown");this.Ay=y;this.Qb=this.Rf=q;this.n3=p;this.Pc=-1;this.dh=y});a.prototype.oa=function(){g.prototype.oa.call(this);this.f("prompt","");this.f("label","");this.f("items",[]);this.f("selectedIndex",-1);this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",5);this.f("arrowGap",5);this.f("borderRadius",5);
this.f("borderSize",1);this.f("backgroundColorDirection","vertical");this.f("horizontalAlign","left");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("popUpGap",
0);this.f("popUpBorderRadius");this.f("popUpPaddingBottom",2);this.f("popUpPaddingLeft",5);this.f("popUpPaddingRight",5);this.f("popUpPaddingTop",2);this.f("popUpShadow",p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("popUpBackgroundColor","#FFFFFF");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");
this.f("popUpFontColor","#555555");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("borderColor","#AAAAAA");this.f("arrowColor","#000000");this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("shadow",y);this.f("rollOverBorderColor");this.f("rollOverArrowColor");this.f("rollOverBackgroundColor");this.f("rollOverBackgroundColorRatios");this.f("rollOverShadow");this.f("pressedBorderColor");this.f("pressedArrowColor");this.f("pressedBackgroundColor");
this.f("pressedBackgroundColorRatios");this.f("pressedShadow");this.f("pressedRollOverBorderColor");this.f("pressedRollOverArrowColor");this.f("pressedRollOverBackgroundColor");this.f("pressedRollOverBackgroundColorRatios");this.f("pressedRollOverShadow")};a.prototype.Ja=function(){g.prototype.Ja.call(this);if(!this.Qb){this.Qb=new f;this.Qb.bind(d.sb,this.Yea,this);this.Qb.bind(d.OPEN,this.sfa,this);this.Qb.bind(d.Hq,this.DO,this);this.Qb.bind(d.gg,this.Xea,this);this.Qb.set("width","100%");this.Qb.set("height",
"100%");this.qa(this.Qb)}if(!this.Rf){this.Rf=new k;this.Rf.bind(d.Hq,this.DO,this);this.Rf.bind(d.Ci,this.Gfa,this);this.bb().qa(this.Rf)}};a.prototype.Yea=function(){this.n3=p;this.Zb()};a.prototype.sfa=function(){this.Qb.open();this.Rf.set("selectedIndex",this.get("selectedIndex"));this.Rf.open(this.Qb)};a.prototype.DO=function(){this.Qb.close();this.Rf.close()};a.prototype.Xea=function(){this.Qb.close();this.Rf.close()};a.prototype.Gfa=function(){this.set("selectedIndex",this.Rf.get("selectedIndex"));
this.DO();this.dh=p};a.prototype.ba=function(){var a=y;if(this.m("prompt")||this.m("label")){a=p;this.o("label");this.o("prompt")}if(this.m("selectedIndex")||this.m("items")){var a=p,b=this.j("selectedIndex"),f=this.j("items");b>=0&&b>=f.length&&(b=-1);this.set("selectedIndex",b);this.Rf.set("items",this.j("items"));this.Rf.set("selectedIndex",this.j("selectedIndex"));this.o("items");this.o("selectedIndex");if(this.dh){this.dh=y;this.trigger(new c(d.W))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
a=b<0?this.j("prompt"):this.j("items")[b]}this.Qb.set("label",a)}if(this.n3){this.Rf.set("minWidth",this.Qb.za());this.Rf.set("buttonWidth",this.Qb.za())}this.Ua(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.Qb,this.Rf],p,p);this.Ua(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Rf],p,p);this.Ua(["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"],{},[this.Qb],p,p);g.prototype.ba.call(this)};return a});
define("dC","require,hj,v,ji,jr,dj,cK".split(","),function(a){var b=a("hj"),c=a("v"),d=a("ji"),g=a("jr"),f=a("dj"),k=a("cK"),a=b.extend(g,function(){g.call(this);this.yb=q;this.t_=[];this.bind(d.W,this.afa,this)});f.A("DropDown",a).B("UIComponent").K({arrowBeforeLabel:"bool",arrowColor:"color",arrowHeight:"number",arrowWidth:"number",fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",
gap:"number",horizontalAlign:"enum[left, center, right]",label:"string",playList:"PlayList",popUpGap:"number",popUpBackgroundColor:"color",popUpBackgroundOpacity:"number",popUpBorderRadius:"number",popUpFontColor:"color",popUpPaddingBottom:"number",popUpPaddingLeft:"number",popUpPaddingRight:"number",popUpPaddingTop:"number",popUpShadow:"bool",popUpShadowBlurRadius:"number",popUpShadowColor:"color",popUpShadowHorizontalLength:"number",popUpShadowOpacity:"number",popUpShadowSpread:"number",popUpShadowVerticalLength:"number",
pressedArrowColor:"color",pressedShadow:"bool",pressedBackgroundColor:"or[array[color], color]",pressedBackgroundColorRatios:"array[number]",pressedRollOverArrowColor:"color",pressedRollOverShadow:"bool",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",prompt:"string",rollOverArrowColor:"color",rollOverBackgroundColor:"or[array[color], color]",rollOverBackgroundColorRatios:"array[number]",rollOverPopUpBackgroundColor:"color",rollOverPopUpFontColor:"color",
rollOverShadow:"bool",selectedPopUpBackgroundColor:"color",selectedPopUpFontColor:"color",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).ko(["fontSize"]);a.prototype.set=function(a,b){if(a=="playList"){if(this.yb)for(this.yb.unbind("change",this.tn,this);this.t_.length;)this.t_.shift().unwatch();if(this.yb=b){c.watch(this.yb,"items.label",
this.ZG,this);c.watch(this.yb,"items.media.label",this.ZG,this);this.ZG();this.yb.bind("change",this.tn,this);this.tn()}else this.ZG()}g.prototype.set.call(this,a,b)};a.prototype.ZG=function(){this.yb?this.set("items",k(this.yb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.tn=function(){this.set("selectedIndex",this.yb.get("selectedIndex"))};a.prototype.afa=function(){this.yb&&this.yb.set("selectedIndex",this.get("selectedIndex"))};
return a});
define("cT","hj,hA,ji,bL,S,iX,bk".split(","),function(a,b,c,d,g,f,k){var j={},h=a.extend(b,function(){b.call(this);this.Hb=n;this.Dk=[];this.k="stopped";this.set("easing","linear");this.set("duration",1E3)});h.prototype.play=function(a){a||(a=j);if(!this.mt(a))if(this.k=="stopped"||this.Dk.indexOf(a)<0){this.k="playing";this.Dk.push(a);this.ne=0;this.Hb=Math.max(this.get("duration",1E3),1);this.me=new f(this.get("easing","linear"),[new k("pos",0,1)],this.Hb);this.me.setTime(this.ne);this.Av();this.Sp();
this.SF()}else this.k="playing"};h.prototype.reverse=function(){target||(target=j);if(!this.bna())if(this.k=="stopped"||this.Dk.indexOf(target)<0){this.k="playingReverse";this.Dk.push(target);this.ne=this.Hb=Math.max(this.get("duration",1E3),0);this.me=new f(this.get("easing","linear"),[new k("pos",0,1)],this.Hb);this.me.setTime(this.ne);this.Av();this.Sp();this.SF()}else this.k="playingReverse"};h.prototype.end=function(){if(this.k!="stopped"){this.ne=this.Hb;this.Sp();this.SF()}};h.prototype.mt=
function(a){return this.k=="playing"&&this.Dk.indexOf(a)>=0};h.prototype.bna=function(){return this.k=="playingReverse"&&this.Dk.indexOf(target)>=0};h.prototype.cf=function(a){if(this.k!="stopped"){this.ne=this.k=="playing"?Math.min(this.Hb,this.ne+a):Math.max(0,this.ne-a);this.me.setTime(this.ne);this.Sp();this.SF()}};h.prototype.nw=function(){return this.me.kb("pos")};h.prototype.Oo=function(a){if(this.Dk)for(var b=0;b<this.Dk.length;b++)a.call(this,this.Dk[b],b)};h.prototype.Av=function(){this.trigger(new d(h.TU))};
h.prototype.Sp=function(){this.trigger(new d(h.NU))};h.prototype.yv=function(){this.trigger(new d(h.Gf))};h.prototype.zv=function(){this.trigger(new d(h.SU))};h.prototype.SF=function(){if(this.k=="playingReverse"&&this.ne<=0){this.zv();this.k="stopped";this.Dk=[]}else if(this.k=="playing"&&this.ne>=this.Hb){this.yv();this.k="stopped";this.Dk=[]}else this.k!="stopped"&&g.Aa(this.cf,this)};h.TU="start";h.NU="frame";h.Gf="end";h.SU="reverseEnd";return h});
define("bh",["hj","ji","bL","dj","cT"],function(a,b,c,d,g){a=a.extend(g,function(){g.call(this)});d.A("Effect",a).B("Object").K({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]"}).ph([g.TU,g.NU,g.Gf,g.SU]).Cg({play:function(){return g.prototype.play.apply(this,arguments)},reverse:function(){return g.prototype.reverse.apply(this,arguments)},getPosition:function(){return g.prototype.nw.apply(this,
arguments)}});return a});
define("Y",["hj","cT"],function(a,b){var c=a.extend(b,function(){b.call(this);this.EK=this.CK=q});c.prototype.Av=function(){b.prototype.Av.call(this);this.CK=[];this.EK=[];this.Oo(function(a){this.CK.push(this.get("alphaFrom",a.mi()));this.EK.push(this.get("alphaTo",a.mi()))});this.aG()};c.prototype.Sp=function(){b.prototype.Sp.call(this);this.aG()};c.prototype.aG=function(){this.Oo(function(a,b){var c=this.CK[b],c=c+(this.EK[b]-c)*this.nw(),k=0<a.mi()&&a.Yc;!k&&0<c?(a.ti(0),a.Se(p),a.ti(c)):0==c?
(a.Se(y),a.ti(1)):a.ti(c)})};c.prototype.yv=function(){this.aG();b.prototype.yv.call(this)};c.prototype.zv=function(){this.aG();b.prototype.zv.call(this)};return c});define("iz",["hj","Y"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("iJ",["hj","iz","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeInEffect",a).B("Effect");return a});
define("iM",["hj","Y"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("gk",["hj","iM","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeOutEffect",a).B("Effect");return a});
define("bT",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this);this.set("enabled",p);this.set("interactionEnabled",p);this.set("enabledInCardboard",y);this.set("enabledInStandard",p);this.set("items",[]);this.set("rollOverItems",[]);this.set("maps",[]);this.set("rollOverMaps",[]);this.set("areas",[]);this.set("fadeInDuration",200);this.set("fadeOutDuration",200);this.Xd=[]});a.A("HotspotPanoramaOverlay",b).B("PanoramaOverlay").K({centerOverDisplay:"bool",
rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",rollOverEffect:"Effect",items:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",rollOverItems:"array[or[FlatHotspotPanoramaOverlayImage, HotspotPanoramaOverlayImage]]",maps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",rollOverMaps:"array[or[FlatHotspotPanoramaOverlayMap, HotspotPanoramaOverlayMap]]",
areas:"array[or[FlatHotspotPanoramaOverlayArea, HotspotPanoramaOverlayArea]]"});b.prototype.set=function(a,b){switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.Tga(),this.Xd=[]}c.prototype.set.call(this,a,b);switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.get("rollOverEffect")&&this.get("areas",[]).length&&this.Y9()}};b.prototype.Y9=function(){this.get("areas",[]).forEach(function(a){a.bind(d.Kc,
this.c0,this,p);a.bind(d.hc,this.b0,this,p)}.bind(this))};b.prototype.Tga=function(){this.get("areas",[]).forEach(function(a){a.unbind(d.Kc,this.c0,this,p);a.unbind(d.hc,this.b0,this,p)}.bind(this))};b.prototype.c0=function(a){0>this.Xd.indexOf(a.source)&&(this.Xd.push(a.source),1==this.Xd.length&&(a=this.get("rollOverEffect"))&&a.play())};b.prototype.b0=function(a){a=this.Xd.indexOf(a.source);0<=a&&(this.Xd.splice(a,1),0==this.Xd.length&&(a=this.get("rollOverEffect"))&&a.reverse())};return b});
define("hV",["require","hj","dj","bT"],function(a){var b=a("hj"),c=a("dj"),d=a("bT"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlay",a).B("HotspotPanoramaOverlay");return a});
define("s",["hj","hA","dj","ji"],function(a,b,c,d){a=a.extend(b,function(){b.call(this);this.set("displayTooltipInTouchScreens",p)});c.A("HotspotPanoramaOverlayArea",a).B("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).qc([d.Kc,d.hc,d.Ij,d.pf]).ph([d.V]);return a});define("dy",["dj","s"],function(a,b){a.A("FlatHotspotPanoramaOverlayArea",b).B("HotspotPanoramaOverlayArea");return b});
define("cH",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(a,b,f,k,j){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);f!==n&&this.set("roll",f);this.set("opacity",k!==n?k:1);j!==n&&this.set("timestamp",j)});a.A("FlatPanoramaOverlayPlaybackPosition",b).B("Object").K({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("dW",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(a,b,f,k,j,h,m,e,l){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);f!==n&&this.set("rotationX",f);k!==n&&this.set("rotationY",k);j!==n&&this.set("roll",j);h!==n&&this.set("hfov",h);m!==n&&this.set("vfov",m);this.set("opacity",e!==n?e:1);l!==n&&this.set("timestamp",l)});a.A("PanoramaOverlayPlaybackPosition",b).B("Object").K({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
define("H",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(a,b,f,k,j,h,m){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);f!==n&&this.set("rotationX",f);k!==n&&this.set("rotationY",k);j!==n&&this.set("rotationZ",j);h!==n&&this.set("hfov",h);m!==n&&this.set("timestamp",m)});a.A("PopupPanoramaOverlayPlaybackPosition",b).B("Object").K({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("gF",["require","hA","cH","dW","H"],function(a){var b=a("hA"),c=a("cH"),d=a("dW"),g=a("H");return{Vla:function(a){return this.mN(a,this.Uba)},TH:function(a){return this.mN(a,this.hga)},lma:function(a){return this.mN(a,this.oga)},Uba:function(a){return new c(b.prototype.get.call(a,"yaw",0),b.prototype.get.call(a,"pitch",0),b.prototype.get.call(a,"roll",0),b.prototype.get.call(a,"opacity",1),0)},hga:function(a){function c(d,h){return b.prototype.get.call(a,d,h)}return new d(c("yaw",0),c("pitch",
0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",c("vfov")===n?45:n),c("vfov"),c("opacity",1),0)},oga:function(a){function c(d,h){return b.prototype.get.call(a,d,h)}return new g(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("rotationZ",0),c("hfov",45),0)},mN:function(a,c){var d=b.prototype.get.call(a,"playbackPositions")||[];return 0<d.length?d.slice().sort(function(a,b){return a.get("timestamp")-b.get("timestamp")||d.indexOf(a)-d.indexOf(b)}):[c(a)]}}});
define("fT","require,hj,hA,ji,dj,gF".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("dj"),f=a("gF"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Md=n});g.A("FlatHotspotPanoramaOverlayImageBase",a).B("Object").K({distance:"number",height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",offsetX:"number",offsetY:"number",opacity:"number",pitch:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]",roll:"number",
scale:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",verticalAlign:"enum[bottom, middle, top]",width:"number",yaw:"number"}).qc([d.qf,d.gg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=f.Vla(this);return this.Md}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=y;switch(a){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.Md=n;f=p}c.prototype.set.call(this,
a,b);f&&a!="playbackPositions"&&this.trigger(d.ha("playbackPositions"))};return a});define("p",["require","hj","dj","fT"],function(a){var b=a("hj"),c=a("dj"),d=a("fT"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlayImage",a).B("FlatHotspotPanoramaOverlayImageBase");return a});
define("cF",["require","hj","dj","fT"],function(a){var b=a("hj"),c=a("dj"),d=a("fT"),a=b.extend(d,function(){d.call(this)});c.A("FlatHotspotPanoramaOverlayMap",a).B("FlatHotspotPanoramaOverlayImageBase");return a});define("cq",["cK","hj","iU","c"],function(a,b,c,d){var g=b.extend(c,function(){c.call(this)});g.Ya={layout:d.qo};a.defaults(g.Ya,c.Ya);g.prototype.oa=function(){this.Ji(g.Ya)};return g});
define("gn",["cK","hj","cq","dj"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("GridContainer",a).B("UIComponent").K({children:"array[UIComponent]",contentOpaque:"bool",childrenInteractionEnabled:"bool",creationPolicy:"enum[inAdvance, delayed]",gap:"number",horizontalAlign:"enum[center, left, right]",itemHeight:"or[number, percent]",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemWidth:"or[number, percent]",overflow:"enum[scroll, hidden, visible]",
scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",verticalAlign:"enum[bottom, middle, top]"});return a});
define("ga","require,cK,jquery.mod,bL,dX,ji,fc,hL,gL,fw,hj".split(","),function(a){function b(){}function c(a){this.Hna=a;this.pj=[];this.Re=0}var d=a("cK");a("jquery.mod");var g=a("bL"),f=a("dX"),k=a("ji"),j=a("fc"),h=a("hL"),m=a("gL"),e=a("fw"),l=a("hj").extend(f,function(a){f.call(this);this.url=a;this.CT=this.Re=0;this.status=l.YJ;this.oo=q});l.prototype.pT=function(a){this.CT=this.CT+a};l.prototype.Aw=function(a){this.Re=this.Re+a};l.prototype.start=function(){this.status=l.SC;m.nU(this.url)?
this.ip():this.Pi=e.add(this.url,j.pC,this.fha.bind(this),this.FX.bind(this))};l.prototype.fha=function(){this.oo=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.oo.open("GET",this.url);this.oo.onreadystatechange=function(){this.oo.readyState>3&&this.ip()}.bind(this);this.oo.send()};l.prototype.FX=function(){if(this.oo){this.oo.abort();this.oo=q}};l.prototype.stop=function(){if(this.status==l.SC){this.status=l.YJ;this.FX();this.Pi&&this.Pi.cancel()}};l.prototype.ip=
function(){this.oo=q;if(this.Pi){this.Pi.loaded();this.Pi=q}this.status=l.c9;this.trigger(new g(k.P))};l.YJ="not loaded";l.SC="loading";l.c9="loaded";c.prototype.Kka=function(a){a.forEach(function(a){if(this.pj.indexOf(a)<0){this.pj.push(a);a.Aw(this.Re);a.pT(1)}}.bind(this))};c.prototype.Ona=function(a){var b=this.pj;this.pj=[];b.forEach(function(b){if(a.indexOf(b)<0)this.pj.push(b);else{b.Aw(-this.Re);b.pT(-1)}}.bind(this))};c.prototype.Jna=function(){this.pj.forEach(function(a){a.Aw(-this.Re);
a.pT(-1)}.bind(this));this.pj=[];this.Re=0};c.prototype.Aw=function(a){this.Re=this.Re+a;this.pj.forEach(function(b){b.Aw(a)})};b.ic=[];b.j2=[];b.cca=0;b.Y4=function(a,b){this.ZF(a).Kka(b.map(function(a){return this.G(a)}.bind(this)));this.DG();this.J()};b.Rna=function(a,b){this.ZF(a).Ona(b.map(function(a){return this.G(a)}.bind(this)));this.DG();this.J()};b.Kna=function(a){this.ZF(a).Jna();this.DG();this.J()};b.hI=function(a,b){this.ZF(a).Aw(b);this.DG();this.J()};b.DG=function(){this.ic.sort(function(a,
b){return b.Re-a.Re})};b.J=function(a){if(this.enabled()&&(a||!this.Gl))if(a){this.Gl&&clearTimeout(this.Gl);this.Gl=q;var a=this.Mca(),b=this.Nca();d(a).difference(b).forEach(function(a){a.stop()});d(b).difference(a).forEach(function(a){a.start()})}else this.Gl=setTimeout(function(){this.Gl=q;this.J(p)}.bind(this),1E3)};b.Gl=q;b.Mca=function(){return this.ic.filter(function(a){return a.status==l.SC})};b.Nca=function(){for(var a=this.Oca(),b=[],c=0;c<this.ic.length&&b.length<a;c++){var e=this.ic[c];
e.CT>0&&(e.status==l.YJ||e.status==l.SC)&&b.push(e)}return b};b.Oca=function(){return this.cca>0?0:1};b.ZF=function(a){var b=d(this.j2).find(function(b){return b.Hna==a});if(!b){b=new c(a);this.j2.push(b)}return b};b.G=function(a){var b=d(this.ic).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(k.P,this.J,this);this.ic.push(b)}return b};b.enabled=function(a){if(a===n)return b.rba||b.sba?y:b.EM!==n?b.EM:b.U;b.U=a};b.U=p;b.gU=function(a){b.EM=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
b.EM=n;b.sba=h.Ul("disable-background-preload",y);b.rba=y;return b});define("cP",["hj","hA","dj","ga"],function(a,b,c,d){var g=a.extend(b,function(){b.call(this);this.uR=a.eo(this.uR,this)});c.A("Media",g).B("Object").K({label:"string",thumbnailUrl:"string"}).vj(["thumbnailUrl"]);g.prototype.uR=function(){d.Y4(this,this.Xn())};g.prototype.Xn=function(){return[]};g.prototype.Qna=function(){d.Kna(this)};g.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.uR()};return g});
define("fz",["require","cK","hj","dj","cP"],function(a){a("cK");var b=a("hj"),c=a("dj"),d=a("cP"),a=b.extend(d,function(){d.call(this);this.ME=this.Bv=n;this.set("distanceToFloor",1.7)});c.A("Panorama",a).B("Media").K({adjacentPanoramas:"array[AdjacentPanorama]",audios:"array[PanoramaAudio]",cardboardMenu:"Menu",flipImageHorizontally:"bool",frames:"array[PanoramaFrame]",distanceToFloor:"number",hfov:"number",hfovMax:"number",hfovMin:"or[number,percent]",mapLocations:"array[PanoramaMapLocation]",overlays:"array[PanoramaOverlay]",
partial:"bool",pitch:"number",vfov:"number",vrMenu:"Menu"});a.prototype.get=function(a,b){switch(a){case "overlays":return this.hN();case "frames":return this.Aca()}return d.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){switch(a){case "cardboardMenu":this.set("vrMenu",b)}d.prototype.set.call(this,a,b)};a.prototype.hN=function(){var a=d.prototype.get.call(this,"overlays");a||(a=[]);return this.CQ(a)};a.prototype.CQ=function(a){if(this.Bv===n||this.ME!=a){var b=function(a){return c.vb("PopupPanoramaOverlay",
a)},d=function(a){return c.vb("LensFlarePanoramaOverlay",a)};this.ME=a;this.Bv=[].concat(a.filter(function(a){return!(b(a)||d(a))}),a.filter(d),a.filter(b))}return this.Bv};a.prototype.p6=function(){return 0<this.get("overlays").filter(function(a){return c.vb("TripodCapPanoramaOverlay",a)}).length};a.prototype.e6=function(){return 0<this.get("overlays").filter(function(a){return c.vb("CeilingCapPanoramaOverlay",a)}).length};a.prototype.A6=function(){if(!this.z6())return y;var a=this.get("pitch",0),
b=this.get("vfov",180);if(179.9<=b)return p;var c=this.e6()?90:a+0.5*b,a=this.p6()?-90:a-0.5*b;return 179.9<=c-a?p:y};a.prototype.z6=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.F5=Q(0);a.prototype.Aca=function(){var a=d.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.Pka(this)}.bind(this));return a};return a});
define("it",["require","hj","dj","fz"],function(a){var b=a("hj"),c=a("dj"),d=a("fz"),a=b.extend(d,function(){d.call(this)});c.A("HDRPanorama",a).B("Panorama").K({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.F5=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("hD",["hj","hA","dj","ji"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});c.A("HotspotMapOverlayArea",a).B("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",useHandCursor:"bool"}).qc([d.Kc,d.hc]).ph([d.V]);return a});
define("hE",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),d=b.extend(c,function(){c.call(this)});a.A("ImageResourceLevel",d).B("Object").K({url:"string",width:"number",height:"number",grayscale:"bool",tags:"or[array[enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]], enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]]"}).vj(["url"]);d.prototype.get=function(a,b){switch(a){case "tags":var k=c.prototype.get.call(this,a);k||(k=[]);Array.isArray(k)||(k=[k]);0>k.indexOf(d.rm)&&
c.prototype.get.call(this,"grayscale")&&(k=k.concat([d.rm]));return k}return c.prototype.get.call(this,a,b)};d.prototype.o6=function(a){return 0<=this.get("tags").indexOf(a)};d.rm="preload";d.RV="mobile";d.QV="ipadpro";d.SV="mobilevr";d.aK="ondemand";return d});
define("dR",["require","hE","t","hL"],function(a){var b=a("hE"),c=a("t"),d=a("hL");return{Ik:function(a){return this.lw(a,"load")},gt:function(a){return this.lw(a,"preload")},sw:function(a){return this.Ik(a)!=this.gt(a)},lw:function(a,b){var c=a.get("levels")||[],d=this.kca(c),d=this.cda(b,d),c=this.Rba(c,b),h=this.CZ(c,d[0],d[1],this.ada(b));h||(h=this.CZ(c,d[0],d[1],n));return h},Rba:function(a,f){"preload"==f?a=this.ZD(a,b.rm):"load"==f&&(a=this.Qba(a,b.rm));c.mq()&&(a=this.ZD(a,b.QV));c.mf()&&
(a=this.ZD(a,b.SV));c.Xa()&&(a=this.ZD(a,b.RV));return a},kca:function(a){if(0==a.length)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")},cda:function(a,b){if("preload"==a)return[0,0];var d=1E4;this.Wba()||(c.mf()?d=2048:c.mq()?d=1280:c.Xa()&&(d=1024));return 1>b?[d*b,d]:[d,d/b]},ada:function(a){if("load"==a)return y},Wba:function(){return c.mq()&&d.Ul("recent_ipad_use_max_res",y)},ZD:function(a,b){var c=a.filter(function(a){return a.o6(b)});
0==c.length&&(c=a);return c},Qba:function(a,b){var c=a.filter(function(a){return!a.o6(b)});0==c.length&&(c=a);return c},CZ:function(a,b,c,d){function h(a){return Math.abs(a.get("width")*a.get("height")-b*c)}a=a.filter(function(a){return d!==n&&d!=a.get("grayscale",y)?y:p});if(0==a.length)return q;a.sort(function(a,b){return h(a)-h(b)});return a[0]}}});
define("z","require,hj,hA,dj,dR,X,hH".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("dj"),g=a("dR"),f=a("X"),k=a("hH"),a=b.extend(c,function(){c.call(this);this.set("x",0);this.set("y",0);this.set("offsetX",0);this.set("offsetY",0);this.set("width",0);this.set("height",0);this.set("scaleMode",k.om);this.set("horizontalAlign",f.vc);this.set("verticalAlign",f.fc)});d.A("HotspotMapOverlayImageBase",a).B("Object").K({height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",
offsetX:"number",offsetY:"number",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",verticalAlign:"enum[bottom, middle, top]",width:"number",x:"number",y:"number"});a.prototype.Ik=function(){return this.get("image")?g.Ik(this.get("image")):q};a.prototype.gt=function(){return this.get("image")?g.gt(this.get("image")):q};return a});define("hk",["hj","bL"],function(a,b){return a.extend(b,function(a,d){b.call(this,a);this.oh=d})});
define("bE",["require","hj","hA","ji","hk"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("hk"),a=b.extend(c,function(){c.call(this);this.PA=[];this.qd=n;this.k="initial"});a.prototype.Jk=O("PA");a.prototype.P7=function(a){this.PA!=a&&(this.PA=a,this.ip=this.qd=n)};a.prototype.Qoa=function(a){this.qd!==a&&(this.k="loading",this.qd=a,this.trigger(new g(d.gc,this.qd)))};a.prototype.XT=function(){"loaded"!==this.k&&(this.k="loaded",this.trigger(d.P))};a.prototype.toa=function(){"loaded"!==this.k&&
(this.k="error",this.trigger(d.md))};return a});define("ck",["hj","bE"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.kf=a});c.prototype.Zf=O("kf");c.$V="map";c.aW="overlay";return c});define("gq",["hj","ck"],function(a,b){var c=a.extend(b,function(a,c,f){b.call(this,b.aW);this.Xfa=a;this.Z=c;this.$=f});c.prototype.kh=O("Z");c.prototype.lh=O("$");c.ZV="image";c.YV="fov";return c});
define("hB",["hj","gq"],function(a,b){var c=a.extend(b,function(a,c,f,k,j,h,m,e,l,r,o){b.call(this,b.ZV,c,f);this.Eb=a;this.C2=k;this.gs=j;this.hs=h;this.S=m;this.aa=e;this.Gc=l;this.Pg=r;this.eh=o;this.PA=[a]});c.prototype.Qe=O("Eb");c.prototype.Ic=O("S");c.prototype.ud=O("aa");return c});
define("ez","require,hj,dj,z,dR,hB".split(","),function(a){var b=a("hj"),c=a("dj"),d=a("z");LevelUtil=a("dR");ImageOverlay=a("hB");a=b.extend(d,function(){d.call(this);this.hp=n});c.A("HotspotMapOverlayImage",a).B("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Tc()};a.prototype.Tc=function(a){if(this.hp===n)this.hp=this.BH(a);return this.hp};a.prototype.BH=function(a){var b=this.get("image");if(b){b=LevelUtil.Ik(b);return new ImageOverlay(b.get("url"),this.get("x"),this.get("y"),
a,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))}return q};return a});define("B",["require","hj","dj","z"],function(a){var b=a("hj"),c=a("dj"),d=a("z"),a=b.extend(d,function(){d.call(this)});c.A("HotspotMapOverlayMap",a).B("HotspotMapOverlayImageBase");return a});
define("dV","require,hj,hA,ji,dj,gF".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("dj"),f=a("gF"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Md=n});g.A("HotspotPanoramaOverlayImageBase",a).B("Object").K({yaw:"number",pitch:"number",roll:"number",rotationX:"number",rotationY:"number",hfov:"number",vfov:"number",distance:"number",horizontalAlign:"enum[center, left, right]",verticalAlign:"enum[bottom, middle, top]",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",
opacity:"number",scale:"number",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).qc([d.qf,d.gg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=f.TH(this);return this.Md}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=y;switch(a){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.Md=n;f=p}c.prototype.set.call(this,
a,b);f&&a!="playbackPositions"&&this.trigger(d.ha("playbackPositions"))};return a});define("hu",["require","hj","dj","dV"],function(a){var b=a("hj"),c=a("dj"),d=a("dV"),a=b.extend(d,function(){d.call(this)});c.A("HotspotPanoramaOverlayImage",a).B("HotspotPanoramaOverlayImageBase");return a});define("L",["require","hj","dj","dV"],function(a){var b=a("hj"),c=a("dj"),d=a("dV"),a=b.extend(d,function(){d.call(this)});c.A("HotspotPanoramaOverlayMap",a).B("HotspotPanoramaOverlayImageBase");return a});
define("hl",[],function(){function a(a){for(var b={},a=a.split(","),c=0;c<a.length;c++)b[a[c]]=p;return b}var b=/^<([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,c=/^<\/([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)[^>]*>/,d=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,g=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),f=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"),
k=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"),j=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),h=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),m=a("script,style");return function(a,l){function r(a,b,c,e){b=b.toLowerCase();if(f[b])for(;u.last()&&k[u.last()];)o(0,u.last());j[b]&&
u.last()==b&&o(0,b);(e=g[b]||!!e)||u.push(b);if(l.start){var m=[];c.replace(d,function(a,b,c,e,f){a=c?c:e?e:f?f:h[b]?b:"";m.push({name:b,value:a,uS:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,m,e)}}function o(a,b){if(b){b=b.toLowerCase();for(c=u.length-1;0<=c&&u[c]!=b;c--);}else var c=0;if(0<=c){for(var e=u.length-1;e>=c;e--)l.end&&l.end(u[e]);u.length=c}}var s,t,u=[],v=a;for(u.last=function(){return this[this.length-1]};a;){t=p;if(!u.last()||!m[u.last()]){if(0==a.indexOf("<\!--"))s=a.indexOf("--\>"),
0<=s&&(l.dla&&l.dla(a.substring(4,s)),a=a.substring(s+3),t=y);else if(0==a.indexOf("</")){if(s=a.match(c))a=a.substring(s[0].length),s[0].replace(c,o),t=y}else if(0==a.indexOf("<")&&(s=a.match(b)))a=a.substring(s[0].length),s[0].replace(b,r),t=y;t&&(s=a.indexOf("<"),t=0>s?a:a.substring(0,s),a=0>s?"":a.substring(s),l.hB&&l.hB(t))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.hB&&l.hB(b);return""}),o(0,
u.last());a==v&&i("Parse Error: "+a);v=a}o()}});
define("dv","require,jquery.mod,cK,hj,ji,bL,dX,t,hl".split(","),function(a){var b=a("jquery.mod");a("cK");var c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),k=a("t"),j=a("hl"),h=c.extend(f,function(a){f.call(this);this.Bc=b(a);this.Qz=[];this.Lo=q});h.prototype.Oma=function(a){a&&a.toLowerCase().indexOf("<script")>=0?k.Wv()==k.Vw?this.Sda(a):this.Rda(a):this.Qda(a)};h.prototype.Qda=function(a){this.Bc.empty();a&&this.Bc.append(a);this.WG()};h.prototype.Sda=function(a){this.Bc.empty();var c=this.Bc,f=q,d=
[],h=q;new j(a,{start:function(a,d,g){if(a=="script"){for(var g=n,j=0;j<d.length&&g===n;j++){var k=d[j];if(k.name=="src")g=k.value}h={parent:c,previousSibling:f,src:g,content:""}}else{for(var m={},j=0;j<d.length;j++){k=d[j];m[k.name]=k.value}d=b("<"+a+"/>");d.attr(m);c.append(d);if(g)f=d;else{c=d;f=q}}},hB:function(a){h?h.content=h.content+a:c.append(a)},end:function(a){if(a=="script"){d.push(h);h=q}else{f=c;c=c.parent()}}});this.Qz=d;this.QE()};h.prototype.Rda=function(a){function e(){d++;return f+
d}this.Bc.empty();var f="fragment_"+c.g7(6)+"_",d=0,h=e(),g=[h],k=n,u=[],v=q,x="";new j(a,{start:function(a,b,c){if(a=="script"){c=n;for(a=0;a<b.length&&c===n;a++){var f=b[a];if(f.name=="src")c=f.value}v={parentClsName:g[g.length-1],previousSiblingClsName:k,src:c,content:""}}else{x=x+("<"+a);for(var d=e(),h=y,a=0;a<b.length;a++){f=b[a];if(f.name=="class"){f.uS=f.uS+(" "+d);h=p}x=x+(" "+f.name+'="'+f.uS+'"')}h||(x=x+(' class="'+d+'"'));if(c){x=x+"/>";k=d}else{x=x+">";g.push(d);k=n}}},hB:function(a){v?
v.content=v.content+a:x=x+a},end:function(a){if(a=="script"){u.push(v);v=q}else{k=g[g.length-1];g.pop()}}});this.Bc.get(0).innerHTML=x;this.Bc.addClass(h);for(a=0;a<u.length;a++){var w=u[a],z=w.parentClsName;delete w.parentClsName;k=w.previousSiblingClsName;delete w.previousSiblingClsName;w.parent=b("."+z);w.previousSibling=k?b("."+k):q}this.Bc.removeClass(h);this.Qz=u;this.QE()};h.prototype.QE=function(){if(!this.Lo)if(this.Qz.length>0){this.Lo=this.Qz[0];this.Qz.splice(0,1);var a=this.Lo.src;if(a){var c=
this;h.uea(a,function(){c.A_()},function(){c.zea()})}else{var f=this.Lo.parent,a=this.Lo.previousSibling,d;d=a?a.next():f.children(":first");a=document.write;document.write=d.length?function(a){d.before(a)}:function(a){f.append(a)};b.globalEval(this.Lo.content);document.write=a;this.A_()}}else this.WG()};h.prototype.zea=function(){this.Lo=q;this.QE()};h.prototype.A_=function(){this.Lo=q;this.QE()};h.prototype.WG=function(){this.trigger(new g(d.ua))};h.y_={};h.uea=function(a,c,f){h.y_[a]?c.call(window):
b.ajax({url:a,async:y,dataType:"script",error:f,success:function(){h.y_[a]=p;c.call(window)}})};return h});
define("hY",["hj","ji","bL","dX"],function(a,b,c,d){a=a.extend(d,function(a,b){d.call(this);this.$da=a;this.U=b;this.ej=q});a.prototype.bind=function(){var a=d.prototype.bind.apply(this,arguments);this.KA();return a};a.prototype.unbind=function(){var a=d.prototype.unbind.apply(this,arguments);this.KA();return a};a.prototype.start=function(){this.U=p;this.KA()};a.prototype.stop=function(){this.U=y;this.KA()};a.prototype.RO=function(){this.trigger(new c(b.rc))};a.prototype.KA=function(){if(this.U&&
this.d6(b.rc)){if(this.ej==q){var a=this;this.ej=setTimeout(function(){a.ej=q;a.RO();a.KA()},this.$da)}}else this.ej!=q&&(clearTimeout(this.ej),this.ej=q)};return a});
define("hh","require,jquery.mod,cK,hj,ji,fp,X,d,dv,cZ,hY".split(","),function(a){var b=a("jquery.mod"),c=a("cK"),d=a("hj"),g=a("ji"),f=a("fp"),k=a("X"),j=a("d"),h=a("dv"),m=a("cZ"),a=a("hY"),e=d.extend(j,function(){j.call(this);this.Rc("HTML");this.wr=e.ZC;this.T1=this.U1=0;this.o3=(new Date).getTime();this.SD=this.Kf=q;this.Ut=this.Ut.bind(this);this.IK=[]});e.prototype.oa=function(){j.prototype.oa.call(this);this.f("content");this.f("horizontalAlign",k.ma);this.f("verticalAlign",k.fc);this.f("fontFamily");
this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textAlign");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};e.prototype.Qp=function(a){this.va&&f.get(this.va).Lna(this.Ut);j.prototype.Qp.call(this,a);if(this.va){f.get(this.va).Ika(this.Ut);f.get(this.va).Zv(this.Ut)}};e.prototype.Ja=function(){j.prototype.Ja.call(this);
if(!this.SD){this.Kf=document.createElement("div");this.SD=b(this.Kf);this.pM({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var a=this.Ma();a.Lw(y);a.append(this.SD);this.XZ=new h(this.SD);this.XZ.bind(g.ua,this.Hda,this,p);this.bind(g.sb,this.YZ,this)}};e.prototype.ba=function(){var a={},b=y;this.m("visible")&&(b=p);if(this.m("content")){this.XZ.Oma(this.j("content"));this.o("content");b=p}if(this.m("fontFamily")){b=this.j("fontFamily");c(b).isString()||(b="");a.fontFamily=
m.gq(b);this.o("fontFamily");b=p}if(this.m("fontSize")){b=this.j("fontSize");c(b).isNumber()?b=b+"px":c(b).isString()||(b="");a.fontSize=b;this.o("fontSize");b=p}if(this.m("fontColor")){b=this.j("fontColor");c(b).isString()||(b="");a.color=b;this.o("fontColor");b=p}if(this.m("fontWeight")){b=this.j("fontWeight");switch(b){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:b="normal"}a.fontWeight=
b;this.o("fontWeight");b=p}if(this.m("fontStyle")){b=this.j("fontStyle");switch(b){case "italic":case "normal":break;default:b="normal"}a.fontStyle=b;this.o("fontStyle");b=p}if(this.m("textDecoration")){b=this.j("textDecoration");switch(b){case "underline":case "overline":case "line-through":case "none":break;default:b="none"}a.textDecoration=b;this.o("textDecoration");b=p}if(this.m("textAlign")){b=this.j("textAlign");switch(b){case "left":case "right":case "center":case "justify":break;default:b=
""}a["text-align"]=b;this.o("textAlign");b=p}var e=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(c(e).any(function(a){return this.m(a)},this)){var f={};c(e).each(function(a){f[a]=this.j(a);this.o(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[f.textShadowHorizontalLength+"px",f.textShadowVerticalLength+"px",f.textShadowBlurRadius+"px","rgba("+parseInt("0x"+f.textShadowColor.substr(1,2))+", "+parseInt("0x"+
f.textShadowColor.substr(3,2))+", "+parseInt("0x"+f.textShadowColor.substr(5,2))+", "+f.textShadowOpacity+")"].join(" ");e=f.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(f.textShadowHorizontalLength,-f.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*f.textShadowOpacity).toString(16)).slice(-2)+f.textShadowColor.substr(1,6)+",direction="+e+")"}c(["paddingTop","paddingRight","paddingBottom",
"paddingLeft"]).any(function(a){return this.m(a)},this)&&(b=p);this.pM(a);b&&this.R_();j.prototype.ba.call(this)};e.prototype.R_=function(){this.YZ();this.Ia();this.j("visible")&&this.j("content")?this.Tz(e.jW):this.Tz(e.ZC)};e.prototype.Zp=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;j.prototype.Zp.call(this,a,!b)};e.prototype.ln=function(){j.prototype.ln.call(this);var a=this.Ma();this.Vg=this.Kf.clientWidth+a.kw()+a.pw();this.Ug=this.Kf.clientHeight+
a.qw()+a.ew()};e.prototype.Z2=function(a){if(this.jN()!=a){this.Kf.style.paddingLeft=a+"px";this.Ia()}};e.prototype.jN=function(){return parseInt(this.Kf.style.paddingLeft)||0};e.prototype.b3=function(a){if(this.lN()!=a){this.Kf.style.paddingTop=a+"px";this.Ia()}};e.prototype.lN=function(){return parseInt(this.Kf.style.paddingTop)||0};e.prototype.a3=function(a){if(this.kN!=a){this.Kf.style.paddingRight=a+"px";this.Ia()}};e.prototype.kN=function(){return parseInt(this.Kf.style.paddingRight)||0};e.prototype.Y2=
function(a){if(this.iN()!=a){this.Kf.style.paddingBottom=a+"px";this.Ia()}};e.prototype.iN=function(){return parseInt(this.Kf.style.paddingBottom)||0};e.prototype.Hda=function(){this.IK=Array.prototype.slice.call(this.Kf.querySelectorAll("*[style]")).map(function(a){var b={};b.tla=a;b.style=a.getAttribute("style");return b}).filter(function(a){return l.test(a.style)}).map(function(a){for(var b=a.style,c=[];;){var e=l.exec(b);if(e){c.push(function(a){return function(){return a}}(b.substr(0,e.index+
1)));c.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,c){return Math.round(c*a)+"px"};case "vmin":return function(b,c,e){return Math.round(e*a)+"px"};case "vmax":return function(b,c,e){return Math.round(e*a)+"px"}}}(parseFloat(e[1]),e[3].toLowerCase()));b=b.substr(e.index+e[0].length)}else{c.push(function(a){return function(){return a}}(b));a.functions=c;return a}}});this.va&&f.get(this.va).Zv(this.Ut)};e.prototype.Ut=function(a,
b,c,e){if(this.IK.length!=0){this.IK.forEach(function(f){var d=f.functions.map(function(f){return f(a,b,c,e)}).join("");f.tla.setAttribute("style",d)});this.R_()}};e.prototype.YZ=function(){var a={width:"auto",height:"auto"},b=this.Ma();if(!this.sN()){this.Vg!=this.S&&this.Ia();var c=this.S-(b.kw()+b.pw());c>0&&(a.width=c+"px")}if(!this.QZ()){this.Ug!=this.aa&&this.Ia();b=this.aa-(b.qw()+b.ew());b>0&&(a.height=b+"px")}this.pM(a)};e.prototype.i0=function(){var a=this.Kf.clientWidth,b=this.Kf.clientHeight;
if(this.U1!=a||this.T1!=b){this.U1=a;this.T1=b;this.Ia();this.Tz(e.jW)}else{a=(new Date).getTime()-this.o3;a>e.E9?this.Tz(e.t9):a>e.D9&&this.Tz(e.s9)}};e.prototype.Xga=function(){this.o3=(new Date).getTime()};e.prototype.Tz=function(a){this.wr==e.aqa&&this.Xga();if(this.wr!=a){this.wr!=e.ZC&&e.MX[this.wr].unbind(g.rc,this.i0,this);this.wr=a;this.wr!=e.ZC&&e.MX[this.wr].bind(g.rc,this.i0,this,p)}};e.prototype.pM=function(a){var b=this.Kf.style,c;for(c in a)b[c]=a[c]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
e.ZC="stopped";e.t9="slow";e.s9="normal";e.jW="fast";e.E9=3E4;e.D9=5E3;e.MX={slow:new a(2E3,p),normal:new a(500,p),fast:new a(100,p)};return e});
define("gB",["hj","hh","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("HTML",a).B("UIComponent").K({content:"string",fontColor:"color",fontFamily:"string",fontSize:"or[number, size]",fontStyle:"enum[italic, normal]",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",textAlign:"enum[center, justify, left, right]",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",
textShadowOpacity:"number",textShadowVerticalLength:"number"}).ko(["fontSize"]);return a});define("b",["cK","hj","iU","c"],function(a,b,c,d){var g=b.extend(c,function(){c.call(this)});g.Ya={layout:d.yU};a.defaults(g.Ya,c.Ya);g.prototype.oa=function(){this.Ji(g.Ya)};return g});
define("fF",["hj","eV","b","hh"],function(a,b,c,d){a=a.extend(c,function(){c.call(this);this.Yo=q;this.set("contentOpaque",p)});a.prototype.oa=function(){c.prototype.oa.call(this);this.f("overflow",b.$k);this.f("html")};a.prototype.Ja=function(){c.prototype.Ja.call(this);this.Yo==q&&(this.Yo=new d,this.Yo.R({left:0}),this.qa(this.Yo))};a.prototype.ba=function(){this.Yo.set("width",this.sN()?n:"100%");this.m("html")&&(this.Yo.set("content",this.j("html")),this.o("html"));this.Ua(["paddingLeft","paddingTop",
"paddingRight","paddingBottom"],{},[this.Yo],p,p);this.Ua(["cursor"],{},[this.Yo],p,y);c.prototype.ba.call(this)};return a});define("bf",["require","hj","fF","dj"],function(a){var b=a("hj"),c=a("fF"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("HTMLText",b).B("UIComponent").K({html:"string",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]"});return b});
define("gz","require,jquery.mod,hj,ji,bL,hL,eG,N,hH,er,cJ,hU".split(","),function(a){function b(a,b,c){return function(e){var f;f=b=="mouse"?this.Sr(e):this.my(e);this.n_(f)?a.call(this,e):c=="release"?a.call(this,e):this.dca(f,e)}}var c=a("jquery.mod"),d=a("hj"),g=a("ji"),f=a("bL"),k=a("hL"),j=a("eG"),h=a("N"),m=a("hH"),e=a("er"),l=a("cJ"),r=a("hU"),o=k.mh("debug"),a=d.extend(r,function(){r.call(this,3);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",h.Vd);this.set("scaleMode",
m.je);this.uL=document.createElement("canvas");this.uL.width=1;this.uL.height=1;this.vL=this.uL.getContext("2d");this.vL.globalCompositeOperation="copy";this.MM=y;this.bind(g.hc,this.Lda,this)});a.prototype.oa=function(){r.prototype.oa.call(this);this.f("buttonGroup");this.f("mode",l.xc);this.f("pressed");this.f("iconURL");this.f("transparencyActive");this.h("rollOverOpacity",e.q,"opacity");this.h("rollOverIconURL",e.q,"iconURL");this.h("pressedOpacity",e.sa,"opacity");this.h("pressedIconURL",e.sa,
"iconURL");this.h("pressedRollOverOpacity",e.Sa,"opacity");this.h("pressedRollOverIconURL",e.Sa,"iconURL")};a.prototype.SM=b(r.prototype.SM,"touch","capture");a.prototype.YY=b(r.prototype.ica,"touch");a.prototype.$Y=b(r.prototype.ica,"touch","release");a.prototype.ZQ=b(r.prototype.ZQ,"touch","capture");a.prototype.YQ=b(r.prototype.YQ,"touch");a.prototype.Zp=b(r.prototype.Zp,"touch","release");a.prototype.xO=b(r.prototype.xO,"mouse","capture");a.prototype.yO=function(a){var b=this.Sr(a);if(this.n_(b)||
this.MM){r.prototype.yO.call(this,a);this.set("cursor",h.Vd)}else{this.MM=p;if(b=this.uZ(b)){c(b).trigger(this.YX(a));a.preventDefault();a.stopImmediatePropagation()}this.qZ(b)=="pointer"?this.set("cursor",h.Vd):this.set("cursor",h.rc);this.MM=y}};a.prototype.Lda=function(){this.set("cursor",h.Vd)};a.prototype.dF=b(r.prototype.dF,"mouse","release");a.prototype.n_=function(a){if(!this.gb)return y;var b=this.gb.offset(),c=a.Z6-b.left,e=this.gb.width(),a=a.a7-b.top,b=this.gb.height();if(c>=0&&a>=0&&
c<e&&a<b){if(this.get("transparencyActive")||o)return p;c=c*this.Xu/e;e=a*this.Wu/b;this.vL.drawImage(this.gb.get(0),c,e,1,1,0,0,1,1);if(this.vL.getImageData(0,0,1,1).data[3]>0)return p}return y};a.prototype.dca=function(a,b){var e=this.uZ(a);if(e){c(e).trigger(this.YX(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.uZ=function(a){var b=this.Tm(),c=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.Z6,a.a7);setTimeout(function(){b.style.pointerEvents=
c},0);return a};a.prototype.YX=function(a){return c.extend(c.Event(a.type),{originalEvent:a.originalEvent,wheelDelta:a.wheelDelta,detail:a.detail,which:1,clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY,screenX:a.screenX,screenY:a.screenY})};a.prototype.qZ=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.qZ(a.parentElement))}else b="default";return b};a.prototype.Gx=function(){if(this.get("pressed")){this.set("pressed",y);this.trigger(new f(g.vh))}else{this.set("pressed",
p);this.trigger(new f(g.hg))}};a.prototype.ba=function(){var a=y;if(this.m("backgroundOpacityy")||this.m("backgroundColor"))a=p;if(this.m("iconURL")){this.set("url",this.j("iconURL"));this.o("iconURL")}var b=y;if(this.m("mode")){if(this.j("mode")==l.xc){this.unbind(g.V,this.Gx,this,p);this.set("autoPressed",p)}else{this.bind(g.V,this.Gx,this,p);this.set("autoPressed",y)}this.o("mode");b=p}if(b||this.m("pressed"))this.j("mode")==l.wh?this.wv(this.j("pressed")==p):b&&this.wv(y);if(this.m("buttonGroup")){(b=
this.j("buttonGroup"))?j.register(this,b):j.mC(this);this.o("buttonGroup")}r.prototype.ba.call(this);if(a){a=this.mb();if(a.mi()==0||a.zr.length==0){a.ti(0.001);a.t7(["#000000"])}}};return a});
define("eT",["hj","gz","dj","ji"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});c.A("IconButton",a).B("UIComponent").K({buttonGroup:"string",iconURL:"string",mode:"enum[push, toggle]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[bottom, middle, top]",rollOverIconURL:"string",rollOverOpacity:"number",pressed:"bool",pressedIconURL:"string",pressedOpacity:"number",pressedRollOverIconURL:"string",pressedRollOverOpacity:"number",transparencyActive:"bool"}).vj(["iconURL","rollOverIconURL",
"pressedIconURL"]).qc([d.hg,d.vh]).ph([d.V]);return a});define("is",["hj","dj","fq"],function(a,b,c){a=a.extend(c,function(){c.call(this,y)});b.A("IconHotspotMapOverlay",a).B("HotspotMapOverlay");return a});
define("iT",["hj","hU","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Image",a).B("UIComponent").K({horizontalAlign:"enum[center, left, right]",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",url:"string",verticalAlign:"enum[bottom, middle, top]"}).vj(["url"]);return a});
define("fR",["hj","fK","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Label",a).B("UIComponent").K({fontFamily:"string",fontSize:"or[number, size]",fontColor:"color",fontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",fontStyle:"enum[italic, normal]",horizontalAlign:"enum[left, center, right]",verticalAlign:"enum[top, middle, bottom]",text:"string",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",
textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).ko(["fontSize"]);return a});define("bn",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this);this.set("bleaching",0);this.set("bleachingDistance",0.4)});a.A("LensFlarePanoramaOverlay",b).B("PanoramaOverlay").K({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});return b});
define("iW",["require","hj","dj","fz"],function(a){var b=a("hj"),c=a("dj"),d=a("fz"),a=b.extend(d,function(){d.call(this)});c.A("LivePanorama",a).B("Panorama").K({frameDisplayTime:"number",frameTransitionTime:"number"});return a});
define("bY",["hj","ck"],function(a,b){var c=a.extend(b,function(a,c,f,k,j,h){b.call(this,b.$V);this.Eb=a;this.S=c;this.aa=f;this.Gc=k;this.LM=j;this.pk=h.slice()});c.prototype.Jk=function(){for(var a=[this.Eb],b=0;b<this.pk.length;b++)a=a.concat(this.pk[b].Jk());return a};c.prototype.Qe=O("Eb");c.prototype.Ic=O("S");c.prototype.ud=O("aa");return c});
define("ip","require,cK,hj,dj,hH,cP,dR,bY".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("dj"),g=a("hH"),f=a("cP"),k=a("dR"),j=a("bY"),a=c.extend(f,function(){f.call(this);this.hp=this.zP=n});d.A("Map",a).B("Media").K({fieldOfViewOverlayInsideColor:"color",fieldOfViewOverlayInsideOpacity:"number",fieldOfViewOverlayOutsideColor:"color",fieldOfViewOverlayOutsideOpacity:"number",fieldOfViewOverlayRadiusScale:"number",flipImageHorizontally:"bool",height:"number",image:"ImageResource",initialZoomFactor:"number",
maximumZoomFactor:"number",minimumZoomFactor:"number",overlays:"array[MapOverlay]",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",width:"number"});a.prototype.sw=function(){return!(!this.get("image")||!k.sw(this.get("image")))};a.prototype.gt=function(){return this.get("image")&&k.gt(this.get("image"))};a.prototype.Ik=function(){return this.get("image")&&k.Ik(this.get("image"))};a.prototype.R5=function(){if(this.zP==n)this.zP=this.sw()?new j(this.gt().get("url"),this.get("width"),
this.get("height"),this.get("scaleMode",g.Iq),this.get("flipImageHorizontally",y),[]):q;return this.zP};a.prototype.Tc=function(){if(this.hp==n)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.dma()}));this.hp=new j(this.Ik().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",g.Iq),this.get("flipImageHorizontally",y),a)}else this.hp=q;return this.hp};a.prototype.Xn=function(){return[].concat(this.iE(this.R5()),this.iE(this.Tc()))};
a.prototype.iE=function(a){return a?a.Jk():[]};return a});define("gY",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MapOverlay",a).B("Object");return a});
define("ie","hj,cK,ji,bL,dX,cJ".split(","),function(a,b,c,d,g,f){a=a.extend(g,function(a,b,d){g.call(this);this.bY=a;this.uga=b;this.qX=d||f.xc;this.lg=[];this.Fo={};this.Fo.mode=this.qX;this.qX==f.wh&&(this.Fo.pressed=y);this.bY.bind(c.ha(b),this.e2,this);this.e2()});a.prototype.e2=function(){var a=this.bY.get(this.uga);a||(a=[]);b.isArray(a)||(a=[a]);this.Dha(a)};a.prototype.Dha=function(a){var f=b.difference(this.lg,a);b(f).each(function(a){a.unbind(c.hg,this.wX,this,p);a.unbind(c.vh,this.xX,this,
p);a.unbind(c.V,this.pX,this,p);a.unbind(c.pb,this.rX,this,p);a.unbind(c.Gb,this.sX,this,p)},this);f=b.difference(a,this.lg);b(f).each(function(a){a.R(this.Fo);a.bind(c.hg,this.wX,this,p);a.bind(c.vh,this.xX,this,p);a.bind(c.V,this.pX,this,p);a.bind(c.pb,this.rX,this,p);a.bind(c.Gb,this.sX,this,p)},this);this.lg=a};a.prototype.wX=function(){this.trigger(new d(c.hg))};a.prototype.xX=function(){this.trigger(new d(c.vh))};a.prototype.pX=function(){this.trigger(new d(c.V))};a.prototype.rX=function(){this.trigger(new d(c.pb))};
a.prototype.sX=function(){this.trigger(new d(c.Gb))};a.prototype.set=function(a,c){this.Fo[a]=c;b(this.lg).each(function(a){a.R(this.Fo)},this)};return a});
define("eb","require,cK,hj,ji,bL,er,N,b,d,iz,iM".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("er"),k=a("N"),j=a("b"),h=a("d");a("iz");a("iM");var m=c.extend(j,function(){j.call(this);this.Rc("PlaybackBar");this.ah=this.qd=q;this.ge=[];this.RF=y;this.sP=this.rs=n;this.LQ=y});m.Ya={cursor:k.Vd,overflow:"visible",height:20,position:0,duration:100,steps:n,selectedStep:n,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,
barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n,liveDragging:n,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:n,playheadBackgroundColorRatios:n,playheadBorderColor:n,playheadBorderRadius:n,playheadBorderSize:n,playheadOpacity:n,playheadWidth:5,playheadHeight:30,playheadShadow:p,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:n,playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",
stepBackgroundColorDirection:n,stepBackgroundColorRatios:n,stepBorderColor:n,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:p,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:n,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:n,selectedStepBackgroundColorRatios:n,selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,
selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:p,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:n,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(m.Ya,j.Ya);m.prototype.oa=function(){this.Ji(m.Ya)};m.prototype.Ja=function(){j.prototype.Ja.call(this);(!this.qd||!this.ah)&&this.bind(d.sb,this.iga,this,p);if(this.qd==q){this.qd=new h;this.qd.R({left:"0",height:"100%",
cursor:k.Vd});this.qa(this.qd)}if(this.ah==q){this.ah=new h;this.ah.R({left:"0",cursor:k.Vd});this.ah.bind(d.sb,this.lga,this,p);this.ah.bind(d.pb,this.jga,this,p);this.bb().bind(d.wc,this.K1,this,p);this.bind(d.V,this.gga,this,p);this.ah.bind(d.Gb,this.kga,this,p);this.qa(this.ah)}var a=this.get("steps")||0;if(this.ge.length!=a){for(;this.ge.length>a;)this.qba(this.ge.pop());for(;this.ge.length<a;)this.ge.push(this.iba());this.Ua(m.HW,m.qK,this.ge,y,p);this.y4();this.xR();this.ri(this.ah,this.Pa().length-
1)}};m.prototype.iba=function(){var a=new e;a.R({cursor:k.Vd});a.bind(d.V,this.v3,this,p);a.bind(d.sb,this.w3,this,p);this.qa(a);return a};m.prototype.qba=function(a){a.unbind(d.V,this.v3,this,p);a.unbind(d.sb,this.w3,this,p);this.removeChild(a)};m.prototype.ba=function(){var a=y;if(this.m("position")||this.m("duration")){this.o("position");this.o("duration");a=p}if(this.m("selectedStep")){this.o("selectedStep");this.y4()}if(this.m("steps")){this.o("steps");this.DB()}this.Ua(m.jK,m.lx,[this.qd],p,
p);this.Ua(m.A9,m.DW,[this.ah],p,p);this.Ua(m.HW,m.qK,this.ge,p,p);j.prototype.ba.call(this);a&&this.cH()};m.prototype.y4=function(){var a=this.get("selectedStep");this.ge.forEach(function(b,c){b.fC(c===a)});this.ah.set("visible",a===n)};m.prototype.cH=function(){var a=this.za(),b=this.ah.za(),c=this.ah.ab(),e=this.Ro(),f=this.jy(),d=f*a/e,a=Math.round((this.RF?this.rs:f)*a/e-b*0.5),a=Math.max(0,Math.min(a,this.td()-b)),b=Math.round(this.sd()*0.5-c*0.5);this.ah.R({left:a,top:b});this.qd.set("width",
Math.round(d))};m.prototype.lga=function(){this.cH()};m.prototype.jga=function(a){this.RF=p;this.sP=a.pageX;this.rs=this.j("position")};m.prototype.K1=function(a){if(this.RF){var b=a.pageX-this.sP;this.sP=a.pageX;var a=this.za(),c=this.Ro();this.rs=Math.max(0,Math.min(c,this.rs+c*b/a));this.cH();if(this.get("liveDragging")){this.set("position",this.rs);this.trigger(new g(d.W))}}};m.prototype.kga=function(a){this.K1(a);this.RF=y;if(!this.get("liveDragging")){this.set("position",this.rs);this.trigger(new g(d.W))}this.rs=
n};m.prototype.gga=function(a){if(!this.LQ){var b=this.za();this.set("position",this.Ro()*a.x/b);this.trigger(new g(d.W))}};m.prototype.w3=function(){this.xR()};m.prototype.iga=function(){this.xR();this.cH()};m.prototype.xR=function(){for(var a=this.za(),b=this.ab(),c=this.Z,e=this.getParent().za()-(c+a),f=0,d=this.ge.length;f<d;f++){var h=this.ge[f],g=h.za();h.R({left:f==0&&c==0?0:f==d-1&&e==0?a-g:Math.round(a*f/(d-1)-g*0.5),top:Math.round(b*0.5-h.ab()*0.5)})}};m.prototype.v3=function(a){a=this.ge.indexOf(a.source);
this.set("position",this.Ro()*a/(this.ge.length-1));this.LQ=p;this.trigger(new g(d.W));setTimeout(function(){this.LQ=y}.bind(this),0)};m.prototype.Ro=function(){var a=this.j("duration");return!a?1:a};m.prototype.jy=function(){return Math.max(0,Math.min(this.Ro(),this.j("position")))};m.lx={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};m.jK=b(m.lx).keys();m.DW={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"};m.A9=b(m.DW).keys();m.qK={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"};m.HW=b(m.qK).keys();var e=
c.extend(h,function(){h.call(this)});e.prototype.fC=function(a){this.Xz(a)};e.prototype.oa=function(){h.prototype.oa.call(this);this.f("backgroundColor");this.f("backgroundColorDirection");this.f("backgroundColorRatios");this.f("borderColor");this.f("borderRadius");this.f("borderSize");this.f("opacity");this.f("width");this.f("height");this.f("shadow");this.f("shadowBlurRadius");this.f("shadowColor");this.f("shadowHorizontalLength");this.f("shadowOpacity");this.f("shadowSpread");this.f("shadowVerticalLength");
this.h("selectedBackgroundColor",f.C,"backgroundColor");this.h("selectedBackgroundColorDirection",f.C,"backgroundColorDirection");this.h("selectedBackgroundColorRatios",f.C,"backgroundColorRatios");this.h("selectedBorderColor",f.C,"borderColor");this.h("selectedBorderRadius",f.C,"borderRadius");this.h("selectedBorderSize",f.C,"borderSize");this.h("selectedOpacity",f.C,"opacity");this.h("selectedWidth",f.C,"width");this.h("selectedHeight",f.C,"height");this.h("selectedShadow",f.C,"shadow");this.h("selectedShadowBlurRadius",
f.C,"shadowBlurRadius");this.h("selectedShadowColor",f.C,"shadowColor");this.h("selectedShadowHorizontalLength",f.C,"shadowHorizontalLength");this.h("selectedShadowOpacity",f.C,"shadowOpacity");this.h("selectedShadowSpread",f.C,"shadowSpread");this.h("selectedShadowVerticalLength",f.C,"shadowVerticalLength")};e.prototype.ba=function(){h.prototype.ba.call(this)};return m});
define("x",["cK","hj","b","d"],function(a,b,c,d){var g=b.extend(c,function(){c.call(this);this.Rc("ProgressBar")});g.Ya={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n};a.defaults(g.Ya,c.Ya);g.prototype.oa=function(){this.Ji(g.Ya)};g.prototype.Ja=function(){c.prototype.Ja.call(this);this.qd==q&&(this.qd=new d,this.qd.R({left:"0",width:"0%",height:"100%"}),this.qa(this.qd))};
g.prototype.ba=function(){this.m("percent")&&(this.qd.set("width",Math.round(this.j("percent"))+"%"),this.o("percent"));this.Ua(g.jK,g.lx,[this.qd],p,p);c.prototype.ba.call(this)};g.lx={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};g.jK=a(g.lx).keys();return g});
define("gO",["require","cK","hj","v"],function(a){var b=a("cK"),c=a("hj"),d=a("v");return{Yt:[],Oe:function(a,b,c,d){this.PW(a,b,c,d,y)},Zqa:function(a,b,c,d){this.PW(a,b,c,d,p)},PW:function(a,f,k,j,h){function m(){for(var b=[],e=0;e<f.length;e++)try{b.push(a.get(f[e]))}catch(d){b.push(n),c.fI("BindingsHandler._addBinding",d)}k.apply(this,b)}b.isArray(f)||(f=[f]);var m=h?c.eo(m,this.Ha):m.bind(this.Ha),e=[];b.forEach(f,function(b){e.push(d.watch(a,b,m))},this);this.Yt.push({Tpa:e,host:a,d7:f,c6:k});
j&&m()},nf:function(a,c,d){var j=b(this.Yt).select(function(h){return h.c6==d&&h.host==a&&b.isEqual(h.d7,c)});b(j).forEach(function(a){b(a.Tpa).forEach(function(a){a.unwatch()})});this.Yt=b.difference(this.Yt,j)},Wra:function(){for(;0<this.Yt.length;){var a=b.first(this.Yt);this.nf(a.host,a.d7,a.c6)}}}});
define("iB",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},u5:function(b,d,g){var d=d*a,b=-b*a,f=g*a,g=Math.cos(b/2),b=Math.sin(b/2),k=Math.cos(f/2),f=Math.sin(f/2),j=Math.cos(d/2),d=Math.sin(d/2),h={};h.w=g*k*j-b*f*d;h.x=g*k*d+b*f*j;h.y=b*k*j+g*f*d;h.z=g*f*j-b*k*d;return h},rU:function(a){var d=a.x*a.y+a.z*a.w,g={};if(0.499<d)g.ta=-2*Math.atan2(a.x,a.w),g.bd=-Math.PI/2,g.pitch=0;else if(-0.499>d)g.ta=2*Math.atan2(a.x,a.w),g.bd=Math.PI/2,g.pitch=
0;else{var f=a.x*a.x,k=a.z*a.z;g.ta=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*k);g.bd=-Math.asin(2*d);g.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*f-2*k);g.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,g.pitch))}g.ta*=b;g.pitch*=b;g.bd*=-b;return g},ta:function(a){var d=a.x*a.y+a.z*a.w;return 0.499<d?-2*Math.atan2(a.x,a.w)*b:-0.499>d?2*Math.atan2(a.x,a.w)*b:-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*a.z*a.z)*b}}});
define("iK",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(a,c){this.x=a||0;this.y=c||0};a.Vector2.prototype={constructor:a.Vector2,set:function(a,c){this.x=a;this.y=c;return this},copy:function(a){this.x=a.x;this.y=a.y;return this}};a.Vector3=function(a,c,d){this.x=a||0;this.y=c||0;this.z=d||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,c,d){this.x=a;this.y=c;this.z=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},
length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var a=this.length();0!==a?this.V6(1/a):this.z=this.y=this.x=0;return this},V6:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var c=this.x,d=this.y,g=this.z,f=a.x,k=a.y,j=a.z,a=a.w,h=a*c+k*g-j*d,m=a*d+j*c-f*g,e=a*g+f*d-k*c,c=-f*c-k*d-j*g;this.x=h*a+c*-f+m*-j-e*-k;this.y=m*a+c*-k+e*-f-h*-j;this.z=e*a+c*-j+h*-k-m*-f;return this},qla:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},nla:function(a,c){var d=a.x,g=a.y,f=a.z,k=c.x,j=c.y,h=c.z;this.x=g*h-f*j;this.y=f*k-d*h;this.z=d*j-g*k;return this}};a.Quaternion=function(a,c,d,g){this.x=a||0;this.y=c||0;this.z=d||0;this.w=g!==n?g:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,c,d,g){this.x=a;this.y=c;this.z=d;this.w=g;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},u7:function(a,c,d){var g=Math.cos(a/2),f=Math.cos(c/2),k=Math.cos(d/2),a=Math.sin(a/2),c=Math.sin(c/
2),d=Math.sin(d/2);this.x=a*f*k+g*c*d;this.y=g*c*k-a*f*d;this.z=g*f*d-a*c*k;this.w=g*f*k+a*c*d;return this},setFromAxisAngle:function(a,c){var d=c/2,g=Math.sin(d);this.x=a.x*g;this.y=a.y*g;this.z=a.z*g;this.w=Math.cos(d);return this},multiply:function(a){return this.U6(this,a)},U6:function(a,c){var d=a.x,g=a.y,f=a.z,k=a.w,j=c.x,h=c.y,m=c.z,e=c.w;this.x=d*e+k*j+g*m-f*h;this.y=g*e+k*h+f*j-d*m;this.z=f*e+k*m+d*h-g*j;this.w=k*e-d*j-g*h-f*m;return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=
-1;this.normalize();return this},normalize:function(){var a=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===a?(this.z=this.y=this.x=0,this.w=1):(a=1/a,this.x*=a,this.y*=a,this.z*=a,this.w*=a);return this},upa:function(a,c){if(0===c)return this;if(1===c)return this.copy(a);var d=this.x,g=this.y,f=this.z,k=this.w,j=k*a.w+d*a.x+g*a.y+f*a.z;0>j?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,j=-j):this.copy(a);if(1<=j)return this.w=k,this.x=d,this.y=g,this.z=f,this;var h=Math.acos(j),
m=Math.sqrt(1-j*j);if(0.001>Math.abs(m))return this.w=0.5*(k+this.w),this.x=0.5*(d+this.x),this.y=0.5*(g+this.y),this.z=0.5*(f+this.z),this;j=Math.sin((1-c)*h)/m;h=Math.sin(c*h)/m;this.w=k*j+this.w*h;this.x=d*j+this.x*h;this.y=g*j+this.y*h;this.z=f*j+this.z*h;return this},v7:function(){var b,c;return function(d,g){b===n&&(b=new a.Vector3);c=d.qla(g)+1;1.0E-6>c?(c=0,Math.abs(d.x)>Math.abs(d.z)?b.set(-d.y,d.x,0):b.set(0,-d.z,d.y)):b.nla(d,g);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
return this}}()};return a});
define("ds",["require","ji","bL","dX","iK"],function(a){function b(){m||(m=p,o=new h.Vector3(0,0,1),s=new h.Quaternion,t=new h.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),u=new h.Quaternion,d(),window.addEventListener("orientationchange",d,y),window.addEventListener("deviceorientation",g,y),c())}function c(){if(v&&!(l===n||r===n)){v=y;var a=h.degToRad*r;u.u7(h.degToRad*l.beta,h.degToRad*l.alpha,-(h.degToRad*l.gamma));u.multiply(t);u.multiply(s.setFromAxisAngle(o,-a));x||(w++,5<=w&&(x=p,e.trigger(new k(f.Ub))));
e.trigger(new k(f.W))}}function d(){r=window.orientation||0;v=p;c()}function g(a){l=a;v=p;c()}var f=a("ji"),k=a("bL"),j=a("dX"),h=a("iK"),m=y,e=new j,l,r,o,s,t,u,v,x=y,w=0;b.prototype.am=function(){c();return u};b.prototype.bind=function(){e.bind.apply(e,arguments)};b.prototype.unbind=function(){e.unbind.apply(e,arguments)};b.prototype.stop=function(){window.removeEventListener("orientationchange",d,y);window.removeEventListener("deviceorientation",g,y)};return b});
define("fJ","require,ji,bL,dX,t,iK".split(","),function(a){function b(a){this.hna=a;this.oS=new g;this.CH=new g;this.xT=new g;this.ct=new m.Quaternion;this.wT=new m.Quaternion;this.V4=new m.Quaternion;this.H6=y;this.EH=new m.Vector3;this.kT=new m.Vector3;this.wma=new m.Quaternion}function c(){this.R6=y;this.Q6=0;this.dB=new m.Vector3;this.VH=new m.Vector3;this.filter=new b(l);this.Ana=new d(r);this.ww=o.ww();this.pi=o.pi();o.BS();this.dT=o.Sma();this.GH=new m.Quaternion;o.pi()?this.GH.setFromAxisAngle(new m.Vector3(1,
0,0),Math.PI/2):this.GH.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);this.YS=new m.Quaternion;this.Ow=new m.Quaternion;this.qna=new m.Quaternion;this.qna.setFromAxisAngle(new m.Vector3(0,0,1),-window.orientation*Math.PI/180);this.N7();o.Wma()&&this.GH.multiply(this.YS);this.l7=new m.Quaternion;this.ww=o.ww();this.pi=o.pi();this.Rma=o.BS()>=66;this.ot=this.ot.bind(this);this.LB=this.LB.bind(this);this.KB=this.KB.bind(this);screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",
this.ot):window.addEventListener("orientationchange",this.ot);this.dT?window.addEventListener("deviceorientation",this.LB):window.addEventListener("devicemotion",this.KB)}function d(a){this.Bna=a;this.mI=new m.Quaternion;this.Dw=q;this.m5=new m.Quaternion;this.MB=new m.Quaternion}function g(a,b){this.set(a,b)}var f=a("ji"),k=a("bL"),j=a("dX"),h=a("t"),m=a("iK"),e=new j,l=0.98,r=0.04;b.prototype.Hka=function(a,b){this.oS.set(a,b)};b.prototype.Jka=function(a,b){this.CH.set(a,b);o.dna(b-this.xT.BI)&&
this.Yna();this.xT.copy(this.CH)};b.prototype.Yna=function(){if(this.H6){var a=this.xma(this.CH.sample,this.CH.BI-this.xT.BI);this.wma.multiply(a);this.ct.copy(this.wT);this.ct.multiply(a);a=new m.Quaternion;a.copy(this.ct);a.inverse();this.EH.set(0,0,-1);this.EH.applyQuaternion(a);this.EH.normalize();this.kT.copy(this.oS.sample);this.kT.normalize();a=new m.Quaternion;a.v7(this.EH,this.kT);a.inverse();var b=new m.Quaternion;b.copy(this.ct);b.multiply(a);this.ct.upa(b,1-this.hna);this.wT.copy(this.ct)}else{this.V4=
this.Fka(this.oS.sample);this.wT.copy(this.V4);this.H6=p}};b.prototype.am=O("ct");b.prototype.Fka=function(a){var b=new m.Vector3;b.copy(a);b.normalize();a=new m.Quaternion;a.v7(new m.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.xma=function(a,b){var c=new m.Quaternion,e=new m.Vector3;e.copy(a);e.normalize();c.setFromAxisAngle(e,a.length()*b);return c};c.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",
this.ot);window.removeEventListener("orientationchange",this.ot);window.removeEventListener("deviceorientation",this.LB);window.removeEventListener("devicemotion",this.KB)};c.prototype.nw=Q(q);c.prototype.am=function(){var a=n;if(this.dT&&this.QD){this.o5=this.o5||function(){var a=(new m.Quaternion).setFromAxisAngle(new m.Vector3(0,0,-1),0),b=new m.Quaternion;this.pG=="landscape-secondary"?b.setFromAxisAngle(new m.Vector3(0,1,0),Math.PI/-2):b.setFromAxisAngle(new m.Vector3(0,1,0),Math.PI/2);return a.multiply(b)}();
this.n5=this.n5||function(){var a=new m.Quaternion;a.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.QD,b=new m.Quaternion;b.copy(a);b.multiply(this.n5);b.multiply(this.l7);b.multiply(this.Ow);b.U6(this.o5,b);if(this.psa){b.x=0;b.z=0;b.normalize()}this.jI[0]=b.x;this.jI[1]=b.y;this.jI[2]=b.z;this.jI[3]=b.w;return this.jI}a=this.Ana.mma(this.filter.am(),this.VH,this.Dw);b=new m.Quaternion;b.copy(this.GH);b.multiply(this.l7);b.multiply(a);b.multiply(this.Ow);return b};c.prototype.LB=
function(a){this.QD=this.QD||new m.Quaternion;var b=a.alpha,c=a.era,a=a.sra,b=(b||0)*Math.PI/180,c=(c||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.QD.u7(c,b,-a)};c.prototype.KB=function(a){var b=a.rotationRate;if(b){var c=a.accelerationIncludingGravity,a=a.timeStamp/1E3;this.ww&&(a=a/1E3);var d=a-this.Dw;if(d<=o.cV||d>o.bV)this.Dw=a;else{this.dB.set(-c.x,-c.y,-c.z);this.VH.set(b.alpha,b.beta,b.gamma);(this.pi||this.ww||this.Rma)&&this.VH.V6(Math.PI/180);this.filter.Hka(this.dB,a);this.filter.Jka(this.VH,
a);this.Dw=a;if(!this.R6){this.Q6++;if(this.Q6>=5){this.R6=p;e.trigger(new k(f.Ub))}}this.pG!=this.x5()&&this.ot();e.trigger(new k(f.W))}}else{this.dT=p;window.addEventListener("deviceorientation",this.LB);window.removeEventListener("devicemotion",this.KB)}};c.prototype.bind=function(){e.bind.apply(e,arguments)};c.prototype.unbind=function(){e.unbind.apply(e,arguments)};c.prototype.ot=function(){this.N7();e.trigger(new k(f.W))};c.prototype.N7=function(){this.Ow.set(0,0,0,1);this.pG=this.x5();switch(this.pG){case "landscape-primary":this.Ow.setFromAxisAngle(new m.Vector3(0,
0,1),-Math.PI/2);break;case "landscape-secondary":this.Ow.setFromAxisAngle(new m.Vector3(0,0,1),Math.PI/2)}this.YS.copy(this.Ow);this.YS.inverse()};c.prototype.x5=function(){var a=screen.orientation&&screen.orientation.type;if(!a)switch(window.orientation){case 0:a="portrait-primary";break;case 90:a="landscape-primary";break;case -90:a="landscape-secondary";break;case 180:a="portrait-secondary"}a=="landscape-primary"&&(this.dB.z>4.9||this.dB.z<-4.9?a=this.pG||a:this.dB.x>0&&(a="landscape-secondary"));
return a};d.prototype.mma=function(a,b,c){if(!this.Dw){this.mI.copy(a);this.Dw=c;return a}c=new m.Vector3;c.copy(b);c.normalize();b=b.length();if(b<m.degToRad*20){this.MB.copy(a);this.mI.copy(a);return this.MB}this.m5.setFromAxisAngle(c,b*this.Bna);this.MB.copy(this.mI);this.MB.multiply(this.m5);this.mI.copy(a);return this.MB};g.prototype.set=function(a,b){this.sample=a;this.BI=b};g.prototype.copy=function(a){this.set(a.sample,a.BI)};var o={cV:0.001,bV:1,dna:function(a){return isNaN(a)||a<=o.cV||
a>o.bV?y:p}};o.pi=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();o.Era=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();o.ww=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();o.BS=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),b=a?parseInt(a[1],10):q;return function(){return b}}();o.Sma=function(){var a=
y;if(o.BS()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b)var b=b[1].split("."),c=b[3],a=parseInt(b[2],10)===3325&&parseInt(c,10)<148}else"getVRDisplays"in navigator&&h.browser()==h.xi&&h.rB()&&h.rd()==h.uC&&(a=p);return function(){return a}}();o.Wma=function(){return window.orientation==90||window.orientation==-90};return c});
define("iA","require,hj,ji,bL,dX,iB,t,ds,fJ,iK,hL".split(","),function(a){function b(){function a(){r=p;e.trigger(new d(c.W))}function b(){var e;C&&(f||!l)?e=s:l&&(e=g);if(o!=e){if(o){o.unbind(c.W,a);o.stop()}if(o=e){o.bind(c.W,a,this,p);a()}}}var f=k.Ed()==k.Ai||m.mh("debug")&&m.Yn("sensor")=="deviceorientation",g=new h,l=y;g.bind(c.Ub,function(){l=p;b()},this,p);var s=new j,C=y;s.bind(c.Ub,function(){C=p;b()},this,p)}a("hj");var c=a("ji"),d=a("bL"),g=a("dX"),f=a("iB"),k=a("t"),j=a("ds"),h=a("fJ");
a("iK");var m=a("hL"),e=new g,l={},r=y,o;l.ET=function(a){if(k.Ed()==k.Ai&&l.disabled&&DeviceMotionEvent.requestPermission){var c=y,e=y;DeviceOrientationEvent.requestPermission().then(function(a){if(a==="granted"){e=p;f()}});DeviceMotionEvent.requestPermission().then(function(a){if(a==="granted"){c=p;f()}});var f=function(){if(l.disabled&&c&&e){l.disabled=y;b();a&&a()}}}};l.bind=function(a,b){e.bind(c.W,a,b)};l.unbind=function(a,b){e.unbind(c.W,a,b)};l.pna=function(){return r};l.am=function(){r=y;
if(o){var a=o.am(),a=f.rU(a);return{yaw:a.ta,pitch:a.pitch,roll:a.bd}}return{yaw:0,pitch:0,roll:0}};if(k.Ed()==k.fK||k.Ed()==k.H8){l.available=y;l.disabled=y}else if(k.Ed()==k.zU&&k.browser()==k.xi&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=p;l.disabled=p}else if(k.Ed()==k.Ai){l.available=p;l.disabled=p;if(k.YH()>=13&&DeviceMotionEvent.requestPermission)l.ET();else{var s=function(){window.removeEventListener("deviceorientation",s,y);l.disabled=y;b()};window.addEventListener("deviceorientation",
s,y)}}else{l.available=window.DeviceMotionEvent!=n;l.disabled=y}l.available&&!l.disabled&&b();return l});define("hX",["require"],function(){return{Aqa:"single",FRONT:"front",ma:"left",BACK:"back",Fa:"right",fb:"top",eb:"bottom"}});
define("eu",["require","hX"],function(a){var a=a("hX"),b={},c=Math.PI/180,d=new THREE.Matrix4;new THREE.Matrix4;var g=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];b.Ff=Math.pow(10,3);b.VI=0.5*b.Ff;b.b9=b.Ff;b.TV=[a.FRONT,a.Fa,a.BACK,a.ma,a.fb,a.eb];b.j5=function(a,c){for(var d=b.Ff,h=b.VI,g=a*c,e=this.Ko(),l=[],r=0,o=6*g;r<o;r++)l.push(r);var r=[],s=g;r.push(this.Rt(e,a,c,-h,+h,-h,+d,0,-d,0,l.slice(0,s)));o=s;s+=g;r.push(this.Rt(e,a,
c,+h,+h,-h,0,+d,-d,0,l.slice(o,s)));o=s;s+=g;r.push(this.Rt(e,a,c,+h,+h,+h,-d,0,-d,0,l.slice(o,s)));o=s;s+=g;r.push(this.Rt(e,a,c,-h,+h,+h,0,-d,-d,0,l.slice(o,s)));o=s;s+=g;r.push(this.Rt(e,a,c,-h,+h,+h,+d,0,0,-d,l.slice(o,s)));o=s;r.push(this.Rt(e,a,c,-h,-h,-h,+d,0,0,+d,l.slice(o,s+g)));e.mergeVertices();e.computeFaceNormals();e.userData.type="cube";e.userData.q6=a;e.userData.f8=c;e.userData.wna=r;return e};b.mB=function(){var a=this.Ko();this.VW(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();a.computeFaceNormals();
a.userData.type="plane";return a};b.J7=function(a,b,c,d,g){var e=a.faceVertexUvs[0][0];e[0].x=b;e[0].y=c+g;e[1].x=b;e[1].y=c;e[2].x=b+d;e[2].y=c;e=a.faceVertexUvs[0][1];e[0].x=b;e[0].y=c+g;e[1].x=b+d;e[1].y=c;e[2].x=b+d;e[2].y=c+g;a.ksa=p};b.iw=function(){return b.VI};b.O5=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.P5=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.SH=function(a){return Math.max(Math.min(3.539647*a-6.669366*a*a+4.7454*a*a*a,b.VI),0.1)};b.Ko=function(){var a=new THREE.Geometry;a.userData=
{};return a};b.Rt=function(a,b,c,d,g,e,l,r,o,s,t){for(var u={},v=0,x=0;x<c;x++){u[x]={};for(var w=0;w<b;w++)this.VW(a,d+l*w/b+0*x/c,g+0*w/b+o*x/c,e+r*w/b+s*x/c,l/b,0/b,r/b,0/c,o/c,s/c,t[v]),u[x][w]=a.faces.slice(a.faces.length-2,a.faces.length),v+=1}return u};b.xra=function(a,b,c){b=0.5*b/Math.tan(0.5*c);d.copy(a);a=g[0];a.x=0;a.y=0;a.z=0;a.applyMatrix4(d);var c=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z),h=b/a.z,m=g[1];m.x=a.x*h;m.y=a.y*h;m.z=b;return c/Math.sqrt(m.x*m.x+m.y*m.y+m.z*m.z)};b.fma=function(a,
c,g){d.copy(c.matrixWorldInverse).multiply(g);switch(a.userData.type){case "cube":return b.lda(a,d,c.projectionMatrix);default:return b.mda(a)}};b.ama=function(a,c,d){switch(a.userData.type){case "plane":return b.Xca(a,c,d);default:return q}};b.VW=function(a,b,c,d,g,e,l,r,o,s,t){var u=a.vertices.length;a.vertices.push(new THREE.Vector3(b,c,d));a.vertices.push(new THREE.Vector3(b+r,c+o,d+s));a.vertices.push(new THREE.Vector3(b+g+r,c+e+o,d+l+s));a.vertices.push(new THREE.Vector3(b+g,c+e,d+l));a.faces.push(new THREE.Face3(u,
u+1,u+2,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);a.faces.push(new THREE.Face3(u,u+2,u+3,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)])};b.Xca=function(a,b,c){var d=a.faces[0],m=a.faces[1],e=g[0],l=g[1],r=g[2];e.copy(a.vertices[d.a]).applyMatrix4(b);l.copy(a.vertices[m.c]).applyMatrix4(b);r.copy(a.vertices[d.b]).applyMatrix4(b);var b=l.x-e.x,m=l.y-e.y,o=l.z-e.z,l=r.x-e.x,s=r.y-e.y,
r=r.z-e.z,t=m*r-o*s,u=o*l-b*r,v=b*s-m*l,x=c.direction.x*t+c.direction.y*u+c.direction.z*v;if(0!=x&&(v=-(t*(c.origin.x-e.x)+u*(c.origin.y-e.y)+v*(c.origin.z-e.z))/x,!(0>=v)))return t=c.origin.x+c.direction.x*v-e.x,u=c.origin.y+c.direction.y*v-e.y,e=c.origin.z+c.direction.z*v-e.z,c=(b*t+m*u+o*e)/(b*b+m*m+o*o),e=(l*t+s*u+r*e)/(l*l+s*s+r*r),b=a.faceVertexUvs[0][0][0],m=a.faceVertexUvs[0][1][2],l=a.faceVertexUvs[0][0][1],a=b.x+(m.x-b.x)*c+(l.x-b.x)*e,b=b.y+(m.y-b.y)*c+(l.y-b.y)*e,0>c||1<c||0>e||1<e?n:
{Ipa:a,Ppa:b,materialIndex:d.materialIndex}};b.lda=function(a,c,d){var h=Array.prototype.concat.apply([],a.userData.wna.map(function(h){return b.FZ(c,d,h,a.vertices,0,0,a.userData.q6,a.userData.f8).map(function(a){return a.materialIndex})}));return b.MZ(h)};b.mda=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.MZ(a)};b.MZ=function(a){var b={};a.forEach(function(a){b[a]=p});var a=[],c;for(c in b)a.push(c);return a};b.FZ=function(a,c,d,h,g,e,l,r){var o=[];if(b.Xia(a,c,h[d[e][g][0].a],
h[d[e+r-1][g][0].b],h[d[e+r-1][g+l-1][0].c],h[d[e][g+l-1][1].c]))if(1==l&&1==r)o.push(d[e][g][0]);else{e=1<r?[e,e+Math.ceil(0.5*r),e+r]:[e,e+r];g=1<l?[g,g+Math.ceil(0.5*l),g+l]:[g,g+l];for(l=1;l<e.length;l++)for(var r=e[l-1],s=e[l]-r,t=1;t<g.length;t++)var u=g[t-1],o=o.concat(b.FZ(a,c,d,h,u,r,g[t]-u,s))}return o};b.Xia=function(a,b,c,d,m,e){var l=[q,q,q,q,q];g[0].copy(c).applyMatrix4(a);g[1].copy(d).applyMatrix4(a);g[2].copy(m).applyMatrix4(a);g[3].copy(e).applyMatrix4(a);c=0;d=4;for(a=0;4>a;a++){var m=
g[(a+3)%4],e=g[a],r=g[(a+1)%4];if(0>=e.z)l[c++]=e;else{if(0>=m.z){var o=g[d++],s=m.z/(m.z-e.z);o.x=m.x+(e.x-m.x)*s;o.y=m.y+(e.y-m.y)*s;o.z=-1.0E-5;l[c++]=o}0>=r.z&&(o=g[d++],s=e.z/(e.z-r.z),o.x=e.x+(r.x-e.x)*s,o.y=e.y+(r.y-e.y)*s,o.z=-1.0E-5,l[c++]=o)}}if(2<c){for(a=0;a<c;a++)l[a].applyMatrix4(b);a=0;for(b=c-2;a<b;a++)if(c=l[a],d=l[a+1],m=l[a+2],!(1<c.x&&1<d.x&&1<m.x||-1>c.x&&-1>d.x&&-1>m.x||1<c.y&&1<d.y&&1<m.y||-1>c.y&&-1>d.y&&-1>m.y))return p}return y};b.mS=function(a,d,g,h,m){for(var e=a*c,l=0.5*
-e+0.5*Math.PI,r=d*c,o=0.5*(Math.PI-r)-g*c,s=0.5*b.b9,t=64/Math.PI,u=Math.max(2,Math.ceil(e/h*t)),t=Math.max(2,Math.ceil(r/m*t)),v=h*u,x=m*t,w=this.Ko(),z=0,C=[],A=0;A<=x;A++){for(var H=[],B=o+A*r/x,F=0;F<=v;F++){var K=-(l+F*e/v);w.vertices.push(new THREE.Vector3(-s*Math.cos(K)*Math.sin(B),+s*Math.cos(B),+s*Math.sin(K)*Math.sin(B)));H.push(z++)}C.push(H)}for(l=e=0;l<m;l++){r=l*t;for(o=0;o<h;o++){s=o*u;for(A=0;A<t;A++){v=1-A/t;x=1-(A+1)/t;for(F=0;F<u;F++){var z=F/u,H=(F+1)/u,B=C[r+A][s+F],K=C[r+A+
1][s+F+1],J=C[r+A][s+F+1];w.faces.push(new THREE.Face3(B,C[r+A+1][s+F],K,q,q,e));w.faceVertexUvs[0].push([new THREE.Vector2(z,v),new THREE.Vector2(z,x),new THREE.Vector2(H,x)]);w.faces.push(new THREE.Face3(B,K,J,q,q,e));w.faceVertexUvs[0].push([new THREE.Vector2(z,v),new THREE.Vector2(H,x),new THREE.Vector2(H,v)])}}e++}}w.mergeVertices();w.computeFaceNormals();w.userData.type="sphere";w.userData.Uc=a;w.userData.Qk=d;w.userData.pitch=g;w.userData.q6=h;w.userData.f8=m;return w};return b});
define("by",["require"],function(){return{Gq:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1CsTuZkcw6gJnVOhViVyMzlGM+lnsG04rIjNJIUlRSJyPdMCm8kxpFpfx3QzOc7UAUgDN8Rm8pIWe62rmYnbTEaY+CvZwy2xmbxEuU9quCk2kxcM7osKborN5AW6VEia3vJfdExISCKY5r+wvclVqT9rnGFSDuzrOh7LZF1kjaNltfPoqrhG7Txq20IE6VdZMwlg+R+qhEnROUTZ9nFMYs/VwGKkHkngGvfISUlOXeKcPaIG4OguYtKQ6tnDmKzcJwoWUyk3AjdUT+fGYEAw9UixrEnmKI15EJPMfdLBUrQbR1VpPUgjpyWipE1KHUlyeAyTHd6QZcjGRanIiksEZYjI+SZ5tPKHMMmTYxDuonBahFKlRSKqJSLnmtSJyh/KpJhpUmGyQQKsVdYOSTawxi0x2QcXxzn3K99MpgIOfiEcUv8ZHg5aef8nsRlHukoCQFv51dsx5coKTCRKmmy9L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Ozs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pOZlnOfM1d9Vg8shYaq1yeNNfMdAhuV4l8kdUpTe5OrS3OeOpcpAju62trcghq3gMDY4d9IkY7gijrcifLRUkOhKjdmBrd0fWp+8xdKJsejAzd7E0+aTsNZ5oNTwVlrDHid8hZ4wWX1bjtVCpdSpqquINUgldb2sJTOipaqIlaFefZfMZXNrjLRLaoo1aI1kRl6an6W5b3s+UnLdWmPlu7ybdpBVmr+yhYlYU3CLmraxbYKtSmBvYR20AAAAJnRSTlMADRUdLSTtHFmoOi7dUODF681AbUnWbL+wlWSAmnm8NIajjKeLetZ4Pp0AAF5LSURBVHja7JpLbuJAEIbDChBeGHuBEAdIWspIs+UkuVCfwLJledG2/JblFRu4Ro40VZVulw2ewEQzDCT5jcbdcrCaj78ebebhW19Nk4dvfRyePsYufJO9jCDBQk0XzszdrOeg1Wq5XK1wtN64M2cxpT/4hv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bIA1Zkih+G5YpD0l0C66AYsMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssMACCyywwAILLLDAAgsssJIIWGCBBRZYYIEFFlhggbUnli/yOqvz3oP1kerxLJkbsBYzPr1WD9ZCmpcXa8CKXFdKa+uiWD765cCanBM6sCbTTb5eC9bc33hPA1b8tN6BNRU3/YJgCf5XYE2lPhArP/PR/gvL/qCadSpWr9A/Hnk3HM7EyhWw/C59lpn8q8WZWJXGBezSwZfpYaksbbNHA9/v81ywdQfVQf8/tn1G4wT39GMyKr1dr/Osyqq8jfr9yNaSpXKLeV5bjQ377MLq7F34O932P2Ue28YpFBZb79OPKOwelWtom6916hqVGjzdu2XleVaPQZQPaWVmYWlsgbUZkqgFy1eWSslqU2n2IhvSLBsTWeplQlZ+bnJy2i601fOFpFO2fC071nxCWajb1K1OW/12SKkiPNWrWSt30hV11eSwyJ5OZZv5We9JN6F25t2ri2SX1e+LO+Wt9AvfNKmL8/o+O7qlDxHOqBLtpy/l5OMZcxA/DsuXdXjF6trGRX0U5PJj45K7pMmi/gv70+gtsjuKIwAAAABJRU5ErkJggg==",
e9:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADcCAMAAADA8VqlAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQL8QgO/fn89gMHAgUI+vkrzZGQAAB8pJREFUeNrtXduW2yAM5H63zf9/bdukjdYBjI0t4KHz1Obsnp0INJKQjMl//MeM4I7MDaM4mRk6xo1MDB9/Q5BpYeMLlEwKJ98E5aTbMMj4F4bMCG7iByuZEFv8gYVMBx1/Qk6n1zbuYSZzFBq/oclMcDIm8GQecBUzmGgbmpjDPGmDjnkwMgdElt08aYPNcpsnbXDxADKQ0Qgyy2yatIHnHXietI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ve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
n9:115,Gqa:117}});
define("in","require,jquery.mod,hj,ji,bL,dX,t".split(","),function(a){var b=a("jquery.mod"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),a=a("t");if(a.rd()!=a.Sw){var k=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen},j=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},h=document.createElement("div");if(a=!(k(h)||j())){var m;try{m=window.self===window.top}catch(e){m=
y}a=!m}if(a){var l=c.extend(f,function(a){f.call(this);this.v=a}),r=p;l.UT=function(a){r=a=="out_of_frame"};l.prototype.available=function(){return r};l.prototype.ih=function(){this.toggle()};l.prototype.Pd=D();l.prototype.toggle=function(){r&&window.open(window.self.location.href,"_blank")};l.prototype.enabled=function(){return l.enabled()};l.enabled=Q(y);l.Tl=Q(q);l.Pd=D();return l}l=c.extend(f,function(a){f.call(this);this.v=a;this.Dn=k(a);this.aaa=j();this.U=this.WM();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",
function(){c.RQ()});b(window).bind("resize",function(){c.RQ()})});l.UT=D();l.prototype.available=function(){return!(!k(this.v||h)&&!j())};l.prototype.ih=function(){this.enabled()||this.toggle()};l.prototype.Pd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){this.enabled()?this.aaa.call(document):this.Dn.call(this.v);this.RQ()};l.prototype.enabled=function(){return this.U&&this.WM()};l.prototype.WM=function(){return this.v===l.Tl()};l.prototype.RQ=function(){var a=this.WM();
if(this.U!=a){this.U=a;this.trigger(new g(d.W))}};l.enabled=function(){return!!l.Tl()};l.Tl=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};l.Pd=function(){l.enabled()&&j().call(document)}}else{l=c.extend(f,function(a){f.call(this);this.v=a});l.prototype.available=Q(p);l.prototype.ih=function(){this.enabled()||this.toggle()};l.prototype.Pd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){if(this.enabled()){o();
l.Qo=q}else{l.Qo&&l.Qo.Pd();o();var a=s();a.push("fullscreen");t(a);l.Qo=this}this.trigger(new g(d.W))};l.prototype.enabled=function(){return this==l.Qo};l.enabled=function(){return!!l.Tl()};l.Tl=function(){return l.Qo&&l.Qo.v};l.Pd=function(){l.enabled()&&l.Qo.Pd()};l.UT=D();l.Qo=q;var o=function(){for(var a=s(),b=[],c=0;c<a.length;c++)a[c]!="fullscreen"&&b.push(a[c]);t(b)},s=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]},t=function(a){window.location.hash="#"+
(a.length?a.join("&"):"")}}return l});
define("fG","require,jquery.mod,hj,jh,t,hL,jw,by,in".split(","),function(a){function b(a,b){this.yka=a;this.Kaa=b;this.QQ=[];this.Hf=q;this.aA=y}var c=a("jquery.mod"),d=a("hj"),g=a("jh"),f=a("t"),k=a("hL"),j=a("jw"),h=a("by"),m=a("in"),e="color:#000; font-family:Arial, Helvetica, sans-serif;",l="",r="border-color:#b2b2b2;",o=r,s="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",t="vertical-align:middle; padding:0;",
u='<img style="width:33vmin;" src="'+h.Gq+'"/>',v='<img style="width:24vmin;" src="'+h.Gq+'"/>',x='<img style="width:34vmin;" src="'+h.TI+'"/>',w='<img style="width:34vmin;" src="'+h.x8+'"/>',z='<img style="width:24vmin;" src="'+h.Z8+'"/>';if(f.Xa()){s=s+" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;";e=e+" font-size:3.6vmin; line-height:4.3vmin;";l=l+" margin:5vmin 0;";r=r+"  margin:5vmin 0;";o=o+"  margin:3vmin 0;";t=t+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else s=
s+" font-size:19px; padding:17px 34px;";l=l+e;b.prototype.KL=function(){if(!this.Hf){this.Hf=c("<div/>");this.Hf.css({position:"fixed","z-index":j.D8,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Hf.html(this.Kaa);c(this.Hf).find("button").on("click",function(a){this.Wea(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.lQ=function(a,b){var c={},e;for(e in b)c[e]=a.css(e);this.QQ.push({$el:a,css:c});a.css(b)};b.prototype.Yga=
function(){for(;this.QQ.length;){var a=this.QQ.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,e){if(!this.aA){this.KL();this.nY=a||D();this.EX=b||D();a=this.zca();if(a===n){this.aA=p;var f=this,a=c(m.Tl()||document.body);if(e!==p)a.children().each(function(){f.lQ(c(this),{visibility:"hidden"})});else{this.lQ(a,{overflow:"hidden"});a.children().each(function(){f.lQ(c(this),{position:"absolute","z-index":0})})}a.append(this.Hf)}else{this.aA=y;a?this.nY():this.EX()}}};b.prototype.hide=function(){if(this.aA){this.aA=
y;this.Hf.detach();this.Yga()}};b.prototype.zca=function(){var a;try{a=window.localStorage&&window.localStorage.getItem(this.pZ())}catch(b){}if(a=="true")return p;if(a=="false")return y};b.prototype.Q2=function(a){try{window.localStorage.setItem(this.pZ(),a?"true":"false")}catch(b){}};b.prototype.pZ=function(){return this.yka+"DontDisplay:"+window.location.pathname};b.prototype.Wea=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.nY();b&&this.Q2(p)}else if(a==
"tdvvriw_cancel"){this.EX();b&&this.Q2(y)}};var a=d.extend(b,function(){var a=['<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>',u,'<div style="'+l+'">'+g("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">'+g("use-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",'<div style="'+l+'">','<div style="margin-bottom:2vmin;">'+
g("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+g("launch-default-browser")+"</button></div>","</div>",w,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+g("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"ChromeAppInfoWindow",a)}),C=d.extend(b,
function(){var a=['<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>',u,'<div style="'+l+'">'+g("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+r+'">',"<div>",'<div style="'+l+'">','<div style="margin-bottom:2vmin;">'+g("samsung-internet-vr-info")+"</div>","</div>",w,"</div>\n</div></div>",
'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+g("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"SamsungInternetInfoWindow",a)}),A=d.extend(b,function(){b.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>',
w,'<div style="'+l+'">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="'+s+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),H=d.extend(b,function(){var a=['<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="'+
l+'"></div>','<div style="text-align:center;"><button style="'+s+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+g("exit-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"ExternalVRDisplayVRInfoWindow",a)});H.prototype.KL=function(){b.prototype.KL.call(this);k.Ul("vrv")===p&&this.Hf.css({background:"none"})};var B=d.extend(b,function(){var a;a=f.browser()==f.sh?window.location.protocol!="https:"?g("giroscope-disabled-http"):window.DeviceMotionEvent.requestPermission?
g("giroscope-disabled-safari-request-permission"):g("giroscope-disabled-safari-toggle-on"):g("giroscope-disabled-http");a=['<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="'+l+'">',a,"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+g("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"GiroscopeDisabledInfoWindow",a)}),F=d.extend(b,function(){var a=['<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>',u,'<div style="'+l+'">'+g("use-cardboard-info")+
'</div><div><button style="'+s+'" id="tdvvriw_continue">'+g("use-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",w,'<div style="'+l+'">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="'+s+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");b.call(this,"CarmelInstallationPromptVRInfoWindow",a)}),K=d.extend(b,
function(){var a=['<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>',u,'<div style="'+e+' margin:2vmin 0;">'+g("cardboard-v1")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+g("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+o+'">',"<div>",'<div style="'+e+' margin-bottom:2vmin;">'+g("cardboard-v2")+"</div>",'<div><button style="'+s+
'" id="tdvvriw_continue">'+g("use-cardboard-v2")+"</button></div>",x,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+g("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"CardboardV2InfoWindow",a)}),J=d.extend(b,function(){var a=['<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="'+l+'"></div>','<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">'+g("enter-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"EnterVRInfoWindow",a)}),L=d.extend(b,function(){b.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="'+l+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),
M=d.extend(b,function(){var a=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',v,'</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;">',z,'<div style="'+l+'">'+g("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+g("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"UseSafariVRInfoWindow",a)}),d=d.extend(b,function(){var a=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+h.Gq+'"/>','</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="'+h.ix+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+g("rotate-device")+"</div>","</div>\n</div>"].join("\n");b.call(this,"RotateVRInfoWindow",a)}),G={};G.a9=new C;G.zqa=new A;G.fqa=new H;G.$pa=new F;G.dqa=new J;G.tqa=new L;G.k9=new M;G.ix=new d;G.XU=new B;G.n8=new a;G.TI=new K;return G});define("cf",["require"],function(){return{Gq:"Cardboard",p9:"WebVR",q9:"WebXR"}});
define("eL",["require","hv","t","fj"],function(a){var b=a("hv"),c=a("t"),d=a("fj"),g={fna:function(a){return this.IB(a)||this.K6(a)?p:y},sm:function(){var a=c.Cna();g.sm=function(){return a};return a},K6:function(a){return"string"==typeof a&&d.is(a,d.eK)?p:y},Dra:function(a){return this.$S(a)||this.aT(a)?p:y},aT:function(a){return"string"==typeof a&&(d.is(a,d.B8)||d.FB(a,d.C8))?p:y},IB:function(a){return!!a&&!!a.tagName&&"VIDEO"==a.tagName},F6:function(a){return"string"==typeof a&&d.is(a,d.Wk)||this.IB(a)&&
d.is(a.currentSrc,d.Wk)?p:y},ena:function(a){return"string"==typeof a&&d.is(a,d.eK)||this.IB(a)&&d.is(a.currentSrc,d.eK)?p:y},$S:function(a){return!!a&&!!a.tagName&&"IMG"==a.tagName},C6:function(a){return!!a&&!!a.tagName&&"CANVAS"==a.tagName},Q5:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},J6:function(a){return 0!==a&&0===(a&a-1)},Tma:function(){return c.browser()==c.Tk},Zma:function(){return c.browser()==c.Eq},pi:function(){return c.Ed()==c.Ai},Qpa:function(a){if(k||g.Zma())return p;
if(g.pi())if(g.F6(a)){if(!b.v6)return p}else if(12>c.YH()||a&&a.videoWidth&&a.videoHeight&&589824>=a.videoWidth*a.videoHeight)return p;return y},Hma:function(){return g.Tma()||g.pi()},Gma:function(){return g.pi()&&b.v6&&11>c.YH()}},f=y;g.x6=function(){f=y};g.Qma=function(){return f};g.koa=function(){f=p};var k=y;g.yna=function(){g.pi()&&(k=p)};g.i5=function(a){var b={alpha:p,depth:p,stencil:p,antialias:y,premultipliedAlpha:p,preserveDrawingBuffer:y,powerPreference:"default",failIfMajorPerformanceCaveat:y,
xrCompatible:p};return a.getContext("webgl",b)||a.getContext("experimental-webgl",b)};return g});
define("cD","require,hj,jquery.mod,cK,jh,by,ji,t,d,iz,iM".split(","),function(a){function b(){this.Yc=y;this.uA=q;this.aa=this.S=100;this.DN=this.af=n;this.EN=100;this.v=document.createElement("div");this.v.style.opacity=0;this.v.style.display="none";this.v.style.gsa="opacity 0.3s";this.v.addEventListener("transitionend",this.$Q.bind(this));this.Ac=document.createElement("div");this.Ac.style.hasOwnProperty("backdropFilter")?this.Ac.style.backdropFilter="blur(8px)":this.Ac.style.backgroundColor="rgba(0, 0, 0, 0.6)";
this.Ac.style.position="absolute";this.Ac.style.left=0;this.Ac.style.top=0;this.Ac.style.right=0;this.Ac.style.bottom=0;this.v.appendChild(this.Ac);this.gb=document.createElement("img");this.gb.style.cursor="pointer";this.gb.style.position="absolute";this.gb.style.left="50%";this.gb.style.top="50%";this.gb.style.transform="translate(-50%, -50%)";this.v.appendChild(this.gb);this.Lt=g(this.v)}function c(a,b){this.reason=a;this.On=b}var d=a("hj"),g=a("jquery.mod");a("cK");a("jh");var f=a("by");EventName=
a("ji");Device=a("t");UIComponent=a("d");FadeInEffect=a("iz");FadeOutEffect=a("iM");var k=d.extend(UIComponent,function(){UIComponent.call(this);this.Rc("UserInteractionWindow");this.jb=q;this.yl=[];var a=new FadeInEffect;a.set("duration",500);a.set("easing","cubic_in");var b=new FadeOutEffect;b.set("duration",500);b.set("easing","cubic_out");this.R({contentOpaque:p,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:y});this.bind(EventName.sb,this.JR,this,p);this.bind(EventName.V,this.rka,
this,p)});k.prototype.JR=function(){this.jb&&this.jb.setSize(this.td(),this.sd())};k.prototype.rka=function(){var a=this.yl.slice();this.yl=[];this.fH();a.forEach(function(a){a.On.call(a.context)})};k.prototype.Ja=function(){UIComponent.prototype.Ja.call(this);if(!this.jb){this.jb=new b;this.jb.setSize(this.td(),this.sd());this.jb.Se(p);this.Ma().append(this.jb.lb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.fH()}};k.prototype.Kj=function(){UIComponent.prototype.Kj.call(this);
this.getParent().bind(EventName.sb,this.JR,this,p);k.R9(this)};k.prototype.Yh=function(){this.getParent().unbind(EventName.sb,this.JR,this,p);UIComponent.prototype.Yh.call(this);k.Mga(this)};k.prototype.Una=function(a){this.Dn(h,a)};k.prototype.FT=function(a){this.Dn(j,a)};k.prototype.Dn=function(a,b){this.yl.push(new c(a,b));this.yl.sort(function(a,b){return m[a.reason]-m[b.reason]});this.fH()};k.prototype.Zka=function(a){this.cancel(h,a)};k.prototype.Xka=function(){this.cancel(j,n)};k.prototype.cancel=
function(a,b){var c=this.eda(a,b);c>=0&&this.Sga(c)};k.prototype.tX=function(){this.gD(p)};k.prototype.mD=function(){this.gD(y)};k.prototype.eda=function(a,b){for(var c=0;c<this.yl.length;c++){var f=this.yl[c];if(f.reason==a&&f.On==b)return c}return-1};k.prototype.fH=function(){if(this.jb){var a=this.nda();if(a){switch(a.reason){case j:this.jb.VT(b.$U);break;case h:this.jb.VT(b.FJ)}this.set("visible",p)}else this.set("visible",y)}};k.prototype.Sga=function(a){this.yl.splice(a,1);a==this.yl.length&&
this.fH()};k.prototype.nda=function(){return this.yl.length>0?this.yl[0]:q};var j="vr",h="play",m={};m[j]=0;m[h]=1;b.prototype.lb=O("Lt");b.prototype.setSize=function(a,b){if(this.S!==a||this.aa!==b){this.S=a;this.aa=b;this.iH()}};b.prototype.Se=function(a){if(this.Yc!=a){this.Yc=a;if(this.uA){clearTimeout(this.uA);this.uA=q}if(this.Yc){this.v.style.display="block";this.v.style.opacity=0;this.uA=setTimeout(function(){this.uA=q;this.v.style.opacity=1}.bind(this),30)}else this.v.style.opacity=0}};b.prototype.VT=
function(a){if(this.af!=a){this.af=a;this.Vja()}};b.prototype.$Q=function(){if(!this.Yc)this.v.style.display="none"};b.prototype.Vja=function(){switch(this.af){case b.FJ:this.DN=f.uo;this.EN=f.U8;break;case b.$U:this.DN=f.l9;this.EN=f.n9}this.gb.src=this.DN;this.iH()};b.prototype.iH=function(){if(Device.Xa()){this.gb.style.maxWidth=Math.round(this.S*0.5)+"px";this.gb.style.width="20vmin"}else{this.gb.style.maxWidth=Math.round(this.S*0.33)+"px";this.gb.style.width=this.EN+"px"}};b.FJ="play";b.$U="vr";
k.AV=b;k.Dc=[];k.eP=[];k.R9=function(a){k.Dc.push(a);k.eP.forEach(function(b){k.f_(a,b)});k.eP=[]};k.Mga=function(a){k.Dc.splice(k.Dc.indexOf(a),1)};k.ready=function(){return k.Dc.length>0};k.FT=function(a){k.Dc.length?k.Dc.forEach(function(b){k.f_(b,a)}):k.eP.push(a)};k.f_=function(a,b){a.FT(function(){k.Dc.forEach(function(b){b!=a&&b.Xka()});b()})};return k});
define("ja",["require"],function(){var a={zi:{}};a.zi.NONE="none";a.zi.ma="left";a.zi.Fa="right";a.o9=function(){this.y=this.x=0;this.height=this.width=1};a.dW=function(){this.eye=a.zi.NONE;this.viewport=new a.o9;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.w8=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.LH=[]};a.G8=function(){this.pB=q;this.mj=200;this.li=100;this.IH=1};return a});
define("cG",["require"],function(){return{DC:"gaze",EJ:"gaze_click"}});
define("eB","require,hj,eL,dX,cD,ja,t,fG,hL,cG".split(","),function(a){var b=a("hj"),c=a("eL"),d=a("dX"),g=a("cD"),f=a("ja"),k=a("t"),j=a("fG"),h=a("hL"),m=a("cG"),a=b.extend(d,function(){d.call(this);this.H2=m.DC;this.As=[];this.Kg=new f.w8;this.wf=new f.dW;this.wf.eye=f.zi.ma;this.Af=new f.dW;this.Af.eye=f.zi.Fa;this.Kg.views=[this.wf,this.Af];this.jc=new f.G8});a.prototype.Zn=D();a.prototype.ih=D();a.prototype.Pd=D();a.prototype.PH=O("jc");a.prototype.Yl=O("Kg");a.prototype.Aa=D();a.prototype.isPresenting=
D();a.prototype.Zf=D();a.prototype.UH=O("H2");a.prototype.ht=D();a.prototype.Rv=function(a){this.As.indexOf(a)<0&&this.As.push(a)};a.prototype.DT=function(a){this.As.splice(this.As.indexOf(a),1);this.ht()==a&&this.Pd()};a.prototype.bda=function(){return this.As.length>0?this.As[this.As.length-1]:q};a.prototype.eQ=function(){var a=this.bda();if(a==q){a=document.createElement("canvas");a=c.i5(a);this.Rv(a)}return a};a.prototype.eG=function(a){g.FT(a)};a.prototype.AQ=function(a){if(k.rd()==k.Ft){this.SP();
j.n8.show(a,function(){this.RW()}.bind(this))}else k.rB()&&k.rd()==k.Tw?j.a9.show(a):k.rd()==k.sC?j.k9.show(a):a()};a.prototype.fQ=function(a){var b=function(b){this.H2=b;a()}.bind(this);!k.Xa()||k.mf()?b(m.DC):h.Yn("cardboard_version")=="1"?b(m.DC):h.Yn("cardboard_version")=="2"?b(m.EJ):j.TI.show(function(){b(m.EJ)}.bind(this),function(){b(m.DC)}.bind(this))};a.prototype.RW=function(){this.SP();var a=this.SZ();a.push("vr");this.aX(a)};a.prototype.SP=function(){this.aX(this.SZ().filter(function(a){return a!=
"vr"}))};a.prototype.SZ=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]};a.prototype.aX=function(a){window.location.hash="#"+(a.length?a.join("&"):"")};return a});
define("r",["require","jquery.mod","in"],function(a){function b(){e.get(0)==document.body&&k.height(window.innerHeight)}function c(a,b){var c={},e;for(e in b)c[e]=a.css(e);l.push({$el:a,css:c});a.css(b)}function d(a){this.v=a}var g=a("jquery.mod"),f=a("in");d.prototype.ih=function(){this.enabled()||this.toggle()};d.prototype.Pd=function(){this.enabled()&&this.toggle()};d.prototype.toggle=function(){this.enabled()?d.cancel():d.gm(this.v)};d.prototype.enabled=function(){return d.enabled(this.v)};var k=
g("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),j=g("<div/>"),h=q,m=q,e=q,l=[],r=q;d.gm=function(a){if(a!==h){d.cancel();h=a;var l=f.Tl()||document.body;m=g(a);e=g(l);j.insertAfter(m);m.appendTo(k);e.children().each(function(){c(g(this),{visibility:"hidden"})});c(m,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});l==document.body?c(k,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):c(k,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});k.appendTo(e);b();r=setInterval(b,300)}};d.cancel=function(){if(h){k.detach();m.insertBefore(j);for(j.detach();l.length;){var a=l.pop();a.$el.css(a.css)}e=m=h=q;l=[];clearInterval(r)}};d.enabled=function(a){return h==a};return d});
define("hd","require,hj,ji,bL,dX,jh,by".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("jh"),a=a("by"),k=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.Gq+'"/>','</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"),j=k+['<img style="width:22vmin" src="'+a.ix+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
f("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",h=k+['<img style="width:13vmin; vertical-align:middle;" src="'+a.e9+'"/>','<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>",b=b.extend(g,function(){g.call(this);this.Yg=this.Gi=this.Hi=this.Iy=this.Jy=this.fO=this.gO=n;
this.yE=y;this.Np=this.tP=this.eO=this.Bc=q;this.XY=[];this.d_=this.Bs=y;this.ib=this.ib.bind(this)});b.prototype.gm=function(){if(!this.Bs){this.Bs=p;this.IL();window.addEventListener("resize",this.ib);document.body.appendChild(this.Bc);document.body.appendChild(this.Np);this.Ria=document.body.style.overflow;document.body.style.overflow="auto";this.sz()}};b.prototype.cancel=function(){if(this.Bs){this.Bs=y;window.removeEventListener("resize",this.ib);document.body.style.overflow=this.Ria;document.body.removeChild(this.Bc);
document.body.removeChild(this.Np);this.S2(y)}};b.prototype.enabled=O("yE");b.prototype.IL=function(){if(!this.Bc){this.Bc=this.LD({position:"fixed",top:0,left:0,zIndex:9999998},p);this.Bc.id="tdvminuictr";this.tP=this.LD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,j);this.Bc.appendChild(this.tP);this.eO=this.LD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,h);this.Bc.appendChild(this.eO);this.Np=this.LD({position:"absolute",top:0,left:0,
right:0,height:"999999999vmax",zIndex:9999999},y);this.Np.id="tdvminuiscrl";this.Np.addEventListener("touchend",this.ib)}};b.prototype.LD=function(a,b,c){var f=document.createElement("div");this.Uz(f,a);c!==n&&this.Oha(f,c);b&&this.XY.push(f);return f};b.prototype.ib=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.NO.bind(this),a)}.bind(this))};b.prototype.NO=function(){(this.Hi!=window.innerWidth||this.Gi!=window.innerHeight)&&this.sz()};b.prototype.sz=function(){this.Hi=window.innerWidth;
this.Gi=window.innerHeight;this.Yg=this.Hi>this.Gi?"landscape":"portrait";var a;if(this.Yg=="landscape"){if(this.gO&&this.fO&&this.oea(this.gO,this.fO)&&(!this.Jy&&!this.Iy||this.pea(this.Jy,this.Iy))){this.Jy=this.Hi;this.Iy=this.Gi}if(this.kea()){this.Jy=this.Hi;this.Iy=this.Gi}this.gO=this.Hi;this.fO=this.Gi;a=this.Jy==this.Hi&&this.Iy==this.Gi}else a=y;this.XY.forEach(function(a){a.style.height=this.Gi+"px";a.style.width=this.Hi+"px"}.bind(this));var b=this.Bs&&this.Yg=="portrait",c=this.Bs&&
this.Yg=="landscape"&&!a,f=this.Bs&&this.Yg=="landscape";this.Uz(this.Bc,{display:b||c?"block":"none"});this.Uz(this.tP,{display:b?"block":"none"});this.Uz(this.eO,{display:c?"block":"none"});this.Uz(this.Np,{display:f?"block":"none",right:c?0:"99.9%"});this.S2(a)};b.prototype.S2=function(a){if(this.tG!=q){clearTimeout(this.tG);this.tG=q}if(this.yE!=a)this.tG=setTimeout(function(){this.tG=q;(this.yE=a)?this.trigger(new d(c.zj)):this.trigger(new d(c.ua));this.trigger(new d(c.W))}.bind(this),a?1E3:
0)};b.prototype.kea=function(){var a=window.innerWidth,b=window.innerHeight,c=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(f){c=Math.min(c,Math.abs(100-100*a*f[1]/(b*f[0])))});return c<=1?p:y};b.prototype.oea=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.pea=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Uz=function(a,b){for(var c in b)a.style[c]=
b[c]};b.prototype.Oha=function(a,b){a.innerHTML=b};return new b});
define("jm",["require","t","cY","dQ"],function(a){var b=a("t"),c=a("cY"),d=a("dQ");if(b.browser()==b.sh){a=function(){this.Na=q};a.prototype.tS=function(a){this.Na=a;this.Na.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD0xMCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIwLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IHZidl9tYXhyYXRlPTIwM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O2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",0,
y);this.Na.bind(c.AJ,this.gd,this,p)};a.prototype.fT=function(){this.Na.unbind(c.AJ,this.gd,this,p);this.Na=q};a.prototype.gd=function(){0.5<this.Na.nj()&&this.Na.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD0xMCByYz1j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EAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",
Math.random(),y)};var g=y,f=new a;return{enable:function(){g||(g=p,d.tH(f))},disable:function(){g&&(g=y,d.NB(f))}}}return b.browser()==b.xi?(a=function(){this.Na=q},a.prototype.tS=function(a){this.Na=a;this.Na.play(q,q,0,p)},a.prototype.fT=function(){this.Na=q},g=y,f=new a,{enable:function(){g||(g=p,d.tH(f))},disable:function(){g&&(g=y,d.NB(f))}}):{enable:D(),disable:D()}});
define("gI",["require","jquery.mod","jh","by"],function(a){function b(){this.Hf=q;this.U=y;this.ib=this.ib.bind(this);this.Gi=this.Hi=this.Yg=n}var c=a("jquery.mod"),d=a("jh"),g=a("by");b.prototype.Ko=function(){this.Hf||(this.Hf=c("<div/>"),this.Hf.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.Hf.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
g.Gq+'"/>','</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="'+g.ix+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+d("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};b.prototype.show=function(a){this.U||(this.U=p,this.Ko(),
c(a).append(this.Hf),c(window).on("resize",this.ib),this.sz())};b.prototype.hide=function(){this.U&&(this.U=y,c(window).off("resize",this.ib),this.Hf.detach())};b.prototype.ib=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.NO.bind(this),a)}.bind(this))};b.prototype.NO=function(){(this.Hi!=window.innerWidth||this.Gi!=window.innerHeight)&&this.sz()};b.prototype.sz=function(){this.Hi=window.innerWidth;this.Gi=window.innerHeight;this.Yg=this.Hi>this.Gi?"landscape":"portrait";this.Hf.toggle("landscape"!=
this.Yg)};return new b});
define("gV","require,hj,ji,bL,eu,hv,t,iA,fG,bI,cf,eB,d,S,in,r,hd,jm,gI".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("eu"),f=a("hv"),k=a("t"),j=a("iA"),h=a("fG"),m=a("bI"),e=a("cf"),l=a("eB"),r=a("d"),o=a("S"),s=a("in"),t=a("r"),u=a("hd"),v=a("jm"),x=a("gI"),w=b.extend(l,function(){l.call(this);this.Tf=this.fe=this.Ne=this.Nz=this.gn=this.xg=this.Jb=q;this.kf=e.Gq;this.Aa=this.Aa.bind(this)});w.prototype.Zn=function(a){if(this.yy()){var b=function(b){if(this.Jb=b.length?b[0]:q){this.Jb.depthNear=
0.1;this.Jb.depthFar=2*g.Ff;this.xg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",this.AP.bind(this),y);u.bind(c.ua,this.Pd.bind(this))}a(!!this.Jb)}.bind(this),e=window.WebVRConfig||(window.WebVRConfig={});e.BUFFER_SCALE=w.Xv;e.ALWAYS_APPEND_POLYFILL_DISPLAY=p;e.LOCK_ORIENTATION=y;m.eW.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(y)};w.prototype.ih=function(){!this.isPresenting()&&!this.fe&&this.Gs(function(){this.AQ(function(){this.fQ(function(){if(!this.isPresenting()&&
!this.fe){this.fe=this.eQ();this.xQ();this.Jb.requestPresent([{source:this.fe.canvas}]).then(function(){this.Tf=this.fe;this.fe=q;k.rd()!=k.Rw&&x.show(s.Tl());this.hv();this.YA()}.bind(this))["catch"](function(){this.fe=q;this.rA()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};w.prototype.Pd=function(){this.isPresenting()&&this.Jb.exitPresent()};w.prototype.Aa=function(a){return this.Jb.requestAnimationFrame(function(b){var c=this.hv();c&&this.Xs();a(b);c&&this.Jb.submitFrame()}.bind(this))};
w.prototype.isPresenting=function(){return!!this.Jb&&this.Jb.isPresenting};w.prototype.ht=O("Tf");w.prototype.Zf=O("kf");w.prototype.AP=function(){if(this.isPresenting())o.xI(this.Aa,this.Jb.cancelAnimationFrame.bind(this.Jb));else{o.HT();(this.Tf||this.fe)&&this.rA()}this.trigger(new d(c.W))};w.prototype.yy=function(){return j.available&&f.webgl&&k.Xa()&&k.at()!=k.Xw};w.prototype.Gs=function(a){if(j.disabled)h.XU.show(function(){j.ET(function(){this.Gs(a)}.bind(this))});else if(s.enabled()||!r.xw()){s.Pd();
this.eG(function(){this.Gs(a)}.bind(this))}else a()};w.prototype.xQ=function(){t.gm(this.fe.canvas);k.rd()==k.Sw?this.RW():v.enable();k.rd()==k.Rw&&u.gm()};w.prototype.hv=function(){this.Jb.getFrameData(this.xg);if(!this.xg.pose||!this.xg.pose.orientation)return y;this.gn=this.Jb.getEyeParameters("left");this.Nz=this.Jb.getEyeParameters("right");var a=this.Jb.getLayers();this.Ne=a&&a.length&&a[0]||q;return!this.Ne?y:p};w.prototype.YA=function(){this.jc.pB=q;this.jc.mj=this.gn.renderWidth*2;this.jc.li=
this.gn.renderHeight;this.jc.IH=1};w.prototype.Xs=function(){var a=this.xg.pose;this.Kg.orientation.fromArray(a&&a.orientation||z);this.Kg.position.fromArray(a&&a.position||C);this.YR()};w.prototype.YR=function(){this.wf.position.fromArray(this.gn.offset);this.wf.orientation.fromArray(z);this.wf.projectionMatrix.fromArray(this.xg.leftProjectionMatrix);this.wf.viewport.x=Math.round(this.jc.mj*this.Ne.leftBounds[0]);this.wf.viewport.y=Math.round(this.jc.li*this.Ne.leftBounds[1]);this.wf.viewport.width=
Math.round(this.jc.mj*this.Ne.leftBounds[2]);this.wf.viewport.height=Math.round(this.jc.li*this.Ne.leftBounds[3]);this.Af.position.fromArray(this.Nz.offset);this.Af.orientation.fromArray(z);this.Af.projectionMatrix.fromArray(this.xg.rightProjectionMatrix);this.Af.viewport.x=Math.round(this.jc.mj*this.Ne.rightBounds[0]);this.Af.viewport.y=Math.round(this.jc.li*this.Ne.rightBounds[1]);this.Af.viewport.width=Math.round(this.jc.mj*this.Ne.rightBounds[2]);this.Af.viewport.height=Math.round(this.jc.li*
this.Ne.rightBounds[3])};w.prototype.rA=function(){this.SP();this.Tf=this.fe=q;u.cancel();t.cancel();v.disable();x.hide()};w.Xv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var z=[0,0,0,1],C=[0,0,0];return w});
define("fM","require,hj,bL,ji,t,cf,eB,eu,d,S,r".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("ji"),g=a("t"),f=a("cf"),k=a("eB"),j=a("eu"),h=a("d"),m=a("S"),e=a("r"),a=b.extend(k,function(){k.call(this);this.Tf=this.fe=this.Ne=this.Nz=this.gn=this.xg=this.Jb=q;this.Aa=this.Aa.bind(this)});a.prototype.Zn=function(a){if(this.yy()){var b=function(b){if(this.Jb=b.length?b[0]:q){this.Jb.depthNear=0.1;this.Jb.depthFar=2*j.Ff;this.xg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",
this.AP.bind(this),y);window.addEventListener("vrdisplayactivate",this.O1.bind(this));window.addEventListener("vrdisplaydeactivate",this.Pd.bind(this))}a(!!this.Jb)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(y)};a.prototype.ih=function(){!this.isPresenting()&&!this.fe&&this.Gs(function(){this.AQ(function(){this.fQ(function(){!this.isPresenting()&&!this.fe&&this.O1()}.bind(this))}.bind(this))}.bind(this))};a.prototype.Pd=function(){this.isPresenting()&&this.Jb.exitPresent()};
a.prototype.Aa=function(a){return this.Jb.requestAnimationFrame(function(b){var c=this.hv();c&&this.Xs();a(b);c&&this.Jb.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Jb&&this.Jb.isPresenting};a.prototype.ht=O("Tf");a.prototype.Zf=function(){return f.p9};a.prototype.yy=function(){return"getVRDisplays"in navigator};a.prototype.AP=function(){if(this.isPresenting()){m.xI(this.Aa,this.Jb.cancelAnimationFrame.bind(this.Jb));this.hv()&&this.Xs()}else{m.HT();(this.Tf||this.fe)&&
this.rA()}this.trigger(new c(d.W))};a.prototype.Gs=function(a){h.xw()?a():this.eG(function(){a()})};a.prototype.O1=function(){this.fe=this.eQ();this.xQ();this.Jb.requestPresent([{source:this.fe.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Tf=this.fe;this.fe=q;this.hv()&&this.Xs()}.bind(this))["catch"](function(){this.fe=q;this.rA()}.bind(this))};a.prototype.xQ=function(){e.gm(this.fe.canvas)};a.prototype.hv=function(){this.Jb.getFrameData(this.xg);if(!this.xg.pose||!this.xg.pose.orientation)return y;
this.gn=this.Jb.getEyeParameters("left");this.Nz=this.Jb.getEyeParameters("right");var a=this.Jb.getLayers();this.Ne=a&&a.length&&a[0]||q;return!this.Ne?y:p};a.prototype.Xs=function(){this.YA();var a=this.xg.pose;this.Kg.orientation.fromArray(a&&a.orientation||l);this.Kg.position.fromArray(a&&a.position||r);this.YR()};a.prototype.YA=function(){this.jc.pB=q;this.jc.mj=this.gn.renderWidth*2;this.jc.li=this.gn.renderHeight;this.jc.IH=g.mf()?2048/this.jc.li:1};a.prototype.YR=function(){this.wf.position.fromArray(this.gn.offset);
this.wf.orientation.fromArray(l);this.wf.projectionMatrix.fromArray(this.xg.leftProjectionMatrix);var a=this.Ne.leftBounds&&this.Ne.leftBounds.length==4?this.Ne.leftBounds:o;this.wf.viewport.x=Math.round(this.jc.mj*a[0]);this.wf.viewport.y=Math.round(this.jc.li*a[1]);this.wf.viewport.width=Math.round(this.jc.mj*a[2]);this.wf.viewport.height=Math.round(this.jc.li*a[3]);this.Af.position.fromArray(this.Nz.offset);this.Af.orientation.fromArray(l);this.Af.projectionMatrix.fromArray(this.xg.rightProjectionMatrix);
a=this.Ne.rightBounds&&this.Ne.rightBounds.length==4?this.Ne.rightBounds:s;this.Af.viewport.x=Math.round(this.jc.mj*a[0]);this.Af.viewport.y=Math.round(this.jc.li*a[1]);this.Af.viewport.width=Math.round(this.jc.mj*a[2]);this.Af.viewport.height=Math.round(this.jc.li*a[3])};a.prototype.rA=function(){this.Tf=this.fe=q;e.cancel()};var l=[0,0,0,1],r=[0,0,0],o=[0,0,0.5,1],s=[0.5,0,0.5,1];return a});
define("gR","require,hj,bL,ji,t,cf,eB,eu,d,S,r,hC".split(","),function(a){function b(a){setTimeout(a,10)}var c=a("hj"),d=a("bL"),g=a("ji"),f=a("t"),k=a("cf"),j=a("eB"),h=a("eu"),m=a("d"),e=a("S"),l=a("r"),r=a("hC"),o=c.extend(j,function(){j.call(this);this.Ys=this.$A=this.ii=this.Tf=q;this.uv="stopped";this.Aa=this.Aa.bind(this);this.kQ=this.kQ.bind(this);this.dQ=this.dQ.bind(this);this.G4=y;r.g8(function(){b(function(){this.G4=p}.bind(this))}.bind(this))});o.prototype.Zn=function(a){if(this.yy())this.aja().then(function(b){b?
a(p):a(y)})["catch"](function(){a(y)});else a(y)};o.prototype.ih=function(){this.uv=="stopped"&&this.Gs(function(){this.AQ(function(){this.fQ(function(){this.uv=="stopped"&&setTimeout(function(){this.Jia()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};o.prototype.Jia=function(){this.uv="starting";this.trigger(new d(g.W));e.cU(p);navigator.xr.requestSession("immersive-vr").then(function(a){this.ii=a;this.ii.addEventListener("end",this.kQ);this.ii.addEventListener("select",this.dQ);return this.ii.requestReferenceSpace("local")}.bind(this)).then(function(a){this.$A=
a;this.Tf=this.eQ();return this.Tf.makeXRCompatible()}.bind(this)).then(function(){l.gm(this.Tf.canvas);var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.ii),a=Math.max(a,1);f.E6()?a=a*1:f.mf()?a=a*1.42222:f.Xa()&&(a=a*o.Xv);this.Ys=new XRWebGLLayer(this.ii,this.Tf,{antialias:y,framebufferScaleFactor:a});this.ii.updateRenderState({baseLayer:this.Ys,depthNear:0.1,depthFar:2*h.Ff});this.YA();this.uv="started";e.xI(this.Aa,this.ii.cancelAnimationFrame.bind(this.ii));e.cU(y)}.bind(this))["catch"](function(){e.cU(y);
this.K2();this.trigger(new d(g.W))}.bind(this))};o.prototype.Pd=function(){this.isPresenting()&&this.ii.end()};o.prototype.Aa=function(a){return this.ii.requestAnimationFrame(function(b,c){this.$R=c;this.Xs();a(b)}.bind(this))};o.prototype.isPresenting=function(){return this.uv!="stopped"};o.prototype.Zf=function(){return k.q9};o.prototype.ht=O("Tf");o.prototype.yy=function(){return"xr"in navigator};o.prototype.aja=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):
"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};o.prototype.Gs=function(a){f.rd()==f.Gt?this.G4?a():m.xw()?b(a):this.eG(function(){b(a)}):m.xw()?a():this.eG(function(){a()})};o.prototype.kQ=function(){e.HT();this.K2();this.trigger(new d(g.W))};o.prototype.dQ=function(){this.trigger(new d(g.Ci))};o.prototype.K2=function(){this.Ys=this.$A=this.ii=this.Tf=q;this.uv="stopped";l.cancel()};o.prototype.YA=function(){this.jc.pB=this.Ys.framebuffer;this.jc.mj=
this.Ys.framebufferWidth;this.jc.li=(f.rd()==f.Gt?2:1)*this.Ys.framebufferHeight;this.jc.IH=1};o.prototype.Xs=function(){var a=this.$R.getViewerPose(this.$A),b=a&&a.transform.orientation||s;this.Kg.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||t;this.Kg.position.set(b.x,b.y,b.z);for(var a=this.$R.getViewerPose(this.$A.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var e=a.views[c],f;if(e.eye=="left")f=this.wf;else if(e.eye=="right")f=this.Af;else continue;b=e.transform.position;
f.position.set(b.x,b.y,b.z);b=e.transform.orientation;f.orientation.set(b.x,b.y,b.z,b.w);f.projectionMatrix.fromArray(e.projectionMatrix);e=this.Ys.getViewport(e);f.viewport.x=e.x;f.viewport.y=e.y;f.viewport.width=e.width;f.viewport.height=e.height}var d=[];this.ii.inputSources.forEach(function(a){if(a.targetRayMode=="tracked-pointer"&&a.gamepad){var b=a.gamepad;if(!b.pose)b.WS=this.$R.getPose(a.targetRaySpace,this.$A);if(!b.hand)b.Mma=a.handedness;if(!b.id)b.Nma=b.mapping+" "+a.handedness;d.push(b)}}.bind(this));
this.Kg.LH=d};o.Xv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var s={x:0,y:0,z:0,w:1},t={x:0,y:0,z:0};return o});
define("bd","require,hj,ji,dX,t,iA,hL,gV,cG,cf,ja,fM,gR,ey".split(","),function(a){function b(a,c){if(a.length){var e=new a[0];e.Zn(function(f){f?c(e):b(a.slice(1),c)})}else c(q)}var c=a("hj"),d=a("ji"),g=a("dX"),f=a("t"),k=a("iA"),j=a("hL"),h=a("gV"),m=a("cG"),e=a("cf"),l=a("ja"),r=a("fM"),o=a("gR"),s=a("ey"),t=y,u=[],v=new g;v.zi=l.zi;v.f9=m;v.Fqa=e;v.available=Q(p);v.Yl=Q(q);v.PH=Q(q);v.isPresenting=Q(y);v.ih=function(){t=p};v.Pd=function(){t=y};v.vra=Q(q);v.Rv=function(a){u.indexOf(a)<0&&u.push(a)};
v.DT=function(a){a=u.indexOf(a);a==-1||u.splice(a,1)};v.fpa=function(a){h.Xv=a;o.Xv=a};v.jma=function(){return h.Xv};v.Zf=Q(q);v.UH=Q(q);v.log=function(){v.available()?v.Zf()?c.log("VR: "+v.Zf()):c.log("VR: not ready"):c.log("VR: not available");c.log("gyroscope: "+k.available)};a=f.browser()==f.xi&&!f.Xa()?[o,r,h]:f.E6()?[o,r]:j.Yn("vr_mode")=="cardboard"?[h]:[r,o,h];b(a,function(a){if(a){a.bind(d.W,function(){v.trigger(d.W)},v,p);a.bind(d.Ci,function(){v.trigger(d.Ci)},v,p);v.available=Q(p);v.PH=
function(){return a.PH()};v.Yl=function(){return a.Yl()};v.isPresenting=function(){return a.isPresenting()};v.ih=function(){a.ih()};v.Pd=function(){a.Pd()};v.ht=function(){return a.ht()};v.Rv=function(b){a.Rv(b)};v.DT=function(b){a.DT(b)};v.Zf=function(){return a.Zf()};v.UH=function(){return a.UH()};u.forEach(function(b){a.Rv(b)});t&&a.ih()}else v.available=Q(y)});v.bind(d.W,function(){s.sI(v.isPresenting())},window,p);return v});
define("cC","require,ji,hm,dX,S,bd".split(","),function(a){function b(a){this.GD=a;this.Lf=q;this.dL={};for(a=0;a<this.GD.buttons.length;a++)this.dL[this.GD.buttons[a]]=y;this.cL=0;this.Ep=q;this.ws=[new THREE.Quaternion,new THREE.Quaternion];this.vs=this.ws[0];this.Sf=[new THREE.Vector3,new THREE.Vector3];this.Ab=this.Sf[0]}function c(a,b,c){this.Ima=a;this.buttons=b;this.Dna=c}function d(){if(!(C||w==e.Qd)){w=e.Qd;var a,c=l.isPresenting()&&l.Yl();if(a=c&&c.LH&&c.LH.length?c.LH:navigator.getGamepads&&
navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].w7(q);for(c=0;c<a.length;c++){var f=a[c];if(f&&(f.pose||f.WS)){var d=f.id||f.Nma,j=x[d];if(!j){var k;a:{k=d;for(var m=0;m<r.length;m++){var t=r[m];if(k.indexOf(s[t].Ima)==0){k=t;break a}}k=n}k&&u.push(j=x[d]=new b(s[k]))}j&&x[d].w7(f)}}(a=v)&&!v.cT()&&(v=q);for(c=0;c<u.length;c++){j=u[c];if(j.cT()&&j.pressed()){v=j;break}}if(!v)for(c=0;c<u.length;c++){j=u[c];if(j.cT()){if(j.hand()==o){v=j;break}v||(v=j)}}a!=v&&h.RB(g)}}}function g(){t.trigger(j.W)}
function f(){d()}function k(){if(l.isPresenting()){if(z){clearInterval(z);z=q}d();z=setInterval(f,500)}else if(z){clearInterval(z);z=q}}var j=a("ji"),h=a("hm"),m=a("dX"),e=a("S"),l=a("bd"),r=["oculus go","oculus touch","xr-standard","gear vr","daydream","vive","vive focus","microsoft","unknown"],o="right",s={};s["oculus go"]=new c("Oculus Go",["trackpad","trigger"],"trigger");s["oculus touch"]=new c("Oculus Touch",["thumbstick","trigger","grip","abutton","bbutton","surface"],"trigger");s["xr-standard"]=
new c("xr-standard",["trigger","grip","unknow_button_0","thumbstick","abutton","bbutton","unknow_button"],"trigger");s["gear vr"]=new c("Gear VR",["trackpad","trigger"],"trigger");s.daydream=new c("Daydream Controller",["trackpad","menu","system"],"trackpad");s.vive=new c("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");s["vive focus"]=new c("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");s.microsoft=new c("Spatial Controller (Spatial Interaction Source)",["thumbstick",
"trigger","grip","menu","thumbpad"],"trigger");s.unknown=new c("",[],n);b.prototype.w7=function(a){if(this.Lf=a){this.tda=this.Lf.hand||this.Lf.Mma;if(this.Lf.pose){this.Ep=this.Lf.pose;if(this.Ep.orientation){this.vs=this.ws[0]==this.vs?this.ws[1]:this.ws[0];this.vs.fromArray(this.Ep.orientation)}if(this.Ep.position){this.Ab=this.Sf[0]==this.Ab?this.Sf[1]:this.Sf[0];this.Ab.fromArray(this.Ep.position)}else this.Ab=q}else if(this.Lf.WS){this.Ep=this.Lf.WS.transform;this.vs=this.ws[0]==this.vs?this.ws[1]:
this.ws[0];this.vs.copy(this.Ep.orientation);this.Ab=this.Sf[0]==this.Ab?this.Sf[1]:this.Sf[0];this.Ab.copy(this.Ep.position)}for(var a=0,b=Math.min(this.Lf.buttons.length,this.Lf.buttons.length);a<b;a++)this.dL[this.GD.buttons[a]]=this.Lf.buttons[a].pressed;for(a=this.cL=0;a<this.Lf.buttons.length;a++)this.Lf.buttons[a].pressed&&this.cL++}};b.prototype.pulse=function(a,b){var c=this.Lf&&this.Lf.hapticActuators;(c=c&&c.length&&c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.cT=function(){return!!this.Lf};
b.prototype.hand=O("tda");b.prototype.quaternion=O("vs");b.prototype.position=O("Ab");b.prototype.pressed=function(a){a||(a=this.GD.Dna);return!a?this.cL>0:this.dL[a]};var t=new m;t.all=function(){d();return u};t.gI=function(){d();return v};t.ma="left";t.Fa=o;var u=[],v=q,x={},w=n,z=q,C=URL.Ul("disable-controller",y);l.bind(j.W,k);k();return t});
define("ci",["require","ep","a"],function(a){function b(a,b){this.Fd=a||new c(0,0,0);this.Ag=b||new c(1,0,0)}var c=a("ep"),d=a("a");b.prototype.clone=function(){return new b(this.Fd.clone(),this.Ag.clone())};b.prototype.apply=function(a){a.Tv(this.Fd);a.Tv(this.Ag)};b.prototype.tma=function(){return d.iq(this.Fd,this.Ag)};return b});
define("fk",["ci","ep"],function(a,b){function c(a,b,c){this.S=a||100;this.aa=b||100;this.ia=c||Math.PI;this.FP=n;this.cl=p}c.prototype.XB=function(a){this.ia!=a&&(this.ia=a,this.cl=p)};c.prototype.jq=O("ia");c.prototype.gC=function(a){this.S!=a&&(this.S=a,this.cl=p)};c.prototype.Ic=O("S");c.prototype.x7=function(a){this.aa!=a&&(this.aa=a,this.cl=p)};c.prototype.ud=O("aa");c.prototype.project=function(a){if(0!=a.z){this.v4();var b=1/a.z,c=this.FP*b;a.x=0.5*this.S-a.x*c;a.y=0.5*this.aa-a.y*c;a.z=b}};
c.prototype.unproject=function(c){this.v4();return new a(new b(0,0,0),new b(0.5*this.S-c.x,0.5*this.aa-c.y,this.FP))};c.prototype.v4=function(){this.cl&&(this.FP=0.5*this.S/Math.tan(0.5*this.ia),this.cl=y)};return c});
define("jn",["require"],function(){function a(){this.bd=this.pitch=this.ta=0;this.Pe=this.Uc=90;this.wH=this.lS=this.height=this.width=100;this.tT=1;this.Kb=y;this.qh=0;this.iI=y;this.tw=this.OB=p;this.gh=this.Te=q;this.enabled=y;this.Qd=0}a.prototype.clone=function(){var b=new a;b.ta=this.ta;b.pitch=this.pitch;b.bd=this.bd;b.Uc=this.Uc;b.Pe=this.Pe;b.width=this.width;b.height=this.height;b.lS=this.lS;b.wH=this.wH;b.tT=this.tT;b.Kb=this.Kb;b.qh=this.qh;b.iI=this.iI;b.OB=this.OB;b.tw=this.tw;b.Te=
this.Te;b.gh=this.gh;b.enabled=this.enabled;b.Qd=this.Qd;return b};return a});
define("cu","require,jquery.mod,cK,ji,X,S,cZ".split(","),function(a){function b(a){this.kU=a;this.element=document.createElement("div");this.pU=document.createElement("span");this.element.appendChild(this.pU);this.pU.innerHTML=a.text.split("<br>").join("\n").split("\n").map(d).join("<br>");this.yH=y}function c(a){this.D=a;this.HA=f.throttle(this.HA.bind(this),100);this.IA=f.throttle(this.IA.bind(this),100);this.v=document.createElement("div");this.v.style.position="absolute";this.v.style.left=0;this.v.style.top=
0;this.v.style.right=0;this.v.style.bottom=0;this.v.style.zIndex=1;this.v.style.cursor="inherit";this.v.style.display="none";this.Lt=g(this.v);this.Zg=document.createElement("div");this.Zg.style.position="absolute";this.Zg.style.left=0;this.Zg.style.right=0;this.Zg.style.zIndex=1;this.Zg.style.cursor="inherit";this.v.appendChild(this.Zg);this.Up=q;this.Dv=[];this.He=[];this.bP={};this.Ov=j.eb;this.D.bind(k.ha("subtitlesEnabled"),this.kR,this);c.BV.forEach(function(a){this.D.bind(k.ha(a),this.HA,this)}.bind(this));
c.CV.forEach(function(a){this.D.bind(k.ha(a),this.IA,this)}.bind(this));this.kR();this.HA();this.IA()}function d(a){e.innerHTML=a;return e.innerText}var g=a("jquery.mod"),f=a("cK"),k=a("ji"),j=a("X"),h=a("S"),m=a("cZ");c.prototype.clear=function(){this.hU(q);if(this.D){this.D.unbind(k.ha("subtitlesEnabled"),this.kR,this);c.BV.forEach(function(a){this.D.unbind(k.ha(a),this.HA,this)}.bind(this));c.CV.forEach(function(a){this.D.unbind(k.ha(a),this.IA,this)}.bind(this));this.D=q}};c.prototype.lb=O("Lt");
c.prototype.hU=function(a){if(this.Up!=a){this.Up&&this.Up.unbind(k.ha("activeSubtitles"),this.X_,this,p);(this.Up=a)&&this.Up.bind(k.ha("activeSubtitles"),this.X_,this,p)}};c.prototype.X_=function(){this.kia(this.Up&&this.Up.get("activeSubtitles")||[])};c.prototype.kR=function(){this.U=this.D.get("subtitlesEnabled");this.yR()};c.prototype.HA=function(){this.Ov=this.iy("subtitlesVerticalAlign",[j.fb,j.fc,j.eb],j.eb);this.Zg.style["text-align"]=this.iy("subtitlesHorizontalAlign",[j.ma,j.Fa,j.vc],j.vc);
this.Zg.style.bottom=this.Ov==j.eb?this.rg("subtitlesBottom",0):"";this.Zg.style.top=this.Ov==j.fb?this.rg("subtitlesTop",0):this.Ov==j.fc?"50%":"";this.Zg.style.transform=this.Ov==j.fc?"translate(0, -50%)":"";this.yR()};c.prototype.IA=function(){var a={};a["background-color"]=this.nN("subtitlesBackgroundColor","subtitlesBackgroundOpacity");a.border=[this.rg("subtitlesBorderSize"),"solid",this.Ze("subtitlesBorderColor")].join(" ");a["box-shadow"]=this.Ze("subtitlesShadow",y)?[this.rg("subtitlesShadowHorizontalLength"),
this.rg("subtitlesShadowVerticalLength"),this.rg("subtitlesShadowBlurRadius"),this.nN("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";a.display="inline-block";a["font-family"]=m.gq(this.Ze("subtitlesFontFamily"));a["font-size"]=this.rg("subtitlesFontSize");a.color=this.Ze("subtitlesFontColor");a["font-weight"]=this.iy("subtitlesFontWeight",["bold","bolder","lighter","100","200","300","400","500","600","700","800","900","normal"],"normal");a["font-style"]=this.iy("subtitlesFontStyle",
["italic","normal"],"normal");a["margin-bottom"]=this.rg("subtitlesGap");a.opacity=this.Ze("subtitlesOpacity");a["padding-top"]=this.rg("subtitlesPaddingTop");a["padding-bottom"]=this.rg("subtitlesPaddingBottom");a["padding-left"]=this.rg("subtitlesPaddingLeft");a["padding-right"]=this.rg("subtitlesPaddingRight");a.position="relative";a["text-align"]=this.iy("subtitlesHorizontalAlign",["left","right","center"],"center");a["text-decoration"]=this.Ze("subtitlesTextDecoration",["underline","overline",
"line-through","none"],"none");a["text-shadow"]=[this.rg("subtitlesTextShadowHorizontalLength"),this.rg("subtitlesTextShadowVerticalLength"),this.rg("subtitlesTextShadowBlurRadius"),this.nN("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.bP=a;this.o$()};c.prototype.kia=function(a){this.Dv=a;this.yR()};c.prototype.yR=function(){for(var a=this.U?this.Dv:[],c=this.He.length-1;c>=0;c--){var e=this.He[c];if(a.indexOf(e.kU)>=0)break;this.Zg.removeChild(e.element)}for(var f=
[],d=y;c>=0;c--){e=this.He[c];if(!e.yH&&a.indexOf(e.kU)<0){e.yH=p;e.element.style.visibility="hidden";d=p}f.splice(0,0,e)}d&&h.Aa(this.aY,this);this.He=f;var g=this.He.filter(function(a){return!a.yH}).map(function(a){return a.kU});a.filter(function(a){return g.indexOf(a)<0}).forEach(function(a){a=new b(a);this.dX(a);this.Ov==j.eb&&this.He.length>0?this.Zg.insertBefore(a.element,this.He[this.He.length-1].element):this.Zg.appendChild(a.element);this.He.push(a)}.bind(this));this.v.style.display=this.He.length>
0?"block":"none"};c.prototype.aY=function(a){for(var b=y,a=Math.round(200*a/1E3),c=0;c<this.He.length;c++){var e=this.He[c];if(e.yH){b=p;if(a>=e.element.clientHeight){a=a-e.element.clientHeight;this.Zg.removeChild(e.element);this.He.splice(c,1);c--}else{e.element.style.height=e.element.clientHeight-a+"px";break}}}b&&h.Aa(this.aY,this)};c.prototype.o$=function(){this.He.forEach(this.dX.bind(this))};c.prototype.dX=function(a){for(var b in this.bP)a.pU.style[b]=this.bP[b]};c.prototype.Ze=function(a,
b){return this.D.get(a,b)};c.prototype.rg=function(a,b){var c=this.D.get(a,b);isNaN(c)||(c=Math.round(c)+"px");return c};c.prototype.iy=function(a,b,c){a=this.D.get(a);return b.indexOf(a)<0?c:a};c.prototype.nN=function(a,b,c,e){a=this.D.get(a,c);b=this.D.get(b,e);return"rgba("+parseInt("0x"+a.substr(1,2))+", "+parseInt("0x"+a.substr(3,2))+", "+parseInt("0x"+a.substr(5,2))+", "+b+")"};c.BV=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];c.CV=["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"];var e=document.createElement("div");return c});
define("hr",["require","hj","cu"],function(a){var b=a("hj"),c=a("cu"),a=b.extend(c,function(a,b){c.call(this,a);this.ee=b;this.ee.bind(EventName.ha("panorama"),this.KO,this);this.KO()});a.prototype.clear=function(){this.ee&&(this.ee.unbind(EventName.ha("panorama"),this.KO,this),this.ee=q);c.prototype.clear.call(this)};a.prototype.KO=function(){this.hU(this.ee.get("panorama"))};return a});
define("gW",["require","t"],function(a){var b=a("t"),a={},c=180/Math.PI,d=Math.PI/180;a.oj=function(a,b,c){return this.lB(a,b,c)};a.km=function(a,b,c){return this.lB(a,c,b)};a.lB=function(a,b,k){return 2*Math.atan(k*Math.tan(0.5*a*d)/b)*c};a.wra=function(a){return b.browser()==b.Qw?Math.max(a,20):a};return a});define("cv",["require"],function(){return{Sk:0,ma:1,Fa:2}});
define("gU",["require","fc"],function(a){function b(){this.status=b.NC;this.zT=this.st=0;this.yT=[]}a("fc");b.LOADING="loading";b.P="loaded";b.NC="not loaded";return b});
define("hf","require,cK,hj,bL,ji,gL,gU".split(","),function(a){function b(){this.NY={};this.ic=[];this.kp=[];this.Fc={}}var c=a("cK"),d=a("hj");a("bL");var g=a("ji"),f=a("gL"),k=a("gU");b.prototype.oU=function(a){for(var a=a.Jk(),b=0,c=a.length;b<c;b++)if(this.hy(a[b]).status!=k.P)return y;return p};b.prototype.ao=function(a,b){this.ic.push(a);this.S9(a,b)};b.prototype.vi=function(a,b){var f=c(this.ic).indexOf(a);f<0&&i("Unloading item not loaded");this.ic.splice(f,1);this.Nga(a,b)};b.prototype.Dd=
function(a,b){return this.Fc[a].Dd(b)};b.prototype.S9=function(a,b){this.kp.push(a);for(var c=a.Jk(),e=0,f=c.length;e<f;e++){var d=c[e],g=this.hy(d);g.st++;g.yT.push(b);if(g.status==k.NC){g.status=k.LOADING;this.yea(d,Math.min.apply(Math,g.yT))}}this.q4()};b.prototype.Nga=function(a,b){this.kp=c(this.kp).without(a);for(var f=a.Jk(),e=0,d=f.length;e<d;e++){var g=f[e],o=this.hy(g);o.st--;var s=o.yT,t=s.indexOf(b);t>=0&&s.splice(t,1);if(o.st==0&&o.status!=k.NC){o.status=k.NC;o.zT=0;this.Gja(g)}}};b.prototype.q4=
function(a){for(var a=(a==n?this.kp:this.zZ(a)).slice(),b=0;b<a.length;b++){for(var f=a[b],e=f.Jk(),d=0,g=0,o=e.length,s=0;s<e.length;s++){var t=this.hy(e[s]),d=d+t.zT;t.status==k.P&&g++}f.Qoa(d/o);if(g==o){f.XT();this.kp=c(this.kp).without(f)}}};b.prototype.hy=function(a){var b=this.NY[a];b||(this.NY[a]=b=new k);return b};b.prototype.zZ=function(a){for(var b=[],f=0;f<this.kp.length;f++){var e=this.kp[f];c(e.Jk()).contains(a)&&b.push(e)}return b};b.prototype.yea=function(a,b){var c=new f(b);this.Fc[a]=
c;c.bind(g.P,this.gz,this,p);c.bind(g.md,this.hz,this,p);c.load(a)};b.prototype.Gja=function(a){var b=this.Fc[a];delete this.Fc[a];b.unbind(g.P,this.gz,this);b.unbind(g.md,this.hz,this);b.cancel()};b.prototype.gz=function(a){var a=a.source.Qe(),b=this.hy(a);b.zT=100;b.status=k.P;this.q4(a)};b.prototype.hz=function(a){for(var a=a.source.Qe(),b=this.zZ(a),c=0;c<b.length;c++){var e=b[c];this.vi(e);e.toa()}d.log("Error loading: "+a)};b.$c=new b;return b.$c});
define("iG",["require","hf","eL","t"],function(a){var b=a("hf"),c=a("eL"),d=a("t"),g={wO:n,Toa:N("wO"),jM:n,qoa:N("jM"),createTexture:function(){var a=new THREE.Texture;a.image=g.jw();a.userData={};a.userData.a8={};return a},bla:function(a){a.image!=this.jw()&&(a.image=this.jw(),a.needsUpdate=p)},FI:function(a,b){b=this.Gla(b);a.generateMipmaps=this.$$(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,!c.J6(b.width)||!c.J6(b.height)?(a.kl||(a.kl=document.createElement("canvas"),a.kl.OG=
p),a.image=a.kl,a.kl.Za=b,a.image.width=c.Q5(b.width),a.image.height=c.Q5(b.height),a.image.getContext("2d").drawImage(b,0,0,a.image.width,a.image.height)):a.image=b;else if(a.minFilter=THREE.LinearFilter,c.IB(b)&&c.Qpa(b)){a.bk||(a.bk=document.createElement("canvas"),a.Zda=a.bk.getContext("2d"),a.bk.OG=p);var d=b.videoWidth;c.pi()&&(d=Math.min(3168,d));var h=d*b.videoHeight/b.videoWidth;if(a.bk.width!=d||a.bk.height!=h)a.bk.width=d,a.bk.height=h;b.readyState>=b.HAVE_CURRENT_DATA&&a.Zda.drawImage(b,
0,0,d,h);a.image=a.bk}else a.image=b;a.kl&&a.image!=a.kl&&(g.DH(a.kl),delete a.kl);a.needsUpdate=p;if((d=g.OS(a))&&d.Fra)d.needsUpdate=p;c.x6()},Gla:function(a){a?c.aT(a)?a=b.Dd(a,y):c.K6(a)?a=this.jw():c.IB(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.jw()):a=this.jw();return a},jla:function(a,b,d,h,g){var e=document.createElement("canvas");e.width=c.sm();e.height=c.sm();e.OG=p;var l=e.getContext("2d");if(!l)return q;l.drawImage(a,b,d,h,g,0,0,c.sm(),c.sm());
this.HH(e);return e},DH:function(a){c.C6(a)&&a.OG&&(delete a.OG,a.width=0,a.height=0)},dispose:function(a){a.bk&&a.bk!=a.image&&this.DH(a.bk);a.image&&this.DH(a.image);a.dispose()},jpa:function(a,b){a.userData.a8.material=b},OS:function(a){return a.userData.a8.material},Uka:function(a){return c.$S(a)},l5:function(a){c.aT(a)&&(a=b.Dd(a,y));c.$S(a)&&this.HH(a)},HH:function(a){var b=document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");g.HH=function(a){c.drawImage(a,0,0,1,1,
0,0,1,1)};return g.HH(a)},gM:q,jw:function(){if(!this.gM){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.gM=a}return this.gM},$$:function(a){if(c.fna(a)||c.C6(a))return y;if(d.Xa()){if(this.wO!==n)return this.wO}else if(this.jM!==n)return this.jM;return y}};return g});
define("bG",["require","eL","iG"],function(a){function b(a){this.lC=(a=c.F6(a))&&c.Hma();this.EB=a&&c.Gma();this.dq=0;this.Ol=n;this.iB=this.jB=0}var c=a("eL"),d=a("iG"),g={MS:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},Hk:function(a,b){a||(a=d.createTexture());b||(b=new g.Aj);return b.Wna()?this.hla(a,b):this.AH(a)},AH:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.eX(b);return b},hla:function(a,b){var c={uniforms:{},transparent:p};c.uniforms.texture=
{type:"sampler2D",value:a};a.flipY=!b.lC;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.lC?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.EB||b.dq||b.Ol){var d=[],g=[],d=d.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};g=g.concat(["   vec4 color = texture2D(texture, vUV);","   float alpha = color.a * opacity;"]);if(b.dq){var e=
a.image.width,l=a.image.height,r=0.5*Math.min(e,l)*b.dq;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(r/e,r/l)};d=d.concat(["uniform vec2 blendingLimit;"]);g=g.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(","))}b.Ol&&
(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.Ol.substr(1,2),16)/255,parseInt(b.Ol.substr(3,2),16)/255,parseInt(b.Ol.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.jB},c.uniforms.chromaSmoothing={type:"f",value:b.iB},d=d.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),g=g.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("{")));
g=g.concat(["\tgl_FragColor = vec4(color"+(b.EB?".bgr":".rgb")+", alpha);"]);a.format=THREE.RGBAFormat;c.fragmentShader=[].concat(d,["void main() {"],g,["}"]).join("\n")}else c.fragmentShader="uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";c=new THREE.ShaderMaterial(c);this.eX(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=g.MS(a);b&&d.dispose(b);a.dispose()})},eX:function(a){a.side=THREE.DoubleSide;
a.transparent=p;a.depthTest=y;a.needsUpdate=p;a.userData={};a.userData.N6={};d.jpa(g.MS(a),a)},aU:function(a,b){a.userData.N6.lT=b},J5:function(a){return a.userData.N6.lT}};b.prototype.Wna=function(){return this.lC||this.EB||this.dq||this.Ol};b.prototype.isEqual=function(a){return this.lC===a.lC&&this.EB===a.EB&&this.dq===a.dq&&this.Ol===a.Ol&&this.jB===a.jB&&this.iB===a.iB};g.Aj=b;return g});
define("cQ",["require","eu","bG"],function(a){function b(a){return Array.isArray(a)?a:a?[a]:[]}var c=a("eu"),d=a("bG"),g={create:function(a,c){var g=new THREE.Mesh(a,c);g.overdraw=y;g.matrixAutoUpdate=y;g.userData.co={};g.userData.co.attributes={};b(c).forEach(function(a){d.aU(a,g)});return g},fla:function(a){var b=new THREE.Group;g.forEach(a,function(a){b.add(a)});return b},$T:function(a,c){b(c).forEach(function(a){d.aU(a,q)});d.dispose(a.material);a.material=c;b(c).forEach(function(b){d.aU(b,a)})},
kq:function(a){return b(a.material)},gma:function(a,b){if(a.layers.mask&b.layers.mask){var d=g.kq(a);return c.fma(a.geometry,b,a.matrixWorld).map(function(a){return d[a]})}return[]},IS:function(a,b){var j=[];g.Ef(a,function(a){var f=g.kq(a);b.forEach(function(b){var g=c.ama(a.geometry,a.matrixWorld,b);if(g){var k=d.MS(f[g.materialIndex]),b=k.image;b==k.kl&&(b=k.kl.Za);k=Math.round(g.Ipa*b.width-0.5);k=0>k?0:k>b.width-1?b.width-1:k;g=Math.round((1-g.Ppa)*b.height-0.5);g=0>g?0:g>b.height-1?b.height-
1:g;j.push({x:k,y:g,source:b})}})});return j},M7:function(a,b){g.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},Dt:"panoramaId",Et:"panoramaFrameId",AU:"panoramaOverlayId",LI:"levelIndex",setAttribute:function(a,b,c){g.Ef(a,function(a){a.userData.co.attributes[b]=c})},getAttribute:function(a,b){return a.userData.co.attributes[b]},q5:function(a,b,c){for(var d=[],g=0,e=a.length;g<e;g++){var l=a[g];l.userData.co.attributes[b]!==c&&d.push(l)}return d},FH:function(a,b,c){for(var d=[],
g=0,e=a.length;g<e;g++){var l=a[g];l.userData.co.attributes[b]===c&&d.push(l)}return d},b6:function(a,b){for(var c={},d=0,g=a.length;d<g;d++){var e=a[d],l=e.userData.co.attributes[b];l!==n&&(c[l]||(c[l]=[])).push(e)}return c},yS:function(a){a=a.userData.co.alpha;return a===n?1:a},cd:function(a,b){g.Ef(a,function(a){a.userData.co.alpha=b;g.kq(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},Rl:function(a,b){g.Ef(a,function(a){a.matrix.copy(b);
a.matrixWorldNeedsUpdate=p})},Z5:function(a){return a.renderOrder},iU:function(a,b){g.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){g.Ef(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=n);a.material&&(d.dispose(a.material),a.material=n)})},Zl:function(a){var b=[];g.Ef(a,function(a){b.push(a)});return b},forEach:function(a,b){Array.isArray(a)?a.forEach(b):a&&a.isObject3D&&(a.isMesh||"Group"==a.type)&&b(a)},Ef:function(a,b){if(Array.isArray(a))for(var c=0,d=a.length;c<d;c++)g.Ef(a[c],
b);else if(a&&a.children){c=0;for(d=a.children.length;c<d;c++)g.Ef(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return g});define("I",["require","cQ"],function(a){var b=a("cQ");return{Zl:function(a){var d=[];a.children&&a.children.forEach(function(a){b.Ef(a,function(a){a.userData&&a.userData.co&&d.push(a)})});return d},TT:function(a,b){a.userData.vH=b},AS:function(a){return a.userData.vH||[]},fw:function(a){return a.userData.vH&&0<a.userData.vH.length&&a.userData.vH[0]||q}}});
define("U","require,bd,t,cv,I,eL".split(","),function(a){function b(){if(d.Xa()){var a=[Math.max(document.documentElement.clientWidth,window.innerWidth||0),Math.max(document.documentElement.clientHeight,window.innerHeight||0)].sort(function(a,b){return b-a}),b=window.devicePixelRatio||1,b=[screen.width*b,screen.height*b].sort(function(a,b){return b-a}),b=[b[0]/a[0],b[1]/a[1]].sort()[0];if(b!==Infinity)return b}return window.devicePixelRatio}var c=a("bd"),d=a("t"),g=a("cv"),f=a("I"),k=a("eL"),j=180/
Math.PI;return{P8:function(a,c){var e,d;this.setSize=function(b,c){if(e!=b||d!=c){e=b;d=c;a.setSize(b,c)}};this.start=function(e){f.TT(e,[c]);a.setPixelRatio(b())};this.stop=D();this.fov=function(){return c.fov};this.wU=D();this.gh=function(){return c};this.render=function(b,e,d){a.setRenderTarget(e);d&&a.clear();a.render(b,c)}},m9:function(a,b){var e,d,k,o,s=new THREE.Vector2,t=new THREE.PerspectiveCamera;t.layers.enable(g.ma);var u=new THREE.PerspectiveCamera;u.layers.enable(g.Fa);this.start=function(b){a.getSize(s);
e=a.getPixelRatio();d=s.width;k=s.height;o=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var g=c.PH();g.pB&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,g.pB);a.setClearColor(0,1);a.setDrawingBufferSize(g.mj,g.li,g.IH);f.TT(b,[t,u])};this.stop=function(){a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,o);a.setClearColor(0,0);a.setDrawingBufferSize(d,k,e)};this.setSize=function(a,b){d=a;k=b};this.fov=function(){return u.fov};this.gh=function(){return u};this.wU=
function(){b.updateProjectionMatrix();b.updateMatrixWorld();c.Yl().views.forEach(function(a){var e=a.eye==c.zi.ma?t:a.eye==c.zi.Fa?u:q;if(e){b.matrixWorld.decompose(e.position,e.quaternion,e.scale);e.applyQuaternion(a.orientation);e.translateOnAxis(a.position,1);e.projectionMatrix.copy(a.projectionMatrix);e.fov=2*Math.atan(1/e.projectionMatrix.elements[5])*j}})};this.render=function(b,e,d){var f=b.autoUpdate;if(f){b.updateMatrixWorld();b.autoUpdate=y}if(e){a.setRenderTarget(e);e.scissorTest=p}else{a.setRenderTarget(q);
a.setScissorTest(p)}(a.autoClear||d)&&a.clear();c.Yl().views.forEach(function(d){var f=d.eye==c.zi.ma?t:d.eye==c.zi.Fa?u:q;if(f){if(e){e.viewport.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);e.scissor.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}else{a.setViewport(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);a.setScissor(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}a.render(b,f)}});a.getSize(s);if(e){e.viewport.set(0,0,s.width,
s.height);e.scissor.set(0,0,s.width,s.height);e.scissorTest=y;a.setRenderTarget(q)}else{a.setViewport(0,0,s.width,s.height);a.setScissorTest(y)}if(f)b.autoUpdate=p}},g9:function(a,c){var e,d,j=1,o=new THREE.CubeCamera(0.1,1E4,1024);o.layers.enable(g.Sk);o.layers.enable(g.ma);var s=new THREE.ShaderMaterial;s.uniforms={tCube:{value:o.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};s.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";
s.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";s.side=THREE.BackSide;s.depthWrite=y;s.transparent=p;s.depthTest=y;s.needsUpdate=p;var t=new THREE.Mesh(new THREE.SphereBufferGeometry(5,64,64),s);t.overdraw=y;t.matrixAutoUpdate=y;t.renderOrder=1E3;var u=new THREE.Matrix4;this.xt=function(a){j=a};this.setSize=
function(b,c){if(e!=b||d!=c)a.setSize(e=b,d=c)};this.start=function(e){e.add(t);e.add(o);e.traverse(function(a){if(a.layers.test(o.layers)){a.userData.eT=a.layers.mask;a.layers.mask=o.layers.mask}});o.visible=p;t.visible=p;f.TT(e,[c]);a.setClearColor(16777215,1);a.setPixelRatio(b())};this.stop=function(b){a.setClearColor(0,0);b.traverse(function(a){if(a.userData.eT!==n){a.layers.mask=a.userData.eT;delete a.userData.eT}});o.visible=y;t.visible=y;b.remove(t);b.remove(o)};this.fov=function(){return c.fov};
this.wU=function(){if(j>0){t.matrix.copy(c.matrixWorld);t.matrix.multiply(u.makeTranslation(0,0,-j*5));t.matrixWorldNeedsUpdate=p}};this.gh=function(){return c};var v=0;this.render=function(b,e,d){if(j>0){v++;if(!k.Qma()||v%10==0){k.koa();t.visible=y;o.update(a,b);t.visible=p}}a.setRenderTarget(e);d&&a.clear();a.render(b,c)}}}});
define("k",["require"],function(){function a(a,b){this.g=a;this.r2=b;this.Kz=new THREE.CustomRenderPass(b);this.nG=new THREE.SavePass;this.Co=new THREE.ShaderPass(THREE.m8,"tDiffuse1");this.Co.uniforms.tDiffuse2.value=this.nG.renderTarget.texture;this.Co.uniforms.mixRatio.value=0.8;this.o1=new THREE.ShaderPass(THREE.CopyShader);this.o1.rq=p;this.Br=new THREE.EffectComposer(a);this.Br.addPass(this.Kz);this.Br.addPass(this.Co);this.Br.addPass(this.nG);this.Br.addPass(this.o1);this.xL=this.yL=this.mn=
n;this.F7(y)}var b=new THREE.Vector2;a.prototype.destroy=function(){this.Br=this.Co=this.nG=this.Kz=this.r2=this.g=q};a.prototype.F7=function(a){if(this.mn!==a){this.mn=a;this.Kz.rq=!this.mn;this.Co.rq=this.mn;this.nG.enabled=this.mn;if(this.Co.enabled=this.mn)this.Co.uniforms.mixRatio.value=0;this.PM=3}};a.prototype.render=function(a,d){if(this.mn){this.g.getSize(b);if(this.yL!==b.width||this.xL!==b.height)this.yL=b.width,this.xL=b.height,this.Br.setSize(this.yL,this.xL);this.Kz.IT=a;this.Kz.gh=
d;this.mn&&0<this.PM&&(this.PM--,0===this.PM&&(this.Co.uniforms.mixRatio.value=0.65));this.Br.render()}else this.r2(this.g,a,d,q,y)};THREE.m8={uniforms:{tDiffuse1:{value:q},tDiffuse2:{value:q},mixRatio:{value:0.5},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform float mixRatio;\nuniform sampler2D tDiffuse1;\nuniform sampler2D tDiffuse2;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel1 = texture2D( tDiffuse1, vUv );\n\tvec4 texel2 = texture2D( tDiffuse2, vUv );\n\tgl_FragColor = opacity * mix( texel1, texel2, mixRatio );\n}"};
THREE.CopyShader={uniforms:{tDiffuse:{value:q},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel = texture2D( tDiffuse, vUv );\n\tgl_FragColor = opacity * texel;\n}"};THREE.EffectComposer=function(a,b){this.fm=a;if(b===n){var g={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,
format:THREE.RGBAFormat,stencilBuffer:y},f=a.getSize(new THREE.Vector2);this.tk=a.getPixelRatio();this.S=f.width;this.aa=f.height;b=new THREE.WebGLRenderTarget(this.S*this.tk,this.aa*this.tk,g);b.texture.name="EffectComposer.rt1"}else this.tk=1,this.S=b.width,this.aa=b.height;this.Ew=b;this.Fw=b.clone();this.Fw.texture.name="EffectComposer.rt2";this.oC=this.Ew;this.PB=this.Fw;this.rq=p;this.pq=[];THREE.CopyShader===n&&console.error("THREE.EffectComposer relies on THREE.CopyShader");THREE.ShaderPass===
n&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.ela=new THREE.ShaderPass(THREE.CopyShader);this.cla=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.PB;this.PB=this.oC;this.oC=a},addPass:function(a){this.pq.push(a);a.setSize(this.S*this.tk,this.aa*this.tk)},insertPass:function(a,b){this.pq.splice(b,0,a)},Xma:function(a){for(a+=1;a<this.pq.length;a++)if(this.pq[a].enabled)return y;return p},render:function(a){a===n&&(a=this.cla.getDelta());
var b=this.fm.getRenderTarget(),g=y,f,k,j=this.pq.length;for(k=0;k<j;k++)if(f=this.pq[k],f.enabled!==y){f.rq=this.rq&&this.Xma(k);f.render(this.fm,this.oC,this.PB,a,g);if(f.qT){if(g){var h=this.fm.getContext(),m=this.fm.state.buffers.stencil;m.setFunc(h.NOTEQUAL,1,4294967295);this.ela.render(this.fm,this.oC,this.PB,a);m.setFunc(h.EQUAL,1,4294967295)}this.swapBuffers()}THREE.MaskPass!==n&&(f instanceof THREE.MaskPass?g=p:f instanceof THREE.ClearMaskPass&&(g=y))}this.fm.setRenderTarget(b)},reset:function(a){a===
n&&(a=this.fm.getSize(new THREE.Vector2),this.tk=this.fm.getPixelRatio(),this.S=a.width,this.aa=a.height,a=this.Ew.clone(),a.setSize(this.S*this.tk,this.aa*this.tk));this.Ew.dispose();this.Fw.dispose();this.Ew=a;this.Fw=a.clone();this.oC=this.Ew;this.PB=this.Fw},setSize:function(a,b){this.S=a;this.aa=b;var g=this.S*this.tk,f=this.aa*this.tk;this.Ew.setSize(g,f);this.Fw.setSize(g,f);for(var k=0;k<this.pq.length;k++)this.pq[k].setSize(g,f)},setPixelRatio:function(a){this.tk=a;this.setSize(this.S,this.aa)}});
THREE.Pass=function(){this.qT=this.enabled=p;this.rq=this.clear=y};Object.assign(THREE.Pass.prototype,{setSize:D(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}});THREE.Pass.FullScreenQuad=function(){function a(b){this.$E=new THREE.Mesh(g,b)}var b=new THREE.OrthographicCamera(-1,1,1,-1,0,1),g=new THREE.PlaneBufferGeometry(2,2);Object.defineProperty(a.prototype,"material",{get:function(){return this.$E.material},set:function(a){this.$E.material=a}});
Object.assign(a.prototype,{dispose:function(){this.$E.geometry.dispose()},render:function(a){a.render(this.$E,b)}});return a}();THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.Sna=a;this.gh=this.IT=q;this.clear=p;this.qT=this.clearDepth=y};THREE.CustomRenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.CustomRenderPass,render:function(a,b,g){b=a.autoClear;a.autoClear=y;this.Sna(a,this.IT,this.gh,this.rq?q:g,this.clear);a.autoClear=b}});THREE.ShaderPass=
function(a,b){THREE.Pass.call(this);this.hC=b!==n?b:"tDiffuse";a instanceof THREE.ShaderMaterial?(this.uniforms=a.uniforms,this.material=a):a&&(this.uniforms=THREE.UniformsUtils.clone(a.uniforms),this.material=new THREE.ShaderMaterial({defines:Object.assign({},a.defines),uniforms:this.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader}));this.KH=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,
render:function(a,b,g){this.uniforms[this.hC]&&(this.uniforms[this.hC].value=g.texture);this.KH.material=this.material;this.rq?a.setRenderTarget(q):(a.setRenderTarget(b),this.clear&&a.clear(a.bra,a.cra,a.dra));this.KH.render(a)}});THREE.SavePass=function(a){THREE.Pass.call(this);THREE.CopyShader===n&&console.error("THREE.SavePass relies on THREE.CopyShader");var b=THREE.CopyShader;this.hC="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(b.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,
vertexShader:b.vertexShader,fragmentShader:b.fragmentShader});this.renderTarget=a;this.renderTarget===n&&(this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBFormat,stencilBuffer:y}),this.renderTarget.texture.name="SavePass.rt");this.qT=y;this.KH=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,
render:function(a,b,g){this.uniforms[this.hC]&&(this.uniforms[this.hC].value=g.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.KH.render(a)}});return a});
define("cW","require,jquery.mod,gW,iB,cv,U,eu,k,eL,bd".split(","),function(a){function b(){this.v=c("<div/>");this.v.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.Mc=new THREE.PerspectiveCamera(90,16/9,0.1,2*j.Ff);this.Mc.layers.enable(f.ma);this.ND=new THREE.PerspectiveCamera;this.pv=new THREE.Scene;window.IT=this.pv;window.Cqa=THREE;this.pv.add(this.Mc);this.g=q;this.Mu=n;this.ts=this.tf=this.GQ=this.UR=this.UP=q}var c=a("jquery.mod"),d=a("gW"),g=a("iB"),
f=a("cv"),k=a("U"),j=a("eu"),h=a("k"),m=a("eL"),e=a("bd");b.prototype.fw=O("ND");b.prototype.Ila=function(){return this.tf.fov(this.Mc)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.lb=O("v");b.prototype.Lla=function(){return this.g?this.g.domElement.width:this.v.width()};b.prototype.Kla=function(){return this.g?this.g.domElement.height:this.v.height()};b.prototype.update=function(a){this.gka(a);this.Sja(a);this.Mja(a);this.eka(a)};b.prototype.render=function(){this.iv()};
b.prototype.gka=function(a){if(a.enabled){this.Mu=(new Date).getTime();this.g||this.pia(a)}};b.prototype.pia=function(a){if(!this.g&&a.enabled){l++;var b=this.lb().get(0),c={precision:"mediump",alpha:p};if(l==1&&a.Kb){a=e.ht();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=m.i5(c.canvas)}this.g=new THREE.WebGLRenderer(c);this.g.setClearColor(0,0);b.appendChild(this.g.domElement);this.ts=new h(this.g,function(a,b,c,e,d){this.tf.render(b,e,d)}.bind(this));this.GQ=
new k.P8(this.g,this.Mc);this.x3=new k.g9(this.g,this.Mc);this.UR=new k.m9(this.g,this.Mc);e.Rv(this.g.getContext());this.UP=setInterval(this.$ia.bind(this),1E3)}};b.prototype.$ia=function(){(new Date).getTime()>this.Mu+2E3&&this.paa()};b.prototype.paa=function(){if(!this.g){l--;clearInterval(this.UP);this.tf=this.GQ=this.UR=this.UP=q;this.ts.destroy();this.ts=q;e.Xra(this.g.domElement);this.lb().get(0).removeChild(this.g.domElement);this.g.dispose();this.g=q}};b.prototype.Mja=function(a){this.Mc.quaternion.copy(g.u5(a.ta,
a.pitch,a.bd));this.Mc.fov=d.oj(a.Uc,a.width,a.height);this.Mc.aspect=a.width/a.height;this.Mc.updateProjectionMatrix();this.Mc.updateMatrixWorld();this.tf&&this.tf.wU();this.tf&&this.ND.copy(this.tf.gh());this.ND.updateProjectionMatrix();this.ND.updateMatrixWorld()};b.prototype.Sja=function(a){var b=a.Kb?this.UR:a.qh>0?this.x3:this.GQ;if(this.tf!=b){this.tf&&this.tf.stop(this.pv);(this.tf=b)&&this.tf.start(this.pv)}if(this.tf){this.tf.setSize(a.width,a.height);this.tf==this.x3&&this.tf.xt(a.qh)}};
b.prototype.eka=function(a){this.ts&&this.ts.F7(a.iI)};b.prototype.iv=function(){this.ts&&this.ts.render(this.pv,this.Mc)};var l=0;return b});
define("fN",["require","hj","dX","eL"],function(a){var b=a("hj"),c=a("dX"),d=a("eL"),a=b.extend(c,function(){c.call(this);this.Q=this.tb=q;this.Rb=[];this.gH=y;this.bz=q;this.Mh=[this];this.Il={};this.cl={};this.oy=y;this.JP={};this.KP={};this.al(["blendingActive"]);this.L9();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",y);this.set("index",0)});
a.prototype.L9=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.JP[a]=p}.bind(this))};a.prototype.al=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.KP[a]=p}.bind(this))};a.prototype.set=function(a,b){this.Il[a]!==b&&(this.KP[a]&&this.Rb.forEach(function(c){c.set(a,b)}),this.f$(a,b),this.mQ(a))};a.prototype.get=function(a){return this.Il[a]};a.prototype.mQ=function(a){this.cl[a]||
(this.cl[a]=p,this.oy||(this.oy=p,this.Nb()),this.JP[a]&&this.Rb.forEach(function(b){b.mQ(a)}))};a.prototype.saa=function(){this.oy&&(this.oy=y,this.cl={})};a.prototype.F=function(){if(this.oy)for(var a=0;a<arguments.length;a++)if(this.cl[arguments[a]])return p;return y};a.prototype.f$=function(a,b){this.Il[a]=b};a.prototype.Pa=O("Rb");a.prototype.sj=function(a){for(var b=a||[],c=this.Rb.slice(),a=b.length!=c.length,d=0;d<b.length&&!a;d++)a=b[d]!=c[d];a&&(a=c.filter(function(a){return-1==b.indexOf(a)}),
d=b.filter(function(a){return-1==c.indexOf(a)}),this.Rb=b,a.forEach(function(a){a.uG(q)}),d.forEach(function(a){a.remove();a.uG(this)}.bind(this)),this.Nb())};a.prototype.uG=function(a){this.Q!=a&&(this.Q&&this.Yh(),(this.Q=a)&&this.Kj(),this.rQ(this.Q&&this.Q.tb))};a.prototype.Kj=function(){for(var a in this.Q.JP)this.mQ(a);for(a in this.Q.KP)this.set(a,this.Q.get(a))};a.prototype.Yh=D();a.prototype.rQ=function(a){this.tb!=a&&(a||this.dc(),(this.tb=a)&&this.ac(),this.Rb.forEach(function(a){a.rQ(this.tb)}.bind(this)))};
a.prototype.ac=function(){this.a$()};a.prototype.dc=function(){this.Jga()};a.prototype.a$=function(){this.Mh.forEach(function(a){this.tb.bz.add(a,this)}.bind(this))};a.prototype.Jga=function(){this.Mh.forEach(function(a){this.tb.bz.remove(a,this)}.bind(this))};a.prototype.kj=function(){this.Q&&this.Q.gS(this)};a.prototype.gS=function(a){var b=this.Rb.indexOf(a);-1==b&&i("Child not found");b!=this.Rb.length-1&&(this.Rb.splice(b,1),this.Rb.push(a),this.Nb())};a.prototype.xla=function(a){var b=this.Rb.indexOf(a);
-1==b&&i("Child not found");this.Rb.splice(b,1);a.uG(q);this.Nb()};a.prototype.appendChild=function(a){a.remove();this.Rb.push(a);a.uG(this);this.Nb()};a.prototype.remove=function(){this.Q&&this.Q.xla(this)};a.prototype.uj=D();a.prototype.Nb=function(){this.gH||(this.gH=p,this.Q&&this.Q.Nb(this))};a.prototype.xaa=function(){this.gH=y};a.prototype.J=function(){this.F("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.Q?this.Q.get("composedAlpha"):1));this.F("translationX","translationY","translationZ")&&
(this.set("composedTranslationX",this.get("translationX")+(this.Q?this.Q.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.Q?this.Q.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.Q?this.Q.get("composedTranslationZ"):0)));this.F("deltaYaw","deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.Q?this.Q.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+
(this.Q?this.Q.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.Q?this.Q.get("composedDeltaRoll"):0)),d.x6())};return a});
define("hZ","require,hj,ji,dX,cQ,I".split(","),function(a){function b(a,b){return a.reduce(function(a,c){return a?p:!!(b.layers.mask&c.layers.mask)},y)}function c(a){a=f(a).loaded;return a===n?y:a}function d(a){a=f(a).Gka;return a===n?p:a}function g(a){a=f(a).Qka;return a===n?y:a}function f(a){return a.userData.ona||(a.userData.ona={})}var k=a("hj"),j=a("ji"),h=a("dX"),m=a("cQ"),e=a("I"),a=k.extend(h,function(){h.call(this);this.k=n;this.uO=y});a.prototype.update=function(a){var b=a.Kb&&this.k&&!this.k.Kb;
this.k=a.clone();this.uO||(b?this.Fda():this.Yja())};a.prototype.Yja=function(){var a=y,f=e.AS(this.k.Te),h=e.Zl(this.k.Te);m.FH(h,m.Et,n).forEach(function(c){var e=b(f,c)&&m.yS(c)>0&&d(c);if(c.visible!=e){c.visible=e;a=p}});var h=m.q5(h,m.Et,n),h=m.b6(h,m.Dt),k;for(k in h){var t=h[k],u=f.map(Q(y));t.sort(function(a,b){return m.Z5(b)-m.Z5(a)});var v=t.some(g);t.forEach(function(e){var g=b(f,e)&&m.yS(e)>0&&d(e)&&(!v||c(e));if(g){for(var g=p,h=v||c(e)&&m.yS(e)>0.999,j=0;j<f.length;j++)if(e.layers.mask&
f[j].layers.mask&&!u[j]){g=y;h&&(u[j]=p)}g=!g}if(e.visible!=g){e.visible=g;a=p}})}a&&this.trigger(j.W)};a.prototype.Fda=function(){this.uO=p;e.Zl(this.k.Te).forEach(function(a){a.visible=y});setTimeout(function(){this.uO=y;this.update(this.k)}.bind(this),300);this.trigger(j.W)};a.XT=function(a,b){f(a).loaded=b};a.setActive=function(a,b){f(a).Gka=b};a.eoa=function(a,b){m.Ef(a,function(a){f(a).Qka=b})};return a});
define("gH","require,hj,ji,fc,dX,hZ,bG,cQ,I,t".split(","),function(a){function b(a){return(a=a.userData.yj)&&!(!a.mT&&!a.jT)}function c(a){return a.userData.yj||(a.userData.yj={})}function d(a){return c(a).At}function g(a){return c(a).enabled||y}function f(a){return!d(a).gT()}var k=a("hj"),j=a("ji");a("fc");var h=a("dX"),m=a("hZ"),e=a("bG"),l=a("cQ"),r=a("I"),o=a("t"),s=k.extend(h,function(){h.call(this);this.Ou=[];this.jp=[];this.Qt=[];this.k=n;this.Gl=q;this.Mv=this.Mv.bind(this)});s.prototype.update=
function(a){this.k=a.clone();this.Hja()?this.Mv():this.r4()};s.prototype.r4=function(){if(!this.Gl)this.Gl=setTimeout(this.Mv,1E3)};var t=Math.PI/180;s.prototype.Hja=function(){var a=this.k.qh>0?1E3:this.k.wH/Math.tan(Math.min(this.k.Pe*0.5,89.99)*t),e=r.AS(this.k.Te),d=r.Zl(this.k.Te).filter(b),f=d.filter(g),h={},h=l.q5(f,l.Et,n),h=l.b6(h,l.Et);h.none=l.FH(f,l.Et,n);var f=[],j;for(j in h)for(var k=h[j],o=0,u=k.length;o<u;o++){var K=k[o];(c(K).mT||s.JC)==s.pm&&f.push(K)}for(var J=0,L=e.length;J<L;J++){var M=
e[J];for(j in h){for(var k=h[j],G=q,R=Number.NEGATIVE_INFINITY,E=q,P=Number.POSITIVE_INFINITY,o=0,u=k.length;o<u;o++){K=k[o];if(K.layers.mask&M.layers.mask&&(c(K).mT||s.JC)==s.JC){var I=c(K).vna*90;if(I<a&&I>R){G=K;R=I}else if(I>=a&&I<P){E=K;P=I}}}if(this.k.Kb&&E&&G)R>0.75*a?f.push(G):f.push(E);else{E&&f.indexOf(E)<0&&f.push(E);G&&f.indexOf(G)<0&&f.push(G)}}}a=[];for(e=0;e<f.length;e++){j=f[e];a.indexOf(j)<0&&a.push(j)}f=a;a:{a=this.Qt;e=f;for(j=0;j<a.length;j++)if(e.indexOf(a[j])<0){a=y;break a}for(j=
0;j<e.length;j++)if(a.indexOf(e[j])<0){a=y;break a}a=p}a=!a;this.Qt=f;o=0;for(u=d.length;o<u;o++){K=d[o];g(K)&&m.setActive(K,this.Qt.indexOf(K)>=0)}return a};s.prototype.Mv=function(){this.Gl=q;for(var a=[],b=[],e=[],d=(new Date).getTime()-u,g=r.AS(this.k.Te),h=r.Zl(this.k.Te),m=0,k=h.length;m<k;m++){var o=h[m],t=o.userData.yj;if(t){var J=l.kq(o);if(t.enabled){var L=[];if(this.Qt.indexOf(o)>=0){if(this.k.qh>0||(c(o).jT||s.IJ)==s.Xk)L=J;else for(var M=0,G=g.length;M<G;M++){var R=l.gma(o,g[M]);if(M==
0)L=R;else for(var E=0,P=R.length;E<P;E++){var I=R[E];L.indexOf(I)<0&&L.push(I)}}E=0;for(P=L.length;E<P;E++){I=L[E];(I.userData.yj||(I.userData.yj={})).L6=d}}this.PK(o,L);E=0;for(P=t.Mk.length;E<P;E++)a.push(t.Mk[E]);E=0;for(P=t.ho.length;E<P;E++)b.push(t.ho[E])}else{t.ho||this.PK(o,[]);E=0;for(P=t.ho.length;E<P;E++){I=t.ho[E];t.Mk.indexOf(I)<0&&b.push(I)}}E=0;for(P=J.length;E<P;E++)e.push(J[E])}}m=[];E=0;for(P=this.jp.length;E<P;E++){I=this.jp[E];e.indexOf(I)<0?I.userData.yj.At.unload():f(I)?this.pQ(I,
y):m.push(I)}this.jp=m;E=Math.max(s.O6(),Math.round(b.length*1.25))-a.length;if(this.jp.length>E){this.jp.sort(function(a,b){return c(a).L6-c(b).L6});m=this.jp.splice(0,this.jp.length-E);E=0;for(P=m.length;E<P;E++){I=m[E];I.userData.yj.At.unload();this.pQ(I,y)}}b=[];m=0;for(k=this.Qt.length;m<k;m++){o=this.Qt[m];t=o.userData.yj;t.Mk.length>0&&b.push(o)}e=Number.POSITIVE_INFINITY;m=0;for(k=b.length;m<k;m++){o=b[m];t=o.userData.yj;E=t.Re;E=E!==n?E:Number.POSITIVE_INFINITY;E<e&&(e=E)}a=[];m=0;for(k=
b.length;m<k;m++){o=b[m];t=o.userData.yj;E=t.Re;E=E!==n?E:Number.POSITIVE_INFINITY;if(E==e){R=t.Mk;E=0;for(P=R.length;E<P;E++){I=R[E];a.push(I)}}}E=0;for(P=this.Ou.length;E<P;E++){I=this.Ou[E];if(a.indexOf(I)<0){I=I.userData.yj.At;I.unbind(j.P,this.TQ,this,p);I.unbind(j.md,this.UQ,this,p);I.Yka()}}m=this.Ou;this.Ou=a;k=this.Ou.slice();E=0;for(P=k.length;E<P;E++){I=k[E];if(m.indexOf(I)<0){I=I.userData.yj.At;I.bind(j.P,this.TQ,this,p);I.bind(j.md,this.UQ,this,p);I.load()}}};s.prototype.TQ=function(a){this.K3(a.source);
this.trigger(j.P)};s.prototype.UQ=function(a){this.K3(a.source)};s.prototype.K3=function(a){a.unbind(j.P,this.TQ,this,p);a.unbind(j.md,this.UQ,this,p);var b=a.material(),e=this.Ou,d=e.indexOf(b);d>=0&&e.splice(d,1);this.jp.push(b);this.pQ(b,p);a=a.lT();c(a).Mk.indexOf(b)>=0&&this.PK(a,c(a).ho);this.r4()};s.prototype.PK=function(a,b){var e=c(a).ho,e=e?e.length:n,d=c(a).Mk,d=d?d.length:n;c(a).ho=b;c(a).Mk=b.filter(f);m.XT(a,c(a).Mk.length==0&&(c(a).jT||s.IJ)==s.Xk);var g=c(a).ho,g=g?g.length:n,h=c(a).Mk,
h=h?h.length:n;if(d!==h||e!==g)a.dispatchEvent({type:j.gc,oh:g?100-100*h/g:100});d!==h&&h===0&&a.dispatchEvent({type:j.P})};s.prototype.pQ=function(a,c){if(c!=a.visible){var f=e.J5(a),g=l.getAttribute(f,l.Dt),h=l.getAttribute(f,l.LI);if(g===n||h===n)a.visible=c;else{for(var j=r.Zl(this.k.Te).filter(b),g=l.FH(j,l.Dt,g),h=l.FH(g,l.LI,h),m=l.kq(f).indexOf(a),f=h.map(function(a){return l.kq(a)[m]}),h=c,g=0;g<f.length&&h;g++)h=h&&d(f[g]).gT();for(g=0;g<f.length;g++)f[g].visible=h}}};s.O6=function(){var a;
if(o.Xa()){o.Ed();a=384}else a=1536;a=128;s.O6=function(){return a};return a};s.vd=function(a,b){l.Ef(a,function(a){c(a).enabled=b})};s.enabled=g;s.eC=function(a,b){l.Ef(a,function(a){c(a).vna=b})};s.Xk="all";s.IJ="in view";s.wq=function(a,b){l.Ef(a,function(a){c(a).jT=b})};s.pm="always";s.JC="on demand";s.xq=function(a,b){l.Ef(a,function(a){c(a).mT=b})};s.wI=function(a,b){l.Ef(a,function(a){c(a).Re=b})};s.bC=function(a,b){l.Ef(a,function(a){c(a).Mra=b;l.kq(a).forEach(function(a){d(a).Poa(b)})})};
s.Ira=function(a){return 100-100*c(a).Mk.length/c(a).ho.length};s.Hra=function(a){return c(a).Mk.length==0};s.jm=function(a,b){(c(a).At=b)&&(a.visible=b.gT())};s.At=d;var u=(new Date).getTime();return s});
define("f","require,hj,fN,cQ,I,gH,hZ".split(","),function(a){var b=a("hj"),c=a("fN"),d=a("cQ"),g=a("I"),f=a("gH"),k=a("hZ"),a=b.extend(c,function(){c.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",q);this.set("meshGroup",q);this.set("camera",q)});a.prototype.dl=function(){return[]};a.prototype.dc=function(){d.dispose(this.get("meshGroup"));d.M7(this.get("meshGroup"),q);this.set("meshGroup",q);c.prototype.dc.call(this)};a.prototype.J=function(a){c.prototype.J.call(this,
a);this.set("camera",g.fw(a.Te));this.set("webglScene",a.Te);if(!this.get("meshGroup")){this.set("meshGroup",d.fla(this.dl()));this.get("meshGroup").userData.Rra=this}this.F("webglScene","meshGroup")&&d.M7(this.get("meshGroup"),this.get("webglScene"));this.Mn();this.Nv(a);this.CR();this.F("loadingActive","meshGroup")&&f.vd(this.get("meshGroup"),this.get("loadingActive"));this.F("blendingActive","meshGroup")&&k.eoa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.Mn=function(){this.F("composedAlpha",
"meshGroup")&&this.mr()};a.prototype.mr=function(){d.cd(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Nv=function(){i("Must be overridden in descendants.")};a.prototype.CR=function(){if(this.F("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){d.iU(a,this.get("index")+b/c.length)}.bind(this))}};return a});
define("ca","require,hj,ji,fc,dX,bG,iG".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("fc"),g=a("dX"),f=a("bG"),k=a("iG"),j=b.extend(g,function(){g.call(this);this.kf=n;this.El=k.createTexture();this.k=j.jx;this.Ny=d.Yk});j.prototype.type=O("kf");j.prototype.texture=O("El");j.prototype.material=function(){return this.El&&k.OS(this.El)};j.prototype.lT=function(){var a=this.El&&k.OS(this.El);return a&&f.J5(a)};j.prototype.Poa=N("Ny");j.prototype.load=function(){if(this.k==j.jx){this.k=j.RC;this.XK()}};
j.prototype.Yka=function(){if(this.kna()){this.k==j.RC?this.KG():this.lA();this.k=j.jx}};j.prototype.unload=function(){if(this.k!=j.jx){this.k==j.RC?this.KG():this.k==j.XJ?this.lA():this.aq();this.k=j.jx}};j.prototype.XK=D();j.prototype.KG=D();j.prototype.VK=D();j.prototype.lA=D();j.prototype.aq=function(){k.bla(this.texture)};j.prototype.kna=function(){return this.k==j.RC||this.k==j.XJ};j.prototype.gT=function(){return this.k==j.WJ||this.k==j.OV};j.prototype.dispose=function(){k.dispose(this.El);
this.El=q};j.prototype.Su=function(a){this.k=a?j.XJ:j.OV;a?this.VK():this.trigger(c.md)};j.prototype.Y_=function(){this.k=j.WJ;this.trigger(c.P)};j.jx="initial";j.RC="loading";j.XJ="adding";j.OV="error loading";j.WJ="added";j.i9="custom";j.j9="image tile";j.Dqa="image animation";j.Eqa="video 360";return j});
define("dk","require,hj,ji,bE,hf,iG,ca".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bE"),g=a("hf"),f=a("iG"),k=a("ca"),a=b.extend(k,function(a){k.call(this);this.kf=k.i9;this.Eb=a;if(!this.Eb)this.k=k.WJ;this.Ke=this.Ad=q});a.prototype.Dg=function(a){this.Ke=a;f.FI(this.El,this.Ke)};a.prototype.Dd=function(){return g.Dd(this.Eb)};a.prototype.update=function(){f.FI(this.El,this.Ke)};a.prototype.XK=function(){this.Eb?this.NL():this.Su(p)};a.prototype.KG=function(){this.Pm()};a.prototype.VK=
function(){this.Y_()};a.prototype.aq=function(){this.Pm()};a.prototype.dispose=function(){this.Pm();k.prototype.dispose.call(this)};a.prototype.df=function(){this.Su(p)};a.prototype.pp=function(){this.Su(y)};a.prototype.NL=function(){if(!this.Ad){this.Ad=new d;this.Ad.P7([this.Eb]);this.Ad.bind(c.P,this.df,this,p);this.Ad.bind(c.md,this.pp,this,p);g.ao(this.Ad,this.Ny)}};a.prototype.Pm=function(){if(this.Ad){this.Ad.unbind(c.P,this.df,this,p);this.Ad.unbind(c.md,this.pp,this,p);g.vi(this.Ad,this.Ny);
this.Ad=q}};return a});
define("gx",["require","gW","X","hH"],function(a){var b=a("gW"),c=a("X"),d=a("hH"),g=180/Math.PI,f=Math.PI/180;return{ES:function(a,b,f,g,e,l,r){b||(b=a*g/f);e||(e=d.om);var o={};switch(e){case d.om:o.width=a;o.height=b;break;case d.NONE:o.width=f;o.height=g;break;case d.je:o.width=Math.min(b*f/g,a);o.height=Math.min(a*g/f,b);break;case d.Vk:o.width=Math.max(b*f/g,a);o.height=Math.max(a*g/f,b);break;case d.Hj:o.width=a;o.height=a*g/f;break;case d.fg:o.width=b*f/g,o.height=b}o.width>a?(o.lo=a/o.width,
o.kC=l==c.ma?0:l==c.Fa?1-o.lo:0.5*(1-o.lo),o.width=a):(o.kC=0,o.lo=1);o.height>b?(o.mo=b/o.height,o.nC=r==c.fb?1-o.mo:r==c.eb?0:0.5*(1-o.mo),o.height=b):(o.nC=0,o.mo=1);return o},NS:function(a,j,h,m,e,l,r,o){j||(j=b.oj(a,h,m));e||(e=d.om);l||(l=4096/360);var s={};switch(e){case d.om:s.Uc=a;s.Qk=j;break;case d.NONE:s.Uc=2*Math.atan2(0.5*h,45*l)*g;s.Qk=b.oj(s.Uc,h,m);break;case d.je:s.Uc=Math.min(b.km(j,h,m),a);s.Qk=Math.min(b.oj(a,h,m),j);break;case d.Vk:s.Uc=Math.max(b.km(j,h,m),a);s.Qk=Math.max(b.oj(a,
h,m),j);break;case d.Hj:s.Uc=a;s.Qk=b.oj(a,h,m);break;case d.fg:s.Uc=b.km(j,h,m),s.Qk=j}s.Uc>a?(s.lo=Math.tan(0.5*a*f)*h/Math.tan(0.5*s.Uc*f)/h,s.kC=r==c.ma?0:r==c.Fa?1-s.lo:0.5*(1-s.lo),s.Uc=a):(s.kC=0,s.lo=1);s.Qk>j?(s.mo=Math.tan(0.5*j*f)*m/Math.tan(0.5*s.Qk*f)/m,s.nC=o==c.fb?1-s.mo:o==c.eb?0:0.5*(1-s.mo),s.Qk=j):(s.nC=0,s.mo=1);return s}}});
define("gc","require,hj,fc,eu,bG,cQ,f,dk,gx,gH,gW,iB,X".split(","),function(a){var b=a("hj"),c=a("fc"),d=a("eu"),g=a("bG"),f=a("cQ"),k=a("f"),j=a("dk"),h=a("gx"),m=a("gH"),e=a("gW"),l=a("iB"),r=a("X"),o=new THREE.Matrix4,s=Math.PI/180,t=b.extend(k,function(){k.call(this);this.set("tag","Plane");this.set("distance",n);this.set("textureSource",q);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",n);this.set("vfov",q);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("attachToCamera",y);this.set("materialConfig",this.ek=new g.Aj);this.fy=this.JL();this.$p=new THREE.Matrix4;this.uf=new THREE.Matrix4;this.ss=new THREE.Matrix4;this.Qm=new THREE.Matrix4;this.yk=new THREE.Matrix4;this.RK=new THREE.Matrix4;this.fX=new THREE.Quaternion;this.iY=new THREE.Matrix4;this.Fx=new THREE.Matrix4;this.Qx=new THREE.Matrix4;
this.Eo=new THREE.Matrix4;this.Be=new THREE.Matrix4});t.Cq=0;t.lm=1;t.prototype.J=function(a){k.prototype.J.call(this,a);this.LA();this.zR()};t.prototype.LA=function(){if(this.F("textureSource")||this.F("materialConfig")&&!this.ek.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=f.Zl(a)[t.lm];f.$T(a,this.Tx());this.mr()}}};t.prototype.zR=function(){if(this.F("hfov","vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var a=
h.NS(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));d.J7(this.fy[t.lm],a.kC,a.nC,a.lo,a.mo)}};t.prototype.dl=function(){return[t.Cq,t.lm].map(function(a){var b=a==t.Cq?this.EL():this.Tx(),a=f.create(this.fy[a],b);m.wq(a,m.Xk);m.xq(a,m.pm);m.bC(a,c.RJ);m.wI(a,1);return a}.bind(this))};t.prototype.Tx=function(){var a=this.get("textureSource")||new j;
this.ek=this.get("materialConfig");var b=g.Hk(a.texture(),this.ek);m.jm(b,a);return[b]};t.prototype.EL=function(){var a=new j,b=g.Hk(a.texture());m.jm(b,a);return[b]};t.prototype.JL=function(){return[d.mB(),d.mB()]};t.prototype.Yj=function(a){return f.IS(this.get("meshGroup"),a)};t.prototype.Nv=function(a){var b=y;if(this.F("composedTranslationX","composedTranslationY","composedTranslationZ")){this.$p.makeTranslation(-this.get("composedTranslationX")*0.5*d.Ff,this.get("composedTranslationY")*0.5*
d.Ff,this.get("composedTranslationZ")*0.5*d.Ff);b=p}if(this.F("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.uf.makeRotationY(-a.ta*s);this.uf.multiply(o.makeRotationX(-this.get("composedDeltaPitch")*s));this.uf.multiply(o.makeRotationY(this.get("composedDeltaYaw")*s));this.uf.multiply(o.makeRotationY(a.ta*s));b=p}if(this.F("yaw","pitch")){this.ss.makeRotationY(-this.get("yaw")*s);this.ss.multiply(o.makeRotationX(this.get("pitch")*s));b=p}if(this.F("distance","flipHorizontally",
"scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX","composedTranslationY","composedTranslationZ")){var c=this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?d.SH(this.get("distance")):d.iw();this.Qm.makeTranslation(0,0,-c);var g=this.get("contentWidth"),j=this.get("contentHeight"),m=this.get("hfov"),k=this.get("vfov")||e.oj(m,g,j),H=(this.get("flipHorizontally")?
-1:1)*this.get("scale"),B=this.get("scale"),F=this.get("scaleMode"),K=this.get("panoramaPixelsPerDegree"),b=this.get("horizontalAlign")||r.vc,J=this.get("verticalAlign")||r.fc,g=h.NS(m,k,g,j,F,K,b,J),m=H*d.O5(c,m),k=B*d.P5(c,k);this.Fx.makeScale(m,k,1);H=H*d.O5(c,g.Uc);c=B*d.P5(c,g.Qk);this.Qx.makeScale(H,c,1);this.iY.makeTranslation(b==r.ma?-(m-H)*0.5:b==r.Fa?(m-H)*0.5:0,J==r.fb?(k-c)*0.5:J==r.eb?-(k-c)*0.5:0,0);b=p}if(this.F("rotationX","rotationY","rotationZ","roll")){this.yk.makeRotationZ(this.get("roll")*
s);this.yk.multiply(o.makeRotationY(this.get("rotationY")*s));this.yk.multiply(o.makeRotationX(this.get("rotationX")*s));this.yk.multiply(o.makeRotationZ(this.get("rotationZ")*s));b=p}this.set("cameraYaw",a.ta);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.bd);if(this.get("attachToCamera")&&this.F("cameraYaw","cameraPitch","cameraRoll")){this.fX.copy(l.u5(a.ta,a.pitch,a.bd));this.RK.makeRotationFromQuaternion(this.fX);b=p}else if(this.F("attachToCamera")){this.RK.identity();b=p}if(b||this.F("meshGroup")){this.Be.copy(this.$p);
this.Be.multiply(this.uf);this.Be.multiply(this.RK);this.Be.multiply(this.ss);this.Be.multiply(this.Qm);this.Be.multiply(this.yk);this.Eo.copy(this.Be);this.Eo.multiply(this.Fx);this.Be.multiply(this.iY);this.Be.multiply(this.Qx);a=f.Zl(this.get("meshGroup"));f.Rl(a[t.Cq],this.Eo);f.Rl(a[t.lm],this.Be)}};return t});
define("cy","require,hj,ji,dX,iG,S".split(","),function(a){function b(){if(!m){m=p;j.Aa(c,q)}}function c(){for(m=y;h.length;){var a=h.shift();a.add();if(a.nna())break}h.length&&b()}var d=a("hj"),g=a("ji"),f=a("dX"),k=a("iG"),j=a("S"),h=[],m=y,e=d.extend(f,function(a,b){f.call(this);this.texture=a;this.source=b});e.prototype.nna=function(){return!this.source.NW&&k.Uka(this.source)};e.prototype.l5=function(){if(!this.source.NW){k.l5(this.source);this.source.NW=p}};e.prototype.add=function(){k.FI(this.texture,
this.source);this.trigger(g.P)};e.prototype.remove=function(){var a=h.indexOf(this);a>=0&&h.splice(a,1);k.FI(this.texture,q)};return{add:function(a,c){var d=new e(a,c);h.push(d);b();return d}}});
define("id","require,hj,ji,bE,hf,cy,ca".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bE"),g=a("hf"),f=a("cy");TextureSource=a("ca");a=b.extend(TextureSource,function(a){TextureSource.call(this);this.kf=TextureSource.j9;this.Eb=a;this.Ke=this.fv=this.Ad=q});a.prototype.Dd=O("Ke");a.prototype.XK=function(){this.NL()};a.prototype.KG=function(){this.Pm()};a.prototype.VK=function(){this.gba()};a.prototype.lA=function(){this.Pm();this.nM()};a.prototype.aq=function(){this.Pm();this.nM()};a.prototype.dispose=
function(){this.Pm();this.nM();TextureSource.prototype.dispose.call(this)};a.prototype.df=function(){this.Ke=g.Dd(this.Eb);this.Su(p)};a.prototype.pp=function(){this.Su(y)};a.prototype.Z_=function(){this.Y_()};a.prototype.NL=function(){if(!this.Ad){this.Ad=new d;this.Ad.P7([this.Eb]);this.Ad.bind(c.P,this.df,this,p);this.Ad.bind(c.md,this.pp,this,p);g.ao(this.Ad,this.Ny)}};a.prototype.Pm=function(){if(this.Ad){this.Ad.unbind(c.P,this.df,this,p);this.Ad.unbind(c.md,this.pp,this,p);g.vi(this.Ad,this.Ny);
this.Ad=q}};a.prototype.gba=function(){this.fv=f.add(this.El,this.Ke);this.fv.bind(c.P,this.Z_,this,p)};a.prototype.nM=function(){if(this.fv){this.fv.unbind(c.P,this.Z_,this,p);this.fv.remove();this.fv=q}};return a});
define("fe",["require"],function(){function a(){this.Zo=b++;this.Qy="_map_"+this.Zo+"_key";this.JE={};this.pe=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var g;0>this.pe.indexOf(a)&&this.pe.push(a);if("object"===typeof a&&a!==q){if(g=a[this.Qy],!g){g=this.Qy;for(var f=[],k=0;8>k;k++)f.push(Math.floor(16*Math.random()).toString(16));g=a[g]=f.join("")}}else g=a;this.JE[g]=b;this.length=this.pe.length};a.prototype.get=function(a){return this.JE["object"===typeof a&&a!==q?a[this.Qy]:
a]};a.prototype.i6=function(a){return 0<=this.pe.indexOf(a)};a.prototype.remove=function(a){var b=this.pe.indexOf(a);0>b||(this.pe.splice(b,1),"object"===typeof a&&a!==q?(b=a[this.Qy],delete a[this.Qy]):b=a,delete this.JE[b],this.length=this.pe.length)};a.prototype.forEach=function(a){this.pe.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.pe.length;)this.remove(this.pe.pop());this.pe=this.JE=q};return a});
define("gC",["require","hj","dX","fe"],function(a){function b(){this.bt=[]}var c=a("hj"),d=a("dX"),g=a("fe"),a=c.extend(d,function(a){d.call(this);this.Gd=a;this.Dc=[];this.Xm=new g;this.XA=[];this.BM=[];this.Ru=this.Ru.bind(this)});a.prototype.jd=function(a){this.Dc.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Gd,this.Ru):a.unbind?a.unbind(this.Gd,this.Ru,this,p):i("invalid instance type")}.bind(this));this.Dc=a.slice();this.Dc.forEach(function(a){a.addEventListener?a.addEventListener(this.Gd,
this.Ru):a.bind?a.bind(this.Gd,this.Ru,this,p):i("invalid instance type");this.Xm.i6(a)||this.Xm.set(a,new b)}.bind(this));this.iR()};a.prototype.dispose=function(){this.jd([]);this.Dc=q;this.Xm.dispose();this.BM=this.XA=this.Xm=q};a.prototype.wi=function(a){this.XA.push(a);this.iR();return this};a.prototype.Lk=function(a){this.BM.push(a);return this};a.prototype.Rn=function(a){this.Dc.forEach(function(b){a(b,this.Xm.get(b).bt)}.bind(this))};a.prototype.qi=function(a){a=this.Xm.get(a).bt;return 0==
a.length?q:a[a.length-1]};a.prototype.Ru=function(a){var b=a.target||a.source;if(b=this.Xm&&this.Xm.get(b))b.bt.push(a),this.BM.forEach(function(b){b(a,this)}.bind(this)),this.iR()};a.prototype.iR=function(){if(0!=this.Dc.length){for(var a=0;a<this.Dc.length;a++)if(0==this.Xm.get(this.Dc[a]).bt.length)return;this.XA.length&&(a=this.XA.slice(),this.XA=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
define("bw",["require","dj"],function(a){var b=a("dj"),c={get:function(a){return a.G9||(a.G9=this.Sba(a))},Sba:function(a){if(b.vb("CubicPanoramaFrame",a))return a.get("stereoCube")?c.Zq:a.get("cube")?c.ro:c.th;if(b.vb("SphericPanoramaFrame",a)){if(a.get("stereoSphere")){var g=a.get("hfov"),f=a.get("vfov"),k=a.get("stereoSphere").get("levels"),a=Math.max.apply(Math,k.map(function(a){return a.get("width")})),k=Math.max.apply(Math,k.map(function(a){return a.get("height")}));return 2==Math.round(k/f/
(a/g))?c.$q:c.Kt}return c.Zk}},Zq:"stereoCube_12_1",ro:"monoCube_6_1",th:"monoCube_1_1",Zk:"monoSphere_1_1",$q:"stereoSphere_1_2",Kt:"stereoSphere_2_1"};return c});
define("iu","require,dj,hE,cv,hX,bw,gx,hv,t,fj,hH,gL".split(","),function(a){function b(a,b,c){return a.split(b).join(c).split(encodeURI(b)).join(c)}function c(){var a=C.mq()&&URL.Ul("recent_ipad_use_max_res",y);c=function(){return a};return a}function d(a){if(a.length==0)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")}function g(a,b){var e=1E4;c()||(C.mf()?e=2048:C.mq()?e=1280:C.Xa()&&(e=1024));switch(a){case x.ro:return[6*e,e];case x.th:return[e,
e];case x.Zq:return[12*e,e]}switch(a){case x.$q:b=b*2;break;case x.Kt:b=b*0.5}return b>2?[e*4,e*4/b]:[e*2*b,e*2]}function f(a){if(c())return[n,n];switch(a){case x.ro:if(C.mf()||C.Xa())return[18432,1536];break;case x.$q:if(C.mf())return[5352,5352];if(C.Xa())return[6086,6086];break;case x.Zk:if(C.mf())return[7168,3584];if(C.Xa()&&C.mq())return[8192,4096]}return[n,n]}function k(a,b){var c=f(b);return a.filter(function(a){return c[0]!==n&&a.get("width")>c[0]||c[1]!==n&&a.get("height")>c[1]?y:p})}function j(){if(C.mq())return t.QV;
if(C.mf())return t.SV;if(C.Xa())return t.RV}function h(a){a.sort(function(a,b){return a.get("width")-b.get("width")});return a}function m(a,b){function c(a){return Math.abs(a.get("width")*a.get("height")-b[0]*b[1])}a.sort(function(a,b){return c(a)-c(b)});return a.length&&a[0]||q}function e(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)<0});return a.length?a:c!==n?c:[]}function l(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)>=0});return a.length?a:c!==n?c:[]}function r(a,
b){switch(b){case x.Zq:return a.get("stereoCube").get("levels");case x.ro:return a.get("cube").get("levels");case x.th:return a.get("front").get("levels");case x.Zk:return a.get("sphere").get("levels");case x.$q:case x.Kt:return a.get("stereoSphere").get("levels")}}function o(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];b.indexOf(e)<0&&b.push(e)}return b}var s=a("dj"),t=a("hE"),u=a("cv"),v=a("hX"),x=a("bw"),w=a("gx"),z=a("hv"),C=a("t"),A=a("fj"),H=a("hH"),B=a("gL"),F={K5:function(a){a=a.get("frames");
if(a.length==0)return 1;var b=a[0],a=x.get(b)==x.Zk&&s.vb("Video360Resource",b.get("sphere"))?[F.PS(b)]:F.KS(b,y);return Math.max.apply(Math,a.map(function(a){return F.ima(b,a)}))},ima:function(a,b){var b=F.DS(a,b,v.FRONT),c=b.get("width"),e=a.mw().get("hfov",360);switch(x.get(a)){case x.Zq:return c/1080;case x.ro:return c/540;case x.th:return c/90;case x.Zk:return c/e;case x.$q:return c/e;case x.Kt:return c/(2*e)}},bT:function(a,b){return F.ow(a,b).every(function(a){return B.nU(a)})},ow:function(a,
b,c){c||(c=y);if(s.vb("Panorama",a)){c=a.get("flipImageHorizontally",y);return o(Array.prototype.concat.apply([],a.get("frames").map(function(a){return F.ow(a,b,c)})))}if(s.vb("PanoramaFrame",a)){if(x.get(a)==x.Zk&&s.vb("Video360Resource",a.get("sphere")))return F.ow(F.PS(a),b);var e=F.KS(a,b)[0],c=a.get("flipImageHorizontally",y);if(x.get(a)==x.th){var d=[v.FRONT,v.ma,v.BACK,v.Fa,v.fb,v.eb];return Array.prototype.concat.apply([],d.map(function(d){return(d=F.DS(a,e,d))?F.ow(d,b,c):[]}))}return F.ow(e,
b,c)}if(s.vb("Video360ResourceLevel",a)){var f=a.get("posterURL");return f?[f]:[]}if(s.vb("TiledImageResourceLevel",a)){var g=[],f=Math.round(a.get("width")/a.get("height")),h;if(f==1)h=x.th;else if(f==12)h=x.lqa;else if(f==6)h=x.ro;else return[];var l=f==12?[u.Fa,u.ma]:[u.Sk],d=[v.Fa,v.ma,v.fb,v.eb,v.FRONT,v.BACK],j=a.get("colCount",f)/f,m=a.get("rowCount",1);l.forEach(function(b){d.forEach(function(e){for(var d=0;d<m;d++)for(var f=0;f<j;f++)g.push(F.W5(a,h,b,e,c,m,d,f))})});return g}return s.vb("ImageResourceLevel",
a)?[a.get("url")]:[]},KS:function(a,b){var c=x.get(a),e=this.vca(a);if(e){if(b&&!this.k_(e)){c=this.GZ(a);if(c!=e)return[c,e]}return[e]}e=l(r(a,c),t.aK);if(e.length>0)return h(e);e=this.Zca(a);if(b&&!this.k_(e)){c=this.GZ(a);if(c!=e)return[c,e]}return[e]},ana:function(a){return a.get("tags").indexOf(t.aK)>=0},DS:function(a,b,c){if(x.get(a)!=x.th)return b;var e;switch(c){case v.FRONT:e=a.get("front");break;case v.ma:e=a.get("left");break;case v.BACK:e=a.get("back");break;case v.Fa:e=a.get("right");
break;case v.fb:e=a.get("top");break;case v.eb:e=a.get("bottom")}a=e&&e.get("levels")||[];if(a.length==0)return q;a=a.filter(function(a){return a.get("width")==b.get("width")&&a.get("height")==b.get("height")&&a.get("grayscale",y)==b.get("grayscale",y)&&a.get("colCount",1)==b.get("colCount",1)&&a.get("rowCount",1)==b.get("rowCount",1)});return a[0]},W5:function(a,c,e,d,f,g,h,l){var a=a.get("url"),j=0;a.indexOf("{eye}")>=0||a.indexOf(encodeURI("{eye}"))>=0?a=b(a,"{eye}",G[e]):j=j+6*(f?L:J)[e];a.indexOf("{face}")>=
0||a.indexOf(encodeURI("{face}"))>=0?a=b(a,"{face}",M[d]):c!=x.th&&(j=j+K[d]);a=b(a,"{row}",h);return a=b(a,"{column}",l+j*g)},kma:function(a,b){return F.lE(a.get("image").get("levels"),90,90,H.je,b)},Mla:function(a,b){return F.lE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},Yla:function(a,b){return F.lE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},uma:function(a,b){return F.lE(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),
a.get("scaleMode"),b)},lE:function(a,b,d,f,g){var a=e(a,t.rm,a),k=j();k&&(a=l(a,k,a));k=1E4;c()||(C.mf()?k=2048:C.mq()?k=1280:C.Xa()&&(k=1024));var o=h(a)[a.length-1],b=w.NS(b,d,o.get("width"),o.get("height"),f,g);return m(a,[b.Uc*k/90,b.Qk*k/90])},Ula:function(a){var b=a.get("image").get("levels"),b=e(b,t.rm,b),c=j();c&&(b=l(b,c,b));c=h(b)[b.length-1];a=w.ES(a.get("width"),a.get("height"),c.get("width"),c.get("height"),a.get("scaleMode"));return m(b,[a.width,a.height])},PS:function(a){var b;C.Ed()==
C.Ai?b=[3168,1584]:C.Xa()&&(b=[3840,1920]);var c=(C.Xa()?800:5E3)*1E3,e=[];z.QS&&e.push({type:A.Pw,em:n});z.g6&&e.push({type:A.Pw,em:b});z.WH&&e.push({type:A.MC,em:b});z.XH&&e.push({type:A.XC,em:b});z.TS&&e.push({type:A.vV,em:b});e.push({type:A.MC,em:b});e.push({type:A.XC,em:b});z.g6&&e.push({type:A.Pw,em:n});e.push({type:A.MC,em:n});e.push({type:A.XC,em:n});for(var a=r(a,x.get(a)).slice(),d=0;d<e.length;d++){var f=e[d].type;b=e[d].em;var g=a.filter(function(a){return!A.is(a.get("url"),f)?y:!b?p:
a.get("width")<=b[0]&&a.get("height")<=b[1]});f!=A.Pw&&g.sort(function(a,b){return Math.abs(c-a.get("bitrate"))-Math.abs(c-b.get("bitrate"))});if(g.length)return g[0]}return q},GZ:function(a){var b=x.get(a),a=r(a,b),a=k(a,b),a=l(a,t.rm,a);(b=j())&&(a=l(a,b,a));return m(a,[0,0])},Zca:function(a){var b=x.get(a),a=r(a,b),a=k(a,b),a=e(a,t.rm,a),c=j();c&&(a=l(a,c,a));b=g(b,d(a));return m(a,b)},vca:function(a){var b=j();if(!b)return q;var c=x.get(a),a=r(a,c),a=k(a,c),a=e(a,t.rm,a),a=l(a,b);if(a.length==
0)return q;b=g(c,d(a));return m(a,b)},k_:function(a){return a.get("tags").indexOf(t.aK)>=0?y:C.rd()==C.Fq?p:B.nU(a.get("url"))}},K=function(){var a={};a[v.Fa]=0;a[v.ma]=1;a[v.fb]=2;a[v.eb]=3;a[v.FRONT]=4;a[v.BACK]=5;return a}(),J=function(){var a={};a[u.Fa]=0;a[u.ma]=1;a[u.Sk]=0;return a}(),L=function(){var a={};a[u.Fa]=1;a[u.ma]=0;a[u.Sk]=0;return a}(),M=function(){var a={};a[v.Fa]="r";a[v.ma]="l";a[v.fb]="u";a[v.eb]="d";a[v.FRONT]="f";a[v.BACK]="b";return a}(),G=function(){var a={};a[u.ma]="l";
a[u.Fa]="r";a[u.Sk]="b";return a}();return F});
define("cV",["require"],function(){function a(a){this.Ke=a;"CANVAS"==a.tagName?this.u=a:(this.u=document.createElement("canvas"),this.u.width=a.width,this.u.height=a.height);this.Ha=this.u.getContext("2d");this.Ha.globalCompositeOperation="copy";this.u!=a&&this.Ha.drawImage(a,0,0,a.width,a.height)}function b(a,b,c){try{if(a instanceof CanvasRenderingContext2D)return a.getImageData(b,c,1,1).data;if(a.tagName&&"CANVAS"==a.tagName)return a.getContext("2d").getImageData(b,c,1,1).data;d.drawImage(a,b,
c,1,1,0,0,1,1);return d.getImageData(0,0,1,1).data}catch(g){return[0,0,0,0]}}a.prototype.transparent=function(b,c){return a.transparent(this.Ha,b,c)};a.prototype.Pk=function(b,c){return a.Pk(this.Ha,b,c)};a.prototype.info=function(b,c){return a.info(this.Ha,b,c)};a.prototype.dispose=function(){this.u!=this.Ke&&(this.u.width=this.u.height=0);this.Ke=this.u=this.Ha=q};a.transparent=function(b,c,d){return!a.Pk(b,c,d)};a.Pk=function(a,c,d){return a.tagName&&"VIDEO"==a.tagName?p:0<b(a,c,d)[3]};a.info=
function(a,c,d){a=b(a,c,d);c=a[3];return{Pk:0<c,opacity:c,color:"#"+g[a[0]]+g[a[1]]+g[a[2]]}};var c=document.createElement("canvas");c.width=c.height=1;var d=c.getContext("2d");d.globalCompositeOperation="copy";var g=function(){for(var a=Array(256),b=0;16>b;b++)a[b]="0"+b.toString(16);for(;256>b;b++)a[b]=b.toString(16);return a}();return a});
define("hs","require,hj,gO,ji,dj,gc,id,gC,iu,cV,hk".split(","),function(a){function b(a,b,e,d,f,g){for(a=(a-b)/g;e+180<d;)d=d-360;for(;e-180>d;)d=d+360;e=(e-d)/g;return e=a<-0.1||a>0.1?c(f,e,Math.abs(1/(1500*a))):c(f,e,0.08)}function c(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a}var d=a("hj"),g=a("gO"),f=a("ji"),k=a("dj"),j=a("gc"),h=a("id"),m=a("gC"),e=a("iu"),l=a("cV"),r=a("hk"),a=d.extend(j,function(a){j.call(this);this.n=a;this.Mh.push(this.n);this.ef=this.ef.bind(this);this.kf=
k.vb("CeilingCapPanoramaOverlay",this.n)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.kf=="tripod"?-90:90);this.Xi=y;this.us=this.DP=this.Hz=n;this.pga=this.kf=="tripod"?1:-1;this.od=this.ug=this.ae=q});a.prototype.ac=function(){j.prototype.ac.call(this);this.ae=(new m(f.P)).wi(this.hk.bind(this));this.ug=(new m(f.gc)).Lk(this.ks.bind(this));g.Oe(this.n,["angle","distance","hfov","image","inertia","rotate"],this.ef,p)};a.prototype.dc=function(){this.od&&this.od.dispose();this.od=
q;this.ae.dispose();this.ug.dispose();g.nf(this.n,["angle","distance","hfov","image","inertia","rotate"],this.Vqa);j.prototype.dc.call(this)};a.prototype.ef=function(){this.set("angle",this.n.get("angle"));this.set("distance",this.n.get("distance"));this.set("hfov",this.n.get("hfov"));this.set("image",this.n.get("image"));this.set("inertia",this.n.get("inertia"));this.set("rotate",this.n.get("rotate"))};a.prototype.dl=function(){var a=j.prototype.dl.call(this);this.ae.jd(a);this.ug.jd(a);return a};
a.prototype.J=function(a){this.FA();this.hH(a);j.prototype.J.call(this,a)};a.prototype.FA=function(){if(this.F("image")){var a=e.Mla(this.n,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new h(a.get("url")));this.set("contentWidth",a.get("width"));this.set("contentHeight",a.get("height"))}};a.prototype.hk=function(){this.od&&this.od.dispose();this.od=new l(this.get("textureSource").Dd());this.trigger(f.Ub);this.trigger(f.P)};a.prototype.ks=function(a,b){var c=0;b.Rn(function(a){(a=
b.qi(a))&&(c=c+a.oh)});this.trigger(new r(f.gc,c/b.Dc.length))};a.prototype.hH=function(a){this.set("rendererYaw",a.ta);if(this.F("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.F("rendererYaw")){var c=this.get("angle"),e=this.get("rotate"),d=this.get("inertia"),f=this.pga*a.ta;e&&(c=c+f);var g=0,h=c-f;if(this.Hz!==n){if(d)if(e){g=b(f,this.us,c,this.Hz,this.DP,a.Qd);c=this.Hz+g*a.Qd}else{g=b(f,this.us,h,this.S1,this.DP,a.Qd);h=this.S1+g*a.Qd;c=h+f}this.Hz!=c&&this.Nb()}this.S1=
h;this.Hz=c;this.DP=g;this.us=f;this.set("rotationZ",-c)}};a.prototype.uj=function(a){if(a.Gd==f.uh){var b=!a.hh()&this.Wp(a);if(b){a.Zs(this.n);this.n.get("useHandCursor")&&a.$s(this.n);a.ji(this.get("distance"))}if(this.Xi!=b){this.Xi=b;this.n.trigger(this.Xi?f.Kc:f.hc);a.yw()&&this.n.trigger(this.Xi?f.Ij:f.pf)}}else if(a.Gd==f.Bi&&!a.hh()&this.Wp(a)){this.n.sB(f.V,p).length>1&&a.uq(this.n);a.ji(this.get("distance"));this.n.trigger(f.V)}};a.prototype.Wp=function(a){return this.Yj(a.Bn).some(function(a){return this.od&&
this.od.Pk(a.x,a.y)}.bind(this))};return a});
define("cA","require,hj,fc,eu,bG,cQ,f,dk,gx,gH,X".split(","),function(a){var b=a("hj"),c=a("fc"),d=a("eu"),g=a("bG"),f=a("cQ"),k=a("f"),j=a("dk"),h=a("gx"),m=a("gH"),e=a("X"),l=new THREE.Matrix4,r=Math.PI/180,o=b.extend(k,function(){k.call(this);this.set("tag","FlatPlane");this.set("distance",n);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",n);this.set("offsetY",n);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",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("materialConfig",this.ek=new g.Aj);this.fy=this.JL();this.$p=new THREE.Matrix4;this.uf=new THREE.Matrix4;this.ss=new THREE.Matrix4;this.Qm=new THREE.Matrix4;this.$t=new THREE.Matrix4;this.qv=new THREE.Matrix4;this.oX=new THREE.Matrix4;this.yk=new THREE.Matrix4;this.mY=new THREE.Matrix4;this.Fx=new THREE.Matrix4;this.Qx=new THREE.Matrix4;this.Eo=new THREE.Matrix4;
this.Be=new THREE.Matrix4;this.au=new THREE.Matrix4;this.ur=new THREE.Vector3});o.Cq=0;o.lm=1;o.prototype.J=function(a){k.prototype.J.call(this,a);this.LA();this.zR()};o.prototype.LA=function(){if(this.F("textureSource")||this.F("materialConfig")&&!this.ek.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=f.Zl(a)[o.lm];f.$T(a,this.Tx());this.mr()}}};o.prototype.zR=function(){if(this.F("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var a=
h.ES(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));d.J7(this.fy[o.lm],a.kC,a.nC,a.lo,a.mo)}};o.prototype.dl=function(){return[o.Cq,o.lm].map(function(a){var b=a==o.Cq?this.EL():this.Tx(),a=f.create(this.fy[a],b);m.wq(a,m.Xk);m.xq(a,m.pm);m.bC(a,c.RJ);m.wI(a,1);return a}.bind(this))};o.prototype.Tx=function(){var a=this.get("textureSource")||new j;this.ek=this.get("materialConfig");
var b=g.Hk(a.texture(),this.ek);m.jm(b,a);return[b]};o.prototype.EL=function(){var a=new j,b=g.Hk(a.texture());m.jm(b,a);return[b]};o.prototype.JL=function(){return[d.mB(),d.mB()]};o.prototype.Yj=function(a){return f.IS(this.get("meshGroup"),a)};o.prototype.Nv=function(a){var b=y;if(this.F("composedTranslationX","composedTranslationY","composedTranslationZ")){this.$p.makeTranslation(-this.get("composedTranslationX")*0.5*d.Ff,this.get("composedTranslationY")*0.5*d.Ff,this.get("composedTranslationZ")*
0.5*d.Ff);b=p}if(this.F("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.uf.makeRotationY(-a.ta*r);this.uf.multiply(l.makeRotationX(-this.get("composedDeltaPitch")*r));this.uf.multiply(l.makeRotationY(this.get("composedDeltaYaw")*r));this.uf.multiply(l.makeRotationY(a.ta*r));b=p}if(this.F("yaw","pitch")){this.ss.makeRotationY(-this.get("yaw")*r);this.ss.multiply(l.makeRotationX(this.get("pitch")*r));b=p}this.F("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&
this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?d.SH(this.get("distance")):d.iw());if(this.F("z")){this.Qm.makeTranslation(0,0,-this.get("z"));b=p}if(b){this.au.copy(this.$p);this.au.multiply(this.uf);this.au.multiply(this.ss);this.au.multiply(this.Qm)}var c=y;this.set("rendererYaw",a.ta);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.bd);this.set("rendererCameraFOV",a.Pe);this.set("rendererWidth",
a.width);this.set("rendererHeight",a.height);a.Pe&&this.F("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Pe*r*0.5)*this.get("z")*2);if(a.Pe&&(b||this.F("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(a.Kb){this.$t.copy(this.au);this.qv.identity()}else{c=a.gh;this.$t.copy(c.matrixWorld);this.ur.setFromMatrixPosition(c.matrixWorld);this.ur.applyMatrix4(this.au);this.ur.applyMatrix4(c.matrixWorldInverse);
var g=-10,j=-10;if(this.ur.z<0){this.ur.applyMatrix4(c.projectionMatrix);g=this.ur.x*0.5;j=this.ur.y*0.5}var m=this.get("rendererHeightZ");this.qv.makeTranslation(g*m*c.aspect,j*m,0)}c=p}if(this.F("roll")){this.yk.makeRotationZ(this.get("roll")*r);c=p}if(a.Pe&&(b||this.F("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){var b=a.Kb?1024:a.height,c=this.get("scale")*
this.get("rendererHeightZ")/b*(a.Kb?2:1),k=this.get("width"),m=this.get("height"),C=this.get("offsetX"),A=this.get("offsetY"),j=this.get("contentWidth"),H=this.get("contentHeight"),g=(this.get("flipHorizontally")?-1:1)*c,B=this.get("scaleMode"),b=this.get("horizontalAlign")||e.vc,a=this.get("verticalAlign")||e.fc,B=h.ES(k,m,j,H,B,b,a),H=g*k,j=c*m;this.Fx.makeScale(H,j,1);k=g*(k*0.5-C);m=c*(A-m*0.5);this.oX.makeTranslation(k,m,0);g=g*B.width;c=c*B.height;this.Qx.makeScale(g,c,1);b=b==e.ma?-(H-g)*0.5:
b==e.Fa?(H-g)*0.5:0;a=a==e.fb?(j-c)*0.5:a==e.eb?-(j-c)*0.5:0;this.mY.makeTranslation(b+k,a+m,0);c=p}if(c){this.Be.copy(this.$t);this.Be.multiply(this.Qm);this.Be.multiply(this.qv);this.Be.multiply(this.yk);this.Eo.copy(this.Be);this.Eo.multiply(this.oX);this.Eo.multiply(this.Fx);this.Be.multiply(this.mY);this.Be.multiply(this.Qx);a=f.Zl(this.get("meshGroup"));f.Rl(a[o.Cq],this.Eo);f.Rl(a[o.lm],this.Be)}};return o});
define("dT",["require","ji","ew"],function(a){function b(a,b){this.Lj=a;this.Cb=b;this.Yc=y;this.J9();this.Q9()}var c=a("ji"),d=a("ew");b.prototype.clear=function(){this.Fga();this.Lga();this.Lj.set("state",d.L);this.Cb=this.Lj=q};b.prototype.Se=function(a){this.Yc!=a&&(this.Yc=a,this.YG())};b.prototype.t0=function(){this.Cb.Sd(this.Lj.get("state"))};b.prototype.s0=function(){this.YG()};b.prototype.q0=function(){this.Lj.trigger(c.Yq)};b.prototype.p0=function(){this.Lj.trigger(c.ua)};b.prototype.r0=
function(){this.Lj.set("state",this.Cb.ni())};b.prototype.YG=function(){this.Lj.get("autoplay")&&this.Cb.Sd(this.Yc?d.T:d.L)};b.prototype.J9=function(){this.Lj.bind(c.ha("state"),this.t0,this,p);this.Lj.bind(c.ha("autoplay"),this.s0,this,p)};b.prototype.Fga=function(){this.Lj.unbind(c.ha("state"),this.t0,this,p);this.Lj.unbind(c.ha("autoplay"),this.s0,this,p)};b.prototype.Q9=function(){this.Cb.bind(c.Yq,this.q0,this,p);this.Cb.bind(c.ua,this.p0,this,p);this.Cb.bind(c.qm,this.r0,this,p)};b.prototype.Lga=
function(){this.Cb.unbind(c.Yq,this.q0,this,p);this.Cb.unbind(c.ua,this.p0,this,p);this.Cb.unbind(c.qm,this.r0,this,p)};return b});
define("iE",["require","t"],function(a){function b(){this.Sf=n;this.Fu=this.qs=0;this.Y=p;this.$X=this.N3=this.WY=n;this.Yc=y}var a=a("t"),c=Math.PI/180,d=a.browser()==a.sh?[-0.5,0]:[0,0];b.prototype.vI=function(a){this.Sf!=a&&(this.Sf=a,this.Y=p)};b.prototype.uI=function(a){if(a<this.qs+d[0]||a>this.qs+d[1])this.qs=a,this.Y=p};b.prototype.get=function(a,b){b!==n||(b=p);this.Y&&(this.J(),this.Y=y);var c=this.WY.get(a)||0,d=(this.N3.get(a)||0)-c;b&&(180<d?d-=360:-180>d&&(d+=360));return c+d*this.$X};
b.prototype.mi=function(){return this.get("opacity",y)};b.prototype.jt=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Sf[0].get("hfov")||this.Sf[0].get("vfov");return Math.tan(0.5*a*c)/Math.tan(0.5*b*c)};b.prototype.J=function(){for(var a=this.Fu,b,c=this.Sf.length-1,d,h;;){b=Math.min(a+1,c);d=this.KZ(a);h=this.KZ(b);if(d<=this.qs&&this.qs<=h)break;if(d>this.qs){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.WY=this.Sf[a];this.N3=this.Sf[b];a=h-d;this.$X=0<a?(this.qs-d)/a:
0};b.prototype.KZ=function(a){return this.Sf[a].get("timestamp")};return b});
define("iH",["require"],function(){function a(a){return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}function b(a,b){return Math.max(Math.abs(a[0]-b[0]),Math.abs(a[1]-b[1]),Math.abs(a[2]-b[2]))}var c={aoa:function(c,g,f){if(c&&0==c.indexOf("#")){var k=a(c),j=n,h=256;g.forEach(function(c){if(c&&0==c.indexOf("#")){var e=b(k,a(c));e<h&&(j=c,h=e)}});if(j&&h<=f)return j}return c},A5:function(c,g){return b(a(c),a(g))}};c.rT=a;return c});
define("R","require,hj,ji,ew,bL,dX,S".split(","),function(a){function b(a,b,c,d){this.US=a;this.src=a.src;this.oI=b;this.kB=c;this.JH=d;this.et=this.US.width/this.kB;this.dt=this.US.height/this.oI}var c=a("hj"),d=a("ji"),g=a("ew");a("bL");var f=a("dX"),k=a("S"),a=c.extend(f,function(a,c,h,m,k,t,u){f.call(this);this.oe=new b(a,c,h,k);this.u2=t;this.ne=m;this.RY=u;this.SG=this.ne*this.oe.JH;this.u=document.createElement("canvas");this.u.width=this.oe.et;this.u.height=this.oe.dt;this.Ha=this.u.getContext("2d");
this.Ha.globalCompositeOperation="copy";this.k=g.L;this.bG=this.fl=0;this.QL=n;this.Ye=j.gm(this.oe);this.Ye.bind(d.W,this.Jg,this,p);this.Jg()});a.prototype.Sd=function(a){if(this.k!=a){if(a==g.Jc){if(this.k!=g.T)return}else if(a==g.T){if(this.k==g.L)this.fl=this.bG=0}else if(a==g.L&&(this.fl!=0||this.bG==0)){this.fl=this.RY?0:this.SG-0.1;this.Jg()}this.k=a;k.Aa(this.cf,this);this.trigger(d.qm)}};a.prototype.ni=O("k");a.prototype.cf=function(a){if(this.k==g.T){this.fl=Math.min(this.fl+a,this.Ye.Ye.length*
this.ne);if(this.fl>=this.SG){this.bG++;if(this.u2&&this.bG==this.u2){this.Sd(g.L);this.fl=this.RY?0:this.SG-0.1;this.trigger(d.ua)}else{this.fl=this.fl%this.SG;this.trigger(d.Yq)}}this.Jg();this.k==g.T&&k.Aa(this.cf,this)}};a.prototype.clear=function(){this.Sd(g.L);this.u.width=this.u.height=0;this.u=q;j.Ina(this.oe);this.oe=q};a.prototype.Jg=function(){var a=Math.floor(this.fl/this.ne);if(this.QL!=a&&a<this.Ye.Ye.length){this.QL=a;this.Ha.drawImage(this.Ye.get(this.QL),0,0);this.trigger(d.W)}};
b.prototype.isEqual=function(a){return this.src==a.src&&this.oI==a.oI&&(this.kB=a.kB)&&(this.et=a.et)&&(this.dt=a.dt)&&(this.JH=a.JH)};var j={Nf:[],B9:2E3,gm:function(a){a=this.Ze(a);a.st++;this.B3(a);return a.frames},Ina:function(a){a=this.Ze(a);a.st--;a.st==0&&this.yia(a)},Ze:function(a){for(var b=0;b<this.Nf.length;b++)if(this.Nf[b].Dla.isEqual(a))return this.Nf[b];b={};b.Dla=a;b.frames=new h(a);b.st=0;this.Nf.push(b);return b},yia:function(a){this.B3(a);a.qS=setTimeout(function(){j.pba(a)},j.B9)},
B3:function(a){if(a.qS){clearTimeout(a.qS);a.qS=q}},pba:function(a){this.Nf.splice(this.Nf.indexOf(a),1);a.frames.clear()}},h=c.extend(f,function(a){f.call(this);this.oe=a;this.Ye=[];m.add(this)});h.prototype.clear=function(){m.remove(this);this.Ye.forEach(function(a){a.width=0;a.height=0});this.Ye=q};h.prototype.get=function(a){return this.Ye[a]};h.prototype.yla=function(){var a=this.Ye.length%this.oe.kB,b=Math.floor(this.Ye.length/this.oe.kB)%this.oe.oI,c=document.createElement("canvas");c.width=
this.oe.et;c.height=this.oe.dt;var f=c.getContext("2d");f.globalCompositeOperation="copy";f.drawImage(this.oe.US,a*this.oe.et,b*this.oe.dt,this.oe.et,this.oe.dt,0,0,this.oe.et,this.oe.dt);h.Vba(c);this.Ye.push(c);this.trigger(d.W)};h.Vba=function(){var a=document.createElement("canvas");a.width=1;a.height=1;var b=a.getContext("2d");return function(a){b.drawImage(a,0,0,1,1,0,0,1,1)}}();var m={Nf:[],WQ:q,add:function(a){this.Nf.push(a);this.D2()},remove:function(a){this.Nf=this.Nf.filter(function(b){return b!=
a})},D2:function(){if(!this.WQ)this.WQ=setTimeout(function(){this.WQ=q;this.RO()}.bind(this),40)},RO:function(){if(this.Nf.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Nf.filter(function(a){return a.Ye.length==0}),b=b.length>0?b[0]:this.Nf[0];b.yla();if(b.Ye.length==b.oe.JH){this.Nf.splice(this.Nf.indexOf(b),1);if(this.Nf.length==0)return}}this.D2()}}};return a});
define("gm","require,hj,gO,ji,dj,cQ,cA,dT,iE,dk,iH,cV,iu,R,fe".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var d=a("hj"),g=a("gO"),f=a("ji"),k=a("dj"),j=a("cQ"),h=a("cA"),m=a("dT"),e=a("iE"),l=a("dk"),r=a("iH"),o=a("cV"),s=a("iu"),t=a("R"),u=new (a("fe")),v=0,a=d.extend(h,function(a){h.call(this);this.set("tag","FlatHotspotImage");this.set("visible",y);this.set("playbackPositions",
q);this.set("image",q);this.set("beamEnabled",y);this.set("state",q);this.set("visibleOnStop",p);this.set("id","flat_hs_image_"+v++);this.n=a;this.Mh.push(this.n);this.ef=this.ef.bind(this);this.Oh=this.Oh.bind(this);this.zb=new e;this.ry=this.ed=this.yh=this.Cb=q;this.Xd=[];this.od=q});a.prototype.z7=function(a){if(this.ed!=a){this.ed&&g.nf(this.ed,["areas"],this.Oh,p);(this.ed=a)&&g.Oe(this.ed,["areas"],this.Oh,p)}};a.prototype.ac=function(){h.prototype.ac.call(this);g.Oe(this.n,["horizontalAlign",
"verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.ef,p);this.ed&&g.Oe(this.ed,["areas"],this.Oh,p)};a.prototype.dc=function(){this.Nx();this.ed&&g.nf(this.ed,["areas"],this.Oh,p);g.nf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.ef);h.prototype.dc.call(this)};a.prototype.ef=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));
this.set("verticalAlign",this.n.get("verticalAlign"));this.set("scale",this.n.get("scale"));this.set("scaleMode",this.n.get("scaleMode"));this.set("width",this.n.get("width"));this.set("height",this.n.get("height"));this.set("offsetX",this.n.get("offsetX",this.n.get("width")*0.5));this.set("offsetY",this.n.get("offsetY",this.n.get("height")*0.5));this.set("distance",this.n.get("distance"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("image",this.n.get("image"))};a.prototype.Oh=
function(){var a=this.ed.get("areas",[]);this.ry=k.vb("FlatHotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.J=function(a){this.kv=a.ta;this.jv=a.pitch;this.Ns();this.FA();this.GA();h.prototype.J.call(this,a)};a.prototype.GA=function(){if(this.F("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){j.setAttribute(a,j.Dt,this.get("panoramaId"));j.setAttribute(a,j.AU,this.get("id"))}.bind(this))}};a.prototype.Ns=function(){if(this.F("playbackPositions",
"currentTime")){this.zb.vI(this.get("playbackPositions"));this.zb.uI(this.get("currentTime"));this.set("yaw",this.zb.get("yaw"));this.set("pitch",this.zb.get("pitch"));this.set("roll",this.zb.get("roll"));this.set("alpha",this.zb.mi())}};a.prototype.FA=function(){if(this.F("image")){this.Nx();var a=s.Ula(this.n);this.set("textureSource",new l(a.get("url")));this.BK()}};a.prototype.Mn=function(){this.F("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&
this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=PlaybackState.L));this.F("composedAlpha","meshGroup","inView")&&j.cd(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.F("inView")&&this.n.trigger(this.get("inView")?f.qf:f.gg);this.yh&&this.yh.Se(this.get("inView"))};a.prototype.Nx=function(){if(this.yh){this.yh.clear();this.yh=q}if(this.Cb){this.Cb.unbind(f.W,this.ty,this,p);this.Cb.unbind(f.qm,this.uy,this,p);this.Cb.clear();this.Cb=q}if(this.od){this.od.dispose();
this.od=q}if(this.get("textureSource")){this.zs();this.set("textureSource",q)}};a.prototype.$o=function(){this.zs();var a,b=this.get("image");if(k.vb("AnimatedImageResource",b)){this.Cb=new t(this.get("textureSource").Dd(),b.get("rowCount",1),b.get("colCount",1),b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.Cb.u;this.Cb.bind(f.qm,this.uy,this,p);this.Cb.bind(f.W,this.ty,this,p);this.yh=new m(b,this.Cb);this.set("visibleOnStop",
b.get("visibleOnStop"));this.set("state",this.Cb.ni())}else{a=this.get("textureSource").Dd();this.od=new o(a);this.get("textureSource").Dg(a);this.set("visibleOnStop",p);this.set("state",q)}this.Mn();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").Dg(a);this.trigger(f.Ub);this.trigger(f.P)};a.prototype.vy=function(){this.zs();this.trigger(f.Ub);this.trigger(f.P)};a.prototype.uy=function(){this.set("state",this.Cb.ni())};a.prototype.ty=function(){this.get("textureSource").update();
this.Nb()};a.prototype.BK=function(){var a=this.get("textureSource");a.bind(f.P,this.$o,this,p);a.bind(f.md,this.vy,this,p)};a.prototype.zs=function(){var a=this.get("textureSource");a.unbind(f.P,this.$o,this,p);a.unbind(f.md,this.vy,this,p)};a.prototype.uj=function(a){if(a.Gd==f.uh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.hh()?this.gy(a):[];if(b.length>0){a.Zs(b);this.gj(b)&&a.$s(b);a.ji(this.get("distance"));var c=this.pa(b,a.nq());c&&a.eS(c,this.Xp(a.nq()))}this.sG(b,a.yw(),a.nq())}else if(a.Gd==
f.Bi){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.hh()?this.gy(a):[];if(b.length>0){var e=y;b.forEach(function(a){a.trigger(f.V);!e&&a.sB(f.V,p).length>1&&(e=p)});a.ji(this.get("distance"));e&&a.uq(b)}}};a.prototype.Rr=function(a){return this.od&&this.od.Ke==a.source?this.od.info(a.x,a.y):o.info(a.source,a.x,a.y)};a.prototype.gy=function(a){var b=this.Yj(a.Bn);return b.length==0?[]:this.ry.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Rr(a).Pk}.bind(this)):
c=="transparent"?b.every(function(a){return!this.Rr(a).Pk}.bind(this)):c&&c[0]=="#"?b.some(function(a){return r.A5(this.Rr(a).color,c)<10}.bind(this)):y}.bind(this))};a.prototype.sG=function(a,b,c){this.Xd.forEach(function(e){if(a.indexOf(e)<0){var d=u.get(e)-1;u.set(e,d);if(d==0){e.trigger(f.hc,{gB:c});b&&e.trigger(f.pf)}}});var e=this.Xd;this.Xd=a;this.Xd.forEach(function(a){if(e.indexOf(a)<0){var d=(u.get(a)||0)+1;u.set(a,d);if(d==1){a.trigger(f.Kc,{gB:c});b&&a.trigger(f.Ij)}}})};a.prototype.pa=
function(a,b){for(var c="",e=a.length-1;e>=0&&c=="";e--){var d=a[e];if(!b||d.get("displayTooltipInTouchScreens")&&this.tb.D.get("displayTooltipInTouchScreens")!==y)c=d.get("toolTip","")}return c};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.kv,b=this.get("pitch")-this.jv;return Math.sqrt(a*a+b*b)}return 0};a.prototype.gj=function(a){for(var b=this.ed.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("hJ","require,hj,gO,ji,fN,gC,t,iX,bk,hk".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("fN"),f=a("gC");a("t");var k=a("iX"),j=a("bk"),h=a("hk"),a=b.extend(g,function(a){g.call(this);this.n=a;this.Mh.push(this.n);this.tF=this.tF.bind(this);this.sF=this.sF.bind(this);this.uF=this.uF.bind(this);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",y);this.set("centerOver",y);this.set("enabled",p);this.set("visible",y);this.set("alpha",
0);this.set("inVR",y);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",y);this.set("rollOverDisplay",y);this.set("loadingActive",y);this.LK=this.MK=this.Zi=this.pc=this.Id=q;this.Xd=[];this.KK=[];this.fh=q});a.prototype.ac=function(){this.Id=(new f(d.P)).wi(this.cz.bind(this));this.pc=(new f(d.gc)).Lk(this.dz.bind(this));this.Zi=(new f(d.Ub)).wi(this.Zea.bind(this));this.MK=(new f(d.Kc)).Lk(this.Tea.bind(this));
this.LK=(new f(d.hc)).Lk(this.Sea.bind(this));g.prototype.ac.call(this);c.Oe(this.n,["items","rollOverItems","maps","rollOverMaps"],this.tF,p);c.Oe(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.uF,p);c.Oe(this.n,["areas"],this.sF,p)};a.prototype.dc=function(){this.Iv([],this.Xd);this.fR([],this.KK);this.Id.dispose();this.pc.dispose();this.Zi.dispose();this.MK.dispose();this.LK.dispose();c.nf(this.n,
["items","rollOverItems","maps","rollOverMaps"],this.tF);c.nf(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.uF);c.nf(this.n,["areas"],this.sF);g.prototype.dc.call(this)};a.prototype.tF=function(){this.set("items",this.tb.Wn(this.n.get("items",[])));this.set("rollOverItems",this.tb.Wn(this.n.get("rollOverItems",[])));this.set("maps",this.tb.Wn(this.n.get("maps",[])));this.set("rollOverMaps",this.tb.Wn(this.n.get("rollOverMaps",
[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.z7(this.n)}.bind(this));this.sj(a);this.Id.jd(a);this.pc.jd(a);this.Zi.jd(a)};a.prototype.uF=function(){this.set("fadeInDuration",this.n.get("fadeInDuration"));this.set("fadeOutDuration",this.n.get("fadeOutDuration"));this.set("enabled",this.n.get("enabled",p));this.set("enabledInVR",this.n.get("enabledInVR"));this.set("enabledInStandard",this.n.get("enabledInStandard",
p));this.set("centerOverDisplay",this.n.get("centerOverDisplay"));this.set("rollOverDisplay",this.n.get("rollOverDisplay",y));this.set("interactionEnabled",this.n.get("interactionEnabled",p))};a.prototype.sF=function(){var a=this.n.get("areas");this.MK.jd(a);this.LK.jd(a)};a.prototype.J=function(a){this.Mn(a);g.prototype.J.call(this,a);this.Rs(a)};a.prototype.Rs=function(a){this.set("inVR",a.Kb);this.set("hotspotsEnabled",a.tw);if(this.F("items","rollOverItems","maps","rollOverMaps","over","centerOver",
"inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")){var b=a=y,c=this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard")),d=this.get("interactionEnabled");if(c){a=this.get("centerOver")&&!this.get("inVR");b=this.get("over")||a;a=!this.get("rollOverDisplay")&&!this.get("centerOverDisplay")||this.get("over")&&this.get("rollOverDisplay")||
a&&this.get("centerOverDisplay")!==y&&this.get("rollOverDisplay")}this.get("rollOverItems").forEach(function(a){a.set("visible",b);a.set("beamEnabled",c&&b&&d)});var f=this.get("rollOverItems").length==0;this.get("items").forEach(function(a){a.set("visible",f||!b);a.set("beamEnabled",c&&(f||!b)&&d)});this.get("rollOverMaps").forEach(function(a){a.set("visible",y);a.set("beamEnabled",c&&b&&d)});var g=this.get("rollOverMaps").length==0;this.get("maps").forEach(function(a){a.set("visible",y);a.set("beamEnabled",
c&&(g||!b)&&d)});this.set("visible",a)}if(this.F("visible")){var a=this.get("alpha"),h=this.get("visible")?1:0,u=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(a-h);this.fh=new k("linear",[new j("alpha",a,h)],Math.max(u,1));this.Nb()}};a.prototype.Mn=function(a){if(this.fh){if(this.fh.he())this.fh=q;else{this.fh.cb(a.Qd);this.set("alpha",this.fh.kb("alpha"))}this.Nb()}};a.prototype.cz=function(){this.Gk();this.trigger(d.P)};a.prototype.Zea=function(){this.Gk();
this.trigger(d.Ub)};a.prototype.dz=function(){this.Gk()};a.prototype.Gk=function(){var a=0;this.pc.Rn(function(b){var c=0,d;this.Id.qi(b)?c=100:(d=this.pc.qi(b))&&(c=d.oh);a=a+c}.bind(this));this.trigger(new h(d.gc,a/this.pc.Dc.length))};a.prototype.Tea=function(a){a.data.gB?this.fR([a.source],[]):this.Iv([a.source],[])};a.prototype.Sea=function(a){a.data.gB?this.fR([],[a.source]):this.Iv([],[a.source])};a.prototype.Iv=function(a,b){this.j4(this.Xd,a,b);this.set("over",this.Xd.length>0)};a.prototype.fR=
function(a,b){this.j4(this.KK,a,b);this.set("centerOver",this.KK.length>0)};a.prototype.j4=function(a,b,c){b||(b=[]);c||(c=[]);c.forEach(function(b){b=a.indexOf(b);b>=0&&a.splice(b,1)});b.forEach(function(b){a.indexOf(b)<0&&a.push(b)})};return a});
define("gj","require,hj,gO,ji,ew,dj,cQ,gc,dT,iE,dk,iH,cV,iu,R,fe".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var d=a("hj"),g=a("gO"),f=a("ji"),k=a("ew"),j=a("dj"),h=a("cQ"),m=a("gc"),e=a("dT"),l=a("iE"),r=a("dk"),o=a("iH"),s=a("cV"),t=a("iu"),u=a("R"),v=new (a("fe")),x=0,a=d.extend(m,function(a){m.call(this);this.set("tag","HotspotImage");this.set("visible",y);
this.set("playbackPositions",q);this.set("image",q);this.set("beamEnabled",y);this.set("state",q);this.set("visibleOnStop",p);this.set("id","hs_image_"+x++);this.n=a;this.Mh.push(this.n);this.ef=this.ef.bind(this);this.Oh=this.Oh.bind(this);this.zb=new l;this.ry=this.ed=this.yh=this.Cb=q;this.Xd=[];this.od=q});a.prototype.z7=function(a){if(this.ed!=a){this.ed&&g.nf(this.ed,["areas"],this.Oh,p);(this.ed=a)&&g.Oe(this.ed,["areas"],this.Oh,p)}};a.prototype.ac=function(){m.prototype.ac.call(this);g.Oe(this.n,
["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.ef,p);this.ed&&g.Oe(this.ed,["areas"],this.Oh,p)};a.prototype.dc=function(){this.sG([]);this.Nx();this.ed&&g.nf(this.ed,["areas"],this.Oh,p);g.nf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.ef);m.prototype.dc.call(this)};a.prototype.ef=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));this.set("verticalAlign",this.n.get("verticalAlign"));
this.set("scaleMode",this.n.get("scaleMode"));this.set("distance",this.n.get("distance"));this.set("scale",this.n.get("scale"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("image",this.n.get("image"))};a.prototype.Oh=function(){var a=this.ed.get("areas",[]);this.ry=j.vb("HotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.J=function(a){this.kv=a.ta;this.jv=a.pitch;this.Ns();this.FA();this.GA();m.prototype.J.call(this,a)};a.prototype.GA=function(){if(this.F("meshGroup",
"panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){h.setAttribute(a,h.Dt,this.get("panoramaId"));h.setAttribute(a,h.AU,this.get("id"))}.bind(this))}};a.prototype.Ns=function(){if(this.F("playbackPositions","currentTime")){this.zb.vI(this.get("playbackPositions"));this.zb.uI(this.get("currentTime"));this.set("yaw",this.zb.get("yaw"));this.set("pitch",this.zb.get("pitch"));this.set("roll",this.zb.get("roll"));this.set("rotationX",this.zb.get("rotationX"));this.set("rotationY",
this.zb.get("rotationY"));this.set("hfov",this.zb.get("hfov"));this.set("vfov",this.zb.get("vfov"));this.set("alpha",this.zb.mi())}};a.prototype.FA=function(){if(this.F("image")){this.Nx();var a=t.Yla(this.n,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new r(a.get("url")));this.BK()}};a.prototype.Mn=function(){this.F("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=
k.L));this.F("composedAlpha","meshGroup","inView")&&h.cd(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.F("inView")&&this.n.trigger(this.get("inView")?f.qf:f.gg);this.yh&&this.yh.Se(this.get("inView"))};a.prototype.Nx=function(){if(this.yh){this.yh.clear();this.yh=q}if(this.Cb){this.Cb.unbind(f.W,this.ty,this,p);this.Cb.unbind(f.qm,this.uy,this,p);this.Cb.clear();this.Cb=q}if(this.od){this.od.dispose();this.od=q}if(this.get("textureSource")){this.zs();this.set("textureSource",
q)}};a.prototype.$o=function(){this.zs();var a,b=this.get("image");if(j.vb("AnimatedImageResource",b)){this.Cb=new u(this.get("textureSource").Dd(),b.get("rowCount",1),b.get("colCount",1),b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.Cb.u;this.Cb.bind(f.qm,this.uy,this,p);this.Cb.bind(f.W,this.ty,this,p);this.yh=new e(b,this.Cb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.Cb.ni())}else{a=
this.get("textureSource").Dd();this.od=new s(a);this.set("visibleOnStop",p);this.set("state",q)}this.Mn();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").Dg(a);this.trigger(f.Ub);this.trigger(f.P)};a.prototype.vy=function(){this.zs();this.trigger(f.Ub);this.trigger(f.P)};a.prototype.uy=function(){this.set("state",this.Cb.ni())};a.prototype.ty=function(){this.get("textureSource").update();this.Nb()};a.prototype.BK=function(){var a=this.get("textureSource");
a.bind(f.P,this.$o,this,p);a.bind(f.md,this.vy,this,p)};a.prototype.zs=function(){var a=this.get("textureSource");a.unbind(f.P,this.$o,this,p);a.unbind(f.md,this.vy,this,p)};a.prototype.uj=function(a){if(a.Gd==f.uh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.hh()?this.gy(a):[];if(b.length>0){a.Zs(b);this.gj(b)&&a.$s(b);a.ji(this.get("distance"));var c=this.pa(b,a.nq());c&&a.eS(c,this.Xp(a.nq()))}this.sG(b,a.yw(),a.nq())}else if(a.Gd==f.Bi){b=this.get("beamEnabled")&&this.get("alpha")>
0&&!a.hh()?this.gy(a):[];if(b.length>0){var e=y;b.forEach(function(a){a.trigger(f.V);!e&&a.sB(f.V,p).length>1&&(e=p)});a.ji(this.get("distance"));e&&a.uq(b)}}};a.prototype.Rr=function(a){return this.od&&this.od.Ke==a.source?this.od.info(a.x,a.y):s.info(a.source,a.x,a.y)};a.prototype.gy=function(a){var b=this.Yj(a.Bn);return b.length==0?[]:this.ry.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Rr(a).Pk}.bind(this)):c=="transparent"?b.every(function(a){return!this.Rr(a).Pk}.bind(this)):
c&&c[0]=="#"?b.some(function(a){return o.A5(this.Rr(a).color,c)<10}.bind(this)):y}.bind(this))};a.prototype.sG=function(a,b,c){this.Xd.forEach(function(e){if(a.indexOf(e)<0){var d=v.get(e)-1;v.set(e,d);if(d==0){e.trigger(f.hc,{gB:c});b&&e.trigger(f.pf)}}});var e=this.Xd;this.Xd=a;this.Xd.forEach(function(a){if(e.indexOf(a)<0){var d=(v.get(a)||0)+1;v.set(a,d);if(d==1){a.trigger(f.Kc,{gB:c});b&&a.trigger(f.Ij)}}})};a.prototype.pa=function(a,b){for(var c="",e=a.length-1;e>=0&&c=="";e--){var d=a[e];if(!b||
d.get("displayTooltipInTouchScreens")&&this.tb.D.get("displayTooltipInTouchScreens")!==y)c=d.get("toolTip","")}return c};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.kv,b=this.get("pitch")-this.jv;return Math.sqrt(a*a+b*b)}return 0};a.prototype.gj=function(a){for(var b=this.ed.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("eK",["require","ep","a"],function(a){function b(a,b,d){this.Fd=a||new c(0,0,0);this.Ag=b||new c(1,0,0);this.qt=d||new c(0,1,0)}var c=a("ep"),d=a("a");b.prototype.clone=function(){return new b(this.Fd.clone(),this.Ag.clone(),this.qt.clone())};b.prototype.apply=function(a){a.Tv(this.Fd);a.Tv(this.Ag);a.Tv(this.qt)};b.prototype.intersection=function(a){var b=d.iq(a.Fd,a.Ag),k=d.iq(this.Fd,a.Fd),j=d.iq(this.Fd,this.Ag);j.mla(d.iq(this.Fd,this.qt));b=b.oB(j);if(0!=b)return k=-j.oB(k)/b,new c(a.Fd.x+
(a.Ag.x-a.Fd.x)*k,a.Fd.y+(a.Ag.y-a.Fd.y)*k,a.Fd.z+(a.Ag.z-a.Fd.z)*k)};b.prototype.AT=function(a){var b=d.iq(this.Fd,this.Ag),k=d.iq(this.Fd,this.qt),a=d.iq(this.Fd,a);return new c(a.oB(b)/b.LS(),a.oB(k)/k.LS(),0)};return b});
define("dq",[],function(){function a(a){a%=d;0>a&&(a+=d);return k[a*g|0]}function b(a){a%=d;0>a&&(a+=d);return f[a*g|0]}function c(){this.identity()}c.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.xe=this.we=this.ve=0};c.prototype.clone=function(){var a=new c;a.m11=this.m11;a.m12=this.m12;a.m13=this.m13;a.m21=this.m21;a.m22=this.m22;a.m23=this.m23;a.m31=this.m31;a.m32=this.m32;a.m33=this.m33;a.ve=this.ve;a.we=this.we;
a.xe=this.xe;return a};c.prototype.concat=function(a){var b=this.m11,c=this.m12,d=this.m13,f=this.m21,g=this.m22,j=this.m23,k=this.m31,u=this.m32,v=this.m33,x=this.ve,w=this.we,z=this.xe;this.m11=b*a.m11+c*a.m21+d*a.m31;this.m12=b*a.m12+c*a.m22+d*a.m32;this.m13=b*a.m13+c*a.m23+d*a.m33;this.m21=f*a.m11+g*a.m21+j*a.m31;this.m22=f*a.m12+g*a.m22+j*a.m32;this.m23=f*a.m13+g*a.m23+j*a.m33;this.m31=k*a.m11+u*a.m21+v*a.m31;this.m32=k*a.m12+u*a.m22+v*a.m32;this.m33=k*a.m13+u*a.m23+v*a.m33;this.ve=x*a.m11+w*
a.m21+z*a.m31+a.ve;this.we=x*a.m12+w*a.m22+z*a.m32+a.we;this.xe=x*a.m13+w*a.m23+z*a.m33+a.xe};c.prototype.translate=function(a,b,c){this.ve+=a;this.we+=b;this.xe+=c};c.prototype.scale=function(a,b,c){this.m11*=a;this.m12*=b;this.m13*=c;this.m21*=a;this.m22*=b;this.m23*=c;this.m31*=a;this.m32*=b;this.m33*=c;this.ve*=a;this.we*=b;this.xe*=c};c.prototype.io=function(c){var d=a(c),c=b(c),e=this.m12*d+this.m13*c,f=this.m22*c-this.m23*d,g=this.m22*d+this.m23*c,j=this.m32*c-this.m33*d,k=this.m32*d+this.m33*
c,t=this.we*c-this.xe*d,u=this.we*d+this.xe*c;this.m12=this.m12*c-this.m13*d;this.m13=e;this.m22=f;this.m23=g;this.m32=j;this.m33=k;this.we=t;this.xe=u};c.prototype.sq=function(c){var d=a(c),c=b(c),e=-this.m11*d+this.m13*c,f=this.m21*c+this.m23*d,g=-this.m21*d+this.m23*c,j=this.m31*c+this.m33*d,k=-this.m31*d+this.m33*c,t=this.ve*c+this.xe*d,u=-this.ve*d+this.xe*c;this.m11=this.m11*c+this.m13*d;this.m13=e;this.m21=f;this.m23=g;this.m31=j;this.m33=k;this.ve=t;this.xe=u};c.prototype.tq=function(c){var d=
a(c),c=b(c),e=this.m11*d+this.m12*c,f=this.m21*c-this.m22*d,g=this.m21*d+this.m22*c,j=this.m31*c-this.m32*d,k=this.m31*d+this.m32*c,t=this.ve*c-this.we*d,u=this.ve*d+this.we*c;this.m11=this.m11*c-this.m12*d;this.m12=e;this.m21=f;this.m22=g;this.m31=j;this.m32=k;this.ve=t;this.we=u};c.prototype.rotate=function(a,b,c){this.io(a);this.sq(b);this.tq(c)};c.prototype.y6=function(){var a=this.Nla();if(0==a)return y;var b=this.clone();this.m11=(b.m22*b.m33-b.m23*b.m32)/a;this.m12=(b.m13*b.m32-b.m12*b.m33)/
a;this.m13=(b.m12*b.m23-b.m13*b.m22)/a;this.m21=(b.m23*b.m31-b.m21*b.m33)/a;this.m22=(b.m11*b.m33-b.m13*b.m31)/a;this.m23=(b.m13*b.m21-b.m11*b.m23)/a;this.m31=(b.m21*b.m32-b.m22*b.m31)/a;this.m32=(b.m12*b.m31-b.m11*b.m32)/a;this.m33=(b.m11*b.m22-b.m12*b.m21)/a;this.ve=-(b.ve*this.m11+b.we*this.m21+b.xe*this.m31);this.we=-(b.ve*this.m12+b.we*this.m22+b.xe*this.m32);this.xe=-(b.ve*this.m13+b.we*this.m23+b.xe*this.m33);return p};c.prototype.Nla=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)};c.prototype.Tv=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.we,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.xe;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.ve;a.y=b;a.z=c};for(var d=2*Math.PI,g=18E4/d,f=new Float32Array(18E4),k=new Float32Array(18E4),j=0;18E4>j;j++)f[j]=Math.cos(j/g),k[j]=Math.sin(j/g);return c});
define("cw","require,gW,fk,ci,ep,eK,dq,hH".split(","),function(a){var b=a("gW"),c=a("fk"),d=a("ci"),g=a("ep"),f=a("eK"),k=a("dq"),j=a("hH"),h=Math.PI/180,m=new k,e=new c,l=new f,r=new g;return{get:function(a,b,c,d,f,l,j,k){a=a*h;b=b*h;b=new g(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));m.identity();m.sq(c*h);m.tq(f*h);m.io(d*h);b.apply(m);if(b.z>0){e.gC(j);e.x7(k);e.XB(l*h);e.project(b);return b}return q},lsa:function(a,c,e,d,f,g,k,z,C,A,H,B,F,K){K||(K=j.om);F||(F=b.oj(B,A,H));
B||(B=b.km(F,A,H));var J=A*0.5/Math.tan(B*0.5*h),L=J*Math.tan(B*0.5*h)*2,M=J*Math.tan(F*0.5*h)*2;l.Fd.set(+L*0.5,+M*0.5,0);l.Ag.set(-L*0.5,+M*0.5,0);l.qt.set(+L*0.5,-M*0.5,0);m.identity();m.tq(-C*h);m.io(-k*h);m.sq(z*h);m.translate(0,0,J);m.tq(-g*h);m.io(-f*h);m.sq(-d*h);m.sq(e.Tb()*h);m.tq(e.Rd()*h);m.io(e.Yb()*h);l.apply(m);r.set(a,c,0);f=l.intersection(e.unproject(r));d={x:n,y:n,xScaled:n,yScaled:n};if(f&&f.z>0){f=l.AT(f);d.xScaled=d.x=f.x/L;d.yScaled=d.y=f.y/M}if(K!=j.om){var G,R;switch(K){case j.je:G=
Math.min(b.km(F,A,H),B);R=Math.min(b.oj(B,A,H),F);break;case j.Vk:G=Math.max(b.km(F,A,H),B);R=Math.max(b.oj(B,A,H),F);break;case j.Hj:G=B;R=b.oj(B,A,H);break;case j.fg:G=b.km(F,A,H);R=F}if(G!=B||R!=F){L=J*Math.tan(G*0.5*h)*2;M=J*Math.tan(R*0.5*h)*2;l.Fd.set(+L*0.5,+M*0.5,0);l.Ag.set(-L*0.5,+M*0.5,0);l.qt.set(+L*0.5,-M*0.5,0);l.apply(m);r.set(a,c,0);if((f=l.intersection(e.unproject(r)))&&f.z>0){f=l.AT(f);d.xScaled=f.x/L;d.yScaled=f.y/M}}}return d},jra:function(a,b,c,e,f,j,k){k=f*0.5/Math.tan(k*0.5*
h);l.Fd.set(+f*0.5,+j*0.5,k);l.Ag.set(-f*0.5,+j*0.5,k);l.qt.set(+f*0.5,-j*0.5,k);m.identity();m.tq(-e*h);m.io(-c*h);m.sq(-b*h);m.sq(a.Tb()*h);m.tq(a.Rd()*h);m.io(a.Yb()*h);l.apply(m);a=new d(new g(0,0,0),new g(0,0,1));if((a=l.intersection(a))&&a.z>0){a=l.AT(a);return{x:a.x/f,y:a.y/j}}return q}}});
define("dx",["require","hj","eu","f","cQ"],function(a){var b=a("hj"),c=a("eu"),d=a("f"),g=a("cQ"),f=new THREE.Matrix4,k=Math.PI/180,a=b.extend(d,function(){d.call(this);this.set("tag","Frame");this.$p=new THREE.Matrix4;this.uf=new THREE.Matrix4;this.Oz=new THREE.Matrix4;this.Si=new THREE.Matrix4});a.prototype.J=function(a){d.prototype.J.call(this,a)};a.prototype.Nv=function(a){var b=y;this.F("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.$p.makeTranslation(0.5*-this.get("composedTranslationX")*
c.Ff,0.5*this.get("composedTranslationY")*c.Ff,0.5*this.get("composedTranslationZ")*c.Ff),b=p);this.F("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.uf.makeRotationY(-a.ta*k),this.uf.multiply(f.makeRotationX(-this.get("composedDeltaPitch")*k)),this.uf.multiply(f.makeRotationY(this.get("composedDeltaYaw")*k)),this.uf.multiply(f.makeRotationY(a.ta*k)),b=p);this.F("flipHorizontally")&&(this.Oz.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=p);if(b||this.F("meshGroup"))this.Si.copy(this.$p),
this.Si.multiply(this.uf),this.Si.multiply(this.Oz),g.Rl(this.get("meshGroup"),this.Si)};return a});
define("jp",["require","hj","hf","iG","id"],function(a){var b=a("hj"),c=a("hf"),d=a("iG"),g=a("id"),a=b.extend(g,function(a,b,c,d,m){g.call(this,a.get("url"));this.Z=b;this.$=c;this.S=d;this.aa=m;this.qea=0!=this.Z||0!=this.$||this.S!=a.get("width")||this.aa!=a.get("height")});a.prototype.df=function(){this.qea?(this.jba(),this.Pm(),this.Su(!!this.Ke)):g.prototype.df.call(this)};a.prototype.lA=function(){g.prototype.lA.call(this);this.oM()};a.prototype.aq=function(){g.prototype.aq.call(this);this.oM()};
g.prototype.dispose=function(){g.prototype.dispose.call(this);this.oM()};a.prototype.jba=function(){var a=c.Dd(this.Eb);this.Ke=d.jla(a,this.Z,this.$,this.S,this.aa)};a.prototype.oM=function(){this.Ke&&(d.DH(this.Ke),this.Ke=q)};return a});
define("dY","require,dj,cv,hX,eL,dk,id,jp,eu,bG,cQ,bw,iu,gH,t".split(","),function(a){var b=a("dj"),c=a("cv"),d=a("hX"),g=a("eL"),f=a("dk"),k=a("id"),j=a("jp"),h=a("eu"),m=a("bG"),e=a("cQ"),l=a("bw"),r=a("iu"),o=a("gH"),s=a("t"),t={gla:function(a,b){var c=l.get(a);switch(c){case l.Zq:case l.ro:case l.th:return this.Waa(c,a,b);case l.Zk:case l.$q:case l.Kt:return this.Yaa(c,a,b)}},lla:function(a,b){var d=a.get("hfov"),f=a.get("vfov"),g=a.get("pitch"),l=a.get("width"),j=b.get("posterURL"),r=new k(j),
j=m.AH(r.texture());o.jm(j,r);j.visible=y;f=h.mS(d,f,g,1,1);f=e.create(f,[j]);o.eC(f,l/d);f.layers.set(c.Sk);return f},kla:function(a,b){var d=a.get("hfov"),g=a.get("vfov"),l=a.get("pitch"),j=a.get("width"),k=b.get("url"),r=new f,k=m.Hk(r.texture(),new m.Aj(k));o.jm(k,r);k.visible=p;g=h.mS(d,g,l,1,1);g=e.create(g,[k]);o.eC(g,j/d);g.layers.set(c.Sk);return g},ila:function(a){var b=[d.Fa,d.ma,d.fb,d.eb,d.FRONT,d.BACK].map(function(){var b=new f;b.Dg(t.jda(a));var c=m.Hk(b.texture());o.jm(c,b);c.visible=
p;return c}),g=h.j5(1,1),b=e.create(g,b);o.eC(b,256/90);b.layers.set(c.Sk);return b},BQ:{},jda:function(a){if(!t.BQ[a]){var b=document.createElement("canvas");b.width=b.height=256;var c=b.getContext("2d");c.fillStyle=a;c.fillRect(0,0,b.width,b.height);t.BQ[a]=b}return t.BQ[a]},Waa:function(a,f,j){var k=a==l.Zq?[c.Fa,c.ma]:[c.Sk],m=f.get("flipImageHorizontally");m&&(k=k.reverse());var s=a==l.th?1:6*k.length,t=j.get("width")/s,H=j.get("height"),B,F;if(b.vb("TiledImageResourceLevel",j)){B=j.get("colCount",
s)/s;F=j.get("rowCount",1)}else if(this.x2(a,j)){B=Math.ceil(t/g.sm());F=Math.ceil(H/g.sm())}else F=B=1;var K=[d.Fa,d.ma,d.fb,d.eb,d.FRONT,d.BACK];return k.map(function(c,d){var g=Array(6);K.forEach(function(e,k){var o=r.DS(f,j,e);if(b.vb("TiledImageResourceLevel",j))g[h.TV.indexOf(e)]=this.Vaa(o,a,c,e,m,B,F);else{var s=a==l.th?0:Math.round((d*K.length+k)*t),w=B>1||F>1||a!=l.th?t>256?1:0.5:0;g[h.TV.indexOf(e)]=this.qY(o,B,F,s,0,t,H,w)}}.bind(this));var k=Array.prototype.concat.apply([],g),s=h.j5(B,
F),k=e.create(s,k);k.layers.set(c);o.eC(k,t/90);return k}.bind(this))},Yaa:function(a,b,d){var f=a==l.Zk?[c.Sk]:[c.ma,c.Fa];b.get("flipImageHorizontally")&&(f=f.reverse());var j=d.get("width"),k=d.get("height"),m=b.get("hfov"),r=b.get("vfov"),s=b.get("pitch"),t=Math.round(j/m/(k/r)),K=Math.round(j/t),J=Math.round(k/Math.round(k/r/(j/m))),L=(a=this.x2(a,d))?Math.ceil(K/g.sm()):1,M=a?Math.ceil(J/g.sm()):1;return f.map(function(a,b){var c=this.qY(d,L,M,b%t*K,Math.floor(b/t)*J,K,J),f=h.mS(m,r,s,L,M),
c=e.create(f,c);c.layers.set(a);o.eC(c,K/m);return c}.bind(this))},x2:function(a,b){switch(a){case l.Zq:case l.ro:case l.$q:case l.Kt:return p;case l.th:return y;case l.Zk:return s.vma().mna<Math.max(b.get("width"),b.get("height"))?p:g.pi()||s.Xa()?y:s.rd()==s.Fq?p:y}},qY:function(a,b,c,e,d,g,h,l){l||(l=0);for(var k=[],r=0;r<c;r++)for(var s=d+l+(h-2*l)*r/c,t=d+l+(h-2*l)*(r+1)/c,L=0;L<b;L++){var M=e+l+(g-2*l)*L/b,G=e+l+(g-2*l)*(L+1)/b,M=a?new j(a,M,s,G-M,t-s):new f,G=m.AH(M.texture());o.jm(G,M);k.push(G)}return k},
Vaa:function(a,b,c,e,d,g,h){for(var l=[],j=0;j<h;j++)for(var s=0;s<g;s++){var t;t=a?new k(r.W5(a,b,c,e,d,h,j,s)):new f;var J=m.AH(t.texture());o.jm(J,t);J.visible=y;l.push(J)}return l}};return t});
define("cj","require,hj,ji,dx,gC,dY,gH".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("dx"),g=a("gC"),f=a("dY"),k=a("gH"),a=b.extend(d,function(a){d.call(this);this.rf=a;this.set("tag","SolidFrame");this.ae=q});a.prototype.ac=function(){this.ae=(new g(c.P)).wi(this.df.bind(this));d.prototype.ac.call(this)};a.prototype.dc=function(){this.ae.dispose();d.prototype.dc.call(this)};a.prototype.dl=function(){var a=[f.ila(this.rf)];k.xq(a,k.pm);k.wq(a,k.Xk);this.ae.jd(a);return a};a.prototype.df=function(){this.trigger(c.Ub);
this.trigger(c.P)};return a});
define("go","require,hj,fc,eu,bG,cQ,I,f,dk,gH".split(","),function(a){var b=a("hj"),c=a("fc"),d=a("eu"),g=a("bG"),f=a("cQ");a("I");var k=a("f"),j=a("dk"),h=a("gH");new THREE.Matrix4;var m=Math.PI/180,a=b.extend(k,function(){k.call(this);this.set("tag","Sprite");this.set("distance",n);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",n);this.set("offsetY",n);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.set("materialConfig",this.ek=new g.Aj);
this.hca=d.mB();this.Qm=new THREE.Matrix4;this.$t=new THREE.Matrix4;this.qv=new THREE.Matrix4;this.W_=new THREE.Matrix4;this.yk=new THREE.Matrix4;this.Oz=new THREE.Matrix4;this.Si=new THREE.Matrix4});a.prototype.J=function(a){k.prototype.J.call(this,a);this.LA()};a.prototype.LA=function(){if(this.F("textureSource")||this.F("materialConfig")&&!this.ek.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");a&&f.Ef(a,function(a){f.$T(a,this.rY())}.bind(this))}};a.prototype.dl=function(){var a=
f.create(this.hca,this.rY());h.wq(a,h.Xk);h.xq(a,h.pm);h.bC(a,c.RJ);h.wI(a,1);return[a]};a.prototype.rY=function(){var a=this.get("textureSource")||new j;this.ek=this.get("materialConfig");var b=g.Hk(a.texture(),this.ek);h.jm(b,a);return[b]};a.prototype.Yj=function(a){return f.IS(this.get("meshGroup"),a)};a.prototype.Nv=function(a){var b=y;this.set("rendererYaw",a.ta);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.bd);this.set("rendererCameraFOV",a.Pe);this.set("rendererWidth",a.width);
this.set("rendererHeight",a.height);this.set("inVR",a.Kb);this.F("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?d.SH(this.get("distance")):d.iw());if(this.F("z")){this.Qm.makeTranslation(0,0,-this.get("z"));centerMatrixChanged=p}a.Pe&&this.F("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Pe*m*0.5)*this.get("z")*
2);if(a.gh&&this.F("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.$t.copy(a.gh.matrixWorld);var b=this.get("rendererHeightZ"),c=b*a.gh.aspect,c=(this.get("centerX")-a.width*0.5)*c/a.width*0.5,b=(a.height*0.5-this.get("centerY"))*b/a.height*0.5;this.qv.makeTranslation(c,b,0);b=p}if(this.F("roll")){this.yk.makeRotationZ(this.get("roll")*m);b=p}if(a.Pe&&(centerMatrixChanged||this.F("rendererHeight",
"inVR","rendererHeightZ","width","height","flipHorizontally"))){b=a.Kb?512/a.height:1;a=(this.get("flipHorizontally")?-1:1)*this.get("width")*b;b=this.get("height")*b;this.Oz.makeScale(a,b,1);b=p}if(this.F("width","height","offsetX","offsetY")){a=0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.W_.makeTranslation(a,b,0);b=p}if(b){this.Si.copy(this.$t);this.Si.multiply(this.Qm);this.Si.multiply(this.qv);this.Si.multiply(this.yk);this.Si.multiply(this.Oz);
this.Si.multiply(this.W_);f.Rl(this.get("meshGroup"),this.Si)}};return a});
define("eq",["require","iH"],function(a){function b(a,c,f,k,j,h){this.cj=c;this.u=document.createElement("canvas");this.u.width=this.cj;this.u.height=this.cj;switch(a){case b.Ww:this.Bba(f,k,j,h);break;case b.HC:this.Cba(f,k,j,h)}}var c=a("iH");b.prototype.Ic=O("cj");b.prototype.ud=O("cj");b.prototype.Bba=function(a,b,f,k){for(var j=0.5*this.cj,h=0.5*this.cj,m=0.5*this.cj,e=this.u.getContext("2d"),b=c.rT(b),l=e.createRadialGradient(j,h,0,j,h,m),r=0;r<f.length;r++)l.addColorStop(k[r],"rgba("+b[0]+
","+b[1]+","+b[2]+","+f[r]+")");e.fillStyle=l;e.globalAlpha=a;e.beginPath();e.arc(j,h,m,0,2*Math.PI,p);e.closePath();e.fill()};b.prototype.Cba=function(a,b,f,k){var j=0.5*this.cj,h=0.5*this.cj,m=0.5*this.cj,e=this.u.getContext("2d");e.clearRect(0,0,this.cj,this.cj);for(var l=c.rT(b),r=e.createRadialGradient(j,h,0,j,h,m),b=0;b<f.length;b++)r.addColorStop(k[b],"rgba("+l[0]+","+l[1]+","+l[2]+","+f[b]+")");e.fillStyle=r;e.globalAlpha=a;e.beginPath();for(b=0;6>b;b++)f=45*Math.PI/180+2*Math.PI*b/6,a=j+
Math.cos(f)*m,f=h+Math.sin(f)*m,0==b?e.moveTo(a,f):e.lineTo(a,f);e.closePath();e.fill()};b.Ww="circle";b.HC="hexagon";return b});
define("iv","require,hj,gO,ji,cw,fN,cj,go,eq,dk".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("cw"),f=a("fN"),k=a("cj"),j=a("go"),h=a("eq"),m=a("dk"),a=b.extend(f,function(a){f.call(this);this.n=a;this.Mh.push(this.n);this.ef=this.ef.bind(this);this.set("tag","LensFlare");this.NK=this.Maa();this.Sc=this.lba();this.sj(this.NK.concat([this.Sc]))});a.prototype.ac=function(){f.prototype.ac.call(this);this.trigger(d.Ub);this.trigger(d.P);c.Oe(this.n,["yaw","pitch","bleaching","bleachingDistance"],
this.ef,p)};a.prototype.dc=function(){c.nf(this.n,["yaw","pitch","bleaching","bleachingDistance"],this.ef,p);f.prototype.dc.call(this)};a.prototype.ef=function(){this.set("yaw",this.n.get("yaw"));this.set("pitch",this.n.get("pitch"));this.set("bleaching",this.n.get("bleaching"));this.set("bleachingDistance",this.n.get("bleachingDistance"))};a.prototype.J=function(a){f.prototype.J.call(this,a);this.set("rendererYaw",a.ta);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.bd);this.set("rendererCameraFOV",
a.Pe);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Kb);if(this.F("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR","yaw","pitch","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var b=a.ta+this.get("composedDeltaYaw"),c=a.pitch+this.get("composedDeltaPitch"),d=a.bd+this.get("composedDeltaRoll"),h=0,j=0,k,m,w,z;if(!a.Kb)if(b=g.get(this.get("yaw"),this.get("pitch"),b,c,d,a.Pe,a.width,a.height)){m=
a.width*0.5;z=a.height*0.5;k=b.x;w=b.y;m=(m-k)*2;z=(z-w)*2;j=Math.sqrt(m*m+z*z);h=Math.sqrt(a.width*a.width,a.height*a.height);a=Math.min(a.width,a.height);h=Math.max(0,Math.min(0.7,1-j/h));b=this.get("bleaching");a=1-Math.max(0,Math.min(1,j/(a*this.get("bleachingDistance"))));j=b*a}for(a=0;a<this.NK.length;a++){b=this.NK[a];b.set("alpha",h);if(h>0){b.set("centerX",k+m*e[a].position);b.set("centerY",w+z*e[a].position)}}this.Sc.set("alpha",j)}};a.prototype.Maa=function(){return e.map(function(a){var b=
(new h(a.form,a.zt,a.opacity,a.color,a.kt,a.lt)).u,c=new m;c.Dg(b);b=new j;b.set("textureSource",c);b.set("width",a.size);b.set("height",a.size);b.set("offsetX",a.size*0.5);b.set("offsetY",a.size*0.5);return b})};a.prototype.lba=function(){return new k("#ffffff")};var e=[{form:h.HC,position:0.1,size:52,zt:128,opacity:0.8,color:"#FCFCFC",kt:[1,0.5],lt:[0,0.866]},{form:h.HC,position:0.2,size:52,zt:128,opacity:0.6,color:"#C8FCC8",kt:[1,0.5],lt:[0,0.866]},{form:h.Ww,position:0.36,size:112,zt:128,opacity:0.5,
color:"#C8C8FC",kt:[1,0.9,0.6,0],lt:[0,0.2,0.4,1]},{form:h.Ww,position:0.47,size:32,zt:128,opacity:0.3,color:"#96C8AF",kt:[1,1,0],lt:[0,0.9,1]},{form:h.Ww,position:0.65,size:52,zt:128,opacity:0.7,color:"#FCFCFC",kt:[0.7,0.7,0.2,0],lt:[0,0.1,0.4,1]},{form:h.HC,position:0.88,size:128,zt:128,opacity:0.4,color:"#AF96C8",kt:[1,0.5],lt:[0,0.866]},{form:h.Ww,position:1,size:33,zt:128,opacity:0.8,color:"#C89696",kt:[0.8,0.8,0.6,0],lt:[0,0.2,0.4,1]}];return a});
define("bs",["require","cZ"],function(a){function b(a,b,j){g.style.fontFamily=d.gq(b.fontFamily);g.style.fontSize=b.fontSize;g.style.fontWeight=b.fontWeight;g.style.fontStyle=b.fontStyle;g.innerHTML=a;document.body.appendChild(g);var h=new c(Math.ceil(g.clientWidth),Math.ceil(g.clientHeight));document.body.removeChild(g);j&&(j.font=b.fontSize+" "+d.gq(b.fontFamily),a=j.measureText(a).width,h.height*=a/h.width,h.width=a);return h}function c(a,b){this.width=a;this.height=b}var d=a("cZ"),g=document.createElement("div");
g.style.display="inline-block";g.style.margin=0;g.style.padding=0;g.style.whiteSpace="nowrap";b.PV=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.Bqa=c;return b});
define("ir",["require","bs","cZ"],function(a){function b(a,b){this.Ea=a;this.w1=5;this.ic=b.map(function(b){return new c(a,b)});this.Ku=this.Lu=this.Im=this.Jm=0;this.pR();this.u=document.createElement("canvas");this.u.width=this.Jm;this.u.height=this.Im;this.Ha=this.u.getContext("2d");this.Y=p;this.Pc=this.p1=-1}function c(a,b){this.nt=a;this.item=b;this.label=b.get("label");this.fontFamily=this.nt.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.nt.get("backgroundColor",
"#000000");this.m7=this.nt.get("rollOverBackgroundColor",this.backgroundColor);this.coa=this.nt.get("selectedBackgroundColor",this.m7);this.s5=this.nt.get("fontColor","#000000");this.n7=this.nt.get("rollOverFontColor",b.s5);this.doa=this.nt.get("selectedFontColor",b.n7);this.X7=this.W7=this.Y7=this.Z7=this.height=this.width=this.left=this.top=0;this.status=y;this.XS=p}var d=a("bs"),g=a("cZ");c.prototype.Npa=function(){var a=new d.PV;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;a=d(this.label,
a);this.Z7=a.width;this.Y7=a.height};c.prototype.ipa=function(a){this.status!=a&&(this.status=a,this.XS=p)};c.prototype.rla=function(a){if(this.XS){this.XS=y;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.s5;break;case "over":b=this.m7;c=this.n7;break;case "selected":b=this.coa,c=this.doa}a.clearRect(this.left,this.top,this.width,this.height);a.fillStyle=b;a.fillRect(this.left,this.top,this.width,this.height);a.fillStyle=c;a.font=this.fontSize+" '"+this.fontFamily+"'";a.font=
this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+g.gq(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.W7),Math.round(this.X7));return p}return y};b.prototype.Ic=O("Jm");b.prototype.ud=O("Im");b.prototype.pR=function(){var a=0,b=0;this.ic.forEach(function(c){c.Npa();a=Math.max(c.Z7,a);b=Math.max(c.Y7,b)});this.Lu=a+2*this.w1;this.Ku=b+2*this.w1;var c=0,d=0,g=0;this.ic.forEach(function(a){20<=g&&(g=0,d+=this.Lu,c=0);a.left=d;a.top=c;a.W7=d+0.5*this.Lu;
a.X7=c+0.5*this.Ku;a.width=this.Lu;a.height=this.Ku;g+=1;c+=this.Ku}.bind(this));this.Jm=Math.ceil(this.ic.length/20)*this.Lu;this.Im=Math.min(20,this.ic.length)*this.Ku};b.prototype.update=function(){for(var a=y,b=0;b<this.ic.length;b++)this.ic[b].ipa(this.p1==b?"over":this.Pc==b?"selected":"normal"),a=this.ic[b].rla(this.Ha)||a;return a};b.prototype.E5=function(a,b){var c=-1;0<=a&&a<this.Jm&&0<=b&&b<this.Im&&(c=20*Math.floor(a/this.Lu)+Math.floor(b/this.Ku),c>=this.ic.length&&(c=-1));return c};
b.prototype.bU=N("p1");b.prototype.fU=N("Pc");b.prototype.clear=function(){this.ic=this.u=this.Ha=this.Ea=q};return b});
define("dN","require,hj,ji,gc,ir,dk,iX,bk".split(","),function(a){function b(a,b){var c=(b-a)*0.98;Math.abs(c)<1.0E-5&&(c=0);return b-c}var c=a("hj"),d=a("ji"),g=a("gc"),f=a("ir"),k=a("dk"),j=a("iX"),h=a("bk"),a=c.extend(g,function(a){g.call(this);this.Ea=a;this.u=q;this.Hn=this.ci=this.EP=this.xn=n;this.IX=20;this.xd=q;this.Db=this.Ea.get("opacity",0.5);this.uz=this.Ea.get("rollOverOpacity",this.Db);this.Cea=1;this.Eea=0.66;this.set("tag","MenuButton");this.set("visible",y);this.set("over",y);this.set("centerDistance",
n)});a.prototype.J=function(a){this.Bf(a);this.EA(a);this.JA(a);this.Rs(a);g.prototype.J.call(this,a)};a.prototype.Bf=function(){if(this.get("visible")){if(!this.u){this.get("textureSource")||this.set("textureSource",new k);this.u=new f(this.Ea,[this.Ea]);this.get("textureSource").Dg(this.u.u);this.set("contentWidth",this.u.Ic());this.set("contentHeight",this.u.ud());this.set("hfov",2*Math.atan2(this.u.Ic()*0.5,300)*e);this.set("distance",this.Ea.get("distance"))}if(this.u.update()){this.get("textureSource").update();
this.Nb()}this.F("over")&&this.u.bU(this.get("over")?0:-1)}};a.prototype.EA=function(a){if(this.F("visible"))this.xd=new j("linear",[new h("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,n)],300);if(this.xd)this.xd.he()?this.xd=q:this.xd.cb(a.Qd)};a.prototype.JA=function(a){if(this.get("visible")||this.xd){this.ci=a.ta;this.Hn=Math.min(90,Math.max(-90,this.IX+this.IX-a.pitch));if(this.F("visible")&&this.get("visible")){this.set("yaw",a.ta);this.set("pitch",a.pitch)}else{for(;this.ci+
180<this.xn;)this.xn=this.xn-360;for(;this.ci-180>this.xn;)this.xn=this.xn+360;var c=(this.ci-this.xn)/a.Qd,e=(this.Hn-this.EP)/a.Qd,d=Math.atan2(e,c),e=Math.sqrt(e*e+c*c),e=Math.min(e,10*m),c=Math.cos(d)*e,d=Math.sin(d)*e;this.set("yaw",b(this.get("yaw"),this.ci+c));this.set("pitch",b(this.get("pitch"),this.Hn+d))}this.xn=this.ci;this.EP=this.Hn;d=this.get("yaw")-a.ta;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(d*d+a*a))}};a.prototype.Rs=function(){if(!this.get("visible")&&!this.xd)this.set("alpha",
0);else if(this.F("over","centerDistance")||this.xd){var a=this.get("over")?this.uz:this.Db,b=this.Eea,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Cea-b);a=a+(1-c)*(this.uz-a)}if(this.xd){a=a*this.xd.kb("displayCoef");b=b*this.xd.kb("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.uj=function(a){if(a.Gd==d.uh){var b=y;this.get("visible")&&!a.hh()&&(b=this.Yj(a.Bn).length>0);if(b){a.Zs(this.Ea);a.$s(this.Ea);a.ji(this.get("distance"))}if(this.get("over")!=
b){this.get("over")&&this.Ea.trigger(d.hc);this.set("over",b);this.get("over")&&this.Ea.trigger(d.Kc)}}else if(a.Gd==d.Bi&&this.get("visible")&&!a.hh()&&this.Yj(a.Bn).length>0){a.uq(this.Ea);this.Ea.trigger(d.V);this.trigger(d.V)}};var m=Math.PI/180,e=180/Math.PI;return a});
define("gf","require,hj,ji,gc,ir,dk,iX,bk".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("gc"),g=a("ir"),f=a("dk"),k=a("iX"),j=a("bk"),a=b.extend(d,function(a,b){d.call(this);this.Ea=a;this.Vy=b;this.u=q;this.EP=this.xn=n;this.xd=q;this.Db=this.Ea.get("opacity",0.5);this.uz=this.Ea.get("rollOverOpacity",this.Db);this.set("textureSource",new f);this.u=new g(this.Ea,b);this.set("tag","MenuPanel");this.get("textureSource").Dg(this.u.u);this.set("contentWidth",this.u.Ic());this.set("contentHeight",
this.u.ud());this.set("hfov",2*Math.atan2(this.u.Ic()*0.5,300)*h);this.set("distance",this.Ea.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.zY=y});a.prototype.ac=function(){d.prototype.ac.call(this)};a.prototype.dc=function(){d.prototype.dc.call(this)};a.prototype.J=function(a){this.Bf(a);this.EA(a);this.JA(a);d.prototype.J.call(this,a)};a.prototype.Bf=function(){this.F("selectedIndex")&&this.u.bU(this.get("selectedIndex"));this.F("overIndex")&&this.u.bU(this.get("overIndex"));
if(this.u.update()){this.get("textureSource").update();this.Nb()}};a.prototype.EA=function(a){if(!this.xd&&!this.zY)this.xd=new k("linear",[new j("alpha",0,1,n),new j("scale",0,1,n),new j("yaw",a.ta,this.get("yaw"),n),new j("pitch",a.pitch,this.get("pitch"),n)],300);if(this.xd)if(this.xd.he()){this.zY=p;this.xd=q}else this.xd.cb(a.Qd)};a.prototype.JA=function(){if(this.xd){var a=this.get("overIndex")<0?this.Db:this.uz;this.set("alpha",a*this.xd.kb("alpha"));this.set("scale",this.xd.kb("scale"));this.set("yaw",
this.xd.kb("yaw"));this.set("pitch",this.xd.kb("pitch"))}else if(this.F("overIndex")){a=this.get("overIndex")<0?this.Db:this.uz;this.set("alpha",a)}};a.prototype.uj=function(a){if(a.Gd==c.uh){var b=-1;if(!a.hh()){var d=this.Yj(a.Bn).filter(function(a){return a.source==this.u.u}.bind(this));d.length>0&&(b=this.u.E5(d[0].x,d[0].y))}if(b>=0){a.Zs(this.Vy[b]);a.$s(this.Vy[b]);a.ji(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.Kc):this.trigger(c.hc));if(this.get("overIndex")!=
b){this.get("overIndex")>=0&&this.Vy[this.get("overIndex")].trigger(c.hc);this.set("overIndex",b);this.get("overIndex")>=0&&this.Vy[this.get("overIndex")].trigger(c.Kc)}}else if(a.Gd==c.Bi&&!a.hh()){d=this.Yj(a.Bn).filter(function(a){return a.source==this.u.u}.bind(this));if(d.length>0){b=this.u.E5(d[0].x,d[0].y);if(b>=0){d=this.Vy[b];this.set("selectedIndex",b);a.uq(d);a.ji(this.get("distance"));d.trigger(c.V);this.trigger(c.V,{item:d})}}}};var h=180/Math.PI;return a});
define("dL",["require","hj","ji","fN","gf"],function(a){var b=a("hj"),c=a("ji"),d=a("fN"),g=a("gf"),a=b.extend(d,function(a){d.call(this);this.Ea=a;this.yp=[];this.Yu=q;this.set("tag","MenuPanels");this.set("visible",y)});a.prototype.J=function(a){this.F("visible")&&this.get("visible")&&(this.set("yaw",a.ta),this.set("pitch",a.pitch),this.UW(this.Ea));d.prototype.J.call(this,a)};a.prototype.UW=function(a){var a=new g(this.Ea,a.get("children",[])),b=this.get("yaw");this.Pa().forEach(function(a){b+=
a.get("hfov")+k});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.U9(a);this.appendChild(a)};a.prototype.n2=function(a){this.Pa().slice(a).forEach(function(a){this.Qga(a);a.remove()}.bind(this));this.yp=this.yp.filter(function(a){return 0<=this.Pa().indexOf(a)}.bind(this))};a.prototype.U9=function(a){a.bind(c.Kc,this.B1,this,p);a.bind(c.hc,this.A1,this,p);a.bind(c.V,this.z1,this,p)};a.prototype.Qga=function(a){a.unbind(c.Kc,this.B1,this,p);a.unbind(c.hc,this.A1,this,p);a.unbind(c.V,this.z1,this,
p)};a.prototype.B1=function(a){0>this.yp.indexOf(a.source)&&(this.yp.push(a.source),1==this.yp.length&&this.UX())};a.prototype.A1=function(a){a=this.yp.indexOf(a.source);0<=a&&(this.yp.splice(a,1),0==this.yp.length&&this.Tha())};a.prototype.z1=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.n2(this.Pa().indexOf(b)+1),this.UW(a)):this.ZX()};a.prototype.ZX=function(){this.set("visible",y);this.n2(0);this.UX();this.trigger(c.Hq)};a.prototype.UX=function(){this.Yu&&(clearTimeout(this.Yu),
this.Yu=q)};a.prototype.Tha=function(){this.Yu||(this.Yu=setTimeout(function(){this.Yu=q;this.ZX()}.bind(this),f))};var f=3E3,k=1;return a});
define("dS","require,hj,ji,fN,dN,dL".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("fN"),g=a("dN");MenuPanels=a("dL");a=b.extend(d,function(a){d.call(this);this.n=a;this.Mh.push(this.n);this.set("tag","Menu");this.set("visible",y);this.Qb=new g(this.n);this.Qb.bind(c.V,this.H$,this,y);this.He=new MenuPanels(this.n);this.He.bind(c.Hq,this.Yfa,this,y);this.sj([this.Qb,this.He])});a.prototype.ac=function(){d.prototype.ac.call(this);this.trigger(c.Ub);this.trigger(c.P)};a.prototype.J=function(a){this.set("visible",
a.Kb);if(this.F("visible")){this.Qb.set("visible",this.get("visible"));this.He.set("visible",y)}d.prototype.J.call(this,a)};a.prototype.H$=function(){this.Qb.set("visible",y);this.He.set("visible",p)};a.prototype.Yfa=function(){this.Qb.set("visible",this.get("visible"))};return a});
define("K","require,hj,gO,ji,hk,fN,gC,iu,ga".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("hk"),f=a("fN"),k=a("gC"),j=a("iu"),h=a("ga"),m=0,a=b.extend(f,function(a){f.call(this);this.n=a;this.Mh.push(this.n);this.lF=this.lF.bind(this);this.Ge=this.Ge.bind(this);this.kF=this.kF.bind(this);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",y);this.set("blendingActive",p);this.set("currentTime",0);this.set("adjacentPanoramas",
[]);this.set("preloadEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("id","panorama_"+m++);this.set("ready",y);this.UF=[];this.Zi=this.pc=this.Id=q;this.sj([this.Ye=new e,this.pk=new l])});a.prototype.ac=function(){this.Id=(new k(d.P)).wi(this.hk.bind(this));this.pc=(new k(d.gc)).Lk(this.ks.bind(this));this.Zi=(new k(d.Ub)).wi(this.cfa.bind(this));f.prototype.ac.call(this);c.Oe(this.n,["currentTime"],this.lF,p);c.Oe(this.n,["frames","overlays","vrMenu","adjacentPanoramas"],this.Ge,p);
c.Oe(this.n,["adjacentPanoramas"],this.kF,p)};a.prototype.dc=function(){this.Id.dispose();this.pc.dispose();this.Zi.dispose();f.prototype.dc.call(this);c.nf(this.n,["currentTime"],this.lF);c.nf(this.n,["frames","overlays","vrMenu","flipImageHorizontally"],this.Ge);c.nf(this.n,["adjacentPanoramas"],this.kF);this.NQ()};a.prototype.Ge=function(){var a=this.tb.Wn(this.n.get("frames"));a.forEach(function(a){a.set("panoramaId",this.get("id"));a.set("flipHorizontally",this.n.get("flipImageHorizontally"))}.bind(this));
var b=this.tb.Wn(this.n.get("overlays"));this.n.get("vrMenu")&&b.push(this.tb.Wn(this.n.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.Id.jd(a.concat(b));this.pc.jd(a.concat(b));this.Zi.jd(a);this.Ye.sj(a);this.pk.sj(b);this.set("panoramaPixelsPerDegree",j.K5(this.n));this.p4()};a.prototype.lF=function(){this.set("currentTime",this.n.get("currentTime",0))};a.prototype.kF=function(){this.set("adjacentPanoramas",this.n.get("adjacentPanoramas",[]))};a.prototype.hk=
function(){this.Gk();this.trigger(d.P)};a.prototype.cfa=function(){this.Gk();this.set("ready",p);this.trigger(d.Ub)};a.prototype.ks=function(){this.Gk()};a.prototype.Gk=function(){var a=0;this.pc.Rn(function(b){var c=0,e;this.Id.qi(b)?c=100:(e=this.pc.qi(b))&&(c=e.oh);a=a+c}.bind(this));this.trigger(new g(d.gc,a/this.pc.Dc.length))};a.prototype.J=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",this.tb.ya.get("backgroundPreloadEnabled")!==y);this.set("preloadEnabled",
a.OB);this.F("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?this.Eia():this.NQ());this.F("index")&&this.p4();f.prototype.J.call(this,a)};a.prototype.bT=function(){return j.bT(this.n,this.get("preloadEnabled"))};a.prototype.Eia=function(){this.NQ();this.UF=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,j.ow(a,this.get("preloadEnabled"))]}.bind(this));this.UF.forEach(function(a){h.Y4(a[0],
a[1]);h.hI(a[0],1)})};a.prototype.NQ=function(){this.UF.forEach(function(a){h.hI(a[0],-1);h.Rna(a[0],a[1])});this.UF=[]};a.prototype.p4=function(){var a=this.get("index");this.Ye.Pa().forEach(function(b,c,e){b.set("panoramaIndex",a);b.set("frameIndex",c);b.set("frameCount",e.length)})};var e=b.extend(f,function(){f.call(this);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",y);this.set("currentTime",0);this.set("tag","Group")});e.prototype.J=function(a){this.Pa().forEach(function(a,
b,c){a.set("frontFrame",c[c.length-1])});f.prototype.J.call(this,a)};var l=b.extend(f,function(){f.call(this);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",y);this.set("currentTime",0);this.set("tag","Group")});return a});
define("bl",["require","hj","dx","cQ"],function(a){var b=a("hj"),c=a("dx"),d=a("cQ"),g=0,a=b.extend(c,function(){c.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+g++)});a.prototype.J=function(a){c.prototype.J.call(this,a);this.GA()};a.prototype.CR=function(){if(this.F("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
g=this.get("frameCount"),m=a.children.length;a.children.forEach(function(a,f){d.iU(a,b+(f+c/g)/m)}.bind(this))}}};a.prototype.GA=function(){if(this.F("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){d.setAttribute(a,d.Dt,this.get("panoramaId"));d.setAttribute(a,d.LI,b);d.setAttribute(a,d.Et,this.get("id"))}.bind(this))}};return a});
define("iO","require,hj,gO,ji,fc,fN,bl,gC,iu,dY,gH,hk".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("fc"),f=a("fN"),k=a("bl"),j=a("gC"),h=a("iu"),m=a("dY"),e=a("gH"),l=a("hk"),a=b.extend(k,function(a){k.call(this);this.set("tag","ImagePanoramaFrame");this.N1=p;this.n=a;this.Mh.push(this.n);this.ug=this.ae=this.Zi=q;this.lO=[];this.Ge=this.Ge.bind(this);this.al(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.sj([this.pk=new r])});a.prototype.ac=function(){this.Zi=
new j(d.P);this.ae=new j(d.P);this.ug=new j(d.gc);k.prototype.ac.call(this);c.Oe(this.n,["overlays"],this.Ge,p)};a.prototype.dc=function(){this.Zi.dispose();this.ae.dispose();this.ug.dispose();c.nf(this.n,["overlays"],this.Ge);k.prototype.dc.call(this)};a.prototype.Ge=function(){this.pk.sj(this.tb.Wn(this.n.get("overlays")));this.i4()};a.prototype.i4=function(){this.ae.jd([].concat(this.lO,this.pk.Pa()));this.ug.jd([].concat(this.lO,this.pk.Pa()))};a.prototype.dl=function(){var a=[],b=[],c=[];h.KS(this.n,
this.N1).forEach(function(d,f){var j=m.gla(this.n,d);if(h.ana(d)){if(f==0){a=a.concat(j);b=b.concat(j)}e.xq(j,f==0?e.pm:e.JC);e.wq(j,f==0?e.Xk:e.IJ)}else{f==0&&(a=a.concat(j));b=b.concat(j);e.xq(j,e.pm);e.wq(j,e.Xk)}e.bC(j,f==0?g.DV:g.Yk);e.wI(j,f);c=c.concat(j)}.bind(this));this.Zi.jd(a);this.lO=b;this.i4();this.ae.wi(this.hk.bind(this));this.Zi.wi(this.Bfa.bind(this));this.ug.Lk(this.ks.bind(this));this.trigger(new l(d.gc,0));return c};a.prototype.Bfa=function(){this.trigger(d.Ub)};a.prototype.hk=
function(){this.trigger(d.P)};a.prototype.J=function(a){this.N1=a.OB;this.aka();k.prototype.J.call(this,a)};a.prototype.aka=function(){var a=this.get("frontFrame");if(this.F("frontFrame")||a&&a.F("alpha"))this.pk.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.ks=function(){var a=0;this.ug.Rn(function(b){var c=0,e;this.ae.qi(b)?c=100:(e=this.ug.qi(b))&&(c=e.oh);a=a+c}.bind(this));this.trigger(new l(d.gc,a/this.ug.Dc.length))};var r=b.extend(f,function(){f.call(this);this.al(["loadingActive",
"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",y);this.set("tag","Group")});return a});define("dF",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this)});b.ye="cueChange";a.A("VideoCue",b).B("Object").K({startTime:"number",endTime:"number"}).qc([d.zj,d.ua]);return b});define("j",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
define("ho",["require"],function(){function a(a,d,g){this.Eb=a;this.M3=d;this.Zd=g||b}var b=function(){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d");b.fillStyle="#000000";b.fillRect(0,0,a.width,a.height);return a}();a.prototype.isEmpty=function(){return this.Zd==b};a.prototype.isEqual=function(a){return this.Eb==a.Eb&&this.M3==a.M3&&this.Zd==a.Zd};return a});
define("M","require,hj,bL,dX,ew,cY,j,ho,dQ".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("dX"),g=a("ew"),f=a("cY"),k=a("j"),j=a("ho"),h=a("dQ"),m=b.extend(d,function(a,b,c){d.call(this);this.va=a;this.Eb=b;this.F3=c;this.k=g.L;this.Hg=this.Hb=0;this.fd=y;this.jj=1;this.u=this.Na=q;this.vx=[]});m.prototype.Sd=function(a){if(this.k!=a&&!(a==g.Jc&&this.k!=g.T)){this.k=a;if(this.k==g.T)h.BT(this);else{h.NB(this);this.k==g.L&&this.jia()}this.zja()}};m.prototype.ni=O("k");m.prototype.Un=O("Hb");m.prototype.Jw=
function(a){this.Hg=a;if(this.Na){this.Na.CB()&&this.IY();this.Na.play(this.va,this.Eb,this.F3,this.Hg)}};m.prototype.nj=O("Hg");m.prototype.ui=function(a){this.jj=a;this.Na&&this.Na.ui(a)};m.prototype.ag=function(a){this.fd=a;this.Na&&this.Na.ag(a)};m.prototype.aw=function(a,b,c){this.Na&&this.Na.CB()?this.Na.aw(a,b,c):this.u?a.drawImage(this.u,0,0,b,c):a.fillRect(0,0,b,c)};m.prototype.MH=function(){return this.Na&&this.Na.CB()?new j(this.Eb,this.Na.nj(),this.Na.t):this.u?new j(this.Eb,this.Hg,this.u):
new j(this.Eb,this.Hg,q)};m.prototype.tS=function(a){this.Na=a;setTimeout(function(){this.Na&&this.Na.bind(f.Gf,this.ez,this,p)}.bind(this),0);this.Na.bind(f.of,this.gd,this,p);this.Na.bind(f.nm,this.nn,this,p);this.Na.bind(f.ye,this.Ti,this,p);this.Na.ag(this.fd);this.Na.ui(this.jj);this.Na.play(this.va,this.Eb,this.F3,this.Hg)};m.prototype.fT=function(){this.Na.CB()&&this.IY();this.Hg=this.Na.nj();this.Na.unbind(f.Gf,this.ez,this,p);this.Na.unbind(f.of,this.gd,this,p);this.Na.unbind(f.nm,this.nn,
this,p);this.Na.unbind(f.ye,this.Ti,this,p);this.Na=q};m.prototype.clear=function(){this.raa()};m.prototype.IY=function(){if(!this.u)this.u=document.createElement("canvas");this.u.width=this.Na.Ic();this.u.height=this.Na.ud();this.Na.aw(this.u.getContext("2d"),this.u.width,this.u.height)};m.prototype.raa=function(){if(this.u){this.u.width=0;this.u.height=0;this.u=q}};m.prototype.nn=function(){this.Hb=this.Na.Un();this.mja()};m.prototype.gd=function(){this.Hb!=this.Na.Un()&&this.nn();this.Hg=this.Na.nj();
this.f4()};m.prototype.Ti=function(){this.vx=this.Na.$b.map(function(a){for(var b=q,c=0;c<this.vx.length&&!b;c++)this.vx[c].cue==a&&(b=this.vx[c]);b||(b=new k(a));return b}.bind(this));this.trigger(new c(m.ye))};m.prototype.ez=function(){this.Sd(g.L);this.nja()};m.prototype.jia=function(){this.Hg=0;this.f4()};m.prototype.f4=function(){this.trigger(new c(m.of))};m.prototype.mja=function(){this.trigger(new c(m.nm))};m.prototype.nja=function(){this.trigger(new c(m.Gf))};m.prototype.zja=function(){this.trigger(new c(m.ld))};
m.of="time update";m.nm="duration update";m.ld="state change";m.Gf="end";m.ye="cue change";return m});
define("hP","require,cK,ji,bL,ew,dF,M".split(","),function(a){function b(a,b){this.hd=a;this.M=b;this.Qf=y;this.sf=[];this.Dh=this.ju=n;this.$b=[];this.YK();this.HL();this.kA();this.ff()}function c(a,b,c){this.time=a;this.cue=b;this.action=c}var d=a("cK"),g=a("ji"),f=a("bL"),k=a("ew"),j=a("dF"),h=a("M");b.prototype.clear=function(){this.Mx();this.sf=[];this.dR();this.M=this.hd=q};b.prototype.YK=function(){this.M.bind(h.of,this.gd,this,p);this.M.bind(h.ld,this.ff,this,p);this.M.bind(h.Gf,this.mk,this,
p)};b.prototype.dR=function(){this.M.unbind(h.of,this.gd,this,p);this.M.unbind(h.ld,this.ff,this,p);this.M.unbind(h.Gf,this.mk,this,p)};b.prototype.ff=function(){var a=this.M.ni()!=k.L;if(this.Qf!=a)(this.Qf=a)?this.kA():this.Mx()};b.prototype.mk=function(){this.Pv()};b.prototype.gd=function(){this.Pv()};b.prototype.kA=function(){this.Dh=this.ju=0};b.prototype.Pv=function(){if(this.M&&this.Qf){var a=this.$b.slice(),b=this.M.nj(),c=b-this.ju;if(c<0){this.$b=[];this.Dh=0}c=c>=0&&c<2;this.ju=b;var h;
for(h=this.Dh;h<this.sf.length;h++)if(this.sf[h].time>b)break;for(;this.Dh<h;this.Dh++){b=this.sf[this.Dh];if(b.action=="start"){this.$b=d(this.$b).union([b.cue]);c&&b.cue.trigger(new f(g.zj))}else{this.$b=d(this.$b).difference([b.cue]);c&&b.cue.trigger(new f(g.ua))}}(a.length!=this.$b.length||d(a).intersection(this.$b).length!=this.$b.length)&&this.zA()}};b.prototype.Mx=function(){if(this.$b.length>0){this.$b=[];this.zA()}};b.prototype.zA=function(){this.hd.trigger(new f(j.ye,{activeCues:this.$b.slice()}))};
b.prototype.HL=function(){this.sf=[];var a=this.hd.get("cues",[]);d(a).each(function(a){this.sf.push(new c(a.get("startTime",0),a,"start"));this.sf.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.sf.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("hx",["require","ji","ew","bL","M"],function(a){function b(a,b,c){this.ya=a;this.hd=b;this.M=c;this.M.Jw(this.Hg=this.hd.get("currentTime",0));this.M.ag(this.fd=this.ya.get("mute",y));this.M.Sd(this.k=this.hd.get("state",d.L));this.Hb=this.M.Un();this.V9();this.b$();this.ym()}var c=a("ji"),d=a("ew"),g=a("bL"),f=a("M");b.prototype.clear=function(){this.Rga();this.Wga();this.Cn();this.M.Sd(d.L);this.hd.set("state",d.L);this.hd.set("currentTime",0);this.hd.set("duration",n)};b.prototype.k1=function(){var a=
this.hd.get("state",d.L);this.k!=a&&this.M.Sd(this.k=a)};b.prototype.j1=function(){var a=this.hd.get("currentTime",0);this.Hg!=a&&this.M.Jw(this.Hg=a)};b.prototype.U0=function(){var a=this.ya.get("mute",0);this.fd!=a&&this.M.ag(this.fd=a)};b.prototype.g1=function(){this.hd.set("currentTime",this.Hg=this.M.nj())};b.prototype.e1=function(){this.hd.set("duration",this.Hb=this.M.Un())};b.prototype.f1=function(){this.hd.set("state",this.k=this.M.ni())};b.prototype.h1=function(){this.hd.get("loop")&&(this.M.Jw(this.Hg=
0),this.M.Sd(this.k=d.T));this.hd.trigger(new g(c.ua))};b.prototype.V9=function(){this.ya.bind(c.ha("mute"),this.U0,this,p)};b.prototype.Rga=function(){this.ya.unbind(c.ha("mute"),this.U0,this,p)};b.prototype.b$=function(){this.hd.bind(c.ha("state"),this.k1,this,p);this.hd.bind(c.ha("currentTime"),this.j1,this,p)};b.prototype.Wga=function(){this.hd.unbind(c.ha("state"),this.k1,this,p);this.hd.unbind(c.ha("currentTime"),this.j1,this,p)};b.prototype.ym=function(){this.M.bind(f.of,this.g1,this,p);this.M.bind(f.nm,
this.e1,this,p);this.M.bind(f.ld,this.f1,this,p);this.M.bind(f.Gf,this.h1,this,p)};b.prototype.Cn=function(){this.M.unbind(f.of,this.g1,this,p);this.M.unbind(f.nm,this.e1,this,p);this.M.unbind(f.ld,this.f1,this,p);this.M.unbind(f.Gf,this.h1,this,p)};return b});
define("i",["require","M"],function(a){function b(a,b){this.hd=a;this.M=b;this.zK=[];this.YK();this.Ti()}var c=a("M");b.prototype.clear=function(){this.qaa();this.dR();this.M=this.hd=q};b.prototype.YK=function(){this.M.bind(c.ye,this.Ti,this,p)};b.prototype.dR=function(){this.M.unbind(c.ye,this.Ti,this,p)};b.prototype.Ti=function(){this.hd.set("activeSubtitles",this.zK=this.M.vx)};b.prototype.qaa=function(){this.hd.get("activeSubtitles")==this.zK&&this.hd.set("activeSubtitles",this.zK=[])};return b});
define("cM",["require","M"],function(a){function b(){}var c=a("M");b.create=function(a,b,f){return new c(a,b,f)};return b});
define("cB","require,hj,ji,fc,ew,bl,gC,iu,dY,hP,hx,cQ,gH,i,cM,M,hk".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("fc"),g=a("ew"),f=a("bl"),k=a("gC"),j=a("iu"),h=a("dY"),m=a("hP"),e=a("hx"),l=a("cQ"),r=a("gH"),o=a("i"),s=a("cM"),t=a("M"),u=a("hk"),a=b.extend(f,function(a){f.call(this);this.n=a;this.Mh.push(this.n);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",n);this.set("atStart",n);this.hn=j.PS(this.n);this.ug=
this.ae=this.Cf=this.M=this.Fp=this.Qv=q});a.prototype.ac=function(){this.ae=(new k(c.P)).wi(this.hk.bind(this));this.ug=(new k(c.gc)).Lk(this.ks.bind(this));this.M=s.create(this.tb.ya,this.hn.get("url"),this.n.get("sphere").get("subtitlesURL"));this.Rj=new m(this.n.mw(),this.M);this.$a=new e(this.tb.ya,this.n.mw(),this.M);this.oA=new o(this.n.mw(),this.M);this.ym();f.prototype.ac.call(this)};a.prototype.dc=function(){this.ae.dispose();this.ug.dispose();this.Cn();this.Rj.clear();this.Rj=q;this.$a.clear();
this.$a=q;this.oA.clear();this.oA=q;this.M.clear();this.Cf=this.M=q;f.prototype.dc.call(this)};a.prototype.dl=function(){var a=[];a.push(this.Qv=h.kla(this.n,this.hn));this.vka=r.At(l.kq(this.Qv)[0]);r.xq(this.Qv,r.pm);r.wq(this.Qv,r.Xk);if(this.hn.get("posterURL")){a.push(this.Fp=h.lla(this.n,this.hn));r.xq(this.Fp,r.pm);r.wq(this.Fp,r.Xk);r.bC(this.Fp,d.DV)}this.ae.jd(a);this.ug.jd(a);this.trigger(new u(c.gc,0));return a};a.prototype.J=function(a){var b=this.M.MH();this.set("frameEmpty",b.isEmpty());
this.set("atStart",!(this.get("currentTime")>1));f.prototype.J.call(this,a);if(!this.Cf||!this.Cf.isEqual(b)){this.Cf=b;this.vka.Dg(this.Cf.Zd);this.Nb()}else this.M.ni()==g.T&&this.Nb()};a.prototype.Mn=function(){if(this.F("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.Fp&&this.get("frameEmpty")&&this.get("atStart")){l.cd(this.Fp,this.get("composedAlpha"));l.cd(this.Qv,0)}else{this.Fp&&l.cd(this.Fp,0);l.cd(this.Qv,this.get("composedAlpha"))}};a.prototype.hk=function(){this.trigger(c.Ub);
this.trigger(c.P)};a.prototype.ks=function(a,b){var e=0;b.Rn(function(a){(a=b.qi(a))&&(e=e+a.oh)});this.trigger(new u(c.gc,e/b.Dc.length))};a.prototype.ff=function(){this.Nb()};a.prototype.gd=function(){this.Nb()};a.prototype.ym=function(){this.M.bind(t.of,this.gd,this,p);this.M.bind(t.ld,this.ff,this,p)};a.prototype.Cn=function(){this.M.unbind(t.of,this.gd,this,p);this.M.unbind(t.ld,this.ff,this,p)};return a});
define("jf","require,hj,ji,gc,dk,gC,hk".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("gc"),g=a("dk");EventAggregator=a("gC");ProgressEvent=a("hk");a=b.extend(d,function(){d.call(this);this.set("tag","CustomPlane");this.set("source",q);this.set("sourceUpdated",y);this.pc=this.ae=q});a.prototype.ac=function(){this.ae=(new EventAggregator(c.P)).wi(this.hk.bind(this));this.pc=(new EventAggregator(c.P)).Lk(this.Vi.bind(this));d.prototype.ac.call(this)};a.prototype.dc=function(){this.ae.dispose();
this.pc.dispose();d.prototype.dc.call(this)};a.prototype.J=function(a){if(this.F("source","sourceUpdated")){var b=this.get("textureSource");b||this.set("textureSource",b=new g);this.F("source")&&b.Dg(this.get("source"));this.F("sourceUpdated")&&(b.update(),this.set("sourceUpdated",y))}d.prototype.J.call(this,a);if(this.F("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.ae.jd(a);this.pc.jd(a)}}};a.prototype.hk=function(){this.trigger(c.Ub);this.trigger(c.P)};a.prototype.Vi=
function(a,b){var d=0;b.Rn(function(a){(a=b.qi(a))&&(d=d+a.oh)});this.trigger(new ProgressEvent(c.gc,d/b.Dc.length))};return a});
define("cp","require,hj,ji,gc,id,gC,hk".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("gc"),g=a("id"),f=a("gC"),k=a("hk"),a=b.extend(d,function(){d.call(this);this.set("tag","ImagePlane");this.set("url",q);this.pc=this.Id=q});a.prototype.ac=function(){this.Id=(new f(c.P)).wi(this.hk.bind(this));this.pc=(new f(c.gc)).Lk(this.Vi.bind(this));d.prototype.ac.call(this)};a.prototype.dc=function(){this.Id.dispose();this.pc.dispose();d.prototype.dc.call(this)};a.prototype.J=function(a){if(this.F("url")){var b=
this.get("url");this.set("textureSource",b?new g(b):q)}d.prototype.J.call(this,a);if(this.F("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Id.jd(a);this.pc.jd(a)}}};a.prototype.hk=function(){this.trigger(c.Ub);this.trigger(c.P)};a.prototype.Vi=function(a,b){var d=0;b.Rn(function(a){(a=b.qi(a))&&(d=d+a.oh)});this.trigger(new k(c.gc,d/b.Dc.length))};return a});
define("bj","require,hj,gO,ji,ew,fN,cj,jf,cp,hx,iE,gC,iu,cV,hH,F,hk,iX,bk,cM,M".split(","),function(a){function b(a,b){for(var c=a-b;c>180;)c=c-360;for(;c<-180;)c=c+360;return c+b}var c=a("hj"),d=a("gO"),g=a("ji"),f=a("ew"),k=a("fN"),j=a("cj"),h=a("jf"),m=a("cp"),e=a("hx"),l=a("iE"),r=a("gC"),o=a("iu"),s=a("cV");a("hH");var t=a("F"),u=a("hk"),v=a("iX"),x=a("bk"),w=a("cM"),z=a("M"),C=Math.PI/180,a=c.extend(k,function(a){k.call(this);this.n=a;this.Mh.push(this.n);this.Ge=this.Ge.bind(this);this.al(["loadingActive",
"currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",y);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("loadingActive",y);this.set("frameEmpty",p);this.set("state",f.L);this.set("itemVisible","none");this.set("visible",y);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",y);this.set("gazeOver",y);this.set("video",q);this.set("image",q);this.Ac=this.t=this.Za=this.pc=this.Id=q;this.zb=new l;this.Bm=this.ep=this.fh=this.Cf=this.M=
q});a.prototype.ac=function(){this.Id=(new r(g.P)).wi(this.cz.bind(this));this.pc=(new r(g.gc)).Lk(this.dz.bind(this));k.prototype.ac.call(this);this.Naa();this.appendChild(this.Ac);d.Oe(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Ge,p)};a.prototype.dc=function(){this.Id.dispose();this.pc.dispose();d.nf(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Ge);this.Zx();
this.$x();this.BY();k.prototype.dc.call(this)};a.prototype.Ge=function(){this.set("image",this.n.get("image"));this.set("video",this.n.get("video"));this.set("state",this.n.get("state"));this.set("visible",this.n.get("visible"));this.set("popupDistance",this.n.get("popupDistance"));this.set("popupMaxWidth",this.n.get("popupMaxWidth"));this.set("popupMaxHeight",this.n.get("popupMaxHeight"));this.set("playbackPositions",this.n.get("playbackPositions"))};a.prototype.J=function(a){this.kv=a.ta;this.jv=
a.pitch;this.gR(a);this.Ns(a);this.BR(a);this.Rs(a);this.Xja(a);this.Jja(a);k.prototype.J.call(this,a)};a.prototype.Ns=function(){if(this.F("playbackPositions","currentTime")){this.zb.vI(this.get("playbackPositions"));this.zb.uI(this.get("currentTime"));this.set("sourceYaw",this.zb.get("yaw"));this.set("sourcePitch",this.zb.get("pitch"));this.set("sourceRotationX",this.zb.get("rotationX"));this.set("sourceRotationY",this.zb.get("rotationY"));this.set("sourceRotationZ",this.zb.get("rotationZ"));this.set("sourceHFOV",
this.zb.get("hfov"))}};a.prototype.gR=function(){if(this.F("video","image")){var a=[this.Ac];if(this.F("image")){this.ML();this.Za&&a.push(this.Za)}if(this.F("video")){this.OL();this.t&&a.push(this.t)}this.Id.jd(a);this.pc.jd(a);this.sj(a)}};a.prototype.BR=function(){if(this.M){var a=this.M.MH();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.Cf||a&&!this.Cf.isEqual(a)){this.Cf=a;this.t.set("source",this.Cf.Zd);this.t.set("sourceUpdated",p);this.Nb()}else this.M.ni()==f.T&&this.Nb()}else this.set("frameEmpty",
y)};a.prototype.Rs=function(a){this.set("inVR",a.Kb);this.set("hotspotsEnabled",a.tw);this.set("rendererYaw",a.ta);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.bd);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("rendererHFOV",a.Uc);if(this.F("visible")){var c=this.get("visiblePosition"),e=this.get("visible")?1:0,d=Math.max(1,this.n.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(e-c)),h=this.n.get(this.get("visible")?"showEasing":"hideEasing");
this.fh=new v(h,[new x("position",c,e)],d);this.get("visible")||this.M&&this.M.Sd(f.L)}if(this.fh){if(this.fh.he()){this.fh=q;if(this.get("visible")){this.n.trigger(g.Jt);this.n.get("autoplay")&&this.M&&this.M.Sd(f.T)}else this.n.trigger(g.Xq)}else this.fh.cb(a.Qd);if(this.fh){this.set("visiblePosition",this.fh.kb("position"));this.Nb()}}c=y;if(c=a.Kb?this.F("visible"):this.F("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth",
"popupMaxHeight","sourceHFOV")){this.set("targetImageScale",this.JZ(this.Za,a));this.set("targetVideoScale",this.JZ(this.t,a));this.set("targetYaw",b(this.get("rendererYaw"),this.get("sourceYaw")));this.set("targetPitch",this.get("rendererPitch"));this.set("targetRotationZ",b(a.Kb?0:this.get("rendererRoll"),this.get("sourceRotationZ")))}if(this.F("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){var e=this.get("visiblePosition"),j=this.get("targetYaw")*
e+this.get("sourceYaw")*(1-e),l=this.get("targetPitch")*e+this.get("sourcePitch")*(1-e),k=this.get("sourceRotationX")*(1-e),m=this.get("sourceRotationY")*(1-e),o=this.get("targetRotationZ")*e+this.get("sourceRotationZ")*(1-e),a=Math.min(1,2*e),r=this.get("popupDistance"),s=this.get("sourceHFOV"),c=this.get("targetImageScale")*e+(1-e),e=this.get("targetVideoScale")*e+(1-e);this.set("alpha",a);this.Za&&this.Za.set("scale",c);this.t&&this.t.set("scale",e);[].concat(this.t?[this.t]:[],this.Za?[this.Za]:
[]).forEach(function(a){a.set("yaw",j);a.set("pitch",l);a.set("rotationX",k);a.set("rotationY",m);a.set("rotationZ",o);a.set("distance",r);a.set("hfov",s)})}};a.prototype.Xja=function(a){if(this.F("frameEmpty","state","image","video")){var b="none";this.t&&(!this.Za||!this.get("frameEmpty")&&this.get("state")!=f.L)?b="video":this.Za&&(b="image");this.set("itemVisible",b)}if(this.F("itemVisible")){this.get("itemVisible")!="video"&&this.M&&this.M.Sd(f.L);var b=this.Za?this.Za.get("alpha"):0,c=this.t?
this.t.get("alpha"):0,e=this.get("itemVisible")=="image"?1:0,d=this.get("itemVisible")=="video"?1:0,g=this.get("itemVisible")=="video"?1:Math.max(Math.abs(e-b),Math.abs(d-c))*200;this.ep=new v("linear",[new x("imageAlpha",b,e),new x("videoAlpha",c,d)],g)}if(this.ep){this.ep.he()?this.ep=q:this.ep.cb(a.Qd);if(this.ep){this.Za&&this.Za.set("alpha",this.ep.kb("imageAlpha"));this.t&&this.t.set("alpha",this.ep.kb("videoAlpha"));this.Nb()}}};a.prototype.Jja=function(a){if(this.F("gazeOver","inVR")){this.SX();
this.get("inVR")&&this.n.get("lookAwayToHide")&&!this.get("gazeOver")&&this.Cia()}if(a.Kb&&this.n.get("darkenBackground")&&this.n.get("lookAwayToHide")){if(this.F("visible")&&this.get("visible")){this.Ac.set("alpha",0.8);this.Bm=q}if(this.F("gazeOver"))this.Bm=new v(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.Ac.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.n.get("lookAwayToHideTime"))}else{this.Bm=q;this.Ac.set("alpha",a.Kb&&this.n.get("darkenBackground")?
0.8:0)}if(this.Bm){this.Bm.he()?this.Bm=q:this.Bm.cb(a.Qd);if(this.Bm){this.Ac.set("alpha",this.Bm.kb("alpha"));this.Nb()}}};a.prototype.Cia=function(){this.SX();this.RE=setTimeout(function(){this.RE=q;this.n.set("visible",y)}.bind(this),this.n.get("lookAwayToHideTime"))};a.prototype.SX=function(){if(this.RE){clearTimeout(this.RE);this.RE=q}};a.prototype.JZ=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),e=t.qj(c),c=e!==n?this.get("rendererWidth")*(this.a_?0.5:1)*e/100:c,e=this.get("popupMaxHeight",
"100%"),d=t.qj(e),e=d!==n?this.get("rendererHeight")*d/100:e,c=Math.min(c/a.get("contentWidth"),e/a.get("contentHeight")),c=a.get("contentWidth")*c,e=this.get("inVR")?b.Pe:this.get("rendererHFOV");return Math.tan(e*0.5*C)*c/this.get("rendererWidth")/Math.tan(this.get("sourceHFOV")*0.5*C)};a.prototype.ML=function(){this.Zx();if(this.get("image")){var a=o.kma(this.n,this.get("panoramaPixelsPerDegree"));this.Za=new m;this.Za.set("url",a.get("url"));this.Za.set("contentWidth",a.get("width"));this.Za.set("contentHeight",
a.get("height"));this.Za.set("alpha",0)}};a.prototype.Zx=function(){if(this.Za){this.Za.remove();this.Za=q}};a.prototype.OL=function(){this.$x();if(this.get("video")){this.t=new h;this.t.set("contentWidth",this.get("video").get("width"));this.t.set("contentHeight",this.get("video").get("height"));this.t.set("alpha",0);this.M=w.create(this.tb.ya,this.get("video").Qe());this.$a=new e(this.tb.ya,this.n,this.M);this.ym()}};a.prototype.$x=function(){if(this.t){this.Cn();this.$a.clear();this.$a=q;this.M.clear();
this.Cf=this.M=q;this.t.remove();this.t=q}};a.prototype.Naa=function(){this.BY();this.Ac=new j("#000000")};a.prototype.BY=function(){if(this.Ac){this.Ac.remove();this.Ac=q}};a.prototype.cz=function(){this.trigger(g.Ub);this.trigger(g.P)};a.prototype.dz=function(a,b){var c=0;b.Rn(function(a){var b=0,e;this.Id.qi(a)?b=100:(e=this.pc.qi(a))&&(b=e.oh);c=c+b}.bind(this));this.trigger(new u(g.gc,c/b.Dc.length))};a.prototype.ff=function(){this.Nb()};a.prototype.gd=function(){this.Nb()};a.prototype.mk=function(){this.n.trigger(g.ua)};
a.prototype.ym=function(){this.M.bind(z.of,this.gd,this,p);this.M.bind(z.ld,this.ff,this,p);this.M.bind(z.Gf,this.mk,this,p)};a.prototype.Cn=function(){this.M.unbind(z.of,this.gd,this,p);this.M.unbind(z.ld,this.ff,this,p);this.M.unbind(z.Gf,this.mk,this,p)};a.prototype.uj=function(a){if(a.Gd==g.uh){if(!a.hh()&&this.get("visible")){a.uq(this.n);this.set("over",this.Wp(a));this.set("gazeOver",this.Yia(a))}else this.set("over",y);if(this.get("over")){a.Zs(this.n);a.yw()&&a.$s(this.n);a.ji(this.get("popupDistance"))}if(this.F("over")){this.n.trigger(this.get("over")?
g.Kc:g.hc);a.yw()&&this.n.trigger(this.get("over")?g.Ij:g.pf)}}else if(a.Gd==g.Bi&&!a.hh()&&this.get("visible")){a.uq(this.n);a.ji(this.get("popupDistance"));this.Wp(a)?a.Uma()||this.n.trigger(g.V):this.n.set("visible",y)}};a.prototype.Wp=function(a){return this.I3(a.Bn)};a.prototype.Yia=function(a){a=a.ey;return!!a&&this.I3([a])};a.prototype.I3=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Za).Yj(a),b=0;b<a.length;b++){var c=a[b];if(s.Pk(c.source,c.x,
c.y))return p}return y};return a});
define("ed","require,hj,fe,ji,bL,fN".split(","),function(a){var b=a("hj"),c=a("fe"),d=a("ji"),g=a("bL"),f=a("fN"),k=b.extend(f,function(a,b,d,e){f.call(this);this.ya=a;this.D=b;this.ee=d;this.g=e;this.bz=new c;this.rQ(this);this.set("tag","Root")});k.prototype.lf=function(a){return this.bz.get(a)};k.prototype.all=function(){for(var a=[],b=[this];b.length>0;){var c=b.pop();a.push(c);for(var e=c.Rb.length-1;e>=0;e--)b.push(c.Rb[e])}return a};k.prototype.update=function(a){var b=this.all(),c=b.length,
e;for(e=0;e<c;e++)b[e].xaa();for(e=0;e<c;e++)b[e].set("index",e);for(e=0;e<c;e++)b[e].J(a);for(e=0;e<c;e++)b[e].saa()};k.prototype.Nb=function(){this.gH||this.trigger(new g(d.W));f.prototype.Nb.call(this)};k.prototype.Wn=function(a){return Array.isArray(a)?a.map(this.Wn.bind(this)):this.bz.get(a)||k.factory.create(a)};return k});
define("dg","require,hj,gO,ji,ew,bG,fN,jf,cp,hP,hx,iE,gC,iu,cV,hk,iX,bk,cM,M".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("ew"),f=a("bG"),k=a("fN"),j=a("jf"),h=a("cp"),m=a("hP"),e=a("hx"),l=a("iE"),r=a("gC"),o=a("iu"),s=a("cV"),t=a("hk"),u=a("iX"),v=a("bk"),x=a("cM"),w=a("M"),a=b.extend(k,function(a){k.call(this);this.n=a;this.Mh.push(this.n);this.Ge=this.Ge.bind(this);this.al(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",
p);this.set("inVR",y);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",y);this.set("loadingActive",y);this.set("frameEmpty",p);this.set("state",g.L);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",n);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.pc=this.Id=q;this.Xi=y;this.t=this.Za=q;this.M4=y;this.zb=new l;this.Cf=this.$a=this.M=q;this.Sm=[]});a.prototype.ac=
function(){this.Id=(new r(d.P)).wi(this.cz.bind(this));this.pc=(new r(d.gc)).Lk(this.dz.bind(this));k.prototype.ac.call(this);c.Oe(this.n,["playbackPositions","blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Ge,p)};a.prototype.dc=function(){this.Id.dispose();this.pc.dispose();c.nf(this.n,["playbackPositions","blending",
"chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Ge);this.Zx();this.$x();k.prototype.dc.call(this)};a.prototype.Ge=function(){this.set("image",this.n.get("image"));this.set("video",this.n.get("video"));this.set("enabled",this.n.get("enabled"));this.set("enabledInStandard",this.n.get("enabledInStandard"));this.set("enabledInVR",
this.n.get("enabledInVR"));this.set("fadeInDuration",this.n.get("fadeInDuration"));this.set("fadeOutDuration",this.n.get("fadeOutDuration"));this.set("interactionEnabled",this.n.get("interactionEnabled"));this.set("state",this.n.get("state"));this.set("videoVisibleOnStop",this.n.get("videoVisibleOnStop"));this.set("scaleMode",this.n.get("scaleMode"));this.set("distance",this.n.get("distance"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("blending",this.n.get("blending"));
this.set("chromaColor",this.n.get("chromaColor"));this.set("chromaThreshold",this.n.get("chromaThreshold"));this.set("chromaSmoothing",this.n.get("chromaSmoothing"))};a.prototype.J=function(a){this.set("inVR",a.Kb);this.set("hotspotsEnabled",a.tw);this.kv=a.ta;this.jv=a.pitch;this.gR();this.Kja();this.Ns();this.BR();k.prototype.J.call(this,a);this.YG(a);this.Rs(a)};a.prototype.Ns=function(){if(this.F("playbackPositions","currentTime")){this.zb.vI(this.get("playbackPositions"));this.zb.uI(this.get("currentTime"));
this.set("yaw",this.zb.get("yaw"));this.set("pitch",this.zb.get("pitch"));this.set("roll",this.zb.get("roll"));this.set("rotationX",this.zb.get("rotationX"));this.set("rotationY",this.zb.get("rotationY"));this.set("hfov",this.zb.get("hfov"));this.set("vfov",this.zb.get("vfov"));this.set("alpha",this.zb.mi())}this.F("yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Pa().forEach(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));
a.set("roll",this.get("roll"));a.set("rotationX",this.get("rotationX"));a.set("rotationY",this.get("rotationY"));a.set("hfov",this.get("hfov"));a.set("vfov",this.get("vfov"));a.set("scaleMode",this.get("scaleMode"));a.set("distance",this.get("distance"))}.bind(this))};a.prototype.gR=function(){if(this.F("video","image")){var a=[];if(this.F("image")){this.ML();this.Za&&a.push(this.Za)}if(this.F("video")){this.OL();this.t&&a.push(this.t)}this.sj(a);this.Id.jd(a);this.pc.jd(a)}};a.prototype.Kja=function(){if(this.F("video",
"image","blending","chromaColor","chromaThreshold","chromaSmoothing")){if(this.t){var a=new f.Aj(this.get("video").Qe());a.dq=this.get("blending");a.Ol=this.get("chromaColor");a.jB=this.get("chromaThreshold");a.iB=this.get("chromaSmoothing");this.t.set("materialConfig",a)}if(this.Za){a=new f.Aj;a.dq=this.get("blending");a.Ol=this.get("chromaColor");a.jB=this.get("chromaThreshold");a.iB=this.get("chromaSmoothing");this.Za.set("materialConfig",a)}}};a.prototype.BR=function(){var a=this.M&&this.M.MH();
this.set("frameEmpty",!!a&&a.isEmpty());if(!this.Cf||a&&!this.Cf.isEqual(a)){this.Cf=a;this.t.set("source",this.Cf.Zd);this.t.set("sourceUpdated",p);this.Nb()}else this.M.ni()==g.T&&this.Nb()};a.prototype.YG=function(){var a=y;if(this.n.get("autoplay")&&this.F("video","composedAlpha","enabledInVR","enabledInStandard","enabled")&&this.get("composedAlpha")>0&&this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))){this.n.set("state",
g.T);a=p}!a&&this.F("itemVisible")&&this.get("itemVisible")!="video"&&this.M&&this.M.Sd(g.L)};a.prototype.Rs=function(a){var b=this.get("itemVisible");if(this.F("frameEmpty","state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var c="none";if(this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))){this.t&&(!this.Za||!this.get("frameEmpty")&&(this.get("state")!=
g.L||this.M4&&this.get("videoVisibleOnStop")))?c="video":this.Za&&(c="image");if(this.get("state")!=g.L)this.M4=p}this.set("itemVisible",c);this.set("beamEnabled",c!="none"&&this.get("interactionEnabled"))}if(this.F("itemVisible")){var c=this.get("itemVisible")!="none",c=c==(b!="none")?100:c?this.get("fadeInDuration"):this.get("fadeOutDuration"),e=this.Za?this.Za.get("alpha"):0,d=this.t?this.t.get("alpha"):0,b=[{video:d,image:e}];if(this.get("itemVisible")=="video"){b.push({video:1,image:e,time:c*
(1-d)});b.push({video:1,image:0,time:50*(e-0)})}else if(this.get("itemVisible")=="image"){b.push({video:d,image:1,time:c*(1-e)});b.push({video:0,image:1,time:50*(d-0)})}else b.push({video:0,image:0,time:Math.max(d,e,1/c)*c});this.Sm=[];for(c=1;c<b.length;c++)b[c].time>0&&this.Sm.push(new u("linear",[new v("imageAlpha",b[c-1].image,b[c].image),new v("videoAlpha",b[c-1].video,b[c].video)],b[c].time))}if(this.Sm.length>0){this.Sm[0].he()?this.Sm.shift():this.Sm[0].cb(a.Qd);if(this.Sm.length>0){this.Za&&
this.Za.set("alpha",this.Sm[0].kb("imageAlpha"));this.t&&this.t.set("alpha",this.Sm[0].kb("videoAlpha"));this.Nb()}}};a.prototype.ML=function(){this.Zx();if(this.get("image")){var a=o.uma(this.n,this.get("panoramaPixelsPerDegree"));this.Za=new h;this.Za.set("url",a.get("url"));this.Za.set("contentWidth",a.get("width"));this.Za.set("contentHeight",a.get("height"));this.Za.set("alpha",0)}};a.prototype.Zx=function(){if(this.Za){this.Za.remove();this.Za=q}};a.prototype.OL=function(){this.$x();if(this.get("video")){this.t=
new j;this.t.set("contentWidth",this.get("video").get("width"));this.t.set("contentHeight",this.get("video").get("height"));this.t.set("alpha",0);this.M=x.create(this.tb.ya,this.get("video").Qe());this.Rj=new m(this.n,this.M);this.$a=new e(this.tb.ya,this.n,this.M);this.ym()}};a.prototype.$x=function(){if(this.t){this.Cn();this.$a.clear();this.$a=q;this.Rj.clear();this.Rj=q;this.M.clear();this.Cf=this.M=q;this.t.remove();this.t=q}};a.prototype.cz=function(){this.trigger(d.Ub);this.trigger(d.P)};a.prototype.dz=
function(a,b){var c=0;b.Rn(function(a){(a=b.qi(a))&&(c=c+a.oh)});this.trigger(new t(d.gc,c/b.Dc.length))};a.prototype.ff=function(){this.Nb()};a.prototype.gd=function(){this.Nb()};a.prototype.ym=function(){this.M.bind(w.of,this.gd,this,p);this.M.bind(w.ld,this.ff,this,p)};a.prototype.Cn=function(){this.M.unbind(w.of,this.gd,this,p);this.M.unbind(w.ld,this.ff,this,p)};a.prototype.uj=function(a){if(a.Gd==d.uh){var b=!a.hh()&this.Wp(a);if(b){a.Zs(this.n);this.n.get("useHandCursor")&&a.$s(this.n);a.ji(this.get("distance"));
var c=this.pa(a.nq());c&&a.eS(c,this.Xp(a.nq()))}if(this.Xi!=b){this.Xi=b;this.n.trigger(this.Xi?d.Kc:d.hc);a.yw()&&this.n.trigger(this.Xi?d.Ij:d.pf)}}else if(a.Gd==d.Bi&&!a.hh()&this.Wp(a)){this.n.sB(d.V,p).length>1&&a.uq(this.n);a.ji(this.get("distance"));this.n.trigger(d.V)}};a.prototype.Wp=function(a){if(this.get("beamEnabled"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Za).Yj(a.Bn),b=0;b<a.length;b++){var c=a[b];if(s.Pk(c.source,c.x,c.y))return p}return y};a.prototype.pa=function(a){return!a||
this.n.get("displayTooltipInTouchScreens")&&this.tb.D.get("displayTooltipInTouchScreens")!==y?this.n.get("toolTip",""):""};a.prototype.Xp=function(a){if(a){var a=this.get("yaw")-this.kv,b=this.get("pitch")-this.jv;return Math.sqrt(a*a+b*b)}return 0};return a});
define("cE","require,dj,fN,hs,gm,hJ,gj,iv,dS,K,iO,cB,bj,ed,dg,bw".split(","),function(a){function b(a,b){Array.isArray(b)||(b=[b]);for(var e=0;e<b.length;e++)if(c.vb(b[e],a))return p;return y}var c=a("dj"),d=a("fN"),g=a("hs"),f=a("gm"),k=a("hJ"),j=a("gj"),h=a("iv"),m=a("dS"),e=a("K"),l=a("iO"),r=a("cB"),o=a("bj"),s=a("ed"),t=a("dg"),u=a("bw"),a={};s.factory=a;a.create=function(a){if(a instanceof d)return a;if(b(a,["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new e(a);if(b(a,["CubicPanoramaFrame",
"SphericPanoramaFrame"]))return u.get(a)==u.Zk&&b(a.get("sphere"),"Video360Resource")?new r(a):new l(a);if(b(a,"HotspotPanoramaOverlay"))return new k(a);if(b(a,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new j(a);if(b(a,"Menu"))return new m(a);if(b(a,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new g(a);if(b(a,["FlatHotspotPanoramaOverlayImage","FlatHotspotPanoramaOverlayMap"]))return new f(a);if(b(a,["LensFlarePanoramaOverlay"]))return new h(a);if(b(a,
["PopupPanoramaOverlay"]))return new o(a);if(b(a,["VideoPanoramaOverlay"]))return new t(a);i("Invalid script object")};return a});
define("je",["require"],function(){var a={M5:function(b,c,d,g,f,k){return a.Jla(b,2*(c/g)-1,2*-(d/f)+1,k)},Jla:function(a,c,d,g){g||(g=new THREE.Ray);g.origin.setFromMatrixPosition(a.matrixWorld);g.direction.set(c,d,0.5).unproject(a).sub(g.origin).normalize();return g},Xla:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0);c.direction.set(0,0,-1).applyQuaternion(a.quaternion);return c},Wla:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0).applyMatrix4(a);c.direction.set(0,0,-1).applyMatrix4(a).sub(c.origin).normalize();
return c}};return a});
define("dM",["require"],function(){function a(a){this.rf=this.TZ(a.get("vrPointerColor"));this.hQ=this.TZ(a.get("vrPointerSelectionColor"));this.Ln=this.Kp([0,0,0],0);this.BG=this.Kp([0,0,0],0.125);this.vba=this.Kp(this.rf,1);this.wba=this.Kp(this.hQ,1);this.maa=this.Kp(this.hQ,1);this.laa=this.Kp(this.rf,0.5);this.jaa=this.Kp(this.rf,1);this.kaa=this.Kp(this.hQ,1);this.Im=this.Jm=64;this.HK=4E3;this.DY=0.1;this.Fg=0.16;this.bj=0.04;this.NX=this.AD=0.68-this.bj;this.zD=1-this.bj;this.u=document.createElement("canvas");
this.u.width=this.Jm;this.u.height=this.Im;this.Ha=this.u.getContext("2d");this.Xi=this.KX=y;this.Ky=this.WO=n;this.St=0}a.prototype.TZ=function(a){a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]};a.prototype.Kp=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Woa=function(a,c){this.Xi=a;this.WO=c};a.prototype.qI=N("KX");a.prototype.Ic=O("Jm");a.prototype.ud=O("Im");a.prototype.update=function(a){return this.KX?this.zba(a):
this.Xi?this.Eba():this.Dba()};a.prototype.BD=function(){this.Ha.clearRect(0,0,this.Jm,this.Im)};a.prototype.Dba=function(){if("initial"==this.Ky)return y;this.BD();this.HY(this.vba);this.Ky="initial";return p};a.prototype.Eba=function(){if(this.WO===n){if("over"==this.Ky)return y;this.BD();this.HY(this.wba)}else this.Wfa(this.WO);this.Ky="over";return p};a.prototype.zba=function(a){for(this.St+=a;this.St>this.HK;)this.St-=this.HK;this.gaa(this.St/this.HK);this.Ky="changing";return p};a.prototype.HY=
function(a){this.Jg(this.DY+this.bj,0,this.Ln,this.BG,0,2*Math.PI);this.Jg(this.DY,0,this.Ln,a,0,2*Math.PI)};a.prototype.Fba=function(a){this.Jg(this.AD-0.5*(this.Fg+this.bj),this.Fg+this.bj,this.BG,this.Ln,0,2*Math.PI);this.Jg(this.AD-0.5*this.Fg,this.Fg,this.laa,this.Ln,0,2*Math.PI);this.Jg(this.AD-0.5*this.Fg,this.Fg,this.maa,this.Ln,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.Aba=function(a,c){this.Jg(this.NX-0.5*(this.Fg+this.bj),this.Fg+this.bj,this.BG,this.Ln,0,2*Math.PI);this.Jg(this.NX-0.5*
this.Fg,this.Fg,this.jaa,this.Ln,0,2*Math.PI);a=(0.5+2*a)*Math.PI;for(c=(0.5+2*c)*Math.PI;c<a;)c+=2*Math.PI;var d=a-this.bj/(2*this.zD*Math.PI),g=c+this.bj/(2*this.zD*Math.PI);Math.abs(g-d+2*Math.PI)<2*this.bj&&(d=0,g=c);this.Jg(this.zD-0.5*(this.Fg+this.bj),this.Fg+this.bj,this.BG,this.Ln,d,g);this.Jg(this.zD-0.5*this.Fg,this.Fg,this.kaa,this.Ln,a,c)};a.prototype.Jg=function(a,c,d,g,f,k){var j=Math.round(0.5*this.Jm),h=Math.round(0.5*this.Im),m=Math.min(j,h),a=Math.round(a*m),e=this.Ha;e.yra=e.nsa=
p;e.lineWidth=c*m;e.strokeStyle=d;e.fillStyle=g;e.beginPath();e.arc(j,h,a,f,k,y);e.stroke();e.fill()};a.prototype.gaa=function(a){this.BD();var c;0.25>a?(c=a/0.25,a=0.5*c):0.5>a?(c=(a-0.25)/0.25,a=0.5+c,c=1+0.5*c):0.75>a?(c=(a-0.5)/0.25,a=0.5+0.5*c,c=0.5+c):(a=c=(a-0.75)/0.25,c=0.5+0.5*c);this.Aba(a,c)};a.prototype.Wfa=function(a){this.BD();this.Fba(a)};return a});
define("hN","require,hj,cQ,gc,dM,dk".split(","),function(a){var b=a("hj"),c=a("cQ"),d=a("gc"),g=a("dM"),f=a("dk"),a=b.extend(d,function(){d.call(this);this.u=q;this.set("tag","Reticle");this.set("changing",y);this.set("over",y);this.set("overProgress",n);this.set("visible",p);this.set("attachToCamera",p)});a.prototype.J=function(a){this.Bf(a);this.JA(a);d.prototype.J.call(this,a)};a.prototype.Bf=function(a){if(!this.u){this.set("textureSource",new f);this.u=new g(this.tb.D);this.get("textureSource").Dg(this.u.u);
this.set("contentWidth",this.u.Ic());this.set("contentHeight",this.u.ud());this.set("hfov",6);this.set("distance",this.tb.D.get("vrPointerDistance"))}this.F("changing")&&this.u.qI(this.get("changing"));this.F("over","overProgress")&&this.u.Woa(this.get("over"),this.get("overProgress"));this.u.update(a.Qd)&&this.get("textureSource").update();this.get("changing")&&this.Nb()};a.prototype.JA=function(){this.kj()};a.prototype.Mn=function(){this.F("composedAlpha","meshGroup","visible")&&this.mr()};a.prototype.mr=
function(){c.cd(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("V","require,jquery.mod,cK,ji,t,jw,cZ".split(","),function(a){function b(a){this.va=a;this.R3=this.va.Mi;this.va.bind(g.wc,this.Ph,this);this.v=c("<span></span>");this.v.css({position:"absolute","z-index":k.VV,"text-align":"center",display:"none"});f.Xa()||this.v.css({"pointer-events":"none"});this.Ac=c("<span></span>");this.Ac.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.v.append(this.Ac);this.PG=c("<span></span>");this.PG.css({position:"relative"});this.v.append(this.PG);
this.ej=this.zE=this.mg=q;this.y1=this.x1=n;this.Hu=y;this.S3=n}var c=a("jquery.mod"),d=a("cK"),g=a("ji"),f=a("t"),k=a("jw"),j=a("cZ"),h={toolTip:n,toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,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};b.prototype.lb=O("v");b.prototype.Iw=function(a){if(!this.R3){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.FD();
this.mg&&d(d(h).keys()).each(function(a){this.mg.unbind(g.ha(a),this.MO,this)},this);if(this.mg=a){d(d(h).keys()).each(function(a){this.mg.bind(g.ha(a),this.MO,this)},this);this.MO()}}};b.prototype.spa=function(a,b){this.mg=a;this.S3=b;this.FE()||(this.Hu?this.m3():this.s3())};b.prototype.k3=function(a,b,c,d,f){this.Ija(a);this.PG.html(this.kda(b));var b=this.v.outerWidth(),g=this.v.outerHeight();if(f){c=c-this.v.width()*0.5;d=d-this.v.height()*0.5}c=Math.max(Math.min(c,this.va.za()-b-3),3);d=Math.max(Math.min(d,
this.va.ab()-g-3),3);this.v.css("left",c+"px");this.v.css("top",d+"px");this.v.css("display","inline");this.Hu=p;f?this.wia(a,c,d):this.MQ()};b.prototype.hide=function(){this.FD();this.MQ();this.v.css("display","none");this.Hu=y};b.prototype.MO=function(){this.mg.get("toolTip")?this.FE()||(this.Hu?this.l3():this.s3()):this.FE()?this.FD():this.Hu&&this.hide()};b.prototype.Ph=function(a){this.x1=a.pageX;this.y1=a.pageY};b.prototype.l3=function(){var a=this.x1,b=this.y1+25;this.k3(this.mg,this.mg.get("toolTip"),
a,b,y)};b.prototype.m3=function(){var a=this.mg.lb().offset();this.k3(this.mg,this.S3,a.left+this.mg.za()*0.5,a.top+this.mg.ab()*0.5,p)};b.prototype.FE=function(){return this.ej!=q};b.prototype.s3=function(){var a=this.mg&&this.mg.get("toolTipDisplayTime");if(a===n||a===q)a=h.toolTipDisplayTime;this.FD();this.ej=setTimeout(function(){this.ej=q;this.R3?this.m3():this.l3()}.bind(this),a)};b.prototype.FD=function(){if(this.FE()){clearTimeout(this.ej);this.ej=q}};b.prototype.wia=function(a,b,c){this.MQ();
var d=function(){this.v.css("display",this.Hu&&!this.fea(a,b,c)?"inline":"none")}.bind(this);this.zE=setInterval(d,300);d()};b.prototype.MQ=function(){if(this.zE){clearInterval(this.zE);this.zE=q}};b.prototype.Ija=function(a){function b(c){var e=a.get(c);return e===n?h[c]:e}var c={};c.opacity=b("toolTipOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipOpacity")*100)+")";c.paddingTop=b("toolTipPaddingTop")+"px";c.paddingBottom=b("toolTipPaddingBottom")+"px";c.paddingLeft=b("toolTipPaddingLeft")+
"px";c.paddingRight=b("toolTipPaddingRight")+"px";c["text-align"]=b("toolTipHorizontalAlign");this.v.css(c);c={};c.opacity=b("toolTipBackgroundOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipBackgroundOpacity")*100)+")";c["background-color"]=b("toolTipBackgroundColor");c.border=[b("toolTipBorderSize")+"px","solid",b("toolTipBorderColor")].join(" ");var f=b("toolTipShadowColor");c["-moz-box-shadow"]=c["-webkit-box-shadow"]=c["box-shadow"]=[b("toolTipShadowHorizontalLength")+
"px",b("toolTipShadowVerticalLength")+"px",b("toolTipShadowBlurRadius")+"px",b("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+f.substr(5,2))+", "+b("toolTipShadowOpacity")+")"].join(" ");c["-moz-border-radius"]=c["-webkit-border-radius"]=c.borderRadius=b("toolTipBorderRadius")+"px";this.Ac.css(c);c={};c["font-family"]=j.gq(b("toolTipFontFamily"));f=b("toolTipFontSize");d(f).isNumber()?f=f+"px":d(f).isString()||(f="");c["font-size"]=
f;c["font-weight"]=b("toolTipFontWeight");c["font-style"]=b("toolTipFontStyle");c.color=b("toolTipFontColor");f=b("toolTipTextShadowColor");c["-moz-text-shadow"]=c["-webkit-text-shadow"]=c["text-shadow"]=[b("toolTipTextShadowHorizontalLength")+"px",b("toolTipTextShadowVerticalLength")+"px",b("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+f.substr(1,2))+", "+parseInt("0x"+f.substr(3,2))+", "+parseInt("0x"+f.substr(5,2))+", "+b("toolTipTextShadowOpacity")+")"].join(" ");var g=b("toolTipTextShadowVerticalLength")==
0&&b("toolTipTextShadowHorizontalLength")==0?135:Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-b("toolTipTextShadowVerticalLength"))/Math.PI)*45;c.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a}(255*b("toolTipTextShadowOpacity"))+f.substr(1,6)+",direction="+g+")";this.PG.css(c)};b.prototype.fea=function(a,b,c){for(var b=document.elementsFromPoint(b,c),a=a.lb()[0],c=this.va.lb()[0],d=0;d<b.length;d++){var f=b[d];
if(a==f||a.contains(f))break;if(!this.v[0].contains(f)&&c.contains(f)){var g=window.getComputedStyle(f);if(g.display!="none"&&g.visibility!="hidden"&&(f.tagName=="CANVAS"?1:this.Daa(g.backgroundColor))*g.opacity>0.33)return p}}return y};b.prototype.Daa=function(a){if(!a)return 0;var a=a.toLowerCase(),b=a.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return b?parseFloat(b[1]):a.match(/transparent/)?0:1};b.prototype.kda=function(a){for(var a=a.split("\n"),b=0;b<a.length;b++)a[b]=
this.Kba(a[b]);return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.Kba=function(a){b.IW.nodeValue=a;return b.EW.innerHTML};b.p8=h;b.EW=document.createElement("pre");b.IW=document.createTextNode("");b.EW.appendChild(b.IW);b.Kqa=600;return b});
define("bW",["require","V","bs","cZ"],function(a){function b(a,b){this.D=a;this.sA=b;this.oia()}var c=a("V"),d=a("bs"),g=a("cZ");b.prototype.Ic=function(){return this.u.width};b.prototype.ud=function(){return this.u.height};b.prototype.oia=function(){this.u=document.createElement("canvas");var a=this.u.getContext("2d"),b=this.sA.split("\n"),c=this.$d("toolTipBackgroundColor"),h=this.$d("toolTipBackgroundOpacity"),m=this.$d("toolTipBorderRadius"),e=this.$d("toolTipBorderColor"),l=this.$d("toolTipBorderSize");
this.$d("toolTipDisplayTime");var r=this.$d("toolTipFontFamily"),o=this.$d("toolTipFontSize"),s=this.$d("toolTipFontColor"),t=this.$d("toolTipFontWeight"),u=this.$d("toolTipFontStyle"),v=this.$d("toolTipPaddingBottom"),x=this.$d("toolTipPaddingLeft"),w=this.$d("toolTipPaddingTop"),z=this.$d("toolTipPaddingRight"),C=this.$d("toolTipOpacity"),A=this.$d("toolTipTextShadowBlurRadius"),H=this.$d("toolTipTextShadowColor"),B=this.$d("toolTipTextShadowHorizontalLength"),F=this.$d("toolTipTextShadowVerticalLength"),
K=this.$d("toolTipTextShadowOpacity"),J=new d.PV;J.fontFamily=r;J.fontSize=o+(isNaN(o)?"":"px");J.fontWeight=t;J.fontStyle=u;var L=b.map(function(b){return d(b,J,a)}),M=0,G=0;L.forEach(function(a){M=Math.max(a.width,M);G+=a.height});var R=1<b.length?0.25*(G/b.length):0,G=G+(b.length-1)*R,z=l+x+M+z+l,v=l+w+G+v+l;this.u=document.createElement("canvas");a=this.u.getContext("2d");this.u.width=z;this.u.height=v;a.globalAlpha=C;a.strokeStyle=e;a.fillStyle="transparent"===c?"rgba(0,0,0,0)":this.TW(h,c);
a.lineWidth=l;a.beginPath();a.moveTo(m,0);a.lineTo(z-m,0);a.quadraticCurveTo(z,0,z,m);a.lineTo(z,v-m);a.quadraticCurveTo(z,v,z-m,v);a.lineTo(m,v);a.quadraticCurveTo(0,v,0,v-m);a.lineTo(0,m);a.quadraticCurveTo(0,0,m,0);a.closePath();a.fill();0<l&&a.stroke();a.fillStyle=s;a.font=t+" "+("normal"!=u?u+" ":"")+o+(isNaN(o)?"":"px")+" "+g.gq(r);a.shadowColor=this.TW(K,H);a.shadowOffsetX=B;a.shadowOffsetY=F;a.shadowBlur=A;a.textBaseline="middle";a.textAlign="center";var E=l+x+0.5*M,P=l+w;b.forEach(function(b,
c){a.fillText(b,Math.round(E),Math.round(P+0.5*L[c].height));P+=L[c].height+R})};b.prototype.$d=function(a){var b=this.D.get(a);return b===n?c.p8[a]:b};b.prototype.TW=function(a,b){return"rgba("+parseInt("0x"+b.substr(1,2))+", "+parseInt("0x"+b.substr(3,2))+", "+parseInt("0x"+b.substr(5,2))+", "+a+")"};return b});
define("jg","require,hj,eu,gc,bW,dk".split(","),function(a){var b=a("hj"),c=a("eu"),d=a("gc"),g=a("bW"),f=a("dk"),a=b.extend(d,function(){d.call(this);this.u=q;this.set("tag","ToolTip");this.set("text","");this.hj=new THREE.Vector3(0,0,-c.iw())});a.prototype.J=function(a){this.Bf(a);d.prototype.J.call(this,a)};a.prototype.Bf=function(a){if(!this.u||this.F("text")){this.get("textureSource")||this.set("textureSource",new f);this.u=new g(this.tb.D,this.get("text"));this.get("textureSource").Dg(this.u.u);
this.set("contentWidth",this.u.Ic());this.set("contentHeight",this.u.ud());this.set("hfov",2*Math.atan2(this.u.Ic()*0.5,600)*k);this.set("distance",this.tb.D.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.hj.applyMatrix4(b);(this.hj.x!=0||this.hj.z!=0)&&this.set("yaw",k*Math.atan2(this.hj.x,-this.hj.z));(this.hj.y!=0||this.hj.z!=0)&&this.set("pitch",k*Math.atan2(this.hj.y,Math.sqrt(this.hj.z*this.hj.z+this.hj.x*this.hj.x))+j)}else{this.set("yaw",a.ta);this.set("pitch",a.pitch+h)}}};
var k=180/Math.PI,j=2,h=5;return a});define("iR",["require","je","I"],function(a){function b(a,b){this.kf=a;this.g=b;this.ey=q}var c=a("je"),d=a("I");b.prototype.update=D();b.prototype.clear=D();b.prototype.Zf=O("kf");b.prototype.aN=function(){var a=this.k.Te&&d.fw(this.k.Te);return this.ey=a?c.Xla(a,this.ey):q};b.TC="gaze";b.cK="gaze_click";b.dK="laser";b.UC="mouse";b.VC="touch";return b});
define("do",["require","iR"],function(a){function b(a,b,c,d){this.uk=a;this.Bn=b;this.ey=c;this.Gd=d;this.HX=[];this.Sh=[];this.GR=[];this.pa="";this.Xp=Number.MAX_VALUE}function c(a){return a===n?[]:Array.isArray(a)?a:[a]}var d=a("iR");b.prototype.yw=function(){return this.uk.Zf()==d.UC};b.prototype.nq=function(){return this.uk.Zf()==d.VC};b.prototype.Uma=function(){return this.uk.Zf()==d.TC};b.prototype.$s=function(a){this.GR=this.GR.concat(c(a))};b.prototype.Nw=function(){return 0<this.GR.length};
b.prototype.Zs=function(a){this.Sh=this.Sh.concat(c(a))};b.prototype.ji=function(a){if(a&&(this.RD===n||this.RD>a))this.RD=a};b.prototype.eS=function(a,b){if(""==this.pa||this.Xp>b)this.pa=a,this.Xp=b};b.prototype.iC=O("pa");b.prototype.uq=function(a){this.HX=c(a)};b.prototype.hh=function(){return 0<this.HX.length};return b});
define("bQ","require,hj,ji,je,I,hN,jg,do,iR".split(","),function(a){var b=a("hj"),c=a("ji");a("je");a("I");var d=a("hN"),g=a("jg"),f=a("do"),k=a("iR"),a=b.extend(k,function(a){k.call(this,k.TC,a);this.zf=this.k=q;this.Sh=[];this.RG=q;this.q1=n;this.Bd=new d;this.g.add(this.Bd);this.se="";this.pa=q;this.I2=this.g.D.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.PQ();this.g.remove(this.Bd);this.Bd=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=
a;this.Bd.set("changing",a.xH);this.gi()};a.prototype.cu=function(){this.hf(this.$e(c.Bi));this.Bd.set("over",y)};a.prototype.gi=function(){var a=this.$e(c.uh);this.hf(a);this.Ak(a.iC());var b;a:{b=this.Sh;for(var d=a.Sh,e=0;e<b.length;e++)if(d.indexOf(b[e])<0){b=y;break a}for(e=0;e<d.length;e++)if(b.indexOf(d[e])<0){b=y;break a}b=p}if(!b){this.PQ();this.Bd.set("over",y);this.Sh=a.Sh;if(this.Sh.length){this.Bd.set("over",a.Nw());this.Bd.set("overProgress",0);this.Iia()}}};a.prototype.Ak=function(a){if(this.se!=
a){this.se&&this.g.remove(this.pa);if(this.se=a){this.pa=new g(this.se);this.pa.set("text",this.se);this.g.add(this.pa)}}};a.prototype.hf=function(a){this.g.BB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.uj(a)}.bind(this))};a.prototype.$e=function(a){this.zf=this.aN();return new f(this,this.zf?[this.zf]:[],this.zf,a)};a.prototype.PQ=function(){this.RG&&(clearInterval(this.RG),this.RG=q)};a.prototype.Iia=function(){this.q1=(new Date).getTime();this.RG=setInterval(this.ffa.bind(this),
100)};a.prototype.ffa=function(){var a=(new Date).getTime()-this.q1;if(a>=this.I2){this.PQ();this.cu()}else this.Bd.set("overProgress",a/this.I2)};return a});
define("hi","require,hj,ji,hN,jg,do,iR,bd".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("hN"),g=a("jg"),f=a("do"),k=a("iR"),j=a("bd"),a=b.extend(k,function(a){k.call(this,k.cK,a);this.zf=this.k=q;this.Bd=new d;this.g.add(this.Bd);this.se="";this.pa=q;this.TG=this.TG.bind(this);document.body.addEventListener("touchend",this.TG);j.bind(c.Ci,this.R4,this,p)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.TG);j.unbind(c.Ci,this.R4,this,p);this.g.remove(this.Bd);
this.Bd=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=a;this.Bd.set("changing",a.xH);this.gi()};a.prototype.TG=function(){this.cu()};a.prototype.R4=function(){this.cu()};a.prototype.cu=function(){this.hf(this.$e(c.Bi));this.Bd.set("over",y)};a.prototype.gi=function(){var a=this.$e(c.uh);this.hf(a);this.Ak(a.iC());this.Bd.set("over",a.Nw())};a.prototype.Ak=function(a){if(this.se!=a){this.se&&this.g.remove(this.pa);if(this.se=a){this.pa=new g(this.se);this.pa.set("text",
this.se);this.g.add(this.pa)}}};a.prototype.hf=function(a){this.g.BB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.uj(a)}.bind(this))};a.prototype.$e=function(a){this.zf=this.aN();return new f(this,this.zf?[this.zf]:[],this.zf,a)};return a});
define("gS","require,hj,eu,bG,cQ,dk,f,iH".split(","),function(a){var b=a("hj"),c=a("eu"),d=a("bG"),g=a("cQ"),f=a("dk"),k=a("f"),j=a("iH"),h=new THREE.Matrix4,m=Math.PI/180,a=b.extend(k,function(){k.call(this);this.set("tag","Laser");this.set("matrix",q);this.set("over",y);this.set("pressed",y);this.set("intersectionDistance",0);this.set("visible",y);this.set("attachToCamera",y);this.MP=this.Iz=this.vl=this.LP=q;new THREE.Matrix4;this.NP=new THREE.Matrix4;this.NP.multiply(h.makeRotationX(-90*m));this.NP.multiply(h.makeTranslation(0,
e*0.5,0));this.UD=this.uM=this.TD=this.Rm=this.tM=q;new THREE.Matrix4;this.vM=new THREE.Matrix4;this.Rx=this.sM=this.rM=q;new THREE.Matrix4;this.Dr=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.Dr[0].multiply(h.makeRotationX(-90*m));this.Dr[0].multiply(h.makeTranslation(0,-r*0.5,0));this.Dr[1].multiply(h.makeRotationX(-90*m));this.Dr[1].multiply(h.makeTranslation(0,-r*0.5,-l*0.5));this.Dr[2].multiply(h.makeRotationX(-90*m));this.Dr[2].multiply(h.makeTranslation(0,-r*0.5,-l))});a.prototype.J=
function(a){k.prototype.J.call(this,a);this.qka();this.Mv()};a.prototype.qka=function(){if(this.F("visible"))this.get("meshGroup").visible=this.get("visible")};a.prototype.Mv=function(){if(this.F("over","pressed")){this.o4();this.w4()}};var e=0.35,l=0.012,r=0.1;a.prototype.dl=function(){this.sM=g.create(new THREE.SphereGeometry(2.3,32,32),this.Qaa());this.uM=g.create(new THREE.SphereGeometry(2,32,32),this.Raa());this.MP=g.create(new THREE.CylinderGeometry(0.003,0.003,e,8),this.hba());this.gu=[];this.gu.push(g.create(new THREE.CylinderGeometry(l,
l,r,32),this.GL()));this.gu.push(g.create(new THREE.BoxGeometry(2*l,r,l),this.GL()));this.gu.push(g.create(new THREE.CylinderGeometry(l,l,r,32),this.GL()));return[this.sM,this.uM,this.MP].concat(this.gu)};a.prototype.Qaa=function(){if(this.rM==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new f;c.Dg(a);this.rM=d.Hk(c.texture(),new d.Aj);b.fillStyle="rgba(0, 0, 0, 0.75)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.rM]};
a.prototype.Raa=function(){if(this.tM==q){this.Rm=document.createElement("canvas");this.Rm.width=this.Rm.height=256;this.TD=this.Rm.getContext("2d");this.UD=new f;this.UD.Dg(this.Rm);this.tM=d.Hk(this.UD.texture(),new d.Aj);this.o4()}return[this.tM]};a.prototype.o4=function(){this.TD.fillStyle=this.jZ();this.TD.clearRect(0,0,this.Rm.width,this.Rm.height);this.TD.fillRect(0,0,this.Rm.width,this.Rm.height);this.UD.update()};a.prototype.hba=function(){if(this.LP==q){this.vl=document.createElement("canvas");
this.vl.width=this.vl.height=256;this.Iz=this.vl.getContext("2d");this.OP=new f;this.OP.Dg(this.vl);this.LP=d.Hk(this.OP.texture(),new d.Aj);this.w4()}return[this.LP]};a.prototype.w4=function(){var a=j.rT(this.jZ()).join(", "),b=this.Iz.createLinearGradient(0,0,0,this.vl.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");b.addColorStop(1,"rgba("+a+", 1)");this.Iz.fillStyle=b;this.Iz.clearRect(0,0,this.vl.width,this.vl.height);this.Iz.fillRect(0,0,this.vl.width,this.vl.height);
this.OP.update()};a.prototype.GL=function(){if(this.Rx==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new f;c.Dg(a);this.Rx=d.Hk(c.texture(),new d.Aj);b.fillStyle="rgba(64, 64, 64, 1)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.Rx,this.Rx,this.Rx]};a.prototype.Nv=function(){var a=y,b=y,e=y;if(this.F("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.SH(b):c.iw(),d=b/c.iw();this.vM.makeTranslation(0,
0,-b);this.vM.multiply(h.makeScale(d,d,d));b=p}if(this.F("matrix"))e=b=a=p;if(b){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.vM);g.Rl(this.uM,h);g.Rl(this.sM,h)}if(a){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.NP);g.Rl(this.MP,h)}if(e){b=this.get("matrix");for(a=0;a<this.gu.length;a++){h.identity();b&&h.multiply(b);h.multiply(this.Dr[a]);g.Rl(this.gu[a],h)}}};a.prototype.CR=function(){if(this.F("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){g.iU(a,
this.get("index"))}.bind(this))}};a.prototype.jZ=function(){return this.get("pressed")?this.tb.D.get("vrPointerSelectionColor"):this.get("over")?this.tb.D.get("vrPointerOverColor"):this.tb.D.get("vrPointerColor")};return a});
define("cO","require,hj,ji,je,gS,hN,jg,do,iR,cC,bd,iB".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("je"),g=a("gS"),f=a("hN"),k=a("jg"),j=a("do"),h=a("iR"),m=a("cC"),e=a("bd"),l=a("iB"),r=new THREE.Matrix4,o=Math.PI/180,a=b.extend(h,function(a){h.call(this,h.dK,a);this.zf=this.k=q;this.Sh=[];this.Rg=new g;this.g.add(this.Rg);this.Bd=new f;this.g.add(this.Bd);this.bh=y;this.se="";this.pa=q;this.Lg=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.Rg);this.g.remove(this.Bd);
this.Bd=this.Rg=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=a;this.Bd.set("changing",a.xH);this.Bd.set("visible",a.xH);var b=m.gI();if(b){var c=b.quaternion(),d=b.position(),f=e.Yl().position,g=l.ta(e.Yl().orientation);this.Lg.identity();if(d){this.Lg.multiply(r.makeRotationY((g-a.ta)*o));this.Lg.multiply(r.makeTranslation(-f.x,-f.y,-f.z));this.Lg.multiply(r.makeTranslation(d.x,d.y,d.z));this.Lg.multiply(r.makeRotationFromQuaternion(c))}else{this.Lg.multiply(r.makeRotationY(-a.ta*
o));b.hand()==m.ma?this.Lg.multiply(r.makeTranslation(-0.2,-0.4,0)):this.Lg.multiply(r.makeTranslation(0.2,-0.4,0));this.Lg.multiply(r.makeRotationY(g*o));this.Lg.multiply(r.makeRotationFromQuaternion(c));this.Lg.multiply(r.makeTranslation(0,0,-0.3))}this.Rg.set("matrix",q);this.Rg.set("matrix",this.Lg);this.Rg.set("pressed",b.pressed());this.Rg.set("visible",p)}else this.Rg.set("visible",y);this.gi();a=!!b&&b.pressed();if(this.bh!=a){this.bh&&this.cu();this.bh=a}this.Rg.kj();this.Bd.kj()};a.prototype.cu=
function(){var a=this.$e(c.Bi);this.hf(a);this.Rg.set("over",p);this.Rg.set("intersectionDistance",a.RD);(a=m.gI())&&a.pulse(0.6,50)};a.prototype.gi=function(){var a=this.$e(c.uh);this.hf(a);this.Ak(a.iC());var b;a:{b=this.Sh;for(var e=a.Sh,d=0;d<b.length;d++)if(e.indexOf(b[d])<0){b=y;break a}for(d=0;d<e.length;d++)if(b.indexOf(e[d])<0){b=y;break a}b=p}if(!b&&(a.Nw()||this.Rg.get("over"))){this.Sh=a.Sh;(b=m.gI())&&b.pulse(0.6,5)}this.Rg.set("over",a.Nw());this.Rg.set("intersectionDistance",a.RD)};
a.prototype.Ak=function(a){if(this.se!=a){this.se&&this.g.remove(this.pa);if(this.se=a){this.pa=new k(this.se);this.pa.set("text",this.se);this.pa.set("matrix",q);this.pa.set("matrix",this.Lg);this.g.add(this.pa)}}};a.prototype.hf=function(a){this.g.BB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.uj(a)}.bind(this))};a.prototype.$e=function(a){this.zf=d.Wla(this.Lg,this.zf);return new j(this,[this.zf],this.aN(),a)};return a});
define("fY","require,hj,ji,je,I,do,iR,N".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("je"),g=a("I"),f=a("do"),k=a("iR"),j=a("N"),a=b.extend(k,function(a){k.call(this,k.UC,a);this.g.D.bind(c.wc,this.Kh,this,p);this.g.D.bind(c.pf,this.J_,this,p);this.g.D.bind(c.pb,this.Mb,this,p);this.g.D.bind(c.Gb,this.Of,this,p);this.wn=this.Xh=this.nc=this.mc=n;this.zf=this.k=q;this.gj=y;this.pa=""});a.prototype.clear=function(){this.g.D.unbind(c.wc,this.Kh,this,p);this.g.D.unbind(c.pf,this.J_,this,p);this.g.D.unbind(c.pb,
this.Mb,this,p);this.g.D.unbind(c.Gb,this.Of,this,p);this.gj&&(this.g.Cw(j.Vd),this.gj=y);this.Ak("")};a.prototype.update=function(a){this.k=a;this.rR()};a.prototype.Kh=function(a){this.mc=a.x;this.nc=a.y;this.sR()};a.prototype.J_=function(){this.nc=this.mc=n;this.sR()};a.prototype.Mb=function(a){this.mc=this.Xh=a.x;this.nc=this.wn=a.y;this.hf(this.$e(c.GV))};a.prototype.Of=function(a){this.mc=a.x;this.nc=a.y;this.hf(this.$e(c.HV));this.WN(this.Xh,this.wn,this.mc,this.nc)&&this.hf(this.$e(c.Bi))};
a.prototype.rR=function(){if(!this.Fk)this.Fk=setTimeout(function(){this.Fk=q;this.gi()}.bind(this),300)};a.prototype.sR=function(){if(this.Fk){clearTimeout(this.Fk);this.Fk=q}this.gi()};a.prototype.gi=function(){var a=this.$e(c.uh);this.hf(a);this.Ak(a.iC());if(this.gj!=a.Nw()){this.gj&&this.g.Cw(j.Vd);(this.gj=a.Nw())&&this.g.nI(j.Vd)}};a.prototype.Ak=function(a){if(this.pa!=a){this.pa=a;this.g.D.set("toolTip",this.pa)}};a.prototype.hf=function(a){this.g.BB().sort(function(a,b){return b.get("index")-
a.get("index")}).forEach(function(b){b.uj(a)}.bind(this))};a.prototype.$e=function(a){return new f(this,this.nE(),q,a)};a.prototype.nE=function(){if(this.mc!==n&&this.nc!==n&&this.k.Te){var a=g.fw(this.k.Te);if(a){this.zf=d.M5(a,this.mc,this.nc,this.k.width,this.k.height,this.zf);return[this.zf]}}return[]};a.prototype.WN=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
define("eh","require,hj,ji,je,I,do,iR".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("je"),g=a("I"),f=a("do"),k=a("iR"),a=b.extend(k,function(a){k.call(this,k.VC,a);this.g.D.bind(c.pb,this.Mb,this,p);this.g.D.bind(c.Gb,this.Of,this,p);this.wn=this.Xh=this.nc=this.mc=n;this.k=q;this.eaa=Array(j.length);this.nga=Array(h.length);this.pa="";this.gi=this.gi.bind(this)});a.prototype.clear=function(){this.g.D.unbind(c.pb,this.Mb,this,p);this.g.D.unbind(c.Gb,this.Of,this,p);this.Ak("")};a.prototype.update=
function(a){this.k=a;this.rR()};a.prototype.Mb=function(a){this.mc=this.Xh=a.x;this.nc=this.wn=a.y;this.hf(this.$e(c.GV))};a.prototype.Of=function(a){this.mc=a.x;this.nc=a.y;this.hf(this.$e(c.HV));this.WN(this.Xh,this.wn,this.mc,this.nc)&&this.hf(this.$e(c.Bi))};a.prototype.rR=function(){if(!this.Fk)this.Fk=setTimeout(this.gi,300)};a.prototype.sR=function(){if(this.Fk){clearTimeout(this.Fk);this.Fk=q}this.gi()};a.prototype.gi=function(){this.Fk=q;var a=this.$e(c.uh);this.hf(a);this.Ak(a.iC())};a.prototype.Ak=
function(a){if(this.pa!=a){this.pa=a;a=this.g.D;if(!a.get("toolTipDisabled")){var b=a.bb().pa;this.pa?b.spa(a,this.pa):b.hide()}}};a.prototype.hf=function(a){this.g.BB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.uj(a)}.bind(this))};a.prototype.$e=function(a){var b;b=a==c.uh?this.nE(this.k.width*0.5,this.k.height*0.5,j,this.eaa):this.nE(this.mc,this.nc,h,this.nga);return new f(this,b,q,a)};a.prototype.nE=function(a,b,c,f){var h=this.k.Te&&g.fw(this.k.Te);if(h){var j=
this.k.width,k=this.k.height,u=Math.min(j,k)/100;c.forEach(function(c,g){f[g]=d.M5(h,a+c[0]*u,b+c[1]*u,j,k,f[g])});return f}return[]};a.prototype.WN=function(a,b,c,d){a=c-a;b=d-b;b=Math.sqrt(a*a+b*b);d=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100);return b<=d};var j=function(){for(var a=[],b=-5;b<=5;b++)for(var c=-5;c<=5;c++){var d=Math.sqrt(c*c+b*b);d<5&&a.push([c,b,d])}for(c=-30;c<-5;c++)a.push([c,0,Math.sqrt(c*c)]);for(c=6;c<=30;c++)a.push([c,0,Math.sqrt(c*c)]);for(b=-15;b<
-5;b++)a.push([0,b,Math.sqrt(b*b)]);for(b=6;b<=15;b++)a.push([0,b,Math.sqrt(b*b)]);a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}(),h=function(){for(var a=[],b=0;b<5;b++)for(var c=-2+4*b/4,d=0;d<5;d++){var f=-2+4*d/4,g=Math.sqrt(f*f+c*c);g<=2&&a.push([f,c,g])}a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}();return a});
define("eE","require,bQ,hi,cO,fY,iR,eh".split(","),function(a){var b=a("bQ"),c=a("hi"),d=a("cO"),g=a("fY"),f=a("iR"),k=a("eh");return{create:function(a,h){switch(a){case f.TC:return new b(h);case f.cK:return new c(h);case f.dK:return new d(h);case f.UC:return new g(h);case f.VC:return new k(h)}}}});
define("jz",["require","N"],function(a){function b(a){this.ub=a;this.Vf=[]}var c=a("N");b.prototype.push=function(a){this.Vf.push(a);this.J()};b.prototype.pop=function(a){for(var b=this.Vf.length-1;0<=b;b--)if(this.Vf[b]==a){this.Vf.splice(b,1);this.J();break}};b.prototype.clear=function(){0<this.Vf.length&&(this.ub.set("cursor",c.rc),this.Vf=[])};b.prototype.J=function(){this.ub.set("cursor",0<this.Vf.length?this.Vf[this.Vf.length-1]:c.rc)};return b});
define("de","require,hj,gO,ji,bL,d,N,t,cC,fk,jn,hr,cW,cE,ed,eE,iR,jz,hZ,gH,gW,bd,S".split(","),function(a){var b=a("hj"),c=a("gO"),d=a("ji"),g=a("bL"),f=a("d"),k=a("N"),j=a("t"),h=a("cC"),m=a("fk"),e=a("jn"),l=a("hr"),r=a("cW"),o=a("cE"),s=a("ed"),t=a("eE"),u=a("iR"),v=a("jz"),x=a("hZ"),w=a("gH"),z=a("gW"),C=a("bd"),A=a("S"),H=Math.PI/180,B=b.extend(f,function(a,b,g){f.call(this);this.Rc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",k.ax);this.set("layout","absolute");this.ya=a;this.D=
b;this.ee=g;this.dM=new v(b);this.uk=q;this.k=new e;this.tb=new s(this.ya,this.D,this.ee,this);this.tb.bind(d.W,this.Aa,this,p);this.wl=new r;this.k.Te=this.wl.pv;this.k.gh=this.wl.fw();this.v_=(new Date).getTime();this.Ma().append(this.wl.lb());this.Dv=new l(b,g);this.Ma().append(this.Dv.lb());this.J3=new w;this.J3.bind(d.P,this.Kfa,this,p);this.V_=new x;this.V_.bind(d.W,this.rfa,this,p);this.fE=new m(this.k.width,this.k.height,this.k.Uc*H);this.bind(d.sb,this.ib,this,p);this.bind(d.qf,this.Qh,this,
p);this.bind(d.gg,this.Nh,this,p);C.bind(d.W,this.Wi,this,p);h.bind(d.W,this.efa,this,p);c.Oe(this.ee,["hotspotsEnabled","preloadEnabled"],function(){this.k.tw=this.ee.get("hotspotsEnabled");this.k.OB=this.ee.get("preloadEnabled");this.Aa()}.bind(this),p);this.Wi();c.Oe(this.ya,["defaultVRPointer"],this.eH.bind(this));this.eH()});B.prototype.create=function(a){return o.create(a)};B.prototype.add=function(a){this.tb.appendChild(a)};B.prototype.remove=function(a){(a=this.tb.lf(a))&&a.remove()};B.prototype.lf=
function(a){return this.tb.lf(a)};B.prototype.BB=function(){return this.tb.all()};B.prototype.E7=function(a){this.k.iI=a};B.prototype.nI=function(a){this.dM.push(a)};B.prototype.Cw=function(a){this.dM.pop(a)};B.prototype.qI=function(a){this.k.xH=a;this.Aa()};B.prototype.getPixelRatio=function(){return this.wl.getPixelRatio()};B.prototype.eH=function(){var a;a=this.k.Kb?h.gI()&&this.ya.get("defaultVRPointer")=="laser"?u.dK:C.UH()==C.f9.EJ?u.cK:u.TC:j.Xa()?u.VC:u.UC;if(!(this.uk&&this.uk.Zf()==a)){this.uk&&
this.uk.clear();this.uk=t.create(a,this);this.uk.update(this.k)}};B.prototype.Yh=function(){this.dM.clear();f.prototype.Yh.call(this)};B.prototype.ib=function(){var a=this.za(),c=this.ab();if(this.k.width!=a||this.k.height!=c)if(!a||!c)b.log("Invalid size values: "+a+" "+c);else{this.k.width=a;this.k.height=c;this.fE.gC(this.k.width);this.fE.x7(this.k.height);this.Aa()}};B.prototype.Qh=function(){this.k.enabled=p;this.Aa()};B.prototype.Nh=function(){this.k.enabled=y;this.Aa()};B.prototype.Wi=function(){this.k.Kb=
C.isPresenting();this.eH();this.Aa()};B.prototype.efa=function(){this.eH();this.Aa()};B.prototype.Kfa=function(){this.Aa()};B.prototype.rfa=function(){this.Aa()};B.prototype.xt=function(a){if(this.k.qh!=a){this.k.qh=a;this.Aa()}};B.prototype.Qa=function(a,c,e,d){if(this.k.ta!=a||this.k.pitch!=c||this.k.bd!=e||this.k.Uc!=d)if(isNaN(a)||isNaN(c)||isNaN(e)||!d)b.log("Invalid position values: "+a+" "+c+" "+e+" "+d);else{this.k.ta=a;this.k.pitch=c;this.k.bd=e;this.k.Uc=d;this.fE.XB(this.k.Uc*H);this.Aa()}};
B.prototype.Tb=function(){return this.k.ta};B.prototype.Yb=function(){return this.k.pitch};B.prototype.Rd=function(){return this.k.bd};B.prototype.ue=function(){return this.k.Uc};B.prototype.wS=function(){return this.k.Kb?this.k.Pe:z.km(this.k.Pe,this.k.width,this.k.height)};B.prototype.xS=function(){return this.k.Pe};B.prototype.unproject=function(a){return this.fE.unproject(a)};B.prototype.Aa=function(){A.Aa(this.cf,this)};B.prototype.cf=function(){if(A.VS){var a=(new Date).getTime(),b=Math.max(1,
Math.min(a-this.v_,33));this.v_=a;this.trigger(new g(B.yJ,{frameTime:b}));if(this.k.enabled){this.k.Qd=b;this.wl.update(this.k);this.k.lS=this.wl.Lla();this.k.wH=this.wl.Kla();this.k.Pe=this.wl.Ila();this.k.tT=this.wl.getPixelRatio();this.tb.update(this.k);this.J3.update(this.k);this.V_.update(this.k);this.uk.update(this.k);this.wl.render()}}else this.Aa()};B.yJ="render start";return B});
define("ij",["require","hj","cu"],function(a){var b=a("hj"),c=a("cu"),a=b.extend(c,function(a,b){c.call(this,a);this.M=b;this.M.bind(EventName.ha("video"),this.SO,this);this.SO()});a.prototype.clear=function(){this.M&&(this.M.unbind(EventName.ha("video"),this.SO,this),this.M=q);c.prototype.clear.call(this)};a.prototype.SO=function(){this.hU(this.M.get("video"))};return a});
define("bu","require,jquery.mod,hj,ji,bL,dX,hH,ew,S,i,M,cM".split(","),function(a){var b=a("jquery.mod"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),k=a("hH"),j=a("ew"),h=a("S"),m=a("i"),e=a("M"),l=a("cM"),a=c.extend(f,function(a,c){f.call(this);this.va=a;this.G=c;this.v=document.createElement("div");this.Lt=b(this.v);this.Zd=q;this.ya=l.create(this.va,this.G.Qe(),this.G.rma());this.ya.bind(e.of,this.gd,this,p);this.ya.bind(e.nm,this.nn,this,p);this.ya.bind(e.ld,this.ff,this,p);this.ya.bind(e.Gf,this.ez,
this,p);this.oA=new m(this.G.t,this.ya);this.Kg=q;this.kg=0;this.DK=p;this.Ta=this.Ra=100;this.Cr=p});a.prototype.clear=function(){this.oA.clear();this.oA=q;this.ya.unbind(e.of,this.gd,this,p);this.ya.unbind(e.nm,this.nn,this,p);this.ya.unbind(e.ld,this.ff,this,p);this.ya.unbind(e.Gf,this.ez,this,p);this.ya.clear();this.Lt=this.v=this.Zd=this.ya=q};a.prototype.lb=O("Lt");a.prototype.getItem=O("G");a.prototype.cd=function(a){if(this.kg!=a){this.kg=a;this.DK=p}};a.prototype.hm=function(a,b){if(this.Ra!=
a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Cr=p}};a.prototype.oq=function(){this.ya.ag(p)};a.prototype.Ct=function(){this.ya.ag(y)};a.prototype.play=function(){this.ya.Sd(j.T)};a.prototype.pause=function(){this.ya.Sd(j.Jc)};a.prototype.stop=function(){this.ya.Sd(j.L)};a.prototype.ui=function(a){this.ya.ui(a)};a.prototype.nj=function(){return this.ya.nj()};a.prototype.Jw=function(a){this.ya.Jw(a)};a.prototype.Un=function(){return this.ya.Un()};a.prototype.render=function(){if(this.Cr){this.Cr=y;var a=
this.G.Ic(),b=this.G.ud(),c,e;switch(this.G.Gc){case k.NONE:c=a;e=b;break;case k.Hj:c=this.Ra;e=b*this.Ra/a;break;case k.fg:e=this.Ta;c=a*this.Ta/b;break;case k.Vk:if(a*this.Ta>b*this.Ra){e=this.Ta;c=a*this.Ta/b}else{c=this.Ra;e=b*this.Ra/a}break;default:if(a*this.Ta>b*this.Ra){c=this.Ra;e=b*this.Ra/a}else{e=this.Ta;c=a*this.Ta/b}}this.p$(Math.round((this.Ra-c)*0.5),Math.round((this.Ta-e)*0.5),Math.round(c),Math.round(e));this.XP()}if(this.DK){this.DK=y;this.mr(this.kg)}};a.prototype.p$=function(a,
b,c,e){this.v.style.position="absolute";this.v.style.left=a+"px";this.v.style.top=b+"px";this.v.style.width=c+"px";this.v.style.height=e+"px"};a.prototype.mr=function(a){if(a==0)this.v.style.display="none";else if(a==1){this.v.style.display="block";this.v.style.filter="";this.v.style.opacity=""}else{this.v.style.display="block";this.v.style.filter="alpha(opacity="+Math.round(a*100)+")";this.v.style.opacity=a}};a.prototype.ff=function(){this.DA();this.XP()};a.prototype.XP=function(){h.Aa(this.Rea,
this)};a.prototype.Rea=function(){this.DA();this.ya&&this.ya.ni()==j.T&&this.XP()};a.prototype.ez=function(){this.DA();this.trigger(new g(d.ua))};a.prototype.gd=function(){this.DA();this.trigger(new g(d.W))};a.prototype.nn=function(){this.DA();this.trigger(new g(d.W))};a.prototype.DA=function(){var a=q;if(this.ya){a=this.ya.MH();if(!this.Kg||!this.Kg.isEqual(a)){this.Kg=a;a=this.Kg.Zd}else a=this.Zd}if(this.Zd!=a){var b=this.Zd;if(this.Zd=a){this.Zd.removeAttribute("style");this.Zd.style.position=
"absolute";this.Zd.style.left=0;this.Zd.style.top=0;this.Zd.style.width="100%";this.Zd.style.height="100%";this.v.appendChild(this.Zd)}b&&this.v===b.parentElement&&this.v.removeChild(b)}};return a});
define("hK","require,cK,jquery.mod,hj,ji,bL,N,d,cD,ij,bu".split(","),function(a){var b=a("cK"),c=a("jquery.mod"),d=a("hj"),g=a("ji"),f=a("bL"),k=a("N"),j=a("d"),h=a("cD"),m=a("ij"),e=a("bu"),a=d.extend(j,function(a,b,e){j.call(this);this.ya=a;this.D=b;this.M=e;this.Rc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",k.ax);this.bind(g.sb,this.ib,this,p);this.bind(g.qf,this.Qh,this,p);this.bind(g.gg,this.Nh,this,p);this.Is=y;this.t2=c("<div/>");this.Dv=new m(b,e);this.Cz=new h.AV;this.Cz.VT(h.AV.FJ);
this.lP=y;[this.t2,this.Dv.lb(),this.Cz.lb()].forEach(function(a,b){this.Ma().append(a);a.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":b})}.bind(this));this.yg=y;this.qe=[];this.tR()});a.prototype.eB=function(a){a=new e(this.bb(),a);a.hm(this.za(),this.ab());a.bind(g.ua,this.pF,this,p);a.bind(g.W,this.T0,this,p);this.t2.append(a.lb());this.qe.push(a);this.yg=p;this.tR()};a.prototype.removeItem=function(a){if(a=this.Vj(a)){if(this.gL==a)this.gL=this.BX=q;this.qe=
b.without(this.qe,a);a.unbind(g.ua,this.pF,this);a.unbind(g.W,this.T0,this,p);a.lb().detach();a.clear();this.yg=p;this.tR()}};a.prototype.tna=function(a){this.Vj(a).pause()};a.prototype.b7=function(a){this.Vj(a).play()};a.prototype.zpa=function(a){this.Vj(a).stop()};a.prototype.JS=function(a){return this.Vj(a).nj()};a.prototype.WT=function(a,b){this.Vj(a).Jw(b)};a.prototype.bma=function(a){return this.Vj(a).Un()};a.prototype.W6=function(a){this.Vj(a).oq()};a.prototype.Jpa=function(a){this.Vj(a).Ct()};
a.prototype.Bg=function(a,b){this.Vj(a).cd(b)};a.prototype.fB=function(a){if(a=this.Vj(a)){this.qe=b.without(this.qe,a);this.qe.push(a);this.yg=p}};a.prototype.cpa=function(a){if(this.lP!=a){this.lP=a;this.Cz.Se(a)}};a.prototype.tR=function(){this.Cz.Se(this.lP&&this.qe.length>0)};a.prototype.render=function(){this.xl&&this.iv()};a.prototype.iv=function(){if(this.Is){this.Is=y;for(var a=this.za(),b=this.ab(),c=0;c<this.qe.length;c++)this.qe[c].hm(a,b);this.Cz.setSize(a,b)}if(this.yg){this.yg=y;for(c=
0;c<this.qe.length;c++)this.qe[c].lb().css("z-index",c+1)}for(c=0;c<this.qe.length;c++)this.qe[c].render()};a.prototype.Vj=function(a){if(this.BX==a)return this.gL;for(var b=q,c=0;c<this.qe.length&&!b;c++)this.qe[c].getItem()==a&&(b=this.qe[c]);this.BX=a;return this.gL=b};a.prototype.ib=function(){this.Is=p;this.render()};a.prototype.Qh=function(){this.xl=p;this.render()};a.prototype.Nh=function(){this.xl=y};a.prototype.T0=function(a){this.dh(a.source.getItem())};a.prototype.pF=function(a){this.WG(a.source.getItem())};
a.prototype.WG=function(a){this.trigger(new f(g.ua,{item:a}))};a.prototype.dh=function(a){this.trigger(new f(g.W,{item:a}))};return a});
define("bg","require,cK,hj,ji,ew,bL,dj,ie,eb,x,de,hK,cJ,bV,er,iU".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("ew"),f=a("bL"),k=a("dj"),j=a("ie"),h=a("eb"),m=a("x"),e=a("de"),l=a("hK"),r=a("cJ"),o=a("bV"),s=a("er"),t=a("iU"),u=c.extend(t,function(){t.call(this);this.set("childrenInteractionEnabled",p);this.set("contentOpaque",p);this.set("creationPolicy",o.bx);this.set("vrPointerColor","#ffffff");this.set("vrPointerOverColor","#007acc");this.set("vrPointerSelectionColor","#ff6600");
this.set("vrPointerDistance",2);this.set("vrPointerSelectionTime",1200);this.set("surfaceReticleColor","#ffffff");this.set("surfaceReticleSelectionColor","#ffffff");this.set("doubleClickAction","toggle_fullscreen");this.set("subtitlesEnabled",p);this.gl=this.oc=this.YD=this.re=q;this.pP=this.sl=y;this.gf=g.L;this.xh=this.ig=q;this.bind(u.FV,this.zfa,this,p);this.bind(u.EV,this.xfa,this,p);this.bind(d.pb,this.yfa,this);this.bind(d.qf,this.wF,this,p);this.bind(d.gg,this.Pfa,this,p);this.hS=new j(this,
"buttonPause",r.wh);this.hS.bind(d.V,this.Uu,this);this.hS.set("state",s.rc);this.jS=new j(this,"buttonPlay",r.wh);this.jS.bind(d.V,this.Vu,this);this.jS.set("state",s.rc);this.iS=new j(this,"buttonPlayPause",r.wh);this.iS.bind(d.V,this.ufa,this);this.iS.set("state",s.rc);this.kS=new j(this,"buttonStop",r.wh);this.kS.bind(d.V,this.ns,this);this.kS.set("state",s.sa);this.Ska=new j(this,"buttonRestart",r.xc);this.Ska.bind(d.V,this.ms,this);this.uH=new j(this,"buttonToggleSubtitles",r.wh);this.uH.bind(d.hg,
function(){this.set("subtitlesEnabled",p)},this,p);this.uH.bind(d.vh,function(){this.set("subtitlesEnabled",y)},this,p);this.bind(d.ha("subtitlesEnabled"),function(){this.uH.set("pressed",this.get("subtitlesEnabled"))},this);this.uH.set("pressed",this.get("subtitlesEnabled"));this.cea=c.eo(this.pka,this);this.bind(d.KC,this.Ofa,this,p)});k.A("ViewerArea",u).B("UIComponent").K({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleSubtitles:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",cardboardPointerColor:"color",cardboardPointerSelectionTime:"number",cardboardPointerSelectionColor:"color",cardboardPointerDistance:"number",externalPlaybackBar:"PlaybackBar",
vrPointerColor:"color",vrPointerOverColor:"color",vrPointerSelectionTime:"number",vrPointerSelectionColor:"color",vrPointerDistance:"number",transitionMode:"enum[blending, fade_out_fade_in]",transitionDuration:"number",blendingTransitionDuration:"number",disolveTransitionDuration:"number",displayTooltipInTouchScreens:"bool",doubleClickAction:"enum[toggle_fullscreen, none]",firstTransitionDuration:"number",translationTransitionDuration:"number",translationTransitionEnabled:"bool",progressBackgroundColor:"or[array[color], color]",
progressBackgroundColorDirection:"enum[horizontal, vertical]",progressBackgroundColorRatios:"array[number]",progressBackgroundOpacity:"number",progressBarBackgroundColor:"or[array[color], color]",progressBarBackgroundColorDirection:"enum[horizontal, vertical]",progressBarBackgroundColorRatios:"array[number]",progressBarBorderColor:"color",progressBarBorderRadius:"number",progressBarBorderSize:"number",progressBarOpacity:"number",progressBorderColor:"color",progressBorderRadius:"number",progressBorderSize:"number",
progressBottom:"or[number, percent]",progressHeight:"or[number, percent]",progressLeft:"or[number, percent]",progressOpacity:"number",progressRight:"or[number, percent]",externalProgressBar:"ProgressBar",playbackBarBackgroundColor:"or[array[color], color]",playbackBarBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarBackgroundOpacity:"number",playbackBarBorderColor:"color",playbackBarBorderRadius:"number",playbackBarBorderSize:"number",playbackBarBottom:"or[number, percent]",playbackBarHeight:"or[number, percent]",
playbackBarWidth:"or[number, percent]",playbackBarLeft:"or[number, percent]",playbackBarOpacity:"number",playbackBarRight:"or[number, percent]",playbackBarLiveDragging:"bool",playbackBarProgressBackgroundColor:"or[array[color], color]",playbackBarProgressBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarProgressBackgroundColorRatios:"array[number]",playbackBarProgressBorderColor:"color",playbackBarProgressBorderRadius:"number",playbackBarProgressBorderSize:"number",playbackBarProgressOpacity:"number",
playbackBarHeadBackgroundColor:"or[array[color], color]",playbackBarHeadBackgroundColorDirection:"enum[horizontal, vertical]",playbackBarHeadBackgroundColorRatios:"array[number]",playbackBarHeadBorderColor:"color",playbackBarHeadBorderRadius:"number",playbackBarHeadBorderSize:"number",playbackBarHeadOpacity:"number",playbackBarHeadWidth:"or[number, percent]",playbackBarHeadHeight:"or[number, percent]",playbackBarHeadShadow:"bool",playbackBarHeadShadowBlurRadius:"number",playbackBarHeadShadowColor:"color",
playbackBarHeadShadowHorizontalLength:"number",playbackBarHeadShadowOpacity:"number",playbackBarHeadShadowSpread:"number",playbackBarHeadShadowVerticalLength:"number",playbackState:"enum[stopped, playing, paused]",subtitlesBackgroundColor:"color",subtitlesBackgroundOpacity:"number",subtitlesBorderColor:"color",subtitlesBorderSize:"number",subtitlesBottom:"or[number, percent]",subtitlesEnabled:"bool",subtitlesFontFamily:"string",subtitlesFontColor:"color",subtitlesFontSize:"or[number, size]",subtitlesFontStyle:"enum[italic, normal]",
subtitlesFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",subtitlesGap:"number",subtitlesHorizontalAlign:"enum[left, center, right]",subtitlesOpacity:"number",subtitlesPaddingTop:"number",subtitlesPaddingBottom:"number",subtitlesPaddingLeft:"number",subtitlesPaddingRight:"number",subtitlesShadow:"bool",subtitlesShadowBlurRadius:"number",subtitlesShadowColor:"color",subtitlesShadowOpacity:"number",subtitlesShadowHorizontalLength:"number",subtitlesShadowVerticalLength:"number",
subtitlesTextDecoration:"enum[underline, overline, line-through, none]",subtitlesTextShadowBlurRadius:"number",subtitlesTextShadowColor:"color",subtitlesTextShadowHorizontalLength:"number",subtitlesTextShadowOpacity:"number",subtitlesTextShadowVerticalLength:"number",subtitlesTop:"or[number, percent]",subtitlesVerticalAlign:"enum[top, middle, bottom]",surfaceReticleColor:"color",surfaceReticleSelectionColor:"color"}).Cg({play:function(){this.Vu()},pause:function(){this.Uu()},stop:function(){this.ns()},
restart:function(){this.ms()}});u.Ya={progressBackgroundColor:n,progressBackgroundColorDirection:n,progressBackgroundColorRatios:n,progressBackgroundOpacity:n,progressBarBackgroundColor:n,progressBarBackgroundColorDirection:n,progressBarBackgroundColorRatios:n,progressBarBorderColor:n,progressBarBorderRadius:n,progressBarBorderSize:n,progressBarOpacity:n,progressBorderColor:n,progressBorderRadius:n,progressBorderSize:n,progressBottom:0,progressHeight:20,progressLeft:0,progressOpacity:n,progressPercent:0,
progressRight:0,progressVisible:y,externalPlaybackBar:n,externalProgressBar:n,playbackBarBackgroundColor:n,playbackBarBackgroundColorDirection:n,playbackBarBackgroundOpacity:n,playbackBarBorderColor:n,playbackBarBorderRadius:n,playbackBarBorderSize:n,playbackBarBottom:10,playbackBarHeight:n,playbackBarWidth:n,playbackBarLeft:n,playbackBarOpacity:n,playbackBarRight:n,playbackBarLiveDragging:n,playbackBarDuration:100,playbackBarPosition:0,plabackBarSteps:n,plabackBarSelectedStep:n,playbackBarVisible:y,
playbackBarProgressBackgroundColor:n,playbackBarProgressBackgroundColorDirection:n,playbackBarProgressBackgroundColorRatios:n,playbackBarProgressBorderColor:n,playbackBarProgressBorderRadius:n,playbackBarProgressBorderSize:n,playbackBarProgressOpacity:n,playbackBarHeadBackgroundColor:n,playbackBarHeadBackgroundColorDirection:n,playbackBarHeadBackgroundColorRatios:n,playbackBarHeadBorderColor:n,playbackBarHeadBorderRadius:n,playbackBarHeadBorderSize:n,playbackBarHeadOpacity:n,playbackBarHeadWidth:n,
playbackBarHeadHeight:n,playbackBarHeadShadow:n,playbackBarHeadShadowBlurRadius:n,playbackBarHeadShadowColor:n,playbackBarHeadShadowHorizontalLength:n,playbackBarHeadShadowOpacity:n,playbackBarHeadShadowSpread:n,playbackBarHeadShadowVerticalLength:n,playbackBarStepBackgroundColor:n,playbackBarStepBackgroundColorDirection:n,playbackBarStepBackgroundColorRatios:n,playbackBarStepBorderColor:n,playbackBarStepBorderRadius:n,playbackBarStepBorderSize:n,playbackBarStepOpacity:n,playbackBarStepWidth:n,playbackBarStepHeight:n,
playbackBarStepShadow:n,playbackBarStepShadowBlurRadius:n,playbackBarStepShadowColor:n,playbackBarStepShadowHorizontalLength:n,playbackBarStepShadowOpacity:n,playbackBarStepShadowSpread:n,playbackBarStepShadowVerticalLength:n,playbackBarStepSelectedBackgroundColor:n,playbackBarStepSelectedBackgroundColorDirection:n,playbackBarStepSelectedBackgroundColorRatios:n,playbackBarStepSelectedBorderColor:n,playbackBarStepSelectedBorderRadius:n,playbackBarStepSelectedBorderSize:n,playbackBarStepSelectedOpacity:n,
playbackBarStepSelectedWidth:n,playbackBarStepSelectedHeight:n,playbackBarStepSelectedShadow:n,playbackBarStepSelectedShadowBlurRadius:n,playbackBarStepSelectedShadowColor:n,playbackBarStepSelectedShadowHorizontalLength:n,playbackBarStepSelectedShadowOpacity:n,playbackBarStepSelectedShadowSpread:n,playbackBarStepSelectedShadowVerticalLength:n,subtitlesBackgroundColor:"#000000",subtitlesBackgroundOpacity:1,subtitlesBorderColor:n,subtitlesBorderSize:0,subtitlesBottom:"10%",subtitlesFontFamily:n,subtitlesFontColor:"#ffffff",
subtitlesFontSize:"12px",subtitlesFontStyle:n,subtitlesFontWeight:n,subtitlesGap:10,subtitlesHorizontalAlign:"center",subtitlesOpacity:1,subtitlesPaddingTop:5,subtitlesPaddingBottom:5,subtitlesPaddingLeft:5,subtitlesPaddingRight:5,subtitlesShadow:y,subtitlesShadowBlurRadius:n,subtitlesShadowHorizontalLength:0,subtitlesShadowVerticalLength:0,subtitlesShadowColor:"#000000",subtitlesShadowOpacity:0,subtitlesTextDecoration:n,subtitlesTextShadowBlurRadius:n,subtitlesTextShadowColor:"#000000",subtitlesTextShadowHorizontalLength:0,
subtitlesTextShadowOpacity:0,subtitlesTextShadowVerticalLength:0,subtitlesTop:n,subtitlesVerticalAlign:"bottom",transitionDuration:500,blendingTransitionDuration:n,disolveTransitionDuration:n,translationTransitionDuration:n,translationTransitionEnabled:p,toolTipEnabled:p};b.defaults(u.Ya,t.Ya);u.prototype.set=function(a,b){if(a=="playbackState"){b=this.gf;if(this.get(a)!=b){this.pP=p;this.cea()}}switch(a){case "toolTipEnabled":this.set("toolTipDisabled",b===y);break;case "cardboardPointerDistance":this.set("vrPointerDistance",
b);break;case "cardboardPointerColor":this.set("vrPointerColor",b);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",b);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",b)}t.prototype.set.call(this,a,b)};u.prototype.oa=function(){this.Ji(u.Ya)};u.prototype.Ja=function(){t.prototype.Ja.call(this);if(this.re==q){this.re=new m;this.qa(this.re)}if(this.oc==q){this.oc=new h;this.oc.bind(d.W,this.mP,this,p);this.qa(this.oc)}};u.prototype.$la=O("oc");
u.prototype.rh=function(){t.prototype.rh.call(this);var a=this.Pa(),c=b(a).find(function(a){return a instanceof e}),d=b(a).find(function(a){return a instanceof l}),f=this.re&&this.tB(this.re)>=0?this.re:q,g=this.oc&&this.tB(this.oc)>=0?this.oc:q;b([{child:c,index:0},{child:d,index:c?1:0},{child:g,index:a.length-(f?2:1)},{child:f,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.tB(b)!=a&&this.ri(b,a)},this)};u.prototype.ba=function(){if(this.m("externalProgressBar")){(this.YD=this.j("externalProgressBar"))?
this.removeChild(this.re):this.qa(this.re);this.o("externalProgressBar");b(u.FW).each(function(a){this.Fs(a)},this)}this.Ua(u.w9,u.tW,[this.re],p,p);var a=[this.re];this.YD&&a.push(this.YD);this.Ua(u.FW,u.GW,a,p,p);if(this.m("externalPlaybackBar")){this.gl&&this.gl.unbind(d.W,this.mP,this,p);(this.gl=this.j("externalPlaybackBar"))?this.removeChild(this.oc):this.qa(this.oc);this.gl&&this.gl.bind(d.W,this.mP,this,p);this.o("externalPlaybackBar");b(u.AW).each(function(a){this.Fs(a)},this)}this.Ua(u.v9,
u.sW,[this.oc],p,p);a=[this.oc];this.gl&&a.push(this.gl);this.Ua(u.AW,u.BW,a,p,p);t.prototype.ba.call(this)};u.prototype.pka=function(){if(this.pP){this.pP=y;this.hS.set("state",this.gf==g.Jc?s.sa:s.rc);this.jS.set("state",this.gf==g.T||this.gf==g.Jc?s.sa:s.rc);this.iS.set("state",this.gf==g.T?s.sa:s.rc);this.kS.set("state",this.gf==g.L?s.sa:s.rc)}};u.prototype.ob=function(a){this.gf=a;this.set("playbackState",a)};u.prototype.wF=function(){u.Qh(this)};u.prototype.Pfa=function(){u.Nh(this)};u.prototype.Uu=
function(){this.gf==g.Jc?this.tg():this.rk()};u.prototype.Vu=function(){this.tg()};u.prototype.ufa=function(){this.gf==g.T?this.rk():this.tg()};u.prototype.ns=function(){this.dj()};u.prototype.ms=function(){this.dj();this.tg()};u.prototype.Ofa=function(){if(!this.ig||!this.ig.g5())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.bb().qg;a&&a.available()&&a.toggle()}};u.prototype.tg=function(){this.xh&&this.xh.play()};u.prototype.rk=function(){this.xh&&this.xh.pause()};u.prototype.dj=
function(){this.xh&&this.xh.stop()};u.prototype.zfa=function(a){this.M2(a.data.player)};u.prototype.xfa=function(a){this.ig==a.data.player&&this.M2(q)};u.prototype.yfa=function(){u.Nk(this)};u.prototype.M2=function(a){if(this.ig!=a){this.ig&&this.ig.Nk(y);this.xh&&this.xh.unbind(d.ha("state"),this.yK,this);this.rga=this.ig;(this.ig=a)&&this.ig.Nk(!!this.Ju);(this.xh=this.ig&&this.ig.Z$?this.ig:q)&&this.xh.bind(d.ha("state"),this.yK,this,p);this.yK()}};u.prototype.Nk=function(a){this.Ju=a;this.ig&&
this.ig.Nk(!!this.Ju)};u.prototype.Spa=function(){return!this.rga};u.prototype.yK=function(){this.xh?this.ob(this.xh.get("state")):this.ob(g.L)};u.prototype.mP=function(){var a=(this.gl?this.gl:this.oc).get("position");this.trigger(new f(u.vJ,{position:a}))};u.tW={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"};u.w9=
b(u.tW).keys();u.GW={progressPercent:"percent",progressVisible:"visible"};u.FW=b(u.GW).keys();u.sW={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"};u.v9=b(u.sW).keys();u.BW={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",
playbackBarVisible:"visible"};u.AW=b(u.BW).keys();u.TJ="requestByPlayer";u.FV="playerShow";u.EV="playerHide";u.vJ="playbackBarPositionChange";u.$r=q;u.Nk=function(a){if(u.$r!=a){u.$r&&u.$r.Nk(y);u.$r=a;u.$r&&u.$r.Nk(p)}};u.bq=[];u.Qh=function(a){var b=u.bq.indexOf(a);b<0&&u.bq.splice(b,1);u.bq.push(a);this.Nk(a)};u.Nh=function(a){var b=u.bq.indexOf(a);b<0&&u.bq.splice(b,1);u.$r==a&&u.Nk(u.bq.length?u.bq[u.bq.length-1]:q)};return u});
define("cd","hj,hA,ji,bL,dj,bg".split(","),function(a,b,c,d,g,f){var k=a.extend(b,function(a){b.call(this);this.Z$=a;this.bA=this.np=q});k.Ue="mediaShow";k.Eg="mediaHide";k.prototype.Nk=D();k.prototype.g5=Q(y);k.prototype.zG=function(a){if(this.np!=a){this.np&&this.eR(this.np);(this.np=a)&&this.ZK(this.np)}};k.prototype.ZK=function(a){a.bind(f.TJ,this.O4,this);a.bind(f.vJ,this.QF,this)};k.prototype.eR=function(a){a.unbind(f.TJ,this.O4,this);a.unbind(f.vJ,this.QF,this)};k.prototype.cG=function(){this.np.trigger(new d(f.TJ,
{player:this}))};k.prototype.O4=function(a){a.data.player!=this&&this.mA()};k.prototype.QF=D();k.prototype.mA=D();k.prototype.ZE=function(a){this.trigger(new d(k.Ue,{media:a}));this.bA=this.np;this.bA.trigger(new d(f.FV,{player:this}))};k.prototype.YE=function(a){this.trigger(new d(k.Eg,{media:a}));if(this.bA){this.bA.trigger(new d(f.EV,{player:this}));this.bA=q}};return k});
define("fx","hj,hA,ji,bL,dj,ie,cd,bg,ew,cJ,er".split(","),function(a,b,c,d,g,f,k,j,h,m,e){var l=a.extend(k,function(){k.call(this,p);this.sl=y;this.KQ=p;this.k=h.L;this.bL=new f(this,"buttonPlayPause",m.wh);this.bL.bind(c.hg,this.vfa,this,p);this.bL.bind(c.vh,this.wfa,this,p);this.uX=new f(this,"buttonPause",m.xc);this.uX.bind(c.V,this.Uu,this,p);this.vX=new f(this,"buttonPlay",m.xc);this.vX.bind(c.V,this.Vu,this,p);this.yX=new f(this,"buttonStop",m.xc);this.yX.bind(c.V,this.ns,this,p);this.R$=new f(this,
"buttonRestart",m.xc);this.R$.bind(c.V,this.ms,this,p);this.i_=a.eo(this.cka,this);this.i_()});l.prototype.set=function(a,b){a!="state"&&k.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){switch(a){case "state":return this.k}return k.prototype.get.call(this,a,b)};l.prototype.cka=function(){if(this.KQ){this.KQ=y;this.uX.set("state",this.k==h.Jc?e.sa:e.rc);this.vX.set("state",this.k==h.T||this.k==h.Jc?e.sa:e.rc);this.bL.set("pressed",this.k==h.T);this.yX.set("state",this.k==h.L?e.sa:e.rc)}};
l.prototype.vv=function(a){if(this.sl!=a)(this.sl=a)||this.ob(h.L)};l.prototype.ob=function(a){var b=this.k;this.k=a;k.prototype.set.call(this,"state",a);if(b!=this.k){this.KQ=p;this.i_();this.trigger(new d(l.ld,{oldState:b,state:this.k}))}};l.prototype.Uu=function(){this.sl&&(this.k==h.Jc?this.tg():this.rk())};l.prototype.Vu=function(){this.sl&&this.tg()};l.prototype.vfa=function(){this.sl&&this.tg()};l.prototype.wfa=function(){this.sl&&this.rk()};l.prototype.ns=function(){this.sl&&this.dj()};l.prototype.ms=
function(){if(this.sl){this.dj();this.tg()}};l.prototype.tg=D();l.prototype.rk=D();l.prototype.dj=D();l.ld="stateChange";return l});define("gt",[],function(){return{Iq:"constrained",v8:"free_drag",gqa:"free_drag_and_rotation",$J:"sync_with_field_of_view"}});
define("gP",["hj","gt","hH"],function(a,b,c){function d(){this.Y=p;this.$=this.Z=0.5;this.qb=0;this.la=1;this.Gc=c.je;this.Lh=b.Iq;this.sO=this.vO=1;this.kc=this.lc=this.Ah=this.Bh=100;this.Zh=d.dr}d.prototype.l6=function(){return this.Zh!==d.dr};d.prototype.k6=function(){return this.Zh&d.Mt?p:y};d.prototype.m6=function(){return this.Zh&d.Nt?p:y};d.prototype.n6=function(){return this.Zh&d.ir?p:y};d.prototype.j6=function(){return this.Zh&d.cr?p:y};d.prototype.kh=function(){this.hi();return this.Z};
d.prototype.lh=function(){this.hi();return this.$};d.prototype.Kk=function(){this.hi();return this.la};d.prototype.cw=function(){this.hi();return this.qb};d.prototype.TB=function(a,b,c,d,h){this.lc=a;this.kc=b;this.Gc=c;this.vO=d;this.sO=h;this.$=this.Z=0.5;this.qb=0;this.la=d;this.Y=p};d.prototype.Qa=function(a,b,c,d){this.Z=a;this.$=b;this.qb=c;this.la=d;this.Y=p};d.prototype.Ok=function(a){this.Lh=a;this.Y=p};d.prototype.setSize=function(a,b){this.Bh=a;this.Ah=b;this.Y=p};d.prototype.hi=function(){if(this.Y){this.Y=
y;var a=d.dr;this.la>this.sO?(this.la=this.sO,a|=d.x9):this.la<this.vO&&(this.la=this.vO,a|=d.y9);var f,k,j,h;if(this.Lh==b.Iq){switch(this.Gc){case c.NONE:k=this.lc;h=this.kc;break;case c.Hj:k=this.Bh;h=this.kc*this.Bh/this.lc;break;case c.fg:k=this.lc*this.Ah/this.kc;h=this.Ah;break;case c.Vk:this.lc*this.Ah>this.kc*this.Bh?(k=this.lc*this.Ah/this.kc,h=this.Ah):(k=this.Bh,h=this.kc*this.Bh/this.lc);break;default:case c.je:this.lc*this.Ah>this.kc*this.Bh?(k=this.Bh,h=this.kc*this.Bh/this.lc):(k=
this.lc*this.Ah/this.kc,h=this.Ah)}k*=this.la;h*=this.la;f=Math.min(0.5*this.Bh/k,0.5);k=Math.max(1-0.5*this.Bh/k,0.5);j=Math.min(0.5*this.Ah/h,0.5);h=Math.max(1-0.5*this.Ah/h,0.5)}else f=0,k=1,j=0,h=1;this.Z<f?(this.Z=f,a|=d.Mt):this.Z>k&&(this.Z=k,a|=d.Nt);this.$<j?(this.$=j,a|=d.ir):this.$>h&&(this.$=h,a|=d.cr);if((this.Lh==b.Iq||this.Lh==b.v8)&&0!=this.qb)this.qb=0,a|=d.C9;this.Zh=a}};d.dr=0;d.Mt=1;d.Nt=2;d.ir=4;d.cr=8;d.y9=16;d.x9=32;d.C9=64;return d});
define("ea",[],function(){function a(){this.by=0.1;this.OD=this.SL=this.WL=this.VL=this.cM=this.RL=this.aM=this.$L=this.cB=this.dS=this.kr=this.FK=this.aB=this.aS=this.ZA=this.ZR=0}a.prototype.rI=N("by");a.prototype.G7=function(a,c,d,g,f,k,j,h){this.ZR=a;this.aS=c;this.FK=d;this.dS=g;this.ZA+=f;this.aB+=k;this.kr+=j;this.cB+=h};a.prototype.ad=function(){return 0!=this.$L||0!=this.aM||0!=this.RL||0!=this.cM||0!=this.ZR||0!=this.aS||0!=this.FK||0!=this.dS||0!=this.ZA||0!=this.aB||0!=this.kr||0!=this.cB};
a.prototype.cb=function(a){a=1E3/a;this.VL=this.VD(this.$L/a,this.ZR/a+this.ZA,this.by);this.WL=this.VD(this.aM/a,this.aS/a+this.aB,this.by);this.SL=this.VD(this.RL/a,this.FK/a+this.kr,this.by);this.OD=this.VD(this.cM/a,this.dS/a+this.cB,this.by);this.$L=this.VL*a;this.aM=this.WL*a;this.RL=this.SL*a;this.cM=this.OD*a;this.cB=this.kr=this.aB=this.ZA=0};a.prototype.VD=function(a,c,d){return 0==c?this.me(a,c,d):c};a.prototype.me=function(a,c,d){a=(c-a)*(1-d);0.01>Math.abs(a)&&(a=0);return c-a};return a});
define("ee",["hj","ji","bL","dX","hH"],function(a,b,c,d){var g=a.extend(d,function(){d.call(this);this.pu=7;this.fF=this.SN=y;this.hF=n;this.qb=0;this.la=1;this.kc=this.lc=100;this.KE=1;this.vP=p;this.wP=y;this.Eka=p;this.cS=y;this.Ba=q});g.prototype.UB=N("pu");g.prototype.Sd=function(a,b,c,d){this.qb=a;this.la=b;this.lc=c;this.kc=d};g.prototype.gpa=function(a){this.vP=a;this.vG(this.vP&&!!this.Ba)};g.prototype.SB=function(a){this.Ba!=a&&(this.vG(y),this.vQ(y),this.Ql(),this.Ba=a,this.vG(this.vP&&
!!this.Ba),this.vQ(this.Eka&&!!this.Ba))};g.prototype.Ql=function(){this.vG(y);this.vQ(y);this.Ba=q};g.prototype.vG=function(a){this.wP!=a&&((this.wP=a)?this.C$():this.Cja())};g.prototype.vQ=function(a){this.cS!=a&&((this.cS=a)?this.D$():this.Dja())};g.prototype.C$=function(){this.Ba.bind(b.pb,this.Mb,this,p);this.Ba.bind(b.wc,this.Kh,this,p);this.Ba.bind(b.Gb,this.Of,this,p)};g.prototype.Cja=function(){this.Ba.unbind(b.pb,this.Mb,this);this.Ba.unbind(b.wc,this.Kh,this);this.Ba.unbind(b.Gb,this.Of,
this)};g.prototype.D$=function(){this.Ba.bind(b.so,this.ds,this,p);this.Ba.bind(b.Ht,this.Qr,this,p)};g.prototype.Dja=function(){this.Ba.unbind(b.so,this.ds,this);this.Ba.unbind(b.Ht,this.Qr,this)};g.prototype.Mb=function(a){this.Dia(a)};g.prototype.Kh=function(a){this.s4(a)};g.prototype.Of=function(){this.HM()};g.prototype.ds=function(a){this.DR(a)};g.prototype.Qr=function(a){this.ER(a)};g.prototype.Dia=function(a){this.SN=p;this.fF=y;this.hF=a;this.s4(a)};g.prototype.s4=function(a){if(this.SN){var b=
a.pageX-this.hF.pageX,d=a.pageY-this.hF.pageY;this.fF||(Math.sqrt(b*b+d*d)>this.pu?this.fF=p:b=d=0);this.fF&&(this.hF=a);a=this.qb*Math.PI/180;this.trigger(new c(g.Dj,{xDelta:-((b*Math.cos(a)+d*Math.sin(a))/this.lc),yDelta:-((d*Math.cos(a)-b*Math.sin(a))/this.kc)}))}};g.prototype.HM=function(){this.SN=y};g.prototype.ER=function(a){if(this.KE!=a.scale){this.HM();var b=this.KE;this.KE=a.scale;this.trigger(new c(g.Gj,{zoomDelta:this.la*this.KE/b-this.la}))}};g.prototype.DR=function(a){0!=a.Qn&&(this.HM(),
this.trigger(new c(g.Gj,{zoomDelta:0.1*this.la*a.rS})))};g.Dj="position change";g.Gj="zoom change";g.yqa="vieport navigation";g.xqa="relative navigation";g.wqa="relative exponential navigation";g.vqa="dragging";return g});define("gi",[],function(){return{UJ:"rotateClockwise",VJ:"rotateCounterClockwise",tm:"zoomIn",um:"zoomOut",nd:"stop"}});
define("iC","hj,bL,dX,hH,ea,ee,gi,ji".split(","),function(a,b,c,d,g,f,k){var j=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.il=this.YF=this.U=y;this.$=this.Z=0.5;this.qb=0;this.la=1;this.kc=this.lc=100;this.Gc=d.Iq;this.hb=new g;this.Ga=new f;if(this.g.Mi){this.Ga.UB(j.rK);this.hb.rI(j.sK)}else{this.Ga.UB(0);this.hb.rI(1)}this.Ga.bind(f.Dj,this.nfa,this,p);this.Ga.bind(f.Gj,this.tp,this,p)});j.prototype.clear=function(){this.Ga.unbind(f.Dj,this.Qra,this,p);this.Ga.unbind(f.Gj,this.tp,
this,p);this.Ga.Ql();this.g=this.H=this.hb=this.Ga=q};j.prototype.$f=function(a){switch(a){case k.UJ:this.rb(0,0,+j.mK,0,0,0,0,0);break;case k.VJ:this.rb(0,0,-j.mK,0,0,0,0,0);break;case k.tm:this.rb(0,0,0,+j.mx,0,0,0,0);break;case k.um:this.rb(0,0,0,-j.mx,0,0,0,0);break;case k.nd:this.rb(0,0,0,0,0,0,0,0)}};j.prototype.Qa=function(a,b,c,d,f,g){this.Z=a;this.$=b;this.qb=c;this.la=d;this.lc=f;this.kc=g;this.Ga.Sd(this.qb,this.la,this.lc,this.kc)};j.prototype.ad=function(){return this.U&&this.hb.ad()};
j.prototype.cb=function(a){this.hb.cb(a);this.H.Qa(this.Z+this.hb.VL,this.$+this.hb.WL,this.qb+this.hb.SL,this.la+this.hb.OD);this.Z=this.H.kh();this.$=this.H.lh();this.qb=this.H.cw();this.la=this.H.Kk()};j.prototype.YB=function(a){this.il=a;this.Ga.gpa(!this.il)};j.prototype.vd=function(a){(this.U=a)?this.Ga.SB(this.g.getParent()):this.Ga.Ql()};j.prototype.nfa=function(a){this.rb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};j.prototype.tp=function(a){this.rb(0,0,0,0,0,0,0,a.data.zoomDelta)};j.prototype.rb=
function(a,b,c,d,f,g,j,k){this.hb.G7(a,b,c,d,f,g,j,k);this.Xf()};j.prototype.Xf=function(){this.trigger(new b(j.dg))};j.dg="position change request";j.rK=7;j.sK=0.2;j.mx=0.5;j.mK=30;return j});
define("ic","hj,bL,dX,iX,bk,ea,ee,gi,ji".split(","),function(a,b,c,d,g,f,k,j){var h=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.U=y;this.$=this.Z=0.5;this.qb=0;this.la=1;this.kc=this.lc=100;this.I=q;this.CM=p;this.nb=q;this.DF=0;this.Dl=this.Jn=this.In=n;this.hb=new f;this.Ga=new k;if(this.g.Mi){this.Ga.UB(h.rK);this.hb.rI(h.sK)}else{this.Ga.UB(0);this.hb.rI(1)}this.Ga.bind(k.Gj,this.tp,this,p)});h.prototype.Soa=function(a,b){this.lc=a;this.kc=b;this.jH()};h.prototype.jo=function(a){if(this.nb!=
a){this.nb=a;this.DF=n;this.jH()}};h.prototype.tj=function(a,b){if(this.nb==a){this.DF=b;this.jH()}};h.prototype.jH=function(){var a,b,c;if(this.nb&&this.DF!=n){a=this.nb.get("x",0)/this.lc;b=this.nb.get("y",0)/this.kc;c=-(this.DF+this.nb.get("angle",0))}else c=b=a=n;if(this.Dl!=c){this.Dl=c;this.Xf()}if(this.In!=a||this.Jn!=b){this.In=a;this.Jn=b;this.bea();this.Xf()}};h.prototype.bea=function(){this.CM=p;this.Xf()};h.prototype.EA=function(){if(this.CM||this.I&&this.I.he()){this.CM=y;this.I=q;if(this.In!=
n&&this.Jn!=n&&this.Dl!=n){for(var a=this.Dl-this.qb;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.Z!=this.In||this.$!=this.Jn)this.I=new d("quad_in_out",[new g("x",this.Z,this.In,1),new g("y",this.$,this.Jn,1),new g("angleDif",a,a,360)],500);else if(this.Dl!=this.qb)this.I=new d("quad_in_out",[new g("x",this.Z,this.Z,1),new g("y",this.$,this.$,1),new g("angleDif",a,0,360)],500)}}};h.prototype.clear=function(){this.Ga.unbind(k.Gj,this.tp,this,p);this.Ga.Ql();this.g=this.H=this.I=this.hb=this.Ga=q};
h.prototype.$f=function(a){switch(a){case j.tm:this.rb(+h.mx,0);break;case j.um:this.rb(-h.mx,0);break;case j.nd:this.rb(0,0)}};h.prototype.Qa=function(a,b,c,d,f,g){this.Z=a;this.$=b;this.qb=c;this.la=d;this.Ga.Sd(this.qb,this.la,f,g)};h.prototype.ad=function(){return this.U&&(this.I||this.hb.ad()||this.In!=n&&this.Z!=this.In||this.Jn!=n&&this.$!=this.Jn||this.Dl!=n&&this.qb!=this.Dl)?p:y};h.prototype.cb=function(a){this.EA();if(this.I){this.I.cb(a);this.Z=this.I.kb("x");this.$=this.I.kb("y");this.qb=
this.Dl-this.I.kb("angleDif")}else{if(this.In!=n)this.Z=this.In;if(this.Jn!=n)this.$=this.Jn;if(this.Dl!=n)this.qb=this.Dl}this.hb.cb(a);this.H.Qa(this.Z,this.$,this.qb,this.la+this.hb.OD);this.Z=this.H.kh();this.$=this.H.lh();this.qb=this.H.cw();this.la=this.H.Kk()};h.prototype.vd=function(a){if(this.U=a){this.Ga.SB(this.g.getParent());this.jH()}else this.Ga.Ql()};h.prototype.tp=function(a){this.rb(0,a.data.zoomDelta)};h.prototype.rb=function(a,b){this.hb.G7(0,0,0,a,0,0,0,b);this.Xf()};h.prototype.Xf=
function(){this.trigger(new b(h.dg))};h.dg="position change request";h.rK=7;h.sK=0.2;h.mx=0.5;h.mK=30;return h});
define("iP","hj,bL,dX,gt,hH,gP,iC,ic,ji".split(","),function(a,b,c,d,g,f,k,j,h){var m=a.extend(c,function(a){c.call(this);this.g=a;this.g.bind(h.sb,this.ib,this);this.Lh=d.Iq;this.nb=q;this.$=this.Z=0.5;this.qb=0;this.la=1;this.na=q;this.lG=this.kG=this.Nl=this.Ml=y;this.bi=p;this.U=y;this.H=new f;this.H.Ok(this.Lh);this.La=new k(this.g,this.H);this.La.bind(k.dg,this.un,this,p);this.jf=new j(this.g,this.H);this.jf.bind(j.dg,this.un,this,p);this.$F()});m.prototype.clear=function(){this.La.unbind(k.dg,
this.un,this);this.La.clear();this.La=q;this.jf.unbind(j.dg,this.un,this);this.jf.clear();this.na=this.H=this.jf=q;this.g.unbind(h.sb,this.ib,this);this.g=q};m.prototype.stop=function(){this.Sb=this.na=q;this.U=y;this.La.vd(y);this.jf.vd(y);this.Fn(0,0,0,0)};m.prototype.start=function(a){var b=a.na,c=b.get("width",100),d=b.get("height",100),f=b.get("scaleMode",g.je),h=b.get("minimumZoomFactor",1),j=b.get("maximumZoomFactor",1),k=b.get("initialZoomFactor",1);this.na=b;this.U=p;this.Sb=a.getItem();
this.Fn(0,0,0,0);this.jf.Soa(c,d);this.H.TB(c,d,f,h,j);this.H.Qa(0.5,0.5,0,k);this.g.ZB(this.Sb,this.H.kh(),this.H.lh(),this.H.cw(),this.H.Kk());this.$F()};m.prototype.$f=function(a){this.La.$f(a);this.jf.$f(a)};m.prototype.Ok=function(a){if(this.Lh!=a){this.Lh=a;this.H.Ok(a);this.$F()}};m.prototype.jo=function(a){if(this.nb!=a){this.nb=a;this.jf.jo(a);this.$F()}};m.prototype.YB=function(a){this.La&&this.La.YB(a)};m.prototype.tj=function(a,b,c,d){this.jf.tj(a,b,c,d)};m.prototype.fo=function(a){if(this.U)if(this.jf.ad()){this.jf.cb(a);
this.$h(this.jf.Z,this.jf.$,this.jf.qb,this.jf.la);this.fa()}else if(this.La.ad()){this.La.cb(a);this.$h(this.La.Z,this.La.$,this.La.qb,this.La.la);this.fa()}else this.Fn(0,0,0,0)};m.prototype.ec=function(){if(this.Sb){var a=this.g.zB(this.Sb),b=this.g.AB(this.Sb),c=this.g.OH(this.Sb),d=this.g.H5(this.Sb),f=this.g.yB(this.Sb),g=this.g.xB(this.Sb),h=a-this.Z,j=b-this.$,k=c-this.qb,m=d-this.la;this.Z=a;this.$=b;this.qb=c;this.la=d;this.Fn(h,j,k,m);this.jf.Qa(a,b,c,d,f,g);this.La.Qa(a,b,c,d,f,g)}};m.prototype.$F=
function(){if(this.Lh==d.$J&&this.nb!=q&&this.nb.get("map")==this.na){this.La.vd(y);this.jf.vd(p)}else{this.La.vd(p);this.jf.vd(y)}};m.prototype.un=function(){this.fa()};m.prototype.ib=function(){this.H.setSize(this.g.za(),this.g.ab());this.fa()};m.prototype.fa=function(){this.trigger(new b(m.ra))};m.prototype.$h=function(a,b,c,d){this.g.ZB(this.Sb,a,b,c,d)};m.prototype.Fn=function(a,c,d,f){a=y;if(this.Nl!=f<0){this.Nl=!this.Nl;a=p}if(this.Ml!=f>0){this.Ml=!this.Ml;a=p}if(this.kG!=this.kr>0){this.kG=
!this.kG;a=p}if(this.lG!=this.kr<0){this.lG=!this.lG;a=p}if(this.bi!=(f==0)){this.bi=!this.bi;a=p}a&&this.trigger(new b(m.cg,{rotatingClockwise:this.kG,rotatingCounterClockwise:this.lG,zoomingIn:this.Ml,zoomingOut:this.Nl,stopped:this.bi}))};m.ra="request frame";m.cg="movement change";return m});
define("en",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(a,b,f){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);f!==n&&this.set("hfov",f)});a.A("RotationalCameraPosition",b).B("Object").K({stereographicFactor:"number",yaw:"number",pitch:"number",hfov:"number"});return b});
define("bP",["require","hj","en","dj"],function(a){var b=a("hj"),c=a("en"),a=a("dj"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraPosition",b).B("RotationalCameraPosition");return b});
define("gl","hj,bL,dX,bP,hH,gP,ji".split(","),function(a,b,c,d,g,f){var k=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.H=new f;this.Ie=[];this.X=k.Ei;this.We=this.De=q;this.fj=this.D.get("transitionDuration");this.ei=n});k.prototype.Ok=function(a){this.H.Ok(a)};k.prototype.nB=function(a){a.GB()&&this.pL();this.Ie.push(a);this.oF()};k.prototype.hide=function(){this.pL();this.Ie.push(q);this.oF()};k.prototype.clear=function(){this.X=k.Ei;this.pL();this.Hga();this.QP();this.g=q};k.prototype.ec=
function(a){if(this.X!=k.Ei&&(this.X==k.wm||this.X==k.qx)){this.ei=this.ei+a;a=Math.min(1,this.ei/this.fj);this.X==k.wm?this.g.Bg(this.De.getItem(),a):this.g.Bg(this.We.getItem(),1-a);this.ei<this.fj?this.fa():this.X==k.wm?this.FM():this.GM()}};k.prototype.oF=function(){if(this.X==k.Ei){for(;this.Ie.length>0&&this.e$(this.Ie[0],this.We);)this.Ie.shift();this.Ie.length>0&&this.Bo()}};k.prototype.e$=function(a,b){return a==b||!!a&&!!b&&a.isEqual(b)};k.prototype.Bo=function(){this.We&&(!this.Ie[0]||
this.Ie[0].GB())&&this.trigger(new b(k.Lq,{map:this.We.na}));if(this.D.get("transitionMode","blending")=="fade_out_fade_in"&&this.We&&this.Ie[0].GB())this.Bx();else(this.De=this.Ie.shift())?this.WK():this.We&&this.Bx()};k.prototype.WK=function(){this.M9();this.De.GB()&&this.pha();this.ei=0;this.X=k.wm;this.fa()};k.prototype.FM=function(){this.QP();this.We=this.De;this.De=q;this.Lr()};k.prototype.Bx=function(){this.ei=0;this.X=k.qx;this.fa()};k.prototype.GM=function(){this.QP();this.We=q;this.Lr()};
k.prototype.Lr=function(){this.X=k.Ei;this.We&&this.We.GB()&&this.trigger(new b(k.Mq,{map:this.We.na}));this.Ie.length==0?this.We&&this.trigger(new b(k.lJ,{level:this.We})):this.Bo()};k.prototype.pha=function(){var a=this.De.na;this.De.lw();this.H.TB(a.get("width",100),a.get("height",100),a.get("scaleMode",g.je),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.H.Qa(0.5,0.5,0,a.get("initialZoomFactor",1));this.g.ZB(this.De.getItem(),this.H.kh(),this.H.lh(),this.H.cw(),this.H.Kk())};
k.prototype.fa=function(){this.trigger(new b(k.ra))};k.prototype.pL=function(){for(;this.Ie.length>0;){var a=this.Ie.shift();a&&this.g.vi(a.getItem())}};k.prototype.M9=function(){if(this.De){this.g.eB(this.De.getItem());this.g.fB(this.De.getItem());this.g.Bg(this.De.getItem(),0);this.trigger(new b(k.kJ,{level:this.De}))}};k.prototype.QP=function(){if(this.We){this.g.removeItem(this.We.getItem());this.trigger(new b(k.yC,{level:this.We}));this.g.vi(this.We.getItem());this.We=q}};k.prototype.Hga=function(){if(this.De){this.g.removeItem(this.De.getItem());
this.trigger(new b(k.yC,{level:this.De}));this.g.vi(this.De.getItem());this.De=q}};k.Ei="stopped";k.wm="blending";k.qx="disolving";k.ra="request frame";k.kJ="level added";k.yC="level removed";k.lJ="level fully displayed";k.Mq="map show";k.Lq="map hide";return k});
define("gZ",[],function(){function a(a,c){this.na=a;this.Za=a.get("image");this.kf=c;this.QN=n}a.prototype.getItem=function(){switch(this.kf){case a.QC:return this.na.R5();default:return this.na.Tc()}};a.prototype.lw=function(){switch(this.kf){case a.QC:return this.na.gt();default:return this.na.Ik()}};a.prototype.GB=function(){return this.QN===n?0==this.D5():this.QN};a.prototype.Coa=N("QN");a.prototype.HB=function(){return this.kf==a.aV};a.prototype.isEqual=function(a){return a&&this.na==a.map&&
this.kf==a.type};a.prototype.D5=function(){return this.kf==a.QC||this.na.sw()?0:1};a.prototype.y5=function(){return this.na.sw()?2:1};a.QC="preload";a.aV="load";return a});
define("fH","require,hj,bL,dX,ji,gZ,t".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("dX"),g=a("ji"),f=a("gZ"),k=a("t"),j=b.extend(d,function(a){d.call(this);this.g=a;this.Ie=[];this.Xx=this.as=this.Yd=q;this.Wr=y;this.LE=q});j.prototype.clear=function(){this.stop();this.g=q};j.prototype.jna=function(a){if(this.LE!=a){this.stop();a.sw()&&k.Xa()&&this.Ie.push(new f(a,f.QC));this.Ie.push(new f(a,f.aV));this.oF()}};j.prototype.stop=function(){this.LE=q;this.Ie=[];this.A3();if(this.Wr){this.Wr=y;
this.bR();this.g.vi(this.Yd.getItem());this.Yd=q;this.trigger(new c(j.zC))}};j.prototype.oF=function(){this.Wr||this.mO()};j.prototype.mO=function(){if(this.Ie.length>0){this.Yd=this.Ie.shift();if(!this.Wr){this.Wr=p;this.trigger(new c(j.xC,{level:this.Yd,percent:0}))}this.x$();this.g.ao(this.Yd.getItem());this.g.oU(this.Yd.getItem())&&this.FO()}else if(this.Wr){this.Wr=y;this.trigger(new c(j.zC))}};j.prototype.FO=function(){this.bR();this.xia();this.Yd=q;this.mO()};j.prototype.xia=function(){this.A3();
this.as=this.Yd;var a=this;this.Xx=setTimeout(function(){a.Xx=q;a.$ea()},500)};j.prototype.$ea=function(){var a=this.as.na;this.as.Coa(a!=this.LE);this.LE=a;this.trigger(new c(j.mJ,{level:this.as}));this.as=q};j.prototype.A3=function(){if(this.Xx!=q){clearTimeout(this.Xx);this.Xx=q;this.g.vi(this.as.getItem());this.as=q}};j.prototype.k0=function(){this.bR();this.Yd=q;this.mO()};j.prototype.l0=function(a){this.trigger(new c(j.xC,{level:this.Yd,percent:a.oh}))};j.prototype.x$=function(){var a=this.Yd.getItem();
a.bind(g.P,this.FO,this);a.bind(g.md,this.k0,this);a.bind(g.gc,this.l0,this)};j.prototype.bR=function(){var a=this.Yd.getItem();a.unbind(g.P,this.FO,this);a.unbind(g.md,this.k0,this);a.unbind(g.gc,this.l0,this)};j.xC="level loading progress";j.mJ="level loaded";j.zC="load stopped";return j});
define("bR",["require"],function(){function a(a,c){this.x=a;this.y=c}a.prototype.rotate=function(a){var c=Math.cos(a),a=Math.sin(a),d=this.x*a+this.y*c;this.x=this.x*c-this.y*a;this.y=d;return this};a.prototype.translate=function(a,c){this.x+=a;this.y+=c;return this};a.prototype.scale=function(a,c){this.x*=a;this.y*=c;return this};return a});
define("hW",["require","hH","X"],function(a){function b(a,b,k){this.Ke=a;this.q3=b;this.p3=k;this.Gc=c.om;this.Pg=d.vc;this.eh=d.fc}var c=a("hH"),d=a("X");b.prototype.zq=N("Gc");b.prototype.Kw=N("Pg");b.prototype.Mw=N("eh");b.prototype.aw=function(a,b,k){var j=this.q3,h=this.p3,m,e;switch(this.Gc){case c.NONE:e=m=1;break;case c.je:m=e=Math.min(b/j,k/h);break;case c.Vk:m=e=Math.max(b/j,k/h);break;case c.Hj:m=e=b/j;break;case c.fg:m=e=k/h;break;default:m=b/j,e=k/h}var l=b/m;m=Math.min(this.q3*m,b);
l=Math.min(l,j);switch(this.Pg){case d.ma:sX=tX=0;break;case d.Fa:tX=b-m;sX=j-l;break;default:tX=0.5*(b-m),sX=0.5*(j-l)}b=k/e;e=Math.min(this.p3*e,k);b=Math.min(b,h);switch(this.eh){case d.fb:h=k=0;break;case d.eb:k-=e;h-=b;break;default:k=0.5*(k-e),h=0.5*(h-b)}a.drawImage(this.Ke,Math.round(sX),Math.round(h),Math.round(l+sX-Math.round(sX)),Math.round(b+h-Math.round(h)),Math.round(tX),Math.round(k),Math.round(m+tX-Math.round(tX)),Math.round(e+k-Math.round(k)))};return b});
define("hM","require,ji,fc,bR,gL,hW".split(","),function(a){function b(a,b,g,e){this.g=a;this.na=b;this.lc=this.na.get("width");this.kc=this.na.get("height");this.Sb=this.na.Tc();this.VZ=g;this.Li=e;this.Ur=q;if(this.Li){this.ov=this.VZ.ov;this.S=this.Li.get("width");this.aa=this.Li.get("height");this.Z=this.Li.get("x",0);this.$=this.Li.get("y",0);this.gs=this.Li.get("offsetX",0);this.hs=this.Li.get("offsetY",0);if(this.hn=this.Li.Ik()){this.Fe=new f(d.Yk);this.Fe.load(this.hn.get("url"));this.Fe.bind(c.P,
this.J0,this)}}else this.Fe=q}var c=a("ji"),d=a("fc"),g=a("bR"),f=a("gL"),k=a("hW");b.prototype.clear=function(){this.Li=this.VZ=this.Sb=this.na=this.g=q;if(this.Fe){this.Fe.unbind(c.P,this.J0,this);this.Fe.cancel();this.Fe=q}this.Ur=q};b.prototype.I5=function(a,b){this.WZ=n;if(this.Ur&&a!=n&&b!=n){var c=this.g.za()*0.5,d=this.g.ab()*0.5,f=this.g.OH(this.Sb)*Math.PI/180,k=this.g.yB(this.Sb),o=this.g.xB(this.Sb),s=this.g.zB(this.Sb),t=this.g.AB(this.Sb),u=new g(a,b);u.translate(-c,-d);u.rotate(-f);
u.scale(1/k,1/o);u.translate(s,t);u.scale(this.lc,this.kc);u.translate(-this.Z,-this.$);if(!this.ov){u.rotate(f);u.scale(k/this.lc,o/this.kc)}u.translate(this.gs,this.hs);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.Ur.width&&u>=0&&u<this.Ur.height){u=(this.Ur.width*u+c)*4;c=this.Ur.data;this.WZ=c[u+3]>0?"#"+this.eL(c[u+0])+this.eL(c[u+1])+this.eL(c[u+2]):"transparent"}}return this.WZ};b.prototype.J0=function(){var a=new k(this.Fe.Dd(),this.hn.get("width"),this.hn.get("height"));a.zq(this.Li.get("scaleMode"));
a.Kw(this.Li.get("horizontalAlign"));a.Mw(this.Li.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.S);b.height=Math.round(this.aa);var c=b.getContext("2d");a.aw(c,b.width,b.height);this.Ur=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.eL=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
define("gX","require,cK,hj,ji,bL,dX,iH,hM,N,iX,bk".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),k=a("iH"),j=a("hM"),h=a("N"),m=a("iX"),e=a("bk"),l=c.extend(f,function(a,b,c){f.call(this);this.g=a;this.na=b;this.jb=c;this.G=this.jb.getItem();this.xk=this.jb.S5();this.zk=this.jb.U5();this.Zm=this.Ym=n;this.D=this.g.getParent();this.D.bind(d.wc,this.Ph,this);this.D.bind(d.pf,this.iz,this);this.D.bind(d.pb,this.sp,this);this.D.bind(d.Gb,this.jz,this);c.bind(d.ha("selected"),
this.Z0,this);c.bind(d.ha("enabled"),this.bfa,this);this.TE=new j(this.g,this.na,this.jb,this.jb.get("map",q));this.VE=new j(this.g,this.na,this.jb,this.jb.get("rollOverMap",this.jb.get("map",q)));this.WE=new j(this.g,this.na,this.jb,this.jb.get("selectedMap",this.jb.get("rollOverMap",this.jb.get("map",q))));this.qE=new j(this.g,this.na,this.jb,this.jb.get("image",q));this.rE=new j(this.g,this.na,this.jb,this.jb.get("rollOverImage",this.jb.get("image",q)));this.sE=new j(this.g,this.na,this.jb,this.jb.get("selectedImage",
this.jb.get("rollOverImage",this.jb.get("image",q))));this.nc=this.mc=n;this.Jv=q;this.zm=[];this.wx=[];this.Ae={};this.E_=[];this.qN=y;this.gj=this.jb.get("useHandCursor")==p;this.I=q;this.Cv=n;this.rG=this.iG=this.GE=0;a=this.jb.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],e=c.get("mapColor");if(e){e=e.toLowerCase();if(this.Ae[e]===n){this.Ae[e]=[];this.E_.push(e)}this.Ae[e].push(c)}}if(this.G){this.g.sH(this.na.Tc(),this.G);this.g.Bg(this.G,this.GE)}if(this.xk){this.g.sH(this.na.Tc(),this.xk);
this.g.Bg(this.xk,this.iG)}if(this.zk){this.g.sH(this.na.Tc(),this.zk);this.g.Bg(this.zk,this.rG)}this.Zz("none");this.mR();this.T2(y);this.U2(this.jb.get("selected"))});l.prototype.clear=function(){this.D.unbind(d.wc,this.Ph,this);this.D.unbind(d.pf,this.iz,this);this.D.unbind(d.pb,this.sp,this);this.D.unbind(d.Gb,this.jz,this);this.D=q;this.TE&&this.TE.clear();this.TE=q;this.VE&&this.VE.clear();this.VE=q;this.WE&&this.WE.clear();this.WE=q;this.qE&&this.qE.clear();this.qE=q;this.rE&&this.rE.clear();
this.rE=q;this.sE&&this.sE.clear();this.sE=q;this.zm=[];this.Ym=y;this.mR();this.wx=[];this.Ae={};this.D3();this.NA();this.na=this.g=q;this.jb.unbind(d.ha("selected"),this.Z0,this);this.zk=this.xk=this.G=this.jb=q};l.prototype.match=function(a){return this.jb==a};l.prototype.ec=function(a){this.Gu(y);if(this.I){this.I.cb(a);this.GE=this.I.kb("itemAlpha");this.iG=this.I.kb("rollOverItemAlpha");this.rG=this.I.kb("selectedItemAlpha");this.G&&this.g.Bg(this.G,this.GE);this.xk&&this.g.Bg(this.xk,this.iG);
this.zk&&this.g.Bg(this.zk,this.rG);this.I.he()?this.I=q:this.fa()}};l.prototype.sp=function(a){this.mc=a.x-this.D.jh();this.nc=a.y-this.D.Xl();this.Gu(p);this.wx=this.zm.slice()};l.prototype.Ph=function(a){this.mc=a.x-this.D.jh();this.nc=a.y-this.D.Xl();this.Gu(p)};l.prototype.jz=function(a){this.mc=a.x-this.D.jh();this.nc=a.y-this.D.Xl();this.Gu(p);a=b.intersection(this.wx,this.zm);this.wx=[];this.aR(a,"click")};l.prototype.iz=function(){this.nc=this.mc=n;this.Gu(p);this.wx=this.zm.slice()};l.prototype.Z0=
function(){this.U2(this.jb.get("selected"))};l.prototype.bfa=function(){this.Gu(p);this.Od();this.fa()};l.prototype.Gu=function(a){this.h_=p;a?this.Iv():this.mea()||this.Kia()};l.prototype.Kia=function(){this.D3();var a=this;this.Jv=setTimeout(function(){a.Jv=q;a.Iv()},200)};l.prototype.mea=function(){return this.Jv?p:y};l.prototype.D3=function(){if(this.Jv){clearTimeout(this.Jv);this.Jv=q}};l.prototype.Iv=function(){if(this.h_){this.h_=y;var a=this.zm,c=this.jca();this.zm=c;if(!this.D.Mi){this.aR(b.difference(c,
a),"rollOver");this.T2(c.length>0);this.aR(b.difference(a,c),"rollOut");this.NA()}}};l.prototype.NA=function(){for(var a="",b=0;b<this.zm.length&&!a;b++){var c=this.zm[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.pa!=a){this.pa&&this.g.zna(this.pa);(this.pa=a)&&this.g.Gna(this.pa)}};l.prototype.mR=function(){var a=this.Ym&&(this.gj||b(this.zm).any(function(a){return a.get("useHandCursor")==p}));if(this.qN!=a)(this.qN=a)?this.g.nI(h.Vd):this.g.Cw(h.Vd)};l.prototype.jca=function(){if(this.jb.get("enabled")===
y)return[];var a=[],b=this.Zm?this.WE:this.Ym?this.VE:this.TE;if(b)if(b=b.I5(this.mc,this.nc)){this.Ae.any&&(a=a.concat(this.Ae.any));b=="transparent"&&this.Ae.transparent&&(a=a.concat(this.Ae.transparent));if(b!="transparent"){a=this.Ae[b]?a.concat(this.Ae[b]):a.concat(this.Ae[k.aoa(b,this.E_,5)]||[]);this.Ae.image&&(a=a.concat(this.Ae.image))}}if(b=this.Zm?this.sE:this.Ym?this.rE:this.qE)if(b=b.I5(this.mc,this.nc)){this.Ae.any&&(a=a.concat(this.Ae.any));b=="transparent"&&this.Ae.transparent&&(a=
a.concat(this.Ae.transparent));b!="transparent"&&this.Ae.image&&(a=a.concat(this.Ae.image))}for(var b=[],c=0;c<a.length;c++){var d=a[c];b.indexOf(d)<0&&b.push(d)}return b};l.prototype.aR=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new g(b))};l.prototype.T2=function(a){if(this.Ym!=a){this.Ym=a;this.trigger(new g(l.gJ));this.Od();this.mR();this.fa()}};l.prototype.U2=function(a){if(this.Zm!=a){this.Zm=a;this.Od();this.fa()}};l.prototype.Od=function(){(this.Ym||this.jb.get("rollOverDisplay")!=
p)&&this.jb.get("enabled")!==y?this.Zm?this.Zz("selected"):this.Ym?this.Zz("roll over"):this.Zz("visible"):this.Zz("none")};l.prototype.Zz=function(a){if(this.Cv!=a){this.Cv=a;var c,d;if(b(["selected"]).contains(this.Cv)&&this.zk){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.Cv)&&this.xk){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.Cv)){a=1;d=c=0}else a=d=c=0;var f=this.GE,g=this.iG,h=this.rG,j=this.Cv=="none"?"quad_out":"quad_in",k=Math.max(200*Math.abs(a-
f),200*Math.abs(c-g),200*Math.abs(d-h));this.I=new m(j,[new e("itemAlpha",f,a),new e("rollOverItemAlpha",g,c),new e("selectedItemAlpha",h,d)],k)}};l.prototype.fa=function(){this.trigger(new g(l.ra))};l.ra="request frame";l.gJ="is over update";return l});define("ii",["hj","gq"],function(a,b){var c=a.extend(b,function(a,c,f,k,j,h,m){b.call(this,b.YV,a,c);this.Tda=f;this.Uda=k;this.Ufa=j;this.Vfa=h;this.Ob=m;this.PA=[]});c.prototype.jt=O("Ob");return c});
define("dA","hj,ji,bL,dX,bR,ii".split(","),function(a,b,c,d,g,f){var k=a.extend(d,function(a,c,f){d.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.pb,this.sp,this,p);this.D.bind(b.wc,this.Ph,this,p);this.D.bind(b.pf,this.iz,this,p);this.na=c;this.lc=this.na.get("width");this.kc=this.na.get("height");this.xga=Math.sqrt(this.lc*this.lc+this.kc*this.kc)*this.na.get("fieldOfViewOverlayRadiusScale",1);this.Sb=this.na.Tc();this.nb=f;this.$u=this.nb.get("x",0);this.av=this.nb.get("y",0);this.CF=
this.nb.get("angle",0);this.G=this.aba();this.il=y;this.ea=0;this.ia=Math.PI*0.5;this.Mb=y;this.nc=this.mc=n;this.g.sH(this.na.Tc(),this.G)});k.prototype.I7=function(a,b){this.ea=a+this.CF-90;this.ia=b;this.fa()};k.prototype.clear=function(){this.D.unbind(b.pb,this.sp,this);this.D.unbind(b.wc,this.Ph,this);this.D.unbind(b.pf,this.iz,this);this.D=q;this.g.Mna(this.na.Tc(),this.G);this.G=this.nb=this.Sb=this.na=this.g=q};k.prototype.ec=function(){this.g.Goa(this.G,this.ea,this.ia)};k.prototype.aba=
function(){return new f(this.$u,this.av,this.na.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.na.get("fieldOfViewOverlayInsideOpacity",0),this.na.get("fieldOfViewOverlayOutsideColor","#000000"),this.na.get("fieldOfViewOverlayOutsideOpacity",0),this.na.get("fieldOfViewOverlayRadiusScale",1))};k.prototype.fa=function(){this.trigger(new c(k.ra))};k.prototype.nR=function(){var a=y;if(this.mc!=n&&this.nc!=n){var b=this.g.za()*0.5,d=this.g.ab()*0.5,e=this.g.OH(this.Sb)*Math.PI/180,f=this.g.yB(this.Sb),
r=this.g.xB(this.Sb),o=this.g.zB(this.Sb),s=this.g.AB(this.Sb),a=new g(this.mc,this.nc);a.translate(-b,-d);a.rotate(-e);a.scale(1/f,1/r);a.translate(o,s);a.scale(this.lc,this.kc);a.translate(-this.$u,-this.av);a.rotate(-this.ea*Math.PI/180);b=Math.round(Math.atan2(a.y,a.x)*180/Math.PI);a=Math.round(Math.sqrt(a.x*a.x+a.y*a.y))<=this.xga&&Math.abs(b)<this.ia*0.5}if(this.il!=a){this.il=a;this.trigger(new c(k.JJ,{inFOV:this.il}))}};k.prototype.Jma=O("il");k.prototype.sp=function(a){this.mc=a.x;this.nc=
a.y;this.Mb=p;this.nR()};k.prototype.Ph=function(a){if(!this.Mb){this.mc=a.x;this.nc=a.y;this.nR()}};k.prototype.iz=function(){this.nc=this.mc=n;this.Mb=y;this.nR()};k.ra="request frame";k.JJ="mouse in fov change";return k});
define("jb","cK,hj,bL,dX,fq,gX,dA,N".split(","),function(a,b,c,d,g,f,k,j){var h=b.extend(d,function(a){d.call(this);this.g=a;this.Ry=[];this.ak=[];this.Fh=[];this.Yi=this.nb=q});h.prototype.clear=function(){for(var a=0;a<this.ak.length;a++)this.ak[a].clear();for(a=0;a<this.Fh.length;a++)this.Fh[a].clear();this.g=this.Ry=this.nb=this.Fh=this.ak=q};h.prototype.nB=function(a){a.HB()&&this.T9(a.na)};h.prototype.SS=function(a){a.HB()&&this.Oga(a.na)};h.prototype.jo=function(a){if(this.nb!=a){this.nb&&
this.l2(this.nb.get("map"));this.nb=a;this.Yi=q;if(this.nb){a=this.nb.get("map");this.RN(a)&&this.QW(a)}}};h.prototype.tj=function(a,b,c,d){this.Yi={yaw:b,pitch:c,hfov:d};for(c=0;c<this.Fh.length;c++){var f=this.Fh[c];if(f.nb==a){f.I7(b,d);break}}};h.prototype.T9=function(a){if(!this.RN(a)){this.Ry.push(a);this.P9(a);this.QW(a)}};h.prototype.Oga=function(b){if(this.RN(b)){this.Ry=a(this.Ry).without(b);this.Kga(b);this.l2(b)}};h.prototype.RN=function(b){return a(this.Ry).indexOf(b)>=0};h.prototype.ec=
function(a){for(var b=0;b<this.ak.length;b++)this.ak[b].ec(a);for(b=0;b<this.Fh.length;b++)this.Fh[b].ec(a)};h.prototype.P9=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var d=b[c];if(d instanceof g){d=new f(this.g,a,d);d.bind(f.ra,this.fa,this,p);d.bind(f.gJ,this.BE,this,p);this.ak.push(d)}}this.BE()};h.prototype.QW=function(a){if(this.nb&&this.nb.get("map")==a&&this.nb.get("visible")!==y){a=new k(this.g,a,this.nb);a.bind(k.ra,this.fa,this,p);a.bind(k.JJ,this.mF,this,p);this.Fh.push(a);
this.Yi&&a.I7(this.Yi.yaw,this.Yi.hfov)}this.mF()};h.prototype.Kga=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],d=0;d<this.ak.length;d++){var g=this.ak[d];if(g.match(c)){g.unbind(f.ra,this.fa,this);g.unbind(f.gJ,this.BE,this);g.clear();this.ak.splice(d,1);break}}this.BE()};h.prototype.l2=function(a){for(var b=0;b<this.Fh.length;b++){var c=this.Fh[b];if(c.na==a){c.unbind(k.ra,this.fa,this);c.unbind(k.JJ,this.mF,this);c.clear();this.Fh.splice(b,1);break}}this.mF()};h.prototype.BE=
function(){for(var a=y,b=0;b<this.ak.length&&!a;b++)a=this.ak[b].Ym;this.g.getParent().set("cursor",a?j.Vd:j.rc)};h.prototype.fa=function(){this.trigger(new c(h.ra))};h.prototype.mF=function(){for(var a=y,b=0;b<this.Fh.length;b++)this.Fh[b].Jma()&&(a=p);this.trigger(new c(h.fJ,{inFOV:a}))};h.ra="request frame";h.fJ="in fov change";return h});
define("y","hj,ji,bL,dX,gt,bR".split(","),function(a,b,c,d,g,f){var k=a.extend(d,function(a){d.call(this);this.g=a;this.D=this.g.getParent();this.D.bind(b.wc,this.Ph,this,p);this.D.bind(b.pb,this.sp,this,p);this.D.bind(b.Gb,this.jz,this,p);this.na=q;this.Sb=this.kc=this.lc=n;this.nb=q;this.CF=this.av=this.$u=n;this.il=y;this.nc=this.mc=this.Lh=n;this.Mb=y;this.ea=0});k.prototype.clear=function(){this.D.unbind(b.wc,this.Ph,this);this.D.unbind(b.pb,this.sp,this);this.D.unbind(b.Gb,this.jz,this);this.g=
this.nb=this.Sb=this.na=this.D=q};k.prototype.YB=function(a){this.il=a;this.jR()};k.prototype.nB=function(a){a.HB()&&this.X2(a.na)};k.prototype.SS=function(a){a.HB()&&this.na==a.na&&this.X2(q)};k.prototype.X2=function(a){if(this.na!=a)if(this.na=a){this.lc=this.na.get("width");this.kc=this.na.get("height");this.Sb=this.na.Tc()}else{this.kc=this.lc=n;this.Sb=q}};k.prototype.jo=function(a){if(this.nb!=a)if(this.nb=a){this.$u=this.nb.get("x",0);this.av=this.nb.get("y",0);this.CF=this.nb.get("angle",
0)}else this.CF=this.av=this.$u=n};k.prototype.tj=function(a,b){if(this.nb==a)this.ea=b};k.prototype.Ok=N("Lh");k.prototype.sp=function(a){this.mc=a.x;this.nc=a.y;this.Mb=p;this.jR()};k.prototype.Ph=function(a){this.mc=a.x;this.nc=a.y;if(this.yM){a=this.BZ();this.trigger(new c(k.eg,{yawDelta:a-this.qb}));this.qb=a}};k.prototype.jz=function(a){this.mc=a.x;this.nc=a.y;this.Mb=y;this.jR()};k.prototype.jR=function(){var a=this.Mb&&this.nb&&this.na&&(this.Lh==g.$J||this.il);if(this.yM!=a)if(this.yM=a)this.qb=
this.BZ()};k.prototype.BZ=function(){var a=this.g.za()*0.5,b=this.g.ab()*0.5,c=new f(this.mc,this.nc);c.translate(-a,-b);if(this.Lh==g.$J)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.OH(this.Sb)*Math.PI/180,b=this.g.yB(this.Sb),d=this.g.xB(this.Sb),k=this.g.zB(this.Sb),r=this.g.AB(this.Sb);c.rotate(-a);c.scale(1/b,1/d);c.translate(k,r);c.scale(this.lc,this.kc);c.translate(-this.$u,-this.av);return Math.atan2(c.y,c.x)*180/Math.PI};k.eg="request yaw change";return k});
define("dh",["hj","bL","dX","S"],function(a,b,c,d){var g=a.extend(c,function(a){c.call(this);this.U=p;this.Wj=y;this.g=a});g.prototype.clear=function(){this.U=y;this.g=q};g.prototype.Aa=function(){this.Wj||(this.Wj=p,d.Aa(this.cf,this))};g.prototype.cf=function(a){this.U&&(this.Wj=y,this.trigger(new b(g.Ej,{frameTime:a})),this.trigger(new b(g.Fj,{frameTime:a})),this.g.render())};g.Ej="frameStart";g.Fj="positionSet";return g});
define("cl","require,hj,ji,bL,dX,iP,gl,fH,jb,y,dh".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("iP"),k=a("gl"),j=a("fH"),h=a("jb"),m=a("y"),e=a("dh"),l=b.extend(g,function(a,b){g.call(this);this.D=a;this.g=b;this.HF=q;this.sc=new e(this.g);this.Jd=new j(this.g);this.xa=new k(this.D,this.g);this.ga=new f(this.g);this.qk=new h(this.g);this.ol=new m(this.g);this.D.bind(c.qf,this.wF,this,p);this.sc.bind(e.Ej,this.vp,this,p);this.sc.bind(e.Fj,this.wp,this,p);this.Jd.bind(j.zC,
this.fz,this);this.Jd.bind(j.mJ,this.D0,this);this.Jd.bind(j.xC,this.E0,this);this.xa.bind(k.ra,this.Vb,this,p);this.xa.bind(k.kJ,this.B0,this,p);this.xa.bind(k.yC,this.F0,this,p);this.xa.bind(k.lJ,this.C0,this,p);this.xa.bind(k.Lq,this.qp,this,p);this.xa.bind(k.Mq,this.rp,this,p);this.ga.bind(f.ra,this.Vb,this,p);this.ga.bind(f.cg,this.ik,this);this.qk.bind(h.ra,this.Vb,this,p);this.qk.bind(h.fJ,this.u0,this,p);this.ol.bind(m.eg,this.rz,this,p);this.LY=y});l.prototype.Ok=function(a){this.ga.Ok(a);
this.xa.Ok(a);this.ol.Ok(a)};l.prototype.clear=function(){this.LY=p;this.Jd.clear();this.sc.clear();this.ga.clear();this.xa.clear();this.qk.clear();this.ol.clear();this.D.unbind(c.qf,this.wF,this);this.Jd.unbind(j.zC,this.fz,this);this.Jd.unbind(j.mJ,this.D0,this);this.Jd.unbind(j.xC,this.E0,this);this.sc.unbind(e.Ej,this.vp,this);this.sc.unbind(e.Fj,this.wp,this);this.xa.unbind(k.ra,this.Vb,this);this.xa.unbind(k.kJ,this.B0,this);this.xa.unbind(k.yC,this.F0,this);this.xa.unbind(k.lJ,this.C0,this);
this.xa.unbind(k.Lq,this.qp,this);this.xa.unbind(k.Mq,this.rp,this);this.ga.unbind(f.t8,this.Vb,this);this.ga.unbind(f.cg,this.ik,this);this.qk.unbind(h.ra,this.Vb,this);this.qk.unbind(h.fJ,this.u0,this);this.ol.unbind(m.eg,this.rz,this);this.D=this.g=this.ol=this.qk=this.xa=this.ga=this.sc=this.Jd=q};l.prototype.wF=function(){if(this.HF){this.C7(this.HF);this.HF=q}};l.prototype.C7=function(a){this.D.dp?this.Jd.jna(a):this.HF=a};l.prototype.tt=function(){this.Jd.stop();this.ga.stop();this.xa.hide()};
l.prototype.$f=function(a){this.ga.$f(a)};l.prototype.jo=function(a){if(!this.LY){this.ga.jo(a);this.qk.jo(a);this.ol.jo(a)}};l.prototype.tj=function(a,b,c,d){this.ga.tj(a,b,c,d);this.qk.tj(a,b,c,d);this.ol.tj(a,b,c,d)};l.prototype.E0=function(a){var b=a.data.level,a=(a.data.percent+100*b.D5())/b.y5();this.trigger(new d(l.Uk,{percent:a}))};l.prototype.D0=function(a){a=a.data.level;this.ga.stop();this.xa.nB(a)};l.prototype.fz=function(){this.trigger(new d(l.Kq))};l.prototype.Vb=function(){this.sc.Aa()};
l.prototype.vp=function(a){this.ga.fo(a.data.frameTime)};l.prototype.wp=function(a){a=a.data.frameTime;this.xa.ec(a);this.ga.ec(a);this.qk.ec(a)};l.prototype.B0=function(a){a=a.data.level;this.qk.nB(a);this.ol.nB(a)};l.prototype.F0=function(a){a=a.data.level;this.qk.SS(a);this.ol.SS(a)};l.prototype.C0=function(a){a=a.data.level;a.HB()&&this.ga.start(a)};l.prototype.u0=function(a){a=a.data.inFOV;this.ga.YB(a);this.ol.YB(a)};l.prototype.rp=function(a){this.trigger(new d(l.Mq,{map:a.data.map}))};l.prototype.qp=
function(a){this.trigger(new d(l.Lq,{map:a.data.map}))};l.prototype.ik=function(a){this.trigger(new d(l.cg,a.data))};l.prototype.rz=function(a){this.trigger(new d(l.eg,{yawDelta:a.data.yawDelta}))};l.cg="movementChange";l.Kq="loadingEnd";l.Uk="loadingProgress";l.Mq="mapShow";l.Lq="mapHide";l.eg="requestYawChange";return l});
define("eM",["require","jquery.mod"],function(a){function b(a,b){this.G=a;this.Q=b;this.Ly=0;this.Al=this.zl=0.5;this.Cd=0;this.Db=1;this.Kn=this.dn=this.aa=this.S=0;this.Ob=1;this.KN=this.NN=p;this.v=c("<canvas/>");this.u=this.v.get(0);this.Ha=this.u.getContext("2d")}var c=a("jquery.mod");b.prototype.getItem=O("G");b.prototype.bw=function(a){return this.G==a?this:q};b.prototype.kj=function(){this.Q&&this.Q.gS(this)};b.prototype.cd=function(a){this.Sha(a)};b.prototype.V2=function(a){this.Ly!=a&&(this.Ly=
a,this.Q&&this.Q.cI())};b.prototype.Sha=function(a){this.Db!=a&&(this.Db=a,this.bI())};b.prototype.wG=function(a){this.Cd!=a&&(this.Cd=a,this.bI())};b.prototype.Yz=function(a,b){if(this.S!=a||this.aa!=b)this.S=a,this.aa=b,this.ZH()};b.prototype.$h=function(a,b){if(this.dn!=a||this.Kn!=b)this.dn=a,this.Kn=b,this.bI()};b.prototype.bI=function(){this.Q&&this.Q.$H()};b.prototype.Zb=function(){this.NN=p};b.prototype.ba=function(){this.NN&&(this.NN=y,this.Me())};b.prototype.Me=D();b.prototype.ZH=function(){this.KN=
p;this.bI()};b.prototype.EI=function(){if(this.KN){this.KN=y;if(this.u.width!=this.S||this.u.height!=this.aa)this.u.width=Math.round(this.S),this.u.height=Math.round(this.aa);this.Ha.clearRect(0,0,this.u.width,this.u.height);this.Bf()}};b.prototype.Bf=D();b.prototype.sla=function(a){if(0<this.Db&&1<=this.S&&1<=this.aa){a.save();var b=Math.round(this.dn),c=Math.round(this.Kn),k=Math.round(this.S*this.zl),j=Math.round(this.aa*this.Al);a.scale(this.Ob,this.Ob);a.translate(b+k,c+j);a.rotate(this.Cd*Math.PI/
180);a.globalAlpha=this.Db;a.drawImage(this.u,-k,-j);a.restore()}};return b});
define("ia",["require","cK","hj","eM"],function(a){var b=a("cK"),c=a("hj"),d=a("eM"),a=c.extend(d,function(a,b){d.call(this,a,b);this.wb=[];this.rH=q;this.yg=p});a.prototype.W4=function(a){(a=this.FL(a))||i("Container renderer can't create child renderer for an item");this.wb.push(a);this.cI();this.$H()};a.prototype.FL=D();a.prototype.i7=function(a){if(a=this.Sl(a))this.wb=b.without(this.wb,a),this.cI(),this.$H()};a.prototype.bw=function(a){for(var b=d.prototype.bw.call(this,a),c=0;c<this.wb.length&&
!b;c++)b=this.wb[c].bw(a);return b};a.prototype.Sl=function(a){for(var b=q,c=0;c<this.wb.length&&!b;c++)this.wb[c].getItem()==a&&(b=this.wb[c]);return b};a.prototype.gS=function(a){this.wb=b.without(this.wb,a);this.wb.push(a);this.cI();this.$H()};a.prototype.cI=function(){this.yg=p;this.Zb()};a.prototype.$H=function(){this.ZH()};a.prototype.ba=function(){d.prototype.ba.call(this);for(var a=0;a<this.wb.length;a++)this.wb[a].ba()};a.prototype.Me=function(){if(this.yg){this.yg=y;for(var a=[],b=0;b<this.wb.length;b++){var c=
this.wb[b];a.push({l:c.Ly,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.rH=[];for(b=0;b<a.length;b++)this.rH.push(a[b].r);this.ZH()}d.prototype.Me.call(this)};a.prototype.EI=function(){for(var a=0;a<this.wb.length;a++)this.wb[a].EI();d.prototype.EI.call(this)};a.prototype.Bf=function(){for(var a=0;a<this.rH.length;a++)this.rH[a].sla(this.Ha);d.prototype.Bf.call(this)};return a});
define("D",["require","hj","eM"],function(a){var b=a("hj"),c=a("eM"),a=b.extend(c,function(a,b){c.call(this,a,b)});a.prototype.tI=D();return a});
define("fB",["require","hj","D"],function(a){var b=a("hj"),c=a("D"),a=b.extend(c,function(a,b){c.call(this,a,b);this.GF=this.Q.getItem().Ic();this.FF=this.Q.getItem().ud();this.Ob=2;this.nu=0;this.ia=0.5*Math.PI;this.LN=this.MN=p;this.Tg=1;this.AE=p;this.V2(1)});a.prototype.tI=function(a,b){this.Tg!=b&&(this.Tg=b,this.AE=p,this.Zb())};a.prototype.voa=function(a,b){this.ia!=b&&(this.ia=b,this.MN=p,this.Zb());this.nu!=a&&(this.nu=a,this.LN=p,this.Zb())};a.prototype.Me=function(){this.MN&&(this.MN=y,
this.ZH());if(this.AE||this.LN){this.LN=this.AE=y;this.Ob=Math.max(1,Math.ceil(Math.sqrt(this.GF*this.GF+this.FF*this.FF))/4096);var a=this.Tg/this.Ob,b=this.G.kh()*a,f=this.G.lh()*a,k=a*this.FF,a=Math.max(b,a*this.GF-b),k=Math.max(f,k-f),k=2*Math.ceil(Math.sqrt(a*a+k*k)),j=this.nu*Math.PI/180,a=Math.cos(j),j=Math.sin(j),b=b-this.zl*k-(0.5-this.zl)*k*a+(0.5-this.Al)*k*j,f=f-this.Al*k-(0.5-this.Al)*k*a-(0.5-this.zl)*k*j;this.AE=y;this.$h(b,f);this.Yz(k,k);this.wG(this.nu)}c.prototype.Me.call(this)};
a.prototype.Bf=function(){var a=this.G.Uda,b=this.G.Vfa;if(0<b||0<a){var f=this.Tg*this.GF,k=this.Tg*this.FF,f=Math.ceil(Math.sqrt(f*f+k*k))*this.G.jt()/this.Ob,k=Math.round(0.5*this.S),j=Math.round(0.5*this.aa),h=this.ia*Math.PI/180,m=0.5*-h,h=m+h;0<b&&(this.Ha.fillStyle=this.G.Ufa,this.Ha.globalAlpha=b,this.Ha.rect(0,0,this.S,this.aa),this.Ha.fill(),this.Ha.globalCompositeOperation="destination-out",this.Ha.fillStyle="#FFFFFF",this.Ha.globalAlpha=1,this.Ha.beginPath(),this.Ha.moveTo(k,j),this.Ha.arc(k,
j,f,m,h,y),this.Ha.lineTo(k,j),this.Ha.closePath(),this.Ha.fill(),this.Ha.globalCompositeOperation="source-over");0<a&&(this.Ha.fillStyle=this.G.Tda,this.Ha.globalAlpha=a,this.Ha.beginPath(),this.Ha.moveTo(k,j),this.Ha.arc(k,j,f,m,h,y),this.Ha.lineTo(k,j),this.Ha.closePath(),this.Ha.fill())}c.prototype.Bf.call(this)};return a});
define("h",["require","hj","D","hf","hW"],function(a){var b=a("hj"),c=a("D"),d=a("hf"),g=a("hW"),a=b.extend(c,function(a,b){c.call(this,a,b);this.V2(this.G.C2?0:2);this.gb=d.Dd(this.G.Qe());this.oG=new g(this.gb,this.gb.width,this.gb.height);this.oG.zq(this.G.Gc);this.oG.Mw(this.G.eh);this.oG.Kw(this.G.Pg);this.Py=0;this.Tg=1;this.pO=p});a.prototype.tI=function(a,b){if(this.Py!=a||this.Tg!=b)this.Py=a,this.Tg=b,this.pO=p,this.Zb()};a.prototype.Me=function(){if(this.pO){this.pO=y;var a=this.G.kh(),
b=this.G.lh(),d=this.G.Ic(),g=this.G.ud(),m=this.G.gs,e=this.G.hs;if(this.G.C2)this.wG(0),this.$h((a-m)*this.Tg,(b-e)*this.Tg),this.Yz(d*this.Tg,g*this.Tg);else{var l=Math.cos(-this.Py*Math.PI/180),r=Math.sin(-this.Py*Math.PI/180),a=a*this.Tg-this.zl*d-(m-this.zl*d)*l+(e-this.Al*g)*r,b=b*this.Tg-this.Al*g-(e-this.Al*g)*l-(m-this.zl*d)*r;this.wG(-this.Py);this.$h(a,b);this.Yz(d,g)}}c.prototype.Me.call(this)};a.prototype.Bf=function(){this.oG.aw(this.Ha,this.u.width,this.u.height);c.prototype.Bf.call(this)};
return a});
define("fo","require,hj,hH,hf,ck,gq,fB,h,ia".split(","),function(a){var b=a("hj"),c=a("hH"),d=a("hf"),g=a("ck"),f=a("gq"),k=a("fB"),j=a("h"),h=a("ia"),a=b.extend(h,function(a,b){h.call(this,a,b,a.pk);this.Ca=this.G.Ic();this.Ka=this.G.ud();this.Gc=this.G.Gc;this.$D=this.G.LM;this.Ta=this.Ra=100;this.Cr=p;this.$=this.Z=0.5;this.qb=0;this.la=1;this.Ez=p;this.Oc=1;this.gb=d.Dd(this.G.Qe())});a.prototype.FL=function(a){a.Zf()!=g.aW&&i("Invalid item type");switch(a.Xfa){case f.YV:a=new k(a,this);break;
case f.ZV:a=new j(a,this);break;default:a=q}a&&a.tI(this.qb,this.Oc*this.la);return a};a.prototype.kh=O("Z");a.prototype.lh=O("$");a.prototype.cw=O("qb");a.prototype.Kk=O("la");a.prototype.za=function(){return Math.round(this.Ca*this.la*this.Oc)};a.prototype.ab=function(){return Math.round(this.Ka*this.la*this.Oc)};a.prototype.hm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Cr=p;this.Zb()}};a.prototype.Qa=function(a,b,c,d){if(this.Z!=a||this.$!=b||this.qb!=c||this.la!=d){this.Z=
a;this.$=b;this.qb=c;this.la=d;this.Ez=p;this.Zb()}};a.prototype.Me=function(){if(this.Cr){this.Cr=y;switch(this.Gc){case c.NONE:this.Oc=1;break;case c.Hj:this.Oc=this.Ra/this.Ca;break;case c.fg:this.Oc=this.Ta/this.Ka;break;case c.Vk:this.Oc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;default:this.Oc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ra/this.Ca:this.Ta/this.Ka}this.Ez=p}if(this.Ez){this.Ez=y;var a=this.za(),b=this.ab(),d=Math.cos(this.qb*Math.PI/180),f=Math.sin(this.qb*
Math.PI/180);this.$h(this.Ra*0.5-this.zl*a+(this.zl-this.Z)*d*a-(this.Al-this.$)*f*b,this.Ta*0.5-this.Al*b+(this.Al-this.$)*d*b+(this.zl-this.Z)*f*a);this.wG(this.qb);this.Yz(a,b);for(a=0;a<this.wb.length;a++)this.wb[a].tI(this.qb,this.Oc*this.la)}h.prototype.Me.call(this)};a.prototype.Bf=function(){var a=Math.round(this.S),b=Math.round(this.aa);if(this.$D){this.Ha.save();this.Ha.translate(a,0);this.Ha.scale(-1,1);this.Ha.drawImage(this.gb,0,0,a,b);this.Ha.restore()}else this.Ha.drawImage(this.gb,
0,0,a,b);h.prototype.Bf.call(this)};return a});
define("et","require,cK,hj,ck,ia,fo".split(","),function(a){a("cK");var b=a("hj"),c=a("ck"),d=a("ia"),g=a("fo"),a=b.extend(d,function(){d.call(this,q,q);this.lL=p});a.prototype.lb=O("v");a.prototype.render=function(){this.ba();this.EI()};a.prototype.FL=function(a){a.Zf()!=c.$V&&i("Invalid item type");a=new g(a,this);a.hm(this.S,this.aa);a.Qa(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Yz(a,b);this.lL=p;this.Zb()};a.prototype.Me=function(){if(this.lL){this.lL=y;for(var a=0;a<this.wb.length;a++)this.wb[a].hm(this.S,
this.aa)}d.prototype.Me.call(this)};return a});
define("gJ","require,cK,hj,ji,fc,hf,et,bd,N,d".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("fc"),f=a("hf"),k=a("et"),j=a("bd"),h=a("N"),m=a("d"),a=c.extend(m,function(){m.call(this);this.Rc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.ax);this.No=[];this.Ks=[];this.pa="";this.xf=new k;this.Ma().append(this.xf.lb());this.bind(d.sb,this.ib,this,p);this.bind(d.qf,this.Qh,this,p);this.bind(d.gg,this.Nh,this,p);j.bind(d.W,this.vR,this,p);this.xl=this.VP=y});a.prototype.ao=
function(a){f.ao(a,g.Yk)};a.prototype.oU=function(a){return f.oU(a)};a.prototype.vi=function(a){f.vi(a,g.Yk)};a.prototype.eB=function(a){this.xf.W4(a)};a.prototype.removeItem=function(a){this.xf.i7(a)};a.prototype.sH=function(a,b){this.xf.Sl(a).W4(b)};a.prototype.Mna=function(a,b){var c=this.xf.Sl(a);c&&c.i7(b)};a.prototype.fB=function(a){this.xf.bw(a).kj()};a.prototype.Bg=function(a,b){this.xf.bw(a).cd(b)};a.prototype.ZB=function(a,b,c,d,f){this.xf.Sl(a).Qa(b,c,d,f)};a.prototype.Goa=function(a,b,
c){this.xf.bw(a).voa(b,c)};a.prototype.zB=function(a){return this.xf.Sl(a).kh()};a.prototype.AB=function(a){return this.xf.Sl(a).lh()};a.prototype.OH=function(a){return this.xf.Sl(a).cw()};a.prototype.H5=function(a){return this.xf.Sl(a).Kk()};a.prototype.yB=function(a){return this.xf.Sl(a).za()};a.prototype.xB=function(a){return this.xf.Sl(a).ab()};a.prototype.render=function(){this.xl&&this.xf.render()};a.prototype.nI=function(a){this.No.push(a);this.m4()};a.prototype.Cw=function(a){a=b(this.No).lastIndexOf(a);
a>=0&&this.No.splice(a,1);this.m4()};a.prototype.m4=function(){var a;a=this.No.length>0?this.No[this.No.length-1]:h.rc;this.getParent().set("cursor",a)};a.prototype.DD=function(){if(this.No.length>0){this.getParent().set("cursor",h.rc);this.No=[]}};a.prototype.Gna=function(a){this.Ks.push(a);this.NA()};a.prototype.zna=function(a){a=b(this.Ks).lastIndexOf(a);a>=0&&this.Ks.splice(a,1);this.NA()};a.prototype.NA=function(){var a=this.Ks.length==0?"":this.Ks[this.Ks.length-1]||"";if(this.pa!=a){this.pa=
a;this.getParent().set("toolTip",this.pa)}};a.prototype.vaa=function(){this.pa&&this.getParent().set("toolTip","");this.pa="";this.Ks=[]};a.prototype.Yh=function(){this.vaa();this.DD();m.prototype.Yh.call(this)};a.prototype.ib=function(){this.xf.setSize(this.za(),this.ab());this.render()};a.prototype.Qh=function(){this.VP=p;this.vR()};a.prototype.Nh=function(){this.VP=y;this.vR()};a.prototype.vR=function(){var a=this.VP&&!j.isPresenting();if(this.xl!=a)(this.xl=a)&&this.render()};return a});
define("E","cK,hj,hA,bL,dj,ie,cd,fx,cl,gi,gJ,ji,cJ,er".split(","),function(a,b,c,d,g,f,k,j,h,m,e,l,r,o){var s=b.extend(k,function(){k.call(this,"map");this.gF=this.oO=this.wg=y;this.Yi=this.nb=this.p=this.g=q;this.Fo={};for(var a in s.vm)this.Fo[a]=this.Oaa(a);this.Xc=b.eo(this.Me,this)});g.A("MapPlayer",s).B("Object").K({map:"Map",viewerArea:"ViewerArea",movementMode:"enum[constrained, free_drag, free_drag_and_rotation, sync_with_field_of_view]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateCounterClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).qc([l.LC]).Cg({stop:function(){this.rb(m.nd)},rotateClockwise:function(){this.rb(m.UJ)},rotateCounterClockwise:function(){this.rb(m.VJ)},zoomIn:function(){this.rb(m.tm)},zoomOut:function(){this.rb(m.um)}});s.prototype.set=function(a,
b){if(this.get(a)!=b){switch(a){case "map":this.oO=p;this.Xc();break;case "viewerArea":this.wg=p;this.Xc();break;case "panoramaMapLocation":this.dP=p;this.Xc();break;case "movementMode":this.gF=p;this.Xc()}k.prototype.set.call(this,a,b)}};s.prototype.Oaa=function(a){var b=s.vm[a],a=new f(this,a,r.xc);a.bind(l.pb,function(){this.rb(b.movement)},this);b.stopOnRelease&&a.bind(l.Gb,function(){this.rb(m.nd)},this);return a};s.prototype.Lka=function(a){this.Yi=q;this.set("map",a.get("map"));this.set("panoramaMapLocation",
a)};s.prototype.Pna=function(a){this.get("panoramaMapLocation")==a&&this.set("panoramaMapLocation",q)};s.prototype.tj=function(a,b,c,d){this.p?this.p.tj(a,b,c,d):this.Yi={yaw:b,pitch:c,hfov:d}};s.prototype.Me=function(){if(this.wg){this.wg=y;this.Hr();this.get("viewerArea")&&this.Er();this.zG(this.get("viewerArea"))}if(this.p){if(this.oO){this.oO=y;var a=this.get("map");if(a){this.cG();this.p.C7(a)}else this.p.tt();this.dP=this.gF=p}if(this.dP){this.dP=y;a=this.get("panoramaMapLocation");this.p.jo(a);
a&&this.Yi&&this.p.tj(a,this.Yi.yaw,this.Yi.pitch,this.Yi.hfov)}if(this.gF){this.gF=y;this.p.Ok(this.get("movementMode"))}}};s.prototype.mA=function(){this.set("map",q)};s.prototype.Er=function(){var a=this.get("viewerArea");this.g=new e;this.g.R({left:0,top:0,bottom:0,right:0});a.qa(this.g);this.p=new h(a,this.g);this.p.bind(h.cg,this.ik,this);this.p.bind(h.Uk,this.pn,this);this.p.bind(h.Kq,this.Tu,this);this.p.bind(h.Mq,this.rp,this);this.p.bind(h.Lq,this.qp,this);this.p.bind(h.eg,this.rz,this,
p)};s.prototype.Hr=function(){if(this.g){this.p.unbind(h.cg,this.ik,this);this.p.unbind(h.Uk,this.pn,this);this.p.unbind(h.Kq,this.Tu,this);this.p.unbind(h.Mq,this.rp,this);this.p.unbind(h.Lq,this.qp,this);this.p.unbind(h.eg,this.rz,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q}};s.prototype.rp=function(a){this.ZE(a.data.map)};s.prototype.qp=function(a){this.YE(a.data.map)};s.prototype.ik=function(a){for(var b in s.vm)this.Fo[b].set("state",a.data[s.vm[b].pressedOn]?o.sa:o.rc);
this.trigger(new d(l.LC,a.data))};s.prototype.rz=function(a){this.trigger(new d(s.eg,{yawDelta:a.data.yawDelta}))};s.prototype.pn=function(a){this.g.getParent().R({progressPercent:a.data.percent,progressVisible:p})};s.prototype.Tu=function(){this.g.getParent().set("progressVisible",y)};s.prototype.rb=function(a){this.p&&this.p.$f(a)};s.vm={buttonRotateClockwise:{movement:m.UJ,pressedOn:"rotatingClockwise",stopOnRelease:p},buttonRotateCounterClockwise:{movement:m.VJ,pressedOn:"rotatingCounterClockwise",
stopOnRelease:p},buttonZoomIn:{movement:m.tm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:m.um,pressedOn:"zoomingOut",stopOnRelease:p}};s.eg="requestYawChange";return s});
define("cI",["hj","hA","ji","bL","dj"],function(a,b,c,d,g){a=a.extend(b,function(){b.call(this);this.Qf=y});g.A("PlayListItem",a).B("Object").K({media:"Media",label:"string"}).qc([c.vo,c.zj,c.nd,c.ua]);a.prototype.start=function(){this.trigger(new d(c.vo))};a.prototype.stop=function(){this.jC()};a.prototype.jC=function(){this.trigger(new d(c.nd))};a.prototype.Vv=function(){this.Qf=p;this.trigger(new d(c.zj))};a.prototype.end=function(){this.Qf=y;this.trigger(new d(c.ua))};return a});
define("jA",["hj","dj","cd","cI"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("MapPlayListItem",a).B("PlayListItem").K({media:"Map",player:"MapPlayer"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Ue,this.rp,this),a.set("map",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&a.get("map")==this.get("media")&&a.set("map",q);d.prototype.stop.call(this)};a.prototype.rp=function(){this.get("player").unbind(c.Ue,
this.rp,this);this.get("player").bind(c.Eg,this.qp,this);this.Vv()};a.prototype.qp=function(){this.get("player").unbind(c.Eg,this.qp,this);this.end()};return a});
define("iS",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this);this.set("distance",2)});a.A("Menu",b).B("MenuItem").K({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).qc([d.Kc,d.hc]).ph([d.V]);return b});
define("o",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("MenuItem",b).B("Object").K({label:"string",children:"array[MenuItem]"}).qc([d.Kc,d.hc]).ph([d.V]);return b});
define("gN",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MovementPhotoCamera",a).B("PhotoCamera").K({duration:"number",easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",initialPosition:"PhotoCameraPosition",targetPosition:"PhotoCameraPosition"});return a});
define("fb",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Object",a).K({id:"identifier",data:"*"});return a});define("bO",[],function(){var a={Jq:"drag_acceleration",mm:"drag_rotation"};a.dV=a.Jq;a.WV=a.mm;return a});define("js",["hj","bL"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.lI=this.II=this.qq=this.Bq=0})});define("dl",["hj","bL"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.RS=this.Fma=0})});
define("dr","require,hj,cK,ji,bL,dX,bO,js,dl".split(","),function(a){function b(a,b){return a*b}function c(a){var b=a>0?1:-1;return b*(Math.pow(10,b*a)-1)/9}function d(a,b){return Math.min(Math.max(a/b,-1),1)}var g=a("hj");a("cK");var f=a("ji"),k=a("bL"),j=a("dX"),h=a("bO"),m=a("js"),e=a("dl"),l=g.extend(j,function(){j.call(this);this.G_=this.H_=1800;this.pu=7;this.Fea=this.jja=0;this.EE=y;this.Mp=n;this.cs=h.dV;this.T3=h.WV;this.pu=0;this.mG=n;this.RA=y;this.Xt=q;this.Tr=3;this.ia=90;this.xM=this.Js=
this.Ob=1;this.oc=this.Ba=q;this.Dz=y});l.prototype.ST=function(a){this.H_=a.get("manualRotationSpeed");this.G_=a.get("manualRotationSpeed");this.Tr=a.get("manualZoomSpeed");this.xM=a.get("draggingFactor")};l.prototype.yq=function(a){this.cs=a;this.wR()};l.prototype.yt=function(a){this.T3=a;this.wR()};l.prototype.XB=function(a){this.ia=a;this.Js=this.ia/90};l.prototype.SB=function(a){this.Ql();if(a){this.Ba=a;if(this.oc=a.$la&&a.oc){this.oc.bind(f.pb,this.H1,this,p);this.oc.bind(f.Gb,this.I1,this,
p)}this.Ba.bind(f.pb,this.Mb,this,p);this.Ba.bind(f.wc,this.Kh,this,p);this.Ba.bind(f.Gb,this.Of,this,p);this.Ba.bind(f.so,this.ds,this,p);this.Ba.bb().get("settings").get(TDV.PlayerSettings.T8)!==y&&this.Ba.bind(f.Ht,this.Qr,this,p);this.Ba.bind(f.FC,this.aZ,this,p);this.Ba.bind(f.EC,this.ZY,this,p);this.wR()}};l.prototype.Ql=function(){if(this.Ba!=q){if(this.oc){this.oc.unbind(f.pb,this.H1,this);this.oc.unbind(f.Gb,this.I1,this);this.oc=q}this.Ba.unbind(f.pb,this.Mb,this);this.Ba.unbind(f.wc,this.Kh,
this);this.Ba.unbind(f.Gb,this.Of,this);this.Ba.unbind(f.so,this.ds,this);this.Ba.unbind(f.Ht,this.Qr,this);this.Ba.unbind(f.FC,this.aZ,this);this.Ba.unbind(f.EC,this.ZY,this);this.Ba=q;this.XD()}};l.prototype.wR=function(){if(this.Ba)if(this.Ba.Mi){this.mG=this.T3;this.pu=this.jja}else{this.mG=this.cs;this.pu=this.Fea}};l.prototype.H1=function(){this.Dz=p};l.prototype.I1=function(){this.Dz=y};l.prototype.Mb=function(a){if(!this.Dz){this.Hia(a);this.JQ()}};l.prototype.Kh=function(a){this.Dz||this.hH(a)};
l.prototype.Of=function(){if(!this.Dz){this.IM();this.XD()}};l.prototype.ds=function(a){this.DR(a);this.JQ(500)};l.prototype.aZ=function(){this.JQ()};l.prototype.Qr=function(a){this.ER(a)};l.prototype.ZY=function(){this.XD()};l.prototype.Hia=function(a){this.EE=p;this.Mp=a;this.hH(a)};l.prototype.hH=function(a){if(this.EE)switch(this.mG){case h.Jq:this.kka(a);break;case h.mm:this.jka(a)}};l.prototype.kka=function(a){this.x4(+b(c(d(Math.abs(a.x-this.Mp.x)<3?0:a.x-this.Mp.x,this.Ba.za())),this.H_*this.Js),
-b(c(d(Math.abs(a.y-this.Mp.y)<3?0:a.y-this.Mp.y,this.Ba.ab())),this.G_*this.Js))};l.prototype.jka=function(a){this.ika(-b(d(a.x-this.Mp.x,this.Ba.za()),this.ia*this.xM),+b(d(a.y-this.Mp.y,this.Ba.za()),this.ia*this.xM));this.Mp=a};l.prototype.IM=function(){if(this.EE){this.EE=y;switch(this.mG){case h.Jq:this.x4(0,0)}}};l.prototype.x4=function(a,b){var c=new m(l.Zw);c.Bq=a;c.qq=b;this.trigger(c)};l.prototype.ika=function(a,b){var c=new m(l.Zw);c.II=a;c.lI=b;this.trigger(c)};l.prototype.ER=function(a){if(this.Ob!=
a.scale){this.IM();var b=this.Ob;this.Ob=a.scale;a=new e(l.Gj);a.RS=this.ia*b/this.Ob-this.ia;this.trigger(a)}};l.prototype.DR=function(a){if(a.Qn!=0){this.IM();var b=new e(l.Gj);b.RS=this.ia*-a.Qn*this.Tr/100;this.trigger(b)}};l.prototype.JQ=function(a){var b=this.Xt!=q;this.z3();if(a&&(b||!this.RA)){var c=this;this.Xt=setTimeout(function(){c.Xt=q;c.XD()},a)}if(!this.RA){this.RA=p;this.trigger(new k(l.Ud))}};l.prototype.XD=function(){this.z3();if(this.RA){this.RA=y;this.trigger(new k(l.Td))}};l.prototype.z3=
function(){if(this.Xt!=q){clearTimeout(this.Xt);this.Xt=q}};l.Zw="rotation change";l.Gj="zoom change";l.Ud="user interaction start";l.Td="user interaction end";return l});
define("cr",["require","t"],function(a){function b(){this.Mia=d.Xa()?0.066:0.1;this.Hea=0.5;this.zia=d.Xa()?0.066:0.1;this.Dka=0.1;this.GG=this.JG=y;this.reset()}function c(a,b,c){a=(b-a)*(1-c);0.01>Math.abs(a)&&(a=0);return b-a}var d=a("t");b.prototype.reset=function(){this.TL=this.UL=this.Vx=this.Fr=this.Wx=this.YL=this.XL=this.bM=this.Cu=this.Tr=this.hG=this.jG=this.sk=this.Bz=this.Ll=this.bB=0};b.prototype.L7=function(a,b,c,d,h,m,e,l,r){return this.bB!=a||(this.Bz=b)||this.jG!=c||0!=d||0!=h||
this.GG!=e||this.P_!=l||this.JG!=r?(this.bB=a,this.Bz=b,this.jG=c,this.Ll+=d,this.sk+=h,this.hG+=m,this.GG=e,this.P_=l,this.JG=r,p):y};b.prototype.rpa=function(a,b){return this.Tr!=a||0!=b?(this.Tr=a,this.Cu+=b,p):y};b.prototype.ad=function(){return 0!=this.bM||0!=this.XL||0!=this.YL||0!=this.Wx||0!=this.bB||0!=this.Bz||0!=this.jG||0!=this.Tr||0!=this.Ll||0!=this.sk||0!=this.Cu};b.prototype.cb=function(a){var a=1E3/a,b=this.bM/a,d=this.bB/a+this.Ll;this.Ll=0;var j=this.XL/a,h=this.Bz/a+this.sk;this.sk=
0;var m=this.YL/a,e=this.jG/a+this.hG;this.hG=0;var l=this.Tr+this.Cu*a;this.Cu=0;var r=0==d&&0==h&&0==e,o=0==b&&0==j&&0==m;this.GG&&o&&!r||this.JG&&r&&!o||this.P_&&!r&&!o?(r=r?this.Mia:o?this.zia:this.Hea,this.Fr=c(b,d,r),this.Vx=c(j,h,r),this.UL=c(m,e,r)):(this.Fr=d,this.Vx=h,this.UL=e);b=0==this.Wx;d=0==l;this.Wx=this.GG&&b&&!d||this.JG&&d&&!b?c(this.Wx,l,this.Dka):l;this.bM=this.Fr*a;this.XL=this.Vx*a;this.YL=this.UL*a;this.TL=this.Wx/a};return b});
define("W","jquery.mod,hj,d,dr,cr,S,ji".split(","),function(a,b,c,d,g,f,k){b=b.extend(c,function(){c.call(this);this.Rc("Renderer");this.u=a("<canvas></canvas>");this.u.css({position:"absolute",left:0,top:0});this.Ma().append(this.u);this.ap=q;this.ea=this.Fu=this.Du=this.Eu=0;this.Qf=y;this.mga=150;this.sy=0;this.Gh=q;this.bind(k.sb,this.ib,this,p);this.Ga=new d;this.Ga.Yra(720);this.Ga.UB(0);this.Ga.yq("drag_rotation");this.Ga.XB(360);this.Ga.bind(d.Zw,this.Ffa,this);this.hb=new g});b.prototype.Boa=
function(a,b,c){this.ap=a;this.Eu=b;this.Du=c;this.Fu=Math.floor(this.ap.length*this.ea/360);this.ZP();this.Ga.SB(this);this.fa()};b.prototype.ala=function(){this.ap=q;this.Cl();this.ZP();this.Ga.Ql()};b.prototype.play=function(){this.Qf=p;this.fa()};b.prototype.Ffa=function(a){this.Cl();this.hb.L7(a.Bq,a.qq,0,a.II,a.lI,0,y,p);this.fa()};b.prototype.GO=function(){this.play()};b.prototype.cf=function(a){if(this.ap)if(this.hb.ad()){this.Qf=y;this.hb.cb(a);this.XW(this.hb.Fr);this.fa()}else if(this.Qf){this.XW(this.mga*
a/1E3);this.fa()}else this.Iu()||this.iA()};b.prototype.R7=function(a){for(this.ea=a;this.ea<0;)this.ea=this.ea+360;for(;this.ea>=360;)this.ea=this.ea-360;this.Wja()};b.prototype.Wja=function(){if(this.ap){var a=Math.floor(this.ap.length*this.ea/360);if(this.Fu!=a){this.Fu=a;this.i2()}}};b.prototype.XW=function(a){this.R7(this.ea+a)};b.prototype.ib=function(){this.ZP()};b.prototype.ZP=function(){var a=this.u.get(0);if(this.Eu==0||this.Du==0){a.width=0;a.height=0}else{var b=this.td(),c=this.sd();if(c*
this.Eu>b*this.Du){a.width=b;a.height=this.Du*b/this.Eu}else{a.height=c;a.width=this.Eu*c/this.Du}this.u.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.i2()}};b.prototype.i2=function(){if(this.ap){var a=this.u.get(0),b=this.ap[this.Fu];a.getContext("2d").drawImage(b,0,0,this.Eu,this.Du,0,0,a.width,a.height)}};b.prototype.Iu=function(){return this.Gh?p:y};b.prototype.iA=function(){this.Cl();if(this.sy>0){var a=this;this.Gh=setTimeout(function(){a.Gh=q;a.GO()},
this.sy)}};b.prototype.Cl=function(){if(this.Gh){clearTimeout(this.Gh);this.Gh=q}};b.prototype.fa=function(){f.Aa(this.cf,this)};return b});
define("hS","require,jquery.mod,cK,hj,ji,fc,bL,dj,dR,x,W,iU,gL".split(","),function(a){a("jquery.mod");var b=a("cK"),c=a("hj"),d=a("ji"),g=a("fc"),f=a("bL"),k=a("dj");a("dR");ProgressBar=a("x");Renderer=a("W");Container=a("iU");ImageLoader=a("gL");a=c.extend(Container,function(){Container.call(this);this.Fc=this.Ih=this.re=this.g=q;this.bind(d.qf,this.Qh,this);this.bind(d.gg,this.Nh,this)});k.A("Object3D",a).B("UIComponent").K({frames:"array[ImageResource]",yaw:"number"}).qc([d.P]);a.prototype.Ja=
function(){Container.prototype.Ja.call(this);if(!this.g){this.g=new Renderer;this.g.R({left:0,top:0,right:0,bottom:0});this.qa(this.g)}if(!this.re){this.re=new ProgressBar;this.re.R({left:0,bottom:0,right:0,height:20,visible:y});this.qa(this.re)}};a.prototype.Qh=function(){this.My()};a.prototype.Nh=function(){this.dj()};a.prototype.My=function(){this.re.set("percent",0);this.re.set("visible",p);this.g.R7(this.get("yaw"));var a=this.get("frames",[]);this.Ih=[];this.Fc=[];for(var b=0;b<a.length;b++){this.Ih.push(Level.Ik(a[b]));
var c=new ImageLoader(g.Yk);c.bind(d.P,this.gz,this);c.bind(d.md,this.hz,this);this.Fc.push(c)}for(b=0;b<a.length;b++)this.Fc[b].load(this.Ih[b].get("url"))};a.prototype.gz=function(){var a=b(this.Fc).filter(function(a){return a.$n()});this.re.set("percent",100*a.length/this.Fc.length);a.length==this.Fc.length&&this.df()};a.prototype.hz=D();a.prototype.df=function(){this.re.set("visible",y);var a=this.Ih[0].get("width",this.Fc[0].Ic()),c=this.Ih[0].get("height",this.Fc[0].ud());this.g.Boa(b(this.Fc).map(function(a){return a.Dd()}),
a,c);this.trigger(new f(d.P))};a.prototype.dj=function(){if(this.Fc){this.re.set("visible",y);this.g.ala();this.Fc=b(this.Fc).each(function(a){a.unbind(d.P,this.gz,this);a.unbind(d.md,this.hz,this);a.cancel()});this.Ih=this.Fc=q}};return a});
define("eF","require,hj,hA,dj,bP,en".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("dj"),g=a("bP"),f=a("en"),k=b.extend(c,function(){c.call(this);this.set("initialPosition",new f);this.set("draggingFactor",1);this.set("manualRotationSpeed",1800);this.set("manualZoomSpeed",1);this.set("automaticRotationSpeed",10);this.set("automaticZoomSpeed",10)});d.A("RotationalCamera",k).B("Object").K({displayOriginPosition:"RotationalCameraDisplayPosition",displayMovements:"array[TargetRotationalCameraDisplayMovement]",
initialPosition:"RotationalCameraPosition",initialSequence:"RotationalCameraSequence",idleSequence:"RotationalCameraSequence",sequences:"array[RotationalCameraSequence]",timeToIdle:"number",manualDraggingFactor:"number",manualRotationSpeed:"number",manualZoomSpeed:"number",automaticRotationSpeed:"number",automaticZoomSpeed:"number"});a=b.extend(k,function(){k.call(this);this.set("initialPosition",new g)});d.A("PanoramaCamera",a).B("RotationalCamera");return a});
define("hI",["require","hj","en","dj"],function(a){var b=a("hj"),c=a("en"),a=a("dj"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("RotationalCameraDisplayPosition",b).B("RotationalCameraPosition").K({stereographicFactor:"number"});return b});define("ib",["require","hj","hI","dj"],function(a){var b=a("hj"),c=a("hI"),a=a("dj"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraDisplayPosition",b).B("RotationalCameraDisplayPosition");return b});
define("ba",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaCameraMovement",b).B("RotationalCameraMovement");return b});
define("ha","require,hj,hA,bL,dj,ji".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("bL"),g=a("dj"),f=a("ji"),a=b.extend(c,function(){c.call(this)});a.prototype.play=function(){this.trigger(new d(f.uo))};a.prototype.pause=function(){this.trigger(new d(f.PC))};g.A("RotationalCameraSequence",a).B("Object").K({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).Cg({pause:a.prototype.pause,
play:a.prototype.play}).qc([f.ua,f.Yq]);return a});define("bp",["require","hj","dj","ha"],function(a){var b=a("hj"),c=a("dj"),d=a("ha"),a=b.extend(d,function(){d.call(this)});c.A("PanoramaCameraSequence",a).B("RotationalCameraSequence");return a});define("fy",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PanoramaMapLocation",a).B("Object").K({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("jt",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaOverlay",b).B("Object");return b});
define("cg",["require","ew","eC","a"],function(a){function b(a){this.g=a;this.bl=[];this.Vc=[];this.ou=[];this.Da=this.ea=0}var c=a("ew"),d=a("eC"),g=a("a");b.prototype.clear=function(){this.stop();this.ou=this.Vc=this.bl=this.g=q};b.prototype.end=function(){for(var a=0;a<this.bl.length;a++)this.bl[a].stop();this.bl=[];this.Vc=[];this.ou=[]};b.prototype.start=function(a){this.stop();for(var a=a.get("audios",[]),b=0;b<a.length;b++){var c=a[b],g=c.dw();g&&(this.bl.push(g),c.get("autoplay",y)&&this.Vc.push(g),
c instanceof d&&this.ou.push(c))}this.n4();for(b=this.Vc.length-1;0<=b;b--)this.Vc[b].play()};b.prototype.play=function(){for(var a=0;a<this.Vc.length;a++)this.Vc[a].get("state")!=c.T&&this.Vc[a].play()};b.prototype.pause=function(){for(var a=0;a<this.Vc.length;a++)this.Vc[a].get("state")==c.T&&this.Vc[a].pause()};b.prototype.stop=function(){for(var a=0;a<this.Vc.length;a++)this.Vc[a].stop()};b.prototype.ec=function(){this.ea=this.g.Tb();this.Da=this.g.Yb();this.n4()};b.prototype.n4=function(){if(0<
this.ou.length)for(var a=Math.PI/180,b=this.ea*a,c=this.Da*a,d=new g(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c)),m=0;m<this.ou.length;m++){var e=this.ou[m],l=e.get("yaw",b)*a,r=e.get("pitch",c)*a,o=e.get("maximumAngle",360)*a,l=new g(Math.sin(l)*Math.cos(r),Math.sin(r),Math.cos(l)*Math.cos(r)),o=Math.min(1,Math.max(0,1-Math.acos(d.oB(l))/o));e.dw().ui(o)}};return b});
define("fv","require,cK,ji,gW,dq,a,iu".split(","),function(a){function b(a){this.g=a;this.Y=y;this.Zh=b.dr;this.NM=this.a_=y;this.bg(q);this.g.bind(d.sb,this.ib,this,p);this.ib()}var c=a("cK"),d=a("ji"),g=a("gW"),f=a("dq"),k=a("a"),j=a("iu");b.prototype.l6=function(){return this.Zh!==b.dr};b.prototype.k6=function(){return this.Zh&b.Mt?p:y};b.prototype.m6=function(){return this.Zh&b.Nt?p:y};b.prototype.n6=function(){return this.Zh&b.ir?p:y};b.prototype.j6=function(){return this.Zh&b.cr?p:y};b.prototype.sI=
N("a_");b.prototype.Tb=function(){this.hi();return this.ea};b.prototype.Yb=function(){this.hi();return this.Da};b.prototype.Rd=function(){this.hi();return this.Wb};b.prototype.jq=function(){this.hi();return this.ia};b.prototype.bg=function(a){if(a){this.cP=a.get("hfov",360);this.EF=a.get("vfov",180);this.xz=a.get("pitch",0);this.ps=a.get("partial",y);this.tN=a.p6();this.rN=a.e6();this.xN=Math.min(a.get("hfovMax",170),170);this.py=a.get("hfovMin");this.qO=j.K5(a)}else{this.cP=360;this.EF=180;this.xz=
0;this.rN=this.tN=this.ps=y;this.xN=120;this.qO=this.py=1}this.ea=0;this.Da=this.xz;this.Wb=0;this.Y=p};b.prototype.Qa=function(a,b,c,d,e){this.ea=a;this.Da=b;this.Wb=c;this.ia=d;this.NM=e;this.Y=p};b.prototype.ib=function(){var a=this.g.za(),b=this.g.ab();if(this.S!=a||this.aa!=b){this.S=a;this.aa=b;this.Y=p}};b.prototype.hi=function(){if(this.Y){this.Y=y;var a=this.ea*e,d=this.Da*e,j=this.ia*e,t,u,v,x=(this.NM?g.km(this.xN,this.S,this.aa):this.xN)*e,w;a:{w=this.py;if(c(w).isString())if((w=w.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&
w.length>=2){w=parseFloat(w[1]);break a}w=n}w=w!==n?2*Math.atan2(this.S*this.g.getPixelRatio()*0.5,this.qO*45*w/100):this.py?(this.NM?g.km(this.py,this.S,this.aa):this.py)*e:2*Math.atan2(this.S*this.g.getPixelRatio()*0.5,this.qO*45);w=Math.min(x,w);if(this.Tqa){t=360;v=180;u=0}else if(this.tN||this.rN){t=this.rN?90:this.xz+this.EF*0.5;var z=this.tN?-90:this.xz-this.EF*0.5;v=t-z;u=(t+z)*0.5;t=this.cP}else{t=this.cP;u=this.xz;v=this.EF}t=t*e;v=v*e;u=u*e;for(z=this.S/this.aa;a<-h;)a=a+2*h;for(;a>h;)a=
a-2*h;j=Math.max(Math.min(j,x),w);x=b.dr;d>m?x=x|b.ir:d<-m&&(x=x|b.cr);var d=Math.max(Math.min(d,h*0.5),-h*0.5),C=2*Math.atan(Math.tan(j*0.5)/z);if(C>=v){j=2*Math.atan(Math.tan(v*0.5)*z);d=u;x=x|b.ir|b.cr}else{var A=Math.min(v*0.5+u,h*0.5);v=Math.max(-v*0.5+u,-h*0.5);u=!this.ps&&A>=h*0.495?h*0.5:A-C*0.5;v=!this.ps&&v<=-h*0.495?-h*0.5:v+C*0.5;if(d>u){d=u;x=x|b.ir}else if(d<v){d=v;x=x|b.cr}}if(this.ps){v=Math.tan(j*0.5);z=v/z;z=new k(-v,d>0?z:-z,1);v=new f;v.io(-d);z.apply(v);z=z.Tb()*2;z<0&&(z=z+2*
h);v=t*0.5-z*0.5;C=-t*0.5+z*0.5;if(z>t){a=0;j=Math.max(w,j*t/z);x=x|b.Mt|b.Nt}else if(a>v){a=v;x=x|b.Nt}else if(a<C){a=C;x=x|b.Mt}}this.ea=a*l;this.Da=d*l;this.ia=j*l;this.Zh=x}};var h=Math.PI,m=Math.PI*0.5,e=Math.PI/180,l=180/Math.PI;b.dr=0;b.Mt=1;b.Nt=2;b.ir=4;b.cr=8;return b});
define("eN","hj,ji,bL,dX,t,iA".split(","),function(a,b,c,d,g,f){a=a.extend(d,function(){d.call(this);this.J4=this.U=y;this.Wb=this.Da=this.ea=0;this.fG=y;this.sk=this.Ll=0});a.prototype.vd=function(a){if(this.U!=a)if(this.U=a){f.bind(this.h0,this,p);var a=f.am(),b=a.pitch;this.Ll=this.ea-a.yaw;this.sk=this.Da-b;this.dh()}else f.unbind(this.h0,this,p)};a.prototype.Qa=function(a,b,c){if(this.ea!=a){this.Ll=this.nv(this.Ll+(a-this.nv(this.ea,a)),0);this.ea=a}if(this.Da!=b){this.sk=this.sk+(b-this.Da);
this.Da=b}this.Wb=c};a.prototype.Tn=O("ea");a.prototype.Sn=O("Da");a.prototype.ft=O("Wb");a.prototype.ad=function(){return f.pna()};a.prototype.cb=function(a){var b=f.am(),a=20*a/1E3,c=b.pitch+(this.J4?this.sk:0),d=b.roll;this.ea=this.me(this.ea,this.nv(this.nv(b.yaw,this.ea)+this.Ll,this.ea),a);this.Da=this.me(this.Da,c,a);this.Wb=this.me(this.Wb,d,a)};a.prototype.mpa=N("J4");a.prototype.me=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.nv=function(a,b){for(;a+180<
b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.h0=function(){this.U&&this.dh()};a.prototype.dh=function(){this.trigger(new c(b.W))};return a});define("eW",["require"],function(){return{WC:38,wC:40,Fa:39,ma:37,KI:65,gK:90}});define("cN",[],function(){return{dx:"left",ex:"right",cx:"down",gx:"up",KV:"rotate10x",fW:"zoom2x",T:"playing",tm:"zoomIn",um:"zoomOut",nd:"stop"}});
define("du","require,hj,eW,bL,dX,cN".split(","),function(a){var b=a("hj"),c=a("eW"),d=a("bL"),g=a("dX"),f=a("cN"),k=b.extend(g,function(a){g.call(this);this.g=a;this.U=y;this.bf={};this.gA=q;this.$z=this.fA=y;this.IE=this.IE.bind(this);this.cn=this.cn.bind(this);this.ee=this.g.ee;document.addEventListener("keydown",this.IE);document.addEventListener("keyup",this.cn)});k.prototype.clear=function(){this.U=y;this.ee=this.g=q;document.removeEventListener("keydown",this.IE);document.removeEventListener("keyup",
this.cn)};k.prototype.vd=function(a){if(this.U!=a)(this.U=a)&&this.$G()};var j=[c.WC,c.wC,c.ma,c.Fa,c.KI,c.gK];k.prototype.IE=function(a){var b=a.which,c=y;if(!this.bf[b]&&j.indexOf(b)>=0){if(!this.gA&&!this.fA)this.gA=setTimeout(this.Ifa.bind(this),100);c=this.bf[b]=p}if(this.$z!=a.shiftKey){this.$z=a.shiftKey;c=p}c&&this.$G()};k.prototype.Ifa=function(){this.fA=p;this.$G()};k.prototype.cn=function(a){var b=a.which,c=y;if(b in this.bf){delete this.bf[b];c=y;for(b in this.bf)this.bf[b]&&(c=p);if(!c){this.gA&&
clearTimeout(this.gA);this.gA=q;this.fA=y}c=p}if(this.$z!=a.shiftKey){this.$z=a.shiftKey;c=p}c&&this.$G()};k.prototype.$G=function(){if(this.U){var a=this.ee.get("arrowKeysAction");if(a!="none"){var a=a=="rotate",b=[];this.bf[c.KI]?b.push(f.tm):this.bf[c.gK]&&b.push(f.um);this.fA&&(this.bf[c.KI]||this.bf[c.gK])&&b.push(f.fW);this.bf[c.ma]?b.push(f.dx):this.bf[c.Fa]&&b.push(f.ex);if(a||this.$z)this.bf[c.WC]?b.push(f.gx):this.bf[c.wC]&&b.push(f.cx);this.fA&&(this.bf[c.ma]||this.bf[c.Fa]||this.bf[c.WC]||
this.bf[c.wC])&&b.push(f.KV);b.length==0&&b.push(f.nd);this.trigger(new d(k.nJ,{S6:b}))}}};k.nJ="movementsChange";return k});
define("jo",["require"],function(){function a(){this.jr=p;this.reset()}function b(a,b){var g=0.5*(b-a);0.01>Math.abs(g)&&(g=0);return b-g}a.prototype.reset=function(){this.jr&&(this.jr=y,this.MG=this.NG=this.Hn=this.ci=this.ku=this.mu=this.lu=this.Mo=n)};a.prototype.moveTo=function(a,b,g,f,k){this.ci=a;this.Hn=b;this.NG=g;this.MG=f;this.IN=k;this.jr=p};a.prototype.Qa=function(a,b,g,f){this.Mo=a;this.lu=b;this.mu=g;this.ku=f};a.prototype.Tn=O("Mo");a.prototype.Sn=O("lu");a.prototype.ft=O("mu");a.prototype.vB=
O("ku");a.prototype.ad=O("jr");a.prototype.cb=function(){if(this.jr)if(this.IN)this.Mo=this.ci,this.lu=this.Hn,this.mu=this.NG,this.ku=this.MG,this.jr=y;else{for(var a=this.Mo,d=this.ci-180,g=this.ci+180;a<d;)a+=g-d;for(;a>g;)a-=g-d;this.Mo=a;this.Mo=b(this.Mo,this.ci);this.lu=b(this.lu,this.Hn);this.mu=b(this.mu,this.NG);this.ku=b(this.ku,this.MG);this.Mo==this.ci&&this.lu==this.Hn&&this.mu==this.NG&&this.ku==this.MG&&(this.jr=y)}};return a});
define("bH",["require","iB","hL","bd"],function(a){function b(){this.U=y;this.Wb=this.Da=this.ea=0;this.dk=n}var c=a("iB"),d=a("hL"),g=a("bd");b.prototype.vd=function(a){this.U!=a&&(this.U=a,this.dk=n)};b.prototype.Qa=function(a,b,c){this.ea=a;this.Da=b;this.Wb=c};b.prototype.Tn=O("ea");b.prototype.Sn=O("Da");b.prototype.ft=O("Wb");b.prototype.ad=Q(p);b.prototype.cb=function(){var a=c.rU(g.Yl().orientation);this.ea+=this.dk===n?0:a.ta-this.dk;this.dk=a.ta;this.Da=a.pitch;this.Wb=a.bd;this.Da=k===
n?a.pitch:k;this.Wb=f===n?a.bd:f};var f=d.mh("debug")?d.NH("force_vr_roll"):n,k=d.mh("debug")?d.NH("force_vr_pitch"):n;return b});
define("e","require,cK,hj,ji,bL,dX,bO,eN,du,cr,dr,jo,bH,cN,bd,N".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),k=a("bO"),j=a("eN"),h=a("du"),m=a("cr"),e=a("dr"),l=a("jo"),r=a("bH"),o=a("cN"),s=a("bd"),t=a("N"),u=c.extend(f,function(a,b,c){f.call(this);this.g=a;this.H=b;this.xb=c;this.uP=this.Vo=this.ny=this.YF=this.U=y;this.hb=new m;this.Bk=new l;this.Wb=this.Da=this.ea=0;this.ia=90;this.Js=1;this.Ce=n;this.TK=this.zx=5;this.Ga=new e;this.Ga.bind(e.Zw,this.L0,this,p);
this.Ga.bind(e.Gj,this.tp,this,p);this.Ga.bind(e.Ud,this.lk,this,p);this.Ga.bind(e.Td,this.kk,this,p);this.Ng=new j;this.Ng.bind(d.W,this.o0,this);this.Uo=y;this.Hh=new h(this.g);this.Hh.bind(h.nJ,this.A0,this,p);this.Jl=new r;s.bind(d.W,this.Wi,this,p);this.Wi()});u.prototype.clear=function(){this.Ga.unbind(e.Zw,this.L0,this,p);this.Ga.unbind(e.Gj,this.tp,this,p);this.Ga.unbind(e.Ud,this.lk,this,p);this.Ga.unbind(e.Td,this.kk,this,p);this.Ga.Ql();this.Ga=q;this.Ng.unbind(d.W,this.o0,this);this.Ng=
q;this.Hh.unbind(h.nJ,this.A0,this,p);this.Hh.clear();this.Hh=q;s.unbind(d.W,this.Wi,this,p);this.xb=this.H=this.hb=q;this.DD();this.g=q};u.prototype.ST=function(a){this.hb.reset();this.Bk.reset();this.Ga.ST(a);this.zx=a.get("automaticRotationSpeed");this.TK=a.get("automaticZoomSpeed")};u.prototype.$f=function(a){function c(d){return b(a).contains(d)}b.isArray(a)||(a=[a]);var d=0,e=0,f=0,g=y;if(!c(o.nd)){c(o.dx)?d=-this.zx:c(o.ex)&&(d=+this.zx);c(o.cx)?e=-this.zx:c(o.gx)&&(e=+this.zx);c(o.tm)?f=-this.TK:
c(o.um)&&(f=+this.TK);c(o.T)&&(g=p);c(o.fW)&&(f=f*2);if(c(o.KV)){d=d*10;e=e*10}d=d*this.Js;e=e*this.Js}this.rb(d,e,0,f,0,0,0,0,g,p,p,p)};u.prototype.Qa=function(a,b,c,d){this.ea=a;this.Da=b;this.Wb=c;this.ia=d;this.Js=this.ia/90;this.Ng.Qa(this.ea,this.Da,this.Wb);this.Jl.Qa(this.ea,this.Da,this.Wb);this.Ga.XB(this.ia);this.Bk.Qa(this.ea,this.Da,this.Wb,this.ia)};u.prototype.moveTo=function(a,b,c,d,e){this.Bk.moveTo(a,b,c,this.xb.t5(d),e);this.YF=y;this.hb.reset();this.Xf()};u.prototype.dU=function(a,
b,c){this.rb(0,0,0,0,a,b,c,0,y,y,y)};u.prototype.ad=function(){return this.U&&(this.uP||this.GI())?p:y};u.prototype.GI=function(){return this.U?this.Jl.U?this.Jl.ad()||this.hb.ad():this.Ng.U?this.Uo?p:this.Ng.ad()||this.hb.ad():this.hb.ad()||this.Bk.ad():y};u.prototype.cb=function(a){this.hb.cb(a);this.uP=y;var b,c,d;d=this.ia;if(this.Jl.U){this.Jl.cb(a);a=this.Jl.Tn()+this.hb.Fr;b=this.Jl.Sn();c=this.Jl.ft()}else if(this.Ng.U){this.Uo=y;this.Ng.cb(a);a=this.Ng.Tn()+this.hb.Fr;b=this.Ng.Sn();this.ny&&
(b=b+this.hb.Vx);c=this.Ng.ft();d=d+this.hb.TL}else if(this.Bk.ad()){this.Bk.cb(a);a=this.Bk.Tn();b=this.Bk.Sn();c=this.Bk.ft();d=this.Bk.vB()}else{a=this.ea+this.hb.Fr;b=this.Da+this.hb.Vx;c=0;d=d+this.hb.TL}this.xb.im(d);this.H.Qa(a,b,c,this.xb.ue(),this.xb.hq());this.ea=this.H.Tb();this.Da=this.H.Yb();this.Wb=this.H.Rd();this.ia=this.H.jq();if(this.YF&&this.H.l6()){d=this.hb.bB;if(this.H.k6()||this.H.m6())d=-d;a=this.hb.Bz;if(this.H.n6()||this.H.j6())a=-a;this.rb(d,a,0,0,0,0,0,0,p,y,y,p)}};u.prototype.Tn=
O("ea");u.prototype.Sn=O("Da");u.prototype.ft=O("Wb");u.prototype.vB=O("ia");u.prototype.vd=function(a){if(this.U!=a){if(this.U=a){this.Rp(this.Ga.cs==k.mm?t.GC:n);this.Ga.SB(this.g.getParent());this.Xf()}else{this.DD();this.Ga.Ql()}this.qR()}};u.prototype.VB=function(a){if(this.Vo!=a){this.Vo=a;this.qR();this.Uo=p}};u.prototype.vq=function(a){this.Hh.vd(a)};u.prototype.qR=function(){this.Ng.vd(this.U&&this.Vo&&!s.isPresenting());this.Jl.vd(this.U&&s.isPresenting())};u.prototype.o0=function(){this.Xf()};
u.prototype.WB=function(a){this.ny=a;this.Ng.mpa(this.ny)};u.prototype.yq=function(a){this.Ga.yq(a);this.Rp(this.Ga.cs==k.mm?t.GC:n)};u.prototype.yt=function(a){this.Ga.yt(a)};u.prototype.Wi=function(){this.qR();this.Xf()};u.prototype.L0=function(a){var b=!this.Jl.U&&(!this.Ng.U||this.ny);if(this.Ga.cs==k.Jq){var c=n;if(a.Bq!=0||a.qq!=0){var d=Math.sqrt(a.qq*a.qq+a.Bq*a.Bq)>25,e=Math.atan2(a.qq,a.Bq)*180/Math.PI;e>=-22.5&&e<22.5?c=d?t.fV:t.eV:e>=22.5&&e<67.5?c=d?t.hV:t.oV:e>=67.5&&e<112.5?c=d?t.gV:
t.nV:e>=112.5&&e<157.5?c=d?t.iV:t.pV:e>=157.5||e<-157.5?c=d?t.mV:t.tV:e>=-157.5&&e<-112.5?c=d?t.lV:t.sV:e>=-112.5&&e<-67.5?c=d?t.jV:t.qV:e>=-67.5&&e<-22.5&&(c=d?t.kV:t.rV)}this.Rp(c);this.rb(a.Bq,a.qq,0,0,a.II,a.lI,0,0,y,y,y,b)}else this.rb(a.Bq,a.qq,0,0,a.II,a.lI,0,0,y,y,b,b)};u.prototype.tp=function(a){this.rb(0,0,0,a.Fma,0,0,0,a.RS,y,p,y,p)};u.prototype.rb=function(a,b,c,d,e,f,g,h,j,l,k,o){if(a=(a=y||this.hb.L7(a,b,c,e,f,g,l,k,o))||this.hb.rpa(d,h)){this.Bk.reset();this.YF=j;this.Xf()}};u.prototype.Xf=
function(){this.uP=p;this.trigger(new g(u.dg))};u.prototype.lk=function(){this.trigger(new g(u.Ud));this.Ga.cs==k.mm&&this.Rp(t.YU)};u.prototype.kk=function(){this.trigger(new g(u.Td));this.Ga.cs==k.mm&&this.Rp(t.GC)};u.prototype.A0=function(a){this.$f(a.data.S6);a.data.S6.indexOf(o.nd)<0&&this.g.bb().trigger(new g(d.AC,{S7:a}))};u.prototype.Rp=function(a){if(this.Ce!=a&&this.U){this.Ce&&this.g.Cw(this.Ce);(this.Ce=a)&&this.g.nI(this.Ce)}};u.prototype.DD=function(){if(this.Ce){this.g.Cw(this.Ce);
this.Ce=n}};u.dg="position change request";u.Ud="user interaction start";u.Td="user interaction end";return u});define("ig",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraMovement",b).B("RotationalCameraMovement").K({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("C","require,hj,ji,ew,bL,dX,dj,es,ig,iX,bk".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("ew"),g=a("bL"),f=a("dX"),k=a("dj");a("es");a("ig");var j=a("iX"),h=a("bk"),m=b.extend(f,function(a,b,c){f.call(this);this.g=a;this.H=b;this.xb=c;this.lv=this.Qc=q;this.Ap=this.Bp=y;this.Qu=[];this.WP=0;this.I=q;this.Da=this.ea=0;this.ia=90});m.prototype.clear=function(){this.end();this.H=this.g=q};m.prototype.start=function(a){this.cia(a);this.dga();this.Bp=this.Ap=y;this.Xf();this.Wf()};m.prototype.end=
function(){if(this.Qc!=q){this.VX();this.Bp=this.Ap=y;this.I=q;this.Wf()}};m.prototype.sna=function(){if(this.Qc&&this.Qc.get("restartMovementOnUserInteraction")){if(!this.Bp){this.OQ();this.I=q;this.Bp=p;this.Wf()}}else this.end()};m.prototype.xna=function(){if(this.Bp){this.Bp=y;this.r_()||this.Gia()}};m.prototype.cia=function(a){this.VX();this.Qc=a;this.Qc.bind(c.uo,this.a1,this,p);this.Qc.bind(c.PC,this.$0,this,p);this.Qc.bind(c.ha("movementIndex"),this.JO,this,p);this.Qu=this.Qc.get("movements",
[])};m.prototype.VX=function(){this.OQ();if(this.Qc!=q){this.Qc.unbind(c.uo,this.a1,this);this.Qc.unbind(c.PC,this.$0,this);this.Qc.unbind(c.ha("movementIndex"),this.JO,this);this.Qc.set("movementIndex",-1);this.Qc=q;this.Qu=[]}};m.prototype.Yf=function(){return this.Qc?this.Ap?d.Jc:d.T:d.L};m.prototype.Qa=function(a,b,c,d){this.ea=a;this.Da=b;this.ia=d};m.prototype.ad=function(){return this.Qc&&!this.Ap&&!this.Bp&&!this.r_()?p:y};m.prototype.cb=function(a){if(this.ad()){this.I.cb(a);a=this.I.kb("hfov");
if(this.xb.G6()){var b=this.I.Ola();b.qB=this.xb.zH(b.qB);b.CI=this.xb.zH(b.CI);a=this.xb.zH(a)}this.H.Qa(this.I.kb("yaw"),this.I.kb("pitch"),0,a,this.xb.hq());this.ea=this.H.Tb();this.Da=this.H.Yb();this.ia=this.H.jq();this.I.he()&&this.ofa()}};m.prototype.Tn=O("ea");m.prototype.Sn=O("Da");m.prototype.vB=O("ia");m.prototype.play=function(){if(this.Ap){this.Ap=y;this.Xf();this.Wf()}};m.prototype.pause=function(){if(!this.Ap){this.Ap=p;this.Wf()}};m.prototype.a1=function(){this.play()};m.prototype.$0=
function(){this.pause()};m.prototype.dga=function(){this.WP=0;var a=this.Qc.get("movementIndex",-1);a==-1&&(a=0);this.PF(a)};m.prototype.fga=function(){this.WP++;var a=this.Qc.get("repeat",1);if(this.Qu.length>0&&(a==0||this.WP<a))this.PF(0);else{this.Qc.trigger(new g(c.ua));this.end();this.xja()}};m.prototype.ega=function(){this.PF(this.Qc.get("movementIndex",0)+1)};m.prototype.PF=function(a){if(a<this.Qu.length)this.Qc.get("movementIndex")!=a?this.Qc.set("movementIndex",a):this.JO();else{this.Qc.trigger(new g(c.Yq));
this.fga()}};m.prototype.JO=function(){var a=this.Qc.get("movementIndex");this.I=a>=0?this.Saa(this.Qu[a]):q};m.prototype.ofa=function(){this.Qu[this.Qc.get("movementIndex")].trigger(new g(c.ua));this.ega()};m.prototype.r_=function(){return this.lv!=q};m.prototype.Gia=function(){this.OQ();var a=this,b=this.Qc.get("restartMovementDelay")||0;this.lv=setTimeout(function(){a.lv=q;a.Efa()},b);this.Wf()};m.prototype.OQ=function(){if(this.lv){clearTimeout(this.lv);this.lv=q}};m.prototype.Efa=function(){this.PF(this.Qc.get("movementIndex"));
this.Xf();this.Wf()};m.prototype.Saa=function(a){var b,c,d,f=this.ys(this.ea,-180,180),g=this.Da,m=this.ia;if(k.vb("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",f);c=a.get("targetPitch",g);if(d=a.get("targetHfov")){this.xb.B7(d);d=this.xb.ue()}else d=m;this.H.Qa(b,c,0,d,this.xb.hq());if(this.H.ps)b=this.H.Tb();else switch(a.get("path")){case "left":b=this.ys(b,f-360,f);break;case "right":b=this.ys(b,f,f+360);break;case "longest":b=this.ys(b,f-180,f+180);b=b>=f?this.ys(b,f-360,f):this.ys(b,
f,f+360);break;default:b=this.ys(b,f-180,f+180)}}else if(k.vb("DistanceRotationalCameraMovement",a)){b=f+a.get("yawDelta",0);this.H.ps&&(b=Math.min(Math.max(-180,b),180));c=g+a.get("pitchDelta",0);d=m+a.get("hfovDelta",0);this.H.Qa(b,c,0,d,this.xb.hq());this.H.ps&&(b=this.H.Tb())}c=this.H.Yb();d=this.H.jq();return new j(a.get("easing"),[new h("yaw",f,b,a.get("yawSpeed")),new h("pitch",g,c,a.get("pitchSpeed")),new h("hfov",m,d,a.get("hfovSpeed"))],a.get("duration"))};m.prototype.ys=function(a,b,c){for(;a<
b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};m.prototype.Xf=function(){this.trigger(new g(m.dg))};m.prototype.xja=function(){this.trigger(new g(m.zJ))};m.prototype.Wf=function(){this.trigger(new g(m.Fb))};m.dg="position change request";m.zJ="sequence end";m.Fb="playback state change";return m});
define("bb","require,cK,hj,ji,bL,dX,fv,e,C,cN,bd,ew".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("ji"),g=a("bL"),f=a("dX"),k=a("fv"),j=a("e"),h=a("C"),m=a("cN"),e=a("bd"),l=a("ew"),r=c.extend(f,function(a,b){f.call(this);this.g=a;this.g.bind(d.sb,this.ib,this);e.bind(d.W,this.Wi,this,p);this.xb=b;this.$P=y;this.ia=this.Wb=this.Da=this.ea=n;this.Nl=this.Ml=this.Yy=this.az=this.$y=this.Zy=y;this.bi=p;this.Cu=this.sk=0;this.U=y;this.Gh=q;this.sy=5E3;this.wy=this.FN=q;this.tv=[];this.gf=this.zo=
l.L;this.H=new k(a);this.La=new j(this.g,this.H,this.xb);this.La.bind(j.dg,this.un,this,p);this.La.bind(j.Ud,this.lk,this,p);this.La.bind(j.Td,this.kk,this,p);this.Hc=new h(this.g,this.H,this.xb);this.Hc.bind(h.dg,this.un,this,p);this.Hc.bind(h.zJ,this.OO,this,p);this.Hc.bind(h.Fb,this.b1,this,p)});r.prototype.clear=function(){this.Cl();this.La.unbind(j.dg,this.un,this);this.La.unbind(j.Ud,this.lk,this,p);this.La.unbind(j.Td,this.kk,this,p);this.La.clear();this.La=q;this.Hc.unbind(h.dg,this.un,this);
this.Hc.unbind(h.zJ,this.OO,this);this.Hc.unbind(h.Fb,this.b1,this);this.Hc.clear();this.H=this.Hc=q;this.g.unbind(d.sb,this.ib,this);e.unbind(d.W,this.Wi,this,p);this.g=q;b(this.tv).each(function(a){a.unbind(d.uo,this.iQ,this,p)},this);this.tv=[]};r.prototype.end=function(){this.zo=l.L;this.Cl();this.La.vd(y);this.Hc.end();this.U=y;this.Fn(0,0,0,0);this.wy=this.FN=q;b(this.tv).each(function(a){a.unbind(d.uo,this.iQ,this,p)},this);this.tv=[];this.Os()};r.prototype.start=function(a,b){this.zo=l.T;
this.U=p;this.Fn(0,0,0,0);this.Vz(a);this.Eha(b);this.h2();this.HG(this.wy);this.Os()};r.prototype.Yf=O("gf");r.prototype.play=function(){this.zo=l.T;this.Hc.Yf()==l.Jc?this.Hc.play():this.Hc.Yf()==l.L&&(this.wy?this.HG(this.wy):this.Iu()||this.iA());this.Os()};r.prototype.Xna=function(){this.zo==l.Jc&&this.play()};r.prototype.pause=function(){this.La.$f(m.nd);if(this.zo==l.T){this.zo=l.Jc;if(this.Hc.Yf()==l.T){this.Hc.pause();this.Os()}else this.Iu()&&this.Cl()}};r.prototype.stop=function(){this.zo=
l.L;this.Hc.Yf()!=l.L&&this.Hc.end();this.La.$f(m.nd);this.Os();this.Iu()&&this.Cl()};r.prototype.moveTo=function(a,b,c,d,e){this.La.moveTo(a,b,c,d,e)};r.prototype.Wi=function(){this.H.sI(e.isPresenting())};r.prototype.$f=function(a){this.La.$f(a)};r.prototype.dU=function(a,b,c){this.La.dU(a,b,c)};r.prototype.VB=function(a){if(this.Vo!=a){this.Vo=a;this.La.VB(this.Vo);this.fa()}};r.prototype.WB=function(a){this.La.WB(a)};r.prototype.yq=function(a){this.La.yq(a)};r.prototype.yt=function(a){this.La.yt(a)};
r.prototype.vq=function(a){this.La.vq(a)};r.prototype.fo=function(a){if(this.U)if(this.La.ad()||e.isPresenting()||this.Vo&&(this.La.U||!this.La.ny)){this.La.GI()&&this.Hc.sna();this.La.cb(a);this.$h(this.La.Tn(),this.La.Sn(),this.La.ft(),this.La.vB());this.fa()}else if(this.Hc.Bp){this.Hc.xna();this.fa()}else if(this.Hc.ad()){this.Hc.cb(a);this.$h(this.Hc.Tn(),this.Hc.Sn(),0,this.Hc.vB());this.fa()}else if(this.$P){this.$P=y;this.xb.im(this.g.ue());this.H.Qa(this.g.Tb(),this.g.Yb(),this.g.Rd(),this.xb.ue(),
this.xb.hq());this.$h(this.H.Tb(),this.H.Yb(),this.H.Rd(),this.H.jq());this.fa()}else{this.Fn(0,0,0,0);this.zo==l.T&&this.Hc.Yf()==l.L&&(this.Iu()||this.iA())}};r.prototype.ec=function(){this.dka();this.h2()};r.prototype.dka=function(){var a=this.g.Tb()-this.ea||0,b=this.g.Yb()-this.Da||0,c=this.g.Rd()-this.Wb||0;this.Fn(a,b,c,this.g.ue()-this.ia||0)};r.prototype.h2=function(){this.ea=this.g.Tb();this.Da=this.g.Yb();this.Wb=this.g.Rd();this.ia=this.g.ue();this.La.Qa(this.ea,this.Da,this.Wb,this.ia);
this.Hc.Qa(this.ea,this.Da,this.Wb,this.ia)};r.prototype.Vz=function(a){this.H.bg(a)};r.prototype.Eha=function(a){this.sy=a.get("timeToIdle",5E3);this.FN=a.get("idleSequence");this.wy=a.get("initialSequence");this.La.ST(a);this.tv=a.get("sequences",[]);b(this.tv).each(function(a){a.bind(d.uo,this.iQ,this,p)},this)};r.prototype.iQ=function(a){this.HG(a.source)};r.prototype.un=function(){this.Cl();this.fa()};r.prototype.lk=function(){this.trigger(new g(r.Ud))};r.prototype.kk=function(){this.trigger(new g(r.Td))};
r.prototype.HG=function(a){if(a){this.La.vd(!a.get("mandatory",y));this.Hc.start(a)}else this.OO()};r.prototype.OO=function(){this.La.vd(p);this.iA()};r.prototype.b1=function(){this.Os()};r.prototype.ib=function(){this.$P=p;this.fa()};r.prototype.Iu=function(){return this.Gh!=q};r.prototype.iA=function(){this.Cl();var a=this;this.Gh=setTimeout(function(){a.Gh=q;a.GO()},this.sy)};r.prototype.Cl=function(){if(this.Gh){clearTimeout(this.Gh);this.Gh=q}};r.prototype.GO=function(){this.HG(this.FN)};r.prototype.fa=
function(){this.trigger(new g(r.ra))};r.prototype.$h=function(a,b,c,d){this.g.Qa(a,b,c,d)};r.prototype.Fn=function(a,b,c,d){var c=y,e=Math.abs(a)<0.001&&Math.abs(b)<0.001&&Math.abs(d)<0.001;if(e||this.Vo){c=this.bi!=p;this.Nl=this.Ml=this.Yy=this.az=this.$y=this.Zy=y;this.bi=p}else{if(this.Zy!=a<-0.001){this.Zy=!this.Zy;c=p}if(this.$y!=a>0.001){this.$y=!this.$y;c=p}if(this.Yy!=b<-0.001){this.Yy=!this.Yy;c=p}if(this.az!=b>0.001){this.az=!this.az;c=p}if(this.Ml!=d<-0.001){this.Ml=!this.Ml;c=p}if(this.Nl!=
d>0.001){this.Nl=!this.Nl;c=p}if(this.bi!=e){this.bi=!this.bi;c=p}}e||this.trigger(new g(r.Dj,{yaw:this.ea,pitch:this.Da,roll:this.Wb,hfov:this.ia}));if(c){(this.U||this.bi)&&this.trigger(new g(r.cg,{movingLeft:this.Zy,movingRight:this.$y,movingUp:this.az,movingDown:this.Yy,zoomingIn:this.Ml,zoomingOut:this.Nl,stopped:this.bi}));this.Os()}};r.prototype.Os=function(){var a;if(this.U){a=this.Hc.Yf();if(!this.bi)a=l.T}else a=l.L;if(this.gf!=a){this.gf=a;this.trigger(new g(r.Fb,{state:this.gf}))}};r.ra=
"request frame";r.cg="movement change";r.Dj="position change";r.Fb="playback state change";r.Ud="user interaction start";r.Td="user interaction end";return r});
define("O","require,ji,fv,t,iA,hL,bd,iB".split(","),function(a){function b(a,d,f){this.g=a;this.xb=d;this.Ev=f;this.H=new c(a);f.xj&&this.H.bg(f.xj);this.En=new c(a);this.hO=this.dk=n;this.ea=this.g.Tb();this.Da=this.g.Yb();this.Wb=this.g.Rd();this.ia=this.Ev.xj?this.g.ue():b.vC;this.y3=0;this.N=q;this.x_=p}a("ji");var c=a("fv"),d=a("t"),g=a("iA"),f=a("hL"),k=a("bd"),j=a("iB");b.prototype.bg=function(a){if(this.N!=a){this.zp=p;this.N=a}};b.prototype.wt=function(a,b){this.ea=a;this.Da=b};b.prototype.$v=
function(a){this.xb.B7(a);return this.xb.ue()};b.prototype.im=N("ia");b.prototype.aC=N("x_");b.prototype.xt=N("y3");b.prototype.fo=function(){if(this.xb.G6())this.ia=this.xb.zH(this.ia);if(this.Ev.Kb()){var a=k.Yl().orientation,a=j.rU(a);this.ea=this.ea+(this.dk===n?0:a.ta-this.dk);this.dk=a.ta;this.Da=a.pitch;this.Wb=a.bd;this.Da=m===n?a.pitch:m;this.Wb=h===n?a.bd:h}else if(this.Ev.yma()){var a=g.am(),b=this.nv(a.yaw,this.ea);this.ea=this.ea+(this.dk===n?0:b-this.dk);this.Da=this.Da+(this.hO===n?
0:a.pitch-this.hO);this.Wb=a.roll;this.dk=a.yaw;this.hO=a.pitch}this.zp&&this.H.bg(this.N);this.H.sI(k.isPresenting());this.H.Qa(this.ea,this.Da,this.Wb,this.ia,this.xb.hq());if(this.zp){this.zp=y;if(this.Ev&&this.Ev.xj)if(a=this.g.lf(this.Ev.xj)){a.set("deltaYaw",this.g.Tb()-this.H.Tb());a.set("deltaPitch",this.g.Yb()-this.H.Yb());a.set("deltaRoll",this.g.Rd()-this.H.Rd())}}this.ea=this.H.Tb();this.Da=this.H.Yb();this.Wb=this.H.Rd();this.ia=this.x_?this.H.jq():this.ia;this.g.Qa(this.ea,this.Da,this.Wb,
this.ia);this.g.xt(this.y3)};b.prototype.pI=function(a,b){this.En.bg(a);this.En.Qa(0,0,0,b,this.xb.hq());return this.En.jq()};b.prototype.$na=function(a,b){this.En.bg(a);this.En.Qa(b.ta,b.pitch,b.bd,b.Uc,this.xb.hq());b.ta=this.En.Tb();b.pitch=this.En.Yb();b.bd=this.En.Rd();b.Uc=this.En.jq()};b.prototype.nv=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.pS=function(){return b.vC};b.vC=d.Xa()?90:110;b.prototype.pS=function(){return b.vC};b.vC=d.Xa()?90:110;var h=f.mh("debug")?
f.NH("force_vr_roll"):n,m=f.mh("debug")?f.NH("force_vr_pitch"):n;return b});
define("jx","require,dj,en,hI,t,bd".split(","),function(a){function b(a,c,f,e){this.g=a;a=this.g.D;this.uU=a.get("transitionMode","blending");var k=a.get("transitionDuration",500);if(this.Ida(c,f)){this.uU=b.CC;k=1500}this.b5=a.get("blendingTransitionDuration",k);this.Bla=a.get("firstTransitionDuration",k);this.ola=a.get("disolveTransitionDuration",k);this.Fpa=a.get("translationTransitionDuration",1E3);this.Gpa=a.get("translationTransitionEnabled",p);this.Y6=a.get("originTransitionDuration",3E3);
this.JI=1E3;this.xj=c;this.vpa=!c||c.A6();this.kd=f;this.Dpa=!f||f.z6();this.mU=!f||f.A6();this.Cpa=!!f&&this.XN(f);a=(this.lU=e)&&e.get("initialPosition")||new d;this.nh=new d;this.nh.set("yaw",a.get("yaw",0));this.nh.set("pitch",a.get("pitch"));this.nh.set("hfov",a.get("hfov"));this.Zc=new g;this.Zc.set("yaw",this.nh.get("yaw"));this.Zc.set("pitch",this.nh.get("pitch"));this.Zc.set("hfov",this.nh.get("hfov"));this.Zc.set("stereographicFactor",0);this.lj=[];if(!c){this.lj=e&&e.get("displayMovements")||
[];for(a=this.lj.length-1;a>=0;a--){this.Zc.set("yaw",this.Zc.get("yaw",this.lj[a].get("targetYaw")));this.Zc.set("pitch",this.Zc.get("pitch",this.lj[a].get("targetPitch")));this.Zc.set("hfov",this.Zc.get("hfov",this.lj[a].get("targethfov")));this.Zc.set("stereographicFactor",this.Zc.get("stereographicFactor",this.lj[a].get("stereographicFactor")))}e=e&&e.get("displayOriginPosition")||this.nh;this.Zc.set("yaw",e.get("yaw"));this.Zc.set("pitch",e.get("pitch"));this.Zc.set("hfov",e.get("hfov"));this.Zc.set("stereographicFactor",
e.get("stereographicFactor"))}this.mode=(this.DI=this.uU==b.Rk&&this.Gpa&&this.Dpa?this.oda(c,f):q)?b.XV:c?f?this.uU=="blending"?b.Rk:b.CC:b.WU:b.VU;if(this.mode==b.Rk&&(!this.vpa||!this.mU))if(this.Zc.get("stereographicFactor",0)>0||this.lj.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.CC}var c=a("dj"),d=a("en"),g=a("hI"),f=a("t"),k=a("bd");b.prototype.yma=function(){return this.g.ee.get("gyroscopeEnabled")};b.prototype.Kb=function(){return k.isPresenting()};
b.prototype.oda=function(a,b){if(!a||!b)return q;var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.Vka()&&a.get("panorama")==b});return c.length==0?q:c[0]};b.prototype.Ida=function(a,b){return this.Kb()&&f.Ed()==f.Ai&&(this.XN(a)||this.XN(b))};b.prototype.XN=function(a){a=(a=a&&a.get("frames"))&&a.length>0&&a[0].get("sphere");return!(!a||!c.vb("Video360Resource",a))};b.CC="fade_out_fade_in";b.VU="fade_in";b.WU="fade_out";b.Rk="blending";b.XV="translation";return b});
define("n",["require"],function(){function a(a,c,d,g){this.p=a;this.Wa=c;this.g=d;this.O=g}a.prototype.oi=Q(y);a.prototype.rj=D();a.prototype.lq=Q(y);return a});
define("eA",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n"),d=a("iX"),g=a("bk"),a=b.extend(c,function(a,b,d,g){c.call(this,a,b,d,g);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc){if(!this.I){var b=this.g.lf(this.O.kd);b.kj();b.set("alpha",0.01);this.I=new d("linear",[new g("alpha",0,1,n)],this.O.b5)}this.I.cb(a);a=this.I.kb("alpha");b=this.g.lf(this.O.kd);b.set("alpha",a);this.I.he()&&(this.bc=p)}};return a});
define("hF",["require","hj","n"],function(a){var b=a("hj"),c=a("n"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k);this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(){this.bc||(this.Jp(),this.bc=p)};a.prototype.Jp=D();return a});
define("eS",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.Jp=function(){this.O.kd&&!this.g.lf(this.O.kd)&&(this.Nd=this.g.create(this.O.kd),this.Nd.set("alpha",0),this.Nd.set("loadingActive",p),this.g.add(this.Nd))};return a});
define("eU",["require","hj","hF","ht"],function(a){var b=a("hj"),c=a("hF"),d=a("ht"),a=b.extend(c,function(a,b,d,j){c.call(this,a,b,d,j)});a.prototype.Jp=function(){this.O.Cpa&&d.GT(this.g.bb(),this)};return a});
define("hc",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n");Ease=a("iX");EaseDimension=a("bk");a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc&&(this.I||(this.I=new Ease("linear",[new EaseDimension("alpha",0,1,n)],this.g.D.Spa()?this.O.Bla:this.O.b5)),this.I.cb(a),a=this.I.kb("alpha"),this.g.lf(this.O.kd).set("alpha",a),this.I.he()))this.bc=p};return a});
define("bm",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n");Ease=a("iX");EaseDimension=a("bk");a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc&&(this.I||(this.I=new Ease("linear",[new EaseDimension("alpha",1,0,n)],this.O.ola)),this.I.cb(a),a=this.I.kb("alpha"),this.g.lf(this.O.xj).set("alpha",a),this.I.he()))this.bc=p};return a});
define("cc",["require","hj","n","iX","bk"],function(a){function b(a,b,c){for(;a<b;)a+=c-b;for(;a>c;)a-=c-b;return a}var c=a("hj"),d=a("n"),g=a("iX"),f=a("bk"),a=c.extend(d,function(a,b,c,f){d.call(this,a,b,c,f);this.I=q;this.bc=y;this.eF=0});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc&&(this.I||(this.I=this.eF<this.O.lj.length?this.eba(this.eF):this.Taa()),this.I.cb(a),this.Wa.wt(this.I.kb("yaw"),this.I.kb("pitch")),this.Wa.im(this.I.kb("hfov")),this.Wa.xt(this.I.kb("stereographicFactor")),
this.I.he()))this.I=q,this.eF++,this.eF>this.O.lj.length&&(this.Wa.aC(p),this.bc=p)};a.prototype.Taa=function(){var a=b(this.g.Tb(),-180,180),c=this.g.Yb();this.g.Rd();var d=this.g.ue(),m=this.g.k.qh,e=this.O.nh.get("hfov"),e={ta:this.O.nh.get("yaw"),pitch:this.O.nh.get("pitch",c),bd:this.g.Rd(),Uc:e?this.Wa.$v(e):d,qh:0};this.Wa.$na(this.O.kd,e);e.ta=b(e.ta,a-180,a+180);var l=0.5<Math.abs(d-e.Uc),r=Math.abs(m-e.qh),o=0.01<r,l=this.O.Kb()?1:Math.max(l?this.O.JI:1,o?this.O.Y6*r:1);return new g(o?"linear":
"cubic_in_out",[new f("yaw",a,e.ta,n),new f("pitch",c,e.pitch,n),new f("hfov",d,e.Uc,n),new f("stereographicFactor",m,e.qh,n)],l)};a.prototype.eba=function(a){var c=this.O.lj[a],d=b(this.g.Tb(),-180,180),m=this.g.Yb();this.g.Rd();var e=this.g.ue(),l=this.g.k.qh,r=c.get("targetStereographicFactor",l),o=c.get("targetHfov");if(o)o=this.Wa.$v(o);else{for(o=y;a<this.O.lj.length&&!o;a++)o=this.O.lj[a].get("targetHfov")!==n;o?o=e:(o=this.Wa.$v(this.O.nh.get("hfov",this.Wa.pS())),o=e+(o-e)*(l-r))}var a=c.get("targetYaw",
d),s=c.get("targetPitch",m);this.g.Rd();switch(c.get("path")){case "left":a=b(a,d-360,d);break;case "right":a=b(a,d,d+360);break;case "longest":a=b(a,-360,360);a=a>=d?b(a,d,d+360):b(a,d-360,d);break;default:a=b(a,d-180,d+180)}return new g(c.get("easing"),[new f("yaw",d,a,c.get("yawSpeed")),new f("pitch",m,s,c.get("pitchSpeed")),new f("hfov",e,o,c.get("hfovSpeed")),new f("stereographicFactor",l,r,c.get("stereographicFactorSpeed"))],c.get("duration"))};return a});
define("dK",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n"),d=a("iX"),g=a("bk"),a=b.extend(c,function(a,b,d,g){c.call(this,a,b,d,g);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc){if(!this.I){var b=this.g.Yb(),c=this.g.ue(),h=this.g.k.qh,m=this.O.Zc.get("stereographicFactor",0),e=Math.abs(h-m),l=0<m?this.O.Zc.get("pitch",b):b,r=this.O.Zc.get("hfov"),r=r?this.Wa.$v(r):c;0==m&&(r=Math.min(c,this.Wa.pI(this.O.kd,r)));this.Wa.aC(y);e=this.O.Kb()?1:
Math.max(0.5<Math.abs(c-r)?this.O.JI:1,0.01<e?this.O.Y6:1);this.I=new d("cubic_in_out",[new g("hfov",c,r,n),new g("pitch",b,l,n),new g("stereographicFactor",h,m,n)],e)}this.I.cb(a);this.Wa.im(this.I.kb("hfov"));this.Wa.xt(this.I.kb("stereographicFactor"));this.Wa.wt(this.g.Tb(),this.I.kb("pitch"));this.I.he()&&(this.Wa.bg(this.O.kd),this.Wa.wt(this.O.Zc.get("yaw"),this.O.Zc.get("pitch",this.g.Yb())),this.bc=p)}};return a});
define("cU",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.Jp=function(){this.g.remove(this.g.lf(this.O.xj))};return a});
define("q",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.Jp=function(){this.Wa.bg(this.O.kd);this.Wa.wt(this.O.nh.get("yaw"),this.O.nh.get("pitch",this.g.Yb()));var a=this.O.nh.get("hfov");a&&(a=this.Wa.$v(a),this.Wa.im(a))};a.prototype.lq=Q(p);return a});
define("eD",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.Jp=function(){this.Wa.bg(this.O.kd);this.Wa.xt(this.O.mU?this.O.Zc.get("stereographicFactor",0):0);this.Wa.wt(this.O.Zc.get("yaw"),this.O.Zc.get("pitch",this.g.Yb()));var a=this.O.Zc.get("hfov");!a&&!this.O.xj&&(a=this.Wa.pS());a&&(a=this.Wa.$v(a),this.Wa.im(a),this.Wa.aC(!this.O.mU))};a.prototype.lq=Q(p);return a});
define("dZ",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.Jp=function(){this.Wa.bg(this.O.kd);this.Wa.im(this.Wa.pI(this.O.kd,this.g.ue()));this.Wa.wt(this.g.Tb()+this.O.DI.z5(),this.g.Yb())};a.prototype.lq=Q(p);return a});
define("jc",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n"),d=a("iX"),g=a("bk"),a=b.extend(c,function(a,b,d,g){c.call(this,a,b,d,g);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc){if(!this.I){var b=this.g.ue(),c=this.Wa.pI(this.O.kd,b),h=!this.O.Kb()&&0.01<Math.abs(b-c)?this.O.JI:1;this.I=new d("cubic_in_out",[new g("hfov",b,c,n)],h)}this.I.cb(a);this.Wa.im(this.I.kb("hfov"));this.I.he()&&(this.Wa.aC(p),this.bc=p)}};a.prototype.lq=Q(p);return a});
define("dD",["require","hj","n","iX","bk"],function(a){var b=a("hj"),c=a("n"),d=a("iX"),g=a("bk"),a=b.extend(c,function(a,b,d,g){c.call(this,a,b,d,g);this.I=q;this.bc=y});a.prototype.oi=O("bc");a.prototype.rj=function(a){if(!this.bc){if(!this.I){var b=this.g.ue(),c=Math.min(this.Wa.pI(this.O.kd,b),b),h=!this.O.Kb()&&0.01<Math.abs(b-c)?this.O.JI:1;this.I=new d("cubic_in_out",[new g("hfov",b,c,n)],h);this.Wa.aC(y)}this.I.cb(a);this.Wa.im(this.I.kb("hfov"));this.I.he()&&(this.Wa.bg(this.O.kd),this.Wa.wt(this.g.Tb()+
this.O.DI.z5(),this.g.Yb()),this.bc=p)}};a.prototype.lq=Q(p);return a});
define("be",["require","hj","n","t"],function(a){var b=a("hj"),c=a("n"),d=a("t"),a=b.extend(c,function(a,b,d,j){c.call(this,a,b,d,j);this.k="not initialized";this.Ab=0});a.prototype.oi=function(){return"ended"==this.k};a.prototype.rj=function(a){this.oi()||("not initialized"==this.k&&this.xy(),"initialized"==this.k&&(this.Ck.get("ready")||this.Ck.bT())&&this.via(),"started"==this.k&&this.J(a),1<=this.Ab&&this.cy())};a.prototype.xy=function(){this.J1=this.O.Fpa;this.Dx=0.25;this.E$=0.75;this.Dga=0.25;
this.U3=0.75;this.vK=0.5*this.J1;this.Eja=this.J1-2*this.vK;this.rO=1/(this.vK+this.Eja);this.eD=this.rO/this.vK;this.Gn=0;this.Ck=this.g.lf(this.O.kd);this.DQ=this.g.lf(this.O.xj);this.su=this.O.DI.Tla();this.k="initialized"};a.prototype.via=function(){this.g.E7(!this.O.Kb()&&d.browser()!=d.Tk);this.Ck.kj();this.k="started"};a.prototype.J=function(a){this.Ck.get("ready")||this.Ab<this.Dga?this.Ab>=1-0.5*this.Gn*this.Gn/this.eD?this.Gn=Math.sqrt(2*(1-this.Ab)*this.eD):this.Gn<this.rO&&(this.Gn=Math.min(this.Gn+
this.eD*a,this.rO)):this.Gn=Math.max(this.Gn-this.eD*a,0);this.Ab=Math.min(Math.max(0,this.Ab+this.Gn*a),1);this.Ck.get("ready")||(this.Dx=Math.max(this.Dx,this.Ab));this.Zja(this.Ab,Math.max(0,Math.min(1,(this.Ab-this.Dx)/(this.E$-this.Dx))))};a.prototype.cy=function(){this.Ck.set("alpha",1);this.g.E7(y);this.k="ended"};a.prototype.Zja=function(a,b){var c=(a-1)*this.U3;this.Ck.set("translationX",c*this.su.x);this.Ck.set("translationY",c*this.su.y);this.Ck.set("translationZ",c*this.su.z);this.Ck.get("ready");
c=a*this.U3;this.DQ.set("translationX",c*this.su.x);this.DQ.set("translationY",c*this.su.y);this.DQ.set("translationZ",c*this.su.z);this.Ck.set("alpha",Math.max(0.01,Math.min(0.99,b)))};a.prototype.lq=function(){return this.Ab<this.Dx};return a});define("fL",["require","hj","hF"],function(a){var b=a("hj"),c=a("hF"),a=b.extend(c,function(a,b,f,k,j){c.call(this,a,b,f,k);this.X$=j});a.prototype.Jp=function(){this.X$.call(this.p)};return a});
define("dU",["require","hj","n"],function(a){var b=a("hj"),c=a("n"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.oi=function(){var a=this.g.bb(),b=a&&a.kH,a=a&&a.aF;return!!b&&!b.get("visible")&&!!a&&!a.get("visible")};return a});define("dw",["require","hj","n"],function(a){var b=a("hj"),c=a("n"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k);this.s2=this.O.kd&&this.g.lf(this.O.kd)});a.prototype.oi=function(){return this.s2&&this.s2.get("ready")};a.prototype.lq=Q(p);return a});
define("jq","require,bL,dX,O,jx,eA,eS,eU,hc,bm,cc,dK,cU,q,eD,dZ,jc,dD,be,fL,dU,dw,hj".split(","),function(a){var b=a("bL"),c=a("dX"),d=a("O"),g=a("jx"),f=a("eA"),k=a("eS"),j=a("eU"),h=a("hc"),m=a("bm"),e=a("cc"),l=a("dK"),r=a("cU"),o=a("q"),s=a("eD"),t=a("dZ"),u=a("jc"),v=a("dD"),x=a("be"),w=a("fL"),z=a("dU"),C=a("dw"),A=a("hj").extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.xb=d;this.Wa=q;this.AY=this.Om=this.Az=this.Cp=n;this.O=q;this.ge=[]});A.prototype.clear=function(){this.o2(this.Om);
this.O&&this.o2(this.O.kd);this.Az=this.Cp=n;this.H=this.xb=this.g=this.D=this.O=q};A.prototype.start=function(a,b){if(!this.O&&a==this.Om||this.O&&a==this.O.kd)this.Az=this.Cp=n;else{this.Cp=a;this.Az=b;this.ge.length==0&&this.IG()}};A.prototype.hide=function(){this.Cp=q;!this.O&&this.Om&&this.IG()};A.prototype.Pla=function(){return this.O&&this.O.kd};A.prototype.IG=function(){this.O=new g(this.g,this.Om,this.Cp,this.Az);this.Wa=new d(this.g,this.xb,this.O);this.Az=this.Cp=n;this.Bb(k);switch(this.O.mode){case g.WU:this.yc(this.Gv);
this.Bb(m);this.yc(this.Fv);this.Bb(r);this.yc(this.Ms);break;case g.VU:this.Bb(C);this.Bb(j);this.Bb(s);this.yc(this.Hv);this.Bb(h);this.Bb(z);this.Bb(e);this.yc(this.XG);break;case g.CC:this.yc(this.Gv);this.Bb(m);this.yc(this.Fv);this.Bb(r);this.yc(this.Ms);this.Bb(C);this.Bb(j);this.Bb(s);this.yc(this.Hv);this.Bb(h);this.Bb(z);this.Bb(e);this.yc(this.XG);break;case g.XV:if(this.O.Kb()){this.yc(this.Gv);this.yc(this.Fv);this.Bb(t);this.yc(this.Hv);this.Bb(x);this.Bb(r);this.yc(this.Ms)}else{this.yc(this.Gv);
this.yc(this.Fv);this.Bb(v);this.yc(this.Hv);this.Bb(x);this.Bb(r);this.yc(this.Ms);this.Bb(u);this.Bb(j);this.Bb(z)}this.yc(this.XG);break;case g.Rk:this.Bb(C);if(this.O.Kb()){this.yc(this.Gv);this.yc(this.Fv);this.Bb(o);this.yc(this.Hv);this.Bb(f);this.Bb(r);this.yc(this.Ms)}else{this.yc(this.Gv);this.yc(this.Fv);this.Bb(l);this.yc(this.Hv);this.Bb(f);this.Bb(r);this.yc(this.Ms);this.Bb(j);this.Bb(z);this.Bb(e)}this.yc(this.XG)}this.fa()};A.prototype.$Q=function(){this.Om=this.O.kd;this.AY=this.O.lU;
this.O=this.Wa=q;this.Cp===n?this.Om?this.kja(this.Om,this.AY):this.lja():this.IG()};A.prototype.fo=function(a){for(;this.ge.length;){var b=this.ge[0];if(this.Cp!==n&&b.lq()){this.ge=[];this.IG();break}else{b.rj(a);this.fa();this.Wa.fo(a);if(b.oi()){this.ge.shift();this.ge.length==0&&this.$Q()}else break}}};A.prototype.ec=D();A.prototype.Bb=function(a){this.ge.push(new a(this,this.Wa,this.g,this.O))};A.prototype.yc=function(a){this.ge.push(new w(this,this.Wa,this.g,this.O,a))};A.prototype.o2=function(a){if(a)if(a=
this.g.lf(a)){this.g.remove(a);this.Ms()}};A.prototype.Ms=function(){this.trigger(new b(A.qJ,{panorama:this.O?this.O.xj:this.Om}))};A.prototype.Gv=function(){this.trigger(new b(A.Oq,{panorama:this.O.xj}))};A.prototype.Fv=function(){this.trigger(new b(A.Nq,{panorama:this.O.xj}))};A.prototype.XG=function(){this.trigger(new b(A.Pq,{panorama:this.O.kd,camera:this.O.lU}))};A.prototype.Hv=function(){this.trigger(new b(A.Qq,{panorama:this.O.kd,camera:this.O.lU}))};A.prototype.kja=function(a,c){this.trigger(new b(A.bJ,
{panorama:a,camera:c}))};A.prototype.lja=function(){this.trigger(new b(A.cJ))};A.prototype.fa=function(){this.trigger(new b(A.ra))};A.ra="request frame";A.qJ="panorama removed";A.bJ="all pending panoramas displayed";A.cJ="all pending panoramas hidden";A.Nq="panorama end";A.Qq="panorama start";A.Pq="panorama show";A.Oq="panorama hide";return A});
define("cX",["require","hj","bL","dX"],function(a){var b=a("hj"),c=a("bL"),d=a("dX"),g=b.extend(d,function(a){d.call(this);this.g=a});g.prototype.clear=function(){this.end();this.g=q};g.prototype.uw=function(a){for(var b=this.hE(a),c=a.F5(),d=0;d<b;d++)this.g.lf(this.$M(a,d)).set("alpha",d==c?1:0)};g.prototype.getTime=Q(0);g.prototype.start=D();g.prototype.end=D();g.prototype.play=D();g.prototype.pause=D();g.prototype.Bw=D();g.prototype.Gw=D();g.prototype.AI=D();g.prototype.stop=D();g.prototype.vt=
D();g.prototype.ut=D();g.prototype.HI=D();g.prototype.ec=D();g.prototype.Yf=D();g.prototype.hE=function(a){return a.get("frames").length};g.prototype.$M=function(a,b){return a.get("frames")[b]};g.prototype.fa=function(){this.trigger(new c(g.ra))};g.prototype.Ek=function(a,b,d,h,m,e){this.trigger(new c(g.yi,{time:a,duration:b,transitionPosition:d,transitionLength:h,steps:m,selectedStep:e}))};g.prototype.Wf=function(){this.trigger(new c(g.Fb,{state:this.Yf()}))};g.ra="request frame";g.q8="frame display";
g.r8="frame hide";g.yi="time change";g.Fb="playback state change";return g});
define("Z","require,jquery.mod,cK,hj,ji,fc,bL,cX,ep,dq,hL,bd,gL".split(","),function(a){a("jquery.mod");var b=a("cK"),c=a("hj"),d=a("ji"),g=a("fc");a("bL");var f=a("cX"),k=a("ep"),j=a("dq");a("hL");var h=a("bd"),m=a("gL"),e=c.extend(f,function(a){f.call(this,a);this.dE=q;this.OM=this.Pr=0;this.N=this.bs=q;this.dy=n;this.xP=y;this.ia=360;this.K4=180;this.Da=0.5;this.Qi=0.2;this.jn=0.45;this.B_=5E3;this.F_=1;this.bF=[[0.5,0.25],[0.5,0.375],[0.25,0.5],[0.375,0.5],[0.5,0.5],[0.625,0.5],[0.75,0.5],[0.5,
0.625],[0.5,0.75]];this.Dea=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});e.prototype.uw=function(a){f.prototype.uw.call(this,a);this.Vz(a)};e.prototype.start=function(a){this.Vz(a);this.fa()};e.prototype.end=function(){this.Vz(q)};e.prototype.Vz=function(a){if(this.N!=a){if(this.N){this.Bja();this.N=q;this.Fja()}if(this.N=a){this.B$();this.ia=a.get("hfov",360);this.K4=a.get("vfov",180);this.Da=a.get("pitch",0);this.CP=this.us=n;this.xea(a);this.Ab=0.5}}};e.prototype.HI=function(){this.xP=y};e.prototype.vt=
function(a){this.Ab=a/e.px;this.fa();this.xP=p};e.prototype.ut=function(a){this.vt(a)};e.prototype.Ek=function(){var a=this.hE(this.N),b=this.Ab*(a-1),c=Math.max(0,Math.min(a-2,Math.floor(b))),d=n;b-c<0.01?d=c:b-c>0.99&&(d=c+1);f.prototype.Ek.call(this,this.Ab*e.px,e.px,this.Ab*e.px,e.px,a,d)};e.prototype.ec=function(a){if(this.N){var b=this.g.Tb(),c=this.g.Yb(),d=this.g.Rd(),e=0;if(this.us!==n&&this.CP!==n&&this.V1!==n)var f=b-this.us,g=c-this.CP,m=d-this.V1,e=Math.sqrt(f*f+g*g+m*m)*1E3/a;this.us=
b;this.CP=c;this.V1=d;for(var f=this.hE(this.N),w=this.Ab*(f-1),g=Math.max(0,Math.min(f-2,Math.floor(w))),m=g+1,w=1-(w-g),z=1-w,C=[],A=0;A<f;A++)C.push(0);C[m]=z;C[g]=z<1?1:0;for(A=0;A<f;A++)this.g.lf(this.$M(this.N,A)).set("alpha",C[A]);this.Ek();if(this.dE&&(e<=this.F_||h.isPresenting())&&!this.xP){var A=Math.PI/180,e=180/Math.PI,C=this.g.za(),H=this.g.ab(),B=new j;B.tq(-d*A);B.io(-c*A);B.sq(-b*A);b=[];for(A=0;A<this.bF.length;A++){d=this.g.unproject(new k(this.bF[A][0]*C,this.bF[A][1]*H,0)).tma();
d.apply(B);c=d.Tb()*e;d=d.Yb()*e;b.push(Math.round((90-d)*this.OM/180)*this.Pr+Math.round((c+180)*this.Pr/360))}c=[];for(A=0;A<f;A++){d=this.dE[A];for(C=e=0;C<this.bF.length;C++)e=e+this.Dea[C]*d[b[C]];c.push(e)}A=c[g];b=c[m];g=w*c[g]+z*c[m];a=Math.min(1/f,a/this.B_);f=this.Ab;m=Math.max.apply(Math,c);w=Math.min.apply(Math,c);g<this.Qi&&g<m?f=b>g?f+a:f-a:g>this.jn&&g>w&&(f=A<g?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.Ab!=f){this.Ab=f;this.fa()}}}};e.prototype.xea=function(a){var c=b(a.get("frames",
[])).map(function(a){return a.get("thumbnailUrl")});this.bs=b(c).map(function(a){var b=q;if(a){b=new m(g.Yk);b.bind(d.P,this.H0,this);b.bind(d.md,this.I0,this)}return b},this);b(this.bs).each(function(a,b){a&&a.load(c[b])})};e.prototype.Fja=function(){this.xY();this.dE=q};e.prototype.kfa=function(){this.Pr=150;this.bs.map(function(a){if(a)this.Pr=Math.min(a.Ic()*360/this.ia,this.Pr)},this);this.OM=Math.round(this.Pr/2);this.dE=this.bs.map(function(a){return this.bba(a,this.Pr,this.OM,this.ia,this.K4,
this.Da)},this);this.xY()};e.prototype.bba=function(a,b,c,d,e,f){var g=document.createElement("canvas");g.width=b;g.height=c;var h=g.getContext("2d");h.fillStyle="#000000";h.fillRect(0,0,b,c);if(a){a=a.Dd();d=Math.round(b*d/360);h.drawImage(a,(b-d)*0.5,Math.round(c*(90-(f+e*0.5))/180),d,Math.round(c*e/180))}b=[];g=h.getImageData(0,0,g.width,g.height);for(c=h=0;h<g.height;h++)for(e=0;e<g.width;e++,c=c+4)b.push((0.299*g.data[c]+0.587*g.data[c+1]+0.114*g.data[c+2])/255);return b};e.prototype.xY=function(){b(this.bs).each(function(a){if(a){a.unbind(d.P,
this.H0,this);a.unbind(d.md,this.I0,this);a.cancel()}},this);this.bs=q};e.prototype.H0=function(){b(this.bs).filter(function(a){return a&&!a.$n()}).length==0&&this.kfa()};e.prototype.I0=D();e.prototype.B$=function(){this.N.bind(d.ha("minimumLuminance"),this.qn,this);this.N.bind(d.ha("maximumLuminance"),this.qn,this);this.N.bind(d.ha("luminanceChangeTime"),this.qn,this);this.N.bind(d.ha("maxLuminanceChangeSpeed"),this.qn,this);this.qn()};e.prototype.Bja=function(){this.N.unbind(d.ha("minimumLuminance"),
this.qn,this);this.N.unbind(d.ha("maximumLuminance"),this.qn,this);this.N.unbind(d.ha("luminanceChangeTime"),this.qn,this);this.N.unbind(d.ha("maxLuminanceChangeSpeed"),this.qn,this)};e.prototype.qn=function(){this.Qi=this.N.get("minimumLuminance");this.jn=this.N.get("maximumLuminance");if(this.Qi==n&&this.jn==n){this.Qi=0.2;this.jn=0.45}else this.Qi==n?this.Qi=Math.min(0.2,this.jn):this.Qi==n?this.jn=Math.max(0.45,this.Qi):this.Qi=Math.min(this.Qi,this.jn);this.jn=Math.min(1,Math.max(0,this.jn));
this.Qi=Math.min(1,Math.max(0,this.Qi));this.B_=Math.max(100,this.N.get("luminanceChangeTime",5E3));this.F_=this.N.get("maxLuminanceChangeSpeed",1);this.fa()};e.px=1E3;return e});
define("iw",["require","hj","v","ew","cX"],function(a){var b=a("hj"),c=a("v"),d=a("ew"),g=a("cX"),a=b.extend(g,function(a){g.call(this,a);this.bE=this.cE=q;this.pg=this.Xe=5E3;this.Xb=n;this.Hb=this.Xe;this.Ki=1;this.N=q;this.Xr=y});a.prototype.start=function(a){this.N=a;this.Xr=y;this.CE=p;this.cE=c.watch(this.N,"frameDisplayTime",this.lR,this);this.bE=c.watch(this.N,"frameTransitionTime",this.lR,this);this.Ki=this.hE(this.N);this.Xb=0;this.lR(p);this.Ek();this.fa();this.Wf()};a.prototype.lR=function(a){var b=
Math.max(100,this.N.get("frameDisplayTime",5E3)),c=Math.max(100,this.N.get("frameTransitionTime",5E3));if(this.Xe!=b||this.pg!=c||a){var a=this.yu(),d=this.xca();this.VM();this.Xe=b;this.pg=c;1<this.Ki?(this.Xb=a*(this.Xe+this.pg)+d*this.Xe+d*this.pg,this.Hb=this.Ki*(this.Xe+this.pg)):(this.Xb=d*this.Xe,this.Hb=this.Xe)}};a.prototype.yu=function(){return 1<this.Ki?Math.floor(this.Xb/(this.Xe+this.pg)):0};a.prototype.yca=function(){return 1<this.Ki?(this.yu()+1)%this.Ki:0};a.prototype.xca=function(){return 1<
this.Ki?Math.max(0,Math.min(1,this.Xb-this.yu()*(this.Xe+this.pg))):this.Xb/this.Xe};a.prototype.VM=function(){return 1<this.Ki?Math.max(0,Math.min(1,(this.Xb-(this.yu()*(this.Xe+this.pg)+this.Xe))/this.pg)):0};a.prototype.Lia=function(a){var b=Math.floor(a/this.pg);return b*(this.Xe+this.pg)+this.Xe+(a-b*this.pg)};a.prototype.L3=function(a){var b=Math.floor(a/(this.Xe+this.pg)),a=Math.max(0,a-b*(this.Xe+this.pg)-this.Xe);return b*this.pg+a};a.prototype.play=function(){this.Xr&&(this.Xr=y,this.CE&&
this.fa(),this.Wf())};a.prototype.pause=function(){this.Xr=p;this.Wf()};a.prototype.Bw=function(){this.pause()};a.prototype.Gw=function(){this.play()};a.prototype.end=function(){this.CE=y;this.N=q;this.cE&&(this.cE.unwatch(),this.cE=q);this.bE&&(this.bE.unwatch(),this.bE=q);this.Wf()};a.prototype.vt=function(a){this.Xb=a;this.fa()};a.prototype.ut=function(a){this.Xb=this.Lia(a);this.fa();this.pause()};a.prototype.ec=function(a){if(this.CE){this.Xr||(this.Xb+=a);this.Xb%=this.Hb;for(var a=this.yu(),
b=this.yca(),c=this.VM(),d=b>a?c:1,c=b>a?1:1-c,g=0;g<this.Ki;g++){var e;e=g==a?c:g==b?d:0;var l=this.g.lf(this.$M(this.N,g));l.get("alpha")!=e&&(0<e&&1>e&&l.kj(),l.set("alpha",e))}this.Ek();this.Xr||this.fa()}};a.prototype.Yf=function(){return this.CE?this.Xr?d.Jc:d.T:d.L};a.prototype.Wf=function(){g.prototype.Wf.call(this,this.Yf())};a.prototype.Ek=function(){var a=this.Xb,b=this.Hb,c=this.L3(this.Xb),d=this.L3(this.Hb),m=this.Ki+1,e=0===this.VM()?this.yu():n;g.prototype.Ek.call(this,a,b,c,d,m,e)};
return a});define("bo",["require","hj","cX"],function(a){var b=a("hj"),c=a("cX");return b.extend(c,function(a){c.call(this,a)})});
define("hQ",["require","hj","ji","ew","cX"],function(a){var b=a("hj"),c=a("ji"),d=a("ew"),g=a("cX"),a=b.extend(g,function(a){g.call(this,a);this.fd=y});a.prototype.uw=D();a.prototype.start=function(a){this.end();this.N=a;this.N.set("mute",this.fd);this.N.set("state",d.T);this.ym()};a.prototype.getTime=function(){return this.N?this.N.get("currentTime"):0};a.prototype.Yf=function(){return this.N?this.N.get("state"):d.L};a.prototype.play=function(){this.N&&this.N.set("state",d.T)};a.prototype.pause=
function(){this.N&&this.N.set("state",d.Jc)};a.prototype.AI=function(){this.N&&this.N.set("state",d.Jc)};a.prototype.stop=function(){this.N&&this.N.set("state",d.L)};a.prototype.end=function(){this.N&&(this.Cn(),this.N=q)};a.prototype.vt=function(a){this.N&&this.N.set("state",d.T);this.N&&this.N.set("currentTime",a)};a.prototype.ag=function(a){this.fd=a;this.N&&this.N.set("mute",this.fd)};a.prototype.ym=function(){this.N.bind(c.ha("currentTime"),this.gd,this,p);this.N.bind(c.ha("duration"),this.nn,
this,p);this.N.bind(c.ha("state"),this.ff,this,p);this.N.get("state")!=d.L&&this.Wf()};a.prototype.Cn=function(){this.N.unbind(c.ha("currentTime"),this.gd,this,p);this.N.unbind(c.ha("duration"),this.nn,this,p);this.N.unbind(c.ha("state"),this.ff,this,p)};a.prototype.ff=function(){this.Wf()};a.prototype.gd=function(){this.Ek()};a.prototype.nn=function(){this.Ek()};a.prototype.Ek=function(){this.N&&g.prototype.Ek.call(this,this.N.get("currentTime"),this.N.get("duration"))};return a});
define("u","require,hj,ew,bL,dX,dj,cX,Z,iw,bo,hQ".split(","),function(a){var b=a("hj");a("ew");var c=a("bL"),d=a("dX"),g=a("dj"),f=a("cX"),k=a("Z"),j=a("iw"),h=a("bo"),m=a("hQ"),e=b.extend(d,function(a){d.call(this);this.g=a;this.kO=this.KD(j);this.uN=this.KD(k);this.pH=this.KD(m);this.HQ=this.KD(h);this.Lb=q});e.prototype.clear=function(){this.CD(this.kO);this.kO=q;this.CD(this.uN);this.uN=q;this.CD(this.pH);this.pH=q;this.CD(this.HQ);this.g=this.Lb=this.HQ=q};e.prototype.KD=function(a){a=new a(this.g);
a.bind(f.ra,this.Vb,this,p);a.bind(f.yi,this.xp,this,p);a.bind(f.Fb,this.Ld,this,p);return a};e.prototype.CD=function(a){a.unbind(f.ra,this.Vb,this);a.unbind(f.yi,this.xp,this);a.unbind(f.Fb,this.Ld,this);a.clear()};e.prototype.VN=function(a,b){return g.vb(b,a)};e.prototype.lZ=function(a){return this.VN(a,"HDRPanorama")?this.uN:this.VN(a,"LivePanorama")?this.kO:this.VN(a,"VideoPanorama")?this.pH:this.HQ};e.prototype.uw=function(a){(this.Lb=this.lZ(a))&&this.Lb.uw(a)};e.prototype.start=function(a){this.Vb();
(this.Lb=this.lZ(a))&&this.Lb.start(a)};e.prototype.Yf=function(){if(this.Lb)return this.Lb.Yf()};e.prototype.getTime=function(){return this.Lb?this.Lb.getTime():0};e.prototype.play=function(){this.Lb&&this.Lb.play()};e.prototype.pause=function(){this.Lb&&this.Lb.pause()};e.prototype.Bw=function(){this.Lb&&this.Lb.Bw()};e.prototype.Gw=function(){this.Lb&&this.Lb.Gw()};e.prototype.AI=function(){this.Lb&&this.Lb.AI()};e.prototype.stop=function(){this.Lb&&this.Lb.stop();this.trigger(new c(e.yi,{duration:0,
time:0,steps:n,selectedStep:n}))};e.prototype.end=function(){if(this.Lb){this.Lb.end();this.Lb=q}};e.prototype.vt=function(a){this.Lb&&this.Lb.vt(a)};e.prototype.ut=function(a){this.Lb&&this.Lb.ut(a)};e.prototype.HI=function(){this.Lb&&this.Lb.HI()};e.prototype.ec=function(a){this.Lb&&this.Lb.ec(a)};e.prototype.ag=function(a){this.pH.ag(a)};e.prototype.Vb=function(){this.trigger(new c(e.ra))};e.prototype.xp=function(a){this.trigger(new c(e.yi,a.data))};e.prototype.Ld=function(a){this.trigger(new c(e.Fb,
a.data))};e.ra="request frame";e.q8="frame display";e.r8="frame hide";e.yi="time change";e.Fb="playback state change";return e});
define("hR",["require","hj","ji","dX","hk"],function(a){var b=a("hj"),c=a("ji"),d=a("dX"),g=a("hk"),a=b.extend(d,function(a){d.call(this);this.g=a;this.Nd=this.Mc=this.N=q;this.k="idle"});a.prototype.start=function(a,b){this.N==a&&"waiting ready"==this.k?this.Mc=b:(this.stop(),this.N=a,this.Mc=b,this.g.lf(a)?(this.trigger(c.Ub,{panorama:this.N,camera:this.Mc}),this.trigger(c.P,{panorama:this.N,camera:this.Mc}),this.trigger(c.nd),this.Mc=this.N=q):(this.k="waiting ready",this.Nd=this.g.create(a),this.Nd.set("alpha",
0),this.Nd.set("loadingActive",p),this.Nd.bind(c.Ub,this.rF,this,p),this.Nd.bind(c.P,this.df,this,p),this.Nd.bind(c.gc,this.Vi,this,p),this.g.add(this.Nd)))};a.prototype.stop=function(){this.Nd&&("waiting ready"==this.k&&this.g.remove(this.Nd),this.Nd.unbind(c.Ub,this.rF,this),this.Nd.unbind(c.P,this.df,this),this.Nd.unbind(c.gc,this.Vi,this),this.Nd.set("loadingActive",y),this.Nd=q,this.k="idle",this.trigger(c.nd),this.Mc=this.N=q)};a.prototype.clear=function(){this.stop()};a.prototype.rF=function(){this.Nd.unbind(c.Ub,
this.rF,this);this.k="waiting loaded";this.trigger(c.Ub,{panorama:this.N,camera:this.Mc})};a.prototype.df=function(){this.Nd.unbind(c.Ub,this.rF,this);this.Nd.unbind(c.P,this.df,this);this.k="idle";this.Nd=q;this.trigger(c.P,{panorama:this.N,camera:this.Mc});this.trigger(c.nd);this.Mc=this.N=q};a.prototype.Vi=function(a){this.trigger(new g(c.gc,a.oh))};return a});
define("gr",["hj","bL","dX","E"],function(a,b,c,d){var g=a.extend(c,function(a){c.call(this);this.g=a;this.lp=this.N=this.Ri=q;this.Da=this.ea=0;this.ia=0.5*Math.PI});g.prototype.clear=function(){this.stop();this.Ri=this.g=q};g.prototype.ZT=function(a){this.Ri!=a&&(this.oL(),this.Ri=a,this.SW())};g.prototype.stop=function(){this.oL();this.N=q};g.prototype.ec=function(){this.ea=this.g.Tb();this.Da=this.g.Yb();this.ia=this.g.ue();this.Ri&&this.lp&&this.Ri.tj(this.lp,this.ea,this.Da,this.ia)};g.prototype.display=
function(a){this.N!=a&&(this.oL(),this.N=a,this.SW())};g.prototype.hide=function(a){this.N==a&&this.stop()};g.prototype.oL=function(){this.lp&&(this.Eda(),this.lp=q)};g.prototype.SW=function(){this.Ri&&this.N&&(this.lp=this.bha(this.N,this.Ri.get("map",q)))&&this.ria()};g.prototype.bha=function(a,b){for(var c=a.get("mapLocations",[]),d=0;d<c.length;d++){var g=c[d];if(g.get("map")==b)return g}return 0<c.length?c[0]:q};g.prototype.ria=function(){this.Ri.Lka(this.lp);this.Ri.bind(d.eg,this.w2,this,p)};
g.prototype.Eda=function(){this.Ri&&(this.Ri.Pna(this.lp),this.Ri.unbind(d.eg,this.w2,this))};g.prototype.w2=function(a){this.trigger(new b(g.eg,{yawDelta:a.data.yawDelta}))};g.eg="request yaw change";return g});
define("dE",["require","hj","bL","dX","de"],function(a){var b=a("hj"),c=a("bL"),d=a("dX"),g=a("de"),f=b.extend(d,function(a){d.call(this);this.g=a;this.g.bind(g.yJ,this.Y0,this,p)});f.prototype.clear=function(){this.g.unbind(g.yJ,this.Y0,this,p);this.g=q};f.prototype.Aa=function(){this.g.Aa()};f.prototype.Y0=function(a){a=a.data.frameTime;this.trigger(new c(f.Ej,{frameTime:a}));this.trigger(new c(f.Fj,{frameTime:a}))};f.Ej="frameStart";f.Fj="positionSet";return f});
define("fu",["require","t","gW"],function(a){function b(){this.aa=this.S=0;this.ia=90;this.Yg="landscape";this.UO=y;this.zy=c.Xa()}var c=a("t"),d=a("gW");b.prototype.B7=function(a){this.ia=this.t5(a)};b.prototype.t5=function(a){return this.zy&&"portrait"==this.Yg?d.lB(a,this.aa,this.S):a};b.prototype.cma=function(a){return this.zy&&"portrait"==this.Yg?d.oj(a,this.S,this.aa):a};b.prototype.im=function(a){return this.ia=this.zy&&this.UO?d.lB(a,this.aa,this.S):a};b.prototype.G6=function(){return this.zy&&
this.UO};b.prototype.hq=function(){return this.zy&&"portrait"==this.Yg};b.prototype.ue=O("ia");b.prototype.zH=function(a){return d.lB(a,this.aa,this.S)};b.prototype.setSize=function(a,b){this.S=a;this.aa=b;var c=this.Wca();this.UO=this.Yg!=c;this.Yg=c};b.prototype.Wca=function(){return 0===this.S||0===this.aa?"landscape":this.S<this.aa?"portrait":"landscape"};return b});
define("iL",["require","hj","eW","bL","dX"],function(a){var b=a("hj"),c=a("eW"),d=a("bL"),g=a("dX"),f=b.extend(g,function(a){g.call(this);this.g=a;this.U=y;this.cn=this.cn.bind(this);this.ee=this.g.ee});f.prototype.clear=function(){this.ee=this.g=q};f.prototype.vd=function(a){this.U!=a&&(this.U&&document.removeEventListener("keyup",this.cn),(this.U=a)&&document.addEventListener("keyup",this.cn))};f.prototype.cn=function(a){"translate"==this.ee.get("arrowKeysAction")&&(a.which==c.wC&&!a.shiftKey?this.trigger(new d(f.oJ)):
a.which==c.WC&&!a.shiftKey&&this.trigger(new d(f.pJ)))};f.pJ="moveForward";f.oJ="moveBackward";return f});
define("fD","require,cK,hj,ji,bL,dX,iL".split(","),function(a){a("cK");var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("iL"),a=b.extend(g,function(a){g.call(this);this.g=a;this.Hh=new f(a);this.Hh.bind(f.pJ,this.z0,this,p);this.Hh.bind(f.oJ,this.y0,this,p)});a.prototype.clear=function(){this.Hh.unbind(f.pJ,this.z0,this,p);this.Hh.unbind(f.oJ,this.y0,this,p);this.Hh.clear();this.Hh=q};a.prototype.vq=function(a){this.Hh.vd(a)};a.prototype.bg=N("N");a.prototype.end=function(){this.N=q};a.prototype.z0=
function(a){this.g4(a);(a=this.G2(this.g.Tb(),this.xZ()))&&a.trigger(c.Ci)};a.prototype.y0=function(a){this.g4(a);(a=this.G2(this.g.Tb()-180,this.xZ()))&&a.trigger(c.Ci)};a.prototype.g4=function(a){this.g.bb().trigger(new d(c.AC,{S7:a}))};a.prototype.xZ=function(){return this.g.ee.get("keyboardTranslateSelectionAngle")};a.prototype.G2=function(a,b){var c,d;if(!this.N)return q;c!==n||(c=-90);d!==n||(d=360);var f=a-b*0.5,g=a+b*0.5,k=Math.max(-90,c-d*0.5),s=Math.max(90,c+d*0.5);d=this.N.get("adjacentPanoramas",
[]).slice();d=d.filter(function(b){b=this.jy(b);if(!b)return y;var c;c=b.ta;for(var d=a-180,e=a+180;c<d;)c=c+(e-d);for(;c>e;)c=c-(e-d);b=b.pitch;return f<=c&&c<=g&&k<=b&&b<=s}.bind(this));if(d.length==0)return q;d.sort(function(b,d){var e=this.jy(b),f=this.jy(d);return(a-e.ta)*(a-e.ta)+(c-e.pitch)*(c-e.pitch)-((a-f.ta)*(a-f.ta)+(c-f.pitch)*(c-f.pitch))}.bind(this));return d[0]};a.prototype.jy=function(a){var b=a.get("yaw"),a=a.get("distance");if(b===n||a===n)return q;var c=this.N.get("distanceToFloor");
return{ta:b,pitch:-90+Math.atan2(a,c)*k}};var k=180/Math.PI;return a});
define("hw","require,hj,ji,bL,dX,cg,bb,jq,u,hR,gr,dE,fu,fD,cw".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("cg"),k=a("bb"),j=a("jq"),h=a("u"),m=a("hR"),e=a("gr"),l=a("dE"),r=a("fu"),o=a("fD"),s=a("cw"),t=b.extend(g,function(a,b){g.call(this);this.D=a;this.g=b;this.g.set("visible",y);this.xb=new r;this.sc=new l(this.g);this.Jd=new m(this.g);this.Oa=new j(this.D,this.g,this.xb);this.ga=new k(this.g,this.xb);this.Wc=new h(this.g);this.kn=new e(this.g);this.wd=new f(this.g);
this.VG=new o(this.g);this.sc.bind(l.Ej,this.vp,this,p);this.sc.bind(l.Fj,this.wp,this,p);this.Jd.bind(c.Ub,this.G0,this,p);this.Jd.bind(c.nd,this.fz,this,p);this.Jd.bind(c.gc,this.pn,this,p);this.Oa.bind(j.ra,this.Vb,this,p);this.Oa.bind(j.qJ,this.N0,this,p);this.Oa.bind(j.bJ,this.$_,this,p);this.Oa.bind(j.cJ,this.a0,this,p);this.Oa.bind(j.Qq,this.mz,this,p);this.Oa.bind(j.Oq,this.up,this,p);this.Oa.bind(j.Pq,this.rn,this,p);this.Oa.bind(j.Nq,this.lz,this,p);this.ga.bind(k.ra,this.Vb,this,p);this.ga.bind(k.cg,
this.ik,this);this.ga.bind(k.Dj,this.W0,this);this.ga.bind(k.Fb,this.Ld,this,p);this.ga.bind(k.Ud,this.lk,this,p);this.ga.bind(k.Td,this.kk,this,p);this.Wc.bind(h.ra,this.Vb,this,p);this.Wc.bind(h.yi,this.xp,this,p);this.Wc.bind(h.Fb,this.Ld,this,p);this.kn.bind(e.eg,this.K0,this,p)});t.prototype.clear=function(){this.Jd.clear();this.sc.clear();this.ga.clear();this.Oa.clear();this.Wc.clear();this.kn.clear();this.wd.clear();this.Jd.unbind(c.Ub,this.G0,this);this.Jd.unbind(c.nd,this.fz,this);this.Jd.unbind(c.gc,
this.pn,this);this.sc.unbind(l.Ej,this.vp,this);this.sc.unbind(l.Fj,this.wp,this);this.Oa.unbind(j.ra,this.Vb,this);this.Oa.unbind(j.qJ,this.N0,this);this.Oa.unbind(j.bJ,this.$_,this);this.Oa.unbind(j.cJ,this.a0,this);this.Oa.unbind(j.Qq,this.mz,this);this.Oa.unbind(j.Oq,this.up,this);this.Oa.unbind(j.Pq,this.rn,this);this.Oa.unbind(j.Nq,this.lz,this);this.ga.unbind(k.t8,this.Vb,this);this.ga.unbind(k.cg,this.ik,this);this.ga.unbind(k.Dj,this.W0,this);this.ga.unbind(k.Fb,this.Ld,this,p);this.ga.unbind(k.Ud,
this.lk,this);this.ga.unbind(k.Td,this.kk,this);this.Wc.unbind(h.ra,this.Vb,this);this.Wc.unbind(h.yi,this.xp,this);this.Wc.unbind(h.Fb,this.Ld,this);this.kn.unbind(e.eg,this.K0,this);this.D=this.g=this.VG=this.wd=this.kn=this.Wc=this.Oa=this.ga=this.sc=this.Jd=q};t.prototype.ZT=function(a){this.kn.ZT(a)};t.prototype.bg=function(a,b,c){this.g.set("visible",p);this.Wc.AI();a.set("currentTime",c);this.Jd.start(a,b);this.Oa.start(a,b)};t.prototype.mw=function(){return this.Jd.N||this.Oa.Pla()||this.Oa.Om};
t.prototype.tt=function(){this.Jd.stop();this.Wc.end();this.ga.end();this.Oa.hide();this.kn.stop();this.wd.end();this.VG.end()};t.prototype.Gw=function(){this.ga.Xna();this.Wc.Gw()};t.prototype.Bw=function(){this.ga.pause();this.Wc.Bw()};t.prototype.play=function(){this.ga.play();this.wd.play();this.Wc.play()};t.prototype.pause=function(){this.ga.pause();this.wd.pause();this.Wc.pause()};t.prototype.stop=function(){this.ga.stop();this.wd.stop();this.Wc.stop()};t.prototype.vq=function(a){this.ga.vq(a);
this.VG.vq(a)};t.prototype.getTime=function(){return this.Wc.getTime()};t.prototype.moveTo=function(a,b,c,d,e){this.ga.moveTo(a,b,c,d,e)};t.prototype.Tb=function(){return this.g?this.g.Tb():n};t.prototype.Yb=function(){return this.g?this.g.Yb():n};t.prototype.Rd=function(){return this.g?this.g.Rd():n};t.prototype.ue=function(){return this.g?this.xb.cma(this.g.ue()):n};t.prototype.wS=function(){return this.g?this.g.wS():n};t.prototype.xS=function(){return this.g?this.g.xS():n};t.prototype.Ld=function(){var a=
this.Wc.Yf()||this.ga.Yf();this.trigger(new d(t.Fb,{state:a}))};t.prototype.$f=function(a){this.ga.$f(a)};t.prototype.VB=function(a){this.ga.VB(a)};t.prototype.yq=function(a){this.ga.yq(a)};t.prototype.WB=function(a){this.ga.WB(a)};t.prototype.ag=function(a){this.Wc.ag(a)};t.prototype.yt=function(a){this.ga.yt(a)};t.prototype.oma=function(a,b){var c=s.get(a,b,this.g.Tb(),this.g.Yb(),this.g.Rd(),this.g.ue(),this.g.za(),this.g.ab());return c?{x:c.x,y:c.y}:q};t.prototype.pn=function(a){this.g.qI(p);
this.trigger(new d(t.Uk,{percent:a.oh}))};t.prototype.G0=function(a){this.Wc.end();this.VG.bg(a.data.panorama)};t.prototype.fz=function(){this.g.qI(y);this.trigger(new d(t.Kq))};t.prototype.Vb=function(){this.sc.Aa()};t.prototype.vp=function(a){a=a.data.frameTime;this.xb.setSize(this.g.za(),this.g.ab());this.Oa.fo(a);this.ga.fo(a)};t.prototype.wp=function(a){a=a.data.frameTime;this.Oa.ec(a);this.ga.ec(a);this.Wc.ec(a);this.kn.ec(a);this.wd.ec(a)};t.prototype.mz=function(a){this.kn.display(a.data.panorama);
this.Wc.uw(a.data.panorama);this.trigger(new d(t.Qq,{panorama:a.data.panorama}))};t.prototype.N0=function(a){this.kn.hide(a.data.panorama)};t.prototype.$_=function(a){this.Wc.start(a.data.panorama);this.wd.start(a.data.panorama)};t.prototype.a0=function(){this.Wc.end();this.g.set("visible",y)};t.prototype.lz=function(a){this.ga.end();this.wd.end();this.trigger(new d(t.Nq,{panorama:a.data.panorama}))};t.prototype.rn=function(a){this.ga.start(a.data.panorama,a.data.camera);this.trigger(new d(t.Pq,{panorama:a.data.panorama}))};
t.prototype.up=function(a){this.trigger(new d(t.Oq,{panorama:a.data.panorama}))};t.prototype.K0=function(a){this.ga.dU(a.data.yawDelta,0)};t.prototype.ik=function(a){this.trigger(new d(t.cg,a.data))};t.prototype.W0=function(a){this.trigger(new d(t.Dj,a.data))};t.prototype.lk=function(){this.Wc.HI();this.trigger(new d(t.Ud))};t.prototype.kk=function(){this.trigger(new d(t.Td))};t.prototype.woa=function(a){this.Wc.vt(a)};t.prototype.ut=function(a){this.Wc.ut(a)};t.prototype.xp=function(a){this.trigger(new d(t.yi,
a.data))};t.Uk="loadingProgress";t.Kq="loadingEnd";t.cg="movementChange";t.Dj="positionChange";t.Qq="panoramaStart";t.Nq="panoramaEnd";t.Pq="panoramaShow";t.Oq="panoramaHide";t.Fb="playbackStateChange";t.Ud="userInteractionStart";t.Td="userInteractionEnd";t.yi="timeChange";return t});
define("iY","require,cK,jquery.mod,hj,hA,ji,bL,ew,bO,dj,ie,cd,fx,eF,hw,cN,de,iA,fG,bd,cJ,er".split(","),function(a){a("cK");a("jquery.mod");var b=a("hj");a("hA");var c=a("ji"),d=a("bL"),g=a("ew"),f=a("bO"),k=a("dj"),j=a("ie"),h=a("cd"),m=a("fx"),e=a("eF"),l=a("hw"),r=a("cN"),o=a("de"),s=a("iA"),t=a("fG"),u=a("bd"),v=a("cJ"),x=a("er"),w=b.extend(m,function(){m.call(this,"panorama");this.CN=this.Uo=this.UE=this.hL=this.zp=this.wg=this.JK=y;this.oN=p;this.Ir=this.Ju=this.JD=y;this.eE=this.QM=this.Xb=
this.Hb=0;this.oP=this.qP=n;this.zO=p;this.gf=g.L;this.p=this.g=q;this.O_={};for(var a in w.vm)this.O_[a]=this.dba(a);this.pD=new j(this,"buttonToggleGyroscope",v.wh);this.pD.bind(c.hg,function(){this.set("gyroscopeEnabled",p)},this);this.pD.bind(c.vh,function(){this.set("gyroscopeEnabled",y)},this);this.pD.set("pressed",this.get("gyroscopeEnabled")&&s.available);this.G$=new j(this,"buttonCardboardView",v.xc);this.G$.bind(c.V,function(){this.set("viewMode",w.wo)},this,p);this.T$=new j(this,"buttonVRView",
v.xc);this.T$.bind(c.V,function(){this.set("viewMode",w.wo)},this,p);u.bind(c.W,function(){this.e4("viewMode");this.trigger(w.UU)},this,p);this.qD=new j(this,"buttonToggleHotspots",v.wh);this.qD.bind(c.hg,function(){this.set("hotspotsEnabled",p)},this);this.qD.bind(c.vh,function(){this.set("hotspotsEnabled",y)},this);this.qD.set("pressed",this.get("hotspotsEnabled"));this.Xc=b.eo(this.Me,this);this.set("arrowKeysAction","rotate");this.set("doubleClickAction","inherit");this.set("hotspotsEnabled",
p);this.set("preloadEnabled",p);this.set("keyboardTranslateSelectionAngle",90)});w.MU="cameraPositionChange";w.Ud="userInteractionStart";w.Td="userInteractionEnd";w.Uk="loadingProgress";w.RU="preloadMediaShow";w.UU="viewModeChange";k.A("PanoramaPlayer",w).B("Object").K({actualHFOV:"number",actualVFOV:"number",arrowKeysAction:"enum[rotate, translate, none]",buttonCardboardView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonMoveLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleGyroscope:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleHotspots:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonVRView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",camera:"PanoramaCamera",currentTime:"number",displayPlaybackBar:"bool",doubleClickAction:"enum[toggle_fullscreen, translate, inherit]",gyroscopeEnabled:"bool",gyroscopeVerticalDraggingEnabled:"bool",hdrPanoramaDisplayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBarSteps:"bool",
hfov:"number",hotspotsEnabled:"bool",keyboardTranslateSelectionAngle:"number",livePanoramaDisplayPlaybackBar:"bool",livePanoramaDisplayPlaybackBarSteps:"bool",mapPlayer:"MapPlayer",mode:"enum[fast, quality]",mouseControlMode:"enum[drag_acceleration, drag_rotation]",panorama:"Panorama",pitch:"number",preloadEnabled:"bool",roll:"number",startTime:"number",state:"enum[stopped, playing, paused]",touchControlMode:"enum[drag_acceleration, drag_rotation]",video:"Video360",viewMode:"enum[standard, cardboard, vr]",
videoPanoramaDisplayPlaybackBar:"bool",viewerArea:"ViewerArea",yaw:"number"}).qc([c.LC,w.MU,w.Uk,w.Ud,w.Td,w.RU,w.UU,m.ld,h.Ue,h.Eg]).Cg({moveLeft:function(){this.rb(r.dx)},moveRight:function(){this.rb(r.ex)},moveUp:function(){this.rb(r.gx)},moveDown:function(){this.rb(r.cx)},playLeft:function(){this.rb(r.pqa)},playRight:function(){this.rb(r.qqa)},playUp:function(){this.rb(r.rqa)},playDown:function(){this.rb(r.nqa)},play:function(){this.tg()},pause:function(){this.rk()},stop:function(){this.ns()},
seek:function(a){this.Sz(a)},restart:function(){this.ms()},zoomIn:function(){this.rb(r.tm)},zoomOut:function(){this.rb(r.um)},resumeCamera:function(){this.Zga()},pauseCamera:function(){this.aga()},moveTo:function(a,b,c,d){this.N_(a,b,c,d,y)},setPosition:function(a,b,c,d){this.N_(a,b,c,d,p)},getScreenPosition:function(a,b){return this.fda(a,b)}});w.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0;case "viewMode":return u.isPresenting()?w.wo:w.tK;case "video":a=
"panorama";break;case "rendererPanorama":return this.p&&this.p.mw()}if(!b)switch(a){case "mouseControlMode":b=f.dV;break;case "touchControlMode":b=f.WV}return m.prototype.get.call(this,a,b)};w.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.JK=p;this.Xc();break;case "startTime":this.zp=p;this.Xc();break;case "video":case "panorama":a="panorama";this.zp=p;this.Xc();break;case "camera":this.hL=p;this.Xc();break;case "viewerArea":this.wg=p;this.Xc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.Ir=
p;this.Xc();break;case "mapPlayer":this.UE=p;this.Xc();break;case "gyroscopeEnabled":this.Uo=p;this.Xc();break;case "gyroscopeVerticalDraggingEnabled":this.oN=p;this.Xc();break;case "viewMode":if(b=="vr")b=w.wo;b==w.wo&&!u.isPresenting()?u.ih():b!=w.wo&&u.isPresenting()&&u.Pd();b=u.isPresenting()?w.wo:w.tK;break;case "hotspotsEnabled":this.CN=p;this.Xc();break;case "mouseControlMode":case "touchControlMode":this.JD=p;this.Xc()}m.prototype.set.call(this,a,b)}};w.prototype.Nk=function(a){this.Ju=a;
this.p&&this.p.vq(this.Ju)};w.prototype.g5=function(){return this.get("doubleClickAction")!="inherit"};w.prototype.ZK=function(a){m.prototype.ZK.call(this,a);a.bind(c.KC,this.N4,this,p)};w.prototype.eR=function(a){m.prototype.eR.call(this,a);a.unbind(c.KC,this.N4,this,p)};w.prototype.N4=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.get("application").qg;a&&a.available()&&a.toggle()}};w.prototype.dba=function(a){var b=w.vm[a],a=new j(this,a,v.xc);a.bind(c.pb,
function(){this.rb(b.movement)},this);b.stopOnRelease&&a.bind(c.Gb,function(){this.rb(r.nd)},this);return a};w.prototype.Me=function(){if(this.wg||this.JK){this.wg=this.JK=y;this.JD=this.Uo=this.UE=p;this.Hr();this.get("viewerArea")&&this.get("application")&&this.Er();this.zG(this.get("viewerArea"))}var a=y;if(this.g){if(this.UE){this.UE=y;this.p.ZT(this.get("mapPlayer"))}if(this.JD){this.JD=y;this.p.yq(this.get("mouseControlMode"));this.p.yt(this.get("touchControlMode"))}if(this.zp||this.hL){this.eE=
this.QM=this.Hb=this.Xb=0;this.oP=this.qP=n;a=p;this.hL=this.zp=y;if(this.get("panorama")){this.cG();this.p.bg(this.get("panorama"),this.get("camera",new e),this.get("startTime"))}else{this.p.tt();this.zO=p;this.gf=g.L;this.ob(g.L)}}if(this.oN){this.oN=y;this.p.WB(this.get("gyroscopeVerticalDraggingEnabled",p))}if(this.Uo){this.Uo=y;var b=this.get("gyroscopeEnabled")&&s.available;if(b&&s.disabled){b=y;t.XU.show(function(){s.ET(function(){this.set("gyroscopeEnabled",p)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",
b);this.p.VB(b);this.pD.set("pressed",b)}if(this.CN){this.CN=y;this.qD.set("pressed",this.get("hotspotsEnabled"))}if(this.Ir){this.Ir=y;a=p}a&&this.MA()}};w.prototype.mA=function(){this.set("panorama",q)};w.prototype.Er=function(){var a=this.get("viewerArea"),b=this.get("application");this.g=new o(b,a,this);this.g.R({left:0,top:0,bottom:0,right:0});a.qa(this.g);this.p=new l(a,this.g);this.p.bind(l.cg,this.ik,this);this.p.bind(l.Dj,this.g0,this);this.p.bind(l.Uk,this.pn,this);this.p.bind(l.Kq,this.Tu,
this);this.p.bind(l.Pq,this.rn,this,p);this.p.bind(l.Oq,this.up,this,p);this.p.bind(l.Qq,this.mz,this,p);this.p.bind(l.Nq,this.lz,this,p);this.p.bind(l.Fb,this.Ld,this);this.p.bind(l.Ud,this.lk,this);this.p.bind(l.Td,this.kk,this);this.p.bind(l.yi,this.xp,this);this.get("application").bind(c.ha("mute"),this.kz,this);this.get("application").get("mute",y)&&this.p.ag(p);this.p&&this.p.vq(this.Ju);u.bind(c.W,this.Wi,this,p);this.oY();this.vv(p)};w.prototype.Hr=function(){if(this.g){this.p.unbind(l.cg,
this.ik,this);this.p.unbind(l.Dj,this.g0,this);this.p.unbind(l.Uk,this.pn,this);this.p.unbind(l.Kq,this.Tu,this);this.p.unbind(l.Pq,this.rn,this,p);this.p.unbind(l.Oq,this.up,this,p);this.p.unbind(l.Qq,this.mz,this,p);this.p.unbind(l.Nq,this.lz,this,p);this.p.unbind(l.Fb,this.Ld,this);this.p.unbind(l.Ud,this.lk,this);this.p.unbind(l.Td,this.kk,this);this.p.unbind(l.yi,this.xp,this);this.p.clear();this.p=q;this.get("application").unbind(c.ha("mute"),this.kz,this);this.g.getParent().removeChild(this.g);
this.g=q;u.unbind(c.W,this.Wi,this,p);this.vv(y)}};w.prototype.kz=function(){this.g&&this.p.ag(this.get("application").get("mute",y))};w.prototype.Ld=function(a){this.gf=a.data.state;this.Od()};w.prototype.Od=function(){this.ob(this.zO?this.gf:g.T)};w.prototype.lk=function(){this.trigger(new d(w.Ud))};w.prototype.kk=function(){this.trigger(new d(w.Td))};w.prototype.mz=function(a){this.trigger(new d(w.RU,{panorama:a.data.panorama}))};w.prototype.lz=D();w.prototype.rn=function(a){this.ZE(a.data.panorama)};
w.prototype.up=function(a){this.YE(a.data.panorama)};w.prototype.ik=function(a){for(var b in w.vm)this.O_[b].set("state",a.data[w.vm[b].pressedOn]?x.sa:x.rc);this.zO=a.data.stopped;this.Od();this.trigger(new d(c.LC,a.data))};w.prototype.g0=function(a){this.oY();this.trigger(new d(w.MU,a.data))};w.prototype.oY=function(){if(this.p){this.set("yaw",this.p.Tb());this.set("pitch",this.p.Yb());this.set("roll",this.p.Rd());this.set("hfov",this.p.ue());this.set("actualHFOV",this.p.wS());this.set("actualVFOV",
this.p.xS())}};w.prototype.pn=function(a){this.g.getParent().R({progressPercent:a.data.percent,progressVisible:p});this.trigger(new d(w.Uk,a.data))};w.prototype.Tu=function(){this.g.getParent().set("progressVisible",y)};w.prototype.Wi=function(){this.set("viewMode",u.isPresenting()?w.wo:w.tK)};w.prototype.N_=function(a,b,c,d,e){this.p&&this.p.moveTo(a,b,c,d,e)};w.prototype.rb=function(a){this.p&&this.p.$f(a)};w.prototype.tg=function(){this.p.play()};w.prototype.dj=function(){this.p.stop()};w.prototype.rk=
function(){this.p.pause()};w.prototype.Sz=function(a){this.p&&(this.oZ()?this.p.ut(a):this.p.woa(a))};w.prototype.aga=function(){this.p&&this.p.Bw()};w.prototype.Zga=function(){this.p&&this.p.Gw()};w.prototype.fda=function(a,b){if(this.p)return this.p.oma(a,b)};w.prototype.QF=function(a){this.Sz(a.data.position)};w.prototype.xp=function(a){this.Xb=a.data.time;this.Hb=a.data.duration;this.QM=a.data.transitionPosition;this.eE=a.data.transitionLength;this.qP=a.data.steps;this.oP=a.data.selectedStep;
this.MA()};w.prototype.MA=function(){var a=this.g.getParent(),b=y;if(this.wca()){var c=this.oZ(),d=this.Yca();if(c){if(this.eE>0){a.R({playbackBarPosition:this.QM,playbackBarDuration:this.eE,playbackBarSteps:this.qP,playbackBarSelectedStep:this.oP,playbackBarLiveDragging:d});b=p}}else if(this.Hb>0){a.R({playbackBarPosition:this.Xb,playbackBarDuration:this.Hb,playbackBarSteps:n,playbackBarSelectedStep:n,playbackBarLiveDragging:d});b=p}}a.set("playbackBarVisible",b)};w.prototype.wca=function(){var a=
this.get("panorama");return a?k.vb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",y)):k.vb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",y)):k.vb("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",p)):y:y};w.prototype.oZ=function(){var a=this.get("panorama");return!a?y:k.vb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",p):k.vb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",
p):y};w.prototype.Yca=function(){var a=this.get("panorama");return!a||k.vb("VideoPanorama",a)?y:p};w.wo="cardboard";w.tK="standard";w.vm={buttonMoveLeft:{movement:r.dx,pressedOn:"movingLeft",stopOnRelease:p},buttonMoveRight:{movement:r.ex,pressedOn:"movingRight",stopOnRelease:p},buttonMoveUp:{movement:r.gx,pressedOn:"movingUp",stopOnRelease:p},buttonMoveDown:{movement:r.cx,pressedOn:"movingDown",stopOnRelease:p},buttonPlayLeft:{movement:[r.dx,r.T],pressedOn:"movingLeft",stopOnRelease:y},buttonPlayRight:{movement:[r.ex,
r.T],pressedOn:"movingRight",stopOnRelease:y},buttonPlayUp:{movement:[r.gx,r.T],pressedOn:"movingUp",stopOnRelease:y},buttonPlayDown:{movement:[r.cx,r.T],pressedOn:"movingDown",stopOnRelease:y},buttonZoomIn:{movement:r.tm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:r.um,pressedOn:"zoomingOut",stopOnRelease:p}};return w});
define("bN","hj,bL,dj,cd,iY,cI".split(","),function(a,b,c,d,g,f){a=a.extend(f,function(){f.call(this)});c.A("PanoramaPlayListItem",a).B("PlayListItem").K({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");if(a){a.bind(d.Ue,this.rn,this);a.set("panorama",this.get("media"));a.set("camera",this.get("camera"))}};a.prototype.stop=function(){var a=this.get("player");if(a){a.unbind(d.Ue,this.rn,this);a.get("panorama")==
this.get("media")&&a.set("panorama",q)}f.prototype.stop.call(this)};a.prototype.rn=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(d.Ue,this.rn,this);this.get("player").bind(d.Eg,this.up,this);this.Vv()}};a.prototype.up=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(d.Eg,this.up,this);this.end()}};return a});
define("hn",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaSnapshot",b).B("Object").K({position:"PanoramaCameraPosition",image:"ImageResource"});return b});define("io",["hj","bE"],function(a,b){var c=a.extend(b,function(a,c,f,k){b.call(this);this.Eb=a;this.S=c;this.aa=f;this.LM=k});c.prototype.Jk=function(){return[this.Eb]};c.prototype.Qe=O("Eb");c.prototype.Ic=O("S");c.prototype.ud=O("aa");return c});
define("dG","require,cK,hj,dj,cP,dR,io".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("dj"),g=a("cP"),f=a("dR"),k=a("io"),a=c.extend(g,function(){g.call(this);this.G=n});d.A("Photo",a).B("Media").K({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});a.prototype.Tc=function(){if(this.G==n){var a=this.get("image");this.G=a?new k(f.Ik(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
y)):q}return this.G};a.prototype.Xn=function(){var a=this.iE(this.Tc());b(this.get("audios",[])).each(function(b){a=a.concat(b.Xn())},this);return a};a.prototype.iE=function(a){return a?a.Jk():[]};return a});
define("gd",["cK","hj","ji","cP","dj"],function(a,b,c,d,g){b=b.extend(d,function(){d.call(this);this.set("loop",y)});g.A("PhotoAlbum",b).B("Media").K({audios:"array[PhotoAlbumAudio]",loop:"bool",playList:"PhotoPlayList"}).qc([c.ua]);b.prototype.Xn=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.Xn()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.Xn())});return b};return b});
define("fn",["hj","dj","fI","fO"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.R8)});b.A("PhotoAlbumAudio",a).B("MediaAudio");return a});
define("cb",["ew"],function(a){function b(a){this.hX=a;this.bl=[];this.Vc=[]}b.prototype.clear=function(){for(var a=0;a<this.bl.length;a++)this.bl[a].stop();this.Vc=this.bl=q};b.prototype.stop=function(){for(var a=0;a<this.Vc.length;a++)this.Vc[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Vc.length;b++)this.Vc[b].get("state")!=a.T&&this.Vc[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Vc.length;b++)this.Vc[b].get("state")==a.T&&this.Vc[b].pause()};b.prototype.start=function(){this.stop();
for(var a=0;a<this.hX.length;a++){var b=this.hX[a],g=b.dw();g&&(this.bl.push(g),b.get("autoplay",y)&&this.Vc.push(g))}for(a=0;a<this.Vc.length;a++)this.Vc[a].play()};return b});define("fm",["hj","cb"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.OF=a})});define("eI",["hj","cb"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Lc=a})});
define("fZ",["fm","eI"],function(a,b){function c(){this.jg=[];this.Pf=[]}c.prototype.clear=function(){this.T7();this.Pf=this.jg=q};c.prototype.T7=function(){for(var a=0;a<this.jg.length;a++)this.jg[a].clear();for(a=0;a<this.Pf.length;a++)this.Pf[a].clear();this.jg=[];this.Pf=[]};c.prototype.pause=function(){for(var a=0;a<this.jg.length;a++)this.jg[a].pause();for(a=0;a<this.Pf.length;a++)this.Pf[a].pause()};c.prototype.play=function(){for(var a=0;a<this.jg.length;a++)this.jg[a].play();for(a=0;a<this.Pf.length;a++)this.Pf[a].play()};
c.prototype.stop=function(){for(var a=0;a<this.jg.length;a++)this.jg[a].stop();for(a=0;a<this.Pf.length;a++)this.Pf[a].clear();this.Pf=[]};c.prototype.xpa=function(b){b=new a(b);this.Pf.push(b);b.start()};c.prototype.Bpa=function(a){for(var b=0;b<this.Pf.length;b++)if(this.Pf[b].OF==a){this.Pf[b].clear();this.Pf.splice(b,1);break}};c.prototype.jU=function(a){a=new b(a);this.jg.push(a);a.start()};c.prototype.ypa=function(a){for(var b=0;b<this.jg.length;b++)if(this.jg[b].Lc==a){this.jg[b].clear();this.jg.splice(b,
1);break}};return c});
define("l",["hj","hH"],function(a,b){function c(){this.Y=p;this.$=this.Z=0.5;this.la=1;this.Gc=b.je;this.Ah=this.Bh=100}c.prototype.kh=function(){this.hi();return this.Z};c.prototype.lh=function(){this.hi();return this.$};c.prototype.Kk=function(){this.hi();return this.la};c.prototype.TB=function(a,b,c){this.Gc=c;this.$=this.Z=0.5;this.la=1;this.Y=p};c.prototype.Qa=function(a,b,c){this.Z=a;this.$=b;this.la=c;this.Y=p};c.prototype.setSize=function(a,b){this.Bh=a;this.Ah=b;this.Y=p};c.prototype.hi=
function(){if(this.Y){this.Y=y;1>this.la&&(this.la=1);var a=Math.min(0.5/this.la,0.5),b=Math.max(1-0.5/this.la,0.5);this.Z<a?this.Z=a:this.Z>b&&(this.Z=b);a=Math.min(0.5/this.la,0.5);b=Math.max(1-0.5/this.la,0.5);this.$<a?this.$=a:this.$>b&&(this.$=b)}};return c});
define("bi",[],function(){function a(a,c){this.g=a;this.H=c;this.$=this.Z=0.5;this.la=1;this.fG=y}a.prototype.start=function(){this.$=this.Z=0.5;this.la=1;this.fG=p};a.prototype.clear=function(){this.H=this.g=q};a.prototype.Qa=function(a,c,d){this.Z=a;this.$=c;this.la=d};a.prototype.ad=O("fG");a.prototype.cb=function(){this.fG=y};return a});
define("eX",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(a,c,f){b.call(this);a!=n&&this.set("x",a);c!=n&&this.set("y",c);f!=n&&this.set("zoomFactor",f)});c.A("PhotoCameraPosition",a).B("Object").K({x:"number",y:"number",zoomFactor:"number"});return a});
define("g",["hj","bi","eX","iX","bk"],function(a,b,c,d,g){a=a.extend(b,function(a,c){b.call(this,a,c);this.I=q});a.prototype.start=function(a){var b=a.get("initialPosition",new c(0.5,0.5,1)),j=a.get("targetPosition",new c(0.5,0.5,1));this.I=new d(a.get("easing","linear"),[new g("x",b.get("x",0.5),j.get("x",0.5)),new g("y",b.get("y",0.5),j.get("y",0.5)),new g("zoom",b.get("zoomFactor",1),j.get("zoomFactor",1))],a.get("duration",1E3));this.cb(0)};a.prototype.clear=function(){this.I=q;b.prototype.clear.call(this)};
a.prototype.ad=function(){return this.I!=q};a.prototype.cb=function(a){this.I&&(this.I.cb(a),this.H.Qa(this.I.kb("x"),this.I.kb("y"),this.I.kb("zoom")),this.Z=this.H.kh(),this.$=this.H.lh(),this.la=this.H.Kk(),this.I.he()&&(this.I=q))};return a});
define("bS","hj,bL,dX,dj,ew,hH,l,bi,g,ji".split(","),function(a,b,c,d,g,f,k,j,h,m){var e=a.extend(c,function(a,b){c.call(this);this.g=a;this.Pb=b;this.g.bind(m.sb,this.ib,this);this.k=g.L;this.Wh=this.OF=this.Mc=this.G=q;this.H=new k});e.prototype.clear=function(){this.end();this.H=q;this.g.unbind(m.sb,this.ib,this);this.g=q};e.prototype.end=function(a){if(this.G==a||typeof a=="undefined"){this.yY();this.Mc=this.OF=this.Mc=this.G=q}};e.prototype.start=function(a){if(this.G!=a){this.end(this.G);var b=
a.get("media"),c=a.get("camera"),d=b.get("width",100),e=b.get("height",100),g=c?c.get("scaleMode",f.je):f.je;this.G=a;this.Mc=c;this.OF=b;b.Tc();this.U=p;this.H.TB(d,e,g);this.fba(c);this.fa()}};e.prototype.stop=function(){if(this.k!=g.L){this.k=g.L;if(this.Wh){this.Wh.start(this.Mc);this.fa()}}};e.prototype.play=function(){if(this.k==g.L||this.k==g.Jc){this.k=g.T;this.fa()}};e.prototype.pause=function(){if(this.k==g.T)this.k=g.Jc};e.prototype.fo=function(a){if(this.Wh&&this.Wh.ad()){if(this.k==g.T){this.Wh.cb(a);
this.fa()}this.$h(this.Wh.Z,this.Wh.$,this.Wh.la)}};e.prototype.fba=function(a){this.yY();this.Wh=d.vb("MovementPhotoCamera",a)?new h(this.g,this.H):new j(this.g,this.H);this.Wh.start(a)};e.prototype.yY=function(){if(this.Wh){this.Wh.clear();this.Wh=q}};e.prototype.ib=function(){this.H.setSize(this.g.za(),this.g.ab());this.fa()};e.prototype.fa=function(){this.trigger(new b(e.ra))};e.prototype.$h=function(a,b,c){this.Pb.Qa(this.G,a,b,c)};e.ra="request frame";return e});
define("fh","require,cK,hj,bL,dX,ji,fc,hH".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("bL"),g=a("dX"),f=a("ji");a("fc");var k=a("hH"),j=c.extend(g,function(a,b){g.call(this);this.hA=[];this.D=a;this.g=b});j.prototype.rt=function(a){this.To(a).rt();return this};j.prototype.cd=function(a,b){this.To(a).cd(b);return this};j.prototype.si=function(a,b){this.To(a).si(b);return this};j.prototype.Qa=function(a,b,c,d){this.To(a).Qa(b,c,d);return this};j.prototype.kj=function(a){this.To(a).kj();return this};
j.prototype.stop=function(){this.JY(function(a){a.clear()});this.hA=[]};j.prototype.clear=function(){this.stop();this.g=this.D=this.hA=q};j.prototype.ec=function(){this.JY(function(a){a.update()})};j.prototype.To=function(a){var b=this.Tba(a);if(!b){b=new h(a,this.g);b.bind(h.JV,this.tea,this);b.bind(h.IV,this.sea,this);this.hA.push(b)}return b};j.prototype.JY=function(a){b(this.hA).each(a,this)};j.prototype.Tba=function(a){return b(this.hA).find(function(b){return b.getItem()==a})};j.prototype.tea=
function(){this.fa()};j.prototype.sea=function(a){this.trigger(new d(j.uJ,{item:a.source.getItem()}))};j.prototype.fa=function(){this.trigger(new d(j.ra))};j.ra="request frame";j.uJ="photo preload end";var h=c.extend(g,function(a,b){g.call(this);this.G=a;this.g=b;var c=a.get("camera");this.Gc=c?c.get("scaleMode",k.je):k.je;this.vg=a.get("media").Tc();this.vg.bind(f.P,this.df,this);this.vg.bind(f.md,this.pp,this);this.X=h.ux;this.$=this.Z=0.5;this.la=1;this.kg=0;this.Zt=y;this.Kd=0;this.Y=y});h.prototype.getItem=
O("G");h.prototype.rt=function(){this.X==h.ux?this.TF():this.c4()};h.prototype.cd=function(a){if(this.kg!=a){this.kg=a;this.Ec()}};h.prototype.si=function(a){if(this.Kd!=a){this.Kd=a;this.Ec()}};h.prototype.Qa=function(a,b,c){if(this.Z!=a||this.$!=b||this.la!=c){this.Z=a;this.$=b;this.la=c;this.Ec()}};h.prototype.kj=function(){if(!this.Zt){this.Zt=p;this.Ec()}};h.prototype.clear=function(){this.X==h.aD&&this.Ip();(this.X==h.rx||this.X==h.tx||this.X==h.sx)&&this.aq();this.vg.unbind(f.P,this.df);this.vg.unbind(f.md,
this.pp);this.vg=q};h.prototype.update=function(){if(this.Y){this.Y=y;if(this.Kd>-1&&this.Kd<1&&this.kg>0){this.X==h.ux&&this.My();this.X==h.rx&&this.I9();if(this.X==h.aD){if(this.Zt){this.g.fB(this.vg);this.Zt=y}this.g.Bg(this.vg,this.kg);this.g.Loa(this.vg,this.Kd);this.g.ZB(this.vg,this.Z,this.$,this.la)}}else{this.X==h.aD&&this.Ip();(this.X==h.rx||this.X==h.sx)&&this.aq()}}};h.prototype.Ec=function(){if(!this.Y){this.Y=p;this.Nb()}};h.prototype.Nb=function(){this.trigger(new d(h.JV))};h.prototype.TF=
function(){this.X=h.tx;this.g.ao(this.vg)};h.prototype.My=function(){this.X=h.sx;this.g.ao(this.vg)};h.prototype.I9=function(){this.X=h.aD;this.g.eB(this.vg);this.g.Ooa(this.vg,this.Gc)};h.prototype.Ip=function(){this.X=h.rx;this.g.removeItem(this.vg)};h.prototype.aq=function(){this.X=h.ux;this.g.vi(this.vg)};h.prototype.df=function(){if(this.X==h.tx||this.X==h.sx){var a=this.X==h.tx;this.X=h.rx;this.Ec();a&&this.c4()}};h.prototype.pp=function(){if(this.X==h.tx||this.X==h.sx)this.X=h.ux};h.prototype.c4=
function(){this.trigger(new d(h.IV))};h.JV="requestUpdate";h.IV="preloadEnd";h.ux="unloaded";h.tx="preloading";h.sx="loading";h.rx="loaded";h.aD="added";return j});define("iq",[],function(){return{Rk:"blending",$k:"scroll"}});
define("bx","cK,hj,bL,dX,ji,fh,iq".split(","),function(a,b,c,d,g,f,k){function j(b,c,d){this.ki=b;this.item=c;this.b8=d;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=y}j.prototype.isEqual=function(a){return a&&a.ki==this.ki&&a.item==this.item};var h=b.extend(d,function(a,b,c){d.call(this);this.D=a;this.g=b;this.Pb=c;this.Pb.bind(f.uJ,this.F1,this);this.xA=k.Rk;this.X=h.Ot;this.dd=new j(q,q,0);this.Lm=this.sg=this.le=q;this.yA=n;this.Pp=0});h.prototype.lpa=N("xA");
h.prototype.eU=N("Pp");h.prototype.vU=function(a,b,c){this.sg=q;a=new j(a,b,c);if(!a.isEqual(this.X==h.Ot?this.dd:this.le)){this.sg=a;this.O0()}};h.prototype.clear=function(){(this.X==h.dD||this.X==h.bD)&&this.trigger(new c(h.po,{album:this.le.ki,item:this.le.item}));this.X=h.Ot;this.g=this.D=this.Lm=this.dd=this.le=this.sg=q;this.Pb.unbind(f.uJ,this.F1,this);this.Pb=q};h.prototype.ec=function(a){if(this.X!=h.Ot){this.yA=this.yA+a;a=this.le.b8;a=this.yA>=a?1:this.yA/a;this.X==h.bD?this.Tja(a):this.X==
h.cD?this.Uja(a):this.xA==k.Rk?this.Lja(a):this.mka(a);a<1?this.fa():this.Lr()}};h.prototype.Tja=function(a){this.Pb.cd(this.le.item,a).si(this.le.item,0)};h.prototype.Uja=function(a){this.Pb.cd(this.dd.item,1-a).si(this.dd.item,0)};h.prototype.Lja=function(a){this.Pb.cd(this.le.item,Math.min(1,a*2)).si(this.le.item,0);this.Pb.cd(this.dd.item,Math.min(1,(1-a)*2)).si(this.dd.item,0)};h.prototype.mka=function(a){var b=this.dd.ki!=this.le.ki||this.dd.index<this.le.index;this.Pb.si(this.le.item,(b?1-
a:a-1)*(1+this.Pp)).cd(this.le.item,1);this.Pb.si(this.dd.item,(b?-a:a)*(1+this.Pp)).cd(this.dd.item,1)};h.prototype.O0=function(){this.sg&&this.X==h.Ot&&(this.sg.item&&!this.sg.loaded?this.Pb.rt(this.sg.item):this.Bo())};h.prototype.F1=function(a){if(this.sg&&this.sg.item==a.data.item){this.sg.loaded=p;this.O0()}};h.prototype.Bo=function(){if(this.Lm&&this.Lm!=this.sg.ki){this.trigger(new c(h.Bj,{album:this.Lm}));this.Lm=q}this.trigger(new c(h.BJ));if(this.D.get("transitionMode")=="fade_out_fade_in"&&
this.sg.item!=q&&this.dd.item!=q){this.X=h.cD;this.le=new j(this.dd.ki,q,this.dd.b8)}else{this.le=this.sg;this.sg=q;if(this.dd.item)if(this.le.item)this.X=h.dD;else{if(this.dd.item)this.X=h.cD}else this.X=h.bD}if(this.X==h.dD||this.X==h.bD){this.Pb.kj(this.le.item);this.trigger(new c(h.Rq,{album:this.le.ki,item:this.le.item}))}this.yA=0;this.fa()};h.prototype.Lr=function(){(this.X==h.dD||this.X==h.cD)&&this.trigger(new c(h.po,{album:this.dd.ki,item:this.dd.item}));this.dd=this.le;if(this.Lm!=this.dd.ki){this.Lm=
this.dd.ki;this.trigger(new c(h.Cj,{album:this.Lm}))}this.X=h.Ot;if(this.sg==q){this.dd.item&&this.trigger(new c(h.Sq,{album:this.dd.ki,item:this.dd.item}));this.trigger(new c(h.CJ,{album:this.dd.ki,item:this.dd.item}))}else this.Bo()};h.prototype.fa=function(){this.trigger(new c(h.ra))};h.Ot="stopped";h.dD="blending";h.cD="fading_out";h.bD="fading_in";h.ra="request frame";h.BJ="transition begin";h.CJ="transition end";h.Rq="photo added";h.po="photo removed";h.Sq="photo displayed";h.Cj="photo album show";
h.Bj="photo album hide";return h});
define("dB","cK,hj,bL,dX,ji,dj,hH,eX,l,bi,g,iX,bk".split(","),function(a,b,c,d,g,f,k,j,h,m,e,l,r){var o=b.extend(d,function(a,b,c){d.call(this);this.D=a;this.g=b;this.Pb=c;this.$i=this.Oi=this.G=this.Lc=this.Ba=q;this.Xh=n;this.FG=0;this.bh=y;this.Kd=0;this.cF=this.$i?-1:0;this.XE=this.Oi?1:0;this.I=q;this.fj=400;this.Pp=0;this.H=new h});o.prototype.clear=function(){this.Pb=this.g=this.D=this.Lm=q};o.prototype.roa=function(b,c){this.Lc=b;this.G=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
[],e=a(d).indexOf(c);this.Oi=e>0?d[e-1]:q;this.$i=e<d.length-1?d[e+1]:q;this.Kd=0;this.cF=this.$i?-1:0;this.XE=this.Oi?1:0;this.TF()};o.prototype.enable=function(){if(this.Ba=this.g.getParent()){this.Ba.bind(g.pb,this.Mb,this,p);this.Ba.bind(g.wc,this.Kh,this,p);this.Ba.bind(g.Gb,this.Of,this,p);this.TF()}};o.prototype.disable=function(){if(this.Ba){this.Ba.unbind(g.pb,this.Mb,this);this.Ba.unbind(g.wc,this.Kh,this);this.Ba.unbind(g.Gb,this.Of,this);this.Ba=q}};o.prototype.kpa=N("fj");o.prototype.eU=
N("Pp");o.prototype.TF=function(){if(this.Ba){this.Oi&&this.Pb.rt(this.Oi);this.$i&&this.Pb.rt(this.$i)}};o.prototype.U_=function(){return(new Date).getTime()};o.prototype.Mb=function(a){if(!this.bh){this.Xh=a.x;this.FG=0;this.BP=this.U_();this.bh=p;this.I=q;this.trigger(new c(o.dJ));if(this.Oi){a=this.wZ(this.Oi);this.Pb.Qa(this.Oi,a.x,a.y,a.zoom)}if(this.$i){a=this.wZ(this.$i);this.Pb.Qa(this.$i,a.x,a.y,a.zoom)}}};o.prototype.Kh=function(a){if(this.bh){var b=a.x-this.Xh,c=b/this.Ba.za(),d=this.U_()-
this.BP;this.FG=b/d;this.BP=this.BP+d;this.Xh=a.x;this.Kd=Math.max(this.cF,Math.min(this.XE,this.Kd+c));this.fa()}};o.prototype.Of=function(){if(this.bh){this.bh=y;var a,b;if(this.FG>1){a="quad_out";b=this.XE}else if(this.FG<-1){a="quad_out";b=this.cF}else{a="quad_in_out";b=this.Kd<-0.5?this.cF:this.Kd>0.5?this.XE:0}this.I=new l(a,[new r("offset",this.Kd,b,1E3/this.fj)],0);this.fa()}};o.prototype.ec=function(a){if(this.bh||this.I){if(this.I){this.I.cb(a);this.Kd=this.I.kb("offset");if(this.I.he()){this.I=
q;this.Iba()}else this.fa()}this.G&&this.Pb.si(this.G,this.Kd*(1+this.Pp)).cd(this.G,1);this.Oi&&this.Pb.si(this.Oi,(this.Kd-1)*(1+this.Pp)).cd(this.Oi,1);this.$i&&this.Pb.si(this.$i,(this.Kd+1)*(1+this.Pp)).cd(this.$i,1)}};o.prototype.Iba=function(){this.trigger(new c(o.eJ,{album:this.Lc,item:this.Kd<0?this.$i:this.Kd>0?this.Oi:this.G}))};o.prototype.fa=function(){this.trigger(new c(o.ra))};o.prototype.wZ=function(a){var b=a&&a.get("camera"),c=a&&a.get("media"),a=c&&c.get("width",100)||100,c=c&&
c.get("height",100)||100,d=b?b.get("scaleMode",k.je):k.je,e={};if(f.vb("MovementPhotoCamera",b)){b=b.get("initialPosition",new j(0.5,0.5,1));e.x=b.get("x",0.5);e.y=b.get("y",0.5);e.zoom=b.get("zoomFactor",0.5)}else{e.x=0.5;e.y=0.5;e.zoom=1}this.H.TB(a,c,d);this.H.setSize(this.g.za(),this.g.ab());this.H.Qa(e.x,e.y,e.zoom);e.x=this.H.kh();e.y=this.H.lh();e.zoom=this.H.Kk();return e};o.ra="request frame";o.dJ="interaction begin";o.eJ="interaction end";return o});
define("fV","hj,bL,dX,ji,fh,iq,bx,dB".split(","),function(a,b,c,d,g,f,k,j){var h=a.extend(c,function(a,b,d){c.call(this);this.D=a;this.g=b;this.Pb=d;this.xA=f.Rk;this.fj=1E3;this.Oa=new k(this.D,this.g,this.Pb);this.Oa.bind(k.ra,this.Vb,this,p);this.Oa.bind(k.BJ,this.d0,this,p);this.Oa.bind(k.CJ,this.e0,this,p);this.Oa.bind(k.Rq,this.nz,this,p);this.Oa.bind(k.po,this.qz,this,p);this.Oa.bind(k.Sq,this.pz,this,p);this.Oa.bind(k.Bj,this.jk,this,p);this.Oa.bind(k.Cj,this.Ui,this,p);this.Sg=new j(this.D,
this.g,this.Pb);this.Sg.bind(j.ra,this.Vb,this,p);this.Sg.bind(j.dJ,this.C_,this,p);this.Sg.bind(j.eJ,this.D_,this,p)});h.prototype.yI=function(a,b){this.xA=a;this.fj=b;this.Oa.lpa(a);this.Sg.kpa(b);this.Oa.eU(0.05);this.Sg.eU(0.05)};h.prototype.display=function(a,b){this.Oa.vU(a,b,this.fj)};h.prototype.hide=function(){this.Oa.vU(q,q,this.fj)};h.prototype.clear=function(){this.Oa.unbind(k.ra,this.Vb,this);this.Oa.unbind(k.BJ,this.d0,this);this.Oa.unbind(k.CJ,this.e0,this);this.Oa.unbind(k.Rq,this.nz,
this);this.Oa.unbind(k.po,this.qz,this);this.Oa.unbind(k.Sq,this.pz,this);this.Oa.unbind(k.Bj,this.jk,this);this.Oa.unbind(k.Cj,this.Ui,this);this.Oa.clear();this.Oa=q;this.Sg.bind(j.ra,this.Vb,this,p);this.Sg.bind(j.dJ,this.C_,this,p);this.Sg.bind(j.eJ,this.D_,this,p);this.Sg.clear();this.Pb=this.g=this.D=this.Sg=q};h.prototype.ec=function(a){this.Oa.ec(a);this.Sg.ec(a)};h.prototype.Vb=function(){this.fa()};h.prototype.nz=function(a){this.trigger(new b(h.Rq,a.data))};h.prototype.qz=function(a){this.trigger(new b(h.po,
a.data))};h.prototype.pz=function(a){this.trigger(new b(h.Sq,a.data));this.Sg.roa(a.data.album,a.data.item)};h.prototype.jk=function(a){this.trigger(new b(h.Bj,a.data))};h.prototype.Ui=function(a){this.trigger(new b(h.Cj,a.data))};h.prototype.d0=function(){this.Sg.disable()};h.prototype.e0=function(a){this.xA==f.$k&&a.data.item&&this.Sg.enable()};h.prototype.C_=function(){this.trigger(new b(h.OU))};h.prototype.D_=function(a){this.Oa.vU(a.data.album,a.data.item,0);this.trigger(new b(h.PU,a.data))};
h.prototype.fa=function(){this.trigger(new b(h.ra))};h.ra="request frame";h.Rq="photo added";h.po="photo removed";h.Sq="photo displayed";h.Cj="photo album show";h.Bj="photo album hide";h.OU="manual interaction begin";h.PU="manual interaction end";return h});
define("fA","require,cK,hj,v,bL,dX,ew".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("v"),g=a("bL"),f=a("dX"),k=a("ew"),j=c.extend(f,function(){f.call(this);this.Lc=q;this.k=k.L;this.gQ=q});j.prototype.clear=function(){this.sS()};j.prototype.jU=function(a){this.sS();this.Lc=a;this.k=k.T;this.gQ=d.watch(this.Lc,"playList.selectedIndex",this.Cs,this);this.Lc.get("playList").get("selectedIndex")==0?this.Cs():this.Lc.get("playList").set("selectedIndex",0)};j.prototype.sS=function(){if(this.Lc){this.k=
k.L;this.gQ.unwatch();this.Lc=this.gQ=q}};j.prototype.stop=function(){if(this.k!=k.L){this.k=k.L;this.Lc.get("playList").set("selectedIndex",0)}};j.prototype.play=function(){if(this.k==k.L){this.Lc.get("playList").set("selectedIndex",0);this.k=k.T;this.Cs()}else if(this.k==k.Jc)this.k=k.T};j.prototype.pause=function(){if(this.k==k.T)this.k=k.Jc};j.prototype.next=function(){var a=this.Lc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.Lc.get("loop"))&&a.set("selectedIndex",
(b+1)%c)};j.prototype.vT=function(){var a=this.Lc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.Lc.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};j.prototype.dI=function(a){this.bia(a)};j.prototype.gna=function(a){if(this.Lc){var c=b(this.Lc.get("playList").get("items")).last();if(a==c&&!this.Lc.get("loop")){this.k=k.L;this.trigger(new g(j.aJ,{album:this.Lc}))}else this.next()}};j.prototype.Cs=function(){var a=this.hda();a>=0&&(this.k!=k.T&&a!=0?this.trigger(new g(j.wJ)):
this.trigger(new g(j.iJ,{album:this.Lc,item:this.Lc.get("playList").get("items")[a]})))};j.prototype.hda=function(){return this.Lc?this.Lc.get("playList").get("selectedIndex"):-1};j.prototype.bia=function(a){if(this.Lc){var c=this.Lc.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};j.wJ="play request";j.iJ="item request";j.aJ="album end";return j});
define("bX","require,cK,hj,ji,bL,dX,ew,ey".split(","),function(a){a("cK");var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("ew"),k=a("ey"),j=b.extend(g,function(a){g.call(this);this.D=a;this.vA=this.G=q;this.xs=n;this.HE=y;this.k=f.L;k.bind(c.W,this.n1,this,p)});j.prototype.dI=function(a){this.lM();if(this.G=a){a=this.G.get("media").get("duration",0);this.xs=a==0?n:Math.max(0,a-this.D.get("transitionDuration"));this.HE=y;this.k==f.T&&this.DM()}};j.prototype.clear=function(){k.unbind(c.W,this.n1,this,
p);this.dI(q)};j.prototype.stop=function(){if(this.k!=f.L){this.lM();this.ob(f.L)}};j.prototype.play=function(){if(this.k==f.L){this.ob(f.T);if(this.G){this.HE=y;this.xs=this.G.get("media").get("duration",0);this.DM()}}else if(this.k==f.Jc){this.ob(f.T);this.G&&this.DM()}};j.prototype.pause=function(){if(this.k==f.T){this.ob(f.Jc);this.D1()}};j.prototype.DM=function(){if(!this.HE){this.HE=p;this.trigger(new d(j.jJ,{item:this.G}))}this.MY()};j.prototype.n1=function(){k.visible?this.MY():k.visible||
this.D1()};j.prototype.MY=function(){if(this.xs!==n){var a=this;this.QG=(new Date).getTime()+this.xs;this.vA=setTimeout(function(){a.vA=q;a.cja()},this.xs)}else this.QG=n};j.prototype.lM=function(){if(this.vA){clearTimeout(this.vA);this.vA=q}};j.prototype.D1=function(){if(this.QG!==n){this.lM();this.xs=Math.max(1,this.QG-(new Date).getTime());this.QG=n}};j.prototype.cja=function(){var a=this.G;this.G=q;this.xs=n;this.trigger(new d(j.hJ,{item:a}))};j.prototype.ob=function(a){if(this.k!=a){this.k=a;
this.trigger(new d(j.Fb,{state:this.k}))}};j.Fb="playback state change";j.jJ="item start";j.hJ="item end";return j});
define("iD",["hj","bL","dX","S","t"],function(a,b,c,d,g){var f=a.extend(c,function(a){c.call(this);this.U=p;this.Wj=y;this.g=a;this.Ki=g.browser()==g.qC&&g.Ed()==g.fK?3:1;this.ne=this.dy=0});f.prototype.clear=function(){this.U=y;this.g=q;this.ne=this.dy=0};f.prototype.Aa=function(){this.Wj||(this.Wj=p,d.Aa(this.cf,this))};f.prototype.cf=function(a){this.U&&(this.dy++,this.ne+=a,this.dy==this.Ki?(this.dy=0,this.Wj=y,a=this.ne,this.ne=0,this.trigger(new b(f.Ej,{frameTime:a})),this.trigger(new b(f.Fj,
{frameTime:a})),this.g.render()):d.Aa(this.cf,this))};f.Ej="frameStart";f.Fj="positionSet";return f});
define("el","hj,ji,bL,dX,fZ,bS,fV,fA,bX,fh,iD".split(","),function(a,b,c,d,g,f,k,j,h,m,e){var l=a.extend(d,function(a,b){d.call(this);this.D=a;this.g=b;this.Je=new j(this.g);this.$a=new h(this.D);this.Pb=new m(this.D,this.g);this.xa=new k(this.D,this.g,this.Pb);this.ga=new f(this.g,this.Pb);this.sc=new e(this.g);this.wd=new g;this.Pb.bind(m.ra,this.Vb,this,p);this.Je.bind(j.iJ,this.w0,this,p);this.Je.bind(j.wJ,this.S0,this,p);this.Je.bind(j.aJ,this.oz,this,p);this.$a.bind(h.jJ,this.x0,this);this.$a.bind(h.hJ,
this.v0,this);this.$a.bind(h.Fb,this.Ld,this,p);this.xa.bind(k.ra,this.Vb,this,p);this.xa.bind(k.Rq,this.nz,this,p);this.xa.bind(k.po,this.qz,this,p);this.xa.bind(k.Sq,this.pz,this,p);this.xa.bind(k.Bj,this.jk,this,p);this.xa.bind(k.Cj,this.Ui,this,p);this.xa.bind(k.OU,this.lfa,this,p);this.xa.bind(k.PU,this.mfa,this,p);this.ga.bind(f.ra,this.Vb,this,p);this.sc.bind(e.Ej,this.vp,this,p);this.sc.bind(e.Fj,this.wp,this,p)});l.prototype.clear=function(){this.Je.clear();this.$a.clear();this.xa.clear();
this.ga.clear();this.sc.clear();this.wd.clear();this.Pb.clear();this.Pb.unbind(m.ra,this.Vb,this);this.Je.unbind(j.iJ,this.w0,this);this.Je.unbind(j.aJ,this.oz,this);this.Je.unbind(j.wJ,this.S0,this);this.$a.unbind(h.jJ,this.x0,this);this.$a.unbind(h.hJ,this.v0,this);this.$a.unbind(h.Fb,this.Ld,this);this.xa.unbind(k.ra,this.Vb,this);this.xa.unbind(k.Rq,this.nz,this);this.xa.unbind(k.po,this.qz,this);this.xa.unbind(k.Sq,this.pz,this);this.xa.unbind(k.Bj,this.jk,this);this.xa.unbind(k.Cj,this.Ui,this);
this.ga.unbind(f.ra,this.Vb,this);this.sc.unbind(e.Ej,this.vp,this);this.sc.unbind(e.Fj,this.wp,this);this.D=this.g=this.Pb=this.wd=this.sc=this.ga=this.xa=this.$a=this.Je=q};l.prototype.yI=function(a,b){this.xa.yI(a,b)};l.prototype.bpa=function(a){this.Je.jU(a)};l.prototype.tt=function(){this.Je.sS();this.$a.stop();this.xa.hide();this.ga.end();this.wd.T7()};l.prototype.next=function(){this.Je.next()};l.prototype.vT=function(){this.Je.vT()};l.prototype.stop=function(){this.$a.stop();this.wd.stop();
this.Je.stop();this.ga.stop()};l.prototype.play=function(){this.$a.play();this.wd.play();this.Je.play();this.ga.play()};l.prototype.pause=function(){this.$a.pause();this.wd.pause();this.Je.pause();this.ga.pause()};l.prototype.lfa=function(){this.$a.pause();this.wd.pause();this.Je.pause();this.ga.pause()};l.prototype.mfa=function(){this.$a.play();this.wd.play();this.Je.play();this.ga.play()};l.prototype.w0=function(a){this.xa.display(a.data.album,a.data.item)};l.prototype.S0=function(){this.play()};
l.prototype.Vb=function(){this.sc.Aa()};l.prototype.vp=function(a){this.ga.fo(a.data.frameTime)};l.prototype.wp=function(a){a=a.data.frameTime;this.xa.ec(a);this.Pb.ec(a)};l.prototype.nz=function(a){this.ga.start(a.data.item)};l.prototype.qz=function(a){var b=a.data.album,a=a.data.item,d=a.get("media");this.ga.end(a);this.wd.Bpa(d);this.trigger(new c(l.tJ,{photoAlbum:b,item:a}))};l.prototype.pz=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.Je.dI(a);this.$a.dI(a);this.trigger(new c(l.sJ,
{photoAlbum:b,item:a}))};l.prototype.x0=function(a){this.wd.xpa(a.data.item.get("media"))};l.prototype.v0=function(a){this.Je.gna(a.data.item)};l.prototype.oz=function(a){this.$a.stop();this.wd.stop();this.trigger(new c(l.rJ,{photoAlbum:a.data.album}))};l.prototype.Ui=function(a){a=a.data.album;this.wd.jU(a);this.$a.play();this.ga.play();this.trigger(new c(l.Cj,{photoAlbum:a}))};l.prototype.jk=function(a){a=a.data.album;this.wd.ypa(a);this.trigger(new c(l.Bj,{photoAlbum:a}))};l.prototype.Ld=function(a){this.trigger(new c(l.Fb,
{state:a.data.state}))};l.Cj="photoAlbumShow";l.rJ="photoAlbumEnd";l.Bj="photoAlbumHide";l.sJ="photoBegin";l.tJ="photoEnd";l.Fb="playbackStateChange";return l});
define("eR","require,jquery.mod,cK,hH,hf,hv,t".split(","),function(a){function b(a,b){this.G=a;this.Q=b;this.Ca=a.Ic();this.Ka=a.ud();this.$D=a.LM;this.bS=this.Ly=0;this.kg=1;this.Kd=0;this.Y=p;this.IL();this.Ta=this.Ra=100;this.$=this.Z=0.5;this.la=1;this.Ez=p;this.Oc=1;this.KY={};this.$Z={};this.F4=k.nS&&j.browser()!=j.sh}var c=a("jquery.mod"),d=a("cK"),g=a("hH"),f=a("hf"),k=a("hv"),j=a("t");b.prototype.IL=function(){this.YC=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Ra+
"px",height:this.Ta+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.YC.css(a);this.iK=c(f.Dd(this.G.Qe()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.Ca+"px",height:this.Ka+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.iK.css(a);this.YC.append(this.iK)};b.prototype.lb=
O("YC");b.prototype.getItem=O("G");b.prototype.kh=O("Z");b.prototype.lh=O("$");b.prototype.Kk=O("la");b.prototype.za=function(){return Math.round(this.Ca*this.la*this.Oc)};b.prototype.ab=function(){return Math.round(this.Ka*this.la*this.Oc)};b.prototype.cd=function(a){if(this.kg!=a){this.kg=a;this.Y=p}};b.prototype.zq=function(a){if(this.Gc!=a){this.Gc=a;this.Y=p}};b.prototype.hm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Y=p}};b.prototype.Qa=function(a,b,c){if(this.Z!=a||this.$!=
b||this.la!=c){this.Z=a;this.$=b;this.la=c;this.Y=p}};b.prototype.si=function(a){if(this.Kd!=a){this.Kd=a;this.Y=p}};b.prototype.soa=function(a){if(this.bS!=a){this.bS=a;this.Y=p}};b.prototype.render=function(){if(this.Y){this.Y=y;switch(this.Gc){case g.NONE:this.Oc=1;break;case g.Hj:this.Oc=this.Ra/this.Ca;break;case g.fg:this.Oc=this.Ta/this.Ka;break;case g.Vk:this.Oc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;default:this.Oc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ra/this.Ca:
this.Ta/this.Ka}var a=this.la*this.Oc,b=this.Ra*0.5-this.Z*this.Ca*a,c=this.Ta*0.5-this.$*this.Ka*a,f=this.Ra*this.Kd,j=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},k={};k.width=j(this.Ra,0)+"px";k.height=j(this.Ta,0)+"px";k.transform=this.F4?"translate3d("+j(f,2)+"px, 0px, 0px)":"translate("+j(f,2)+"px, 0px)";k["-moz-transform"]=k["-webkit-transform"]=k["-ms-transform"]=k.transform;k["z-index"]=this.bS;if(this.kg==0)k.display="none";else{k.display="block";if(this.kg==1){k.filter=
k["-ms-filter"]="";k.opacity=""}else{k.filter=k["-ms-filter"]="alpha(opacity="+Math.round(this.kg*100)+")";k.opacity=this.kg}}f=[];if(this.F4){f.push("translate3d("+j(b,2)+"px, "+j(c,2)+"px, 0px)");f.push("scale3d("+a+", "+a+", "+a+")");if(this.$D){f.push("translate3d("+this.Ca+"px, 0, 0)");f.push("scale3d(-1, 1, 1)")}}else{f.push("translate("+j(b,2)+"px, "+j(c,2)+"px)");f.push("scale("+a+", "+a+")");if(this.$D){f.push("translate("+this.Ca+"px, 0)");f.push("scale(-1, 1)")}}a={};a["-moz-transform"]=
a["-webkit-transform"]=a["-ms-transform"]=a.transform=f.join(" ");if(!d.isEqual(this.KY,k)){this.KY=k;this.YC.css(k)}if(!d.isEqual(this.$Z,a)){this.$Z=a;this.iK.css(a)}}};return b});
define("fg","require,jquery.mod,cK,hj,ji,fc,hf,eR,N,d".split(","),function(a){var b=a("jquery.mod"),c=a("cK"),d=a("hj"),g=a("ji"),f=a("fc"),k=a("hf"),j=a("eR"),h=a("N"),m=a("d"),a=d.extend(m,function(){m.call(this);this.Rc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.ax);this.bind(g.sb,this.ib,this,p);this.bind(g.qf,this.Qh,this,p);this.bind(g.gg,this.Nh,this,p);this.xl=y;this.wb=[];this.Is=this.yg=y;this.iP=b("<div/>");this.iP.css({position:"absolute",left:0,top:0,right:0,bottom:0,
overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Ma().append(this.iP)});a.prototype.ao=function(a){k.ao(a,f.Yk)};a.prototype.vi=function(a){k.vi(a,f.Yk)};a.prototype.eB=function(a){a=new j(a,this);a.hm(this.za(),this.ab());a.Qa(0.5,0.5,0,1);this.iP.append(a.lb());this.wb.push(a);this.yg=p};a.prototype.removeItem=function(a){if(a=this.Uj(a)){this.wb=c.without(this.wb,a);a.lb().detach();this.yg=p}};a.prototype.fB=function(a){if(a=this.Uj(a)){this.wb=c.without(this.wb,a);this.wb.push(a);
this.yg=p}};a.prototype.Ooa=function(a,b){this.Uj(a).zq(b)};a.prototype.Bg=function(a,b){this.Uj(a).cd(b)};a.prototype.Loa=function(a,b){this.Uj(a).si(b)};a.prototype.ZB=function(a,b,c,d){this.Uj(a).Qa(b,c,d)};a.prototype.zB=function(a){return this.Uj(a).kh()};a.prototype.AB=function(a){return this.Uj(a).lh()};a.prototype.H5=function(a){return this.Uj(a).Kk()};a.prototype.yB=function(a){return this.Uj(a).za()};a.prototype.xB=function(a){return this.Uj(a).ab()};a.prototype.render=function(){if(this.xl){this.hka();
this.uia();for(var a=0;a<this.wb.length;a++)this.wb[a].render()}};a.prototype.hka=function(){if(this.Is){this.Is=y;for(var a=this.za(),b=this.ab(),c=0;c<this.wb.length;c++)this.wb[c].hm(a,b)}};a.prototype.uia=function(){if(this.yg){this.yg=y;for(var a=[],b=0;b<this.wb.length;b++){var c=this.wb[b],d={};d.eI=c.Ly;d.index=b;d.fm=c;a.push(d)}a.sort(function(a,b){return a.eI==b.eI?a.index-b.index:a.eI-b.eI});for(b=0;b<a.length;b++)a[b].fm.soa(b+1)}};a.prototype.Uj=function(a){if(this.Oqa==a)return this.Nqa;
for(var b=q,c=0;c<this.wb.length&&!b;c++)this.wb[c].getItem()==a&&(b=this.wb[c]);return b};a.prototype.ib=function(){this.Is=p;this.render()};a.prototype.Qh=function(){this.xl=p;this.render()};a.prototype.Nh=function(){this.xl=y};return a});
define("gA","require,hj,bL,dj,ie,cd,fx,el,iq,fg,cJ,ji".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("dj"),g=a("ie"),f=a("cd"),k=a("fx"),j=a("el"),h=a("iq"),m=a("fg"),e=a("cJ"),l=a("ji"),a=b.extend(k,function(){k.call(this,"photoAlbum");this.UG=this.hP=this.wg=y;this.p=this.g=q;this.O$=new g(this,"buttonNext",e.xc);this.O$.bind(l.V,this.qfa,this);this.P$=new g(this,"buttonPrevious",e.xc);this.P$.bind(l.V,this.Afa,this);this.Xc=b.eo(this.Me,this)});d.A("PhotoAlbumPlayer",a).B("Object").K({photoAlbum:"PhotoAlbum",
viewerArea:"ViewerArea",state:"enum[stopped, playing, paused]",mouseTransition:"enum[blending, scroll]",mouseTransitionDuration:"number",touchTransition:"enum[blending, scroll]",touchTransitionDuration:"number",buttonNext:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPrevious:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).Cg({play:function(){this.Vu()},pause:function(){this.Uu()},stop:function(){this.ns()},restart:function(){this.ms()}}).qc([f.Ue,f.Eg,k.ld]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.hP=p;this.Xc();break;case "viewerArea":this.wg=
p;this.Xc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.UG=p;this.Xc()}k.prototype.set.call(this,a,b)}};a.prototype.Me=function(){if(this.wg){this.wg=y;this.UG=p;this.Hr();this.get("viewerArea")&&this.Er();this.zG(this.get("viewerArea"))}if(this.g&&this.hP){this.hP=y;if(this.get("photoAlbum")){this.cG();this.p.bpa(this.get("photoAlbum"))}else this.p.tt()}if(this.UG){this.UG=y;this.A4()}};a.prototype.mA=
function(){this.set("photoAlbum",q)};a.prototype.Er=function(){var a=this.get("viewerArea");this.g=new m;this.g.R({left:0,top:0,bottom:0,right:0});a.qa(this.g);this.p=new j(a,this.g);this.A4();this.p.bind(j.Cj,this.Ui,this);this.p.bind(j.Bj,this.jk,this);this.p.bind(j.rJ,this.oz,this);this.p.bind(j.sJ,this.Q0,this);this.p.bind(j.tJ,this.R0,this);this.p.bind(j.Fb,this.Ld,this);this.vv(p)};a.prototype.Hr=function(){if(this.g){this.p.unbind(j.Cj,this.Ui,this);this.p.unbind(j.Bj,this.jk,this);this.p.unbind(j.rJ,
this.oz,this);this.p.unbind(j.sJ,this.Q0,this);this.p.unbind(j.tJ,this.R0,this);this.p.unbind(j.Fb,this.Ld,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q;this.vv(y)}};a.prototype.A4=function(){var a=this.get("viewerArea");a&&this.p&&(a.Mi?this.p.yI(this.get("touchTransition",h.Rk),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.p.yI(this.get("mouseTransition",h.Rk),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.Ld=
function(a){this.ob(a.data.state)};a.prototype.Ui=function(a){this.ZE(a.data.photoAlbum)};a.prototype.jk=function(a){this.YE(a.data.photoAlbum)};a.prototype.oz=function(a){a.data.photoAlbum.trigger(new c(l.ua))};a.prototype.Q0=function(a){a.data.item.Vv()};a.prototype.R0=function(a){a.data.item.end()};a.prototype.pn=function(a){this.g.getParent().R({progressPercent:a.data.percent,progressVisible:p})};a.prototype.Tu=function(){this.g.getParent().set("progressVisible",y)};a.prototype.qfa=function(){this.p&&
this.get("photoAlbum")&&this.p.next()};a.prototype.Afa=function(){this.p&&this.get("photoAlbum")&&this.p.vT()};a.prototype.tg=function(){this.p&&this.get("photoAlbum")&&this.p.play()};a.prototype.dj=function(){this.p&&this.get("photoAlbum")&&this.p.stop()};a.prototype.rk=function(){this.p&&this.get("photoAlbum")&&this.p.pause()};return a});
define("ej",["hj","dj","cd","cI"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("PhotoAlbumPlayListItem",a).B("PlayListItem").K({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Ue,this.Ui,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Ue,this.Ui,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",q));d.prototype.stop.call(this)};
a.prototype.jC=function(){var a=this.get("media");if(a){var b=a.get("playList");b&&(a=b.get("selectedIndex"),b=b.get("items"),0<=a&&b&&b[a].jC())}d.prototype.jC.call(this)};a.prototype.Ui=function(){this.get("player").unbind(c.Ue,this.Ui,this);this.get("player").bind(c.Eg,this.jk,this);this.Vv()};a.prototype.jk=function(){this.get("player").unbind(c.Eg,this.jk,this);this.end()};return a});
define("ex",["hj","dj","fI","fO"],function(a,b,c,d){a=a.extend(c,function(){c.call(this,d.S8)});b.A("PhotoAudio",a).B("MediaAudio");return a});define("iy",["hj","hA","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PhotoCamera",a).B("Object").K({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("db","require,cK,hj,hA,bL,dj,ga,ji".split(","),function(a){var b=a("cK"),c=a("hj"),d=a("hA"),g=a("bL"),f=a("dj"),k=a("ga"),j=a("ji"),a=c.extend(d,function(){this.Pc=-1;this.ic=[];this.Gz=this.gk=this.yf=n;d.call(this)});f.A("PlayList",a).B("Object").K({items:"array[PlayListItem]",selectedIndex:"number"}).ph([j.UI]).qc([j.W]);a.prototype.set=function(a,b){a=="selectedIndex"?this.aia(b):a=="items"?this.Qha(b):d.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
this.Pc:a=="items"?this.ic:d.prototype.get.call(this,a,b)};a.prototype.Qha=function(a){a=a||[];if(!b.isEqual(this.ic,a)){var c=this.Pc;this.ic=a;a=this.B2(this.Pc);this.trigger(new g(j.UI,{nextSelectedIndex:a}));this.Pc=a;this.c3(this.To(this.Pc));this.u4();this.trigger(new g(j.W,{previousSelectedIndex:c}));d.prototype.set.call(this,"items",this.ic);d.prototype.set.call(this,"selectedIndex",this.Pc)}};a.prototype.aia=function(a){a=this.B2(a);if(this.Pc!=a){var b=this.Pc;this.trigger(new g(j.UI,{nextSelectedIndex:a}));
this.Pc=a;this.c3(this.To(this.Pc));this.u4();this.trigger(new g(j.W,{previousSelectedIndex:b}));d.prototype.set.call(this,"selectedIndex",this.Pc)}};a.prototype.B2=function(a){return Math.max(-1,Math.min(this.ic.length-1,a))};a.prototype.To=function(a){return a>=0?this.ic[a]:q};a.prototype.c3=function(a){if((this.yf!=a||this.gk!==n)&&this.gk!==a)if(this.gk===n){this.gk=a;if(this.yf)if(this.gk&&this.yf.get("player")==this.gk.get("player")){this.yf.jC();this.ls()}else this.yf.stop();else this.ls()}else this.gk=
a};a.prototype.ls=function(){if(this.yf){this.yf.unbind(j.zj,this.LO,this);this.yf.unbind(j.nd,this.ls,this);this.yf.unbind(j.ua,this.ls,this)}if(this.gk){this.yf=this.gk;this.gk=n;this.yf.bind(j.zj,this.LO,this);this.yf.bind(j.nd,this.ls,this);this.yf.start()}else{this.gk=this.yf=n;this.set("selectedIndex",-1)}};a.prototype.LO=function(){this.yf.unbind(j.zj,this.LO,this);this.yf.unbind(j.nd,this.ls,this);this.yf.bind(j.ua,this.ls,this)};a.prototype.u4=function(){this.Gz&&k.hI(this.Gz.get("media"),
-1);(this.Gz=this.ic&&this.Pc>=0?this.ic[(this.Pc+1)%this.ic.length]:q)&&k.hI(this.Gz.get("media"),1)};return a});define("gG",["hj","dj","db"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayList",a).B("PlayList").K({items:"array[PhotoPlayListItem]"});return a});define("gT",["hj","dj","cI"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayListItem",a).B("PlayListItem").K({media:"Photo",camera:"PhotoCamera"});return a});
define("dP",["require","cK","hj","eb","dj"],function(a){a("cK");var b=a("hj"),c=a("eb"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("PlaybackBar",b).B("UIComponent").K({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",playheadBackgroundColor:"or[array[color], color]",playheadBackgroundColorDirection:"enum[horizontal, vertical]",
playheadBackgroundColorRatios:"array[number]",playheadBorderColor:"color",playheadBorderRadius:"number",playheadBorderSize:"number",playheadOpacity:"number",playheadWidth:"or[number, percent]",playheadHeight:"or[number, percent]",playheadShadow:"bool",playheadShadowBlurRadius:"number",playheadShadowColor:"color",playheadShadowHorizontalLength:"number",playheadShadowOpacity:"number",playheadShadowSpread:"number",playheadShadowVerticalLength:"number",stepBackgroundColor:"or[array[color], color]",stepBackgroundColorDirection:"enum[horizontal, vertical]",
stepBackgroundColorRatios:"array[number]",stepBorderColor:"color",stepBorderRadius:"number",stepBorderSize:"number",stepOpacity:"number",stepWidth:"or[number, percent]",stepHeight:"or[number, percent]",stepShadow:"bool",stepShadowBlurRadius:"number",stepShadowColor:"color",stepShadowHorizontalLength:"number",stepShadowOpacity:"number",stepShadowSpread:"number",stepShadowVerticalLength:"number",selectedStepBackgroundColor:"or[array[color], color]",selectedStepBackgroundColorDirection:"enum[horizontal, vertical]",
selectedStepBackgroundColorRatios:"array[number]",selectedStepBorderColor:"color",selectedStepBorderRadius:"number",selectedStepBorderSize:"number",selectedStepOpacity:"number",selectedStepWidth:"or[number, percent]",selectedStepHeight:"or[number, percent]",selectedStepShadow:"bool",selectedStepShadowBlurRadius:"number",selectedStepShadowColor:"color",selectedStepShadowHorizontalLength:"number",selectedStepShadowOpacity:"number",selectedStepShadowSpread:"number",selectedStepShadowVerticalLength:"number",
position:"number",duration:"number",steps:"number",selectedStep:"number"});return b});
define("im",["require"],function(){function a(a){try{for(var g=(c.hT<<12)+c.oT&65535,f="",k=0,j=a.length;k<j;)var h=b.indexOf(a.charAt(k++))<<12|b.indexOf(a.charAt(k++))<<6|b.indexOf(a.charAt(k++))<<0,h=h-g+65536&65535,f=f+String.fromCharCode(h);return f}catch(m){if("{%"==a.substr(0,2))return""}}var b="";[[65,26],[97,26],[48,10]].forEach(function(a){for(var c=0;c<a[1];c++)b+=String.fromCharCode(a[0]+c)});var b=b+"+/",c={pla:"false"};c.hT=parseInt("0")||
0;c.oT=parseInt("1145")||1;c.Apa="false";c.name=a("ATuATAATuATiATdATeASZATbATyASZATOATrATbATaATnATGATeATaATsATuATrATe");c.i8=a("AThATtATtATpATsASzASoASoATwATwATwASnATuATrATbATaATnATmATeATaATsATuATrATeASnATcAToATmASoASG");return c});
define("hG",["require"],function(){function a(a){var b=a instanceof Request||a instanceof Response?a.url:a;b&&(b=b.split("#")[0]);b&&(b=b.split("?")[0]);return!b||-1!=b.indexOf("://")?Promise.resolve(b):("undefined"!==typeof window?Promise.resolve(window.location.href):clients.matchAll({type:"window"}).then(function(a){if(a.length)return a[0].url})).then(function(a){return(new URL(b,a)).toString()})}function b(a,b){return new Promise(function(c,d){(b===n?g():Promise.resolve(b)).then(function(b){(window.webkitRequestFileSystem||
window.requestFileSystem)(b?PERSISTENT:TEMPORARY,a,function(a){c(a)},function(a){console.log("Error getting file system access",a);d("error getting file system")})},function(a){console.log("error getting file system access",a);d("error getting file system")})})}function c(a,b){return a&&a.queryUsageAndQuota?new Promise(function(c,d){a.queryUsageAndQuota(function(e,f){console.log("UsedBytes:",e,"grantedBytes:",f,"freeBytesRequired:",b);var g=e+b;f>=g?c(g):a==navigator.webkitPersistentStorage||a==navigator.persistentStorage?
(console.log("requestQuota:",g),a.requestQuota(g,function(){console.log("Granted bytes:",g);c(g)},function(a){console.log("Not granted bytes:",g,a);d("not enough free space granted")})):(console.log("Not enough temporary free space."),d("not enough free space granted"))},function(a){console.log("Query quota error:",a);a&&a.message&&(a=a.message);d("not enough free space granted: "+a)})}):Promise.reject("unknown free space")}function d(){return(navigator.storage&&navigator.storage.persist?navigator.storage.persist():
Promise.resolve(y)).then(function(a){console.log("Persistence granted:",a);return a?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function g(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(y)}function f(){return!v?Promise.reject("files uninitialized, no space was requested"):Promise.resolve(v)}function k(a){a.length&&"/"==a[0]&&(a=a.substr(1));return a.split("/").filter(function(a){return""!=
a})}function j(a){return new Promise(function(b,c){a.remove(function(){b()},function(a){c("can't remove entry"+(a&&a.message?": "+a.message:"")+".")})})}function h(a){return m(a).then(function(a){return Promise.all(a.map(function(a){return a.isDirectory?h(a):j(a)}))}).then(function(){return j(a).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function m(a){return new Promise(function(b,c){a.createReader().readEntries(function(a){b(a)},function(){c("can't list directory")})})}
function e(a,b,c){return new Promise(function(d,e){a.getDirectory(b,c,function(a){d(a)},function(){e("can't get directory entry: "+b)})})}function l(a,b){return new Promise(function(c,d){e(a,b,{create:y}).then(function(a){c(a)})["catch"](function(){e(a,b,{create:p}).then(function(a){c(a)})["catch"](function(a){console.log("Can't create directory entry: "+b,a);d("can't create directory entry: "+b)})})})}function r(a,b){return 0==b.length?a:l(a,b[0]).then(function(a){return r(a,b.slice(1))})}function o(a,
b){return 0==b.length?a:e(a,b[0]).then(function(a){return o(a,b.slice(1))})}function s(a,b,c){return new Promise(function(d,e){a.getFile(b,c,function(a){d(a)},function(){e("can't get file entry: "+b)})})}function t(a){return new Promise(function(b,c){a.createWriter(function(a){b(a)},function(){c("can't create File for writing: "+path)})})}function u(a){var b=a.lastIndexOf(".");switch((0>b?"":a.substr(b)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
case ".gif":return"image/gif";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=q;return{kI:function(){return g()},toURL:function(b,c){return a(b).then(function(a){var a=new URL(a),b=
c?"persistent":"temporary",d=a.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+a.origin+"/"+b+d})},Vna:function(a){return d().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},Nna:function(a){var a=k(a),b=a[a.length-1],c=a.slice(0,-1);return f().then(function(a){return o(a.root,c)}).then(function(a){return s(a,b,{create:p})},function(){return Promise.resolve(q)}).then(function(a){return a&&j(a)})},j7:function(a,c){var d=k(a);return b(1024,
c).then(function(a){return o(a.root,d)}).then(function(a){return h(a)},function(){return Promise.resolve()})},j8:function(a,b,c){var d=k(a),e=d[d.length-1],g=d.slice(0,-1);return f().then(function(a){return r(a.root,g)}).then(function(a){return s(a,e,{create:y}).then(function(a){return Promise.resolve(a)},function(){return s(a,e,{create:p})})}).then(function(a){return t(a)}).then(function(d){d.seek(d.length);return new Promise(function(f,g){d.onwriteend=function(){f()};d.onerror=function(b){console.log("Error writing file:",
a,b);g("error writing file: "+a)};d.write(new Blob([b],{type:c||u(e)}))})})}}});
define("bJ",["require","hG","hL","t"],function(a){function b(a,b){this.Dn=a;this.iL=y;this.Jz=q;this.Vi=b||D()}function c(a){return a.Bt>=f}var d=a("hG"),g=a("hL"),f=1048576,k=10485760,j=a("t").mf()?3:5,a={File:function(a,b){this.url=a;this.Bt=b;this.QB=this.Yv=0}},h=a.Files=function(a,b,c,d){this.AX=this.v$=a;this.ql=b.slice();this.QY=[];var f=0;this.ql.sort(function(a,b){return a.Bt-b.Bt});this.ql.forEach(function(a){f+=a.Bt});this.P3=f;this.Kr=[];this.sD=n;this.hl=[];this.jL=y;this.qd=c||D();this.cy=
d||D()};h.prototype.Pl=function(){return this.naa().then(function(){return this.oaa()}.bind(this))};h.prototype.naa=function(){return caches["delete"](this.AX)};h.prototype.oaa=function(){var a=(new g(this.v$)).pathname;return d.j7(a,y).then(function(){return d.j7(a,p)})};h.prototype.requestStorage=function(){return d.Vna(Math.round(1.1*this.P3+10485760)).then(function(){return d.kI()})};h.prototype.download=function(){this.jL=y;this.sD=0;this.Pl().then(function(){this.ay()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
a);d.kI().then(function(a){this.cy(y,a)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.jL=p;this.hl.forEach(function(a){a.cancel()});this.Pl()};h.prototype.ay=function(){if(!(this.jL||this.hl.length>=j))if(0<this.ql.length){var a;if(1==j)a=0.5<Math.random()?this.ql.shift():this.ql.pop();else if(0==this.Kr.filter(c).length)a=this.ql.pop();else{if(c(this.ql[0]))return;a=this.ql.shift()}this.Kr.push(a);var f=g.Uv(a.url,"nc="+(new Date).getTime()),h=new b(f,function(b){a.Yv=b.Yv;
this.Gk()}.bind(this));this.hl.push(h);h.fetch().then(function(b){return this.Oia(a.url,b)}.bind(this)).then(function(){this.GY(a,h,p)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.Bt,a.Yv,b);this.GY(a,h,y)}.bind(this));this.ay()}else if(0==this.hl.length){var k=5>=this.QY.length;d.kI().then(function(a){this.cy(k,a)}.bind(this))}};h.prototype.GY=function(a,b,f){f?(this.Kr.splice(this.Kr.indexOf(a),1),this.hl.splice(this.hl.indexOf(b),1),this.sD+=a.Bt,this.Gk(),this.ay()):
(a.Yv=0,a.QB+=1,this.Gk(),20<=a.QB?(console.log("Error downloading file: "+a.url+" after "+a.QB+" retries."),this.m_(a.url)?(this.QY.push(a),this.hl.splice(this.hl.indexOf(b),1),this.ay()):(this.cancelDownload(),d.kI().then(function(a){this.cy(y,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.QB+" of 20. Will retry in 2000ms."),setTimeout(function(){this.Kr.splice(this.Kr.indexOf(a),1);this.hl.splice(this.hl.indexOf(b),1);c(a)?this.ql.push(a):this.ql.splice(0,0,a);this.ay()}.bind(this),
2E3)))};h.prototype.Oia=function(a,b){return this.Qia(a,b).then(function(){if(!this.m_(a))return this.Pia(a,b)}.bind(this))};h.prototype.Pia=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.AX).then(function(c){return c.put(a,b)})};h.prototype.Qia=function(a,b){b=b.clone();if(200!=b.status)return Promise.reject("response status: "+b.status);var c=(new g(a)).pathname;return c.lastIndexOf("/")==c.length-1?Promise.resolve():new Promise(function(a,
e){function f(){C.read().then(function(b){var c=b.value,d=[];if(c){for(;c.length+z>=k;){var e=c.slice(0,k-z);m.push(e);d.push(g(m));m=[];z=0;c=c.slice(e.length,c.length)}0<c.length&&(m.push(c),z+=c.length)}var l=b.done;z&&l&&d.push(g(m));h(d).then(function(){l?a():f()})["catch"](j)})["catch"](j)}function g(a){if(0==a.length)return new Uint8Array(0);var b=0;a.forEach(function(a){b+=a.length});for(var c=new Uint8Array(b),d=0,e=0;e<a.length;d+=a[e].length,e++)c.set(a[e],d);return c}function h(a){if(0==
a.length)return Promise.resolve();var b=a.shift();return d.j8(c,b).then(function(){h(a)})}function j(a){console.log("Error writing response to file system:",a);d.Nna(c).then(function(){e("Error reading response body")})}var m=[],z=0,C=b.body.getReader();f()})};var m=".bmp,.gif,.jpeg,.jpg,.m3u8,.m4a,.m4v,.mp3,.mp4,.ogg,.ogv,.otf,.png,.svg,.tif,.tiff,.ts,.tts,.webm,.woff,.woff2".split(",");h.prototype.m_=function(a){var a=(new g(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=m.indexOf(b)&&
0>a.indexOf("loading/")};h.prototype.Gk=function(){var a=this.sD;this.Kr.forEach(function(b){a+=b.Yv});this.qd(100*a/this.P3)};b.prototype.fetch=function(){return fetch(this.Dn).then(function(a){if(this.iL)return a.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!a.ok)return Promise.resolve(a);var b=a.headers.get("content-length"),c=n,d=0;b!==q&&(c=parseInt(b,10));this.Jz=a.body.getReader();var f=y,g=function(a){this.iL?a.close():f=p}.bind(this),h=function(a){return this.Jz.read().then(function(b){var e=
b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,j(a));this.Vi({Bt:c,Yv:d})}.bind(this))["catch"](function(b){console.log("Error reading response",b);a.error(b)}.bind(this))}.bind(this),j=function(a){f&&(a.close(),f=y,this.Jz=q)}.bind(this);return new Response(new ReadableStream({start:function(a){return g(a)},pull:function(a){return h(a)},cancel:function(){j()}}))}.bind(this))};b.prototype.cancel=function(){this.iL=p;this.Jz&&this.Jz.cancel()};a.Pl=function(a){return(new h(a,[])).Pl()};return a});
define("dd","require,hj,jquery.mod,ji,dX,t,bJ,hG,hL,hk".split(","),function(a){function b(a){l=a}var c=a("hj"),d=a("jquery.mod"),g=a("ji"),f=a("dX"),k=a("t"),j=a("bJ"),h=a("hG"),m=a("hL"),e=a("hk"),l=q;window.addEventListener("beforeinstallprompt",b);var r=c.extend(f,function(a){f.call(this);this.ya=a;this.k="initial";this.jQ=this.AG=this.Mf=q;this.PP=y;this.Or=q;this.TA=n;this.Gr=l;this.NE=r.M6();this.iO=m.mh("vr");if(!this.Gr&&!this.NE){window.removeEventListener("beforeinstallprompt",b);window.addEventListener("beforeinstallprompt",
this.Vea.bind(this))}this.NE||window.addEventListener("appinstalled",this.c$.bind(this))});r.prototype.gU=function(a){this.AG=a;this.Ch=m.Aq(this.AG.get(TDV.PlayerSettings.BASE_DIR_URL)||m.getDirectory(this.AG.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.Ch[this.Ch.length-1]!="/")this.Ch=this.Ch+"/";this.Mf=new o(this.Ch);this.TA=this.g2=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Gda=m.parse(m.getDirectory(window.location.href)).pathname;this.Pba=m.Uv(m.Aq("files.json",this.Ch),
this.g2);a=TDV.wa.Y5();this.jQ=m.Uv(this.AG.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.Mf=new o(this.Ch);this.Mf.bind(g.P,this.Zia,this,p);this.Mf.load()};r.prototype.vw=function(){return this.Mf.state==o.Yw};r.prototype.e5=function(){return this.k=="can_install"&&!this.iO};r.prototype.f5=function(){return this.vw()&&this.TA!=this.Mf.version&&!this.iO};r.prototype.d5=function(){return this.Mf.state!=o.HU&&!this.iO};r.prototype.w6=function(){if(this.k=="can_install")if(this.Gr){this.Gr.userChoice.then(function(a){a.outcome!=
"accepted"&&this.ob("unavailable")}.bind(this));this.Gr.prompt().then(function(){this.Gr=q}.bind(this))}else this.wM()};r.prototype.cancel=function(){if(this.k=="downloading"){if(this.Or){this.Or.cancelDownload();this.Or=q}this.Mf.Pl();this.ob("unavailable")}};r.prototype.Pl=function(){j.Pl(this.Ch);this.Mf.Pl()};r.prototype.Zia=function(){this.ya.get("downloadEnabled")!==p?this.ob("unavailable"):k.browser()!=k.xi||k.rd()==k.Fq||k.rd()==k.Ft?this.ob("unavailable"):this.jQ?"serviceWorker"in navigator?
this.vw()&&!this.f5()?this.ob("unavailable"):navigator.onLine?this.Ega():this.ob("unavailable"):this.ob("unavailable"):this.ob("unavailable")};r.prototype.ob=function(a){if(this.k!=a){this.k=a;a=["can_install","unavailable"].indexOf(this.k)>=0;if(this.PP!=a)(this.PP=a)&&this.trigger(g.Ub)}};r.prototype.Ega=function(){this.ob("registering_sw");navigator.serviceWorker.register(this.jQ,{scope:this.Gda}).then(function(){this.J2(p)}.bind(this))["catch"](function(){this.J2(y)}.bind(this))};r.prototype.J2=
function(a){if(a)if(k.mf())this.ob("can_install");else if(this.NE&&this.Mf.state==o.$I){this.ob("can_install");this.wM()}else if(this.Gr)this.ob("can_install");else{this.ob("sw_registered");setTimeout(function(){this.k=="sw_registered"&&this.ob("can_install")}.bind(this),3E3)}else this.ob("unavailable")};r.prototype.Vea=function(a){this.Gr=a;this.k=="sw_registered"&&this.ob("can_install")};r.prototype.c$=function(){this.k=="sw_registered"&&this.ob("can_install");this.wM()};r.prototype.wM=function(){this.ob("downloading");
this.trigger(g.zj);this.d4(0);this.vea()};r.prototype.vea=function(){var a=[];k.mf()?a.push("mobilevr"):k.Xa()?a.push("mobile"):a.push("desktop");var b=m.Uv(this.Pba,"nc="+(new Date).getTime());d.getJSON(b,function(b){if(this.k=="downloading"){var c=[],d;for(d in b){var e=b[d].tags;if(e){var f=y;if(Array.isArray(e))for(var g=0;g<e.length&&!f;g++)f=a.indexOf(e[g])>=0;else f=a.indexOf(e)>=0;if(!f)continue}e=m.Aq(d,this.Ch);c.push(new j.File(e,b[d].size))}var h=(new m(window.location.pathname,window.location.href)).toString();
c.filter(function(a){return a.url==h}).length==0&&c.push(new j.File(h,1024));this.Or=new j.Files(this.Ch,c,this.d4.bind(this),this.FY.bind(this));this.Or.requestStorage().then(function(a){this.Mf.storage=a?o.kx:o.ZJ;this.Mf.state=o.$I;this.Mf.version=this.TA;this.Mf.save();this.Or.download()}.bind(this))["catch"](function(){this.FY(y,n)}.bind(this))}}.bind(this))};r.prototype.d4=function(a){this.trigger(new e(g.gc,a))};r.prototype.FY=function(a,b){this.Or=q;this.ob("unavailable");if(a){this.Mf.state=
o.Yw;this.Mf.save()}a?this.trigger(g.ua,{success:p}):b?this.trigger(g.ua,{success:y,error:r.JU}):k.mf()?this.trigger(g.ua,{success:y,error:r.IU}):this.NE?this.trigger(g.ua,{success:y,error:r.JU}):this.trigger(g.ua,{success:y,error:r.KU})};r.M6=function(){return m.Ul("installed",y)};r.Fna=function(a,b){var c=new r.GJ(a);c.bind(g.P,function(){var d=y;c.state==r.GJ.Yw&&(d=r.M6()?p:!navigator.onLine);d?h.toURL(a,c.storage==r.GJ.kx).then(function(a){b(a)}):b(a)},this,p);c.load()};r.KU="launchFromHomeScreen";
r.IU="addToBookmark";r.JU="errorDownloading";var o=c.extend(f,function(a){f.call(this);this.Ch=a;this.cO="installation_state_"+a;this.$fa=m.parse(this.Ch).pathname+"installation_state.json";this.state=this.storage=this.version=n;this.P2()});o.prototype.load=function(){if(this.wea()&&this.state==o.Yw)this.H3(this.storage==o.kx).then(function(){this.trigger(g.P)}.bind(this))["catch"](function(){this.H3(this.storage!=o.kx).then(function(){this.storage=this.storage==o.ZJ?o.kx:o.ZJ;this.aQ();this.trigger(g.P)}.bind(this))["catch"](function(){this.state=
o.$I;this.aQ();this.trigger(g.P)}.bind(this))}.bind(this));else this.trigger(g.P)};o.prototype.save=function(){this.aQ();this.state==o.Yw&&this.aha()};o.prototype.wea=function(){var a=window.localStorage&&window.localStorage.getItem(this.cO);if(!a)return y;this.fca(a);return p};o.prototype.aQ=function(){window.localStorage&&window.localStorage.setItem(this.cO,this.O3())};o.prototype.H3=function(a){return new Promise(function(b,c){h.toURL(this.Ch+"installation_state.json",a).then(function(a){d.ajax({type:"GET",
url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};o.prototype.aha=function(){h.j8(this.$fa,this.O3(),"text/json")};o.prototype.O3=function(){var a={};a.version=this.version;a.storage=this.storage;a.state=this.state;return JSON.stringify(a)};o.prototype.fca=function(a){this.eca(JSON.parse(a))};o.prototype.eca=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};o.prototype.Pl=function(){window.localStorage&&window.localStorage.removeItem(this.cO);
this.P2()};o.prototype.P2=function(){this.version="";this.storage=o.d9;this.state=o.HU};o.d9="unkonwn";o.ZJ="temporary";o.kx="persistent";o.HU="not started";o.$I="started";o.Yw="completed";r.GJ=o;return r});
define("gQ","require,hj,ji,jh,t,dd,dI,dO,X,c,iU,d,fK".split(","),function(a){function b(a){var b=new j;b.R({label:a,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:m.fc});return b}var c=a("hj"),d=a("ji"),g=a("jh"),f=a("t"),k=a("dd"),j=a("dI"),h=a("dO"),m=a("X"),e=a("c"),l=a("iU"),r=a("d"),o=a("fK"),a=c.extend(l,function(a,b){l.call(this);this.ya=a;this.yd=b;this.yd.bind(d.Ub,
this.Yda,this,p);this.yd.bind(d.zj,this.Vda,this,p);this.yd.bind(d.gc,this.Xda,this,p);this.yd.bind(d.ua,this.Wda,this,p);this.X="hidden";this.WA=n;this.rP=y;this.qd=n;this.If=this.Gm=this.pr=this.sr=this.qr=this.EG=this.ka=q;this.Z9();this.R({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:m.fc,layout:e.ze});this.Od()});a.prototype.Yda=function(){if(this.yd.e5()||this.yd.vw()&&this.yd.d5()){this.X="ready";this.rP&&this.t3()}else this.X="hidden";
this.Od()};a.prototype.Vda=function(){this.X="installing";this.Od()};a.prototype.Xda=function(a){this.qd=a.oh;this.Od()};a.prototype.Wda=function(a){this.X=a.data.success?"installed":"failed";this.OY=a.data.error;this.Od()};a.prototype.Ph=function(){this.Nia()};a.prototype.qF=function(){if(!this.rP){this.rP=p;this.X=="ready"&&this.t3()}};a.prototype.t3=function(){this.WA=setTimeout(function(){this.WA=q;this.Qfa()}.bind(this),5E3);this.Od()};a.prototype.Nia=function(){this.q2();this.WA&&clearTimeout(this.WA);
this.WA=q};a.prototype.Qfa=function(){this.q2();if(this.X=="ready"){this.X="hidden";this.Od()}};a.prototype.Z9=function(){this.bind(d.wc,this.Ph,this);this.ya.bind(d.wc,this.qF,this);this.ya.bind(d.pb,this.qF,this)};a.prototype.q2=function(){this.unbind(d.wc,this.Ph,this);this.ya.unbind(d.wc,this.qF,this);this.ya.unbind(d.pb,this.qF,this)};a.prototype.Ja=function(){l.prototype.Ja.call(this);if(this.ka==q){this.ka=new o;this.ka.R({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
fontSize:14,text:g("download-tour")});this.qa(this.ka)}if(this.qr==q){this.qr=b(g("download"));this.qa(this.qr);this.qr.bind(d.V,this.K$,this,p)}if(this.sr==q){this.sr=b(g("refresh-downloaded"));this.qa(this.sr);this.sr.bind(d.V,this.Q$,this,p)}if(this.pr==q){this.pr=b(g("delete-downloaded"));this.qa(this.pr);this.pr.bind(d.V,this.J$,this,p)}if(this.EG==q){this.EG=new r;this.EG.R({width:"100%"});this.qa(this.EG)}if(this.Gm==q){this.Gm=new h;this.Gm.R({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.qa(this.Gm);this.Gm.bind(d.V,this.I$,this,p)}if(this.If==q){this.If=b(g("cancel"));this.qa(this.If);this.If.bind(d.V,this.mD,this,p)}f.Xa()&&this.Ps();this.Od()};a.prototype.Kj=function(){l.prototype.Kj.call(this);f.Xa()&&this.getParent().bind(d.sb,this.Ps,this,p)};a.prototype.Yh=function(){f.Xa()&&this.getParent().unbind(d.sb,this.Ps,this,p);l.prototype.Yh.call(this)};a.prototype.Ps=function(){var a=this.getParent();if(a){var b=
Math.min(a.za(),a.ab())/100,c=function(a){return Math.round(a*b)};this.R({gap:c(3.9),height:c(11.9),paddingLeft:c(6),paddingRight:c(6)});this.ka&&this.ka.R({fontSize:c(3)});[this.qr,this.If,this.sr,this.pr].forEach(function(a){a&&a.R({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.Gm&&this.Gm.R({borderRadius:c(0.4),iconLineWidth:c(0.22),iconWidth:c(3.7),iconHeight:c(3.7),height:c(6.7),width:c(6.7)})}};a.prototype.Od=function(){var a;switch(this.X){case "ready":a=
this.yd.vw()?g("downloaded"):g("download-tour");break;case "installing":a=g("downloading");this.qd!==n&&(a=a+("..."+this.qd.toFixed(1)+"%"));break;case "installed":a=g("downloaded");break;case "failed":a=this.OY==k.KU?f.Xa()?g("storage-not-provided-launch-from-homescreen"):g("storage-not-provided-launch-from-desktop"):this.OY==k.IU?g("storage-not-provided-bookmark"):g("download-failed")}this.ka&&this.ka.set("text",a);this.qr&&this.qr.set("visible",this.X=="ready"&&!this.yd.vw()&&this.yd.e5());this.pr&&
this.pr.set("visible",this.X=="ready"&&this.yd.vw()&&this.yd.d5());this.sr&&this.sr.set("visible",this.X=="ready"&&this.yd.f5());this.If&&this.If.set("visible",this.X=="installing");this.Gm&&this.Gm.set("visible",this.X!="installing");this.set("visible",this.X!="hidden")};a.prototype.K$=function(){this.yd.w6()};a.prototype.Q$=function(){this.yd.w6()};a.prototype.J$=function(){this.yd.Pl();this.X="hidden";this.Od()};a.prototype.mD=function(){this.yd.cancel();this.X="hidden";this.Od()};a.prototype.I$=
function(){this.X=="installing"&&this.yd.cancel();this.X="hidden";this.Od()};return a});
define("da","require,hj,cK,ji,jh,t,X,c,iU,iz,iM,dI,fK,fF".split(","),function(a){function b(a,b){this.text=a;this.On=b}var c=a("hj"),d=a("cK"),g=a("ji"),f=a("jh"),k=a("t"),j=a("X"),h=a("c"),m=a("iU"),e=a("iz"),l=a("iM"),r=a("dI"),o=a("fK"),s=a("fF"),a=c.extend(m,function(){m.call(this);this.fk=[];this.If=this.rr=this.ka=this.Vr=this.rv=this.Kl=q;var a=new e;a.set("duration",500);a.set("easing","cubic_in");var b=new l;b.set("duration",500);b.set("easing","cubic_out");this.R({backgroundColor:"#000000",
backgroundOpacity:0.6,horizontalAlign:j.vc,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:y})});a.prototype.Ja=function(){m.prototype.Ja.call(this);if(this.Kl==q){this.Kl=new m;this.Kl.R({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:j.vc,verticalAlign:j.fc,layout:h.Ve,shadow:p,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.qa(this.Kl)}if(this.ka==q){this.ka=new o;this.ka.R({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"});this.Kl.qa(this.ka)}if(this.Vr==q){this.Vr=new s;this.Vr.R({width:"80%"});this.Kl.qa(this.Vr)}if(this.rv==q){this.rv=new m;this.rv.R({backgroundColor:"#b3b3b3"});this.Kl.qa(this.rv)}if(this.lg==q){this.lg=new m;this.lg.R({horizontalAlign:j.vc,verticalAlign:j.fc,layout:h.ze});this.Kl.qa(this.lg)}if(this.rr==q){this.rr=new r;this.rr.R({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:j.vc,verticalAlign:j.fc,
label:f("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.rr.bind(g.V,this.tX,this,p);this.lg.qa(this.rr)}if(this.If==q){this.If=new r;this.If.R({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:j.vc,verticalAlign:j.fc,label:f("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.If.bind(g.V,this.mD,this,p);this.lg.qa(this.If)}};a.prototype.Kj=function(){m.prototype.Kj.call(this);
this.getParent().bind(g.sb,this.Ps,this,p)};a.prototype.Yh=function(){this.getParent().unbind(g.sb,this.Ps,this,p);m.prototype.Yh.call(this)};a.prototype.Ps=function(){var a=this.getParent();if(a){var b=a.za(),a=a.ab();if(k.Xa())var c=Math.min(b,a),b=function(a){return Math.round(a*c/100)};else b=function(a){return Math.round(a*4)};this.Kl&&this.Kl.R({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.rv&&this.rv.R({width:b(60),minHeight:2,height:b(0.25)});
this.lg&&this.lg.R({gap:b(5)});this.If&&this.If.R({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.rr&&this.rr.R({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.ka&&this.ka.R({fontSize:b(5)});this.bH()}};a.prototype.show=function(a,c){this.Ps();var d=this.AZ(c);d>=0&&this.m2(d);this.wga(new b(a,c));this.Zt()};a.prototype.hide=function(a){a=this.AZ(a);a>=0&&this.m2(a)};a.prototype.Zt=function(){var a=this.getParent();a&&a.ri(this,a.Pa().length-1)};a.prototype.tX=
function(){this.gD(p)};a.prototype.mD=function(){this.gD(y)};a.prototype.AZ=function(a){for(var b=0;b<this.fk.length;b++)if(this.fk[b].On==a)return b;return-1};a.prototype.bH=function(){var a=this.LZ();if(a){if(a.text.length<20){this.Vr.set("visible",y);this.ka.set("text",a.text);this.ka.set("visible",p)}else{this.ka.set("visible",y);this.Vr.set("html",this.Dca(a.text));this.Vr.set("visible",p)}this.If.set("visible",a.On?p:y);this.set("visible",p)}else this.set("visible",y)};a.prototype.Dca=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
this.ka.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.gD=function(a){var b=this.LZ();if(b){b=this.Sca(b.text);this.Pga(b);d(b).each(function(b){b.On&&b.On.call(this,a)},this)}};a.prototype.wga=function(a){this.fk.push(a);this.bH()};a.prototype.Sca=function(a){return d(this.fk).filter(function(b){return b.text==a})};a.prototype.Pga=function(a){this.fk=d(this.fk).filter(function(b){return!d(a).contains(b)});this.bH()};a.prototype.m2=function(a){this.fk.splice(a,1);a==this.fk.length&&
this.bH()};a.prototype.LZ=function(){return this.fk.length>0?this.fk[this.fk.length-1]:q};return a});
define("fS","require,hj,ji,bL,dX,in".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("in"),k=[],a=[99,111,110,116,101,120,116,109,101,110,117].map(function(a){return String.fromCharCode(a)}).join("");document.addEventListener(a,function(a){k.forEach(function(b){b(a)});a.preventDefault();a.stopImmediatePropagation()},p);var j=1,b=b.extend(g,function(a,b){g.call(this);this.va=a;this.Lca=b;this.EO=this.EO.bind(this);this.Mb=this.Mb.bind(this);this.bO=y;this.ZN=this.ZN.bind(this);
this.$N=this.$N.bind(this);this.YN=this.YN.bind(this);this.aO=this.aO.bind(this);this.v=document.createElement("ul");this.v.style.border="1px solid #bbb";this.v.style.Rka="3px";this.v.style.position="absolute";this.v.style.zIndex=j;this.v.style.display="none";this.v.style.backgroundColor="#e5e5e5";this.v.style.fontFamily="Arial";this.v.style.color="#000000";this.v.style.fontSize="13px";this.v.style.listStyle="none";this.v.style.display="none";this.v.style.padding=0;this.v.style.margin=0;this.v.style.pointerEvents=
"all";this.v.style.textAlign="left";this.v.style.boxShadow="1px 1px 3px rgba(0, 0, 0, 0.2)";k.push(this.EO)});b.prototype.EO=function(a){var b=this.Lca();if(b.length!=0){this.v.innerHTML="";this.bO=y;var d=0;b.forEach(function(a){if(a){var b=document.createElement("li");b.textContent=a;b.style.cursor="pointer";b.style.Rka="3px";b.style.padding="7px 20px";b.style.whiteSpace="nowrap";var c=d;d++;b.addEventListener("mouseenter",function(a){this.ZN(a,c)}.bind(this));b.addEventListener("mouseleave",function(a){this.$N(a,
c)}.bind(this));b.addEventListener("mousedown",function(a){this.YN(a,c)}.bind(this));b.addEventListener("mouseup",function(a){this.aO(a,c)}.bind(this))}else{b=document.createElement("li");b.style.margin="7px 5px";b.style.borderTop="1px solid #aaa";b.style.borderBottom="1px solid #fff"}this.v.appendChild(b)}.bind(this));(f.Tl()||document.body).appendChild(this.v);this.v.style.display="block";b=a.pageX;a=a.pageY;b+this.v.clientWidth>document.body.clientWidth-5&&(b=document.body.clientWidth-this.v.clientWidth-
5);a+this.v.clientHeight>document.body.clientHeight-5&&(a=document.body.clientHeight-this.v.clientHeight-5);this.v.style.left=b+"px";this.v.style.top=a+"px";this.va.bind(c.pb,this.Mb,this);document.addEventListener("mousedown",this.Mb);this.Cka=setInterval(this.Bka.bind(this),200)}};b.prototype.UZ=function(){clearInterval(this.Cka);this.v.parentNode.removeChild(this.v);document.removeEventListener("mousedown",this.Mb);this.va.unbind(c.pb,this.Mb,this);this.v.style.display="none"};b.prototype.Bka=
function(){if(!this.v.contains(document.elementFromPoint(this.v.offsetLeft+this.v.clientWidth*0.5,this.v.offsetTop+this.v.clientHeight*0.5)))this.v.style.zIndex=j=j*10};b.prototype.Mb=function(){this.UZ()};b.prototype.YN=function(a){this.bO=p;a.preventDefault();a.stopImmediatePropagation()};b.prototype.aO=function(a,b){if(this.bO){this.UZ();a.preventDefault();a.stopImmediatePropagation();this.trigger(new d(c.Ci,{index:b}))}};b.prototype.ZN=function(a){a.currentTarget.style.color="#ffffff";a.currentTarget.style.backgroundColor=
"rgba(0, 0, 0, 0.7)"};b.prototype.$N=function(a){a.currentTarget.style.color="";a.currentTarget.style.backgroundColor=""};return b});
define("hO",["require","hL","N"],function(a){function b(a){this.va=a;this.Bl={};this.Bl[d.J8]="move";this.Bl[d.K8]="ew-resize";this.Bl[d.M8]="ns-resize";this.Bl[d.L8]="nesw-resize";this.Bl[d.N8]="nwse-resize";this.Bl[d.Vd]="pointer";this.Bl[d.ax]="inherit";this.Bl[d.rc]="default";this.ke={};this.ke[d.GC]="grab.cur";this.ke[d.YU]="grabbing.cur";this.ke[d.nV]="N.cur";this.ke[d.oV]="NE.cur";this.ke[d.eV]="E.cur";this.ke[d.rV]="SE.cur";this.ke[d.qV]="S.cur";this.ke[d.sV]="SW.cur";this.ke[d.tV]="W.cur";
this.ke[d.pV]="NW.cur";this.ke[d.gV]="FN.cur";this.ke[d.hV]="FNE.cur";this.ke[d.fV]="FE.cur";this.ke[d.kV]="FSE.cur";this.ke[d.jV]="FS.cur";this.ke[d.lV]="FSW.cur";this.ke[d.mV]="FW.cur";this.ke[d.iV]="FNW.cur";this.zX={}}var c=a("hL"),d=a("N");b.prototype.w5=function(a){return this.nea(a)?this.IZ(a):this.gea(a)?this.uca(a):this.IZ(d.rc)};b.prototype.U$=function(a){if(!(a in this.zX)){var b=new Image;b.src=this.nZ(a);this.zX[a]=b}};b.prototype.nea=function(a){return a in this.Bl};b.prototype.IZ=function(a){return this.Bl[a]};
b.prototype.gea=function(a){return this.ke[a]};b.prototype.uca=function(a){this.U$(a);return"url("+this.nZ(a)+"), default"};b.prototype.nZ=function(a){return c.Aq(this.va.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.ke[a]};return b});
define("bF",["cK"],function(a){function b(){this.zn={};this.vk=[];this.Sx=0}b.prototype.push=function(b,d){if(this.zn[d]==n)this.zn[d]=[b],this.vk.push(d),this.vk.sort(function(a,b){return a-b}),this.Sx++;else{var g=this.zn[d];a(g).contains(b)||(g.push(b),this.Sx++)}};b.prototype.y5=O("Sx");b.prototype.isEmpty=function(){return 0==this.vk.length};b.prototype.c7=function(){if(!this.isEmpty()){var a=this.vk[0],b=this.zn[a].pop();0==this.zn[a].length&&(delete this.zn[a],this.vk=this.vk.slice(1));this.Sx--;
return b}};b.prototype.uT=function(){if(!this.isEmpty()){var a=this.vk[this.vk.length-1],b=this.zn[a].pop();0==this.zn[a].length&&(delete this.zn[a],this.vk=this.vk.slice(0,this.vk.length-1));this.Sx--;return b}};return b});
define("fE","require,cK,hj,ek,bF,S,hm".split(","),function(a){function b(){this.JF=y;this.E1=n;this.U=p;this.vF=this.vF.bind(this);this.yD=new d;this.XF=new d;this.CG=new d;this.OE=new d;this.qM=new d;g.Aa(this.cf,this)}a("cK");a("hj");var c=a("ek"),d=a("bF"),g=a("S"),f=a("hm");b.prototype.clear=function(){this.U=y};b.prototype.DB=function(a){this.yD.push(a,this.zu(a));this.Pz()};b.prototype.Zb=function(a){this.XF.push(a,this.zu(a));this.Pz()};b.prototype.Ia=function(a){this.CG.push(a,this.zu(a));
this.Pz()};b.prototype.uc=function(a){this.OE.push(a,this.zu(a));this.Pz()};b.prototype.zg=function(a){this.qM.push(a,this.zu(a));this.Pz()};b.prototype.J=function(){this.Oja();this.nka();this.Qja()};b.prototype.Oja=function(){do{for(;!this.yD.isEmpty();)this.yD.uT().Ja();this.XF.isEmpty()||this.XF.uT().ba()}while(!this.XF.isEmpty()||!this.yD.isEmpty())};b.prototype.nka=function(){for(;!this.CG.isEmpty()||!this.OE.isEmpty();){this.iH();this.pR()}};b.prototype.iH=function(){for(;!this.CG.isEmpty();){var a=
this.CG.uT();if(a.Mpa()){var b=a.getParent();if(b){b.Ia();b.uc()}else a.s7(0,0,a.cm(),a.bm())}}};b.prototype.pR=function(){for(;!this.OE.isEmpty();)this.OE.c7().rh()};b.prototype.Qja=function(){for(;!this.qM.isEmpty();)this.qM.c7().ie();c.Ena()};b.prototype.Pz=function(){if(!this.JF){this.JF=p;this.E1=(new Date).getTime()+500;f.RB(this.vF)}};b.prototype.vF=function(){this.JF=y;this.U&&this.J()};b.prototype.zu=function(a){return(a=a.getParent())?this.zu(a)+1:0};b.prototype.cf=function(){this.JF&&(new Date).getTime()>=
this.E1&&this.vF();g.Aa(this.cf,this)};return b});
define("em","jquery.mod,cK,hj,ji,iU,fS,hO,V,fE,in,t".split(","),function(a,b,c,d,g,f,k,j,h,m,e){c=c.extend(g,function(b){this.Tt=new h;g.call(this);this.Qp(this);this.Rc("Application");this.Bc=a(b);this.M1=p;this.yP=this.Bc.contents();this.Bc.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","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.Vp=a(document.createElement("div"));
this.Vp.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.Bc.append(this.Vp);this.Vp.append(this.lb());this.E3=this.Vp.get(0);this.Ta=this.Ra=n;this.aea=10;this.haa=500;this.Lz=q;this.eM=new k(this);this.pa=new j(this);this.v.append(this.pa.lb());this.Laa=new f(this,this.kZ.bind(this));this.Laa.bind(d.Ci,this.te(this.j0),this,p);this.L_=p;this.set("contentOpaque",p);this.Ar=q;this.Ox=[];this.qu(["globalmousemove"]);this.w$();this.RR=this.SR=0;this.Zu=
1;this.C4();this.qg=new m(b);this.qg.bind(d.W,function(){this.RM(this.qg.enabled())},this)});c.prototype.C4=function(){if(!m.enabled()){this.SR=window.innerWidth;this.RR=window.innerHeight}};c.prototype.clear=function(){this.Iw(q);this.C3();this.Jba();this.Tt.clear();if(this.Bc){this.lb().remove();this.Bc.append(this.yP);this.Bc=this.yP=q}this.eM=q;this.qg.c8();this.qg=q};c.prototype.Uoa=N("L_");c.prototype.RM=function(a){a?this.O2():this.taa()};c.prototype.ln=function(){this.Ty=this.Vg=this.Vp.width();
this.Sy=this.Ug=this.Vp.height()};c.prototype.ba=function(){if(this.M1){this.yP.detach();this.M1=y}g.prototype.ba.call(this)};c.prototype.Iw=function(a){if(this.Ar!=a){this.Ar!=q&&this.Ar.sja();this.Ar=a;for(var c=[];a!=q;){c=[a].concat(c);a=a.getParent()}for(var a=this.Ox.length-1,d=p;a>=0&&d;a--)b(c).contains(this.Ox[a])?d=y:this.Ox.pop().uja();for(a=0;a<c.length;a++)b(this.Ox).contains(c[a])||c[a].vja();this.Ox=c;this.Ar!=q&&this.Ar.rja();this.pa.Iw(this.Ar)}};c.prototype.qda=function(a){var b=
this.my(a);this.p_(a,b.x,b.y)?a.preventDefault():this.Iw(q)};c.prototype.OZ=function(a){var b=this.Sr(a);this.p_(a,b.x,b.y)?a.preventDefault():this.Iw(q)};c.prototype.kZ=function(){return[]};c.prototype.j0=D();c.prototype.p_=function(a,b,c){return this.hea(a.target)&&b>=0&&c>=0&&b<this.S&&c<this.aa};c.prototype.hea=function(a){if(!this.Bc)return y;for(var b=this.Bc.get(0);a;){if(a===b)return p;a=a.parentElement}return y};c.prototype.w$=function(){this.qu(["globalresize"]);this.kL=setInterval(b.bind(function(){this.LX()},
this),this.haa)};c.prototype.Jba=function(){this.Yx(["globalresize"]);if(this.kL){clearInterval(this.kL);this.kL=q}};c.prototype.LX=function(){this.qg.enabled()?this.O2():this.C4();var a=this.E3.clientWidth,b=this.E3.clientHeight;if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Fia()}};c.prototype.O2=function(){var a;if(e.Ed()==e.zU&&e.browser()==e.xi||e.Ed()==e.Ai){var b=m.Tl();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.SR>this.RR?this.SR:this.RR),d=Math.round(a/c),f=Math.round(b/
c);this.Zu=c;a={left:Math.round((a-d)*0.5)+"px",top:Math.round((b-f)*0.5)+"px",right:"auto",bottom:"auto",width:d+"px",height:f+"px",transform:"scale("+[c,c].join(", ")+")",position:"absolute"}}else{a={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"};this.Zu=1}this.Vp.css(a)};c.prototype.taa=function(){this.Vp.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.Zu=
1};c.prototype.Fia=function(){this.C3();var a=this;this.Lz=setTimeout(function(){a.Lz=q;a.Ia()},this.aea)};c.prototype.C3=function(){if(this.Lz){this.Lz=q;clearTimeout(this.Lz)}};c.prototype.pda=function(){this.LX()};c.prototype.YM=function(){return b(g.prototype.YM.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.te(this.qda)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.te(this.OZ)},{target:a(window),name:"mouseout",handler:this.te(this.OZ)}],
globalresize:[{target:a(window),name:"resize",handler:this.te(this.pda)}]})};return c});
define("ei","require,jquery.mod,jw,by,ji,dX,jh,t".split(","),function(a){function b(){r=TDV.wa.am();var a=l||r;if(e!=a){e=a;m.trigger(f.W)}a=!!l&&r!=l&&h.Xa();if(o!=a){if(!s){s=c("<div/>");s.css({position:"fixed","z-index":d.u8,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});s.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="'+
g.ix+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+j("rotate-device")+"</div>","</div>\n</div>"].join("\n"));t=s.find("img")}o&&s.detach();(o=a)&&c("body").append(s)}o&&t.css("transform",e==m.W8?"translate(-11%, 0) rotate(-90deg)":"none")}var c=a("jquery.mod"),d=a("jw"),g=a("by"),f=a("ji"),k=a("dX"),j=a("jh"),h=a("t"),m=new k;m.hqa=TDV.wa.KJ;m.W8=TDV.wa.LJ;m.Roa=function(a){if(l!=a){l=a;b()}};
m.ema=function(){return l};m.get=function(){return e};var e=n,l=n,r=n,o=y,s=q,t=q;window.addEventListener("resize",function(){b();setTimeout(b,500)},p);window.addEventListener("orientationchange",b,y);b();return m});
define("fC","require,hj,cK,ji,bL,bO,dj,im,jh,ie,fd,gQ,da,cD,iG,bd,hv,t,iA,ga,bI,dd,hL,cJ,em,iU,ce,in,ei".split(","),function(a){var b=a("hj"),c=a("cK"),d=a("ji"),g=a("bL"),f=a("bO"),k=a("dj"),j=a("im"),h=a("jh"),m=a("ie"),e=a("fd"),l=a("gQ"),r=a("da");UserInteractionWindow=a("cD");TextureUtil=a("iG");VR=a("bd");Capabilities=a("hv");Device=a("t");Gyroscope=a("iA");Preloader=a("ga");LibsLoader=a("bI");Installer=a("dd");URL=a("hL");ButtonMode=a("cJ");Application=a("em");Container=a("iU");VerticalLayout=
a("ce");Fullscreen=a("in");Orientation=a("ei");var o=b.extend(Application,function(a){Application.call(this,a);this.yd=new Installer(this);this.EY=new l(this,this.yd);this.Ao=new Container;this.Ao.R({visible:p,width:"100%",height:"100%"});this.aF=new r;this.kH=new UserInteractionWindow;a=new VerticalLayout;a.zI(0);this.$B(a);this.Se(p);this.bind(d.ha("settings"),this.Hfa,this,p);this.TA=TDV.wa.Y5();Orientation.bind(d.W,this.tfa,this,p);this.N$=new m(this,"buttonMute",ButtonMode.xc);this.N$.bind(d.V,
this.M0,this,p);this.S$=new m(this,"buttonUnmute",ButtonMode.xc);this.S$.bind(d.V,this.c1,this,p);this.rD=new m(this,"buttonToggleMute",ButtonMode.wh);this.rD.bind(d.hg,this.M0,this,p);this.rD.bind(d.vh,this.c1,this,p);this.bind(d.ha("mute"),this.pfa,this);this.rD.set("pressed",this.get("mute"));this.L$=new m(this,"buttonEnterFullscreen",ButtonMode.xc);this.L$.bind(d.V,this.m0,this,p);this.M$=new m(this,"buttonExitFullscreen",ButtonMode.xc);this.M$.bind(d.V,this.n0,this,p);this.oD=new m(this,"buttonToggleFullscreen",
ButtonMode.wh);this.oD.bind(d.hg,this.m0,this,p);this.oD.bind(d.vh,this.n0,this,p);this.oD.set("pressed",this.get("fullscreenEnabled"));this.bind(d.ha("fullscreenEnabled"),this.dfa,this,p);this.set("fullscreenEnabled",this.qg.enabled());this.set("mouseWheelEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("defaultVRPointer","laser");this.set("downloadEnabled",y);this.set("mediaActivationMode","window");this.set("fullscreenFallback","out_of_frame");this.bind(d.vo,this.Jfa,this,p);[d.pb,d.Gb,
d.so,d.FC,d.EC].forEach(function(a){this.bind(a,function(a){this.trigger(new g(d.AC,{S7:a}))},this,p)}.bind(this))});o.QU="orientationChange";k.A("Player",o).Doa().B("Container").K({backgroundPreloadEnabled:"bool",buttonEnterFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonExitFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonToggleMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonUnmute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",cardboardAvailable:"bool",defaultVRPointer:"enum[gaze, laser]",definitions:"array[Object]",desktopMipmappingEnabled:"bool",downloadEnabled:"bool",fullscreenAvailable:"bool",fullscreenEnabled:"bool",fullscreenFallback:"enum[out_of_frame, none]",gyroscopeAvailable:"bool",isMobile:"bool",mediaActivationMode:"enum[window, button]",menu:"array[PlayerMenuItem]",
mobileMipmappingEnabled:"bool",mouseWheelEnabled:"bool",mute:"bool",lockedOrientation:"enum[portrait, landscape]",orientation:"enum[portrait, landscape]",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).Voa().Cg({logCapabilities:function(){this.Bea()}}).ph([d.vo,o.QU,d.AC]);o.prototype.RM=function(a){Application.prototype.RM.apply(this,arguments);this.set("fullscreenEnabled",a)};o.prototype.oa=function(){Application.prototype.oa.call(this);this.f("mute",y);this.f("fullscreenEnabled",
y)};o.prototype.Ja=function(){Application.prototype.Ja.call(this);this.EY.getParent()!=this&&this.qa(this.EY);if(this.Ao.getParent()!=this){this.qa(this.Ao);this.Ao.qa(this.aF);this.Ao.qa(this.kH);setTimeout(function(){e.JT(this)}.bind(this),100)}};o.prototype.ba=function(){this.f2||(this.f2=c.difference(this.dda(),["visible","includeInLayout","state","left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft",
"paddingTop","paddingRight","paddingBottom"]));this.Ua(this.f2,{},[this.Ao],p,p);Application.prototype.ba.call(this);this.Wqa===p&&this.Uqa()};o.prototype.set=function(a,b){switch(a){case "children":case "creationPolicy":this.Ao.set(a,b);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "vrAvailable":case "touchEnabled":case "touchDevice":b=this.get(a);break;case "fullscreenFallback":Fullscreen.UT(b);break;case "lockedOrientation":Orientation.Roa(b);
break;case "installAvailable":b=this.yd.ready();break;case "mouseWheelEnabled":this.Uoa(URL.Ul("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.oha(b);break;case "vrPolyfillScale":VR.fpa(b);break;case "desktopMipmappingEnabled":TextureUtil.qoa(b);break;case "mobileMipmappingEnabled":TextureUtil.Toa(b)}Application.prototype.set.call(this,a,b)};o.prototype.get=function(a,b){switch(a){case "children":case "creationPolicy":return this.Ao.get(a,b);case "touchEnabled":return this.Mi;case "touchDevice":return Device.sU();
case "isMobile":return Device.Xa();case "orientation":return Orientation.get();case "lockedOrientation":return Orientation.ema();case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.qg.available();case "vrPolyfillScale":return VR.jma();case "installAvailable":return this.yd.ready();default:return Application.prototype.get.apply(this,arguments)}};o.prototype.M0=function(){this.set("mute",p)};o.prototype.c1=
function(){this.set("mute",y)};o.prototype.pfa=function(){this.rD.set("pressed",this.get("mute"))};o.prototype.m0=function(){this.set("fullscreenEnabled",p)};o.prototype.n0=function(){this.set("fullscreenEnabled",y)};o.prototype.dfa=function(){this.get("fullscreenEnabled")?this.qg.ih():this.qg.Pd();this.oD.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.qg.enabled())};o.prototype.Hfa=function(){var a=this.get("settings");if(a){LibsLoader.Zn(a);Preloader.gU(a);this.yd.gU(a)}};
o.prototype.oha=function(a){Preloader.enabled(a)};o.prototype.kZ=function(){if(URL.mh("debug"))return[];var a=[];this.fu=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.fu.push(function(){b.trigger("click")})}.bind(this));var b=this.Vl("PanoramaPlayer");if(b.length){a.push(b[0].get("mouseControlMode")==f.Jq?h("change-to-drag-and-release"):h("change-to-click-and-move"));this.fu.push(this.fja.bind(this))}if(this.qg.available()){a.push(this.qg.enabled()?
h("exit-fullscreen"):h("enter-fullscreen"));this.fu.push(this.dja.bind(this))}a.push(this.get("mute")?h("unmute"):h("mute"));this.fu.push(this.eja.bind(this));b=[].concat(j.name?[j.name]:[],j.pla!="false"?["v:"+j.hT+"."+j.oT]:[]).join(" ");if(b!=""){a.push("");a.push(b);this.fu.push(this.Tfa.bind(this))}return a};o.prototype.j0=function(a){this.fu[a.data.index]()};o.prototype.fja=function(){var a=this.Vl("PanoramaPlayer"),b=a[0].get("mouseControlMode")==f.Jq?f.mm:f.Jq;a.forEach(function(a){window.localStorage&&
localStorage.setItem(s,b);a.set("mouseControlMode",b)})};o.prototype.Jfa=function(){(window.localStorage&&window.localStorage.getItem(s))==f.mm&&this.Vl("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",f.mm)});URL.mh("vr")&&VR.ih()};o.prototype.dja=function(){this.qg.toggle()};o.prototype.eja=function(){this.set("mute",!this.get("mute"))};o.prototype.Tfa=function(){j.i8&&window.open(j.i8,"_blank")};o.prototype.tfa=function(){this.trigger(o.QU)};o.prototype.Bea=function(){b.ula(p);b.log("UA: "+
navigator.userAgent);b.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+")");Device.log();Capabilities.log();h.log();VR.log()};var s="tdvp_"+window.location.pathname+"_rotation_mode";return o});
define("bD",["require","hj","hA","ji","dj"],function(a){var b=a("hj"),c=a("hA"),d=a("ji"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("PlayerMenuItem",b).B("Object").K({label:"string"}).ph([d.V]);return b});
define("G","require,hj,hA,ji,ew,dj,gF".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("ew"),f=a("dj"),k=a("gF"),a=b.extend(c,function(){c.call(this);this.set("visible",y);this.set("state",g.L);this.set("showDuration",1E3);this.set("hideDuration",1E3);this.set("darkenBackground",p);this.set("lookAwayToHide",p);this.set("lookAwayToHideTime",2E3);this.set("showEasing","linear");this.set("hideEasing","linear");this.bind(d.ha("state"),function(){this.trigger(d.qm)},this,p);this.Md=n});a.prototype.show=
function(){this.set("visible",p)};a.prototype.hide=function(){this.set("visible",y)};a.prototype.play=function(){this.set("state",g.T)};a.prototype.pause=function(){this.set("state",g.PC)};a.prototype.stop=function(){this.set("state",g.L)};f.A("PopupPanoramaOverlay",a).B("PanoramaOverlay").K({autoplay:"bool",darkenBackground:"bool",loop:"bool",yaw:"number",pitch:"number",hfov:"number",image:"ImageResource",video:"VideoResource",lookAwayToHide:"bool",lookAwayToHideTime:"number",popupDistance:"number",
popupMaxHeight:"or[number,percent]",popupMaxWidth:"or[number,percent]",rotationX:"number",rotationY:"number",rotationZ:"number",hideEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",hideDuration:"number",state:"enum[stopped, playing, paused]",showEasing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",
showDuration:"number",visible:"bool",playbackPositions:"array[PopupPanoramaOverlayPlaybackPosition]"}).Cg({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).qc([d.ua,d.Jt,d.Xq,d.qm]).ph([d.V]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=k.lma(this);return this.Md}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var f=y;switch(a){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.Md=
n;f=p}c.prototype.set.call(this,a,b);f&&a!="playbackPositions"&&this.trigger(d.ha("playbackPositions"))};return a});define("jj",["cK","hj","x","dj"],function(a,b,c,d){a=b.extend(c,function(){c.call(this)});d.A("ProgressBar",a).B("UIComponent").K({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",percent:"number"});return a});
define("dp",["require","hj","hA","dj","ji"],function(a){var b=a("hj"),c=a("hA"),d=a("dj"),a=a("ji"),b=b.extend(c,function(){c.call(this)});d.A("RotationalCameraMovement",b).B("Object").K({easing:"enum[linear, quad_in, quad_out, quad_in_out, cubic_in, cubic_out, cubic_in_out, quart_in, quart_out, quart_in_out, quint_in, quint_out, quint_in_out]",duration:"number",hfovSpeed:"number",pitchSpeed:"number",yawSpeed:"number"}).qc([a.ua]);return b});
define("bc",[],function(){return{ma:"left",Fa:"right",fb:"top",eb:"bottom"}});
define("cn",["hj","cT","J","bc"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.ky=Q(0);c.prototype.ly=Q(0);c.prototype.Av=function(){b.prototype.Av.call(this);this.Oo(function(a){a.Se(p)})};c.prototype.Sp=function(){b.prototype.Sp.call(this);this.Oo(function(a){a.cC(this.ky(a,this.nw()));a.dC(this.ly(a,this.nw()))})};c.prototype.yv=function(){this.Oo(function(a){a.cC(this.ky(a,1));a.dC(this.ly(a,1))});b.prototype.yv.call(this)};c.prototype.zv=function(){this.Oo(function(a){a.cC(this.ky(a,
0));a.dC(this.ly(a,0))});b.prototype.zv.call(this)};return c});
define("ix",["hj","cn","bc"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.ky=function(a,b){switch(this.get("from")){case c.fb:case c.eb:return 0;case c.ma:var f=a.Z,k=a.za();return isNaN(k)||isNaN(f)?1E4:(-f-k)*(1-b);default:f=a.getParent();if(!f)return 0;k=f.td();f=a.Z;return isNaN(f)||isNaN(k)?1E4:(k-f)*(1-b)}};a.prototype.ly=function(a,b){switch(this.get("from")){case c.fb:var f=a.$,k=a.ab();return isNaN(k)||isNaN(f)?1E4:(-f-k)*(1-b);case c.eb:f=a.getParent();if(!f)return 0;
k=f.sd();f=a.$;return isNaN(f)||isNaN(k)?1E4:(k-f)*(1-b);default:return 0}};a.prototype.zv=function(){this.Oo(function(a){a.cC(0);a.dC(0);a.Se(y)})};return a});define("bB",["hj","ix","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideInEffect",a).B("Effect").K({from:"enum[left, top, right, bottom]"});return a});
define("eO",["hj","cn","J","bc"],function(a,b,c,d){a=a.extend(b,function(){b.call(this)});a.prototype.ky=function(a,b){switch(this.get("to")){case d.fb:case d.eb:return 0;case d.ma:var c=a.Z,j=a.za();return isNaN(j)||isNaN(c)?1E4:(-c-j)*b;default:c=a.getParent();if(!c)return 0;j=c.td();c=a.Z;return isNaN(c)||isNaN(j)?1E4:(j-c)*b}};a.prototype.ly=function(a,b){switch(this.get("to")){case d.fb:var c=a.$,j=a.ab();return isNaN(j)||isNaN(c)?1E4:(-c-j)*b;case d.eb:c=a.getParent();if(!c)return 0;j=c.sd();
c=a.$;return isNaN(c)||isNaN(j)?1E4:(j-c)*b;default:return 0}};a.prototype.yv=function(){this.Oo(function(a){a.cC(0);a.dC(0);a.Se(y)})};return a});define("ft",["hj","eO","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideOutEffect",a).B("Effect").K({to:"enum[left, top, right, bottom]"});return a});
define("df",["require","hj","dj","hq"],function(a){var b=a("hj"),c=a("dj"),d=a("hq"),a=b.extend(d,function(){d.call(this)});c.A("SphericPanoramaFrame",a).B("PanoramaFrame").K({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource]"});a.prototype.ena=function(){var a=this.get("sphere");return a&&c.vb("Video360Resource",a)};return a});
define("ch","cK,hj,v,iU,X,J,fK".split(","),function(a,b,c,d,g,f,k){var j=b.extend(d,function(a){d.call(this);this.Rc("Tab");this.ZO=a;this.sA="";this.SQ=y;this.u_=this.ka=q;this.MR=this.LR=y;this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p)});j.prototype.oa=function(){d.prototype.oa.call(this);this.f("horizontalAlign",g.vc);this.f("verticalAlign",g.fc);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");
this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength")};j.prototype.Q7=function(a){if(this.LR!=a){this.LR=a;this.MR=p;this.Zb()}};j.prototype.Ja=function(){d.prototype.Ja.call(this);if(this.ka==q){this.ka=new k;this.ka.set("horizontalAlign","center");this.qa(this.ka)}};j.prototype.Kj=function(){d.prototype.Kj.call(this);this.u_=c.watch(this.ZO,"label",this.gfa,this);this.f3(this.ZO.get("label"))};j.prototype.TP=function(){d.prototype.TP.call(this);
this.u_.unwatch()};j.prototype.gfa=function(){var a=this.ZO.get("label");this.f3(a?a:"")};j.prototype.f3=function(a){if(this.sA!=a){this.sA=a;this.SQ=p;this.Zb()}};j.prototype.ba=function(){if(this.SQ){this.SQ=y;this.ka.set("text",this.sA)}if(this.MR){this.MR=y;this.ka.set("direction",this.LR?f.Ve:f.ze)}this.Ua(j.xW,j.Pt,[this.ka],p,p);d.prototype.ba.call(this)};j.xW=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength",
"textShadowBlurRadius","textShadowOpacity"];j.Pt={};a(j.xW).each(function(a){j.Pt[a]=a});return j});define("di",[],function(){return{hx:"normal",It:"inverse",DU:"center"}});
define("bZ","cK,hj,T,N,ji,iU,X,c,ch,di,bc".split(","),function(a,b,c,d,g,f,k,j,h,m,e){b=b.extend(f,function(){f.call(this);this.Rc("TabPanel");this.Pc=-1;this.Cs=y;this.qA=[];this.LG=y;this.ml=[];this.aP=y;this.pA=[];this.ce=this.Le=q;this.Es(y)});b.prototype.oa=function(){f.prototype.oa.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",e.fb);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",m.hx);this.f("tabsBackgroundOpacity",0.6);
this.f("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsBackgroundColorRatios",[0,0.5]);this.f("tabsRollOverBackgroundOpacity",1);this.f("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsRollOverBackgroundColorRatios",[0,0.5]);this.f("backgroundColor","#FFFFFF");this.f("selectedTabBackgroundOpacity",1);this.f("selectedTabBackgroundColor");this.f("selectedTabBackgroundColorRatios");this.f("borderRadius",6);this.f("pagePaddingLeft",4);this.f("pagePaddingTop",4);this.f("pagePaddingRight",
4);this.f("pagePaddingBottom",4);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("selectedTabFontSize");this.f("selectedTabFontColor");this.f("selectedTabFontWeight");this.f("selectedTabFontStyle");this.f("selectedTabTextDecoration");this.f("selectedTabTextShadowBlurRadius");this.f("selectedTabTextShadowColor");this.f("selectedTabTextShadowHorizontalLength");this.f("selectedTabTextShadowOpacity");this.f("selectedTabTextShadowVerticalLength");this.f("tabsFontFamily");this.f("tabsFontSize");
this.f("tabsFontColor");this.f("tabsFontWeight");this.f("tabsFontStyle");this.f("tabsTextDecoration");this.f("tabsTextShadowBlurRadius");this.f("tabsTextShadowColor");this.f("tabsTextShadowHorizontalLength");this.f("tabsTextShadowOpacity");this.f("tabsTextShadowVerticalLength");this.f("tabsRollOverFontSize");this.f("tabsRollOverFontColor");this.f("tabsRollOverFontWeight");this.f("tabsRollOverFontStyle");this.f("tabsRollOverTextDecoration");this.f("tabsRollOverTextShadowBlurRadius");this.f("tabsRollOverTextShadowColor");
this.f("tabsRollOverTextShadowHorizontalLength");this.f("tabsRollOverTextShadowOpacity");this.f("tabsRollOverTextShadowVerticalLength")};b.prototype.Ja=function(){f.prototype.Ja.call(this);if(this.ce==q){this.ce=new f;this.ce.Es(y);this.qa(this.ce)}if(this.Le==q){this.Le=new f;this.Le.Es(y);this.qa(this.Le)}};b.prototype.set=function(a,b){if(a=="pages")this.apa(b||[]);else if(a=="selectedIndex")this.fU(b);else if(a=="layout")b=j.Xpa;f.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
"pages"?this.ml:a=="selectedIndex"?this.Pc:f.prototype.get.call(this,a,b)};b.prototype.fU=function(a){if(this.Pc!=a){this.Pc=a;this.Pc=Math.min(Math.max(this.Pc,-1),this.ml.length);this.Cs=p;this.Zb();this.trigger(g.W)}};b.prototype.apa=function(b){if(!a.isEqual(this.ml,b)){this.ml=b;this.aP=p;this.Zb()}};b.prototype.Wia=function(b){this.qA=a(this.qA).union([b.source]);this.LG=p;this.Zb()};b.prototype.Via=function(b){this.qA=a(this.qA).difference([b.source]);this.LG=p;this.Zb()};b.prototype.Uia=function(b){this.fU(a(this.pA).indexOf(b.source))};
b.prototype.ba=function(){var b=y,r=y,o=y,s=y,t=y,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.aP){this.pA=[];this.Le.h7();this.ce.h7();a(this.ml).forEach(function(b){var c=new h(b);c.Es(p);c.bind(g.Kc,a.bind(this.Wia,this));c.bind(g.hc,a.bind(this.Via,this));c.bind(g.pb,a.bind(this.Uia,this));this.pA.push(c);this.Le.qa(c);b.R({top:n,left:n,right:n,bottom:n,width:"100%",height:"100%"});this.ce.qa(b)},this);this.Pc=Math.min(Math.max(this.Pc,0),this.ml.length-1);this.aP=y;r=b=t=p}if(this.m("tabsPosition")){this.o("tabsPosition");
s=r=b=p}if(this.Cs){this.Cs=y;o=r=t=p}if(this.LG){this.LG=y;o=p}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.m(a)){this.o(a);b=p}},this);a(["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"]).forEach(function(a){if(this.m(a)){this.o(a);s=r=p}},this);a(["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"]).forEach(function(a){if(this.m(a)){this.o(a);r=p}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.m(a)){this.o(a);s=p}},this);this.m("backgroundColorDirection")&&this.o("backgroundColorDirection");if(b){switch(u){case e.ma:this.Le.R({left:0,
right:n});break;case e.Fa:this.Le.R({left:n,right:0});break;case e.fb:this.Le.R({bottom:n,top:0});break;case e.eb:this.Le.R({bottom:0,top:n})}switch(u){case e.ma:case e.Fa:this.Le.R({layout:j.Ve,top:0,bottom:0,height:n,width:this.j("tabsSize")});switch(v){case m.It:this.Le.set("verticalAlign",k.eb);break;case m.DU:this.Le.set("verticalAlign",k.fc);break;default:this.Le.set("verticalAlign",k.fb)}break;case e.fb:case e.eb:this.Le.R({layout:j.ze,left:0,right:0,height:this.j("tabsSize"),width:n});switch(v){case m.It:this.Le.set("horizontalAlign",
k.Fa);break;case m.DU:this.Le.set("horizontalAlign",k.vc);break;default:this.Le.set("horizontalAlign",k.ma)}}this.Le.set("gap",this.j("tabsGap"))}if(r)for(var x=0;x<this.ml.length;x++){var w=this.pA[x];if(u==e.eb||u==e.fb){w.R({layout:j.ze,width:n,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:c.bK});w.Q7(y)}else{w.R({layout:j.Ve,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),
height:n,backgroundColorDirection:c.HJ});w.Q7(p)}u==e.eb||u==e.Fa?w.set("borderTopLeftRadius",0):w.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==e.eb||u==e.ma?w.set("borderTopRightRadius",0):w.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==e.fb||u==e.Fa?w.set("borderBottomLeftRadius",0):w.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius",
"borderLeftRadius","borderRadius"));u==e.fb||u==e.ma?w.set("borderBottomRightRadius",0):w.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==e.Fa&&w.set("borderSize",this.j("borderRightSize","borderSize"));u==e.ma&&w.set("borderSize",this.j("borderLeftSize","borderSize"));u==e.fb&&w.set("borderSize",this.j("borderTopSize","borderSize"));u==e.eb&&w.set("borderSize",this.j("borderBottomSize","borderSize"));var z;switch(u){case e.ma:z=
this.j("borderLeftColor","borderColor");break;case e.Fa:z=this.j("borderRightColor","borderColor");break;case e.eb:z=this.j("borderBottomColor","borderColor");break;default:case e.fb:z=this.j("borderTopColor","borderColor")}w.set("borderColor",z);w.R({fontFamily:this.j("tabsFontFamily"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor")})}if(r||
o)for(x=0;x<this.ml.length;x++){w=this.pA[x];o=x==this.Pc;z=a(this.qA).contains(w);if(o){z=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(z).isUndefined()){z=this.j("backgroundColor");z=a(z).isArray()&&z.length>0?u==e.ma||u==e.fb?z[0]:z[z.length-1]:z}w.R({backgroundOpacity:this.j("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:z,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:d.rc,fontSize:this.j("selectedTabFontSize",
"tabsFontSize"),fontColor:this.j("selectedTabFontColor","tabsFontColor"),fontWeight:this.j("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.j("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.j("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.j("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("selectedTabTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("selectedTabTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("selectedTabTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})}else z?w.R({backgroundOpacity:this.j("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.j("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:d.Vd,
fontSize:this.j("tabsRollOverFontSize","tabsFontSize"),fontColor:this.j("tabsRollOverFontColor","tabsFontColor"),fontWeight:this.j("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.j("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.j("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.j("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsRollOverTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsRollOverTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):w.R({backgroundOpacity:this.j("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsBackgroundColor"),backgroundColorRatios:this.j("tabsBackgroundColorRatios"),fontSize:this.j("tabsFontSize"),fontColor:this.j("tabsFontColor"),fontWeight:this.j("tabsFontWeight"),fontStyle:this.j("tabsFontStyle"),
textDecoration:this.j("tabsTextDecoration"),textShadowColor:this.j("tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsTextShadowOpacity")});w.R({borderLeftSize:u==e.Fa&&o?0:n,borderRightSize:u==e.ma&&o?0:n,borderBottomSize:u==e.fb&&o?0:n,borderTopSize:u==e.eb&&o?0:n})}if(s){x=this.j("tabsSize");switch(u){case e.ma:this.ce.R({left:x-
(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case e.Fa:this.ce.R({left:0,right:x-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case e.fb:this.ce.R({left:0,right:0,top:x-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case e.eb:this.ce.R({left:0,right:0,top:0,bottom:x-(this.j("borderBottomSize","borderSize")||0)})}u==e.fb&&v==m.hx||u==e.ma&&v==m.hx?this.ce.set("borderTopLeftRadius",0):this.ce.set("borderTopLeftRadius",this.j("borderTopLeftRadius",
"borderTopRadius","borderLeftRadius","borderRadius"));u==e.fb&&v==m.It||u==e.Fa&&v==m.hx?this.ce.set("borderTopRightRadius",0):this.ce.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==e.eb&&v==m.hx||u==e.ma&&v==m.It?this.ce.set("borderBottomLeftRadius",0):this.ce.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==e.eb&&v==m.It||u==e.Fa&&v==m.It?this.ce.set("borderBottomRightRadius",
0):this.ce.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.ce.R({paddingLeft:this.j("pagePaddingLeft"),paddingTop:this.j("pagePaddingTop"),paddingRight:this.j("pagePaddingRight"),paddingBottom:this.j("pagePaddingBottom"),borderLeftSize:this.j("borderLeftSize","borderSize"),borderTopSize:this.j("borderTopSize","borderSize"),borderRightSize:this.j("borderRightSize","borderSize"),borderBottomSize:this.j("borderBottomSize",
"borderSize"),borderLeftColor:this.j("borderLeftColor","borderColor"),borderTopColor:this.j("borderTopColor","borderColor"),borderRightColor:this.j("borderRightColor","borderColor"),borderBottomColor:this.j("borderBottomColor","borderColor"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor"),backgroundOpacity:this.j("backgroundOpacity"),
backgroundColor:this.j("backgroundColor"),backgroundColorRatios:this.j("backgroundColorRatios")});u==e.fb||u==e.eb?this.ce.set("backgroundColorDirection",c.bK):this.ce.set("backgroundColorDirection",c.HJ)}if(t)for(x=0;x<this.ml.length;x++)this.ml[x].set("visible",x==this.Pc);f.prototype.ba.call(this)};return b});
define("iQ",["cK","hj","ji","bZ","dj"],function(a,b,c,d,g){a=b.extend(d,function(){d.call(this)});g.A("TabPanel",a).B("Container").K({pagePaddingLeft:"number",pagePaddingTop:"number",pagePaddingRight:"number",pagePaddingBottom:"number",pages:"array[TabPanelPage]",selectedIndex:"number",selectedTabBackgroundColor:"or[color, array[color]]",selectedTabBackgroundColorRatios:"array[number]",selectedTabBackgroundOpacity:"number",selectedTabFontColor:"color",selectedTabFontSize:"or[number, size]",selectedTabFontStyle:"enum[italic, normal]",
selectedTabFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedTabTextDecoration:"enum[underline, overline, line-through, none]",selectedTabTextShadowBlurRadius:"number",selectedTabTextShadowColor:"color",selectedTabTextShadowHorizontalLength:"number",selectedTabTextShadowOpacity:"number",selectedTabTextShadowVerticalLength:"number",tabsAlign:"enum[normal, inverse, center]",tabsBackgroundColor:"or[color, array[color]]",tabsBackgroundColorRatios:"array[number]",
tabsBackgroundOpacity:"number",tabsFontColor:"color",tabsFontFamily:"string",tabsFontSize:"or[number, size]",tabsFontStyle:"enum[italic, normal]",tabsFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsGap:"number",tabsPadding:"number",tabsPosition:"enum[left, top, right, bottom]",tabsRollOverBackgroundColor:"or[color, array[color]]",tabsRollOverBackgroundColorRatios:"array[number]",tabsRollOverBackgroundOpacity:"number",tabsRollOverFontColor:"color",
tabsRollOverFontSize:"or[number, size]",tabsRollOverFontStyle:"enum[italic, normal]",tabsRollOverFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",tabsRollOverTextDecoration:"enum[underline, overline, line-through, none]",tabsRollOverTextShadowBlurRadius:"number",tabsRollOverTextShadowColor:"color",tabsRollOverTextShadowHorizontalLength:"number",tabsRollOverTextShadowOpacity:"number",tabsRollOverTextShadowVerticalLength:"number",tabsSize:"number",tabsTextDecoration:"enum[underline, overline, line-through, none]",
tabsTextShadowBlurRadius:"number",tabsTextShadowColor:"color",tabsTextShadowHorizontalLength:"number",tabsTextShadowOpacity:"number",tabsTextShadowVerticalLength:"number"}).ko(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).qc([c.W]);return a});define("dJ",["hj","iU"],function(a,b){var c=a.extend(b,function(){b.call(this);this.Rc("Page");this.set("label","")});c.prototype.oa=function(){b.prototype.oa.call(this);this.f("visible",n)};return c});
define("P",["hj","dJ","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("TabPanelPage",a).B("Container").K({label:"string"});return a});define("eg",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("TargetPanoramaCameraMovement",b).B("TargetRotationalCameraMovement");return b});
define("cm",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraDisplayMovement",b).B("RotationalCameraMovement").K({stereographicFactorSpeed:"number",path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number",targetStereographicFactor:"number"});return b});
define("fa",["require","hj","hE","dj"],function(a){var b=a("hj"),c=a("hE"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("TiledImageResourceLevel",b).B("ImageResourceLevel").K({rowCount:"number",colCount:"number"});return b});define("gb",["require","hj","dj","fi"],function(a){var b=a("hj"),c=a("dj"),d=a("fi"),a=b.extend(d,function(){d.call(this)});c.A("TripodCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("fl","require,hj,v,ji,X,bV,N,c,bc,hH,er,iU,hU,fK,cK".split(","),function(a){var b=a("hj"),c=a("v"),d=a("ji"),g=a("X"),f=a("bV"),k=a("N"),j=a("c"),h=a("bc"),m=a("hH"),e=a("er"),l=a("iU"),r=a("hU"),o=a("fK"),s=a("cK"),t=b.extend(l,function(){l.call(this);this.ka=this.tc=q;this.vr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",f.bx);this.set("cursor",k.Vd)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("overflow",
"hidden");this.f("item");this.f("thumbnailUrlFunction",this.hM);this.f("sourceProperties");this.f("labelFunction",this.fM);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelMaxWidth");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("rollOverBorderRadius",e.q,"borderRadius");this.h("rollOverBorderTopRadius",e.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",e.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",e.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
e.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",e.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",e.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",e.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",e.q,"borderBottomRightRadius");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");
this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverLabelFontColor",e.q,"labelFontColor");this.h("rollOverLabelFontSize",e.q,"labelFontSize");this.h("rollOverLabelFontStyle",e.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
e.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",e.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",e.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",e.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",e.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",e.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",e.q,"labelTextShadowOpacity");this.h("rollOverOpacity",e.q,"opacity");
this.h("rollOverPaddingLeft",e.q,"paddingLeft");this.h("rollOverPaddingTop",e.q,"paddingTop");this.h("rollOverPaddingRight",e.q,"paddingRight");this.h("rollOverPaddingBottom",e.q,"paddingBottom");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverThumbnailOpacity",e.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",e.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",e.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",e.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
e.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",e.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",e.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",e.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",e.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",e.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",e.C,"backgroundOpacity");this.h("selectedBackgroundColor",e.C,"backgroundColor");
this.h("selectedBackgroundColorRatios",e.C,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",e.C,"backgroundColorDirection");this.h("selectedBorderRadius",e.C,"borderRadius");this.h("selectedBorderTopRadius",e.C,"borderTopRadius");this.h("selectedBorderBottomRadius",e.C,"borderBottomRadius");this.h("selectedBorderLeftRadius",e.C,"borderLeftRadius");this.h("selectedBorderRightRadius",e.C,"borderRightRadius");this.h("selectedBorderTopLeftRadius",e.C,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
e.C,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",e.C,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",e.C,"borderBottomRightRadius");this.h("selectedBorderSize",e.C,"borderSize");this.h("selectedBorderLeftSize",e.C,"borderLeftSize");this.h("selectedBorderTopSize",e.C,"borderTopSize");this.h("selectedBorderRightSize",e.C,"borderRightSize");this.h("selectedBorderBottomSize",e.C,"borderBottomSize");this.h("selectedBorderColor",e.C,"borderColor");this.h("selectedBorderLeftColor",
e.C,"borderLeftColor");this.h("selectedBorderTopColor",e.C,"borderTopColor");this.h("selectedBorderRightColor",e.C,"borderRightColor");this.h("selectedBorderBottomColor",e.C,"borderBottomColor");this.h("selectedLabelFontColor",e.C,"labelFontColor");this.h("selectedLabelFontSize",e.C,"labelFontSize");this.h("selectedLabelFontStyle",e.C,"labelFontStyle");this.h("selectedLabelFontWeight",e.C,"labelFontWeight");this.h("selectedLabelTextDecoration",e.C,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
e.C,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",e.C,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",e.C,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",e.C,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",e.C,"labelTextShadowOpacity");this.h("selectedOpacity",e.C,"opacity");this.h("selectedPaddingLeft",e.C,"paddingLeft");this.h("selectedPaddingTop",e.C,"paddingTop");this.h("selectedPaddingRight",
e.C,"paddingRight");this.h("selectedPaddingBottom",e.C,"paddingBottom");this.h("selectedShadow",e.C,"shadow");this.h("selectedThumbnailOpacity",e.C,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",e.C,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",e.C,"thumbnailBorderColor");this.h("selectedThumbnailShadow",e.C,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",e.C,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",e.C,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",e.C,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",e.C,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",e.C,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",e.C,"thumbnailShadowOpacity")};t.prototype.fC=function(a){this.Xz(a)};t.prototype.Ja=function(){l.prototype.Ja.call(this);if(!this.tc){this.tc=new r;this.qa(this.tc);this.tc.set("horizontalAlign",g.vc);this.tc.set("verticalAlign",g.fc);this.tc.bind(d.P,
this.VQ,this)}if(!this.ka){this.ka=new o;this.qa(this.ka)}};t.prototype.hM=function(a){if(s(a).isString())return a;if(a&&a.qU)return a.qU};t.prototype.fM=function(a){if(a&&a.label)return a.label};t.prototype.ba=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.vr.length;)this.vr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.vr.push(c.watch(b,a,this.PO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.m("sourceProperties")||this.m("item")||this.m("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.tc.get("url")!=a&&this.tc.R({url:a,visible:p,opacity:0.5}):this.tc.R({url:n,visible:y});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ka.R({text:a,visible:a?p:y});this.o("labelFunction")}this.o("item");
this.o("sourceProperties");if(this.m("labelPosition")||this.m("listLayout")||this.m("thumbnailWidth")||this.m("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);return c!==n?c:b};switch(this.j("labelPosition")){case h.ma:case h.Fa:this.set("layout",j.ze);this.ka.set("width","100%");this.tc.R({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.fg)});break;default:this.set("layout",j.Ve);this.ka.set("width","100%");this.tc.R({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.fg)})}switch(this.j("labelPosition")){case h.ma:case h.fb:this.ri(this.ka,0);break;default:this.ri(this.ka,1)}this.o("labelPosition")}this.Ua(t.nK,t.wW,[this],p,p);this.Ua(t.pK,t.zW,[this.tc],p,p);this.Ua(t.oK,t.yW,[this.ka],p,p);l.prototype.ba.call(this)};t.prototype.PO=function(){this.Fs("item")};t.prototype.Ds=function(a){l.prototype.Ds.call(this,a)};t.prototype.VQ=function(){this.tc.set("opacity",1)};t.wW={labelGap:"gap"};
t.nK=s(t.wW).keys();t.yW={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.oK=s(t.yW).keys();t.zW={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.pK=s(t.zW).keys();return t});
define("bt","hj,bL,X,ji,bV,c,eV,bc,iU,fl,cK".split(","),function(a,b,c,d,g,f,k,j,h,m,e){var l=a.extend(h,function(){h.call(this);this.set("contentOpaque",p)});l.prototype.oa=function(){h.prototype.oa.call(this);this.f("layout",f.qo);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",k.$k);this.f("itemHorizontalAlign",c.vc);this.f("itemLabelFontFamily");this.f("itemLabelPosition",j.eb);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
c.vc);this.f("itemSourceProperties");this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemVerticalAlign",c.fc);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");
this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");
this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelMaxWidth");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");
this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");
this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");
this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");this.f("rollOverItemLabelTextShadowHorizontalLength");
this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");this.f("rollOverItemThumbnailShadow");
this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");this.f("selectedItemBorderTopRadius");
this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");this.f("selectedItemBorderColor");
this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};l.prototype.Ey=function(a){this.dh=p;this.set("selectedIndex",this.dN(a.source))};l.prototype.dN=function(a){for(var b=this.Pa(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.ba=function(){this.m("layout")&&this.j("layout")!=f.qo&&this.set("layout",f.qo);var a=y;if(this.m("items")){var a=p,c=this.j("items")||
[],e=this.Pa();if(e.length<c.length){for(var g=e.length;g<c.length;g++){e=new m;e.bind(d.V,this.Ey,this);this.Ua(l.nx,l.er,[e],y,y);this.Ua(l.ox,l.gr,[e],y,y);this.qa(e)}e=this.Pa()}if(e.length>c.length){for(g=c.length;g<e.length;g++){var j=e[g];j.unbind(d.V,this.Ey,this);this.removeChild(j)}e=this.Pa()}for(g=0;g<c.length;g++)e[g].set("item",c[g]);this.o("items")}if(this.m("selectedIndex")||a){c=this.Pa();a=Math.min(c.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",a);for(g=
0;g<c.length;g++)c[g].fC(g==a);this.o("selectedIndex");if(this.dh){this.dh=y;this.trigger(new b(d.W))}}this.Ua(l.nx,l.er,this.Pa(),p,y);this.Ua(l.ox,l.gr,this.Pa(),p,p);h.prototype.ba.call(this)};l.er={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.gr={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.nx=e(l.er).keys();l.ox=e(l.gr).keys();return l});
define("gy","hj,ji,bt,dj,ie,cJ,br,cK".split(","),function(a,b,c,d,g,f,k){a=a.extend(c,function(){c.call(this);this.yb=q;this.set("itemMode","normal");this.$j=y;this.Hx=new g(this,"buttonScrollDown",f.xc);this.Hx.bind(b.V,this.o7,this);this.Ix=new g(this,"buttonScrollLeft",f.xc);this.Ix.bind(b.V,this.scrollLeft,this);this.Jx=new g(this,"buttonScrollRight",f.xc);this.Jx.bind(b.V,this.p7,this);this.Kx=new g(this,"buttonScrollUp",f.xc);this.Kx.bind(b.V,this.q7,this);this.bind(b.W,this.Lfa,this)});d.A("ThumbnailGrid",
a).B("UIComponent").K({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",
itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",
itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHeight:"or[number, percent]",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelMaxWidth:"number",itemLabelPosition:"enum[left, top, right, bottom]",
itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemMaxHeight:"number",itemMaxWidth:"number",itemMinHeight:"number",itemMinWidth:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",itemShadow:"bool",itemThumbnailBorderColor:"color",
itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",
itemThumbnailShadowVerticalLength:"number",itemWidth:"or[number, percent]",itemVerticalAlign:"enum[bottom, middle, top]",overflow:"enum[scroll, hidden, visible]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",rollOverItemBorderBottomRadius:"number",
rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",rollOverItemBorderTopRadius:"number",
rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",rollOverItemLabelTextShadowHorizontalLength:"number",
rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",rollOverItemThumbnailShadowColor:"color",
rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",
selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",
selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",
selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]"}).ko(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.rh=function(){c.prototype.rh.call(this);
this.Qs()};a.prototype.Nn=function(){c.prototype.Nn.call(this);this.Qs()};a.prototype.Qs=function(){this.Hx.set("visible",!this.$j||this.tD());this.Kx.set("visible",!this.$j||this.wD());this.Ix.set("visible",!this.$j||this.uD());this.Jx.set("visible",!this.$j||this.vD())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.bn);this.set("itemThumbnailUrlFunction",this.Gy);this.set("itemTooltipFunction",this.Yr);this.set("itemSourceProperties",
["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Yr);this.set("itemThumbnailUrlFunction",this.bn);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Yr);this.set("itemThumbnailUrlFunction",this.Gy);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a==
"playList"){this.yb&&this.yb.unbind("change",this.tn,this);if(this.yb=b){this.set("items",this.yb.get("items"));this.set("selectedIndex",this.yb.get("selectedIndex"));this.yb.bind("change",this.tn,this,p)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.$j=b;this.Qs()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.yb;default:return c.prototype.get.call(this,a,b)}};a.prototype.tn=function(){this.set("items",this.yb.get("items"));
this.set("selectedIndex",this.yb.get("selectedIndex"))};a.prototype.Lfa=function(){this.yb&&this.yb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.bn=D();a.prototype.Yr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Gy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=k.X4(b));return b};return a});
define("gM","require,hj,v,ji,X,bV,N,c,bc,hH,er,iU,hU,fK,cK".split(","),function(a){var b=a("hj"),c=a("v"),d=a("ji"),g=a("X"),f=a("bV"),k=a("N"),j=a("c"),h=a("bc"),m=a("hH"),e=a("er"),l=a("iU"),r=a("hU"),o=a("fK"),s=a("cK"),t=b.extend(l,function(){l.call(this);this.ka=this.tc=q;this.vr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",y);this.set("contentOpaque",p);this.set("creationPolicy",f.bx);this.set("cursor",k.Vd)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("listLayout");
this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.hM);this.f("sourceProperties");this.f("labelFunction",this.fM);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",e.q,"backgroundOpacity");this.h("rollOverBackgroundColor",e.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",e.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",e.q,"backgroundColorDirection");this.h("rollOverBorderRadius",e.q,"borderRadius");this.h("rollOverBorderTopRadius",e.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",e.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",e.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
e.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",e.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",e.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",e.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",e.q,"borderBottomRightRadius");this.h("rollOverBorderSize",e.q,"borderSize");this.h("rollOverBorderLeftSize",e.q,"borderLeftSize");this.h("rollOverBorderTopSize",e.q,"borderTopSize");this.h("rollOverBorderRightSize",e.q,"borderRightSize");
this.h("rollOverBorderBottomSize",e.q,"borderBottomSize");this.h("rollOverBorderColor",e.q,"borderColor");this.h("rollOverBorderLeftColor",e.q,"borderLeftColor");this.h("rollOverBorderTopColor",e.q,"borderTopColor");this.h("rollOverBorderRightColor",e.q,"borderRightColor");this.h("rollOverBorderBottomColor",e.q,"borderBottomColor");this.h("rollOverLabelFontColor",e.q,"labelFontColor");this.h("rollOverLabelFontSize",e.q,"labelFontSize");this.h("rollOverLabelFontStyle",e.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
e.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",e.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",e.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",e.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",e.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",e.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",e.q,"labelTextShadowOpacity");this.h("rollOverOpacity",e.q,"opacity");
this.h("rollOverPaddingLeft",e.q,"paddingLeft");this.h("rollOverPaddingTop",e.q,"paddingTop");this.h("rollOverPaddingRight",e.q,"paddingRight");this.h("rollOverPaddingBottom",e.q,"paddingBottom");this.h("rollOverShadow",e.q,"shadow");this.h("rollOverThumbnailOpacity",e.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",e.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",e.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",e.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
e.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",e.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",e.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",e.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",e.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",e.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",e.C,"backgroundOpacity");this.h("selectedBackgroundColor",e.C,"backgroundColor");
this.h("selectedBackgroundColorRatios",e.C,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",e.C,"backgroundColorDirection");this.h("selectedBorderRadius",e.C,"borderRadius");this.h("selectedBorderTopRadius",e.C,"borderTopRadius");this.h("selectedBorderBottomRadius",e.C,"borderBottomRadius");this.h("selectedBorderLeftRadius",e.C,"borderLeftRadius");this.h("selectedBorderRightRadius",e.C,"borderRightRadius");this.h("selectedBorderTopLeftRadius",e.C,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
e.C,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",e.C,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",e.C,"borderBottomRightRadius");this.h("selectedBorderSize",e.C,"borderSize");this.h("selectedBorderLeftSize",e.C,"borderLeftSize");this.h("selectedBorderTopSize",e.C,"borderTopSize");this.h("selectedBorderRightSize",e.C,"borderRightSize");this.h("selectedBorderBottomSize",e.C,"borderBottomSize");this.h("selectedBorderColor",e.C,"borderColor");this.h("selectedBorderLeftColor",
e.C,"borderLeftColor");this.h("selectedBorderTopColor",e.C,"borderTopColor");this.h("selectedBorderRightColor",e.C,"borderRightColor");this.h("selectedBorderBottomColor",e.C,"borderBottomColor");this.h("selectedLabelFontColor",e.C,"labelFontColor");this.h("selectedLabelFontSize",e.C,"labelFontSize");this.h("selectedLabelFontStyle",e.C,"labelFontStyle");this.h("selectedLabelFontWeight",e.C,"labelFontWeight");this.h("selectedLabelTextDecoration",e.C,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
e.C,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",e.C,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",e.C,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",e.C,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",e.C,"labelTextShadowOpacity");this.h("selectedOpacity",e.C,"opacity");this.h("selectedPaddingLeft",e.C,"paddingLeft");this.h("selectedPaddingTop",e.C,"paddingTop");this.h("selectedPaddingRight",
e.C,"paddingRight");this.h("selectedPaddingBottom",e.C,"paddingBottom");this.h("selectedShadow",e.C,"shadow");this.h("selectedThumbnailOpacity",e.C,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",e.C,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",e.C,"thumbnailBorderColor");this.h("selectedThumbnailShadow",e.C,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",e.C,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",e.C,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",e.C,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",e.C,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",e.C,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",e.C,"thumbnailShadowOpacity")};t.prototype.fC=function(a){this.Xz(a)};t.prototype.Ja=function(){l.prototype.Ja.call(this);if(!this.tc){this.tc=new r;this.qa(this.tc);this.tc.set("horizontalAlign",g.vc);this.tc.set("verticalAlign",g.fc);this.tc.bind(d.P,
this.VQ,this)}if(!this.ka){this.ka=new o;this.qa(this.ka)}};t.prototype.hM=function(a){if(s(a).isString())return a;if(a&&a.qU)return a.qU};t.prototype.fM=function(a){if(a&&a.label)return a.label};t.prototype.ba=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.vr.length;)this.vr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.vr.push(c.watch(b,a,this.PO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.m("sourceProperties")||this.m("item")||this.m("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.tc.get("url")!=a&&this.tc.R({url:a,visible:p,opacity:0.5}):this.tc.R({url:n,visible:y});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ka.R({text:a,visible:a?p:y});this.o("labelFunction")}this.o("sourceProperties");
this.o("item");if(this.m("listLayout"))switch(this.j("listLayout")){case j.Ve:this.R({width:"100%",height:n});break;default:this.R({height:"100%",width:n})}if(this.m("labelPosition")||this.m("listLayout")||this.m("thumbnailWidth")||this.m("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);c===n&&(c=b);return c};switch(this.j("labelPosition")){case h.ma:case h.Fa:this.set("layout",j.ze);this.ka.set("width","100%");switch(this.j("listLayout")){case j.Ve:this.tc.R({height:a("thumbnailHeight"),
width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.fg)});break;default:this.tc.R({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.fg)})}break;default:this.set("layout",j.Ve);this.ka.set("width",n);switch(this.j("listLayout")){case j.Ve:this.tc.R({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.Hj)});break;default:this.tc.R({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
m.fg)})}}switch(this.j("labelPosition")){case h.ma:case h.fb:this.ri(this.ka,0);break;default:this.ri(this.ka,1)}this.o("labelPosition")}this.o("listLayout");this.Ua(t.nK,t.Pt,[this],p,p);this.Ua(t.pK,t.Pt,[this.tc],p,p);this.Ua(t.oK,t.Pt,[this.ka],p,p);l.prototype.ba.call(this)};t.prototype.PO=function(){this.Fs("item")};t.prototype.Ds=function(a){l.prototype.Ds.call(this,a)};t.prototype.VQ=function(){this.tc.set("opacity",1)};t.nK=["labelGap"];t.pK=["thumbnailBorderColor","thumbnailBorderRadius",
"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];t.oK=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
"labelTextShadowOpacity"];t.Pt={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("A","require,hj,bL,X,ji,c,eV,bc,iU,gM,cK".split(","),function(a){var b=a("hj"),c=a("bL"),d=a("X"),g=a("ji"),f=a("c"),k=a("eV"),j=a("bc"),h=a("iU"),m=a("gM"),a=a("cK"),e=b.extend(h,function(){h.call(this);this.set("contentOpaque",p);this.bind(g.ha("selectedIndex"),this.eha,this);this.bind(g.sb,this.bja,this)});e.prototype.oa=function(){h.prototype.oa.call(this);this.f("layout",f.ze);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",k.$k);this.f("itemHorizontalAlign",d.vc);this.f("itemLabelFontFamily");
this.f("itemLabelPosition",j.eb);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",d.vc);this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemSourceProperties");this.f("itemVerticalAlign",d.fc);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");
this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");
this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");
this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");
this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");
this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");
this.f("rollOverItemLabelTextShadowHorizontalLength");this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");
this.f("rollOverItemThumbnailShadow");this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");
this.f("selectedItemBorderTopRadius");this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");
this.f("selectedItemBorderColor");this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};e.prototype.Ey=function(a){this.dh=p;this.set("selectedIndex",this.dN(a.source))};e.prototype.eha=function(){this.F2()};e.prototype.bja=function(){this.F2()};e.prototype.F2=function(){var a=this.get("selectedIndex"),b=this.Pa();a>=0&&a<b.length&&this.scrollIntoView(b[a])};e.prototype.dN=function(a){for(var b=this.Pa(),
c=0;c<b.length;c++)if(b[c]==a)return c;return-1};e.prototype.ba=function(){if(this.m("layout")){var a=this.j("layout");a!=f.Ve&&a!=f.ze&&this.set("layout",f.ze)}var b=y;if(this.m("items")){var b=p,a=this.j("items")||[],d=this.Pa();if(d.length<a.length){for(var j=d.length;j<a.length;j++){d=new m;d.bind(g.V,this.Ey,this);this.Ua(e.nx,e.er,[d],y,y);this.Ua(e.ox,e.gr,[d],y,y);this.qa(d)}d=this.Pa()}if(d.length>a.length){for(j=a.length;j<d.length;j++){var k=d[j];k.unbind(g.V,this.Ey,this);this.removeChild(k)}d=
this.Pa()}for(j=0;j<a.length;j++)d[j].set("item",a[j]);this.o("items")}if(this.m("selectedIndex")||b){a=this.Pa();b=Math.min(a.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",b);for(j=0;j<a.length;j++)a[j].fC(j==b);this.o("selectedIndex");if(this.dh){this.dh=y;this.trigger(new c(g.W))}}this.Ua(e.nx,e.er,this.Pa(),p,y);this.Ua(e.ox,e.gr,this.Pa(),p,p);h.prototype.ba.call(this)};e.er={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};e.gr={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"};e.nx=a(e.er).keys();e.ox=a(e.gr).keys();return e});
define("eJ","hj,ji,A,dj,ie,cJ,br,cK".split(","),function(a,b,c,d,g,f,k){a=a.extend(c,function(){c.call(this);this.yb=q;this.set("itemMode","normal");this.$j=y;this.Hx=new g(this,"buttonScrollDown",f.xc);this.Hx.bind(b.V,this.o7,this);this.Ix=new g(this,"buttonScrollLeft",f.xc);this.Ix.bind(b.V,this.scrollLeft,this);this.Jx=new g(this,"buttonScrollRight",f.xc);this.Jx.bind(b.V,this.p7,this);this.Kx=new g(this,"buttonScrollUp",f.xc);this.Kx.bind(b.V,this.q7,this);this.bind(b.W,this.Mfa,this)});d.A("ThumbnailList",
a).B("UIComponent").K({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",contentOpaque:"bool",gap:"number",hideScrollButtons:"bool",horizontalAlign:"enum[center, left, right]",itemMode:"enum[normal, thumbnail-only, label-only]",
itemBackgroundColor:"or[array[color], color]",itemBackgroundColorDirection:"enum[horizontal, vertical]",itemBackgroundColorRatios:"array[number]",itemBackgroundOpacity:"number",itemBorderBottomColor:"color",itemBorderBottomLeftRadius:"number",itemBorderBottomRadius:"number",itemBorderBottomRightRadius:"number",itemBorderBottomSize:"number",itemBorderColor:"color",itemBorderLeftColor:"color",itemBorderLeftRadius:"number",itemBorderLeftSize:"number",itemBorderRadius:"number",itemBorderRightColor:"color",
itemBorderRightRadius:"number",itemBorderRightSize:"number",itemBorderSize:"number",itemBorderTopColor:"color",itemBorderTopLeftRadius:"number",itemBorderTopRadius:"number",itemBorderTopRightRadius:"number",itemBorderTopSize:"number",itemHorizontalAlign:"enum[center, left, right]",itemLabelFontColor:"color",itemLabelFontFamily:"string",itemLabelFontSize:"or[number, size]",itemLabelFontStyle:"enum[italic, normal]",itemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",
itemLabelGap:"number",itemLabelHorizontalAlign:"enum[center, left, right]",itemLabelPosition:"enum[left, top, right, bottom]",itemLabelTextDecoration:"enum[underline, overline, line-through, none]",itemLabelTextShadowBlurRadius:"number",itemLabelTextShadowColor:"color",itemLabelTextShadowHorizontalLength:"number",itemLabelTextShadowOpacity:"number",itemLabelTextShadowVerticalLength:"number",itemOpacity:"number",itemPaddingBottom:"number",itemPaddingLeft:"number",itemPaddingTop:"number",itemPaddingRight:"number",
itemShadow:"bool",itemThumbnailBorderColor:"color",itemThumbnailBorderRadius:"number",itemThumbnailBorderSize:"number",itemThumbnailScaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",itemThumbnailHeight:"number",itemThumbnailWidth:"number",itemThumbnailMaxHeight:"number",itemThumbnailMaxWidth:"number",itemThumbnailOpacity:"number",itemThumbnailShadow:"bool",itemThumbnailShadowBlurRadius:"number",itemThumbnailShadowColor:"color",itemThumbnailShadowHorizontalLength:"number",
itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",itemThumbnailShadowVerticalLength:"number",itemVerticalAlign:"enum[bottom, middle, top]",layout:"enum[vertical, horizontal]",playList:"PlayList",rollOverItemBackgroundColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",
rollOverItemBorderBottomRadius:"number",rollOverItemBorderBottomRightRadius:"number",rollOverItemBorderBottomSize:"number",rollOverItemBorderColor:"color",rollOverItemBorderLeftColor:"color",rollOverItemBorderLeftRadius:"number",rollOverItemBorderLeftSize:"number",rollOverItemBorderRadius:"number",rollOverItemBorderRightColor:"color",rollOverItemBorderRightRadius:"number",rollOverItemBorderRightSize:"number",rollOverItemBorderSize:"number",rollOverItemBorderTopColor:"color",rollOverItemBorderTopLeftRadius:"number",
rollOverItemBorderTopRadius:"number",rollOverItemBorderTopRightRadius:"number",rollOverItemBorderTopSize:"number",rollOverItemLabelFontColor:"color",rollOverItemLabelFontSize:"or[number, size]",rollOverItemLabelFontStyle:"enum[italic, normal]",rollOverItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",rollOverItemLabelTextDecoration:"enum[underline, overline, line-through, none]",rollOverItemLabelTextShadowBlurRadius:"number",rollOverItemLabelTextShadowColor:"color",
rollOverItemLabelTextShadowHorizontalLength:"number",rollOverItemLabelTextShadowOpacity:"number",rollOverItemLabelTextShadowVerticalLength:"number",rollOverItemOpacity:"number",rollOverItemPaddingBottom:"number",rollOverItemPaddingLeft:"number",rollOverItemPaddingRight:"number",rollOverItemPaddingTop:"number",rollOverItemShadow:"bool",rollOverItemThumbnailBorderColor:"color",rollOverItemThumbnailBorderSize:"number",rollOverItemThumbnailOpacity:"number",rollOverItemThumbnailShadow:"bool",rollOverItemThumbnailShadowBlurRadius:"number",
rollOverItemThumbnailShadowColor:"color",rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroundColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
selectedItemBackgroundOpacity:"number",selectedItemBorderBottomColor:"color",selectedItemBorderBottomLeftRadius:"number",selectedItemBorderBottomRadius:"number",selectedItemBorderBottomRightRadius:"number",selectedItemBorderBottomSize:"number",selectedItemBorderColor:"color",selectedItemBorderLeftColor:"color",selectedItemBorderLeftRadius:"number",selectedItemBorderLeftSize:"number",selectedItemBorderRadius:"number",selectedItemBorderRightRadius:"number",selectedItemBorderRightSize:"number",selectedItemBorderSize:"number",
selectedItemBorderTopLeftRadius:"number",selectedItemBorderTopRadius:"number",selectedItemBorderTopRightRadius:"number",selectedItemBorderTopSize:"number",selectedItemBorderTopColor:"color",selectedItemBorderRightColor:"color",selectedItemLabelFontColor:"color",selectedItemLabelFontSize:"or[number, size]",selectedItemLabelFontStyle:"enum[italic, normal]",selectedItemLabelFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",selectedItemLabelTextDecoration:"enum[underline, overline, line-through, none]",
selectedItemLabelTextShadowBlurRadius:"number",selectedItemLabelTextShadowColor:"color",selectedItemLabelTextShadowHorizontalLength:"number",selectedItemLabelTextShadowOpacity:"number",selectedItemLabelTextShadowVerticalLength:"number",selectedItemOpacity:"number",selectedItemPaddingBottom:"number",selectedItemPaddingLeft:"number",selectedItemPaddingTop:"number",selectedItemPaddingRight:"number",selectedItemShadow:"bool",selectedItemThumbnailBorderSize:"number",selectedItemThumbnailBorderColor:"color",
selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]",itemLabelFunction:"*"}).ko(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.rh=
function(){c.prototype.rh.call(this);this.Qs()};a.prototype.Nn=function(){c.prototype.Nn.call(this);this.Qs()};a.prototype.Qs=function(){this.Hx.set("visible",!this.$j||this.tD());this.Kx.set("visible",!this.$j||this.wD());this.Ix.set("visible",!this.$j||this.uD());this.Jx.set("visible",!this.$j||this.vD())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.bn);this.set("itemThumbnailUrlFunction",this.Gy);this.set("itemTooltipFunction",
this.Yr);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Yr);this.set("itemThumbnailUrlFunction",this.bn);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Yr);this.set("itemThumbnailUrlFunction",this.Gy);this.set("itemTooltipFunction",this.bn);this.set("itemSourceProperties",["label","media.label",
"media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.yb&&this.yb.unbind("change",this.tn,this);if(this.yb=b){this.set("items",this.yb.get("items"));this.yb.bind("change",this.tn,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.$j=b;this.Qs()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.yb;default:return c.prototype.get.call(this,a,b)}};a.prototype.tn=function(){this.set("items",this.yb.get("items"));
this.set("selectedIndex",this.yb.get("selectedIndex"))};a.prototype.Mfa=function(){this.yb&&this.yb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.bn=D();a.prototype.Yr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.Gy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=k.X4(b));return b};return a});
define("bv",["hj","ji","d","dj"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});d.A("UIComponent",a).B("Object").K({actualHeight:"number",actualWidth:"number",backgroundColor:"or[array[color], color]",backgroundColorDirection:"enum[horizontal, vertical]",backgroundColorRatios:"array[number]",backgroundImageUrl:"string",backgroundOpacity:"number",borderBottomColor:"color",borderBottomLeftRadius:"number",borderBottomRadius:"number",borderBottomRightRadius:"number",borderBottomSize:"number",
borderColor:"color",borderLeftColor:"color",borderLeftRadius:"number",borderLeftSize:"number",borderRadius:"number",borderRightColor:"color",borderRightRadius:"number",borderRightSize:"number",borderSize:"number",borderTopColor:"color",borderTopLeftRadius:"number",borderTopRadius:"number",borderTopRightRadius:"number",borderTopSize:"number",bottom:"or[number, percent]",centerX:"number",centerY:"number",cursor:"enum[default, hand]",height:"or[number, percent]",hideEffect:"Effect",includeInLayout:"bool",
inView:"bool",left:"or[number, percent]",maxHeight:"number",maxWidth:"number",minHeight:"number",minWidth:"number",opacity:"number",paddingBottom:"number",paddingLeft:"number",paddingTop:"number",paddingRight:"number",propagateClick:"bool",right:"or[number, percent]",rollOverOpacity:"number",showEffect:"Effect",shadow:"bool",shadowBlurRadius:"number",shadowColor:"color",shadowHorizontalLength:"number",shadowOpacity:"number",shadowSpread:"number",shadowVerticalLength:"number",toolTip:"string",toolTipBackgroundColor:"or[color, enum[transparent]]",
toolTipBackgroundOpacity:"number",toolTipBorderRadius:"number",toolTipBorderColor:"color",toolTipBorderSize:"number",toolTipDisplayTime:"number",toolTipFontFamily:"string",toolTipFontSize:"or[number, size]",toolTipFontColor:"color",toolTipFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",toolTipFontStyle:"enum[italic, normal]",toolTipHorizontalAlign:"enum[left, center, right]",toolTipPaddingBottom:"number",toolTipPaddingLeft:"number",toolTipPaddingTop:"number",
toolTipPaddingRight:"number",toolTipShadowBlurRadius:"number",toolTipShadowColor:"color",toolTipShadowHorizontalLength:"number",toolTipShadowOpacity:"number",toolTipShadowSpread:"number",toolTipShadowVerticalLength:"number",toolTipOpacity:"number",toolTipTextShadowBlurRadius:"number",toolTipTextShadowColor:"color",toolTipTextShadowHorizontalLength:"number",toolTipTextShadowOpacity:"number",toolTipTextShadowVerticalLength:"number",top:"or[number, percent]",visible:"bool",width:"or[number, percent]"}).ko(["toolTipFontSize"]).vj(["backgroundImageUrl"]).qc([b.gg,
b.INIT,b.V,b.Ij,b.pf,b.sb,b.Kc,b.hc,b.qf]);return a});
define("eP",["require","hj","bE","hH"],function(a){var b=a("hj"),c=a("bE"),d=a("hH"),a=b.extend(c,function(a){c.call(this);this.t=a;this.Eb=a.get("video").Qe();this.S=a.get("width",320);this.aa=a.get("height",Math.round(3*a.get("width",320)/4));this.Gc=a.get("scaleMode",d.je)});a.prototype.Jk=function(){return[]};a.prototype.Qe=O("Eb");a.prototype.rma=function(){return this.t.get("video").get("subtitlesURL")};a.prototype.Ic=O("S");a.prototype.ud=O("aa");return a});
define("w","require,hj,ji,dj,hH,cP,dF,eP".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("dj");a("hH");var g=a("cP"),f=a("dF"),k=a("eP"),a=b.extend(g,function(){g.call(this);this.G=n});a.ye=f.ye;d.A("Video",a).B("Media").K({height:"number",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",video:"VideoResource",width:"number",loop:"bool",cues:"array[VideoCue]"}).qc([c.ua,a.ye]);a.prototype.Tc=function(){if(this.G==n)this.G=this.get("video")?new k(this):q;return this.G};
a.prototype.Xn=function(){this.get("video");return[]};return a});define("ev","require,hj,ji,dj,fz,dF".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("dj"),g=a("fz"),a=a("dF"),b=b.extend(g,function(){g.call(this)});b.ye=a.ye;d.A("VideoPanorama",b).B("Panorama").K({cues:"array[VideoCue]",loop:"bool"}).qc([c.ua,b.ye]);return b});
define("ge",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("Video360Resource",b).B("Video360ResourceLevel").K({levels:"array[Video360ResourceLevel]",subtitlesURL:"string"}).vj(["subtitlesURL"]);b.prototype.get=function(a,b){switch(a){case "levels":b=[this];break;case "subtitlesURL":for(var f=c.prototype.get.call(this,a),k=this.get("levels"),j=0;k&&j<k.length&&f===n;j++){var h=k[j];h!=this&&(f=h.get("subtitlesURL"))}return f!==n?
f:b}return c.prototype.get.call(this,a,b)};return b});
define("ct","require,hj,cK,dj,df,ev,ge".split(","),function(a){var b=a("hj"),c=a("cK"),d=a("dj"),g=a("df"),f=a("ev"),k=a("ge"),a=b.extend(f,function(){f.call(this);this.pk=this.t=n});d.A("Video360",a).B("VideoPanorama").K({video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.t$(b):f.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="video"?this.t===n?b:this.t:f.prototype.get.call(this,a,b)};a.prototype.t$=function(a){if(this.t!=
a){this.t=a;a=[];if(this.t){var b=new g;b.set("sphere",this.Jea(this.t));a.push(b)}f.prototype.set.call(this,"frames",a)}};a.prototype.Jea=function(a){if(c.isArray(a)){var b=[];c(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new k;a.set("levels",b)}return a};return a});define("bq",["require","hj","dj","iY"],function(a){var b=a("hj"),c=a("dj"),d=a("iY"),a=b.extend(d,function(){d.call(this)});c.A("Video360Player",a).B("PanoramaPlayer");return a});
define("gu",["hj","dj","cd","cI"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("Video360PlayListItem",a).B("PlayListItem").K({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Ue,this.Rh,this),a.set("video",this.get("media")),a.set("camera",this.get("camera")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");
a&&(a.unbind(c.Ue,this.Rh,this),a.get("video")==this.get("media")&&a.set("video",q));d.prototype.stop.call(this)};a.prototype.Rh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Ue,this.Rh,this),this.get("player").bind(c.Eg,this.nk,this),this.Vv())};a.prototype.nk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Eg,this.nk,this),this.end())};return a});
define("jd",["require","hj","hA","dj"],function(a){var b=a("hj"),c=a("hA"),a=a("dj"),b=b.extend(c,function(){c.call(this)});a.A("Video360ResourceLevel",b).B("Object").K({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).vj(["posterURL","url"]);return b});
define("bA","require,hj,hA,ji,ew,bL,dj,dF,gF".split(","),function(a){var b=a("hj"),c=a("hA"),d=a("ji"),g=a("ew"),f=a("bL"),k=a("dj"),j=a("dF"),h=a("gF"),m=b.extend(c,function(){c.call(this);this.Md=n;this.set("enabled",p);this.set("interactionEnabled",p);this.set("state",g.L);this.set("enabledInCardboard",p);this.set("enabledInStandard",p);this.set("blending",0);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});m.prototype.play=function(){this.set("state",g.T)};m.prototype.pause=function(){this.set("state",
g.Jc)};m.prototype.stop=function(){this.set("state",g.L)};m.ye=j.ye;m.ld="stateChange";k.A("VideoPanoramaOverlay",m).B("PanoramaOverlay").K({autoplay:"bool",blending:"number",chromaColor:"color",chromaThreshold:"number",chromaSmoothing:"number",cues:"array[VideoCue]",distance:"number",displayTooltipInTouchScreens:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",videoVisibleOnStop:"bool",
hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",image:"ImageResource",loop:"bool",pitch:"number",rotationX:"number",rotationY:"number",roll:"number",state:"enum[stopped, playing, paused]",toolTip:"string",useHandCursor:"bool",video:"VideoResource",yaw:"number",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).qc([d.vo,d.ua,d.Kc,d.hc,d.Ij,d.pf,m.ye,m.ld]).ph([d.V]).Cg({pause:m.prototype.pause,play:m.prototype.play,stop:m.prototype.stop});
m.prototype.set=function(a,b){var h=y;switch(a){case "state":var j=this.get("state")||g.L;j==g.L&&b==g.T&&this.trigger(d.vo);j!=b&&this.trigger(new f(m.ld,{oldState:j,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "playbackPositions":this.Md=n;h=p}c.prototype.set.call(this,a,b);h&&a!="playbackPositions"&&this.trigger(d.ha("playbackPositions"))};m.prototype.get=
function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=h.TH(this);return this.Md}return c.prototype.get.call(this,a,b)};m.prototype.TH=function(){if(this.Md===n)this.Md=h.TH(this);return this.Md};return m});
define("hb","cK,hj,ji,bL,dX,ew,w".split(","),function(a,b,c,d,g,f,k){function j(a,b,c){this.time=a;this.cue=b;this.action=c}b=b.extend(g,function(a){g.call(this);this.g=a;this.g.bind(c.W,this.Pv,this,p);this.g.bind(c.ua,this.UA,this,p);this.Cc=this.Sj=q;this.Qf=y;this.sf=[];this.Dh=n;this.$b=[]});b.prototype.clear=function(){this.g.unbind(c.W,this.Pv,this,p);this.g.unbind(c.ua,this.UA,this,p);this.Cc=this.Sj=this.g=q;this.sf=[];this.$b=[]};b.prototype.start=function(a){this.end();this.Sj=a;this.Cc=
a.Tc();this.HL();this.kA()};b.prototype.end=function(){this.Mx();this.Cc=this.Sj=q};b.prototype.Sd=function(a){a=a!=f.L;if(this.Qf!=a)(this.Qf=a)?this.kA():this.Mx()};b.prototype.UA=function(){this.Pv()};b.prototype.kA=function(){this.Dh=this.ju=0};b.prototype.Pv=function(){if(this.Cc&&this.Qf){var b=this.$b.slice(),f=this.g.JS(this.Cc),e=f-this.ju;if(e<0){this.$b=[];this.Dh=0}e=e>=0&&e<2;this.ju=f;var g;for(g=this.Dh;g<this.sf.length;g++)if(this.sf[g].time>f)break;for(;this.Dh<g;this.Dh++){f=this.sf[this.Dh];
if(f.action=="start"){this.$b=a(this.$b).union([f.cue]);e&&f.cue.trigger(new d(c.zj))}else{this.$b=a(this.$b).difference([f.cue]);e&&f.cue.trigger(new d(c.ua))}}(b.length!=this.$b.length||a(b).intersection(this.$b).length!=this.$b.length)&&this.zA()}};b.prototype.Mx=function(){if(this.$b.length>0){this.$b=[];this.zA()}};b.prototype.zA=function(){this.Sj.trigger(new d(k.ye,{activeCues:this.$b.slice()}))};b.prototype.HL=function(){this.sf=[];var b=this.Sj.get("cues",[]);a(b).each(function(a){this.sf.push(new j(a.get("startTime",
0),a,"start"));this.sf.push(new j(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.sf.sort(function(a,b){return a.time==b.time?a.action==b.start?0:a.action=="start"?-1:1:a.time-b.time})};return b});
define("iI",["hj","bL","dX","ji","hH"],function(a,b,c){var d=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.cv=[];this.X=d.Ei;this.og=q;this.mM=n;this.Ig=q;this.fj=this.D.get("transitionDuration");this.ei=n});d.prototype.display=function(a,b){this.qL();if(this.Ig!=a||this.X!=d.Ei)this.cv.push({video:a,startTime:b}),this.P0()};d.prototype.hide=function(){this.qL();this.cv.push({video:q,startTime:n});this.P0()};d.prototype.clear=function(){this.X=d.Ei;this.qL();this.Iga();this.RP();this.g=
q};d.prototype.rj=function(a){if(this.X!=d.Ei&&(this.X==d.wm||this.X==d.qx))this.ei+=a,a=Math.min(1,this.ei/this.fj),this.X==d.wm?this.g.Bg(this.og.Tc(),a):this.g.Bg(this.Ig.Tc(),1-a),this.ei<this.fj?this.fa():this.X==d.wm?this.FM():this.GM()};d.prototype.P0=function(){0<this.cv.length&&this.X==d.Ei&&this.Bo()};d.prototype.Bo=function(){this.Ig&&this.trigger(new b(d.Uq,{video:this.Ig}));if("fade_out_fade_in"==this.D.get("transitionMode","blending")&&this.Ig)this.Bx();else{var a=this.cv.shift();this.og=
a.video;this.mM=a.startTime;this.og?this.WK():this.Ig&&this.Bx()}};d.prototype.WK=function(){this.N9();this.ei=0;this.X=d.wm;this.fa()};d.prototype.FM=function(){this.RP();this.Ig=this.og;this.og=q;this.Lr()};d.prototype.Bx=function(){this.ei=0;this.X=d.qx;this.fa()};d.prototype.GM=function(){this.RP();this.Ig=q;this.Lr()};d.prototype.Lr=function(){this.X=d.Ei;this.Ig&&this.trigger(new b(d.Vq,{video:this.Ig}));0!=this.cv.length&&this.Bo()};d.prototype.fa=function(){this.trigger(new b(d.ra))};d.prototype.qL=
function(){this.cv=[]};d.prototype.N9=function(){this.og&&(this.g.eB(this.og.Tc()),this.g.WT(this.og.Tc(),this.mM||0),this.g.fB(this.og.Tc()),this.g.Bg(this.og.Tc(),0),this.trigger(new b(d.DJ,{video:this.og,startTime:this.mM})))};d.prototype.RP=function(){this.Ig&&(this.g.removeItem(this.Ig.Tc()),this.trigger(new b(d.BC,{video:this.Ig})),this.Ig=q)};d.prototype.Iga=function(){this.og&&(this.g.removeItem(this.og.Tc()),this.trigger(new b(d.BC,{video:this.og})),this.og=q)};d.Ei="stopped";d.wm="blending";
d.qx="disolving";d.ra="request frame";d.DJ="video added";d.BC="video removed";d.Vq="video show";d.Uq="video hide";return d});
define("fU","require,hj,ji,bL,dX,ew".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dX"),f=a("ew"),k=b.extend(g,function(a){g.call(this);this.g=a;this.g.bind(c.ua,this.UA,this);this.g.bind(c.W,this.Us,this,p);this.Cc=this.Sj=q;this.fd=y;this.ZL=f.L});k.prototype.start=function(a,b){this.end();this.Sj=a;if(this.Cc=a.Tc()){this.fd&&this.g.W6(this.Cc);this.ob(f.T);this.g.b7(this.Cc);this.g.WT(this.Cc,b||0)}};k.prototype.end=function(){this.stop();this.Cc=this.Sj=q};k.prototype.clear=function(){this.g.unbind(c.W,
this.Us,this,p);this.g.unbind(c.ua,this.UA,this);this.g=q};k.prototype.play=function(){if(this.Cc){this.ob(f.T);this.g.b7(this.Cc)}};k.prototype.pause=function(){if(this.Cc){this.ob(f.Jc);this.g.tna(this.Cc)}};k.prototype.stop=function(){if(this.Cc){this.ob(f.L);this.g.zpa(this.Cc)}};k.prototype.oq=function(){if(!this.fd){this.fd=p;this.Cc&&this.g.W6(this.Cc)}};k.prototype.Ct=function(){if(this.fd){this.fd=y;this.Cc&&this.g.Jpa(this.Cc)}};k.prototype.setTime=function(a){this.Cc&&this.g.WT(this.Cc,
a)};k.prototype.getTime=function(){if(this.Cc)return this.g.JS(this.Cc)};k.prototype.Us=function(a){a=a.data.item;this.Cc==a&&this.trigger(new d(k.Wq,{video:this.Sj,time:this.g.JS(a),duration:this.g.bma(a)}))};k.prototype.UA=function(a){if(this.Cc==a.data.item){if(this.Sj.get("loop")){this.setTime(0);this.play()}else this.ob(f.L);this.trigger(new d(k.Tq,{video:this.Sj}))}};k.prototype.ob=function(a){if(this.ZL!=a){this.ZL=a;this.trigger(new d(k.Fb,{state:this.ZL}))}};k.Fb="playback state change";
k.Tq="video end";k.Wq="video time change";return k});define("gK",["hj","bL","dX","S"],function(a,b,c,d){var g=a.extend(c,function(a){c.call(this);this.U=p;this.Wj=y;this.g=a});g.prototype.clear=function(){this.U=y;this.g=q};g.prototype.Aa=function(){this.Wj||(this.Wj=p,d.Aa(this.cf,this))};g.prototype.cf=function(a){this.U&&(this.Wj=y,this.trigger(new b(g.xJ,{frameTime:a})),this.g.render())};g.xJ="frame";return g});
define("fs","hj,bL,dX,hb,iI,fU,gK".split(","),function(a,b,c,d,g,f,k){var j=a.extend(c,function(a,b){c.call(this);this.D=a;this.g=b;this.sc=new k(this.g);this.xa=new g(this.D,this.g);this.$a=new f(this.g);this.Rj=new d(this.g);this.sc.bind(k.xJ,this.X0,this,p);this.xa.bind(g.ra,this.Vb,this,p);this.xa.bind(g.Uq,this.nk,this,p);this.xa.bind(g.Vq,this.Rh,this,p);this.xa.bind(g.DJ,this.d1,this,p);this.xa.bind(g.BC,this.i1,this,p);this.$a.bind(f.Fb,this.Ld,this,p);this.$a.bind(f.Tq,this.mk,this,p);this.$a.bind(f.Wq,
this.tz,this,p)});j.prototype.clear=function(){this.sc.clear();this.xa.clear();this.$a.clear();this.Rj.clear();this.sc.unbind(k.xJ,this.X0,this);this.xa.unbind(g.ra,this.Vb,this);this.xa.unbind(g.Uq,this.nk,this);this.xa.unbind(g.Vq,this.Rh,this);this.xa.unbind(g.DJ,this.d1,this);this.xa.unbind(g.BC,this.i1,this);this.$a.unbind(f.Fb,this.Ld,this);this.$a.unbind(f.Tq,this.mk,this);this.$a.unbind(f.Wq,this.tz,this);this.D=this.g=this.Rj=this.$a=this.xa=this.sc=q};j.prototype.ppa=function(a,b){this.xa.display(a,
b)};j.prototype.tt=function(){this.xa.hide();this.$a.end();this.Rj.end()};j.prototype.play=function(){this.$a.play()};j.prototype.stop=function(){this.$a.stop()};j.prototype.pause=function(){this.$a.pause()};j.prototype.oq=function(){this.$a.oq()};j.prototype.Ct=function(){this.$a.Ct()};j.prototype.setTime=function(a){this.$a.setTime(a)};j.prototype.getTime=function(){return this.$a.getTime()};j.prototype.Vb=function(){this.sc.Aa()};j.prototype.X0=function(a){this.xa.rj(a.data.frameTime)};j.prototype.d1=
function(a){var b=a.data.video;this.$a.start(b,a.data.startTime);this.Rj.start(b)};j.prototype.i1=D();j.prototype.Rh=function(a){this.trigger(new b(j.Vq,{video:a.data.video}))};j.prototype.nk=function(a){this.trigger(new b(j.Uq,{video:a.data.video}))};j.prototype.mk=function(a){this.trigger(new b(j.Tq,{video:a.data.video}))};j.prototype.tz=function(a){this.trigger(new b(j.Wq,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};j.prototype.Ld=function(a){a=a.data.state;this.Rj.Sd(a);this.trigger(new b(j.Fb,
{state:a}))};j.Vq="videoShow";j.Uq="videoHide";j.Tq="videoEnd";j.Wq="videoTimeChange";j.Fb="playbackStateChange";return j});
define("he","require,hj,ji,bL,dj,cd,fx,ew,fs,hK".split(","),function(a){var b=a("hj"),c=a("ji"),d=a("bL"),g=a("dj"),f=a("cd"),k=a("fx"),j=a("ew"),h=a("fs"),m=a("hK"),a=b.extend(k,function(){k.call(this,"video");this.set("clickAction","none");this.set("displayPlayOverlay",y);this.Ir=this.IQ=this.Us=this.wg=y;this.p=this.g=q;this.Hb=this.Xb=0;this.Xc=b.eo(this.Me,this)});g.A("VideoPlayer",a).B("Object").K({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",clickAction:"enum[play_pause, none]",displayPlayOverlay:"bool",displayPlaybackBar:"bool",currentTime:"number",state:"enum[stopped, playing, paused]",video:"Video",viewerArea:"ViewerArea"}).Cg({seek:function(a){this.Sz(a)},play:function(){this.Vu()},pause:function(){this.Uu()},
stop:function(){this.ns()},restart:function(){this.ms()}}).qc([f.Ue,f.Eg,k.ld]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.IQ=p;this.Xc();break;case "video":this.Us=p;this.Xc();break;case "viewerArea":this.wg=p;this.Xc();break;case "displayPlaybackBar":this.Ir=p;this.Xc()}k.prototype.set.call(this,a,b)}};a.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0}return k.prototype.get.call(this,a,b)};a.prototype.Me=function(){if(this.wg){this.wg=
y;this.Hr();this.get("viewerArea")&&this.Er();this.zG(this.get("viewerArea"));this.Us=p}var a=y;if(this.g&&(this.Us||this.IQ)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.bb()){this.Xc();return}this.IQ=this.Us=y;this.Hb=this.Xb=0;a=p;if(b){this.cG();this.p.ppa(b,c)}else this.p.tt()}if(this.Ir){this.Ir=y;a=p}a&&this.MA()};a.prototype.mA=function(){this.set("video",q)};a.prototype.Er=function(){var a=this.get("application"),b=this.get("viewerArea");this.g=new m(a,b,this);this.g.R({left:0,
top:0,bottom:0,right:0});b.qa(this.g);b.bind(c.V,this.l1,this,p);this.p=new h(b,this.g);this.p.bind(h.Vq,this.Rh,this);this.p.bind(h.Uq,this.nk,this);this.p.bind(h.Tq,this.mk,this,p);this.p.bind(h.Wq,this.tz,this,p);this.p.bind(h.Fb,this.Ld,this);a.bind(c.ha("mute"),this.kz,this);a.get("mute",y)&&this.p.oq();this.vv(p)};a.prototype.Hr=function(){if(this.g){this.p.unbind(h.Vq,this.Rh,this);this.p.unbind(h.Uq,this.nk,this);this.p.unbind(h.Tq,this.mk,this);this.p.unbind(h.Wq,this.tz,this);this.p.unbind(h.Fb,
this.Ld,this);this.p.clear();this.get("application").unbind(c.ha("mute"),this.kz,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.V,this.l1,this,p);this.g=q;this.vv(y)}};a.prototype.kz=function(){this.g&&(this.get("application").get("mute",y)?this.p.oq():this.p.Ct())};a.prototype.Ld=function(a){a=a.data.state;this.g&&this.g.cpa(this.get("displayPlayOverlay")&&a!=j.T);this.ob(a)};a.prototype.Rh=function(a){var b=this.get("viewerArea");(this.oc=b&&b.oc)&&this.oc.bind(c.V,this.m1,this,
p);this.nP=y;this.ZE(a.data.video)};a.prototype.nk=function(a){this.oc&&this.oc.unbind(c.V,this.m1,this,p);this.oc=q;this.YE(a.data.video)};a.prototype.mk=function(){this.get("video").trigger(new d(c.ua))};a.prototype.tz=function(a){this.Xb=a.data.time;this.Hb=a.data.duration;this.MA()};a.prototype.l1=function(){if(this.nP)this.nP=y;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=j.T?this.p.play():this.p.pause()}};a.prototype.m1=function(){this.nP=p};a.prototype.QF=function(a){this.Sz(a.data.position)};
a.prototype.tg=function(){this.p.play()};a.prototype.dj=function(){this.p.stop()};a.prototype.rk=function(){this.p.pause()};a.prototype.Sz=function(a){this.p&&this.p.setTime(a)};a.prototype.MA=function(){if(this.g){var a=this.g.getParent();this.Hb>0&&this.get("displayPlaybackBar")?a.R({playbackBarPosition:this.Xb,playbackBarDuration:this.Hb,playbackBarVisible:p}):a.set("playbackBarVisible",y)}};return a});
define("dt",["hj","dj","cd","cI"],function(a,b,c,d){a=a.extend(d,function(){d.call(this)});b.A("VideoPlayListItem",a).B("PlayListItem").K({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Ue,this.Rh,this),a.set("video",this.get("media")),a.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Ue,this.Rh,this),a.get("video")==this.get("media")&&
a.set("video",q));d.prototype.stop.call(this)};a.prototype.Rh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Ue,this.Rh,this),this.get("player").bind(c.Eg,this.nk,this),this.Vv())};a.prototype.nk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Eg,this.nk,this),this.end())};return a});
define("if",["require","hj","hA","dj","hv"],function(a){var b=a("hj"),c=a("hA"),d=a("dj"),g=a("hv"),a=b.extend(c,function(){c.call(this)});d.A("VideoResource",a).B("Object").K({mp4Url:"string",oggUrl:"string",subtitlesURL:"string",webmUrl:"string",width:"number",height:"number"}).vj(["mp4Url","oggUrl","subtitlesURL","webmUrl"]);a.prototype.Qe=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&g.WH?c:a&&g.XH?a:b&&g.TS?b:c||a||b};return a});
define("eo","require,jquery.mod,hj,ji,t,hL,d,ek".split(","),function(a){var b=a("jquery.mod"),c=a("hj"),d=a("ji"),g=a("t"),f=a("hL"),k=a("d"),j=a("ek"),a=c.extend(k,function(){k.call(this);this.Rc("WebFrame");this.Oy=this.Mr=this.Ee=this.cq=q;this.HO=this.HO.bind(this);this.nF=this.nF.bind(this);this.bind(d.qf,this.Sfa,this,p);this.bind(d.gg,this.Rfa,this,p)});a.prototype.oa=function(){k.prototype.oa.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",y);this.f("scrollEnabled",
p)};a.prototype.Sfa=function(){this.Fs("url")};a.prototype.Rfa=function(){this.Fs("url")};a.prototype.Ja=function(){k.prototype.Ja.call(this);if(!this.cq){this.cq=b("<div></div>");this.cq.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Ma().append(this.cq)}if(!this.Ee){this.Ee=b("<iframe></iframe>");this.Ee.css({position:"absolute",left:0,top:0});this.Ee.attr("allowfullscreen","true");this.Ee.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone");
this.cq.append(this.Ee)}if(!this.Mr){this.Mr=b("<div></div>");this.Mr.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":g.Xa()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.cq.append(this.Mr)}};a.prototype.ba=function(){if(this.m("url")){var a=this.j("url");a&&this.dp?this.R2(a):this.R2("");this.o("url")}if(this.m("insetBorder")){this.j("insetBorder")?
this.Ee.attr("frameborder","1"):this.Ee.attr("frameborder","0");this.o("insetBorder")}if(this.m("scrollEnabled")){if(this.j("scrollEnabled")){this.Ee.attr("scrolling","auto");this.cq.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.Ee.attr("scrolling","no");this.cq.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.o("scrollEnabled")}k.prototype.ba.call(this)};a.prototype.ie=function(){this.Ee&&j.css(this.Ee.get(0),{width:this.S+"px",height:this.aa+"px"});k.prototype.ie.call(this)};
a.prototype.refresh=function(){if(this.j("url")&&this.dp){this.zN();this.ED();this.cR();this.Ee.attr("src","");setTimeout(function(){this.r3();this.nX();this.Ee.attr("src",this.j("url"))}.bind(this),30)}};a.prototype.R2=function(a){if(this.Ee.attr("src")!=a){this.zN();if(a){this.r3();this.nX()}else{this.ED();this.cR()}this.Ee.attr("src",a)}};a.prototype.HO=function(){this.Oy=q;this.iea()&&this.qia()};a.prototype.nF=function(){this.zN();this.ED();this.cR()};a.prototype.nX=function(){this.Ee.on("load",
this.nF)};a.prototype.cR=function(){this.Ee.off("load",this.nF)};a.prototype.ED=function(){if(this.Oy){clearTimeout(this.Oy);this.Oy=q}};a.prototype.r3=function(){this.ED();this.Oy=setTimeout(this.HO.bind(this),3E3)};a.prototype.iea=function(){if(window.location.protocol=="https:"){var a=this.Ee.attr("src");if(f.parse(a).protocol!="https:")return p}return y};a.prototype.qia=function(){this.Mr.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Mr.show()};
a.prototype.zN=function(){this.Mr.hide()};return a});define("bC",["hj","eo","dj"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("WebFrame",a).B("UIComponent").K({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).vj(["url"]).Cg({refresh:function(){b.prototype.refresh.call(this)}});return a});define("cz",["cK","hj","iU","c"],function(a,b,c,d){var g=b.extend(c,function(){c.call(this)});g.Ya={layout:d.ze};a.defaults(g.Ya,c.Ya);g.prototype.oa=function(){this.Ji(g.Ya)};return g});
define("hT","cK,hj,ji,bL,X,c,iU,cz,eH,dO,d,iz,iM,fK".split(","),function(a,b,c,d,g,f,k,j,h,m,e,l,r,o){var s=b.extend(h,function(){h.call(this);this.Rc("Window");this.Do=this.du=this.wA=this.Og=q;this.aL=new k;this.xu=q;this.wN=this.vN=0;this.i3=this.j3=y;this.WR=this.XR=n;for(var a in s.Lqa)this.Fs(a);this.bind(c.sb,this.zka,this);this.bind(c.Xq,this.xka,this);this.bind(c.Jt,this.Aka,this);this.bind(c.V,this.wka,this);this.mH=0;this.Sc=new k;this.Sc.R({visible:y,includeInLayout:y,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:y});this.Sc.bind(c.sb,this.I4,this);this.Sc.bind(c.Jt,this.uka,this);this.Sc.bind(c.Xq,this.H4,this);this.Sc.bind(c.Xq,this.H4,this);this.Sc.bind(c.V,this.tka,this);this.Sc.qa(this)});s.prototype.set=function(a,b){switch(a){case "maxWidth":this.XR=b;this.aH();break;case "maxHeight":this.WR=b;this.aH();break;case "children":this.aL.set(a,b);break;case "shadow":this.j3=b;this.E4();break;default:h.prototype.set.call(this,a,b)}};s.prototype.show=
function(b,c){this.aH(b);this.set("visible",y);this.Sc.set("visible",y);this.s$();c&&this.$ka();b.set("children",b.get("children").concat([this.Sc]));var d=this;a.defer(function(){d.Sc.set("visible",p)})};s.prototype.s$=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.Sc.set("showEffect",b):this.Sc.set("showEffect",q);a&&c?this.Sc.set("hideEffect",c):this.Sc.set("hideEffect",q)};s.prototype.hide=function(){this.get("visible")&&this.trigger(c.BU);this.mH=
0;this.xG(y);this.set("visible",y)};s.prototype.$ka=function(){this.set("centerX",0);this.set("centerY",0)};s.prototype.get=function(a,b){return a=="children"?this.aL.get(a,b):h.prototype.get.call(this,a,b)};s.rW={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"};s.qW=a(s.rW).keys();s.lK={borderRadius:"borderTopRadius",
borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};s.kK=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];s.KW={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titlePaddingLeft:"paddingLeft",
titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};s.JW=a(s.KW).keys();s.lW={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"};s.kW=a(s.lW).keys();s.nW={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"};s.mW=a(s.nW).keys();s.pW={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};
s.oW=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius","borderRadius"];s.hW={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",scrollBarOpacity:"scrollBarOpacity",gap:"gap"};s.gW=a(s.hW).keys();s.iW={layout:"layout",
horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};s.r9=a(s.iW).keys();s.MW={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};s.LW=a(s.MW).keys();s.Ya=function(){var b={modal:y,visible:y,centerX:0,centerY:0,veilShowEffect:n,veilHideEffect:n};a.defaults(b,k.Ya);for(var c=[].concat(s.qW,s.JW,s.kW,s.gW,s.mW,s.LW),d=0;d<c.length;d++)b[c[d]]=n;return b}();s.prototype.oa=function(){this.Ji(s.Ya)};
s.prototype.Ja=function(){h.prototype.Ja.call(this);if(this.Og==q){this.Og=new j;this.Og.set("width","100%");this.Og.bind(c.pb,this.Dda,this);this.qa(this.Og)}if(this.wA==q){this.wA=new o;this.wA.set("width","100%");this.Og.qa(this.wA)}if(this.du==q){this.du=new m;this.du.R({horizontalAlign:g.vc,verticalAlign:g.fc});this.du.bind(c.V,this.Baa,this);this.Og.qa(this.du)}if(this.Do==q){this.Do=this.aL;this.Do.R({width:"100%",height:"100%"});this.qa(this.Do)}if(this.xu==q){this.xu=new k;this.xu.set("width",
"100%");this.qa(this.xu)}};s.prototype.tka=function(){this.mH++;setTimeout(function(){this.mH>0&&this.hide()}.bind(this),100)};s.prototype.wka=function(){this.mH--};s.prototype.Baa=function(){this.hide()};s.prototype.Dda=function(a){this.vN=a.pageX;this.wN=a.pageY;this.bb().bind(c.wc,this.T4,this,p);this.bb().bind(c.Gb,this.U4,this,p)};s.prototype.T4=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.vN));this.set("centerY",this.get("centerY")+(a.pageY-this.wN));this.vN=a.pageX;this.wN=
a.pageY;this.D4()};s.prototype.U4=function(){this.bb().unbind(c.wc,this.T4,this);this.bb().unbind(c.Gb,this.U4,this)};s.prototype.I4=function(){this.aH()};s.prototype.uka=function(){this.set("visible",p)};s.prototype.H4=function(){this.Sc.unbind(c.sb,this.I4,this);var a=this.Sc.getParent();a&&a.removeChild(this.Sc);this.trigger(new d(c.Hq))};s.prototype.zka=function(){this.D4()};s.prototype.Aka=function(){this.xG(p)};s.prototype.xka=function(){this.Sc.set("visible",y)};s.prototype.xG=function(a){this.i3=
a;this.E4()};s.prototype.E4=function(){h.prototype.set.call(this,"shadow",this.i3&&this.j3)};s.prototype.aH=function(a){a||(a=this.Q);this.XR!==n?h.prototype.set.call(this,"maxWidth",this.XR):a?h.prototype.set.call(this,"maxWidth",a.za()):h.prototype.set.call(this,"maxWidth",n);this.WR!==n?h.prototype.set.call(this,"maxHeight",this.WR):a?h.prototype.set.call(this,"maxHeight",a.ab()):h.prototype.set.call(this,"maxHeight",n)};s.prototype.D4=function(){var a=this.Sc.za(),b=this.za(),c=this.get("centerX"),
b=a*0.5+c-b*0.5,d=this.Og.jh(),e=this.Og.za(),f=Math.min(e,30),a=a-d-f,d=-(d+e-f);b<d?this.set("centerX",c+(d-b)):b>a&&this.set("centerX",c-(b-a));a=this.Sc.ab();b=this.ab();c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.Og.Xl();e=this.Og.ab();f=Math.min(e,5);a=a-d-f;d=-(d+e-f);b<d?this.set("centerY",c+(d-b)):b>a&&this.set("centerY",c-(b-a))};s.prototype.ba=function(){this.Ua(s.qW,s.rW,[this.Og],p,p);this.Ua(s.kK,s.lK,[this.Og],p,y);this.get("headerHeight")===0?this.Ua(s.kK,s.lK,[this.Do],p,y):this.Ua(s.kK,
s.lK,[this.Og],p,y);this.Ua(s.JW,s.KW,[this.wA],p,p);this.Ua(s.kW,s.lW,[this.du],p,p);this.Ua(s.gW,s.hW,[this.Do],p,p);this.Ua(s.r9,s.iW,[this.Do],p,y);this.Ua(s.mW,s.nW,[this.xu],p,p);this.get("footerHeight")===0?this.Ua(s.oW,s.pW,[this.Do],p,y):this.Ua(s.oW,s.pW,[this.xu],p,y);if(this.j("modal")){this.Ua(s.LW,s.MW,[this.Sc],p,p);this.Sc.set("contentOpaque",p)}else{this.Sc.set("backgroundOpacity",0);this.Sc.set("contentOpaque",y)}this.R({layout:f.Ve,horizontalAlign:g.vc,verticalAlign:g.fc});h.prototype.ba.call(this);
this.Ni.zI(0)};return s});
define("cL",["cK","hj","hT","dj","ji"],function(a,b,c,d,g){a=b.extend(c,function(){c.call(this)});d.A("Window",a).B("Container").K({modal:"bool",headerBackgroundOpacity:"number",headerBackgroundColor:"or[array[color], color]",headerBackgroundColorRatios:"array[number]",headerBackgroundColorDirection:"enum[horizontal, vertical]",headerBorderSize:"number",headerBorderLeftSize:"number",headerBorderTopSize:"number",headerBorderRightSize:"number",headerBorderBottomSize:"number",headerBorderColor:"color",
headerBorderLeftColor:"color",headerBorderTopColor:"color",headerBorderRightColor:"color",headerBorderBottomColor:"color",headerHeight:"number",headerPaddingLeft:"number",headerPaddingTop:"number",headerPaddingRight:"number",headerPaddingBottom:"number",headerVerticalAlign:"enum[bottom, middle, top]",title:"string",titleFontFamily:"string",titleFontSize:"or[number, size]",titleFontColor:"color",titleFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",titleFontStyle:"enum[italic, normal]",
titlePaddingLeft:"number",titlePaddingTop:"number",titlePaddingRight:"number",titlePaddingBottom:"number",titleTextDecoration:"enum[underline, overline, line-through, none]",titleTextShadowBlurRadius:"number",titleTextShadowColor:"color",titleTextShadowHorizontalLength:"number",titleTextShadowOpacity:"number",titleTextShadowVerticalLength:"number",closeButtonBackgroundColor:"or[array[color], color]",closeButtonBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonBackgroundColorRatios:"array[number]",
closeButtonBackgroundOpacity:"number",closeButtonBorderColor:"color",closeButtonBorderRadius:"number",closeButtonBorderSize:"number",closeButtonHeight:"number",closeButtonIconColor:"color",closeButtonIconHeight:"number",closeButtonIconLineWidth:"number",closeButtonIconWidth:"number",closeButtonOpacity:"number",closeButtonWidth:"number",closeButtonPaddingBottom:"number",closeButtonPaddingLeft:"number",closeButtonPaddingRight:"number",closeButtonPaddingTop:"number",closeButtonRollOverBackgroundColor:"or[array[color], color]",
closeButtonRollOverBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonRollOverBackgroundColorRatios:"array[number]",closeButtonRollOverBackgroundOpacity:"number",closeButtonRollOverBorderColor:"color",closeButtonRollOverBorderSize:"number",closeButtonRollOverIconColor:"color",closeButtonRollOverIconLineWidth:"number",closeButtonRollOverOpacity:"number",closeButtonPressedBackgroundColor:"or[array[color], color]",closeButtonPressedBackgroundColorDirection:"enum[horizontal, vertical]",
closeButtonPressedBackgroundColorRatios:"array[number]",closeButtonPressedBackgroundOpacity:"number",closeButtonPressedBorderColor:"color",closeButtonPressedBorderSize:"number",closeButtonPressedIconColor:"color",closeButtonPressedIconLineWidth:"number",closeButtonPressedOpacity:"number",footerBackgroundOpacity:"number",footerBackgroundColor:"or[array[color], color]",footerBackgroundColorRatios:"array[number]",footerBackgroundColorDirection:"enum[horizontal, vertical]",footerBorderSize:"number",footerBorderLeftSize:"number",
footerBorderTopSize:"number",footerBorderRightSize:"number",footerBorderBottomSize:"number",footerBorderColor:"color",footerBorderLeftColor:"color",footerBorderTopColor:"color",footerBorderRightColor:"color",footerBorderBottomColor:"color",footerHeight:"number",bodyBackgroundOpacity:"number",bodyBackgroundColor:"or[array[color], color]",bodyBackgroundColorRatios:"array[number]",bodyBackgroundColorDirection:"enum[horizontal, vertical]",bodyBorderSize:"number",bodyBorderLeftSize:"number",bodyBorderTopSize:"number",
bodyBorderRightSize:"number",bodyBorderBottomSize:"number",bodyBorderColor:"color",bodyBorderLeftColor:"color",bodyBorderTopColor:"color",bodyBorderRightColor:"color",bodyBorderBottomColor:"color",bodyPaddingLeft:"number",bodyPaddingTop:"number",bodyPaddingRight:"number",bodyPaddingBottom:"number",veilOpacity:"number",veilColor:"or[array[color], color]",veilColorRatios:"array[number]",veilColorDirection:"enum[horizontal, vertical]",veilHideEffect:"Effect",veilShowEffect:"Effect"}).ko(["titleFontSize"]).Cg({show:a.prototype.show,
hide:a.prototype.hide}).qc([g.BU,g.Hq]);return a});
define("ik","require,jquery.mod,cK,ji,fc,bL,dX,S,iX,bk,gL,hH,t,hj".split(","),function(a){function b(a){this.source=a;this.width=this.source.get("width");this.height=this.source.get("height");this.url=this.source.get("url");this.rw=this.source.get("grayscale");this.bo=new l(f.Yk)}var c=a("jquery.mod"),d=a("cK"),g=a("ji"),f=a("fc"),k=a("bL"),j=a("dX"),h=a("S"),m=a("iX"),e=a("bk"),l=a("gL"),r=a("hH"),o=a("t"),s=a("hj"),t=s.extend(j,function(){j.call(this);this.Yd=q;this.ZZ=[];this.Ih=[];this.Ka=this.Ca=
this.Ta=this.Ra=100;this.Oc=1;this.Ho=this.Go=0.5;this.Ob=1;this.Jf=this.vf=q;this.IF=y;this.PL={};this.iu={};this.iu.low={};this.iu.hight={};if(o.Wv()==o.Vw){this.iu.low.transform="translateZ(0)";this.iu.hight.transform=""}this.U=y;this.Ce="inherit";this.v=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.qy=q;this.Ec=s.eo(this.J,this)});t.prototype.lb=O("v");t.prototype.zq=function(a){if(this.Gc!=a){this.Gc=a;this.QK(1);this.Ec()}};t.prototype.ooa=function(a){if(this.Ce!=
a){this.Ce=a;this.Jf&&this.Jf.css("cursor",this.Ce);this.vf&&this.vf.css("cursor",this.Ce)}};t.prototype.zoa=function(a){if(this.ZZ!=a){this.nL();this.Yd=q;if(this.vf){this.vf.detach();this.vf=q}if(this.Jf){this.Jf.detach();this.Jf=q}if(this.me)this.me=q;this.nL();this.IF=y;d(this.Ih).each(function(a){a.bo.cancel();a.bo.unbind(g.P,this.w_,this)},this);a=(this.ZZ=a)&&a.get("levels")||[];this.Ih=d(a).map(function(a){a=new b(a);a.bo.bind(g.P,this.w_,this);return a},this);if(a=this.Pca()){this.Ca=a.width;
this.Ka=a.height}else this.Ka=this.Ca=100;this.Ho=this.Go=0.5;this.QK(1);this.Ec()}};t.prototype.hm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Ec()}};t.prototype.poa=function(a,b){if(this.vY!=a||this.uY!=b){this.vY=a;this.uY=b;this.Ec()}};t.prototype.vd=function(a){if(this.U!=a){this.U=a;this.Ec()}};t.prototype.move=function(a,b){var c=this.Oc*this.Ob;this.Go=this.Go+a/(this.Ca*c);this.Ho=this.Ho+b/(this.Ka*c);this.dG()};t.prototype.jt=O("Ob");t.prototype.setScale=function(a){this.QK(Math.max(1,
Math.min(1/this.Oc,a)));this.Yd&&this.Yd.width<this.Ob*this.Oc*this.Ca&&this.Yd.width<this.Ca?this.J():this.dG()};t.prototype.I6=function(a){if(!this.vf)return y;var b=this.vf.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.vf.width()&&a<this.vf.height()};t.prototype.J=function(){if(this.U){this.lka();var a=this.Vca();if(a&&a.bo.$n()){if(a!=this.Yd){if(!this.Yd){this.Ec();this.IF=p}this.uba(a);this.Yd=a}this.W2(q)}else this.W2(a);this.dG()}};t.prototype.lka=function(){var a;switch(this.Gc){case r.Hj:a=
this.Ra/this.Ca;break;case r.fg:a=this.Ta/this.Ka;break;case r.Vk:a=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;case r.o8:a=Math.min(this.vY/this.Ca,this.uY/this.Ka);break;default:a=this.Ca*this.Ta>this.Ka*this.Ra?this.Ra/this.Ca:this.Ta/this.Ka}this.q$(a)};t.prototype.w_=function(){this.Ec()};t.prototype.uba=function(a){if(this.Jf){this.nQ(this.Jf,1);this.vf&&this.vf.detach();this.vf=this.Jf}this.Jf=this.Xaa(a);this.nQ(this.Jf,0);this.v.append(this.Jf);this.me=this.Uaa();
this.PL={}};t.prototype.Vca=function(){return this.Yd?this.nca(this.Ob*this.Oc*this.Ca):this.ida()};t.prototype.W2=function(a){d(this.Ih).each(function(b){b==a?b.bo.Qe()!=b.url&&b.bo.load(b.url):b.bo.$n()||b.bo.cancel()})};t.prototype.Pca=function(){return d(this.Ih).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.rw&&a.rw)a=b;return a},q)};t.prototype.ida=function(){return d(this.Ih).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.rw&&!a.rw)a=b;return a},
q)};t.prototype.nca=function(a){return d(this.Ih).reduce(function(b,c){b||(b=c);if(c.width>=a&&b.width<a||c.width>=a&&c.width<b.width||c.width<a&&c.width>b.width||!c.rw&&b.rw)b=c;return b},q)};t.prototype.Xaa=function(a){a=c(a.bo.Dd(p));a.css({position:"absolute",cursor:this.Ce,"pointer-events":"none"});return a};t.prototype.Uaa=function(){return new m("linear",[new e("alpha",0,1)],200)};t.prototype.dG=function(){h.Aa(function(a){this.iv(a,"low")},this)};t.prototype.GS=function(){return this.Ca*this.Ob*
this.Oc};t.prototype.FS=function(){return this.Ka*this.Ob*this.Oc};t.prototype.B5=function(){var a=this.GS();return a>this.Ra?Math.max(this.Ra-a,Math.min(0,this.Ra*0.5-a*this.Go)):(this.Ra-a)*0.5};t.prototype.C5=function(){var a=this.FS();return a>this.Ta?Math.max(this.Ta-a,Math.min(0,this.Ta*0.5-a*this.Ho)):(this.Ta-a)*0.5};t.prototype.iv=function(a,b){var b=b||"low",c=this.GS(),d=this.B5(),e=this.FS(),f=this.C5();this.Go=(this.Ra*0.5-d)/c;this.Ho=(this.Ta*0.5-f)/e;var c={left:Math.round(d)+"px",
top:Math.round(f)+"px",width:Math.round(c)+"px",height:Math.round(e)+"px",display:"block"},h;for(h in this.iu[b])c[h]=this.iu[b][h];if(this.PL!=c){this.vf&&this.vf.css(c);this.Jf&&this.Jf.css(c);this.PL=c}this.nL();if(this.me){this.me.cb(a);this.nQ(this.Jf,this.me.kb("alpha"));if(this.me.he()){this.me=q;this.vf&&this.vf.detach();this.vf=this.Jf;this.Jf=q}this.dG()}else b=="low"&&this.Aia();if(!this.me&&this.IF){this.IF=y;this.trigger(new k(g.P))}};t.prototype.nQ=function(a,b){a.css({opacity:b,filter:"alpha(opacity="+
Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};t.prototype.nL=function(){if(this.qy!=q){clearTimeout(this.qy);this.qy=q}};t.prototype.Aia=function(){var a=this;this.qy=setTimeout(function(){a.qy=q;a.iv(50,"hight")},50)};t.prototype.QK=function(a){if(this.Ob!=a){this.Ob=a;this.wja()}};t.prototype.q$=function(a){if(this.Oc!=a)this.Oc=a};t.prototype.wja=function(){this.trigger(new k(t.$w,{scale:this.Ob}))};t.$w="scaleChange";return t});
define("gE","require,jquery.mod,ji,bL,ik,hj,d,F".split(","),function(a){a("jquery.mod");var b=a("ji"),c=a("bL"),d=a("ik"),g=a("hj"),f=a("d"),k=a("F"),j=g.extend(f,function(){f.call(this);this.Rc("ZoomImage");this.wn=this.Xh=n;this.bh=y;this.P1=n;this.c_=this.Ob;this.SA=q;this.g=new d;this.g.bind(b.P,this.Cfa,this);this.g.bind(d.$w,this.Dfa,this);this.Ma().append(this.g.lb());this.bind(b.sb,this.ib,this,p);this.bind(b.qf,this.Qh,this,p);this.bind(b.gg,this.Nh,this,p);this.bind(b.pb,this.Mb,this,p);
this.bind(b.wc,this.Kh,this,p);this.bind(b.Gb,this.Of,this,p);this.bind(b.so,this.ds,this,p);this.bind(b.Ht,this.Qr,this,p)});j.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.jt();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}f.prototype.set.call(this,a,b)};j.prototype.get=function(a,b){switch(a){case "scale":return this.g.jt();case "imageLeft":return this.g.B5();case "imageTop":return this.g.C5();case "imageWidth":return this.g.GS();
case "imageHeight":return this.g.FS()}return f.prototype.get.call(this,a,b)};j.prototype.oa=function(){f.prototype.oa.call(this);this.f("image");this.f("scaleMode");this.f("customHeight");this.f("customWidth");this.f("imageCursor");this.f("imageLeft");this.f("imageTop");this.f("imageWidth");this.f("imageHeight")};j.prototype.ba=function(){if(this.m("scaleMode")){this.g.zq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("image")){this.g.zoa(this.j("image"));this.o("image");this.c_=this.Ob}if(this.m("customHeight")||
this.m("customWidth")){this.o("customHeight");this.o("customWidth");this.ib()}if(this.m("imageCursor")){this.o("imageCursor");this.g.ooa(this.va.eM.w5(this.get("imageCursor")))}f.prototype.ba.call(this)};j.prototype.ib=function(){var a=this.za(),b=this.ab(),c=this.get("customWidth","100%"),d=k.qj(c),c=d!==n?a*d/100:c,d=this.get("customHeight","100%"),f=k.qj(d);this.g.poa(c,f!==n?b*f/100:d);this.g.hm(a,b)};j.prototype.Qh=function(){this.g.vd(p)};j.prototype.Nh=function(){this.g.vd(y)};j.prototype.Mb=
function(a){this.Xh=a.x;this.wn=a.y;this.bh=p;this.P1=this.g.I6(a)};j.prototype.Kh=function(a){if(this.bh){this.IR();this.g.move(-(a.x-this.Xh),-(a.y-this.wn));this.Xh=a.x;this.wn=a.y}};j.prototype.Of=function(a){this.bh=y;!this.P1&&!this.g.I6(a)&&this.trigger(new c(j.LU))};j.prototype.ds=function(a){this.IR();this.g.setScale((1+a.Qn/20)*this.g.jt())};j.prototype.Qr=function(a){this.IR();this.g.setScale(a.scale/this.c_)};j.prototype.Cfa=function(){this.trigger(new c(b.P))};j.prototype.Dfa=function(){f.prototype.set.call(this,
"scale",this.g.jt());this.trigger(new c(j.$w))};j.prototype.IR=function(){if(this.SA){clearTimeout(this.SA);this.SA=q}else this.trigger(new c(j.Ud));this.SA=setTimeout(function(){this.SA=q;this.trigger(new c(j.Td))}.bind(this),300)};j.LU="backgroundClick";j.$w="scaleChange";j.Ud="userInteractionStart";j.Td="userInteractionEnd";return j});
define("iN",["hj","ji","gE","dj"],function(a,b,c,d){a=a.extend(c,function(){c.call(this)});d.A("ZoomImage",a).B("UIComponent").K({scaleMode:"enum[fit_inside, fit_outside, fit_to_width, fit_to_height, custom]",customHeight:"or[number,percent]",customWidth:"or[number,percent]",image:"ImageResource",imageCursor:"enum[default, hand]",imageHeight:"number",imageLeft:"number",imageTop:"number",imageWidth:"number",scale:"number"}).qc([c.LU,c.$w,c.Ud,c.Td,b.P]);return Image});
define("fP","fX,cR,dc,iV,gh,dH,eY,fW,hz,iZ,eC,ff,es,dC,bh,iJ,gk,hV,dy,p,fT,cF,cH,gn,it,fq,hD,ez,B,bT,s,hu,dV,L,gB,bf,eT,is,iT,dm,hE,fR,bn,iW,ip,gY,E,jA,cP,fI,iS,o,gN,fb,hS,fz,jy,eF,ib,ba,bP,bp,hq,fy,jt,dW,iY,bN,hn,dG,gd,fn,gA,ej,ex,iy,eX,gG,gT,dP,fC,bD,db,cI,G,jj,hI,dp,en,ha,bB,ft,df,iQ,P,eg,cm,ig,fa,gb,gy,eJ,bv,w,ct,bq,gu,ge,jd,dF,ev,bA,he,dt,if,bg,bC,cL,iN".split(","),Q(p));
define("ec","require,cK,jquery.mod,hj,dj,fP,hL".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function c(){}var d=a("cK"),g=a("jquery.mod"),f=a("hj"),k=a("dj");a("fP");a("hL");c.prototype.rna=function(a,b,c,d){this.JM=[];this.Lp=this.gv(a);this.cp=n;if(this.Lp.Pn.G5()){this.cp=this.cZ(this.Lp,j.Di);this.$aa(this.cp,this.Lp,b,c,d);this.l$(this.Lp);this.j$(this.Lp,this.cp);this.m$(this.cp,this.Lp);this.A$(this.cp,this.Lp)}else this.Jj("Invalid root class",[]);return this.JM.length==
0};c.prototype.bb=function(){return this.Lp.$c};c.prototype.gv=function(a,b){b=b||[];return d(a).isArray()?this.yga(a,b):g.isPlainObject(a)&&a["class"]?this.Bga(a,b):g.isPlainObject(a)?this.zga(a,b):d(a).isFunction()?this.Aga(a,b):this.Cga(a,b)};c.prototype.yga=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.gv(a[d],b));b.pop()}return new h(b.slice(),c)};c.prototype.Bga=function(a,b){var c=a["class"],d=k.Vl(a["class"]);if(d){var e,c={},f={},g;for(g in a){b.push(g);
var h=a[g];switch(g){case "class":break;case "scripts":e=this.gv(h,b);break;default:d.hasAttribute(g)?c[g]=this.gv(h,b):d.f6(g)||d.h6(g)?f[g]=this.gv(h,b):this.Jj(d.gw()+" object doesn't have any attribute named "+g,b)}b.pop()}return new j(b.slice(),d,a.id,c,f,e)}this.Jj("Undefined class name: "+c,b.slice());return new l(b.slice(),q)};c.prototype.zga=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.gv(a[d],b);b.pop()}return new m(b.slice(),c)};c.prototype.Aga=function(a,b){return new e(b.slice(),
a)};c.prototype.Cga=function(a,b){return new l(b.slice(),a)};c.prototype.cZ=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Pa();d<e.length;d++)c=c.concat(this.cZ(e[d],b));return c};c.prototype.$aa=function(a,b,c,d,e){b.$c=b.Pn.fq(q,d,e,[c]);b.$c.set("application",b.$c);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.$c=f.Pn.fq(b.$c,d,e)}};c.prototype.l$=function(a){if(a.scripts)if(a.scripts.type==m.Di)for(var b in a.scripts.value)this.k$(a,b);else this.Jj("Invalid content.",a.scripts.stack)};c.prototype.k$=
function(a,b){var c=a.$c,f=a.scripts.value[b];d(c[b]).isUndefined()?f&&f.type==e.Di?c[b]=function(){return f.dm().apply(c,arguments)}:this.Jj("Invalid content.",f.stack):this.Jj("Identifier: "+b+" is already in use",f.stack)};c.prototype.j$=function(a,b){for(var c=a.$c,e=0;e<b.length;e++){var f=b[e],g=f.id;if(g)d(c[g]).isUndefined()?c[g]=f.$c:this.Jj("Identifier: "+g+" is arleady in use",f.stack)}};c.prototype.m$=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,f;for(f in e)this.i$(d,
f,b)}};c.prototype.i$=function(a,b,c){var d=a.Pn;if(d.hasAttribute(b)){var e=a.attributes[b].dm();try{e=d.zS(b)(e,c.$c);a.$c.set(b,e)}catch(f){this.Jj("Invalid value for property "+b+" of "+d.gw()+" instance",a.stack)}}else this.Jj(d.gw()+" object doesn't have any property named "+b,a.stack)};c.prototype.A$=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.bt)this.z$(d,e,b)}};c.prototype.z$=function(a,b,c){var e=a.Pn,f=a.$c,g=e.f6(b),h=e.h6(b);if(g||h){var a=a.bt[b],j=a.dm();d(j).isFunction()?
f.bind(b,j,c.$c,h,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},c.$c,h,j):this.Jj("Invalid value.",a.stack)}else this.Jj(e.gw()+" object doesn't have any event named "+b,a.stack)};c.prototype.Jj=function(a,b){this.JM.push("In "+b.join(" >> ")+": "+a)};b.prototype.Pa=function(){return[]};b.prototype.dm=D();var j=f.extend(b,function(a,c,d,e,f,g){b.call(this,j.Di,a);this.Pn=c;this.id=d;this.attributes=e;this.bt=f;this.scripts=g;this.$c=q});j.prototype.Pa=function(){var a=
this.Pn.N5(),b=[],c=d(this.attributes).clone();if(a)for(var e=0;e<a.length;e++){var f=a[e];if(c[f]!=n){b.push(c[f]);delete c[f]}}return b=b.concat(d(c).values())};j.prototype.dm=O("$c");j.Di="instance";var h=f.extend(b,function(a,c){b.call(this,h.Di,a);this.pj=c});h.prototype.Pa=function(){return this.pj.slice()};h.prototype.dm=function(){for(var a=[],b=0;b<this.pj.length;b++)a.push(this.pj[b].dm());return a};h.Di="array";var m=f.extend(b,function(a,c){b.call(this,m.Di,a);this.value=c});m.prototype.Pa=
function(){return d(this.value).values()};m.prototype.dm=function(){var a={},b;for(b in this.value)a[b]=this.value[b].dm();return a};m.Di="dict";var e=f.extend(b,function(a,c){b.call(this,e.Di,a);this.value=c});e.prototype.dm=O("value");e.Di="function";var l=f.extend(b,function(a,c){b.call(this,l.Di,a);this.value=c});l.prototype.dm=O("value");l.Di="simple";return c});
define("ih","require,cK,ji,bL,dj,ec,t,dd,hL,bd,eL,im,jh,in,hj".split(","),function(a){function b(a,b){j.Xa()&&!j.mf()&&o.Pd();var c=l.name,d=[];c&&d.push(c);d.push("v:"+l.hT+"."+l.oT);s.log(d.join(" "));this.wj=b;if(m.Vma()||[j.Dq,j.Eq].indexOf(j.browser())>=0){this.Th=new k;if(c=this.wj.get(TDV.PlayerSettings.BASE_DIR_URL)){c=m.Aq(c);c[c.length-1]!="/"&&(c=c+"/")}else c=m.getDirectory(this.wj.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.f7=this.wj.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
h.Fna(c,function(b){this.a5=b;this.Zfa(a)}.bind(this))}else window.alert(r("web-server-required"))}var c=a("cK"),d=a("ji"),g=a("bL"),f=a("dj"),k=a("ec"),j=a("t"),h=a("dd"),m=a("hL");a("bd");var e=a("eL"),l=a("im"),r=a("jh"),o=a("in"),s=a("hj");b.prototype.Zfa=function(a){a.trigger(new TDV.SJ(d.X8,{},[],n));c.defer(function(){if(!this.Th.rna(this.wj.get(TDV.PlayerSettings.SCRIPT_DATA),this.wj.get(TDV.PlayerSettings.CONTAINER),this.a5,this.f7)){if(l.Apa!="false"){window.alert(this.EZ());return}s.log(this.EZ())}this.y$(a);
this.g$(this.wj);this.n$();this.yja()}.bind(this))};b.prototype.clear=function(){if(this.Th){c(this.Th.cp).each(function(a){a.$c.c8();c(a.Pn.uB()).each(function(b){switch(b){case "VideoPlayer":a.$c.stop();case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.$c.set("viewerArea",q);break;case "ZoomImage":a.$c.set("image",q);break;case "Audio":a.$c.stop();break;case "Effect":a.$c.end();break;case "Media":a.$c.Qna()}})});e.yna();this.Th.bb().clear();this.wj=this.Th=q}};
b.prototype.pma=function(a){return this.Th.bb()[a]};b.prototype.T5=function(a){var b=[];c(this.Th.cp).each(function(d){var e=d.Pn.uB();c(e).contains(a)&&b.push(d.$c)});return b};b.prototype.fq=function(a){var b=f.Vl(a);b||i("Invalid className: "+a);return b.fq(this.Th.bb(),this.a5,this.f7)};b.prototype.EZ=function(){for(var a=this.Th.JM,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.y$=function(a){c(this.Th.cp).each(function(b){var d=b.Pn,e=b.$c,
f=b.id,g=d.uB();c.union(d.CS(),d.HS()).forEach(function(b){e.bind(b,function(c){a.trigger(new TDV.SJ(b,c,g,f))},this,p)})})};b.prototype.g$=function(a){this.Th.bb().set("settings",a)};b.prototype.n$=function(){var a=this.Th.bb(),b=this;a.getByClassName=a.Vl=function(){return b.T5.apply(b,arguments)};a.createInstance=a.fq=function(){return b.fq.apply(b,arguments)};a.isInstanceOfClass=a.vb=function(){return f.vb.apply(f,arguments)}};b.prototype.yja=function(){this.Th.bb().trigger(new g("start"))};b.Hpa=
function(a){a.trigger(new TDV.SJ(d.F8,{},[],n))};return b});define("main",["require","jquery.mod","ih"],function(a){var b=a("jquery.mod"),c=a("ih");b(document).ready(function(){TDV.wa.dpa(c)})});
// threejs.org/license
(function(h,Fa){Fa(h.THREE=h.THREE||{})})(this,function(h){function Fa(){}function x(a,b){this.x=a||0;this.y=b||0}function Da(a,b,c,d){this._x=a||0;this._y=b||0;this._z=c||0;this._w=void 0!==d?d:1}function n(a,b,c){this.x=a||0;this.y=b||0;this.z=c||0}function za(){this.elements=[1,0,0,0,1,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}
function T(a,b,c,d,e,f,g,k,l,m){Object.defineProperty(this,"id",{value:mj++});this.uuid=O.generateUUID();this.name="";this.image=void 0!==a?a:T.DEFAULT_IMAGE;this.mipmaps=[];this.mapping=void 0!==b?b:T.DEFAULT_MAPPING;this.wrapS=void 0!==c?c:1001;this.wrapT=void 0!==d?d:1001;this.magFilter=void 0!==e?e:1006;this.minFilter=void 0!==f?f:1008;this.anisotropy=void 0!==l?l:1;this.format=void 0!==g?g:1023;this.internalFormat=null;this.type=void 0!==k?k:1009;this.offset=new x(0,0);this.repeat=new x(1,1);
this.center=new x(0,0);this.rotation=0;this.matrixAutoUpdate=!0;this.matrix=new za;this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.unpackAlignment=4;this.encoding=void 0!==m?m:3E3;this.version=0;this.onUpdate=null}function S(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1}function va(a,b,c){this.width=a;this.height=b;this.scissor=new S(0,0,a,b);this.scissorTest=!1;this.viewport=new S(0,0,a,b);c=c||{};this.texture=new T(void 0,void 0,c.wrapS,c.wrapT,c.magFilter,
c.minFilter,c.format,c.type,c.anisotropy,c.encoding);this.texture.image={};this.texture.image.width=a;this.texture.image.height=b;this.texture.generateMipmaps=void 0!==c.generateMipmaps?c.generateMipmaps:!1;this.texture.minFilter=void 0!==c.minFilter?c.minFilter:1006;this.depthBuffer=void 0!==c.depthBuffer?c.depthBuffer:!0;this.stencilBuffer=void 0!==c.stencilBuffer?c.stencilBuffer:!0;this.depthTexture=void 0!==c.depthTexture?c.depthTexture:null}function Zf(a,b,c){va.call(this,a,b,c);this.samples=
4}function P(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}function Ub(a,b,c,d){this._x=a||0;this._y=b||0;this._z=c||0;this._order=d||Ub.DefaultOrder}function $f(){this.mask=1}function D(){Object.defineProperty(this,"id",{value:nj++});this.uuid=O.generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=[];this.up=D.DefaultUp.clone();var a=new n,b=new Ub,c=new Da,
d=new n(1,1,1);b._onChange(function(){c.setFromEuler(b,!1)});c._onChange(function(){b.setFromQuaternion(c,void 0,!1)});Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:a},rotation:{configurable:!0,enumerable:!0,value:b},quaternion:{configurable:!0,enumerable:!0,value:c},scale:{configurable:!0,enumerable:!0,value:d},modelViewMatrix:{value:new P},normalMatrix:{value:new za}});this.matrix=new P;this.matrixWorld=new P;this.matrixAutoUpdate=D.DefaultMatrixAutoUpdate;this.matrixWorldNeedsUpdate=
!1;this.layers=new $f;this.visible=!0;this.receiveShadow=this.castShadow=!1;this.frustumCulled=!0;this.renderOrder=0;this.userData={}}function pb(){D.call(this);this.type="Scene";this.overrideMaterial=this.fog=this.environment=this.background=null;this.autoUpdate=!0;"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function Sa(a,b){this.min=void 0!==a?a:new n(Infinity,Infinity,Infinity);this.max=void 0!==b?b:new n(-Infinity,-Infinity,
-Infinity)}function ag(a,b,c,d,e){var f;var g=0;for(f=a.length-3;g<=f;g+=3){Vb.fromArray(a,g);var k=e.x*Math.abs(Vb.x)+e.y*Math.abs(Vb.y)+e.z*Math.abs(Vb.z),l=b.dot(Vb),m=c.dot(Vb),v=d.dot(Vb);if(Math.max(-Math.max(l,m,v),Math.min(l,m,v))>k)return!1}return!0}function qb(a,b){this.center=void 0!==a?a:new n;this.radius=void 0!==b?b:0}function Wb(a,b){this.origin=void 0!==a?a:new n;this.direction=void 0!==b?b:new n(0,0,-1)}function Ta(a,b){this.normal=void 0!==a?a:new n(1,0,0);this.constant=void 0!==
b?b:0}function ma(a,b,c){this.a=void 0!==a?a:new n;this.b=void 0!==b?b:new n;this.c=void 0!==c?c:new n}function y(a,b,c){return void 0===b&&void 0===c?this.set(a):this.setRGB(a,b,c)}function bg(a,b,c){0>c&&(c+=1);1<c&&--c;return c<1/6?a+6*(b-a)*c:.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a}function cg(a){return.04045>a?.0773993808*a:Math.pow(.9478672986*a+.0521327014,2.4)}function dg(a){return.0031308>a?12.92*a:1.055*Math.pow(a,.41666)-.055}function Dc(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d&&
d.isVector3?d:new n;this.vertexNormals=Array.isArray(d)?d:[];this.color=e&&e.isColor?e:new y;this.vertexColors=Array.isArray(e)?e:[];this.materialIndex=void 0!==f?f:0}function L(){Object.defineProperty(this,"id",{value:oj++});this.uuid=O.generateUUID();this.name="";this.type="Material";this.fog=!0;this.blending=1;this.side=0;this.vertexTangents=this.flatShading=!1;this.vertexColors=0;this.opacity=1;this.transparent=!1;this.blendSrc=204;this.blendDst=205;this.blendEquation=100;this.blendEquationAlpha=
this.blendDstAlpha=this.blendSrcAlpha=null;this.depthFunc=3;this.depthWrite=this.depthTest=!0;this.stencilWriteMask=255;this.stencilFunc=519;this.stencilRef=0;this.stencilFuncMask=255;this.stencilZPass=this.stencilZFail=this.stencilFail=7680;this.stencilWrite=!1;this.clippingPlanes=null;this.clipShadows=this.clipIntersection=!1;this.shadowSide=null;this.colorWrite=!0;this.precision=null;this.polygonOffset=!1;this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.dithering=!1;this.alphaTest=0;this.premultipliedAlpha=
!1;this.toneMapped=this.visible=!0;this.userData={};this.version=0}function Oa(a){L.call(this);this.type="MeshBasicMaterial";this.color=new y(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphTargets=this.skinning=!1;this.setValues(a)}
function K(a,b,c){if(Array.isArray(a))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="";this.array=a;this.itemSize=b;this.count=void 0!==a?a.length/b:0;this.normalized=!0===c;this.usage=35044;this.updateRange={offset:0,count:-1};this.version=0}function Ad(a,b,c){K.call(this,new Int8Array(a),b,c)}function Bd(a,b,c){K.call(this,new Uint8Array(a),b,c)}function Cd(a,b,c){K.call(this,new Uint8ClampedArray(a),b,c)}function Dd(a,b,c){K.call(this,new Int16Array(a),
b,c)}function Xb(a,b,c){K.call(this,new Uint16Array(a),b,c)}function Ed(a,b,c){K.call(this,new Int32Array(a),b,c)}function Yb(a,b,c){K.call(this,new Uint32Array(a),b,c)}function C(a,b,c){K.call(this,new Float32Array(a),b,c)}function Fd(a,b,c){K.call(this,new Float64Array(a),b,c)}function vh(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=
this.uvsNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.verticesNeedUpdate=!1}function wh(a){if(0===a.length)return-Infinity;for(var b=a[0],c=1,d=a.length;c<d;++c)a[c]>b&&(b=a[c]);return b}function G(){Object.defineProperty(this,"id",{value:pj+=2});this.uuid=O.generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.morphTargetsRelative=!1;this.groups=[];this.boundingSphere=this.boundingBox=null;this.drawRange={start:0,count:Infinity};
this.userData={}}function ca(a,b){D.call(this);this.type="Mesh";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new Oa({color:16777215*Math.random()});this.updateMorphTargets()}function xh(a,b,c,d,e,f,g,k){if(null===(1===b.side?d.intersectTriangle(g,f,e,!0,k):d.intersectTriangle(e,f,g,2!==b.side,k)))return null;Je.copy(k);Je.applyMatrix4(a.matrixWorld);b=c.ray.origin.distanceTo(Je);return b<c.near||b>c.far?null:{distance:b,point:Je.clone(),object:a}}function Ke(a,b,c,d,e,f,g,k,l,m,v,p){Zb.fromBufferAttribute(e,
m);$b.fromBufferAttribute(e,v);ac.fromBufferAttribute(e,p);e=a.morphTargetInfluences;if(b.morphTargets&&f&&e){Le.set(0,0,0);Me.set(0,0,0);Ne.set(0,0,0);for(var q=0,t=f.length;q<t;q++){var h=e[q],u=f[q];0!==h&&(eg.fromBufferAttribute(u,m),fg.fromBufferAttribute(u,v),gg.fromBufferAttribute(u,p),g?(Le.addScaledVector(eg,h),Me.addScaledVector(fg,h),Ne.addScaledVector(gg,h)):(Le.addScaledVector(eg.sub(Zb),h),Me.addScaledVector(fg.sub($b),h),Ne.addScaledVector(gg.sub(ac),h)))}Zb.add(Le);$b.add(Me);ac.add(Ne)}if(a=
xh(a,b,c,d,Zb,$b,ac,Gd))k&&(Ec.fromBufferAttribute(k,m),Fc.fromBufferAttribute(k,v),Gc.fromBufferAttribute(k,p),a.uv=ma.getUV(Gd,Zb,$b,ac,Ec,Fc,Gc,new x)),l&&(Ec.fromBufferAttribute(l,m),Fc.fromBufferAttribute(l,v),Gc.fromBufferAttribute(l,p),a.uv2=ma.getUV(Gd,Zb,$b,ac,Ec,Fc,Gc,new x)),k=new Dc(m,v,p),ma.getNormal(Zb,$b,ac,k.normal),a.face=k;return a}function M(){Object.defineProperty(this,"id",{value:qj+=2});this.uuid=O.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.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=this.lineDistancesNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.uvsNeedUpdate=this.verticesNeedUpdate=this.elementsNeedUpdate=!1}function bc(a){var b={},c;for(c in a){b[c]={};for(var d in a[c]){var e=a[c][d];e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||
e.isTexture)?b[c][d]=e.clone():Array.isArray(e)?b[c][d]=e.slice():b[c][d]=e}}return b}function na(a){for(var b={},c=0;c<a.length;c++){var d=bc(a[c]),e;for(e in d)b[e]=d[e]}return b}function oa(a){L.call(this);this.type="ShaderMaterial";this.defines={};this.uniforms={};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.morphNormals=this.morphTargets=this.skinning=this.clipping=this.lights=this.fog=!1;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;void 0!==a&&(void 0!==a.attributes&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(a))}function db(){D.call(this);
this.type="Camera";this.matrixWorldInverse=new P;this.projectionMatrix=new P;this.projectionMatrixInverse=new P}function pa(a,b,c,d){db.call(this);this.type="PerspectiveCamera";this.fov=void 0!==a?a:50;this.zoom=1;this.near=void 0!==c?c:.1;this.far=void 0!==d?d:2E3;this.focus=10;this.aspect=void 0!==b?b:1;this.view=null;this.filmGauge=35;this.filmOffset=0;this.updateProjectionMatrix()}function Hc(a,b,c,d){D.call(this);this.type="CubeCamera";var e=new pa(90,1,a,b);e.up.set(0,-1,0);e.lookAt(new n(1,
0,0));this.add(e);var f=new pa(90,1,a,b);f.up.set(0,-1,0);f.lookAt(new n(-1,0,0));this.add(f);var g=new pa(90,1,a,b);g.up.set(0,0,1);g.lookAt(new n(0,1,0));this.add(g);var k=new pa(90,1,a,b);k.up.set(0,0,-1);k.lookAt(new n(0,-1,0));this.add(k);var l=new pa(90,1,a,b);l.up.set(0,-1,0);l.lookAt(new n(0,0,1));this.add(l);var m=new pa(90,1,a,b);m.up.set(0,-1,0);m.lookAt(new n(0,0,-1));this.add(m);d=d||{format:1022,magFilter:1006,minFilter:1006};this.renderTarget=new Eb(c,c,d);this.renderTarget.texture.name=
"CubeCamera";this.update=function(a,b){null===this.parent&&this.updateMatrixWorld();var c=a.getRenderTarget(),d=this.renderTarget,p=d.texture.generateMipmaps;d.texture.generateMipmaps=!1;a.setRenderTarget(d,0);a.render(b,e);a.setRenderTarget(d,1);a.render(b,f);a.setRenderTarget(d,2);a.render(b,g);a.setRenderTarget(d,3);a.render(b,k);a.setRenderTarget(d,4);a.render(b,l);d.texture.generateMipmaps=p;a.setRenderTarget(d,5);a.render(b,m);a.setRenderTarget(c)};this.clear=function(a,b,c,d){for(var e=a.getRenderTarget(),
f=this.renderTarget,g=0;6>g;g++)a.setRenderTarget(f,g),a.clear(b,c,d);a.setRenderTarget(e)}}function Eb(a,b,c){va.call(this,a,b,c)}function cc(a,b,c,d,e,f,g,k,l,m,v,p){T.call(this,null,f,g,k,l,m,d,e,v,p);this.image={data:a||null,width:b||1,height:c||1};this.magFilter=void 0!==l?l:1003;this.minFilter=void 0!==m?m:1003;this.flipY=this.generateMipmaps=!1;this.unpackAlignment=1;this.needsUpdate=!0}function Hd(a,b,c,d,e,f){this.planes=[void 0!==a?a:new Ta,void 0!==b?b:new Ta,void 0!==c?c:new Ta,void 0!==
d?d:new Ta,void 0!==e?e:new Ta,void 0!==f?f:new Ta]}function yh(){function a(e,f){!1!==c&&(d(e,f),b.requestAnimationFrame(a))}var b=null,c=!1,d=null;return{start:function(){!0!==c&&null!==d&&(b.requestAnimationFrame(a),c=!0)},stop:function(){c=!1},setAnimationLoop:function(a){d=a},setContext:function(a){b=a}}}function rj(a){function b(b,c){var d=b.array,e=b.usage,k=a.createBuffer();a.bindBuffer(c,k);a.bufferData(c,d,e);b.onUploadCallback();c=5126;d instanceof Float32Array?c=5126:d instanceof Float64Array?
console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):d instanceof Uint16Array?c=5123:d instanceof Int16Array?c=5122:d instanceof Uint32Array?c=5125:d instanceof Int32Array?c=5124:d instanceof Int8Array?c=5120:d instanceof Uint8Array&&(c=5121);return{buffer:k,type:c,bytesPerElement:d.BYTES_PER_ELEMENT,version:b.version}}var c=new WeakMap;return{get:function(a){a.isInterleavedBufferAttribute&&(a=a.data);return c.get(a)},remove:function(b){b.isInterleavedBufferAttribute&&
(b=b.data);var d=c.get(b);d&&(a.deleteBuffer(d.buffer),c.delete(b))},update:function(d,e){d.isInterleavedBufferAttribute&&(d=d.data);var f=c.get(d);if(void 0===f)c.set(d,b(d,e));else if(f.version<d.version){var g=d.array,k=d.updateRange;a.bindBuffer(e,f.buffer);-1===k.count?a.bufferSubData(e,0,g):(a.bufferSubData(e,k.offset*g.BYTES_PER_ELEMENT,g.subarray(k.offset,k.offset+k.count)),k.count=-1);f.version=d.version}}}}function Id(a,b,c,d){M.call(this);this.type="PlaneGeometry";this.parameters={width:a,
height:b,widthSegments:c,heightSegments:d};this.fromBufferGeometry(new dc(a,b,c,d));this.mergeVertices()}function dc(a,b,c,d){G.call(this);this.type="PlaneBufferGeometry";this.parameters={width:a,height:b,widthSegments:c,heightSegments:d};a=a||1;b=b||1;var e=a/2,f=b/2;c=Math.floor(c)||1;d=Math.floor(d)||1;var g=c+1,k=d+1,l=a/c,m=b/d,v=[],p=[],q=[],h=[];for(a=0;a<k;a++){var r=a*m-f;for(b=0;b<g;b++)p.push(b*l-e,-r,0),q.push(0,0,1),h.push(b/c),h.push(1-a/d)}for(a=0;a<d;a++)for(b=0;b<c;b++)e=b+g*(a+1),
f=b+1+g*(a+1),k=b+1+g*a,v.push(b+g*a,e,k),v.push(e,f,k);this.setIndex(v);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",new C(h,2))}function sj(a,b,c,d){function e(a,c){b.buffers.color.setClear(a.r,a.g,a.b,c,d)}var f=new y(0),g=0,k,l,m=null,v=0;return{getClearColor:function(){return f},setClearColor:function(a,b){f.set(a);g=void 0!==b?b:1;e(f,g)},getClearAlpha:function(){return g},setClearAlpha:function(a){g=a;e(f,g)},render:function(b,d,h,r){d=
d.background;h=a.xr;(h=h.getSession&&h.getSession())&&"additive"===h.environmentBlendMode&&(d=null);null===d?(e(f,g),m=null,v=0):d&&d.isColor&&(e(d,1),r=!0,m=null,v=0);(a.autoClear||r)&&a.clear(a.autoClearColor,a.autoClearDepth,a.autoClearStencil);if(d&&(d.isCubeTexture||d.isWebGLRenderTargetCube||306===d.mapping)){void 0===l&&(l=new ca(new Jd(1,1,1),new oa({type:"BackgroundCubeMaterial",uniforms:bc(eb.cube.uniforms),vertexShader:eb.cube.vertexShader,fragmentShader:eb.cube.fragmentShader,side:1,depthTest:!1,
depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(a,b,c){this.matrixWorld.copyPosition(c.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),c.update(l));r=d.isWebGLRenderTargetCube?d.texture:d;l.material.uniforms.envMap.value=r;l.material.uniforms.flipEnvMap.value=r.isCubeTexture?-1:1;if(m!==d||v!==r.version)l.material.needsUpdate=!0,m=d,v=r.version;b.unshift(l,l.geometry,
l.material,0,0,null)}else if(d&&d.isTexture){void 0===k&&(k=new ca(new dc(2,2),new oa({type:"BackgroundMaterial",uniforms:bc(eb.background.uniforms),vertexShader:eb.background.vertexShader,fragmentShader:eb.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1})),k.geometry.deleteAttribute("normal"),Object.defineProperty(k.material,"map",{get:function(){return this.uniforms.t2D.value}}),c.update(k));k.material.uniforms.t2D.value=d;!0===d.matrixAutoUpdate&&d.updateMatrix();k.material.uniforms.uvTransform.value.copy(d.matrix);
if(m!==d||v!==d.version)k.material.needsUpdate=!0,m=d,v=d.version;b.unshift(k,k.geometry,k.material,0,0,null)}}}}function tj(a,b,c,d){var e=d.isWebGL2,f;this.setMode=function(a){f=a};this.render=function(b,d){a.drawArrays(f,b,d);c.update(d,f)};this.renderInstances=function(d,k,l,m){if(0!==m){if(e){d=a;var g="drawArraysInstanced"}else if(d=b.get("ANGLE_instanced_arrays"),g="drawArraysInstancedANGLE",null===d){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");
return}d[g](f,k,l,m);c.update(l,f,m)}}}function uj(a,b,c){function d(b){if("highp"===b){if(0<a.getShaderPrecisionFormat(35633,36338).precision&&0<a.getShaderPrecisionFormat(35632,36338).precision)return"highp";b="mediump"}return"mediump"===b&&0<a.getShaderPrecisionFormat(35633,36337).precision&&0<a.getShaderPrecisionFormat(35632,36337).precision?"mediump":"lowp"}var e,f="undefined"!==typeof WebGL2RenderingContext&&a instanceof WebGL2RenderingContext||"undefined"!==typeof WebGL2ComputeRenderingContext&&
a instanceof WebGL2ComputeRenderingContext,g=void 0!==c.precision?c.precision:"highp",k=d(g);k!==g&&(console.warn("THREE.WebGLRenderer:",g,"not supported, using",k,"instead."),g=k);c=!0===c.logarithmicDepthBuffer;k=a.getParameter(34930);var l=a.getParameter(35660),m=a.getParameter(3379),v=a.getParameter(34076),p=a.getParameter(34921),q=a.getParameter(36347),h=a.getParameter(36348),r=a.getParameter(36349),u=0<l,n=f||!!b.get("OES_texture_float"),w=u&&n,B=f?a.getParameter(36183):0;return{isWebGL2:f,
getMaxAnisotropy:function(){if(void 0!==e)return e;var c=b.get("EXT_texture_filter_anisotropic");return e=null!==c?a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT):0},getMaxPrecision:d,precision:g,logarithmicDepthBuffer:c,maxTextures:k,maxVertexTextures:l,maxTextureSize:m,maxCubemapSize:v,maxAttributes:p,maxVertexUniforms:q,maxVaryings:h,maxFragmentUniforms:r,vertexTextures:u,floatFragmentTextures:n,floatVertexTextures:w,maxSamples:B}}function vj(){function a(){m.value!==d&&(m.value=d,m.needsUpdate=
0<e);c.numPlanes=e;c.numIntersection=0}function b(a,b,d,e){var f=null!==a?a.length:0,g=null;if(0!==f){g=m.value;if(!0!==e||null===g){e=d+4*f;b=b.matrixWorldInverse;l.getNormalMatrix(b);if(null===g||g.length<e)g=new Float32Array(e);for(e=0;e!==f;++e,d+=4)k.copy(a[e]).applyMatrix4(b,l),k.normal.toArray(g,d),g[d+3]=k.constant}m.value=g;m.needsUpdate=!0}c.numPlanes=f;return g}var c=this,d=null,e=0,f=!1,g=!1,k=new Ta,l=new za,m={value:null,needsUpdate:!1};this.uniform=m;this.numIntersection=this.numPlanes=
0;this.init=function(a,c,g){var k=0!==a.length||c||0!==e||f;f=c;d=b(a,g,0);e=a.length;return k};this.beginShadows=function(){g=!0;b(null)};this.endShadows=function(){g=!1;a()};this.setState=function(c,k,l,h,r,u){if(!f||null===c||0===c.length||g&&!l)g?b(null):a();else{l=g?0:e;var p=4*l,v=r.clippingState||null;m.value=v;v=b(c,h,p,u);for(c=0;c!==p;++c)v[c]=d[c];r.clippingState=v;this.numIntersection=k?this.numPlanes:0;this.numPlanes+=l}}}function wj(a){var b={};return{get:function(c){if(void 0!==b[c])return b[c];
switch(c){case "WEBGL_depth_texture":var d=a.getExtension("WEBGL_depth_texture")||a.getExtension("MOZ_WEBGL_depth_texture")||a.getExtension("WEBKIT_WEBGL_depth_texture");break;case "EXT_texture_filter_anisotropic":d=a.getExtension("EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic")||a.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case "WEBGL_compressed_texture_s3tc":d=a.getExtension("WEBGL_compressed_texture_s3tc")||a.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||
a.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case "WEBGL_compressed_texture_pvrtc":d=a.getExtension("WEBGL_compressed_texture_pvrtc")||a.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:d=a.getExtension(c)}null===d&&console.warn("THREE.WebGLRenderer: "+c+" extension not supported.");return b[c]=d}}}function xj(a,b,c){function d(a){var e=a.target;a=f.get(e);null!==a.index&&b.remove(a.index);for(var k in a.attributes)b.remove(a.attributes[k]);e.removeEventListener("dispose",
d);f.delete(e);if(k=g.get(a))b.remove(k),g.delete(a);c.memory.geometries--}function e(a){var c=[],d=a.index,e=a.attributes.position;if(null!==d){var f=d.array;d=d.version;e=0;for(var k=f.length;e<k;e+=3){var h=f[e+0],r=f[e+1],u=f[e+2];c.push(h,r,r,u,u,h)}}else for(f=e.array,d=e.version,e=0,k=f.length/3-1;e<k;e+=3)h=e+0,r=e+1,u=e+2,c.push(h,r,r,u,u,h);c=new (65535<wh(c)?Yb:Xb)(c,1);c.version=d;b.update(c,34963);(f=g.get(a))&&b.remove(f);g.set(a,c)}var f=new WeakMap,g=new WeakMap;return{get:function(a,
b){var e=f.get(b);if(e)return e;b.addEventListener("dispose",d);b.isBufferGeometry?e=b:b.isGeometry&&(void 0===b._bufferGeometry&&(b._bufferGeometry=(new G).setFromObject(a)),e=b._bufferGeometry);f.set(b,e);c.memory.geometries++;return e},update:function(a){var c=a.index,d=a.attributes;null!==c&&b.update(c,34963);for(var e in d)b.update(d[e],34962);a=a.morphAttributes;for(e in a){c=a[e];d=0;for(var f=c.length;d<f;d++)b.update(c[d],34962)}},getWireframeAttribute:function(a){var b=g.get(a);if(b){var c=
a.index;null!==c&&b.version<c.version&&e(a)}else e(a);return g.get(a)}}}function yj(a,b,c,d){var e=d.isWebGL2,f,g,k;this.setMode=function(a){f=a};this.setIndex=function(a){g=a.type;k=a.bytesPerElement};this.render=function(b,d){a.drawElements(f,d,g,b*k);c.update(d,f)};this.renderInstances=function(d,m,v,p){if(0!==p){if(e){d=a;var l="drawElementsInstanced"}else if(d=b.get("ANGLE_instanced_arrays"),l="drawElementsInstancedANGLE",null===d){console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");
return}d[l](f,v,g,m*k,p);c.update(v,f,p)}}}function zj(a){var b={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:b,programs:null,autoReset:!0,reset:function(){b.frame++;b.calls=0;b.triangles=0;b.points=0;b.lines=0},update:function(a,d,e){e=e||1;b.calls++;switch(d){case 4:b.triangles+=a/3*e;break;case 1:b.lines+=a/2*e;break;case 3:b.lines+=e*(a-1);break;case 2:b.lines+=e*a;break;case 0:b.points+=e*a;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",
d)}}}}function Aj(a,b){return Math.abs(b[1])-Math.abs(a[1])}function Bj(a){var b={},c=new Float32Array(8);return{update:function(d,e,f,g){var k=d.morphTargetInfluences,l=void 0===k?0:k.length;d=b[e.id];if(void 0===d){d=[];for(var m=0;m<l;m++)d[m]=[m,0];b[e.id]=d}var v=f.morphTargets&&e.morphAttributes.position;f=f.morphNormals&&e.morphAttributes.normal;for(m=0;m<l;m++){var p=d[m];0!==p[1]&&(v&&e.deleteAttribute("morphTarget"+m),f&&e.deleteAttribute("morphNormal"+m))}for(m=0;m<l;m++)p=d[m],p[0]=m,
p[1]=k[m];d.sort(Aj);for(m=k=0;8>m;m++){if(p=d[m])if(l=p[0],p=p[1]){v&&e.setAttribute("morphTarget"+m,v[l]);f&&e.setAttribute("morphNormal"+m,f[l]);c[m]=p;k+=p;continue}c[m]=0}e=e.morphTargetsRelative?1:1-k;g.getUniforms().setValue(a,"morphTargetBaseInfluence",e);g.getUniforms().setValue(a,"morphTargetInfluences",c)}}}function Cj(a,b,c,d){var e={};return{update:function(a){var f=d.render.frame,k=a.geometry,l=b.get(a,k);e[l.id]!==f&&(k.isGeometry&&l.updateFromObject(a),b.update(l),e[l.id]=f);a.isInstancedMesh&&
c.update(a.instanceMatrix,34962);return l},dispose:function(){e={}}}}function rb(a,b,c,d,e,f,g,k,l,m){a=void 0!==a?a:[];T.call(this,a,void 0!==b?b:301,c,d,e,f,void 0!==g?g:1022,k,l,m);this.flipY=!1}function Ic(a,b,c,d){T.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Jc(a,b,c,d){T.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};
this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Kc(a,b,c){var d=a[0];if(0>=d||0<d)return a;var e=b*c,f=zh[e];void 0===f&&(f=new Float32Array(e),zh[e]=f);if(0!==b)for(d.toArray(f,0),d=1,e=0;d!==b;++d)e+=c,a[d].toArray(f,e);return f}function Pa(a,b){if(a.length!==b.length)return!1;for(var c=0,d=a.length;c<d;c++)if(a[c]!==b[c])return!1;return!0}function Ia(a,b){for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}function Ah(a,b){var c=Bh[b];void 0===
c&&(c=new Int32Array(b),Bh[b]=c);for(var d=0;d!==b;++d)c[d]=a.allocateTextureUnit();return c}function Dj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1f(this.addr,b),c[0]=b)}function Ej(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y)a.uniform2f(this.addr,b.x,b.y),c[0]=b.x,c[1]=b.y}else Pa(c,b)||(a.uniform2fv(this.addr,b),Ia(c,b))}function Fj(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z)a.uniform3f(this.addr,b.x,b.y,b.z),c[0]=b.x,c[1]=b.y,c[2]=b.z}else if(void 0!==
b.r){if(c[0]!==b.r||c[1]!==b.g||c[2]!==b.b)a.uniform3f(this.addr,b.r,b.g,b.b),c[0]=b.r,c[1]=b.g,c[2]=b.b}else Pa(c,b)||(a.uniform3fv(this.addr,b),Ia(c,b))}function Gj(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z||c[3]!==b.w)a.uniform4f(this.addr,b.x,b.y,b.z,b.w),c[0]=b.x,c[1]=b.y,c[2]=b.z,c[3]=b.w}else Pa(c,b)||(a.uniform4fv(this.addr,b),Ia(c,b))}function Hj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix2fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||
(Ch.set(d),a.uniformMatrix2fv(this.addr,!1,Ch),Ia(c,d))}function Ij(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix3fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Dh.set(d),a.uniformMatrix3fv(this.addr,!1,Dh),Ia(c,d))}function Jj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix4fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Eh.set(d),a.uniformMatrix4fv(this.addr,!1,Eh),Ia(c,d))}function Kj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,
e),d[0]=e);c.safeSetTexture2D(b||Fh,e)}function Lj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture2DArray(b||Mj,e)}function Nj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture3D(b||Oj,e)}function Pj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.safeSetTextureCube(b||Gh,e)}function Qj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1i(this.addr,
b),c[0]=b)}function Rj(a,b){var c=this.cache;Pa(c,b)||(a.uniform2iv(this.addr,b),Ia(c,b))}function Sj(a,b){var c=this.cache;Pa(c,b)||(a.uniform3iv(this.addr,b),Ia(c,b))}function Tj(a,b){var c=this.cache;Pa(c,b)||(a.uniform4iv(this.addr,b),Ia(c,b))}function Uj(a){switch(a){case 5126:return Dj;case 35664:return Ej;case 35665:return Fj;case 35666:return Gj;case 35674:return Hj;case 35675:return Ij;case 35676:return Jj;case 35678:case 36198:return Kj;case 35679:return Nj;case 35680:return Pj;case 36289:return Lj;
case 5124:case 35670:return Qj;case 35667:case 35671:return Rj;case 35668:case 35672:return Sj;case 35669:case 35673:return Tj}}function Vj(a,b){a.uniform1fv(this.addr,b)}function Wj(a,b){a.uniform1iv(this.addr,b)}function Xj(a,b){a.uniform2iv(this.addr,b)}function Yj(a,b){a.uniform3iv(this.addr,b)}function Zj(a,b){a.uniform4iv(this.addr,b)}function ak(a,b){b=Kc(b,this.size,2);a.uniform2fv(this.addr,b)}function bk(a,b){b=Kc(b,this.size,3);a.uniform3fv(this.addr,b)}function ck(a,b){b=Kc(b,this.size,
4);a.uniform4fv(this.addr,b)}function dk(a,b){b=Kc(b,this.size,4);a.uniformMatrix2fv(this.addr,!1,b)}function ek(a,b){b=Kc(b,this.size,9);a.uniformMatrix3fv(this.addr,!1,b)}function fk(a,b){b=Kc(b,this.size,16);a.uniformMatrix4fv(this.addr,!1,b)}function gk(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTexture2D(b[a]||Fh,e[a])}function hk(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTextureCube(b[a]||Gh,e[a])}function ik(a){switch(a){case 5126:return Vj;
case 35664:return ak;case 35665:return bk;case 35666:return ck;case 35674:return dk;case 35675:return ek;case 35676:return fk;case 35678:case 36198:case 36298:case 36306:return gk;case 35680:case 36300:case 36308:return hk;case 5124:case 35670:return Wj;case 35667:case 35671:return Xj;case 35668:case 35672:return Yj;case 35669:case 35673:return Zj}}function jk(a,b,c){this.id=a;this.addr=c;this.cache=[];this.setValue=Uj(b.type)}function Hh(a,b,c){this.id=a;this.addr=c;this.cache=[];this.size=b.size;
this.setValue=ik(b.type)}function Ih(a){this.id=a;this.seq=[];this.map={}}function Fb(a,b){this.seq=[];this.map={};for(var c=a.getProgramParameter(b,35718),d=0;d<c;++d){var e=a.getActiveUniform(b,d),f=a.getUniformLocation(b,e.name),g=this,k=e.name,l=k.length;for(hg.lastIndex=0;;){var m=hg.exec(k),v=hg.lastIndex,p=m[1],h=m[3];"]"===m[2]&&(p|=0);if(void 0===h||"["===h&&v+2===l){k=g;e=void 0===h?new jk(p,e,f):new Hh(p,e,f);k.seq.push(e);k.map[e.id]=e;break}else h=g.map[p],void 0===h&&(h=new Ih(p),p=
g,g=h,p.seq.push(g),p.map[g.id]=g),g=h}}}function Jh(a,b,c){b=a.createShader(b);a.shaderSource(b,c);a.compileShader(b);return b}function Kh(a){switch(a){case 3E3:return["Linear","( value )"];case 3001:return["sRGB","( value )"];case 3002:return["RGBE","( value )"];case 3004:return["RGBM","( value, 7.0 )"];case 3005:return["RGBM","( value, 16.0 )"];case 3006:return["RGBD","( value, 256.0 )"];case 3007:return["Gamma","( value, float( GAMMA_FACTOR ) )"];case 3003:return["LogLuv","( value )"];default:throw Error("unsupported encoding: "+
a);}}function Lh(a,b,c){var d=a.getShaderParameter(b,35713),e=a.getShaderInfoLog(b).trim();if(d&&""===e)return"";a=a.getShaderSource(b).split("\n");for(b=0;b<a.length;b++)a[b]=b+1+": "+a[b];a=a.join("\n");return"THREE.WebGLShader: gl.getShaderInfoLog() "+c+"\n"+e+a}function Kd(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return "+b[0]+"ToLinear"+b[1]+"; }"}function kk(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return LinearTo"+b[0]+b[1]+"; }"}function lk(a,b){switch(b){case 1:b="Linear";break;
case 2:b="Reinhard";break;case 3:b="Uncharted2";break;case 4:b="OptimizedCineon";break;case 5:b="ACESFilmic";break;default:throw Error("unsupported toneMapping: "+b);}return"vec3 "+a+"( vec3 color ) { return "+b+"ToneMapping( color ); }"}function mk(a,b,c){a=a||{};return[a.derivatives||b.envMapCubeUV||b.bumpMap||b.tangentSpaceNormalMap||b.clearcoatNormalMap||b.flatShading||"physical"===b.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(a.fragDepth||b.logarithmicDepthBuffer)&&c.get("EXT_frag_depth")?
"#extension GL_EXT_frag_depth : enable":"",a.drawBuffers&&c.get("WEBGL_draw_buffers")?"#extension GL_EXT_draw_buffers : require":"",(a.shaderTextureLOD||b.envMap)&&c.get("EXT_shader_texture_lod")?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Ld).join("\n")}function nk(a){var b=[],c;for(c in a){var d=a[c];!1!==d&&b.push("#define "+c+" "+d)}return b.join("\n")}function Ld(a){return""!==a}function Mh(a,b){return a.replace(/NUM_DIR_LIGHTS/g,b.numDirLights).replace(/NUM_SPOT_LIGHTS/g,b.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,
b.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,b.numPointLights).replace(/NUM_HEMI_LIGHTS/g,b.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,b.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,b.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,b.numPointLightShadows)}function Nh(a,b){return a.replace(/NUM_CLIPPING_PLANES/g,b.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,b.numClippingPlanes-b.numClipIntersection)}function ig(a,b){a=N[b];if(void 0===a)throw Error("Can not resolve #include <"+
b+">");return a.replace(jg,ig)}function Oh(a,b,c,d){a="";for(b=parseInt(b);b<parseInt(c);b++)a+=d.replace(/\[ i \]/g,"[ "+b+" ]").replace(/UNROLLED_LOOP_INDEX/g,b);return a}function Ph(a){var b="precision "+a.precision+" float;\nprecision "+a.precision+" int;";"highp"===a.precision?b+="\n#define HIGH_PRECISION":"mediump"===a.precision?b+="\n#define MEDIUM_PRECISION":"lowp"===a.precision&&(b+="\n#define LOW_PRECISION");return b}function ok(a){var b="SHADOWMAP_TYPE_BASIC";1===a.shadowMapType?b="SHADOWMAP_TYPE_PCF":
2===a.shadowMapType?b="SHADOWMAP_TYPE_PCF_SOFT":3===a.shadowMapType&&(b="SHADOWMAP_TYPE_VSM");return b}function pk(a){var b="ENVMAP_TYPE_CUBE";if(a.envMap)switch(a.envMapMode){case 301:case 302:b="ENVMAP_TYPE_CUBE";break;case 306:case 307:b="ENVMAP_TYPE_CUBE_UV";break;case 303:case 304:b="ENVMAP_TYPE_EQUIREC";break;case 305:b="ENVMAP_TYPE_SPHERE"}return b}function qk(a){var b="ENVMAP_MODE_REFLECTION";if(a.envMap)switch(a.envMapMode){case 302:case 304:b="ENVMAP_MODE_REFRACTION"}return b}function rk(a){var b=
"ENVMAP_BLENDING_NONE";if(a.envMap)switch(a.combine){case 0:b="ENVMAP_BLENDING_MULTIPLY";break;case 1:b="ENVMAP_BLENDING_MIX";break;case 2:b="ENVMAP_BLENDING_ADD"}return b}function sk(a,b,c,d,e,f){var g=a.getContext(),k=d.defines,l=e.vertexShader,m=e.fragmentShader,v=ok(f),p=pk(f),h=qk(f),t=rk(f),r=0<a.gammaFactor?a.gammaFactor:1,u=f.isWebGL2?"":mk(d.extensions,f,b),n=nk(k),w=g.createProgram(),B=f.numMultiviewViews;d.isRawShaderMaterial?(k=[n].filter(Ld).join("\n"),0<k.length&&(k+="\n"),b=[u,n].filter(Ld).join("\n"),
0<b.length&&(b+="\n")):(k=[Ph(f),"#define SHADER_NAME "+e.name,n,f.instancing?"#define USE_INSTANCING":"",f.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR "+r,"#define MAX_BONES "+f.maxBones,f.useFog&&f.fog?"#define USE_FOG":"",f.useFog&&f.fogExp2?"#define FOG_EXP2":"",f.map?"#define USE_MAP":"",f.envMap?"#define USE_ENVMAP":"",f.envMap?"#define "+h:"",f.lightMap?"#define USE_LIGHTMAP":"",f.aoMap?"#define USE_AOMAP":"",f.emissiveMap?"#define USE_EMISSIVEMAP":"",f.bumpMap?
"#define USE_BUMPMAP":"",f.normalMap?"#define USE_NORMALMAP":"",f.normalMap&&f.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",f.normalMap&&f.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",f.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",f.displacementMap&&f.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",f.specularMap?"#define USE_SPECULARMAP":"",f.roughnessMap?"#define USE_ROUGHNESSMAP":"",f.metalnessMap?"#define USE_METALNESSMAP":"",f.alphaMap?"#define USE_ALPHAMAP":
"",f.vertexTangents?"#define USE_TANGENT":"",f.vertexColors?"#define USE_COLOR":"",f.vertexUvs?"#define USE_UV":"",f.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",f.flatShading?"#define FLAT_SHADED":"",f.skinning?"#define USE_SKINNING":"",f.useVertexTexture?"#define BONE_TEXTURE":"",f.morphTargets?"#define USE_MORPHTARGETS":"",f.morphNormals&&!1===f.flatShading?"#define USE_MORPHNORMALS":"",f.doubleSided?"#define DOUBLE_SIDED":"",f.flipSided?"#define FLIP_SIDED":"",f.shadowMapEnabled?"#define USE_SHADOWMAP":
"",f.shadowMapEnabled?"#define "+v:"",f.sizeAttenuation?"#define USE_SIZEATTENUATION":"",f.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",f.logarithmicDepthBuffer&&(f.isWebGL2||b.get("EXT_frag_depth"))?"#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"," attribute mat4 instanceMatrix;",
"#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#ifdef USE_COLOR","\tattribute vec3 color;","#endif","#ifdef USE_MORPHTARGETS","\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(Ld).join("\n"),b=[u,Ph(f),"#define SHADER_NAME "+e.name,n,f.alphaTest?"#define ALPHATEST "+f.alphaTest+(f.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR "+r,f.useFog&&f.fog?"#define USE_FOG":"",f.useFog&&f.fogExp2?"#define FOG_EXP2":
"",f.map?"#define USE_MAP":"",f.matcap?"#define USE_MATCAP":"",f.envMap?"#define USE_ENVMAP":"",f.envMap?"#define "+p:"",f.envMap?"#define "+h:"",f.envMap?"#define "+t:"",f.lightMap?"#define USE_LIGHTMAP":"",f.aoMap?"#define USE_AOMAP":"",f.emissiveMap?"#define USE_EMISSIVEMAP":"",f.bumpMap?"#define USE_BUMPMAP":"",f.normalMap?"#define USE_NORMALMAP":"",f.normalMap&&f.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",f.normalMap&&f.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",f.clearcoatNormalMap?
"#define USE_CLEARCOAT_NORMALMAP":"",f.specularMap?"#define USE_SPECULARMAP":"",f.roughnessMap?"#define USE_ROUGHNESSMAP":"",f.metalnessMap?"#define USE_METALNESSMAP":"",f.alphaMap?"#define USE_ALPHAMAP":"",f.sheen?"#define USE_SHEEN":"",f.vertexTangents?"#define USE_TANGENT":"",f.vertexColors?"#define USE_COLOR":"",f.vertexUvs?"#define USE_UV":"",f.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",f.gradientMap?"#define USE_GRADIENTMAP":"",f.flatShading?"#define FLAT_SHADED":"",f.doubleSided?"#define DOUBLE_SIDED":
"",f.flipSided?"#define FLIP_SIDED":"",f.shadowMapEnabled?"#define USE_SHADOWMAP":"",f.shadowMapEnabled?"#define "+v:"",f.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",f.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",f.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",f.logarithmicDepthBuffer&&(f.isWebGL2||b.get("EXT_frag_depth"))?"#define USE_LOGDEPTHBUF_EXT":"",(d.extensions&&d.extensions.shaderTextureLOD||f.envMap)&&(f.isWebGL2||b.get("EXT_shader_texture_lod"))?"#define TEXTURE_LOD_EXT":
"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==f.toneMapping?"#define TONE_MAPPING":"",0!==f.toneMapping?N.tonemapping_pars_fragment:"",0!==f.toneMapping?lk("toneMapping",f.toneMapping):"",f.dithering?"#define DITHERING":"",f.outputEncoding||f.mapEncoding||f.matcapEncoding||f.envMapEncoding||f.emissiveMapEncoding||f.lightMapEncoding?N.encodings_pars_fragment:"",f.mapEncoding?Kd("mapTexelToLinear",f.mapEncoding):"",f.matcapEncoding?Kd("matcapTexelToLinear",
f.matcapEncoding):"",f.envMapEncoding?Kd("envMapTexelToLinear",f.envMapEncoding):"",f.emissiveMapEncoding?Kd("emissiveMapTexelToLinear",f.emissiveMapEncoding):"",f.lightMapEncoding?Kd("lightMapTexelToLinear",f.lightMapEncoding):"",f.outputEncoding?kk("linearToOutputTexel",f.outputEncoding):"",f.depthPacking?"#define DEPTH_PACKING "+d.depthPacking:"","\n"].filter(Ld).join("\n"));l=l.replace(jg,ig);l=Mh(l,f);l=Nh(l,f);m=m.replace(jg,ig);m=Mh(m,f);m=Nh(m,f);l=l.replace(Qh,Oh);m=m.replace(Qh,Oh);f.isWebGL2&&
!d.isRawShaderMaterial&&(v=!1,p=/^\s*#version\s+300\s+es\s*\n/,d.isShaderMaterial&&null!==l.match(p)&&null!==m.match(p)&&(v=!0,l=l.replace(p,""),m=m.replace(p,"")),k="#version 300 es\n\n#define attribute in\n#define varying out\n#define texture2D texture\n"+k,b=["#version 300 es\n\n#define varying in",v?"":"out highp vec4 pc_fragColor;",v?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+
"\n"+b,0<B&&(k=k.replace("#version 300 es\n",["#version 300 es\n\n#extension GL_OVR_multiview2 : require","layout(num_views = "+B+") in;","#define VIEW_ID gl_ViewID_OVR"].join("\n")),k=k.replace("uniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat3 normalMatrix;",["uniform mat4 modelViewMatrices["+B+"];","uniform mat4 projectionMatrices["+B+"];","uniform mat4 viewMatrices["+B+"];","uniform mat3 normalMatrices["+B+"];","#define modelViewMatrix modelViewMatrices[VIEW_ID]\n#define projectionMatrix projectionMatrices[VIEW_ID]\n#define viewMatrix viewMatrices[VIEW_ID]\n#define normalMatrix normalMatrices[VIEW_ID]"].join("\n")),
b=b.replace("#version 300 es\n","#version 300 es\n\n#extension GL_OVR_multiview2 : require\n#define VIEW_ID gl_ViewID_OVR"),b=b.replace("uniform mat4 viewMatrix;",["uniform mat4 viewMatrices["+B+"];","#define viewMatrix viewMatrices[VIEW_ID]"].join("\n"))));m=b+m;l=Jh(g,35633,k+l);m=Jh(g,35632,m);g.attachShader(w,l);g.attachShader(w,m);void 0!==d.index0AttributeName?g.bindAttribLocation(w,0,d.index0AttributeName):!0===f.morphTargets&&g.bindAttribLocation(w,0,"position");g.linkProgram(w);if(a.debug.checkShaderErrors){a=
g.getProgramInfoLog(w).trim();f=g.getShaderInfoLog(l).trim();v=g.getShaderInfoLog(m).trim();h=p=!0;if(!1===g.getProgramParameter(w,35714))p=!1,t=Lh(g,l,"vertex"),r=Lh(g,m,"fragment"),console.error("THREE.WebGLProgram: shader error: ",g.getError(),"35715",g.getProgramParameter(w,35715),"gl.getProgramInfoLog",a,t,r);else if(""!==a)console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",a);else if(""===f||""===v)h=!1;h&&(this.diagnostics={runnable:p,material:d,programLog:a,vertexShader:{log:f,prefix:k},
fragmentShader:{log:v,prefix:b}})}g.deleteShader(l);g.deleteShader(m);var U;this.getUniforms=function(){void 0===U&&(U=new Fb(g,w));return U};var wa;this.getAttributes=function(){if(void 0===wa){for(var a={},b=g.getProgramParameter(w,35721),c=0;c<b;c++){var d=g.getActiveAttrib(w,c).name;a[d]=g.getAttribLocation(w,d)}wa=a}return wa};this.destroy=function(){g.deleteProgram(w);this.program=void 0};this.name=e.name;this.id=tk++;this.cacheKey=c;this.usedTimes=1;this.program=w;this.vertexShader=l;this.fragmentShader=
m;this.numMultiviewViews=B;return this}function uk(a,b,c){function d(a){if(a)a.isTexture?b=a.encoding:a.isWebGLRenderTarget&&(console.warn("THREE.WebGLPrograms.getTextureEncodingFromMap: don't use render targets as textures. Use their .texture property instead."),b=a.texture.encoding);else var b=3E3;return b}var e=[],f=c.isWebGL2,g=c.logarithmicDepthBuffer,k=c.floatVertexTextures,l=c.precision,m=c.maxVertexUniforms,v=c.vertexTextures,p={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"},h="precision isWebGL2 supportsVertexTextures outputEncoding instancing numMultiviewViews map mapEncoding matcap matcapEncoding envMap envMapMode envMapEncoding envMapCubeUV lightMap lightMapEncoding aoMap emissiveMap emissiveMapEncoding bumpMap normalMap objectSpaceNormalMap tangentSpaceNormalMap clearcoatNormalMap displacementMap specularMap roughnessMap metalnessMap gradientMap alphaMap combine vertexColors vertexTangents vertexUvs uvsVertexOnly fog useFog fogExp2 flatShading sizeAttenuation logarithmicDepthBuffer skinning maxBones useVertexTexture morphTargets morphNormals maxMorphTargets maxMorphNormals premultipliedAlpha numDirLights numPointLights numSpotLights numHemiLights numRectAreaLights numDirLightShadows numPointLightShadows numSpotLightShadows shadowMapEnabled shadowMapType toneMapping physicallyCorrectLights alphaTest doubleSided flipSided numClippingPlanes numClipIntersection depthPacking dithering sheen".split(" ");
this.getParameters=function(b,e,h,q,n,B,U){var r=q.fog;q=b.isMeshStandardMaterial?q.environment:null;q=b.envMap||q;var t=p[b.type];if(U.isSkinnedMesh){var u=U.skeleton.bones;if(k)u=1024;else{var z=Math.min(Math.floor((m-20)/4),u.length);z<u.length?(console.warn("THREE.WebGLRenderer: Skeleton has "+u.length+" bones. This GPU supports "+z+"."),u=0):u=z}}else u=0;null!==b.precision&&(l=c.getMaxPrecision(b.precision),l!==b.precision&&console.warn("THREE.WebGLProgram.getParameters:",b.precision,"not supported, using",
l,"instead."));z=a.getRenderTarget();return{isWebGL2:f,shaderID:t,precision:l,instancing:!0===U.isInstancedMesh,supportsVertexTextures:v,numMultiviewViews:z&&z.isWebGLMultiviewRenderTarget?z.numViews:0,outputEncoding:null!==z?d(z.texture):a.outputEncoding,map:!!b.map,mapEncoding:d(b.map),matcap:!!b.matcap,matcapEncoding:d(b.matcap),envMap:!!q,envMapMode:q&&q.mapping,envMapEncoding:d(q),envMapCubeUV:!!q&&(306===q.mapping||307===q.mapping),lightMap:!!b.lightMap,lightMapEncoding:d(b.lightMap),aoMap:!!b.aoMap,
emissiveMap:!!b.emissiveMap,emissiveMapEncoding:d(b.emissiveMap),bumpMap:!!b.bumpMap,normalMap:!!b.normalMap,objectSpaceNormalMap:1===b.normalMapType,tangentSpaceNormalMap:0===b.normalMapType,clearcoatNormalMap:!!b.clearcoatNormalMap,displacementMap:!!b.displacementMap,roughnessMap:!!b.roughnessMap,metalnessMap:!!b.metalnessMap,specularMap:!!b.specularMap,alphaMap:!!b.alphaMap,gradientMap:!!b.gradientMap,sheen:!!b.sheen,combine:b.combine,vertexTangents:b.normalMap&&b.vertexTangents,vertexColors:b.vertexColors,
vertexUvs:!!b.map||!!b.bumpMap||!!b.normalMap||!!b.specularMap||!!b.alphaMap||!!b.emissiveMap||!!b.roughnessMap||!!b.metalnessMap||!!b.clearcoatNormalMap||!!b.displacementMap,uvsVertexOnly:!(b.map||b.bumpMap||b.normalMap||b.specularMap||b.alphaMap||b.emissiveMap||b.roughnessMap||b.metalnessMap||b.clearcoatNormalMap)&&!!b.displacementMap,fog:!!r,useFog:b.fog,fogExp2:r&&r.isFogExp2,flatShading:b.flatShading,sizeAttenuation:b.sizeAttenuation,logarithmicDepthBuffer:g,skinning:b.skinning&&0<u,maxBones:u,
useVertexTexture:k,morphTargets:b.morphTargets,morphNormals:b.morphNormals,maxMorphTargets:a.maxMorphTargets,maxMorphNormals:a.maxMorphNormals,numDirLights:e.directional.length,numPointLights:e.point.length,numSpotLights:e.spot.length,numRectAreaLights:e.rectArea.length,numHemiLights:e.hemi.length,numDirLightShadows:e.directionalShadowMap.length,numPointLightShadows:e.pointShadowMap.length,numSpotLightShadows:e.spotShadowMap.length,numClippingPlanes:n,numClipIntersection:B,dithering:b.dithering,shadowMapEnabled:a.shadowMap.enabled&&
0<h.length,shadowMapType:a.shadowMap.type,toneMapping:b.toneMapped?a.toneMapping:0,physicallyCorrectLights:a.physicallyCorrectLights,premultipliedAlpha:b.premultipliedAlpha,alphaTest:b.alphaTest,doubleSided:2===b.side,flipSided:1===b.side,depthPacking:void 0!==b.depthPacking?b.depthPacking:!1}};this.getProgramCacheKey=function(b,c){var d=[];c.shaderID?d.push(c.shaderID):(d.push(b.fragmentShader),d.push(b.vertexShader));if(void 0!==b.defines)for(var e in b.defines)d.push(e),d.push(b.defines[e]);if(void 0===
b.isRawShaderMaterial){for(e=0;e<h.length;e++)d.push(c[h[e]]);d.push(a.outputEncoding);d.push(a.gammaFactor)}d.push(b.onBeforeCompile.toString());return d.join()};this.acquireProgram=function(c,d,f,g){for(var k,l=0,m=e.length;l<m;l++){var p=e[l];if(p.cacheKey===g){k=p;++k.usedTimes;break}}void 0===k&&(k=new sk(a,b,g,c,d,f),e.push(k));return k};this.releaseProgram=function(a){if(0===--a.usedTimes){var b=e.indexOf(a);e[b]=e[e.length-1];e.pop();a.destroy()}};this.programs=e}function vk(){var a=new WeakMap;
return{get:function(b){var c=a.get(b);void 0===c&&(c={},a.set(b,c));return c},remove:function(b){a.delete(b)},update:function(b,c,d){a.get(b)[c]=d},dispose:function(){a=new WeakMap}}}function wk(a,b){return a.groupOrder!==b.groupOrder?a.groupOrder-b.groupOrder:a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.program!==b.program?a.program.id-b.program.id:a.material.id!==b.material.id?a.material.id-b.material.id:a.z!==b.z?a.z-b.z:a.id-b.id}function xk(a,b){return a.groupOrder!==b.groupOrder?
a.groupOrder-b.groupOrder:a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.z!==b.z?b.z-a.z:a.id-b.id}function Rh(){function a(a,d,e,m,v,p){var g=b[c];void 0===g?(g={id:a.id,object:a,geometry:d,material:e,program:e.program||f,groupOrder:m,renderOrder:a.renderOrder,z:v,group:p},b[c]=g):(g.id=a.id,g.object=a,g.geometry=d,g.material=e,g.program=e.program||f,g.groupOrder=m,g.renderOrder=a.renderOrder,g.z=v,g.group=p);c++;return g}var b=[],c=0,d=[],e=[],f={id:-1};return{opaque:d,transparent:e,
init:function(){c=0;d.length=0;e.length=0},push:function(b,c,f,m,v,p){b=a(b,c,f,m,v,p);(!0===f.transparent?e:d).push(b)},unshift:function(b,c,f,m,v,p){b=a(b,c,f,m,v,p);(!0===f.transparent?e:d).unshift(b)},sort:function(a,b){1<d.length&&d.sort(a||wk);1<e.length&&e.sort(b||xk)}}}function yk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,d){var e=b.get(c);if(void 0===e){var f=new Rh;b.set(c,new WeakMap);b.get(c).set(d,f);c.addEventListener("dispose",
a)}else f=e.get(d),void 0===f&&(f=new Rh,e.set(d,f));return f},dispose:function(){b=new WeakMap}}}function zk(){var a={};return{get:function(b){if(void 0!==a[b.id])return a[b.id];switch(b.type){case "DirectionalLight":var c={direction:new n,color:new y,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x};break;case "SpotLight":c={position:new n,direction:new n,color:new y,distance:0,coneCos:0,penumbraCos:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x};break;case "PointLight":c=
{position:new n,color:new y,distance:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x,shadowCameraNear:1,shadowCameraFar:1E3};break;case "HemisphereLight":c={direction:new n,skyColor:new y,groundColor:new y};break;case "RectAreaLight":c={color:new y,position:new n,halfWidth:new n,halfHeight:new n}}return a[b.id]=c}}}function Ak(a,b){return(b.castShadow?1:0)-(a.castShadow?1:0)}function Bk(){for(var a=new zk,b={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,
hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],point:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},c=0;9>c;c++)b.probe.push(new n);var d=new n,e=new P,f=new P;return{setup:function(c,k,l){for(var g=0,v=0,p=0,h=0;9>h;h++)b.probe[h].set(0,0,0);var t=k=0,r=0,
u=0,n=0,w=0,B=0,U=0;l=l.matrixWorldInverse;c.sort(Ak);h=0;for(var wa=c.length;h<wa;h++){var A=c[h],aa=A.color,xa=A.intensity,x=A.distance,qa=A.shadow&&A.shadow.map?A.shadow.map.texture:null;if(A.isAmbientLight)g+=aa.r*xa,v+=aa.g*xa,p+=aa.b*xa;else if(A.isLightProbe)for(qa=0;9>qa;qa++)b.probe[qa].addScaledVector(A.sh.coefficients[qa],xa);else if(A.isDirectionalLight){var F=a.get(A);F.color.copy(A.color).multiplyScalar(A.intensity);F.direction.setFromMatrixPosition(A.matrixWorld);d.setFromMatrixPosition(A.target.matrixWorld);
F.direction.sub(d);F.direction.transformDirection(l);if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,b.directionalShadowMap[k]=qa,b.directionalShadowMatrix[k]=A.shadow.matrix,w++;b.directional[k]=F;k++}else if(A.isSpotLight){F=a.get(A);F.position.setFromMatrixPosition(A.matrixWorld);F.position.applyMatrix4(l);F.color.copy(aa).multiplyScalar(xa);F.distance=x;F.direction.setFromMatrixPosition(A.matrixWorld);d.setFromMatrixPosition(A.target.matrixWorld);
F.direction.sub(d);F.direction.transformDirection(l);F.coneCos=Math.cos(A.angle);F.penumbraCos=Math.cos(A.angle*(1-A.penumbra));F.decay=A.decay;if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,b.spotShadowMap[r]=qa,b.spotShadowMatrix[r]=A.shadow.matrix,U++;b.spot[r]=F;r++}else if(A.isRectAreaLight)F=a.get(A),F.color.copy(aa).multiplyScalar(xa),F.position.setFromMatrixPosition(A.matrixWorld),F.position.applyMatrix4(l),f.identity(),e.copy(A.matrixWorld),
e.premultiply(l),f.extractRotation(e),F.halfWidth.set(.5*A.width,0,0),F.halfHeight.set(0,.5*A.height,0),F.halfWidth.applyMatrix4(f),F.halfHeight.applyMatrix4(f),b.rectArea[u]=F,u++;else if(A.isPointLight){F=a.get(A);F.position.setFromMatrixPosition(A.matrixWorld);F.position.applyMatrix4(l);F.color.copy(A.color).multiplyScalar(A.intensity);F.distance=A.distance;F.decay=A.decay;if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,F.shadowCameraNear=
xa.camera.near,F.shadowCameraFar=xa.camera.far,b.pointShadowMap[t]=qa,b.pointShadowMatrix[t]=A.shadow.matrix,B++;b.point[t]=F;t++}else A.isHemisphereLight&&(F=a.get(A),F.direction.setFromMatrixPosition(A.matrixWorld),F.direction.transformDirection(l),F.direction.normalize(),F.skyColor.copy(A.color).multiplyScalar(xa),F.groundColor.copy(A.groundColor).multiplyScalar(xa),b.hemi[n]=F,n++)}b.ambient[0]=g;b.ambient[1]=v;b.ambient[2]=p;c=b.hash;if(c.directionalLength!==k||c.pointLength!==t||c.spotLength!==
r||c.rectAreaLength!==u||c.hemiLength!==n||c.numDirectionalShadows!==w||c.numPointShadows!==B||c.numSpotShadows!==U)b.directional.length=k,b.spot.length=r,b.rectArea.length=u,b.point.length=t,b.hemi.length=n,b.directionalShadowMap.length=w,b.pointShadowMap.length=B,b.spotShadowMap.length=U,b.directionalShadowMatrix.length=w,b.pointShadowMatrix.length=B,b.spotShadowMatrix.length=U,c.directionalLength=k,c.pointLength=t,c.spotLength=r,c.rectAreaLength=u,c.hemiLength=n,c.numDirectionalShadows=w,c.numPointShadows=
B,c.numSpotShadows=U,b.version=Ck++},state:b}}function Sh(){var a=new Bk,b=[],c=[];return{init:function(){b.length=0;c.length=0},state:{lightsArray:b,shadowsArray:c,lights:a},setupLights:function(d){a.setup(b,c,d)},pushLight:function(a){b.push(a)},pushShadow:function(a){c.push(a)}}}function Dk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,d){if(!1===b.has(c)){var e=new Sh;b.set(c,new WeakMap);b.get(c).set(d,e);c.addEventListener("dispose",
a)}else!1===b.get(c).has(d)?(e=new Sh,b.get(c).set(d,e)):e=b.get(c).get(d);return e},dispose:function(){b=new WeakMap}}}function Gb(a){L.call(this);this.type="MeshDepthMaterial";this.depthPacking=3200;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.fog=!1;this.setValues(a)}function Hb(a){L.call(this);this.type="MeshDistanceMaterial";this.referencePosition=new n;this.nearDistance=
1;this.farDistance=1E3;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.fog=!1;this.setValues(a)}function Th(a,b,c){function d(a,b,c){c=a<<0|b<<1|c<<2;var d=p[c];void 0===d&&(d=new Gb({depthPacking:3201,morphTargets:a,skinning:b}),p[c]=d);return d}function e(a,b,c){c=a<<0|b<<1|c<<2;var d=h[c];void 0===d&&(d=new Hb({morphTargets:a,skinning:b}),h[c]=d);return d}function f(b,c,f,g,k,l){var m=b.geometry,p=d,v=b.customDepthMaterial;
!0===f.isPointLight&&(p=e,v=b.customDistanceMaterial);void 0===v?(v=!1,!0===c.morphTargets&&(!0===m.isBufferGeometry?v=m.morphAttributes&&m.morphAttributes.position&&0<m.morphAttributes.position.length:!0===m.isGeometry&&(v=m.morphTargets&&0<m.morphTargets.length)),m=!1,!0===b.isSkinnedMesh&&(!0===c.skinning?m=!0:console.warn("THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",b)),b=p(v,m,!0===b.isInstancedMesh)):b=v;a.localClippingEnabled&&!0===c.clipShadows&&0!==c.clippingPlanes.length&&
(v=b.uuid,p=c.uuid,m=t[v],void 0===m&&(m={},t[v]=m),v=m[p],void 0===v&&(v=b.clone(),m[p]=v),b=v);b.visible=c.visible;b.wireframe=c.wireframe;b.side=3===l?null!==c.shadowSide?c.shadowSide:c.side:null!==c.shadowSide?c.shadowSide:r[c.side];b.clipShadows=c.clipShadows;b.clippingPlanes=c.clippingPlanes;b.clipIntersection=c.clipIntersection;b.wireframeLinewidth=c.wireframeLinewidth;b.linewidth=c.linewidth;!0===f.isPointLight&&!0===b.isMeshDistanceMaterial&&(b.referencePosition.setFromMatrixPosition(f.matrixWorld),
b.nearDistance=g,b.farDistance=k);return b}function g(c,d,e,l,m){if(!1!==c.visible){if(c.layers.test(d.layers)&&(c.isMesh||c.isLine||c.isPoints)&&(c.castShadow||c.receiveShadow&&3===m)&&(!c.frustumCulled||k.intersectsObject(c))){c.modelViewMatrix.multiplyMatrices(e.matrixWorldInverse,c.matrixWorld);var p=b.update(c),v=c.material;if(Array.isArray(v))for(var h=p.groups,q=0,r=h.length;q<r;q++){var u=h[q],t=v[u.materialIndex];t&&t.visible&&(t=f(c,t,l,e.near,e.far,m),a.renderBufferDirect(e,null,p,t,c,
u))}else v.visible&&(t=f(c,v,l,e.near,e.far,m),a.renderBufferDirect(e,null,p,t,c,null))}c=c.children;p=0;for(v=c.length;p<v;p++)g(c[p],d,e,l,m)}}var k=new Hd,l=new x,m=new x,v=new S,p=[],h=[],t={},r={0:1,1:0,2:2},u=new oa({defines:{SAMPLE_RATE:.25,HALF_SAMPLE_RATE:.125},uniforms:{shadow_pass:{value:null},resolution:{value:new x},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n  float mean = 0.0;\n  float squared_mean = 0.0;\n\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy  ) / resolution ) );\n  for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n    #ifdef HORIZONAL_PASS\n      vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n      mean += distribution.x;\n      squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n    #else\n      float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0,  i )  * radius ) / resolution ) );\n      mean += depth;\n      squared_mean += depth * depth;\n    #endif\n  }\n  mean = mean * HALF_SAMPLE_RATE;\n  squared_mean = squared_mean * HALF_SAMPLE_RATE;\n  float std_dev = sqrt( squared_mean - mean * mean );\n  gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),
n=u.clone();n.defines.HORIZONAL_PASS=1;var w=new G;w.setAttribute("position",new K(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var B=new ca(w,u),U=this;this.enabled=!1;this.autoUpdate=!0;this.needsUpdate=!1;this.type=1;this.render=function(d,e,f){if(!1!==U.enabled&&(!1!==U.autoUpdate||!1!==U.needsUpdate)&&0!==d.length){var p=a.getRenderTarget(),h=a.getActiveCubeFace(),q=a.getActiveMipmapLevel(),r=a.state;r.setBlending(0);r.buffers.color.setClear(1,1,1,1);r.buffers.depth.setTest(!0);r.setScissorTest(!1);
for(var t=0,z=d.length;t<z;t++){var w=d[t],A=w.shadow;if(void 0===A)console.warn("THREE.WebGLShadowMap:",w,"has no shadow.");else{l.copy(A.mapSize);var aa=A.getFrameExtents();l.multiply(aa);m.copy(A.mapSize);if(l.x>c||l.y>c)console.warn("THREE.WebGLShadowMap:",w,"has shadow exceeding max texture size, reducing"),l.x>c&&(m.x=Math.floor(c/aa.x),l.x=m.x*aa.x,A.mapSize.x=m.x),l.y>c&&(m.y=Math.floor(c/aa.y),l.y=m.y*aa.y,A.mapSize.y=m.y);null!==A.map||A.isPointLightShadow||3!==this.type||(aa={minFilter:1006,
magFilter:1006,format:1023},A.map=new va(l.x,l.y,aa),A.map.texture.name=w.name+".shadowMap",A.mapPass=new va(l.x,l.y,aa),A.camera.updateProjectionMatrix());null===A.map&&(aa={minFilter:1003,magFilter:1003,format:1023},A.map=new va(l.x,l.y,aa),A.map.texture.name=w.name+".shadowMap",A.camera.updateProjectionMatrix());a.setRenderTarget(A.map);a.clear();aa=A.getViewportCount();for(var wa=0;wa<aa;wa++){var x=A.getViewport(wa);v.set(m.x*x.x,m.y*x.y,m.x*x.z,m.y*x.w);r.viewport(v);A.updateMatrices(w,wa);
k=A.getFrustum();g(e,f,A.camera,w,this.type)}A.isPointLightShadow||3!==this.type||(w=A,A=f,aa=b.update(B),u.uniforms.shadow_pass.value=w.map.texture,u.uniforms.resolution.value=w.mapSize,u.uniforms.radius.value=w.radius,a.setRenderTarget(w.mapPass),a.clear(),a.renderBufferDirect(A,null,aa,u,B,null),n.uniforms.shadow_pass.value=w.mapPass.texture,n.uniforms.resolution.value=w.mapSize,n.uniforms.radius.value=w.radius,a.setRenderTarget(w.map),a.clear(),a.renderBufferDirect(A,null,aa,n,B,null))}}U.needsUpdate=
!1;a.setRenderTarget(p,h,q)}}}function Ek(a,b,c){function d(b,c,d){var e=new Uint8Array(4),f=a.createTexture();a.bindTexture(b,f);a.texParameteri(b,10241,9728);a.texParameteri(b,10240,9728);for(b=0;b<d;b++)a.texImage2D(c+b,0,6408,1,1,0,6408,5121,e);return f}function e(c,d){n[c]=1;0===w[c]&&(a.enableVertexAttribArray(c),w[c]=1);B[c]!==d&&((h?a:b.get("ANGLE_instanced_arrays"))[h?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](c,d),B[c]=d)}function f(b){!0!==U[b]&&(a.enable(b),U[b]=!0)}function g(b){!1!==
U[b]&&(a.disable(b),U[b]=!1)}function k(b,c,d,e,k,l,m,p){if(0===b)A&&(g(3042),A=!1);else if(A||(f(3042),A=!0),5!==b){if(b!==aa||p!==y){if(100!==x||100!==F)a.blendEquation(32774),F=x=100;if(p)switch(b){case 1:a.blendFuncSeparate(1,771,1,771);break;case 2:a.blendFunc(1,1);break;case 3:a.blendFuncSeparate(0,0,769,771);break;case 4:a.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",b)}else switch(b){case 1:a.blendFuncSeparate(770,771,1,771);break;case 2:a.blendFunc(770,
1);break;case 3:a.blendFunc(0,769);break;case 4:a.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",b)}D=E=qa=C=null;aa=b;y=p}}else{k=k||c;l=l||d;m=m||e;if(c!==x||k!==F)a.blendEquationSeparate(Lc[c],Lc[k]),x=c,F=k;if(d!==C||e!==qa||l!==E||m!==D)a.blendFuncSeparate(J[d],J[e],J[l],J[m]),C=d,qa=e,E=l,D=m;aa=b;y=null}}function l(b){G!==b&&(b?a.frontFace(2304):a.frontFace(2305),G=b)}function m(b){0!==b?(f(2884),b!==I&&(1===b?a.cullFace(1029):2===b?a.cullFace(1028):a.cullFace(1032))):
g(2884);I=b}function v(b,c,d){if(b){if(f(32823),K!==c||M!==d)a.polygonOffset(c,d),K=c,M=d}else g(32823)}function p(b){void 0===b&&(b=33984+da-1);O!==b&&(a.activeTexture(b),O=b)}var h=c.isWebGL2,t=new function(){var b=!1,c=new S,d=null,e=new S(0,0,0,0);return{setMask:function(c){d===c||b||(a.colorMask(c,c,c,c),d=c)},setLocked:function(a){b=a},setClear:function(b,d,f,g,k){!0===k&&(b*=g,d*=g,f*=g);c.set(b,d,f,g);!1===e.equals(c)&&(a.clearColor(b,d,f,g),e.copy(c))},reset:function(){b=!1;d=null;e.set(-1,
0,0,0)}}},r=new function(){var b=!1,c=null,d=null,e=null;return{setTest:function(a){a?f(2929):g(2929)},setMask:function(d){c===d||b||(a.depthMask(d),c=d)},setFunc:function(b){if(d!==b){if(b)switch(b){case 0:a.depthFunc(512);break;case 1:a.depthFunc(519);break;case 2:a.depthFunc(513);break;case 3:a.depthFunc(515);break;case 4:a.depthFunc(514);break;case 5:a.depthFunc(518);break;case 6:a.depthFunc(516);break;case 7:a.depthFunc(517);break;default:a.depthFunc(515)}else a.depthFunc(515);d=b}},setLocked:function(a){b=
a},setClear:function(b){e!==b&&(a.clearDepth(b),e=b)},reset:function(){b=!1;e=d=c=null}}},u=new function(){var b=!1,c=null,d=null,e=null,k=null,l=null,m=null,p=null,v=null;return{setTest:function(a){b||(a?f(2960):g(2960))},setMask:function(d){c===d||b||(a.stencilMask(d),c=d)},setFunc:function(b,c,f){if(d!==b||e!==c||k!==f)a.stencilFunc(b,c,f),d=b,e=c,k=f},setOp:function(b,c,d){if(l!==b||m!==c||p!==d)a.stencilOp(b,c,d),l=b,m=c,p=d},setLocked:function(a){b=a},setClear:function(b){v!==b&&(a.clearStencil(b),
v=b)},reset:function(){b=!1;v=p=m=l=k=e=d=c=null}}};c=a.getParameter(34921);var n=new Uint8Array(c),w=new Uint8Array(c),B=new Uint8Array(c),U={},wa=null,A=null,aa=null,x=null,C=null,qa=null,F=null,E=null,D=null,y=!1,G=null,I=null,L=null,K=null,M=null,da=a.getParameter(35661),ha=!1;c=0;c=a.getParameter(7938);-1!==c.indexOf("WebGL")?(c=parseFloat(/^WebGL ([0-9])/.exec(c)[1]),ha=1<=c):-1!==c.indexOf("OpenGL ES")&&(c=parseFloat(/^OpenGL ES ([0-9])/.exec(c)[1]),ha=2<=c);var O=null,Nd={},fb=new S,Uh=new S,
ng={};ng[3553]=d(3553,3553,1);ng[34067]=d(34067,34069,6);t.setClear(0,0,0,1);r.setClear(1);u.setClear(0);f(2929);r.setFunc(3);l(!1);m(1);f(2884);k(0);var Lc={100:32774,101:32778,102:32779};h?(Lc[103]=32775,Lc[104]=32776):(c=b.get("EXT_blend_minmax"),null!==c&&(Lc[103]=c.MIN_EXT,Lc[104]=c.MAX_EXT));var J={200:0,201:1,202:768,204:770,210:776,208:774,206:772,203:769,205:771,209:775,207:773};return{buffers:{color:t,depth:r,stencil:u},initAttributes:function(){for(var a=0,b=n.length;a<b;a++)n[a]=0},enableAttribute:function(a){e(a,
0)},enableAttributeAndDivisor:e,disableUnusedAttributes:function(){for(var b=0,c=w.length;b!==c;++b)w[b]!==n[b]&&(a.disableVertexAttribArray(b),w[b]=0)},enable:f,disable:g,useProgram:function(b){return wa!==b?(a.useProgram(b),wa=b,!0):!1},setBlending:k,setMaterial:function(a,b){2===a.side?g(2884):f(2884);var c=1===a.side;b&&(c=!c);l(c);1===a.blending&&!1===a.transparent?k(0):k(a.blending,a.blendEquation,a.blendSrc,a.blendDst,a.blendEquationAlpha,a.blendSrcAlpha,a.blendDstAlpha,a.premultipliedAlpha);
r.setFunc(a.depthFunc);r.setTest(a.depthTest);r.setMask(a.depthWrite);t.setMask(a.colorWrite);b=a.stencilWrite;u.setTest(b);b&&(u.setMask(a.stencilWriteMask),u.setFunc(a.stencilFunc,a.stencilRef,a.stencilFuncMask),u.setOp(a.stencilFail,a.stencilZFail,a.stencilZPass));v(a.polygonOffset,a.polygonOffsetFactor,a.polygonOffsetUnits)},setFlipSided:l,setCullFace:m,setLineWidth:function(b){b!==L&&(ha&&a.lineWidth(b),L=b)},setPolygonOffset:v,setScissorTest:function(a){a?f(3089):g(3089)},activeTexture:p,bindTexture:function(b,
c){null===O&&p();var d=Nd[O];void 0===d&&(d={type:void 0,texture:void 0},Nd[O]=d);if(d.type!==b||d.texture!==c)a.bindTexture(b,c||ng[b]),d.type=b,d.texture=c},unbindTexture:function(){var b=Nd[O];void 0!==b&&void 0!==b.type&&(a.bindTexture(b.type,null),b.type=void 0,b.texture=void 0)},compressedTexImage2D:function(){try{a.compressedTexImage2D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",R)}},texImage2D:function(){try{a.texImage2D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",
R)}},texImage3D:function(){try{a.texImage3D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",R)}},scissor:function(b){!1===fb.equals(b)&&(a.scissor(b.x,b.y,b.z,b.w),fb.copy(b))},viewport:function(b){!1===Uh.equals(b)&&(a.viewport(b.x,b.y,b.z,b.w),Uh.copy(b))},reset:function(){for(var b=0;b<w.length;b++)1===w[b]&&(a.disableVertexAttribArray(b),w[b]=0);U={};O=null;Nd={};I=G=aa=wa=null;t.reset();r.reset();u.reset()}}}function Fk(a,b,c,d,e,f,g){function k(a,b){return L?new OffscreenCanvas(a,
b):document.createElementNS("http://www.w3.org/1999/xhtml","canvas")}function l(a,b,c,d){var e=1;if(a.width>d||a.height>d)e=d/Math.max(a.width,a.height);if(1>e||!0===b){if("undefined"!==typeof HTMLImageElement&&a instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&a instanceof ImageBitmap)return d=b?O.floorPowerOfTwo:Math.floor,b=d(e*a.width),e=d(e*a.height),void 0===I&&(I=k(b,e)),c=c?k(b,e):I,c.width=b,c.height=e,
c.getContext("2d").drawImage(a,0,0,b,e),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+a.width+"x"+a.height+") to ("+b+"x"+e+")."),c;"data"in a&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+a.width+"x"+a.height+").")}return a}function m(a){return O.isPowerOfTwo(a.width)&&O.isPowerOfTwo(a.height)}function v(a,b){return a.generateMipmaps&&b&&1003!==a.minFilter&&1006!==a.minFilter}function p(b,c,e,f){a.generateMipmap(b);d.get(c).__maxMipLevel=Math.log(Math.max(e,
f))*Math.LOG2E}function h(c,d,e){if(!1===qa)return d;if(null!==c){if(void 0!==a[c])return a[c];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+c+"'")}c=d;6403===d&&(5126===e&&(c=33326),5131===e&&(c=33325),5121===e&&(c=33321));6407===d&&(5126===e&&(c=34837),5131===e&&(c=34843),5121===e&&(c=32849));6408===d&&(5126===e&&(c=34836),5131===e&&(c=34842),5121===e&&(c=32856));33325===c||33326===c||34842===c||34836===c?b.get("EXT_color_buffer_float"):(34843===c||34837===
c)&&console.warn("THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead.");return c}function t(a){return 1003===a||1004===a||1005===a?9728:9729}function r(b){b=b.target;b.removeEventListener("dispose",r);var c=d.get(b);void 0!==c.__webglInit&&(a.deleteTexture(c.__webglTexture),d.remove(b));b.isVideoTexture&&G.delete(b);g.memory.textures--}function u(b){b=b.target;b.removeEventListener("dispose",u);var c=d.get(b),e=d.get(b.texture);if(b){void 0!==e.__webglTexture&&
a.deleteTexture(e.__webglTexture);b.depthTexture&&b.depthTexture.dispose();if(b.isWebGLRenderTargetCube)for(e=0;6>e;e++)a.deleteFramebuffer(c.__webglFramebuffer[e]),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer[e]);else a.deleteFramebuffer(c.__webglFramebuffer),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer);if(b.isWebGLMultiviewRenderTarget){a.deleteTexture(c.__webglColorTexture);a.deleteTexture(c.__webglDepthStencilTexture);g.memory.textures-=2;e=0;for(var f=c.__webglViewFramebuffers.length;e<
f;e++)a.deleteFramebuffer(c.__webglViewFramebuffers[e])}d.remove(b.texture);d.remove(b)}g.memory.textures--}function n(a,b){var e=d.get(a);if(a.isVideoTexture){var f=g.render.frame;G.get(a)!==f&&(G.set(a,f),a.update())}if(0<a.version&&e.__version!==a.version)if(f=a.image,void 0===f)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(!1===f.complete)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{A(e,a,b);return}c.activeTexture(33984+
b);c.bindTexture(3553,e.__webglTexture)}function w(b,e){if(6===b.image.length){var g=d.get(b);if(0<b.version&&g.__version!==b.version){wa(g,b);c.activeTexture(33984+e);c.bindTexture(34067,g.__webglTexture);a.pixelStorei(37440,b.flipY);var k=b&&b.isCompressedTexture;e=b.image[0]&&b.image[0].isDataTexture;for(var r=[],q=0;6>q;q++)r[q]=k||e?e?b.image[q].image:b.image[q]:l(b.image[q],!1,!0,E);var t=r[0],u=m(t)||qa,n=f.convert(b.format),A=f.convert(b.type),w=h(b.internalFormat,n,A);U(34067,b,u);if(k){for(q=
0;6>q;q++){var z=r[q].mipmaps;for(k=0;k<z.length;k++){var B=z[k];1023!==b.format&&1022!==b.format?null!==n?c.compressedTexImage2D(34069+q,k,w,B.width,B.height,0,B.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):c.texImage2D(34069+q,k,w,B.width,B.height,0,n,A,B.data)}}g.__maxMipLevel=z.length-1}else{z=b.mipmaps;for(q=0;6>q;q++)if(e)for(c.texImage2D(34069+q,0,w,r[q].width,r[q].height,0,n,A,r[q].data),k=0;k<z.length;k++)B=z[k],B=B.image[q].image,
c.texImage2D(34069+q,k+1,w,B.width,B.height,0,n,A,B.data);else for(c.texImage2D(34069+q,0,w,n,A,r[q]),k=0;k<z.length;k++)B=z[k],c.texImage2D(34069+q,k+1,w,n,A,B.image[q]);g.__maxMipLevel=z.length}v(b,u)&&p(34067,b,t.width,t.height);g.__version=b.version;if(b.onUpdate)b.onUpdate(b)}else c.activeTexture(33984+e),c.bindTexture(34067,g.__webglTexture)}}function B(a,b){c.activeTexture(33984+b);c.bindTexture(34067,d.get(a).__webglTexture)}function U(c,f,g){g?(a.texParameteri(c,10242,M[f.wrapS]),a.texParameteri(c,
10243,M[f.wrapT]),32879!==c&&35866!==c||a.texParameteri(c,32882,M[f.wrapR]),a.texParameteri(c,10240,da[f.magFilter]),a.texParameteri(c,10241,da[f.minFilter])):(a.texParameteri(c,10242,33071),a.texParameteri(c,10243,33071),32879!==c&&35866!==c||a.texParameteri(c,32882,33071),1001===f.wrapS&&1001===f.wrapT||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),a.texParameteri(c,10240,t(f.magFilter)),a.texParameteri(c,
10241,t(f.minFilter)),1003!==f.minFilter&&1006!==f.minFilter&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."));!(g=b.get("EXT_texture_filter_anisotropic"))||1015===f.type&&null===b.get("OES_texture_float_linear")||1016===f.type&&null===(qa||b.get("OES_texture_half_float_linear"))||!(1<f.anisotropy||d.get(f).__currentAnisotropy)||(a.texParameterf(c,g.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(f.anisotropy,e.getMaxAnisotropy())),
d.get(f).__currentAnisotropy=f.anisotropy)}function wa(b,c){void 0===b.__webglInit&&(b.__webglInit=!0,c.addEventListener("dispose",r),b.__webglTexture=a.createTexture(),g.memory.textures++)}function A(b,d,e){var g=3553;d.isDataTexture2DArray&&(g=35866);d.isDataTexture3D&&(g=32879);wa(b,d);c.activeTexture(33984+e);c.bindTexture(g,b.__webglTexture);a.pixelStorei(37440,d.flipY);a.pixelStorei(37441,d.premultiplyAlpha);a.pixelStorei(3317,d.unpackAlignment);e=qa?!1:1001!==d.wrapS||1001!==d.wrapT||1003!==
d.minFilter&&1006!==d.minFilter;e=e&&!1===m(d.image);e=l(d.image,e,!1,D);var k=m(e)||qa,q=f.convert(d.format),r=f.convert(d.type),t=h(d.internalFormat,q,r);U(g,d,k);var u=d.mipmaps;if(d.isDepthTexture){t=6402;if(1015===d.type){if(!1===qa)throw Error("Float Depth Texture only supported in WebGL2.0");t=36012}else qa&&(t=33189);1026===d.format&&6402===t&&1012!==d.type&&1014!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),d.type=1012,
r=f.convert(d.type));1027===d.format&&(t=34041,1020!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),d.type=1020,r=f.convert(d.type)));c.texImage2D(3553,0,t,e.width,e.height,0,q,r,null)}else if(d.isDataTexture)if(0<u.length&&k){for(var n=0,A=u.length;n<A;n++){var z=u[n];c.texImage2D(3553,n,t,z.width,z.height,0,q,r,z.data)}d.generateMipmaps=!1;b.__maxMipLevel=u.length-1}else c.texImage2D(3553,0,t,e.width,e.height,0,q,r,e.data),b.__maxMipLevel=
0;else if(d.isCompressedTexture){n=0;for(A=u.length;n<A;n++)z=u[n],1023!==d.format&&1022!==d.format?null!==q?c.compressedTexImage2D(3553,n,t,z.width,z.height,0,z.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):c.texImage2D(3553,n,t,z.width,z.height,0,q,r,z.data);b.__maxMipLevel=u.length-1}else if(d.isDataTexture2DArray)c.texImage3D(35866,0,t,e.width,e.height,e.depth,0,q,r,e.data),b.__maxMipLevel=0;else if(d.isDataTexture3D)c.texImage3D(32879,
0,t,e.width,e.height,e.depth,0,q,r,e.data),b.__maxMipLevel=0;else if(0<u.length&&k){n=0;for(A=u.length;n<A;n++)z=u[n],c.texImage2D(3553,n,t,q,r,z);d.generateMipmaps=!1;b.__maxMipLevel=u.length-1}else c.texImage2D(3553,0,t,q,r,e),b.__maxMipLevel=0;v(d,k)&&p(g,d,e.width,e.height);b.__version=d.version;if(d.onUpdate)d.onUpdate(d)}function aa(b,e,g,k){var l=f.convert(e.texture.format),m=f.convert(e.texture.type),p=h(e.texture.internalFormat,l,m);c.texImage2D(k,0,p,e.width,e.height,0,l,m,null);a.bindFramebuffer(36160,
b);a.framebufferTexture2D(36160,g,k,d.get(e.texture).__webglTexture,0);a.bindFramebuffer(36160,null)}function x(b,c,d){a.bindRenderbuffer(36161,b);if(c.depthBuffer&&!c.stencilBuffer)d?(d=C(c),a.renderbufferStorageMultisample(36161,d,33189,c.width,c.height)):a.renderbufferStorage(36161,33189,c.width,c.height),a.framebufferRenderbuffer(36160,36096,36161,b);else if(c.depthBuffer&&c.stencilBuffer)d?(d=C(c),a.renderbufferStorageMultisample(36161,d,35056,c.width,c.height)):a.renderbufferStorage(36161,34041,
c.width,c.height),a.framebufferRenderbuffer(36160,33306,36161,b);else{b=f.convert(c.texture.format);var e=f.convert(c.texture.type);b=h(c.texture.internalFormat,b,e);d?(d=C(c),a.renderbufferStorageMultisample(36161,d,b,c.width,c.height)):a.renderbufferStorage(36161,b,c.width,c.height)}a.bindRenderbuffer(36161,null)}function C(a){return qa&&a.isWebGLMultisampleRenderTarget?Math.min(y,a.samples):0}var qa=e.isWebGL2,F=e.maxTextures,E=e.maxCubemapSize,D=e.maxTextureSize,y=e.maxSamples,G=new WeakMap,I,
L=!1;try{L="undefined"!==typeof OffscreenCanvas&&null!==(new OffscreenCanvas(1,1)).getContext("2d")}catch(Nd){}var K=0,M={1E3:10497,1001:33071,1002:33648},da={1003:9728,1004:9984,1005:9986,1006:9729,1007:9985,1008:9987},ha=!1,P=!1;this.allocateTextureUnit=function(){var a=K;a>=F&&console.warn("THREE.WebGLTextures: Trying to use "+a+" texture units while this GPU supports only "+F);K+=1;return a};this.resetTextureUnits=function(){K=0};this.setTexture2D=n;this.setTexture2DArray=function(a,b){var e=
d.get(a);0<a.version&&e.__version!==a.version?A(e,a,b):(c.activeTexture(33984+b),c.bindTexture(35866,e.__webglTexture))};this.setTexture3D=function(a,b){var e=d.get(a);0<a.version&&e.__version!==a.version?A(e,a,b):(c.activeTexture(33984+b),c.bindTexture(32879,e.__webglTexture))};this.setTextureCube=w;this.setTextureCubeDynamic=B;this.setupRenderTarget=function(e){var k=d.get(e),l=d.get(e.texture);e.addEventListener("dispose",u);l.__webglTexture=a.createTexture();g.memory.textures++;var q=!0===e.isWebGLRenderTargetCube,
r=!0===e.isWebGLMultisampleRenderTarget,t=!0===e.isWebGLMultiviewRenderTarget,z=m(e)||qa;if(q){k.__webglFramebuffer=[];for(var A=0;6>A;A++)k.__webglFramebuffer[A]=a.createFramebuffer()}else if(k.__webglFramebuffer=a.createFramebuffer(),r)if(qa){k.__webglMultisampledFramebuffer=a.createFramebuffer();k.__webglColorRenderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,k.__webglColorRenderbuffer);r=f.convert(e.texture.format);var w=f.convert(e.texture.type);r=h(e.texture.internalFormat,r,w);w=
C(e);a.renderbufferStorageMultisample(36161,w,r,e.width,e.height);a.bindFramebuffer(36160,k.__webglMultisampledFramebuffer);a.framebufferRenderbuffer(36160,36064,36161,k.__webglColorRenderbuffer);a.bindRenderbuffer(36161,null);e.depthBuffer&&(k.__webglDepthRenderbuffer=a.createRenderbuffer(),x(k.__webglDepthRenderbuffer,e,!0));a.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");else if(t){A=e.width;var B=e.height;r=e.numViews;
a.bindFramebuffer(36160,k.__webglFramebuffer);var wa=b.get("OVR_multiview2");g.memory.textures+=2;w=a.createTexture();a.bindTexture(35866,w);a.texParameteri(35866,10240,9728);a.texParameteri(35866,10241,9728);a.texImage3D(35866,0,32856,A,B,r,0,6408,5121,null);wa.framebufferTextureMultiviewOVR(36160,36064,w,0,0,r);var F=a.createTexture();a.bindTexture(35866,F);a.texParameteri(35866,10240,9728);a.texParameteri(35866,10241,9728);a.texImage3D(35866,0,35056,A,B,r,0,34041,34042,null);wa.framebufferTextureMultiviewOVR(36160,
33306,F,0,0,r);B=Array(r);for(A=0;A<r;++A)B[A]=a.createFramebuffer(),a.bindFramebuffer(36160,B[A]),a.framebufferTextureLayer(36160,36064,w,0,A);k.__webglColorTexture=w;k.__webglDepthStencilTexture=F;k.__webglViewFramebuffers=B;a.bindFramebuffer(36160,null);a.bindTexture(35866,null)}if(q){c.bindTexture(34067,l.__webglTexture);U(34067,e.texture,z);for(A=0;6>A;A++)aa(k.__webglFramebuffer[A],e,36064,34069+A);v(e.texture,z)&&p(34067,e.texture,e.width,e.height);c.bindTexture(34067,null)}else t||(c.bindTexture(3553,
l.__webglTexture),U(3553,e.texture,z),aa(k.__webglFramebuffer,e,36064,3553),v(e.texture,z)&&p(3553,e.texture,e.width,e.height),c.bindTexture(3553,null));if(e.depthBuffer){k=d.get(e);l=!0===e.isWebGLRenderTargetCube;if(e.depthTexture){if(l)throw Error("target.depthTexture not supported in Cube render targets");if(e&&e.isWebGLRenderTargetCube)throw Error("Depth Texture with cube render targets is not supported");a.bindFramebuffer(36160,k.__webglFramebuffer);if(!e.depthTexture||!e.depthTexture.isDepthTexture)throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");
d.get(e.depthTexture).__webglTexture&&e.depthTexture.image.width===e.width&&e.depthTexture.image.height===e.height||(e.depthTexture.image.width=e.width,e.depthTexture.image.height=e.height,e.depthTexture.needsUpdate=!0);n(e.depthTexture,0);k=d.get(e.depthTexture).__webglTexture;if(1026===e.depthTexture.format)a.framebufferTexture2D(36160,36096,3553,k,0);else if(1027===e.depthTexture.format)a.framebufferTexture2D(36160,33306,3553,k,0);else throw Error("Unknown depthTexture format");}else if(l)for(k.__webglDepthbuffer=
[],l=0;6>l;l++)a.bindFramebuffer(36160,k.__webglFramebuffer[l]),k.__webglDepthbuffer[l]=a.createRenderbuffer(),x(k.__webglDepthbuffer[l],e);else a.bindFramebuffer(36160,k.__webglFramebuffer),k.__webglDepthbuffer=a.createRenderbuffer(),x(k.__webglDepthbuffer,e);a.bindFramebuffer(36160,null)}};this.updateRenderTargetMipmap=function(a){var b=a.texture,e=m(a)||qa;if(v(b,e)){e=a.isWebGLRenderTargetCube?34067:3553;var f=d.get(b).__webglTexture;c.bindTexture(e,f);p(e,b,a.width,a.height);c.bindTexture(e,
null)}};this.updateMultisampleRenderTarget=function(b){if(b.isWebGLMultisampleRenderTarget)if(qa){var c=d.get(b);a.bindFramebuffer(36008,c.__webglMultisampledFramebuffer);a.bindFramebuffer(36009,c.__webglFramebuffer);c=b.width;var e=b.height,f=16384;b.depthBuffer&&(f|=256);b.stencilBuffer&&(f|=1024);a.blitFramebuffer(0,0,c,e,0,0,c,e,f,9728)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")};this.safeSetTexture2D=function(a,b){a&&a.isWebGLRenderTarget&&
(!1===ha&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),ha=!0),a=a.texture);n(a,b)};this.safeSetTextureCube=function(a,b){a&&a.isWebGLRenderTargetCube&&(!1===P&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),P=!0),a=a.texture);a&&a.isCubeTexture||Array.isArray(a.image)&&6===a.image.length?w(a,b):B(a,b)}}function Vh(a,b,c){var d=
c.isWebGL2;return{convert:function(a){if(1009===a)return 5121;if(1017===a)return 32819;if(1018===a)return 32820;if(1019===a)return 33635;if(1010===a)return 5120;if(1011===a)return 5122;if(1012===a)return 5123;if(1013===a)return 5124;if(1014===a)return 5125;if(1015===a)return 5126;if(1016===a){if(d)return 5131;var c=b.get("OES_texture_half_float");return null!==c?c.HALF_FLOAT_OES:null}if(1021===a)return 6406;if(1022===a)return 6407;if(1023===a)return 6408;if(1024===a)return 6409;if(1025===a)return 6410;
if(1026===a)return 6402;if(1027===a)return 34041;if(1028===a)return 6403;if(1029===a)return 36244;if(1030===a)return 33319;if(1031===a)return 33320;if(1032===a)return 36248;if(1033===a)return 36249;if(33776===a||33777===a||33778===a||33779===a)if(c=b.get("WEBGL_compressed_texture_s3tc"),null!==c){if(33776===a)return c.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===a)return c.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===a)return c.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===a)return c.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;
if(35840===a||35841===a||35842===a||35843===a)if(c=b.get("WEBGL_compressed_texture_pvrtc"),null!==c){if(35840===a)return c.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===a)return c.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===a)return c.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===a)return c.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(36196===a)return c=b.get("WEBGL_compressed_texture_etc1"),null!==c?c.COMPRESSED_RGB_ETC1_WEBGL:null;if(37808===a||37809===a||37810===a||37811===a||37812===a||37813===
a||37814===a||37815===a||37816===a||37817===a||37818===a||37819===a||37820===a||37821===a)return c=b.get("WEBGL_compressed_texture_astc"),null!==c?a:null;if(1020===a){if(d)return 34042;c=b.get("WEBGL_depth_texture");return null!==c?c.UNSIGNED_INT_24_8_WEBGL:null}}}}function og(a,b,c,d){va.call(this,a,b,d);this.stencilBuffer=this.depthBuffer=!1;this.numViews=c}function Gk(a,b){function c(a){if(a.isArrayCamera)return a.cameras;v[0]=a;return v}function d(a){if(void 0===a.isArrayCamera)return!0;a=a.cameras;
if(a.length>t)return!1;for(var b=1,c=a.length;b<c;b++)if(a[0].viewport.z!==a[b].viewport.z||a[0].viewport.w!==a[b].viewport.w)return!1;return!0}var e=a.extensions,f=a.properties,g,k,l,m,v,p,h,t=0;this.isAvailable=function(){if(void 0===h){var a=e.get("OVR_multiview2");if(h=null!==a&&!1===b.getContextAttributes().antialias)for(t=b.getParameter(a.MAX_VIEWS_OVR),g=new og(0,0,2),p=new x,m=[],l=[],v=[],a=0;a<t;a++)m[a]=new P,l[a]=new za}return h};this.attachCamera=function(b){if(!1!==d(b)){(k=a.getRenderTarget())?
p.set(k.width,k.height):a.getDrawingBufferSize(p);if(b.isArrayCamera){var c=b.cameras[0].viewport;g.setSize(c.z,c.w);g.setNumViews(b.cameras.length)}else g.setSize(p.x,p.y),g.setNumViews(2);a.setRenderTarget(g)}};this.detachCamera=function(c){if(g===a.getRenderTarget()){a.setRenderTarget(k);var d=g,e=d.numViews,l=f.get(d).__webglViewFramebuffers,m=d.width;d=d.height;if(c.isArrayCamera)for(var v=0;v<e;v++){var h=c.cameras[v].viewport,q=h.x,r=h.y,t=q+h.z;h=r+h.w;b.bindFramebuffer(36008,l[v]);b.blitFramebuffer(0,
0,m,d,q,r,t,h,16384,9728)}else b.bindFramebuffer(36008,l[0]),b.blitFramebuffer(0,0,m,d,0,0,p.x,p.y,16384,9728)}};this.updateCameraProjectionMatricesUniform=function(a,d){a=c(a);for(var e=0;e<a.length;e++)m[e].copy(a[e].projectionMatrix);d.setValue(b,"projectionMatrices",m)};this.updateCameraViewMatricesUniform=function(a,d){a=c(a);for(var e=0;e<a.length;e++)m[e].copy(a[e].matrixWorldInverse);d.setValue(b,"viewMatrices",m)};this.updateObjectMatricesUniforms=function(a,d,e){d=c(d);for(var f=0;f<d.length;f++)m[f].multiplyMatrices(d[f].matrixWorldInverse,
a.matrixWorld),l[f].getNormalMatrix(m[f]);e.setValue(b,"modelViewMatrices",m);e.setValue(b,"normalMatrices",l)}}function Pe(a){pa.call(this);this.cameras=a||[]}function Od(){D.call(this);this.type="Group"}function Wh(a,b){function c(a){var b=t.get(a.inputSource);b&&b.dispatchEvent({type:a.type})}function d(){t.forEach(function(a,b){a.dispatchEvent({type:"disconnected",data:b});a.visible=!1});t.clear();a.setFramebuffer(null);a.setRenderTarget(a.getRenderTarget());x.stop();k.dispatchEvent({type:"sessionend"});
k.isPresenting=!1}function e(a){m=a;x.setContext(l);x.start();k.dispatchEvent({type:"sessionstart"});k.isPresenting=!0}function f(a){for(var b=l.inputSources,c=0;c<h.length;c++)t.set(b[c],h[c]);for(c=0;c<a.removed.length;c++){b=a.removed[c];var d=t.get(b);d&&(d.dispatchEvent({type:"disconnected",data:b}),t.delete(b))}for(c=0;c<a.added.length;c++)b=a.added[c],(d=t.get(b))&&d.dispatchEvent({type:"connected",data:b})}function g(a,b){null===b?a.matrixWorld.copy(a.matrix):a.matrixWorld.multiplyMatrices(b.matrixWorld,
a.matrix);a.matrixWorldInverse.getInverse(a.matrixWorld)}var k=this,l=null,m=null,v="local-floor",p=null,h=[],t=new Map,r=new pa;r.layers.enable(1);r.viewport=new S;var u=new pa;u.layers.enable(2);u.viewport=new S;var z=new Pe([r,u]);z.layers.enable(1);z.layers.enable(2);this.isPresenting=this.enabled=!1;this.getController=function(a){var b=h[a];void 0===b&&(b=new Od,b.matrixAutoUpdate=!1,b.visible=!1,h[a]=b);return b};this.setFramebufferScaleFactor=function(){};this.setReferenceSpaceType=function(a){v=
a};this.getReferenceSpace=function(){return m};this.getSession=function(){return l};this.setSession=function(a){l=a;null!==l&&(l.addEventListener("select",c),l.addEventListener("selectstart",c),l.addEventListener("selectend",c),l.addEventListener("squeeze",c),l.addEventListener("squeezestart",c),l.addEventListener("squeezeend",c),l.addEventListener("end",d),a=b.getContextAttributes(),a=new XRWebGLLayer(l,b,{antialias:a.antialias,alpha:a.alpha,depth:a.depth,stencil:a.stencil}),l.updateRenderState({baseLayer:a}),
l.requestReferenceSpace(v).then(e),l.addEventListener("inputsourceschange",f))};var w=new n,B=new n;this.getCamera=function(a){var b=a.parent,c=z.cameras;g(z,b);for(var d=0;d<c.length;d++)g(c[d],b);a.matrixWorld.copy(z.matrixWorld);a=a.children;d=0;for(b=a.length;d<b;d++)a[d].updateMatrixWorld(!0);w.setFromMatrixPosition(r.matrixWorld);B.setFromMatrixPosition(u.matrixWorld);d=w.distanceTo(B);var e=r.projectionMatrix.elements,f=u.projectionMatrix.elements,k=e[14]/(e[10]-1);a=e[14]/(e[10]+1);b=(e[9]+
1)/e[5];c=(e[9]-1)/e[5];var l=(e[8]-1)/e[0],m=(f[8]+1)/f[0];f=k*l;e=k*m;m=d/(-l+m);l=m*-l;r.matrixWorld.decompose(z.position,z.quaternion,z.scale);z.translateX(l);z.translateZ(m);z.matrixWorld.compose(z.position,z.quaternion,z.scale);z.matrixWorldInverse.getInverse(z.matrixWorld);k+=m;m=a+m;z.projectionMatrix.makePerspective(f-l,e+(d-l),b*a/m*k,c*a/m*k,k,m);return z};var U=null,x=new yh;x.setAnimationLoop(function(b,c){p=c.getViewerPose(m);if(null!==p){var d=p.views,e=l.renderState.baseLayer;a.setFramebuffer(e.framebuffer);
for(var f=0;f<d.length;f++){var g=d[f],k=e.getViewport(g),v=z.cameras[f];v.matrix.fromArray(g.transform.inverse.matrix).getInverse(v.matrix);v.projectionMatrix.fromArray(g.projectionMatrix);v.viewport.set(k.x,k.y,k.width,k.height);0===f&&z.matrix.copy(v.matrix)}}d=l.inputSources;for(f=0;f<h.length;f++){e=h[f];if(g=d[f])if(g=c.getPose(g.targetRaySpace,m),null!==g){e.matrix.fromArray(g.transform.matrix);e.matrix.decompose(e.position,e.rotation,e.scale);e.visible=!0;continue}e.visible=!1}U&&U(b,c)});
this.setAnimationLoop=function(a){U=a};this.dispose=function(){}}function pg(a){var b;function c(){sa=new wj(H);Ha=new uj(H,sa,a);!1===Ha.isWebGL2&&(sa.get("WEBGL_depth_texture"),sa.get("OES_texture_float"),sa.get("OES_texture_half_float"),sa.get("OES_texture_half_float_linear"),sa.get("OES_standard_derivatives"),sa.get("OES_element_index_uint"),sa.get("ANGLE_instanced_arrays"));sa.get("OES_texture_float_linear");oa=new Vh(H,sa,Ha);Z=new Ek(H,sa,Ha);Z.scissor(X.copy(ia).multiplyScalar(R).floor());
Z.viewport(fb.copy(fa).multiplyScalar(R).floor());ea=new zj(H);W=new vk;V=new Fk(H,sa,Z,W,Ha,oa,ea);ma=new rj(H);za=new xj(H,ma,ea);ta=new Cj(H,za,ma,ea);Aa=new Bj(H);ra=new uk(y,sa,Ha);ya=new yk;va=new Dk;na=new sj(y,Z,ta,A);Ba=new tj(H,sa,ea,Ha);Da=new yj(H,sa,ea,Ha);ea.programs=ra.programs;y.capabilities=Ha;y.extensions=sa;y.properties=W;y.renderLists=ya;y.state=Z;y.info=ea}function d(a){a.preventDefault();console.log("THREE.WebGLRenderer: Context Lost.");I=!0}function e(){console.log("THREE.WebGLRenderer: Context Restored.");
I=!1;c()}function f(a){a=a.target;a.removeEventListener("dispose",f);g(a);W.remove(a)}function g(a){var b=W.get(a).program;a.program=void 0;void 0!==b&&ra.releaseProgram(b)}function k(a,b){a.render(function(a){y.renderBufferImmediate(a,b)})}function l(a,b,c,d){if(!1!==a.visible){if(a.layers.test(b.layers))if(a.isGroup)c=a.renderOrder;else if(a.isLOD)!0===a.autoUpdate&&a.update(b);else if(a.isLight)F.pushLight(a),a.castShadow&&F.pushShadow(a);else if(a.isSprite){if(!a.frustumCulled||lg.intersectsSprite(a)){d&&
Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md);var e=ta.update(a),f=a.material;f.visible&&G.push(a,e,f,c,Ib.z,null)}}else if(a.isImmediateRenderObject)d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md),G.push(a,null,a.material,c,Ib.z,null);else if(a.isMesh||a.isLine||a.isPoints)if(a.isSkinnedMesh&&a.skeleton.frame!==ea.render.frame&&(a.skeleton.update(),a.skeleton.frame=ea.render.frame),!a.frustumCulled||lg.intersectsObject(a))if(d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md),
e=ta.update(a),f=a.material,Array.isArray(f))for(var g=e.groups,k=0,m=g.length;k<m;k++){var p=g[k],v=f[p.materialIndex];v&&v.visible&&G.push(a,e,v,c,Ib.z,p)}else f.visible&&G.push(a,e,f,c,Ib.z,null);a=a.children;k=0;for(m=a.length;k<m;k++)l(a[k],b,c,d)}}function m(a,b,c,d){for(var e=0,f=a.length;e<f;e++){var g=a[e],k=g.object,l=g.geometry,m=void 0===d?g.material:d;g=g.group;if(c.isArrayCamera)if(T=c,ka.enabled&&ua.isAvailable())v(k,b,c,l,m,g);else for(var p=c.cameras,h=0,q=p.length;h<q;h++){var r=
p[h];k.layers.test(r.layers)&&(Z.viewport(fb.copy(r.viewport)),F.setupLights(r),v(k,b,r,l,m,g))}else T=null,v(k,b,c,l,m,g)}}function v(a,c,d,e,f,g){a.onBeforeRender(y,c,d,e,f,g);F=va.get(c,T||d);a.modelViewMatrix.multiplyMatrices(d.matrixWorldInverse,a.matrixWorld);a.normalMatrix.getNormalMatrix(a.modelViewMatrix);if(a.isImmediateRenderObject){var l=h(d,c,f,a);Z.setMaterial(f);da=b=null;ha=!1;k(a,l)}else y.renderBufferDirect(d,c,e,f,a,g);a.onAfterRender(y,c,d,e,f,g);F=va.get(c,T||d)}function p(a,
b,c){var d=W.get(a),e=F.state.lights,k=e.state.version;c=ra.getParameters(a,e.state,F.state.shadowsArray,b,Ua.numPlanes,Ua.numIntersection,c);var l=ra.getProgramCacheKey(a,c),m=d.program,p=!0;if(void 0===m)a.addEventListener("dispose",f);else if(m.cacheKey!==l)g(a);else{if(d.lightsStateVersion!==k)d.lightsStateVersion=k;else if(void 0!==c.shaderID)return;p=!1}p&&(c.shaderID?(l=eb[c.shaderID],d.shader={name:a.type,uniforms:bc(l.uniforms),vertexShader:l.vertexShader,fragmentShader:l.fragmentShader}):
d.shader={name:a.type,uniforms:a.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader},a.onBeforeCompile(d.shader,y),l=ra.getProgramCacheKey(a,c),m=ra.acquireProgram(a,d.shader,c,l),d.program=m,d.environment=a.isMeshStandardMaterial?b.environment:null,d.outputEncoding=y.outputEncoding,a.program=m);c=m.getAttributes();if(a.morphTargets)for(l=a.numSupportedMorphTargets=0;l<y.maxMorphTargets;l++)0<=c["morphTarget"+l]&&a.numSupportedMorphTargets++;if(a.morphNormals)for(l=a.numSupportedMorphNormals=
0;l<y.maxMorphNormals;l++)0<=c["morphNormal"+l]&&a.numSupportedMorphNormals++;c=d.shader.uniforms;if(!a.isShaderMaterial&&!a.isRawShaderMaterial||!0===a.clipping)d.numClippingPlanes=Ua.numPlanes,d.numIntersection=Ua.numIntersection,c.clippingPlanes=Ua.uniform;d.fog=b.fog;d.needsLights=a.isMeshLambertMaterial||a.isMeshToonMaterial||a.isMeshPhongMaterial||a.isMeshStandardMaterial||a.isShadowMaterial||a.isShaderMaterial&&!0===a.lights;d.lightsStateVersion=k;d.needsLights&&(c.ambientLightColor.value=
e.state.ambient,c.lightProbe.value=e.state.probe,c.directionalLights.value=e.state.directional,c.spotLights.value=e.state.spot,c.rectAreaLights.value=e.state.rectArea,c.pointLights.value=e.state.point,c.hemisphereLights.value=e.state.hemi,c.directionalShadowMap.value=e.state.directionalShadowMap,c.directionalShadowMatrix.value=e.state.directionalShadowMatrix,c.spotShadowMap.value=e.state.spotShadowMap,c.spotShadowMatrix.value=e.state.spotShadowMatrix,c.pointShadowMap.value=e.state.pointShadowMap,
c.pointShadowMatrix.value=e.state.pointShadowMatrix);a=d.program.getUniforms();a=Fb.seqWithValue(a.seq,c);d.uniformsList=a}function h(a,b,c,d){V.resetTextureUnits();var e=b.fog,f=c.isMeshStandardMaterial?b.environment:null,g=W.get(c),k=F.state.lights;pa&&(mg||a!==Y)&&Ua.setState(c.clippingPlanes,c.clipIntersection,c.clipShadows,a,g,a===Y&&c.id===Oe);c.version===g.__version&&(void 0===g.program?c.needsUpdate=!0:c.fog&&g.fog!==e?c.needsUpdate=!0:g.environment!==f?c.needsUpdate=!0:g.needsLights&&g.lightsStateVersion!==
k.state.version?c.needsUpdate=!0:void 0===g.numClippingPlanes||g.numClippingPlanes===Ua.numPlanes&&g.numIntersection===Ua.numIntersection?g.outputEncoding!==y.outputEncoding&&(c.needsUpdate=!0):c.needsUpdate=!0);c.version!==g.__version&&(p(c,b,d),g.__version=c.version);var l=!1,m=!1,v=!1;b=g.program;k=b.getUniforms();var h=g.shader.uniforms;Z.useProgram(b.program)&&(v=m=l=!0);c.id!==Oe&&(Oe=c.id,m=!0);if(l||Y!==a){0<b.numMultiviewViews?ua.updateCameraProjectionMatricesUniform(a,k):k.setValue(H,"projectionMatrix",
a.projectionMatrix);Ha.logarithmicDepthBuffer&&k.setValue(H,"logDepthBufFC",2/(Math.log(a.far+1)/Math.LN2));Y!==a&&(Y=a,v=m=!0);if(c.isShaderMaterial||c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshStandardMaterial||c.envMap)l=k.map.cameraPosition,void 0!==l&&l.setValue(H,Ib.setFromMatrixPosition(a.matrixWorld));(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial)&&k.setValue(H,"isOrthographic",!0===a.isOrthographicCamera);
if(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial||c.skinning)0<b.numMultiviewViews?ua.updateCameraViewMatricesUniform(a,k):k.setValue(H,"viewMatrix",a.matrixWorldInverse)}if(c.skinning&&(k.setOptional(H,d,"bindMatrix"),k.setOptional(H,d,"bindMatrixInverse"),l=d.skeleton)){var q=l.bones;if(Ha.floatVertexTextures){if(void 0===l.boneTexture){q=Math.sqrt(4*q.length);q=O.ceilPowerOfTwo(q);q=Math.max(q,4);var n=
new Float32Array(q*q*4);n.set(l.boneMatrices);var u=new cc(n,q,q,1023,1015);l.boneMatrices=n;l.boneTexture=u;l.boneTextureSize=q}k.setValue(H,"boneTexture",l.boneTexture,V);k.setValue(H,"boneTextureSize",l.boneTextureSize)}else k.setOptional(H,l,"boneMatrices")}if(m||g.receiveShadow!==d.receiveShadow)g.receiveShadow=d.receiveShadow,k.setValue(H,"receiveShadow",d.receiveShadow);if(m){k.setValue(H,"toneMappingExposure",y.toneMappingExposure);k.setValue(H,"toneMappingWhitePoint",y.toneMappingWhitePoint);
g.needsLights&&(m=v,h.ambientLightColor.needsUpdate=m,h.lightProbe.needsUpdate=m,h.directionalLights.needsUpdate=m,h.pointLights.needsUpdate=m,h.spotLights.needsUpdate=m,h.rectAreaLights.needsUpdate=m,h.hemisphereLights.needsUpdate=m);e&&c.fog&&(h.fogColor.value.copy(e.color),e.isFog?(h.fogNear.value=e.near,h.fogFar.value=e.far):e.isFogExp2&&(h.fogDensity.value=e.density));if(c.isMeshBasicMaterial)t(h,c);else if(c.isMeshLambertMaterial)t(h,c),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap);else if(c.isMeshToonMaterial)t(h,
c),h.specular.value.copy(c.specular),h.shininess.value=Math.max(c.shininess,1E-4),c.gradientMap&&(h.gradientMap.value=c.gradientMap),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=
c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshPhongMaterial)t(h,c),h.specular.value.copy(c.specular),h.shininess.value=Math.max(c.shininess,1E-4),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=
c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshStandardMaterial)t(h,c,f),c.isMeshPhysicalMaterial?(r(h,c,f),h.reflectivity.value=c.reflectivity,h.clearcoat.value=c.clearcoat,h.clearcoatRoughness.value=c.clearcoatRoughness,c.sheen&&h.sheen.value.copy(c.sheen),c.clearcoatNormalMap&&(h.clearcoatNormalScale.value.copy(c.clearcoatNormalScale),h.clearcoatNormalMap.value=c.clearcoatNormalMap,1===c.side&&h.clearcoatNormalScale.value.negate()),
h.transparency.value=c.transparency):r(h,c,f);else if(c.isMeshMatcapMaterial)t(h,c),c.matcap&&(h.matcap.value=c.matcap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);
else if(c.isMeshDepthMaterial)t(h,c),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshDistanceMaterial)t(h,c),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias),h.referencePosition.value.copy(c.referencePosition),h.nearDistance.value=c.nearDistance,h.farDistance.value=c.farDistance;
else if(c.isMeshNormalMaterial)t(h,c),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isLineBasicMaterial)h.diffuse.value.copy(c.color),h.opacity.value=c.opacity,
c.isLineDashedMaterial&&(h.dashSize.value=c.dashSize,h.totalSize.value=c.dashSize+c.gapSize,h.scale.value=c.scale);else if(c.isPointsMaterial){h.diffuse.value.copy(c.color);h.opacity.value=c.opacity;h.size.value=c.size*R;h.scale.value=.5*J;c.map&&(h.map.value=c.map);c.alphaMap&&(h.alphaMap.value=c.alphaMap);if(c.map)var z=c.map;else c.alphaMap&&(z=c.alphaMap);void 0!==z&&(!0===z.matrixAutoUpdate&&z.updateMatrix(),h.uvTransform.value.copy(z.matrix))}else if(c.isSpriteMaterial){h.diffuse.value.copy(c.color);
h.opacity.value=c.opacity;h.rotation.value=c.rotation;c.map&&(h.map.value=c.map);c.alphaMap&&(h.alphaMap.value=c.alphaMap);if(c.map)var w=c.map;else c.alphaMap&&(w=c.alphaMap);void 0!==w&&(!0===w.matrixAutoUpdate&&w.updateMatrix(),h.uvTransform.value.copy(w.matrix))}else c.isShadowMaterial&&(h.color.value.copy(c.color),h.opacity.value=c.opacity);void 0!==h.ltc_1&&(h.ltc_1.value=E.LTC_1);void 0!==h.ltc_2&&(h.ltc_2.value=E.LTC_2);Fb.upload(H,g.uniformsList,h,V);c.isShaderMaterial&&(c.uniformsNeedUpdate=
!1)}c.isShaderMaterial&&!0===c.uniformsNeedUpdate&&(Fb.upload(H,g.uniformsList,h,V),c.uniformsNeedUpdate=!1);c.isSpriteMaterial&&k.setValue(H,"center",d.center);0<b.numMultiviewViews?ua.updateObjectMatricesUniforms(d,a,k):(k.setValue(H,"modelViewMatrix",d.modelViewMatrix),k.setValue(H,"normalMatrix",d.normalMatrix));k.setValue(H,"modelMatrix",d.matrixWorld);return b}function t(a,b,c){a.opacity.value=b.opacity;b.color&&a.diffuse.value.copy(b.color);b.emissive&&a.emissive.value.copy(b.emissive).multiplyScalar(b.emissiveIntensity);
b.map&&(a.map.value=b.map);b.alphaMap&&(a.alphaMap.value=b.alphaMap);b.specularMap&&(a.specularMap.value=b.specularMap);if(c=b.envMap||c)a.envMap.value=c,a.flipEnvMap.value=c.isCubeTexture?-1:1,a.reflectivity.value=b.reflectivity,a.refractionRatio.value=b.refractionRatio,a.maxMipLevel.value=W.get(c).__maxMipLevel;b.lightMap&&(a.lightMap.value=b.lightMap,a.lightMapIntensity.value=b.lightMapIntensity);b.aoMap&&(a.aoMap.value=b.aoMap,a.aoMapIntensity.value=b.aoMapIntensity);if(b.map)var d=b.map;else b.specularMap?
d=b.specularMap:b.displacementMap?d=b.displacementMap:b.normalMap?d=b.normalMap:b.bumpMap?d=b.bumpMap:b.roughnessMap?d=b.roughnessMap:b.metalnessMap?d=b.metalnessMap:b.alphaMap?d=b.alphaMap:b.emissiveMap&&(d=b.emissiveMap);void 0!==d&&(d.isWebGLRenderTarget&&(d=d.texture),!0===d.matrixAutoUpdate&&d.updateMatrix(),a.uvTransform.value.copy(d.matrix));if(b.aoMap)var e=b.aoMap;else b.lightMap&&(e=b.lightMap);void 0!==e&&(e.isWebGLRenderTarget&&(e=e.texture),!0===e.matrixAutoUpdate&&e.updateMatrix(),a.uv2Transform.value.copy(e.matrix))}
function r(a,b,c){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=
b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);if(b.envMap||c)a.envMapIntensity.value=b.envMapIntensity}a=a||{};var u=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,w=void 0!==a.alpha?a.alpha:!1,B=void 0!==a.depth?a.depth:!0,U=void 0!==a.stencil?a.stencil:!0,wa=void 0!==a.antialias?a.antialias:!1,A=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,aa=
void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,C=void 0!==a.powerPreference?a.powerPreference:"default",D=void 0!==a.failIfMajorPerformanceCaveat?a.failIfMajorPerformanceCaveat:!1,G=null,F=null;this.domElement=u;this.debug={checkShaderErrors:!0};this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.outputEncoding=3E3;this.physicallyCorrectLights=!1;this.toneMappingWhitePoint=
this.toneMappingExposure=this.toneMapping=1;this.maxMorphTargets=8;this.maxMorphNormals=4;var y=this,I=!1,K=null,L=0,M=0,N=null,Q=null,Oe=-1;var da=b=null;var ha=!1;var Y=null,T=null,fb=new S,X=new S,ba=null,ca=u.width,J=u.height,R=1,ja=null,la=null,fa=new S(0,0,ca,J),ia=new S(0,0,ca,J),kg=!1,lg=new Hd,Ua=new vj,pa=!1,mg=!1,Md=new P,Ib=new n;try{w={alpha:w,depth:B,stencil:U,antialias:wa,premultipliedAlpha:A,preserveDrawingBuffer:aa,powerPreference:C,failIfMajorPerformanceCaveat:D,xrCompatible:!0};
u.addEventListener("webglcontextlost",d,!1);u.addEventListener("webglcontextrestored",e,!1);var H=z||u.getContext("webgl",w)||u.getContext("experimental-webgl",w);if(null===H){if(null!==u.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===H.getShaderPrecisionFormat&&(H.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(Xh){throw console.error("THREE.WebGLRenderer: "+
Xh.message),Xh;}var sa,Ha,Z,ea,W,V,ma,za,ta,ra,ya,va,na,Aa,Ba,Da,oa;c();var ka=new Wh(y,H);this.xr=ka;var ua=new Gk(y,H),Fa=new Th(y,ta,Ha.maxTextureSize);this.shadowMap=Fa;this.getContext=function(){return H};this.getContextAttributes=function(){return H.getContextAttributes()};this.forceContextLoss=function(){var a=sa.get("WEBGL_lose_context");a&&a.loseContext()};this.forceContextRestore=function(){var a=sa.get("WEBGL_lose_context");a&&a.restoreContext()};this.getPixelRatio=function(){return R};
this.setPixelRatio=function(a){void 0!==a&&(R=a,this.setSize(ca,J,!1))};this.getSize=function(a){void 0===a&&(console.warn("WebGLRenderer: .getsize() now requires a Vector2 as an argument"),a=new x);return a.set(ca,J)};this.setSize=function(a,b,c){ka.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(ca=a,J=b,u.width=Math.floor(a*R),u.height=Math.floor(b*R),!1!==c&&(u.style.width=a+"px",u.style.height=b+"px"),this.setViewport(0,0,a,b))};this.getDrawingBufferSize=
function(a){void 0===a&&(console.warn("WebGLRenderer: .getdrawingBufferSize() now requires a Vector2 as an argument"),a=new x);return a.set(ca*R,J*R).floor()};this.setDrawingBufferSize=function(a,b,c){ca=a;J=b;R=c;u.width=Math.floor(a*c);u.height=Math.floor(b*c);this.setViewport(0,0,a,b)};this.getCurrentViewport=function(a){void 0===a&&(console.warn("WebGLRenderer: .getCurrentViewport() now requires a Vector4 as an argument"),a=new S);return a.copy(fb)};this.getViewport=function(a){return a.copy(fa)};
this.setViewport=function(a,b,c,d){a.isVector4?fa.set(a.x,a.y,a.z,a.w):fa.set(a,b,c,d);Z.viewport(fb.copy(fa).multiplyScalar(R).floor())};this.getScissor=function(a){return a.copy(ia)};this.setScissor=function(a,b,c,d){a.isVector4?ia.set(a.x,a.y,a.z,a.w):ia.set(a,b,c,d);Z.scissor(X.copy(ia).multiplyScalar(R).floor())};this.getScissorTest=function(){return kg};this.setScissorTest=function(a){Z.setScissorTest(kg=a)};this.setOpaqueSort=function(a){ja=a};this.setTransparentSort=function(a){la=a};this.getClearColor=
function(){return na.getClearColor()};this.setClearColor=function(){na.setClearColor.apply(na,arguments)};this.getClearAlpha=function(){return na.getClearAlpha()};this.setClearAlpha=function(){na.setClearAlpha.apply(na,arguments)};this.clear=function(a,b,c){var d=0;if(void 0===a||a)d|=16384;if(void 0===b||b)d|=256;if(void 0===c||c)d|=1024;H.clear(d)};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(){u.removeEventListener("webglcontextlost",d,!1);u.removeEventListener("webglcontextrestored",e,!1);ya.dispose();va.dispose();W.dispose();ta.dispose();ka.dispose();Ca.stop()};this.renderBufferImmediate=function(a,b){Z.initAttributes();var c=W.get(a);a.hasPositions&&!c.position&&(c.position=H.createBuffer());a.hasNormals&&!c.normal&&(c.normal=H.createBuffer());a.hasUvs&&!c.uv&&(c.uv=H.createBuffer());a.hasColors&&!c.color&&(c.color=H.createBuffer());b=b.getAttributes();a.hasPositions&&
(H.bindBuffer(34962,c.position),H.bufferData(34962,a.positionArray,35048),Z.enableAttribute(b.position),H.vertexAttribPointer(b.position,3,5126,!1,0,0));a.hasNormals&&(H.bindBuffer(34962,c.normal),H.bufferData(34962,a.normalArray,35048),Z.enableAttribute(b.normal),H.vertexAttribPointer(b.normal,3,5126,!1,0,0));a.hasUvs&&(H.bindBuffer(34962,c.uv),H.bufferData(34962,a.uvArray,35048),Z.enableAttribute(b.uv),H.vertexAttribPointer(b.uv,2,5126,!1,0,0));a.hasColors&&(H.bindBuffer(34962,c.color),H.bufferData(34962,
a.colorArray,35048),Z.enableAttribute(b.color),H.vertexAttribPointer(b.color,3,5126,!1,0,0));Z.disableUnusedAttributes();H.drawArrays(4,0,a.count);a.count=0};var Ga=new pb;this.renderBufferDirect=function(a,c,d,e,f,g){null===c&&(c=Ga);var k=f.isMesh&&0>f.matrixWorld.determinant(),l=h(a,c,e,f);Z.setMaterial(e,k);var m=!1;if(b!==d.id||da!==l.id||ha!==(!0===e.wireframe))b=d.id,da=l.id,ha=!0===e.wireframe,m=!0;if(e.morphTargets||e.morphNormals)Aa.update(f,d,e,l),m=!0;a=d.index;c=d.attributes.position;
if(null===a){if(void 0===c||0===c.count)return}else if(0===a.count)return;var p=1;!0===e.wireframe&&(a=za.getWireframeAttribute(d),p=2);k=Ba;if(null!==a){var v=ma.get(a);k=Da;k.setIndex(v)}if(m){if(!1!==Ha.isWebGL2||!f.isInstancedMesh&&!d.isInstancedBufferGeometry||null!==sa.get("ANGLE_instanced_arrays")){Z.initAttributes();m=d.attributes;l=l.getAttributes();var q=e.defaultAttributeValues;for(x in l){var r=l[x];if(0<=r){var t=m[x];if(void 0!==t){var n=t.normalized,u=t.itemSize,z=ma.get(t);if(void 0!==
z){var w=z.buffer,A=z.type;z=z.bytesPerElement;if(t.isInterleavedBufferAttribute){var B=t.data,U=B.stride;t=t.offset;B&&B.isInstancedInterleavedBuffer?(Z.enableAttributeAndDivisor(r,B.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=B.meshPerAttribute*B.count)):Z.enableAttribute(r);H.bindBuffer(34962,w);H.vertexAttribPointer(r,u,A,n,U*z,t*z)}else t.isInstancedBufferAttribute?(Z.enableAttributeAndDivisor(r,t.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=t.meshPerAttribute*
t.count)):Z.enableAttribute(r),H.bindBuffer(34962,w),H.vertexAttribPointer(r,u,A,n,0,0)}}else if("instanceMatrix"===x)z=ma.get(f.instanceMatrix),void 0!==z&&(w=z.buffer,A=z.type,Z.enableAttributeAndDivisor(r+0,1),Z.enableAttributeAndDivisor(r+1,1),Z.enableAttributeAndDivisor(r+2,1),Z.enableAttributeAndDivisor(r+3,1),H.bindBuffer(34962,w),H.vertexAttribPointer(r+0,4,A,!1,64,0),H.vertexAttribPointer(r+1,4,A,!1,64,16),H.vertexAttribPointer(r+2,4,A,!1,64,32),H.vertexAttribPointer(r+3,4,A,!1,64,48));else if(void 0!==
q&&(n=q[x],void 0!==n))switch(n.length){case 2:H.vertexAttrib2fv(r,n);break;case 3:H.vertexAttrib3fv(r,n);break;case 4:H.vertexAttrib4fv(r,n);break;default:H.vertexAttrib1fv(r,n)}}}Z.disableUnusedAttributes()}null!==a&&H.bindBuffer(34963,v.buffer)}var x=d.drawRange.start*p;m=null!==g?g.start*p:0;v=Math.max(x,m);g=Math.max(0,Math.min(null!==a?a.count:c.count,x+d.drawRange.count*p,m+(null!==g?g.count*p:Infinity))-1-v+1);0!==g&&(f.isMesh?!0===e.wireframe?(Z.setLineWidth(e.wireframeLinewidth*(null===
N?R:1)),k.setMode(1)):k.setMode(4):f.isLine?(e=e.linewidth,void 0===e&&(e=1),Z.setLineWidth(e*(null===N?R:1)),f.isLineSegments?k.setMode(1):f.isLineLoop?k.setMode(2):k.setMode(3)):f.isPoints?k.setMode(0):f.isSprite&&k.setMode(4),f.isInstancedMesh?k.renderInstances(d,v,g,f.count):d.isInstancedBufferGeometry?k.renderInstances(d,v,g,d.maxInstancedCount):k.render(v,g))};this.compile=function(a,b){F=va.get(a,b);F.init();a.traverse(function(a){a.isLight&&(F.pushLight(a),a.castShadow&&F.pushShadow(a))});
F.setupLights(b);a.traverse(function(b){if(b.material)if(Array.isArray(b.material))for(var c=0;c<b.material.length;c++)p(b.material[c],a,b);else p(b.material,a,b)})};var Ea=null,Ca=new yh;Ca.setAnimationLoop(function(a){ka.isPresenting||Ea&&Ea(a)});"undefined"!==typeof window&&Ca.setContext(window);this.setAnimationLoop=function(a){Ea=a;ka.setAnimationLoop(a);Ca.start()};this.render=function(a,c,d,e){if(void 0!==d){console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead.");
var f=d}if(void 0!==e){console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead.");var g=e}c&&c.isCamera?I||(da=b=null,ha=!1,Oe=-1,Y=null,!0===a.autoUpdate&&a.updateMatrixWorld(),null===c.parent&&c.updateMatrixWorld(),ka.enabled&&ka.isPresenting&&(c=ka.getCamera(c)),F=va.get(a,c),F.init(),a.onBeforeRender(y,a,c,f||N),Md.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse),lg.setFromMatrix(Md),mg=this.localClippingEnabled,pa=Ua.init(this.clippingPlanes,
mg,c),G=ya.get(a,c),G.init(),l(a,c,0,y.sortObjects),!0===y.sortObjects&&G.sort(ja,la),pa&&Ua.beginShadows(),Fa.render(F.state.shadowsArray,a,c),F.setupLights(c),pa&&Ua.endShadows(),this.info.autoReset&&this.info.reset(),void 0!==f&&this.setRenderTarget(f),ka.enabled&&ua.isAvailable()&&ua.attachCamera(c),na.render(G,a,c,g),d=G.opaque,e=G.transparent,a.overrideMaterial?(f=a.overrideMaterial,d.length&&m(d,a,c,f),e.length&&m(e,a,c,f)):(d.length&&m(d,a,c),e.length&&m(e,a,c)),a.onAfterRender(y,a,c),null!==
N&&(V.updateRenderTargetMipmap(N),V.updateMultisampleRenderTarget(N)),Z.buffers.depth.setTest(!0),Z.buffers.depth.setMask(!0),Z.buffers.color.setMask(!0),Z.setPolygonOffset(!1),ka.enabled&&ua.isAvailable()&&ua.detachCamera(c),F=G=null):console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.")};this.setFramebuffer=function(a){K!==a&&null===N&&H.bindFramebuffer(36160,a);K=a};this.getActiveCubeFace=function(){return L};this.getActiveMipmapLevel=function(){return M};this.getRenderTarget=
function(){return N};this.setRenderTarget=function(a,b,c){N=a;L=b;M=c;a&&void 0===W.get(a).__webglFramebuffer&&V.setupRenderTarget(a);var d=K,e=!1;a?(d=W.get(a).__webglFramebuffer,a.isWebGLRenderTargetCube?(d=d[b||0],e=!0):d=a.isWebGLMultisampleRenderTarget?W.get(a).__webglMultisampledFramebuffer:d,fb.copy(a.viewport),X.copy(a.scissor),ba=a.scissorTest):(fb.copy(fa).multiplyScalar(R).floor(),X.copy(ia).multiplyScalar(R).floor(),ba=kg);Q!==d&&(H.bindFramebuffer(36160,d),Q=d);Z.viewport(fb);Z.scissor(X);
Z.setScissorTest(ba);e&&(a=W.get(a.texture),H.framebufferTexture2D(36160,36064,34069+(b||0),a.__webglTexture,c||0))};this.readRenderTargetPixels=function(a,b,c,d,e,f,g){if(a&&a.isWebGLRenderTarget){var k=W.get(a).__webglFramebuffer;a.isWebGLRenderTargetCube&&void 0!==g&&(k=k[g]);if(k){g=!1;k!==Q&&(H.bindFramebuffer(36160,k),g=!0);try{var l=a.texture,m=l.format,h=l.type;1023!==m&&oa.convert(m)!==H.getParameter(35739)?console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format."):
1009===h||oa.convert(h)===H.getParameter(35738)||1015===h&&(Ha.isWebGL2||sa.get("OES_texture_float")||sa.get("WEBGL_color_buffer_float"))||1016===h&&(Ha.isWebGL2?sa.get("EXT_color_buffer_float"):sa.get("EXT_color_buffer_half_float"))?36053===H.checkFramebufferStatus(36160)?0<=b&&b<=a.width-d&&0<=c&&c<=a.height-e&&H.readPixels(b,c,d,e,oa.convert(m),oa.convert(h),f):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete."):console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.")}finally{g&&
H.bindFramebuffer(36160,Q)}}}else console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.")};this.copyFramebufferToTexture=function(a,b,c){void 0===c&&(c=0);var d=Math.pow(2,-c),e=Math.floor(b.image.width*d);d=Math.floor(b.image.height*d);var f=oa.convert(b.format);V.setTexture2D(b,0);H.copyTexImage2D(3553,c,f,a.x,a.y,e,d,0);Z.unbindTexture()};this.copyTextureToTexture=function(a,b,c,d){var e=b.image.width,f=b.image.height,g=oa.convert(c.format),k=oa.convert(c.type);
V.setTexture2D(c,0);b.isDataTexture?H.texSubImage2D(3553,d||0,a.x,a.y,e,f,g,k,b.image.data):H.texSubImage2D(3553,d||0,a.x,a.y,g,k,b.image);Z.unbindTexture()};this.initTexture=function(a){V.setTexture2D(a,0);Z.unbindTexture()};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function Qe(a,b){this.name="";this.color=new y(a);this.density=void 0!==b?b:2.5E-4}function Re(a,b,c){this.name="";this.color=new y(a);this.near=void 0!==b?b:1;
this.far=void 0!==c?c:1E3}function sb(a,b){this.array=a;this.stride=b;this.count=void 0!==a?a.length/b:0;this.usage=35044;this.updateRange={offset:0,count:-1};this.version=0}function Pd(a,b,c,d){this.data=a;this.itemSize=b;this.offset=c;this.normalized=!0===d}function Jb(a){L.call(this);this.type="SpriteMaterial";this.color=new y(16777215);this.alphaMap=this.map=null;this.rotation=0;this.transparent=this.sizeAttenuation=!0;this.setValues(a)}function Qd(a){D.call(this);this.type="Sprite";if(void 0===
Mc){Mc=new G;var b=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]);b=new sb(b,5);Mc.setIndex([0,1,2,0,2,3]);Mc.setAttribute("position",new Pd(b,3,0,!1));Mc.setAttribute("uv",new Pd(b,2,3,!1))}this.geometry=Mc;this.material=void 0!==a?a:new Jb;this.center=new x(.5,.5)}function Se(a,b,c,d,e,f){Nc.subVectors(a,c).addScalar(.5).multiply(d);void 0!==e?(Rd.x=f*Nc.x-e*Nc.y,Rd.y=e*Nc.x+f*Nc.y):Rd.copy(Nc);a.copy(b);a.x+=Rd.x;a.y+=Rd.y;a.applyMatrix4(Yh)}function Sd(){D.call(this);
this.type="LOD";Object.defineProperties(this,{levels:{enumerable:!0,value:[]}});this.autoUpdate=!0}function Td(a,b){a&&a.isGeometry&&console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");ca.call(this,a,b);this.type="SkinnedMesh";this.bindMode="attached";this.bindMatrix=new P;this.bindMatrixInverse=new P}function Te(a,b){a=a||[];this.bones=a.slice(0);this.boneMatrices=new Float32Array(16*this.bones.length);this.frame=-1;if(void 0===b)this.calculateInverses();
else if(this.bones.length===b.length)this.boneInverses=b.slice(0);else for(console.warn("THREE.Skeleton boneInverses is the wrong length."),this.boneInverses=[],a=0,b=this.bones.length;a<b;a++)this.boneInverses.push(new P)}function qg(){D.call(this);this.type="Bone"}function Ue(a,b,c){ca.call(this,a,b);this.instanceMatrix=new K(new Float32Array(16*c),16);this.count=c}function ja(a){L.call(this);this.type="LineBasicMaterial";this.color=new y(16777215);this.linewidth=1;this.linejoin=this.linecap="round";
this.setValues(a)}function Ja(a,b,c){1===c&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead.");D.call(this);this.type="Line";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new ja({color:16777215*Math.random()})}function la(a,b){Ja.call(this,a,b);this.type="LineSegments"}function Ve(a,b){Ja.call(this,a,b);this.type="LineLoop"}function Va(a){L.call(this);this.type="PointsMaterial";this.color=new y(16777215);this.alphaMap=this.map=
null;this.size=1;this.sizeAttenuation=!0;this.morphTargets=!1;this.setValues(a)}function Oc(a,b){D.call(this);this.type="Points";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new Va({color:16777215*Math.random()});this.updateMorphTargets()}function rg(a,b,c,d,e,f,g){var k=sg.distanceSqToPoint(a);k<c&&(c=new n,sg.closestPointToPoint(a,c),c.applyMatrix4(d),a=e.ray.origin.distanceTo(c),a<e.near||a>e.far||f.push({distance:a,distanceToRay:Math.sqrt(k),point:c,index:b,face:null,object:g}))}
function tg(a,b,c,d,e,f,g,k,l){T.call(this,a,b,c,d,e,f,g,k,l);this.format=void 0!==g?g:1022;this.minFilter=void 0!==f?f:1006;this.magFilter=void 0!==e?e:1006;this.generateMipmaps=!1}function Pc(a,b,c,d,e,f,g,k,l,m,h,p){T.call(this,null,f,g,k,l,m,d,e,h,p);this.image={width:b,height:c};this.mipmaps=a;this.generateMipmaps=this.flipY=!1}function Ud(a,b,c,d,e,f,g,k,l){T.call(this,a,b,c,d,e,f,g,k,l);this.needsUpdate=!0}function Vd(a,b,c,d,e,f,g,k,l,m){m=void 0!==m?m:1026;if(1026!==m&&1027!==m)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");
void 0===c&&1026===m&&(c=1012);void 0===c&&1027===m&&(c=1020);T.call(this,null,d,e,f,g,k,m,c,l);this.image={width:a,height:b};this.magFilter=void 0!==g?g:1003;this.minFilter=void 0!==k?k:1003;this.generateMipmaps=this.flipY=!1}function Qc(a){G.call(this);this.type="WireframeGeometry";var b=[],c,d,e,f=[0,0],g={},k=["a","b","c"];if(a&&a.isGeometry){var l=a.faces;var m=0;for(d=l.length;m<d;m++){var h=l[m];for(c=0;3>c;c++){var p=h[k[c]];var q=h[k[(c+1)%3]];f[0]=Math.min(p,q);f[1]=Math.max(p,q);p=f[0]+
","+f[1];void 0===g[p]&&(g[p]={index1:f[0],index2:f[1]})}}for(p in g)m=g[p],k=a.vertices[m.index1],b.push(k.x,k.y,k.z),k=a.vertices[m.index2],b.push(k.x,k.y,k.z)}else if(a&&a.isBufferGeometry)if(k=new n,null!==a.index){l=a.attributes.position;h=a.index;var t=a.groups;0===t.length&&(t=[{start:0,count:h.count,materialIndex:0}]);a=0;for(e=t.length;a<e;++a)for(m=t[a],c=m.start,d=m.count,m=c,d=c+d;m<d;m+=3)for(c=0;3>c;c++)p=h.getX(m+c),q=h.getX(m+(c+1)%3),f[0]=Math.min(p,q),f[1]=Math.max(p,q),p=f[0]+","+
f[1],void 0===g[p]&&(g[p]={index1:f[0],index2:f[1]});for(p in g)m=g[p],k.fromBufferAttribute(l,m.index1),b.push(k.x,k.y,k.z),k.fromBufferAttribute(l,m.index2),b.push(k.x,k.y,k.z)}else for(l=a.attributes.position,m=0,d=l.count/3;m<d;m++)for(c=0;3>c;c++)g=3*m+c,k.fromBufferAttribute(l,g),b.push(k.x,k.y,k.z),g=3*m+(c+1)%3,k.fromBufferAttribute(l,g),b.push(k.x,k.y,k.z);this.setAttribute("position",new C(b,3))}function Wd(a,b,c){M.call(this);this.type="ParametricGeometry";this.parameters={func:a,slices:b,
stacks:c};this.fromBufferGeometry(new Rc(a,b,c));this.mergeVertices()}function Rc(a,b,c){G.call(this);this.type="ParametricBufferGeometry";this.parameters={func:a,slices:b,stacks:c};var d=[],e=[],f=[],g=[],k=new n,l=new n,m=new n,h=new n,p=new n,q,t;3>a.length&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");var r=b+1;for(q=0;q<=c;q++){var u=q/c;for(t=0;t<=b;t++){var z=t/b;a(z,u,l);e.push(l.x,l.y,l.z);0<=z-1E-5?(a(z-1E-5,u,m),h.subVectors(l,m)):(a(z+
1E-5,u,m),h.subVectors(m,l));0<=u-1E-5?(a(z,u-1E-5,m),p.subVectors(l,m)):(a(z,u+1E-5,m),p.subVectors(m,l));k.crossVectors(h,p).normalize();f.push(k.x,k.y,k.z);g.push(z,u)}}for(q=0;q<c;q++)for(t=0;t<b;t++)a=q*r+t+1,k=(q+1)*r+t+1,l=(q+1)*r+t,d.push(q*r+t,a,l),d.push(a,k,l);this.setIndex(d);this.setAttribute("position",new C(e,3));this.setAttribute("normal",new C(f,3));this.setAttribute("uv",new C(g,2))}function Xd(a,b,c,d){M.call(this);this.type="PolyhedronGeometry";this.parameters={vertices:a,indices:b,
radius:c,detail:d};this.fromBufferGeometry(new Ga(a,b,c,d));this.mergeVertices()}function Ga(a,b,c,d){function e(a){k.push(a.x,a.y,a.z)}function f(b,c){b*=3;c.x=a[b+0];c.y=a[b+1];c.z=a[b+2]}function g(a,b,c,d){0>d&&1===a.x&&(l[b]=a.x-1);0===c.x&&0===c.z&&(l[b]=d/2/Math.PI+.5)}G.call(this);this.type="PolyhedronBufferGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};c=c||1;d=d||0;var k=[],l=[];(function(a){for(var c=new n,d=new n,g=new n,k=0;k<b.length;k+=3){f(b[k+0],c);f(b[k+1],d);
f(b[k+2],g);var l,m,h=c,w=d,B=g,U=Math.pow(2,a),x=[];for(m=0;m<=U;m++){x[m]=[];var A=h.clone().lerp(B,m/U),aa=w.clone().lerp(B,m/U),y=U-m;for(l=0;l<=y;l++)x[m][l]=0===l&&m===U?A:A.clone().lerp(aa,l/y)}for(m=0;m<U;m++)for(l=0;l<2*(U-m)-1;l++)h=Math.floor(l/2),0===l%2?(e(x[m][h+1]),e(x[m+1][h]),e(x[m][h])):(e(x[m][h+1]),e(x[m+1][h+1]),e(x[m+1][h]))}})(d);(function(a){for(var b=new n,c=0;c<k.length;c+=3)b.x=k[c+0],b.y=k[c+1],b.z=k[c+2],b.normalize().multiplyScalar(a),k[c+0]=b.x,k[c+1]=b.y,k[c+2]=b.z})(c);
(function(){for(var a=new n,b=0;b<k.length;b+=3)a.x=k[b+0],a.y=k[b+1],a.z=k[b+2],l.push(Math.atan2(a.z,-a.x)/2/Math.PI+.5,1-(Math.atan2(-a.y,Math.sqrt(a.x*a.x+a.z*a.z))/Math.PI+.5));a=new n;b=new n;for(var c=new n,d=new n,e=new x,f=new x,h=new x,z=0,w=0;z<k.length;z+=9,w+=6){a.set(k[z+0],k[z+1],k[z+2]);b.set(k[z+3],k[z+4],k[z+5]);c.set(k[z+6],k[z+7],k[z+8]);e.set(l[w+0],l[w+1]);f.set(l[w+2],l[w+3]);h.set(l[w+4],l[w+5]);d.copy(a).add(b).add(c).divideScalar(3);var B=Math.atan2(d.z,-d.x);g(e,w+0,a,B);
g(f,w+2,b,B);g(h,w+4,c,B)}for(a=0;a<l.length;a+=6)b=l[a+0],c=l[a+2],d=l[a+4],e=Math.min(b,c,d),.9<Math.max(b,c,d)&&.1>e&&(.2>b&&(l[a+0]+=1),.2>c&&(l[a+2]+=1),.2>d&&(l[a+4]+=1))})();this.setAttribute("position",new C(k,3));this.setAttribute("normal",new C(k.slice(),3));this.setAttribute("uv",new C(l,2));0===d?this.computeVertexNormals():this.normalizeNormals()}function Yd(a,b){M.call(this);this.type="TetrahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Sc(a,b));this.mergeVertices()}
function Sc(a,b){Ga.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],a,b);this.type="TetrahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Zd(a,b){M.call(this);this.type="OctahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new ec(a,b));this.mergeVertices()}function ec(a,b){Ga.call(this,[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],a,b);this.type="OctahedronBufferGeometry";this.parameters=
{radius:a,detail:b}}function $d(a,b){M.call(this);this.type="IcosahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Tc(a,b));this.mergeVertices()}function Tc(a,b){var c=(1+Math.sqrt(5))/2;Ga.call(this,[-1,c,0,1,c,0,-1,-c,0,1,-c,0,0,-1,c,0,1,c,0,-1,-c,0,1,-c,c,0,-1,c,0,1,-c,0,-1,-c,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],a,b);this.type="IcosahedronBufferGeometry";this.parameters=
{radius:a,detail:b}}function ae(a,b){M.call(this);this.type="DodecahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Uc(a,b));this.mergeVertices()}function Uc(a,b){var c=(1+Math.sqrt(5))/2,d=1/c;Ga.call(this,[-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,-d,-c,0,-d,c,0,d,-c,0,d,c,-d,-c,0,-d,c,0,d,-c,0,d,c,0,-c,0,-d,c,0,-d,-c,0,d,c,0,d],[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],a,b);this.type="DodecahedronBufferGeometry";this.parameters={radius:a,detail:b}}function be(a,b,c,d,e,f){M.call(this);this.type="TubeGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};void 0!==f&&console.warn("THREE.TubeGeometry: taper has been removed.");a=new fc(a,b,c,d,e);this.tangents=a.tangents;this.normals=
a.normals;this.binormals=a.binormals;this.fromBufferGeometry(a);this.mergeVertices()}function fc(a,b,c,d,e){function f(e){h=a.getPointAt(e/b,h);var f=g.normals[e];e=g.binormals[e];for(q=0;q<=d;q++){var m=q/d*Math.PI*2,p=Math.sin(m);m=-Math.cos(m);l.x=m*f.x+p*e.x;l.y=m*f.y+p*e.y;l.z=m*f.z+p*e.z;l.normalize();r.push(l.x,l.y,l.z);k.x=h.x+c*l.x;k.y=h.y+c*l.y;k.z=h.z+c*l.z;t.push(k.x,k.y,k.z)}}G.call(this);this.type="TubeBufferGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,
closed:e};b=b||64;c=c||1;d=d||8;e=e||!1;var g=a.computeFrenetFrames(b,e);this.tangents=g.tangents;this.normals=g.normals;this.binormals=g.binormals;var k=new n,l=new n,m=new x,h=new n,p,q,t=[],r=[],u=[],z=[];for(p=0;p<b;p++)f(p);f(!1===e?b:0);for(p=0;p<=b;p++)for(q=0;q<=d;q++)m.x=p/b,m.y=q/d,u.push(m.x,m.y);(function(){for(q=1;q<=b;q++)for(p=1;p<=d;p++){var a=(d+1)*q+(p-1),c=(d+1)*q+p,e=(d+1)*(q-1)+p;z.push((d+1)*(q-1)+(p-1),a,e);z.push(a,c,e)}})();this.setIndex(z);this.setAttribute("position",new C(t,
3));this.setAttribute("normal",new C(r,3));this.setAttribute("uv",new C(u,2))}function ce(a,b,c,d,e,f,g){M.call(this);this.type="TorusKnotGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,p:e,q:f};void 0!==g&&console.warn("THREE.TorusKnotGeometry: heightScale has been deprecated. Use .scale( x, y, z ) instead.");this.fromBufferGeometry(new Vc(a,b,c,d,e,f));this.mergeVertices()}function Vc(a,b,c,d,e,f){function g(a,b,c,d,e){var f=Math.sin(a);b=c/b*a;c=Math.cos(b);e.x=d*
(2+c)*.5*Math.cos(a);e.y=d*(2+c)*f*.5;e.z=d*Math.sin(b)*.5}G.call(this);this.type="TorusKnotBufferGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,p:e,q:f};a=a||1;b=b||.4;c=Math.floor(c)||64;d=Math.floor(d)||8;e=e||2;f=f||3;var k=[],l=[],m=[],h=[],p,q=new n,t=new n,r=new n,u=new n,z=new n,w=new n,B=new n;for(p=0;p<=c;++p){var x=p/c*e*Math.PI*2;g(x,e,f,a,r);g(x+.01,e,f,a,u);w.subVectors(u,r);B.addVectors(u,r);z.crossVectors(w,B);B.crossVectors(z,w);z.normalize();B.normalize();
for(x=0;x<=d;++x){var y=x/d*Math.PI*2,A=-b*Math.cos(y);y=b*Math.sin(y);q.x=r.x+(A*B.x+y*z.x);q.y=r.y+(A*B.y+y*z.y);q.z=r.z+(A*B.z+y*z.z);l.push(q.x,q.y,q.z);t.subVectors(q,r).normalize();m.push(t.x,t.y,t.z);h.push(p/c);h.push(x/d)}}for(x=1;x<=c;x++)for(p=1;p<=d;p++)a=(d+1)*x+(p-1),b=(d+1)*x+p,e=(d+1)*(x-1)+p,k.push((d+1)*(x-1)+(p-1),a,e),k.push(a,b,e);this.setIndex(k);this.setAttribute("position",new C(l,3));this.setAttribute("normal",new C(m,3));this.setAttribute("uv",new C(h,2))}function de(a,b,
c,d,e){M.call(this);this.type="TorusGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};this.fromBufferGeometry(new Wc(a,b,c,d,e));this.mergeVertices()}function Wc(a,b,c,d,e){G.call(this);this.type="TorusBufferGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};a=a||1;b=b||.4;c=Math.floor(c)||8;d=Math.floor(d)||6;e=e||2*Math.PI;var f=[],g=[],k=[],l=[],m=new n,h=new n,p=new n,q,t;for(q=0;q<=c;q++)for(t=0;t<=d;t++){var r=t/d*e,u=q/c*
Math.PI*2;h.x=(a+b*Math.cos(u))*Math.cos(r);h.y=(a+b*Math.cos(u))*Math.sin(r);h.z=b*Math.sin(u);g.push(h.x,h.y,h.z);m.x=a*Math.cos(r);m.y=a*Math.sin(r);p.subVectors(h,m).normalize();k.push(p.x,p.y,p.z);l.push(t/d);l.push(q/c)}for(q=1;q<=c;q++)for(t=1;t<=d;t++)a=(d+1)*(q-1)+t-1,b=(d+1)*(q-1)+t,e=(d+1)*q+t,f.push((d+1)*q+t-1,a,e),f.push(a,b,e);this.setIndex(f);this.setAttribute("position",new C(g,3));this.setAttribute("normal",new C(k,3));this.setAttribute("uv",new C(l,2))}function Zh(a,b,c,d,e){for(var f,
g=0,k=b,l=c-d;k<c;k+=d)g+=(a[l]-a[k])*(a[k+1]+a[l+1]),l=k;if(e===0<g)for(e=b;e<c;e+=d)f=$h(e,a[e],a[e+1],f);else for(e=c-d;e>=b;e-=d)f=$h(e,a[e],a[e+1],f);f&&gc(f,f.next)&&(ee(f),f=f.next);return f}function fe(a,b){if(!a)return a;b||(b=a);do{var c=!1;if(a.steiner||!gc(a,a.next)&&0!==ta(a.prev,a,a.next))a=a.next;else{ee(a);a=b=a.prev;if(a===a.next)break;c=!0}}while(c||a!==b);return b}function ge(a,b,c,d,e,f,g){if(a){if(!g&&f){var k=a,l=k;do null===l.z&&(l.z=ug(l.x,l.y,d,e,f)),l.prevZ=l.prev,l=l.nextZ=
l.next;while(l!==k);l.prevZ.nextZ=null;l.prevZ=null;k=l;var m,h,p,q,t=1;do{l=k;var r=k=null;for(h=0;l;){h++;var n=l;for(m=p=0;m<t&&(p++,n=n.nextZ,n);m++);for(q=t;0<p||0<q&&n;)0!==p&&(0===q||!n||l.z<=n.z)?(m=l,l=l.nextZ,p--):(m=n,n=n.nextZ,q--),r?r.nextZ=m:k=m,m.prevZ=r,r=m;l=n}r.nextZ=null;t*=2}while(1<h)}for(k=a;a.prev!==a.next;){l=a.prev;n=a.next;if(f)r=Hk(a,d,e,f);else a:if(r=a,h=r.prev,p=r,t=r.next,0<=ta(h,p,t))r=!1;else{for(m=r.next.next;m!==r.prev;){if(Xc(h.x,h.y,p.x,p.y,t.x,t.y,m.x,m.y)&&0<=
ta(m.prev,m,m.next)){r=!1;break a}m=m.next}r=!0}if(r)b.push(l.i/c),b.push(a.i/c),b.push(n.i/c),ee(a),k=a=n.next;else if(a=n,a===k){if(!g)ge(fe(a),b,c,d,e,f,1);else if(1===g){g=b;k=c;l=a;do n=l.prev,r=l.next.next,!gc(n,r)&&ai(n,l,l.next,r)&&he(n,r)&&he(r,n)&&(g.push(n.i/k),g.push(l.i/k),g.push(r.i/k),ee(l),ee(l.next),l=a=r),l=l.next;while(l!==a);a=l;ge(a,b,c,d,e,f,2)}else if(2===g)a:{g=a;do{for(k=g.next.next;k!==g.prev;){if(l=g.i!==k.i){l=g;n=k;if(r=l.next.i!==n.i&&l.prev.i!==n.i){b:{r=l;do{if(r.i!==
l.i&&r.next.i!==l.i&&r.i!==n.i&&r.next.i!==n.i&&ai(r,r.next,l,n)){r=!0;break b}r=r.next}while(r!==l);r=!1}r=!r}if(r=r&&he(l,n)&&he(n,l)){r=l;h=!1;p=(l.x+n.x)/2;n=(l.y+n.y)/2;do r.y>n!==r.next.y>n&&r.next.y!==r.y&&p<(r.next.x-r.x)*(n-r.y)/(r.next.y-r.y)+r.x&&(h=!h),r=r.next;while(r!==l);r=h}l=r}if(l){a=bi(g,k);g=fe(g,g.next);a=fe(a,a.next);ge(g,b,c,d,e,f);ge(a,b,c,d,e,f);break a}k=k.next}g=g.next}while(g!==a)}break}}}}function Hk(a,b,c,d){var e=a.prev,f=a.next;if(0<=ta(e,a,f))return!1;var g=e.x>a.x?
e.x>f.x?e.x:f.x:a.x>f.x?a.x:f.x,k=e.y>a.y?e.y>f.y?e.y:f.y:a.y>f.y?a.y:f.y,l=ug(e.x<a.x?e.x<f.x?e.x:f.x:a.x<f.x?a.x:f.x,e.y<a.y?e.y<f.y?e.y:f.y:a.y<f.y?a.y:f.y,b,c,d);b=ug(g,k,b,c,d);c=a.prevZ;for(d=a.nextZ;c&&c.z>=l&&d&&d.z<=b;){if(c!==a.prev&&c!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ta(c.prev,c,c.next))return!1;c=c.prevZ;if(d!==a.prev&&d!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ta(d.prev,d,d.next))return!1;d=d.nextZ}for(;c&&c.z>=l;){if(c!==a.prev&&c!==a.next&&Xc(e.x,e.y,a.x,a.y,
f.x,f.y,c.x,c.y)&&0<=ta(c.prev,c,c.next))return!1;c=c.prevZ}for(;d&&d.z<=b;){if(d!==a.prev&&d!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ta(d.prev,d,d.next))return!1;d=d.nextZ}return!0}function Ik(a,b){return a.x-b.x}function Jk(a,b){var c=b,d=a.x,e=a.y,f=-Infinity;do{if(e<=c.y&&e>=c.next.y&&c.next.y!==c.y){var g=c.x+(e-c.y)*(c.next.x-c.x)/(c.next.y-c.y);if(g<=d&&g>f){f=g;if(g===d){if(e===c.y)return c;if(e===c.next.y)return c.next}var k=c.x<c.next.x?c:c.next}}c=c.next}while(c!==b);if(!k)return null;
if(d===f)return k.prev;b=k;g=k.x;var l=k.y,m=Infinity;for(c=k.next;c!==b;){if(d>=c.x&&c.x>=g&&d!==c.x&&Xc(e<l?d:f,e,g,l,e<l?f:d,e,c.x,c.y)){var h=Math.abs(e-c.y)/(d-c.x);(h<m||h===m&&c.x>k.x)&&he(c,a)&&(k=c,m=h)}c=c.next}return k}function ug(a,b,c,d,e){a=32767*(a-c)*e;b=32767*(b-d)*e;a=(a|a<<8)&16711935;a=(a|a<<4)&252645135;a=(a|a<<2)&858993459;b=(b|b<<8)&16711935;b=(b|b<<4)&252645135;b=(b|b<<2)&858993459;return(a|a<<1)&1431655765|((b|b<<1)&1431655765)<<1}function Kk(a){var b=a,c=a;do{if(b.x<c.x||
b.x===c.x&&b.y<c.y)c=b;b=b.next}while(b!==a);return c}function Xc(a,b,c,d,e,f,g,k){return 0<=(e-g)*(b-k)-(a-g)*(f-k)&&0<=(a-g)*(d-k)-(c-g)*(b-k)&&0<=(c-g)*(f-k)-(e-g)*(d-k)}function ta(a,b,c){return(b.y-a.y)*(c.x-b.x)-(b.x-a.x)*(c.y-b.y)}function gc(a,b){return a.x===b.x&&a.y===b.y}function ai(a,b,c,d){return gc(a,c)&&gc(b,d)||gc(a,d)&&gc(c,b)?!0:0<ta(a,b,c)!==0<ta(a,b,d)&&0<ta(c,d,a)!==0<ta(c,d,b)}function he(a,b){return 0>ta(a.prev,a,a.next)?0<=ta(a,b,a.next)&&0<=ta(a,a.prev,b):0>ta(a,b,a.prev)||
0>ta(a,a.next,b)}function bi(a,b){var c=new vg(a.i,a.x,a.y),d=new vg(b.i,b.x,b.y),e=a.next,f=b.prev;a.next=b;b.prev=a;c.next=e;e.prev=c;d.next=c;c.prev=d;f.next=d;d.prev=f;return d}function $h(a,b,c,d){a=new vg(a,b,c);d?(a.next=d.next,a.prev=d,d.next.prev=a,d.next=a):(a.prev=a,a.next=a);return a}function ee(a){a.next.prev=a.prev;a.prev.next=a.next;a.prevZ&&(a.prevZ.nextZ=a.nextZ);a.nextZ&&(a.nextZ.prevZ=a.prevZ)}function vg(a,b,c){this.i=a;this.x=b;this.y=c;this.nextZ=this.prevZ=this.z=this.next=
this.prev=null;this.steiner=!1}function ci(a){var b=a.length;2<b&&a[b-1].equals(a[0])&&a.pop()}function di(a,b){for(var c=0;c<b.length;c++)a.push(b[c].x),a.push(b[c].y)}function hc(a,b){M.call(this);this.type="ExtrudeGeometry";this.parameters={shapes:a,options:b};this.fromBufferGeometry(new gb(a,b));this.mergeVertices()}function gb(a,b){function c(a){function c(a,b,c){b||console.error("THREE.ExtrudeGeometry: vec does not exist");return b.clone().multiplyScalar(c).add(a)}function g(a,b,c){var d=a.x-
b.x;var e=a.y-b.y;var f=c.x-a.x;var g=c.y-a.y,k=d*d+e*e;if(Math.abs(d*g-e*f)>Number.EPSILON){var l=Math.sqrt(k),m=Math.sqrt(f*f+g*g);k=b.x-e/l;b=b.y+d/l;g=((c.x-g/m-k)*g-(c.y+f/m-b)*f)/(d*g-e*f);f=k+d*g-a.x;d=b+e*g-a.y;e=f*f+d*d;if(2>=e)return new x(f,d);e=Math.sqrt(e/2)}else a=!1,d>Number.EPSILON?f>Number.EPSILON&&(a=!0):d<-Number.EPSILON?f<-Number.EPSILON&&(a=!0):Math.sign(e)===Math.sign(g)&&(a=!0),a?(f=-e,e=Math.sqrt(k)):(f=d,d=e,e=Math.sqrt(k/2));return new x(f/e,d/e)}function k(a,b){for(J=a.length;0<=
--J;){var c=J;var f=J-1;0>f&&(f=a.length-1);var g,k=B+2*C;for(g=0;g<k;g++){var l=X*g,m=X*(g+1),h=b+f+l,p=b+f+m;m=b+c+m;r(b+c+l);r(h);r(m);r(h);r(p);r(m);l=e.length/3;l=F.generateSideWallUV(d,e,l-6,l-3,l-2,l-1);u(l[0]);u(l[1]);u(l[3]);u(l[1]);u(l[2]);u(l[3])}}}function l(a,b,c){z.push(a);z.push(b);z.push(c)}function h(a,b,c){r(a);r(b);r(c);a=e.length/3;a=F.generateTopUV(d,e,a-3,a-2,a-1);u(a[0]);u(a[1]);u(a[2])}function r(a){e.push(z[3*a]);e.push(z[3*a+1]);e.push(z[3*a+2])}function u(a){f.push(a.x);
f.push(a.y)}var z=[],w=void 0!==b.curveSegments?b.curveSegments:12,B=void 0!==b.steps?b.steps:1,U=void 0!==b.depth?b.depth:100,y=void 0!==b.bevelEnabled?b.bevelEnabled:!0,A=void 0!==b.bevelThickness?b.bevelThickness:6,aa=void 0!==b.bevelSize?b.bevelSize:A-2,G=void 0!==b.bevelOffset?b.bevelOffset:0,C=void 0!==b.bevelSegments?b.bevelSegments:3,D=b.extrudePath,F=void 0!==b.UVGenerator?b.UVGenerator:Lk;void 0!==b.amount&&(console.warn("THREE.ExtrudeBufferGeometry: amount has been renamed to depth."),
U=b.amount);var E=!1;if(D){var I=D.getSpacedPoints(B);E=!0;y=!1;var K=D.computeFrenetFrames(B,!1);var L=new n;var M=new n;var O=new n}y||(G=aa=A=C=0);var N;w=a.extractPoints(w);a=w.shape;var P=w.holes;if(!tb.isClockWise(a)){a=a.reverse();var da=0;for(N=P.length;da<N;da++){var ha=P[da];tb.isClockWise(ha)&&(P[da]=ha.reverse())}}var Y=tb.triangulateShape(a,P),W=a;da=0;for(N=P.length;da<N;da++)ha=P[da],a=a.concat(ha);var Q,X=a.length,T,ca=Y.length;w=[];var J=0;var R=W.length;var V=R-1;for(Q=J+1;J<R;J++,
V++,Q++)V===R&&(V=0),Q===R&&(Q=0),w[J]=g(W[J],W[V],W[Q]);D=[];var ea=w.concat();da=0;for(N=P.length;da<N;da++){ha=P[da];var ba=[];J=0;R=ha.length;V=R-1;for(Q=J+1;J<R;J++,V++,Q++)V===R&&(V=0),Q===R&&(Q=0),ba[J]=g(ha[J],ha[V],ha[Q]);D.push(ba);ea=ea.concat(ba)}for(V=0;V<C;V++){R=V/C;var fa=A*Math.cos(R*Math.PI/2);Q=aa*Math.sin(R*Math.PI/2)+G;J=0;for(R=W.length;J<R;J++){var S=c(W[J],w[J],Q);l(S.x,S.y,-fa)}da=0;for(N=P.length;da<N;da++)for(ha=P[da],ba=D[da],J=0,R=ha.length;J<R;J++)S=c(ha[J],ba[J],Q),
l(S.x,S.y,-fa)}Q=aa+G;for(J=0;J<X;J++)S=y?c(a[J],ea[J],Q):a[J],E?(M.copy(K.normals[0]).multiplyScalar(S.x),L.copy(K.binormals[0]).multiplyScalar(S.y),O.copy(I[0]).add(M).add(L),l(O.x,O.y,O.z)):l(S.x,S.y,0);for(R=1;R<=B;R++)for(J=0;J<X;J++)S=y?c(a[J],ea[J],Q):a[J],E?(M.copy(K.normals[R]).multiplyScalar(S.x),L.copy(K.binormals[R]).multiplyScalar(S.y),O.copy(I[R]).add(M).add(L),l(O.x,O.y,O.z)):l(S.x,S.y,U/B*R);for(V=C-1;0<=V;V--){R=V/C;fa=A*Math.cos(R*Math.PI/2);Q=aa*Math.sin(R*Math.PI/2)+G;J=0;for(R=
W.length;J<R;J++)S=c(W[J],w[J],Q),l(S.x,S.y,U+fa);da=0;for(N=P.length;da<N;da++)for(ha=P[da],ba=D[da],J=0,R=ha.length;J<R;J++)S=c(ha[J],ba[J],Q),E?l(S.x,S.y+I[B-1].y,I[B-1].x+fa):l(S.x,S.y,U+fa)}(function(){var a=e.length/3;if(y){var b=0*X;for(J=0;J<ca;J++)T=Y[J],h(T[2]+b,T[1]+b,T[0]+b);b=X*(B+2*C);for(J=0;J<ca;J++)T=Y[J],h(T[0]+b,T[1]+b,T[2]+b)}else{for(J=0;J<ca;J++)T=Y[J],h(T[2],T[1],T[0]);for(J=0;J<ca;J++)T=Y[J],h(T[0]+X*B,T[1]+X*B,T[2]+X*B)}d.addGroup(a,e.length/3-a,0)})();(function(){var a=e.length/
3,b=0;k(W,b);b+=W.length;da=0;for(N=P.length;da<N;da++)ha=P[da],k(ha,b),b+=ha.length;d.addGroup(a,e.length/3-a,1)})()}G.call(this);this.type="ExtrudeBufferGeometry";this.parameters={shapes:a,options:b};a=Array.isArray(a)?a:[a];for(var d=this,e=[],f=[],g=0,k=a.length;g<k;g++)c(a[g]);this.setAttribute("position",new C(e,3));this.setAttribute("uv",new C(f,2));this.computeVertexNormals()}function ei(a,b,c){c.shapes=[];if(Array.isArray(a))for(var d=0,e=a.length;d<e;d++)c.shapes.push(a[d].uuid);else c.shapes.push(a.uuid);
void 0!==b.extrudePath&&(c.options.extrudePath=b.extrudePath.toJSON());return c}function ie(a,b){M.call(this);this.type="TextGeometry";this.parameters={text:a,parameters:b};this.fromBufferGeometry(new Yc(a,b));this.mergeVertices()}function Yc(a,b){b=b||{};var c=b.font;if(!c||!c.isFont)return console.error("THREE.TextGeometry: font parameter is not an instance of THREE.Font."),new M;a=c.generateShapes(a,b.size);b.depth=void 0!==b.height?b.height:50;void 0===b.bevelThickness&&(b.bevelThickness=10);
void 0===b.bevelSize&&(b.bevelSize=8);void 0===b.bevelEnabled&&(b.bevelEnabled=!1);gb.call(this,a,b);this.type="TextBufferGeometry"}function je(a,b,c,d,e,f,g){M.call(this);this.type="SphereGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};this.fromBufferGeometry(new ic(a,b,c,d,e,f,g));this.mergeVertices()}function ic(a,b,c,d,e,f,g){G.call(this);this.type="SphereBufferGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,
phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};a=a||1;b=Math.max(3,Math.floor(b)||8);c=Math.max(2,Math.floor(c)||6);d=void 0!==d?d:0;e=void 0!==e?e:2*Math.PI;f=void 0!==f?f:0;g=void 0!==g?g:Math.PI;var k=Math.min(f+g,Math.PI),l,m,h=0,p=[],q=new n,t=new n,r=[],u=[],z=[],w=[];for(m=0;m<=c;m++){var B=[],x=m/c,y=0;0==m&&0==f?y=.5/b:m==c&&k==Math.PI&&(y=-.5/b);for(l=0;l<=b;l++){var A=l/b;q.x=-a*Math.cos(d+A*e)*Math.sin(f+x*g);q.y=a*Math.cos(f+x*g);q.z=a*Math.sin(d+A*e)*Math.sin(f+x*g);u.push(q.x,q.y,
q.z);t.copy(q).normalize();z.push(t.x,t.y,t.z);w.push(A+y,1-x);B.push(h++)}p.push(B)}for(m=0;m<c;m++)for(l=0;l<b;l++)a=p[m][l+1],d=p[m][l],e=p[m+1][l],g=p[m+1][l+1],(0!==m||0<f)&&r.push(a,d,g),(m!==c-1||k<Math.PI)&&r.push(d,e,g);this.setIndex(r);this.setAttribute("position",new C(u,3));this.setAttribute("normal",new C(z,3));this.setAttribute("uv",new C(w,2))}function ke(a,b,c,d,e,f){M.call(this);this.type="RingGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,
thetaLength:f};this.fromBufferGeometry(new Zc(a,b,c,d,e,f));this.mergeVertices()}function Zc(a,b,c,d,e,f){G.call(this);this.type="RingBufferGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,thetaLength:f};a=a||.5;b=b||1;e=void 0!==e?e:0;f=void 0!==f?f:2*Math.PI;c=void 0!==c?Math.max(3,c):8;d=void 0!==d?Math.max(1,d):1;var g=[],k=[],l=[],m=[],h=a,p=(b-a)/d,q=new n,t=new x,r,u;for(r=0;r<=d;r++){for(u=0;u<=c;u++)a=e+u/c*f,q.x=h*Math.cos(a),q.y=h*Math.sin(a),
k.push(q.x,q.y,q.z),l.push(0,0,1),t.x=(q.x/b+1)/2,t.y=(q.y/b+1)/2,m.push(t.x,t.y);h+=p}for(r=0;r<d;r++)for(b=r*(c+1),u=0;u<c;u++)a=u+b,e=a+c+1,f=a+c+2,h=a+1,g.push(a,e,h),g.push(e,f,h);this.setIndex(g);this.setAttribute("position",new C(k,3));this.setAttribute("normal",new C(l,3));this.setAttribute("uv",new C(m,2))}function le(a,b,c,d){M.call(this);this.type="LatheGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};this.fromBufferGeometry(new $c(a,b,c,d));this.mergeVertices()}function $c(a,
b,c,d){G.call(this);this.type="LatheBufferGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};b=Math.floor(b)||12;c=c||0;d=d||2*Math.PI;d=O.clamp(d,0,2*Math.PI);var e=[],f=[],g=[],k=1/b,l=new n,m=new x,h;for(h=0;h<=b;h++){var p=c+h*k*d;var q=Math.sin(p),t=Math.cos(p);for(p=0;p<=a.length-1;p++)l.x=a[p].x*q,l.y=a[p].y,l.z=a[p].x*t,f.push(l.x,l.y,l.z),m.x=h/b,m.y=p/(a.length-1),g.push(m.x,m.y)}for(h=0;h<b;h++)for(p=0;p<a.length-1;p++)c=p+h*a.length,k=c+a.length,l=c+a.length+1,m=c+
1,e.push(c,k,m),e.push(k,l,m);this.setIndex(e);this.setAttribute("position",new C(f,3));this.setAttribute("uv",new C(g,2));this.computeVertexNormals();if(d===2*Math.PI)for(d=this.attributes.normal.array,e=new n,f=new n,g=new n,c=b*a.length*3,p=h=0;h<a.length;h++,p+=3)e.x=d[p+0],e.y=d[p+1],e.z=d[p+2],f.x=d[c+p+0],f.y=d[c+p+1],f.z=d[c+p+2],g.addVectors(e,f).normalize(),d[p+0]=d[c+p+0]=g.x,d[p+1]=d[c+p+1]=g.y,d[p+2]=d[c+p+2]=g.z}function jc(a,b){M.call(this);this.type="ShapeGeometry";"object"===typeof b&&
(console.warn("THREE.ShapeGeometry: Options parameter has been removed."),b=b.curveSegments);this.parameters={shapes:a,curveSegments:b};this.fromBufferGeometry(new kc(a,b));this.mergeVertices()}function kc(a,b){function c(a){var c,k=e.length/3;a=a.extractPoints(b);var m=a.shape,h=a.holes;!1===tb.isClockWise(m)&&(m=m.reverse());a=0;for(c=h.length;a<c;a++){var v=h[a];!0===tb.isClockWise(v)&&(h[a]=v.reverse())}var n=tb.triangulateShape(m,h);a=0;for(c=h.length;a<c;a++)v=h[a],m=m.concat(v);a=0;for(c=m.length;a<
c;a++)v=m[a],e.push(v.x,v.y,0),f.push(0,0,1),g.push(v.x,v.y);a=0;for(c=n.length;a<c;a++)m=n[a],d.push(m[0]+k,m[1]+k,m[2]+k),l+=3}G.call(this);this.type="ShapeBufferGeometry";this.parameters={shapes:a,curveSegments:b};b=b||12;var d=[],e=[],f=[],g=[],k=0,l=0;if(!1===Array.isArray(a))c(a);else for(var m=0;m<a.length;m++)c(a[m]),this.addGroup(k,l,m),k+=l,l=0;this.setIndex(d);this.setAttribute("position",new C(e,3));this.setAttribute("normal",new C(f,3));this.setAttribute("uv",new C(g,2))}function fi(a,
b){b.shapes=[];if(Array.isArray(a))for(var c=0,d=a.length;c<d;c++)b.shapes.push(a[c].uuid);else b.shapes.push(a.uuid);return b}function ad(a,b){G.call(this);this.type="EdgesGeometry";this.parameters={thresholdAngle:b};var c=[];b=Math.cos(O.DEG2RAD*(void 0!==b?b:1));var d=[0,0],e={},f=["a","b","c"];if(a.isBufferGeometry){var g=new M;g.fromBufferGeometry(a)}else g=a.clone();g.mergeVertices();g.computeFaceNormals();a=g.vertices;g=g.faces;for(var k=0,l=g.length;k<l;k++)for(var m=g[k],h=0;3>h;h++){var p=
m[f[h]];var q=m[f[(h+1)%3]];d[0]=Math.min(p,q);d[1]=Math.max(p,q);p=d[0]+","+d[1];void 0===e[p]?e[p]={index1:d[0],index2:d[1],face1:k,face2:void 0}:e[p].face2=k}for(p in e)if(d=e[p],void 0===d.face2||g[d.face1].normal.dot(g[d.face2].normal)<=b)f=a[d.index1],c.push(f.x,f.y,f.z),f=a[d.index2],c.push(f.x,f.y,f.z);this.setAttribute("position",new C(c,3))}function lc(a,b,c,d,e,f,g,k){M.call(this);this.type="CylinderGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,
openEnded:f,thetaStart:g,thetaLength:k};this.fromBufferGeometry(new ub(a,b,c,d,e,f,g,k));this.mergeVertices()}function ub(a,b,c,d,e,f,g,k){function l(c){var e,f=new x,l=new n,v=0,u=!0===c?a:b,B=!0===c?1:-1;var y=r;for(e=1;e<=d;e++)p.push(0,z*B,0),q.push(0,B,0),t.push(.5,.5),r++;var F=r;for(e=0;e<=d;e++){var C=e/d*k+g,G=Math.cos(C);C=Math.sin(C);l.x=u*C;l.y=z*B;l.z=u*G;p.push(l.x,l.y,l.z);q.push(0,B,0);f.x=.5*G+.5;f.y=.5*C*B+.5;t.push(f.x,f.y);r++}for(e=0;e<d;e++)f=y+e,l=F+e,!0===c?h.push(l,l+1,f):
h.push(l+1,l,f),v+=3;m.addGroup(w,v,!0===c?1:2);w+=v}G.call(this);this.type="CylinderBufferGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:k};var m=this;a=void 0!==a?a:1;b=void 0!==b?b:1;c=c||1;d=Math.floor(d)||8;e=Math.floor(e)||1;f=void 0!==f?f:!1;g=void 0!==g?g:0;k=void 0!==k?k:2*Math.PI;var h=[],p=[],q=[],t=[],r=0,u=[],z=c/2,w=0;(function(){var f,l,v=new n,A=new n,x=0,y=(b-a)/c;for(l=0;l<=e;l++){var C=[],G=l/
e,F=G*(b-a)+a;for(f=0;f<=d;f++){var D=f/d,E=D*k+g,I=Math.sin(E);E=Math.cos(E);A.x=F*I;A.y=-G*c+z;A.z=F*E;p.push(A.x,A.y,A.z);v.set(I,y,E).normalize();q.push(v.x,v.y,v.z);t.push(D,1-G);C.push(r++)}u.push(C)}for(f=0;f<d;f++)for(l=0;l<e;l++)v=u[l+1][f],A=u[l+1][f+1],y=u[l][f+1],h.push(u[l][f],v,y),h.push(v,A,y),x+=6;m.addGroup(w,x,0);w+=x})();!1===f&&(0<a&&l(!0),0<b&&l(!1));this.setIndex(h);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",new C(t,
2))}function me(a,b,c,d,e,f,g){lc.call(this,0,a,b,c,d,e,f,g);this.type="ConeGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,thetaLength:g}}function ne(a,b,c,d,e,f,g){ub.call(this,0,a,b,c,d,e,f,g);this.type="ConeBufferGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,thetaLength:g}}function oe(a,b,c,d){M.call(this);this.type="CircleGeometry";this.parameters={radius:a,segments:b,thetaStart:c,
thetaLength:d};this.fromBufferGeometry(new bd(a,b,c,d));this.mergeVertices()}function bd(a,b,c,d){G.call(this);this.type="CircleBufferGeometry";this.parameters={radius:a,segments:b,thetaStart:c,thetaLength:d};a=a||1;b=void 0!==b?Math.max(3,b):8;c=void 0!==c?c:0;d=void 0!==d?d:2*Math.PI;var e=[],f=[],g=[],k=[],l,m=new n,h=new x;f.push(0,0,0);g.push(0,0,1);k.push(.5,.5);var p=0;for(l=3;p<=b;p++,l+=3){var q=c+p/b*d;m.x=a*Math.cos(q);m.y=a*Math.sin(q);f.push(m.x,m.y,m.z);g.push(0,0,1);h.x=(f[l]/a+1)/
2;h.y=(f[l+1]/a+1)/2;k.push(h.x,h.y)}for(l=1;l<=b;l++)e.push(l,l+1,0);this.setIndex(e);this.setAttribute("position",new C(f,3));this.setAttribute("normal",new C(g,3));this.setAttribute("uv",new C(k,2))}function mc(a){L.call(this);this.type="ShadowMaterial";this.color=new y(0);this.transparent=!0;this.setValues(a)}function vb(a){oa.call(this,a);this.type="RawShaderMaterial"}function hb(a){L.call(this);this.defines={STANDARD:""};this.type="MeshStandardMaterial";this.color=new y(16777215);this.roughness=
1;this.metalness=0;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.envMap=this.alphaMap=this.metalnessMap=this.roughnessMap=null;this.envMapIntensity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=
1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function nc(a){hb.call(this);this.defines={STANDARD:"",PHYSICAL:""};this.type="MeshPhysicalMaterial";this.reflectivity=.5;this.clearcoatRoughness=this.clearcoat=0;this.sheen=null;this.clearcoatNormalScale=new x(1,1);this.clearcoatNormalMap=null;this.transparency=0;this.setValues(a)}function Kb(a){L.call(this);this.type="MeshPhongMaterial";this.color=new y(16777215);this.specular=
new y(1118481);this.shininess=30;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=
1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function oc(a){L.call(this);this.defines={TOON:""};this.type="MeshToonMaterial";this.color=new y(16777215);this.specular=new y(1118481);this.shininess=30;this.lightMap=this.gradientMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=
null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=this.specularMap=null;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function pc(a){L.call(this);this.type="MeshNormalMaterial";this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=
null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.morphNormals=this.morphTargets=this.skinning=this.fog=!1;this.setValues(a)}function qc(a){L.call(this);this.type="MeshLambertMaterial";this.color=new y(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.envMap=this.alphaMap=this.specularMap=this.emissiveMap=null;this.combine=0;this.reflectivity=
1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function rc(a){L.call(this);this.defines={MATCAP:""};this.type="MeshMatcapMaterial";this.color=new y(16777215);this.bumpMap=this.map=this.matcap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=
0;this.alphaMap=null;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function sc(a){ja.call(this);this.type="LineDashedMaterial";this.scale=1;this.dashSize=3;this.gapSize=1;this.setValues(a)}function Ka(a,b,c,d){this.parameterPositions=a;this._cachedIndex=0;this.resultBuffer=void 0!==d?d:new b.constructor(c);this.sampleValues=b;this.valueSize=c}function We(a,b,c,d){Ka.call(this,a,b,c,d);this._offsetNext=this._weightNext=this._offsetPrev=this._weightPrev=-0}function pe(a,b,c,
d){Ka.call(this,a,b,c,d)}function Xe(a,b,c,d){Ka.call(this,a,b,c,d)}function ra(a,b,c,d){if(void 0===a)throw Error("THREE.KeyframeTrack: track name is undefined");if(void 0===b||0===b.length)throw Error("THREE.KeyframeTrack: no keyframes in track named "+a);this.name=a;this.times=ea.convertArray(b,this.TimeBufferType);this.values=ea.convertArray(c,this.ValueBufferType);this.setInterpolation(d||this.DefaultInterpolation)}function Ye(a,b,c){ra.call(this,a,b,c)}function Ze(a,b,c,d){ra.call(this,a,b,
c,d)}function cd(a,b,c,d){ra.call(this,a,b,c,d)}function $e(a,b,c,d){Ka.call(this,a,b,c,d)}function qe(a,b,c,d){ra.call(this,a,b,c,d)}function af(a,b,c,d){ra.call(this,a,b,c,d)}function dd(a,b,c,d){ra.call(this,a,b,c,d)}function Qa(a,b,c){this.name=a;this.tracks=c;this.duration=void 0!==b?b:-1;this.uuid=O.generateUUID();0>this.duration&&this.resetDuration()}function Mk(a){switch(a.toLowerCase()){case "scalar":case "double":case "float":case "number":case "integer":return cd;case "vector":case "vector2":case "vector3":case "vector4":return dd;
case "color":return Ze;case "quaternion":return qe;case "bool":case "boolean":return Ye;case "string":return af}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+a);}function Nk(a){if(void 0===a.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");var b=Mk(a.type);if(void 0===a.times){var c=[],d=[];ea.flattenJSON(a.keys,c,d,"value");a.times=c;a.values=d}return void 0!==b.parse?b.parse(a):new b(a.name,a.times,a.values,a.interpolation)}function wg(a,b,c){var d=this,e=
!1,f=0,g=0,k=void 0,l=[];this.onStart=void 0;this.onLoad=a;this.onProgress=b;this.onError=c;this.itemStart=function(a){g++;if(!1===e&&void 0!==d.onStart)d.onStart(a,f,g);e=!0};this.itemEnd=function(a){f++;if(void 0!==d.onProgress)d.onProgress(a,f,g);if(f===g&&(e=!1,void 0!==d.onLoad))d.onLoad()};this.itemError=function(a){if(void 0!==d.onError)d.onError(a)};this.resolveURL=function(a){return k?k(a):a};this.setURLModifier=function(a){k=a;return this};this.addHandler=function(a,b){l.push(a,b);return this};
this.removeHandler=function(a){a=l.indexOf(a);-1!==a&&l.splice(a,2);return this};this.getHandler=function(a){for(var b=0,c=l.length;b<c;b+=2){var d=l[b],e=l[b+1];d.global&&(d.lastIndex=0);if(d.test(a))return e}return null}}function Q(a){this.manager=void 0!==a?a:gi;this.crossOrigin="anonymous";this.resourcePath=this.path=""}function Ra(a){Q.call(this,a)}function xg(a){Q.call(this,a)}function yg(a){Q.call(this,a)}function bf(a){Q.call(this,a)}function ed(a){Q.call(this,a)}function cf(a){Q.call(this,
a)}function df(a){Q.call(this,a)}function I(){this.type="Curve";this.arcLengthDivisions=200}function La(a,b,c,d,e,f,g,k){I.call(this);this.type="EllipseCurve";this.aX=a||0;this.aY=b||0;this.xRadius=c||1;this.yRadius=d||1;this.aStartAngle=e||0;this.aEndAngle=f||2*Math.PI;this.aClockwise=g||!1;this.aRotation=k||0}function fd(a,b,c,d,e,f){La.call(this,a,b,c,c,d,e,f);this.type="ArcCurve"}function zg(){var a=0,b=0,c=0,d=0;return{initCatmullRom:function(e,f,g,k,l){e=l*(g-e);k=l*(k-f);a=f;b=e;c=-3*f+3*g-
2*e-k;d=2*f-2*g+e+k},initNonuniformCatmullRom:function(e,f,g,k,l,m,h){e=((f-e)/l-(g-e)/(l+m)+(g-f)/m)*m;k=((g-f)/m-(k-f)/(m+h)+(k-g)/h)*m;a=f;b=e;c=-3*f+3*g-2*e-k;d=2*f-2*g+e+k},calc:function(e){var f=e*e;return a+b*e+c*f+d*f*e}}}function Aa(a,b,c,d){I.call(this);this.type="CatmullRomCurve3";this.points=a||[];this.closed=b||!1;this.curveType=c||"centripetal";this.tension=d||.5}function hi(a,b,c,d,e){b=.5*(d-b);e=.5*(e-c);var f=a*a;return(2*c-2*d+b+e)*a*f+(-3*c+3*d-2*b-e)*f+b*a+c}function re(a,b,c,
d){var e=1-a;return e*e*b+2*(1-a)*a*c+a*a*d}function se(a,b,c,d,e){var f=1-a,g=1-a;return f*f*f*b+3*g*g*a*c+3*(1-a)*a*a*d+a*a*a*e}function Wa(a,b,c,d){I.call(this);this.type="CubicBezierCurve";this.v0=a||new x;this.v1=b||new x;this.v2=c||new x;this.v3=d||new x}function ib(a,b,c,d){I.call(this);this.type="CubicBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n;this.v3=d||new n}function Ea(a,b){I.call(this);this.type="LineCurve";this.v1=a||new x;this.v2=b||new x}function Xa(a,b){I.call(this);
this.type="LineCurve3";this.v1=a||new n;this.v2=b||new n}function Ya(a,b,c){I.call(this);this.type="QuadraticBezierCurve";this.v0=a||new x;this.v1=b||new x;this.v2=c||new x}function jb(a,b,c){I.call(this);this.type="QuadraticBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n}function Za(a){I.call(this);this.type="SplineCurve";this.points=a||[]}function wb(){I.call(this);this.type="CurvePath";this.curves=[];this.autoClose=!1}function $a(a){wb.call(this);this.type="Path";this.currentPoint=
new x;a&&this.setFromPoints(a)}function Lb(a){$a.call(this,a);this.uuid=O.generateUUID();this.type="Shape";this.holes=[]}function ba(a,b){D.call(this);this.type="Light";this.color=new y(a);this.intensity=void 0!==b?b:1;this.receiveShadow=void 0}function ef(a,b,c){ba.call(this,a,c);this.type="HemisphereLight";this.castShadow=void 0;this.position.copy(D.DefaultUp);this.updateMatrix();this.groundColor=new y(b)}function kb(a){this.camera=a;this.bias=0;this.radius=1;this.mapSize=new x(512,512);this.mapPass=
this.map=null;this.matrix=new P;this._frustum=new Hd;this._frameExtents=new x(1,1);this._viewportCount=1;this._viewports=[new S(0,0,1,1)]}function ff(){kb.call(this,new pa(50,1,.5,500))}function gf(a,b,c,d,e,f){ba.call(this,a,b);this.type="SpotLight";this.position.copy(D.DefaultUp);this.updateMatrix();this.target=new D;Object.defineProperty(this,"power",{get:function(){return this.intensity*Math.PI},set:function(a){this.intensity=a/Math.PI}});this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/
3;this.penumbra=void 0!==e?e:0;this.decay=void 0!==f?f:1;this.shadow=new ff}function Ag(){kb.call(this,new pa(90,1,.5,500));this._frameExtents=new x(4,2);this._viewportCount=6;this._viewports=[new S(2,1,1,1),new S(0,1,1,1),new S(3,1,1,1),new S(1,1,1,1),new S(3,0,1,1),new S(1,0,1,1)];this._cubeDirections=[new n(1,0,0),new n(-1,0,0),new n(0,0,1),new n(0,0,-1),new n(0,1,0),new n(0,-1,0)];this._cubeUps=[new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,0,1),new n(0,0,-1)]}function hf(a,b,c,
d){ba.call(this,a,b);this.type="PointLight";Object.defineProperty(this,"power",{get:function(){return 4*this.intensity*Math.PI},set:function(a){this.intensity=a/(4*Math.PI)}});this.distance=void 0!==c?c:0;this.decay=void 0!==d?d:1;this.shadow=new Ag}function gd(a,b,c,d,e,f){db.call(this);this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=void 0!==a?a:-1;this.right=void 0!==b?b:1;this.top=void 0!==c?c:1;this.bottom=void 0!==d?d:-1;this.near=void 0!==e?e:.1;this.far=void 0!==f?f:2E3;
this.updateProjectionMatrix()}function jf(){kb.call(this,new gd(-5,5,5,-5,.5,500))}function kf(a,b){ba.call(this,a,b);this.type="DirectionalLight";this.position.copy(D.DefaultUp);this.updateMatrix();this.target=new D;this.shadow=new jf}function lf(a,b){ba.call(this,a,b);this.type="AmbientLight";this.castShadow=void 0}function mf(a,b,c,d){ba.call(this,a,b);this.type="RectAreaLight";this.width=void 0!==c?c:10;this.height=void 0!==d?d:10}function nf(a){Q.call(this,a);this.textures={}}function of(){G.call(this);
this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function pf(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument."));K.call(this,a,b,c);this.meshPerAttribute=d||1}function qf(a){Q.call(this,a)}function rf(a){Q.call(this,a)}function Bg(a){"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.");"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported.");
Q.call(this,a);this.options=void 0}function Cg(){this.type="ShapePath";this.color=new y;this.subPaths=[];this.currentPath=null}function Dg(a){this.type="Font";this.data=a}function Eg(a){Q.call(this,a)}function sf(a){Q.call(this,a)}function tf(){this.coefficients=[];for(var a=0;9>a;a++)this.coefficients.push(new n)}function ab(a,b){ba.call(this,void 0,b);this.sh=void 0!==a?a:new tf}function Fg(a,b,c){ab.call(this,void 0,c);a=(new y).set(a);c=(new y).set(b);b=new n(a.r,a.g,a.b);a=new n(c.r,c.g,c.b);
c=Math.sqrt(Math.PI);var d=c*Math.sqrt(.75);this.sh.coefficients[0].copy(b).add(a).multiplyScalar(c);this.sh.coefficients[1].copy(b).sub(a).multiplyScalar(d)}function Gg(a,b){ab.call(this,void 0,b);a=(new y).set(a);this.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScalar(2*Math.sqrt(Math.PI))}function ii(){this.type="StereoCamera";this.aspect=1;this.eyeSep=.064;this.cameraL=new pa;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=!1;this.cameraR=new pa;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}}function Hg(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1}function Ig(){D.call(this);this.type="AudioListener";this.context=Jg.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0;this._clock=new Hg}function hd(a){D.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=
this.context.createGain();this.gain.connect(a.getInput());this.autoplay=!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.loopEnd=this.loopStart=0;this.duration=void 0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this._pausedAt=this._startedAt=0;this.filters=[]}function Kg(a){hd.call(this,a);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}function Lg(a,b){this.analyser=a.context.createAnalyser();
this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Mg(a,b,c){this.binding=a;this.valueSize=c;a=Float64Array;switch(b){case "quaternion":b=this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function ji(a,b,c){c=c||Ba.parseTrackName(b);this._targetGroup=a;this._bindings=
a.subscribe_(b,c)}function Ba(a,b,c){this.path=b;this.parsedPath=c||Ba.parseTrackName(b);this.node=Ba.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}function ki(){this.uuid=O.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},
get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function li(a,b,c){this._mixer=a;this._clip=b;this._localRoot=c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400,endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=
2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Ng(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function uf(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function Og(a,b,c){sb.call(this,
a,b);this.meshPerAttribute=c||1}function mi(a,b,c,d){this.ray=new Wb(a,b);this.near=c||0;this.far=d||Infinity;this.camera=null;this.params={Mesh:{},Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");return this.Points}}})}function ni(a,b){return a.distance-b.distance}function Pg(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e=
a.length;d<e;d++)Pg(a[d],b,c,!0)}}function oi(a,b,c){this.radius=void 0!==a?a:1;this.phi=void 0!==b?b:0;this.theta=void 0!==c?c:0;return this}function pi(a,b,c){this.radius=void 0!==a?a:1;this.theta=void 0!==b?b:0;this.y=void 0!==c?c:0;return this}function Qg(a,b){this.min=void 0!==a?a:new x(Infinity,Infinity);this.max=void 0!==b?b:new x(-Infinity,-Infinity)}function Rg(a,b){this.start=void 0!==a?a:new n;this.end=void 0!==b?b:new n}function te(a){D.call(this);this.material=a;this.render=function(){}}
function id(a,b){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=b;a=new G;b=[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(var c=0,d=1;32>c;c++,d++){var e=c/32*Math.PI*2,f=d/32*Math.PI*2;b.push(Math.cos(e),Math.sin(e),1,Math.cos(f),Math.sin(f),1)}a.setAttribute("position",new C(b,3));b=new ja({fog:!1});this.cone=new la(a,b);this.add(this.cone);this.update()}function qi(a){var b=[];a&&a.isBone&&b.push(a);for(var c=
0;c<a.children.length;c++)b.push.apply(b,qi(a.children[c]));return b}function jd(a){for(var b=qi(a),c=new G,d=[],e=[],f=new y(0,0,1),g=new y(0,1,0),k=0;k<b.length;k++){var l=b[k];l.parent&&l.parent.isBone&&(d.push(0,0,0),d.push(0,0,0),e.push(f.r,f.g,f.b),e.push(g.r,g.g,g.b))}c.setAttribute("position",new C(d,3));c.setAttribute("color",new C(e,3));d=new ja({vertexColors:2,depthTest:!1,depthWrite:!1,transparent:!0});la.call(this,c,d);this.root=a;this.bones=b;this.matrix=a.matrixWorld;this.matrixAutoUpdate=
!1}function kd(a,b,c){this.light=a;this.light.updateMatrixWorld();this.color=c;a=new ic(b,4,2);b=new Oa({wireframe:!0,fog:!1});ca.call(this,a,b);this.matrix=this.light.matrixWorld;this.matrixAutoUpdate=!1;this.update()}function ld(a,b,c){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;a=new ec(b);a.rotateY(.5*Math.PI);this.material=new Oa({wireframe:!0,fog:!1});void 0===this.color&&(this.material.vertexColors=2);b=a.getAttribute("position");
b=new Float32Array(3*b.count);a.setAttribute("color",new K(b,3));this.add(new ca(a,this.material));this.update()}function vf(a,b,c,d){a=a||10;b=b||10;c=new y(void 0!==c?c:4473924);d=new y(void 0!==d?d:8947848);var e=b/2,f=a/b,g=a/2;a=[];for(var k=[],l=0,m=0,h=-g;l<=b;l++,h+=f){a.push(-g,0,h,g,0,h);a.push(h,0,-g,h,0,g);var p=l===e?c:d;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3}b=new G;b.setAttribute("position",new C(a,3));b.setAttribute("color",new C(k,3));c=new ja({vertexColors:2});
la.call(this,b,c)}function wf(a,b,c,d,e,f){a=a||10;b=b||16;c=c||8;d=d||64;e=new y(void 0!==e?e:4473924);f=new y(void 0!==f?f:8947848);var g=[],k=[],l;for(l=0;l<=b;l++){var m=l/b*2*Math.PI;var h=Math.sin(m)*a;m=Math.cos(m)*a;g.push(0,0,0);g.push(h,0,m);var p=l&1?e:f;k.push(p.r,p.g,p.b);k.push(p.r,p.g,p.b)}for(l=0;l<=c;l++){p=l&1?e:f;var q=a-a/c*l;for(b=0;b<d;b++)m=b/d*2*Math.PI,h=Math.sin(m)*q,m=Math.cos(m)*q,g.push(h,0,m),k.push(p.r,p.g,p.b),m=(b+1)/d*2*Math.PI,h=Math.sin(m)*q,m=Math.cos(m)*q,g.push(h,
0,m),k.push(p.r,p.g,p.b)}a=new G;a.setAttribute("position",new C(g,3));a.setAttribute("color",new C(k,3));g=new ja({vertexColors:2});la.call(this,a,g)}function md(a,b,c){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;void 0===b&&(b=1);a=new G;a.setAttribute("position",new C([-b,b,0,b,b,0,b,-b,0,-b,-b,0,-b,b,0],3));b=new ja({fog:!1});this.lightPlane=new Ja(a,b);this.add(this.lightPlane);a=new G;a.setAttribute("position",new C([0,
0,0,0,0,1],3));this.targetLine=new Ja(a,b);this.add(this.targetLine);this.update()}function ue(a){function b(a,b,d){c(a,d);c(b,d)}function c(a,b){f.push(0,0,0);g.push(b.r,b.g,b.b);void 0===k[a]&&(k[a]=[]);k[a].push(f.length/3-1)}var d=new G,e=new ja({color:16777215,vertexColors:1}),f=[],g=[],k={},l=new y(16755200),m=new y(16711680),h=new y(43775),p=new y(16777215),q=new y(3355443);b("n1","n2",l);b("n2","n4",l);b("n4","n3",l);b("n3","n1",l);b("f1","f2",l);b("f2","f4",l);b("f4","f3",l);b("f3","f1",
l);b("n1","f1",l);b("n2","f2",l);b("n3","f3",l);b("n4","f4",l);b("p","n1",m);b("p","n2",m);b("p","n3",m);b("p","n4",m);b("u1","u2",h);b("u2","u3",h);b("u3","u1",h);b("c","t",p);b("p","c",q);b("cn1","cn2",q);b("cn3","cn4",q);b("cf1","cf2",q);b("cf3","cf4",q);d.setAttribute("position",new C(f,3));d.setAttribute("color",new C(g,3));la.call(this,d,e);this.camera=a;this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.pointMap=
k;this.update()}function ia(a,b,c,d,e,f,g){xf.set(e,f,g).unproject(d);a=b[a];if(void 0!==a)for(c=c.getAttribute("position"),b=0,d=a.length;b<d;b++)c.setXYZ(a[b],xf.x,xf.y,xf.z)}function xb(a,b){this.object=a;void 0===b&&(b=16776960);a=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]);var c=new Float32Array(24),d=new G;d.setIndex(new K(a,1));d.setAttribute("position",new K(c,3));la.call(this,d,new ja({color:b}));this.matrixAutoUpdate=!1;this.update()}function ve(a,b){this.type="Box3Helper";
this.box=a;b=b||16776960;a=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]);var c=new G;c.setIndex(new K(a,1));c.setAttribute("position",new C([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));la.call(this,c,new ja({color:b}));this.geometry.computeBoundingSphere()}function we(a,b,c){this.type="PlaneHelper";this.plane=a;this.size=void 0===b?1:b;a=void 0!==c?c:16776960;b=new G;b.setAttribute("position",new C([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,0,1,0,0,0],3));b.computeBoundingSphere();Ja.call(this,b,new ja({color:a}));b=new G;b.setAttribute("position",new C([1,1,1,-1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,-1,1],3));b.computeBoundingSphere();this.add(new ca(b,new Oa({color:a,opacity:.2,transparent:!0,depthWrite:!1})))}function yb(a,b,c,d,e,f){D.call(this);void 0===a&&(a=new n(0,0,1));void 0===b&&(b=new n(0,0,0));void 0===c&&(c=1);void 0===d&&(d=16776960);void 0===e&&(e=.2*c);void 0===f&&(f=.2*e);void 0===yf&&(yf=new G,yf.setAttribute("position",new C([0,
0,0,0,1,0],3)),Sg=new ub(0,.5,1,5,1),Sg.translate(0,-.5,0));this.position.copy(b);this.line=new Ja(yf,new ja({color:d}));this.line.matrixAutoUpdate=!1;this.add(this.line);this.cone=new ca(Sg,new Oa({color:d}));this.cone.matrixAutoUpdate=!1;this.add(this.cone);this.setDirection(a);this.setLength(c,e,f)}function xe(a){a=a||1;var b=[0,0,0,a,0,0,0,0,0,0,a,0,0,0,0,0,0,a];a=new G;a.setAttribute("position",new C(b,3));a.setAttribute("color",new C([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));b=new ja({vertexColors:2});
la.call(this,a,b)}function Tg(a){Y=a;Ug(zf)}function ri(a){var b={magFilter:1003,minFilter:1003,generateMipmaps:!1,type:a?a.type:1009,format:a?a.format:1023,encoding:a?a.encoding:3002,depthBuffer:!1,stencilBuffer:!1},c=si(b);c.depthBuffer=a?!1:!0;Af=si(b);return c}function ti(){Af.dispose();Y.setRenderTarget(null);var a=Y.getSize(new x);Y.setViewport(0,0,a.x,a.y)}function Ug(a){var b=new pb;b.add(new ca(ye[0],a));Y.compile(b,Vg)}function si(a){a=new va(3*lb,3*lb,a);a.texture.mapping=306;a.texture.name=
"PMREM.cubeUv";a.scissorTest=!0;return a}function Wg(a,b,c,d){var e=1/Y.getPixelRatio();a*=e;b*=e;c*=e;d*=e;Y.setViewport(a,b,c,d);Y.setScissor(a,b,c,d)}function ui(a){var b=Y.autoClear;Y.autoClear=!1;for(var c=1;c<vi;c++)wi(a,c-1,c,Math.sqrt(Bf[c]*Bf[c]-Bf[c-1]*Bf[c-1]),xi[(c-1)%xi.length]);Y.autoClear=b}function wi(a,b,c,d,e){yi(a,Af,b,c,d,"latitudinal",e);yi(Af,a,c,c,d,"longitudinal",e)}function yi(a,b,c,d,e,f,g){"latitudinal"!==f&&"longitudinal"!==f&&console.error("blur direction must be either latitudinal or longitudinal!");
var k=new pb;k.add(new ca(ye[d],zf));var l=zf.uniforms,m=zi[c]-1;m=isFinite(e)?Math.PI/(2*m):2*Math.PI/39;var h=e/m,p=isFinite(e)?1+Math.floor(3*h):20;20<p&&console.warn("sigmaRadians, "+e+", is too large and will clip, as it requested "+p+" samples when the maximum is set to 20");for(var q=[],n=0,r=0;20>r;++r)e=r/h,e=Math.exp(-e*e/2),q.push(e),0==r?n+=e:r<p&&(n+=2*e);for(r=0;r<q.length;r++)q[r]/=n;l.envMap.value=a.texture;l.samples.value=p;l.weights.value=q;l.latitudinal.value="latitudinal"===f;
g&&(l.poleAxis.value=g);l.dTheta.value=m;l.mipInt.value=8-c;l.inputEncoding.value=mb[a.texture.encoding];l.outputEncoding.value=mb[a.texture.encoding];a=zi[d];e=3*Math.max(0,lb-2*a);d=(0===d?0:2*lb)+2*a*(4<d?d-8+4:0);Y.setRenderTarget(b);Wg(e,d,3*a,2*a);Y.render(k,Vg)}function Ai(){var a=new x(1,1);a=new vb({uniforms:{envMap:{value:null},texelSize:{value:a},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform vec2 texelSize;\n\n"+
Yg()+"\n\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tvec3 outputDirection = normalize(vOutputDirection);\n\tvec2 uv;\n\tuv.y = asin(clamp(outputDirection.y, -1.0, 1.0)) * RECIPROCAL_PI + 0.5;\n\tuv.x = atan(outputDirection.z, outputDirection.x) * RECIPROCAL_PI2 + 0.5;\n\tvec2 f = fract(uv / texelSize - 0.5);\n\tuv -= f * texelSize;\n\tvec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x += texelSize.x;\n\tvec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.y += texelSize.y;\n\tvec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x -= texelSize.x;\n\tvec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tvec3 tm = mix(tl, tr, f.x);\n\tvec3 bm = mix(bl, br, f.x);\n\tgl_FragColor.rgb = mix(tm, bm, f.y);\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="EquirectangularToCubeUV";return a}function Bi(){var a=new vb({uniforms:{envMap:{value:null},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform samplerCube envMap;\n\n"+Yg()+"\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tgl_FragColor.rgb = envMapTexelToLinear(textureCube(envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ))).rgb;\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="CubemapToCubeUV";return a}function Xg(){return"\nprecision mediump float;\nprecision mediump int;\nattribute vec3 position;\nattribute vec2 uv;\nattribute float faceIndex;\nvarying vec3 vOutputDirection;\nvec3 getDirection(vec2 uv, float face) {\n\tuv = 2.0 * uv - 1.0;\n\tvec3 direction = vec3(uv, 1.0);\n\tif (face == 0.0) {\n\t\tdirection = direction.zyx;\n\t\tdirection.z *= -1.0;\n\t} else if (face == 1.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.z *= -1.0;\n\t} else if (face == 3.0) {\n\t\tdirection = direction.zyx;\n\t\tdirection.x *= -1.0;\n\t} else if (face == 4.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.y *= -1.0;\n\t} else if (face == 5.0) {\n\t\tdirection.xz *= -1.0;\n\t}\n\treturn direction;\n}\nvoid main() {\n\tvOutputDirection = getDirection(uv, faceIndex);\n\tgl_Position = vec4( position, 1.0 );\n}\n\t"}
function Yg(){return"\nuniform int inputEncoding;\nuniform int outputEncoding;\n\n#include <encodings_pars_fragment>\n\nvec4 inputTexelToLinear(vec4 value){\n\tif(inputEncoding == 0){\n\t\treturn value;\n\t}else if(inputEncoding == 1){\n\t\treturn sRGBToLinear(value);\n\t}else if(inputEncoding == 2){\n\t\treturn RGBEToLinear(value);\n\t}else if(inputEncoding == 3){\n\t\treturn RGBMToLinear(value, 7.0);\n\t}else if(inputEncoding == 4){\n\t\treturn RGBMToLinear(value, 16.0);\n\t}else if(inputEncoding == 5){\n\t\treturn RGBDToLinear(value, 256.0);\n\t}else{\n\t\treturn GammaToLinear(value, 2.2);\n\t}\n}\n\nvec4 linearToOutputTexel(vec4 value){\n\tif(outputEncoding == 0){\n\t\treturn value;\n\t}else if(outputEncoding == 1){\n\t\treturn LinearTosRGB(value);\n\t}else if(outputEncoding == 2){\n\t\treturn LinearToRGBE(value);\n\t}else if(outputEncoding == 3){\n\t\treturn LinearToRGBM(value, 7.0);\n\t}else if(outputEncoding == 4){\n\t\treturn LinearToRGBM(value, 16.0);\n\t}else if(outputEncoding == 5){\n\t\treturn LinearToRGBD(value, 256.0);\n\t}else{\n\t\treturn LinearToGamma(value, 2.2);\n\t}\n}\n\nvec4 envMapTexelToLinear(vec4 color) {\n\treturn inputTexelToLinear(color);\n}\n\t"}
function Ci(a){console.warn("THREE.ClosedSplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom";this.closed=!0}function Di(a){console.warn("THREE.SplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom"}function Zg(a){console.warn("THREE.Spline has been removed. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom"}void 0===Number.EPSILON&&(Number.EPSILON=Math.pow(2,
-52));void 0===Number.isInteger&&(Number.isInteger=function(a){return"number"===typeof a&&isFinite(a)&&Math.floor(a)===a});void 0===Math.sign&&(Math.sign=function(a){return 0>a?-1:0<a?1:+a});!1==="name"in Function.prototype&&Object.defineProperty(Function.prototype,"name",{get:function(){return this.toString().match(/^\s*function\s*([^\(\s]*)/)[1]}});void 0===Object.assign&&(Object.assign=function(a){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=
Object(a),c=1;c<arguments.length;c++){var d=arguments[c];if(void 0!==d&&null!==d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b[e]=d[e])}return b});Object.assign(Fa.prototype,{addEventListener:function(a,b){void 0===this._listeners&&(this._listeners={});var c=this._listeners;void 0===c[a]&&(c[a]=[]);-1===c[a].indexOf(b)&&c[a].push(b)},hasEventListener:function(a,b){if(void 0===this._listeners)return!1;var c=this._listeners;return void 0!==c[a]&&-1!==c[a].indexOf(b)},removeEventListener:function(a,
b){void 0!==this._listeners&&(a=this._listeners[a],void 0!==a&&(b=a.indexOf(b),-1!==b&&a.splice(b,1)))},dispatchEvent:function(a){if(void 0!==this._listeners){var b=this._listeners[a.type];if(void 0!==b){a.target=this;b=b.slice(0);for(var c=0,d=b.length;c<d;c++)b[c].call(this,a)}}}});for(var ya=[],ze=0;256>ze;ze++)ya[ze]=(16>ze?"0":"")+ze.toString(16);var O={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){var a=4294967295*Math.random()|0,b=4294967295*Math.random()|0,c=4294967295*Math.random()|
0,d=4294967295*Math.random()|0;return(ya[a&255]+ya[a>>8&255]+ya[a>>16&255]+ya[a>>24&255]+"-"+ya[b&255]+ya[b>>8&255]+"-"+ya[b>>16&15|64]+ya[b>>24&255]+"-"+ya[c&63|128]+ya[c>>8&255]+"-"+ya[c>>16&255]+ya[c>>24&255]+ya[d&255]+ya[d>>8&255]+ya[d>>16&255]+ya[d>>24&255]).toUpperCase()},clamp:function(a,b,c){return Math.max(b,Math.min(c,a))},euclideanModulo:function(a,b){return(a%b+b)%b},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},lerp:function(a,b,c){return(1-c)*a+c*b},smoothstep:function(a,
b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*(3-2*a)},smootherstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*a*(a*(6*a-15)+10)},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a*(.5-Math.random())},degToRad:function(a){return a*O.DEG2RAD},radToDeg:function(a){return a*O.RAD2DEG},isPowerOfTwo:function(a){return 0===(a&a-1)&&0!==a},ceilPowerOfTwo:function(a){return Math.pow(2,
Math.ceil(Math.log(a)/Math.LN2))},floorPowerOfTwo:function(a){return Math.pow(2,Math.floor(Math.log(a)/Math.LN2))}};Object.defineProperties(x.prototype,{width:{get:function(){return this.x},set:function(a){this.x=a}},height:{get:function(){return this.y},set:function(a){this.y=a}}});Object.assign(x.prototype,{isVector2:!0,set:function(a,b){this.x=a;this.y=b;return this},setScalar:function(a){this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},
setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),
this.addVectors(a,b);this.x+=a.x;this.y+=a.y;return this},addScalar:function(a){this.x+=a;this.y+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;return this},subScalar:function(a){this.x-=a;this.y-=a;return this},
subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},multiply:function(a){this.x*=a.x;this.y*=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divide:function(a){this.x/=a.x;this.y/=a.y;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},applyMatrix3:function(a){var b=this.x,c=this.y;a=a.elements;this.x=a[0]*b+a[3]*c+a[6];this.y=a[1]*b+a[4]*c+a[7];return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);return this},
max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);
return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);return this},negate:function(){this.x=-this.x;this.y=-this.y;return this},dot:function(a){return this.x*a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},lengthSq:function(){return this.x*
this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()||1)},angle:function(){var a=Math.atan2(this.y,this.x);0>a&&(a+=2*Math.PI);return a},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x;a=this.y-a.y;return b*b+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+
Math.abs(this.y-a.y)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;return a},fromBufferAttribute:function(a,
b,c){void 0!==c&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);return this},rotateAround:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=this.x-a.x,e=this.y-a.y;this.x=d*c-e*b+a.x;this.y=d*b+e*c+a.y;return this}});Object.assign(Da,{slerp:function(a,b,c,d){return c.copy(a).slerp(b,d)},slerpFlat:function(a,b,c,d,e,f,g){var k=c[d+0],l=c[d+1],m=c[d+2];c=c[d+3];d=e[f+0];var h=e[f+1],p=e[f+2];e=e[f+3];if(c!==e||k!==d||l!==h||m!==
p){f=1-g;var q=k*d+l*h+m*p+c*e,n=0<=q?1:-1,r=1-q*q;r>Number.EPSILON&&(r=Math.sqrt(r),q=Math.atan2(r,q*n),f=Math.sin(f*q)/r,g=Math.sin(g*q)/r);n*=g;k=k*f+d*n;l=l*f+h*n;m=m*f+p*n;c=c*f+e*n;f===1-g&&(g=1/Math.sqrt(k*k+l*l+m*m+c*c),k*=g,l*=g,m*=g,c*=g)}a[b]=k;a[b+1]=l;a[b+2]=m;a[b+3]=c}});Object.defineProperties(Da.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},
set:function(a){this._z=a;this._onChangeCallback()}},w:{get:function(){return this._w},set:function(a){this._w=a;this._onChangeCallback()}}});Object.assign(Da.prototype,{isQuaternion:!0,set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._w=d;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(a){this._x=a.x;this._y=a.y;this._z=a.z;this._w=a.w;this._onChangeCallback();return this},setFromEuler:function(a,b){if(!a||
!a.isEuler)throw Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var c=a._x,d=a._y,e=a._z;a=a.order;var f=Math.cos,g=Math.sin,k=f(c/2),l=f(d/2);f=f(e/2);c=g(c/2);d=g(d/2);e=g(e/2);"XYZ"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e+c*d*f,this._w=k*l*f-c*d*e):"YXZ"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f+c*d*e):"ZXY"===a?(this._x=c*l*f-k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e+c*d*f,this._w=
k*l*f-c*d*e):"ZYX"===a?(this._x=c*l*f-k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f+c*d*e):"YZX"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f-c*d*e):"XZY"===a&&(this._x=c*l*f-k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e+c*d*f,this._w=k*l*f+c*d*e);!1!==b&&this._onChangeCallback();return this},setFromAxisAngle:function(a,b){b/=2;var c=Math.sin(b);this._x=a.x*c;this._y=a.y*c;this._z=a.z*c;this._w=Math.cos(b);this._onChangeCallback();return this},setFromRotationMatrix:function(a){var b=
a.elements,c=b[0];a=b[4];var d=b[8],e=b[1],f=b[5],g=b[9],k=b[2],l=b[6];b=b[10];var m=c+f+b;0<m?(c=.5/Math.sqrt(m+1),this._w=.25/c,this._x=(l-g)*c,this._y=(d-k)*c,this._z=(e-a)*c):c>f&&c>b?(c=2*Math.sqrt(1+c-f-b),this._w=(l-g)/c,this._x=.25*c,this._y=(a+e)/c,this._z=(d+k)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this._w=(d-k)/c,this._x=(a+e)/c,this._y=.25*c,this._z=(g+l)/c):(c=2*Math.sqrt(1+b-c-f),this._w=(e-a)/c,this._x=(d+k)/c,this._y=(g+l)/c,this._z=.25*c);this._onChangeCallback();return this},setFromUnitVectors:function(a,
b){var c=a.dot(b)+1;1E-6>c?(c=0,Math.abs(a.x)>Math.abs(a.z)?(this._x=-a.y,this._y=a.x,this._z=0):(this._x=0,this._y=-a.z,this._z=a.y)):(this._x=a.y*b.z-a.z*b.y,this._y=a.z*b.x-a.x*b.z,this._z=a.x*b.y-a.y*b.x);this._w=c;return this.normalize()},angleTo:function(a){return 2*Math.acos(Math.abs(O.clamp(this.dot(a),-1,1)))},rotateTowards:function(a,b){var c=this.angleTo(a);if(0===c)return this;this.slerp(a,Math.min(1,b/c));return this},inverse:function(){return this.conjugate()},conjugate:function(){this._x*=
-1;this._y*=-1;this._z*=-1;this._onChangeCallback();return this},dot:function(a){return this._x*a._x+this._y*a._y+this._z*a._z+this._w*a._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var a=this.length();0===a?(this._z=this._y=this._x=0,this._w=1):(a=1/a,this._x*=a,this._y*=a,this._z*=a,this._w*=a);this._onChangeCallback();return this},
multiply:function(a,b){return void 0!==b?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(a,b)):this.multiplyQuaternions(this,a)},premultiply:function(a){return this.multiplyQuaternions(a,this)},multiplyQuaternions:function(a,b){var c=a._x,d=a._y,e=a._z;a=a._w;var f=b._x,g=b._y,k=b._z;b=b._w;this._x=c*b+a*f+d*k-e*g;this._y=d*b+a*g+e*f-c*k;this._z=e*b+a*k+c*g-d*f;this._w=a*b-c*f-d*g-e*k;this._onChangeCallback();
return this},slerp:function(a,b){if(0===b)return this;if(1===b)return this.copy(a);var c=this._x,d=this._y,e=this._z,f=this._w,g=f*a._w+c*a._x+d*a._y+e*a._z;0>g?(this._w=-a._w,this._x=-a._x,this._y=-a._y,this._z=-a._z,g=-g):this.copy(a);if(1<=g)return this._w=f,this._x=c,this._y=d,this._z=e,this;a=1-g*g;if(a<=Number.EPSILON)return g=1-b,this._w=g*f+b*this._w,this._x=g*c+b*this._x,this._y=g*d+b*this._y,this._z=g*e+b*this._z,this.normalize(),this._onChangeCallback(),this;a=Math.sqrt(a);var k=Math.atan2(a,
g);g=Math.sin((1-b)*k)/a;b=Math.sin(b*k)/a;this._w=f*g+this._w*b;this._x=c*g+this._x*b;this._y=d*g+this._y*b;this._z=e*g+this._z*b;this._onChangeCallback();return this},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._w===this._w},fromArray:function(a,b){void 0===b&&(b=0);this._x=a[b];this._y=a[b+1];this._z=a[b+2];this._w=a[b+3];this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+
3]=this._w;return a},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});var $g=new n,Ei=new Da;Object.assign(n.prototype,{isVector3:!0,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setScalar:function(a){this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=
b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,
b);this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},subScalar:function(a){this.x-=
a;this.y-=a;this.z-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},multiply:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},multiplyVectors:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},
applyEuler:function(a){a&&a.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.");return this.applyQuaternion(Ei.setFromEuler(a))},applyAxisAngle:function(a,b){return this.applyQuaternion(Ei.setFromAxisAngle(a,b))},applyMatrix3:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[3]*c+a[6]*d;this.y=a[1]*b+a[4]*c+a[7]*d;this.z=a[2]*b+a[5]*c+a[8]*d;return this},applyNormalMatrix:function(a){return this.applyMatrix3(a).normalize()},
applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;var e=1/(a[3]*b+a[7]*c+a[11]*d+a[15]);this.x=(a[0]*b+a[4]*c+a[8]*d+a[12])*e;this.y=(a[1]*b+a[5]*c+a[9]*d+a[13])*e;this.z=(a[2]*b+a[6]*c+a[10]*d+a[14])*e;return this},applyQuaternion:function(a){var b=this.x,c=this.y,d=this.z,e=a.x,f=a.y,g=a.z;a=a.w;var k=a*b+f*d-g*c,l=a*c+g*b-e*d,m=a*d+e*c-f*b;b=-e*b-f*c-g*d;this.x=k*a+b*-e+l*-g-m*-f;this.y=l*a+b*-f+m*-e-k*-g;this.z=m*a+b*-g+k*-f-l*-e;return this},project:function(a){return this.applyMatrix4(a.matrixWorldInverse).applyMatrix4(a.projectionMatrix)},
unproject:function(a){return this.applyMatrix4(a.projectionMatrixInverse).applyMatrix4(a.matrixWorld)},transformDirection:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d;this.y=a[1]*b+a[5]*c+a[9]*d;this.z=a[2]*b+a[6]*c+a[10]*d;return this.normalize()},divide:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,
a.z);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));this.z=Math.max(a,Math.min(b,this.z));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||
1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=
0>this.z?Math.ceil(this.z):Math.floor(this.z);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},
lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},cross:function(a,b){return void 0!==b?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(a,b)):this.crossVectors(this,a)},crossVectors:function(a,b){var c=a.x,d=a.y;a=a.z;var e=b.x,f=b.y;b=b.z;this.x=d*b-a*f;this.y=a*e-c*b;this.z=c*f-d*e;return this},
projectOnVector:function(a){var b=a.dot(this)/a.lengthSq();return this.copy(a).multiplyScalar(b)},projectOnPlane:function(a){$g.copy(this).projectOnVector(a);return this.sub($g)},reflect:function(a){return this.sub($g.copy(a).multiplyScalar(2*this.dot(a)))},angleTo:function(a){var b=Math.sqrt(this.lengthSq()*a.lengthSq());0===b&&console.error("THREE.Vector3: angleTo() can't handle zero length vectors.");a=this.dot(a)/b;return Math.acos(O.clamp(a,-1,1))},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},
distanceToSquared:function(a){var b=this.x-a.x,c=this.y-a.y;a=this.z-a.z;return b*b+c*c+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)+Math.abs(this.z-a.z)},setFromSpherical:function(a){return this.setFromSphericalCoords(a.radius,a.phi,a.theta)},setFromSphericalCoords:function(a,b,c){var d=Math.sin(b)*a;this.x=d*Math.sin(c);this.y=Math.cos(b)*a;this.z=d*Math.cos(c);return this},setFromCylindrical:function(a){return this.setFromCylindricalCoords(a.radius,a.theta,
a.y)},setFromCylindricalCoords:function(a,b,c){this.x=a*Math.sin(b);this.y=c;this.z=a*Math.cos(b);return this},setFromMatrixPosition:function(a){a=a.elements;this.x=a[12];this.y=a[13];this.z=a[14];return this},setFromMatrixScale:function(a){var b=this.setFromMatrixColumn(a,0).length(),c=this.setFromMatrixColumn(a,1).length();a=this.setFromMatrixColumn(a,2).length();this.x=b;this.y=c;this.z=a;return this},setFromMatrixColumn:function(a,b){return this.fromArray(a.elements,4*b)},equals:function(a){return a.x===
this.x&&a.y===this.y&&a.z===this.z},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);return this}});var tc=new n;Object.assign(za.prototype,{isMatrix3:!0,set:function(a,
b,c,d,e,f,g,k,l){var m=this.elements;m[0]=a;m[1]=d;m[2]=g;m[3]=b;m[4]=e;m[5]=k;m[6]=c;m[7]=f;m[8]=l;return this},identity:function(){this.set(1,0,0,0,1,0,0,0,1);return this},clone:function(){return(new this.constructor).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return this},setFromMatrix4:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[1],a[5],a[9],a[2],a[6],a[10]);return this},
applyToBufferAttribute:function(a){for(var b=0,c=a.count;b<c;b++)tc.x=a.getX(b),tc.y=a.getY(b),tc.z=a.getZ(b),tc.applyMatrix3(this),a.setXYZ(b,tc.x,tc.y,tc.z);return a},multiply:function(a){return this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[3],f=c[6],g=c[1],k=c[4],l=c[7],m=c[2],h=c[5];c=c[8];var p=d[0],q=d[3],n=d[6],r=d[1],u=d[4],z=d[7],w=d[2],B=d[5];d=d[8];
b[0]=a*p+e*r+f*w;b[3]=a*q+e*u+f*B;b[6]=a*n+e*z+f*d;b[1]=g*p+k*r+l*w;b[4]=g*q+k*u+l*B;b[7]=g*n+k*z+l*d;b[2]=m*p+h*r+c*w;b[5]=m*q+h*u+c*B;b[8]=m*n+h*z+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[3]*=a;b[6]*=a;b[1]*=a;b[4]*=a;b[7]*=a;b[2]*=a;b[5]*=a;b[8]*=a;return this},determinant:function(){var a=this.elements,b=a[0],c=a[1],d=a[2],e=a[3],f=a[4],g=a[5],k=a[6],l=a[7];a=a[8];return b*f*a-b*g*l-c*e*a+c*g*k+d*e*l-d*f*k},getInverse:function(a,b){a&&a.isMatrix4&&console.error("THREE.Matrix3: .getInverse() no longer takes a Matrix4 argument.");
var c=a.elements;a=this.elements;var d=c[0],e=c[1],f=c[2],g=c[3],k=c[4],l=c[5],m=c[6],h=c[7];c=c[8];var p=c*k-l*h,q=l*m-c*g,n=h*g-k*m,r=d*p+e*q+f*n;if(0===r){if(!0===b)throw Error("THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0");console.warn("THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0");return this.identity()}b=1/r;a[0]=p*b;a[1]=(f*h-c*e)*b;a[2]=(l*e-f*k)*b;a[3]=q*b;a[4]=(c*d-f*m)*b;a[5]=(f*g-l*d)*b;a[6]=n*b;a[7]=(e*m-h*d)*b;a[8]=(k*d-e*g)*b;return this},
transpose:function(){var a=this.elements;var b=a[1];a[1]=a[3];a[3]=b;b=a[2];a[2]=a[6];a[6]=b;b=a[5];a[5]=a[7];a[7]=b;return this},getNormalMatrix:function(a){return this.setFromMatrix4(a).getInverse(this).transpose()},transposeIntoArray:function(a){var b=this.elements;a[0]=b[0];a[1]=b[3];a[2]=b[6];a[3]=b[1];a[4]=b[4];a[5]=b[7];a[6]=b[2];a[7]=b[5];a[8]=b[8];return this},setUvTransform:function(a,b,c,d,e,f,g){var k=Math.cos(e);e=Math.sin(e);this.set(c*k,c*e,-c*(k*f+e*g)+f+a,-d*e,d*k,-d*(-e*f+k*g)+g+
b,0,0,1)},scale:function(a,b){var c=this.elements;c[0]*=a;c[3]*=a;c[6]*=a;c[1]*=b;c[4]*=b;c[7]*=b;return this},rotate:function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.elements,d=c[0],e=c[3],f=c[6],g=c[1],k=c[4],l=c[7];c[0]=b*d+a*g;c[3]=b*e+a*k;c[6]=b*f+a*l;c[1]=-a*d+b*g;c[4]=-a*e+b*k;c[7]=-a*f+b*l;return this},translate:function(a,b){var c=this.elements;c[0]+=a*c[2];c[3]+=a*c[5];c[6]+=a*c[8];c[1]+=b*c[2];c[4]+=b*c[5];c[7]+=b*c[8];return this},equals:function(a){var b=this.elements;a=a.elements;
for(var c=0;9>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;9>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];return a}});var nd,Mb={getDataURL:function(a){if("undefined"==typeof HTMLCanvasElement)return a.src;if(!(a instanceof HTMLCanvasElement)){void 0===nd&&(nd=document.createElementNS("http://www.w3.org/1999/xhtml",
"canvas"));nd.width=a.width;nd.height=a.height;var b=nd.getContext("2d");a instanceof ImageData?b.putImageData(a,0,0):b.drawImage(a,0,0,a.width,a.height);a=nd}return 2048<a.width||2048<a.height?a.toDataURL("image/jpeg",.6):a.toDataURL("image/png")}},mj=0;T.DEFAULT_IMAGE=void 0;T.DEFAULT_MAPPING=300;T.prototype=Object.assign(Object.create(Fa.prototype),{constructor:T,isTexture:!0,updateMatrix:function(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,
this.center.x,this.center.y)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.image=a.image;this.mipmaps=a.mipmaps.slice(0);this.mapping=a.mapping;this.wrapS=a.wrapS;this.wrapT=a.wrapT;this.magFilter=a.magFilter;this.minFilter=a.minFilter;this.anisotropy=a.anisotropy;this.format=a.format;this.internalFormat=a.internalFormat;this.type=a.type;this.offset.copy(a.offset);this.repeat.copy(a.repeat);this.center.copy(a.center);this.rotation=a.rotation;this.matrixAutoUpdate=
a.matrixAutoUpdate;this.matrix.copy(a.matrix);this.generateMipmaps=a.generateMipmaps;this.premultiplyAlpha=a.premultiplyAlpha;this.flipY=a.flipY;this.unpackAlignment=a.unpackAlignment;this.encoding=a.encoding;return this},toJSON:function(a){var b=void 0===a||"string"===typeof a;if(!b&&void 0!==a.textures[this.uuid])return a.textures[this.uuid];var c={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,mapping:this.mapping,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,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(void 0!==this.image){var d=this.image;void 0===d.uuid&&(d.uuid=O.generateUUID());if(!b&&void 0===a.images[d.uuid]){if(Array.isArray(d)){var e=[];
for(var f=0,g=d.length;f<g;f++)e.push(Mb.getDataURL(d[f]))}else e=Mb.getDataURL(d);a.images[d.uuid]={uuid:d.uuid,url:e}}c.image=d.uuid}b||(a.textures[this.uuid]=c);return c},dispose:function(){this.dispatchEvent({type:"dispose"})},transformUv:function(a){if(300!==this.mapping)return a;a.applyMatrix3(this.matrix);if(0>a.x||1<a.x)switch(this.wrapS){case 1E3:a.x-=Math.floor(a.x);break;case 1001:a.x=0>a.x?0:1;break;case 1002:a.x=1===Math.abs(Math.floor(a.x)%2)?Math.ceil(a.x)-a.x:a.x-Math.floor(a.x)}if(0>
a.y||1<a.y)switch(this.wrapT){case 1E3:a.y-=Math.floor(a.y);break;case 1001:a.y=0>a.y?0:1;break;case 1002:a.y=1===Math.abs(Math.floor(a.y)%2)?Math.ceil(a.y)-a.y:a.y-Math.floor(a.y)}this.flipY&&(a.y=1-a.y);return a}});Object.defineProperty(T.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.defineProperties(S.prototype,{width:{get:function(){return this.z},set:function(a){this.z=a}},height:{get:function(){return this.w},set:function(a){this.w=a}}});Object.assign(S.prototype,
{isVector4:!0,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},setScalar:function(a){this.w=this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setW:function(a){this.w=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;case 3:this.w=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;
case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},
addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;this.w+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;this.w+=a.w*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},subScalar:function(a){this.x-=
a;this.y-=a;this.z-=a;this.w-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z,e=this.w;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d+a[12]*e;this.y=a[1]*b+a[5]*c+a[9]*d+a[13]*e;this.z=a[2]*b+a[6]*c+a[10]*d+a[14]*e;this.w=a[3]*b+a[7]*c+a[11]*d+a[15]*e;return this},divideScalar:function(a){return this.multiplyScalar(1/
a)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){a=a.elements;var b=a[0];var c=a[4];var d=a[8],e=a[1],f=a[5],g=a[9];var k=a[2];var l=a[6];var m=a[10];if(.01>Math.abs(c-e)&&.01>Math.abs(d-k)&&.01>Math.abs(g-l)){if(.1>Math.abs(c+e)&&.1>Math.abs(d+k)&&.1>Math.abs(g+l)&&.1>Math.abs(b+f+m-3))return this.set(1,0,0,0),this;a=Math.PI;
b=(b+1)/2;f=(f+1)/2;m=(m+1)/2;c=(c+e)/4;d=(d+k)/4;g=(g+l)/4;b>f&&b>m?.01>b?(l=0,c=k=.707106781):(l=Math.sqrt(b),k=c/l,c=d/l):f>m?.01>f?(l=.707106781,k=0,c=.707106781):(k=Math.sqrt(f),l=c/k,c=g/k):.01>m?(k=l=.707106781,c=0):(c=Math.sqrt(m),l=d/c,k=g/c);this.set(l,k,c,a);return this}a=Math.sqrt((l-g)*(l-g)+(d-k)*(d-k)+(e-c)*(e-c));.001>Math.abs(a)&&(a=1);this.x=(l-g)/a;this.y=(d-k)/a;this.z=(e-c)/a;this.w=Math.acos((b+f+m-1)/2);return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,
a.y);this.z=Math.min(this.z,a.z);this.w=Math.min(this.w,a.w);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);this.w=Math.max(this.w,a.w);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));this.w=Math.max(a.w,Math.min(b.w,this.w));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,
this.y));this.z=Math.max(a,Math.min(b,this.z));this.w=Math.max(a,Math.min(b,this.w));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);this.w=Math.floor(this.w);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);this.w=Math.ceil(this.w);return this},round:function(){this.x=
Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);this.w=0>this.w?Math.ceil(this.w):Math.floor(this.w);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z+this.w*a.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-
this.z)*b;this.w+=(a.w-this.w)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z&&a.w===this.w},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];this.w=a[b+3];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;a[b+3]=this.w;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute().");
this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);this.w=a.getW(b);return this}});va.prototype=Object.assign(Object.create(Fa.prototype),{constructor:va,isWebGLRenderTarget:!0,setSize:function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.texture.image.width=a,this.texture.image.height=b,this.dispose();this.viewport.set(0,0,a,b);this.scissor.set(0,0,a,b)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.width=a.width;this.height=a.height;this.viewport.copy(a.viewport);
this.texture=a.texture.clone();this.depthBuffer=a.depthBuffer;this.stencilBuffer=a.stencilBuffer;this.depthTexture=a.depthTexture;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Zf.prototype=Object.assign(Object.create(va.prototype),{constructor:Zf,isWebGLMultisampleRenderTarget:!0,copy:function(a){va.prototype.copy.call(this,a);this.samples=a.samples;return this}});var Ma=new n,W=new P,Ok=new n(0,0,0),Pk=new n(1,1,1),Nb=new n,Cf=new n,ka=new n;Object.assign(P.prototype,{isMatrix4:!0,
set:function(a,b,c,d,e,f,g,k,l,m,h,p,q,n,r,u){var v=this.elements;v[0]=a;v[4]=b;v[8]=c;v[12]=d;v[1]=e;v[5]=f;v[9]=g;v[13]=k;v[2]=l;v[6]=m;v[10]=h;v[14]=p;v[3]=q;v[7]=n;v[11]=r;v[15]=u;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},clone:function(){return(new P).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];
b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return this},copyPosition:function(a){var b=this.elements;a=a.elements;b[12]=a[12];b[13]=a[13];b[14]=a[14];return this},extractBasis:function(a,b,c){a.setFromMatrixColumn(this,0);b.setFromMatrixColumn(this,1);c.setFromMatrixColumn(this,2);return this},makeBasis:function(a,b,c){this.set(a.x,b.x,c.x,0,a.y,b.y,c.y,0,a.z,b.z,c.z,0,0,0,0,1);return this},extractRotation:function(a){var b=this.elements,c=a.elements,d=1/Ma.setFromMatrixColumn(a,0).length(),
e=1/Ma.setFromMatrixColumn(a,1).length();a=1/Ma.setFromMatrixColumn(a,2).length();b[0]=c[0]*d;b[1]=c[1]*d;b[2]=c[2]*d;b[3]=0;b[4]=c[4]*e;b[5]=c[5]*e;b[6]=c[6]*e;b[7]=0;b[8]=c[8]*a;b[9]=c[9]*a;b[10]=c[10]*a;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromEuler:function(a){a&&a.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var b=this.elements,c=a.x,d=a.y,e=a.z,f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d);
d=Math.sin(d);var k=Math.cos(e);e=Math.sin(e);if("XYZ"===a.order){a=f*k;var l=f*e,m=c*k,h=c*e;b[0]=g*k;b[4]=-g*e;b[8]=d;b[1]=l+m*d;b[5]=a-h*d;b[9]=-c*g;b[2]=h-a*d;b[6]=m+l*d;b[10]=f*g}else"YXZ"===a.order?(a=g*k,l=g*e,m=d*k,h=d*e,b[0]=a+h*c,b[4]=m*c-l,b[8]=f*d,b[1]=f*e,b[5]=f*k,b[9]=-c,b[2]=l*c-m,b[6]=h+a*c,b[10]=f*g):"ZXY"===a.order?(a=g*k,l=g*e,m=d*k,h=d*e,b[0]=a-h*c,b[4]=-f*e,b[8]=m+l*c,b[1]=l+m*c,b[5]=f*k,b[9]=h-a*c,b[2]=-f*d,b[6]=c,b[10]=f*g):"ZYX"===a.order?(a=f*k,l=f*e,m=c*k,h=c*e,b[0]=g*k,
b[4]=m*d-l,b[8]=a*d+h,b[1]=g*e,b[5]=h*d+a,b[9]=l*d-m,b[2]=-d,b[6]=c*g,b[10]=f*g):"YZX"===a.order?(a=f*g,l=f*d,m=c*g,h=c*d,b[0]=g*k,b[4]=h-a*e,b[8]=m*e+l,b[1]=e,b[5]=f*k,b[9]=-c*k,b[2]=-d*k,b[6]=l*e+m,b[10]=a-h*e):"XZY"===a.order&&(a=f*g,l=f*d,m=c*g,h=c*d,b[0]=g*k,b[4]=-e,b[8]=d*k,b[1]=a*e+h,b[5]=f*k,b[9]=l*e-m,b[2]=m*e-l,b[6]=c*k,b[10]=h*e+a);b[3]=0;b[7]=0;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromQuaternion:function(a){return this.compose(Ok,a,Pk)},lookAt:function(a,b,
c){var d=this.elements;ka.subVectors(a,b);0===ka.lengthSq()&&(ka.z=1);ka.normalize();Nb.crossVectors(c,ka);0===Nb.lengthSq()&&(1===Math.abs(c.z)?ka.x+=1E-4:ka.z+=1E-4,ka.normalize(),Nb.crossVectors(c,ka));Nb.normalize();Cf.crossVectors(ka,Nb);d[0]=Nb.x;d[4]=Cf.x;d[8]=ka.x;d[1]=Nb.y;d[5]=Cf.y;d[9]=ka.y;d[2]=Nb.z;d[6]=Cf.z;d[10]=ka.z;return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),
this.multiplyMatrices(a,b)):this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[4],f=c[8],g=c[12],k=c[1],l=c[5],m=c[9],h=c[13],p=c[2],q=c[6],n=c[10],r=c[14],u=c[3],z=c[7],w=c[11];c=c[15];var B=d[0],x=d[4],y=d[8],A=d[12],C=d[1],G=d[5],D=d[9],E=d[13],F=d[2],I=d[6],K=d[10],L=d[14],M=d[3],N=d[7],O=d[11];d=d[15];b[0]=a*B+e*C+f*F+g*M;b[4]=a*x+e*G+f*I+g*N;b[8]=a*y+e*D+f*K+
g*O;b[12]=a*A+e*E+f*L+g*d;b[1]=k*B+l*C+m*F+h*M;b[5]=k*x+l*G+m*I+h*N;b[9]=k*y+l*D+m*K+h*O;b[13]=k*A+l*E+m*L+h*d;b[2]=p*B+q*C+n*F+r*M;b[6]=p*x+q*G+n*I+r*N;b[10]=p*y+q*D+n*K+r*O;b[14]=p*A+q*E+n*L+r*d;b[3]=u*B+z*C+w*F+c*M;b[7]=u*x+z*G+w*I+c*N;b[11]=u*y+z*D+w*K+c*O;b[15]=u*A+z*E+w*L+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},applyToBufferAttribute:function(a){for(var b=
0,c=a.count;b<c;b++)Ma.x=a.getX(b),Ma.y=a.getY(b),Ma.z=a.getZ(b),Ma.applyMatrix4(this),a.setXYZ(b,Ma.x,Ma.y,Ma.z);return a},determinant:function(){var a=this.elements,b=a[0],c=a[4],d=a[8],e=a[12],f=a[1],g=a[5],k=a[9],l=a[13],m=a[2],h=a[6],p=a[10],q=a[14];return a[3]*(+e*k*h-d*l*h-e*g*p+c*l*p+d*g*q-c*k*q)+a[7]*(+b*k*q-b*l*p+e*f*p-d*f*q+d*l*m-e*k*m)+a[11]*(+b*l*h-b*g*q-e*f*h+c*f*q+e*g*m-c*l*m)+a[15]*(-d*g*m-b*k*h+b*g*p+d*f*h-c*f*p+c*k*m)},transpose:function(){var a=this.elements;var b=a[1];a[1]=a[4];
a[4]=b;b=a[2];a[2]=a[8];a[8]=b;b=a[6];a[6]=a[9];a[9]=b;b=a[3];a[3]=a[12];a[12]=b;b=a[7];a[7]=a[13];a[13]=b;b=a[11];a[11]=a[14];a[14]=b;return this},setPosition:function(a,b,c){var d=this.elements;a.isVector3?(d[12]=a.x,d[13]=a.y,d[14]=a.z):(d[12]=a,d[13]=b,d[14]=c);return this},getInverse:function(a,b){var c=this.elements,d=a.elements;a=d[0];var e=d[1],f=d[2],g=d[3],k=d[4],l=d[5],m=d[6],h=d[7],p=d[8],q=d[9],n=d[10],r=d[11],u=d[12],z=d[13],w=d[14];d=d[15];var B=q*w*h-z*n*h+z*m*r-l*w*r-q*m*d+l*n*d,
x=u*n*h-p*w*h-u*m*r+k*w*r+p*m*d-k*n*d,y=p*z*h-u*q*h+u*l*r-k*z*r-p*l*d+k*q*d,A=u*q*m-p*z*m-u*l*n+k*z*n+p*l*w-k*q*w,C=a*B+e*x+f*y+g*A;if(0===C){if(!0===b)throw Error("THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0");console.warn("THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0");return this.identity()}b=1/C;c[0]=B*b;c[1]=(z*n*g-q*w*g-z*f*r+e*w*r+q*f*d-e*n*d)*b;c[2]=(l*w*g-z*m*g+z*f*h-e*w*h-l*f*d+e*m*d)*b;c[3]=(q*m*g-l*n*g-q*f*h+e*n*h+l*f*r-e*m*r)*b;c[4]=x*b;c[5]=
(p*w*g-u*n*g+u*f*r-a*w*r-p*f*d+a*n*d)*b;c[6]=(u*m*g-k*w*g-u*f*h+a*w*h+k*f*d-a*m*d)*b;c[7]=(k*n*g-p*m*g+p*f*h-a*n*h-k*f*r+a*m*r)*b;c[8]=y*b;c[9]=(u*q*g-p*z*g-u*e*r+a*z*r+p*e*d-a*q*d)*b;c[10]=(k*z*g-u*l*g+u*e*h-a*z*h-k*e*d+a*l*d)*b;c[11]=(p*l*g-k*q*g-p*e*h+a*q*h+k*e*r-a*l*r)*b;c[12]=A*b;c[13]=(p*z*f-u*q*f+u*e*n-a*z*n-p*e*w+a*q*w)*b;c[14]=(u*l*f-k*z*f-u*e*m+a*z*m+k*e*w-a*l*w)*b;c[15]=(k*q*f-p*l*f+p*e*m-a*q*m-k*e*n+a*l*n)*b;return this},scale:function(a){var b=this.elements,c=a.x,d=a.y;a=a.z;b[0]*=c;
b[4]*=d;b[8]*=a;b[1]*=c;b[5]*=d;b[9]*=a;b[2]*=c;b[6]*=d;b[10]*=a;b[3]*=c;b[7]*=d;b[11]*=a;return this},getMaxScaleOnAxis:function(){var a=this.elements;return Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1]+a[2]*a[2],a[4]*a[4]+a[5]*a[5]+a[6]*a[6],a[8]*a[8]+a[9]*a[9]+a[10]*a[10]))},makeTranslation:function(a,b,c){this.set(1,0,0,a,0,1,0,b,0,0,1,c,0,0,0,1);return this},makeRotationX:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(1,0,0,0,0,b,-a,0,0,a,b,0,0,0,0,1);return this},makeRotationY:function(a){var b=
Math.cos(a);a=Math.sin(a);this.set(b,0,a,0,0,1,0,0,-a,0,b,0,0,0,0,1);return this},makeRotationZ:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(b,-a,0,0,a,b,0,0,0,0,1,0,0,0,0,1);return this},makeRotationAxis:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=1-c,e=a.x,f=a.y;a=a.z;var g=d*e,k=d*f;this.set(g*e+c,g*f-b*a,g*a+b*f,0,g*f+b*a,k*f+c,k*a-b*e,0,g*a-b*f,k*a+b*e,d*a*a+c,0,0,0,0,1);return this},makeScale:function(a,b,c){this.set(a,0,0,0,0,b,0,0,0,0,c,0,0,0,0,1);return this},makeShear:function(a,
b,c){this.set(1,b,c,0,a,1,c,0,a,b,1,0,0,0,0,1);return this},compose:function(a,b,c){var d=this.elements,e=b._x,f=b._y,g=b._z,k=b._w,l=e+e,m=f+f,h=g+g;b=e*l;var p=e*m;e*=h;var q=f*m;f*=h;g*=h;l*=k;m*=k;k*=h;h=c.x;var n=c.y;c=c.z;d[0]=(1-(q+g))*h;d[1]=(p+k)*h;d[2]=(e-m)*h;d[3]=0;d[4]=(p-k)*n;d[5]=(1-(b+g))*n;d[6]=(f+l)*n;d[7]=0;d[8]=(e+m)*c;d[9]=(f-l)*c;d[10]=(1-(b+q))*c;d[11]=0;d[12]=a.x;d[13]=a.y;d[14]=a.z;d[15]=1;return this},decompose:function(a,b,c){var d=this.elements,e=Ma.set(d[0],d[1],d[2]).length(),
f=Ma.set(d[4],d[5],d[6]).length(),g=Ma.set(d[8],d[9],d[10]).length();0>this.determinant()&&(e=-e);a.x=d[12];a.y=d[13];a.z=d[14];W.copy(this);a=1/e;d=1/f;var k=1/g;W.elements[0]*=a;W.elements[1]*=a;W.elements[2]*=a;W.elements[4]*=d;W.elements[5]*=d;W.elements[6]*=d;W.elements[8]*=k;W.elements[9]*=k;W.elements[10]*=k;b.setFromRotationMatrix(W);c.x=e;c.y=f;c.z=g;return this},makePerspective:function(a,b,c,d,e,f){void 0===f&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");
var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(c-d);g[9]=(c+d)/(c-d);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=0;g[7]=0;g[11]=-1;g[15]=0;return this},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,k=1/(b-a),l=1/(c-d),m=1/(f-e);g[0]=2*k;g[4]=0;g[8]=0;g[12]=-((b+a)*k);g[1]=0;g[5]=2*l;g[9]=0;g[13]=-((c+d)*l);g[2]=0;g[6]=0;g[10]=-2*m;g[14]=-((f+e)*m);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},equals:function(a){var b=this.elements;
a=a.elements;for(var c=0;16>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;16>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+14]=c[14];a[b+15]=c[15];return a}});var Fi=new P,Gi=new Da;Ub.RotationOrders=
"XYZ YZX ZXY XZY YXZ ZYX".split(" ");Ub.DefaultOrder="XYZ";Object.defineProperties(Ub.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},order:{get:function(){return this._order},set:function(a){this._order=a;this._onChangeCallback()}}});Object.assign(Ub.prototype,{isEuler:!0,set:function(a,
b,c,d){this._x=a;this._y=b;this._z=c;this._order=d||this._order;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(a){this._x=a._x;this._y=a._y;this._z=a._z;this._order=a._order;this._onChangeCallback();return this},setFromRotationMatrix:function(a,b,c){var d=O.clamp,e=a.elements;a=e[0];var f=e[4],g=e[8],k=e[1],l=e[5],m=e[9],h=e[2],p=e[6];e=e[10];b=b||this._order;"XYZ"===b?(this._y=Math.asin(d(g,-1,1)),.9999999>Math.abs(g)?
(this._x=Math.atan2(-m,e),this._z=Math.atan2(-f,a)):(this._x=Math.atan2(p,l),this._z=0)):"YXZ"===b?(this._x=Math.asin(-d(m,-1,1)),.9999999>Math.abs(m)?(this._y=Math.atan2(g,e),this._z=Math.atan2(k,l)):(this._y=Math.atan2(-h,a),this._z=0)):"ZXY"===b?(this._x=Math.asin(d(p,-1,1)),.9999999>Math.abs(p)?(this._y=Math.atan2(-h,e),this._z=Math.atan2(-f,l)):(this._y=0,this._z=Math.atan2(k,a))):"ZYX"===b?(this._y=Math.asin(-d(h,-1,1)),.9999999>Math.abs(h)?(this._x=Math.atan2(p,e),this._z=Math.atan2(k,a)):
(this._x=0,this._z=Math.atan2(-f,l))):"YZX"===b?(this._z=Math.asin(d(k,-1,1)),.9999999>Math.abs(k)?(this._x=Math.atan2(-m,l),this._y=Math.atan2(-h,a)):(this._x=0,this._y=Math.atan2(g,e))):"XZY"===b?(this._z=Math.asin(-d(f,-1,1)),.9999999>Math.abs(f)?(this._x=Math.atan2(p,l),this._y=Math.atan2(g,a)):(this._x=Math.atan2(-m,e),this._y=0)):console.warn("THREE.Euler: .setFromRotationMatrix() given unsupported order: "+b);this._order=b;!1!==c&&this._onChangeCallback();return this},setFromQuaternion:function(a,
b,c){Fi.makeRotationFromQuaternion(a);return this.setFromRotationMatrix(Fi,b,c)},setFromVector3:function(a,b){return this.set(a.x,a.y,a.z,b||this._order)},reorder:function(a){Gi.setFromEuler(this);return this.setFromQuaternion(Gi,a)},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._order===this._order},fromArray:function(a){this._x=a[0];this._y=a[1];this._z=a[2];void 0!==a[3]&&(this._order=a[3]);this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=
[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._order;return a},toVector3:function(a){return a?a.set(this._x,this._y,this._z):new n(this._x,this._y,this._z)},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});Object.assign($f.prototype,{set:function(a){this.mask=1<<a|0},enable:function(a){this.mask=this.mask|1<<a|0},enableAll:function(){this.mask=-1},toggle:function(a){this.mask^=1<<a|0},disable:function(a){this.mask&=~(1<<a|
0)},disableAll:function(){this.mask=0},test:function(a){return 0!==(this.mask&a.mask)}});var nj=0,Hi=new n,od=new Da,zb=new P,Df=new n,Ae=new n,Qk=new n,Rk=new Da,Ii=new n(1,0,0),Ji=new n(0,1,0),Ki=new n(0,0,1),Sk={type:"added"},Tk={type:"removed"};D.DefaultUp=new n(0,1,0);D.DefaultMatrixAutoUpdate=!0;D.prototype=Object.assign(Object.create(Fa.prototype),{constructor:D,isObject3D:!0,onBeforeRender:function(){},onAfterRender:function(){},applyMatrix:function(a){this.matrixAutoUpdate&&this.updateMatrix();
this.matrix.premultiply(a);this.matrix.decompose(this.position,this.quaternion,this.scale)},applyQuaternion:function(a){this.quaternion.premultiply(a);return this},setRotationFromAxisAngle:function(a,b){this.quaternion.setFromAxisAngle(a,b)},setRotationFromEuler:function(a){this.quaternion.setFromEuler(a,!0)},setRotationFromMatrix:function(a){this.quaternion.setFromRotationMatrix(a)},setRotationFromQuaternion:function(a){this.quaternion.copy(a)},rotateOnAxis:function(a,b){od.setFromAxisAngle(a,b);
this.quaternion.multiply(od);return this},rotateOnWorldAxis:function(a,b){od.setFromAxisAngle(a,b);this.quaternion.premultiply(od);return this},rotateX:function(a){return this.rotateOnAxis(Ii,a)},rotateY:function(a){return this.rotateOnAxis(Ji,a)},rotateZ:function(a){return this.rotateOnAxis(Ki,a)},translateOnAxis:function(a,b){Hi.copy(a).applyQuaternion(this.quaternion);this.position.add(Hi.multiplyScalar(b));return this},translateX:function(a){return this.translateOnAxis(Ii,a)},translateY:function(a){return this.translateOnAxis(Ji,
a)},translateZ:function(a){return this.translateOnAxis(Ki,a)},localToWorld:function(a){return a.applyMatrix4(this.matrixWorld)},worldToLocal:function(a){return a.applyMatrix4(zb.getInverse(this.matrixWorld))},lookAt:function(a,b,c){a.isVector3?Df.copy(a):Df.set(a,b,c);a=this.parent;this.updateWorldMatrix(!0,!1);Ae.setFromMatrixPosition(this.matrixWorld);this.isCamera||this.isLight?zb.lookAt(Ae,Df,this.up):zb.lookAt(Df,Ae,this.up);this.quaternion.setFromRotationMatrix(zb);a&&(zb.extractRotation(a.matrixWorld),
od.setFromRotationMatrix(zb),this.quaternion.premultiply(od.inverse()))},add:function(a){if(1<arguments.length){for(var b=0;b<arguments.length;b++)this.add(arguments[b]);return this}if(a===this)return console.error("THREE.Object3D.add: object can't be added as a child of itself.",a),this;a&&a.isObject3D?(null!==a.parent&&a.parent.remove(a),a.parent=this,this.children.push(a),a.dispatchEvent(Sk)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",a);return this},remove:function(a){if(1<
arguments.length){for(var b=0;b<arguments.length;b++)this.remove(arguments[b]);return this}b=this.children.indexOf(a);-1!==b&&(a.parent=null,this.children.splice(b,1),a.dispatchEvent(Tk));return this},attach:function(a){this.updateWorldMatrix(!0,!1);zb.getInverse(this.matrixWorld);null!==a.parent&&(a.parent.updateWorldMatrix(!0,!1),zb.multiply(a.parent.matrixWorld));a.applyMatrix(zb);a.updateWorldMatrix(!1,!1);this.add(a);return this},getObjectById:function(a){return this.getObjectByProperty("id",
a)},getObjectByName:function(a){return this.getObjectByProperty("name",a)},getObjectByProperty:function(a,b){if(this[a]===b)return this;for(var c=0,d=this.children.length;c<d;c++){var e=this.children[c].getObjectByProperty(a,b);if(void 0!==e)return e}},getWorldPosition:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldPosition() target is now required"),a=new n);this.updateMatrixWorld(!0);return a.setFromMatrixPosition(this.matrixWorld)},getWorldQuaternion:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldQuaternion() target is now required"),
a=new Da);this.updateMatrixWorld(!0);this.matrixWorld.decompose(Ae,a,Qk);return a},getWorldScale:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldScale() target is now required"),a=new n);this.updateMatrixWorld(!0);this.matrixWorld.decompose(Ae,Rk,a);return a},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldDirection() target is now required"),a=new n);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(b[8],b[9],b[10]).normalize()},
raycast:function(){},traverse:function(a){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverse(a)},traverseVisible:function(a){if(!1!==this.visible){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverseVisible(a)}},traverseAncestors:function(a){var b=this.parent;null!==b&&(a(b),b.traverseAncestors(a))},updateMatrix:function(){this.matrix.compose(this.position,this.quaternion,this.scale);this.matrixWorldNeedsUpdate=!0},updateMatrixWorld:function(a){this.matrixAutoUpdate&&
this.updateMatrix();if(this.matrixWorldNeedsUpdate||a)null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,a=!0;for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].updateMatrixWorld(a)},updateWorldMatrix:function(a,b){var c=this.parent;!0===a&&null!==c&&c.updateWorldMatrix(!0,!1);this.matrixAutoUpdate&&this.updateMatrix();null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,
this.matrix);if(!0===b)for(a=this.children,b=0,c=a.length;b<c;b++)a[b].updateWorldMatrix(!1,!0)},toJSON:function(a){function b(b,c){void 0===b[c.uuid]&&(b[c.uuid]=c.toJSON(a));return c.uuid}function c(a){var b=[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var d=void 0===a||"string"===typeof a,e={};d&&(a={geometries:{},materials:{},textures:{},images:{},shapes:{}},e.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});var f={};f.uuid=this.uuid;f.type=this.type;""!==
this.name&&(f.name=this.name);!0===this.castShadow&&(f.castShadow=!0);!0===this.receiveShadow&&(f.receiveShadow=!0);!1===this.visible&&(f.visible=!1);!1===this.frustumCulled&&(f.frustumCulled=!1);0!==this.renderOrder&&(f.renderOrder=this.renderOrder);"{}"!==JSON.stringify(this.userData)&&(f.userData=this.userData);f.layers=this.layers.mask;f.matrix=this.matrix.toArray();!1===this.matrixAutoUpdate&&(f.matrixAutoUpdate=!1);this.isInstancedMesh&&(f.type="InstancedMesh",f.count=this.count,f.instanceMatrix=
this.instanceMatrix.toJSON());if(this.isMesh||this.isLine||this.isPoints){f.geometry=b(a.geometries,this.geometry);var g=this.geometry.parameters;if(void 0!==g&&void 0!==g.shapes)if(g=g.shapes,Array.isArray(g))for(var k=0,l=g.length;k<l;k++)b(a.shapes,g[k]);else b(a.shapes,g)}if(void 0!==this.material)if(Array.isArray(this.material)){g=[];k=0;for(l=this.material.length;k<l;k++)g.push(b(a.materials,this.material[k]));f.material=g}else f.material=b(a.materials,this.material);if(0<this.children.length)for(f.children=
[],k=0;k<this.children.length;k++)f.children.push(this.children[k].toJSON(a).object);if(d){d=c(a.geometries);k=c(a.materials);l=c(a.textures);var m=c(a.images);g=c(a.shapes);0<d.length&&(e.geometries=d);0<k.length&&(e.materials=k);0<l.length&&(e.textures=l);0<m.length&&(e.images=m);0<g.length&&(e.shapes=g)}e.object=f;return e},clone:function(a){return(new this.constructor).copy(this,a)},copy:function(a,b){void 0===b&&(b=!0);this.name=a.name;this.up.copy(a.up);this.position.copy(a.position);this.quaternion.copy(a.quaternion);
this.scale.copy(a.scale);this.matrix.copy(a.matrix);this.matrixWorld.copy(a.matrixWorld);this.matrixAutoUpdate=a.matrixAutoUpdate;this.matrixWorldNeedsUpdate=a.matrixWorldNeedsUpdate;this.layers.mask=a.layers.mask;this.visible=a.visible;this.castShadow=a.castShadow;this.receiveShadow=a.receiveShadow;this.frustumCulled=a.frustumCulled;this.renderOrder=a.renderOrder;this.userData=JSON.parse(JSON.stringify(a.userData));if(!0===b)for(b=0;b<a.children.length;b++)this.add(a.children[b].clone());return this}});
pb.prototype=Object.assign(Object.create(D.prototype),{constructor:pb,isScene:!0,copy:function(a,b){D.prototype.copy.call(this,a,b);null!==a.background&&(this.background=a.background.clone());null!==a.environment&&(this.environment=a.environment.clone());null!==a.fog&&(this.fog=a.fog.clone());null!==a.overrideMaterial&&(this.overrideMaterial=a.overrideMaterial.clone());this.autoUpdate=a.autoUpdate;this.matrixAutoUpdate=a.matrixAutoUpdate;return this},toJSON:function(a){var b=D.prototype.toJSON.call(this,
a);null!==this.background&&(b.object.background=this.background.toJSON(a));null!==this.environment&&(b.object.environment=this.environment.toJSON(a));null!==this.fog&&(b.object.fog=this.fog.toJSON());return b},dispose:function(){this.dispatchEvent({type:"dispose"})}});var Ab=[new n,new n,new n,new n,new n,new n,new n,new n],Be=new n,Ef=new Sa,pd=new n,qd=new n,rd=new n,Ob=new n,Pb=new n,uc=new n,Ce=new n,Ff=new n,Gf=new n,Vb=new n;Object.assign(Sa.prototype,{isBox3:!0,set:function(a,b){this.min.copy(a);
this.max.copy(b);return this},setFromArray:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,k=0,l=a.length;k<l;k+=3){var m=a[k],h=a[k+1],p=a[k+2];m<b&&(b=m);h<c&&(c=h);p<d&&(d=p);m>e&&(e=m);h>f&&(f=h);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromBufferAttribute:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,k=0,l=a.count;k<l;k++){var h=a.getX(k),n=a.getY(k),p=a.getZ(k);h<b&&(b=h);n<c&&(c=n);
p<d&&(d=p);h>e&&(e=h);n>f&&(f=n);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);return this},setFromCenterAndSize:function(a,b){b=Be.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},setFromObject:function(a){this.makeEmpty();return this.expandByObject(a)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);
this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=this.min.z=Infinity;this.max.x=this.max.y=this.max.z=-Infinity;return this},isEmpty:function(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z},getCenter:function(a){void 0===a&&(console.warn("THREE.Box3: .getCenter() target is now required"),a=new n);return this.isEmpty()?a.set(0,0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box3: .getSize() target is now required"),
a=new n);return this.isEmpty()?a.set(0,0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},expandByObject:function(a){a.updateWorldMatrix(!1,!1);var b=a.geometry;void 0!==b&&(null===b.boundingBox&&b.computeBoundingBox(),Ef.copy(b.boundingBox),Ef.applyMatrix4(a.matrixWorld),this.expandByPoint(Ef.min),
this.expandByPoint(Ef.max));a=a.children;b=0;for(var c=a.length;b<c;b++)this.expandByObject(a[b]);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y||a.z<this.min.z||a.z>this.max.z?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box3: .getParameter() target is now required"),
b=new n);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y),(a.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||a.max.y<this.min.y||a.min.y>this.max.y||a.max.z<this.min.z||a.min.z>this.max.z?!1:!0},intersectsSphere:function(a){this.clampPoint(a.center,Be);return Be.distanceToSquared(a.center)<=a.radius*a.radius},intersectsPlane:function(a){if(0<a.normal.x){var b=a.normal.x*this.min.x;var c=
a.normal.x*this.max.x}else b=a.normal.x*this.max.x,c=a.normal.x*this.min.x;0<a.normal.y?(b+=a.normal.y*this.min.y,c+=a.normal.y*this.max.y):(b+=a.normal.y*this.max.y,c+=a.normal.y*this.min.y);0<a.normal.z?(b+=a.normal.z*this.min.z,c+=a.normal.z*this.max.z):(b+=a.normal.z*this.max.z,c+=a.normal.z*this.min.z);return b<=-a.constant&&c>=-a.constant},intersectsTriangle:function(a){if(this.isEmpty())return!1;this.getCenter(Ce);Ff.subVectors(this.max,Ce);pd.subVectors(a.a,Ce);qd.subVectors(a.b,Ce);rd.subVectors(a.c,
Ce);Ob.subVectors(qd,pd);Pb.subVectors(rd,qd);uc.subVectors(pd,rd);a=[0,-Ob.z,Ob.y,0,-Pb.z,Pb.y,0,-uc.z,uc.y,Ob.z,0,-Ob.x,Pb.z,0,-Pb.x,uc.z,0,-uc.x,-Ob.y,Ob.x,0,-Pb.y,Pb.x,0,-uc.y,uc.x,0];if(!ag(a,pd,qd,rd,Ff))return!1;a=[1,0,0,0,1,0,0,0,1];if(!ag(a,pd,qd,rd,Ff))return!1;Gf.crossVectors(Ob,Pb);a=[Gf.x,Gf.y,Gf.z];return ag(a,pd,qd,rd,Ff)},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box3: .clampPoint() target is now required"),b=new n);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return Be.copy(a).clamp(this.min,
this.max).sub(a).length()},getBoundingSphere:function(a){void 0===a&&console.error("THREE.Box3: .getBoundingSphere() target is now required");this.getCenter(a.center);a.radius=.5*this.getSize(Be).length();return a},intersect:function(a){this.min.max(a.min);this.max.min(a.max);this.isEmpty()&&this.makeEmpty();return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},applyMatrix4:function(a){if(this.isEmpty())return this;Ab[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(a);
Ab[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(a);Ab[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(a);Ab[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(a);Ab[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(a);Ab[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(a);Ab[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(a);Ab[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(a);this.setFromPoints(Ab);return this},translate:function(a){this.min.add(a);this.max.add(a);
return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var Uk=new Sa;Object.assign(qb.prototype,{set:function(a,b){this.center.copy(a);this.radius=b;return this},setFromPoints:function(a,b){var c=this.center;void 0!==b?c.copy(b):Uk.setFromPoints(a).getCenter(c);for(var d=b=0,e=a.length;d<e;d++)b=Math.max(b,c.distanceToSquared(a[d]));this.radius=Math.sqrt(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.center.copy(a.center);
this.radius=a.radius;return this},empty:function(){return 0>=this.radius},containsPoint:function(a){return a.distanceToSquared(this.center)<=this.radius*this.radius},distanceToPoint:function(a){return a.distanceTo(this.center)-this.radius},intersectsSphere:function(a){var b=this.radius+a.radius;return a.center.distanceToSquared(this.center)<=b*b},intersectsBox:function(a){return a.intersectsSphere(this)},intersectsPlane:function(a){return Math.abs(a.distanceToPoint(this.center))<=this.radius},clampPoint:function(a,
b){var c=this.center.distanceToSquared(a);void 0===b&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),b=new n);b.copy(a);c>this.radius*this.radius&&(b.sub(this.center).normalize(),b.multiplyScalar(this.radius).add(this.center));return b},getBoundingBox:function(a){void 0===a&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),a=new Sa);a.set(this.center,this.center);a.expandByScalar(this.radius);return a},applyMatrix4:function(a){this.center.applyMatrix4(a);
this.radius*=a.getMaxScaleOnAxis();return this},translate:function(a){this.center.add(a);return this},equals:function(a){return a.center.equals(this.center)&&a.radius===this.radius}});var Bb=new n,ah=new n,Hf=new n,Qb=new n,bh=new n,If=new n,ch=new n;Object.assign(Wb.prototype,{set:function(a,b){this.origin.copy(a);this.direction.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.origin.copy(a.origin);this.direction.copy(a.direction);return this},
at:function(a,b){void 0===b&&(console.warn("THREE.Ray: .at() target is now required"),b=new n);return b.copy(this.direction).multiplyScalar(a).add(this.origin)},lookAt:function(a){this.direction.copy(a).sub(this.origin).normalize();return this},recast:function(a){this.origin.copy(this.at(a,Bb));return this},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),b=new n);b.subVectors(a,this.origin);a=b.dot(this.direction);return 0>a?
b.copy(this.origin):b.copy(this.direction).multiplyScalar(a).add(this.origin)},distanceToPoint:function(a){return Math.sqrt(this.distanceSqToPoint(a))},distanceSqToPoint:function(a){var b=Bb.subVectors(a,this.origin).dot(this.direction);if(0>b)return this.origin.distanceToSquared(a);Bb.copy(this.direction).multiplyScalar(b).add(this.origin);return Bb.distanceToSquared(a)},distanceSqToSegment:function(a,b,c,d){ah.copy(a).add(b).multiplyScalar(.5);Hf.copy(b).sub(a).normalize();Qb.copy(this.origin).sub(ah);
var e=.5*a.distanceTo(b),f=-this.direction.dot(Hf),g=Qb.dot(this.direction),k=-Qb.dot(Hf),l=Qb.lengthSq(),h=Math.abs(1-f*f);if(0<h){a=f*k-g;b=f*g-k;var n=e*h;0<=a?b>=-n?b<=n?(e=1/h,a*=e,b*=e,f=a*(a+f*b+2*g)+b*(f*a+b+2*k)+l):(b=e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l):(b=-e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l):b<=-n?(a=Math.max(0,-(-f*e+g)),b=0<a?-e:Math.min(Math.max(-e,-k),e),f=-a*a+b*(b+2*k)+l):b<=n?(a=0,b=Math.min(Math.max(-e,-k),e),f=b*(b+2*k)+l):(a=Math.max(0,-(f*e+g)),b=0<a?e:Math.min(Math.max(-e,
-k),e),f=-a*a+b*(b+2*k)+l)}else b=0<f?-e:e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l;c&&c.copy(this.direction).multiplyScalar(a).add(this.origin);d&&d.copy(Hf).multiplyScalar(b).add(ah);return f},intersectSphere:function(a,b){Bb.subVectors(a.center,this.origin);var c=Bb.dot(this.direction),d=Bb.dot(Bb)-c*c;a=a.radius*a.radius;if(d>a)return null;a=Math.sqrt(a-d);d=c-a;c+=a;return 0>d&&0>c?null:0>d?this.at(c,b):this.at(d,b)},intersectsSphere:function(a){return this.distanceSqToPoint(a.center)<=a.radius*
a.radius},distanceToPlane:function(a){var b=a.normal.dot(this.direction);if(0===b)return 0===a.distanceToPoint(this.origin)?0:null;a=-(this.origin.dot(a.normal)+a.constant)/b;return 0<=a?a:null},intersectPlane:function(a,b){a=this.distanceToPlane(a);return null===a?null:this.at(a,b)},intersectsPlane:function(a){var b=a.distanceToPoint(this.origin);return 0===b||0>a.normal.dot(this.direction)*b?!0:!1},intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,
f=this.origin;if(0<=c){var g=(a.min.x-f.x)*c;c*=a.max.x-f.x}else g=(a.max.x-f.x)*c,c*=a.min.x-f.x;if(0<=d){var k=(a.min.y-f.y)*d;d*=a.max.y-f.y}else k=(a.max.y-f.y)*d,d*=a.min.y-f.y;if(g>d||k>c)return null;if(k>g||g!==g)g=k;if(d<c||c!==c)c=d;0<=e?(k=(a.min.z-f.z)*e,a=(a.max.z-f.z)*e):(k=(a.max.z-f.z)*e,a=(a.min.z-f.z)*e);if(g>a||k>c)return null;if(k>g||g!==g)g=k;if(a<c||c!==c)c=a;return 0>c?null:this.at(0<=g?g:c,b)},intersectsBox:function(a){return null!==this.intersectBox(a,Bb)},intersectTriangle:function(a,
b,c,d,e){bh.subVectors(b,a);If.subVectors(c,a);ch.crossVectors(bh,If);b=this.direction.dot(ch);if(0<b){if(d)return null;d=1}else if(0>b)d=-1,b=-b;else return null;Qb.subVectors(this.origin,a);a=d*this.direction.dot(If.crossVectors(Qb,If));if(0>a)return null;c=d*this.direction.dot(bh.cross(Qb));if(0>c||a+c>b)return null;a=-d*Qb.dot(ch);return 0>a?null:this.at(a/b,e)},applyMatrix4:function(a){this.origin.applyMatrix4(a);this.direction.transformDirection(a);return this},equals:function(a){return a.origin.equals(this.origin)&&
a.direction.equals(this.direction)}});var dh=new n,Vk=new n,Wk=new za;Object.assign(Ta.prototype,{isPlane:!0,set:function(a,b){this.normal.copy(a);this.constant=b;return this},setComponents:function(a,b,c,d){this.normal.set(a,b,c);this.constant=d;return this},setFromNormalAndCoplanarPoint:function(a,b){this.normal.copy(a);this.constant=-b.dot(this.normal);return this},setFromCoplanarPoints:function(a,b,c){b=dh.subVectors(c,b).cross(Vk.subVectors(a,b)).normalize();this.setFromNormalAndCoplanarPoint(b,
a);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.normal.copy(a.normal);this.constant=a.constant;return this},normalize:function(){var a=1/this.normal.length();this.normal.multiplyScalar(a);this.constant*=a;return this},negate:function(){this.constant*=-1;this.normal.negate();return this},distanceToPoint:function(a){return this.normal.dot(a)+this.constant},distanceToSphere:function(a){return this.distanceToPoint(a.center)-a.radius},projectPoint:function(a,
b){void 0===b&&(console.warn("THREE.Plane: .projectPoint() target is now required"),b=new n);return b.copy(this.normal).multiplyScalar(-this.distanceToPoint(a)).add(a)},intersectLine:function(a,b){void 0===b&&(console.warn("THREE.Plane: .intersectLine() target is now required"),b=new n);var c=a.delta(dh),d=this.normal.dot(c);if(0===d){if(0===this.distanceToPoint(a.start))return b.copy(a.start)}else if(d=-(a.start.dot(this.normal)+this.constant)/d,!(0>d||1<d))return b.copy(c).multiplyScalar(d).add(a.start)},
intersectsLine:function(a){var b=this.distanceToPoint(a.start);a=this.distanceToPoint(a.end);return 0>b&&0<a||0>a&&0<b},intersectsBox:function(a){return a.intersectsPlane(this)},intersectsSphere:function(a){return a.intersectsPlane(this)},coplanarPoint:function(a){void 0===a&&(console.warn("THREE.Plane: .coplanarPoint() target is now required"),a=new n);return a.copy(this.normal).multiplyScalar(-this.constant)},applyMatrix4:function(a,b){b=b||Wk.getNormalMatrix(a);a=this.coplanarPoint(dh).applyMatrix4(a);
b=this.normal.applyMatrix3(b).normalize();this.constant=-a.dot(b);return this},translate:function(a){this.constant-=a.dot(this.normal);return this},equals:function(a){return a.normal.equals(this.normal)&&a.constant===this.constant}});var bb=new n,Cb=new n,eh=new n,Db=new n,sd=new n,td=new n,Li=new n,fh=new n,gh=new n,hh=new n;Object.assign(ma,{getNormal:function(a,b,c,d){void 0===d&&(console.warn("THREE.Triangle: .getNormal() target is now required"),d=new n);d.subVectors(c,b);bb.subVectors(a,b);
d.cross(bb);a=d.lengthSq();return 0<a?d.multiplyScalar(1/Math.sqrt(a)):d.set(0,0,0)},getBarycoord:function(a,b,c,d,e){bb.subVectors(d,b);Cb.subVectors(c,b);eh.subVectors(a,b);a=bb.dot(bb);b=bb.dot(Cb);c=bb.dot(eh);var f=Cb.dot(Cb);d=Cb.dot(eh);var g=a*f-b*b;void 0===e&&(console.warn("THREE.Triangle: .getBarycoord() target is now required"),e=new n);if(0===g)return e.set(-2,-1,-1);g=1/g;f=(f*c-b*d)*g;a=(a*d-b*c)*g;return e.set(1-f-a,a,f)},containsPoint:function(a,b,c,d){ma.getBarycoord(a,b,c,d,Db);
return 0<=Db.x&&0<=Db.y&&1>=Db.x+Db.y},getUV:function(a,b,c,d,e,f,g,k){this.getBarycoord(a,b,c,d,Db);k.set(0,0);k.addScaledVector(e,Db.x);k.addScaledVector(f,Db.y);k.addScaledVector(g,Db.z);return k},isFrontFacing:function(a,b,c,d){bb.subVectors(c,b);Cb.subVectors(a,b);return 0>bb.cross(Cb).dot(d)?!0:!1}});Object.assign(ma.prototype,{set:function(a,b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this},setFromPointsAndIndices:function(a,b,c,d){this.a.copy(a[b]);this.b.copy(a[c]);this.c.copy(a[d]);
return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a.copy(a.a);this.b.copy(a.b);this.c.copy(a.c);return this},getArea:function(){bb.subVectors(this.c,this.b);Cb.subVectors(this.a,this.b);return.5*bb.cross(Cb).length()},getMidpoint:function(a){void 0===a&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),a=new n);return a.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(a){return ma.getNormal(this.a,this.b,
this.c,a)},getPlane:function(a){void 0===a&&(console.warn("THREE.Triangle: .getPlane() target is now required"),a=new Ta);return a.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(a,b){return ma.getBarycoord(a,this.a,this.b,this.c,b)},getUV:function(a,b,c,d,e){return ma.getUV(a,this.a,this.b,this.c,b,c,d,e)},containsPoint:function(a){return ma.containsPoint(a,this.a,this.b,this.c)},isFrontFacing:function(a){return ma.isFrontFacing(this.a,this.b,this.c,a)},intersectsBox:function(a){return a.intersectsTriangle(this)},
closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),b=new n);var c=this.a,d=this.b,e=this.c;sd.subVectors(d,c);td.subVectors(e,c);fh.subVectors(a,c);var f=sd.dot(fh),g=td.dot(fh);if(0>=f&&0>=g)return b.copy(c);gh.subVectors(a,d);var k=sd.dot(gh),l=td.dot(gh);if(0<=k&&l<=k)return b.copy(d);var h=f*l-k*g;if(0>=h&&0<=f&&0>=k)return d=f/(f-k),b.copy(c).addScaledVector(sd,d);hh.subVectors(a,e);a=sd.dot(hh);var v=td.dot(hh);if(0<=
v&&a<=v)return b.copy(e);f=a*g-f*v;if(0>=f&&0<=g&&0>=v)return h=g/(g-v),b.copy(c).addScaledVector(td,h);g=k*v-a*l;if(0>=g&&0<=l-k&&0<=a-v)return Li.subVectors(e,d),h=(l-k)/(l-k+(a-v)),b.copy(d).addScaledVector(Li,h);e=1/(g+f+h);d=f*e;h*=e;return b.copy(c).addScaledVector(sd,d).addScaledVector(td,h)},equals:function(a){return a.a.equals(this.a)&&a.b.equals(this.b)&&a.c.equals(this.c)}});var Mi={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},
Ca={h:0,s:0,l:0},Jf={h:0,s:0,l:0};Object.assign(y.prototype,{isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(a,b,c){a=O.euclideanModulo(a,1);b=O.clamp(b,
0,1);c=O.clamp(c,0,1);0===b?this.r=this.g=this.b=c:(b=.5>=c?c*(1+b):c+b-c*b,c=2*c-b,this.r=bg(c,b,a+1/3),this.g=bg(c,b,a),this.b=bg(c,b,a-1/3));return this},setStyle:function(a){function b(b){void 0!==b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+a+" will be ignored.")}var c;if(c=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(255,parseInt(c[1],
10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2],10))/100,this.b=Math.min(100,parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){d=parseFloat(c[1])/360;var e=parseInt(c[2],
10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2),16)/255,this;if(6===d)return this.r=parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}return a&&0<a.length?this.setColorName(a):this},
setColorName:function(a){var b=Mi[a];void 0!==b?this.setHex(b):console.warn("THREE.Color: Unknown color "+a);return this},clone:function(){return new this.constructor(this.r,this.g,this.b)},copy:function(a){this.r=a.r;this.g=a.g;this.b=a.b;return this},copyGammaToLinear:function(a,b){void 0===b&&(b=2);this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,b);return this},copyLinearToGamma:function(a,b){void 0===b&&(b=2);b=0<b?1/b:1;this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,
b);return this},convertGammaToLinear:function(a){this.copyGammaToLinear(this,a);return this},convertLinearToGamma:function(a){this.copyLinearToGamma(this,a);return this},copySRGBToLinear:function(a){this.r=cg(a.r);this.g=cg(a.g);this.b=cg(a.b);return this},copyLinearToSRGB:function(a){this.r=dg(a.r);this.g=dg(a.g);this.b=dg(a.b);return this},convertSRGBToLinear:function(){this.copySRGBToLinear(this);return this},convertLinearToSRGB:function(){this.copyLinearToSRGB(this);return this},getHex:function(){return 255*
this.r<<16^255*this.g<<8^255*this.b<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(a){void 0===a&&(console.warn("THREE.Color: .getHSL() target is now required"),a={h:0,s:0,l:0});var b=this.r,c=this.g,d=this.b,e=Math.max(b,c,d),f=Math.min(b,c,d),g,k=(f+e)/2;if(f===e)f=g=0;else{var l=e-f;f=.5>=k?l/(e+f):l/(2-e-f);switch(e){case b:g=(c-d)/l+(c<d?6:0);break;case c:g=(d-b)/l+2;break;case d:g=(b-c)/l+4}g/=6}a.h=g;a.s=f;a.l=k;return a},getStyle:function(){return"rgb("+
(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},offsetHSL:function(a,b,c){this.getHSL(Ca);Ca.h+=a;Ca.s+=b;Ca.l+=c;this.setHSL(Ca.h,Ca.s,Ca.l);return this},add:function(a){this.r+=a.r;this.g+=a.g;this.b+=a.b;return this},addColors:function(a,b){this.r=a.r+b.r;this.g=a.g+b.g;this.b=a.b+b.b;return this},addScalar:function(a){this.r+=a;this.g+=a;this.b+=a;return this},sub:function(a){this.r=Math.max(0,this.r-a.r);this.g=Math.max(0,this.g-a.g);this.b=Math.max(0,this.b-a.b);return this},multiply:function(a){this.r*=
a.r;this.g*=a.g;this.b*=a.b;return this},multiplyScalar:function(a){this.r*=a;this.g*=a;this.b*=a;return this},lerp:function(a,b){this.r+=(a.r-this.r)*b;this.g+=(a.g-this.g)*b;this.b+=(a.b-this.b)*b;return this},lerpHSL:function(a,b){this.getHSL(Ca);a.getHSL(Jf);a=O.lerp(Ca.h,Jf.h,b);var c=O.lerp(Ca.s,Jf.s,b);b=O.lerp(Ca.l,Jf.l,b);this.setHSL(a,c,b);return this},equals:function(a){return a.r===this.r&&a.g===this.g&&a.b===this.b},fromArray:function(a,b){void 0===b&&(b=0);this.r=a[b];this.g=a[b+1];
this.b=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.r;a[b+1]=this.g;a[b+2]=this.b;return a},toJSON:function(){return this.getHex()}});y.NAMES=Mi;Object.assign(Dc.prototype,{clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a=a.a;this.b=a.b;this.c=a.c;this.normal.copy(a.normal);this.color.copy(a.color);this.materialIndex=a.materialIndex;for(var b=0,c=a.vertexNormals.length;b<c;b++)this.vertexNormals[b]=a.vertexNormals[b].clone();
b=0;for(c=a.vertexColors.length;b<c;b++)this.vertexColors[b]=a.vertexColors[b].clone();return this}});var oj=0;L.prototype=Object.assign(Object.create(Fa.prototype),{constructor:L,isMaterial:!0,onBeforeCompile:function(){},setValues:function(a){if(void 0!==a)for(var b in a){var c=a[b];if(void 0===c)console.warn("THREE.Material: '"+b+"' parameter is undefined.");else if("shading"===b)console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=
1===c?!0:!1;else{var d=this[b];void 0===d?console.warn("THREE."+this.type+": '"+b+"' is not a property of this material."):d&&d.isColor?d.set(c):d&&d.isVector3&&c&&c.isVector3?d.copy(c):this[b]=c}}},toJSON:function(a){function b(a){var b=[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var c=void 0===a||"string"===typeof a;c&&(a={textures:{},images:{}});var d={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};d.uuid=this.uuid;d.type=this.type;""!==this.name&&(d.name=
this.name);this.color&&this.color.isColor&&(d.color=this.color.getHex());void 0!==this.roughness&&(d.roughness=this.roughness);void 0!==this.metalness&&(d.metalness=this.metalness);this.sheen&&this.sheen.isColor&&(d.sheen=this.sheen.getHex());this.emissive&&this.emissive.isColor&&(d.emissive=this.emissive.getHex());this.emissiveIntensity&&1!==this.emissiveIntensity&&(d.emissiveIntensity=this.emissiveIntensity);this.specular&&this.specular.isColor&&(d.specular=this.specular.getHex());void 0!==this.shininess&&
(d.shininess=this.shininess);void 0!==this.clearcoat&&(d.clearcoat=this.clearcoat);void 0!==this.clearcoatRoughness&&(d.clearcoatRoughness=this.clearcoatRoughness);this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(d.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(a).uuid,d.clearcoatNormalScale=this.clearcoatNormalScale.toArray());this.map&&this.map.isTexture&&(d.map=this.map.toJSON(a).uuid);this.matcap&&this.matcap.isTexture&&(d.matcap=this.matcap.toJSON(a).uuid);this.alphaMap&&this.alphaMap.isTexture&&
(d.alphaMap=this.alphaMap.toJSON(a).uuid);this.lightMap&&this.lightMap.isTexture&&(d.lightMap=this.lightMap.toJSON(a).uuid);this.aoMap&&this.aoMap.isTexture&&(d.aoMap=this.aoMap.toJSON(a).uuid,d.aoMapIntensity=this.aoMapIntensity);this.bumpMap&&this.bumpMap.isTexture&&(d.bumpMap=this.bumpMap.toJSON(a).uuid,d.bumpScale=this.bumpScale);this.normalMap&&this.normalMap.isTexture&&(d.normalMap=this.normalMap.toJSON(a).uuid,d.normalMapType=this.normalMapType,d.normalScale=this.normalScale.toArray());this.displacementMap&&
this.displacementMap.isTexture&&(d.displacementMap=this.displacementMap.toJSON(a).uuid,d.displacementScale=this.displacementScale,d.displacementBias=this.displacementBias);this.roughnessMap&&this.roughnessMap.isTexture&&(d.roughnessMap=this.roughnessMap.toJSON(a).uuid);this.metalnessMap&&this.metalnessMap.isTexture&&(d.metalnessMap=this.metalnessMap.toJSON(a).uuid);this.emissiveMap&&this.emissiveMap.isTexture&&(d.emissiveMap=this.emissiveMap.toJSON(a).uuid);this.specularMap&&this.specularMap.isTexture&&
(d.specularMap=this.specularMap.toJSON(a).uuid);this.envMap&&this.envMap.isTexture&&(d.envMap=this.envMap.toJSON(a).uuid,d.reflectivity=this.reflectivity,d.refractionRatio=this.refractionRatio,void 0!==this.combine&&(d.combine=this.combine),void 0!==this.envMapIntensity&&(d.envMapIntensity=this.envMapIntensity));this.gradientMap&&this.gradientMap.isTexture&&(d.gradientMap=this.gradientMap.toJSON(a).uuid);void 0!==this.size&&(d.size=this.size);void 0!==this.sizeAttenuation&&(d.sizeAttenuation=this.sizeAttenuation);
1!==this.blending&&(d.blending=this.blending);!0===this.flatShading&&(d.flatShading=this.flatShading);0!==this.side&&(d.side=this.side);0!==this.vertexColors&&(d.vertexColors=this.vertexColors);1>this.opacity&&(d.opacity=this.opacity);!0===this.transparent&&(d.transparent=this.transparent);d.depthFunc=this.depthFunc;d.depthTest=this.depthTest;d.depthWrite=this.depthWrite;d.stencilWrite=this.stencilWrite;d.stencilWriteMask=this.stencilWriteMask;d.stencilFunc=this.stencilFunc;d.stencilRef=this.stencilRef;
d.stencilFuncMask=this.stencilFuncMask;d.stencilFail=this.stencilFail;d.stencilZFail=this.stencilZFail;d.stencilZPass=this.stencilZPass;this.rotation&&0!==this.rotation&&(d.rotation=this.rotation);!0===this.polygonOffset&&(d.polygonOffset=!0);0!==this.polygonOffsetFactor&&(d.polygonOffsetFactor=this.polygonOffsetFactor);0!==this.polygonOffsetUnits&&(d.polygonOffsetUnits=this.polygonOffsetUnits);this.linewidth&&1!==this.linewidth&&(d.linewidth=this.linewidth);void 0!==this.dashSize&&(d.dashSize=this.dashSize);
void 0!==this.gapSize&&(d.gapSize=this.gapSize);void 0!==this.scale&&(d.scale=this.scale);!0===this.dithering&&(d.dithering=!0);0<this.alphaTest&&(d.alphaTest=this.alphaTest);!0===this.premultipliedAlpha&&(d.premultipliedAlpha=this.premultipliedAlpha);!0===this.wireframe&&(d.wireframe=this.wireframe);1<this.wireframeLinewidth&&(d.wireframeLinewidth=this.wireframeLinewidth);"round"!==this.wireframeLinecap&&(d.wireframeLinecap=this.wireframeLinecap);"round"!==this.wireframeLinejoin&&(d.wireframeLinejoin=
this.wireframeLinejoin);!0===this.morphTargets&&(d.morphTargets=!0);!0===this.morphNormals&&(d.morphNormals=!0);!0===this.skinning&&(d.skinning=!0);!1===this.visible&&(d.visible=!1);!1===this.toneMapped&&(d.toneMapped=!1);"{}"!==JSON.stringify(this.userData)&&(d.userData=this.userData);c&&(c=b(a.textures),a=b(a.images),0<c.length&&(d.textures=c),0<a.length&&(d.images=a));return d},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.fog=a.fog;this.blending=
a.blending;this.side=a.side;this.flatShading=a.flatShading;this.vertexTangents=a.vertexTangents;this.vertexColors=a.vertexColors;this.opacity=a.opacity;this.transparent=a.transparent;this.blendSrc=a.blendSrc;this.blendDst=a.blendDst;this.blendEquation=a.blendEquation;this.blendSrcAlpha=a.blendSrcAlpha;this.blendDstAlpha=a.blendDstAlpha;this.blendEquationAlpha=a.blendEquationAlpha;this.depthFunc=a.depthFunc;this.depthTest=a.depthTest;this.depthWrite=a.depthWrite;this.stencilWriteMask=a.stencilWriteMask;
this.stencilFunc=a.stencilFunc;this.stencilRef=a.stencilRef;this.stencilFuncMask=a.stencilFuncMask;this.stencilFail=a.stencilFail;this.stencilZFail=a.stencilZFail;this.stencilZPass=a.stencilZPass;this.stencilWrite=a.stencilWrite;var b=a.clippingPlanes,c=null;if(null!==b){var d=b.length;c=Array(d);for(var e=0;e!==d;++e)c[e]=b[e].clone()}this.clippingPlanes=c;this.clipIntersection=a.clipIntersection;this.clipShadows=a.clipShadows;this.shadowSide=a.shadowSide;this.colorWrite=a.colorWrite;this.precision=
a.precision;this.polygonOffset=a.polygonOffset;this.polygonOffsetFactor=a.polygonOffsetFactor;this.polygonOffsetUnits=a.polygonOffsetUnits;this.dithering=a.dithering;this.alphaTest=a.alphaTest;this.premultipliedAlpha=a.premultipliedAlpha;this.visible=a.visible;this.toneMapped=a.toneMapped;this.userData=JSON.parse(JSON.stringify(a.userData));return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Object.defineProperty(L.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});
Oa.prototype=Object.create(L.prototype);Oa.prototype.constructor=Oa;Oa.prototype.isMeshBasicMaterial=!0;Oa.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=
a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;return this};var X=new n;Object.defineProperty(K.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(K.prototype,{isBufferAttribute:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.name=a.name;this.array=new a.array.constructor(a.array);
this.itemSize=a.itemSize;this.count=a.count;this.normalized=a.normalized;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.itemSize;c*=b.itemSize;for(var d=0,e=this.itemSize;d<e;d++)this.array[a+d]=b.array[c+d];return this},copyArray:function(a){this.array.set(a);return this},copyColorsArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",d),f=new y);b[c++]=f.r;b[c++]=f.g;b[c++]=
f.b}return this},copyVector2sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",d),f=new x);b[c++]=f.x;b[c++]=f.y}return this},copyVector3sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",d),f=new n);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z}return this},copyVector4sArray:function(a){for(var b=
this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",d),f=new S);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z;b[c++]=f.w}return this},applyMatrix3:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyMatrix3(a),this.setXYZ(b,X.x,X.y,X.z);return this},applyMatrix4:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyMatrix4(a),
this.setXYZ(b,X.x,X.y,X.z);return this},applyNormalMatrix:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyNormalMatrix(a),this.setXYZ(b,X.x,X.y,X.z);return this},transformDirection:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.transformDirection(a),this.setXYZ(b,X.x,X.y,X.z);return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},getX:function(a){return this.array[a*
this.itemSize]},setX:function(a,b){this.array[a*this.itemSize]=b;return this},getY:function(a){return this.array[a*this.itemSize+1]},setY:function(a,b){this.array[a*this.itemSize+1]=b;return this},getZ:function(a){return this.array[a*this.itemSize+2]},setZ:function(a,b){this.array[a*this.itemSize+2]=b;return this},getW:function(a){return this.array[a*this.itemSize+3]},setW:function(a,b){this.array[a*this.itemSize+3]=b;return this},setXY:function(a,b,c){a*=this.itemSize;this.array[a+0]=b;this.array[a+
1]=c;return this},setXYZ:function(a,b,c,d){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=d;return this},setXYZW:function(a,b,c,d,e){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=d;this.array[a+3]=e;return this},onUpload:function(a){this.onUploadCallback=a;return this},clone:function(){return(new this.constructor(this.array,this.itemSize)).copy(this)},toJSON:function(){return{itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),
normalized:this.normalized}}});Ad.prototype=Object.create(K.prototype);Ad.prototype.constructor=Ad;Bd.prototype=Object.create(K.prototype);Bd.prototype.constructor=Bd;Cd.prototype=Object.create(K.prototype);Cd.prototype.constructor=Cd;Dd.prototype=Object.create(K.prototype);Dd.prototype.constructor=Dd;Xb.prototype=Object.create(K.prototype);Xb.prototype.constructor=Xb;Ed.prototype=Object.create(K.prototype);Ed.prototype.constructor=Ed;Yb.prototype=Object.create(K.prototype);Yb.prototype.constructor=
Yb;C.prototype=Object.create(K.prototype);C.prototype.constructor=C;Fd.prototype=Object.create(K.prototype);Fd.prototype.constructor=Fd;Object.assign(vh.prototype,{computeGroups:function(a){var b=[],c=void 0;a=a.faces;for(var d=0;d<a.length;d++){var e=a[d];if(e.materialIndex!==c){c=e.materialIndex;void 0!==f&&(f.count=3*d-f.start,b.push(f));var f={start:3*d,materialIndex:c}}}void 0!==f&&(f.count=3*d-f.start,b.push(f));this.groups=b},fromGeometry:function(a){var b=a.faces,c=a.vertices,d=a.faceVertexUvs,
e=d[0]&&0<d[0].length,f=d[1]&&0<d[1].length,g=a.morphTargets,k=g.length;if(0<k){var l=[];for(var h=0;h<k;h++)l[h]={name:g[h].name,data:[]};this.morphTargets.position=l}var n=a.morphNormals,p=n.length;if(0<p){var q=[];for(h=0;h<p;h++)q[h]={name:n[h].name,data:[]};this.morphTargets.normal=q}var t=a.skinIndices,r=a.skinWeights,u=t.length===c.length,z=r.length===c.length;0<c.length&&0===b.length&&console.error("THREE.DirectGeometry: Faceless geometries are not supported.");for(h=0;h<b.length;h++){var w=
b[h];this.vertices.push(c[w.a],c[w.b],c[w.c]);var B=w.vertexNormals;3===B.length?this.normals.push(B[0],B[1],B[2]):(B=w.normal,this.normals.push(B,B,B));B=w.vertexColors;3===B.length?this.colors.push(B[0],B[1],B[2]):(B=w.color,this.colors.push(B,B,B));!0===e&&(B=d[0][h],void 0!==B?this.uvs.push(B[0],B[1],B[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",h),this.uvs.push(new x,new x,new x)));!0===f&&(B=d[1][h],void 0!==B?this.uvs2.push(B[0],B[1],B[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",
h),this.uvs2.push(new x,new x,new x)));for(B=0;B<k;B++){var y=g[B].vertices;l[B].data.push(y[w.a],y[w.b],y[w.c])}for(B=0;B<p;B++)y=n[B].vertexNormals[h],q[B].data.push(y.a,y.b,y.c);u&&this.skinIndices.push(t[w.a],t[w.b],t[w.c]);z&&this.skinWeights.push(r[w.a],r[w.b],r[w.c])}this.computeGroups(a);this.verticesNeedUpdate=a.verticesNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;
null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this}});var pj=1,nb=new P,ih=new D,ud=new n,Na=new Sa,De=new Sa,V=new n;G.prototype=Object.assign(Object.create(Fa.prototype),{constructor:G,isBufferGeometry:!0,getIndex:function(){return this.index},setIndex:function(a){Array.isArray(a)?this.index=new (65535<wh(a)?Yb:Xb)(a,1):this.index=a},getAttribute:function(a){return this.attributes[a]},setAttribute:function(a,
b){this.attributes[a]=b;return this},deleteAttribute:function(a){delete this.attributes[a];return this},addGroup:function(a,b,c){this.groups.push({start:a,count:b,materialIndex:void 0!==c?c:0})},clearGroups:function(){this.groups=[]},setDrawRange:function(a,b){this.drawRange.start=a;this.drawRange.count=b},applyMatrix:function(a){var b=this.attributes.position;void 0!==b&&(b.applyMatrix4(a),b.needsUpdate=!0);b=this.attributes.normal;if(void 0!==b){var c=(new za).getNormalMatrix(a);b.applyNormalMatrix(c);
b.needsUpdate=!0}b=this.attributes.tangent;void 0!==b&&(b.transformDirection(a),b.needsUpdate=!0);null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();return this},rotateX:function(a){nb.makeRotationX(a);this.applyMatrix(nb);return this},rotateY:function(a){nb.makeRotationY(a);this.applyMatrix(nb);return this},rotateZ:function(a){nb.makeRotationZ(a);this.applyMatrix(nb);return this},translate:function(a,b,c){nb.makeTranslation(a,b,c);this.applyMatrix(nb);
return this},scale:function(a,b,c){nb.makeScale(a,b,c);this.applyMatrix(nb);return this},lookAt:function(a){ih.lookAt(a);ih.updateMatrix();this.applyMatrix(ih.matrix);return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(ud).negate();this.translate(ud.x,ud.y,ud.z);return this},setFromObject:function(a){var b=a.geometry;if(a.isPoints||a.isLine){a=new C(3*b.vertices.length,3);var c=new C(3*b.colors.length,3);this.setAttribute("position",a.copyVector3sArray(b.vertices));
this.setAttribute("color",c.copyColorsArray(b.colors));b.lineDistances&&b.lineDistances.length===b.vertices.length&&(a=new C(b.lineDistances.length,1),this.setAttribute("lineDistance",a.copyArray(b.lineDistances)));null!==b.boundingSphere&&(this.boundingSphere=b.boundingSphere.clone());null!==b.boundingBox&&(this.boundingBox=b.boundingBox.clone())}else a.isMesh&&b&&b.isGeometry&&this.fromGeometry(b);return this},setFromPoints:function(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c];b.push(e.x,
e.y,e.z||0)}this.setAttribute("position",new C(b,3));return this},updateFromObject:function(a){var b=a.geometry;if(a.isMesh){var c=b.__directGeometry;!0===b.elementsNeedUpdate&&(c=void 0,b.elementsNeedUpdate=!1);if(void 0===c)return this.fromGeometry(b);c.verticesNeedUpdate=b.verticesNeedUpdate;c.normalsNeedUpdate=b.normalsNeedUpdate;c.colorsNeedUpdate=b.colorsNeedUpdate;c.uvsNeedUpdate=b.uvsNeedUpdate;c.groupsNeedUpdate=b.groupsNeedUpdate;b.verticesNeedUpdate=!1;b.normalsNeedUpdate=!1;b.colorsNeedUpdate=
!1;b.uvsNeedUpdate=!1;b.groupsNeedUpdate=!1;b=c}!0===b.verticesNeedUpdate&&(c=this.attributes.position,void 0!==c&&(c.copyVector3sArray(b.vertices),c.needsUpdate=!0),b.verticesNeedUpdate=!1);!0===b.normalsNeedUpdate&&(c=this.attributes.normal,void 0!==c&&(c.copyVector3sArray(b.normals),c.needsUpdate=!0),b.normalsNeedUpdate=!1);!0===b.colorsNeedUpdate&&(c=this.attributes.color,void 0!==c&&(c.copyColorsArray(b.colors),c.needsUpdate=!0),b.colorsNeedUpdate=!1);b.uvsNeedUpdate&&(c=this.attributes.uv,void 0!==
c&&(c.copyVector2sArray(b.uvs),c.needsUpdate=!0),b.uvsNeedUpdate=!1);b.lineDistancesNeedUpdate&&(c=this.attributes.lineDistance,void 0!==c&&(c.copyArray(b.lineDistances),c.needsUpdate=!0),b.lineDistancesNeedUpdate=!1);b.groupsNeedUpdate&&(b.computeGroups(a.geometry),this.groups=b.groups,b.groupsNeedUpdate=!1);return this},fromGeometry:function(a){a.__directGeometry=(new vh).fromGeometry(a);return this.fromDirectGeometry(a.__directGeometry)},fromDirectGeometry:function(a){var b=new Float32Array(3*
a.vertices.length);this.setAttribute("position",(new K(b,3)).copyVector3sArray(a.vertices));0<a.normals.length&&(b=new Float32Array(3*a.normals.length),this.setAttribute("normal",(new K(b,3)).copyVector3sArray(a.normals)));0<a.colors.length&&(b=new Float32Array(3*a.colors.length),this.setAttribute("color",(new K(b,3)).copyColorsArray(a.colors)));0<a.uvs.length&&(b=new Float32Array(2*a.uvs.length),this.setAttribute("uv",(new K(b,2)).copyVector2sArray(a.uvs)));0<a.uvs2.length&&(b=new Float32Array(2*
a.uvs2.length),this.setAttribute("uv2",(new K(b,2)).copyVector2sArray(a.uvs2)));this.groups=a.groups;for(var c in a.morphTargets){b=[];for(var d=a.morphTargets[c],e=0,f=d.length;e<f;e++){var g=d[e],k=new C(3*g.data.length,3);k.name=g.name;b.push(k.copyVector3sArray(g.data))}this.morphAttributes[c]=b}0<a.skinIndices.length&&(c=new C(4*a.skinIndices.length,4),this.setAttribute("skinIndex",c.copyVector4sArray(a.skinIndices)));0<a.skinWeights.length&&(c=new C(4*a.skinWeights.length,4),this.setAttribute("skinWeight",
c.copyVector4sArray(a.skinWeights)));null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Sa);var a=this.attributes.position,b=this.morphAttributes.position;if(void 0!==a){if(this.boundingBox.setFromBufferAttribute(a),b){a=0;for(var c=b.length;a<c;a++)Na.setFromBufferAttribute(b[a]),this.morphTargetsRelative?(V.addVectors(this.boundingBox.min,
Na.min),this.boundingBox.expandByPoint(V),V.addVectors(this.boundingBox.max,Na.max),this.boundingBox.expandByPoint(V)):(this.boundingBox.expandByPoint(Na.min),this.boundingBox.expandByPoint(Na.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:function(){null===
this.boundingSphere&&(this.boundingSphere=new qb);var a=this.attributes.position,b=this.morphAttributes.position;if(a){var c=this.boundingSphere.center;Na.setFromBufferAttribute(a);if(b)for(var d=0,e=b.length;d<e;d++){var f=b[d];De.setFromBufferAttribute(f);this.morphTargetsRelative?(V.addVectors(Na.min,De.min),Na.expandByPoint(V),V.addVectors(Na.max,De.max),Na.expandByPoint(V)):(Na.expandByPoint(De.min),Na.expandByPoint(De.max))}Na.getCenter(c);var g=0;d=0;for(e=a.count;d<e;d++)V.fromBufferAttribute(a,
d),g=Math.max(g,c.distanceToSquared(V));if(b)for(d=0,e=b.length;d<e;d++){f=b[d];for(var k=this.morphTargetsRelative,l=0,h=f.count;l<h;l++)V.fromBufferAttribute(f,l),k&&(ud.fromBufferAttribute(a,l),V.add(ud)),g=Math.max(g,c.distanceToSquared(V))}this.boundingSphere.radius=Math.sqrt(g);isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}},computeFaceNormals:function(){},
computeVertexNormals:function(){var a=this.index,b=this.attributes;if(b.position){var c=b.position.array;if(void 0===b.normal)this.setAttribute("normal",new K(new Float32Array(c.length),3));else for(var d=b.normal.array,e=0,f=d.length;e<f;e++)d[e]=0;d=b.normal.array;var g=new n,k=new n,l=new n,h=new n,v=new n;if(a){var p=a.array;e=0;for(f=a.count;e<f;e+=3){a=3*p[e+0];var q=3*p[e+1];var t=3*p[e+2];g.fromArray(c,a);k.fromArray(c,q);l.fromArray(c,t);h.subVectors(l,k);v.subVectors(g,k);h.cross(v);d[a]+=
h.x;d[a+1]+=h.y;d[a+2]+=h.z;d[q]+=h.x;d[q+1]+=h.y;d[q+2]+=h.z;d[t]+=h.x;d[t+1]+=h.y;d[t+2]+=h.z}}else for(e=0,f=c.length;e<f;e+=9)g.fromArray(c,e),k.fromArray(c,e+3),l.fromArray(c,e+6),h.subVectors(l,k),v.subVectors(g,k),h.cross(v),d[e]=h.x,d[e+1]=h.y,d[e+2]=h.z,d[e+3]=h.x,d[e+4]=h.y,d[e+5]=h.z,d[e+6]=h.x,d[e+7]=h.y,d[e+8]=h.z;this.normalizeNormals();b.normal.needsUpdate=!0}},merge:function(a,b){if(a&&a.isBufferGeometry){void 0===b&&(b=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));
var c=this.attributes,d;for(d in c)if(void 0!==a.attributes[d]){var e=c[d].array,f=a.attributes[d],g=f.array,k=f.itemSize*b;f=Math.min(g.length,e.length-k);for(var l=0;l<f;l++,k++)e[k]=g[l]}return this}console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",a)},normalizeNormals:function(){for(var a=this.attributes.normal,b=0,c=a.count;b<c;b++)V.x=a.getX(b),V.y=a.getY(b),V.z=a.getZ(b),V.normalize(),a.setXYZ(b,V.x,V.y,V.z)},toNonIndexed:function(){function a(a,
b){var c=a.array;a=a.itemSize;for(var d=new c.constructor(b.length*a),e,f=0,g=0,k=b.length;g<k;g++){e=b[g]*a;for(var l=0;l<a;l++)d[f++]=c[e++]}return new K(d,a)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): Geometry is already non-indexed."),this;var b=new G,c=this.index.array,d=this.attributes,e;for(e in d){var f=d[e];f=a(f,c);b.setAttribute(e,f)}var g=this.morphAttributes;for(e in g){var k=[],l=g[e];d=0;for(var h=l.length;d<h;d++)f=l[d],f=a(f,c),k.push(f);b.morphAttributes[e]=
k}b.morphTargetsRelative=this.morphTargetsRelative;c=this.groups;d=0;for(e=c.length;d<e;d++)f=c[d],b.addGroup(f.start,f.count,f.materialIndex);return b},toJSON:function(){var a={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};a.uuid=this.uuid;a.type=this.type;""!==this.name&&(a.name=this.name);0<Object.keys(this.userData).length&&(a.userData=this.userData);if(void 0!==this.parameters){var b=this.parameters;for(h in b)void 0!==b[h]&&(a[h]=b[h]);return a}a.data={attributes:{}};
b=this.index;null!==b&&(a.data.index={type:b.array.constructor.name,array:Array.prototype.slice.call(b.array)});var c=this.attributes;for(h in c){b=c[h];var d=b.toJSON();""!==b.name&&(d.name=b.name);a.data.attributes[h]=d}c={};var e=!1;for(h in this.morphAttributes){for(var f=this.morphAttributes[h],g=[],k=0,l=f.length;k<l;k++)b=f[k],d=b.toJSON(),""!==b.name&&(d.name=b.name),g.push(d);0<g.length&&(c[h]=g,e=!0)}e&&(a.data.morphAttributes=c,a.data.morphTargetsRelative=this.morphTargetsRelative);var h=
this.groups;0<h.length&&(a.data.groups=JSON.parse(JSON.stringify(h)));h=this.boundingSphere;null!==h&&(a.data.boundingSphere={center:h.center.toArray(),radius:h.radius});return a},clone:function(){return(new G).copy(this)},copy:function(a){var b;this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingSphere=this.boundingBox=null;this.name=a.name;var c=a.index;null!==c&&this.setIndex(c.clone());c=a.attributes;for(g in c)this.setAttribute(g,c[g].clone());var d=a.morphAttributes;
for(g in d){var e=[],f=d[g];c=0;for(b=f.length;c<b;c++)e.push(f[c].clone());this.morphAttributes[g]=e}this.morphTargetsRelative=a.morphTargetsRelative;var g=a.groups;c=0;for(b=g.length;c<b;c++)d=g[c],this.addGroup(d.start,d.count,d.materialIndex);g=a.boundingBox;null!==g&&(this.boundingBox=g.clone());g=a.boundingSphere;null!==g&&(this.boundingSphere=g.clone());this.drawRange.start=a.drawRange.start;this.drawRange.count=a.drawRange.count;this.userData=a.userData;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});
var Ni=new P,vc=new Wb,jh=new qb,Zb=new n,$b=new n,ac=new n,eg=new n,fg=new n,gg=new n,Le=new n,Me=new n,Ne=new n,Ec=new x,Fc=new x,Gc=new x,Gd=new n,Je=new n;ca.prototype=Object.assign(Object.create(D.prototype),{constructor:ca,isMesh:!0,copy:function(a){D.prototype.copy.call(this,a);void 0!==a.morphTargetInfluences&&(this.morphTargetInfluences=a.morphTargetInfluences.slice());void 0!==a.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},a.morphTargetDictionary));return this},updateMorphTargets:function(){var a=
this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length){var c=a[b[0]];if(void 0!==c)for(this.morphTargetInfluences=[],this.morphTargetDictionary={},a=0,b=c.length;a<b;a++){var d=c[a].name||String(a);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=a}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")},raycast:function(a,b){var c=this.geometry,
d=this.material,e=this.matrixWorld;if(void 0!==d&&(null===c.boundingSphere&&c.computeBoundingSphere(),jh.copy(c.boundingSphere),jh.applyMatrix4(e),!1!==a.ray.intersectsSphere(jh)&&(Ni.getInverse(e),vc.copy(a.ray).applyMatrix4(Ni),null===c.boundingBox||!1!==vc.intersectsBox(c.boundingBox))))if(c.isBufferGeometry){var f=c.index;e=c.attributes.position;var g=c.morphAttributes.position,k=c.morphTargetsRelative,l=c.attributes.uv,h=c.attributes.uv2,n=c.groups,p=c.drawRange,q,t;if(null!==f)if(Array.isArray(d)){var r=
0;for(q=n.length;r<q;r++){var u=n[r];var z=d[u.materialIndex];var w=Math.max(u.start,p.start);for(t=c=Math.min(u.start+u.count,p.start+p.count);w<t;w+=3){c=f.getX(w);var B=f.getX(w+1);var y=f.getX(w+2);if(c=Ke(this,z,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(w/3),c.face.materialIndex=u.materialIndex,b.push(c)}}}else for(w=Math.max(0,p.start),c=Math.min(f.count,p.start+p.count),r=w,q=c;r<q;r+=3){if(c=f.getX(r),B=f.getX(r+1),y=f.getX(r+2),c=Ke(this,d,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(r/
3),b.push(c)}else if(void 0!==e)if(Array.isArray(d))for(r=0,q=n.length;r<q;r++)for(u=n[r],z=d[u.materialIndex],w=Math.max(u.start,p.start),t=c=Math.min(u.start+u.count,p.start+p.count);w<t;w+=3){if(c=w,B=w+1,y=w+2,c=Ke(this,z,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(w/3),c.face.materialIndex=u.materialIndex,b.push(c)}else for(w=Math.max(0,p.start),c=Math.min(e.count,p.start+p.count),r=w,q=c;r<q;r+=3)if(c=r,B=r+1,y=r+2,c=Ke(this,d,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(r/3),b.push(c)}else if(c.isGeometry)for(e=
Array.isArray(d),g=c.vertices,k=c.faces,c=c.faceVertexUvs[0],0<c.length&&(f=c),p=0,r=k.length;p<r;p++)if(q=k[p],c=e?d[q.materialIndex]:d,void 0!==c&&(l=g[q.a],h=g[q.b],n=g[q.c],c=xh(this,c,a,vc,l,h,n,Gd)))f&&f[p]&&(u=f[p],Ec.copy(u[0]),Fc.copy(u[1]),Gc.copy(u[2]),c.uv=ma.getUV(Gd,l,h,n,Ec,Fc,Gc,new x)),c.face=q,c.faceIndex=p,b.push(c)},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var qj=0,ob=new P,kh=new D,Kf=new n;M.prototype=Object.assign(Object.create(Fa.prototype),
{constructor:M,isGeometry:!0,applyMatrix:function(a){for(var b=(new za).getNormalMatrix(a),c=0,d=this.vertices.length;c<d;c++)this.vertices[c].applyMatrix4(a);c=0;for(d=this.faces.length;c<d;c++){a=this.faces[c];a.normal.applyMatrix3(b).normalize();for(var e=0,f=a.vertexNormals.length;e<f;e++)a.vertexNormals[e].applyMatrix3(b).normalize()}null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();this.normalsNeedUpdate=this.verticesNeedUpdate=!0;return this},
rotateX:function(a){ob.makeRotationX(a);this.applyMatrix(ob);return this},rotateY:function(a){ob.makeRotationY(a);this.applyMatrix(ob);return this},rotateZ:function(a){ob.makeRotationZ(a);this.applyMatrix(ob);return this},translate:function(a,b,c){ob.makeTranslation(a,b,c);this.applyMatrix(ob);return this},scale:function(a,b,c){ob.makeScale(a,b,c);this.applyMatrix(ob);return this},lookAt:function(a){kh.lookAt(a);kh.updateMatrix();this.applyMatrix(kh.matrix);return this},fromBufferGeometry:function(a){function b(a,
b,d,e){var f=void 0===k?[]:[c.colors[a].clone(),c.colors[b].clone(),c.colors[d].clone()],m=void 0===g?[]:[(new n).fromArray(g,3*a),(new n).fromArray(g,3*b),(new n).fromArray(g,3*d)];e=new Dc(a,b,d,m,f,e);c.faces.push(e);void 0!==l&&c.faceVertexUvs[0].push([(new x).fromArray(l,2*a),(new x).fromArray(l,2*b),(new x).fromArray(l,2*d)]);void 0!==h&&c.faceVertexUvs[1].push([(new x).fromArray(h,2*a),(new x).fromArray(h,2*b),(new x).fromArray(h,2*d)])}var c=this,d=null!==a.index?a.index.array:void 0,e=a.attributes;
if(void 0===e.position)return console.error("THREE.Geometry.fromBufferGeometry(): Position attribute required for conversion."),this;var f=e.position.array,g=void 0!==e.normal?e.normal.array:void 0,k=void 0!==e.color?e.color.array:void 0,l=void 0!==e.uv?e.uv.array:void 0,h=void 0!==e.uv2?e.uv2.array:void 0;void 0!==h&&(this.faceVertexUvs[1]=[]);for(e=0;e<f.length;e+=3)c.vertices.push((new n).fromArray(f,e)),void 0!==k&&c.colors.push((new y).fromArray(k,e));var v=a.groups;if(0<v.length)for(e=0;e<v.length;e++){f=
v[e];var p=f.start,q=p;for(p+=f.count;q<p;q+=3)void 0!==d?b(d[q],d[q+1],d[q+2],f.materialIndex):b(q,q+1,q+2,f.materialIndex)}else if(void 0!==d)for(e=0;e<d.length;e+=3)b(d[e],d[e+1],d[e+2]);else for(e=0;e<f.length/3;e+=3)b(e,e+1,e+2);this.computeFaceNormals();null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(Kf).negate();this.translate(Kf.x,
Kf.y,Kf.z);return this},normalize:function(){this.computeBoundingSphere();var a=this.boundingSphere.center,b=this.boundingSphere.radius;b=0===b?1:1/b;var c=new P;c.set(b,0,0,-b*a.x,0,b,0,-b*a.y,0,0,b,-b*a.z,0,0,0,1);this.applyMatrix(c);return this},computeFaceNormals:function(){for(var a=new n,b=new n,c=0,d=this.faces.length;c<d;c++){var e=this.faces[c],f=this.vertices[e.a],g=this.vertices[e.b];a.subVectors(this.vertices[e.c],g);b.subVectors(f,g);a.cross(b);a.normalize();e.normal.copy(a)}},computeVertexNormals:function(a){void 0===
a&&(a=!0);var b;var c=Array(this.vertices.length);var d=0;for(b=this.vertices.length;d<b;d++)c[d]=new n;if(a){var e=new n,f=new n;a=0;for(d=this.faces.length;a<d;a++){b=this.faces[a];var g=this.vertices[b.a];var k=this.vertices[b.b];var l=this.vertices[b.c];e.subVectors(l,k);f.subVectors(g,k);e.cross(f);c[b.a].add(e);c[b.b].add(e);c[b.c].add(e)}}else for(this.computeFaceNormals(),a=0,d=this.faces.length;a<d;a++)b=this.faces[a],c[b.a].add(b.normal),c[b.b].add(b.normal),c[b.c].add(b.normal);d=0;for(b=
this.vertices.length;d<b;d++)c[d].normalize();a=0;for(d=this.faces.length;a<d;a++)b=this.faces[a],g=b.vertexNormals,3===g.length?(g[0].copy(c[b.a]),g[1].copy(c[b.b]),g[2].copy(c[b.c])):(g[0]=c[b.a].clone(),g[1]=c[b.b].clone(),g[2]=c[b.c].clone());0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeFlatVertexNormals:function(){var a;this.computeFaceNormals();var b=0;for(a=this.faces.length;b<a;b++){var c=this.faces[b];var d=c.vertexNormals;3===d.length?(d[0].copy(c.normal),d[1].copy(c.normal),
d[2].copy(c.normal)):(d[0]=c.normal.clone(),d[1]=c.normal.clone(),d[2]=c.normal.clone())}0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeMorphNormals:function(){var a,b;var c=0;for(b=this.faces.length;c<b;c++){var d=this.faces[c];d.__originalFaceNormal?d.__originalFaceNormal.copy(d.normal):d.__originalFaceNormal=d.normal.clone();d.__originalVertexNormals||(d.__originalVertexNormals=[]);var e=0;for(a=d.vertexNormals.length;e<a;e++)d.__originalVertexNormals[e]?d.__originalVertexNormals[e].copy(d.vertexNormals[e]):
d.__originalVertexNormals[e]=d.vertexNormals[e].clone()}var f=new M;f.faces=this.faces;e=0;for(a=this.morphTargets.length;e<a;e++){if(!this.morphNormals[e]){this.morphNormals[e]={};this.morphNormals[e].faceNormals=[];this.morphNormals[e].vertexNormals=[];d=this.morphNormals[e].faceNormals;var g=this.morphNormals[e].vertexNormals;c=0;for(b=this.faces.length;c<b;c++){var k=new n;var l={a:new n,b:new n,c:new n};d.push(k);g.push(l)}}g=this.morphNormals[e];f.vertices=this.morphTargets[e].vertices;f.computeFaceNormals();
f.computeVertexNormals();c=0;for(b=this.faces.length;c<b;c++)d=this.faces[c],k=g.faceNormals[c],l=g.vertexNormals[c],k.copy(d.normal),l.a.copy(d.vertexNormals[0]),l.b.copy(d.vertexNormals[1]),l.c.copy(d.vertexNormals[2])}c=0;for(b=this.faces.length;c<b;c++)d=this.faces[c],d.normal=d.__originalFaceNormal,d.vertexNormals=d.__originalVertexNormals},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Sa);this.boundingBox.setFromPoints(this.vertices)},computeBoundingSphere:function(){null===
this.boundingSphere&&(this.boundingSphere=new qb);this.boundingSphere.setFromPoints(this.vertices)},merge:function(a,b,c){if(a&&a.isGeometry){var d,e=this.vertices.length,f=this.vertices,g=a.vertices,k=this.faces,l=a.faces,h=this.colors,n=a.colors;void 0===c&&(c=0);void 0!==b&&(d=(new za).getNormalMatrix(b));for(var p=0,q=g.length;p<q;p++){var t=g[p].clone();void 0!==b&&t.applyMatrix4(b);f.push(t)}p=0;for(q=n.length;p<q;p++)h.push(n[p].clone());p=0;for(q=l.length;p<q;p++){g=l[p];var r=g.vertexNormals;
n=g.vertexColors;h=new Dc(g.a+e,g.b+e,g.c+e);h.normal.copy(g.normal);void 0!==d&&h.normal.applyMatrix3(d).normalize();b=0;for(f=r.length;b<f;b++)t=r[b].clone(),void 0!==d&&t.applyMatrix3(d).normalize(),h.vertexNormals.push(t);h.color.copy(g.color);b=0;for(f=n.length;b<f;b++)t=n[b],h.vertexColors.push(t.clone());h.materialIndex=g.materialIndex+c;k.push(h)}p=0;for(q=a.faceVertexUvs.length;p<q;p++)for(c=a.faceVertexUvs[p],void 0===this.faceVertexUvs[p]&&(this.faceVertexUvs[p]=[]),b=0,f=c.length;b<f;b++){d=
c[b];e=[];k=0;for(l=d.length;k<l;k++)e.push(d[k].clone());this.faceVertexUvs[p].push(e)}}else console.error("THREE.Geometry.merge(): geometry not an instance of THREE.Geometry.",a)},mergeMesh:function(a){a&&a.isMesh?(a.matrixAutoUpdate&&a.updateMatrix(),this.merge(a.geometry,a.matrix)):console.error("THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.",a)},mergeVertices:function(){var a={},b=[],c=[],d=Math.pow(10,4),e;var f=0;for(e=this.vertices.length;f<e;f++){var g=this.vertices[f];
g=Math.round(g.x*d)+"_"+Math.round(g.y*d)+"_"+Math.round(g.z*d);void 0===a[g]?(a[g]=f,b.push(this.vertices[f]),c[f]=b.length-1):c[f]=c[a[g]]}a=[];f=0;for(e=this.faces.length;f<e;f++)for(d=this.faces[f],d.a=c[d.a],d.b=c[d.b],d.c=c[d.c],d=[d.a,d.b,d.c],g=0;3>g;g++)if(d[g]===d[(g+1)%3]){a.push(f);break}for(f=a.length-1;0<=f;f--)for(d=a[f],this.faces.splice(d,1),c=0,e=this.faceVertexUvs.length;c<e;c++)this.faceVertexUvs[c].splice(d,1);f=this.vertices.length-b.length;this.vertices=b;return f},setFromPoints:function(a){this.vertices=
[];for(var b=0,c=a.length;b<c;b++){var d=a[b];this.vertices.push(new n(d.x,d.y,d.z||0))}return this},sortFacesByMaterialIndex:function(){for(var a=this.faces,b=a.length,c=0;c<b;c++)a[c]._id=c;a.sort(function(a,b){return a.materialIndex-b.materialIndex});var d=this.faceVertexUvs[0],e=this.faceVertexUvs[1],f,g;d&&d.length===b&&(f=[]);e&&e.length===b&&(g=[]);for(c=0;c<b;c++){var k=a[c]._id;f&&f.push(d[k]);g&&g.push(e[k])}f&&(this.faceVertexUvs[0]=f);g&&(this.faceVertexUvs[1]=g)},toJSON:function(){function a(a,
b,c){return c?a|1<<b:a&~(1<<b)}function b(a){var b=a.x.toString()+a.y.toString()+a.z.toString();if(void 0!==h[b])return h[b];h[b]=l.length/3;l.push(a.x,a.y,a.z);return h[b]}function c(a){var b=a.r.toString()+a.g.toString()+a.b.toString();if(void 0!==p[b])return p[b];p[b]=n.length;n.push(a.getHex());return p[b]}function d(a){var b=a.x.toString()+a.y.toString();if(void 0!==t[b])return t[b];t[b]=q.length/2;q.push(a.x,a.y);return t[b]}var e={metadata:{version:4.5,type:"Geometry",generator:"Geometry.toJSON"}};
e.uuid=this.uuid;e.type=this.type;""!==this.name&&(e.name=this.name);if(void 0!==this.parameters){var f=this.parameters,g;for(g in f)void 0!==f[g]&&(e[g]=f[g]);return e}f=[];for(g=0;g<this.vertices.length;g++){var k=this.vertices[g];f.push(k.x,k.y,k.z)}k=[];var l=[],h={},n=[],p={},q=[],t={};for(g=0;g<this.faces.length;g++){var r=this.faces[g],u=void 0!==this.faceVertexUvs[0][g],z=0<r.normal.length(),w=0<r.vertexNormals.length,B=1!==r.color.r||1!==r.color.g||1!==r.color.b,x=0<r.vertexColors.length,
y=0;y=a(y,0,0);y=a(y,1,!0);y=a(y,2,!1);y=a(y,3,u);y=a(y,4,z);y=a(y,5,w);y=a(y,6,B);y=a(y,7,x);k.push(y);k.push(r.a,r.b,r.c);k.push(r.materialIndex);u&&(u=this.faceVertexUvs[0][g],k.push(d(u[0]),d(u[1]),d(u[2])));z&&k.push(b(r.normal));w&&(z=r.vertexNormals,k.push(b(z[0]),b(z[1]),b(z[2])));B&&k.push(c(r.color));x&&(r=r.vertexColors,k.push(c(r[0]),c(r[1]),c(r[2])))}e.data={};e.data.vertices=f;e.data.normals=l;0<n.length&&(e.data.colors=n);0<q.length&&(e.data.uvs=[q]);e.data.faces=k;return e},clone:function(){return(new M).copy(this)},
copy:function(a){var b,c,d;this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingSphere=this.boundingBox=null;this.name=a.name;var e=a.vertices;var f=0;for(b=e.length;f<b;f++)this.vertices.push(e[f].clone());e=a.colors;f=0;for(b=e.length;f<b;f++)this.colors.push(e[f].clone());e=a.faces;f=0;for(b=e.length;f<b;f++)this.faces.push(e[f].clone());f=0;for(b=a.faceVertexUvs.length;f<
b;f++){var g=a.faceVertexUvs[f];void 0===this.faceVertexUvs[f]&&(this.faceVertexUvs[f]=[]);e=0;for(c=g.length;e<c;e++){var k=g[e],l=[];var h=0;for(d=k.length;h<d;h++)l.push(k[h].clone());this.faceVertexUvs[f].push(l)}}h=a.morphTargets;f=0;for(b=h.length;f<b;f++){d={};d.name=h[f].name;if(void 0!==h[f].vertices)for(d.vertices=[],e=0,c=h[f].vertices.length;e<c;e++)d.vertices.push(h[f].vertices[e].clone());if(void 0!==h[f].normals)for(d.normals=[],e=0,c=h[f].normals.length;e<c;e++)d.normals.push(h[f].normals[e].clone());
this.morphTargets.push(d)}h=a.morphNormals;f=0;for(b=h.length;f<b;f++){d={};if(void 0!==h[f].vertexNormals)for(d.vertexNormals=[],e=0,c=h[f].vertexNormals.length;e<c;e++)g=h[f].vertexNormals[e],k={},k.a=g.a.clone(),k.b=g.b.clone(),k.c=g.c.clone(),d.vertexNormals.push(k);if(void 0!==h[f].faceNormals)for(d.faceNormals=[],e=0,c=h[f].faceNormals.length;e<c;e++)d.faceNormals.push(h[f].faceNormals[e].clone());this.morphNormals.push(d)}e=a.skinWeights;f=0;for(b=e.length;f<b;f++)this.skinWeights.push(e[f].clone());
e=a.skinIndices;f=0;for(b=e.length;f<b;f++)this.skinIndices.push(e[f].clone());e=a.lineDistances;f=0;for(b=e.length;f<b;f++)this.lineDistances.push(e[f]);f=a.boundingBox;null!==f&&(this.boundingBox=f.clone());f=a.boundingSphere;null!==f&&(this.boundingSphere=f.clone());this.elementsNeedUpdate=a.elementsNeedUpdate;this.verticesNeedUpdate=a.verticesNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.lineDistancesNeedUpdate=
a.lineDistancesNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});var lh=function(a){function b(b,d,e,f,g,k){a.call(this);this.type="BoxGeometry";this.parameters={width:b,height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:k};this.fromBufferGeometry(new Jd(b,d,e,f,g,k));this.mergeVertices()}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(M),Jd=function(a){function b(b,
d,e,f,g,k){function c(a,b,c,d,e,f,g,k,l,m,x){var w=f/l,z=g/m,A=f/2,B=g/2,y=k/2;g=l+1;var C=m+1,G=f=0,F,D,E=new n;for(D=0;D<C;D++){var I=D*z-B;for(F=0;F<g;F++)E[a]=(F*w-A)*d,E[b]=I*e,E[c]=y,p.push(E.x,E.y,E.z),E[a]=0,E[b]=0,E[c]=0<k?1:-1,q.push(E.x,E.y,E.z),t.push(F/l),t.push(1-D/m),f+=1}for(D=0;D<m;D++)for(F=0;F<l;F++)a=r+F+g*(D+1),b=r+(F+1)+g*(D+1),c=r+(F+1)+g*D,v.push(r+F+g*D,a,c),v.push(a,b,c),G+=6;h.addGroup(u,G,x);u+=G;r+=f}a.call(this);this.type="BoxBufferGeometry";this.parameters={width:b,
height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:k};var h=this;b=b||1;d=d||1;e=e||1;f=Math.floor(f)||1;g=Math.floor(g)||1;k=Math.floor(k)||1;var v=[],p=[],q=[],t=[],r=0,u=0;c("z","y","x",-1,-1,e,d,b,k,g,0);c("z","y","x",1,-1,e,d,-b,k,g,1);c("x","z","y",1,1,b,e,d,f,k,2);c("x","z","y",1,-1,b,e,-d,f,k,3);c("x","y","z",1,-1,b,d,e,f,g,4);c("x","y","z",-1,-1,b,d,-e,f,g,5);this.setIndex(v);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",
new C(t,2))}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(G),Xk={clone:bc,merge:na};oa.prototype=Object.create(L.prototype);oa.prototype.constructor=oa;oa.prototype.isShaderMaterial=!0;oa.prototype.copy=function(a){L.prototype.copy.call(this,a);this.fragmentShader=a.fragmentShader;this.vertexShader=a.vertexShader;this.uniforms=bc(a.uniforms);this.defines=Object.assign({},a.defines);this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;
this.lights=a.lights;this.clipping=a.clipping;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;this.extensions=a.extensions;return this};oa.prototype.toJSON=function(a){var b=L.prototype.toJSON.call(this,a);b.uniforms={};for(var c in this.uniforms){var d=this.uniforms[c].value;b.uniforms[c]=d&&d.isTexture?{type:"t",value:d.toJSON(a).uuid}:d&&d.isColor?{type:"c",value:d.getHex()}:d&&d.isVector2?{type:"v2",value:d.toArray()}:d&&d.isVector3?{type:"v3",value:d.toArray()}:
d&&d.isVector4?{type:"v4",value:d.toArray()}:d&&d.isMatrix3?{type:"m3",value:d.toArray()}:d&&d.isMatrix4?{type:"m4",value:d.toArray()}:{value:d}}0<Object.keys(this.defines).length&&(b.defines=this.defines);b.vertexShader=this.vertexShader;b.fragmentShader=this.fragmentShader;a={};for(var e in this.extensions)!0===this.extensions[e]&&(a[e]=!0);0<Object.keys(a).length&&(b.extensions=a);return b};db.prototype=Object.assign(Object.create(D.prototype),{constructor:db,isCamera:!0,copy:function(a,b){D.prototype.copy.call(this,
a,b);this.matrixWorldInverse.copy(a.matrixWorldInverse);this.projectionMatrix.copy(a.projectionMatrix);this.projectionMatrixInverse.copy(a.projectionMatrixInverse);return this},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Camera: .getWorldDirection() target is now required"),a=new n);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(-b[8],-b[9],-b[10]).normalize()},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);this.matrixWorldInverse.getInverse(this.matrixWorld)},
clone:function(){return(new this.constructor).copy(this)}});pa.prototype=Object.assign(Object.create(db.prototype),{constructor:pa,isPerspectiveCamera:!0,copy:function(a,b){db.prototype.copy.call(this,a,b);this.fov=a.fov;this.zoom=a.zoom;this.near=a.near;this.far=a.far;this.focus=a.focus;this.aspect=a.aspect;this.view=null===a.view?null:Object.assign({},a.view);this.filmGauge=a.filmGauge;this.filmOffset=a.filmOffset;return this},setFocalLength:function(a){a=.5*this.getFilmHeight()/a;this.fov=2*O.RAD2DEG*
Math.atan(a);this.updateProjectionMatrix()},getFocalLength:function(){var a=Math.tan(.5*O.DEG2RAD*this.fov);return.5*this.getFilmHeight()/a},getEffectiveFOV:function(){return 2*O.RAD2DEG*Math.atan(Math.tan(.5*O.DEG2RAD*this.fov)/this.zoom)},getFilmWidth:function(){return this.filmGauge*Math.min(this.aspect,1)},getFilmHeight:function(){return this.filmGauge/Math.max(this.aspect,1)},setViewOffset:function(a,b,c,d,e,f){this.aspect=a/b;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=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=this.near,b=a*Math.tan(.5*O.DEG2RAD*this.fov)/this.zoom,c=2*b,d=this.aspect*c,e=-.5*d,f=this.view;if(null!==this.view&&this.view.enabled){var g=f.fullWidth,
k=f.fullHeight;e+=f.offsetX*d/g;b-=f.offsetY*c/k;d*=f.width/g;c*=f.height/k}f=this.filmOffset;0!==f&&(e+=a*f/this.getFilmWidth());this.projectionMatrix.makePerspective(e,e+d,b,b-c,a,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},toJSON:function(a){a=D.prototype.toJSON.call(this,a);a.object.fov=this.fov;a.object.zoom=this.zoom;a.object.near=this.near;a.object.far=this.far;a.object.focus=this.focus;a.object.aspect=this.aspect;null!==this.view&&(a.object.view=Object.assign({},
this.view));a.object.filmGauge=this.filmGauge;a.object.filmOffset=this.filmOffset;return a}});Hc.prototype=Object.create(D.prototype);Hc.prototype.constructor=Hc;Eb.prototype=Object.create(va.prototype);Eb.prototype.constructor=Eb;Eb.prototype.isWebGLRenderTargetCube=!0;Eb.prototype.fromEquirectangularTexture=function(a,b){this.texture.type=b.type;this.texture.format=b.format;this.texture.encoding=b.encoding;var c=new pb,d=new oa({type:"CubemapFromEquirect",uniforms:bc({tEquirect:{value:null}}),vertexShader:"varying vec3 vWorldDirection;\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",
fragmentShader:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n}",side:1,blending:0});d.uniforms.tEquirect.value=b;b=new ca(new Jd(5,
5,5),d);c.add(b);d=new Hc(1,10,1);d.renderTarget=this;d.renderTarget.texture.name="CubeCameraTexture";d.update(a,c);b.geometry.dispose();b.material.dispose();return this};cc.prototype=Object.create(T.prototype);cc.prototype.constructor=cc;cc.prototype.isDataTexture=!0;var vd=new qb,Lf=new n;Object.assign(Hd.prototype,{set:function(a,b,c,d,e,f){var g=this.planes;g[0].copy(a);g[1].copy(b);g[2].copy(c);g[3].copy(d);g[4].copy(e);g[5].copy(f);return this},clone:function(){return(new this.constructor).copy(this)},
copy:function(a){for(var b=this.planes,c=0;6>c;c++)b[c].copy(a.planes[c]);return this},setFromMatrix:function(a){var b=this.planes,c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],k=c[5],h=c[6],m=c[7],n=c[8],p=c[9],q=c[10],t=c[11],r=c[12],u=c[13],z=c[14];c=c[15];b[0].setComponents(f-a,m-g,t-n,c-r).normalize();b[1].setComponents(f+a,m+g,t+n,c+r).normalize();b[2].setComponents(f+d,m+k,t+p,c+u).normalize();b[3].setComponents(f-d,m-k,t-p,c-u).normalize();b[4].setComponents(f-e,m-h,t-q,c-z).normalize();
b[5].setComponents(f+e,m+h,t+q,c+z).normalize();return this},intersectsObject:function(a){var b=a.geometry;null===b.boundingSphere&&b.computeBoundingSphere();vd.copy(b.boundingSphere).applyMatrix4(a.matrixWorld);return this.intersectsSphere(vd)},intersectsSprite:function(a){vd.center.set(0,0,0);vd.radius=.7071067811865476;vd.applyMatrix4(a.matrixWorld);return this.intersectsSphere(vd)},intersectsSphere:function(a){var b=this.planes,c=a.center;a=-a.radius;for(var d=0;6>d;d++)if(b[d].distanceToPoint(c)<
a)return!1;return!0},intersectsBox:function(a){for(var b=this.planes,c=0;6>c;c++){var d=b[c];Lf.x=0<d.normal.x?a.max.x:a.min.x;Lf.y=0<d.normal.y?a.max.y:a.min.y;Lf.z=0<d.normal.z?a.max.z:a.min.z;if(0>d.distanceToPoint(Lf))return!1}return!0},containsPoint:function(a){for(var b=this.planes,c=0;6>c;c++)if(0>b[c].distanceToPoint(a))return!1;return!0}});var N={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",
alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).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.specularRoughness );\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:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\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\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n\tvec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n\treturn Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_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}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + viewDir );\n\tfloat dotNL = saturate( dot( normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * 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}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat 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_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n\tfloat invAlpha  = 1.0 / roughness;\n\tfloat cos2h = NoH * NoH;\n\tfloat sin2h = max(1.0 - cos2h, 0.0078125);\treturn (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}\nfloat V_Neubelt(float NoV, float NoL) {\n\treturn saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n\tvec3 N = geometry.normal;\n\tvec3 V = geometry.viewDir;\n\tvec3 H = normalize( V + L );\n\tfloat dotNH = saturate( dot( N, H ) );\n\treturn specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\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( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\n\t\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n\t\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\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 );\n\t\tfDet *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\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\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vViewPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vViewPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",
clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\t#if ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\t\tvarying vec3 vViewPosition;\n\t#endif\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvarying vec3 vViewPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif",
color_fragment:"#ifdef USE_COLOR\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n\tvColor.xyz = color.xyz;\n#endif",common:"#define PI 3.14159265359\n#define PI2 6.28318530718\n#define PI_HALF 1.5707963267949\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n#define LOG2 1.442695\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; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\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 max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\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 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}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\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 linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n  return m[ 2 ][ 3 ] == - 1.0;\n}",
cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n#define cubeUV_maxMipLevel 8.0\n#define cubeUV_minMipLevel 4.0\n#define cubeUV_maxTileSize 256.0\n#define cubeUV_minTileSize 16.0\nfloat getFace(vec3 direction) {\n    vec3 absDirection = abs(direction);\n    float face = -1.0;\n    if (absDirection.x > absDirection.z) {\n      if (absDirection.x > absDirection.y)\n        face = direction.x > 0.0 ? 0.0 : 3.0;\n      else\n        face = direction.y > 0.0 ? 1.0 : 4.0;\n    } else {\n      if (absDirection.z > absDirection.y)\n        face = direction.z > 0.0 ? 2.0 : 5.0;\n      else\n        face = direction.y > 0.0 ? 1.0 : 4.0;\n    }\n    return face;\n}\nvec2 getUV(vec3 direction, float face) {\n    vec2 uv;\n    if (face == 0.0) {\n      uv = vec2(-direction.z, direction.y) / abs(direction.x);\n    } else if (face == 1.0) {\n      uv = vec2(direction.x, -direction.z) / abs(direction.y);\n    } else if (face == 2.0) {\n      uv = direction.xy / abs(direction.z);\n    } else if (face == 3.0) {\n      uv = vec2(direction.z, direction.y) / abs(direction.x);\n    } else if (face == 4.0) {\n      uv = direction.xz / abs(direction.y);\n    } else {\n      uv = vec2(-direction.x, direction.y) / abs(direction.z);\n    }\n    return 0.5 * (uv + 1.0);\n}\nvec3 bilinearCubeUV(sampler2D envMap, vec3 direction, float mipInt) {\n  float face = getFace(direction);\n  float filterInt = max(cubeUV_minMipLevel - mipInt, 0.0);\n  mipInt = max(mipInt, cubeUV_minMipLevel);\n  float faceSize = exp2(mipInt);\n  float texelSize = 1.0 / (3.0 * cubeUV_maxTileSize);\n  vec2 uv = getUV(direction, face) * (faceSize - 1.0);\n  vec2 f = fract(uv);\n  uv += 0.5 - f;\n  if (face > 2.0) {\n    uv.y += faceSize;\n    face -= 3.0;\n  }\n  uv.x += face * faceSize;\n  if(mipInt < cubeUV_maxMipLevel){\n    uv.y += 2.0 * cubeUV_maxTileSize;\n  }\n  uv.y += filterInt * 2.0 * cubeUV_minTileSize;\n  uv.x += 3.0 * max(0.0, cubeUV_maxTileSize - 2.0 * faceSize);\n  uv *= texelSize;\n  vec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n  uv.x += texelSize;\n  vec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n  uv.y += texelSize;\n  vec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n  uv.x -= texelSize;\n  vec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n  vec3 tm = mix(tl, tr, f.x);\n  vec3 bm = mix(bl, br, f.x);\n  return mix(tm, bm, f.y);\n}\n#define r0 1.0\n#define v0 0.339\n#define m0 -2.0\n#define r1 0.8\n#define v1 0.276\n#define m1 -1.0\n#define r4 0.4\n#define v4 0.046\n#define m4 2.0\n#define r5 0.305\n#define v5 0.016\n#define m5 3.0\n#define r6 0.21\n#define v6 0.0038\n#define m6 4.0\nfloat roughnessToMip(float roughness) {\n  float mip = 0.0;\n  if (roughness >= r1) {\n    mip = (r0 - roughness) * (m1 - m0) / (r0 - r1) + m0;\n  } else if (roughness >= r4) {\n    mip = (r1 - roughness) * (m4 - m1) / (r1 - r4) + m1;\n  } else if (roughness >= r5) {\n    mip = (r4 - roughness) * (m5 - m4) / (r4 - r5) + m4;\n  } else if (roughness >= r6) {\n    mip = (r5 - roughness) * (m6 - m5) / (r5 - r6) + m5;\n  } else {\n    mip = -2.0 * log2(1.16 * roughness);  }\n  return mip;\n}\nvec4 textureCubeUV(sampler2D envMap, vec3 sampleDir, float roughness) {\n  float mip = clamp(roughnessToMip(roughness), m0, cubeUV_maxMipLevel);\n  float mipF = fract(mip);\n  float mipInt = floor(mip);\n  vec3 color0 = bilinearCubeUV(envMap, sampleDir, mipInt);\n  if (mipF == 0.0) {\n    return vec4(color0, 1.0);\n  } else {\n    vec3 color1 = bilinearCubeUV(envMap, sampleDir, mipInt + 1.0);\n    return vec4(mix(color0, color1, mipF), 1.0);\n  }\n}\n#endif",
defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\ttransformedNormal = mat3( instanceMatrix ) * 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, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\temissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\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:"\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\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}\nvec4 RGBEToLinear( in vec4 value ) {\n\treturn vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n\tfloat maxComponent = max( max( value.r, value.g ), value.b );\n\tfloat fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n\treturn vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n\tM = ceil( M * 255.0 ) / 255.0;\n\treturn vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat D = max( maxRange / maxRGB, 1.0 );\n\tD = min( floor( D ) / 255.0, 1.0 );\n\treturn vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value )  {\n\tvec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n\tXp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n\tvec4 vResult;\n\tvResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n\tfloat Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n\tvResult.w = fract( Le );\n\tvResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n\treturn vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n\tfloat Le = value.z * 255.0 + value.w;\n\tvec3 Xp_Y_XYZp;\n\tXp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n\tXp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n\tXp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n\tvec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n\treturn vec4( max( vRGB, 0.0 ), 1.0 );\n}",
envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\t\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#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ), 0.0 );\n\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\tvec2 sampleUV;\n\t\treflectVec = normalize( reflectVec );\n\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\tvec4 envColor = texture2D( envMap, sampleUV );\n\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\treflectVec = normalize( reflectVec );\n\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) );\n\t\tvec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifndef ENVMAP_TYPE_CUBE_UV\n\t\tenvColor = envMapTexelToLinear( envColor );\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\tuniform int maxMipLevel;\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 )\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 )\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\t#ifdef ENVMAP_MODE_REFRACTION\n\t\tuniform float refractionRatio;\n\t#endif\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryVec, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat sigma = PI * roughness * roughness / ( 1.0 + roughness );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t  vec3 reflectVec = reflect( -viewDir, normal );\n\t\t  reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t#else\n\t\t  vec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryReflectVec, roughness );\n\t\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\t\tvec2 sampleUV;\n\t\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\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\tfogDepth = -mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\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 fogDepth;\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 texture2D( gradientMap, coord ).rgb;\n\t#else\n\t\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\treflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n#endif",
lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_vertex:"vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n\tvLightBack = vec3( 0.0 );\n\tvIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\n#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tgetPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tgetSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tgetDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n\t\t#endif\n\t}\n#endif",
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 GeometricContext geometry ) {\n\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.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\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t\tfloat shadowCameraNear;\n\t\tfloat shadowCameraFar;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.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\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight  ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.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 GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif",
lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct ToonMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\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\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\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_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",
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;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\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\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, 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_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",
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.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness;\nmaterial.specularRoughness = min( material.specularRoughness, 1.0 );\n#ifdef REFLECTIVITY\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n\tmaterial.clearcoat = saturate( clearcoat );\tmaterial.clearcoatRoughness = max( clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheen;\n#endif",
lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3\tdiffuseColor;\n\tfloat\tspecularRoughness;\n\tvec3\tspecularColor;\n#ifdef CLEARCOAT\n\tfloat clearcoat;\n\tfloat clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tvec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\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.specularRoughness;\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#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = ccDotNL * directLight.color;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tccIrradiance *= PI;\n\t\t#endif\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t\treflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n\t\t\tmaterial.specularRoughness,\n\t\t\tdirectLight.direction,\n\t\t\tgeometry,\n\t\t\tmaterial.sheenColor\n\t\t);\n\t#else\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n\t#endif\n\treflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_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_Diffuse_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 CLEARCOAT\n\t\tfloat ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t\tfloat ccDotNL = ccDotNV;\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\tfloat clearcoatInv = 1.0 - clearcoatDHR;\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n\treflectedLight.indirectSpecular += clearcoatInv * 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 CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointDirectLightIrradiance( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( pointLight.shadow, directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( spotLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( directionalLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop\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#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t}\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, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n\t#ifdef CLEARCOAT\n\t\tclearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\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 texelColor = texture2D( map, vUv );\n\ttexelColor = mapTexelToLinear( texelColor );\n\tdiffuseColor *= texelColor;\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\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tvec4 mapTexel = texture2D( map, uv );\n\tdiffuseColor *= mapTexelToLinear( mapTexel );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",
map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\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, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",
morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifndef USE_MORPHNORMALS\n\tuniform float morphTargetInfluences[ 8 ];\n\t#else\n\tuniform float morphTargetInfluences[ 4 ];\n\t#endif\n#endif",
morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t#ifndef USE_MORPHNORMALS\n\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t#endif\n#endif",
normal_fragment_begin:"#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\tbitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",
normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).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 * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, mapN );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif",
normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN ) {\n\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tfloat scale = sign( st1.t * st0.s - st0.t * st1.s );\n\t\tvec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale );\n\t\tvec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale );\n\t\tvec3 N = normalize( surf_norm );\n\t\tmat3 tsn = mat3( S, T, N );\n\t\tmapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\treturn normalize( tsn * mapN );\n\t}\n#endif",
clearcoat_normal_fragment_begin:"#ifdef CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN );\n\t#endif\n#endif",clearcoat_normalmap_pars_fragment:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",
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}\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 linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( 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 invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - 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, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#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#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ 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#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 texture2DShadowLerp( sampler2D depths, vec2 size, vec2 uv, float compare ) {\n\t\tconst vec2 offset = vec2( 0.0, 1.0 );\n\t\tvec2 texelSize = vec2( 1.0 ) / size;\n\t\tvec2 centroidUV = ( floor( uv * size - 0.5 ) + 0.5 ) * texelSize;\n\t\tfloat lb = texture2DCompare( depths, centroidUV + texelSize * offset.xx, compare );\n\t\tfloat lt = texture2DCompare( depths, centroidUV + texelSize * offset.xy, compare );\n\t\tfloat rb = texture2DCompare( depths, centroidUV + texelSize * offset.yx, compare );\n\t\tfloat rt = texture2DCompare( depths, centroidUV + texelSize * offset.yy, compare );\n\t\tvec2 f = fract( uv * size + 0.5 );\n\t\tfloat a = mix( lb, lt, f.y );\n\t\tfloat b = mix( rb, rt, f.y );\n\t\tfloat c = mix( a, b, f.x );\n\t\treturn c;\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\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\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 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\tshadow = (\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\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:"#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#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ 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#endif\n#endif",
shadowmap_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\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\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tshadow *= all( bvec2( directionalLight.shadow, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tshadow *= all( bvec2( spotLight.shadow, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tshadow *= all( bvec2( pointLight.shadow, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\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\t#ifdef BONE_TEXTURE\n\t\tuniform highp sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\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, vUv );\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;\nuniform float toneMappingWhitePoint;\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}\n#define Uncharted2Helper( x ) max( ( ( x * ( 0.15 * x + 0.10 * 0.50 ) + 0.20 * 0.02 ) / ( x * ( 0.15 * x + 0.50 ) + 0.20 * 0.30 ) ) - 0.02 / 0.30, vec3( 0.0 ) )\nvec3 Uncharted2ToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( Uncharted2Helper( color ) / Uncharted2Helper( vec3( toneMappingWhitePoint ) ) );\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 ACESFilmicToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( ( color * ( 2.51 * color + 0.03 ) ) / ( color * ( 2.43 * color + 0.59 ) + 0.14 ) );\n}",
uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",
uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\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_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
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}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\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}",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 <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\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\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - gl_FragCoord.z ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( gl_FragCoord.z );\n\t#endif\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>\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}",
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 <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}",
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}",
equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tvec4 texColor = texture2D( tEquirect, sampleUV );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\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}",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 <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 <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\tvLineDistance = scale * lineDistance;\n\tvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_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 <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_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 <cube_uv_reflection_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\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\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\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_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 <uv2_vertex>\n\t#include <color_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_ENVMAP\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinnormal_vertex>\n\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 <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",
meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_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 <cube_uv_reflection_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_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 <emissivemap_fragment>\n\treflectedLight.indirectDiffuse = getAmbientLightIrradiance( ambientLightColor );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include <lightmap_fragment>\n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\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 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <color_pars_vertex>\n#include <fog_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 <uv2_vertex>\n\t#include <color_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 <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 <lights_lambert_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_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 <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\tmatcapColor = matcapTexelToLinear( matcapColor );\n\t#else\n\t\tvec4 matcapColor = vec4( 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_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 <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#ifndef FLAT_SHADED\n\t\tvNormal = normalize( transformedNormal );\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\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",
meshtoon_frag:"#define TOON\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 <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_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 <lights_toon_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_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 + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\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#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_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 <uv2_vertex>\n\t#include <color_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#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#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\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_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 <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_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 <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\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\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\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}",
meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_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 <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_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#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#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\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define REFLECTIVITY\n\t#define CLEARCOAT\n\t#define TRANSPARENCY\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef TRANSPARENCY\n\tuniform float transparency;\n#endif\n#ifdef REFLECTIVITY\n\tuniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#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\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\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 <lights_physical_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_normalmap_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 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#ifdef TRANSPARENCY\n\t\tdiffuseColor.a *= saturate( 1. - transparency + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) );\n\t#endif\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\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#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\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_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 <uv2_vertex>\n\t#include <color_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#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\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}",
normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#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\n#include <packing>\n#include <uv_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}",
normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#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\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 <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#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\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( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\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 <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\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_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>\nvoid main() {\n\t#include <color_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}",
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 <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <fog_fragment>\n}",shadow_vert:"#include <fog_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_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 <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\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\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}"},
E={common:{diffuse:{value:new y(15658734)},opacity:{value:1},map:{value:null},uvTransform:{value:new za},uv2Transform:{value:new za},alphaMap:{value:null}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},refractionRatio:{value:.98},maxMipLevel:{value:0}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},
bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new x(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:2.5E-4},fogNear:{value:1},fogFar:{value:2E3},fogColor:{value:new y(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},
color:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},
shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}}},points:{diffuse:{value:new y(15658734)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new za}},sprite:{diffuse:{value:new y(15658734)},opacity:{value:1},center:{value:new x(.5,.5)},rotation:{value:0},map:{value:null},
alphaMap:{value:null},uvTransform:{value:new za}}},eb={basic:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.fog]),vertexShader:N.meshbasic_vert,fragmentShader:N.meshbasic_frag},lambert:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.fog,E.lights,{emissive:{value:new y(0)}}]),vertexShader:N.meshlambert_vert,fragmentShader:N.meshlambert_frag},phong:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,
E.displacementmap,E.fog,E.lights,{emissive:{value:new y(0)},specular:{value:new y(1118481)},shininess:{value:30}}]),vertexShader:N.meshphong_vert,fragmentShader:N.meshphong_frag},standard:{uniforms:na([E.common,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,E.displacementmap,E.roughnessmap,E.metalnessmap,E.fog,E.lights,{emissive:{value:new y(0)},roughness:{value:.5},metalness:{value:.5},envMapIntensity:{value:1}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag},
toon:{uniforms:na([E.common,E.specularmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,E.displacementmap,E.gradientmap,E.fog,E.lights,{emissive:{value:new y(0)},specular:{value:new y(1118481)},shininess:{value:30}}]),vertexShader:N.meshtoon_vert,fragmentShader:N.meshtoon_frag},matcap:{uniforms:na([E.common,E.bumpmap,E.normalmap,E.displacementmap,E.fog,{matcap:{value:null}}]),vertexShader:N.meshmatcap_vert,fragmentShader:N.meshmatcap_frag},points:{uniforms:na([E.points,E.fog]),vertexShader:N.points_vert,
fragmentShader:N.points_frag},dashed:{uniforms:na([E.common,E.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:N.linedashed_vert,fragmentShader:N.linedashed_frag},depth:{uniforms:na([E.common,E.displacementmap]),vertexShader:N.depth_vert,fragmentShader:N.depth_frag},normal:{uniforms:na([E.common,E.bumpmap,E.normalmap,E.displacementmap,{opacity:{value:1}}]),vertexShader:N.normal_vert,fragmentShader:N.normal_frag},sprite:{uniforms:na([E.sprite,E.fog]),vertexShader:N.sprite_vert,
fragmentShader:N.sprite_frag},background:{uniforms:{uvTransform:{value:new za},t2D:{value:null}},vertexShader:N.background_vert,fragmentShader:N.background_frag},cube:{uniforms:na([E.envmap,{opacity:{value:1}}]),vertexShader:N.cube_vert,fragmentShader:N.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:N.equirect_vert,fragmentShader:N.equirect_frag},distanceRGBA:{uniforms:na([E.common,E.displacementmap,{referencePosition:{value:new n},nearDistance:{value:1},farDistance:{value:1E3}}]),
vertexShader:N.distanceRGBA_vert,fragmentShader:N.distanceRGBA_frag},shadow:{uniforms:na([E.lights,E.fog,{color:{value:new y(0)},opacity:{value:1}}]),vertexShader:N.shadow_vert,fragmentShader:N.shadow_frag}};eb.physical={uniforms:na([eb.standard.uniforms,{transparency:{value:0},clearcoat:{value:0},clearcoatRoughness:{value:0},sheen:{value:new y(0)},clearcoatNormalScale:{value:new x(1,1)},clearcoatNormalMap:{value:null}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag};Id.prototype=
Object.create(M.prototype);Id.prototype.constructor=Id;dc.prototype=Object.create(G.prototype);dc.prototype.constructor=dc;rb.prototype=Object.create(T.prototype);rb.prototype.constructor=rb;rb.prototype.isCubeTexture=!0;Object.defineProperty(rb.prototype,"images",{get:function(){return this.image},set:function(a){this.image=a}});Ic.prototype=Object.create(T.prototype);Ic.prototype.constructor=Ic;Ic.prototype.isDataTexture2DArray=!0;Jc.prototype=Object.create(T.prototype);Jc.prototype.constructor=
Jc;Jc.prototype.isDataTexture3D=!0;var Fh=new T,Mj=new Ic,Oj=new Jc,Gh=new rb,zh=[],Bh=[],Eh=new Float32Array(16),Dh=new Float32Array(9),Ch=new Float32Array(4);Hh.prototype.updateCache=function(a){var b=this.cache;a instanceof Float32Array&&b.length!==a.length&&(this.cache=new Float32Array(a.length));Ia(b,a)};Ih.prototype.setValue=function(a,b,c){for(var d=this.seq,e=0,f=d.length;e!==f;++e){var g=d[e];g.setValue(a,b[g.id],c)}};var hg=/([\w\d_]+)(\])?(\[|\.)?/g;Fb.prototype.setValue=function(a,b,c,
d){b=this.map[b];void 0!==b&&b.setValue(a,c,d)};Fb.prototype.setOptional=function(a,b,c){b=b[c];void 0!==b&&this.setValue(a,c,b)};Fb.upload=function(a,b,c,d){for(var e=0,f=b.length;e!==f;++e){var g=b[e],k=c[g.id];!1!==k.needsUpdate&&g.setValue(a,k.value,d)}};Fb.seqWithValue=function(a,b){for(var c=[],d=0,e=a.length;d!==e;++d){var f=a[d];f.id in b&&c.push(f)}return c};var tk=0,jg=/^[ \t]*#include +<([\w\d./]+)>/gm,Qh=/#pragma unroll_loop[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}/g,
Ck=0;Gb.prototype=Object.create(L.prototype);Gb.prototype.constructor=Gb;Gb.prototype.isMeshDepthMaterial=!0;Gb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.depthPacking=a.depthPacking;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;return this};
Hb.prototype=Object.create(L.prototype);Hb.prototype.constructor=Hb;Hb.prototype.isMeshDistanceMaterial=!0;Hb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.referencePosition.copy(a.referencePosition);this.nearDistance=a.nearDistance;this.farDistance=a.farDistance;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;
return this};og.prototype=Object.assign(Object.create(va.prototype),{constructor:og,isWebGLMultiviewRenderTarget:!0,copy:function(a){va.prototype.copy.call(this,a);this.numViews=a.numViews;return this},setNumViews:function(a){this.numViews!==a&&(this.numViews=a,this.dispose());return this}});Pe.prototype=Object.assign(Object.create(pa.prototype),{constructor:Pe,isArrayCamera:!0});Od.prototype=Object.assign(Object.create(D.prototype),{constructor:Od,isGroup:!0});Object.assign(Wh.prototype,Fa.prototype);
Object.assign(Qe.prototype,{isFogExp2:!0,clone:function(){return new Qe(this.color,this.density)},toJSON:function(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}});Object.assign(Re.prototype,{isFog:!0,clone:function(){return new Re(this.color,this.near,this.far)},toJSON:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}});Object.defineProperty(sb.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(sb.prototype,
{isInterleavedBuffer:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.array=new a.array.constructor(a.array);this.count=a.count;this.stride=a.stride;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.stride;c*=b.stride;for(var d=0,e=this.stride;d<e;d++)this.array[a+d]=b.array[c+d];return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},clone:function(){return(new this.constructor).copy(this)},onUpload:function(a){this.onUploadCallback=
a;return this}});var wc=new n;Object.defineProperties(Pd.prototype,{count:{get:function(){return this.data.count}},array:{get:function(){return this.data.array}}});Object.assign(Pd.prototype,{isInterleavedBufferAttribute:!0,applyMatrix4:function(a){for(var b=0,c=this.data.count;b<c;b++)wc.x=this.getX(b),wc.y=this.getY(b),wc.z=this.getZ(b),wc.applyMatrix4(a),this.setXYZ(b,wc.x,wc.y,wc.z);return this},setX:function(a,b){this.data.array[a*this.data.stride+this.offset]=b;return this},setY:function(a,
b){this.data.array[a*this.data.stride+this.offset+1]=b;return this},setZ:function(a,b){this.data.array[a*this.data.stride+this.offset+2]=b;return this},setW:function(a,b){this.data.array[a*this.data.stride+this.offset+3]=b;return this},getX:function(a){return this.data.array[a*this.data.stride+this.offset]},getY:function(a){return this.data.array[a*this.data.stride+this.offset+1]},getZ:function(a){return this.data.array[a*this.data.stride+this.offset+2]},getW:function(a){return this.data.array[a*
this.data.stride+this.offset+3]},setXY:function(a,b,c){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;return this},setXYZ:function(a,b,c,d){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;return this},setXYZW:function(a,b,c,d,e){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;this.data.array[a+3]=e;return this}});Jb.prototype=Object.create(L.prototype);Jb.prototype.constructor=
Jb;Jb.prototype.isSpriteMaterial=!0;Jb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=a.alphaMap;this.rotation=a.rotation;this.sizeAttenuation=a.sizeAttenuation;return this};var Mc,Ee=new n,wd=new n,xd=new n,Nc=new x,Rd=new x,Yh=new P,Mf=new n,Fe=new n,Nf=new n,Oi=new x,mh=new x,Pi=new x;Qd.prototype=Object.assign(Object.create(D.prototype),{constructor:Qd,isSprite:!0,raycast:function(a,b){null===a.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.');
wd.setFromMatrixScale(this.matrixWorld);Yh.copy(a.camera.matrixWorld);this.modelViewMatrix.multiplyMatrices(a.camera.matrixWorldInverse,this.matrixWorld);xd.setFromMatrixPosition(this.modelViewMatrix);a.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&wd.multiplyScalar(-xd.z);var c=this.material.rotation;if(0!==c){var d=Math.cos(c);var e=Math.sin(c)}c=this.center;Se(Mf.set(-.5,-.5,0),xd,c,wd,e,d);Se(Fe.set(.5,-.5,0),xd,c,wd,e,d);Se(Nf.set(.5,.5,0),xd,c,wd,e,d);Oi.set(0,0);mh.set(1,
0);Pi.set(1,1);var f=a.ray.intersectTriangle(Mf,Fe,Nf,!1,Ee);if(null===f&&(Se(Fe.set(-.5,.5,0),xd,c,wd,e,d),mh.set(0,1),f=a.ray.intersectTriangle(Mf,Nf,Fe,!1,Ee),null===f))return;e=a.ray.origin.distanceTo(Ee);e<a.near||e>a.far||b.push({distance:e,point:Ee.clone(),uv:ma.getUV(Ee,Mf,Fe,Nf,Oi,mh,Pi,new x),face:null,object:this})},clone:function(){return(new this.constructor(this.material)).copy(this)},copy:function(a){D.prototype.copy.call(this,a);void 0!==a.center&&this.center.copy(a.center);return this}});
var Of=new n,Qi=new n;Sd.prototype=Object.assign(Object.create(D.prototype),{constructor:Sd,isLOD:!0,copy:function(a){D.prototype.copy.call(this,a,!1);for(var b=a.levels,c=0,d=b.length;c<d;c++){var e=b[c];this.addLevel(e.object.clone(),e.distance)}this.autoUpdate=a.autoUpdate;return this},addLevel:function(a,b){void 0===b&&(b=0);b=Math.abs(b);for(var c=this.levels,d=0;d<c.length&&!(b<c[d].distance);d++);c.splice(d,0,{distance:b,object:a});this.add(a);return this},getObjectForDistance:function(a){var b=
this.levels;if(0<b.length){for(var c=1,d=b.length;c<d&&!(a<b[c].distance);c++);return b[c-1].object}return null},raycast:function(a,b){if(0<this.levels.length){Of.setFromMatrixPosition(this.matrixWorld);var c=a.ray.origin.distanceTo(Of);this.getObjectForDistance(c).raycast(a,b)}},update:function(a){var b=this.levels;if(1<b.length){Of.setFromMatrixPosition(a.matrixWorld);Qi.setFromMatrixPosition(this.matrixWorld);a=Of.distanceTo(Qi);b[0].object.visible=!0;for(var c=1,d=b.length;c<d;c++)if(a>=b[c].distance)b[c-
1].object.visible=!1,b[c].object.visible=!0;else break;for(;c<d;c++)b[c].object.visible=!1}},toJSON:function(a){a=D.prototype.toJSON.call(this,a);!1===this.autoUpdate&&(a.object.autoUpdate=!1);a.object.levels=[];for(var b=this.levels,c=0,d=b.length;c<d;c++){var e=b[c];a.object.levels.push({object:e.object.uuid,distance:e.distance})}return a}});Td.prototype=Object.assign(Object.create(ca.prototype),{constructor:Td,isSkinnedMesh:!0,bind:function(a,b){this.skeleton=a;void 0===b&&(this.updateMatrixWorld(!0),
this.skeleton.calculateInverses(),b=this.matrixWorld);this.bindMatrix.copy(b);this.bindMatrixInverse.getInverse(b)},pose:function(){this.skeleton.pose()},normalizeSkinWeights:function(){for(var a=new S,b=this.geometry.attributes.skinWeight,c=0,d=b.count;c<d;c++){a.x=b.getX(c);a.y=b.getY(c);a.z=b.getZ(c);a.w=b.getW(c);var e=1/a.manhattanLength();Infinity!==e?a.multiplyScalar(e):a.set(1,0,0,0);b.setXYZW(c,a.x,a.y,a.z,a.w)}},updateMatrixWorld:function(a){ca.prototype.updateMatrixWorld.call(this,a);"attached"===
this.bindMode?this.bindMatrixInverse.getInverse(this.matrixWorld):"detached"===this.bindMode?this.bindMatrixInverse.getInverse(this.bindMatrix):console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var Ri=new P,Yk=new P;Object.assign(Te.prototype,{calculateInverses:function(){this.boneInverses=[];for(var a=0,b=this.bones.length;a<b;a++){var c=new P;this.bones[a]&&c.getInverse(this.bones[a].matrixWorld);
this.boneInverses.push(c)}},pose:function(){var a,b;var c=0;for(b=this.bones.length;c<b;c++)(a=this.bones[c])&&a.matrixWorld.getInverse(this.boneInverses[c]);c=0;for(b=this.bones.length;c<b;c++)if(a=this.bones[c])a.parent&&a.parent.isBone?(a.matrix.getInverse(a.parent.matrixWorld),a.matrix.multiply(a.matrixWorld)):a.matrix.copy(a.matrixWorld),a.matrix.decompose(a.position,a.quaternion,a.scale)},update:function(){for(var a=this.bones,b=this.boneInverses,c=this.boneMatrices,d=this.boneTexture,e=0,f=
a.length;e<f;e++)Ri.multiplyMatrices(a[e]?a[e].matrixWorld:Yk,b[e]),Ri.toArray(c,16*e);void 0!==d&&(d.needsUpdate=!0)},clone:function(){return new Te(this.bones,this.boneInverses)},getBoneByName:function(a){for(var b=0,c=this.bones.length;b<c;b++){var d=this.bones[b];if(d.name===a)return d}}});qg.prototype=Object.assign(Object.create(D.prototype),{constructor:qg,isBone:!0});var Si=new P,Ti=new P,yd=[],Ge=new ca;Ue.prototype=Object.assign(Object.create(ca.prototype),{constructor:Ue,isInstancedMesh:!0,
getMatrixAt:function(a,b){b.fromArray(this.instanceMatrix.array,16*a)},raycast:function(a,b){var c=this.matrixWorld,d=this.count;Ge.geometry=this.geometry;Ge.material=this.material;if(void 0!==Ge.material)for(var e=0;e<d;e++)this.getMatrixAt(e,Si),Ti.multiplyMatrices(c,Si),Ge.matrixWorld=Ti,Ge.raycast(a,yd),0<yd.length&&(yd[0].instanceId=e,yd[0].object=this,b.push(yd[0]),yd.length=0)},setMatrixAt:function(a,b){b.toArray(this.instanceMatrix.array,16*a)},updateMorphTargets:function(){}});ja.prototype=
Object.create(L.prototype);ja.prototype.constructor=ja;ja.prototype.isLineBasicMaterial=!0;ja.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.linewidth=a.linewidth;this.linecap=a.linecap;this.linejoin=a.linejoin;return this};var Ui=new n,Vi=new n,Wi=new P,Pf=new Wb,He=new qb;Ja.prototype=Object.assign(Object.create(D.prototype),{constructor:Ja,isLine:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,
c=[0],d=1,e=b.count;d<e;d++)Ui.fromBufferAttribute(b,d-1),Vi.fromBufferAttribute(b,d),c[d]=c[d-1],c[d]+=Ui.distanceTo(Vi);a.setAttribute("lineDistance",new C(c,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,c=a.lineDistances,c[0]=0,d=1,e=b.length;d<e;d++)c[d]=c[d-1],c[d]+=b[d-1].distanceTo(b[d]);return this},raycast:function(a,b){var c=a.linePrecision,d=this.geometry,e=this.matrixWorld;null===
d.boundingSphere&&d.computeBoundingSphere();He.copy(d.boundingSphere);He.applyMatrix4(e);He.radius+=c;if(!1!==a.ray.intersectsSphere(He)){Wi.getInverse(e);Pf.copy(a.ray).applyMatrix4(Wi);c/=(this.scale.x+this.scale.y+this.scale.z)/3;c*=c;var f=new n,g=new n;e=new n;var k=new n,h=this&&this.isLineSegments?2:1;if(d.isBufferGeometry){var m=d.index,v=d.attributes.position.array;if(null!==m){m=m.array;d=0;for(var p=m.length-1;d<p;d+=h){var q=m[d+1];f.fromArray(v,3*m[d]);g.fromArray(v,3*q);q=Pf.distanceSqToSegment(f,
g,k,e);q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}}else for(d=0,p=v.length/3-1;d<p;d+=h)f.fromArray(v,3*d),g.fromArray(v,3*d+3),q=Pf.distanceSqToSegment(f,g,k,e),q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,
object:this}))}else if(d.isGeometry)for(f=d.vertices,g=f.length,d=0;d<g-1;d+=h)q=Pf.distanceSqToSegment(f[d],f[d+1],k,e),q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var Qf=new n,Rf=new n;la.prototype=Object.assign(Object.create(Ja.prototype),{constructor:la,
isLineSegments:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,c=[],d=0,e=b.count;d<e;d+=2)Qf.fromBufferAttribute(b,d),Rf.fromBufferAttribute(b,d+1),c[d]=0===d?0:c[d-1],c[d+1]=c[d]+Qf.distanceTo(Rf);a.setAttribute("lineDistance",new C(c,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,c=a.lineDistances,d=
0,e=b.length;d<e;d+=2)Qf.copy(b[d]),Rf.copy(b[d+1]),c[d]=0===d?0:c[d-1],c[d+1]=c[d]+Qf.distanceTo(Rf);return this}});Ve.prototype=Object.assign(Object.create(Ja.prototype),{constructor:Ve,isLineLoop:!0});Va.prototype=Object.create(L.prototype);Va.prototype.constructor=Va;Va.prototype.isPointsMaterial=!0;Va.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=a.alphaMap;this.size=a.size;this.sizeAttenuation=a.sizeAttenuation;this.morphTargets=
a.morphTargets;return this};var Xi=new P,sg=new Wb,Ie=new qb,Sf=new n;Oc.prototype=Object.assign(Object.create(D.prototype),{constructor:Oc,isPoints:!0,raycast:function(a,b){var c=this.geometry,d=this.matrixWorld,e=a.params.Points.threshold;null===c.boundingSphere&&c.computeBoundingSphere();Ie.copy(c.boundingSphere);Ie.applyMatrix4(d);Ie.radius+=e;if(!1!==a.ray.intersectsSphere(Ie))if(Xi.getInverse(d),sg.copy(a.ray).applyMatrix4(Xi),e/=(this.scale.x+this.scale.y+this.scale.z)/3,e*=e,c.isBufferGeometry){var f=
c.index;c=c.attributes.position.array;if(null!==f){var g=f.array;f=0;for(var k=g.length;f<k;f++){var h=g[f];Sf.fromArray(c,3*h);rg(Sf,h,e,d,a,b,this)}}else for(f=0,g=c.length/3;f<g;f++)Sf.fromArray(c,3*f),rg(Sf,f,e,d,a,b,this)}else for(c=c.vertices,f=0,g=c.length;f<g;f++)rg(c[f],f,e,d,a,b,this)},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length){var c=a[b[0]];if(void 0!==c)for(this.morphTargetInfluences=[],this.morphTargetDictionary=
{},a=0,b=c.length;a<b;a++){var d=c[a].name||String(a);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=a}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});tg.prototype=Object.assign(Object.create(T.prototype),{constructor:tg,isVideoTexture:!0,update:function(){var a=this.image;a.readyState>=
a.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}});Pc.prototype=Object.create(T.prototype);Pc.prototype.constructor=Pc;Pc.prototype.isCompressedTexture=!0;Ud.prototype=Object.create(T.prototype);Ud.prototype.constructor=Ud;Ud.prototype.isCanvasTexture=!0;Vd.prototype=Object.create(T.prototype);Vd.prototype.constructor=Vd;Vd.prototype.isDepthTexture=!0;Qc.prototype=Object.create(G.prototype);Qc.prototype.constructor=Qc;Wd.prototype=Object.create(M.prototype);Wd.prototype.constructor=Wd;Rc.prototype=Object.create(G.prototype);
Rc.prototype.constructor=Rc;Xd.prototype=Object.create(M.prototype);Xd.prototype.constructor=Xd;Ga.prototype=Object.create(G.prototype);Ga.prototype.constructor=Ga;Yd.prototype=Object.create(M.prototype);Yd.prototype.constructor=Yd;Sc.prototype=Object.create(Ga.prototype);Sc.prototype.constructor=Sc;Zd.prototype=Object.create(M.prototype);Zd.prototype.constructor=Zd;ec.prototype=Object.create(Ga.prototype);ec.prototype.constructor=ec;$d.prototype=Object.create(M.prototype);$d.prototype.constructor=
$d;Tc.prototype=Object.create(Ga.prototype);Tc.prototype.constructor=Tc;ae.prototype=Object.create(M.prototype);ae.prototype.constructor=ae;Uc.prototype=Object.create(Ga.prototype);Uc.prototype.constructor=Uc;be.prototype=Object.create(M.prototype);be.prototype.constructor=be;fc.prototype=Object.create(G.prototype);fc.prototype.constructor=fc;fc.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);a.path=this.parameters.path.toJSON();return a};ce.prototype=Object.create(M.prototype);ce.prototype.constructor=
ce;Vc.prototype=Object.create(G.prototype);Vc.prototype.constructor=Vc;de.prototype=Object.create(M.prototype);de.prototype.constructor=de;Wc.prototype=Object.create(G.prototype);Wc.prototype.constructor=Wc;var Zk={triangulate:function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=Zh(a,0,e,c,!0),g=[];if(!f||f.next===f.prev)return g;var k;if(d){var h=c;d=[];var m;var n=0;for(m=b.length;n<m;n++){var p=b[n]*h;var q=n<m-1?b[n+1]*h:a.length;p=Zh(a,p,q,h,!1);p===p.next&&(p.steiner=!0);d.push(Kk(p))}d.sort(Ik);
for(n=0;n<d.length;n++){b=d[n];h=f;if(h=Jk(b,h))b=bi(h,b),fe(b,b.next);f=fe(f,f.next)}}if(a.length>80*c){var t=k=a[0];var r=d=a[1];for(h=c;h<e;h+=c)n=a[h],b=a[h+1],n<t&&(t=n),b<r&&(r=b),n>k&&(k=n),b>d&&(d=b);k=Math.max(k-t,d-r);k=0!==k?1/k:0}ge(f,g,c,t,r,k);return g}},tb={area:function(a){for(var b=a.length,c=0,d=b-1,e=0;e<b;d=e++)c+=a[d].x*a[e].y-a[e].x*a[d].y;return.5*c},isClockWise:function(a){return 0>tb.area(a)},triangulateShape:function(a,b){var c=[],d=[],e=[];ci(a);di(c,a);var f=a.length;b.forEach(ci);
for(a=0;a<b.length;a++)d.push(f),f+=b[a].length,di(c,b[a]);b=Zk.triangulate(c,d);for(a=0;a<b.length;a+=3)e.push(b.slice(a,a+3));return e}};hc.prototype=Object.create(M.prototype);hc.prototype.constructor=hc;hc.prototype.toJSON=function(){var a=M.prototype.toJSON.call(this);return ei(this.parameters.shapes,this.parameters.options,a)};gb.prototype=Object.create(G.prototype);gb.prototype.constructor=gb;gb.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);return ei(this.parameters.shapes,
this.parameters.options,a)};var Lk={generateTopUV:function(a,b,c,d,e){a=b[3*d];d=b[3*d+1];var f=b[3*e];e=b[3*e+1];return[new x(b[3*c],b[3*c+1]),new x(a,d),new x(f,e)]},generateSideWallUV:function(a,b,c,d,e,f){a=b[3*c];var g=b[3*c+1];c=b[3*c+2];var k=b[3*d],h=b[3*d+1];d=b[3*d+2];var m=b[3*e],n=b[3*e+1];e=b[3*e+2];var p=b[3*f],q=b[3*f+1];b=b[3*f+2];return.01>Math.abs(g-h)?[new x(a,1-c),new x(k,1-d),new x(m,1-e),new x(p,1-b)]:[new x(g,1-c),new x(h,1-d),new x(n,1-e),new x(q,1-b)]}};ie.prototype=Object.create(M.prototype);
ie.prototype.constructor=ie;Yc.prototype=Object.create(gb.prototype);Yc.prototype.constructor=Yc;je.prototype=Object.create(M.prototype);je.prototype.constructor=je;ic.prototype=Object.create(G.prototype);ic.prototype.constructor=ic;ke.prototype=Object.create(M.prototype);ke.prototype.constructor=ke;Zc.prototype=Object.create(G.prototype);Zc.prototype.constructor=Zc;le.prototype=Object.create(M.prototype);le.prototype.constructor=le;$c.prototype=Object.create(G.prototype);$c.prototype.constructor=
$c;jc.prototype=Object.create(M.prototype);jc.prototype.constructor=jc;jc.prototype.toJSON=function(){var a=M.prototype.toJSON.call(this);return fi(this.parameters.shapes,a)};kc.prototype=Object.create(G.prototype);kc.prototype.constructor=kc;kc.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);return fi(this.parameters.shapes,a)};ad.prototype=Object.create(G.prototype);ad.prototype.constructor=ad;lc.prototype=Object.create(M.prototype);lc.prototype.constructor=lc;ub.prototype=Object.create(G.prototype);
ub.prototype.constructor=ub;me.prototype=Object.create(lc.prototype);me.prototype.constructor=me;ne.prototype=Object.create(ub.prototype);ne.prototype.constructor=ne;oe.prototype=Object.create(M.prototype);oe.prototype.constructor=oe;bd.prototype=Object.create(G.prototype);bd.prototype.constructor=bd;var ua=Object.freeze({__proto__:null,WireframeGeometry:Qc,ParametricGeometry:Wd,ParametricBufferGeometry:Rc,TetrahedronGeometry:Yd,TetrahedronBufferGeometry:Sc,OctahedronGeometry:Zd,OctahedronBufferGeometry:ec,
IcosahedronGeometry:$d,IcosahedronBufferGeometry:Tc,DodecahedronGeometry:ae,DodecahedronBufferGeometry:Uc,PolyhedronGeometry:Xd,PolyhedronBufferGeometry:Ga,TubeGeometry:be,TubeBufferGeometry:fc,TorusKnotGeometry:ce,TorusKnotBufferGeometry:Vc,TorusGeometry:de,TorusBufferGeometry:Wc,TextGeometry:ie,TextBufferGeometry:Yc,SphereGeometry:je,SphereBufferGeometry:ic,RingGeometry:ke,RingBufferGeometry:Zc,PlaneGeometry:Id,PlaneBufferGeometry:dc,LatheGeometry:le,LatheBufferGeometry:$c,ShapeGeometry:jc,ShapeBufferGeometry:kc,
ExtrudeGeometry:hc,ExtrudeBufferGeometry:gb,EdgesGeometry:ad,ConeGeometry:me,ConeBufferGeometry:ne,CylinderGeometry:lc,CylinderBufferGeometry:ub,CircleGeometry:oe,CircleBufferGeometry:bd,BoxGeometry:lh,BoxBufferGeometry:Jd});mc.prototype=Object.create(L.prototype);mc.prototype.constructor=mc;mc.prototype.isShadowMaterial=!0;mc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);return this};vb.prototype=Object.create(oa.prototype);vb.prototype.constructor=vb;vb.prototype.isRawShaderMaterial=
!0;hb.prototype=Object.create(L.prototype);hb.prototype.constructor=hb;hb.prototype.isMeshStandardMaterial=!0;hb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.defines={STANDARD:""};this.color.copy(a.color);this.roughness=a.roughness;this.metalness=a.metalness;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;
this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.roughnessMap=a.roughnessMap;this.metalnessMap=a.metalnessMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.envMapIntensity=a.envMapIntensity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=
a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};nc.prototype=Object.create(hb.prototype);nc.prototype.constructor=nc;nc.prototype.isMeshPhysicalMaterial=!0;nc.prototype.copy=function(a){hb.prototype.copy.call(this,a);this.defines={STANDARD:"",PHYSICAL:""};this.reflectivity=a.reflectivity;this.clearcoat=a.clearcoat;this.clearcoatRoughness=
a.clearcoatRoughness;this.sheen=a.sheen?(this.sheen||new y).copy(a.sheen):null;this.clearcoatNormalMap=a.clearcoatNormalMap;this.clearcoatNormalScale.copy(a.clearcoatNormalScale);this.transparency=a.transparency;return this};Kb.prototype=Object.create(L.prototype);Kb.prototype.constructor=Kb;Kb.prototype.isMeshPhongMaterial=!0;Kb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.lightMap=
a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=
a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};oc.prototype=Object.create(L.prototype);oc.prototype.constructor=oc;oc.prototype.isMeshToonMaterial=
!0;oc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.gradientMap=a.gradientMap;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=
a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};pc.prototype=
Object.create(L.prototype);pc.prototype.constructor=pc;pc.prototype.isMeshNormalMaterial=!0;pc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.skinning=
a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};qc.prototype=Object.create(L.prototype);qc.prototype.constructor=qc;qc.prototype.isMeshLambertMaterial=!0;qc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=
a.emissiveIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};rc.prototype=Object.create(L.prototype);rc.prototype.constructor=
rc;rc.prototype.isMeshMatcapMaterial=!0;rc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.defines={MATCAP:""};this.color.copy(a.color);this.matcap=a.matcap;this.map=a.map;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.alphaMap=a.alphaMap;this.skinning=a.skinning;
this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};sc.prototype=Object.create(ja.prototype);sc.prototype.constructor=sc;sc.prototype.isLineDashedMaterial=!0;sc.prototype.copy=function(a){ja.prototype.copy.call(this,a);this.scale=a.scale;this.dashSize=a.dashSize;this.gapSize=a.gapSize;return this};var $k=Object.freeze({__proto__:null,ShadowMaterial:mc,SpriteMaterial:Jb,RawShaderMaterial:vb,ShaderMaterial:oa,PointsMaterial:Va,MeshPhysicalMaterial:nc,MeshStandardMaterial:hb,
MeshPhongMaterial:Kb,MeshToonMaterial:oc,MeshNormalMaterial:pc,MeshLambertMaterial:qc,MeshDepthMaterial:Gb,MeshDistanceMaterial:Hb,MeshBasicMaterial:Oa,MeshMatcapMaterial:rc,LineDashedMaterial:sc,LineBasicMaterial:ja,Material:L}),ea={arraySlice:function(a,b,c){return ea.isTypedArray(a)?new a.constructor(a.subarray(b,void 0!==c?c:a.length)):a.slice(b,c)},convertArray:function(a,b,c){return!a||!c&&a.constructor===b?a:"number"===typeof b.BYTES_PER_ELEMENT?new b(a):Array.prototype.slice.call(a)},isTypedArray:function(a){return ArrayBuffer.isView(a)&&
!(a instanceof DataView)},getKeyframeOrder:function(a){for(var b=a.length,c=Array(b),d=0;d!==b;++d)c[d]=d;c.sort(function(b,c){return a[b]-a[c]});return c},sortedArray:function(a,b,c){for(var d=a.length,e=new a.constructor(d),f=0,g=0;g!==d;++f)for(var k=c[f]*b,h=0;h!==b;++h)e[g++]=a[k+h];return e},flattenJSON:function(a,b,c,d){for(var e=1,f=a[0];void 0!==f&&void 0===f[d];)f=a[e++];if(void 0!==f){var g=f[d];if(void 0!==g)if(Array.isArray(g)){do g=f[d],void 0!==g&&(b.push(f.time),c.push.apply(c,g)),
f=a[e++];while(void 0!==f)}else if(void 0!==g.toArray){do g=f[d],void 0!==g&&(b.push(f.time),g.toArray(c,c.length)),f=a[e++];while(void 0!==f)}else{do g=f[d],void 0!==g&&(b.push(f.time),c.push(g)),f=a[e++];while(void 0!==f)}}},subclip:function(a,b,c,d,e){e=e||30;a=a.clone();a.name=b;var f=[];for(b=0;b<a.tracks.length;++b){for(var g=a.tracks[b],k=g.getValueSize(),h=[],m=[],n=0;n<g.times.length;++n){var p=g.times[n]*e;if(!(p<c||p>=d))for(h.push(g.times[n]),p=0;p<k;++p)m.push(g.values[n*k+p])}0!==h.length&&
(g.times=ea.convertArray(h,g.times.constructor),g.values=ea.convertArray(m,g.values.constructor),f.push(g))}a.tracks=f;c=Infinity;for(b=0;b<a.tracks.length;++b)c>a.tracks[b].times[0]&&(c=a.tracks[b].times[0]);for(b=0;b<a.tracks.length;++b)a.tracks[b].shift(-1*c);a.resetDuration();return a}};Object.assign(Ka.prototype,{evaluate:function(a){var b=this.parameterPositions,c=this._cachedIndex,d=b[c],e=b[c-1];a:{b:{c:{d:if(!(a<d)){for(var f=c+2;;){if(void 0===d){if(a<e)break d;this._cachedIndex=c=b.length;
return this.afterEnd_(c-1,a,e)}if(c===f)break;e=d;d=b[++c];if(a<d)break b}d=b.length;break c}if(a>=e)break a;else{f=b[1];a<f&&(c=2,e=f);for(f=c-2;;){if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(c===f)break;d=e;e=b[--c-1];if(a>=e)break b}d=c;c=0}}for(;c<d;)e=c+d>>>1,a<b[e]?d=e:c=e+1;d=b[c];e=b[c-1];if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(void 0===d)return this._cachedIndex=c=b.length,this.afterEnd_(c-1,e,a)}this._cachedIndex=c;this.intervalChanged_(c,
e,d)}return this.interpolate_(c,e,a,d)},settings:null,DefaultSettings_:{},getSettings_:function(){return this.settings||this.DefaultSettings_},copySampleValue_:function(a){var b=this.resultBuffer,c=this.sampleValues,d=this.valueSize;a*=d;for(var e=0;e!==d;++e)b[e]=c[a+e];return b},interpolate_:function(){throw Error("call to abstract method");},intervalChanged_:function(){}});Object.assign(Ka.prototype,{beforeStart_:Ka.prototype.copySampleValue_,afterEnd_:Ka.prototype.copySampleValue_});We.prototype=
Object.assign(Object.create(Ka.prototype),{constructor:We,DefaultSettings_:{endingStart:2400,endingEnd:2400},intervalChanged_:function(a,b,c){var d=this.parameterPositions,e=a-2,f=a+1,g=d[e],k=d[f];if(void 0===g)switch(this.getSettings_().endingStart){case 2401:e=a;g=2*b-c;break;case 2402:e=d.length-2;g=b+d[e]-d[e+1];break;default:e=a,g=c}if(void 0===k)switch(this.getSettings_().endingEnd){case 2401:f=a;k=2*c-b;break;case 2402:f=1;k=c+d[1]-d[0];break;default:f=a-1,k=b}a=.5*(c-b);d=this.valueSize;
this._weightPrev=a/(b-g);this._weightNext=a/(k-c);this._offsetPrev=e*d;this._offsetNext=f*d},interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var k=a-g,h=this._offsetPrev,m=this._offsetNext,n=this._weightPrev,p=this._weightNext,q=(c-b)/(d-b);c=q*q;d=c*q;b=-n*d+2*n*c-n*q;n=(1+n)*d+(-1.5-2*n)*c+(-.5+n)*q+1;q=(-1-p)*d+(1.5+p)*c+.5*q;p=p*d-p*c;for(c=0;c!==g;++c)e[c]=b*f[h+c]+n*f[k+c]+q*f[a+c]+p*f[m+c];return e}});pe.prototype=Object.assign(Object.create(Ka.prototype),
{constructor:pe,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var k=a-g;b=(c-b)/(d-b);c=1-b;for(d=0;d!==g;++d)e[d]=f[k+d]*c+f[a+d]*b;return e}});Xe.prototype=Object.assign(Object.create(Ka.prototype),{constructor:Xe,interpolate_:function(a){return this.copySampleValue_(a-1)}});Object.assign(ra,{toJSON:function(a){var b=a.constructor;if(void 0!==b.toJSON)b=b.toJSON(a);else{b={name:a.name,times:ea.convertArray(a.times,Array),values:ea.convertArray(a.values,
Array)};var c=a.getInterpolation();c!==a.DefaultInterpolation&&(b.interpolation=c)}b.type=a.ValueTypeName;return b}});Object.assign(ra.prototype,{constructor:ra,TimeBufferType:Float32Array,ValueBufferType:Float32Array,DefaultInterpolation:2301,InterpolantFactoryMethodDiscrete:function(a){return new Xe(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodLinear:function(a){return new pe(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodSmooth:function(a){return new We(this.times,
this.values,this.getValueSize(),a)},setInterpolation:function(a){switch(a){case 2300:var b=this.InterpolantFactoryMethodDiscrete;break;case 2301:b=this.InterpolantFactoryMethodLinear;break;case 2302:b=this.InterpolantFactoryMethodSmooth}if(void 0===b){b="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant)if(a!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw Error(b);console.warn("THREE.KeyframeTrack:",
b);return this}this.createInterpolant=b;return this},getInterpolation:function(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return 2300;case this.InterpolantFactoryMethodLinear:return 2301;case this.InterpolantFactoryMethodSmooth:return 2302}},getValueSize:function(){return this.values.length/this.times.length},shift:function(a){if(0!==a)for(var b=this.times,c=0,d=b.length;c!==d;++c)b[c]+=a;return this},scale:function(a){if(1!==a)for(var b=this.times,c=0,d=b.length;c!==
d;++c)b[c]*=a;return this},trim:function(a,b){for(var c=this.times,d=c.length,e=0,f=d-1;e!==d&&c[e]<a;)++e;for(;-1!==f&&c[f]>b;)--f;++f;if(0!==e||f!==d)e>=f&&(f=Math.max(f,1),e=f-1),a=this.getValueSize(),this.times=ea.arraySlice(c,e,f),this.values=ea.arraySlice(this.values,e*a,f*a);return this},validate:function(){var a=!0,b=this.getValueSize();0!==b-Math.floor(b)&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),a=!1);var c=this.times;b=this.values;var d=c.length;0===d&&(console.error("THREE.KeyframeTrack: Track is empty.",
this),a=!1);for(var e=null,f=0;f!==d;f++){var g=c[f];if("number"===typeof g&&isNaN(g)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,f,g);a=!1;break}if(null!==e&&e>g){console.error("THREE.KeyframeTrack: Out of order keys.",this,f,g,e);a=!1;break}e=g}if(void 0!==b&&ea.isTypedArray(b))for(f=0,c=b.length;f!==c;++f)if(d=b[f],isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,f,d);a=!1;break}return a},optimize:function(){for(var a=this.times,b=this.values,
c=this.getValueSize(),d=2302===this.getInterpolation(),e=1,f=a.length-1,g=1;g<f;++g){var k=!1,h=a[g];if(h!==a[g+1]&&(1!==g||h!==h[0]))if(d)k=!0;else{var m=g*c,n=m-c,p=m+c;for(h=0;h!==c;++h){var q=b[m+h];if(q!==b[n+h]||q!==b[p+h]){k=!0;break}}}if(k){if(g!==e)for(a[e]=a[g],k=g*c,m=e*c,h=0;h!==c;++h)b[m+h]=b[k+h];++e}}if(0<f){a[e]=a[f];k=f*c;m=e*c;for(h=0;h!==c;++h)b[m+h]=b[k+h];++e}e!==a.length&&(this.times=ea.arraySlice(a,0,e),this.values=ea.arraySlice(b,0,e*c));return this},clone:function(){var a=
ea.arraySlice(this.times,0),b=ea.arraySlice(this.values,0);a=new this.constructor(this.name,a,b);a.createInterpolant=this.createInterpolant;return a}});Ye.prototype=Object.assign(Object.create(ra.prototype),{constructor:Ye,ValueTypeName:"bool",ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});Ze.prototype=Object.assign(Object.create(ra.prototype),{constructor:Ze,ValueTypeName:"color"});cd.prototype=Object.assign(Object.create(ra.prototype),
{constructor:cd,ValueTypeName:"number"});$e.prototype=Object.assign(Object.create(Ka.prototype),{constructor:$e,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;b=(c-b)/(d-b);for(c=a+g;a!==c;a+=4)Da.slerpFlat(e,0,f,a-g,f,a,b);return e}});qe.prototype=Object.assign(Object.create(ra.prototype),{constructor:qe,ValueTypeName:"quaternion",DefaultInterpolation:2301,InterpolantFactoryMethodLinear:function(a){return new $e(this.times,this.values,this.getValueSize(),
a)},InterpolantFactoryMethodSmooth:void 0});af.prototype=Object.assign(Object.create(ra.prototype),{constructor:af,ValueTypeName:"string",ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});dd.prototype=Object.assign(Object.create(ra.prototype),{constructor:dd,ValueTypeName:"vector"});Object.assign(Qa,{parse:function(a){for(var b=[],c=a.tracks,d=1/(a.fps||1),e=0,f=c.length;e!==f;++e)b.push(Nk(c[e]).scale(d));return new Qa(a.name,
a.duration,b)},toJSON:function(a){var b=[],c=a.tracks;a={name:a.name,duration:a.duration,tracks:b,uuid:a.uuid};for(var d=0,e=c.length;d!==e;++d)b.push(ra.toJSON(c[d]));return a},CreateFromMorphTargetSequence:function(a,b,c,d){for(var e=b.length,f=[],g=0;g<e;g++){var k=[],h=[];k.push((g+e-1)%e,g,(g+1)%e);h.push(0,1,0);var m=ea.getKeyframeOrder(k);k=ea.sortedArray(k,1,m);h=ea.sortedArray(h,1,m);d||0!==k[0]||(k.push(e),h.push(h[0]));f.push((new cd(".morphTargetInfluences["+b[g].name+"]",k,h)).scale(1/
c))}return new Qa(a,-1,f)},findByName:function(a,b){var c=a;Array.isArray(a)||(c=a.geometry&&a.geometry.animations||a.animations);for(a=0;a<c.length;a++)if(c[a].name===b)return c[a];return null},CreateClipsFromMorphTargetSequences:function(a,b,c){for(var d={},e=/^([\w-]*?)([\d]+)$/,f=0,g=a.length;f<g;f++){var k=a[f],h=k.name.match(e);if(h&&1<h.length){var m=h[1];(h=d[m])||(d[m]=h=[]);h.push(k)}}a=[];for(m in d)a.push(Qa.CreateFromMorphTargetSequence(m,d[m],b,c));return a},parseAnimation:function(a,
b){if(!a)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;var c=function(a,b,c,d,e){if(0!==c.length){var f=[],g=[];ea.flattenJSON(c,f,g,d);0!==f.length&&e.push(new a(b,f,g))}},d=[],e=a.name||"default",f=a.length||-1,g=a.fps||30;a=a.hierarchy||[];for(var k=0;k<a.length;k++){var h=a[k].keys;if(h&&0!==h.length)if(h[0].morphTargets){f={};for(var m=0;m<h.length;m++)if(h[m].morphTargets)for(var n=0;n<h[m].morphTargets.length;n++)f[h[m].morphTargets[n]]=-1;for(var p in f){var q=
[],t=[];for(n=0;n!==h[m].morphTargets.length;++n){var r=h[m];q.push(r.time);t.push(r.morphTarget===p?1:0)}d.push(new cd(".morphTargetInfluence["+p+"]",q,t))}f=f.length*(g||1)}else m=".bones["+b[k].name+"]",c(dd,m+".position",h,"pos",d),c(qe,m+".quaternion",h,"rot",d),c(dd,m+".scale",h,"scl",d)}return 0===d.length?null:new Qa(e,f,d)}});Object.assign(Qa.prototype,{resetDuration:function(){for(var a=0,b=0,c=this.tracks.length;b!==c;++b){var d=this.tracks[b];a=Math.max(a,d.times[d.times.length-1])}this.duration=
a;return this},trim:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].trim(0,this.duration);return this},validate:function(){for(var a=!0,b=0;b<this.tracks.length;b++)a=a&&this.tracks[b].validate();return a},optimize:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].optimize();return this},clone:function(){for(var a=[],b=0;b<this.tracks.length;b++)a.push(this.tracks[b].clone());return new Qa(this.name,this.duration,a)}});var xc={enabled:!1,files:{},add:function(a,b){!1!==
this.enabled&&(this.files[a]=b)},get:function(a){if(!1!==this.enabled)return this.files[a]},remove:function(a){delete this.files[a]},clear:function(){this.files={}}},gi=new wg;Object.assign(Q.prototype,{load:function(){},parse:function(){},setCrossOrigin:function(a){this.crossOrigin=a;return this},setPath:function(a){this.path=a;return this},setResourcePath:function(a){this.resourcePath=a;return this}});var cb={};Ra.prototype=Object.assign(Object.create(Q.prototype),{constructor:Ra,load:function(a,
b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var e=this,f=xc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;if(void 0!==cb[a])cb[a].push({onLoad:b,onProgress:c,onError:d});else{var g=a.match(/^data:(.*?)(;base64)?,(.*)$/);if(g){c=g[1];var k=!!g[2];g=g[3];g=decodeURIComponent(g);k&&(g=atob(g));try{var h=(this.responseType||"").toLowerCase();switch(h){case "arraybuffer":case "blob":var m=new Uint8Array(g.length);
for(k=0;k<g.length;k++)m[k]=g.charCodeAt(k);var n="blob"===h?new Blob([m.buffer],{type:c}):m.buffer;break;case "document":n=(new DOMParser).parseFromString(g,c);break;case "json":n=JSON.parse(g);break;default:n=g}setTimeout(function(){b&&b(n);e.manager.itemEnd(a)},0)}catch(q){setTimeout(function(){d&&d(q);e.manager.itemError(a);e.manager.itemEnd(a)},0)}}else{cb[a]=[];cb[a].push({onLoad:b,onProgress:c,onError:d});var p=new XMLHttpRequest;p.open("GET",a,!0);p.addEventListener("load",function(b){var c=
this.response,d=cb[a];delete cb[a];if(200===this.status||0===this.status){0===this.status&&console.warn("THREE.FileLoader: HTTP Status 0 received.");xc.add(a,c);for(var f=0,g=d.length;f<g;f++){var k=d[f];if(k.onLoad)k.onLoad(c)}}else{f=0;for(g=d.length;f<g;f++)if(k=d[f],k.onError)k.onError(b);e.manager.itemError(a)}e.manager.itemEnd(a)},!1);p.addEventListener("progress",function(b){for(var c=cb[a],d=0,e=c.length;d<e;d++){var f=c[d];if(f.onProgress)f.onProgress(b)}},!1);p.addEventListener("error",
function(b){var c=cb[a];delete cb[a];for(var d=0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);p.addEventListener("abort",function(b){var c=cb[a];delete cb[a];for(var d=0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);void 0!==this.responseType&&(p.responseType=this.responseType);void 0!==this.withCredentials&&(p.withCredentials=this.withCredentials);p.overrideMimeType&&p.overrideMimeType(void 0!==
this.mimeType?this.mimeType:"text/plain");for(k in this.requestHeader)p.setRequestHeader(k,this.requestHeader[k]);p.send(null)}e.manager.itemStart(a);return p}},setResponseType:function(a){this.responseType=a;return this},setWithCredentials:function(a){this.withCredentials=a;return this},setMimeType:function(a){this.mimeType=a;return this},setRequestHeader:function(a){this.requestHeader=a;return this}});xg.prototype=Object.assign(Object.create(Q.prototype),{constructor:xg,load:function(a,b,c,d){var e=
this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){for(var b=[],c=0;c<a.length;c++){var d=Qa.parse(a[c]);b.push(d)}return b}});yg.prototype=Object.assign(Object.create(Q.prototype),{constructor:yg,load:function(a,b,c,d){function e(e){h.load(a[e],function(a){a=f.parse(a,!0);g[e]={width:a.width,height:a.height,format:a.format,mipmaps:a.mipmaps};m+=1;6===m&&(1===a.mipmapCount&&(k.minFilter=1006),k.format=a.format,k.needsUpdate=!0,b&&b(k))},
c,d)}var f=this,g=[],k=new Pc;k.image=g;var h=new Ra(this.manager);h.setPath(this.path);h.setResponseType("arraybuffer");if(Array.isArray(a))for(var m=0,n=0,p=a.length;n<p;++n)e(n);else h.load(a,function(a){a=f.parse(a,!0);if(a.isCubemap)for(var c=a.mipmaps.length/a.mipmapCount,d=0;d<c;d++){g[d]={mipmaps:[]};for(var e=0;e<a.mipmapCount;e++)g[d].mipmaps.push(a.mipmaps[d*a.mipmapCount+e]),g[d].format=a.format,g[d].width=a.width,g[d].height=a.height}else k.image.width=a.width,k.image.height=a.height,
k.mipmaps=a.mipmaps;1===a.mipmapCount&&(k.minFilter=1006);k.format=a.format;k.needsUpdate=!0;b&&b(k)},c,d);return k}});bf.prototype=Object.assign(Object.create(Q.prototype),{constructor:bf,load:function(a,b,c,d){var e=this,f=new cc,g=new Ra(this.manager);g.setResponseType("arraybuffer");g.setPath(this.path);g.load(a,function(a){if(a=e.parse(a))void 0!==a.image?f.image=a.image:void 0!==a.data&&(f.image.width=a.width,f.image.height=a.height,f.image.data=a.data),f.wrapS=void 0!==a.wrapS?a.wrapS:1001,
f.wrapT=void 0!==a.wrapT?a.wrapT:1001,f.magFilter=void 0!==a.magFilter?a.magFilter:1006,f.minFilter=void 0!==a.minFilter?a.minFilter:1006,f.anisotropy=void 0!==a.anisotropy?a.anisotropy:1,void 0!==a.format&&(f.format=a.format),void 0!==a.type&&(f.type=a.type),void 0!==a.mipmaps&&(f.mipmaps=a.mipmaps,f.minFilter=1008),1===a.mipmapCount&&(f.minFilter=1006),f.needsUpdate=!0,b&&b(f,a)},c,d);return f}});ed.prototype=Object.assign(Object.create(Q.prototype),{constructor:ed,load:function(a,b,c,d){function e(){h.removeEventListener("load",
e,!1);h.removeEventListener("error",f,!1);xc.add(a,this);b&&b(this);g.manager.itemEnd(a)}function f(b){h.removeEventListener("load",e,!1);h.removeEventListener("error",f,!1);d&&d(b);g.manager.itemError(a);g.manager.itemEnd(a)}void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var g=this,k=xc.get(a);if(void 0!==k)return g.manager.itemStart(a),setTimeout(function(){b&&b(k);g.manager.itemEnd(a)},0),k;var h=document.createElementNS("http://www.w3.org/1999/xhtml","img");h.addEventListener("load",
e,!1);h.addEventListener("error",f,!1);"data:"!==a.substr(0,5)&&void 0!==this.crossOrigin&&(h.crossOrigin=this.crossOrigin);g.manager.itemStart(a);h.src=a;return h}});cf.prototype=Object.assign(Object.create(Q.prototype),{constructor:cf,load:function(a,b,c,d){function e(c){g.load(a[c],function(a){f.images[c]=a;k++;6===k&&(f.needsUpdate=!0,b&&b(f))},void 0,d)}var f=new rb,g=new ed(this.manager);g.setCrossOrigin(this.crossOrigin);g.setPath(this.path);var k=0;for(c=0;c<a.length;++c)e(c);return f}});
df.prototype=Object.assign(Object.create(Q.prototype),{constructor:df,load:function(a,b,c,d){var e=new T,f=new ed(this.manager);f.setCrossOrigin(this.crossOrigin);f.setPath(this.path);f.load(a,function(c){e.image=c;c=0<a.search(/\.jpe?g($|\?)/i)||0===a.search(/^data:image\/jpeg/);e.format=c?1022:1023;e.needsUpdate=!0;void 0!==b&&b(e)},c,d);return e}});Object.assign(I.prototype,{getPoint:function(){console.warn("THREE.Curve: .getPoint() not implemented.");return null},getPointAt:function(a,b){a=this.getUtoTmapping(a);
return this.getPoint(a,b)},getPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/a));return b},getSpacedPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPointAt(c/a));return b},getLength:function(){var a=this.getLengths();return a[a.length-1]},getLengths:function(a){void 0===a&&(a=this.arcLengthDivisions);if(this.cacheArcLengths&&this.cacheArcLengths.length===a+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var b=
[],c=this.getPoint(0),d,e=0;b.push(0);for(d=1;d<=a;d++){var f=this.getPoint(d/a);e+=f.distanceTo(c);b.push(e);c=f}return this.cacheArcLengths=b},updateArcLengths:function(){this.needsUpdate=!0;this.getLengths()},getUtoTmapping:function(a,b){var c=this.getLengths(),d=c.length;b=b?b:a*c[d-1];for(var e=0,f=d-1,g;e<=f;)if(a=Math.floor(e+(f-e)/2),g=c[a]-b,0>g)e=a+1;else if(0<g)f=a-1;else{f=a;break}a=f;if(c[a]===b)return a/(d-1);e=c[a];return(a+(b-e)/(c[a+1]-e))/(d-1)},getTangent:function(a){var b=a-1E-4;
a+=1E-4;0>b&&(b=0);1<a&&(a=1);b=this.getPoint(b);return this.getPoint(a).clone().sub(b).normalize()},getTangentAt:function(a){a=this.getUtoTmapping(a);return this.getTangent(a)},computeFrenetFrames:function(a,b){var c=new n,d=[],e=[],f=[],g=new n,k=new P,h;for(h=0;h<=a;h++){var m=h/a;d[h]=this.getTangentAt(m);d[h].normalize()}e[0]=new n;f[0]=new n;h=Number.MAX_VALUE;m=Math.abs(d[0].x);var v=Math.abs(d[0].y),p=Math.abs(d[0].z);m<=h&&(h=m,c.set(1,0,0));v<=h&&(h=v,c.set(0,1,0));p<=h&&c.set(0,0,1);g.crossVectors(d[0],
c).normalize();e[0].crossVectors(d[0],g);f[0].crossVectors(d[0],e[0]);for(h=1;h<=a;h++)e[h]=e[h-1].clone(),f[h]=f[h-1].clone(),g.crossVectors(d[h-1],d[h]),g.length()>Number.EPSILON&&(g.normalize(),c=Math.acos(O.clamp(d[h-1].dot(d[h]),-1,1)),e[h].applyMatrix4(k.makeRotationAxis(g,c))),f[h].crossVectors(d[h],e[h]);if(!0===b)for(c=Math.acos(O.clamp(e[0].dot(e[a]),-1,1)),c/=a,0<d[0].dot(g.crossVectors(e[0],e[a]))&&(c=-c),h=1;h<=a;h++)e[h].applyMatrix4(k.makeRotationAxis(d[h],c*h)),f[h].crossVectors(d[h],
e[h]);return{tangents:d,normals:e,binormals:f}},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this},toJSON:function(){var a={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};a.arcLengthDivisions=this.arcLengthDivisions;a.type=this.type;return a},fromJSON:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this}});La.prototype=Object.create(I.prototype);La.prototype.constructor=La;La.prototype.isEllipseCurve=
!0;La.prototype.getPoint=function(a,b){b=b||new x;for(var c=2*Math.PI,d=this.aEndAngle-this.aStartAngle,e=Math.abs(d)<Number.EPSILON;0>d;)d+=c;for(;d>c;)d-=c;d<Number.EPSILON&&(d=e?0:c);!0!==this.aClockwise||e||(d=d===c?-c:d-c);c=this.aStartAngle+a*d;a=this.aX+this.xRadius*Math.cos(c);var f=this.aY+this.yRadius*Math.sin(c);0!==this.aRotation&&(c=Math.cos(this.aRotation),d=Math.sin(this.aRotation),e=a-this.aX,f-=this.aY,a=e*c-f*d+this.aX,f=e*d+f*c+this.aY);return b.set(a,f)};La.prototype.copy=function(a){I.prototype.copy.call(this,
a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};La.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.aX=this.aX;a.aY=this.aY;a.xRadius=this.xRadius;a.yRadius=this.yRadius;a.aStartAngle=this.aStartAngle;a.aEndAngle=this.aEndAngle;a.aClockwise=this.aClockwise;a.aRotation=this.aRotation;return a};La.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,
a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};fd.prototype=Object.create(La.prototype);fd.prototype.constructor=fd;fd.prototype.isArcCurve=!0;var Tf=new n,nh=new zg,oh=new zg,ph=new zg;Aa.prototype=Object.create(I.prototype);Aa.prototype.constructor=Aa;Aa.prototype.isCatmullRomCurve3=!0;Aa.prototype.getPoint=function(a,b){b=b||new n;var c=this.points,
d=c.length;a*=d-(this.closed?0:1);var e=Math.floor(a);a-=e;this.closed?e+=0<e?0:(Math.floor(Math.abs(e)/d)+1)*d:0===a&&e===d-1&&(e=d-2,a=1);if(this.closed||0<e)var f=c[(e-1)%d];else Tf.subVectors(c[0],c[1]).add(c[0]),f=Tf;var g=c[e%d];var h=c[(e+1)%d];this.closed||e+2<d?c=c[(e+2)%d]:(Tf.subVectors(c[d-1],c[d-2]).add(c[d-1]),c=Tf);if("centripetal"===this.curveType||"chordal"===this.curveType){var l="chordal"===this.curveType?.5:.25;d=Math.pow(f.distanceToSquared(g),l);e=Math.pow(g.distanceToSquared(h),
l);l=Math.pow(h.distanceToSquared(c),l);1E-4>e&&(e=1);1E-4>d&&(d=e);1E-4>l&&(l=e);nh.initNonuniformCatmullRom(f.x,g.x,h.x,c.x,d,e,l);oh.initNonuniformCatmullRom(f.y,g.y,h.y,c.y,d,e,l);ph.initNonuniformCatmullRom(f.z,g.z,h.z,c.z,d,e,l)}else"catmullrom"===this.curveType&&(nh.initCatmullRom(f.x,g.x,h.x,c.x,this.tension),oh.initCatmullRom(f.y,g.y,h.y,c.y,this.tension),ph.initCatmullRom(f.z,g.z,h.z,c.z,this.tension));b.set(nh.calc(a),oh.calc(a),ph.calc(a));return b};Aa.prototype.copy=function(a){I.prototype.copy.call(this,
a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};Aa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());a.closed=this.closed;a.curveType=this.curveType;a.tension=this.tension;return a};Aa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.points=[];
for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new n).fromArray(d))}this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};Wa.prototype=Object.create(I.prototype);Wa.prototype.constructor=Wa;Wa.prototype.isCubicBezierCurve=!0;Wa.prototype.getPoint=function(a,b){b=b||new x;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(se(a,c.x,d.x,e.x,f.x),se(a,c.y,d.y,e.y,f.y));return b};Wa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);
this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};Wa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};Wa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};ib.prototype=Object.create(I.prototype);ib.prototype.constructor=ib;ib.prototype.isCubicBezierCurve3=
!0;ib.prototype.getPoint=function(a,b){b=b||new n;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(se(a,c.x,d.x,e.x,f.x),se(a,c.y,d.y,e.y,f.y),se(a,c.z,d.z,e.z,f.z));return b};ib.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};ib.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};ib.prototype.fromJSON=
function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};Ea.prototype=Object.create(I.prototype);Ea.prototype.constructor=Ea;Ea.prototype.isLineCurve=!0;Ea.prototype.getPoint=function(a,b){b=b||new x;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Ea.prototype.getPointAt=function(a,b){return this.getPoint(a,b)};Ea.prototype.getTangent=function(){return this.v2.clone().sub(this.v1).normalize()};
Ea.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Ea.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};Ea.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};Xa.prototype=Object.create(I.prototype);Xa.prototype.constructor=Xa;Xa.prototype.isLineCurve3=!0;Xa.prototype.getPoint=function(a,b){b=b||
new n;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Xa.prototype.getPointAt=function(a,b){return this.getPoint(a,b)};Xa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Xa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};Xa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);
return this};Ya.prototype=Object.create(I.prototype);Ya.prototype.constructor=Ya;Ya.prototype.isQuadraticBezierCurve=!0;Ya.prototype.getPoint=function(a,b){b=b||new x;var c=this.v0,d=this.v1,e=this.v2;b.set(re(a,c.x,d.x,e.x),re(a,c.y,d.y,e.y));return b};Ya.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Ya.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=
this.v2.toArray();return a};Ya.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};jb.prototype=Object.create(I.prototype);jb.prototype.constructor=jb;jb.prototype.isQuadraticBezierCurve3=!0;jb.prototype.getPoint=function(a,b){b=b||new n;var c=this.v0,d=this.v1,e=this.v2;b.set(re(a,c.x,d.x,e.x),re(a,c.y,d.y,e.y),re(a,c.z,d.z,e.z));return b};jb.prototype.copy=function(a){I.prototype.copy.call(this,a);
this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};jb.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};jb.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};Za.prototype=Object.create(I.prototype);Za.prototype.constructor=Za;Za.prototype.isSplineCurve=!0;Za.prototype.getPoint=function(a,b){b=
b||new x;var c=this.points,d=(c.length-1)*a;a=Math.floor(d);d-=a;var e=c[0===a?a:a-1],f=c[a],g=c[a>c.length-2?c.length-1:a+1];c=c[a>c.length-3?c.length-1:a+2];b.set(hi(d,e.x,f.x,g.x,c.x),hi(d,e.y,f.y,g.y,c.y));return b};Za.prototype.copy=function(a){I.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());return this};Za.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());
return a};Za.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new x).fromArray(d))}return this};var qh=Object.freeze({__proto__:null,ArcCurve:fd,CatmullRomCurve3:Aa,CubicBezierCurve:Wa,CubicBezierCurve3:ib,EllipseCurve:La,LineCurve:Ea,LineCurve3:Xa,QuadraticBezierCurve:Ya,QuadraticBezierCurve3:jb,SplineCurve:Za});wb.prototype=Object.assign(Object.create(I.prototype),{constructor:wb,add:function(a){this.curves.push(a)},
closePath:function(){var a=this.curves[0].getPoint(0),b=this.curves[this.curves.length-1].getPoint(1);a.equals(b)||this.curves.push(new Ea(b,a))},getPoint:function(a){var b=a*this.getLength(),c=this.getCurveLengths();for(a=0;a<c.length;){if(c[a]>=b)return b=c[a]-b,a=this.curves[a],c=a.getLength(),a.getPointAt(0===c?0:1-b/c);a++}return null},getLength:function(){var a=this.getCurveLengths();return a[a.length-1]},updateArcLengths:function(){this.needsUpdate=!0;this.cacheLengths=null;this.getCurveLengths()},
getCurveLengths:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var a=[],b=0,c=0,d=this.curves.length;c<d;c++)b+=this.curves[c].getLength(),a.push(b);return this.cacheLengths=a},getSpacedPoints:function(a){void 0===a&&(a=40);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/a));this.autoClose&&b.push(b[0]);return b},getPoints:function(a){a=a||12;for(var b=[],c,d=0,e=this.curves;d<e.length;d++){var f=e[d];f=f.getPoints(f&&f.isEllipseCurve?
2*a:f&&(f.isLineCurve||f.isLineCurve3)?1:f&&f.isSplineCurve?a*f.points.length:a);for(var g=0;g<f.length;g++){var h=f[g];c&&c.equals(h)||(b.push(h),c=h)}}this.autoClose&&1<b.length&&!b[b.length-1].equals(b[0])&&b.push(b[0]);return b},copy:function(a){I.prototype.copy.call(this,a);this.curves=[];for(var b=0,c=a.curves.length;b<c;b++)this.curves.push(a.curves[b].clone());this.autoClose=a.autoClose;return this},toJSON:function(){var a=I.prototype.toJSON.call(this);a.autoClose=this.autoClose;a.curves=
[];for(var b=0,c=this.curves.length;b<c;b++)a.curves.push(this.curves[b].toJSON());return a},fromJSON:function(a){I.prototype.fromJSON.call(this,a);this.autoClose=a.autoClose;this.curves=[];for(var b=0,c=a.curves.length;b<c;b++){var d=a.curves[b];this.curves.push((new qh[d.type]).fromJSON(d))}return this}});$a.prototype=Object.assign(Object.create(wb.prototype),{constructor:$a,setFromPoints:function(a){this.moveTo(a[0].x,a[0].y);for(var b=1,c=a.length;b<c;b++)this.lineTo(a[b].x,a[b].y);return this},
moveTo:function(a,b){this.currentPoint.set(a,b);return this},lineTo:function(a,b){var c=new Ea(this.currentPoint.clone(),new x(a,b));this.curves.push(c);this.currentPoint.set(a,b);return this},quadraticCurveTo:function(a,b,c,d){a=new Ya(this.currentPoint.clone(),new x(a,b),new x(c,d));this.curves.push(a);this.currentPoint.set(c,d);return this},bezierCurveTo:function(a,b,c,d,e,f){a=new Wa(this.currentPoint.clone(),new x(a,b),new x(c,d),new x(e,f));this.curves.push(a);this.currentPoint.set(e,f);return this},
splineThru:function(a){var b=[this.currentPoint.clone()].concat(a);b=new Za(b);this.curves.push(b);this.currentPoint.copy(a[a.length-1]);return this},arc:function(a,b,c,d,e,f){this.absarc(a+this.currentPoint.x,b+this.currentPoint.y,c,d,e,f);return this},absarc:function(a,b,c,d,e,f){this.absellipse(a,b,c,c,d,e,f);return this},ellipse:function(a,b,c,d,e,f,g,h){this.absellipse(a+this.currentPoint.x,b+this.currentPoint.y,c,d,e,f,g,h);return this},absellipse:function(a,b,c,d,e,f,g,h){a=new La(a,b,c,d,
e,f,g,h);0<this.curves.length&&(b=a.getPoint(0),b.equals(this.currentPoint)||this.lineTo(b.x,b.y));this.curves.push(a);a=a.getPoint(1);this.currentPoint.copy(a);return this},copy:function(a){wb.prototype.copy.call(this,a);this.currentPoint.copy(a.currentPoint);return this},toJSON:function(){var a=wb.prototype.toJSON.call(this);a.currentPoint=this.currentPoint.toArray();return a},fromJSON:function(a){wb.prototype.fromJSON.call(this,a);this.currentPoint.fromArray(a.currentPoint);return this}});Lb.prototype=
Object.assign(Object.create($a.prototype),{constructor:Lb,getPointsHoles:function(a){for(var b=[],c=0,d=this.holes.length;c<d;c++)b[c]=this.holes[c].getPoints(a);return b},extractPoints:function(a){return{shape:this.getPoints(a),holes:this.getPointsHoles(a)}},copy:function(a){$a.prototype.copy.call(this,a);this.holes=[];for(var b=0,c=a.holes.length;b<c;b++)this.holes.push(a.holes[b].clone());return this},toJSON:function(){var a=$a.prototype.toJSON.call(this);a.uuid=this.uuid;a.holes=[];for(var b=
0,c=this.holes.length;b<c;b++)a.holes.push(this.holes[b].toJSON());return a},fromJSON:function(a){$a.prototype.fromJSON.call(this,a);this.uuid=a.uuid;this.holes=[];for(var b=0,c=a.holes.length;b<c;b++){var d=a.holes[b];this.holes.push((new $a).fromJSON(d))}return this}});ba.prototype=Object.assign(Object.create(D.prototype),{constructor:ba,isLight:!0,copy:function(a){D.prototype.copy.call(this,a);this.color.copy(a.color);this.intensity=a.intensity;return this},toJSON:function(a){a=D.prototype.toJSON.call(this,
a);a.object.color=this.color.getHex();a.object.intensity=this.intensity;void 0!==this.groundColor&&(a.object.groundColor=this.groundColor.getHex());void 0!==this.distance&&(a.object.distance=this.distance);void 0!==this.angle&&(a.object.angle=this.angle);void 0!==this.decay&&(a.object.decay=this.decay);void 0!==this.penumbra&&(a.object.penumbra=this.penumbra);void 0!==this.shadow&&(a.object.shadow=this.shadow.toJSON());return a}});ef.prototype=Object.assign(Object.create(ba.prototype),{constructor:ef,
isHemisphereLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.groundColor.copy(a.groundColor);return this}});Object.assign(kb.prototype,{_projScreenMatrix:new P,_lightPositionWorld:new n,_lookTarget:new n,getViewportCount:function(){return this._viewportCount},getFrustum:function(){return this._frustum},updateMatrices:function(a){var b=this.camera,c=this.matrix,d=this._projScreenMatrix,e=this._lookTarget,f=this._lightPositionWorld;f.setFromMatrixPosition(a.matrixWorld);b.position.copy(f);
e.setFromMatrixPosition(a.target.matrixWorld);b.lookAt(e);b.updateMatrixWorld();d.multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);this._frustum.setFromMatrix(d);c.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);c.multiply(b.projectionMatrix);c.multiply(b.matrixWorldInverse)},getViewport:function(a){return this._viewports[a]},getFrameExtents:function(){return this._frameExtents},copy:function(a){this.camera=a.camera.clone();this.bias=a.bias;this.radius=a.radius;this.mapSize.copy(a.mapSize);return this},
clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a={};0!==this.bias&&(a.bias=this.bias);1!==this.radius&&(a.radius=this.radius);if(512!==this.mapSize.x||512!==this.mapSize.y)a.mapSize=this.mapSize.toArray();a.camera=this.camera.toJSON(!1).object;delete a.camera.matrix;return a}});ff.prototype=Object.assign(Object.create(kb.prototype),{constructor:ff,isSpotLightShadow:!0,updateMatrices:function(a){var b=this.camera,c=2*O.RAD2DEG*a.angle,d=this.mapSize.width/this.mapSize.height,
e=a.distance||b.far;if(c!==b.fov||d!==b.aspect||e!==b.far)b.fov=c,b.aspect=d,b.far=e,b.updateProjectionMatrix();kb.prototype.updateMatrices.call(this,a)}});gf.prototype=Object.assign(Object.create(ba.prototype),{constructor:gf,isSpotLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.distance=a.distance;this.angle=a.angle;this.penumbra=a.penumbra;this.decay=a.decay;this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});Ag.prototype=Object.assign(Object.create(kb.prototype),
{constructor:Ag,isPointLightShadow:!0,updateMatrices:function(a,b){void 0===b&&(b=0);var c=this.camera,d=this.matrix,e=this._lightPositionWorld,f=this._lookTarget,g=this._projScreenMatrix;e.setFromMatrixPosition(a.matrixWorld);c.position.copy(e);f.copy(c.position);f.add(this._cubeDirections[b]);c.up.copy(this._cubeUps[b]);c.lookAt(f);c.updateMatrixWorld();d.makeTranslation(-e.x,-e.y,-e.z);g.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);this._frustum.setFromMatrix(g)}});hf.prototype=Object.assign(Object.create(ba.prototype),
{constructor:hf,isPointLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.distance=a.distance;this.decay=a.decay;this.shadow=a.shadow.clone();return this}});gd.prototype=Object.assign(Object.create(db.prototype),{constructor:gd,isOrthographicCamera:!0,copy:function(a,b){db.prototype.copy.call(this,a,b);this.left=a.left;this.right=a.right;this.top=a.top;this.bottom=a.bottom;this.near=a.near;this.far=a.far;this.zoom=a.zoom;this.view=null===a.view?null:Object.assign({},a.view);return this},
setViewOffset:function(a,b,c,d,e,f){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=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=(this.right-this.left)/(2*this.zoom),b=(this.top-
this.bottom)/(2*this.zoom),c=(this.right+this.left)/2,d=(this.top+this.bottom)/2,e=c-a;c+=a;a=d+b;b=d-b;if(null!==this.view&&this.view.enabled){c=this.zoom/(this.view.width/this.view.fullWidth);b=this.zoom/(this.view.height/this.view.fullHeight);var f=(this.right-this.left)/this.view.width;d=(this.top-this.bottom)/this.view.height;e+=this.view.offsetX/c*f;c=e+this.view.width/c*f;a-=this.view.offsetY/b*d;b=a-this.view.height/b*d}this.projectionMatrix.makeOrthographic(e,c,a,b,this.near,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},
toJSON:function(a){a=D.prototype.toJSON.call(this,a);a.object.zoom=this.zoom;a.object.left=this.left;a.object.right=this.right;a.object.top=this.top;a.object.bottom=this.bottom;a.object.near=this.near;a.object.far=this.far;null!==this.view&&(a.object.view=Object.assign({},this.view));return a}});jf.prototype=Object.assign(Object.create(kb.prototype),{constructor:jf,isDirectionalLightShadow:!0,updateMatrices:function(a){kb.prototype.updateMatrices.call(this,a)}});kf.prototype=Object.assign(Object.create(ba.prototype),
{constructor:kf,isDirectionalLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});lf.prototype=Object.assign(Object.create(ba.prototype),{constructor:lf,isAmbientLight:!0});mf.prototype=Object.assign(Object.create(ba.prototype),{constructor:mf,isRectAreaLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.width=a.width;this.height=a.height;return this},toJSON:function(a){a=ba.prototype.toJSON.call(this,a);a.object.width=
this.width;a.object.height=this.height;return a}});nf.prototype=Object.assign(Object.create(Q.prototype),{constructor:nf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){function b(a){void 0===c[a]&&console.warn("THREE.MaterialLoader: Undefined texture",a);return c[a]}var c=this.textures,d=new $k[a.type];void 0!==a.uuid&&(d.uuid=a.uuid);void 0!==a.name&&(d.name=a.name);void 0!==a.color&&d.color.setHex(a.color);
void 0!==a.roughness&&(d.roughness=a.roughness);void 0!==a.metalness&&(d.metalness=a.metalness);void 0!==a.sheen&&(d.sheen=(new y).setHex(a.sheen));void 0!==a.emissive&&d.emissive.setHex(a.emissive);void 0!==a.specular&&d.specular.setHex(a.specular);void 0!==a.shininess&&(d.shininess=a.shininess);void 0!==a.clearcoat&&(d.clearcoat=a.clearcoat);void 0!==a.clearcoatRoughness&&(d.clearcoatRoughness=a.clearcoatRoughness);void 0!==a.vertexColors&&(d.vertexColors=a.vertexColors);void 0!==a.fog&&(d.fog=
a.fog);void 0!==a.flatShading&&(d.flatShading=a.flatShading);void 0!==a.blending&&(d.blending=a.blending);void 0!==a.combine&&(d.combine=a.combine);void 0!==a.side&&(d.side=a.side);void 0!==a.opacity&&(d.opacity=a.opacity);void 0!==a.transparent&&(d.transparent=a.transparent);void 0!==a.alphaTest&&(d.alphaTest=a.alphaTest);void 0!==a.depthTest&&(d.depthTest=a.depthTest);void 0!==a.depthWrite&&(d.depthWrite=a.depthWrite);void 0!==a.colorWrite&&(d.colorWrite=a.colorWrite);void 0!==a.stencilWrite&&(d.stencilWrite=
a.stencilWrite);void 0!==a.stencilWriteMask&&(d.stencilWriteMask=a.stencilWriteMask);void 0!==a.stencilFunc&&(d.stencilFunc=a.stencilFunc);void 0!==a.stencilRef&&(d.stencilRef=a.stencilRef);void 0!==a.stencilFuncMask&&(d.stencilFuncMask=a.stencilFuncMask);void 0!==a.stencilFail&&(d.stencilFail=a.stencilFail);void 0!==a.stencilZFail&&(d.stencilZFail=a.stencilZFail);void 0!==a.stencilZPass&&(d.stencilZPass=a.stencilZPass);void 0!==a.wireframe&&(d.wireframe=a.wireframe);void 0!==a.wireframeLinewidth&&
(d.wireframeLinewidth=a.wireframeLinewidth);void 0!==a.wireframeLinecap&&(d.wireframeLinecap=a.wireframeLinecap);void 0!==a.wireframeLinejoin&&(d.wireframeLinejoin=a.wireframeLinejoin);void 0!==a.rotation&&(d.rotation=a.rotation);1!==a.linewidth&&(d.linewidth=a.linewidth);void 0!==a.dashSize&&(d.dashSize=a.dashSize);void 0!==a.gapSize&&(d.gapSize=a.gapSize);void 0!==a.scale&&(d.scale=a.scale);void 0!==a.polygonOffset&&(d.polygonOffset=a.polygonOffset);void 0!==a.polygonOffsetFactor&&(d.polygonOffsetFactor=
a.polygonOffsetFactor);void 0!==a.polygonOffsetUnits&&(d.polygonOffsetUnits=a.polygonOffsetUnits);void 0!==a.skinning&&(d.skinning=a.skinning);void 0!==a.morphTargets&&(d.morphTargets=a.morphTargets);void 0!==a.morphNormals&&(d.morphNormals=a.morphNormals);void 0!==a.dithering&&(d.dithering=a.dithering);void 0!==a.visible&&(d.visible=a.visible);void 0!==a.toneMapped&&(d.toneMapped=a.toneMapped);void 0!==a.userData&&(d.userData=a.userData);if(void 0!==a.uniforms)for(var e in a.uniforms){var f=a.uniforms[e];
d.uniforms[e]={};switch(f.type){case "t":d.uniforms[e].value=b(f.value);break;case "c":d.uniforms[e].value=(new y).setHex(f.value);break;case "v2":d.uniforms[e].value=(new x).fromArray(f.value);break;case "v3":d.uniforms[e].value=(new n).fromArray(f.value);break;case "v4":d.uniforms[e].value=(new S).fromArray(f.value);break;case "m3":d.uniforms[e].value=(new za).fromArray(f.value);case "m4":d.uniforms[e].value=(new P).fromArray(f.value);break;default:d.uniforms[e].value=f.value}}void 0!==a.defines&&
(d.defines=a.defines);void 0!==a.vertexShader&&(d.vertexShader=a.vertexShader);void 0!==a.fragmentShader&&(d.fragmentShader=a.fragmentShader);if(void 0!==a.extensions)for(var g in a.extensions)d.extensions[g]=a.extensions[g];void 0!==a.shading&&(d.flatShading=1===a.shading);void 0!==a.size&&(d.size=a.size);void 0!==a.sizeAttenuation&&(d.sizeAttenuation=a.sizeAttenuation);void 0!==a.map&&(d.map=b(a.map));void 0!==a.matcap&&(d.matcap=b(a.matcap));void 0!==a.alphaMap&&(d.alphaMap=b(a.alphaMap),d.transparent=
!0);void 0!==a.bumpMap&&(d.bumpMap=b(a.bumpMap));void 0!==a.bumpScale&&(d.bumpScale=a.bumpScale);void 0!==a.normalMap&&(d.normalMap=b(a.normalMap));void 0!==a.normalMapType&&(d.normalMapType=a.normalMapType);void 0!==a.normalScale&&(e=a.normalScale,!1===Array.isArray(e)&&(e=[e,e]),d.normalScale=(new x).fromArray(e));void 0!==a.displacementMap&&(d.displacementMap=b(a.displacementMap));void 0!==a.displacementScale&&(d.displacementScale=a.displacementScale);void 0!==a.displacementBias&&(d.displacementBias=
a.displacementBias);void 0!==a.roughnessMap&&(d.roughnessMap=b(a.roughnessMap));void 0!==a.metalnessMap&&(d.metalnessMap=b(a.metalnessMap));void 0!==a.emissiveMap&&(d.emissiveMap=b(a.emissiveMap));void 0!==a.emissiveIntensity&&(d.emissiveIntensity=a.emissiveIntensity);void 0!==a.specularMap&&(d.specularMap=b(a.specularMap));void 0!==a.envMap&&(d.envMap=b(a.envMap));void 0!==a.envMapIntensity&&(d.envMapIntensity=a.envMapIntensity);void 0!==a.reflectivity&&(d.reflectivity=a.reflectivity);void 0!==a.refractionRatio&&
(d.refractionRatio=a.refractionRatio);void 0!==a.lightMap&&(d.lightMap=b(a.lightMap));void 0!==a.lightMapIntensity&&(d.lightMapIntensity=a.lightMapIntensity);void 0!==a.aoMap&&(d.aoMap=b(a.aoMap));void 0!==a.aoMapIntensity&&(d.aoMapIntensity=a.aoMapIntensity);void 0!==a.gradientMap&&(d.gradientMap=b(a.gradientMap));void 0!==a.clearcoatNormalMap&&(d.clearcoatNormalMap=b(a.clearcoatNormalMap));void 0!==a.clearcoatNormalScale&&(d.clearcoatNormalScale=(new x).fromArray(a.clearcoatNormalScale));return d},
setTextures:function(a){this.textures=a;return this}});var rh={decodeText:function(a){if("undefined"!==typeof TextDecoder)return(new TextDecoder).decode(a);for(var b="",c=0,d=a.length;c<d;c++)b+=String.fromCharCode(a[c]);try{return decodeURIComponent(escape(b))}catch(e){return b}},extractUrlBase:function(a){var b=a.lastIndexOf("/");return-1===b?"./":a.substr(0,b+1)}};of.prototype=Object.assign(Object.create(G.prototype),{constructor:of,isInstancedBufferGeometry:!0,copy:function(a){G.prototype.copy.call(this,
a);this.maxInstancedCount=a.maxInstancedCount;return this},clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a=G.prototype.toJSON.call(this);a.maxInstancedCount=this.maxInstancedCount;a.isInstancedBufferGeometry=!0;return a}});pf.prototype=Object.assign(Object.create(K.prototype),{constructor:pf,isInstancedBufferAttribute:!0,copy:function(a){K.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;return this},toJSON:function(){var a=K.prototype.toJSON.call(this);
a.meshPerAttribute=this.meshPerAttribute;a.isInstancedBufferAttribute=!0;return a}});qf.prototype=Object.assign(Object.create(Q.prototype),{constructor:qf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){var b=a.isInstancedBufferGeometry?new of:new G,c=a.data.index;if(void 0!==c){var d=new sh[c.type](c.array);b.setIndex(new K(d,1))}c=a.data.attributes;for(var e in c){var f=c[e];d=new sh[f.type](f.array);
d=new (f.isInstancedBufferAttribute?pf:K)(d,f.itemSize,f.normalized);void 0!==f.name&&(d.name=f.name);b.setAttribute(e,d)}var g=a.data.morphAttributes;if(g)for(e in g){var h=g[e],l=[];c=0;for(var m=h.length;c<m;c++)f=h[c],d=new sh[f.type](f.array),d=new K(d,f.itemSize,f.normalized),void 0!==f.name&&(d.name=f.name),l.push(d);b.morphAttributes[e]=l}a.data.morphTargetsRelative&&(b.morphTargetsRelative=!0);e=a.data.groups||a.data.drawcalls||a.data.offsets;if(void 0!==e)for(c=0,f=e.length;c!==f;++c)d=
e[c],b.addGroup(d.start,d.count,d.materialIndex);c=a.data.boundingSphere;void 0!==c&&(e=new n,void 0!==c.center&&e.fromArray(c.center),b.boundingSphere=new qb(e,c.radius));a.name&&(b.name=a.name);a.userData&&(b.userData=a.userData);return b}});var sh={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:"undefined"!==typeof Uint8ClampedArray?Uint8ClampedArray:Uint8Array,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};
rf.prototype=Object.assign(Object.create(Q.prototype),{constructor:rf,load:function(a,b,c,d){var e=this,f=""===this.path?rh.extractUrlBase(a):this.path;this.resourcePath=this.resourcePath||f;f=new Ra(e.manager);f.setPath(this.path);f.load(a,function(c){var f=null;try{f=JSON.parse(c)}catch(l){void 0!==d&&d(l);console.error("THREE:ObjectLoader: Can't parse "+a+".",l.message);return}c=f.metadata;void 0===c||void 0===c.type||"geometry"===c.type.toLowerCase()?console.error("THREE.ObjectLoader: Can't load "+
a):e.parse(f,b)},c,d)},parse:function(a,b){var c=this.parseShape(a.shapes);c=this.parseGeometries(a.geometries,c);var d=this.parseImages(a.images,function(){void 0!==b&&b(e)});d=this.parseTextures(a.textures,d);d=this.parseMaterials(a.materials,d);var e=this.parseObject(a.object,c,d);a.animations&&(e.animations=this.parseAnimations(a.animations));void 0!==a.images&&0!==a.images.length||void 0===b||b(e);return e},parseShape:function(a){var b={};if(void 0!==a)for(var c=0,d=a.length;c<d;c++){var e=(new Lb).fromJSON(a[c]);
b[e.uuid]=e}return b},parseGeometries:function(a,b){var c={};if(void 0!==a)for(var d=new qf,e=0,f=a.length;e<f;e++){var g=a[e];switch(g.type){case "PlaneGeometry":case "PlaneBufferGeometry":var h=new ua[g.type](g.width,g.height,g.widthSegments,g.heightSegments);break;case "BoxGeometry":case "BoxBufferGeometry":case "CubeGeometry":h=new ua[g.type](g.width,g.height,g.depth,g.widthSegments,g.heightSegments,g.depthSegments);break;case "CircleGeometry":case "CircleBufferGeometry":h=new ua[g.type](g.radius,
g.segments,g.thetaStart,g.thetaLength);break;case "CylinderGeometry":case "CylinderBufferGeometry":h=new ua[g.type](g.radiusTop,g.radiusBottom,g.height,g.radialSegments,g.heightSegments,g.openEnded,g.thetaStart,g.thetaLength);break;case "ConeGeometry":case "ConeBufferGeometry":h=new ua[g.type](g.radius,g.height,g.radialSegments,g.heightSegments,g.openEnded,g.thetaStart,g.thetaLength);break;case "SphereGeometry":case "SphereBufferGeometry":h=new ua[g.type](g.radius,g.widthSegments,g.heightSegments,
g.phiStart,g.phiLength,g.thetaStart,g.thetaLength);break;case "DodecahedronGeometry":case "DodecahedronBufferGeometry":case "IcosahedronGeometry":case "IcosahedronBufferGeometry":case "OctahedronGeometry":case "OctahedronBufferGeometry":case "TetrahedronGeometry":case "TetrahedronBufferGeometry":h=new ua[g.type](g.radius,g.detail);break;case "RingGeometry":case "RingBufferGeometry":h=new ua[g.type](g.innerRadius,g.outerRadius,g.thetaSegments,g.phiSegments,g.thetaStart,g.thetaLength);break;case "TorusGeometry":case "TorusBufferGeometry":h=
new ua[g.type](g.radius,g.tube,g.radialSegments,g.tubularSegments,g.arc);break;case "TorusKnotGeometry":case "TorusKnotBufferGeometry":h=new ua[g.type](g.radius,g.tube,g.tubularSegments,g.radialSegments,g.p,g.q);break;case "TubeGeometry":case "TubeBufferGeometry":h=new ua[g.type]((new qh[g.path.type]).fromJSON(g.path),g.tubularSegments,g.radius,g.radialSegments,g.closed);break;case "LatheGeometry":case "LatheBufferGeometry":h=new ua[g.type](g.points,g.segments,g.phiStart,g.phiLength);break;case "PolyhedronGeometry":case "PolyhedronBufferGeometry":h=
new ua[g.type](g.vertices,g.indices,g.radius,g.details);break;case "ShapeGeometry":case "ShapeBufferGeometry":h=[];for(var l=0,m=g.shapes.length;l<m;l++){var n=b[g.shapes[l]];h.push(n)}h=new ua[g.type](h,g.curveSegments);break;case "ExtrudeGeometry":case "ExtrudeBufferGeometry":h=[];l=0;for(m=g.shapes.length;l<m;l++)n=b[g.shapes[l]],h.push(n);l=g.options.extrudePath;void 0!==l&&(g.options.extrudePath=(new qh[l.type]).fromJSON(l));h=new ua[g.type](h,g.options);break;case "BufferGeometry":case "InstancedBufferGeometry":h=
d.parse(g);break;case "Geometry":"THREE"in window&&"LegacyJSONLoader"in THREE?h=(new THREE.LegacyJSONLoader).parse(g,this.resourcePath).geometry:console.error('THREE.ObjectLoader: You have to import LegacyJSONLoader in order load geometry data of type "Geometry".');break;default:console.warn('THREE.ObjectLoader: Unsupported geometry type "'+g.type+'"');continue}h.uuid=g.uuid;void 0!==g.name&&(h.name=g.name);!0===h.isBufferGeometry&&void 0!==g.userData&&(h.userData=g.userData);c[g.uuid]=h}return c},
parseMaterials:function(a,b){var c={},d={};if(void 0!==a){var e=new nf;e.setTextures(b);b=0;for(var f=a.length;b<f;b++){var g=a[b];if("MultiMaterial"===g.type){for(var h=[],l=0;l<g.materials.length;l++){var m=g.materials[l];void 0===c[m.uuid]&&(c[m.uuid]=e.parse(m));h.push(c[m.uuid])}d[g.uuid]=h}else void 0===c[g.uuid]&&(c[g.uuid]=e.parse(g)),d[g.uuid]=c[g.uuid]}}return d},parseAnimations:function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Qa.parse(d);void 0!==d.uuid&&(e.uuid=d.uuid);b.push(e)}return b},
parseImages:function(a,b){function c(a){d.manager.itemStart(a);return f.load(a,function(){d.manager.itemEnd(a)},void 0,function(){d.manager.itemError(a);d.manager.itemEnd(a)})}var d=this,e={};if(void 0!==a&&0<a.length){b=new wg(b);var f=new ed(b);f.setCrossOrigin(this.crossOrigin);b=0;for(var g=a.length;b<g;b++){var h=a[b],l=h.url;if(Array.isArray(l)){e[h.uuid]=[];for(var m=0,n=l.length;m<n;m++){var p=l[m];p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(p)?p:d.resourcePath+p;e[h.uuid].push(c(p))}}else p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(h.url)?
h.url:d.resourcePath+h.url,e[h.uuid]=c(p)}}return e},parseTextures:function(a,b){function c(a,b){if("number"===typeof a)return a;console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",a);return b[a]}var d={};if(void 0!==a)for(var e=0,f=a.length;e<f;e++){var g=a[e];void 0===g.image&&console.warn('THREE.ObjectLoader: No "image" specified for',g.uuid);void 0===b[g.image]&&console.warn("THREE.ObjectLoader: Undefined image",g.image);var h=Array.isArray(b[g.image])?new rb(b[g.image]):
new T(b[g.image]);h.needsUpdate=!0;h.uuid=g.uuid;void 0!==g.name&&(h.name=g.name);void 0!==g.mapping&&(h.mapping=c(g.mapping,al));void 0!==g.offset&&h.offset.fromArray(g.offset);void 0!==g.repeat&&h.repeat.fromArray(g.repeat);void 0!==g.center&&h.center.fromArray(g.center);void 0!==g.rotation&&(h.rotation=g.rotation);void 0!==g.wrap&&(h.wrapS=c(g.wrap[0],Yi),h.wrapT=c(g.wrap[1],Yi));void 0!==g.format&&(h.format=g.format);void 0!==g.type&&(h.type=g.type);void 0!==g.encoding&&(h.encoding=g.encoding);
void 0!==g.minFilter&&(h.minFilter=c(g.minFilter,Zi));void 0!==g.magFilter&&(h.magFilter=c(g.magFilter,Zi));void 0!==g.anisotropy&&(h.anisotropy=g.anisotropy);void 0!==g.flipY&&(h.flipY=g.flipY);void 0!==g.premultiplyAlpha&&(h.premultiplyAlpha=g.premultiplyAlpha);void 0!==g.unpackAlignment&&(h.unpackAlignment=g.unpackAlignment);d[g.uuid]=h}return d},parseObject:function(a,b,c){function d(a){void 0===b[a]&&console.warn("THREE.ObjectLoader: Undefined geometry",a);return b[a]}function e(a){if(void 0!==
a){if(Array.isArray(a)){for(var b=[],d=0,e=a.length;d<e;d++){var f=a[d];void 0===c[f]&&console.warn("THREE.ObjectLoader: Undefined material",f);b.push(c[f])}return b}void 0===c[a]&&console.warn("THREE.ObjectLoader: Undefined material",a);return c[a]}}switch(a.type){case "Scene":var f=new pb;void 0!==a.background&&Number.isInteger(a.background)&&(f.background=new y(a.background));void 0!==a.fog&&("Fog"===a.fog.type?f.fog=new Re(a.fog.color,a.fog.near,a.fog.far):"FogExp2"===a.fog.type&&(f.fog=new Qe(a.fog.color,
a.fog.density)));break;case "PerspectiveCamera":f=new pa(a.fov,a.aspect,a.near,a.far);void 0!==a.focus&&(f.focus=a.focus);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.filmGauge&&(f.filmGauge=a.filmGauge);void 0!==a.filmOffset&&(f.filmOffset=a.filmOffset);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "OrthographicCamera":f=new gd(a.left,a.right,a.top,a.bottom,a.near,a.far);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "AmbientLight":f=
new lf(a.color,a.intensity);break;case "DirectionalLight":f=new kf(a.color,a.intensity);break;case "PointLight":f=new hf(a.color,a.intensity,a.distance,a.decay);break;case "RectAreaLight":f=new mf(a.color,a.intensity,a.width,a.height);break;case "SpotLight":f=new gf(a.color,a.intensity,a.distance,a.angle,a.penumbra,a.decay);break;case "HemisphereLight":f=new ef(a.color,a.groundColor,a.intensity);break;case "SkinnedMesh":console.warn("THREE.ObjectLoader.parseObject() does not support SkinnedMesh yet.");
case "Mesh":f=d(a.geometry);var g=e(a.material);f=f.bones&&0<f.bones.length?new Td(f,g):new ca(f,g);break;case "InstancedMesh":f=d(a.geometry);g=e(a.material);var h=a.instanceMatrix;f=new Ue(f,g,a.count);f.instanceMatrix=new K(new Float32Array(h.array),16);break;case "LOD":f=new Sd;break;case "Line":f=new Ja(d(a.geometry),e(a.material),a.mode);break;case "LineLoop":f=new Ve(d(a.geometry),e(a.material));break;case "LineSegments":f=new la(d(a.geometry),e(a.material));break;case "PointCloud":case "Points":f=
new Oc(d(a.geometry),e(a.material));break;case "Sprite":f=new Qd(e(a.material));break;case "Group":f=new Od;break;default:f=new D}f.uuid=a.uuid;void 0!==a.name&&(f.name=a.name);void 0!==a.matrix?(f.matrix.fromArray(a.matrix),void 0!==a.matrixAutoUpdate&&(f.matrixAutoUpdate=a.matrixAutoUpdate),f.matrixAutoUpdate&&f.matrix.decompose(f.position,f.quaternion,f.scale)):(void 0!==a.position&&f.position.fromArray(a.position),void 0!==a.rotation&&f.rotation.fromArray(a.rotation),void 0!==a.quaternion&&f.quaternion.fromArray(a.quaternion),
void 0!==a.scale&&f.scale.fromArray(a.scale));void 0!==a.castShadow&&(f.castShadow=a.castShadow);void 0!==a.receiveShadow&&(f.receiveShadow=a.receiveShadow);a.shadow&&(void 0!==a.shadow.bias&&(f.shadow.bias=a.shadow.bias),void 0!==a.shadow.radius&&(f.shadow.radius=a.shadow.radius),void 0!==a.shadow.mapSize&&f.shadow.mapSize.fromArray(a.shadow.mapSize),void 0!==a.shadow.camera&&(f.shadow.camera=this.parseObject(a.shadow.camera)));void 0!==a.visible&&(f.visible=a.visible);void 0!==a.frustumCulled&&
(f.frustumCulled=a.frustumCulled);void 0!==a.renderOrder&&(f.renderOrder=a.renderOrder);void 0!==a.userData&&(f.userData=a.userData);void 0!==a.layers&&(f.layers.mask=a.layers);if(void 0!==a.children)for(h=a.children,g=0;g<h.length;g++)f.add(this.parseObject(h[g],b,c));if("LOD"===a.type)for(void 0!==a.autoUpdate&&(f.autoUpdate=a.autoUpdate),a=a.levels,h=0;h<a.length;h++){g=a[h];var l=f.getObjectByProperty("uuid",g.object);void 0!==l&&f.addLevel(l,g.distance)}return f}});var al={UVMapping:300,CubeReflectionMapping:301,
CubeRefractionMapping:302,EquirectangularReflectionMapping:303,EquirectangularRefractionMapping:304,SphericalReflectionMapping:305,CubeUVReflectionMapping:306,CubeUVRefractionMapping:307},Yi={RepeatWrapping:1E3,ClampToEdgeWrapping:1001,MirroredRepeatWrapping:1002},Zi={NearestFilter:1003,NearestMipmapNearestFilter:1004,NearestMipmapLinearFilter:1005,LinearFilter:1006,LinearMipmapNearestFilter:1007,LinearMipmapLinearFilter:1008};Bg.prototype=Object.assign(Object.create(Q.prototype),{constructor:Bg,
setOptions:function(a){this.options=a;return this},load:function(a,b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var e=this,f=xc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;fetch(a).then(function(a){return a.blob()}).then(function(a){return void 0===e.options?createImageBitmap(a):createImageBitmap(a,e.options)}).then(function(c){xc.add(a,c);b&&b(c);e.manager.itemEnd(a)}).catch(function(b){d&&
d(b);e.manager.itemError(a);e.manager.itemEnd(a)});e.manager.itemStart(a)}});Object.assign(Cg.prototype,{moveTo:function(a,b){this.currentPath=new $a;this.subPaths.push(this.currentPath);this.currentPath.moveTo(a,b);return this},lineTo:function(a,b){this.currentPath.lineTo(a,b);return this},quadraticCurveTo:function(a,b,c,d){this.currentPath.quadraticCurveTo(a,b,c,d);return this},bezierCurveTo:function(a,b,c,d,e,f){this.currentPath.bezierCurveTo(a,b,c,d,e,f);return this},splineThru:function(a){this.currentPath.splineThru(a);
return this},toShapes:function(a,b){function c(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c],f=new Lb;f.curves=e.curves;b.push(f)}return b}function d(a,b){for(var c=b.length,d=!1,e=c-1,f=0;f<c;e=f++){var g=b[e],h=b[f],k=h.x-g.x,l=h.y-g.y;if(Math.abs(l)>Number.EPSILON){if(0>l&&(g=b[f],k=-k,h=b[e],l=-l),!(a.y<g.y||a.y>h.y))if(a.y===g.y){if(a.x===g.x)return!0}else{e=l*(a.x-g.x)-k*(a.y-g.y);if(0===e)return!0;0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}
var e=tb.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new Lb;h.curves=g.curves;b.push(h);return b}var l=!e(f[0].getPoints());l=a?!l:l;h=[];var m=[],n=[],p=0;m[p]=void 0;n[p]=[];for(var q=0,t=f.length;q<t;q++){g=f[q];var r=g.getPoints();var u=e(r);(u=a?!u:u)?(!l&&m[p]&&p++,m[p]={s:new Lb,p:r},m[p].s.curves=g.curves,l&&p++,n[p]=[]):n[p].push({h:g,p:r[0]})}if(!m[0])return c(f);if(1<m.length){q=!1;a=[];e=0;for(f=m.length;e<f;e++)h[e]=
[];e=0;for(f=m.length;e<f;e++)for(g=n[e],u=0;u<g.length;u++){l=g[u];p=!0;for(r=0;r<m.length;r++)d(l.p,m[r].p)&&(e!==r&&a.push({froms:e,tos:r,hole:u}),p?(p=!1,h[r].push(l)):q=!0);p&&h[e].push(l)}0<a.length&&(q||(n=h))}q=0;for(e=m.length;q<e;q++)for(h=m[q].s,b.push(h),a=n[q],f=0,g=a.length;f<g;f++)h.holes.push(a[f].h);return b}});Object.assign(Dg.prototype,{isFont:!0,generateShapes:function(a,b){void 0===b&&(b=100);var c=[],d=b;b=this.data;var e=Array.from?Array.from(a):String(a).split("");d/=b.resolution;
var f=(b.boundingBox.yMax-b.boundingBox.yMin+b.underlineThickness)*d;a=[];for(var g=0,h=0,l=0;l<e.length;l++){var m=e[l];if("\n"===m)g=0,h-=f;else{var n=m;m=d;var p=g,q=h,t=b,r=t.glyphs[n]||t.glyphs["?"];if(r){n=new Cg;if(r.o){t=r._cachedOutline||(r._cachedOutline=r.o.split(" "));for(var u=0,x=t.length;u<x;)switch(t[u++]){case "m":var w=t[u++]*m+p;var y=t[u++]*m+q;n.moveTo(w,y);break;case "l":w=t[u++]*m+p;y=t[u++]*m+q;n.lineTo(w,y);break;case "q":var C=t[u++]*m+p;var D=t[u++]*m+q;var A=t[u++]*m+p;
var E=t[u++]*m+q;n.quadraticCurveTo(A,E,C,D);break;case "b":C=t[u++]*m+p,D=t[u++]*m+q,A=t[u++]*m+p,E=t[u++]*m+q,w=t[u++]*m+p,y=t[u++]*m+q,n.bezierCurveTo(A,E,w,y,C,D)}}m={offsetX:r.ha*m,path:n}}else console.error('THREE.Font: character "'+n+'" does not exists in font family '+t.familyName+"."),m=void 0;g+=m.offsetX;a.push(m.path)}}b=0;for(e=a.length;b<e;b++)Array.prototype.push.apply(c,a[b].toShapes());return c}});Eg.prototype=Object.assign(Object.create(Q.prototype),{constructor:Eg,load:function(a,
b,c,d){var e=this,f=new Ra(this.manager);f.setPath(this.path);f.load(a,function(a){try{var c=JSON.parse(a)}catch(l){console.warn("THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."),c=JSON.parse(a.substring(65,a.length-2))}a=e.parse(c);b&&b(a)},c,d)},parse:function(a){return new Dg(a)}});var Uf,Jg={getContext:function(){void 0===Uf&&(Uf=new (window.AudioContext||window.webkitAudioContext));return Uf},setContext:function(a){Uf=a}};sf.prototype=Object.assign(Object.create(Q.prototype),
{constructor:sf,load:function(a,b,c,d){var e=new Ra(this.manager);e.setResponseType("arraybuffer");e.setPath(this.path);e.load(a,function(a){a=a.slice(0);Jg.getContext().decodeAudioData(a,function(a){b(a)})},c,d)}});Object.assign(tf.prototype,{isSphericalHarmonics3:!0,set:function(a){for(var b=0;9>b;b++)this.coefficients[b].copy(a[b]);return this},zero:function(){for(var a=0;9>a;a++)this.coefficients[a].set(0,0,0);return this},getAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.282095);
b.addScale(e[1],.488603*d);b.addScale(e[2],.488603*a);b.addScale(e[3],.488603*c);b.addScale(e[4],1.092548*c*d);b.addScale(e[5],1.092548*d*a);b.addScale(e[6],.315392*(3*a*a-1));b.addScale(e[7],1.092548*c*a);b.addScale(e[8],.546274*(c*c-d*d));return b},getIrradianceAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.886227);b.addScale(e[1],1.023328*d);b.addScale(e[2],1.023328*a);b.addScale(e[3],1.023328*c);b.addScale(e[4],.858086*c*d);b.addScale(e[5],.858086*
d*a);b.addScale(e[6],.743125*a*a-.247708);b.addScale(e[7],.858086*c*a);b.addScale(e[8],.429043*(c*c-d*d));return b},add:function(a){for(var b=0;9>b;b++)this.coefficients[b].add(a.coefficients[b]);return this},scale:function(a){for(var b=0;9>b;b++)this.coefficients[b].multiplyScalar(a);return this},lerp:function(a,b){for(var c=0;9>c;c++)this.coefficients[c].lerp(a.coefficients[c],b);return this},equals:function(a){for(var b=0;9>b;b++)if(!this.coefficients[b].equals(a.coefficients[b]))return!1;return!0},
copy:function(a){return this.set(a.coefficients)},clone:function(){return(new this.constructor).copy(this)},fromArray:function(a,b){void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].fromArray(a,b+3*d);return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].toArray(a,b+3*d);return a}});Object.assign(tf,{getBasisAt:function(a,b){var c=a.x,d=a.y;a=a.z;b[0]=.282095;b[1]=.488603*d;b[2]=.488603*a;b[3]=.488603*c;b[4]=1.092548*c*d;
b[5]=1.092548*d*a;b[6]=.315392*(3*a*a-1);b[7]=1.092548*c*a;b[8]=.546274*(c*c-d*d)}});ab.prototype=Object.assign(Object.create(ba.prototype),{constructor:ab,isLightProbe:!0,copy:function(a){ba.prototype.copy.call(this,a);this.sh.copy(a.sh);this.intensity=a.intensity;return this},toJSON:function(a){return ba.prototype.toJSON.call(this,a)}});Fg.prototype=Object.assign(Object.create(ab.prototype),{constructor:Fg,isHemisphereLightProbe:!0,copy:function(a){ab.prototype.copy.call(this,a);return this},toJSON:function(a){return ab.prototype.toJSON.call(this,
a)}});Gg.prototype=Object.assign(Object.create(ab.prototype),{constructor:Gg,isAmbientLightProbe:!0,copy:function(a){ab.prototype.copy.call(this,a);return this},toJSON:function(a){return ab.prototype.toJSON.call(this,a)}});var $i=new P,aj=new P;Object.assign(ii.prototype,{update:function(a){var b=this._cache;if(b.focus!==a.focus||b.fov!==a.fov||b.aspect!==a.aspect*this.aspect||b.near!==a.near||b.far!==a.far||b.zoom!==a.zoom||b.eyeSep!==this.eyeSep){b.focus=a.focus;b.fov=a.fov;b.aspect=a.aspect*this.aspect;
b.near=a.near;b.far=a.far;b.zoom=a.zoom;b.eyeSep=this.eyeSep;var c=a.projectionMatrix.clone(),d=b.eyeSep/2,e=d*b.near/b.focus,f=b.near*Math.tan(O.DEG2RAD*b.fov*.5)/b.zoom;aj.elements[12]=-d;$i.elements[12]=d;d=-f*b.aspect+e;var g=f*b.aspect+e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraL.projectionMatrix.copy(c);d=-f*b.aspect-e;g=f*b.aspect-e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraR.projectionMatrix.copy(c)}this.cameraL.matrixWorld.copy(a.matrixWorld).multiply(aj);
this.cameraR.matrixWorld.copy(a.matrixWorld).multiply($i)}});Object.assign(Hg.prototype,{start:function(){this.oldTime=this.startTime=("undefined"===typeof performance?Date:performance).now();this.elapsedTime=0;this.running=!0},stop:function(){this.getElapsedTime();this.autoStart=this.running=!1},getElapsedTime:function(){this.getDelta();return this.elapsedTime},getDelta:function(){var a=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var b=("undefined"===typeof performance?
Date:performance).now();a=(b-this.oldTime)/1E3;this.oldTime=b;this.elapsedTime+=a}return a}});var yc=new n,bj=new Da,bl=new n,zc=new n;Ig.prototype=Object.assign(Object.create(D.prototype),{constructor:Ig,getInput:function(){return this.gain},removeFilter:function(){null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null);return this},getFilter:function(){return this.filter},setFilter:function(a){null!==
this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination);this.filter=a;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this},getMasterVolume:function(){return this.gain.gain.value},setMasterVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,.01);return this},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);a=this.context.listener;
var b=this.up;this.timeDelta=this._clock.getDelta();this.matrixWorld.decompose(yc,bj,bl);zc.set(0,0,-1).applyQuaternion(bj);if(a.positionX){var c=this.context.currentTime+this.timeDelta;a.positionX.linearRampToValueAtTime(yc.x,c);a.positionY.linearRampToValueAtTime(yc.y,c);a.positionZ.linearRampToValueAtTime(yc.z,c);a.forwardX.linearRampToValueAtTime(zc.x,c);a.forwardY.linearRampToValueAtTime(zc.y,c);a.forwardZ.linearRampToValueAtTime(zc.z,c);a.upX.linearRampToValueAtTime(b.x,c);a.upY.linearRampToValueAtTime(b.y,
c);a.upZ.linearRampToValueAtTime(b.z,c)}else a.setPosition(yc.x,yc.y,yc.z),a.setOrientation(zc.x,zc.y,zc.z,b.x,b.y,b.z)}});hd.prototype=Object.assign(Object.create(D.prototype),{constructor:hd,getOutput:function(){return this.gain},setNodeSource:function(a){this.hasPlaybackControl=!1;this.sourceType="audioNode";this.source=a;this.connect();return this},setMediaElementSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(a);this.connect();
return this},setMediaStreamSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaStreamNode";this.source=this.context.createMediaStreamSource(a);this.connect();return this},setBuffer:function(a){this.buffer=a;this.sourceType="buffer";this.autoplay&&this.play();return this},play:function(a){void 0===a&&(a=0);if(!0===this.isPlaying)console.warn("THREE.Audio: Audio is already playing.");else if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return this._startedAt=this.context.currentTime+a,a=this.context.createBufferSource(),a.buffer=this.buffer,a.loop=this.loop,a.loopStart=this.loopStart,a.loopEnd=this.loopEnd,a.onended=this.onEnded.bind(this),a.start(this._startedAt,this._pausedAt+this.offset,this.duration),this.isPlaying=!0,this.source=a,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()},pause:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return!0===this.isPlaying&&(this._pausedAt=(this.context.currentTime-this._startedAt)*this.playbackRate,this.source.stop(),this.source.onended=null,this.isPlaying=!1),this},stop:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this._pausedAt=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this},connect:function(){if(0<this.filters.length){this.source.connect(this.filters[0]);for(var a=1,b=this.filters.length;a<
b;a++)this.filters[a-1].connect(this.filters[a]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this},disconnect:function(){if(0<this.filters.length){this.source.disconnect(this.filters[0]);for(var a=1,b=this.filters.length;a<b;a++)this.filters[a-1].disconnect(this.filters[a]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this},getFilters:function(){return this.filters},
setFilters:function(a){a||(a=[]);!0===this.isPlaying?(this.disconnect(),this.filters=a,this.connect()):this.filters=a;return this},setDetune:function(a){this.detune=a;if(void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this},getDetune:function(){return this.detune},getFilter:function(){return this.getFilters()[0]},setFilter:function(a){return this.setFilters(a?[a]:[])},setPlaybackRate:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return this.playbackRate=a,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this},getPlaybackRate:function(){return this.playbackRate},onEnded:function(){this.isPlaying=!1},getLoop:function(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop},setLoop:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.loop=
a,!0===this.isPlaying&&(this.source.loop=this.loop),this},setLoopStart:function(a){this.loopStart=a;return this},setLoopEnd:function(a){this.loopEnd=a;return this},getVolume:function(){return this.gain.gain.value},setVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,.01);return this}});var Ac=new n,cj=new Da,cl=new n,Bc=new n;Kg.prototype=Object.assign(Object.create(hd.prototype),{constructor:Kg,getOutput:function(){return this.panner},getRefDistance:function(){return this.panner.refDistance},
setRefDistance:function(a){this.panner.refDistance=a;return this},getRolloffFactor:function(){return this.panner.rolloffFactor},setRolloffFactor:function(a){this.panner.rolloffFactor=a;return this},getDistanceModel:function(){return this.panner.distanceModel},setDistanceModel:function(a){this.panner.distanceModel=a;return this},getMaxDistance:function(){return this.panner.maxDistance},setMaxDistance:function(a){this.panner.maxDistance=a;return this},setDirectionalCone:function(a,b,c){this.panner.coneInnerAngle=
a;this.panner.coneOuterAngle=b;this.panner.coneOuterGain=c;return this},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);if(!0!==this.hasPlaybackControl||!1!==this.isPlaying)if(this.matrixWorld.decompose(Ac,cj,cl),Bc.set(0,0,1).applyQuaternion(cj),a=this.panner,a.positionX){var b=this.context.currentTime+this.listener.timeDelta;a.positionX.linearRampToValueAtTime(Ac.x,b);a.positionY.linearRampToValueAtTime(Ac.y,b);a.positionZ.linearRampToValueAtTime(Ac.z,b);a.orientationX.linearRampToValueAtTime(Bc.x,
b);a.orientationY.linearRampToValueAtTime(Bc.y,b);a.orientationZ.linearRampToValueAtTime(Bc.z,b)}else a.setPosition(Ac.x,Ac.y,Ac.z),a.setOrientation(Bc.x,Bc.y,Bc.z)}});Object.assign(Lg.prototype,{getFrequencyData:function(){this.analyser.getByteFrequencyData(this.data);return this.data},getAverageFrequency:function(){for(var a=0,b=this.getFrequencyData(),c=0;c<b.length;c++)a+=b[c];return a/b.length}});Object.assign(Mg.prototype,{accumulate:function(a,b){var c=this.buffer,d=this.valueSize;a=a*d+d;
var e=this.cumulativeWeight;if(0===e){for(e=0;e!==d;++e)c[a+e]=c[e];e=b}else e+=b,this._mixBufferRegion(c,a,0,b/e,d);this.cumulativeWeight=e},apply:function(a){var b=this.valueSize,c=this.buffer;a=a*b+b;var d=this.cumulativeWeight,e=this.binding;this.cumulativeWeight=0;1>d&&this._mixBufferRegion(c,a,3*b,1-d,b);d=b;for(var f=b+b;d!==f;++d)if(c[d]!==c[d+b]){e.setValue(c,a);break}},saveOriginalState:function(){var a=this.buffer,b=this.valueSize,c=3*b;this.binding.getValue(a,c);for(var d=b;d!==c;++d)a[d]=
a[c+d%b];this.cumulativeWeight=0},restoreOriginalState:function(){this.binding.setValue(this.buffer,3*this.valueSize)},_select:function(a,b,c,d,e){if(.5<=d)for(d=0;d!==e;++d)a[b+d]=a[c+d]},_slerp:function(a,b,c,d){Da.slerpFlat(a,b,a,b,a,c,d)},_lerp:function(a,b,c,d,e){for(var f=1-d,g=0;g!==e;++g){var h=b+g;a[h]=a[h]*f+a[c+g]*d}}});var dl=/[\[\]\.:\/]/g,el="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",fl=/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]"),gl=/(WCOD+)?/.source.replace("WCOD",el),
hl=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]"),il=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]"),jl=new RegExp("^"+fl+gl+hl+il+"$"),kl=["material","materials","bones"];Object.assign(ji.prototype,{getValue:function(a,b){this.bind();var c=this._bindings[this._targetGroup.nCachedObjects_];void 0!==c&&c.getValue(a,b)},setValue:function(a,b){for(var c=this._bindings,d=this._targetGroup.nCachedObjects_,e=c.length;d!==e;++d)c[d].setValue(a,b)},bind:function(){for(var a=
this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].bind()},unbind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].unbind()}});Object.assign(Ba,{Composite:ji,create:function(a,b,c){return a&&a.isAnimationObjectGroup?new Ba.Composite(a,b,c):new Ba(a,b,c)},sanitizeNodeName:function(a){return a.replace(/\s/g,"_").replace(dl,"")},parseTrackName:function(a){var b=jl.exec(a);if(!b)throw Error("PropertyBinding: Cannot parse trackName: "+
a);b={nodeName:b[2],objectName:b[3],objectIndex:b[4],propertyName:b[5],propertyIndex:b[6]};var c=b.nodeName&&b.nodeName.lastIndexOf(".");if(void 0!==c&&-1!==c){var d=b.nodeName.substring(c+1);-1!==kl.indexOf(d)&&(b.nodeName=b.nodeName.substring(0,c),b.objectName=d)}if(null===b.propertyName||0===b.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+a);return b},findNode:function(a,b){if(!b||""===b||"root"===b||"."===b||-1===b||b===a.name||b===a.uuid)return a;
if(a.skeleton){var c=a.skeleton.getBoneByName(b);if(void 0!==c)return c}if(a.children){var d=function(a){for(var c=0;c<a.length;c++){var e=a[c];if(e.name===b||e.uuid===b||(e=d(e.children)))return e}return null};if(a=d(a.children))return a}return null}});Object.assign(Ba.prototype,{_getValue_unavailable:function(){},_setValue_unavailable:function(){},BindingType:{Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Versioning:{None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},GetterByBindingType:[function(a,
b){a[b]=this.node[this.propertyName]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)a[b++]=c[d]},function(a,b){a[b]=this.resolvedProperty[this.propertyIndex]},function(a,b){this.resolvedProperty.toArray(a,b)}],SetterByBindingTypeAndVersioning:[[function(a,b){this.targetObject[this.propertyName]=a[b]},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.needsUpdate=!0},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.matrixWorldNeedsUpdate=
!0}],[function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.needsUpdate=!0},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty[this.propertyIndex]=a[b]},function(a,b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.needsUpdate=!0},function(a,
b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty.fromArray(a,b)},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.needsUpdate=!0},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.matrixWorldNeedsUpdate=!0}]],getValue:function(a,b){this.bind();this.getValue(a,b)},setValue:function(a,b){this.bind();this.setValue(a,b)},bind:function(){var a=this.node,b=this.parsedPath,c=b.objectName,
d=b.propertyName,e=b.propertyIndex;a||(this.node=a=Ba.findNode(this.rootNode,b.nodeName)||this.rootNode);this.getValue=this._getValue_unavailable;this.setValue=this._setValue_unavailable;if(a){if(c){var f=b.objectIndex;switch(c){case "materials":if(!a.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!a.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",
this);return}a=a.material.materials;break;case "bones":if(!a.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}a=a.skeleton.bones;for(c=0;c<a.length;c++)if(a[c].name===f){f=c;break}break;default:if(void 0===a[c]){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}a=a[c]}if(void 0!==f){if(void 0===a[f]){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",
this,a);return}a=a[f]}}f=a[d];if(void 0===f)console.error("THREE.PropertyBinding: Trying to update property for track: "+b.nodeName+"."+d+" but it wasn't found.",a);else{b=this.Versioning.None;this.targetObject=a;void 0!==a.needsUpdate?b=this.Versioning.NeedsUpdate:void 0!==a.matrixWorldNeedsUpdate&&(b=this.Versioning.MatrixWorldNeedsUpdate);c=this.BindingType.Direct;if(void 0!==e){if("morphTargetInfluences"===d){if(!a.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",
this);return}if(a.geometry.isBufferGeometry){if(!a.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}for(c=0;c<this.node.geometry.morphAttributes.position.length;c++)if(a.geometry.morphAttributes.position[c].name===e){e=c;break}}else{if(!a.geometry.morphTargets){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphTargets.",
this);return}for(c=0;c<this.node.geometry.morphTargets.length;c++)if(a.geometry.morphTargets[c].name===e){e=c;break}}}c=this.BindingType.ArrayElement;this.resolvedProperty=f;this.propertyIndex=e}else void 0!==f.fromArray&&void 0!==f.toArray?(c=this.BindingType.HasFromToArray,this.resolvedProperty=f):Array.isArray(f)?(c=this.BindingType.EntireArray,this.resolvedProperty=f):this.propertyName=d;this.getValue=this.GetterByBindingType[c];this.setValue=this.SetterByBindingTypeAndVersioning[c][b]}}else console.error("THREE.PropertyBinding: Trying to update node for track: "+
this.path+" but it wasn't found.")},unbind:function(){this.node=null;this.getValue=this._getValue_unbound;this.setValue=this._setValue_unbound}});Object.assign(Ba.prototype,{_getValue_unbound:Ba.prototype.getValue,_setValue_unbound:Ba.prototype.setValue});Object.assign(ki.prototype,{isAnimationObjectGroup:!0,add:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._paths,f=this._parsedPaths,g=this._bindings,h=g.length,l=void 0,m=0,n=arguments.length;m!==
n;++m){var p=arguments[m],q=p.uuid,t=d[q];if(void 0===t){t=b++;d[q]=t;a.push(p);q=0;for(var r=h;q!==r;++q)g[q].push(new Ba(p,e[q],f[q]))}else if(t<c){l=a[t];var u=--c;r=a[u];d[r.uuid]=t;a[t]=r;d[q]=u;a[u]=p;q=0;for(r=h;q!==r;++q){var x=g[q],w=x[t];x[t]=x[u];void 0===w&&(w=new Ba(p,e[q],f[q]));x[u]=w}}else a[t]!==l&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=
c},remove:function(){for(var a=this._objects,b=this.nCachedObjects_,c=this._indicesByUUID,d=this._bindings,e=d.length,f=0,g=arguments.length;f!==g;++f){var h=arguments[f],l=h.uuid,m=c[l];if(void 0!==m&&m>=b){var n=b++,p=a[n];c[p.uuid]=m;a[m]=p;c[l]=n;a[n]=h;h=0;for(l=e;h!==l;++h){p=d[h];var q=p[m];p[m]=p[n];p[n]=q}}}this.nCachedObjects_=b},uncache:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._bindings,f=e.length,g=0,h=arguments.length;g!==h;++g){var l=
arguments[g].uuid,m=d[l];if(void 0!==m)if(delete d[l],m<c){l=--c;var n=a[l],p=--b,q=a[p];d[n.uuid]=m;a[m]=n;d[q.uuid]=l;a[l]=q;a.pop();n=0;for(q=f;n!==q;++n){var t=e[n],r=t[p];t[m]=t[l];t[l]=r;t.pop()}}else for(p=--b,q=a[p],d[q.uuid]=m,a[m]=q,a.pop(),n=0,q=f;n!==q;++n)t=e[n],t[m]=t[p],t.pop()}this.nCachedObjects_=c},subscribe_:function(a,b){var c=this._bindingsIndicesByPath,d=c[a],e=this._bindings;if(void 0!==d)return e[d];var f=this._paths,g=this._parsedPaths,h=this._objects,l=this.nCachedObjects_,
m=Array(h.length);d=e.length;c[a]=d;f.push(a);g.push(b);e.push(m);c=l;for(d=h.length;c!==d;++c)m[c]=new Ba(h[c],a,b);return m},unsubscribe_:function(a){var b=this._bindingsIndicesByPath,c=b[a];if(void 0!==c){var d=this._paths,e=this._parsedPaths,f=this._bindings,g=f.length-1,h=f[g];b[a[g]]=c;f[c]=h;f.pop();e[c]=e[g];e.pop();d[c]=d[g];d.pop()}}});Object.assign(li.prototype,{play:function(){this._mixer._activateAction(this);return this},stop:function(){this._mixer._deactivateAction(this);return this.reset()},
reset:function(){this.paused=!1;this.enabled=!0;this.time=0;this._loopCount=-1;this._startTime=null;return this.stopFading().stopWarping()},isRunning:function(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)},isScheduled:function(){return this._mixer._isActiveAction(this)},startAt:function(a){this._startTime=a;return this},setLoop:function(a,b){this.loop=a;this.repetitions=b;return this},setEffectiveWeight:function(a){this.weight=a;
this._effectiveWeight=this.enabled?a:0;return this.stopFading()},getEffectiveWeight:function(){return this._effectiveWeight},fadeIn:function(a){return this._scheduleFading(a,0,1)},fadeOut:function(a){return this._scheduleFading(a,1,0)},crossFadeFrom:function(a,b,c){a.fadeOut(b);this.fadeIn(b);if(c){c=this._clip.duration;var d=a._clip.duration,e=c/d;a.warp(1,d/c,b);this.warp(e,1,b)}return this},crossFadeTo:function(a,b,c){return a.crossFadeFrom(this,b,c)},stopFading:function(){var a=this._weightInterpolant;
null!==a&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},setEffectiveTimeScale:function(a){this.timeScale=a;this._effectiveTimeScale=this.paused?0:a;return this.stopWarping()},getEffectiveTimeScale:function(){return this._effectiveTimeScale},setDuration:function(a){this.timeScale=this._clip.duration/a;return this.stopWarping()},syncWith:function(a){this.time=a.time;this.timeScale=a.timeScale;return this.stopWarping()},halt:function(a){return this.warp(this._effectiveTimeScale,
0,a)},warp:function(a,b,c){var d=this._mixer,e=d.time,f=this._timeScaleInterpolant,g=this.timeScale;null===f&&(this._timeScaleInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;d[1]=e+c;f[0]=a/g;f[1]=b/g;return this},stopWarping:function(){var a=this._timeScaleInterpolant;null!==a&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},getMixer:function(){return this._mixer},getClip:function(){return this._clip},getRoot:function(){return this._localRoot||
this._mixer._root},_update:function(a,b,c,d){if(this.enabled){var e=this._startTime;if(null!==e){b=(a-e)*c;if(0>b||0===c)return;this._startTime=null;b*=c}b*=this._updateTimeScale(a);c=this._updateTime(b);a=this._updateWeight(a);if(0<a){b=this._interpolants;e=this._propertyBindings;for(var f=0,g=b.length;f!==g;++f)b[f].evaluate(c),e[f].accumulate(d,a)}}else this._updateWeight(a)},_updateWeight:function(a){var b=0;if(this.enabled){b=this.weight;var c=this._weightInterpolant;if(null!==c){var d=c.evaluate(a)[0];
b*=d;a>c.parameterPositions[1]&&(this.stopFading(),0===d&&(this.enabled=!1))}}return this._effectiveWeight=b},_updateTimeScale:function(a){var b=0;if(!this.paused){b=this.timeScale;var c=this._timeScaleInterpolant;if(null!==c){var d=c.evaluate(a)[0];b*=d;a>c.parameterPositions[1]&&(this.stopWarping(),0===b?this.paused=!0:this.timeScale=b)}}return this._effectiveTimeScale=b},_updateTime:function(a){var b=this.time+a,c=this._clip.duration,d=this.loop,e=this._loopCount,f=2202===d;if(0===a)return-1===
e?b:f&&1===(e&1)?c-b:b;if(2200===d)a:{if(-1===e&&(this._loopCount=0,this._setEndings(!0,!0,!1)),b>=c)b=c;else if(0>b)b=0;else{this.time=b;break a}this.clampWhenFinished?this.paused=!0:this.enabled=!1;this.time=b;this._mixer.dispatchEvent({type:"finished",action:this,direction:0>a?-1:1})}else{-1===e&&(0<=a?(e=0,this._setEndings(!0,0===this.repetitions,f)):this._setEndings(0===this.repetitions,!0,f));if(b>=c||0>b){d=Math.floor(b/c);b-=c*d;e+=Math.abs(d);var g=this.repetitions-e;0>=g?(this.clampWhenFinished?
this.paused=!0:this.enabled=!1,this.time=b=0<a?c:0,this._mixer.dispatchEvent({type:"finished",action:this,direction:0<a?1:-1})):(1===g?(a=0>a,this._setEndings(a,!a,f)):this._setEndings(!1,!1,f),this._loopCount=e,this.time=b,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:d}))}else this.time=b;if(f&&1===(e&1))return c-b}return b},_setEndings:function(a,b,c){var d=this._interpolantSettings;c?(d.endingStart=2401,d.endingEnd=2401):(d.endingStart=a?this.zeroSlopeAtStart?2401:2400:2402,d.endingEnd=
b?this.zeroSlopeAtEnd?2401:2400:2402)},_scheduleFading:function(a,b,c){var d=this._mixer,e=d.time,f=this._weightInterpolant;null===f&&(this._weightInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;f[0]=b;d[1]=e+a;f[1]=c;return this}});Ng.prototype=Object.assign(Object.create(Fa.prototype),{constructor:Ng,_bindAction:function(a,b){var c=a._localRoot||this._root,d=a._clip.tracks,e=d.length,f=a._propertyBindings;a=a._interpolants;var g=c.uuid,h=this._bindingsByRootAndName,
l=h[g];void 0===l&&(l={},h[g]=l);for(h=0;h!==e;++h){var m=d[h],n=m.name,p=l[n];if(void 0===p){p=f[h];if(void 0!==p){null===p._cacheIndex&&(++p.referenceCount,this._addInactiveBinding(p,g,n));continue}p=new Mg(Ba.create(c,n,b&&b._propertyBindings[h].binding.parsedPath),m.ValueTypeName,m.getValueSize());++p.referenceCount;this._addInactiveBinding(p,g,n)}f[h]=p;a[h].resultBuffer=p.buffer}},_activateAction:function(a){if(!this._isActiveAction(a)){if(null===a._cacheIndex){var b=(a._localRoot||this._root).uuid,
c=a._clip.uuid,d=this._actionsByClip[c];this._bindAction(a,d&&d.knownActions[0]);this._addInactiveAction(a,c,b)}b=a._propertyBindings;c=0;for(d=b.length;c!==d;++c){var e=b[c];0===e.useCount++&&(this._lendBinding(e),e.saveOriginalState())}this._lendAction(a)}},_deactivateAction:function(a){if(this._isActiveAction(a)){for(var b=a._propertyBindings,c=0,d=b.length;c!==d;++c){var e=b[c];0===--e.useCount&&(e.restoreOriginalState(),this._takeBackBinding(e))}this._takeBackAction(a)}},_initMemoryManager:function(){this._actions=
[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;var a=this;this.stats={actions:{get total(){return a._actions.length},get inUse(){return a._nActiveActions}},bindings:{get total(){return a._bindings.length},get inUse(){return a._nActiveBindings}},controlInterpolants:{get total(){return a._controlInterpolants.length},get inUse(){return a._nActiveControlInterpolants}}}},
_isActiveAction:function(a){a=a._cacheIndex;return null!==a&&a<this._nActiveActions},_addInactiveAction:function(a,b,c){var d=this._actions,e=this._actionsByClip,f=e[b];void 0===f?(f={knownActions:[a],actionByRoot:{}},a._byClipCacheIndex=0,e[b]=f):(b=f.knownActions,a._byClipCacheIndex=b.length,b.push(a));a._cacheIndex=d.length;d.push(a);f.actionByRoot[c]=a},_removeInactiveAction:function(a){var b=this._actions,c=b[b.length-1],d=a._cacheIndex;c._cacheIndex=d;b[d]=c;b.pop();a._cacheIndex=null;b=a._clip.uuid;
c=this._actionsByClip;d=c[b];var e=d.knownActions,f=e[e.length-1],g=a._byClipCacheIndex;f._byClipCacheIndex=g;e[g]=f;e.pop();a._byClipCacheIndex=null;delete d.actionByRoot[(a._localRoot||this._root).uuid];0===e.length&&delete c[b];this._removeInactiveBindingsForAction(a)},_removeInactiveBindingsForAction:function(a){a=a._propertyBindings;for(var b=0,c=a.length;b!==c;++b){var d=a[b];0===--d.referenceCount&&this._removeInactiveBinding(d)}},_lendAction:function(a){var b=this._actions,c=a._cacheIndex,
d=this._nActiveActions++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackAction:function(a){var b=this._actions,c=a._cacheIndex,d=--this._nActiveActions,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_addInactiveBinding:function(a,b,c){var d=this._bindingsByRootAndName,e=d[b],f=this._bindings;void 0===e&&(e={},d[b]=e);e[c]=a;a._cacheIndex=f.length;f.push(a)},_removeInactiveBinding:function(a){var b=this._bindings,c=a.binding,d=c.rootNode.uuid;c=c.path;var e=this._bindingsByRootAndName,
f=e[d],g=b[b.length-1];a=a._cacheIndex;g._cacheIndex=a;b[a]=g;b.pop();delete f[c];0===Object.keys(f).length&&delete e[d]},_lendBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=this._nActiveBindings++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=--this._nActiveBindings,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_lendControlInterpolant:function(){var a=this._controlInterpolants,b=this._nActiveControlInterpolants++,
c=a[b];void 0===c&&(c=new pe(new Float32Array(2),new Float32Array(2),1,this._controlInterpolantsResultBuffer),c.__cacheIndex=b,a[b]=c);return c},_takeBackControlInterpolant:function(a){var b=this._controlInterpolants,c=a.__cacheIndex,d=--this._nActiveControlInterpolants,e=b[d];a.__cacheIndex=d;b[d]=a;e.__cacheIndex=c;b[c]=e},_controlInterpolantsResultBuffer:new Float32Array(1),clipAction:function(a,b){var c=b||this._root,d=c.uuid;c="string"===typeof a?Qa.findByName(c,a):a;a=null!==c?c.uuid:a;var e=
this._actionsByClip[a],f=null;if(void 0!==e){f=e.actionByRoot[d];if(void 0!==f)return f;f=e.knownActions[0];null===c&&(c=f._clip)}if(null===c)return null;b=new li(this,c,b);this._bindAction(b,f);this._addInactiveAction(b,a,d);return b},existingAction:function(a,b){var c=b||this._root;b=c.uuid;c="string"===typeof a?Qa.findByName(c,a):a;a=this._actionsByClip[c?c.uuid:a];return void 0!==a?a.actionByRoot[b]||null:null},stopAllAction:function(){for(var a=this._actions,b=this._nActiveActions,c=this._bindings,
d=this._nActiveBindings,e=this._nActiveBindings=this._nActiveActions=0;e!==b;++e)a[e].reset();for(e=0;e!==d;++e)c[e].useCount=0;return this},update:function(a){a*=this.timeScale;for(var b=this._actions,c=this._nActiveActions,d=this.time+=a,e=Math.sign(a),f=this._accuIndex^=1,g=0;g!==c;++g)b[g]._update(d,a,e,f);a=this._bindings;b=this._nActiveBindings;for(g=0;g!==b;++g)a[g].apply(f);return this},setTime:function(a){for(var b=this.time=0;b<this._actions.length;b++)this._actions[b].time=0;return this.update(a)},
getRoot:function(){return this._root},uncacheClip:function(a){var b=this._actions;a=a.uuid;var c=this._actionsByClip,d=c[a];if(void 0!==d){d=d.knownActions;for(var e=0,f=d.length;e!==f;++e){var g=d[e];this._deactivateAction(g);var h=g._cacheIndex,l=b[b.length-1];g._cacheIndex=null;g._byClipCacheIndex=null;l._cacheIndex=h;b[h]=l;b.pop();this._removeInactiveBindingsForAction(g)}delete c[a]}},uncacheRoot:function(a){a=a.uuid;var b=this._actionsByClip;for(d in b){var c=b[d].actionByRoot[a];void 0!==c&&
(this._deactivateAction(c),this._removeInactiveAction(c))}var d=this._bindingsByRootAndName[a];if(void 0!==d)for(var e in d)a=d[e],a.restoreOriginalState(),this._removeInactiveBinding(a)},uncacheAction:function(a,b){a=this.existingAction(a,b);null!==a&&(this._deactivateAction(a),this._removeInactiveAction(a))}});uf.prototype.clone=function(){return new uf(void 0===this.value.clone?this.value:this.value.clone())};Og.prototype=Object.assign(Object.create(sb.prototype),{constructor:Og,isInstancedInterleavedBuffer:!0,
copy:function(a){sb.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;return this}});Object.assign(mi.prototype,{linePrecision:1,set:function(a,b){this.ray.set(a,b)},setFromCamera:function(a,b){b&&b.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(b.matrixWorld),this.ray.direction.set(a.x,a.y,.5).unproject(b).sub(this.ray.origin).normalize(),this.camera=b):b&&b.isOrthographicCamera?(this.ray.origin.set(a.x,a.y,(b.near+b.far)/(b.near-b.far)).unproject(b),this.ray.direction.set(0,
0,-1).transformDirection(b.matrixWorld),this.camera=b):console.error("THREE.Raycaster: Unsupported camera type.")},intersectObject:function(a,b,c){c=c||[];Pg(a,this,c,b);c.sort(ni);return c},intersectObjects:function(a,b,c){c=c||[];if(!1===Array.isArray(a))return console.warn("THREE.Raycaster.intersectObjects: objects is not an Array."),c;for(var d=0,e=a.length;d<e;d++)Pg(a[d],this,c,b);c.sort(ni);return c}});Object.assign(oi.prototype,{set:function(a,b,c){this.radius=a;this.phi=b;this.theta=c;return this},
clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.phi=a.phi;this.theta=a.theta;return this},makeSafe:function(){this.phi=Math.max(1E-6,Math.min(Math.PI-1E-6,this.phi));return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,c){this.radius=Math.sqrt(a*a+b*b+c*c);0===this.radius?this.phi=this.theta=0:(this.theta=Math.atan2(a,c),this.phi=Math.acos(O.clamp(b/this.radius,-1,1)));return this}});
Object.assign(pi.prototype,{set:function(a,b,c){this.radius=a;this.theta=b;this.y=c;return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.theta=a.theta;this.y=a.y;return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,c){this.radius=Math.sqrt(a*a+c*c);this.theta=Math.atan2(a,c);this.y=b;return this}});var dj=new x;Object.assign(Qg.prototype,{set:function(a,b){this.min.copy(a);
this.max.copy(b);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);return this},setFromCenterAndSize:function(a,b){b=dj.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=Infinity;this.max.x=this.max.y=-Infinity;return this},isEmpty:function(){return this.max.x<
this.min.x||this.max.y<this.min.y},getCenter:function(a){void 0===a&&(console.warn("THREE.Box2: .getCenter() target is now required"),a=new x);return this.isEmpty()?a.set(0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box2: .getSize() target is now required"),a=new x);return this.isEmpty()?a.set(0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);
this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box2: .getParameter() target is now required"),b=new x);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),
(a.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||a.max.y<this.min.y||a.min.y>this.max.y?!1:!0},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box2: .clampPoint() target is now required"),b=new x);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return dj.copy(a).clamp(this.min,this.max).sub(a).length()},intersect:function(a){this.min.max(a.min);this.max.min(a.max);return this},union:function(a){this.min.min(a.min);
this.max.max(a.max);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var ej=new n,Vf=new n;Object.assign(Rg.prototype,{set:function(a,b){this.start.copy(a);this.end.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.start.copy(a.start);this.end.copy(a.end);return this},getCenter:function(a){void 0===a&&(console.warn("THREE.Line3: .getCenter() target is now required"),
a=new n);return a.addVectors(this.start,this.end).multiplyScalar(.5)},delta:function(a){void 0===a&&(console.warn("THREE.Line3: .delta() target is now required"),a=new n);return a.subVectors(this.end,this.start)},distanceSq:function(){return this.start.distanceToSquared(this.end)},distance:function(){return this.start.distanceTo(this.end)},at:function(a,b){void 0===b&&(console.warn("THREE.Line3: .at() target is now required"),b=new n);return this.delta(b).multiplyScalar(a).add(this.start)},closestPointToPointParameter:function(a,
b){ej.subVectors(a,this.start);Vf.subVectors(this.end,this.start);a=Vf.dot(Vf);a=Vf.dot(ej)/a;b&&(a=O.clamp(a,0,1));return a},closestPointToPoint:function(a,b,c){a=this.closestPointToPointParameter(a,b);void 0===c&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),c=new n);return this.delta(c).multiplyScalar(a).add(this.start)},applyMatrix4:function(a){this.start.applyMatrix4(a);this.end.applyMatrix4(a);return this},equals:function(a){return a.start.equals(this.start)&&a.end.equals(this.end)}});
te.prototype=Object.create(D.prototype);te.prototype.constructor=te;te.prototype.isImmediateRenderObject=!0;var fj=new n;id.prototype=Object.create(D.prototype);id.prototype.constructor=id;id.prototype.dispose=function(){this.cone.geometry.dispose();this.cone.material.dispose()};id.prototype.update=function(){this.light.updateMatrixWorld();var a=this.light.distance?this.light.distance:1E3,b=a*Math.tan(this.light.angle);this.cone.scale.set(b,b,a);fj.setFromMatrixPosition(this.light.target.matrixWorld);
this.cone.lookAt(fj);void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)};var Rb=new n,Wf=new P,th=new P;jd.prototype=Object.create(la.prototype);jd.prototype.constructor=jd;jd.prototype.updateMatrixWorld=function(a){var b=this.bones,c=this.geometry,d=c.getAttribute("position");th.getInverse(this.root.matrixWorld);for(var e=0,f=0;e<b.length;e++){var g=b[e];g.parent&&g.parent.isBone&&(Wf.multiplyMatrices(th,g.matrixWorld),Rb.setFromMatrixPosition(Wf),
d.setXYZ(f,Rb.x,Rb.y,Rb.z),Wf.multiplyMatrices(th,g.parent.matrixWorld),Rb.setFromMatrixPosition(Wf),d.setXYZ(f+1,Rb.x,Rb.y,Rb.z),f+=2)}c.getAttribute("position").needsUpdate=!0;D.prototype.updateMatrixWorld.call(this,a)};kd.prototype=Object.create(ca.prototype);kd.prototype.constructor=kd;kd.prototype.dispose=function(){this.geometry.dispose();this.material.dispose()};kd.prototype.update=function(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)};
var ll=new n,gj=new y,hj=new y;ld.prototype=Object.create(D.prototype);ld.prototype.constructor=ld;ld.prototype.dispose=function(){this.children[0].geometry.dispose();this.children[0].material.dispose()};ld.prototype.update=function(){var a=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{var b=a.geometry.getAttribute("color");gj.copy(this.light.color);hj.copy(this.light.groundColor);for(var c=0,d=b.count;c<d;c++){var e=c<d/2?gj:hj;b.setXYZ(c,e.r,e.g,e.b)}b.needsUpdate=
!0}a.lookAt(ll.setFromMatrixPosition(this.light.matrixWorld).negate())};vf.prototype=Object.assign(Object.create(la.prototype),{constructor:vf,copy:function(a){la.prototype.copy.call(this,a);this.geometry.copy(a.geometry);this.material.copy(a.material);return this},clone:function(){return(new this.constructor).copy(this)}});wf.prototype=Object.create(la.prototype);wf.prototype.constructor=wf;var ij=new n,Xf=new n,jj=new n;md.prototype=Object.create(D.prototype);md.prototype.constructor=md;md.prototype.dispose=
function(){this.lightPlane.geometry.dispose();this.lightPlane.material.dispose();this.targetLine.geometry.dispose();this.targetLine.material.dispose()};md.prototype.update=function(){ij.setFromMatrixPosition(this.light.matrixWorld);Xf.setFromMatrixPosition(this.light.target.matrixWorld);jj.subVectors(Xf,ij);this.lightPlane.lookAt(Xf);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(Xf);this.targetLine.scale.z=jj.length()};var xf=new n,fa=new db;ue.prototype=Object.create(la.prototype);ue.prototype.constructor=ue;ue.prototype.update=function(){var a=this.geometry,b=this.pointMap;fa.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse);ia("c",b,a,fa,0,0,-1);ia("t",b,a,fa,0,0,1);ia("n1",b,a,fa,-1,-1,-1);ia("n2",b,a,fa,1,-1,-1);ia("n3",b,a,fa,-1,1,-1);ia("n4",b,a,fa,1,1,-1);ia("f1",b,a,fa,
-1,-1,1);ia("f2",b,a,fa,1,-1,1);ia("f3",b,a,fa,-1,1,1);ia("f4",b,a,fa,1,1,1);ia("u1",b,a,fa,.7,1.1,-1);ia("u2",b,a,fa,-.7,1.1,-1);ia("u3",b,a,fa,0,2,-1);ia("cf1",b,a,fa,-1,0,1);ia("cf2",b,a,fa,1,0,1);ia("cf3",b,a,fa,0,-1,1);ia("cf4",b,a,fa,0,1,1);ia("cn1",b,a,fa,-1,0,-1);ia("cn2",b,a,fa,1,0,-1);ia("cn3",b,a,fa,0,-1,-1);ia("cn4",b,a,fa,0,1,-1);a.getAttribute("position").needsUpdate=!0};var Yf=new Sa;xb.prototype=Object.create(la.prototype);xb.prototype.constructor=xb;xb.prototype.update=function(a){void 0!==
a&&console.warn("THREE.BoxHelper: .update() has no longer arguments.");void 0!==this.object&&Yf.setFromObject(this.object);if(!Yf.isEmpty()){a=Yf.min;var b=Yf.max,c=this.geometry.attributes.position,d=c.array;d[0]=b.x;d[1]=b.y;d[2]=b.z;d[3]=a.x;d[4]=b.y;d[5]=b.z;d[6]=a.x;d[7]=a.y;d[8]=b.z;d[9]=b.x;d[10]=a.y;d[11]=b.z;d[12]=b.x;d[13]=b.y;d[14]=a.z;d[15]=a.x;d[16]=b.y;d[17]=a.z;d[18]=a.x;d[19]=a.y;d[20]=a.z;d[21]=b.x;d[22]=a.y;d[23]=a.z;c.needsUpdate=!0;this.geometry.computeBoundingSphere()}};xb.prototype.setFromObject=
function(a){this.object=a;this.update();return this};xb.prototype.copy=function(a){la.prototype.copy.call(this,a);this.object=a.object;return this};xb.prototype.clone=function(){return(new this.constructor).copy(this)};ve.prototype=Object.create(la.prototype);ve.prototype.constructor=ve;ve.prototype.updateMatrixWorld=function(a){var b=this.box;b.isEmpty()||(b.getCenter(this.position),b.getSize(this.scale),this.scale.multiplyScalar(.5),D.prototype.updateMatrixWorld.call(this,a))};we.prototype=Object.create(Ja.prototype);
we.prototype.constructor=we;we.prototype.updateMatrixWorld=function(a){var b=-this.plane.constant;1E-8>Math.abs(b)&&(b=1E-8);this.scale.set(.5*this.size,.5*this.size,b);this.children[0].material.side=0>b?1:0;this.lookAt(this.plane.normal);D.prototype.updateMatrixWorld.call(this,a)};var kj=new n,yf,Sg;yb.prototype=Object.create(D.prototype);yb.prototype.constructor=yb;yb.prototype.setDirection=function(a){.99999<a.y?this.quaternion.set(0,0,0,1):-.99999>a.y?this.quaternion.set(1,0,0,0):(kj.set(a.z,
0,-a.x).normalize(),this.quaternion.setFromAxisAngle(kj,Math.acos(a.y)))};yb.prototype.setLength=function(a,b,c){void 0===b&&(b=.2*a);void 0===c&&(c=.2*b);this.line.scale.set(1,Math.max(1E-4,a-b),1);this.line.updateMatrix();this.cone.scale.set(c,b,c);this.cone.position.y=a;this.cone.updateMatrix()};yb.prototype.setColor=function(a){this.line.material.color.set(a);this.cone.material.color.set(a)};yb.prototype.copy=function(a){D.prototype.copy.call(this,a,!1);this.line.copy(a.line);this.cone.copy(a.cone);
return this};yb.prototype.clone=function(){return(new this.constructor).copy(this)};xe.prototype=Object.create(la.prototype);xe.prototype.constructor=xe;var lb=Math.pow(2,8),lj=[.125,.215,.35,.446,.526,.582],vi=5+lj.length,mb={3E3:0,3001:1,3002:2,3004:3,3005:4,3006:5,3007:6},Vg=new gd,zf=function(a){var b=new Float32Array(a),c=new n(0,1,0);a=new vb({defines:{n:a},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:b},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:c},
inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform int samples;\nuniform float weights[n];\nuniform bool latitudinal;\nuniform float dTheta;\nuniform float mipInt;\nuniform vec3 poleAxis;\n\n"+Yg()+"\n\n#define ENVMAP_TYPE_CUBE_UV\n#include <cube_uv_reflection_fragment>\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tfor (int i = 0; i < n; i++) {\n\t\tif (i >= samples)\n\t\t\tbreak;\n\t\tfor (int dir = -1; dir < 2; dir += 2) {\n\t\t\tif (i == 0 && dir == 1)\n\t\t\t\tcontinue;\n\t\t\tvec3 axis = latitudinal ? poleAxis : cross(poleAxis, vOutputDirection);\n\t\t\tif (all(equal(axis, vec3(0.0))))\n\t\t\t\taxis = cross(vec3(0.0, 1.0, 0.0), vOutputDirection);\n\t\t\taxis = normalize(axis);\n\t\t\tfloat theta = dTheta * float(dir * i);\n\t\t\tfloat cosTheta = cos(theta);\n\t\t\t// Rodrigues' axis-angle rotation\n\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\t\t\tgl_FragColor.rgb +=\n\t\t\t\t\tweights[i] * bilinearCubeUV(envMap, sampleDirection, mipInt);\n\t\t}\n\t}\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="SphericalGaussianBlur";return a}(20),Sb=null,Tb=null,uh=function(){for(var a=[],b=[],c=[],d=8,e=0;e<vi;e++){var f=Math.pow(2,d);b.push(f);var g=1/f;4<e?g=lj[e-8+4-1]:0==e&&(g=0);c.push(g);g=1/(f-1);f=-g/2;g=1+g/2;var h=[f,f,g,f,g,g,f,f,g,g,f,g];f=new Float32Array(108);g=new Float32Array(72);for(var l=new Float32Array(36),m=0;6>m;m++){var n=m%3*2/3-1,p=2<m?0:-1;f.set([n,p,0,n+2/3,p,0,n+2/3,p+1,0,n,p,0,n+2/3,p+1,0,n,p+1,0],18*m);g.set(h,12*m);l.set([m,
m,m,m,m,m],6*m)}h=new G;h.setAttribute("position",new K(f,3));h.setAttribute("uv",new K(g,2));h.setAttribute("faceIndex",new K(l,1));a.push(h);4<d&&d--}return{_lodPlanes:a,_sizeLods:b,_sigmas:c}}(),ye=uh._lodPlanes,zi=uh._sizeLods,Bf=uh._sigmas,Af=null,Y=null,Cc=(1+Math.sqrt(5))/2,zd=1/Cc,xi=[new n(1,1,1),new n(-1,1,1),new n(1,1,-1),new n(-1,1,-1),new n(0,Cc,zd),new n(0,Cc,-zd),new n(zd,0,Cc),new n(-zd,0,Cc),new n(Cc,zd,0),new n(-Cc,zd,0)];Tg.prototype={constructor:Tg,fromScene:function(a,b,c,d){void 0===
b&&(b=0);void 0===c&&(c=.1);void 0===d&&(d=100);var e=ri();c=new pa(90,1,c,d);d=[1,1,1,1,-1,1];var f=[1,1,-1,-1,-1,1],g=Y.outputEncoding,h=Y.toneMapping,l=Y.toneMappingExposure,m=Y.getClearColor(),n=Y.getClearAlpha();Y.toneMapping=1;Y.toneMappingExposure=1;Y.outputEncoding=3E3;a.scale.z*=-1;var p=a.background;if(p&&p.isColor){p.convertSRGBToLinear();var q=Math.min(Math.max(Math.ceil(Math.log2(Math.max(p.r,p.g,p.b))),-128),127);p=p.multiplyScalar(Math.pow(2,-q));Y.setClearColor(p,(q+128)/255);a.background=
null}Y.setRenderTarget(e);for(p=0;6>p;p++)q=p%3,0==q?(c.up.set(0,d[p],0),c.lookAt(f[p],0,0)):1==q?(c.up.set(0,0,d[p]),c.lookAt(0,f[p],0)):(c.up.set(0,d[p],0),c.lookAt(0,0,f[p])),Wg(q*lb,2<p?lb:0,lb,lb),Y.render(a,c);Y.toneMapping=h;Y.toneMappingExposure=l;Y.outputEncoding=g;Y.setClearColor(m,n);a.scale.z*=-1;0<b&&wi(e,0,0,b);ui(e);ti();e.scissorTest=!1;return e},fromEquirectangular:function(a){a.magFilter=1003;a.minFilter=1003;a.generateMipmaps=!1;return this.fromCubemap(a)},fromCubemap:function(a){var b=
ri(a),c=new pb;a.isCubeTexture?null==Tb&&(Tb=Bi()):null==Sb&&(Sb=Ai());var d=a.isCubeTexture?Tb:Sb;c.add(new ca(ye[0],d));d=d.uniforms;d.envMap.value=a;a.isCubeTexture||d.texelSize.value.set(1/a.image.width,1/a.image.height);d.inputEncoding.value=mb[a.encoding];d.outputEncoding.value=mb[a.encoding];Y.setRenderTarget(b);Wg(0,0,3*lb,2*lb);Y.render(c,Vg);ui(b);ti();b.scissorTest=!1;return b},compileCubemapShader:function(){null==Tb&&(Tb=Bi(),Ug(Tb))},compileEquirectangularShader:function(){null==Sb&&
(Sb=Ai(),Ug(Sb))},dispose:function(){zf.dispose();null!=Tb&&Tb.dispose();null!=Sb&&Sb.dispose();for(var a=0;a<ye.length;a++)ye[a].dispose()}};I.create=function(a,b){console.log("THREE.Curve.create() has been deprecated");a.prototype=Object.create(I.prototype);a.prototype.constructor=a;a.prototype.getPoint=b;return a};Object.assign(wb.prototype,{createPointsGeometry:function(a){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");
a=this.getPoints(a);return this.createGeometry(a)},createSpacedPointsGeometry:function(a){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getSpacedPoints(a);return this.createGeometry(a)},createGeometry:function(a){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");for(var b=new M,c=0,d=a.length;c<d;c++){var e=a[c];b.vertices.push(new n(e.x,
e.y,e.z||0))}return b}});Object.assign($a.prototype,{fromPoints:function(a){console.warn("THREE.Path: .fromPoints() has been renamed to .setFromPoints().");return this.setFromPoints(a)}});Ci.prototype=Object.create(Aa.prototype);Di.prototype=Object.create(Aa.prototype);Zg.prototype=Object.create(Aa.prototype);Object.assign(Zg.prototype,{initFromArray:function(){console.error("THREE.Spline: .initFromArray() has been removed.")},getControlPointsArray:function(){console.error("THREE.Spline: .getControlPointsArray() has been removed.")},
reparametrizeByArcLength:function(){console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.")}});vf.prototype.setColors=function(){console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.")};jd.prototype.update=function(){console.error("THREE.SkeletonHelper: update() no longer needs to be called.")};Object.assign(Q.prototype,{extractUrlBase:function(a){console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead.");
return rh.extractUrlBase(a)}});Q.Handlers={add:function(){console.error("THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.")},get:function(){console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.")}};Object.assign(rf.prototype,{setTexturePath:function(a){console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().");return this.setResourcePath(a)}});Object.assign(Qg.prototype,{center:function(a){console.warn("THREE.Box2: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box2: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},size:function(a){console.warn("THREE.Box2: .size() has been renamed to .getSize().");return this.getSize(a)}});Object.assign(Sa.prototype,{center:function(a){console.warn("THREE.Box3: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box3: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionSphere:function(a){console.warn("THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere().");return this.intersectsSphere(a)},size:function(a){console.warn("THREE.Box3: .size() has been renamed to .getSize().");
return this.getSize(a)}});Rg.prototype.center=function(a){console.warn("THREE.Line3: .center() has been renamed to .getCenter().");return this.getCenter(a)};Object.assign(O,{random16:function(){console.warn("THREE.Math: .random16() has been deprecated. Use Math.random() instead.");return Math.random()},nearestPowerOfTwo:function(a){console.warn("THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo().");return O.floorPowerOfTwo(a)},nextPowerOfTwo:function(a){console.warn("THREE.Math: .nextPowerOfTwo() has been renamed to .ceilPowerOfTwo().");
return O.ceilPowerOfTwo(a)}});Object.assign(za.prototype,{flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},multiplyVector3:function(a){console.warn("THREE.Matrix3: .multiplyVector3() has been removed. Use vector.applyMatrix3( matrix ) instead.");return a.applyMatrix3(this)},multiplyVector3Array:function(){console.error("THREE.Matrix3: .multiplyVector3Array() has been removed.")},applyToBuffer:function(a){console.warn("THREE.Matrix3: .applyToBuffer() has been removed. Use matrix.applyToBufferAttribute( attribute ) instead.");
return this.applyToBufferAttribute(a)},applyToVector3Array:function(){console.error("THREE.Matrix3: .applyToVector3Array() has been removed.")}});Object.assign(P.prototype,{extractPosition:function(a){console.warn("THREE.Matrix4: .extractPosition() has been renamed to .copyPosition().");return this.copyPosition(a)},flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},getPosition:function(){console.warn("THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.");
return(new n).setFromMatrixColumn(this,3)},setRotationFromQuaternion:function(a){console.warn("THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion().");return this.makeRotationFromQuaternion(a)},multiplyToArray:function(){console.warn("THREE.Matrix4: .multiplyToArray() has been removed.")},multiplyVector3:function(a){console.warn("THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},multiplyVector4:function(a){console.warn("THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.");
return a.applyMatrix4(this)},multiplyVector3Array:function(){console.error("THREE.Matrix4: .multiplyVector3Array() has been removed.")},rotateAxis:function(a){console.warn("THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.");a.transformDirection(this)},crossVector:function(a){console.warn("THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},translate:function(){console.error("THREE.Matrix4: .translate() has been removed.")},
rotateX:function(){console.error("THREE.Matrix4: .rotateX() has been removed.")},rotateY:function(){console.error("THREE.Matrix4: .rotateY() has been removed.")},rotateZ:function(){console.error("THREE.Matrix4: .rotateZ() has been removed.")},rotateByAxis:function(){console.error("THREE.Matrix4: .rotateByAxis() has been removed.")},applyToBuffer:function(a){console.warn("THREE.Matrix4: .applyToBuffer() has been removed. Use matrix.applyToBufferAttribute( attribute ) instead.");return this.applyToBufferAttribute(a)},
applyToVector3Array:function(){console.error("THREE.Matrix4: .applyToVector3Array() has been removed.")},makeFrustum:function(a,b,c,d,e,f){console.warn("THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.");return this.makePerspective(a,b,d,c,e,f)}});Ta.prototype.isIntersectionLine=function(a){console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine().");return this.intersectsLine(a)};Da.prototype.multiplyVector3=
function(a){console.warn("THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead.");return a.applyQuaternion(this)};Object.assign(Wb.prototype,{isIntersectionBox:function(a){console.warn("THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionPlane:function(a){console.warn("THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane().");return this.intersectsPlane(a)},isIntersectionSphere:function(a){console.warn("THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere().");
return this.intersectsSphere(a)}});Object.assign(ma.prototype,{area:function(){console.warn("THREE.Triangle: .area() has been renamed to .getArea().");return this.getArea()},barycoordFromPoint:function(a,b){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return this.getBarycoord(a,b)},midpoint:function(a){console.warn("THREE.Triangle: .midpoint() has been renamed to .getMidpoint().");return this.getMidpoint(a)},normal:function(a){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");
return this.getNormal(a)},plane:function(a){console.warn("THREE.Triangle: .plane() has been renamed to .getPlane().");return this.getPlane(a)}});Object.assign(ma,{barycoordFromPoint:function(a,b,c,d,e){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return ma.getBarycoord(a,b,c,d,e)},normal:function(a,b,c,d){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");return ma.getNormal(a,b,c,d)}});Object.assign(Lb.prototype,{extractAllPoints:function(a){console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead.");
return this.extractPoints(a)},extrude:function(a){console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead.");return new hc(this,a)},makeGeometry:function(a){console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead.");return new jc(this,a)}});Object.assign(x.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");
return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(n.prototype,{setEulerFromRotationMatrix:function(){console.error("THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.")},setEulerFromQuaternion:function(){console.error("THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.")},
getPositionFromMatrix:function(a){console.warn("THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition().");return this.setFromMatrixPosition(a)},getScaleFromMatrix:function(a){console.warn("THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale().");return this.setFromMatrixScale(a)},getColumnFromMatrix:function(a,b){console.warn("THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn().");return this.setFromMatrixColumn(b,
a)},applyProjection:function(a){console.warn("THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead.");return this.applyMatrix4(a)},fromAttribute:function(a,b,c){console.warn("THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength().");
return this.manhattanLength()}});Object.assign(S.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},lengthManhattan:function(){console.warn("THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(M.prototype,{computeTangents:function(){console.error("THREE.Geometry: .computeTangents() has been removed.")},computeLineDistances:function(){console.error("THREE.Geometry: .computeLineDistances() has been removed. Use THREE.Line.computeLineDistances() instead.")}});
Object.assign(D.prototype,{getChildByName:function(a){console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().");return this.getObjectByName(a)},renderDepth:function(){console.warn("THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.")},translate:function(a,b){console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.");return this.translateOnAxis(b,a)},getWorldRotation:function(){console.error("THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.")}});
Object.defineProperties(D.prototype,{eulerOrder:{get:function(){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");return this.rotation.order},set:function(a){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");this.rotation.order=a}},useQuaternion:{get:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}});
Object.assign(ca.prototype,{setDrawMode:function(){console.error("THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}});Object.defineProperties(ca.prototype,{drawMode:{get:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode.");return 0},set:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}}});
Object.defineProperties(Sd.prototype,{objects:{get:function(){console.warn("THREE.LOD: .objects has been renamed to .levels.");return this.levels}}});Object.defineProperty(Te.prototype,"useVertexTexture",{get:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")},set:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")}});Td.prototype.initBones=function(){console.error("THREE.SkinnedMesh: initBones() has been removed.")};Object.defineProperty(I.prototype,
"__arcLengthDivisions",{get:function(){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");return this.arcLengthDivisions},set:function(a){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");this.arcLengthDivisions=a}});pa.prototype.setLens=function(a,b){console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup.");void 0!==b&&(this.filmGauge=b);this.setFocalLength(a)};Object.defineProperties(ba.prototype,
{onlyShadow:{set:function(){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCameraFov:{set:function(a){console.warn("THREE.Light: .shadowCameraFov is now .shadow.camera.fov.");this.shadow.camera.fov=a}},shadowCameraLeft:{set:function(a){console.warn("THREE.Light: .shadowCameraLeft is now .shadow.camera.left.");this.shadow.camera.left=a}},shadowCameraRight:{set:function(a){console.warn("THREE.Light: .shadowCameraRight is now .shadow.camera.right.");this.shadow.camera.right=a}},shadowCameraTop:{set:function(a){console.warn("THREE.Light: .shadowCameraTop is now .shadow.camera.top.");
this.shadow.camera.top=a}},shadowCameraBottom:{set:function(a){console.warn("THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom.");this.shadow.camera.bottom=a}},shadowCameraNear:{set:function(a){console.warn("THREE.Light: .shadowCameraNear is now .shadow.camera.near.");this.shadow.camera.near=a}},shadowCameraFar:{set:function(a){console.warn("THREE.Light: .shadowCameraFar is now .shadow.camera.far.");this.shadow.camera.far=a}},shadowCameraVisible:{set:function(){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.")}},
shadowBias:{set:function(a){console.warn("THREE.Light: .shadowBias is now .shadow.bias.");this.shadow.bias=a}},shadowDarkness:{set:function(){console.warn("THREE.Light: .shadowDarkness has been removed.")}},shadowMapWidth:{set:function(a){console.warn("THREE.Light: .shadowMapWidth is now .shadow.mapSize.width.");this.shadow.mapSize.width=a}},shadowMapHeight:{set:function(a){console.warn("THREE.Light: .shadowMapHeight is now .shadow.mapSize.height.");this.shadow.mapSize.height=a}}});Object.defineProperties(K.prototype,
{length:{get:function(){console.warn("THREE.BufferAttribute: .length has been deprecated. Use .count instead.");return this.array.length}},dynamic:{get:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");return 35048===this.usage},set:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");this.setUsage(35048)}}});Object.assign(K.prototype,{setDynamic:function(a){console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.");
this.setUsage(!0===a?35048:35044);return this},copyIndicesArray:function(){console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.")},setArray:function(){console.error("THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});Object.assign(G.prototype,{addIndex:function(a){console.warn("THREE.BufferGeometry: .addIndex() has been renamed to .setIndex().");this.setIndex(a)},addAttribute:function(a,b,c){console.warn("THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().");
return b&&b.isBufferAttribute||b&&b.isInterleavedBufferAttribute?"index"===a?(console.warn("THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute."),this.setIndex(b),this):this.setAttribute(a,b):(console.warn("THREE.BufferGeometry: .addAttribute() now expects ( name, attribute )."),this.setAttribute(a,new K(b,c)))},addDrawCall:function(a,b,c){void 0!==c&&console.warn("THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset.");console.warn("THREE.BufferGeometry: .addDrawCall() is now .addGroup().");
this.addGroup(a,b)},clearDrawCalls:function(){console.warn("THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups().");this.clearGroups()},computeTangents:function(){console.warn("THREE.BufferGeometry: .computeTangents() has been removed.")},computeOffsets:function(){console.warn("THREE.BufferGeometry: .computeOffsets() has been removed.")},removeAttribute:function(a){console.warn("THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute().");return this.deleteAttribute(a)}});
Object.defineProperties(G.prototype,{drawcalls:{get:function(){console.error("THREE.BufferGeometry: .drawcalls has been renamed to .groups.");return this.groups}},offsets:{get:function(){console.warn("THREE.BufferGeometry: .offsets has been renamed to .groups.");return this.groups}}});Object.defineProperties(sb.prototype,{dynamic:{get:function(){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");return 35048===this.usage},set:function(a){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");
this.setUsage(a)}}});Object.assign(sb.prototype,{setDynamic:function(a){console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.");this.setUsage(!0===a?35048:35044);return this},setArray:function(){console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});Object.assign(gb.prototype,{getArrays:function(){console.error("THREE.ExtrudeBufferGeometry: .getArrays() has been removed.")},
addShapeList:function(){console.error("THREE.ExtrudeBufferGeometry: .addShapeList() has been removed.")},addShape:function(){console.error("THREE.ExtrudeBufferGeometry: .addShape() has been removed.")}});Object.defineProperties(uf.prototype,{dynamic:{set:function(){console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.")}},onUpdate:{value:function(){console.warn("THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.");return this}}});
Object.defineProperties(L.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")},set:function(){console.warn("THREE.Material: .wrapAround has been removed.")}},overdraw:{get:function(){console.warn("THREE.Material: .overdraw has been removed.")},set:function(){console.warn("THREE.Material: .overdraw has been removed.")}},wrapRGB:{get:function(){console.warn("THREE.Material: .wrapRGB has been removed.");return new y}},shading:{get:function(){console.error("THREE."+
this.type+": .shading has been removed. Use the boolean .flatShading instead.")},set:function(a){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead.");this.flatShading=1===a}},stencilMask:{get:function(){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");return this.stencilFuncMask},set:function(a){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");this.stencilFuncMask=
a}}});Object.defineProperties(Kb.prototype,{metal:{get:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead.");return!1},set:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead")}}});Object.defineProperties(oa.prototype,{derivatives:{get:function(){console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");return this.extensions.derivatives},
set:function(a){console.warn("THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");this.extensions.derivatives=a}}});Object.assign(pg.prototype,{clearTarget:function(a,b,c,d){console.warn("THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead.");this.setRenderTarget(a);this.clear(b,c,d)},animate:function(a){console.warn("THREE.WebGLRenderer: .animate() is now .setAnimationLoop().");this.setAnimationLoop(a)},getCurrentRenderTarget:function(){console.warn("THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget().");
return this.getRenderTarget()},getMaxAnisotropy:function(){console.warn("THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy().");return this.capabilities.getMaxAnisotropy()},getPrecision:function(){console.warn("THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision.");return this.capabilities.precision},resetGLState:function(){console.warn("THREE.WebGLRenderer: .resetGLState() is now .state.reset().");return this.state.reset()},supportsFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( 'OES_texture_float' ).");
return this.extensions.get("OES_texture_float")},supportsHalfFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( 'OES_texture_half_float' ).");return this.extensions.get("OES_texture_half_float")},supportsStandardDerivatives:function(){console.warn("THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( 'OES_standard_derivatives' ).");return this.extensions.get("OES_standard_derivatives")},supportsCompressedTextureS3TC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( 'WEBGL_compressed_texture_s3tc' ).");
return this.extensions.get("WEBGL_compressed_texture_s3tc")},supportsCompressedTexturePVRTC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( 'WEBGL_compressed_texture_pvrtc' ).");return this.extensions.get("WEBGL_compressed_texture_pvrtc")},supportsBlendMinMax:function(){console.warn("THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( 'EXT_blend_minmax' ).");return this.extensions.get("EXT_blend_minmax")},supportsVertexTextures:function(){console.warn("THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures.");
return this.capabilities.vertexTextures},supportsInstancedArrays:function(){console.warn("THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( 'ANGLE_instanced_arrays' ).");return this.extensions.get("ANGLE_instanced_arrays")},enableScissorTest:function(a){console.warn("THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest().");this.setScissorTest(a)},initMaterial:function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")},addPrePlugin:function(){console.warn("THREE.WebGLRenderer: .addPrePlugin() has been removed.")},
addPostPlugin:function(){console.warn("THREE.WebGLRenderer: .addPostPlugin() has been removed.")},updateShadowMap:function(){console.warn("THREE.WebGLRenderer: .updateShadowMap() has been removed.")},setFaceCulling:function(){console.warn("THREE.WebGLRenderer: .setFaceCulling() has been removed.")},allocTextureUnit:function(){console.warn("THREE.WebGLRenderer: .allocTextureUnit() has been removed.")},setTexture:function(){console.warn("THREE.WebGLRenderer: .setTexture() has been removed.")},setTexture2D:function(){console.warn("THREE.WebGLRenderer: .setTexture2D() has been removed.")},
setTextureCube:function(){console.warn("THREE.WebGLRenderer: .setTextureCube() has been removed.")},getActiveMipMapLevel:function(){console.warn("THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel().");return this.getActiveMipmapLevel()}});Object.defineProperties(pg.prototype,{shadowMapEnabled:{get:function(){return this.shadowMap.enabled},set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.");this.shadowMap.enabled=a}},shadowMapType:{get:function(){return this.shadowMap.type},
set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type.");this.shadowMap.type=a}},shadowMapCullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")}},context:{get:function(){console.warn("THREE.WebGLRenderer: .context has been removed. Use .getContext() instead.");return this.getContext()}},
vr:{get:function(){console.warn("THREE.WebGLRenderer: .vr has been renamed to .xr");return this.xr}},gammaInput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.");return!1},set:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.")}},gammaOutput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");
return!1},set:function(a){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");this.outputEncoding=!0===a?3001:3E3}}});Object.defineProperties(Th.prototype,{cullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")}},renderReverseSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")},
set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")}},renderSingleSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")}}});Object.defineProperties(Eb.prototype,{activeCubeFace:{set:function(){console.warn("THREE.WebGLRenderTargetCube: .activeCubeFace has been removed. It is now the second parameter of WebGLRenderer.setRenderTarget().")}},
activeMipMapLevel:{set:function(){console.warn("THREE.WebGLRenderTargetCube: .activeMipMapLevel has been removed. It is now the third parameter of WebGLRenderer.setRenderTarget().")}}});Object.defineProperties(va.prototype,{wrapS:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");return this.texture.wrapS},set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");this.texture.wrapS=a}},wrapT:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");
return this.texture.wrapT},set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");this.texture.wrapT=a}},magFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");return this.texture.magFilter},set:function(a){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");this.texture.magFilter=a}},minFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");return this.texture.minFilter},
set:function(a){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");this.texture.minFilter=a}},anisotropy:{get:function(){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");return this.texture.anisotropy},set:function(a){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");this.texture.anisotropy=a}},offset:{get:function(){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");return this.texture.offset},
set:function(a){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");this.texture.offset=a}},repeat:{get:function(){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");return this.texture.repeat},set:function(a){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");this.texture.repeat=a}},format:{get:function(){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");return this.texture.format},set:function(a){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");
this.texture.format=a}},type:{get:function(){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");return this.texture.type},set:function(a){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");this.texture.type=a}},generateMipmaps:{get:function(){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");return this.texture.generateMipmaps},set:function(a){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");
this.texture.generateMipmaps=a}}});Object.defineProperties(hd.prototype,{load:{value:function(a){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var b=this;(new sf).load(a,function(a){b.setBuffer(a)});return this}},startTime:{set:function(){console.warn("THREE.Audio: .startTime is now .play( delay ).")}}});Lg.prototype.getData=function(){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()};Hc.prototype.updateCubeMap=
function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update().");return this.update(a,b)};Mb.crossOrigin=void 0;Mb.loadTexture=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new df;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Mb.loadTextureCube=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");
var e=new cf;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Mb.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")};Mb.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"112"}}));
h.ACESFilmicToneMapping=5;h.AddEquation=100;h.AddOperation=2;h.AdditiveBlending=2;h.AlphaFormat=1021;h.AlwaysDepth=1;h.AlwaysStencilFunc=519;h.AmbientLight=lf;h.AmbientLightProbe=Gg;h.AnimationClip=Qa;h.AnimationLoader=xg;h.AnimationMixer=Ng;h.AnimationObjectGroup=ki;h.AnimationUtils=ea;h.ArcCurve=fd;h.ArrayCamera=Pe;h.ArrowHelper=yb;h.Audio=hd;h.AudioAnalyser=Lg;h.AudioContext=Jg;h.AudioListener=Ig;h.AudioLoader=sf;h.AxesHelper=xe;h.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");
return new xe(a)};h.BackSide=1;h.BasicDepthPacking=3200;h.BasicShadowMap=0;h.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new bf(a)};h.Bone=qg;h.BooleanKeyframeTrack=Ye;h.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.");return new xb(a,b)};h.Box2=Qg;h.Box3=Sa;h.Box3Helper=ve;h.BoxBufferGeometry=Jd;h.BoxGeometry=lh;h.BoxHelper=xb;h.BufferAttribute=
K;h.BufferGeometry=G;h.BufferGeometryLoader=qf;h.ByteType=1010;h.Cache=xc;h.Camera=db;h.CameraHelper=ue;h.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been removed")};h.CanvasTexture=Ud;h.CatmullRomCurve3=Aa;h.CineonToneMapping=4;h.CircleBufferGeometry=bd;h.CircleGeometry=oe;h.ClampToEdgeWrapping=1001;h.Clock=Hg;h.ClosedSplineCurve3=Ci;h.Color=y;h.ColorKeyframeTrack=Ze;h.CompressedTexture=Pc;h.CompressedTextureLoader=yg;h.ConeBufferGeometry=ne;h.ConeGeometry=me;h.CubeCamera=Hc;
h.CubeGeometry=lh;h.CubeReflectionMapping=301;h.CubeRefractionMapping=302;h.CubeTexture=rb;h.CubeTextureLoader=cf;h.CubeUVReflectionMapping=306;h.CubeUVRefractionMapping=307;h.CubicBezierCurve=Wa;h.CubicBezierCurve3=ib;h.CubicInterpolant=We;h.CullFaceBack=1;h.CullFaceFront=2;h.CullFaceFrontBack=3;h.CullFaceNone=0;h.Curve=I;h.CurvePath=wb;h.CustomBlending=5;h.CylinderBufferGeometry=ub;h.CylinderGeometry=lc;h.Cylindrical=pi;h.DataTexture=cc;h.DataTexture2DArray=Ic;h.DataTexture3D=Jc;h.DataTextureLoader=
bf;h.DecrementStencilOp=7683;h.DecrementWrapStencilOp=34056;h.DefaultLoadingManager=gi;h.DepthFormat=1026;h.DepthStencilFormat=1027;h.DepthTexture=Vd;h.DirectionalLight=kf;h.DirectionalLightHelper=md;h.DirectionalLightShadow=jf;h.DiscreteInterpolant=Xe;h.DodecahedronBufferGeometry=Uc;h.DodecahedronGeometry=ae;h.DoubleSide=2;h.DstAlphaFactor=206;h.DstColorFactor=208;h.DynamicBufferAttribute=function(a,b){console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.");
return(new K(a,b)).setDynamic(!0)};h.DynamicCopyUsage=35050;h.DynamicDrawUsage=35048;h.DynamicReadUsage=35049;h.EdgesGeometry=ad;h.EdgesHelper=function(a,b){console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead.");return new la(new ad(a.geometry),new ja({color:void 0!==b?b:16777215}))};h.EllipseCurve=La;h.EqualDepth=4;h.EqualStencilFunc=514;h.EquirectangularReflectionMapping=303;h.EquirectangularRefractionMapping=304;h.Euler=Ub;h.EventDispatcher=Fa;h.ExtrudeBufferGeometry=
gb;h.ExtrudeGeometry=hc;h.Face3=Dc;h.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");return new Dc(a,b,c,e,f,g)};h.FaceColors=1;h.FileLoader=Ra;h.FlatShading=1;h.Float32Attribute=function(a,b){console.warn("THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead.");return new C(a,b)};h.Float32BufferAttribute=C;h.Float64Attribute=function(a,b){console.warn("THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead.");
return new Fd(a,b)};h.Float64BufferAttribute=Fd;h.FloatType=1015;h.Fog=Re;h.FogExp2=Qe;h.Font=Dg;h.FontLoader=Eg;h.FrontFaceDirectionCCW=1;h.FrontFaceDirectionCW=0;h.FrontSide=0;h.Frustum=Hd;h.GammaEncoding=3007;h.Geometry=M;h.GeometryUtils={merge:function(a,b,c){console.warn("THREE.GeometryUtils: .merge() has been moved to Geometry. Use geometry.merge( geometry2, matrix, materialIndexOffset ) instead.");if(b.isMesh){b.matrixAutoUpdate&&b.updateMatrix();var d=b.matrix;b=b.geometry}a.merge(b,d,c)},
center:function(a){console.warn("THREE.GeometryUtils: .center() has been moved to Geometry. Use geometry.center() instead.");return a.center()}};h.GreaterDepth=6;h.GreaterEqualDepth=5;h.GreaterEqualStencilFunc=518;h.GreaterStencilFunc=516;h.GridHelper=vf;h.Group=Od;h.HalfFloatType=1016;h.HemisphereLight=ef;h.HemisphereLightHelper=ld;h.HemisphereLightProbe=Fg;h.IcosahedronBufferGeometry=Tc;h.IcosahedronGeometry=$d;h.ImageBitmapLoader=Bg;h.ImageLoader=ed;h.ImageUtils=Mb;h.ImmediateRenderObject=te;h.IncrementStencilOp=
7682;h.IncrementWrapStencilOp=34055;h.InstancedBufferAttribute=pf;h.InstancedBufferGeometry=of;h.InstancedInterleavedBuffer=Og;h.InstancedMesh=Ue;h.Int16Attribute=function(a,b){console.warn("THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead.");return new Dd(a,b)};h.Int16BufferAttribute=Dd;h.Int32Attribute=function(a,b){console.warn("THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead.");return new Ed(a,b)};h.Int32BufferAttribute=Ed;
h.Int8Attribute=function(a,b){console.warn("THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead.");return new Ad(a,b)};h.Int8BufferAttribute=Ad;h.IntType=1013;h.InterleavedBuffer=sb;h.InterleavedBufferAttribute=Pd;h.Interpolant=Ka;h.InterpolateDiscrete=2300;h.InterpolateLinear=2301;h.InterpolateSmooth=2302;h.InvertStencilOp=5386;h.JSONLoader=function(){console.error("THREE.JSONLoader has been removed.")};h.KeepStencilOp=7680;h.KeyframeTrack=ra;h.LOD=Sd;h.LatheBufferGeometry=
$c;h.LatheGeometry=le;h.Layers=$f;h.LensFlare=function(){console.error("THREE.LensFlare has been moved to /examples/js/objects/Lensflare.js")};h.LessDepth=2;h.LessEqualDepth=3;h.LessEqualStencilFunc=515;h.LessStencilFunc=513;h.Light=ba;h.LightProbe=ab;h.LightShadow=kb;h.Line=Ja;h.Line3=Rg;h.LineBasicMaterial=ja;h.LineCurve=Ea;h.LineCurve3=Xa;h.LineDashedMaterial=sc;h.LineLoop=Ve;h.LinePieces=1;h.LineSegments=la;h.LineStrip=0;h.LinearEncoding=3E3;h.LinearFilter=1006;h.LinearInterpolant=pe;h.LinearMipMapLinearFilter=
1008;h.LinearMipMapNearestFilter=1007;h.LinearMipmapLinearFilter=1008;h.LinearMipmapNearestFilter=1007;h.LinearToneMapping=1;h.Loader=Q;h.LoaderUtils=rh;h.LoadingManager=wg;h.LogLuvEncoding=3003;h.LoopOnce=2200;h.LoopPingPong=2202;h.LoopRepeat=2201;h.LuminanceAlphaFormat=1025;h.LuminanceFormat=1024;h.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2};h.Material=L;h.MaterialLoader=nf;h.Math=O;h.Matrix3=za;h.Matrix4=P;h.MaxEquation=104;h.Mesh=ca;h.MeshBasicMaterial=Oa;h.MeshDepthMaterial=Gb;h.MeshDistanceMaterial=
Hb;h.MeshFaceMaterial=function(a){console.warn("THREE.MeshFaceMaterial has been removed. Use an Array instead.");return a};h.MeshLambertMaterial=qc;h.MeshMatcapMaterial=rc;h.MeshNormalMaterial=pc;h.MeshPhongMaterial=Kb;h.MeshPhysicalMaterial=nc;h.MeshStandardMaterial=hb;h.MeshToonMaterial=oc;h.MinEquation=103;h.MirroredRepeatWrapping=1002;h.MixOperation=1;h.MultiMaterial=function(a){void 0===a&&(a=[]);console.warn("THREE.MultiMaterial has been removed. Use an Array instead.");a.isMultiMaterial=!0;
a.materials=a;a.clone=function(){return a.slice()};return a};h.MultiplyBlending=4;h.MultiplyOperation=0;h.NearestFilter=1003;h.NearestMipMapLinearFilter=1005;h.NearestMipMapNearestFilter=1004;h.NearestMipmapLinearFilter=1005;h.NearestMipmapNearestFilter=1004;h.NeverDepth=0;h.NeverStencilFunc=512;h.NoBlending=0;h.NoColors=0;h.NoToneMapping=0;h.NormalBlending=1;h.NotEqualDepth=7;h.NotEqualStencilFunc=517;h.NumberKeyframeTrack=cd;h.Object3D=D;h.ObjectLoader=rf;h.ObjectSpaceNormalMap=1;h.OctahedronBufferGeometry=
ec;h.OctahedronGeometry=Zd;h.OneFactor=201;h.OneMinusDstAlphaFactor=207;h.OneMinusDstColorFactor=209;h.OneMinusSrcAlphaFactor=205;h.OneMinusSrcColorFactor=203;h.OrthographicCamera=gd;h.PCFShadowMap=1;h.PCFSoftShadowMap=2;h.PMREMGenerator=Tg;h.ParametricBufferGeometry=Rc;h.ParametricGeometry=Wd;h.Particle=function(a){console.warn("THREE.Particle has been renamed to THREE.Sprite.");return new Qd(a)};h.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");
return new Va(a)};h.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Oc(a,b)};h.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};h.Path=$a;h.PerspectiveCamera=pa;h.Plane=Ta;h.PlaneBufferGeometry=dc;h.PlaneGeometry=Id;h.PlaneHelper=we;h.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Oc(a,b)};
h.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};h.PointLight=hf;h.PointLightHelper=kd;h.Points=Oc;h.PointsMaterial=Va;h.PolarGridHelper=wf;h.PolyhedronBufferGeometry=Ga;h.PolyhedronGeometry=Xd;h.PositionalAudio=Kg;h.PropertyBinding=Ba;h.PropertyMixer=Mg;h.QuadraticBezierCurve=Ya;h.QuadraticBezierCurve3=jb;h.Quaternion=Da;h.QuaternionKeyframeTrack=qe;h.QuaternionLinearInterpolant=$e;h.REVISION="112";h.RGBADepthPacking=
3201;h.RGBAFormat=1023;h.RGBAIntegerFormat=1033;h.RGBA_ASTC_10x10_Format=37819;h.RGBA_ASTC_10x5_Format=37816;h.RGBA_ASTC_10x6_Format=37817;h.RGBA_ASTC_10x8_Format=37818;h.RGBA_ASTC_12x10_Format=37820;h.RGBA_ASTC_12x12_Format=37821;h.RGBA_ASTC_4x4_Format=37808;h.RGBA_ASTC_5x4_Format=37809;h.RGBA_ASTC_5x5_Format=37810;h.RGBA_ASTC_6x5_Format=37811;h.RGBA_ASTC_6x6_Format=37812;h.RGBA_ASTC_8x5_Format=37813;h.RGBA_ASTC_8x6_Format=37814;h.RGBA_ASTC_8x8_Format=37815;h.RGBA_PVRTC_2BPPV1_Format=35843;h.RGBA_PVRTC_4BPPV1_Format=
35842;h.RGBA_S3TC_DXT1_Format=33777;h.RGBA_S3TC_DXT3_Format=33778;h.RGBA_S3TC_DXT5_Format=33779;h.RGBDEncoding=3006;h.RGBEEncoding=3002;h.RGBEFormat=1023;h.RGBFormat=1022;h.RGBIntegerFormat=1032;h.RGBM16Encoding=3005;h.RGBM7Encoding=3004;h.RGB_ETC1_Format=36196;h.RGB_PVRTC_2BPPV1_Format=35841;h.RGB_PVRTC_4BPPV1_Format=35840;h.RGB_S3TC_DXT1_Format=33776;h.RGFormat=1030;h.RGIntegerFormat=1031;h.RawShaderMaterial=vb;h.Ray=Wb;h.Raycaster=mi;h.RectAreaLight=mf;h.RedFormat=1028;h.RedIntegerFormat=1029;
h.ReinhardToneMapping=2;h.RepeatWrapping=1E3;h.ReplaceStencilOp=7681;h.ReverseSubtractEquation=102;h.RingBufferGeometry=Zc;h.RingGeometry=ke;h.Scene=pb;h.SceneUtils={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")}};h.ShaderChunk=
N;h.ShaderLib=eb;h.ShaderMaterial=oa;h.ShadowMaterial=mc;h.Shape=Lb;h.ShapeBufferGeometry=kc;h.ShapeGeometry=jc;h.ShapePath=Cg;h.ShapeUtils=tb;h.ShortType=1011;h.Skeleton=Te;h.SkeletonHelper=jd;h.SkinnedMesh=Td;h.SmoothShading=2;h.Sphere=qb;h.SphereBufferGeometry=ic;h.SphereGeometry=je;h.Spherical=oi;h.SphericalHarmonics3=tf;h.SphericalReflectionMapping=305;h.Spline=Zg;h.SplineCurve=Za;h.SplineCurve3=Di;h.SpotLight=gf;h.SpotLightHelper=id;h.SpotLightShadow=ff;h.Sprite=Qd;h.SpriteMaterial=Jb;h.SrcAlphaFactor=
204;h.SrcAlphaSaturateFactor=210;h.SrcColorFactor=202;h.StaticCopyUsage=35046;h.StaticDrawUsage=35044;h.StaticReadUsage=35045;h.StereoCamera=ii;h.StreamCopyUsage=35042;h.StreamDrawUsage=35040;h.StreamReadUsage=35041;h.StringKeyframeTrack=af;h.SubtractEquation=101;h.SubtractiveBlending=3;h.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3};h.TangentSpaceNormalMap=0;h.TetrahedronBufferGeometry=Sc;h.TetrahedronGeometry=Yd;h.TextBufferGeometry=Yc;h.TextGeometry=ie;h.Texture=T;h.TextureLoader=df;h.TorusBufferGeometry=
Wc;h.TorusGeometry=de;h.TorusKnotBufferGeometry=Vc;h.TorusKnotGeometry=ce;h.Triangle=ma;h.TriangleFanDrawMode=2;h.TriangleStripDrawMode=1;h.TrianglesDrawMode=0;h.TubeBufferGeometry=fc;h.TubeGeometry=be;h.UVMapping=300;h.Uint16Attribute=function(a,b){console.warn("THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead.");return new Xb(a,b)};h.Uint16BufferAttribute=Xb;h.Uint32Attribute=function(a,b){console.warn("THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead.");
return new Yb(a,b)};h.Uint32BufferAttribute=Yb;h.Uint8Attribute=function(a,b){console.warn("THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead.");return new Bd(a,b)};h.Uint8BufferAttribute=Bd;h.Uint8ClampedAttribute=function(a,b){console.warn("THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead.");return new Cd(a,b)};h.Uint8ClampedBufferAttribute=Cd;h.Uncharted2ToneMapping=3;h.Uniform=uf;h.UniformsLib=E;h.UniformsUtils=
Xk;h.UnsignedByteType=1009;h.UnsignedInt248Type=1020;h.UnsignedIntType=1014;h.UnsignedShort4444Type=1017;h.UnsignedShort5551Type=1018;h.UnsignedShort565Type=1019;h.UnsignedShortType=1012;h.VSMShadowMap=3;h.Vector2=x;h.Vector3=n;h.Vector4=S;h.VectorKeyframeTrack=dd;h.Vertex=function(a,b,c){console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead.");return new n(a,b,c)};h.VertexColors=2;h.VideoTexture=tg;h.WebGLMultisampleRenderTarget=Zf;h.WebGLRenderTarget=va;h.WebGLRenderTargetCube=
Eb;h.WebGLRenderer=pg;h.WebGLUtils=Vh;h.WireframeGeometry=Qc;h.WireframeHelper=function(a,b){console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead.");return new la(new Qc(a.geometry),new ja({color:void 0!==b?b:16777215}))};h.WrapAroundEnding=2402;h.XHRLoader=function(a){console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader.");return new Ra(a)};h.ZeroCurvatureEnding=2400;h.ZeroFactor=200;h.ZeroSlopeEnding=2401;h.ZeroStencilOp=0;h.sRGBEncoding=3001;Object.defineProperty(h,
"__esModule",{value:!0})});
})();