File: /home/dronicaehy/www/FCC_VT_Dronica/lib/tdvplayer.js
(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=["­",'<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(){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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},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);function j(a){throw a;}var m=void 0,o=!0,q=null,z=!1;function C(){return function(){}}function L(a){return function(b){this[a]=b}}function P(a){return function(){return this[a]}}function R(a){return function(){return a}}
(function(){function a(a){this.bj=a;this.Br=q;this.Ec={}}function b(){this.ki={};this.ki[b.SCRIPT_URL]=[];this.ki[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.ki[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.ki[b.HLS_URL]="lib/Hls.js";this.ki[b.CURSORS_DIR_URL]="lib/cursors";this.ki[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.ki[b.BACKGROUND_PRELOAD_ENABLED]=m}function c(){this.ty=[];this.RE=[];this.Hda=[];this.CB=q}function f(a){return"[object Array]"==Object.prototype.toString.call(a)}function e(a){return 0<=
h.search(a.toLowerCase())}var d=window.TDV=window.TDV||{},h=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.j3=function(){return{MAJOR:"0",MINOR:"1012"}};c.prototype.A_=function(){if(this.CB)for(;0<this.ty.length;){var a=this.ty[0];this.ty=this.ty.slice(1);this.RE.push(a);this.K9(a)}};c.prototype.HY=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.taa=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
a=a[a.length-1]);return this.HY(a.src)};c.prototype.K9=function(a){var d=this,g=a.bj.get(b.SELECTED_SCRIPT_URL);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=g;document.getElementsByTagName("head")[0].appendChild(b);d.CB.Kma(a)},1)};c.prototype.defineScript=c.prototype.ooa=function(a){for(var d=[],g=this.taa(),e=0;e<this.RE.length;e++){var c=this.RE[e],h=this.HY(c.bj.get(b.SELECTED_SCRIPT_URL));h==g?(c.bj.set(b.SCRIPT_DATA,a),c.jma(new this.CB(c,c.bj)),
this.Hda.push(c)):d.push(h)}this.RE=d};c.prototype.create=c.prototype.create=function(a){var e=a.get(b.SCRIPT_URL),e=f(e)?this.nea(e):"string"===typeof e?e:"script.js";a.set(b.SELECTED_SCRIPT_URL,e);a=new d.i6(a);this.ty.push(a);this.A_();return a};c.prototype.setPlayerClass=c.prototype.ima=function(a){this.CB=a;this.A_()};c.prototype.nea=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var d=a[b];if(f(d)){if(this.a1(d[0]))return d[1]}else if("string"===typeof d)return d}return a[0][1]}return"script.js"};
c.prototype.a1=function(a){if("string"===typeof a){var b=a.match(/^\s*default\s*$/);if(b)return o;if(b=a.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.Zd==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.ms==b[1].toLowerCase();if(b=a.match(/^\s*screen_size\s*(<|>|=|<=|>=)\s*(\d+)\s*x\s*(\d+)\s*$/)){var a=parseInt(b[2]),d=parseInt(b[3]),e;switch(b[1]){case "<":e=function(a,b){return a<b};break;
case ">":e=function(a,b){return a>b};break;case "=":e=function(a,b){return a==b};break;case "<=":e=function(a,b){return a<=b};break;case ">=":e=function(a,b){return a>=b}}return e(screen.width,a)&&e(screen.height,d)||this.b4&&e(screen.width,d)&&e(screen.height,a)}return z}if(f(a)){for(b=0;b<a.length;b++)if(!this.a1(a[b]))return z;return o}return z};c.prototype.OS_IOS=c.prototype.pB="ios";c.prototype.OS_ANDROID=c.prototype.gI="android";c.prototype.OS_WINDOWS=c.prototype.xT="windows";c.prototype.OS_WINDOWS_PHONE=
c.prototype.kI="windows_phone";c.prototype.OS_MACOSX=c.prototype.hI="osx";c.prototype.OS_LINUX=c.prototype.wT="linux";c.prototype.OS_QNX=c.prototype.jI="qnx";c.prototype.OS_OTHER=c.prototype.iI="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.Wv="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.nH="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.mH="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.lH="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.oH="other";c.prototype.BROWSER_SAFARI_IOS=
c.prototype.Zg="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.ZA="opera";c.prototype.BROWSER_SAFARI=c.prototype.uk="safari";c.prototype.BROWSER_CHROME=c.prototype.Zh="chrome";c.prototype.BROWSER_EDGE=c.prototype.Ps="edge";c.prototype.BROWSER_MSIE=c.prototype.Qp="msie";c.prototype.BROWSER_ANDROID=c.prototype.Qv="android";c.prototype.BROWSER_MOZILLA=c.prototype.YA="mozilla";c.prototype.BROWSER_OTHER=c.prototype.kH="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.Uv="samsunginternet";
c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.Rv="oculusbrowser";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.Vv="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.$A="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.Sv="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.Qs="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.Tv="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.Rp=
"tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.Qs="chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.aB="firefox_reality";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.bB="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.pH=-1;c.prototype.DEVICE_IPHONE=c.prototype.tH="iphone";c.prototype.DEVICE_IPAD=c.prototype.Yv="ipad";c.prototype.DEVICE_IPOD=c.prototype.uH="ipod";c.prototype.DEVICE_OTHER=c.prototype.vH="other";c.prototype.os=c.prototype.Zd=e("iphone")||
e("ipad")||e("ipod")?c.prototype.pB:e("qnx")?c.prototype.jI:e("android")?c.prototype.gI:e("windows phone")?c.prototype.kI:e("windows")?c.prototype.xT:e("mac_powerpc")?c.prototype.hI:e("macintosh")?1<navigator.maxTouchPoints?c.prototype.pB:c.prototype.hI:e("linux")||e("x11")?c.prototype.wT:c.prototype.iI;c.prototype.browser=c.prototype.browser=e("ipad")||e("iphone")||e("ipod")||e("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Zg:e("opera")?c.prototype.ZA:e("edge")?c.prototype.Ps:e("chrome")||
e("crmo")?c.prototype.Zh:e("android")?c.prototype.Qv:e("safari")?c.prototype.uk:e("trident")||e("msie")?c.prototype.Qp:!e("compatible")&&e("mozilla")?c.prototype.YA:c.prototype.kH;c.prototype.browserType=c.prototype.Yu=c.prototype.browser==c.prototype.Zg||c.prototype.browser==c.prototype.Zh||c.prototype.browser==c.prototype.Qv||c.prototype.browser==c.prototype.uk||e("webkit")?c.prototype.Wv:c.prototype.browser==c.prototype.ZA||e("opera")?c.prototype.nH:e("trident")||e("msie")?c.prototype.mH:!e("compatible")&&
e("mozilla")?c.prototype.lH:c.prototype.oH;c.prototype.browserSubtype=c.prototype.ud=e("oculusbrowser")&&e("mobile vr")?c.prototype.Rv:e("samsungbrowser")&&e("android")?e("mobile vr")?c.prototype.Vv:c.prototype.Uv:e("ipad")||e("iphone")||e("ipod")?e("crios")?c.prototype.$A:e("safari")&&e("version")&&!navigator.$oa?c.prototype.Sv:c.prototype.Tv:e("electron")?c.prototype.Rp:e("chrome")&&e("wv")?c.prototype.Qs:e("edg/")?c.prototype.DS:!e("compatible")&&e("mozilla")&&e("mobile vr")?c.prototype.aB:c.prototype.bB;
c.prototype.browserVersion=c.prototype.t2=function(){if(c.prototype.browser==c.prototype.Qp){var a=h.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1]);a=h.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1])}return c.prototype.pH}();c.prototype.device=c.prototype.ms=e("ipad")||e("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Yv:e("iphone")?c.prototype.tH:e("ipod")?c.prototype.uH:c.prototype.vH;var k;a:{switch(c.prototype.Zd){case c.prototype.gI:case c.prototype.pB:case c.prototype.kI:case c.prototype.jI:k=
o;break a}k=z}c.prototype.mobile=c.prototype.b4=k;d.PlayerAPI=d.Ia=new c;b.prototype.append=b.prototype.append=function(a,d,g){a==b.SCRIPT_URL&&("undefined"==typeof g&&(g=d,d="default"),d=[d,g]);f(this.ki[a])||(this.ki[a]=[]);this.ki[a].push(d)};b.prototype.set=b.prototype.set=function(a,b){this.ki[a]=b};b.prototype.get=b.prototype.get=function(a){return this.ki[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.e6=
"PinchToZoomEnabled";d.PlayerSettings=d.PlayerSettings=b;d.PlayerEvent=d.mI=function(a,b,d,e){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=d[d.length-1];this.sourceClassPath=d;this.sourceId=e};a.prototype.jma=L("Br");a.prototype["delete"]=function(){this.Br&&(this.Br.clear(),this.Br=q)};a.prototype.getById=a.prototype.uoa=function(a){return this.Br.yja(a)};a.prototype.getByClassName=a.prototype.yl=function(a){return this.Br.e3(a)};a.prototype.createInstance=a.prototype.up=function(a){return this.Br.up(a)};
a.prototype.bind=a.prototype.bind=function(a,b,d,e){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";this.Ec[a]=this.Ec[a]||{};this.Ec[a][c]=this.Ec[a][c]||[];this.Ec[a][c].push({handler:b,context:d,immediate:e});return this};a.prototype.unbind=a.prototype.unbind=function(a,b,d,e){var c=a.split(":"),a=c[0],c=1<c.length?c[1]:"*";if(a in this.Ec&&c in this.Ec[a]){for(var h=[],f=this.Ec[a][c],k=0;k<f.length;k++){var u=f[k];(u.handler!=b||u.context!=d||u.immediate!=e)&&h.push(u)}this.Ec[a][c]=h}};a.prototype.bindOnObject=
a.prototype.hoa=function(a,b,d,e,c){return this.bind(b+":"+this.wL(a),d,e,c)};a.prototype.unbindOnObject=a.prototype.jpa=function(a,b,d,e,c){return this.unbind(b+":"+this.wL(a),d,e,c)};a.prototype.bindOnObjectsOf=a.prototype.ioa=function(a,b,d,e,c){return this.bind(b+":"+this.lL(a),d,e,c)};a.prototype.unbindOnObjectsOf=a.prototype.kpa=function(a,b,d,e,c){return this.unbind(b+":"+this.lL(a),d,e,c)};a.prototype.trigger=function(a){if(a.name in this.Ec){this.Hw(a,o);var b=this;setTimeout(function(){b.Hw(a,
z)},0)}};a.prototype.Hw=function(a,b){for(var d=this.R$(a,b),e=0;e<d.length;e++)try{d[e].handler.call(d[e].context||window,a)}catch(c){setTimeout(function(){j(c)},0)}};a.prototype.R$=function(a,b){var d=[];if(a.name in this.Ec){for(var e=[],c=0;c<a.sourceClassPath.length;c++)e.push(this.lL(a.sourceClassPath[c]));a.sourceId&&e.push(this.wL(a.sourceId));e.push("*");for(var h=this.Ec[a.name],c=0;c<e.length;c++)for(var f=h[e[c]]||[],k=0;k<f.length;k++)!!f[k].immediate==!!b&&d.push(f[k])}return d};a.prototype.wL=
function(a){return"instance("+a+")"};a.prototype.lL=function(a){return"className("+a+")"};d.Player=d.i6=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(o)});
(function(){function a(a,b){return a.r8?p(b).chain():b}function b(a){return"\\"+T[a]}function c(a){function b(d){return a[d]}var d="(?:"+p.keys(a).join("|")+")",i=RegExp(d),g=RegExp(d,"g");return function(a){return a=q==a?"":""+a,i.test(a)?a.replace(g,b):a}}function f(a,b,d,i){if(a===b)return 0!==a||1/a===1/b;if(q==a||q==b)return a===b;a instanceof p&&(a=a.gs);b instanceof p&&(b=b.gs);var g=G.call(a);if(g!==G.call(b))return z;switch(g){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}g="[object Array]"===g;if(!g){if("object"!=typeof a||"object"!=typeof b)return z;var e=a.constructor,c=b.constructor;if(e!==c&&(!p.isFunction(e)||!(e instanceof e&&p.isFunction(c)&&c instanceof c))&&"constructor"in a&&"constructor"in b)return z}d=d||[];i=i||[];for(e=d.length;e--;)if(d[e]===a)return i[e]===b;if(d.push(a),i.push(b),g){if(e=a.length,e!==b.length)return z;
for(;e--;)if(!f(a[e],b[e],d,i))return z}else{var h,g=p.keys(a);if(e=g.length,p.keys(b).length!==e)return z;for(;e--;)if(h=g[e],!p.has(b,h)||!f(a[h],b[h],d,i))return z}return d.pop(),i.pop(),o}function e(a,b,d,i,g){if(!(i instanceof b))return a.apply(d,g);b=n(a.prototype);a=a.apply(b,g);return p.Av(a)?a:b}function d(a,b,i,g){for(var e=[],c=0,g=g||0,h=D(a);h>g;g++){var f=a[g];if(k(f)&&(p.isArray(f)||p.isArguments(f))){b||(f=d(f,b,i));var r=0,n=f.length;for(e.length+=n;n>r;)e[c++]=f[r++]}else i||(e[c++]=
f)}return e}function h(a){return function(b,d,g){var i={};return d=l(d,g),p.each(b,function(g,e){var c=d(g,e,b);a(i,g,c)}),i}}function k(a){a=D(a);return"number"==typeof a&&0<=a&&Q>=a}function i(a){return function(b){return q==b?m:b[a]}}function n(a){if(!p.Av(a))return{};if(N)return N(a);s.prototype=a;a=new s;return s.prototype=q,a}function g(a,b){return function(d){var g=arguments.length;if(2>g||q==d)return d;for(var i=1;g>i;i++)for(var e=arguments[i],c=a(e),h=c.length,f=0;h>f;f++){var r=c[f];b&&
d[r]!==m||(d[r]=e[r])}return d}}function l(a,b,d){return q==a?p.identity:p.isFunction(a)?r(a,b,d):p.Av(a)?p.oR(a):p.p4(a)}function r(a,b,d){if(b===m)return a;switch(q==d?3:d){case 1:return function(d){return a.call(b,d)};case 2:return function(d,g){return a.call(b,d,g)};case 3:return function(d,g,i){return a.call(b,d,g,i)};case 4:return function(d,g,i,e){return a.call(b,d,g,i,e)}}return function(){return a.apply(b,arguments)}}function p(a){return a instanceof p?a:this instanceof p?void(this.gs=a):
new p(a)}function s(){}function t(a){return function(b,d,g,i){var d=r(d,i,4),e=!k(b)&&p.keys(b),c=(e||b).length,h=0<a?0:c-1;3>arguments.length&&(g=b[e?e[h]:h],h+=a);for(var f=d,n=g;0<=h&&c>h;h+=a)var l=e?e[h]:h,n=f(n,b[l],l,b);return n}}function u(a){return function(b,d,g){for(var d=l(d,g),g=D(b),i=0<a?0:g-1;0<=i&&g>i;i+=a)if(d(b[i],i,b))return i;return-1}}function v(a,b,d){return function(g,i,e){var c=0,h=D(g);if("number"==typeof e)0<a?c=0<=e?e:Math.max(e+h,c):h=0<=e?Math.min(e+1,h):e+h+1;else if(d&&
e&&h)return e=d(g,i),g[e]===i?e:-1;if(i!==i)return e=b(E.call(g,c,h),p.isNaN),0<=e?e+c:-1;for(e=0<a?c:h-1;0<=e&&h>e;e+=a)if(g[e]===i)return e;return-1}}function w(a,b){var d=H.length,g=a.constructor,g=p.isFunction(g)&&g.prototype||B,i="constructor";for(p.has(a,i)&&!p.contains(b,i)&&b.push(i);d--;)i=H[d],i in a&&a[i]!==g[i]&&!p.contains(b,i)&&b.push(i)}var y=this,A=y.BI,x=Array.prototype,B=Object.prototype,O=x.push,E=x.slice,G=B.toString,I=B.hasOwnProperty,J=Array.isArray,K=Object.keys,F=Function.prototype.bind,
N=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.Gia&&(exports=module.Gia=p),exports.BI=p):y.BI=p;p.VERSION="1.8.3";p.Hoa=function(a,b){return l(a,b,1/0)};var Q=Math.pow(2,53)-1,D=i("length");p.each=p.forEach=function(a,b,d){var b=r(b,d),i;if(k(a)){d=0;for(i=a.length;i>d;d++)b(a[d],d,a)}else{var g=p.keys(a),d=0;for(i=g.length;i>d;d++)b(a[g[d]],g[d],a)}return a};p.map=p.loa=function(a,b,d){for(var b=l(b,d),d=!k(a)&&p.keys(a),i=(d||a).length,g=Array(i),e=0;i>e;e++){var c=
d?d[e]:e;g[e]=b(a[c],c,a)}return g};p.reduce=p.roa=p.Coa=t(1);p.reduceRight=p.soa=t(-1);p.find=p.detect=function(a,b,d){var i;return i=k(a)?p.H2(a,b,d):p.Kia(a,b,d),i!==m&&-1!==i?a[i]:m};p.filter=p.select=function(a,b,d){var i=[];return b=l(b,d),p.each(a,function(a,d,g){b(a,d,g)&&i.push(a)}),i};p.reject=function(a,b,d){return p.filter(a,p.i4(l(b)),d)};p.every=p.all=function(a,b,d){for(var b=l(b,d),d=!k(a)&&p.keys(a),i=(d||a).length,g=0;i>g;g++){var e=d?d[g]:g;if(!b(a[e],e,a))return z}return o};p.some=
p.any=function(a,b,d){for(var b=l(b,d),d=!k(a)&&p.keys(a),i=(d||a).length,g=0;i>g;g++){var e=d?d[g]:g;if(b(a[e],e,a))return o}return z};p.contains=p.Aoa=p.include=function(a,b,d,i){return k(a)||(a=p.values(a)),("number"!=typeof d||i)&&(d=0),0<=p.indexOf(a,b,d)};p.invoke=function(a,b){var d=E.call(arguments,2),i=p.isFunction(b);return p.map(a,function(a){var g=i?b:a[b];return q==g?g:g.apply(a,d)})};p.pluck=function(a,b){return p.map(a,p.p4(b))};p.ppa=function(a,b){return p.filter(a,p.oR(b))};p.qoa=
function(a,b){return p.find(a,p.oR(b))};p.max=function(a,b,d){var i,g=-1/0,e=-1/0;if(q==b&&q!=a)for(var a=k(a)?a:p.values(a),c=0,h=a.length;h>c;c++)d=a[c],d>g&&(g=d);else b=l(b,d),p.each(a,function(a,d,c){i=b(a,d,c);(i>e||i===-1/0&&g===-1/0)&&(g=a,e=i)});return g};p.min=function(a,b,d){var i,g=1/0,e=1/0;if(q==b&&q!=a)for(var a=k(a)?a:p.values(a),c=0,h=a.length;h>c;c++)d=a[c],g>d&&(g=d);else b=l(b,d),p.each(a,function(a,d,c){i=b(a,d,c);(e>i||1/0===i&&1/0===g)&&(g=a,e=i)});return g};p.yma=function(a){for(var b=
k(a)?a:p.values(a),d=b.length,i=Array(d),g=0;d>g;g++)a=p.random(0,g),a!==g&&(i[g]=i[a]),i[a]=b[g];return i};p.sample=function(a,b,d){return q==b||d?(k(a)||(a=p.values(a)),a[p.random(a.length-1)]):p.yma(a).slice(0,Math.max(0,b))};p.sortBy=function(a,b,d){return b=l(b,d),p.pluck(p.map(a,function(a,d,g){return{value:a,index:d,A2:b(a,d,g)}}).sort(function(a,b){var d=a.A2,g=b.A2;if(d!==g){if(d>g||d===m)return 1;if(g>d||g===m)return-1}return a.index-b.index}),"value")};p.groupBy=h(function(a,b,d){p.has(a,
d)?a[d].push(b):a[d]=[b]});p.Boa=h(function(a,b,d){a[d]=b});p.noa=h(function(a,b,d){p.has(a,d)?a[d]++:a[d]=1});p.toArray=function(a){return a?p.isArray(a)?E.call(a):k(a)?p.map(a,p.identity):p.values(a):[]};p.size=function(a){return q==a?0:k(a)?a.length:p.keys(a).length};p.Uoa=function(a,b,d){var b=l(b,d),g=[],i=[];return p.each(a,function(a,d,e){(b(a,d,e)?g:i).push(a)}),[g,i]};p.first=p.head=p.cpa=function(a,b,d){return q==a?m:q==b||d?a[0]:p.Sja(a,a.length-b)};p.Sja=function(a,b){return E.call(a,
0,Math.max(0,a.length-(q==b?1:b)))};p.last=function(a,b,d){return q==a?m:q==b||d?a[a.length-1]:p.rest(a,Math.max(0,a.length-b))};p.rest=p.bpa=p.poa=function(a,b,d){return E.call(a,q==b||d?1:b)};p.compact=function(a){return p.filter(a,p.identity)};p.flatten=function(a,b){return d(a,b,z)};p.without=function(a){return p.difference(a,E.call(arguments,1))};p.uniq=p.unique=function(a,b,d,g){p.isBoolean(b)||(g=d,d=b,b=z);q!=d&&(d=l(d,g));for(var g=[],i=[],e=0,c=D(a);c>e;e++){var h=a[e],f=d?d(h,e,a):h;b?
(e&&i===f||g.push(h),i=f):d?p.contains(i,f)||(i.push(f),g.push(h)):p.contains(g,h)||g.push(h)}return g};p.union=function(){return p.uniq(d(arguments,o,o))};p.intersection=function(a){for(var b=[],d=arguments.length,g=0,i=D(a);i>g;g++){var e=a[g];if(!p.contains(b,e)){for(var c=1;d>c&&p.contains(arguments[c],e);c++);c===d&&b.push(e)}}return b};p.difference=function(a){var b=d(arguments,o,o,1);return p.filter(a,function(a){return!p.contains(b,a)})};p.zip=function(){return p.Nma(arguments)};p.Nma=function(a){for(var b=
a&&p.max(a,D).length||0,d=Array(b),g=0;b>g;g++)d[g]=p.pluck(a,g);return d};p.object=function(a,b){for(var d={},g=0,i=D(a);i>g;g++)b?d[a[g]]=b[g]:d[a[g][0]]=a[g][1];return d};p.H2=u(1);p.Lia=u(-1);p.sortedIndex=function(a,b,d,g){for(var d=l(d,g,1),b=d(b),g=0,i=D(a);i>g;){var e=Math.floor((g+i)/2);d(a[e])<b?g=e+1:i=e}return g};p.indexOf=v(1,p.H2,p.sortedIndex);p.lastIndexOf=v(-1,p.Lia);p.range=function(a,b,d){q==b&&(b=a||0,a=0);for(var d=d||1,b=Math.max(Math.ceil((b-a)/d),0),g=Array(b),i=0;b>i;i++,
a+=d)g[i]=a;return g};p.bind=function(a,b){function d(){return e(a,d,b,this,g.concat(E.call(arguments)))}if(F&&a.bind===F)return F.apply(a,E.call(arguments,1));p.isFunction(a)||j(new TypeError("Bind must be called on a function"));var g=E.call(arguments,2);return d};p.zR=function(a){function b(){for(var g=0,i=d.length,c=Array(i),h=0;i>h;h++)c[h]=d[h]===p?arguments[g++]:d[h];for(;g<arguments.length;)c.push(arguments[g++]);return e(a,b,this,this,c)}var d=E.call(arguments,1);return b};p.bindAll=function(a){var b,
d,g=arguments.length;1>=g&&j(Error("bindAll must be passed function names"));for(b=1;g>b;b++)d=arguments[b],a[d]=p.bind(a[d],a);return a};p.memoize=function(a,b){function d(g){var i=d.dia,e=""+(b?b.apply(this,arguments):g);return p.has(i,e)||(i[e]=a.apply(this,arguments)),i[e]}return d.dia={},d};p.delay=function(a,b){var d=E.call(arguments,2);return setTimeout(function(){return a.apply(q,d)},b)};p.defer=p.zR(p.delay,p,1);p.throttle=function(a,b,d){function g(){f=d.mka===z?0:p.now();h=q;c=a.apply(i,
e);h||(i=e=q)}var i,e,c,h=q,f=0;d||(d={});return function(){var r=p.now();f||d.mka!==z||(f=r);var k=b-(r-f);return i=this,e=arguments,0>=k||k>b?(h&&(clearTimeout(h),h=q),f=r,c=a.apply(i,e),h||(i=e=q)):h||d.gpa===z||(h=setTimeout(g,k)),c}};p.debounce=function(a,b,d){function g(){var r=p.now()-h;b>r&&0<=r?i=setTimeout(g,b-r):(i=q,d||(f=a.apply(c,e),i||(c=e=q)))}var i,e,c,h,f;return function(){c=this;e=arguments;h=p.now();var r=d&&!i;return i||(i=setTimeout(g,b)),r&&(f=a.apply(c,e),c=e=q),f}};p.wrap=
function(a,b){return p.zR(b,a)};p.i4=function(a){return function(){return!a.apply(this,arguments)}};p.compose=function(){var a=arguments,b=a.length-1;return function(){for(var d=b,g=a[b].apply(this,arguments);d--;)g=a[d].call(this,g);return g}};p.after=function(a,b){return function(){return 1>--a?b.apply(this,arguments):m}};p.before=function(a,b){var d;return function(){return 0<--a&&(d=b.apply(this,arguments)),1>=a&&(b=q),d}};p.once=p.zR(p.before,2);var M=!{toString:q}.propertyIsEnumerable("toString"),
H="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");p.keys=function(a){if(!p.Av(a))return[];if(K)return K(a);var b=[],d;for(d in a)p.has(a,d)&&b.push(d);return M&&w(a,b),b};p.pQ=function(a){if(!p.Av(a))return[];var b=[],d;for(d in a)b.push(d);return M&&w(a,b),b};p.values=function(a){for(var b=p.keys(a),d=b.length,g=Array(d),i=0;d>i;i++)g[i]=a[b[i]];return g};p.Loa=function(a,b,d){for(var b=l(b,d),g=p.keys(a),i=g.length,e={},c=0;i>c;c++)d=g[c],e[d]=b(a[d],
d,a);return e};p.Toa=function(a){for(var b=p.keys(a),d=b.length,g=Array(d),i=0;d>i;i++)g[i]=[b[i],a[b[i]]];return g};p.J3=function(a){for(var b={},d=p.keys(a),g=0,i=d.length;i>g;g++)b[a[d[g]]]=d[g];return b};p.functions=p.Poa=function(a){var b=[],d;for(d in a)p.isFunction(a[d])&&b.push(d);return b.sort()};p.extend=g(p.pQ);p.F2=p.assign=g(p.keys);p.Kia=function(a,b,d){for(var b=l(b,d),g,d=p.keys(a),i=0,e=d.length;e>i;i++)if(g=d[i],b(a[g],g,a))return g};p.Aka=function(a,b,g){var i,e,c={},h=a;if(q==
h)return c;p.isFunction(b)?(e=p.pQ(h),i=r(b,g)):(e=d(arguments,z,z,1),i=function(a,b,d){return b in d},h=Object(h));for(var f=0,k=e.length;k>f;f++){var n=e[f],l=h[n];i(l,n,h)&&(c[n]=l)}return c};p.Qoa=function(a,b,g){if(p.isFunction(b))b=p.i4(b);else var i=p.map(d(arguments,z,z,1),String),b=function(a,b){return!p.contains(i,b)};return p.Aka(a,b,g)};p.defaults=g(p.pQ,o);p.create=function(a,b){var d=n(a);return b&&p.F2(d,b),d};p.clone=function(a){return p.Av(a)?p.isArray(a)?a.slice():p.extend({},a):
a};p.tap=function(a,b){return b(a),a};p.eka=function(a,b){var d=p.keys(b),g=d.length;if(q==a)return!g;for(var i=Object(a),e=0;g>e;e++){var c=d[e];if(b[c]!==i[c]||!(c in i))return z}return o};p.isEqual=function(a,b){return f(a,b)};p.isEmpty=function(a){return q==a?o:k(a)&&(p.isArray(a)||p.isString(a)||p.isArguments(a))?0===a.length:0===p.keys(a).length};p.isElement=function(a){return!(!a||1!==a.nodeType)};p.isArray=J||function(a){return"[object Array]"===G.call(a)};p.Av=function(a){var b=typeof a;
return"function"===b||"object"===b&&!!a};p.each("Arguments,Function,String,Number,Date,RegExp,Error".split(","),function(a){p["is"+a]=function(b){return G.call(b)==="[object "+a+"]"}});p.isArguments(arguments)||(p.isArguments=function(a){return p.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(p.isFunction=function(a){return"function"==typeof a||z});p.Doa=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};p.isNaN=function(a){return p.isNumber(a)&&a!==+a};p.isBoolean=function(a){return a===
o||a===z||"[object Boolean]"===G.call(a)};p.isNull=function(a){return q===a};p.isUndefined=function(a){return a===m};p.has=function(a,b){return q!=a&&I.call(a,b)};p.noConflict=function(){return y.BI=A,this};p.identity=function(a){return a};p.moa=function(a){return function(){return a}};p.noop=C();p.p4=i;p.Voa=function(a){return q==a?C():function(b){return a[b]}};p.oR=p.Moa=function(a){return a=p.F2({},a),function(b){return p.eka(b,a)}};p.times=function(a,b,d){for(var g=Array(Math.max(0,a)),b=r(b,
d,1),d=0;a>d;d++)g[d]=b(d);return g};p.random=function(a,b){return q==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))};p.now=Date.now||function(){return(new Date).getTime()};var J={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},U=p.J3(J);p.escape=c(J);p.unescape=c(U);p.result=function(a,b,d){b=q==a?m:a[b];return b===m&&(b=d),p.isFunction(b)?b.call(a):b};var V=0;p.uniqueId=function(a){var b=++V+"";return a?a+b:b};p.Jma={evaluate:/<%([\s\S]+?)%>/g,Uja:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var S=/(.)^/,T={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g;p.template=function(a,d,g){function i(a){return h.call(this,a,p)}!d&&g&&(d=g);var d=p.defaults({},d,p.Jma),e=0,c="__p+='";a.replace(RegExp([(d.escape||S).source,(d.Uja||S).source,(d.evaluate||S).source].join("|")+"|$","g"),function(d,g,i,h,f){return c+=a.slice(e,f).replace(W,b),e=f+d.length,g?c+="'+\n((__t=("+g+"))==null?'':_.escape(__t))+\n'":i?c+="'+\n((__t=("+
i+"))==null?'':__t)+\n'":h&&(c+="';\n"+h+"\n__p+='"),d});c+="';\n";d.s5||(c="with(obj||{}){\n"+c+"}\n");c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{var h=new Function(d.s5||"obj","_",c)}catch(f){j((f.source=c,f))}return i.source="function("+(d.s5||"obj")+"){\n"+c+"}",i};p.chain=function(a){a=p(a);return a.r8=o,a};p.mixin=function(b){p.each(p.functions(b),function(d){var g=p[d]=b[d];p.prototype[d]=function(){var b=[this.gs];return O.apply(b,
arguments),a(this,g.apply(p,b))}})};p.mixin(p);p.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(b){var d=x[b];p.prototype[b]=function(){var g=this.gs;return d.apply(g,arguments),"shift"!==b&&"splice"!==b||0!==g.length||delete g[0],a(this,g)}});p.each(["concat","join","slice"],function(b){var d=x[b];p.prototype[b]=function(){return a(this,d.apply(this.gs,arguments))}});p.prototype.value=P("gs");p.prototype.valueOf=p.prototype.toJSON=p.prototype.value;p.prototype.toString=function(){return""+
this.gs};"function"==typeof define&&define.aoa&&define("jh",[],function(){return p})}).call(this);define("underscore-min",C());define("cE",["underscore-min"],function(){return window._.noConflict()});
define("iX",[],function(){return{Ca:function(a){return a+"_change"},hc:"default",mb:"mouseDown",oc:"mouseMove",Eb:"mouseUp",lq:"mouseWheel",S:"click",dT:"doubleClick",ed:"rollOver",Cc:"rollOut",nj:"mouseEnter",$e:"mouseLeave",bh:"pointerOver",wna:"pointerOut",ET:"pointerDown",FT:"pointerUp",bi:"pointerClick",aI:"gestureStart",K5:"gestureChange",$H:"gestureEnd",L5:"gestureRotate",Rs:"gestureScale",$b:"progress",Tp:"close",OPEN:"open",Sl:"select",hb:"resize",rH:"changing",W:"change",Tl:"stateChange",
O:"loaded",dd:"loadingError",Us:"start",ld:"stop",On:"play",qB:"pause",Ob:"ready",ej:"begin",qa:"end",dna:"cancel",pg:"press",ci:"release",mq:"repeatEnd",Ck:"scroll",mB:"movementChange",cna:"beforeShow",bna:"beforeHide",INIT:"init",tf:"show",og:"hide",Ts:"showEnd",kq:"hideEnd",Q5:"loadingScript",h6:"processingScript",x5:"applicationSet"}});define("bF",[],function(){return function(a,b){this.name=a;this.source=m;this.data=b}});
define("iu",[],function(){function a(){this.ce=[];this.ol=[]}a.prototype.NC=function(a){for(var c=0;c<this.ce.length;c++)if(this.ce[c]==a)return c;return-1};a.prototype.set=function(a,c){var f=this.NC(a);0<=f?this.ol[f]=c:(this.ce.push(a),this.ol.push(c))};a.prototype.t3=function(a){return 0<=this.NC(a)};a.prototype.get=function(a){a=this.NC(a);if(0<=a)return this.ol[a]};a.prototype.keys=function(){return this.ce.slice()};a.prototype.values=function(){return this.ol.slice()};a.prototype.length=function(){return this.ce.length};
a.prototype.clear=function(a){a=this.NC(a);0<=a&&(this.ce.splice(a,1),this.ol.splice(a,1))};a.prototype.each=function(a,c){for(var f=0;f<this.ce.length;f++)a.call(c,this.ce[f],this.ol[f])};return a});
define("fd",["require","cE","iX"],function(a){function b(a){var b=e[a];if(b)return b;if("string"!=typeof a)return e[a]=function(){return a};var i=(b=d.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return e[a]=function(a){return a*i};case "vh":return e[a]=function(a,b){return b*i};case "vmin":return e[a]=function(a,b,d){return d*i};case "vmax":return e[a]=function(a,b,d,e){return e*i};default:return e[a]=function(){return a}}}function c(a){this.la=a;this.av=this.av.bind(this);
this.la.bind(f.hb,this.cb,this,o);this.LO={};this.jm=[];this.cb()}a("cE");var f=a("iX");c.prototype.cb=function(){this.zha();for(var a in this.LO)this.av(this.LO[a]);this.jm.forEach(this.av)};c.prototype.zha=function(){var a=this.la.Wa();this.NF=0.01*this.la.ua();this.LF=0.01*a;this.g2=Math.min(this.NF,this.LF);this.f2=Math.max(this.NF,this.LF)};c.prototype.av=function(a){a(this.NF,this.LF,this.g2,this.f2)};c.prototype.Tha=function(a){this.jm.push(a)};c.prototype.Qka=function(a){a=this.jm.indexOf(a);
0<=a&&this.jm.splice(a,1)};c.prototype.Xha=function(a,d,i,e){function g(b,g,e,f){d.call(a,i,c(b,g,e,f))}var c=b(e);this.LO[a.so+"."+i]=g;g(this.NF,this.LF,this.g2,this.f2)};c.vc={};c.get=function(a){var b=a.so,d=c.vc[b];d||(d=new c(a),c.vc[b]=d);return d};var e={},d=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
define("hy",[],function(){function a(a,b){var e=a.split(b),d=e[0];(e=e.slice(1).join(b))&&(e=b+e);return[d,e]}var b=window.URL||C();b.ph=document.createElement("a");b.O3=function(a){if(b.M3(a)){var f=window.location.protocol+"//"+window.location.hostname;return a.substring(0,f.length)!=f}return z};b.Op=function(a,f){if(b.gka(a))a=window.location.protocol+a;else if(!b.M3(a)&&!b.qA(a)){if(f)if(0==a.indexOf("/")){var e=f.indexOf("//"),d="";0<=e&&(d=f.substr(0,e+2),f=f.substr(e+2));e=f.indexOf("/");0<
e&&(f=f.substr(0,e));a=d+f+a}else a=f+a;b.ph.href=a;a=b.ph.href}return a};b.$ja=function(){switch(window.location.protocol){case "http:":case "https:":return o;default:return z}};b.gka=function(a){return 0===a.indexOf("//")};b.M3=function(a){var b=a.indexOf("://");return 3<=b&&5>=b?o:0==a.indexOf("filesystem:")};b.qA=function(a){return 0==a.indexOf("data:")};b.getDirectory=function(a){a=b.Op(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+"/"};b.Tg=function(a){b.gu||
(b.gu=b.qX());return b.gu[a]!==m};b.pv=function(a){b.gu||(b.gu=b.qX());return b.gu[a]};b.Wu=function(b,f){if(!f)return b;var e=a(b,"#"),d=e[1],e=a(e[0],"?"),h=e[0],e=e[1];return 0<=e.indexOf(f)?b:h+(e+(e?"&":"?")+f)+d};b.parse=function(a){b.ph.href=a;a={};a.protocol=b.ph.protocol;a.hostname=b.ph.hostname;a.port=b.ph.port;a.pathname=b.ph.pathname;a.search=b.ph.search;a.hash=b.ph.hash;a.host=b.ph.host;var f=a.pathname?a.pathname.lastIndexOf("."):-1;a.Hia=0<=f?a.pathname.substr(f).toLowerCase():"";return a};
b.joa=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};b.getExtension=function(a){var a=b.parse(a).pathname,f=a.lastIndexOf(".");return 0<=f?a.substr(f,a.length):""};b.sn=function(a,f){switch((b.pv(a)||"").toLowerCase()){case "false":case "0":case "no":case "n":return z;case "true":case "1":case "yes":case "y":return o;default:return f}};b.gja=function(){var a=parseInt(b.pv("dvs"));return isNaN(a)?5:a};b.jG=function(a){a=parseFloat(b.pv(a));return isNaN(a)?m:a};b.gu=q;b.qX=
function(){for(var a={},b=window.location.search.substring(1).split("&"),e=0;e<b.length;e++){var d=b[e].split("=");a[decodeURIComponent(d[0])]=1<d.length?decodeURIComponent(d[1]):q}return a};return b});
define("gW",["require","cE","jquery.mod"],function(a){var b=a("cE"),c=a("jquery.mod"),f={Rja:function(a,b){function e(){}e.prototype=b.prototype;a.prototype=new e;a.prototype.constructor=a},Zha:function(a,b){b.forEach(function(b){Object.getOwnPropertyNames(b.prototype).forEach(function(i){a.prototype[i]=b.prototype[i]})})},extend:function(){var a=arguments[0],b=arguments[arguments.length-1],e=Array.prototype.slice.call(arguments,1,arguments.length-1);f.Rja(b,a);f.Zha(b,e);return b},deferred:function(a,
e){return function(){var c=arguments;b.defer(function(){a.apply(e,c)})}},Cn:function(a,e){var c=z;return function(){c||(c=o,b.defer(function(){c=z;a.apply(e||window)}))}},memoize:function(a,b,e,i){a.Nx||(a.Nx=[],a.KM=[]);for(var c=a.Nx,g=0,f=c.length;g<f;g++){var r=c[g];if(i.length==r.length){for(var p=o,s=0,t=i.length;s<t&&p;s++)p=r[s]==i[s];if(p)return a.KM[g]}}e=e.apply(window,i);a.Nx.length==b&&(a.Nx.shift(),a.KM.shift());a.Nx.push(i);a.KM.push(e);return e},Et:[],goa:function(a,b){var e=f.w9();
window[e]=function(){a.apply(b,arguments)};f.Et.push({handler:a,context:b,callback:e});return e},voa:function(a,b){for(var e=0;e<f.Et.length;e++){var i=f.Et[e];if(i.handler==a&&i.context==b)return i.callback}},ipa:function(a,b){for(var e=0;e<f.Et.length;e++){var i=f.Et[e];if(i.handler==a&&i.context==b)return i=i.callback,f.Et.splice(e,1),delete window[i],i}},w9:function(){var a;do a="__callback_"+f.r4(8);while(window[a]);return a},r4:function(a){for(var b=[],e=0;e<a;e++)b.push(Math.floor(16*Math.random()).toString(16));
return b.join("")},Fia:function(a){f.Tt=c("<div></div>");f.Tt.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?f.Tt.css({top:0}):f.Tt.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(f.Tt);console.log=function(a){f.log(a)}}},e;f.log=function(a){if(a!=e){e=a;try{f.Tt?c("<div></div>").text(a).prependTo(f.Tt):console.log(a)}catch(b){}}};
f.Woa=function(a){this.bL.push(a)};f.bL=[];f.debug=function(a,b){try{b.apply(this,arguments)}catch(e){f.DG(a,e),j(e)}};f.DG=function(a,b){var e=[];e.push("Exception: "+a);b.message?(e.push(b.message),e.push(b.stack)):e.push(b);this.log(e.join("\n"));for(e=0;e<this.bL.length;e++)this.bL[e](b)};f.clone=function(a,b){var b=b||0,e=new a.constructor,i;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];0<b&&c&&"object"===typeof c&&(c=f.clone(c,b-1));e[i]=c}return e};return f});
define("df","require,jquery.mod,cE,iu,fd,hy,gW".split(","),function(a){function b(a,b){this.jt=a;this.NJ=b;this.sy=q;this.lN={};this.fN=this.xq=this.et=m;this.b_=[];this.Cz=this.bs=m;this.a_=[];this.Yy=this.Pr=m;this.$Z={};this.Px=m;this.YZ=[];this.io=m;this.ZZ=[];this.wo=m;this.fY=this.hY=z}var c=a("jquery.mod"),f=a("cE"),e=a("iu"),d=a("fd"),h=a("hy"),k=a("gW");b.prototype.A=function(a){this.sy=a;this.IV();this.KV();this.FJ();return this};b.prototype.pja=function(){if(this.sy)return b.yl(this.sy)};
b.prototype.iv=P("jt");b.prototype.fA=function(){return this.ro()?this.vm().fA().concat(this.jt):[this.jt]};b.prototype.K=function(a){this.lN=a;this.IV();return this};b.prototype.hasAttributes=function(){return this.K2().length>0};b.prototype.hasAttribute=function(a){return this.IQ(a)?o:z};b.prototype.K2=function(){this.et==m&&this.dW();return this.et};b.prototype.Zla=function(){this.fN=["definitions"];return this};b.prototype.a3=function(){if(this.fN)return this.fN;if(this.ro())this.vm().a3();else return[]};
b.prototype.IQ=function(a){this.xq==m&&this.dW();return this.xq[a]};b.prototype.qk=function(a){this.b_=a;this.H8();return this};b.prototype.Lja=function(){return this.i3().length>0};b.prototype.i3=function(){this.bs==m&&this.gW();return this.bs};b.prototype.Aja=function(){this.Cz==m&&this.gW();return this.Cz};b.prototype.In=function(a){this.a_=a;this.F8();return this};b.prototype.Kja=function(){return this.g3().length>0};b.prototype.g3=function(){this.Pr==m&&this.fW();return this.Pr};b.prototype.zja=
function(){this.Yy==m&&this.fW();return this.Yy};b.prototype.Yb=function(a){this.YZ=a;this.FJ();return this};b.prototype.Hja=function(){return this.MQ().length>0};b.prototype.q3=function(a){this.io==m&&this.oC();return f(this.io).contains(a)};b.prototype.MQ=function(){this.io==m&&this.oC();return this.io};b.prototype.Zi=function(a){this.ZZ=a;this.FJ();return this};b.prototype.Jja=function(){return this.QQ().length>0};b.prototype.s3=function(a){this.wo==m&&this.oC();return f(this.wo).contains(a)};
b.prototype.QQ=function(){this.wo==m&&this.oC();return this.wo};b.prototype.Th=function(a){this.$Z=a;this.KV();return this};b.prototype.Y2=function(){this.Px==m&&this.o9();return this.Px};b.prototype.Ila=function(){this.hY=o;return this};b.prototype.U2=function(){return this.hY||this.ro()&&this.vm().U2()};b.prototype.up=function(a,b,d,e){this.Eda(b,d);var c=this.NJ,h;h=e&&e.length>0?new (k.extend(c,function(){c.apply(this,e)})):new c;h.set("application",a);h.set("baseDirectoy",b);h.set("queryStringParameters",
d);h.set("class",this.iv());return h};b.prototype.Eda=function(a,b){if(!this.fY){this.fY=o;this.y9(a,b);this.a$()}};b.prototype.y9=function(a,b){if(this.Lja()||this.Kja()){var g=this.NJ.prototype,e=this.Aja(),c=this.zja(),f=g.set;g.set=function(g,k){e[g]&&(!k||!h.qA(k))?f.call(this,g,h.Wu(h.Op(k,a),b)):c[g]?d.get(this.get("application")).Xha(this,f,g,k):f.call(this,g,k)}}};b.prototype.a$=function(){var a=this.NJ.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.Hja()||this.Jja()){a.bind=
a.bind;a.getBindings=a.dA;a.hasBindings=a.o3;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.iv()};a.getClassPath=function(){return b.fA()};var d=this.Y2(),e;for(e in d)a[e]=d[e]};b.prototype.IV=function(){this.xq=this.et=m};b.prototype.dW=function(){this.et=[];this.xq={};for(var a in this.lN){this.et.push(a);this.xq[a]=b.pL(this.lN[a])}if(this.ro())for(var d=this.vm(),g=d.K2(),e=0;e<g.length;e++){a=g[e];if(!this.xq[a]){this.et.push(a);this.xq[a]=d.IQ(a)}}};b.prototype.H8=
function(){this.Cz=m};b.prototype.gW=function(){this.bs=this.b_.slice();if(this.ro())this.bs=f(this.bs).union(this.vm().i3());this.Cz={};for(var a=0;a<this.bs.length;a++)this.Cz[this.bs[a]]=o};b.prototype.F8=function(){this.Yy=m};b.prototype.fW=function(){this.Pr=this.a_.slice();if(this.ro())this.Pr=f(this.Pr).union(this.vm().g3());this.Yy={};for(var a=0;a<this.Pr.length;a++)this.Yy[this.Pr[a]]=o};b.prototype.FJ=function(){this.wo=this.io=m};b.prototype.oC=function(){this.io=this.YZ.slice();this.wo=
this.ZZ.slice();if(this.ro()){this.io=f(this.io).union(this.vm().MQ());this.wo=f(this.wo).union(this.vm().QQ())}};b.prototype.KV=function(){this.Px=m};b.prototype.o9=function(){this.Px=f(this.$Z).clone();this.ro()&&f(this.Px).defaults(this.vm().Y2())};b.prototype.ro=function(){return this.sy?o:z};b.prototype.vm=function(){return b.yl(this.sy)};b.GV=new e;b.FV=new e;b.Zna={};b.v=function(a,d){var g=new b(a,d);b.GV.set(a,g);b.FV.set(d,g);return g};b.yl=function(a){return b.GV.get(a)};b.Sia=function(a){return b.FV.get(a)};
b.qb=function(a,d){var g=b.yl(a);if(f(d).isNull())return o;if(d&&d.constructor)for(var e=b.Sia(d.constructor);e;){if(e==g)return o;e=e.pja()}return z};b.pL=function(a){switch(a){case "string":case "code":return b.cga;case "number":return b.Yba;case "bool":return b.O7;case "color":return b.N8;case "percent":return b.pda;case "size":return b.Cfa;case "identifier":return b.Zaa;case "array":return b.UU;case "dict":return b.qda;case "*":return b.T9;default:if(b.sba(a))switch(b.F$(a)){case "array":var d=
b.pL(b.SW(a));return function(a,g){for(var a=b.UU(a,g),e=0;e<a.length;e++)a[e]=d(a[e],g);return a};case "enum":var g=b.TW(a);return b.G$(g);case "or":var g=b.TW(a),e=f(g).map(function(a){return b.pL(a)});return function(a,b){for(var d=0;d<e.length;d++)try{return e[d](a,b)}catch(g){}j("Invalid value")};default:j("Invalid type validator definition: "+a)}else return b.xj(function(d){return b.qb(a,d)})}};b.sba=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.F$=function(a){return a.substring(0,
a.indexOf("["))};b.SW=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.TW=function(a){for(var a=b.SW(a),d=[],g="",e=0,c=0;c<a.length;c++){var h=a.charAt(c),g=g+h;switch(h){case "[":e++;break;case "]":e--;break;case ",":if(e==0){d.push(g.substr(0,g.length-1));g=""}}}g!=""&&d.push(g);return f(d).map(function(a){return b.Mga(a)})};b.Mga=function(a){return a.replace(/^\s+|\s+$/g,"")};b.xj=function(a){return function(d,g){if(!a(d)){typeof d!="string"&&j("Invalid value");d=b.Y9(d,
g);a(d)||j("Invalid value")}return d}};b.Y9=function(a,b){return function(){return eval(a)}.call(b)};b.T9=function(a){return a};b.Yba=b.xj(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.cga=b.xj(function(a){return typeof a=="string"||a===q});b.O7=b.xj(function(a){return a===o||a===z});b.UU=b.xj(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.G$=function(a){return b.xj(function(b){return f(a).contains(b)})};b.EC=function(a,b){return f(a).isString()&&
b.test(a)};b.Zaa=b.xj(function(a){return b.EC(a,/^[a-z][a-z0-9_]*$/i)});b.pda=b.xj(function(a){return b.EC(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.Cfa=b.xj(function(a){return b.EC(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.N8=b.xj(function(a){return b.EC(a,/^#[0-9a-f]{6}$/i)});b.qda=b.xj(function(a){try{return c.isPlainObject(a)}catch(b){return z}});return b});
define("gZ",[],function(){function a(){var a=d.length,b=d.splice(0,a);e+=a;for(var i=0;i<a;i++){var c=b[i];c&&c()}}var b=window.MutationObserver,c=window.Promise,f=0,e=0,d=[],h;setInterval(function(){0<d.length&&100<(new Date).getTime()-k&&a()},100);var k,i;c&&(i=new c(function(a){a()}));b&&(h=document.createTextNode(""),(new b(a)).observe(h,{characterData:o}));return{BA:function(e,g){if(g>0||!b&&!c)return~setTimeout(e,g||1);if(d.length==0){c?i.then(a):h.textContent=f;k=(new Date).getTime()}f++;d.push(e);
return f-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-e;if(b>=0){d[b]||j("invalid async handle: "+a);d[b]=q}}}}});
define("dQ",["cE","gZ","bF","gW"],function(a,b,c,f){function e(){this.Ec={}}e.prototype.bind=function(a,b,e,i,c){a===m&&j("Event name undefined");b===m&&j("Event handler undefined");a in this.Ec||(this.Ec[a]=[]);this.Ec[a].push({handler:b,handlerDef:c||b,context:e||this,immediate:i?o:z});return this};e.prototype.unbind=function(b,e,c){if(b in this.Ec){var c=c||this,i=a(this.Ec[b]).select(function(a){return a.handler!=e||a.context!=c});0<i.length?this.Ec[b]=i:delete this.Ec[b]}return this};e.prototype.p5=
function(){this.Ec={}};e.prototype.trigger=function(a,b){var e="string"==typeof a,i=e?a:a.name;if(!(!i in this.Ec))return e&&(a=new c(a,b)),a.source=this,this.Hw(a,o),i in this.Ec&&this.z9(a),this};e.prototype.z9=function(a){e.sC.push({caller:this,event:a});e.zK||(e.zK=o,b.BA(e.kW))};e.sC=[];e.zK=z;e.kW=function(){for(var a=(new Date).getTime()+1E3;e.sC.length;){var c=e.sC.shift();e.prototype.Hw.call(c.caller,c.event,z);if((new Date).getTime()>a)break}0<e.sC.length?b.BA(e.kW,1):e.zK=z};e.prototype.o3=
function(a){return a in this.Ec};e.prototype.dA=function(a,b){for(var e=[],i=this.Ec[a]||[],c=0;c<i.length;c++){var g=i[c];(b===m||g.immediate==b)&&e.push(g.handlerDef)}return e};e.prototype.Hw=function(a,b){if(a.name in this.Ec)for(var e=this.Ec[a.name],i=0;i<e.length;i++){var c=e[i];if(c.immediate==b)try{c.handler.call(c.context,a)}catch(g){f.DG("Exception handling event "+a.name,g)}}};return e});
define("ho",["iX","gW","bF","dQ"],function(a,b,c,f){b=b.extend(f,function(){f.call(this);this.oJ={}});b.prototype.set=function(a,b){this.oJ[a]!=b&&(this.oJ[a]=b,this.w1(a))};b.prototype.w1=function(b){this.trigger(new c(a.Ca(b)))};b.prototype.get=function(a,b){var c=this.oJ[a];return c!==m?c:b};return b});
define("eh",[],function(){function a(a,c,f){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof c?c:0,"undefined"!=typeof f?f:0)}a.prototype.set=function(a,c,f){this.x=a;this.y=c;this.z=f};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.Vu(this)};a.prototype.project=function(a){a.project(this)};return a});
define("a",["gW","eh"],function(a,b){var c=a.extend(b,function(a,e,d){b.call(this,a,e,d)});c.prototype.clone=function(){return new c(this.x,this.y,this.z)};c.prototype.Bc=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.nc=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.UQ=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.normalize=function(){var a=this.UQ();1!=a&&(this.x/=
a,this.y/=a,this.z/=a)};c.prototype.$z=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.xia=function(a){var b=this.z*a.x-this.x*a.z,d=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=d};c.wp=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.Qia=function(a){return new c(Math.cos(0)*Math.sin(a),Math.sin(0),Math.cos(0)*Math.cos(a))};return c});
define("fK",["require","gW","ho","df","a"],function(a){var b=a("gW"),c=a("ho"),f=a("df"),e=a("a"),a=b.extend(c,function(){c.call(this);this.WP=this.om=m});f.v("AdjacentPanorama",a).A("Object").K({yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"});a.prototype.N2=function(){if(this.om===m){for(this.om=this.fX()-this.get("yaw");180<this.om;)this.om-=360;for(;-180>this.om;)this.om+=360}return this.om};a.prototype.bja=function(){this.WP===m&&(this.WP=e.Qia(this.fX()*Math.PI/180));
return this.WP};a.prototype.fia=function(){return this.get("yaw")!==m&&this.get("backwardYaw")!==m};a.prototype.fX=function(){return this.get("backwardYaw")-180};return a});define("eo",[],function(){return{N:"stopped",Q:"playing",Zb:"paused"}});define("di",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("ImageResource",b).A("Object").K({levels:"array[ImageResourceLevel]"});return b});
define("cM","require,gW,iX,eo,di,df".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eo"),e=a("di"),a=a("df"),b=b.extend(e,function(){e.call(this);this.set("state",f.N);this.set("autoplay",o);this.set("repeat",0);this.set("visibleOnStop",o);this.set("finalFrame","last")});b.prototype.play=function(){this.set("state",f.Q)};b.prototype.pause=function(){this.set("state",f.Zb)};b.prototype.stop=function(){this.set("state",f.N)};a.v("AnimatedImageResource",b).A("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"}).Yb([c.qa,c.mq]).Th({pause:b.prototype.pause,play:b.prototype.play,stop:b.prototype.stop});b.prototype.nv=function(a,b,c){b||(b=1);c||(c=1);return e.prototype.nv.call(this,a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("fe",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.uu=a===m?o:a;this.Rt=this.ek=this.bk=this.F=m;this.set("enabled",o);this.set("selected",z)});c.v("HotspotMapOverlay",a).A("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.F===m){var a=this.get("image");this.F=a?a.YF(this.uu):q}return this.F};a.prototype.d3=function(){if(this.bk===m){var a=this.get("rollOverImage");this.bk=a?a.YF(this.uu):q}return this.bk};a.prototype.f3=function(){if(this.ek===m){var a=this.get("selectedImage");this.ek=a?a.YF(this.uu):q}return this.ek};a.prototype.lja=function(){if(this.Rt===m){this.Rt=[];var a=this.getItem();a&&this.Rt.push(a);(a=this.d3())&&this.Rt.push(a);
(a=this.f3())&&this.Rt.push(a)}return this.Rt};return a});define("cX",["gW","df","fe"],function(a,b,c){a=a.extend(c,function(){c.call(this,o)});b.v("AreaHotspotMapOverlay",a).A("HotspotMapOverlay");return a});define("iK",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("AudioResource",a).A("Object").K({mp3Url:"string",oggUrl:"string"}).qk(["mp3Url","oggUrl"]);return a});define("bP",[],function(){return{cw:"inAdvance",HS:"delayed"}});
define("L",[],function(){return{iB:"grab",XS:"grabbing",U5:"move",nT:"move-n",oT:"move-ne",eT:"move-e",rT:"move-se",qT:"move-s",sT:"move-sw",tT:"move-w",pT:"move-nw",V5:"move-ew",X5:"move-ns",W5:"move-nesw",Y5:"move-nwse",gT:"move-fast-n",hT:"move-fast-ne",fT:"move-fast-e",kT:"move-fast-se",jT:"move-fast-s",lT:"move-fast-sw",mT:"move-fast-w",iT:"move-fast-nw",Od:"hand",hc:"default",bw:"inherit"}});
define("ew",["require","iX"],function(a){function b(){this.Sf=[]}var c=a("iX");b.prototype.register=function(a){this.U6(a);this.Sf.push(a);a.get("pressed")&&this.m0(a)};b.prototype.VA=function(a){this.Tda(a)};b.prototype.U6=function(a){a.bind(c.pg,this.QY,this,o)};b.prototype.Tda=function(a){a.unbind(c.pg,this.QY,this)};b.prototype.QY=function(a){this.m0(a.source)};b.prototype.m0=function(a){this.Sf.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.VA(a);var d=this.Bj(b);
a.OI=d;d.register(a)};b.VA=function(a){a.OI&&(a.OI.VA(a),delete a.OI)};b.Bj=function(a){return this.WX[a]||(this.WX[a]=new b)};b.WX={};return b});define("cD",[],function(){return{pc:"push",di:"toggle"}});define("eK",[],function(){return{pq:"visible",YS:"hidden",Ck:"scroll"}});define("ej",[],function(){return{hc:m,q:"over",sa:"pressed",Na:"pressedOver",B:"selected"}});define("dv",[],function(){return{ed:"rollOver",ALWAYS:"always"}});
define("hq",["require"],function(){function a(){for(;k.length;)k.shift()();document.body.removeEventListener("click",a,o);document.body.removeEventListener("touchstart",f,o);document.body.removeEventListener("touchmove",c,o);document.body.removeEventListener("touchend",b,o);d=z}function b(){h&&a()}function c(){h=z}function f(){h=o}function e(){document.body.addEventListener("click",a,o);document.body.addEventListener("touchstart",f,o);document.body.addEventListener("touchmove",c,o);document.body.addEventListener("touchend",
b,o)}var d=z,h=z,k=[];return{fH:function(){a()},Uma:function(a){k.push(a);d||(d=o,document.body?e():document.addEventListener("DOMContentLoaded",e))},apa:function(a){a=k.indexOf(a);0<=a&&k.splice(a,1)}}});define("eQ",[],function(){return{T5:7,XA:6,kB:5,Ak:4,KT:3,lI:2,BT:1,nna:0}});define("Q",[],function(){return{dI:"horizontal",wI:"vertical"}});
define("jj",[],function(){return{$T:"auto",ZT:"auto",JT:"1",zT:"2",yT:"auto",XA:"2",GS:"3",FS:"auto",IT:"3",ST:"100",$T:"1",ZT:"auto",JT:"1",zT:"2",yT:"auto",XA:"2",GS:"3",FS:"auto",IT:"5",ST:"100",gna:"101"}});define("ec",[],function(){var a=1,b={};return{css:function(c,f){var e=c.__duqid;e===m&&(e=a.toString(),c.__duqid=e,a++);var e=b[e]||(b[e]={e:c,s:{}}),d;for(d in f)e.s[d]=f[d]},Jka:function(){for(var a in b){var f=b[a],e=f.e.style,f=f.s,d;for(d in f)e[d]=f[d]}b={}}}});
define("bl",["require"],function(){return{Ija:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},o2:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},Nia:function(a,b,c){var f=document.createElement("canvas");f.width=b;f.height=c;c=f.getContext("2d");c.translate(b,0);c.scale(-1,1);c.drawImage(a,0,0);a.src=f.toDataURL()}}});
window.qna=function(a,b,c){function f(a,d,g,e){var i,c,h,r=b.createElement("div"),f=b.body,l=f?f:b.createElement("body");if(parseInt(g,10))for(;g--;)h=b.createElement("div"),h.id=e?e[g]:"modernizr"+(g+1),r.appendChild(h);return i=['­<style id="smodernizr">',a,"</style>"].join(""),r.id="modernizr",(f?r:l).innerHTML+=i,l.appendChild(r),f||(l.style.background="",k.appendChild(l)),c=d(r,a),f?r.parentNode.removeChild(r):l.parentNode.removeChild(l),!!c}function e(a,b){for(var d in a){var g=a[d];if(!~(""+
g).indexOf("-")&&n[g]!==c)return"pfx"==b?g:o}return z}function d(a,b,d){var g=a.charAt(0).toUpperCase()+a.slice(1),i=(a+" "+l.join(g+" ")+g).split(" ");if("string"===typeof b||"undefined"===typeof b)b=e(i,b);else{i=(a+" "+r.join(g+" ")+g).split(" ");a:{var a=i,h;for(h in a)if(g=b[a[h]],g!==c){b=d===z?a[h]:"function"===typeof g?g.bind(d||b):g;break a}b=z}}return b}var h={},k=b.documentElement,i=b.createElement("modernizr"),n=i.style,g=["","-webkit-","-moz-","-o-","-ms-"],l=["Webkit","Moz","O","ms"],
r=["webkit","moz","o","ms"],i={},p=[],s=p.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 e=C();e.prototype=d.prototype;var e=new e,i=d.apply(e,g.concat(s.call(arguments)));return Object(i)===i?i:e}return d.apply(a,g.concat(s.call(arguments)))}var d=
this;"function"!=typeof d&&j(new TypeError);var g=s.call(arguments,1);return b});i.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")};i.webgl=function(){return!!a.Mna};i.touch=function(){var b;return"ontouchstart"in a?b=o:f(["@media (",g.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){b=9===a.offsetTop}),b};i.csstransforms3d=function(){var a=!!d("perspective");return a&&"webkitPerspective"in k.style&&f("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",
function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a};i.video=function(){var a=b.createElement("video"),d=z;try{if(d=!!a.canPlayType)d=new Boolean(d),d.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),d.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),d.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(g){}return d};i.audio=function(){var a=b.createElement("audio"),d=z;try{if(d=!!a.canPlayType)d=new Boolean(d),d.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,
""),d.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),d.npa=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),d.Koa=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(g){}return d};for(var w in i)v(i,w)&&(t=w.toLowerCase(),h[t]=i[w](),p.push((h[t]?"":"no-")+t));h.Yha=function(a,b){if("object"==typeof a)for(var d in a)v(a,d)&&h.Yha(d,a[d]);else a=a.toLowerCase(),h[a]===c&&(b="function"==typeof b?b():b,h[a]=b)};n.cssText="";return i=q,h.Hz="2.6.1",h.Yna=
g,h.Sna=r,h.Rna=l,h.epa=function(a){return e([a])},h.dpa=d,h.fpa=f,h}(this,this.document);define("Modernizr",C());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
define("p",["require","modernizr.mod","gW","hy"],function(a){function b(){}var c=a("modernizr.mod"),f=a("gW"),e=a("hy");b.yk=TDV.Ia.pB;b.BS=TDV.Ia.gI;b.AI=TDV.Ia.xT;b.Lna=TDV.Ia.kI;b.S5=TDV.Ia.hI;b.mna=TDV.Ia.wT;b.yna=TDV.Ia.jI;b.iI=TDV.Ia.iI;b.Wv=TDV.Ia.Wv;b.nH=TDV.Ia.nH;b.mH=TDV.Ia.mH;b.lH=TDV.Ia.lH;b.oH=TDV.Ia.oH;b.Zg=TDV.Ia.Zg;b.ZA=TDV.Ia.ZA;b.uk=TDV.Ia.uk;b.Zh=TDV.Ia.Zh;b.Ps=TDV.Ia.Ps;b.Qp=TDV.Ia.Qp;b.Qv=TDV.Ia.Qv;b.YA=TDV.Ia.YA;b.kH=TDV.Ia.kH;b.Uv=TDV.Ia.Uv;b.Rv=TDV.Ia.Rv;b.Vv=TDV.Ia.Vv;b.Sv=
TDV.Ia.Sv;b.$A=TDV.Ia.$A;b.Qs=TDV.Ia.Qs;b.Tv=TDV.Ia.Tv;b.Rp=TDV.Ia.Rp;b.DS=TDV.Ia.DS;b.aB=TDV.Ia.aB;b.bB=TDV.Ia.bB;b.pH=TDV.Ia.pH;b.tH=TDV.Ia.tH;b.Yv=TDV.Ia.Yv;b.uH=TDV.Ia.uH;b.vH=TDV.Ia.vH;b.lo=function(a){a="force_"+a;if(e.Tg("debug")&&e.Tg(a))return e.pv(a)};b.p$=b.lo("os");b.Zd=function(){return b.p$||TDV.Ia.Zd};b.k$=b.lo("browser");b.browser=function(){return b.k$||TDV.Ia.browser};b.l$=b.lo("browser_type");b.Yu=function(){return b.l$||TDV.Ia.Yu};b.HW=b.lo("browser_subtype");b.ud=function(){return b.HW?
b.HW:TDV.Ia.ud};b.m$=b.lo("browser_version");b.t2=function(){return b.m$||TDV.Ia.t2};b.o$=b.lo("device");b.ms=function(){return b.o$||TDV.Ia.ms};b.lb=function(){return TDV.Ia.b4};b.b$=function(){for(var a=navigator.userAgent.toLowerCase(),b=["SM-G960","SM-G965"],d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return o;return z}();b.u$=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(","),
d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return o;return z}();b.IW=b.lo("gearvrcompatible");b.cA=function(){return b.IW!==m?"true"==b.IW:b.u$};b.u8=b.browser()!=b.Zh||0>navigator.userAgent.indexOf("; wv")?z:o;b.n$=!!b.lo("chromewebview");b.x2=function(){return b.n$||b.u8};b.Lf=function(){return b.ud()==b.Rv||b.ud()==b.Vv||b.ud()==b.aB};b.P3=function(){return b.Lf()&&b.cA()};b.Ay=m;b.Hka=function(){b.Ay===m&&(b.Ay=parseInt(e.pv("sts")),isNaN(b.Ay)&&(b.Ay=b.Lf()&&!b.b$?512:b.lb()&&b.Zd()==
b.yk?512:b.lb()?256:1024));return b.Ay};b.Waa=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||z;b.vG=function(){return b.Waa};b.CX=function(){var a={l3:"unknown",Ooa:1},b=document.createElement("canvas");if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var d=b.getExtension("WEBGL_debug_renderer_info");d&&(a.l3=b.getParameter(d.UNMASKED_RENDERER_WEBGL));
a.qka=b.getParameter(b.MAX_TEXTURE_SIZE)}return a}();b.Cja=function(){return b.CX};b.m7=function(){var a=b.CX.l3.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.boa=function(){return b.m7};b.zba=b.ms()==b.Yv?o:z;b.Ap=function(){return b.zba};var d;b.browser()==b.uk&&(d=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.kea=d;b.dla=function(){return b.kea};b.Fba=c.touch||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&
0<navigator.maxTouchPoints?o:z;b.sS=function(){return b.Fba};b.qi=c.touch?b.Zd()==b.AI?z:o:z;b.tS=function(){return b.qi};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.Yu(),"browserSubtype: "+b.ud(),"device: "+b.ms(),"isMobile: "+b.lb(),"gearVRCompatibleDevice: "+b.cA(),"chromeWebView: "+b.x2(),"touchDevice"+b.sS(),"touchEnabled"+b.tS()].join(", ")};b.log=function(){f.log("browser: "+b.browser());f.log("browserType: "+b.Yu());f.log("browserSubtype: "+b.ud());f.log("device: "+
b.ms());f.log("isMobile: "+b.lb());f.log("gearVRCompatibleDevice: "+b.cA());f.log("chromeWebView: "+b.x2());f.log("touchDevice: "+b.sS());f.log("touchEnabled: "+b.tS())};return b});
define("fk",["require","p","hy","gZ"],function(a){function b(a,b,e,i,c){this.url=a;this.Fe=b;this.time=e;this.Bma=i;this.gia=c}var c=a("p");URL=a("hy");async=a("gZ");b.prototype.loaded=function(){f.DO(this.url);f.$o(this)};b.prototype.cancel=function(){f.$o(this)};var f={Zo:[],Pk:[],fz:[],MP:q,oY:{},add:function(a,e,c,i){a=new b(a,e,(new Date).getTime(),c,i);this.Zo.push(a);this.L();return a},e5:function(a){this.fz.push(a);this.L()},d5:function(a){var b=this.fz,a=b.indexOf(a);0<=a&&b.splice(a,1);
this.L()}};if(c.ud()==c.Rp)f.zS=R(o),f.DO=C();else if(!URL.Tg("debug")||!URL.sn("disable-cache")){f.zS=function(a){return this.oY[a]||!!window.localStorage&&!!window.localStorage.getItem("tdvp_"+a)};var e=z;f.DO=function(a){this.oY[a]=o;try{window.localStorage&&window.localStorage.setItem("tdvp_"+a,o)}catch(b){if(!e){e=o;try{window.localStorage&&localStorage.clear()}catch(c){}}}}}else f.zS=R(z),f.DO=C();f.L=function(){this.MP||(this.MP=async.BA(f.cha))};f.cha=function(){f.MP=q;for(var a=this.oea(),
b=0,e=this.Pk.length;b<e;b++){var i=this.Pk[b];0>a.indexOf(i)&&i.gia()}var c=this.Pk;this.Pk=a;b=0;for(e=this.Pk.length;b<e;b++)i=this.Pk[b],0>c.indexOf(i)&&i.Bma()}.bind(f);f.Dfa=function(){this.Zo.sort(function(a,b){return a.Fe-b.Fe||b.time-a.time});this.fz.sort(function(a,b){return a-b})};f.oea=function(){this.Dfa();var a=[];if(this.Zo.length)for(var b=this.fz.length?this.fz[0]:this.Zo[0].Fe,e=0;10>e&&e<this.Zo.length&&this.Zo[e].Fe<=b;e++)a.push(this.Zo[e]);return a};f.$o=function(a){var b=this.Zo,
a=b.indexOf(a);0<=a&&b.splice(a,1);this.L()};return f});
define("gz","require,gW,bF,dQ,iX,eQ,hy,bl,fk".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("dQ"),e=a("iX"),d=a("eQ"),h=a("hy"),k=a("bl"),i=a("fk"),a=b.extend(f,function(a){f.call(this);this.Vm=a||d.T5;this.aa=this.M=this.bb=this.vb=q;this.Co=z;this.su=this.ti=q;this.IE=0;this.YL=[];this.$C=this.$C.bind(this);this.aD=this.aD.bind(this)});a.prototype.load=function(a){this.cancel();this.vb=a;this.IE=0;this.Y_()};a.prototype.Y_=function(){this.ti=i.add(this.vb,this.Vm,this.Lfa.bind(this),this.o8.bind(this))};
a.prototype.cancel=function(){if(this.ti){this.ti.cancel();this.ti=q}this.HV()};a.prototype.cka=function(){return!!this.bb&&!this.Co||this.su};a.prototype.yn=P("Co");a.prototype.vd=function(a){if(a){a=this.bb.cloneNode(o);this.YL.push(a);return a}return this.bb};a.prototype.Ac=P("M");a.prototype.kd=P("aa");a.prototype.Ee=P("vb");a.prototype.Lfa=function(){this.bb=this.k9(this.vb)};a.prototype.o8=function(){this.cka()&&this.HV()};a.prototype.HV=function(){if(this.bb){if(this.su){clearTimeout(this.su);
this.su=q}for(this.Co=z;this.YL.length;)this.qW(this.YL.shift());this.qW(this.bb);this.bb=q}};a.prototype.Y6=function(a){a.addEventListener("load",this.$C);a.addEventListener("error",this.aD)};a.prototype.N_=function(a){a.removeEventListener("load",this.$C);a.removeEventListener("error",this.aD)};a.prototype.$C=function(){this.ti.loaded();this.ti=q;this.N_(this.bb);this.Co=o;this.M=this.bb.width;this.aa=this.bb.height;k.Ija(this.vb)&&k.Nia(this.bb,this.M,this.aa);this.trigger(new c(e.O))};a.prototype.aD=
function(){this.cancel();if(this.IE<l){this.IE++;this.su=setTimeout(function(){this.su=q;this.Y_()}.bind(this),Math.pow(2,this.IE)*1E3)}else this.trigger(new c(e.dd))};a.prototype.k9=function(a){var b;if(g.length>0)b=g.pop();else{b=document.createElement("img");if(h.O3(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.Y6(b);b.src=a;return b};a.prototype.qW=function(a){this.N_(a);a.parentNode&&a.parentNode.removeChild(a);
a.src="";g.length>n&&g.push(a)};var n=100,g=[],l=5;a.g5=function(a){return i.zS(a)};return a});
define("dY","require,cE,jquery.mod,iX,eQ,Q,jj,ec,gz".split(","),function(a){function b(){this.qj=this.sj=this.tj=this.rj=this.fm=this.em=this.hm=this.gm=0;this.LB=this.NB=this.OB=this.MB="";this.xb=1;this.af=m;this.Hq=[];this.RJ=[];this.OJ=h.wI;this.bC=z;this.XC=m;this.se=q;this.IL=this.fQ=0;this.Ra=document.createElement("canvas");this.Ra.setAttribute("tdvlayer","background");this.D=f(this.Ra);i.css(this.Ra,{position:"absolute",left:0,top:0,"z-index":k.XA,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.Cd=o}var c=a("cE"),f=a("jquery.mod"),e=a("iX"),d=a("eQ"),h=a("Q"),k=a("jj"),i=a("ec"),n=a("gz");b.prototype.setSize=function(a,b){if(this.fQ!=a||this.IL!=b){this.fQ=a||0;this.IL=b||0;this.Cd=o}};b.prototype.L4=function(a){if(this.Ij!=a){this.Ij=a;this.Cd=o}};b.prototype.pb=P("D");b.prototype.gA=P("Ra");b.prototype.Fla=function(a){if(this.XC!=a){if(this.se){this.se.unbind(e.O,this.uo,this);this.se.cancel();this.se=q}if(this.XC=a){this.se=
new n(d.KT);this.se.bind(e.O,this.uo,this);this.se.load(this.XC)}this.Cd=o}};b.prototype.VR=function(a){if(this.gm!=a){this.gm=a;this.Cd=o}};b.prototype.WR=function(a){if(this.hm!=a){this.hm=a;this.Cd=o}};b.prototype.QR=function(a){if(this.em!=a){this.em=a;this.Cd=o}};b.prototype.RR=function(a){if(this.fm!=a){this.fm=a;this.Cd=o}};b.prototype.TR=function(a){if(this.rj!=a){this.rj=a;this.Cd=o}};b.prototype.XR=function(a){if(this.tj!=a){this.tj=a;this.Cd=o}};b.prototype.UR=function(a){if(this.sj!=a){this.sj=
a;this.Cd=o}};b.prototype.SR=function(a){if(this.qj!=a){this.qj=a;this.Cd=o}};b.prototype.mla=function(a){if(this.MB!=a){this.MB=a;this.Cd=o}};b.prototype.ola=function(a){if(this.OB!=a){this.OB=a;this.Cd=o}};b.prototype.nla=function(a){if(this.NB!=a){this.NB=a;this.Cd=o}};b.prototype.lla=function(a){if(this.LB!=a){this.LB=a;this.Cd=o}};b.prototype.Vh=function(a){if(this.xb!=a){this.xb=a;this.Cd=o}};b.prototype.Si=P("xb");b.prototype.Iv=function(a){if(!c.isEqual(this.af,a)){this.af=a;c(a).isArray()||
(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.E4(a)}};b.prototype.E4=function(a){if(!c.isEqual(this.Hq,a)){this.Hq=a;this.Cd=o}};b.prototype.rla=function(a){if(this.Qna!=a){this.RJ=a;this.Cd=o}};b.prototype.qla=function(a){if(this.OJ!=a){this.OJ=a;this.Cd=o}};b.prototype.uo=function(){this.Cd=o;this.Lc()};b.prototype.Lc=function(){if(this.Cd){this.L();this.Cd=z}};b.prototype.L=function(){var a=Math.max(0,this.fQ-(this.rj+this.sj)),b=Math.max(0,this.IL-(this.tj+this.qj)),d=this.D.get(0);
d.width=a;d.height=b;var d=d.getContext("2d"),e=this.h8(),i=e.length>0,f=this.se&&this.se.yn(),k=this.rj>0&&this.MB||this.tj>0&&this.OB||this.sj>0&&this.NB||this.qj>0&&this.LB,k=i||f||k;if(i){var n;n=this.OJ==h.dI?d.createLinearGradient(0,0,a,0):d.createLinearGradient(0,0,0,b);c(e).forEach(function(a){n.addColorStop(a.ratio,a.color)});d.fillStyle=n;d.fillRect(0,0,a,b);this.bC=o}else if(this.bC){d.clearRect(0,0,a,b);this.bC=z}if(f){d.drawImage(this.se.vd(),0,0,a,b);this.bC=o}this.Ra.style.opacity=
this.xb;this.Ra.style.filter="alpha(opacity="+Math.round(this.xb*100)+")";this.Ra.style["-ms-filter"]="alpha(opacity="+Math.round(this.xb*100)+")";this.Ra.style.borderTopLeftRadius=this.gm+"px";this.Ra.style.borderTopRightRadius=this.hm+"px";this.Ra.style.borderBottomLeftRadius=this.em+"px";this.Ra.style.borderBottomRightRadius=this.fm+"px";this.Ra.style.borderLeft=this.KC(this.rj,this.MB);this.Ra.style.borderTop=this.KC(this.tj,this.OB);this.Ra.style.borderRight=this.KC(this.sj,this.NB);this.Ra.style.borderBottom=
this.KC(this.qj,this.LB);this.Ra.style.width=a+"px";this.Ra.style.height=b+"px";this.Ra.style.cursor="inherit";this.Ra.style.display=k?"block":"none";if(this.Ra.clientWidth===0&&a!==0){this.Ra.style.width=0;this.Ra.style.width=a+"px"}};b.prototype.KC=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.h8=function(){var a=[];if(this.Hq.length>0){for(var b=this.Hq.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),d=this.g8(),d=[].concat([0],d,[1]),e=0;e<b.length;e++){var i=
d[e];i>=0&&a.push({color:b[e],ratio:i})}for(e=0;e<a.length-1;)a[e].ratio==a[e+1].ratio&&a[e].color==a[e+1].color?a.splice(e,1):e++;for(e=1;e<a.length-1;)a[e-1].ratio==a[e+1].ratio?a.splice(e,1):e++}return a};b.prototype.g8=function(){var a=this.Hq.length,b;for(b=this.RJ.length>0?c(this.RJ).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:c(c.range(a)).map(function(b,d){return 1*d/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("ci",["jquery.mod","jj","ec"],function(a,b,c){function f(){this.$D=this.bE=this.cE=this.aE=this.qj=this.sj=this.tj=this.rj=0;this.qy=this.Ij=o;this.$P=this.SL=0;this.Y=o;this.Oy=document.createElement("div");this.Oy.setAttribute("tdvlayer","content");this.g0=a(this.Oy);c.css(this.Oy,{position:"absolute"});this.jC=document.createElement("div");this.$V=a(this.jC);c.css(this.jC,{position:"absolute"});this.g0.append(this.$V)}f.prototype.append=function(a){this.$V.append(a)};f.prototype.q2=function(a){this.jC.appendChild(a)};
f.prototype.pb=P("g0");f.prototype.gA=P("Oy");f.prototype.Dla=function(a){this.SL!=a&&(this.SL=a,this.Y=o)};f.prototype.tma=function(a){this.$P!=a&&(this.$P=a,this.Y=o)};f.prototype.mv=function(){return this.aE+this.rj};f.prototype.rv=function(){return this.cE+this.tj};f.prototype.qv=function(){return this.bE+this.sj};f.prototype.gv=function(){return this.$D+this.qj};f.prototype.NA=function(a){this.qy!=a&&(this.qy=a,this.Y=o)};f.prototype.bma=function(a){this.aE!=a&&(this.aE=a,this.Y=o)};f.prototype.dma=
function(a){this.cE!=a&&(this.cE=a,this.Y=o)};f.prototype.cma=function(a){this.bE!=a&&(this.bE=a,this.Y=o)};f.prototype.ama=function(a){this.$D!=a&&(this.$D=a,this.Y=o)};f.prototype.TR=function(a){this.rj!=a&&(this.rj=a,this.Y=o)};f.prototype.XR=function(a){this.tj!=a&&(this.tj=a,this.Y=o)};f.prototype.UR=function(a){this.sj!=a&&(this.sj=a,this.Y=o)};f.prototype.SR=function(a){this.qj!=a&&(this.qj=a,this.Y=o)};f.prototype.L4=function(a){this.Ij!=a&&(this.Ij=a,this.Y=o)};f.prototype.Lc=function(){this.Y&&
(this.L(),this.Y=z)};f.prototype.L=function(){c.css(this.Oy,{overflow:this.qy?"visible":"hidden","z-index":this.Ij?b.GS:b.FS,left:this.mv()+"px",top:this.rv()+"px",right:this.qv()+"px",bottom:this.gv()+"px",cursor:"inherit"});c.css(this.jC,{left:-this.SL+"px",top:-this.$P+"px",right:this.qy?0:"initial",bottom:this.qy?0:"initial",cursor:"inherit"})};return f});
define("gh",["cE","jquery.mod","gW","jj","ec"],function(a,b,c,f,e){function d(){this.aa=this.M=this.$=this.Z=m;this.fm=this.em=this.hm=this.gm=0;this.Qc=z;this.RL=0;this.ZP=4;this.qJ=6;this.UO=0;this.af="#000000";this.xb=1;this.Ra=document.createElement("div");this.Ra.setAttribute("tdvlayer","shadow");this.D=b(this.Ra);e.css(this.Ra,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Y=z}d.prototype.pb=P("D");d.prototype.gA=P("Ra");d.prototype.VR=function(a){this.gm!=a&&(this.gm=a,this.Y=
o)};d.prototype.WR=function(a){this.hm!=a&&(this.hm=a,this.Y=o)};d.prototype.QR=function(a){this.em!=a&&(this.em=a,this.Y=o)};d.prototype.RR=function(a){this.fm!=a&&(this.fm=a,this.Y=o)};d.prototype.Vh=function(a){this.xb!=a&&(this.xb=a,this.Y=o)};d.prototype.Si=P("xb");d.prototype.Ye=function(a){this.Qc!=a&&(this.Qc=a,this.Y=o)};d.prototype.Cla=function(a){this.RL!=a&&(this.RL=a,this.Y=o)};d.prototype.sma=function(a){this.ZP!=a&&(this.ZP=a,this.Y=o)};d.prototype.kla=function(a){this.qJ!=a&&(this.qJ=
a,this.Y=o)};d.prototype.mma=function(a){this.UO!=a&&(this.UO=a,this.Y=o)};d.prototype.Iv=function(a){this.af!=a&&(this.af=a,this.Y=o)};d.prototype.Lc=function(){this.Y&&(this.L(),this.Y=z)};d.prototype.L=function(){var a=this.RL+"px "+this.ZP+"px "+this.qJ+"px "+this.UO+"px "+this.af;this.Ra.style.display=this.Qc?"block":"none";this.Ra.style.boxShadow=a;this.Ra.style["-webkit-box-shadow"]=a;this.Ra.style["-moz-box-shadow"]=a;this.Ra.style.borderTopLeftRadius=this.gm+"px";this.Ra.style.borderTopRightRadius=
this.hm+"px";this.Ra.style.borderBottomLeftRadius=this.em+"px";this.Ra.style.borderBottomRightRadius=this.fm+"px";this.Ra.style.filter="alpha(opacity="+Math.round(100*this.xb)+")";this.Ra.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.xb)+")";this.Ra.style.opacity=this.xb;this.Ra.style.zIndex=f.JT};return d});
define("hY","require,jquery.mod,cE,gW,ho,L,iX,dY,ci,gh,jj,bF,ec,p".split(","),function(a){var b=a("jquery.mod");a("cE");var c=a("gW"),f=a("ho"),e=a("L"),d=a("iX"),h=a("dY"),k=a("ci"),i=a("gh"),n=a("jj"),g=a("bF"),l=a("ec");a("p");var r=c.extend(f,function(){f.call(this);this.so=r.so++;this.YJ=this.sc=this.kN=this.py=this.OO=this.D=this.Ra=q;this.y1=this.aY=z;this.T=this.la=q;this.aa=this.M=this.Io=this.Ho=0;this.dr=this.Qc=z;this.RX=o;this.Lx=this.Mx=this.Dg=this.Eg=0;this.xb=1;this.$d=e.hc;this.set("toolTip",
m);this.Mr(o);this.FO(o)});r.prototype.Ic=L("jt");r.prototype.toString=function(){return"["+this.D.attr("tdvclass")+"::"+this.so+"]"};r.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.$a=P("la");r.prototype.hp=function(a){(this.la=a)&&this.ZL();this.Ou();this.trigger(d.x5)};r.prototype.pb=function(){this.D=b(this.Mk());this.pb=P("D");return this.D};r.prototype.Mk=function(){this.Ra=document.createElement("div");this.Ra.setAttribute("id",this.so);
this.jt&&this.Ra.setAttribute("tdvclass",this.jt);l.css(this.Ra,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Mk=P("Ra");return this.Ra};r.prototype.Yf=function(){this.OO=new i;this.Yf=P("OO");return this.OO};r.prototype.ab=function(){this.sc=new h;this.ab=P("sc");return this.sc};r.prototype.$q=function(){this.py=document.createElement("div");this.py.setAttribute("tdvlayer","overShadow");l.css(this.py,{position:"absolute",left:0,top:0,cursor:"inherit"});this.$q=
P("py");return this.py};r.prototype.AL=function(){this.kN=b(this.$q());this.AL=P("kN");return this.kN};r.prototype.Ka=function(){this.YJ=new k;this.Ka=P("YJ");return this.YJ};r.prototype.getParent=P("T");r.prototype.ua=P("M");r.prototype.Wa=P("aa");r.prototype.Gja=function(){return this.M!==m&&this.aa!==m};r.prototype.jd=function(){return this.M-this.Ka().mv()-this.Ka().qv()};r.prototype.hd=function(){return this.aa-this.Ka().rv()-this.Ka().gv()};r.prototype.Qg=function(){return this.Ka().mv()};r.prototype.Al=
function(){return this.Ka().rv()};r.prototype.zl=function(){return this.Ka().qv()};r.prototype.jv=function(){return this.Ka().gv()};r.prototype.Ye=function(a){if(this.Qc!=a){this.Qc=a;this.Tb();if(this.T){this.T.Fa();this.T.$c()}this.Ou()}};r.prototype.Ou=function(){var a=z;this.la&&this.Qc&&this.Si()>0&&(this==this.la?a=o:this.T&&(a=this.T.dr));this.dr!=a&&this.eJ(a)};r.prototype.eJ=function(a){(this.dr=a)?this.trigger(new g(d.tf)):this.trigger(new g(d.og))};r.prototype.$ea=function(a){if(this.RX!=
a){this.RX=a;this.T&&this.T.$c()}};r.prototype.Xea=function(a){if(this.zt!=a){this.zt=a;this.Fa()}};r.prototype.Wea=function(a){if(this.yt!=a){this.yt=a;this.Fa()}};r.prototype.Vea=function(a){if(this.xt!=a){this.xt=a;this.Fa()}};r.prototype.Uea=function(a){if(this.wt!=a){this.wt=a;this.Fa()}};r.prototype.Yea=function(a){if(this.lh!=a){this.lh=a;if(this.lh!=m)this.Ah=m;this.Fa()}};r.prototype.Tea=function(a){if(this.Vq!=a){this.Vq=a;if(this.Vq!=m)this.yh=m;this.Fa()}};r.prototype.jfa=function(a){if(this.Ah!=
a){this.Ah=a;if(this.Ah!=m)this.lh=m;this.Fa()}};r.prototype.ffa=function(a){if(this.yh!=a){this.yh=a;if(this.yh!=m)this.Vq=m;this.Fa()}};r.prototype.bfa=function(a){if(this.Em!=a){if(a!=m)this.nE=m;this.Em=a;this.T&&this.T.$c();this.Fa()}};r.prototype.vfa=function(a){if(this.gn!=a){if(a!=m)this.pE=m;this.gn=a;this.T&&this.T.$c();this.Fa()}};r.prototype.kfa=function(a){if(this.Iy!=a){if(a!=m)this.oE=m;this.Iy=a;this.T&&this.T.$c();this.Fa()}};r.prototype.Nea=function(a){if(this.Bw!=a){if(a!=m)this.mE=
m;this.Bw=a;this.T&&this.T.$c();this.Fa()}};r.prototype.gfa=function(a){if(this.nE!=a){if(a!=m)this.Em=m;this.nE=a;this.Fa()}};r.prototype.ifa=function(a){if(this.pE!=a){if(a!=m)this.gn=m;this.pE=a;this.Fa()}};r.prototype.hfa=function(a){if(this.oE!=a){if(a!=m)this.Iy=m;this.oE=a;this.Fa()}};r.prototype.efa=function(a){if(this.mE!=a){if(a!=m)this.Bw=m;this.mE=a;this.Fa()}};r.prototype.Qea=function(a){if(this.Yn!=a){this.Yn=a;this.T&&this.T.$c()}};r.prototype.Rea=function(a){if(this.Zn!=a){this.Zn=
a;this.T&&this.T.$c()}};r.prototype.El=function(){return isNaN(this.lh)?this.Eg:this.lh};r.prototype.Dl=function(){return isNaN(this.Vq)?this.Dg:this.Vq};r.prototype.maa=function(){return isNaN(this.Z9)?this.xY:this.Z9};r.prototype.Cl=function(){return isNaN(this.zt)?this.Mx:this.zt};r.prototype.un=function(){return isNaN(this.yt)?this.Lx:this.yt};r.prototype.nG=function(){return isNaN(this.xt)?1E4:this.xt};r.prototype.mG=function(){return isNaN(this.wt)?1E4:this.wt};r.prototype.y0=function(a){if(this.DL()!=
a){this.Ka().bma(a);this.Fa()}};r.prototype.DL=function(){return this.Ka().aE};r.prototype.A0=function(a){if(this.FL()!=a){this.Ka().dma(a);this.Fa()}};r.prototype.FL=function(){return this.Ka().cE};r.prototype.z0=function(a){if(this.EL()!=a){this.Ka().cma(a);this.Fa()}};r.prototype.EL=function(){return this.Ka().bE};r.prototype.x0=function(a){if(this.CL()!=a){this.Ka().ama(a);this.Fa()}};r.prototype.CL=function(){return this.Ka().$D};r.prototype.SG=function(a){if(this.Ho!=a){this.Ho=a;this.hg()}};
r.prototype.TG=function(a){if(this.Io!=a){this.Io=a;this.hg()}};r.prototype.Vh=function(a){if(this.xb!=a){this.xb=a;l.css(this.$q(),{filter:"alpha(opacity="+Math.round(this.xb*100)+") ",opacity:this.xb});this.Ou();this.hg()}};r.prototype.Si=P("xb");r.prototype.Kea=function(a){if(this.ab().gm!=a){this.Yf().VR(a);this.ab().VR(a)}};r.prototype.D$=function(){return this.ab().gm};r.prototype.Lea=function(a){if(this.ab().hm!=a){this.Yf().WR(a);this.ab().WR(a)}};r.prototype.E$=function(){return this.ab().hm};
r.prototype.Cea=function(a){if(this.ab().em!=a){this.Yf().QR(a);this.ab().QR(a)}};r.prototype.B$=function(){return this.ab().em};r.prototype.Dea=function(a){if(this.ab().fm!=a){this.Yf().RR(a);this.ab().RR(a)}};r.prototype.C$=function(){return this.ab().fm};r.prototype.Gea=function(a){if(this.ab().rj!=a){this.ab().TR(a);this.Ka().TR(a);this.Fa()}};r.prototype.VW=function(){return this.ab().rj};r.prototype.Mea=function(a){if(this.ab().tj!=a){this.ab().XR(a);this.Ka().XR(a);this.Fa()}};r.prototype.XW=
function(){return this.ab().tj};r.prototype.Iea=function(a){if(this.ab().sj!=a){this.ab().UR(a);this.Ka().UR(a);this.Fa()}};r.prototype.WW=function(){return this.ab().sj};r.prototype.Eea=function(a){if(this.ab().qj!=a){this.ab().SR(a);this.Ka().SR(a);this.Fa()}};r.prototype.UW=function(){return this.ab().qj};r.prototype.Fea=function(a){this.ab().mla(a)};r.prototype.Jea=function(a){this.ab().ola(a)};r.prototype.Hea=function(a){this.ab().nla(a)};r.prototype.Bea=function(a){this.ab().lla(a)};r.prototype.ZE=
function(a){this.Yf().Ye(a)};r.prototype.qfa=function(a){this.Yf().Cla(a)};r.prototype.tfa=function(a){this.Yf().sma(a)};r.prototype.ofa=function(a){this.Yf().kla(a)};r.prototype.sfa=function(a){this.Yf().mma(a)};r.prototype.rfa=function(a){this.Yf().Vh(a)};r.prototype.pfa=function(a){this.Yf().Iv(a)};r.prototype.yea=function(a){this.z$()!=a&&this.ab().Vh(a)};r.prototype.z$=function(){return this.ab().Si()};r.prototype.uea=function(a){this.y$()!=a&&this.ab().Iv(a)};r.prototype.y$=function(){return this.ab().af};
r.prototype.wea=function(a){this.ab().rla(a)};r.prototype.vea=function(a){this.ab().qla(a)};r.prototype.xea=function(a){this.ab().Fla(a)};r.prototype.ip=function(a){if(this.$d!=a){this.$d=a;this.hg()}};r.prototype.Mr=function(a){if(this.Ij!=a){this.Ij=a;l.css(this.$q(),{"z-index":this.Ij?n.zT:n.yT});this.Ka().L4(this.Ij);this.hg()}};r.prototype.FO=function(a){if(this.i_!=a){this.i_=a;l.css(this.Mk(),{"z-index":this.i_?n.$T:n.ZT});this.hg()}};r.prototype.pj=function(){this.Ou();this.oA()};r.prototype.Eh=
function(){this.Ou()};r.prototype.fO=C();r.prototype.ZL=function(){this.oA();this.Tb();this.Fa();this.$c();this.hg()};r.prototype.Jm=function(){this.Lx=this.Mx=this.Dg=this.Eg=0;this.xY=m};r.prototype.oA=function(){var a=this.$a();a&&a.bt.oA(this)};r.prototype.Tb=function(){var a=this.$a();a&&a.bt.Tb(this)};r.prototype.Fa=function(){var a=this.$a();a&&a.bt.Fa(this)};r.prototype.$c=function(){var a=this.$a();a&&a.bt.$c(this)};r.prototype.hg=function(){var a=this.$a();a&&a.bt.hg(this)};r.prototype.EX=
function(){var a=isNaN(this.nE)&&isNaN(this.Em),b=isNaN(this.oE)&&isNaN(this.Iy);return isNaN(this.lh)&&isNaN(this.Ah)&&(a||b)?o:z};r.prototype.DX=function(){var a=isNaN(this.pE)&&isNaN(this.gn),b=isNaN(this.mE)&&isNaN(this.Bw);return isNaN(this.Vq)&&isNaN(this.yh)&&(a||b)?o:z};r.prototype.pha=function(){this.Jm();var a=this.maa();if(a){var b=this.EX(),d=this.DX();if(b&&!d){b=this.hd();if(b!=0){this.Eg=b*a+this.Qg()+this.zl();this.Dg=b+this.Al()+this.jv()}}else if(!b&&d){b=this.jd();if(b!=0){this.Dg=
b/a+this.Qg()+this.zl();this.Eg=b+this.Qg()+this.zl()}}}if(!isNaN(this.zt)&&this.Eg<this.zt)this.Eg=this.zt;if(!isNaN(this.xt)&&this.Eg>this.xt)this.Eg=this.xt;if(!isNaN(this.yt)&&this.Dg<this.yt)this.Dg=this.yt;if(!isNaN(this.wt)&&this.Dg>this.wt)this.Dg=this.wt};r.prototype.Ga=function(){if(!this.y1){this.y1=o;var a=this.Mk(),b=this.$q();a.appendChild(this.Yf().gA());a.appendChild(b);b.appendChild(this.ab().gA());b.appendChild(this.Ka().gA())}};r.prototype.Pma=function(){this.pha();var a=this.El(),
b=this.Dl(),d=this.Cl(),e=this.un();if(a!=this.dca||b!=this.cca||d!=this.$ba||e!=this.Zba||this.Ah!=this.bca||this.yh!=this.aca){this.dca=a;this.cca=b;this.$ba=d;this.Zba=e;this.bca=this.Ah;this.aca=this.yh;return o}return z};r.prototype.ca=function(){this.hg()};r.prototype.Yg=C();r.prototype.D4=function(a,b,e,i){if(this.Z!=a||this.$!=b||this.M!=e||this.aa!=i){this.Z=a;this.$=b;this.M=e;this.aa=i;this.ab().setSize(this.M,this.aa);this.$c();this.hg();this.trigger(new g(d.hb))}};r.prototype.Lc=function(){this.Lc=
function(){var a=this.Mk(),b=this.$q();if(this.Qc){b.style.width=this.M+"px";b.style.height=this.aa+"px";a.style.left=this.Z+this.Ho+"px";a.style.top=this.$+this.Io+"px";a.style.width=this.M+"px";a.style.height=this.aa+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.la&&this.la.rC.JQ(this.$d);if(b.clientWidth===0&&this.M!==0){a.style.width=0;a.style.width=this.M+"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.Yf().Lc();this.ab().Lc();this.Ka().Lc()};this.Lc();this.trigger(d.INIT)};r.prototype.Lc=function(){var a=this.Mk(),b=this.$q();if(this.Qc){b.style.width=this.M+"px";b.style.height=this.aa+"px";a.style.left=this.Z+this.Ho+"px";a.style.top=this.$+this.Io+"px";a.style.width=this.M+"px";a.style.height=this.aa+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.la&&this.la.rC.JQ(this.$d);if(b.clientWidth===0&&this.M!==0){a.style.width=0;a.style.width=
this.M+"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.Yf().Lc();this.ab().Lc();this.Ka().Lc();if(!this.aY){this.aY=o;this.TX()}};r.prototype.TX=function(){this.trigger(d.INIT)};r.prototype.wja=function(a){var a=a.pb().offset(),b=this.pb().offset(),d={};d.left=b.left-a.left;d.top=b.top-a.top;if(this.la){d.left=d.left/this.la.cu;d.top=d.top/this.la.cu}return d};r.so=0;return r});
define("C","require,cE,gW,iX,bF,ej,hY".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("ej"),h=a("hY"),k=c.extend(h,function(){this.Ff={};this.Xm=this.JW=m;this.Yo={};this.GW=o;this.Q0={};h.call(this);this.A9();this.ma();this.Ic("UICustomizable");this.Tb()});k.Ta={visible:o,includeInLayout:o,state:m,left:m,right:m,top:m,bottom:m,centerX:m,centerY:m,width:m,height:m,minWidth:m,minHeight:m,maxWidth:m,maxHeight:m,actualWidth:m,actualHeight:m,paddingLeft:0,paddingTop:0,paddingRight:0,
paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:m,borderBottomRadius:m,borderLeftRadius:m,borderRightRadius:m,borderTopLeftRadius:m,borderTopRightRadius:m,borderBottomLeftRadius:m,borderBottomRightRadius:m,borderSize:0,borderLeftSize:m,borderTopSize:m,borderRightSize:m,borderBottomSize:m,borderColor:m,borderLeftColor:m,borderTopColor:m,borderRightColor:m,borderBottomColor:m,shadow:z,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:m,
backgroundOpacity:1,backgroundColor:m,backgroundColorRatios:m,backgroundColorDirection:m,backgroundImageUrl:m,hideEffect:m,showEffect:m};k.prototype.A9=function(){this.Q0[d.Na]=d.sa};k.prototype.ma=function(){this.li(k.Ta)};k.prototype.li=function(a){for(var b in a){var d=a[b],e=d&&d.length;!e||typeof d=="string"?this.f(b,d):e==1?this.f(b,d[0]):e==2?this.h(b,d[0],d[1]):e==3&&this.h(b,d[0],d[1],d[2])}};k.prototype.f=function(a,b){this.Ff[a]={i:o,d:b}};k.prototype.qaa=function(){var a=[],b;for(b in this.Ff)a.push(b);
return a};k.prototype.h=function(a,b,d,e){this.Yo[b]||(this.Yo[b]={});this.f(a,e);this.Yo[b][d]=a};k.prototype.Bu=function(a,b){if(b)this.JW=a;else if(this.JW!=m)return;if(this.Xm!=a){var d=this.Yo[this.Xm];if(d)for(var e in d)(this.Ff[e]||(this.Ff[e]={})).i=o;this.Xm=a;if(d=this.Yo[this.Xm])for(e in d)(this.Ff[e]||(this.Ff[e]={})).i=o;this.Tb()}};k.prototype.P=function(a){if(b(a).isString())this.set(a,m);else{var d=a;for(a in d)this.set(a,d[a])}};k.prototype.set=function(a,d){var e=this.Ff[a];if(e){d==
m&&(d=e.d);if(!b.isEqual(this.get(a),d)){a=="state"&&this.Bu(d,o);h.prototype.set.call(this,a,d);e.i=o;this.Tb()}}else h.prototype.set.call(this,a,d)};k.prototype.get=function(a,b){switch(a){case "actualWidth":return this.ua();case "actualHeight":return this.Wa();default:var d=h.prototype.get.call(this,a);if(d===m){var e=this.Ff[a];e&&(d=e.d);d===m&&(d=b)}return d}};k.prototype.TU=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 o;return z};k.prototype.m=function(a){if((this.Ff[a]||{}).i)return o;if(this.Xm!==m){a=this.Yo[this.Xm][a];return!!(this.Ff[a]||{}).i}};k.prototype.Nr=function(a){(this.Ff[a]||(this.Ff[a]={})).i=o;this.Tb()};k.prototype.o=function(a){(this.Ff[a]||
(this.Ff[a]={})).i=z;if(this.Xm!=m)(a=this.Yo[this.Xm][a])&&((this.Ff[a]||(this.Ff[a]={})).i=z)};k.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var d=arguments[b],e=this.Xm;e;){if(a=this.Yo[e][d]){a=this.get(a);if(a!=m&&a!=q)return a}e=this.Q0[e]}a=this.get(d);if(a!=m&&a!=q)return a}};k.prototype.PO=function(a){a.source.unbind(f.qa,this.PO,this);this.trigger(new e(f.Ts))};k.prototype.QL=function(a){a.source.unbind(f.qa,this.QL,this);this.trigger(new e(f.kq))};k.prototype.ca=function(){if(this.GW)this.GW=
z;else if(this.m("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.ys(this)){b.unbind(f.qa,a?this.QL:this.PO,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.ys(this)){this.o("visible");b.bind(f.qa,a?this.PO:this.QL,this);b.play(this)}}else this.trigger(new e(a?f.Ts:f.kq))}if(this.m("visible")){this.Ye(this.j("visible"));this.o("visible")}if(this.m("includeInLayout")){this.$ea(this.j("includeInLayout"));this.o("includeInLayout")}if(this.m("left")){b=
this.j("left");a=k.Vi(b);b=a===m?b:m;this.gfa(a);this.bfa(b);this.o("left")}if(this.m("top")){b=this.j("top");a=k.Vi(b);b=a===m?b:m;this.ifa(a);this.vfa(b);this.o("top")}if(this.m("right")){b=this.j("right");a=k.Vi(b);b=a===m?b:m;this.hfa(a);this.kfa(b);this.o("right")}if(this.m("bottom")){b=this.j("bottom");a=k.Vi(b);b=a===m?b:m;this.efa(a);this.Nea(b);this.o("bottom")}if(this.m("centerX")){this.Qea(this.j("centerX"));this.o("centerX")}if(this.m("centerY")){this.Rea(this.j("centerY"));this.o("centerY")}if(this.m("width")){b=
this.j("width");a=k.Vi(b);b=a===m?b:m;this.jfa(a);this.Yea(b);this.o("width")}if(this.m("height")){b=this.j("height");a=k.Vi(b);b=a===m?b:m;this.ffa(a);this.Tea(b);this.o("height")}if(this.m("minWidth")){b=this.j("minWidth");this.Xea(b);this.o("minWidth")}if(this.m("minHeight")){b=this.j("minHeight");this.Wea(b);this.o("minHeight")}if(this.m("maxWidth")){b=this.j("maxWidth");this.Vea(b);this.o("maxWidth")}if(this.m("maxHeight")){b=this.j("maxHeight");this.Uea(b);this.o("maxHeight")}if(this.m("paddingLeft")){this.y0(this.j("paddingLeft"));
this.o("paddingLeft")}if(this.m("paddingTop")){this.A0(this.j("paddingTop"));this.o("paddingTop")}if(this.m("paddingRight")){this.z0(this.j("paddingRight"));this.o("paddingRight")}if(this.m("paddingBottom")){this.x0(this.j("paddingBottom"));this.o("paddingBottom")}a=z;if(this.m("borderRadius")){this.o("borderRadius");a=o}b=z;if(this.m("borderLeftRadius")){this.o("borderLeftRadius");b=o}var d=z;if(this.m("borderTopRadius")){this.o("borderTopRadius");d=o}var c=z;if(this.m("borderRightRadius")){this.o("borderRightRadius");
c=o}var r=z;if(this.m("borderBottomRadius")){this.o("borderBottomRadius");r=o}if(this.m("borderTopLeftRadius")||d||b||a){this.Kea(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.o("borderTopLeftRadius")}if(this.m("borderTopRightRadius")||d||c||a){this.Lea(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.o("borderTopRightRadius")}if(this.m("borderBottomLeftRadius")||r||b||a){this.Cea(this.j("borderBottomLeftRadius","borderLeftRadius",
"borderBottomRadius","borderRadius"));this.o("borderBottomLeftRadius")}if(this.m("borderBottomRightRadius")||r||c||a){this.Dea(this.j("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.o("borderBottomRightRadius")}a=z;if(this.m("borderSize")){this.o("borderSize");a=o}if(this.m("borderLeftSize")||a){this.Gea(this.j("borderLeftSize","borderSize"));this.o("borderLeftSize")}if(this.m("borderTopSize")||a){this.Mea(this.j("borderTopSize","borderSize"));this.o("borderTopSize")}if(this.m("borderRightSize")||
a){this.Iea(this.j("borderRightSize","borderSize"));this.o("borderRightSize")}if(this.m("borderBottomSize")||a){this.Eea(this.j("borderBottomSize","borderSize"));this.o("borderBottomSize")}a=z;if(this.m("borderColor")){this.o("borderColor");a=o}if(this.m("borderLeftColor")||a){this.Fea(this.j("borderLeftColor","borderColor"));this.o("borderLeftColor")}if(this.m("borderTopColor")||a){this.Jea(this.j("borderTopColor","borderColor"));this.o("borderTopColor")}if(this.m("borderRightColor")||a){this.Hea(this.j("borderRightColor",
"borderColor"));this.o("borderRightColor")}if(this.m("borderBottomColor")||a){this.Bea(this.j("borderBottomColor","borderColor"));this.o("borderBottomColor")}if(this.m("shadow")){this.ZE(this.j("shadow"));this.o("shadow")}if(this.m("shadowHorizontalLength")){this.qfa(this.j("shadowHorizontalLength"));this.o("shadowHorizontalLength")}if(this.m("shadowVerticalLength")){this.tfa(this.j("shadowVerticalLength"));this.o("shadowVerticalLength")}if(this.m("shadowBlurRadius")){this.ofa(this.j("shadowBlurRadius"));
this.o("shadowBlurRadius")}if(this.m("shadowSpread")){this.sfa(this.j("shadowSpread"));this.o("shadowSpread")}if(this.m("shadowColor")){this.pfa(this.j("shadowColor"));this.o("shadowColor")}a=z;if(this.m("opacity")){this.Vh(this.j("opacity"));this.o("opacity");a=o}if(this.m("shadowOpacity")||a){this.rfa(this.j("shadowOpacity","opacity"));this.o("shadowOpacity")}if(this.m("backgroundOpacity")){this.yea(this.j("backgroundOpacity"));this.o("backgroundOpacity")}if(this.m("backgroundColor")){this.uea(this.j("backgroundColor"));
this.o("backgroundColor")}if(this.m("backgroundColorRatios")){this.wea(this.j("backgroundColorRatios"));this.o("backgroundColorRatios")}if(this.m("backgroundColorDirection")){this.vea(this.j("backgroundColorDirection"));this.o("backgroundColorDirection")}if(this.m("backgroundImageUrl")){this.xea(this.j("backgroundImageUrl"));this.o("backgroundImageUrl")}h.prototype.ca.call(this)};k.Vi=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
return k});define("fT",["cE","gW","bF"],function(a,b,c){return b.extend(c,function(b,e,d){a.isNumber(e)||(e=1);a.isNumber(d)||(d=0);c.call(this,b);this.scale=e;this.rotation=d})});define("ja",["cE","gW","bF"],function(a,b,c){return b.extend(c,function(a,b,d,h,k,i,n){c.call(this,a);this.x=b;this.y=d;this.pageX=h;this.pageY=k;this.pn=i;this.CQ=n})});
define("d","require,jquery.mod,cE,gW,iX,ej,hq,C,fT,ja,ec,p".split(","),function(a){var b=a("jquery.mod"),c=a("cE"),f=a("gW"),e=a("iX"),d=a("ej"),h=a("hq"),k=a("C"),i=a("fT"),n=a("ja");a("ec");var g=a("p"),l=f.extend(k,function(){k.call(this);this.Ic("UIComponent");this.zC=[];this.Qx=[];this.J9=500;this.Ib=1;this.qi=g.tS();this.tx=this.Am=this.fD=z;this.set("propagateClick",o)});l.Ta={autoRolledOver:z,autoPressed:z,contentOpaque:o,cursor:m,inheritedCursor:m,inheritedInteractionEnabled:o,rollOverOpacity:[d.q,
"opacity"],rollOverShadow:[d.q,"shadow"]};c.defaults(l.Ta,k.Ta);l.prototype.ma=function(){this.li(l.Ta)};l.prototype.eV=function(){this.C0(o)};l.prototype.dV=function(){this.C0(z)};l.prototype.bV=function(){this.Au(o)};l.prototype.cV=function(){this.Au(z)};l.prototype.Ty=function(a){if(this.Am!=a){this.Am=a;this.Jd()}};l.prototype.Au=function(a){if(this.tx!=a){this.tx=a;this.Jd()}};l.prototype.C0=function(a){if(this.fD!=a){this.fD=a;this.Jd()}};l.prototype.Jd=function(){this.Am?this.Bu(d.B):this.tx&&
this.fD?this.Bu(d.Na):this.tx?this.Bu(d.sa):this.fD?this.Bu(d.q):this.Bu(d.hc)};l.prototype.trigger=function(){k.prototype.trigger.apply(this,arguments)};l.prototype.r1=function(a){this.trigger(new n(e.mb,a.x,a.y,a.pageX,a.pageY))};l.prototype.s1=function(a){this.trigger(new n(e.oc,a.x,a.y,a.pageX,a.pageY))};l.prototype.t1=function(a){this.trigger(new n(e.Eb,a.x,a.y,a.pageX,a.pageY))};l.prototype.Fga=function(a,b){this.trigger(new n(e.lq,a.x,a.y,a.pageX,a.pageY,b.pn,b.CQ))};l.prototype.n1=function(a){this.trigger(new n(e.S,
a.x,a.y,a.pageX,a.pageY))};l.prototype.o1=function(a){this.trigger(new n(e.dT,a.x,a.y,a.pageX,a.pageY))};l.prototype.Hga=function(){this.trigger(new n(e.ed))};l.prototype.Gga=function(){this.trigger(new n(e.Cc))};l.prototype.Dga=function(){this.trigger(new n(e.nj))};l.prototype.Ega=function(){this.trigger(new n(e.$e))};l.prototype.Cga=function(a,b){this.trigger(new i(e.aI,a,b))};l.prototype.Aga=function(a,b){this.trigger(new i(e.K5,a,b))};l.prototype.Bga=function(a,b){this.trigger(new i(e.$H,a,b))};
l.prototype.p1=function(a){this.trigger(new i(e.L5,m,a))};l.prototype.q1=function(a){this.trigger(new i(e.Rs,a))};l.prototype.qP=function(a){a.stopImmediatePropagation();this.vt(["touchend"]);if(this.jM(a))this.UN(a);else{this.UX();this.H_(a,o)}};l.prototype.H_=function(a,b){var d=this.ex(a);b&&this.tga(d);this.r1(d);this.T&&this.T.H_(a,b&&this.get("propagateClick"))};l.prototype.pP=function(a){a.preventDefault();a.stopImmediatePropagation();this.jM(a)?this.SN(a):this.G_(a)};l.prototype.G_=function(a){var b=
this.ex(a);this.sga(b);this.s1(b);this.T&&this.T.G_(a)};l.prototype.aX=function(a,b){var d=a.pageX-b.pageX,e=a.pageY-b.pageY;return Math.sqrt(d*d+e*e)};l.prototype.op=function(a,b){this.Uw(["touchend"]);b!==z&&a.preventDefault();a.stopImmediatePropagation();this.jM(a)?this.TN(a):this.F_(a,this.dY());this.xw()};l.prototype.F_=function(a,b){this.t1(this.ex(a));this.rga(b);this.T&&this.T.F_(a)};l.prototype.tga=function(a){this.bind(e.Cc,this.l1,this,o);this.Ur=a};l.prototype.sga=function(a){if(this.Ur){var a=
this.aX(this.Ur,a),b;if(g.lb()){b=this.$a();b=Math.min(b.ua(),b.Wa())*0.01;b=l.J6*b}else b=l.P6;a>b&&this.oP()}};l.prototype.rga=function(a){if(this.Ur){this.n1(this.Ur);a&&this.o1(this.Ur);this.oP()}};l.prototype.oP=function(){if(this.Ur){this.unbind(e.Cc,this.l1,this);this.Ur=m}};l.prototype.l1=function(){this.oP()};l.prototype.kL=function(a){this.vt(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.UN(a)};l.prototype.UN=function(a){var b=this.vL(a);this.ju=b;
this.Cga(b.scale,b.rotation);this.T&&this.T.UN(a)};l.prototype.MW=function(a){a.preventDefault();a.stopImmediatePropagation();this.SN(a)};l.prototype.SN=function(a){var b=this.vL(a,this.ju),d=b.rotation-this.ju.rotation,e=b.scale/this.ju.scale;this.ju=b;this.Ib=this.Ib*e;for(this.td=this.td+d;this.td>180;)this.td=this.td-360;for(;this.td<-180;)this.td=this.td+360;this.Aga(this.Ib,this.td);d!=0&&this.p1(this.td);e!=1&&this.q1(this.Ib);this.T&&this.T.SN(a)};l.prototype.OW=function(a){this.Uw(["gesturechange",
"gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.TN(a)};l.prototype.TN=function(a){var b=this.vL(a),d=b.rotation-this.ju.rotation,b=b.scale/this.ju.scale;this.Ib=this.Ib*b;for(this.td=this.td+d;this.td>180;)this.td=this.td-360;for(;this.td<-180;)this.td=this.td+360;this.Bga(this.Ib,this.td);d!=0&&this.p1(this.td);b!=1&&this.q1(this.Ib);this.T&&this.T.TN(a)};l.prototype.OM=function(a){this.vt(["mouseup"]);a.stopImmediatePropagation();this.UX();this.B_(a,o)};l.prototype.B_=function(a,
b){var d=this.Zq(a);b&&this.L8(d);this.r1(d);this.T&&this.T.B_(a,b&&this.get("propagateClick"))};l.prototype.PM=function(a){a.preventDefault();a.stopImmediatePropagation();this.$a().Jv(this);this.C_(a)};l.prototype.C_=function(a){var b=this.Zq(a);this.K8(b);this.s1(b);this.T&&this.T.C_(a)};l.prototype.GD=function(a){this.Uw(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.D_(a,this.dY())};l.prototype.D_=function(a,b){this.t1(this.Zq(a));this.J8(b);this.T&&this.T.D_(a,b)};l.prototype.L8=
function(a){this.bind(e.Cc,this.OV,this,o);this.Gq=a};l.prototype.K8=function(a){this.Gq&&this.aX(this.Gq,a)>l.E6&&this.MJ()};l.prototype.J8=function(a){if(this.Gq){this.n1(this.Gq);a&&this.o1(this.Gq);this.MJ()}};l.prototype.MJ=function(){if(this.Gq){this.unbind(e.Cc,this.OV,this);this.Gq=m}};l.prototype.OV=function(){this.MJ()};l.prototype.BY=function(a){if(this.la.AY){a.preventDefault();a.stopImmediatePropagation();this.E_(a)}};l.prototype.xV=R(z);l.prototype.E_=function(a){var b=this.Zq(a),d=
this.faa(a);this.T&&!this.xV(d.pn)&&this.T.E_(a);this.Fga(b,d)};l.prototype.Zq=function(a){return this.mL(a.pageX,a.pageY)};l.prototype.faa=function(a){var a=window.event||a.originalEvent||a,b={};b.pn=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.CQ=a.wheelDelta?a.wheelDelta*0.01:b.pn;return b};l.prototype.ex=function(a){var b=this.rL(a);return this.Gda=a=b===m?this.mL(a.pageX,a.pageY):b.length==0?this.Gda:this.mL(b[0].pageX,b[0].pageY)};l.prototype.jM=function(a){a=this.rL(a);return!!(a&&a.length>
1)};l.prototype.rL=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.mL=function(a,b){var d=this.pb().offset(),e=this.la.cu,g={};g.x=(a-d.left)/e;g.y=(b-d.top)/e;g.pageX=a/e;g.pageY=b/e;g.k4=a;g.l4=b;return g};l.prototype.vL=function(a,b){if(a.originalEvent.scale!==m||a.originalEvent.rotation!==m)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var d=this.hX(a);return{scale:b.scale*d/b.touchesDistance,
rotation:0,touchesDistance:d}}return{scale:1,rotation:0,touchesDistance:this.hX(a)}};l.prototype.hX=function(a){var b=this.rL(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.vt=function(a){this.zC=c(this.zC).union(a);for(var a=this.gX(a),b=0;b<a.length;b++){var d=a[b];d.target.bind(d.name,d.handler)}};l.prototype.UX=function(){this.Qx.push((new Date).getTime());this.Qx=this.Qx.slice(-2)};l.prototype.dY=function(){var a=
(new Date).getTime();if(this.Qx.length>1){var b=this.Qx.slice(-2)[0];if(a-b<=this.J9)return o}return z};l.prototype.Uw=function(a){this.zC=c(this.zC).difference(a);for(var a=this.gX(a),b=0;b<a.length;b++){var d=a[b];d.target.unbind(d.name,d.handler)}};l.prototype.gX=function(a){this.DW||(this.DW=this.qL());for(var b=[],d=0;d<a.length;d++)b=b.concat(this.DW[a[d]]);return b};l.prototype.qL=function(){var a=this.pb(),d=b(document),e=b(window);return{touchstart:[{target:a,name:"touchstart",handler:this.ie(this.qP)}],
touchmove:[{target:a,name:"touchmove",handler:this.ie(this.pP)}],touchend:[{target:a,name:"touchend",handler:this.ie(this.op,o)},{target:d,name:"touchend",handler:this.ie(this.op,o)},{target:a,name:"touchcancel",handler:this.ie(this.op,o)},{target:d,name:"touchcancel",handler:this.ie(this.op,o)}],gesturestart:[{target:a,name:"gesturestart",handler:this.ie(this.kL)}],gesturechange:[{target:a,name:"gesturechange",handler:this.ie(this.MW)}],gestureend:[{target:a,name:"gestureend",handler:this.ie(this.OW)}],
mousedown:[{target:a,name:"mousedown",handler:this.ie(this.OM)}],mousemove:[{target:a,name:"mousemove",handler:this.ie(this.PM)}],mouseup:[{target:a,name:"mouseup",handler:this.ie(this.GD,o)},{target:e,name:"mouseup",handler:this.ie(this.GD,o)}],mousewheel:[{target:a,name:"mousewheel",handler:this.ie(this.BY)},{target:a,name:"DOMMouseScroll",handler:this.ie(this.BY)}]}};l.prototype.ie=function(a,b){var d=this;return function(){b&&h.fH();l.Ez=l.Ez+1;var e=a.apply(d,arguments);l.Ez=l.Ez-1;return e}};
l.prototype.ca=function(){if(this.m("autoRolledOver")){this.unbind(e.ed,this.eV,this);this.unbind(e.Cc,this.dV,this);if(this.j("autoRolledOver")){this.bind(e.ed,this.eV,this);this.bind(e.Cc,this.dV,this)}this.o("autoRolledOver")}if(this.m("autoPressed")){this.unbind(e.mb,this.bV);this.unbind(e.Eb,this.cV);if(this.j("autoPressed")){this.bind(e.mb,this.bV);this.bind(e.Eb,this.cV)}this.o("autoPressed")}var a=z;if(this.m("contentOpaque")){a=o;this.o("contentOpaque")}if(this.m("inheritedInteractionEnabled")){a=
o;this.o("inheritedInteractionEnabled")}if(this.m("backgroundOpacity")||this.m("backgroundColor"))a=o;k.prototype.ca.call(this);if(a){var b=this.ab(),b=b.Si()>0&&b.Hq.length>0,d=this.j("contentOpaque");this.Lr(this.j("inheritedInteractionEnabled")&&(d||b))}if(a||this.m("cursor")||this.m("inheritedCursor")){this.o("cursor");this.o("inheritedCursor");this.HB?this.ip(this.j("cursor")):this.ip(this.j("inheritedCursor"))}};l.prototype.Lr=function(a){if(this.HB!=a){(this.HB=a)?this.vt(l.JU):this.Uw(l.JU);
this.xw()}};l.prototype.xw=function(){this.Mk().style["pointer-events"]=this.HB?"all":"none"};l.sA=function(){return l.Ez>0};l.JU=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);return a=a.concat(["mousedown","mousemove","mousewheel"])}();l.Ez=0;l.Pna=1E3;l.P6=10;l.J6=5;l.E6=10;return l});define("hW",[],function(){return{xa:"left",Za:"right",bd:"center",rb:"top",zb:"bottom",Uc:"middle"}});define("c",[],function(){return{AS:"absolute",oe:"horizontal",Mn:"grid",Je:"vertical"}});
define("bG",[],function(){return function(a){this.rf=a;this.height=this.width=this.y=this.x=0}});define("cq",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("bt",["hW","bG","cq"],function(a,b,c){function f(){this.ob=q;this.Mg=a.rb;this.yg=a.xa;this.cs=this.wm=0}f.prototype.J4=function(a){this.wm!=a&&(this.wm=a,this.wc())};f.prototype.ZG=function(a){this.cs!=a&&(this.cs=a,this.wc())};f.prototype.Y4=function(a){this.ob=a;this.wc()};f.prototype.Lv=function(a){this.yg!=a&&(this.yg=a,this.wc())};f.prototype.Mv=function(a){this.Mg!=a&&(this.Mg=a,this.wc())};f.prototype.vA=function(){return new c};f.prototype.update=function(){var a=this.a9();this.Nu(a);
this.Sea(a)};f.prototype.Nu=function(a){this.sz(a);this.rz(a)};f.prototype.OC=function(){for(var a=this.AX(),b=[],c=0;c<a.length;c++){var f=a[c];f.get("includeInLayout")&&b.push(f)}return b};f.prototype.AX=function(){for(var a=this.ob.Ma(),b=[],c=0;c<a.length;c++){var f=a[c];f.get("visible")&&b.push(f)}return b};f.prototype.a9=function(){for(var a=this.AX(),d=[],c=0;c<a.length;c++)d.push(new b(a[c]));return d};f.prototype.Sea=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.rf.D4(c.x,c.y,c.width,
c.height)}};f.prototype.wc=function(){this.ob&&this.ob.Fa()};return f});
define("cm",["gW","hW","bt","cq"],function(a,b,c,f){a=a.extend(c,function(){c.call(this)});a.prototype.vA=function(){for(var a=new f,b=this.OC(),c=0;c<b.length;c++){var k=b[c],i=k.Em,n=k.Iy,g=0;isNaN(i)||(g+=i);isNaN(n)||(g+=n);a.width=Math.max(g+k.El(),a.width);a.minWidth=Math.max(g+k.Cl(),a.minWidth);i=k.gn;n=k.Bw;g=0;isNaN(i)||(g+=i);isNaN(n)||(g+=n);a.height=Math.max(g+k.Dl(),a.height);a.minHeight=Math.max(g+k.un(),a.minHeight)}b=this.ob.Qg()+this.ob.zl();a.width+=b;a.minWidth+=b;b=this.ob.Al()+
this.ob.jv();a.height+=b;a.minHeight+=b;return a};a.prototype.Nu=function(a){this.sz(a);this.rz(a)};a.prototype.Nu=function(a){for(var b=this.ob.jd(),c=this.ob.hd(),f=0;f<a.length;f++){var i=a[f],n=i.rf,g=n.Em;if(isNaN(g)){var l=n.nE;isNaN(l)||(g=Math.round(0.01*l*b))}l=n.Iy;if(isNaN(l)){var r=n.oE;isNaN(r)||(l=Math.round(0.01*r*b))}var r=n.Yn,p=n.lh;if(isNaN(p)){var s=n.Ah;isNaN(s)?!isNaN(g)&&!isNaN(l)&&(p=b-g-l):p=Math.round(0.01*s*b)}s=n.gn;if(isNaN(s)){var t=n.pE;isNaN(t)||(s=Math.round(0.01*
t*c))}t=n.Bw;if(isNaN(t)){var u=n.mE;isNaN(u)||(t=Math.round(0.01*u*c))}var u=n.Zn,v=n.Vq;if(isNaN(v)){var w=n.yh;isNaN(w)?!isNaN(s)&&!isNaN(t)&&(v=c-s-t):v=Math.round(0.01*w*c)}i.width=isNaN(p)?n.El():Math.max(n.Cl(),Math.min(n.nG(),p));i.height=isNaN(v)?n.Dl():Math.max(n.un(),Math.min(n.mG(),v));i.x=!isNaN(g)&&!isNaN(l)?Math.round(g+0.5*(b-l-g-i.width)):isNaN(g)?isNaN(l)?isNaN(r)?0:0.5*b+r-0.5*i.width:b-l-i.width:g;i.y=!isNaN(s)&&!isNaN(t)?Math.round(s+0.5*(c-t-s-i.height)):isNaN(s)?isNaN(t)?isNaN(u)?
0:0.5*c+u-0.5*i.height:c-t-i.height:s}};return a});
define("gr",["gW","hW","bt","cq"],function(a,b,c,f){a=a.extend(c,function(){c.call(this);this.ux=this.vx=this.wx=this.kr=this.Bm=this.Cm=this.yx=this.zo=this.lh=m});a.prototype.zla=function(a){this.lh!=a&&(this.lh=a,this.wc())};a.prototype.Kla=function(a){this.Cm!=a&&(this.Cm=a,this.Cm!=m&&(this.zo=m),this.wc())};a.prototype.Jla=function(a){this.Bm!=a&&(this.Bm=a,this.Bm!=m&&(this.yx=m),this.wc())};a.prototype.Sla=function(a){this.zo!=a&&(this.zo=a,this.Cm!=m&&(this.Cm=m),this.wc())};a.prototype.Rla=
function(a){this.yx!=a&&(this.yx=a,this.Bm!=m&&(this.Bm=m),this.wc())};a.prototype.Pla=function(a){this.kr!=a&&(this.kr=a,this.wc())};a.prototype.Ola=function(a){this.wx!=a&&(this.wx=a,this.wc())};a.prototype.Nla=function(a){this.vx!=a&&(this.vx=a,this.wc())};a.prototype.Mla=function(a){this.ux!=a&&(this.ux=a,this.wc())};a.prototype.vA=function(){for(var a=new f,b=this.OC(),c=0,k=0;k<b.length;k++)b[k].get("includeInLayout")&&c++;if(!isNaN(this.zo)){isNaN(this.kr)||(a.minWidth=this.kr);for(k=0;k<b.length;k++){var i=
b[k].Cl();isNaN(i)||(a.minWidth=Math.max(i,a.minWidth))}}if(isNaN(this.Cm))for(k=0;k<b.length;k++)i=b[k].El(),isNaN(i)||(a.width=Math.max(i,a.width));else a.width=this.Cm;if(isNaN(this.Bm))for(k=0;k<b.length;k++)i=b[k].Dl(),isNaN(i)||(a.height=Math.max(i,a.height));else a.height=this.Bm;isNaN(this.zo)?isNaN(this.lh)?b=Math.ceil(Math.sqrt(c)):(b=this.lh-this.ob.Qg()-this.ob.zl(),b=Math.max(1,Math.floor((b+this.wm)/(a.width+this.wm)))):b=Math.max(1,Math.floor(100/this.zo));c=Math.ceil(c/b);a.width=
a.width*b+Math.max(0,b-1)*this.wm+this.ob.Qg()+this.ob.zl();a.minWidth=a.minWidth+this.ob.Qg()+this.ob.zl();a.height=a.height*c+Math.max(0,c-1)*this.cs+this.ob.Al()+this.ob.jv();a.minHeight=0;return a};a.prototype.Nu=function(a){for(var d,c,f=[],i=[],n=0;n<a.length;n++)c=a[n].rf,c.get("includeInLayout")?f.push(a[n]):i.push(a[n]);var g=f.length,l=this.ob.jd(),r=this.wm,p;if(isNaN(this.Cm))if(isNaN(this.zo)){for(n=a=0;n<f.length;n++)c=f[n].rf,a=Math.max(c.Cl(),c.El(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
Math.floor(100/this.zo)),a=(l-(a-1)*r)/a,n=z,!isNaN(this.vx)&&this.vx<a&&(a=this.vx,n=o),!isNaN(this.kr)&&this.kr>a&&(a=this.kr,n=o),n)a=Math.max(1,Math.floor((l+r)/(a+r))),a=(l-(a-1)*r)/a}else a=this.Cm;a=Math.max(1,a);p=Math.max(1,Math.floor(0.001+(l+r)/(a+r)));var n=p*a,s=p*(a+r)-r,t=0;if(l>=s)switch(this.yg){case b.Za:t=l-s;break;case b.bd:t=Math.round(0.5*(l-s));break;default:t=0}for(var l=[],s=[],u=0;u<p;u++)c=Math.round(n/(p-u)),n-=c,s.push(t),t+=c+r,l.push(c);t=this.ob.hd();u=this.cs;if(isNaN(this.Bm))if(isNaN(this.yx)){r=
1;for(n=0;n<f.length;n++)c=f[n].rf,r=Math.max(c.un(),c.Dl(),r)}else{if(r=Math.max(1,100/this.yx),r=(t-(r-1)*u)/r,n=z,!isNaN(this.ux)&&this.ux<r&&(r=this.ux,n=o),!isNaN(this.wx)&&this.wx>r&&(r=this.wx,n=o),n)r=Math.max(1,Math.floor((t+u)/(r+u))),r=(t-(r-1)*u)/r}else r=this.Bm;n=Math.max(1,Math.ceil(g/p));d=n*r;var g=n*(r+u)-u,v=0;if(t>=g)switch(this.Mg){case b.zb:v=t-g;break;case b.Uc:v=Math.round(0.5*(t-g))}g=[];t=[];for(c=0;c<n;c++){var w=Math.round(d/(n-c));d-=w;t.push(v);v+=w+u;g.push(w)}for(n=
0;n<f.length;n++)d=f[n],u=n%p,c=Math.floor(n/p),d.x=s[u],d.width=l[u],d.y=t[c],d.height=g[c];for(n=0;n<i.length;n++)d=i[n],d.x=0,d.width=Math.round(a),d.y=0,d.height=Math.round(r)};return a});
define("gT",["gW","hW","bt","cq"],function(a,b,c,f){a=a.extend(c,function(){c.call(this)});a.prototype.vA=function(){for(var a=new f,b=this.OC(),c=0;c<b.length;c++){var k=b[c];a.height=Math.max(k.Dl(),a.height);a.minHeight=Math.max(k.un(),a.minHeight);a.width+=k.El();a.minWidth+=k.Cl()}b=Math.max(0,b.length-1)*this.wm+this.ob.Qg()+this.ob.zl();a.width+=b;a.minWidth+=b;b=this.ob.Al()+this.ob.jv();a.height+=b;a.minHeight+=b;return a};a.prototype.Nu=function(a){this.sz(a);this.rz(a)};a.prototype.sz=
function(a){for(var b=0,c=0;c<a.length;c++)a[c].rf.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.wm,f=this.ob.jd()-c,i=this.ob.hd(),b=f,n=0,g=[],c=0;c<a.length;c++){var l=a[c],r=l.rf,p=r.yh;l.height=isNaN(p)?r.Dl():Math.max(r.un(),Math.min(r.mG(),Math.round(0.01*i*p)));p=r.Ah;isNaN(p)?(l.width=r.El(),b-=l.width):r.get("includeInLayout")?(n+=p,g.push(l)):l.width=Math.max(r.Cl(),Math.min(r.nG(),Math.round(0.01*f*p)))}c=Math.max(0,b-0.01*f*n);b-=c;do{a=z;f=Math.max(0,0<n?b/n:0);i=[];for(c=
n=0;c<g.length;c++){var l=g[c],r=l.rf,p=Math.round(r.Ah*f),s=r.Cl(),t=r.nG();p<s?(l.width=s,b-=l.width,a=o):p>t?(l.width=t,b-=l.width,a=o):(n+=r.Ah,i.push(l))}g=i}while(a);for(c=0;c<g.length;c++)l=g[c],r=l.rf,f=Math.max(0,0<n?b/n:0),l.width=Math.round(r.Ah*f),b-=l.width,n-=r.Ah};a.prototype.rz=function(a){for(var d=this.wm,c=this.ob.jd(),f=this.ob.hd(),i=0,n=0,g=0;g<a.length;g++){var l=a[g];l.rf.get("includeInLayout")&&(i+=a[g].width,n++)}i+=d*(n-1);if(c>=i)switch(this.yg){case b.Za:c-=i;break;case b.bd:c=
Math.round(0.5*(c-i));break;default:c=0}else c=0;for(g=0;g<a.length;g++)if(l=a[g],l.rf.get("includeInLayout")){if(f>=l.height)switch(this.Mg){case b.zb:l.y=f-l.height;break;case b.Uc:l.y=Math.round(0.5*(f-l.height));break;default:l.y=0}else l.y=0;l.x=c;c+=l.width+d}else l.x=0,l.y=0};return a});
define("bY",["gW","hW","bt","cq"],function(a,b,c,f){a=a.extend(c,function(){c.call(this)});a.prototype.vA=function(){for(var a=new f,b=this.OC(),c=0;c<b.length;c++){var k=b[c];a.width=Math.max(k.El(),a.width);a.minWidth=Math.max(k.Cl(),a.minWidth);a.height+=k.Dl();a.minHeight+=k.un()}b=Math.max(0,b.length-1)*this.cs+this.ob.Al()+this.ob.jv();a.height+=b;a.minHeight+=b;b=this.ob.Qg()+this.ob.zl();a.width+=b;a.minWidth+=b;return a};a.prototype.Nu=function(a){this.sz(a);this.rz(a)};a.prototype.sz=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].rf.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.cs,f=this.ob.jd(),i=this.ob.hd()-c,b=i,n=0,g=[],c=0;c<a.length;c++){var l=a[c],r=l.rf,p=r.Ah;l.width=isNaN(p)?r.El():Math.max(r.Cl(),Math.min(r.nG(),Math.round(0.01*f*p)));p=r.yh;isNaN(p)?(l.height=r.Dl(),b-=l.height):r.get("includeInLayout")?(n+=p,g.push(l)):l.height=Math.max(r.un(),Math.min(r.mG(),Math.round(0.01*i*p)))}c=Math.max(0,b-0.01*i*n);b-=c;do{a=z;f=Math.max(0,0<n?b/n:0);i=[];for(c=n=0;c<g.length;c++){var l=
g[c],r=l.rf,p=Math.round(r.yh*f),s=r.un(),t=r.mG();p<s?(l.height=s,b-=l.height,a=o):p>t?(l.height=t,b-=l.height,a=o):(n+=r.yh,i.push(l))}g=i}while(a);for(c=0;c<g.length;c++)l=g[c],r=l.rf,f=Math.max(0,0<n?b/n:0),l.height=Math.round(r.yh*f),b-=l.height,n-=r.yh};a.prototype.rz=function(a){for(var d=this.cs,c=this.ob.jd(),f=this.ob.hd(),i=0,n=0,g=0;g<a.length;g++){var l=a[g];l.rf.get("includeInLayout")&&(i+=l.height,l.width>c&&(c=l.width),n++)}i+=d*(n-1);if(f>=i)switch(this.Mg){case b.zb:f-=i;break;case b.Uc:f=
Math.round(0.5*(f-i));break;default:f=0}else f=0;for(g=0;g<a.length;g++)if(l=a[g],l.rf.get("includeInLayout")){switch(this.yg){case b.Za:l.x=c-l.width;break;case b.bd:l.x=Math.round(0.5*(c-l.width));break;default:l.x=0}l.y=f;f+=l.height+d}else l.x=0,l.y=0};return a});
define("k","gW,cE,d,C,hW,bP,c,cm,gr,gT,bY".split(","),function(a,b,c,f,e,d,h,k,i,n,g){var l=a.extend(c,function(){c.call(this);this.Ic("BaseContainer");this.ri=q;this.Mb=[];this.uj=[];this.Qw=d.HS;this.set("contentOpaque",z)});l.Ta={children:[[]],childrenInteractionEnabled:o,gap:0,horizontalAlign:e.xa,itemHeight:m,itemMaxHeight:m,itemMaxWidth:m,itemMinHeight:m,itemMinWidth:m,itemWidth:m,layout:h.AS,verticalAlign:e.rb};b.defaults(l.Ta,c.Ta);l.prototype.ma=function(){this.li(l.Ta)};l.prototype.set=
function(a,b){a=="children"?this.Yi(b):a=="creationPolicy"?this.sla(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Ma():a=="creationPolicy"?this.Qw:c.prototype.get.call(this,a,b)};l.prototype.sla=function(a){if(this.Qw!=a){this.Qw=a;this.wP()}};l.prototype.Yi=function(a){for(var d=this.Ma(),a=a||[],c=b(d).difference(a),g=0;g<c.length;g++)this.removeChild(c[g]);d=b(a).difference(d);for(g=0;g<d.length;g++)this.pa(d[g]);for(g=0;g<a.length;g++)this.Xi(a[g],
g)};l.prototype.Ma=P("Mb");l.prototype.pa=function(a){a.getParent()&&a.getParent().removeChild(a);this.Mb.push(a);a.T=this;this.WU(a);a.FO(this.Ij);this.uj.push(a);this.wP();a.pj()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.Eh();a.T=q;if(b(this.uj).contains(a))this.uj=b.without(this.uj,a);else{a.pb().detach();a.hp(q);this.Fa();this.$c()}this.Mb=b.without(this.Mb,a);a.fO()}};l.prototype.s4=function(){b(this.Ma()).forEach(function(a){this.removeChild(a)})};l.prototype.eA=function(a){return b(this.Mb).indexOf(a)};
l.prototype.Xi=function(a,d){var c=this.eA(a);c<0&&j("Can't set index. This is not a child of this container");var g=this.Mb.slice();g.splice(c,1);g.splice(d,0,a);if(!b.isEqual(this.Mb,g)){this.Mb=g;if(!b(this.uj).contains(a)){c=this.eA(a);a.pb().detach();for(var e=g=q,i=c-1;i>=0&&!g;i--)b(this.uj).contains(this.Mb[i])||(g=this.Mb[i]);for(i=c+1;i<this.Mb.length&&!e&&!g;i++)b(this.uj).contains(this.Mb[i])||(e=this.Mb[i]);g?a.pb().insertAfter(g.pb()):e?a.pb().insertBefore(e.pb()):this.Ka().q2(a.Mk());
this.$c()}}};l.prototype.Lr=function(a){c.prototype.Lr.call(this,a);this.D1()};l.prototype.D1=function(){b(this.Mb).forEach(function(a){this.WU(a)},this)};l.prototype.WU=function(a){a.set("inheritedInteractionEnabled",this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.xw=function(){c.prototype.xw.call(this);this.Mb.forEach(function(a){a.xw()})};l.prototype.Mr=function(a){c.prototype.Mr.call(this,a);b(this.Mb).forEach(function(a){a.FO(this.Ij)},this)};l.prototype.eJ=
function(a){c.prototype.eJ.call(this,a);b(this.Ma()).forEach(function(a){a.Ou()});this.wP()};l.prototype.hp=function(a){c.prototype.hp.call(this,a);b(this.Ma()).forEach(function(d){b(this.uj).contains(d)||d.hp(a)},this)};l.prototype.wP=function(){if((this.Qw==d.HS&&this.dr||this.Qw==d.cw)&&this.uj.length>0){b(this.uj).forEach(function(a){this.Ka().q2(a.Mk());a.hp(this.$a())},this);this.uj=[];this.Fa();this.$c()}};l.prototype.KA=function(a){if(this.ri!=a){this.ri&&this.ri.Y4(q);(this.ri=a)&&this.ri.Y4(this)}};
l.prototype.ca=function(){var a=z,b=this.j("layout");if(this.m("layout")){switch(b){case h.Mn:this.KA(new i);break;case h.oe:this.KA(new n);break;case h.Je:this.KA(new g);break;default:this.KA(new k)}this.o("layout");a=o}var d=this.ri;if(this.m("horizontalAlign")||a){d.Lv(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")||a){d.Mv(this.j("verticalAlign"));this.o("verticalAlign")}if(this.m("gap")||a){if(b==h.Mn){d.J4(this.j("gap"));d.ZG(this.j("gap"))}else b==h.oe?d.J4(this.j("gap")):
b==h.Je&&d.ZG(this.j("gap"));this.o("gap")}if(b==h.Mn){if(this.m("itemWidth")||a){var e=this.j("itemWidth"),l=f.Vi(e);l!==m?d.Sla(l):d.Kla(e);this.o("itemWidth")}if(this.m("itemHeight")||a){e=this.j("itemHeight");l=f.Vi(e);l!==m?d.Rla(l):d.Jla(e);this.o("itemHeight")}if(this.m("itemMinWidth")){d.Pla(this.j("itemMinWidth"));this.o("itemMinWidth")}if(this.m("itemMinHeight")){d.Ola(this.j("itemMinHeight"));this.o("itemMinHeight")}if(this.m("itemMaxWidth")){d.Nla(this.j("itemMaxWidth"));this.o("itemMaxWidth")}if(this.m("itemMaxHeight")){d.Mla(this.j("itemMaxHeight"));
this.o("itemMaxHeight")}}if(this.m("childrenInteractionEnabled")){this.o("childrenInteractionEnabled");this.D1()}this.Sa(["cursor"],{cursor:"inheritedCursor"},this.Mb,o,z);c.prototype.ca.call(this);b==h.Mn&&d.zla(this.lh)};l.prototype.Sa=function(a,b,d,c,g){for(var e=0;e<a.length;e++){var i=a[e];if(!c||this.m(i)){for(var f=0;f<d.length;f++)d[f].set(b[i]?b[i]:i,this.j(i));g&&this.o(i)}}};l.prototype.Jm=function(){if(this.ri){var a=this.ri.vA();this.Eg=a.width;this.Dg=a.height;this.Mx=a.minWidth;this.Lx=
a.minHeight}else c.prototype.Jm.call(this)};l.prototype.Yg=function(){this.ri&&this.ri.update(this);c.prototype.Yg.call(this)};return l});
define("iZ",["jquery.mod","gW","jj","ec"],function(a,b,c,f){function e(b,e){this.st=b;this.af="#000000";this.xb=0.5;this.M=10;this.Go=5;this.tc=e;this.kC=this.nN=this.Hd=0;this.SU=this.Qc=this.PB=z;this.Y=o;this.mt=document.createElement("div");this.mt.setAttribute("tdvlayer","scrollbar");this.Nw=a(this.mt);f.css(this.mt,{position:"absolute","z-index":c.IT});this.zw=document.createElement("div");this.kJ=a(this.zw);f.css(this.zw,{position:"absolute",left:0,top:0});this.Nw.append(this.kJ)}e.prototype.Ac=
function(){return this.Nw.width()};e.prototype.kd=function(){return this.Nw.height()};e.prototype.Qa=function(a){this.Hd!=a&&(this.Hd=a,this.c0(),this.Y=o)};e.prototype.setSize=function(a,b){this.nN=a;this.kC=b;this.c0();this.Y=o};e.prototype.Ye=function(a){this.Qc!=a&&(this.Qc=a,this.Y=o)};e.prototype.C4=function(a){this.PB!=a&&(this.PB=a,this.Y=o)};e.prototype.Iv=function(a){this.af!=a&&(this.af=a,this.Y=o)};e.prototype.Vh=function(a){this.xb!=a&&(this.xb=a,this.Y=o)};e.prototype.QA=function(a){this.M!=
a&&(this.M=a,this.Y=o)};e.prototype.O4=function(a){this.Go!=a&&(this.Go=a,this.Y=o)};e.prototype.Lc=function(){this.Y&&(this.SU!=this.Qc&&(this.Qc?this.tc.append(this.Nw):this.Nw.detach(),this.SU=this.Qc),this.L(),this.Y=z)};e.prototype.L=function(){var a=Math.round(100*this.nN/this.kC),b=Math.round(100*this.Hd/this.kC);f.css(this.mt,{filter:"alpha(opacity="+Math.round(100*this.xb)+")",opacity:this.xb,display:this.Qc?"block":"none"});f.css(this.zw,{backgroundColor:this.af,"border-radius":Math.floor(this.M/
2)+"px"});this.st==e.oe?(f.css(this.mt,{left:this.Go+"px",right:(this.PB?this.M:0)+this.Go+"px",height:this.M+"px",bottom:this.Go+"px"}),f.css(this.zw,{left:b+"%",width:a+"%",height:this.M+"px"})):(f.css(this.mt,{top:this.Go+"px",right:this.Go+"px",width:this.M+"px",bottom:(this.PB?this.M:0)+this.Go+"px"}),f.css(this.zw,{top:b+"%",width:this.M+"px",height:a+"%"}))};e.prototype.c0=function(){var a=this.kC-this.nN;0>this.Hd?this.Hd=0:this.Hd>a&&(this.Hd=a)};e.oe="horizontal";e.Je="vertical";return e});
define("ge",["gW","iZ"],function(a,b){return a.extend(b,function(a){b.call(this,b.oe,a)})});define("cN",["gW","iZ"],function(a,b){return a.extend(b,function(a){b.call(this,b.Je,a)})});
define("P",["require"],function(){function a(){}function b(d){var g=h;h=[];a.dR=o;var c=d-a.Kd,c=1<c?100>c?c:100:1;a.Kd=d;for(d=0;d<g.length;d++){var i=g[d];i.callback.call(i.context,c)}a.dR=z;k=0<h.length?e(b):m}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,f=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||
window.msCancelAnimationFrame,e=c,d=f,h=[],k=m,i=z;a.za=function(a,d){for(var c=0;c<h.length;c++){var f=h[c];if(f.callback==a&&f.context==d)return}h.push({callback:a,context:d});!i&&k===m&&(k=e(b))};a.hS=function(a){i!=a&&((i=a)?k!==m&&(d(k),k=m):0<h.length&&(k=e(b)))};a.XG=function(a,g){a=a||c;g=g||f;e!=a&&(k!==m&&(d(k),k=a(b)),e=a,d=g)};a.OR=function(){a.XG(q,q)};a.Kd=(new Date).getTime();a.dR=z;return a});
define("iM",[],function(){function a(a){var b={GQ:function(b,c,e,g){e=0>=e?0:e>=g?1:e/g;0.5>e?e=Math.pow(2*e,a):(e=1-Math.pow(1-(2*e-1),a),e+=1);return b+(c-b)*0.5*e}};b.tR=f(a);return b}function b(a){var b={GQ:function(b,c,e,g){return b+(c-b)*(1-Math.pow(1-(0>=e?0:e>=g?1:e/g),a))}};b.tR=f(a);return b}function c(a){var b={GQ:function(b,c,e,g){return b+(c-b)*Math.pow(0>=e?0:e>=g?1:e/g,a)}};b.tR=f(a);return b}function f(a){return function(b,c,e){b=Math.abs(c-b);return 1>b/e?0:1/(1-Math.pow((b-e)/b,
1/a))}}function e(d,e,f){this.Uf=q;switch(d){case "quad_in":this.Uf=c(2);break;case "quad_out":this.Uf=b(2);break;case "quad_in_out":this.Uf=a(2);break;case "cubic_in":this.Uf=c(3);break;case "cubic_out":this.Uf=b(3);break;case "cubic_in_out":this.Uf=a(3);break;case "quart_in":this.Uf=c(4);break;case "quart_out":this.Uf=b(4);break;case "quart_in_out":this.Uf=a(4);break;case "quint_in":this.Uf=c(5);break;case "quint_out":this.Uf=b(5);break;case "quint_in_out":this.Uf=a(5);break;default:this.Uf=c(1)}this.pm=
e.slice();this.Rb=0;this.Pb=this.ko(e,f);this.BK={};for(d=0;d<this.pm.length;d++)this.BK[this.pm[d].name]=e[d].bA}e.prototype.Yia=function(){for(var a=0;a<this.pm.length;a++)if("hfov"==this.pm[a].name)return this.pm[a];return q};e.prototype.Xa=function(a){return this.BK[a]};e.prototype.wd=function(){return this.Rb>=this.Pb};e.prototype.tn=P("Pb");e.prototype.setTime=function(a){this.Rb=Math.min(Math.max(0,a),this.Pb);for(a=0;a<this.pm.length;a++){var b=this.pm[a];this.BK[b.name]=this.Uf.GQ(b.bA,b.bH,
this.Rb,this.Pb)}};e.prototype.Ya=function(a){this.setTime(this.Rb+a)};e.prototype.ko=function(a,b,c){for(var e=[],f=0;f<this.pm.length;f++){var g=this.pm[f],l=c?c:g.pka;l!==m&&0<l&&e.push(this.Uf.tR(g.bA,g.bH,l/1E3))}if(0<e.length){a=e[0];for(f=1;f<e.length;f++)a=Math.max(a,e[f]);return 0<b?Math.max(b,a):a}return 0<b?b:this.ko(a,b,1E3)};return e});define("be",[],function(){return function(a,b,c,f){this.name=a;this.bA=b;this.bH=c;this.pka=f}});
define("iI","require,cE,gW,iX,bF,eK,dv,k,ge,cN,P,iM,be".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("eK"),h=a("dv"),k=a("k"),i=a("ge"),n=a("cN"),g=a("P"),l=a("iM"),r=a("be"),p=c.extend(k,function(){k.call(this);this.Ic("Container");this.Cb=this.Vb=this.qd=this.Wd=this.Ha=this.wa=this.bW=this.aW=0;this.eM=this.kM=this.Gg=this.Fg=z;this.WV=0;this.VJ=this.UJ=m;this.XJ=this.WJ=0;this.fp=q;this.ZD=d.YS;this.qo=z;this.SC=q;this.ml=z;this.IF=q});p.Ta={overflow:d.pq,scrollBarColor:"#000000",
scrollBarWidth:10,scrollBarMargin:5,scrollBarOpacity:0.5,scrollBarVisible:h.ed};b.defaults(p.Ta,k.Ta);p.prototype.Cj=function(){this.SC=new i(this.AL());this.SC.kJ.bind("mousedown touchstart",b.bind(this.Faa,this));this.Cj=P("SC");return this.SC};p.prototype.Ej=function(){this.IF=new n(this.AL());this.IF.kJ.bind("mousedown touchstart",b.bind(this.Dha,this));this.Ej=P("IF");return this.IF};p.prototype.scrollIntoView=function(a){var b=a.Z,b=Math.min(b,Math.max(b+a.ua()-this.Wd,this.Vb)),d=a.$,a=Math.min(d,
Math.max(d+a.Wa()-this.qd,this.Cb));this.scrollTo(b,a)};p.prototype.scrollTo=function(a,b){var d=this.Vb;a>this.Vb?this.$B()&&(d=Math.min(a,this.wa-this.Wd)):a<this.Vb&&this.ZB()&&(d=Math.max(a,0));var c=this.Cb;b>this.Cb?this.YB()&&(c=Math.min(b,this.Ha-this.qd)):b<this.Cb&&this.aC()&&(c=Math.max(b,0));this.bz(d,c)};p.prototype.z4=function(){if(this.YB()){for(var a=Math.max(0,this.Ha-this.qd),b=Math.min(a,this.Cb+this.qd*0.5),d=a=Math.min(a,this.Cb+this.qd),c=this.Ma().slice(),g=c.shift();c.length;g=
c.shift())if(g.get("visible")){var e=g.$;e+g.Wa()>this.Cb+this.qd&&e>=b&&e<a&&e<d&&(d=e)}this.bz(this.Vb,d)}};p.prototype.YB=function(){return this.uV()&&this.Cb+this.qd<this.Ha};p.prototype.B4=function(){if(this.aC()){for(var a=Math.max(0,this.Cb-this.qd),b=Math.max(0,this.Cb-this.qd*0.5),d=a,c=this.Ma().slice(),g=c.shift();c.length;g=c.shift())if(g.get("visible")){var e=g.$,g=e+g.Wa();e<this.Cb&&g>=a+this.qd&&g<b+this.qd&&g>d+this.qd&&(d=g-this.qd)}this.bz(this.Vb,d)}};p.prototype.aC=function(){return this.uV()&&
this.Cb>0};p.prototype.A4=function(){if(this.$B()){for(var a=Math.max(0,this.wa-this.Wd),b=Math.min(a,this.Vb+this.Wd*0.5),d=a=Math.min(a,this.Vb+this.Wd),c=this.Ma().slice(),g=c.shift();c.length;g=c.shift())if(g.get("visible")){var e=g.Z;e+g.ua()>this.Vb+this.Wd&&e>=b&&e<a&&e<d&&(d=e)}this.bz(d,this.Cb)}};p.prototype.$B=function(){return this.tV()&&this.Vb+this.Wd<this.wa};p.prototype.scrollLeft=function(){if(this.ZB()){for(var a=Math.max(0,this.Vb-this.Wd),b=Math.max(0,this.Vb-this.Wd*0.5),d=a,
c=this.Ma().slice(),g=c.shift();c.length;g=c.shift())if(g.get("visible")){var e=g.Z,g=e+g.ua();e<this.Vb&&g>=a+this.Wd&&g<b+this.Wd&&g>d+this.Wd&&(d=g-this.Wd)}this.bz(d,this.Cb)}};p.prototype.ZB=function(){return this.tV()&&this.Vb>0};p.prototype.bz=function(a,b){this.Fg=this.Vb!=a;this.Gg=this.Cb!=b;this.kl();this.fp=new l("cubic_in_out",[new r("hScrollPosition",this.Vb,a),new r("vScrollPosition",this.Cb,b)],500);g.za(this.XI,this)};p.prototype.uV=function(){return this.ml&&this.qd<this.Ha};p.prototype.tV=
function(){return this.qo&&this.Wd<this.wa};p.prototype.ma=function(){this.li(p.Ta)};p.prototype.U8=function(){this.kM=o;this.kl()};p.prototype.T8=function(){this.kM=z;this.kl()};p.prototype.Faa=function(){this.Fg=o};p.prototype.Dha=function(){this.Gg=o};p.prototype.Q8=function(a){if(this.Fg||this.Gg){this.$a().bind(f.oc,this.TV,this);this.$a().bind(f.Eb,this.VV,this);this.$n=a.pageX;this.ao=a.pageY;this.kl()}else this.XV(a)};p.prototype.TV=function(a){if(this.Fg){var b=(a.pageX-this.$n)*this.wa/
this.Cj().Ac();this.Vb=this.Vb+b}else if(this.Gg){b=(a.pageY-this.ao)*this.Ha/this.Ej().kd();this.Cb=this.Cb+b}this.$n=a.pageX;this.ao=a.pageY;this.kn()};p.prototype.VV=function(){this.$a().unbind(f.oc,this.TV,this);this.$a().unbind(f.Eb,this.VV,this);this.Gg=this.Fg=z;this.kl()};p.prototype.xV=function(a){return this.ml&&(a>0&&this.Cb>0||a<0&&this.Cb<this.Ha-this.qd)?o:z};p.prototype.S8=function(a){if(this.ml){this.Cb=this.Cb-a.pn*this.qd*0.1;this.kn()}};p.prototype.XV=function(a){if(this.qo||this.ml){this.$a().bind(f.oc,
this.YV,this);this.$a().bind(f.Eb,this.ZV,this);this.eM=o;this.$n=a.pageX;this.ao=a.pageY;this.kl();this.cba()}};p.prototype.YV=function(a){var b=a.pageX-this.$n,d=a.pageY-this.ao;if(!this.Fg&&!this.Gg&&b*b+d*d>25){this.Fg=this.qo;this.Gg=this.ml;this.kl()}if(this.Fg||this.Gg){this.Vb=this.Vb-b;this.Cb=this.Cb-d;this.$n=a.pageX;this.ao=a.pageY;this.kn();this.Zga()}};p.prototype.ZV=function(){this.$a().unbind(f.oc,this.YV,this);this.$a().unbind(f.Eb,this.ZV,this);this.eM=z;this.kl();var a=Math.max(Math.abs(this.WJ/
0.001),Math.abs(this.XJ/0.001));this.fp=new l("linear",[new r("hScrollPosition",this.Vb,this.Vb-0.5*this.WJ*a),new r("vScrollPosition",this.Cb,this.Cb-0.5*this.XJ*a)],a);g.za(this.XI,this)};p.prototype.cba=function(){this.UJ=this.$n;this.VJ=this.ao};p.prototype.Zga=function(){var a=(new Date).getTime(),b=a-this.WV;if(b>10){this.WV=a;this.WJ=(this.$n-this.UJ)/b;this.XJ=(this.ao-this.VJ)/b;this.UJ=this.$n;this.VJ=this.ao}};p.prototype.XI=function(a){if(this.fp&&!this.fp.wd()&&(this.Fg||this.Gg)){this.fp.Ya(a);
if(this.Fg){this.Vb=this.fp.Xa("hScrollPosition");if(this.Vb<0||this.Vb>this.wa-this.Wd)this.Fg=z}if(this.Gg){this.Cb=this.fp.Xa("vScrollPosition");if(this.Cb<0||this.Cb>this.Ha-this.qd)this.Gg=z}this.kn();g.za(this.XI,this)}else{this.Gg=this.Fg=z;this.fp=q;this.kl()}};p.prototype.kn=function(){this.Vb=this.qo?Math.max(0,Math.min(this.wa-this.Wd,this.Vb)):0;this.Cb=this.ml?Math.max(0,Math.min(this.Ha-this.qd,this.Cb)):0;this.Cj().Qa(this.Vb);this.Ej().Qa(this.Cb);this.Ka().Dla(this.Vb);this.Ka().tma(this.Cb);
this.hg();if(this.u_!=this.Vb||this.v_!=this.Cb){this.u_!==m&&this.v_!==m&&this.trigger(new e(f.Ck));this.u_=this.Vb;this.v_=this.Cb}};p.prototype.kl=function(){var a;a=this.get("scrollBarVisible")==h.ALWAYS?o:this.qi?this.Fg||this.Gg||this.eM:this.Fg||this.Gg||this.kM;this.Cj().Ye(this.qo&&a);this.Ej().Ye(this.ml&&a);this.hg()};p.prototype.Ga=function(){k.prototype.Ga.call(this);if(!this.R8){this.R8=o;if(this.qi)this.bind(f.mb,this.XV,this);else{this.bind(f.mb,this.Q8,this);this.bind(f.ed,this.U8,
this);this.bind(f.Cc,this.T8,this);this.bind(f.lq,this.S8,this)}}};p.prototype.ca=function(){if(this.m("overflow")){this.ZD=this.j("overflow");this.o("overflow");this.$c()}if(this.m("scrollBarColor")){this.Cj().Iv(this.j("scrollBarColor"));this.Ej().Iv(this.j("scrollBarColor"));this.o("scrollBarColor")}if(this.m("scrollBarWidth")){this.Cj().QA(this.j("scrollBarWidth"));this.Ej().QA(this.j("scrollBarWidth"));this.o("scrollBarWidth")}if(this.m("scrollBarMargin")){this.Cj().O4(this.j("scrollBarMargin"));
this.Ej().O4(this.j("scrollBarMargin"));this.o("scrollBarMargin")}if(this.m("scrollBarOpacity")){this.Cj().Vh(this.j("scrollBarOpacity"));this.Ej().Vh(this.j("scrollBarOpacity"));this.o("scrollBarOpacity")}k.prototype.ca.call(this)};p.prototype.Yg=function(){k.prototype.Yg.call(this);this.aha();this.mha();this.kha();this.kl();this.hg()};p.prototype.aha=function(){for(var a=0,b=0,d=0,c=0,g=this.Ma(),e=0;e<g.length;e++){var i=g[e];if(i.get("visible")){c=Math.min(c,i.Z);d=Math.min(d,i.$);a=Math.max(a,
i.Z+i.ua());b=Math.max(b,i.$+i.Wa())}}this.aW=c;this.bW=d;this.wa=a;this.Ha=b};p.prototype.mha=function(){if(this.ZD==d.pq){this.Wd=this.wa;this.qd=this.Ha}else{this.Wd=Math.min(this.jd(),this.wa);this.qd=Math.min(this.hd(),this.Ha)}};p.prototype.kha=function(){var a=this.aW<0||this.bW<0||this.wa>this.Wd||this.Ha>this.qd;if(this.ZD==d.Ck){this.qo=this.Wd<this.wa;var b=(this.ml=this.qd<this.Ha)&&this.qo;this.Cj().setSize(this.Wd,this.wa);this.Cj().C4(b);this.Ej().setSize(this.qd,this.Ha);this.Ej().C4(b);
this.Ka().NA(!a)}else{this.ml=this.qo=z;this.ZD==d.pq?this.Ka().NA(o):this.Ka().NA(!a)}this.kn()};p.prototype.Lc=function(){this.Ej().Lc();this.Cj().Lc();k.prototype.Lc.call(this)};return p});define("G",[],function(){return{Je:"vertical",oe:"horizontal"}});define("cU",["require"],function(){return{ns: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("fx","require,jquery.mod,cE,gW,hW,G,d,ec,cU".split(","),function(a){var b=a("jquery.mod");_=a("cE");utils=a("gW");Alignment=a("hW");Direction=a("G");UIComponent=a("d");DOMUpdateQueue=a("ec");Font=a("cU");a=utils.extend(UIComponent,function(){UIComponent.call(this);this.Ic("Label");this.Kg=this.Rr=q});a.Ta={};a.prototype.ma=function(){UIComponent.prototype.ma.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("horizontalAlign",
Alignment.xa);this.f("verticalAlign",Alignment.Uc);this.f("direction",Direction.oe);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.Ga=function(){UIComponent.prototype.Ga.call(this);if(!this.Kg){this.Rr=document.createElement("span");this.Kg=b(this.Rr);this.TO({position:"absolute","text-align":"center",cursor:"inherit",
"white-space":"nowrap",transform:"translate3d(0, 0, 0)"});var a=this.Ka();a.NA(z);a.append(this.Kg)}};a.prototype.Jm=function(){UIComponent.prototype.Jm.call(this);var a=this.Ka();this.Eg=this.Kg.width()+a.mv()+a.qv();this.Dg=this.Kg.height()+a.rv()+a.gv();c(this)};a.prototype.ca=function(){var a,b={};if(this.m("direction")||this.m("text")){switch(this.j("direction")){case Direction.Je:b["line-height"]="100%";this.Kg.html(this.Kg.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]=
"normal";this.Kg.text(this.j("text"));this.Kg.html(this.Kg.html().split(" ").join(" "))}this.o("direction");this.o("text");setTimeout(function(){this.Fa();this.$c()}.bind(this),0)}if(this.m("fontFamily")){a=this.j("fontFamily");_(a).isString()||(a="");b.fontFamily=Font.ns(a);this.o("fontFamily");this.Fa();this.$c()}if(this.m("fontSize")){a=this.j("fontSize");_(a).isNumber()?a=a+"px":_(a).isString()||(a="");b.fontSize=a;this.o("fontSize");this.Fa();this.$c()}if(this.m("fontColor")){a=this.j("fontColor");
_(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.Fa();this.$c()}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.Fa();this.$c()}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.Fa();this.$c()}if(this.m("horizontalAlign")){this.$c();this.o("horizontalAlign")}if(this.m("verticalAlign")){this.$c();this.o("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(_(a).any(function(a){return this.m(a)},this)){var d={};_(a).each(function(a){d[a]=
this.j(a);this.o(a)},this);b["-moz-text-shadow"]=b["-webkit-text-shadow"]=b["text-shadow"]=[d.textShadowHorizontalLength+"px",d.textShadowVerticalLength+"px",d.textShadowBlurRadius+"px","rgba("+parseInt("0x"+d.textShadowColor.substr(1,2))+", "+parseInt("0x"+d.textShadowColor.substr(3,2))+", "+parseInt("0x"+d.textShadowColor.substr(5,2))+", "+d.textShadowOpacity+")"].join(" ");a=d.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(d.textShadowHorizontalLength,
-d.textShadowVerticalLength)/Math.PI)*45;b.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*d.textShadowOpacity).toString(16)).slice(-2)+d.textShadowColor.substr(1,6)+",direction="+a+")"}this.TO(b);UIComponent.prototype.ca.call(this)};a.prototype.Yg=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case Alignment.xa:a.left="0";break;case Alignment.Za:this.Lc();a.left=this.jd()-this.Rr.clientWidth+"px";break;case Alignment.bd:this.Lc();
a.left=Math.max(0,Math.round((this.jd()-this.Rr.clientWidth)*0.5))+"px"}switch(this.j("verticalAlign")){case Alignment.rb:a.top="0";break;case Alignment.zb:this.Lc();a.top=this.hd()-this.Rr.clientHeight+"px";break;case Alignment.Uc:this.Lc();a.top=Math.max(0,Math.round((this.hd()-this.Rr.clientHeight)*0.5))+"px"}this.TO(a)};a.prototype.TO=function(a){var b=this.Rr.style,d;for(d in a)b[d]=a[d]};var c=function(){function a(){!k&&b()&&(k=setTimeout(function(){k=q;var b=(new Date).getTime()-5E3,d;for(d in c){var g=
c[d];g.timestamp<b&&delete c[d];var e=g.label;(g.width!=e.Kg.width()||g.height!=e.Kg.height())&&e.Fa()}a()},500))}function b(){for(var a in c)return o;return z}var d=1,c={},k=q;return function(b){b.EY||(b.EY=d++);c[b.EY]={label:b,timestamp:(new Date).getTime(),width:b.Kg.width(),height:b.Kg.height()};a()}}();return a});
define("hm","require,gW,cE,bP,L,iX,bF,ew,cD,eK,ej,iI,fx".split(","),function(a){var b=a("gW"),c=a("cE"),f=a("bP"),e=a("L"),d=a("iX"),h=a("bF"),k=a("ew"),i=a("cD"),n=a("eK"),g=a("ej"),l=a("iI"),r=a("fx"),p=b.extend(l,function(){l.call(this);this.Oe=this.ha=q;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",o);this.set("creationPolicy",f.cw);this.set("overflow",n.YS);this.set("autoRolledOver",o);this.set("autoPressed",o);this.set("cursor",e.Od)});p.prototype.ma=function(){l.prototype.ma.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",i.pc);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",g.q,"opacity");this.h("rollOverIconWidth",g.q,"iconWidth");this.h("rollOverIconHeight",g.q,"iconHeight");this.h("rollOverFontSize",g.q,"fontSize");this.h("rollOverFontColor",g.q,"fontColor");this.h("rollOverFontWeight",g.q,"fontWeight");this.h("rollOverFontStyle",g.q,"fontStyle");this.h("rollOverTextDecoration",g.q,"textDecoration");this.h("rollOverTextShadowBlurRadius",g.q,"textShadowBlurRadius");this.h("rollOverTextShadowColor",
g.q,"textShadowColor");this.h("rollOverTextShadowHorizontalLength",g.q,"textShadowHorizontalLength");this.h("rollOverTextShadowOpacity",g.q,"textShadowOpacity");this.h("rollOverTextShadowVerticalLength",g.q,"textShadowVerticalLength");this.h("rollOverBorderSize",g.q,"borderSize");this.h("rollOverBorderLeftSize",g.q,"borderLeftSize");this.h("rollOverBorderTopSize",g.q,"borderTopSize");this.h("rollOverBorderRightSize",g.q,"borderRightSize");this.h("rollOverBorderBottomSize",g.q,"borderBottomSize");
this.h("rollOverBorderColor",g.q,"borderColor");this.h("rollOverBorderLeftColor",g.q,"borderLeftColor");this.h("rollOverBorderTopColor",g.q,"borderTopColor");this.h("rollOverBorderRightColor",g.q,"borderRightColor");this.h("rollOverBorderBottomColor",g.q,"borderBottomColor");this.h("rollOverShadow",g.q,"shadow");this.h("rollOverShadowHorizontalLength",g.q,"shadowHorizontalLength");this.h("rollOverShadowVerticalLength",g.q,"shadowVerticalLength");this.h("rollOverShadowBlurRadius",g.q,"shadowBlurRadius");
this.h("rollOverShadowSpread",g.q,"shadowSpread");this.h("rollOverShadowOpacity",g.q,"shadowOpacity");this.h("rollOverShadowColor",g.q,"shadowColor");this.h("rollOverBackgroundOpacity",g.q,"backgroundOpacity");this.h("rollOverBackgroundColor",g.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",g.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",g.q,"backgroundColorDirection");this.h("pressedLabel",g.sa,"label");this.h("pressedOpacity",g.sa,"opacity");this.h("pressedIconWidth",
g.sa,"iconWidth");this.h("pressedIconHeight",g.sa,"iconHeight");this.h("pressedFontSize",g.sa,"fontSize");this.h("pressedFontColor",g.sa,"fontColor");this.h("pressedFontWeight",g.sa,"fontWeight");this.h("pressedFontStyle",g.sa,"fontStyle");this.h("pressedTextDecoration",g.sa,"textDecoration");this.h("pressedTextShadowBlurRadius",g.sa,"textShadowBlurRadius");this.h("pressedTextShadowColor",g.sa,"textShadowColor");this.h("pressedTextShadowHorizontalLength",g.sa,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
g.sa,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",g.sa,"textShadowVerticalLength");this.h("pressedBorderSize",g.sa,"borderSize");this.h("pressedBorderLeftSize",g.sa,"borderLeftSize");this.h("pressedBorderTopSize",g.sa,"borderTopSize");this.h("pressedBorderRightSize",g.sa,"borderRightSize");this.h("pressedBorderBottomSize",g.sa,"borderBottomSize");this.h("pressedBorderColor",g.sa,"borderColor");this.h("pressedBorderLeftColor",g.sa,"borderLeftColor");this.h("pressedBorderTopColor",
g.sa,"borderTopColor");this.h("pressedBorderRightColor",g.sa,"borderRightColor");this.h("pressedBorderBottomColor",g.sa,"borderBottomColor");this.h("pressedShadow",g.sa,"shadow");this.h("pressedShadowHorizontalLength",g.sa,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",g.sa,"shadowVerticalLength");this.h("pressedShadowBlurRadius",g.sa,"shadowBlurRadius");this.h("pressedShadowSpread",g.sa,"shadowSpread");this.h("pressedShadowOpacity",g.sa,"shadowOpacity");this.h("pressedShadowColor",
g.sa,"shadowColor");this.h("pressedBackgroundOpacity",g.sa,"backgroundOpacity");this.h("pressedBackgroundColor",g.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",g.sa,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",g.sa,"backgroundColorDirection");this.h("pressedLabel",g.Na,"label");this.h("pressedRollOverOpacity",g.Na,"opacity");this.h("pressedRollOverIconWidth",g.Na,"iconWidth");this.h("pressedRollOverIconHeight",g.Na,"iconHeight");this.h("pressedRollOverFontSize",
g.Na,"fontSize");this.h("pressedRollOverFontColor",g.Na,"fontColor");this.h("pressedRollOverFontWeight",g.Na,"fontWeight");this.h("pressedRollOverFontStyle",g.Na,"fontStyle");this.h("pressedRollOverTextDecoration",g.Na,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",g.Na,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",g.Na,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",g.Na,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
g.Na,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",g.Na,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",g.Na,"borderSize");this.h("pressedRollOverBorderLeftSize",g.Na,"borderLeftSize");this.h("pressedRollOverBorderTopSize",g.Na,"borderTopSize");this.h("pressedRollOverBorderRightSize",g.Na,"borderRightSize");this.h("pressedRollOverBorderBottomSize",g.Na,"borderBottomSize");this.h("pressedRollOverBorderColor",g.Na,"borderColor");this.h("pressedRollOverBorderLeftColor",
g.Na,"borderLeftColor");this.h("pressedRollOverBorderTopColor",g.Na,"borderTopColor");this.h("pressedRollOverBorderRightColor",g.Na,"borderRightColor");this.h("pressedRollOverBorderBottomColor",g.Na,"borderBottomColor");this.h("pressedRollOverShadow",g.Na,"shadow");this.h("pressedRollOverShadowHorizontalLength",g.Na,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",g.Na,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",g.Na,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
g.Na,"shadowSpread");this.h("pressedRollOverShadowOpacity",g.Na,"shadowOpacity");this.h("pressedRollOverShadowColor",g.Na,"shadowColor");this.h("pressedRollOverBackgroundOpacity",g.Na,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",g.Na,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",g.Na,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",g.Na,"backgroundColorDirection")};p.prototype.dK=C();p.prototype.Ga=function(){l.prototype.Ga.call(this);if(!this.Oe){this.Oe=
this.dK();this.pa(this.Oe)}if(!this.ha){this.ha=new r;this.pa(this.ha)}};p.prototype.Cw=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new h(d.ci))}else{this.set("pressed",o);this.trigger(new h(d.pg))}};p.prototype.ca=function(){var a=z;if(this.m("mode")){if(this.j("mode")==i.pc){this.unbind(d.S,this.Cw,this,o);this.set("autoPressed",o)}else{this.bind(d.S,this.Cw,this,o);this.set("autoPressed",z)}this.o("mode");a=o}if(a||this.m("pressed"))this.j("mode")==i.di?this.Au(this.j("pressed")==
o):a&&this.Au(z);if(this.m("label")){a=this.j("label");this.ha.set("text",a);this.ha.set("visible",a?o:z);this.o("label")}this.Sa(p.qU,p.rU,[this.ha],o,o);if(this.m("iconBeforeLabel")){this.j("iconBeforeLabel")==z?this.Xi(this.ha,0):this.Xi(this.Oe,0);this.o("iconBeforeLabel")}if(this.m("iconWidth")){this.Oe.set("width",this.j("iconWidth"));this.o("iconWidth")}if(this.m("iconHeight")){this.Oe.set("height",this.j("iconHeight"));this.o("iconHeight")}if(this.m("buttonGroup")){(a=this.j("buttonGroup"))?
k.register(this,a):k.VA(this);this.o("buttonGroup")}this.Sa(["horizontalAlign","verticalAlign"],{},[this.Oe],o,z);l.prototype.ca.call(this)};p.qU=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];p.rU={};c(p.qU).each(function(a){p.rU[a]=a});return p});
define("fU",["require","gW","hm","df","iX"],function(a){var b=a("gW"),c=a("hm"),f=a("df"),a=a("iX"),b=b.extend(c,function(){c.call(this)});f.v("BaseButton",b).A("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]"}).In(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).Yb([a.pg,a.ci]).Zi([a.S]);return b});
define("hu",[],function(){return{NONE:"none",jq:"fill",Ie:"fit_inside",Ql:"fit_outside",wk:"fit_to_width",ng:"fit_to_height",B5:"custom"}});
define("hH","require,cE,jquery.mod,gW,iX,eQ,p,hW,hu,d,ec,gz".split(","),function(a){function b(a){this.wJ=a;this.xc=[];this.rg=q}var c=a("cE"),f=a("jquery.mod"),e=a("gW"),d=a("iX"),h=a("eQ"),k=a("p"),i=a("hW"),n=a("hu"),g=a("d"),l=a("ec"),r=a("gz");b.ph=document.createElement("a");b.prototype.P8=function(a){b.ph.href=a;return b.ph.href};b.prototype.load=function(a,b,g){a=this.P8(a);if(this.rg&&!this.rg.yn()){this.rg.cancel();this.xc=c(this.xc).without(this.rg)}if(this.rg=c(this.xc).find(function(b){return b.Ee()==
a}))this.xc=c(this.xc).without(this.rg);else{this.rg=new r(h.KT);this.rg.load(a)}for(this.xc.splice(0,0,this.rg);this.xc.length>this.wJ;)this.xc.pop().cancel();if(b){var e=this.rg,i=function(){b.call(g||window,e.vd(),e.Ac(),e.kd())};this.rg.yn()?i():this.rg.bind(d.O,i)}};b.prototype.clear=function(){this.xc.forEach(function(a){a.cancel()});this.rg=q};a=e.extend(g,function(a){g.call(this);this.Ic("Image");this.wJ=a||1;this.RP=z;this.yg=i.xa;this.TC=z;this.Mg=i.rb;this.KF=z;this.yc=n.NONE;this.qO=z;
this.$t=this.au=0;this.XL=this.iN=z;this.Ha=this.wa=0;this.mm=z;this.FM=this.zg=this.bb=this.ZC=this.YC=q;this.bind(d.hb,this.$aa,this);this.bind(d.tf,this.aba,this)});a.prototype.zL=function(){this.FM=new b(this.wJ);this.zL=P("FM");return this.FM};a.prototype.ma=function(){g.prototype.ma.call(this);this.f("horizontalAlign",i.xa);this.f("verticalAlign",i.rb);this.f("scaleMode",n.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.RP=o;this.Tb()}g.prototype.set.call(this,a,b)};
a.prototype.Lv=function(a){if(this.yg!=a){this.yg=a;this.TC=o;this.Tb()}};a.prototype.Mv=function(a){if(this.Mg!=a){this.Mg=a;this.KF=o;this.Tb()}};a.prototype.Mp=function(a){if(this.yc!=a){this.yc=a;this.qO=o;this.Tb();this.Fa()}};a.prototype.$aa=function(){this.mm=o;this.Tb()};a.prototype.aba=function(){this.T1()};var p={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","user-select":"none","-ms-user-select":"none","-moz-user-select":"none","-webkit-user-select":"none",
"touch-callout":"none","-webkit-touch-callout":"none"};k.browser()==k.Zh&&(p.transform="translate3d(0,0,0)");a.prototype.XU=function(a,b,c){this.au=b?b:0;this.$t=c?c:0;if(this.bb){this.bb.remove();this.bb=q}if(this.zg=a){this.bb=f(this.zg);l.css(this.zg,p);this.YC.append(this.bb)}this.iN=this.XL=o;this.Tb();this.Fa();this.bb&&this.trigger(d.O)};a.prototype.Ga=function(){g.prototype.Ga.call(this);if(!this.YC){this.ZC=document.createElement("div");this.YC=f(this.ZC);l.css(this.ZC,{position:"static",
overflow:"hidden",cursor:"inherit"});this.Ka().append(this.YC)}};a.prototype.Jm=function(){this.Eg=this.au+this.Qg()+this.zl();this.Dg=this.$t+this.Al()+this.jv();this.xY=this.au==0&&this.$t==0?0:this.au/this.$t;this.Lx=this.Mx=0};a.prototype.ca=function(){if(this.m("scaleMode")){this.Mp(this.j("scaleMode"));this.o("scaleMode")}if(this.m("horizontalAlign")){this.Lv(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")){this.Mv(this.j("verticalAlign"));this.o("verticalAlign")}if(this.TU())this.mm=
o;g.prototype.ca.call(this);this.T1();if(this.Gja()){var a=z;if(this.qO||this.iN||this.mm){var b=this.jd(),d=this.hd(),c=this.au,e=this.$t,f,h;if(c==0||e==0)h=f=0;else switch(this.yc){case n.NONE:f=c;h=e;break;case n.jq:f=b;h=d;break;case n.Ie:if(c*d>e*b){f=b;h=e*b/c}else{f=c*d/e;h=d}break;case n.Ql:if(c*d>e*b){f=c*d/e;h=d}else{f=b;h=e*b/c}break;case n.wk:f=b;h=e*b/c;break;case n.ng:f=c*d/e;h=d}if(this.wa!=f||this.Ha!=h){this.wa=f;this.Ha=h;a=o}this.iN=this.qO=z}if(a||this.mm||this.XL){this.KF=this.TC=
o;this.zg&&l.css(this.zg,{width:this.wa+"px",height:this.Ha+"px",visibility:"inherit"});l.css(this.ZC,{width:this.jd()+"px",height:this.hd()+"px","border-top-left-radius":this.QC(this.D$(),this.XW(),this.VW())+"px","border-top-right-radius":this.QC(this.E$(),this.XW(),this.WW())+"px","border-bottom-left-radius":this.QC(this.B$(),this.UW(),this.VW())+"px","border-bottom-right-radius":this.QC(this.C$(),this.UW(),this.WW())+"px"});this.Fa();this.XL=this.mm=z}if(this.TC&&this.zg){switch(this.yg){case i.xa:l.css(this.zg,
{"margin-left":0,"margin-right":this.jd()-this.wa+"px"});break;case i.Za:l.css(this.zg,{"margin-left":this.jd()-this.wa+"px","margin-right":0});break;case i.bd:l.css(this.zg,{"margin-left":Math.floor((this.jd()-this.wa)*0.5)+"px","margin-right":Math.ceil((this.jd()-this.wa)*0.5)+"px"})}this.TC=z}if(this.KF&&this.zg){switch(this.Mg){case i.rb:l.css(this.zg,{"margin-top":0,"margin-bottom":this.hd()-this.Ha+"px"});break;case i.zb:l.css(this.zg,{"margin-top":this.hd()-this.Ha+"px","margin-bottom":0});
break;case i.Uc:l.css(this.zg,{"margin-top":Math.floor((this.hd()-this.Ha)*0.5)+"px","margin-bottom":Math.ceil((this.hd()-this.Ha)*0.5)+"px"})}this.KF=z}}};a.prototype.T1=function(){if(this.RP){var a=this.get("url");if(a)this.zL().load(a,this.XU,this);else{this.zL().clear();this.XU(q,0,0)}this.RP=z}};a.prototype.QC=function(a,b,d){if(!a)return 0;var c=0;b&&(c=Math.max(c,b));d&&(c=Math.max(c,d));return Math.max(0,a-c)};return a});
define("dD",["gW","hu","ej","hm","hH"],function(a,b,c,f,e){a=a.extend(f,function(){f.call(this)});a.prototype.ma=function(){f.prototype.ma.call(this);this.f("iconURL");this.h("rollOverIconURL",c.q,"iconURL");this.h("pressedIconURL",c.sa,"iconURL");this.h("pressedRollOverIconURL",c.Na,"iconURL")};a.prototype.dK=function(){var a=new e(3);a.set("scaleMode",b.Ie);return a};a.prototype.ca=function(){if(this.m("iconURL")){var a=this.j("iconURL");this.Oe.set("url",a);this.Oe.set("visible",a?o:z);this.o("iconURL")}f.prototype.ca.call(this)};
return a});define("dC",["gW","dD","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("Button",a).A("BaseButton").K({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).qk(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
define("eW",["require","gW","ho","iX","df"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),a=a("df"),b=b.extend(c,function(){c.call(this);this.set("angle",0);this.set("rotate",z);this.set("inertia",z)});a.v("CapPanoramaOverlay",b).A("PanoramaOverlay").K({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).Yb([f.ed,f.Cc,f.nj,f.$e]).Zi([f.S]);return b});
define("eM",["gW","df","eW"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.v("CeilingCapPanoramaOverlay",a).A("CapPanoramaOverlay");return a});
define("bE","cE,jquery.mod,gW,iX,bF,d".split(","),function(a,b,c,f,e,d){a=c.extend(d,function(){d.call(this);this.Ic("Canvas");this.QK=o;this.t=q;this.bind(f.hb,this.p8,this)});a.prototype.p8=function(){this.yG()};a.prototype.yG=function(){this.QK=o;this.hg()};a.prototype.Ga=function(){d.prototype.Ga.call(this);if(!this.t){this.t=b("<canvas/>");this.t.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.Ka().append(this.t)}};a.prototype.ca=function(){this.TU()&&this.yG();d.prototype.ca.call(this)};
a.prototype.Lc=function(){if(this.QK){this.QK=z;var a=this.t.get(0);a.width=this.jd();a.height=this.hd();this.Oma()}d.prototype.Lc.call(this)};a.prototype.aja=function(){return this.t.get(0).width};a.prototype.$ia=function(){return this.t.get(0).height};a.prototype.Zia=function(){return this.t.get(0).getContext("2d")};a.prototype.Oma=function(){this.trigger(new e(f.W))};return a});
define("gl",["gW","iX","ej","hm","bE"],function(a,b,c,f,e){a=a.extend(f,function(){f.call(this)});a.prototype.Yg=function(){f.prototype.Yg.call(this)};a.prototype.ma=function(){f.prototype.ma.call(this);this.f("iconColor");this.h("rollOverIconColor",c.q,"iconColor");this.h("pressedIconColor",c.sa,"iconColor");this.h("pressedRollOverIconColor",c.Na,"iconColor")};a.prototype.dK=function(){var a=new e;a.bind(b.W,this.q5,this,o);return a};a.prototype.ca=function(){this.m("iconColor")&&(this.Oe.yG(),this.o("iconColor"));
f.prototype.ca.call(this)};a.prototype.T$=function(){return this.j("iconColor")};a.prototype.U$=function(){return this.Oe.Zia()};a.prototype.W$=function(){return this.Oe.aja()};a.prototype.V$=function(){return this.Oe.$ia()};a.prototype.q5=C();return a});
define("dI",["gW","gl","hW","ej"],function(a,b,c,f){a=a.extend(b,function(){b.call(this);this.P({horizontalAlign:c.bd,verticalAlign:c.Uc})});a.prototype.ma=function(){b.prototype.ma.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",f.q,"iconLineWidth");this.h("pressedIconLineWidth",f.sa,"iconLineWidth");this.h("pressedRollOverIconLineWidth",f.Na,"iconLineWidth")};a.prototype.caa=function(){return this.j("iconLineWidth")};a.prototype.ca=function(){this.m("iconLineWidth")&&(this.Oe.yG(),
this.o("iconLineWidth"));b.prototype.ca.call(this)};a.prototype.q5=function(){var a=this.U$(),b=this.T$(),c=this.W$(),f=this.V$(),i=this.caa();a.clearRect(0,0,c,f);a.lineWidth=i||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,f);a.moveTo(0,f);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("fI",["gW","dI","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("CloseButton",a).A("BaseButton").K({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("hn",["cE","gW","iI","df"],function(a,b,c,f){a=b.extend(c,function(){c.call(this)});f.v("Container",a).A("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]"}).Th({scrollTo:function(a,b){c.prototype.scrollTo.call(this,a,b)}});return a});
define("he",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),f=a("df"),a=b.extend(c,function(){c.call(this);this.R=q});f.v("PanoramaFrame",a).A("Object").K({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).qk(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.BL();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":if(this.R)return this.R.get(a,b)}return c.prototype.get.call(this,a,b)};a.prototype.BL=
function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.SO(a)};a.prototype.SO=function(a){if(this.Du===m||this.oD!=a){var b=function(a){return f.qb("PopupPanoramaOverlay",a)},c=function(a){return f.qb("LensFlarePanoramaOverlay",a)};this.oD=a;this.Du=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.Du};a.prototype.$ha=L("R");return a});
define("iO",["require","gW","df","he"],function(a){var b=a("gW"),c=a("df"),f=a("he"),a=b.extend(f,function(){f.call(this)});c.v("CubicPanoramaFrame",a).A("PanoramaFrame").K({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});return a});
define("hj","require,jquery.mod,modernizr.mod,gW,p,hy".split(","),function(a){function b(){}a("jquery.mod");var c=a("modernizr.mod"),f=a("gW"),e=a("p"),a=a("hy");b.Jaa=function(){try{if(c.audio&&c.audio.mp3)return o}catch(a){}return z};b.Kaa=function(){try{if(c.audio&&c.audio.ogg)return o}catch(a){}return z};b.Naa=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.Xaa=function(){if(e.browser()==e.Zg){var a=e.vG();if(a>=10&&a<11||a>=11.3)return o}return z};b.Oaa=function(){return e.browser()==e.uk||e.browser()==e.Zg?o:z};b.FX=function(){try{if(c.video&&c.video.h264)return o}catch(a){}return z};b.Laa=function(){try{if(c.video&&c.video.ogg)return o}catch(a){}return z};b.Maa=function(){try{if(c.video&&c.video.webm)return o}catch(a){}return z};b.Tna=R(o);b.Paa=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return o}catch(a){}try{if(c.webgl&&
document.createElement("canvas").getContext("experimental-webgl"))return o}catch(b){}return z};b.log=function(){f.log("css transforms 3d: "+b.yQ);f.log("webgl: "+b.webgl);f.log("html5 audio: "+b.C3);f.log("html5 video: "+b.F3)};b.dga=function(){return["css3d:"+b.yQ,"webgl:"+b.webgl,"html5audio:"+b.C3,"html5video:"+b.F3].join(" ")};b.E3=b.Kaa();b.D3=b.Jaa();b.C3=b.E3||b.D3;b.bR=b.Laa();b.tG=b.FX();b.uG=b.Maa();b.G3=b.Xaa();b.ZQ=b.Oaa();b.r3=b.ZQ||b.FX()&&b.Naa();b.F3=b.bR||b.tG||b.uG;b.yQ=o;b.webgl=
b.Paa();a.Tg("debug")&&a.Tg("capabilities")&&b.log();b.summary=b.dga();return b});
define("N",["require","hj"],function(a){a("hj");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ogg:"data:audio/ogg;base64,T2dnUwACAAAAAAAAAAA+HAAAAAAAAGyawCEBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPZ2dTAAIAAAAAAAAAAINDAAAAAAAA9LkergEeAXZvcmJpcwAAAAACRKwAAAAAAAAA7gIAAAAAALgBT2dnUwAAAAAAAAAAAAA+HAAAAQAAAPvOJxcBUGZpc2JvbmUALAAAAINDAAADAAAARKwAAAAAAAABAAAAAAAAAAAAAAAAAAAAAgAAAAAAAABDb250ZW50LVR5cGU6IGF1ZGlvL3ZvcmJpcw0KT2dnUwAAAAAAAAAAAACDQwAAAQAAAGLSAC4Qdv//////////////////cQN2b3JiaXMdAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAwOTA3MDkCAA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KAAAYo5RzzklJpUKIMecglNJShRBjzkEopaWoMcYglJJSa1FjjEEoJaXWomshlJJSSq1F10IoJaXWWotSqlRKaq3FGKVUqZTWWosxSqlzSq3FGGOUUveUWoux1iildDLGGGOtzTnnZIwxxloLAEBocAAAO7BhdYSTorHAQkNWAgB5AAAIQkoxxhhjECGlGGPMMYeQUowxxhhUijHGHGMOQsgYY4wxByFkjDHnnIMQMsYYY85BCJ1zjjHnIITQOceYcxBC55xjzDkIoXOMMeacAACgAgcAgAAbRTYnGAkqNGQlABAOAAAYw5hzjDkGnYQKIecgdA5CKqlUCDkHoXMQSkmpeA46KSGUUkoqxXMQSgmhlJRaKy6GUkoopaTUUpExhFJKKSWl1ooxpoSQUkqptVaMMaGEVFJKKbZijI2lpNRaa60VY2wsJZXWWmutGGOMaym1FmOsxRhjXEuppRhrLMYY43tqLcZYYzHGGJ9baimmXAsAMHlwAIBKsHGGlaSzwtHgQkNWAgC5AQAIQkoxxphjzjnnnHPOSaUYc8455yCEEEIIIZRKMeacc85BByGEEEIoGXPOOQchhBBCCCGEUFLqmHMOQgghhBBCCCGl1DnnIIQQQgghhBBCSqlzzkEIIYQQQgghhJRSCCGEEEIIIYQQQggppZRCCCGEEEIIIZQSUkophRBCCCWEEkoIJaSUUgohhBBCKaWEUkJJKaUUQgillFBKKaGUkFJKKaUQQiillFBKKSWllFJKJZRSSikllFBKSimllEoooZRQSimllJRSSimVUkopJZRSSgkppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUEkpJKaWUUkqllFBKKaWUUlJKKaWUSgqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBABSAQAAQiillFJKKTWMUUoppZRSihyklFJKKaWUUkoppZRSSimVUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKAcDdFw6APhM2rI5wUjQWWGjISgAgFQAAMIYxxphyzjmllHPOOQadlEgp5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9zIiFVOq5jbU9nZ1MABYA2AQAAAAAAg0MAAAkAAACfd/skAWoWAKqz3++H+/T0pGA6hrVD9XUrrc4zc3Nzc/r9sOZyIGq6bDnpYwKensDQ9y/K37+cAFtbW3TudhWOtwZzlstb/X5/a6vf72/x5+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK"};a.src=
a.ogg;return a});
define("iW",["require","gW"],function(a){function b(a){return f[h][a]||f.en[a]||a}var c=a("gW"),f={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>Your device's motion and orientation access and VR mode are disabled for this webpage, please access it through https.</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."},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","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>El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabilitado para esta p\u00e1gina web, 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."},
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"},
pt:{"enable-audio-prompt":"Ativar \u00e1udio","enable-video-prompt":"Ativar v\u00eddeo?","enable-video-audio-prompt":"Ativar v\u00eddeo e \u00e1udio?",yes:"sim",no:"n\u00e3o","change-to-drag-and-release":"Alterar o modo de controle para arrastar e soltar","change-to-click-and-move":"Alterar o modo de controle para clicar e mover","enter-fullscreen":"Entrar em tela cheia","exit-fullscreen":"Sair da tela cheia",mute:"Desativar \u00e1udio",unmute:"Ativar \u00e1udio"},zh:{"enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f",
"enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","enable-video-audio-prompt":"\u542f\u7528\u97f3\u9891\u548c\u89c6\u9891\uff1f",yes:"\u662f",no:"\u6ca1\u6709","change-to-drag-and-release":"\u66f4\u6539\u63a7\u5236\u6a21\u5f0f\u4ee5\u62d6\u653e","change-to-click-and-move":"\u66f4\u6539\u63a7\u5236\u6a21\u5f0f\u4ee5\u5355\u51fb\u5e76\u79fb\u52a8","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",mute:"\u7981\u7528\u97f3\u9891",unmute:"\u542f\u7528\u97f3\u9891"}};
f["zh-tw"]=f["zh-hk"]=f["zh-mo"]={"enable-audio-prompt":"\u555f\u7528\u97f3\u983b\uff1f","enable-video-prompt":"\u555f\u7528\u8996\u983b\uff1f","enable-video-audio-prompt":"\u555f\u7528\u8996\u983b\u548c\u97f3\u983b\uff1f",yes:"\u662f",no:"\u6c92\u6709","change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u62d6\u52d5\u548c\u91cb\u653e","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u55ae\u64ca\u4e26\u79fb\u52d5\u201d","enter-fullscreen":"\u9032\u5165\u5168\u5c4f",
"exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",mute:"\u975c\u97f3",unmute:"\u53d6\u6d88\u975c\u97f3"};f.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"};f.ja={"enable-audio-prompt":"\u30aa\u30fc\u30c7\u30a3\u30aa\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":"\u30aa\u30fc\u30c7\u30a3\u30aa\u3068\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",yes:"\u306f\u3044",
no:"\u3044\u3044\u3048","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":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u79fb\u52d5\u3059\u308b\u3088\u3046\u306b\u5236\u5fa1\u30e2\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b","dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044","enter-fullscreen":"\u5168\u753b\u9762\u5165\u529b",
"exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86","giroscope-disabled-safari-request-permission":"<div>\u3053\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u304a\u3088\u3073\u65b9\u5411\u30a2\u30af\u30bb\u30b9\u3068VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002</div>\n<div>\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u9069\u5207\u306b\u8868\u793a\u3059\u308b\u306b\u306f\u3001[\u7d9a\u884c]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u8a31\u53ef\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002</div>",
"giroscope-disabled-safari-toggle-on":'<div>\u3053\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u304a\u3088\u3073\u65b9\u5411\u30a2\u30af\u30bb\u30b9\u3068VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002</div>\n<div>\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u9069\u5207\u306b\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002</div>\n<ul style="display:inline-block; text-align:left;">\n<li>\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\uff1a\u300c\u8a2d\u5b9a> Safari>\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u304a\u3088\u3073\u30aa\u30f3\u306b\u5207\u308a\u66ff\u3048\u307e\u3059\uff1a\u300c\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u5411\u304d\u306e\u30a2\u30af\u30bb\u30b9\u300d</li>\n<li>\u30d6\u30e9\u30a6\u30b6\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002</li>\n</ul>',
"giroscope-disabled-http":"<div>\u3053\u306eWeb\u30da\u30fc\u30b8\u3067\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u304a\u3088\u3073\u65b9\u5411\u30a2\u30af\u30bb\u30b9\u3068VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002https\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002</div>",mute:"\u97f3\u58f0\u3092\u7121\u52b9\u306b\u3059\u308b",unmute:"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3059\u308b"};
f.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"};f.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"};f.no={"enable-audio-prompt":"Aktiver lyd?","enable-video-prompt":"Aktiver video?",
"enable-video-audio-prompt":"Aktiver lyd og video?",yes:"ja",no:"Nei","change-to-drag-and-release":"Endre kontrollmodus for \u00e5 dra og slippe ut","change-to-click-and-move":"Endre kontrollmodus for \u00e5 klikke og flytte","enter-fullscreen":"Skriv inn fullskjerm","exit-fullscreen":"Avslutt fullskjerm",mute:"Deaktiver lyden",unmute:"Aktiver lyd"};f.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"};f.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"};f.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"};f.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"};f.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 e=function(){var a=window.navigator,b=["language",
"browserLanguage","systemLanguage","userLanguage"],d,c,e=[],f=a.languages;if(Array.isArray(f))for(d=0;d<f.length;d++)if((c=f[d])&&c.length)c=c.toLowerCase(),-1==e.indexOf(c)&&e.push(c);for(d=0;d<b.length;d++)if((c=a[b[d]])&&c.length)c=c.toLowerCase(),-1==e.indexOf(c)&&e.push(c);return e}(),d=Object.keys(f),h=function(){for(var a=0;a<e.length;a++){var b=e[a];if(0<=d.indexOf(b))return b;b=b.substr(0,2);if(0<=d.indexOf(b))return b}return"en"}();b.log=function(){c.log("translation lang: "+h);c.log("browser lang: "+
e.join(", "))};return b});
define("ff",["require","hj"],function(a){var a=a("hj"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",e4:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};b.src=
!a.tG&&a.uG?b.webm:b.e4;return b});
define("bO",["require","ff","p","hy"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("playsinline","playsinline");b.src=d.src;var c=b.play();if(c){var e=z;c.then(function(){e=o;b.pause();a(z)})["catch"](function(){e||a(o)})}else b.pause(),a(z)}function c(a){var b=z,d=document.createElement("video");d.src="";(d=d.play())?d["catch"](function(a){b="NotAllowedError"!==a.name}).then(function(){a(!b)}):a(o)}function f(a){n=a;k=o;e()}function e(){for(;i.length;)i.shift().call(window,n)}
var d=a("ff"),h=a("p");a("hy");var k=z,i=[],n;(function(){h.browser()==h.uk&&11<=h.dla()?f(o):h.browser()==h.Zg?b(f):c(function(a){a?b(f):f(z)})})();return{test:function(a){i.push(a);k&&e()}}});
define("hg",["require","iW","d","hq","bO"],function(a){function b(a,b){this.Uu=a;this.ln=b;this.media=0;this.v4=[];this.ak=this.ak.bind(this)}function c(){this.c2=[];this.$U=[];this.wq=[];this.Qn={};this.Qn[h]=m;this.Qn[k]=m;this.ak=this.ak.bind(this);this.TP=this.TP.bind(this);d.test(function(a){a?e.Uma(this.TP):this.ak(k|h,o)}.bind(this))}var f=a("iW");a("d");var e=a("hq"),d=a("bO");c.prototype.u5=function(a){this.Qn[k]?a.call(this,o):this.c2.push(a)};c.prototype.Vma=function(a){this.Qn[h]?a.call(this,
o):this.$U.push(a)};c.prototype.Yka=function(a,b){this.$m(h,a,b)};c.prototype.NR=function(a,b){this.$m(k,a,b)};c.prototype.vma=function(){this.Qn[k]=m};c.prototype.TP=function(){var a=k|h;this.wq.forEach(function(b){a&=~b.media});this.$l(a,o)};c.prototype.$m=function(a,b,d){this.Qn[a]||this.h7(b,d).Kl(a)};c.prototype.ak=function(a,b){this.n8();this.$l(a,b)};c.prototype.$l=function(a,b){a&k&&(this.Qn[k]=b,this.c2.forEach(function(a){a.call(window,b)}));a&h&&(this.Qn[h]=b,this.$U.forEach(function(a){a.call(window,
b)}))};c.prototype.n8=function(){var a=this.wq;this.wq=[];a.forEach(function(a){a.cancel()})};c.prototype.h7=function(a,d){for(var c=q,e=0;e<this.wq.length&&!c;e++)this.wq[e].Uu==a&&(c=this.wq[e]);c||(c=new b(a,this.ak),this.wq.push(c));0>c.v4.indexOf(d)&&c.v4.push(d);return c};var h=1,k=2;b.prototype.Kl=function(a){0===(a&this.media)&&(this.media|=a,"button"==this.Uu.get("mediaActivationMode")?this.Uu.HF.Zka(this.ak):this.Uu.DD.show(this.daa(this.media),this.ak))};b.prototype.cancel=function(){this.Uu.HF.jia(this.ak);
this.Uu.DD.hide(this.ak)};b.prototype.ak=function(a){this.ln(this.media,a!==z);this.media=0};b.prototype.daa=function(a){return a==(h|k)?f("enable-video-audio-prompt"):a==k?f("enable-video-prompt"):f("enable-audio-prompt")};return new c});
define("eq",["require","iX","bF","dQ"],function(a){function b(){var a;a=e?!d:!document[k];h.visible!=a&&(h.visible=a,h.trigger(new f(c.W)))}var c=a("iX"),f=a("bF"),e=z,d=z,h=new (a("dQ"));h.visible=o;for(var k,i,a=["hidden","msHidden","webkitHidden"],n=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],g=0;g<a.length;g++)"undefined"!==typeof document[a[g]]&&(k=a[g],i=n[g]);k===m||"undefined"===typeof document[k]?(k="hidden",document[k]=z,i=function(){document[k]=z;b()},a=function(){document[k]=
o;b()},document.addEventListener?(window.addEventListener("focus",i,o),window.addEventListener("blur",a,o)):(document.attachEvent("onfocusin",i),document.attachEvent("onfocusout",a))):document.addEventListener(i,b,z);h.QG=function(a){(e=a)&&(d=z);b()};window.addEventListener("vrdisplayblur",function(){d=o;b()},o);window.addEventListener("vrdisplayfocus",function(){d=z;b()},o);return h});
define("eN","require,cE,gW,iX,eo,eQ,bF,dQ,N,fk,d,hg,eq".split(","),function(a){a("cE");var b=a("gW"),c=a("iX"),f=a("eo"),e=a("eQ"),d=a("bF"),h=a("dQ"),k=a("N"),i=a("fk"),n=a("d"),g=a("hg"),l=a("eq"),r=k.src,a=b.extend(h,function(){h.call(this);this.xi=this.xi.bind(this);this.Tk=this.Tk.bind(this);this.Qm=this.Qm.bind(this);this.rr=this.rr.bind(this);this.QI=this.QI.bind(this);this.Zy=[];this.ft="";this.cm=f.N;this.qr=m;this.yq=z;this.$f=f.N;this.Wk="";this.Bi=m;this.Rq=z;this.Pd="inactive";l.bind(c.W,
this.dQ,this);this.LD=m;this.iJ=z;this.rc=document.createElement("audio");this.rc.autobuffer="autobuffer";this.rc.Bs="auto";this.rc.addEventListener("progress",this.xi,z);this.rc.addEventListener("ended",this.Tk,o);this.rc.addEventListener("pause",this.Qm,z);this.rc.addEventListener("canplaythrough",this.rr,z);g.Vma(this.QI)});a.prototype.QI=function(a){if(this.Pd=="asking")this.Pd="inactive";a?this.$l():this.la.set("mute",o)};a.prototype.PR=L("la");a.prototype.play=function(a,b){this.Wk=a;this.Bi=
b;this.yu(f.Q)};a.prototype.stop=function(){this.yu(f.N)};a.prototype.Ri=function(){return this.rc&&this.rc.currentTime||0};a.prototype.Wh=function(a){this.rc.volume=a};a.prototype.yu=function(a){this.$f=a;this.Pd=="activated"?l.visible&&this.Zk():this.Pd=="inactive"&&(n.sA()?this.$l():this.$f!=f.N?this.ww():this.Zk())};a.prototype.ww=function(){this.Pd="asking";g.Yka(this.la,this)};a.prototype.xi=function(){if(this.Bi!==m){this.rc.currentTime=this.Bi;this.Bi=m}};a.prototype.Qm=function(){if(this.cm==
f.Q||this.yq&&this.qr==f.Q)!isNaN(this.rc.duration)&&this.rc.currentTime==this.rc.duration?this.Tk():l.visible&&this.rc.play()};a.prototype.Tk=function(){if(this.cm==f.Q||this.yq&&this.qr==f.Q){this.Fi(z);this.cm=f.N;this.trigger(new d(c.qa))}};a.prototype.rr=function(){this.iJ=o;this.tz();this.Fi(z)};a.prototype.dQ=function(){l.visible?this.$f&&this.rba?this.Zk():this.cm==f.Q&&this.rc.play():this.cm==f.Q&&this.rc.pause()};a.prototype.$l=function(){if(this.Pd=="inactive"||this.Pd=="asking"){this.Pd=
"activating";this.D0(r);this.l_(function(){this.Pd="activated";this.rc.pause();this.Zk()}.bind(this),function(){this.Pd="inactive";this.ww()}.bind(this))}};a.prototype.Zk=function(){this.$f!=f.N&&this.rea(this.Wk,this.Bi);this.sea(this.$f);this.Bi=this.$f=this.Wk=m};a.prototype.rea=function(a,b){this.D0(a||"");this.rc.currentTime!=b&&this.tea(b)};a.prototype.tea=function(a){try{this.rc.currentTime=a}catch(b){}this.LD=a;this.tz()};a.prototype.tz=function(){if(this.iJ&&this.LD!==m){try{this.rc.currentTime=
this.LD}catch(a){}this.LD=m}};a.prototype.sea=function(a){this.qr=a;this.yq||this.xE()};a.prototype.xE=function(){if(this.cm!=this.qr)if(this.qr==f.Q||this.qr==f.Zb&&this.cm!=f.Q){this.yq=o;this.Fi(this.ft!=r&&this.ft!=""?o:z);var a=function(){if(this.yq){this.cm=f.Q;this.yq=z;this.xE()}}.bind(this),b=function(){this.yq=z;this.Fi(z);setTimeout(function(){this.xE()}.bind(this),100)}.bind(this);this.l_(a,b)}else{this.Fi(z);this.rc.pause();this.cm=this.qr;this.xE()}};a.prototype.l_=function(a,b){function d(){if(!g){h();
b&&b()}}function c(){g=o;h();a&&a()}var g=z,e=2E3,i,f=function(){e=Math.min(e*2,8E3);i=setTimeout(f,e);this.rc.play()}.bind(this),l=function(){this.rc.addEventListener("play",c,z);this.rc.addEventListener("error",d,z);i=setTimeout(f,e)}.bind(this),h=function(){this.rc.removeEventListener("play",c,z);this.rc.removeEventListener("error",d,z);clearTimeout(i)}.bind(this);l();(l=this.rc.play())&&l["catch"](d)};a.prototype.D0=function(a){if(this.ft!=a){this.iJ=z;this.ft=a;this.rc.src=this.ft?this.ft:k.src}};
a.prototype.Fi=function(a){if(this.Rq!=a)(this.Rq=a)?i.e5(e.kB):i.d5(e.kB)};return a});
define("eX",["require","cE","hy"],function(a){var b=a("cE"),c=a("hy"),a={is:function(a,e){var d=c.parse(a).Hia;return b(e).contains(d)},qA:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},nB:[".mp4",".m4v",".m4p"],yB:[".webm"],vT:[".ogv",".ogg"],Z5:[".mpg",".mpeg"],P5:[".jpg",".jpeg"],xk:[".m3u8"],uT:[".mpd"],g6:[".png"],M5:[".gif"],y5:[".bmp"]};a.N5=[].concat(a.P5,a.g6,a.M5,a.y5);a.Pv=[].concat(a.xk,a.uT);a.zI=[].concat(a.Pv,a.nB,a.yB,a.vT,a.Z5,a.xk,a.uT);a.O5=["data:image/"];
return a});
define("bC",["require","hy"],function(a){function b(){this.rD=this.BM=q;this.jm=[];this.Pk=z;this.Ao=m}var c=a("hy");b.prototype.xn=function(a,b){this.BM=c.Op(a);this.rD=b;this.L()};b.prototype.load=function(a,b){var d={};d.call=a;d.context=b||window;this.jm.push(d);this.Ao||(this.Ao=this.lX());this.L()};b.prototype.yn=function(){return this.Ao!==m};b.prototype.L=function(){0<this.jm.length&&(this.Ao!==m?this.F9():this.BM&&this.Fx())};b.prototype.Fx=function(){if(!(this.Pk||this.Ao!==m)){this.Pk=o;
var a=document.createElement("script");a.type="text/javascript";a.src=this.BM;document.getElementsByTagName("head")[0].appendChild(a);this.i2()}};b.prototype.i2=function(){var a=this.lX();if(a===m){var b=this;setTimeout(function(){b.i2()},250)}else this.Ao=a,this.Pk=z,this.L()};b.prototype.lX=function(){if(this.rD){for(var a=window,b=0;b<this.rD.length&&a!==m;b++)a=a[this.rD[b]];return a}};b.prototype.F9=function(){for(;0<this.jm.length;){var a=this.jm.pop();a.call.call(a.context,this.Ao)}};return{bU:new b,
xk:new b,xn:function(a){this.xk.xn(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.bU.xn(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("cT","require,gW,iX,eo,eQ,bF,dQ,hj,p,eX,bC,fk,hy,d,hg,eq,ff".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eo"),e=a("eQ"),d=a("bF"),h=a("dQ"),k=a("hj"),i=a("p"),n=a("eX"),g=a("bC"),l=a("fk"),r=a("hy"),p=a("d"),s=a("hg"),t=a("eq"),u=a("ff"),v=b.extend(h,function(){h.call(this);this.Tk=this.Tk.bind(this);this.Qm=this.Qm.bind(this);this.dN=this.dN.bind(this);this.rr=this.rr.bind(this);this.RM=this.RM.bind(this);this.XM=this.XM.bind(this);this.RI=this.RI.bind(this);this.Zy=[];this.Xc=z;this.Ni=
1;this.Rq=z;this.Lm=this.Jz=this.Lh=m;this.fs=z;this.$f=f.N;this.kz=this.Bi=this.vy=this.Wk=m;this.la=this.Td=q;this.u=document.createElement("video");this.MD=m;this.aQ=z;this.F0();t.bind(c.W,this.dQ,this);this.Pd="inactive";s.u5(this.RI)});v.prototype.F0=function(){for(this.u.parentNode&&this.u.parentNode.removeChild(this.u);this.u.children.length;)this.u.removeChild(this.u.children[0]);this.u.autoplay=z;this.u.autobuffer="autobuffer";this.u.Bs=i.browser()==i.Zg?"metadata":"none";this.u.setAttribute("preload",
i.browser()==i.Zg?"metadata":"none");this.u.setAttribute("webkit-playsinline","true");this.u.setAttribute("playsinline","true");this.u.addEventListener("ended",this.Tk,o);this.u.addEventListener("pause",this.Qm,z);this.u.addEventListener("stalled",this.Qm,z);this.u.addEventListener("waiting",this.Qm,z);this.u.addEventListener("timeupdate",this.dN,z);this.u.addEventListener("loadedmetadata",this.XM,o);this.u.addEventListener("canplay",this.RM,o);this.u.addEventListener("canplaythrough",this.rr,z);
this.JO()};v.prototype.clear=function(){this.NV();this.u=q};v.prototype.cv=function(a,b,d){if(this.nA())try{a.drawImage(this.u,0,0,b,d);return}catch(c){}a.fillRect(0,0,b,d)};v.prototype.play=function(a,b,d,c){this.la=a;this.Wk=b;this.Bi=d;this.vy=c;this.yu(f.Q)};v.prototype.pause=function(a,b,d,c){this.la=a;this.Wk=b;this.Bi=d;this.vy=c;this.yu(f.Zb)};v.prototype.stop=function(){this.yu(f.N)};v.prototype.Rh=P("Lh");v.prototype.nA=function(){return this.u.readyState==this.u.HAVE_NOTHING||this.u.readyState==
this.u.HAVE_METADATA||this.u.currentTime===0?z:o};v.prototype.Mf=function(a){if(this.Xc!=a){this.Xc=a;this.JO()}};v.prototype.Wh=function(a){if(this.Ni!=a){this.Ni=a;this.JO()}};v.prototype.JO=function(){this.u.muted=this.Ni===0||this.Xc;this.u.volume=this.Xc?0:this.Ni};v.prototype.yu=function(a){this.$f=a;this.Pd=="activated"?t.visible&&this.Zk():this.Pd=="inactive"&&(this.la&&this.Iaa()?this.R6():this.la&&p.sA()?this.$l():this.la&&this.$f!=f.N?this.ww():this.Zk())};v.prototype.Ri=function(){return this.u&&
this.u.currentTime||0};v.prototype.tn=function(){return this.u&&this.u.duration||0};v.prototype.Ac=function(){return this.u&&this.u.videoWidth||0};v.prototype.kd=function(){return this.u&&this.u.videoHeight||0};v.prototype.ww=function(){if(this.la){this.Pd="requested";s.NR(this.la,this)}};v.prototype.Iaa=function(){var a=this.QW();return a&&(!a.currentSrc||a.paused)&&!a.muted?o:z};v.prototype.QW=function(){return this.la.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};v.prototype.R6=
function(){this.u=this.QW();this.F0();this.$l()};v.prototype.Qm=function(){(this.Lh==f.Q||this.fs&&this.Lm==f.Q)&&!this.u.hasAttribute("loop")&&!isNaN(this.u.duration)&&this.u.currentTime==this.u.duration&&this.u.duration>0&&this.Tk();this.zF()};v.prototype.RI=function(a){if(this.Pd=="requested")this.Pd="inactive";a&&this.$l()};v.prototype.$l=function(){if(this.Pd=="inactive"||this.Pd=="requested"){this.Pd="activating";this.$E(q,0,z,function(){this.vN(function(){this.u.pause();this.Pd="activated";
this.Zk()}.bind(this),function(){this.Pd="inactive";this.ww(this.la)}.bind(this))}.bind(this))}};v.prototype.Yc=function(){this.trigger(new d(v.Ze))};v.prototype.dN=function(){this.trigger(new d(v.VH))};v.prototype.XM=function(){this.trigger(new d(v.Pl));this.trigger(new d(v.F5));!isNaN(this.u.duration)&&this.u.currentTime==this.u.duration&&this.u.duration>0&&this.Tk()};v.prototype.RM=function(){this.zF()};v.prototype.rr=function(){this.aQ=o;this.tz();this.zF();this.Fi(z)};v.prototype.Tk=function(){if(this.Lh==
f.Q||this.fs&&this.Lm==f.Q){this.Fi(z);this.Lh=f.N;this.u.paused||this.u.pause();this.trigger(new d(v.$g))}};v.prototype.dQ=function(){t.visible?this.$f&&this.rba?this.Zk():this.Lh==f.Q&&this.u.play():this.Lh==f.Q&&this.u.pause()};v.prototype.Zk=function(){if(this.a0(this.Wk)&&!g.xk.yn())g.xk.load(this.Zk,this);else{var a=function(){this.G0(this.$f);this.Bi=this.$f=this.Wk=this.vy=m}.bind(this);this.$f==f.Q?this.$E(this.Wk,this.Bi,this.vy,a):this.$f==f.Zb?this.$E(this.Wk,this.Bi,this.vy,a):this.Jz===
m?this.$E(q,0,z,a):this.G0(this.$f)}};v.prototype.$E=function(a,b,d,c){a=a||q;this.xfa(d);if(this.Jz!==a){this.Lh=f.N;this.B7(a,b,c)}else{this.IO(b);c()}};v.prototype.wfa=function(a){a&&!this.u.hasAttribute("crossorigin")?this.u.setAttribute("crossorigin","anonymous"):!a&&this.u.hasAttribute("crossorigin")&&this.u.removeAttribute("crossorigin")};v.prototype.xfa=function(a){a&&!this.u.hasAttribute("loop")?this.u.setAttribute("loop",""):!a&&this.u.hasAttribute("loop")&&this.u.removeAttribute("loop")};
v.prototype.IO=function(a){try{this.u.currentTime=a}catch(b){}if(i.browser()!=i.Qp&&i.browser()!=i.Ps){this.MD=a;this.tz()}};v.prototype.tz=function(){if(this.aQ&&this.MD!==m){try{this.u.currentTime=this.MD}catch(a){}this.MD=m}};v.prototype.zF=function(){this.Lh==f.Q&&t.visible&&this.u.paused&&this.u.readyState>=3&&this.vN(C(),this.ada.bind(this))};v.prototype.ada=function(){if(i.browser()!=i.Ps){s.vma();s.u5(this.zF.bind(this));setTimeout(function(){s.NR(this.la,this)}.bind(this),0)}};v.prototype.NV=
function(){if(this.Td){this.Td.destroy();this.Td=q}this.fea()};v.prototype.B7=function(a,b,d){this.NV();this.aQ=z;this.wfa(!!a&&r.O3(a));this.a0(a)?this.p7(a,b,d):this.y7(a,b,d)};v.prototype.a0=function(a){return n.is(a,n.xk)&&!k.ZQ};v.prototype.p7=function(a,b,d){var c=g.xk.Ao;this.Jz=a;var e=r.sn("debughls",z),i=(navigator.connection?Math.max(navigator.connection.downlink,2):2)*1048576,f=i*0.66,l={debug:e,startPosition:b===0?-1:b,levelLoadingTimeOut:6E4,startLevel:-1,autoStartLoad:z,abrEwmaDefaultEstimate:i};
this.Fi(o);this.Td=new c(l);this.Td.loadSource(a);this.Td.attachMedia(this.u);var h=function(){this.Td.off(c.Events.MANIFEST_PARSED,h);if(navigator.connection){var a=this.Td.levels.filter(function(a){return a.bitrate<=i});if(a.length){a.sort(function(a,b){return b.width-a.width});this.Td.startLevel=this.Td.levels.indexOf(a[0])}a=this.Td.levels.filter(function(a){return a.bitrate<=f});if(a.length){a.sort(function(a,b){return b.width-a.width});this.Td.config.minAutoBitrate=a[0].bitrate-1}if(e){console.log("bandwidth:",
i,"lowBandwidth:",f);console.log("levels",this.Td.levels);console.log("startLevel",this.Td.levels[this.Td.startLevel]);console.log("minLevel",this.Td.levels[this.Td.minAutoLevel])}}this.Td.startLoad(-1);b!=0&&this.IO(b);d()}.bind(this);this.Td.on(c.Events.MANIFEST_PARSED,h);this.Td.on(c.Events.jna,function(a,b){b.fatal&&b.type==c.ErrorTypes.ona&&this.Td.recoverMediaError()}.bind(this))};v.prototype.y7=function(a,b,d){if(this.Jz=a)this.TI(a);else{this.TI(u.webm,"video/webm");this.TI(u.e4,"video/mp4")}this.u.load();
b!=0&&this.IO(b);d()};v.prototype.TI=function(a,b){var d=document.createElement("source");b||(b=this.Eaa(a));if(b)d.type=b;r.qA(a)||(a=r.Wu(a,"swbypass=true"));d.src=a;this.u.appendChild(d);this.Zy.push(d)};v.prototype.Eaa=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.fea=function(){for(;this.Zy&&this.Zy.length;){var a=this.Zy.shift();
a.src="";this.u.removeChild(a)}};v.prototype.G0=function(a){this.Lm=a;this.fs||this.yE()};v.prototype.yE=function(){if(this.Lh!=this.Lm)if(this.Lm==f.Q||this.Lm==f.Zb&&this.Lh!=f.Q||this.Lm==f.N&&this.Lh!=f.Q){this.fs=o;this.Fi(this.Jz?o:z);var a=function(){if(this.fs){this.Lh=f.Q;this.fs=z;this.HO(o);this.yE()}}.bind(this),b=function(){this.fs=z;this.Fi(z);this.HO(z);setTimeout(function(){this.yE()}.bind(this),100)}.bind(this);this.vN(a,b)}else{this.Fi(z);this.HO(z);this.u.pause();if(this.Lm==f.N)this.u.currentTime=
0;this.Lh=this.Lm;this.yE()}};v.prototype.Fi=function(a){if(this.Rq!=a)(this.Rq=a)?l.e5(e.kB):l.d5(e.kB)};v.prototype.HO=function(a){if(!!this.kz!=a)if(this.kz){clearInterval(this.kz);this.kz=q}else{var b=this;this.kz=setInterval(function(){b.Yc()},16)}};v.prototype.vN=function(a,b){function d(){if(!g){h();b&&b()}}function c(){g=o;h();a&&a()}var g=z,e=2E3,i,f=function(){e=Math.min(e*2,8E3);i=setTimeout(f,e);this.u.play()}.bind(this),l=function(){this.u.addEventListener("play",c,z);this.u.addEventListener("error",
d,z);i=setTimeout(f,e)}.bind(this),h=function(){this.u.removeEventListener("play",c,z);this.u.removeEventListener("error",d,z);clearTimeout(i)}.bind(this);l();(l=this.u.play())&&l["catch"](d)};v.Ze="time update";v.VH="time update native";v.Pl="duration update";v.F5="size update";v.$g="end";return v});
define("dK","require,gW,cE,iX,eo,bF,dQ,p,hy,cT".split(","),function(a){function b(a){this.U=a;this.F=q;this.Qt=(new Date).getTime()}var c=a("gW"),f=a("cE"),e=a("iX"),d=a("eo"),h=a("bF"),k=a("dQ"),i=a("p"),n=a("hy"),g=a("cT");b.prototype.gR=function(){return this.F==q};b.prototype.item=P("F");b.prototype.Pia=function(){this.F.lR(this.U);this.F=q};b.prototype.Rma=function(a){this.F=a;this.F.EQ(this.U);this.Qt=(new Date).getTime()};var l=c.extend(k,function(){k.call(this);var a=i.Zd()==i.yk?1:n.gja();
this.jp=[];for(var c=0;c<a;c++)this.jp.push(new b(new g));this.Gf=[];this.k=d.N});l.prototype.ys=function(){return this.uX().length>0};l.prototype.IR=function(a){this.Gf=[a].concat(f(this.Gf).without(a));this.uN()};l.prototype.SF=function(a){this.Gf.push(a);this.uN()};l.prototype.xA=function(a){this.Gf=f(this.Gf).without(a);this.uN()};l.prototype.uN=function(){var a=this.Gf.slice(0,this.jp.length);this.uX().forEach(function(b){a.indexOf(b.item())<0&&b.Pia()});this.kb(a.length>0?d.Q:d.N);a.forEach(function(a){this.X$(a)||
this.O$().Rma(a)}.bind(this));this.P$().forEach(function(a){a.U.stop()})};l.prototype.kb=function(a){if(this.k!=a){this.k=a;this.trigger(new h(this.k==d.N?e.ld:e.Us))}};l.prototype.O$=function(){var a=this.jp.filter(function(a){return a.gR()});if(a.length){i.browser()==i.uk&&a.sort(function(a,b){return a.Qt-b.Qt});return a[0]}return q};l.prototype.P$=function(){return this.jp.filter(function(a){return a.gR()})};l.prototype.uX=function(){return this.jp.filter(function(a){return!a.gR()})};l.prototype.X$=
function(a){for(var b=0;b<this.jp.length;b++)if(this.jp[b].item()==a)return this.jp[b];return q};l.$L=q;l.bind=function(){var a=l.Bj();a.bind.apply(a,arguments)};l.unbind=function(){var a=l.Bj();a.unbind.apply(a,arguments)};l.ys=function(){return l.Bj().ys()};l.SF=function(a){l.Bj().SF(a)};l.IR=function(a){l.Bj().IR(a)};l.xA=function(a){l.Bj().xA(a)};l.bo=function(){if(l.$L===q)l.$L=new l;return l.$L};l.Bj=l.bo;l.bo();return l});
define("eR","require,cE,iX,bF,eN,p,dK".split(","),function(a){var b=a("cE"),c=a("iX"),f=a("bF"),e=a("eN"),d=a("p"),h=a("dK"),a={ZL:function(){this.la=q;this.p_=d.Zd()==d.yk?1:5;this.Wba=d.lb()?z:o;this.ee=[];for(var a=0;a<this.p_;a++){var b=new e;b.bind(c.qa,this.SD,this,o);this.ee.push(b)}this.fV=this.ee.slice();this.Yk={};this.iu=[];h.bind(c.Us,this.L,this,o);h.bind(c.ld,this.L,this,o);this.j8=d.ud()!=d.Uv&&d.ud()!=d.Vv},PR:function(a){this.la=a;this.ee.forEach(function(b){b.PR(a)});this.L()},S4:function(a,
b){if(a.Xc!=b){a.Mf(b);this.CP(a);this.L()}},Wh:function(a,b){if(a.Ni!=b){a.Wh(b);this.CP(a);this.L()}},CP:function(a){a.ya&&a.ya.Wh(a.Xc?0:a.Ni)},add:function(a){if(!this.ZX(a)){this.Jda(a);this.L()}},remove:function(a){if(this.ZX(a)){this.$o(a);this.L()}},L:function(){var a=this.gaa(),d=b.difference(this.iu,a),a=b.difference(a,this.iu);d.forEach(this.S_.bind(this));a.forEach(this.g7.bind(this))},S_:function(a){var d=a.ya;a.setTime(d.Ri());a.U4(q);d.stop();this.fV.push(d);this.iu=b(this.iu).without(a)},
g7:function(a){var b=this.fV.shift();a.U4(b);this.CP(a);b.play(a.Ee(),a.getTime());this.iu.push(a)},SD:function(a){var d=a.source,a=b(this.iu).find(function(a){return a.ya==d});this.S_(a);a.uD?this.Tba(a):this.$o(a);a.setTime(0);a.trigger(new f(c.qa));this.L()},Jda:function(a){var b=a.Vm;this.Yk[b]==m&&(this.Yk[b]=[]);this.Yk[b].splice(0,0,a)},ZX:function(a){return this.Yk&&b(this.Yk[a.Vm]).contains(a)},gaa:function(){if(!this.la||!this.j8&&h.ys())return[];var a=b(this.Yk).keys();a.sort(function(a,
b){return b-a});for(var d=[],c=0;c<a.length;c++)for(var g=this.Yk[a[c]],e=0;e<g.length;e++){var f=g[e];if(this.Wba||!this.xba(f)){d.push(f);if(d.length==this.p_)return d}}return d},xba:function(a){return a.Xc||a.Ni==0},$o:function(a){var d=a.Vm,c=this.Yk[d];if(c){a=b(c).indexOf(a);if(a>=0){c.splice(a,1);c.length==0&&delete this.Yk[d]}}},Tba:function(a){var d=this.Yk[a.Vm];if(d){var c=b(d).indexOf(a);if(c>=0){d.splice(c,1);d.push(a)}}}};a.ZL();return a});
define("gk",["require","gW","dQ"],function(a){var b=a("gW"),c=a("dQ"),a=b.extend(c,function(a,b){c.call(this);this.vb=a;this.Vm=b;this.Rb=0;this.Xc=this.uD=z;this.ya=q;this.Ni=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.vb+" priority:"+this.Vm+" time:"+this.Rb+" loop:"+this.uD+")"};a.prototype.Ee=P("vb");a.prototype.setTime=L("Rb");a.prototype.getTime=P("Rb");a.prototype.cS=L("uD");a.prototype.Mf=L("Xc");a.prototype.Wh=L("Ni");a.prototype.U4=L("ya");return a});
define("dj","require,gW,iX,bF,ho,eo,eR,gk".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("ho"),d=a("eo"),h=a("eR"),k=a("gk"),a=b.extend(e,function(a,b){e.call(this);this.set("state",d.N);this.F=new k(a,b);this.F.setTime(0);this.F.bind(c.qa,this.BZ,this,o)});a.prototype.clear=function(){h.remove(this.F);this.F.unbind(c.qa,this.BZ,this,o);this.set("state",d.N)};a.prototype.play=function(){h.add(this.F);this.set("state",d.Q)};a.prototype.pause=function(){h.remove(this.F);this.get("state")==
d.Q&&this.set("state",d.Zb)};a.prototype.stop=function(){h.remove(this.F);this.F.setTime(0);this.set("state",d.N)};a.prototype.cS=function(a){this.F.cS(a)};a.prototype.Cp=function(){h.S4(this.F,o)};a.prototype.Ms=function(){h.S4(this.F,z)};a.prototype.Wh=function(a){h.Wh(this.F,a)};a.prototype.BZ=function(){this.F.uD||this.set("state",d.N);this.trigger(new f(c.qa))};return a});
define("fA",["require","dj","hj"],function(a){function b(){}var c=a("dj"),f=a("hj");b.d6=3;b.c6=2;b.b6=2;b.r6=1;b.Yma="mp3";b.$ma="ogg";b.Zma="none";b.create=function(a,d,f){return new c(b.gla(a,d),f)};b.gla=function(a,b){return a&&f.D3?a:b&&f.E3?b:a||b};return b});
define("fC","require,gW,iX,eo,ho,bF,df,fA".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eo"),e=a("ho"),d=a("bF"),h=a("df"),k=a("fA"),i=b.extend(e,function(a){e.call(this);this.set("state",f.N);this.Vm=a||k.r6;this.hi=m});i.cd="stateChange";h.v("Audio",i).A("Object").K({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).Th({play:function(){this.ag()},pause:function(){this.Xj()},stop:function(){this.Ii()}}).Yb([c.qa,i.cd]);i.prototype.fv=function(){if(this.hi==m){var a=
this.get("audio");if(a){this.hi=k.create(a.get("mp3Url"),a.get("oggUrl"),this.Vm);a=function(){this.hi.cS(this.get("loop",z))};a.call(this);this.bind(c.Ca("loop"),a,this);a=function(){this.get("application").get("mute",z)?this.hi.Cp():this.hi.Ms()};a.call(this);this.get("application").bind(c.Ca("mute"),a,this,o);a=function(){this.set("state",this.hi.get("state"))};a.call(this);this.hi.bind(c.Ca("state"),a,this,o);this.hi.bind(c.qa,this.hca,this,o)}else this.hi=q}return this.hi};i.prototype.set=function(a,
b){if(a=="state"){var c=this.get("state"),h=this.hi?this.hi.get("state"):f.N;h!=c&&this.trigger(new d(i.cd,{oldState:c,state:h}))}e.prototype.set.call(this,a,b)};i.prototype.wn=function(){return[]};i.prototype.hca=function(){this.trigger(new d(c.qa))};i.prototype.ag=function(){var a=this.fv();a&&a.play()};i.prototype.Ii=function(){var a=this.fv();a&&a.stop()};i.prototype.Xj=function(){var a=this.fv();a&&a.pause()};return i});
define("fv",["gW","df","fC"],function(a,b,c){a=a.extend(c,function(a){c.call(this,a)});b.v("MediaAudio",a).A("Audio").K({autoplay:"bool"});return a});define("jk",["gW","df","fv","fA"],function(a,b,c,f){a=a.extend(c,function(){c.call(this,f.b6)});b.v("PanoramaAudio",a).A("MediaAudio");return a});define("et",["gW","jk","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("DirectionalPanoramaAudio",a).A("PanoramaAudio").K({yaw:"number",pitch:"number",maximumAngle:"number"});return a});
define("eT",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("DistancePanoramaCameraMovement",b).A("DistanceRotationalCameraMovement");return b});define("ek",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("DistanceRotationalCameraMovement",b).A("RotationalCameraMovement").K({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("r","require,cE,iX,gW,bF,dQ".split(","),function(a){function b(a,b,c,e,n){this.xm=q;this.QM=a;this.Bd=f.Ca(this.QM);this.Haa=b;this.Da=c||window;this.bba=e;this.GY=n;this.fM=z}var c=a("cE"),f=a("iX"),e=a("gW");a("bF");a("dQ");b.prototype.unwatch=function(){this.lO(q)};b.prototype.lO=function(a){c(this.jX()).each(function(a){a&&a.unbind(this.Bd,this.AV,this)},this);this.xm=a;c(this.jX()).each(function(a){a&&a.bind(this.Bd,this.AV,this,this.bba)},this);this.b0()};b.prototype.jX=function(){return this.xm?
c(this.xm).isArray()?this.xm:[this.xm]:[]};b.prototype.b0=function(){this.GY&&this.GY.lO(this.S$())};b.prototype.S$=function(){return this.xm==q?q:c(this.xm).isArray()?c(this.xm).map(function(a){return a?a.get(this.QM):q},this):this.xm.get(this.QM)};b.prototype.AV=function(a){if(!this.fM){try{this.fM=o;this.b0();this.Haa.call(this.Da,a)}catch(b){e.DG("ChangeWatcher._changeHandler",b)}this.fM=z}};b.watch=function(a,e,f,i,n){c.isString(e)&&(e=e.split("."));typeof n=="undefined"&&(n=z);if(e.length>0){e=
new b(e[0],f,i,n,b.watch(q,e.slice(1),f,i,n));e.lO(a);return e}return q};return b});
define("ji",["jquery.mod","gW","iX","d"],function(a,b,c,f){var e=b.extend(f,function(){f.call(this);this.Ic("DropDownArrow");this.t=q;this.mm=o;this.bind(c.hb,this.S9,this)});e.prototype.ma=function(){f.prototype.ma.call(this);this.f("color","#000000");this.f("direction",e.wH)};e.prototype.S9=function(){this.mm=o;this.Tb()};e.prototype.Ga=function(){f.prototype.Ga.call(this);this.t||(this.t=a("<canvas/>"),this.t.css({position:"absolute",left:0,top:0}),this.Ka().append(this.t))};e.prototype.ca=function(){var a=
z;this.m("color")&&(a=o,this.o("color"));this.m("direction")&&(a=o,this.o("direction"));this.mm&&(a=o,this.mm=z);if(a){var a=this.jd(),b=this.hd(),c=this.j("color"),i=this.j("direction"),n=[0.5*a,0,a],i=i==e.wH?[b,0,0]:[0,b,b],g=this.t.get(0);g.width=a;g.height=b;g=g.getContext("2d");g.clearRect(0,0,a,b);g.beginPath();g.moveTo(n[0],i[0]);g.lineTo(n[1],i[1]);g.lineTo(n[2],i[2]);g.fillStyle=c;g.fill()}f.prototype.ca.call(this)};e.wH="down";e.hna="up";return e});
define("eH","gW,bF,hW,L,iX,c,ej,iI,ji,fx".split(","),function(a,b,c,f,e,d,h,k,i,n){a=a.extend(k,function(){k.call(this);this.Ic("DropDownButton");this.Rn=this.ha=q;this.vM=o;this.set("autoRolledOver",o);this.set("autoPressed",o);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",o);this.set("cursor",f.Od);this.bind(e.S,this.RK,this)});a.prototype.ma=function(){k.prototype.ma.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
5);this.f("arrowGap",5);this.f("shadow",z);this.f("layout",d.oe);this.f("verticalAlign",c.Uc);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",h.q,"borderColor");this.h("rollOverArrowColor",h.q,"arrowColor");this.h("rollOverBackgroundColor",h.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",h.q,"backgroundColorRatios");this.h("rollOverShadow",h.q,"shadow");this.h("pressedBorderColor",h.sa,"borderColor");this.h("pressedArrowColor",
h.sa,"arrowColor");this.h("pressedBackgroundColor",h.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",h.sa,"backgroundColorRatios");this.h("pressedShadow",h.sa,"shadow");this.h("pressedRollOverBorderColor",h.Na,"borderColor");this.h("pressedRollOverArrowColor",h.Na,"arrowColor");this.h("pressedRollOverBackgroundColor",h.Na,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",h.Na,"backgroundColorRatios");this.h("pressedRollOverShadow",h.Na,"shadow");this.h("pressedBorderColor",
h.B,"borderColor");this.h("pressedArrowColor",h.B,"arrowColor");this.h("pressedBackgroundColor",h.B,"backgroundColor");this.h("pressedBackgroundColorRatios",h.B,"backgroundColorRatios");this.h("pressedShadow",h.B,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.vM=o;this.Tb()}k.prototype.set.call(this,a,b)};a.prototype.Ga=function(){k.prototype.Ga.call(this);if(!this.ha){this.ha=new n;this.ha.set("width","100%");this.pa(this.ha)}if(!this.Rn){this.Rn=new i;this.Rn.set("direction",
i.wH);this.pa(this.Rn)}};a.prototype.RK=function(){this.open();this.trigger(new b(e.OPEN))};a.prototype.open=function(){this.unbind(e.S,this.RK,this);this.Ty(o)};a.prototype.close=function(){this.bind(e.S,this.RK,this);this.Ty(z)};a.prototype.ca=function(){if(this.vM){this.ha.set("text",this.get("label"));this.vM=z}this.Sa(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.ha],o,o);if(this.m("arrowGap")){this.set("gap",this.j("arrowGap"));this.o("arrowGap")}if(this.m("arrowColor")){this.Rn.set("color",this.j("arrowColor"));this.o("arrowColor")}if(this.m("arrowBeforeLabel")){this.j("arrowBeforeLabel")==o?this.Xi(this.Rn,0):this.Xi(this.ha,0);this.o("arrowBeforeLabel")}if(this.m("arrowWidth")){this.Rn.set("width",this.j("arrowWidth"));this.o("arrowWidth")}if(this.m("arrowHeight")){this.Rn.set("height",this.j("arrowHeight"));this.o("arrowHeight")}k.prototype.ca.call(this)};
return a});define("ex",["cE","gW","iI","c"],function(a,b,c,f){var e=b.extend(c,function(){c.call(this)});e.Ta={layout:f.Je};a.defaults(e.Ta,c.Ta);e.prototype.ma=function(){this.li(e.Ta)};return e});
define("hd","require,gW,bF,hW,L,eK,iX,iI,ex,fx".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("hW"),e=a("L"),d=a("eK"),h=a("iX"),k=a("iI"),i=a("ex"),n=a("fx"),a=b.extend(k,function(){k.call(this);this.Ic("DropDownPopup");this.Lb=q;this.SB=z;this.Aa=q;this.Ax=[];this.np=o});a.prototype.open=function(a){this.Lb=a;this.SB=o;this.$a().Xi(this,this.$a().Ma().length-1);this.set("overIndex",-1);this.set("visible",o);this.bind(h.mb,this.Gb,this);this.$a().bind(h.Eb,this.zY,this);this.$a().bind(h.hb,
this.cb,this)};a.prototype.close=function(){this.Lb=q;this.SB=o;this.set("visible",z);this.Aa.set("overflow",d.pq);this.unbind(h.mb,this.Gb,this);this.$a().unbind(h.Eb,this.zY,this);this.$a().bind(h.hb,this.cb,this)};a.prototype.Ga=function(){k.prototype.Ga.call(this);if(!this.Aa){this.Aa=new i;this.Aa.set("overflow",d.pq);this.Aa.bind(h.hb,this.cb,this);this.Aa.bind(h.Ck,this.ep,this);this.pa(this.Aa)}};a.prototype.cb=function(){this.M1()};a.prototype.Gb=function(){this.rO=z};a.prototype.ep=function(){this.rO=
o};a.prototype.zY=function(){this.get("overIndex")==-1&&(!this.rO||!this.qi)&&this.trigger(new c(h.Tp));this.rO=z};a.prototype.xca=function(a){this.set("overIndex",this.yL(a.source))};a.prototype.yca=function(a){a=this.yL(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.wca=function(a){a=this.yL(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(h.Sl))};a.prototype.yL=function(a){for(var b=0;b<this.Ax.length;b++)if(this.Ax[b]==a)return b;return-1};
a.prototype.ma=function(){k.prototype.ma.call(this);this.f("visible",z);this.f("width","100%");this.f("height","100%");this.f("includeInLayout",z);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",o);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.ca=function(){var a=z,b=z;if(this.m("items")){for(var a=
this.j("items")||[],d=this.Ax.length;d<a.length;d++){var c=new n;c.P({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:e.Od});c.bind(h.nj,this.xca,this);c.bind(h.$e,this.yca,this);c.bind(h.S,this.wca,this);this.Ax.push(c)}c=this.Aa.Ma();for(d=a.length;d<c.length;d++)this.Aa.removeChild(c[d]);for(d=c.length;d<a.length;d++)this.Aa.pa(this.Ax[d]);for(d=0;d<a.length;d++)c[d].set("text",a[d]);this.o("items");b=a=o}if(this.m("selectedIndex")){this.o("selectedIndex");a=o}for(var i=
["horizontalAlign","popUpBackgroundOpacity","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],d=0;d<i.length;d++){c=i[d];if(this.m(c)){this.o(c);b=o}}if(b){i={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")};
c=this.Aa.Ma();for(d=0;d<c.length;d++)c[d].P(i)}i=["selectedIndex","overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(d=0;d<i.length;d++){c=i[d];if(this.m(c)){this.o(c);a=o}}if(a)for(var a=this.j("popUpBackgroundColor"),i=this.j("rollOverPopUpBackgroundColor")||a,b=this.j("selectedPopUpBackgroundColor")||a,f=this.j("popUpFontColor"),u=this.j("rollOverPopUpFontColor")||f,v=this.j("selectedPopUpFontColor")||
f,w=this.j("selectedIndex"),y=this.j("overIndex"),c=this.Aa.Ma(),d=0;d<c.length;d++)d==w?c[d].P({fontColor:v,backgroundColor:b}):d==y?c[d].P({fontColor:u,backgroundColor:i}):c[d].P({fontColor:f,backgroundColor:a});if(this.SB||this.m("popUpGap")||this.m("buttonWidth")){this.Lb&&this.Aa.set("minWidth",this.Lb.ua());this.o("popUpGap");this.M1();this.SB=z}this.Sa(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],
{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Aa],o,o);this.C1();k.prototype.ca.call(this)};a.prototype.M1=function(){if(this.Lb){var a=this.$a(),b=this.Lb.wja(a),c=this.Lb.ua(),e=this.Lb.Wa(),i=this.j("popUpGap"),h=this.Aa.wa,k=this.Aa.Ha,n=a.Wa()-(b.top+e+i)-5,w=b.top-5-i,y=
this.j("horizontalAlign");if(k<=n){this.np=o;this.Aa.set("top",b.top+e+i);this.Aa.set("maxHeight",m);this.Aa.set("overflow",d.pq)}else if(k<=w){this.np=z;this.Aa.set("top",b.top-k-i);this.Aa.set("maxHeight",m);this.Aa.set("overflow",d.pq)}else{if(n>=w){this.np=o;this.Aa.set("top",b.top+e+i);this.Aa.set("maxHeight",n)}else{this.np=z;this.Aa.set("top",b.top-w+i);this.Aa.set("maxHeight",w)}this.Aa.set("overflow",d.Ck)}e=y==f.bd?b.left+Math.round((c-h)*0.5):y==f.Za?b.left+c-h:b.left;e<0?e=b.left:b.left+
h>a.ua()&&(e=b.left+c-h);this.Aa.set("left",e);this.C1()}};a.prototype.C1=function(){var a=this.j("popUpBorderRadius");this.Aa.P({borderTopRadius:this.np?0:a,borderBottomRadius:this.np?a:0});for(var b=this.Aa.Ma(),d=0;d<b.length;d++){var c=d==0,e=d==b.length-1;b[d].P({borderTopRadius:!this.np&&c?a:0,borderBottomRadius:this.np&&e?a:0})}};return a});
define("je","require,gW,bF,iX,iI,eH,hd".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("iX"),e=a("iI"),d=a("eH"),h=a("hd"),a=b.extend(e,function(){e.call(this);this.Ic("DropDown");this.tx=z;this.Lb=this.Df=q;this.L0=o;this.Gc=-1;this.Lg=z});a.prototype.ma=function(){e.prototype.ma.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",o);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",z);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.Ga=function(){e.prototype.Ga.call(this);if(!this.Lb){this.Lb=new d;this.Lb.bind(f.hb,this.lca,this);this.Lb.bind(f.OPEN,this.Hca,this);this.Lb.bind(f.Tp,this.SM,this);this.Lb.bind(f.og,this.kca,this);this.Lb.set("width","100%");this.Lb.set("height",
"100%");this.pa(this.Lb)}if(!this.Df){this.Df=new h;this.Df.bind(f.Tp,this.SM,this);this.Df.bind(f.Sl,this.Vca,this);this.$a().pa(this.Df)}};a.prototype.lca=function(){this.L0=o;this.Tb()};a.prototype.Hca=function(){this.Lb.open();this.Df.set("selectedIndex",this.get("selectedIndex"));this.Df.open(this.Lb)};a.prototype.SM=function(){this.Lb.close();this.Df.close()};a.prototype.kca=function(){this.Lb.close();this.Df.close()};a.prototype.Vca=function(){this.set("selectedIndex",this.Df.get("selectedIndex"));
this.SM();this.Lg=o};a.prototype.ca=function(){var a=z;if(this.m("prompt")||this.m("label")){a=o;this.o("label");this.o("prompt")}if(this.m("selectedIndex")||this.m("items")){var a=o,b=this.j("selectedIndex"),d=this.j("items");b>=0&&b>=d.length&&(b=-1);this.set("selectedIndex",b);this.Df.set("items",this.j("items"));this.Df.set("selectedIndex",this.j("selectedIndex"));this.o("items");this.o("selectedIndex");if(this.Lg){this.Lg=z;this.trigger(new c(f.W))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
a=b<0?this.j("prompt"):this.j("items")[b]}this.Lb.set("label",a)}if(this.L0){this.Df.set("minWidth",this.Lb.ua());this.Df.set("buttonWidth",this.Lb.ua())}this.Sa(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.Lb,this.Df],o,o);this.Sa(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Df],o,o);this.Sa(["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.Lb],o,o);e.prototype.ca.call(this)};return a});
define("dy","require,gW,r,iX,je,df,cE".split(","),function(a){var b=a("gW"),c=a("r"),f=a("iX"),e=a("je"),d=a("df"),h=a("cE"),a=b.extend(e,function(){e.call(this);this.tb=q;this.iY=[];this.bind(f.W,this.oca,this)});d.v("DropDown",a).A("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"}).In(["fontSize"]);a.prototype.set=function(a,b){if(a=="playList"){if(this.tb)for(this.tb.unbind("change",this.Rm,this);this.iY.length;)this.iY.shift().unwatch();if(this.tb=b){c.watch(this.tb,"items.label",
this.vF,this);c.watch(this.tb,"items.media.label",this.vF,this);this.vF();this.tb.bind("change",this.Rm,this);this.Rm()}else this.vF()}else e.prototype.set.call(this,a,b)};a.prototype.vF=function(){this.tb?this.set("items",h(this.tb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.Rm=function(){this.set("selectedIndex",this.tb.get("selectedIndex"))};a.prototype.oca=function(){this.tb&&this.tb.set("selectedIndex",this.get("selectedIndex"))};
return a});
define("cO","gW,ho,iX,bF,P,iM,be".split(","),function(a,b,c,f,e,d,h){a=a.extend(b,function(){b.call(this);this.Pb=m;this.Gu=[];this.Ok=z;this.set("easing","linear");this.set("duration",1E3)});a.prototype.play=function(a){if(!this.ys(a)){this.Ok=o;this.Gu.push(a);this.Xf=0;this.Pb=Math.max(this.get("duration",1E3),0);this.ef=new d(this.get("easing","linear"),[new h("pos",0,1)],this.Pb);this.MO();this.JN()}};a.prototype.end=function(){if(this.Ok){this.Xf=this.Pb;this.cF();this.JN()}};a.prototype.ys=function(a){return this.Ok&&
this.Gu.indexOf(a)>=0};a.prototype.Pe=function(a){if(this.Ok){this.Xf=Math.min(this.Pb,this.Xf+a);this.ef.setTime(this.Xf);this.cF();this.JN()}};a.prototype.tL=function(){return this.ef.Xa("pos")};a.prototype.tm=function(a){if(this.Gu)for(var b=0;b<this.Gu.length;b++)a.call(this,this.Gu[b],b)};a.prototype.MO=C();a.prototype.cF=C();a.prototype.Cu=C();a.prototype.JN=function(){if(this.Xf<this.Pb)e.za(this.Pe,this);else{this.Cu();this.Ok=z;this.Gu=[];this.trigger(new f(c.qa))}};return a});
define("bb",["gW","iX","bF","df","cO"],function(a,b,c,f,e){a=a.extend(e,function(){e.call(this)});f.v("Effect",a).A("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]"}).Yb([b.qa]);return a});
define("U",["gW","cO"],function(a,b){var c=a.extend(b,function(){b.call(this);this.JB=this.IB=q});c.prototype.MO=function(){this.IB=[];this.JB=[];this.tm(function(a){this.IB.push(this.get("alphaFrom",a.Si()));this.JB.push(this.get("alphaTo",a.Si()))});this.tm(function(a,b){a.Vh(this.IB[b]);a.Ye(o)})};c.prototype.cF=function(){this.tm(function(a,b){var d=this.IB[b];a.Vh(d+(this.JB[b]-d)*this.tL())})};c.prototype.Cu=function(){this.tm(function(a,b){a.Vh(this.JB[b])})};return c});
define("im",["gW","U"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("iy",["gW","im","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("FadeInEffect",a).A("Effect");return a});define("iA",["gW","U"],function(a,b){var c=a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)});c.prototype.Cu=function(){b.prototype.Cu.call(this);this.tm(function(a){a.Ye(z);a.Vh(1)})};return c});
define("fY",["gW","iA","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("FadeOutEffect",a).A("Effect");return a});
define("bN",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this);this.set("enabled",o);this.set("interactionEnabled",o);this.set("enabledInCardboard",z);this.set("enabledInStandard",o);this.set("items",[]);this.set("rollOverItems",[]);this.set("maps",[]);this.set("rollOverMaps",[]);this.set("areas",[]);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});a.v("HotspotPanoramaOverlay",b).A("PanoramaOverlay").K({centerOverDisplay:"bool",
rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",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)}c.prototype.set.call(this,a,b)};return b});define("hI",["require","gW","df","bN"],function(a){var b=a("gW"),c=a("df"),f=a("bN"),a=b.extend(f,function(){f.call(this)});c.v("FlatHotspotPanoramaOverlay",a).A("HotspotPanoramaOverlay");return a});
define("o",["gW","ho","df","iX"],function(a,b,c,f){a=a.extend(b,function(){b.call(this);this.set("displayTooltipInTouchScreens",o)});c.v("HotspotPanoramaOverlayArea",a).A("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).Yb([f.ed,f.Cc,f.nj,f.$e]).Zi([f.S]);return a});define("du",["df","o"],function(a,b){a.v("FlatHotspotPanoramaOverlayArea",b).A("HotspotPanoramaOverlayArea");return b});
define("cB",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(a,b,d,h,k){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);d!==m&&this.set("roll",d);this.set("opacity",h!==m?h:1);k!==m&&this.set("timestamp",k)});a.v("FlatPanoramaOverlayPlaybackPosition",b).A("Object").K({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("dP",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(a,b,d,h,k,i,n,g,l){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);d!==m&&this.set("rotationX",d);h!==m&&this.set("rotationY",h);k!==m&&this.set("roll",k);i!==m&&this.set("hfov",i);n!==m&&this.set("vfov",n);this.set("opacity",g!==m?g:1);l!==m&&this.set("timestamp",l)});a.v("PanoramaOverlayPlaybackPosition",b).A("Object").K({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
define("E",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(a,b,d,h,k,i,n){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);d!==m&&this.set("rotationX",d);h!==m&&this.set("rotationY",h);k!==m&&this.set("rotationZ",k);i!==m&&this.set("hfov",i);n!==m&&this.set("timestamp",n)});a.v("PopupPanoramaOverlayPlaybackPosition",b).A("Object").K({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("gt",["require","ho","cB","dP","E"],function(a){var b=a("ho"),c=a("cB"),f=a("dP"),e=a("E");return{dja:function(a){return this.GL(a,this.h$)},qG:function(a){return this.GL(a,this.vda)},uja:function(a){return this.GL(a,this.Cda)},h$: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)},vda:function(a){function c(e,i){return b.prototype.get.call(a,e,i)}return new f(c("yaw",0),c("pitch",
0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",c("vfov")===m?45:m),c("vfov"),c("opacity",1),0)},Cda:function(a){function c(e,i){return b.prototype.get.call(a,e,i)}return new e(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("rotationZ",0),c("hfov",45),0)},GL:function(a,c){var e=b.prototype.get.call(a,"playbackPositions")||[];return 0<e.length?e.slice().sort(function(a,b){return a.get("timestamp")-b.get("timestamp")||e.indexOf(a)-e.indexOf(b)}):[c(a)]}}});
define("fF","require,gW,ho,iX,df,gt".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("iX"),e=a("df"),d=a("gt"),a=b.extend(c,function(){c.call(this);this.Gd=m});e.v("FlatHotspotPanoramaOverlayImageBase",a).A("Object").K({height:"number",image:"ImageResource",offsetX:"number",offsetY:"number",pitch:"number",roll:"number",width:"number",yaw:"number",distance:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]"}).Yb([f.tf,f.og]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Gd===
m)this.Gd=d.dja(this);return this.Gd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.Gd=m;d=o}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(f.Ca("playbackPositions"))};return a});
define("m",["require","gW","df","fF"],function(a){var b=a("gW"),c=a("df"),f=a("fF"),a=b.extend(f,function(){f.call(this)});c.v("FlatHotspotPanoramaOverlayImage",a).A("FlatHotspotPanoramaOverlayImageBase");return a});define("cz",["require","gW","df","fF"],function(a){var b=a("gW"),c=a("df"),f=a("fF"),a=b.extend(f,function(){f.call(this)});c.v("FlatHotspotPanoramaOverlayMap",a).A("FlatHotspotPanoramaOverlayImageBase");return a});
define("ck",["cE","gW","iI","c"],function(a,b,c,f){var e=b.extend(c,function(){c.call(this)});e.Ta={layout:f.Mn};a.defaults(e.Ta,c.Ta);e.prototype.ma=function(){this.li(e.Ta)};return e});
define("gb",["cE","gW","ck","df"],function(a,b,c,f){a=b.extend(c,function(){c.call(this)});f.v("GridContainer",a).A("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("fN","require,cE,jquery.mod,bF,dQ,iX,eQ,hy,gz,fk,gW".split(","),function(a){function b(){}function c(a){this.Mka=a;this.Ui=[];this.Fe=0}var f=a("cE");a("jquery.mod");var e=a("bF"),d=a("dQ"),h=a("iX"),k=a("eQ"),i=a("hy"),n=a("gz"),g=a("fk"),l=a("gW").extend(d,function(a){d.call(this);this.url=a;this.JR=this.Fe=0;this.status=l.sI;this.Kn=q});l.prototype.vR=function(a){this.JR=this.JR+a};l.prototype.Bv=function(a){this.Fe=this.Fe+a};l.prototype.start=function(){this.status=l.uB;n.g5(this.url)?
this.Co():this.ti=g.add(this.url,k.XA,this.qea.bind(this),this.wV.bind(this))};l.prototype.qea=function(){this.Kn=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.Kn.open("GET",this.url);this.Kn.onreadystatechange=function(){this.Kn.readyState>3&&this.Co()}.bind(this);this.Kn.send()};l.prototype.wV=function(){if(this.Kn){this.Kn.abort();this.Kn=q}};l.prototype.stop=function(){if(this.status==l.uB){this.status=l.sI;this.wV();this.ti&&this.ti.cancel()}};l.prototype.Co=
function(){this.Kn=q;if(this.ti){this.ti.loaded();this.ti=q}this.status=l.m6;this.trigger(new e(h.O))};l.sI="not loaded";l.uB="loading";l.m6="loaded";c.prototype.Vha=function(a){a.forEach(function(a){if(this.Ui.indexOf(a)<0){this.Ui.push(a);a.Bv(this.Fe);a.vR(1)}}.bind(this))};c.prototype.Tka=function(a){var b=this.Ui;this.Ui=[];b.forEach(function(b){if(a.indexOf(b)<0)this.Ui.push(b);else{b.Bv(-this.Fe);b.vR(-1)}}.bind(this))};c.prototype.Oka=function(){this.Ui.forEach(function(a){a.Bv(-this.Fe);
a.vR(-1)}.bind(this));this.Ui=[];this.Fe=0};c.prototype.Bv=function(a){this.Fe=this.Fe+a;this.Ui.forEach(function(b){b.Bv(a)})};b.ac=[];b.M_=[];b.q$=0;b.p2=function(a,b){this.CE(a).Vha(b.map(function(a){return this.F(a)}.bind(this)));this.fF();this.L()};b.Wka=function(a,b){this.CE(a).Tka(b.map(function(a){return this.F(a)}.bind(this)));this.fF();this.L()};b.Pka=function(a){this.CE(a).Oka();this.fF();this.L()};b.FG=function(a,b){this.CE(a).Bv(b);this.fF();this.L()};b.fF=function(){this.ac.sort(function(a,
b){return b.Fe-a.Fe})};b.L=function(a){if(this.enabled()&&(a||!this.ll))if(a){this.ll&&clearTimeout(this.ll);this.ll=q;var a=this.Z$(),b=this.$$();f(a).difference(b).forEach(function(a){a.stop()});f(b).difference(a).forEach(function(a){a.start()})}else this.ll=setTimeout(function(){this.ll=q;this.L(o)}.bind(this),1E3)};b.ll=q;b.Z$=function(){return this.ac.filter(function(a){return a.status==l.uB})};b.$$=function(){for(var a=this.aaa(),b=[],d=0;d<this.ac.length&&b.length<a;d++){var c=this.ac[d];c.JR>
0&&(c.status==l.sI||c.status==l.uB)&&b.push(c)}return b};b.aaa=function(){return this.q$>0?0:1};b.CE=function(a){var b=f(this.M_).find(function(b){return b.Mka==a});if(!b){b=new c(a);this.M_.push(b)}return b};b.F=function(a){var b=f(this.ac).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(h.O,this.L,this);this.ac.push(b)}return b};b.enabled=function(a){if(a===m)return b.D9||b.E9?z:b.VK!==m?b.VK:b.ba;b.ba=a};b.ba=o;b.lS=function(a){b.VK=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
b.VK=m;b.E9=i.sn("disable-background-preload",z);b.D9=z;return b});define("cJ",["gW","ho","df","fN"],function(a,b,c,f){var e=a.extend(b,function(){b.call(this);this.IP=a.Cn(this.IP,this)});c.v("Media",e).A("Object").K({label:"string",thumbnailUrl:"string"}).qk(["thumbnailUrl"]);e.prototype.IP=function(){f.p2(this,this.wn())};e.prototype.wn=function(){return[]};e.prototype.Vka=function(){f.Pka(this)};e.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.IP()};return e});
define("fn",["require","cE","gW","df","cJ"],function(a){a("cE");var b=a("gW"),c=a("df"),f=a("cJ"),a=b.extend(f,function(){f.call(this);this.oD=this.Du=m});c.v("Panorama",a).A("Media").K({adjacentPanoramas:"array[AdjacentPanorama]",audios:"array[PanoramaAudio]",cardboardMenu:"Menu",flipImageHorizontally:"bool",frames:"array[PanoramaFrame]",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.BL();case "frames":return this.N$()}return f.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){switch(a){case "cardboardMenu":this.set("vrMenu",b)}f.prototype.set.call(this,a,b)};a.prototype.BL=function(){var a=f.prototype.get.call(this,"overlays");a||(a=[]);return this.SO(a)};a.prototype.SO=function(a){if(this.Du===m||this.oD!=a){var b=function(a){return c.qb("PopupPanoramaOverlay",a)},f=function(a){return c.qb("LensFlarePanoramaOverlay",
a)};this.oD=a;this.Du=[].concat(a.filter(function(a){return!(b(a)||f(a))}),a.filter(f),a.filter(b))}return this.Du};a.prototype.A3=function(){return 0<this.get("overlays").filter(function(a){return c.qb("TripodCapPanoramaOverlay",a)}).length};a.prototype.p3=function(){return 0<this.get("overlays").filter(function(a){return c.qb("CeilingCapPanoramaOverlay",a)}).length};a.prototype.L3=function(){if(!this.K3())return z;var a=this.get("pitch",0),b=this.get("vfov",180);if(179.9<=b)return o;var c=this.p3()?
90:a+0.5*b,a=this.A3()?-90:a-0.5*b;return 179.9<=c-a?o:z};a.prototype.K3=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.T2=R(0);a.prototype.N$=function(){var a=f.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.$ha(this)}.bind(this));return a};return a});
define("ig",["require","gW","df","fn"],function(a){var b=a("gW"),c=a("df"),f=a("fn"),a=b.extend(f,function(){f.call(this)});c.v("HDRPanorama",a).A("Panorama").K({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.T2=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("hr",["gW","ho","df","iX"],function(a,b,c,f){a=a.extend(b,function(){b.call(this)});c.v("HotspotMapOverlayArea",a).A("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",useHandCursor:"bool"}).Yb([f.ed,f.Cc]).Zi([f.S]);return a});
define("hs",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),f=b.extend(c,function(){c.call(this)});a.v("ImageResourceLevel",f).A("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]]"}).qk(["url"]);f.prototype.get=function(a,b){switch(a){case "tags":var h=c.prototype.get.call(this,a);h||(h=[]);Array.isArray(h)||(h=[h]);0>h.indexOf(f.Ul)&&
c.prototype.get.call(this,"grayscale")&&(h=h.concat([f.Ul]));return h}return c.prototype.get.call(this,a,b)};f.prototype.z3=function(a){return 0<=this.get("tags").indexOf(a)};f.Ul="preload";f.PT="mobile";f.OT="ipadpro";f.QT="mobilevr";f.vI="ondemand";return f});
define("dL",["require","hs","p","hy"],function(a){var b=a("hs"),c=a("p"),f=a("hy");return{jk:function(a){return this.nv(a,"load")},ts:function(a){return this.nv(a,"preload")},uv:function(a){return this.jk(a)!=this.ts(a)},nv:function(a,b){var c=a.get("levels")||[],f=this.x$(c),f=this.paa(b,f),c=this.e$(c,b),i=this.pX(c,f[0],f[1],this.naa(b));i||(i=this.pX(c,f[0],f[1],m));return i},e$:function(a,d){"preload"==d?a=this.CC(a,b.Ul):"load"==d&&(a=this.d$(a,b.Ul));c.Ap()&&(a=this.CC(a,b.OT));c.Lf()&&(a=
this.CC(a,b.QT));c.lb()&&(a=this.CC(a,b.PT));return a},x$: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")},paa:function(a,b){if("preload"==a)return[0,0];var f=1E4;this.j$()||(c.Lf()?f=2048:c.Ap()?f=1280:c.lb()&&(f=1024));return 1>b?[f*b,f]:[f,f/b]},naa:function(a){if("load"==a)return z},j$:function(){return c.Ap()&&f.sn("recent_ipad_use_max_res",z)},CC:function(a,b){var c=a.filter(function(a){return a.z3(b)});
0==c.length&&(c=a);return c},d$:function(a,b){var c=a.filter(function(a){return!a.z3(b)});0==c.length&&(c=a);return c},pX:function(a,b,c,f){function i(a){return Math.abs(a.get("width")*a.get("height")-b*c)}a=a.filter(function(a){return f!==m&&f!=a.get("grayscale",z)?z:o});if(0==a.length)return q;a.sort(function(a,b){return i(a)-i(b)});return a[0]}}});
define("v","require,gW,ho,df,dL,hW,hu".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("df"),e=a("dL"),d=a("hW"),h=a("hu"),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",h.jq);this.set("horizontalAlign",d.bd);this.set("verticalAlign",d.Uc)});f.v("HotspotMapOverlayImageBase",a).A("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.jk=function(){return this.get("image")?e.jk(this.get("image")):q};a.prototype.ts=function(){return this.get("image")?e.ts(this.get("image")):q};return a});define("gX",["gW","bF"],function(a,b){return a.extend(b,function(a,f){b.call(this,a);this.Vg=f})});
define("by",["require","gW","ho","iX","gX"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),e=a("gX"),a=b.extend(c,function(){c.call(this);this.Dz=[];this.fd=m;this.k="initial"});a.prototype.kk=P("Dz");a.prototype.Z4=function(a){this.Dz!=a&&(this.Dz=a,this.Co=this.fd=m)};a.prototype.Vla=function(a){this.fd!==a&&(this.k="loading",this.fd=a,this.trigger(new e(f.$b,this.fd)))};a.prototype.bS=function(){"loaded"!==this.k&&(this.k="loaded",this.trigger(f.O))};a.prototype.yla=function(){"loaded"!==this.k&&
(this.k="error",this.trigger(f.dd))};return a});define("ce",["gW","by"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.Ve=a});c.prototype.Kf=P("Ve");c.XT="map";c.YT="overlay";return c});define("gf",["gW","ce"],function(a,b){var c=a.extend(b,function(a,c,d){b.call(this,b.YT);this.jda=a;this.Z=c;this.$=d});c.prototype.Rg=P("Z");c.prototype.Sg=P("$");c.WT="image";c.VT="fov";return c});
define("hp",["gW","gf"],function(a,b){var c=a.extend(b,function(a,c,d,h,k,i,n,g,l,r,p){b.call(this,b.WT,c,d);this.vb=a;this.e0=h;this.Ho=k;this.Io=i;this.M=n;this.aa=g;this.yc=l;this.yg=r;this.Mg=p;this.Dz=[a]});c.prototype.Ee=P("vb");c.prototype.Ac=P("M");c.prototype.kd=P("aa");return c});
define("er","require,gW,df,v,dL,hp".split(","),function(a){var b=a("gW"),c=a("df"),f=a("v");LevelUtil=a("dL");ImageOverlay=a("hp");a=b.extend(f,function(){f.call(this);this.Bo=m});c.v("HotspotMapOverlayImage",a).A("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Kc()};a.prototype.Kc=function(a){if(this.Bo===m)this.Bo=this.YF(a);return this.Bo};a.prototype.YF=function(a){var b=this.get("image");if(b){b=LevelUtil.jk(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("y",["require","gW","df","v"],function(a){var b=a("gW"),c=a("df"),f=a("v"),a=b.extend(f,function(){f.call(this)});c.v("HotspotMapOverlayMap",a).A("HotspotMapOverlayImageBase");return a});
define("dO","require,gW,ho,iX,df,gt".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("iX"),e=a("df"),d=a("gt"),a=b.extend(c,function(){c.call(this);this.Gd=m});e.v("HotspotPanoramaOverlayImageBase",a).A("Object").K({yaw:"number",pitch:"number",roll:"number",rotationX:"number",rotationY:"number",hfov:"number",vfov:"number",distance:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).Yb([f.tf,
f.og]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Gd===m)this.Gd=d.qG(this);return this.Gd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "playbackPositions":this.Gd=m;d=o}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(f.Ca("playbackPositions"))};return a});
define("hh",["require","gW","df","dO"],function(a){var b=a("gW"),c=a("df"),f=a("dO"),a=b.extend(f,function(){f.call(this)});c.v("HotspotPanoramaOverlayImage",a).A("HotspotPanoramaOverlayImageBase");return a});define("I",["require","gW","df","dO"],function(a){var b=a("gW"),c=a("df"),f=a("dO"),a=b.extend(f,function(){f.call(this)});c.v("HotspotPanoramaOverlayMap",a).A("HotspotPanoramaOverlayImageBase");return a});
define("gY",[],function(){function a(a){for(var b={},a=a.split(","),d=0;d<a.length;d++)b[a[d]]=o;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_]*)[^>]*>/,f=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,e=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),d=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"),
h=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"),k=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),i=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),n=a("script,style");return function(a,l){function r(a,b,c,g){b=b.toLowerCase();if(d[b])for(;u.last()&&h[u.last()];)p(0,u.last());k[b]&&
u.last()==b&&p(0,b);(g=e[b]||!!g)||u.push(b);if(l.start){var n=[];c.replace(f,function(a,b,d,c,g){a=d?d:c?c:g?g:i[b]?b:"";n.push({name:b,value:a,FQ:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,n,g)}}function p(a,b){if(b){b=b.toLowerCase();for(d=u.length-1;0<=d&&u[d]!=b;d--);}else var d=0;if(0<=d){for(var c=u.length-1;c>=d;c--)l.end&&l.end(u[c]);u.length=d}}var s,t,u=[],v=a;for(u.last=function(){return this[this.length-1]};a;){t=o;if(!u.last()||!n[u.last()]){if(0==a.indexOf("<\!--"))s=a.indexOf("--\>"),
0<=s&&(l.oia&&l.oia(a.substring(4,s)),a=a.substring(s+3),t=z);else if(0==a.indexOf("</")){if(s=a.match(c))a=a.substring(s[0].length),s[0].replace(c,p),t=z}else if(0==a.indexOf("<")&&(s=a.match(b)))a=a.substring(s[0].length),s[0].replace(b,r),t=z;t&&(s=a.indexOf("<"),t=0>s?a:a.substring(0,s),a=0>s?"":a.substring(s),l.Uz&&l.Uz(t))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.Uz&&l.Uz(b);return""}),p(0,
u.last());a==v&&j("Parse Error: "+a);v=a}p()}});
define("ds","require,jquery.mod,cE,gW,iX,bF,dQ,p,gY".split(","),function(a){var b=a("jquery.mod");a("cE");var c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),h=a("p"),k=a("gY"),i=c.extend(d,function(a){d.call(this);this.tc=b(a);this.Ny=[];this.eo=q});i.prototype.Tja=function(a){a&&a.toLowerCase().indexOf("<script")>=0?h.Yu()==h.Wv?this.fba(a):this.eba(a):this.dba(a)};i.prototype.dba=function(a){this.tc.empty();a&&this.tc.append(a);this.sF()};i.prototype.fba=function(a){this.tc.empty();var d=this.tc,c=q,e=
[],i=q;new k(a,{start:function(a,e,f){if(a=="script"){for(var f=m,h=0;h<e.length&&f===m;h++){var k=e[h];if(k.name=="src")f=k.value}i={parent:d,previousSibling:c,src:f,content:""}}else{for(var n={},h=0;h<e.length;h++){k=e[h];n[k.name]=k.value}e=b("<"+a+"/>");e.attr(n);d.append(e);if(f)c=e;else{d=e;c=q}}},Uz:function(a){i?i.content=i.content+a:d.append(a)},end:function(a){if(a=="script"){e.push(i);i=q}else{c=d;d=d.parent()}}});this.Ny=e;this.sD()};i.prototype.eba=function(a){function d(){i++;return e+
i}this.tc.empty();var e="fragment_"+c.r4(6)+"_",i=0,f=d(),h=[f],t=m,u=[],v=q,w="";new k(a,{start:function(a,b,c){if(a=="script"){c=m;for(a=0;a<b.length&&c===m;a++){var e=b[a];if(e.name=="src")c=e.value}v={parentClsName:h[h.length-1],previousSiblingClsName:t,src:c,content:""}}else{w=w+("<"+a);for(var i=d(),f=z,a=0;a<b.length;a++){e=b[a];if(e.name=="class"){e.FQ=e.FQ+(" "+i);f=o}w=w+(" "+e.name+'="'+e.FQ+'"')}f||(w=w+(' class="'+i+'"'));if(c){w=w+"/>";t=i}else{w=w+">";h.push(i);t=m}}},Uz:function(a){v?
v.content=v.content+a:w=w+a},end:function(a){if(a=="script"){u.push(v);v=q}else{t=h[h.length-1];h.pop()}}});this.tc.get(0).innerHTML=w;this.tc.addClass(f);for(a=0;a<u.length;a++){var y=u[a],A=y.parentClsName;delete y.parentClsName;t=y.previousSiblingClsName;delete y.previousSiblingClsName;y.parent=b("."+A);y.previousSibling=t?b("."+t):q}this.tc.removeClass(f);this.Ny=u;this.sD()};i.prototype.sD=function(){if(!this.eo)if(this.Ny.length>0){this.eo=this.Ny[0];this.Ny.splice(0,1);var a=this.eo.src;if(a){var d=
this;i.Iba(a,function(){d.pY()},function(){d.Nba()})}else{var c=this.eo.parent,a=this.eo.previousSibling,e;e=a?a.next():c.children(":first");a=document.write;document.write=e.length?function(a){e.before(a)}:function(a){c.append(a)};b.globalEval(this.eo.content);document.write=a;this.pY()}}else this.sF()};i.prototype.Nba=function(){this.eo=q;this.sD()};i.prototype.pY=function(){this.eo=q;this.sD()};i.prototype.sF=function(){this.trigger(new e(f.qa))};i.nY={};i.Iba=function(a,d,c){i.nY[a]?d.call(window):
b.ajax({url:a,async:z,dataType:"script",error:c,success:function(){i.nY[a]=o;d.call(window)}})};return i});
define("hL",["gW","iX","bF","dQ"],function(a,b,c,f){a=a.extend(f,function(a,b){f.call(this);this.nba=a;this.ba=b;this.Ji=q});a.prototype.bind=function(){var a=f.prototype.bind.apply(this,arguments);this.zz();return a};a.prototype.unbind=function(){var a=f.prototype.unbind.apply(this,arguments);this.zz();return a};a.prototype.start=function(){this.ba=o;this.zz()};a.prototype.stop=function(){this.ba=z;this.zz()};a.prototype.eN=function(){this.trigger(new c(b.hc))};a.prototype.zz=function(){if(this.ba&&
this.o3(b.hc)){if(this.Ji==q){var a=this;this.Ji=setTimeout(function(){a.Ji=q;a.eN();a.zz()},this.nba)}}else this.Ji!=q&&(clearTimeout(this.Ji),this.Ji=q)};return a});
define("gU","require,jquery.mod,cE,gW,iX,fd,hW,d,ds,cU,hL".split(","),function(a){var b=a("jquery.mod"),c=a("cE"),f=a("gW"),e=a("iX"),d=a("fd"),h=a("hW"),k=a("d"),i=a("ds"),n=a("cU"),a=a("hL"),g=f.extend(k,function(){k.call(this);this.Ic("HTML");this.Fq=g.BB;this.x_=this.y_=0;this.M0=(new Date).getTime();this.vC=this.xf=q;this.ct=this.ct.bind(this);this.ZI=[]});g.prototype.ma=function(){k.prototype.ma.call(this);this.f("content");this.f("horizontalAlign",h.xa);this.f("verticalAlign",h.Uc);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)};g.prototype.hp=function(a){this.la&&d.get(this.la).Qka(this.ct);k.prototype.hp.call(this,a);if(this.la){d.get(this.la).Tha(this.ct);d.get(this.la).av(this.ct)}};g.prototype.Ga=function(){k.prototype.Ga.call(this);
if(!this.vC){this.xf=document.createElement("div");this.vC=b(this.xf);this.GK({position:"absolute",display:"inline",left:0,top:0,cursor:"default","box-sizing":"border-box"});var a=this.Ka();a.NA(z);a.append(this.vC);this.MX=new i(this.vC);this.MX.bind(e.qa,this.Uaa,this,o);this.bind(e.hb,this.NX,this)}};g.prototype.ca=function(){var a={},b=z;this.m("visible")&&(b=o);if(this.m("content")){this.MX.Tja(this.j("content"));this.o("content");b=o}if(this.m("fontFamily")){b=this.j("fontFamily");c(b).isString()||
(b="");a.fontFamily=n.ns(b);this.o("fontFamily");b=o}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=o}if(this.m("fontColor")){b=this.j("fontColor");c(b).isString()||(b="");a.color=b;this.o("fontColor");b=o}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=o}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=o}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=o}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=o}var d=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(c(d).any(function(a){return this.m(a)},this)){var g={};c(d).each(function(a){g[a]=this.j(a);this.o(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[g.textShadowHorizontalLength+"px",g.textShadowVerticalLength+"px",g.textShadowBlurRadius+"px","rgba("+parseInt("0x"+g.textShadowColor.substr(1,2))+
", "+parseInt("0x"+g.textShadowColor.substr(3,2))+", "+parseInt("0x"+g.textShadowColor.substr(5,2))+", "+g.textShadowOpacity+")"].join(" ");d=g.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(g.textShadowHorizontalLength,-g.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*g.textShadowOpacity).toString(16)).slice(-2)+g.textShadowColor.substr(1,6)+",direction="+d+")"}c(["paddingTop","paddingRight",
"paddingBottom","paddingLeft"]).any(function(a){return this.m(a)},this)&&(b=o);this.GK(a);b&&this.FY();k.prototype.ca.call(this)};g.prototype.FY=function(){this.NX();this.Fa();this.j("visible")&&this.j("content")?this.Qy(g.fU):this.Qy(g.BB)};g.prototype.op=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;k.prototype.op.call(this,a,!b)};g.prototype.Jm=function(){k.prototype.Jm.call(this);var a=this.Ka();this.Eg=this.xf.clientWidth+a.mv()+a.qv();this.Dg=this.xf.clientHeight+
a.rv()+a.gv()};g.prototype.y0=function(a){if(this.DL()!=a){this.xf.style.paddingLeft=a+"px";this.Fa()}};g.prototype.DL=function(){return parseInt(this.xf.style.paddingLeft)||0};g.prototype.A0=function(a){if(this.FL()!=a){this.xf.style.paddingTop=a+"px";this.Fa()}};g.prototype.FL=function(){return parseInt(this.xf.style.paddingTop)||0};g.prototype.z0=function(a){if(this.EL!=a){this.xf.style.paddingRight=a+"px";this.Fa()}};g.prototype.EL=function(){return parseInt(this.xf.style.paddingRight)||0};g.prototype.x0=
function(a){if(this.CL()!=a){this.xf.style.paddingBottom=a+"px";this.Fa()}};g.prototype.CL=function(){return parseInt(this.xf.style.paddingBottom)||0};g.prototype.Uaa=function(){this.ZI=Array.prototype.slice.call(this.xf.querySelectorAll("*[style]")).map(function(a){var b={};b.Eia=a;b.style=a.getAttribute("style");return b}).filter(function(a){return l.test(a.style)}).map(function(a){for(var b=a.style,d=[];;){var c=l.exec(b);if(c){d.push(function(a){return function(){return a}}(b.substr(0,c.index+
1)));d.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,d){return Math.round(d*a)+"px"};case "vmin":return function(b,d,c){return Math.round(c*a)+"px"};case "vmax":return function(b,d,c){return Math.round(c*a)+"px"}}}(parseFloat(c[1]),c[3].toLowerCase()));b=b.substr(c.index+c[0].length)}else{d.push(function(a){return function(){return a}}(b));a.functions=d;return a}}});this.la&&d.get(this.la).av(this.ct)};g.prototype.ct=function(a,
b,d,c){if(this.ZI.length!=0){this.ZI.forEach(function(g){var e=g.functions.map(function(g){return g(a,b,d,c)}).join("");g.Eia.setAttribute("style",e)});this.FY()}};g.prototype.NX=function(){var a={width:"auto",height:"auto"},b=this.Ka();if(!this.EX()){this.Eg!=this.M&&this.Fa();var d=this.M-(b.mv()+b.qv());d>0&&(a.width=d+"px")}if(!this.DX()){this.Dg!=this.aa&&this.Fa();b=this.aa-(b.rv()+b.gv());b>0&&(a.height=b+"px")}this.GK(a)};g.prototype.TY=function(){var a=this.xf.clientWidth,b=this.xf.clientHeight;
if(this.y_!=a||this.x_!=b){this.y_=a;this.x_=b;this.Fa();this.Qy(g.fU)}else{a=(new Date).getTime()-this.M0;a>g.O6?this.Qy(g.D6):a>g.N6&&this.Qy(g.C6)}};g.prototype.hea=function(){this.M0=(new Date).getTime()};g.prototype.Qy=function(a){this.Fq==g.fna&&this.hea();if(this.Fq!=a){this.Fq!=g.BB&&g.DV[this.Fq].unbind(e.hc,this.TY,this);this.Fq=a;this.Fq!=g.BB&&g.DV[this.Fq].bind(e.hc,this.TY,this,o)}};g.prototype.GK=function(a){var b=this.xf.style,d;for(d in a)b[d]=a[d]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
g.BB="stopped";g.D6="slow";g.C6="normal";g.fU="fast";g.O6=3E4;g.N6=5E3;g.DV={slow:new a(2E3,o),normal:new a(500,o),fast:new a(100,o)};return g});
define("gp",["gW","gU","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("HTML",a).A("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"}).In(["fontSize"]);return a});define("b",["cE","gW","iI","c"],function(a,b,c,f){var e=b.extend(c,function(){c.call(this)});e.Ta={layout:f.AS};a.defaults(e.Ta,c.Ta);e.prototype.ma=function(){this.li(e.Ta)};return e});
define("fs",["gW","eK","b","gU"],function(a,b,c,f){a=a.extend(c,function(){c.call(this);this.Ht=q;this.set("contentOpaque",o)});a.prototype.ma=function(){c.prototype.ma.call(this);this.f("overflow",b.Ck);this.f("html")};a.prototype.Ga=function(){c.prototype.Ga.call(this);this.Ht==q&&(this.Ht=new f,this.Ht.P({left:0,width:"100%"}),this.pa(this.Ht))};a.prototype.ca=function(){this.m("html")&&(this.Ht.set("content",this.j("html")),this.o("html"));this.Sa(["paddingLeft","paddingTop","paddingRight","paddingBottom"],
{},[this.Ht],o,o);c.prototype.ca.call(this)};return a});define("Z",["require","gW","fs","df"],function(a){var b=a("gW"),c=a("fs"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("HTMLText",b).A("UIComponent").K({html:"string",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]"});return b});
define("gn","require,jquery.mod,gW,iX,bF,hy,ew,L,hu,ej,cD,hH".split(","),function(a){function b(a,b,d){return function(c){var g;g=b=="mouse"?this.Zq(c):this.ex(c);this.cY(g)?a.call(this,c):d=="release"?a.call(this,c):this.r$(g,c)}}var c=a("jquery.mod"),f=a("gW"),e=a("iX"),d=a("bF"),h=a("hy"),k=a("ew"),i=a("L"),n=a("hu"),g=a("ej"),l=a("cD"),r=a("hH"),p=h.Tg("debug"),a=f.extend(r,function(){r.call(this,3);this.set("autoRolledOver",o);this.set("autoPressed",o);this.set("cursor",i.Od);this.set("scaleMode",
n.Ie);this.PJ=document.createElement("canvas");this.PJ.width=1;this.PJ.height=1;this.QJ=this.PJ.getContext("2d");this.QJ.globalCompositeOperation="copy";this.eL=z;this.bind(e.Cc,this.Yaa,this)});a.prototype.ma=function(){r.prototype.ma.call(this);this.f("buttonGroup");this.f("mode",l.pc);this.f("pressed");this.f("iconURL");this.f("transparencyActive");this.h("rollOverOpacity",g.q,"opacity");this.h("rollOverIconURL",g.q,"iconURL");this.h("pressedOpacity",g.sa,"opacity");this.h("pressedIconURL",g.sa,
"iconURL");this.h("pressedRollOverOpacity",g.Na,"opacity");this.h("pressedRollOverIconURL",g.Na,"iconURL")};a.prototype.kL=b(r.prototype.kL,"touch","capture");a.prototype.MW=b(r.prototype.v$,"touch");a.prototype.OW=b(r.prototype.v$,"touch","release");a.prototype.qP=b(r.prototype.qP,"touch","capture");a.prototype.pP=b(r.prototype.pP,"touch");a.prototype.op=b(r.prototype.op,"touch","release");a.prototype.OM=b(r.prototype.OM,"mouse","capture");a.prototype.PM=function(a){var b=this.Zq(a);if(this.cY(b)||
this.eL){r.prototype.PM.call(this,a);this.set("cursor",i.Od)}else{this.eL=o;if(b=this.iX(b)){c(b).trigger(this.PV(a));a.preventDefault();a.stopImmediatePropagation()}this.eX(b)=="pointer"?this.set("cursor",i.Od):this.set("cursor",i.hc);this.eL=z}};a.prototype.Yaa=function(){this.set("cursor",i.Od)};a.prototype.GD=b(r.prototype.GD,"mouse","release");a.prototype.cY=function(a){if(!this.bb)return z;var b=this.bb.offset(),d=a.k4-b.left,c=this.bb.width(),a=a.l4-b.top,b=this.bb.height();if(d>=0&&a>=0&&
d<c&&a<b){if(this.get("transparencyActive")||p)return o;d=d*this.au/c;c=a*this.$t/b;this.QJ.drawImage(this.bb.get(0),d,c,1,1,0,0,1,1);if(this.QJ.getImageData(0,0,1,1).data[3]>0)return o}return z};a.prototype.r$=function(a,b){var d=this.iX(a);if(d){c(d).trigger(this.PV(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.iX=function(a){var b=this.Mk(),d=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.k4,a.l4);setTimeout(function(){b.style.pointerEvents=
d},0);return a};a.prototype.PV=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.eX=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.eX(a.parentElement))}else b="default";return b};a.prototype.Cw=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new d(e.ci))}else{this.set("pressed",
o);this.trigger(new d(e.pg))}};a.prototype.ca=function(){var a=z;if(this.m("backgroundOpacityy")||this.m("backgroundColor"))a=o;if(this.m("iconURL")){this.set("url",this.j("iconURL"));this.o("iconURL")}var b=z;if(this.m("mode")){if(this.j("mode")==l.pc){this.unbind(e.S,this.Cw,this,o);this.set("autoPressed",o)}else{this.bind(e.S,this.Cw,this,o);this.set("autoPressed",z)}this.o("mode");b=o}if(b||this.m("pressed"))this.j("mode")==l.di?this.Au(this.j("pressed")==o):b&&this.Au(z);if(this.m("buttonGroup")){(b=
this.j("buttonGroup"))?k.register(this,b):k.VA(this);this.o("buttonGroup")}r.prototype.ca.call(this);if(a){a=this.ab();if(a.Si()==0||a.Hq.length==0){a.Vh(0.001);a.E4(["#000000"])}}};return a});
define("eJ",["gW","gn","df","iX"],function(a,b,c,f){a=a.extend(b,function(){b.call(this)});c.v("IconButton",a).A("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"}).qk(["iconURL","rollOverIconURL",
"pressedIconURL"]).Yb([f.pg,f.ci]).Zi([f.S]);return a});define("if",["gW","df","fe"],function(a,b,c){a=a.extend(c,function(){c.call(this,z)});b.v("IconHotspotMapOverlay",a).A("HotspotMapOverlay");return a});
define("iH",["gW","hH","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("Image",a).A("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]"}).qk(["url"]);return a});
define("fD",["gW","fx","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("Label",a).A("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"}).In(["fontSize"]);return a});define("bh",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this);this.set("bleaching",0);this.set("bleachingDistance",0.4)});a.v("LensFlarePanoramaOverlay",b).A("PanoramaOverlay").K({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});return b});
define("iL",["require","gW","df","fn"],function(a){var b=a("gW"),c=a("df"),f=a("fn"),a=b.extend(f,function(){f.call(this)});c.v("LivePanorama",a).A("Panorama").K({frameDisplayTime:"number",frameTransitionTime:"number"});return a});
define("bT",["gW","ce"],function(a,b){var c=a.extend(b,function(a,c,d,h,k,i){b.call(this,b.XT);this.vb=a;this.M=c;this.aa=d;this.yc=h;this.dL=k;this.Vj=i.slice()});c.prototype.kk=function(){for(var a=[this.vb],b=0;b<this.Vj.length;b++)a=a.concat(this.Vj[b].kk());return a};c.prototype.Ee=P("vb");c.prototype.Ac=P("M");c.prototype.kd=P("aa");return c});
define("ic","require,cE,gW,df,hu,cJ,dL,bT".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("df"),e=a("hu"),d=a("cJ"),h=a("dL"),k=a("bT"),a=c.extend(d,function(){d.call(this);this.Bo=this.LN=m});f.v("Map",a).A("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.uv=function(){return!(!this.get("image")||!h.uv(this.get("image")))};a.prototype.ts=function(){return this.get("image")&&h.ts(this.get("image"))};a.prototype.jk=function(){return this.get("image")&&h.jk(this.get("image"))};a.prototype.c3=function(){if(this.LN==m)this.LN=this.uv()?new k(this.ts().get("url"),this.get("width"),
this.get("height"),this.get("scaleMode",e.Up),this.get("flipImageHorizontally",z),[]):q;return this.LN};a.prototype.Kc=function(){if(this.Bo==m)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.lja()}));this.Bo=new k(this.jk().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",e.Up),this.get("flipImageHorizontally",z),a)}else this.Bo=q;return this.Bo};a.prototype.wn=function(){return[].concat(this.MC(this.c3()),this.MC(this.Kc()))};
a.prototype.MC=function(a){return a?a.kk():[]};return a});define("gM",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("MapOverlay",a).A("Object");return a});
define("hR","gW,cE,iX,bF,dQ,cD".split(","),function(a,b,c,f,e,d){a=a.extend(e,function(a,b,i){e.call(this);this.SV=a;this.Ida=b;this.hV=i||d.pc;this.Sf=[];this.Xn={};this.Xn.mode=this.hV;this.hV==d.di&&(this.Xn.pressed=z);this.SV.bind(c.Ca(b),this.I_,this);this.I_()});a.prototype.I_=function(){var a=this.SV.get(this.Ida);a||(a=[]);b.isArray(a)||(a=[a]);this.Oea(a)};a.prototype.Oea=function(a){var d=b.difference(this.Sf,a);b(d).each(function(a){a.unbind(c.pg,this.nV,this,o);a.unbind(c.ci,this.oV,this,
o);a.unbind(c.S,this.gV,this,o);a.unbind(c.mb,this.iV,this,o);a.unbind(c.Eb,this.jV,this,o)},this);d=b.difference(a,this.Sf);b(d).each(function(a){a.P(this.Xn);a.bind(c.pg,this.nV,this,o);a.bind(c.ci,this.oV,this,o);a.bind(c.S,this.gV,this,o);a.bind(c.mb,this.iV,this,o);a.bind(c.Eb,this.jV,this,o)},this);this.Sf=a};a.prototype.nV=function(){this.trigger(new f(c.pg))};a.prototype.oV=function(){this.trigger(new f(c.ci))};a.prototype.gV=function(){this.trigger(new f(c.S))};a.prototype.iV=function(){this.trigger(new f(c.mb))};
a.prototype.jV=function(){this.trigger(new f(c.Eb))};a.prototype.set=function(a,d){this.Xn[a]=d;b(this.Sf).each(function(a){a.P(this.Xn)},this)};return a});
define("dT","require,cE,gW,iX,bF,ej,L,b,d,im,iA".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("ej"),h=a("L"),k=a("b"),i=a("d");a("im");a("iA");var n=c.extend(k,function(){k.call(this);this.Ic("PlaybackBar");this.Ig=this.fd=q;this.we=[];this.uE=z;this.DN=this.Cr=m;this.bP=z});n.Ta={cursor:h.Od,overflow:"visible",height:20,position:0,duration:100,steps:m,selectedStep:m,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:m,barBackgroundColorRatios:m,
barBorderColor:m,barBorderRadius:m,barBorderSize:m,barOpacity:m,liveDragging:m,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:m,playheadBackgroundColorRatios:m,playheadBorderColor:m,playheadBorderRadius:m,playheadBorderSize:m,playheadOpacity:m,playheadWidth:5,playheadHeight:30,playheadShadow:o,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:m,playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",
stepBackgroundColorDirection:m,stepBackgroundColorRatios:m,stepBorderColor:m,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:o,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:m,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:m,selectedStepBackgroundColorRatios:m,selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,
selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:o,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:m,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(n.Ta,k.Ta);n.prototype.ma=function(){this.li(n.Ta)};n.prototype.Ga=function(){k.prototype.Ga.call(this);(!this.fd||!this.Ig)&&this.bind(f.hb,this.wda,this,o);if(this.fd==q){this.fd=new i;this.fd.P({left:"0",height:"100%",
cursor:h.Od});this.pa(this.fd)}if(this.Ig==q){this.Ig=new i;this.Ig.P({left:"0",cursor:h.Od});this.Ig.bind(f.hb,this.zda,this,o);this.Ig.bind(f.mb,this.xda,this,o);this.$a().bind(f.oc,this.o_,this,o);this.bind(f.S,this.uda,this,o);this.Ig.bind(f.Eb,this.yda,this,o);this.pa(this.Ig)}var a=this.get("steps")||0;if(this.we.length!=a){for(;this.we.length>a;)this.C9(this.we.pop());for(;this.we.length<a;)this.we.push(this.u9());this.Sa(n.CU,n.KI,this.we,z,o);this.R1();this.LP();this.Xi(this.Ig,this.Ma().length-
1)}};n.prototype.u9=function(){var a=new g;a.P({cursor:h.Od});a.bind(f.S,this.R0,this,o);a.bind(f.hb,this.S0,this,o);this.pa(a);return a};n.prototype.C9=function(a){a.unbind(f.S,this.R0,this,o);a.unbind(f.hb,this.S0,this,o);this.removeChild(a)};n.prototype.ca=function(){var a=z;if(this.m("position")||this.m("duration")){this.o("position");this.o("duration");a=o}if(this.m("selectedStep")){this.o("selectedStep");this.R1()}if(this.m("steps")){this.o("steps");this.oA()}this.Sa(n.DI,n.kw,[this.fd],o,o);
this.Sa(n.K6,n.yU,[this.Ig],o,o);this.Sa(n.CU,n.KI,this.we,o,o);k.prototype.ca.call(this);a&&this.yF()};n.prototype.R1=function(){var a=this.get("selectedStep");this.we.forEach(function(b,d){b.PA(d===a)});this.Ig.set("visible",a===m)};n.prototype.yF=function(){var a=this.ua(),b=this.Ig.ua(),d=this.Ig.Wa(),c=this.ko(),g=this.kaa(),e=g*a/c,a=Math.round((this.uE?this.Cr:g)*a/c-b*0.5),a=Math.max(0,Math.min(a,this.jd()-b)),b=Math.round(this.hd()*0.5-d*0.5);this.Ig.P({left:a,top:b});this.fd.set("width",
Math.round(e))};n.prototype.zda=function(){this.yF()};n.prototype.xda=function(a){this.uE=o;this.DN=a.pageX;this.Cr=this.j("position")};n.prototype.o_=function(a){if(this.uE){var b=a.pageX-this.DN;this.DN=a.pageX;var a=this.ua(),d=this.ko();this.Cr=Math.max(0,Math.min(d,this.Cr+d*b/a));this.yF();if(this.get("liveDragging")){this.set("position",this.Cr);this.trigger(new e(f.W))}}};n.prototype.yda=function(a){this.o_(a);this.uE=z;if(!this.get("liveDragging")){this.set("position",this.Cr);this.trigger(new e(f.W))}this.Cr=
m};n.prototype.uda=function(a){if(!this.bP){var b=this.ua();this.set("position",this.ko()*a.x/b);this.trigger(new e(f.W))}};n.prototype.S0=function(){this.LP()};n.prototype.wda=function(){this.LP();this.yF()};n.prototype.LP=function(){for(var a=this.ua(),b=this.Wa(),d=this.Z,c=this.getParent().ua()-(d+a),g=0,e=this.we.length;g<e;g++){var i=this.we[g],f=i.ua();i.P({left:g==0&&d==0?0:g==e-1&&c==0?a-f:Math.round(a*g/(e-1)-f*0.5),top:Math.round(b*0.5-i.Wa()*0.5)})}};n.prototype.R0=function(a){a=this.we.indexOf(a.source);
this.set("position",this.ko()*a/(this.we.length-1));this.bP=o;this.trigger(new e(f.W));setTimeout(function(){this.bP=z}.bind(this),0)};n.prototype.ko=function(){var a=this.j("duration");return!a?1:a};n.prototype.kaa=function(){return Math.max(0,Math.min(this.ko(),this.j("position")))};n.kw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};n.DI=b(n.kw).keys();n.yU={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"};n.K6=b(n.yU).keys();n.KI={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"};n.CU=b(n.KI).keys();var g=
c.extend(i,function(){i.call(this)});g.prototype.PA=function(a){this.Ty(a)};g.prototype.ma=function(){i.prototype.ma.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",d.B,"backgroundColor");this.h("selectedBackgroundColorDirection",d.B,"backgroundColorDirection");this.h("selectedBackgroundColorRatios",d.B,"backgroundColorRatios");this.h("selectedBorderColor",d.B,"borderColor");this.h("selectedBorderRadius",d.B,"borderRadius");this.h("selectedBorderSize",d.B,"borderSize");this.h("selectedOpacity",d.B,"opacity");this.h("selectedWidth",d.B,"width");this.h("selectedHeight",d.B,"height");this.h("selectedShadow",d.B,"shadow");this.h("selectedShadowBlurRadius",
d.B,"shadowBlurRadius");this.h("selectedShadowColor",d.B,"shadowColor");this.h("selectedShadowHorizontalLength",d.B,"shadowHorizontalLength");this.h("selectedShadowOpacity",d.B,"shadowOpacity");this.h("selectedShadowSpread",d.B,"shadowSpread");this.h("selectedShadowVerticalLength",d.B,"shadowVerticalLength")};g.prototype.ca=function(){i.prototype.ca.call(this)};return n});
define("t",["cE","gW","b","d"],function(a,b,c,f){var e=b.extend(c,function(){c.call(this);this.Ic("ProgressBar")});e.Ta={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:m,barBackgroundColorRatios:m,barBorderColor:m,barBorderRadius:m,barBorderSize:m,barOpacity:m};a.defaults(e.Ta,c.Ta);e.prototype.ma=function(){this.li(e.Ta)};e.prototype.Ga=function(){c.prototype.Ga.call(this);this.fd==q&&(this.fd=new f,this.fd.P({left:"0",width:"0%",height:"100%"}),this.pa(this.fd))};
e.prototype.ca=function(){this.m("percent")&&(this.fd.set("width",Math.round(this.j("percent"))+"%"),this.o("percent"));this.Sa(e.DI,e.kw,[this.fd],o,o);c.prototype.ca.call(this)};e.kw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};e.DI=a(e.kw).keys();return e});
define("gC",["require","cE","gW","r"],function(a){var b=a("cE"),c=a("gW"),f=a("r");return{ht:[],Ae:function(a,b,c,f){this.KU(a,b,c,f,z)},$na:function(a,b,c,f){this.KU(a,b,c,f,o)},KU:function(a,d,h,k,i){function n(){for(var b=[],g=0;g<d.length;g++)try{b.push(a.get(d[g]))}catch(i){b.push(m),c.DG("BindingsHandler._addBinding",i)}h.apply(this,b)}b.isArray(d)||(d=[d]);var n=i?c.Cn(n,this.Da):n.bind(this.Da),g=[];b.forEach(d,function(b){g.push(f.watch(a,b,n))},this);this.ht.push({Xma:g,host:a,o4:d,n3:h});
k&&n()},Xe:function(a,d,c){var f=b(this.ht).select(function(i){return i.n3==c&&i.host==a&&b.isEqual(i.o4,d)});b(f).forEach(function(a){b(a.Xma).forEach(function(a){a.unwatch()})});this.ht=b.difference(this.ht,f)},Xoa:function(){for(;0<this.ht.length;){var a=b.first(this.ht);this.Xe(a.host,a.o4,a.n3)}}}});
define("io",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},J2:function(b,f,e){var f=f*a,b=-b*a,d=e*a,e=Math.cos(b/2),b=Math.sin(b/2),h=Math.cos(d/2),d=Math.sin(d/2),k=Math.cos(f/2),f=Math.sin(f/2),i={};i.w=e*h*k-b*d*f;i.x=e*h*f+b*d*k;i.y=b*h*k+e*d*f;i.z=e*d*k-b*h*f;return i},rS:function(a){var f=a.x*a.y+a.z*a.w,e={};if(0.499<f)e.yaw=-2*Math.atan2(a.x,a.w),e.Sc=-Math.PI/2,e.pitch=0;else if(-0.499>f)e.yaw=2*Math.atan2(a.x,a.w),e.Sc=Math.PI/2,
e.pitch=0;else{var d=a.x*a.x,h=a.z*a.z;e.yaw=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*h);e.Sc=-Math.asin(2*f);e.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*d-2*h);e.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,e.pitch))}e.yaw*=b;e.pitch*=b;e.Sc*=-b;return e},yaw:function(a){var f=a.x*a.y+a.z*a.w;return 0.499<f?-2*Math.atan2(a.x,a.w)*b:-0.499>f?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("iz",["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,f){this.x=a||0;this.y=c||0;this.z=f||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,c,f){this.x=a;this.y=c;this.z=f;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.g4(1/a):this.z=this.y=this.x=0;return this},g4:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var c=this.x,f=this.y,e=this.z,d=a.x,h=a.y,k=a.z,a=a.w,i=a*c+h*e-k*f,n=a*f+k*c-d*e,g=a*e+d*f-h*c,c=-d*c-h*f-k*e;this.x=i*a+c*-d+n*-k-g*-h;this.y=n*a+c*-h+g*-d-i*-k;this.z=g*a+c*-k+i*-h-n*-d;return this},Bia:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},yia:function(a,c){var f=a.x,e=a.y,d=a.z,h=c.x,k=c.y,i=c.z;this.x=e*i-d*k;this.y=d*h-f*i;this.z=f*k-e*h;return this}};a.Quaternion=function(a,c,f,e){this.x=a||0;this.y=c||0;this.z=f||0;this.w=e!==m?e:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,c,f,e){this.x=a;this.y=c;this.z=f;this.w=e;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},F4:function(a,c,f){var e=Math.cos(a/2),d=Math.cos(c/2),h=Math.cos(f/2),a=Math.sin(a/2),c=Math.sin(c/
2),f=Math.sin(f/2);this.x=a*d*h+e*c*f;this.y=e*c*h-a*d*f;this.z=e*d*f-a*c*h;this.w=e*d*h+a*c*f;return this},setFromAxisAngle:function(a,c){var f=c/2,e=Math.sin(f);this.x=a.x*e;this.y=a.y*e;this.z=a.z*e;this.w=Math.cos(f);return this},multiply:function(a){return this.f4(this,a)},f4:function(a,c){var f=a.x,e=a.y,d=a.z,h=a.w,k=c.x,i=c.y,n=c.z,g=c.w;this.x=f*g+h*k+e*n-d*i;this.y=e*g+h*i+d*k-f*n;this.z=d*g+h*n+f*i-e*k;this.w=h*g-f*k-e*i-d*n;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},zma:function(a,c){if(0===c)return this;if(1===c)return this.copy(a);var f=this.x,e=this.y,d=this.z,h=this.w,k=h*a.w+f*a.x+e*a.y+d*a.z;0>k?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,k=-k):this.copy(a);if(1<=k)return this.w=h,this.x=f,this.y=e,this.z=d,this;var i=Math.acos(k),
n=Math.sqrt(1-k*k);if(0.001>Math.abs(n))return this.w=0.5*(h+this.w),this.x=0.5*(f+this.x),this.y=0.5*(e+this.y),this.z=0.5*(d+this.z),this;k=Math.sin((1-c)*i)/n;i=Math.sin(c*i)/n;this.w=h*k+this.w*i;this.x=f*k+this.x*i;this.y=e*k+this.y*i;this.z=d*k+this.z*i;return this},G4:function(){var b,c;return function(f,e){b===m&&(b=new a.Vector3);c=f.Bia(e)+1;1.0E-6>c?(c=0,Math.abs(f.x)>Math.abs(f.z)?b.set(-f.y,f.x,0):b.set(0,-f.z,f.y)):b.yia(f,e);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
return this}}()};return a});
define("dp",["require","iX","bF","dQ","iz"],function(a){function b(){n||(n=o,p=new i.Vector3(0,0,1),s=new i.Quaternion,t=new i.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),u=new i.Quaternion,f(),window.addEventListener("orientationchange",f,z),window.addEventListener("deviceorientation",e,z),c())}function c(){if(v&&!(l===m||r===m)){v=z;var a=i.degToRad*r;u.F4(i.degToRad*l.beta,i.degToRad*l.alpha,-(i.degToRad*l.gamma));u.multiply(t);u.multiply(s.setFromAxisAngle(p,-a));w||(y++,5<=y&&(w=o,g.trigger(new h(d.Ob))));
g.trigger(new h(d.W))}}function f(){r=window.orientation||0;v=o;c()}function e(a){l=a;v=o;c()}var d=a("iX"),h=a("bF"),k=a("dQ"),i=a("iz"),n=z,g=new k,l,r,p,s,t,u,v,w=z,y=0;b.prototype.zp=function(){c();return u};b.prototype.bind=function(){g.bind.apply(g,arguments)};b.prototype.unbind=function(){g.unbind.apply(g,arguments)};return b});
define("fw","require,iX,bF,dQ,p,iz".split(","),function(a){function b(a){this.lka=a;this.zQ=new e;this.ZF=new e;this.ER=new e;this.qs=new n.Quaternion;this.DR=new n.Quaternion;this.m2=new n.Quaternion;this.S3=z;this.aG=new n.Vector3;this.qR=new n.Vector3;this.Dja=new n.Quaternion}function c(){this.d4=z;this.c4=0;this.Qz=new n.Vector3;this.sG=new n.Vector3;this.filter=new b(l);this.Fka=new f(r);this.yv=p.yv();this.Ti=p.Ti();p.LQ();this.W3=p.Xja();this.cG=new n.Quaternion;p.Ti()?this.cG.setFromAxisAngle(new n.Vector3(1,
0,0),Math.PI/2):this.cG.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);this.fR=new n.Quaternion;this.Ov=new n.Quaternion;this.wka=new n.Quaternion;this.wka.setFromAxisAngle(new n.Vector3(0,0,1),-window.orientation*Math.PI/180);this.X4();p.aka()&&this.cG.multiply(this.fR);this.w4=new n.Quaternion;this.yv=p.yv();this.Ti=p.Ti();this.Wja=p.LQ()>=66;screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",this.xR.bind(this)):window.addEventListener("orientationchange",
this.xR.bind(this));this.W3?window.addEventListener("deviceorientation",this.uka.bind(this)):window.addEventListener("devicemotion",this.tka.bind(this))}function f(a){this.Gka=a;this.KG=new n.Quaternion;this.Ev=q;this.C2=new n.Quaternion;this.wA=new n.Quaternion}function e(a,b){this.set(a,b)}var d=a("iX"),h=a("bF"),k=a("dQ"),i=a("p"),n=a("iz"),g=new k,l=0.98,r=0.04;b.prototype.Sha=function(a,b){this.zQ.set(a,b)};b.prototype.Uha=function(a,b){this.ZF.set(a,b);p.hka(b-this.ER.aH)&&this.cla();this.ER.copy(this.ZF)};
b.prototype.cla=function(){if(this.S3){var a=this.Eja(this.ZF.sample,this.ZF.aH-this.ER.aH);this.Dja.multiply(a);this.qs.copy(this.DR);this.qs.multiply(a);a=new n.Quaternion;a.copy(this.qs);a.inverse();this.aG.set(0,0,-1);this.aG.applyQuaternion(a);this.aG.normalize();this.qR.copy(this.zQ.sample);this.qR.normalize();a=new n.Quaternion;a.G4(this.aG,this.qR);a.inverse();var b=new n.Quaternion;b.copy(this.qs);b.multiply(a);this.qs.zma(b,1-this.lka);this.DR.copy(this.qs)}else{this.m2=this.Qha(this.zQ.sample);
this.DR.copy(this.m2);this.S3=o}};b.prototype.zp=P("qs");b.prototype.Qha=function(a){var b=new n.Vector3;b.copy(a);b.normalize();a=new n.Quaternion;a.G4(new n.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.Eja=function(a,b){var d=new n.Quaternion,c=new n.Vector3;c.copy(a);c.normalize();d.setFromAxisAngle(c,a.length()*b);return d};c.prototype.zp=function(){var a=m;if(this.W3&&this.tC){this.E2=this.E2||function(){var a=(new n.Quaternion).setFromAxisAngle(new n.Vector3(0,0,-1),0),b=new n.Quaternion;
this.QE=="landscape-secondary"?b.setFromAxisAngle(new n.Vector3(0,1,0),Math.PI/-2):b.setFromAxisAngle(new n.Vector3(0,1,0),Math.PI/2);return a.multiply(b)}();this.D2=this.D2||function(){var a=new n.Quaternion;a.setFromAxisAngle(new n.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.tC,b=new n.Quaternion;b.copy(a);b.multiply(this.D2);b.multiply(this.w4);b.multiply(this.Ov);b.f4(this.E2,b);if(this.qpa){b.x=0;b.z=0;b.normalize()}this.HG[0]=b.x;this.HG[1]=b.y;this.HG[2]=b.z;this.HG[3]=b.w;return this.HG}a=
this.Fka.vja(this.filter.zp(),this.sG,this.Ev);b=new n.Quaternion;b.copy(this.cG);b.multiply(this.w4);b.multiply(a);b.multiply(this.Ov);return b};c.prototype.uka=function(a){this.tC=this.tC||new n.Quaternion;var b=a.alpha,d=a.foa,a=a.toa,b=(b||0)*Math.PI/180,d=(d||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.tC.F4(d,b,-a)};c.prototype.tka=function(a){var b=a.accelerationIncludingGravity,c=a.rotationRate,a=a.timeStamp/1E3;this.yv&&(a=a/1E3);var e=a-this.Ev;if(e<=p.bT||e>p.aT)this.Ev=a;else{this.Qz.set(-b.x,
-b.y,-b.z);this.sG.set(c.alpha,c.beta,c.gamma);(this.Ti||this.yv||this.Wja)&&this.sG.g4(Math.PI/180);this.filter.Sha(this.Qz,a);this.filter.Uha(this.sG,a);this.Ev=a;if(!this.d4){this.c4++;if(this.c4>=5){this.d4=o;g.trigger(new h(d.Ob))}}this.QE!=this.L2()&&this.xR();g.trigger(new h(d.W))}};c.prototype.bind=function(){g.bind.apply(g,arguments)};c.prototype.unbind=function(){g.unbind.apply(g,arguments)};c.prototype.xR=function(){this.X4();g.trigger(new h(d.W))};c.prototype.X4=function(){this.Ov.set(0,
0,0,1);this.QE=this.L2();switch(this.QE){case "landscape-primary":this.Ov.setFromAxisAngle(new n.Vector3(0,0,1),-Math.PI/2);break;case "landscape-secondary":this.Ov.setFromAxisAngle(new n.Vector3(0,0,1),Math.PI/2)}this.fR.copy(this.Ov);this.fR.inverse()};c.prototype.L2=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.Qz.z>4.9||this.Qz.z<-4.9?a=this.QE||a:this.Qz.x>0&&(a="landscape-secondary"));return a};f.prototype.vja=function(a,b,d){if(!this.Ev){this.KG.copy(a);this.Ev=d;return a}d=new n.Vector3;d.copy(b);d.normalize();b=b.length();if(b<n.degToRad*20){this.wA.copy(a);this.KG.copy(a);return this.wA}this.C2.setFromAxisAngle(d,b*this.Gka);this.wA.copy(this.KG);this.wA.multiply(this.C2);this.KG.copy(a);return this.wA};e.prototype.set=function(a,b){this.sample=a;this.aH=b};e.prototype.copy=
function(a){this.set(a.sample,a.aH)};var p={bT:0.001,aT:1,hka:function(a){return isNaN(a)||a<=p.bT||a>p.aT?z:o}};p.Ti=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();p.Foa=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();p.yv=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();p.LQ=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),
b=a?parseInt(a[1],10):q;return function(){return b}}();p.Xja=function(){var a=z;if(p.LQ()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b)var b=b[1].split("."),d=b[3],a=parseInt(b[2],10)===3325&&parseInt(d,10)<148}else"getVRDisplays"in navigator&&i.browser()==i.Zh&&i.cA()&&i.ud()==i.bB&&(a=o);return function(){return a}}();p.aka=function(){return window.orientation==90||window.orientation==-90};return c});
define("in","require,gW,iX,bF,dQ,io,p,dp,fw,iz,hy".split(","),function(a){function b(){function a(){r=o;g.trigger(new f(c.W))}function b(){var g;x&&(d||!l)?g=s:l&&(g=e);if(p!=g){p&&p.unbind(c.W,a);if(p=g){p.bind(c.W,a,this,o);a()}}}var d=h.Zd()==h.yk||n.Tg("debug")&&n.pv("sensor")=="deviceorientation",e=new i,l=z;e.bind(c.Ob,function(){l=o;b()},this,o);var s=new k,x=z;s.bind(c.Ob,function(){x=o;b()},this,o)}a("gW");var c=a("iX"),f=a("bF"),e=a("dQ"),d=a("io"),h=a("p"),k=a("dp"),i=a("fw");a("iz");var n=
a("hy"),g=new e,l={},r=z,p;l.LR=function(a){if(h.Zd()==h.yk&&l.disabled&&DeviceMotionEvent.requestPermission){var d=z,c=z;DeviceOrientationEvent.requestPermission().then(function(a){if(a==="granted"){c=o;g()}});DeviceMotionEvent.requestPermission().then(function(a){if(a==="granted"){d=o;g()}});var g=function(){if(l.disabled&&d&&c){l.disabled=z;b();a&&a()}}}};l.bind=function(a,b){g.bind(c.W,a,b)};l.unbind=function(a,b){g.unbind(c.W,a,b)};l.vka=function(){return r};l.zp=function(){r=z;if(p){var a=p.zp(),
a=d.rS(a);return{yaw:a.yaw,pitch:a.pitch,roll:a.Sc}}return{yaw:0,pitch:0,roll:0}};if(h.Zd()==h.AI||h.Zd()==h.S5){l.available=z;l.disabled=z}else if(h.Zd()==h.BS&&h.browser()==h.Zh&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=o;l.disabled=o}else if(h.Zd()==h.yk){l.available=o;l.disabled=o;if(h.vG()>=13&&DeviceMotionEvent.requestPermission)l.LR();else{var s=function(){window.removeEventListener("deviceorientation",s,z);l.disabled=z;b()};window.addEventListener("deviceorientation",
s,z)}}else{l.available=window.DeviceMotionEvent!=m;l.disabled=z}l.available&&!l.disabled&&b();return l});define("hK",["require"],function(){return{Ena:"single",FRONT:"front",xa:"left",BACK:"back",Za:"right",rb:"top",zb:"bottom"}});
define("em",["require","hK"],function(a){var a=a("hK"),b={},c=Math.PI/180,f=new THREE.Matrix4;new THREE.Matrix4;var e=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];b.sf=Math.pow(10,3);b.sH=0.5*b.sf;b.l6=b.sf;b.RT=[a.FRONT,a.Za,a.BACK,a.xa,a.rb,a.zb];b.z2=function(a,c){for(var e=b.sf,i=b.sH,f=a*c,g=this.bo(),l=[],r=0,p=6*f;r<p;r++)l.push(r);var r=[],s=f;r.push(this.$s(g,a,c,-i,+i,-i,+e,0,-e,0,l.slice(0,s)));p=s;s+=f;r.push(this.$s(g,a,
c,+i,+i,-i,0,+e,-e,0,l.slice(p,s)));p=s;s+=f;r.push(this.$s(g,a,c,+i,+i,+i,-e,0,-e,0,l.slice(p,s)));p=s;s+=f;r.push(this.$s(g,a,c,-i,+i,+i,0,-e,-e,0,l.slice(p,s)));p=s;s+=f;r.push(this.$s(g,a,c,-i,+i,+i,+e,0,0,-e,l.slice(p,s)));p=s;r.push(this.$s(g,a,c,-i,-i,-i,+e,0,0,+e,l.slice(p,s+f)));g.mergeVertices();g.computeFaceNormals();g.userData.type="cube";g.userData.B3=a;g.userData.t5=c;g.userData.Cka=r;return g};b.wQ=function(){var a=this.bo();this.QU(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();a.computeFaceNormals();
a.userData.type="plane";return a};b.gma=function(a,b,c,e,f){var g=a.faceVertexUvs[0][0];g[0].x=b;g[0].y=c+f;g[1].x=b;g[1].y=c;g[2].x=b+e;g[2].y=c;g=a.faceVertexUvs[0][1];g[0].x=b;g[0].y=c+f;g[1].x=b+e;g[1].y=c;g[2].x=b+e;g[2].y=c+f;a.lpa=o};b.kv=function(){return b.sH};b.rja=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.sja=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.pG=function(a){return Math.max(Math.min(3.539647*a-6.669366*a*a+4.7454*a*a*a,b.sH),0.1)};b.bo=function(){var a=new THREE.Geometry;
a.userData={};return a};b.$s=function(a,b,c,e,f,g,l,r,p,s,t){for(var u={},v=0,w=0;w<c;w++){u[w]={};for(var y=0;y<b;y++)this.QU(a,e+l*y/b+0*w/c,f+0*y/b+p*w/c,g+r*y/b+s*w/c,l/b,0/b,r/b,0/c,p/c,s/c,t[v]),u[w][y]=a.faces.slice(a.faces.length-2,a.faces.length),v+=1}return u};b.yoa=function(a,b,c){b=0.5*b/Math.tan(0.5*c);f.copy(a);a=e[0];a.x=0;a.y=0;a.z=0;a.applyMatrix4(f);var c=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z),i=b/a.z,n=e[1];n.x=a.x*i;n.y=a.y*i;n.z=b;return c/Math.sqrt(n.x*n.x+n.y*n.y+n.z*n.z)};b.mja=
function(a,c,e){f.copy(c.matrixWorldInverse).multiply(e);switch(a.userData.type){case "cube":return b.yaa(a,f,c.projectionMatrix);default:return b.zaa(a)}};b.ija=function(a,c,e){switch(a.userData.type){case "plane":return b.iaa(a,c,e);default:return q}};b.QU=function(a,b,c,e,f,g,l,r,p,s,t){var u=a.vertices.length;a.vertices.push(new THREE.Vector3(b,c,e));a.vertices.push(new THREE.Vector3(b+r,c+p,e+s));a.vertices.push(new THREE.Vector3(b+f+r,c+g+p,e+l+s));a.vertices.push(new THREE.Vector3(b+f,c+g,
e+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.iaa=function(a,b,c){var i=a.faces[0],f=a.faces[1],g=e[0],l=e[1],r=e[2];g.copy(a.vertices[i.a]).applyMatrix4(b);l.copy(a.vertices[f.c]).applyMatrix4(b);r.copy(a.vertices[i.b]).applyMatrix4(b);var b=l.x-g.x,f=
l.y-g.y,p=l.z-g.z,l=r.x-g.x,s=r.y-g.y,r=r.z-g.z,t=f*r-p*s,u=p*l-b*r,v=b*s-f*l,w=c.direction.x*t+c.direction.y*u+c.direction.z*v;if(0!=w&&(v=-(t*(c.origin.x-g.x)+u*(c.origin.y-g.y)+v*(c.origin.z-g.z))/w,!(0>=v)))return t=c.origin.x+c.direction.x*v-g.x,u=c.origin.y+c.direction.y*v-g.y,g=c.origin.z+c.direction.z*v-g.z,c=(b*t+f*u+p*g)/(b*b+f*f+p*p),g=(l*t+s*u+r*g)/(l*l+s*s+r*r),b=a.faceVertexUvs[0][0][0],f=a.faceVertexUvs[0][1][2],l=a.faceVertexUvs[0][0][1],a=b.x+(f.x-b.x)*c+(l.x-b.x)*g,b=b.y+(f.y-b.y)*
c+(l.y-b.y)*g,0>c||1<c||0>g||1<g?m:{Lma:a,Sma:b,materialIndex:i.materialIndex}};b.yaa=function(a,c,e){var i=Array.prototype.concat.apply([],a.userData.Cka.map(function(i){return b.sX(c,e,i,a.vertices,0,0,a.userData.B3,a.userData.t5).map(function(a){return a.materialIndex})}));return b.zX(i)};b.zaa=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.zX(a)};b.zX=function(a){var b={};a.forEach(function(a){b[a]=o});var a=[],c;for(c in b)a.push(c);return a};b.sX=function(a,c,e,i,f,
g,l,r){var p=[];if(b.hga(a,c,i[e[g][f][0].a],i[e[g+r-1][f][0].b],i[e[g+r-1][f+l-1][0].c],i[e[g][f+l-1][1].c]))if(1==l&&1==r)p.push(e[g][f][0]);else{g=1<r?[g,g+Math.ceil(0.5*r),g+r]:[g,g+r];f=1<l?[f,f+Math.ceil(0.5*l),f+l]:[f,f+l];for(l=1;l<g.length;l++)for(var r=g[l-1],s=g[l]-r,t=1;t<f.length;t++)var u=f[t-1],p=p.concat(b.sX(a,c,e,i,u,r,f[t]-u,s))}return p};b.hga=function(a,b,c,f,n,g){var l=[q,q,q,q,q];e[0].copy(c).applyMatrix4(a);e[1].copy(f).applyMatrix4(a);e[2].copy(n).applyMatrix4(a);e[3].copy(g).applyMatrix4(a);
c=0;f=4;for(a=0;4>a;a++){var n=e[(a+3)%4],g=e[a],r=e[(a+1)%4];if(0>=g.z)l[c++]=g;else{if(0>=n.z){var p=e[f++],s=n.z/(n.z-g.z);p.x=n.x+(g.x-n.x)*s;p.y=n.y+(g.y-n.y)*s;p.z=-1.0E-5;l[c++]=p}0>=r.z&&(p=e[f++],s=g.z/(g.z-r.z),p.x=g.x+(r.x-g.x)*s,p.y=g.y+(r.y-g.y)*s,p.z=-1.0E-5,l[c++]=p)}}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],f=l[a+1],n=l[a+2],!(1<c.x&&1<f.x&&1<n.x||-1>c.x&&-1>f.x&&-1>n.x||1<c.y&&1<f.y&&1<n.y||-1>c.y&&-1>f.y&&-1>n.y))return o}return z};b.xQ=function(a,
e,f,i,n){for(var g=a*c,l=0.5*-g+0.5*Math.PI,r=e*c,p=0.5*(Math.PI-r)-f*c,s=0.5*b.l6,t=64/Math.PI,u=Math.max(2,Math.ceil(g/i*t)),t=Math.max(2,Math.ceil(r/n*t)),v=i*u,w=n*t,y=this.bo(),A=0,x=[],B=0;B<=w;B++){for(var O=[],E=p+B*r/w,G=0;G<=v;G++){var I=-(l+G*g/v);y.vertices.push(new THREE.Vector3(-s*Math.cos(I)*Math.sin(E),+s*Math.cos(E),+s*Math.sin(I)*Math.sin(E)));O.push(A++)}x.push(O)}for(l=g=0;l<n;l++){r=l*t;for(p=0;p<i;p++){s=p*u;for(B=0;B<t;B++){v=1-B/t;w=1-(B+1)/t;for(G=0;G<u;G++){var A=G/u,O=(G+
1)/u,E=x[r+B][s+G],I=x[r+B+1][s+G+1],J=x[r+B][s+G+1];y.faces.push(new THREE.Face3(E,x[r+B+1][s+G],I,q,q,g));y.faceVertexUvs[0].push([new THREE.Vector2(A,v),new THREE.Vector2(A,w),new THREE.Vector2(O,w)]);y.faces.push(new THREE.Face3(E,I,J,q,q,g));y.faceVertexUvs[0].push([new THREE.Vector2(A,v),new THREE.Vector2(O,w),new THREE.Vector2(O,v)])}}g++}}y.mergeVertices();y.computeFaceNormals();y.userData.type="sphere";y.userData.hfov=a;y.userData.Nl=e;y.userData.pitch=f;y.userData.B3=i;y.userData.t5=n;return y};
return b});
define("bs",["require"],function(){return{Sp:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIE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KgBptPoL2GUFPufpvy5o4HGNF2LUK7RqlAyfmtmGcCxGCsOOmXFCRAl8pd+xeKyx37K+gv/+4xjbFSQsX3PE9TXiMUT37ud5BEquTM56LE2h8ZwURjeg3LlN3BOoIRKxHnjYo9QCTx694XnlVEYRiUaY4KB1hHgSFQRrXCPASNMaiXKg6RqzdEI0Maq8FqAGr5TU2zpqtqpTCwtE0klGXnq3xDLL28+ENI7+lOIALzNS47ERetwD7lylQTNydumqN3H2Diyh1y1/e8wvdIpnzTN9HNU1HDdMBhOvaQWc8MqCitM0J+DvWNxNj3SQK/3LfxT0I2zLTg4jj/Ht50TC0y0TQtHoaGLfxJPhRvagQbH4F8O95/F2LsyK8ARqCW6+CcRTZB2mrIE38P/SdHkKcnVTtnrnL+3UfPS85/Gc577rbmA70gvf3syQhW+oEIXZ6Msfm+eAbo4IUHxOzkf6OKkcK4En+Fbl3Wem0SxUr3jeViH51VdqI0cXZyfLHiERiuv0RrhI+eulaGLi4uLi4uLi/8dfwG1HApczIfKrQAAAABJRU5ErkJggg==",
j6:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAAFLCAMAAABoaV6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwt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ovyXXhNMqwdNzwOlqh76adaxAT+6tXU5NHv9C7VCL1Ujfi8hPM4YxnFkMayT1b6sd0EmNBGj9T8jqrXQRoQ6IayTqsrgWRHxhy5JfjMuVH9tOOMW4Yc3rxzcbFzFt2U5q+1dq+/greUgWHSa1faXT9TDaSelKvWNa+iZiXO3VANq0V4PXis69Wm9gak8Kr1WdeO6OvTc6GHCKF+3ZY3T9PryofS9VpoSKiQehU+MfPeMWoAd6xmC6PjW98Rag9MbZTXQSFxrNALCszgDCfjwB8NFZB8Ksg7DndDaZ6UDJTEdDkNdJd7PMrh4edxxEdHaFZcN5GTO6/1btXbVhIIqiKKhNm5RJ4f//yIixLgtxjY9Ho3GVNMtHeWCY/f1Et5WV23FH5xco3EWuociHC9DXd66ueQu9PnKrO1dPltmvs6HXpiJ/kWcTCf1xh35hpDt0pMOEjtJEKzA3tcgvpHypm/5KWxMxM1ITUWRoIqDaD1Mn2w9kaFwKbY1LUHvj4sEG0/+G1vLsryxqeazMXY2AqJolkVS57aNtb5asjCb03GZt2PPrXZuVezBqBWH71FODBg4NGhLazY5eb+20YMRger5HxfinKeTyFptCaGgnab2dHCOFuNHs6shgP2pEpanK1GB21NaPWtgsMnNlXEHs6+b38Wx+d5CIzGafSj3c1jaLm2fa5qxih+wM7gBLRE6aVGNbOn5ww8tgNqkS+R0esqPJJ66bxpZb9NDK20HiomlssWxf1hu70bS2Bjve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
x6:115,Kna:117}});
define("ia","require,jquery.mod,gW,iX,bF,dQ,p".split(","),function(a){var b=a("jquery.mod"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),a=a("p");if(a.ud()!=a.Tv){var h=c.extend(d,function(a){d.call(this);this.D=a;this.$m=h.X_(a);this.m8=h.cL();this.ba=this.oL();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){c.iP()});b(window).bind("resize",function(){c.iP()})});h.prototype.available=function(){return h.C7(this.D)};h.prototype.Ph=
function(){this.enabled()||this.toggle()};h.prototype.je=function(){this.enabled()&&this.toggle()};h.prototype.toggle=function(){this.enabled()?this.m8.call(document):this.$m.call(this.D);this.iP()};h.prototype.enabled=function(){return this.ba&&this.oL()};h.prototype.oL=function(){return this.D===h.rn()};h.prototype.iP=function(){var a=this.oL();if(this.ba!=a){this.ba=a;this.trigger(new e(f.W))}};h.enabled=function(){return!!h.rn()};h.rn=function(){return document.fullscreenElement||document.mozFullScreenElement||
document.webkitFullscreenElement||document.msFullscreenElement};h.je=function(){h.enabled()&&this.cL().call(document)};h.X_=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen};h.cL=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen};h.C7=function(a){return!(!h.X_(a||document.body)&&!h.cL())}}else{h=c.extend(d,function(a){d.call(this);this.D=a});h.prototype.available=
R(o);h.prototype.Ph=function(){this.enabled()||this.toggle()};h.prototype.je=function(){this.enabled()&&this.toggle()};h.prototype.toggle=function(){if(this.enabled()){k();h.jo=q}else{h.jo&&h.jo.je();k();var a=i();a.push("fullscreen");n(a);h.jo=this}this.trigger(new e(f.W))};h.prototype.enabled=function(){return this==h.jo};h.enabled=function(){return!!h.rn()};h.rn=function(){return h.jo&&h.jo.D};h.je=function(){h.enabled()&&h.jo.je()};h.jo=q;var k=function(){for(var a=i(),b=[],c=0;c<a.length;c++)a[c]!=
"fullscreen"&&b.push(a[c]);n(b)},i=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]},n=function(a){window.location.hash="#"+(a.length?a.join("&"):"")}}return h});
define("ft","require,jquery.mod,gW,iW,p,hy,bs,ia".split(","),function(a){function b(a,b){this.Jha=a;this.V8=b;this.hP=[];this.uf=q;this.Wy=z}var c=a("jquery.mod"),f=a("gW"),e=a("iW"),d=a("p"),h=a("hy"),k=a("bs"),i=a("ia"),n="color:#000; font-family:Arial, Helvetica, sans-serif;",g="",l="border-color:#b2b2b2;",r=l,p="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",s="vertical-align:middle; padding:0;",
t='<img style="width:33vmin;" src="'+k.Sp+'"/>',u='<img style="width:24vmin;" src="'+k.Sp+'"/>',v='<img style="width:34vmin;" src="'+k.qH+'"/>',w='<img style="width:34vmin;" src="'+k.J5+'"/>',y='<img style="width:24vmin;" src="'+k.j6+'"/>';if(d.lb()){p=p+" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;";n=n+" font-size:3.6vmin; line-height:4.3vmin;";g=g+" margin:5vmin 0;";l=l+" margin:5vmin 0;";r=r+" margin:3vmin 0;";s=s+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else p=
p+" font-size:19px; padding:17px 34px;";g=g+n;b.prototype.cK=function(){if(!this.uf){this.uf=c("<div/>");this.uf.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.uf.html(this.V8);c(this.uf).find("button").on("click",function(a){this.jca(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.AO=function(a,b){var c={},d;for(d in b)c[d]=a.css(d);this.hP.push({$el:a,css:c});a.css(b)};b.prototype.iea=
function(){for(;this.hP.length;){var a=this.hP.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,d){if(!this.Wy){this.cK();this.cW=a||C();this.vV=b||C();a=this.M$();if(a===m){this.Wy=o;var g=this,a=c(i.rn()||document.body);if(d!==o)a.children().each(function(){g.AO(c(this),{visibility:"hidden"})});else{this.AO(a,{overflow:"hidden"});a.children().each(function(){g.AO(c(this),{position:"absolute","z-index":0})})}a.append(this.uf)}else{this.Wy=z;a?this.cW():this.vV()}}};b.prototype.hide=function(){if(this.Wy){this.Wy=
z;this.uf.detach();this.iea()}};b.prototype.M$=function(){var a;try{a=window.localStorage&&window.localStorage.getItem(this.dX())}catch(b){}if(a=="true")return o;if(a=="false")return z};b.prototype.p0=function(a){try{window.localStorage.setItem(this.dX(),a?"true":"false")}catch(b){}};b.prototype.dX=function(){return this.Jha+"DontDisplay:"+window.location.pathname};b.prototype.jca=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.cW();b&&this.p0(o)}else if(a==
"tdvvriw_cancel"){this.vV();b&&this.p0(z)}};var a=f.extend(b,function(){b.call(this,"ChromeAppInfoWindow",['<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>',t,'<div style="'+g+'">You can use any compatible Google Cardboard headset to view this content in VR.</div>','<div><button style="'+p+'" id="tdvvriw_continue">Use Cardboard</button></div>',"</div>",'<hr style="'+
l+'">',"<div>",'<div style="'+g+'">','<div style="margin-bottom:2vmin;">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.</div>','<div><button style="'+p+'" id="tdvvriw_cancel">Launch in default browser</button></div>',"</div>",w,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+g+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+
s+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n"))}),A=f.extend(b,function(){b.call(this,"SamsungInternetInfoWindow",['<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>',t,'<div style="'+g+'">You can use any compatible Google Cardboard headset to view this content in VR.</div>','<div><button style="'+p+'" id="tdvvriw_continue">OK</button></div>',
"</div>",'<hr style="'+l+'">',"<div>",'<div style="'+g+'">','<div style="margin-bottom:2vmin;">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.</div>\n</div>',w,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+g+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+
s+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n"))}),x=f.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="'+g+'">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="'+p+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),B=f.extend(b,function(){b.call(this,"ExternalVRDisplayVRInfoWindow",['<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="'+g+'"></div>','<div style="text-align:center;"><button style="'+p+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">Exit VR</button></div>',
"</div></div>"].join("\n"))});B.prototype.cK=function(){b.prototype.cK.call(this);h.sn("vrv")===o&&this.uf.css({background:"none"})};var O=f.extend(b,function(){var a;a=d.browser()==d.Zg?window.location.protocol!="https:"?e("giroscope-disabled-http"):window.DeviceMotionEvent.requestPermission?e("giroscope-disabled-safari-request-permission"):e("giroscope-disabled-safari-toggle-on"):e("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="'+g+'">',a,"</div>",'<div><button style="'+p+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+g+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+s+'"><label for="tdvvriw_dontdisplay">'+e("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"GiroscopeDisabledInfoWindow",a)}),E=f.extend(b,function(){b.call(this,"CarmelInstallationPromptVRInfoWindow",
['<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>',t,'<div style="'+g+'">You can use any compatible Google Cardboard headset to view this content in VR.</div><div><button style="'+p+'" id="tdvvriw_continue">Use Google Cardboard</button></div>',"</div>",'<hr style="'+l+'">',"<div>",w,'<div style="'+g+'">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="'+p+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n"))}),G=f.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>',t,'<div style="'+n+" margin:2vmin 0;\">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.</div>",
'<div><button style="'+p+'" id="tdvvriw_cancel">Use Default</button></div>',"</div>",'<hr style="'+r+'">',"<div>",'<div style="'+n+' margin-bottom:2vmin;">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.</div>','<div><button style="'+p+'" id="tdvvriw_continue">Use Cardboard v2</button></div>',v,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+g+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+
s+'"><label for="tdvvriw_dontdisplay">'+e("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"CardboardV2InfoWindow",a)}),I=f.extend(b,function(){b.call(this,"EnterVRInfoWindow",['<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="'+g+'"></div>','<div style="text-align:center;"><button style="'+p+'" id="tdvvriw_continue">Enter VR content</button></div>',
"</div></div>"].join("\n"))}),J=f.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="'+g+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),K=f.extend(b,function(){b.call(this,"UseSafariVRInfoWindow",['<div style="position: absolute; top: 7vmin; right:5vmin; ">',u,'</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;">',
y,'<div style="'+g+'">We recommend Safari<br>to view this tour in VR mode</div>','<div style="text-align:center;"><button style="'+p+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+g+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+s+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n"))}),f=f.extend(b,function(){b.call(this,
"RotateVRInfoWindow",['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+k.Sp+'"/>','</div>\n<div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;">\n<div style="vertical-align:middle; text-align:center; display:table-cell;">','<img style="width:22vmin" src="'+k.sB+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>\n</div>\n</div>'].join("\n"))}),
F={};F.k6=new A;F.Dna=new x;F.kna=new B;F.ena=new E;F.ina=new I;F.xna=new J;F.u6=new K;F.sB=new f;F.WS=new O;F.A5=new a;F.qH=new G;return F});define("bZ",["require"],function(){return{Sp:"Cardboard",z6:"WebVR",A6:"WebXR"}});
define("eB",["require","hj","p","eX"],function(a){var b=a("hj"),c=a("p"),f=a("eX"),e={jka:function(a){return this.uA(a)||this.V3(a)?o:z},Vl:function(){var a=c.Hka();e.Vl=function(){return a};return a},V3:function(a){return"string"==typeof a&&f.is(a,f.zI)?o:z},Eoa:function(a){return this.hR(a)||this.iR(a)?o:z},iR:function(a){return"string"==typeof a&&(f.is(a,f.N5)||f.qA(a,f.O5))?o:z},uA:function(a){return!!a&&!!a.tagName&&"VIDEO"==a.tagName},Q3:function(a){return"string"==typeof a&&f.is(a,f.xk)||this.uA(a)&&
f.is(a.currentSrc,f.xk)?o:z},ika:function(a){return"string"==typeof a&&f.is(a,f.zI)||this.uA(a)&&f.is(a.currentSrc,f.zI)?o:z},hR:function(a){return!!a&&!!a.tagName&&"IMG"==a.tagName},N3:function(a){return!!a&&!!a.tagName&&"CANVAS"==a.tagName},b3:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},U3:function(a){return 0!==a&&0===(a&a-1)},Yja:function(){return c.browser()==c.uk},dka:function(){return c.browser()==c.Qp},Ti:function(){return c.Zd()==c.yk},Tma:function(a){if(e.dka())return o;
if(e.Ti())if(e.Q3(a)){if(!b.G3)return o}else if(12>c.vG()||a&&a.videoWidth&&a.videoHeight&&589824>=a.videoWidth*a.videoHeight)return o;return z},Oja:function(){return e.Yja()||e.Ti()},Nja:function(){return e.Ti()&&b.G3&&11>c.vG()}},d=z;e.I3=function(){d=z};e.Vja=function(){return d};e.pla=function(){d=o};e.y2=function(a){var b={alpha:o,depth:o,stencil:o,antialias:z,premultipliedAlpha:o,preserveDrawingBuffer:z,powerPreference:"default",failIfMajorPerformanceCaveat:z,xrCompatible:o};return a.getContext("webgl",
b)||a.getContext("experimental-webgl",b)};return e});
define("cw","require,gW,jquery.mod,cE,iW,bs,iX,p,d,im,iA".split(","),function(a){function b(){this.Qc=z;this.lz=q;this.aa=this.M=100;this.UL=this.Oe=m;this.VL=100;this.D=document.createElement("div");this.D.style.opacity=0;this.D.style.display="none";this.D.style.hpa="opacity 0.3s";this.D.addEventListener("transitionend",this.rP.bind(this));this.sc=document.createElement("div");this.sc.style.hasOwnProperty("backdropFilter")?this.sc.style.backdropFilter="blur(8px)":this.sc.style.backgroundColor="rgba(0, 0, 0, 0.6)";
this.sc.style.position="absolute";this.sc.style.left=0;this.sc.style.top=0;this.sc.style.right=0;this.sc.style.bottom=0;this.D.appendChild(this.sc);this.bb=document.createElement("img");this.bb.style.cursor="pointer";this.bb.style.position="absolute";this.bb.style.left="50%";this.bb.style.top="50%";this.bb.style.transform="translate(-50%, -50%)";this.D.appendChild(this.bb);this.AB=e(this.D)}function c(a,b){this.reason=a;this.ln=b}var f=a("gW"),e=a("jquery.mod");a("cE");a("iW");var d=a("bs");EventName=
a("iX");Device=a("p");UIComponent=a("d");FadeInEffect=a("im");FadeOutEffect=a("iA");var h=f.extend(UIComponent,function(){UIComponent.call(this);this.Ic("UserInteractionWindow");this.eb=q;this.cl=[];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.P({contentOpaque:o,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z});this.bind(EventName.hb,this.VP,this,o);this.bind(EventName.S,this.Cha,
this,o)});h.prototype.VP=function(){this.eb&&this.eb.setSize(this.jd(),this.hd())};h.prototype.Cha=function(){var a=this.cl.slice();this.cl=[];this.BF();a.forEach(function(a){a.ln.call(a.context)})};h.prototype.Ga=function(){UIComponent.prototype.Ga.call(this);if(!this.eb){this.eb=new b;this.eb.setSize(this.jd(),this.hd());this.eb.Ye(o);this.Ka().append(this.eb.pb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.BF()}};h.prototype.pj=function(){UIComponent.prototype.pj.call(this);
this.getParent().bind(EventName.hb,this.VP,this,o);h.b7(this)};h.prototype.Eh=function(){this.getParent().unbind(EventName.hb,this.VP,this,o);UIComponent.prototype.Eh.call(this);h.Zda(this)};h.prototype.Zka=function(a){this.$m(i,a)};h.prototype.MR=function(a){this.$m(k,a)};h.prototype.$m=function(a,b){this.cl.push(new c(a,b));this.cl.sort(function(a,b){return n[a.reason]-n[b.reason]});this.BF()};h.prototype.jia=function(a){this.cancel(i,a)};h.prototype.hia=function(){this.cancel(k,m)};h.prototype.cancel=
function(a,b){var c=this.raa(a,b);c>=0&&this.eea(c)};h.prototype.kV=function(){this.KB(o)};h.prototype.RB=function(){this.KB(z)};h.prototype.raa=function(a,b){for(var c=0;c<this.cl.length;c++){var d=this.cl[c];if(d.reason==a&&d.ln==b)return c}return-1};h.prototype.BF=function(){if(this.eb){var a=this.Aaa();if(a){switch(a.reason){case k:this.eb.$R(b.ZS);break;case i:this.eb.$R(b.bI)}this.set("visible",o)}else this.set("visible",z)}};h.prototype.eea=function(a){this.cl.splice(a,1);a==this.cl.length&&
this.BF()};h.prototype.Aaa=function(){return this.cl.length>0?this.cl[0]:q};var k="vr",i="play",n={};n[k]=0;n[i]=1;b.prototype.pb=P("AB");b.prototype.setSize=function(a,b){if(this.M!==a||this.aa!==b){this.M=a;this.aa=b;this.EF()}};b.prototype.Ye=function(a){if(this.Qc!=a){this.Qc=a;if(this.lz){clearTimeout(this.lz);this.lz=q}if(this.Qc){this.D.style.display="block";this.D.style.opacity=0;this.lz=setTimeout(function(){this.lz=q;this.D.style.opacity=1}.bind(this),30)}else this.D.style.opacity=0}};b.prototype.$R=
function(a){if(this.Oe!=a){this.Oe=a;this.gha()}};b.prototype.rP=function(){if(!this.Qc)this.D.style.display="none"};b.prototype.gha=function(){switch(this.Oe){case b.bI:this.UL=d.On;this.VL=d.f6;break;case b.ZS:this.UL=d.v6;this.VL=d.x6}this.bb.src=this.UL;this.EF()};b.prototype.EF=function(){if(Device.lb()){this.bb.style.maxWidth=Math.round(this.M*0.5)+"px";this.bb.style.width="20vmin"}else{this.bb.style.maxWidth=Math.round(this.M*0.33)+"px";this.bb.style.width=this.VL+"px"}};b.bI="play";b.ZS="vr";
h.AT=b;h.vc=[];h.rN=[];h.b7=function(a){h.vc.push(a);h.rN.forEach(function(b){h.VX(a,b)});h.rN=[]};h.Zda=function(a){h.vc.splice(h.vc.indexOf(a),1)};h.ready=function(){return h.vc.length>0};h.MR=function(a){h.vc.length?h.vc.forEach(function(b){h.VX(b,a)}):h.rN.push(a)};h.VX=function(a,b){a.MR(function(){h.vc.forEach(function(b){b!=a&&b.hia()});b()})};return h});
define("iP",["require"],function(){var a={ai:{}};a.ai.NONE="none";a.ai.xa="left";a.ai.Za="right";a.y6=function(){this.y=this.x=0;this.height=this.width=1};a.aU=function(){this.eye=a.ai.NONE;this.viewport=new a.y6;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.I5=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.hG=[]};a.R5=function(){this.aA=q;this.Qi=200;this.Qh=100;this.eG=1};return a});
define("cA",["require"],function(){return{ZH:"gaze",VS:"gaze_click"}});
define("es","require,gW,eB,dQ,cw,iP,p,ft,cA".split(","),function(a){var b=a("gW"),c=a("eB"),f=a("dQ"),e=a("cw"),d=a("iP"),h=a("p"),k=a("ft"),i=a("cA"),a=b.extend(f,function(){f.call(this);this.TE=i.ZH;this.Ir=[];this.ug=new d.I5;this.hf=new d.aU;this.hf.eye=d.ai.xa;this.nf=new d.aU;this.nf.eye=d.ai.Za;this.ug.views=[this.hf,this.nf];this.bc=new d.R5});a.prototype.xn=C();a.prototype.Ph=C();a.prototype.je=C();a.prototype.lG=P("bc");a.prototype.Bl=P("ug");a.prototype.za=C();a.prototype.isPresenting=
C();a.prototype.Kf=C();a.prototype.rG=P("TE");a.prototype.us=C();a.prototype.Tu=function(a){this.Ir.indexOf(a)<0&&this.Ir.push(a)};a.prototype.KR=function(a){this.Ir.splice(this.Ir.indexOf(a),1);this.us()==a&&this.je()};a.prototype.oaa=function(){return this.Ir.length>0?this.Ir[this.Ir.length-1]:q};a.prototype.tO=function(){var a=this.oaa();if(a==q){a=document.createElement("canvas");a=c.y2(a);this.Tu(a)}return a};a.prototype.kO=function(a){e.MR(a)};a.prototype.QO=function(a){if(h.ud()==h.Qs){this.eO();
k.A5.show(a,function(){this.MU()}.bind(this))}else h.cA()&&h.ud()==h.Uv?k.k6.show(a):h.ud()==h.$A?k.u6.show(a):a()};a.prototype.uO=function(a){if(!h.lb()||h.Lf()){this.TE=i.ZH;a()}else k.qH.show(function(){this.TE=i.VS;a()}.bind(this),function(){this.TE=i.ZH;a()}.bind(this))};a.prototype.MU=function(){this.eO();var a=this.GX();a.push("vr");this.VU(a)};a.prototype.eO=function(){this.VU(this.GX().filter(function(a){return a!="vr"}))};a.prototype.GX=function(){var a=window.location.hash.substring(1);
return a.length?a.split("&"):[]};a.prototype.VU=function(a){window.location.hash="#"+(a.length?a.join("&"):"")};return a});
define("n",["require","jquery.mod","ia"],function(a){function b(){g.get(0)==document.body&&h.height(window.innerHeight)}function c(a,b){var c={},d;for(d in b)c[d]=a.css(d);l.push({$el:a,css:c});a.css(b)}function f(a){this.D=a}var e=a("jquery.mod"),d=a("ia");f.prototype.Ph=function(){this.enabled()||this.toggle()};f.prototype.je=function(){this.enabled()&&this.toggle()};f.prototype.toggle=function(){this.enabled()?f.cancel():f.Kl(this.D)};f.prototype.enabled=function(){return f.enabled(this.D)};var h=
e("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),k=e("<div/>"),i=q,n=q,g=q,l=[],r=q;f.Kl=function(a){if(a!==i){f.cancel();i=a;var l=d.rn()||document.body;n=e(a);g=e(l);k.insertAfter(n);n.appendTo(h);g.children().each(function(){c(e(this),{visibility:"hidden"})});c(n,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});l==document.body?c(h,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):c(h,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});h.appendTo(g);b();r=setInterval(b,300)}};f.cancel=function(){if(i){h.detach();n.insertBefore(k);for(k.detach();l.length;){var a=l.pop();a.$el.css(a.css)}g=n=i=q;l=[];clearInterval(r)}};f.enabled=function(a){return i==a};return f});
define("gQ","require,gW,iX,bF,dQ,bs".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("dQ"),a=a("bs"),d=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.Sp+'"/>','</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"),h=d+['<img style="width:22vmin" src="'+a.sB+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>'].join("\n")+
"</div>\n</div>",k=d+['<img style="width:13vmin; vertical-align:middle;" src="'+a.o6+'"/>','<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(e,function(){e.call(this);this.Hg=this.ii=this.ji=this.Bx=this.Cx=this.xM=this.yM=m;this.bD=z;this.ep=this.EN=this.wM=this.tc=
q;this.LW=[];this.TX=this.Jr=z;this.cb=this.cb.bind(this)});b.prototype.Kl=function(){if(!this.Jr){this.Jr=o;this.bK();window.addEventListener("resize",this.cb);document.body.appendChild(this.tc);document.body.appendChild(this.ep);this.bga=document.body.style.overflow;document.body.style.overflow="auto";this.my()}};b.prototype.cancel=function(){if(this.Jr){this.Jr=z;window.removeEventListener("resize",this.cb);document.body.style.overflow=this.bga;document.body.removeChild(this.tc);document.body.removeChild(this.ep);
this.r0(z)}};b.prototype.enabled=P("bD");b.prototype.bK=function(){if(!this.tc){this.tc=this.nC({position:"fixed",top:0,left:0,zIndex:9999998},o);this.tc.id="tdvminuictr";this.EN=this.nC({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},o,h);this.tc.appendChild(this.EN);this.wM=this.nC({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},o,k);this.tc.appendChild(this.wM);this.ep=this.nC({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},
z);this.ep.id="tdvminuiscrl";this.ep.addEventListener("touchend",this.cb)}};b.prototype.nC=function(a,b,c){var d=document.createElement("div");this.Ry(d,a);c!==m&&this.Zea(d,c);b&&this.LW.push(d);return d};b.prototype.cb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.aN.bind(this),a)}.bind(this))};b.prototype.aN=function(){(this.ji!=window.innerWidth||this.ii!=window.innerHeight)&&this.my()};b.prototype.my=function(){this.ji=window.innerWidth;this.ii=window.innerHeight;this.Hg=this.ji>
this.ii?"landscape":"portrait";var a;if(this.Hg=="landscape"){if(this.yM&&this.xM&&this.Cba(this.yM,this.xM)&&(!this.Cx&&!this.Bx||this.Dba(this.Cx,this.Bx))){this.Cx=this.ji;this.Bx=this.ii}if(this.yba()){this.Cx=this.ji;this.Bx=this.ii}this.yM=this.ji;this.xM=this.ii;a=this.Cx==this.ji&&this.Bx==this.ii}else a=z;this.LW.forEach(function(a){a.style.height=this.ii+"px";a.style.width=this.ji+"px"}.bind(this));var b=this.Jr&&this.Hg=="portrait",c=this.Jr&&this.Hg=="landscape"&&!a,d=this.Jr&&this.Hg==
"landscape";this.Ry(this.tc,{display:b||c?"block":"none"});this.Ry(this.EN,{display:b?"block":"none"});this.Ry(this.wM,{display:c?"block":"none"});this.Ry(this.ep,{display:d?"block":"none",right:c?0:"99.9%"});this.r0(a)};b.prototype.r0=function(a){if(this.VE!=q){clearTimeout(this.VE);this.VE=q}if(this.bD!=a)this.VE=setTimeout(function(){this.VE=q;(this.bD=a)?this.trigger(new f(c.ej)):this.trigger(new f(c.qa));this.trigger(new f(c.W))}.bind(this),a?1E3:0)};b.prototype.yba=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(d){c=Math.min(c,Math.abs(100-100*a*d[1]/(b*d[0])))});return c<=1?o:z};b.prototype.Cba=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.Dba=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Ry=function(a,b){for(var c in b)a.style[c]=b[c]};b.prototype.Zea=function(a,b){a.innerHTML=
b};return new b});
define("jb",["require","p","cT","dK"],function(a){var b=a("p"),c=a("cT"),f=a("dK");if(b.browser()==b.Zg){a=function(){this.Pa=q};a.prototype.EQ=function(a){this.Pa=a;this.Pa.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhy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AFPAAABVEAAAVXAAAFagAABX0AAAWDAAAFmgAABa8AAAXCAAAFyAAABdsAAAXyAAAF+AAABg0AAAYgAAAGJgAABjkAAAZQAAAGZQAABmsAAAZ+AAAGkQAABpcAAAauAAAGwwAABskAAAbcAAAG7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",0,
z);this.Pa.bind(c.VH,this.Yc,this,o)};a.prototype.lR=function(){this.Pa.unbind(c.VH,this.Yc,this,o);this.Pa=q};a.prototype.Yc=function(){0.5<this.Pa.Ri()&&this.Pa.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhk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D5QAAA/gAAAQLAAAEEQAABCgAAAQ9AAAEUAAABFYAAARpAAAEgAAABIYAAASbAAAErgAABLQAAATHAAAE3gAABPMAAAT5AAAFDAAABR8AAAUlAAAFPAAABVEAAAVXAAAFagAABX0AAAWDAAAFmgAABa8AAAXCAAAFyAAABdsAAAXyAAAF+AAABg0AAAYgAAAGJgAABjkAAAZQAAAGZQAABmsAAAZ+AAAGkQAABpcAAAauAAAGwwAABskAAAbcAAAG7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",
Math.random(),z)};var e=z,d=new a;return{enable:function(){e||(e=o,f.SF(d))},disable:function(){e&&(e=z,f.xA(d))}}}return b.browser()==b.Zh?(a=function(){this.Pa=q},a.prototype.EQ=function(a){this.Pa=a;this.Pa.play(q,q,0,o)},a.prototype.lR=function(){this.Pa=q},e=z,d=new a,{enable:function(){e||(e=o,f.SF(d))},disable:function(){e&&(e=z,f.xA(d))}}):{enable:C(),disable:C()}});
define("gw",["require","jquery.mod","bs"],function(a){function b(){this.uf=q;this.ba=z;this.cb=this.cb.bind(this);this.ii=this.ji=this.Hg=m}var c=a("jquery.mod"),f=a("bs");b.prototype.bo=function(){this.uf||(this.uf=c("<div/>"),this.uf.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.uf.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+f.Sp+'"/>','</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="'+f.sB+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">Please, rotate your device</div>\n</div>\n</div>'].join("\n")))};b.prototype.show=function(a){this.ba||(this.ba=o,this.bo(),c(a).append(this.uf),c(window).on("resize",this.cb),this.my())};b.prototype.hide=function(){this.ba&&(this.ba=z,c(window).off("resize",this.cb),this.uf.detach())};b.prototype.cb=function(){[0,
250,1E3,2E3].forEach(function(a){setTimeout(this.aN.bind(this),a)}.bind(this))};b.prototype.aN=function(){(this.ji!=window.innerWidth||this.ii!=window.innerHeight)&&this.my()};b.prototype.my=function(){this.ji=window.innerWidth;this.ii=window.innerHeight;this.Hg=this.ji>this.ii?"landscape":"portrait";this.uf.toggle("landscape"!=this.Hg)};return new b});
define("gJ","require,gW,iX,bF,em,hj,p,in,ft,bC,bZ,es,d,P,ia,n,gQ,jb,gw".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("em"),d=a("hj"),h=a("p"),k=a("in"),i=a("ft"),n=a("bC"),g=a("bZ"),l=a("es"),r=a("d"),p=a("P"),s=a("ia"),t=a("n"),u=a("gQ"),v=a("jb"),w=a("gw"),y=b.extend(l,function(){l.call(this);this.Ef=this.Yd=this.ze=this.Jy=this.Fm=this.fg=this.Db=q;this.Ve=g.Sp;this.za=this.za.bind(this)});y.prototype.xn=function(a){if(this.qx()){var b=function(b){if(this.Db=b.length?b[0]:q){this.Db.depthNear=
0.1;this.Db.depthFar=2*e.sf;this.fg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",this.MN.bind(this),z);u.bind(c.qa,this.je.bind(this))}a(!!this.Db)}.bind(this),d=window.WebVRConfig||(window.WebVRConfig={});d.BUFFER_SCALE=y.Zu;d.ALWAYS_APPEND_POLYFILL_DISPLAY=o;d.LOCK_ORIENTATION=z;n.bU.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(z)};y.prototype.Ph=function(){!this.isPresenting()&&!this.Yd&&this.Or(function(){this.QO(function(){this.uO(function(){if(!this.isPresenting()&&
!this.Yd){this.Yd=this.tO();this.NO();this.Db.requestPresent([{source:this.Yd.canvas}]).then(function(){this.Ef=this.Yd;this.Yd=q;h.ud()!=h.Sv&&w.show(s.rn());this.mu();this.Mz()}.bind(this))["catch"](function(){this.Yd=q;this.iz()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};y.prototype.je=function(){this.isPresenting()&&this.Db.exitPresent()};y.prototype.za=function(a){return this.Db.requestAnimationFrame(function(b){var c=this.mu();c&&this.hs();a(b);c&&this.Db.submitFrame()}.bind(this))};
y.prototype.isPresenting=function(){return!!this.Db&&this.Db.isPresenting};y.prototype.us=P("Ef");y.prototype.Kf=P("Ve");y.prototype.MN=function(){if(this.isPresenting())p.XG(this.za,this.Db.cancelAnimationFrame.bind(this.Db));else{p.OR();(this.Ef||this.Yd)&&this.iz()}this.trigger(new f(c.W))};y.prototype.qx=function(){return k.available&&d.webgl&&h.lb()&&h.ms()!=h.Yv};y.prototype.Or=function(a){if(k.disabled)i.WS.show(function(){k.LR(function(){this.Or(a)}.bind(this))});else if(s.enabled()||!r.sA()){s.je();
this.kO(function(){this.Or(a)}.bind(this))}else a()};y.prototype.NO=function(){t.Kl(this.Yd.canvas);h.ud()==h.Tv?this.MU():v.enable();h.ud()==h.Sv&&u.Kl()};y.prototype.mu=function(){this.Db.getFrameData(this.fg);if(!this.fg.pose||!this.fg.pose.orientation)return z;this.Fm=this.Db.getEyeParameters("left");this.Jy=this.Db.getEyeParameters("right");var a=this.Db.getLayers();this.ze=a&&a.length&&a[0]||q;return!this.ze?z:o};y.prototype.Mz=function(){this.bc.aA=q;this.bc.Qi=this.Fm.renderWidth*2;this.bc.Qh=
this.Fm.renderHeight;this.bc.eG=1};y.prototype.hs=function(){var a=this.fg.pose;this.ug.orientation.fromArray(a&&a.orientation||A);this.ug.position.fromArray(a&&a.position||x);this.iQ()};y.prototype.iQ=function(){this.hf.position.fromArray(this.Fm.offset);this.hf.orientation.fromArray(A);this.hf.projectionMatrix.fromArray(this.fg.leftProjectionMatrix);this.hf.viewport.x=Math.round(this.bc.Qi*this.ze.leftBounds[0]);this.hf.viewport.y=Math.round(this.bc.Qh*this.ze.leftBounds[1]);this.hf.viewport.width=
Math.round(this.bc.Qi*this.ze.leftBounds[2]);this.hf.viewport.height=Math.round(this.bc.Qh*this.ze.leftBounds[3]);this.nf.position.fromArray(this.Jy.offset);this.nf.orientation.fromArray(A);this.nf.projectionMatrix.fromArray(this.fg.rightProjectionMatrix);this.nf.viewport.x=Math.round(this.bc.Qi*this.ze.rightBounds[0]);this.nf.viewport.y=Math.round(this.bc.Qh*this.ze.rightBounds[1]);this.nf.viewport.width=Math.round(this.bc.Qi*this.ze.rightBounds[2]);this.nf.viewport.height=Math.round(this.bc.Qh*
this.ze.rightBounds[3])};y.prototype.iz=function(){this.eO();this.Ef=this.Yd=q;u.cancel();t.cancel();v.disable();w.hide()};y.Zu=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var A=[0,0,0,1],x=[0,0,0];return y});
define("fy","require,gW,bF,iX,p,bZ,es,em,d,P,n".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("iX"),e=a("p"),d=a("bZ"),h=a("es"),k=a("em"),i=a("d"),n=a("P"),g=a("n"),a=b.extend(h,function(){h.call(this);this.Ef=this.Yd=this.ze=this.Jy=this.Fm=this.fg=this.Db=q;this.za=this.za.bind(this)});a.prototype.xn=function(a){if(this.qx()){var b=function(b){if(this.Db=b.length?b[0]:q){this.Db.depthNear=0.1;this.Db.depthFar=2*k.sf;this.fg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",
this.MN.bind(this),z);window.addEventListener("vrdisplayactivate",this.s_.bind(this));window.addEventListener("vrdisplaydeactivate",this.je.bind(this))}a(!!this.Db)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(z)};a.prototype.Ph=function(){!this.isPresenting()&&!this.Yd&&this.Or(function(){this.QO(function(){this.uO(function(){!this.isPresenting()&&!this.Yd&&this.s_()}.bind(this))}.bind(this))}.bind(this))};a.prototype.je=function(){this.isPresenting()&&this.Db.exitPresent()};
a.prototype.za=function(a){return this.Db.requestAnimationFrame(function(b){var c=this.mu();c&&this.hs();a(b);c&&this.Db.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Db&&this.Db.isPresenting};a.prototype.us=P("Ef");a.prototype.Kf=function(){return d.z6};a.prototype.qx=function(){return"getVRDisplays"in navigator};a.prototype.MN=function(){if(this.isPresenting()){n.XG(this.za,this.Db.cancelAnimationFrame.bind(this.Db));this.mu()&&this.hs()}else{n.OR();(this.Ef||this.Yd)&&
this.iz()}this.trigger(new c(f.W))};a.prototype.Or=function(a){i.sA()?a():this.kO(function(){a()})};a.prototype.s_=function(){this.Yd=this.tO();this.NO();this.Db.requestPresent([{source:this.Yd.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Ef=this.Yd;this.Yd=q;this.mu()&&this.hs()}.bind(this))["catch"](function(){this.Yd=q;this.iz()}.bind(this))};a.prototype.NO=function(){g.Kl(this.Yd.canvas)};a.prototype.mu=function(){this.Db.getFrameData(this.fg);if(!this.fg.pose||!this.fg.pose.orientation)return z;
this.Fm=this.Db.getEyeParameters("left");this.Jy=this.Db.getEyeParameters("right");var a=this.Db.getLayers();this.ze=a&&a.length&&a[0]||q;return!this.ze?z:o};a.prototype.hs=function(){this.Mz();var a=this.fg.pose;this.ug.orientation.fromArray(a&&a.orientation||l);this.ug.position.fromArray(a&&a.position||r);this.iQ()};a.prototype.Mz=function(){this.bc.aA=q;this.bc.Qi=this.Fm.renderWidth*2;this.bc.Qh=this.Fm.renderHeight;this.bc.eG=e.Lf()?2048/this.bc.Qh:1};a.prototype.iQ=function(){this.hf.position.fromArray(this.Fm.offset);
this.hf.orientation.fromArray(l);this.hf.projectionMatrix.fromArray(this.fg.leftProjectionMatrix);var a=this.ze.leftBounds&&this.ze.leftBounds.length==4?this.ze.leftBounds:p;this.hf.viewport.x=Math.round(this.bc.Qi*a[0]);this.hf.viewport.y=Math.round(this.bc.Qh*a[1]);this.hf.viewport.width=Math.round(this.bc.Qi*a[2]);this.hf.viewport.height=Math.round(this.bc.Qh*a[3]);this.nf.position.fromArray(this.Jy.offset);this.nf.orientation.fromArray(l);this.nf.projectionMatrix.fromArray(this.fg.rightProjectionMatrix);
a=this.ze.rightBounds&&this.ze.rightBounds.length==4?this.ze.rightBounds:s;this.nf.viewport.x=Math.round(this.bc.Qi*a[0]);this.nf.viewport.y=Math.round(this.bc.Qh*a[1]);this.nf.viewport.width=Math.round(this.bc.Qi*a[2]);this.nf.viewport.height=Math.round(this.bc.Qh*a[3])};a.prototype.iz=function(){this.Ef=this.Yd=q;g.cancel()};var l=[0,0,0,1],r=[0,0,0],p=[0,0,0.5,1],s=[0.5,0,0.5,1];return a});
define("gF","require,gW,bF,iX,p,bZ,es,em,d,P,n".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("iX"),e=a("p"),d=a("bZ"),h=a("es"),k=a("em"),i=a("d"),n=a("P"),g=a("n"),l=b.extend(h,function(){h.call(this);this.js=this.OF=this.Mh=this.Ef=q;this.xu="stopped";this.za=this.za.bind(this);this.zO=this.zO.bind(this);this.sO=this.sO.bind(this)});l.prototype.xn=function(a){if(this.qx())this.lga().then(function(b){b?a(o):a(z)})["catch"](function(){a(z)});else a(z)};l.prototype.Ph=function(){this.xu=="stopped"&&
this.Or(function(){this.QO(function(){this.uO(function(){this.xu=="stopped"&&this.Tfa()}.bind(this))}.bind(this))}.bind(this))};l.prototype.Tfa=function(){this.xu="starting";this.trigger(new c(f.W));n.hS(o);navigator.xr.requestSession("immersive-vr").then(function(a){this.Mh=a;this.Mh.addEventListener("end",this.zO);this.Mh.addEventListener("select",this.sO);return this.Mh.requestReferenceSpace("local")}.bind(this)).then(function(a){this.OF=a;this.Ef=this.tO();return this.Ef.makeXRCompatible()}.bind(this)).then(function(){g.Kl(this.Ef.canvas);
var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.Mh),a=Math.max(a,1);e.P3()?a=a*1:e.Lf()?a=a*1.42222:e.lb()&&(a=a*l.Zu);this.js=new XRWebGLLayer(this.Mh,this.Ef,{antialias:z,framebufferScaleFactor:a});this.Mh.updateRenderState({baseLayer:this.js,depthNear:0.1,depthFar:2*k.sf});this.Mz();this.xu="started";n.XG(this.za,this.Mh.cancelAnimationFrame.bind(this.Mh));n.hS(z)}.bind(this))["catch"](function(){n.hS(z);this.k0();this.trigger(new c(f.W))}.bind(this))};l.prototype.je=function(){this.isPresenting()&&
this.Mh.end()};l.prototype.za=function(a){return this.Mh.requestAnimationFrame(function(b,c){this.l2=c;this.hs();a(b)}.bind(this))};l.prototype.isPresenting=function(){return this.xu!="stopped"};l.prototype.Kf=function(){return d.A6};l.prototype.us=P("Ef");l.prototype.qx=function(){return"xr"in navigator};l.prototype.lga=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):
Promise.reject()};l.prototype.Or=function(a){i.sA()?a():this.kO(function(){a()})};l.prototype.zO=function(){n.OR();this.k0();this.trigger(new c(f.W))};l.prototype.sO=function(){this.trigger(new c(f.Sl))};l.prototype.k0=function(){this.js=this.OF=this.Mh=this.Ef=q;this.xu="stopped";g.cancel()};l.prototype.Mz=function(){this.bc.aA=this.js.framebuffer;this.bc.Qi=this.js.framebufferWidth;this.bc.Qh=(e.ud()==e.Rv?2:1)*this.js.framebufferHeight;this.bc.eG=1};l.prototype.hs=function(){var a=this.l2.getViewerPose(this.OF),
b=a&&a.transform.orientation||r;this.ug.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||p;this.ug.position.set(b.x,b.y,b.z);for(var a=this.l2.getViewerPose(this.OF.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var d=a.views[c],e;if(d.eye=="left")e=this.hf;else if(d.eye=="right")e=this.nf;else continue;b=d.transform.position;e.position.set(b.x,b.y,b.z);b=d.transform.orientation;e.orientation.set(b.x,b.y,b.z,b.w);e.projectionMatrix.fromArray(d.projectionMatrix);d=this.js.getViewport(d);
e.viewport.x=d.x;e.viewport.y=d.y;e.viewport.width=d.width;e.viewport.height=d.height}var g=[];this.Mh.inputSources.forEach(function(a){a.gamepad&&g.push(a.gamepad)});this.ug.hG=g};l.Zu=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var r={x:0,y:0,z:0,w:1},p={x:0,y:0,z:0};return l});
define("Y","require,iX,dQ,p,in,gJ,cA,bZ,iP,fy,gF,eq".split(","),function(a){function b(a,c){if(a.length){var d=new a[0];d.xn(function(e){e?c(d):b(a.slice(1),c)})}else c(q)}var c=a("iX"),f=a("dQ"),e=a("p"),d=a("in"),h=a("gJ"),k=a("cA"),i=a("bZ"),n=a("iP"),g=a("fy"),l=a("gF"),r=a("eq"),p=z,s=[],t=new f;t.ai=n.ai;t.p6=k;t.Jna=i;t.available=R(o);t.Bl=R(q);t.lG=R(q);t.isPresenting=R(z);t.Ph=function(){p=o};t.je=function(){p=z};t.woa=R(q);t.Tu=function(a){s.indexOf(a)<0&&s.push(a)};t.KR=function(a){a=s.indexOf(a);
a==-1||s.splice(a,1)};t.kma=function(a){h.Zu=a;l.Zu=a};t.tja=function(){return h.Zu};t.Kf=R(q);t.rG=R(q);t.log=function(){t.available()?t.Kf()?utils.log("VR: "+t.Kf()):utils.log("VR: not ready"):utils.log("VR: not available");utils.log("gyroscope: "+d.available)};a=e.browser()==e.Zh&&!e.lb()?[l,g,h]:e.P3()?[l,g]:[g,l,h];b(a,function(a){if(a){a.bind(c.W,function(){t.trigger(c.W)},t,o);a.bind(c.Sl,function(){t.trigger(c.Sl)},t,o);t.available=R(o);t.lG=function(){return a.lG()};t.Bl=function(){return a.Bl()};
t.isPresenting=function(){return a.isPresenting()};t.Ph=function(){a.Ph()};t.je=function(){a.je()};t.us=function(){return a.us()};t.Tu=function(b){a.Tu(b)};t.KR=function(b){a.KR(b)};t.Kf=function(){return a.Kf()};t.rG=function(){return a.rG()};s.forEach(function(b){a.Tu(b)});p&&a.Ph()}else t.available=R(z)});t.bind(c.W,function(){r.QG(t.isPresenting())},window,o);return t});
define("cv","require,iX,gZ,dQ,P,Y".split(","),function(a){function b(a){this.iC=a;this.ni=q;this.uJ={};for(a=0;a<this.iC.buttons.length;a++)this.uJ[this.iC.buttons[a]]=z;this.tJ=0;this.yy=q;this.BE=[new THREE.Quaternion,new THREE.Quaternion];this.AE=this.BE[0];this.Ch=[new THREE.Vector3,new THREE.Vector3];this.Hd=this.Ch[0]}function c(a,b,c){this.Pja=a;this.buttons=b;this.Ika=c}function f(){if(!(x||y==g.Kd)){y=g.Kd;var a,c=l.isPresenting()&&l.Bl();if(a=c&&c.hG&&c.hG.length?c.hG:navigator.getGamepads&&
navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].H4(q);for(c=0;c<a.length;c++){var d=a[c];if(d&&d.pose){var f=d.id,h=w[f];if(!h){var k;a:{k=f;for(var n=0;n<r.length;n++){var t=r[n];if(k.indexOf(s[t].Pja)==0){k=t;break a}}k=m}k&&u.push(h=w[f]=new b(s[k]))}h&&w[f].H4(d)}}(a=v)&&!v.jR()&&(v=q);for(c=0;c<u.length;c++){h=u[c];if(h.jR()&&h.pressed()){v=h;break}}if(!v)for(c=0;c<u.length;c++){h=u[c];if(h.jR()){if(h.hand()==p){v=h;break}v||(v=h)}}a!=v&&i.BA(e)}}}function e(){t.trigger(k.W)}function d(){f()}
function h(){if(l.isPresenting()){if(A){clearInterval(A);A=q}f();A=setInterval(d,500)}else if(A){clearInterval(A);A=q}}var k=a("iX"),i=a("gZ"),n=a("dQ"),g=a("P"),l=a("Y"),r=["oculus go","oculus touch","gear vr","daydream","vive","vive focus","microsoft","unknown"],p="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["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("",[],m);b.prototype.H4=function(a){if(this.ni=a){this.Gaa=this.ni.hand;this.yy=this.ni.pose;if(this.yy.orientation){this.AE=
this.BE[0]==this.AE?this.BE[1]:this.BE[0];this.AE.fromArray(this.yy.orientation)}if(this.yy.position){this.Hd=this.Ch[0]==this.Hd?this.Ch[1]:this.Ch[0];this.Hd.fromArray(this.yy.position)}else this.Hd=q;for(var a=0,b=Math.min(this.ni.buttons.length,this.ni.buttons.length);a<b;a++)this.uJ[this.iC.buttons[a]]=this.ni.buttons[a].pressed;for(a=this.tJ=0;a<this.ni.buttons.length;a++)this.ni.buttons[a].pressed&&this.tJ++}};b.prototype.pulse=function(a,b){var c=this.ni&&this.ni.hapticActuators;(c=c.length&&
c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.jR=function(){return!!this.ni};b.prototype.hand=P("Gaa");b.prototype.quaternion=P("AE");b.prototype.position=P("Hd");b.prototype.pressed=function(a){a||(a=this.iC.Ika);return!a?this.tJ>0:this.uJ[a]};var t=new n;t.all=function(){f();return u};t.EG=function(){f();return v};t.xa="left";t.Za=p;var u=[],v=q,w={},y=m,A=q,x=URL.sn("disable-controller",z);l.bind(k.W,h);h();return t});
define("cc",["require","eh","a"],function(a){function b(a,b){this.xd=a||new c(0,0,0);this.ig=b||new c(1,0,0)}var c=a("eh"),f=a("a");b.prototype.clone=function(){return new b(this.xd.clone(),this.ig.clone())};b.prototype.apply=function(a){a.Vu(this.xd);a.Vu(this.ig)};b.prototype.Bja=function(){return f.wp(this.xd,this.ig)};return b});
define("eY",["cc","eh"],function(a,b){function c(a,b,c){this.M=a||100;this.aa=b||100;this.na=c||Math.PI;this.RN=m;this.Gk=o}c.prototype.HA=function(a){this.na!=a&&(this.na=a,this.Gk=o)};c.prototype.xp=P("na");c.prototype.QA=function(a){this.M!=a&&(this.M=a,this.Gk=o)};c.prototype.Ac=P("M");c.prototype.I4=function(a){this.aa!=a&&(this.aa=a,this.Gk=o)};c.prototype.kd=P("aa");c.prototype.project=function(a){if(0!=a.z){this.O1();var b=1/a.z,c=this.RN*b;a.x=0.5*this.M-a.x*c;a.y=0.5*this.aa-a.y*c;a.z=b}};
c.prototype.unproject=function(c){this.O1();return new a(new b(0,0,0),new b(0.5*this.M-c.x,0.5*this.aa-c.y,this.RN))};c.prototype.O1=function(){this.Gk&&(this.RN=0.5*this.M/Math.tan(0.5*this.na),this.Gk=z)};return c});
define("jc",["require"],function(){function a(){this.Sc=this.pitch=this.yaw=0;this.If=this.hfov=90;this.UF=this.vQ=this.height=this.width=100;this.AR=1;this.Sb=z;this.Xg=0;this.GG=z;this.vv=this.yA=o;this.Og=this.Ge=q;this.enabled=z;this.Kd=0}a.prototype.clone=function(){var b=new a;b.yaw=this.yaw;b.pitch=this.pitch;b.Sc=this.Sc;b.hfov=this.hfov;b.If=this.If;b.width=this.width;b.height=this.height;b.vQ=this.vQ;b.UF=this.UF;b.AR=this.AR;b.Sb=this.Sb;b.Xg=this.Xg;b.GG=this.GG;b.yA=this.yA;b.vv=this.vv;
b.Ge=this.Ge;b.Og=this.Og;b.enabled=this.enabled;b.Kd=this.Kd;return b};return a});
define("gK",["require","p","hu"],function(a){var b=a("p"),c=a("hu"),f={},e=180/Math.PI,d=Math.PI/180;f.Gl=function(a,b,c){return this.Yz(a,b,c)};f.Jn=function(a,b,c){return this.Yz(a,c,b)};f.Yz=function(a,b,c){return 2*Math.atan(c*Math.tan(0.5*a*d)/b)*e};f.xoa=function(a){return b.browser()==b.Qv?Math.max(a,20):a};f.WQ=function(a,b,e,n,g){b||(b=f.Gl(a,e,n));g||(g=c.jq);var l={};switch(g){case c.jq:l.hfov=a;l.Nl=b;break;case c.Ie:l.hfov=Math.min(f.Jn(b,e,n),a);l.Nl=Math.min(f.Gl(a,e,n),b);break;case c.Ql:l.hfov=
Math.max(f.Jn(b,e,n),a);l.Nl=Math.max(f.Gl(a,e,n),b);break;case c.wk:l.hfov=a;l.Nl=f.Gl(a,e,n);break;case c.ng:l.hfov=f.Jn(b,e,n),l.Nl=b}l.hfov>a?(l.wS=Math.tan(0.5*a*d)*e/Math.tan(0.5*l.hfov*d)/e,l.o5=0.5*(1-l.wS),l.hfov=a):(l.o5=0,l.wS=1);l.Nl>b?(l.yS=Math.tan(0.5*b*d)*n/Math.tan(0.5*l.Nl*d)/n,l.r5=0.5*(1-l.yS),l.Nl=b):(l.r5=0,l.yS=1);return l};return f});define("co",["require"],function(){return{tk:0,xa:1,Za:2}});
define("gI",["require","eQ"],function(a){function b(){this.status=b.oB;this.GR=this.Cs=0;this.FR=[]}a("eQ");b.LOADING="loading";b.O="loaded";b.oB="not loaded";return b});
define("gS","require,cE,gW,bF,iX,gz,gI".split(","),function(a){function b(){this.AW={};this.ac=[];this.Eo=[];this.xc={}}var c=a("cE"),f=a("gW");a("bF");var e=a("iX"),d=a("gz"),h=a("gI");b.prototype.pS=function(a){for(var a=a.kk(),b=0,c=a.length;b<c;b++)if(this.bx(a[b]).status!=h.O)return z;return o};b.prototype.zn=function(a,b){this.ac.push(a);this.c7(a,b)};b.prototype.Xh=function(a,b){var d=c(this.ac).indexOf(a);d<0&&j("Unloading item not loaded");this.ac.splice(d,1);this.$da(a,b)};b.prototype.vd=
function(a,b){return this.xc[a].vd(b)};b.prototype.c7=function(a,b){this.Eo.push(a);for(var c=a.kk(),d=0,e=c.length;d<e;d++){var f=c[d],p=this.bx(f);p.Cs++;p.FR.push(b);if(p.status==h.oB){p.status=h.LOADING;this.Mba(f,Math.min.apply(Math,p.FR))}}this.J1()};b.prototype.$da=function(a,b){this.Eo=c(this.Eo).without(a);for(var d=a.kk(),e=0,f=d.length;e<f;e++){var r=d[e],p=this.bx(r);p.Cs--;var s=p.FR,t=s.indexOf(b);t>=0&&s.splice(t,1);if(p.Cs==0&&p.status!=h.oB){p.status=h.oB;p.GR=0;this.Sga(r)}}};b.prototype.J1=
function(a){for(var a=(a==m?this.Eo:this.mX(a)).slice(),b=0;b<a.length;b++){for(var d=a[b],e=d.kk(),f=0,r=0,p=e.length,s=0;s<e.length;s++){var t=this.bx(e[s]),f=f+t.GR;t.status==h.O&&r++}d.Vla(f/p);if(r==p){d.bS();this.Eo=c(this.Eo).without(d)}}};b.prototype.bx=function(a){var b=this.AW[a];b||(this.AW[a]=b=new h);return b};b.prototype.mX=function(a){for(var b=[],d=0;d<this.Eo.length;d++){var e=this.Eo[d];c(e.kk()).contains(a)&&b.push(e)}return b};b.prototype.Mba=function(a,b){var c=new d(b);this.xc[a]=
c;c.bind(e.O,this.ay,this,o);c.bind(e.dd,this.by,this,o);c.load(a)};b.prototype.Sga=function(a){var b=this.xc[a];delete this.xc[a];b.unbind(e.O,this.ay,this);b.unbind(e.dd,this.by,this);b.cancel()};b.prototype.ay=function(a){var a=a.source.Ee(),b=this.bx(a);b.GR=100;b.status=h.O;this.J1(a)};b.prototype.by=function(a){for(var a=a.source.Ee(),b=this.mX(a),c=0;c<b.length;c++){var d=b[c];this.Xh(d);d.yla()}f.log("Error loading: "+a)};b.Zc=new b;return b.Zc});
define("iv",["require","gS","eB","p"],function(a){var b=a("gS"),c=a("eB"),f=a("p"),e={NM:m,Xla:L("NM"),AK:m,vla:L("AK"),createTexture:function(){var a=new THREE.Texture;a.image=e.lv();a.userData={};a.userData.l5={};return a},mia:function(a){a.image!=this.lv()&&(a.image=this.lv(),a.needsUpdate=o)},eH:function(a,b){b=this.Ria(b);a.generateMipmaps=this.l8(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,!c.U3(b.width)||!c.U3(b.height)?(a.Rk||(a.Rk=document.createElement("canvas"),a.Rk.mF=
o),a.image=a.Rk,a.Rk.Ua=b,a.image.width=c.b3(b.width),a.image.height=c.b3(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.uA(b)&&c.Tma(b)){a.Hj||(a.Hj=document.createElement("canvas"),a.mba=a.Hj.getContext("2d"),a.Hj.mF=o);var f=b.videoWidth;c.Ti()&&(f=Math.min(3168,f));var i=f*b.videoHeight/b.videoWidth;if(a.Hj.width!=f||a.Hj.height!=i)a.Hj.width=f,a.Hj.height=i;b.readyState>=b.HAVE_CURRENT_DATA&&a.mba.drawImage(b,
0,0,f,i);a.image=a.Hj}else a.image=b;a.Rk&&a.image!=a.Rk&&(e.$F(a.Rk),delete a.Rk);a.needsUpdate=o;if((f=e.XQ(a))&&f.Goa)f.needsUpdate=o;c.I3()},Ria:function(a){a?c.iR(a)?a=b.vd(a,z):c.V3(a)?a=this.lv():c.uA(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.lv()):a=this.lv();return a},uia:function(a,b,e,f,n){var g=document.createElement("canvas");g.width=c.Vl();g.height=c.Vl();g.mF=o;var l=g.getContext("2d");if(!l)return q;l.drawImage(a,b,e,f,n,0,0,c.Vl(),c.Vl());
this.dG(g);return g},$F:function(a){c.N3(a)&&a.mF&&(delete a.mF,a.width=0,a.height=0)},dispose:function(a){a.Hj&&a.Hj!=a.image&&this.$F(a.Hj);a.image&&this.$F(a.image);a.dispose()},oma:function(a,b){a.userData.l5.material=b},XQ:function(a){return a.userData.l5.material},eia:function(a){return c.hR(a)},B2:function(a){c.iR(a)&&(a=b.vd(a,z));c.hR(a)&&this.dG(a)},dG:function(a){var b=document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");e.dG=function(a){c.drawImage(a,0,0,1,1,
0,0,1,1)};return e.dG(a)},xK:q,lv:function(){if(!this.xK){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.xK=a}return this.xK},l8:function(a){if(c.jka(a)||c.N3(a))return z;if(f.lb()){if(this.NM!==m)return this.NM}else if(this.AK!==m)return this.AK;return z}};return e});
define("bA",["require","eB","iv"],function(a){function b(a){this.UA=(a=c.Q3(a))&&c.Oja();this.pA=a&&c.Nja();this.sp=0;this.ul=m;this.Vz=this.Wz=0}var c=a("eB"),f=a("iv"),e={VQ:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},nn:function(a,b){a||(a=new THREE.Texture);b||(b=new e.fj);return b.ala()?this.sia(a,b):this.XF(a)},XF:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.YU(b);return b},sia:function(a,b){var c={uniforms:{},transparent:o};c.uniforms.texture=
{type:"sampler2D",value:a};a.flipY=!b.UA;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.UA?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.pA||b.sp||b.ul){var e=[],f=[],e=e.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};f=f.concat([" vec4 color = texture2D(texture, vUV);"," float alpha = color.a * opacity;"]);if(b.sp){var g=
a.image.width,l=a.image.height,r=0.5*Math.min(g,l)*b.sp;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(r/g,r/l)};e=e.concat(["uniform vec2 blendingLimit;"]);f=f.concat(" float xCoef = 0.0;, float yCoef = 0.0;, if (vUV.x < blendingLimit.x) {, xCoef = 1.0 - (vUV.x / blendingLimit.x);, xCoef = xCoef * xCoef;, } else if ((1.0 - vUV.x) < blendingLimit.x) {, xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);, xCoef = xCoef * xCoef;, }, if (vUV.y < blendingLimit.y) {, yCoef = 1.0 - (vUV.y / blendingLimit.y);, yCoef = yCoef * yCoef;, } else if ((1.0 - vUV.y) < blendingLimit.y) {, yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);, yCoef = yCoef * yCoef;, }, alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}b.ul&&
(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.ul.substr(1,2),16)/255,parseInt(b.ul.substr(3,2),16)/255,parseInt(b.ul.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.Wz},c.uniforms.chromaSmoothing={type:"f",value:b.Vz},e=e.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),f=f.concat(" float maskY = 0.2989 * chromaColor.r + 0.5866 * chromaColor.g + 0.1145 * chromaColor.b;{ float maskCr = 0.7132 * (chromaColor.r - maskY);{ float maskCb = 0.5647 * (chromaColor.b - maskY);{ float Y = 0.2989 * color.r + 0.5866 * color.g + 0.1145 * color.b;{ float Cr = 0.7132 * (color.r - Y);{ float Cb = 0.5647 * (color.b - Y);{ float chromaBlendValue = smoothstep(chromaThreshold, chromaThreshold + chromaSmoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb)));{ alpha = alpha * chromaBlendValue;".split("{")));
f=f.concat(["\tgl_FragColor = vec4(color"+(b.pA?".bgr":".rgb")+", alpha);"]);a.format=THREE.RGBAFormat;c.fragmentShader=[].concat(e,["void main() {"],f,["}"]).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.YU(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=e.VQ(a);b&&f.dispose(b);a.dispose()})},YU:function(a){a.side=THREE.DoubleSide;
a.transparent=o;a.depthTest=z;a.needsUpdate=o;a.userData={};a.userData.Z3={};f.oma(e.VQ(a),a)},fS:function(a,b){a.userData.Z3.rR=b},X2:function(a){return a.userData.Z3.rR}};b.prototype.ala=function(){return this.UA||this.pA||this.sp||this.ul};b.prototype.isEqual=function(a){return this.UA===a.UA&&this.pA===a.pA&&this.sp===a.sp&&this.ul===a.ul&&this.Wz===a.Wz&&this.Vz===a.Vz};e.fj=b;return e});
define("cL",["require","em","bA"],function(a){function b(a){return Array.isArray(a)?a:a?[a]:[]}var c=a("em"),f=a("bA"),e={create:function(a,c){var e=new THREE.Mesh(a,c);e.overdraw=z;e.matrixAutoUpdate=z;e.userData.Bn={};e.userData.Bn.attributes={};b(c).forEach(function(a){f.fS(a,e)});return e},qia:function(a){var b=new THREE.Group;e.forEach(a,function(a){b.add(a)});return b},eS:function(a,c){b(c).forEach(function(a){f.fS(a,q)});f.dispose(a.material);a.material=c;b(c).forEach(function(b){f.fS(b,a)})},
yp:function(a){return b(a.material)},nja:function(a,b){if(a.layers.mask&b.layers.mask){var f=e.yp(a);return c.mja(a.geometry,b,a.matrixWorld).map(function(a){return f[a]})}return[]},RQ:function(a,b){var k=[];e.Be(a,function(a){var d=e.yp(a);b.forEach(function(b){var e=c.ija(a.geometry,a.matrixWorld,b);if(e){var h=f.VQ(d[e.materialIndex]),b=h.image;b==h.Rk&&(b=h.Rk.Ua);h=Math.round(e.Lma*b.width-0.5);h=0>h?0:h>b.width-1?b.width-1:h;e=Math.round((1-e.Sma)*b.height-0.5);e=0>e?0:e>b.height-1?b.height-
1:e;k.push({x:h,y:e,source:b})}})});return k},W4:function(a,b){e.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},Ns:"panoramaId",Os:"panoramaFrameId",CS:"panoramaOverlayId",jH:"levelIndex",setAttribute:function(a,b,c){e.Be(a,function(a){a.userData.Bn.attributes[b]=c})},getAttribute:function(a,b){return a.userData.Bn.attributes[b]},G2:function(a,b,c){for(var e=[],f=0,g=a.length;f<g;f++){var l=a[f];l.userData.Bn.attributes[b]!==c&&e.push(l)}return e},bG:function(a,b,c){for(var e=[],
f=0,g=a.length;f<g;f++){var l=a[f];l.userData.Bn.attributes[b]===c&&e.push(l)}return e},m3:function(a,b){for(var c={},e=0,f=a.length;e<f;e++){var g=a[e],l=g.userData.Bn.attributes[b];l!==m&&(c[l]||(c[l]=[])).push(g)}return c},HQ:function(a){a=a.userData.Bn.alpha;return a===m?1:a},Tc:function(a,b){e.Be(a,function(a){a.userData.Bn.alpha=b;e.yp(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},tp:function(a,b){e.Be(a,function(a){a.matrix.copy(b);
a.matrixWorldNeedsUpdate=o})},k3:function(a){return a.renderOrder},mS:function(a,b){e.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){e.Be(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=m);a.material&&(f.dispose(a.material),a.material=m)})},ov:function(a){var b=[];e.Be(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)},Be:function(a,b){if(Array.isArray(a))for(var c=0,f=a.length;c<f;c++)e.Be(a[c],
b);else if(a&&a.children){c=0;for(f=a.children.length;c<f;c++)e.Be(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return e});define("F",["require","cL"],function(a){var b=a("cL");return{ov:function(a){var f=[];a.children&&a.children.forEach(function(a){b.Be(a,function(a){a.userData&&a.userData.Bn&&f.push(a)})});return f},ZR:function(a,b){a.userData.TF=b},KQ:function(a){return a.userData.TF||[]},hv:function(a){return a.userData.TF&&0<a.userData.TF.length&&a.userData.TF[0]||q}}});
define("R","require,Y,p,co,F,eB".split(","),function(a){function b(){if(f.lb()){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("Y"),f=a("p"),e=a("co"),d=a("F"),h=a("eB"),k=180/
Math.PI;return{a6:function(a,c){var e,f;this.setSize=function(b,c){if(e!=b||f!=c){e=b;f=c;a.setSize(b,c)}};this.start=function(e){d.ZR(e,[c]);a.setPixelRatio(b())};this.stop=C();this.fov=function(){return c.fov};this.xS=C();this.Og=function(){return c};this.render=function(b,d,e){a.setRenderTarget(d);e&&a.clear();a.render(b,c)}},w6:function(a,b){var g,f,h,p,s=new THREE.Vector2,t=new THREE.PerspectiveCamera;t.layers.enable(e.xa);var u=new THREE.PerspectiveCamera;u.layers.enable(e.Za);this.start=function(b){a.getSize(s);
g=a.getPixelRatio();f=s.width;h=s.height;p=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var e=c.lG();e.aA&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,e.aA);a.setClearColor(0,1);a.setDrawingBufferSize(e.Qi,e.Qh,e.eG);d.ZR(b,[t,u])};this.stop=function(){a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,p);a.setClearColor(0,0);a.setDrawingBufferSize(f,h,g)};this.setSize=function(a,b){f=a;h=b};this.fov=function(){return u.fov};this.Og=function(){return u};this.xS=
function(){b.updateProjectionMatrix();b.updateMatrixWorld();c.Bl().views.forEach(function(a){var d=a.eye==c.ai.xa?t:a.eye==c.ai.Za?u:q;if(d){b.matrixWorld.decompose(d.position,d.quaternion,d.scale);d.applyQuaternion(a.orientation);d.translateOnAxis(a.position,1);d.projectionMatrix.copy(a.projectionMatrix);d.fov=2*Math.atan(1/d.projectionMatrix.elements[5])*k}})};this.render=function(b,d,e){var g=b.autoUpdate;if(g){b.updateMatrixWorld();b.autoUpdate=z}if(d){a.setRenderTarget(d);d.scissorTest=o}else{a.setRenderTarget(q);
a.setScissorTest(o)}(a.autoClear||e)&&a.clear();c.Bl().views.forEach(function(e){var g=e.eye==c.ai.xa?t:e.eye==c.ai.Za?u:q;if(g){if(d){d.viewport.set(e.viewport.x,e.viewport.y,e.viewport.width,e.viewport.height);d.scissor.set(e.viewport.x,e.viewport.y,e.viewport.width,e.viewport.height)}else{a.setViewport(e.viewport.x,e.viewport.y,e.viewport.width,e.viewport.height);a.setScissor(e.viewport.x,e.viewport.y,e.viewport.width,e.viewport.height)}a.render(b,g)}});a.getSize(s);if(d){d.viewport.set(0,0,s.width,
s.height);d.scissor.set(0,0,s.width,s.height);d.scissorTest=z;a.setRenderTarget(q)}else{a.setViewport(0,0,s.width,s.height);a.setScissorTest(z)}if(g)b.autoUpdate=o}},q6:function(a,c){var g,f,k=1,p=new THREE.CubeCamera(0.1,1E4,1024);p.layers.enable(e.tk);p.layers.enable(e.xa);var s=new THREE.ShaderMaterial;s.uniforms={tCube:{value:p.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=z;s.transparent=o;s.depthTest=z;s.needsUpdate=o;var t=new THREE.Mesh(new THREE.SphereBufferGeometry(5,64,64),s);t.overdraw=z;t.matrixAutoUpdate=z;t.renderOrder=1E3;var u=new THREE.Matrix4;this.Hs=function(a){k=a};this.setSize=
function(b,c){if(g!=b||f!=c)a.setSize(g=b,f=c)};this.start=function(e){e.add(t);e.add(p);e.traverse(function(a){if(a.layers.test(p.layers)){a.userData.kR=a.layers.mask;a.layers.mask=p.layers.mask}});p.visible=o;t.visible=o;d.ZR(e,[c]);a.setClearColor(16777215,1);a.setPixelRatio(b())};this.stop=function(){a.setClearColor(0,0);scene.traverse(function(a){if(a.userData.kR!==m){a.layers.mask=a.userData.kR;delete a.userData.kR}});p.visible=z;t.visible=z;scene.remove(t);scene.remove(p)};this.fov=function(){return c.fov};
this.xS=function(){if(k>0){t.matrix.copy(c.matrixWorld);t.matrix.multiply(u.makeTranslation(0,0,-k*5));t.matrixWorldNeedsUpdate=o}};this.Og=function(){return c};var v=0;this.render=function(b,d,e){if(k>0){v++;if(!h.Vja()||v%10==0){h.pla();t.visible=z;p.update(a,b);t.visible=o}}a.setRenderTarget(d);e&&a.clear();a.render(b,c)}}}});
define("i",["require"],function(){function a(a,b){this.g=a;this.U_=b;this.Gy=new THREE.CustomRenderPass(b);this.OE=new THREE.SavePass;this.Vn=new THREE.ShaderPass(THREE.z5,"tDiffuse1");this.Vn.uniforms.tDiffuse2.value=this.OE.renderTarget.texture;this.Vn.uniforms.mixRatio.value=0.8;this.VZ=new THREE.ShaderPass(THREE.CopyShader);this.VZ.Fp=o;this.Jq=new THREE.EffectComposer(a);this.Jq.addPass(this.Gy);this.Jq.addPass(this.Vn);this.Jq.addPass(this.OE);this.Jq.addPass(this.VZ);this.SJ=this.TJ=this.Km=
m;this.Q4(z)}var b=new THREE.Vector2;a.prototype.destroy=function(){this.Jq=this.Vn=this.OE=this.Gy=this.U_=this.g=q};a.prototype.Q4=function(a){if(this.Km!==a){this.Km=a;this.Gy.Fp=!this.Km;this.Vn.Fp=this.Km;this.OE.enabled=this.Km;if(this.Vn.enabled=this.Km)this.Vn.uniforms.mixRatio.value=0;this.hL=3}};a.prototype.render=function(a,f){if(this.Km){this.g.getSize(b);if(this.TJ!==b.width||this.SJ!==b.height)this.TJ=b.width,this.SJ=b.height,this.Jq.setSize(this.TJ,this.SJ);this.Gy.scene=a;this.Gy.Og=
f;this.Km&&0<this.hL&&(this.hL--,0===this.hL&&(this.Vn.uniforms.mixRatio.value=0.65));this.Jq.render()}else this.U_(this.g,a,f,q,z)};THREE.z5={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.Jl=a;if(b===m){var e={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,
format:THREE.RGBAFormat,stencilBuffer:z},d=a.getSize(new THREE.Vector2);this.Ci=a.getPixelRatio();this.M=d.width;this.aa=d.height;b=new THREE.WebGLRenderTarget(this.M*this.Ci,this.aa*this.Ci,e);b.texture.name="EffectComposer.rt1"}else this.Ci=1,this.M=b.width,this.aa=b.height;this.Fv=b;this.Gv=b.clone();this.Gv.texture.name="EffectComposer.rt2";this.WA=this.Fv;this.zA=this.Gv;this.Fp=o;this.Dp=[];THREE.CopyShader===m&&console.error("THREE.EffectComposer relies on THREE.CopyShader");THREE.ShaderPass===
m&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.pia=new THREE.ShaderPass(THREE.CopyShader);this.nia=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.zA;this.zA=this.WA;this.WA=a},addPass:function(a){this.Dp.push(a);a.setSize(this.M*this.Ci,this.aa*this.Ci)},insertPass:function(a,b){this.Dp.splice(b,0,a)},bka:function(a){for(a+=1;a<this.Dp.length;a++)if(this.Dp[a].enabled)return z;return o},render:function(a){a===m&&(a=this.nia.getDelta());
var b=this.Jl.getRenderTarget(),e=z,d,h,k=this.Dp.length;for(h=0;h<k;h++)if(d=this.Dp[h],d.enabled!==z){d.Fp=this.Fp&&this.bka(h);d.render(this.Jl,this.WA,this.zA,a,e);if(d.wR){if(e){var i=this.Jl.getContext(),n=this.Jl.state.buffers.stencil;n.setFunc(i.NOTEQUAL,1,4294967295);this.pia.render(this.Jl,this.WA,this.zA,a);n.setFunc(i.EQUAL,1,4294967295)}this.swapBuffers()}THREE.MaskPass!==m&&(d instanceof THREE.MaskPass?e=o:d instanceof THREE.ClearMaskPass&&(e=z))}this.Jl.setRenderTarget(b)},reset:function(a){a===
m&&(a=this.Jl.getSize(new THREE.Vector2),this.Ci=this.Jl.getPixelRatio(),this.M=a.width,this.aa=a.height,a=this.Fv.clone(),a.setSize(this.M*this.Ci,this.aa*this.Ci));this.Fv.dispose();this.Gv.dispose();this.Fv=a;this.Gv=a.clone();this.WA=this.Fv;this.zA=this.Gv},setSize:function(a,b){this.M=a;this.aa=b;var e=this.M*this.Ci,d=this.aa*this.Ci;this.Fv.setSize(e,d);this.Gv.setSize(e,d);for(var h=0;h<this.Dp.length;h++)this.Dp[h].setSize(e,d)},setPixelRatio:function(a){this.Ci=a;this.setSize(this.M,this.aa)}});
THREE.Pass=function(){this.wR=this.enabled=o;this.Fp=this.clear=z};Object.assign(THREE.Pass.prototype,{setSize:C(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}});THREE.Pass.FullScreenQuad=function(){function a(b){this.CD=new THREE.Mesh(e,b)}var b=new THREE.OrthographicCamera(-1,1,1,-1,0,1),e=new THREE.PlaneBufferGeometry(2,2);Object.defineProperty(a.prototype,"material",{get:function(){return this.CD.material},set:function(a){this.CD.material=a}});
Object.assign(a.prototype,{dispose:function(){this.CD.geometry.dispose()},render:function(a){a.render(this.CD,b)}});return a}();THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.Xka=a;this.Og=this.scene=q;this.clear=o;this.wR=this.clearDepth=z};THREE.CustomRenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.CustomRenderPass,render:function(a,b,e){b=a.autoClear;a.autoClear=z;this.Xka(a,this.scene,this.Og,this.Fp?q:e,this.clear);a.autoClear=b}});THREE.ShaderPass=
function(a,b){THREE.Pass.call(this);this.RA=b!==m?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.gG=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,
render:function(a,b,e){this.uniforms[this.RA]&&(this.uniforms[this.RA].value=e.texture);this.gG.material=this.material;this.Fp?a.setRenderTarget(q):(a.setRenderTarget(b),this.clear&&a.clear(a.coa,a.doa,a.eoa));this.gG.render(a)}});THREE.SavePass=function(a){THREE.Pass.call(this);THREE.CopyShader===m&&console.error("THREE.SavePass relies on THREE.CopyShader");var b=THREE.CopyShader;this.RA="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===m&&(this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBFormat,stencilBuffer:z}),this.renderTarget.texture.name="SavePass.rt");this.wR=z;this.gG=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,
render:function(a,b,e){this.uniforms[this.RA]&&(this.uniforms[this.RA].value=e.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.gG.render(a)}});return a});
define("cR","require,jquery.mod,gK,io,co,R,em,i,eB,Y".split(","),function(a){function b(){this.D=c("<div/>");this.D.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.nd=new THREE.PerspectiveCamera(90,16/9,0.1,2*k.sf);this.nd.layers.enable(d.xa);this.pC=new THREE.PerspectiveCamera;this.Ky=new THREE.Scene;window.scene=this.Ky;window.Gna=THREE;this.Ky.add(this.nd);this.g=q;this.Qt=m;this.Er=this.cf=this.VO=this.eQ=this.gO=q}var c=a("jquery.mod"),f=a("gK"),e=a("io"),
d=a("co"),h=a("R"),k=a("em"),i=a("i"),n=a("eB"),g=a("Y");b.prototype.hv=P("pC");b.prototype.Tia=function(){return this.cf.fov(this.nd)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.pb=P("D");b.prototype.Wia=function(){return this.g?this.g.domElement.width:this.D.width()};b.prototype.Via=function(){return this.g?this.g.domElement.height:this.D.height()};b.prototype.update=function(a){this.qha(a);this.dha(a);this.Yga(a);this.oha(a)};b.prototype.render=function(){this.nu()};
b.prototype.qha=function(a){if(a.enabled){this.Qt=(new Date).getTime();this.g||this.zfa(a)}};b.prototype.zfa=function(a){if(!this.g&&a.enabled){l++;var b=this.pb().get(0),c={precision:"mediump",alpha:o};if(l==1&&a.Sb){a=g.us();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=n.y2(c.canvas)}this.g=new THREE.WebGLRenderer(c);this.g.setClearColor(0,0);b.appendChild(this.g.domElement);this.Er=new i(this.g,function(a,b,c,d,e){this.cf.render(b,d,e)}.bind(this));this.VO=
new h.a6(this.g,this.nd);this.T0=new h.q6(this.g,this.nd);this.eQ=new h.w6(this.g,this.nd);g.Tu(this.g.getContext());this.gO=setInterval(this.kga.bind(this),1E3)}};b.prototype.kga=function(){(new Date).getTime()>this.Qt+2E3&&this.B8()};b.prototype.B8=function(){if(!this.g){l--;clearInterval(this.gO);this.cf=this.VO=this.eQ=this.gO=q;this.Er.destroy();this.Er=q;g.Yoa(this.g.domElement);this.pb().get(0).removeChild(this.g.domElement);this.g.dispose();this.g=q}};b.prototype.Yga=function(a){this.nd.quaternion.copy(e.J2(a.yaw,
a.pitch,a.Sc));this.nd.fov=f.Gl(a.hfov,a.width,a.height);this.nd.aspect=a.width/a.height;this.nd.updateProjectionMatrix();this.nd.updateMatrixWorld();this.cf&&this.cf.xS();this.cf&&this.pC.copy(this.cf.Og());this.pC.updateProjectionMatrix();this.pC.updateMatrixWorld()};b.prototype.dha=function(a){var b=a.Sb?this.eQ:a.Xg>0?this.T0:this.VO;if(this.cf!=b){this.cf&&this.cf.stop();(this.cf=b)&&this.cf.start(this.Ky)}if(this.cf){this.cf.setSize(a.width,a.height);this.cf==this.T0&&this.cf.Hs(a.Xg)}};b.prototype.oha=
function(a){this.Er&&this.Er.Q4(a.GG)};b.prototype.nu=function(){this.Er&&this.Er.render(this.Ky,this.nd)};var l=0;return b});
define("fz",["require","gW","dQ","eB"],function(a){var b=a("gW"),c=a("dQ"),f=a("eB"),a=b.extend(c,function(){c.call(this);this.T=this.nb=q;this.Mb=[];this.CF=z;this.Vx=q;this.sh=[this];this.ol={};this.Gk={};this.hx=z;this.VN={};this.WN={};this.Dk(["blendingActive"]);this.V6();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",z);this.set("index",0)});
a.prototype.V6=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.VN[a]=o}.bind(this))};a.prototype.Dk=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.WN[a]=o}.bind(this))};a.prototype.set=function(a,b){this.ol[a]!==b&&(this.WN[a]&&this.Mb.forEach(function(c){c.set(a,b)}),this.n7(a,b),this.BO(a))};a.prototype.get=function(a){return this.ol[a]};a.prototype.BO=function(a){this.Gk[a]||
(this.Gk[a]=o,this.hx||(this.hx=o,this.Hb()),this.VN[a]&&this.Mb.forEach(function(b){b.BO(a)}))};a.prototype.D8=function(){this.hx&&(this.hx=z,this.Gk={})};a.prototype.C=function(){if(this.hx)for(var a=0;a<arguments.length;a++)if(this.Gk[arguments[a]])return o;return z};a.prototype.n7=function(a,b){this.ol[a]=b};a.prototype.Ma=P("Mb");a.prototype.Yi=function(a){for(var b=a||[],c=this.Mb.slice(),a=b.length!=c.length,f=0;f<b.length&&!a;f++)a=b[f]!=c[f];a&&(a=c.filter(function(a){return-1==b.indexOf(a)}),
f=b.filter(function(a){return-1==c.indexOf(a)}),this.Mb=b,a.forEach(function(a){a.WE(q)}),f.forEach(function(a){a.remove();a.WE(this)}.bind(this)),this.Hb())};a.prototype.WE=function(a){this.T!=a&&(this.T&&this.Eh(),(this.T=a)&&this.pj(),this.GO(this.T&&this.T.nb))};a.prototype.pj=function(){for(var a in this.T.VN)this.BO(a);for(a in this.T.WN)this.set(a,this.T.get(a))};a.prototype.Eh=C();a.prototype.GO=function(a){this.nb!=a&&(a||this.Wb(),(this.nb=a)&&this.Ub(),this.Mb.forEach(function(a){a.GO(this.nb)}.bind(this)))};
a.prototype.Ub=function(){this.j7()};a.prototype.Wb=function(){this.Wda()};a.prototype.j7=function(){this.sh.forEach(function(a){this.nb.Vx.add(a,this)}.bind(this))};a.prototype.Wda=function(){this.sh.forEach(function(a){this.nb.Vx.remove(a,this)}.bind(this))};a.prototype.Oi=function(){this.T&&this.T.qQ(this)};a.prototype.qQ=function(a){var b=this.Mb.indexOf(a);-1==b&&j("Child not found");b!=this.Mb.length-1&&(this.Mb.splice(b,1),this.Mb.push(a),this.Hb())};a.prototype.Iia=function(a){var b=this.Mb.indexOf(a);
-1==b&&j("Child not found");this.Mb.splice(b,1);a.WE(q);this.Hb()};a.prototype.appendChild=function(a){a.remove();this.Mb.push(a);a.WE(this);this.Hb()};a.prototype.remove=function(){this.T&&this.T.Iia(this)};a.prototype.aj=C();a.prototype.Hb=function(){this.CF||(this.CF=o,this.T&&this.T.Hb(this))};a.prototype.I8=function(){this.CF=z};a.prototype.L=function(){this.C("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.T?this.T.get("composedAlpha"):1));this.C("translationX","translationY","translationZ")&&
(this.set("composedTranslationX",this.get("translationX")+(this.T?this.T.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.T?this.T.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.T?this.T.get("composedTranslationZ"):0)));this.C("deltaYaw","deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.T?this.T.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+
(this.T?this.T.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.T?this.T.get("composedDeltaRoll"):0)),f.I3())};return a});
define("hM","require,gW,iX,dQ,cL,F".split(","),function(a){function b(a,b){return a.reduce(function(a,c){return a?o:!!(b.layers.mask&c.layers.mask)},z)}function c(a){a=d(a).loaded;return a===m?z:a}function f(a){a=d(a).Rha;return a===m?o:a}function e(a){a=d(a).aia;return a===m?z:a}function d(a){return a.userData.ska||(a.userData.ska={})}var h=a("gW"),k=a("iX"),i=a("dQ"),n=a("cL"),g=a("F"),a=h.extend(i,function(){i.call(this);this.k=m;this.LM=z});a.prototype.update=function(a){var b=a.Sb&&this.k&&!this.k.Sb;
this.k=a.clone();this.LM||(b?this.Saa():this.jha())};a.prototype.jha=function(){var a=z,d=g.KQ(this.k.Ge),i=g.ov(this.k.Ge);n.bG(i,n.Os,m).forEach(function(c){var e=b(d,c)&&n.HQ(c)>0&&f(c);if(c.visible!=e){c.visible=e;a=o}});var i=n.G2(i,n.Os,m),i=n.m3(i,n.Ns),h;for(h in i){var t=i[h],u=d.map(R(z));t.sort(function(a,b){return n.k3(b)-n.k3(a)});var v=t.some(e);t.forEach(function(e){var g=b(d,e)&&n.HQ(e)>0&&f(e)&&(!v||c(e));if(g){for(var g=o,i=v||c(e)&&n.HQ(e)>0.999,h=0;h<d.length;h++)if(e.layers.mask&
d[h].layers.mask&&!u[h]){g=z;i&&(u[h]=o)}g=!g}if(e.visible!=g){e.visible=g;a=o}})}a&&this.trigger(k.W)};a.prototype.Saa=function(){this.LM=o;g.ov(this.k.Ge).forEach(function(a){a.visible=z});setTimeout(function(){this.LM=z;this.update(this.k)}.bind(this),300);this.trigger(k.W)};a.bS=function(a,b){d(a).loaded=b};a.setActive=function(a,b){d(a).Rha=b};a.jla=function(a,b){n.Be(a,function(a){d(a).aia=b})};return a});
define("gv","require,gW,iX,eQ,dQ,hM,bA,cL,F,p".split(","),function(a){function b(a){return(a=a.userData.dj)&&!(!a.sR&&!a.pR)}function c(a){return a.userData.dj||(a.userData.dj={})}function f(a){return c(a).Ks}function e(a){return c(a).enabled||z}function d(a){return!f(a).mR()}var h=a("gW"),k=a("iX");a("eQ");var i=a("dQ"),n=a("hM"),g=a("bA"),l=a("cL"),r=a("F"),p=a("p"),s=h.extend(i,function(){i.call(this);this.St=[];this.Do=[];this.Zs=[];this.k=m;this.ll=q;this.Pu=this.Pu.bind(this)});s.prototype.update=
function(a){this.k=a.clone();this.Tga()?this.Pu():this.K1()};s.prototype.K1=function(){if(!this.ll)this.ll=setTimeout(this.Pu,500)};var t=Math.PI/180;s.prototype.Tga=function(){var a=this.k.Xg>0?1E3:this.k.UF/Math.tan(Math.min(this.k.If*0.5,89.99)*t),d=r.KQ(this.k.Ge),g=r.ov(this.k.Ge).filter(b),f=g.filter(e),i={},i=l.G2(f,l.Os,m),i=l.m3(i,l.Os);i.none=l.bG(f,l.Os,m);var f=[],h;for(h in i)for(var k=i[h],p=0,u=k.length;p<u;p++){var I=k[p];(c(I).sR||s.lB)==s.Rl&&f.push(I)}for(var J=0,K=d.length;J<K;J++){var F=
d[J];for(h in i){for(var k=i[h],N=q,Q=Number.NEGATIVE_INFINITY,D=q,M=Number.POSITIVE_INFINITY,p=0,u=k.length;p<u;p++){I=k[p];if(I.layers.mask&F.layers.mask&&(c(I).sR||s.lB)==s.lB){var H=c(I).Bka*90;if(H<a&&H>Q){N=I;Q=H}else if(H>=a&&H<M){D=I;M=H}}}if(this.k.Sb&&D&&N)Q>0.75*a?f.push(N):f.push(D);else{D&&f.indexOf(D)<0&&f.push(D);N&&f.indexOf(N)<0&&f.push(N)}}}a=[];for(d=0;d<f.length;d++){h=f[d];a.indexOf(h)<0&&a.push(h)}f=a;a:{a=this.Zs;d=f;for(h=0;h<a.length;h++)if(d.indexOf(a[h])<0){a=z;break a}for(h=
0;h<d.length;h++)if(a.indexOf(d[h])<0){a=z;break a}a=o}this.Zs=f;p=0;for(u=g.length;p<u;p++){I=g[p];e(I)&&n.setActive(I,this.Zs.indexOf(I)>=0)}return a};s.prototype.Pu=function(){this.ll=q;for(var a=[],b=[],e=[],g=(new Date).getTime()-u,f=r.KQ(this.k.Ge),i=r.ov(this.k.Ge),h=0,n=i.length;h<n;h++){var p=i[h],t=p.userData.dj;if(t){var J=l.yp(p);if(t.enabled){var K=[];if(this.Zs.indexOf(p)>=0){if(this.k.Xg>0||(c(p).pR||s.eI)==s.zk)K=J;else for(var F=0,N=f.length;F<N;F++){var Q=l.nja(p,f[F]);if(F==0)K=
Q;else for(var D=0,M=Q.length;D<M;D++){var H=Q[D];K.indexOf(H)<0&&K.push(H)}}D=0;for(M=K.length;D<M;D++){H=K[D];(H.userData.dj||(H.userData.dj={})).X3=g}}this.fJ(p,K);D=0;for(M=t.nk.length;D<M;D++)a.push(t.nk[D]);D=0;for(M=t.En.length;D<M;D++)b.push(t.En[D])}else{t.En||this.fJ(p,[]);D=0;for(M=t.En.length;D<M;D++){H=t.En[D];t.nk.indexOf(H)<0&&b.push(H)}}D=0;for(M=J.length;D<M;D++)e.push(J[D])}}h=[];D=0;for(M=this.Do.length;D<M;D++){H=this.Do[D];e.indexOf(H)<0?H.userData.dj.Ks.unload():d(H)?this.EO(H,
z):h.push(H)}this.Do=h;D=Math.max(s.a4(),Math.round(b.length*1.25))-a.length;if(this.Do.length>D){this.Do.sort(function(a,b){return c(a).X3-c(b).X3});h=this.Do.splice(0,this.Do.length-D);D=0;for(M=h.length;D<M;D++){H=h[D];H.userData.dj.Ks.unload();this.EO(H,z)}}b=[];h=0;for(n=this.Zs.length;h<n;h++){p=this.Zs[h];t=p.userData.dj;t.nk.length>0&&b.push(p)}e=Number.POSITIVE_INFINITY;h=0;for(n=b.length;h<n;h++){p=b[h];t=p.userData.dj;D=t.Fe;D=D!==m?D:Number.POSITIVE_INFINITY;D<e&&(e=D)}a=[];h=0;for(n=
b.length;h<n;h++){p=b[h];t=p.userData.dj;D=t.Fe;D=D!==m?D:Number.POSITIVE_INFINITY;if(D==e){Q=t.nk;D=0;for(M=Q.length;D<M;D++){H=Q[D];a.push(H)}}}D=0;for(M=this.St.length;D<M;D++){H=this.St[D];if(a.indexOf(H)<0){H=H.userData.dj.Ks;H.unbind(k.O,this.kP,this,o);H.unbind(k.dd,this.lP,this,o);H.iia()}}h=this.St;this.St=a;n=this.St.slice();D=0;for(M=n.length;D<M;D++){H=n[D];if(h.indexOf(H)<0){H=H.userData.dj.Ks;H.bind(k.O,this.kP,this,o);H.bind(k.dd,this.lP,this,o);H.load()}}};s.prototype.kP=function(a){this.e1(a.source);
this.trigger(k.O)};s.prototype.lP=function(a){this.e1(a.source)};s.prototype.e1=function(a){a.unbind(k.O,this.kP,this,o);a.unbind(k.dd,this.lP,this,o);var b=a.material(),d=this.St,e=d.indexOf(b);e>=0&&d.splice(e,1);this.Do.push(b);this.EO(b,o);a=a.rR();c(a).nk.indexOf(b)>=0&&this.fJ(a,c(a).En);this.K1()};s.prototype.fJ=function(a,b){var e=c(a).En,e=e?e.length:m,g=c(a).nk,g=g?g.length:m;c(a).En=b;c(a).nk=b.filter(d);n.bS(a,c(a).nk.length==0&&(c(a).pR||s.eI)==s.zk);var f=c(a).En,f=f?f.length:m,i=c(a).nk,
i=i?i.length:m;if(g!==i||e!==f)a.dispatchEvent({type:k.$b,Vg:f?100-100*i/f:100});g!==i&&i===0&&a.dispatchEvent({type:k.O})};s.prototype.EO=function(a,c){if(c!=a.visible){var d=g.X2(a),e=l.getAttribute(d,l.Ns),i=l.getAttribute(d,l.jH);if(e===m||i===m)a.visible=c;else{for(var h=r.ov(this.k.Ge).filter(b),e=l.bG(h,l.Ns,e),i=l.bG(e,l.jH,i),n=l.yp(d).indexOf(a),d=i.map(function(a){return l.yp(a)[n]}),i=c,e=0;e<d.length&&i;e++)i=i&&f(d[e]).mR();for(e=0;e<d.length;e++)d[e].visible=i}}};s.a4=function(){var a;
if(p.lb()){p.Zd();a=384}else a=1536;a=128;s.a4=function(){return a};return a};s.ke=function(a,b){l.Be(a,function(a){c(a).enabled=b})};s.enabled=e;s.OA=function(a,b){l.Be(a,function(a){c(a).Bka=b})};s.zk="all";s.eI="in view";s.Jp=function(a,b){l.Be(a,function(a){c(a).pR=b})};s.Rl="always";s.lB="on demand";s.Kp=function(a,b){l.Be(a,function(a){c(a).sR=b})};s.WG=function(a,b){l.Be(a,function(a){c(a).Fe=b})};s.MA=function(a,b){l.Be(a,function(a){c(a).Noa=b;l.yp(a).forEach(function(a){f(a).Ula(b)})})};
s.Joa=function(a){return 100-100*c(a).nk.length/c(a).En.length};s.Ioa=function(a){return c(a).nk.length==0};s.Np=function(a,b){(c(a).Ks=b)&&(a.visible=b.mR())};s.Ks=f;var u=(new Date).getTime();return s});
define("f","require,gW,fz,cL,F,gv,hM".split(","),function(a){var b=a("gW"),c=a("fz"),f=a("cL"),e=a("F"),d=a("gv"),h=a("hM"),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.Hk=function(){return[]};a.prototype.Wb=function(){f.dispose(this.get("meshGroup"));f.W4(this.get("meshGroup"),q);this.set("meshGroup",q);c.prototype.Wb.call(this)};a.prototype.L=function(a){c.prototype.L.call(this,
a);this.set("camera",e.hv(a.Ge));this.set("webglScene",a.Ge);if(!this.get("meshGroup")){this.set("meshGroup",f.qia(this.Hk()));this.get("meshGroup").userData.Soa=this}this.C("webglScene","meshGroup")&&f.W4(this.get("meshGroup"),this.get("webglScene"));this.jn();this.Qu(a);this.OP();this.C("loadingActive","meshGroup")&&d.ke(this.get("meshGroup"),this.get("loadingActive"));this.C("blendingActive","meshGroup")&&h.jla(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.jn=function(){this.C("composedAlpha",
"meshGroup")&&this.dt()};a.prototype.dt=function(){f.Tc(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Qu=function(){j("Must be overridden in descendants.")};a.prototype.OP=function(){if(this.C("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){f.mS(a,this.get("index")+b/c.length)}.bind(this))}};return a});
define("bV","require,gW,iX,eQ,dQ,bA,iv".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eQ"),e=a("dQ"),d=a("bA"),h=a("iv"),k=b.extend(e,function(){e.call(this);this.Ve=m;this.jl=h.createTexture();this.k=k.iw;this.Gx=f.Ak});k.prototype.type=P("Ve");k.prototype.texture=P("jl");k.prototype.material=function(){return this.jl&&h.XQ(this.jl)};k.prototype.rR=function(){var a=this.jl&&h.XQ(this.jl);return a&&d.X2(a)};k.prototype.Ula=L("Gx");k.prototype.load=function(){if(this.k==k.iw){this.k=k.tB;this.nJ()}};
k.prototype.iia=function(){if(this.oka()){this.k==k.tB?this.jF():this.dz();this.k=k.iw}};k.prototype.unload=function(){if(this.k!=k.iw){this.k==k.tB?this.jF():this.k==k.rI?this.dz():this.qp();this.k=k.iw}};k.prototype.nJ=C();k.prototype.jF=C();k.prototype.lJ=C();k.prototype.dz=C();k.prototype.qp=function(){h.mia(this.texture)};k.prototype.oka=function(){return this.k==k.tB||this.k==k.rI};k.prototype.mR=function(){return this.k==k.qI||this.k==k.MT};k.prototype.dispose=function(){h.dispose(this.jl);
this.jl=q};k.prototype.Wt=function(a){this.k=a?k.rI:k.MT;a?this.lJ():this.trigger(c.dd)};k.prototype.KY=function(){this.k=k.qI;this.trigger(c.O)};k.iw="initial";k.tB="loading";k.rI="adding";k.MT="error loading";k.qI="added";k.s6="custom";k.t6="image tile";k.Hna="image animation";k.Ina="video 360";return k});
define("dg","require,gW,iX,by,gS,iv,bV".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("by"),e=a("gS"),d=a("iv"),h=a("bV"),a=b.extend(h,function(a){h.call(this);this.Ve=h.s6;this.vb=a;if(!this.vb)this.k=h.qI;this.of=this.rd=q});a.prototype.lg=function(a){this.of=a;d.eH(this.jl,this.of)};a.prototype.vd=function(){return e.vd(this.vb)};a.prototype.update=function(){d.eH(this.jl,this.of)};a.prototype.nJ=function(){this.vb?this.fK():this.Wt(o)};a.prototype.jF=function(){this.qm()};a.prototype.lJ=
function(){this.KY()};a.prototype.qp=function(){this.qm()};a.prototype.dispose=function(){this.qm();h.prototype.dispose.call(this)};a.prototype.Qe=function(){this.Wt(o)};a.prototype.Jo=function(){this.Wt(z)};a.prototype.fK=function(){if(!this.rd){this.rd=new f;this.rd.Z4([this.vb]);this.rd.bind(c.O,this.Qe,this,o);this.rd.bind(c.dd,this.Jo,this,o);e.zn(this.rd,this.Gx)}};a.prototype.qm=function(){if(this.rd){this.rd.unbind(c.O,this.Qe,this,o);this.rd.unbind(c.dd,this.Jo,this,o);e.Xh(this.rd,this.Gx);
this.rd=q}};return a});
define("fP","require,gW,eQ,em,bA,cL,f,dg,gv,gK,io".split(","),function(a){var b=a("gW"),c=a("eQ"),f=a("em"),e=a("bA"),d=a("cL"),h=a("f"),k=a("dg"),i=a("gv"),n=a("gK"),g=a("io"),l=new THREE.Matrix4,r=Math.PI/180,a=b.extend(h,function(){h.call(this);this.set("tag","Plane");this.set("distance",m);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("width",100);this.set("height",
100);this.set("hfov",m);this.set("vfov",q);this.set("scaleMode",q);this.set("attachToCamera",z);this.set("materialConfig",this.Kj=new e.fj);this.Bt=f.wQ();this.pp=new THREE.Matrix4;this.df=new THREE.Matrix4;this.Dr=new THREE.Matrix4;this.rm=new THREE.Matrix4;this.ck=new THREE.Matrix4;this.hJ=new THREE.Matrix4;this.ZU=new THREE.Quaternion;this.dk=new THREE.Matrix4;this.ic=new THREE.Matrix4});a.prototype.L=function(a){h.prototype.L.call(this,a);this.Az();this.yha()};a.prototype.Az=function(){if(this.C("textureSource")||
this.C("materialConfig")&&!this.Kj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){d.Be(a,function(a){d.eS(a,this.co())}.bind(this));this.dt()}}};a.prototype.yha=function(){if(this.C("hfov","vfov","width","height","scaleMode")){var a=n.WQ(this.get("hfov"),this.get("vfov"),this.get("width"),this.get("height"),this.get("scaleMode"));f.gma(this.Bt,a.o5,a.r5,a.wS,a.yS)}};a.prototype.Hk=function(){var a=d.create(this.Bt,this.co());i.Jp(a,i.zk);i.Kp(a,i.Rl);i.MA(a,c.lI);i.WG(a,1);
return[a]};a.prototype.co=function(){var a=this.get("textureSource")||new k;this.Kj=this.get("materialConfig");var b=e.nn(a.texture(),this.Kj);i.Np(b,a);return[b]};a.prototype.Dj=function(a){return d.RQ(this.get("meshGroup"),a)};a.prototype.Qu=function(a){var b=z;if(this.C("composedTranslationX","composedTranslationY","composedTranslationZ")){this.pp.makeTranslation(-this.get("composedTranslationX")*0.5*f.sf,this.get("composedTranslationY")*0.5*f.sf,this.get("composedTranslationZ")*0.5*f.sf);b=o}if(this.C("composedDeltaYaw",
"composedDeltaPitch","composedDeltaRoll")){this.df.makeRotationY(-a.yaw*r);this.df.multiply(l.makeRotationX(-this.get("composedDeltaPitch")*r));this.df.multiply(l.makeRotationY(this.get("composedDeltaYaw")*r));this.df.multiply(l.makeRotationY(a.yaw*r));b=o}if(this.C("yaw","pitch")){this.Dr.makeRotationY(-this.get("yaw")*r);this.Dr.multiply(l.makeRotationX(this.get("pitch")*r));b=o}if(this.C("distance","flipHorizontally","scale","hfov","vfov","width","height","scaleMode","composedTranslationX","composedTranslationY",
"composedTranslationZ")){var b=this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?f.pG(this.get("distance")):f.kv(),c=n.WQ(this.get("hfov"),this.get("vfov"),this.get("width"),this.get("height"),this.get("scaleMode")),e=(this.get("flipHorizontally")?-1:1)*this.get("scale")*f.rja(b,c.hfov),c=this.get("scale")*f.sja(b,c.Nl);this.rm.makeTranslation(0,0,-b);this.dk.makeScale(e,c,1);b=o}if(this.C("rotationX","rotationY",
"rotationZ","roll")){this.ck.makeRotationZ(this.get("roll")*r);this.ck.multiply(l.makeRotationY(this.get("rotationY")*r));this.ck.multiply(l.makeRotationX(this.get("rotationX")*r));this.ck.multiply(l.makeRotationZ(this.get("rotationZ")*r));b=o}this.set("cameraYaw",a.yaw);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.Sc);if(this.get("attachToCamera")&&this.C("cameraYaw","cameraPitch","cameraRoll")){this.ZU.copy(g.J2(a.yaw,a.pitch,a.Sc));this.hJ.makeRotationFromQuaternion(this.ZU);b=o}else if(this.C("attachToCamera")){this.hJ.identity();
b=o}if(b||this.C("meshGroup")){this.ic.copy(this.pp);this.ic.multiply(this.df);this.ic.multiply(this.hJ);this.ic.multiply(this.Dr);this.ic.multiply(this.rm);this.ic.multiply(this.ck);this.ic.multiply(this.dk);d.tp(this.get("meshGroup"),this.ic)}};return a});
define("cr","require,gW,iX,dQ,iv,P".split(","),function(a){function b(){if(!n){n=o;k.za(c,q)}}function c(){for(n=z;i.length;){var a=i.shift();a.add();if(a.rka())break}i.length&&b()}var f=a("gW"),e=a("iX"),d=a("dQ"),h=a("iv"),k=a("P"),i=[],n=z,g=f.extend(d,function(a,b){d.call(this);this.texture=a;this.source=b});g.prototype.rka=function(){return!this.source.IU&&h.eia(this.source)};g.prototype.B2=function(){if(!this.source.IU){h.B2(this.source);this.source.IU=o}};g.prototype.add=function(){h.eH(this.texture,
this.source);this.trigger(e.O)};g.prototype.remove=function(){var a=i.indexOf(this);a>=0&&i.splice(a,1);h.eH(this.texture,q)};return{add:function(a,c){var d=new g(a,c);i.push(d);b();return d}}});
define("hQ","require,gW,iX,by,gS,cr,bV".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("by"),e=a("gS"),d=a("cr");TextureSource=a("bV");a=b.extend(TextureSource,function(a){TextureSource.call(this);this.Ve=TextureSource.t6;this.vb=a;this.of=this.ku=this.rd=q});a.prototype.vd=P("of");a.prototype.nJ=function(){this.fK()};a.prototype.jF=function(){this.qm()};a.prototype.lJ=function(){this.s9()};a.prototype.dz=function(){this.qm();this.EK()};a.prototype.qp=function(){this.qm();this.EK()};a.prototype.dispose=
function(){this.qm();this.EK();TextureSource.prototype.dispose.call(this)};a.prototype.Qe=function(){this.of=e.vd(this.vb);this.Wt(o)};a.prototype.Jo=function(){this.Wt(z)};a.prototype.LY=function(){this.KY()};a.prototype.fK=function(){if(!this.rd){this.rd=new f;this.rd.Z4([this.vb]);this.rd.bind(c.O,this.Qe,this,o);this.rd.bind(c.dd,this.Jo,this,o);e.zn(this.rd,this.Gx)}};a.prototype.qm=function(){if(this.rd){this.rd.unbind(c.O,this.Qe,this,o);this.rd.unbind(c.dd,this.Jo,this,o);e.Xh(this.rd,this.Gx);
this.rd=q}};a.prototype.s9=function(){this.ku=d.add(this.jl,this.of);this.ku.bind(c.O,this.LY,this,o)};a.prototype.EK=function(){if(this.ku){this.ku.unbind(c.O,this.LY,this,o);this.ku.remove();this.ku=q}};return a});
define("eS",["require"],function(){function a(){this.so=b++;this.Jx="_map_"+this.so+"_key";this.kD={};this.ce=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var e;0>this.ce.indexOf(a)&&this.ce.push(a);if("object"===typeof a&&a!==q){if(e=a[this.Jx],!e){e=this.Jx;for(var d=[],h=0;8>h;h++)d.push(Math.floor(16*Math.random()).toString(16));e=a[e]=d.join("")}}else e=a;this.kD[e]=b;this.length=this.ce.length};a.prototype.get=function(a){return this.kD["object"===typeof a&&a!==q?a[this.Jx]:
a]};a.prototype.t3=function(a){return 0<=this.ce.indexOf(a)};a.prototype.remove=function(a){var b=this.ce.indexOf(a);0>b||(this.ce.splice(b,1),"object"===typeof a&&a!==q?(b=a[this.Jx],delete a[this.Jx]):b=a,delete this.kD[b],this.length=this.ce.length)};a.prototype.forEach=function(a){this.ce.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.ce.length;)this.remove(this.ce.pop());this.ce=this.kD=q};return a});
define("gq",["require","gW","dQ","eS"],function(a){function b(){this.ps=[]}var c=a("gW"),f=a("dQ"),e=a("eS"),a=c.extend(f,function(a){f.call(this);this.Bd=a;this.vc=[];this.ym=new e;this.Lz=[];this.SK=[];this.Vt=this.Vt.bind(this)});a.prototype.ad=function(a){this.vc.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Bd,this.Vt):a.unbind?a.unbind(this.Bd,this.Vt,this,o):j("invalid instance type")}.bind(this));this.vc=a.slice();this.vc.forEach(function(a){a.addEventListener?a.addEventListener(this.Bd,
this.Vt):a.bind?a.bind(this.Bd,this.Vt,this,o):j("invalid instance type");this.ym.t3(a)||this.ym.set(a,new b)}.bind(this));this.xP()};a.prototype.dispose=function(){this.ad([]);this.vc=q;this.ym.dispose();this.SK=this.Lz=this.ym=q};a.prototype.Yh=function(a){this.Lz.push(a);this.xP();return this};a.prototype.mk=function(a){this.SK.push(a);return this};a.prototype.qn=function(a){this.vc.forEach(function(b){a(b,this.ym.get(b).ps)}.bind(this))};a.prototype.Sh=function(a){a=this.ym.get(a).ps;return 0==
a.length?q:a[a.length-1]};a.prototype.Vt=function(a){var b=a.target||a.source;if(b=this.ym&&this.ym.get(b))b.ps.push(a),this.SK.forEach(function(b){b(a,this)}.bind(this)),this.xP()};a.prototype.xP=function(){if(0!=this.vc.length){for(var a=0;a<this.vc.length;a++)if(0==this.ym.get(this.vc[a]).ps.length)return;this.Lz.length&&(a=this.Lz.slice(),this.Lz=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
define("bq",["require","df"],function(a){var b=a("df"),c={get:function(a){return a.Q6||(a.Q6=this.f$(a))},f$:function(a){if(b.qb("CubicPanoramaFrame",a))return a.get("stereoCube")?c.nq:a.get("cube")?c.Nn:c.ah;if(b.qb("SphericPanoramaFrame",a)){if(a.get("stereoSphere")){var e=a.get("hfov"),d=a.get("vfov"),h=a.get("stereoSphere").get("levels"),a=Math.max.apply(Math,h.map(function(a){return a.get("width")})),h=Math.max.apply(Math,h.map(function(a){return a.get("height")}));return 2==Math.round(h/d/(a/
e))?c.oq:c.Vs}return c.Bk}},nq:"stereoCube_12_1",Nn:"monoCube_6_1",ah:"monoCube_1_1",Bk:"monoSphere_1_1",oq:"stereoSphere_1_2",Vs:"stereoSphere_2_1"};return c});
define("ih","require,df,hs,co,hK,bq,hj,p,eX,gK,Y,gz".split(","),function(a){function b(a,b,c){return a.split(b).join(c).split(encodeURI(b)).join(c)}function c(){var a=A.Ap()&&URL.sn("recent_ipad_use_max_res",z);c=function(){return a};return a}function f(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 e(a,b){var d=1E4;c()||(A.Lf()?d=2048:A.Ap()?d=1280:A.lb()&&(d=1024));switch(a){case w.Nn:return[6*d,d];case w.ah:return[d,
d];case w.nq:return[12*d,d]}switch(a){case w.oq:b=b*2;break;case w.Vs:b=b*0.5}return b>2?[d*4,d*4/b]:[d*2*b,d*2]}function d(a){if(c())return[m,m];switch(a){case w.Nn:if(A.Lf()||A.lb())return[18432,1536];break;case w.oq:if(A.Lf())return[5352,5352];if(A.lb())return[6086,6086];break;case w.Bk:if(A.Lf())return[7168,3584];if(A.lb()&&A.Ap())return[8192,4096]}return[m,m]}function h(a,b){var c=d(b);return a.filter(function(a){return c[0]!==m&&a.get("width")>c[0]||c[1]!==m&&a.get("height")>c[1]?z:o})}function k(){if(A.Ap())return t.OT;
if(A.Lf())return t.QT;if(A.lb())return t.PT}function i(a){a.sort(function(a,b){return a.get("width")-b.get("width")});return a}function n(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 g(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)<0});return a.length?a:c!==m?c:[]}function l(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)>=0});return a.length?a:c!==m?c:[]}function r(a,
b){switch(b){case w.nq:return a.get("stereoCube").get("levels");case w.Nn:return a.get("cube").get("levels");case w.ah:return a.get("front").get("levels");case w.Bk:return a.get("sphere").get("levels");case w.oq:case w.Vs:return a.get("stereoSphere").get("levels")}}function p(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];b.indexOf(d)<0&&b.push(d)}return b}var s=a("df"),t=a("hs"),u=a("co"),v=a("hK"),w=a("bq"),y=a("hj"),A=a("p"),x=a("eX"),B=a("gK");a("Y");var O=a("gz"),E={oja:function(a){a=a.get("frames");
if(a.length==0)return 1;var b=a[0],a=w.get(b)==w.Bk&&s.qb("Video360Resource",b.get("sphere"))?[E.YQ(b)]:E.TQ(b,z);return Math.max.apply(Math,a.map(function(a){return E.qja(b,a)}))},qja:function(a,b){var b=E.NQ(a,b,v.FRONT),c=b.get("width"),d=a.R.get("hfov",360);switch(w.get(a)){case w.nq:return c/1080;case w.Nn:return c/540;case w.ah:return c/90;case w.Bk:return c/d;case w.oq:return c/d;case w.Vs:return c/(2*d)}},mA:function(a,b,c){c||(c=z);if(s.qb("Panorama",a)){c=a.get("flipImageHorizontally",z);
return p(Array.prototype.concat.apply([],a.get("frames").map(function(a){return E.mA(a,b,c)})))}if(s.qb("PanoramaFrame",a)){if(w.get(a)==w.Bk&&s.qb("Video360Resource",a.get("sphere")))return E.mA(E.YQ(a),b);var d=E.TQ(a,b)[0],c=a.get("flipImageHorizontally",z);if(w.get(a)==w.ah){var e=[v.FRONT,v.xa,v.BACK,v.Za,v.rb,v.zb];return Array.prototype.concat.apply([],e.map(function(e){return(e=E.NQ(a,d,e))?E.mA(e,b,c):[]}))}return E.mA(d,b,c)}if(s.qb("VideoImageResourceLevel",a)){var g=videoResourceLevel.get("posterURL");
return g?[g]:[]}if(s.qb("TiledImageResourceLevel",a)){var f=[],g=Math.round(a.get("width")/a.get("height")),i;if(g==1)i=w.ah;else if(g==12)i=w.pna;else if(g==6)i=w.Nn;else return[];var l=g==12?[u.Za,u.xa]:[u.tk],e=[v.Za,v.xa,v.rb,v.zb,v.FRONT,v.BACK],h=a.get("colCount",g)/g,n=a.get("rowCount",1);l.forEach(function(b){e.forEach(function(d){for(var e=0;e<n;e++)for(var g=0;g<h;g++)f.push(E.h3(a,i,b,d,c,n,e,g))})});return f}return s.qb("ImageResourceLevel",a)?[a.get("url")]:[]},TQ:function(a,b){var c=
w.get(a),d=this.I$(a);if(d){if(b&&!this.$X(d)){c=this.tX(a);if(c!=d)return[c,d]}return[d]}d=l(r(a,c),t.vI);if(d.length>0)return i(d);d=this.laa(a);if(b&&!this.$X(d)){c=this.tX(a);if(c!=d)return[c,d]}return[d]},fka:function(a){return a.get("tags").indexOf(t.vI)>=0},NQ:function(a,b,c){if(w.get(a)!=w.ah)return b;var d;switch(c){case v.FRONT:d=a.get("front");break;case v.xa:d=a.get("left");break;case v.BACK:d=a.get("back");break;case v.Za:d=a.get("right");break;case v.rb:d=a.get("top");break;case v.zb:d=
a.get("bottom")}a=d&&d.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",z)==b.get("grayscale",z)});return a[0]},h3:function(a,c,d,e,g,f,i,l){var a=a.get("url"),h=0;a.indexOf("{eye}")>=0||a.indexOf(encodeURI("{eye}"))>=0?a=b(a,"{eye}",F[d]):h=h+6*(g?J:I)[d];a.indexOf("{face}")>=0||a.indexOf(encodeURI("{face}"))>=0?a=b(a,"{face}",K[e]):c!=w.ah&&(h=h+G[e]);a=b(a,"{row}",i);return a=b(a,"{column}",
l+h*f)},oG:function(a,b,d,e){var a=g(a,t.Ul,a),f=k();f&&(a=l(a,f,a));f=1E4;c()||(A.Lf()?f=2048:A.Ap()?f=1280:A.lb()&&(f=1024));var h=i(a)[a.length-1],b=B.WQ(b,d,h.get("width"),h.get("height"),e);return n(a,[b.hfov*f/90,b.Nl*f/90])},cja:function(a){var b=a.get("image").get("levels"),b=g(b,t.Ul,b),c=k();c&&(b=l(b,c,b));return n(b,[a.get("width"),a.get("height")])},YQ:function(a){var b;A.Zd()==A.yk?b=[3168,1584]:A.lb()&&(b=[3840,1920]);var c=(A.lb()?800:5E3)*1E3,d=[];y.ZQ&&d.push({type:x.Pv,Il:m});y.r3&&
d.push({type:x.Pv,Il:b});y.tG&&d.push({type:x.nB,Il:b});y.uG&&d.push({type:x.yB,Il:b});y.bR&&d.push({type:x.vT,Il:b});d.push({type:x.nB,Il:b});d.push({type:x.yB,Il:b});y.r3&&d.push({type:x.Pv,Il:m});d.push({type:x.nB,Il:m});d.push({type:x.yB,Il:m});for(var a=r(a,w.get(a)).slice(),e=0;e<d.length;e++){var g=d[e].type;b=d[e].Il;var f=a.filter(function(a){return!x.is(a.get("url"),g)?z:!b?o:a.get("width")<=b[0]&&a.get("height")<=b[1]});g!=x.Pv&&f.sort(function(a,b){return Math.abs(c-a.get("bitrate"))-
Math.abs(c-b.get("bitrate"))});if(f.length)return f[0]}return q},tX:function(a){var b=w.get(a),a=r(a,b),a=h(a,b),a=l(a,t.Ul,a);(b=k())&&(a=l(a,b,a));return n(a,[0,0])},laa:function(a){var b=w.get(a),a=r(a,b),a=h(a,b),a=g(a,t.Ul,a),c=k();c&&(a=l(a,c,a));b=e(b,f(a));return n(a,b)},I$:function(a){var b=k();if(!b)return q;var c=w.get(a),a=r(a,c),a=h(a,c),a=g(a,t.Ul,a),a=l(a,b);if(a.length==0)return q;b=e(c,f(a));return n(a,b)},$X:function(a){return a.get("tags").indexOf(t.vI)>=0?z:A.ud()==A.Rp?o:O.g5(a.get("url"))}},
G=function(){var a={};a[v.Za]=0;a[v.xa]=1;a[v.rb]=2;a[v.zb]=3;a[v.FRONT]=4;a[v.BACK]=5;return a}(),I=function(){var a={};a[u.Za]=0;a[u.xa]=1;a[u.tk]=0;return a}(),J=function(){var a={};a[u.Za]=1;a[u.xa]=0;a[u.tk]=0;return a}(),K=function(){var a={};a[v.Za]="r";a[v.xa]="l";a[v.rb]="u";a[v.zb]="d";a[v.FRONT]="f";a[v.BACK]="b";return a}(),F=function(){var a={};a[u.xa]="l";a[u.Za]="r";a[u.tk]="b";return a}();return E});
define("cQ",["require"],function(){function a(a){this.of=a;"CANVAS"==a.tagName?this.t=a:(this.t=document.createElement("canvas"),this.t.width=a.width,this.t.height=a.height);this.Da=this.t.getContext("2d");this.Da.globalCompositeOperation="copy";this.t!=a&&this.Da.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;f.drawImage(a,b,
c,1,1,0,0,1,1);return f.getImageData(0,0,1,1).data}catch(e){return[0,0,0,0]}}a.prototype.transparent=function(b,c){return a.transparent(this.Da,b,c)};a.prototype.rk=function(b,c){return a.rk(this.Da,b,c)};a.prototype.info=function(b,c){return a.info(this.Da,b,c)};a.prototype.dispose=function(){this.t!=this.of&&(this.t.width=this.t.height=0);this.of=this.t=this.Da=q};a.transparent=function(b,c,e){return!a.rk(b,c,e)};a.rk=function(a,c,e){return a.tagName&&"VIDEO"==a.tagName?o:0<b(a,c,e)[3]};a.info=
function(a,c,f){a=b(a,c,f);c=a[3];return{rk:0<c,opacity:c,color:"#"+e[a[0]]+e[a[1]]+e[a[2]]}};var c=document.createElement("canvas");c.width=c.height=1;var f=c.getContext("2d");f.globalCompositeOperation="copy";var e=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("hf","require,gW,gC,iX,df,fP,hQ,gq,ih,cQ,gX".split(","),function(a){function b(a,b,d,e,g,f){for(a=(a-b)/f;d+180<e;)e=e-360;for(;d-180>e;)e=e+360;d=(d-e)/f;return d=a<-0.1||a>0.1?c(g,d,Math.abs(1/(1500*a))):c(g,d,0.08)}function c(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a}var f=a("gW"),e=a("gC"),d=a("iX"),h=a("df"),k=a("fP"),i=a("hQ"),n=a("gq"),g=a("ih"),l=a("cQ"),r=a("gX"),a=f.extend(k,function(a){k.call(this);this.n=a;this.sh.push(this.n);this.Re=this.Re.bind(this);this.Ve=
h.qb("CeilingCapPanoramaOverlay",this.n)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.Ve=="tripod"?-90:90);this.zi=z;this.Fr=this.PN=this.Cy=m;this.Dda=this.Ve=="tripod"?1:-1;this.Ad=this.bg=this.Ud=q});a.prototype.Ub=function(){k.prototype.Ub.call(this);this.Ud=(new n(d.O)).Yh(this.Mj.bind(this));this.bg=(new n(d.$b)).mk(this.sr.bind(this));e.Ae(this.n,["angle","distance","hfov","image","inertia","rotate"],this.Re,o)};a.prototype.Wb=function(){this.Ad&&this.Ad.dispose();this.Ad=
q;this.Ud.dispose();this.bg.dispose();e.Xe(this.n,["angle","distance","hfov","image","inertia","rotate"],this.Wna);k.prototype.Wb.call(this)};a.prototype.Re=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.Hk=function(){var a=k.prototype.Hk.call(this);this.Ud.ad(a);this.bg.ad(a);return a};
a.prototype.L=function(a){this.wz();this.DF(a);k.prototype.L.call(this,a)};a.prototype.wz=function(){if(this.C("image")){var a=g.oG(this.get("image").get("levels"),this.get("hfov"),this.get("vfov"),this.get("scaleMode"));this.set("textureSource",new i(a.get("url")))}};a.prototype.Mj=function(){this.Ad&&this.Ad.dispose();this.Ad=new l(this.get("textureSource").vd());this.trigger(d.Ob);this.trigger(d.O)};a.prototype.sr=function(a,b){var c=0;b.qn(function(a){(a=b.Sh(a))&&(c=c+a.Vg)});this.trigger(new r(d.$b,
c/b.vc.length))};a.prototype.DF=function(a){this.set("rendererYaw",a.yaw);if(this.C("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.C("rendererYaw")){var c=this.get("angle"),d=this.get("rotate"),e=this.get("inertia"),g=this.Dda*a.yaw;d&&(c=c+g);var f=0,i=c-g;if(this.Cy!==m){if(e)if(d){f=b(g,this.Fr,c,this.Cy,this.PN,a.Kd);c=this.Cy+f*a.Kd}else{f=b(g,this.Fr,i,this.w_,this.PN,a.Kd);i=this.w_+f*a.Kd;c=i+g}this.Cy!=c&&this.Hb()}this.w_=i;this.Cy=c;this.PN=f;this.Fr=g;this.set("rotationZ",
-c)}};a.prototype.aj=function(a){if(a.Bd==d.bh){var b=!a.Pg()&this.lp(a);if(b){a.ks(this.n);this.n.get("useHandCursor")&&a.ls(this.n);a.Nh(this.get("distance"))}if(this.zi!=b){this.zi=b;this.n.trigger(this.zi?d.ed:d.Cc);a.zv()&&this.n.trigger(this.zi?d.nj:d.$e)}}else if(a.Bd==d.bi&&!a.Pg()&this.lp(a)){this.n.dA(d.S).length>1&&a.Ip(this.n);a.Nh(this.get("distance"));this.n.trigger(d.S)}};a.prototype.lp=function(a){for(var a=this.Dj(a.Ym),b=0;b<a.length;b++){var c=a[b];if(this.Ad&&this.Ad.rk(c.x,c.y))return o}return z};
return a});
define("ct","require,gW,eQ,em,bA,cL,f,dg,gv".split(","),function(a){var b=a("gW"),c=a("eQ"),f=a("em"),e=a("bA"),d=a("cL"),h=a("f"),k=a("dg"),i=a("gv"),n=new THREE.Matrix4,g=Math.PI/180,a=b.extend(h,function(){h.call(this);this.set("tag","FlatPlane");this.set("distance",m);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",m);this.set("offsetY",m);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("rotationZ",0);this.set("materialConfig",this.Kj=
new e.fj);this.Bt=f.wQ();this.pp=new THREE.Matrix4;this.df=new THREE.Matrix4;this.Dr=new THREE.Matrix4;this.rm=new THREE.Matrix4;this.Iw=new THREE.Matrix4;this.My=new THREE.Matrix4;this.Wx=new THREE.Matrix4;this.ck=new THREE.Matrix4;this.dk=new THREE.Matrix4;this.ic=new THREE.Matrix4;this.Jw=new THREE.Matrix4;this.Dq=new THREE.Vector3});a.prototype.L=function(a){h.prototype.L.call(this,a);this.Az()};a.prototype.Az=function(){if(this.C("textureSource")||this.C("materialConfig")&&!this.Kj.isEqual(this.get("materialConfig"))){var a=
this.get("meshGroup");a&&d.Be(a,function(a){d.eS(a,this.co())}.bind(this))}};a.prototype.Hk=function(){var a=d.create(this.Bt,this.co());i.Jp(a,i.zk);i.Kp(a,i.Rl);i.MA(a,c.lI);i.WG(a,1);return[a]};a.prototype.co=function(){var a=this.get("textureSource")||new k;this.Kj=this.get("materialConfig");var b=e.nn(a.texture(),this.Kj);i.Np(b,a);return[b]};a.prototype.Dj=function(a){return d.RQ(this.get("meshGroup"),a)};a.prototype.Qu=function(a){var b=z;if(this.C("composedTranslationX","composedTranslationY",
"composedTranslationZ")){this.pp.makeTranslation(-this.get("composedTranslationX")*0.5*f.sf,this.get("composedTranslationY")*0.5*f.sf,this.get("composedTranslationZ")*0.5*f.sf);b=o}if(this.C("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.df.makeRotationY(-a.yaw*g);this.df.multiply(n.makeRotationX(-this.get("composedDeltaPitch")*g));this.df.multiply(n.makeRotationY(this.get("composedDeltaYaw")*g));this.df.multiply(n.makeRotationY(a.yaw*g));b=o}if(this.C("yaw","pitch")){this.Dr.makeRotationY(-this.get("yaw")*
g);this.Dr.multiply(n.makeRotationX(this.get("pitch")*g));b=o}this.C("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?f.pG(this.get("distance")):f.kv());if(this.C("z")){this.rm.makeTranslation(0,0,-this.get("z"));b=o}if(b){this.Jw.copy(this.pp);this.Jw.multiply(this.df);this.Jw.multiply(this.Dr);this.Jw.multiply(this.rm)}var c=
z;this.set("rendererYaw",a.yaw);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.Sc);this.set("rendererCameraFOV",a.If);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);a.If&&this.C("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.If*g*0.5)*this.get("z")*2);if(a.If&&(b||this.C("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){c=a.Og;this.Iw.copy(c.matrixWorld);this.Dq.setFromMatrixPosition(c.matrixWorld);
this.Dq.applyMatrix4(this.Jw);this.Dq.applyMatrix4(c.matrixWorldInverse);var e=-10,i=-10;if(this.Dq.z<0){this.Dq.applyMatrix4(c.projectionMatrix);e=this.Dq.x*0.5;i=this.Dq.y*0.5}var h=this.get("rendererHeightZ");this.My.makeTranslation(e*h*c.aspect,i*h,0);c=o}if(this.C("roll")){this.ck.makeRotationZ(this.get("roll")*g);c=o}if(a.If&&(b||this.C("rendererHeight","inVR","rendererHeightZ","width","height","flipHorizontally"))){a=a.Sb?1024:a.height;b=this.get("rendererHeightZ")/a;a=(this.get("flipHorizontally")?
-1:1)*this.get("width")*b;b=this.get("height")*b;this.dk.makeScale(a,b,1);c=o}if(this.C("width","height","offsetX","offsetY")){a=0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.Wx.makeTranslation(a,b,0);c=o}if(c){this.ic.copy(this.Iw);this.ic.multiply(this.rm);this.ic.multiply(this.My);this.ic.multiply(this.ck);this.ic.multiply(this.dk);this.ic.multiply(this.Wx);d.tp(this.get("meshGroup"),this.ic)}};return a});
define("dN",["require","iX","eo"],function(a){function b(a,b){this.Ek=a;this.wb=b;this.Qc=z;this.T6();this.a7()}var c=a("iX"),f=a("eo");b.prototype.clear=function(){this.Sda();this.Ek=q;this.Yda();this.wb=q};b.prototype.Ye=function(a){this.Qc!=a&&(this.Qc=a,this.uF())};b.prototype.cZ=function(){this.wb.Ld(this.Ek.get("state"))};b.prototype.bZ=function(){this.uF()};b.prototype.$Y=function(){this.Ek.trigger(c.mq)};b.prototype.ZY=function(){this.Ek.trigger(c.qa)};b.prototype.aZ=function(){this.Ek.set("state",
this.wb.Rh())};b.prototype.uF=function(){this.Ek.get("autoplay")&&this.wb.Ld(this.Qc?f.Q:f.N)};b.prototype.T6=function(){this.Ek.bind(c.Ca("state"),this.cZ,this,o);this.Ek.bind(c.Ca("autoplay"),this.bZ,this,o)};b.prototype.Sda=function(){this.Ek.unbind(c.Ca("state"),this.cZ,this,o);this.Ek.unbind(c.Ca("autoplay"),this.bZ,this,o)};b.prototype.a7=function(){this.wb.bind(c.mq,this.$Y,this,o);this.wb.bind(c.qa,this.ZY,this,o);this.wb.bind(c.Tl,this.aZ,this,o)};b.prototype.Yda=function(){this.wb.unbind(c.mq,
this.$Y,this,o);this.wb.unbind(c.qa,this.ZY,this,o);this.wb.unbind(c.Tl,this.aZ,this,o)};return b});
define("is",["require","p"],function(a){function b(){this.Ch=m;this.Kt=this.Ar=0;this.Y=o;this.RV=this.i1=this.KW=m;this.Qc=z}var a=a("p"),c=Math.PI/180,f=a.browser()==a.Zg?[-0.5,0]:[0,0];b.prototype.VG=function(a){this.Ch!=a&&(this.Ch=a,this.Y=o)};b.prototype.UG=function(a){if(a<this.Ar+f[0]||a>this.Ar+f[1])this.Ar=a,this.Y=o};b.prototype.get=function(a,b){b!==m||(b=o);this.Y&&(this.L(),this.Y=z);var c=this.KW.get(a)||0,f=(this.i1.get(a)||0)-c;b&&(180<f?f-=360:-180>f&&(f+=360));return c+f*this.RV};
b.prototype.Si=function(){return this.get("opacity",z)};b.prototype.vs=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Ch[0].get("hfov")||this.Ch[0].get("vfov");return Math.tan(0.5*a*c)/Math.tan(0.5*b*c)};b.prototype.L=function(){for(var a=this.Kt,b,c=this.Ch.length-1,f,i;;){b=Math.min(a+1,c);f=this.xX(a);i=this.xX(b);if(f<=this.Ar&&this.Ar<=i)break;if(f>this.Ar){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.KW=this.Ch[a];this.i1=this.Ch[b];a=i-f;this.RV=0<a?(this.Ar-f)/a:
0};b.prototype.xX=function(a){return this.Ch[a].get("timestamp")};return b});
define("iw",["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={fla:function(c,e,d){if(c&&0==c.indexOf("#")){var h=a(c),k=m,i=256;e.forEach(function(c){if(c&&0==c.indexOf("#")){var d=b(h,a(c));d<i&&(k=c,i=d)}});if(k&&i<=d)return k}return c},O2:function(c,e){return b(a(c),a(e))}};c.yR=a;return c});
define("O","require,gW,iX,eo,bF,dQ,P".split(","),function(a){function b(a,b,c,d){this.cR=a;this.src=a.src;this.MG=b;this.Xz=c;this.fG=d;this.ss=this.cR.width/this.Xz;this.rs=this.cR.height/this.MG}var c=a("gW"),f=a("iX"),e=a("eo");a("bF");var d=a("dQ"),h=a("P"),a=c.extend(d,function(a,c,i,h,n,t,u){d.call(this);this.be=new b(a,c,i,n);this.W_=t;this.Xf=h;this.FW=u;this.pF=this.Xf*this.be.fG;this.t=document.createElement("canvas");this.t.width=this.be.ss;this.t.height=this.be.rs;this.Da=this.t.getContext("2d");
this.Da.globalCompositeOperation="copy";this.k=e.N;this.EE=this.Ik=0;this.iK=m;this.Me=k.Kl(this.be);this.Me.bind(f.W,this.tg,this,o);this.tg()});a.prototype.Ld=function(a){if(this.k!=a){if(a==e.Zb){if(this.k!=e.Q)return}else if(a==e.Q){if(this.k==e.N)this.Ik=this.EE=0}else if(a==e.N&&(this.Ik!=0||this.EE==0)){this.Ik=this.FW?0:this.pF-0.1;this.tg()}this.k=a;h.za(this.Pe,this);this.trigger(f.Tl)}};a.prototype.Rh=P("k");a.prototype.Pe=function(a){if(this.k==e.Q){this.Ik=Math.min(this.Ik+a,this.Me.Me.length*
this.Xf);if(this.Ik>=this.pF){this.EE++;if(this.W_&&this.EE==this.W_){this.Ld(e.N);this.Ik=this.FW?0:this.pF-0.1;this.trigger(f.qa)}else{this.Ik=this.Ik%this.pF;this.trigger(f.mq)}}this.tg();this.k==e.Q&&h.za(this.Pe,this)}};a.prototype.clear=function(){this.Ld(e.N);this.t.width=this.t.height=0;this.t=q;k.Nka(this.be);this.be=q};a.prototype.tg=function(){var a=Math.floor(this.Ik/this.Xf);if(this.iK!=a&&a<this.Me.Me.length){this.iK=a;this.Da.drawImage(this.Me.get(this.iK),0,0);this.trigger(f.W)}};
b.prototype.isEqual=function(a){return this.src==a.src&&this.MG==a.MG&&(this.Xz=a.Xz)&&(this.ss=a.ss)&&(this.rs=a.rs)&&(this.fG=a.fG)};var k={zf:[],L6:2E3,Kl:function(a){a=this.Bj(a);a.Cs++;this.X0(a);return a.frames},Nka:function(a){a=this.Bj(a);a.Cs--;a.Cs==0&&this.Hfa(a)},Bj:function(a){for(var b=0;b<this.zf.length;b++)if(this.zf[b].Oia.isEqual(a))return this.zf[b];b={};b.Oia=a;b.frames=new i(a);b.Cs=0;this.zf.push(b);return b},Hfa:function(a){this.X0(a);a.BQ=setTimeout(function(){k.B9(a)},k.L6)},
X0:function(a){if(a.BQ){clearTimeout(a.BQ);a.BQ=q}},B9:function(a){this.zf.splice(this.zf.indexOf(a),1);a.frames.clear()}},i=c.extend(d,function(a){d.call(this);this.be=a;this.Me=[];n.add(this)});i.prototype.clear=function(){n.remove(this);this.Me.forEach(function(a){a.width=0;a.height=0});this.Me=q};i.prototype.get=function(a){return this.Me[a]};i.prototype.Jia=function(){var a=this.Me.length%this.be.Xz,b=Math.floor(this.Me.length/this.be.Xz)%this.be.MG,c=document.createElement("canvas");c.width=
this.be.ss;c.height=this.be.rs;var d=c.getContext("2d");d.globalCompositeOperation="copy";d.drawImage(this.be.cR,a*this.be.ss,b*this.be.rs,this.be.ss,this.be.rs,0,0,this.be.ss,this.be.rs);i.i$(c);this.Me.push(c);this.trigger(f.W)};i.i$=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 n={zf:[],nP:q,add:function(a){this.zf.push(a);this.f0()},remove:function(a){this.zf=this.zf.filter(function(b){return b!=
a})},f0:function(){if(!this.nP)this.nP=setTimeout(function(){this.nP=q;this.eN()}.bind(this),40)},eN:function(){if(this.zf.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.zf.filter(function(a){return a.Me.length==0}),b=b.length>0?b[0]:this.zf[0];b.Jia();if(b.Me.length==b.be.fG){this.zf.splice(this.zf.indexOf(b),1);if(this.zf.length==0)return}}this.f0()}}};return a});
define("ga","require,gW,gC,iX,df,cL,ct,dN,is,dg,iw,cQ,ih,O,eS".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 f=a("gW"),e=a("gC"),d=a("iX"),h=a("df"),k=a("cL"),i=a("ct"),n=a("dN"),g=a("is"),l=a("dg"),r=a("iw"),p=a("cQ"),s=a("ih"),t=a("O"),u=new (a("eS")),v=0,a=f.extend(i,function(a){i.call(this);this.set("tag","FlatHotspotImage");this.set("visible",z);this.set("playbackPositions",
q);this.set("image",q);this.set("beamEnabled",z);this.set("state",q);this.set("visibleOnStop",o);this.set("id","flat_hs_image_"+v++);this.n=a;this.sh.push(this.n);this.Re=this.Re.bind(this);this.th=this.th.bind(this);this.ub=new g;this.kx=this.Wc=this.fh=this.wb=q;this.ih=[];this.Ad=q});a.prototype.K4=function(a){if(this.Wc!=a){this.Wc&&e.Xe(this.Wc,["areas"],this.th,o);(this.Wc=a)&&e.Ae(this.Wc,["areas"],this.th,o)}};a.prototype.Ub=function(){i.prototype.Ub.call(this);e.Ae(this.n,["width","height",
"offsetX","offsetY","distance","playbackPositions","image"],this.Re,o);this.Wc&&e.Ae(this.Wc,["areas"],this.th,o)};a.prototype.Wb=function(){this.Lw();this.Wc&&e.Xe(this.Wc,["areas"],this.th,o);e.Xe(this.n,["width","height","offsetX","offsetY","distance","playbackPositions","image"],this.Re);i.prototype.Wb.call(this)};a.prototype.Re=function(){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.th=function(){var a=this.Wc.get("areas",[]);this.kx=h.qb("FlatHotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.L=function(a){this.pu=a.yaw;this.ou=a.pitch;this.Xr();this.wz();this.xz();i.prototype.L.call(this,a)};a.prototype.xz=function(){if(this.C("meshGroup","panoramaId",
"id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){k.setAttribute(a,k.Ns,this.get("panoramaId"));k.setAttribute(a,k.CS,this.get("id"))}.bind(this))}};a.prototype.Xr=function(){if(this.C("playbackPositions","currentTime")){this.ub.VG(this.get("playbackPositions"));this.ub.UG(this.get("currentTime"));this.set("yaw",this.ub.get("yaw"));this.set("pitch",this.ub.get("pitch"));this.set("roll",this.ub.get("roll"));this.set("alpha",this.ub.Si())}};a.prototype.wz=function(){if(this.C("image")){this.Lw();
var a=s.cja(this.n);this.set("textureSource",new l(a.get("url")));this.UI()}};a.prototype.jn=function(){this.C("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=PlaybackState.N));this.C("composedAlpha","meshGroup","inView")&&k.Tc(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.C("inView")&&this.n.trigger(this.get("inView")?d.tf:d.og);this.fh&&this.fh.Ye(this.get("inView"))};
a.prototype.Lw=function(){if(this.fh){this.fh.clear();this.fh=q}if(this.wb){this.wb.unbind(d.W,this.mx,this,o);this.wb.unbind(d.Tl,this.nx,this,o);this.wb.clear();this.wb=q}if(this.Ad){this.Ad.dispose();this.Ad=q}if(this.get("textureSource")){this.Hr();this.set("textureSource",q)}};a.prototype.uo=function(){this.Hr();var a=this.get("image");if(h.qb("AnimatedImageResource",a)){this.wb=new t(this.get("textureSource").vd(),a.get("rowCount",1),a.get("colCount",1),a.get("frameDuration"),a.get("frameCount",
a.get("rowCount",1)*a.get("colCount",1)),a.get("repeat"),a.get("finalFrame")=="first");this.get("textureSource").lg(this.wb.t);this.wb.bind(d.Tl,this.nx,this,o);this.wb.bind(d.W,this.mx,this,o);this.fh=new n(a,this.wb);this.set("visibleOnStop",a.get("visibleOnStop"));this.set("state",this.wb.Rh())}else{a=this.get("textureSource").vd();this.Ad=new p(a);this.get("textureSource").lg(a);this.set("visibleOnStop",o);this.set("state",q)}this.jn();this.trigger(d.Ob);this.trigger(d.O)};a.prototype.ox=function(){this.Hr();
this.trigger(d.Ob);this.trigger(d.O)};a.prototype.nx=function(){this.set("state",this.wb.Rh())};a.prototype.mx=function(){this.get("textureSource").update();this.Hb()};a.prototype.UI=function(){var a=this.get("textureSource");a.bind(d.O,this.uo,this,o);a.bind(d.dd,this.ox,this,o)};a.prototype.Hr=function(){var a=this.get("textureSource");a.unbind(d.O,this.uo,this,o);a.unbind(d.dd,this.ox,this,o)};a.prototype.aj=function(a){if(a.Bd==d.bh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Pg()?
this.ax(a):[];if(b.length>0){a.ks(b);this.Li(b)&&a.ls(b);a.Nh(this.get("distance"));var c=this.oa(b,a.Bp());c&&a.oQ(c,this.mp(a.Bp()))}this.UE(b,a.zv(),a.Bp())}else if(a.Bd==d.bi){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Pg()?this.ax(a):[];if(b.length>0){var e=z;b.forEach(function(a){a.trigger(d.S);!e&&a.dA(d.S).length>1&&(e=o)});a.Nh(this.get("distance"));e&&a.Ip(b)}}};a.prototype.ax=function(a){var b=this.kx,c=[];this.Dj(a.Ym).forEach(function(a){var d;b=b.filter(function(b){var e=b.get("mapColor");
if(e=="any"){c.push(b);return z}d||(d=this.Ad?this.Ad.info(a.x,a.y):p.info(a.source,a.x,a.y));if(e=="image"&&d.rk||e=="transparent"&&!d.rk||e&&e[0]=="#"&&r.O2(d.color,e)<10){c.push(b);return z}return o}.bind(this))}.bind(this));return c};a.prototype.UE=function(a,b,c){this.ih.forEach(function(e){if(a.indexOf(e)<0){var g=u.get(e)-1;u.set(e,g);if(g==0){e.trigger(d.Cc,{Tz:c});b&&e.trigger(d.$e)}}});var e=this.ih;this.ih=a;this.ih.forEach(function(a){if(e.indexOf(a)<0){var g=(u.get(a)||0)+1;u.set(a,g);
if(g==1){a.trigger(d.ed,{Tz:c});b&&a.trigger(d.nj)}}})};a.prototype.oa=function(a,b){for(var c="",d=a.length-1;d>=0&&c=="";d--){var e=a[d];if(!b||e.get("displayTooltipInTouchScreens")&&this.nb.H.get("displayTooltipInTouchScreens")!==z)c=e.get("toolTip","")}return c};a.prototype.mp=function(a){if(a){var a=this.get("yaw")-this.pu,b=this.get("pitch")-this.ou;return Math.sqrt(a*a+b*b)}return 0};a.prototype.Li=function(a){for(var b=this.Wc.get("useHandCursor"),c=a.length-1;c>=0&&b===m;c--)b=a[c].get("useHandCursor");
return!!b};return a});
define("hw","require,gW,gC,iX,fz,gq,p,iM,be,gX".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("fz"),d=a("gq");a("p");var h=a("iM"),k=a("be"),i=a("gX"),a=b.extend(e,function(a){e.call(this);this.n=a;this.sh.push(this.n);this.WD=this.WD.bind(this);this.VD=this.VD.bind(this);this.XD=this.XD.bind(this);this.Dk(["loadingActive","currentTime"]);this.set("tag","Hotspot");this.set("over",z);this.set("centerOver",z);this.set("enabled",o);this.set("visible",z);this.set("alpha",0);this.set("inVR",
z);this.set("overlaysEnabled",o);this.set("enabledInVR",o);this.set("enabledInStandard",o);this.set("interactionEnabled",o);this.set("centerOverDisplay",z);this.set("rollOverDisplay",z);this.set("loadingActive",z);this.bJ=this.cJ=this.Di=this.gc=this.Dd=q;this.ih=[];this.aJ=[];this.Ng=q});a.prototype.Ub=function(){this.Dd=(new d(f.O)).Yh(this.Xx.bind(this));this.gc=(new d(f.$b)).mk(this.Yx.bind(this));this.Di=(new d(f.Ob)).Yh(this.mca.bind(this));this.cJ=(new d(f.ed)).mk(this.gca.bind(this));this.bJ=
(new d(f.Cc)).mk(this.fca.bind(this));e.prototype.Ub.call(this);c.Ae(this.n,["items","rollOverItems","maps","rollOverMaps"],this.WD,o);c.Ae(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.XD,o);c.Ae(this.n,["areas"],this.VD,o)};a.prototype.Wb=function(){this.Lu([],this.ih);this.uP([],this.aJ);this.Dd.dispose();this.gc.dispose();this.Di.dispose();this.cJ.dispose();this.bJ.dispose();c.Xe(this.n,["items",
"rollOverItems","maps","rollOverMaps"],this.WD);c.Xe(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.XD);c.Xe(this.n,["areas"],this.VD);e.prototype.Wb.call(this)};a.prototype.WD=function(){this.set("items",this.nb.vn(this.n.get("items",[])));this.set("rollOverItems",this.nb.vn(this.n.get("rollOverItems",[])));this.set("maps",this.nb.vn(this.n.get("maps",[])));this.set("rollOverMaps",this.nb.vn(this.n.get("rollOverMaps",
[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.K4(this.n)}.bind(this));this.Yi(a);this.Dd.ad(a);this.gc.ad(a);this.Di.ad(a)};a.prototype.XD=function(){this.set("fadeInDuration",this.n.get("fadeInDuration"));this.set("fadeOutDuration",this.n.get("fadeOutDuration"));this.set("enabled",this.n.get("enabled",o));this.set("enabledInVR",this.n.get("enabledInVR"));this.set("enabledInStandard",this.n.get("enabledInStandard",
o));this.set("centerOverDisplay",this.n.get("centerOverDisplay"));this.set("rollOverDisplay",this.n.get("rollOverDisplay",z));this.set("interactionEnabled",this.n.get("interactionEnabled",o))};a.prototype.VD=function(){var a=this.n.get("areas");this.cJ.ad(a);this.bJ.ad(a)};a.prototype.L=function(a){this.jn(a);e.prototype.L.call(this,a);this.as(a)};a.prototype.as=function(a){this.set("inVR",a.Sb);this.set("hotspotsEnabled",a.vv);if(this.C("items","rollOverItems","maps","rollOverMaps","over","centerOver",
"inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")){var b=a=z,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")!==z&&this.get("rollOverDisplay")}this.get("rollOverItems").forEach(function(a){a.set("visible",b);a.set("beamEnabled",c&&b&&d)});var e=this.get("rollOverItems").length==0;this.get("items").forEach(function(a){a.set("visible",e||!b);a.set("beamEnabled",c&&(e||!b)&&d)});this.get("rollOverMaps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",c&&b&&d)});var f=this.get("rollOverMaps").length==0;this.get("maps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",
c&&(f||!b)&&d)});this.set("visible",a)}if(this.C("visible")){var a=this.get("alpha"),i=this.get("visible")?1:0,u=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(a-i);this.Ng=new h("linear",[new k("alpha",a,i)],Math.max(u,1));this.Hb()}};a.prototype.jn=function(a){if(this.Ng){if(this.Ng.wd())this.Ng=q;else{this.Ng.Ya(a.Kd);this.set("alpha",this.Ng.Xa("alpha"))}this.Hb()}};a.prototype.Xx=function(){this.ik();this.trigger(f.O)};a.prototype.mca=function(){this.ik();
this.trigger(f.Ob)};a.prototype.Yx=function(){this.ik()};a.prototype.ik=function(){var a=0;this.gc.qn(function(b){var c=0,d;this.Dd.Sh(b)?c=100:(d=this.gc.Sh(b))&&(c=d.Vg);a=a+c}.bind(this));this.trigger(new i(f.$b,a/this.gc.vc.length))};a.prototype.gca=function(a){a.data.Tz?this.uP([a.source],[]):this.Lu([a.source],[])};a.prototype.fca=function(a){a.data.Tz?this.uP([],[a.source]):this.Lu([],[a.source])};a.prototype.Lu=function(a,b){this.B1(this.ih,a,b);this.set("over",this.ih.length>0)};a.prototype.uP=
function(a,b){this.B1(this.aJ,a,b);this.set("centerOver",this.aJ.length>0)};a.prototype.B1=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("fX","require,gW,gC,iX,eo,df,cL,fP,dN,is,dg,iw,cQ,ih,O,eS".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 f=a("gW"),e=a("gC"),d=a("iX"),h=a("eo"),k=a("df"),i=a("cL"),n=a("fP"),g=a("dN"),l=a("is"),r=a("dg"),p=a("iw"),s=a("cQ"),t=a("ih"),u=a("O"),v=new (a("eS")),w=0,a=f.extend(n,function(a){n.call(this);this.set("tag","HotspotImage");this.set("visible",z);
this.set("playbackPositions",q);this.set("image",q);this.set("beamEnabled",z);this.set("state",q);this.set("visibleOnStop",o);this.set("id","hs_image_"+w++);this.n=a;this.sh.push(this.n);this.Re=this.Re.bind(this);this.th=this.th.bind(this);this.ub=new l;this.kx=this.Wc=this.fh=this.wb=q;this.ih=[];this.Ad=q});a.prototype.K4=function(a){if(this.Wc!=a){this.Wc&&e.Xe(this.Wc,["areas"],this.th,o);(this.Wc=a)&&e.Ae(this.Wc,["areas"],this.th,o)}};a.prototype.Ub=function(){n.prototype.Ub.call(this);e.Ae(this.n,
["scaleMode","distance","playbackPositions","image"],this.Re,o);this.Wc&&e.Ae(this.Wc,["areas"],this.th,o)};a.prototype.Wb=function(){this.UE([]);this.Lw();this.Wc&&e.Xe(this.Wc,["areas"],this.th,o);e.Xe(this.n,["scaleMode","distance","playbackPositions","image"],this.Re);n.prototype.Wb.call(this)};a.prototype.Re=function(){this.set("scaleMode",this.n.get("scaleMode"));this.set("distance",this.n.get("distance"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("image",this.n.get("image"))};
a.prototype.th=function(){var a=this.Wc.get("areas",[]);this.kx=k.qb("HotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.L=function(a){this.pu=a.yaw;this.ou=a.pitch;this.Xr();this.wz();this.xz();n.prototype.L.call(this,a)};a.prototype.xz=function(){if(this.C("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){i.setAttribute(a,i.Ns,this.get("panoramaId"));i.setAttribute(a,i.CS,this.get("id"))}.bind(this))}};a.prototype.Xr=function(){if(this.C("playbackPositions",
"currentTime")){this.ub.VG(this.get("playbackPositions"));this.ub.UG(this.get("currentTime"));this.set("yaw",this.ub.get("yaw"));this.set("pitch",this.ub.get("pitch"));this.set("roll",this.ub.get("roll"));this.set("rotationX",this.ub.get("rotationX"));this.set("rotationY",this.ub.get("rotationY"));this.set("hfov",this.ub.get("hfov"));this.set("vfov",this.ub.get("vfov"));this.set("alpha",this.ub.Si())}};a.prototype.wz=function(){if(this.C("image")){this.Lw();var a=t.oG(this.get("image").get("levels"),
this.get("hfov"),this.get("vfov"),this.get("scaleMode"));this.set("textureSource",new r(a.get("url")));this.UI()}};a.prototype.jn=function(){this.C("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=h.N));this.C("composedAlpha","meshGroup","inView")&&i.Tc(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.C("inView")&&this.n.trigger(this.get("inView")?
d.tf:d.og);this.fh&&this.fh.Ye(this.get("inView"))};a.prototype.Lw=function(){if(this.fh){this.fh.clear();this.fh=q}if(this.wb){this.wb.unbind(d.W,this.mx,this,o);this.wb.unbind(d.Tl,this.nx,this,o);this.wb.clear();this.wb=q}if(this.Ad){this.Ad.dispose();this.Ad=q}if(this.get("textureSource")){this.Hr();this.set("textureSource",q)}};a.prototype.uo=function(){this.Hr();var a,b=this.get("image");if(k.qb("AnimatedImageResource",b)){this.wb=new u(this.get("textureSource").vd(),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.wb.t;this.wb.bind(d.Tl,this.nx,this,o);this.wb.bind(d.W,this.mx,this,o);this.fh=new g(b,this.wb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.wb.Rh())}else{a=this.get("textureSource").vd();this.Ad=new s(a);this.set("visibleOnStop",o);this.set("state",q)}this.jn();this.set("width",a.width);this.set("height",a.height);this.get("textureSource").lg(a);
this.trigger(d.Ob);this.trigger(d.O)};a.prototype.ox=function(){this.Hr();this.trigger(d.Ob);this.trigger(d.O)};a.prototype.nx=function(){this.set("state",this.wb.Rh())};a.prototype.mx=function(){this.get("textureSource").update();this.Hb()};a.prototype.UI=function(){var a=this.get("textureSource");a.bind(d.O,this.uo,this,o);a.bind(d.dd,this.ox,this,o)};a.prototype.Hr=function(){var a=this.get("textureSource");a.unbind(d.O,this.uo,this,o);a.unbind(d.dd,this.ox,this,o)};a.prototype.aj=function(a){if(a.Bd==
d.bh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Pg()?this.ax(a):[];if(b.length>0){a.ks(b);this.Li(b)&&a.ls(b);a.Nh(this.get("distance"));var c=this.oa(b,a.Bp());c&&a.oQ(c,this.mp(a.Bp()))}this.UE(b,a.zv(),a.Bp())}else if(a.Bd==d.bi){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.Pg()?this.ax(a):[];if(b.length>0){var e=z;b.forEach(function(a){a.trigger(d.S);!e&&a.dA(d.S).length>1&&(e=o)});a.Nh(this.get("distance"));e&&a.Ip(b)}}};a.prototype.ax=function(a){var b=this.kx,c=[];this.Dj(a.Ym).forEach(function(a){var d;
b=b.filter(function(b){var e=b.get("mapColor");if(e=="any"){c.push(b);return z}d||(d=this.Ad?this.Ad.info(a.x,a.y):s.info(a.source,a.x,a.y));if(e=="image"&&d.rk||e=="transparent"&&!d.rk||e&&e[0]=="#"&&p.O2(d.color,e)<10){c.push(b);return z}return o}.bind(this))}.bind(this));return c};a.prototype.UE=function(a,b,c){this.ih.forEach(function(e){if(a.indexOf(e)<0){var g=v.get(e)-1;v.set(e,g);if(g==0){e.trigger(d.Cc,{Tz:c});b&&e.trigger(d.$e)}}});var e=this.ih;this.ih=a;this.ih.forEach(function(a){if(e.indexOf(a)<
0){var g=(v.get(a)||0)+1;v.set(a,g);if(g==1){a.trigger(d.ed,{Tz:c});b&&a.trigger(d.nj)}}})};a.prototype.oa=function(a,b){for(var c="",d=a.length-1;d>=0&&c=="";d--){var e=a[d];if(!b||e.get("displayTooltipInTouchScreens")&&this.nb.H.get("displayTooltipInTouchScreens")!==z)c=e.get("toolTip","")}return c};a.prototype.mp=function(a){if(a){var a=this.get("yaw")-this.pu,b=this.get("pitch")-this.ou;return Math.sqrt(a*a+b*b)}return 0};a.prototype.Li=function(a){for(var b=this.Wc.get("useHandCursor"),c=a.length-
1;c>=0&&b===m;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("eA",["require","eh","a"],function(a){function b(a,b,f){this.xd=a||new c(0,0,0);this.ig=b||new c(1,0,0);this.As=f||new c(0,1,0)}var c=a("eh"),f=a("a");b.prototype.clone=function(){return new b(this.xd.clone(),this.ig.clone(),this.As.clone())};b.prototype.apply=function(a){a.Vu(this.xd);a.Vu(this.ig);a.Vu(this.As)};b.prototype.intersection=function(a){var b=f.wp(a.xd,a.ig),h=f.wp(this.xd,a.xd),k=f.wp(this.xd,this.ig);k.xia(f.wp(this.xd,this.As));b=b.$z(k);if(0!=b)return h=-k.$z(h)/b,new c(a.xd.x+
(a.ig.x-a.xd.x)*h,a.xd.y+(a.ig.y-a.xd.y)*h,a.xd.z+(a.ig.z-a.xd.z)*h)};b.prototype.HR=function(a){var b=f.wp(this.xd,this.ig),h=f.wp(this.xd,this.As),a=f.wp(this.xd,a);return new c(a.$z(b)/b.UQ(),a.$z(h)/h.UQ(),0)};return b});
define("dm",[],function(){function a(a){a%=f;0>a&&(a+=f);return h[a*e|0]}function b(a){a%=f;0>a&&(a+=f);return d[a*e|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.ne=this.me=this.le=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.le=this.le;a.me=this.me;
a.ne=this.ne;return a};c.prototype.concat=function(a){var b=this.m11,c=this.m12,d=this.m13,e=this.m21,f=this.m22,h=this.m23,k=this.m31,u=this.m32,v=this.m33,w=this.le,y=this.me,A=this.ne;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=e*a.m11+f*a.m21+h*a.m31;this.m22=e*a.m12+f*a.m22+h*a.m32;this.m23=e*a.m13+f*a.m23+h*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.le=w*a.m11+y*
a.m21+A*a.m31+a.le;this.me=w*a.m12+y*a.m22+A*a.m32+a.me;this.ne=w*a.m13+y*a.m23+A*a.m33+a.ne};c.prototype.translate=function(a,b,c){this.le+=a;this.me+=b;this.ne+=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.le*=a;this.me*=b;this.ne*=c};c.prototype.Fn=function(c){var d=a(c),c=b(c),e=this.m12*d+this.m13*c,f=this.m22*c-this.m23*d,h=this.m22*d+this.m23*c,k=this.m32*c-this.m33*d,s=this.m32*d+this.m33*
c,t=this.me*c-this.ne*d,u=this.me*d+this.ne*c;this.m12=this.m12*c-this.m13*d;this.m13=e;this.m22=f;this.m23=h;this.m32=k;this.m33=s;this.me=t;this.ne=u};c.prototype.Gp=function(c){var d=a(c),c=b(c),e=-this.m11*d+this.m13*c,f=this.m21*c+this.m23*d,h=-this.m21*d+this.m23*c,k=this.m31*c+this.m33*d,s=-this.m31*d+this.m33*c,t=this.le*c+this.ne*d,u=-this.le*d+this.ne*c;this.m11=this.m11*c+this.m13*d;this.m13=e;this.m21=f;this.m23=h;this.m31=k;this.m33=s;this.le=t;this.ne=u};c.prototype.Hp=function(c){var d=
a(c),c=b(c),e=this.m11*d+this.m12*c,f=this.m21*c-this.m22*d,h=this.m21*d+this.m22*c,k=this.m31*c-this.m32*d,s=this.m31*d+this.m32*c,t=this.le*c-this.me*d,u=this.le*d+this.me*c;this.m11=this.m11*c-this.m12*d;this.m12=e;this.m21=f;this.m22=h;this.m31=k;this.m32=s;this.le=t;this.me=u};c.prototype.rotate=function(a,b,c){this.Fn(a);this.Gp(b);this.Hp(c)};c.prototype.J3=function(){var a=this.Xia();if(0==a)return z;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.le=-(b.le*this.m11+b.me*this.m21+b.ne*this.m31);this.me=-(b.le*this.m12+b.me*this.m22+b.ne*this.m32);this.ne=-(b.le*this.m13+b.me*this.m23+b.ne*this.m33);return o};c.prototype.Xia=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.Vu=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.me,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.ne;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.le;a.y=b;a.z=c};for(var f=2*Math.PI,e=18E4/f,d=new Float32Array(18E4),h=new Float32Array(18E4),k=0;18E4>k;k++)d[k]=Math.cos(k/e),h[k]=Math.sin(k/e);return c});
define("cp","require,gK,eY,cc,eh,eA,dm,hu".split(","),function(a){var b=a("gK"),c=a("eY"),f=a("cc"),e=a("eh"),d=a("eA"),h=a("dm"),k=a("hu"),i=Math.PI/180,n=new h,g=new c,l=new d,r=new e;return{get:function(a,b,c,d,f,l,h,k){a=a*i;b=b*i;b=new e(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));n.identity();n.Gp(c*i);n.Hp(f*i);n.Fn(d*i);b.apply(n);if(b.z>0){g.QA(h);g.I4(k);g.HA(l*i);g.project(b);return b}return q},mpa:function(a,c,d,e,g,f,h,A,x,B,O,E,G,I){I||(I=k.jq);G||(G=b.Gl(E,B,O));
E||(E=b.Jn(G,B,O));var J=B*0.5/Math.tan(E*0.5*i),K=J*Math.tan(E*0.5*i)*2,F=J*Math.tan(G*0.5*i)*2;l.xd.set(+K*0.5,+F*0.5,0);l.ig.set(-K*0.5,+F*0.5,0);l.As.set(+K*0.5,-F*0.5,0);n.identity();n.Hp(-x*i);n.Fn(-h*i);n.Gp(A*i);n.translate(0,0,J);n.Hp(-f*i);n.Fn(-g*i);n.Gp(-e*i);n.Gp(d.Bc()*i);n.Hp(d.De()*i);n.Fn(d.nc()*i);l.apply(n);r.set(a,c,0);g=l.intersection(d.unproject(r));e={x:m,y:m,xScaled:m,yScaled:m};if(g&&g.z>0){g=l.HR(g);e.xScaled=e.x=g.x/K;e.yScaled=e.y=g.y/F}if(I!=k.jq){var N,Q;switch(I){case k.Ie:N=
Math.min(b.Jn(G,B,O),E);Q=Math.min(b.Gl(E,B,O),G);break;case k.Ql:N=Math.max(b.Jn(G,B,O),E);Q=Math.max(b.Gl(E,B,O),G);break;case k.wk:N=E;Q=b.Gl(E,B,O);break;case k.ng:N=b.Jn(G,B,O);Q=G}if(N!=E||Q!=G){K=J*Math.tan(N*0.5*i)*2;F=J*Math.tan(Q*0.5*i)*2;l.xd.set(+K*0.5,+F*0.5,0);l.ig.set(-K*0.5,+F*0.5,0);l.As.set(+K*0.5,-F*0.5,0);l.apply(n);r.set(a,c,0);if((g=l.intersection(d.unproject(r)))&&g.z>0){g=l.HR(g);e.xScaled=g.x/K;e.yScaled=g.y/F}}}return e},koa:function(a,b,c,d,g,h,k){k=g*0.5/Math.tan(k*0.5*
i);l.xd.set(+g*0.5,+h*0.5,k);l.ig.set(-g*0.5,+h*0.5,k);l.As.set(+g*0.5,-h*0.5,k);n.identity();n.Hp(-d*i);n.Fn(-c*i);n.Gp(-b*i);n.Gp(a.Bc()*i);n.Hp(a.De()*i);n.Fn(a.nc()*i);l.apply(n);a=new f(new e(0,0,0),new e(0,0,1));if((a=l.intersection(a))&&a.z>0){a=l.HR(a);return{x:a.x/g,y:a.y/h}}return q}}});
define("dt",["require","gW","em","f","cL"],function(a){var b=a("gW"),c=a("em"),f=a("f"),e=a("cL"),d=new THREE.Matrix4,h=Math.PI/180,a=b.extend(f,function(){f.call(this);this.set("tag","Frame");this.pp=new THREE.Matrix4;this.df=new THREE.Matrix4;this.dk=new THREE.Matrix4;this.ic=new THREE.Matrix4});a.prototype.L=function(a){f.prototype.L.call(this,a)};a.prototype.Qu=function(a){var b=z;this.C("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.pp.makeTranslation(0.5*-this.get("composedTranslationX")*
c.sf,0.5*this.get("composedTranslationY")*c.sf,0.5*this.get("composedTranslationZ")*c.sf),b=o);this.C("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.df.makeRotationY(-a.yaw*h),this.df.multiply(d.makeRotationX(-this.get("composedDeltaPitch")*h)),this.df.multiply(d.makeRotationY(this.get("composedDeltaYaw")*h)),this.df.multiply(d.makeRotationY(a.yaw*h)),b=o);this.C("flipHorizontally")&&(this.dk.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=o);if(b||this.C("meshGroup"))this.ic.copy(this.pp),
this.ic.multiply(this.df),this.ic.multiply(this.dk),e.tp(this.get("meshGroup"),this.ic)};return a});
define("jd",["require","gW","gS","iv","hQ"],function(a){var b=a("gW"),c=a("gS"),f=a("iv"),e=a("hQ"),a=b.extend(e,function(a,b,c,f,n){e.call(this,a.get("url"));this.Z=b;this.$=c;this.M=f;this.aa=n;this.Eba=0!=this.Z||0!=this.$||this.M!=a.get("width")||this.aa!=a.get("height")});a.prototype.Qe=function(){this.Eba?(this.v9(),this.qm(),this.Wt(!!this.of)):e.prototype.Qe.call(this)};a.prototype.dz=function(){e.prototype.dz.call(this);this.FK()};a.prototype.qp=function(){e.prototype.qp.call(this);this.FK()};
e.prototype.dispose=function(){e.prototype.dispose.call(this);this.FK()};a.prototype.v9=function(){var a=c.vd(this.vb);this.of=f.uia(a,this.Z,this.$,this.M,this.aa)};a.prototype.FK=function(){this.of&&(f.$F(this.of),this.of=q)};return a});
define("dR","require,df,co,hK,eB,dg,hQ,jd,em,bA,cL,bq,ih,gv,p".split(","),function(a){var b=a("df"),c=a("co"),f=a("hK"),e=a("eB"),d=a("dg"),h=a("hQ"),k=a("jd"),i=a("em"),n=a("bA"),g=a("cL"),l=a("bq"),r=a("ih"),p=a("gv"),s=a("p"),t={ria:function(a,b){var c=l.get(a);switch(c){case l.nq:case l.Nn:case l.ah:return this.h9(c,a,b);case l.Bk:case l.oq:case l.Vs:return this.j9(c,a,b)}},wia:function(a,b){var d=a.get("hfov"),e=a.get("vfov"),f=a.get("pitch"),l=a.get("width"),k=b.get("posterURL"),r=new h(k),
k=n.XF(r.texture());p.Np(k,r);k.visible=z;e=i.xQ(d,e,f,1,1);e=g.create(e,[k]);p.OA(e,l/d);e.layers.set(c.tk);return e},via:function(a,b){var e=a.get("hfov"),f=a.get("vfov"),l=a.get("pitch"),h=a.get("width"),k=b.get("url"),r=new d,k=n.nn(r.texture(),new n.fj(k));p.Np(k,r);k.visible=o;f=i.xQ(e,f,l,1,1);f=g.create(f,[k]);p.OA(f,h/e);f.layers.set(c.tk);return f},tia:function(a){var b=[f.Za,f.xa,f.rb,f.zb,f.FRONT,f.BACK].map(function(){var b=new d;b.lg(t.waa(a));var c=n.nn(b.texture());p.Np(c,b);c.visible=
o;return c}),e=i.z2(1,1),b=g.create(e,b);p.OA(b,256/90);b.layers.set(c.tk);return b},RO:{},waa:function(a){if(!t.RO[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.RO[a]=b}return t.RO[a]},h9:function(a,d,h){var k=a==l.nq?[c.Za,c.xa]:[c.tk],n=d.get("flipImageHorizontally");n&&(k=k.reverse());var s=a==l.ah?1:6*k.length,t=h.get("width")/s,O=h.get("height"),E,G;if(b.qb("TiledImageResourceLevel",h)){E=h.get("colCount",
s)/s;G=h.get("rowCount",1)}else if(this.$_(a,h)){E=Math.ceil(t/e.Vl());G=Math.ceil(O/e.Vl())}else G=E=1;var I=[f.Za,f.xa,f.rb,f.zb,f.FRONT,f.BACK];return k.map(function(c,e){var f=Array(6);I.forEach(function(g,k){var p=r.NQ(d,h,g);if(b.qb("TiledImageResourceLevel",h))f[i.RT.indexOf(g)]=this.g9(p,a,c,g,n,E,G);else{var s=a==l.ah?0:Math.round((e*I.length+k)*t),y=E>1||G>1||a!=l.ah?t>256?1:0.5:0;f[i.RT.indexOf(g)]=this.eW(p,E,G,s,0,t,O,y)}}.bind(this));var k=Array.prototype.concat.apply([],f),s=i.z2(E,
G),k=g.create(s,k);k.layers.set(c);p.OA(k,t/90);return k}.bind(this))},j9:function(a,b,d){var f=a==l.Bk?[c.tk]:[c.xa,c.Za];b.get("flipImageHorizontally")&&(f=f.reverse());var h=d.get("width"),k=d.get("height"),n=b.get("hfov"),r=b.get("vfov"),s=b.get("pitch"),t=Math.round(h/n/(k/r)),I=Math.round(h/t),J=Math.round(k/Math.round(k/r/(h/n))),K=(a=this.$_(a,d))?Math.ceil(I/e.Vl()):1,F=a?Math.ceil(J/e.Vl()):1;return f.map(function(a,b){var c=this.eW(d,K,F,b%t*I,Math.floor(b/t)*J,I,J),e=i.xQ(n,r,s,K,F),c=
g.create(e,c);c.layers.set(a);p.OA(c,I/n);return c}.bind(this))},$_:function(a,b){switch(a){case l.nq:case l.Nn:case l.oq:case l.Vs:return o;case l.ah:return z;case l.Bk:return s.Cja().qka<Math.max(b.get("width"),b.get("height"))?o:e.Ti()||s.lb()?z:s.ud()==s.Rp?o:z}},eW:function(a,b,c,e,g,f,i,l){l||(l=0);for(var h=[],r=0;r<c;r++)for(var s=g+l+(i-2*l)*r/c,t=g+l+(i-2*l)*(r+1)/c,K=0;K<b;K++){var F=e+l+(f-2*l)*K/b,N=e+l+(f-2*l)*(K+1)/b,F=a?new k(a,F,s,N-F,t-s):new d,N=n.XF(F.texture());p.Np(N,F);h.push(N)}return h},
g9:function(a,b,c,e,g,f,i){for(var l=[],k=0;k<i;k++)for(var s=0;s<f;s++){var t;t=a?new h(r.h3(a,b,c,e,g,i,k,s)):new d;var J=n.XF(t.texture());p.Np(J,t);J.visible=z;l.push(J)}return l}};return t});
define("cd","require,gW,iX,dt,gq,dR,gv".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("dt"),e=a("gq"),d=a("dR"),h=a("gv"),a=b.extend(f,function(a){f.call(this);this.af=a;this.set("tag","SolidFrame");this.Ud=q});a.prototype.Ub=function(){this.Ud=(new e(c.O)).Yh(this.Qe.bind(this));f.prototype.Ub.call(this)};a.prototype.Wb=function(){this.Ud.dispose();f.prototype.Wb.call(this)};a.prototype.Hk=function(){var a=[d.tia(this.af)];h.Kp(a,h.Rl);h.Jp(a,h.zk);this.Ud.ad(a);return a};a.prototype.Qe=function(){this.trigger(c.Ob);
this.trigger(c.O)};return a});
define("gd","require,gW,eQ,em,bA,cL,F,f,dg,gv".split(","),function(a){var b=a("gW"),c=a("eQ"),f=a("em"),e=a("bA"),d=a("cL");a("F");var h=a("f"),k=a("dg"),i=a("gv");new THREE.Matrix4;var n=Math.PI/180,a=b.extend(h,function(){h.call(this);this.set("tag","Sprite");this.set("distance",m);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",m);this.set("offsetY",m);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.set("materialConfig",this.Kj=new e.fj);
this.Bt=f.wQ();this.rm=new THREE.Matrix4;this.Iw=new THREE.Matrix4;this.My=new THREE.Matrix4;this.Wx=new THREE.Matrix4;this.ck=new THREE.Matrix4;this.dk=new THREE.Matrix4;this.ic=new THREE.Matrix4});a.prototype.L=function(a){h.prototype.L.call(this,a);this.Az()};a.prototype.Az=function(){if(this.C("textureSource")||this.C("materialConfig")&&!this.Kj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");a&&d.Be(a,function(a){d.eS(a,this.co())}.bind(this))}};a.prototype.Hk=function(){var a=
d.create(this.Bt,this.co());i.Jp(a,i.zk);i.Kp(a,i.Rl);i.MA(a,c.lI);i.WG(a,1);return[a]};a.prototype.co=function(){var a=this.get("textureSource")||new k;this.Kj=this.get("materialConfig");var b=e.nn(a.texture(),this.Kj);i.Np(b,a);return[b]};a.prototype.Dj=function(a){return d.RQ(this.get("meshGroup"),a)};a.prototype.Qu=function(a){var b=z;this.set("rendererYaw",a.yaw);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.Sc);this.set("rendererCameraFOV",a.If);this.set("rendererWidth",a.width);
this.set("rendererHeight",a.height);this.set("inVR",a.Sb);this.C("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==m?f.pG(this.get("distance")):f.kv());if(this.C("z")){this.rm.makeTranslation(0,0,-this.get("z"));centerMatrixChanged=o}a.If&&this.C("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.If*n*0.5)*this.get("z")*
2);if(a.Og&&this.C("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.Iw.copy(a.Og.matrixWorld);var b=this.get("rendererHeightZ"),c=b*a.Og.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.My.makeTranslation(c,b,0);b=o}if(this.C("roll")){this.ck.makeRotationZ(this.get("roll")*n);b=o}if(a.If&&(centerMatrixChanged||this.C("rendererHeight",
"inVR","rendererHeightZ","width","height","flipHorizontally"))){b=a.Sb?512/a.height:1;a=(this.get("flipHorizontally")?-1:1)*this.get("width")*b;b=this.get("height")*b;this.dk.makeScale(a,b,1);b=o}if(this.C("width","height","offsetX","offsetY")){a=0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.Wx.makeTranslation(a,b,0);b=o}if(b){this.ic.copy(this.Iw);this.ic.multiply(this.rm);this.ic.multiply(this.My);this.ic.multiply(this.ck);this.ic.multiply(this.dk);
this.ic.multiply(this.Wx);d.tp(this.get("meshGroup"),this.ic)}};return a});
define("ei",["require","iw"],function(a){function b(a,c,d,h,k,i){this.Hi=c;this.t=document.createElement("canvas");this.t.width=this.Hi;this.t.height=this.Hi;switch(a){case b.Xv:this.N9(d,h,k,i);break;case b.jB:this.O9(d,h,k,i)}}var c=a("iw");b.prototype.Ac=P("Hi");b.prototype.kd=P("Hi");b.prototype.N9=function(a,b,d,h){for(var k=0.5*this.Hi,i=0.5*this.Hi,n=0.5*this.Hi,g=this.t.getContext("2d"),b=c.yR(b),l=g.createRadialGradient(k,i,0,k,i,n),r=0;r<d.length;r++)l.addColorStop(h[r],"rgba("+b[0]+","+
b[1]+","+b[2]+","+d[r]+")");g.fillStyle=l;g.globalAlpha=a;g.beginPath();g.arc(k,i,n,0,2*Math.PI,o);g.closePath();g.fill()};b.prototype.O9=function(a,b,d,h){var k=0.5*this.Hi,i=0.5*this.Hi,n=0.5*this.Hi,g=this.t.getContext("2d");g.clearRect(0,0,this.Hi,this.Hi);for(var l=c.yR(b),r=g.createRadialGradient(k,i,0,k,i,n),b=0;b<d.length;b++)r.addColorStop(h[b],"rgba("+l[0]+","+l[1]+","+l[2]+","+d[b]+")");g.fillStyle=r;g.globalAlpha=a;g.beginPath();for(b=0;6>b;b++)d=45*Math.PI/180+2*Math.PI*b/6,a=k+Math.cos(d)*
n,d=i+Math.sin(d)*n,0==b?g.moveTo(a,d):g.lineTo(a,d);g.closePath();g.fill()};b.Xv="circle";b.jB="hexagon";return b});
define("ii","require,gW,gC,iX,cp,fz,cd,gd,ei,dg".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("cp"),d=a("fz"),h=a("cd"),k=a("gd"),i=a("ei"),n=a("dg"),a=b.extend(d,function(a){d.call(this);this.n=a;this.sh.push(this.n);this.Re=this.Re.bind(this);this.set("tag","LensFlare");this.dJ=this.X8();this.Jc=this.x9();this.Yi(this.dJ.concat([this.Jc]))});a.prototype.Ub=function(){d.prototype.Ub.call(this);this.trigger(f.Ob);this.trigger(f.O);c.Ae(this.n,["yaw","pitch","bleaching","bleachingDistance"],
this.Re,o)};a.prototype.Wb=function(){c.Xe(this.n,["yaw","pitch","bleaching","bleachingDistance"],this.Re,o);d.prototype.Wb.call(this)};a.prototype.Re=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.L=function(a){d.prototype.L.call(this,a);this.set("rendererYaw",a.yaw);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.Sc);this.set("rendererCameraFOV",
a.If);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Sb);if(this.C("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR","yaw","pitch","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var b=a.yaw+this.get("composedDeltaYaw"),c=a.pitch+this.get("composedDeltaPitch"),f=a.Sc+this.get("composedDeltaRoll"),i=0,h=0,k,n,y,A;if(!a.Sb)if(b=e.get(this.get("yaw"),this.get("pitch"),b,c,f,a.If,a.width,a.height)){n=
a.width*0.5;A=a.height*0.5;k=b.x;y=b.y;n=(n-k)*2;A=(A-y)*2;h=Math.sqrt(n*n+A*A);i=Math.sqrt(a.width*a.width,a.height*a.height);a=Math.min(a.width,a.height);i=Math.max(0,Math.min(0.7,1-h/i));b=this.get("bleaching");a=1-Math.max(0,Math.min(1,h/(a*this.get("bleachingDistance"))));h=b*a}for(a=0;a<this.dJ.length;a++){b=this.dJ[a];b.set("alpha",i);if(i>0){b.set("centerX",k+n*g[a].position);b.set("centerY",y+A*g[a].position)}}this.Jc.set("alpha",h)}};a.prototype.X8=function(){return g.map(function(a){var b=
(new i(a.form,a.Js,a.opacity,a.color,a.ws,a.xs)).t,c=new n;c.lg(b);b=new k;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.x9=function(){return new h("#ffffff")};var g=[{form:i.jB,position:0.1,size:52,Js:128,opacity:0.8,color:"#FCFCFC",ws:[1,0.5],xs:[0,0.866]},{form:i.jB,position:0.2,size:52,Js:128,opacity:0.6,color:"#C8FCC8",ws:[1,0.5],xs:[0,0.866]},{form:i.Xv,position:0.36,size:112,Js:128,opacity:0.5,
color:"#C8C8FC",ws:[1,0.9,0.6,0],xs:[0,0.2,0.4,1]},{form:i.Xv,position:0.47,size:32,Js:128,opacity:0.3,color:"#96C8AF",ws:[1,1,0],xs:[0,0.9,1]},{form:i.Xv,position:0.65,size:52,Js:128,opacity:0.7,color:"#FCFCFC",ws:[0.7,0.7,0.2,0],xs:[0,0.1,0.4,1]},{form:i.jB,position:0.88,size:128,Js:128,opacity:0.4,color:"#AF96C8",ws:[1,0.5],xs:[0,0.866]},{form:i.Xv,position:1,size:33,Js:128,opacity:0.8,color:"#C89696",ws:[0.8,0.8,0.6,0],xs:[0,0.2,0.4,1]}];return a});
define("bm",["require","cU"],function(a){function b(a,b,k){e.style.fontFamily=f.ns(b.fontFamily);e.style.fontSize=b.fontSize;e.style.fontWeight=b.fontWeight;e.style.fontStyle=b.fontStyle;e.innerHTML=a;document.body.appendChild(e);var i=new c(Math.ceil(e.clientWidth),Math.ceil(e.clientHeight));document.body.removeChild(e);k&&(k.font=b.fontSize+" "+f.ns(b.fontFamily),a=k.measureText(a).width,i.height*=a/i.width,i.width=a);return i}function c(a,b){this.width=a;this.height=b}var f=a("cU"),e=document.createElement("div");
e.style.display="inline-block";e.style.margin=0;e.style.padding=0;e.style.whiteSpace="nowrap";b.NT=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.Fna=c;return b});
define("ie",["require","bm","cU"],function(a){function b(a,b){this.Aa=a;this.c_=5;this.ac=b.map(function(b){return new c(a,b)});this.Nt=this.Ot=this.km=this.lm=0;this.DP();this.t=document.createElement("canvas");this.t.width=this.lm;this.t.height=this.km;this.Da=this.t.getContext("2d");this.Y=o;this.Gc=this.WZ=-1}function c(a,b){this.zs=a;this.item=b;this.label=b.get("label");this.fontFamily=this.zs.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.zs.get("backgroundColor",
"#000000");this.x4=this.zs.get("rollOverBackgroundColor",this.backgroundColor);this.hla=this.zs.get("selectedBackgroundColor",this.x4);this.I2=this.zs.get("fontColor","#000000");this.y4=this.zs.get("rollOverFontColor",b.I2);this.ila=this.zs.get("selectedFontColor",b.y4);this.i5=this.h5=this.j5=this.k5=this.height=this.width=this.left=this.top=0;this.status=z;this.eR=o}var f=a("bm"),e=a("cU");c.prototype.Qma=function(){var a=new f.NT;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;a=f(this.label,
a);this.k5=a.width;this.j5=a.height};c.prototype.nma=function(a){this.status!=a&&(this.status=a,this.eR=o)};c.prototype.Cia=function(a){if(this.eR){this.eR=z;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.I2;break;case "over":b=this.x4;c=this.y4;break;case "selected":b=this.hla,c=this.ila}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")+" "+e.ns(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.h5),Math.round(this.i5));return o}return z};b.prototype.Ac=P("lm");b.prototype.kd=P("km");b.prototype.DP=function(){var a=0,b=0;this.ac.forEach(function(c){c.Qma();a=Math.max(c.k5,a);b=Math.max(c.j5,b)});this.Ot=a+2*this.c_;this.Nt=b+2*this.c_;var c=0,e=0,f=0;this.ac.forEach(function(a){20<=f&&(f=0,e+=this.Ot,c=0);a.left=e;a.top=c;a.h5=e+0.5*this.Ot;
a.i5=c+0.5*this.Nt;a.width=this.Ot;a.height=this.Nt;f+=1;c+=this.Nt}.bind(this));this.lm=Math.ceil(this.ac.length/20)*this.Ot;this.km=Math.min(20,this.ac.length)*this.Nt};b.prototype.update=function(){for(var a=z,b=0;b<this.ac.length;b++)this.ac[b].nma(this.WZ==b?"over":this.Gc==b?"selected":"normal"),a=this.ac[b].Cia(this.Da)||a;return a};b.prototype.S2=function(a,b){var c=-1;0<=a&&a<this.lm&&0<=b&&b<this.km&&(c=20*Math.floor(a/this.Ot)+Math.floor(b/this.Nt),c>=this.ac.length&&(c=-1));return c};
b.prototype.gS=L("WZ");b.prototype.kS=L("Gc");b.prototype.clear=function(){this.ac=this.t=this.Da=this.Aa=q};return b});
define("dH","require,gW,iX,fP,ie,dg,iM,be".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("gW"),f=a("iX"),e=a("fP"),d=a("ie"),h=a("dg"),k=a("iM"),i=a("be"),a=c.extend(e,function(a){e.call(this);this.Aa=a;this.t=q;this.lF=this.Fu=this.QN=this.Um=m;this.zV=20;this.od=q;this.xb=this.Aa.get("opacity",0.5);this.oy=this.Aa.get("rollOverOpacity",this.xb);this.Pba=1;this.Rba=0.66;this.set("tag","MenuButton");this.set("visible",z);this.set("over",z);this.set("centerDistance",
m)});a.prototype.L=function(a){this.pf(a);this.vz(a);this.yz(a);this.as(a);e.prototype.L.call(this,a)};a.prototype.pf=function(){if(this.get("visible")){if(!this.t){this.get("textureSource")||this.set("textureSource",new h);this.t=new d(this.Aa,[this.Aa]);this.get("textureSource").lg(this.t.t);this.set("width",this.t.Ac());this.set("height",this.t.kd());this.set("hfov",2*Math.atan2(this.t.Ac()*0.5,300)*g);this.set("distance",this.Aa.get("distance"))}if(this.t.update()){this.get("textureSource").update();
this.Hb()}this.C("over")&&this.t.gS(this.get("over")?0:-1)}};a.prototype.vz=function(a){if(this.C("visible"))this.od=new k("linear",[new i("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,m)],300);if(this.od)this.od.wd()?this.od=q:this.od.Ya(a.Kd)};a.prototype.yz=function(a){if(this.get("visible")||this.od){this.Fu=a.yaw;this.lF=Math.min(90,Math.max(-90,this.zV+this.zV-a.pitch));if(this.C("visible")&&this.get("visible")){this.set("yaw",a.yaw);this.set("pitch",a.pitch)}else{for(;this.Fu+
180<this.Um;)this.Um=this.Um-360;for(;this.Fu-180>this.Um;)this.Um=this.Um+360;var c=(this.Fu-this.Um)/a.Kd,d=(this.lF-this.QN)/a.Kd,e=Math.atan2(d,c),d=Math.sqrt(d*d+c*c),d=Math.min(d,10*n),c=Math.cos(e)*d,e=Math.sin(e)*d;this.set("yaw",b(this.get("yaw"),this.Fu+c));this.set("pitch",b(this.get("pitch"),this.lF+e))}this.Um=this.Fu;this.QN=this.lF;e=this.get("yaw")-a.yaw;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(e*e+a*a))}};a.prototype.as=function(){if(!this.get("visible")&&!this.od)this.set("alpha",
0);else if(this.C("over","centerDistance")||this.od){var a=this.get("over")?this.oy:this.xb,b=this.Rba,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Pba-b);a=a+(1-c)*(this.oy-a)}if(this.od){a=a*this.od.Xa("displayCoef");b=b*this.od.Xa("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.aj=function(a){if(a.Bd==f.bh){var b=z;this.get("visible")&&!a.Pg()&&(b=this.Dj(a.Ym).length>0);if(b){a.ks(this.Aa);a.ls(this.Aa);a.Nh(this.get("distance"))}if(this.get("over")!=
b){this.get("over")&&this.Aa.trigger(f.Cc);this.set("over",b);this.get("over")&&this.Aa.trigger(f.ed)}}else if(a.Bd==f.bi&&this.get("visible")&&!a.Pg()&&this.Dj(a.Ym).length>0){a.Ip(this.Aa);this.Aa.trigger(f.S);this.trigger(f.S)}};var n=Math.PI/180,g=180/Math.PI;return a});
define("fS","require,gW,iX,fP,ie,dg,iM,be".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("fP"),e=a("ie"),d=a("dg"),h=a("iM"),k=a("be"),a=b.extend(f,function(a,b){f.call(this);this.Aa=a;this.Ox=b;this.t=q;this.QN=this.Um=m;this.od=q;this.xb=this.Aa.get("opacity",0.5);this.oy=this.Aa.get("rollOverOpacity",this.xb);this.set("textureSource",new d);this.t=new e(this.Aa,b);this.set("tag","MenuPanel");this.get("textureSource").lg(this.t.t);this.set("width",this.t.Ac());this.set("height",this.t.kd());
this.set("hfov",2*Math.atan2(this.t.Ac()*0.5,300)*i);this.set("distance",this.Aa.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.nW=z});a.prototype.Ub=function(){f.prototype.Ub.call(this)};a.prototype.Wb=function(){f.prototype.Wb.call(this)};a.prototype.L=function(a){this.pf(a);this.vz(a);this.yz(a);f.prototype.L.call(this,a)};a.prototype.pf=function(){this.C("selectedIndex")&&this.t.gS(this.get("selectedIndex"));this.C("overIndex")&&this.t.gS(this.get("overIndex"));if(this.t.update()){this.get("textureSource").update();
this.Hb()}};a.prototype.vz=function(a){if(!this.od&&!this.nW)this.od=new h("linear",[new k("alpha",0,1,m),new k("scale",0,1,m),new k("yaw",a.yaw,this.get("yaw"),m),new k("pitch",a.pitch,this.get("pitch"),m)],300);if(this.od)if(this.od.wd()){this.nW=o;this.od=q}else this.od.Ya(a.Kd)};a.prototype.yz=function(){if(this.od){var a=this.get("overIndex")<0?this.xb:this.oy;this.set("alpha",a*this.od.Xa("alpha"));this.set("scale",this.od.Xa("scale"));this.set("yaw",this.od.Xa("yaw"));this.set("pitch",this.od.Xa("pitch"))}else if(this.C("overIndex")){a=
this.get("overIndex")<0?this.xb:this.oy;this.set("alpha",a)}};a.prototype.aj=function(a){if(a.Bd==c.bh){var b=-1;if(!a.Pg()){var d=this.Dj(a.Ym);d.length>0&&(b=this.t.S2(d[0].x,d[0].y))}if(b>=0){a.ks(this.Ox[b]);a.ls(this.Ox[b]);a.Nh(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.ed):this.trigger(c.Cc));if(this.get("overIndex")!=b){this.get("overIndex")>=0&&this.Ox[this.get("overIndex")].trigger(c.Cc);this.set("overIndex",b);this.get("overIndex")>=0&&this.Ox[this.get("overIndex")].trigger(c.ed)}}else if(a.Bd==
c.bi&&!a.Pg()){d=this.Dj(a.Ym);if(d.length>0){b=this.t.S2(d[0].x,d[0].y);if(b>=0){d=this.Ox[b];this.set("selectedIndex",b);a.Ip(d);a.Nh(this.get("distance"));d.trigger(c.S);this.trigger(c.S,{item:d})}}}};var i=180/Math.PI;return a});
define("dF",["require","gW","iX","fz","fS"],function(a){var b=a("gW"),c=a("iX"),f=a("fz"),e=a("fS"),a=b.extend(f,function(a){f.call(this);this.Aa=a;this.So=[];this.bu=q;this.set("tag","MenuPanels");this.set("visible",z)});a.prototype.L=function(a){this.C("visible")&&this.get("visible")&&(this.set("yaw",a.yaw),this.set("pitch",a.pitch),this.PU(this.Aa));f.prototype.L.call(this,a)};a.prototype.PU=function(a){var a=new e(this.Aa,a.get("children",[])),b=this.get("yaw");this.Ma().forEach(function(a){b+=
a.get("hfov")+h});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.e7(a);this.appendChild(a)};a.prototype.Q_=function(a){this.Ma().slice(a).forEach(function(a){this.cea(a);a.remove()}.bind(this));this.So=this.So.filter(function(a){return 0<=this.Ma().indexOf(a)}.bind(this))};a.prototype.e7=function(a){a.bind(c.ed,this.h_,this,o);a.bind(c.Cc,this.g_,this,o);a.bind(c.S,this.f_,this,o)};a.prototype.cea=function(a){a.unbind(c.ed,this.h_,this,o);a.unbind(c.Cc,this.g_,this,o);a.unbind(c.S,this.f_,this,
o)};a.prototype.h_=function(a){0>this.So.indexOf(a.source)&&(this.So.push(a.source),1==this.So.length&&this.LV())};a.prototype.g_=function(a){a=this.So.indexOf(a.source);0<=a&&(this.So.splice(a,1),0==this.So.length&&this.dfa())};a.prototype.f_=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.Q_(this.Ma().indexOf(b)+1),this.PU(a)):this.QV()};a.prototype.QV=function(){this.set("visible",z);this.Q_(0);this.LV();this.trigger(c.Tp)};a.prototype.LV=function(){this.bu&&(clearTimeout(this.bu),
this.bu=q)};a.prototype.dfa=function(){this.bu||(this.bu=setTimeout(function(){this.bu=q;this.QV()}.bind(this),d))};var d=3E3,h=1;return a});
define("dM","require,gW,iX,fz,dH,dF".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("fz"),e=a("dH");MenuPanels=a("dF");a=b.extend(f,function(a){f.call(this);this.n=a;this.sh.push(this.n);this.set("tag","Menu");this.set("visible",z);this.Lb=new e(this.n);this.Lb.bind(c.S,this.Q7,this,z);this.dE=new MenuPanels(this.n);this.dE.bind(c.Tp,this.kda,this,z);this.Yi([this.Lb,this.dE])});a.prototype.Ub=function(){f.prototype.Ub.call(this);this.trigger(c.Ob);this.trigger(c.O)};a.prototype.L=function(a){this.set("visible",
a.Sb);if(this.C("visible")){this.Lb.set("visible",this.get("visible"));this.dE.set("visible",z)}f.prototype.L.call(this,a)};a.prototype.Q7=function(){this.Lb.set("visible",z);this.dE.set("visible",o)};a.prototype.kda=function(){this.Lb.set("visible",this.get("visible"))};return a});
define("H","require,gW,gC,iX,gX,fz,gq,ih,fN".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("gX"),d=a("fz"),h=a("gq"),k=a("ih"),i=a("fN"),n=0,a=b.extend(d,function(a){d.call(this);this.n=a;this.sh.push(this.n);this.OD=this.OD.bind(this);this.te=this.te.bind(this);this.ND=this.ND.bind(this);this.Dk(["loadingActive","currentTime"]);this.set("tag","Panorama");this.set("loadingActive",z);this.set("blendingActive",o);this.set("currentTime",0);this.set("adjacentPanoramas",[]);this.set("preloadEnabled",
o);this.set("backgroundPreloadEnabled",o);this.set("id","panorama_"+n++);this.wE=[];this.Di=this.gc=this.Dd=q;this.Yi([this.Me=new g,this.Vj=new l])});a.prototype.Ub=function(){this.Dd=(new h(f.O)).Yh(this.Mj.bind(this));this.gc=(new h(f.$b)).mk(this.sr.bind(this));this.Di=(new h(f.Ob)).Yh(this.qca.bind(this));d.prototype.Ub.call(this);c.Ae(this.n,["currentTime"],this.OD,o);c.Ae(this.n,["frames","overlays","vrMenu","adjacentPanoramas"],this.te,o);c.Ae(this.n,["adjacentPanoramas"],this.ND,o)};a.prototype.Wb=
function(){this.Dd.dispose();this.gc.dispose();this.Di.dispose();d.prototype.Wb.call(this);c.Xe(this.n,["currentTime"],this.OD);c.Xe(this.n,["frames","overlays","vrMenu","flipImageHorizontally"],this.te);c.Xe(this.n,["adjacentPanoramas"],this.ND);this.eP()};a.prototype.te=function(){var a=this.nb.vn(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.nb.vn(this.n.get("overlays"));this.n.get("vrMenu")&&
b.push(this.nb.vn(this.n.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.Dd.ad(a.concat(b));this.gc.ad(a.concat(b));this.Di.ad(a);this.Me.Yi(a);this.Vj.Yi(b);this.H1()};a.prototype.OD=function(){this.set("currentTime",this.n.get("currentTime",0))};a.prototype.ND=function(){this.set("adjacentPanoramas",this.n.get("adjacentPanoramas",[]))};a.prototype.Mj=function(){this.ik();this.trigger(f.O)};a.prototype.qca=function(){this.ik();this.trigger(f.Ob)};a.prototype.sr=
function(){this.ik()};a.prototype.ik=function(){var a=0;this.gc.qn(function(b){var c=0,d;this.Dd.Sh(b)?c=100:(d=this.gc.Sh(b))&&(c=d.Vg);a=a+c}.bind(this));this.trigger(new e(f.$b,a/this.gc.vc.length))};a.prototype.L=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",this.nb.ya.get("backgroundPreloadEnabled")!==z);this.set("preloadEnabled",a.yA);this.C("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&
this.get("backgroundPreloadEnabled")?this.Ofa():this.eP());this.C("index")&&this.H1();d.prototype.L.call(this,a)};a.prototype.Ofa=function(){this.eP();this.wE=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,k.mA(a,this.get("preloadEnabled"))]}.bind(this));this.wE.forEach(function(a){i.p2(a[0],a[1]);i.FG(a[0],1)})};a.prototype.eP=function(){this.wE.forEach(function(a){i.FG(a[0],-1);i.Wka(a[0],a[1])});this.wE=[]};a.prototype.H1=function(){var a=this.get("index");this.Me.Ma().forEach(function(b,
c,d){b.set("panoramaIndex",a);b.set("frameIndex",c);b.set("frameCount",d.length)})};var g=b.extend(d,function(){d.call(this);this.Dk(["loadingActive","currentTime"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});g.prototype.L=function(a){this.Ma().forEach(function(a,b,c){a.set("frontFrame",c[c.length-1])});d.prototype.L.call(this,a)};var l=b.extend(d,function(){d.call(this);this.Dk(["loadingActive","currentTime"]);this.set("loadingActive",z);this.set("currentTime",
0);this.set("tag","Group")});return a});
define("bf",["require","gW","dt","cL"],function(a){var b=a("gW"),c=a("dt"),f=a("cL"),e=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_"+e++)});a.prototype.L=function(a){c.prototype.L.call(this,a);this.xz()};a.prototype.OP=function(){if(this.C("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
e=this.get("frameCount"),n=a.children.length;a.children.forEach(function(a,d){f.mS(a,b+(d+c/e)/n)}.bind(this))}}};a.prototype.xz=function(){if(this.C("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){f.setAttribute(a,f.Ns,this.get("panoramaId"));f.setAttribute(a,f.jH,b);f.setAttribute(a,f.Os,this.get("id"))}.bind(this))}};return a});
define("iC","require,gW,gC,iX,eQ,fz,bf,gq,ih,dR,gv,gX".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("eQ"),d=a("fz"),h=a("bf"),k=a("gq"),i=a("ih"),n=a("dR"),g=a("gv"),l=a("gX"),a=b.extend(h,function(a){h.call(this);this.set("tag","ImagePanoramaFrame");this.r_=o;this.n=a;this.sh.push(this.n);this.bg=this.Ud=this.Di=q;this.DM=[];this.te=this.te.bind(this);this.Dk(["loadingActive","currentTime","panoramaId"]);this.Yi([this.Vj=new r])});a.prototype.Ub=function(){this.Di=new k(f.O);this.Ud=
new k(f.O);this.bg=new k(f.$b);h.prototype.Ub.call(this);c.Ae(this.n,["overlays"],this.te,o)};a.prototype.Wb=function(){this.Di.dispose();this.Ud.dispose();this.bg.dispose();c.Xe(this.n,["overlays"],this.te);h.prototype.Wb.call(this)};a.prototype.te=function(){this.Vj.Yi(this.nb.vn(this.n.get("overlays")));this.A1()};a.prototype.A1=function(){this.Ud.ad([].concat(this.DM,this.Vj.Ma()));this.bg.ad([].concat(this.DM,this.Vj.Ma()))};a.prototype.Hk=function(){var a=[],b=[],c=[];i.TQ(this.n,this.r_).forEach(function(d,
f){var h=n.ria(this.n,d);if(i.fka(d)){if(f==0){a=a.concat(h);b=b.concat(h)}g.Kp(h,f==0?g.Rl:g.lB);g.Jp(h,f==0?g.zk:g.eI)}else{f==0&&(a=a.concat(h));b=b.concat(h);g.Kp(h,g.Rl);g.Jp(h,g.zk)}g.MA(h,f==0?e.BT:e.Ak);g.WG(h,f);c=c.concat(h)}.bind(this));this.Di.ad(a);this.DM=b;this.A1();this.Ud.Yh(this.Mj.bind(this));this.Di.Yh(this.Qca.bind(this));this.bg.mk(this.sr.bind(this));this.trigger(new l(f.$b,0));return c};a.prototype.Qca=function(){this.trigger(f.Ob)};a.prototype.Mj=function(){this.trigger(f.O)};
a.prototype.L=function(a){this.r_=a.yA;this.lha();h.prototype.L.call(this,a)};a.prototype.lha=function(){var a=this.get("frontFrame");if(this.C("frontFrame")||a&&a.C("alpha"))this.Vj.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.sr=function(){var a=0;this.bg.qn(function(b){var c=0,d;this.Ud.Sh(b)?c=100:(d=this.bg.Sh(b))&&(c=d.Vg);a=a+c}.bind(this));this.trigger(new l(f.$b,a/this.bg.vc.length))};var r=b.extend(d,function(){d.call(this);this.Dk(["loadingActive","panoramaId"]);this.set("loadingActive",
z);this.set("tag","Group")});return a});define("dA",["require","gW","ho","iX","df"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),a=a("df"),b=b.extend(c,function(){c.call(this)});b.gj="cueChange";a.v("VideoCue",b).A("Object").K({startTime:"number",endTime:"number"}).Yb([f.ej,f.qa]);return b});
define("hc",["require"],function(){function a(a,f,e){this.vb=a;this.h1=f;this.Rd=e||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.Rd==b};a.prototype.isEqual=function(a){return this.vb==a.vb&&this.h1==a.h1&&this.Rd==a.Rd};return a});
define("K","require,gW,bF,dQ,eo,cT,hc,dK".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("dQ"),e=a("eo"),d=a("cT"),h=a("hc"),k=a("dK"),i=b.extend(f,function(a,b){f.call(this);this.la=a;this.vb=b;this.k=e.N;this.Tf=this.Pb=0;this.Xc=z;this.Ni=1;this.t=this.Pa=q});i.prototype.Ld=function(a){if(this.k!=a&&!(a==e.Zb&&this.k!=e.Q)){this.k=a;if(this.k==e.Q)k.IR(this);else{k.xA(this);this.k==e.N&&this.ufa()}this.Lga()}};i.prototype.Rh=P("k");i.prototype.tn=P("Pb");i.prototype.Kv=function(a){this.Tf=
a;if(this.Pa){this.Pa.nA()&&this.wW();this.k==e.Q?this.Pa.play(this.la,this.vb,this.Tf):this.Pa.pause(this.la,this.vb,this.Tf)}};i.prototype.Ri=P("Tf");i.prototype.Wh=function(a){this.Ni=a;this.Pa&&this.Pa.Wh(a)};i.prototype.Mf=function(a){this.Xc=a;this.Pa&&this.Pa.Mf(a)};i.prototype.cv=function(a,b,c){this.Pa&&this.Pa.nA()?this.Pa.cv(a,b,c):this.t?a.drawImage(this.t,0,0,b,c):a.fillRect(0,0,b,c)};i.prototype.iG=function(){return this.Pa&&this.Pa.nA()?new h(this.vb,this.Pa.Ri(),this.Pa.u):this.t?
new h(this.vb,this.Tf,this.t):new h(this.vb,this.Tf,q)};i.prototype.EQ=function(a){this.Pa=a;setTimeout(function(){this.Pa&&this.Pa.bind(d.$g,this.Zx,this,o)}.bind(this),0);this.Pa.bind(d.Ze,this.Yc,this,o);this.Pa.bind(d.Pl,this.Mm,this,o);this.Pa.Mf(this.Xc);this.Pa.Wh(this.Ni);this.Pa.play(this.la,this.vb,this.Tf)};i.prototype.lR=function(){this.Pa.nA()&&this.wW();this.Tf=this.Pa.Ri();this.Pa.unbind(d.$g,this.Zx,this,o);this.Pa.unbind(d.Ze,this.Yc,this,o);this.Pa.unbind(d.Pl,this.Mm,this,o);this.Pa=
q};i.prototype.clear=function(){this.C8()};i.prototype.wW=function(){if(!this.t)this.t=document.createElement("canvas");this.t.width=this.Pa.Ac();this.t.height=this.Pa.kd();this.Pa.cv(this.t.getContext("2d"),this.t.width,this.t.height)};i.prototype.C8=function(){if(this.t){this.t.width=0;this.t.height=0;this.t=q}};i.prototype.Mm=function(){this.Pb=this.Pa.tn();this.yga()};i.prototype.Yc=function(){this.Pb!=this.Pa.tn()&&this.Mm();this.Tf=this.Pa.Ri();this.x1()};i.prototype.Zx=function(){this.Ld(e.N);
this.zga()};i.prototype.ufa=function(){this.Tf=0;this.x1()};i.prototype.x1=function(){this.trigger(new c(i.Ze))};i.prototype.yga=function(){this.trigger(new c(i.Pl))};i.prototype.zga=function(){this.trigger(new c(i.$g))};i.prototype.Lga=function(){this.trigger(new c(i.cd))};i.Ze="time update";i.Pl="duration update";i.cd="state change";i.$g="end";return i});
define("hC","require,cE,iX,bF,eo,dA,K".split(","),function(a){function b(a,b){this.he=a;this.U=b;this.Cf=z;this.bf=[];this.kh=this.rt=m;this.Mc=[];this.M7();this.aK();this.cz();this.Se()}function c(a,b,c){this.time=a;this.cue=b;this.action=c}var f=a("cE"),e=a("iX"),d=a("bF"),h=a("eo"),k=a("dA"),i=a("K");b.prototype.clear=function(){this.Kw();this.bf=[];this.Pga();this.U=this.he=q};b.prototype.M7=function(){this.U.bind(i.Ze,this.Yc,this,o);this.U.bind(i.cd,this.Se,this,o);this.U.bind(i.$g,this.Tj,
this,o)};b.prototype.Pga=function(){this.U.unbind(i.Ze,this.Yc,this,o);this.U.unbind(i.cd,this.Se,this,o);this.U.unbind(i.$g,this.Tj,this,o)};b.prototype.Se=function(){var a=this.U.Rh()!=h.N;if(this.Cf!=a)(this.Cf=a)?this.cz():this.Kw()};b.prototype.Tj=function(){this.Ru()};b.prototype.Yc=function(){this.Ru()};b.prototype.cz=function(){this.kh=this.rt=0};b.prototype.Ru=function(){if(this.U&&this.Cf){var a=this.Mc.slice(),b=this.U.Ri(),c=b-this.rt;if(c<0){this.Mc=[];this.kh=0}c=c>=0&&c<2;this.rt=b;
var i;for(i=this.kh;i<this.bf.length;i++)if(this.bf[i].time>b)break;for(;this.kh<i;this.kh++){b=this.bf[this.kh];if(b.action=="start"){this.Mc=f(this.Mc).union([b.cue]);c&&b.cue.trigger(new d(e.ej))}else{this.Mc=f(this.Mc).difference([b.cue]);c&&b.cue.trigger(new d(e.qa))}}(a.length!=this.Mc.length||f(a).intersection(this.Mc).length!=this.Mc.length)&&this.qz()}};b.prototype.Kw=function(){if(this.Mc.length>0){this.Mc=[];this.qz()}};b.prototype.qz=function(){this.he.trigger(new d(k.gj,{activeCues:this.Mc.slice()}))};
b.prototype.aK=function(){this.bf=[];var a=this.he.get("cues",[]);f(a).each(function(a){this.bf.push(new c(a.get("startTime",0),a,"start"));this.bf.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.bf.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("hl",["require","iX","eo","bF","K"],function(a){function b(a,b,c){this.ya=a;this.he=b;this.U=c;this.U.Kv(this.Tf=this.he.get("currentTime",0));this.U.Mf(this.Xc=this.ya.get("mute",z));this.U.Ld(this.k=this.he.get("state",f.N));this.Pb=this.U.tn();this.f7();this.k7();this.am()}var c=a("iX"),f=a("eo"),e=a("bF"),d=a("K");b.prototype.clear=function(){this.dea();this.gea();this.Zm();this.U.Ld(f.N);this.he.set("state",f.N);this.he.set("currentTime",0);this.he.set("duration",m)};b.prototype.RZ=function(){var a=
this.he.get("state",f.N);this.k!=a&&this.U.Ld(this.k=a)};b.prototype.QZ=function(){var a=this.he.get("currentTime",0);this.Tf!=a&&this.U.Kv(this.Tf=a)};b.prototype.AZ=function(){var a=this.ya.get("mute",0);this.Xc!=a&&this.U.Mf(this.Xc=a)};b.prototype.NZ=function(){this.he.set("currentTime",this.Tf=this.U.Ri())};b.prototype.LZ=function(){this.he.set("duration",this.Pb=this.U.tn())};b.prototype.MZ=function(){this.he.set("state",this.k=this.U.Rh())};b.prototype.OZ=function(){this.he.get("loop")&&(this.U.Kv(this.Tf=
0),this.U.Ld(this.k=f.Q));this.he.trigger(new e(c.qa))};b.prototype.f7=function(){this.ya.bind(c.Ca("mute"),this.AZ,this,o)};b.prototype.dea=function(){this.ya.unbind(c.Ca("mute"),this.AZ,this,o)};b.prototype.k7=function(){this.he.bind(c.Ca("state"),this.RZ,this,o);this.he.bind(c.Ca("currentTime"),this.QZ,this,o)};b.prototype.gea=function(){this.he.unbind(c.Ca("state"),this.RZ,this,o);this.he.unbind(c.Ca("currentTime"),this.QZ,this,o)};b.prototype.am=function(){this.U.bind(d.Ze,this.NZ,this,o);this.U.bind(d.Pl,
this.LZ,this,o);this.U.bind(d.cd,this.MZ,this,o);this.U.bind(d.$g,this.OZ,this,o)};b.prototype.Zm=function(){this.U.unbind(d.Ze,this.NZ,this,o);this.U.unbind(d.Pl,this.LZ,this,o);this.U.unbind(d.cd,this.MZ,this,o);this.U.unbind(d.$g,this.OZ,this,o)};return b});define("cG",["require","K"],function(a){function b(){}var c=a("K");b.create=function(a,b){return new c(a,b)};return b});
define("cu","require,gW,iX,eQ,eo,bf,gq,ih,dR,hC,hl,cL,gv,cG,K,gX".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eQ"),e=a("eo"),d=a("bf"),h=a("gq"),k=a("ih"),i=a("dR"),n=a("hC"),g=a("hl"),l=a("cL"),r=a("gv"),p=a("cG"),s=a("K"),t=a("gX"),a=b.extend(d,function(a){d.call(this);this.n=a;this.sh.push(this.n);this.Dk(["loadingActive","currentTime"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",m);this.set("atStart",m);this.Gm=k.YQ(this.n);this.bg=this.Ud=this.qf=this.U=this.Xo=this.Su=
q});a.prototype.Ub=function(){this.Ud=(new h(c.O)).Yh(this.Mj.bind(this));this.bg=(new h(c.$b)).mk(this.sr.bind(this));this.U=p.create(this.nb.ya,this.Gm.get("url"));this.vj=new n(this.n.R,this.U);this.Va=new g(this.nb.ya,this.n.R,this.U);this.am();d.prototype.Ub.call(this)};a.prototype.Wb=function(){this.Ud.dispose();this.bg.dispose();this.Zm();this.vj.clear();this.vj=q;this.Va.clear();this.Va=q;this.U.clear();this.qf=this.U=q;d.prototype.Wb.call(this)};a.prototype.Hk=function(){var a=[];a.push(this.Su=
i.via(this.n,this.Gm));this.Gha=r.Ks(l.yp(this.Su)[0]);r.Kp(this.Su,r.Rl);r.Jp(this.Su,r.zk);if(this.Gm.get("posterURL")){a.push(this.Xo=i.wia(this.n,this.Gm));r.Kp(this.Xo,r.Rl);r.Jp(this.Xo,r.zk);r.MA(this.Xo,f.BT)}this.Ud.ad(a);this.bg.ad(a);this.trigger(new t(c.$b,0));return a};a.prototype.L=function(a){var b=this.U.iG();this.set("frameEmpty",b.isEmpty());this.set("atStart",!(this.get("currentTime")>1));d.prototype.L.call(this,a);if(!this.qf||!this.qf.isEqual(b)){this.qf=b;this.Gha.lg(this.qf.Rd);
this.Hb()}else this.U.Rh()==e.Q&&this.Hb()};a.prototype.jn=function(){if(this.C("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.Xo&&this.get("frameEmpty")&&this.get("atStart")){l.Tc(this.Xo,this.get("composedAlpha"));l.Tc(this.Su,0)}else{this.Xo&&l.Tc(this.Xo,0);l.Tc(this.Su,this.get("composedAlpha"))}};a.prototype.Mj=function(){this.trigger(c.Ob);this.trigger(c.O)};a.prototype.sr=function(a,b){var d=0;b.qn(function(a){(a=b.Sh(a))&&(d=d+a.Vg)});this.trigger(new t(c.$b,d/b.vc.length))};
a.prototype.Se=function(){this.Hb()};a.prototype.Yc=function(){this.Hb()};a.prototype.am=function(){this.U.bind(s.Ze,this.Yc,this,o);this.U.bind(s.cd,this.Se,this,o)};a.prototype.Zm=function(){this.U.unbind(s.Ze,this.Yc,this,o);this.U.unbind(s.cd,this.Se,this,o)};return a});
define("iU","require,gW,iX,fP,dg,gq,gX".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("fP"),e=a("dg");EventAggregator=a("gq");ProgressEvent=a("gX");a=b.extend(f,function(){f.call(this);this.set("tag","CustomPlane");this.set("source",q);this.set("sourceUpdated",z);this.gc=this.Ud=q});a.prototype.Ub=function(){this.Ud=(new EventAggregator(c.O)).Yh(this.Mj.bind(this));this.gc=(new EventAggregator(c.O)).mk(this.xi.bind(this));f.prototype.Ub.call(this)};a.prototype.Wb=function(){this.Ud.dispose();
this.gc.dispose();f.prototype.Wb.call(this)};a.prototype.L=function(a){if(this.C("source","sourceUpdated")){var b=this.get("textureSource");b||this.set("textureSource",b=new e);this.C("source")&&b.lg(this.get("source"));this.C("sourceUpdated")&&(b.update(),this.set("sourceUpdated",z))}f.prototype.L.call(this,a);if(this.C("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Ud.ad(a);this.gc.ad(a)}}};a.prototype.Mj=function(){this.trigger(c.Ob);this.trigger(c.O)};a.prototype.xi=
function(a,b){var e=0;b.qn(function(a){(a=b.Sh(a))&&(e=e+a.Vg)});this.trigger(new ProgressEvent(c.$b,e/b.vc.length))};return a});
define("cj","require,gW,iX,fP,hQ,gq,gX".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("fP"),e=a("hQ"),d=a("gq"),h=a("gX"),a=b.extend(f,function(){f.call(this);this.set("tag","ImagePlane");this.set("url",q);this.gc=this.Dd=q});a.prototype.Ub=function(){this.Dd=(new d(c.O)).Yh(this.Mj.bind(this));this.gc=(new d(c.$b)).mk(this.xi.bind(this));f.prototype.Ub.call(this)};a.prototype.Wb=function(){this.Dd.dispose();this.gc.dispose();f.prototype.Wb.call(this)};a.prototype.L=function(a){if(this.C("url")){var b=
this.get("url");this.set("textureSource",b?new e(b):q)}f.prototype.L.call(this,a);if(this.C("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Dd.ad(a);this.gc.ad(a)}}};a.prototype.Mj=function(){this.trigger(c.Ob);this.trigger(c.O)};a.prototype.xi=function(a,b){var d=0;b.qn(function(a){(a=b.Sh(a))&&(d=d+a.Vg)});this.trigger(new h(c.$b,d/b.vc.length))};return a});
define("bd","require,gW,gC,iX,eo,fz,cd,iU,cj,hl,is,gq,ih,cQ,C,gX,iM,be,cG,K".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("gW"),f=a("gC"),e=a("iX"),d=a("eo"),h=a("fz"),k=a("cd"),i=a("iU"),n=a("cj"),g=a("hl"),l=a("is"),r=a("gq"),p=a("ih"),s=a("cQ"),t=a("C"),u=a("gX"),v=a("iM"),w=a("be"),y=a("cG"),A=a("K"),x=Math.PI/180,a=c.extend(h,function(a){h.call(this);this.n=a;this.sh.push(this.n);this.te=this.te.bind(this);this.Dk(["loadingActive",
"currentTime"]);this.set("tag","Popup");this.set("inVR",z);this.set("enabledInStandard",o);this.set("interactionEnabled",o);this.set("loadingActive",z);this.set("frameEmpty",o);this.set("state",d.N);this.set("itemVisible","none");this.set("visible",z);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",z);this.set("gazeOver",z);this.set("video",q);this.set("image",q);this.sc=this.u=this.Ua=this.gc=this.Dd=q;this.ub=new l;this.dm=this.yo=this.Ng=this.qf=this.U=q});a.prototype.Ub=function(){this.Dd=
(new r(e.O)).Yh(this.Xx.bind(this));this.gc=(new r(e.$b)).mk(this.Yx.bind(this));h.prototype.Ub.call(this);this.Y8();this.appendChild(this.sc);f.Ae(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.te,o)};a.prototype.Wb=function(){this.Dd.dispose();this.gc.dispose();f.Xe(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.te);this.Vw();this.Ww();this.pW();h.prototype.Wb.call(this)};
a.prototype.te=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.L=function(a){this.pu=a.yaw;this.ou=a.pitch;this.vP(a);this.Xr(a);this.NP(a);this.as(a);
this.iha(a);this.Vga(a);h.prototype.L.call(this,a)};a.prototype.Xr=function(){if(this.C("playbackPositions","currentTime")){this.ub.VG(this.get("playbackPositions"));this.ub.UG(this.get("currentTime"));this.set("sourceYaw",this.ub.get("yaw"));this.set("sourcePitch",this.ub.get("pitch"));this.set("sourceRotationX",this.ub.get("rotationX"));this.set("sourceRotationY",this.ub.get("rotationY"));this.set("sourceRotationZ",this.ub.get("rotationZ"));this.set("sourceHFOV",this.ub.get("hfov"))}};a.prototype.vP=
function(){if(this.C("video","image")){var a=[this.sc];if(this.C("image")){this.eK();this.Ua&&a.push(this.Ua)}if(this.C("video")){this.gK();this.u&&a.push(this.u)}this.Dd.ad(a);this.gc.ad(a);this.Yi(a)}};a.prototype.NP=function(){if(this.U){var a=this.U.iG();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.qf||a&&!this.qf.isEqual(a)){this.qf=a;this.u.set("source",this.qf.Rd);this.u.set("sourceUpdated",o);this.Hb()}else this.U.Rh()==d.Q&&this.Hb()}else this.set("frameEmpty",z)};a.prototype.as=function(a){this.set("inVR",
a.Sb);this.set("hotspotsEnabled",a.vv);this.set("rendererYaw",a.yaw);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.Sc);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("rendererHFOV",a.hfov);if(this.C("visible")){var c=this.get("visiblePosition"),f=this.get("visible")?1:0,g=Math.max(1,this.n.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(f-c)),i=this.n.get(this.get("visible")?"showEasing":"hideEasing");this.Ng=new v(i,[new w("position",
c,f)],g);this.get("visible")||this.U&&this.U.Ld(d.N)}if(this.Ng){if(this.Ng.wd()){this.Ng=q;if(this.get("visible")){this.n.trigger(e.Ts);this.n.get("autoplay")&&this.U&&this.U.Ld(d.Q)}else this.n.trigger(e.kq)}else this.Ng.Ya(a.Kd);if(this.Ng){this.set("visiblePosition",this.Ng.Xa("position"));this.Hb()}}c=z;if(c=a.Sb?this.C("visible"):this.C("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth","popupMaxHeight","sourceHFOV")){this.set("targetImageScale",
this.wX(this.Ua,a));this.set("targetVideoScale",this.wX(this.u,a));this.set("targetYaw",b(this.get("rendererYaw"),this.get("sourceYaw")));this.set("targetPitch",this.get("rendererPitch"));this.set("targetRotationZ",b(a.Sb?0:this.get("rendererRoll"),this.get("sourceRotationZ")))}if(this.C("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){var f=this.get("visiblePosition"),h=this.get("targetYaw")*f+this.get("sourceYaw")*(1-f),l=this.get("targetPitch")*f+
this.get("sourcePitch")*(1-f),k=this.get("sourceRotationX")*(1-f),n=this.get("sourceRotationY")*(1-f),r=this.get("targetRotationZ")*f+this.get("sourceRotationZ")*(1-f),a=Math.min(1,2*f),p=this.get("popupDistance"),s=this.get("sourceHFOV"),c=this.get("targetImageScale")*f+(1-f),f=this.get("targetVideoScale")*f+(1-f);this.set("alpha",a);this.Ua&&this.Ua.set("scale",c);this.u&&this.u.set("scale",f);[].concat(this.u?[this.u]:[],this.Ua?[this.Ua]:[]).forEach(function(a){a.set("yaw",h);a.set("pitch",l);
a.set("rotationX",k);a.set("rotationY",n);a.set("rotationZ",r);a.set("distance",p);a.set("hfov",s)})}};a.prototype.iha=function(a){if(this.C("frameEmpty","state","image","video")){var b="none";this.u&&(!this.Ua||!this.get("frameEmpty")&&this.get("state")!=d.N)?b="video":this.Ua&&(b="image");this.set("itemVisible",b)}if(this.C("itemVisible")){this.get("itemVisible")!="video"&&this.U&&this.U.Ld(d.N);var b=this.Ua?this.Ua.get("alpha"):0,c=this.u?this.u.get("alpha"):0,e=this.get("itemVisible")=="image"?
1:0,f=this.get("itemVisible")=="video"?1:0,g=this.get("itemVisible")=="video"?1:Math.max(Math.abs(e-b),Math.abs(f-c))*200;this.yo=new v("linear",[new w("imageAlpha",b,e),new w("videoAlpha",c,f)],g)}if(this.yo){this.yo.wd()?this.yo=q:this.yo.Ya(a.Kd);if(this.yo){this.Ua&&this.Ua.set("alpha",this.yo.Xa("imageAlpha"));this.u&&this.u.set("alpha",this.yo.Xa("videoAlpha"));this.Hb()}}};a.prototype.Vga=function(a){if(this.C("gazeOver","inVR")){this.JV();this.get("inVR")&&this.n.get("lookAwayToHide")&&!this.get("gazeOver")&&
this.Mfa()}if(a.Sb&&this.n.get("darkenBackground")&&this.n.get("lookAwayToHide")){if(this.C("visible")&&this.get("visible")){this.sc.set("alpha",0.8);this.dm=q}if(this.C("gazeOver"))this.dm=new v(this.get("gazeOver")?"linear":"quad_in",[new w("alpha",this.sc.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.n.get("lookAwayToHideTime"))}else{this.dm=q;this.sc.set("alpha",a.Sb&&this.n.get("darkenBackground")?0.8:0)}if(this.dm){this.dm.wd()?this.dm=q:this.dm.Ya(a.Kd);if(this.dm){this.sc.set("alpha",
this.dm.Xa("alpha"));this.Hb()}}};a.prototype.Mfa=function(){this.JV();this.tD=setTimeout(function(){this.tD=q;this.n.set("visible",z)}.bind(this),this.n.get("lookAwayToHideTime"))};a.prototype.JV=function(){if(this.tD){clearTimeout(this.tD);this.tD=q}};a.prototype.wX=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),d=t.Vi(c),c=d!==m?this.get("rendererWidth")*(this.QX?0.5:1)*d/100:c,d=this.get("popupMaxHeight","100%"),e=t.Vi(d),d=e!==m?this.get("rendererHeight")*e/100:d,c=Math.min(c/
a.get("width"),d/a.get("height")),c=a.get("width")*c,d=this.get("inVR")?b.If:this.get("rendererHFOV");return Math.tan(d*0.5*x)*c/this.get("rendererWidth")/Math.tan(this.get("sourceHFOV")*0.5*x)};a.prototype.eK=function(){this.Vw();if(this.get("image")){var a=p.oG(this.get("image").get("levels"),this.get("hfov"),this.get("vfov"),this.get("scaleMode"));this.Ua=new n;this.Ua.set("url",a.get("url"));this.Ua.set("width",a.get("width"));this.Ua.set("height",a.get("height"));this.Ua.set("alpha",0)}};a.prototype.Vw=
function(){if(this.Ua){this.Ua.remove();this.Ua=q}};a.prototype.gK=function(){this.Ww();if(this.get("video")){this.u=new i;this.u.set("width",this.get("video").get("width"));this.u.set("height",this.get("video").get("height"));this.u.set("alpha",0);this.U=y.create(this.nb.ya,this.get("video").Ee());this.Va=new g(this.nb.ya,this.n,this.U);this.am()}};a.prototype.Ww=function(){if(this.u){this.Zm();this.Va.clear();this.Va=q;this.U.clear();this.qf=this.U=q;this.u.remove();this.u=q}};a.prototype.Y8=function(){this.pW();
this.sc=new k("#000000")};a.prototype.pW=function(){if(this.sc){this.sc.remove();this.sc=q}};a.prototype.Xx=function(){this.trigger(e.Ob);this.trigger(e.O)};a.prototype.Yx=function(a,b){var c=0;b.qn(function(a){var b=0,d;this.Dd.Sh(a)?b=100:(d=this.gc.Sh(a))&&(b=d.Vg);c=c+b}.bind(this));this.trigger(new u(e.$b,c/b.vc.length))};a.prototype.Se=function(){this.Hb()};a.prototype.Yc=function(){this.Hb()};a.prototype.Tj=function(){this.n.trigger(e.qa)};a.prototype.am=function(){this.U.bind(A.Ze,this.Yc,
this,o);this.U.bind(A.cd,this.Se,this,o);this.U.bind(A.$g,this.Tj,this,o)};a.prototype.Zm=function(){this.U.unbind(A.Ze,this.Yc,this,o);this.U.unbind(A.cd,this.Se,this,o);this.U.unbind(A.$g,this.Tj,this,o)};a.prototype.aj=function(a){if(a.Bd==e.bh){if(!a.Pg()&&this.get("visible")){a.Ip(this.n);this.set("over",this.lp(a));this.set("gazeOver",this.iga(a))}else this.set("over",z);if(this.get("over")){a.ks(this.n);a.zv()&&a.ls(this.n);a.Nh(this.get("popupDistance"))}if(this.C("over")){this.n.trigger(this.get("over")?
e.ed:e.Cc);a.zv()&&this.n.trigger(this.get("over")?e.nj:e.$e)}}else if(a.Bd==e.bi&&!a.Pg()&&this.get("visible")){a.Ip(this.n);a.Nh(this.get("popupDistance"));this.lp(a)?a.Zja()||this.n.trigger(e.S):this.n.set("visible",z)}};a.prototype.lp=function(a){return this.c1(a.Ym)};a.prototype.iga=function(a){a=a.$w;return!!a&&this.c1([a])};a.prototype.c1=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.u:this.Ua).Dj(a),b=0;b<a.length;b++){var c=a[b];if(s.rk(c.source,c.x,
c.y))return o}return z};return a});
define("dW","require,gW,eS,iX,bF,fz".split(","),function(a){var b=a("gW"),c=a("eS"),f=a("iX"),e=a("bF"),d=a("fz"),h=b.extend(d,function(a,b,e,f){d.call(this);this.ya=a;this.H=b;this.fu=e;this.g=f;this.Vx=new c;this.GO(this);this.set("tag","Root")});h.prototype.We=function(a){return this.Vx.get(a)};h.prototype.all=function(){for(var a=[],b=[this];b.length>0;){var c=b.pop();a.push(c);for(var d=c.Mb.length-1;d>=0;d--)b.push(c.Mb[d])}return a};h.prototype.update=function(a){var b=this.all(),c=b.length,
d;for(d=0;d<c;d++)b[d].I8();for(d=0;d<c;d++)b[d].set("index",d);for(d=0;d<c;d++)b[d].L(a);for(d=0;d<c;d++)b[d].D8()};h.prototype.Hb=function(){this.CF||this.trigger(new e(f.W));d.prototype.Hb.call(this)};h.prototype.vn=function(a){return Array.isArray(a)?a.map(this.vn.bind(this)):this.Vx.get(a)||h.factory.create(a)};return h});
define("db","require,gW,gC,iX,eo,bA,fz,iU,cj,hC,hl,is,gq,ih,cQ,gX,iM,be,cG,K".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("eo"),d=a("bA"),h=a("fz"),k=a("iU"),i=a("cj"),n=a("hC"),g=a("hl"),l=a("is"),r=a("gq"),p=a("ih"),s=a("cQ"),t=a("gX"),u=a("iM"),v=a("be"),w=a("cG"),y=a("K"),a=b.extend(h,function(a){h.call(this);this.n=a;this.sh.push(this.n);this.te=this.te.bind(this);this.Dk(["loadingActive","currentTime"]);this.set("tag","VideoHotspot");this.set("enabled",o);this.set("inVR",z);
this.set("overlaysEnabled",o);this.set("enabledInVR",o);this.set("enabledInStandard",o);this.set("interactionEnabled",o);this.set("centerOverDisplay",z);this.set("loadingActive",z);this.set("frameEmpty",o);this.set("state",e.N);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",m);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.gc=this.Dd=q;this.zi=z;this.u=this.Ua=q;this.d2=z;this.ub=new l;this.qf=this.Va=this.U=q;this.um=[]});a.prototype.Ub=function(){this.Dd=
(new r(f.O)).Yh(this.Xx.bind(this));this.gc=(new r(f.$b)).mk(this.Yx.bind(this));h.prototype.Ub.call(this);c.Ae(this.n,["playbackPositions","blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.te,o)};a.prototype.Wb=function(){this.Dd.dispose();this.gc.dispose();c.Xe(this.n,["playbackPositions","blending","chromaColor",
"chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.te);this.Vw();this.Ww();h.prototype.Wb.call(this)};a.prototype.te=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.L=function(a){this.pu=a.yaw;this.ou=a.pitch;this.vP();this.Wga();this.Xr();this.NP();h.prototype.L.call(this,a);this.uF(a);this.as(a)};a.prototype.Xr=function(){if(this.C("playbackPositions","currentTime")){this.ub.VG(this.get("playbackPositions"));this.ub.UG(this.get("currentTime"));this.set("yaw",this.ub.get("yaw"));this.set("pitch",this.ub.get("pitch"));this.set("roll",
this.ub.get("roll"));this.set("rotationX",this.ub.get("rotationX"));this.set("rotationY",this.ub.get("rotationY"));this.set("hfov",this.ub.get("hfov"));this.set("vfov",this.ub.get("vfov"));this.set("alpha",this.ub.Si())}this.C("yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Ma().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.vP=function(){if(this.C("video","image")){var a=[];if(this.C("image")){this.eK();this.Ua&&a.push(this.Ua)}if(this.C("video")){this.gK();this.u&&a.push(this.u)}this.Yi(a);this.Dd.ad(a);this.gc.ad(a)}};a.prototype.Wga=function(){if(this.C("video","image","blending","chromaColor","chromaThreshold","chromaSmoothing")){if(this.u){var a=
new d.fj(this.get("video").Ee());a.sp=this.get("blending");a.ul=this.get("chromaColor");a.Wz=this.get("chromaThreshold");a.Vz=this.get("chromaSmoothing");this.u.set("materialConfig",a)}if(this.Ua){a=new d.fj;a.sp=this.get("blending");a.ul=this.get("chromaColor");a.Wz=this.get("chromaThreshold");a.Vz=this.get("chromaSmoothing");this.Ua.set("materialConfig",a)}}};a.prototype.NP=function(){var a=this.U&&this.U.iG();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.qf||a&&!this.qf.isEqual(a)){this.qf=
a;this.u.set("source",this.qf.Rd);this.u.set("sourceUpdated",o);this.Hb()}else this.U.Rh()==e.Q&&this.Hb()};a.prototype.uF=function(){this.C("video","composedAlpha")?this.n.get("autoplay")&&this.get("composedAlpha")>0&&this.n.set("state",e.Q):this.C("itemVisible")&&this.get("itemVisible")!="video"&&this.U&&this.U.Ld(e.N)};a.prototype.as=function(a){this.set("inVR",a.Sb);this.set("hotspotsEnabled",a.vv);var b=this.get("itemVisible");if(this.C("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.u&&(!this.Ua||!this.get("frameEmpty")&&(this.get("state")!=e.N||this.d2&&this.get("videoVisibleOnStop")))?c="video":this.Ua&&(c="image");if(this.get("state")!=e.N)this.d2=o}this.set("itemVisible",c);this.set("beamEnabled",c!="none"&&this.get("interactionEnabled"))}if(this.C("itemVisible")){var c=
this.get("itemVisible")!="none",c=c==(b!="none")?100:c?this.get("fadeInDuration"):this.get("fadeOutDuration"),d=this.Ua?this.Ua.get("alpha"):0,f=this.u?this.u.get("alpha"):0,b=[{video:f,image:d}];if(this.get("itemVisible")=="video"){b.push({video:1,image:d,time:c*(1-f)});b.push({video:1,image:0,time:50*(d-0)})}else if(this.get("itemVisible")=="image"){b.push({video:f,image:1,time:c*(1-d)});b.push({video:0,image:1,time:50*(f-0)})}else b.push({video:0,image:0,time:Math.max(f,d,1/c)*c});this.um=[];for(c=
1;c<b.length;c++)b[c].time>0&&this.um.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.um.length>0){this.um[0].wd()?this.um.shift():this.um[0].Ya(a.Kd);if(this.um.length>0){this.Ua&&this.Ua.set("alpha",this.um[0].Xa("imageAlpha"));this.u&&this.u.set("alpha",this.um[0].Xa("videoAlpha"));this.Hb()}}};a.prototype.eK=function(){this.Vw();if(this.get("image")){var a=p.oG(this.get("image").get("levels"),this.get("hfov"),this.get("vfov"),
this.get("scaleMode"));this.Ua=new i;this.Ua.set("url",a.get("url"));this.Ua.set("width",a.get("width"));this.Ua.set("height",a.get("height"));this.Ua.set("alpha",0)}};a.prototype.Vw=function(){if(this.Ua){this.Ua.remove();this.Ua=q}};a.prototype.gK=function(){this.Ww();if(this.get("video")){this.u=new k;this.u.set("width",this.get("video").get("width"));this.u.set("height",this.get("video").get("height"));this.u.set("alpha",0);this.U=w.create(this.nb.ya,this.get("video").Ee());this.vj=new n(this.n,
this.U);this.Va=new g(this.nb.ya,this.n,this.U);this.am()}};a.prototype.Ww=function(){if(this.u){this.Zm();this.Va.clear();this.Va=q;this.vj.clear();this.vj=q;this.U.clear();this.qf=this.U=q;this.u.remove();this.u=q}};a.prototype.Xx=function(){this.trigger(f.Ob);this.trigger(f.O)};a.prototype.Yx=function(a,b){var c=0;b.qn(function(a){(a=b.Sh(a))&&(c=c+a.Vg)});this.trigger(new t(f.$b,c/b.vc.length))};a.prototype.Se=function(){this.Hb()};a.prototype.Yc=function(){this.Hb()};a.prototype.am=function(){this.U.bind(y.Ze,
this.Yc,this,o);this.U.bind(y.cd,this.Se,this,o)};a.prototype.Zm=function(){this.U.unbind(y.Ze,this.Yc,this,o);this.U.unbind(y.cd,this.Se,this,o)};a.prototype.aj=function(a){if(a.Bd==f.bh){var b=!a.Pg()&this.lp(a);if(b){a.ks(this.n);this.n.get("useHandCursor")&&a.ls(this.n);a.Nh(this.get("distance"));var c=this.oa(a.Bp());c&&a.oQ(c,this.mp(a.Bp()))}if(this.zi!=b){this.zi=b;this.n.trigger(this.zi?f.ed:f.Cc);a.zv()&&this.n.trigger(this.zi?f.nj:f.$e)}}else if(a.Bd==f.bi&&!a.Pg()&this.lp(a)){this.n.dA(f.S).length>
1&&a.Ip(this.n);a.Nh(this.get("distance"));this.n.trigger(f.S)}};a.prototype.lp=function(a){if(this.get("beamEnabled"))for(var a=(this.get("itemVisible")=="video"?this.u:this.Ua).Dj(a.Ym),b=0;b<a.length;b++){var c=a[b];if(s.rk(c.source,c.x,c.y))return o}return z};a.prototype.oa=function(a){return!a||this.n.get("displayTooltipInTouchScreens")&&this.nb.H.get("displayTooltipInTouchScreens")!==z?this.n.get("toolTip",""):""};a.prototype.mp=function(a){if(a){var a=this.get("yaw")-this.pu,b=this.get("pitch")-
this.ou;return Math.sqrt(a*a+b*b)}return 0};return a});
define("cy","require,df,fz,hf,ga,hw,fX,ii,dM,H,iC,cu,bd,dW,db,bq".split(","),function(a){function b(a,b){Array.isArray(b)||(b=[b]);for(var d=0;d<b.length;d++)if(c.qb(b[d],a))return o;return z}var c=a("df"),f=a("fz"),e=a("hf"),d=a("ga"),h=a("hw"),k=a("fX"),i=a("ii"),n=a("dM"),g=a("H"),l=a("iC"),r=a("cu"),p=a("bd"),s=a("dW"),t=a("db"),u=a("bq"),a={};s.factory=a;a.create=function(a){if(a instanceof f)return a;if(b(a,["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new g(a);if(b(a,["CubicPanoramaFrame",
"SphericPanoramaFrame"]))return u.get(a)==u.Bk&&b(a.get("sphere"),"Video360Resource")?new r(a):new l(a);if(b(a,"HotspotPanoramaOverlay"))return new h(a);if(b(a,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new k(a);if(b(a,"Menu"))return new n(a);if(b(a,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new e(a);if(b(a,["FlatHotspotPanoramaOverlayImage","FlatHotspotPanoramaOverlayMap"]))return new d(a);if(b(a,["LensFlarePanoramaOverlay"]))return new i(a);if(b(a,
["PopupPanoramaOverlay"]))return new p(a);if(b(a,["VideoPanoramaOverlay"]))return new t(a);j("Invalid script object")};return a});
define("iT",["require"],function(){var a={Z2:function(b,c,f,e,d,h){return a.Uia(b,2*(c/e)-1,2*-(f/d)+1,h)},Uia:function(a,c,f,e){e||(e=new THREE.Ray);e.origin.setFromMatrixPosition(a.matrixWorld);e.direction.set(c,f,0.5).unproject(a).sub(e.origin).normalize();return e},fja: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},eja: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("dG",["require"],function(){function a(a){this.af=this.HX(a.get("vrPointerColor"));this.wO=this.HX(a.get("vrPointerSelectionColor"));this.hn=this.bp([0,0,0],0);this.dF=this.bp([0,0,0],0.125);this.H9=this.bp(this.af,1);this.I9=this.bp(this.wO,1);this.y8=this.bp(this.wO,1);this.x8=this.bp(this.af,0.5);this.v8=this.bp(this.af,1);this.w8=this.bp(this.wO,1);this.km=this.lm=64;this.YI=4E3;this.rW=0.1;this.qg=0.16;this.Gi=0.04;this.EV=this.eC=0.68-this.Gi;this.dC=1-this.Gi;this.t=document.createElement("canvas");
this.t.width=this.lm;this.t.height=this.km;this.Da=this.t.getContext("2d");this.zi=this.BV=z;this.Dx=this.jN=m;this.at=0}a.prototype.HX=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.bp=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.$la=function(a,c){this.zi=a;this.jN=c};a.prototype.OG=L("BV");a.prototype.Ac=P("lm");a.prototype.kd=P("km");a.prototype.update=function(a){return this.BV?this.L9(a):
this.zi?this.Q9():this.P9()};a.prototype.fC=function(){this.Da.clearRect(0,0,this.lm,this.km)};a.prototype.P9=function(){if("initial"==this.Dx)return z;this.fC();this.vW(this.H9);this.Dx="initial";return o};a.prototype.Q9=function(){if(this.jN===m){if("over"==this.Dx)return z;this.fC();this.vW(this.I9)}else this.ida(this.jN);this.Dx="over";return o};a.prototype.L9=function(a){for(this.at+=a;this.at>this.YI;)this.at-=this.YI;this.s8(this.at/this.YI);this.Dx="changing";return o};a.prototype.vW=function(a){this.tg(this.rW+
this.Gi,0,this.hn,this.dF,0,2*Math.PI);this.tg(this.rW,0,this.hn,a,0,2*Math.PI)};a.prototype.R9=function(a){this.tg(this.eC-0.5*(this.qg+this.Gi),this.qg+this.Gi,this.dF,this.hn,0,2*Math.PI);this.tg(this.eC-0.5*this.qg,this.qg,this.x8,this.hn,0,2*Math.PI);this.tg(this.eC-0.5*this.qg,this.qg,this.y8,this.hn,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.M9=function(a,c){this.tg(this.EV-0.5*(this.qg+this.Gi),this.qg+this.Gi,this.dF,this.hn,0,2*Math.PI);this.tg(this.EV-0.5*this.qg,this.qg,this.v8,this.hn,
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 f=a-this.Gi/(2*this.dC*Math.PI),e=c+this.Gi/(2*this.dC*Math.PI);Math.abs(e-f+2*Math.PI)<2*this.Gi&&(f=0,e=c);this.tg(this.dC-0.5*(this.qg+this.Gi),this.qg+this.Gi,this.dF,this.hn,f,e);this.tg(this.dC-0.5*this.qg,this.qg,this.w8,this.hn,a,c)};a.prototype.tg=function(a,c,f,e,d,h){var k=Math.round(0.5*this.lm),i=Math.round(0.5*this.km),n=Math.min(k,i),a=Math.round(a*n),g=this.Da;g.zoa=g.opa=o;g.lineWidth=c*n;g.strokeStyle=
f;g.fillStyle=e;g.beginPath();g.arc(k,i,a,d,h,z);g.stroke();g.fill()};a.prototype.s8=function(a){this.fC();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.M9(a,c)};a.prototype.ida=function(a){this.fC();this.R9(a)};return a});
define("hA","require,gW,cL,fP,dG,dg".split(","),function(a){var b=a("gW"),c=a("cL"),f=a("fP"),e=a("dG"),d=a("dg"),a=b.extend(f,function(){f.call(this);this.t=q;this.set("tag","Reticle");this.set("changing",z);this.set("over",z);this.set("overProgress",m);this.set("visible",o);this.set("attachToCamera",o)});a.prototype.L=function(a){this.pf(a);this.yz(a);f.prototype.L.call(this,a)};a.prototype.pf=function(a){if(!this.t){this.set("textureSource",new d);this.t=new e(this.nb.H);this.get("textureSource").lg(this.t.t);
this.set("width",this.t.Ac());this.set("height",this.t.kd());this.set("hfov",6);this.set("distance",this.nb.H.get("vrPointerDistance"))}this.C("changing")&&this.t.OG(this.get("changing"));this.C("over","overProgress")&&this.t.$la(this.get("over"),this.get("overProgress"));this.t.update(a.Kd)&&this.get("textureSource").update();this.get("changing")&&this.Hb()};a.prototype.yz=function(){this.Oi()};a.prototype.jn=function(){this.C("composedAlpha","meshGroup","visible")&&this.dt()};a.prototype.dt=function(){c.Tc(this.get("meshGroup"),
this.get("visible")?this.get("composedAlpha"):0)};return a});
define("S","require,jquery.mod,cE,iX,jj,cU".split(","),function(a){function b(a){this.la=a;this.vga=this.la.qi;this.la.bind(e.oc,this.uh,this);this.D=c("<span></span>");this.D.css({position:"absolute","z-index":d.ST,"text-align":"center",display:"none"});this.sc=c("<span></span>");this.sc.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.D.append(this.sc);this.nF=c("<span></span>");this.nF.css({position:"relative"});this.D.append(this.nF);this.Ji=this.cD=this.Jk=q;this.e_=this.d_=m;this.rx=
z}var c=a("jquery.mod"),f=a("cE"),e=a("iX"),d=a("jj"),h=a("cU"),k={toolTip:m,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.pb=P("D");b.prototype.Jv=function(a){if(!this.vga){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.LJ();this.Jk&&f(f(k).keys()).each(function(a){this.Jk.unbind(e.Ca(a),this.$M,this)},
this);if(this.Jk=a){f(f(k).keys()).each(function(a){this.Jk.bind(e.Ca(a),this.$M,this)},this);this.$M()}}};b.prototype.xma=function(a,b){var c=a.pb().offset();this.J0(a,b,c.left+a.ua()*0.5,c.top+a.Wa()*0.5,o)};b.prototype.J0=function(a,b,c,d,e){this.Uga(a);this.nF.html(this.xaa(b));var b=this.D.outerWidth(),f=this.D.outerHeight();if(e){c=c-this.D.width()*0.5;d=d-this.D.height()*0.5}c=Math.max(Math.min(c,this.la.ua()-b-3),3);d=Math.max(Math.min(d,this.la.Wa()-f-3),3);this.D.css("left",c+"px");this.D.css("top",
d+"px");this.D.css("display","inline");this.rx=o;e?this.Ffa(a,c,d):this.cP()};b.prototype.hide=function(){this.cP();this.D.css("display","none");this.rx=z};b.prototype.$M=function(){this.Jk.get("toolTip")?this.mM()||(this.rx?this.K0():this.Ufa()):this.mM()?this.LJ():this.rx&&this.hide()};b.prototype.uh=function(a){this.d_=a.pageX;this.e_=a.pageY};b.prototype.K0=function(){var a=this.d_,b=this.e_+25;this.J0(this.Jk,this.Jk.get("toolTip"),a,b,z)};b.prototype.mM=function(){return this.Ji!=q};b.prototype.Ufa=
function(){var a=this.Jk&&this.Jk.get("toolTipDisplayTime");if(a===m||a===q)a=k.toolTipDisplayTime;this.LJ();this.Ji=setTimeout(function(){this.Ji=q;this.K0()}.bind(this),a)};b.prototype.LJ=function(){if(this.mM()){clearTimeout(this.Ji);this.Ji=q}};b.prototype.Ffa=function(a,b,c){this.cP();var d=function(){this.D.css("display",this.rx&&!this.tba(a,b,c)?"inline":"none")}.bind(this);this.cD=setInterval(d,300);d()};b.prototype.cP=function(){if(this.cD){clearInterval(this.cD);this.cD=q}};b.prototype.Uga=
function(a){function b(c){var d=a.get(c);return d===m?k[c]:d}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.D.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 d=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"+d.substr(1,2))+", "+parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+
d.substr(5,2))+", "+b("toolTipShadowOpacity")+")"].join(" ");c["-moz-border-radius"]=c["-webkit-border-radius"]=c.borderRadius=b("toolTipBorderRadius")+"px";this.sc.css(c);c={};c["font-family"]=h.ns(b("toolTipFontFamily"));d=b("toolTipFontSize");f(d).isNumber()?d=d+"px":f(d).isString()||(d="");c["font-size"]=d;c["font-weight"]=b("toolTipFontWeight");c["font-style"]=b("toolTipFontStyle");c.color=b("toolTipFontColor");d=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"+d.substr(1,2))+", "+parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+d.substr(5,2))+", "+b("toolTipTextShadowOpacity")+")"].join(" ");var e=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"))+d.substr(1,6)+",direction="+e+")";this.nF.css(c)};b.prototype.tba=function(a,b,c){for(var b=document.elementsFromPoint(b,c),a=a.pb()[0],c=this.la.pb()[0],d=0;d<b.length;d++){var e=b[d];if(a==e||a.contains(e))break;if(!this.D[0].contains(e)&&c.contains(e)){var f=window.getComputedStyle(e);if(f.display!="none"&&f.visibility!="hidden"&&(e.tagName=="CANVAS"?1:this.O8(f.backgroundColor))*f.opacity>0.33)return o}}return z};
b.prototype.O8=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.xaa=function(a){for(var a=a.split("\n"),b=0;b<a.length;b++)a[b]=this.X9(a[b]);return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.X9=function(a){b.DU.nodeValue=a;return b.zU.innerHTML};b.C5=k;b.zU=document.createElement("pre");b.DU=document.createTextNode("");b.zU.appendChild(b.DU);b.Nna=
600;return b});
define("bQ",["require","S","bm","cU"],function(a){function b(a,b){this.H=a;this.jz=b;this.yfa()}var c=a("S"),f=a("bm"),e=a("cU");b.prototype.Ac=function(){return this.t.width};b.prototype.kd=function(){return this.t.height};b.prototype.yfa=function(){this.t=document.createElement("canvas");var a=this.t.getContext("2d"),b=this.jz.split("\n"),c=this.Sd("toolTipBackgroundColor"),i=this.Sd("toolTipBackgroundOpacity"),n=this.Sd("toolTipBorderRadius"),g=this.Sd("toolTipBorderColor"),l=this.Sd("toolTipBorderSize");this.Sd("toolTipDisplayTime");
var r=this.Sd("toolTipFontFamily"),p=this.Sd("toolTipFontSize"),s=this.Sd("toolTipFontColor"),t=this.Sd("toolTipFontWeight"),u=this.Sd("toolTipFontStyle"),v=this.Sd("toolTipPaddingBottom"),w=this.Sd("toolTipPaddingLeft"),y=this.Sd("toolTipPaddingTop"),A=this.Sd("toolTipPaddingRight"),x=this.Sd("toolTipOpacity"),B=this.Sd("toolTipTextShadowBlurRadius"),O=this.Sd("toolTipTextShadowColor"),E=this.Sd("toolTipTextShadowHorizontalLength"),G=this.Sd("toolTipTextShadowVerticalLength"),I=this.Sd("toolTipTextShadowOpacity"),
J=new f.NT;J.fontFamily=r;J.fontSize=p+(isNaN(p)?"":"px");J.fontWeight=t;J.fontStyle=u;var K=b.map(function(b){return f(b,J,a)}),F=0,N=0;K.forEach(function(a){F=Math.max(a.width,F);N+=a.height});var Q=1<b.length?0.25*(N/b.length):0,N=N+(b.length-1)*Q,A=l+w+F+A+l,v=l+y+N+v+l;this.t=document.createElement("canvas");a=this.t.getContext("2d");this.t.width=A;this.t.height=v;a.globalAlpha=x;a.strokeStyle=g;a.fillStyle="transparent"===c?"rgba(0,0,0,0)":this.OU(i,c);a.lineWidth=l;a.beginPath();a.moveTo(n,
0);a.lineTo(A-n,0);a.quadraticCurveTo(A,0,A,n);a.lineTo(A,v-n);a.quadraticCurveTo(A,v,A-n,v);a.lineTo(n,v);a.quadraticCurveTo(0,v,0,v-n);a.lineTo(0,n);a.quadraticCurveTo(0,0,n,0);a.closePath();a.fill();0<l&&a.stroke();a.fillStyle=s;a.font=t+" "+("normal"!=u?u+" ":"")+p+(isNaN(p)?"":"px")+" "+e.ns(r);a.shadowColor=this.OU(I,O);a.shadowOffsetX=E;a.shadowOffsetY=G;a.shadowBlur=B;a.textBaseline="middle";a.textAlign="center";var D=l+w+0.5*F,M=l+y;b.forEach(function(b,c){a.fillText(b,Math.round(D),Math.round(M+
0.5*K[c].height));M+=K[c].height+Q})};b.prototype.Sd=function(a){var b=this.H.get(a);return b===m?c.C5[a]:b};b.prototype.OU=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("iV","require,gW,em,fP,bQ,dg".split(","),function(a){var b=a("gW"),c=a("em"),f=a("fP"),e=a("bQ"),d=a("dg"),a=b.extend(f,function(){f.call(this);this.t=q;this.set("tag","ToolTip");this.set("text","");this.Mi=new THREE.Vector3(0,0,-c.kv())});a.prototype.L=function(a){this.pf(a);f.prototype.L.call(this,a)};a.prototype.pf=function(a){if(!this.t||this.C("text")){this.get("textureSource")||this.set("textureSource",new d);this.t=new e(this.nb.H,this.get("text"));this.get("textureSource").lg(this.t.t);
this.set("width",this.t.Ac());this.set("height",this.t.kd());this.set("hfov",2*Math.atan2(this.t.Ac()*0.5,600)*h);this.set("distance",this.nb.H.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.Mi.applyMatrix4(b);(this.Mi.x!=0||this.Mi.z!=0)&&this.set("yaw",h*Math.atan2(this.Mi.x,-this.Mi.z));(this.Mi.y!=0||this.Mi.z!=0)&&this.set("pitch",h*Math.atan2(this.Mi.y,Math.sqrt(this.Mi.z*this.Mi.z+this.Mi.x*this.Mi.x))+k)}else{this.set("yaw",a.yaw);this.set("pitch",a.pitch+i)}}};var h=180/Math.PI,
k=2,i=5;return a});define("iF",["require","iT","F"],function(a){function b(a,b){this.Ve=a;this.g=b;this.$w=q}var c=a("iT"),f=a("F");b.prototype.update=C();b.prototype.clear=C();b.prototype.Kf=P("Ve");b.prototype.uL=function(){var a=this.k.Ge&&f.hv(this.k.Ge);return this.$w=a?c.fja(a,this.$w):q};b.vB="gaze";b.xI="gaze_click";b.yI="laser";b.wB="mouse";b.xB="touch";return b});
define("dk",["require","iF"],function(a){function b(a,b,c,f){this.Zj=a;this.Ym=b;this.$w=c;this.Bd=f;this.yV=[];this.wh=[];this.SP=[];this.oa="";this.mp=Number.MAX_VALUE}function c(a){return a===m?[]:Array.isArray(a)?a:[a]}var f=a("iF");b.prototype.zv=function(){return this.Zj.Kf()==f.wB};b.prototype.Bp=function(){return this.Zj.Kf()==f.xB};b.prototype.Zja=function(){return this.Zj.Kf()==f.vB};b.prototype.ls=function(a){this.SP=this.SP.concat(c(a))};b.prototype.Nv=function(){return 0<this.SP.length};
b.prototype.ks=function(a){this.wh=this.wh.concat(c(a))};b.prototype.Nh=function(a){if(a&&(this.uC===m||this.uC>a))this.uC=a};b.prototype.oQ=function(a,b){if(""==this.oa||this.mp>b)this.oa=a,this.mp=b};b.prototype.SA=P("oa");b.prototype.Ip=function(a){this.yV=c(a)};b.prototype.Pg=function(){return 0<this.yV.length};return b});
define("bK","require,gW,iX,iT,F,hA,iV,dk,iF".split(","),function(a){var b=a("gW"),c=a("iX");a("iT");a("F");var f=a("hA"),e=a("iV"),d=a("dk"),h=a("iF"),a=b.extend(h,function(a){h.call(this,h.vB,a);this.mf=this.k=q;this.wh=[];this.oF=q;this.XZ=m;this.sd=new f;this.g.add(this.sd);this.ge="";this.oa=q;this.i0=this.g.H.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.gP();this.g.remove(this.sd);this.sd=q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=
a;this.sd.set("changing",a.VF);this.Jh()};a.prototype.kt=function(){this.Te(this.Ne(c.bi));this.sd.set("over",z)};a.prototype.Jh=function(){var a=this.Ne(c.bh);this.Te(a);this.fk(a.SA());var b;a:{b=this.wh;for(var d=a.wh,e=0;e<b.length;e++)if(d.indexOf(b[e])<0){b=z;break a}for(e=0;e<d.length;e++)if(b.indexOf(d[e])<0){b=z;break a}b=o}if(!b){this.gP();this.sd.set("over",z);this.wh=a.wh;if(this.wh.length){this.sd.set("over",a.Nv());this.sd.set("overProgress",0);this.Sfa()}}};a.prototype.fk=function(a){if(this.ge!=
a){this.ge&&this.g.remove(this.oa);if(this.ge=a){this.oa=new e(this.ge);this.oa.set("text",this.ge);this.g.add(this.oa)}}};a.prototype.Te=function(a){this.g.lA().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.aj(a)}.bind(this))};a.prototype.Ne=function(a){this.mf=this.uL();return new d(this,this.mf?[this.mf]:[],this.mf,a)};a.prototype.gP=function(){this.oF&&(clearInterval(this.oF),this.oF=q)};a.prototype.Sfa=function(){this.XZ=(new Date).getTime();this.oF=setInterval(this.uca.bind(this),
100)};a.prototype.uca=function(){var a=(new Date).getTime()-this.XZ;if(a>=this.i0){this.gP();this.kt()}else this.sd.set("overProgress",a/this.i0)};return a});
define("gV","require,gW,iX,hA,iV,dk,iF,Y".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("hA"),e=a("iV"),d=a("dk"),h=a("iF"),k=a("Y"),a=b.extend(h,function(a){h.call(this,h.xI,a);this.mf=this.k=q;this.sd=new f;this.g.add(this.sd);this.ge="";this.oa=q;this.qF=this.qF.bind(this);document.body.addEventListener("touchend",this.qF);k.bind(c.Sl,this.h2,this,o)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.qF);k.unbind(c.Sl,this.h2,this,o);this.g.remove(this.sd);this.sd=
q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=a;this.sd.set("changing",a.VF);this.Jh()};a.prototype.qF=function(){this.kt()};a.prototype.h2=function(){this.kt()};a.prototype.kt=function(){this.Te(this.Ne(c.bi));this.sd.set("over",z)};a.prototype.Jh=function(){var a=this.Ne(c.bh);this.Te(a);this.fk(a.SA());this.sd.set("over",a.Nv())};a.prototype.fk=function(a){if(this.ge!=a){this.ge&&this.g.remove(this.oa);if(this.ge=a){this.oa=new e(this.ge);this.oa.set("text",
this.ge);this.g.add(this.oa)}}};a.prototype.Te=function(a){this.g.lA().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.aj(a)}.bind(this))};a.prototype.Ne=function(a){this.mf=this.uL();return new d(this,this.mf?[this.mf]:[],this.mf,a)};return a});
define("gG","require,gW,em,bA,cL,dg,f,iw".split(","),function(a){var b=a("gW"),c=a("em"),f=a("bA"),e=a("cL"),d=a("dg"),h=a("f"),k=a("iw"),i=new THREE.Matrix4,n=Math.PI/180,a=b.extend(h,function(){h.call(this);this.set("tag","Laser");this.set("matrix",q);this.set("over",z);this.set("pressed",z);this.set("intersectionDistance",0);this.set("visible",z);this.set("attachToCamera",z);this.YN=this.Dy=this.$k=this.XN=q;new THREE.Matrix4;this.ZN=new THREE.Matrix4;this.ZN.multiply(i.makeRotationX(-90*n));this.ZN.multiply(i.makeTranslation(0,
g*0.5,0));this.xC=this.LK=this.wC=this.sm=this.KK=q;new THREE.Matrix4;this.MK=new THREE.Matrix4;this.Ow=this.JK=this.IK=q;new THREE.Matrix4;this.Lq=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.Lq[0].multiply(i.makeRotationX(-90*n));this.Lq[0].multiply(i.makeTranslation(0,-r*0.5,0));this.Lq[1].multiply(i.makeRotationX(-90*n));this.Lq[1].multiply(i.makeTranslation(0,-r*0.5,-l*0.5));this.Lq[2].multiply(i.makeRotationX(-90*n));this.Lq[2].multiply(i.makeTranslation(0,-r*0.5,-l))});a.prototype.L=
function(a){h.prototype.L.call(this,a);this.Bha();this.Pu()};a.prototype.Bha=function(){if(this.C("visible"))this.get("meshGroup").visible=this.get("visible")};a.prototype.Pu=function(){if(this.C("over","pressed")){this.G1();this.P1()}};var g=0.35,l=0.012,r=0.1;a.prototype.Hk=function(){this.JK=e.create(new THREE.SphereGeometry(2.3,32,32),this.b9());this.LK=e.create(new THREE.SphereGeometry(2,32,32),this.c9());this.YN=e.create(new THREE.CylinderGeometry(0.003,0.003,g,8),this.t9());this.ot=[];this.ot.push(e.create(new THREE.CylinderGeometry(l,
l,r,32),this.$J()));this.ot.push(e.create(new THREE.BoxGeometry(2*l,r,l),this.$J()));this.ot.push(e.create(new THREE.CylinderGeometry(l,l,r,32),this.$J()));return[this.JK,this.LK,this.YN].concat(this.ot)};a.prototype.b9=function(){if(this.IK==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new d;c.lg(a);this.IK=f.nn(c.texture(),new f.fj);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.IK]};a.prototype.c9=
function(){if(this.KK==q){this.sm=document.createElement("canvas");this.sm.width=this.sm.height=256;this.wC=this.sm.getContext("2d");this.xC=new d;this.xC.lg(this.sm);this.KK=f.nn(this.xC.texture(),new f.fj);this.G1()}return[this.KK]};a.prototype.G1=function(){this.wC.fillStyle=this.YW();this.wC.clearRect(0,0,this.sm.width,this.sm.height);this.wC.fillRect(0,0,this.sm.width,this.sm.height);this.xC.update()};a.prototype.t9=function(){if(this.XN==q){this.$k=document.createElement("canvas");this.$k.width=
this.$k.height=256;this.Dy=this.$k.getContext("2d");this.$N=new d;this.$N.lg(this.$k);this.XN=f.nn(this.$N.texture(),new f.fj);this.P1()}return[this.XN]};a.prototype.P1=function(){var a=k.yR(this.YW()).join(", "),b=this.Dy.createLinearGradient(0,0,0,this.$k.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");b.addColorStop(1,"rgba("+a+", 1)");this.Dy.fillStyle=b;this.Dy.clearRect(0,0,this.$k.width,this.$k.height);this.Dy.fillRect(0,0,this.$k.width,this.$k.height);this.$N.update()};
a.prototype.$J=function(){if(this.Ow==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new d;c.lg(a);this.Ow=f.nn(c.texture(),new f.fj);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.Ow,this.Ow,this.Ow]};a.prototype.Qu=function(){var a=z,b=z,d=z;if(this.C("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.pG(b):c.kv(),f=b/c.kv();this.MK.makeTranslation(0,0,-b);this.MK.multiply(i.makeScale(f,
f,f));b=o}if(this.C("matrix"))d=b=a=o;if(b){i.identity();(b=this.get("matrix"))&&i.multiply(b);i.multiply(this.MK);e.tp(this.LK,i);e.tp(this.JK,i)}if(a){i.identity();(b=this.get("matrix"))&&i.multiply(b);i.multiply(this.ZN);e.tp(this.YN,i)}if(d){b=this.get("matrix");for(a=0;a<this.ot.length;a++){i.identity();b&&i.multiply(b);i.multiply(this.Lq[a]);e.tp(this.ot[a],i)}}};a.prototype.OP=function(){if(this.C("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){e.mS(a,this.get("index"))}.bind(this))}};
a.prototype.YW=function(){return this.get("pressed")?this.nb.H.get("vrPointerSelectionColor"):this.get("over")?this.nb.H.get("vrPointerOverColor"):this.nb.H.get("vrPointerColor")};return a});
define("cI","require,gW,iX,iT,gG,hA,iV,dk,iF,cv,Y,io".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("iT"),e=a("gG"),d=a("hA"),h=a("iV"),k=a("dk"),i=a("iF"),n=a("cv"),g=a("Y"),l=a("io"),r=new THREE.Matrix4,p=Math.PI/180,a=b.extend(i,function(a){i.call(this,i.yI,a);this.mf=this.k=q;this.wh=[];this.Ag=new e;this.g.add(this.Ag);this.sd=new d;this.g.add(this.sd);this.Jg=z;this.ge="";this.oa=q;this.wg=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.Ag);this.g.remove(this.sd);this.sd=
this.Ag=q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=a;this.sd.set("changing",a.VF);this.sd.set("visible",a.VF);var b=n.EG();if(b){var c=b.quaternion(),d=b.position(),e=g.Bl().position,f=l.yaw(g.Bl().orientation);this.wg.identity();if(d){this.wg.multiply(r.makeRotationY((f-a.yaw)*p));this.wg.multiply(r.makeTranslation(-e.x,-e.y,-e.z));this.wg.multiply(r.makeTranslation(d.x,d.y,d.z));this.wg.multiply(r.makeRotationFromQuaternion(c))}else{this.wg.multiply(r.makeRotationY(-a.yaw*
p));b.hand()==n.xa?this.wg.multiply(r.makeTranslation(-0.2,-0.4,0)):this.wg.multiply(r.makeTranslation(0.2,-0.4,0));this.wg.multiply(r.makeRotationY(f*p));this.wg.multiply(r.makeRotationFromQuaternion(c));this.wg.multiply(r.makeTranslation(0,0,-0.3))}this.Ag.set("matrix",q);this.Ag.set("matrix",this.wg);this.Ag.set("pressed",b.pressed());this.Ag.set("visible",o)}else this.Ag.set("visible",z);this.Jh();a=!!b&&b.pressed();if(this.Jg!=a){this.Jg&&this.kt();this.Jg=a}this.Ag.Oi();this.sd.Oi()};a.prototype.kt=
function(){var a=this.Ne(c.bi);this.Te(a);this.Ag.set("over",o);this.Ag.set("intersectionDistance",a.uC);(a=n.EG())&&a.pulse(0.6,50)};a.prototype.Jh=function(){var a=this.Ne(c.bh);this.Te(a);this.fk(a.SA());var b;a:{b=this.wh;for(var d=a.wh,e=0;e<b.length;e++)if(d.indexOf(b[e])<0){b=z;break a}for(e=0;e<d.length;e++)if(b.indexOf(d[e])<0){b=z;break a}b=o}if(!b&&(a.Nv()||this.Ag.get("over"))){this.wh=a.wh;(b=n.EG())&&b.pulse(0.6,5)}this.Ag.set("over",a.Nv());this.Ag.set("intersectionDistance",a.uC)};
a.prototype.fk=function(a){if(this.ge!=a){this.ge&&this.g.remove(this.oa);if(this.ge=a){this.oa=new h(this.ge);this.oa.set("text",this.ge);this.oa.set("matrix",q);this.oa.set("matrix",this.wg);this.g.add(this.oa)}}};a.prototype.Te=function(a){this.g.lA().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.aj(a)}.bind(this))};a.prototype.Ne=function(a){this.mf=f.eja(this.wg,this.mf);return new k(this,[this.mf],this.uL(),a)};return a});
define("fL","require,gW,iX,iT,F,dk,iF,L".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("iT"),e=a("F"),d=a("dk"),h=a("iF"),k=a("L"),a=b.extend(h,function(a){h.call(this,h.wB,a);this.g.H.bind(c.oc,this.qh,this,o);this.g.H.bind(c.$e,this.yY,this,o);this.g.H.bind(c.mb,this.Gb,this,o);this.g.H.bind(c.Eb,this.Af,this,o);this.Tm=this.Dh=this.fc=this.ec=m;this.mf=this.k=q;this.Li=z;this.oa=""});a.prototype.clear=function(){this.g.H.unbind(c.oc,this.qh,this,o);this.g.H.unbind(c.$e,this.yY,this,o);this.g.H.unbind(c.mb,
this.Gb,this,o);this.g.H.unbind(c.Eb,this.Af,this,o);this.Li&&(this.g.Dv(k.Od),this.Li=z);this.fk("")};a.prototype.update=function(a){this.k=a;this.FP()};a.prototype.qh=function(a){this.ec=a.x;this.fc=a.y;this.GP()};a.prototype.yY=function(){this.fc=this.ec=m;this.GP()};a.prototype.Gb=function(a){this.ec=this.Dh=a.x;this.fc=this.Tm=a.y;this.Te(this.Ne(c.ET))};a.prototype.Af=function(a){this.ec=a.x;this.fc=a.y;this.Te(this.Ne(c.FT));this.nM(this.Dh,this.Tm,this.ec,this.fc)&&this.Te(this.Ne(c.bi))};
a.prototype.FP=function(){if(!this.hk)this.hk=setTimeout(function(){this.hk=q;this.Jh()}.bind(this),300)};a.prototype.GP=function(){if(this.hk){clearTimeout(this.hk);this.hk=q}this.Jh()};a.prototype.Jh=function(){var a=this.Ne(c.bh);this.Te(a);this.fk(a.SA());if(this.Li!=a.Nv()){this.Li&&this.g.Dv(k.Od);(this.Li=a.Nv())&&this.g.LG(k.Od)}};a.prototype.fk=function(a){if(this.oa!=a){this.oa=a;this.g.H.set("toolTip",this.oa)}};a.prototype.Te=function(a){this.g.lA().sort(function(a,b){return b.get("index")-
a.get("index")}).forEach(function(b){b.aj(a)}.bind(this))};a.prototype.Ne=function(a){return new d(this,this.RC(),q,a)};a.prototype.RC=function(){if(this.ec!==m&&this.fc!==m&&this.k.Ge){var a=e.hv(this.k.Ge);if(a){this.mf=f.Z2(a,this.ec,this.fc,this.k.width,this.k.height,this.mf);return[this.mf]}}return[]};a.prototype.nM=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
define("ea","require,gW,iX,iT,F,dk,iF".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("iT"),e=a("F"),d=a("dk"),h=a("iF"),a=b.extend(h,function(a){h.call(this,h.xB,a);this.g.H.bind(c.mb,this.Gb,this,o);this.g.H.bind(c.Eb,this.Af,this,o);this.Tm=this.Dh=this.fc=this.ec=m;this.k=q;this.q8=Array(k.length);this.Bda=Array(i.length);this.oa="";this.Jh=this.Jh.bind(this)});a.prototype.clear=function(){this.g.H.unbind(c.mb,this.Gb,this,o);this.g.H.unbind(c.Eb,this.Af,this,o);this.fk("")};a.prototype.update=
function(a){this.k=a;this.FP()};a.prototype.Gb=function(a){this.ec=this.Dh=a.x;this.fc=this.Tm=a.y;this.Te(this.Ne(c.ET))};a.prototype.Af=function(a){this.ec=a.x;this.fc=a.y;this.Te(this.Ne(c.FT));this.nM(this.Dh,this.Tm,this.ec,this.fc)&&this.Te(this.Ne(c.bi))};a.prototype.FP=function(){if(!this.hk)this.hk=setTimeout(this.Jh,300)};a.prototype.GP=function(){if(this.hk){clearTimeout(this.hk);this.hk=q}this.Jh()};a.prototype.Jh=function(){this.hk=q;var a=this.Ne(c.bh);this.Te(a);this.fk(a.SA())};a.prototype.fk=
function(a){if(this.oa!=a){this.oa=a;a=this.g.H;if(!a.get("toolTipDisabled")){var b=a.$a().oa;this.oa?b.xma(a,this.oa):b.hide()}}};a.prototype.Te=function(a){this.g.lA().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.aj(a)}.bind(this))};a.prototype.Ne=function(a){var b;b=a==c.bh?this.RC(this.k.width*0.5,this.k.height*0.5,k,this.q8):this.RC(this.ec,this.fc,i,this.Bda);return new d(this,b,q,a)};a.prototype.RC=function(a,b,c,d){var i=this.k.Ge&&e.hv(this.k.Ge);if(i){var h=
this.k.width,k=this.k.height,u=Math.min(h,k)/100;c.forEach(function(c,e){d[e]=f.Z2(i,a+c[0]*u,b+c[1]*u,h,k,d[e])});return d}return[]};a.prototype.nM=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 k=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]]})}(),i=function(){for(var a=[],b=0;b<5;b++)for(var c=-2+4*b/4,d=0;d<5;d++){var e=-2+4*d/4,f=Math.sqrt(e*e+c*c);f<=2&&a.push([e,c,f])}a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}();return a});
define("eu","require,bK,gV,cI,fL,iF,ea".split(","),function(a){var b=a("bK"),c=a("gV"),f=a("cI"),e=a("fL"),d=a("iF"),h=a("ea");return{create:function(a,i){switch(a){case d.vB:return new b(i);case d.xI:return new c(i);case d.yI:return new f(i);case d.wB:return new e(i);case d.xB:return new h(i)}}}});
define("jm",["require","L"],function(a){function b(a){this.ob=a;this.Gf=[]}var c=a("L");b.prototype.push=function(a){this.Gf.push(a);this.L()};b.prototype.pop=function(a){for(var b=this.Gf.length-1;0<=b;b--)if(this.Gf[b]==a){this.Gf.splice(b,1);this.L();break}};b.prototype.clear=function(){0<this.Gf.length&&(this.ob.set("cursor",c.hc),this.Gf=[])};b.prototype.L=function(){this.ob.set("cursor",0<this.Gf.length?this.Gf[this.Gf.length-1]:c.hc)};return b});
define("cZ","require,gW,gC,iX,bF,d,L,p,cv,eY,jc,cR,cy,dW,eu,iF,jm,hM,gv,Y,P".split(","),function(a){var b=a("gW"),c=a("gC"),f=a("iX"),e=a("bF"),d=a("d"),h=a("L"),k=a("p"),i=a("cv"),n=a("eY"),g=a("jc"),l=a("cR"),r=a("cy"),p=a("dW"),s=a("eu"),t=a("iF"),u=a("jm"),v=a("hM"),w=a("gv"),y=a("Y"),A=a("P"),x=Math.PI/180,B=b.extend(d,function(a,b,e){d.call(this);this.Ic("Renderer");this.set("toolTipDisabled",o);this.set("cursor",h.bw);this.set("layout","absolute");this.ya=a;this.H=b;this.fu=e;this.vK=new u(b);
this.Zj=q;this.k=new g;this.nb=new p(this.ya,this.H,this.fu,this);this.nb.bind(f.W,this.za,this,o);this.al=new l;this.k.Ge=this.al.Ky;this.k.Og=this.al.hv();this.kY=(new Date).getTime();this.Ka().append(this.al.pb());this.d1=new w;this.d1.bind(f.O,this.Yca,this,o);this.JY=new v;this.JY.bind(f.W,this.Gca,this,o);this.JC=new n(this.k.width,this.k.height,this.k.hfov*x);this.bind(f.hb,this.cb,this,o);this.bind(f.tf,this.Qj,this,o);this.bind(f.og,this.Nj,this,o);y.bind(f.W,this.yi,this,o);i.bind(f.W,this.sca,
this,o);c.Ae(this.fu,["hotspotsEnabled","preloadEnabled"],function(){this.k.vv=this.fu.get("hotspotsEnabled");this.k.yA=this.fu.get("preloadEnabled");this.za()}.bind(this),o);this.yi();c.Ae(this.ya,["defaultVRPointer"],this.AF.bind(this));this.AF()});B.prototype.create=function(a){return r.create(a)};B.prototype.add=function(a){this.nb.appendChild(a)};B.prototype.remove=function(a){(a=this.nb.We(a))&&a.remove()};B.prototype.We=function(a){return this.nb.We(a)};B.prototype.lA=function(){return this.nb.all()};
B.prototype.P4=function(a){this.k.GG=a};B.prototype.LG=function(a){this.vK.push(a)};B.prototype.Dv=function(a){this.vK.pop(a)};B.prototype.OG=function(a){this.k.VF=a;this.za()};B.prototype.getPixelRatio=function(){return this.al.getPixelRatio()};B.prototype.AF=function(){var a;a=this.k.Sb?i.EG()&&this.ya.get("defaultVRPointer")=="laser"?t.yI:y.rG()==y.p6.VS?t.xI:t.vB:k.lb()?t.xB:t.wB;if(!(this.Zj&&this.Zj.Kf()==a)){this.Zj&&this.Zj.clear();this.Zj=s.create(a,this);this.Zj.update(this.k)}};B.prototype.Eh=
function(){this.vK.clear();d.prototype.Eh.call(this)};B.prototype.cb=function(){var a=this.ua(),c=this.Wa();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.JC.QA(this.k.width);this.JC.I4(this.k.height);this.za()}};B.prototype.Qj=function(){this.k.enabled=o;this.za()};B.prototype.Nj=function(){this.k.enabled=z;this.za()};B.prototype.yi=function(){this.k.Sb=y.isPresenting();this.AF();this.za()};B.prototype.sca=function(){this.AF();
this.za()};B.prototype.Yca=function(){this.za()};B.prototype.Gca=function(){this.za()};B.prototype.Hs=function(a){if(this.k.Xg!=a){this.k.Xg=a;this.za()}};B.prototype.Qa=function(a,c,d,e){if(this.k.yaw!=a||this.k.pitch!=c||this.k.Sc!=d||this.k.hfov!=e)if(isNaN(a)||isNaN(c)||isNaN(d)||!e)b.log("Invalid position values: "+a+" "+c+" "+d+" "+e);else{this.k.yaw=a;this.k.pitch=c;this.k.Sc=d;this.k.hfov=e;this.JC.HA(this.k.hfov*x);this.za()}};B.prototype.Bc=function(){return this.k.yaw};B.prototype.nc=function(){return this.k.pitch};
B.prototype.De=function(){return this.k.Sc};B.prototype.Ce=function(){return this.k.hfov};B.prototype.unproject=function(a){return this.JC.unproject(a)};B.prototype.za=function(){A.za(this.Pe,this)};B.prototype.Pe=function(){if(A.dR){var a=(new Date).getTime(),b=Math.max(1,Math.min(a-this.kY,33));this.kY=a;this.trigger(new e(B.TH,{frameTime:b}));if(this.k.enabled){this.k.Kd=b;this.al.update(this.k);this.k.vQ=this.al.Wia();this.k.UF=this.al.Via();this.k.If=this.al.Tia();this.k.AR=this.al.getPixelRatio();
this.nb.update(this.k);this.d1.update(this.k);this.JY.update(this.k);this.Zj.update(this.k);this.al.render()}}else this.za()};B.TH="render start";return B});
define("bo","require,jquery.mod,gW,iX,bF,dQ,hu,eo,P,K,cG".split(","),function(a){var b=a("jquery.mod"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),h=a("hu"),k=a("eo"),i=a("P"),n=a("K"),g=a("cG"),a=c.extend(d,function(a,c){d.call(this);this.la=a;this.F=c;this.D=document.createElement("div");this.AB=b(this.D);this.Rd=q;this.ya=g.create(this.la,this.F.Ee());this.ya.bind(n.Ze,this.Yc,this,o);this.ya.bind(n.Pl,this.Mm,this,o);this.ya.bind(n.cd,this.Se,this,o);this.ya.bind(n.$g,this.Zx,this,o);this.ug=q;this.Rf=
0;this.VI=o;this.Oa=this.Ja=100;this.Kq=o});a.prototype.clear=function(){this.ya.unbind(n.Ze,this.Yc,this,o);this.ya.unbind(n.Pl,this.Mm,this,o);this.ya.unbind(n.cd,this.Se,this,o);this.ya.unbind(n.$g,this.Zx,this,o);this.ya.clear();this.AB=this.D=this.Rd=this.ya=q};a.prototype.pb=P("AB");a.prototype.getItem=P("F");a.prototype.Tc=function(a){if(this.Rf!=a){this.Rf=a;this.VI=o}};a.prototype.Ll=function(a,b){if(this.Ja!=a||this.Oa!=b){this.Ja=a;this.Oa=b;this.Kq=o}};a.prototype.Cp=function(){this.ya.Mf(o)};
a.prototype.Ms=function(){this.ya.Mf(z)};a.prototype.play=function(){this.ya.Ld(k.Q)};a.prototype.pause=function(){this.ya.Ld(k.Zb)};a.prototype.stop=function(){this.ya.Ld(k.N)};a.prototype.Wh=function(a){this.ya.Wh(a)};a.prototype.Ri=function(){return this.ya.Ri()};a.prototype.Kv=function(a){this.ya.Kv(a)};a.prototype.tn=function(){return this.ya.tn()};a.prototype.render=function(){if(this.Kq){this.Kq=z;var a=this.F.Ac(),b=this.F.kd(),c,d;switch(this.F.yc){case h.NONE:c=a;d=b;break;case h.wk:c=this.Ja;
d=b*this.Ja/a;break;case h.ng:d=this.Oa;c=a*this.Oa/b;break;case h.Ql:if(a*this.Oa>b*this.Ja){d=this.Oa;c=a*this.Oa/b}else{c=this.Ja;d=b*this.Ja/a}break;default:if(a*this.Oa>b*this.Ja){c=this.Ja;d=b*this.Ja/a}else{d=this.Oa;c=a*this.Oa/b}}this.w7(Math.round((this.Ja-c)*0.5),Math.round((this.Oa-d)*0.5),Math.round(c),Math.round(d));this.jO()}if(this.VI){this.VI=z;this.dt(this.Rf)}};a.prototype.w7=function(a,b,c,d){this.D.style.position="absolute";this.D.style.left=a+"px";this.D.style.top=b+"px";this.D.style.width=
c+"px";this.D.style.height=d+"px"};a.prototype.dt=function(a){if(a==0)this.D.style.display="none";else if(a==1){this.D.style.display="block";this.D.style.filter="";this.D.style.opacity=""}else{this.D.style.display="block";this.D.style.filter="alpha(opacity="+Math.round(a*100)+")";this.D.style.opacity=a}};a.prototype.Se=function(){this.uz();this.jO()};a.prototype.jO=function(){i.za(this.eca,this)};a.prototype.eca=function(){this.uz();this.ya&&this.ya.Rh()==k.Q&&this.jO()};a.prototype.Zx=function(){this.uz();
this.trigger(new e(f.qa))};a.prototype.Yc=function(){this.uz();this.trigger(new e(f.W))};a.prototype.Mm=function(){this.uz();this.trigger(new e(f.W))};a.prototype.uz=function(){var a=q;if(this.ya){a=this.ya.iG();if(!this.ug||!this.ug.isEqual(a)){this.ug=a;a=this.ug.Rd}else a=this.Rd}if(this.Rd!=a){var b=this.Rd;if(this.Rd=a){this.Rd.removeAttribute("style");this.Rd.style.position="absolute";this.Rd.style.left=0;this.Rd.style.top=0;this.Rd.style.width="100%";this.Rd.style.height="100%";this.D.appendChild(this.Rd)}b&&
this.D.removeChild(b)}};return a});
define("hx","require,cE,jquery.mod,gW,iX,bF,L,d,cw,bo".split(","),function(a){var b=a("cE"),c=a("jquery.mod"),f=a("gW"),e=a("iX"),d=a("bF"),h=a("L"),k=a("d"),i=a("cw"),n=a("bo"),a=f.extend(k,function(){k.call(this);this.Ic("Renderer");this.set("toolTipDisabled",o);this.set("cursor",h.bw);this.bind(e.hb,this.cb,this,o);this.bind(e.tf,this.Qj,this,o);this.bind(e.og,this.Nj,this,o);this.Qr=z;this.V_=c("<div/>");this.wy=new i.AT;this.wy.$R(i.AT.bI);this.wN=z;[this.V_,this.wy.pb()].forEach(function(a,
b){this.Ka().append(a);a.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":b})}.bind(this));this.gg=z;this.ee=[];this.HP()});a.prototype.Rz=function(a){a=new n(this.$a(),a);a.Ll(this.ua(),this.Wa());a.bind(e.qa,this.SD,this,o);a.bind(e.W,this.zZ,this,o);this.V_.append(a.pb());this.ee.push(a);this.gg=o;this.HP()};a.prototype.removeItem=function(a){if(a=this.zj(a)){if(this.xJ==a)this.xJ=this.sV=q;this.ee=b.without(this.ee,a);a.unbind(e.qa,this.SD,this);a.unbind(e.W,
this.zZ,this,o);a.pb().detach();a.clear();this.gg=o;this.HP()}};a.prototype.zka=function(a){this.zj(a).pause()};a.prototype.m4=function(a){this.zj(a).play()};a.prototype.Ema=function(a){this.zj(a).stop()};a.prototype.SQ=function(a){return this.zj(a).Ri()};a.prototype.aS=function(a,b){this.zj(a).Kv(b)};a.prototype.jja=function(a){return this.zj(a).tn()};a.prototype.h4=function(a){this.zj(a).Cp()};a.prototype.Mma=function(a){this.zj(a).Ms()};a.prototype.jg=function(a,b){this.zj(a).Tc(b)};a.prototype.Sz=
function(a){if(a=this.zj(a)){this.ee=b.without(this.ee,a);this.ee.push(a);this.gg=o}};a.prototype.hma=function(a){if(this.wN!=a){this.wN=a;this.wy.Ye(a)}};a.prototype.HP=function(){this.wy.Ye(this.wN&&this.ee.length>0)};a.prototype.render=function(){this.bl&&this.nu()};a.prototype.nu=function(){if(this.Qr){this.Qr=z;for(var a=this.ua(),b=this.Wa(),c=0;c<this.ee.length;c++)this.ee[c].Ll(a,b);this.wy.setSize(a,b)}if(this.gg){this.gg=z;for(c=0;c<this.ee.length;c++)this.ee[c].pb().css("z-index",c+1)}for(c=
0;c<this.ee.length;c++)this.ee[c].render()};a.prototype.zj=function(a){if(this.sV==a)return this.xJ;for(var b=q,c=0;c<this.ee.length&&!b;c++)this.ee[c].getItem()==a&&(b=this.ee[c]);this.sV=a;return this.xJ=b};a.prototype.cb=function(){this.Qr=o;this.render()};a.prototype.Qj=function(){this.bl=o;this.render()};a.prototype.Nj=function(){this.bl=z};a.prototype.zZ=function(a){this.Lg(a.source.getItem())};a.prototype.SD=function(a){this.sF(a.source.getItem())};a.prototype.sF=function(a){this.trigger(new d(e.qa,
{item:a}))};a.prototype.Lg=function(a){this.trigger(new d(e.W,{item:a}))};return a});
define("ba","require,cE,gW,iX,eo,bF,df,hR,dT,t,cZ,hx,cD,bP,ej,iI".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("eo"),d=a("bF"),h=a("df"),k=a("hR"),i=a("dT"),n=a("t"),g=a("cZ"),l=a("hx"),r=a("cD"),p=a("bP"),s=a("ej"),t=a("iI"),u=c.extend(t,function(){t.call(this);this.set("childrenInteractionEnabled",o);this.set("contentOpaque",o);this.set("creationPolicy",p.cw);this.set("vrPointerColor","#ffffff");this.set("vrPointerOverColor","#007acc");this.set("vrPointerSelectionColor","#ff6600");
this.set("vrPointerDistance",2);this.set("vrPointerSelectionTime",1200);this.set("doubleClickAction","toggle_fullscreen");this.Kk=this.jc=this.BC=this.fe=q;this.AN=this.Xk=z;this.kf=e.N;this.dh=this.eh=q;this.bind(u.DT,this.Oca,this);this.bind(u.CT,this.Lca,this);this.bind(f.mb,this.Mca,this);this.rQ=new k(this,"buttonPause",r.di);this.rQ.bind(f.S,this.Yt,this);this.rQ.set("state",s.hc);this.tQ=new k(this,"buttonPlay",r.di);this.tQ.bind(f.S,this.Zt,this);this.tQ.set("state",s.hc);this.sQ=new k(this,
"buttonPlayPause",r.di);this.sQ.bind(f.S,this.Ica,this);this.sQ.set("state",s.hc);this.uQ=new k(this,"buttonStop",r.di);this.uQ.bind(f.S,this.wr,this);this.uQ.set("state",s.sa);this.cia=new k(this,"buttonRestart",r.pc);this.cia.bind(f.S,this.vr,this);this.qba=c.Cn(this.Aha,this);this.bind(f.dT,this.bda,this,o)});h.v("ViewerArea",u).A("UIComponent").K({cardboardPointerColor:"color",cardboardPointerSelectionTime:"number",cardboardPointerSelectionColor:"color",cardboardPointerDistance:"number",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",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",externalPlaybackBar:"PlaybackBar",playbackState:"enum[stopped, playing, paused]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Th({play:function(){this.Zt()},
pause:function(){this.Yt()},stop:function(){this.wr()},restart:function(){this.vr()}});u.Ta={progressBackgroundColor:m,progressBackgroundColorDirection:m,progressBackgroundColorRatios:m,progressBackgroundOpacity:m,progressBarBackgroundColor:m,progressBarBackgroundColorDirection:m,progressBarBackgroundColorRatios:m,progressBarBorderColor:m,progressBarBorderRadius:m,progressBarBorderSize:m,progressBarOpacity:m,progressBorderColor:m,progressBorderRadius:m,progressBorderSize:m,progressBottom:0,progressHeight:20,
progressLeft:0,progressOpacity:m,progressPercent:0,progressRight:0,progressVisible:z,externalProgressBar:m,playbackBarBackgroundColor:m,playbackBarBackgroundColorDirection:m,playbackBarBackgroundOpacity:m,playbackBarBorderColor:m,playbackBarBorderRadius:m,playbackBarBorderSize:m,playbackBarBottom:10,playbackBarHeight:m,playbackBarWidth:m,playbackBarLeft:m,playbackBarOpacity:m,playbackBarRight:m,playbackBarLiveDragging:m,playbackBarDuration:100,playbackBarPosition:0,plabackBarSteps:m,plabackBarSelectedStep:m,
playbackBarVisible:z,playbackBarProgressBackgroundColor:m,playbackBarProgressBackgroundColorDirection:m,playbackBarProgressBackgroundColorRatios:m,playbackBarProgressBorderColor:m,playbackBarProgressBorderRadius:m,playbackBarProgressBorderSize:m,playbackBarProgressOpacity:m,playbackBarHeadBackgroundColor:m,playbackBarHeadBackgroundColorDirection:m,playbackBarHeadBackgroundColorRatios:m,playbackBarHeadBorderColor:m,playbackBarHeadBorderRadius:m,playbackBarHeadBorderSize:m,playbackBarHeadOpacity:m,
playbackBarHeadWidth:m,playbackBarHeadHeight:m,playbackBarHeadShadow:m,playbackBarHeadShadowBlurRadius:m,playbackBarHeadShadowColor:m,playbackBarHeadShadowHorizontalLength:m,playbackBarHeadShadowOpacity:m,playbackBarHeadShadowSpread:m,playbackBarHeadShadowVerticalLength:m,playbackBarStepBackgroundColor:m,playbackBarStepBackgroundColorDirection:m,playbackBarStepBackgroundColorRatios:m,playbackBarStepBorderColor:m,playbackBarStepBorderRadius:m,playbackBarStepBorderSize:m,playbackBarStepOpacity:m,playbackBarStepWidth:m,
playbackBarStepHeight:m,playbackBarStepShadow:m,playbackBarStepShadowBlurRadius:m,playbackBarStepShadowColor:m,playbackBarStepShadowHorizontalLength:m,playbackBarStepShadowOpacity:m,playbackBarStepShadowSpread:m,playbackBarStepShadowVerticalLength:m,playbackBarStepSelectedBackgroundColor:m,playbackBarStepSelectedBackgroundColorDirection:m,playbackBarStepSelectedBackgroundColorRatios:m,playbackBarStepSelectedBorderColor:m,playbackBarStepSelectedBorderRadius:m,playbackBarStepSelectedBorderSize:m,playbackBarStepSelectedOpacity:m,
playbackBarStepSelectedWidth:m,playbackBarStepSelectedHeight:m,playbackBarStepSelectedShadow:m,playbackBarStepSelectedShadowBlurRadius:m,playbackBarStepSelectedShadowColor:m,playbackBarStepSelectedShadowHorizontalLength:m,playbackBarStepSelectedShadowOpacity:m,playbackBarStepSelectedShadowSpread:m,playbackBarStepSelectedShadowVerticalLength:m,externalPlaybackBar:m,transitionDuration:500,blendingTransitionDuration:m,disolveTransitionDuration:m,translationTransitionDuration:m,toolTipEnabled:o};b.defaults(u.Ta,
t.Ta);u.prototype.set=function(a,b){if(a=="playbackState"){b=this.kf;if(this.get(a)!=b){this.AN=o;this.qba()}}switch(a){case "toolTipEnabled":this.set("toolTipDisabled",b===z);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.ma=function(){this.li(u.Ta)};u.prototype.Ga=function(){t.prototype.Ga.call(this);if(this.fe==q){this.fe=new n;this.pa(this.fe)}if(this.jc==q){this.jc=new i;this.jc.bind(f.W,this.xN,this,o);this.pa(this.jc)}};u.prototype.hja=P("jc");u.prototype.Yg=function(){t.prototype.Yg.call(this);var a=this.Ma(),c=b(a).find(function(a){return a instanceof g}),d=b(a).find(function(a){return a instanceof l}),e=this.fe&&this.eA(this.fe)>=0?this.fe:q,f=this.jc&&this.eA(this.jc)>=0?this.jc:q;b([{child:c,
index:0},{child:d,index:c?1:0},{child:f,index:a.length-(e?2:1)},{child:e,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.eA(b)!=a&&this.Xi(b,a)},this)};u.prototype.ca=function(){if(this.m("externalProgressBar")){(this.BC=this.j("externalProgressBar"))?this.removeChild(this.fe):this.pa(this.fe);this.o("externalProgressBar");b(u.AU).each(function(a){this.Nr(a)},this)}this.Sa(u.G6,u.pU,[this.fe],o,o);var a=[this.fe];this.BC&&a.push(this.BC);this.Sa(u.AU,u.BU,a,o,o);if(this.m("externalPlaybackBar")){this.Kk&&
this.Kk.unbind(f.W,this.xN,this,o);(this.Kk=this.j("externalPlaybackBar"))?this.removeChild(this.jc):this.pa(this.jc);this.Kk&&this.Kk.bind(f.W,this.xN,this,o);this.o("externalPlaybackBar");b(u.wU).each(function(a){this.Nr(a)},this)}this.Sa(u.F6,u.oU,[this.jc],o,o);a=[this.jc];this.Kk&&a.push(this.Kk);this.Sa(u.wU,u.xU,a,o,o);t.prototype.ca.call(this)};u.prototype.Aha=function(){if(this.AN){this.AN=z;this.rQ.set("state",this.kf==e.Zb?s.sa:s.hc);this.tQ.set("state",this.kf==e.Q||this.kf==e.Zb?s.sa:
s.hc);this.sQ.set("state",this.kf==e.Q?s.sa:s.hc);this.uQ.set("state",this.kf==e.N?s.sa:s.hc)}};u.prototype.kb=function(a){this.kf=a;this.set("playbackState",a)};u.prototype.Yt=function(){this.kf==e.Zb?this.ag():this.Xj()};u.prototype.Zt=function(){this.ag()};u.prototype.Ica=function(){this.kf==e.Q?this.Xj():this.ag()};u.prototype.wr=function(){this.Ii()};u.prototype.vr=function(){this.Ii();this.ag()};u.prototype.bda=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=
this.$a();(a=a&&a.vg)&&a.available()&&a.toggle()}};u.prototype.ag=function(){this.dh&&this.dh.play()};u.prototype.Xj=function(){this.dh&&this.dh.pause()};u.prototype.Ii=function(){this.dh&&this.dh.stop()};u.prototype.Oca=function(a){this.l0(a.data.player)};u.prototype.Lca=function(a){this.eh==a.data.player&&this.l0(q)};u.prototype.Mca=function(){u.Gn(this)};u.prototype.l0=function(a){if(this.eh!=a){this.eh&&this.eh.Gn(z);this.dh&&this.dh.unbind(f.Ca("state"),this.SI,this);this.Fda=this.eh;(this.eh=
a)&&this.eh.Gn(!!this.er);(this.dh=this.eh&&this.eh.k8?this.eh:q)&&this.dh.bind(f.Ca("state"),this.SI,this,o);this.SI()}};u.prototype.Gn=function(a){this.er=a;this.eh&&this.eh.Gn(!!this.er)};u.prototype.Wma=function(){return!this.Fda};u.prototype.SI=function(){this.dh?this.kb(this.dh.get("state")):this.kb(e.N)};u.prototype.xN=function(){var a=(this.Kk?this.Kk:this.jc).get("position");this.trigger(new d(u.QH,{position:a}))};u.pU={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.G6=b(u.pU).keys();u.BU={progressPercent:"percent",progressVisible:"visible"};u.AU=b(u.BU).keys();u.oU={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.F6=b(u.oU).keys();u.xU={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.wU=b(u.xU).keys();u.nI="requestByPlayer";u.DT="playerShow";u.CT="playerHide";u.QH="playbackBarPositionChange";u.Pt=q;u.Gn=function(a){if(u.Pt!=a){u.Pt&&u.Pt.Gn(z);u.Pt=a;u.Pt&&
u.Pt.Gn(o)}};return u});
define("bX","gW,ho,iX,bF,df,ba".split(","),function(a,b,c,f,e,d){var h=a.extend(b,function(a){b.call(this);this.k8=a;this.Xy=this.Qk=q});h.He="mediaShow";h.mg="mediaHide";h.prototype.Gn=C();h.prototype.aF=function(a){if(this.Qk!=a){if(this.Qk){this.Qk.unbind(d.nI,this.e2,this);this.Qk.unbind(d.QH,this.tE,this)}if(this.Qk=a){this.Qk.bind(d.nI,this.e2,this);this.Qk.bind(d.QH,this.tE,this)}}};h.prototype.FE=function(){this.Qk.trigger(new f(d.nI,{player:this}))};h.prototype.e2=function(a){a.data.player!=
this&&this.ez()};h.prototype.tE=C();h.prototype.ez=C();h.prototype.BD=function(a){this.trigger(new f(h.He,{media:a}));this.Xy=this.Qk;this.Xy.trigger(new f(d.DT,{player:this}))};h.prototype.AD=function(a){this.trigger(new f(h.mg,{media:a}));if(this.Xy){this.Xy.trigger(new f(d.CT,{player:this}));this.Xy=q}};return h});
define("fl","gW,ho,iX,bF,df,hR,bX,ba,eo,cD,ej".split(","),function(a,b,c,f,e,d,h,k,i,n,g){var l=a.extend(h,function(){h.call(this,o);this.Xk=z;this.aP=o;this.k=i.N;this.sJ=new d(this,"buttonPlayPause",n.di);this.sJ.bind(c.pg,this.Jca,this,o);this.sJ.bind(c.ci,this.Kca,this,o);this.lV=new d(this,"buttonPause",n.pc);this.lV.bind(c.S,this.Yt,this,o);this.mV=new d(this,"buttonPlay",n.pc);this.mV.bind(c.S,this.Zt,this,o);this.pV=new d(this,"buttonStop",n.pc);this.pV.bind(c.S,this.wr,this,o);this.a8=new d(this,
"buttonRestart",n.pc);this.a8.bind(c.S,this.vr,this,o);this.YX=a.Cn(this.nha,this);this.YX()});l.prototype.set=function(a,b){a!="state"&&h.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){switch(a){case "state":return this.k}return h.prototype.get.call(this,a,b)};l.prototype.nha=function(){if(this.aP){this.aP=z;this.lV.set("state",this.k==i.Zb?g.sa:g.hc);this.mV.set("state",this.k==i.Q||this.k==i.Zb?g.sa:g.hc);this.sJ.set("pressed",this.k==i.Q);this.pV.set("state",this.k==i.N?g.sa:g.hc)}};
l.prototype.zu=function(a){if(this.Xk!=a)(this.Xk=a)||this.kb(i.N)};l.prototype.kb=function(a){var b=this.k;this.k=a;h.prototype.set.call(this,"state",a);if(b!=this.k){this.aP=o;this.YX();this.trigger(new f(l.cd,{oldState:b,state:this.k}))}};l.prototype.Yt=function(){this.Xk&&(this.k==i.Zb?this.ag():this.Xj())};l.prototype.Zt=function(){this.Xk&&this.ag()};l.prototype.Jca=function(){this.Xk&&this.ag()};l.prototype.Kca=function(){this.Xk&&this.Xj()};l.prototype.wr=function(){this.Xk&&this.Ii()};l.prototype.vr=
function(){if(this.Xk){this.Ii();this.ag()}};l.prototype.ag=C();l.prototype.Xj=C();l.prototype.Ii=C();l.cd="stateChange";return l});define("gi",[],function(){return{Up:"constrained",H5:"free_drag",lna:"free_drag_and_rotation",uI:"sync_with_field_of_view"}});
define("gD",["gW","gi","hu"],function(a,b,c){function f(){this.Y=o;this.$=this.Z=0.5;this.ib=0;this.ia=1;this.yc=c.Ie;this.rh=b.Up;this.JM=this.MM=1;this.cc=this.dc=this.gh=this.hh=100;this.Fh=f.rq}f.prototype.w3=function(){return this.Fh!==f.rq};f.prototype.v3=function(){return this.Fh&f.Ws?o:z};f.prototype.x3=function(){return this.Fh&f.Xs?o:z};f.prototype.y3=function(){return this.Fh&f.uq?o:z};f.prototype.u3=function(){return this.Fh&f.qq?o:z};f.prototype.Rg=function(){this.Kh();return this.Z};
f.prototype.Sg=function(){this.Kh();return this.$};f.prototype.lk=function(){this.Kh();return this.ia};f.prototype.ev=function(){this.Kh();return this.ib};f.prototype.DA=function(a,b,c,f,i){this.dc=a;this.cc=b;this.yc=c;this.MM=f;this.JM=i;this.$=this.Z=0.5;this.ib=0;this.ia=f;this.Y=o};f.prototype.Qa=function(a,b,c,f){this.Z=a;this.$=b;this.ib=c;this.ia=f;this.Y=o};f.prototype.pk=function(a){this.rh=a;this.Y=o};f.prototype.setSize=function(a,b){this.hh=a;this.gh=b;this.Y=o};f.prototype.Kh=function(){if(this.Y){this.Y=
z;var a=f.rq;this.ia>this.JM?(this.ia=this.JM,a|=f.H6):this.ia<this.MM&&(this.ia=this.MM,a|=f.I6);var d,h,k,i;if(this.rh==b.Up){switch(this.yc){case c.NONE:h=this.dc;i=this.cc;break;case c.wk:h=this.hh;i=this.cc*this.hh/this.dc;break;case c.ng:h=this.dc*this.gh/this.cc;i=this.gh;break;case c.Ql:this.dc*this.gh>this.cc*this.hh?(h=this.dc*this.gh/this.cc,i=this.gh):(h=this.hh,i=this.cc*this.hh/this.dc);break;default:case c.Ie:this.dc*this.gh>this.cc*this.hh?(h=this.hh,i=this.cc*this.hh/this.dc):(h=
this.dc*this.gh/this.cc,i=this.gh)}h*=this.ia;i*=this.ia;d=Math.min(0.5*this.hh/h,0.5);h=Math.max(1-0.5*this.hh/h,0.5);k=Math.min(0.5*this.gh/i,0.5);i=Math.max(1-0.5*this.gh/i,0.5)}else d=0,h=1,k=0,i=1;this.Z<d?(this.Z=d,a|=f.Ws):this.Z>h&&(this.Z=h,a|=f.Xs);this.$<k?(this.$=k,a|=f.uq):this.$>i&&(this.$=i,a|=f.qq);if((this.rh==b.Up||this.rh==b.H5)&&0!=this.ib)this.ib=0,a|=f.M6;this.Fh=a}};f.rq=0;f.Ws=1;f.Xs=2;f.uq=4;f.qq=8;f.I6=16;f.H6=32;f.M6=64;return f});
define("dS",[],function(){function a(){this.Yw=0.1;this.qC=this.kK=this.nK=this.mK=this.uK=this.jK=this.sK=this.rK=this.Pz=this.nQ=this.vq=this.WI=this.Oz=this.kQ=this.Nz=this.jQ=0}a.prototype.PG=L("Yw");a.prototype.R4=function(a,c,f,e,d,h,k,i){this.jQ=a;this.kQ=c;this.WI=f;this.nQ=e;this.Nz+=d;this.Oz+=h;this.vq+=k;this.Pz+=i};a.prototype.yd=function(){return 0!=this.rK||0!=this.sK||0!=this.jK||0!=this.uK||0!=this.jQ||0!=this.kQ||0!=this.WI||0!=this.nQ||0!=this.Nz||0!=this.Oz||0!=this.vq||0!=this.Pz};
a.prototype.Ya=function(a){a=1E3/a;this.mK=this.yC(this.rK/a,this.jQ/a+this.Nz,this.Yw);this.nK=this.yC(this.sK/a,this.kQ/a+this.Oz,this.Yw);this.kK=this.yC(this.jK/a,this.WI/a+this.vq,this.Yw);this.qC=this.yC(this.uK/a,this.nQ/a+this.Pz,this.Yw);this.rK=this.mK*a;this.sK=this.nK*a;this.jK=this.kK*a;this.uK=this.qC*a;this.Pz=this.vq=this.Oz=this.Nz=0};a.prototype.yC=function(a,c,f){return 0==c?this.ef(a,c,f):c};a.prototype.ef=function(a,c,f){a=(c-a)*(1-f);0.01>Math.abs(a)&&(a=0);return c-a};return a});
define("dX",["gW","iX","bF","dQ","hu"],function(a,b,c,f){var e=a.extend(f,function(){f.call(this);this.ut=7;this.ID=this.iM=z;this.KD=m;this.ib=0;this.ia=1;this.cc=this.dc=100;this.mD=1;this.GN=o;this.HN=z;this.Pha=o;this.mQ=z;this.va=q});e.prototype.EA=L("ut");e.prototype.Ld=function(a,b,c,e){this.ib=a;this.ia=b;this.dc=c;this.cc=e};e.prototype.lma=function(a){this.GN=a;this.XE(this.GN&&!!this.va)};e.prototype.CA=function(a){this.va!=a&&(this.XE(z),this.KO(z),this.wl(),this.va=a,this.XE(this.GN&&
!!this.va),this.KO(this.Pha&&!!this.va))};e.prototype.wl=function(){this.XE(z);this.KO(z);this.va=q};e.prototype.XE=function(a){this.HN!=a&&((this.HN=a)?this.L7():this.Oga())};e.prototype.KO=function(a){this.mQ!=a&&((this.mQ=a)?this.N7():this.Qga())};e.prototype.L7=function(){this.va.bind(b.mb,this.Gb,this,o);this.va.bind(b.oc,this.qh,this,o);this.va.bind(b.Eb,this.Af,this,o)};e.prototype.Oga=function(){this.va.unbind(b.mb,this.Gb,this);this.va.unbind(b.oc,this.qh,this);this.va.unbind(b.Eb,this.Af,
this)};e.prototype.N7=function(){this.va.bind(b.lq,this.pr,this,o);this.va.bind(b.Rs,this.Yq,this,o)};e.prototype.Qga=function(){this.va.unbind(b.lq,this.pr,this);this.va.unbind(b.Rs,this.Yq,this)};e.prototype.Gb=function(a){this.Nfa(a)};e.prototype.qh=function(a){this.L1(a)};e.prototype.Af=function(){this.ZK()};e.prototype.pr=function(a){this.PP(a)};e.prototype.Yq=function(a){this.QP(a)};e.prototype.Nfa=function(a){this.iM=o;this.ID=z;this.KD=a;this.L1(a)};e.prototype.L1=function(a){if(this.iM){var b=
a.pageX-this.KD.pageX,f=a.pageY-this.KD.pageY;this.ID||(Math.sqrt(b*b+f*f)>this.ut?this.ID=o:b=f=0);this.ID&&(this.KD=a);a=this.ib*Math.PI/180;this.trigger(new c(e.jj,{xDelta:-((b*Math.cos(a)+f*Math.sin(a))/this.dc),yDelta:-((f*Math.cos(a)-b*Math.sin(a))/this.cc)}))}};e.prototype.ZK=function(){this.iM=z};e.prototype.QP=function(a){if(this.mD!=a.scale){this.ZK();var b=this.mD;this.mD=a.scale;this.trigger(new c(e.mj,{zoomDelta:this.ia*this.mD/b-this.ia}))}};e.prototype.PP=function(a){0!=a.pn&&(this.ZK(),
this.trigger(new c(e.mj,{zoomDelta:0.1*this.ia*a.CQ})))};e.jj="position change";e.mj="zoom change";e.Cna="vieport navigation";e.Bna="relative navigation";e.Ana="relative exponential navigation";e.zna="dragging";return e});define("fV",[],function(){return{oI:"rotateClockwise",pI:"rotateCounterClockwise",Wl:"zoomIn",Xl:"zoomOut",ld:"stop"}});
define("iq","gW,bF,dQ,hu,dS,dX,fV,iX".split(","),function(a,b,c,f,e,d,h){var k=a.extend(c,function(a,b){c.call(this);this.g=a;this.G=b;this.Nk=this.bO=this.ba=z;this.$=this.Z=0.5;this.ib=0;this.ia=1;this.cc=this.dc=100;this.yc=f.Up;this.jb=new e;this.Ba=new d;if(this.g.qi){this.Ba.EA(k.LI);this.jb.PG(k.MI)}else{this.Ba.EA(0);this.jb.PG(1)}this.Ba.bind(d.jj,this.Cca,this,o);this.Ba.bind(d.mj,this.No,this,o)});k.prototype.clear=function(){this.Ba.unbind(d.jj,this.Roa,this,o);this.Ba.unbind(d.mj,this.No,
this,o);this.Ba.wl();this.g=this.G=this.jb=this.Ba=q};k.prototype.kg=function(a){switch(a){case h.oI:this.gb(0,0,+k.GI,0,0,0,0,0);break;case h.pI:this.gb(0,0,-k.GI,0,0,0,0,0);break;case h.Wl:this.gb(0,0,0,+k.lw,0,0,0,0);break;case h.Xl:this.gb(0,0,0,-k.lw,0,0,0,0);break;case h.ld:this.gb(0,0,0,0,0,0,0,0)}};k.prototype.Qa=function(a,b,c,d,e,f){this.Z=a;this.$=b;this.ib=c;this.ia=d;this.dc=e;this.cc=f;this.Ba.Ld(this.ib,this.ia,this.dc,this.cc)};k.prototype.yd=function(){return this.ba&&this.jb.yd()};
k.prototype.Ya=function(a){this.jb.Ya(a);this.G.Qa(this.Z+this.jb.mK,this.$+this.jb.nK,this.ib+this.jb.kK,this.ia+this.jb.qC);this.Z=this.G.Rg();this.$=this.G.Sg();this.ib=this.G.ev();this.ia=this.G.lk()};k.prototype.IA=function(a){this.Nk=a;this.Ba.lma(!this.Nk)};k.prototype.ke=function(a){(this.ba=a)?this.Ba.CA(this.g.getParent()):this.Ba.wl()};k.prototype.Cca=function(a){this.gb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};k.prototype.No=function(a){this.gb(0,0,0,0,0,0,0,a.data.zoomDelta)};k.prototype.gb=
function(a,b,c,d,e,f,h,k){this.jb.R4(a,b,c,d,e,f,h,k);this.dg()};k.prototype.dg=function(){this.trigger(new b(k.Of))};k.Of="position change request";k.LI=7;k.MI=0.2;k.lw=0.5;k.GI=30;return k});
define("hP","gW,bF,dQ,iM,be,dS,dX,fV,iX".split(","),function(a,b,c,f,e,d,h,k){var i=a.extend(c,function(a,b){c.call(this);this.g=a;this.G=b;this.ba=z;this.$=this.Z=0.5;this.ib=0;this.ia=1;this.cc=this.dc=100;this.J=q;this.TK=o;this.fb=q;this.fE=0;this.il=this.dn=this.cn=m;this.jb=new d;this.Ba=new h;if(this.g.qi){this.Ba.EA(i.LI);this.jb.PG(i.MI)}else{this.Ba.EA(0);this.jb.PG(1)}this.Ba.bind(h.mj,this.No,this,o)});i.prototype.Wla=function(a,b){this.dc=a;this.cc=b;this.FF()};i.prototype.Hn=function(a){if(this.fb!=
a){this.fb=a;this.fE=m;this.FF()}};i.prototype.$i=function(a,b){if(this.fb==a){this.fE=b;this.FF()}};i.prototype.FF=function(){var a,b,c;if(this.fb&&this.fE!=m){a=this.fb.get("x",0)/this.dc;b=this.fb.get("y",0)/this.cc;c=-(this.fE+this.fb.get("angle",0))}else c=b=a=m;if(this.il!=c){this.il=c;this.dg()}if(this.cn!=a||this.dn!=b){this.cn=a;this.dn=b;this.pba();this.dg()}};i.prototype.pba=function(){this.TK=o;this.dg()};i.prototype.vz=function(){if(this.TK||this.J&&this.J.wd()){this.TK=z;this.J=q;if(this.cn!=
m&&this.dn!=m&&this.il!=m){for(var a=this.il-this.ib;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.Z!=this.cn||this.$!=this.dn)this.J=new f("quad_in_out",[new e("x",this.Z,this.cn,1),new e("y",this.$,this.dn,1),new e("angleDif",a,a,360)],500);else if(this.il!=this.ib)this.J=new f("quad_in_out",[new e("x",this.Z,this.Z,1),new e("y",this.$,this.$,1),new e("angleDif",a,0,360)],500)}}};i.prototype.clear=function(){this.Ba.unbind(h.mj,this.No,this,o);this.Ba.wl();this.g=this.G=this.J=this.jb=this.Ba=q};
i.prototype.kg=function(a){switch(a){case k.Wl:this.gb(+i.lw,0);break;case k.Xl:this.gb(-i.lw,0);break;case k.ld:this.gb(0,0)}};i.prototype.Qa=function(a,b,c,d,e,f){this.Z=a;this.$=b;this.ib=c;this.ia=d;this.Ba.Ld(this.ib,this.ia,e,f)};i.prototype.yd=function(){return this.ba&&(this.J||this.jb.yd()||this.cn!=m&&this.Z!=this.cn||this.dn!=m&&this.$!=this.dn||this.il!=m&&this.ib!=this.il)?o:z};i.prototype.Ya=function(a){this.vz();if(this.J){this.J.Ya(a);this.Z=this.J.Xa("x");this.$=this.J.Xa("y");this.ib=
this.il-this.J.Xa("angleDif")}else{if(this.cn!=m)this.Z=this.cn;if(this.dn!=m)this.$=this.dn;if(this.il!=m)this.ib=this.il}this.jb.Ya(a);this.G.Qa(this.Z,this.$,this.ib,this.ia+this.jb.qC);this.Z=this.G.Rg();this.$=this.G.Sg();this.ib=this.G.ev();this.ia=this.G.lk()};i.prototype.ke=function(a){if(this.ba=a){this.Ba.CA(this.g.getParent());this.FF()}else this.Ba.wl()};i.prototype.No=function(a){this.gb(0,a.data.zoomDelta)};i.prototype.gb=function(a,b){this.jb.R4(0,0,0,a,0,0,0,b);this.dg()};i.prototype.dg=
function(){this.trigger(new b(i.Of))};i.Of="position change request";i.LI=7;i.MI=0.2;i.lw=0.5;i.GI=30;return i});
define("iD","gW,bF,dQ,gi,hu,gD,iq,hP,iX".split(","),function(a,b,c,f,e,d,h,k,i){var n=a.extend(c,function(a){c.call(this);this.g=a;this.g.bind(i.hb,this.cb,this);this.rh=f.Up;this.fb=q;this.$=this.Z=0.5;this.ib=0;this.ia=1;this.ka=q;this.ME=this.LE=this.tl=this.sl=z;this.Hh=o;this.ba=z;this.G=new d;this.G.pk(this.rh);this.La=new h(this.g,this.G);this.La.bind(h.Of,this.Sm,this,o);this.Ue=new k(this.g,this.G);this.Ue.bind(k.Of,this.Sm,this,o);this.DE()});n.prototype.clear=function(){this.La.unbind(h.Of,
this.Sm,this);this.La.clear();this.La=q;this.Ue.unbind(k.Of,this.Sm,this);this.Ue.clear();this.ka=this.G=this.Ue=q;this.g.unbind(i.hb,this.cb,this);this.g=q};n.prototype.stop=function(){this.Nb=this.ka=q;this.ba=z;this.La.ke(z);this.Ue.ke(z);this.bn(0,0,0,0)};n.prototype.start=function(a){var b=a.ka,c=b.get("width",100),d=b.get("height",100),f=b.get("scaleMode",e.Ie),i=b.get("minimumZoomFactor",1),h=b.get("maximumZoomFactor",1),k=b.get("initialZoomFactor",1);this.ka=b;this.ba=o;this.Nb=a.getItem();
this.bn(0,0,0,0);this.Ue.Wla(c,d);this.G.DA(c,d,f,i,h);this.G.Qa(0.5,0.5,0,k);this.g.JA(this.Nb,this.G.Rg(),this.G.Sg(),this.G.ev(),this.G.lk());this.DE()};n.prototype.kg=function(a){this.La.kg(a);this.Ue.kg(a)};n.prototype.pk=function(a){if(this.rh!=a){this.rh=a;this.G.pk(a);this.DE()}};n.prototype.Hn=function(a){if(this.fb!=a){this.fb=a;this.Ue.Hn(a);this.DE()}};n.prototype.IA=function(a){this.La&&this.La.IA(a)};n.prototype.$i=function(a,b,c,d){this.Ue.$i(a,b,c,d)};n.prototype.Dn=function(a){if(this.ba)if(this.Ue.yd()){this.Ue.Ya(a);
this.Gh(this.Ue.Z,this.Ue.$,this.Ue.ib,this.Ue.ia);this.ea()}else if(this.La.yd()){this.La.Ya(a);this.Gh(this.La.Z,this.La.$,this.La.ib,this.La.ia);this.ea()}else this.bn(0,0,0,0)};n.prototype.Xb=function(){if(this.Nb){var a=this.g.jA(this.Nb),b=this.g.kA(this.Nb),c=this.g.kG(this.Nb),d=this.g.V2(this.Nb),e=this.g.iA(this.Nb),f=this.g.hA(this.Nb),i=a-this.Z,h=b-this.$,k=c-this.ib,n=d-this.ia;this.Z=a;this.$=b;this.ib=c;this.ia=d;this.bn(i,h,k,n);this.Ue.Qa(a,b,c,d,e,f);this.La.Qa(a,b,c,d,e,f)}};n.prototype.DE=
function(){if(this.rh==f.uI&&this.fb!=q&&this.fb.get("map")==this.ka){this.La.ke(z);this.Ue.ke(o)}else{this.La.ke(o);this.Ue.ke(z)}};n.prototype.Sm=function(){this.ea()};n.prototype.cb=function(){this.G.setSize(this.g.ua(),this.g.Wa());this.ea()};n.prototype.ea=function(){this.trigger(new b(n.ra))};n.prototype.Gh=function(a,b,c,d){this.g.JA(this.Nb,a,b,c,d)};n.prototype.bn=function(a,c,d,e){a=z;if(this.tl!=e<0){this.tl=!this.tl;a=o}if(this.sl!=e>0){this.sl=!this.sl;a=o}if(this.LE!=this.vq>0){this.LE=
!this.LE;a=o}if(this.ME!=this.vq<0){this.ME=!this.ME;a=o}if(this.Hh!=(e==0)){this.Hh=!this.Hh;a=o}a&&this.trigger(new b(n.Nf,{rotatingClockwise:this.LE,rotatingCounterClockwise:this.ME,zoomingIn:this.sl,zoomingOut:this.tl,stopped:this.Hh}))};n.ra="request frame";n.Nf="movement change";return n});
define("ef",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(a,b,d){c.call(this);a!==m&&this.set("yaw",a);b!==m&&this.set("pitch",b);d!==m&&this.set("hfov",d)});a.v("RotationalCameraPosition",b).A("Object").K({stereographicFactor:"number",yaw:"number",pitch:"number",hfov:"number"});return b});
define("bJ",["require","gW","ef","df"],function(a){var b=a("gW"),c=a("ef"),a=a("df"),b=b.extend(c,function(){c.apply(this,arguments)});a.v("PanoramaCameraPosition",b).A("RotationalCameraPosition");return b});
define("fZ","gW,bF,dQ,bJ,hu,gD,iX".split(","),function(a,b,c,f,e,d){var h=a.extend(c,function(a,b){c.call(this);this.H=a;this.g=b;this.G=new d;this.ue=[];this.V=h.gi;this.Ke=this.qe=q;this.Ki=this.H.get("transitionDuration");this.Ih=m});h.prototype.pk=function(a){this.G.pk(a)};h.prototype.Zz=function(a){a.rA()&&this.JJ();this.ue.push(a);this.RD()};h.prototype.hide=function(){this.JJ();this.ue.push(q);this.RD()};h.prototype.clear=function(){this.V=h.gi;this.JJ();this.Uda();this.cO();this.g=q};h.prototype.Xb=
function(a){if(this.V!=h.gi&&(this.V==h.Zl||this.V==h.pw)){this.Ih=this.Ih+a;a=Math.min(1,this.Ih/this.Ki);this.V==h.Zl?this.g.jg(this.qe.getItem(),a):this.g.jg(this.Ke.getItem(),1-a);this.Ih<this.Ki?this.ea():this.V==h.Zl?this.XK():this.YK()}};h.prototype.RD=function(){if(this.V==h.gi){for(;this.ue.length>0&&this.ue[0].isEqual(this.Ke);)this.ue.shift();this.ue.length>0&&this.Un()}};h.prototype.Un=function(){this.Ke&&(!this.ue[0]||this.ue[0].rA())&&this.trigger(new b(h.Xp,{map:this.Ke.ka}));if(this.H.get("transitionMode",
"blending")=="fade_out_fade_in"&&this.Ke&&this.ue[0].rA())this.Aw();else(this.qe=this.ue.shift())?this.mJ():this.Ke&&this.Aw()};h.prototype.mJ=function(){this.W6();this.qe.rA()&&this.Aea();this.Ih=0;this.V=h.Zl;this.ea()};h.prototype.XK=function(){this.cO();this.Ke=this.qe;this.qe=q;this.Tq()};h.prototype.Aw=function(){this.Ih=0;this.V=h.pw;this.ea()};h.prototype.YK=function(){this.cO();this.Ke=q;this.Tq()};h.prototype.Tq=function(){this.V=h.gi;this.Ke&&this.Ke.rA()&&this.trigger(new b(h.Yp,{map:this.Ke.ka}));
this.ue.length==0?this.Ke&&this.trigger(new b(h.JH,{level:this.Ke})):this.Un()};h.prototype.Aea=function(){var a=this.qe.ka;this.qe.nv();this.G.DA(a.get("width",100),a.get("height",100),a.get("scaleMode",e.Ie),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.G.Qa(0.5,0.5,0,a.get("initialZoomFactor",1));this.g.JA(this.qe.getItem(),this.G.Rg(),this.G.Sg(),this.G.ev(),this.G.lk())};h.prototype.ea=function(){this.trigger(new b(h.ra))};h.prototype.JJ=function(){for(;this.ue.length>0;){var a=
this.ue.shift();a&&this.g.Xh(a.getItem())}};h.prototype.W6=function(){if(this.qe){this.g.Rz(this.qe.getItem());this.g.Sz(this.qe.getItem());this.g.jg(this.qe.getItem(),0);this.trigger(new b(h.IH,{level:this.qe}))}};h.prototype.cO=function(){if(this.Ke){this.g.removeItem(this.Ke.getItem());this.trigger(new b(h.eB,{level:this.Ke}));this.g.Xh(this.Ke.getItem());this.Ke=q}};h.prototype.Uda=function(){if(this.qe){this.g.removeItem(this.qe.getItem());this.trigger(new b(h.eB,{level:this.qe}));this.g.Xh(this.qe.getItem());
this.qe=q}};h.gi="stopped";h.Zl="blending";h.pw="disolving";h.ra="request frame";h.IH="level added";h.eB="level removed";h.JH="level fully displayed";h.Yp="map show";h.Xp="map hide";return h});
define("gN",[],function(){function a(a,c){this.ka=a;this.Ua=a.get("image");this.Ve=c;this.gM=m}a.prototype.getItem=function(){switch(this.Ve){case a.rB:return this.ka.c3();default:return this.ka.Kc()}};a.prototype.nv=function(){switch(this.Ve){case a.rB:return this.ka.ts();default:return this.ka.jk()}};a.prototype.rA=function(){return this.gM===m?0==this.R2():this.gM};a.prototype.Hla=L("gM");a.prototype.tA=function(){return this.Ve==a.$S};a.prototype.isEqual=function(a){return a&&this.ka==a.map&&
this.Ve==a.type};a.prototype.R2=function(){return this.Ve==a.rB||this.ka.uv()?0:1};a.prototype.M2=function(){return this.ka.uv()?2:1};a.rB="preload";a.$S="load";return a});
define("fu","require,gW,bF,dQ,iX,gN".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("dQ"),e=a("iX"),d=a("gN"),h=b.extend(f,function(a){f.call(this);this.g=a;this.ue=[];this.Tw=this.mr=this.Qd=q;this.gr=z;this.nD=q});h.prototype.clear=function(){this.stop();this.g=q};h.prototype.nka=function(a){if(this.nD!=a){this.stop();a.uv()&&this.ue.push(new d(a,d.rB));this.ue.push(new d(a,d.$S));this.RD()}};h.prototype.stop=function(){this.nD=q;this.ue=[];this.W0();if(this.gr){this.gr=z;this.tP();this.g.Xh(this.Qd.getItem());
this.Qd=q;this.trigger(new c(h.fB))}};h.prototype.RD=function(){this.gr||this.EM()};h.prototype.EM=function(){if(this.ue.length>0){this.Qd=this.ue.shift();if(!this.gr){this.gr=o;this.trigger(new c(h.dB,{level:this.Qd,percent:0}))}this.F7();this.g.zn(this.Qd.getItem());this.g.pS(this.Qd.getItem())&&this.UM()}else if(this.gr){this.gr=z;this.trigger(new c(h.fB))}};h.prototype.UM=function(){this.tP();this.Gfa();this.Qd=q;this.EM()};h.prototype.Gfa=function(){this.W0();this.mr=this.Qd;var a=this;this.Tw=
setTimeout(function(){a.Tw=q;a.nca()},500)};h.prototype.nca=function(){var a=this.mr.ka;this.mr.Hla(a!=this.nD);this.nD=a;this.trigger(new c(h.KH,{level:this.mr}));this.mr=q};h.prototype.W0=function(){if(this.Tw!=q){clearTimeout(this.Tw);this.Tw=q;this.g.Xh(this.mr.getItem());this.mr=q}};h.prototype.VY=function(){this.tP();this.Qd=q;this.EM()};h.prototype.WY=function(a){this.trigger(new c(h.dB,{level:this.Qd,percent:a.Vg}))};h.prototype.F7=function(){var a=this.Qd.getItem();a.bind(e.O,this.UM,this);
a.bind(e.dd,this.VY,this);a.bind(e.$b,this.WY,this)};h.prototype.tP=function(){var a=this.Qd.getItem();a.unbind(e.O,this.UM,this);a.unbind(e.dd,this.VY,this);a.unbind(e.$b,this.WY,this)};h.dB="level loading progress";h.KH="level loaded";h.fB="load stopped";return h});
define("bL",["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),f=this.x*a+this.y*c;this.x=this.x*c-this.y*a;this.y=f;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("hJ",["require","hu","hW"],function(a){function b(a,b,h){this.of=a;this.O0=b;this.N0=h;this.yc=c.jq;this.yg=f.bd;this.Mg=f.Uc}var c=a("hu"),f=a("hW");b.prototype.Mp=L("yc");b.prototype.Lv=L("yg");b.prototype.Mv=L("Mg");b.prototype.cv=function(a,b,h){var k=this.O0,i=this.N0,n,g;switch(this.yc){case c.NONE:g=n=1;break;case c.Ie:n=g=Math.min(b/k,h/i);break;case c.Ql:n=g=Math.max(b/k,h/i);break;case c.wk:n=g=b/k;break;case c.ng:n=g=h/i;break;default:n=b/k,g=h/i}var l=b/n;n=Math.min(this.O0*n,b);
l=Math.min(l,k);switch(this.yg){case f.xa:sX=tX=0;break;case f.Za:tX=b-n;sX=k-l;break;default:tX=0.5*(b-n),sX=0.5*(k-l)}b=h/g;g=Math.min(this.N0*g,h);b=Math.min(b,i);switch(this.Mg){case f.rb:i=h=0;break;case f.zb:h-=g;i-=b;break;default:h=0.5*(h-g),i=0.5*(i-b)}a.drawImage(this.of,Math.round(sX),Math.round(i),Math.round(l+sX-Math.round(sX)),Math.round(b+i-Math.round(i)),Math.round(tX),Math.round(h),Math.round(n+tX-Math.round(tX)),Math.round(g+h-Math.round(h)))};return b});
define("hz","require,iX,eQ,bL,gz,hJ".split(","),function(a){function b(a,b,e,g){this.g=a;this.ka=b;this.dc=this.ka.get("width");this.cc=this.ka.get("height");this.Nb=this.ka.Kc();this.KX=e;this.pi=g;this.br=q;if(this.pi){this.uu=this.KX.uu;this.M=this.pi.get("width");this.aa=this.pi.get("height");this.Z=this.pi.get("x",0);this.$=this.pi.get("y",0);this.Ho=this.pi.get("offsetX",0);this.Io=this.pi.get("offsetY",0);if(this.Gm=this.pi.jk()){this.se=new d(f.Ak);this.se.load(this.Gm.get("url"));this.se.bind(c.O,
this.pZ,this)}}else this.se=q}var c=a("iX"),f=a("eQ"),e=a("bL"),d=a("gz"),h=a("hJ");b.prototype.clear=function(){this.pi=this.KX=this.Nb=this.ka=this.g=q;if(this.se){this.se.unbind(c.O,this.pZ,this);this.se.cancel();this.se=q}this.br=q};b.prototype.W2=function(a,b){this.LX=m;if(this.br&&a!=m&&b!=m){var c=this.g.ua()*0.5,d=this.g.Wa()*0.5,f=this.g.kG(this.Nb)*Math.PI/180,h=this.g.iA(this.Nb),p=this.g.hA(this.Nb),s=this.g.jA(this.Nb),t=this.g.kA(this.Nb),u=new e(a,b);u.translate(-c,-d);u.rotate(-f);
u.scale(1/h,1/p);u.translate(s,t);u.scale(this.dc,this.cc);u.translate(-this.Z,-this.$);if(!this.uu){u.rotate(f);u.scale(h/this.dc,p/this.cc)}u.translate(this.Ho,this.Io);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.br.width&&u>=0&&u<this.br.height){u=(this.br.width*u+c)*4;c=this.br.data;this.LX=c[u+3]>0?"#"+this.vJ(c[u+0])+this.vJ(c[u+1])+this.vJ(c[u+2]):"transparent"}}return this.LX};b.prototype.pZ=function(){var a=new h(this.se.vd(),this.Gm.get("width"),this.Gm.get("height"));a.Mp(this.pi.get("scaleMode"));
a.Lv(this.pi.get("horizontalAlign"));a.Mv(this.pi.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.M);b.height=Math.round(this.aa);var c=b.getContext("2d");a.cv(c,b.width,b.height);this.br=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.vJ=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
define("gL","require,cE,gW,iX,bF,dQ,iw,hz,L,iM,be".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),h=a("iw"),k=a("hz"),i=a("L"),n=a("iM"),g=a("be"),l=c.extend(d,function(a,b,c){d.call(this);this.g=a;this.ka=b;this.eb=c;this.F=this.eb.getItem();this.bk=this.eb.d3();this.ek=this.eb.f3();this.Am=this.zm=m;this.H=this.g.getParent();this.H.bind(f.oc,this.uh,this);this.H.bind(f.$e,this.cy,this);this.H.bind(f.mb,this.Mo,this);this.H.bind(f.Eb,this.dy,this);c.bind(f.Ca("selected"),
this.FZ,this);c.bind(f.Ca("enabled"),this.pca,this);this.vD=new k(this.g,this.ka,this.eb,this.eb.get("map",q));this.xD=new k(this.g,this.ka,this.eb,this.eb.get("rollOverMap",this.eb.get("map",q)));this.yD=new k(this.g,this.ka,this.eb,this.eb.get("selectedMap",this.eb.get("rollOverMap",this.eb.get("map",q))));this.UC=new k(this.g,this.ka,this.eb,this.eb.get("image",q));this.VC=new k(this.g,this.ka,this.eb,this.eb.get("rollOverImage",this.eb.get("image",q)));this.WC=new k(this.g,this.ka,this.eb,this.eb.get("selectedImage",
this.eb.get("rollOverImage",this.eb.get("image",q))));this.fc=this.ec=m;this.Mu=q;this.bm=[];this.vw=[];this.pe={};this.tY=[];this.JL=z;this.Li=this.eb.get("useHandCursor")==o;this.J=q;this.Eu=m;this.SE=this.KE=this.hD=0;a=this.eb.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],e=c.get("mapColor");if(e){e=e.toLowerCase();if(this.pe[e]===m){this.pe[e]=[];this.tY.push(e)}this.pe[e].push(c)}}if(this.F){this.g.RF(this.ka.Kc(),this.F);this.g.jg(this.F,this.hD)}if(this.bk){this.g.RF(this.ka.Kc(),this.bk);
this.g.jg(this.bk,this.KE)}if(this.ek){this.g.RF(this.ka.Kc(),this.ek);this.g.jg(this.ek,this.SE)}this.Vy("none");this.AP();this.s0(z);this.t0(this.eb.get("selected"))});l.prototype.clear=function(){this.H.unbind(f.oc,this.uh,this);this.H.unbind(f.$e,this.cy,this);this.H.unbind(f.mb,this.Mo,this);this.H.unbind(f.Eb,this.dy,this);this.H=q;this.vD&&this.vD.clear();this.vD=q;this.xD&&this.xD.clear();this.xD=q;this.yD&&this.yD.clear();this.yD=q;this.UC&&this.UC.clear();this.UC=q;this.VC&&this.VC.clear();
this.VC=q;this.WC&&this.WC.clear();this.WC=q;this.bm=[];this.zm=z;this.AP();this.vw=[];this.pe={};this.Z0();this.ka=this.g=q;this.eb.unbind(f.Ca("selected"),this.FZ,this);this.ek=this.bk=this.F=this.eb=q};l.prototype.match=function(a){return this.eb==a};l.prototype.Xb=function(a){this.Lt(z);if(this.J){this.J.Ya(a);this.hD=this.J.Xa("itemAlpha");this.KE=this.J.Xa("rollOverItemAlpha");this.SE=this.J.Xa("selectedItemAlpha");this.F&&this.g.jg(this.F,this.hD);this.bk&&this.g.jg(this.bk,this.KE);this.ek&&
this.g.jg(this.ek,this.SE);this.J.wd()?this.J=q:this.ea()}};l.prototype.Mo=function(a){this.ec=a.x-this.H.Qg();this.fc=a.y-this.H.Al();this.Lt(o);this.vw=this.bm.slice()};l.prototype.uh=function(a){this.ec=a.x-this.H.Qg();this.fc=a.y-this.H.Al();this.Lt(o)};l.prototype.dy=function(a){this.ec=a.x-this.H.Qg();this.fc=a.y-this.H.Al();this.Lt(o);a=b.intersection(this.vw,this.bm);this.vw=[];this.sP(a,"click")};l.prototype.cy=function(){this.fc=this.ec=m;this.Lt(o);this.vw=this.bm.slice()};l.prototype.FZ=
function(){this.t0(this.eb.get("selected"))};l.prototype.pca=function(){this.Lt(o);this.Jd();this.ea()};l.prototype.Lt=function(a){this.XX=o;a?this.Lu():this.Aba()||this.Vfa()};l.prototype.Vfa=function(){this.Z0();var a=this;this.Mu=setTimeout(function(){a.Mu=q;a.Lu()},200)};l.prototype.Aba=function(){return this.Mu?o:z};l.prototype.Z0=function(){if(this.Mu){clearTimeout(this.Mu);this.Mu=q}};l.prototype.Lu=function(){if(this.XX){this.XX=z;var a=this.bm,c=this.w$();this.bm=c;if(!this.H.qi){this.sP(b.difference(c,
a),"rollOver");this.s0(c.length>0);this.sP(b.difference(a,c),"rollOut");this.GF()}}};l.prototype.GF=function(){for(var a="",b=0;b<this.bm.length&&!a;b++){var c=this.bm[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.oa!=a){this.oa&&this.g.Eka(this.oa);(this.oa=a)&&this.g.Lka(this.oa)}};l.prototype.AP=function(){var a=this.zm&&(this.Li||b(this.bm).any(function(a){return a.get("useHandCursor")==o}));if(this.JL!=a)(this.JL=a)?this.g.LG(i.Od):this.g.Dv(i.Od)};l.prototype.w$=function(){if(this.eb.get("enabled")===
z)return[];var a=[],b=this.Am?this.yD:this.zm?this.xD:this.vD;if(b)if(b=b.W2(this.ec,this.fc)){this.pe.any&&(a=a.concat(this.pe.any));b=="transparent"&&this.pe.transparent&&(a=a.concat(this.pe.transparent));if(b!="transparent"){a=this.pe[b]?a.concat(this.pe[b]):a.concat(this.pe[h.fla(b,this.tY,5)]||[]);this.pe.image&&(a=a.concat(this.pe.image))}}if(b=this.Am?this.WC:this.zm?this.VC:this.UC)if(b=b.W2(this.ec,this.fc)){this.pe.any&&(a=a.concat(this.pe.any));b=="transparent"&&this.pe.transparent&&(a=
a.concat(this.pe.transparent));b!="transparent"&&this.pe.image&&(a=a.concat(this.pe.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.sP=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new e(b))};l.prototype.s0=function(a){if(this.zm!=a){this.zm=a;this.trigger(new e(l.EH));this.Jd();this.AP();this.ea()}};l.prototype.t0=function(a){if(this.Am!=a){this.Am=a;this.Jd();this.ea()}};l.prototype.Jd=function(){(this.zm||this.eb.get("rollOverDisplay")!=
o)&&this.eb.get("enabled")!==z?this.Am?this.Vy("selected"):this.zm?this.Vy("roll over"):this.Vy("visible"):this.Vy("none")};l.prototype.Vy=function(a){if(this.Eu!=a){this.Eu=a;var c,d;if(b(["selected"]).contains(this.Eu)&&this.ek){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.Eu)&&this.bk){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.Eu)){a=1;d=c=0}else a=d=c=0;var e=this.hD,f=this.KE,i=this.SE,h=this.Eu=="none"?"quad_out":"quad_in",l=Math.max(200*Math.abs(a-
e),200*Math.abs(c-f),200*Math.abs(d-i));this.J=new n(h,[new g("itemAlpha",e,a),new g("rollOverItemAlpha",f,c),new g("selectedItemAlpha",i,d)],l)}};l.prototype.ea=function(){this.trigger(new e(l.ra))};l.ra="request frame";l.EH="is over update";return l});define("hV",["gW","gf"],function(a,b){var c=a.extend(b,function(a,c,d,h,k,i,n){b.call(this,b.VT,a,c);this.gba=d;this.hba=h;this.gda=k;this.hda=i;this.Ib=n;this.Dz=[]});c.prototype.vs=P("Ib");return c});
define("dw","gW,iX,bF,dQ,bL,hV".split(","),function(a,b,c,f,e,d){var h=a.extend(f,function(a,c,d){f.call(this);this.g=a;this.H=this.g.getParent();this.H.bind(b.mb,this.Mo,this,o);this.H.bind(b.oc,this.uh,this,o);this.H.bind(b.$e,this.cy,this,o);this.ka=c;this.dc=this.ka.get("width");this.cc=this.ka.get("height");this.Lda=Math.sqrt(this.dc*this.dc+this.cc*this.cc)*this.ka.get("fieldOfViewOverlayRadiusScale",1);this.Nb=this.ka.Kc();this.fb=d;this.du=this.fb.get("x",0);this.eu=this.fb.get("y",0);this.eE=
this.fb.get("angle",0);this.F=this.m9();this.Nk=z;this.fa=0;this.na=Math.PI*0.5;this.Gb=z;this.fc=this.ec=m;this.g.RF(this.ka.Kc(),this.F)});h.prototype.T4=function(a,b){this.fa=a+this.eE-90;this.na=b;this.ea()};h.prototype.clear=function(){this.H.unbind(b.mb,this.Mo,this);this.H.unbind(b.oc,this.uh,this);this.H.unbind(b.$e,this.cy,this);this.H=q;this.g.Rka(this.ka.Kc(),this.F);this.F=this.fb=this.Nb=this.ka=this.g=q};h.prototype.Xb=function(){this.g.Lla(this.F,this.fa,this.na)};h.prototype.m9=function(){return new d(this.du,
this.eu,this.ka.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.ka.get("fieldOfViewOverlayInsideOpacity",0),this.ka.get("fieldOfViewOverlayOutsideColor","#000000"),this.ka.get("fieldOfViewOverlayOutsideOpacity",0),this.ka.get("fieldOfViewOverlayRadiusScale",1))};h.prototype.ea=function(){this.trigger(new c(h.ra))};h.prototype.BP=function(){var a=z;if(this.ec!=m&&this.fc!=m){var b=this.g.ua()*0.5,d=this.g.Wa()*0.5,f=this.g.kG(this.Nb)*Math.PI/180,l=this.g.iA(this.Nb),r=this.g.hA(this.Nb),p=this.g.jA(this.Nb),
s=this.g.kA(this.Nb),a=new e(this.ec,this.fc);a.translate(-b,-d);a.rotate(-f);a.scale(1/l,1/r);a.translate(p,s);a.scale(this.dc,this.cc);a.translate(-this.du,-this.eu);a.rotate(-this.fa*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.Lda&&Math.abs(b)<this.na*0.5}if(this.Nk!=a){this.Nk=a;this.trigger(new c(h.fI,{inFOV:this.Nk}))}};h.prototype.Qja=P("Nk");h.prototype.Mo=function(a){this.ec=a.x;this.fc=a.y;this.Gb=o;this.BP()};h.prototype.uh=
function(a){if(!this.Gb){this.ec=a.x;this.fc=a.y;this.BP()}};h.prototype.cy=function(){this.fc=this.ec=m;this.Gb=z;this.BP()};h.ra="request frame";h.fI="mouse in fov change";return h});
define("iQ","cE,gW,bF,dQ,fe,gL,dw,L".split(","),function(a,b,c,f,e,d,h,k){var i=b.extend(f,function(a){f.call(this);this.g=a;this.Kx=[];this.Gj=[];this.mh=[];this.Ai=this.fb=q});i.prototype.clear=function(){for(var a=0;a<this.Gj.length;a++)this.Gj[a].clear();for(a=0;a<this.mh.length;a++)this.mh[a].clear();this.g=this.Kx=this.fb=this.mh=this.Gj=q};i.prototype.Zz=function(a){a.tA()&&this.d7(a.ka)};i.prototype.aR=function(a){a.tA()&&this.aea(a.ka)};i.prototype.Hn=function(a){if(this.fb!=a){this.fb&&
this.O_(this.fb.get("map"));this.fb=a;this.Ai=q;if(this.fb){a=this.fb.get("map");this.hM(a)&&this.LU(a)}}};i.prototype.$i=function(a,b,c,d){this.Ai={yaw:b,pitch:c,hfov:d};for(c=0;c<this.mh.length;c++){var e=this.mh[c];if(e.fb==a){e.T4(b,d);break}}};i.prototype.d7=function(a){if(!this.hM(a)){this.Kx.push(a);this.Z6(a);this.LU(a)}};i.prototype.aea=function(b){if(this.hM(b)){this.Kx=a(this.Kx).without(b);this.Xda(b);this.O_(b)}};i.prototype.hM=function(b){return a(this.Kx).indexOf(b)>=0};i.prototype.Xb=
function(a){for(var b=0;b<this.Gj.length;b++)this.Gj[b].Xb(a);for(b=0;b<this.mh.length;b++)this.mh[b].Xb(a)};i.prototype.Z6=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var f=b[c];if(f instanceof e){f=new d(this.g,a,f);f.bind(d.ra,this.ea,this,o);f.bind(d.EH,this.eD,this,o);this.Gj.push(f)}}this.eD()};i.prototype.LU=function(a){if(this.fb&&this.fb.get("map")==a&&this.fb.get("visible")!==z){a=new h(this.g,a,this.fb);a.bind(h.ra,this.ea,this,o);a.bind(h.fI,this.PD,this,o);this.mh.push(a);
this.Ai&&a.T4(this.Ai.yaw,this.Ai.hfov)}this.PD()};i.prototype.Xda=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],e=0;e<this.Gj.length;e++){var f=this.Gj[e];if(f.match(c)){f.unbind(d.ra,this.ea,this);f.unbind(d.EH,this.eD,this);f.clear();this.Gj.splice(e,1);break}}this.eD()};i.prototype.O_=function(a){for(var b=0;b<this.mh.length;b++){var c=this.mh[b];if(c.ka==a){c.unbind(h.ra,this.ea,this);c.unbind(h.fI,this.PD,this);c.clear();this.mh.splice(b,1);break}}this.PD()};i.prototype.eD=
function(){for(var a=z,b=0;b<this.Gj.length&&!a;b++)a=this.Gj[b].zm;this.g.getParent().set("cursor",a?k.Od:k.hc)};i.prototype.ea=function(){this.trigger(new c(i.ra))};i.prototype.PD=function(){for(var a=z,b=0;b<this.mh.length;b++)this.mh[b].Qja()&&(a=o);this.trigger(new c(i.DH,{inFOV:a}))};i.ra="request frame";i.DH="in fov change";return i});
define("u","gW,iX,bF,dQ,gi,bL".split(","),function(a,b,c,f,e,d){var h=a.extend(f,function(a){f.call(this);this.g=a;this.H=this.g.getParent();this.H.bind(b.oc,this.uh,this,o);this.H.bind(b.mb,this.Mo,this,o);this.H.bind(b.Eb,this.dy,this,o);this.ka=q;this.Nb=this.cc=this.dc=m;this.fb=q;this.eE=this.eu=this.du=m;this.Nk=z;this.fc=this.ec=this.rh=m;this.Gb=z;this.fa=0});h.prototype.clear=function(){this.H.unbind(b.oc,this.uh,this);this.H.unbind(b.mb,this.Mo,this);this.H.unbind(b.Eb,this.dy,this);this.g=
this.fb=this.Nb=this.ka=this.H=q};h.prototype.IA=function(a){this.Nk=a;this.yP()};h.prototype.Zz=function(a){a.tA()&&this.w0(a.ka)};h.prototype.aR=function(a){a.tA()&&this.ka==a.ka&&this.w0(q)};h.prototype.w0=function(a){if(this.ka!=a)if(this.ka=a){this.dc=this.ka.get("width");this.cc=this.ka.get("height");this.Nb=this.ka.Kc()}else{this.cc=this.dc=m;this.Nb=q}};h.prototype.Hn=function(a){if(this.fb!=a)if(this.fb=a){this.du=this.fb.get("x",0);this.eu=this.fb.get("y",0);this.eE=this.fb.get("angle",
0)}else this.eE=this.eu=this.du=m};h.prototype.$i=function(a,b){if(this.fb==a)this.fa=b};h.prototype.pk=L("rh");h.prototype.Mo=function(a){this.ec=a.x;this.fc=a.y;this.Gb=o;this.yP()};h.prototype.uh=function(a){this.ec=a.x;this.fc=a.y;if(this.PK){a=this.oX();this.trigger(new c(h.Pf,{yawDelta:a-this.ib}));this.ib=a}};h.prototype.dy=function(a){this.ec=a.x;this.fc=a.y;this.Gb=z;this.yP()};h.prototype.yP=function(){var a=this.Gb&&this.fb&&this.ka&&(this.rh==e.uI||this.Nk);if(this.PK!=a)if(this.PK=a)this.ib=
this.oX()};h.prototype.oX=function(){var a=this.g.ua()*0.5,b=this.g.Wa()*0.5,c=new d(this.ec,this.fc);c.translate(-a,-b);if(this.rh==e.uI)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.kG(this.Nb)*Math.PI/180,b=this.g.iA(this.Nb),f=this.g.hA(this.Nb),h=this.g.jA(this.Nb),r=this.g.kA(this.Nb);c.rotate(-a);c.scale(1/b,1/f);c.translate(h,r);c.scale(this.dc,this.cc);c.translate(-this.du,-this.eu);return Math.atan2(c.y,c.x)*180/Math.PI};h.Pf="request yaw change";return h});
define("dd",["gW","bF","dQ","P"],function(a,b,c,f){var e=a.extend(c,function(a){c.call(this);this.ba=o;this.Aj=z;this.g=a});e.prototype.clear=function(){this.ba=z;this.g=q};e.prototype.za=function(){this.Aj||(this.Aj=o,f.za(this.Pe,this))};e.prototype.Pe=function(a){this.ba&&(this.Aj=z,this.trigger(new b(e.kj,{frameTime:a})),this.trigger(new b(e.lj,{frameTime:a})),this.g.render())};e.kj="frameStart";e.lj="positionSet";return e});
define("cf","require,gW,iX,bF,dQ,iD,fZ,fu,iQ,u,dd".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("dQ"),d=a("iD"),h=a("fZ"),k=a("fu"),i=a("iQ"),n=a("u"),g=a("dd"),l=b.extend(e,function(a,b){e.call(this);this.H=a;this.g=b;this.jE=q;this.kc=new g(this.g);this.Vd=new k(this.g);this.X=new h(this.H,this.g);this.ga=new d(this.g);this.Wj=new i(this.g);this.Vk=new n(this.g);this.H.bind(c.tf,this.UZ,this,o);this.kc.bind(g.kj,this.Po,this,o);this.kc.bind(g.lj,this.Qo,this,o);this.Vd.bind(k.fB,
this.$x,this);this.Vd.bind(k.KH,this.jZ,this);this.Vd.bind(k.dB,this.kZ,this);this.X.bind(h.ra,this.Qb,this,o);this.X.bind(h.IH,this.hZ,this,o);this.X.bind(h.eB,this.lZ,this,o);this.X.bind(h.JH,this.iZ,this,o);this.X.bind(h.Xp,this.Ko,this,o);this.X.bind(h.Yp,this.Lo,this,o);this.ga.bind(d.ra,this.Qb,this,o);this.ga.bind(d.Nf,this.Oj,this);this.Wj.bind(i.ra,this.Qb,this,o);this.Wj.bind(i.DH,this.dZ,this,o);this.Vk.bind(n.Pf,this.ly,this,o);this.zW=z});l.prototype.pk=function(a){this.ga.pk(a);this.X.pk(a);
this.Vk.pk(a)};l.prototype.clear=function(){this.zW=o;this.Vd.clear();this.kc.clear();this.ga.clear();this.X.clear();this.Wj.clear();this.Vk.clear();this.H.unbind(c.tf,this.UZ,this);this.Vd.unbind(k.fB,this.$x,this);this.Vd.unbind(k.KH,this.jZ,this);this.Vd.unbind(k.dB,this.kZ,this);this.kc.unbind(g.kj,this.Po,this);this.kc.unbind(g.lj,this.Qo,this);this.X.unbind(h.ra,this.Qb,this);this.X.unbind(h.IH,this.hZ,this);this.X.unbind(h.eB,this.lZ,this);this.X.unbind(h.JH,this.iZ,this);this.X.unbind(h.Xp,
this.Ko,this);this.X.unbind(h.Yp,this.Lo,this);this.ga.unbind(d.G5,this.Qb,this);this.ga.unbind(d.Nf,this.Oj,this);this.Wj.unbind(i.ra,this.Qb,this);this.Wj.unbind(i.DH,this.dZ,this);this.Vk.unbind(n.Pf,this.ly,this);this.H=this.g=this.Vk=this.Wj=this.X=this.ga=this.kc=this.Vd=q};l.prototype.UZ=function(){if(this.jE){this.N4(this.jE);this.jE=q}};l.prototype.N4=function(a){this.H.dr?this.Vd.nka(a):this.jE=a};l.prototype.Ds=function(){this.Vd.stop();this.ga.stop();this.X.hide()};l.prototype.kg=function(a){this.ga.kg(a)};
l.prototype.Hn=function(a){if(!this.zW){this.ga.Hn(a);this.Wj.Hn(a);this.Vk.Hn(a)}};l.prototype.$i=function(a,b,c,d){this.ga.$i(a,b,c,d);this.Wj.$i(a,b,c,d);this.Vk.$i(a,b,c,d)};l.prototype.kZ=function(a){var b=a.data.level,a=(a.data.percent+100*b.R2())/b.M2();this.trigger(new f(l.vk,{percent:a}))};l.prototype.jZ=function(a){a=a.data.level;this.ga.stop();this.X.Zz(a)};l.prototype.$x=function(){this.trigger(new f(l.Wp))};l.prototype.Qb=function(){this.kc.za()};l.prototype.Po=function(a){this.ga.Dn(a.data.frameTime)};
l.prototype.Qo=function(a){a=a.data.frameTime;this.X.Xb(a);this.ga.Xb(a);this.Wj.Xb(a)};l.prototype.hZ=function(a){a=a.data.level;this.Wj.Zz(a);this.Vk.Zz(a)};l.prototype.lZ=function(a){a=a.data.level;this.Wj.aR(a);this.Vk.aR(a)};l.prototype.iZ=function(a){a=a.data.level;a.tA()&&this.ga.start(a)};l.prototype.dZ=function(a){a=a.data.inFOV;this.ga.IA(a);this.Vk.IA(a)};l.prototype.Lo=function(a){this.trigger(new f(l.Yp,{map:a.data.map}))};l.prototype.Ko=function(a){this.trigger(new f(l.Xp,{map:a.data.map}))};
l.prototype.Oj=function(a){this.trigger(new f(l.Nf,a.data))};l.prototype.ly=function(a){this.trigger(new f(l.Pf,{yawDelta:a.data.yawDelta}))};l.Nf="movementChange";l.Wp="loadingEnd";l.vk="loadingProgress";l.Yp="mapShow";l.Xp="mapHide";l.Pf="requestYawChange";return l});
define("eC",["require","jquery.mod"],function(a){function b(a,b){this.F=a;this.T=b;this.Ex=0;this.fl=this.dl=0.5;this.td=0;this.xb=1;this.gn=this.Em=this.aa=this.M=0;this.Ib=1;this.aM=this.dM=o;this.D=c("<canvas/>");this.t=this.D.get(0);this.Da=this.t.getContext("2d")}var c=a("jquery.mod");b.prototype.getItem=P("F");b.prototype.dv=function(a){return this.F==a?this:q};b.prototype.Oi=function(){this.T&&this.T.qQ(this)};b.prototype.Tc=function(a){this.cfa(a)};b.prototype.u0=function(a){this.Ex!=a&&(this.Ex=
a,this.T&&this.T.AG())};b.prototype.cfa=function(a){this.xb!=a&&(this.xb=a,this.zG())};b.prototype.YE=function(a){this.td!=a&&(this.td=a,this.zG())};b.prototype.Uy=function(a,b){if(this.M!=a||this.aa!=b)this.M=a,this.aa=b,this.wG()};b.prototype.Gh=function(a,b){if(this.Em!=a||this.gn!=b)this.Em=a,this.gn=b,this.zG()};b.prototype.zG=function(){this.T&&this.T.xG()};b.prototype.Tb=function(){this.dM=o};b.prototype.ca=function(){this.dM&&(this.dM=z,this.ye())};b.prototype.ye=C();b.prototype.wG=function(){this.aM=
o;this.zG()};b.prototype.dH=function(){if(this.aM){this.aM=z;if(this.t.width!=this.M||this.t.height!=this.aa)this.t.width=Math.round(this.M),this.t.height=Math.round(this.aa);this.Da.clearRect(0,0,this.t.width,this.t.height);this.pf()}};b.prototype.pf=C();b.prototype.Dia=function(a){if(0<this.xb&&1<=this.M&&1<=this.aa){a.save();var b=Math.round(this.Em),c=Math.round(this.gn),h=Math.round(this.M*this.dl),k=Math.round(this.aa*this.fl);a.scale(this.Ib,this.Ib);a.translate(b+h,c+k);a.rotate(this.td*Math.PI/
180);a.globalAlpha=this.xb;a.drawImage(this.t,-h,-k);a.restore()}};return b});
define("hN",["require","cE","gW","eC"],function(a){var b=a("cE"),c=a("gW"),f=a("eC"),a=c.extend(f,function(a,b){f.call(this,a,b);this.sb=[];this.QF=q;this.gg=o});a.prototype.n2=function(a){(a=this.ZJ(a))||j("Container renderer can't create child renderer for an item");this.sb.push(a);this.AG();this.xG()};a.prototype.ZJ=C();a.prototype.t4=function(a){if(a=this.xl(a))this.sb=b.without(this.sb,a),this.AG(),this.xG()};a.prototype.dv=function(a){if(this.zJ==a)return this.yJ;for(var b=f.prototype.dv.call(this,
a),c=0;c<this.sb.length&&!b;c++)b=this.sb[c].dv(a);this.zJ=a;return this.yJ=b};a.prototype.xl=function(a){if(this.f8==a)return this.e8;for(var b=q,c=0;c<this.sb.length&&!b;c++)this.sb[c].getItem()==a&&(b=this.sb[c]);this.zJ=a;return this.yJ=b};a.prototype.qQ=function(a){this.sb=b.without(this.sb,a);this.sb.push(a);this.AG();this.xG()};a.prototype.AG=function(){this.gg=o;this.Tb()};a.prototype.xG=function(){this.wG()};a.prototype.ca=function(){f.prototype.ca.call(this);for(var a=0;a<this.sb.length;a++)this.sb[a].ca()};
a.prototype.ye=function(){if(this.gg){this.gg=z;for(var a=[],b=0;b<this.sb.length;b++){var c=this.sb[b];a.push({l:c.Ex,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.QF=[];for(b=0;b<a.length;b++)this.QF.push(a[b].r);this.wG()}f.prototype.ye.call(this)};a.prototype.dH=function(){for(var a=0;a<this.sb.length;a++)this.sb[a].dH();f.prototype.dH.call(this)};a.prototype.pf=function(){for(var a=0;a<this.QF.length;a++)this.QF[a].Dia(this.Da);f.prototype.pf.call(this)};return a});
define("A",["require","gW","eC"],function(a){var b=a("gW"),c=a("eC"),a=b.extend(c,function(a,b){c.call(this,a,b)});a.prototype.RG=C();return a});
define("fp",["require","gW","A"],function(a){var b=a("gW"),c=a("A"),a=b.extend(c,function(a,b){c.call(this,a,b);this.iE=this.T.getItem().Ac();this.hE=this.T.getItem().kd();this.Ib=2;this.st=0;this.na=0.5*Math.PI;this.bM=this.cM=o;this.Cg=1;this.dD=o;this.u0(1)});a.prototype.RG=function(a,b){this.Cg!=b&&(this.Cg=b,this.dD=o,this.Tb())};a.prototype.Ala=function(a,b){this.na!=b&&(this.na=b,this.cM=o,this.Tb());this.st!=a&&(this.st=a,this.bM=o,this.Tb())};a.prototype.ye=function(){this.cM&&(this.cM=z,
this.wG());if(this.dD||this.bM){this.bM=this.dD=z;this.Ib=Math.max(1,Math.ceil(Math.sqrt(this.iE*this.iE+this.hE*this.hE))/4096);var a=this.Cg/this.Ib,b=this.F.Rg()*a,d=this.F.Sg()*a,h=a*this.hE,a=Math.max(b,a*this.iE-b),h=Math.max(d,h-d),h=2*Math.ceil(Math.sqrt(a*a+h*h)),k=this.st*Math.PI/180,a=Math.cos(k),k=Math.sin(k),b=b-this.dl*h-(0.5-this.dl)*h*a+(0.5-this.fl)*h*k,d=d-this.fl*h-(0.5-this.fl)*h*a-(0.5-this.dl)*h*k;this.dD=z;this.Gh(b,d);this.Uy(h,h);this.YE(this.st)}c.prototype.ye.call(this)};
a.prototype.pf=function(){var a=this.F.hba,b=this.F.hda;if(0<b||0<a){var d=this.Cg*this.iE,h=this.Cg*this.hE,d=Math.ceil(Math.sqrt(d*d+h*h))*this.F.vs()/this.Ib,h=Math.round(0.5*this.M),k=Math.round(0.5*this.aa),i=this.na*Math.PI/180,n=0.5*-i,i=n+i;0<b&&(this.Da.fillStyle=this.F.gda,this.Da.globalAlpha=b,this.Da.rect(0,0,this.M,this.aa),this.Da.fill(),this.Da.globalCompositeOperation="destination-out",this.Da.fillStyle="#FFFFFF",this.Da.globalAlpha=1,this.Da.beginPath(),this.Da.moveTo(h,k),this.Da.arc(h,
k,d,n,i,z),this.Da.lineTo(h,k),this.Da.closePath(),this.Da.fill(),this.Da.globalCompositeOperation="source-over");0<a&&(this.Da.fillStyle=this.F.gba,this.Da.globalAlpha=a,this.Da.beginPath(),this.Da.moveTo(h,k),this.Da.arc(h,k,d,n,i,z),this.Da.lineTo(h,k),this.Da.closePath(),this.Da.fill())}c.prototype.pf.call(this)};return a});
define("h",["require","gW","A","gS","hJ"],function(a){var b=a("gW"),c=a("A"),f=a("gS"),e=a("hJ"),a=b.extend(c,function(a,b){c.call(this,a,b);this.u0(this.F.e0?0:2);this.bb=f.vd(this.F.Ee());this.PE=new e(this.bb,this.bb.width,this.bb.height);this.PE.Mp(this.F.yc);this.PE.Mv(this.F.Mg);this.PE.Lv(this.F.yg);this.Ix=0;this.Cg=1;this.HM=o});a.prototype.RG=function(a,b){if(this.Ix!=a||this.Cg!=b)this.Ix=a,this.Cg=b,this.HM=o,this.Tb()};a.prototype.ye=function(){if(this.HM){this.HM=z;var a=this.F.Rg(),
b=this.F.Sg(),e=this.F.Ac(),f=this.F.kd(),n=this.F.Ho,g=this.F.Io;if(this.F.e0)this.YE(0),this.Gh((a-n)*this.Cg,(b-g)*this.Cg),this.Uy(e*this.Cg,f*this.Cg);else{var l=Math.cos(-this.Ix*Math.PI/180),r=Math.sin(-this.Ix*Math.PI/180),a=a*this.Cg-this.dl*e-(n-this.dl*e)*l+(g-this.fl*f)*r,b=b*this.Cg-this.fl*f-(g-this.fl*f)*l-(n-this.dl*e)*r;this.YE(-this.Ix);this.Gh(a,b);this.Uy(e,f)}}c.prototype.ye.call(this)};a.prototype.pf=function(){this.PE.cv(this.Da,this.t.width,this.t.height);c.prototype.pf.call(this)};
return a});
define("fc","require,gW,hu,gS,ce,gf,fp,h,hN".split(","),function(a){var b=a("gW"),c=a("hu"),f=a("gS"),e=a("ce"),d=a("gf"),h=a("fp"),k=a("h"),i=a("hN"),a=b.extend(i,function(a,b){i.call(this,a,b,a.Vj);this.wa=this.F.Ac();this.Ha=this.F.kd();this.yc=this.F.yc;this.DC=this.F.dL;this.Oa=this.Ja=100;this.Kq=o;this.$=this.Z=0.5;this.ib=0;this.ia=1;this.zy=o;this.Fc=1;this.bb=f.vd(this.F.Ee())});a.prototype.ZJ=function(a){a.Kf()!=e.YT&&j("Invalid item type");switch(a.jda){case d.VT:a=new h(a,this);break;
case d.WT:a=new k(a,this);break;default:a=q}a&&a.RG(this.ib,this.Fc*this.ia);return a};a.prototype.Rg=P("Z");a.prototype.Sg=P("$");a.prototype.ev=P("ib");a.prototype.lk=P("ia");a.prototype.ua=function(){return Math.round(this.wa*this.ia*this.Fc)};a.prototype.Wa=function(){return Math.round(this.Ha*this.ia*this.Fc)};a.prototype.Ll=function(a,b){if(this.Ja!=a||this.Oa!=b){this.Ja=a;this.Oa=b;this.Kq=o;this.Tb()}};a.prototype.Qa=function(a,b,c,d){if(this.Z!=a||this.$!=b||this.ib!=c||this.ia!=d){this.Z=
a;this.$=b;this.ib=c;this.ia=d;this.zy=o;this.Tb()}};a.prototype.ye=function(){if(this.Kq){this.Kq=z;switch(this.yc){case c.NONE:this.Fc=1;break;case c.wk:this.Fc=this.Ja/this.wa;break;case c.ng:this.Fc=this.Oa/this.Ha;break;case c.Ql:this.Fc=this.wa*this.Oa>this.Ha*this.Ja?this.Oa/this.Ha:this.Ja/this.wa;break;default:this.Fc=this.wa*this.Oa>this.Ha*this.Ja?this.Ja/this.wa:this.Oa/this.Ha}this.zy=o}if(this.zy){this.zy=z;var a=this.ua(),b=this.Wa(),d=Math.cos(this.ib*Math.PI/180),e=Math.sin(this.ib*
Math.PI/180);this.Gh(this.Ja*0.5-this.dl*a+(this.dl-this.Z)*d*a-(this.fl-this.$)*e*b,this.Oa*0.5-this.fl*b+(this.fl-this.$)*d*b+(this.dl-this.Z)*e*a);this.YE(this.ib);this.Uy(a,b);for(a=0;a<this.sb.length;a++)this.sb[a].RG(this.ib,this.Fc*this.ia)}i.prototype.ye.call(this)};a.prototype.pf=function(){var a=Math.round(this.M),b=Math.round(this.aa);if(this.DC){this.Da.save();this.Da.translate(a,0);this.Da.scale(-1,1);this.Da.drawImage(this.bb,0,0,a,b);this.Da.restore()}else this.Da.drawImage(this.bb,
0,0,a,b);i.prototype.pf.call(this)};return a});
define("el","require,cE,gW,ce,hN,fc".split(","),function(a){a("cE");var b=a("gW"),c=a("ce"),f=a("hN"),e=a("fc"),a=b.extend(f,function(){f.call(this,q,q);this.EJ=o});a.prototype.pb=P("D");a.prototype.render=function(){this.ca();this.dH()};a.prototype.ZJ=function(a){a.Kf()!=c.XT&&j("Invalid item type");a=new e(a,this);a.Ll(this.M,this.aa);a.Qa(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Uy(a,b);this.EJ=o;this.Tb()};a.prototype.ye=function(){if(this.EJ){this.EJ=z;for(var a=0;a<this.sb.length;a++)this.sb[a].Ll(this.M,
this.aa)}f.prototype.ye.call(this)};return a});
define("gx","require,cE,gW,iX,eQ,gS,el,Y,L,d".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("eQ"),d=a("gS"),h=a("el"),k=a("Y"),i=a("L"),n=a("d"),a=c.extend(n,function(){n.call(this);this.Ic("Renderer");this.set("toolTipDisabled",o);this.set("cursor",i.bw);this.fo=[];this.Tr=[];this.oa="";this.jf=new h;this.Ka().append(this.jf.pb());this.bind(f.hb,this.cb,this,o);this.bind(f.tf,this.Qj,this,o);this.bind(f.og,this.Nj,this,o);k.bind(f.W,this.JP,this,o);this.bl=this.hO=z});a.prototype.zn=
function(a){d.zn(a,e.Ak)};a.prototype.pS=function(a){return d.pS(a)};a.prototype.Xh=function(a){d.Xh(a,e.Ak)};a.prototype.Rz=function(a){this.jf.n2(a)};a.prototype.removeItem=function(a){this.jf.t4(a)};a.prototype.RF=function(a,b){this.jf.xl(a).n2(b)};a.prototype.Rka=function(a,b){var c=this.jf.xl(a);c&&c.t4(b)};a.prototype.Sz=function(a){this.jf.dv(a).Oi()};a.prototype.jg=function(a,b){this.jf.dv(a).Tc(b)};a.prototype.JA=function(a,b,c,d,e){this.jf.xl(a).Qa(b,c,d,e)};a.prototype.Lla=function(a,b,
c){this.jf.dv(a).Ala(b,c)};a.prototype.jA=function(a){return this.jf.xl(a).Rg()};a.prototype.kA=function(a){return this.jf.xl(a).Sg()};a.prototype.kG=function(a){return this.jf.xl(a).ev()};a.prototype.V2=function(a){return this.jf.xl(a).lk()};a.prototype.iA=function(a){return this.jf.xl(a).ua()};a.prototype.hA=function(a){return this.jf.xl(a).Wa()};a.prototype.render=function(){this.bl&&this.jf.render()};a.prototype.LG=function(a){this.fo.push(a);this.E1()};a.prototype.Dv=function(a){a=b(this.fo).lastIndexOf(a);
a>=0&&this.fo.splice(a,1);this.E1()};a.prototype.E1=function(){var a;a=this.fo.length>0?this.fo[this.fo.length-1]:i.hc;this.getParent().set("cursor",a)};a.prototype.hC=function(){if(this.fo.length>0){this.getParent().set("cursor",i.hc);this.fo=[]}};a.prototype.Lka=function(a){this.Tr.push(a);this.GF()};a.prototype.Eka=function(a){a=b(this.Tr).lastIndexOf(a);a>=0&&this.Tr.splice(a,1);this.GF()};a.prototype.GF=function(){var a=this.Tr.length==0?"":this.Tr[this.Tr.length-1]||"";if(this.oa!=a){this.oa=
a;this.getParent().set("toolTip",this.oa)}};a.prototype.G8=function(){this.oa&&this.getParent().set("toolTip","");this.oa="";this.Tr=[]};a.prototype.Eh=function(){this.G8();this.hC();n.prototype.Eh.call(this)};a.prototype.cb=function(){this.jf.setSize(this.ua(),this.Wa());this.render()};a.prototype.Qj=function(){this.hO=o;this.JP()};a.prototype.Nj=function(){this.hO=z;this.JP()};a.prototype.JP=function(){var a=this.hO&&!k.isPresenting();if(this.bl!=a)(this.bl=a)&&this.render()};return a});
define("B","cE,gW,ho,bF,df,hR,bX,fl,cf,fV,gx,iX,cD,ej".split(","),function(a,b,c,f,e,d,h,k,i,n,g,l,r,p){var s=b.extend(h,function(){h.call(this,"map");this.JD=this.GM=this.eg=z;this.Ai=this.fb=this.p=this.g=q;this.Xn={};for(var a in s.Yl)this.Xn[a]=this.Z8(a);this.Pc=b.Cn(this.ye,this)});e.v("MapPlayer",s).A("Object").K({map:"Map",viewerArea:"ViewerArea",movementMode:"enum[constrained, free_drag, free_drag_and_rotation, sync_with_field_of_view]",buttonZoomIn:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonZoomOut:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRotateClockwise:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRotateCounterClockwise:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Yb([l.mB]).Th({stop:function(){this.gb(n.ld)},rotateClockwise:function(){this.gb(n.oI)},rotateCounterClockwise:function(){this.gb(n.pI)},zoomIn:function(){this.gb(n.Wl)},zoomOut:function(){this.gb(n.Xl)}});s.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "map":this.GM=
o;this.Pc();break;case "viewerArea":this.eg=o;this.Pc();break;case "panoramaMapLocation":this.qN=o;this.Pc();break;case "movementMode":this.JD=o;this.Pc()}h.prototype.set.call(this,a,b)}};s.prototype.Z8=function(a){var b=s.Yl[a],a=new d(this,a,r.pc);a.bind(l.mb,function(){this.gb(b.movement)},this);b.stopOnRelease&&a.bind(l.Eb,function(){this.gb(n.ld)},this);return a};s.prototype.Wha=function(a){this.Ai=q;this.set("map",a.get("map"));this.set("panoramaMapLocation",a)};s.prototype.Uka=function(a){this.get("panoramaMapLocation")==
a&&this.set("panoramaMapLocation",q)};s.prototype.$i=function(a,b,c,d){this.p?this.p.$i(a,b,c,d):this.Ai={yaw:b,pitch:c,hfov:d}};s.prototype.ye=function(){if(this.eg){this.eg=z;this.Pq();this.get("viewerArea")&&this.Mq();this.aF(this.get("viewerArea"))}if(this.p){if(this.GM){this.GM=z;var a=this.get("map");if(a){this.FE();this.p.N4(a)}else this.p.Ds();this.qN=this.JD=o}if(this.qN){this.qN=z;a=this.get("panoramaMapLocation");this.p.Hn(a);a&&this.Ai&&this.p.$i(a,this.Ai.yaw,this.Ai.pitch,this.Ai.hfov)}if(this.JD){this.JD=
z;this.p.pk(this.get("movementMode"))}}};s.prototype.ez=function(){this.set("map",q)};s.prototype.Mq=function(){var a=this.get("viewerArea");this.g=new g;this.g.P({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new i(a,this.g);this.p.bind(i.Nf,this.Oj,this);this.p.bind(i.vk,this.Nm,this);this.p.bind(i.Wp,this.Xt,this);this.p.bind(i.Yp,this.Lo,this);this.p.bind(i.Xp,this.Ko,this);this.p.bind(i.Pf,this.ly,this,o)};s.prototype.Pq=function(){if(this.g){this.p.unbind(i.Nf,this.Oj,this);this.p.unbind(i.vk,
this.Nm,this);this.p.unbind(i.Wp,this.Xt,this);this.p.unbind(i.Yp,this.Lo,this);this.p.unbind(i.Xp,this.Ko,this);this.p.unbind(i.Pf,this.ly,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q}};s.prototype.Lo=function(a){this.BD(a.data.map)};s.prototype.Ko=function(a){this.AD(a.data.map)};s.prototype.Oj=function(a){for(var b in s.Yl)this.Xn[b].set("state",a.data[s.Yl[b].pressedOn]?p.sa:p.hc);this.trigger(new f(l.mB,a.data))};s.prototype.ly=function(a){this.trigger(new f(s.Pf,{yawDelta:a.data.yawDelta}))};
s.prototype.Nm=function(a){this.g.getParent().P({progressPercent:a.data.percent,progressVisible:o})};s.prototype.Xt=function(){this.g.getParent().set("progressVisible",z)};s.prototype.gb=function(a){this.p&&this.p.kg(a)};s.Yl={buttonRotateClockwise:{movement:n.oI,pressedOn:"rotatingClockwise",stopOnRelease:o},buttonRotateCounterClockwise:{movement:n.pI,pressedOn:"rotatingCounterClockwise",stopOnRelease:o},buttonZoomIn:{movement:n.Wl,pressedOn:"zoomingIn",stopOnRelease:o},buttonZoomOut:{movement:n.Xl,
pressedOn:"zoomingOut",stopOnRelease:o}};s.Pf="requestYawChange";return s});
define("cC",["gW","ho","iX","bF","df"],function(a,b,c,f,e){a=a.extend(b,function(){b.call(this);this.Cf=z});e.v("PlayListItem",a).A("Object").K({media:"Media",label:"string"}).Yb([c.Us,c.ej,c.ld,c.qa]);a.prototype.start=function(){this.trigger(new f(c.Us))};a.prototype.stop=function(){this.TA()};a.prototype.TA=function(){this.trigger(new f(c.ld))};a.prototype.Xu=function(){this.Cf=o;this.trigger(new f(c.ej))};a.prototype.end=function(){this.Cf=z;this.trigger(new f(c.qa))};return a});
define("jn",["gW","df","bX","cC"],function(a,b,c,f){a=a.extend(f,function(){f.call(this)});b.v("MapPlayListItem",a).A("PlayListItem").K({media:"Map",player:"MapPlayer"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.He,this.Lo,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);f.prototype.stop.call(this)};a.prototype.Lo=function(){this.get("player").unbind(c.He,
this.Lo,this);this.get("player").bind(c.mg,this.Ko,this);this.Xu()};a.prototype.Ko=function(){this.get("player").unbind(c.mg,this.Ko,this);this.end()};return a});
define("iG",["require","gW","ho","iX","df"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),a=a("df"),b=b.extend(c,function(){c.call(this);this.set("distance",2)});a.v("Menu",b).A("MenuItem").K({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).Yb([f.ed,f.Cc]).Zi([f.S]);return b});
define("l",["require","gW","ho","iX","df"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("MenuItem",b).A("Object").K({label:"string",children:"array[MenuItem]"}).Yb([f.ed,f.Cc]).Zi([f.S]);return b});
define("gB",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("MovementPhotoCamera",a).A("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("eP",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("Object",a).K({id:"identifier",data:"*"});return a});define("bI",[],function(){var a={Vp:"drag_acceleration",Ol:"drag_rotation"};a.cT=a.Vp;a.TT=a.Ol;return a});define("jf",["gW","bF"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.JG=this.hH=this.Ep=this.Pp=0})});define("dh",["gW","bF"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.$Q=this.Mja=0})});
define("do","require,gW,cE,iX,bF,dQ,bI,jf,dh".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 f(a,b){return Math.min(Math.max(a/b,-1),1)}var e=a("gW");a("cE");var d=a("iX"),h=a("bF"),k=a("dQ"),i=a("bI"),n=a("jf"),g=a("dh"),l=e.extend(k,function(){k.call(this);this.vY=this.wY=1800;this.ut=7;this.Sba=this.uga=0;this.gD=z;this.dp=m;this.or=i.cT;this.m1=i.TT;this.ut=0;this.NE=m;this.Fz=z;this.gt=q;this.Gt=3;this.na=90;this.OK=this.Sr=
this.Ib=1;this.jc=this.va=q;this.xy=z});l.prototype.YR=function(a){this.wY=a.get("manualRotationSpeed");this.vY=a.get("manualRotationSpeed");this.Gt=a.get("manualZoomSpeed");this.OK=a.get("draggingFactor")};l.prototype.Lp=function(a){this.or=a;this.KP()};l.prototype.Is=function(a){this.m1=a;this.KP()};l.prototype.HA=function(a){this.na=a;this.Sr=this.na/90};l.prototype.CA=function(a){this.wl();if(a){this.va=a;if(this.jc=a.hja&&a.jc){this.jc.bind(d.mb,this.m_,this,o);this.jc.bind(d.Eb,this.n_,this,
o)}this.va.bind(d.mb,this.Gb,this,o);this.va.bind(d.oc,this.qh,this,o);this.va.bind(d.Eb,this.Af,this,o);this.va.bind(d.lq,this.pr,this,o);this.va.$a().get("settings").get(TDV.PlayerSettings.e6)!==z&&this.va.bind(d.Rs,this.Yq,this,o);this.va.bind(d.aI,this.PW,this,o);this.va.bind(d.$H,this.NW,this,o);this.KP()}};l.prototype.wl=function(){if(this.va!=q){if(this.jc){this.jc.unbind(d.mb,this.m_,this);this.jc.unbind(d.Eb,this.n_,this);this.jc=q}this.va.unbind(d.mb,this.Gb,this);this.va.unbind(d.oc,this.qh,
this);this.va.unbind(d.Eb,this.Af,this);this.va.unbind(d.lq,this.pr,this);this.va.unbind(d.Rs,this.Yq,this);this.va.unbind(d.aI,this.PW,this);this.va.unbind(d.$H,this.NW,this);this.va=q;this.AC()}};l.prototype.KP=function(){if(this.va)if(this.va.qi){this.NE=this.m1;this.ut=this.uga}else{this.NE=this.or;this.ut=this.Sba}};l.prototype.m_=function(){this.xy=o};l.prototype.n_=function(){this.xy=z};l.prototype.Gb=function(a){if(!this.xy){this.Rfa(a);this.$O()}};l.prototype.qh=function(a){this.xy||this.DF(a)};
l.prototype.Af=function(){if(!this.xy){this.$K();this.AC()}};l.prototype.pr=function(a){this.PP(a);this.$O(500)};l.prototype.PW=function(){this.$O()};l.prototype.Yq=function(a){this.QP(a)};l.prototype.NW=function(){this.AC()};l.prototype.Rfa=function(a){this.gD=o;this.dp=a;this.DF(a)};l.prototype.DF=function(a){if(this.gD)switch(this.NE){case i.Vp:this.uha(a);break;case i.Ol:this.tha(a)}};l.prototype.uha=function(a){this.Q1(+b(c(f(Math.abs(a.x-this.dp.x)<3?0:a.x-this.dp.x,this.va.ua())),this.wY*this.Sr),
-b(c(f(Math.abs(a.y-this.dp.y)<3?0:a.y-this.dp.y,this.va.Wa())),this.vY*this.Sr))};l.prototype.tha=function(a){this.sha(-b(f(a.x-this.dp.x,this.va.ua()),this.na*this.OK),+b(f(a.y-this.dp.y,this.va.ua()),this.na*this.OK));this.dp=a};l.prototype.$K=function(){if(this.gD){this.gD=z;switch(this.NE){case i.Vp:this.Q1(0,0)}}};l.prototype.Q1=function(a,b){var c=new n(l.$v);c.Pp=a;c.Ep=b;this.trigger(c)};l.prototype.sha=function(a,b){var c=new n(l.$v);c.hH=a;c.JG=b;this.trigger(c)};l.prototype.QP=function(a){if(this.Ib!=
a.scale){this.$K();var b=this.Ib;this.Ib=a.scale;a=new g(l.mj);a.$Q=this.na*b/this.Ib-this.na;this.trigger(a)}};l.prototype.PP=function(a){if(a.pn!=0){this.$K();var b=new g(l.mj);b.$Q=this.na*-a.pn*this.Gt/100;this.trigger(b)}};l.prototype.$O=function(a){var b=this.gt!=q;this.V0();if(a&&(b||!this.Fz)){var c=this;this.gt=setTimeout(function(){c.gt=q;c.AC()},a)}if(!this.Fz){this.Fz=o;this.trigger(new h(l.Nd))}};l.prototype.AC=function(){this.V0();if(this.Fz){this.Fz=z;this.trigger(new h(l.Md))}};l.prototype.V0=
function(){if(this.gt!=q){clearTimeout(this.gt);this.gt=q}};l.$v="rotation change";l.mj="zoom change";l.Nd="user interaction start";l.Md="user interaction end";return l});
define("cl",["require","p"],function(a){function b(){this.Xfa=f.lb()?0.066:0.1;this.Vba=0.5;this.Ifa=f.lb()?0.066:0.1;this.Oha=0.1;this.XO=this.dP=z;this.reset()}function c(a,b,c){a=(b-a)*(1-c);0.01>Math.abs(a)&&(a=0);return b-a}var f=a("p");b.prototype.reset=function(){this.hW=this.lK=this.Rw=this.Nq=this.Sw=this.pK=this.oK=this.tK=this.Ft=this.Gt=this.JE=this.oO=this.Yj=this.rE=this.rl=this.PF=0};b.prototype.V4=function(a,b,c,f,i,n,g,l,r){this.PF=a;this.rE=b;this.oO=c;this.rl+=f;this.Yj+=i;this.JE+=
n;this.XO=g;this.Uba=l;this.dP=r};b.prototype.wma=function(a,b){this.Gt=a;this.Ft+=b};b.prototype.yd=function(){return 0!=this.tK||0!=this.oK||0!=this.pK||0!=this.Sw||0!=this.PF||0!=this.rE||0!=this.oO||0!=this.Gt||0!=this.rl||0!=this.Yj||0!=this.Ft};b.prototype.Ya=function(a){var a=1E3/a,b=this.tK/a,f=this.PF/a+this.rl;this.rl=0;var k=this.oK/a,i=this.rE/a+this.Yj;this.Yj=0;var n=this.pK/a,g=this.oO/a+this.JE;this.JE=0;var l=this.Gt+this.Ft*a;this.Ft=0;var r=0==f&&0==i&&0==g,p=0==b&&0==k&&0==n;this.XO&&
p&&!r||this.dP&&r&&!p||this.Uba&&!r&&!p?(r=r?this.Xfa:p?this.Ifa:this.Vba,this.Nq=c(b,f,r),this.Rw=c(k,i,r),this.lK=c(n,g,r)):(this.Nq=f,this.Rw=i,this.lK=g);b=0==this.Sw;f=0==l;this.Sw=this.XO&&b&&!f||this.dP&&f&&!b?c(this.Sw,l,this.Oha):l;this.tK=this.Nq*a;this.oK=this.Rw*a;this.pK=this.lK*a;this.hW=this.Sw/a};return b});
define("T","jquery.mod,gW,d,do,cl,P,iX".split(","),function(a,b,c,f,e,d,h){b=b.extend(c,function(){c.call(this);this.Ic("Renderer");this.t=a("<canvas></canvas>");this.t.css({position:"absolute",left:0,top:0});this.Ka().append(this.t);this.vo=q;this.fa=this.Kt=this.It=this.Jt=0;this.Cf=z;this.Ada=150;this.lx=0;this.nh=q;this.bind(h.hb,this.cb,this,o);this.Ba=new f;this.Ba.Zoa(720);this.Ba.EA(0);this.Ba.Lp("drag_rotation");this.Ba.HA(360);this.Ba.bind(f.$v,this.Uca,this);this.jb=new e});b.prototype.Gla=
function(a,b,c){this.vo=a;this.Jt=b;this.It=c;this.Kt=Math.floor(this.vo.length*this.fa/360);this.mO();this.Ba.CA(this);this.ea()};b.prototype.lia=function(){this.vo=q;this.hl();this.mO();this.Ba.wl()};b.prototype.play=function(){this.Cf=o;this.ea()};b.prototype.Uca=function(a){this.hl();this.jb.V4(a.Pp,a.Ep,0,a.hH,a.JG,0,z,o);this.ea()};b.prototype.VM=function(){this.play()};b.prototype.Pe=function(a){if(this.vo)if(this.jb.yd()){this.Cf=z;this.jb.Ya(a);this.RU(this.jb.Nq);this.ea()}else if(this.Cf){this.RU(this.Ada*
a/1E3);this.ea()}else this.Mt()||this.az()};b.prototype.b5=function(a){for(this.fa=a;this.fa<0;)this.fa=this.fa+360;for(;this.fa>=360;)this.fa=this.fa-360;this.hha()};b.prototype.hha=function(){if(this.vo){var a=Math.floor(this.vo.length*this.fa/360);if(this.Kt!=a){this.Kt=a;this.L_()}}};b.prototype.RU=function(a){this.b5(this.fa+a)};b.prototype.cb=function(){this.mO()};b.prototype.mO=function(){var a=this.t.get(0);if(this.Jt==0||this.It==0){a.width=0;a.height=0}else{var b=this.jd(),c=this.hd();if(c*
this.Jt>b*this.It){a.width=b;a.height=this.It*b/this.Jt}else{a.height=c;a.width=this.Jt*c/this.It}this.t.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.L_()}};b.prototype.L_=function(){if(this.vo){var a=this.t.get(0),b=this.vo[this.Kt];a.getContext("2d").drawImage(b,0,0,this.Jt,this.It,0,0,a.width,a.height)}};b.prototype.Mt=function(){return this.nh?o:z};b.prototype.az=function(){this.hl();if(this.lx>0){var a=this;this.nh=setTimeout(function(){a.nh=q;a.VM()},
this.lx)}};b.prototype.hl=function(){if(this.nh){clearTimeout(this.nh);this.nh=q}};b.prototype.ea=function(){d.za(this.Pe,this)};return b});
define("hF","require,jquery.mod,cE,gW,iX,eQ,bF,df,dL,t,T,iI,gz".split(","),function(a){a("jquery.mod");var b=a("cE"),c=a("gW"),f=a("iX"),e=a("eQ"),d=a("bF"),h=a("df");a("dL");ProgressBar=a("t");Renderer=a("T");Container=a("iI");ImageLoader=a("gz");a=c.extend(Container,function(){Container.call(this);this.xc=this.oh=this.fe=this.g=q;this.bind(f.tf,this.Qj,this);this.bind(f.og,this.Nj,this)});h.v("Object3D",a).A("UIComponent").K({frames:"array[ImageResource]",yaw:"number"}).Yb([f.O]);a.prototype.Ga=
function(){Container.prototype.Ga.call(this);if(!this.g){this.g=new Renderer;this.g.P({left:0,top:0,right:0,bottom:0});this.pa(this.g)}if(!this.fe){this.fe=new ProgressBar;this.fe.P({left:0,bottom:0,right:0,height:20,visible:z});this.pa(this.fe)}};a.prototype.Qj=function(){this.Fx()};a.prototype.Nj=function(){this.Ii()};a.prototype.Fx=function(){this.fe.set("percent",0);this.fe.set("visible",o);this.g.b5(this.get("yaw"));var a=this.get("frames",[]);this.oh=[];this.xc=[];for(var b=0;b<a.length;b++){this.oh.push(Level.jk(a[b]));
var c=new ImageLoader(e.Ak);c.bind(f.O,this.ay,this);c.bind(f.dd,this.by,this);this.xc.push(c)}for(b=0;b<a.length;b++)this.xc[b].load(this.oh[b].get("url"))};a.prototype.ay=function(){var a=b(this.xc).filter(function(a){return a.yn()});this.fe.set("percent",100*a.length/this.xc.length);a.length==this.xc.length&&this.Qe()};a.prototype.by=C();a.prototype.Qe=function(){this.fe.set("visible",z);var a=this.oh[0].get("width",this.xc[0].Ac()),c=this.oh[0].get("height",this.xc[0].kd());this.g.Gla(b(this.xc).map(function(a){return a.vd()}),
a,c);this.trigger(new d(f.O))};a.prototype.Ii=function(){if(this.xc){this.fe.set("visible",z);this.g.lia();this.xc=b(this.xc).each(function(a){a.unbind(f.O,this.ay,this);a.unbind(f.dd,this.by,this);a.cancel()});this.oh=this.xc=q}};return a});
define("ev","require,gW,ho,df,bJ,ef".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("df"),e=a("bJ"),d=a("ef"),h=b.extend(c,function(){c.call(this);this.set("initialPosition",new d);this.set("draggingFactor",1);this.set("manualRotationSpeed",1800);this.set("manualZoomSpeed",1);this.set("automaticRotationSpeed",10);this.set("automaticZoomSpeed",10)});f.v("RotationalCamera",h).A("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(h,function(){h.call(this);this.set("initialPosition",new e)});f.v("PanoramaCamera",a).A("RotationalCamera");return a});
define("hv",["require","gW","ef","df"],function(a){var b=a("gW"),c=a("ef"),a=a("df"),b=b.extend(c,function(){c.apply(this,arguments)});a.v("RotationalCameraDisplayPosition",b).A("RotationalCameraPosition").K({stereographicFactor:"number"});return b});define("hO",["require","gW","hv","df"],function(a){var b=a("gW"),c=a("hv"),a=a("df"),b=b.extend(c,function(){c.apply(this,arguments)});a.v("PanoramaCameraDisplayPosition",b).A("RotationalCameraDisplayPosition");return b});
define("W",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("PanoramaCameraMovement",b).A("RotationalCameraMovement");return b});
define("gO","require,gW,ho,bF,df,iX".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("bF"),e=a("df"),d=a("iX"),a=b.extend(c,function(){c.call(this)});a.prototype.play=function(){this.trigger(new f(d.On))};a.prototype.pause=function(){this.trigger(new f(d.qB))};e.v("RotationalCameraSequence",a).A("Object").K({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).Th({pause:a.prototype.pause,
play:a.prototype.play}).Yb([d.qa,d.mq]);return a});define("bj",["require","gW","df","gO"],function(a){var b=a("gW"),c=a("df"),f=a("gO"),a=b.extend(f,function(){f.call(this)});c.v("PanoramaCameraSequence",a).A("RotationalCameraSequence");return a});define("fm",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("PanoramaMapLocation",a).A("Object").K({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("jg",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("PanoramaOverlay",b).A("Object");return b});
define("ca",["require","eo","et","a"],function(a){function b(a){this.g=a;this.Fk=[];this.Nc=[];this.tt=[];this.Ea=this.fa=0}var c=a("eo"),f=a("et"),e=a("a");b.prototype.clear=function(){this.stop();this.tt=this.Nc=this.Fk=this.g=q};b.prototype.end=function(){for(var a=0;a<this.Fk.length;a++)this.Fk[a].stop();this.Fk=[];this.Nc=[];this.tt=[]};b.prototype.start=function(a){this.stop();for(var a=a.get("audios",[]),b=0;b<a.length;b++){var c=a[b],e=c.fv();e&&(this.Fk.push(e),c.get("autoplay",z)&&this.Nc.push(e),
c instanceof f&&this.tt.push(c))}this.F1();for(b=this.Nc.length-1;0<=b;b--)this.Nc[b].play()};b.prototype.play=function(){for(var a=0;a<this.Nc.length;a++)this.Nc[a].get("state")!=c.Q&&this.Nc[a].play()};b.prototype.pause=function(){for(var a=0;a<this.Nc.length;a++)this.Nc[a].get("state")==c.Q&&this.Nc[a].pause()};b.prototype.stop=function(){for(var a=0;a<this.Nc.length;a++)this.Nc[a].stop()};b.prototype.Xb=function(){this.fa=this.g.Bc();this.Ea=this.g.nc();this.F1()};b.prototype.F1=function(){if(0<
this.tt.length)for(var a=Math.PI/180,b=this.fa*a,c=this.Ea*a,f=new e(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c)),n=0;n<this.tt.length;n++){var g=this.tt[n],l=g.get("yaw",b)*a,r=g.get("pitch",c)*a,p=g.get("maximumAngle",360)*a,l=new e(Math.sin(l)*Math.cos(r),Math.sin(r),Math.cos(l)*Math.cos(r)),p=Math.min(1,Math.max(0,1-Math.acos(f.$z(l))/p));g.fv().Wh(p)}};return b});
define("fj","require,iX,gK,dm,a,ih".split(","),function(a){function b(a){this.g=a;this.Y=z;this.Fh=b.rq;this.fL=this.QX=z;this.Wg(q);this.g.bind(c.hb,this.cb,this,o);this.cb()}var c=a("iX"),f=a("gK"),e=a("dm"),d=a("a"),h=a("ih");b.prototype.w3=function(){return this.Fh!==b.rq};b.prototype.v3=function(){return this.Fh&b.Ws?o:z};b.prototype.x3=function(){return this.Fh&b.Xs?o:z};b.prototype.y3=function(){return this.Fh&b.uq?o:z};b.prototype.u3=function(){return this.Fh&b.qq?o:z};b.prototype.QG=L("QX");
b.prototype.Bc=function(){this.Kh();return this.fa};b.prototype.nc=function(){this.Kh();return this.Ea};b.prototype.De=function(){this.Kh();return this.lc};b.prototype.xp=function(){this.Kh();return this.na};b.prototype.Wg=function(a){if(a){this.pN=a.get("hfov",360);this.gE=a.get("vfov",180);this.ry=a.get("pitch",0);this.yr=a.get("partial",z);this.LL=a.A3();this.KL=a.p3();this.PL=Math.min(a.get("hfovMax",170),170);this.ix=a.get("hfovMin");this.IM=h.oja(a)}else{this.pN=360;this.gE=180;this.ry=0;this.KL=
this.LL=this.yr=z;this.PL=120;this.IM=this.ix=1}this.fa=0;this.Ea=this.ry;this.lc=0;this.Y=o};b.prototype.Qa=function(a,b,c,d,e){this.fa=a;this.Ea=b;this.lc=c;this.na=d;this.fL=e;this.Y=o};b.prototype.cb=function(){var a=this.g.ua(),b=this.g.Wa();if(this.M!=a||this.aa!=b||this.Ci!=pixelRatio){this.M=a;this.aa=b;this.Y=o}};b.prototype.Kh=function(){if(this.Y){this.Y=z;var a=this.fa*n,c=this.Ea*n,h=this.na*n,s,t,u,v=(this.fL?f.Jn(this.PL,this.M,this.aa):this.PL)*n,w;a:{w=this.ix;if(_(w).isString())if((w=
w.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&w.length>=2){w=parseFloat(w[1]);break a}w=m}w=w!==m?this.M*this.g.getPixelRatio()/(this.IM*w/100)*n:this.ix?(this.fL?f.Jn(this.ix,this.M,this.aa):this.ix)*n:2*Math.atan2(this.M*this.g.getPixelRatio()*0.5,this.IM*45);w=Math.min(v,w);if(this.Una){s=360;u=180;t=0}else if(this.LL||this.KL){s=this.KL?90:this.ry+this.gE*0.5;var y=this.LL?-90:this.ry-this.gE*0.5;u=s-y;t=(s+y)*0.5;s=this.pN}else{s=this.pN;t=this.ry;u=this.gE}s=s*n;u=u*n;t=t*n;for(y=this.M/this.aa;a<
-k;)a=a+2*k;for(;a>k;)a=a-2*k;h=Math.max(Math.min(h,v),w);v=b.rq;c>i?v=v|b.uq:c<-i&&(v=v|b.qq);var c=Math.max(Math.min(c,k*0.5),-k*0.5),A=2*Math.atan(Math.tan(h*0.5)/y);if(A>=u){h=2*Math.atan(Math.tan(u*0.5)*y);c=t;v=v|b.uq|b.qq}else{var x=Math.min(u*0.5+t,k*0.5);u=Math.max(-u*0.5+t,-k*0.5);t=!this.yr&&x>=k*0.495?k*0.5:x-A*0.5;u=!this.yr&&u<=-k*0.495?-k*0.5:u+A*0.5;if(c>t){c=t;v=v|b.uq}else if(c<u){c=u;v=v|b.qq}}if(this.yr){u=Math.tan(h*0.5);y=u/y;y=new d(-u,c>0?y:-y,1);u=new e;u.Fn(-c);y.apply(u);
y=y.Bc()*2;y<0&&(y=y+2*k);u=s*0.5-y*0.5;A=-s*0.5+y*0.5;if(y>s){a=0;h=Math.max(w,h*s/y);v=v|b.Ws|b.Xs}else if(a>u){a=u;v=v|b.Xs}else if(a<A){a=A;v=v|b.Ws}}this.fa=a*g;this.Ea=c*g;this.na=h*g;this.Fh=v}};var k=Math.PI,i=Math.PI*0.5,n=Math.PI/180,g=180/Math.PI;b.rq=0;b.Ws=1;b.Xs=2;b.uq=4;b.qq=8;return b});
define("eD","gW,iX,bF,dQ,p,in".split(","),function(a,b,c,f,e,d){a=a.extend(f,function(){f.call(this);this.a2=this.ba=z;this.lc=this.Ea=this.fa=0;this.HE=z;this.Yj=this.rl=0});a.prototype.ke=function(a){if(this.ba!=a)if(this.ba=a){d.bind(this.SY,this,o);var a=d.zp(),b=a.pitch;this.rl=this.fa-a.yaw;this.Yj=this.Ea-b;this.Lg()}else d.unbind(this.SY,this,o)};a.prototype.Qa=function(a,b,c){if(this.fa!=a){this.rl=this.tu(this.rl+(a-this.tu(this.fa,a)),0);this.fa=a}if(this.Ea!=b){this.Yj=this.Yj+(b-this.Ea);
this.Ea=b}this.lc=c};a.prototype.yd=function(){return d.vka()};a.prototype.Ya=function(a){var b=d.zp(),a=20*a/1E3,c=b.pitch+(this.a2?this.Yj:0),e=b.roll;this.fa=this.ef(this.fa,this.tu(this.tu(b.yaw,this.fa)+this.rl,this.fa),a);this.Ea=this.ef(this.Ea,c,a);this.lc=this.ef(this.lc,e,a)};a.prototype.rma=L("a2");a.prototype.ef=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.tu=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.SY=function(){this.ba&&
this.Lg()};a.prototype.Lg=function(){this.trigger(new c(b.W))};return a});
define("bB",["require","io","hy","Y"],function(a){function b(){this.ba=z;this.lc=this.Ea=this.fa=0;this.Jj=m}var c=a("io"),f=a("hy"),e=a("Y");b.prototype.ke=function(a){this.ba!=a&&(this.ba=a,this.Jj=m)};b.prototype.Qa=function(a,b,c){this.fa=a;this.Ea=b;this.lc=c};b.prototype.yd=R(o);b.prototype.Ya=function(){var a=c.rS(e.Bl().orientation);this.fa+=this.Jj===m?0:a.yaw-this.Jj;this.Jj=a.yaw;this.Ea=a.pitch;this.lc=a.Sc;this.Ea=h===m?a.pitch:h;this.lc=d===m?a.Sc:d};var d=f.Tg("debug")?f.jG("force_vr_roll"):
m,h=f.Tg("debug")?f.jG("force_vr_pitch"):m;return b});define("cH",[],function(){return{ew:"left",fw:"right",dw:"down",gw:"up",LT:"2x",Q:"playing",Wl:"zoomIn",Xl:"zoomOut",ld:"stop"}});
define("e","require,cE,gW,iX,bF,dQ,bI,eD,cl,do,bB,cH,Y,L".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),h=a("bI"),k=a("eD"),i=a("cl"),n=a("do"),g=a("bB"),l=a("cH"),r=a("Y"),p=a("L"),s=c.extend(d,function(a,b,c){d.call(this);this.g=a;this.G=b;this.yb=c;this.FN=this.po=this.gx=this.bO=this.ba=z;this.jb=new i;this.lc=this.Ea=this.fa=0;this.na=90;this.Sr=1;this.$d=m;this.jJ=this.yw=5;this.Ba=new n;this.Ba.bind(n.$v,this.rZ,this,o);this.Ba.bind(n.mj,this.No,this,o);this.Ba.bind(n.Nd,
this.Sj,this,o);this.Ba.bind(n.Md,this.Rj,this,o);this.oi=new k;this.oi.bind(f.W,this.tca,this);this.oo=z;this.pl=new g;r.bind(f.W,this.yi,this,o);this.yi()});s.prototype.clear=function(){this.Ba.unbind(n.$v,this.rZ,this,o);this.Ba.unbind(n.mj,this.No,this,o);this.Ba.unbind(n.Nd,this.Sj,this,o);this.Ba.unbind(n.Md,this.Rj,this,o);this.Ba.wl();this.Ba=q;r.unbind(f.W,this.yi,this,o);this.yb=this.G=this.jb=q;this.hC();this.g=q};s.prototype.YR=function(a){this.jb.reset();this.Ba.YR(a);this.yw=a.get("automaticRotationSpeed");
this.jJ=a.get("automaticZoomSpeed")};s.prototype.kg=function(a){function c(d){return b(a).contains(d)}b.isArray(a)||(a=[a]);var d=0,e=0,f=0,g=z;if(!c(l.ld)){c(l.ew)?d=-this.yw:c(l.fw)&&(d=+this.yw);c(l.dw)?e=-this.yw:c(l.gw)&&(e=+this.yw);c(l.Wl)?f=-this.jJ:c(l.Xl)&&(f=+this.jJ);c(l.Q)&&(g=o);if(c(l.LT)){d=d*2;e=e*2;f=f*2}d=d*this.Sr;e=e*this.Sr}this.gb(d,e,0,f,0,0,0,0,g,o,z,o)};s.prototype.Qa=function(a,b,c,d){this.fa=a;this.Ea=b;this.lc=c;this.na=d;this.Sr=this.na/90;this.oi.Qa(this.fa,this.Ea,
this.lc);this.pl.Qa(this.fa,this.Ea,this.lc);this.Ba.HA(this.na)};s.prototype.iS=function(a,b,c){this.gb(0,0,0,0,a,b,c,0,z,z,z)};s.prototype.yd=function(){return this.ba&&(this.FN||this.fH())?o:z};s.prototype.fH=function(){return this.ba?this.pl.ba?this.pl.yd()||this.jb.yd():this.oi.ba?this.oo?o:this.oi.yd()||this.jb.yd():this.jb.yd():z};s.prototype.Ya=function(a){this.jb.Ya(a);this.FN=z;var b,c;if(this.pl.ba){this.pl.Ya(a);a=this.pl.fa+this.jb.Nq;b=this.pl.Ea;c=this.pl.lc}else if(this.oi.ba){this.oo=
z;this.oi.Ya(a);a=this.oi.fa+this.jb.Nq;b=this.oi.Ea;this.gx&&(b=b+this.jb.Rw);c=this.oi.lc}else{a=this.fa+this.jb.Nq;b=this.Ea+this.jb.Rw;c=0}this.yb.Ml(this.na+this.jb.hW);this.G.Qa(a,b,c,this.yb.Ce(),this.yb.vp());this.fa=this.G.Bc();this.Ea=this.G.nc();this.lc=this.G.De();this.na=this.G.xp();if(this.bO&&this.G.w3()){a=this.jb.PF;if(this.G.v3()||this.G.x3())a=-a;b=this.jb.rE;if(this.G.y3()||this.G.u3())b=-b;this.gb(a,b,0,0,0,0,0,0,o,z,z,o)}};s.prototype.ke=function(a){if(this.ba!=a){if(this.ba=
a){this.ip(this.Ba.or==h.Ol?p.iB:m);this.Ba.CA(this.g.getParent());this.dg()}else{this.hC();this.Ba.wl()}this.EP()}};s.prototype.FA=function(a){if(this.po!=a){this.po=a;this.EP();this.oo=o}};s.prototype.EP=function(){this.oi.ke(this.ba&&this.po&&!r.isPresenting());this.pl.ke(this.ba&&r.isPresenting())};s.prototype.tca=function(){this.dg()};s.prototype.GA=function(a){this.gx=a;this.oi.rma(this.gx)};s.prototype.Lp=function(a){this.Ba.Lp(a);this.ip(this.Ba.or==h.Ol?p.iB:m)};s.prototype.Is=function(a){this.Ba.Is(a)};
s.prototype.yi=function(){this.EP();this.dg()};s.prototype.rZ=function(a){var b=!this.pl.ba&&(!this.oi.ba||this.gx);if(this.Ba.or==h.Vp){var c=m;if(a.Pp!=0||a.Ep!=0){var d=Math.sqrt(a.Ep*a.Ep+a.Pp*a.Pp)>25,e=Math.atan2(a.Ep,a.Pp)*180/Math.PI;e>=-22.5&&e<22.5?c=d?p.fT:p.eT:e>=22.5&&e<67.5?c=d?p.hT:p.oT:e>=67.5&&e<112.5?c=d?p.gT:p.nT:e>=112.5&&e<157.5?c=d?p.iT:p.pT:e>=157.5||e<-157.5?c=d?p.mT:p.tT:e>=-157.5&&e<-112.5?c=d?p.lT:p.sT:e>=-112.5&&e<-67.5?c=d?p.jT:p.qT:e>=-67.5&&e<-22.5&&(c=d?p.kT:p.rT)}this.ip(c);
this.gb(a.Pp,a.Ep,0,0,a.hH,a.JG,0,0,z,z,z,b)}else this.gb(a.Pp,a.Ep,0,0,a.hH,a.JG,0,0,z,z,b,b)};s.prototype.No=function(a){this.gb(0,0,0,a.Mja,0,0,0,a.$Q,z,o,z,o)};s.prototype.gb=function(a,b,c,d,e,f,g,i,h,l,k,n){this.jb.V4(a,b,c,e,f,g,l,k,n);this.jb.wma(d,i);this.bO=h;this.dg()};s.prototype.dg=function(){this.FN=o;this.trigger(new e(s.Of))};s.prototype.Sj=function(){this.trigger(new e(s.Nd));this.Ba.or==h.Ol&&this.ip(p.XS)};s.prototype.Rj=function(){this.trigger(new e(s.Md));this.Ba.or==h.Ol&&this.ip(p.iB)};
s.prototype.ip=function(a){if(this.$d!=a&&this.ba){this.$d&&this.g.Dv(this.$d);(this.$d=a)&&this.g.LG(this.$d)}};s.prototype.hC=function(){if(this.$d){this.g.Dv(this.$d);this.$d=m}};s.Of="position change request";s.Nd="user interaction start";s.Md="user interaction end";return s});
define("hT",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("TargetRotationalCameraMovement",b).A("RotationalCameraMovement").K({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("z","require,gW,iX,eo,bF,dQ,df,ek,hT,iM,be".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("eo"),e=a("bF"),d=a("dQ"),h=a("df");a("ek");a("hT");var k=a("iM"),i=a("be"),n=b.extend(d,function(a,b,c){d.call(this);this.g=a;this.G=b;this.yb=c;this.qu=this.Hc=q;this.Uo=this.Vo=z;this.Ut=[];this.iO=0;this.J=q;this.Ea=this.fa=0;this.na=90});n.prototype.clear=function(){this.end();this.G=this.g=q};n.prototype.start=function(a){this.nfa(a);this.rda();this.Vo=this.Uo=z;this.dg();this.Hf()};n.prototype.end=
function(){if(this.Hc!=q){this.MV();this.Vo=this.Uo=z;this.J=q;this.Hf()}};n.prototype.yka=function(){if(this.Hc&&this.Hc.get("restartMovementOnUserInteraction")){if(!this.Vo){this.fP();this.J=q;this.Vo=o;this.Hf()}}else this.end()};n.prototype.Dka=function(){if(this.Vo){this.Vo=z;this.gY()||this.Qfa()}};n.prototype.nfa=function(a){this.MV();this.Hc=a;this.Hc.bind(c.On,this.HZ,this,o);this.Hc.bind(c.qB,this.GZ,this,o);this.Hc.bind(c.Ca("movementIndex"),this.YM,this,o);this.Ut=this.Hc.get("movements",
[])};n.prototype.MV=function(){this.fP();if(this.Hc!=q){this.Hc.unbind(c.On,this.HZ,this);this.Hc.unbind(c.qB,this.GZ,this);this.Hc.unbind(c.Ca("movementIndex"),this.YM,this);this.Hc.set("movementIndex",-1);this.Hc=q;this.Ut=[]}};n.prototype.Jf=function(){return this.Hc?this.Uo?f.Zb:f.Q:f.N};n.prototype.Qa=function(a,b,c,d){this.fa=a;this.Ea=b;this.na=d};n.prototype.yd=function(){return this.Hc&&!this.Uo&&!this.Vo&&!this.gY()?o:z};n.prototype.Ya=function(a){if(this.yd()){this.J.Ya(a);a=this.J.Xa("hfov");
if(this.yb.R3()){var b=this.J.Yia();b.bA=this.yb.WF(b.bA);b.bH=this.yb.WF(b.bH);a=this.yb.WF(a)}this.G.Qa(this.J.Xa("yaw"),this.J.Xa("pitch"),0,a,this.yb.vp());this.fa=this.G.Bc();this.Ea=this.G.nc();this.na=this.G.xp();this.J.wd()&&this.Dca()}};n.prototype.play=function(){if(this.Uo){this.Uo=z;this.dg();this.Hf()}};n.prototype.pause=function(){if(!this.Uo){this.Uo=o;this.Hf()}};n.prototype.HZ=function(){this.play()};n.prototype.GZ=function(){this.pause()};n.prototype.rda=function(){this.iO=0;var a=
this.Hc.get("movementIndex",-1);a==-1&&(a=0);this.sE(a)};n.prototype.tda=function(){this.iO++;var a=this.Hc.get("repeat",1);if(this.Ut.length>0&&(a==0||this.iO<a))this.sE(0);else{this.Hc.trigger(new e(c.qa));this.end();this.Jga()}};n.prototype.sda=function(){this.sE(this.Hc.get("movementIndex",0)+1)};n.prototype.sE=function(a){if(a<this.Ut.length)this.Hc.get("movementIndex")!=a?this.Hc.set("movementIndex",a):this.YM();else{this.Hc.trigger(new e(c.mq));this.tda()}};n.prototype.YM=function(){var a=
this.Hc.get("movementIndex");this.J=a>=0?this.d9(this.Ut[a]):q};n.prototype.Dca=function(){this.Ut[this.Hc.get("movementIndex")].trigger(new e(c.qa));this.sda()};n.prototype.gY=function(){return this.qu!=q};n.prototype.Qfa=function(){this.fP();var a=this,b=this.Hc.get("restartMovementDelay")||0;this.qu=setTimeout(function(){a.qu=q;a.Tca()},b);this.Hf()};n.prototype.fP=function(){if(this.qu){clearTimeout(this.qu);this.qu=q}};n.prototype.Tca=function(){this.sE(this.Hc.get("movementIndex"));this.dg();
this.Hf()};n.prototype.d9=function(a){var b,c,d,e=this.Gr(this.fa,-180,180),f=this.Ea,n=this.na;if(h.qb("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",e);c=a.get("targetPitch",f);if(d=a.get("targetHfov")){this.yb.M4(d);d=this.yb.Ce()}else d=n;this.G.Qa(b,c,0,d,this.yb.vp());if(this.G.yr)b=this.G.Bc();else switch(a.get("path")){case "left":b=this.Gr(b,e-360,e);break;case "right":b=this.Gr(b,e,e+360);break;case "longest":b=this.Gr(b,e-180,e+180);b=b>=e?this.Gr(b,e-360,e):this.Gr(b,e,e+360);
break;default:b=this.Gr(b,e-180,e+180)}}else if(h.qb("DistanceRotationalCameraMovement",a)){b=e+a.get("yawDelta",0);this.G.yr&&(b=Math.min(Math.max(-180,b),180));c=f+a.get("pitchDelta",0);d=n+a.get("hfovDelta",0);this.G.Qa(b,c,0,d,this.yb.vp());this.G.yr&&(b=this.G.Bc())}c=this.G.nc();d=this.G.xp();return new k(a.get("easing"),[new i("yaw",e,b,a.get("yawSpeed")),new i("pitch",f,c,a.get("pitchSpeed")),new i("hfov",n,d,a.get("hfovSpeed"))],a.get("duration"))};n.prototype.Gr=function(a,b,c){for(;a<b;)a=
a+(c-b);for(;a>c;)a=a-(c-b);return a};n.prototype.dg=function(){this.trigger(new e(n.Of))};n.prototype.Jga=function(){this.trigger(new e(n.UH))};n.prototype.Hf=function(){this.trigger(new e(n.Ab))};n.Of="position change request";n.UH="sequence end";n.Ab="playback state change";return n});
define("x","require,cE,gW,iX,bF,dQ,fj,e,z,cH,cZ,Y,gK,eo".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("iX"),e=a("bF"),d=a("dQ"),h=a("fj"),k=a("e"),i=a("z"),n=a("cH");a("cZ");var g=a("Y");a("gK");var l=a("eo"),r=c.extend(d,function(a,b){d.call(this);this.g=a;this.g.bind(f.hb,this.cb,this);g.bind(f.W,this.yi,this,o);this.yb=b;this.nO=z;this.na=this.lc=this.Ea=this.fa=m;this.tl=this.sl=this.Rx=this.Ux=this.Tx=this.Sx=z;this.Hh=o;this.Ft=this.Yj=0;this.ba=z;this.nh=q;this.lx=5E3;this.px=this.WL=
q;this.wu=[];this.kf=this.Sn=l.N;this.G=new h(a);this.La=new k(this.g,this.G,this.yb);this.La.bind(k.Of,this.Sm,this,o);this.La.bind(k.Nd,this.Sj,this,o);this.La.bind(k.Md,this.Rj,this,o);this.zc=new i(this.g,this.G,this.yb);this.zc.bind(i.Of,this.Sm,this,o);this.zc.bind(i.UH,this.bN,this,o);this.zc.bind(i.Ab,this.IZ,this,o)});r.prototype.clear=function(){this.hl();this.La.unbind(k.Of,this.Sm,this);this.La.unbind(k.Nd,this.Sj,this,o);this.La.unbind(k.Md,this.Rj,this,o);this.La.clear();this.La=q;this.zc.unbind(i.Of,
this.Sm,this);this.zc.unbind(i.UH,this.bN,this);this.zc.unbind(i.Ab,this.IZ,this);this.zc.clear();this.G=this.zc=q;this.g.unbind(f.hb,this.cb,this);g.unbind(f.W,this.yi,this,o);this.g=q;b(this.wu).each(function(a){a.unbind(f.On,this.xO,this,o)},this);this.wu=[]};r.prototype.end=function(){this.Sn=l.N;this.hl();this.La.ke(z);this.zc.end();this.ba=z;this.bn(0,0,0,0);this.px=this.WL=q;b(this.wu).each(function(a){a.unbind(f.On,this.xO,this,o)},this);this.wu=[];this.Yr()};r.prototype.start=function(a,
b){this.Sn=l.Q;this.ba=o;this.bn(0,0,0,0);this.Sy(a);this.Pea(b);this.iF(this.px);this.Yr()};r.prototype.Jf=P("kf");r.prototype.play=function(){this.Sn=l.Q;this.zc.Jf()==l.Zb?this.zc.play():this.zc.Jf()==l.N&&(this.px?this.iF(this.px):this.Mt()||this.az());this.Yr()};r.prototype.bla=function(){this.Sn==l.Zb&&this.play()};r.prototype.pause=function(){this.La.kg(n.ld);if(this.Sn==l.Q){this.Sn=l.Zb;if(this.zc.Jf()==l.Q){this.zc.pause();this.Yr()}else this.Mt()&&this.hl()}};r.prototype.stop=function(){this.Sn=
l.N;this.zc.Jf()!=l.N&&this.zc.end();this.La.kg(n.ld);this.Yr();this.Mt()&&this.hl()};r.prototype.yi=function(){this.G.QG(g.isPresenting())};r.prototype.kg=function(a){this.La.kg(a)};r.prototype.iS=function(a,b,c){this.La.iS(a,b,c)};r.prototype.FA=function(a){if(this.po!=a){this.po=a;this.La.FA(this.po);this.ea()}};r.prototype.GA=function(a){this.La.GA(a)};r.prototype.Lp=function(a){this.La.Lp(a)};r.prototype.Is=function(a){this.La.Is(a)};r.prototype.Dn=function(a){if(this.ba)if(this.La.yd()||g.isPresenting()||
this.po&&(this.La.ba||!this.La.gx)){this.La.fH()&&this.zc.yka();this.La.Ya(a);this.Gh(this.La.fa,this.La.Ea,this.La.lc,this.La.na);this.ea()}else if(this.zc.Vo){this.zc.Dka();this.ea()}else if(this.zc.yd()){this.zc.Ya(a);this.Gh(this.zc.fa,this.zc.Ea,0,this.zc.na);this.ea()}else if(this.nO){this.nO=z;this.yb.Ml(this.g.Ce());this.G.Qa(this.g.Bc(),this.g.nc(),this.g.De(),this.yb.Ce(),this.yb.vp());this.Gh(this.G.Bc(),this.G.nc(),this.G.De(),this.G.xp());this.ea()}else{this.bn(0,0,0,0);this.Sn==l.Q&&
this.zc.Jf()==l.N&&(this.Mt()||this.az())}};r.prototype.Xb=function(){var a=this.g.Bc(),b=this.g.nc(),c=this.g.De(),d=this.g.Ce(),e=a-this.fa||0,f=b-this.Ea||0,g=c-this.lc||0,i=d-this.na||0;this.fa=a;this.Ea=b;this.lc=c;this.na=d;this.bn(e,f,g,i);this.La.Qa(a,b,c,d);this.zc.Qa(a,b,c,d)};r.prototype.Sy=function(a){this.G.Wg(a)};r.prototype.Pea=function(a){this.lx=a.get("timeToIdle",5E3);this.WL=a.get("idleSequence");this.px=a.get("initialSequence");this.La.YR(a);this.wu=a.get("sequences",[]);b(this.wu).each(function(a){a.bind(f.On,
this.xO,this,o)},this)};r.prototype.xO=function(a){this.iF(a.source)};r.prototype.Sm=function(){this.hl();this.ea()};r.prototype.Sj=function(){this.trigger(new e(r.Nd))};r.prototype.Rj=function(){this.trigger(new e(r.Md))};r.prototype.iF=function(a){if(a){this.La.ke(!a.get("mandatory",z));this.zc.start(a)}else this.bN()};r.prototype.bN=function(){this.La.ke(o);this.az()};r.prototype.IZ=function(){this.Yr()};r.prototype.cb=function(){this.nO=o;this.ea()};r.prototype.Mt=function(){return this.nh!=q};
r.prototype.az=function(){this.hl();var a=this;this.nh=setTimeout(function(){a.nh=q;a.VM()},this.lx)};r.prototype.hl=function(){if(this.nh){clearTimeout(this.nh);this.nh=q}};r.prototype.VM=function(){this.iF(this.WL)};r.prototype.ea=function(){this.trigger(new e(r.ra))};r.prototype.Gh=function(a,b,c,d){this.g.Qa(a,b,c,d)};r.prototype.bn=function(a,b,c,d){var c=z,f=Math.abs(a)<0.001&&Math.abs(b)<0.001&&Math.abs(d)<0.001;if(f||this.po){c=this.Hh!=o;this.tl=this.sl=this.Rx=this.Ux=this.Tx=this.Sx=z;
this.Hh=o}else{if(this.Sx!=a<-0.001){this.Sx=!this.Sx;c=o}if(this.Tx!=a>0.001){this.Tx=!this.Tx;c=o}if(this.Rx!=b<-0.001){this.Rx=!this.Rx;c=o}if(this.Ux!=b>0.001){this.Ux=!this.Ux;c=o}if(this.sl!=d<-0.001){this.sl=!this.sl;c=o}if(this.tl!=d>0.001){this.tl=!this.tl;c=o}if(this.Hh!=f){this.Hh=!this.Hh;c=o}}f||this.trigger(new e(r.jj,{yaw:this.fa,pitch:this.Ea,roll:this.lc,hfov:this.na}));if(c){(this.ba||this.Hh)&&this.trigger(new e(r.Nf,{movingLeft:this.Sx,movingRight:this.Tx,movingUp:this.Ux,movingDown:this.Rx,
zoomingIn:this.sl,zoomingOut:this.tl,stopped:this.Hh}));this.Yr()}};r.prototype.Yr=function(){var a;if(this.ba){a=this.zc.Jf();if(!this.Hh)a=l.Q}else a=l.N;if(this.kf!=a){this.kf=a;this.trigger(new e(r.Ab,{state:this.kf}))}};r.ra="request frame";r.Nf="movement change";r.jj="position change";r.Ab="playback state change";r.Nd="user interaction start";r.Md="user interaction end";return r});
define("dc","require,iX,fj,p,in,hy,Y,io".split(","),function(a){function b(a,d,e){this.g=a;this.yb=d;this.Hu=e;this.G=new c(a);e.cj&&this.G.Wg(e.cj);this.an=new c(a);this.zM=this.Jj=m;this.fa=this.g.Bc();this.Ea=this.g.nc();this.lc=this.g.De();this.na=this.Hu.cj?this.g.Ce():b.cB;this.U0=0;this.R=q;this.mY=o}a("iX");var c=a("fj"),f=a("p"),e=a("in"),d=a("hy"),h=a("Y"),k=a("io");b.prototype.Wg=function(a){if(this.R!=a){this.To=o;this.R=a}};b.prototype.Gs=function(a,b){this.fa=a;this.Ea=b};b.prototype.bv=
function(a){this.yb.M4(a);return this.yb.Ce()};b.prototype.Ml=L("na");b.prototype.LA=L("mY");b.prototype.Hs=L("U0");b.prototype.Dn=function(){if(this.yb.R3())this.na=this.yb.WF(this.na);if(this.Hu.Sb()){var a=h.Bl().orientation,a=k.rS(a);this.fa=this.fa+(this.Jj===m?0:a.yaw-this.Jj);this.Jj=a.yaw;this.Ea=a.pitch;this.lc=a.Sc;this.Ea=n===m?a.pitch:n;this.lc=i===m?a.Sc:i}else if(this.Hu.Fja()){var a=e.zp(),b=this.tu(a.yaw,this.fa);this.fa=this.fa+(this.Jj===m?0:b-this.Jj);this.Ea=this.Ea+(this.zM===
m?0:a.pitch-this.zM);this.lc=a.roll;this.Jj=a.yaw;this.zM=a.pitch}this.To&&this.G.Wg(this.R);this.G.QG(h.isPresenting());this.G.Qa(this.fa,this.Ea,this.lc,this.na,this.yb.vp());if(this.To){this.To=z;if(this.Hu&&this.Hu.cj)if(a=this.g.We(this.Hu.cj)){a.set("deltaYaw",this.g.Bc()-this.G.Bc());a.set("deltaPitch",this.g.nc()-this.G.nc());a.set("deltaRoll",this.g.De()-this.G.De())}}this.fa=this.G.Bc();this.Ea=this.G.nc();this.lc=this.G.De();this.na=this.mY?this.G.xp():this.na;this.g.Qa(this.fa,this.Ea,
this.lc,this.na);this.g.Hs(this.U0)};b.prototype.NG=function(a,b){this.an.Wg(a);this.an.Qa(0,0,0,b,this.yb.vp());return this.an.xp()};b.prototype.ela=function(a,b){this.an.Wg(a);this.an.Qa(b.yaw,b.pitch,b.Sc,b.hfov,this.yb.vp());b.yaw=this.an.Bc();b.pitch=this.an.nc();b.Sc=this.an.De();b.hfov=this.an.xp()};b.prototype.tu=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.AQ=function(){return b.cB};b.cB=f.lb()?90:110;b.prototype.AQ=function(){return b.cB};b.cB=f.lb()?90:
110;var i=d.Tg("debug")?d.jG("force_vr_roll"):m,n=d.Tg("debug")?d.jG("force_vr_pitch"):m;return b});
define("cK","require,df,ef,hv,p,Y".split(","),function(a){function b(a,c,d,g){this.g=a;a=this.g.H;this.uS=a.get("transitionMode","blending");var h=a.get("transitionDuration",500);if(this.Vaa(c,d)){this.uS=b.hB;h=1500}this.s2=a.get("blendingTransitionDuration",h);this.Mia=a.get("firstTransitionDuration",h);this.zia=a.get("disolveTransitionDuration",h);this.n5=a.get("translationTransitionDuration",1E3);this.j4=a.get("originTransitionDuration",3E3);this.iH=1E3;this.cj=c;this.Ama=!c||c.L3();this.zd=d;
this.Ima=!d||d.K3();this.f5=!d||d.L3();this.Hma=!!d&&this.oM(d);a=(this.oS=g)&&g.get("initialPosition")||new f;this.Ug=new f;this.Ug.set("yaw",a.get("yaw",0));this.Ug.set("pitch",a.get("pitch"));this.Ug.set("hfov",a.get("hfov"));this.Rc=new e;this.Rc.set("yaw",this.Ug.get("yaw"));this.Rc.set("pitch",this.Ug.get("pitch"));this.Rc.set("hfov",this.Ug.get("hfov"));this.Rc.set("stereographicFactor",0);this.Pi=[];if(!c){this.Pi=g&&g.get("displayMovements")||[];for(a=this.Pi.length-1;a>=0;a--){this.Rc.set("yaw",
this.Rc.get("yaw",this.Pi[a].get("targetYaw")));this.Rc.set("pitch",this.Rc.get("pitch",this.Pi[a].get("targetPitch")));this.Rc.set("hfov",this.Rc.get("hfov",this.Pi[a].get("targethfov")));this.Rc.set("stereographicFactor",this.Rc.get("stereographicFactor",this.Pi[a].get("stereographicFactor")))}g=g&&g.get("displayOriginPosition")||this.Ug;this.Rc.set("yaw",g.get("yaw"));this.Rc.set("pitch",g.get("pitch"));this.Rc.set("hfov",g.get("hfov"));this.Rc.set("stereographicFactor",g.get("stereographicFactor"))}this.mode=
(this.cH=this.uS==b.sk&&this.Ima?this.Baa(c,d):q)?b.UT:c?d?this.uS=="blending"?b.sk:b.hB:b.US:b.TS;if(this.mode==b.sk&&(!this.Ama||!this.f5))if(this.Rc.get("stereographicFactor",0)>0||this.Pi.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.hB}var c=a("df"),f=a("ef"),e=a("hv"),d=a("p"),h=a("Y");b.prototype.Fja=function(){return this.g.fu.get("gyroscopeEnabled")};b.prototype.Sb=function(){return h.isPresenting()};b.prototype.Baa=function(a,b){if(!a||!b)return q;
var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.fia()&&a.get("panorama")==b});return c.length==0?q:c[0]};b.prototype.Vaa=function(a,b){return this.Sb()&&d.Zd()==d.yk&&(this.oM(a)||this.oM(b))};b.prototype.oM=function(a){a=(a=a&&a.get("frames"))&&a.length>0&&a[0].get("sphere");return!(!a||!c.qb("Video360Resource",a))};b.hB="fade_out_fade_in";b.TS="fade_in";b.US="fade_out";b.sk="blending";b.UT="translation";return b});
define("cx",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb){if(!this.J){var b=this.g.We(this.I.zd);b.Oi();b.set("alpha",0.01);this.J=new c("linear",[new f("alpha",0,1,m)],this.I.s2)}this.J.Ya(a);a=this.J.Xa("alpha");b=this.g.We(this.I.zd);b.set("alpha",a);this.J.wd()&&(this.Bb=o)}};return b});
define("ip",["require"],function(){function a(a,c,f,e){this.p=a;this.ta=c;this.g=f;this.I=e;this.Bb=z}a.prototype.Hl=P("Bb");a.prototype.Wi=function(){this.Bb||(this.ap(),this.Bb=o)};a.prototype.ap=C();return a});
define("hi",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h){c.call(this,a,b,d,h)});a.prototype.ap=function(){this.I.zd&&!this.g.We(this.I.zd)&&(this.Id=this.g.create(this.I.zd),this.Id.set("alpha",0),this.Id.set("loadingActive",o),this.g.add(this.Id))};return a});
define("bg",["require","gW","ip","hg"],function(a){var b=a("gW"),c=a("ip"),f=a("hg"),a=b.extend(c,function(a,b,f,k){c.call(this,a,b,f,k)});a.prototype.ap=function(){this.I.Hma&&f.NR(this.g.$a(),this)};return a});
define("gH",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb&&(this.J||(this.J=new c("linear",[new f("alpha",0,1,m)],this.g.H.Wma()?this.I.Mia:this.I.s2)),this.J.Ya(a),a=this.J.Xa("alpha"),this.g.We(this.I.zd).set("alpha",a),this.J.wd()))this.Bb=o};return b});
define("fJ",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb&&(this.J||(this.J=new c("linear",[new f("alpha",1,0,m)],this.I.zia)),this.J.Ya(a),a=this.J.Xa("alpha"),this.g.We(this.I.cj).set("alpha",a),this.J.wd()))this.Bb=o};return b});
define("iJ",["require","iM","be"],function(a){function b(a,b,c,e){this.p=a;this.ta=b;this.g=c;this.I=e;this.J=q;this.Bb=z;this.HD=0}function c(a,b,c){for(;a<b;)a+=c-b;for(;a>c;)a-=c-b;return a}var f=a("iM"),e=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb&&(this.J||(this.J=this.HD<this.I.Pi.length?this.q9(this.HD):this.e9()),this.J.Ya(a),this.ta.Gs(this.J.Xa("yaw"),this.J.Xa("pitch")),this.ta.Ml(this.J.Xa("hfov")),this.ta.Hs(this.J.Xa("stereographicFactor")),this.J.wd()))this.J=
q,this.HD++,this.HD>this.I.Pi.length&&(this.ta.LA(o),this.Bb=o)};b.prototype.e9=function(){var a=c(this.g.Bc(),-180,180),b=this.g.nc();this.g.De();var k=this.g.Ce(),i=this.g.k.Xg,n=this.I.Ug.get("hfov"),n={yaw:this.I.Ug.get("yaw"),pitch:this.I.Ug.get("pitch",b),Sc:this.g.De(),hfov:n?this.ta.bv(n):k,Xg:0};this.ta.ela(this.I.zd,n);n.yaw=c(n.yaw,a-180,a+180);var g=0.5<Math.abs(k-n.hfov),l=Math.abs(i-n.Xg),r=0.01<l,g=this.I.Sb()?1:Math.max(g?this.I.iH:1,r?this.I.j4*l:1);return new f(r?"linear":"cubic_in_out",
[new e("yaw",a,n.yaw,m),new e("pitch",b,n.pitch,m),new e("hfov",k,n.hfov,m),new e("stereographicFactor",i,n.Xg,m)],g)};b.prototype.q9=function(a){var b=this.I.Pi[a],k=c(this.g.Bc(),-180,180),i=this.g.nc();this.g.De();var n=this.g.Ce(),g=this.g.k.Xg,l=b.get("targetStereographicFactor",g),r=b.get("targetHfov");if(r)r=this.ta.bv(r);else{for(r=z;a<this.I.Pi.length&&!r;a++)r=this.I.Pi[a].get("targetHfov")!==m;r?r=n:(r=this.ta.bv(this.I.Ug.get("hfov",this.ta.AQ())),r=n+(r-n)*(g-l))}var a=b.get("targetYaw",
k),p=b.get("targetPitch",i);this.g.De();switch(b.get("path")){case "left":a=c(a,k-360,k);break;case "right":a=c(a,k,k+360);break;case "longest":a=c(a,-360,360);a=a>=k?c(a,k,k+360):c(a,k-360,k);break;default:a=c(a,k-180,k+180)}return new f(b.get("easing"),[new e("yaw",k,a,b.get("yawSpeed")),new e("pitch",i,p,b.get("pitchSpeed")),new e("hfov",n,r,b.get("hfovSpeed")),new e("stereographicFactor",g,l,b.get("stereographicFactorSpeed"))],b.get("duration"))};return b});
define("eE",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb){if(!this.J){var b=this.g.nc(),h=this.g.Ce(),k=this.g.k.Xg,i=this.I.Rc.get("stereographicFactor",0),n=Math.abs(k-i),g=0<i?this.I.Rc.get("pitch",b):b,l=this.I.Rc.get("hfov"),l=l?this.ta.bv(l):h;0==i&&(l=Math.min(h,this.ta.NG(this.I.zd,l)));this.ta.LA(z);n=this.I.Sb()?1:Math.max(0.5<Math.abs(h-
l)?this.I.iH:1,0.01<n?this.I.j4:1);this.J=new c("cubic_in_out",[new f("hfov",h,l,m),new f("pitch",b,g,m),new f("stereographicFactor",k,i,m)],n)}this.J.Ya(a);this.ta.Ml(this.J.Xa("hfov"));this.ta.Hs(this.J.Xa("stereographicFactor"));this.ta.Gs(this.g.Bc(),this.J.Xa("pitch"));this.J.wd()&&(this.ta.Wg(this.I.zd),this.ta.Gs(this.I.Rc.get("yaw"),this.I.Rc.get("pitch",this.g.nc())),this.Bb=o)}};return b});
define("J",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h){c.call(this,a,b,d,h)});a.prototype.ap=function(){this.g.remove(this.g.We(this.I.cj))};return a});
define("dU",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h){c.call(this,a,b,d,h)});a.prototype.ap=function(){this.ta.Wg(this.I.zd);this.ta.Gs(this.I.Ug.get("yaw"),this.I.Ug.get("pitch",this.g.nc()));var a=this.I.Ug.get("hfov");a&&(a=this.ta.bv(a),this.ta.Ml(a))};return a});
define("it",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h){c.call(this,a,b,d,h)});a.prototype.ap=function(){this.ta.Wg(this.I.zd);this.ta.Hs(this.I.f5?this.I.Rc.get("stereographicFactor",0):0);this.ta.Gs(this.I.Rc.get("yaw"),this.I.Rc.get("pitch",this.g.nc()));var a=this.I.Rc.get("hfov");!a&&!this.I.cj&&(a=this.ta.AQ());a&&(a=this.ta.bv(a),this.ta.Ml(a),this.ta.LA(z))};return a});
define("jl",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h){c.call(this,a,b,d,h)});a.prototype.ap=function(){this.ta.Wg(this.I.zd);this.ta.Ml(this.ta.NG(this.I.zd,this.g.Ce()));this.ta.Gs(this.g.Bc()+this.I.cH.N2(),this.g.nc())};return a});
define("fW",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb){if(!this.J){var b=this.g.Ce(),h=this.ta.NG(this.I.zd,b),k=!this.I.Sb()&&0.01<Math.abs(b-h)?this.I.iH:1;this.J=new c("cubic_in_out",[new f("hfov",b,h,m)],k)}this.J.Ya(a);this.ta.Ml(this.J.Xa("hfov"));this.J.wd()&&(this.ta.LA(o),this.Bb=o)}};return b});
define("gc",["require","iM","be"],function(a){function b(a,b,c,f){this.p=a;this.ta=b;this.g=c;this.I=f;this.J=q;this.Bb=z}var c=a("iM"),f=a("be");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb){if(!this.J){var b=this.g.Ce(),h=Math.min(this.ta.NG(this.I.zd,b),b),k=!this.I.Sb()&&0.01<Math.abs(b-h)?this.I.iH:1;this.J=new c("cubic_in_out",[new f("hfov",b,h,m)],k);this.ta.LA(z)}this.J.Ya(a);this.ta.Ml(this.J.Xa("hfov"));this.J.wd()&&(this.ta.Wg(this.I.zd),this.ta.Gs(this.g.Bc()+this.I.cH.N2(),
this.g.nc()),this.Bb=o)}};return b});
define("hb",["require","iM","be","p"],function(a){function b(a,b,c,e){this.p=a;this.ta=b;this.g=c;this.I=e;this.pJ=this.Vr=q;this.Bb=z}var c=a("iM"),f=a("be"),e=a("p");b.prototype.Hl=P("Bb");b.prototype.Wi=function(a){if(!this.Bb){if(!this.Vr){this.g.P4(!this.I.Sb()&&e.browser()!=e.uk);var b=this.g.We(this.I.zd);b.Oi();b.set("alpha",0.01);this.Vr=new c("cubic_in_out",[new f("source",0,0.75,m),new f("target",-0.75,0,m)],this.I.n5);this.pJ=new c("linear",[new f("alpha",-1,2,m)],this.I.n5)}this.Vr.Ya(a);
this.pJ.Ya(a);var a=this.g.We(this.I.zd),b=this.g.We(this.I.cj),k=this.I.cH.bja(),i=this.Vr.Xa("target");a.set("translationX",k.x*i);a.set("translationY",k.y*i);a.set("translationZ",k.z*i);i=this.Vr.Xa("source");b.set("translationX",k.x*i);b.set("translationY",k.y*i);b.set("translationZ",k.z*i);b=Math.max(0,Math.min(1,this.pJ.Xa("alpha")));this.Vr.wd()||(b=Math.max(0.01,Math.min(0.99,b)));a.set("alpha",b);this.Vr.wd()&&(this.g.P4(z),this.Bb=o)}};return b});
define("dq",["require","gW","ip"],function(a){var b=a("gW"),c=a("ip"),a=b.extend(c,function(a,b,d,h,k){c.call(this,a,b,d,h);this.i8=k});a.prototype.ap=function(){this.i8.call(this.p)};return a});define("bS",["require"],function(){function a(a,c,f,e){this.p=a;this.ta=c;this.g=f;this.I=e}a.prototype.Hl=function(){var a=this.g.$a(),c=a&&a.HF,a=a&&a.DD;return!!c&&!c.get("visible")&&!!a&&!a.get("visible")};a.prototype.Wi=C();return a});
define("dn","require,bF,dQ,dc,cK,cx,hi,bg,gH,fJ,iJ,eE,J,dU,it,jl,fW,gc,hb,dq,bS,gW".split(","),function(a){var b=a("bF"),c=a("dQ"),f=a("dc"),e=a("cK"),d=a("cx"),h=a("hi"),k=a("bg"),i=a("gH"),n=a("fJ"),g=a("iJ"),l=a("eE"),r=a("J"),p=a("dU"),s=a("it"),t=a("jl"),u=a("fW"),v=a("gc"),w=a("hb"),y=a("dq"),A=a("bS"),x=a("gW").extend(c,function(a,b,d){c.call(this);this.H=a;this.g=b;this.yb=d;this.ta=q;this.oW=this.ho=this.uy=this.zr=m;this.I=q;this.we=[]});x.prototype.clear=function(){this.R_(this.ho);this.I&&
this.R_(this.I.zd);this.uy=this.zr=m;this.G=this.yb=this.g=this.H=this.I=q};x.prototype.display=function(a,b){if(!this.I&&a==this.ho||this.I&&a==this.I.zd)this.uy=this.zr=m;else{this.zr=a;this.uy=b;this.I||this.ZO()}};x.prototype.hide=function(){this.zr=q;!this.I&&this.ho&&this.ZO()};x.prototype.ZO=function(){this.I=new e(this.g,this.ho,this.zr,this.uy);this.ta=new f(this.g,this.yb,this.I);this.uy=this.zr=m;this.Kb(h);switch(this.I.mode){case e.US:this.qc(this.Ju);this.Kb(n);this.qc(this.Iu);this.Kb(r);
this.qc(this.Wr);break;case e.TS:this.Kb(k);this.Kb(s);this.qc(this.Ku);this.Kb(i);this.Kb(A);this.Kb(g);this.qc(this.tF);break;case e.hB:this.qc(this.Ju);this.Kb(n);this.qc(this.Iu);this.Kb(r);this.qc(this.Wr);this.Kb(k);this.Kb(s);this.qc(this.Ku);this.Kb(i);this.Kb(A);this.Kb(g);this.qc(this.tF);break;case e.UT:if(this.I.Sb()){this.qc(this.Ju);this.qc(this.Iu);this.Kb(t);this.qc(this.Ku);this.Kb(w);this.Kb(r);this.qc(this.Wr)}else{this.qc(this.Ju);this.qc(this.Iu);this.Kb(v);this.qc(this.Ku);this.Kb(w);
this.Kb(r);this.qc(this.Wr);this.Kb(u);this.Kb(k);this.Kb(A)}this.qc(this.tF);break;case e.sk:if(this.I.Sb()){this.qc(this.Ju);this.qc(this.Iu);this.Kb(p);this.qc(this.Ku);this.Kb(d);this.Kb(r);this.qc(this.Wr)}else{this.qc(this.Ju);this.qc(this.Iu);this.Kb(l);this.qc(this.Ku);this.Kb(d);this.Kb(r);this.qc(this.Wr);this.Kb(k);this.Kb(A);this.Kb(g)}this.qc(this.tF)}this.ea()};x.prototype.rP=function(){this.ho=this.I.zd;this.oW=this.I.oS;this.I=this.ta=q;this.zr===m?this.ho?this.wga(this.ho,this.oW):
this.xga():this.ZO()};x.prototype.Dn=function(a){if(this.we.length){var b=this.we[0];b.Wi(a);this.ea();this.ta.Dn(a);if(b.Hl()){this.we.shift();this.we.length==0&&this.rP()}}};x.prototype.Xb=C();x.prototype.Kb=function(a){this.we.push(new a(this,this.ta,this.g,this.I))};x.prototype.qc=function(a){this.we.push(new y(this,this.ta,this.g,this.I,a))};x.prototype.R_=function(a){if(a)if(a=this.g.We(a)){this.g.remove(a);this.Wr()}};x.prototype.Wr=function(){this.trigger(new b(x.LH,{panorama:this.I?this.I.cj:
this.ho}))};x.prototype.Ju=function(){this.trigger(new b(x.$p,{panorama:this.I.cj}))};x.prototype.Iu=function(){this.trigger(new b(x.Zp,{panorama:this.I.cj}))};x.prototype.tF=function(){this.trigger(new b(x.aq,{panorama:this.I.zd,camera:this.I.oS}))};x.prototype.Ku=function(){this.trigger(new b(x.bq,{panorama:this.I.zd,camera:this.I.oS}))};x.prototype.wga=function(a,c){this.trigger(new b(x.zH,{panorama:a,camera:c}))};x.prototype.xga=function(){this.trigger(new b(x.AH))};x.prototype.ea=function(){this.trigger(new b(x.ra))};
x.ra="request frame";x.LH="panorama removed";x.zH="all pending panoramas displayed";x.AH="all pending panoramas hidden";x.Zp="panorama end";x.bq="panorama start";x.aq="panorama show";x.$p="panorama hide";return x});
define("cS",["require","gW","bF","dQ"],function(a){var b=a("gW"),c=a("bF"),f=a("dQ"),e=b.extend(f,function(a){f.call(this);this.g=a});e.prototype.clear=function(){this.end();this.g=q};e.prototype.wv=function(a){for(var b=this.LC(a),c=a.T2(),e=0;e<b;e++)this.g.We(this.sL(a,e)).set("alpha",e==c?1:0)};e.prototype.getTime=R(0);e.prototype.start=C();e.prototype.end=C();e.prototype.play=C();e.prototype.pause=C();e.prototype.Cv=C();e.prototype.Hv=C();e.prototype.$G=C();e.prototype.stop=C();e.prototype.Fs=
C();e.prototype.Es=C();e.prototype.gH=C();e.prototype.Xb=C();e.prototype.Jf=C();e.prototype.LC=function(a){return a.get("frames").length};e.prototype.sL=function(a,b){return a.get("frames")[b]};e.prototype.ea=function(){this.trigger(new c(e.ra))};e.prototype.gk=function(a,b,f,i,n,g){this.trigger(new c(e.$h,{time:a,duration:b,transitionPosition:f,transitionLength:i,steps:n,selectedStep:g}))};e.prototype.Hf=function(){this.trigger(new c(e.Ab,{state:this.Jf()}))};e.ra="request frame";e.D5="frame display";
e.E5="frame hide";e.$h="time change";e.Ab="playback state change";return e});
define("V","require,jquery.mod,cE,gW,iX,eQ,bF,cS,eh,dm,hy,Y,gz".split(","),function(a){a("jquery.mod");var b=a("cE"),c=a("gW"),f=a("iX"),e=a("eQ");a("bF");var d=a("cS"),h=a("eh"),k=a("dm");a("hy");var i=a("Y"),n=a("gz"),g=c.extend(d,function(a){d.call(this,a);this.HC=q;this.gL=this.Xq=0;this.R=this.nr=q;this.Zw=m;this.IN=z;this.na=360;this.b2=180;this.Ea=0.5;this.ui=0.2;this.Hm=0.45;this.qY=5E3;this.uY=1;this.ED=[[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.Qba=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});g.prototype.wv=function(a){d.prototype.wv.call(this,a);this.Sy(a)};g.prototype.start=function(a){this.Sy(a);this.ea()};g.prototype.end=function(){this.Sy(q)};g.prototype.Sy=function(a){if(this.R!=a){if(this.R){this.Nga();this.R=q;this.Rga()}if(this.R=a){this.K7();this.na=a.get("hfov",360);this.b2=a.get("vfov",180);this.Ea=a.get("pitch",0);this.ON=this.Fr=m;this.Lba(a);this.Hd=0.5}}};g.prototype.gH=function(){this.IN=z};g.prototype.Fs=
function(a){this.Hd=a/g.ow;this.ea();this.IN=o};g.prototype.Es=function(a){this.Fs(a)};g.prototype.gk=function(){var a=this.LC(this.R),b=this.Hd*(a-1),c=Math.max(0,Math.min(a-2,Math.floor(b))),e=m;b-c<0.01?e=c:b-c>0.99&&(e=c+1);d.prototype.gk.call(this,this.Hd*g.ow,g.ow,this.Hd*g.ow,g.ow,a,e)};g.prototype.Xb=function(a){if(this.R){var b=this.g.Bc(),c=this.g.nc(),d=this.g.De(),e=0;if(this.Fr!==m&&this.ON!==m&&this.z_!==m)var f=b-this.Fr,g=c-this.ON,n=d-this.z_,e=Math.sqrt(f*f+g*g+n*n)*1E3/a;this.Fr=
b;this.ON=c;this.z_=d;for(var f=this.LC(this.R),y=this.Hd*(f-1),g=Math.max(0,Math.min(f-2,Math.floor(y))),n=g+1,y=1-(y-g),A=1-y,x=[],B=0;B<f;B++)x.push(0);x[n]=A;x[g]=A<1?1:0;for(B=0;B<f;B++)this.g.We(this.sL(this.R,B)).set("alpha",x[B]);this.gk();if(this.HC&&(e<=this.uY||i.isPresenting())&&!this.IN){var B=Math.PI/180,e=180/Math.PI,x=this.g.ua(),O=this.g.Wa(),E=new k;E.Hp(-d*B);E.Fn(-c*B);E.Gp(-b*B);b=[];for(B=0;B<this.ED.length;B++){d=this.g.unproject(new h(this.ED[B][0]*x,this.ED[B][1]*O,0)).Bja();
d.apply(E);c=d.Bc()*e;d=d.nc()*e;b.push(Math.round((90-d)*this.gL/180)*this.Xq+Math.round((c+180)*this.Xq/360))}c=[];for(B=0;B<f;B++){d=this.HC[B];for(x=e=0;x<this.ED.length;x++)e=e+this.Qba[x]*d[b[x]];c.push(e)}B=c[g];b=c[n];g=y*c[g]+A*c[n];a=Math.min(1/f,a/this.qY);f=this.Hd;n=Math.max.apply(Math,c);y=Math.min.apply(Math,c);g<this.ui&&g<n?f=b>g?f+a:f-a:g>this.Hm&&g>y&&(f=B<g?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.Hd!=f){this.Hd=f;this.ea()}}}};g.prototype.Lba=function(a){var c=b(a.get("frames",
[])).map(function(a){return a.get("thumbnailUrl")});this.nr=b(c).map(function(a){var b=q;if(a){b=new n(e.Ak);b.bind(f.O,this.nZ,this);b.bind(f.dd,this.oZ,this)}return b},this);b(this.nr).each(function(a,b){a&&a.load(c[b])})};g.prototype.Rga=function(){this.lW();this.HC=q};g.prototype.zca=function(){this.Xq=150;this.nr.map(function(a){if(a)this.Xq=Math.min(a.Ac()*360/this.na,this.Xq)},this);this.gL=Math.round(this.Xq/2);this.HC=this.nr.map(function(a){return this.n9(a,this.Xq,this.gL,this.na,this.b2,
this.Ea)},this);this.lW()};g.prototype.n9=function(a,b,c,d,e,f){var g=document.createElement("canvas");g.width=b;g.height=c;var i=g.getContext("2d");i.fillStyle="#000000";i.fillRect(0,0,b,c);if(a){a=a.vd();d=Math.round(b*d/360);i.drawImage(a,(b-d)*0.5,Math.round(c*(90-(f+e*0.5))/180),d,Math.round(c*e/180))}b=[];g=i.getImageData(0,0,g.width,g.height);for(c=i=0;i<g.height;i++)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};g.prototype.lW=function(){b(this.nr).each(function(a){if(a){a.unbind(f.O,
this.nZ,this);a.unbind(f.dd,this.oZ,this);a.cancel()}},this);this.nr=q};g.prototype.nZ=function(){b(this.nr).filter(function(a){return a&&!a.yn()}).length==0&&this.zca()};g.prototype.oZ=C();g.prototype.K7=function(){this.R.bind(f.Ca("minimumLuminance"),this.Om,this);this.R.bind(f.Ca("maximumLuminance"),this.Om,this);this.R.bind(f.Ca("luminanceChangeTime"),this.Om,this);this.R.bind(f.Ca("maxLuminanceChangeSpeed"),this.Om,this);this.Om()};g.prototype.Nga=function(){this.R.unbind(f.Ca("minimumLuminance"),
this.Om,this);this.R.unbind(f.Ca("maximumLuminance"),this.Om,this);this.R.unbind(f.Ca("luminanceChangeTime"),this.Om,this);this.R.unbind(f.Ca("maxLuminanceChangeSpeed"),this.Om,this)};g.prototype.Om=function(){this.ui=this.R.get("minimumLuminance");this.Hm=this.R.get("maximumLuminance");if(this.ui==m&&this.Hm==m){this.ui=0.2;this.Hm=0.45}else this.ui==m?this.ui=Math.min(0.2,this.Hm):this.ui==m?this.Hm=Math.max(0.45,this.ui):this.ui=Math.min(this.ui,this.Hm);this.Hm=Math.min(1,Math.max(0,this.Hm));
this.ui=Math.min(1,Math.max(0,this.ui));this.qY=Math.max(100,this.R.get("luminanceChangeTime",5E3));this.uY=this.R.get("maxLuminanceChangeSpeed",1);this.ea()};g.ow=1E3;return g});
define("ij",["require","gW","r","eo","cS"],function(a){var b=a("gW"),c=a("r"),f=a("eo"),e=a("cS"),a=b.extend(e,function(a){e.call(this,a);this.FC=this.GC=q;this.Wf=this.Le=5E3;this.Rb=m;this.Pb=this.Le;this.mi=1;this.R=q;this.ir=z});a.prototype.start=function(a){this.R=a;this.ir=z;this.Ok=o;this.GC=c.watch(this.R,"frameDisplayTime",this.zP,this);this.FC=c.watch(this.R,"frameTransitionTime",this.zP,this);this.mi=this.LC(this.R);this.Rb=0;this.zP(o);this.gk();this.ea();this.Hf()};a.prototype.zP=function(a){var b=
Math.max(100,this.R.get("frameDisplayTime",5E3)),c=Math.max(100,this.R.get("frameTransitionTime",5E3));if(this.Le!=b||this.Wf!=c||a){var a=this.Ct(),e=this.K$();this.nL();this.Le=b;this.Wf=c;1<this.mi?(this.Rb=a*(this.Le+this.Wf)+e*this.Le+e*this.Wf,this.Pb=this.mi*(this.Le+this.Wf)):(this.Rb=e*this.Le,this.Pb=this.Le)}};a.prototype.Ct=function(){return 1<this.mi?Math.floor(this.Rb/(this.Le+this.Wf)):0};a.prototype.L$=function(){return 1<this.mi?(this.Ct()+1)%this.mi:0};a.prototype.K$=function(){return 1<
this.mi?Math.max(0,Math.min(1,this.Rb-this.Ct()*(this.Le+this.Wf))):this.Rb/this.Le};a.prototype.nL=function(){return 1<this.mi?Math.max(0,Math.min(1,(this.Rb-(this.Ct()*(this.Le+this.Wf)+this.Le))/this.Wf)):0};a.prototype.Wfa=function(a){var b=Math.floor(a/this.Wf);return b*(this.Le+this.Wf)+this.Le+(a-b*this.Wf)};a.prototype.f1=function(a){var b=Math.floor(a/(this.Le+this.Wf)),a=Math.max(0,a-b*(this.Le+this.Wf)-this.Le);return b*this.Wf+a};a.prototype.play=function(){this.ir&&(this.ir=z,this.Ok&&
this.ea(),this.Hf())};a.prototype.pause=function(){this.ir=o;this.Hf()};a.prototype.Cv=function(){this.pause()};a.prototype.Hv=function(){this.play()};a.prototype.end=function(){this.Ok=z;this.R=q;this.GC&&(this.GC.unwatch(),this.GC=q);this.FC&&(this.FC.unwatch(),this.FC=q);this.Hf()};a.prototype.Fs=function(a){this.Rb=a;this.ea()};a.prototype.Es=function(a){this.Rb=this.Wfa(a);this.ea();this.pause()};a.prototype.Xb=function(a){if(this.Ok){this.ir||(this.Rb+=a);this.Rb%=this.Pb;for(var a=this.Ct(),
b=this.L$(),c=this.nL(),e=b>a?c:1,c=b>a?1:1-c,f=0;f<this.mi;f++){var g;g=f==a?c:f==b?e:0;var l=this.g.We(this.sL(this.R,f));l.get("alpha")!=g&&(0<g&&1>g&&l.Oi(),l.set("alpha",g))}this.gk();this.ir||this.ea()}};a.prototype.Jf=function(){return this.Ok?this.ir?f.Zb:f.Q:f.N};a.prototype.Hf=function(){e.prototype.Hf.call(this,this.Jf())};a.prototype.gk=function(){var a=this.Rb,b=this.Pb,c=this.f1(this.Rb),f=this.f1(this.Pb),n=this.mi+1,g=0===this.nL()?this.Ct():m;e.prototype.gk.call(this,a,b,c,f,n,g)};
return a});define("bi",["require","gW","cS"],function(a){var b=a("gW"),c=a("cS");return b.extend(c,function(a){c.call(this,a)})});
define("hD",["require","gW","iX","eo","cS"],function(a){var b=a("gW"),c=a("iX"),f=a("eo"),e=a("cS"),a=b.extend(e,function(a){e.call(this,a);this.Xc=z});a.prototype.wv=C();a.prototype.start=function(a){this.end();this.R=a;this.R.set("mute",this.Xc);this.R.set("state",f.Q);this.am()};a.prototype.getTime=function(){return this.R?this.R.get("currentTime"):0};a.prototype.Jf=function(){return this.R?this.R.get("state"):f.N};a.prototype.play=function(){this.R&&this.R.set("state",f.Q)};a.prototype.pause=
function(){this.R&&this.R.set("state",f.Zb)};a.prototype.$G=function(){this.R&&this.R.set("state",f.Zb)};a.prototype.stop=function(){this.R&&this.R.set("state",f.N)};a.prototype.end=function(){this.R&&(this.Zm(),this.R=q)};a.prototype.Fs=function(a){this.R&&this.R.set("state",f.Q);this.R&&this.R.set("currentTime",a)};a.prototype.Mf=function(a){this.Xc=a;this.R&&this.R.set("mute",this.Xc)};a.prototype.am=function(){this.R.bind(c.Ca("currentTime"),this.Yc,this,o);this.R.bind(c.Ca("duration"),this.Mm,
this,o);this.R.bind(c.Ca("state"),this.Se,this,o);this.R.get("state")!=f.N&&this.Hf()};a.prototype.Zm=function(){this.R.unbind(c.Ca("currentTime"),this.Yc,this,o);this.R.unbind(c.Ca("duration"),this.Mm,this,o);this.R.unbind(c.Ca("state"),this.Se,this,o)};a.prototype.Se=function(){this.Hf()};a.prototype.Yc=function(){this.gk()};a.prototype.Mm=function(){this.gk()};a.prototype.gk=function(){this.R&&e.prototype.gk.call(this,this.R.get("currentTime"),this.R.get("duration"))};return a});
define("q","require,gW,eo,bF,dQ,df,cS,V,ij,bi,hD".split(","),function(a){var b=a("gW");a("eo");var c=a("bF"),f=a("dQ"),e=a("df"),d=a("cS"),h=a("V"),k=a("ij"),i=a("bi"),n=a("hD"),g=b.extend(f,function(a){f.call(this);this.g=a;this.CM=this.mC(k);this.ML=this.mC(h);this.MF=this.mC(n);this.WO=this.mC(i);this.Fb=q});g.prototype.clear=function(){this.gC(this.CM);this.CM=q;this.gC(this.ML);this.ML=q;this.gC(this.MF);this.MF=q;this.gC(this.WO);this.g=this.Fb=this.WO=q};g.prototype.mC=function(a){a=new a(this.g);
a.bind(d.ra,this.Qb,this,o);a.bind(d.$h,this.Ro,this,o);a.bind(d.Ab,this.Fd,this,o);return a};g.prototype.gC=function(a){a.unbind(d.ra,this.Qb,this);a.unbind(d.$h,this.Ro,this);a.unbind(d.Ab,this.Fd,this);a.clear()};g.prototype.lM=function(a,b){return e.qb(b,a)};g.prototype.$W=function(a){return this.lM(a,"HDRPanorama")?this.ML:this.lM(a,"LivePanorama")?this.CM:this.lM(a,"VideoPanorama")?this.MF:this.WO};g.prototype.wv=function(a){(this.Fb=this.$W(a))&&this.Fb.wv(a)};g.prototype.start=function(a){this.Qb();
(this.Fb=this.$W(a))&&this.Fb.start(a)};g.prototype.Jf=function(){if(this.Fb)return this.Fb.Jf()};g.prototype.getTime=function(){return this.Fb?this.Fb.getTime():0};g.prototype.play=function(){this.Fb&&this.Fb.play()};g.prototype.pause=function(){this.Fb&&this.Fb.pause()};g.prototype.Cv=function(){this.Fb&&this.Fb.Cv()};g.prototype.Hv=function(){this.Fb&&this.Fb.Hv()};g.prototype.$G=function(){this.Fb&&this.Fb.$G()};g.prototype.stop=function(){this.Fb&&this.Fb.stop();this.trigger(new c(g.$h,{duration:0,
time:0,steps:m,selectedStep:m}))};g.prototype.end=function(){if(this.Fb){this.Fb.end();this.Fb=q}};g.prototype.Fs=function(a){this.Fb&&this.Fb.Fs(a)};g.prototype.Es=function(a){this.Fb&&this.Fb.Es(a)};g.prototype.gH=function(){this.Fb&&this.Fb.gH()};g.prototype.Xb=function(a){this.Fb&&this.Fb.Xb(a)};g.prototype.Mf=function(a){this.MF.Mf(a)};g.prototype.Qb=function(){this.trigger(new c(g.ra))};g.prototype.Ro=function(a){this.trigger(new c(g.$h,a.data))};g.prototype.Fd=function(a){this.trigger(new c(g.Ab,
a.data))};g.ra="request frame";g.D5="frame display";g.E5="frame hide";g.$h="time change";g.Ab="playback state change";return g});
define("hE",["require","gW","iX","dQ","gX"],function(a){var b=a("gW"),c=a("iX"),f=a("dQ"),e=a("gX"),a=b.extend(f,function(a){f.call(this);this.g=a;this.Id=this.nd=this.R=q;this.k="idle"});a.prototype.start=function(a,b){this.stop();this.R=a;this.nd=b;this.g.We(a)?(this.trigger(c.Ob,{panorama:this.R,camera:this.nd}),this.trigger(c.O,{panorama:this.R,camera:this.nd}),this.trigger(c.ld)):(this.k="waiting ready",this.Id=this.g.create(a),this.Id.set("alpha",0),this.Id.set("loadingActive",o),this.Id.bind(c.Ob,
this.UD,this,o),this.Id.bind(c.O,this.Qe,this,o),this.Id.bind(c.$b,this.xi,this,o),this.g.add(this.Id))};a.prototype.stop=function(){this.Id&&("waiting ready"==this.k&&this.g.remove(this.Id),this.Id.unbind(c.Ob,this.UD,this),this.Id.unbind(c.O,this.Qe,this),this.Id.unbind(c.$b,this.xi,this),this.Id.set("loadingActive",z),this.Id=q,this.k="idle",this.trigger(c.ld))};a.prototype.clear=function(){this.stop()};a.prototype.UD=function(){this.Id.unbind(c.Ob,this.UD,this);this.k="waiting loaded";this.trigger(c.Ob,
{panorama:this.R,camera:this.nd})};a.prototype.Qe=function(){this.Id.unbind(c.Ob,this.UD,this);this.Id.unbind(c.O,this.Qe,this);this.k="idle";this.Id=q;this.trigger(c.O,{panorama:this.R,camera:this.nd});this.trigger(c.ld)};a.prototype.xi=function(a){this.trigger(new e(c.$b,a.Vg))};return a});
define("gg",["gW","bF","dQ","B"],function(a,b,c,f){var e=a.extend(c,function(a){c.call(this);this.g=a;this.Fo=this.R=this.vi=q;this.Ea=this.fa=0;this.na=0.5*Math.PI});e.prototype.clear=function(){this.stop();this.vi=this.g=q};e.prototype.dS=function(a){this.vi!=a&&(this.IJ(),this.vi=a,this.NU())};e.prototype.stop=function(){this.IJ();this.R=q};e.prototype.Xb=function(){this.fa=this.g.Bc();this.Ea=this.g.nc();this.na=this.g.Ce();this.vi&&this.Fo&&this.vi.$i(this.Fo,this.fa,this.Ea,this.na)};e.prototype.display=
function(a){this.R!=a&&(this.IJ(),this.R=a,this.NU())};e.prototype.hide=function(a){this.R==a&&this.stop()};e.prototype.IJ=function(){this.Fo&&(this.Raa(),this.Fo=q)};e.prototype.NU=function(){this.vi&&this.R&&(this.Fo=this.mea(this.R,this.vi.get("map",q)))&&this.Bfa()};e.prototype.mea=function(a,b){for(var c=a.get("mapLocations",[]),e=0;e<c.length;e++){var f=c[e];if(f.get("map")==b)return f}return 0<c.length?c[0]:q};e.prototype.Bfa=function(){this.vi.Wha(this.Fo);this.vi.bind(f.Pf,this.Z_,this,o)};
e.prototype.Raa=function(){this.vi&&(this.vi.Uka(this.Fo),this.vi.unbind(f.Pf,this.Z_,this))};e.prototype.Z_=function(a){this.trigger(new b(e.Pf,{yawDelta:a.data.yawDelta}))};e.Pf="request yaw change";return e});
define("dz",["require","gW","bF","dQ","cZ"],function(a){var b=a("gW"),c=a("bF"),f=a("dQ"),e=a("cZ"),d=b.extend(f,function(a){f.call(this);this.g=a;this.g.bind(e.TH,this.EZ,this,o)});d.prototype.clear=function(){this.g.unbind(e.TH,this.EZ,this,o);this.g=q};d.prototype.za=function(){this.g.za()};d.prototype.EZ=function(a){a=a.data.frameTime;this.trigger(new c(d.kj,{frameTime:a}));this.trigger(new c(d.lj,{frameTime:a}))};d.kj="frameStart";d.lj="positionSet";return d});
define("fi",["require","p","gK"],function(a){function b(){this.aa=this.M=0;this.na=90;this.Hg="landscape";this.gN=z;this.sx=c.lb()}var c=a("p"),f=a("gK");b.prototype.M4=function(a){this.na=this.sx&&"portrait"==this.Hg?f.Yz(a,this.aa,this.M):a};b.prototype.kja=function(a){return this.sx&&"portrait"==this.Hg?f.Gl(a,this.M,this.aa):a};b.prototype.Ml=function(a){return this.na=this.sx&&this.gN?f.Yz(a,this.aa,this.M):a};b.prototype.R3=function(){return this.sx&&this.gN};b.prototype.vp=function(){return this.sx&&
"portrait"==this.Hg};b.prototype.Ce=P("na");b.prototype.WF=function(a){return f.Yz(a,this.aa,this.M)};b.prototype.setSize=function(a,b){this.M=a;this.aa=b;var c=this.PC();this.gN=this.Hg!=c;this.Hg=c};b.prototype.PC=function(){return 0===this.M||0===this.aa?"landscape":this.M<this.aa?"portrait":"landscape"};return b});
define("hk","require,gW,iX,bF,dQ,ca,x,dn,q,hE,gg,dz,fi,cp".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("dQ"),d=a("ca"),h=a("x"),k=a("dn"),i=a("q"),n=a("hE"),g=a("gg"),l=a("dz"),r=a("fi"),p=a("cp"),s=b.extend(e,function(a,b){e.call(this);this.H=a;this.g=b;this.g.set("visible",z);this.yb=new r;this.kc=new l(this.g);this.Vd=new n(this.g);this.X=new k(this.H,this.g,this.yb);this.ga=new h(this.g,this.yb);this.Oc=new i(this.g);this.Im=new g(this.g);this.md=new d(this.g);this.kc.bind(l.kj,
this.Po,this,o);this.kc.bind(l.lj,this.Qo,this,o);this.Vd.bind(c.Ob,this.mZ,this,o);this.Vd.bind(c.ld,this.$x,this,o);this.Vd.bind(c.$b,this.Nm,this,o);this.X.bind(k.ra,this.Qb,this,o);this.X.bind(k.LH,this.tZ,this,o);this.X.bind(k.zH,this.MY,this,o);this.X.bind(k.AH,this.NY,this,o);this.X.bind(k.bq,this.gy,this,o);this.X.bind(k.$p,this.Oo,this,o);this.X.bind(k.aq,this.Pm,this,o);this.X.bind(k.Zp,this.fy,this,o);this.ga.bind(h.ra,this.Qb,this,o);this.ga.bind(h.Nf,this.Oj,this);this.ga.bind(h.jj,this.CZ,
this);this.ga.bind(h.Ab,this.Fd,this,o);this.ga.bind(h.Nd,this.Sj,this,o);this.ga.bind(h.Md,this.Rj,this,o);this.Oc.bind(i.ra,this.Qb,this,o);this.Oc.bind(i.$h,this.Ro,this,o);this.Oc.bind(i.Ab,this.Fd,this,o);this.Im.bind(g.Pf,this.qZ,this,o)});s.prototype.clear=function(){this.Vd.clear();this.kc.clear();this.ga.clear();this.X.clear();this.Oc.clear();this.Im.clear();this.md.clear();this.Vd.unbind(c.Ob,this.mZ,this);this.Vd.unbind(c.ld,this.$x,this);this.Vd.unbind(c.$b,this.Nm,this);this.kc.unbind(l.kj,
this.Po,this);this.kc.unbind(l.lj,this.Qo,this);this.X.unbind(k.ra,this.Qb,this);this.X.unbind(k.LH,this.tZ,this);this.X.unbind(k.zH,this.MY,this);this.X.unbind(k.AH,this.NY,this);this.X.unbind(k.bq,this.gy,this);this.X.unbind(k.$p,this.Oo,this);this.X.unbind(k.aq,this.Pm,this);this.X.unbind(k.Zp,this.fy,this);this.ga.unbind(h.G5,this.Qb,this);this.ga.unbind(h.Nf,this.Oj,this);this.ga.unbind(h.jj,this.CZ,this);this.ga.unbind(h.Ab,this.Fd,this,o);this.ga.unbind(h.Nd,this.Sj,this);this.ga.unbind(h.Md,
this.Rj,this);this.Oc.unbind(i.ra,this.Qb,this);this.Oc.unbind(i.$h,this.Ro,this);this.Oc.unbind(i.Ab,this.Fd,this);this.Im.unbind(g.Pf,this.qZ,this);this.H=this.g=this.md=this.Im=this.Oc=this.X=this.ga=this.kc=this.Vd=q};s.prototype.dS=function(a){this.Im.dS(a)};s.prototype.Wg=function(a,b,c){this.g.set("visible",o);this.Oc.$G();a.set("currentTime",c);this.Vd.start(a,b)};s.prototype.Ds=function(){this.Vd.stop();this.Oc.end();this.ga.end();this.X.hide();this.Im.stop();this.md.end()};s.prototype.Hv=
function(){this.ga.bla();this.Oc.Hv()};s.prototype.Cv=function(){this.ga.pause();this.Oc.Cv()};s.prototype.play=function(){this.ga.play();this.md.play();this.Oc.play()};s.prototype.pause=function(){this.ga.pause();this.md.pause();this.Oc.pause()};s.prototype.stop=function(){this.ga.stop();this.md.stop();this.Oc.stop()};s.prototype.getTime=function(){return this.Oc.getTime()};s.prototype.Ce=function(){return!this.g?m:this.yb.kja(this.g.Ce())};s.prototype.Fd=function(){var a=this.Oc.Jf()||this.ga.Jf();
this.trigger(new f(s.Ab,{state:a}))};s.prototype.kg=function(a){this.ga.kg(a)};s.prototype.FA=function(a){this.ga.FA(a)};s.prototype.Lp=function(a){this.ga.Lp(a)};s.prototype.GA=function(a){this.ga.GA(a)};s.prototype.Mf=function(a){this.Oc.Mf(a)};s.prototype.Is=function(a){this.ga.Is(a)};s.prototype.xja=function(a,b){var c=p.get(a,b,this.g.Bc(),this.g.nc(),this.g.De(),this.g.Ce(),this.g.ua(),this.g.Wa());return c?{x:c.x,y:c.y}:q};s.prototype.Nm=function(a){this.g.OG(o);this.trigger(new f(s.vk,{percent:a.Vg}))};
s.prototype.mZ=function(a){this.Oc.end();this.X.display(a.data.panorama,a.data.camera)};s.prototype.$x=function(){this.g.OG(z);this.trigger(new f(s.Wp))};s.prototype.Qb=function(){this.kc.za()};s.prototype.Po=function(a){a=a.data.frameTime;this.yb.setSize(this.g.ua(),this.g.Wa());this.X.Dn(a);this.ga.Dn(a)};s.prototype.Qo=function(a){a=a.data.frameTime;this.X.Xb(a);this.ga.Xb(a);this.Oc.Xb(a);this.Im.Xb(a);this.md.Xb(a)};s.prototype.gy=function(a){this.Im.display(a.data.panorama);this.Oc.wv(a.data.panorama);
this.trigger(new f(s.bq,{panorama:a.data.panorama}))};s.prototype.tZ=function(a){this.Im.hide(a.data.panorama)};s.prototype.MY=function(a){this.Oc.start(a.data.panorama);this.ga.start(a.data.panorama,a.data.camera);this.md.start(a.data.panorama)};s.prototype.NY=function(){this.Oc.end();this.g.set("visible",z)};s.prototype.fy=function(a){this.ga.end();this.md.end();this.trigger(new f(s.Zp,{panorama:a.data.panorama}))};s.prototype.Pm=function(a){this.trigger(new f(s.aq,{panorama:a.data.panorama}))};
s.prototype.Oo=function(a){this.trigger(new f(s.$p,{panorama:a.data.panorama}))};s.prototype.qZ=function(a){this.ga.iS(a.data.yawDelta,0)};s.prototype.Oj=function(a){this.trigger(new f(s.Nf,a.data))};s.prototype.CZ=function(a){this.trigger(new f(s.jj,a.data))};s.prototype.Sj=function(){this.Oc.gH();this.trigger(new f(s.Nd))};s.prototype.Rj=function(){this.trigger(new f(s.Md))};s.prototype.Bla=function(a){this.Oc.Fs(a)};s.prototype.Es=function(a){this.Oc.Es(a)};s.prototype.Ro=function(a){this.trigger(new f(s.$h,
a.data))};s.vk="loadingProgress";s.Wp="loadingEnd";s.Nf="movementChange";s.jj="positionChange";s.bq="panoramaStart";s.Zp="panoramaEnd";s.aq="panoramaShow";s.$p="panoramaHide";s.Ab="playbackStateChange";s.Nd="userInteractionStart";s.Md="userInteractionEnd";s.$h="timeChange";return s});
define("iN","require,cE,jquery.mod,gW,ho,iX,bF,eo,bI,df,hR,bX,fl,ev,hk,cH,cZ,in,ft,Y,cD,ej".split(","),function(a){var b=a("cE"),c=a("jquery.mod"),f=a("gW");a("ho");var e=a("iX"),d=a("bF"),h=a("eo"),k=a("bI"),i=a("df"),n=a("hR"),g=a("bX"),l=a("fl"),r=a("ev"),p=a("hk"),s=a("cH"),t=a("cZ"),u=a("in"),v=a("ft"),w=a("Y"),y=a("cD"),A=a("ej"),x=f.extend(l,function(){l.call(this,"panorama");this.TL=this.oo=this.wD=this.AJ=this.To=this.eg=this.$I=z;this.HL=o;this.Qq=this.er=this.lC=z;this.IC=this.iL=this.Rb=
this.Pb=0;this.zN=this.BN=m;this.DY=o;this.kf=h.N;this.jD=b(this.jD).bind(this);this.lD=b(this.lD).bind(this);this.lr=[];this.p=this.g=q;this.CY={};for(var a in x.Yl)this.CY[a]=this.p9(a);this.UB=new n(this,"buttonToggleGyroscope",y.di);this.UB.bind(e.pg,function(){this.set("gyroscopeEnabled",o)},this);this.UB.bind(e.ci,function(){this.set("gyroscopeEnabled",z)},this);this.UB.set("pressed",this.get("gyroscopeEnabled")&&u.available);this.P7=new n(this,"buttonCardboardView",y.pc);this.P7.bind(e.S,function(){this.set("viewMode",
x.Pn)},this,o);this.c8=new n(this,"buttonVRView",y.pc);this.c8.bind(e.S,function(){this.set("viewMode",x.Pn)},this,o);w.bind(e.W,function(){this.w1("viewMode");this.trigger(x.SS)},this,o);this.VB=new n(this,"buttonToggleHotspots",y.di);this.VB.bind(e.pg,function(){this.set("hotspotsEnabled",o)},this);this.VB.bind(e.ci,function(){this.set("hotspotsEnabled",z)},this);this.VB.set("pressed",this.get("hotspotsEnabled"));this.Pc=f.Cn(this.ye,this);this.set("hotspotsEnabled",o);this.set("preloadEnabled",
o)});x.NS="cameraPositionChange";x.Nd="userInteractionStart";x.Md="userInteractionEnd";x.vk="loadingProgress";x.RS="preloadMediaShow";x.SS="viewModeChange";i.v("PanoramaPlayer",x).A("Object").K({panorama:"Panorama",video:"Video360",mode:"enum[fast, quality]",viewMode:"enum[standard, cardboard, vr]",preloadEnabled:"bool",state:"enum[stopped, playing, paused]",currentTime:"number",startTime:"number",displayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBar:"bool",hdrPanoramaDisplayPlaybackBarSteps:"bool",
livePanoramaDisplayPlaybackBar:"bool",livePanoramaDisplayPlaybackBarSteps:"bool",videoPanoramaDisplayPlaybackBar:"bool",camera:"PanoramaCamera",viewerArea:"ViewerArea",mapPlayer:"MapPlayer",gyroscopeEnabled:"bool",gyroscopeVerticalDraggingEnabled:"bool",hotspotsEnabled:"bool",yaw:"number",pitch:"number",roll:"number",hfov:"number",mouseControlMode:"enum[drag_acceleration, drag_rotation]",touchControlMode:"enum[drag_acceleration, drag_rotation]",buttonMoveLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonMoveRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMoveUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMoveDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayUp:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonToggleGyroscope:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonCardboardView:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonVRView:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonToggleHotspots:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonZoomIn:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonZoomOut:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Yb([e.mB,x.NS,x.vk,x.Nd,x.Md,x.RS,x.SS,l.cd,g.He,g.mg]).Th({moveLeft:function(){this.gb(s.ew)},moveRight:function(){this.gb(s.fw)},moveUp:function(){this.gb(s.gw)},moveDown:function(){this.gb(s.dw)},playLeft:function(){this.gb(s.tna)},
playRight:function(){this.gb(s.una)},playUp:function(){this.gb(s.vna)},playDown:function(){this.gb(s.rna)},play:function(){this.ag()},pause:function(){this.Xj()},stop:function(){this.wr()},seek:function(a){this.Py(a)},restart:function(){this.vr()},zoomIn:function(){this.gb(s.Wl)},zoomOut:function(){this.gb(s.Xl)},resumeCamera:function(){this.jea()},pauseCamera:function(){this.nda()},getScreenPosition:function(a,b){return this.saa(a,b)}});x.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&
this.p.getTime()||0;case "yaw":return this.g?this.g.Bc():m;case "pitch":return this.g?this.g.nc():m;case "roll":return this.g?this.g.De():m;case "hfov":return this.p?this.p.Ce():m;case "viewMode":return w.isPresenting()?x.Pn:x.NI;case "video":a="panorama"}if(!b)switch(a){case "mouseControlMode":b=k.cT;break;case "touchControlMode":b=k.TT}return l.prototype.get.call(this,a,b)};x.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.$I=o;this.Pc();break;case "startTime":this.To=
o;this.Pc();break;case "video":case "panorama":a="panorama";this.To=o;this.Pc();break;case "camera":this.AJ=o;this.Pc();break;case "viewerArea":this.eg=o;this.Pc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.Qq=o;this.Pc();break;case "mapPlayer":this.wD=o;this.Pc();break;case "gyroscopeEnabled":this.oo=o;this.Pc();break;case "gyroscopeVerticalDraggingEnabled":this.HL=o;this.Pc();
break;case "viewMode":if(b=="vr")b=x.Pn;b==x.Pn&&!w.isPresenting()?w.Ph():b!=x.Pn&&w.isPresenting()&&w.je();b=w.isPresenting()?x.Pn:x.NI;break;case "hotspotsEnabled":this.TL=o;this.Pc();break;case "mouseControlMode":case "touchControlMode":this.lC=o;this.Pc()}l.prototype.set.call(this,a,b)}};x.prototype.Gn=function(a){if(this.er!=a){if(this.er){c(document).off("keydown",this.jD);c(document).off("keyup",this.lD);this.lr=[]}if(this.er=a){c(document).on("keydown",this.jD);c(document).on("keyup",this.lD)}}};
var B={};B[38]=s.gw;B[40]=s.dw;B[37]=s.ew;B[39]=s.fw;B[65]=s.Wl;B[90]=s.Xl;var O=b(B).keys();x.prototype.jD=function(a){a=a.which.toString();if(b(O).contains(a)){this.lr=b.union(this.lr,[a]);this.I1()}};x.prototype.lD=function(a){a=a.which.toString();if(b(this.lr).contains(a)){this.lr=b.without(this.lr,a);this.I1()}};x.prototype.I1=function(){var a=b(this.lr).map(function(a){return B[a]});a.length==0?a.push(s.ld):a.push(s.LT);this.gb(a)};x.prototype.p9=function(a){var b=x.Yl[a],a=new n(this,a,y.pc);
a.bind(e.mb,function(){this.gb(b.movement)},this);b.stopOnRelease&&a.bind(e.Eb,function(){this.gb(s.ld)},this);return a};x.prototype.ye=function(){if(this.eg||this.$I){this.eg=this.$I=z;this.lC=this.oo=this.wD=o;this.Pq();this.get("viewerArea")&&this.get("application")&&this.Mq();this.aF(this.get("viewerArea"))}var a=z;if(this.g){if(this.wD){this.wD=z;this.p.dS(this.get("mapPlayer"))}if(this.lC){this.lC=z;this.p.Lp(this.get("mouseControlMode"));this.p.Is(this.get("touchControlMode"))}if(this.To||
this.AJ){this.IC=this.iL=this.Pb=this.Rb=0;this.zN=this.BN=m;a=o;this.AJ=this.To=z;if(this.get("panorama")){this.FE();this.p.Wg(this.get("panorama"),this.get("camera",new r),this.get("startTime"))}else this.p.Ds()}if(this.HL){this.HL=z;this.p.GA(this.get("gyroscopeVerticalDraggingEnabled",o))}if(this.oo){this.oo=z;var b=this.get("gyroscopeEnabled")&&u.available;if(b&&u.disabled){b=z;v.WS.show(function(){u.LR(function(){this.set("gyroscopeEnabled",o)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",
b);this.p.FA(b);this.UB.set("pressed",b)}if(this.TL){this.TL=z;this.VB.set("pressed",this.get("hotspotsEnabled"))}if(this.Qq){this.Qq=z;a=o}a&&this.Bz()}};x.prototype.ez=function(){this.set("panorama",q)};x.prototype.Mq=function(){var a=this.get("viewerArea"),b=this.get("application");this.g=new t(b,a,this);this.g.P({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new p(a,this.g);this.p.bind(p.Nf,this.Oj,this);this.p.bind(p.jj,this.RY,this);this.p.bind(p.vk,this.Nm,this);this.p.bind(p.Wp,this.Xt,
this);this.p.bind(p.aq,this.Pm,this);this.p.bind(p.$p,this.Oo,this);this.p.bind(p.bq,this.gy,this);this.p.bind(p.Zp,this.fy,this);this.p.bind(p.Ab,this.Fd,this);this.p.bind(p.Nd,this.Sj,this);this.p.bind(p.Md,this.Rj,this);this.p.bind(p.$h,this.Ro,this);this.get("application").bind(e.Ca("mute"),this.ey,this);this.get("application").get("mute",z)&&this.p.Mf(o);w.bind(e.W,this.yi,this,o);this.zu(o)};x.prototype.Pq=function(){if(this.g){this.p.unbind(p.Nf,this.Oj,this);this.p.unbind(p.jj,this.RY,this);
this.p.unbind(p.vk,this.Nm,this);this.p.unbind(p.Wp,this.Xt,this);this.p.unbind(p.aq,this.Pm,this);this.p.unbind(p.$p,this.Oo,this);this.p.unbind(p.bq,this.gy,this);this.p.unbind(p.Zp,this.fy,this);this.p.unbind(p.Ab,this.Fd,this);this.p.unbind(p.Nd,this.Sj,this);this.p.unbind(p.Md,this.Rj,this);this.p.unbind(p.$h,this.Ro,this);this.p.clear();this.get("application").unbind(e.Ca("mute"),this.ey,this);this.g.getParent().removeChild(this.g);this.g=q;w.unbind(e.W,this.yi,this,o);this.zu(z)}};x.prototype.ey=
function(){this.g&&this.p.Mf(this.get("application").get("mute",z))};x.prototype.Fd=function(a){this.kf=a.data.state;this.Jd()};x.prototype.Jd=function(){this.kb(this.DY?this.kf:h.Q)};x.prototype.Sj=function(){this.trigger(new d(x.Nd))};x.prototype.Rj=function(){this.trigger(new d(x.Md))};x.prototype.gy=function(a){this.trigger(new d(x.RS,{panorama:a.data.panorama}))};x.prototype.fy=C();x.prototype.Pm=function(a){this.BD(a.data.panorama)};x.prototype.Oo=function(a){this.AD(a.data.panorama)};x.prototype.Oj=
function(a){for(var b in x.Yl)this.CY[b].set("state",a.data[x.Yl[b].pressedOn]?A.sa:A.hc);this.DY=a.data.stopped;this.Jd();this.trigger(new d(e.mB,a.data))};x.prototype.RY=function(a){this.trigger(new d(x.NS,a.data))};x.prototype.Nm=function(a){this.g.getParent().P({progressPercent:a.data.percent,progressVisible:o});this.trigger(new d(x.vk,a.data))};x.prototype.Xt=function(){this.g.getParent().set("progressVisible",z)};x.prototype.yi=function(){this.set("viewMode",w.isPresenting()?x.Pn:x.NI)};x.prototype.gb=
function(a){this.p&&this.p.kg(a)};x.prototype.ag=function(){this.p.play()};x.prototype.Ii=function(){this.p.stop()};x.prototype.Xj=function(){this.p.pause()};x.prototype.Py=function(a){this.p&&(this.cX()?this.p.Es(a):this.p.Bla(a))};x.prototype.nda=function(){this.p&&this.p.Cv()};x.prototype.jea=function(){this.p&&this.p.Hv()};x.prototype.saa=function(a,b){if(this.p)return this.p.xja(a,b)};x.prototype.tE=function(a){this.Py(a.data.position)};x.prototype.Ro=function(a){this.Rb=a.data.time;this.Pb=
a.data.duration;this.iL=a.data.transitionPosition;this.IC=a.data.transitionLength;this.BN=a.data.steps;this.zN=a.data.selectedStep;this.Bz()};x.prototype.Bz=function(){var a=this.g.getParent(),b=z;if(this.J$()){var c=this.cX(),e=this.jaa();if(c){if(this.IC>0){a.P({playbackBarPosition:this.iL,playbackBarDuration:this.IC,playbackBarSteps:this.BN,playbackBarSelectedStep:this.zN,playbackBarLiveDragging:e});b=o}}else if(this.Pb>0){a.P({playbackBarPosition:this.Rb,playbackBarDuration:this.Pb,playbackBarSteps:m,
playbackBarSelectedStep:m,playbackBarLiveDragging:e});b=o}}a.set("playbackBarVisible",b)};x.prototype.J$=function(){var a=this.get("panorama");return a?i.qb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):i.qb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):i.qb("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",o)):z:z};x.prototype.cX=function(){var a=this.get("panorama");
return!a?z:i.qb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",o):i.qb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",o):z};x.prototype.jaa=function(){var a=this.get("panorama");return!a||i.qb("VideoPanorama",a)?z:o};x.Pn="cardboard";x.NI="standard";x.Yl={buttonMoveLeft:{movement:s.ew,pressedOn:"movingLeft",stopOnRelease:o},buttonMoveRight:{movement:s.fw,pressedOn:"movingRight",stopOnRelease:o},buttonMoveUp:{movement:s.gw,pressedOn:"movingUp",stopOnRelease:o},buttonMoveDown:{movement:s.dw,
pressedOn:"movingDown",stopOnRelease:o},buttonPlayLeft:{movement:[s.ew,s.Q],pressedOn:"movingLeft",stopOnRelease:z},buttonPlayRight:{movement:[s.fw,s.Q],pressedOn:"movingRight",stopOnRelease:z},buttonPlayUp:{movement:[s.gw,s.Q],pressedOn:"movingUp",stopOnRelease:z},buttonPlayDown:{movement:[s.dw,s.Q],pressedOn:"movingDown",stopOnRelease:z},buttonZoomIn:{movement:s.Wl,pressedOn:"zoomingIn",stopOnRelease:o},buttonZoomOut:{movement:s.Xl,pressedOn:"zoomingOut",stopOnRelease:o}};return x});
define("bH","gW,bF,df,bX,iN,cC".split(","),function(a,b,c,f,e,d){a=a.extend(d,function(){d.call(this)});c.v("PanoramaPlayListItem",a).A("PlayListItem").K({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});a.prototype.start=function(){d.prototype.start.call(this);var a=this.get("player");if(a){a.bind(f.He,this.Pm,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(f.He,this.Pm,this);a.get("panorama")==
this.get("media")&&a.set("panorama",q)}d.prototype.stop.call(this)};a.prototype.Pm=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(f.He,this.Pm,this);this.get("player").bind(f.mg,this.Oo,this);this.Xu()}};a.prototype.Oo=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(f.mg,this.Oo,this);this.end()}};return a});
define("ha",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("PanoramaSnapshot",b).A("Object").K({position:"PanoramaCameraPosition",image:"ImageResource"});return b});define("ib",["gW","by"],function(a,b){var c=a.extend(b,function(a,c,d,h){b.call(this);this.vb=a;this.M=c;this.aa=d;this.dL=h});c.prototype.kk=function(){return[this.vb]};c.prototype.Ee=P("vb");c.prototype.Ac=P("M");c.prototype.kd=P("aa");return c});
define("dB","require,cE,gW,df,cJ,dL,ib".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("df"),e=a("cJ"),d=a("dL"),h=a("ib"),a=c.extend(e,function(){e.call(this);this.F=m});f.v("Photo",a).A("Media").K({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});a.prototype.Kc=function(){if(this.F==m){var a=this.get("image");this.F=a?new h(d.jk(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
z)):q}return this.F};a.prototype.wn=function(){var a=this.MC(this.Kc());b(this.get("audios",[])).each(function(b){a=a.concat(b.wn())},this);return a};a.prototype.MC=function(a){return a?a.kk():[]};return a});
define("fQ",["cE","gW","iX","cJ","df"],function(a,b,c,f,e){b=b.extend(f,function(){f.call(this);this.set("loop",z)});e.v("PhotoAlbum",b).A("Media").K({audios:"array[PhotoAlbumAudio]",loop:"bool",playList:"PhotoPlayList"}).Yb([c.qa]);b.prototype.wn=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.wn()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.wn())});return b};return b});
define("fb",["gW","df","fv","fA"],function(a,b,c,f){a=a.extend(c,function(){c.call(this,f.c6)});b.v("PhotoAlbumAudio",a).A("MediaAudio");return a});
define("bW",["eo"],function(a){function b(a){this.aV=a;this.Fk=[];this.Nc=[]}b.prototype.clear=function(){for(var a=0;a<this.Fk.length;a++)this.Fk[a].stop();this.Nc=this.Fk=q};b.prototype.stop=function(){for(var a=0;a<this.Nc.length;a++)this.Nc[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Nc.length;b++)this.Nc[b].get("state")!=a.Q&&this.Nc[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Nc.length;b++)this.Nc[b].get("state")==a.Q&&this.Nc[b].pause()};b.prototype.start=function(){this.stop();
for(var a=0;a<this.aV.length;a++){var b=this.aV[a],e=b.fv();e&&(this.Fk.push(e),b.get("autoplay",z)&&this.Nc.push(e))}for(a=0;a<this.Nc.length;a++)this.Nc[a].play()};return b});define("fa",["gW","bW"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.qE=a})});define("ey",["gW","bW"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Dc=a})});
define("fM",["fa","ey"],function(a,b){function c(){this.Qf=[];this.Bf=[]}c.prototype.clear=function(){this.c5();this.Bf=this.Qf=q};c.prototype.c5=function(){for(var a=0;a<this.Qf.length;a++)this.Qf[a].clear();for(a=0;a<this.Bf.length;a++)this.Bf[a].clear();this.Qf=[];this.Bf=[]};c.prototype.pause=function(){for(var a=0;a<this.Qf.length;a++)this.Qf[a].pause();for(a=0;a<this.Bf.length;a++)this.Bf[a].pause()};c.prototype.play=function(){for(var a=0;a<this.Qf.length;a++)this.Qf[a].play();for(a=0;a<this.Bf.length;a++)this.Bf[a].play()};
c.prototype.stop=function(){for(var a=0;a<this.Qf.length;a++)this.Qf[a].stop();for(a=0;a<this.Bf.length;a++)this.Bf[a].clear();this.Bf=[]};c.prototype.Cma=function(b){b=new a(b);this.Bf.push(b);b.start()};c.prototype.Gma=function(a){for(var b=0;b<this.Bf.length;b++)if(this.Bf[b].qE==a){this.Bf[b].clear();this.Bf.splice(b,1);break}};c.prototype.nS=function(a){a=new b(a);this.Qf.push(a);a.start()};c.prototype.Dma=function(a){for(var b=0;b<this.Qf.length;b++)if(this.Qf[b].Dc==a){this.Qf[b].clear();this.Qf.splice(b,
1);break}};return c});
define("j",["gW","hu"],function(a,b){function c(){this.Y=o;this.$=this.Z=0.5;this.ia=1;this.yc=b.Ie;this.gh=this.hh=100}c.prototype.Rg=function(){this.Kh();return this.Z};c.prototype.Sg=function(){this.Kh();return this.$};c.prototype.lk=function(){this.Kh();return this.ia};c.prototype.DA=function(a,b,c){this.yc=c;this.$=this.Z=0.5;this.ia=1;this.Y=o};c.prototype.Qa=function(a,b,c){this.Z=a;this.$=b;this.ia=c;this.Y=o};c.prototype.setSize=function(a,b){this.hh=a;this.gh=b;this.Y=o};c.prototype.Kh=
function(){if(this.Y){this.Y=z;1>this.ia&&(this.ia=1);var a=Math.min(0.5/this.ia,0.5),b=Math.max(1-0.5/this.ia,0.5);this.Z<a?this.Z=a:this.Z>b&&(this.Z=b);a=Math.min(0.5/this.ia,0.5);b=Math.max(1-0.5/this.ia,0.5);this.$<a?this.$=a:this.$>b&&(this.$=b)}};return c});
define("bc",[],function(){function a(a,c){this.g=a;this.G=c;this.$=this.Z=0.5;this.ia=1;this.HE=z}a.prototype.start=function(){this.$=this.Z=0.5;this.ia=1;this.HE=o};a.prototype.clear=function(){this.G=this.g=q};a.prototype.Qa=function(a,c,f){this.Z=a;this.$=c;this.ia=f};a.prototype.yd=P("HE");a.prototype.Ya=function(){this.HE=z};return a});
define("eL",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(a,c,d){b.call(this);a!=m&&this.set("x",a);c!=m&&this.set("y",c);d!=m&&this.set("zoomFactor",d)});c.v("PhotoCameraPosition",a).A("Object").K({x:"number",y:"number",zoomFactor:"number"});return a});
define("g",["gW","bc","eL","iM","be"],function(a,b,c,f,e){a=a.extend(b,function(a,c){b.call(this,a,c);this.J=q});a.prototype.start=function(a){var b=a.get("initialPosition",new c(0.5,0.5,1)),k=a.get("targetPosition",new c(0.5,0.5,1));this.J=new f(a.get("easing","linear"),[new e("x",b.get("x",0.5),k.get("x",0.5)),new e("y",b.get("y",0.5),k.get("y",0.5)),new e("zoom",b.get("zoomFactor",1),k.get("zoomFactor",1))],a.get("duration",1E3));this.Ya(0)};a.prototype.clear=function(){this.J=q;b.prototype.clear.call(this)};
a.prototype.yd=function(){return this.J!=q};a.prototype.Ya=function(a){this.J&&(this.J.Ya(a),this.G.Qa(this.J.Xa("x"),this.J.Xa("y"),this.J.Xa("zoom")),this.Z=this.G.Rg(),this.$=this.G.Sg(),this.ia=this.G.lk(),this.J.wd()&&(this.J=q))};return a});
define("bM","gW,bF,dQ,df,eo,hu,j,bc,g,iX".split(","),function(a,b,c,f,e,d,h,k,i,n){var g=a.extend(c,function(a,b){c.call(this);this.g=a;this.Jb=b;this.g.bind(n.hb,this.cb,this);this.k=e.N;this.Bh=this.qE=this.nd=this.F=q;this.G=new h});g.prototype.clear=function(){this.end();this.G=q;this.g.unbind(n.hb,this.cb,this);this.g=q};g.prototype.end=function(a){if(this.F==a||typeof a=="undefined"){this.mW();this.nd=this.qE=this.nd=this.F=q}};g.prototype.start=function(a){if(this.F!=a){this.end(this.F);var b=
a.get("media"),c=a.get("camera"),e=b.get("width",100),f=b.get("height",100),g=c?c.get("scaleMode",d.Ie):d.Ie;this.F=a;this.nd=c;this.qE=b;b.Kc();this.ba=o;this.G.DA(e,f,g);this.r9(c);this.ea()}};g.prototype.stop=function(){if(this.k!=e.N){this.k=e.N;if(this.Bh){this.Bh.start(this.nd);this.ea()}}};g.prototype.play=function(){if(this.k==e.N||this.k==e.Zb){this.k=e.Q;this.ea()}};g.prototype.pause=function(){if(this.k==e.Q)this.k=e.Zb};g.prototype.Dn=function(a){if(this.Bh&&this.Bh.yd()){if(this.k==e.Q){this.Bh.Ya(a);
this.ea()}this.Gh(this.Bh.Z,this.Bh.$,this.Bh.ia)}};g.prototype.r9=function(a){this.mW();this.Bh=f.qb("MovementPhotoCamera",a)?new i(this.g,this.G):new k(this.g,this.G);this.Bh.start(a)};g.prototype.mW=function(){if(this.Bh){this.Bh.clear();this.Bh=q}};g.prototype.cb=function(){this.G.setSize(this.g.ua(),this.g.Wa());this.ea()};g.prototype.ea=function(){this.trigger(new b(g.ra))};g.prototype.Gh=function(a,b,c){this.Jb.Qa(this.F,a,b,c)};g.ra="request frame";return g});
define("eV","require,cE,gW,bF,dQ,iX,eQ,hu".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("bF"),e=a("dQ"),d=a("iX");a("eQ");var h=a("hu"),k=c.extend(e,function(a,b){e.call(this);this.$y=[];this.H=a;this.g=b});k.prototype.Bs=function(a){this.mo(a).Bs();return this};k.prototype.Tc=function(a,b){this.mo(a).Tc(b);return this};k.prototype.Uh=function(a,b){this.mo(a).Uh(b);return this};k.prototype.Qa=function(a,b,c,e){this.mo(a).Qa(b,c,e);return this};k.prototype.Oi=function(a){this.mo(a).Oi();return this};
k.prototype.stop=function(){this.xW(function(a){a.clear()});this.$y=[]};k.prototype.clear=function(){this.stop();this.g=this.H=this.$y=q};k.prototype.Xb=function(){this.xW(function(a){a.update()})};k.prototype.mo=function(a){var b=this.g$(a);if(!b){b=new i(a,this.g);b.bind(i.HT,this.Hba,this);b.bind(i.GT,this.Gba,this);this.$y.push(b)}return b};k.prototype.xW=function(a){b(this.$y).each(a,this)};k.prototype.g$=function(a){return b(this.$y).find(function(b){return b.getItem()==a})};k.prototype.Hba=
function(){this.ea()};k.prototype.Gba=function(a){this.trigger(new f(k.PH,{item:a.source.getItem()}))};k.prototype.ea=function(){this.trigger(new f(k.ra))};k.ra="request frame";k.PH="photo preload end";var i=c.extend(e,function(a,b){e.call(this);this.F=a;this.g=b;var c=a.get("camera");this.yc=c?c.get("scaleMode",h.Ie):h.Ie;this.cg=a.get("media").Kc();this.cg.bind(d.O,this.Qe,this);this.cg.bind(d.dd,this.Jo,this);this.V=i.uw;this.$=this.Z=0.5;this.ia=1;this.Rf=0;this.QB=z;this.Ed=0;this.Y=z});i.prototype.getItem=
P("F");i.prototype.Bs=function(){this.V==i.uw?this.vE():this.u1()};i.prototype.Tc=function(a){if(this.Rf!=a){this.Rf=a;this.wc()}};i.prototype.Uh=function(a){if(this.Ed!=a){this.Ed=a;this.wc()}};i.prototype.Qa=function(a,b,c){if(this.Z!=a||this.$!=b||this.ia!=c){this.Z=a;this.$=b;this.ia=c;this.wc()}};i.prototype.Oi=function(){if(!this.QB){this.QB=o;this.wc()}};i.prototype.clear=function(){this.V==i.DB&&this.$o();(this.V==i.rw||this.V==i.tw||this.V==i.sw)&&this.qp();this.cg.unbind(d.O,this.Qe);this.cg.unbind(d.dd,
this.Jo);this.cg=q};i.prototype.update=function(){if(this.Y){this.Y=z;if(this.Ed>-1&&this.Ed<1&&this.Rf>0){this.V==i.uw&&this.Fx();this.V==i.rw&&this.S6();if(this.V==i.DB){if(this.QB){this.g.Sz(this.cg);this.QB=z}this.g.jg(this.cg,this.Rf);this.g.Qla(this.cg,this.Ed);this.g.JA(this.cg,this.Z,this.$,this.ia)}}else{this.V==i.DB&&this.$o();(this.V==i.rw||this.V==i.sw)&&this.qp()}}};i.prototype.wc=function(){if(!this.Y){this.Y=o;this.Hb()}};i.prototype.Hb=function(){this.trigger(new f(i.HT))};i.prototype.vE=
function(){this.V=i.tw;this.g.zn(this.cg)};i.prototype.Fx=function(){this.V=i.sw;this.g.zn(this.cg)};i.prototype.S6=function(){this.V=i.DB;this.g.Rz(this.cg);this.g.Tla(this.cg,this.yc)};i.prototype.$o=function(){this.V=i.rw;this.g.removeItem(this.cg)};i.prototype.qp=function(){this.V=i.uw;this.g.Xh(this.cg)};i.prototype.Qe=function(){if(this.V==i.tw||this.V==i.sw){var a=this.V==i.tw;this.V=i.rw;this.wc();a&&this.u1()}};i.prototype.Jo=function(){if(this.V==i.tw||this.V==i.sw)this.V=i.uw};i.prototype.u1=
function(){this.trigger(new f(i.GT))};i.HT="requestUpdate";i.GT="preloadEnd";i.uw="unloaded";i.tw="preloading";i.sw="loading";i.rw="loaded";i.DB="added";return k});define("id",[],function(){return{sk:"blending",Ck:"scroll"}});
define("br","cE,gW,bF,dQ,iX,eV,id".split(","),function(a,b,c,f,e,d,h){function k(b,c,e){this.Oh=b;this.item=c;this.m5=e;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=z}k.prototype.isEqual=function(a){return a&&a.Oh==this.Oh&&a.item==this.item};var i=b.extend(f,function(a,b,c){f.call(this);this.H=a;this.g=b;this.Jb=c;this.Jb.bind(d.PH,this.k_,this);this.oz=h.sk;this.V=i.qw;this.Vc=new k(q,q,0);this.nm=this.Zf=this.re=q;this.pz=m;this.gp=0});i.prototype.qma=L("oz");
i.prototype.jS=L("gp");i.prototype.vS=function(a,b,c){this.Zf=q;a=new k(a,b,c);if(!a.isEqual(this.Vc)){this.Zf=a;this.uZ()}};i.prototype.clear=function(){(this.V==i.GB||this.V==i.EB)&&this.trigger(new c(i.Ln,{album:this.re.Oh,item:this.re.item}));this.V=i.qw;this.g=this.H=this.nm=this.Vc=this.re=this.Zf=q;this.Jb.unbind(d.PH,this.k_,this);this.Jb=q};i.prototype.Xb=function(a){if(this.V!=i.qw){this.pz=this.pz+a;a=this.re.m5;a=this.pz>=a?1:this.pz/a;this.V==i.EB?this.eha(a):this.V==i.FB?this.fha(a):
this.oz==h.sk?this.Xga(a):this.wha(a);a<1?this.ea():this.Tq()}};i.prototype.eha=function(a){this.Jb.Tc(this.re.item,a).Uh(this.re.item,0)};i.prototype.fha=function(a){this.Jb.Tc(this.Vc.item,1-a).Uh(this.Vc.item,0)};i.prototype.Xga=function(a){this.Jb.Tc(this.re.item,Math.min(1,a*2)).Uh(this.re.item,0);this.Jb.Tc(this.Vc.item,Math.min(1,(1-a)*2)).Uh(this.Vc.item,0)};i.prototype.wha=function(a){var b=this.Vc.Oh!=this.re.Oh||this.Vc.index<this.re.index;this.Jb.Uh(this.re.item,(b?1-a:a-1)*(1+this.gp)).Tc(this.re.item,
1);this.Jb.Uh(this.Vc.item,(b?-a:a)*(1+this.gp)).Tc(this.Vc.item,1)};i.prototype.uZ=function(){this.Zf&&this.V==i.qw&&(this.Zf.item&&!this.Zf.loaded?this.Jb.Bs(this.Zf.item):this.Un())};i.prototype.k_=function(a){if(this.Zf&&this.Zf.item==a.data.item){this.Zf.loaded=o;this.uZ()}};i.prototype.Un=function(){if(this.nm&&this.nm!=this.Zf.Oh){this.trigger(new c(i.hj,{album:this.nm}));this.nm=q}this.trigger(new c(i.WH));if(this.H.get("transitionMode")=="fade_out_fade_in"&&this.Zf.item!=q&&this.Vc.item!=
q){this.V=i.FB;this.re=new k(this.Vc.Oh,q,this.Vc.m5)}else{this.re=this.Zf;this.Zf=q;if(this.Vc.item)if(this.re.item)this.V=i.GB;else{if(this.Vc.item)this.V=i.FB}else this.V=i.EB}if(this.V==i.GB||this.V==i.EB){this.Jb.Oi(this.re.item);this.trigger(new c(i.cq,{album:this.re.Oh,item:this.re.item}))}this.pz=0;this.ea()};i.prototype.Tq=function(){(this.V==i.GB||this.V==i.FB)&&this.trigger(new c(i.Ln,{album:this.Vc.Oh,item:this.Vc.item}));this.Vc=this.re;if(this.nm!=this.Vc.Oh){this.nm=this.Vc.Oh;this.trigger(new c(i.ij,
{album:this.nm}))}this.V=i.qw;if(this.Zf==q){this.Vc.item&&this.trigger(new c(i.dq,{album:this.Vc.Oh,item:this.Vc.item}));this.trigger(new c(i.XH,{album:this.Vc.Oh,item:this.Vc.item}))}else this.Un()};i.prototype.ea=function(){this.trigger(new c(i.ra))};i.qw="stopped";i.GB="blending";i.FB="fading_out";i.EB="fading_in";i.ra="request frame";i.WH="transition begin";i.XH="transition end";i.cq="photo added";i.Ln="photo removed";i.dq="photo displayed";i.ij="photo album show";i.hj="photo album hide";return i});
define("dx","cE,gW,bF,dQ,iX,df,hu,eL,j,bc,g,iM,be".split(","),function(a,b,c,f,e,d,h,k,i,n,g,l,r){var p=b.extend(f,function(a,b,c){f.call(this);this.H=a;this.g=b;this.Jb=c;this.Ei=this.si=this.F=this.Dc=this.va=q;this.Dh=m;this.hF=0;this.Jg=z;this.Ed=0;this.FD=this.Ei?-1:0;this.zD=this.si?1:0;this.J=q;this.Ki=400;this.gp=0;this.G=new i});p.prototype.clear=function(){this.Jb=this.g=this.H=this.nm=q};p.prototype.wla=function(b,c){this.Dc=b;this.F=c;var e=b&&b.get("playList")&&b.get("playList").get("items")||
[],d=a(e).indexOf(c);this.si=d>0?e[d-1]:q;this.Ei=d<e.length-1?e[d+1]:q;this.Ed=0;this.FD=this.Ei?-1:0;this.zD=this.si?1:0;this.vE()};p.prototype.enable=function(){if(this.va=this.g.getParent()){this.va.bind(e.mb,this.Gb,this,o);this.va.bind(e.oc,this.qh,this,o);this.va.bind(e.Eb,this.Af,this,o);this.vE()}};p.prototype.disable=function(){if(this.va){this.va.unbind(e.mb,this.Gb,this);this.va.unbind(e.oc,this.qh,this);this.va.unbind(e.Eb,this.Af,this);this.va=q}};p.prototype.pma=L("Ki");p.prototype.jS=
L("gp");p.prototype.vE=function(){if(this.va){this.si&&this.Jb.Bs(this.si);this.Ei&&this.Jb.Bs(this.Ei)}};p.prototype.IY=function(){return(new Date).getTime()};p.prototype.Gb=function(a){if(!this.Jg){this.Dh=a.x;this.hF=0;this.NN=this.IY();this.Jg=o;this.J=q;this.trigger(new c(p.BH));if(this.si){a=this.kX(this.si);this.Jb.Qa(this.si,a.x,a.y,a.zoom)}if(this.Ei){a=this.kX(this.Ei);this.Jb.Qa(this.Ei,a.x,a.y,a.zoom)}}};p.prototype.qh=function(a){if(this.Jg){var b=a.x-this.Dh,c=b/this.va.ua(),e=this.IY()-
this.NN;this.hF=b/e;this.NN=this.NN+e;this.Dh=a.x;this.Ed=Math.max(this.FD,Math.min(this.zD,this.Ed+c));this.ea()}};p.prototype.Af=function(){if(this.Jg){this.Jg=z;var a,b;if(this.hF>1){a="quad_out";b=this.zD}else if(this.hF<-1){a="quad_out";b=this.FD}else{a="quad_in_out";b=this.Ed<-0.5?this.FD:this.Ed>0.5?this.zD:0}this.J=new l(a,[new r("offset",this.Ed,b,1E3/this.Ki)],0);this.ea()}};p.prototype.Xb=function(a){if(this.Jg||this.J){if(this.J){this.J.Ya(a);this.Ed=this.J.Xa("offset");if(this.J.wd()){this.J=
q;this.U9()}else this.ea()}this.F&&this.Jb.Uh(this.F,this.Ed*(1+this.gp)).Tc(this.F,1);this.si&&this.Jb.Uh(this.si,(this.Ed-1)*(1+this.gp)).Tc(this.si,1);this.Ei&&this.Jb.Uh(this.Ei,(this.Ed+1)*(1+this.gp)).Tc(this.Ei,1)}};p.prototype.U9=function(){this.trigger(new c(p.CH,{album:this.Dc,item:this.Ed<0?this.Ei:this.Ed>0?this.si:this.F}))};p.prototype.ea=function(){this.trigger(new c(p.ra))};p.prototype.kX=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,e=b?b.get("scaleMode",h.Ie):h.Ie,f={};if(d.qb("MovementPhotoCamera",b)){b=b.get("initialPosition",new k(0.5,0.5,1));f.x=b.get("x",0.5);f.y=b.get("y",0.5);f.zoom=b.get("zoomFactor",0.5)}else{f.x=0.5;f.y=0.5;f.zoom=1}this.G.DA(a,c,e);this.G.setSize(this.g.ua(),this.g.Wa());this.G.Qa(f.x,f.y,f.zoom);f.x=this.G.Rg();f.y=this.G.Sg();f.zoom=this.G.lk();return f};p.ra="request frame";p.BH="interaction begin";p.CH="interaction end";return p});
define("fH","gW,bF,dQ,iX,eV,id,br,dx".split(","),function(a,b,c,f,e,d,h,k){var i=a.extend(c,function(a,b,e){c.call(this);this.H=a;this.g=b;this.Jb=e;this.oz=d.sk;this.Ki=1E3;this.gd=new h(this.H,this.g,this.Jb);this.gd.bind(h.ra,this.Qb,this,o);this.gd.bind(h.WH,this.OY,this,o);this.gd.bind(h.XH,this.PY,this,o);this.gd.bind(h.cq,this.hy,this,o);this.gd.bind(h.Ln,this.ky,this,o);this.gd.bind(h.dq,this.jy,this,o);this.gd.bind(h.hj,this.Pj,this,o);this.gd.bind(h.ij,this.wi,this,o);this.Bg=new k(this.H,
this.g,this.Jb);this.Bg.bind(k.ra,this.Qb,this,o);this.Bg.bind(k.BH,this.rY,this,o);this.Bg.bind(k.CH,this.sY,this,o)});i.prototype.YG=function(a,b){this.oz=a;this.Ki=b;this.gd.qma(a);this.Bg.pma(b);this.gd.jS(0.05);this.Bg.jS(0.05)};i.prototype.display=function(a,b){this.gd.vS(a,b,this.Ki)};i.prototype.hide=function(){this.gd.vS(q,q,this.Ki)};i.prototype.clear=function(){this.gd.unbind(h.ra,this.Qb,this);this.gd.unbind(h.WH,this.OY,this);this.gd.unbind(h.XH,this.PY,this);this.gd.unbind(h.cq,this.hy,
this);this.gd.unbind(h.Ln,this.ky,this);this.gd.unbind(h.dq,this.jy,this);this.gd.unbind(h.hj,this.Pj,this);this.gd.unbind(h.ij,this.wi,this);this.gd.clear();this.gd=q;this.Bg.bind(k.ra,this.Qb,this,o);this.Bg.bind(k.BH,this.rY,this,o);this.Bg.bind(k.CH,this.sY,this,o);this.Bg.clear();this.Jb=this.g=this.H=this.Bg=q};i.prototype.Xb=function(a){this.gd.Xb(a);this.Bg.Xb(a)};i.prototype.Qb=function(){this.ea()};i.prototype.hy=function(a){this.trigger(new b(i.cq,a.data))};i.prototype.ky=function(a){this.trigger(new b(i.Ln,
a.data))};i.prototype.jy=function(a){this.trigger(new b(i.dq,a.data));this.Bg.wla(a.data.album,a.data.item)};i.prototype.Pj=function(a){this.trigger(new b(i.hj,a.data))};i.prototype.wi=function(a){this.trigger(new b(i.ij,a.data))};i.prototype.OY=function(){this.Bg.disable()};i.prototype.PY=function(a){this.oz==d.Ck&&a.data.item&&this.Bg.enable()};i.prototype.rY=function(){this.trigger(new b(i.OS))};i.prototype.sY=function(a){this.gd.vS(a.data.album,a.data.item,0);this.trigger(new b(i.PS,a.data))};
i.prototype.ea=function(){this.trigger(new b(i.ra))};i.ra="request frame";i.cq="photo added";i.Ln="photo removed";i.dq="photo displayed";i.ij="photo album show";i.hj="photo album hide";i.OS="manual interaction begin";i.PS="manual interaction end";return i});
define("fo","require,cE,gW,r,bF,dQ,eo".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("r"),e=a("bF"),d=a("dQ"),h=a("eo"),k=c.extend(d,function(){d.call(this);this.Dc=q;this.k=h.N;this.vO=q});k.prototype.clear=function(){this.DQ()};k.prototype.nS=function(a){this.DQ();this.Dc=a;this.k=h.Q;this.vO=f.watch(this.Dc,"playList.selectedIndex",this.Kr,this);this.Dc.get("playList").get("selectedIndex")==0?this.Kr():this.Dc.get("playList").set("selectedIndex",0)};k.prototype.DQ=function(){if(this.Dc){this.k=
h.N;this.vO.unwatch();this.Dc=this.vO=q}};k.prototype.stop=function(){if(this.k!=h.N){this.k=h.N;this.Dc.get("playList").set("selectedIndex",0)}};k.prototype.play=function(){if(this.k==h.N){this.Dc.get("playList").set("selectedIndex",0);this.k=h.Q;this.Kr()}else if(this.k==h.Zb)this.k=h.Q};k.prototype.pause=function(){if(this.k==h.Q)this.k=h.Zb};k.prototype.next=function(){var a=this.Dc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.Dc.get("loop"))&&a.set("selectedIndex",
(b+1)%c)};k.prototype.CR=function(){var a=this.Dc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.Dc.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};k.prototype.BG=function(a){this.mfa(a)};k.prototype.kka=function(a){if(this.Dc){var c=b(this.Dc.get("playList").get("items")).last();if(a==c&&!this.Dc.get("loop")){this.k=h.N;this.trigger(new e(k.yH,{album:this.Dc}))}else this.next()}};k.prototype.Kr=function(){var a=this.uaa();a>=0&&(this.k!=h.Q&&a!=0?this.trigger(new e(k.RH)):
this.trigger(new e(k.GH,{album:this.Dc,item:this.Dc.get("playList").get("items")[a]})))};k.prototype.uaa=function(){return this.Dc?this.Dc.get("playList").get("selectedIndex"):-1};k.prototype.mfa=function(a){if(this.Dc){var c=this.Dc.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};k.RH="play request";k.GH="item request";k.yH="album end";return k});
define("bR","cE,gW,iX,bF,dQ,eo".split(","),function(a,b,c,f,e,d){var h=b.extend(e,function(a){e.call(this);this.H=a;this.mz=this.F=q;this.Fy=m;this.iD=z;this.k=d.N});h.prototype.BG=function(a){this.CK();if(this.F=a){a=this.F.get("media").get("duration",0);this.Fy=a==0?m:Math.max(0,a-this.H.get("transitionDuration"));this.iD=z;this.k==d.Q&&this.UK()}};h.prototype.clear=function(){this.BG(q)};h.prototype.stop=function(){if(this.k!=d.N){this.CK();this.kb(d.N)}};h.prototype.play=function(){if(this.k==
d.N){this.kb(d.Q);if(this.F){this.iD=z;this.Fy=this.F.get("media").get("duration",0);this.UK()}}else if(this.k==d.Zb){this.kb(d.Q);this.F&&this.UK()}};h.prototype.pause=function(){if(this.k==d.Q){this.kb(d.Zb);this.oda()}};h.prototype.UK=function(){if(!this.iD){this.iD=o;this.trigger(new f(h.HH,{item:this.F}))}this.V9()};h.prototype.V9=function(){if(this.Fy!=m){var a=this;this.g1=(new Date).getTime()+this.Fy;this.mz=setTimeout(function(){a.mz=q;a.nga()},this.Fy)}else this.g1=m};h.prototype.CK=function(){if(this.mz){clearTimeout(this.mz);
this.mz=q}};h.prototype.oda=function(){this.CK();Math.max(0,this.g1-(new Date).getTime())};h.prototype.nga=function(){var a=this.F;this.F=q;this.trigger(new f(h.FH,{item:a}))};h.prototype.kb=function(a){if(this.k!=a){this.k=a;this.trigger(new f(h.Ab,{state:this.k}))}};h.Ab="playback state change";h.HH="item start";h.FH="item end";return h});
define("ir",["gW","bF","dQ","P","p"],function(a,b,c,f,e){var d=a.extend(c,function(a){c.call(this);this.ba=o;this.Aj=z;this.g=a;this.mi=e.browser()==e.YA&&e.Zd()==e.AI?3:1;this.Xf=this.Zw=0});d.prototype.clear=function(){this.ba=z;this.g=q;this.Xf=this.Zw=0};d.prototype.za=function(){this.Aj||(this.Aj=o,f.za(this.Pe,this))};d.prototype.Pe=function(a){this.ba&&(this.Zw++,this.Xf+=a,this.Zw==this.mi?(this.Zw=0,this.Aj=z,a=this.Xf,this.Xf=0,this.trigger(new b(d.kj,{frameTime:a})),this.trigger(new b(d.lj,
{frameTime:a})),this.g.render()):f.za(this.Pe,this))};d.kj="frameStart";d.lj="positionSet";return d});
define("ed","gW,iX,bF,dQ,fM,bM,fH,fo,bR,eV,ir".split(","),function(a,b,c,f,e,d,h,k,i,n,g){var l=a.extend(f,function(a,b){f.call(this);this.H=a;this.g=b;this.ve=new k(this.g);this.Va=new i(this.H);this.Jb=new n(this.H,this.g);this.X=new h(this.H,this.g,this.Jb);this.ga=new d(this.g,this.Jb);this.kc=new g(this.g);this.md=new e;this.Jb.bind(n.ra,this.Qb,this,o);this.ve.bind(k.GH,this.fZ,this,o);this.ve.bind(k.RH,this.yZ,this,o);this.ve.bind(k.yH,this.iy,this,o);this.Va.bind(i.HH,this.gZ,this);this.Va.bind(i.FH,
this.eZ,this);this.Va.bind(i.Ab,this.Fd,this,o);this.X.bind(h.ra,this.Qb,this,o);this.X.bind(h.cq,this.hy,this,o);this.X.bind(h.Ln,this.ky,this,o);this.X.bind(h.dq,this.jy,this,o);this.X.bind(h.hj,this.Pj,this,o);this.X.bind(h.ij,this.wi,this,o);this.X.bind(h.OS,this.Aca,this,o);this.X.bind(h.PS,this.Bca,this,o);this.ga.bind(d.ra,this.Qb,this,o);this.kc.bind(g.kj,this.Po,this,o);this.kc.bind(g.lj,this.Qo,this,o)});l.prototype.clear=function(){this.ve.clear();this.Va.clear();this.X.clear();this.ga.clear();
this.kc.clear();this.md.clear();this.Jb.clear();this.Jb.unbind(n.ra,this.Qb,this);this.ve.unbind(k.GH,this.fZ,this);this.ve.unbind(k.yH,this.iy,this);this.ve.unbind(k.RH,this.yZ,this);this.Va.unbind(i.HH,this.gZ,this);this.Va.unbind(i.FH,this.eZ,this);this.Va.unbind(i.Ab,this.Fd,this);this.X.unbind(h.ra,this.Qb,this);this.X.unbind(h.cq,this.hy,this);this.X.unbind(h.Ln,this.ky,this);this.X.unbind(h.dq,this.jy,this);this.X.unbind(h.hj,this.Pj,this);this.X.unbind(h.ij,this.wi,this);this.ga.unbind(d.ra,
this.Qb,this);this.kc.unbind(g.kj,this.Po,this);this.kc.unbind(g.lj,this.Qo,this);this.H=this.g=this.Jb=this.md=this.kc=this.ga=this.X=this.Va=this.ve=q};l.prototype.YG=function(a,b){this.X.YG(a,b)};l.prototype.fma=function(a){this.ve.nS(a)};l.prototype.Ds=function(){this.ve.DQ();this.Va.stop();this.X.hide();this.ga.end();this.md.c5()};l.prototype.next=function(){this.ve.next()};l.prototype.CR=function(){this.ve.CR()};l.prototype.stop=function(){this.Va.stop();this.md.stop();this.ve.stop();this.ga.stop()};
l.prototype.play=function(){this.Va.play();this.md.play();this.ve.play();this.ga.play()};l.prototype.pause=function(){this.Va.pause();this.md.pause();this.ve.pause();this.ga.pause()};l.prototype.Aca=function(){this.Va.pause();this.md.pause();this.ve.pause();this.ga.pause()};l.prototype.Bca=function(){this.Va.play();this.md.play();this.ve.play();this.ga.play()};l.prototype.fZ=function(a){this.X.display(a.data.album,a.data.item)};l.prototype.yZ=function(){this.play()};l.prototype.Qb=function(){this.kc.za()};
l.prototype.Po=function(a){this.ga.Dn(a.data.frameTime)};l.prototype.Qo=function(a){a=a.data.frameTime;this.X.Xb(a);this.Jb.Xb(a)};l.prototype.hy=function(a){this.ga.start(a.data.item)};l.prototype.ky=function(a){var b=a.data.album,a=a.data.item,e=a.get("media");this.ga.end(a);this.md.Gma(e);this.trigger(new c(l.OH,{photoAlbum:b,item:a}))};l.prototype.jy=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.ve.BG(a);this.Va.BG(a);this.trigger(new c(l.NH,{photoAlbum:b,item:a}))};l.prototype.gZ=
function(a){this.md.Cma(a.data.item.get("media"))};l.prototype.eZ=function(a){this.ve.kka(a.data.item)};l.prototype.iy=function(a){this.Va.stop();this.md.stop();this.trigger(new c(l.MH,{photoAlbum:a.data.album}))};l.prototype.wi=function(a){a=a.data.album;this.md.nS(a);this.Va.play();this.ga.play();this.trigger(new c(l.ij,{photoAlbum:a}))};l.prototype.Pj=function(a){a=a.data.album;this.md.Dma(a);this.trigger(new c(l.hj,{photoAlbum:a}))};l.prototype.Fd=function(a){this.trigger(new c(l.Ab,{state:a.data.state}))};
l.ij="photoAlbumShow";l.MH="photoAlbumEnd";l.hj="photoAlbumHide";l.NH="photoBegin";l.OH="photoEnd";l.Ab="playbackStateChange";return l});
define("eI","require,jquery.mod,cE,hu,gS,hj,p".split(","),function(a){function b(a,b){this.F=a;this.T=b;this.wa=a.Ac();this.Ha=a.kd();this.DC=a.dL;this.lQ=this.Ex=0;this.Rf=1;this.Ed=0;this.Y=o;this.bK();this.Oa=this.Ja=100;this.$=this.Z=0.5;this.ia=1;this.zy=o;this.Fc=1;this.yW={};this.PX={};this.X1=h.yQ&&k.browser()!=k.Zg}var c=a("jquery.mod"),f=a("cE"),e=a("hu"),d=a("gS"),h=a("hj"),k=a("p");b.prototype.bK=function(){this.zB=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Ja+
"px",height:this.Oa+"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.zB.css(a);this.CI=c(d.vd(this.F.Ee()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.wa+"px",height:this.Ha+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.CI.css(a);this.zB.append(this.CI)};b.prototype.pb=
P("zB");b.prototype.getItem=P("F");b.prototype.Rg=P("Z");b.prototype.Sg=P("$");b.prototype.lk=P("ia");b.prototype.ua=function(){return Math.round(this.wa*this.ia*this.Fc)};b.prototype.Wa=function(){return Math.round(this.Ha*this.ia*this.Fc)};b.prototype.Tc=function(a){if(this.Rf!=a){this.Rf=a;this.Y=o}};b.prototype.Mp=function(a){if(this.yc!=a){this.yc=a;this.Y=o}};b.prototype.Ll=function(a,b){if(this.Ja!=a||this.Oa!=b){this.Ja=a;this.Oa=b;this.Y=o}};b.prototype.Qa=function(a,b,c){if(this.Z!=a||this.$!=
b||this.ia!=c){this.Z=a;this.$=b;this.ia=c;this.Y=o}};b.prototype.Uh=function(a){if(this.Ed!=a){this.Ed=a;this.Y=o}};b.prototype.xla=function(a){if(this.lQ!=a){this.lQ=a;this.Y=o}};b.prototype.render=function(){if(this.Y){this.Y=z;switch(this.yc){case e.NONE:this.Fc=1;break;case e.wk:this.Fc=this.Ja/this.wa;break;case e.ng:this.Fc=this.Oa/this.Ha;break;case e.Ql:this.Fc=this.wa*this.Oa>this.Ha*this.Ja?this.Oa/this.Ha:this.Ja/this.wa;break;default:this.Fc=this.wa*this.Oa>this.Ha*this.Ja?this.Ja/this.wa:
this.Oa/this.Ha}var a=this.ia*this.Fc,b=this.Ja*0.5-this.Z*this.wa*a,c=this.Oa*0.5-this.$*this.Ha*a,d=this.Ja*this.Ed,h=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},k={};k.width=h(this.Ja,0)+"px";k.height=h(this.Oa,0)+"px";k.transform=this.X1?"translate3d("+h(d,2)+"px, 0px, 0px)":"translate("+h(d,2)+"px, 0px)";k["-moz-transform"]=k["-webkit-transform"]=k["-ms-transform"]=k.transform;k["z-index"]=this.lQ;if(this.Rf==0)k.display="none";else{k.display="block";if(this.Rf==1){k.filter=
k["-ms-filter"]="";k.opacity=""}else{k.filter=k["-ms-filter"]="alpha(opacity="+Math.round(this.Rf*100)+")";k.opacity=this.Rf}}d=[];if(this.X1){d.push("translate3d("+h(b,2)+"px, "+h(c,2)+"px, 0px)");d.push("scale3d("+a+", "+a+", "+a+")");if(this.DC){d.push("translate3d("+this.wa+"px, 0, 0)");d.push("scale3d(-1, 1, 1)")}}else{d.push("translate("+h(b,2)+"px, "+h(c,2)+"px)");d.push("scale("+a+", "+a+")");if(this.DC){d.push("translate("+this.wa+"px, 0)");d.push("scale(-1, 1)")}}a={};a["-moz-transform"]=
a["-webkit-transform"]=a["-ms-transform"]=a.transform=d.join(" ");if(!f.isEqual(this.yW,k)){this.yW=k;this.zB.css(k)}if(!f.isEqual(this.PX,a)){this.PX=a;this.CI.css(a)}}};return b});
define("eU","require,jquery.mod,cE,gW,iX,eQ,gS,eI,L,d".split(","),function(a){var b=a("jquery.mod"),c=a("cE"),f=a("gW"),e=a("iX"),d=a("eQ"),h=a("gS"),k=a("eI"),i=a("L"),n=a("d"),a=f.extend(n,function(){n.call(this);this.Ic("Renderer");this.set("toolTipDisabled",o);this.set("cursor",i.bw);this.bind(e.hb,this.cb,this,o);this.bind(e.tf,this.Qj,this,o);this.bind(e.og,this.Nj,this,o);this.bl=z;this.sb=[];this.Qr=this.gg=z;this.tN=b("<div/>");this.tN.css({position:"absolute",left:0,top:0,right:0,bottom:0,
overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Ka().append(this.tN)});a.prototype.zn=function(a){h.zn(a,d.Ak)};a.prototype.Xh=function(a){h.Xh(a,d.Ak)};a.prototype.Rz=function(a){a=new k(a,this);a.Ll(this.ua(),this.Wa());a.Qa(0.5,0.5,0,1);this.tN.append(a.pb());this.sb.push(a);this.gg=o};a.prototype.removeItem=function(a){if(a=this.yj(a)){this.sb=c.without(this.sb,a);a.pb().detach();this.gg=o}};a.prototype.Sz=function(a){if(a=this.yj(a)){this.sb=c.without(this.sb,a);this.sb.push(a);
this.gg=o}};a.prototype.Tla=function(a,b){this.yj(a).Mp(b)};a.prototype.jg=function(a,b){this.yj(a).Tc(b)};a.prototype.Qla=function(a,b){this.yj(a).Uh(b)};a.prototype.JA=function(a,b,c,e){this.yj(a).Qa(b,c,e)};a.prototype.jA=function(a){return this.yj(a).Rg()};a.prototype.kA=function(a){return this.yj(a).Sg()};a.prototype.V2=function(a){return this.yj(a).lk()};a.prototype.iA=function(a){return this.yj(a).ua()};a.prototype.hA=function(a){return this.yj(a).Wa()};a.prototype.render=function(){if(this.bl){this.rha();
this.Efa();for(var a=0;a<this.sb.length;a++)this.sb[a].render()}};a.prototype.rha=function(){if(this.Qr){this.Qr=z;for(var a=this.ua(),b=this.Wa(),c=0;c<this.sb.length;c++)this.sb[c].Ll(a,b)}};a.prototype.Efa=function(){if(this.gg){this.gg=z;for(var a=[],b=0;b<this.sb.length;b++){var c=this.sb[b],e={};e.CG=c.Ex;e.index=b;e.Jl=c;a.push(e)}a.sort(function(a,b){return a.CG==b.CG?a.index-b.index:a.CG-b.CG});for(b=0;b<a.length;b++)a[b].Jl.xla(b+1)}};a.prototype.yj=function(a){if(this.f8==a)return this.e8;
for(var b=q,c=0;c<this.sb.length&&!b;c++)this.sb[c].getItem()==a&&(b=this.sb[c]);this.zJ=a;return this.yJ=b};a.prototype.cb=function(){this.Qr=o;this.render()};a.prototype.Qj=function(){this.bl=o;this.render()};a.prototype.Nj=function(){this.bl=z};return a});
define("go","require,gW,bF,df,hR,bX,fl,ed,id,eU,cD,iX".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("df"),e=a("hR"),d=a("bX"),h=a("fl"),k=a("ed"),i=a("id"),n=a("eU"),g=a("cD"),l=a("iX"),a=b.extend(h,function(){h.call(this,"photoAlbum");this.rF=this.sN=this.eg=z;this.p=this.g=q;this.X7=new e(this,"buttonNext",g.pc);this.X7.bind(l.S,this.Fca,this);this.Y7=new e(this,"buttonPrevious",g.pc);this.Y7.bind(l.S,this.Pca,this);this.Pc=b.Cn(this.ye,this)});f.v("PhotoAlbumPlayer",a).A("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[Button, IconButton]], or[Button, IconButton]]",buttonPrevious:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]"}).Th({play:function(){this.Zt()},pause:function(){this.Yt()},stop:function(){this.wr()},restart:function(){this.vr()}}).Yb([d.He,d.mg,h.cd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.sN=o;this.Pc();break;case "viewerArea":this.eg=o;this.Pc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.rF=
o;this.Pc()}h.prototype.set.call(this,a,b)}};a.prototype.ye=function(){if(this.eg){this.eg=z;this.rF=o;this.Pq();this.get("viewerArea")&&this.Mq();this.aF(this.get("viewerArea"))}if(this.g&&this.sN){this.sN=z;if(this.get("photoAlbum")){this.FE();this.p.fma(this.get("photoAlbum"))}else this.p.Ds()}if(this.rF){this.rF=z;this.S1()}};a.prototype.ez=function(){this.set("photoAlbum",q)};a.prototype.Mq=function(){var a=this.get("viewerArea");this.g=new n;this.g.P({left:0,top:0,bottom:0,right:0});a.pa(this.g);
this.p=new k(a,this.g);this.S1();this.p.bind(k.ij,this.wi,this);this.p.bind(k.hj,this.Pj,this);this.p.bind(k.MH,this.iy,this);this.p.bind(k.NH,this.wZ,this);this.p.bind(k.OH,this.xZ,this);this.p.bind(k.Ab,this.Fd,this);this.zu(o)};a.prototype.Pq=function(){if(this.g){this.p.unbind(k.ij,this.wi,this);this.p.unbind(k.hj,this.Pj,this);this.p.unbind(k.MH,this.iy,this);this.p.unbind(k.NH,this.wZ,this);this.p.unbind(k.OH,this.xZ,this);this.p.unbind(k.Ab,this.Fd,this);this.p.clear();this.g.getParent().removeChild(this.g);
this.g=q;this.zu(z)}};a.prototype.S1=function(){var a=this.get("viewerArea");a&&this.p&&(a.qi?this.p.YG(this.get("touchTransition",i.sk),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.p.YG(this.get("mouseTransition",i.sk),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.Fd=function(a){this.kb(a.data.state)};a.prototype.wi=function(a){this.BD(a.data.photoAlbum)};a.prototype.Pj=function(a){this.AD(a.data.photoAlbum)};a.prototype.iy=function(a){a.data.photoAlbum.trigger(new c(l.qa))};
a.prototype.wZ=function(a){a.data.item.Xu()};a.prototype.xZ=function(a){a.data.item.end()};a.prototype.Nm=function(a){this.g.getParent().P({progressPercent:a.data.percent,progressVisible:o})};a.prototype.Xt=function(){this.g.getParent().set("progressVisible",z)};a.prototype.Fca=function(){this.p&&this.get("photoAlbum")&&this.p.next()};a.prototype.Pca=function(){this.p&&this.get("photoAlbum")&&this.p.CR()};a.prototype.ag=function(){this.p&&this.get("photoAlbum")&&this.p.play()};a.prototype.Ii=function(){this.p&&
this.get("photoAlbum")&&this.p.stop()};a.prototype.Xj=function(){this.p&&this.get("photoAlbum")&&this.p.pause()};return a});
define("eb",["gW","df","bX","cC"],function(a,b,c,f){a=a.extend(f,function(){f.call(this)});b.v("PhotoAlbumPlayListItem",a).A("PlayListItem").K({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.He,this.wi,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.He,this.wi,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",q));f.prototype.stop.call(this)};
a.prototype.TA=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].TA())}f.prototype.TA.call(this)};a.prototype.wi=function(){this.get("player").unbind(c.He,this.wi,this);this.get("player").bind(c.mg,this.Pj,this);this.Xu()};a.prototype.Pj=function(){this.get("player").unbind(c.mg,this.Pj,this);this.end()};return a});
define("ep",["gW","df","fv","fA"],function(a,b,c,f){a=a.extend(c,function(){c.call(this,f.d6)});b.v("PhotoAudio",a).A("MediaAudio");return a});define("il",["gW","ho","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("PhotoCamera",a).A("Object").K({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("cW","require,cE,gW,ho,bF,df,fN,iX".split(","),function(a){var b=a("cE"),c=a("gW"),f=a("ho"),e=a("bF"),d=a("df"),h=a("fN"),k=a("iX"),a=c.extend(f,function(){this.Gc=-1;this.ac=[];this.By=this.Sk=this.lf=m;f.call(this)});d.v("PlayList",a).A("Object").K({items:"array[PlayListItem]",selectedIndex:"number"}).Zi([k.rH]).Yb([k.W]);a.prototype.set=function(a,b){a=="selectedIndex"?this.lfa(b):a=="items"?this.afa(b):f.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
this.Gc:a=="items"?this.ac:f.prototype.get.call(this,a,b)};a.prototype.afa=function(a){a=a||[];if(!b.isEqual(this.ac,a)){var c=this.Gc;this.ac=a;a=this.d0(this.Gc);this.trigger(new e(k.rH,{nextSelectedIndex:a}));this.Gc=a;this.B0(this.mo(this.Gc));this.N1();this.trigger(new e(k.W,{previousSelectedIndex:c}));f.prototype.set.call(this,"items",this.ac);f.prototype.set.call(this,"selectedIndex",this.Gc)}};a.prototype.lfa=function(a){a=this.d0(a);if(this.Gc!=a){var b=this.Gc;this.trigger(new e(k.rH,{nextSelectedIndex:a}));
this.Gc=a;this.B0(this.mo(this.Gc));this.N1();this.trigger(new e(k.W,{previousSelectedIndex:b}));f.prototype.set.call(this,"selectedIndex",this.Gc)}};a.prototype.d0=function(a){return Math.max(-1,Math.min(this.ac.length-1,a))};a.prototype.mo=function(a){return a>=0?this.ac[a]:q};a.prototype.B0=function(a){if(this.lf!=a&&this.Sk!==a)if(this.Sk===m){this.Sk=a;if(this.lf)if(this.Sk&&this.lf.get("player")==this.Sk.get("player")){this.lf.TA();this.ur()}else this.lf.stop();else this.ur()}else this.Sk=a};
a.prototype.ur=function(){if(this.lf){this.lf.unbind(k.ej,this.ZM,this);this.lf.unbind(k.ld,this.ur,this);this.lf.unbind(k.qa,this.ur,this)}if(this.Sk){this.lf=this.Sk;this.Sk=m;this.lf.bind(k.ej,this.ZM,this);this.lf.bind(k.ld,this.ur,this);this.lf.start()}else{this.Sk=this.lf=m;this.set("selectedIndex",-1)}};a.prototype.ZM=function(){this.lf.unbind(k.ej,this.ZM,this);this.lf.unbind(k.ld,this.ur,this);this.lf.bind(k.qa,this.ur,this)};a.prototype.N1=function(){this.By&&h.FG(this.By.get("media"),-1);
(this.By=this.ac&&this.Gc>=0?this.ac[(this.Gc+1)%this.ac.length]:q)&&h.FG(this.By.get("media"),1)};return a});define("gu",["gW","df","cW"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.v("PhotoPlayList",a).A("PlayList").K({items:"array[PhotoPlayListItem]"});return a});define("iR",["gW","df","cC"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.v("PhotoPlayListItem",a).A("PlayListItem").K({media:"Photo",camera:"PhotoCamera"});return a});
define("dJ",["require","cE","gW","dT","df"],function(a){a("cE");var b=a("gW"),c=a("dT"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("PlaybackBar",b).A("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("hZ",["require"],function(){function a(a){try{for(var e=(c.nR<<12)+c.uR&65535,d="",h=0,k=a.length;h<k;)var i=b.indexOf(a.charAt(h++))<<12|b.indexOf(a.charAt(h++))<<6|b.indexOf(a.charAt(h++))<<0,i=i-e+65536&65535,d=d+String.fromCharCode(i);return d}catch(n){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={Aia:"true"};c.nR=parseInt("0")||
0;c.uR=parseInt("1012")||1;c.Fma="true";c.name=a("AQnAQ4ARKARdARnARoARVAQUAREARgARVARtARZARm");c.v5=a("");return c});
define("ht",["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===m?e():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 f(){return(navigator.storage&&navigator.storage.persist?navigator.storage.persist():
Promise.resolve(z)).then(function(a){console.log("Persistence granted:",a);return a?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function e(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(z)}function d(){return!v?Promise.reject("files uninitialized, no space was requested"):Promise.resolve(v)}function h(a){a.length&&"/"==a[0]&&(a=a.substr(1));return a.split("/").filter(function(a){return""!=
a})}function k(a){return new Promise(function(b,c){a.remove(function(){b()},function(a){c("can't remove entry"+(a&&a.message?": "+a.message:"")+".")})})}function i(a){return n(a).then(function(a){return Promise.all(a.map(function(a){return a.isDirectory?i(a):k(a)}))}).then(function(){return k(a).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function n(a){return new Promise(function(b,c){a.createReader().readEntries(function(a){b(a)},function(){c("can't list directory")})})}
function g(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){g(a,b,{create:z}).then(function(a){c(a)})["catch"](function(){g(a,b,{create:o}).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 p(a,
b){return 0==b.length?a:g(a,b[0]).then(function(a){return p(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{IG:function(){return e()},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})},$ka:function(a){return f().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},Ska:function(a){var a=h(a),b=a[a.length-1],c=a.slice(0,-1);return d().then(function(a){return p(a.root,c)}).then(function(a){return s(a,b,{create:o})},function(){return Promise.resolve(q)}).then(function(a){return a&&k(a)})},u4:function(a,c){var d=h(a);return b(1024,
c).then(function(a){return p(a.root,d)}).then(function(a){return i(a)},function(){return Promise.resolve()})},w5:function(a,b,c){var e=h(a),f=e[e.length-1],g=e.slice(0,-1);return d().then(function(a){return r(a.root,g)}).then(function(a){return s(a,f,{create:z}).then(function(a){return Promise.resolve(a)},function(){return s(a,f,{create:o})})}).then(function(a){return t(a)}).then(function(d){d.seek(d.length);return new Promise(function(e,g){d.onwriteend=function(){e()};d.onerror=function(b){console.log("Error writing file:",
a,b);g("error writing file: "+a)};d.write(new Blob([b],{type:c||u(f)}))})})}}});
define("bD",["require","ht","hy"],function(a){function b(a,b){this.$m=a;this.BJ=z;this.Ey=q;this.xi=b||C()}function c(a){return a.Ls>=d}var f=a("ht"),e=a("hy"),d=1048576,h=10485760,a={File:function(a,b){this.url=a;this.Ls=b;this.AA=this.$u=0}},k=a.Files=function(a,b,c,d){this.rV=this.D7=a;this.Wo=b.slice();this.EW=[];var e=0;this.Wo.sort(function(a,b){return a.Ls-b.Ls});this.Wo.forEach(function(a){e+=a.Ls});this.k1=e;this.Sq=[];this.XB=m;this.Lk=[];this.CJ=z;this.fd=c||C();this.WK=d||C()};k.prototype.vl=
function(){return this.z8().then(function(){return this.A8()}.bind(this))};k.prototype.z8=function(){return caches["delete"](this.rV)};k.prototype.A8=function(){var a=(new e(this.D7)).pathname;return f.u4(a,z).then(function(){return f.u4(a,o)})};k.prototype.requestStorage=function(){return f.$ka(Math.round(1.1*this.k1+10485760)).then(function(){return f.IG()})};k.prototype.download=function(){this.CJ=z;this.XB=0;this.vl().then(function(){this.Xw()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
a);f.IG().then(function(a){this.WK(z,a)}.bind(this))}.bind(this))};k.prototype.cancelDownload=function(){this.CJ=o;this.Lk.forEach(function(a){a.cancel()});this.vl()};k.prototype.Xw=function(){if(!(this.CJ||5<=this.Lk.length))if(0<this.Wo.length){var a;if(0==this.Sq.filter(c).length)a=this.Wo.pop();else{if(c(this.Wo[0]))return;a=this.Wo.shift()}this.Sq.push(a);var d=e.Wu(a.url,"nc="+(new Date).getTime()),i=new b(d,function(b){a.$u=b.$u;this.ik()}.bind(this));this.Lk.push(i);i.fetch().then(function(b){return this.Zfa(a.url,
b)}.bind(this)).then(function(){this.uW(a,i,o)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.Ls,a.$u,b);this.uW(a,i,z)}.bind(this));this.Xw()}else if(0==this.Lk.length){var h=5>=this.EW.length;f.IG().then(function(a){this.WK(h,a)}.bind(this))}};k.prototype.uW=function(a,b,d){d?(this.Sq.splice(this.Sq.indexOf(a),1),this.Lk.splice(this.Lk.indexOf(b),1),this.XB+=a.Ls,this.ik(),this.Xw()):(a.$u=0,a.AA+=1,this.ik(),20<=a.AA?(console.log("Error downloading file: "+a.url+" after "+
a.AA+" retries."),this.bY(a.url)?(this.EW.push(a),this.Lk.splice(this.Lk.indexOf(b),1),this.Xw()):(this.cancelDownload(),f.IG().then(function(a){this.WK(z,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.AA+" of 20. Will retry in 2000ms."),setTimeout(function(){this.Sq.splice(this.Sq.indexOf(a),1);this.Lk.splice(this.Lk.indexOf(b),1);c(a)?this.Wo.push(a):this.Wo.splice(0,0,a);this.Xw()}.bind(this),2E3)))};k.prototype.Zfa=function(a,b){return this.aga(a,b).then(function(){if(!this.bY(a))return this.$fa(a,
b)}.bind(this))};k.prototype.$fa=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.rV).then(function(c){return c.put(a,b)})};k.prototype.aga=function(a,b){b=b.clone();if(200!=b.status)return Promise.reject("response status: "+b.status);var c=(new e(a)).pathname;return c.lastIndexOf("/")==c.length-1?Promise.resolve():new Promise(function(a,d){function e(){A.read().then(function(b){var c=b.value,d=[];if(c){for(;c.length+y>=h;){var f=c.slice(0,
h-y);w.push(f);d.push(i(w));w=[];y=0;c=c.slice(f.length,c.length)}0<c.length&&(w.push(c),y+=c.length)}var g=b.done;y&&g&&d.push(i(w));k(d).then(function(){g?a():e()})["catch"](n)})["catch"](n)}function i(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 k(a){if(0==a.length)return Promise.resolve();var b=a.shift();return f.w5(c,b).then(function(){k(a)})}function n(a){console.log("Error writing response to file system:",
a);f.Ska(c).then(function(){d("Error reading response body")})}var w=[],y=0,A=b.body.getReader();e()})};var i=".bmp,.gif,.jpeg,.jpg,.m3u8,.m4a,.m4v,.mp3,.mp4,.ogg,.ogv,.otf,.png,.svg,.tif,.tiff,.ts,.tts,.webm,.woff,.woff2".split(",");k.prototype.bY=function(a){var a=(new e(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=i.indexOf(b)&&0>a.indexOf("loading/")};k.prototype.ik=function(){var a=this.XB;this.Sq.forEach(function(b){a+=b.$u});this.fd(100*a/this.k1)};b.prototype.fetch=function(){return fetch(this.$m).then(function(a){if(this.BJ)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=m,d=0;b!==q&&(c=parseInt(b,10));this.Ey=a.body.getReader();var e=z,f=function(a){this.BJ?a.close():e=o}.bind(this),i=function(a){return this.Ey.read().then(function(b){var e=b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,h(a));this.xi({Ls:c,$u:d})}.bind(this))["catch"](function(b){console.log("Error reading response",b);a.error(b)}.bind(this))}.bind(this),
h=function(a){e&&(a.close(),e=z,this.Ey=q)}.bind(this);return new Response(new ReadableStream({start:function(a){return f(a)},pull:function(a){return i(a)},cancel:function(){h()}}))}.bind(this))};b.prototype.cancel=function(){this.BJ=o;this.Ey&&this.Ey.cancel()};a.vl=function(a){return(new k(a,[])).vl()};return a});
define("cY","require,gW,jquery.mod,iX,dQ,p,bD,ht,hy,gX".split(","),function(a){function b(a){l=a}var c=a("gW"),f=a("jquery.mod"),e=a("iX"),d=a("dQ"),h=a("p"),k=a("bD"),i=a("ht"),n=a("hy"),g=a("gX"),l=q;window.addEventListener("beforeinstallprompt",b);var r=c.extend(d,function(a){d.call(this);this.ya=a;this.k="initial";this.yO=this.bF=this.yf=q;this.aO=z;this.Wq=q;this.Hz=m;this.Oq=l;this.pD=r.Y3();this.AM=n.Tg("vr");if(!this.Oq&&!this.pD){window.removeEventListener("beforeinstallprompt",b);window.addEventListener("beforeinstallprompt",
this.ica.bind(this))}this.pD||window.addEventListener("appinstalled",this.l7.bind(this))});r.prototype.lS=function(a){this.bF=a;this.jh=n.Op(this.bF.get(TDV.PlayerSettings.BASE_DIR_URL)||n.getDirectory(this.bF.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.jh[this.jh.length-1]!="/")this.jh=this.jh+"/";this.yf=new p(this.jh);this.Hz=this.K_=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Taa=n.parse(n.getDirectory(window.location.href)).pathname;this.c$=n.Wu(n.Op("files.json",this.jh),
this.K_);a=TDV.Ia.j3();this.yO=n.Wu(this.bF.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.yf=new p(this.jh);this.yf.bind(e.O,this.jga,this,o);this.yf.load()};r.prototype.xv=function(){return this.yf.state==p.Zv};r.prototype.v2=function(){return this.k=="can_install"&&!this.AM};r.prototype.w2=function(){return this.xv()&&this.Hz!=this.yf.version&&!this.AM};r.prototype.u2=function(){return this.yf.state!=p.IS&&!this.AM};r.prototype.H3=function(){if(this.k=="can_install")if(this.Oq){this.Oq.userChoice.then(function(a){a.outcome!=
"accepted"&&this.kb("unavailable")}.bind(this));this.Oq.prompt().then(function(){this.Oq=q}.bind(this))}else this.NK()};r.prototype.cancel=function(){if(this.k=="downloading"){if(this.Wq){this.Wq.cancelDownload();this.Wq=q}this.yf.vl();this.kb("unavailable")}};r.prototype.vl=function(){k.vl(this.jh);this.yf.vl()};r.prototype.jga=function(){this.ya.get("downloadEnabled")!==o?this.kb("unavailable"):h.browser()!=h.Zh||h.ud()==h.Rp||h.ud()==h.Qs?this.kb("unavailable"):this.yO?"serviceWorker"in navigator?
this.xv()&&!this.w2()?this.kb("unavailable"):navigator.onLine?this.Rda():this.kb("unavailable"):this.kb("unavailable"):this.kb("unavailable")};r.prototype.kb=function(a){if(this.k!=a){this.k=a;a=["can_install","unavailable"].indexOf(this.k)>=0;if(this.aO!=a)(this.aO=a)&&this.trigger(e.Ob)}};r.prototype.Rda=function(){this.kb("registering_sw");navigator.serviceWorker.register(this.yO,{scope:this.Taa}).then(function(){this.j0(o)}.bind(this))["catch"](function(){this.j0(z)}.bind(this))};r.prototype.j0=
function(a){if(a)if(h.Lf())this.kb("can_install");else if(this.pD&&this.yf.state==p.xH){this.kb("can_install");this.NK()}else if(this.Oq)this.kb("can_install");else{this.kb("sw_registered");setTimeout(function(){this.k=="sw_registered"&&this.kb("can_install")}.bind(this),3E3)}else this.kb("unavailable")};r.prototype.ica=function(a){this.Oq=a;this.k=="sw_registered"&&this.kb("can_install")};r.prototype.l7=function(){this.k=="sw_registered"&&this.kb("can_install");this.NK()};r.prototype.NK=function(){this.kb("downloading");
this.trigger(e.ej);this.v1(0);this.Jba()};r.prototype.Jba=function(){var a=n.Wu(this.c$,"nc="+(new Date).getTime());f.getJSON(a,function(a){if(this.k=="downloading"){var b=[],c;for(c in a){var d=n.Op(c,this.jh);b.push(new k.File(d,a[c].size))}var e=(new n(window.location.pathname,window.location.href)).toString();b.filter(function(a){return a.url==e}).length==0&&b.push(new k.File(e,1024));this.Wq=new k.Files(this.jh,b,this.v1.bind(this),this.tW.bind(this));this.Wq.requestStorage().then(function(a){this.yf.storage=
a?p.jw:p.tI;this.yf.state=p.xH;this.yf.version=this.Hz;this.yf.save();this.Wq.download()}.bind(this))["catch"](function(){this.tW(z,m)}.bind(this))}}.bind(this))};r.prototype.v1=function(a){this.trigger(new g(e.$b,a))};r.prototype.tW=function(a,b){this.Wq=q;this.kb("unavailable");if(a){this.yf.state=p.Zv;this.yf.save()}a?this.trigger(e.qa,{success:o}):b?this.trigger(e.qa,{success:z,error:r.KS}):h.Lf()?this.trigger(e.qa,{success:z,error:r.JS}):this.pD?this.trigger(e.qa,{success:z,error:r.KS}):this.trigger(e.qa,
{success:z,error:r.LS})};r.Y3=function(){return n.sn("installed",z)};r.Kka=function(a,b){var c=new r.cI(a);c.bind(e.O,function(){var d=z;c.state==r.cI.Zv&&(d=r.Y3()?o:!navigator.onLine);d?i.toURL(a,c.storage==r.cI.jw).then(function(a){b(a)}):b(a)},this,o);c.load()};r.LS="launchFromHomeScreen";r.JS="addToBookmark";r.KS="errorDownloading";var p=c.extend(d,function(a){d.call(this);this.jh=a;this.uM="installation_state_"+a;this.mda=n.parse(this.jh).pathname+"installation_state.json";this.state=this.storage=
this.version=m;this.o0()});p.prototype.load=function(){if(this.Kba()&&this.state==p.Zv)this.b1(this.storage==p.jw).then(function(){this.trigger(e.O)}.bind(this))["catch"](function(){this.b1(this.storage!=p.jw).then(function(){this.storage=this.storage==p.tI?p.jw:p.tI;this.pO();this.trigger(e.O)}.bind(this))["catch"](function(){this.state=p.xH;this.pO();this.trigger(e.O)}.bind(this))}.bind(this));else this.trigger(e.O)};p.prototype.save=function(){this.pO();this.state==p.Zv&&this.lea()};p.prototype.Kba=
function(){var a=window.localStorage&&window.localStorage.getItem(this.uM);if(!a)return z;this.t$(a);return o};p.prototype.pO=function(){window.localStorage&&window.localStorage.setItem(this.uM,this.j1())};p.prototype.b1=function(a){return new Promise(function(b,c){i.toURL(this.jh+"installation_state.json",a).then(function(a){f.ajax({type:"GET",url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};p.prototype.lea=function(){i.w5(this.mda,this.j1(),"text/json")};p.prototype.j1=
function(){var a={};a.version=this.version;a.storage=this.storage;a.state=this.state;return JSON.stringify(a)};p.prototype.t$=function(a){this.s$(JSON.parse(a))};p.prototype.s$=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};p.prototype.vl=function(){window.localStorage&&window.localStorage.removeItem(this.uM);this.o0()};p.prototype.o0=function(){this.version="";this.storage=p.n6;this.state=p.IS};p.n6="unkonwn";p.tI="temporary";p.jw="persistent";p.IS="not started";p.xH=
"started";p.Zv="completed";r.cI=p;return r});
define("gE","require,gW,iX,iW,p,cY,dD,dI,hW,c,iI,d,fx".split(","),function(a){function b(a){var b=new k;b.P({label:a,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:n.Uc});return b}var c=a("gW"),f=a("iX"),e=a("iW"),d=a("p"),h=a("cY"),k=a("dD"),i=a("dI"),n=a("hW"),g=a("c"),l=a("iI"),r=a("d"),p=a("fx"),a=c.extend(l,function(a,b){l.call(this);this.ya=a;this.pd=b;this.pd.bind(f.Ob,
this.lba,this,o);this.pd.bind(f.ej,this.iba,this,o);this.pd.bind(f.$b,this.kba,this,o);this.pd.bind(f.qa,this.jba,this,o);this.V="hidden";this.Kz=m;this.CN=z;this.fd=m;this.vf=this.im=this.zq=this.Cq=this.Aq=this.gF=this.ha=q;this.i7();this.P({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:n.Uc,layout:g.oe});this.Jd()});a.prototype.lba=function(){if(this.pd.v2()||this.pd.xv()&&this.pd.u2()){this.V="ready";this.CN&&this.P0()}else this.V="hidden";
this.Jd()};a.prototype.iba=function(){this.V="installing";this.Jd()};a.prototype.kba=function(a){this.fd=a.Vg;this.Jd()};a.prototype.jba=function(a){this.V=a.data.success?"installed":"failed";this.BW=a.data.error;this.Jd()};a.prototype.uh=function(){this.Yfa()};a.prototype.TD=function(){if(!this.CN){this.CN=o;this.V=="ready"&&this.P0()}};a.prototype.P0=function(){this.Kz=setTimeout(function(){this.Kz=q;this.cda()}.bind(this),5E3);this.Jd()};a.prototype.Yfa=function(){this.T_();this.Kz&&clearTimeout(this.Kz);
this.Kz=q};a.prototype.cda=function(){this.T_();if(this.V=="ready"){this.V="hidden";this.Jd()}};a.prototype.i7=function(){this.bind(f.oc,this.uh,this);this.ya.bind(f.oc,this.TD,this);this.ya.bind(f.mb,this.TD,this)};a.prototype.T_=function(){this.unbind(f.oc,this.uh,this);this.ya.unbind(f.oc,this.TD,this);this.ya.unbind(f.mb,this.TD,this)};a.prototype.Ga=function(){l.prototype.Ga.call(this);if(this.ha==q){this.ha=new p;this.ha.P({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
fontSize:14,text:e("download-tour")});this.pa(this.ha)}if(this.Aq==q){this.Aq=b(e("download"));this.pa(this.Aq);this.Aq.bind(f.S,this.T7,this,o)}if(this.Cq==q){this.Cq=b(e("refresh-downloaded"));this.pa(this.Cq);this.Cq.bind(f.S,this.Z7,this,o)}if(this.zq==q){this.zq=b(e("delete-downloaded"));this.pa(this.zq);this.zq.bind(f.S,this.S7,this,o)}if(this.gF==q){this.gF=new r;this.gF.P({width:"100%"});this.pa(this.gF)}if(this.im==q){this.im=new i;this.im.P({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.pa(this.im);this.im.bind(f.S,this.R7,this,o)}if(this.vf==q){this.vf=b(e("cancel"));this.pa(this.vf);this.vf.bind(f.S,this.RB,this,o)}d.lb()&&this.Zr();this.Jd()};a.prototype.pj=function(){l.prototype.pj.call(this);d.lb()&&this.getParent().bind(f.hb,this.Zr,this,o)};a.prototype.Eh=function(){d.lb()&&this.getParent().unbind(f.hb,this.Zr,this,o);l.prototype.Eh.call(this)};a.prototype.Zr=function(){var a=this.getParent();if(a){var b=
Math.min(a.ua(),a.Wa())/100,c=function(a){return Math.round(a*b)};this.P({gap:c(3.9),height:c(11.9),paddingLeft:c(6),paddingRight:c(6)});this.ha&&this.ha.P({fontSize:c(3)});[this.Aq,this.vf,this.Cq,this.zq].forEach(function(a){a&&a.P({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.im&&this.im.P({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.Jd=function(){var a;switch(this.V){case "ready":a=
this.pd.xv()?e("downloaded"):e("download-tour");break;case "installing":a=e("downloading");this.fd!==m&&(a=a+("..."+this.fd.toFixed(1)+"%"));break;case "installed":a=e("downloaded");break;case "failed":a=this.BW==h.LS?d.lb()?e("storage-not-provided-launch-from-homescreen"):e("storage-not-provided-launch-from-desktop"):this.BW==h.JS?e("storage-not-provided-bookmark"):e("download-failed")}this.ha&&this.ha.set("text",a);this.Aq&&this.Aq.set("visible",this.V=="ready"&&!this.pd.xv()&&this.pd.v2());this.zq&&
this.zq.set("visible",this.V=="ready"&&this.pd.xv()&&this.pd.u2());this.Cq&&this.Cq.set("visible",this.V=="ready"&&this.pd.w2());this.vf&&this.vf.set("visible",this.V=="installing");this.im&&this.im.set("visible",this.V!="installing");this.set("visible",this.V!="hidden")};a.prototype.T7=function(){this.pd.H3()};a.prototype.Z7=function(){this.pd.H3()};a.prototype.S7=function(){this.pd.vl();this.V="hidden";this.Jd()};a.prototype.RB=function(){this.pd.cancel();this.V="hidden";this.Jd()};a.prototype.R7=
function(){this.V=="installing"&&this.pd.cancel();this.V="hidden";this.Jd()};return a});
define("cV","require,gW,cE,iX,iW,p,hW,c,iI,im,iA,dD,fx,fs".split(","),function(a){function b(a,b){this.text=a;this.ln=b}var c=a("gW"),f=a("cE"),e=a("iX"),d=a("iW"),h=a("p"),k=a("hW"),i=a("c"),n=a("iI"),g=a("im"),l=a("iA"),r=a("dD"),p=a("fx"),s=a("fs"),a=c.extend(n,function(){n.call(this);this.Lj=[];this.vf=this.Bq=this.ha=this.cr=this.vu=this.ql=q;var a=new g;a.set("duration",500);a.set("easing","cubic_in");var b=new l;b.set("duration",500);b.set("easing","cubic_out");this.P({backgroundColor:"#000000",
backgroundOpacity:0.6,horizontalAlign:k.bd,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z})});a.prototype.Ga=function(){n.prototype.Ga.call(this);if(this.ql==q){this.ql=new n;this.ql.P({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:k.bd,verticalAlign:k.Uc,layout:i.Je,shadow:o,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.pa(this.ql)}if(this.ha==q){this.ha=new p;this.ha.P({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"});this.ql.pa(this.ha)}if(this.cr==q){this.cr=new s;this.cr.P({width:"80%"});this.ql.pa(this.cr)}if(this.vu==q){this.vu=new n;this.vu.P({backgroundColor:"#b3b3b3"});this.ql.pa(this.vu)}if(this.Sf==q){this.Sf=new n;this.Sf.P({horizontalAlign:k.bd,verticalAlign:k.Uc,layout:i.oe});this.ql.pa(this.Sf)}if(this.Bq==q){this.Bq=new r;this.Bq.P({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.bd,verticalAlign:k.Uc,
label:d("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Bq.bind(e.S,this.kV,this,o);this.Sf.pa(this.Bq)}if(this.vf==q){this.vf=new r;this.vf.P({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.bd,verticalAlign:k.Uc,label:d("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.vf.bind(e.S,this.RB,this,o);this.Sf.pa(this.vf)}};a.prototype.pj=function(){n.prototype.pj.call(this);
this.getParent().bind(e.hb,this.Zr,this,o)};a.prototype.Eh=function(){this.getParent().unbind(e.hb,this.Zr,this,o);n.prototype.Eh.call(this)};a.prototype.Zr=function(){var a=this.getParent();if(a){var b=a.ua(),a=a.Wa();if(h.lb())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.ql&&this.ql.P({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.vu&&this.vu.P({width:b(60),minHeight:2,height:b(0.25)});
this.Sf&&this.Sf.P({gap:b(5)});this.vf&&this.vf.P({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.Bq&&this.Bq.P({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.ha&&this.ha.P({fontSize:b(5)});this.xF()}};a.prototype.show=function(a,c){this.Zr();var d=this.nX(c);d>=0&&this.P_(d);this.Kda(new b(a,c))};a.prototype.hide=function(a){a=this.nX(a);a>=0&&this.P_(a)};a.prototype.kV=function(){this.KB(o)};a.prototype.RB=function(){this.KB(z)};a.prototype.nX=function(a){for(var b=
0;b<this.Lj.length;b++)if(this.Lj[b].ln==a)return b;return-1};a.prototype.xF=function(){var a=this.yX();if(a){if(a.text.length<20){this.cr.set("visible",z);this.ha.set("text",a.text);this.ha.set("visible",o)}else{this.ha.set("visible",z);this.cr.set("html",this.Q$(a.text));this.cr.set("visible",o)}this.vf.set("visible",a.ln?o:z);this.set("visible",o)}else this.set("visible",z)};a.prototype.Q$=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
this.ha.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.KB=function(a){var b=this.yX();if(b){b=this.eaa(b.text);this.bea(b);f(b).each(function(b){b.ln&&b.ln.call(this,a)},this)}};a.prototype.Kda=function(a){this.Lj.push(a);this.xF()};a.prototype.eaa=function(a){return f(this.Lj).filter(function(b){return b.text==a})};a.prototype.bea=function(a){this.Lj=f(this.Lj).filter(function(b){return!f(a).contains(b)});this.xF()};a.prototype.P_=function(a){this.Lj.splice(a,1);a==this.Lj.length&&
this.xF()};a.prototype.yX=function(){return this.Lj.length>0?this.Lj[this.Lj.length-1]:q};return a});
define("fE","require,gW,iX,bF,dQ,ia".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("dQ"),d=a("ia"),h=[],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){h.forEach(function(b){b(a)});a.preventDefault();a.stopImmediatePropagation()},o);var k=1,b=b.extend(e,function(a,b){e.call(this);this.la=a;this.Y$=b;this.TM=this.TM.bind(this);this.Gb=this.Gb.bind(this);this.tM=z;this.qM=this.qM.bind(this);
this.rM=this.rM.bind(this);this.pM=this.pM.bind(this);this.sM=this.sM.bind(this);this.D=document.createElement("ul");this.D.style.border="1px solid #bbb";this.D.style.bia="3px";this.D.style.position="absolute";this.D.style.zIndex=k;this.D.style.display="none";this.D.style.backgroundColor="#e5e5e5";this.D.style.fontFamily="Arial";this.D.style.color="#000000";this.D.style.fontSize="13px";this.D.style.listStyle="none";this.D.style.display="none";this.D.style.padding=0;this.D.style.margin=0;this.D.style.pointerEvents=
"all";this.D.style.textAlign="left";this.D.style.boxShadow="1px 1px 3px rgba(0, 0, 0, 0.2)";h.push(this.TM)});b.prototype.TM=function(a){var b=this.Y$();if(b.length!=0){this.D.innerHTML="";this.tM=z;var e=0;b.forEach(function(a){if(a){var b=document.createElement("li");b.textContent=a;b.style.cursor="pointer";b.style.bia="3px";b.style.padding="7px 20px";b.style.whiteSpace="nowrap";var c=e;e++;b.addEventListener("mouseenter",function(a){this.qM(a,c)}.bind(this));b.addEventListener("mouseleave",function(a){this.rM(a,
c)}.bind(this));b.addEventListener("mousedown",function(a){this.pM(a,c)}.bind(this));b.addEventListener("mouseup",function(a){this.sM(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.D.appendChild(b)}.bind(this));(d.rn()||document.body).appendChild(this.D);this.D.style.display="block";b=a.pageX;a=a.pageY;b+this.D.clientWidth>document.body.clientWidth-5&&(b=document.body.clientWidth-this.D.clientWidth-
5);a+this.D.clientHeight>document.body.clientHeight-5&&(a=document.body.clientHeight-this.D.clientHeight-5);this.D.style.left=b+"px";this.D.style.top=a+"px";this.la.bind(c.mb,this.Gb,this);document.addEventListener("mousedown",this.Gb);this.Nha=setInterval(this.Mha.bind(this),200)}};b.prototype.IX=function(){clearInterval(this.Nha);this.D.parentNode.removeChild(this.D);document.removeEventListener("mousedown",this.Gb);this.la.unbind(c.mb,this.Gb,this);this.D.style.display="none"};b.prototype.Mha=
function(){if(!this.D.contains(document.elementFromPoint(this.D.offsetLeft+this.D.clientWidth*0.5,this.D.offsetTop+this.D.clientHeight*0.5)))this.D.style.zIndex=k=k*10};b.prototype.Gb=function(){this.IX()};b.prototype.pM=function(a){this.tM=o;a.preventDefault();a.stopImmediatePropagation()};b.prototype.sM=function(a,b){if(this.tM){this.IX();a.preventDefault();a.stopImmediatePropagation();this.trigger(new f(c.Sl,{index:b}))}};b.prototype.qM=function(a){a.currentTarget.style.color="#ffffff";a.currentTarget.style.backgroundColor=
"rgba(0, 0, 0, 0.7)"};b.prototype.rM=function(a){a.currentTarget.style.color="";a.currentTarget.style.backgroundColor=""};return b});
define("hB",["require","hy","L"],function(a){function b(a){this.la=a;this.gl={};this.gl[f.U5]="move";this.gl[f.V5]="ew-resize";this.gl[f.X5]="ns-resize";this.gl[f.W5]="nesw-resize";this.gl[f.Y5]="nwse-resize";this.gl[f.Od]="pointer";this.gl[f.bw]="inherit";this.gl[f.hc]="default";this.ae={};this.ae[f.iB]="grab.cur";this.ae[f.XS]="grabbing.cur";this.ae[f.nT]="N.cur";this.ae[f.oT]="NE.cur";this.ae[f.eT]="E.cur";this.ae[f.rT]="SE.cur";this.ae[f.qT]="S.cur";this.ae[f.sT]="SW.cur";this.ae[f.tT]="W.cur";
this.ae[f.pT]="NW.cur";this.ae[f.gT]="FN.cur";this.ae[f.hT]="FNE.cur";this.ae[f.fT]="FE.cur";this.ae[f.kT]="FSE.cur";this.ae[f.jT]="FS.cur";this.ae[f.lT]="FSW.cur";this.ae[f.mT]="FW.cur";this.ae[f.iT]="FNW.cur";this.qV={}}var c=a("hy"),f=a("L");b.prototype.JQ=function(a){return this.Bba(a)?this.vX(a):this.uba(a)?this.H$(a):this.vX(f.hc)};b.prototype.d8=function(a){if(!(a in this.qV)){var b=new Image;b.src=this.bX(a);this.qV[a]=b}};b.prototype.Bba=function(a){return a in this.gl};b.prototype.vX=function(a){return this.gl[a]};
b.prototype.uba=function(a){return this.ae[a]};b.prototype.H$=function(a){this.d8(a);return"url("+this.bX(a)+"), default"};b.prototype.bX=function(a){return c.Op(this.la.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.ae[a]};return b});
define("bz",["cE"],function(a){function b(){this.Wm={};this.$j=[];this.Pw=0}b.prototype.push=function(b,f){if(this.Wm[f]==m)this.Wm[f]=[b],this.$j.push(f),this.$j.sort(function(a,b){return a-b}),this.Pw++;else{var e=this.Wm[f];a(e).contains(b)||(e.push(b),this.Pw++)}};b.prototype.M2=P("Pw");b.prototype.isEmpty=function(){return 0==this.$j.length};b.prototype.n4=function(){if(!this.isEmpty()){var a=this.$j[0],b=this.Wm[a].pop();0==this.Wm[a].length&&(delete this.Wm[a],this.$j=this.$j.slice(1));this.Pw--;
return b}};b.prototype.BR=function(){if(!this.isEmpty()){var a=this.$j[this.$j.length-1],b=this.Wm[a].pop();0==this.Wm[a].length&&(delete this.Wm[a],this.$j=this.$j.slice(0,this.$j.length-1));this.Pw--;return b}};return b});
define("fr","require,cE,gW,ec,bz,P,gZ".split(","),function(a){function b(){this.lE=z;this.j_=m;this.ba=o;this.YD=this.YD.bind(this);this.cC=new f;this.zE=new f;this.eF=new f;this.qD=new f;this.HK=new f;e.za(this.Pe,this)}a("cE");a("gW");var c=a("ec"),f=a("bz"),e=a("P"),d=a("gZ");b.prototype.clear=function(){this.ba=z};b.prototype.oA=function(a){this.cC.push(a,this.Dt(a));this.Ly()};b.prototype.Tb=function(a){this.zE.push(a,this.Dt(a));this.Ly()};b.prototype.Fa=function(a){this.eF.push(a,this.Dt(a));
this.Ly()};b.prototype.$c=function(a){this.qD.push(a,this.Dt(a));this.Ly()};b.prototype.hg=function(a){this.HK.push(a,this.Dt(a));this.Ly()};b.prototype.L=function(){this.$ga();this.xha();this.bha()};b.prototype.$ga=function(){do{for(;!this.cC.isEmpty();)this.cC.BR().Ga();this.zE.isEmpty()||this.zE.BR().ca()}while(!this.zE.isEmpty()||!this.cC.isEmpty())};b.prototype.xha=function(){for(;!this.eF.isEmpty()||!this.qD.isEmpty();){this.EF();this.DP()}};b.prototype.EF=function(){for(;!this.eF.isEmpty();){var a=
this.eF.BR();if(a.Pma()){var b=a.getParent();if(b){b.Fa();b.$c()}else a.D4(0,0,a.El(),a.Dl())}}};b.prototype.DP=function(){for(;!this.qD.isEmpty();)this.qD.n4().Yg()};b.prototype.bha=function(){for(;!this.HK.isEmpty();)this.HK.n4().Lc();c.Jka()};b.prototype.Ly=function(){if(!this.lE){this.lE=o;this.j_=(new Date).getTime()+500;d.BA(this.YD)}};b.prototype.YD=function(){this.lE=z;this.ba&&this.L()};b.prototype.Dt=function(a){return(a=a.getParent())?this.Dt(a)+1:0};b.prototype.Pe=function(){this.lE&&
(new Date).getTime()>=this.j_&&this.YD();e.za(this.Pe,this)};return b});
define("ee","jquery.mod,cE,gW,iX,iI,fE,hB,S,fr,ia,p".split(","),function(a,b,c,f,e,d,h,k,i,n,g){c=c.extend(e,function(b){this.bt=new i;e.call(this);this.hp(this);this.Ic("Application");this.tc=a(b);this.q_=o;this.KN=this.tc.contents();this.tc.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.kp=a(document.createElement("div"));
this.kp.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.tc.append(this.kp);this.kp.append(this.pb());this.$0=this.kp.get(0);this.Oa=this.Ja=m;this.oba=10;this.t8=500;this.Hy=q;this.rC=new h(this);this.oa=new k(this);this.D.append(this.oa.pb());this.W8=new d(this,this.ZW.bind(this));this.W8.bind(f.Sl,this.ie(this.UY),this,o);this.AY=o;this.set("contentOpaque",o);this.Iq=q;this.Mw=[];this.vt(["globalmousemove"]);this.E7();this.bQ=this.cQ=0;this.cu=1;
this.U1();this.vg=new n(b);this.vg.bind(f.W,function(){this.jL(this.vg.enabled())},this)});c.prototype.U1=function(){if(!n.enabled()){this.cQ=window.innerWidth;this.bQ=window.innerHeight}};c.prototype.clear=function(){this.Jv(q);this.Y0();this.W9();this.bt.clear();if(this.tc){this.pb().remove();this.tc.append(this.KN);this.tc=this.KN=q}this.rC=q;this.vg.p5();this.vg=q};c.prototype.Yla=L("AY");c.prototype.jL=function(a){a?this.n0():this.E8()};c.prototype.Jm=function(){this.Mx=this.Eg=this.kp.width();
this.Lx=this.Dg=this.kp.height()};c.prototype.ca=function(){if(this.q_){this.KN.detach();this.q_=z}e.prototype.ca.call(this)};c.prototype.Jv=function(a){if(this.Iq!=a){this.Iq!=q&&this.Iq.Ega();this.Iq=a;for(var c=[];a!=q;){c=[a].concat(c);a=a.getParent()}for(var a=this.Mw.length-1,d=o;a>=0&&d;a--)b(c).contains(this.Mw[a])?d=z:this.Mw.pop().Gga();for(a=0;a<c.length;a++)b(this.Mw).contains(c[a])||c[a].Hga();this.Mw=c;this.Iq!=q&&this.Iq.Dga();this.oa.Jv(this.Iq)}};c.prototype.Daa=function(a){var b=
this.ex(a);this.eY(a,b.x,b.y)?a.preventDefault():this.Jv(q)};c.prototype.BX=function(a){var b=this.Zq(a);this.eY(a,b.x,b.y)?a.preventDefault():this.Jv(q)};c.prototype.ZW=function(){return[]};c.prototype.UY=C();c.prototype.eY=function(a,b,c){return this.vba(a.target)&&b>=0&&c>=0&&b<this.M&&c<this.aa};c.prototype.vba=function(a){if(!this.tc)return z;for(var b=this.tc.get(0);a;){if(a===b)return o;a=a.parentElement}return z};c.prototype.E7=function(){this.vt(["globalresize"]);this.DJ=setInterval(b.bind(function(){this.CV()},
this),this.t8)};c.prototype.W9=function(){this.Uw(["globalresize"]);if(this.DJ){clearInterval(this.DJ);this.DJ=q}};c.prototype.CV=function(){this.vg.enabled()?this.n0():this.U1();var a=this.$0.clientWidth,b=this.$0.clientHeight;if(this.Ja!=a||this.Oa!=b){this.Ja=a;this.Oa=b;this.Pfa()}};c.prototype.n0=function(){var a;if(g.Zd()==g.BS&&g.browser()==g.Zh||g.Zd()==g.yk){var b=n.rn();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.cQ>this.bQ?this.cQ:this.bQ),d=Math.round(a/c),e=Math.round(b/c);
this.cu=c;a={left:Math.round((a-d)*0.5)+"px",top:Math.round((b-e)*0.5)+"px",right:"auto",bottom:"auto",width:d+"px",height:e+"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.cu=1}this.kp.css(a)};c.prototype.E8=function(){this.kp.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.cu=1};
c.prototype.Pfa=function(){this.Y0();var a=this;this.Hy=setTimeout(function(){a.Hy=q;a.Fa()},this.oba)};c.prototype.Y0=function(){if(this.Hy){this.Hy=q;clearTimeout(this.Hy)}};c.prototype.Caa=function(){this.CV()};c.prototype.qL=function(){return b(e.prototype.qL.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.ie(this.Daa)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.ie(this.BX)},{target:a(window),name:"mouseout",handler:this.ie(this.BX)}],
globalresize:[{target:a(window),name:"resize",handler:this.ie(this.Caa)}]})};return c});
define("fq","require,gW,cE,iX,bI,df,hZ,iW,hR,eR,gE,cV,cw,iv,Y,hj,p,in,fN,bC,cY,hy,cD,ee,iI,bY".split(","),function(a){var b=a("gW"),c=a("cE"),f=a("iX"),e=a("bI"),d=a("df"),h=a("hZ"),k=a("iW"),i=a("hR"),n=a("eR"),g=a("gE"),l=a("cV");UserInteractionWindow=a("cw");TextureUtil=a("iv");VR=a("Y");Capabilities=a("hj");Device=a("p");Gyroscope=a("in");Preloader=a("fN");LibsLoader=a("bC");Installer=a("cY");URL=a("hy");ButtonMode=a("cD");Application=a("ee");Container=a("iI");VerticalLayout=a("bY");var r=b.extend(Application,
function(a){Application.call(this,a);this.pd=new Installer(this);this.sW=new g(this,this.pd);this.Tn=new Container;this.Tn.P({visible:o,width:"100%",height:"100%"});this.DD=new l;this.HF=new UserInteractionWindow;a=new VerticalLayout;a.ZG(0);this.KA(a);this.Ye(o);this.bind(f.Ca("settings"),this.Wca,this,o);this.Hz=TDV.Ia.j3();this.hN=this.PC();this.W7=new i(this,"buttonMute",ButtonMode.pc);this.W7.bind(f.S,this.sZ,this,o);this.b8=new i(this,"buttonUnmute",ButtonMode.pc);this.b8.bind(f.S,this.JZ,this,
o);this.WB=new i(this,"buttonToggleMute",ButtonMode.di);this.WB.bind(f.pg,this.sZ,this,o);this.WB.bind(f.ci,this.JZ,this,o);this.bind(f.Ca("mute"),this.Eca,this);this.WB.set("pressed",this.get("mute"));this.U7=new i(this,"buttonEnterFullscreen",ButtonMode.pc);this.U7.bind(f.S,this.XY,this,o);this.V7=new i(this,"buttonExitFullscreen",ButtonMode.pc);this.V7.bind(f.S,this.YY,this,o);this.TB=new i(this,"buttonToggleFullscreen",ButtonMode.di);this.TB.bind(f.pg,this.XY,this,o);this.TB.bind(f.ci,this.YY,
this,o);this.TB.set("pressed",this.get("fullscreenEnabled"));this.bind(f.Ca("fullscreenEnabled"),this.rca,this,o);this.set("fullscreenEnabled",this.vg.enabled());this.set("mouseWheelEnabled",o);this.set("backgroundPreloadEnabled",o);this.set("defaultVRPointer","laser");this.set("downloadEnabled",z);this.set("mediaActivationMode","window");this.bind(f.Us,this.Xca,this,o);this.bind(f.hb,this.Nca,this,o)});r.QS="orientationChange";d.v("Player",r).Ila().A("Container").K({backgroundPreloadEnabled:"bool",
buttonEnterFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonExitFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonMute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonToggleFullscreen:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonToggleMute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonUnmute:"or[array[or[Button, IconButton]], or[Button, IconButton]]",cardboardAvailable:"bool",defaultVRPointer:"enum[gaze, laser]",
definitions:"array[Object]",desktopMipmappingEnabled:"bool",downloadEnabled:"bool",fullscreenAvailable:"bool",fullscreenEnabled:"bool",gyroscopeAvailable:"bool",isMobile:"bool",mediaActivationMode:"enum[window, button]",menu:"array[PlayerMenuItem]",mobileMipmappingEnabled:"bool",mouseWheelEnabled:"bool",mute:"bool",orientation:"enum[portrait, landscape]",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).Zla().Th({logCapabilities:function(){this.Oba()}}).Zi([f.Us,
r.QS]);r.prototype.jL=function(a){Application.prototype.jL.apply(this,arguments);this.set("fullscreenEnabled",a)};r.prototype.ma=function(){Application.prototype.ma.call(this);this.f("mute",z);this.f("fullscreenEnabled",z)};r.prototype.Ga=function(){Application.prototype.Ga.call(this);this.sW.getParent()!=this&&this.pa(this.sW);if(this.Tn.getParent()!=this){this.pa(this.Tn);this.Tn.pa(this.DD);this.Tn.pa(this.HF);setTimeout(function(){n.PR(this)}.bind(this),100)}};r.prototype.ca=function(){this.J_||
(this.J_=c.difference(this.qaa(),["visible","includeInLayout","state","left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft","paddingTop","paddingRight","paddingBottom"]));this.Sa(this.J_,{},[this.Tn],o,o);Application.prototype.ca.call(this);this.Xna===o&&this.Vna()};r.prototype.set=function(a,b){switch(a){case "children":case "creationPolicy":this.Tn.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 "installAvailable":b=this.pd.ready();break;case "mouseWheelEnabled":this.Yla(URL.sn("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.zea(b);break;case "vrPolyfillScale":VR.kma(b);break;case "desktopMipmappingEnabled":TextureUtil.vla(b);break;case "mobileMipmappingEnabled":TextureUtil.Xla(b)}Application.prototype.set.call(this,a,b)};r.prototype.get=function(a,b){switch(a){case "children":case "creationPolicy":return this.Tn.get(a,b);case "touchEnabled":return this.qi;
case "touchDevice":return Device.sS();case "isMobile":return Device.lb();case "orientation":return this.hN;case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.vg.available();case "vrPolyfillScale":return VR.tja();case "installAvailable":return this.pd.ready();default:return Application.prototype.get.apply(this,arguments)}};r.prototype.sZ=function(){this.set("mute",o)};r.prototype.JZ=function(){this.set("mute",
z)};r.prototype.Eca=function(){this.WB.set("pressed",this.get("mute"))};r.prototype.XY=function(){this.set("fullscreenEnabled",o)};r.prototype.YY=function(){this.set("fullscreenEnabled",z)};r.prototype.rca=function(){this.get("fullscreenEnabled")?this.vg.Ph():this.vg.je();this.TB.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.vg.enabled())};r.prototype.Wca=function(){var a=this.get("settings");if(a){LibsLoader.xn(a);Preloader.lS(a);this.pd.lS(a)}};r.prototype.zea=function(a){Preloader.enabled(a)};
r.prototype.ZW=function(){if(URL.Tg("debug"))return[];var a=[];this.nt=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.nt.push(function(){b.trigger("click")})}.bind(this));var b=this.yl("PanoramaPlayer");if(b.length){a.push(b[0].get("mouseControlMode")==e.Vp?k("change-to-drag-and-release"):k("change-to-click-and-move"));this.nt.push(this.qga.bind(this))}if(this.vg.available()){a.push(this.vg.enabled()?k("exit-fullscreen"):k("enter-fullscreen"));this.nt.push(this.oga.bind(this))}a.push(this.get("mute")?
k("unmute"):k("mute"));this.nt.push(this.pga.bind(this));b=[].concat(h.name?[h.name]:[],h.Aia!="false"?["v:"+h.nR+"."+h.uR]:[]).join(" ");if(b!=""){a.push("");a.push(b);this.nt.push(this.fda.bind(this))}return a};r.prototype.UY=function(a){this.nt[a.data.index]()};r.prototype.qga=function(){var a=this.yl("PanoramaPlayer"),b=a[0].get("mouseControlMode")==e.Vp?e.Ol:e.Vp;a.forEach(function(a){window.localStorage&&localStorage.setItem(p,b);a.set("mouseControlMode",b)})};r.prototype.Xca=function(){(window.localStorage&&
window.localStorage.getItem(p))==e.Ol&&this.yl("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",e.Ol)});URL.Tg("vr")&&VR.Ph()};r.prototype.Nca=function(){var a=this.PC();if(this.hN!=a){this.hN=a;this.trigger(r.QS)}};r.prototype.oga=function(){this.vg.toggle()};r.prototype.pga=function(){this.set("mute",!this.get("mute"))};r.prototype.fda=function(){h.v5&&window.open(h.v5,"_blank")};r.prototype.PC=function(){return this.get("actualWidth")<this.get("actualHeight")?"portrait":"landscape"};
r.prototype.Oba=function(){b.Fia(o);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();k.log();VR.log()};var p="tdvp_"+window.location.pathname+"_rotation_mode";return r});
define("bx",["require","gW","ho","iX","df"],function(a){var b=a("gW"),c=a("ho"),f=a("iX"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("PlayerMenuItem",b).A("Object").K({label:"string"}).Zi([f.S]);return b});
define("D","require,gW,ho,iX,eo,df,gt".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("iX"),e=a("eo"),d=a("df"),h=a("gt"),a=b.extend(c,function(){c.call(this);this.set("visible",z);this.set("state",e.N);this.set("showDuration",1E3);this.set("hideDuration",1E3);this.set("darkenBackground",o);this.set("lookAwayToHide",o);this.set("lookAwayToHideTime",2E3);this.set("showEasing","linear");this.set("hideEasing","linear");this.bind(f.Ca("state"),function(){this.trigger(f.Tl)},this,o);this.Gd=m});a.prototype.show=
function(){this.set("visible",o)};a.prototype.hide=function(){this.set("visible",z)};a.prototype.play=function(){this.set("state",e.Q)};a.prototype.pause=function(){this.set("state",e.qB)};a.prototype.stop=function(){this.set("state",e.N)};d.v("PopupPanoramaOverlay",a).A("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]"}).Th({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).Yb([f.qa,f.Ts,f.kq,f.Tl]).Zi([f.S]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Gd===m)this.Gd=h.uja(this);return this.Gd}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.Gd=
m;d=o}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(f.Ca("playbackPositions"))};return a});define("iY",["cE","gW","t","df"],function(a,b,c,f){a=b.extend(c,function(){c.call(this)});f.v("ProgressBar",a).A("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("dl",["require","gW","ho","df","iX"],function(a){var b=a("gW"),c=a("ho"),f=a("df"),a=a("iX"),b=b.extend(c,function(){c.call(this)});f.v("RotationalCameraMovement",b).A("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"}).Yb([a.qa]);return b});
define("X",[],function(){return{xa:"left",Za:"right",rb:"top",zb:"bottom"}});define("ch",["gW","cO","G","X"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.cx=R(0);c.prototype.dx=R(0);c.prototype.MO=function(){this.tm(function(a){a.SG(this.cx(a,0));a.TG(this.dx(a,0));a.Ye(o)})};c.prototype.cF=function(){this.tm(function(a){a.SG(this.cx(a,this.tL()));a.TG(this.dx(a,this.tL()))})};c.prototype.Cu=function(){this.tm(function(a){a.SG(this.cx(a,1));a.TG(this.dx(a,1))})};return c});
define("ik",["gW","ch","X"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.cx=function(a,b){switch(this.get("from")){case c.rb:case c.zb:return 0;case c.xa:var d=a.Z,h=a.ua();return isNaN(h)||isNaN(d)?1E4:(-d-h)*(1-b);default:d=a.getParent();if(!d)return 0;h=d.jd();d=a.Z;return isNaN(d)||isNaN(h)?1E4:(h-d)*(1-b)}};a.prototype.dx=function(a,b){switch(this.get("from")){case c.rb:var d=a.$,h=a.Wa();return isNaN(h)||isNaN(d)?1E4:(-d-h)*(1-b);case c.zb:d=a.getParent();if(!d)return 0;
h=d.hd();d=a.$;return isNaN(d)||isNaN(h)?1E4:(h-d)*(1-b);default:return 0}};return a});define("bv",["gW","ik","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("SlideInEffect",a).A("Effect").K({from:"enum[left, top, right, bottom]"});return a});
define("eF",["gW","ch","G","X"],function(a,b,c,f){a=a.extend(b,function(){b.call(this)});a.prototype.cx=function(a,b){switch(this.get("to")){case f.rb:case f.zb:return 0;case f.xa:var c=a.Z,k=a.ua();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;default:c=a.getParent();if(!c)return 0;k=c.jd();c=a.Z;return isNaN(c)||isNaN(k)?1E4:(k-c)*b}};a.prototype.dx=function(a,b){switch(this.get("to")){case f.rb:var c=a.$,k=a.Wa();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;case f.zb:c=a.getParent();if(!c)return 0;k=c.hd();
c=a.$;return isNaN(c)||isNaN(k)?1E4:(k-c)*b;default:return 0}};a.prototype.Cu=function(){this.tm(function(a){a.SG(0);a.TG(0);a.Ye(z)})};return a});define("fh",["gW","eF","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("SlideOutEffect",a).A("Effect").K({to:"enum[left, top, right, bottom]"});return a});
define("da",["require","gW","df","he"],function(a){var b=a("gW"),c=a("df"),f=a("he"),a=b.extend(f,function(){f.call(this)});c.v("SphericPanoramaFrame",a).A("PanoramaFrame").K({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource]"});a.prototype.ika=function(){var a=this.get("sphere");return a&&c.qb("Video360Resource",a)};return a});
define("cb","cE,gW,r,iI,hW,G,fx".split(","),function(a,b,c,f,e,d,h){var k=b.extend(f,function(a){f.call(this);this.Ic("Tab");this.mN=a;this.jz="";this.jP=z;this.jY=this.ha=q;this.YP=this.XP=z;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",o)});k.prototype.ma=function(){f.prototype.ma.call(this);this.f("horizontalAlign",e.bd);this.f("verticalAlign",e.Uc);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")};k.prototype.a5=function(a){if(this.XP!=a){this.XP=a;this.YP=o;this.Tb()}};k.prototype.Ga=function(){f.prototype.Ga.call(this);if(this.ha==q){this.ha=new h;this.ha.set("horizontalAlign","center");this.pa(this.ha)}};k.prototype.pj=function(){f.prototype.pj.call(this);this.jY=c.watch(this.mN,"label",this.vca,this);this.E0(this.mN.get("label"))};
k.prototype.fO=function(){f.prototype.fO.call(this);this.jY.unwatch()};k.prototype.vca=function(){var a=this.mN.get("label");this.E0(a?a:"")};k.prototype.E0=function(a){if(this.jz!=a){this.jz=a;this.jP=o;this.Tb()}};k.prototype.ca=function(){if(this.jP){this.jP=z;this.ha.set("text",this.jz)}if(this.YP){this.YP=z;this.ha.set("direction",this.XP?d.Je:d.oe)}this.Sa(k.tU,k.Ys,[this.ha],o,o);f.prototype.ca.call(this)};k.tU=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration",
"textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];k.Ys={};a(k.tU).each(function(a){k.Ys[a]=a});return k});define("de",[],function(){return{hw:"normal",Ss:"inverse",ES:"center"}});
define("bU","cE,gW,Q,L,iX,iI,hW,c,cb,de,X".split(","),function(a,b,c,f,e,d,h,k,i,n,g){b=b.extend(d,function(){d.call(this);this.Ic("TabPanel");this.Gc=-1;this.Kr=z;this.hz=[];this.kF=z;this.Uk=[];this.oN=z;this.gz=[];this.Xd=this.xe=q;this.Mr(z)});b.prototype.ma=function(){d.prototype.ma.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",g.rb);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",n.hw);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.Ga=function(){d.prototype.Ga.call(this);if(this.Xd==q){this.Xd=new d;this.Xd.Mr(z);this.pa(this.Xd)}if(this.xe==q){this.xe=new d;this.xe.Mr(z);this.pa(this.xe)}};b.prototype.set=function(a,b){if(a=="pages")this.ema(b||[]);else if(a=="selectedIndex")this.kS(b);else if(a=="layout")b=k.ana;d.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
"pages"?this.Uk:a=="selectedIndex"?this.Gc:d.prototype.get.call(this,a,b)};b.prototype.kS=function(a){if(this.Gc!=a){this.Gc=a;this.Gc=Math.min(Math.max(this.Gc,-1),this.Uk.length);this.Kr=o;this.Tb();this.trigger(e.W)}};b.prototype.ema=function(b){if(!a.isEqual(this.Uk,b)){this.Uk=b;this.oN=o;this.Tb()}};b.prototype.gga=function(b){this.hz=a(this.hz).union([b.source]);this.kF=o;this.Tb()};b.prototype.fga=function(b){this.hz=a(this.hz).difference([b.source]);this.kF=o;this.Tb()};b.prototype.ega=function(b){this.kS(a(this.gz).indexOf(b.source))};
b.prototype.ca=function(){var b=z,r=z,p=z,s=z,t=z,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.oN){this.gz=[];this.xe.s4();this.Xd.s4();a(this.Uk).forEach(function(b){var c=new i(b);c.Mr(o);c.bind(e.ed,a.bind(this.gga,this));c.bind(e.Cc,a.bind(this.fga,this));c.bind(e.mb,a.bind(this.ega,this));this.gz.push(c);this.xe.pa(c);b.P({top:m,left:m,right:m,bottom:m,width:"100%",height:"100%"});this.Xd.pa(b)},this);this.Gc=Math.min(Math.max(this.Gc,0),this.Uk.length-1);this.oN=z;r=b=t=o}if(this.m("tabsPosition")){this.o("tabsPosition");
s=r=b=o}if(this.Kr){this.Kr=z;p=r=t=o}if(this.kF){this.kF=z;p=o}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.m(a)){this.o(a);b=o}},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=o}},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=o}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.m(a)){this.o(a);s=o}},this);this.m("backgroundColorDirection")&&this.o("backgroundColorDirection");if(b){switch(u){case g.xa:this.xe.P({left:0,
right:m});break;case g.Za:this.xe.P({left:m,right:0});break;case g.rb:this.xe.P({bottom:m,top:0});break;case g.zb:this.xe.P({bottom:0,top:m})}switch(u){case g.xa:case g.Za:this.xe.P({layout:k.Je,top:0,bottom:0,height:m,width:this.j("tabsSize")});switch(v){case n.Ss:this.xe.set("verticalAlign",h.zb);break;case n.ES:this.xe.set("verticalAlign",h.Uc);break;default:this.xe.set("verticalAlign",h.rb)}break;case g.rb:case g.zb:this.xe.P({layout:k.oe,left:0,right:0,height:this.j("tabsSize"),width:m});switch(v){case n.Ss:this.xe.set("horizontalAlign",
h.Za);break;case n.ES:this.xe.set("horizontalAlign",h.bd);break;default:this.xe.set("horizontalAlign",h.xa)}}this.xe.set("gap",this.j("tabsGap"))}if(r)for(var w=0;w<this.Uk.length;w++){var y=this.gz[w];if(u==g.zb||u==g.rb){y.P({layout:k.oe,width:m,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:c.wI});y.a5(z)}else{y.P({layout:k.Je,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),
height:m,backgroundColorDirection:c.dI});y.a5(o)}u==g.zb||u==g.Za?y.set("borderTopLeftRadius",0):y.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==g.zb||u==g.xa?y.set("borderTopRightRadius",0):y.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==g.rb||u==g.Za?y.set("borderBottomLeftRadius",0):y.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius",
"borderLeftRadius","borderRadius"));u==g.rb||u==g.xa?y.set("borderBottomRightRadius",0):y.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==g.Za&&y.set("borderSize",this.j("borderRightSize","borderSize"));u==g.xa&&y.set("borderSize",this.j("borderLeftSize","borderSize"));u==g.rb&&y.set("borderSize",this.j("borderTopSize","borderSize"));u==g.zb&&y.set("borderSize",this.j("borderBottomSize","borderSize"));var A;switch(u){case g.xa:A=
this.j("borderLeftColor","borderColor");break;case g.Za:A=this.j("borderRightColor","borderColor");break;case g.zb:A=this.j("borderBottomColor","borderColor");break;default:case g.rb:A=this.j("borderTopColor","borderColor")}y.set("borderColor",A);y.P({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||
p)for(w=0;w<this.Uk.length;w++){y=this.gz[w];p=w==this.Gc;A=a(this.hz).contains(y);if(p){A=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(A).isUndefined()){A=this.j("backgroundColor");A=a(A).isArray()&&A.length>0?u==g.xa||u==g.rb?A[0]:A[A.length-1]:A}y.P({backgroundOpacity:this.j("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:A,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:f.hc,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 A?y.P({backgroundOpacity:this.j("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.j("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:f.Od,
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")}):y.P({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")});y.P({borderLeftSize:u==g.Za&&p?0:m,borderRightSize:u==g.xa&&p?0:m,borderBottomSize:u==g.rb&&p?0:m,borderTopSize:u==g.zb&&p?0:m})}if(s){w=this.j("tabsSize");switch(u){case g.xa:this.Xd.P({left:w-
(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case g.Za:this.Xd.P({left:0,right:w-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case g.rb:this.Xd.P({left:0,right:0,top:w-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case g.zb:this.Xd.P({left:0,right:0,top:0,bottom:w-(this.j("borderBottomSize","borderSize")||0)})}u==g.rb&&v==n.hw||u==g.xa&&v==n.hw?this.Xd.set("borderTopLeftRadius",0):this.Xd.set("borderTopLeftRadius",this.j("borderTopLeftRadius",
"borderTopRadius","borderLeftRadius","borderRadius"));u==g.rb&&v==n.Ss||u==g.Za&&v==n.hw?this.Xd.set("borderTopRightRadius",0):this.Xd.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==g.zb&&v==n.hw||u==g.xa&&v==n.Ss?this.Xd.set("borderBottomLeftRadius",0):this.Xd.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==g.zb&&v==n.Ss||u==g.Za&&v==n.Ss?this.Xd.set("borderBottomRightRadius",
0):this.Xd.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.Xd.P({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==g.rb||u==g.zb?this.Xd.set("backgroundColorDirection",c.wI):this.Xd.set("backgroundColorDirection",c.dI)}if(t)for(w=0;w<this.Uk.length;w++)this.Uk[w].set("visible",w==this.Gc);d.prototype.ca.call(this)};return b});
define("iE",["cE","gW","iX","bU","df"],function(a,b,c,f,e){a=b.extend(f,function(){f.call(this)});e.v("TabPanel",a).A("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"}).In(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).Yb([c.W]);return a});define("dE",["gW","iI"],function(a,b){var c=a.extend(b,function(){b.call(this);this.Ic("Page");this.set("label","")});c.prototype.ma=function(){b.prototype.ma.call(this);this.f("visible",m)};return c});
define("M",["gW","dE","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("TabPanelPage",a).A("Container").K({label:"string"});return a});define("dZ",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("TargetPanoramaCameraMovement",b).A("TargetRotationalCameraMovement");return b});
define("cg",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("TargetRotationalCameraDisplayMovement",b).A("RotationalCameraMovement").K({stereographicFactorSpeed:"number",path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number",targetStereographicFactor:"number"});return b});
define("eO",["require","gW","hs","df"],function(a){var b=a("gW"),c=a("hs"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("TiledImageResourceLevel",b).A("ImageResourceLevel").K({rowCount:"number",colCount:"number"});return b});define("fO",["require","gW","df","eW"],function(a){var b=a("gW"),c=a("df"),f=a("eW"),a=b.extend(f,function(){f.call(this)});c.v("TripodCapPanoramaOverlay",a).A("CapPanoramaOverlay");return a});
define("eZ","require,gW,r,iX,hW,bP,L,c,X,hu,ej,iI,hH,fx,cE".split(","),function(a){var b=a("gW"),c=a("r"),f=a("iX"),e=a("hW"),d=a("bP"),h=a("L"),k=a("c"),i=a("X"),n=a("hu"),g=a("ej"),l=a("iI"),r=a("hH"),p=a("fx"),s=a("cE"),t=b.extend(l,function(){l.call(this);this.ha=this.mc=q;this.Eq=[];this.set("autoRolledOver",o);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",o);this.set("creationPolicy",d.cw);this.set("cursor",h.Od)});t.prototype.ma=function(){l.prototype.ma.call(this);this.f("overflow",
"hidden");this.f("item");this.f("thumbnailUrlFunction",this.yK);this.f("sourceProperties");this.f("labelFunction",this.wK);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",g.q,"backgroundOpacity");this.h("rollOverBackgroundColor",g.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",g.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",g.q,"backgroundColorDirection");this.h("rollOverBorderRadius",g.q,"borderRadius");this.h("rollOverBorderTopRadius",g.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",g.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",g.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
g.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",g.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",g.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",g.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",g.q,"borderBottomRightRadius");this.h("rollOverBorderSize",g.q,"borderSize");this.h("rollOverBorderLeftSize",g.q,"borderLeftSize");this.h("rollOverBorderTopSize",g.q,"borderTopSize");this.h("rollOverBorderRightSize",g.q,"borderRightSize");
this.h("rollOverBorderBottomSize",g.q,"borderBottomSize");this.h("rollOverBorderColor",g.q,"borderColor");this.h("rollOverBorderLeftColor",g.q,"borderLeftColor");this.h("rollOverBorderTopColor",g.q,"borderTopColor");this.h("rollOverBorderRightColor",g.q,"borderRightColor");this.h("rollOverBorderBottomColor",g.q,"borderBottomColor");this.h("rollOverLabelFontColor",g.q,"labelFontColor");this.h("rollOverLabelFontSize",g.q,"labelFontSize");this.h("rollOverLabelFontStyle",g.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
g.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",g.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",g.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",g.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",g.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",g.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",g.q,"labelTextShadowOpacity");this.h("rollOverOpacity",g.q,"opacity");
this.h("rollOverPaddingLeft",g.q,"paddingLeft");this.h("rollOverPaddingTop",g.q,"paddingTop");this.h("rollOverPaddingRight",g.q,"paddingRight");this.h("rollOverPaddingBottom",g.q,"paddingBottom");this.h("rollOverShadow",g.q,"shadow");this.h("rollOverThumbnailOpacity",g.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",g.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",g.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",g.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
g.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",g.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",g.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",g.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",g.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",g.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",g.B,"backgroundOpacity");this.h("selectedBackgroundColor",g.B,"backgroundColor");
this.h("selectedBackgroundColorRatios",g.B,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",g.B,"backgroundColorDirection");this.h("selectedBorderRadius",g.B,"borderRadius");this.h("selectedBorderTopRadius",g.B,"borderTopRadius");this.h("selectedBorderBottomRadius",g.B,"borderBottomRadius");this.h("selectedBorderLeftRadius",g.B,"borderLeftRadius");this.h("selectedBorderRightRadius",g.B,"borderRightRadius");this.h("selectedBorderTopLeftRadius",g.B,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
g.B,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",g.B,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",g.B,"borderBottomRightRadius");this.h("selectedBorderSize",g.B,"borderSize");this.h("selectedBorderLeftSize",g.B,"borderLeftSize");this.h("selectedBorderTopSize",g.B,"borderTopSize");this.h("selectedBorderRightSize",g.B,"borderRightSize");this.h("selectedBorderBottomSize",g.B,"borderBottomSize");this.h("selectedBorderColor",g.B,"borderColor");this.h("selectedBorderLeftColor",
g.B,"borderLeftColor");this.h("selectedBorderTopColor",g.B,"borderTopColor");this.h("selectedBorderRightColor",g.B,"borderRightColor");this.h("selectedBorderBottomColor",g.B,"borderBottomColor");this.h("selectedLabelFontColor",g.B,"labelFontColor");this.h("selectedLabelFontSize",g.B,"labelFontSize");this.h("selectedLabelFontStyle",g.B,"labelFontStyle");this.h("selectedLabelFontWeight",g.B,"labelFontWeight");this.h("selectedLabelTextDecoration",g.B,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
g.B,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",g.B,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",g.B,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",g.B,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",g.B,"labelTextShadowOpacity");this.h("selectedOpacity",g.B,"opacity");this.h("selectedPaddingLeft",g.B,"paddingLeft");this.h("selectedPaddingTop",g.B,"paddingTop");this.h("selectedPaddingRight",
g.B,"paddingRight");this.h("selectedPaddingBottom",g.B,"paddingBottom");this.h("selectedShadow",g.B,"shadow");this.h("selectedThumbnailOpacity",g.B,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",g.B,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",g.B,"thumbnailBorderColor");this.h("selectedThumbnailShadow",g.B,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",g.B,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",g.B,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",g.B,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",g.B,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",g.B,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",g.B,"thumbnailShadowOpacity")};t.prototype.PA=function(a){this.Ty(a)};t.prototype.Ga=function(){l.prototype.Ga.call(this);if(!this.mc){this.mc=new r;this.pa(this.mc);this.mc.set("horizontalAlign",e.bd);this.mc.set("verticalAlign",e.Uc);this.mc.bind(f.O,
this.mP,this)}if(!this.ha){this.ha=new p;this.pa(this.ha)}};t.prototype.yK=function(a){if(s(a).isString())return a;if(a&&a.qS)return a.qS};t.prototype.wK=function(a){if(a&&a.label)return a.label};t.prototype.ca=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.Eq.length;)this.Eq.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.Eq.push(c.watch(b,a,this.cN,this,o))}.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.mc.get("url")!=a&&this.mc.P({url:a,visible:o,opacity:0.5}):this.mc.P({url:m,visible:z});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ha.P({text:a,visible:a?o:z});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!==m?c:b};switch(this.j("labelPosition")){case i.xa:case i.Za:this.set("layout",k.oe);this.ha.set("width","100%");this.mc.P({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.ng)});break;default:this.set("layout",k.Je);this.ha.set("width","100%");this.mc.P({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.ng)})}switch(this.j("labelPosition")){case i.xa:case i.rb:this.Xi(this.ha,0);break;default:this.Xi(this.ha,1)}this.o("labelPosition")}this.Sa(t.HI,t.sU,[this],o,o);this.Sa(t.JI,t.vU,[this.mc],o,o);this.Sa(t.II,t.uU,[this.ha],o,o);l.prototype.ca.call(this)};t.prototype.cN=function(){this.Nr("item")};t.prototype.Lr=function(a){l.prototype.Lr.call(this,a)};t.prototype.mP=function(){this.mc.set("opacity",1)};t.sU={labelGap:"gap"};
t.HI=s(t.sU).keys();t.uU={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.II=s(t.uU).keys();t.vU={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.JI=s(t.vU).keys();return t});
define("bn","gW,bF,hW,iX,bP,c,eK,X,iI,eZ,cE".split(","),function(a,b,c,f,e,d,h,k,i,n,g){var l=a.extend(i,function(){i.call(this);this.set("contentOpaque",o)});l.prototype.ma=function(){i.prototype.ma.call(this);this.f("layout",d.Mn);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",h.Ck);this.f("itemHorizontalAlign",c.bd);this.f("itemLabelFontFamily");this.f("itemLabelPosition",k.zb);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
c.bd);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.Uc);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.xx=function(a){this.Lg=o;this.set("selectedIndex",this.xL(a.source))};l.prototype.xL=function(a){for(var b=this.Ma(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.ca=function(){this.m("layout")&&this.j("layout")!=d.Mn&&this.set("layout",d.Mn);var a=z;if(this.m("items")){var a=o,c=this.j("items")||
[],e=this.Ma();if(e.length<c.length){for(var g=e.length;g<c.length;g++){e=new n;e.bind(f.S,this.xx,this);this.Sa(l.mw,l.sq,[e],z,z);this.Sa(l.nw,l.tq,[e],z,z);this.pa(e)}e=this.Ma()}if(e.length>c.length){for(g=c.length;g<e.length;g++){var h=e[g];h.unbind(f.S,this.xx,this);this.removeChild(h)}e=this.Ma()}for(g=0;g<c.length;g++)e[g].set("item",c[g]);this.o("items")}if(this.m("selectedIndex")||a){c=this.Ma();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].PA(g==a);this.o("selectedIndex");if(this.Lg){this.Lg=z;this.trigger(new b(f.W))}}this.Sa(l.mw,l.sq,this.Ma(),o,z);this.Sa(l.nw,l.tq,this.Ma(),o,o);i.prototype.ca.call(this)};l.sq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.tq={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.mw=g(l.sq).keys();l.nw=g(l.tq).keys();return l});
define("gm","gW,iX,bn,df,hR,cD,bl,cE".split(","),function(a,b,c,f,e,d,h){a=a.extend(c,function(){c.call(this);this.tb=q;this.set("itemMode","normal");this.Fj=z;this.Dw=new e(this,"buttonScrollDown",d.pc);this.Dw.bind(b.S,this.z4,this);this.Ew=new e(this,"buttonScrollLeft",d.pc);this.Ew.bind(b.S,this.scrollLeft,this);this.Fw=new e(this,"buttonScrollRight",d.pc);this.Fw.bind(b.S,this.A4,this);this.Gw=new e(this,"buttonScrollUp",d.pc);this.Gw.bind(b.S,this.B4,this);this.bind(b.W,this.Zca,this)});f.v("ThumbnailGrid",
a).A("UIComponent").K({buttonScrollDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollUp:"or[array[or[Button, IconButton]], or[Button, 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]"}).In(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.Yg=function(){c.prototype.Yg.call(this);
this.$r()};a.prototype.kn=function(){c.prototype.kn.call(this);this.$r()};a.prototype.$r=function(){this.Dw.set("visible",!this.Fj||this.YB());this.Gw.set("visible",!this.Fj||this.aC());this.Ew.set("visible",!this.Fj||this.ZB());this.Fw.set("visible",!this.Fj||this.$B())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Dm);this.set("itemThumbnailUrlFunction",this.zx);this.set("itemTooltipFunction",this.jr);this.set("itemSourceProperties",
["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.jr);this.set("itemThumbnailUrlFunction",this.Dm);this.set("itemTooltipFunction",this.Dm);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.jr);this.set("itemThumbnailUrlFunction",this.zx);this.set("itemTooltipFunction",this.Dm);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a==
"playList"){this.tb&&this.tb.unbind("change",this.Rm,this);if(this.tb=b){this.set("items",this.tb.get("items"));this.set("selectedIndex",this.tb.get("selectedIndex"));this.tb.bind("change",this.Rm,this,o)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Fj=b;this.$r()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.tb;default:return c.prototype.get.call(this,a,b)}};a.prototype.Rm=function(){this.set("items",this.tb.get("items"));
this.set("selectedIndex",this.tb.get("selectedIndex"))};a.prototype.Zca=function(){this.tb&&this.tb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Dm=C();a.prototype.jr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.zx=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=h.o2(b));return b};return a});
define("gA","require,gW,r,iX,hW,bP,L,c,X,hu,ej,iI,hH,fx,cE".split(","),function(a){var b=a("gW"),c=a("r"),f=a("iX"),e=a("hW"),d=a("bP"),h=a("L"),k=a("c"),i=a("X"),n=a("hu"),g=a("ej"),l=a("iI"),r=a("hH"),p=a("fx"),s=a("cE"),t=b.extend(l,function(){l.call(this);this.ha=this.mc=q;this.Eq=[];this.set("autoRolledOver",o);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",o);this.set("creationPolicy",d.cw);this.set("cursor",h.Od)});t.prototype.ma=function(){l.prototype.ma.call(this);this.f("listLayout");
this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.yK);this.f("sourceProperties");this.f("labelFunction",this.wK);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",g.q,"backgroundOpacity");this.h("rollOverBackgroundColor",g.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",g.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",g.q,"backgroundColorDirection");this.h("rollOverBorderRadius",g.q,"borderRadius");this.h("rollOverBorderTopRadius",g.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",g.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",g.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
g.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",g.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",g.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",g.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",g.q,"borderBottomRightRadius");this.h("rollOverBorderSize",g.q,"borderSize");this.h("rollOverBorderLeftSize",g.q,"borderLeftSize");this.h("rollOverBorderTopSize",g.q,"borderTopSize");this.h("rollOverBorderRightSize",g.q,"borderRightSize");
this.h("rollOverBorderBottomSize",g.q,"borderBottomSize");this.h("rollOverBorderColor",g.q,"borderColor");this.h("rollOverBorderLeftColor",g.q,"borderLeftColor");this.h("rollOverBorderTopColor",g.q,"borderTopColor");this.h("rollOverBorderRightColor",g.q,"borderRightColor");this.h("rollOverBorderBottomColor",g.q,"borderBottomColor");this.h("rollOverLabelFontColor",g.q,"labelFontColor");this.h("rollOverLabelFontSize",g.q,"labelFontSize");this.h("rollOverLabelFontStyle",g.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
g.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",g.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",g.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",g.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",g.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",g.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",g.q,"labelTextShadowOpacity");this.h("rollOverOpacity",g.q,"opacity");
this.h("rollOverPaddingLeft",g.q,"paddingLeft");this.h("rollOverPaddingTop",g.q,"paddingTop");this.h("rollOverPaddingRight",g.q,"paddingRight");this.h("rollOverPaddingBottom",g.q,"paddingBottom");this.h("rollOverShadow",g.q,"shadow");this.h("rollOverThumbnailOpacity",g.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",g.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",g.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",g.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
g.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",g.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",g.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",g.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",g.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",g.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",g.B,"backgroundOpacity");this.h("selectedBackgroundColor",g.B,"backgroundColor");
this.h("selectedBackgroundColorRatios",g.B,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",g.B,"backgroundColorDirection");this.h("selectedBorderRadius",g.B,"borderRadius");this.h("selectedBorderTopRadius",g.B,"borderTopRadius");this.h("selectedBorderBottomRadius",g.B,"borderBottomRadius");this.h("selectedBorderLeftRadius",g.B,"borderLeftRadius");this.h("selectedBorderRightRadius",g.B,"borderRightRadius");this.h("selectedBorderTopLeftRadius",g.B,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
g.B,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",g.B,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",g.B,"borderBottomRightRadius");this.h("selectedBorderSize",g.B,"borderSize");this.h("selectedBorderLeftSize",g.B,"borderLeftSize");this.h("selectedBorderTopSize",g.B,"borderTopSize");this.h("selectedBorderRightSize",g.B,"borderRightSize");this.h("selectedBorderBottomSize",g.B,"borderBottomSize");this.h("selectedBorderColor",g.B,"borderColor");this.h("selectedBorderLeftColor",
g.B,"borderLeftColor");this.h("selectedBorderTopColor",g.B,"borderTopColor");this.h("selectedBorderRightColor",g.B,"borderRightColor");this.h("selectedBorderBottomColor",g.B,"borderBottomColor");this.h("selectedLabelFontColor",g.B,"labelFontColor");this.h("selectedLabelFontSize",g.B,"labelFontSize");this.h("selectedLabelFontStyle",g.B,"labelFontStyle");this.h("selectedLabelFontWeight",g.B,"labelFontWeight");this.h("selectedLabelTextDecoration",g.B,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
g.B,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",g.B,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",g.B,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",g.B,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",g.B,"labelTextShadowOpacity");this.h("selectedOpacity",g.B,"opacity");this.h("selectedPaddingLeft",g.B,"paddingLeft");this.h("selectedPaddingTop",g.B,"paddingTop");this.h("selectedPaddingRight",
g.B,"paddingRight");this.h("selectedPaddingBottom",g.B,"paddingBottom");this.h("selectedShadow",g.B,"shadow");this.h("selectedThumbnailOpacity",g.B,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",g.B,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",g.B,"thumbnailBorderColor");this.h("selectedThumbnailShadow",g.B,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",g.B,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",g.B,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",g.B,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",g.B,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",g.B,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",g.B,"thumbnailShadowOpacity")};t.prototype.PA=function(a){this.Ty(a)};t.prototype.Ga=function(){l.prototype.Ga.call(this);if(!this.mc){this.mc=new r;this.pa(this.mc);this.mc.set("horizontalAlign",e.bd);this.mc.set("verticalAlign",e.Uc);this.mc.bind(f.O,
this.mP,this)}if(!this.ha){this.ha=new p;this.pa(this.ha)}};t.prototype.yK=function(a){if(s(a).isString())return a;if(a&&a.qS)return a.qS};t.prototype.wK=function(a){if(a&&a.label)return a.label};t.prototype.ca=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.Eq.length;)this.Eq.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.Eq.push(c.watch(b,a,this.cN,this,o))}.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.mc.get("url")!=a&&this.mc.P({url:a,visible:o,opacity:0.5}):this.mc.P({url:m,visible:z});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ha.P({text:a,visible:a?o:z});this.o("labelFunction")}this.o("sourceProperties");
this.o("item");if(this.m("listLayout"))switch(this.j("listLayout")){case k.Je:this.P({width:"100%",height:m});break;default:this.P({height:"100%",width:m})}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===m&&(c=b);return c};switch(this.j("labelPosition")){case i.xa:case i.Za:this.set("layout",k.oe);this.ha.set("width","100%");switch(this.j("listLayout")){case k.Je:this.mc.P({height:a("thumbnailHeight"),
width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.ng)});break;default:this.mc.P({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",n.ng)})}break;default:this.set("layout",k.Je);this.ha.set("width",m);switch(this.j("listLayout")){case k.Je:this.mc.P({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",n.wk)});break;default:this.mc.P({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
n.ng)})}}switch(this.j("labelPosition")){case i.xa:case i.rb:this.Xi(this.ha,0);break;default:this.Xi(this.ha,1)}this.o("labelPosition")}this.o("listLayout");this.Sa(t.HI,t.Ys,[this],o,o);this.Sa(t.JI,t.Ys,[this.mc],o,o);this.Sa(t.II,t.Ys,[this.ha],o,o);l.prototype.ca.call(this)};t.prototype.cN=function(){this.Nr("item")};t.prototype.Lr=function(a){l.prototype.Lr.call(this,a)};t.prototype.mP=function(){this.mc.set("opacity",1)};t.HI=["labelGap"];t.JI=["thumbnailBorderColor","thumbnailBorderRadius",
"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];t.II=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
"labelTextShadowOpacity"];t.Ys={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("w","require,gW,bF,hW,iX,c,eK,X,iI,gA,cE".split(","),function(a){var b=a("gW"),c=a("bF"),f=a("hW"),e=a("iX"),d=a("c"),h=a("eK"),k=a("X"),i=a("iI"),n=a("gA"),a=a("cE"),g=b.extend(i,function(){i.call(this);this.set("contentOpaque",o);this.bind(e.Ca("selectedIndex"),this.pea,this);this.bind(e.hb,this.mga,this)});g.prototype.ma=function(){i.prototype.ma.call(this);this.f("layout",d.oe);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",h.Ck);this.f("itemHorizontalAlign",f.bd);this.f("itemLabelFontFamily");
this.f("itemLabelPosition",k.zb);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",f.bd);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",f.Uc);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")};g.prototype.xx=function(a){this.Lg=o;this.set("selectedIndex",this.xL(a.source))};g.prototype.pea=function(){this.h0()};g.prototype.mga=function(){this.h0()};g.prototype.h0=function(){var a=this.get("selectedIndex"),b=this.Ma();a>=0&&a<b.length&&this.scrollIntoView(b[a])};g.prototype.xL=function(a){for(var b=this.Ma(),
c=0;c<b.length;c++)if(b[c]==a)return c;return-1};g.prototype.ca=function(){if(this.m("layout")){var a=this.j("layout");a!=d.Je&&a!=d.oe&&this.set("layout",d.oe)}var b=z;if(this.m("items")){var b=o,a=this.j("items")||[],f=this.Ma();if(f.length<a.length){for(var h=f.length;h<a.length;h++){f=new n;f.bind(e.S,this.xx,this);this.Sa(g.mw,g.sq,[f],z,z);this.Sa(g.nw,g.tq,[f],z,z);this.pa(f)}f=this.Ma()}if(f.length>a.length){for(h=a.length;h<f.length;h++){var k=f[h];k.unbind(e.S,this.xx,this);this.removeChild(k)}f=
this.Ma()}for(h=0;h<a.length;h++)f[h].set("item",a[h]);this.o("items")}if(this.m("selectedIndex")||b){a=this.Ma();b=Math.min(a.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",b);for(h=0;h<a.length;h++)a[h].PA(h==b);this.o("selectedIndex");if(this.Lg){this.Lg=z;this.trigger(new c(e.W))}}this.Sa(g.mw,g.sq,this.Ma(),o,z);this.Sa(g.nw,g.tq,this.Ma(),o,o);i.prototype.ca.call(this)};g.sq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};g.tq={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"};g.mw=a(g.sq).keys();g.nw=a(g.tq).keys();return g});
define("ez","gW,iX,w,df,hR,cD,bl,cE".split(","),function(a,b,c,f,e,d,h){a=a.extend(c,function(){c.call(this);this.tb=q;this.set("itemMode","normal");this.Fj=z;this.Dw=new e(this,"buttonScrollDown",d.pc);this.Dw.bind(b.S,this.z4,this);this.Ew=new e(this,"buttonScrollLeft",d.pc);this.Ew.bind(b.S,this.scrollLeft,this);this.Fw=new e(this,"buttonScrollRight",d.pc);this.Fw.bind(b.S,this.A4,this);this.Gw=new e(this,"buttonScrollUp",d.pc);this.Gw.bind(b.S,this.B4,this);this.bind(b.W,this.$ca,this)});f.v("ThumbnailList",
a).A("UIComponent").K({buttonScrollDown:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollLeft:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollRight:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonScrollUp:"or[array[or[Button, IconButton]], or[Button, 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:"*"}).In(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.Yg=function(){c.prototype.Yg.call(this);this.$r()};a.prototype.kn=
function(){c.prototype.kn.call(this);this.$r()};a.prototype.$r=function(){this.Dw.set("visible",!this.Fj||this.YB());this.Gw.set("visible",!this.Fj||this.aC());this.Ew.set("visible",!this.Fj||this.ZB());this.Fw.set("visible",!this.Fj||this.$B())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Dm);this.set("itemThumbnailUrlFunction",this.zx);this.set("itemTooltipFunction",this.jr);this.set("itemSourceProperties",["label","media.label",
"media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.jr);this.set("itemThumbnailUrlFunction",this.Dm);this.set("itemTooltipFunction",this.Dm);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.jr);this.set("itemThumbnailUrlFunction",this.zx);this.set("itemTooltipFunction",this.Dm);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a==
"playList"){this.tb&&this.tb.unbind("change",this.Rm,this);if(this.tb=b){this.set("items",this.tb.get("items"));this.tb.bind("change",this.Rm,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Fj=b;this.$r()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.tb;default:return c.prototype.get.call(this,a,b)}};a.prototype.Rm=function(){this.set("items",this.tb.get("items"));this.set("selectedIndex",this.tb.get("selectedIndex"))};
a.prototype.$ca=function(){this.tb&&this.tb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Dm=C();a.prototype.jr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.zx=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=h.o2(b));return b};return a});
define("bp",["gW","iX","d","df"],function(a,b,c,f){a=a.extend(c,function(){c.call(this)});f.v("UIComponent",a).A("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",
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]"}).In(["toolTipFontSize"]).qk(["backgroundImageUrl"]).Yb([b.og,
b.INIT,b.S,b.nj,b.$e,b.hb,b.ed,b.Cc,b.tf]);return a});define("eG",["require","gW","by"],function(a){var b=a("gW"),c=a("by"),a=b.extend(c,function(a,b,d,h){c.call(this);this.vb=a;this.M=b;this.aa=d;this.yc=h});a.prototype.kk=function(){return[]};a.prototype.Ee=P("vb");a.prototype.Ac=P("M");a.prototype.kd=P("aa");return a});
define("s","require,gW,iX,df,hu,cJ,dA,eG".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("df"),e=a("hu"),d=a("cJ"),h=a("dA"),k=a("eG"),a=b.extend(d,function(){d.call(this);this.F=m});a.gj=h.gj;f.v("Video",a).A("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]"}).Yb([c.qa,a.gj]);a.prototype.Kc=function(){if(this.F==m){var a=this.get("video");this.F=a?new k(a.Ee(),this.get("width",
320),this.get("height",Math.round(this.get("width",320)*3/4)),this.get("scaleMode",e.Ie),this.get("loop",z)):q}return this.F};a.prototype.wn=function(){this.get("video");return[]};return a});define("en","require,gW,iX,df,fn,dA".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("df"),e=a("fn"),a=a("dA"),b=b.extend(e,function(){e.call(this)});b.gj=a.gj;f.v("VideoPanorama",b).A("Panorama").K({cues:"array[VideoCue]",loop:"bool"}).Yb([c.qa,b.gj]);return b});
define("fR",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("Video360Resource",b).A("Video360ResourceLevel").K({levels:"array[Video360ResourceLevel]"});b.prototype.get=function(a,b){switch(a){case "levels":b=[this]}return c.prototype.get.call(this,a,b)};return b});
define("cn","require,gW,cE,df,da,en,fR".split(","),function(a){var b=a("gW"),c=a("cE"),f=a("df"),e=a("da"),d=a("en"),h=a("fR"),a=b.extend(d,function(){d.call(this);this.Vj=this.u=m});f.v("Video360",a).A("VideoPanorama").K({video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.A7(b):d.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="video"?this.u===m?b:this.u:d.prototype.get.call(this,a,b)};a.prototype.A7=function(a){if(this.u!=
a){this.u=a;a=[];if(this.u){var b=new e;b.set("sphere",this.Xba(this.u));a.push(b)}d.prototype.set.call(this,"frames",a)}};a.prototype.Xba=function(a){if(c.isArray(a)){var b=[];c(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new h;a.set("levels",b)}return a};return a});define("bk",["require","gW","df","iN"],function(a){var b=a("gW"),c=a("df"),f=a("iN"),a=b.extend(f,function(){f.call(this)});c.v("Video360Player",a).A("PanoramaPlayer");return a});
define("gj",["gW","df","bX","cC"],function(a,b,c,f){a=a.extend(f,function(){f.call(this)});b.v("Video360PlayListItem",a).A("PlayListItem").K({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.He,this.vh,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.He,this.vh,this),a.get("video")==this.get("media")&&a.set("video",q));f.prototype.stop.call(this)};a.prototype.vh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.He,this.vh,this),this.get("player").bind(c.mg,this.Uj,this),this.Xu())};a.prototype.Uj=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.mg,this.Uj,this),this.end())};return a});
define("iS",["require","gW","ho","df"],function(a){var b=a("gW"),c=a("ho"),a=a("df"),b=b.extend(c,function(){c.call(this)});a.v("Video360ResourceLevel",b).A("Object").K({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).qk(["posterURL","url"]);return b});
define("bu","require,gW,ho,iX,eo,bF,df,dA,gt".split(","),function(a){var b=a("gW"),c=a("ho"),f=a("iX"),e=a("eo"),d=a("bF"),h=a("df"),k=a("dA"),i=a("gt"),n=b.extend(c,function(){c.call(this);this.Gd=m;this.set("enabled",o);this.set("interactionEnabled",o);this.set("state",e.N);this.set("enabledInCardboard",o);this.set("enabledInStandard",o);this.set("blending",0);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});n.prototype.play=function(){this.set("state",e.Q)};n.prototype.pause=function(){this.set("state",
e.Zb)};n.prototype.stop=function(){this.set("state",e.N)};n.gj=k.gj;n.cd="stateChange";h.v("VideoPanoramaOverlay",n).A("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",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]",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]"}).Yb([f.qa,f.nj,f.$e,n.gj,n.cd]).Zi([f.S]).Th({pause:n.prototype.pause,play:n.prototype.play,stop:n.prototype.stop});n.prototype.set=function(a,b){var i=
z;switch(a){case "state":var h=this.get("state")||e.N;h!=b&&this.trigger(new d(n.cd,{oldState:h,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.Gd=m;i=o}c.prototype.set.call(this,a,b);i&&a!="playbackPositions"&&this.trigger(f.Ca("playbackPositions"))};n.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Gd===m)this.Gd=
i.qG(this);return this.Gd}return c.prototype.get.call(this,a,b)};n.prototype.qG=function(){if(this.Gd===m)this.Gd=i.qG(this);return this.Gd};return n});
define("gP","cE,gW,iX,bF,dQ,eo,s".split(","),function(a,b,c,f,e,d,h){function k(a,b,c){this.time=a;this.cue=b;this.action=c}b=b.extend(e,function(a){e.call(this);this.g=a;this.g.bind(c.W,this.Ru,this,o);this.g.bind(c.qa,this.Iz,this,o);this.uc=this.wj=q;this.Cf=z;this.bf=[];this.kh=m;this.Mc=[]});b.prototype.clear=function(){this.g.unbind(c.W,this.Ru,this,o);this.g.unbind(c.qa,this.Iz,this,o);this.uc=this.wj=this.g=q;this.bf=[];this.Mc=[]};b.prototype.start=function(a){this.end();this.wj=a;this.uc=
a.Kc();this.aK();this.cz()};b.prototype.end=function(){this.Kw();this.uc=this.wj=q};b.prototype.Ld=function(a){a=a!=d.N;if(this.Cf!=a)(this.Cf=a)?this.cz():this.Kw()};b.prototype.Iz=function(){this.Ru()};b.prototype.cz=function(){this.kh=this.rt=0};b.prototype.Ru=function(){if(this.uc&&this.Cf){var b=this.Mc.slice(),d=this.g.SQ(this.uc),e=d-this.rt;if(e<0){this.Mc=[];this.kh=0}e=e>=0&&e<2;this.rt=d;var h;for(h=this.kh;h<this.bf.length;h++)if(this.bf[h].time>d)break;for(;this.kh<h;this.kh++){d=this.bf[this.kh];
if(d.action=="start"){this.Mc=a(this.Mc).union([d.cue]);e&&d.cue.trigger(new f(c.ej))}else{this.Mc=a(this.Mc).difference([d.cue]);e&&d.cue.trigger(new f(c.qa))}}(b.length!=this.Mc.length||a(b).intersection(this.Mc).length!=this.Mc.length)&&this.qz()}};b.prototype.Kw=function(){if(this.Mc.length>0){this.Mc=[];this.qz()}};b.prototype.qz=function(){this.wj.trigger(new f(h.gj,{activeCues:this.Mc.slice()}))};b.prototype.aK=function(){this.bf=[];var b=this.wj.get("cues",[]);a(b).each(function(a){this.bf.push(new k(a.get("startTime",
0),a,"start"));this.bf.push(new k(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.bf.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("ix",["gW","bF","dQ","iX","hu"],function(a,b,c){var f=a.extend(c,function(a,b){c.call(this);this.H=a;this.g=b;this.hu=[];this.V=f.gi;this.Vf=q;this.DK=m;this.sg=q;this.Ki=this.H.get("transitionDuration");this.Ih=m});f.prototype.display=function(a,b){this.KJ();if(this.sg!=a||this.V!=f.gi)this.hu.push({video:a,startTime:b}),this.vZ()};f.prototype.hide=function(){this.KJ();this.hu.push({video:q,startTime:m});this.vZ()};f.prototype.clear=function(){this.V=f.gi;this.KJ();this.Vda();this.dO();this.g=
q};f.prototype.Wi=function(a){if(this.V!=f.gi&&(this.V==f.Zl||this.V==f.pw))this.Ih+=a,a=Math.min(1,this.Ih/this.Ki),this.V==f.Zl?this.g.jg(this.Vf.Kc(),a):this.g.jg(this.sg.Kc(),1-a),this.Ih<this.Ki?this.ea():this.V==f.Zl?this.XK():this.YK()};f.prototype.vZ=function(){0<this.hu.length&&this.V==f.gi&&this.Un()};f.prototype.Un=function(){this.sg&&this.trigger(new b(f.gq,{video:this.sg}));if("fade_out_fade_in"==this.H.get("transitionMode","blending")&&this.sg)this.Aw();else{var a=this.hu.shift();this.Vf=
a.video;this.DK=a.startTime;this.Vf?this.mJ():this.sg&&this.Aw()}};f.prototype.mJ=function(){this.X6();this.Ih=0;this.V=f.Zl;this.ea()};f.prototype.XK=function(){this.dO();this.sg=this.Vf;this.Vf=q;this.Tq()};f.prototype.Aw=function(){this.Ih=0;this.V=f.pw;this.ea()};f.prototype.YK=function(){this.dO();this.sg=q;this.Tq()};f.prototype.Tq=function(){this.V=f.gi;this.sg&&this.trigger(new b(f.hq,{video:this.sg}));0!=this.hu.length&&this.Un()};f.prototype.ea=function(){this.trigger(new b(f.ra))};f.prototype.KJ=
function(){this.hu=[]};f.prototype.X6=function(){this.Vf&&(this.g.Rz(this.Vf.Kc()),this.g.aS(this.Vf.Kc(),this.DK||0),this.g.Sz(this.Vf.Kc()),this.g.jg(this.Vf.Kc(),0),this.trigger(new b(f.YH,{video:this.Vf,startTime:this.DK})))};f.prototype.dO=function(){this.sg&&(this.g.removeItem(this.sg.Kc()),this.trigger(new b(f.gB,{video:this.sg})),this.sg=q)};f.prototype.Vda=function(){this.Vf&&(this.g.removeItem(this.Vf.Kc()),this.trigger(new b(f.gB,{video:this.Vf})),this.Vf=q)};f.gi="stopped";f.Zl="blending";
f.pw="disolving";f.ra="request frame";f.YH="video added";f.gB="video removed";f.hq="video show";f.gq="video hide";return f});
define("fG","require,gW,iX,bF,dQ,eo".split(","),function(a){var b=a("gW"),c=a("iX"),f=a("bF"),e=a("dQ"),d=a("eo"),h=b.extend(e,function(a){e.call(this);this.g=a;this.g.bind(c.qa,this.Iz,this);this.g.bind(c.W,this.ds,this,o);this.uc=this.wj=q;this.Xc=z;this.qK=d.N});h.prototype.start=function(a,b){this.end();this.wj=a;if(this.uc=a.Kc()){this.Xc&&this.g.h4(this.uc);this.kb(d.Q);this.g.m4(this.uc);this.g.aS(this.uc,b||0)}};h.prototype.end=function(){this.stop();this.uc=this.wj=q};h.prototype.clear=function(){this.g.unbind(c.W,
this.ds,this,o);this.g.unbind(c.qa,this.Iz,this);this.g=q};h.prototype.play=function(){if(this.uc){this.kb(d.Q);this.g.m4(this.uc)}};h.prototype.pause=function(){if(this.uc){this.kb(d.Zb);this.g.zka(this.uc)}};h.prototype.stop=function(){if(this.uc){this.kb(d.N);this.g.Ema(this.uc)}};h.prototype.Cp=function(){if(!this.Xc){this.Xc=o;this.uc&&this.g.h4(this.uc)}};h.prototype.Ms=function(){if(this.Xc){this.Xc=z;this.uc&&this.g.Mma(this.uc)}};h.prototype.setTime=function(a){this.uc&&this.g.aS(this.uc,
a)};h.prototype.getTime=function(){if(this.uc)return this.g.SQ(this.uc)};h.prototype.ds=function(a){a=a.data.item;this.uc==a&&this.trigger(new f(h.iq,{video:this.wj,time:this.g.SQ(a),duration:this.g.jja(a)}))};h.prototype.Iz=function(a){if(this.uc==a.data.item){if(this.wj.get("loop")){this.setTime(0);this.play()}else this.kb(d.N);this.trigger(new f(h.fq,{video:this.wj}))}};h.prototype.kb=function(a){if(this.qK!=a){this.qK=a;this.trigger(new f(h.Ab,{state:this.qK}))}};h.Ab="playback state change";
h.fq="video end";h.iq="video time change";return h});define("gy",["gW","bF","dQ","P"],function(a,b,c,f){var e=a.extend(c,function(a){c.call(this);this.ba=o;this.Aj=z;this.g=a});e.prototype.clear=function(){this.ba=z;this.g=q};e.prototype.za=function(){this.Aj||(this.Aj=o,f.za(this.Pe,this))};e.prototype.Pe=function(a){this.ba&&(this.Aj=z,this.trigger(new b(e.SH,{frameTime:a})),this.g.render())};e.SH="frame";return e});
define("fg","gW,bF,dQ,gP,ix,fG,gy".split(","),function(a,b,c,f,e,d,h){var k=a.extend(c,function(a,b){c.call(this);this.H=a;this.g=b;this.kc=new h(this.g);this.X=new e(this.H,this.g);this.Va=new d(this.g);this.vj=new f(this.g);this.kc.bind(h.SH,this.DZ,this,o);this.X.bind(e.ra,this.Qb,this,o);this.X.bind(e.gq,this.Uj,this,o);this.X.bind(e.hq,this.vh,this,o);this.X.bind(e.YH,this.KZ,this,o);this.X.bind(e.gB,this.PZ,this,o);this.Va.bind(d.Ab,this.Fd,this,o);this.Va.bind(d.fq,this.Tj,this,o);this.Va.bind(d.iq,
this.ny,this,o)});k.prototype.clear=function(){this.kc.clear();this.X.clear();this.Va.clear();this.vj.clear();this.kc.unbind(h.SH,this.DZ,this);this.X.unbind(e.ra,this.Qb,this);this.X.unbind(e.gq,this.Uj,this);this.X.unbind(e.hq,this.vh,this);this.X.unbind(e.YH,this.KZ,this);this.X.unbind(e.gB,this.PZ,this);this.Va.unbind(d.Ab,this.Fd,this);this.Va.unbind(d.fq,this.Tj,this);this.Va.unbind(d.iq,this.ny,this);this.H=this.g=this.vj=this.Va=this.X=this.kc=q};k.prototype.uma=function(a,b){this.X.display(a,
b)};k.prototype.Ds=function(){this.X.hide();this.Va.end();this.vj.end()};k.prototype.play=function(){this.Va.play()};k.prototype.stop=function(){this.Va.stop()};k.prototype.pause=function(){this.Va.pause()};k.prototype.Cp=function(){this.Va.Cp()};k.prototype.Ms=function(){this.Va.Ms()};k.prototype.setTime=function(a){this.Va.setTime(a)};k.prototype.getTime=function(){return this.Va.getTime()};k.prototype.Qb=function(){this.kc.za()};k.prototype.DZ=function(a){this.X.Wi(a.data.frameTime)};k.prototype.KZ=
function(a){var b=a.data.video;this.Va.start(b,a.data.startTime);this.vj.start(b)};k.prototype.PZ=C();k.prototype.vh=function(a){this.trigger(new b(k.hq,{video:a.data.video}))};k.prototype.Uj=function(a){this.trigger(new b(k.gq,{video:a.data.video}))};k.prototype.Tj=function(a){this.trigger(new b(k.fq,{video:a.data.video}))};k.prototype.ny=function(a){this.trigger(new b(k.iq,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};k.prototype.Fd=function(a){a=a.data.state;this.vj.Ld(a);this.trigger(new b(k.Ab,
{state:a}))};k.hq="videoShow";k.gq="videoHide";k.fq="videoEnd";k.iq="videoTimeChange";k.Ab="playbackStateChange";return k});define("cP",["require","hx"],function(a){var b=a("hx");return{create:function(a){return new b(a)}}});
define("gR","gW,ho,iX,bF,df,bX,fl,hu,eo,fg,cP".split(","),function(a,b,c,f,e,d,h,k,i,n,g){b=a.extend(h,function(){h.call(this,"video");this.set("clickAction","none");this.set("displayPlayOverlay",z);this.Qq=this.YO=this.ds=this.eg=z;this.p=this.g=q;this.Pb=this.Rb=0;this.Pc=a.Cn(this.ye,this)});e.v("VideoPlayer",b).A("Object").K({buttonPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlay:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonPlayPause:"or[array[or[Button, IconButton]], or[Button, IconButton]]",
buttonStop:"or[array[or[Button, IconButton]], or[Button, IconButton]]",buttonRestart:"or[array[or[Button, IconButton]], or[Button, IconButton]]",clickAction:"enum[play_pause, none]",displayPlayOverlay:"bool",displayPlaybackBar:"bool",currentTime:"number",state:"enum[stopped, playing, paused]",video:"Video",viewerArea:"ViewerArea"}).Th({seek:function(a){this.Py(a)},play:function(){this.Zt()},pause:function(){this.Yt()},stop:function(){this.wr()},restart:function(){this.vr()}}).Yb([d.He,d.mg,h.cd]);
b.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.YO=o;this.Pc();break;case "video":this.ds=o;this.Pc();break;case "viewerArea":this.eg=o;this.Pc();break;case "displayPlaybackBar":this.Qq=o;this.Pc()}h.prototype.set.call(this,a,b)}};b.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0}return h.prototype.get.call(this,a,b)};b.prototype.ye=function(){if(this.eg){this.eg=z;this.Pq();this.get("viewerArea")&&this.Mq();this.aF(this.get("viewerArea"));
this.ds=o}var a=z;if(this.g&&(this.ds||this.YO)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.$a()){this.Pc();return}this.YO=this.ds=z;this.Pb=this.Rb=0;a=o;if(b){this.FE();this.p.uma(b,c)}else this.p.Ds()}if(this.Qq){this.Qq=z;a=o}a&&this.Bz()};b.prototype.ez=function(){this.set("video",q)};b.prototype.Mq=function(){if(this.g=g.create(this.get("application"))){this.g.P({left:0,top:0,bottom:0,right:0});var a=this.get("viewerArea");a.pa(this.g);a.bind(c.S,this.SZ,this,o);(this.jc=
a.jc)&&this.jc.bind(c.S,this.TZ,this,o);this.yN=z;this.p=new n(a,this.g);this.p.bind(n.hq,this.vh,this);this.p.bind(n.gq,this.Uj,this);this.p.bind(n.fq,this.Tj,this,o);this.p.bind(n.iq,this.ny,this,o);this.p.bind(n.Ab,this.Fd,this);this.get("application").bind(c.Ca("mute"),this.ey,this);this.get("application").get("mute",z)&&this.p.Cp();this.zu(o)}};b.prototype.Pq=function(){if(this.g){this.p.unbind(n.hq,this.vh,this);this.p.unbind(n.gq,this.Uj,this);this.p.unbind(n.fq,this.Tj,this);this.p.unbind(n.iq,
this.ny,this);this.p.unbind(n.Ab,this.Fd,this);this.p.clear();this.get("application").unbind(c.Ca("mute"),this.ey,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.S,this.SZ,this,o);this.jc&&this.jc.unbind(c.S,this.TZ,this,o);this.g=q;this.zu(z)}};b.prototype.ey=function(){this.g&&(this.get("application").get("mute",z)?this.p.Cp():this.p.Ms())};b.prototype.Fd=function(a){a=a.data.state;this.g&&this.g.hma(this.get("displayPlayOverlay")&&a!=i.Q);this.kb(a)};b.prototype.vh=function(a){this.BD(a.data.video)};
b.prototype.Uj=function(a){this.AD(a.data.video)};b.prototype.Tj=function(){this.get("video").trigger(new f(c.qa))};b.prototype.ny=function(a){this.Rb=a.data.time;this.Pb=a.data.duration;this.Bz()};b.prototype.SZ=function(){if(this.yN)this.yN=z;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=i.Q?this.p.play():this.p.pause()}};b.prototype.TZ=function(){this.yN=o};b.prototype.tE=function(a){this.Py(a.data.position)};b.prototype.ag=function(){this.p.play()};b.prototype.Ii=function(){this.p.stop()};
b.prototype.Xj=function(){this.p.pause()};b.prototype.Py=function(a){this.p&&this.p.setTime(a)};b.prototype.Bz=function(){if(this.g){var a=this.g.getParent();this.Pb>0&&this.get("displayPlaybackBar")?a.P({playbackBarPosition:this.Rb,playbackBarDuration:this.Pb,playbackBarVisible:o}):a.set("playbackBarVisible",z)}};return b});
define("dr",["gW","df","bX","cC"],function(a,b,c,f){a=a.extend(f,function(){f.call(this)});b.v("VideoPlayListItem",a).A("PlayListItem").K({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){f.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.He,this.vh,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.He,this.vh,this),a.get("video")==this.get("media")&&
a.set("video",q));f.prototype.stop.call(this)};a.prototype.vh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.He,this.vh,this),this.get("player").bind(c.mg,this.Uj,this),this.Xu())};a.prototype.Uj=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.mg,this.Uj,this),this.end())};return a});
define("hS",["require","gW","ho","df","hj"],function(a){var b=a("gW"),c=a("ho"),f=a("df"),e=a("hj"),a=b.extend(c,function(){c.call(this)});f.v("VideoResource",a).A("Object").K({mp4Url:"string",oggUrl:"string",webmUrl:"string",width:"number",height:"number"}).qk(["mp4Url","oggUrl","webmUrl"]);a.prototype.Ee=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&e.tG?c:a&&e.uG?a:b&&e.bR?b:c||a||b};return a});
define("eg","require,jquery.mod,gW,iX,p,hy,d,ec".split(","),function(a){var b=a("jquery.mod"),c=a("gW"),f=a("iX"),e=a("p"),d=a("hy"),h=a("d"),k=a("ec"),a=c.extend(h,function(){h.call(this);this.Ic("WebFrame");this.Hx=this.Uq=this.ff=this.rp=q;this.WM=this.WM.bind(this);this.QD=this.QD.bind(this);this.bind(f.tf,this.eda,this,o);this.bind(f.og,this.dda,this,o)});a.prototype.ma=function(){h.prototype.ma.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",z);this.f("scrollEnabled",
o)};a.prototype.eda=function(){this.Nr("url")};a.prototype.dda=function(){this.Nr("url")};a.prototype.Ga=function(){h.prototype.Ga.call(this);if(!this.rp){this.rp=b("<div></div>");this.rp.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Ka().append(this.rp)}if(!this.ff){this.ff=b("<iframe></iframe>");this.ff.css({position:"absolute",left:0,top:0});this.ff.attr("allowfullscreen","true");this.ff.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr");this.rp.append(this.ff)}if(!this.Uq){this.Uq=
b("<div></div>");this.Uq.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":e.lb()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.rp.append(this.Uq)}};a.prototype.ca=function(){if(this.m("url")){var a=this.j("url");a&&this.dr?this.q0(a):this.q0("");this.o("url")}if(this.m("insetBorder")){this.j("insetBorder")?
this.ff.attr("frameborder","1"):this.ff.attr("frameborder","0");this.o("insetBorder")}if(this.m("scrollEnabled")){if(this.j("scrollEnabled")){this.ff.attr("scrolling","auto");this.rp.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.ff.attr("scrolling","no");this.rp.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.o("scrollEnabled")}h.prototype.ca.call(this)};a.prototype.Lc=function(){this.ff&&k.css(this.ff.get(0),{width:this.M+"px",height:this.aa+"px"});h.prototype.Lc.call(this)};
a.prototype.q0=function(a){if(this.ff.attr("src")!=a){this.JX();if(a){this.Kfa();this.J7()}else{this.HJ();this.z1()}this.ff.attr("src",a)}};a.prototype.WM=function(){this.Hx=q;this.wba()&&this.Afa()};a.prototype.QD=function(){this.JX();this.HJ();this.z1()};a.prototype.J7=function(){this.ff.on("load",this.QD)};a.prototype.z1=function(){this.ff.off("load",this.QD)};a.prototype.HJ=function(){if(this.Hx){clearTimeout(this.Hx);this.Hx=q}};a.prototype.Kfa=function(){this.HJ();this.Hx=setTimeout(this.WM.bind(this),
3E3)};a.prototype.wba=function(){if(window.location.protocol=="https:"){var a=this.ff.attr("src");if(d.parse(a).protocol!="https:")return o}return z};a.prototype.Afa=function(){this.Uq.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Uq.show()};a.prototype.JX=function(){this.Uq.hide()};return a});
define("bw",["gW","eg","df"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.v("WebFrame",a).A("UIComponent").K({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).qk(["url"]);return a});define("cs",["cE","gW","iI","c"],function(a,b,c,f){var e=b.extend(c,function(){c.call(this)});e.Ta={layout:f.oe};a.defaults(e.Ta,c.Ta);e.prototype.ma=function(){this.li(e.Ta)};return e});
define("hG","cE,gW,iX,bF,hW,c,iI,cs,ex,dI,d,im,iA,fx".split(","),function(a,b,c,f,e,d,h,k,i,n,g,l,r,p){var s=b.extend(i,function(){i.call(this);this.Ic("Window");this.Wn=this.lt=this.nz=this.xg=q;this.rJ=new h;this.At=q;this.OL=this.NL=0;this.H0=this.I0=z;this.gQ=this.hQ=m;for(var a in s.Ona)this.Nr(a);this.bind(c.hb,this.Kha,this);this.bind(c.kq,this.Iha,this);this.bind(c.Ts,this.Lha,this);this.bind(c.S,this.Hha,this);this.JF=0;this.Jc=new h;this.Jc.P({visible:z,includeInLayout:z,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:z});this.Jc.bind(c.hb,this.Z1,this);this.Jc.bind(c.Ts,this.Fha,this);this.Jc.bind(c.kq,this.Y1,this);this.Jc.bind(c.kq,this.Y1,this);this.Jc.bind(c.S,this.Eha,this);this.Jc.pa(this)});s.prototype.set=function(a,b){switch(a){case "maxWidth":this.hQ=b;this.wF();break;case "maxHeight":this.gQ=b;this.wF();break;case "children":this.rJ.set(a,b);break;case "shadow":this.I0=b;this.W1();break;default:i.prototype.set.call(this,a,b)}};s.prototype.show=
function(b,c){this.wF(b);this.set("visible",z);this.Jc.set("visible",z);this.z7();c&&this.kia();b.pa(this.Jc);var d=this;a.defer(function(){d.Jc.set("visible",o)})};s.prototype.z7=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.Jc.set("showEffect",b):this.Jc.set("showEffect",q);a&&c?this.Jc.set("hideEffect",c):this.Jc.set("hideEffect",q)};s.prototype.hide=function(){this.JF=0;this.ZE(z);this.set("visible",z)};s.prototype.kia=function(){this.set("centerX",
0);this.set("centerY",0)};s.prototype.get=function(a,b){return a=="children"?this.rJ.get(a,b):i.prototype.get.call(this,a,b)};s.nU={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.mU=a(s.nU).keys();s.FI={borderRadius:"borderTopRadius",borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",
borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};s.EI=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];s.FU={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.EU=a(s.FU).keys();s.hU={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.gU=a(s.hU).keys();s.jU={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.iU=a(s.jU).keys();s.lU={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};s.kU=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius",
"borderRadius"];s.dU={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.cU=a(s.dU).keys();s.eU={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};s.B6=a(s.eU).keys();s.HU={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",
veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};s.GU=a(s.HU).keys();s.Ta=function(){var b={modal:z,visible:z,centerX:0,centerY:0,veilShowEffect:m,veilHideEffect:m};a.defaults(b,h.Ta);for(var c=[].concat(s.mU,s.EU,s.gU,s.cU,s.iU,s.GU),d=0;d<c.length;d++)b[c[d]]=m;return b}();s.prototype.ma=function(){this.li(s.Ta)};s.prototype.Ga=function(){i.prototype.Ga.call(this);if(this.xg==q){this.xg=new k;this.xg.set("width","100%");this.xg.bind(c.mb,this.Qaa,this);this.pa(this.xg)}if(this.nz==
q){this.nz=new p;this.nz.set("width","100%");this.xg.pa(this.nz)}if(this.lt==q){this.lt=new n;this.lt.P({horizontalAlign:e.bd,verticalAlign:e.Uc});this.lt.bind(c.S,this.M8,this);this.xg.pa(this.lt)}if(this.Wn==q){this.Wn=this.rJ;this.Wn.P({width:"100%",height:"100%"});this.pa(this.Wn)}if(this.At==q){this.At=new h;this.At.set("width","100%");this.pa(this.At)}};s.prototype.Eha=function(){this.JF++;setTimeout(function(){this.JF>0&&this.hide()}.bind(this),100)};s.prototype.Hha=function(){this.JF--};s.prototype.M8=
function(){this.hide()};s.prototype.Qaa=function(a){this.NL=a.pageX;this.OL=a.pageY;this.$a().bind(c.oc,this.j2,this,o);this.$a().bind(c.Eb,this.k2,this,o)};s.prototype.j2=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.NL));this.set("centerY",this.get("centerY")+(a.pageY-this.OL));this.NL=a.pageX;this.OL=a.pageY;this.V1()};s.prototype.k2=function(){this.$a().unbind(c.oc,this.j2,this);this.$a().unbind(c.Eb,this.k2,this)};s.prototype.Z1=function(){this.wF()};s.prototype.Fha=function(){this.set("visible",
o)};s.prototype.Y1=function(){this.Jc.unbind(c.hb,this.Z1,this);var a=this.Jc.getParent();a&&a.removeChild(this.Jc);this.trigger(new f(c.Tp))};s.prototype.Kha=function(){this.V1()};s.prototype.Lha=function(){this.ZE(o)};s.prototype.Iha=function(){this.Jc.set("visible",z)};s.prototype.ZE=function(a){this.H0=a;this.W1()};s.prototype.W1=function(){i.prototype.set.call(this,"shadow",this.H0&&this.I0)};s.prototype.wF=function(a){a||(a=this.T);this.hQ!==m?i.prototype.set.call(this,"maxWidth",this.hQ):a?
i.prototype.set.call(this,"maxWidth",a.ua()):i.prototype.set.call(this,"maxWidth",m);this.gQ!==m?i.prototype.set.call(this,"maxHeight",this.gQ):a?i.prototype.set.call(this,"maxHeight",a.Wa()):i.prototype.set.call(this,"maxHeight",m)};s.prototype.V1=function(){var a=this.Jc.ua(),b=this.ua(),c=this.get("centerX"),b=a*0.5+c-b*0.5,d=this.xg.Qg(),e=this.xg.ua(),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.Jc.Wa();b=this.Wa();c=this.get("centerY");
b=a*0.5+c-b*0.5;d=this.xg.Al();e=this.xg.Wa();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.ca=function(){this.Sa(s.mU,s.nU,[this.xg],o,o);this.Sa(s.EI,s.FI,[this.xg],o,z);this.get("headerHeight")===0?this.Sa(s.EI,s.FI,[this.Wn],o,z):this.Sa(s.EI,s.FI,[this.xg],o,z);this.Sa(s.EU,s.FU,[this.nz],o,o);this.Sa(s.gU,s.hU,[this.lt],o,o);this.Sa(s.cU,s.dU,[this.Wn],o,o);this.Sa(s.B6,s.eU,[this.Wn],o,z);this.Sa(s.iU,s.jU,[this.At],o,o);this.get("footerHeight")===
0?this.Sa(s.kU,s.lU,[this.Wn],o,z):this.Sa(s.kU,s.lU,[this.At],o,z);if(this.j("modal")){this.Sa(s.GU,s.HU,[this.Jc],o,o);this.Jc.set("contentOpaque",o)}else{this.Jc.set("backgroundOpacity",0);this.Jc.set("contentOpaque",z)}this.P({layout:d.Je,horizontalAlign:e.bd,verticalAlign:e.Uc});i.prototype.ca.call(this);this.ri.ZG(0)};return s});
define("cF",["cE","gW","hG","df","iX"],function(a,b,c,f,e){a=b.extend(c,function(){c.call(this)});f.v("Window",a).A("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"}).In(["titleFontSize"]).Th({show:a.prototype.show,
hide:a.prototype.hide}).Yb([e.Tp]);return a});
define("hX","require,jquery.mod,cE,iX,eQ,bF,dQ,P,iM,be,gz,hu,p,gW".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.tv=this.source.get("grayscale");this.An=new l(d.Ak)}var c=a("jquery.mod"),f=a("cE"),e=a("iX"),d=a("eQ"),h=a("bF"),k=a("dQ"),i=a("P"),n=a("iM"),g=a("be"),l=a("gz"),r=a("hu"),p=a("p"),s=a("gW"),t=s.extend(k,function(){k.call(this);this.Qd=q;this.OX=[];this.oh=[];this.Ha=this.wa=
this.Oa=this.Ja=100;this.Fc=1;this.Zn=this.Yn=0.5;this.Ib=1;this.wf=this.gf=q;this.kE=z;this.hK={};this.qt={};this.qt.low={};this.qt.hight={};if(p.Yu()==p.Wv){this.qt.low.transform="translateZ(0)";this.qt.hight.transform=""}this.ba=z;this.$d="inherit";this.D=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.jx=q;this.wc=s.Cn(this.L,this)});t.prototype.pb=P("D");t.prototype.Mp=function(a){if(this.yc!=a){this.yc=a;this.gJ(1);this.wc()}};t.prototype.tla=function(a){if(this.$d!=
a){this.$d=a;this.wf&&this.wf.css("cursor",this.$d);this.gf&&this.gf.css("cursor",this.$d)}};t.prototype.Ela=function(a){if(this.OX!=a){this.GJ();this.Qd=q;if(this.gf){this.gf.detach();this.gf=q}if(this.wf){this.wf.detach();this.wf=q}if(this.ef)this.ef=q;this.GJ();this.kE=z;f(this.oh).each(function(a){a.An.cancel();a.An.unbind(e.O,this.lY,this)},this);a=(this.OX=a)&&a.get("levels")||[];this.oh=f(a).map(function(a){a=new b(a);a.An.bind(e.O,this.lY,this);return a},this);if(a=this.baa()){this.wa=a.width;
this.Ha=a.height}else this.Ha=this.wa=100;this.Zn=this.Yn=0.5;this.gJ(1);this.wc()}};t.prototype.Ll=function(a,b){if(this.Ja!=a||this.Oa!=b){this.Ja=a;this.Oa=b;this.wc()}};t.prototype.ula=function(a,b){if(this.jW!=a||this.iW!=b){this.jW=a;this.iW=b;this.wc()}};t.prototype.ke=function(a){if(this.ba!=a){this.ba=a;this.wc()}};t.prototype.move=function(a,b){var c=this.Fc*this.Ib;this.Yn=this.Yn+a/(this.wa*c);this.Zn=this.Zn+b/(this.Ha*c);this.GE()};t.prototype.vs=P("Ib");t.prototype.setScale=function(a){this.gJ(Math.max(1,
Math.min(1/this.Fc,a)));this.Qd&&this.Qd.width<this.Ib*this.Fc*this.wa&&this.Qd.width<this.wa?this.L():this.GE()};t.prototype.T3=function(a){if(!this.gf)return z;var b=this.gf.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.gf.width()&&a<this.gf.height()};t.prototype.L=function(){if(this.ba){this.vha();var a=this.haa();if(a&&a.An.yn()){if(a!=this.Qd){if(!this.Qd){this.wc();this.kE=o}this.G9(a);this.Qd=a}this.v0(q)}else this.v0(a);this.GE()}};t.prototype.vha=function(){var a;switch(this.yc){case r.wk:a=
this.Ja/this.wa;break;case r.ng:a=this.Oa/this.Ha;break;case r.Ql:a=this.wa*this.Oa>this.Ha*this.Ja?this.Oa/this.Ha:this.Ja/this.wa;break;case r.B5:a=Math.min(this.jW/this.wa,this.iW/this.Ha);break;default:a=this.wa*this.Oa>this.Ha*this.Ja?this.Ja/this.wa:this.Oa/this.Ha}this.x7(a)};t.prototype.lY=function(){this.wc()};t.prototype.G9=function(a){if(this.wf){this.CO(this.wf,1);this.gf&&this.gf.detach();this.gf=this.wf}this.wf=this.i9(a);this.CO(this.wf,0);this.D.append(this.wf);this.ef=this.f9();this.hK=
{}};t.prototype.haa=function(){return this.Qd?this.A$(this.Ib*this.Fc*this.wa):this.vaa()};t.prototype.v0=function(a){f(this.oh).each(function(b){b==a?b.An.Ee()!=b.url&&b.An.load(b.url):b.An.yn()||b.An.cancel()})};t.prototype.baa=function(){return f(this.oh).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.tv&&a.tv)a=b;return a},q)};t.prototype.vaa=function(){return f(this.oh).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.tv&&!a.tv)a=b;return a},q)};t.prototype.A$=
function(a){return f(this.oh).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.tv&&b.tv)b=c;return b},q)};t.prototype.i9=function(a){a=c(a.An.vd(o));a.css({position:"absolute",cursor:this.$d,"pointer-events":"none"});return a};t.prototype.f9=function(){return new n("linear",[new g("alpha",0,1)],200)};t.prototype.GE=function(){i.za(function(a){this.nu(a,"low")},this)};t.prototype.PQ=function(){return this.wa*this.Ib*this.Fc};t.prototype.OQ=
function(){return this.Ha*this.Ib*this.Fc};t.prototype.P2=function(){var a=this.PQ();return a>this.Ja?Math.max(this.Ja-a,Math.min(0,this.Ja*0.5-a*this.Yn)):(this.Ja-a)*0.5};t.prototype.Q2=function(){var a=this.OQ();return a>this.Oa?Math.max(this.Oa-a,Math.min(0,this.Oa*0.5-a*this.Zn)):(this.Oa-a)*0.5};t.prototype.nu=function(a,b){var b=b||"low",c=this.PQ(),d=this.P2(),f=this.OQ(),g=this.Q2();this.Yn=(this.Ja*0.5-d)/c;this.Zn=(this.Oa*0.5-g)/f;var c={left:Math.round(d)+"px",top:Math.round(g)+"px",
width:Math.round(c)+"px",height:Math.round(f)+"px",display:"block"},i;for(i in this.qt[b])c[i]=this.qt[b][i];if(this.hK!=c){this.gf&&this.gf.css(c);this.wf&&this.wf.css(c);this.hK=c}this.GJ();if(this.ef){this.ef.Ya(a);this.CO(this.wf,this.ef.Xa("alpha"));if(this.ef.wd()){this.ef=q;this.gf&&this.gf.detach();this.gf=this.wf;this.wf=q}this.GE()}else b=="low"&&this.Jfa();if(!this.ef&&this.kE){this.kE=z;this.trigger(new h(e.O))}};t.prototype.CO=function(a,b){a.css({opacity:b,filter:"alpha(opacity="+Math.round(b*
100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};t.prototype.GJ=function(){if(this.jx!=q){clearTimeout(this.jx);this.jx=q}};t.prototype.Jfa=function(){var a=this;this.jx=setTimeout(function(){a.jx=q;a.nu(50,"hight")},50)};t.prototype.gJ=function(a){if(this.Ib!=a){this.Ib=a;this.Iga()}};t.prototype.x7=function(a){if(this.Fc!=a)this.Fc=a};t.prototype.Iga=function(){this.trigger(new h(t.aw,{scale:this.Ib}))};t.aw="scaleChange";return t});
define("gs","require,jquery.mod,iX,bF,hX,gW,d,C".split(","),function(a){a("jquery.mod");var b=a("iX"),c=a("bF"),f=a("hX"),e=a("gW"),d=a("d"),h=a("C"),k=e.extend(d,function(){d.call(this);this.Ic("ZoomImage");this.Tm=this.Dh=m;this.Jg=z;this.t_=m;this.SX=this.Ib;this.Gz=q;this.g=new f;this.g.bind(b.O,this.Rca,this);this.g.bind(f.aw,this.Sca,this);this.Ka().append(this.g.pb());this.bind(b.hb,this.cb,this,o);this.bind(b.tf,this.Qj,this,o);this.bind(b.og,this.Nj,this,o);this.bind(b.mb,this.Gb,this,o);
this.bind(b.oc,this.qh,this,o);this.bind(b.Eb,this.Af,this,o);this.bind(b.lq,this.pr,this,o);this.bind(b.Rs,this.Yq,this,o)});k.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.vs();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}d.prototype.set.call(this,a,b)};k.prototype.get=function(a,b){switch(a){case "scale":return this.g.vs();case "imageLeft":return this.g.P2();case "imageTop":return this.g.Q2();case "imageWidth":return this.g.PQ();
case "imageHeight":return this.g.OQ()}return d.prototype.get.call(this,a,b)};k.prototype.ma=function(){d.prototype.ma.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")};k.prototype.ca=function(){if(this.m("scaleMode")){this.g.Mp(this.j("scaleMode"));this.o("scaleMode")}if(this.m("image")){this.g.Ela(this.j("image"));this.o("image");this.SX=this.Ib}if(this.m("customHeight")||
this.m("customWidth")){this.o("customHeight");this.o("customWidth");this.cb()}if(this.m("imageCursor")){this.o("imageCursor");this.g.tla(this.la.rC.JQ(this.get("imageCursor")))}d.prototype.ca.call(this)};k.prototype.cb=function(){var a=this.ua(),b=this.Wa(),c=this.get("customWidth","100%"),d=h.Vi(c),c=d!==m?a*d/100:c,d=this.get("customHeight","100%"),e=h.Vi(d);this.g.ula(c,e!==m?b*e/100:d);this.g.Ll(a,b)};k.prototype.Qj=function(){this.g.ke(o)};k.prototype.Nj=function(){this.g.ke(z)};k.prototype.Gb=
function(a){this.Dh=a.x;this.Tm=a.y;this.Jg=o;this.t_=this.g.T3(a)};k.prototype.qh=function(a){if(this.Jg){this.UP();this.g.move(-(a.x-this.Dh),-(a.y-this.Tm));this.Dh=a.x;this.Tm=a.y}};k.prototype.Af=function(a){this.Jg=z;!this.t_&&!this.g.T3(a)&&this.trigger(new c(k.MS))};k.prototype.pr=function(a){this.UP();this.g.setScale((1+a.pn/20)*this.g.vs())};k.prototype.Yq=function(a){this.UP();this.g.setScale(a.scale/this.SX)};k.prototype.Rca=function(){this.trigger(new c(b.O))};k.prototype.Sca=function(){d.prototype.set.call(this,
"scale",this.g.vs());this.trigger(new c(k.aw))};k.prototype.UP=function(){if(this.Gz){clearTimeout(this.Gz);this.Gz=q}else this.trigger(new c(k.Nd));this.Gz=setTimeout(function(){this.Gz=q;this.trigger(new c(k.Md))}.bind(this),300)};k.MS="backgroundClick";k.aw="scaleChange";k.Nd="userInteractionStart";k.Md="userInteractionEnd";return k});
define("iB",["gW","iX","gs","df"],function(a,b,c,f){a=a.extend(c,function(){c.call(this)});f.v("ZoomImage",a).A("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"}).Yb([c.MS,c.aw,c.Nd,c.Md,b.O]);return Image});
define("fB","fK,cM,cX,iK,fU,dC,eM,fI,hn,iO,et,eT,ek,dy,bb,iy,fY,hI,du,m,fF,cz,cB,gb,ig,fe,hr,er,y,bN,o,hh,dO,I,gp,Z,eJ,if,iH,di,hs,fD,bh,iL,ic,gM,B,jn,cJ,fv,iG,l,gB,eP,hF,fn,jk,ev,hO,W,bJ,bj,he,fm,jg,dP,iN,bH,ha,dB,fQ,fb,go,eb,ep,il,eL,gu,iR,dJ,fq,bx,cW,cC,D,iY,hv,dl,ef,gO,bv,fh,da,iE,M,dZ,cg,hT,eO,fO,gm,ez,bp,s,cn,bk,gj,fR,iS,dA,en,bu,gR,dr,hS,ba,bw,cF,iB".split(","),R(o));
define("dV","require,cE,jquery.mod,gW,df,fB,hy".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function c(){}var f=a("cE"),e=a("jquery.mod"),d=a("gW"),h=a("df");a("fB");a("hy");c.prototype.xka=function(a,b,c,d){this.aL=[];this.cp=this.lu(a);this.xo=m;if(this.cp.mn.U2()){this.xo=this.RW(this.cp,k.ei);this.l9(this.xo,this.cp,b,c,d);this.t7(this.cp);this.r7(this.cp,this.xo);this.u7(this.xo,this.cp);this.I7(this.xo,this.cp)}else this.oj("Invalid root class",[]);return this.aL.length==
0};c.prototype.$a=function(){return this.cp.Zc};c.prototype.lu=function(a,b){b=b||[];return f(a).isArray()?this.Mda(a,b):e.isPlainObject(a)&&a["class"]?this.Pda(a,b):e.isPlainObject(a)?this.Nda(a,b):f(a).isFunction()?this.Oda(a,b):this.Qda(a,b)};c.prototype.Mda=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.lu(a[d],b));b.pop()}return new i(b.slice(),c)};c.prototype.Pda=function(a,b){var c=a["class"],d=h.yl(a["class"]);if(d){var e,c={},f={},g;for(g in a){b.push(g);
var i=a[g];switch(g){case "class":break;case "scripts":e=this.lu(i,b);break;default:d.hasAttribute(g)?c[g]=this.lu(i,b):d.q3(g)||d.s3(g)?f[g]=this.lu(i,b):this.oj(d.iv()+" object doesn't have any attribute named "+g,b)}b.pop()}return new k(b.slice(),d,a.id,c,f,e)}this.oj("Undefined class name: "+c,b.slice());return new l(b.slice(),q)};c.prototype.Nda=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.lu(a[d],b);b.pop()}return new n(b.slice(),c)};c.prototype.Oda=function(a,b){return new g(b.slice(),
a)};c.prototype.Qda=function(a,b){return new l(b.slice(),a)};c.prototype.RW=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Ma();d<e.length;d++)c=c.concat(this.RW(e[d],b));return c};c.prototype.l9=function(a,b,c,d,e){b.Zc=b.mn.up(q,d,e,[c]);b.Zc.set("application",b.Zc);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.Zc=f.mn.up(b.Zc,d,e)}};c.prototype.t7=function(a){if(a.scripts)if(a.scripts.type==n.ei)for(var b in a.scripts.value)this.s7(a,b);else this.oj("Invalid content.",a.scripts.stack)};c.prototype.s7=
function(a,b){var c=a.Zc,d=a.scripts.value[b];f(c[b]).isUndefined()?d&&d.type==g.ei?c[b]=function(){return d.Fl().apply(c,arguments)}:this.oj("Invalid content.",d.stack):this.oj("Identifier: "+b+" is already in use",d.stack)};c.prototype.r7=function(a,b){for(var c=a.Zc,d=0;d<b.length;d++){var e=b[d],g=e.id;if(g)f(c[g]).isUndefined()?c[g]=e.Zc:this.oj("Identifier: "+g+" is arleady in use",e.stack)}};c.prototype.u7=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,f;for(f in e)this.q7(d,
f,b)}};c.prototype.q7=function(a,b,c){var d=a.mn;if(d.hasAttribute(b)){var e=a.attributes[b].Fl();try{e=d.IQ(b)(e,c.Zc);a.Zc.set(b,e)}catch(f){this.oj("Invalid value for property "+b+" of "+d.iv()+" instance",a.stack)}}else this.oj(d.iv()+" object doesn't have any property named "+b,a.stack)};c.prototype.I7=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.ps)this.H7(d,e,b)}};c.prototype.H7=function(a,b,c){var d=a.mn,e=a.Zc,g=d.q3(b),h=d.s3(b);if(g||h){var a=a.ps[b],i=a.Fl();f(i).isFunction()?
e.bind(b,i,c.Zc,h,i):typeof i=="string"?e.bind(b,function(){eval("var event = arguments[0];"+i)},c.Zc,h,i):this.oj("Invalid value.",a.stack)}else this.oj(d.iv()+" object doesn't have any event named "+b,a.stack)};c.prototype.oj=function(a,b){this.aL.push("In "+b.join(" >> ")+": "+a)};b.prototype.Ma=function(){return[]};b.prototype.Fl=C();var k=d.extend(b,function(a,c,d,e,f,g){b.call(this,k.ei,a);this.mn=c;this.id=d;this.attributes=e;this.ps=f;this.scripts=g;this.Zc=q});k.prototype.Ma=function(){var a=
this.mn.a3(),b=[],c=f(this.attributes).clone();if(a)for(var d=0;d<a.length;d++){var e=a[d];if(c[e]!=m){b.push(c[e]);delete c[e]}}return b=b.concat(f(c).values())};k.prototype.Fl=P("Zc");k.ei="instance";var i=d.extend(b,function(a,c){b.call(this,i.ei,a);this.Ui=c});i.prototype.Ma=function(){return this.Ui.slice()};i.prototype.Fl=function(){for(var a=[],b=0;b<this.Ui.length;b++)a.push(this.Ui[b].Fl());return a};i.ei="array";var n=d.extend(b,function(a,c){b.call(this,n.ei,a);this.value=c});n.prototype.Ma=
function(){return f(this.value).values()};n.prototype.Fl=function(){var a={},b;for(b in this.value)a[b]=this.value[b].Fl();return a};n.ei="dict";var g=d.extend(b,function(a,c){b.call(this,g.ei,a);this.value=c});g.prototype.Fl=P("value");g.ei="function";var l=d.extend(b,function(a,c){b.call(this,l.ei,a);this.value=c});l.prototype.Fl=P("value");l.ei="simple";return c});
define("hU","require,cE,iX,bF,df,dV,p,cY,hy,Y,hZ,iW,ia,gW".split(","),function(a){function b(a,b){k.lb()&&!k.Lf()&&r.je();var c=g.name,d=[];c&&d.push(c);d.push("v:"+g.nR+"."+g.uR);p.log(d.join(" "));this.bj=b;if(n.$ja()||[k.Ps,k.Qp].indexOf(k.browser())>=0){this.xh=new h;if(c=this.bj.get(TDV.PlayerSettings.BASE_DIR_URL)){c=n.Op(c);c[c.length-1]!="/"&&(c=c+"/")}else c=n.getDirectory(this.bj.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.q4=this.bj.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
i.Kka(c,function(b){this.r2=b;this.lda(a)}.bind(this))}else window.alert(l("web-server-required"))}var c=a("cE"),f=a("iX"),e=a("bF"),d=a("df"),h=a("dV"),k=a("p"),i=a("cY"),n=a("hy");a("Y");var g=a("hZ"),l=a("iW"),r=a("ia"),p=a("gW");b.prototype.lda=function(a){a.trigger(new TDV.mI(f.h6,{},[],m));c.defer(function(){if(!this.xh.xka(this.bj.get(TDV.PlayerSettings.SCRIPT_DATA),this.bj.get(TDV.PlayerSettings.CONTAINER),this.r2,this.q4)){if(g.Fma!="false"){window.alert(this.rX());return}p.log(this.rX())}this.G7(a);
this.o7(this.bj);this.v7();this.Kga()}.bind(this))};b.prototype.clear=function(){if(this.xh){c(this.xh.xo).each(function(a){a.Zc.p5();c(a.mn.fA()).each(function(b){switch(b){case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.Zc.set("viewerArea",q);break;case "ZoomImage":a.Zc.set("image",q);break;case "Audio":a.Zc.stop();break;case "Effect":a.Zc.end();break;case "Media":a.Zc.Vka()}})});this.xh.$a().clear();this.bj=this.xh=q}};b.prototype.yja=function(a){return this.xh.$a()[a]};
b.prototype.e3=function(a){var b=[];c(this.xh.xo).each(function(d){var e=d.mn.fA();c(e).contains(a)&&b.push(d.Zc)});return b};b.prototype.up=function(a){var b=d.yl(a);b||j("Invalid className: "+a);return b.up(this.xh.$a(),this.r2,this.q4)};b.prototype.rX=function(){for(var a=this.xh.aL,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.G7=function(a){c(this.xh.xo).each(function(b){var d=b.mn,e=b.Zc,f=b.id,g=d.fA(),b=[].concat(d.MQ(),d.QQ());c(b).each(function(b){e.bind(b,
function(c){a.trigger(new TDV.mI(b,c,g,f))},this,o)})})};b.prototype.o7=function(a){this.xh.$a().set("settings",a)};b.prototype.v7=function(){var a=this.xh.$a(),b=this;a.getByClassName=a.yl=function(){return b.e3.apply(b,arguments)};a.createInstance=a.up=function(){return b.up.apply(b,arguments)};a.isInstanceOfClass=a.qb=function(){return d.qb.apply(d,arguments)}};b.prototype.Kga=function(){this.xh.$a().trigger(new e("start"))};b.Kma=function(a){a.trigger(new TDV.mI(f.Q5,{},[],m))};return b});
define("main",["require","jquery.mod","hU"],function(a){var b=a("jquery.mod"),c=a("hU");b(document).ready(function(){TDV.Ia.ima(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})});
})();