window.VFML_options = {"baseUrl":"//dmp.leonardocloud.com/player/hyperion","configDomain":"//dmp.leonardocloud.com/"};var require={context:"VFML",skipDataMain:!0},requirejs,require,define;!function(global){function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){if(e){var r;for(r=0;r-1&&(!e[r]||!t(e[r],r,e));r-=1);}}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var r;for(r in e)if(hasProp(e,r)&&t(e[r],r))break}function mixin(e,t,r,n){t&&eachProp(t,function(t,i){if(r||!hasProp(e,i))if(!n||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp)e[i]=t;else{e[i]||(e[i]={});mixin(e[i],t,r,n)}});return e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;each(e.split("."),function(e){t=t[e]});return t}function makeError(e,t,r,n){var i=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+e);i.requireType=e;i.requireModules=n;r&&(i.originalError=r);return i}function newContext(e){function t(e){var t,r;for(t=0;t0){e.splice(t-1,2);t-=2}}}}function r(e,r,n){var i,o,a,s,u,c,l,f,p,d,h,m,g=r&&r.split("/"),v=j.map,y=v&&v["*"];if(e){e=e.split("/");l=e.length-1;j.nodeIdCompat&&jsSuffixRegExp.test(e[l])&&(e[l]=e[l].replace(jsSuffixRegExp,""));if("."===e[0].charAt(0)&&g){m=g.slice(0,g.length-1);e=m.concat(e)}t(e);e=e.join("/")}if(n&&v&&(g||y)){a=e.split("/");e:for(s=a.length;s>0;s-=1){c=a.slice(0,s).join("/");if(g)for(u=g.length;u>0;u-=1){o=getOwn(v,g.slice(0,u).join("/"));if(o){o=getOwn(o,c);if(o){f=o;p=s;break e}}}if(!d&&y&&getOwn(y,c)){d=getOwn(y,c);h=s}}if(!f&&d){f=d;p=h}if(f){a.splice(0,p,f);e=a.join("/")}}i=getOwn(j.pkgs,e);return i?i:e}function n(e){isBrowser&&each(scripts(),function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===w.contextName){t.parentNode.removeChild(t);return!0}})}function i(e){var t=getOwn(j.paths,e);if(t&&isArray(t)&&t.length>1){t.shift();w.require.undef(e);w.makeRequire(null,{skipMap:!0})([e]);return!0}}function o(e){var t,r=e?e.indexOf("!"):-1;if(r>-1){t=e.substring(0,r);e=e.substring(r+1,e.length)}return[t,e]}function a(e,t,n,i){var a,s,u,c,l=null,f=t?t.name:null,p=e,d=!0,h="";if(!e){d=!1;e="_@r"+(R+=1)}c=o(e);l=c[0];e=c[1];if(l){l=r(l,f,i);s=getOwn(k,l)}if(e)if(l)h=s&&s.normalize?s.normalize(e,function(e){return r(e,f,i)}):-1===e.indexOf("!")?r(e,f,i):e;else{h=r(e,f,i);c=o(h);l=c[0];h=c[1];n=!0;a=w.nameToUrl(h)}u=!l||s||n?"":"_unnormalized"+(F+=1);return{prefix:l,name:h,parentMap:t,unnormalized:!!u,url:a,originalName:p,isDefine:d,id:(l?l+"!"+h:h)+u}}function s(e){var t=e.id,r=getOwn(E,t);r||(r=E[t]=new w.Module(e));return r}function u(e,t,r){var n=e.id,i=getOwn(E,n);if(!hasProp(k,n)||i&&!i.defineEmitComplete){i=s(e);i.error&&"error"===t?r(i.error):i.on(t,r)}else"defined"===t&&r(k[n])}function c(e,t){var r=e.requireModules,n=!1;if(t)t(e);else{each(r,function(t){var r=getOwn(E,t);if(r){r.error=e;if(r.events.error){n=!0;r.emit("error",e)}}});n||req.onError(e)}}function l(){if(globalDefQueue.length){each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(w.defQueueMap[t]=!0);O.push(e)});globalDefQueue=[]}}function f(e){delete E[e];delete S[e]}function p(e,t,r){var n=e.map.id;if(e.error)e.emit("error",e.error);else{t[n]=!0;each(e.depMaps,function(n,i){var o=n.id,a=getOwn(E,o);if(a&&!e.depMatched[i]&&!r[o])if(getOwn(t,o)){e.defineDep(i,k[o]);e.check()}else p(a,t,r)});r[n]=!0}}function d(){var e,t,r=1e3*j.waitSeconds,o=r&&w.startTime+r<(new Date).getTime(),a=[],s=[],u=!1,l=!0;if(!y){y=!0;eachProp(S,function(e){var r=e.map,c=r.id;if(e.enabled){r.isDefine||s.push(e);if(!e.error)if(!e.inited&&o)if(i(c)){t=!0;u=!0}else{a.push(c);n(c)}else if(!e.inited&&e.fetched&&r.isDefine){u=!0;if(!r.prefix)return l=!1}}});if(o&&a.length){e=makeError("timeout","Load timeout for modules: "+a,null,a);e.contextName=w.contextName;return c(e)}l&&each(s,function(e){p(e,{},{})});o&&!t||!u||!isBrowser&&!isWebWorker||q||(q=setTimeout(function(){q=0;d()},50));y=!1}}function h(e){hasProp(k,e[0])||s(a(e[0],null,!0)).init(e[1],e[2])}function m(e,t,r,n){e.detachEvent&&!isOpera?n&&e.detachEvent(n,t):e.removeEventListener(r,t,!1)}function g(e){var t=e.currentTarget||e.srcElement;m(t,w.onScriptLoad,"load","onreadystatechange");m(t,w.onScriptError,"error");return{node:t,id:t&&t.getAttribute("data-requiremodule")}}function v(){var e;l();for(;O.length;){e=O.shift();if(null===e[0])return c(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));h(e)}w.defQueueMap={}}var y,b,w,x,q,j={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},E={},S={},M={},O=[],k={},T={},A={},R=1,F=1;x={require:function(e){return e.require?e.require:e.require=w.makeRequire(e.map)},exports:function(e){e.usingExports=!0;return e.map.isDefine?e.exports?k[e.map.id]=e.exports:e.exports=k[e.map.id]={}:void 0},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(j.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}};b=function(e){this.events=getOwn(M,e.id)||{};this.map=e;this.shim=getOwn(j.shim,e.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0};b.prototype={init:function(e,t,r,n){n=n||{};if(!this.inited){this.factory=t;r?this.on("error",r):this.events.error&&(r=bind(this,function(e){this.emit("error",e)}));this.depMaps=e&&e.slice(0);this.errback=r;this.inited=!0;this.ignore=n.ignore;n.enabled||this.enabled?this.enable():this.check()}},defineDep:function(e,t){if(!this.depMatched[e]){this.depMatched[e]=!0;this.depCount-=1;this.depExports[e]=t}},fetch:function(){if(!this.fetched){this.fetched=!0;w.startTime=(new Date).getTime();var e=this.map;if(!this.shim)return e.prefix?this.callPlugin():this.load();w.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()}))}},load:function(){var e=this.map.url;if(!T[e]){T[e]=!0;w.load(this.map.id,e)}},check:function(){if(this.enabled&&!this.enabling){var e,t,r=this.map.id,n=this.depExports,i=this.exports,o=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){this.defining=!0;if(this.depCount<1&&!this.defined){if(isFunction(o)){try{i=w.execCb(r,o,n,i)}catch(a){e=a}if(this.map.isDefine&&void 0===i){t=this.module;t?i=t.exports:this.usingExports&&(i=this.exports)}if(e){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError){e.requireMap=this.map;e.requireModules=this.map.isDefine?[this.map.id]:null;e.requireType=this.map.isDefine?"define":"require";return c(this.error=e)}"undefined"!=typeof console&&console.error?console.error(e):req.onError(e)}}else i=o;this.exports=i;if(this.map.isDefine&&!this.ignore){k[r]=i;if(req.onResourceLoad){var s=[];each(this.depMaps,function(e){s.push(e.normalizedMap||e)});req.onResourceLoad(w,this.map,s)}}f(r);this.defined=!0}this.defining=!1;if(this.defined&&!this.defineEmitted){this.defineEmitted=!0;this.emit("defined",this.exports);this.defineEmitComplete=!0}}}else hasProp(w.defQueueMap,r)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,n=a(e.prefix);this.depMaps.push(n);u(n,"defined",bind(this,function(n){var i,o,l,p=getOwn(A,this.map.id),d=this.map.name,h=this.map.parentMap?this.map.parentMap.name:null,m=w.makeRequire(e.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){n.normalize&&(d=n.normalize(d,function(e){return r(e,h,!0)})||"");o=a(e.prefix+"!"+d,this.map.parentMap);u(o,"defined",bind(this,function(e){this.map.normalizedMap=o;this.init([],function(){return e},null,{enabled:!0,ignore:!0})}));l=getOwn(E,o.id);if(l){this.depMaps.push(o);this.events.error&&l.on("error",bind(this,function(e){this.emit("error",e)}));l.enable()}}else if(p){this.map.url=w.nameToUrl(p);this.load()}else{i=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})});i.error=bind(this,function(e){this.inited=!0;this.error=e;e.requireModules=[t];eachProp(E,function(e){0===e.map.id.indexOf(t+"_unnormalized")&&f(e.map.id)});c(e)});i.fromText=bind(this,function(r,n){var o=e.name,u=a(o),l=useInteractive;n&&(r=n);l&&(useInteractive=!1);s(u);hasProp(j.config,t)&&(j.config[o]=j.config[t]);try{req.exec(r)}catch(f){return c(makeError("fromtexteval","fromText eval for "+t+" failed: "+f,f,[t]))}l&&(useInteractive=!0);this.depMaps.push(u);w.completeLoad(o);m([o],i)});n.load(e.name,m,i,j)}}));w.enable(n,this);this.pluginMaps[n.id]=n},enable:function(){S[this.map.id]=this;this.enabled=!0;this.enabling=!0;each(this.depMaps,bind(this,function(e,t){var r,n,i;if("string"==typeof e){e=a(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[t]=e;i=getOwn(x,e.id);if(i){this.depExports[t]=i(this);return}this.depCount+=1;u(e,"defined",bind(this,function(e){if(!this.undefed){this.defineDep(t,e);this.check()}}));this.errback?u(e,"error",bind(this,this.errback)):this.events.error&&u(e,"error",bind(this,function(e){this.emit("error",e)}))}r=e.id;n=E[r];hasProp(x,r)||!n||n.enabled||w.enable(e,this)}));eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(E,e.id);t&&!t.enabled&&w.enable(e,this)}));this.enabling=!1;this.check()},on:function(e,t){var r=this.events[e];r||(r=this.events[e]=[]);r.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)});"error"===e&&delete this.events[e]}};w={config:j,contextName:e,registry:E,defined:k,urlFetched:T,defQueue:O,defQueueMap:{},Module:b,makeModuleMap:a,nextTick:req.nextTick,onError:c,configure:function(e){e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/");var t=j.shim,r={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){if(r[t]){j[t]||(j[t]={});mixin(j[t],e,!0,!0)}else j[t]=e});e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(A[e]=t)})});if(e.shim){eachProp(e.shim,function(e,r){isArray(e)&&(e={deps:e});!e.exports&&!e.init||e.exportsFn||(e.exportsFn=w.makeShimExports(e));t[r]=e});j.shim=t}e.packages&&each(e.packages,function(e){var t,r;e="string"==typeof e?{name:e}:e;r=e.name;t=e.location;t&&(j.paths[r]=e.location);j.pkgs[r]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")});eachProp(E,function(e,t){e.inited||e.map.unnormalized||(e.map=a(t,null,!0))});(e.deps||e.callback)&&w.require(e.deps||[],e.callback)},makeShimExports:function(e){function t(){var t;e.init&&(t=e.init.apply(global,arguments));return t||e.exports&&getGlobal(e.exports)}return t},makeRequire:function(t,i){function o(r,n,u){var l,f,p;i.enableBuildCallback&&n&&isFunction(n)&&(n.__requireJsBuild=!0);if("string"==typeof r){if(isFunction(n))return c(makeError("requireargs","Invalid require call"),u);if(t&&hasProp(x,r))return x[r](E[t.id]);if(req.get)return req.get(w,r,t,o);f=a(r,t,!1,!0);l=f.id;return hasProp(k,l)?k[l]:c(makeError("notloaded",'Module name "'+l+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))}v();w.nextTick(function(){v();p=s(a(null,t));p.skipMap=i.skipMap;p.init(r,n,u,{enabled:!0});d()});return o}i=i||{};mixin(o,{isBrowser:isBrowser,toUrl:function(e){var n,i=e.lastIndexOf("."),o=e.split("/")[0],a="."===o||".."===o;if(-1!==i&&(!a||i>1)){n=e.substring(i,e.length);e=e.substring(0,i)}return w.nameToUrl(r(e,t&&t.id,!0),n,!0)},defined:function(e){return hasProp(k,a(e,t,!1,!0).id)},specified:function(e){e=a(e,t,!1,!0).id;return hasProp(k,e)||hasProp(E,e)}});t||(o.undef=function(e){l();var r=a(e,t,!0),i=getOwn(E,e);i.undefed=!0;n(e);delete k[e];delete T[r.url];delete M[e];eachReverse(O,function(t,r){t[0]===e&&O.splice(r,1)});delete w.defQueueMap[e];if(i){i.events.defined&&(M[e]=i.events);f(e)}});return o},enable:function(e){var t=getOwn(E,e.id);t&&s(e).enable()},completeLoad:function(e){var t,r,n,o=getOwn(j.shim,e)||{},a=o.exports;l();for(;O.length;){r=O.shift();if(null===r[0]){r[0]=e;if(t)break;t=!0}else r[0]===e&&(t=!0);h(r)}w.defQueueMap={};n=getOwn(E,e);if(!t&&!hasProp(k,e)&&n&&!n.inited){if(!(!j.enforceDefine||a&&getGlobal(a)))return i(e)?void 0:c(makeError("nodefine","No define call for "+e,null,[e]));h([e,o.deps||[],o.exportsFn])}d()},nameToUrl:function(e,t,r){var n,i,o,a,s,u,c,l=getOwn(j.pkgs,e);l&&(e=l);c=getOwn(A,e);if(c)return w.nameToUrl(c,t,r);if(req.jsExtRegExp.test(e))s=e+(t||"");else{n=j.paths;i=e.split("/");for(o=i.length;o>0;o-=1){a=i.slice(0,o).join("/");u=getOwn(n,a);if(u){isArray(u)&&(u=u[0]);i.splice(0,o,u);break}}s=i.join("/");s+=t||(/^data\:|\?/.test(s)||r?"":".js");s=("/"===s.charAt(0)||s.match(/^[\w\+\.\-]+:/)?"":j.baseUrl)+s}return j.urlArgs?s+((-1===s.indexOf("?")?"?":"&")+j.urlArgs):s},load:function(e,t){req.load(w,e,t)},execCb:function(e,t,r,n){return t.apply(n,r)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=g(e);w.completeLoad(t.id)}},onScriptError:function(e){var t=g(e);if(!i(t.id)){var r=[];eachProp(E,function(e,n){0!==n.indexOf("_@r")&&each(e.depMaps,function(e){e.id===t.id&&r.push(n);return!0})});return c(makeError("scripterror",'Script error for "'+t.id+(r.length?'", needed by: '+r.join(", "):'"'),e,[t.id]))}}};w.require=w.makeRequire();return w}function getInteractiveScript(){if(interactiveScript&&"interactive"===interactiveScript.readyState)return interactiveScript;eachReverse(scripts(),function(e){return"interactive"===e.readyState?interactiveScript=e:void 0});return interactiveScript}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.1.22",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,ap=Array.prototype,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs;requirejs=void 0}if("undefined"!=typeof require&&!isFunction(require)){cfg=require;require=void 0}req=requirejs=function(e,t,r,n){var i,o,a=defContextName;if(!isArray(e)&&"string"!=typeof e){o=e;if(isArray(t)){e=t;t=r;r=n}else e=[]}o&&o.context&&(a=o.context);i=getOwn(contexts,a);i||(i=contexts[a]=req.s.newContext(a));o&&i.configure(o);return i.require(e,t,r)};req.config=function(e){return req(e)};req.nextTick="undefined"!=typeof setTimeout?function(e){setTimeout(e,4)}:function(e){e()};require||(require=req);req.version=version;req.jsExtRegExp=/^\/|:|\?|\.js$/;req.isBrowser=isBrowser;s=req.s={contexts:contexts,newContext:newContext};req({});each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}});if(isBrowser){head=s.head=document.getElementsByTagName("head")[0];baseElement=document.getElementsByTagName("base")[0];baseElement&&(head=s.head=baseElement.parentNode)}req.onError=defaultOnError;req.createNode=function(e,t,r){var n=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");n.type=e.scriptType||"text/javascript";n.charset="utf-8";n.async=!0;return n};req.load=function(e,t,r){var n,i=e&&e.config||{};if(isBrowser){n=req.createNode(i,t,r);i.onNodeCreated&&i.onNodeCreated(n,i,t,r);n.setAttribute("data-requirecontext",e.contextName);n.setAttribute("data-requiremodule",t);if(!n.attachEvent||n.attachEvent.toString&&n.attachEvent.toString().indexOf("[native code")<0||isOpera){n.addEventListener("load",e.onScriptLoad,!1);n.addEventListener("error",e.onScriptError,!1)}else{useInteractive=!0;n.attachEvent("onreadystatechange",e.onScriptLoad)}n.src=r;currentlyAddingScript=n;baseElement?head.insertBefore(n,baseElement):head.appendChild(n);currentlyAddingScript=null;return n}if(isWebWorker)try{importScripts(r);e.completeLoad(t)}catch(o){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+r,o,[t]))}};isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){head||(head=e.parentNode);dataMain=e.getAttribute("data-main");if(dataMain){mainScript=dataMain;if(!cfg.baseUrl){src=mainScript.split("/");mainScript=src.pop();subPath=src.length?src.join("/")+"/":"./";cfg.baseUrl=subPath}mainScript=mainScript.replace(jsSuffixRegExp,"");req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain);cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript];return!0}});define=function(e,t,r){var n,i;if("string"!=typeof e){r=t;t=e;e=null}if(!isArray(t)){r=t;t=null}if(!t&&isFunction(r)){t=[];if(r.length){r.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(e,r){t.push(r)});t=(1===r.length?["require"]:["require","exports","module"]).concat(t)}}if(useInteractive){n=currentlyAddingScript||getInteractiveScript();if(n){e||(e=n.getAttribute("data-requiremodule"));i=contexts[n.getAttribute("data-requirecontext")]}}if(i){i.defQueue.push([e,t,r]);i.defQueueMap[e]=!0}else globalDefQueue.push([e,t,r])};define.amd={jQuery:!0};req.exec=function(text){return eval(text)};req(cfg)}}(this);define("bower/requirejs/require",function(){});!function(e){"function"==typeof define?define("es5",e):"function"==typeof YUI?YUI.add("es5",e):e()}(function(){function e(){}function t(e){e=+e;e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e)));return e}function r(e){var t=typeof e;return null===e||"undefined"===t||"boolean"===t||"number"===t||"string"===t}function n(e){var t,n,i;if(r(e))return e;n=e.valueOf;if("function"==typeof n){t=n.call(e);if(r(t))return t}i=e.toString;if("function"==typeof i){t=i.call(e);if(r(t))return t}throw new TypeError}Function.prototype.bind||(Function.prototype.bind=function(t){var r=this;if("function"!=typeof r)throw new TypeError("Function.prototype.bind called on incompatible "+r);var n=p.call(arguments,1),i=function(){if(this instanceof i){var e=r.apply(this,n.concat(p.call(arguments)));return Object(e)===e?e:this}return r.apply(t,n.concat(p.call(arguments)))};if(r.prototype){e.prototype=r.prototype;i.prototype=new e;e.prototype=null}return i});var i,o,a,s,u,c=Function.prototype.call,l=Array.prototype,f=Object.prototype,p=l.slice,d=c.bind(f.toString),h=c.bind(f.hasOwnProperty);if(u=h(f,"__defineGetter__")){i=c.bind(f.__defineGetter__);o=c.bind(f.__defineSetter__);a=c.bind(f.__lookupGetter__);s=c.bind(f.__lookupSetter__)}if(2!=[1,2].splice(0).length){var m=Array.prototype.splice;!function(){function e(e){for(var t=[];e--;)t.unshift(e);return t}var t,r=[];r.splice.bind(r,0,0).apply(null,e(20));r.splice.bind(r,0,0).apply(null,e(26));t=r.length;r.splice(5,0,"XXX");return t+1==r.length?!0:void 0}()?Array.prototype.splice=function(e,t){var r,n=p.call(arguments,2),i=n.length;if(!arguments.length)return[];void 0===e&&(e=0);void 0===t&&(t=this.length-e);if(i>0){if(0>=t){if(e==this.length){this.push.apply(this,n);return[]}if(0==e){this.unshift.apply(this,n);return[]}}r=p.call(this,e,e+t);n.push.apply(n,p.call(this,e+t,this.length));n.unshift.apply(n,p.call(this,0,e));n.unshift(0,this.length);m.apply(this,n);return r}return m.call(this,e,t)}:Array.prototype.splice=function(e,t){return arguments.length?m.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(p.call(arguments,2))):[]}}if(1!=[].unshift(0)){var g=Array.prototype.unshift;Array.prototype.unshift=function(){g.apply(this,arguments);return this.length}}Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});var v=Object("a"),y="a"!=v[0]||!(0 in v);Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=F(this),r=y&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],i=-1,o=r.length>>>0;if("[object Function]"!=d(e))throw new TypeError;for(;++i>>0,i=Array(n),o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;n>a;a++)a in r&&(i[a]=e.call(o,r[a],a,t));return i});Array.prototype.filter||(Array.prototype.filter=function(e){var t,r=F(this),n=y&&"[object String]"==d(this)?this.split(""):r,i=n.length>>>0,o=[],a=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var s=0;i>s;s++)if(s in n){t=n[s];e.call(a,t,s,r)&&o.push(t)}return o});Array.prototype.every||(Array.prototype.every=function(e){var t=F(this),r=y&&"[object String]"==d(this)?this.split(""):t,n=r.length>>>0,i=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)if(o in r&&!e.call(i,r[o],o,t))return!1;return!0});Array.prototype.some||(Array.prototype.some=function(e){var t=F(this),r=y&&"[object String]"==d(this)?this.split(""):t,n=r.length>>>0,i=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)if(o in r&&e.call(i,r[o],o,t))return!0;return!1});Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=F(this),r=y&&"[object String]"==d(this)?this.split(""):t,n=r.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in r){i=r[o++];break}if(++o>=n)throw new TypeError("reduce of empty array with no initial value")}for(;n>o;o++)o in r&&(i=e.call(void 0,i,r[o],o,t));return i});Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=F(this),r=y&&"[object String]"==d(this)?this.split(""):t,n=r.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=n-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in r){i=r[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>o)return i;do o in this&&(i=e.call(void 0,i,r[o],o,t));while(o--);return i});Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var r=y&&"[object String]"==d(this)?this.split(""):F(this),n=r.length>>>0;if(!n)return-1;var i=0;arguments.length>1&&(i=t(arguments[1]));i=i>=0?i:Math.max(0,n+i);for(;n>i;i++)if(i in r&&r[i]===e)return i;return-1});Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var r=y&&"[object String]"==d(this)?this.split(""):F(this),n=r.length>>>0;if(!n)return-1;var i=n-1;arguments.length>1&&(i=Math.min(i,t(arguments[1])));i=i>=0?i:n-Math.abs(i);for(;i>=0;i--)if(i in r&&e===r[i])return i;return-1});if(!Object.keys){var b=!0,w=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],x=w.length;for(var q in{toString:null})b=!1;Object.keys=function N(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var N=[];for(var t in e)h(e,t)&&N.push(t);if(b)for(var r=0,n=x;n>r;r++){var i=w[r];h(e,i)&&N.push(i)}return N}}var j=-621987552e5,E="-000001";Date.prototype.toISOString&&-1!==new Date(j).toISOString().indexOf(E)||(Date.prototype.toISOString=function(){var e,t,r,n,i;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");n=this.getUTCFullYear();i=this.getUTCMonth();n+=Math.floor(i/12);i=(i%12+12)%12;e=[i+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];n=(0>n?"-":n>9999?"+":"")+("00000"+Math.abs(n)).slice(n>=0&&9999>=n?-4:-6);t=e.length;for(;t--;){r=e[t];10>r&&(e[t]="0"+r)}return n+"-"+e.slice(0,2).join("-")+"T"+e.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"});var S=!1;try{S=Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(j).toJSON().indexOf(E)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(M){}S||(Date.prototype.toJSON=function(e){var t,r=Object(this),i=n(r);if("number"==typeof i&&!isFinite(i))return null;t=r.toISOString;if("function"!=typeof t)throw new TypeError("toISOString property is not callable");return t.call(r)});(!Date.parse,0)||(Date=function(e){function t(r,n,i,o,a,s,u){var c=arguments.length;if(this instanceof e){var l=1==c&&String(r)===r?new e(t.parse(r)):c>=7?new e(r,n,i,o,a,s,u):c>=6?new e(r,n,i,o,a,s):c>=5?new e(r,n,i,o,a):c>=4?new e(r,n,i,o):c>=3?new e(r,n,i):c>=2?new e(r,n):c>=1?new e(r):new e;l.constructor=t;return l}return e.apply(this,arguments)}function r(e,t){var r=t>1?1:0;return i[t]+Math.floor((e-1969+r)/4)-Math.floor((e-1901+r)/100)+Math.floor((e-1601+r)/400)+365*(e-1970)}var n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i=[0,31,59,90,120,151,181,212,243,273,304,334,365];for(var o in e)t[o]=e[o];t.now=e.now;t.UTC=e.UTC;t.prototype=e.prototype;t.prototype.constructor=t;t.parse=function(t){var i=n.exec(t);if(i){var o,a=Number(i[1]),s=Number(i[2]||1)-1,u=Number(i[3]||1)-1,c=Number(i[4]||0),l=Number(i[5]||0),f=Number(i[6]||0),p=Math.floor(1e3*Number(i[7]||0)),d=!i[4]||i[8]?0:Number(new e(1970,0)),h="-"===i[9]?1:-1,m=Number(i[10]||0),g=Number(i[11]||0);if((l>0||f>0||p>0?24:25)>c&&60>l&&60>f&&1e3>p&&s>-1&&12>s&&24>m&&60>g&&u>-1&&u=-864e13&&864e13>=o)return o}return NaN}return e.parse.apply(this,arguments)};return t}(Date));Date.now||(Date.now=function(){return(new Date).getTime()});Number.prototype.toFixed&&"0.000"===8e-5.toFixed(3)&&"0"!==.9.toFixed(0)&&"1.25"===1.255.toFixed(2)&&"1000000000000000128"===0xde0b6b3a7640080.toFixed(0)||!function(){function e(e,t){for(var r=-1;++r=0;){r+=s[t];s[t]=Math.floor(r/e);r=r%e*o}}function r(){for(var e=a,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var r=String(s[e]);""===t?t=r:t+="0000000".slice(0,7-r.length)+r}return t}function n(e,t,r){return 0===t?r:t%2===1?n(e,t-1,r*e):n(e*e,t/2,r)}function i(e){for(var t=0;e>=4096;){t+=12;e/=4096}for(;e>=2;){t+=1;e/=2}return t}var o,a,s;o=1e7;a=6;s=[0,0,0,0,0,0];Number.prototype.toFixed=function(o){var a,s,u,c,l,f,p,d;a=Number(o);a=a!==a?0:Math.floor(a);if(0>a||a>20)throw new RangeError("Number.toFixed called with invalid number of decimals");s=Number(this);if(s!==s)return"NaN";if(-1e21>=s||s>=1e21)return String(s);u="";if(0>s){u="-";s=-s}c="0";if(s>1e-21){l=i(s*n(2,69,1))-69;f=0>l?s*n(2,-l,1):s/n(2,l,1);f*=4503599627370496;l=52-l;if(l>0){e(0,f);p=a;for(;p>=7;){e(1e7,0);p-=7}e(n(10,p,1),0);p=l-1;for(;p>=23;){t(1<<23);p-=23}t(1<0){d=c.length;c=a>=d?u+"0.0000000000000000000".slice(0,a-d+2)+c:u+c.slice(0,d-a)+"."+c.slice(d-a)}else c=u+c;return c}}();var O=String.prototype.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||0==="".split(/.?/).length||".".split(/()()/).length>1?!function(){var e=void 0===/()??/.exec("")[1];String.prototype.split=function(t,r){var n=this;if(void 0===t&&0===r)return[];if("[object RegExp]"!==Object.prototype.toString.call(t))return O.apply(this,arguments);var i,o,a,s,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),l=0,t=new RegExp(t.source,c+"g");n+="";e||(i=new RegExp("^"+t.source+"$(?!\\s)",c));r=void 0===r?-1>>>0:r>>>0;for(;o=t.exec(n);){a=o.index+o[0].length;if(a>l){u.push(n.slice(l,o.index));!e&&o.length>1&&o[0].replace(i,function(){for(var e=1;e1&&o.index=r)break}t.lastIndex===o.index&&t.lastIndex++}l===n.length?(s||!t.test(""))&&u.push(""):u.push(n.slice(l));return u.length>r?u.slice(0,r):u}}():"0".split(void 0,0).length&&(String.prototype.split=function(e,t){return void 0===e&&0===t?[]:O.apply(this,arguments)});if("".substr&&"b"!=="0b".substr(-1)){var k=String.prototype.substr;String.prototype.substr=function(e,t){return k.call(this,0>e&&(e=this.length+e)<0?0:e,t)}}var T=" \n\x0B\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||T.trim()){T="["+T+"]";var A=new RegExp("^"+T+T+"*"),R=new RegExp(T+T+"*$");String.prototype.trim=function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(A,"").replace(R,"")}}var F=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}});define("require.options",["module"],function(e){var t={maxJQuery:"1.11.3",minJquery:"1.11.3",skipDataMain:!0,urlArgs:"v=L1_17",paths:{addthis:"//s7.addthis.com/js/300/addthis_widget",jquery:"//code.jquery.com/jquery-1.11.3.min",libs:"../libs",backbone:"../bower/backbone/backbone",underscore:"../bower/lodash/dist/lodash.underscore","underscore-noconflict":"../libs/underscore","backbone.babysitter":"../bower/backbone.babysitter/lib/amd/backbone.babysitter",text:"../bower/requirejs-text/text",tpl:"../libs/tpl",env:"../libs/env",hbhelpers:"../libs/helpers","modernizr.tests":"../libs/modernizr.tests","Modernizr.core":"../libs/modernizr",client:"../client",es5:"../bower/es5-shim/es5-shim",bower:"../bower",swfobject:"../bower/swfobject/swfobject/swfobject",theme:"../libs/theme-builder","jquery-noconflict":"../libs/jquery",handlebars:"../bower/handlebars/handlebars",ext:"../libs/ext",mod:"../libs/module",AppMeasurement:"../libs/omniture/AppMeasurement",VisitorAPI:"../libs/omniture/VisitorAPI"},deps:["es5"],less:{relativeUrls:!0},css:{relativeUrls:!0},config:{env:"flash"},tpl:{templateExtension:".html"},map:{"*":{lessc:"libs/require-less/lessc",css:"bower/require-css/css",less:"libs/require-less/less",jquery:"jquery-noconflict",underscore:"underscore-noconflict",Modernizr:"modernizr.tests"},"jquery-noconflict":{jquery:"jquery"},"underscore-noconflict":{underscore:"underscore"}},shim:{AppMeasurement:{exports:"AppMeasurement",init:function(){return AppMeasurement}},VisitorAPI:{exports:"Visitor",init:function(){return Visitor}},handlebars:{exports:"Handlebars",init:function(){return Handlebars}},hbhelpers:{deps:["handlebars"]},json2:{exports:"JSON"},jquery:{exports:"$"},backbone:{deps:["underscore","jquery"],exports:"Backbone",init:function(e,t){var r=Backbone.noConflict();r.$=t;return r}},"loader/global":{exports:"VFML"},"Modernizr.core":{exports:"Modernizr",init:function(){return window.Modernizr}},swfobject:{exports:"swfobject",init:function(){return swfobject}},"libs/clamp":{exports:"$clamp",init:function(){var e=window.$clamp;delete window.$clamp;return e}}}};return t});define("loader/jquery-test",["require"],function(e){return function(e){var t=function(e){return parseInt(e.replace(/\./g,""))},r=t(e.minJquery),n=window.jQuery?t(window.jQuery.fn.jquery):null;if(n&&n>=r){e.map["*"].jquery="jquery";define("jquery",[],function(){return window.jQuery})}else if(window.VFM&&window.VFM.$){e.map["*"].jquery="jquery";define("jquery",[],function(){return window.VFM.$})}}});define("utils/camel-case",["require"],function(e){return function(){function e(e,t){return t?t.toUpperCase():""}var t=/[-_]+(.)?/g;return function(r,n){return r.replace(n?new RegExp("["+n+"]+(.)?","g"):t,e)}}()});window.Modernizr=function(e,t,r){function n(e){y.cssText=e}function i(e,t){ return typeof e===t}function o(e,t){return!!~(""+e).indexOf(t)}function a(e,t){for(var n in e){var i=e[n];if(!o(i,"-")&&y[i]!==r)return"pfx"==t?i:!0}return!1}function s(e,t,n){for(var o in e){var a=t[e[o]];if(a!==r)return n===!1?e[o]:i(a,"function")?a.bind(n||t):a}return!1}function u(e,t,r){var n=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+x.join(n+" ")+n).split(" ");if(i(t,"string")||i(t,"undefined"))return a(o,t);o=(e+" "+q.join(n+" ")+n).split(" ");return s(o,t,r)}var c,l,f,p="2.7.0",d={},h=!0,m=t.documentElement,g="modernizr",v=t.createElement(g),y=v.style,b=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),q=w.toLowerCase().split(" "),j={},E=[],S=E.slice,M=function(e,r,n,i){var o,a,s,u,c=t.createElement("div"),l=t.body,f=l||t.createElement("body");if(parseInt(n,10))for(;n--;){s=t.createElement("div");s.id=i?i[n]:g+(n+1);c.appendChild(s)}o=["­",'"].join("");c.id=g;(l?c:f).innerHTML+=o;f.appendChild(c);if(!l){f.style.background="";f.style.overflow="hidden";u=m.style.overflow;m.style.overflow="hidden";m.appendChild(f)}a=r(c,e);if(l)c.parentNode.removeChild(c);else{f.parentNode.removeChild(f);m.style.overflow=u}return!!a},O={}.hasOwnProperty;f=i(O,"undefined")||i(O.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return O.call(e,t)};Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var r=S.call(arguments,1),n=function(){if(this instanceof n){var i=function(){};i.prototype=t.prototype;var o=new i,a=t.apply(o,r.concat(S.call(arguments)));return Object(a)===a?a:o}return t.apply(e,r.concat(S.call(arguments)))};return n});j.touch=function(){var r;"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?r=!0:M(["@media (",b.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){r=9===e.offsetTop});return r};j.csstransforms3d=function(){var e=!!u("perspective");e&&"webkitPerspective"in m.style&&M("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t,r){e=9===t.offsetLeft&&3===t.offsetHeight});return e};j.video=function(){var e=t.createElement("video"),r=!1;try{if(r=!!e.canPlayType){r=new Boolean(r);r.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,"");r.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,"");r.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}}catch(n){}return r};for(var k in j)if(f(j,k)){l=k.toLowerCase();d[l]=j[k]();E.push((d[l]?"":"no-")+l)}d.addTest=function(e,t){if("object"==typeof e)for(var n in e)f(e,n)&&d.addTest(n,e[n]);else{e=e.toLowerCase();if(d[e]!==r)return d;t="function"==typeof t?t():t;"undefined"!=typeof h&&h&&(m.className+=" "+(t?"":"no-")+e);d[e]=t}return d};n("");v=c=null;d._version=p;d._prefixes=b;d._domPrefixes=q;d._cssomPrefixes=x;d.testProp=function(e){return a([e])};d.testAllProps=u;d.testStyles=M;d.prefixed=function(e,t,r){return t?u(e,t,r):u(e,"pfx")};m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+E.join(" "):"");return d}(this,this.document);Modernizr.addTest("fullscreen",function(){for(var e=0;eo?o:screen.width}a&&800>i?n=r.phone:a&&i>=800&&(n=r.tablet);for(var s in r){e=r[s];t.addTest(e,e===n)}setTimeout(function(){document.documentElement.className=document.documentElement.className.replace(/(^|\s)device(\s|$)/," ")},0);return n});t.addTest("flash",function(){var e,t,r={hasFlash:!0};try{if("undefined"!=typeof navigator.plugins&&navigator.plugins.length>0){if(!navigator.plugins["Shockwave Flash 2.0"]&&!navigator.plugins["Shockwave Flash"])throw new Error;var n=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"",i=navigator.plugins["Shockwave Flash"+n].description,o=navigator.plugins["Shockwave Flash"+n].filename;if(o.match&&o.toLowerCase().match(/lite/))throw new Error;versions=i.split(" ");t=versions[2].split(".")[0];e=versions[3];""==e&&(e=versions[4]);if("d"==e[0])e=e.substring(1);else if("r"==e[0]){e=e.substring(1);e.indexOf("d")>0&&(e=e.substring(0,e.indexOf("d")))}r.minor=e;r.major=t}else{if(void 0==window.ActiveXObject)throw new Error;var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),s=a.GetVariable("$version");versions=/ ([0-9]+),[0-9],([0-9]+),/.exec(s);r.major=versions[1];r.minor=versions[2]}}catch(u){return!1}return void 0==r.major?!1:!0});return t});define("loader/env-test",["require","modernizr.tests"],function(e){var t,r=e("modernizr.tests"),n=1366,i=function(){var e=Math.max(document.documentElement.clientWidth,window.innerWidth||0);return e>n},o=r.touch||window.navigator.msMaxTouchPoints||window.navigator.maxTouchPoints;o=o&&!i();t=r.flash?o?r.pc?"flash_touch":"touch":"flash":o?"touch":"html";return t});define("loader/script",["require","utils/camel-case","loader/env-test"],function(e){var t=e("utils/camel-case"),r=e("loader/env-test");return function(e){var n,i,o,a,s=window.VFML_options||{},u=e||/dmp\/player\/loader/i,c=document.getElementsByTagName("script");s.autoLoad=!0;for(var l=0,f=c.length;f>l;l++){n=c[l];i=n.attributes;if(i&&i.src&&u.test(i.src.value)&&!i["data-loaded"]){n.setAttribute("data-loaded","true");o=i.length;a=i.src.value;s.playerId=a.substr(a.lastIndexOf("/")+1,a.length);for(var p=0;o>p;p++){var d=t((i[p].localName||i[p].name).replace("data-",""));s[d]=i[p].value;var h=s[d].toLowerCase();"true"===h?s[d]=!0:"false"===h&&(s[d]=!1)}s.script=n;break}}s.src&&!s.baseUrl&&(s.baseUrl=s.src.substr(0,s.src.lastIndexOf("/")+1));s.env=r;return s}});define("jquery-noconflict",["require","jquery","require.options"],function(e){var t=e("jquery"),r=e("require.options"),n=window.$;if(t.fn&&t.fn.jquery!==r.maxJQuery&&t!==n&&n&&n.fn.jquery===r.maxJQuery){var i=n;window.$=window.jQuery=t;return i}return window.$&&window.$.fn.jquery===r.maxJQuery?t.noConflict(!0):t});define("loader/loader",["require","jquery"],function(e){var t=e("jquery"),r=function(e){this.init(e)};t.extend(r.prototype,{apps:{},scriptOptions:{},loadRequests:[],onReadyRequests:[],init:function(e){t.extend(this,e)},load:function(r){var n=new t.Deferred;r.deferred=r.hasOwnProperty("deferred")&&String(r.deferred.then)===String(n.then)?r.deferred:n;if(this.getConfig(r))if(r.app.deps){var i=this;e(r.app.deps,function(){i.loadApp(r)})}else this.loadApp(r);return r.deferred.promise()},loadApp:function(t){var r=this;if(t.app.path){var n=t.app.path+"."+this.env;e([n],function(e){var n=t.selector||"#vfml-"+t.playerId;try{r.apps[t.context.playerId]=new e(t,n)}catch(i){window.console&&console.error(i)}})}},close:function(e){if(this.apps&&this.apps[e]){this.apps[e].close();this.apps[e]=null;delete this.apps[e]}},doPendingLoadRequests:function(){if(this.loadRequests.length>0){var e=this.loadRequests.pop();this.load(e);this.doPendingLoadRequests()}else if(this.onReadyRequests.length>0){var t=this.onReadyRequests.pop();t.call(null,this);this.doPendingLoadRequests()}},getConfig:function(e){window.VFML_config&&window.VFML_config[e.playerId]&&t.extend(!0,e,window.VFML_config[e.playerId]);if(e&&e.app)return!0;e.playerId&&(e.configFile=this.getConfigUrl(e));e.configFile&&t.ajax({url:e.configFile,dataType:"jsonp",cache:!0,context:this,success:function(r){e=t.extend(!0,e,r);e.app&&this.load(e)}});return!1},getConfigUrl:function(t){if(t&&t.playerId){var r=t.configFile;if(!r)switch(!0){case!!t.localCall:r=e.toUrl("../../client/players/"+t.playerId+"/config.js");break;default:r=this.resolveConfigDomain(t)+"dmp/player/config/"+t.playerId}return r+"?r="+(new Date).getTime()}},resolveConfigDomain:function(e){var t=e.configDomain||(this.scriptOptions.script.src.match(/\/\/(.[^/]+)/)||[])[0]+"/";return t||window.location.host}});return r});!function(e){if(!e.VFML){var t=new function(){return{loadRequests:[],onReadyRequests:[],load:function(e){this.loadRequests.push(e)},onReady:function(e){this.onReadyRequests.push(e)}}};e.VFML=t}define("loader/api",["require","jquery","loader/loader"],function(r){var n=r("jquery"),i=r("loader/loader"),o=new i({loadRequests:t.loadRequests,onReadyRequests:t.onReadyRequests});e.VFML=n.extend(t,{load:function(e){return o.load(e)},close:function(e){return o.close(e)},onReady:function(e){e.call(null,o)}});return o})}(window);!function(e){requirejs.onError=function(e){console&&console.error(e.message,e.requireModules)};e(["require.options","loader/jquery-test","loader/script"],function(t,r,n){var i=n();if(!VFML.requireOptions){t.context="VFML";t.config={env:i.env,isLoader:!0};r(t);t.baseUrl=i.baseUrl;VFML.requireOptions=t;requirejs.config(t)}e(["loader/api"],function(e){e.env=i.env;e.scriptOptions=i;i.playerId&&i.autoLoad===!0&&e.load(i);e.doPendingLoadRequests()})})}(requirejs.config({context:"VFML",skipDataMain:!0}));define("main",function(){});